/* ==========================================================================
   Buz Score — shared stylesheet
   Honey-yellow + ink-navy brand. Mobile-first responsive design.
   ========================================================================== */

:root {
  --honey: #ffc71a;
  --amber: #ff9a0d;
  --ink: #0d1229;
  --ink-soft: #1a223d;
  --pitch: #298aff;
  --lime: #2ec773;
  --coral: #ff5c66;
  --text: #1a1f33;
  --text-soft: #4a5371;
  --muted: #8893ad;
  --bg: #fafaf6;
  --surface: #ffffff;
  --line: rgba(13, 18, 41, 0.08);
  --shadow-sm: 0 4px 12px rgba(13, 18, 41, 0.06);
  --shadow-md: 0 14px 40px rgba(13, 18, 41, 0.10);
  --shadow-lg: 0 24px 70px rgba(13, 18, 41, 0.18);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1120px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "SF Pro Display",
               "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px dashed transparent;
  transition: border-color .2s ease, color .2s ease;
}
a:hover { border-bottom-color: var(--honey); }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ----- Top navigation ---------------------------------------------------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 246, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.nav__brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 18px; letter-spacing: -.01em;
  color: var(--ink);
}
.nav__brand:hover { border-color: transparent; }
.nav__logo {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--honey), var(--amber));
  display: grid; place-items: center;
  color: var(--ink);
  font-weight: 900;
  box-shadow: 0 6px 18px rgba(255, 154, 13, 0.35);
}
.nav__links { display: flex; gap: 22px; align-items: center; }
.nav__links a {
  font-size: 14px; font-weight: 600; color: var(--text-soft);
  border: none;
}
.nav__links a:hover { color: var(--ink); }
.nav__cta {
  background: var(--ink);
  color: #fff !important;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px; font-weight: 700;
  border: none !important;
}
.nav__cta:hover { background: var(--ink-soft); }

@media (max-width: 640px) {
  .nav__links a:not(.nav__cta) { display: none; }
}

/* ----- Hero -------------------------------------------------------------- */

.hero {
  position: relative;
  background: linear-gradient(160deg, var(--ink), var(--ink-soft));
  color: #fff;
  overflow: hidden;
  padding: 90px 0 110px;
  isolation: isolate;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  z-index: -1;
}
.hero::before {
  background: var(--honey);
  width: 420px; height: 420px;
  top: -120px; right: -120px;
}
.hero::after {
  background: var(--pitch);
  width: 360px; height: 360px;
  bottom: -160px; left: -120px;
  opacity: 0.35;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 880px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 199, 26, 0.18);
  border: 1px solid rgba(255, 199, 26, 0.4);
  color: var(--honey);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.05;
  margin: 22px 0 18px;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--honey), var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  font-size: 18px;
  color: rgba(255,255,255,.7);
  max-width: 540px;
  margin: 0 auto 32px;
}
@media (min-width: 881px) { .hero p { margin-left: 0; } }

.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 880px) { .hero__actions { justify-content: center; } }

/* ----- Buttons ----------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px;
  padding: 14px 24px;
  border-radius: 14px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); border-color: transparent; }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(135deg, var(--honey), var(--amber));
  color: var(--ink);
  box-shadow: 0 14px 30px rgba(255, 154, 13, 0.35);
}
.btn--primary:hover { box-shadow: 0 18px 40px rgba(255, 154, 13, 0.45); }

.btn--ghost {
  background: rgba(255,255,255,.08);
  color: #fff;
  border-color: rgba(255,255,255,.14);
}
.btn--ghost:hover { background: rgba(255,255,255,.14); }

.btn--solid {
  background: var(--ink);
  color: #fff;
}
.btn--solid:hover { background: var(--ink-soft); }

/* ----- Phone mockup ------------------------------------------------------ */

.phone {
  position: relative;
  width: 280px;
  aspect-ratio: 9/19;
  margin: 0 auto;
  border-radius: 38px;
  background: linear-gradient(180deg, #1a1f3a, #0a0d1c);
  padding: 12px;
  box-shadow: var(--shadow-lg), 0 0 0 8px rgba(255,255,255,0.04);
}
.phone__screen {
  position: relative;
  height: 100%;
  border-radius: 28px;
  background: linear-gradient(160deg, var(--ink), var(--ink-soft));
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.phone__notch {
  position: absolute; top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 92px; height: 22px;
  background: #000;
  border-radius: 999px;
  z-index: 2;
}
.phone__inner {
  padding: 44px 18px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.phone__row {
  background: rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.phone__avatar {
  width: 30px; height: 30px;
  border-radius: 8px;
  display: grid; place-items: center;
  font-weight: 800; font-size: 13px;
  color: #fff;
}
.phone__avatar.gk { background: var(--amber); }
.phone__avatar.def { background: var(--pitch); }
.phone__avatar.mid { background: var(--lime); }
.phone__avatar.fwd { background: var(--coral); }
.phone__name { color: #fff; font-size: 12px; font-weight: 700; }
.phone__time { color: rgba(255,255,255,.55); font-size: 11px; font-family: ui-monospace, monospace; margin-left: auto; }
.phone__chip {
  font-size: 9px; font-weight: 800;
  color: var(--ink);
  background: var(--honey);
  padding: 3px 6px;
  border-radius: 6px;
  margin-left: auto;
}
.phone__hero {
  text-align: center;
  padding: 8px 0 4px;
}
.phone__hero .clock {
  font-family: ui-monospace, monospace;
  font-size: 26px;
  font-weight: 900;
  color: #fff;
}
.phone__hero .label {
  font-size: 10px;
  color: var(--honey);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
}

/* ----- Sections ---------------------------------------------------------- */

.section {
  padding: 90px 0;
}
.section--soft { background: var(--surface); }

.section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section__kicker {
  font-size: 12px; font-weight: 800;
  color: var(--amber);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.section__title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: -.02em;
  margin: 12px 0 14px;
  color: var(--ink);
}
.section__sub {
  font-size: 17px;
  color: var(--text-soft);
}

/* ----- Feature grid ------------------------------------------------------ */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 880px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255,199,26,.45);
}
.feature__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--honey), var(--amber));
  display: grid; place-items: center;
  color: var(--ink);
  font-size: 20px;
  margin-bottom: 16px;
}
.feature h3 {
  font-size: 17px; font-weight: 800;
  margin: 0 0 8px;
  color: var(--ink);
}
.feature p {
  font-size: 14px;
  color: var(--text-soft);
  margin: 0;
}

/* ----- Stats strip ------------------------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-top: 0;
}
@media (max-width: 700px) { .stats { grid-template-columns: 1fr 1fr; gap: 18px; padding: 28px; } }

.stat__num {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 900;
  background: linear-gradient(135deg, var(--honey), var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.stat__label {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  margin-top: 6px;
  font-weight: 600;
}

/* ----- CTA --------------------------------------------------------------- */

.cta {
  background: linear-gradient(135deg, var(--honey), var(--amber));
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  color: var(--ink);
  position: relative;
  overflow: hidden;
}
.cta h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: -.02em;
  margin: 0 0 12px;
}
.cta p {
  font-size: 16px;
  margin: 0 auto 28px;
  max-width: 520px;
  opacity: 0.85;
}

/* ----- Footer ------------------------------------------------------------ */

.footer {
  background: var(--ink);
  color: rgba(255,255,255,.6);
  padding: 48px 0 32px;
  font-size: 14px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}
@media (max-width: 760px) { .footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .footer__inner { grid-template-columns: 1fr; } }

.footer h4 {
  color: #fff;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.footer ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.footer a {
  color: rgba(255,255,255,.6);
  border: none;
}
.footer a:hover { color: var(--honey); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 36px;
  padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px;
}

/* ----- Doc page (privacy / support / terms) ------------------------------ */

.page {
  background: var(--bg);
  padding: 60px 0 90px;
}
.page__hero {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}
.page__hero h1 {
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 900;
  letter-spacing: -.02em;
  margin: 8px 0 14px;
  color: var(--ink);
}
.page__hero .meta {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}
.page__hero p {
  font-size: 17px;
  color: var(--text-soft);
}

.doc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 820px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 600px) { .doc { padding: 28px 22px; border-radius: 22px; } }

.doc h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 36px 0 12px;
  color: var(--ink);
  letter-spacing: -.01em;
}
.doc h2:first-child { margin-top: 0; }
.doc h3 {
  font-size: 17px;
  font-weight: 800;
  margin: 24px 0 8px;
  color: var(--ink);
}
.doc p, .doc li {
  font-size: 15.5px;
  color: var(--text-soft);
}
.doc ul, .doc ol { padding-left: 22px; }
.doc li + li { margin-top: 6px; }
.doc a { color: var(--ink); border-bottom-color: var(--honey); font-weight: 600; }

/* ----- FAQ accordion ----------------------------------------------------- */

.faq {
  display: flex; flex-direction: column; gap: 12px;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 4px 22px;
  transition: border-color .2s ease;
}
.faq details[open] { border-color: rgba(255,199,26,.5); }
.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 0;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 700;
  color: var(--amber);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p {
  margin: 0 0 18px;
  color: var(--text-soft);
  font-size: 15px;
}

/* ----- Contact card ------------------------------------------------------ */

.contact-card {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
}
@media (max-width: 600px) { .contact-card { grid-template-columns: 1fr; } }
.contact-card h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 800;
}
.contact-card p {
  margin: 0;
  color: rgba(255,255,255,.65);
}
