:root {
  color-scheme: light;
  --paper: #fff7e7;
  --ink: #24180f;
  --muted: #70533e;
  --sauce: #c73521;
  --sauce-dark: #8f2418;
  --cheese: #f6b83f;
  --cheese-soft: #ffe8a8;
  --cream: #fffdf6;
  --cream-2: #fffaf0;
  --field: #fff1d2;
  --line: #e3bd7e;
  --line-dark: #4a2614;
  --green: #2f7d4f;
  --green-dark: #183f2c;
  --shadow: rgba(114, 64, 21, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 98px;
  background:
    linear-gradient(90deg, rgba(199, 53, 33, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(199, 53, 33, 0.055) 1px, transparent 1px),
    var(--paper);
  background-size: 22px 22px;
}

[id] {
  scroll-margin-top: 98px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Figtree, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 9% 12%, rgba(246, 184, 63, 0.22), transparent 24%),
    radial-gradient(circle at 90% 6%, rgba(47, 125, 79, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(255, 253, 246, 0.42), transparent 420px);
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 14px;
  z-index: 10;
  width: min(calc(100% - 32px), 1180px);
  min-height: 68px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 10px;
  border: 2px solid rgba(74, 38, 20, 0.16);
  border-radius: 18px;
  margin: 14px auto 0;
  background: rgba(255, 253, 246, 0.91);
  box-shadow: 0 16px 40px rgba(74, 38, 20, 0.12);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  border-color: rgba(199, 53, 33, 0.32);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 950;
  line-height: 1;
}

.brand img {
  width: 44px;
  height: 44px;
  border: 2px solid var(--line-dark);
  border-radius: 12px;
  box-shadow: 0 4px 0 rgba(74, 38, 20, 0.16);
}

nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
}

nav a,
.header-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 900;
}

nav a {
  padding: 0 9px;
  font-size: 0.96rem;
}

.header-cta {
  padding: 0 13px;
  font-size: 0.82rem;
}

nav a:hover,
nav a:focus-visible {
  background: var(--field);
  color: var(--sauce-dark);
}

.header-cta {
  background: var(--sauce);
  color: var(--cream);
  box-shadow: inset 0 -3px rgba(74, 38, 20, 0.18);
}

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

.hero {
  min-height: min(760px, calc(100vh - 82px));
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: 60px 0 42px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--sauce-dark);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 790px;
  margin-bottom: 22px;
  font-size: clamp(2.85rem, 6.8vw, 6.2rem);
  font-weight: 950;
  line-height: 1.02;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2.1rem, 4.5vw, 4.65rem);
  font-weight: 950;
  line-height: 0.92;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  font-weight: 950;
  line-height: 1.02;
}

.hero-lede {
  max-width: 650px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  font-weight: 800;
  line-height: 1.42;
}

.cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.store-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.store-button {
  min-height: 68px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 168px;
  padding: 10px 20px 12px;
  border: 3px solid var(--line-dark);
  border-radius: 16px;
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 8px 0 var(--sauce-dark);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.store-button:hover,
.store-button:focus-visible {
  transform: translateY(3px);
  box-shadow: 0 5px 0 var(--sauce-dark);
}

.store-button span {
  font-size: 0.72rem;
  font-weight: 800;
}

.store-button strong {
  font-size: 1.45rem;
  font-weight: 950;
  line-height: 1;
}

.play-store {
  background: var(--green-dark);
  box-shadow: 0 8px 0 var(--sauce-dark);
}

.secondary-link {
  color: var(--sauce-dark);
  font-size: 0.96rem;
  font-weight: 950;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.hero-visual {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
}

.phone-frame {
  position: relative;
  z-index: 2;
  width: min(100%, 390px);
  padding: 20px;
  border: 5px solid var(--line-dark);
  border-radius: 36px;
  background:
    linear-gradient(90deg, rgba(199, 53, 33, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(199, 53, 33, 0.06) 1px, transparent 1px),
    var(--paper);
  background-size: 18px 18px;
  box-shadow: 18px 22px 0 var(--green-dark), 0 30px 70px var(--shadow);
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.phone-brand {
  font-size: 1.36rem;
  font-weight: 950;
}

.phone-pill {
  padding: 8px 11px;
  border-radius: 999px;
  background: var(--sauce);
  color: var(--cream);
  font-size: 0.72rem;
  font-weight: 950;
}

.ticket {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 78px;
  padding: 14px;
  border: 2px solid var(--line);
  border-radius: 10px;
  margin-top: 10px;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 8px 0 rgba(114, 64, 21, 0.08);
  font-weight: 950;
}

.ticket.winner {
  border-color: var(--line-dark);
  background: var(--cheese-soft);
}

.ticket-letter {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 2px solid var(--line-dark);
  border-radius: 999px;
  margin-right: 8px;
  background: var(--cheese);
}

.verdict {
  padding: 18px;
  border: 3px solid var(--line-dark);
  border-radius: 18px;
  margin-top: 18px;
  background: var(--sauce);
  color: var(--cream);
  box-shadow: 0 8px 0 var(--sauce-dark);
}

.verdict span {
  display: block;
  margin-bottom: 8px;
  color: var(--cheese-soft);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.verdict strong {
  display: block;
  font-size: 1.42rem;
  line-height: 1.02;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 18px;
}

.metric-grid span {
  min-height: 74px;
  display: grid;
  align-content: center;
  padding: 10px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: var(--cream-2);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.24;
  text-align: center;
}

.metric-grid strong {
  color: var(--ink);
  font-size: 1.15rem;
}

.proof-strip {
  width: min(calc(100% - 32px), 1180px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 10px;
  border: 3px solid var(--line-dark);
  border-radius: 20px;
  margin: 0 auto 72px;
  background: var(--green-dark);
  color: var(--cream);
  box-shadow: 0 12px 0 rgba(24, 63, 44, 0.2);
}

.proof-strip span {
  min-height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 253, 246, 0.16);
  border-radius: 12px;
  background: rgba(255, 253, 246, 0.08);
  font-weight: 950;
  text-align: center;
}

.feature-section,
.faq-section {
  padding: 44px 0 64px;
}

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

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

.feature-card {
  min-height: 288px;
  padding: 20px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  box-shadow: 0 8px 0 rgba(114, 64, 21, 0.08);
}

.feature-card:nth-child(2) {
  background: #f7faf6;
  border-color: #dce9df;
}

.feature-card:nth-child(3) {
  background: #fff4f5;
  border-color: #efcad5;
}

.feature-card:nth-child(4) {
  background: #fffaf0;
  border-color: #d8c8a8;
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 3px solid var(--line-dark);
  border-radius: 12px;
  margin-bottom: 24px;
  background: var(--cheese);
  color: var(--ink);
  font-size: 1.5rem;
  font-weight: 950;
  box-shadow: inset 0 -5px rgba(83, 38, 14, 0.12);
}

.feature-card p,
.privacy-panel p,
.faq-list p,
.contact-copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.5;
}

.privacy-section {
  padding: 46px 0 64px;
}

.privacy-section > .eyebrow {
  margin-bottom: 10px;
}

.privacy-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  gap: 24px;
  padding: clamp(24px, 4vw, 34px);
  border: 4px solid var(--line-dark);
  border-radius: 24px;
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 14px 0 var(--sauce-dark);
}

.privacy-panel h2 {
  max-width: 500px;
  margin-bottom: 0;
  font-size: clamp(2.1rem, 4.5vw, 4.65rem);
  line-height: 1.02;
}

.privacy-panel p,
.privacy-panel .privacy-list {
  color: var(--cheese-soft);
}

.privacy-list {
  grid-column: 2;
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.privacy-list li {
  padding: 13px 14px;
  border: 1px solid rgba(255, 232, 168, 0.24);
  border-radius: 12px;
  background: rgba(255, 253, 246, 0.06);
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 2px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  box-shadow: 0 7px 0 rgba(114, 64, 21, 0.08);
}

summary {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 20px;
  font-size: 1.05rem;
  font-weight: 950;
  cursor: pointer;
}

summary::after {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--field);
  color: var(--sauce-dark);
  content: "+";
  font-size: 1.25rem;
}

details[open] summary::after {
  content: "-";
}

details p {
  padding: 0 20px 20px;
}

.contact-section {
  display: grid;
  gap: 10px;
  margin-bottom: 34px;
}

.contact-section > .eyebrow {
  margin-bottom: 0;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 42px;
  border: 4px solid var(--line-dark);
  border-radius: 24px;
  background: var(--cheese);
  box-shadow: 0 14px 0 var(--green-dark);
}

.contact-copy {
  max-width: 720px;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-button,
.contact-link {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 3px solid var(--line-dark);
  border-radius: 14px;
  font-weight: 950;
  white-space: nowrap;
}

.contact-button {
  background: var(--sauce);
  color: var(--cream);
  box-shadow: 0 6px 0 var(--sauce-dark);
}

.contact-link {
  background: var(--cream);
}

footer {
  width: min(calc(100% - 32px), 1180px);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0 34px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 900;
}

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

  nav {
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  nav a {
    flex: 1;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 46px;
  }

  .hero-visual {
    min-height: 560px;
  }

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

  .privacy-panel,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .privacy-list {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 150px;
  }

  [id] {
    scroll-margin-top: 150px;
  }

  .site-header {
    top: 8px;
    width: min(calc(100% - 18px), 1180px);
    gap: 10px;
    border-radius: 16px;
  }

  .brand span {
    font-size: 1rem;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 11px;
  }

  nav a {
    min-height: 34px;
    padding: 0 5px;
    font-size: 0.88rem;
  }

  .section-band,
  .proof-strip,
  footer {
    width: min(calc(100% - 18px), 1180px);
  }

  h1 {
    font-size: clamp(2.65rem, 13.5vw, 3.65rem);
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3.1rem);
  }

  .hero {
    padding-top: 34px;
  }

  .hero-visual {
    min-height: 500px;
  }

  .phone-frame {
    width: min(94%, 360px);
    padding: 16px;
    border-width: 4px;
    border-radius: 30px;
    box-shadow: 10px 14px 0 var(--green-dark), 0 22px 54px var(--shadow);
  }

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

  .feature-card {
    min-height: 0;
  }

  .privacy-panel,
  .contact-panel {
    padding: 24px;
    border-radius: 18px;
  }

  .privacy-panel h2 {
    font-size: clamp(2rem, 11vw, 3.1rem);
    line-height: 1.04;
  }

  .contact-actions,
  .contact-button,
  .contact-link,
  .store-buttons,
  .store-button {
    width: 100%;
  }

  footer {
    flex-direction: column;
  }
}
