:root {
  --bg: #ffffff;
  --band: #f3f6fa;
  --ink: #18202c;
  --muted: #576477;
  --line: #dbe1e9;
  --accent: #0065db;
  --accent-hover: #0057bd;
  --accent-ink: #ffffff;
  --soft: #dceaff;
  --soft-ink: #004aab;
  --glass: rgb(255 255 255 / 80%);
  --edge: rgb(219 219 219);
  --chrome: rgb(255 255 255 / 88%);
  --logo: #252825;
  --night: #0e131a;
  --night-2: #151b24;
  --night-line: #27303c;
  --night-ink: #f0f3f9;
  --night-muted: #a9b6c8;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15191f;
    --band: #1b2027;
    --ink: #f0f3f9;
    --muted: #b0bccd;
    --line: #333c49;
    --accent: #84b9ff;
    --accent-hover: #a9cfff;
    --accent-ink: #102743;
    --soft: #253f60;
    --soft-ink: #c0dcff;
    --glass: rgb(41 46 54 / 80%);
    --edge: rgb(75 84 98);
    --chrome: rgb(21 25 31 / 88%);
    --logo: #f0f3f9;
  }
}
@media (prefers-contrast: more) { :root { --muted: #354252; --line: #7a8593; } }
@media (prefers-contrast: more) and (prefers-color-scheme: dark) { :root { --muted: #d7e0ee; --line: #9aaabe; } }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p, dl, dd, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: 100%; max-width: 1200px; padding-inline: 20px; margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.top { position: sticky; top: 0; z-index: 40; background: var(--chrome); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top); }
@supports (backdrop-filter: blur(16px)) { .top { backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); } }
.top .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 23px; font-weight: 650; letter-spacing: -.025em; min-height: 44px; }
.logo svg { width: 36px; height: 26px; }
.logo small { white-space: nowrap; font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; padding-left: 12px; margin-left: 2px; border-left: 1px solid var(--line); }
.top nav { display: none; gap: 2px; margin-left: auto; }
.top nav a { padding: 10px 14px; border-radius: 9px; color: var(--muted); font-size: 15px; transition: background 150ms ease-out, color 150ms ease-out; }
.top nav a:hover { color: var(--ink); background: var(--band); }
.top .btn { margin-left: auto; }
@media (min-width: 900px) { .top nav { display: flex; } .top .btn { margin-left: 8px; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px;
  border-radius: 999px; border: 1px solid transparent; background: var(--accent); color: var(--accent-ink);
  font-size: 16px; font-weight: 600; line-height: 1.3; white-space: nowrap; cursor: pointer;
  box-shadow: 0 1px 0 rgb(255 255 255 / 28%) inset, 0 10px 22px -12px rgb(0 0 0 / 35%);
  transition: transform 100ms ease-out, background 150ms ease-out, box-shadow 150ms ease-out;
}
.btn:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn:active { transform: scale(.97); }
.btn .i { width: 18px; height: 18px; transition: transform 150ms ease-out; }
.btn:hover .i { transform: translateX(3px); }
.btn.sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn.glass { background: var(--glass); color: var(--ink); border-color: var(--edge); box-shadow: 0 8px 15px -8px rgb(0 0 0 / 12%), 0 1px 0 rgb(255 255 255 / 70%) inset; }
.btn.glass:hover { background: var(--glass); color: var(--accent); border-color: color-mix(in srgb, var(--accent) 45%, var(--edge)); }
.btn.white { background: #fff; color: #004aab; box-shadow: 0 12px 28px -12px rgb(0 0 0 / 45%); }
.btn.white:hover { background: #f0f5fc; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; font-weight: 600; color: var(--accent); }
.link-arrow .i { width: 17px; height: 17px; transition: transform 150ms ease-out; }
.link-arrow:hover .i { transform: translateX(3px); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; }

.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--chrome); border-top: 1px solid var(--line); }
@supports (backdrop-filter: blur(16px)) { .dock { backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); } }
.dock .btn { flex: 1; min-height: 50px; padding: 0 16px; }
.dock .btn.glass { flex: 0 0 auto; }
body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
@media (min-width: 760px) { .dock { display: none; } body { padding-bottom: 0; } }

footer.foot { border-top: 1px solid var(--line); padding: 36px 0 44px; color: var(--muted); font-size: 14px; background: var(--bg); }
footer.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; }
footer.foot nav { display: flex; flex-wrap: wrap; gap: 2px 22px; }
footer.foot a { display: inline-block; padding: 8px 0; }
footer.foot a:hover { color: var(--accent); }

details summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 16px 0; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: ""; flex: none; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform 220ms var(--ease); margin-right: 4px; }
details[open] summary::after { transform: rotate(-135deg); }
details > p { padding: 0 0 22px; color: var(--muted); max-width: 64ch; line-height: 1.7; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
@media print { .top, .dock { display: none; } }
@media (max-width: 440px) { .logo small { display: none; } }
