/* ============================================================================
   Landing page (index.html), board 11. Loaded after site.css.
   Responsive overrides at the end so they win the cascade.
   ========================================================================== */

/* ---- hero ---- */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 44px; padding-top: 44px; }
.hero::before {
  content: ''; position: absolute; inset: 0 0 -40px; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 40px);
}
.hero > * { position: relative; }
.kick { display: flex; gap: 10px; align-items: center; }
.kick i { width: 22px; height: 2px; background: var(--hazard); display: block; flex: none; }
.kick .ct-stencil { color: var(--bone-2); }
.hero h1 { font-size: 104px; line-height: 0.84; letter-spacing: -0.015em; margin-top: 22px; }
.hero h1 span { color: var(--hazard); }
.hero .lead { font: 500 18px/1.55 var(--font-body); color: var(--bone-2); margin-top: 26px; max-width: 520px; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; align-items: center; }
.btn-play { min-width: 300px; }
.cta-note { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; font: 500 12.5px/1.4 var(--font-body); color: var(--bone-3); }
.cta-note span::before { content: ''; display: inline-block; width: 5px; height: 5px; background: var(--bone-3); margin-right: 7px; vertical-align: 2px; }
.facts { --notch: 12px; display: grid; grid-template-columns: repeat(4, 1fr); margin: 34px 0 0; }
.facts > div { padding: 14px 14px 12px; border-right: 1px solid var(--seam); box-shadow: 1px 0 0 var(--edge-hi); }
.facts > div:last-child { border: 0; box-shadow: none; }
.facts dt { font: 700 34px/1 var(--font-cond); color: var(--bone); }
.facts dt em { font-style: normal; font-size: 18px; color: var(--bone-3); margin-left: 2px; }
.facts dd { margin: 5px 0 0; font: 600 10.5px/1.3 var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--bone-3); }

.hero-fig { display: grid; grid-template-columns: minmax(0, 1fr) 142px; gap: 10px; align-items: start; }
.lane-frame { margin: 0; }
.lane-head { --notch: 12px; display: flex; justify-content: space-between; align-items: flex-end; padding: 14px 16px 12px; margin-bottom: 6px; clip-path: polygon(var(--notch) 0, 100% 0, 100% 100%, 0 100%, 0 var(--notch)); }
.lane-head b { display: block; font: italic 800 26px/0.9 var(--font-cond); text-transform: uppercase; color: var(--bone); }
.lane-head b span { color: var(--hazard); }
.lane-head .ct-stencil { display: block; margin-top: 6px; }
.lane-head .dims { text-align: right; }
.lane-head .dims b { font: 700 26px/1 var(--font-cond); font-style: normal; }
.lane-head .dims small { display: block; margin-top: 4px; font: 700 9.5px/1 var(--font-stencil); letter-spacing: 0.1em; text-transform: uppercase; color: var(--credit); }
.hero-lane { --notch: 18px; height: 660px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%); }
.hero-lane::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: repeating-linear-gradient(-45deg, var(--gm-600) 0 6px, var(--gm-850) 6px 12px); pointer-events: none; }

.skins { display: flex; flex-direction: column; gap: 6px; }
.skins-h { display: flex; justify-content: space-between; padding: 2px 2px 4px; }
.theme-tile {
  --notch: 9px; position: relative; display: block; width: 100%; height: 128px; padding: 0; border: 0; cursor: pointer; overflow: hidden;
  text-align: left; color: var(--bone); font: inherit;
}
.theme-tile .tile-preview { position: absolute; inset: 0 0 38px; display: block; }
.theme-tile .tile-meta {
  position: absolute; left: 0; right: 0; bottom: 0; height: 38px; padding: 0 8px; display: flex; flex-direction: column; justify-content: center;
  background: var(--gm-900); border-top: 1px solid var(--seam);
}
.theme-tile .tile-meta b { font: 700 13px/1 var(--font-cond); letter-spacing: 0.02em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-tile .tile-meta small { margin-top: 3px; font: 700 9.5px/1 var(--font-stencil); color: var(--credit); }
.theme-tile .tile-meta small.free { color: var(--ally); }
.theme-tile::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: transparent; }
.theme-tile.active::after { background: var(--hazard); }
.theme-tile.active .tile-meta b { color: var(--hazard); }
.theme-tile:not(.active) .tile-preview { filter: saturate(0.75) brightness(0.8); }

/* ---- sections ---- */
.s-more { display: flex; justify-content: flex-end; }

/* how a match works */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.step { --notch: 16px; padding: 0 0 20px; }
.step-fig { height: 300px; border-bottom: 1px solid var(--seam); }
.step .n { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 18px 22px 0; }
.step h3 { font: italic 800 44px/0.9 var(--font-cond); text-transform: uppercase; }
.step h3 em { color: var(--hazard); font-size: 22px; margin-right: 8px; vertical-align: 12px; }
.step p { padding: 10px 22px 0; font: 500 14.5px/1.5 var(--font-body); color: var(--bone-2); }

.ruler { --notch: 12px; margin-top: 16px; padding: 16px 22px 18px; }
.ruler-top { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.track { position: relative; height: 46px; }
.bar { position: absolute; left: 0; right: 0; top: 8px; height: 8px; background: var(--gm-950); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.6); }
.bar i { position: absolute; top: 0; bottom: 0; }
.bar .b-grace { left: 0; width: 1.7%; background: var(--ally); }
.bar .b-act1 { left: 1.7%; width: 22.3%; background: var(--gm-600); }
.bar .b-act2 { left: 24%; width: 24%; background: var(--credit-deep); }
.bar .b-act3 { left: 48%; width: 52%; background: var(--credit); }
.mk { position: absolute; top: 0; height: 22px; border-left: 1px solid var(--bone-3); }
.mk b { position: absolute; top: 24px; left: -1px; font: 700 15px/1 var(--font-cond); color: var(--bone); white-space: nowrap; }
.mk small { position: absolute; top: 25px; left: 44px; font: 500 12px/1.2 var(--font-body); color: var(--bone-2); white-space: nowrap; }
.mk-end { left: auto; right: 0; border-left: 0; border-right: 1px solid var(--threat); }
.mk-end b { left: auto; right: 6px; color: var(--threat); }
.mk-end small { left: auto; right: 54px; }

/* barracks */
.barracks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.bk { --notch: 14px; padding: 0 0 14px; overflow: hidden; }
.bk::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--c); }
.bk-top {
  position: relative; height: 214px; border-bottom: 1px solid var(--seam);
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 20px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 20px);
}
.bk-hero { position: absolute; right: -6px; top: 30px; width: 164px; height: 164px; filter: drop-shadow(6px 12px 8px rgba(0, 0, 0, 0.7)); }
.bk-t { position: absolute; left: 18px; top: 20px; z-index: 1; }
.bk-t small { font: 700 10px/1 var(--font-stencil); letter-spacing: 0.12em; text-transform: uppercase; color: var(--c); }
.bk-t h3 { margin-top: 6px; font: italic 800 32px/0.88 var(--font-cond); text-transform: uppercase; white-space: nowrap; }
.bk-t h3 em { color: var(--c); }
.bk-t span { display: block; width: 130px; margin-top: 10px; font: 500 12.5px/1.4 var(--font-body); color: var(--bone-2); }
.bk-open { position: absolute; left: 18px; bottom: 14px; font: 700 20px/1 var(--font-cond); color: var(--bone); }
.bk-open small { display: block; margin-bottom: 3px; font: 700 9px/1 var(--font-stencil); letter-spacing: 0.1em; text-transform: uppercase; color: var(--bone-3); }
.roster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 12px 12px 0; }
.u { --notch: 7px; position: relative; height: 78px; overflow: hidden; background: var(--gm-900); }
.u img { position: absolute; left: 44%; top: 3px; width: 54px; height: 54px; transform: translateX(-50%); filter: drop-shadow(2px 3px 2px rgba(0, 0, 0, 0.6)); }
.u b { position: absolute; left: 6px; right: 4px; bottom: 6px; font: 700 11px/1 var(--font-cond); letter-spacing: 0.02em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.u small { position: absolute; right: 5px; top: 5px; font: 700 8.5px/1 var(--font-stencil); color: var(--c); }
.u::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--c); opacity: 0.6; }
.u.u-fill { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 0 8px; }
.u.u-fill b { position: static; color: var(--bone-2); white-space: normal; }
.u.u-fill .ct-stencil { font-size: 8px; }
.perk { margin: 10px 14px 0; padding-top: 10px; border-top: 1px solid rgba(0, 0, 0, 0.4); box-shadow: inset 0 1px 0 var(--edge-hi); font: 500 12.5px/1.45 var(--font-body); color: var(--bone-2); }

/* towers */
.tree { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 16px; }
.basics { --notch: 16px; display: flex; flex-direction: column; gap: 14px; padding: 18px 20px; }
.basics > p { padding-top: 12px; border-top: 1px solid rgba(0, 0, 0, 0.4); box-shadow: inset 0 1px 0 var(--edge-hi); font: 500 13px/1.5 var(--font-body); color: var(--bone-2); }
.lines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.line { --notch: 12px; display: grid; grid-template-rows: auto 1fr auto; padding: 12px 14px; }
.line .lh { display: flex; justify-content: space-between; align-items: baseline; }
.line h3 { font: 700 17px/1 var(--font-cond); letter-spacing: 0.04em; text-transform: uppercase; }
.line h3 em { font-style: normal; color: var(--bone-3); margin-right: 6px; }
.line .lr { justify-content: space-between; align-items: center; margin: 4px 0 6px; }
.line .tw { flex: 1; width: auto; min-width: 0; }
.line .tw img { width: 76px; height: 76px; }
.line.line-4 .tw img { width: 58px; height: 58px; }
.line .arr { height: 20px; align-self: auto; margin-top: -30px; flex: none; }
.line p { padding-top: 8px; border-top: 1px solid rgba(0, 0, 0, 0.4); box-shadow: inset 0 1px 0 var(--edge-hi); font: 500 12px/1.4 var(--font-body); color: var(--bone-2); }
.line p b { margin-right: 4px; font: 700 12px/1 var(--font-cond); letter-spacing: 0.06em; text-transform: uppercase; color: var(--hazard); }

/* faq preview */
.faq-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.qa { --notch: 12px; padding: 16px 18px; }
.qa h3 { display: flex; gap: 10px; font: 700 18px/1.15 var(--font-cond); letter-spacing: 0.02em; text-transform: uppercase; }
.qa h3 em { padding-top: 4px; font: 700 10px/1 var(--font-stencil); font-style: normal; color: var(--hazard); }
.qa p { margin-top: 8px; font: 500 13.5px/1.5 var(--font-body); color: var(--bone-2); }

/* closer */
.closer { padding-top: 96px; }
.closer-plate { --notch: 20px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; padding: 34px 40px; }
.closer h2 { font: italic 800 56px/0.88 var(--font-cond); text-transform: uppercase; }
.closer h2 span { color: var(--hazard); }
.closer p { margin-top: 10px; font: 500 15px/1.5 var(--font-body); color: var(--bone-2); }
.closer .ctas { margin: 0; }

/* ---- responsive (keep last) ---- */
@media (max-width: 1320px) {
  .hero h1 { font-size: 88px; }
  .barracks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tree { grid-template-columns: 1fr; }
  .basics { flex-direction: row; flex-wrap: wrap; gap: 18px 32px; }
  .basics > p { flex-basis: 100%; }
}
@media (max-width: 1180px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { max-width: 720px; }
  .hero-fig { max-width: 820px; }
  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: minmax(0, 360px) 1fr; }
  .step-fig { grid-row: span 2; height: 260px; border-bottom: 0; border-right: 1px solid var(--seam); }
  .lines, .faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .closer-plate { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 720px) {
  .hero { padding-top: 18px; gap: 0; }
  .hero::before { content: none; }
  .hero h1 { font-size: 56px; margin-top: 12px; }
  .hero h1 br.d { display: none; }
  .hero .lead { font-size: 15px; margin-top: 12px; }
  .hero-copy { display: flex; flex-direction: column; }
  .hero-copy .ctas { order: 5; }
  .hero-copy .cta-note { order: 6; }
  .hero-copy .facts { order: 7; }
  .ctas { flex-direction: column; align-items: stretch; gap: 8px; margin-top: 16px; }
  .btn-play { width: 100%; min-height: 60px; font-size: 28px; }
  .ctas .asb { align-self: flex-start; height: 50px; }
  .facts { grid-template-columns: repeat(2, 1fr); margin-top: 12px; }
  .facts > div:nth-child(2) { border-right: 0; box-shadow: none; }
  .facts > div:nth-child(-n + 2) { border-bottom: 1px solid var(--seam); }
  .facts dt { font-size: 26px; }
  .hero-fig { grid-template-columns: minmax(0, 1fr); margin-top: 16px; }
  .skins { min-width: 0; }
  .lane-head { padding: 10px 12px; }
  .lane-head b, .lane-head .dims b { font-size: 20px; }
  .hero-lane { height: 380px; }
  .skins { flex-direction: row; overflow-x: auto; gap: 6px; padding-bottom: 4px; }
  .skins-h { display: none; }
  .theme-tile { flex: none; width: 116px; height: 104px; }
  .sec, .closer { padding-top: 56px; }
  .step { grid-template-columns: 124px 1fr; }
  .step-fig { height: auto; min-height: 170px; }
  .step .n { padding: 12px 14px 0; }
  .step h3 { font-size: 28px; }
  .step h3 em { font-size: 15px; vertical-align: 7px; }
  .step .n .ct-stencil { display: none; }
  .step p { padding: 6px 14px 12px; font-size: 13px; }
  .ruler { padding: 14px; }
  .ruler-top .ct-stencil:last-child { display: none; }
  .track { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 26px; }
  .mk, .mk-end { position: static; height: auto; border: 0; border-left: 2px solid var(--bone-3); padding-left: 8px; }
  .mk-end { border-left-color: var(--threat); }
  .mk b, .mk small, .mk-end b, .mk-end small { position: static; display: block; }
  .mk small { margin-top: 3px; white-space: normal; }
  .barracks, .lines, .faq-grid { grid-template-columns: 1fr; }
  .bk-top { height: 190px; }
  .bk-hero { width: 150px; height: 150px; }
  .basics { flex-direction: column; flex-wrap: nowrap; }
  .basics > p { flex-basis: auto; }
  .tw { width: 64px; }
  .tw img { width: 60px; height: 60px; }
  .closer-plate { padding: 22px 18px; }
  .closer h2 { font-size: 40px; }
}
