/* VitalWatch365 — redesign
   Tokens → base → layout → components → sections → utilities */

:root {
  --ink: #0b1b33;
  --ink-2: #33445e;
  --muted: #566780;
  --line: #e2e9f2;
  --bg: #ffffff;
  --soft: #f3f7fc;
  --soft-2: #eaf3fb;
  --navy: #0a2249;
  --navy-2: #10336b;

  --brand: #0779c4;          /* AA on white, white text on it AA */
  --brand-bright: #1aa7e8;   /* logo cyan — decorative only */
  --brand-2: #3f4fc4;
  --grad: linear-gradient(135deg, #0779c4 0%, #3f4fc4 100%);
  --grad-soft: linear-gradient(135deg, #e6f5fd 0%, #eceffd 100%);
  --good: #15803d;
  --good-soft: #e7f6ec;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgb(11 27 51 / .06), 0 2px 8px rgb(11 27 51 / .05);
  --shadow: 0 10px 30px -8px rgb(11 27 51 / .16), 0 2px 6px rgb(11 27 51 / .06);
  --shadow-lg: 0 30px 60px -20px rgb(15 58 117 / .35);

  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1180px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink-2); background: var(--bg);
  font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-2); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--brand-bright); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 15px 26px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s, color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px -6px rgb(63 79 196 / .55); }
.btn-primary:hover { color: #fff; box-shadow: 0 12px 26px -6px rgb(63 79 196 / .65); }
.btn-ghost { background: #fff; color: var(--brand); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { color: var(--navy); box-shadow: var(--shadow); }
.btn-outline-light { color: #fff; border-color: rgb(255 255 255 / .45); }
.btn-outline-light:hover { color: #fff; border-color: #fff; background: rgb(255 255 255 / .08); }
.btn-sm { padding: 11px 20px; font-size: .95rem; }
.btn svg { width: 18px; height: 18px; flex: none; }

.store-badge {
  display: inline-flex; align-items: center; gap: 12px; padding: 9px 18px 9px 14px;
  background: var(--ink); color: #fff; border-radius: 12px; text-decoration: none; line-height: 1.15;
  border: 1px solid rgb(255 255 255 / .12); transition: transform .15s, background .15s;
}
.store-badge:hover { color: #fff; background: #000; transform: translateY(-1px); }
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge small { display: block; font-size: .68rem; opacity: .8; font-weight: 500; }
.store-badge strong { font-size: 1.05rem; font-weight: 700; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgb(255 255 255 / .86); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px -10px rgb(11 27 51 / .2); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand img { height: 40px; width: auto; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; align-items: center; }
.nav a.link {
  display: block; padding: 8px 14px; border-radius: 999px; color: var(--ink-2);
  font-weight: 600; font-size: .95rem; text-decoration: none;
}
.nav a.link:hover, .nav a.link.active { color: var(--brand); background: var(--soft-2); }
.header-cta { display: flex; gap: 10px; align-items: center; }
.menu-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s, background .2s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1020px) {
  .menu-toggle { display: inline-flex; }
  .nav, .header-cta { display: none; }
  .menu-open .site-header { height: auto; }
  .menu-open .header-inner { flex-wrap: wrap; height: auto; padding-block: 14px; }
  .menu-open .brand { order: 1; } .menu-open .menu-toggle { order: 2; }
  .menu-open .nav { display: block; order: 3; width: 100%; margin: 8px 0 0; }
  .menu-open .nav ul { flex-direction: column; align-items: stretch; }
  .menu-open .nav a.link { padding: 14px 12px; border-radius: 10px; }
  .menu-open .header-cta { display: flex; order: 4; width: 100%; padding-bottom: 8px; }
  .menu-open .header-cta .btn { flex: 1; }
}

/* ---------- Sections ---------- */
section { padding-block: clamp(44px, 6.5vw, 80px); }
.section-head { max-width: 720px; margin-bottom: clamp(24px, 3.5vw, 38px); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--grad); }
.lead { font-size: 1.15rem; color: var(--muted); }
.bg-soft { background: var(--soft); }

/* Hero */
.hero { position: relative; overflow: hidden; padding-top: clamp(28px, 4.5vw, 52px); padding-bottom: clamp(32px, 5vw, 60px);
  background:
    radial-gradient(700px 420px at 88% 8%, rgb(26 167 232 / .18), transparent 70%),
    radial-gradient(620px 420px at -5% 90%, rgb(63 79 196 / .12), transparent 70%),
    #fff; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: .85rem; font-weight: 700; color: var(--ink-2); margin-bottom: 16px;
}
.pill i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgb(34 197 94 / .2); }
.hero h1 .accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { max-width: 560px; margin-bottom: 22px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .92rem; font-weight: 600; color: var(--ink-2); }
.hero-checks li { display: inline-flex; align-items: center; gap: 8px; }
.hero-checks svg { width: 18px; height: 18px; color: var(--good); flex: none; }

/* AI pose-tracking decoration: keypoint/skeleton figures used as ambient
   hero background art, a camera-viewfinder frame on the product shot, and
   a small "live tracking" HUD badge — stands in for a camera-vision photo
   without relying on stock imagery. */
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.pose-figure { position: absolute; opacity: .1; color: var(--brand-2); }
.pose-figure .joint { fill: currentColor; }
.pose-figure .ring { fill: none; stroke: currentColor; stroke-width: 1.4; }
.pose-figure .bone { stroke: currentColor; stroke-width: 2; stroke-linecap: round; fill: none; }
.pose-figure-a { width: clamp(200px, 22vw, 340px); right: 1%; bottom: -10%; }
.pose-figure-b { width: clamp(150px, 16vw, 240px); right: 22%; top: 2%; opacity: .09; }
.joint-live { animation: joint-pulse 2.6s ease-in-out infinite; }
.joint-live:nth-child(2) { animation-delay: .4s; }
.joint-live:nth-child(3) { animation-delay: .8s; }
@keyframes joint-pulse { 0%, 100% { opacity: .35; r: 1.6; } 50% { opacity: 1; r: 3.2; } }

.scan-frame { position: absolute; inset: -14px; pointer-events: none; color: var(--brand-bright); opacity: .55; }
.scan-frame path { stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; fill: none; }

.track-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 7px;
  background: rgb(10 22 45 / .72); backdrop-filter: blur(6px); color: #fff; font-size: .74rem; font-weight: 700;
  padding: 7px 12px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .18); letter-spacing: .01em;
}
.track-badge i { width: 7px; height: 7px; border-radius: 50%; background: #22ff9c; box-shadow: 0 0 0 3px rgb(34 255 156 / .3); flex: none; animation: joint-pulse 1.8s ease-in-out infinite; }

@media (max-width: 900px) {
  .pose-figure-a { right: 2%; bottom: -3%; width: clamp(160px, 34vw, 260px); }
  .pose-figure-b { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .joint-live, .track-badge i { animation: none; }
}

.hero-art { position: relative; margin-top: 40px; padding-bottom: 20px; }
.hero-art::before {
  content: ""; position: absolute; z-index: -1; inset: -6% -20% 6% -10%; border-radius: 32px;
  background:
    radial-gradient(220px 220px at 85% 12%, rgb(26 167 232 / .22), transparent 72%),
    radial-gradient(260px 260px at 8% 92%, rgb(63 79 196 / .18), transparent 72%),
    linear-gradient(160deg, #eef6fd 0%, #eef0fc 100%);
}
.hero-shot { position: relative; width: 124%; max-width: 124%; }
.hero-art img { width: 100%; max-width: 100%; filter: drop-shadow(0 30px 40px rgb(15 58 117 / .22)); }
.hero-proof {
  position: relative; z-index: 1; margin: -28px 0 0 8%; max-width: 300px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 16px 18px;
}
.hero-proof .stars { color: #f5a524; font-size: .8rem; letter-spacing: 2px; margin-bottom: 6px; }
.hero-proof p { margin: 0 0 10px; font-size: .87rem; color: var(--ink-2); line-height: 1.5; }
.hero-proof footer { display: flex; gap: 8px; align-items: center; }
.hero-proof .avatar-sm { width: 26px; height: 26px; border-radius: 50%; background: var(--grad); color: #fff; font-size: .65rem; font-weight: 800; display: grid; place-items: center; flex: none; }
.hero-proof cite { font-style: normal; font-size: .8rem; font-weight: 700; color: var(--ink); display: block; line-height: 1.3; }
.hero-proof span { font-size: .75rem; color: var(--muted); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 620px; margin-inline: auto; margin-top: 32px; padding-bottom: 16px; }
  .hero-shot { width: 100%; max-width: 100%; }
  .hero-art::before { inset: 0; border-radius: 28px; }
  .hero-proof { margin: -24px 0 0 6%; }
}
@media (max-width: 480px) {
  .hero-proof { margin-left: 0; max-width: 88%; }
}

/* Trust strip
   Note: overlap onto the hero is done with a negative margin-top on the
   section itself (affects normal flow, so the space it "saves" is real)
   rather than a transform (which only moves pixels and leaves the box's
   original layout space behind as a gap). */
.trust { padding-block: 0; margin-top: -46px; position: relative; z-index: 3; }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.trust-item { display: flex; gap: 14px; align-items: center; padding: 20px 22px; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--grad-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.trust-item .ico svg { width: 22px; height: 22px; }
.trust-item strong { display: block; color: var(--ink); font-size: .98rem; line-height: 1.25; }
.trust-item span { font-size: .85rem; color: var(--muted); line-height: 1.35; display: block; }
@media (max-width: 960px) {
  .trust { margin-top: -36px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .trust { margin-top: -22px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
}

/* Compact checklist grid (plain bullet lists) */
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; }
.check-grid li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--ink); line-height: 1.4; }
.check-grid li svg { width: 20px; height: 20px; color: var(--good); flex: none; margin-top: 2px; }
.check-grid.single { grid-template-columns: 1fr; max-width: 640px; }
@media (max-width: 640px) { .check-grid { grid-template-columns: 1fr; } }

.prose { max-width: 760px; }
.prose p { color: var(--ink-2); }
.prose p.lg { font-size: 1.1rem; color: var(--ink-2); }
.sub-tag { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--brand); background: var(--soft-2); padding: 4px 12px; border-radius: 999px; margin-bottom: 12px; }

/* Audience switch */
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.aud-card {
  position: relative; overflow: hidden; border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px;
  border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm);
}
.aud-card.provider { background: var(--navy); color: #c9d6ee; border-color: transparent; }
.aud-card.provider h3, .aud-card.provider .tag { color: #fff; }
.aud-card h3 { font-size: 1.6rem; }
.tag { font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.aud-card ul { display: grid; gap: 10px; margin: 6px 0 12px; }
.aud-card li { display: flex; gap: 10px; align-items: flex-start; }
.aud-card li svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--good); }
.aud-card.provider li svg { color: #5fd0ff; }
.aud-card .btn { align-self: flex-start; margin-top: auto; }
@media (max-width: 820px) { .audience { grid-template-columns: 1fr; } }

/* Services */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 6px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfe0f3; }
.card .ico { width: 56px; height: 56px; border-radius: 16px; background: var(--grad); color: #fff; display: grid; place-items: center; margin-bottom: 10px; }
.card .ico svg { width: 28px; height: 28px; }
.card p { color: var(--muted); }
.card .more { margin-top: auto; font-weight: 700; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; padding-top: 10px; }
.card .more svg { width: 16px; height: 16px; transition: transform .15s; }
.card .more:hover svg { transform: translateX(4px); }
@media (max-width: 900px) { .cards-3 { grid-template-columns: 1fr; } }

/* Showcase */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 4vw, 56px); align-items: center; }
.showcase.reverse .showcase-art { order: 2; }
.showcase-art img { width: 100%; max-width: 540px; margin-inline: auto; filter: drop-shadow(0 26px 34px rgb(15 58 117 / .2)); }
.feature-list { display: grid; gap: 14px; margin: 20px 0 24px; }
.feature-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.feature-list .tick { width: 28px; height: 28px; border-radius: 50%; background: var(--good-soft); color: var(--good); display: grid; place-items: center; margin-top: 2px; }
.feature-list .tick svg { width: 16px; height: 16px; }
.feature-list strong { color: var(--ink); display: block; line-height: 1.35; }
.feature-list span { font-size: .96rem; color: var(--muted); display: block; line-height: 1.5; }
@media (max-width: 900px) {
  .showcase { grid-template-columns: 1fr; }
  .showcase.reverse .showcase-art { order: 0; }
}

/* Feature grid */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.feat svg { width: 26px; height: 26px; color: var(--brand); margin-bottom: 12px; }
.feat h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feat p { font-size: .95rem; color: var(--muted); margin: 0; line-height: 1.55; }
@media (max-width: 900px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feat-grid { grid-template-columns: 1fr; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; position: relative; }
.step { position: relative; padding: 24px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.step::before {
  counter-increment: step; content: counter(step); display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; margin-bottom: 14px;
}
.step p { font-size: .96rem; color: var(--muted); margin: 0; }
.steps-cta { text-align: center; margin-top: 26px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Video */
.video-wrap { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: #000; aspect-ratio: 16 / 8.3; }
.video-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play {
  position: absolute; inset: 0; display: grid; place-items: center; width: 100%; border: 0; cursor: pointer;
  background: linear-gradient(180deg, rgb(10 34 73 / .1), rgb(10 34 73 / .5)); color: #fff;
}
.video-play .disc { width: 88px; height: 88px; border-radius: 50%; background: #fff; color: var(--brand); display: grid; place-items: center; box-shadow: 0 0 0 12px rgb(255 255 255 / .28); transition: transform .2s; }
.video-play:hover .disc { transform: scale(1.06); }
.video-play svg { width: 34px; height: 34px; margin-left: 4px; }
.video-play .cap { position: absolute; left: 24px; bottom: 20px; font-weight: 700; text-align: left; }
.video-play .cap small { display: block; font-weight: 500; opacity: .9; }
@media (max-width: 640px) { .video-wrap { aspect-ratio: 4/3; } .video-play .disc { width: 68px; height: 68px; } }

/* Provider band */
.band { background: var(--navy); color: #c9d6ee; position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; inset: auto -10% -40% auto; width: 620px; height: 620px; background: radial-gradient(circle, rgb(26 167 232 / .28), transparent 65%); pointer-events: none; }
.band h2, .band h3 { color: #fff; }
.band .eyebrow { color: #7fd6ff; }
.band .eyebrow::before { background: #7fd6ff; }
.band .lead { color: #b7c6e2; }
.band .feature-list strong { color: #fff; }
.band .feature-list span { color: #b7c6e2; }
.band .feature-list .tick { background: rgb(95 208 255 / .16); color: #7fd6ff; }
.band .showcase-art img { background: #fff; border-radius: var(--radius); padding: 10px; filter: none; box-shadow: var(--shadow-lg); }

/* Stories */
.stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.story { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.story .stars { color: #f5a524; letter-spacing: 3px; font-size: 1.05rem; margin-bottom: 12px; }
.story blockquote { margin: 0 0 18px; color: var(--ink-2); font-size: 1rem; }
.story footer { margin-top: auto; display: flex; gap: 14px; align-items: center; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; display: grid; place-items: center; flex: none; }
.story cite { font-style: normal; font-weight: 700; color: var(--ink); display: block; line-height: 1.3; }
.story footer span { font-size: .85rem; color: var(--muted); display: block; line-height: 1.35; }
.chip { display: inline-block; font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--soft-2); color: var(--brand); margin-top: 4px; }
@media (max-width: 960px) { .stories { grid-template-columns: 1fr; } }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: 340px 1fr; gap: clamp(22px, 4vw, 56px); align-items: start; }
.faq-side { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-list { display: grid; gap: 12px; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s, box-shadow .2s; }
.faq-list details[open] { border-color: #b9d6f0; box-shadow: var(--shadow-sm); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 16px 52px 16px 20px; font-weight: 700; color: var(--ink); position: relative; line-height: 1.4;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -8px;
  border-right: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(45deg); transition: transform .2s;
}
.faq-list details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-list .ans { padding: 0 20px 18px; color: var(--muted); }
.faq-list .ans p:last-child { margin: 0; }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; } .faq-side { position: static; } }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.post .kicker { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.post h3 { font-size: 1.15rem; line-height: 1.35; margin: 0; }
.post p { color: var(--muted); font-size: .95rem; margin: 0; }
.post .read { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--brand); }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr; } }

/* CTA + contact */
.cta-box {
  background: var(--grad); color: #e9f0ff; border-radius: 28px; padding: clamp(36px, 6vw, 72px);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: center; position: relative; overflow: hidden;
}
.cta-box::after { content: ""; position: absolute; right: -80px; top: -80px; width: 340px; height: 340px; border-radius: 50%; background: rgb(255 255 255 / .1); }
.cta-box h2 { color: #fff; margin-bottom: 12px; }
.cta-box p { margin: 0; font-size: 1.1rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; position: relative; z-index: 1; }
@media (max-width: 860px) { .cta-box { grid-template-columns: 1fr; } .cta-actions { justify-content: flex-start; } }

.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(22px, 4vw, 56px); align-items: start; }
.contact-info { display: grid; gap: 14px; margin-top: 20px; }
.contact-info a, .contact-info div { display: flex; gap: 14px; align-items: center; color: var(--ink); font-weight: 600; text-decoration: none; }
.contact-info .ico { width: 46px; height: 46px; border-radius: 14px; background: var(--grad-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.contact-info .ico svg { width: 22px; height: 22px; }
.contact-info small { display: block; font-weight: 500; color: var(--muted); }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3.5vw, 34px); box-shadow: var(--shadow); display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .92rem; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: #fff; padding: 13px 14px; border: 1.5px solid #cfd9e6; border-radius: 12px; width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgb(7 121 196 / .15); }
.form .note { font-size: .85rem; color: var(--muted); margin: 0; }
.form-status { display: none; padding: 14px 16px; border-radius: 12px; background: var(--good-soft); color: #14532d; font-weight: 600; }
.form-status.show { display: block; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: #071733; color: #a9bad8; padding-block: 46px 22px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 26px; padding-bottom: 30px; border-bottom: 1px solid rgb(255 255 255 / .1); }
.site-footer img { height: 40px; width: auto; margin-bottom: 12px; }
.site-footer h4 { color: #fff; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a { color: #a9bad8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .2); display: grid; place-items: center; }
.socials a:hover { background: rgb(255 255 255 / .1); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; padding-top: 18px; font-size: .88rem; }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.disclaimer { margin-top: 14px; font-size: .82rem; color: #8397bb; max-width: 900px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Sticky mobile CTA */
.mobile-cta { display: none; }
@media (max-width: 720px) {
  .mobile-cta {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgb(255 255 255 / .95); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .25s;
  }
  .mobile-cta.show { transform: none; }
  .mobile-cta .btn { flex: 1; padding: 13px 14px; }
  body { padding-bottom: 0; }
  .site-footer { padding-bottom: 96px; }
}

/* Legal page */
.legal { padding-block: 40px 68px; }
.legal .doc { max-width: 780px; margin-inline: auto; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: .3em; }
.legal h2 { font-size: 1.5rem; margin-top: 2em; padding-top: 1em; border-top: 1px solid var(--line); }
.legal h3 { font-size: 1.1rem; margin-top: 1.5em; color: var(--brand); }
.legal ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; display: block; }
.legal li { margin-bottom: .4em; }
.legal .updated { color: var(--muted); font-weight: 600; }
.callout { background: var(--soft-2); border-left: 4px solid var(--brand); padding: 18px 22px; border-radius: 0 12px 12px 0; margin: 1.5em 0; }
.callout p:last-child { margin: 0; }

/* Motion */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
  .btn:hover, .card:hover, .post:hover { transform: none; }
}
.no-js .reveal { opacity: 1; transform: none; }
