/* Same Hextech gold/navy palette as the app itself (src/styles/tokens.css) —
   this page is meant to feel like an extension of the product. */
:root {
  --ink: #010a13;
  --surface: #0a1428;
  --gold: #c8aa6e;
  --gold-deep: #c89b3c;
  --hex: #0bc4e3;
  --off-white: #f0e6d2;
  --steel: #8f9aa8;
  --line: rgba(200, 170, 110, 0.28);

  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --wrap: 1040px;
}

body {
  margin: 0;
  background: linear-gradient(180deg, rgba(11, 196, 227, 0.07) 0%, transparent 520px), var(--ink);
  color: var(--off-white);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* ---------- nav ---------- */
.site-nav { padding: 20px 0; border-bottom: 1px solid var(--line); }
.back-link {
  text-decoration: none; color: var(--steel);
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  transition: color 0.15s ease;
}
.back-link:hover { color: var(--gold); }

/* ---------- hero ---------- */
.hero { padding: 72px 0 40px; }
.eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--hex); }
.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(44px, 9vw, 84px);
  font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; line-height: 0.95;
  color: var(--gold);
}
.hero-lede { max-width: 660px; margin: 0 0 28px; font-size: 17px; opacity: 0.88; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.badge {
  padding: 5px 10px; border: 1px solid var(--line);
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--off-white);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
/* Which release the download button above currently serves. */
.version-note { margin: 12px 0 0; font-size: 11px; letter-spacing: 0.04em; color: var(--steel); opacity: 0.75; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent; transition: opacity 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}
.btn:active { transform: scale(0.98); }
/* Platform icons on the download buttons (Windows panes, phone outline), drawn in the button's own colour. */
.ico { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--gold-deep); color: var(--ink); }
.btn-primary:hover { opacity: 0.88; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--off-white); }
.btn-ghost:hover { border-color: var(--gold); }

/* ---------- screenshots ---------- */
/* Vertical padding only: a bare padding shorthand here would zero .wrap's side padding. */
.shots { padding-top: 24px; padding-bottom: 64px; }
.showcases { display: grid; gap: 48px; }
.showcase { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.showcase.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); }
.showcase.flip .viewer { order: 2; }
.showcase-text h3 { margin: 0 0 12px; font-size: 20px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.showcase-text p { margin: 0; font-size: 15px; opacity: 0.88; }

/* One window per category: the track scrolls sideways and snaps to each screenshot. */
.viewer { min-width: 0; border: 1px solid var(--line); background: var(--surface); }
.viewer-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.viewer.js .viewer-track { scrollbar-width: none; }
.viewer.js .viewer-track::-webkit-scrollbar { display: none; }
.viewer-track:focus-visible { outline: 2px solid var(--hex); outline-offset: -2px; }
.slide { flex: 0 0 100%; min-width: 0; margin: 0; scroll-snap-align: start; }
.slide a { display: block; cursor: zoom-in; }
.slide img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: top left; }
.slide figcaption {
  padding: 10px 14px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--steel); border-top: 1px solid var(--line);
}
.viewer-nav { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-top: 1px solid var(--line); }
.viewer-arrow {
  width: 32px; height: 32px; padding: 0; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); background: transparent; color: var(--off-white); font-size: 20px; line-height: 1; cursor: pointer;
}
.viewer-arrow:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.viewer-arrow:disabled { opacity: 0.3; cursor: default; }
.viewer-dots { display: flex; flex: 1; justify-content: center; gap: 4px; }
/* The dot is a small mark inside a larger tap target. */
.viewer-dot { position: relative; width: 22px; height: 22px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.viewer-dot::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--steel); opacity: 0.45; transition: opacity 0.15s ease, background 0.15s ease; }
.viewer-dot:hover::after { opacity: 0.8; }
.viewer-dot.on::after { background: var(--gold); opacity: 1; }
.viewer-count { font-size: 12px; font-variant-numeric: tabular-nums; color: var(--steel); }
.viewer button:focus-visible { outline: 2px solid var(--hex); outline-offset: 2px; }
.shots-note { margin: 14px 0 0; font-size: 13px; color: var(--steel); }

/* ---------- section shell ---------- */
/* Vertical padding only: the side padding comes from .wrap (a bare `padding` here used to zero it out, so these sections touched the screen edge on phones). */
section.block { padding-top: 56px; padding-bottom: 56px; border-top: 1px solid var(--line); }
.block h2 { font-size: 26px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin: 0 0 28px; }

.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.feature { background: var(--surface); padding: 20px; }
.feature h3 { margin: 0 0 8px; font-size: 15px; font-weight: 700; color: var(--off-white); }
.feature p { margin: 0; font-size: 14px; opacity: 0.78; }

.stack-grid { display: grid; gap: 12px; }
.stack-row { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 16px 20px; background: var(--surface); border: 1px solid var(--line); }
.stack-row .label { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--hex); }
.stack-row .value { font-size: 14px; opacity: 0.88; }
.stack-row .value strong { opacity: 1; }
code { font-size: 0.92em; color: var(--gold); }

/* ---------- roadmap ---------- */
.road-intro { margin: -12px 0 24px; max-width: 640px; font-size: 14px; color: var(--steel); }
.road-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.road-col { background: var(--surface); padding: 20px; }
.road-head { margin-bottom: 14px; }
.status {
  display: inline-block; padding: 3px 10px; border: 1px solid var(--line);
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.status-shipped { color: var(--hex); border-color: rgba(11, 196, 227, 0.45); }
.status-next { color: var(--ink); background: var(--gold-deep); border-color: var(--gold-deep); }
.status-exploring { color: var(--steel); }
.road-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.road-list li { font-size: 14px; opacity: 0.85; }
.road-list li strong { display: block; margin-bottom: 2px; font-size: 14px; color: var(--off-white); opacity: 1; }
/* The one committed item gets a little weight. */
.road-next .road-list li { padding-left: 12px; border-left: 2px solid var(--gold-deep); }

/* ---------- download cta ---------- */
.download-cta { text-align: center; padding-top: 64px; padding-bottom: 80px; border-top: 1px solid var(--line); }
.download-cta h2 { font-size: 32px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
.download-cta p { opacity: 0.78; margin: 0 0 28px; }
.download-cta .hero-actions { justify-content: center; }
/* Same look as the hero note; restated only because `.download-cta p` is more specific than `.version-note`. */
.download-cta .version-note { margin: 12px 0 0; opacity: 0.75; }
.download-cta .fine-print { margin: 20px auto 0; max-width: 680px; font-size: 13px; color: var(--steel); opacity: 1; }

/* The optional phone download: a quieter block under the main desktop one. */
.mobile-option { max-width: 680px; margin: 44px auto 0; padding: 24px 22px 20px; border: 1px solid var(--line); background: rgba(10, 20, 40, 0.5); }
.mobile-option h3 { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 10px; font-size: 15px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.mobile-option p { font-size: 14px; margin: 0 0 20px; }
.mobile-option .hero-actions { justify-content: center; }
.mobile-option .version-note { margin: 14px 0 0; }
.mobile-option .pc-note { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; }
.mobile-option .pc-note strong { color: var(--gold); font-weight: 600; }

.site-footer { padding: 32px 0 56px; border-top: 1px solid var(--line); text-align: center; }
.site-footer a { color: var(--steel); text-decoration: none; font-size: 13px; }
.site-footer a:hover { color: var(--gold); }

@media (max-width: 860px) {
  .road-grid { grid-template-columns: 1fr; }
  .showcase, .showcase.flip { grid-template-columns: 1fr; gap: 16px; }
  .showcase-text { order: -1; }
  .showcase.flip .viewer { order: 0; }
}

@media (max-width: 640px) {
  .feature-grid, .road-grid { grid-template-columns: 1fr; }
  .stack-row { grid-template-columns: 1fr; gap: 6px; }
}
