:root {
  color-scheme: dark;
  --bg: #0b0b0b;
  --bg-raised: #111111;
  --surface: #151515;
  --surface-strong: #1f1f1f;
  --text: #f5f1e8;
  --text-soft: #b8b3a6;
  --muted: #8c877a;
  --mint: #42d6a4;
  --mint-light: #93f5cf;
  --gold: #d4af37;
  --border: rgba(255, 255, 255, 0.08);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-xl: 32px;
  --page: min(1160px, calc(100% - 32px));
}

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

html {
  min-width: 320px;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-wrap: break-word;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--mint-light);
  text-decoration-color: var(--mint);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--mint);
}

:focus-visible {
  outline: 3px solid var(--mint-light);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: -100px;
  left: 16px;
  min-height: 44px;
  padding: 10px 16px;
  border: 2px solid var(--bg);
  border-radius: var(--radius-sm);
  background: var(--text);
  color: var(--bg);
  font-weight: 800;
}

.skip-link:focus-visible {
  top: 12px;
  outline-color: var(--text);
  outline-offset: 3px;
}

.site-header,
.site-footer,
#main-content {
  width: var(--page);
  margin-inline: auto;
}

.site-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px 16px;
  padding-block: 14px;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  min-height: 44px;
  color: var(--text);
  font-weight: 780;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand .icon {
  width: 28px;
  height: 28px;
  padding: 5px;
  border-radius: 9px;
  background: var(--mint);
  color: var(--bg);
}

.site-header nav {
  display: flex;
  grid-column: 1 / -1;
  gap: 4px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
}

.site-header nav a,
.site-footer nav a,
.contact-action a,
.not-found a,
.language-gateway a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
}

.site-header nav a {
  flex: 0 0 auto;
  color: var(--text-soft);
  text-decoration: none;
}

.site-header nav a:hover,
.site-header nav a[aria-current="page"] {
  background: var(--surface);
  color: var(--mint-light);
}

.language-picker {
  display: grid;
  justify-items: end;
  gap: 2px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.2;
}

.language-picker label {
  padding-inline: 4px;
}

.language-picker select {
  min-width: 116px;
  min-height: 44px;
  padding: 7px 34px 7px 11px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: var(--surface);
  color: var(--text);
}

.icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  fill: currentColor;
}

.hero {
  display: grid;
  gap: 40px;
  padding-block: clamp(54px, 12vw, 92px) 72px;
}

.hero-copy {
  align-self: center;
  max-width: 640px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--mint-light);
  font-size: 14px;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1,
h2 {
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(42px, 12vw, 64px);
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(22px, 4vw, 30px);
  letter-spacing: -0.025em;
}

.hero-body {
  max-width: 590px;
  margin-bottom: 24px;
  color: var(--text-soft);
  font-size: clamp(17px, 4.5vw, 19px);
  line-height: 1.65;
}

.store-state {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  padding: 8px 16px;
  border: 1px solid var(--mint);
  border-radius: 999px;
  background: var(--surface);
  color: var(--mint-light);
  font-size: 15px;
  font-weight: 750;
}

.hero-media {
  display: flex;
  gap: 14px;
  max-width: 100%;
  padding: 5px 5px 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: 5px;
  scroll-snap-type: inline proximity;
  scrollbar-color: var(--surface-strong) transparent;
}

.hero-media picture,
.media-card picture {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: var(--surface-strong);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
}

.hero-media picture {
  flex: 0 0 min(74vw, 292px);
  padding: 5px;
  border-radius: 36px;
  scroll-snap-align: start;
}

.hero-media img {
  width: 100%;
  border-radius: 30px;
}

.media-grid {
  display: grid;
  gap: 18px;
  padding-block: 16px 72px;
}

.media-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface);
}

.media-card-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.media-card-heading .icon {
  color: var(--mint);
}

.media-card h2 {
  margin-bottom: 0;
}

.media-card > p {
  min-height: 3.4em;
  margin: 14px 0 22px;
  color: var(--text-soft);
}

.media-card picture {
  aspect-ratio: 9 / 14;
  margin-top: auto;
  padding: 4px;
  border-radius: 32px;
}

.media-card img {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  object-fit: cover;
  object-position: top;
}

.trust-strip {
  padding: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--bg-raised);
}

.trust-strip ul {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: calc(var(--radius-xl) - 2px);
  list-style: none;
}

.trust-item {
  display: flex;
  gap: 14px;
  padding: 24px;
  background: var(--surface);
}

.trust-item .icon {
  margin-top: 2px;
  color: var(--mint);
}

.trust-item h2 {
  margin-bottom: 6px;
  font-size: 19px;
}

.trust-item p {
  margin-bottom: 0;
  color: var(--text-soft);
}

.premium-note {
  display: flex;
  gap: 16px;
  max-width: 820px;
  margin-block: 28px 96px;
  padding: 24px;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: var(--radius);
  background: var(--bg-raised);
}

.premium-note > .icon {
  margin-top: 2px;
  color: var(--gold);
}

.premium-note h2 {
  font-size: 22px;
}

.premium-note p {
  margin-bottom: 0;
  color: var(--text-soft);
}

.legal-page,
.support-page,
.not-found {
  max-width: 820px;
  margin-inline: auto;
  padding-block: clamp(54px, 10vw, 90px) 96px;
}

.legal-page > header,
.support-page > header {
  margin-bottom: 34px;
}

.legal-page > header > p,
.support-page > header > p,
.not-found > p {
  color: var(--text-soft);
  font-size: clamp(17px, 3vw, 19px);
}

.last-updated {
  color: var(--muted) !important;
  font-size: 15px !important;
}

.details-list {
  display: grid;
  gap: 10px;
}

details {
  overflow: clip;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 16px 18px;
  color: var(--text);
  font-weight: 720;
  cursor: pointer;
}

summary::marker {
  color: var(--mint);
}

.details-body {
  padding: 0 18px 4px;
  color: var(--text-soft);
}

.details-body p:last-child {
  margin-bottom: 18px;
}

.privacy-links {
  margin-top: 24px;
}

.privacy-links h2 {
  margin: 0 0 12px;
  font-size: 16px;
}

.privacy-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.privacy-links a {
  color: var(--mint);
}

.contact-action {
  margin: 28px 0 0;
}

.contact-action a {
  width: max-content;
  padding-inline: 16px;
  border: 1px solid var(--mint);
  background: var(--mint);
  color: var(--bg);
  font-weight: 780;
  text-decoration: none;
}

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-block: 28px 40px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 15px;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.site-footer nav a {
  color: var(--text-soft);
}

.language-gateway {
  display: grid;
  place-content: center;
  min-height: 100vh;
  padding-block: 40px;
  text-align: center;
}

.language-gateway > .icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  padding: 12px;
  border-radius: 18px;
  background: var(--mint);
  color: var(--bg);
}

.language-gateway ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 12px 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .site-header nav {
    grid-column: auto;
    justify-content: center;
    overflow: visible;
  }

  .site-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 760px) {
  .media-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .trust-strip ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 860px) {
  .hero {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    align-items: center;
    gap: clamp(42px, 6vw, 82px);
    min-height: 720px;
  }

  .hero-media {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 10px;
    padding: 12px 0 12px 12px;
    overflow: visible;
  }

  .hero-media picture {
    width: auto;
    min-width: 0;
  }

  .hero-media picture:nth-child(2) {
    margin-top: -44px;
  }

  .hero-media picture:nth-child(3) {
    margin-top: 34px;
  }
}

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

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