/* ============================================================
   Instagroup LLC — public landing page
   Standalone stylesheet. Does NOT share styles.css (that one is
   the admin dashboard shell and sets `display:flex` on body).
   Palette and fonts are kept identical to the dashboard so the
   public site, the registration form and the admin area read as
   one brand.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Nunito:wght@400;500;600;700;800&display=swap');

:root {
  --bg:        #e9f1fb;   /* page background (light blue) */
  --surface:   #ffffff;
  --surface-2: #f4f9ff;
  --surface-3: #eef4fc;

  --ink:       #0f2340;   /* deep navy — matches the black logo */
  --ink-muted: #5b7089;
  --ink-faint: #8699ad;

  --primary:       #2563eb;
  --primary-dark:  #1d4ed8;
  --primary-soft:  rgba(37, 99, 235, 0.10);
  --accent:        #0ea5e9;
  --accent-soft:   rgba(14, 165, 233, 0.12);
  --whatsapp:      #25d366;
  --whatsapp-dark: #1da851;
  --amber:         #b45309;
  --amber-soft:    #fef3c7;

  --line:       rgba(15, 35, 64, 0.10);
  --line-strong:rgba(15, 35, 64, 0.16);

  --shadow-sm: 0 6px 16px rgba(15, 35, 64, 0.07);
  --shadow:    0 14px 34px rgba(15, 35, 64, 0.10);
  --shadow-lg: 0 28px 60px rgba(15, 35, 64, 0.14);

  --r-sm: 12px;
  --r:    18px;
  --r-lg: 26px;
  --r-pill: 999px;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --header-h: 76px;
  --shell: 1180px;
}

/* ---------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  /* Anchor targets must clear the sticky header. */
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  background-image:
    radial-gradient(at 6% 0%,   rgba(37, 99, 235, 0.10) 0, transparent 42%),
    radial-gradient(at 100% 8%, rgba(14, 165, 233, 0.10) 0, transparent 46%);
  background-attachment: fixed;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 50%; top: -100px; transform: translateX(-50%);
  z-index: 200; background: var(--ink); color: #fff;
  padding: .7rem 1.2rem; border-radius: 0 0 var(--r-sm) var(--r-sm); font-weight: 700;
}
.skip-link:focus { top: 0; }

:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 4px; }

/* ---------------------------------- layout */
.shell { width: min(100% - 2.5rem, var(--shell)); margin-inline: auto; }
.shell-narrow { width: min(100% - 2.5rem, 820px); }

.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-alt { background: rgba(255, 255, 255, 0.58); }

.section-head { max-width: 680px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: .75rem; }
.section-sub { color: var(--ink-muted); font-size: 1.05rem; }

.eyebrow {
  font-size: .76rem; font-weight: 800; letter-spacing: .13em;
  text-transform: uppercase; color: var(--primary); margin-bottom: .6rem;
}

/* ---------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .78rem 1.45rem; border-radius: var(--r-pill);
  font-family: var(--font-body); font-weight: 700; font-size: .95rem;
  border: 1.5px solid transparent; cursor: pointer; text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: .95rem 1.8rem; font-size: 1rem; }

.btn-primary { background: var(--whatsapp); color: #fff; box-shadow: 0 10px 24px rgba(37, 211, 102, 0.30); }
.btn-primary:hover { background: var(--whatsapp-dark); box-shadow: 0 14px 30px rgba(37, 211, 102, 0.38); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--surface); border-color: var(--primary); color: var(--primary); }

.btn-wa {
  background: var(--surface-3); color: var(--ink); border-color: var(--line);
  width: 100%; margin-top: auto;
}
.btn-wa:hover { background: var(--whatsapp); border-color: var(--whatsapp); color: #fff; }

.ico-wa { width: 20px; height: 20px; fill: currentColor; flex: none; }

/* ---------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(233, 241, 251, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(15, 35, 64, 0.07);
  background: rgba(240, 246, 253, 0.92);
}

.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}

/* The supplied logo is a fixed black wordmark — never recolored or cropped. */
.brand img { height: 34px; width: auto; }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav > a:not(.nav-cta) {
  font-weight: 600; font-size: .94rem; color: var(--ink-muted);
  position: relative; padding: .25rem 0; transition: color .18s ease;
}
.nav > a:not(.nav-cta)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--primary); border-radius: 2px; transform: scaleX(0);
  transform-origin: left; transition: transform .22s ease;
}
.nav > a:not(.nav-cta):hover,
.nav > a.is-active:not(.nav-cta) { color: var(--ink); }
.nav > a:not(.nav-cta):hover::after,
.nav > a.is-active:not(.nav-cta)::after { transform: scaleX(1); }

.nav-cta { padding: .62rem 1.15rem; font-size: .9rem; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  background: var(--surface); border-radius: var(--r-sm); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .22s ease, opacity .18s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------- hero */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 5.5rem); }
.hero-inner {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.4rem);
  letter-spacing: -0.02em; text-transform: uppercase; margin-bottom: 1.1rem;
}
.hero h1 .accent {
  background: linear-gradient(100deg, var(--primary), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { font-size: clamp(1.08rem, 2vw, 1.28rem); color: var(--ink); margin-bottom: .9rem; font-weight: 600; }
.sub { color: var(--ink-muted); max-width: 54ch; margin-bottom: 1.9rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 2.2rem; }

.routes { display: flex; flex-wrap: wrap; gap: .6rem; }
.routes li {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-pill); padding: .45rem 1rem;
  font-size: .86rem; font-weight: 700; box-shadow: var(--shadow-sm);
}
.route-arrow { color: var(--primary); font-weight: 800; }
.route-to { color: var(--ink-muted); }

.hero-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.9rem; box-shadow: var(--shadow-lg);
}
.hero-card h2 { font-size: 1.25rem; margin-bottom: 1.2rem; }
.hero-list { display: grid; gap: 1rem; }
.hero-list li { display: flex; align-items: flex-start; gap: .9rem; }
.hero-list strong { display: block; font-size: .96rem; }
.hero-list span { display: block; font-size: .85rem; color: var(--ink-muted); line-height: 1.45; }
.hero-card-note {
  margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1px solid var(--line);
  font-size: .85rem; color: var(--ink-muted); font-weight: 600;
}

/* icon chips (SVG injected by landing.js) */
[data-ico] {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--primary-soft); color: var(--primary);
}
[data-ico] svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---------------------------------- tracking */
.section-tracking { padding-top: 0; }
.track-panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(1.8rem, 4vw, 3rem);
  box-shadow: var(--shadow);
}
.track-copy h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-bottom: .9rem; }
.track-copy > p { color: var(--ink-muted); margin-bottom: .9rem; }
.track-note {
  background: var(--accent-soft); border-radius: var(--r-sm);
  padding: .7rem 1rem; font-size: .92rem; color: var(--ink) !important;
  margin-bottom: 1.5rem !important;
}

.track-statuses h3 { font-size: 1.05rem; margin-bottom: 1.1rem; }
.status-list { display: grid; gap: .55rem; }
.status-list li { display: flex; gap: .8rem; align-items: flex-start; }
.status-list .dot {
  flex: none; width: 10px; height: 10px; border-radius: 50%;
  background: var(--primary); margin-top: .5rem;
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.status-list .dot-hold { background: var(--amber); box-shadow: 0 0 0 3px var(--amber-soft); }
.status-list strong { font-size: .9rem; display: block; }
.status-list span:not(.dot) { font-size: .82rem; color: var(--ink-muted); line-height: 1.4; }

/* ---------------------------------- service cards */
.cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.4rem;
}
.card {
  display: flex; flex-direction: column; gap: .85rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.7rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(37, 99, 235, 0.3); }
.card-wide { grid-column: span 2; }

.card-top { display: flex; align-items: center; justify-content: space-between; }
.card-num {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
  color: var(--line-strong); line-height: 1;
}
.card h3 { font-size: 1.28rem; }
.card p { font-size: .94rem; color: var(--ink-muted); }
.card-note {
  font-size: .85rem !important; color: var(--ink-faint) !important;
  border-left: 3px solid var(--line); padding-left: .85rem; line-height: 1.5;
}
.list-label { font-weight: 700; color: var(--ink) !important; font-size: .9rem !important; margin-bottom: -.4rem; }

.ticks { display: grid; gap: .45rem; }
.ticks li {
  position: relative; padding-left: 1.6rem; font-size: .91rem; color: var(--ink-muted);
}
.ticks li::before {
  content: ''; position: absolute; left: .25rem; top: .55rem;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}

.rates { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.2rem; }
.rates h4 {
  font-size: .76rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary); margin-bottom: .7rem; font-family: var(--font-body); font-weight: 800;
}
.rates th {
  text-align: left; font-size: .74rem; letter-spacing: .07em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 700; padding-bottom: .5rem;
  border-bottom: 1px solid var(--line);
}
.rates th:last-child, .rates td:last-child { text-align: right; }
.rates td { padding: .55rem 0; font-size: .93rem; border-bottom: 1px solid var(--line); }
.rates tr:last-child td { border-bottom: 0; padding-bottom: 0; }
.rates td strong { font-variant-numeric: tabular-nums; color: var(--ink); }
.rates-note { font-size: .8rem !important; color: var(--ink-faint) !important; margin-top: .7rem; }

/* ---------------------------------- steps */
.steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem; counter-reset: step;
}
.steps li {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-sm);
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  margin-bottom: .9rem;
}
.steps h3 { font-size: 1.05rem; margin-bottom: .45rem; }
.steps p { font-size: .89rem; color: var(--ink-muted); }

/* ---------------------------------- why */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.3rem; }
.why {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 1.6rem; box-shadow: var(--shadow-sm);
}
.why [data-ico] { margin-bottom: 1rem; }
.why h3 { font-size: 1.08rem; margin-bottom: .45rem; }
.why p { font-size: .9rem; color: var(--ink-muted); }

/* ---------------------------------- registration CTA */
.cta-panel {
  display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  background: linear-gradient(135deg, #0f2340, #1b3a66);
  border-radius: var(--r-lg); padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: var(--shadow-lg); color: #fff;
}
.cta-panel .eyebrow { color: #7dd3fc; }
.cta-panel h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-bottom: .9rem; }
.cta-panel p { color: rgba(255, 255, 255, 0.78); margin-bottom: .85rem; }
.cta-panel .btn { margin-top: .9rem; }

.cta-points { display: grid; gap: .9rem; }
.cta-points li {
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-sm); padding: .85rem 1.1rem;
}
.cta-points strong { display: block; font-size: .95rem; }
.cta-points span { display: block; font-size: .82rem; color: rgba(255, 255, 255, 0.62); }

/* ---------------------------------- about */
.about-grid {
  display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 2.5rem;
}
.about-main h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 1rem; }
.about-main p { color: var(--ink-muted); margin-bottom: .95rem; }
.about-side { display: grid; gap: 1.2rem; align-content: start; }
.mv {
  background: var(--surface); border: 1px solid var(--line);
  border-left: 4px solid var(--primary);
  border-radius: var(--r); padding: 1.4rem; box-shadow: var(--shadow-sm);
}
.mv h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.mv p { font-size: .9rem; color: var(--ink-muted); }

.notice {
  display: flex; gap: 1.2rem; align-items: flex-start;
  background: var(--amber-soft); border: 1px solid rgba(180, 83, 9, 0.22);
  border-radius: var(--r); padding: 1.5rem;
}
.notice [data-ico] { background: rgba(180, 83, 9, 0.14); color: var(--amber); }
.notice h3 { font-size: 1.05rem; margin-bottom: .5rem; color: #78350f; }
.notice p { font-size: .89rem; color: #78350f; opacity: .9; }
.notice p + p { margin-top: .6rem; }

/* ---------------------------------- faq */
.faq { display: grid; gap: .7rem; }
.faq details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden; transition: border-color .18s ease, box-shadow .18s ease;
}
.faq details[open] { border-color: rgba(37, 99, 235, 0.32); box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.05rem 1.3rem; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none; width: 10px; height: 10px;
  border-right: 2px solid var(--primary); border-bottom: 2px solid var(--primary);
  transform: rotate(45deg) translate(-2px, -2px); transition: transform .22s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq summary:hover { color: var(--primary); }
.faq details > div { padding: 0 1.3rem 1.2rem; }
.faq details p { font-size: .93rem; color: var(--ink-muted); }

/* ---------------------------------- contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 4vw, 3.5rem); }
.contact-facts dl { display: grid; gap: .1rem; }
.contact-facts dl > div {
  display: grid; grid-template-columns: 1fr; gap: .1rem;
  padding: .85rem 0; border-bottom: 1px solid var(--line);
}
.contact-facts dt {
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 800;
}
.contact-facts dd { font-size: 1rem; font-weight: 600; }
.contact-facts a { color: var(--primary); }
.contact-facts a:hover { text-decoration: underline; }

.contact-options h3 { font-size: 1.1rem; margin-bottom: 1.1rem; }
.opt-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: .6rem; }
.opt {
  display: flex; align-items: center; gap: .6rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: .8rem 1rem; font-size: .9rem; font-weight: 600; cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease, color .18s ease;
}
.opt::before {
  content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%;
  background: var(--whatsapp);
}
.opt:hover { border-color: var(--whatsapp); background: rgba(37, 211, 102, 0.08); transform: translateX(3px); }

/* ---------------------------------- footer */
/* Extra bottom padding keeps the floating WhatsApp button from sitting on
   top of the copyright row and the Instagram link. */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.72); padding: clamp(2.5rem, 5vw, 4rem) 0 5.5rem; }
.footer-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 5vw, 4rem); padding-bottom: 2.5rem; }

/* The logo is black-on-black here, so it sits on its own white plate rather
   than being recolored — the supplied artwork must not be modified. */
.footer-brand img {
  height: 38px; width: auto; background: #fff;
  padding: .5rem .7rem; border-radius: 10px; margin-bottom: 1.1rem;
}
.tagline {
  font-family: var(--font-display); font-size: 1.1rem; color: #fff;
  text-transform: uppercase; letter-spacing: .04em; margin-bottom: .7rem;
}
.footer-note { font-size: .86rem; max-width: 40ch; }

.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.footer-nav h4 { font-size: .78rem; letter-spacing: .11em; text-transform: uppercase; color: #fff; margin-bottom: .9rem; font-family: var(--font-body); font-weight: 800; }
.footer-nav a { display: block; font-size: .88rem; padding: .22rem 0; transition: color .16s ease; }
.footer-nav a:hover { color: #fff; }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: .84rem;
}
.ig-link { display: inline-flex; align-items: center; gap: .5rem; transition: color .16s ease; }
.ig-link svg { fill: currentColor; }
.ig-link:hover { color: #fff; }

/* ---------------------------------- floating whatsapp */
.fab {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--whatsapp); color: #fff; cursor: pointer;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.42);
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.9);
  transition: opacity .25s ease, transform .25s ease, visibility .25s, background-color .2s ease;
}
.fab.is-visible { opacity: 1; visibility: visible; transform: none; }
.fab:hover { background: var(--whatsapp-dark); }
.fab svg { width: 29px; height: 29px; fill: currentColor; }

/* ---------------------------------- responsive */
@media (max-width: 1040px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { order: 2; }
  .card-wide { grid-column: span 1; }
  .cta-panel, .about-grid, .contact-grid, .track-panel { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  :root { --header-h: 66px; }

  .nav-toggle { display: flex; }

  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: .5rem 1.25rem 1.5rem;
    box-shadow: var(--shadow);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    transform: translateY(-120%); opacity: 0; visibility: hidden;
    transition: transform .28s ease, opacity .22s ease, visibility .28s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav > a:not(.nav-cta) {
    padding: .95rem .25rem; border-bottom: 1px solid var(--line);
    font-size: 1rem; color: var(--ink);
  }
  .nav > a:not(.nav-cta)::after { display: none; }
  .nav-cta { margin-top: 1.1rem; width: 100%; padding: .85rem 1.2rem; }

  .hero h1 { font-size: clamp(2.3rem, 11vw, 3.1rem); }
  .hero-actions .btn { width: 100%; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .shell, .shell-narrow { width: calc(100% - 2rem); }
  .card, .why, .steps li, .mv { padding: 1.3rem; }
  .track-panel, .cta-panel { padding: 1.4rem; }
  .notice { flex-direction: column; gap: .9rem; }
  .footer-nav { grid-template-columns: 1fr; }
  .opt-list { grid-template-columns: 1fr; }
  .fab { right: 1rem; bottom: 1rem; width: 52px; height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* Reveal-on-scroll; the class is only added by JS, so content is always
   visible when JavaScript is unavailable. */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .45s ease, transform .45s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

@media print {
  .site-header, .fab, .nav-toggle { display: none !important; }
  body { background: #fff; }
  .faq details { break-inside: avoid; }
}
