:root {
  --background: #fef9ed;
  --surface: #f8f3e7;
  --surface-high: #ede8dc;
  --outline: #83746b;
  --outline-soft: #d5c3b8;
  --text: #1d1c15;
  --muted: #51443c;
  --primary: #6f4627;
  --primary-deep: #301400;
  --secondary: #3e6910;
  --secondary-soft: #bbef87;
  --peach: #ffdcc5;
  --blue: #005192;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 14% 12%, rgba(187, 239, 135, 0.55), transparent 28rem),
    radial-gradient(circle at 86% 24%, rgba(255, 220, 197, 0.72), transparent 30rem),
    var(--background);
  color: var(--text);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  background: rgba(254, 249, 237, 0.9);
  border-bottom: 4px solid var(--outline);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  border: 2px solid var(--primary);
}

.brand strong {
  display: block;
  color: var(--primary);
  font-size: 1.15rem;
  font-weight: 950;
  line-height: 1;
}

.brand small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

nav {
  display: flex;
  gap: 1.25rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.header-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 14px;
  padding: 0.75rem 1.1rem;
  font-weight: 950;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.header-cta,
.primary-button {
  color: white;
  background: var(--primary);
  border: 2px solid var(--primary-deep);
  box-shadow: 0 4px 0 var(--primary-deep);
}

.secondary-button {
  color: var(--primary);
  background: var(--surface);
  border: 2px solid var(--outline);
  box-shadow: 0 4px 0 var(--outline);
}

.header-cta:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-1px);
}

.header-cta:active,
.primary-button:active,
.secondary-button:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--primary-deep);
}

main {
  overflow: hidden;
}

.hero,
.problem,
.steps-section,
.screens-section,
.feature-band,
.privacy-section,
.cta-section {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
}

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

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 1.25rem;
  color: var(--primary);
  font-size: clamp(3.2rem, 8vw, 6.7rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 1rem;
  color: var(--primary);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

h3 {
  color: var(--primary);
  font-size: 1.25rem;
}

.hero-text {
  max-width: 37rem;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.55;
  font-weight: 650;
}

.hero-actions,
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  margin-top: 1.5rem;
}

.trust-row span {
  display: inline-flex;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--outline-soft);
  border-radius: 999px;
  background: rgba(248, 243, 231, 0.78);
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 850;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.phone {
  position: relative;
  overflow: hidden;
  border: 10px solid #1d1c15;
  border-radius: 44px;
  background: #1d1c15;
  box-shadow: 0 28px 70px rgba(48, 20, 0, 0.24);
}

.phone img {
  display: block;
  width: 100%;
  height: auto;
}

.phone-main {
  width: min(360px, 90vw);
  transform: rotate(2deg);
}

.phone-small {
  width: min(270px, 78vw);
}

.floating-card {
  position: absolute;
  right: 0;
  bottom: 8%;
  display: grid;
  gap: 0.15rem;
  min-width: 150px;
  padding: 1rem 1.1rem;
  border: 3px solid var(--primary);
  border-radius: 18px;
  background: var(--secondary-soft);
  box-shadow: 0 5px 0 var(--secondary);
}

.floating-card strong {
  color: var(--secondary);
  font-size: 2.2rem;
  line-height: 1;
}

.floating-card span {
  color: var(--secondary);
  font-weight: 900;
}

.problem {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: center;
  padding: 2rem;
  border: 4px solid var(--primary);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 5px 0 var(--primary-deep);
}

.problem p,
.feature-copy p,
.privacy-grid p,
.steps-grid p,
.cta-section p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 650;
}

.steps-section,
.screens-section,
.feature-band,
.privacy-section,
.cta-section {
  padding: clamp(4rem, 9vw, 7rem) 0;
}

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

.steps-grid,
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.steps-grid article,
.privacy-grid article {
  padding: 1.4rem;
  border: 2px solid var(--outline);
  border-radius: 18px;
  background: var(--surface-high);
  box-shadow: 0 4px 0 var(--outline);
}

.steps-grid span {
  color: var(--secondary);
  font-size: 0.9rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.screen-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

figure {
  margin: 0;
}

figcaption {
  margin-top: 0.85rem;
  color: var(--primary);
  text-align: center;
  font-size: 0.95rem;
  font-weight: 950;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding-inline: 2rem;
  border: 4px solid var(--outline);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 5px 0 var(--outline);
}

.cta-section {
  display: grid;
  justify-items: center;
  text-align: center;
}

.cta-section img {
  width: 96px;
  height: 96px;
  margin-bottom: 1rem;
  border: 3px solid var(--primary);
  border-radius: 24px;
}

.cta-section p {
  max-width: 560px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 4vw, 4rem);
  border-top: 4px solid var(--outline);
  background: var(--surface-high);
  color: var(--muted);
  font-weight: 850;
}

@media (max-width: 900px) {
  nav,
  .header-cta {
    display: none;
  }

  .hero,
  .problem,
  .feature-band {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: left;
  }

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

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

  .feature-band {
    justify-items: center;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-inline: 1rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .screen-gallery {
    display: flex;
    gap: 1rem;
    margin-inline: -1rem;
    padding: 0 1rem 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .screen-gallery .phone {
    flex: 0 0 74vw;
    scroll-snap-align: center;
  }

  .floating-card {
    right: 0.2rem;
    bottom: -0.75rem;
  }

  .problem,
  .feature-band {
    padding: 1.2rem;
  }

  footer {
    flex-direction: column;
  }
}
