/* ArgonTwin landing. Same system as the viewer: near-black, hairline rules, Archivo for
   words, Martian Mono for labels and numbers, square corners, one accent (Argon gold).
   Drafting cues stay few: FIG. labels, one faint grid behind the hero, one title block. */
:root {
  --stage: #07080a;
  --panel: #0e1013;
  --panel-2: #15181d;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .2);
  --paper: #eceef1;
  --body: #c3c7cd;
  --dim: #8a9099;
  --gold: #e3b341;
  --fault: #ff5a4f;
  --seated: #5fd39a;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "Martian Mono", ui-monospace, Menlo, monospace;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--stage);
  color: var(--paper);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold); text-underline-offset: 3px; }
img, video { display: block; max-width: 100%; }
figure { margin: 0; }
h1, h2 { margin: 0; font-stretch: 110%; letter-spacing: -.03em; line-height: 1.02; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 1.6rem; }
p { margin: 0 0 1rem; }
.fig { margin: 0 0 .9rem; font: .7rem var(--mono); letter-spacing: .08em; color: var(--dim); }

.top {
  position: sticky; top: 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .75rem var(--gutter);
  background: rgba(7, 8, 10, .86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.mark { font-weight: 800; font-stretch: 115%; letter-spacing: -.02em; color: var(--paper); text-decoration: none; font-size: 1.2rem; }
.mark span { color: var(--gold); }
.top nav { display: flex; align-items: center; gap: 1.5rem; }
.top nav a:not(.btn) { font: .74rem var(--mono); color: var(--dim); text-decoration: none; }
.top nav a:not(.btn):hover { color: var(--paper); }

.btn {
  display: inline-flex; align-items: center;
  height: 2.4rem;
  padding: 0 1.1rem;
  border-radius: 2px;
  background: var(--gold);
  color: #0b0b0b;
  font-weight: 700;
  font-size: .92rem;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover, .btn:focus-visible { background: #f0c45a; }
.btn.big { height: 3.1rem; padding: 0 1.8rem; font-size: 1.05rem; }

main { max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
section { padding: clamp(3.5rem, 8vw, 6rem) 0; border-top: 1px solid var(--line); }

/* Hero, over the one faint grid on the page. */
section.hero { position: relative; border-top: 0; padding-top: clamp(2.5rem, 5vw, 4rem); }
section.hero::before {
  content: ""; position: absolute; inset: 0 calc(-1 * var(--gutter)) 30%; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
}
.eyebrow { font: .72rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--body); max-width: 46rem; margin: 1.1rem 0 2rem; }

.clip { border: 1px solid var(--line-2); border-radius: 3px; overflow: hidden; background: #000; }
.clip .fig { margin: 0; padding: .6rem .9rem; border-bottom: 1px solid var(--line); background: var(--panel); }
.clip video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.clip-note { font: .72rem/1.6 var(--mono); color: var(--dim); margin-top: .8rem; }

.receipts {
  list-style: none; padding: 0; margin: 2.25rem 0 0;
  display: grid; grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line);
}
.receipts li { padding: 1rem 1.1rem 1.1rem; border-right: 1px solid var(--line); font: .7rem/1.45 var(--mono); color: var(--dim); }
.receipts li:last-child { border-right: 0; }
.receipts b { display: block; margin-bottom: .35rem; font: 800 1.75rem/1 var(--font); font-stretch: 110%; letter-spacing: -.02em; color: var(--paper); }

/* Simulation vs twin. */
.twin table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line-2); }
.twin th, .twin td { text-align: left; padding: .95rem 1rem .95rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.twin thead th { font: .68rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--dim); font-weight: 400; }
.twin thead th:last-child { color: var(--gold); }
.twin tbody th { font: .74rem var(--mono); color: var(--dim); font-weight: 400; width: 20%; }
.twin td:nth-child(2) { color: var(--dim); }
.twin td:nth-child(3) { color: var(--paper); font-weight: 600; }
.honest { font: .74rem/1.6 var(--mono); color: var(--dim); margin-top: 1.2rem; }

/* One run: fail, fix, pass. */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.card { border-right: 1px solid var(--line); background: var(--panel); }
.card:last-child { border-right: 0; }
.card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid var(--line); }
.card p { padding: 0 1.15rem; font-size: .95rem; color: var(--body); }
.card .tag { padding-top: 1rem; margin-bottom: .45rem; font: 500 .72rem var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.card.fail .tag { color: var(--fault); }
.card.fix .tag { color: var(--gold); }
.card.pass .tag { color: var(--seated); }
.fine { font: .72rem/1.7 var(--mono); color: var(--dim); margin-top: 1.4rem; max-width: 62rem; }

/* Where this goes. */
.next ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); }
.next li { padding: 1.2rem 1.3rem; color: var(--body); border-bottom: 1px solid var(--line); }
.next li:nth-child(odd) { border-right: 1px solid var(--line); }
.next li:nth-last-child(-n+2) { border-bottom: 0; }
.next li:first-child { box-shadow: inset 2px 0 0 var(--gold); }
.next b { display: block; color: var(--paper); margin-bottom: .3rem; }

.cta { text-align: center; }
.cta p { font: .74rem/1.6 var(--mono); color: var(--dim); margin-top: 1.1rem; }

/* Title block. */
footer { max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter) 3rem; }
.titleblock { margin: 0; display: grid; grid-template-columns: 1fr 1.6fr 2fr 1.6fr 1.4fr; border: 1px solid var(--line-2); }
.titleblock > div { padding: .8rem 1rem .9rem; border-right: 1px solid var(--line); }
.titleblock > div:last-child { border-right: 0; }
.titleblock dt { font: .62rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin-bottom: .3rem; }
.titleblock dd { margin: 0; font-size: .88rem; color: var(--paper); }
footer .close { margin-top: 1.4rem; text-align: center; color: var(--gold); font-weight: 800; font-stretch: 110%; font-size: 1.05rem; }

@media (max-width: 860px) {
  .receipts { grid-template-columns: repeat(2, 1fr); }
  .receipts li { border-bottom: 1px solid var(--line); }
  .receipts li:nth-child(2n) { border-right: 0; }
  .receipts li:last-child { grid-column: span 2; border-bottom: 0; }
  .trio { grid-template-columns: 1fr; }
  .card { border-right: 0; border-bottom: 1px solid var(--line); }
  .card:last-child { border-bottom: 0; }
  .next ul { grid-template-columns: 1fr; }
  .next li:nth-child(odd) { border-right: 0; }
  .next li:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .next li:last-child { border-bottom: 0; }
  .twin thead { display: none; }
  .twin tr { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); padding: .7rem 0; }
  .twin tbody th { grid-column: span 2; width: auto; padding-bottom: .25rem; border: 0; }
  .twin td { border: 0; padding-top: .2rem; }
  .titleblock { grid-template-columns: 1fr 1fr; }
  .titleblock > div { border-bottom: 1px solid var(--line); }
  .top nav a:not(.btn) { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
