:root {
  --color-ink: #16100c;
  --color-espresso: #2b1a12;
  --color-gold: #f4c20d;
  --color-gold-soft: #ffd24a;
  --color-cream: #f7f1e4;
  --color-paper: #fffefa;
  --color-white: #ffffff;
  --color-muted: #6f655f;
  --color-line: #ddd4c7;
  --color-success: #2f6d45;
  --color-danger: #c7372f;
  --color-black: #000000;

  --surface-canvas: var(--color-paper);
  --surface-section: var(--color-cream);
  --surface-inverse: var(--color-ink);
  --brand: var(--color-gold);
  --brand-hover: var(--color-gold-soft);
  --text-primary: var(--color-ink);
  --text-secondary: var(--color-muted);
  --text-inverse: var(--color-white);
  --border-default: var(--color-line);
  --status-success: var(--color-success);
  --status-danger: var(--color-danger);
  --effect-scrim: var(--color-black);

  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 999px;

  --shadow-soft: 0 8px 24px rgba(22, 16, 12, 0.08);
  --shadow-raised: 0 18px 48px rgba(22, 16, 12, 0.14);
  --shadow-brand: 0 12px 30px rgba(244, 194, 13, 0.24);
  --container: 1180px;
  --header-height: 76px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  color: var(--text-primary);
  background: var(--surface-canvas);
  font-family: "Manrope", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::selection {
  color: var(--color-ink);
  background: var(--color-gold);
}

img,
video,
svg {
  max-width: 100%;
}

img,
video {
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: var(--space-sm);
  left: var(--space-sm);
  z-index: 10000;
  padding: 10px 16px;
  color: var(--color-ink);
  background: var(--color-gold);
  border: 2px solid var(--color-ink);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: rgba(22, 16, 12, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
  backdrop-filter: blur(18px) saturate(130%);
}

.topbar__inner {
  width: min(100% - 36px, var(--container));
  min-height: var(--header-height);
  margin-inline: auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text-inverse);
  text-decoration: none;
}

.brand__dot {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  border-radius: 3px;
  background: var(--brand);
  box-shadow: 0 0 0 5px rgba(244, 194, 13, 0.14);
  transform: rotate(45deg);
}

.brand__name {
  color: inherit;
  font-family: "Archivo Black", "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.075em;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
}

.nav__link {
  min-height: 42px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.76);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
}

.nav__link--cta,
.btn,
.btnPrimary,
.btn--primary,
.btn-primary,
.shop-banner__cta {
  min-height: 50px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--color-ink);
  background: var(--brand);
  border: 1px solid var(--brand);
  border-radius: var(--radius-full);
  box-shadow: none;
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.025em;
  text-decoration: none;
  text-transform: none;
  cursor: pointer;
  transition: transform 180ms var(--ease-out), background 180ms ease, box-shadow 180ms ease;
}

.nav__link--cta {
  min-height: 42px;
  padding-inline: 18px;
}

.nav__link--cta:hover,
.btn:hover,
.btnPrimary:hover,
.btn--primary:hover,
.btn-primary:hover,
.shop-banner__cta:hover {
  color: var(--color-ink);
  background: var(--brand-hover);
  border-color: var(--brand-hover);
  box-shadow: var(--shadow-brand);
  transform: translateY(-2px);
}

.btnSecondary,
.btn--ghost {
  color: inherit;
  background: transparent;
  border-color: currentColor;
}

.btnSecondary:hover,
.btn--ghost:hover {
  color: var(--color-ink);
  background: var(--color-white);
  border-color: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.section-eyebrow,
.how__label,
.prizes__label,
.download__label,
.hero__eyebrow {
  margin: 0 0 var(--space-md);
  color: var(--color-muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-title,
.how__title,
.prizes__headline,
.download__headline {
  margin: 0;
  color: var(--text-primary);
  font-family: "Archivo Black", "Manrope", sans-serif;
  font-weight: 400;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.section-subtitle {
  max-width: 720px;
  color: var(--text-secondary);
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.75;
}

.site-footer {
  color: rgba(255, 255, 255, 0.7);
  background: var(--surface-inverse);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__inner {
  width: min(100% - 36px, var(--container));
  min-height: 150px;
  margin-inline: auto;
  padding-block: var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

.site-footer__mark {
  color: var(--color-white);
  font-family: "Archivo Black", sans-serif;
  letter-spacing: 0.05em;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 820px) {
  :root {
    --header-height: 68px;
  }

  .topbar__inner {
    width: min(100% - 28px, var(--container));
  }

  .nav__link:not(.nav__link--cta):not(.cart-btn) {
    display: none;
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand__name {
    font-size: 12px;
  }

  .btn,
  .btnPrimary,
  .btnSecondary,
  .btn--primary,
  .btn--ghost {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
