/* cumcord.uz — the same tokens the app is drawn from.
 * design/tokens/*.css is the authority; the values below are copied, not
 * re-picked, so the site and the window cannot drift apart. */

@font-face {
  font-family: "Geist Mono";
  src: url("/fonts/GeistMono-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Geologica";
  src: url("/fonts/Geologica-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Tektur";
  src: url("/fonts/Tektur-Black.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}

:root {
  --bg: #0b0b0a;
  --chrome: #0e0e0d;
  --panel: #121211;
  --surface-2: #1a1a18;
  --surface-3: #232320;
  --rule: #1c1c18;

  --text-hi: #f0efe9;
  --text-prose: #e0ded6;
  --text-mid: #a5a39b;
  --text-low: #8b8981;
  --ink: #0a0a09;

  --sig: #c9f24b;
  --sig-hover: #dcff6e;
  --sig-link-hover: #e2ff85;

  --mono: "Geist Mono", ui-monospace, monospace;
  --sans: "Geologica", system-ui, sans-serif;
  --display: "Tektur", "Geist Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-prose);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  font-variation-settings: "CRSV" 0, "SHRP" 0, "slnt" 0;
  -webkit-font-smoothing: antialiased;
}

/* Radius is zero, everywhere — same rule as the app. */
img, a, button, .card, .cta { border-radius: 0; }

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- header ---- */

.bar {
  background: var(--chrome);
  border-bottom: 2px solid var(--rule);
}
.bar .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 56px;
}
.mark {
  font-family: var(--display);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 0.01em;
  color: var(--text-hi);
  text-decoration: none;
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.mark img { width: 22px; height: 22px; display: block; }

.bar nav {
  display: flex;
  gap: 20px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

a { color: var(--sig); text-decoration: none; }
a:hover { color: var(--sig-link-hover); text-decoration: underline; }
.bar nav a { color: var(--text-mid); }
.bar nav a:hover { color: var(--text-hi); text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--sig);
  outline-offset: 2px;
}

/* ---- hero ---- */

.hero { padding: 72px 0 64px; }

h1 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-hi);
  margin: 0 0 20px;
  max-width: 18ch;
}

.lede {
  font-size: 17px;
  color: var(--text-prose);
  margin: 0 0 32px;
  max-width: 56ch;
}
.lede + .lede { margin-top: -20px; }

/* Light means voice: the download is the one lit thing on the page. */
.cta {
  display: inline-block;
  background: var(--sig);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  padding: 14px 26px;
  transition: filter 120ms linear;
}
.cta:hover { background: var(--sig); color: var(--ink); filter: brightness(1.09); text-decoration: none; }

.under {
  font-size: 12px;
  color: var(--text-low);
  margin: 14px 0 0;
}

/* ---- sections ---- */

section { padding: 40px 0; border-top: 2px solid var(--rule); }

h2 {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-low);
  margin: 0 0 20px;
}

h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-hi);
  margin: 28px 0 8px;
}

p { margin: 0 0 14px; max-width: 64ch; }

ol, ul { margin: 0 0 14px; padding-left: 22px; max-width: 64ch; }
li { margin-bottom: 8px; }

code, .mono {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.92em;
  color: var(--text-hi);
  background: var(--surface-2);
  padding: 2px 6px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
  background: var(--rule);
  border: 2px solid var(--rule);
}
.card { background: var(--panel); padding: 20px; }
.card h3 { margin: 0 0 6px; font-size: 14px; }
.card p { margin: 0; font-size: 13px; color: var(--text-mid); }

/* ---- footer ---- */

footer {
  border-top: 2px solid var(--rule);
  background: var(--chrome);
  padding: 28px 0 40px;
  margin-top: 40px;
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: baseline;
  font-size: 12px;
  color: var(--text-low);
}
footer nav { display: flex; gap: 20px; margin-left: auto; }
footer a { color: var(--text-mid); }
footer a:hover { color: var(--text-hi); text-decoration: none; }

/* ---- policy page ---- */

.policy { padding: 48px 0 8px; }
.policy h1 { font-size: 28px; margin-bottom: 8px; }
.policy .stamp {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-low);
  margin: 0 0 8px;
}

@media (max-width: 520px) {
  h1 { font-size: 27px; }
  .hero { padding: 48px 0 40px; }
  .bar nav { gap: 14px; }
}
