:root {
  color-scheme: dark;
  --bg: #080806;
  --panel: #14110c;
  --ink: #fff4df;
  --muted: #c9b894;
  --gold: #f4b44a;
  --ember: #b94c20;
  --moss: #2f6d5c;
  --line: rgba(255, 218, 143, 0.18);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 8, 6, 0.82);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 36px));
  min-height: 72px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.94rem;
  color: var(--muted);
}

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

.nav-links a:hover {
  color: var(--ink);
}

.hero {
  display: grid;
  min-height: 92vh;
  padding: 118px 0 72px;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(8, 8, 6, 0.96) 0%, rgba(8, 8, 6, 0.62) 42%, rgba(8, 8, 6, 0.28) 78%),
    linear-gradient(0deg, rgba(8, 8, 6, 1) 0%, rgba(8, 8, 6, 0.08) 42%),
    url("background.png");
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(280px, 420px);
  align-items: center;
  justify-content: space-between;
  gap: 52px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 12ch;
  font-size: 4.8rem;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 600px;
  margin: 22px 0 0;
  color: #ead7ad;
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button,
.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  border-color: rgba(244, 180, 74, 0.72);
  background: var(--ember);
}

.store-button {
  align-items: flex-start;
  flex-direction: column;
  width: 176px;
  min-height: 62px;
  padding: 10px 16px;
  color: #fff7e8;
  line-height: 1.12;
}

.store-button span {
  color: rgba(255, 247, 232, 0.78);
  font-size: 0.76rem;
  font-weight: 700;
}

.store-button strong {
  font-size: 1.12rem;
}

.store-button.ios {
  background: #111;
}

.store-button.android {
  border-color: rgba(91, 201, 167, 0.48);
  background: var(--moss);
}

.button:hover,
.store-button:hover,
.store-pill:hover,
.legal-card:hover {
  transform: translateY(-1px);
}

.button,
.store-button,
.store-pill,
.legal-card {
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.hero-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(20, 17, 12, 0.74);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.hero-card-body {
  padding: 18px;
}

.store-status {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.store-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.section {
  padding: 74px 0;
}

.section.alt,
.page-hero {
  background: #0d0c08;
}

.container {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
}

.section-head p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
}

h2 {
  font-size: 2.45rem;
}

h3 {
  font-size: 1.2rem;
}

.feature-grid,
.legal-grid {
  display: grid;
  gap: 16px;
}

.feature-grid,
.legal-grid {
  grid-template-columns: repeat(3, 1fr);
}

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

.feature,
.legal-card,
.content-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.feature,
.legal-card {
  padding: 22px;
}

.feature p,
.legal-card p,
.content-panel p,
.content-panel li {
  color: var(--muted);
}

.content-panel {
  padding: 28px;
}

.content-panel + .content-panel {
  margin-top: 16px;
}

.content-panel h2 {
  margin-bottom: 14px;
  font-size: 1.75rem;
}

.content-panel h3 {
  margin-top: 26px;
}

.content-panel ul {
  padding-left: 20px;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.page-hero {
  padding: 132px 0 54px;
}

.page-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #080806;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-links {
  display: flex;
  gap: 16px;
}

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

@media (max-width: 900px) {
  .nav {
    min-height: 64px;
  }

  .nav-links {
    gap: 12px;
    font-size: 0.86rem;
  }

  .hero {
    min-height: auto;
    padding-top: 104px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  h1 {
    font-size: 3.25rem;
  }

  .hero-card {
    max-width: 420px;
  }

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

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 12px;
  }
}

@media (max-width: 620px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 12px 0;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .feature-grid,
  .legal-grid,
  .store-status {
    grid-template-columns: 1fr;
  }

  .store-button {
    width: 100%;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
