/* Buckaroo website — same look as the app: navy, Grandstander headings, Nunito text. */
:root {
  --bg: #131722;
  --surface: #1D2230;
  --surface-2: #232938;
  --ink: #EEF1F8;
  --muted: #A2ABC2;
  --line: #2E3547;
  --navy: #1D2333;
  --sun: #FFCB52;
  --money: #5DD08E;
  --pink: #FF7BAA;
  --blue: #7AA8FF;
  --teal: #4FD1CF;
  --purple: #AB8DFF;
  --display: "Grandstander", "Chalkboard SE", system-ui, sans-serif;
  --body: "Nunito", ui-rounded, system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 700 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Wordmark */
.wm { font-family: var(--display); font-weight: 800; white-space: nowrap; }
.wm .b { color: var(--blue); } .wm .a { color: var(--teal); } .wm .r { color: var(--pink); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(19, 23, 34, .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 26px; }
.brand-tile { width: 42px; height: 42px; border-radius: 12px; background: var(--navy); border: 1px solid var(--line); display: grid; place-items: center; }
.nav { display: flex; gap: 22px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 800; font-size: 16px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
@media (max-width: 560px) { .nav { gap: 14px; } .nav a { font-size: 15px; } .nav .hide-sm { display: none; } .brand { font-size: 22px; } }

/* Hero */
.hero { padding: 64px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { margin: 0 0 16px; font: 800 clamp(40px, 6vw, 64px)/1.05 var(--display); letter-spacing: -.01em; text-wrap: balance; }
.hero p.lead { margin: 0 0 28px; color: var(--muted); font-size: 20px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.badge-soon { display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 16px; background: var(--ink); color: var(--bg); font: 800 17px var(--body); }
.badge-soon small { display: block; font-size: 12px; font-weight: 800; opacity: .7; letter-spacing: .04em; text-transform: uppercase; }
.text-link { color: var(--muted); font-weight: 800; }
.hero-art { display: flex; justify-content: center; position: relative; }
.hero-art .pig { position: absolute; width: 150px; left: -10px; bottom: -20px; filter: drop-shadow(0 10px 30px rgba(0,0,0,.4)); }
@media (max-width: 860px) {
  .hero { padding-top: 40px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero-art .pig { width: 110px; left: 4px; }
}

/* Phones */
.phone { width: 280px; max-width: 78vw; border-radius: 44px; padding: 10px; background: #0B0E16; border: 1px solid #2A3040; box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.phone img { border-radius: 34px; width: 100%; height: auto; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; }

/* Sections */
section { padding: 56px 0; }
.section-title { margin: 0 0 10px; font: 800 clamp(30px, 4.5vw, 42px)/1.1 var(--display); text-wrap: balance; }
.section-lead { margin: 0 0 32px; color: var(--muted); font-size: 18px; max-width: 40em; }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.feature { padding: 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.feature .icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 14px; }
.feature h3 { margin: 0 0 6px; font: 800 21px/1.2 var(--display); }
.feature p { margin: 0; color: var(--muted); }

.screens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; justify-items: center; }
.screens figure { margin: 0; display: grid; gap: 14px; justify-items: center; text-align: center; }
.screens figcaption { color: var(--muted); max-width: 18em; }
.screens figcaption b { display: block; color: var(--ink); font: 800 19px var(--display); }
@media (max-width: 860px) {
  .screens { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; justify-items: center; }
  .screens figure { scroll-snap-align: center; }
}

.privacy-band { border-radius: 28px; background: var(--surface); border: 1px solid var(--line); padding: 32px; display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.privacy-band ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.privacy-band li { display: flex; gap: 10px; }
.privacy-band li::before { content: "✓"; color: var(--money); font-weight: 800; }
.shield { width: 96px; height: 96px; border-radius: 28px; background: var(--navy); border: 1px solid var(--line); display: grid; place-items: center; }
@media (max-width: 640px) { .privacy-band { grid-template-columns: 1fr; padding: 24px; } }

/* Simple pages (support, legal) */
.page { padding: 48px 0 64px; }
.page .wrap { max-width: 760px; }
.page h1 { margin: 0 0 8px; font: 800 clamp(36px, 6vw, 50px)/1.1 var(--display); }
.page .meta { color: var(--muted); margin: 0 0 28px; }
.page h2 { margin: 36px 0 8px; font: 800 24px/1.25 var(--display); }
.page p, .page li { color: #D5DAE6; }
.page ul { padding-left: 22px; }
.page li { margin: 6px 0; }

.card { padding: 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.contact strong { display: block; font: 800 22px var(--display); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border-radius: 16px; background: var(--ink); color: var(--bg); font: 800 17px var(--body); text-decoration: none; }
.btn:hover { color: var(--bg); background: #fff; }

.faq { display: grid; gap: 10px; }
.faq details { border-radius: 18px; background: var(--surface); border: 1px solid var(--line); padding: 0 20px; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; cursor: pointer; list-style: none; font: 800 18px/1.3 var(--display); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 800 24px var(--body); color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--muted); }

ol.steps { padding-left: 22px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 44px; color: var(--muted); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); }
