:root {
  color-scheme: light;
  --paper: #f8f6ee;
  --paper-bright: #fffdf8;
  --paper-deep: #efecdf;
  --ink: #0b1712;
  --muted: #58635e;
  --forest: #075940;
  --forest-hover: #064b37;
  --forest-deep: #03382d;
  --mint: #3ecb98;
  --mint-soft: #b9e5d4;
  --amber: #e1ab3f;
  --line: #d9d8cf;
  --line-dark: rgba(255, 255, 255, 0.22);
  --shadow: 0 24px 60px rgba(12, 32, 25, 0.13);
  --shadow-soft: 0 12px 30px rgba(12, 32, 25, 0.08);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --content: 1200px;
  --measure: 68ch;
  --heading: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.36;
  background-image: radial-gradient(rgba(7, 89, 64, 0.055) 0.7px, transparent 0.7px);
  background-size: 18px 18px;
}

img, svg { display: block; }
img { max-width: 100%; height: auto; }

a { color: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 10px;
  color: #fff;
  background: var(--forest-deep);
  font-weight: 800;
}

.skip-link:focus { top: 16px; }

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

.narrow {
  width: min(820px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgba(11, 23, 18, 0.07);
  background: rgba(248, 246, 238, 0.94);
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
  color: var(--forest-deep);
  text-decoration: none;
  font-family: var(--heading);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  box-shadow: 0 7px 16px rgba(3, 56, 45, 0.18);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 38px);
  margin-left: auto;
}

.site-nav a:not(.button) {
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.site-nav a:not(.button):hover { color: var(--forest); }

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--forest-deep);
  background: var(--paper-bright);
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 2px solid var(--forest);
  border-radius: 13px;
  color: #fff;
  background: var(--forest);
  box-shadow: 0 7px 0 rgba(3, 56, 45, 0.13);
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.1;
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  background: var(--forest-hover);
  transform: translateY(-2px);
  box-shadow: 0 9px 0 rgba(3, 56, 45, 0.11);
}

.button--light {
  border-color: var(--mint);
  color: var(--forest-deep);
  background: var(--mint);
}

.button--light:hover { background: #63d8ad; }

.text-link {
  color: var(--forest);
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
  font-weight: 800;
}

.text-link:hover { color: var(--forest-deep); }

.hero {
  position: relative;
  overflow: hidden;
  padding: 18px 0 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper-bright);
}

.hero-grid,
.article-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(440px, 1.05fr);
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
}

.hero-copy { position: relative; z-index: 3; }

.hero h1,
.article-hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--heading);
  font-size: clamp(3.8rem, 7.2vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 0.92;
}

.accent { color: var(--forest); }

.hero .lead,
.article-hero .lead {
  max-width: 610px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: clamp(1.15rem, 1.7vw, 1.38rem);
  font-weight: 560;
  line-height: 1.48;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
  margin-top: 34px;
}

.phone-stage {
  position: relative;
  min-height: 680px;
}

.phone-stage::before,
.route-line {
  content: "";
  position: absolute;
  width: 215px;
  height: 125px;
  border: 3px dashed rgba(7, 89, 64, 0.32);
  border-color: rgba(7, 89, 64, 0.32) transparent transparent rgba(7, 89, 64, 0.32);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.phone-stage::before { left: -35px; bottom: 85px; }

.route-pin {
  position: absolute;
  right: 5%;
  top: 12%;
  width: 48px;
  height: 48px;
  color: rgba(7, 89, 64, 0.52);
}

.phone-shell {
  position: absolute;
  z-index: 2;
  width: min(310px, 58%);
  padding: 10px;
  overflow: hidden;
  border: 2px solid #252d29;
  border-radius: 58px;
  background: #080b09;
  box-shadow: var(--shadow);
}

.phone-shell img {
  width: 100%;
  border-radius: 47px;
  background: #080b09;
}

.phone-shell--front { left: 10%; top: 0; }
.phone-shell--rear { right: 0; top: 90px; z-index: 1; transform: scale(0.88); }

.paper-note {
  position: absolute;
  z-index: 4;
  width: 150px;
  padding: 28px 18px 20px;
  border: 1px solid #d5cba7;
  color: var(--forest);
  background: #e9e2c8;
  box-shadow: var(--shadow-soft);
  font-family: "Bradley Hand", "Segoe Print", cursive;
  font-size: 19px;
  line-height: 1.2;
  text-align: center;
  transform: rotate(-6deg);
}

.paper-note::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 34px;
  left: 22px;
  top: -12px;
  border: 2px solid #988568;
  border-radius: 8px;
  transform: rotate(10deg);
}

.phone-stage .paper-note { right: -2%; bottom: 18px; }

.section {
  position: relative;
  padding: clamp(80px, 10vw, 144px) 0;
  border-bottom: 1px solid var(--line);
}

.section--bright { background: var(--paper-bright); }

#how-it-works { padding-top: 56px; }

.section-heading {
  max-width: 820px;
  margin: 0;
  font-family: var(--heading);
  font-size: clamp(2.55rem, 5vw, 4.8rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.section-intro {
  max-width: 700px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.5vw, 1.27rem);
  line-height: 1.58;
}

.step-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin-top: 64px;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.step-number {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--forest);
  font-weight: 900;
}

.step svg,
.feature-row svg,
.idea-link svg,
.example-row svg {
  width: 42px;
  height: 42px;
  color: var(--forest);
}

.step h3,
.feature-row h3 {
  margin: 0 0 6px;
  font-family: var(--heading);
  font-size: 1.28rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.step p,
.feature-row p { margin: 0; color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(56px, 8vw, 112px);
}

.device-duo {
  position: relative;
  min-height: 690px;
}

.device-duo .phone-shell { width: min(320px, 58%); }
.device-duo .phone-shell:first-child { left: 0; top: 0; }
.device-duo .phone-shell:last-child { right: 0; top: 105px; transform: scale(0.88); }

.feature-list { margin-top: 46px; }

.feature-row {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.privacy-band {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 10vw, 140px) 0;
  color: #fff;
  background: var(--forest-deep);
}

.privacy-band::after,
.final-cta::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -100px;
  width: 350px;
  height: 230px;
  border: 3px dashed rgba(62, 203, 152, 0.35);
  border-color: rgba(62, 203, 152, 0.35) transparent transparent rgba(62, 203, 152, 0.35);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.privacy-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.85fr 0.75fr 0.7fr;
  align-items: center;
  gap: clamp(42px, 6vw, 76px);
}

.privacy-band .section-heading { color: #fff; }
.privacy-band .section-intro { color: #dce8e3; }
.privacy-band .text-link { display: inline-block; margin-top: 24px; color: var(--mint); }
.privacy-band .phone-shell { position: relative; inset: auto; width: 100%; max-width: 300px; margin: auto; }

.privacy-rail { margin: 0; padding: 0; list-style: none; }
.privacy-rail li { padding: 24px 0; border-bottom: 1px solid var(--line-dark); font-weight: 800; }
.privacy-rail li::before { content: "✓"; display: inline-grid; width: 28px; height: 28px; margin-right: 12px; place-items: center; border-radius: 50%; color: var(--forest-deep); background: var(--mint); }

.ideas-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  align-items: start;
  gap: clamp(50px, 8vw, 120px);
}

.ideas-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 52px;
}

.idea-link {
  display: grid;
  grid-template-columns: 50px 1fr 24px;
  align-items: center;
  gap: 16px;
  min-height: 98px;
  border-bottom: 1px solid var(--line);
  color: var(--forest-deep);
  text-decoration: none;
  font-family: var(--heading);
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1.25;
}

.idea-link:hover { color: var(--forest); }
.idea-link .chevron { width: 22px; height: 22px; }

.faq-layout {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: clamp(50px, 8vw, 120px);
}

.faq-list details { border-bottom: 1px solid var(--line); }

.faq-list summary {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 14px;
  padding: 24px 0;
  cursor: pointer;
  font-family: var(--heading);
  font-size: 1.17rem;
  font-weight: 900;
  line-height: 1.25;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before { content: "+"; display: grid; width: 26px; height: 26px; place-items: center; border-radius: 50%; color: #fff; background: var(--forest); font-family: var(--body); font-size: 18px; }
.faq-list details[open] summary::before { content: "−"; }
.faq-list details p { margin: -8px 0 24px 44px; color: var(--muted); max-width: 760px; }

.final-cta {
  position: relative;
  overflow: hidden;
  padding: 60px 0;
  color: #fff;
  background: var(--forest-deep);
}

.cta-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
}

.cta-icon {
  width: 100px;
  height: 100px;
  border-radius: 24px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.final-cta h2 {
  max-width: 720px;
  margin: 0;
  font-family: var(--heading);
  font-size: clamp(2.25rem, 4vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.cta-action p { margin: 10px 0 0; color: #c8d9d2; font-size: 14px; text-align: center; }

.site-footer { padding: 34px 0; background: var(--paper-bright); }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 42px;
}

.footer-brand .brand img { width: 42px; height: 42px; border-radius: 11px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 14px 28px; }
.footer-nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 700; }
.footer-nav a:hover { color: var(--forest); }
.copyright { margin: 0; color: var(--muted); font-size: 14px; white-space: nowrap; }

.article-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(62px, 8vw, 112px) 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper-bright);
}

.article-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(370px, 0.75fr); }
.article-hero h1 { font-size: clamp(3.1rem, 6vw, 6rem); }
.article-hero .phone-stage { min-height: 610px; }
.article-hero .phone-shell { left: 10%; top: 0; right: auto; width: min(330px, 72%); }
.article-hero .paper-note { right: 0; bottom: 45px; }

.content-section {
  padding: clamp(72px, 9vw, 124px) 0;
  border-bottom: 1px solid var(--line);
}

.content-section--bright { background: var(--paper-bright); }

.content-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  gap: clamp(48px, 8vw, 110px);
}

.content-section h2,
.legal-page h1,
.legal-page h2 {
  margin: 0;
  font-family: var(--heading);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.content-section h2 { font-size: clamp(2.25rem, 4.3vw, 4rem); }
.content-section h3 { margin: 32px 0 8px; font-family: var(--heading); font-size: 1.35rem; line-height: 1.2; }
.content-section p { color: var(--muted); }
.content-copy > :first-child { margin-top: 0; }
.content-copy > :last-child { margin-bottom: 0; }

.example-list { border-top: 1px solid var(--line); }

.example-row {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 18px;
  min-height: 92px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.example-row strong { color: var(--forest-deep); }
.example-row span { color: var(--muted); }

.routine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 54px;
}

.routine-step { padding-top: 20px; border-top: 1px solid var(--line); }
.routine-step .step-number { margin-bottom: 18px; }
.routine-step h3 { margin: 0 0 8px; }
.routine-step p { margin: 0; }

.tip-list,
.checklist {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.tip-list li,
.checklist li {
  position: relative;
  padding: 16px 0 16px 38px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.tip-list li::before,
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 15px;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--forest);
  font-size: 14px;
  font-weight: 900;
}

.callout {
  padding: clamp(26px, 4vw, 42px);
  border-left: 5px solid var(--amber);
  color: var(--forest-deep);
  background: #f0ead7;
  font-family: var(--heading);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 850;
  line-height: 1.35;
}

.related { padding: 58px 0; border-bottom: 1px solid var(--line); background: var(--paper-bright); }
.related h2 { margin: 0 0 18px; font-family: var(--heading); font-size: 1.65rem; }
.related-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.related-links .idea-link { min-height: 76px; }

.breadcrumbs { margin: 0 0 24px; color: var(--muted); font-size: 14px; }
.breadcrumbs a { color: var(--forest); font-weight: 700; }

.legal-page {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) 0;
}

.legal-page h1 { font-size: clamp(2.7rem, 6vw, 5rem); }
.legal-page h2 { margin-top: 48px; font-size: clamp(1.6rem, 3vw, 2.35rem); }
.legal-page h3 { margin-top: 34px; font-family: var(--heading); }
.legal-page p,
.legal-page li { color: var(--muted); }
.legal-page .lead { max-width: var(--measure); font-size: 1.2rem; }
.legal-page section { padding-top: 4px; }
.legal-page a { color: var(--forest); font-weight: 750; }
.legal-page .contact-link { display: inline-block; margin-top: 10px; font-size: 1.2rem; }
.legal-page .notice { margin: 34px 0; padding: 24px; border-left: 4px solid var(--forest); background: var(--paper-deep); }

.has-reveal [data-reveal] {
  opacity: 1;
  transform: translateY(8px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.has-reveal [data-reveal][data-visible="true"] { opacity: 1; transform: none; }

@media (max-width: 1040px) {
  .site-nav { gap: 20px; }
  .site-nav .button { padding-inline: 14px; }
  .hero-grid,
  .article-hero-grid { grid-template-columns: 1fr 0.9fr; gap: 40px; }
  .phone-stage { min-height: 540px; }
  .phone-shell { border-radius: 46px; padding: 8px; }
  .phone-shell img { border-radius: 37px; }
  .privacy-grid { grid-template-columns: 0.9fr 0.75fr; }
  .privacy-rail { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .privacy-rail li { border-top: 1px solid var(--line-dark); }
}

@media (max-width: 900px) {
  .hero-grid,
  .article-hero-grid,
  .split,
  .content-grid,
  .ideas-layout,
  .faq-layout { grid-template-columns: 1fr; }
  .hero-copy,
  .article-hero .hero-copy { max-width: 720px; }
  .phone-stage { width: min(620px, 100%); min-height: 650px; margin: 16px auto 0; }
  .article-hero .phone-stage { min-height: 620px; }
  .step-rail,
  .routine-grid { gap: 20px; }
  .device-duo { width: min(620px, 100%); margin-inline: auto; }
  .privacy-grid { grid-template-columns: 1fr 0.8fr; }
  .ideas-list { column-gap: 28px; }
  .footer-grid { grid-template-columns: 1fr auto; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .container,
  .narrow,
  .legal-page { width: min(100% - 32px, var(--content)); }
  .header-inner { min-height: 76px; }
  .brand { font-size: 21px; }
  .brand img { width: 46px; height: 46px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 1px);
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 0 0 18px 18px;
    background: var(--paper-bright);
    box-shadow: var(--shadow-soft);
  }
  .site-nav[data-open="true"] { display: flex; }
  .site-nav a:not(.button) { padding: 16px 12px; border-bottom: 1px solid var(--line); }
  .site-nav .button { margin-top: 10px; }
  .hero { padding: 52px 0 76px; }
  .hero h1,
  .article-hero h1 { font-size: clamp(3.25rem, 15vw, 5.5rem); }
  .hero .lead,
  .article-hero .lead { margin-top: 24px; font-size: 1.1rem; }
  .phone-stage { min-height: 560px; }
  .phone-shell--front { left: 4%; }
  .phone-shell--rear { right: -2%; }
  .phone-stage .paper-note { right: 0; width: 125px; font-size: 16px; }
  .step-rail,
  .routine-grid,
  .privacy-rail,
  .related-links { grid-template-columns: 1fr; }
  .step { grid-template-columns: 44px 1fr; }
  .device-duo { min-height: 600px; }
  .privacy-grid { grid-template-columns: 1fr; }
  .privacy-band .phone-shell { max-width: 290px; }
  .ideas-list { grid-template-columns: 1fr; }
  .cta-grid { grid-template-columns: auto 1fr; }
  .cta-action { grid-column: 1 / -1; }
  .cta-action .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-brand { grid-column: auto; }
  .copyright { white-space: normal; }
  .content-section { padding-block: 72px; }
  .content-grid { gap: 32px; }
}

@media (max-width: 520px) {
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { align-self: center; }
  .phone-stage { min-height: 540px; }
  .phone-shell { width: 74%; }
  .phone-shell--front { left: 0; }
  .phone-shell--rear { right: -4%; top: 75px; opacity: 0.88; transform: scale(0.76); transform-origin: top right; }
  .phone-stage .paper-note { bottom: 10px; }
  .device-duo { min-height: 510px; }
  .device-duo .phone-shell { width: 68%; }
  .device-duo .phone-shell:last-child { top: 70px; }
  .article-hero .phone-stage { min-height: 570px; }
  .article-hero .phone-shell { width: 80%; }
  .article-hero .paper-note { bottom: 25px; }
  .cta-grid { grid-template-columns: 1fr; text-align: left; }
  .cta-icon { width: 82px; height: 82px; }
  .footer-nav { display: grid; grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .has-reveal [data-reveal] { opacity: 1; transform: none; }
}
