/* SAYNARY landing — brand tokens per brand/saynary (guide p6–p9). Light by default, dark via prefers-color-scheme. */
:root {
  --saynary-navy: #082B70;
  --saynary-blue: #2585FF;
  --saynary-blue-600: #1A6BD8; /* CTA fill: white text 5.1:1 (WCAG AA); #2585FF alone is 3.6:1 — same shade as the app's CTA */
  --saynary-sky: #6AA9FF;
  --saynary-ink: #0D1830;
  --saynary-cloud: #F6F8FC;
  --saynary-line: #DCE4F0;
  --saynary-white: #FFFFFF;
  --success: #1A9B66;
  --warning: #D98A15;
  --urgent: #D94A4A;
  --info: #2585FF;

  --bg: var(--saynary-white);
  --bg-alt: var(--saynary-cloud);
  --surface: var(--saynary-white);
  --text: var(--saynary-ink);
  --heading: var(--saynary-ink);
  --muted: #5F6B7A;
  --line: var(--saynary-line);
  --accent: var(--saynary-blue);
  --accent-text: #1F6FE0;
  --strong: var(--saynary-navy);
  --label-decision: var(--saynary-navy);
  --navy-ui: var(--saynary-navy);
  --shadow: 0 1px 2px rgba(13, 24, 48, .04), 0 8px 24px rgba(13, 24, 48, .06);

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --font-num: Inter, "Pretendard Variable", Pretendard, system-ui, sans-serif;
  --radius: 14px;
  --wrap: 1160px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: var(--saynary-ink);
    --bg-alt: #111F3D;
    --surface: #14244A;
    --text: #E4EAF5;
    --heading: var(--saynary-white);
    --muted: #9AA8C2;
    --line: #23355E;
    --accent-text: var(--saynary-sky);
    --strong: var(--saynary-white);
    --label-decision: var(--saynary-sky);
    --navy-ui: #2A5BC4;
    --shadow: 0 1px 2px rgba(0, 0, 0, .25), 0 10px 28px rgba(0, 0, 0, .25);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { color: var(--heading); margin: 0; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.num { font-family: var(--font-num); font-variant-numeric: tabular-nums; font-weight: 600; }
.nb { white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 820px; }
:focus-visible { outline: 3px solid var(--saynary-blue); outline-offset: 2px; border-radius: 6px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--saynary-navy); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { height: 28px; width: auto; }
nav.main { display: flex; align-items: center; gap: 4px; }
.nav-anchors { display: flex; gap: 2px; margin-right: 8px; }
.link { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; padding: 8px 10px; border-radius: 8px; }
.link:hover { color: var(--heading); background: var(--bg-alt); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 600; border-radius: 12px; border: 1px solid transparent; transition: background .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn.sm { font-size: 15px; padding: 8px 14px; border-radius: 10px; }
.btn.lg { font-size: 17px; padding: 14px 24px; }
.btn.primary { background: var(--saynary-blue-600); color: #fff; }
.btn.primary:hover { background: #155BBF; }
.btn.secondary { background: transparent; color: var(--strong); border-color: var(--line); }
.btn.secondary:hover { border-color: var(--strong); }
.btn.onnavy { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn.onnavy:hover { border-color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- type ---------- */
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--accent-text); margin-bottom: 12px; text-transform: uppercase; }
.eyebrow .num { font-weight: 700; }
h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.28; letter-spacing: -0.01em; }
.sub { color: var(--muted); font-size: 18px; margin-top: 14px; max-width: 760px; }
h3 { font-size: 18px; line-height: 1.4; letter-spacing: -0.005em; }

section { padding: 96px 0; }
section.alt { background: var(--bg-alt); }

/* ---------- hero ---------- */
.hero { padding: 72px 0 88px; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%); }
.hero .grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5.2vw, 60px); line-height: 1.18; letter-spacing: -0.01em; }
.hero .lead { font-size: 19px; color: var(--muted); margin: 22px 0 32px; max-width: 560px; }
.platforms { margin-top: 22px; font-size: 14px; color: var(--muted); }

/* 30-second brief (guide p8 cards) */
.brief { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 20px; }
.brief-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 2px 4px 16px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.brief-title { font-weight: 700; color: var(--heading); font-size: 16px; }
.brief-meta { font-size: 13px; color: var(--muted); }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bcard { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px 12px; background: var(--surface); display: flex; flex-direction: column; gap: 6px; border-top: 3px solid var(--c); }
.bcard .label { font-size: 13px; font-weight: 700; color: var(--c); }
.bcard .title { font-size: 16px; font-weight: 600; color: var(--heading); line-height: 1.45; }
.bcard .meta { font-size: 12.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; margin-top: auto; }
.bcard .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c); display: inline-block; }
.bcard.decision { --c: var(--label-decision); }
.bcard.decision .dot { background: var(--success); }
.bcard.todo { --c: var(--saynary-blue); }
.bcard.issue { --c: var(--warning); }
.bcard.evidence { --c: var(--success); }

/* ---------- grids ---------- */
.grid4, .grid3 { display: grid; gap: 16px; margin-top: 40px; }
.grid4 { grid-template-columns: repeat(4, 1fr); }
.grid3 { grid-template-columns: repeat(3, 1fr); }
.feat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feat .i { width: 26px; height: 26px; fill: none; stroke: var(--saynary-blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.feat p { color: var(--muted); font-size: 15.5px; margin-top: 8px; }

/* how it works */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 40px; counter-reset: s; }
.flow li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: relative; }
.flow .step { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy-ui); color: #fff; font-size: 14px; margin-bottom: 12px; }
.flow li:last-child .step { background: var(--saynary-blue); }
.flow p { color: var(--muted); font-size: 15px; margin-top: 6px; }
.devices { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.devices p { color: var(--muted); }
.devices strong { color: var(--heading); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 14px; font-weight: 500; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-alt); }

/* use cases */
.uses { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 40px; }
.uses li { border-top: 2px solid var(--navy-ui); padding: 18px 4px 0; }
.uses p { color: var(--muted); font-size: 15px; margin-top: 8px; }
.uses .who { display: block; margin-top: 12px; font-size: 13px; color: var(--accent-text); font-weight: 600; }

/* memory */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.checks { margin-top: 28px; display: grid; gap: 16px; }
.checks li { padding-left: 30px; position: relative; color: var(--muted); font-size: 15.5px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 6px; background: var(--saynary-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
.checks strong { display: block; color: var(--heading); font-size: 17px; margin-bottom: 2px; }
.ask { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 22px; display: grid; gap: 14px; }
.ask .q { justify-self: end; max-width: 86%; background: var(--navy-ui); color: #fff; padding: 12px 16px; border-radius: 16px 16px 4px 16px; font-weight: 500; }
.ask .a { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 16px 16px 16px 4px; padding: 16px; max-width: 94%; }
.ask .a > p { color: var(--text); }
.ask .a b { color: var(--heading); }
.cites { margin-top: 12px; display: grid; gap: 8px; }
.cites li { font-size: 14px; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--success); border-radius: 8px; padding: 8px 12px; }
.cites .who { font-weight: 700; color: var(--heading); margin-right: 8px; }
.cites .num { margin-right: 8px; color: var(--accent-text); font-size: 13px; }

/* trust */
.proof { margin-top: 24px; display: inline-block; font-weight: 700; color: var(--strong); padding: 12px 18px; border-radius: 12px; background: color-mix(in srgb, var(--saynary-blue) 9%, transparent); border: 1px solid color-mix(in srgb, var(--saynary-blue) 25%, transparent); }

/* privacy */
.privacy { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 40px; }
.privacy li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; color: var(--muted); font-size: 15px; }
.privacy strong { display: block; color: var(--heading); font-size: 17px; margin-bottom: 6px; }

/* plans */
.soon-tag { display: inline-block; font-size: 13px; font-weight: 600; color: var(--warning); border: 1px solid color-mix(in srgb, var(--warning) 45%, transparent); border-radius: 999px; padding: 2px 10px; margin-left: 4px; vertical-align: 2px; }
.plans { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 36px; }
.plans li { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: var(--surface); display: grid; gap: 4px; }
.plans .plan { color: var(--muted); font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.plans .plan b { display: block; color: var(--strong); font-size: 20px; letter-spacing: 0; }
.plans .for { font-size: 14px; color: var(--muted); }

/* faq */
.faq { margin-top: 32px; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--heading); padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding-bottom: 18px; font-size: 15.5px; }
.faq a { color: var(--accent-text); }

/* final CTA — solid Saynary Navy with the official Reverse (all-white) symbol, as in guide p3 "Reverse / 반전" (docs/brand.md 2026-10-05) */
.final { padding: 88px 0; }
.final .box { border-radius: 24px; padding: 56px 32px; text-align: center; color: #fff; background: var(--saynary-navy); display: grid; justify-items: center; gap: 14px; }
.final h2 { color: #fff; }
.final .box > p { color: rgba(255, 255, 255, .78); font-weight: 600; }
.final .cta-row { justify-content: center; margin-top: 10px; }
.final-mark { width: 52px; height: auto; margin-bottom: 4px; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: 14px; color: var(--muted); }
footer .wrap { display: grid; grid-template-columns: 1fr auto; gap: 20px 32px; align-items: start; }
.foot-brand img { height: 27px; width: auto; margin-bottom: 10px; } /* 124 px wide: full logo min 120 px (guide p4) */
.foot-brand p + p { margin-top: 4px; }
.pron { color: var(--text); font-weight: 600; }
.pron .ipa { font-family: var(--font-num); font-weight: 400; color: var(--muted); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--heading); text-decoration: underline; }
.foot-links b { font-weight: 700; color: var(--text); }
footer .copy { grid-column: 1 / -1; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-anchors { display: none; }
  .grid4, .privacy { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); }
  .uses { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .plans { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .hero .grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .grid3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  section { padding: 64px 0; }
  .hero { padding: 44px 0 56px; }
  .hero .lead { font-size: 17px; }
  .sub { font-size: 16.5px; }
  .top .wrap { height: 58px; }
  .logo img { height: 27px; } /* stays >= 120 px wide (guide p4) */
  nav.main .link { padding: 8px 8px; font-size: 14px; }
  .btn.lg { width: 100%; }
  .cta-row { flex-direction: column; }
  .cards { grid-template-columns: 1fr; }
  .brief { padding: 16px; }
  .grid4, .privacy, .flow, .uses, .plans { grid-template-columns: 1fr; }
  .uses li { padding-top: 14px; }
  .final .box { padding: 40px 20px; }
  footer .wrap { grid-template-columns: 1fr; }
}
/* ---------- v0.7 i18n: language menu, no-flash guard ---------- */
.i18n-pending body { visibility: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lang-menu { display: inline-flex; align-items: center; gap: 8px; margin-left: 6px; }
.lang-menu select { font: inherit; font-size: 14px; color: var(--text); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235F6B7A' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.8 3 2.8 15 0 18M12 3c-2.8 3-2.8 15 0 18'/%3E%3C/svg%3E") 10px center / 16px no-repeat; border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px 7px 32px; cursor: pointer; appearance: none; -webkit-appearance: none; }
.lang-menu select:hover { border-color: var(--strong); }
.lang-menu.foot { margin: 0; color: var(--muted); font-size: 14px; }
.teaser { margin-top: 14px; font-size: 15px; }
.teaser a { color: var(--accent-text); text-decoration: none; font-weight: 600; }
.teaser a:hover { text-decoration: underline; }
.teaser sup, .pain-a .fn { font-size: .75em; }

/* ---------- v0.7 "혹시 이런 적 있나요?" ---------- */
.pains { padding: 88px 0; }
.stats { margin-top: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-alt); padding: 18px 22px; display: grid; gap: 8px; }
.stat-nums { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.stat-nums li { display: flex; align-items: baseline; gap: 8px; color: var(--muted); font-size: 14.5px; }
.stat-nums .big { font-size: 26px; color: var(--strong); line-height: 1; }
.stat-text { color: var(--text); font-size: 15.5px; }
.stat-source { color: var(--muted); font-size: 12.5px; }
.bridge { margin-top: 18px; color: var(--strong); font-weight: 600; font-size: 17px; max-width: 860px; }
.pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 32px; }
.pain { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; display: grid; gap: 10px; align-content: start; box-shadow: var(--shadow); }
.pain-q { font-weight: 700; color: var(--heading); font-size: 17.5px; line-height: 1.5; }
.pain-a { color: var(--text); font-size: 15.5px; padding-left: 12px; border-left: 3px solid var(--saynary-blue); }
.pain-label { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--accent-text); margin-right: 4px; letter-spacing: .02em; }
.pain-a .fn { color: var(--accent-text); text-decoration: none; font-weight: 700; vertical-align: super; }
.pain-note { color: var(--muted); font-size: 13.5px; }
.footnote { margin-top: 14px; color: var(--muted); font-size: 13.5px; max-width: 900px; }
.story { margin: 40px 0 0; padding: 26px 28px; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--line); border-left: 4px solid var(--saynary-navy); }
.story-label { font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--accent-text); text-transform: uppercase; }
.story blockquote { margin: 10px 0 0; color: var(--text); font-size: 16.5px; line-height: 1.75; }
.story-sign { margin-top: 12px; color: var(--muted); font-weight: 600; font-size: 14.5px; }
@media (prefers-color-scheme: dark) { .story { border-left-color: var(--saynary-sky); } }
.pains-cta { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.pains-cta p { font-size: 19px; font-weight: 700; color: var(--heading); }
@media (max-width: 640px) {
  .pain-grid { grid-template-columns: 1fr; }
  .pains { padding: 60px 0; }
  .stat-nums .big { font-size: 22px; }
  .story { padding: 20px; }
  .pains-cta { flex-direction: column; align-items: stretch; }
  .lang-menu select { width: 40px; padding: 7px 0; color: transparent; background-position: center; }
  .lang-menu select option { color: var(--saynary-ink); }
  .lang-menu.foot select { width: auto; padding: 7px 10px 7px 32px; color: var(--text); background-position: 10px center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* v0.7 i18n: Japanese / Chinese have no spaces between words — keep-all would never break a line */
html[lang="ja"] body, html[lang="zh-CN"] body { word-break: normal; line-break: strict; overflow-wrap: anywhere; }
html[lang="ja"] .nb, html[lang="zh-CN"] .nb { white-space: normal; }
.stat-nums .big, nav.main .link, .btn { white-space: nowrap; overflow-wrap: normal; }
@media (max-width: 640px) { .stat-nums li { display: grid; grid-template-columns: 56px 1fr; align-items: baseline; } }

/* ---------- v0.9 product family: call takeover · SAYNARY / Knowledge / Works (2026-10-05) ---------- */
:root { --success-text: #13774F; --warning-text: #A8650A; --lane-w: 60px; }
@media (prefers-color-scheme: dark) { :root { --success-text: #5BD3A0; --warning-text: #EBA94A; } }
.nav-anchors .link { white-space: nowrap; }
@media (max-width: 1240px) { .nav-anchors .wide { display: none; } }

/* call takeover spotlight — navy band (solid brand colour, no gradient) */
.callover { background: var(--saynary-navy); color: #fff; }
@media (prefers-color-scheme: dark) { .callover { background: #0A2259; border-block: 1px solid var(--line); } }
.callover h2 { color: #fff; }
.callover .eyebrow { color: var(--saynary-sky); }
.callover .sub { color: rgba(255, 255, 255, .82); }
.call-steps { margin-top: 28px; display: grid; gap: 16px; }
.call-steps li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; }
.call-steps .step { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .3); color: #fff; font-size: 14px; }
.call-steps li:nth-child(2) .step { background: var(--saynary-blue); border-color: var(--saynary-blue); }
.call-steps p { color: rgba(255, 255, 255, .78); font-size: 15.5px; }
.call-steps strong { display: block; color: #fff; font-size: 17px; margin-bottom: 2px; }
.call-note { margin-top: 22px; font-size: 13.5px; color: rgba(255, 255, 255, .66); max-width: 560px; }
.call-viz { background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: 0 24px 60px rgba(0, 0, 0, .28); min-width: 0; }
.cv-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.cv-title { font-weight: 700; color: var(--heading); font-size: 16px; }
.cv-len { color: var(--muted); font-size: 13px; }
.cv-pins { position: relative; height: 38px; margin-left: calc(var(--lane-w) + 10px); }
.pin { position: absolute; bottom: 8px; left: calc(var(--at) * 1%); font-size: 12px; font-weight: 700; color: var(--warning-text); white-space: nowrap; padding-right: 8px; transform: translateX(-100%); }
.pin.end { transform: none; padding: 0 0 0 8px; }
.pin::after { content: ""; position: absolute; right: 0; top: calc(100% + 2px); height: 128px; border-left: 1px dashed color-mix(in srgb, var(--warning) 75%, transparent); }
.pin.end::after { right: auto; left: 0; }
.cv-lanes { display: grid; gap: 12px; position: relative; }
.lane { display: grid; grid-template-columns: var(--lane-w) 1fr; gap: 10px; align-items: center; }
.lane-name { font-size: 13px; font-weight: 600; color: var(--muted); }
.lane.total .lane-name { color: var(--heading); }
.bar { position: relative; height: 34px; border-radius: 8px; background: var(--bg-alt); border: 1px solid var(--line); overflow: hidden; }
.seg { position: absolute; top: 0; bottom: 0; left: calc(var(--s) * 1%); width: calc((var(--e) - var(--s)) * 1%); display: flex; align-items: center; justify-content: center; padding: 0 6px; font-style: normal; font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; }
.seg span { overflow: hidden; text-overflow: ellipsis; }
.seg.rec { background: var(--navy-ui); color: #fff; }
.seg.call { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--warning) 20%, transparent) 0 6px, transparent 6px 12px); color: var(--warning-text); }
.seg.watch { background: var(--saynary-blue); color: #fff; border-radius: 7px; }
.seg.full { background: color-mix(in srgb, var(--success) 14%, transparent); color: var(--success-text); box-shadow: inset 3px 0 0 var(--success); }
.cv-axis { display: flex; justify-content: space-between; margin: 10px 0 0 calc(var(--lane-w) + 10px); font-size: 12px; color: var(--muted); }
.cv-devices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.cv-devices li { font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-alt); color: var(--text); }

/* product family */
.family { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.prod { --c: var(--navy-ui); position: relative; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--c); border-radius: 18px; padding: 24px 24px 22px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow); min-width: 0; }
.prod.know { --c: var(--saynary-blue); }
.prod.works { --c: var(--saynary-sky); }
.pi { width: 32px; height: 32px; fill: none; stroke: var(--saynary-blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.prod-name { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
.prod-name b { display: block; font-size: 26px; line-height: 1.2; color: var(--strong); letter-spacing: -0.01em; margin-top: 2px; }
.prod-line { color: var(--text); font-size: 16px; }
.prod-points { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.prod-points li { position: relative; padding-left: 18px; font-size: 15px; color: var(--muted); }
.prod-points li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.prod-link { margin-top: auto; padding-top: 6px; color: var(--accent-text); font-weight: 600; font-size: 15px; text-decoration: none; }
.prod-link:hover { text-decoration: underline; }
.new-tag { position: absolute; top: 22px; right: 20px; font-size: 12px; font-weight: 700; color: var(--accent-text); background: color-mix(in srgb, var(--saynary-blue) 10%, transparent); border: 1px solid color-mix(in srgb, var(--saynary-blue) 30%, transparent); border-radius: 999px; padding: 2px 10px; }
.process { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; margin-top: 24px; padding: 12px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.process li { font-size: 14.5px; font-weight: 600; color: var(--strong); white-space: nowrap; }
.process li:not(:last-child)::after { content: "→"; margin: 0 10px; color: var(--muted); font-weight: 400; }
.process li:last-child { color: var(--accent-text); }
.family-note { margin-top: 14px; font-size: 15px; color: var(--muted); }

/* knowledge */
.kdemo .q { max-width: 90%; }
.kcard { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 16px 16px 16px 4px; padding: 16px; display: grid; gap: 8px; max-width: 96%; }
.kcard-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.kind { font-size: 13px; font-weight: 700; color: var(--accent-text); }
.verified { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--success-text); background: color-mix(in srgb, var(--success) 12%, transparent); border-radius: 999px; padding: 2px 10px; }
.verified .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); display: inline-block; }
.ktitle { font-size: 17px; font-weight: 700; color: var(--heading); line-height: 1.45; }
.kcond { font-size: 14px; color: var(--muted); }
.lineage { display: grid; gap: 6px; margin-top: 2px; }
.lineage li { font-size: 13.5px; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--success); border-radius: 8px; padding: 7px 10px; }
.lineage .who { font-weight: 700; color: var(--heading); margin-right: 8px; }
.lineage .num { color: var(--accent-text); font-size: 13px; }
.kplay { justify-self: start; font-size: 13.5px; font-weight: 700; color: var(--accent-text); }
.kgrid, .wgrid { margin-top: 48px; }
.contrib { margin-top: 40px; border: 1px solid var(--line); border-radius: 20px; background: var(--bg-alt); padding: 32px; display: grid; grid-template-columns: 1fr 1.5fr; gap: 16px 40px; align-items: start; }
.contrib-head { grid-row: span 2; }
.contrib-head h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.3; }
.contrib-head > p:last-child { color: var(--muted); margin-top: 12px; font-size: 16px; }
.contrib-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contrib-list li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px; font-size: 14.5px; color: var(--muted); }
.contrib-list li:first-child { grid-column: 1 / -1; border-left: 3px solid var(--success); }
.contrib-list strong { display: block; color: var(--heading); font-size: 16px; margin-bottom: 4px; }
.contrib-note { font-size: 13.5px; color: var(--muted); }
.principle { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 12px; padding: 14px 18px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--navy-ui); color: var(--heading); font-weight: 600; font-size: 15.5px; }
.principle strong { flex: none; color: #fff; background: var(--navy-ui); border-radius: 999px; font-size: 12.5px; padding: 2px 10px; }
@media (prefers-color-scheme: dark) { .principle { border-left-color: var(--saynary-sky); } }

/* works */
.tagline { margin-top: 10px; font-size: 17px; font-weight: 600; color: var(--accent-text); }
.wdemo { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 16px; display: grid; gap: 14px; min-width: 0; }
.frame { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; background: #0E1E40; }
.frame-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.play { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .3); }
.play svg { width: 22px; height: 22px; fill: var(--saynary-navy); margin-left: 3px; }
.frame-meta { position: absolute; top: 10px; left: 10px; max-width: calc(100% - 20px); font-size: 12px; font-weight: 600; color: #fff; background: rgba(8, 43, 112, .8); padding: 3px 10px; border-radius: 999px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frame-cap { position: absolute; left: 12px; right: 12px; bottom: 18px; text-align: center; color: #fff; font-size: 14.5px; font-weight: 600; line-height: 1.4; text-shadow: 0 1px 4px rgba(0, 0, 0, .7); }
.scrub { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(255, 255, 255, .2); }
.scrub i { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--p) * 1%); background: var(--saynary-blue); }
.scrub b { position: absolute; top: -1px; bottom: -1px; left: calc(var(--s) * 1%); width: calc((var(--e) - var(--s)) * 1%); background: var(--saynary-sky); }
.wanswer { display: grid; gap: 8px; }
.wq { justify-self: end; max-width: 92%; background: var(--navy-ui); color: #fff; padding: 9px 14px; border-radius: 14px 14px 4px 14px; font-weight: 500; font-size: 15px; }
.wlabel { font-size: 12.5px; font-weight: 700; color: var(--muted); letter-spacing: .02em; margin-top: 2px; }
.wsteps { display: grid; gap: 6px; }
.wsteps li { display: grid; grid-template-columns: 24px 1fr auto; gap: 10px; align-items: center; font-size: 14.5px; color: var(--text); padding: 6px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-alt); }
.wsteps li.on { border-color: color-mix(in srgb, var(--saynary-blue) 55%, var(--line)); background: color-mix(in srgb, var(--saynary-blue) 9%, var(--surface)); }
.wsteps .sn { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-ui); color: #fff; font-size: 12px; }
.wsteps .ts { font-size: 12.5px; color: var(--accent-text); white-space: nowrap; }
.wcaution { font-size: 13.5px; font-weight: 600; color: var(--warning-text); padding: 7px 10px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--warning) 40%, transparent); background: color-mix(in srgb, var(--warning) 8%, transparent); }
.feat .soon-tag { margin-left: 2px; color: var(--warning-text); }
.governance { margin-top: 24px; padding: 16px 20px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 15px; }
.governance strong { color: var(--heading); }

@media (max-width: 1080px) {
  .family { grid-template-columns: 1fr 1fr; }
  .family .prod.conv { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .kgrid { grid-template-columns: 1fr 1fr; }
  .contrib { grid-template-columns: 1fr; }
  .contrib-head { grid-row: auto; }
}
@media (max-width: 640px) {
  :root { --lane-w: 44px; }
  .wrap { padding: 0 16px; }
  .family, .kgrid, .contrib-list { grid-template-columns: 1fr; }
  .call-viz { padding: 16px; }
  .lane-name { font-size: 12px; }
  .pin { font-size: 11px; padding-right: 5px; }
  .pin.end { padding-left: 5px; }
  .seg { font-size: 11px; padding: 0 3px; }
  .prod { padding: 22px 18px 20px; }
  .prod-name b { font-size: 24px; }
  .process { padding: 10px 14px; }
  .process li { font-size: 13.5px; }
  .process li:not(:last-child)::after { margin: 0 7px; }
  .contrib { padding: 20px 16px; }
  .principle { flex-direction: column; gap: 6px; }
  .wdemo { padding: 12px; }
  .frame-cap { font-size: 13px; bottom: 14px; }
}
@media (max-width: 420px) {
  .hero h1 { font-size: 32px; }
  .hero h1 .nb { white-space: normal; }
  .hero .grid > * { min-width: 0; }
}

[hidden] { display: none !important; }
