:root {
  --bg: #0d1117;
  --surface: #161b22;
  --surface2: #21262d;
  --border: #30363d;
  --ink: #e6edf3;
  --muted: #8b949e;
  --dim: #6e7681;
  --felt: #14532d;
  --felt2: #071b17;
  --gold: #f0b429;
  --gold-light: #fde68a;
  --paper: #fff8e6;
  --night: #071016;
  --line: rgba(255,255,255,.1);
  --red: #c62828;
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(240,180,41,.16), transparent 34%),
    radial-gradient(circle at 82% 26%, rgba(22,101,52,.36), transparent 34%),
    radial-gradient(ellipse at 80% 80%, rgba(15,30,60,.5) 0%, transparent 50%),
    linear-gradient(145deg, rgba(10,31,22,.96), rgba(9,18,34,.96) 62%, #0d1117);
  line-height: 1.5;
}

a { color: var(--gold); }
a:hover { color: var(--gold-light); }

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 48px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 900;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-brand::before {
  content: "♠♥";
  color: var(--dim);
  letter-spacing: .04em;
}

.site-brand::first-letter {
  color: var(--ink);
}

.site-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.site-links a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-links a:hover { color: var(--gold); }

.hero {
  display: grid;
  gap: 26px;
  max-width: 920px;
  padding: clamp(42px, 7vw, 84px) 0;
}

.eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  margin: 0;
  color: #f7f3e8;
  font-size: clamp(42px, 7vw, 78px);
  font-weight: 900;
  line-height: .94;
  letter-spacing: -.055em;
}

.lead {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.45;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease, color .16s ease;
}

.cta:hover {
  transform: translateY(-1px);
  border-color: rgba(240,180,41,.45);
  background: rgba(255,255,255,.08);
  box-shadow: 0 14px 28px rgba(0,0,0,.24);
}

.cta.primary {
  border-color: transparent;
  background: linear-gradient(180deg, rgba(240,180,41,.94), rgba(214,149,22,.92));
  color: #0f1114;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.02)),
    rgba(5,12,22,.32);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 22px 50px rgba(0,0,0,.28);
}

.panel {
  min-height: 190px;
  padding: 24px;
  background: rgba(5,12,22,.5);
}

.panel h2 {
  margin: 0 0 12px;
  color: #f7f3e8;
  font-size: 25px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.03em;
}

.panel p,
.panel li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.58;
}

.panel ul {
  margin: 0;
  padding-left: 20px;
}

.wide {
  grid-column: span 2;
}

.section {
  margin-top: 52px;
}

.section h2 {
  max-width: 700px;
  margin: 0 0 16px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: .95;
  letter-spacing: -.04em;
}

.section p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.fine {
  color: var(--dim);
  font-size: 13px;
}

.insight-showcase {
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(300px, 1fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: stretch;
  margin-bottom: 18px;
}

.insight-card {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 70% 10%, rgba(240,180,41,.18), transparent 30%),
    linear-gradient(145deg, rgba(7,34,24,.9), rgba(7,14,28,.82));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 22px 50px rgba(0,0,0,.28);
}

.insight-card-label {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.xt-display {
  display: grid;
  gap: 8px;
  place-items: center;
  min-height: 188px;
  margin: 22px 0;
  border-radius: 999px;
  border: 1px dashed rgba(242,210,138,.28);
  background: radial-gradient(circle, rgba(240,180,41,.12), transparent 64%);
  text-align: center;
}

.xt-label {
  color: rgba(247,243,232,.62);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
}

.xt-value {
  color: #fff7dd;
  font-size: clamp(64px, 9vw, 104px);
  font-weight: 900;
  line-height: .85;
  letter-spacing: -.08em;
}

.xt-copy {
  max-width: 210px;
  color: rgba(230,237,243,.7);
  font-size: 13px;
}

.suit-rank {
  display: grid;
  gap: 8px;
}

.suit-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  color: rgba(247,243,232,.76);
  font-weight: 800;
}

.suit-row.is-best {
  border-color: rgba(240,180,41,.5);
  background: rgba(240,180,41,.12);
  color: #fff7dd;
}

.is-red {
  color: var(--red);
}

.insight-copy-stack {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--line);
}

.insight-copy-block {
  padding: clamp(20px, 3vw, 26px);
  background: rgba(5,12,22,.52);
}

.insight-copy-block h2 {
  margin: 0 0 10px;
  color: #f7f3e8;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
}

.insight-copy-block p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.mini-kicker {
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

@media (max-width: 780px) {
  .site-nav {
    align-items: flex-start;
    padding-bottom: 24px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .wide {
    grid-column: auto;
  }
  .insight-showcase {
    grid-template-columns: 1fr;
  }
}
