:root {
  --bg: #0E1512;
  --bg-2: #141C18;
  --line: rgba(201, 162, 75, 0.22);
  --line-strong: rgba(201, 162, 75, 0.5);
  --gold: #C9A24B;
  --gold-soft: #A8893F;
  --cream: #F3EEE3;
  --cream-2: #CFC8B8;
  --cream-3: #A6A092;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "DM Mono", "SFMono-Regular", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
}

a { color: var(--gold); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(14, 21, 18, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.mark {
  font-family: var(--mono); font-size: 14px; letter-spacing: 0.32em;
  color: var(--gold); text-decoration: none;
}
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 40px; }
.nav li a {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--cream-2); text-decoration: none;
}
.nav li a:hover { color: var(--gold); }

/* Labels — the thing that was washed out */
.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 22px;
}
.label {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold-soft);
}

/* Type */
h1, h2, h3 { font-family: var(--serif); font-weight: 700; margin: 0; line-height: 1.08; letter-spacing: -0.01em; }
h1 { font-size: clamp(44px, 7vw, 84px); }
h2 { font-size: clamp(38px, 5vw, 60px); }
h3 { font-size: 32px; }
p { margin: 0 0 18px; }
.lede { color: var(--cream-2); max-width: 56ch; font-size: 18px; }
em { font-style: italic; }

/* Sections */
section { padding: 120px 0; border-bottom: 1px solid var(--line); }
section:last-of-type { border-bottom: 0; }

.hero { min-height: calc(100vh - 68px); display: flex; align-items: center; text-align: center; }
.hero .wrap { width: 100%; }
.hero .wordmark {
  font-family: var(--mono); font-size: clamp(14px, 2vw, 20px); letter-spacing: 0.6em;
  color: var(--gold); margin-bottom: 28px;
}
.hero .wordmark span { color: var(--cream); }
.hero h1 { margin-bottom: 36px; }
.hero .url { font-family: var(--mono); font-size: 12px; letter-spacing: 0.4em; color: var(--cream-3); }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }

/* Stat block */
.stats {
  border: 1px solid var(--line-strong);
  display: grid; grid-template-columns: 1fr 1fr;
}
.stats > div { padding: 44px 40px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats > div:nth-child(2n) { border-right: 0; }
.stats > div:nth-child(n+3) { border-bottom: 0; }
.stats .num { font-family: var(--serif); font-size: 64px; color: var(--gold); line-height: 1; margin-bottom: 14px; }

/* Apps */
.apps-grid {
  border: 1px solid var(--line-strong);
  display: grid; grid-template-columns: repeat(2, 1fr);
}
.app { padding: 52px 44px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.app:nth-child(2n) { border-right: 0; }
.app:nth-child(n+3) { border-bottom: 0; }
.icon { width: 76px; height: 76px; border-radius: 18px; margin-bottom: 30px; display: block; object-fit: cover; }
.app .label { margin-bottom: 14px; }
.app h3 { margin-bottom: 12px; }
.app .tag { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--gold); margin-bottom: 18px; line-height: 1.35; }
.app .desc { color: var(--cream-2); font-size: 16px; }
.feat { list-style: none; margin: 8px 0 28px; padding: 0; }
.feat li {
  font-family: var(--mono); font-size: 13px; color: var(--cream-2);
  padding: 12px 0; border-bottom: 1px solid var(--line-strong);
}
.app .status { margin-top: auto; }
.status { font-family: var(--mono); font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.status a { text-decoration: none; }
.status a:hover { text-decoration: underline; }

/* Standard */
.standard .big {
  font-family: var(--serif); font-weight: 700; font-size: clamp(120px, 18vw, 220px);
  color: var(--gold); line-height: 0.85; letter-spacing: -0.03em;
}
.standard h2 { font-size: clamp(32px, 3.6vw, 44px); margin-bottom: 30px; }
.standard h2 em { color: var(--gold); }

/* Contact */
.card { border: 1px solid var(--line-strong); padding: 24px 40px; }
.card .row { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line-strong); }
.card .row:last-child { border-bottom: 0; }
.card .row span:last-child { text-align: right; color: var(--cream); font-size: 18px; }
.big-link {
  display: inline-block; font-family: var(--mono); font-size: 18px; letter-spacing: 0.08em;
  color: var(--gold); text-decoration: none; padding-bottom: 6px; border-bottom: 1px solid var(--gold);
}

/* Footer */
footer { border-top: 1px solid var(--line); padding: 30px 0; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 36px; }
footer a, footer span {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--cream-3); text-decoration: none;
}
footer a:hover { color: var(--gold); }
footer .copy { margin-left: auto; text-transform: none; letter-spacing: 0.1em; }

/* Legal pages */
.sheet { max-width: 760px; margin: 0 auto; padding: 80px 32px 110px; }
.sheet h1 { font-size: clamp(38px, 5vw, 56px); margin-bottom: 12px; }
.sheet .updated { font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; color: var(--cream-3); margin-bottom: 48px; }
.sheet h2 { font-size: 26px; color: var(--gold); margin: 52px 0 14px; }
.sheet h3 { font-size: 20px; margin: 30px 0 8px; }
.sheet p, .sheet li { color: var(--cream-2); }
.sheet strong { color: var(--cream); }
.sheet ul { padding-left: 22px; margin: 0 0 18px; }
.sheet li { margin-bottom: 8px; }
.sheet .callout { border-left: 2px solid var(--gold); background: rgba(201,162,75,0.06); padding: 18px 24px; margin: 30px 0; }
.sheet .callout p:last-child { margin: 0; }
.sheet table { width: 100%; border-collapse: collapse; margin: 18px 0 26px; font-size: 15px; }
.sheet th, .sheet td { text-align: left; padding: 12px 10px 12px 0; border-bottom: 1px solid var(--line-strong); vertical-align: top; color: var(--cream-2); }
.sheet th { font-family: var(--mono); font-weight: normal; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-soft); }
.sheet .toc { list-style: none; padding: 0; margin: 0 0 20px; columns: 2; gap: 32px; }
.sheet .toc a { color: var(--cream-2); text-decoration: none; }
.sheet .toc a:hover { color: var(--gold); }

@media (max-width: 860px) {
  .wrap { padding: 0 22px; }
  section { padding: 84px 0; }
  .two { grid-template-columns: 1fr; gap: 48px; }
  .apps-grid { grid-template-columns: 1fr; }
  .app { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; padding: 44px 26px; }
  .app:last-child { border-bottom: 0 !important; }
  .stats > div { padding: 32px 24px; }
  .stats .num { font-size: 48px; }
  .nav ul { gap: 22px; }
  .nav li a { letter-spacing: 0.18em; font-size: 11px; }
  .card { padding: 6px 22px; }
  .card .row { flex-direction: column; gap: 6px; align-items: flex-start; }
  .card .row span:last-child { text-align: left; }
  footer .copy { margin-left: 0; }
  .sheet .toc { columns: 1; }
}
