/* BracesHelp — ibraceshelp.com
   Plain CSS, no build step. Brand colours follow the app's own theme
   (seed #0891B2, Figtree), with Instrument Serif for editorial accents. */

:root {
  --ink: #0b1d22;
  --ink-2: #33474d;
  --muted: #5f7379;
  --paper: #ffffff;
  --mist: #f3f8f9;
  --mist-2: #e9f2f4;
  --line: #dde9ec;

  --deep: #04232b;
  --deep-2: #073440;
  --brand: #0891b2;
  --brand-ink: #066a83;
  --aqua: #67e8f9;
  --mint: #5eead4;
  --ok: #16a34a;

  --font: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", ui-serif, Georgia, serif;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(4, 35, 43, .06), 0 2px 8px rgba(4, 35, 43, .05);
  --shadow-md: 0 10px 30px -12px rgba(4, 35, 43, .22), 0 2px 6px rgba(4, 35, 43, .05);
  --shadow-lg: 0 40px 80px -30px rgba(4, 35, 43, .45), 0 12px 30px -16px rgba(4, 35, 43, .25);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -.02em; }
p { margin: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: 600 16px/1 var(--font); text-decoration: none; white-space: nowrap;
  padding: 14px 22px; border-radius: 999px; border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  cursor: pointer;
}
.btn svg { font-size: 1.1em; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--sm { padding: 10px 18px; font-size: 15px; }
.btn--lg { padding: 17px 28px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--primary {
  color: #fff;
  background: linear-gradient(180deg, #0ba4c8, #0886a6);
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 10px 24px -10px rgba(8, 145, 178, .8);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 16px 32px -12px rgba(8, 145, 178, .9); }
.btn--ghost { color: #e6f7fa; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.04); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.08); }
.btn--light { color: var(--deep); background: #fff; box-shadow: 0 12px 30px -12px rgba(0,0,0,.5); }
.btn--light:hover { transform: translateY(-2px); }
.btn--ghost-light { color: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost-light:hover { background: rgba(255,255,255,.08); }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-ink); margin-bottom: 18px;
}
.eyebrow--light { color: var(--aqua); }
.head { max-width: 760px; margin-bottom: 56px; }
.head--center { margin-left: auto; margin-right: auto; text-align: center; }
.head h2 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 700; }
.head h2 em { color: var(--brand); }
.lede { margin-top: 20px; font-size: 19px; color: var(--muted); max-width: 640px; }
.head--center .lede { margin-left: auto; margin-right: auto; }
.lede a { color: var(--brand-ink); }
.lede--light { color: #a9c7ce; }

section { position: relative; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav.is-scrolled { background: rgba(4, 35, 43, .78); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.nav.is-light { background: rgba(255,255,255,.82); box-shadow: 0 1px 0 var(--line); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -.02em; color: #fff; }
.brand img { border-radius: 10px; }
.nav.is-light .brand { color: var(--ink); }
.nav__links { display: flex; gap: 28px; margin-left: 12px; }
.nav__links a, .nav__login { text-decoration: none; font-size: 15px; font-weight: 500; color: rgba(230, 247, 250, .78); transition: color .2s; }
.nav__links a:hover, .nav__login:hover { color: #fff; }
.nav.is-light .nav__links a, .nav.is-light .nav__login { color: var(--ink-2); }
.nav.is-light .nav__links a:hover, .nav.is-light .nav__login:hover { color: var(--ink); }
.nav__actions { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.nav__toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; position: relative; cursor: pointer; }
.nav__toggle span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav.is-light .nav__toggle span { background: var(--ink); }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.nav__mobile { position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--deep); padding: 12px 16px 24px; display: grid; gap: 4px; box-shadow: 0 30px 40px -20px rgba(0,0,0,.5); }
.nav__mobile[hidden] { display: none; }
.nav__mobile a:not(.btn) { color: #e6f7fa; text-decoration: none; padding: 14px 8px; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,.07); }
.nav__mobile .btn { margin-top: 12px; }
@media (max-width: 960px) {
  .nav__links, .nav__login { display: none; }
  .nav__actions .btn { display: none; }
  .nav__toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(120% 90% at 85% 10%, #0a4b5a 0%, var(--deep-2) 38%, var(--deep) 75%);
  color: #fff; padding: calc(var(--nav-h) + 72px) 0 72px; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.orb--a { width: 520px; height: 520px; right: -120px; top: 40px; background: radial-gradient(circle, rgba(8,145,178,.85), transparent 70%); animation: drift 18s ease-in-out infinite alternate; }
.orb--b { width: 420px; height: 420px; left: -160px; bottom: -120px; background: radial-gradient(circle, rgba(94,234,212,.35), transparent 70%); animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate3d(-40px, 30px, 0) scale(1.08); } }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 60% at 60% 30%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(70% 60% at 60% 30%, #000 20%, transparent 80%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.12fr .88fr; gap: 40px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: #cdeff5;
  padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); backdrop-filter: blur(6px);
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(94,234,212,.18); }
.hero h1 { margin-top: 26px; font-size: clamp(40px, 5vw, 66px); font-weight: 750; letter-spacing: -.035em; line-height: 1.02; }
.hero h1 em { display: block; margin-top: 6px; color: var(--aqua); font-size: 1.04em; }
.hero__sub { margin-top: 26px; max-width: 560px; font-size: 19px; line-height: 1.6; color: #b4d2d8; }
.hero__ctas { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__facts { list-style: none; padding: 0; margin: 44px 0 0; display: flex; flex-wrap: wrap; gap: 10px 34px; color: #9fc0c7; font-size: 15px; }
.hero__facts strong { color: #fff; font-weight: 700; }
.hero__facts li { position: relative; }
.hero__facts li + li::before { content: ""; position: absolute; left: -18px; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.3); }

.hero__stage { position: relative; height: 680px; perspective: 1400px; }
.device {
  position: absolute; aspect-ratio: 640 / 1391; border-radius: 13.5% / 6.2%;
  padding: 2.4%; background: linear-gradient(145deg, #2a3a3f, #0d171a 40%, #1d2b2f);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 0 0 1px rgba(0,0,0,.6), var(--shadow-lg);
  will-change: transform;
}
.device img { width: 100%; height: 100%; object-fit: cover; border-radius: 11.7% / 5.4%; }
.device--hero { width: 300px; left: 50%; top: 30px; transform: translateX(-50%); z-index: 3; box-shadow: 0 0 0 1px rgba(255,255,255,.1) inset, 0 60px 120px -30px rgba(0,0,0,.75), 0 0 80px -10px rgba(8,145,178,.45); }
.device--side { width: 236px; top: 120px; z-index: 2; opacity: .92; }
.device--left { left: 2%; transform: rotate(-8deg); }
.device--right { right: 0; transform: rotate(7deg); }

.chip {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px;
  border-radius: 18px; color: var(--ink); background: rgba(255,255,255,.92);
  box-shadow: 0 20px 40px -18px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.6) inset; backdrop-filter: blur(10px);
  font-size: 14px; line-height: 1.25; will-change: transform;
}
.chip strong { display: block; font-weight: 700; }
.chip small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.chip__icon { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: #dff4f8; color: var(--brand-ink); font-size: 18px; }
.chip__icon--ok { background: #dcfce7; color: var(--ok); }
.chip--1 { left: -6%; top: 14px; animation: float 7s ease-in-out infinite; }
.chip--2 { right: -2%; top: 420px; animation: float 8s ease-in-out -2s infinite; }
.chip--3 { left: 6%; bottom: 96px; animation: float 9s ease-in-out -4s infinite; }
@keyframes float { 50% { translate: 0 -10px; } }

@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__copy { max-width: 720px; }
  .hero__stage { height: 600px; max-width: 620px; width: 100%; margin: 20px auto 0; }
}
@media (max-width: 600px) {
  .hero { padding-top: calc(var(--nav-h) + 40px); padding-bottom: 48px; }
  .hero__sub { font-size: 17px; }
  .hero__ctas .btn { width: 100%; }
  .hero__stage { height: 470px; }
  .device--hero { width: 214px; top: 20px; }
  .device--side { width: 160px; top: 90px; }
  .device--left { left: -6%; }
  .device--right { right: -6%; }
  .chip { font-size: 12.5px; padding: 9px 12px 9px 9px; border-radius: 14px; }
  .chip small { font-size: 11.5px; }
  .chip__icon { width: 28px; height: 28px; font-size: 15px; border-radius: 9px; }
  .chip--1 { left: 0; top: 40px; }
  .chip--2 { right: 0; top: 300px; }
  .chip--3 { display: none; }
}

/* ---------- Fact strip ---------- */
.strip { background: var(--deep); color: #fff; padding: 0 0 72px; }
.strip__inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 40px;
}
.strip__item { display: flex; flex-direction: column; gap: 6px; padding: 0 24px; border-left: 1px solid rgba(255,255,255,.08); color: #9fc0c7; font-size: 15px; }
.strip__item:first-child { border-left: 0; padding-left: 0; }
.strip__num { font-family: var(--serif); font-size: 54px; line-height: 1; color: #fff; letter-spacing: -.02em; }
.strip__num small { font-family: var(--font); font-size: 18px; color: var(--aqua); margin-left: 4px; }
@media (max-width: 800px) {
  .strip__inner { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .strip__item:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* ---------- Gap ---------- */
.gap { padding: 130px 0 120px; background: linear-gradient(180deg, var(--mist) 0%, var(--paper) 100%); }
.timeline { margin: -8px 0 64px; padding: 34px 36px 30px; border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.timeline__track { position: relative; height: 10px; border-radius: 999px; background: var(--mist-2); margin: 34px 8px 0; }
.timeline__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: inherit; background: repeating-linear-gradient(90deg, rgba(8,145,178,.25) 0 10px, rgba(8,145,178,.08) 10px 20px); transition: width 2.2s var(--ease) .2s; }
.timeline.is-in .timeline__fill { width: 100%; }
.timeline__visit { position: absolute; top: 50%; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); transform: translate(-50%, -50%); box-shadow: 0 0 0 6px rgba(8,145,178,.15); z-index: 1; }
.timeline__visit--start { left: 0; }
.timeline__visit--end { left: 100%; }
.timeline__visit b { position: absolute; bottom: 30px; white-space: nowrap; font-size: 13px; font-weight: 700; color: var(--ink); }
.timeline__visit--start b { left: -6px; }
.timeline__visit--end b { right: -6px; }
.timeline__ticks { display: flex; justify-content: space-between; margin-top: 18px; font-size: 13px; color: var(--muted); }
.timeline__caption { margin-top: 18px; font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--ink-2); }
.gap__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { padding: 32px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; color: var(--brand-ink); background: linear-gradient(145deg, #e6f6fa, #d3eef4); margin-bottom: 22px; }
.card h3, .tile h3 { font-size: 21px; font-weight: 700; letter-spacing: -.015em; }
.card p, .tile p { margin-top: 12px; color: var(--muted); font-size: 16.5px; }
@media (max-width: 900px) { .gap__grid { grid-template-columns: 1fr; } .gap { padding: 96px 0; } }
@media (max-width: 600px) { .timeline { padding: 26px 20px 22px; } .timeline__caption { font-size: 20px; } }

/* ---------- Tour ---------- */
.tour { padding: 120px 0 110px; background: var(--paper); }
.tour__layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.tour__stage { position: sticky; top: calc(var(--nav-h) + 24px); height: min(calc(100vh - var(--nav-h) - 48px), 760px); display: grid; place-items: center; }
.tour__glow { position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(8,145,178,.22), rgba(94,234,212,.08) 45%, transparent 70%); filter: blur(10px); }
.device--tour { position: relative; width: min(330px, 46vh); }
.device--tour img { position: absolute; inset: 2.4%; width: 95.2%; height: 95.2%; opacity: 0; transform: scale(.985); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.device--tour img.is-active { opacity: 1; transform: none; }
.tour__steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step { min-height: min(72vh, 620px); display: flex; flex-direction: column; justify-content: center; padding: 24px 0; opacity: .35; transition: opacity .5s var(--ease); }
.step.is-active { opacity: 1; }
.step__num { font-family: var(--serif); font-size: 22px; color: var(--brand); }
.step h3 { margin-top: 10px; font-size: clamp(28px, 3vw, 38px); font-weight: 700; }
.step p { margin-top: 16px; font-size: 19px; color: var(--muted); max-width: 470px; }
.step p em { color: var(--ink); }
.step__shot { display: none; }
.tour__note { margin-top: 24px; text-align: center; color: var(--muted); font-size: 14px; }
@media (max-width: 900px) {
  .tour { padding: 96px 0; }
  .tour__layout { grid-template-columns: 1fr; gap: 0; }
  .tour__stage { display: none; }
  .step { min-height: 0; opacity: 1; padding: 0 0 64px; }
  .step__shot {
    display: block; width: min(280px, 72vw); margin: 28px auto 0; border-radius: 34px;
    border: 7px solid #142227; box-shadow: var(--shadow-lg);
  }
}

/* ---------- Practice (dark) ---------- */
.practice { background: var(--deep); color: #fff; padding: 130px 0; overflow: hidden; }
.practice__bg { position: absolute; inset: 0; pointer-events: none; }
.orb--c { width: 640px; height: 640px; right: -200px; top: -120px; background: radial-gradient(circle, rgba(8,145,178,.55), transparent 70%); }
.practice__inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.practice h2 { font-size: clamp(34px, 4.4vw, 54px); font-weight: 700; }
.practice h2 em { color: var(--aqua); }
.checks { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; color: #d3e8ec; font-size: 17px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 7px;
  background: rgba(94,234,212,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235eead4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.link-arrow { display: inline-flex; align-items: center; gap: 8px; margin-top: 34px; color: var(--aqua); font-weight: 600; text-decoration: none; }
.link-arrow svg { transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

.practice__visual { position: relative; }
.panel {
  border-radius: var(--r-xl); padding: 28px; color: var(--ink);
  background: linear-gradient(180deg, #ffffff, #f2f9fa);
  box-shadow: 0 50px 100px -40px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.4) inset;
}
.panel__head { display: flex; align-items: center; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.panel__head small { display: block; color: var(--muted); font-size: 14px; }
.avatar { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(145deg, #0ba4c8, #066a83); }
.tag { margin-left: auto; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--brand-ink); background: #e0f4f8; padding: 6px 10px; border-radius: 999px; }
.panel__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.metric { padding: 18px; border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line); }
.metric small { color: var(--muted); font-size: 13.5px; }
.metric strong { display: block; margin-top: 6px; font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.metric strong span { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.bar { margin-top: 12px; height: 6px; border-radius: 999px; background: var(--mist-2); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--mint)); transition: width 1.4s var(--ease) .3s; }
.practice__visual.is-in .bar i { width: var(--w); }
.bar--muted i { background: #b9d6dc; }
.panel__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin-top: 20px; font-size: 14px; color: var(--muted); }
.panel--mini {
  position: absolute; right: -28px; bottom: -76px; display: flex; align-items: center; gap: 12px;
  padding: 14px 18px 14px 14px; border-radius: 20px; font-size: 14.5px; line-height: 1.3;
  animation: float 8s ease-in-out infinite;
}
.panel--mini strong { display: block; }
.panel--mini small { color: var(--muted); font-size: 13px; }
@media (max-width: 960px) {
  .practice { padding: 100px 0 120px; }
  .practice__inner { grid-template-columns: 1fr; gap: 56px; }
  .panel--mini { right: 12px; }
}
@media (max-width: 480px) {
  .panel { padding: 20px; }
  .panel__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .metric { padding: 14px; }
  .metric strong { font-size: 24px; }
  .tag { display: none; }
}

/* ---------- Bento ---------- */
.features { padding: 130px 0 110px; background: linear-gradient(180deg, var(--paper), var(--mist)); }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { padding: 34px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tile--wide { grid-column: span 2; }
.tile--accent { background: linear-gradient(135deg, var(--deep-2), var(--deep)); border-color: transparent; color: #fff; }
.tile--accent p { color: #a9c7ce; }
.tile--accent .card__icon { background: rgba(94,234,212,.12); color: var(--mint); }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .tile--wide { grid-column: auto; } .features { padding: 96px 0; } }

/* ---------- Trust ---------- */
.trust { padding: 120px 0; background: var(--mist); }
.trust__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.trust .head { margin-bottom: 0; position: sticky; top: calc(var(--nav-h) + 40px); }
.trust__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--line); }
.trust__list li { background: var(--paper); padding: 24px 28px 24px 64px; position: relative; color: var(--muted); font-size: 16.5px; }
.trust__list li strong { color: var(--ink); font-weight: 700; display: block; margin-bottom: 2px; font-size: 17px; }
.trust__list li::before {
  content: ""; position: absolute; left: 24px; top: 27px; width: 22px; height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230891b2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (max-width: 900px) { .trust__inner { grid-template-columns: 1fr; gap: 40px; } .trust .head { position: static; } .trust { padding: 96px 0; } }

/* ---------- How ---------- */
.how { padding: 120px 0; background: var(--paper); }
.how__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
.how__steps li { padding: 34px; border-radius: var(--r-lg); background: var(--mist); position: relative; }
.how__num {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  font-family: var(--serif); font-size: 26px; color: #fff; background: linear-gradient(145deg, #0ba4c8, #066a83);
  box-shadow: 0 10px 20px -8px rgba(8,145,178,.7); margin-bottom: 22px;
}
.how__steps h3 { font-size: 21px; font-weight: 700; }
.how__steps p { margin-top: 10px; color: var(--muted); }
@media (max-width: 900px) { .how__steps { grid-template-columns: 1fr; } .how { padding: 96px 0; } }

/* ---------- Pricing ---------- */
.pricing { padding: 120px 0; background: linear-gradient(180deg, var(--paper), var(--mist)); }
.pricing__switch { display: flex; width: max-content; margin: 0 auto 36px; padding: 5px; border-radius: 999px; background: var(--mist-2); border: 1px solid var(--line); }
.pricing__switch button { font: 600 15px/1 var(--font); border: 0; background: transparent; color: var(--ink-2); padding: 11px 20px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background .25s, color .25s, box-shadow .25s; }
.pricing__switch button.is-active { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-sm); }
.save { font-size: 12px; font-weight: 700; color: #0f766e; background: #ccfbf1; padding: 4px 8px; border-radius: 999px; }
.price-card {
  max-width: 940px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden;
  border-radius: var(--r-xl); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.price-card__main { padding: 48px; background: linear-gradient(160deg, var(--deep-2), var(--deep)); color: #fff; }
.price-card__label { font-weight: 600; color: var(--aqua); }
.price-card__price { margin-top: 18px; display: flex; align-items: baseline; gap: 6px; }
.price-card__price span:first-child { font-family: var(--serif); font-size: 84px; line-height: 1; letter-spacing: -.02em; }
.price-card__per { font-size: 18px; color: #9fc0c7; }
.price-card__sub { margin: 14px 0 32px; color: #b4d2d8; min-height: 3.2em; }
.price-card__fine { margin-top: 16px; font-size: 14px; color: #8fb2b9; text-align: center; }
.price-card__list { list-style: none; margin: 0; padding: 44px 48px; display: grid; gap: 14px; align-content: center; }
.price-card__list li { position: relative; padding-left: 32px; color: var(--ink-2); }
.price-card__list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: #e0f4f8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23066a83' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
@media (max-width: 800px) {
  .price-card { grid-template-columns: 1fr; }
  .price-card__main, .price-card__list { padding: 34px 26px; }
  .pricing { padding: 96px 0; }
}

/* ---------- FAQ ---------- */
.faq { padding: 120px 0; background: var(--mist); }
.faq__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq .head { margin-bottom: 0; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative;
  font-size: 19px; font-weight: 600; letter-spacing: -.01em;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(var(--brand), var(--brand)) center / 14px 2px no-repeat, linear-gradient(var(--brand), var(--brand)) center / 2px 14px no-repeat;
  transition: transform .3s var(--ease);
}
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { padding: 0 44px 26px 0; color: var(--muted); font-size: 17px; }
@media (max-width: 900px) { .faq__inner { grid-template-columns: 1fr; gap: 32px; } .faq { padding: 96px 0; } }

/* ---------- Final CTA ---------- */
.cta { padding: 40px 0 120px; background: var(--mist); }
.cta__card {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  padding: 96px 48px; border-radius: 40px;
  background: radial-gradient(90% 120% at 50% 0%, #0a5a6b 0%, var(--deep-2) 45%, var(--deep) 100%);
  box-shadow: var(--shadow-lg);
}
.orb--d { width: 560px; height: 560px; left: 50%; top: -340px; transform: translateX(-50%); background: radial-gradient(circle, rgba(94,234,212,.4), transparent 70%); }
.cta__card h2 { position: relative; max-width: 860px; margin: 0 auto; font-size: clamp(32px, 4.4vw, 54px); font-weight: 700; }
.cta__card h2 em { color: var(--aqua); }
.cta__card p { position: relative; margin: 22px auto 0; max-width: 560px; color: #b4d2d8; font-size: 19px; }
.cta__actions { position: relative; margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
@media (max-width: 600px) { .cta__card { padding: 64px 22px; border-radius: 28px; } .cta__actions .btn { width: 100%; } }

/* ---------- Footer ---------- */
.footer { background: var(--deep); color: #9fc0c7; padding: 72px 0 32px; font-size: 15px; }
.footer__inner { display: grid; grid-template-columns: 1.2fr 2fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__brand p { margin-top: 14px; max-width: 320px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer__cols h4 { color: #fff; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.footer__cols a { display: block; text-decoration: none; padding: 5px 0; transition: color .2s; }
.footer__cols a:hover { color: #fff; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 24px; font-size: 13.5px; color: #7f9fa6; }
@media (max-width: 800px) { .footer__inner { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .footer__cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .timeline__fill { width: 100%; }
  .bar i { width: var(--w); }
}

/* ---------- Document pages (privacy, support) ---------- */
.page-doc { background: var(--mist); }
.doc-hero { background: radial-gradient(120% 120% at 85% 0%, #0a4b5a 0%, var(--deep-2) 45%, var(--deep) 100%); color: #fff; padding: calc(var(--nav-h) + 72px) 0 72px; }
.doc-hero h1 { font-size: clamp(38px, 5vw, 60px); font-weight: 750; letter-spacing: -.03em; }
.doc-hero h1 em { color: var(--aqua); }
.doc-hero p { margin-top: 18px; max-width: 640px; color: #b4d2d8; font-size: 18px; }
.doc-hero .eyebrow { margin: 0 0 18px; font-size: 13px; color: var(--aqua); }
.doc-hero .meta { margin-top: 22px; font-size: 14px; color: #8fb2b9; }
.doc-layout { display: grid; grid-template-columns: 240px 1fr; gap: 56px; padding-top: 64px; padding-bottom: 110px; align-items: start; }
.doc-toc { position: sticky; top: calc(var(--nav-h) + 28px); font-size: 14.5px; }
.doc-toc p { font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.doc-toc a { display: block; padding: 6px 0 6px 14px; border-left: 2px solid var(--line); color: var(--ink-2); text-decoration: none; transition: color .2s, border-color .2s; }
.doc-toc a:hover { color: var(--brand-ink); border-color: var(--brand); }
.doc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 56px 64px; box-shadow: var(--shadow-sm); max-width: 820px; }
.doc section + section { margin-top: 48px; padding-top: 44px; border-top: 1px solid var(--line); }
.doc section > details:last-child { border-bottom: 0; }
.doc h2 { font-size: 26px; font-weight: 700; letter-spacing: -.02em; scroll-margin-top: calc(var(--nav-h) + 24px); }
.doc h3 { font-size: 18px; font-weight: 700; margin-top: 26px; }
.doc p, .doc li { color: var(--ink-2); font-size: 16.5px; line-height: 1.7; }
.doc p { margin-top: 14px; }
.doc ul { margin: 12px 0 0; padding-left: 22px; }
.doc li { margin-top: 8px; }
.doc li::marker { color: var(--brand); }
.doc a { color: var(--brand-ink); }
.doc strong { color: var(--ink); }
.summary { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.summary div { background: var(--mist); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.summary b { display: block; color: var(--ink); margin-bottom: 4px; font-size: 15.5px; }
.callout { margin-top: 18px; padding: 18px 20px; border-radius: var(--r-md); background: #e8f6f9; border: 1px solid #c5e8ef; color: var(--ink-2); font-size: 16px; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: -40px; position: relative; }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-md); text-decoration: none; color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
a.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.contact-card .card__icon { margin-bottom: 16px; }
.contact-card h3 { font-size: 18px; font-weight: 700; }
.contact-card p { margin-top: 6px; color: var(--muted); font-size: 15px; }
.contact-card__value { display: block; margin-top: 12px; color: var(--brand-ink); font-weight: 600; font-size: 15px; word-break: break-word; }
.doc details { border-bottom: 1px solid var(--line); }
.doc details:first-of-type { margin-top: 10px; }
.doc summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative; font-weight: 600; font-size: 17px; color: var(--ink); }
.doc summary::-webkit-details-marker { display: none; }
.doc summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 12px; height: 12px; margin-top: -6px; background: linear-gradient(var(--brand), var(--brand)) center / 12px 2px no-repeat, linear-gradient(var(--brand), var(--brand)) center / 2px 12px no-repeat; transition: transform .3s var(--ease); }
.doc details[open] summary::after { transform: rotate(45deg); }
.doc details > p, .doc details > ol, .doc details > ul { margin-top: 0; padding-bottom: 18px; }
.doc ol { padding-left: 22px; }
@media (max-width: 960px) {
  .doc-layout { grid-template-columns: 1fr; gap: 0; padding-top: 40px; }
  .doc-toc { display: none; }
}
@media (max-width: 800px) { .contact-cards { grid-template-columns: 1fr; margin-top: -32px; } }
@media (max-width: 600px) {
  .doc { padding: 32px 22px; border-radius: var(--r-lg); }
  .summary { grid-template-columns: 1fr; }
  .doc-hero { padding: calc(var(--nav-h) + 44px) 0 64px; }
}
