:root {
  --bg: #fbfaf7;
  --bg-alt: #f3f1ec;
  --surface: #ffffff;
  --text: #1c1b19;
  --muted: #66625a;
  --line: #e7e3da;
  --accent: #0f9d48;
  --accent-soft: #e6f6ec;
  --brand: #00c853;
  --brand-deep: #00a344;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111110;
    --bg-alt: #181816;
    --surface: #1d1d1b;
    --text: #efece6;
    --muted: #a39f96;
    --line: #2e2d2a;
    --accent: #34d67a;
    --accent-soft: #15291c;
  }
}
:root[data-theme="dark"] {
  --bg: #111110; --bg-alt: #181816; --surface: #1d1d1b; --text: #efece6;
  --muted: #a39f96; --line: #2e2d2a; --accent: #34d67a; --accent-soft: #15291c;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 var(--sans); overflow-x: hidden; }
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
main:not(.home) .wrap, .narrow { max-width: 760px; }
.center { text-align: center; }

/* ---------- Header ---------- */
header.site { border-bottom: 1px solid var(--line); background: var(--bg); position: relative; z-index: 5; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font: 600 21px/1 var(--serif); color: var(--text); text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.langs { display: flex; gap: 4px; font-size: 14px; }
.langs a, .langs span { padding: 5px 11px; border-radius: 999px; text-decoration: none; color: var(--muted); }
.langs a:hover { background: var(--accent-soft); }
.langs span { background: var(--accent-soft); color: var(--accent); font-weight: 600; }

header.on-hero { position: absolute; left: 0; right: 0; top: 0; background: transparent; border-bottom: 0; }
header.on-hero .brand { color: #fff; }
header.on-hero .langs a { color: rgba(255,255,255,.82); }
header.on-hero .langs a:hover { background: rgba(255,255,255,.14); }
header.on-hero .langs span { background: rgba(255,255,255,.22); color: #fff; }

/* ---------- Legal pages ---------- */
main:not(.home) { padding: 40px 0 64px; }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.22; }
main:not(.home) h1 { font-size: 38px; margin: 0 0 8px; letter-spacing: -0.01em; }
main:not(.home) h2 { font-size: 24px; margin: 40px 0 8px; }
main:not(.home) h3 { font-size: 19px; margin: 28px 0 4px; }
.updated { color: var(--muted); font-size: 15px; margin: 0 0 28px; }
.lead { font-size: 19px; color: var(--muted); }
ul, ol { padding-left: 22px; }
li { margin: 4px 0; }
.table-scroll { overflow-x: auto; margin: 16px 0; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { font-weight: 600; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin: 16px 0; }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.path { font-weight: 600; }

/* ---------- Store badge ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 20px 10px 16px; border-radius: 14px;
  background: #000; color: #fff; text-decoration: none; line-height: 1.1;
  font: 600 21px/1.05 var(--sans); letter-spacing: -.01em;
}
.badge svg { width: 24px; height: 28px; }
.badge small { display: block; font-size: 11.5px; font-weight: 500; letter-spacing: 0; opacity: .85; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(255,255,255,.18), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(0,90,40,.35), transparent 60%),
    linear-gradient(160deg, #00d25a 0%, var(--brand) 45%, #00a847 100%);
  padding: 120px 0 0;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero-copy { padding-bottom: 96px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 700; margin: 0 0 14px; opacity: .9; }
.eyebrow.dark { color: var(--accent); opacity: 1; text-align: center; }
.hero h1 { font-size: clamp(40px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -.02em; margin: 0 0 20px; }
.hero-sub { font-size: 19px; line-height: 1.6; max-width: 540px; margin: 0 0 30px; color: rgba(255,255,255,.93); }
.hero-cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.link-light { color: #fff; font-weight: 600; text-decoration: none; border-bottom: 2px solid rgba(255,255,255,.5); padding-bottom: 2px; }
.link-light:hover { border-color: #fff; }
.hero-points { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; font-weight: 500; }
.hero-points li { margin: 0; display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: rgba(255,255,255,.25) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }

.hero-phones { position: relative; height: 600px; align-self: end; }
.hero-phones .phone { position: absolute; bottom: -70px; }
.phone-front { right: 12%; z-index: 2; }
.phone-back { right: 46%; bottom: -30px !important; transform: rotate(-7deg); opacity: .96; }

/* ---------- Phone mockup ---------- */
.phone {
  width: 272px; aspect-ratio: 9 / 19.4;
  background: #0d0d0d; border-radius: 46px; padding: 9px;
  box-shadow: 0 0 0 1.5px #3a3a3a inset, 0 30px 60px -12px rgba(0,0,0,.35), 0 18px 36px -18px rgba(0,0,0,.4);
}
.screen {
  position: relative; height: 100%; overflow: hidden; border-radius: 38px;
  background: #f2f2f7; color: #000; padding: 0 14px;
  font: 11px/1.35 -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  text-align: left;
}
.screen::before { content: ""; position: absolute; top: 9px; left: 50%; width: 76px; height: 22px; margin-left: -38px; background: #000; border-radius: 12px; }
.sb { display: flex; justify-content: space-between; align-items: center; height: 40px; padding: 0 10px 0 16px; font-weight: 600; font-size: 12px; }
.sb-r { width: 38px; height: 10px; background:
  radial-gradient(circle at 3px 7px, #000 2px, transparent 2.5px),
  linear-gradient(#000,#000) 30px 2px/18px 9px no-repeat; border-radius: 2px; }
.scr-title { font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin: 8px 2px 2px; }
.scr-date { text-align: center; color: #8a8a8e; font-weight: 600; font-size: 11px; margin: 4px 0 8px; }
.scr-head { display: flex; align-items: center; gap: 10px; font-size: 15px; margin: 8px 0 12px; }
.scr-head::before { content: "✕"; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.12); font-size: 11px; font-weight: 600; }
.days { display: flex; gap: 5px; justify-content: center; margin-bottom: 8px; }
.days span { width: 38px; padding: 5px 0; border-radius: 16px; border: 1px solid #dcdce0; text-align: center; font-weight: 700; font-size: 14px; line-height: 1.1; }
.days em { display: block; font-style: normal; font-weight: 500; font-size: 9.5px; color: #8a8a8e; }
.days .on { background: #e5e5ea; }
.days .on em { color: var(--brand); font-weight: 700; }
.saint { font-weight: 600; font-size: 10.5px; margin: 0 2px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.saint small { color: #8a8a8e; font-weight: 500; }
.list { background: #fff; border-radius: 16px; overflow: hidden; }
.row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-bottom: 1px solid #efeff2; }
.row:last-child { border-bottom: 0; }
.row b { display: block; font-size: 11.5px; font-weight: 600; }
.row small { color: #8a8a8e; font-size: 10px; }
.row > div { min-width: 0; flex: 1; }
.row > div b, .row > div small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row.done b::after { content: " ✓"; color: var(--brand); }
.ic { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #dff7e8; color: var(--brand); font-style: normal; }
.ic svg { width: 17px; height: 17px; }
.ic.abbr { border-radius: 9px; font-weight: 700; font-size: 11px; }
.tabbar { position: absolute; left: 10px; right: 10px; bottom: 12px; display: flex; justify-content: space-around; padding: 9px 6px; background: rgba(255,255,255,.9); border-radius: 22px; box-shadow: 0 2px 10px rgba(0,0,0,.08); font-size: 9.5px; font-weight: 600; }
.tabbar .on { color: var(--brand); }
.seg { display: flex; gap: 4px; margin-bottom: 6px; }
.seg i { flex: 1; height: 3px; border-radius: 2px; background: #dedee3; }
.seg i.on { background: var(--brand); }
.scr-cap { color: #8a8a8e; font-weight: 600; font-size: 10px; margin: 0 0 10px; }
.scr-ref { font-size: 22px; font-weight: 800; margin: 0 0 10px; }
.scr-card { background: #fff; border-radius: 16px; padding: 12px 13px; margin-bottom: 10px; }
.scr-card small { color: #8a8a8e; font-weight: 600; font-size: 9.5px; }
.scr-card p { margin: 4px 0 0; }
.scr-card.quote p, .serif { font: italic 15px/1.35 var(--serif); }
.scr-card .serif { font-style: normal; font-size: 13.5px; line-height: 1.45; margin: 0; }
.scr-card.action { background: #dff7e8; }
.scr-card.action p { font-weight: 600; font-size: 11.5px; }
.scr-muted { color: #8a8a8e; font-size: 11px; margin: 0 0 12px; }
.scr-muted.small { font-size: 10.5px; text-align: center; margin: 2px 0 0; }
.scr-btn { position: absolute; left: 14px; right: 14px; bottom: 22px; text-align: center; padding: 11px; border-radius: 22px; background: var(--brand); color: #fff; font-weight: 700; font-size: 12.5px; }
.scr-btn.ghost { background: #fff; color: var(--brand-deep); border: 1px solid #dcdce0; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin: 8px 0 12px; }
.stat { background: #fff; border-radius: 14px; padding: 8px 10px; }
.stat small { color: #8a8a8e; font-size: 9.5px; font-weight: 600; display: block; }
.stat b { font-size: 21px; font-weight: 800; }
.bar { height: 4px; background: #e8e8ec; border-radius: 3px; margin-top: 4px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--brand); border-radius: 3px; }
.sub-head { font-size: 14px; font-weight: 800; margin: 12px 2px 6px; }
.screen.center { text-align: center; }
.screen.center .scr-head { justify-content: flex-start; text-align: left; }
.beads { width: 200px; height: 200px; margin: 6px auto 4px; display: block; }
.beads circle { fill: #d9d9de; }
.beads circle.done { fill: var(--brand); }
.beads circle.now { fill: #fff; stroke: var(--brand); stroke-width: 3; }
.beads .cross { stroke: #c7c7cc; stroke-width: 4; stroke-linecap: round; fill: none; }
.bead-now { font-size: 20px; font-weight: 800; margin: 10px 0 2px; }
.tap { position: absolute; left: 0; right: 0; bottom: 26px; color: #8a8a8e; font-size: 10.5px; margin: 0; }
.scr-card.prog { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2px; background: #e5e5ea; }
.scr-card.prog b { font-size: 11px; }
.scr-card.prog span { color: var(--brand-deep); font-weight: 700; font-size: 10.5px; }
.scr-card.prog .bar { flex-basis: 100%; background: #d4d4d9; }
.pill { display: flex; background: #e5e5ea; border-radius: 16px; padding: 3px; margin-bottom: 4px; font-weight: 600; font-size: 11px; }
.pill span { flex: 1; text-align: center; padding: 6px; border-radius: 13px; color: #8a8a8e; }
.pill .on { background: #fff; color: #000; box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.screen.chat { display: flex; flex-direction: column; gap: 8px; }
.screen.chat .scr-head { margin-bottom: 4px; }
.bubble { max-width: 84%; padding: 8px 11px; border-radius: 16px; font-size: 11px; line-height: 1.42; }
.bubble.me { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 5px; }
.bubble.ai { align-self: flex-start; background: #fff; border-bottom-left-radius: 5px; }
.bubble.serif { font: italic 12.5px/1.45 var(--serif); }
.input { position: absolute; left: 12px; right: 12px; bottom: 20px; padding: 10px 14px; border-radius: 20px; background: #fff; color: #a4a4aa; border: 1px solid #e2e2e6; }

/* ---------- Story ---------- */
.story { padding: 88px 0 72px; text-align: center; background: var(--bg); }
.verse { font: italic clamp(22px, 2.6vw, 28px)/1.45 var(--serif); margin: 0 0 36px; color: var(--text); }
.story h2 { font-size: 15px; font-family: var(--sans); text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin: 0 0 10px; }
.story p:last-child { font-size: 18px; color: var(--muted); margin: 0; }

/* ---------- Features ---------- */
.features-sec { padding: 40px 0 40px; background: var(--bg); }
.sec-title { font-size: clamp(30px, 3.6vw, 42px); text-align: center; margin: 0 auto 48px; max-width: 760px; letter-spacing: -.01em; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.feature.flip .feature-copy { order: 2; }
.feature-phone { display: flex; justify-content: center; position: relative; }
.feature-phone::before { content: ""; position: absolute; width: 380px; height: 380px; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%); }
.feature-phone .phone { position: relative; }
.tag { display: inline-block; font-size: 13px; font-weight: 700; color: var(--accent); background: var(--accent-soft); padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }
.feature h3 { font-size: clamp(28px, 3vw, 36px); margin: 0 0 14px; letter-spacing: -.01em; }
.feature-copy > p { color: var(--muted); font-size: 18px; margin: 0 0 18px; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 30px; margin: 10px 0; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f9d48' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }
.steps { padding: 0; margin: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding-left: 40px; margin: 12px 0; }
.steps li::before { content: counter(s, upper-roman); position: absolute; left: 0; top: 0; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; font: 700 12px var(--serif); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 15px; font-weight: 500; }
.note { font-size: 15px !important; border-left: 3px solid var(--accent); padding-left: 14px; }

/* ---------- More ---------- */
.more { padding: 88px 0; background: var(--bg-alt); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.tile .ic { width: 44px; height: 44px; background: var(--accent-soft); color: var(--accent); }
.tile .ic svg { width: 22px; height: 22px; }
.tile h4 { font-size: 20px; margin: 16px 0 6px; }
.tile p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------- Pricing ---------- */
.pricing { padding: 88px 0; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 860px; margin: 0 auto; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 30px; }
.plan h3 { font-size: 26px; margin: 0; }
.plan .price { color: var(--muted); margin: 4px 0 18px; font-weight: 500; }
.plan.featured { background: linear-gradient(160deg, #00d25a, #00a847); color: #fff; border: 0; }
.plan.featured .price { color: rgba(255,255,255,.85); }
.plan.featured .checks li::before { background-color: rgba(255,255,255,.25); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }

/* ---------- FAQ ---------- */
.faq { padding: 40px 0 88px; }
.faq .sec-title { margin-bottom: 28px; }
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
summary { cursor: pointer; list-style: none; padding: 16px 36px 16px 0; font-weight: 600; font-size: 18px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 26px; font-weight: 300; color: var(--accent); }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 18px; color: var(--muted); }
.faq-more { margin-top: 28px; color: var(--muted); text-align: center; }

/* ---------- Final CTA ---------- */
.final { padding: 88px 0; background: var(--bg-alt); }
.final img { border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,.15); }
.final h2 { font-size: clamp(30px, 3.6vw, 42px); margin: 20px 0 8px; }
.final p { color: var(--muted); font-size: 18px; margin: 0 0 28px; }

/* ---------- Footer ---------- */
footer.site { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 14px; color: var(--muted); }
footer.site nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 12px; }
footer.site nav a { color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { padding-top: 104px; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding-bottom: 36px; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-points { justify-content: center; }
  .hero-phones { height: 470px; }
  .hero-phones .phone { bottom: -150px; }
  .phone-front { right: auto; left: 50%; margin-left: -60px; }
  .phone-back { right: auto; left: 50%; margin-left: -230px; bottom: -120px !important; }
  .feature { grid-template-columns: 1fr; gap: 36px; padding: 48px 0; }
  .feature.flip .feature-copy { order: 0; }
  .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  main:not(.home) h1 { font-size: 30px; }
  .phone { width: 240px; border-radius: 40px; }
  .screen { border-radius: 32px; font-size: 10px; padding: 0 11px; }
  .days span { width: 33px; font-size: 12px; }
  .scr-title { font-size: 21px; }
  .phone-front { margin-left: -40px; }
  .phone-back { margin-left: -200px; }
  .hero-phones { height: 420px; }
  .grid, .plans { grid-template-columns: 1fr; }
  .feature-phone::before { width: 300px; height: 300px; }
  header.on-hero .wrap { justify-content: center; padding-top: 6px; }
}
