:root {
  --ink: #091c22;
  --cream: #ebddce;
  --surface: #f2e9dc;
  --elevated: #faf6ef;
  --muted-ink: rgba(9, 28, 34, 0.64);
  --muted-cream: rgba(235, 221, 206, 0.72);
  --border-ink: rgba(9, 28, 34, 0.14);
  --border-cream: rgba(235, 221, 206, 0.18);
  --max: 1200px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-150%);
  background: var(--ink);
  color: var(--cream);
  padding: 0.75rem 1rem;
}

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

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(235, 221, 206, 0.96);
  border-bottom: 1px solid var(--border-ink);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-weight: 900;
}

.brand img {
  width: 42px;
  height: 37px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  font-size: 0.88rem;
  font-weight: 800;
}

.site-nav a {
  text-decoration: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
}

.nav-toggle span[aria-hidden] {
  display: block;
  width: 18px;
  height: 2px;
  margin: auto;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

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

.section {
  padding: clamp(4rem, 7vw, 7rem) 0;
}

.hero {
  padding-top: clamp(3rem, 6vw, 6rem);
}

.hero-grid,
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.hero-copy {
  max-width: 680px;
  min-width: 0;
}

.hero-grid > *,
.split > *,
.section-heading {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: Anton, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1;
  font-weight: 900;
  overflow-wrap: break-word;
}

h1 {
  max-width: 760px;
  margin-bottom: 1.25rem;
  font-size: clamp(3rem, 7vw, 6rem);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.25rem, 5vw, 4.75rem);
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1rem;
  font-weight: 900;
}

.lead {
  font-size: clamp(1.13rem, 2vw, 1.35rem);
  color: var(--muted-ink);
}

.hero-copy p:not(.eyebrow):not(.lead),
.split p,
.narrow p,
.support-box p {
  color: var(--muted-ink);
  font-size: 1rem;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.store-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0.76rem 1.1rem;
  text-decoration: none;
  font-weight: 900;
}

.store-button {
  flex-direction: column;
  align-items: flex-start;
  min-width: 150px;
  line-height: 1.1;
}

.store-button small {
  margin-top: 0.2rem;
  color: var(--muted-ink);
  font-size: 0.72rem;
}

[data-disabled] {
  cursor: not-allowed;
  opacity: 0.58;
}

.button {
  margin-top: 1rem;
  background: var(--ink);
  color: var(--cream);
}

.media-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid currentColor;
  border-radius: 14px;
  background: #b8b8b8;
}

.hero-media {
  aspect-ratio: 16 / 10;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.steps,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
  list-style: none;
}

.steps li,
.feature-grid article,
.support-box,
.link-panel {
  border: 1px solid var(--border-ink);
  border-radius: 8px;
  padding: 1.3rem;
}

.steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 1rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-weight: 900;
}

.steps p,
.feature-grid p {
  margin-bottom: 0;
  color: var(--muted-ink);
}

.section-ink {
  background: var(--ink);
  color: var(--cream);
}

.section-ink .eyebrow,
.section-ink p,
.section-ink .feature-grid p {
  color: var(--muted-cream);
}

.section-ink .feature-grid article,
.section-ink .link-panel {
  border-color: var(--border-cream);
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.section-surface {
  background: var(--surface);
}

.media-strip {
  display: grid;
  grid-template-columns: 1fr 0.72fr 1fr;
  align-items: stretch;
  gap: 1rem;
}

.media-strip .media-frame {
  aspect-ratio: 4 / 3;
}

.media-strip .tall {
  aspect-ratio: 3 / 4;
}

.narrow {
  max-width: 850px;
}

.link-panel {
  display: grid;
  gap: 0.75rem;
}

.link-panel a {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-cream);
  text-decoration: none;
  font-weight: 900;
}

.link-panel a::after {
  content: "Open";
  font-size: 0.78rem;
  color: var(--muted-cream);
}

.support-box {
  max-width: 780px;
}

.site-footer {
  padding: 2rem 0;
  background: var(--ink);
  color: var(--cream);
}

.legal-main {
  padding: clamp(2.5rem, 6vw, 5rem) 0;
}

.legal-document {
  max-width: 920px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--border-ink);
  border-radius: 8px;
  background: var(--elevated);
}

.legal-document h1 {
  font-size: clamp(2.15rem, 6vw, 4rem);
}

.legal-document h2 {
  margin-top: 2rem;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.15rem;
  line-height: 1.25;
}

.legal-document p {
  color: var(--muted-ink);
}

.legal-contact {
  margin-top: 2rem;
  padding: 1.2rem;
  border: 1px solid var(--border-ink);
  border-radius: 8px;
  background: var(--surface);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.footer-inner p {
  margin: 0.25rem 0 0;
  color: var(--muted-cream);
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: flex-end;
  font-size: 0.9rem;
  font-weight: 800;
}

.footer-inner a {
  text-decoration: none;
}

@media (max-width: 980px) {
  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  html {
    scroll-behavior: auto;
  }

  .header-inner {
    min-height: 68px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    inset: 68px 1rem auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem;
    background: var(--cream);
    border: 1px solid var(--ink);
    border-radius: 8px;
  }

  .site-nav[data-open] {
    display: flex;
  }

  .site-nav a {
    padding: 0.85rem;
  }

  .steps,
  .feature-grid,
  .media-strip {
    grid-template-columns: 1fr;
  }

  h1 {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 2.35rem;
    line-height: 1.04;
  }

  h2 {
    font-size: 2.35rem;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-inner nav {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
