:root {
  color-scheme: dark;
  --felt: #08745b;
  --felt-dark: #064d3d;
  --felt-deep: #04372d;
  --ink: #fff0c8;
  --muted: #c7b89d;
  --paper: #160d09;
  --panel: #21130d;
  --panel-raised: #2b1911;
  --line: #664520;
  --gold: #e4b64d;
  --gold-deep: #a66e22;
  --red: #d85245;
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(228, 182, 77, 0.32);
  background: rgba(22, 13, 9, 0.94);
  color: var(--ink);
  backdrop-filter: blur(14px);
}

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

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

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

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

.hero {
  border-bottom: 1px solid rgba(228, 182, 77, 0.35);
  background: var(--felt-deep);
  color: var(--ink);
}

.hero-inner {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 660px;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: 56px;
  padding: 64px 0 72px;
}

.hero-copy {
  max-width: 570px;
}

.app-icon {
  width: 104px;
  height: 104px;
  margin-bottom: 24px;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
}

.eyebrow {
  margin: 0 0 14px;
  color: rgba(255, 240, 200, 0.76);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1 {
  margin: 0;
  max-width: 680px;
  font-size: 88px;
  line-height: 0.95;
  letter-spacing: 0;
}

.lead {
  margin: 22px 0 0;
  max-width: 560px;
  color: rgba(255, 240, 200, 0.86);
  font-size: 22px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(228, 182, 77, 0.48);
  border-radius: 999px;
  background: rgba(22, 13, 9, 0.42);
  color: rgba(255, 240, 200, 0.94);
  font-size: 14px;
  font-weight: 750;
}

.hero-points svg,
.feature-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 7px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--gold);
  color: #1d1009;
}

.button.secondary {
  color: var(--ink);
  border: 1px solid rgba(228, 182, 77, 0.62);
}

.store-note {
  display: block;
  margin: 14px 0 0;
  color: rgba(255, 240, 200, 0.7);
  font-size: 13px;
}

.device-showcase {
  position: relative;
  width: min(100%, 500px);
  min-height: 670px;
  justify-self: end;
}

.showcase-screenshot {
  position: absolute;
  display: block;
  height: auto;
  aspect-ratio: 1320 / 2868;
  object-fit: cover;
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.36), 0 10px 24px rgba(0, 0, 0, 0.24);
}

.showcase-screenshot-main {
  top: 0;
  left: 8px;
  z-index: 2;
  width: 308px;
  transform: rotate(-2deg);
}

.showcase-screenshot-side {
  top: 82px;
  right: 6px;
  z-index: 1;
  width: 220px;
  opacity: 0.98;
  transform: rotate(2deg);
}

.section {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 70px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.eyebrow.dark {
  color: var(--gold);
}

.section h2 {
  margin: 0 0 24px;
  font-size: 44px;
  line-height: 1.05;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature {
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
}

.feature-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--panel-raised);
  color: var(--gold);
  box-shadow: inset 0 0 0 1px rgba(228, 182, 77, 0.22);
}

.feature strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.legal-page {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 70px;
}

.legal-page h1 {
  color: var(--ink);
  font-size: 58px;
}

.legal-page h2 {
  margin: 34px 0 10px;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
}

.legal-page .updated {
  color: var(--muted);
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #0f0907;
}

.footer-inner {
  width: min(1080px, calc(100% - 32px));
  min-height: 86px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 14px;
}

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

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

  .nav-links {
    gap: 12px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 46px 0 54px;
    gap: 40px;
  }

  h1 {
    font-size: 64px;
  }

  .lead {
    font-size: 20px;
  }

  .device-showcase {
    justify-self: start;
  }

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

  .section h2 {
    font-size: 36px;
  }

  .legal-page h1 {
    font-size: 44px;
  }
}

@media (max-width: 520px) {
  .nav-links a:first-child {
    display: none;
  }

  .app-icon {
    width: 82px;
    height: 82px;
    border-radius: 20px;
  }

  h1 {
    font-size: 48px;
  }

  .lead {
    font-size: 18px;
  }

  .device-showcase {
    min-height: 725px;
  }

  .showcase-screenshot-main {
    left: 50%;
    width: min(100%, 318px);
    transform: translateX(-50%);
  }

  .showcase-screenshot-side {
    display: none;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .section h2 {
    font-size: 32px;
  }

  .legal-page h1 {
    font-size: 38px;
  }
}
