/* ============================================================
   Neuro — neurology & sleep-medicine theme · Treatlly
   Light premium design system · mobile-first · navy + gold.

   Ported from the "Institute of Neuro & Sleep Sciences" build.
   Self-contained: every section uses these classes (NOT Tailwind
   utilities), so the look does not depend on the tailwind asset.

   Palette is the theme CHARACTER and is not tenant-overridable
   (mirrors sunaina_vibrant's rationale). Only the primary CTA can
   follow the tenant brand colour via --launch-primary, exposed as
   the .btn-theme-primary helper at the bottom of this file.

   Typography: Fraunces (display serif) + Inter (sans). No mono.

   NOTE: do NOT @import a tailwind path here — that hard-coded,
   non-fingerprinted path 404s in production (assets are digest
   stamped). layout.liquid loads tailwind via {{ 'tailwind' | asset_url }}.
   ============================================================ */

:root {
  --bg: #fbf9f4;
  --surface: #ffffff;
  --ink: #14294e;
  --ink-soft: #1e3a66;
  --navy: #0e2747;
  --navy-deep: #0a1e38;
  --text: #3a4a5e;
  --muted: #64748b;
  --gold: #b9912f;
  --gold-deep: #96752a;
  --gold-soft: #d9bc72;
  --gold-pale: #f4ecd5;
  --gold-tint: #faf5e7;
  --sky-tint: #eaf1f7;
  --line: #e9e2d2;
  --line-navy: rgba(255, 255, 255, 0.14);
  --wa: #1c9d52;
  --wa-dark: #16813f;
  --danger: #b3372f;
  --danger-bg: #fdf1ee;
  --shadow-soft: 0 10px 30px rgba(20, 41, 78, 0.07);
  --shadow-lift: 0 18px 44px rgba(20, 41, 78, 0.12);
  --radius: 16px;
  --radius-lg: 22px;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --header-h: 72px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.neuro-theme img, .neuro-theme svg, .neuro-theme iframe { display: block; max-width: 100%; }
.neuro-theme img { height: auto; }
/* Base link colour — kept GLOBAL and low-specificity (0,0,1), exactly like the
   source site, so EVERY contextual rule wins naturally: .btn-* (white button
   text, 0,1,0), .footer-col a (light-on-navy, 0,1,1), .site-nav a, .card-link…
   Scoping this to `.neuro-theme a` raised it to (0,1,1)/(0,2,1) and clobbered
   both button text and footer link colours. The theme stylesheet only loads on
   rendered theme pages, so a global selector is safe. */
a { color: var(--ink-soft); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold); }
.neuro-theme ::selection { background: var(--gold-pale); color: var(--ink); }
.neuro-theme :focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

.neuro-theme h1, .neuro-theme h2, .neuro-theme h3, .neuro-theme h4 {
  font-family: var(--font-serif);
  color: var(--ink);
  line-height: 1.16;
  font-weight: 600;
  letter-spacing: -0.012em;
  margin: 0;
}
.neuro-theme h1 { font-size: clamp(2.05rem, 5.4vw, 3.4rem); }
.neuro-theme h2 { font-size: clamp(1.55rem, 3.6vw, 2.3rem); }
.neuro-theme h3 { font-size: 1.18rem; line-height: 1.35; }
.neuro-theme p { margin: 0; }

.container { width: min(1140px, 100% - 2.5rem); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 0.6rem 1rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Scroll-reveal (gated on .js so no-JS users see everything) ---------- */
.js .reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--font-sans); font-weight: 600; font-size: 0.98rem;
  padding: 0.85rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; line-height: 1.2; overflow: hidden;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.985); }
.btn-gold { background: var(--gold); color: #fff; box-shadow: 0 10px 24px rgba(185, 145, 47, 0.32); }
.btn-gold:hover { background: var(--gold-deep); color: #fff; box-shadow: 0 14px 30px rgba(185, 145, 47, 0.4); }
.btn-gold::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg); transition: left 0.55s ease;
}
.btn-gold:hover::after { left: 130%; }
.btn-navy { background: var(--ink); color: #fff; }
.btn-navy:hover { background: var(--ink-soft); color: #fff; box-shadow: var(--shadow-soft); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px rgba(28, 157, 82, 0.28); }
.btn-wa:hover { background: var(--wa-dark); color: #fff; }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.45); color: #fff; background: rgba(255, 255, 255, 0.04); }
.btn-outline-light:hover { border-color: var(--gold-soft); color: var(--gold-soft); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--gold); color: var(--ink); background: var(--gold-tint); }
.btn-block { width: 100%; }

/* ---------- Kicker / section heads ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-deep);
}
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--gold); border-radius: 2px; }
.section { padding: clamp(3.5rem, 8.5vw, 6.5rem) 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin: 0 auto 2.75rem; text-align: center; }
.section-head .kicker { justify-content: center; }
.section-head .kicker::after { content: ""; width: 28px; height: 2px; background: var(--gold); border-radius: 2px; }
.section-head h2 { margin: 0.85rem 0 0.9rem; }
.section-head p { color: var(--muted); font-size: 1.04rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 249, 244, 0.96);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.site-header.scrolled { background: var(--surface); border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(20, 41, 78, 0.06); }
.header-inner { display: flex; align-items: center; gap: 1.25rem; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; margin-right: auto; }
.brand-mark { width: 42px; height: 42px; flex: none; }
.brand-logo { height: 40px; width: auto; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-family: var(--font-serif); font-size: 1.06rem; color: var(--ink); font-weight: 700; letter-spacing: -0.01em; }
.brand-text small { font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.site-nav > ul { list-style: none; display: flex; align-items: center; gap: 1.6rem; margin: 0; padding: 0; }
.site-nav a { font-size: 0.94rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold-deep); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.header-cta { padding: 0.7rem 1.25rem; font-size: 0.92rem; }
.acct-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; flex: none; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--surface); color: var(--ink-soft);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.acct-btn:hover { color: var(--gold-deep); border-color: var(--gold-soft); }
.acct-btn svg { width: 20px; height: 20px; }
.acct-menu { position: relative; }
.acct-menu summary { list-style: none; cursor: pointer; }
.acct-menu summary::-webkit-details-marker { display: none; }
.acct-dropdown {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 13rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lift); padding: 0.5rem; z-index: 60;
}
.acct-dropdown .acct-hi { padding: 0.35rem 0.75rem 0.5rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.acct-dropdown a, .acct-dropdown button {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 0.5rem;
  padding: 0.6rem 0.75rem; border-radius: 9px; font-size: 0.92rem; font-weight: 600;
  color: var(--ink-soft); background: none; border: 0; cursor: pointer; text-align: left; text-decoration: none;
}
.acct-dropdown a:hover { background: var(--gold-tint); color: var(--ink); }
.acct-dropdown .acct-signout { color: var(--danger); }
.acct-dropdown .acct-signout:hover { background: var(--danger-bg); }
.acct-divider { height: 1px; background: var(--line); margin: 0.35rem 0; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px; background: none; border: 1.5px solid var(--line);
  border-radius: 10px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 979px) {
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--bg);
    padding: 1.5rem 1.25rem 6rem; overflow-y: auto;
    transform: translateX(105%); transition: transform 0.32s var(--ease-out);
    border-top: 1px solid var(--line);
  }
  .nav-open .site-nav { transform: translateX(0); }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav > ul > li { border-bottom: 1px solid var(--line); }
  .site-nav > ul > li > a { display: block; padding: 0.95rem 0.25rem; font-size: 1.05rem; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .nav-cta-group { display: grid; gap: 0.7rem; padding: 1.25rem 0.25rem; }
  .nav-open { overflow: hidden; }
}
@media (min-width: 980px) { .nav-cta-group { display: none; } }

/* ---------- Hero (light) ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(820px 480px at -8% -20%, rgba(217, 188, 114, 0.22), transparent 60%),
    radial-gradient(900px 560px at 108% 8%, rgba(174, 199, 222, 0.28), transparent 62%),
    linear-gradient(180deg, #fdfcf8 0%, #f7f2e7 100%);
}
.blob { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.blob-1 {
  width: 460px; height: 460px; top: -160px; right: 6%;
  background: radial-gradient(closest-side, rgba(217, 188, 114, 0.3), transparent 70%);
  animation: drift 16s ease-in-out infinite alternate;
}
.blob-2 {
  width: 380px; height: 380px; bottom: -140px; left: -80px;
  background: radial-gradient(closest-side, rgba(174, 199, 222, 0.35), transparent 70%);
  animation: drift 19s ease-in-out infinite alternate-reverse;
}
@keyframes drift { to { transform: translate(34px, 26px) scale(1.06); } }

.hero-inner { position: relative; z-index: 1; display: grid; gap: 2.75rem; padding: clamp(3rem, 7.5vw, 5.5rem) 0 clamp(4.25rem, 9vw, 6.75rem); align-items: center; }
.hero h1 { margin: 1rem 0 1.15rem; max-width: 22ch; }
.hero h1 em { font-style: normal; color: var(--gold-deep); position: relative; white-space: nowrap; }
.hero h1 em svg { position: absolute; left: 0; bottom: -8px; width: 100%; height: 12px; color: var(--gold-soft); }
.hero h1 em svg path { stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 1.4s var(--ease-out) 0.5s forwards; }
.hero-lede { color: var(--text); font-size: 1.06rem; max-width: 56ch; }
.hero-creds { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: 0.55rem; }
.hero-creds li {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em;
  background: var(--surface); border: 1px solid var(--line);
  padding: 0.42rem 0.85rem; border-radius: 999px; color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 0.45rem; box-shadow: 0 3px 10px rgba(20, 41, 78, 0.05);
}
.hero-creds svg { width: 13px; height: 13px; color: var(--gold); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.9rem; }
.hero-note { margin-top: 1.15rem; font-size: 0.88rem; color: var(--muted); }
.hero-note strong { color: var(--gold-deep); font-weight: 600; }

.hero-wave { margin-top: 2rem; max-width: 340px; color: var(--gold); opacity: 0.9; }
.hero-wave path { stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 2.6s var(--ease-out) 0.7s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-visual { position: relative; max-width: 420px; margin-inline: auto; width: 100%; }
.portrait-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 34px 70px rgba(20, 41, 78, 0.22);
  border: 1px solid rgba(185, 145, 47, 0.35);
  background: var(--surface);
}
.portrait-frame::after {
  content: ""; position: absolute; inset: 10px; border: 1px solid rgba(185, 145, 47, 0.3);
  border-radius: calc(var(--radius-lg) - 8px); pointer-events: none;
}
.portrait-frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.badge-float {
  position: absolute; display: flex; align-items: center; gap: 0.6rem;
  background: var(--surface); color: var(--ink); border-radius: 12px;
  padding: 0.6rem 0.9rem; box-shadow: var(--shadow-lift); border: 1px solid var(--line);
  font-size: 0.78rem; font-weight: 600; line-height: 1.3; max-width: 230px;
  animation: floaty 6s ease-in-out infinite;
}
.badge-float svg { width: 26px; height: 26px; flex: none; color: var(--gold); }
.badge-float small { display: block; font-weight: 500; color: var(--muted); font-size: 0.72rem; }
.badge-tl { top: 18px; left: -14px; }
.badge-br { bottom: 22px; right: -14px; animation-delay: 3s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@media (max-width: 479px) {
  .badge-tl { left: -6px; }
  .badge-br { right: -6px; }
}
@media (min-width: 980px) {
  .hero-inner { grid-template-columns: 1.08fr 0.92fr; gap: 4rem; }
  .hero-visual { margin-inline: 0 0.5rem; }
}

/* ---------- Trust strip ---------- */
.trust-strip { position: relative; z-index: 5; margin-top: -52px; }
.trust-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lift);
}
.trust-item { background: var(--surface); padding: 1.4rem 1.5rem; display: flex; gap: 0.9rem; align-items: flex-start; transition: background 0.25s ease; }
.trust-item:hover { background: var(--gold-tint); }
.trust-item svg { width: 26px; height: 26px; flex: none; color: var(--gold); margin-top: 2px; }
.trust-item strong { display: block; font-family: var(--font-serif); font-size: 1.02rem; color: var(--ink); line-height: 1.3; margin-bottom: 0.2rem; }
.trust-item span { font-size: 0.84rem; color: var(--muted); line-height: 1.5; }
@media (min-width: 880px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .trust-grid { grid-template-columns: 1fr 1fr; } .trust-item { padding: 1.1rem 1rem; flex-direction: column; gap: 0.5rem; } }

/* ---------- Cards grid ---------- */
.cards-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .cards-grid { grid-template-columns: repeat(4, 1fr); } }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem 1.5rem; display: flex; flex-direction: column; gap: 0.8rem;
  text-decoration: none; transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: var(--gold-soft); }
.icon-tile {
  width: 48px; height: 48px; border-radius: 13px; background: var(--ink);
  display: grid; place-items: center; color: var(--gold-soft);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s var(--ease-out);
}
.card:hover .icon-tile { background: var(--gold); color: #fff; transform: scale(1.07) rotate(-3deg); }
.icon-tile svg { width: 24px; height: 24px; }
.card h3 { margin: 0.2rem 0 0; }
.card p { font-size: 0.92rem; color: var(--muted); flex-grow: 1; }
.card-link { font-size: 0.88rem; font-weight: 700; color: var(--gold-deep); display: inline-flex; align-items: center; gap: 0.35rem; }
.card-link::after { content: "→"; transition: transform 0.25s var(--ease-out); }
.card:hover .card-link::after { transform: translateX(5px); }

/* ---------- Stats band ---------- */
.stats-band {
  background: linear-gradient(180deg, var(--surface) 0%, var(--gold-tint) 100%);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: clamp(2rem, 5vw, 3.25rem) clamp(1.25rem, 4vw, 3rem);
  display: grid; gap: 2rem; grid-template-columns: 1fr 1fr; text-align: center;
}
@media (min-width: 880px) { .stats-band { grid-template-columns: repeat(4, 1fr); } }
.stat-num {
  font-family: var(--font-serif); font-weight: 600; color: var(--ink);
  font-size: clamp(2.1rem, 4.5vw, 3.1rem); line-height: 1.1; display: block;
}
.stat-num .suffix { color: var(--gold); }
.stat-label { font-size: 0.86rem; color: var(--muted); font-weight: 500; margin-top: 0.35rem; display: block; line-height: 1.45; }

/* ---------- Split / about ---------- */
.split { display: grid; gap: 2.75rem; align-items: center; }
@media (min-width: 940px) { .split { grid-template-columns: 0.85fr 1.15fr; gap: 4.5rem; } }
.split-media { position: relative; max-width: 430px; margin-inline: auto; width: 100%; }
.split-media img { border-radius: var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: var(--shadow-lift); border: 1px solid var(--line); }
.split-media::before {
  content: ""; position: absolute; inset: -16px 16px 16px -16px; border: 1.5px solid var(--gold-soft);
  border-radius: var(--radius-lg); z-index: -1;
}
.split-body h2 { margin: 0.85rem 0 1.1rem; }
.split-body p { margin-bottom: 1rem; }
.split-body p:last-of-type { margin-bottom: 0; }

.cred-list { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 0.7rem; }
.cred-list li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.96rem; font-weight: 500; color: var(--ink-soft); }
.cred-list svg { width: 19px; height: 19px; flex: none; color: var(--gold); margin-top: 4px; }

/* ---------- Journey timeline ---------- */
.timeline { position: relative; max-width: 920px; margin: 0 auto; }
.timeline::before {
  content: ""; position: absolute; top: 8px; bottom: 8px; left: 19px; width: 2px;
  background: linear-gradient(180deg, var(--gold-soft), var(--line));
}
.tl-item { position: relative; padding: 0 0 2.4rem 60px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute; left: 11px; top: 5px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--surface); border: 2.5px solid var(--gold);
  box-shadow: 0 0 0 5px var(--gold-pale);
}
.tl-item:last-child .tl-dot { background: var(--gold); }
.tl-place {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold-deep); background: var(--gold-tint);
  border: 1px solid var(--gold-pale); padding: 0.18rem 0.7rem; border-radius: 999px; margin-bottom: 0.5rem;
}
.tl-item h3 { font-size: 1.12rem; margin-bottom: 0.3rem; }
.tl-item p { font-size: 0.93rem; color: var(--muted); max-width: 52ch; }
@media (min-width: 980px) {
  .timeline::before { left: 50%; transform: translateX(-50%); }
  .tl-item { width: 50%; padding: 0 0 2.6rem 0; }
  .tl-item:nth-child(odd) { padding-right: 58px; text-align: right; }
  .tl-item:nth-child(odd) p { margin-left: auto; }
  .tl-item:nth-child(even) { margin-left: 50%; padding-left: 58px; }
  .tl-item:nth-child(odd) .tl-dot { left: auto; right: -9px; }
  .tl-item:nth-child(even) .tl-dot { left: -9px; }
}

/* ---------- Checklist (why choose) ---------- */
.checklist { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .checklist { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .checklist { grid-template-columns: 1fr 1fr 1fr; } }
.check-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.35rem 1.4rem; display: flex; gap: 0.85rem; align-items: flex-start;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease, border-color 0.25s ease;
}
.check-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: var(--gold-soft); }
.check-item svg { width: 22px; height: 22px; flex: none; color: var(--gold); margin-top: 3px; }
.check-item strong { display: block; font-family: var(--font-serif); color: var(--ink); font-size: 1.04rem; margin-bottom: 0.25rem; line-height: 1.3; }
.check-item span { font-size: 0.88rem; color: var(--muted); line-height: 1.55; }

/* ---------- Feature band (diagnostics) ---------- */
.band-feature { background: var(--surface); border-block: 1px solid var(--line); }
.band-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .band-grid { grid-template-columns: 1fr 1fr 1fr; } }
.band-cell {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.5rem;
  background: var(--bg);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.band-cell:hover { transform: translateY(-4px); border-color: var(--gold-soft); background: var(--surface); box-shadow: var(--shadow-soft); }
.band-cell .icon-tile { margin-bottom: 1rem; }
.band-cell h3 { font-size: 1.12rem; margin-bottom: 0.45rem; }
.band-cell p { font-size: 0.92rem; color: var(--muted); }
.band-actions { text-align: center; margin-top: 2.5rem; }

/* ---------- Steps (what to expect) ---------- */
.steps { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .steps { grid-template-columns: 1fr 1fr 1fr; gap: 2.5rem; } }
.step {
  position: relative; padding: 1.6rem 1.5rem; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease, border-color 0.25s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: var(--gold-soft); }
.step-num {
  font-family: var(--font-serif); font-size: 2.6rem; font-weight: 600; line-height: 1;
  color: var(--gold); display: block; margin-bottom: 0.8rem;
}
.step h3 { margin-bottom: 0.5rem; }
.step p { font-size: 0.95rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 780px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-of-type { border-top: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.25rem;
  padding: 1.25rem 0.25rem; font-weight: 600; color: var(--ink); font-size: 1.02rem; line-height: 1.45;
  font-family: var(--font-serif);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid var(--gold); color: var(--gold-deep); display: grid; place-items: center;
  font-size: 1.15rem; font-weight: 500; transition: transform 0.3s var(--ease-out), background 0.25s ease, color 0.25s ease;
}
.faq-item[open] summary::after { content: "–"; background: var(--gold); color: #fff; transform: rotate(180deg); }
.faq-item summary:hover { color: var(--gold-deep); }
.faq-body { padding: 0 2.75rem 1.4rem 0.25rem; color: var(--muted); font-size: 0.97rem; }
.faq-item[open] .faq-body { animation: faqIn 0.35s var(--ease-out); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }
.faq-body p { margin-bottom: 0.6rem; }
.faq-body p:last-child { margin-bottom: 0; }

/* ---------- Location ---------- */
.loc-grid { display: grid; gap: 1.5rem; }
@media (min-width: 940px) { .loc-grid { grid-template-columns: 0.9fr 1.1fr; align-items: stretch; } }
.info-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2rem 1.8rem; display: flex; flex-direction: column; gap: 1.3rem; box-shadow: var(--shadow-soft);
}
.info-row { display: flex; gap: 1rem; align-items: flex-start; }
.info-row svg { width: 21px; height: 21px; flex: none; color: var(--gold); margin-top: 4px; }
.info-row strong { display: block; font-family: var(--font-serif); color: var(--ink); font-size: 1.04rem; margin-bottom: 0.2rem; }
.info-row p, .info-row a { font-size: 0.95rem; color: var(--muted); margin: 0; }
.info-row a.tel-big { font-family: var(--font-serif); font-size: 1.35rem; color: var(--ink); text-decoration: none; font-weight: 600; }
.info-row a.tel-big:hover { color: var(--gold-deep); }
.map-frame { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); min-height: 360px; background: var(--surface); }
.map-frame iframe { width: 100%; height: 100%; min-height: 360px; border: 0; }

/* ---------- CTA banner (light) ---------- */
.cta-banner {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background:
    radial-gradient(560px 300px at 92% -30%, rgba(217, 188, 114, 0.35), transparent 65%),
    radial-gradient(480px 280px at -8% 120%, rgba(174, 199, 222, 0.3), transparent 65%),
    linear-gradient(180deg, #fffdf7 0%, var(--gold-pale) 100%);
  border: 1px solid var(--gold-soft);
  padding: clamp(2.5rem, 6vw, 4rem); text-align: center; box-shadow: var(--shadow-soft);
}
.cta-banner h2 { max-width: 24ch; margin: 0 auto 0.9rem; }
.cta-banner p { color: var(--text); max-width: 54ch; margin: 0 auto 1.9rem; }
.cta-banner .hero-actions { justify-content: center; margin-top: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.72); margin-top: clamp(3.5rem, 8vw, 6rem); }
.footer-grid { display: grid; gap: 2.5rem; padding: clamp(3rem, 6vw, 4.5rem) 0 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
@media (min-width: 980px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text small { color: var(--gold-soft); }
.footer-brand p { font-size: 0.9rem; margin-top: 1.1rem; max-width: 34ch; line-height: 1.65; }
.footer-col h4 { color: var(--gold-soft); font-family: var(--font-sans); font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 700; margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.footer-col a { color: rgba(255, 255, 255, 0.72); text-decoration: none; font-size: 0.92rem; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-col p { font-size: 0.92rem; margin-bottom: 0.6rem; }
.footer-col p strong { color: #fff; font-weight: 600; }
.footer-bottom { border-top: 1px solid var(--line-navy); padding: 1.5rem 0 calc(1.5rem + 64px); font-size: 0.8rem; color: rgba(255, 255, 255, 0.45); }
.footer-bottom a { color: var(--gold-soft); }
.footer-disclaimer { margin: 0 0 1.1rem; line-height: 1.6; text-align: center; }
/* Mobile: stacked + centered. Desktop: one row, copyright | legal | powered. */
.footer-bottom-inner { display: flex; flex-direction: column; align-items: center; gap: 0.8rem 1.5rem; text-align: center; }
.footer-copyright { color: rgba(255, 255, 255, 0.5); }
.footer-legal { list-style: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.4rem 1.25rem; padding: 0; margin: 0; }
.footer-legal a { color: rgba(255, 255, 255, 0.62); text-decoration: none; }
.footer-legal a:hover { color: var(--gold-soft); }
.footer-powered { display: inline-flex; align-items: center; gap: 0.4rem; opacity: 0.78; transition: opacity 0.2s ease; }
.footer-powered:hover { opacity: 1; }
@media (min-width: 768px) {
  .footer-bottom { padding-bottom: 1.5rem; }
  .footer-disclaimer { text-align: left; }
  .footer-bottom-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ---------- Mobile sticky CTA bar ---------- */
.mobile-cta-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr;
  box-shadow: 0 -6px 24px rgba(10, 30, 56, 0.18);
}
.mobile-cta-bar a {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.95rem 0.5rem calc(0.95rem + env(safe-area-inset-bottom, 0px));
  font-weight: 700; font-size: 0.95rem; text-decoration: none; color: #fff;
}
.mobile-cta-bar a svg { width: 19px; height: 19px; }
.mobile-cta-call { background: var(--ink); }
.mobile-cta-wa { background: var(--wa); }
@media (min-width: 768px) { .mobile-cta-bar { display: none; } }

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.lead { font-size: 1.06rem; }
.text-gold { color: var(--gold-deep); }

/* ---------- Tenant-brandable CTA helper ----------
   Anywhere the platform expects the tenant brand colour, .btn-theme-primary
   follows --launch-primary (set by layout.liquid from theme.primary_color),
   falling back to the theme gold. */
.btn-theme-primary { background: var(--launch-primary, var(--gold)); color: var(--launch-primary-foreground, #fff); }
.btn-theme-primary:hover { background: var(--launch-primary-dark, var(--gold-deep)); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .neuro-theme *, .neuro-theme *::before, .neuro-theme *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-wave path, .hero h1 em svg path { stroke-dashoffset: 0; }
}
