/* ==========================================================================
   HUSTLERHQ — DESIGN SYSTEM
   Dark editorial / premium product-discovery brand.
   ========================================================================== */

:root {
  /* Colour tokens */
  --bg: #0a0a0c;
  --bg-alt: #111114;
  --surface: #17171b;
  --surface-2: #1d1d22;
  --border: rgba(245, 245, 240, 0.09);
  --border-strong: rgba(201, 162, 39, 0.4);
  --text: #f5f5f1;
  --text-muted: #9a9aa3;
  --text-faint: #6b6b74;

  --gold: #c9a227;
  --gold-bright: #e9c65c;
  --purple: #9d4edd;
  --blue: #3ec1ff;
  --magenta: #ff3ec8;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-card: 0 20px 60px -25px rgba(0, 0, 0, 0.65);
  --shadow-gold: 0 0 0 1px rgba(201, 162, 39, 0.25), 0 20px 50px -20px rgba(201, 162, 39, 0.25);

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);

  --font-display: "Space Grotesk", "Liberation Sans", sans-serif;
  --font-body: "Inter", "Liberation Sans", sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-color-scheme: light) {
  :root { color-scheme: dark; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  background: var(--gold);
  color: #0a0a0c;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 999;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform 0.25s var(--ease); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #14100a;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); }

.btn-block { width: 100%; justify-content: center; }

.btn-disabled,
.btn[aria-disabled="true"] {
  opacity: 0.45;
  pointer-events: none;
  filter: grayscale(0.4);
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 12, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
.brand img { height: 34px; width: auto; }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 40px;
}
.main-nav a {
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color 0.2s var(--ease);
  position: relative;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--text); }
.main-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -22px;
  height: 2px;
  background: var(--gold);
}

.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 9px;
  color: var(--text);
}
.nav-toggle svg { width: 20px; height: 20px; display: block; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    inset: 84px 0 0 0;
    background: var(--bg);
    padding: 40px var(--gutter);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }
  .main-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
  .main-nav a { font-size: 1.4rem; color: var(--text); }
  .main-nav a[aria-current="page"]::after { bottom: -8px; }
  .header-actions .btn-ghost { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  padding: clamp(64px, 12vh, 140px) 0 clamp(48px, 8vh, 100px);
  overflow: hidden;
}

.hero-field {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 140%;
  z-index: -1;
  background:
    radial-gradient(600px 420px at 12% 18%, rgba(157, 78, 221, 0.28), transparent 65%),
    radial-gradient(560px 460px at 92% 8%, rgba(62, 193, 255, 0.22), transparent 60%),
    radial-gradient(700px 500px at 60% 100%, rgba(201, 162, 39, 0.16), transparent 65%);
  filter: blur(10px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.eyebrow-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-strong);
  color: var(--gold-bright);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 26px;
}
.eyebrow-tag::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px 2px rgba(201,162,39,0.7);
}

.hero-title {
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  color: var(--text);
}
.hero-title .accent {
  display: block;
  background: linear-gradient(100deg, var(--gold-bright), var(--gold) 45%, var(--magenta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-slogan {
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--text);
  line-height: 1.3;
}

.hero-copy {
  margin-top: 20px;
  max-width: 46ch;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.hero-actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.hero-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-visual::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,10,12,0.85) 100%);
}
.hero-visual-tag {
  position: absolute;
  left: 20px; bottom: 20px;
  z-index: 1;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-visual-tag span.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px 3px rgba(201,162,39,.8);
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; aspect-ratio: 16/11; }
}

/* ==========================================================================
   Section scaffolding
   ========================================================================== */

section { padding: clamp(64px, 9vw, 120px) 0; }
.section-alt { background: var(--bg-alt); }

.section-head {
  max-width: 640px;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
}
.section-head p {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 1.05rem;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Principles (Discover / Test / Upgrade)
   ========================================================================== */

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.principle {
  background: var(--bg);
  padding: 40px 34px;
}
.principle .num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--gold);
  letter-spacing: 0.08em;
}
.principle h3 {
  margin-top: 20px;
  font-size: 1.4rem;
}
.principle p {
  margin-top: 12px;
  color: var(--text-muted);
}
@media (max-width: 760px) {
  .principles { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Product grid + cards
   ========================================================================== */

.products-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card);
}

.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-alt);
}
.product-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.product-card:hover .product-media img { transform: scale(1.06); }

.product-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(10,10,12,0.75);
  border: 1px solid var(--border-strong);
  color: var(--gold-bright);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
}

.product-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.product-category {
  font-size: 0.78rem;
  color: var(--text-faint);
  letter-spacing: 0.04em;
}
.product-body h3 {
  font-size: 1.15rem;
}
.product-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  flex: 1;
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}
.price-block { display: flex; align-items: baseline; gap: 8px; }
.price { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--gold-bright); }
.price-old { font-size: 0.85rem; color: var(--text-faint); text-decoration: line-through; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
  transition: gap 0.2s var(--ease), color 0.2s var(--ease);
}
.card-link svg { width: 14px; height: 14px; }
.product-card:hover .card-link { color: var(--gold-bright); gap: 10px; }

/* ==========================================================================
   Why HustlerHQ / feature strip
   ========================================================================== */

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}
.why-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  background: var(--surface);
}
.why-card .glyph {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(201,162,39,0.18), rgba(157,78,221,0.18));
  border: 1px solid var(--border-strong);
}
.why-card .glyph svg { width: 20px; height: 20px; color: var(--gold-bright); }
.why-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.why-card p { color: var(--text-muted); font-size: 0.92rem; }

/* ==========================================================================
   Future / journey section
   ========================================================================== */

.future {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: linear-gradient(140deg, rgba(157,78,221,0.14), rgba(10,10,12,0) 55%), var(--surface);
  padding: clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}
.future h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.future p { margin-top: 16px; color: var(--text-muted); max-width: 48ch; }
.future-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.future-pills span {
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.future-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
@media (max-width: 860px) {
  .future { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  background: var(--bg-alt);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 32ch;
}
.footer-col h4 {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-weight: 600;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--text-muted); font-size: 0.92rem; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--gold-bright); }

.social-row { display: flex; gap: 12px; margin-top: 18px; }
.social-row a {
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.social-row a:hover { border-color: var(--gold); color: var(--gold-bright); }
.social-row svg { width: 17px; height: 17px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-faint);
}

@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Generic page hero (about / contact / legal / products)
   ========================================================================== */

.page-hero {
  padding: clamp(56px, 10vw, 100px) 0 clamp(36px, 6vw, 60px);
  border-bottom: 1px solid var(--border);
}
.page-hero .eyebrow-tag { margin-bottom: 20px; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page-hero p { margin-top: 18px; color: var(--text-muted); max-width: 60ch; font-size: 1.05rem; }

/* ==========================================================================
   About page
   ========================================================================== */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.timeline { display: flex; flex-direction: column; gap: 28px; }
.timeline-item { display: grid; grid-template-columns: 90px 1fr; gap: 20px; }
.timeline-item .tl-label { color: var(--gold); font-family: var(--font-display); font-size: 0.9rem; }
.timeline-item h3 { font-size: 1.1rem; margin-bottom: 6px; }
.timeline-item p { color: var(--text-muted); font-size: 0.94rem; }

/* ==========================================================================
   Contact page
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 64px);
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  background: var(--surface);
}
.contact-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.contact-card p { color: var(--text-muted); font-size: 0.92rem; }
.contact-card a.value { color: var(--gold-bright); font-weight: 600; display: inline-block; margin-top: 10px; }

.form-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  background: var(--surface);
}
.form-row { margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.form-row label { font-size: 0.86rem; color: var(--text-muted); }
.form-row input, .form-row textarea, .form-row select {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  resize: vertical;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  border-color: var(--gold);
}
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .form-row-2 { grid-template-columns: 1fr; } }

.form-note {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--text-faint);
}
.form-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  color: var(--gold-bright);
  font-size: 0.9rem;
  display: none;
}
.form-status.visible { display: block; }

/* ==========================================================================
   Product landing page
   ========================================================================== */

.product-hero {
  padding: clamp(48px, 8vw, 88px) 0;
}
.product-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: flex-start;
}
@media (max-width: 900px) { .product-hero-grid { grid-template-columns: 1fr; } }

.product-gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 1/1;
}
.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery-thumbs { display: flex; gap: 12px; margin-top: 14px; }
.product-gallery-thumbs img {
  width: 80px; height: 80px; object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.product-info .eyebrow-tag { margin-bottom: 18px; }
.product-info h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.product-headline {
  margin-top: 14px;
  font-size: 1.2rem;
  color: var(--gold-bright);
  font-family: var(--font-display);
}
.product-info .price-block { margin-top: 24px; }
.product-info .price { font-size: 1.7rem; }
.product-info .desc { margin-top: 18px; color: var(--text-muted); }

.buy-box {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 360px;
}
.buy-note { font-size: 0.82rem; color: var(--text-faint); }

.benefits-list { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.benefits-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.benefits-list li svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--gold); }

.specs-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.specs-table tr { border-bottom: 1px solid var(--border); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table td {
  padding: 16px 20px;
  font-size: 0.94rem;
}
.specs-table td:first-child { color: var(--text-faint); width: 40%; }
.specs-table td:last-child { color: var(--text); }

.lifestyle-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
@media (max-width: 860px) { .lifestyle-block { grid-template-columns: 1fr; } }
.lifestyle-block img { border-radius: var(--radius-lg); border: 1px solid var(--border); }

.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
}
.faq-item summary {
  padding: 20px 24px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--gold);
  transition: transform 0.25s var(--ease);
  flex: none;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body {
  padding: 0 24px 22px;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.final-cta {
  text-align: center;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: linear-gradient(140deg, rgba(201,162,39,0.14), rgba(10,10,12,0) 60%), var(--surface);
  padding: clamp(40px, 7vw, 72px) clamp(20px, 6vw, 40px);
}
.final-cta h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.final-cta p { margin-top: 14px; color: var(--text-muted); }
.final-cta .btn { margin-top: 26px; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

/* ==========================================================================
   Legal pages
   ========================================================================== */

.legal-content { max-width: 74ch; }
.legal-content h2 { font-size: 1.4rem; margin-top: 42px; margin-bottom: 14px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--text-muted); margin-bottom: 14px; }
.legal-content ul { padding-left: 20px; list-style: disc; }
.legal-content .updated { color: var(--text-faint); font-size: 0.88rem; margin-bottom: 36px; }
.legal-placeholder {
  background: rgba(201,162,39,0.12);
  border: 1px dashed var(--border-strong);
  color: var(--gold-bright);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.92em;
}
.legal-callout {
  border: 1px solid var(--border-strong);
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 36px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ==========================================================================
   404 page
   ========================================================================== */

.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 0;
}
.error-page .code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 14vw, 8rem);
  background: linear-gradient(100deg, var(--gold-bright), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.error-page h1 { margin-top: 12px; font-size: clamp(1.4rem, 3vw, 2rem); }
.error-page p { margin-top: 14px; color: var(--text-muted); max-width: 46ch; margin-left: auto; margin-right: auto; }
.error-page .btn { margin-top: 30px; }

/* ==========================================================================
   Cookie banner
   ========================================================================== */

.cookie-banner {
  position: fixed;
  left: 20px; right: 20px; bottom: 20px;
  z-index: 200;
  max-width: 560px;
  margin: 0 auto;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: var(--shadow-card);
  transform: translateY(30px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease), visibility 0.4s;
}
.cookie-banner.visible { transform: translateY(0); opacity: 1; visibility: visible; }
.cookie-banner p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 16px; }
.cookie-banner .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie-banner .btn { padding: 11px 22px; font-size: 0.86rem; }

/* ==========================================================================
   Utilities
   ========================================================================== */

.mt-0 { margin-top: 0 !important; }
.text-center { text-align: center; }
.badge-soft {
  display: inline-block;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  font-size: 0.78rem;
  color: var(--text-muted);
}
