:root {
  --bg: #f6f2ef;
  --surface: #ffffff;
  --soft: #f7ebe4;
  --ink: #382e2a;
  --title: #3e342f;
  --muted: #786b65;
  --primary: #8e604f;
  --primary-hover: #7a5244;
  --on-primary: #ffffff;
  --line: #eae2dc;
  --shadow: rgba(46, 36, 32, 0.12);
  --radius: 22px;
  --max: 68rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1100px 480px at 8% -8%, #fde68a55, transparent 58%),
    radial-gradient(900px 420px at 100% 0%, #fdba7450, transparent 52%),
    var(--bg);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--primary);
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(1.2) blur(16px);
  -webkit-backdrop-filter: saturate(1.2) blur(16px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--title);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.nav a:not(.store-badge) {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav a:not(.store-badge):hover,
.nav a:not(.store-badge):focus-visible {
  color: var(--title);
}

.store-badge {
  display: inline-block;
  flex-shrink: 0;
  line-height: 0;
  border-radius: 8px;
}

.store-badge img {
  display: block;
  height: 40px;
  width: auto;
}

.store-badge-lg img {
  height: 56px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 0;
  background: var(--primary);
  color: var(--on-primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 10px 24px var(--shadow);
}

.btn:hover,
.btn:focus-visible {
  background: var(--primary-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--primary);
  box-shadow: none;
  border: 1px solid var(--line);
}

.btn svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.hero {
  display: grid;
  gap: 2.5rem;
  padding: 3.2rem 0 2rem;
  align-items: center;
}

.hero h1 {
  margin: 0 0 0.85rem;
  color: var(--title);
  font-size: clamp(2.3rem, 7vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 750;
}

.lede {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.15rem;
}

.text-link {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--title);
}

.phones {
  display: flex;
  justify-content: center;
  align-items: end;
  gap: 1rem;
}

.phone {
  width: min(16.5rem, 46vw);
  padding: 0.55rem;
  border-radius: 2rem;
  background: #2a221e;
  box-shadow: 0 24px 50px rgba(46, 36, 32, 0.22);
}

.phone img {
  display: block;
  width: 100%;
  border-radius: 1.5rem;
}

.phone.back {
  width: min(14.2rem, 38vw);
  opacity: 0.92;
  transform: translateY(1.2rem);
}

.section {
  padding: 3.5rem 0;
  scroll-margin-top: 5rem;
}

.section h2 {
  margin: 0 0 0.4rem;
  color: var(--title);
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: -0.03em;
}

.section .intro {
  margin: 0 0 1.75rem;
  color: var(--muted);
  max-width: 36rem;
}

.steps,
.features {
  display: grid;
  gap: 1rem;
}

.card {
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem 1.3rem;
}

.card h3 {
  margin: 0 0 0.4rem;
  color: var(--title);
  font-size: 1.05rem;
}

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

.features a.card {
  text-decoration: none;
  color: inherit;
}

.features a.card:hover,
.features a.card:focus-visible {
  border-color: color-mix(in srgb, var(--primary) 35%, var(--line));
}

.page-hero {
  padding: 3.2rem 0 0.5rem;
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  color: var(--title);
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.feature-band {
  display: grid;
  gap: 1.6rem;
  align-items: start;
  padding: 2.4rem 0;
  scroll-margin-top: 5rem;
}

.feature-copy h2 {
  margin: 0 0 0.55rem;
  color: var(--title);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  letter-spacing: -0.03em;
}

.feature-copy p,
.feature-copy li {
  color: var(--muted);
}

.feature-copy ul {
  margin: 0.9rem 0 0;
  padding-left: 1.15rem;
}

.feature-copy li {
  margin-bottom: 0.4rem;
}

.feature-band .phone {
  width: min(17rem, 68vw);
  margin-inline: auto;
}

.feature-grid {
  display: grid;
  gap: 1rem;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  margin-bottom: 0.7rem;
  border-radius: 999px;
  background: var(--soft);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 750;
}

.shots {
  display: grid;
  gap: 1rem;
}

.shot {
  margin: 0;
}

.shot .phone {
  width: 100%;
  max-width: 18rem;
  margin-inline: auto;
}

.shot figcaption {
  margin-top: 0.7rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.support-card {
  background: var(--surface);
}

.support-card p {
  margin: 0 0 0.75rem;
  color: var(--muted);
}

.support-card p:last-child {
  margin-bottom: 0;
}

.site-footer {
  padding: 2.4rem 0 2.8rem;
  border-top: 1px solid var(--line);
}

.site-footer .wrap {
  display: grid;
  gap: 1.25rem;
}

.social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
}

.social a:hover,
.social a:focus-visible {
  color: var(--title);
  background: var(--soft);
}

.social svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

.legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.15rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.legal a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.legal a:hover,
.legal a:focus-visible {
  color: var(--title);
}

.doc {
  width: min(40rem, calc(100% - 2rem));
  margin: 2.4rem auto 4rem;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.55;
}

.doc h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 5vw, 2.6rem);
  line-height: 1.15;
}

.doc .meta,
.doc .box,
.doc footer {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.doc .meta {
  color: var(--muted);
  margin: 0 0 2rem;
}

.doc .lead {
  font-size: 1.15rem;
  margin: 0 0 2rem;
}

.doc h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.6rem;
}

.doc p,
.doc ul {
  margin: 0 0 1rem;
}

.doc ul {
  padding-left: 1.2rem;
}

.doc li {
  margin-bottom: 0.4rem;
}

.doc .box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.doc-end {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

@media (min-width: 800px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    padding-top: 4.4rem;
  }

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

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

  .feature-band {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .feature-band-flip .feature-copy {
    order: 2;
  }

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

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

  .site-footer .wrap {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (max-width: 799px) {
  .nav-wide {
    display: none;
  }

  .site-header .store-badge img {
    height: 32px;
  }

  .phone.back {
    display: none;
  }

  .phone {
    width: min(18rem, 72vw);
  }
}
