@font-face { font-family: "Jakarta"; src: url(fonts/PlusJakartaSans_500Medium.woff2) format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url(fonts/PlusJakartaSans_600SemiBold.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url(fonts/PlusJakartaSans_700Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url(fonts/PlusJakartaSans_800ExtraBold.woff2) format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --bg: #FBFBF7; --white: #FFFFFF; --ink: #0F1B33; --text: #2A3045; --muted: #5A6072;
  --line: #E7E9E1; --lime: #9BCB1A; --lime-strong: #557F0B; --lime-soft: #EFF6E4; --lime-wash: #F4F8EC;
  --sans: "Jakarta", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --shadow: 0 24px 60px rgba(20, 27, 52, .10);
  --max: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.55; font-weight: 500; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--lime-strong); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }

h1, h2, h3 { color: var(--ink); margin: 0; font-weight: 800; letter-spacing: -0.025em; }
h1 { font-size: clamp(40px, 3.95vw, 58px); line-height: 1.07; }
@media (min-width: 1041px) { .hero h1 .line { white-space: nowrap; } }
h2 { font-size: clamp(32px, 3.8vw, 46px); line-height: 1.08; }
h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.015em; font-weight: 700; }
p { margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.eyebrow::before { content: ""; width: 44px; height: 3px; border-radius: 3px; background: var(--lime); }
.lede { font-size: 20px; color: var(--text); max-width: 31em; line-height: 1.5; }
.muted { color: var(--muted); }
.squiggle { position: relative; white-space: nowrap; }
.squiggle svg { position: absolute; left: 0; bottom: -0.2em; width: 100%; height: .32em; overflow: visible; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(251, 251, 247, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 26px; letter-spacing: -0.03em; color: var(--ink); text-decoration: none; }
.brand svg { width: 40px; height: 40px; flex: none; }
.nav nav { margin: 0 auto; }
.nav ul { display: flex; gap: 36px; list-style: none; margin: 0; padding: 0; }
.nav ul a { text-decoration: none; font-size: 17px; font-weight: 600; color: var(--ink); }
.nav ul a:hover { color: var(--lime-strong); }
.nav .actions { display: flex; gap: 12px; }
@media (max-width: 1040px) { .nav nav { display: none; } .nav .actions { margin-left: auto; } }
@media (max-width: 520px) { .nav .wrap { gap: 12px; } .nav .btn-ghost { display: none; } .nav .btn { padding: 0 18px; font-size: 16px; min-height: 46px; } .brand { font-size: 22px; } .brand svg { width: 34px; height: 34px; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 17px; text-decoration: none; border: 1.5px solid transparent; transition: transform .15s ease, background .15s ease, border-color .15s ease; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-ink { background: var(--ink); color: var(--lime); }
.btn-ink:hover { background: #0B1024; }
.btn-ghost { background: transparent; color: var(--ink); border-color: #CFD3DC; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: #8AB916; }

/* Store badges (shown as "coming soon" until the apps are live) */
.stores { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.store { display: inline-flex; align-items: center; gap: 12px; height: 58px; padding: 0 20px 0 16px; border-radius: 12px; background: #0E0E10; color: #fff; text-decoration: none; }
.store svg { width: 30px; height: 30px; flex: none; }
.store small { display: block; font-size: 11px; line-height: 1.1; font-weight: 600; opacity: .85; }
.store b { display: block; font-size: 21px; line-height: 1.1; letter-spacing: -0.02em; }
.store[aria-disabled="true"] { cursor: default; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: 15px; color: var(--muted); list-style: none; padding: 0; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%230F1B33' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }

/* Hero */
.hero { padding: 48px 0 90px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.12fr .88fr; gap: 24px; align-items: center; }
.hero h1 { margin-top: 26px; }
.hero .lede { margin-top: 28px; }
.hero-art { position: relative; height: 640px; overflow: visible; }
.hero-art::after { content: none; }
.hero-art .blob { position: absolute; right: -22%; top: -4%; width: 96%; height: 80%; background: radial-gradient(120% 90% at 30% 30%, #E8F1D9, #DCEAC6 70%); border-radius: 62% 38% 46% 54% / 48% 40% 60% 52%; transform: rotate(-18deg); }
.hero-art .blob2 { position: absolute; z-index: 0; left: -12%; top: 30%; width: 46%; height: 52%; background: radial-gradient(120% 90% at 60% 40%, #EAF2DE, #E0ECCC 75%); border-radius: 46% 54% 40% 60% / 56% 44% 56% 44%; transform: rotate(24deg); }
.hero-art .p1 { position: absolute; left: 4%; top: 0; width: 300px; z-index: 3; filter: drop-shadow(0 34px 50px rgba(20, 27, 52, .28)); }
.hero-art .p2 { position: absolute; right: -10%; top: 70px; width: 262px; z-index: 2; filter: drop-shadow(0 26px 40px rgba(20, 27, 52, .22)); }
.hero-art .bowl { position: absolute; left: -14%; bottom: 6px; width: 270px; z-index: 4; filter: drop-shadow(0 22px 30px rgba(20, 27, 52, .22)); }
@media (max-width: 1040px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { height: 560px; max-width: 560px; margin: 8px auto 0; width: 100%; }
  .hero-art .p1 { left: 10%; width: 270px; }
  .hero-art .p2 { width: 230px; }
  .hero-art .bowl { left: -2%; width: 230px; }
}
@media (max-width: 560px) {
  .hero-art { height: 470px; overflow: hidden; }
  .hero-art .p1 { left: 2%; width: 225px; }
  .hero-art .p2 { right: -4%; top: 60px; width: 190px; }
  .hero-art .bowl { display: none; }
}

/* Feature strip */
.strip { padding: 28px 0 40px; }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip .item { display: flex; gap: 18px; padding: 6px 26px; border-left: 1px solid var(--line); }
.strip .item:first-child { border-left: 0; padding-left: 0; }
.strip svg { width: 44px; height: 44px; flex: none; color: var(--ink); }
.strip h3 { font-size: 21px; }
.strip p { margin-top: 8px; font-size: 16px; color: var(--muted); }
@media (max-width: 1040px) { .strip .wrap { grid-template-columns: 1fr 1fr; row-gap: 28px; } .strip .item:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 600px) { .strip .wrap { grid-template-columns: 1fr; } .strip .item { border-left: 0; padding-left: 0; } }

/* Journey panel */
.journey { margin: 8px 0 0; }
.journey .panel { background: linear-gradient(180deg, var(--lime-soft), var(--lime-wash)); border-radius: 36px; padding: 44px 52px; display: grid; grid-template-columns: .9fr 1fr 1fr 1fr; gap: 28px; align-items: center; }
.journey h2 { font-size: clamp(30px, 3vw, 40px); }
.journey .squiggle svg { bottom: -0.35em; width: 70%; }
.journey .point { display: flex; gap: 18px; align-items: flex-start; }
.journey .icon { width: 64px; height: 64px; flex: none; border-radius: 50%; background: var(--white); display: grid; place-items: center; box-shadow: 0 8px 20px rgba(20, 27, 52, .06); }
.journey .icon svg { width: 30px; height: 30px; color: var(--ink); }
.journey p { margin-top: 6px; font-size: 16px; color: var(--muted); }
@media (max-width: 1040px) { .journey .panel { grid-template-columns: 1fr; padding: 32px 26px; } }

section { padding: 104px 0; }
section.flush { padding-top: 0; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head h2 { margin-top: 18px; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 19px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; margin: 0; padding: 0; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: 28px; }
.step .n { width: 44px; height: 44px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; font-weight: 800; margin-bottom: 20px; }
.step p { margin-top: 8px; color: var(--muted); font-size: 16px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 44px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature.flip .copy { order: 2; }
.feature .tag { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lime-strong); }
.feature h3 { font-size: clamp(28px, 3vw, 38px); letter-spacing: -0.03em; font-weight: 800; margin-top: 10px; }
.feature .copy > p { margin-top: 14px; color: var(--muted); max-width: 30em; }
.feature ul { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.feature li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.feature li::before { content: ""; flex: 0 0 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%230F1B33' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/22px no-repeat; }
.feature .shot { display: flex; justify-content: center; background: var(--lime-soft); border-radius: 36px; padding: 40px 20px; }
.feature .shot img { width: min(290px, 68vw); filter: drop-shadow(0 26px 44px rgba(20, 27, 52, .2)); }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; gap: 28px; } .feature.flip .copy { order: 0; } }

/* Safety */
.safety { background: var(--ink); color: #fff; border-radius: 40px; padding: 60px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 52px; }
.safety .eyebrow { color: #fff; }
.safety h2 { color: #fff; margin-top: 18px; }
.safety h2 span { color: var(--lime); }
.safety p { color: #C9CDDB; margin-top: 18px; }
.rules { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.rules li { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 22px; padding: 18px 22px; }
.rules b { display: block; font-size: 17px; color: #fff; }
.rules span { color: #C9CDDB; font-size: 15px; }
@media (max-width: 860px) { .safety { grid-template-columns: 1fr; padding: 34px 24px; border-radius: 30px; } }

/* Plans */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 900px; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: 30px; padding: 32px; }
.plan.pro { border: 2px solid var(--lime); background: var(--lime-wash); }
.plan h3 { font-size: 28px; font-weight: 800; }
.plan .pill { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--lime-soft); color: var(--ink); }
.plan.pro .pill { background: var(--lime); }
.plan ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; font-size: 16px; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: "✓"; color: var(--lime-strong); font-weight: 800; }
.plans-note { margin-top: 18px; font-size: 14px; color: var(--muted); max-width: 900px; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 0 24px; }
.faq summary { cursor: pointer; list-style: none; padding: 22px 32px 22px 0; font-weight: 700; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 16px; font-size: 26px; color: var(--lime-strong); font-weight: 600; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 22px; color: var(--muted); font-size: 16px; }

/* Download CTA */
.download .panel { background: var(--ink); border-radius: 40px; padding: 64px 56px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; overflow: hidden; }
.download h2 { color: #fff; }
.download h2 span { color: var(--lime); }
.download p { color: #C9CDDB; margin-top: 16px; font-size: 18px; }
.download .stores { margin-top: 28px; }
.download .store { background: #fff; color: #0E0E10; }
.download .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.download img { width: 260px; justify-self: center; margin-bottom: -120px; filter: drop-shadow(0 26px 44px rgba(0, 0, 0, .35)); }
@media (max-width: 860px) { .download .panel { grid-template-columns: 1fr; padding: 36px 24px 0; } .download img { width: 220px; margin-bottom: -60px; } }

footer { padding: 48px 0 60px; font-size: 14px; color: var(--muted); }
footer .wrap { display: grid; gap: 18px; }
footer .row { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
footer .brand { font-size: 20px; }
footer .brand svg { width: 30px; height: 30px; }
footer a { text-decoration: none; font-weight: 700; color: var(--ink); }
footer .legal { max-width: 62em; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Prose pages */
.prose { max-width: 740px; padding: 56px 28px 80px; margin: 0 auto; }
.prose h1 { font-size: clamp(38px, 5vw, 56px); margin-top: 18px; }
.prose h2 { font-size: 22px; letter-spacing: -.01em; margin-top: 36px; }
.prose p { margin-top: 10px; color: var(--muted); }
.prose .note { margin-top: 36px; background: var(--lime-soft); border-radius: 18px; padding: 16px 18px; color: var(--ink); font-size: 15px; }
.push { margin-left: auto; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Official store badges (Apple and Google artwork). Shown as "coming soon" until the apps are live; link them to the store listings at launch. */
.stores { align-items: center; }
.badge { height: 56px; width: auto; }
.soon { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); background: var(--lime-soft); border-radius: 999px; padding: 6px 12px; }
.stores.light { margin-top: 26px; }

/* ---------- Hero product animation (scan → analysis → journal) ---------- */
@font-face { font-family: "Fraunces"; src: url(fonts/Fraunces_500Medium.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(fonts/Fraunces_500Medium_Italic.woff2) format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
.demo { --cream: #F6F1E8; --paper: #FFFDF8; --pine: #132B24; --olive: #667A4A; --sage: #DDE5CF; --mut: #6E695F; --line: #E4D9C9;
  position: absolute; left: 6%; top: 0; z-index: 3; width: 300px; height: 630px; border-radius: 48px; background: #111; padding: 10px;
  box-shadow: 0 40px 70px rgba(15, 27, 51, .30), inset 0 0 0 2px #2a2a2a; }
.demo-screen { position: relative; width: 100%; height: 100%; border-radius: 38px; overflow: hidden; background: var(--cream); color: var(--pine); font-size: 12px; line-height: 1.35; }
.d-status { position: absolute; z-index: 20; top: 0; left: 0; right: 0; height: 40px; display: flex; align-items: center; justify-content: space-between; padding: 4px 26px 0; font-weight: 700; font-size: 13px; color: var(--pine); transition: color .3s; }
.d-icons { display: flex; gap: 3px; align-items: flex-end; }
.d-icons i { display: block; width: 4px; border-radius: 1px; background: currentColor; }
.d-icons i:nth-child(1) { height: 6px; } .d-icons i:nth-child(2) { height: 8px; } .d-icons i:nth-child(3) { width: 18px; height: 9px; border-radius: 3px; margin-left: 4px; }
.d-island { position: absolute; z-index: 21; top: 10px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 14px; background: #000; }
.demo:not(.s-analysis) .d-status { color: #fff; }
.demo.s-journal .d-status, .demo.s-analysis .d-status { color: var(--pine); }

.d-scene { position: absolute; inset: 0; padding: 50px 16px 16px; transition: transform .55s cubic-bezier(.2,.8,.2,1), opacity .45s ease; }
.d-camera { padding: 0; background: #000; }
.d-camera > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 3s ease; }
.demo.s-scan .d-camera > img { transform: scale(1); }
.d-shade { position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.45), transparent 22%, transparent 70%, rgba(0,0,0,.55)); }
.d-cam-top { position: absolute; top: 46px; left: 14px; right: 14px; display: flex; align-items: center; justify-content: space-between; color: #fff; font-size: 13px; }
.d-cam-top b { font-weight: 700; }
.d-cam-top > span { width: 30px; }
.d-x { width: 30px; height: 30px; border-radius: 50%; background: rgba(0,0,0,.35); display: grid; place-items: center; }
.d-x svg { width: 14px; height: 14px; }
.d-frame { position: absolute; left: 26px; right: 26px; top: 120px; height: 300px; }
.d-frame i { position: absolute; width: 34px; height: 34px; border: 3px solid #fff; }
.d-frame i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 14px; }
.d-frame i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 14px; }
.d-frame i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 14px; }
.d-frame i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 14px; }
.d-scan { position: absolute; left: 6px; right: 6px; top: 0; height: 3px; border-radius: 3px; background: #9BCB1A; box-shadow: 0 0 18px 6px rgba(155,203,26,.55); opacity: 0; }
.demo.s-scan .d-scan { opacity: 1; animation: dScan 1.4s ease-in-out infinite alternate; }
@keyframes dScan { from { top: 4px; } to { top: calc(100% - 7px); } }
.d-tag { position: absolute; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(255,253,248,.95); color: var(--pine); font-weight: 700; font-size: 11px; box-shadow: 0 6px 16px rgba(0,0,0,.25); opacity: 0; transform: translateY(6px) scale(.9); transition: opacity .35s, transform .35s cubic-bezier(.2,1.4,.4,1); }
.d-tag em { width: 8px; height: 8px; border-radius: 50%; background: #9BCB1A; box-shadow: 0 0 0 3px rgba(155,203,26,.3); }
.d-tag.t1 { left: 70px; top: 250px; } .d-tag.t2 { left: 30px; top: 172px; } .d-tag.t3 { right: 22px; top: 140px; }
.demo.s-detect .d-tag { opacity: 1; transform: none; }
.demo.s-detect .d-tag.t2 { transition-delay: .35s; } .demo.s-detect .d-tag.t3 { transition-delay: .7s; }
.d-chip { position: absolute; left: 50%; bottom: 128px; transform: translate(-50%, 8px); display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(19,43,36,.85); color: #fff; font-weight: 600; white-space: nowrap; opacity: 0; transition: opacity .3s, transform .3s; }
.demo.s-detect .d-chip { opacity: 1; transform: translate(-50%, 0); }
.d-spin { width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: #9BCB1A; animation: dSpin .8s linear infinite; }
@keyframes dSpin { to { transform: rotate(360deg); } }
.d-shutter { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); width: 66px; height: 66px; border-radius: 50%; border: 4px solid #fff; display: grid; place-items: center; }
.d-shutter span { width: 50px; height: 50px; border-radius: 50%; background: #fff; transition: transform .15s; }
.demo.s-shot .d-shutter span { transform: scale(.82); }
.d-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.demo.s-shot .d-flash { animation: dFlash .45s ease-out; }
@keyframes dFlash { 0% { opacity: 0; } 25% { opacity: .9; } 100% { opacity: 0; } }

.d-analysis { background: var(--cream); transform: translateY(100%); }
.demo.s-analysis .d-analysis, .demo.s-journal .d-analysis { transform: none; }
.d-head { display: flex; align-items: center; justify-content: space-between; text-align: center; }
.d-head b { display: block; font-size: 13px; } .d-head small { color: var(--mut); font-size: 10px; }
.d-head > span { width: 28px; }
.d-back { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); display: grid; place-items: center; }
.d-back svg { width: 14px; height: 14px; }
.d-photo { width: 100%; height: 118px; object-fit: cover; border-radius: 18px; margin-top: 10px; }
.d-eyebrow { margin: 10px 0 0; font-size: 9px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--mut); }
.d-title { margin: 2px 0 0; font-family: "Fraunces", Georgia, serif; font-weight: 500; font-size: 19px; line-height: 1.15; letter-spacing: -.02em; color: var(--pine); }
.d-meta { margin: 2px 0 0; font-size: 10px; color: var(--mut); }
.d-list { margin-top: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.d-row { display: flex; justify-content: space-between; align-items: center; padding: 7px 12px; border-top: 1px solid var(--line); font-size: 11px; opacity: 0; transform: translateX(-10px); transition: opacity .35s, transform .35s; }
.d-row:first-child { border-top: 0; }
.d-row small { display: block; color: var(--mut); font-size: 9px; }
.d-row b { font-size: 12px; }
.demo.s-rows .d-row { opacity: 1; transform: none; }
.demo.s-rows .r2 { transition-delay: .2s; } .demo.s-rows .r3 { transition-delay: .4s; } .demo.s-rows .d-total { transition-delay: .6s; }
.d-total { font-weight: 700; } .d-total b { font-size: 18px; }
.d-buttons { display: flex; gap: 8px; margin-top: 10px; }
.d-btn { position: relative; overflow: hidden; flex: 1; height: 38px; border-radius: 13px; display: grid; place-items: center; font-weight: 700; font-size: 12px; transition: transform .15s; }
.d-btn.ghost { background: var(--paper); border: 1px solid var(--line); flex: .7; }
.d-btn.olive { background: var(--olive); color: #fff; }
.d-tap { position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px; border-radius: 50%; background: rgba(255,255,255,.55); transform: scale(0); opacity: 0; }
.demo.s-tap .d-btn.olive { transform: scale(.96); }
.demo.s-tap .d-tap { animation: dTap .6s ease-out; }
@keyframes dTap { 0% { transform: scale(0); opacity: 1; } 100% { transform: scale(9); opacity: 0; } }

.d-journal { background: var(--cream); transform: translateX(100%); }
.demo.s-journal .d-journal { transform: none; }
.demo.s-journal .d-analysis { transform: translateX(-30%); opacity: .4; }
.d-brand { display: flex; align-items: center; gap: 7px; font-weight: 800; font-size: 14px; }
.d-mark { width: 22px; height: 22px; border: 2px solid var(--pine); border-radius: 50%; display: grid; place-items: center; font-size: 11px; }
.d-card { position: relative; margin-top: 6px; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 12px 14px 14px; display: grid; grid-template-columns: 1fr auto; gap: 8px; box-shadow: 0 10px 24px rgba(42,34,24,.08); }
.d-big { margin: 2px 0 0; font-family: "Fraunces", Georgia, serif; font-size: 34px; line-height: 1; letter-spacing: -.04em; }
.d-big small { font-family: "Jakarta", sans-serif; font-size: 13px; letter-spacing: 0; color: var(--mut); }
.d-ring { position: relative; width: 58px; height: 58px; }
.d-ring svg { width: 58px; height: 58px; transform: rotate(-90deg); }
.d-ring circle { fill: none; stroke: #E7DED1; stroke-width: 7; }
.d-ring .d-ring-fill { stroke: var(--olive); stroke-linecap: round; stroke-dasharray: 169.6; stroke-dashoffset: 128.9; transition: stroke-dashoffset 1.2s cubic-bezier(.2,.8,.2,1) .5s; }
.demo.s-journal .d-ring-fill { stroke-dashoffset: 56; }
.d-ring b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 11px; white-space: nowrap; }
.d-bar { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: #E7DED1; overflow: hidden; }
.d-bar i { display: block; height: 100%; width: 24%; border-radius: 6px; background: var(--olive); transition: width 1.2s cubic-bezier(.2,.8,.2,1) .5s; }
.demo.s-journal .d-bar i { width: 67%; }
.d-entry { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 9px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.d-entry img, .d-ico { width: 34px; height: 34px; flex: none; border-radius: 50%; object-fit: cover; }
.d-ico { background: var(--sage); display: grid; place-items: center; }
.d-ico svg { width: 17px; height: 17px; }
.d-entry b { display: block; font-size: 12px; } .d-entry small { color: var(--mut); font-size: 10px; }
.d-new { max-height: 0; padding-top: 0; padding-bottom: 0; margin-top: 0; opacity: 0; border-width: 0; transform: translateY(-8px); transition: max-height .5s ease 1s, padding .5s ease 1s, margin .5s ease 1s, opacity .4s ease 1.2s, transform .4s ease 1.2s; }
.demo.s-journal .d-new { max-height: 60px; padding: 9px; margin-top: 8px; opacity: 1; border-width: 1px; transform: none; background: #F1F4EA; border-color: #C9D6B3; }
.d-toast { position: absolute; z-index: 5; left: 14px; right: 14px; top: 46px; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 9px; border-radius: 14px; background: var(--pine); color: #fff; font-weight: 700; transform: translateY(-80px); transition: transform .45s cubic-bezier(.2,1.2,.4,1) .2s; }
.d-toast svg { width: 14px; height: 14px; color: #9BCB1A; }
.demo.s-journal .d-toast { transform: none; }
.demo.s-journal.s-toast-out .d-toast { transform: translateY(-80px); transition-delay: 0s; }
.demo.s-reset .d-scene { transition: none; }

.hero-art .p2 { right: -4%; top: 64px; width: 250px; z-index: 2; }
.hero-bowl { position: absolute; z-index: 1; left: -40%; bottom: -40px; width: 450px; filter: drop-shadow(0 18px 24px rgba(15, 27, 51, .12)); }
@media (max-width: 1040px) { .demo { left: 14%; } .hero-bowl { width: 340px; left: -10%; } }
@media (max-width: 560px) { .demo { left: 2%; transform: scale(.82); transform-origin: top left; } .hero-art .p2 { width: 190px; } .hero-bowl { width: 260px; left: -14%; bottom: 40px; } }
@media (prefers-reduced-motion: reduce) { .d-scene, .d-row, .d-tag, .d-toast, .d-new, .d-ring-fill, .d-bar i { transition: none !important; } .d-scan { animation: none !important; } }
@media (max-width: 520px) { .badge { height: 46px; } .stores { gap: 10px; } }

/* Problem section */
.problem { padding-top: 96px; }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pcard { background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: 28px; }
.pnum { font-size: 40px; line-height: 1; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.pcard h3 { margin-top: 12px; }
.pcard p:last-child { margin-top: 8px; color: var(--muted); font-size: 16px; }
.pcard sup a { color: var(--lime-strong); font-weight: 800; text-decoration: none; margin-left: 2px; }
.contrast { margin-top: 28px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; }
.contrast figure { margin: 0; border-radius: 26px; padding: 26px; min-height: 250px; }
.contrast figcaption { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.paper { background: #FFFDF5 repeating-linear-gradient(transparent 0 33px, #E4E8EF 33px 34px); border: 1px solid #ECE6D6; transform: rotate(-1.5deg); box-shadow: 0 18px 40px rgba(15, 27, 51, .08); }
.paper ul { list-style: none; margin: 0; padding: 0; font-family: "Bradley Hand", "Segoe Print", "Comic Sans MS", cursive; font-size: 19px; line-height: 34px; color: #3A4A6B; }
.paper b { font-weight: 700; margin-right: 8px; }
.paper s { color: #B0453B; }
.tidy { background: var(--ink); color: #fff; box-shadow: 0 24px 50px rgba(15, 27, 51, .22); }
.tidy figcaption { color: var(--lime); }
.trow { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; background: rgba(255,255,255,.06); margin-top: 8px; }
.trow b { display: block; font-size: 15px; } .trow small { color: #C9CDDB; font-size: 13px; }
.trow.hl { background: rgba(155, 203, 26, .16); outline: 1px solid rgba(155, 203, 26, .45); }
.dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.dot.pen { background: #9BCB1A; } .dot.chk { background: #F0C86A; } .dot.food { background: #7FD0C2; } .dot.ins { background: #fff; }
.arrow-to { font-size: 34px; color: var(--lime-strong); font-weight: 800; }
.pnote { margin-top: 26px; font-size: 14px; color: var(--muted); max-width: 60em; }
.refs { margin: 12px 0 0; padding-left: 20px; font-size: 13px; color: var(--muted); display: grid; gap: 6px; max-width: 70em; }
.refs a { color: var(--ink); font-weight: 700; }
@media (max-width: 900px) { .pgrid { grid-template-columns: 1fr; } .contrast { grid-template-columns: 1fr; } .arrow-to { transform: rotate(90deg); justify-self: center; } }

/* Personal section */
.pers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pers { background: linear-gradient(180deg, var(--lime-soft), var(--white) 70%); border: 1px solid var(--line); border-radius: 28px; padding: 30px; }
.pers-ic { width: 56px; height: 56px; border-radius: 18px; background: var(--ink); color: var(--lime); display: grid; place-items: center; }
.pers-ic svg { width: 26px; height: 26px; }
.pers h3 { margin-top: 22px; font-size: 23px; }
.pers p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.personal + section { padding-top: 64px; }
@media (max-width: 900px) { .pers-grid { grid-template-columns: 1fr; } }

/* Hero layout per mock: phones right of centre, bowl clearly visible at bottom-left behind them */
@media (min-width: 1041px) { .demo { left: 24%; } .hero-art .p2 { right: -10%; } }

/* References live in the footer */
.footer-refs { border-top: 1px solid var(--line); padding-top: 18px; }
.footer-refs-title { font-weight: 800; color: var(--ink); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.footer-refs .refs { margin-top: 8px; }

/* "After" = the real app */
.contrast figure.after { background: linear-gradient(180deg, var(--lime-soft), var(--white)); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; padding: 24px 20px 0; overflow: hidden; }
.contrast figure.after figcaption { align-self: flex-start; color: var(--lime-strong); }
.contrast figure.after img { width: min(260px, 70vw); margin-bottom: -90px; filter: drop-shadow(0 20px 36px rgba(15, 27, 51, .2)); }

/* Calls to action */
.btn-lg { min-height: 58px; padding: 0 30px; font-size: 18px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 30px; }
.cta-note { font-size: 14px; color: var(--muted); }
.hero .stores { margin-top: 18px; }
.section-cta { margin-top: 28px; }
.section-cta.center { display: flex; justify-content: center; margin-top: 8px; margin-bottom: 8px; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.price { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 30px; padding: 30px; }
.price.best { border: 2px solid var(--lime); background: var(--lime-wash); }
.price h3 { font-size: 22px; }
.price .amount { margin-top: 14px; font-size: 44px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); line-height: 1; }
.price .per { margin-top: 6px; font-size: 14px; color: var(--muted); }
.price ul { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 16px; }
.price li { display: flex; gap: 10px; } .price li::before { content: "✓"; color: var(--lime-strong); font-weight: 800; }
.badge-save { position: absolute; top: -14px; left: 24px; background: var(--ink); color: var(--lime); font-size: 12px; font-weight: 800; padding: 6px 12px; border-radius: 999px; }
.trial { margin-top: 24px; background: var(--white); border: 1px solid var(--line); border-radius: 30px; padding: 30px; }
.timeline { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.timeline li { border-top: 3px solid var(--lime); padding-top: 12px; }
.timeline b { display: block; color: var(--ink); font-size: 16px; }
.timeline span { display: block; margin-top: 6px; font-size: 15px; color: var(--muted); }
.trial-note { margin-top: 18px; font-size: 14px; color: var(--muted); }
.trial-note a { color: var(--ink); font-weight: 700; }
@media (max-width: 900px) { .price-grid, .timeline { grid-template-columns: 1fr; } }

/* Legal pages */
.prose ul { margin: 10px 0 0; padding-left: 20px; color: var(--muted); display: grid; gap: 6px; }
.prose li b { color: var(--ink); }
.prose a { color: var(--ink); font-weight: 700; }
.todo { background: #FFF2B8; color: var(--ink); padding: 0 4px; border-radius: 4px; font-weight: 700; }

/* Problem: headline + lifestyle photo */
.problem-top { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-bottom: 40px; }
.problem-top .section-head { margin-bottom: 0; }
.problem-photo { margin: 0; border-radius: 32px; overflow: hidden; box-shadow: var(--shadow); }
.problem-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 900px) { .problem-top { grid-template-columns: 1fr; } }

/* Language switcher (EN | PT) */
.lang { display: inline-flex; align-items: center; gap: 2px; font-size: 15px; font-weight: 700; }
.lang a { text-decoration: none; color: var(--muted); padding: 8px 6px; border-radius: 8px; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current="true"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.lang .sep { color: #CFD3DC; }
.nav .actions { align-items: center; }
@media (max-width: 520px) { .lang { font-size: 14px; } .lang a { padding: 8px 4px; } }
@media (max-width: 520px) { .nav .wrap { gap: 8px; } .nav .actions { gap: 4px; } .nav .btn { padding: 0 14px; font-size: 15px; } .lang .sep { display: none; } }
@media (max-width: 360px) { .brand { font-size: 19px; } .nav .btn { padding: 0 12px; } }
@media (max-width: 420px) { .nav .lang a[aria-current="true"] { display: none; } }
@media (max-width: 400px) { .btn-lg { max-width: 100%; white-space: normal; text-align: center; height: auto; padding-top: 12px; padding-bottom: 12px; } }
@media (min-width: 1041px) { .hero .trust { max-width: 450px; flex-wrap: wrap; position: relative; z-index: 2; } }

/* Tablet & phone polish (iPad portrait/landscape, iPhone) */
@media (min-width: 561px) and (max-width: 1040px) {
  .hero .wrap > div:first-child { text-align: center; max-width: 640px; margin: 0 auto; }
  .hero .eyebrow { justify-content: center; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .hero .cta-row, .hero .stores, .hero .trust { justify-content: center; }
  .hero h1 { font-size: clamp(48px, 7.2vw, 64px); }
}
@media (min-width: 1041px) and (max-width: 1280px) {
  .hero .lede { max-width: 24em; font-size: 19px; }
  .hero .trust { max-width: 400px; }
}
@media (max-width: 560px) {
  .hero-art .demo { left: calc(50% - 150px); }
}
@media (max-width: 560px) { .hero-art { overflow: visible; } }
