/* Vigil public site (JP 2026-11-13): home, download, pricing. Same palette as the hub page. */
:root {
  --bg: #0b1013; --panel: #121a1f; --panel2: #18232a; --line: #24323a; --text: #e2eaee; --muted: #93a5b0;
  --accent: #5cc8c0; --accent-ink: #052321; --accent-soft: rgba(92, 200, 192, .12); --warn: #e0b341;
  color-scheme: dark;
}
* { box-sizing: border-box; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* top bar */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(11, 16, 19, .88); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 22px; height: 62px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 19px; letter-spacing: .2px; }
.logo:hover { text-decoration: none; }
.logo img { width: 30px; height: 30px; }
/* keyboard users: a visible focus ring everywhere, and a link past the menu */
a:focus-visible, button:focus-visible, summary:focus-visible, .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 30; background: var(--accent); color: var(--accent-ink); font-weight: 600;
  padding: 9px 14px; border-radius: 8px; }
.skip:focus { top: 10px; text-decoration: none; }
.nav .links { display: flex; gap: 20px; margin-left: 8px; }
.nav .links a { color: var(--muted); font-size: 15px; }
.nav .links a.on, .nav .links a:hover { color: var(--text); text-decoration: none; }
.nav .right { margin-left: auto; display: flex; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 9px;
  border: 1px solid var(--line); background: var(--panel2); color: var(--text); font-weight: 600; font-size: 15px; cursor: pointer; }
.btn:hover { text-decoration: none; border-color: #3a4b55; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { filter: brightness(1.07); }
.btn, .feat, .ccard, .fgroup, .os, .plan { transition: border-color .15s ease, box-shadow .2s ease, filter .15s ease; }
.feat:hover, .ccard:hover, .os:hover { border-color: #33454f; }
.btn.big { padding: 13px 24px; font-size: 16px; }

/* hero */
.hero { padding: 84px 0 64px; background: radial-gradient(900px 420px at 75% -10%, rgba(92, 200, 192, .16), transparent 70%); }
.hero h1 { font-size: clamp(34px, 5.2vw, 56px); line-height: 1.08; margin: 0 0 18px; letter-spacing: -.8px; max-width: 760px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 640px; margin: 0 0 30px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 34px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.hero .facts li::before { content: "\2713"; color: var(--accent); margin-right: 7px; font-weight: 700; }

section.block { padding: 64px 0; border-top: 1px solid var(--line); }
.kicker { color: var(--accent); font-weight: 650; font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; margin: 0 0 8px; }
h2.title { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; margin: 0 0 12px; letter-spacing: -.4px; }
p.sub { color: var(--muted); max-width: 680px; margin: 0 0 34px; font-size: 17px; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.feat { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.feat .ic { width: 38px; height: 38px; border-radius: 9px; background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 12px; }
.feat .ic svg { width: 21px; height: 21px; }
.feat h3 { margin: 0 0 6px; font-size: 17px; }
.feat p { margin: 0; color: var(--muted); font-size: 15px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 22px 52px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent); font-weight: 700; display: grid; place-items: center; }
.steps b { display: block; margin-bottom: 2px; }
.steps span { color: var(--muted); font-size: 15px; }
/* account menu in the top bar */
.acct { position: relative; }
.acct-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 190px; background: var(--panel); border: 1px solid var(--line);
  border-radius: 10px; padding: 6px; display: flex; flex-direction: column; box-shadow: 0 12px 30px rgba(0, 0, 0, .45); z-index: 20; }
.acct-menu[hidden] { display: none; }
.acct-menu a, .acct-menu button { text-align: left; padding: 9px 12px; border-radius: 6px; color: var(--text); font: inherit; font-size: 14.5px;
  background: none; border: 0; cursor: pointer; text-decoration: none; }
.acct-menu a:hover, .acct-menu button:hover { background: rgba(255, 255, 255, .06); text-decoration: none; }
.acct-menu button { border-top: 1px solid var(--line); border-radius: 0 0 6px 6px; margin-top: 4px; color: var(--muted); }
.homeshot { margin: 0; }
.homeshot img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 14px; }
.homeshot figcaption { color: var(--muted); font-size: 13px; margin-top: 8px; }
.panelshot { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.panelshot .tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.panelshot .tiles i { aspect-ratio: 16/9; border-radius: 5px; background: linear-gradient(135deg, #1b2a31, #0f171b);
  position: relative; overflow: hidden; }
.panelshot .tiles i::after { content: ""; position: absolute; border: 2px solid var(--accent); border-radius: 3px; }
.panelshot .tiles i:nth-child(2)::after { left: 38%; top: 30%; width: 18%; height: 52%; }
.panelshot .tiles i:nth-child(5)::after { left: 20%; top: 42%; width: 40%; height: 34%; border-color: var(--warn); }
.panelshot .tiles i:nth-child(7)::after { left: 58%; top: 26%; width: 14%; height: 48%; }
.panelshot .bar { display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; margin-bottom: 10px; }
.panelshot .bar b { color: var(--accent); font-weight: 600; }

/* pricing */
.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); align-items: stretch; }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; }
.plan.hot { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.plan .badge { align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--accent-ink); background: var(--accent);
  border-radius: 20px; padding: 2px 10px; margin-bottom: 10px; }
.plan h3 { margin: 0; font-size: 21px; }
.plan .blurb { color: var(--muted); font-size: 14px; margin: 4px 0 18px; min-height: 2.6em; }
.plan .price { font-size: 38px; font-weight: 750; letter-spacing: -1px; }
.plan .price small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .alt { color: var(--muted); font-size: 13px; min-height: 1.5em; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 22px; flex: 1; }
.plan li { padding: 5px 0 5px 24px; position: relative; font-size: 15px; }
.plan li::before { content: "\2713"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.toggle { display: inline-flex; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 4px; margin-bottom: 26px; }
.toggle button { border: 0; background: none; color: var(--muted); padding: 8px 16px; border-radius: 7px; font: inherit; font-weight: 600; cursor: pointer; }
.toggle button.on { background: var(--panel2); color: var(--text); }
.toggle .save { color: var(--accent); font-size: 12px; margin-left: 4px; }
.faq { max-width: 780px; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { color: var(--muted); margin: 8px 0 0; }

/* download */
.oses { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.os { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; }
.os.mine { border-color: var(--accent); }
.os h3 { margin: 0 0 4px; font-size: 19px; display: flex; align-items: center; gap: 10px; }
.os h3 svg { width: 24px; height: 24px; color: var(--accent); }
.os .req { color: var(--muted); font-size: 13px; margin: 0 0 14px; }
.os ol { padding-left: 20px; margin: 0 0 18px; flex: 1; font-size: 15px; }
.os li { margin: 5px 0; }
code { background: var(--panel2); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; font-size: 13.5px; }
.ver { color: var(--muted); font-size: 14px; margin: -18px 0 28px; }
.note { background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 8px;
  padding: 14px 16px; color: var(--muted); font-size: 15px; margin-top: 26px; }

footer { border-top: 1px solid var(--line); padding: 30px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
footer .sp { margin-left: auto; }
footer .logo { font-size: 16px; }
footer .logo img { width: 22px; height: 22px; }
.flinks { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 760px) {
  .nav .wrap { flex-wrap: wrap; height: auto; padding-top: 10px; row-gap: 6px; }
  .nav .links { order: 3; flex: 0 0 100%; margin: 0; gap: 4px 18px; overflow-x: auto; white-space: nowrap; padding: 4px 0 10px;
    scrollbar-width: none; }
  .nav .links::-webkit-scrollbar { display: none; }
  .nav .links a { font-size: 14px; padding: 4px 0; }
  .nav .right .btn { padding: 8px 14px; font-size: 14px; }
  .nav .right .btn.primary:not(:only-child) { display: none; }   /* phones: Sign in / My account stays, Download is in the page */
  .nav .wrap { gap: 12px; }
  .split { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 44px; }
  section.block { padding: 48px 0; }
  .wrap { padding: 0 16px; }
}

/* guide page (JP 11-13: "i dont see any instruction") */
.guide { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: start; }
.toc { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.toc a { color: var(--muted); text-decoration: none; padding: 6px 10px; border-radius: 6px; }
.toc a:hover { color: var(--text, inherit); background: var(--panel); }
.doc { max-width: 760px; min-width: 0; }
.doc h2 { font-size: 24px; margin: 40px 0 10px; scroll-margin-top: 84px; }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc li { color: var(--muted); line-height: 1.65; }
.doc table.roles { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14px; display: block; overflow-x: auto; }
.doc table.roles th, .doc table.roles td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.doc table.roles th { color: var(--text); font-weight: 600; }
.doc table.roles td { color: var(--muted); }
.doc table.roles td:first-child { color: var(--text); white-space: nowrap; }
.doc li { margin-bottom: 8px; }
.doc b { color: var(--text, inherit); font-weight: 600; }
.doc pre { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px;
  overflow-x: auto; font-size: 13px; }
.doc .tip { background: var(--panel); border-left: 3px solid var(--accent); padding: 10px 14px; border-radius: 6px; }
/* manual: screenshots (drawn demo scenes, never real footage: JP 11-15) */
.doc figure.shot { margin: 16px 0 22px; }
.doc figure.shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 10px; }
.doc figure.shot figcaption { color: var(--muted); font-size: 13px; margin-top: 8px; }
.doc .phones { display: flex; gap: 16px; flex-wrap: wrap; }
.doc .phones figure.shot { flex: 0 1 240px; }
.doc h3 { font-size: 17px; margin: 22px 0 6px; }
.doc .num { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent); color: #0b1013; font-size: 12px; font-weight: 700; vertical-align: 1px; }
.doc ol figure.shot { margin-left: -20px; }
.doc .note { font-size: 13px; color: var(--muted); }
@media (max-width: 860px) {
  .guide { grid-template-columns: 1fr; gap: 20px; }
  .toc { position: static; flex-direction: row; flex-wrap: wrap; }
  .toc a { padding: 4px 8px; border: 1px solid var(--line); }
}

/* home page: full feature list, compatibility, "Will it run on my PC?", specs per plan (JP 2026-11-14) */
.tag { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .3px; color: var(--accent);
  background: var(--accent-soft); border: 1px solid rgba(92, 200, 192, .35); border-radius: 20px; padding: 0 8px;
  line-height: 1.6; vertical-align: 1px; white-space: nowrap; }
.taglegend { color: var(--muted); font-size: 14px; margin: -18px 0 26px; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.taglegend .tag { margin-left: 8px; }
.taglegend .tag:first-child { margin-left: 0; }
.fgroups { columns: 3 320px; column-gap: 16px; }
.fgroup { break-inside: avoid; background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 20px 14px; margin: 0 0 16px; }
.fgroup h3 { margin: 0 0 10px; font-size: 17px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fgroup h3 .ic { width: 32px; height: 32px; border-radius: 8px; background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; flex: none; }
.fgroup h3 .ic svg { width: 18px; height: 18px; }
.fgroup ul { list-style: none; padding: 0; margin: 0; }
.fgroup li { position: relative; padding: 5px 0 5px 20px; color: var(--muted); font-size: 14.5px; line-height: 1.45;
  border-top: 1px solid rgba(36, 50, 58, .6); }
.fgroup li:first-child { border-top: 0; }
.fgroup li::before { content: "\2713"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

.compat { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.ccard { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.ccard h3 { margin: 0 0 8px; font-size: 17px; }
.ccard ul { margin: 0; padding-left: 18px; }
.ccard li { color: var(--muted); font-size: 14.5px; margin: 6px 0; }
.ccard b { color: var(--text); font-weight: 600; }

.checker { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.checker form { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.checker fieldset { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); margin: 0; padding: 14px 18px 18px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; min-width: 0; }
.checker legend { padding: 0 6px; font-weight: 650; font-size: 14px; color: var(--text); }
.checker label { display: flex; flex-direction: column; gap: 5px; font-size: 13.5px; color: var(--muted); min-width: 0; }
.checker label.full { grid-column: 1 / -1; }
.checker label.off { opacity: .45; }
.checker .opt { font-size: 12.5px; }
.checker .hint { font-size: 12.5px; color: var(--accent); min-height: 0; }
.checker input, .checker select { width: 100%; min-width: 0; font: inherit; font-size: 15px; color: var(--text); background: var(--panel2);
  border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
.checker input:focus, .checker select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.checker .pair { display: flex; gap: 8px; }
.checker .pair input { flex: 1; }
.checker .pair select { width: auto; flex: none; }
.result { position: sticky; top: 84px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px;
  display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.result .sub { margin: 0; }
.verdict { display: flex; gap: 12px; align-items: flex-start; border-radius: 10px; padding: 12px 14px; background: var(--panel2);
  border: 1px solid var(--line); }
.verdict b { display: block; font-size: 18px; color: var(--text); }
.verdict span:not(.vdot) { color: var(--muted); font-size: 14px; }
.vdot { width: 12px; height: 12px; border-radius: 50%; margin-top: 6px; flex: none; background: var(--muted); }
.v-great .vdot, .v-good .vdot { background: var(--accent); }
.v-great, .v-good { border-color: rgba(92, 200, 192, .45); }
.v-ok .vdot, .v-warn .vdot { background: var(--warn); }
.v-ok, .v-warn { border-color: rgba(224, 179, 65, .45); }
.v-bad .vdot { background: #e06a5c; }
.v-bad { border-color: rgba(224, 106, 92, .5); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.stat { background: var(--panel2); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; min-width: 0; }
.stat small { display: block; color: var(--muted); font-size: 12.5px; }
.stat strong { display: block; font-size: 28px; line-height: 1.2; letter-spacing: -.5px; font-variant-numeric: tabular-nums; }
.stat strong.sm { font-size: 15px; line-height: 1.35; margin: 4px 0 2px; letter-spacing: 0; overflow-wrap: anywhere; }
.stat span { color: var(--muted); font-size: 12.5px; }
.perf h4 { margin: 0 0 6px; font-size: 15px; }
.perf p { margin: 0 0 6px; color: var(--muted); font-size: 14.5px; }
.perf .muted { font-size: 13.5px; }
.facts2 { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14.5px; }
.facts2 li { margin: 4px 0; }
.facts2 b { color: var(--text); }
.meters { display: flex; flex-direction: column; gap: 8px; }
.meter { display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr) 3.2em; gap: 10px; align-items: center; font-size: 13.5px; }
.meter .mname { color: var(--muted); }
.meter .mname b { color: var(--text); font-weight: 600; }
.meter .mbar { height: 8px; border-radius: 4px; background: var(--panel2); overflow: hidden; }
.meter .mbar i { display: block; height: 100%; border-radius: 4px; background: rgba(92, 200, 192, .45); }
.meter.worst .mbar i { background: var(--accent); }
.meter .mval { text-align: right; font-variant-numeric: tabular-nums; color: var(--text); }
.estimate { margin: 0; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }

.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
table.specs { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.specs th, table.specs td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
table.specs thead th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .6px; }
table.specs tbody th { color: var(--text); white-space: nowrap; }
table.specs td { color: var(--muted); }
table.specs tbody tr:last-child th, table.specs tbody tr:last-child td { border-bottom: 0; }

@media (max-width: 900px) {
  .checker { grid-template-columns: 1fr; }
  .result { position: static; }
}
@media (max-width: 760px) {
  .checker fieldset { grid-template-columns: 1fr; padding: 12px 14px 14px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats .stat:last-child { grid-column: 1 / -1; }
  .meter { grid-template-columns: minmax(0, 1fr) 3em; }
  .meter .mbar { grid-column: 1 / -1; grid-row: 2; }
  .fgroups { columns: 1; }
  .compat { grid-template-columns: 1fr; }
  .tablewrap { overflow: visible; border: 0; background: none; }
  table.specs, table.specs tbody, table.specs tr, table.specs th, table.specs td { display: block; width: 100%; }
  table.specs thead { display: none; }
  table.specs tr { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; padding: 6px 0; }
  table.specs th, table.specs td { border-bottom: 0; padding: 6px 14px; }
  table.specs tbody th { font-size: 17px; white-space: normal; }
  table.specs td::before { content: attr(data-l); display: block; color: var(--text); font-size: 12.5px; font-weight: 600; }
}
@media (min-width: 761px) { section[id] { scroll-margin-top: 70px; } }
.steps span b { display: inline; margin: 0; }

.todo { background: #ffe08a; color: #3a2a00; padding: 0 4px; border-radius: 3px; }

/* ---------------------------------------------------------------------------------------------------------------
   Home page hero: the product's opening animation, "neural wake" (from Vigil's own start-up screen). The brain draws
   itself in, its circuits light one by one, the eye opens; after that only the glow behind it breathes. Every class
   and keyframe is prefixed wk- / wake so nothing here meets the rest of this sheet. The box has a fixed aspect ratio,
   so nothing moves when it paints. Motion off (prefers-reduced-motion): the finished logo, still. */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) clamp(220px, 27vw, 330px); gap: 48px; align-items: center; }
.wake { position: relative; width: 100%; aspect-ratio: 1 / 1; justify-self: end; }
.wake-logo { position: relative; display: block; width: 100%; height: 100%; overflow: visible;
  filter: drop-shadow(0 0 6px rgba(139, 92, 246, .5)) drop-shadow(0 0 14px rgba(56, 189, 248, .3)); }
.wake-logo path, .wake-logo .wk-ring { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.wk-brain, .wk-dsh { stroke-dasharray: 1; stroke-dashoffset: 1; animation: wk-draw 1.4s ease-out forwards; }
.wk-dsh { animation-delay: .5s; }
.wk-circ { stroke-dasharray: 1; stroke-dashoffset: 1; animation: wk-draw .5s ease-out var(--d, 0s) forwards; }
.wk-node { opacity: 0; transform-box: fill-box; transform-origin: center; animation: wk-node .35s ease-out var(--d, 0s) forwards; }
.wk-lid { transform-origin: 243px 200px; transform: scaleY(.04); animation: wk-open .7s cubic-bezier(.2, .9, .3, 1.2) 1.6s forwards; }
.wk-iris { opacity: 0; animation: wk-fade .4s ease-out 2s forwards; }
.wake-glow { position: absolute; inset: -14%; opacity: 0; pointer-events: none; animation: wk-fade .9s ease-out 1.9s forwards; }
.wake-glow::before { content: ""; position: absolute; inset: 0; border-radius: 50%; opacity: .55;
  background: radial-gradient(closest-side, rgba(109, 124, 246, .34), rgba(56, 189, 248, .12) 58%, transparent 74%);
  animation: wk-breathe 3.6s ease-in-out 2.6s infinite; will-change: opacity, transform; }
.wake.paused .wake-glow::before { animation-play-state: paused; }
@keyframes wk-draw { to { stroke-dashoffset: 0; } }
@keyframes wk-node { 0% { opacity: 0; transform: scale(0); } 60% { opacity: 1; transform: scale(1.3); } 100% { opacity: 1; transform: scale(1); } }
@keyframes wk-open { to { transform: scaleY(1); } }
@keyframes wk-fade { to { opacity: 1; } }
@keyframes wk-breathe { 0%, 100% { opacity: .55; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.05); } }
.hero .btn.primary.big { box-shadow: 0 0 0 1px rgba(92, 200, 192, .25), 0 6px 26px -8px rgba(92, 200, 192, .55); }
.hero .btn.primary.big:hover { box-shadow: 0 0 0 1px rgba(92, 200, 192, .4), 0 8px 32px -6px rgba(92, 200, 192, .75); }

/* sections rise into place as they scroll into view. site.js adds .reveal only to blocks that start below the
   screen, and only when motion is allowed, so without JavaScript nothing is ever hidden. */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .45s ease-out, transform .45s ease-out; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; gap: 18px; }
  .wake { order: -1; width: 124px; justify-self: start; }
  .hero .cta .btn.big { padding: 12px 18px; }
  section[id], .doc h2 { scroll-margin-top: 104px; }
}
@media (prefers-reduced-motion: reduce) {
  .wk-brain, .wk-dsh, .wk-circ, .wk-node, .wk-lid, .wk-iris, .wake-glow, .wake-glow::before { animation: none; }
  .wk-brain, .wk-dsh, .wk-circ { stroke-dashoffset: 0; }
  .wk-node, .wk-iris, .wake-glow { opacity: 1; }
  .wk-lid { transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .feat, .ccard, .fgroup, .os, .plan { transition: none; }
}
@media print { .reveal { opacity: 1; transform: none; } .nav { position: static; } }
