/* AKSIL — design system
   Grammar: one silhouette, one accent, nothing decorative.
   Palette: Ink / Paper / Sand from the group identity sheet,
   Clay as the single action colour, Gold reserved for light. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-v25-latin-regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-v25-latin-500.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-v25-latin-600.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-v25-latin-700.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-v25-latin-800.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-v25-latin-900.ttf") format("truetype");
  font-weight: 900;
  font-display: swap;
}

:root {
  --ink: #16130e;
  --ink-2: #55503f;
  --paper: #ffffff;
  --sand: #f4efe6;
  --sand-2: #ece4d3;
  --clay: #b0392c;
  --clay-dark: #8f2c21;
  --gold: #d99b2b;
  --gold-deep: #a8741a;
  --line: #e6dfcf;
  --ok: #1e7a46;
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Archivo", -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap {
  display: flex; align-items: center; gap: 28px; height: 68px;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand .mark { width: 26px; height: 30px; color: var(--ink); }
.brand .word {
  font-weight: 800; font-size: 21px; letter-spacing: .22em; padding-top: 2px;
}
.main-nav { display: flex; gap: 26px; margin-left: auto; }
.main-nav a {
  text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2);
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--ink); }
.head-cta { margin-left: 6px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-btn span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: inherit; font-weight: 700; font-size: 16px;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; transition: background .15s, transform .05s;
}
.btn:active { transform: scale(.985); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; }
.btn-clay { background: var(--clay); color: #fff; }
.btn-clay:hover { background: var(--clay-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--sand); }
.btn-light { background: #fff; color: var(--ink); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* ---------- type helpers ---------- */
.kicker {
  font-size: 12.5px; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--clay);
}
.kicker.gold { color: var(--gold-deep); }
h1.display {
  font-size: clamp(56px, 9vw, 108px); line-height: .98;
  font-weight: 900; letter-spacing: -0.025em;
}
h2.title {
  font-size: clamp(32px, 4.6vw, 52px); line-height: 1.05;
  font-weight: 800; letter-spacing: -0.02em;
}
h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.01em; }
.lede { font-size: clamp(18px, 2.2vw, 22px); color: var(--ink-2); max-width: 34em; }
.small { font-size: 13.5px; color: var(--ink-2); }

/* ---------- hero ---------- */
.hero { padding: 72px 0 84px; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center;
}
.hero h1 .door-word { position: relative; white-space: nowrap; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero-mark { position: relative; display: flex; justify-content: center; }
.hero-mark .glow {
  position: absolute; inset: auto; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(217,155,43,.35), rgba(217,155,43,0) 72%);
  top: 16%;
}
.hero-mark svg { width: min(340px, 72vw); height: auto; position: relative; }

/* live cards in hero */
.live-stack { display: grid; gap: 14px; margin-top: 26px; }
.live-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; background: #fff;
  box-shadow: 0 14px 34px rgba(22,19,14,.07);
}
.live-card .row { display: flex; align-items: center; gap: 10px; }
.live-card .row + .row { margin-top: 8px; }
.pill {
  font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; background: var(--sand); color: var(--ink-2);
}
.pill.ready { background: #e3f2e8; color: var(--ok); }
.pill.gold { background: #faf0da; color: var(--gold-deep); }
.live-card .big { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
.live-card .code {
  font-size: 26px; font-weight: 900; letter-spacing: .3em; margin-left: auto;
}
.meter-bar { height: 6px; border-radius: 3px; background: var(--sand-2); overflow: hidden; margin-top: 12px; }
.meter-bar i { display: block; height: 100%; background: var(--gold); border-radius: 3px; }

/* ---------- trust strip ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--sand); }
.trust .wrap {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-top: 26px; padding-bottom: 26px;
}
.trust .t b { display: block; font-size: 24px; font-weight: 900; letter-spacing: -0.01em; }
.trust .t span { font-size: 13.5px; color: var(--ink-2); font-weight: 600; }

/* ---------- sections ---------- */
section.block { padding: 88px 0; }
section.block.sand { background: var(--sand); }
section.block.ink { background: var(--ink); color: #f5f1e6; }
.sec-head { max-width: 720px; margin-bottom: 44px; }
.sec-head h2 { margin: 14px 0 12px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  background: #fff; text-decoration: none; display: flex; flex-direction: column; gap: 10px;
  transition: border-color .15s, box-shadow .15s;
}
a.card:hover { border-color: var(--ink); box-shadow: 0 16px 36px rgba(22,19,14,.08); }
.card .mark-sm { width: 30px; height: 35px; color: var(--clay); }
.card p { color: var(--ink-2); font-size: 15.5px; }
.card .go { margin-top: auto; font-weight: 700; color: var(--clay); font-size: 15px; }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.tile {
  border-radius: var(--radius); padding: 22px 24px; background: var(--sand);
  display: flex; flex-direction: column; gap: 6px;
}
.tile b { font-size: 17px; font-weight: 800; }
.tile span { font-size: 14.5px; color: var(--ink-2); }
.tile .pill { align-self: flex-start; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { border-top: 3px solid var(--ink); padding-top: 20px; }
.step .n { font-size: 13px; font-weight: 800; letter-spacing: .2em; color: var(--clay); }
.step h3 { margin: 8px 0 6px; }
.step p { color: var(--ink-2); font-size: 15.5px; }

/* the standard */
.rules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 22px; }
.rule .n { font-weight: 900; color: var(--gold); font-size: 15px; letter-spacing: .1em; }
.rule h3 { font-size: 17.5px; margin: 6px 0 4px; color: #fff; }
.rule p { font-size: 14px; color: #bdb49e; }

/* rate table */
table.rates { width: 100%; border-collapse: collapse; font-size: 16px; }
table.rates th, table.rates td { text-align: left; padding: 14px 6px; border-bottom: 1px solid var(--line); }
table.rates th { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
table.rates td.price { font-weight: 800; text-align: right; }
table.rates th:last-child { text-align: right; }

/* ---------- forms / flows ---------- */
.flow { padding: 56px 0 88px; }
.flow-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 26px; align-items: start; }
.panel {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: #fff;
}
.panel.sand { background: var(--sand); border-color: var(--sand-2); }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; font-size: 14.5px; margin-bottom: 8px; }
.field input:not([type="radio"]):not([type="checkbox"]):not([type="range"]), .field select {
  width: 100%; font: inherit; font-size: 17px; padding: 14px 16px;
  border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus { outline: 2px solid var(--gold); border-color: transparent; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  font: inherit; font-weight: 700; font-size: 15.5px; padding: 11px 18px;
  border-radius: 999px; border: 1.5px solid var(--line); background: #fff; cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.sum-row { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; font-size: 16px; }
.sum-row span { color: var(--ink-2); }
.sum-row b { font-weight: 800; }
.sum-row.total { border-top: 2px solid var(--ink); margin-top: 10px; padding-top: 16px; font-size: 19px; }
.sum-row.total span { color: var(--ink); font-weight: 700; }
.radio-row { display: flex; gap: 10px; }
.field .radio-card {
  flex: 1; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; cursor: pointer;
  font-weight: 600; font-size: 15px; background: #fff;
  display: flex; align-items: flex-start; gap: 9px; text-align: left;
}
.radio-card input { accent-color: var(--clay); flex: none; margin-top: 4px; width: auto; padding: 0; }
.radio-card:has(input:checked) { border-color: var(--ink); }
input[type="range"] { width: 100%; accent-color: var(--clay); }

/* token / confirmation */
.token-box {
  text-align: center; padding: 14px 0 4px;
}
.token {
  font-size: clamp(24px, 4.6vw, 34px); font-weight: 900; letter-spacing: .14em;
  background: var(--sand); border: 1.5px dashed var(--gold-deep); border-radius: 14px;
  padding: 18px 10px; margin: 16px 0; word-break: break-all;
}
.hidden { display: none !important; }

/* timeline */
.timeline { list-style: none; margin-top: 8px; }
.timeline li { display: flex; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 0; }
.timeline .dot {
  flex: none; width: 26px; height: 26px; border-radius: 50%; margin-top: 1px;
  border: 2px solid var(--sand-2); background: #fff; position: relative;
}
.timeline li.done .dot { background: var(--ok); border-color: var(--ok); }
.timeline li.done .dot::after {
  content: ""; position: absolute; left: 7px; top: 3.5px; width: 6px; height: 11px;
  border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(42deg);
}
.timeline li.now .dot { border-color: var(--gold); background: #faf0da; }
.timeline b { display: block; font-size: 16.5px; }
.timeline span { font-size: 14px; color: var(--ink-2); }

/* counters */
.region { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: #fff; }
.region .count { font-size: 52px; font-weight: 900; letter-spacing: -0.02em; line-height: 1; }
.region ul { list-style: none; margin-top: 14px; display: grid; gap: 7px; font-size: 15.5px; color: var(--ink-2); }
.region ul b { color: var(--ink); }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: #efe9da; padding: 70px 0 34px; margin-top: 0; }
.site-foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; }
.site-foot h4 { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: #a99e83; margin-bottom: 14px; }
.site-foot ul { list-style: none; display: grid; gap: 9px; }
.site-foot a { text-decoration: none; color: #efe9da; }
.site-foot a:hover { text-decoration: underline; }
.site-foot .mark { width: 34px; height: 40px; color: #fff; }
.foot-base {
  border-top: 1px solid #37332a; margin-top: 44px; padding-top: 22px;
  display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between;
  font-size: 13.5px; color: #a99e83;
}

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .hero-grid, .flow-grid { grid-template-columns: 1fr; }
  .cards, .tiles, .steps { grid-template-columns: 1fr; }
  .rules { grid-template-columns: repeat(2, 1fr); }
  .trust .wrap { grid-template-columns: repeat(2, 1fr); }
  .site-foot .cols { grid-template-columns: 1fr 1fr; }
  .main-nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 14px 24px 20px; gap: 14px;
  }
  .main-nav.open { display: flex; }
  .head-cta { display: none; }
  .menu-btn { display: block; }
}
@media (max-width: 520px) {
  .rules { grid-template-columns: 1fr; }
  .trust .wrap { grid-template-columns: 1fr 1fr; }
  section.block { padding: 60px 0; }
}
