/* ==========================================================================
   Timetable360 — landing design system
   Fast, minimal, elegant. One webfont (Instrument Serif) + system sans.
   ========================================================================== */

:root {
  --bg:        #faf9f6;
  --surface:   #ffffff;
  --ink:       #17191c;
  --ink-soft:  #4c5258;
  --muted:     #797f86;
  --line:      #e9e5dd;
  --line-soft: #f1eee8;

  --accent:      #12665a;   /* deep teal */
  --accent-deep: #0d4a41;
  --accent-soft: #e7f1ee;
  --amber:       #b97a1f;
  --amber-soft:  #f7edda;

  --radius:    18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(23, 25, 28, .05), 0 4px 14px rgba(23, 25, 28, .05);
  --shadow-md: 0 2px 6px rgba(23, 25, 28, .06), 0 18px 44px rgba(23, 25, 28, .09);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --wrap: 1120px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { margin: 0 0 .5em; line-height: 1.12; letter-spacing: -.015em; font-weight: 700; }

.display, .h2-display {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -.01em;
  line-height: 1.05;
}
.display em, .h2-display em { font-style: italic; color: var(--accent); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.section { padding: 92px 0; }
.section-tight { padding: 64px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 1.5px; background: var(--accent); opacity: .5;
}

.lead { font-size: 1.16rem; color: var(--ink-soft); max-width: 640px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: 999px;
  font-family: var(--font-sans); font-size: .97rem; font-weight: 650;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 22px rgba(18, 102, 90, .22); }
.btn-primary:hover { background: var(--accent-deep); box-shadow: 0 10px 28px rgba(18, 102, 90, .28); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--accent-deep); }
.btn-light:hover { background: var(--accent-soft); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; }

.text-link {
  color: var(--accent); font-weight: 650;
  border-bottom: 1.5px solid rgba(18, 102, 90, .3);
  padding-bottom: 1px;
}
.text-link:hover { border-color: var(--accent); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 249, 246, .88);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner { display: flex; align-items: center; height: 74px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.14rem; letter-spacing: -.02em; flex: none; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-serif); font-size: 1.15rem;
  box-shadow: 0 6px 16px rgba(18, 102, 90, .3);
}
.brand small {
  display: block; font-size: .6rem; font-weight: 600; letter-spacing: .11em;
  text-transform: uppercase; color: var(--muted); line-height: 1.1; margin-top: 3px;
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .brand small { display: none; }
}

/* nav links: optically centered between brand and actions */
.nav-links {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 30px;
}
.nav-links a {
  font-size: .92rem; font-weight: 600; color: var(--ink-soft);
  white-space: nowrap; padding: 6px 2px; transition: color .15s;
}
.nav-links a:hover { color: var(--ink); }

/* actions: right-aligned, clear hierarchy */
.nav-cta { display: flex; align-items: center; gap: 20px; flex: none; }
.nav-login {
  font-size: .92rem; font-weight: 650; color: var(--ink-soft); white-space: nowrap;
  padding: 8px 4px; transition: color .15s;
}
.nav-login:hover { color: var(--ink); }
.nav-cta .btn { padding: 11px 22px; font-size: .9rem; }

.nav-toggle {
  display: none; margin-left: auto;
  width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface);
  cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 17px; height: 1.6px; background: var(--ink); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 17px; height: 1.6px; background: var(--ink);
}
.nav-toggle span::before { top: -5.5px; }
.nav-toggle span::after { top: 5.5px; }

/* ---------- hero ---------- */
.hero { padding: 84px 0 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero .display { font-size: clamp(2.7rem, 5.4vw, 4.35rem); margin-bottom: 22px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: .82rem; font-weight: 600; color: var(--ink-soft);
}
.chip svg { width: 15px; height: 15px; color: var(--accent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-note { margin-top: 18px; font-size: .88rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero-note strong { color: var(--ink-soft); }

/* hero mock (pure CSS product preview) */
.mock {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-md);
  padding: 22px; position: relative;
}
.mock::before {
  content: ""; position: absolute; inset: -18px -18px auto auto;
  width: 130px; height: 130px; border-radius: 28px;
  background: var(--accent-soft); z-index: -1;
}
.mock-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.mock-title { font-weight: 750; font-size: .95rem; }
.mock-tag {
  font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--accent-deep); background: var(--accent-soft);
  padding: 5px 11px; border-radius: 999px;
}
.mock-rows { display: grid; gap: 9px; }
.mock-row {
  display: grid; grid-template-columns: 52px 1fr 128px; gap: 10px; align-items: center;
  padding: 11px 13px; border-radius: 13px; border: 1px solid var(--line-soft);
  background: var(--bg); font-size: .84rem;
}
.mock-time { color: var(--muted); font-weight: 650; font-variant-numeric: tabular-nums; }
.mock-class { font-weight: 650; }
.mock-sub { display: block; font-size: .76rem; color: var(--muted); font-weight: 500; }
.mock-pill {
  justify-self: end; font-size: .74rem; font-weight: 700;
  padding: 5px 11px; border-radius: 999px; white-space: nowrap;
}
.pill-sub   { background: var(--accent-soft); color: var(--accent-deep); }
.pill-free  { background: var(--amber-soft); color: var(--amber); }
.pill-done  { background: #eaf3ea; color: #2c6b3f; }
.mock-foot {
  margin-top: 15px; padding: 13px 15px; border-radius: 13px;
  background: var(--ink); color: #fff; font-size: .82rem;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.mock-foot b { color: #8fe3d3; }

/* ---------- logos / trust strip ---------- */
.trust { border-top: 1px solid var(--line-soft); padding: 30px 0 46px; }
.trust-inner { display: flex; flex-wrap: wrap; gap: 12px 30px; align-items: center; justify-content: center; color: var(--muted); font-size: .88rem; font-weight: 600; }
.trust-inner span { display: inline-flex; align-items: center; gap: 8px; }
.trust-inner svg { width: 16px; height: 16px; color: var(--accent); }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px;
}
.stat b { display: block; font-family: var(--font-serif); font-size: 2.5rem; font-weight: 400; line-height: 1; color: var(--accent-deep); margin-bottom: 8px; }
.stat span { font-size: .92rem; color: var(--ink-soft); }

/* ---------- problem cards ---------- */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.p-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px;
}
.p-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.p-card p { font-size: .95rem; color: var(--ink-soft); }
.p-icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--amber-soft); color: var(--amber); margin-bottom: 18px;
}
.p-icon svg { width: 22px; height: 22px; }
.p-card.solved .p-icon { background: var(--accent-soft); color: var(--accent); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 52px; counter-reset: step; }
.step { position: relative; padding-top: 14px; }
.step-num {
  width: 44px; height: 44px; border-radius: 999px;
  background: var(--ink); color: #fff;
  display: grid; place-items: center; font-weight: 750; font-size: 1rem;
  margin-bottom: 18px;
}
.step h3 { font-size: 1.08rem; margin-bottom: 7px; }
.step p { font-size: .93rem; color: var(--ink-soft); }
.step::after {
  content: ""; position: absolute; top: 36px; left: 58px; right: -10px;
  height: 1.5px; background: linear-gradient(90deg, var(--line), transparent);
}
.step:last-child::after { display: none; }

/* ---------- features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.f-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.f-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: #ddd7cc; }
.f-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent-deep);
  display: grid; place-items: center; margin-bottom: 16px;
}
.f-icon svg { width: 21px; height: 21px; }
.f-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.f-card p { font-size: .92rem; color: var(--ink-soft); }

/* ---------- benefits split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.check-list { display: grid; gap: 16px; margin: 28px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; font-size: 1rem; color: var(--ink-soft); }
.check-list b { color: var(--ink); }
.check {
  flex: none; width: 24px; height: 24px; margin-top: 2px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center;
}
.check svg { width: 13px; height: 13px; }

.quote-card {
  background: var(--ink); color: #fff; border-radius: var(--radius);
  padding: 44px 42px; box-shadow: var(--shadow-md);
}
.quote-card .display { font-size: 1.65rem; line-height: 1.35; color: #fff; margin-bottom: 24px; }
.quote-card .display em { color: #8fe3d3; }
.quote-meta { display: flex; align-items: center; gap: 13px; font-size: .9rem; color: #b9bfc4; }
.quote-avatar {
  width: 42px; height: 42px; border-radius: 999px;
  background: var(--accent); color: #fff; display: grid; place-items: center;
  font-weight: 750; font-family: var(--font-serif);
}
.quote-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.quote-stat { background: rgba(255,255,255,.07); border-radius: 13px; padding: 15px 17px; }
.quote-stat b { display: block; font-size: 1.35rem; color: #8fe3d3; font-family: var(--font-serif); font-weight: 400; }
.quote-stat span { font-size: .82rem; color: #b9bfc4; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--accent-deep), var(--accent) 55%, #1a7c6c);
  border-radius: 26px; color: #fff;
  padding: 66px 56px; text-align: center;
  box-shadow: 0 26px 60px rgba(13, 74, 65, .28);
}
.cta-band .h2-display { font-size: clamp(2rem, 3.6vw, 2.9rem); color: #fff; margin-bottom: 14px; }
.cta-band .h2-display em { color: #a9ead9; }
.cta-band p { color: #cfe9e3; font-size: 1.08rem; max-width: 560px; margin: 0 auto 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-note { margin-top: 20px; font-size: .85rem; color: #a9d4cb; }

/* ---------- pricing / trial ---------- */
.trial-card {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.trial-main { padding: 46px 46px 42px; }
.trial-side {
  background: var(--accent-soft); padding: 46px 40px;
  display: flex; flex-direction: column; justify-content: center; gap: 18px;
  border-left: 1px solid var(--line);
}
.trial-price { display: flex; align-items: baseline; gap: 10px; margin: 10px 0 6px; }
.trial-price b { font-family: var(--font-serif); font-size: 3.1rem; font-weight: 400; color: var(--accent-deep); line-height: 1; }
.trial-price span { color: var(--muted); font-size: .95rem; }
.trial-side-item { display: flex; gap: 11px; align-items: flex-start; font-size: .95rem; color: var(--accent-deep); font-weight: 600; }
.trial-side-item svg { flex: none; width: 18px; height: 18px; margin-top: 3px; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 44px auto 0; display: grid; gap: 12px; }
details {
  background: var(--surface); border: 1px solid var(--line); border-radius: 15px;
  padding: 0 26px; transition: border-color .15s;
}
details[open] { border-color: #d8d2c6; }
summary {
  cursor: pointer; list-style: none; padding: 21px 0;
  font-weight: 650; font-size: 1.02rem;
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; font-size: 1.45rem; font-weight: 400; color: var(--accent);
  transition: transform .18s ease; line-height: 1;
}
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 0 22px; color: var(--ink-soft); font-size: .96rem; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #c8cdd2; padding: 68px 0 30px; }
.footer a { color: #c8cdd2; font-size: .92rem; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 36px; }
.footer .brand { color: #fff; }
.footer .brand small { color: #8b9299; }
.footer-tag { margin-top: 16px; font-size: .92rem; color: #9aa1a8; max-width: 300px; }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-bottom {
  margin-top: 52px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: .84rem; color: #8b9299;
}

/* ---------- brand / pricing helpers ---------- */
.tld { color: var(--accent); }
.footer .tld { color: #8fe3d3; }
.trial-price del { font-size: 1.35rem; color: var(--muted); font-weight: 650; text-decoration-thickness: 2px; }

/* ---------- legal pages ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.32rem; margin: 2.1em 0 .6em; letter-spacing: -.01em; }
.legal p, .legal li { color: var(--ink-soft); font-size: .97rem; }
.legal ul { padding-left: 1.25em; margin: 0 0 1em; }
.legal li { margin: .38em 0; }
.legal .callout {
  background: var(--accent-soft); border-radius: 14px;
  padding: 18px 22px; color: var(--accent-deep);
  margin: 1.6em 0; font-size: .95rem;
}

/* ---------- forms (signup / login / contact) ---------- */
.auth { min-height: calc(100vh - 70px); display: grid; grid-template-columns: 1.02fr .98fr; }
.auth-side {
  background: linear-gradient(160deg, var(--accent-deep), var(--accent) 60%, #1b7f6e);
  color: #fff; padding: 72px 60px;
  display: flex; flex-direction: column; justify-content: center; gap: 26px;
}
.auth-side .display { font-size: clamp(2.1rem, 3.4vw, 2.9rem); color: #fff; }
.auth-side .display em { color: #a9ead9; }
.auth-side p { color: #cfe9e3; font-size: 1.05rem; max-width: 430px; }
.auth-points { display: grid; gap: 15px; margin-top: 8px; }
.auth-point { display: flex; gap: 12px; align-items: flex-start; font-size: .97rem; color: #dff0ec; }
.auth-point .check { background: rgba(255,255,255,.14); color: #a9ead9; }
.auth-quote {
  margin-top: 18px; padding: 20px 22px; border-radius: 15px;
  background: rgba(255,255,255,.09); font-size: .93rem; color: #e7f3f0; line-height: 1.6;
}
.auth-main { padding: 64px 56px; display: flex; align-items: center; justify-content: center; }
.auth-form-wrap { width: 100%; max-width: 520px; }
.auth-form-wrap h1 { font-size: 1.95rem; margin-bottom: 8px; }
.auth-form-wrap > p.muted { margin-bottom: 30px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-size: .85rem; font-weight: 650; color: var(--ink-soft); }
.field label .req { color: var(--amber); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px;
  border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--surface); color: var(--ink);
  font-family: var(--font-sans); font-size: .96rem;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3.5px rgba(18, 102, 90, .13);
}
.field textarea { resize: vertical; min-height: 130px; }
.field-hint { font-size: .78rem; color: var(--muted); }
.field input[type="password"] { letter-spacing: .04em; }

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 6px 0 22px; }
.checkbox { display: flex; align-items: center; gap: 9px; font-size: .88rem; color: var(--ink-soft); }
.checkbox input { width: 16px; height: 16px; accent-color: var(--accent); }

.form-foot { margin-top: 22px; font-size: .93rem; color: var(--ink-soft); text-align: center; }
.form-legal { margin-top: 18px; font-size: .79rem; color: var(--muted); text-align: center; line-height: 1.6; }

.divider { display: flex; align-items: center; gap: 14px; margin: 24px 0; color: var(--muted); font-size: .82rem; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.alert {
  display: flex; gap: 11px; align-items: flex-start;
  padding: 14px 17px; border-radius: 13px; margin-bottom: 22px;
  font-size: .91rem;
}
.alert-info { background: var(--accent-soft); color: var(--accent-deep); }
.alert svg { flex: none; width: 18px; height: 18px; margin-top: 2px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; }
.contact-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 36px; box-shadow: var(--shadow-sm);
}
.contact-info { display: grid; gap: 16px; }
.info-item {
  display: flex; gap: 15px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 15px; padding: 20px 22px;
}
.info-item .f-icon { margin-bottom: 0; flex: none; }
.info-item h3 { font-size: .98rem; margin-bottom: 3px; }
.info-item p { font-size: .9rem; color: var(--ink-soft); }
.info-item a { color: var(--accent); font-weight: 650; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .f-card { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid, .split, .contact-grid, .trial-card, .auth { grid-template-columns: 1fr; }
  .hero-grid { gap: 48px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .problem-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .trial-side { border-left: none; border-top: 1px solid var(--line); }
  .auth-side { padding: 56px 40px; }
  .auth-main { padding: 52px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* nav collapses to hamburger */
@media (max-width: 980px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links {
    display: flex; position: absolute; top: 74px; left: 0; right: 0;
    flex: none;
    flex-direction: column; align-items: flex-start; gap: 2px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 14px 24px 20px; box-shadow: 0 18px 30px rgba(23,25,28,.07);
  }
  .nav.open .nav-links a { padding: 10px 0; font-size: 1.02rem; width: 100%; }
  .nav.open .nav-cta { display: flex; width: 100%; margin: 10px 0 0; }
  .nav.open .nav-cta .btn { flex: 1; }
}

@media (max-width: 760px) {
  .section { padding: 68px 0; }
  .hero { padding: 56px 0 48px; }
  .stats, .problem-grid, .feature-grid, .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .mock-row { grid-template-columns: 46px 1fr; }
  .mock-pill { grid-column: 2; justify-self: start; margin-top: 2px; }
  .cta-band { padding: 48px 26px; }
  .trial-main, .trial-side { padding: 34px 26px; }
  .auth-side { padding: 44px 26px; }
  .auth-main { padding: 42px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer { padding: 52px 0 26px; }
}
