@font-face {
  font-family: 'Barlow Condensed';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('../assets/fonts/BarlowCondensed-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url('../assets/fonts/BarlowCondensed-Medium.ttf') format('truetype');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('../assets/fonts/BarlowCondensed-SemiBold.ttf') format('truetype');
}
@font-face {
  font-family: 'Lexend Deca';
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
  src: url('../assets/fonts/LexendDeca-Variable.ttf') format('truetype-variations');
}

:root {
  --font-display: 'Barlow Condensed', system-ui, sans-serif;
  --font-body: 'Lexend Deca', system-ui, sans-serif;

  --bg: #261B11;
  --text: #EEEEEE;
  --text-muted: #A79B90;
  --accent: #DD6A2C;
  --surface: #33271B;
  --outline: #7A5C42;
  --error: #C24A28;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

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

body {
  margin: 0;
  background: var(--bg);
  font-family: var(--font-body);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--outline);
}
.site-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header .logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.site-header .logo img {
  border-radius: 9px;
  display: block;
}
.site-header .logo span {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 22px;
  line-height: 1;
  color: var(--text);
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.site-header nav a {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 15px;
  text-decoration: none;
  color: var(--text);
  transition: color .15s;
}
.site-header nav a:hover,
.site-header nav a.active {
  color: var(--accent);
  text-decoration: none;
}

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--outline);
}
.site-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 32px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--outline);
  color: var(--text);
}
.store-badge .badge-text {
  text-align: left;
  line-height: 1.1;
}
.store-badge .badge-sub {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-body);
}
.store-badge .badge-label {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: 18px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 28px;
}
.footer-links nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 26px;
}
.footer-links nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
}
.footer-links nav a:hover { color: var(--accent); }
.footer-socials {
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer-socials a {
  color: var(--text-muted);
  display: inline-flex;
  transition: color .15s;
}
.footer-socials a:hover { color: var(--accent); text-decoration: none; }
.footer-copyright {
  font-size: 13px;
  color: var(--text-muted);
}

/* ── Shared typography ── */
.section-label {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 14px;
  color: var(--accent);
}
.section-label-sm {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 13px;
  color: var(--accent);
}
.heading-xl {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -.005em;
  line-height: .96;
  font-size: clamp(31px, 7.4vw, 80px);
  margin: 0;
}
.heading-lg {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -.005em;
  line-height: 1;
  font-size: clamp(30px, 4.5vw, 46px);
  margin: 0;
}
.heading-page {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -.005em;
  line-height: 1;
  font-size: clamp(36px, 6vw, 56px);
  margin: 0;
}
.heading-card {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .02em;
  font-size: 21px;
  margin: 0;
}

/* ── Cards ── */
.card {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.card-inverted {
  background: var(--text);
  color: var(--bg);
  border-radius: var(--radius-lg);
}

/* ── Legal pages ── */
.legal h2 {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -.005em;
  font-size: 27px;
  line-height: 1.06;
  margin: 48px 0 14px;
  color: var(--text);
}
.legal h3 {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .02em;
  font-size: 18px;
  margin: 28px 0 8px;
  color: var(--text);
}
.legal p { margin: 0 0 14px; }
.legal ul { padding-left: 20px; margin: 0 0 16px; }
.legal li { margin: 0 0 7px; }
.legal table { width: 100%; border-collapse: collapse; margin: 10px 0 20px; font-size: 14.5px; }
.legal th {
  text-align: left;
  padding: 10px 13px;
  background: var(--surface);
  border: 1px solid var(--outline);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: 12.5px;
  color: var(--text);
}
.legal td {
  padding: 10px 13px;
  border: 1px solid var(--outline);
  line-height: 1.5;
  vertical-align: top;
}
.legal strong { font-weight: 600; }
.legal hr { border: none; border-top: 1px solid var(--outline); margin: 38px 0; }

/* ── Responsive ── */
@media (max-width: 600px) {
  .site-header-inner { padding: 12px 16px; }
  .site-header nav { gap: 18px; }
}
