:root {
  --teal: #3fcfe9;
  --teal-dark: #129ab3;
  --orange: #e8944a;
  --ink: #1a1a1a;
  --muted: #555;
  --soft: #8a8a8a;
  --bg: #fafaf7;
  --card: #fff;
  --line: #e8e4dc;
  --radius: 12px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", "Avenir Next", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

a { color: var(--teal-dark); }
img { max-width: 100%; height: auto; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  z-index: 200;
}
.skip-link:focus { left: 8px; top: 8px; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}
.brand span { color: var(--teal-dark); }

.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 10px;
  padding: 8px 12px;
  font-weight: 600;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 18px;
}
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
  font-weight: 600;
}

main { min-height: 70vh; }
.section, .hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 20px;
}
.section + .section { border-top: 1px solid var(--line); }

.hero-home {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: start;
}
.hero h1 {
  margin: 0 0 10px;
  line-height: 1.1;
  letter-spacing: -0.4px;
  font-size: clamp(30px, 5vw, 52px);
}
.hero p { color: var(--muted); max-width: 62ch; }
.hero-image {
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.section-label {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 6px;
}

.btn-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.btn {
  display: inline-block;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 10px 18px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-secondary { background: var(--orange); color: #fff; }
.btn-outline { border-color: var(--teal); color: var(--teal-dark); background: transparent; }
.btn[aria-disabled="true"] {
  opacity: 0.65;
  pointer-events: none;
  cursor: not-allowed;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}

.app-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.app-card img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--bg);
  object-fit: contain;
  padding: 4px;
  flex-shrink: 0;
}

.faq-item { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq-item:first-of-type { border-top: 1px solid var(--line); }
.faq-q { font-weight: 700; margin-bottom: 4px; }
.faq-a { color: var(--muted); font-size: 14px; }

form { max-width: 620px; margin-top: 20px; }
label { display: block; margin-bottom: 4px; font-weight: 600; font-size: 14px; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 14px;
  font: inherit;
}
input:focus, select:focus, textarea:focus, button:focus, a:focus {
  outline: 3px solid rgba(63,207,233,0.25);
  outline-offset: 1px;
}
textarea { min-height: 120px; resize: vertical; }
.form-note { color: var(--soft); font-size: 14px; }

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 30px 20px 50px;
}
.legal h1 { margin-top: 0; }
.legal h2 { font-size: 17px; font-weight: 700; margin: 20px 0 6px; }
.legal h3 { font-size: 15px; font-weight: 600; margin: 14px 0 4px; }
.legal p { color: var(--muted); margin-bottom: 10px; font-size: 14px; line-height: 1.6; }
.legal ul, .legal ol {
  margin: 0 0 10px 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin: 10px 0 16px;
}
.legal th, .legal td {
  text-align: left;
  padding: 7px 10px;
  border: 1px solid var(--line);
}
.legal th { background: var(--bg); font-weight: 600; }
.meta { color: var(--soft); font-size: 13px; margin-bottom: 20px; }

footer {
  border-top: 1px solid var(--line);
  background: #fff;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--soft);
}
.footer-links { display: flex; gap: 12px; }
.footer-links a { text-decoration: none; }

@media (max-width: 800px) {
  .hero-home { grid-template-columns: 1fr; }
  .menu-btn { display: inline-block; }
  .nav-links {
    display: none;
    position: absolute;
    right: 12px;
    top: 56px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px;
    min-width: 180px;
    flex-direction: column;
    gap: 10px;
  }
  .nav-links.open { display: flex; }
  .app-card { flex-direction: column; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
