:root {
  color-scheme: light;
  --ink: #0A0300;
  --muted: #583A18;
  --paper: #F2E8D8;
  --surface: #E8D8BC;
  --surface-alt: #D4BC96;
  --line: #BCA070;
  --accent: #9A5208;
  --accent-strong: #5C3003;
  --approve: #8AC15F;
  --reject: #DD5C4E;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 90% 0, rgba(154, 82, 8, 0.14), transparent 28rem),
    var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(154, 82, 8, 0.34);
  outline-offset: 3px;
}

.topbar {
  align-items: center;
  background: rgba(242, 232, 216, 0.94);
  border-bottom: 1px solid rgba(188, 160, 112, 0.34);
  backdrop-filter: blur(14px);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  margin: 0 auto;
  padding: 18px max(24px, calc((100vw - 1180px) / 2 + 24px));
  position: sticky;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand img {
  display: block;
  height: 34px;
  object-fit: contain;
  width: auto;
}

.header-actions {
  align-items: center;
  display: flex;
  gap: 18px;
}

nav {
  align-items: center;
  display: flex;
  gap: 20px;
  font-size: 14px;
  font-weight: 800;
}

nav a {
  align-items: center;
  color: var(--muted);
  display: inline-flex;
  min-height: 32px;
}

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

.header-download {
  align-items: center;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 8px;
  color: var(--paper);
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
}

.hero {
  align-items: center;
  margin: 0 auto;
  max-width: 1180px;
  min-height: 560px;
  padding: 94px 24px 86px;
}

.eyebrow {
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(56px, 7vw, 92px);
  letter-spacing: 0;
  line-height: 0.94;
  margin: 0;
}

.lead {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
  margin: 28px 0 0;
  max-width: 680px;
}

.availability {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  margin: 14px 0 0;
}

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

.actions.stacked {
  flex-direction: column;
  width: 100%;
}

.button {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 900;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 12px 28px rgba(154, 82, 8, 0.22);
  color: var(--paper);
}

.button.secondary {
  background: var(--paper);
}

.feature-section,
.faq-section {
  padding: 86px 24px;
}

.feature-section {
  background: var(--surface);
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.section-heading {
  margin: 0 auto 36px;
  max-width: 760px;
  text-align: center;
}

.section-heading.compact {
  margin-bottom: 30px;
}

.section-heading h2 {
  font-size: 42px;
  line-height: 1.08;
  margin: 0;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
  margin: 18px 0 0;
}

.feature-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1180px;
}

.feature-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 270px;
  padding: 28px;
}

.feature-card img {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: block;
  height: 52px;
  margin-bottom: 24px;
  object-fit: contain;
  padding: 10px;
  width: 52px;
}

.feature-mark {
  color: var(--accent-strong);
  display: block;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.feature-card h3 {
  font-size: 23px;
  line-height: 1.15;
  margin: 0 0 12px;
}

.feature-card p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.faq-section {
  background: var(--paper);
  border-top: 1px solid rgba(188, 160, 112, 0.48);
}

.faq-list {
  display: grid;
  gap: 12px;
  margin: 0 auto;
  max-width: 880px;
}

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px 22px;
}

.faq-list summary {
  color: var(--ink);
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
}

.faq-list p {
  color: var(--muted);
  line-height: 1.6;
  margin: 14px 0 0;
}

footer {
  background: var(--surface-alt);
  color: var(--ink);
  border-top: 1px solid var(--line);
}

.site-footer {
  padding: 0 24px;
}

.footer-inner {
  align-items: center;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 36px 0;
}

.footer-brand img {
  display: block;
  height: 30px;
  object-fit: contain;
  width: auto;
}

.footer-brand p {
  color: var(--muted);
  margin: 12px 0 0;
}

.footer-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--muted);
  font-weight: 800;
}

.center-page {
  align-items: center;
  display: flex;
  justify-content: center;
  padding: 24px;
}

.store-panel {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  max-width: 430px;
  padding: 34px;
  text-align: center;
  width: 100%;
}

.store-panel h1 {
  font-size: 34px;
  line-height: 1;
  margin-top: 18px;
}

.store-panel p {
  color: var(--muted);
  line-height: 1.5;
  margin: 18px 0 0;
}

.app-icon {
  border-radius: 20px;
  box-shadow: 0 14px 40px rgba(43, 33, 25, 0.18);
  height: 86px;
  width: 86px;
}

@media (max-width: 760px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 16px 18px;
  }

  .header-actions {
    justify-content: space-between;
    width: 100%;
  }

  nav {
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 2px;
    width: auto;
  }

  .hero {
    align-items: start;
    min-height: auto;
    padding: 56px 18px 64px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .lead {
    font-size: 18px;
  }

  .actions .button {
    width: 100%;
  }

  .feature-section,
  .faq-section {
    padding: 58px 18px;
  }

  .section-heading {
    text-align: left;
  }

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

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

  .feature-card {
    min-height: auto;
    padding: 24px;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}

@media (min-width: 761px) and (max-width: 980px) {
  .hero {
    min-height: auto;
    padding-top: 78px;
  }

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