/* TailPlan — marketing site. Look: "Quiet premium".
   Deep passport navy, porcelain paper, gold as the only accent, Literata display over Inter text.
   Same brand core as the cabinet (navy + gold, Literata wordmark): see the TailPlan design system. */
:root {
  --ink: #1e2f6b;        /* links, marks, icons */
  --ink-deep: #0e1633;   /* headings, dark bands, header, hero */
  --ink-2: #33468a;
  --ink-soft: #e9ebf3;
  --paper: #f4f3ef;      /* porcelain page ground */
  --surface: #ffffff;
  --label: #e2c27a;      /* gold: calls to action, accents on dark */
  --label-soft: #f5ecd7;
  --gold-ink: #7a5c17;   /* gold text on light grounds (5.6:1) */
  --on-dark: #c9cedd;    /* body text on navy */
  --on-dark-muted: #9aa3be;
  --mint: #ddf1ea;
  --mint-ink: #1d6b58;
  --text: #1b2240;
  --muted: #4a5272;
  --line: #e3e0d6;
  --danger: #b4352b;
  --radius-s: 6px;
  --radius-m: 14px;
  --radius-l: 22px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Literata", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink-2); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
:is(.site-header, .hero, .section--ink, .site-footer) :focus-visible { outline-color: var(--label); }

/* Type scale (1.25 major third, base 17) */
h1, h2, h3, h4 { color: var(--ink-deep); line-height: 1.12; margin: 0 0 .5em; font-weight: 650; letter-spacing: -0.015em; }
h1, h2, .display { font-family: var(--font-display); font-weight: 450; letter-spacing: -0.022em; }
.display { font-size: clamp(2.5rem, 5.8vw, 4.4rem); font-weight: 400; letter-spacing: -0.028em; line-height: 1.03; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3.3vw, 2.6rem); line-height: 1.1; }
h3 { font-size: 1.3rem; font-weight: 700; }
h4 { font-size: 1.06rem; font-weight: 700; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); color: var(--muted); max-width: 60ch; line-height: 1.55; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.measure { max-width: 68ch; }

/* Layout */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--ink { background: var(--ink-deep); color: #e9ecf5; }
.section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }
.section--ink .muted, .section--ink .lead { color: var(--on-dark); }
.section--ink a { color: #fff; }
.section--white { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.grid-1 { display: grid; gap: clamp(16px, 2vw, 24px); max-width: 860px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.5vw, 32px); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--rev > :first-child { order: 2; }
/* text cards need ~45 characters a line: three columns only from 1100px */
@media (max-width: 1099px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
  .grid-2, .split { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; font: inherit; font-weight: 650; font-size: 1rem; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s; }
.btn--primary { background: var(--label); color: var(--ink-deep); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .1), 0 10px 26px -12px rgba(122, 92, 23, .55); }
.btn--primary:hover { background: #ebd096; color: var(--ink-deep); }
.btn--ghost { border: 1px solid rgba(14, 22, 51, .35); color: var(--ink-deep); background: transparent; padding: 13px 23px; }
.btn--ghost:hover { background: var(--ink-deep); border-color: var(--ink-deep); color: #fff; }
.section--ink .btn--ghost, .hero .btn--ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.section--ink .btn--ghost:hover, .hero .btn--ghost:hover { background: #fff; border-color: #fff; color: var(--ink-deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(14, 22, 51, .95); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid rgba(226, 194, 122, .2); color: #fff; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink-deep); font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; letter-spacing: -0.01em; line-height: 1; }
.brand .wordmark b { font-weight: inherit; color: var(--gold-ink); }
.site-header .brand, .site-footer .brand { color: #fff; }
.site-header .brand .wordmark b, .site-footer .brand .wordmark b { color: var(--label); }
.brand svg { width: 30px; height: 30px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; color: #d5dae8; font-weight: 500; font-size: .97rem; padding: 8px 12px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { background: rgba(255, 255, 255, .08); color: #fff; }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--label); border-radius: 8px 8px 0 0; }
.nav a.btn, .nav a.btn:hover { color: var(--ink-deep); background: var(--label); box-shadow: none; border-radius: 999px; }
.nav .btn { margin-left: 8px; min-height: 42px; padding: 8px 18px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; color: #fff; }
.nav-toggle svg { width: 26px; height: 26px; }
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink-deep); border-bottom: 1px solid rgba(226, 194, 122, .2); padding: 8px var(--gutter) 16px; }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 8px; }
  .nav .btn { margin: 8px 0 0; }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7.5vw, 96px) 0 clamp(56px, 8vw, 104px); background: radial-gradient(1100px 560px at 88% 10%, rgba(46, 72, 160, .42), rgba(14, 22, 51, 0) 62%), var(--ink-deep); color: var(--on-dark); }
.hero h1, .hero .display { color: #fff; }
.hero .lead, .hero .muted { color: var(--on-dark); }
.hero a:not(.btn) { color: #fff; }
.hero .crumbs, .hero .crumbs a { color: var(--on-dark-muted); }
.hero .tag { background: rgba(226, 194, 122, .14); color: var(--label); }
.hero .lead { margin-bottom: 28px; }
.hero-note { margin-top: 16px; font-size: .92rem; color: var(--muted); }
/* Page band: the top of every inner page. One structure (eyebrow, title, short lead) and ONE height per
   breakpoint, so the navy band is identical from page to page. Longer copy, buttons and widgets go below it. */
.band { --band-h: 380px; display: flex; align-items: center; min-height: var(--band-h); padding: 36px 0; box-sizing: border-box; }
.band .wrap { width: 100%; }
@media (max-width: 1099px) { .band { --band-h: 360px; } }
@media (max-width: 767px) { .band { --band-h: 380px; } }
.band .crumbs { margin: 0 0 18px; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--label); }
.band .crumbs a { color: var(--on-dark-muted); text-decoration: none; }
.band .crumbs a:hover { color: #fff; text-decoration: underline; }
.band h1 { margin: 0; }
.band .lead { margin: 18px 0 0; max-width: 62ch; }
.section--after-band { padding-top: clamp(32px, 4vw, 48px); padding-bottom: 0; }
.band + .section { padding-top: clamp(40px, 5vw, 64px); }
.section--after-band + .section { padding-top: clamp(40px, 6vw, 72px); }
.band-more { color: var(--text); max-width: 68ch; }
.hero .hero-note { color: var(--on-dark-muted); }

/* Care record: the signature element */
.record { margin-top: clamp(36px, 5vw, 56px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(18px, 3vw, 32px); box-shadow: 0 1px 0 rgba(30, 47, 107, .04), 0 18px 40px -28px rgba(30, 47, 107, .35); }
.record-top { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.record-pet { display: flex; align-items: center; gap: 14px; }
.record-pet .avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--ink-soft); display: grid; place-items: center; color: var(--ink); }
.record-pet .avatar svg { width: 28px; height: 28px; }
.record-pet strong { display: block; color: var(--ink); font-size: 1.1rem; }
.record-pet span { color: var(--muted); font-size: .92rem; }
.seg { display: inline-flex; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.seg button { font: inherit; font-weight: 600; font-size: .95rem; border: 0; background: transparent; color: var(--muted); padding: 8px 18px; border-radius: 999px; cursor: pointer; min-height: 40px; }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.track-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 6px; }
.track { position: relative; min-width: 760px; padding-right: 26px; }
.swipe-hint { display: none; font-size: .85rem; color: var(--muted); margin: 0 0 8px; }
@media (max-width: 820px) { .swipe-hint { display: block; } }
.track-row { display: grid; grid-template-columns: 150px 1fr; align-items: center; min-height: 46px; border-top: 1px dashed var(--line); }
.track-row:first-of-type { border-top: 0; }
.track-label { font-size: .88rem; font-weight: 600; color: var(--muted); padding-right: 12px; }
.track-lane { position: relative; height: 46px; }
.track-axis { display: grid; grid-template-columns: 150px 1fr; margin-top: 4px; }
.track-axis .ticks { position: relative; height: 22px; border-top: 2px solid var(--ink); }
.track-axis .ticks span { position: absolute; top: 4px; transform: translateX(-50%); font-size: .78rem; color: var(--muted); white-space: nowrap; }
.dot { position: absolute; top: 50%; transform: translate(-50%, -50%); width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--surface); box-shadow: 0 0 0 1px rgba(30, 47, 107, .25); cursor: default; padding: 0; }
.dot--vaccine { background: var(--ink); width: 20px; height: 20px; }
.dot--parasite { background: var(--mint-ink); width: 10px; height: 10px; border-width: 1px; }
.dot--check { background: var(--label); box-shadow: 0 0 0 1px #b48d10; }
.dot--next { outline: 3px solid var(--label); outline-offset: 3px; }
.dot:hover, .dot:focus-visible { z-index: 2; }
.dot .tip { position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; font-size: .8rem; line-height: 1.3; padding: 6px 10px; border-radius: 6px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .12s; }
.dot:hover .tip, .dot:focus-visible .tip { opacity: 1; }
.record-foot { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.record-count { color: var(--ink); font-weight: 700; font-size: 1.02rem; }
.legend { display: flex; flex-wrap: wrap; gap: 16px; }
.legend i { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }

/* Wallet pass mock */
.pass { width: 100%; max-width: 330px; border-radius: 18px; background: linear-gradient(145deg, #1e2f6b, #131e48); color: #fff; padding: 20px; box-shadow: 0 30px 60px -30px rgba(14, 22, 51, .8), inset 0 0 0 1px rgba(226, 194, 122, .45); }
.pass-head { display: flex; justify-content: space-between; align-items: center; font-weight: 700; }
.pass-head .brand { color: #fff; font-size: 1rem; }
.pass-head .brand svg { width: 22px; height: 22px; }
.pass-head small { color: #b9c3e3; font-weight: 500; }
.pass-pet { margin: 22px 0 18px; }
.pass-pet small { display: block; color: #b9c3e3; font-size: .78rem; }
.pass-pet strong { font-size: 1.6rem; letter-spacing: -0.02em; }
.pass-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; font-size: .9rem; }
.pass-grid small { display: block; color: #b9c3e3; font-size: .74rem; }
.pass-next { margin-top: 16px; background: var(--label); color: var(--ink); border-radius: 10px; padding: 10px 12px; font-weight: 700; font-size: .92rem; }
.pass-next small { display: block; font-weight: 500; font-size: .76rem; }
.pass-code { margin-top: 16px; display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; font-size: .8rem; color: #b9c3e3; }
.pass-code .qr { width: 64px; height: 64px; background: #fff; border-radius: 6px; padding: 5px; }
.pass-code strong { color: #fff; font-size: .95rem; letter-spacing: .04em; }

/* Phone message mock */
.msg { max-width: 340px; background: #e7f6ee; border-radius: 16px 16px 16px 4px; padding: 12px 14px; font-size: .95rem; line-height: 1.45; color: #11261e; box-shadow: 0 1px 1px rgba(0, 0, 0, .06); }
.msg small { display: block; text-align: right; color: #5c7a6c; font-size: .74rem; margin-top: 4px; }
.msg-meta { font-size: .82rem; color: var(--muted); margin: 0 0 6px 4px; }

/* Feature blocks */
.feature h3 { margin-bottom: .35em; }
.feature p { color: var(--muted); margin: 0; }
.feature-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--ink-soft); color: var(--ink); display: grid; place-items: center; margin-bottom: 16px; }
.feature-icon svg { width: 24px; height: 24px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: clamp(20px, 2.6vw, 30px); }
.panel--mint { background: var(--mint); border-color: #c4e5d9; }
.panel--label { background: var(--label-soft); border-color: #f0dd96; }

/* Steps (real sequence) */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.steps li { counter-increment: step; position: relative; padding-top: 56px; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--ink-deep); color: var(--label); display: grid; place-items: center; font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; }
.steps li::after { content: ""; position: absolute; top: 20px; left: 52px; right: -12px; height: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.12rem; }
.steps p { color: var(--muted); font-size: .97rem; margin: 0; }
.section--ink .steps li::before { background: var(--label); color: var(--ink); }
.section--ink .steps li::after { background: rgba(255, 255, 255, .2); }
.section--ink .steps p { color: #b9c3e3; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .steps li::after { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Reminder ladder */
.ladder { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.ladder li { position: relative; padding: 0 0 22px 26px; }
.ladder li:last-child { padding-bottom: 0; }
.ladder li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); }
.ladder b { color: var(--ink); }
.ladder span { display: block; color: var(--muted); font-size: .95rem; }

/* Facts with sources */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.5vw, 32px); }
.fact { border-top: 1px solid var(--label); padding-top: 18px; }
.fact strong { display: block; font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1; color: inherit; letter-spacing: -0.02em; font-family: var(--font-display); font-weight: 500; margin-bottom: 10px; }
.fact p { margin: 0 0 8px; }
.fact cite { font-style: normal; font-size: .82rem; color: var(--muted); }
.section--ink .fact cite, .section--ink .fact cite a { color: #9fabd3; }
.fact .kind { display: inline-block; margin-right: 8px; font-size: .72rem; font-weight: 650; padding: 1px 8px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--muted); vertical-align: 1px; }
.facts.facts--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .facts, .facts.facts--4 { grid-template-columns: 1fr; } }

/* Comparison table */
.table-wrap { overflow-x: auto; }
table.compare { width: 100%; border-collapse: collapse; font-size: .97rem; min-width: 560px; background: var(--surface); border-radius: var(--radius-m); overflow: hidden; }
table.compare th, table.compare td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.compare thead th { background: var(--ink-soft); color: var(--ink); font-weight: 700; }
table.compare tbody th { font-weight: 600; color: var(--text); width: 32%; }

/* Checklist */
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231d6b58' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3L15 7'/%3E%3C/svg%3E") center/14px no-repeat; }
.section--ink .checks li::before { background-color: rgba(255, 255, 255, .14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23e2c27a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3L15 7'/%3E%3C/svg%3E"); }

/* App UI mocks */
.ui { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: 0 24px 50px -36px rgba(30, 47, 107, .55); overflow: hidden; font-size: .9rem; }
.ui-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--paper); color: var(--muted); font-size: .8rem; }
.ui-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.ui-body { padding: 16px; }
.ui-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ui-row:last-child { border-bottom: 0; }
.ui-row b { color: var(--ink); font-weight: 650; }
.ui-row span { color: var(--muted); font-size: .82rem; display: block; }
.chip { display: inline-block; font-size: .76rem; font-weight: 650; padding: 4px 10px; border-radius: 999px; background: var(--ink-soft); color: var(--ink); white-space: nowrap; }
.chip--ok { background: var(--mint); color: var(--mint-ink); }
.chip--due { background: var(--label-soft); color: #7a5a00; }
.chip--late { background: #fbe3e0; color: var(--danger); }
.ui-btn { display: inline-block; font-size: .8rem; font-weight: 650; padding: 6px 12px; border-radius: 8px; background: var(--ink); color: #fff; }
.ui-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.ui-kpi { background: var(--paper); border-radius: 8px; padding: 10px; }
.ui-kpi b { display: block; font-size: 1.3rem; color: var(--ink); }
.ui-kpi span { color: var(--muted); font-size: .75rem; }
.ui-note { font-size: .78rem; color: var(--muted); margin-top: 10px; }

/* Calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }
.field { margin-bottom: 20px; }
.field label { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.field label output { color: var(--ink); font-weight: 750; }
.field small { display: block; color: var(--muted); font-size: .84rem; margin-top: 4px; }
input[type="range"] { width: 100%; accent-color: var(--ink); height: 28px; }
.calc-result { position: sticky; top: 92px; }
.calc-result .big { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 500; letter-spacing: -0.03em; color: var(--ink); line-height: 1; margin: 8px 0 12px; }
.calc-lines { margin: 16px 0 0; padding: 0; list-style: none; font-size: .95rem; }
.calc-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid rgba(30, 47, 107, .12); }
.calc-lines b { color: var(--ink); white-space: nowrap; }

/* Forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }
.form label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--surface); border: 1px solid #c3cbdb; border-radius: 10px; padding: 12px 14px; min-height: 48px; }
.form textarea { min-height: 110px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--label); outline-offset: 0; border-color: var(--ink); }
.form .consent { font-size: .85rem; color: var(--muted); }
.hp { position: absolute !important; left: -9999px !important; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 40px 16px 0; font-weight: 650; color: var(--ink); position: relative; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .15s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 0 18px; color: var(--muted); max-width: 72ch; }

/* Pricing */
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; }
.price-card--main { border: 2px solid var(--ink); }
.price { font-family: var(--font-display); font-size: clamp(2.4rem, 4.5vw, 3.2rem); font-weight: 500; color: var(--ink); letter-spacing: -0.03em; line-height: 1; margin: 12px 0 6px; }
.price small { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price-card .checks { margin: 18px 0 24px; }
.price-card .btn { margin-top: auto; align-self: flex-start; }

/* Article */
.article > * { max-width: 720px; }
.wrap.article { max-width: var(--wrap); }
.article h2 { font-size: 1.6rem; margin-top: 1.8em; }
.article h3 { margin-top: 1.4em; }
.article p, .article li { line-height: 1.7; }
.article ul, .article ol { padding-left: 1.3em; margin: 0 0 1em; }
.article li { margin-bottom: .4em; }
.article .note { background: var(--label-soft); border-left: 4px solid var(--label); padding: 14px 18px; border-radius: 0 10px 10px 0; margin: 1.5em 0; }
.sources { font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); margin-top: 2.5em; padding-top: 1.2em; }
.sources ol { padding-left: 1.2em; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.post-list { display: grid; gap: 18px; }
.post { display: block; text-decoration: none; color: inherit; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 24px; }
.post:hover { border-color: var(--ink); }
.post h3 { margin-bottom: .3em; }
.post p { color: var(--muted); margin: 0; }
.post .meta { font-size: .85rem; color: var(--muted); margin-bottom: 8px; }

/* CTA band */
.cta-band { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 24px; align-items: center; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: #0a1029; color: var(--on-dark-muted); padding: 56px 0 32px; font-size: .95rem; }
.site-footer a { color: #e3e8f6; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer-grid h4 { color: #fff; font-size: .98rem; margin-bottom: 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .86rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--label); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.tag { display: inline-block; font-size: .82rem; font-weight: 650; color: var(--mint-ink); background: var(--mint); padding: 4px 12px; border-radius: 999px; margin-bottom: 16px; }
.section--ink .tag { background: rgba(226, 194, 122, .16); color: var(--label); }
.hr { height: 1px; background: var(--line); border: 0; margin: 40px 0; }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }

/* Stage ladder */
.stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; background: var(--surface); }
.stage { position: relative; padding: clamp(20px, 2.4vw, 30px); border-left: 1px solid var(--line); display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: background .15s; }
.stage:first-child { border-left: 0; }
.stage:hover { background: var(--paper); }
.stage-num { font-size: .86rem; font-weight: 700; color: var(--muted); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.stage-num { letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; }
.stage-num b { font-family: var(--font-display); font-weight: 400; font-size: 2.3rem; line-height: 1; color: var(--gold-ink); letter-spacing: 0; text-transform: none; }
.stage h3 { font-family: var(--font-display); font-weight: 450; font-size: 1.4rem; line-height: 1.22; margin-bottom: .4em; }
.stage p { color: var(--muted); font-size: .97rem; margin: 0 0 16px; }
.stage .metric { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .88rem; color: var(--muted); }
.stage .metric b { display: block; color: var(--ink); font-size: .95rem; }
.stage .more { margin-top: 14px; font-weight: 650; font-size: .95rem; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.stage-bar { height: 3px; border-radius: 3px; background: var(--line); margin: 0 0 18px; overflow: hidden; }
.stage-bar i { display: block; height: 100%; background: var(--label); }
@media (max-width: 980px) { .stages { grid-template-columns: 1fr 1fr; } .stage:nth-child(3) { border-left: 0; } .stage:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 600px) { .stages { grid-template-columns: 1fr; } .stage { border-left: 0; border-top: 1px solid var(--line); } .stage:first-child { border-top: 0; } }

.status { display: inline-block; font-size: .78rem; font-weight: 650; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.status--now { background: var(--mint); color: var(--mint-ink); }
.status--rollout { background: var(--ink-soft); color: var(--ink); }
.status--dev { background: #eef0f4; color: var(--muted); }

/* Evidence cards */
.evidence { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
@media (max-width: 820px) { .evidence { grid-template-columns: 1fr; } }
.ev { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 22px 24px; display: flex; flex-direction: column; }
.ev strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.7rem, 2.6vw, 2.1rem); line-height: 1.05; color: var(--ink-deep); letter-spacing: -0.02em; margin-bottom: 10px; }
.ev p { margin: 0 0 12px; }
.ev .src { margin-top: auto; font-size: .84rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.ev .kind { font-size: .74rem; font-weight: 650; padding: 2px 8px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--muted); }
.ev .kind--human { background: var(--label-soft); border-color: #f0dd96; color: #7a5a00; }

/* Self-service flow */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; counter-reset: flow; }
.flow li { counter-increment: flow; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 18px; }
.flow li::before { content: counter(flow); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--label); color: var(--ink); font-weight: 750; margin-bottom: 12px; }
.flow h3 { font-size: 1.02rem; margin-bottom: .3em; }
.flow p { font-size: .92rem; color: var(--muted); margin: 0; }
.flow small { display: block; margin-top: 10px; font-size: .8rem; color: var(--mint-ink); font-weight: 600; }
@media (max-width: 1020px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } }

/* Quiz */
.quiz { max-width: 760px; }
.quiz-progress { height: 6px; background: var(--ink-soft); border-radius: 3px; overflow: hidden; margin-bottom: 10px; }
.quiz-progress i { display: block; height: 100%; width: 0; background: var(--ink); transition: width .25s; }
.quiz-count { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.quiz fieldset { border: 0; margin: 0; padding: 0; }
.quiz legend { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 750; color: var(--ink); letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 8px; padding: 0; }
.quiz .hint { color: var(--muted); margin-bottom: 20px; }
.options { display: grid; gap: 10px; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.option label { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid #c3cbdb; border-radius: 12px; background: var(--surface); cursor: pointer; font-weight: 550; min-height: 56px; }
.option label::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #9aa4b8; background: var(--surface); }
.option input:checked + label { border-color: var(--ink); background: var(--ink-soft); }
.option input:checked + label::before { border-color: var(--ink); background: radial-gradient(circle, var(--ink) 45%, transparent 50%); }
.option input:focus-visible + label { outline: 3px solid var(--label); outline-offset: 2px; }
.option label span { display: block; font-weight: 400; font-size: .88rem; color: var(--muted); }
.quiz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.quiz input[type="text"] { width: 100%; font: inherit; border: 1px solid #c3cbdb; border-radius: 10px; padding: 12px 14px; min-height: 48px; margin-top: 10px; }
.quiz-error { color: var(--danger); font-size: .92rem; min-height: 1.4em; margin-top: 10px; }
.result-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
@media (max-width: 860px) { .result-head { grid-template-columns: 1fr; } }
.result-num { font-family: var(--font-display); font-size: clamp(2.6rem, 6vw, 4rem); font-weight: 500; color: var(--ink); letter-spacing: -0.03em; line-height: 1; margin: 6px 0 10px; }
[hidden] { display: none !important; }

/* Hero with card */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.phone { position: relative; width: 100%; max-width: 360px; margin: 0 auto; background: linear-gradient(180deg, #24346f 0%, #121b3f 75%); border-radius: 44px; padding: 26px 18px 26px; box-shadow: 0 60px 120px -30px rgba(0, 0, 0, .6), 0 0 0 10px #161e3d, 0 0 0 11px rgba(226, 194, 122, .3); color: #fff; }
.phone-time { text-align: center; font-weight: 300; font-size: 3.4rem; letter-spacing: -0.02em; line-height: 1; margin: 18px 0 4px; }
.phone-date { text-align: center; font-size: .9rem; color: #c9d2ee; margin-bottom: 20px; }
.notif { background: rgba(255, 255, 255, .92); color: var(--text); border-radius: 18px; padding: 12px 14px; display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; margin-bottom: 14px; }
.notif .ico { width: 34px; height: 34px; border-radius: 9px; background: var(--ink); display: grid; place-items: center; }
.notif .ico svg { width: 22px; height: 22px; }
.notif b { display: block; font-size: .86rem; }
.notif span { font-size: .84rem; color: #3a4152; line-height: 1.35; display: block; }
.notif small { float: right; color: #7a8293; font-size: .74rem; font-weight: 400; }
.phone .pass { max-width: none; box-shadow: none; background: #fff; color: var(--text); }
.phone .pass .pass-head .brand { color: var(--ink); }
.phone .pass-head small, .phone .pass-pet small, .phone .pass-grid small { color: var(--muted); }
.phone .pass-pet strong { color: var(--ink); }
.phone .pass-code { color: var(--muted); }
.phone .pass-code strong { color: var(--ink); }
.phone .pass-code .qr { background: var(--paper); }
.card-anatomy { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; }
@media (max-width: 560px) { .card-anatomy { grid-template-columns: 1fr; } }
.card-anatomy div { border-left: 3px solid var(--label); padding-left: 14px; }
.card-anatomy b { color: var(--ink); display: block; }
.card-anatomy span { color: var(--muted); font-size: .95rem; }
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }

/* Phone demo player: four steps on the left, one large phone on the right */
.player { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: clamp(28px, 5vw, 72px); align-items: center; margin-top: clamp(40px, 6vw, 72px); }
.player-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.player-steps button { position: relative; overflow: hidden; display: grid; gap: 4px; width: 100%; text-align: left; font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 18px 22px 20px; cursor: pointer; transition: background .2s, border-color .2s; }
.player-steps button:hover { border-color: rgba(14, 22, 51, .35); }
.player-steps .step { font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.player-steps b { font-family: var(--font-display); font-weight: 450; font-size: 1.35rem; line-height: 1.2; color: var(--ink-deep); }
.player-steps .txt { font-size: .97rem; color: var(--muted); }
.player-steps button[aria-pressed="true"] { background: var(--ink-deep); border-color: var(--ink-deep); }
.player-steps button[aria-pressed="true"] .step { color: var(--label); }
.player-steps button[aria-pressed="true"] b { color: #fff; }
.player-steps button[aria-pressed="true"] .txt { color: var(--on-dark); }
.player-steps .bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--label); }
.player-steps button[aria-pressed="false"] .bar { width: 0 !important; }
.player-phone { margin: 0; }
.player-phone video { display: block; width: 100%; height: auto; aspect-ratio: 1 / 2; background: var(--paper); }
@media (max-width: 860px) {
  .player { grid-template-columns: 1fr; }
  .player-phone { order: -1; width: 100%; max-width: 320px; margin: 0 auto; }
}

/* Language switcher (EN | ΕΛ) */
.lang-switch { display: flex; align-items: center; gap: 4px; flex: none; font-size: .88rem; font-weight: 600; color: #6c769a; }
.lang-switch a, .lang-switch [aria-current] { padding: 6px 6px; border-radius: 6px; line-height: 1; }
.lang-switch a { color: var(--on-dark-muted); text-decoration: none; }
.lang-switch a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.lang-switch [aria-current] { color: #fff; }
@media (max-width: 980px) {
  .lang-switch { margin-left: auto; order: 2; }
  .nav-toggle { margin-left: 0; order: 3; }
}
.en-only { font-size: .85em; opacity: .75; white-space: nowrap; }

/* Greek: longer words — let headings, buttons and labels wrap cleanly */
:lang(el) h1, :lang(el) h2, :lang(el) h3, :lang(el) legend, :lang(el) .display { overflow-wrap: break-word; hyphens: manual; }
:lang(el) .btn { text-align: center; }
:lang(el) .nav a { white-space: nowrap; }
:lang(el) .display { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
:lang(el) h1 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
:lang(el) .pass-head { gap: 10px; }
:lang(el) .pass-head .brand { font-size: .92rem; line-height: 1.2; min-width: 0; }
:lang(el) .pass-head small { white-space: nowrap; font-size: .78rem; }
:lang(el) .track { padding-right: 40px; }

/* Fixes: slider value on dark band; top-row tooltips inside the scroll container */
.section--ink .field label output { color: var(--label); }
.track-row:first-of-type .dot .tip { bottom: auto; top: calc(100% + 10px); }

/* Pricing by active cards: four plans */
.price-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .price-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .price-grid--4 { grid-template-columns: 1fr; } }
.price-card .limit { font-weight: 650; color: var(--ink); margin: 0; }
.calc-lines b[data-r-price] { white-space: normal; text-align: right; }
.price small { white-space: nowrap; }
.price-grid--4 .price-card { padding: clamp(20px, 2vw, 26px); }
.price-grid--4 .price { font-size: clamp(2.1rem, 3.2vw, 2.6rem); }
.price-grid--4 .btn { white-space: nowrap; padding-left: 16px; padding-right: 16px; }

/* Inside the cabinet */
.cab-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 18px; scrollbar-width: thin; }
.cab-tabs button { flex: none; font: inherit; font-weight: 600; font-size: .95rem; color: var(--ink); background: #fff; border: 1px solid #d9dfeb; border-radius: 999px; padding: 9px 18px; cursor: pointer; }
.cab-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.cab-tabs button:focus-visible { outline: 3px solid var(--label); outline-offset: 2px; }
.cab-shot { margin: 0; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid #d9dfeb; box-shadow: 0 40px 80px -48px rgba(21, 33, 74, .55); }
.cab-bar { height: 34px; background: #eef1f7; display: flex; align-items: center; gap: 7px; padding: 0 14px; }
.cab-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cfd5e2; }
.cab-bar span { margin-left: 10px; font-size: 13px; color: #7a8293; background: #fff; border-radius: 6px; padding: 3px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cab-shot img { display: block; width: 100%; height: auto; }
.cab-notes { list-style: none; padding: 0; margin: 18px 0 0; max-width: 760px; }
.cab-notes li { color: var(--muted); font-size: 1rem; }
.cab-notes b { color: var(--ink); }

/* EU GDPR badge */
.seal { display: block; width: 100%; height: auto; }
.trust { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; padding: 8px 16px 8px 8px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--muted); text-decoration: none; font-size: .86rem; line-height: 1.35; max-width: 100%; box-shadow: 0 10px 24px -18px rgba(21, 33, 74, .45); transition: border-color .2s, transform .2s; }
.trust:hover { border-color: var(--ink); transform: translateY(-1px); }
.trust .seal { width: 62px; flex: none; }
.trust b { display: block; color: var(--ink-deep); font-size: .95rem; }
.hero .trust { background: rgba(255, 255, 255, .05); border-color: rgba(226, 194, 122, .3); color: var(--on-dark); box-shadow: none; }
.hero .trust:hover { border-color: var(--label); }
.hero .trust b { color: #fff; }
.trust--sm { margin-top: 0; padding: 6px 14px 6px 6px; font-size: .8rem; box-shadow: none; }
.trust--sm .seal { width: 40px; }
.trust--sm b { font-size: .85rem; }
.form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.gdpr { background: var(--mint); }
.gdpr-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.gdpr-seal .seal { width: 100%; max-width: 220px; filter: drop-shadow(0 24px 30px rgba(21, 33, 74, .25)); transform: rotate(-8deg); }
.gdpr .lead { color: #2c4a43; }
.gdpr-checks { columns: 2; column-gap: 32px; margin-top: 22px; }
.gdpr-checks li { break-inside: avoid; }
.gdpr-checks li::before { background-color: #fff; }
@media (max-width: 760px) {
  .gdpr-grid { grid-template-columns: 1fr; }
  .gdpr-seal .seal { max-width: 150px; margin: 0 auto; }
  .gdpr-checks { columns: 1; }
  .trust { border-radius: 18px; }
}
.footer-trust { display: flex; align-items: center; gap: 12px; margin: 28px 0 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); color: inherit; text-decoration: none; font-size: .9rem; }
.footer-trust .seal { width: 46px; flex: none; }
.footer-trust b { color: inherit; }

html { scroll-padding-top: 84px; }

/* Founding clinics wall */
.founding { padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 5vw, 56px); border-top: 1px solid var(--line); }
.founding-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.founding h2 { margin: 8px 0 12px; }
.founding p { color: var(--muted); margin: 0 0 22px; max-width: 520px; }
.founding-wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.founding-wall li { aspect-ratio: 3 / 2; border: 1.5px dashed #c3cbe0; border-radius: 12px; display: grid; place-items: center; background: #fff; }
.founding-wall span { font-size: .78rem; font-weight: 600; color: #8a93a8; letter-spacing: .02em; }
.founding .runs-on { max-width: none; color: var(--ink); }
.runs-on { margin: clamp(28px, 4vw, 44px) 0 0; padding-top: 22px; border-top: 1px solid var(--line); text-align: center; color: var(--ink); font-weight: 700; font-size: 1.02rem; }
.runs-on span { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.runs-on i { font-style: normal; color: var(--label); margin: 0 .5em; }
@media (max-width: 900px) { .founding-grid { grid-template-columns: 1fr; } .founding-wall { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; } }
@media (max-width: 520px) { .founding-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); } .founding-wall li { aspect-ratio: 3 / 1; } }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mint-ink); }

/* Self-serve sign-up on the quiz result */
.signup-box { display: grid; gap: 10px; max-width: 420px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.signup-box label { font-weight: 600; color: var(--ink); font-size: .95rem; }
.signup-box input { font: inherit; padding: 12px 14px; border: 1px solid #c9d1e3; border-radius: 10px; }
.signup-box .btn { justify-self: start; }
.action-help { margin: 0; font-size: .84rem; line-height: 1.5; color: var(--muted); background: var(--paper); border-radius: 10px; padding: 10px 12px; }
.action-help b { color: var(--ink); }

/* Explainer video */
.explainer { margin: 0 0 clamp(28px, 4vw, 48px); }
.explainer video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 18px; background: var(--ink); box-shadow: 0 40px 80px -48px rgba(21, 33, 74, .55); }
.explainer figcaption { margin-top: 10px; font-size: .86rem; color: var(--muted); }

/* Aligned card rows (design-system rule): in a row of cards, matching parts (title, text, metric, link,
   source, button) start on the same line. Each card shares its parent's row tracks via CSS subgrid;
   rows-N on the container is the number of parts per card (tagged by the build tooling). */
@supports (grid-template-rows: subgrid) {
  :is(.rows-2, .rows-3, .rows-4, .rows-5, .rows-6, .rows-7) > * { display: grid; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
  .rows-2 > * { grid-row: span 2; } .rows-3 > * { grid-row: span 3; } .rows-4 > * { grid-row: span 4; }
  .rows-5 > * { grid-row: span 5; } .rows-6 > * { grid-row: span 6; } .rows-7 > * { grid-row: span 7; }
  .demos.rows-4 > .demo > figcaption { display: contents; }
  .stages > li { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; }
  .stages > li > .stage { grid-row: span 6; display: grid; grid-template-rows: subgrid; row-gap: 0; }
  .stages .stage .metric { margin-top: 0; align-self: start; }
  .price-card .btn { align-self: end; }
  .price-card .price { align-self: end; }
  .ev .src, .fact cite, .ui-kpi span { align-self: end; }
}
