:root {
    --ink: #221c18;
    --muted: #675f58;
    --paper: #fbf8f2;
    --card: #fffdfa;
    --line: #e9e1d7;
    --brand: #a44912;
    --brand-dark: #753008;
    --brand-soft: #f9e5d4;
    --green: #286451;
    --shadow: 0 24px 70px rgba(77, 52, 30, 0.12);
    --hero: #242035;
    --hero-deep: #181526;
    --hero-paper: #fffaf5;
    --calendar: #5f8df7;
    --habits: #ef6f7b;
    --archive: #9b79ef;
    --notes: #3ca77c;
    --tasks: #f2633b;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: radial-gradient(circle at 12% 8%, #fffdf9 0, var(--paper) 32rem);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
}
a { color: inherit; }
img { max-width: 100%; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
    position: sticky;
    z-index: 20;
    top: 0;
    border-bottom: 1px solid rgba(233, 225, 215, 0.88);
    background: rgba(251, 248, 242, 0.92);
    backdrop-filter: blur(16px);
}
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    font-size: 21px;
    font-weight: 850;
    letter-spacing: -0.04em;
}
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links > a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 700; }
.nav-links > a:hover { color: var(--ink); }
.nav-links > a.button { color: #fff; }
.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 11px 19px;
    border: 1px solid var(--brand);
    border-radius: 13px;
    background: var(--brand);
    color: #fff;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(164, 73, 18, 0.18);
}
.button:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.button.secondary { background: transparent; color: var(--brand-dark); box-shadow: none; }
.button.secondary:hover { background: var(--brand-soft); }
.button.small { min-height: 40px; padding: 8px 14px; border-radius: 11px; }
.hero-shell { position: relative; overflow: hidden; min-height: calc(100svh - 72px); isolation: isolate; background: linear-gradient(138deg, var(--hero-deep) 0%, var(--hero) 54%, #332942 100%); color: var(--hero-paper); }
.hero-grid-glow { position: absolute; inset: 0; z-index: -3; opacity: 0.32; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 46px 46px; -webkit-mask-image: radial-gradient(circle at 70% 45%, #000 0, transparent 70%); mask-image: radial-gradient(circle at 70% 45%, #000 0, transparent 70%); }
.hero-shell::after { content: ""; position: absolute; inset: auto 0 0; z-index: -2; height: 34%; background: linear-gradient(transparent, rgba(9,7,16,.34)); pointer-events: none; }
.hero-orb { position: absolute; z-index: -1; width: 420px; height: 420px; border-radius: 50%; filter: blur(18px); opacity: .34; pointer-events: none; will-change: transform; }
.hero-orb-one { top: -170px; right: 15%; background: radial-gradient(circle, rgba(242,99,59,.72), rgba(242,99,59,0) 68%); }
.hero-orb-two { bottom: -240px; left: -100px; background: radial-gradient(circle, rgba(95,141,247,.55), rgba(95,141,247,0) 68%); }
.hero { display: grid; grid-template-columns: minmax(0, .96fr) minmax(520px, 1.04fr); align-items: center; gap: 44px; min-height: calc(100svh - 72px); padding: 64px 0 76px; }
.hero-content { position: relative; z-index: 4; max-width: 650px; }
.eyebrow { margin: 0 0 17px; color: var(--brand-dark); font-size: 14px; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.12; letter-spacing: -0.045em; }
h1 { max-width: 760px; margin-bottom: 24px; font-size: clamp(46px, 6vw, 76px); }
h2 { margin-bottom: 18px; font-size: clamp(34px, 4vw, 50px); }
h3 { margin-bottom: 9px; font-size: 22px; }
.hero-copy { max-width: 650px; margin: 0; color: var(--muted); font-size: clamp(19px, 2vw, 23px); line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.microcopy { margin: 18px 0 0; color: var(--muted); font-size: 14px; }
.hero-shell .eyebrow { color: #ffb276; letter-spacing: .16em; }
.hero-shell h1 { margin-bottom: 26px; color: #fff; font-size: clamp(62px, 7vw, 104px); line-height: .84; letter-spacing: -.065em; text-shadow: 0 18px 50px rgba(0,0,0,.3); }
.hero-shell h1 span { color: #ffb276; font-size: .7em; letter-spacing: -.05em; }
.hero-shell .hero-copy { max-width: 610px; color: #d9d2df; font-size: clamp(18px, 1.65vw, 22px); }
.hero-shell .button { border-color: var(--tasks); background: var(--tasks); box-shadow: 0 14px 34px rgba(242,99,59,.3); }
.hero-shell .button:hover { border-color: #ff825f; background: #ff825f; }
.hero-shell .button.secondary { border-color: rgba(255,255,255,.36); background: rgba(255,255,255,.07); color: #fff; box-shadow: none; backdrop-filter: blur(10px); }
.hero-shell .button.secondary:hover { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.14); }
.hero-shell .microcopy { color: #aaa2b2; }
.hero-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 34px; }
.hero-proof span { padding: 13px 14px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: rgba(255,255,255,.055); color: #aaa2b2; font-size: 11px; line-height: 1.4; backdrop-filter: blur(12px); }
.hero-proof strong { display: block; color: #fff; font-size: 12px; }
.hero-visual { position: relative; min-height: 690px; perspective: 1200px; }
[data-parallax-layer] { --parallax-x: 0px; --parallax-y: 0px; transform: translate3d(var(--parallax-x), var(--parallax-y), 0); will-change: transform; }
.figure-layer { position: absolute; z-index: 1; left: -28px; top: 30px; width: 300px; height: 620px; filter: drop-shadow(0 24px 50px rgba(0,0,0,.28)); }
.chant-figure { width: 100%; height: 100%; overflow: visible; animation: figure-breathe 7s ease-in-out infinite; }
.figure-part { opacity: .95; filter: drop-shadow(0 0 7px currentColor); }
.figure-dashboard { color: #d6cce5; stroke: currentColor; opacity: .4; }
.figure-tasks { color: var(--tasks); stroke: currentColor; }
.figure-notes { color: var(--notes); stroke: currentColor; }
.figure-calendar { color: var(--calendar); stroke: currentColor; }
.figure-archive { color: var(--archive); stroke: currentColor; fill: currentColor; opacity: .88; transform-origin: 180px 84px; animation: orbit-spin 22s linear infinite; }
.figure-heart { fill: rgba(239,111,123,.2); stroke: var(--habits); stroke-width: 3.4; filter: drop-shadow(0 0 8px rgba(239,111,123,.75)); transform-origin: 180px 250px; animation: heart-beat 1.7s ease-in-out infinite; }
.figure-eye { fill: var(--calendar); stroke: none; }
.figure-eye-shine { fill: #fff; stroke: none; }
.figure-caption { position: absolute; left: 50%; bottom: -8px; width: max-content; text-align: center; transform: translateX(-50%); }
.figure-caption strong { display: block; background: linear-gradient(90deg, var(--calendar), var(--habits), var(--archive), var(--notes), var(--tasks)); background-clip: text; -webkit-background-clip: text; color: transparent; font-size: 28px; letter-spacing: .22em; }
.figure-caption span { color: #aaa2b2; font-size: 10px; font-weight: 750; letter-spacing: .05em; }
.phone-layer { position: absolute; z-index: 3; top: 36px; right: 40px; width: 318px; }
.phone-frame { overflow: hidden; padding: 8px; border: 1px solid rgba(255,255,255,.24); border-radius: 38px; background: linear-gradient(145deg, rgba(255,255,255,.26), rgba(255,255,255,.07)); box-shadow: 0 42px 90px rgba(5,3,12,.55), 0 0 0 8px rgba(255,255,255,.035); transform: rotate(4deg); animation: phone-float 7s ease-in-out infinite; }
.phone-frame img { display: block; width: 100%; height: auto; border-radius: 30px; background: #fbf8f2; }
.floating-note { position: absolute; z-index: 5; display: flex; align-items: center; gap: 10px; min-width: 178px; padding: 12px 14px; border: 1px solid rgba(255,255,255,.2); border-radius: 16px; background: rgba(33,28,49,.76); box-shadow: 0 22px 50px rgba(3,2,8,.35); backdrop-filter: blur(16px); }
.floating-note > span { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border-radius: 11px; font-weight: 900; }
.floating-note strong, .floating-note small { display: block; }
.floating-note strong { color: #fff; font-size: 13px; }
.floating-note small { color: #aaa2b2; font-size: 10px; }
.floating-calendar { top: 92px; left: 178px; }
.floating-calendar > span { background: rgba(95,141,247,.18); color: #8eb0ff; }
.floating-habit { top: 292px; right: -28px; }
.floating-habit > span { background: rgba(239,111,123,.18); color: #ff9ba5; }
.floating-archive { bottom: 72px; left: 152px; }
.floating-archive > span { background: rgba(155,121,239,.18); color: #bda6ff; }
.hero-scroll { position: absolute; z-index: 6; left: 50%; bottom: 19px; display: flex; align-items: center; gap: 10px; transform: translateX(-50%); color: #c8c0d0; font-size: 12px; font-weight: 750; text-decoration: none; }
.hero-scroll > span { position: relative; width: 20px; height: 32px; border: 1.5px solid rgba(255,255,255,.42); border-radius: 11px; }
.hero-scroll > span::after { content: ""; position: absolute; left: 50%; top: 6px; width: 3px; height: 6px; border-radius: 3px; background: var(--tasks); transform: translateX(-50%); animation: scroll-cue 1.7s ease-in-out infinite; }
@keyframes phone-float { 0%, 100% { transform: rotate(4deg) translateY(0); } 50% { transform: rotate(3.2deg) translateY(-10px); } }
@keyframes figure-breathe { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
@keyframes heart-beat { 0%, 100% { transform: scale(1); } 18% { transform: scale(1.13); } 34% { transform: scale(1); } }
@keyframes scroll-cue { 0% { opacity: 0; transform: translate(-50%,0); } 35% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%,10px); } }
.trust-strip { border-block: 1px solid var(--line); background: rgba(255, 253, 250, 0.76); box-shadow: 0 16px 48px rgba(77,52,30,.05); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 25px 0; }
.trust-item { text-align: center; color: var(--muted); font-size: 14px; font-weight: 750; }
.trust-item strong { display: block; color: var(--ink); font-size: 16px; }
.section { position: relative; padding: 108px 0; }
.section-heading { max-width: 730px; margin-bottom: 48px; }
.section-heading p { margin: 0; color: var(--muted); font-size: 19px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { position: relative; overflow: hidden; padding: 27px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); box-shadow: 0 16px 42px rgba(77,52,30,.055); }
.feature-card p { margin: 0; color: var(--muted); }
.feature-icon { display: grid; width: 42px; height: 42px; margin-bottom: 24px; place-items: center; border-radius: 12px; background: var(--brand-soft); color: var(--brand-dark); font-weight: 900; }
.chant-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.chant-card { --pillar: var(--brand); min-height: 270px; padding: 24px 20px; transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.chant-card::after { content: ""; position: absolute; right: -54px; bottom: -64px; width: 150px; height: 150px; border-radius: 50%; background: color-mix(in srgb, var(--pillar) 15%, transparent); filter: blur(2px); transition: transform .35s ease; }
.chant-card[data-pillar="calendar"] { --pillar: var(--calendar); }
.chant-card[data-pillar="habits"] { --pillar: var(--habits); }
.chant-card[data-pillar="archive"] { --pillar: var(--archive); }
.chant-card[data-pillar="notes"] { --pillar: var(--notes); }
.chant-card[data-pillar="tasks"] { --pillar: var(--tasks); }
.chant-card h3 { font-size: 21px; }
.chant-card p { font-size: 15px; line-height: 1.6; }
.chant-card .feature-icon { width: 50px; height: 50px; margin-bottom: 20px; border: 1px solid color-mix(in srgb, var(--pillar) 28%, transparent); border-radius: 50%; background: color-mix(in srgb, var(--pillar) 13%, white); color: color-mix(in srgb, var(--pillar) 78%, #2b2131); font-size: 24px; box-shadow: 0 12px 25px color-mix(in srgb, var(--pillar) 16%, transparent); }
.chant-card:hover { z-index: 2; border-color: color-mix(in srgb, var(--pillar) 45%, var(--line)); box-shadow: 0 26px 58px color-mix(in srgb, var(--pillar) 18%, transparent); transform: translateY(-8px); }
.chant-card:hover::after { transform: scale(1.25); }
.chant-link { margin: 28px 0 0; color: var(--brand-dark); font-weight: 800; }
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: start; gap: 80px; }
.steps { display: grid; gap: 20px; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.step-number { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); border-radius: 14px; background: var(--card); color: var(--brand-dark); font-weight: 900; }
.step p { margin: 4px 0 0; color: var(--muted); }
.privacy-panel { position: relative; overflow: hidden; padding: 44px; border-radius: 28px; background: linear-gradient(145deg, #17251f, #243d32); color: #f8f4ed; box-shadow: 0 30px 70px rgba(20,46,35,.2); }
.privacy-panel::after { content: ""; position: absolute; right: -80px; bottom: -90px; width: 230px; height: 230px; border-radius: 50%; background: radial-gradient(circle, rgba(87,186,154,.28), transparent 68%); }
.privacy-panel p { color: #c9d0cc; }
.privacy-panel a { color: #ffe0bd; }
.privacy-list { display: grid; gap: 12px; padding: 0; list-style: none; }
.privacy-list li { position: relative; padding-left: 26px; }
.privacy-list li::before { content: "✓"; position: absolute; left: 0; color: #9bd0b8; font-weight: 900; }
.faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.faq article { padding: 25px; border-top: 1px solid var(--line); }
.faq p { margin: 0; color: var(--muted); }
.final-cta { position: relative; overflow: hidden; padding: 68px 60px; border-radius: 30px; background: linear-gradient(135deg, #f7dfcf, #fff3e7 54%, #eee4ff); text-align: center; box-shadow: 0 28px 72px rgba(113,69,37,.12); }
.final-cta::before, .final-cta::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; filter: blur(12px); opacity: .28; pointer-events: none; }
.final-cta::before { left: -90px; top: -120px; background: var(--calendar); }
.final-cta::after { right: -80px; bottom: -130px; background: var(--tasks); }
.final-cta > * { position: relative; z-index: 1; }
.final-cta p { max-width: 650px; margin: 0 auto; color: var(--muted); font-size: 19px; }
.final-cta .actions { justify-content: center; }
.site-footer { margin-top: 90px; padding: 38px 0; border-top: 1px solid var(--line); }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--muted); font-size: 14px; font-weight: 650; text-decoration: none; }
.copyright { color: var(--muted); font-size: 14px; }
.legal-main { width: min(800px, calc(100% - 40px)); margin: 0 auto; padding: 78px 0 20px; }
.legal-main h1 { font-size: clamp(40px, 6vw, 60px); }
.legal-main h2 { margin-top: 48px; font-size: 28px; letter-spacing: -0.025em; }
.legal-main h3 { margin-top: 28px; font-size: 20px; letter-spacing: -0.02em; }
.legal-main p, .legal-main li { color: var(--muted); }
.legal-main strong { color: var(--ink); }
.legal-lead { font-size: 21px; }
.legal-meta { color: var(--muted); font-size: 14px; }
.notice { margin: 28px 0; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 34px 0; }
.support-card { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.support-card p { margin-bottom: 0; }
.motion-ready [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
.motion-ready [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
:focus-visible { outline: 3px solid rgba(164, 73, 18, 0.45); outline-offset: 4px; }
@media (max-width: 860px) {
    .hero, .split { grid-template-columns: 1fr; gap: 48px; }
    .hero { min-height: auto; padding: 72px 0 88px; }
    .hero-content { max-width: 720px; }
    .hero-visual { width: min(640px, 100%); min-height: 650px; margin: -10px auto 0; }
    .figure-layer { left: 2%; }
    .phone-layer { right: 8%; }
    .floating-habit { right: 0; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .chant-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
    .container { width: min(100% - 28px, 1120px); }
    .nav-links > a:not(.button) { display: none; }
    .hero-shell { min-height: auto; }
    .hero { gap: 24px; padding: 52px 0 78px; }
    .hero-shell h1 { font-size: clamp(58px, 20vw, 82px); }
    .hero-shell .hero-copy { font-size: 18px; }
    .hero-proof, .hero-shell .microcopy { display: none; }
    .hero-visual { min-height: 520px; }
    .figure-layer { left: -54px; top: 22px; width: 230px; height: 500px; opacity: .7; }
    .phone-layer { top: 32px; right: 0; width: 235px; }
    .floating-note { min-width: 154px; padding: 9px 10px; }
    .floating-calendar { top: 56px; left: 20px; }
    .floating-habit { top: 250px; right: -8px; }
    .floating-archive { bottom: 30px; left: 8px; }
    .figure-caption { display: none; }
    .hero-scroll { display: none; }
    .feature-grid, .chant-grid, .faq, .support-grid { grid-template-columns: 1fr; }
    .chant-card { min-height: 0; }
    .section { padding: 78px 0; }
    .privacy-panel, .final-cta { padding: 28px; border-radius: 22px; }
    .footer-row { align-items: start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    [data-parallax-layer], .chant-figure, .figure-archive, .figure-heart, .phone-frame, .hero-scroll > span::after { animation: none !important; transform: none; }
    .motion-ready [data-reveal] { opacity: 1; transform: none; transition: none; }
}
