:root {
  --green: #58c96b;
  --green-dark: #38a84e;
  --lime: #b9e78a;
  --yellow: #ffd166;
  --orange: #ff9f43;
  --coral: #ff6b6b;
  --dark: #252a34;
  --muted: #6a6660;
  --bg: #faf7f1;
  --card: #fffdfb;
  --mint: #eef5e6;
  --soil: #785434;
  --shadow: 0 16px 36px rgba(120, 84, 52, 0.07);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-pill: 100px;
  --max: 1120px;
  --nav-h: 72px;
  --font: ui-rounded, "SF Pro Rounded", "Hiragino Maru Gothic ProN", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--dark);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* Same treatment as KarmiStickerImage: die-cut white ring is in the PNG;
   SwiftUI then adds a light drop shadow (black 16%, blur 3, y 2). */
img[src*="karmi-"] {
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.16));
}

a {
  color: var(--green-dark);
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--dark);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 100;
}

.skip:focus {
  left: 8px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav-h);
  background: rgba(250, 247, 241, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(120, 84, 52, 0.06);
}

.nav {
  position: relative;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--dark);
  font-weight: 700;
  font-size: 1.15rem;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--green-dark);
}

.nav-toggle {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 0;
  background: var(--card);
  box-shadow: 0 0 0 1px rgba(37, 42, 52, 0.14);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  position: relative;
  margin: 0 auto;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  border-radius: var(--radius);
  padding: 14px 22px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: var(--green);
  color: #fff;
}

.btn-primary:hover {
  background: var(--green-dark);
}

.btn-ghost {
  background: var(--mint);
  color: var(--green-dark);
}

.hero {
  padding: 48px 0 72px;
  overflow: visible;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  grid-template-areas:
    "eyebrow art"
    "title art"
    "rest art";
  column-gap: 40px;
  row-gap: 0;
  align-items: center;
}

.hero-grid > .eyebrow {
  grid-area: eyebrow;
  align-self: end;
}

.hero-tagline {
  grid-area: title;
  font-size: clamp(3.1rem, 8vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin: 0 0 22px;
  color: var(--green);
}

.hero-tagline span {
  display: block;
}

.hero-art {
  grid-area: art;
}

.hero-rest {
  grid-area: rest;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--mint);
  color: var(--green-dark);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

h1,
h2,
h3 {
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.close-tagline {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--green);
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.lede {
  font-size: 1.28rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 18px;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
}

.trust li::before {
  content: "✓ ";
  color: var(--green);
  font-weight: 800;
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 460px;
  overflow: visible;
}

.blob {
  display: none;
}

.hero-art > picture {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
  isolation: isolate;
}

.hero-art > picture::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: 122%;
  height: 122%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  background: radial-gradient(
    circle closest-side at 50% 48%,
    rgba(185, 231, 138, 0.62) 0%,
    rgba(185, 231, 138, 0.26) 42%,
    rgba(232, 245, 233, 0.1) 70%,
    transparent 100%
  );
}

.hero-art > picture img {
  position: relative;
  width: 100%;
}

.shots-bleed {
  padding-inline: 0;
}

.shots {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 24px;
  padding: 4px 0 18px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

/* Flex spacers so the first/last phones are never flush to the screen edge
   (Safari ignores padding on overflow flex rows). */
.shots::before,
.shots::after {
  content: "";
  display: block;
  flex: 0 0 max(24px, env(safe-area-inset-left, 0px));
  width: max(24px, env(safe-area-inset-left, 0px));
  pointer-events: none;
}

.shots::after {
  flex-basis: max(24px, env(safe-area-inset-right, 0px));
  width: max(24px, env(safe-area-inset-right, 0px));
}

.shot {
  flex: 0 0 168px;
  margin: 0;
  text-align: center;
  scroll-snap-align: start;
}

.shot-frame {
  background: #15181e;
  border: 2px solid #15181e;
  border-radius: 34px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(37, 42, 52, 0.12);
}

.shot-frame picture {
  display: block;
  overflow: hidden;
  border-radius: 32px;
}

.shot-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 32px;
  filter: none;
}

.shot figcaption {
  margin-top: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--dark);
}

.section {
  padding: 84px 0;
}

.section.alt {
  background: linear-gradient(180deg, var(--bg) 0%, #f1f6ea 72px, #f1f6ea);
}

.section-head {
  max-width: 42rem;
  margin-bottom: 40px;
}

.muted {
  color: var(--muted);
}

.grid-3,
.grid-2 {
  display: grid;
  gap: 22px;
}

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

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

.card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow);
  overflow: visible;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(120, 84, 52, 0.1);
}

.card h3 {
  font-size: 1.2rem;
}

.card picture {
  display: flex;
  justify-content: center;
  width: 100%;
}

.card img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  margin: 0 auto 8px;
}

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.step {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}

.step h3 {
  display: flex;
  align-items: center;
  gap: 12px;
}

.step h3::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
}

.privacy-band {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: center;
  background: var(--dark);
  color: #fff;
  border-radius: 32px;
  padding: 32px;
}

.privacy-band p,
.privacy-band a {
  color: rgba(255, 255, 255, 0.82);
}

.privacy-band h2 {
  color: #fff;
}

.privacy-band img {
  width: 120px;
}

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

.plan {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
}

.plan.featured {
  border-color: var(--green);
}

.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--green);
  color: #fff;
  margin-bottom: 10px;
}

.badge.gold {
  background: var(--yellow);
  color: var(--dark);
}

.plan-price {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 4px 0 8px;
}

.plan-price span {
  font-size: 1rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0;
}

.faq details {
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow);
  margin-bottom: 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.faq details p {
  color: var(--muted);
  margin: 10px 0 0;
}

.cta-final {
  text-align: center;
  background: var(--mint);
  border-radius: 36px;
  padding: 56px 28px;
}

.cta-final .eyebrow {
  margin-bottom: 14px;
}

.cta-final img {
  width: 132px;
}

.legal {
  padding: 40px 0 80px;
  max-width: 760px;
}

.legal h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.legal h2 {
  margin-top: 32px;
  font-size: 1.3rem;
}

.legal p,
.legal li {
  color: #3d434c;
}

.updated {
  color: var(--muted);
  font-weight: 600;
}

.site-footer {
  border-top: 1px solid rgba(37, 42, 52, 0.08);
  padding: 28px 0 40px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.notice {
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 52rem;
}

@media (max-width: 900px) {
  .grid-3,
  .grid-2,
  .steps,
  .plans,
  .privacy-band {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "eyebrow eyebrow"
      "title art"
      "rest rest";
    column-gap: 8px;
    row-gap: 0;
    align-items: center;
  }

  .hero-tagline {
    margin: 0;
    align-self: center;
    font-size: clamp(1.9rem, 8vw, 2.5rem);
    line-height: 1;
    white-space: nowrap;
  }

  .hero-rest {
    margin-top: 18px;
  }

  .hero {
    padding: 28px 0 56px;
  }

  .hero-art {
    min-height: 0;
    width: auto;
    height: clamp(3.8rem, 16vw, 5rem);
    align-self: center;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  .hero-art > picture {
    width: auto;
    height: 100%;
  }

  .hero-art > picture::before {
    display: none;
  }

  .hero-art > picture img {
    width: auto;
    height: 100%;
    object-fit: contain;
    display: block;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--nav-h);
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    border-bottom: 1px solid rgba(37, 42, 52, 0.08);
    gap: 12px;
    z-index: 50;
  }

  .nav.is-open .nav-links {
    display: flex;
  }

  .nav-links .btn {
    width: 100%;
  }
}

@media (min-width: 901px) {
  .nav-toggle {
    display: none;
  }
}

@media (min-width: 1100px) {
  .shots-bleed {
    padding-inline: 0;
  }

  .shots {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    overflow: visible;
    width: min(var(--max), calc(100% - 40px));
    margin-inline: auto;
    padding-inline: 0;
    scroll-snap-type: none;
  }

  .shots::before,
  .shots::after {
    display: none;
  }

  .shot {
    flex: none;
    width: auto;
  }

  .shot-frame {
    border-radius: 36px;
  }

  .shot-frame picture,
  .shot-frame img {
    border-radius: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .card:hover {
    transform: none;
  }
}
