/* Layout: perch.construction look. Dark only, centered hero with a blue glow, then one reading column of surface cards. */
:root {
  --bg: #1c1e20;
  --surface: #292b2d;
  --surface-2: #222426;
  --line: #313438;
  --line-strong: #3a3d43;
  --title: #e6e8eb;
  --strong: #c9cdd3;
  --body: #a9afb7;
  --caption: #959da6;
  --subtle: #6c707a;
  --blue: #78bce6;
  --blue-10: rgba(120, 188, 230, 0.10);
  --blue-20: rgba(120, 188, 230, 0.20);
  --warn: #d4ae4f;
  --warn-10: rgba(212, 174, 79, 0.10);
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 10px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--body); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
::selection { background: rgba(120, 188, 230, 0.25); }
body::before {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { color: var(--title); margin: 0; font-weight: 600; letter-spacing: -0.025em; text-wrap: balance; }
p { margin: 0; }

.shell { width: 100%; max-width: 960px; margin: 0 auto; padding-inline: clamp(1rem, 4vw, 2.5rem); }

.nav { position: sticky; top: 0; z-index: 50; background: rgba(28, 30, 32, 0.8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(58, 61, 67, 0.4); }
.nav .shell { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--title); }
.logo:hover { text-decoration: none; }
.logo svg { width: 26px; height: 26px; color: var(--blue); }
.logo .word { font-weight: 700; font-size: 17px; letter-spacing: -0.02em; }
.logo .tag { font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--caption); }
.nav-links { display: flex; gap: 22px; font-size: 14px; }
.nav-links a { color: var(--caption); }
.nav-links a:hover { color: var(--title); text-decoration: none; }
@media (max-width: 640px) { .nav-links { display: none; } }

.hero { position: relative; overflow: hidden; text-align: center; padding-block: 88px 64px; }
.glow { pointer-events: none; position: absolute; left: 50%; top: -80px; width: 760px; max-width: 120vw; height: 420px; transform: translateX(-50%); border-radius: 999px; background: var(--blue-20); filter: blur(140px); opacity: 0.3; animation: pulse 5s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 0.25; transform: translateX(-50%) scale(1); } 50% { opacity: 0.4; transform: translateX(-50%) scale(1.05); } }
@media (prefers-reduced-motion: reduce) { .glow { animation: none; } }
.hero .shell { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-strong); background: rgba(41, 43, 45, 0.6); border-radius: 999px; padding: 6px 14px; font-size: 12px; font-weight: 600; color: var(--caption); }
.chip .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--blue); }
.hero h1 { font-size: clamp(40px, 7vw, 68px); line-height: 1.05; }
.hero .lede { max-width: 640px; font-size: clamp(17px, 2vw, 20px); line-height: 1.6; color: var(--body); }

.section { padding-block: 44px; }
.section .shell { display: grid; gap: 22px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue); }
.head { display: grid; gap: 10px; }
.head h2 { font-size: clamp(26px, 3.4vw, 34px); line-height: 1.15; }
.head p { max-width: 640px; color: var(--body); }

.surface { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }

.tldr { padding: 26px 28px; display: grid; gap: 14px; box-shadow: 0 0 20px rgba(120, 188, 230, 0.08); border-color: rgba(120, 188, 230, 0.3); }
.tldr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tldr li { display: flex; gap: 12px; color: var(--title); font-size: 17px; line-height: 1.55; }
.check { flex: none; width: 18px; height: 18px; margin-top: 4px; color: var(--blue); }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.stat { padding: 20px; display: grid; gap: 6px; color: var(--body); transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.stat:hover { text-decoration: none; transform: translateY(-4px); border-color: rgba(120, 188, 230, 0.3); box-shadow: 0 0 20px rgba(120, 188, 230, 0.08); }
.stat .v { font-size: 28px; font-weight: 600; letter-spacing: -0.03em; color: var(--title); font-variant-numeric: tabular-nums; }
.stat .l { font-size: 13.5px; line-height: 1.5; color: var(--caption); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .stat, .stat:hover { transition: none; transform: none; } }

.tbl { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 15px 18px; border-bottom: 1px solid var(--line); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
thead th { font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--subtle); background: var(--surface-2); white-space: nowrap; }
thead th:first-child { border-top-left-radius: 16px; }
thead th:last-child { border-top-right-radius: 16px; }
tbody th { color: var(--title); font-weight: 600; min-width: 160px; }
td { min-width: 190px; color: var(--body); }
td.n { min-width: 0; width: 1%; padding-right: 0; }
.num { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; border: 1px solid rgba(120, 188, 230, 0.2); background: var(--blue-10); color: var(--blue); font-size: 12.5px; font-weight: 600; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: s; }
.steps li { counter-increment: s; display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; }
.steps li::before { content: counter(s); flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; border: 1px solid rgba(120, 188, 230, 0.2); background: var(--blue-10); color: var(--blue); font-size: 13px; font-weight: 600; }
.steps li b { color: var(--title); font-weight: 600; }

.callout { padding: 20px 22px; display: grid; gap: 10px; background: var(--warn-10); border: 1px solid rgba(212, 174, 79, 0.25); border-radius: 16px; }
.callout p { color: var(--strong); }
.callout b { color: var(--title); font-weight: 600; }

.borrow { color: var(--body); }
.borrow b { color: var(--title); font-weight: 600; }

.cta { padding: 30px 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.cta h3 { font-size: 22px; letter-spacing: -0.02em; }
.cta p { color: var(--body); max-width: 520px; margin-top: 6px; }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 10px; font-size: 14.5px; font-weight: 600; color: #1c1e20; background-color: var(--blue); background-image: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.18) 50%, transparent 75%); background-size: 200% 100%; animation: shimmer 2.5s ease-in-out infinite; }
.btn:hover { text-decoration: none; filter: brightness(1.05); }
@keyframes shimmer { 0% { background-position: -200% center; } 100% { background-position: 200% center; } }
@media (prefers-reduced-motion: reduce) { .btn { animation: none; } }

footer { border-top: 1px solid rgba(58, 61, 67, 0.3); margin-top: 40px; padding-block: 36px 48px; font-size: 13.5px; color: var(--caption); }
footer .shell { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
footer .logo svg { width: 22px; height: 22px; }
footer .logo .word { font-size: 15px; }
