:root {
  --bg: #F3F5F1;
  --surface: #FFFFFF;
  --line: #DDE4DB;
  --ink: #3F3534;
  --ink-soft: #685C5B;
  --muted: #6A605F;
  --green: #66BB6A;
  --green-text: #2B6B30;
  --green-tint: #E7F3E7;
  --radius: 22px;
  --max: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121512;
    --surface: #1B1F1B;
    --line: #2A302A;
    --ink: #EDE6E5;
    --ink-soft: #D8CFCE;
    --muted: #B5ACAB;
    --green: #7CCB80;
    --green-text: #8FD493;
    --green-tint: #1F2B1F;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Karla, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
}
a { color: var(--green-text); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 {
  font-family: Quicksand, Karla, system-ui, sans-serif;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(34px, 6vw, 56px); margin: 0 0 16px; }
h2 { font-size: clamp(24px, 3.4vw, 30px); margin: 48px 0 12px; }
h3 { font-size: 20px; margin: 0 0 6px; }
p { margin: 0 0 16px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* Header */
.site-header { padding: 22px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 40px; width: auto; display: block; }
.nav { display: flex; gap: 20px; flex-wrap: wrap; font-weight: 700; font-size: 16px; }
.nav a { color: var(--ink-soft); text-decoration: none; padding: 10px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--green-text); }

/* Home */
.hero { padding-top: 48px; padding-bottom: 32px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hero p.lead { font-size: 21px; color: var(--ink-soft); max-width: 560px; }
.pill { display: inline-block; background: var(--green-tint); color: var(--green-text); font-weight: 700; font-size: 15px; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.hero-art { background: var(--surface); border: 1px solid var(--line); border-radius: 32px; padding: 28px; }
.chat { display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.bubble { max-width: 82%; padding: 10px 14px; border-radius: 18px; }
.bubble.them { background: var(--bg); align-self: flex-start; border-bottom-left-radius: 6px; }
.bubble.me { background: var(--green-tint); align-self: flex-end; border-bottom-right-radius: 6px; }
.chat-note { font-size: 14px; color: var(--muted); text-align: center; margin-top: 8px; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-top: 24px; padding-bottom: 56px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { color: var(--ink-soft); margin: 0; font-size: 17px; }
.story { background: var(--surface); border: 1px solid var(--line); border-radius: 32px; padding: 36px; margin-bottom: 56px; }
.story p { color: var(--ink-soft); max-width: 720px; }

/* Text pages */
.page { padding-top: 24px; padding-bottom: 64px; }
.page .updated { color: var(--muted); font-size: 16px; margin-bottom: 32px; }
.page ul { padding-left: 22px; margin: 0 0 16px; }
.page li { margin-bottom: 8px; }
.page table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 16px; }
.page th, .page td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.page th { color: var(--ink); }
.table-scroll { overflow-x: auto; }
.callout { background: var(--green-tint); border-radius: 16px; padding: 18px 20px; margin: 0 0 24px; }
.callout p:last-child { margin: 0; }
.faq h3 { margin-top: 28px; }
.button { display: inline-block; background: var(--green-text); color: #FFFFFF; font-weight: 700; text-decoration: none; padding: 12px 22px; border-radius: 999px; min-height: 44px; }
@media (prefers-color-scheme: dark) { .button { color: #121512; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 15px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

@media (max-width: 820px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 24px; }
  .features { grid-template-columns: minmax(0, 1fr); }
  .story { padding: 24px; }
  body { font-size: 17px; }
}

/* ---------- Landing page ---------- */
:root { --app-bg: #E6EBE3; --amber-tint: #FBEFD9; --amber-ink: #7A5C00; }
@media (prefers-color-scheme: dark) { :root { --app-bg: #1A1F1A; --amber-tint: #2E2717; --amber-ink: #F2C96B; } }

.nav .nav-cta { background: var(--green-text); color: #FFFFFF; padding: 10px 18px; border-radius: 999px; }
.nav .nav-cta:hover { color: #FFFFFF; opacity: 0.92; }
@media (prefers-color-scheme: dark) { .nav .nav-cta, .nav .nav-cta:hover { color: #121512; } }

.l-hero { background: var(--app-bg); border-radius: 0 0 48px 48px; overflow: hidden; }
.l-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; padding-top: 40px; padding-bottom: 0; min-height: 640px; }
.l-hero-copy { padding-bottom: 72px; }
.l-hero h1 { font-size: clamp(40px, 6vw, 68px); letter-spacing: -0.025em; margin-bottom: 20px; }
.l-hero h1 em { font-style: normal; color: var(--green-text); }
.l-hero .lead { font-size: 21px; color: var(--ink-soft); max-width: 520px; margin-bottom: 28px; }
.badges { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 20px 8px 16px; border-radius: 16px; background: var(--ink); color: var(--bg); text-decoration: none; line-height: 1.15; }
.badge svg { width: 22px; height: 22px; flex: none; }
.badge small { display: block; font-size: 12px; opacity: 0.8; }
.badge strong { display: block; font-size: 17px; }
.badge-note { font-size: 15px; color: var(--muted); }

.l-hero-art { position: relative; height: 640px; }
.phone { position: absolute; width: 300px; aspect-ratio: 390 / 844; border-radius: 50px; background: #121412; padding: 11px; box-shadow: 0 30px 60px rgba(38, 44, 38, 0.22), 0 8px 20px rgba(38, 44, 38, 0.12); }
.phone::before { content: ""; position: absolute; top: 22px; left: 50%; width: 88px; height: 26px; margin-left: -44px; border-radius: 13px; background: #121412; z-index: 2; }
.phone img { display: block; width: 100%; height: 100%; border-radius: 40px; object-fit: cover; object-position: top; }
.phone-back { left: 4%; top: 120px; transform: rotate(-7deg); opacity: 0.98; }
.phone-front { right: 6%; top: 56px; z-index: 2; }
.float-chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 10px 14px; box-shadow: 0 12px 30px rgba(38, 44, 38, 0.16); font-size: 15px; line-height: 1.3; max-width: 250px; }
.float-chip b { display: block; color: var(--ink); }
.float-chip span.sub { color: var(--muted); font-size: 13px; }
.chip-1 { left: 0; top: 70px; }
.chip-2 { right: 0; bottom: 120px; }
.avatar { width: 30px; height: 30px; flex: none; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
.av-am { background: #FFB066; color: #6B3A00; }
.av-jj { background: #7CC4F2; color: #0F3F5E; }
.av-dr { background: #D59CF0; color: #4B1D63; }
.check { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--green); color: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; }

/* Problem */
.l-problem { padding-top: 96px; padding-bottom: 40px; text-align: center; }
.eyebrow { display: inline-block; font-family: Quicksand, Karla, sans-serif; font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-text); margin-bottom: 14px; }
.l-problem h2 { font-size: clamp(30px, 4.4vw, 46px); margin: 0 auto 18px; max-width: 760px; }
.l-problem p { color: var(--ink-soft); max-width: 620px; margin: 0 auto; font-size: 20px; }
.texts { display: flex; flex-direction: column; gap: 10px; max-width: 420px; margin: 40px auto 0; text-align: left; font-size: 17px; }
.texts .bubble { box-shadow: 0 1px 2px rgba(38,44,38,0.06); }
.texts .bubble.them { background: var(--surface); }

/* Feature rows */
.l-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.l-row + .l-row { border-top: 1px solid var(--line); }
.l-row h2 { font-size: clamp(28px, 3.8vw, 40px); margin: 0 0 16px; }
.l-row p { color: var(--ink-soft); font-size: 19px; }
.l-row ul { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 12px; }
.l-row li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.l-row li svg { flex: none; margin-top: 4px; color: var(--green-text); }
.l-row.flip .l-row-art { order: -1; }
.l-row-art { display: flex; justify-content: center; }
.stage { position: relative; width: 100%; max-width: 460px; aspect-ratio: 1 / 1.08; border-radius: 40px; background: var(--app-bg); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.stage.amber { background: var(--amber-tint); }
.stage .phone { position: relative; width: 290px; margin-bottom: -120px; box-shadow: 0 24px 50px rgba(38, 44, 38, 0.2); }

/* Card grid */
.l-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-top: 24px; padding-bottom: 88px; }
.l-card { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; }
.l-card-art { height: 230px; background: var(--app-bg); display: flex; justify-content: center; align-items: flex-start; overflow: hidden; padding-top: 28px; }
.l-card-art.dark { background: #0E110E; }
.l-card-art .phone { position: relative; width: 230px; box-shadow: 0 16px 36px rgba(0,0,0,0.22); }
.l-card-art .glyph { margin-top: 40px; width: 120px; height: 120px; border-radius: 32px; background: var(--surface); display: flex; align-items: center; justify-content: center; color: var(--green-text); box-shadow: 0 10px 28px rgba(38,44,38,0.12); }
.l-card-body { padding: 24px 24px 28px; }
.l-card-body h3 { font-size: 22px; margin-bottom: 8px; }
.l-card-body p { color: var(--ink-soft); margin: 0; font-size: 17px; }

/* Pricing strip */
.l-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding-bottom: 88px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 28px; }
.plan.premium { border: 2px solid var(--green); }
.plan h3 { font-size: 24px; margin-bottom: 6px; }
.plan .plan-sub { color: var(--muted); margin-bottom: 18px; }
.plan ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.plan li { display: flex; gap: 10px; color: var(--ink-soft); }
.plan li svg { flex: none; margin-top: 5px; color: var(--green-text); }

/* Story */
.l-story { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 40px; padding: 56px; margin-bottom: 88px; overflow: hidden; }
.l-story h2 { margin-top: 0; font-size: clamp(28px, 3.8vw, 40px); }
.l-story p { color: var(--ink-soft); font-size: 19px; }
.l-story .sign { font-family: Quicksand, Karla, sans-serif; font-weight: 700; color: var(--ink); margin-top: 20px; }
.l-story-art { position: relative; height: 380px; }
.l-story-art .phone { width: 250px; left: 50%; margin-left: -125px; top: 0; }

/* CTA band */
.l-cta { background: var(--green-text); color: #FFFFFF; border-radius: 40px; padding: 64px 32px; text-align: center; margin-bottom: 72px; }
.l-cta h2 { color: #FFFFFF; margin: 0 0 14px; font-size: clamp(30px, 4.4vw, 46px); }
.l-cta p { color: rgba(255,255,255,0.88); font-size: 20px; max-width: 560px; margin: 0 auto 28px; }
.l-cta .badges { justify-content: center; }
.l-cta .badge { background: #FFFFFF; color: #1E3A20; }
@media (prefers-color-scheme: dark) {
  .l-cta { background: #1F3A21; }
  .l-cta .badge { background: #EDE6E5; color: #121512; }
}

@media (max-width: 900px) {
  .l-hero-inner { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 16px; }
  .l-hero-copy { padding-bottom: 8px; }
  .l-hero-art { height: 500px; }
  .phone-front { width: 240px; right: 50%; margin-right: -150px; top: 24px; }
  .phone-back { width: 220px; left: 50%; margin-left: -170px; top: 80px; }
  .chip-1 { left: 0; top: 10px; }
  .chip-2 { right: 0; bottom: 40px; }
  .l-row { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 56px; padding-bottom: 56px; }
  .l-row.flip .l-row-art { order: 0; }
  .l-cards { grid-template-columns: minmax(0, 1fr); }
  .l-plans { grid-template-columns: minmax(0, 1fr); }
  .l-story { grid-template-columns: minmax(0, 1fr); padding: 32px 24px; }
  .l-story-art { height: 300px; }
  .l-story-art .phone { width: 210px; margin-left: -105px; }
  .l-cta { padding: 48px 20px; border-radius: 32px; }
  .l-problem { padding-top: 64px; }
}
@media (max-width: 420px) {
  .l-hero-art { height: 440px; }
  .phone-front { width: 210px; margin-right: -125px; }
  .phone-back { width: 190px; margin-left: -150px; top: 70px; }
  .float-chip { font-size: 14px; max-width: 210px; padding: 8px 12px; }
  .stage .phone { width: 240px; margin-bottom: -100px; }
}
@media (max-width: 480px) {
  .nav a[href="#features"] { display: none; }
  .site-header .wrap { flex-wrap: nowrap; }
}

/* ---------- Full, centered phones (overrides) ---------- */
.l-hero-inner { min-height: 0; padding-bottom: 56px; }
.l-hero-copy { padding-bottom: 0; }
.l-hero-art { height: 700px; }
.phone-front { width: 300px; right: 4%; top: 20px; }
.phone-back { width: 262px; left: 2%; top: 92px; transform: rotate(-6deg); }
.chip-1 { left: -2%; top: 40px; }
.chip-2 { right: -2%; bottom: 60px; }

.stage { aspect-ratio: auto; align-items: center; padding: 44px 24px; }
.stage .phone { width: 270px; margin-bottom: 0; }

.l-card-art { height: auto; align-items: center; padding: 28px 0; }
.l-card-art .phone { width: 150px; border-radius: 28px; padding: 6px; }
.l-card-art .phone img { border-radius: 23px; }
.l-card-art .phone::before { top: 12px; width: 44px; height: 13px; margin-left: -22px; border-radius: 7px; }
.l-card-art .glyph { margin: 0; width: 150px; height: 324px; border-radius: 28px; flex-direction: column; gap: 14px; }
.l-card-art .glyph span { font-family: Quicksand, Karla, sans-serif; font-weight: 700; font-size: 15px; color: var(--ink-soft); text-align: center; padding: 0 12px; }

.l-story-art { height: auto; display: flex; justify-content: center; }
.l-story-art .phone { position: relative; left: auto; margin-left: 0; width: 250px; }

@media (max-width: 900px) {
  .l-hero-inner { padding-bottom: 40px; }
  .l-hero-art { height: 540px; }
  .phone-front { width: 230px; right: 50%; margin-right: -150px; top: 30px; }
  .phone-back { width: 200px; left: 50%; margin-left: -165px; top: 80px; }
  .chip-1 { left: 0; top: 0; }
  .chip-2 { right: 0; bottom: 0; }
  .stage { padding: 36px 20px; }
  .stage .phone { width: 240px; }
  .l-story-art .phone { width: 220px; }
}
@media (max-width: 420px) {
  .l-hero-art { height: 500px; }
  .phone-front { width: 205px; margin-right: -130px; top: 34px; }
  .phone-back { width: 180px; margin-left: -148px; top: 80px; }
  .stage .phone { width: 220px; margin-bottom: 0; }
}
.l-card-art.dark .phone { box-shadow: 0 0 0 1px #3A413A, 0 16px 36px rgba(0,0,0,0.4); }
@media (max-width: 900px) {
  .l-hero-art { height: 600px; }
  .phone-front { top: 96px; }
  .phone-back { top: 140px; }
}
@media (max-width: 420px) {
  .l-hero-art { height: 560px; }
  .phone-front { top: 100px; }
  .phone-back { top: 140px; }
}

.badge { transition: transform 0.15s ease; }
.badge:hover { transform: translateY(-1px); }
.badge:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.l-hero .badges { margin-top: 4px; }

/* ---------- FAQ ---------- */
.l-faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; padding-bottom: 88px; }
.l-faq h2 { margin: 0 0 14px; font-size: clamp(28px, 3.8vw, 40px); }
.l-faq-intro p { color: var(--ink-soft); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 4px; font-family: Quicksand, Karla, sans-serif; font-weight: 700; font-size: 19px; color: var(--ink); min-height: 44px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 8px; }
.faq-list .plus { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--green-tint); color: var(--green-text); display: inline-flex; align-items: center; justify-content: center; transition: transform 0.2s ease; }
.faq-list details[open] .plus { transform: rotate(45deg); }
.faq-list details p { margin: 0 4px 22px; color: var(--ink-soft); max-width: 620px; }
@media (max-width: 900px) { .l-faq { grid-template-columns: minmax(0, 1fr); gap: 16px; } }

/* ---------- Motion (only when the visitor hasn't asked for reduced motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
  @keyframes rise-tilt { from { opacity: 0; transform: translateY(40px) rotate(-6deg); } to { opacity: 0.98; transform: rotate(-6deg); } }
  @keyframes pop { 0% { opacity: 0; transform: translateY(10px) scale(0.92); } 100% { opacity: 1; transform: none; } }
  @keyframes draw { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }
  .phone-front { animation: rise 0.9s cubic-bezier(.2,.7,.2,1) both; }
  .phone-back { animation: rise-tilt 0.9s cubic-bezier(.2,.7,.2,1) 0.12s both; }
  .chip-1 { animation: pop 0.5s cubic-bezier(.2,.8,.3,1.2) 0.8s both; }
  .chip-2 { animation: pop 0.5s cubic-bezier(.2,.8,.3,1.2) 1.5s both; }
  .chip-2 .check path { stroke-dasharray: 24; animation: draw 0.4s ease-out 1.85s both; }
  .js-anim [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.7,.2,1); }
  .js-anim [data-reveal].is-in { opacity: 1; transform: none; }
}
/* chip placement and CTA note alignment */
.chip-1 { left: -6%; top: 330px; }
@media (max-width: 900px) { .chip-1 { left: 0; top: 0; } }
@media (max-width: 480px) {
  .nav:has(.nav-cta) a:not(.nav-cta) { display: none; }
  .nav .nav-cta { padding: 9px 16px; font-size: 15px; }
}
