/* Public Stork site (/site/): hype page, changelog, roadmap, report form. Tokens from /css/tokens.css. */
* { box-sizing: border-box; }
body.site { margin: 0; min-height: 100vh; color: var(--fg); font: 17px/1.6 var(--font);
  background: radial-gradient(1200px 600px at 85% -10%, rgb(255 107 53 / 0.18), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgb(90 184 255 / 0.14), transparent 60%),
    repeating-linear-gradient(135deg, rgb(255 255 255 / 0.015) 0 2px, transparent 2px 14px), var(--bg); }
:root[data-theme="light"] body.site { background: radial-gradient(1200px 600px at 85% -10%, rgb(224 82 31 / 0.12), transparent 60%),
  radial-gradient(900px 500px at -10% 30%, rgb(21 101 176 / 0.10), transparent 60%),
  repeating-linear-gradient(135deg, rgb(20 32 58 / 0.025) 0 2px, transparent 2px 14px), var(--bg); }
a { color: var(--link); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.site-top { position: sticky; top: 0; z-index: 5; backdrop-filter: blur(10px); background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--line); }
.site-top .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.site-brand { display: flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font-weight: 800; font-size: 20px; }
.site-brand img { width: 34px; height: 34px; }
.site-nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.site-nav a { color: var(--fg-dim); text-decoration: none; padding: 8px 12px; border-radius: var(--radius-pill); font-weight: 600; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--fg); background: var(--raised); }
.site-theme { min-height: var(--tap); padding: 0 14px; border-radius: var(--radius-pill); border: 1px solid var(--line);
  background: var(--panel); color: var(--fg); font: inherit; cursor: pointer; }
.ver { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--leaf) 16%, transparent); color: var(--ok); font-weight: 700; font-size: 14px; }
.ver::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: pulse 2.4s infinite; }
.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; padding: 64px 0 40px; }
.hero h1 { font-size: clamp(36px, 6vw, 64px); line-height: 1.05; margin: 16px 0; letter-spacing: -0.02em; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--beak), var(--sun)); -webkit-background-clip: text;
  background-clip: text; color: transparent; }
.hero p.lead { font-size: 20px; color: var(--fg-dim); max-width: 34em; }
.hero-art { justify-self: center; width: min(360px, 80vw); filter: drop-shadow(0 30px 40px rgb(0 0 0 / 0.35)); animation: float 6s ease-in-out infinite; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.btn { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 22px; border-radius: var(--radius-pill);
  font-weight: 700; text-decoration: none; border: 1px solid var(--line); color: var(--fg); background: var(--panel);
  transition: transform .15s ease, box-shadow .15s ease; cursor: pointer; font-size: 16px; font-family: inherit; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn.primary { background: linear-gradient(135deg, var(--beak), var(--beak-deep)); color: #fff; border-color: transparent; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
section.block { padding: 40px 0; }
section.block > h2, .page-head h1 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 8px; letter-spacing: -0.01em; }
.sub { color: var(--fg-dim); margin: 0 0 28px; max-width: 46em; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.cap { position: relative; padding: 22px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line);
  overflow: hidden; transition: transform .2s ease, border-color .2s ease; }
.cap:hover { transform: translateY(-3px); border-color: var(--accent); }
.cap::after { content: ""; position: absolute; inset: auto -40px -40px auto; width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%); }
.cap h3 { margin: 12px 0 6px; font-size: 19px; }
.cap p { margin: 0; color: var(--fg-dim); font-size: 15px; }
.glyph { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; font-size: 24px; font-weight: 800;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 30%, transparent), color-mix(in srgb, var(--sky) 25%, transparent));
  color: var(--fg); border: 1px solid var(--line); }
.tag { display: inline-flex; gap: 6px; align-items: center; padding: 2px 10px; border-radius: var(--radius-pill); font-size: 13px;
  font-weight: 700; border: 1px solid currentColor; }
.tag.ok { color: var(--ok); } .tag.warn { color: var(--warn); } .tag.info { color: var(--sky); } .tag.muted { color: var(--fg-dim); }
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.shots figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--panel); border: 1px solid var(--line); }
.shots img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.shots figcaption { padding: 10px 14px; color: var(--fg-dim); font-size: 14px; }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; padding: 0; list-style: none; }
.steps li { counter-increment: s; padding: 20px; border-radius: var(--radius); background: var(--raised); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 800; margin-bottom: 10px; }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 3px solid var(--line); }
.timeline > li { position: relative; padding: 0 0 32px 28px; }
.timeline > li::before { content: ""; position: absolute; left: -11px; top: 6px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--accent); }
.timeline h2 { margin: 0; font-size: 24px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.timeline ul { color: var(--fg-dim); padding-left: 20px; }
.lanes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lane { padding: 18px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.lane h2 { margin: 0; } .lane > p { color: var(--fg-dim); margin: 4px 0 14px; }
.lane article { padding: 14px; border-radius: var(--radius-sm); background: var(--raised); margin-bottom: 10px; }
.lane article h3 { margin: 0 0 4px; font-size: 17px; display: flex; justify-content: space-between; gap: 8px; }
.lane article p { margin: 0; color: var(--fg-dim); font-size: 15px; }
.form-card { max-width: 680px; padding: 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.form-card .row { margin-bottom: 16px; }
.form-card label.lbl { display: block; font-weight: 700; margin-bottom: 6px; }
.form-card .in { width: 100%; min-height: var(--tap); padding: 10px 12px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: var(--bg); color: var(--fg); font: inherit; }
.form-card textarea.in { min-height: 160px; resize: vertical; }
.form-card .hint { color: var(--fg-dim); font-size: 14px; margin: 4px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.note { padding: 14px 16px; border-radius: var(--radius-sm); border-left: 4px solid var(--sky); background: var(--raised); }
.note[data-tone="ok"] { border-color: var(--ok); } .note[data-tone="danger"] { border-color: var(--danger); } .note[data-tone="warn"] { border-color: var(--warn); }
.site-foot { border-top: 1px solid var(--line); padding: 28px 0; color: var(--fg-dim); font-size: 14px; margin-top: 40px; }
.reveal { animation: rise .6s ease both; }
.reveal:nth-child(2) { animation-delay: .06s; } .reveal:nth-child(3) { animation-delay: .12s; } .reveal:nth-child(4) { animation-delay: .18s; }
.reveal:nth-child(5) { animation-delay: .24s; } .reveal:nth-child(6) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes float { 50% { transform: translateY(-12px) rotate(-1.5deg); } }
@keyframes pulse { 50% { opacity: .35; } }
@media (max-width: 800px) { .hero { grid-template-columns: 1fr; padding-top: 32px; } .lanes { grid-template-columns: 1fr; } .hero-art { width: 200px; order: -1; } }
@media (max-width: 600px) { .site-nav { margin-left: 0; width: 100%; overflow-x: auto; overflow-y: hidden; flex-wrap: nowrap; } .site-theme { margin-left: auto; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
