/* ═══════════════════════════════════════════════════════════
   DARTS - scoring app promo microsite
   Pub-night palette: dartboard red, oche green, trophy gold
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg-top:     #1B1210;
  --bg-bottom:  #10190F;
  --paper:      #221715;
  --paper-2:    #1B231A;
  --ink:        #F5ECE7;
  --ink-2:      #C4B2AB;
  --ink-3:      #8C7A75;

  --red:        #E2483F;
  --red-deep:   #B23327;
  --green:      #35C77A;
  --green-lt:   #63E29C;
  --gold:       #E8B23D;
  --accent:     #E2483F;

  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,.28), 0 1px 2px rgba(0,0,0,.2);
  --shadow-md: 0 12px 30px rgba(226,72,63,.16);
  --shadow-lg: 0 24px 60px rgba(226,72,63,.22);

  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 620px, var(--bg-bottom) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ── Nav ─────────────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto;
  padding: 22px 24px 0;
}
.nav__brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; color: var(--ink); }
.nav__brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav__links { display: flex; gap: 22px; font-weight: 600; font-size: 14px; color: var(--ink-2); }
.nav__links a:hover { color: var(--red); }
@media (max-width: 640px) { .nav__links { display: none; } }

/* ── Hero ────────────────────────────────────────────── */
.hero { padding: 56px 0 40px; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px) { .hero__grid { grid-template-columns: 1fr; text-align: center; } }

.hero__icon {
  width: 84px; height: 84px; border-radius: 22px;
  box-shadow: var(--shadow-md);
  margin-bottom: 22px;
}
@media (max-width: 860px) { .hero__icon { margin-left: auto; margin-right: auto; } }

.hero h1 {
  font-size: clamp(38px, 6vw, 58px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.03;
  color: var(--ink);
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--red), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__sub {
  margin-top: 16px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 46ch;
}
@media (max-width: 860px) { .hero__sub { margin-left: auto; margin-right: auto; } }

.hero__actions { margin-top: 28px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
@media (max-width: 860px) { .hero__actions { justify-content: center; } }

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--bg-top);
  padding: 11px 20px 11px 16px;
  border-radius: 14px;
  font-weight: 700; font-size: 14px;
  opacity: .6;
  cursor: default;
}
.badge svg { width: 22px; height: 22px; flex-shrink: 0; }
.badge__text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.badge__text small { font-size: 10px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; opacity: .8; }
.badge__text span { font-size: 15px; }

.hero__shot {
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
  justify-self: center;
  max-width: 300px;
  transform: rotate(1.5deg);
  border: 1px solid rgba(226,72,63,.18);
}

/* ── Section shell ───────────────────────────────────── */
.section { padding: 72px 0; }
.section--tint { background: var(--paper-2); }
.head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.eyebrow {
  font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.head h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 800; letter-spacing: -.015em; color: var(--ink); }
.head p { margin-top: 12px; font-size: 17px; color: var(--ink-2); line-height: 1.55; }

/* ── Rule cards (Smart Validation) ───────────────────── */
.rules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 760px) { .rules { grid-template-columns: 1fr; } }
.rule {
  background: var(--paper);
  border-radius: var(--r-md);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(226,72,63,.1);
}
.rule__no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--red); color: #fff;
  font-weight: 800; font-size: 15px;
  margin-bottom: 14px;
}
.rule h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; color: var(--ink); }
.rule p { font-size: 15px; color: var(--ink-2); line-height: 1.55; }

/* ── Feature bento ───────────────────────────────────── */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  gap: 18px;
}
@media (max-width: 900px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .bento { grid-template-columns: 1fr; } }

.tile {
  border-radius: var(--r-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 10px;
  border: 1px solid rgba(226,72,63,.08);
  background: var(--paper);
}
.tile--wide { grid-column: span 2; }
@media (max-width: 540px) { .tile--wide { grid-column: span 1; } }

.tile--p1 { background: linear-gradient(155deg, rgba(226,72,63,.1), rgba(226,72,63,.03)); border-color: rgba(226,72,63,.14); }
.tile--p2 { background: linear-gradient(155deg, rgba(232,178,61,.1), rgba(232,178,61,.03)); border-color: rgba(232,178,61,.14); }
.tile--p3 { background: linear-gradient(155deg, rgba(53,199,122,.1), rgba(53,199,122,.03)); border-color: rgba(53,199,122,.14); }
.tile--p4 { background: linear-gradient(155deg, rgba(226,72,63,.08), rgba(232,178,61,.05)); border-color: rgba(226,72,63,.1); }
.tile--dark { background: linear-gradient(135deg, var(--red-deep), #6E1F1A); color: #fff; border-color: rgba(226,72,63,.3); }
.tile--dark .tile__body { color: rgba(255,255,255,.8); }

.tile h3 { font-size: 17px; font-weight: 800; color: var(--ink); }
.tile__body { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }

/* ── Gallery ─────────────────────────────────────────── */
.gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .gallery { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; } }
.gallery img {
  border-radius: 22px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(226,72,63,.14);
}
.gallery figcaption {
  margin-top: 10px; text-align: center;
  font-size: 13.5px; font-weight: 700; color: var(--ink-2);
}

/* ── Feature list ────────────────────────────────────── */
.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .feature-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .feature-list { grid-template-columns: 1fr; } }

.feature-group {
  background: var(--paper);
  border-radius: var(--r-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(226,72,63,.1);
}
.feature-group h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 16px;
}
.feature-group ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-group li {
  font-size: 14.5px;
  color: var(--ink-2);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}
.feature-group li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 800;
}

/* ── Personas ────────────────────────────────────────── */
.personas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .personas { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .personas { grid-template-columns: 1fr; } }

.persona-card {
  background: var(--paper);
  border-radius: var(--r-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(226,72,63,.1);
}
.persona-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--ink);
}
.persona-card p {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.6;
}

/* ── Footer ──────────────────────────────────────────── */
.foot {
  padding: 40px 0 60px;
  text-align: center;
}
.foot__links { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; font-weight: 700; font-size: 14px; margin-bottom: 14px; }
.foot__links a { color: var(--red); }
.foot__links a:hover { text-decoration: underline; }
.foot p { font-size: 13px; color: var(--ink-3); }

/* ── Simple content pages (support / privacy) ───────── */
.doc {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px 90px;
}
.doc__back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 700; color: var(--red);
  margin-bottom: 28px;
}
.doc__header {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 8px;
}
.doc__header img { width: 44px; height: 44px; border-radius: 12px; box-shadow: var(--shadow-sm); }
.doc h1 { font-size: clamp(28px, 5vw, 36px); font-weight: 800; color: var(--ink); letter-spacing: -.015em; }
.doc__updated { margin-top: 10px; font-size: 13.5px; color: var(--ink-3); margin-bottom: 40px; }

.doc-card {
  background: var(--paper);
  border-radius: var(--r-md);
  padding: 30px 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
  border: 1px solid rgba(226,72,63,.1);
}
.doc-card h2 { font-size: 18px; font-weight: 800; margin-bottom: 12px; color: var(--ink); }
.doc-card p, .doc-card li { font-size: 15.5px; line-height: 1.7; color: var(--ink-2); }
.doc-card p + p { margin-top: 12px; }
.doc-card ul { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.doc-card li { padding-left: 20px; position: relative; }
.doc-card li::before { content: "•"; position: absolute; left: 0; color: var(--gold); font-weight: 800; }
.doc-card a.inline { color: var(--red); font-weight: 700; text-decoration: underline; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 6px; }
@media (max-width: 560px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-grid--single { grid-template-columns: 1fr; max-width: 320px; }
.contact-card {
  background: var(--paper-2);
  border-radius: var(--r-sm);
  padding: 20px 22px;
  border: 1px solid rgba(226,72,63,.08);
}
.contact-card__label { font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.contact-card__value { font-size: 15.5px; font-weight: 700; color: var(--ink); }

.faq-item + .faq-item { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(226,72,63,.1); }
.faq-item h3 { font-size: 15.5px; font-weight: 800; margin-bottom: 6px; color: var(--ink); }
.faq-item p { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; }
