/* KinShield — "clear sky" system, built from the Figma redesign (AIRecruit360 reference).
   White page, sky/grass imagery inside cards, Familjen Grotesk, Kip green #5EBE6A (+ deep #23863D) + mint #A2F1A9 + ink #001123.
   Red is reserved for risk. */

:root {
  color-scheme: light;
  --brand: #5EBE6A;        /* Kip's felt green: logo, fills, large surfaces */
  --brand-deep: #23863D;   /* 4.6:1 on white: buttons, links, small text */
  --brand-ink: #1A6E31;    /* hover / pressed */
  --brand-soft: #E8F7EA;
  --mint: #A2F1A9;
  --mint-soft: #E7FBE9;
  --mint-ink: #0B5A1A;
  --ink: #001123;
  --ink-2: #33414F;
  --muted: #5F6B78;
  --faint: #66717E;       /* 4.9:1 on white; was #8A95A3 (3.0:1) */
  --line: #E3E7ED;
  --line-soft: #EEF1F5;
  --paper: #F3F4F6;
  --paper-2: #F5F7FA;
  --white: #FFFFFF;
  --red: #D1343A;         /* 4.9:1 on white for small red text; was #E5484D */
  --red-soft: #FDE2E3;
  --red-ink: #B92A31;
  --amber-soft: #FFF1C2;
  --amber-ink: #6E5200;
  --orange: #FF8A4C;

  --font: "Familjen Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --shadow: 0 12px 30px rgba(0, 18, 36, .12);
  --shadow-lg: 0 20px 50px rgba(0, 18, 36, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* aliases */
  --accent: var(--brand-deep);
  --accent-soft: var(--brand-soft);
  --line-strong: #CBD3DD;
  --font-head: var(--font);
  --font-body: var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 16px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--brand-deep); outline-offset: 3px; border-radius: 4px; }
section[id], [id^="card-"] { scroll-margin-top: 90px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -80px; z-index: 200; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 4px; }
.skip-link:focus { top: 12px; }

.wrap { max-width: 1440px; margin: 0 auto; padding: 0 clamp(16px, 5.56vw, 80px); }
.section { padding-top: clamp(64px, 7.6vw, 110px); }

/* Material Symbols — fixed 1em box so an unloaded ligature never spills text */
.ms {
  font-family: "Material Symbols Rounded";
  font-weight: 300; font-style: normal; font-size: 1.25em; line-height: 1;
  letter-spacing: normal; text-transform: none; white-space: nowrap; direction: ltr;
  display: inline-block; width: 1em; overflow: hidden; vertical-align: -.22em;
  font-feature-settings: "liga"; -webkit-font-smoothing: antialiased; user-select: none;
}

/* ---------- type ---------- */
h1 { font-weight: 500; font-size: clamp(42px, 6.67vw, 96px); line-height: 1; letter-spacing: -.04em; }
h2 { font-weight: 500; font-size: clamp(34px, 3.9vw, 56px); line-height: 1.04; letter-spacing: -.03em; }
.eyebrow { display: inline-block; color: var(--brand-deep); font-size: 15px; }
.eyebrow.on-blue { color: rgba(255, 255, 255, .88); }
.muted { color: var(--muted); font-weight: 400; }

/* ---------- buttons & chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 4px; border: 1.2px solid transparent;
  font-size: 16px; font-weight: 500; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background .16s var(--ease), color .16s var(--ease), border-color .16s, transform .12s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-blue, .btn-verify { background: var(--brand-deep); color: var(--white); }
.btn-blue:hover:not(:disabled), .btn-verify:hover:not(:disabled) { background: var(--brand-ink); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #12263b; }
.btn-outline, .btn-mark, .btn-ghost { background: var(--white); color: var(--ink); border-color: var(--ink); }
.btn-outline:hover:not(:disabled), .btn-mark:hover:not(:disabled), .btn-ghost:hover:not(:disabled) { background: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.center { justify-content: center; }
body.is-running #btn-scam, body.is-running #btn-safe { cursor: progress; }

.chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 20px; font-size: 11px; font-weight: 500; white-space: nowrap; }
.chip-mint { background: var(--mint); color: var(--mint-ink); }
.chip-blue { background: var(--brand-soft); color: var(--brand-ink); }
.chip-amber { background: var(--amber-soft); color: var(--amber-ink); }
.chip-white-red { background: var(--white); color: var(--red); font-weight: 600; }

/* ---------- logo ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-name { font-size: 24px; font-weight: 500; letter-spacing: -.02em; }
.brand-mark { width: 30px; height: 30px; background: url("img/logo-mark.svg") center / contain no-repeat; flex: none; }
.brand-mark.sm { width: 20px; height: 20px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 20px; padding-bottom: 20px; }
.nav-links { display: flex; gap: 30px; margin-left: 48px; margin-right: auto; }
.nav-links a { text-decoration: none; font-size: 15px; color: #1C2A3A; }
.nav-links a:hover { color: var(--brand-deep); }
.nav-links a.is-current { color: var(--brand-deep); font-weight: 600; }
.nav-actions { display: flex; gap: 10px; }

/* ---------- meadow imagery: one photo, cropped per panel ---------- */
.sky, .scene, .sky-band, .coverage { position: relative; overflow: hidden; background: #3A8CCB url("img/kinshield-meadow-soft.jpg") no-repeat center 72% / cover; }
.sky > * { position: relative; z-index: 1; }
.hc-1, .hc-3 { background-position: center bottom; }
.feature-visual { background-position: center 70%; }

/* ---------- hero ---------- */
.hero-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(40px, 4.4vw, 64px); }
.hero-copy { display: grid; gap: 28px; }
.laurels { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--brand-deep); font-size: 16px; font-weight: 500; }
.laurels li { display: inline-flex; align-items: center; gap: 6px; }
.laurels li::before, .laurels li::after {
  content: ""; width: 9px; height: 20px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 20'%3E%3Cg fill='%2323863D'%3E%3Cellipse cx='5.5' cy='3' rx='1.6' ry='2.6' transform='rotate(25 5.5 3)'/%3E%3Cellipse cx='3.6' cy='7.6' rx='1.6' ry='2.6' transform='rotate(12 3.6 7.6)'/%3E%3Cellipse cx='3.2' cy='12.4' rx='1.6' ry='2.6'/%3E%3Cellipse cx='4.6' cy='17' rx='1.6' ry='2.6' transform='rotate(-25 4.6 17)'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
.laurels li::after { transform: scaleX(-1); }
.hero-pitch { max-width: 430px; display: grid; gap: 26px; padding-bottom: 12px; }
.hero-pitch > p:first-child { font-size: 18px; line-height: 1.65; color: var(--ink-2); }
.hero-pitch strong { color: var(--ink); font-weight: 600; }
.fine { font-size: 13px; color: var(--muted); }

/* card strip: centred and wider than the viewport, so both ends bleed */
.strip { display: flex; justify-content: center; gap: 24px; height: 440px; overflow: hidden; }
.hc { position: relative; flex: none; height: 100%; overflow: hidden; }
.hc-1 { width: 200px; }
.hc-2 { width: 400px; background: #3A8CCB url("img/kinshield-meadow-soft.jpg") no-repeat 50% 74% / cover; }
/* sunny glow behind Kip on the meadow; Kip stands on the stone */
.hc-2::before { content: ""; position: absolute; left: 50%; top: 42%; width: 360px; height: 360px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.75), rgba(255,255,255,.25) 55%, rgba(255,255,255,0)); }
.hc-2 .blob { display: none; }
.hc-2 .kip { filter: drop-shadow(0 14px 14px rgba(0, 40, 10, .28)); }
.hc-3 { width: 360px; }
.hc-4 { width: 250px; height: 320px; align-self: center; background: var(--orange); }
.hc-5 { width: 260px; }
.gcard { position: absolute; background: var(--white); border-radius: 10px; padding: 18px; box-shadow: var(--shadow); display: grid; gap: 10px; }
.gcard .row { display: flex; align-items: center; gap: 10px; }
.muted-sm { font-size: 12px; color: var(--muted); }
.tiny { font-size: 11px; color: var(--ink-2); line-height: 1.4; }
.num { font-size: 22px; font-weight: 500; }
.mini-chart { left: -80px; top: 120px; width: 250px; }
.bars { width: 100%; height: 70px; }

.blob { position: absolute; left: 50px; top: 90px; width: 300px; height: 300px; }
.kip { position: absolute; left: 40px; top: 50px; width: 320px; height: 320px; object-fit: contain; }
.round-badge { position: absolute; left: 56px; top: 60px; width: 56px; height: 56px; border-radius: 50%; background: var(--brand-deep); color: var(--white); display: grid; place-items: center; font-size: 22px; }
.tag-pink { position: absolute; left: 236px; top: 270px; background: #F59AF0; border-radius: 10px; padding: 10px 14px; display: grid; gap: 2px; color: #2A0727; }
.tag-pink > span { font-size: 10px; color: #5B1457; }
.tag-pink .row { display: flex; align-items: center; gap: 10px; }
.tag-pink b { font-size: 24px; font-weight: 500; }
.tag-green { position: absolute; left: 40px; top: 340px; background: #7CEB8A; border-radius: 8px; padding: 8px 14px 8px 10px; display: flex; align-items: center; gap: 10px; }
.tag-green b { display: block; font-size: 14px; font-weight: 500; color: #04310B; }
.tag-green div span { font-size: 10px; color: #13521D; }
.tag-ic { width: 26px; height: 26px; border-radius: 4px; background: var(--white); color: var(--red); display: grid; place-items: center; font-size: 15px; }

.ev-mini { left: 30px; top: 100px; width: 300px; }
.ev-mini .who .who-av { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--muted); font-size: 16px; font-weight: 600; }
.ev-mini .who b { display: block; font-size: 14px; font-weight: 500; }
.ev-mini .who span { font-size: 11px; color: var(--muted); }
.ev-mini hr { border: 0; border-top: 1px solid var(--line); margin: 2px 0; width: 100%; }
.stats3 { gap: 26px !important; }
.stats3 span { display: block; font-size: 10px; color: var(--muted); }
.stats3 b { font-size: 13px; font-weight: 500; }
.insight { background: linear-gradient(90deg, #EAF8EC, #E9F9EE 60%, #DDF3E0); border: 1px solid #C6E9CB; border-radius: 8px; padding: 10px 12px; font-size: 12px; line-height: 1.4; color: #1C2A3A; }
.ins-k { display: flex; align-items: center; gap: 4px; color: var(--brand-deep); font-size: 10px; font-weight: 500; margin-bottom: 4px; }

.hc-4::before, .hc-4::after { content: ""; position: absolute; border-radius: 50%; border: 46px solid #FFB07F; }
.hc-4::before { width: 300px; height: 300px; left: 60px; top: -40px; }
.hc-4::after { width: 220px; height: 220px; left: -120px; top: 170px; border-width: 36px; }
.push { left: 30px; top: 40px; width: 190px; padding: 14px; gap: 7px; z-index: 1; }
.push b { font-size: 13px; font-weight: 500; line-height: 1.3; }
.push-k { display: flex; align-items: center; gap: 6px; color: var(--red); font-size: 10px; font-weight: 500; }
.push-k i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.push .q { background: var(--paper-2); border-radius: 5px; padding: 5px 8px; font-size: 10px; color: #1C2A3A; }
.push .q span { display: block; font-size: 9px; font-weight: 500; color: var(--muted); }
.push-btn { background: var(--brand-deep); color: var(--white); border-radius: 4px; text-align: center; padding: 7px; font-size: 11px; font-weight: 500; }

.hc-5 img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }
.tag-protected { position: absolute; left: 20px; top: 24px; display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,.92); border-radius: 20px; padding: 6px 12px 6px 10px; font-size: 12px; font-weight: 500; }
.tag-protected i { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; }
.call-ctrls { position: absolute; left: 24px; bottom: 28px; display: flex; gap: 10px; }
.call-ctrls .ms { width: 52px; height: 52px; border-radius: 50%; background: rgba(107,114,128,.72); color: var(--white); display: grid; place-items: center; font-size: 22px; }

/* ---------- live demo ---------- */
.demo-tabs { display: grid; grid-template-columns: repeat(4, 1fr); }
.demo-tab { padding: 18px 20px; border: 1px solid var(--line); border-bottom: 0; margin-left: -1px; font-size: 20px; color: #4B5866; text-decoration: none; background: var(--white); transition: background .16s; }
.demo-tab:first-child { margin-left: 0; }
.demo-tab:hover { background: var(--paper-2); }
.demo-tab.is-active { color: var(--ink); background: #F7F9FC; box-shadow: inset 0 2px 0 var(--brand-deep); }

.demo-sky { padding: 46px clamp(12px, 9vw, 130px) 64px; }
.demo-sky { background-position: center 85%; }
.demo-sky.flash .app { box-shadow: var(--shadow-lg), 0 0 0 3px rgba(35,134,61,.25); }

.app { display: grid; grid-template-columns: 210px minmax(0, 1fr); background: rgba(255,255,255,.97); border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; }
.app-side { display: flex; flex-direction: column; gap: 6px; padding: 22px 18px; border-right: 1px solid var(--line-soft); }
.app-brand { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 500; padding-bottom: 14px; }
.app-search { display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 20px; padding: 7px 10px; font-size: 11px; color: var(--faint); margin-bottom: 10px; }
.app-search kbd { margin-left: auto; font: inherit; }
.app-nav { display: grid; gap: 4px; }
.app-nav li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 20px; font-size: 13px; color: var(--ink-2); }
.app-nav li .ms { font-size: 16px; color: #4B5866; }
.app-nav li.on { background: var(--brand-deep); color: var(--white); }
.app-nav li.on .ms { color: var(--white); }

.phone-card { margin-top: auto; padding-top: 18px; display: grid; gap: 8px; border-radius: 10px; }
.phone-card-k { font-size: 11px; color: var(--muted); }
.protected-badge { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; background: var(--mint-soft); border: 1px solid #BDEFC2; transition: background .25s, border-color .25s; }
.state-mascot { width: 52px; height: 52px; object-fit: contain; flex: none; }
.protected-status { font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--mint-ink); }
.protected-sub { font-size: 12px; line-height: 1.35; color: var(--ink-2); }
.protected-badge.warn { background: var(--red-soft); border-color: #F5B5B8; }
.protected-badge.warn .protected-status { color: var(--red-ink); }
.protected-caption { font-size: 11px; color: var(--faint); line-height: 1.4; }

.app-main { display: flex; flex-direction: column; gap: 16px; padding: 24px 26px 26px; min-width: 0; }
.app-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.app-head .eyebrow { font-size: 13px; }
.scenario-title { font-size: 24px; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.scenario-controls { display: flex; gap: 8px; align-items: center; }
.picker {
  appearance: none; -webkit-appearance: none; max-width: 300px; width: 100%;
  padding: 9px 34px 9px 14px; border: 1px solid var(--line-strong); border-radius: 20px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23001123' stroke-width='1.6'/%3E%3C/svg%3E") right 14px center / 11px no-repeat;
  font-size: 13px; cursor: pointer; text-overflow: ellipsis;
}
.picker:disabled { opacity: .6; cursor: progress; }

.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tile { border: 1px solid #E9EDF2; border-radius: 10px; padding: 12px 14px; display: grid; gap: 8px; background: var(--white); }
.tile-k { font-size: 11px; color: var(--muted); }
.tile-v { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.tile-v b { font-size: 22px; font-weight: 500; letter-spacing: -.01em; }
.risk-score { font-size: 26px; font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; }
.risk-pill { padding: 3px 9px; border-radius: 20px; font-size: 11px; font-weight: 600; letter-spacing: .04em; }
.risk-idle { background: var(--paper); color: var(--muted); font-size: 16px; font-weight: 600; }
.risk-low { background: var(--mint); color: var(--mint-ink); }
.risk-medium { background: var(--amber-soft); color: var(--amber-ink); }
.risk-high { background: var(--red-soft); color: var(--red-ink); }
.risk-unavailable { background: var(--amber-soft); color: var(--amber-ink); }
.live-indicator { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 0 rgba(34,197,94,.5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }

.app-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.card { border: 1px solid #E9EDF2; border-radius: 10px; padding: 14px 16px; background: var(--white); display: flex; flex-direction: column; gap: 14px; min-width: 0; transition: box-shadow .3s; }
.card.flash { box-shadow: 0 0 0 3px rgba(35,134,61,.3); }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.card-head h3 { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.card-head h3 .ms { color: var(--brand-deep); }

.meter-wrap { display: grid; gap: 8px; padding-top: 4px; }
.meter-track { position: relative; height: 16px; border-radius: 8px; background: linear-gradient(90deg, #E7F6EA 0 20.8%, #FFF4D4 20.8% 50%, #FDE2E3 50% 100%); overflow: visible; }
.meter-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 8px; background: var(--brand-deep); transition: width .25s var(--ease), background .25s; }
body:has(#risk-level.risk-medium) .meter-fill { background: #E0A100; }
body:has(#risk-level.risk-high) .meter-fill { background: var(--red); }
body:has(#risk-level.risk-low) .meter-fill { background: #2BB24C; }
.meter-mark { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; background: rgba(0,17,35,.25); border-radius: 1px; }
.meter-mark span { display: none; }
.meter-scale { display: grid; grid-template-columns: 20.8% 29.2% 50%; font-size: 10px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.note-bar { font-size: 12px; color: var(--ink-2); background: var(--paper-2); border-left: 2px solid var(--brand-deep); border-radius: 0 6px 6px 0; padding: 8px 12px; line-height: 1.45; }
.tax-wrap { display: grid; gap: 8px; }
.taxonomy { display: flex; flex-wrap: wrap; gap: 6px; }
.tax-chip { padding: 4px 10px; border-radius: 20px; border: 1px solid var(--line); font-size: 11px; color: var(--muted); transition: background .2s, color .2s, border-color .2s; }
.tax-chip.fired { background: var(--red-soft); border-color: #F5B5B8; color: var(--red-ink); font-weight: 500; }

.transcript { display: flex; flex-direction: column; gap: 8px; height: 300px; overflow-y: auto; padding-right: 4px; scroll-behavior: smooth; }
.transcript:empty::before { content: "The call transcript streams in here, turn by turn."; color: var(--faint); font-size: 13px; margin: auto; text-align: center; padding: 0 20px; }
.bubble { padding: 9px 12px; border-radius: 10px; font-size: 13px; line-height: 1.45; color: #1C2A3A; animation: rise .3s var(--ease); }
.bubble .t { font-size: 9px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 3px; }
.bubble.caller { background: var(--white); border: 1px solid #E9EDF2; margin-right: 24px; }
.bubble.victim { background: var(--paper-2); margin-left: 24px; }
.bubble.typing { display: inline-flex; gap: 4px; align-self: flex-start; padding: 12px 14px; }
.bubble.typing.victim { align-self: flex-end; }
.bubble.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); animation: typing 1s infinite ease-in-out; }
.bubble.typing span:nth-child(2) { animation-delay: .15s; }
.bubble.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.card-evidence { gap: 12px; }
.evidence { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.evidence-empty, .evidence-analyzing { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 18px; border: 1px dashed var(--line-strong); border-radius: 10px; font-size: 13px; color: var(--muted); text-align: center; }
.ev-spinner, .mv-spinner { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--brand-soft); border-top-color: var(--brand-deep); animation: spin .8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.ev-item { border: 1px solid #E9EDF2; border-radius: 10px; padding: 10px 14px; display: grid; gap: 4px; animation: rise .3s var(--ease); }
.ev-top { display: flex; justify-content: space-between; gap: 8px; }
.ev-signal { font-size: 11px; font-weight: 500; color: var(--brand-deep); }
.ev-weight, .ev-time { font-size: 10px; color: var(--faint); }
.ev-quote { font-size: 13px; color: #1C2A3A; line-height: 1.4; }
.ev-quote::before { content: "“"; } .ev-quote::after { content: "”"; }
.ev-item.w-high { border-left: 3px solid var(--red); }
.ev-item.w-high .ev-signal { color: var(--red-ink); }
.ev-item.w-low .ev-signal { color: var(--muted); }

.recommended { padding: 12px 14px; border-radius: 0 8px 8px 0; background: var(--red-soft); border-left: 3px solid var(--red); font-size: 14px; color: var(--ink); line-height: 1.5; }
.recommended.low { background: var(--mint-soft); border-color: #2BB24C; }
.recommended.caregiver-note { background: var(--paper-2); border-color: var(--brand-deep); }
.loc-check { border-radius: 10px; padding: 12px 14px; display: grid; gap: 3px; font-size: 13px; }
.loc-ok { background: var(--mint-soft); border: 1px solid #BDEFC2; }
.loc-bad { background: var(--red-soft); border: 1px solid #F5B5B8; }
.loc-title { font-weight: 600; }
.loc-note { font-size: 11px; color: var(--muted); margin-top: 4px; }
.action-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- sources ---------- */
.sources { padding-top: 56px; text-align: center; }
.sources p { font-size: 17px; color: var(--ink-2); }
.sources ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 72px; margin-top: 24px; }
.sources li { font-size: 19px; font-weight: 600; letter-spacing: -.01em; color: var(--faint); }
.sources li.aws { color: var(--brand-deep); }

/* ---------- section heads ---------- */
.center-head { display: grid; justify-items: center; gap: 16px; text-align: center; }
.center-head p { max-width: 720px; font-size: 17px; line-height: 1.6; color: #4B5866; }
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 56px; }
.split-head > div { display: grid; gap: 16px; }
.split-head > p { max-width: 440px; font-size: 19px; line-height: 1.55; color: var(--ink-2); }

/* ---------- problem ---------- */
.problem .center-head { margin-bottom: 40px; }
.pill-photo { position: relative; aspect-ratio: 1280 / 560; overflow: hidden; border-radius: 4px; background: var(--paper); }
.pill-photo img { width: 100%; height: 100%; object-fit: cover; }
.sig-pills li {
  position: absolute; white-space: nowrap; font-size: clamp(11px, 1.9vw, 24px); font-weight: 500; letter-spacing: -.01em;
  padding: .72em 1.2em; border-radius: 999px; box-shadow: 0 10px 24px rgba(0,0,0,.18);
}
.sig-pills .p1 { left: 1.5%; top: 17%; transform: rotate(-28deg); background: #FF8A4C; color: #3B1500; }
.sig-pills .p2 { left: 43%; top: 6%; transform: rotate(-8deg); background: #C6F432; color: #1F2B00; }
.sig-pills .p3 { left: 44%; top: 30%; transform: rotate(18deg); background: #F59AF0; color: #3A0636; }
.sig-pills .p4 { left: 66%; top: 12%; transform: rotate(-12deg); background: #FFFFFF; color: var(--ink); }
.sig-pills .p5 { left: -2%; top: 72%; transform: rotate(-55deg); background: #23863D; color: #FFFFFF; }
.sig-pills .p6 { left: 22%; top: 60%; transform: rotate(-14deg); background: #FFD400; color: #3A2E00; }
.sig-pills .p7 { left: 26%; top: 80%; transform: rotate(8deg); background: #35E07A; color: #042A12; }
.sig-pills .p8 { left: 47%; top: 70%; transform: rotate(30deg); background: #B8F0C4; color: #0A3D18; }
.sig-pills .p9 { left: 68%; top: 60%; transform: rotate(-38deg); background: #FFE3B3; color: #4A2E00; }

/* ---------- blue bands ---------- */
.band { position: relative; overflow: hidden; border-radius: 4px; color: var(--white); }
.sky-band {
  padding: clamp(40px, 5.8vw, 84px) clamp(20px, 3.9vw, 56px) 0;
  background: linear-gradient(180deg, rgba(0,32,64,.42) 0%, rgba(0,32,64,.12) 45%, transparent 62%), #3A8CCB url("img/kinshield-meadow-soft.jpg") no-repeat center 52% / cover;
}
.band-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; position: relative; z-index: 1; }
.band-head > div { display: grid; gap: 12px; }
.band-head p { max-width: 400px; font-size: 19px; line-height: 1.5; color: rgba(255,255,255,.92); }
.band-guide { display: flex; align-items: center; gap: 14px; max-width: 400px; }
.steps { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); justify-content: center; gap: 16px; margin: 56px 0 0; padding-bottom: 88px; }
.steps li {
  position: relative; min-height: 236px; padding: 24px; border-radius: 6px; color: var(--ink);
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.97) 35%, #fff);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.steps .step-n { position: absolute; top: 6px; right: 16px; font-size: 68px; font-weight: 500; letter-spacing: -.02em; color: var(--white); -webkit-text-stroke: 1.2px #BFE6C5; line-height: 1.1; }
.steps .ms { color: var(--brand-deep); font-size: 32px; }
.steps h3 { margin-top: 62px; font-size: 22px; font-weight: 500; letter-spacing: -.01em; }
.steps p { margin-top: 8px; font-size: 14px; line-height: 1.5; color: #4B5866; }

/* ---------- toolkit ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature { display: grid; gap: 12px; align-content: start; }
.feature h3 { margin-top: 8px; font-size: 26px; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.feature > p { font-size: 15px; color: #4B5866; max-width: 560px; }
.feature-visual { aspect-ratio: 632 / 460; border-radius: 2px; }
.ev-stack { position: absolute; inset: 0; }
.ev-card { position: absolute; width: 41%; background: var(--white); border-radius: 10px; padding: 12px 16px; box-shadow: var(--shadow); display: grid; gap: 6px; }
.ev-card:nth-child(1) { left: 6.3%; top: 10%; }
.ev-card:nth-child(2) { left: 52%; top: 21%; }
.ev-card:nth-child(3) { left: 9.5%; top: 41%; }
.ev-card:nth-child(4) { left: 53.8%; top: 54%; }
.ev-card .row { display: flex; justify-content: space-between; align-items: center; }
.ev-card b { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; }
.ev-card b i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.ev-card .row > span { font-size: 10px; color: var(--faint); }
.ev-card p { font-size: 14px; color: #1C2A3A; }
.ev-card.c-blue b { color: var(--brand-deep); } .ev-card.c-orange b { color: #C2570F; } .ev-card.c-purple b { color: #8A1F84; } .ev-card.c-red b { color: var(--red-ink); }
.cited { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 6px; background: linear-gradient(90deg, #EAF8EC, #E9F9EE); font-size: 10px; color: var(--ink-2); }
.cited .ms { color: var(--brand-deep); font-size: 13px; }

.chat { position: absolute; left: 10.4%; top: 19.5%; width: 79%; background: rgba(255,255,255,.97); border-radius: 12px; box-shadow: var(--shadow); padding: 20px; display: grid; gap: 14px; }
.bub-out { justify-self: end; max-width: 330px; background: #F3F5F8; border-radius: 10px; padding: 10px 14px; font-size: 12px; line-height: 1.45; color: #1C2A3A; }
.bub-in { display: flex; gap: 10px; }
.bub-av { width: 30px; height: 30px; border-radius: 50%; background: var(--brand-deep); color: var(--white); display: grid; place-items: center; font-size: 15px; flex: none; }
.bub-k { display: block; font-size: 11px; font-weight: 500; color: var(--brand-deep); }
.bub-in p { font-size: 13px; color: #1C2A3A; margin: 4px 0 8px; }
.bub-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.bub-acts > span { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px 5px 8px; border-radius: 20px; background: #F3F5F8; font-size: 11px; font-weight: 500; color: var(--ink-2); }
.bub-acts > span.red { background: var(--red); color: var(--white); }
.bub-acts .ms { font-size: 14px; }
.chat-input { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px 10px; display: grid; gap: 16px; font-size: 12px; color: var(--faint); }
.chat-input .row { display: flex; justify-content: space-between; align-items: center; }
.chat-opts { font-size: 10px; color: var(--muted); }
.send { width: 24px; height: 24px; border-radius: 50%; background: var(--brand-deep); color: var(--white); display: grid; place-items: center; font-size: 15px; }

/* ---------- who it's for ---------- */
#caregivers .center-head { margin-bottom: 46px; }
.role-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.role { display: grid; gap: 6px; align-content: start; }
.role-visual { position: relative; aspect-ratio: 630 / 440; overflow: hidden; margin-bottom: 14px; }
.scene { background-position: center 72%; }
.checklist { position: absolute; z-index: 1; left: 19%; top: 12.7%; width: 62%; padding: 20px 18px 18px; border-radius: 12px; background: var(--white); box-shadow: var(--shadow); display: grid; gap: 8px; }
.checklist h3 { font-size: 15px; font-weight: 500; margin-bottom: 2px; }
.checklist ul { display: grid; gap: 8px; }
.checklist li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 6px; background: #F3F5F8; font-size: 13px; color: #1C2A3A; }
.checklist li .ms { font-size: 17px; color: var(--ink-2); }
.checklist.dark { background: rgba(43,52,64,.84); color: var(--white); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.checklist.dark li { background: rgba(255,255,255,.08); color: #E6EBF0; }
.checklist.dark li .ms { color: #DDE3EA; }
.role-k { font-size: 13px; color: var(--muted); }
.role-t { font-size: 26px; font-weight: 400; letter-spacing: -.015em; }

/* ---------- coverage band ---------- */
.coverage {
  padding: clamp(40px, 4.4vw, 64px) clamp(20px, 3.9vw, 56px) clamp(120px, 12vw, 170px);
  background: linear-gradient(180deg, rgba(0,32,64,.42) 0%, rgba(0,32,64,.12) 42%, transparent 60%), #3A8CCB url("img/kinshield-meadow-soft.jpg") no-repeat center 62% / cover;
}
.coverage > * { position: relative; z-index: 1; }
.coverage h2 { margin-top: 12px; font-size: clamp(28px, 3.2vw, 46px); line-height: 1.08; }
.cov-rows { display: grid; gap: 14px; margin: 44px calc(-1 * clamp(20px, 3.9vw, 56px)) 0; }
.cov-row { display: flex; gap: 10px; margin-left: -60px; }
.cov-row.offset { margin-left: -150px; }
.cov-row li { flex: none; display: inline-flex; align-items: center; gap: 10px; padding: 16px 24px 16px 20px; border-radius: 40px; background: var(--white); color: var(--ink); font-size: 17px; box-shadow: 0 6px 18px rgba(0,18,36,.1); }
.cov-row li .ms { font-size: 20px; }
.cov-row li.ok .ms { color: #1E9E4A; }

/* ---------- why ---------- */
.why-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 60px; align-items: center; }
.why-k { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 500; color: var(--muted); }
.why blockquote { margin: 28px 0; max-width: 760px; font-size: clamp(22px, 2vw, 28px); line-height: 1.4; letter-spacing: -.01em; }
.why-by strong { display: block; font-size: 14px; font-weight: 500; }
.why-by span { font-size: 12px; color: var(--faint); }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan { background: var(--paper-2); border-radius: 8px; padding: 28px; display: grid; gap: 18px; align-content: start; }
.plan-top { display: flex; justify-content: space-between; align-items: center; }
.plan h3 { font-size: 20px; font-weight: 500; }
.plan-tag { padding: 3px 9px; border-radius: 20px; background: var(--white); font-size: 11px; font-weight: 500; color: #4B5866; }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; font-size: 48px; font-weight: 500; letter-spacing: -.03em; padding-bottom: 18px; border-bottom: 1px solid #DDE3EA; }
.plan-price span { font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.plan ul { display: grid; gap: 12px; }
.plan li { display: flex; gap: 10px; font-size: 14px; line-height: 1.4; }
.plan li .ms { color: var(--brand-deep); font-size: 18px; vertical-align: 0; }
.plan-featured { background: var(--brand-deep); color: var(--white); }
.plan-featured .plan-tag { background: var(--brand-ink); color: var(--white); }
.plan-featured .plan-price { border-color: rgba(255,255,255,.25); }
.plan-featured .plan-price span { color: var(--white); }
.plan-featured li .ms { color: var(--mint); }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 80px; }
.faq-head { display: grid; gap: 14px; align-content: start; }
.faq-head h2 { font-size: 48px; }
.faq-head p { font-size: 15px; color: #4B5866; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-size: 17px; font-weight: 500; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .ms { transition: transform .2s var(--ease); flex: none; }
.faq-list details[open] summary .ms { transform: rotate(180deg); }
.faq-list details p { padding: 0 0 20px; max-width: 720px; font-size: 15px; line-height: 1.6; color: #4B5866; }

/* ---------- roadmap ---------- */
.road { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.road li { border-top: 2px solid var(--line); padding-top: 18px; display: grid; gap: 8px; align-content: start; }
.road li.is-now { border-color: var(--brand-deep); }
.road-when { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.road li.is-now .road-when { color: var(--brand-deep); }
.road strong { font-size: 20px; font-weight: 500; letter-spacing: -.01em; }
.road p { font-size: 14px; line-height: 1.55; color: #4B5866; }

/* ---------- cta ---------- */
.cta-wrap { padding-bottom: clamp(64px, 7vw, 100px); }
.cta { background: var(--paper); border-radius: 4px; padding: clamp(56px, 6.7vw, 96px) 24px; text-align: center; display: grid; justify-items: center; gap: 20px; }
.cta { position: relative; overflow: hidden; }
.cta h2 { font-size: clamp(38px, 4.4vw, 64px); }
.cta p { max-width: 640px; font-size: 17px; line-height: 1.6; color: #4B5866; }
.cta .btn-row { margin-top: 8px; }

/* ---------- footer ---------- */
.footer { padding: 20px 0 0; }
.foot-cols { display: flex; gap: 96px; flex-wrap: wrap; }
.foot-cols > div { display: grid; gap: 12px; align-content: start; }
.foot-cols h4 { font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.foot-cols a, .foot-cols span { font-size: 13px; color: var(--ink-2); text-decoration: none; }
.foot-cols a:hover { color: var(--brand-deep); }
.foot-privacy { margin-top: 48px; max-width: 80ch; font-size: 13px; line-height: 1.6; color: var(--muted); }
.foot-bar { margin-top: 28px; padding: 22px 0 96px; border-top: 1px solid var(--line); display: flex; justify-content: flex-start; align-items: center; gap: 12px 32px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.foot-bar .brand-name { font-size: 18px; }

/* ---------- modals ---------- */
.modal-backdrop { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0,17,35,.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: fade .2s ease; }
.modal { position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow-y: auto; background: var(--white); border-radius: 14px; padding: 28px 32px; box-shadow: var(--shadow-lg); animation: pop .25s var(--ease); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.modal-mascot { width: 72px; height: 72px; object-fit: contain; margin-bottom: 8px; }
.modal .eyebrow { font-size: 13px; }
.modal-title { margin-top: 4px; font-size: 26px; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.modal-body { margin-top: 16px; display: grid; gap: 14px; }
.modal-body .btn-row { margin-top: 4px; }
.modal-body .btn-row .btn { flex: 1; }
.intro-lede { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.intro-steps { list-style: decimal; padding-left: 20px; display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); }

.alert-top { display: flex; align-items: center; gap: 14px; }
.alert-ic { width: 52px; height: 52px; border-radius: 50%; background: var(--red-soft); color: var(--red); display: grid; place-items: center; font-size: 26px; flex: none; animation: ring 1.2s var(--ease) 2; }
@keyframes ring { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-12deg); } 40% { transform: rotate(10deg); } 60% { transform: rotate(-6deg); } }
.alert-k { font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.alert-action { background: var(--paper-2); border-left: 3px solid var(--brand-deep); border-radius: 0 8px 8px 0; padding: 12px 14px; font-size: 14px; line-height: 1.5; }
.alert-action strong { display: block; font-size: 12px; font-weight: 500; color: var(--muted); margin-bottom: 2px; }
.alert-ev-label { font-size: 13px; font-weight: 500; color: var(--muted); }
.alert-evidence { display: grid; gap: 8px; }
.alert-ev { display: grid; gap: 2px; border: 1px solid #E9EDF2; border-radius: 8px; padding: 10px 14px; }
.alert-ev-sig { font-size: 12px; font-weight: 500; color: var(--red-ink); }
.alert-ev-quote { font-size: 14px; color: #1C2A3A; }
.alert-sim-note, .mv-sim-note { font-size: 12px; line-height: 1.5; color: var(--faint); }

.mv-pinging { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); padding: 12px 0; }
.mv-question { background: var(--paper-2); border-radius: 8px; padding: 14px 16px; font-size: 15px; line-height: 1.55; }
.mv-answer-row { display: flex; gap: 10px; flex-wrap: wrap; }
.mv-answer-row .btn { flex: 1; }
.mv-result { padding: 14px 16px; border-radius: 8px; font-size: 15px; font-weight: 500; line-height: 1.45; }
.mv-result.verified { background: var(--mint-soft); color: var(--mint-ink); }
.mv-result.not-verified { background: var(--red-soft); color: var(--red-ink); }
.mv-close { justify-self: start; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav-links { gap: 20px; margin-left: 28px; }
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { gap: 12px; }
}
@media (max-width: 1000px) {
  /* hero card strip: swipe left/right instead of a clipped, centred row */
  .strip { justify-content: flex-start; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: clamp(16px, 5.56vw, 80px); padding-inline: clamp(16px, 5.56vw, 80px); gap: 14px; height: 440px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .strip::-webkit-scrollbar { display: none; }
  .hc { scroll-snap-align: start; border-radius: 4px; }
  .hc-1 { width: 270px; }
  .mini-chart { left: 10px; }
  .hc-4 { align-self: stretch; height: 100%; }
  .push { top: 50%; transform: translateY(-50%); }
  .nav-links { display: none; }
  .hero-intro { flex-direction: column; align-items: flex-start; gap: 28px; }
  .hero-pitch { max-width: 560px; }
  .app { grid-template-columns: 1fr; }
  .app-side { border-right: 0; border-bottom: 1px solid var(--line-soft); padding: 16px 18px; }
  .app-search, .app-nav { display: none; }
  .app-brand { padding-bottom: 4px; }
  .phone-card { margin-top: 0; padding-top: 0; }
  .split-head, .band-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .steps { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 240px; justify-content: start; overflow-x: auto; scroll-snap-type: x mandatory; margin: 40px calc(-1 * clamp(20px, 3.9vw, 56px)) 0; padding: 0 clamp(20px, 3.9vw, 56px) 72px; scrollbar-width: none; }
  .steps li { scroll-snap-align: start; }
  .faq { grid-template-columns: 1fr; gap: 24px; }
  .road { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
}
@media (max-width: 820px) {
  .demo-tabs { grid-template-columns: repeat(4, max-content); overflow-x: auto; scrollbar-width: none; }
  .demo-tab { font-size: 15px; padding: 14px 16px; }
  .demo-sky { padding: 20px 10px 40px; }
  .app-main { padding: 18px 16px 18px; }
  .app-grid { grid-template-columns: 1fr; }
  .transcript { height: 260px; }
  .scenario-controls { width: 100%; }
  .picker { max-width: none; flex: 1; }
  .feature-row, .role-row, .plans { grid-template-columns: 1fr; }
  .why-inner { grid-template-columns: 1fr; gap: 28px; }
  .feature-visual { aspect-ratio: auto; padding: 24px 16px 70px; }
  .ev-stack { position: relative; display: grid; gap: 10px; }
  .ev-card { position: relative; left: auto !important; top: auto !important; width: auto; }
  .ev-card:nth-child(even) { margin-left: 18%; }
  .ev-card:nth-child(odd) { margin-right: 18%; }
  .chat { position: relative; left: auto; top: auto; width: auto; }
  .role-visual { aspect-ratio: auto; padding: 28px 16px 90px; }
  .checklist { position: relative; left: auto; top: auto; width: auto; max-width: 420px; margin: 0 auto; }
  .cov-row, .cov-row.offset { flex-wrap: wrap; margin-left: 0; }
  .cov-rows { margin-inline: 0; }
  .cov-row li { font-size: 15px; padding: 12px 18px 12px 14px; }
}
@media (max-width: 560px) {
  .nav-actions .btn-outline { display: none; }
  .brand-name { font-size: 21px; }
  .laurels { font-size: 14px; gap: 6px 14px; }
  .hero-pitch > p:first-child { font-size: 17px; }
  .hero-pitch .btn-row .btn { flex: 1; }
  .stat-row { grid-template-columns: 1fr 1fr; gap: 8px; }
  .tile { padding: 10px 12px; }
  .tile-v b, .risk-score { font-size: 20px; }
  .sources ul { gap: 10px 28px; }
  .sources li { font-size: 16px; }
  .pill-photo { aspect-ratio: 4 / 3; }
  .pill-photo img { object-position: 40% center; }
  .road { grid-template-columns: 1fr; }
  .foot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
  .plan-price { font-size: 40px; }
  .modal { padding: 22px 20px; }
}

/* ---- Guided demo: soft card with a live "scene" on top (green take on a glassy feature card) ---- */
/* Guided demo: Kip talks through each step in a speech bubble. */
.guide { position: fixed; left: 24px; bottom: 20px; z-index: 85; width: min(296px, calc(100vw - 48px)); display: grid; grid-template-columns: minmax(0, 1fr); justify-items: start; font-family: var(--font); pointer-events: none; }
.guide > * { pointer-events: auto; }
.guide-bubble { position: relative; width: 100%; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 13px 14px 12px; background: var(--white); border: 1.5px solid #D5DCE3; border-radius: 18px; box-shadow: 0 24px 60px rgba(0,17,35,.14), 0 4px 14px rgba(0,17,35,.06); animation: pop .3s var(--ease); }
/* tail points down at Kip */
.guide-bubble::after { content: ""; position: absolute; left: 54px; bottom: -8px; width: 14px; height: 14px; background: var(--white); border-right: 1.5px solid #D5DCE3; border-bottom: 1.5px solid #D5DCE3; border-bottom-right-radius: 5px; transform: rotate(45deg); }
.guide.is-risk .guide-bubble { border-color: #F2B9BC; }
.guide.is-risk .guide-bubble::after { border-color: #F2B9BC; }
.guide-x { position: absolute; top: 9px; right: 9px; width: 24px; height: 24px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--paper); color: var(--ink-2); cursor: pointer; }
.guide-x:hover { background: var(--line); color: var(--ink); }
.guide-x .ms { font-size: 14px; }
.guide-k { font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-deep); }
.guide.is-risk .guide-k { color: var(--red-ink); }
.guide-title { padding-right: 24px; font-size: 17px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; color: var(--ink); }
.guide-body { font-size: 13px; line-height: 1.4; color: var(--muted); }
.guide-chip { display: flex; align-items: center; gap: 8px; max-width: 100%; margin-top: 3px; padding: 5px 10px 5px 7px; border-radius: 999px; background: var(--mint-soft); color: var(--brand-deep); font-size: 12px; justify-self: start; }
.guide.is-risk .guide-chip { background: var(--red-soft); color: var(--red-ink); }
.guide-chip .ms { flex: none; font-size: 15px; }
.guide-chip-t { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--ink-2); }
.guide-chip-t.busy { background: linear-gradient(90deg, var(--muted) 0%, var(--muted) 40%, var(--brand-deep) 50%, var(--muted) 60%, var(--muted) 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: guide-shimmer 2.2s linear infinite; }
@keyframes guide-shimmer { from { background-position: 100% 0; } to { background-position: -150% 0; } }
.guide-bar { display: flex; gap: 3px; margin-top: 6px; }
.guide-bar i { flex: 1; height: 3px; border-radius: 2px; background: var(--line); }
.guide-bar i.on { background: var(--brand-deep); }
.guide.is-risk .guide-bar i.now { background: var(--red); }
.guide-auto { margin-top: 1px; font-size: 11px; color: var(--faint); }
.guide-actions { display: flex; gap: 6px; margin-top: 5px; }
.guide-actions .btn { flex: 1; padding: 7px 10px; font-size: 13px; white-space: nowrap; }
#guide-done { flex: 0 0 auto; padding-inline: 16px; }
/* Kip's perch: clipped at the bottom so Kip rises into view on each new face */
.guide-perch { position: relative; width: 150px; height: 84px; margin-top: 2px; overflow: hidden; pointer-events: none; }
.guide-kip { position: absolute; left: 18px; bottom: 0; width: 82px; height: auto; aspect-ratio: 1; filter: drop-shadow(0 6px 10px rgba(35,134,61,.18)); transform-origin: 50% 100%; animation: guide-bob 3.2s ease-in-out infinite; }
.guide-kip.pop { animation: guide-peek .5s var(--ease) both, guide-bob 3.2s ease-in-out .5s infinite; }
.guide-q { position: absolute; left: 92px; top: 0; font-size: 24px; font-weight: 800; line-height: 1; color: #FFC83D; text-shadow: 0 2px 0 #E9A21B; transform: rotate(14deg); animation: pop .4s var(--ease) .25s both; }
@keyframes guide-peek { from { transform: translateY(70%); } 70% { transform: translateY(-6%); } to { transform: translateY(0); } }
@keyframes guide-bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-3px) rotate(-1.5deg); } }
.guide-target { box-shadow: 0 0 0 3px var(--brand-deep), 0 0 0 8px rgba(35,134,61,.18); transition: box-shadow .3s var(--ease); scroll-margin-top: 96px; }
@media (max-width: 640px) {
  /* Phones: Kip sits beside the bubble's bottom-left corner, above the chat button */
  .guide { left: 12px; right: 12px; bottom: 82px; width: auto; }
  .guide-bubble::after { left: 36px; }
  .guide-perch { width: 110px; height: 60px; }
  .guide-kip { left: 10px; width: 60px; }
  .guide-q { left: 68px; font-size: 20px; }
  }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* inline ( Kip ) in hero headlines: shared by hub, KinVoice, KinBot, KinModel */
.hk-paren { font-weight: 300; }
.hk-kip { position: relative; display: inline-block; width: .95em; height: .95em; vertical-align: -.14em; margin: 0 .04em; }
.hk-kip img { width: 100%; height: 100%; object-fit: contain; display: block; }
.hk-bubble { position: absolute; top: -.12em; right: -.38em; display: flex; gap: .045em; padding: .075em .1em; background: #FEDD63; border-radius: .12em; }
.hk-bubble::after { content: ""; position: absolute; left: .06em; bottom: -.08em; border: .05em solid transparent; border-top-color: #FEDD63; border-left-color: #FEDD63; }
.hk-bubble i { width: .065em; height: .065em; border-radius: 50%; background: var(--ink); animation: hk-dot 1.2s infinite; }
.hk-bubble i:nth-child(2) { animation-delay: .15s; }
.hk-bubble i:nth-child(3) { animation-delay: .3s; }
@keyframes hk-dot { 0%, 60%, 100% { opacity: .35; } 30% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hk-bubble i { animation: none; opacity: 1; } }
/* bubble variants for other pages: a single mark ("!" / "?") or an icon */
.hk-mark { position: absolute; top: -.14em; right: -.4em; font-size: .3em; line-height: 1; font-weight: 800; letter-spacing: 0; padding: .16em .34em .2em; border-radius: .38em; background: #FEDD63; border-color: #FEDD63; color: var(--ink); animation: hk-pop 2.4s var(--ease) infinite; transform-origin: 10% 100%; }
.hk-mark::after { content: ""; position: absolute; left: .2em; bottom: -.24em; border: .16em solid transparent; border-top-color: inherit; border-left-color: inherit; }
.hk-mark.is-red { background: var(--red); border-color: var(--red); color: #fff; }
.hk-mark.is-mint { background: var(--mint); border-color: var(--mint); color: var(--mint-ink); }
.hk-mark svg { display: block; width: .9em; height: .9em; }
@keyframes hk-pop { 0%, 70%, 100% { transform: scale(1); } 80% { transform: scale(1.14) rotate(-6deg); } }
@media (prefers-reduced-motion: reduce) { .hk-mark { animation: none; } }

/* KinVoice product page: the demo is a static preview; the working app is kinvoice-app.html */
.demo-head { align-items: end; margin-bottom: 28px; }
.demo-head .btn-row { margin-top: 18px; }
.demo-static { position: relative; }
.demo-static .app { pointer-events: none; user-select: none; }
.demo-tag { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: rgba(255,255,255,.92); font-size: 14px; font-weight: 600; color: var(--ink); box-shadow: var(--shadow); white-space: nowrap; }
.demo-tag .ms { font-size: 18px; color: var(--brand-deep); }
.demo-open { display: flex; align-items: center; justify-content: center; gap: 10px; width: max-content; max-width: 100%; margin: 26px auto 0; padding: 14px 22px; border-radius: 99px; background: var(--ink); color: #fff; font-weight: 600; font-size: 17px; text-decoration: none; box-shadow: var(--shadow-lg); transition: transform .15s var(--ease); }
.demo-open:hover { transform: translateY(-2px); }
.demo-open .ms { font-size: 20px; }

/* ---------- Mac browser window around a frozen copy of a live app page (KinBot / KinVoice info pages) ---------- */
.kbs-mac { max-width: 1120px; margin: 0 auto; overflow: hidden; border-radius: 12px; background: var(--white); box-shadow: 0 0 0 1px rgba(0, 17, 35, .1), 0 24px 60px rgba(0, 17, 35, .16), 0 4px 12px rgba(0, 17, 35, .06); }
.kbs-mac-bar { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 16px; height: 44px; padding: 0 14px; background: #F3F4F6; border-bottom: 1px solid var(--line); color: var(--muted); }
.kbs-mac-lights { display: flex; gap: 8px; }
.kbs-mac-lights i { width: 12px; height: 12px; border-radius: 50%; background: #FF5F57; box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .12); }
.kbs-mac-lights i:nth-child(2) { background: #FEBC2E; }
.kbs-mac-lights i:nth-child(3) { background: #28C840; }
.kbs-mac-nav { display: flex; gap: 6px; }
.kbs-mac-nav .ms { font-size: 20px; }
.kbs-mac-url { justify-self: center; display: flex; align-items: center; justify-content: center; gap: 6px; width: min(420px, 100%); height: 28px; border-radius: 8px; background: var(--white); box-shadow: 0 0 0 1px var(--line); font-size: 13px; color: var(--ink-2); }
.kbs-mac-url .ms { font-size: 14px; }
.kbs-mac-view { position: relative; overflow: hidden; height: 600px; background: var(--white); pointer-events: none; user-select: none; }
.kbs-mac-view iframe { position: absolute; left: 0; top: 0; width: 1280px; height: 800px; border: 0; transform-origin: 0 0; }
@media (max-width: 700px) {
  .kbs-mac-nav { display: none; }
  .kbs-mac-bar { grid-template-columns: auto 1fr; height: 38px; }
  .kbs-mac-url { height: 24px; font-size: 12px; }
}
.demo-tag.is-above { position: static; transform: none; display: flex; width: max-content; max-width: 100%; margin: 0 auto 16px; }
.foot-cols a[href^="tel:"] { white-space: nowrap; }
