:root {
  --cream: #fbf6ec;
  --paper: #fffdf8;
  --ink: #2b2620;
  --ink-soft: #5d544a;
  --ink-faint: #8c8277;
  --hairline: rgba(43, 38, 32, 0.12);
  --family: #6ba829;
  --family-deep: #4f7f1a;
  --friends: #ee820d;
  --emergency: #d92121;
  --round: ui-rounded, "SF Pro Rounded", "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { background: var(--cream); color: var(--ink); font-family: var(--round); scroll-behavior: smooth; }
body { margin: 0; line-height: 1.6; font-size: 18px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--family-deep); }
.wrap { width: min(1080px, 100% - 40px); margin-inline: auto; }

.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 22px; }
.brand img { width: 44px; height: 44px; border-radius: 11px; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.site-header nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-header nav a { color: var(--ink-soft); text-decoration: none; font-weight: 700; font-size: 16px; }
.site-header nav a:hover { color: var(--ink); }

.hero { padding-block: 40px 72px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; margin: 0 0 14px; padding: 6px 14px; border-radius: 999px; background: rgba(107,168,41,.14); color: var(--family-deep); font-weight: 800; font-size: 15px; letter-spacing: .02em; }
h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.04; margin: 0 0 20px; letter-spacing: -0.02em; font-weight: 900; }
h1 em { font-style: normal; color: var(--family); }
.lead { font-size: 21px; color: var(--ink-soft); max-width: 36ch; margin: 0 0 30px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 26px; border-radius: 16px; font-weight: 800; font-size: 18px; text-decoration: none; }
.button.primary { background: var(--ink); color: var(--paper); }
.button.secondary { background: var(--paper); color: var(--ink); border: 2px solid var(--hairline); }
.store-note { color: var(--ink-faint); font-size: 15px; margin-top: 16px; }

.phone { position: relative; margin-inline: auto; width: min(320px, 100%); border-radius: 46px; padding: 12px; background: #1d1a17; box-shadow: 0 30px 60px -20px rgba(43,38,32,.45); }
.phone img { border-radius: 36px; width: 100%; aspect-ratio: 1320 / 2868; object-fit: cover; background: var(--paper); }
.phone-mock { border-radius: 36px; background: var(--paper); aspect-ratio: 1320 / 2868; padding: 22px 16px; display: flex; flex-direction: column; gap: 12px; }
.phone-mock .hello { font-weight: 900; font-size: 24px; }
.phone-mock .label { font-weight: 900; font-size: 22px; }
.phone-mock .tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.phone-mock .tile { aspect-ratio: 1; border-radius: 18px; display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 34px; }
.phone-mock .sos { margin-top: auto; border-radius: 18px; background: var(--emergency); color: #fff; font-weight: 900; text-align: center; padding: 20px 0; font-size: 22px; letter-spacing: .04em; }

section { padding-block: 56px; }
.section-head { max-width: 680px; margin-bottom: 36px; }
h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.1; margin: 0 0 14px; letter-spacing: -0.01em; font-weight: 900; }
.section-head p { color: var(--ink-soft); font-size: 20px; margin: 0; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--paper); border-radius: var(--radius); padding: 28px; border: 1px solid var(--hairline); }
.card .dot { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-size: 24px; margin-bottom: 16px; }
.card h3 { margin: 0 0 8px; font-size: 22px; font-weight: 900; }
.card p { margin: 0; color: var(--ink-soft); }
.green { background: var(--family); }
.orange { background: var(--friends); }
.red { background: var(--emergency); }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; }
.steps li { background: var(--paper); border-radius: var(--radius); padding: 28px; border: 1px solid var(--hairline); }
.steps li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--paper); font-weight: 900; margin-bottom: 14px; }
.steps strong { display: block; font-size: 20px; margin-bottom: 6px; }
.steps span { color: var(--ink-soft); }

.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.shots img { border-radius: 26px; border: 1px solid var(--hairline); box-shadow: 0 16px 30px -18px rgba(43,38,32,.4); }

.pricing { background: var(--ink); color: var(--paper); border-radius: 32px; padding: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.pricing h2 { color: var(--paper); }
.pricing p { color: rgba(255,253,248,.75); }
.pricing ul { margin: 0; padding-left: 22px; }
.pricing li { margin-bottom: 8px; }

.site-footer { padding-block: 40px 60px; color: var(--ink-faint); font-size: 15px; display: flex; gap: 20px; flex-wrap: wrap; justify-content: space-between; border-top: 1px solid var(--hairline); margin-top: 40px; }
.site-footer a { color: var(--ink-soft); margin-right: 18px; }

.legal-main { width: min(760px, 100% - 40px); margin: 0 auto; padding-block: 48px 80px; }
.legal-main h1 { font-size: clamp(36px, 5vw, 50px); }
.legal-main h2 { font-size: 26px; margin-top: 38px; }
.legal-main .meta { color: var(--ink-faint); }
.summary { background: var(--paper); border: 1px solid var(--hairline); border-left: 6px solid var(--family); border-radius: 16px; padding: 4px 22px; margin: 22px 0; }
.back-link { display: inline-block; margin-top: 40px; font-weight: 800; }

/* The two sides of a setup, stacked: each side gets the full width, so a step
   reads as a sentence instead of a three-word-per-line ribbon. */
.sides { display: grid; grid-template-columns: 1fr; gap: 34px; align-items: start; }
/* Within a side there IS room to read across, so the steps go side by side. */
.sides .steps { grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sides .side-their .steps { grid-template-columns: repeat(2, 1fr); }
.sides .steps em { font-style: normal; font-weight: 800; color: var(--family-deep); display: block; margin-top: 6px; }
.side-head { margin: 0 0 16px; font-size: 15px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.side-you { color: var(--family-deep); }
.side-them { color: var(--friends); }
.side-you ~ .steps li::before { background: var(--family); }
.side-them ~ .steps li::before { background: var(--friends); }
.how-note { margin: 28px 0 0; color: var(--ink-soft); font-size: 18px; text-align: center; }
.how-shot { margin: 36px 0 0; text-align: center; }
.how-shot img { width: min(320px, 100%); height: auto; border-radius: 26px; border: 1px solid var(--hairline); box-shadow: 0 16px 30px -18px rgba(43,38,32,.4); }

@media (max-width: 860px) {
  .hero-grid, .pricing { grid-template-columns: 1fr; }
  .cards, .steps { grid-template-columns: 1fr; }
  /* Must out-specify `.sides .steps` above, or the steps stay three-across and
     become the narrow ribbon this layout exists to avoid. */
  .sides .steps, .sides .side-their .steps { grid-template-columns: 1fr; }
  .sides { gap: 34px; }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .pricing { padding: 30px; }
}
