/* LAIVC — laivc.com
   Design language: dark, editorial, mono-labeled (BlueYard-inspired) */

@font-face { font-display: swap; font-family: "Geist Mono"; font-style: normal; font-weight: 300;
  src: url(../fonts/Geist_Mono-300-5.Bwz-egvJ.woff2) format("woff2");
  unicode-range: u+0100-02ba, u+02bd-02c5, u+02c7-02cc, u+02ce-02d7, u+02dd-02ff, u+0304, u+0308, u+0329, u+1d00-1dbf, u+1e00-1e9f, u+1ef2-1eff, u+2020, u+20a0-20ab, u+20ad-20c0, u+2113, u+2c60-2c7f, u+a720-a7ff; }
@font-face { font-display: swap; font-family: "Geist Mono"; font-style: normal; font-weight: 300;
  src: url(../fonts/Geist_Mono-300-6.XN7g48iV.woff2) format("woff2");
  unicode-range: u+00??, u+0131, u+0152-0153, u+02bb-02bc, u+02c6, u+02da, u+02dc, u+0304, u+0308, u+0329, u+2000-206f, u+20ac, u+2122, u+2191, u+2193, u+2212, u+2215, u+feff, u+fffd; }
@font-face { font-display: swap; font-family: "Instrument Sans"; font-stretch: 100%; font-style: normal; font-weight: 400;
  src: url(../fonts/Instrument_Sans-400-13.B5bTHO_g.woff2) format("woff2");
  unicode-range: u+0100-02ba, u+02bd-02c5, u+02c7-02cc, u+02ce-02d7, u+02dd-02ff, u+0304, u+0308, u+0329, u+1d00-1dbf, u+1e00-1e9f, u+1ef2-1eff, u+2020, u+20a0-20ab, u+20ad-20c0, u+2113, u+2c60-2c7f, u+a720-a7ff; }
@font-face { font-display: swap; font-family: "Instrument Sans"; font-stretch: 100%; font-style: normal; font-weight: 400;
  src: url(../fonts/Instrument_Sans-400-14.BbzFLZTg.woff2) format("woff2");
  unicode-range: u+00??, u+0131, u+0152-0153, u+02bb-02bc, u+02c6, u+02da, u+02dc, u+0304, u+0308, u+0329, u+2000-206f, u+20ac, u+2122, u+2191, u+2193, u+2212, u+2215, u+feff, u+fffd; }

:root {
  --bg: #0a0c0f;
  --bg-raise: #10141a;
  --ink: #edeff2;
  --ink-dim: #9aa1ab;
  --ink-faint: #737b86;
  --hairline: rgba(237, 239, 242, 0.14);
  --hairline-soft: rgba(237, 239, 242, 0.08);
  --accent: #00b8f8;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Instrument Sans", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --pad: clamp(20px, 4vw, 56px);
  --max: 1440px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--accent); color: #001018; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

.mono {
  font-family: var(--mono);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg);
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: var(--pad);
  transition: opacity 0.6s ease, visibility 0.6s;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader span {
  font-family: var(--mono); font-weight: 300;
  font-size: clamp(48px, 10vw, 120px);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: linear-gradient(to bottom, rgba(10, 12, 15, 0.92), rgba(10, 12, 15, 0.75) 70%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 18px; padding-bottom: 18px;
  border-bottom: 1px solid var(--hairline-soft);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 34px; height: 34px; }
.brand b { font-family: var(--mono); font-weight: 300; font-size: 15px; letter-spacing: 0.28em; }
.nav { display: flex; gap: clamp(16px, 3vw, 40px); }
.nav a { color: var(--ink-dim); transition: color 0.2s; }
.nav a:hover, .nav a.active { color: var(--ink); }
.nav a.cta { color: var(--accent); }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(140px, 22vh, 240px); padding-bottom: clamp(60px, 10vh, 120px); }
.hero .kicker { color: var(--ink-faint); margin-bottom: 28px; }
.hero h1 {
  font-weight: 400;
  font-size: clamp(38px, 6.2vw, 92px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  max-width: 18ch;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .sub {
  margin-top: 36px; max-width: 62ch;
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--ink-dim);
}
.hero .actions { margin-top: 44px; display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-weight: 300; font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid var(--hairline);
  padding: 14px 22px; border-radius: 999px;
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.btn:hover { border-color: var(--ink); }
.btn.solid { background: var(--ink); color: #0a0c0f; border-color: var(--ink); }
.btn.solid:hover { background: var(--accent); border-color: var(--accent); color: #001018; }
.btn .arrow { color: var(--accent); }
.btn.solid .arrow { color: inherit; }

/* ---------- Sections ---------- */
.section { border-top: 1px solid var(--hairline); padding-top: 26px; padding-bottom: clamp(60px, 9vh, 120px); }
.section-head {
  display: flex; align-items: baseline; gap: 20px;
  margin-bottom: clamp(36px, 6vh, 72px);
}
.section-head .num { color: var(--accent); }
.section-head .label { color: var(--ink-dim); }
.section h2 {
  font-weight: 400;
  font-size: clamp(30px, 3.8vw, 56px);
  line-height: 1.08; letter-spacing: -0.015em;
  max-width: 22ch;
  margin-bottom: 22px;
}
.section .lede { max-width: 58ch; color: var(--ink-dim); font-size: clamp(16px, 1.4vw, 19px); margin-bottom: clamp(36px, 5vh, 64px); }
.section .lede strong { color: var(--ink); font-weight: 400; }

/* Feature rows — thin-ruled grid list */
.rows { border-top: 1px solid var(--hairline-soft); }
.row {
  display: grid; grid-template-columns: minmax(180px, 320px) 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--hairline-soft);
  transition: background 0.2s;
}
.row:hover { background: var(--bg-raise); }
.row .name { font-size: 18px; }
.row .desc { color: var(--ink-dim); font-size: 15.5px; max-width: 70ch; }
.row .name .tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-left: 10px; }

/* Stat band */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--hairline-soft); border: 1px solid var(--hairline-soft); margin-top: 48px; }
.stat { background: var(--bg); padding: 28px 24px; }
.stat .v { font-family: var(--mono); font-weight: 300; font-size: clamp(26px, 3vw, 40px); color: var(--ink); }
.stat .k { margin-top: 8px; color: var(--ink-faint); }

/* ---------- Pricing ---------- */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1px; background: var(--hairline-soft); border: 1px solid var(--hairline-soft); }
.tier { background: var(--bg); padding: 36px 28px; display: flex; flex-direction: column; gap: 0; }
.tier.featured { background: var(--bg-raise); box-shadow: inset 0 2px 0 var(--accent); }
.tier .t-name { color: var(--ink-dim); margin-bottom: 18px; }
.tier .t-price { font-size: clamp(34px, 3vw, 44px); font-weight: 400; letter-spacing: -0.02em; }
.tier .t-price small { font-size: 15px; color: var(--ink-faint); letter-spacing: 0; }
.tier .t-for { color: var(--ink-faint); font-size: 14.5px; margin: 10px 0 24px; min-height: 44px; }
.tier ul { list-style: none; display: grid; gap: 10px; margin-bottom: 30px; flex-grow: 1; }
.tier li { color: var(--ink-dim); font-size: 15px; padding-left: 18px; position: relative; }
.tier li::before { content: "+"; position: absolute; left: 0; color: var(--accent); font-family: var(--mono); }
.tier .btn { justify-content: center; }

/* ---------- Prose (legal & text pages) ---------- */
.page-head { padding-top: clamp(140px, 20vh, 220px); padding-bottom: clamp(40px, 6vh, 72px); }
.page-head h1 { font-weight: 400; font-size: clamp(34px, 4.6vw, 68px); letter-spacing: -0.02em; line-height: 1.06; max-width: 20ch; }
.page-head .kicker { color: var(--ink-faint); margin-bottom: 24px; }
.page-head .sub { margin-top: 24px; max-width: 60ch; color: var(--ink-dim); }

.prose { max-width: 760px; padding-bottom: clamp(80px, 12vh, 140px); }
.prose h2 { font-weight: 400; font-size: 24px; margin: 44px 0 14px; letter-spacing: -0.01em; }
.prose h3 { font-weight: 400; font-size: 18px; margin: 28px 0 10px; color: var(--ink); }
.prose p, .prose li { color: var(--ink-dim); font-size: 16px; }
.prose p { margin-bottom: 14px; }
.prose ul, .prose ol { margin: 0 0 14px 22px; display: grid; gap: 8px; }
.prose a { color: var(--accent); }
.prose .updated { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 36px; }
.prose strong { color: var(--ink); font-weight: 400; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--hairline); padding-top: 56px; padding-bottom: 40px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 56px; }
.foot-grid .col h4 { font-family: var(--mono); font-weight: 300; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 16px; }
.foot-grid .col a, .foot-grid .col p { display: block; color: var(--ink-dim); font-size: 15px; margin-bottom: 10px; }
.foot-grid .col a:hover { color: var(--ink); }
.foot-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.foot-brand img { width: 30px; height: 30px; }
.foot-brand b { font-family: var(--mono); font-weight: 300; letter-spacing: 0.28em; font-size: 14px; }
.foot-legal { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--hairline-soft); padding-top: 24px; color: var(--ink-faint); }

/* ---------- Reveal (animation only when JS is available) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .nav { gap: 14px; }
  .nav a.hide-m { display: none; }
  .row { grid-template-columns: 1fr; gap: 6px; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .brand b { display: none; }
}
