/* LumaHabit — "one day" website. Scroll position = time of day (main.js drives --sky-*, tone and celestial bodies). */
@font-face { font-family: Manrope; font-weight: 700; font-display: swap; src: url(fonts/manrope_700.ttf) format("truetype"); }
@font-face { font-family: Manrope; font-weight: 800; font-display: swap; src: url(fonts/manrope_800.ttf) format("truetype"); }
@font-face { font-family: "DM Sans"; font-weight: 400; font-display: swap; src: url(fonts/dmsans_400.ttf) format("truetype"); }
@font-face { font-family: "DM Sans"; font-weight: 500; font-display: swap; src: url(fonts/dmsans_500.ttf) format("truetype"); }
@font-face { font-family: "DM Sans"; font-weight: 700; font-display: swap; src: url(fonts/dmsans_700.ttf) format("truetype"); }

:root {
  --green: #238b65; --green-deep: #17694c; --mint: #ddf1e6; --amber: #f2c46b; --blue: #4b9dd8; --violet: #8b80c5;
  --sky-a: #f9d8c3; --sky-b: #eef6ea; --night: 0; --sun-x: 12vw; --sun-y: 70vh; --moon-x: 80vw; --moon-y: 110vh;
  --ink: #17221d; --muted: #56635c; --card: rgba(255,255,255,.72); --card-solid: #fff; --line: rgba(23,34,29,.09); --accent: #238b65;
  --shadow: 0 30px 60px -20px rgba(20,60,40,.25), 0 8px 20px -8px rgba(20,60,40,.15);
  --radius: 26px; --wrap: 1180px;
  --ease: cubic-bezier(.2,.8,.2,1);
  color-scheme: light;
}
:root[data-tone="dark"] {
  --ink: #eef5f1; --muted: #a8b8b0; --card: rgba(24,36,30,.62); --card-solid: #18241e; --line: rgba(255,255,255,.1); --accent: #5fd3a0;
  --shadow: 0 30px 70px -20px rgba(0,0,0,.6), 0 8px 20px -8px rgba(0,0,0,.4);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0; font: 400 17px/1.6 "DM Sans", system-ui, sans-serif; color: var(--ink); background: var(--sky-b);
  -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: color .6s var(--ease);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }
.center { text-align: center; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--card-solid); padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 10px; }

/* ---------- Sky ---------- */
.sky { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.sky-grad { position: absolute; inset: 0; background: linear-gradient(180deg, var(--sky-a) 0%, var(--sky-b) 70%); }
.sun, .moon { position: absolute; left: 0; top: 0; width: 0; height: 0; will-change: transform; }
.sun { transform: translate3d(var(--sun-x), var(--sun-y), 0); }
.sun span { position: absolute; width: 140px; height: 140px; left: -70px; top: -70px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #fff7df 0 30%, #ffd98c 46%, rgba(255,196,110,.0) 70%);
  opacity: var(--sun-o, 1); }
.sun span::before { content: ""; position: absolute; inset: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(255,214,140,.42) 0%, rgba(255,214,150,.16) 32%, rgba(255,220,160,0) 62%); }
.moon { transform: translate3d(var(--moon-x), var(--moon-y), 0); }
.moon span { position: absolute; width: 74px; height: 74px; left: -37px; top: -37px; border-radius: 50%;
  background: radial-gradient(circle at 38% 36%, #fbfbf2 0 40%, #dfe6dc 70%); box-shadow: 0 0 60px 18px rgba(220,240,230,.22), inset -12px -8px 0 rgba(0,0,0,.06); opacity: var(--night); }
.moon span::after { content: ""; position: absolute; width: 14px; height: 14px; left: 40px; top: 18px; border-radius: 50%; background: rgba(0,0,0,.06); box-shadow: -18px 22px 0 -2px rgba(0,0,0,.05); }
.stars { position: absolute; inset: 0; opacity: var(--night); }
/* ---------- The Luma buddy (replaces the sun disc; the sun stays as a glow behind him) ---------- */
.sun span { background: radial-gradient(circle at 50% 50%, rgba(255,247,223,.85) 0 18%, rgba(255,217,140,.55) 40%, rgba(255,196,110,0) 70%); width: 220px; height: 220px; left: -110px; top: -110px; }
.buddy-stage { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
@media (min-width: 981px) {
  /* Desktop: he walks the empty right gutter above the page (clicks pass through). */
  .buddy-stage { z-index: 40; }
  .buddy-stage .buddy-svg { width: 128px; height: 154px; left: -64px; top: -96px; }
  .buddy-stage .buddy-svg { transition: translate .9s var(--ease); }
  .buddy-stage .buddy[data-pose="dawn"] .buddy-svg, .buddy-stage .buddy[data-pose="sleep"] .buddy-svg { translate: -40px 0; } /* lying down is wider: keep the bed on screen */
  .buddy-stage .buddy-say { right: -54px; top: -136px; }
  .buddy-stage .buddy-say::after { right: 50px; top: auto; bottom: -5px; margin-top: 0; transform: rotate(135deg); }
}
.buddy { position: absolute; left: 0; top: 0; width: 0; height: 0; will-change: transform; transform: translate3d(var(--buddy-x, 80vw), var(--buddy-y, 60vh), 0); }
.buddy-svg { position: absolute; width: 150px; height: 180px; left: -75px; top: -112px; overflow: visible;
  filter: drop-shadow(0 14px 18px rgba(20,60,40,.22)) drop-shadow(0 3px 4px rgba(20,60,40,.18)); }
:root[data-tone="dark"] .buddy-svg { filter: drop-shadow(0 14px 22px rgba(0,0,0,.45)) drop-shadow(0 0 26px rgba(220,240,230,.10)); }
.b-shadow { fill: rgba(20,40,30,.14); transition: rx .5s var(--ease), cx .5s var(--ease); }
.b-face { display: none; fill: #24170f; stroke: #24170f; stroke-width: 1.8; stroke-linecap: round; }
.b-face path { fill: none; }
.b-face .fill { fill: #8a3b33; stroke: #5e231d; stroke-width: 1; }
.b-face .tongue { stroke: #ff8b7b; stroke-width: 2.2; }
.b-face ellipse, .b-face circle { stroke: none; }
.b-face.on { display: inline; }
.b-prop > g, .b-world { opacity: 0; transition: opacity .35s var(--ease); }
.b-prop > g.on, .b-world.on { opacity: 1; }
.b-zz text { font: 800 16px Manrope, sans-serif; fill: #dfe9ff; opacity: 0; animation: zz 3s ease-in infinite; }
.b-zz text:nth-child(2) { font-size: 20px; animation-delay: 1s; }
.b-zz text:nth-child(3) { font-size: 26px; animation-delay: 2s; }
@keyframes zz { 0% { opacity: 0; transform: translate(0, 8px); } 25% { opacity: .9; } 100% { opacity: 0; transform: translate(14px, -14px); } }
.buddy-say { position: absolute; right: 86px; top: -118px; white-space: nowrap; opacity: var(--say-o, 1); padding: 7px 13px; border-radius: 999px;
  font: 700 13px/1.2 "DM Sans", system-ui, sans-serif; letter-spacing: .01em; color: var(--ink); background: var(--card);
  border: 1px solid var(--line); box-shadow: 0 10px 24px -12px rgba(20,60,40,.35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.buddy-say::after { content: ""; position: absolute; right: -5px; top: 50%; width: 9px; height: 9px; margin-top: -5px; background: inherit;
  border-right: 1px solid var(--line); border-top: 1px solid var(--line); transform: rotate(45deg); }
.buddy-say.pop { animation: say-pop .5s var(--ease); }
@keyframes say-pop { from { opacity: 0; transform: translateY(6px) scale(.92); } }

.stars i { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #fff; animation: twinkle var(--d, 4s) ease-in-out infinite var(--delay, 0s); }
@keyframes twinkle { 50% { opacity: .25; transform: scale(.7); } }
.cursor-glow { position: absolute; width: 520px; height: 520px; left: -260px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,236,190,.28), transparent 62%); transform: translate3d(var(--cx, -999px), var(--cy, -999px), 0); mix-blend-mode: soft-light; }
:root[data-tone="dark"] .cursor-glow { background: radial-gradient(circle, rgba(95,211,160,.12), transparent 62%); mix-blend-mode: screen; }
.grain { position: absolute; inset: -50%; opacity: .05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- Nav + day clock ---------- */
.nav { position: fixed; z-index: 50; top: 14px; left: 50%; transform: translateX(-50%); width: min(1220px, 100% - 24px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 12px 10px 16px;
  border-radius: 999px; background: var(--card); border: 1px solid var(--line); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); transition: background .6s, border-color .6s; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 19px/1 Manrope, sans-serif; letter-spacing: -.02em; }
.brand img { border-radius: 10px; }
.clock { display: flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 12%, transparent); font-size: 14px; }
.clock b { font: 800 15px/1 Manrope, sans-serif; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.clock-phase { color: var(--muted); }
.clock-ic { width: 17px; height: 17px; color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 22px; font-weight: 500; font-size: 15px; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--muted); transition: color .2s; }
.nav-links a:not(.btn):hover { color: var(--ink); }

/* ---------- Type ---------- */
.display { font: 800 clamp(46px, 6.6vw, 94px)/.98 Manrope, sans-serif; letter-spacing: -.045em; margin: 0 0 22px; }
.h2 { font: 800 clamp(36px, 4.8vw, 64px)/1.02 Manrope, sans-serif; letter-spacing: -.04em; margin: 0 0 18px; }
.display em, .h2 em { font-style: italic; color: var(--accent); padding-right: .04em; transition: color .6s; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 34em; margin: 0 0 26px; transition: color .6s; }
.eyebrow, .kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 0 0 18px; }
.eyebrow { padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--ink); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(35,139,101,.5); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(35,139,101,0); } 100% { box-shadow: 0 0 0 0 rgba(35,139,101,0); } }
.time-tag { font: 800 13px/1 Manrope, sans-serif; letter-spacing: .04em; padding: 6px 9px; border-radius: 8px; background: var(--accent); color: #fff; }
:root[data-tone="dark"] .time-tag { color: #0f1813; }

/* ---------- Buttons ---------- */
.btn { --b: var(--green); display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--b); color: #fff; font: 700 16px/1 "DM Sans", sans-serif; text-decoration: none; position: relative; overflow: hidden;
  box-shadow: 0 12px 26px -10px rgba(35,139,101,.7); transition: transform .3s var(--ease), box-shadow .3s; }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 32px -12px rgba(35,139,101,.8); }
.btn:hover::after { transform: translateX(120%); }
.btn .ic { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn-ghost { background: var(--card); color: var(--ink); border: 1px solid var(--line); box-shadow: none; backdrop-filter: blur(10px); }
.btn-small { padding: 11px 18px; font-size: 14px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }

/* ---------- Phone ---------- */
.phone { --w: 300px; position: relative; width: var(--w); aspect-ratio: 440 / 956; padding: calc(var(--w) * .035); border-radius: calc(var(--w) * .16);
  background: linear-gradient(145deg, #2c3430, #0c0f0d 45%, #1a201d); box-shadow: inset 0 0 0 1.5px #46504a, var(--shadow), 0 60px 120px -40px rgba(20,60,40,.35); transform-style: preserve-3d; }
.screen { position: relative; width: 100%; height: 100%; border-radius: calc(var(--w) * .13); overflow: hidden; background: #faf9f5; isolation: isolate; }
.screen > img, .cmp-dark > img { position: absolute; left: 0; top: 5.65%; width: 100%; height: 94.35%; object-fit: cover; object-position: top; }
.sb { position: absolute; z-index: 3; top: 0; left: 0; right: 0; height: 5.65%; display: flex; align-items: center; justify-content: space-between; padding: 1% 8% 0 11%; color: #141a17; font: 700 calc(var(--w) * .043)/1 "DM Sans", sans-serif; background: #faf9f5; }
.sb-dark { background: #121a16; color: #fff; }
.island { position: absolute; left: 50%; top: 22%; transform: translateX(-50%); width: 30%; height: 62%; border-radius: 99px; background: #050605; }
.sb-ic { width: calc(var(--w) * .16); height: calc(var(--w) * .032); }
.tilt { transition: transform .5s var(--ease); will-change: transform; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--rd, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
section { position: relative; }
.hero { min-height: 100svh; padding: 130px 0 170px; display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: 15px; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust .ic { color: var(--accent); width: 18px; height: 18px; }
.hero-stage { position: relative; height: 640px; perspective: 1400px; }
.hero-phone { --w: 300px; position: absolute; right: 6%; top: 0; }
.try-card { position: absolute; left: 0; bottom: 10px; width: min(380px, 92%); padding: 22px; border-radius: 28px; background: var(--card); border: 1px solid var(--line);
  backdrop-filter: blur(22px) saturate(1.5); -webkit-backdrop-filter: blur(22px) saturate(1.5); box-shadow: var(--shadow); z-index: 2; }
.try-head { display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.try-kicker { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.try-title { margin: 0; font: 800 22px/1.12 Manrope, sans-serif; letter-spacing: -.02em; }
.ring { position: relative; width: 104px; height: 104px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 10; }
.ring-track { stroke: color-mix(in srgb, var(--ink) 10%, transparent); }
.ring-val { stroke: var(--green); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset .9s var(--ease), stroke .6s; }
.ring-num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-num b { font: 800 30px/1 Manrope, sans-serif; font-variant-numeric: tabular-nums; }
.ring-num small { color: var(--muted); font-size: 11px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 12px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 10px 14px; border-radius: 999px; cursor: pointer; font: 600 14px/1 "DM Sans", sans-serif;
  color: var(--ink); background: var(--card-solid); border: 1px solid var(--line); transition: transform .25s var(--ease), background .3s, color .3s, border-color .3s; position: relative; }
.chip .ic { width: 16px; height: 16px; color: var(--accent); }
.chip:hover { transform: translateY(-2px); }
.chip[aria-pressed="true"] { background: var(--green); color: #fff; border-color: var(--green); }
.chip[aria-pressed="true"] .ic { color: #fff; }
.try-msg { margin: 0; font-size: 14px; color: var(--muted); min-height: 2.6em; }
.particle { position: fixed; z-index: 60; width: 10px; height: 10px; border-radius: 50% 0 50% 0; pointer-events: none; }
.hills { position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; height: 26vh; min-height: 160px; }
.hills .h3 { fill: #cfe8d7; opacity: .7; } .hills .h2 { fill: #a9d6bc; opacity: .75; } .hills .h1 { fill: #7cbf9c; opacity: .55; }
:root[data-tone="dark"] .hills path { fill: #183326; }
/* ---------- Habit Park: six people living everyday habits on the hero's front hill ---------- */
.hero-grid { position: relative; z-index: 2; } /* page content always wins over the park */
.hills-front { z-index: 1; pointer-events: none; }
.park { overflow-x: clip; position: absolute; z-index: 2; left: 0; right: 0; bottom: -2px; height: 26vh; min-height: 160px; pointer-events: none; --ph: clamp(84px, 6.4vw, 150px); }
.person { position: absolute; left: 0; top: 0; width: calc(var(--ph) * var(--s, 1) * 200 / 240); height: calc(var(--ph) * var(--s, 1)); pointer-events: auto; cursor: pointer; will-change: transform; -webkit-tap-highlight-color: transparent; }
.person-fig { display: block; width: 100%; height: 100%; overflow: visible; transform-origin: 50% 50%;
  filter: drop-shadow(0 8px 10px rgba(20,60,40,.18)) drop-shadow(0 2px 3px rgba(20,60,40,.14)); }
.hp { position: absolute; left: 50%; top: calc(var(--pill, .2) * 100%); transform: translate(-50%, -100%); display: inline-flex; align-items: center;
  padding: 5px; border-radius: 999px; white-space: nowrap; font: 700 12px/1 "DM Sans", system-ui, sans-serif; color: var(--accent);
  background: var(--card); border: 1px solid var(--line); box-shadow: 0 8px 18px -10px rgba(20,60,40,.45);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: hp-bob 3.4s ease-in-out infinite; animation-delay: calc(var(--i) * -.55s);
  transition: background .35s var(--ease), color .35s, border-color .35s; }
.hp .ic { width: 14px; height: 14px; }
/* Speech bubble: icon + what they're doing, with a little tail pointing at the person. */
.hp { padding: 5px 9px 5px 6px; gap: 5px; }
.hp::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 9px; height: 9px; margin-left: -5px; background: inherit;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: rotate(45deg); }
.hp b { color: var(--ink); font-weight: 700; letter-spacing: .005em; transition: color .35s; }
.person.done .hp::after { border-color: transparent; }
.person.done .hp { background: var(--green); border-color: transparent; color: #fff; }
.person.done .hp b { color: #fff; }
.person.done .hp .ic { animation: hp-pop .5s var(--ease); }
/* Depth: people on the far hills read softer and a touch hazier, like the hills behind them. */
.person[data-hill="h3"] .person-fig { filter: drop-shadow(0 5px 6px rgba(20,60,40,.14)) saturate(.88) brightness(1.04); }
.person[data-hill="h3"] .hp { scale: .9; }
@keyframes hp-bob { 50% { transform: translate(-50%, calc(-100% - 5px)); } }
@keyframes hp-pop { 0% { transform: scale(.4); } 60% { transform: scale(1.25); } }
.buddy-stage { transition: opacity .6s var(--ease); }
@media (min-width: 981px) { .hero .hills, .park { height: 34vh; } } /* taller hills = clearly separate back / middle / front rows */
@media (max-width: 980px) { .park { --ph: 80px; } .park-in-view .buddy-stage { opacity: 0; } .hp { font-size: 11px; padding: 4px 7px 4px 5px; gap: 4px; } }
@media (max-width: 640px) {
  .park { --ph: 64px; min-height: 130px; }
  /* Phones: icon-only bubbles (four people share 390 px); a tap shows the words. */
  .hp { padding: 4px; gap: 0; } .hp .ic { width: 12px; height: 12px; }
  .hp b { max-width: 0; overflow: hidden; transition: max-width .45s var(--ease), margin .45s var(--ease); }
  .person.show .hp b { max-width: 150px; margin: 0 4px 0 4px; }
}
@media (prefers-reduced-motion: reduce) { .hp, .person.done .hp .ic { animation: none; } }


/* ---------- Manifesto ---------- */
.manifesto { padding: 140px 0; }
.light-text { font: 800 clamp(30px, 4.2vw, 58px)/1.14 Manrope, sans-serif; letter-spacing: -.035em; margin: 0; max-width: 20em; }
.light-text .w { color: color-mix(in srgb, var(--ink) 18%, transparent); transition: color .5s var(--ease), text-shadow .5s; }
.light-text .w.lit { color: var(--ink); }
.light-text .w.glow { color: var(--accent); text-shadow: 0 0 30px rgba(242,196,107,.55); }

/* ---------- Features ---------- */
.feature, .water, .mood, .progress, .night, .pricing, .faq { padding: 130px 0; }
.feature-grid, .water-grid, .mood-grid, .night-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; }
.feature-stage { position: relative; display: grid; place-items: center; min-height: 680px; perspective: 1400px; }
.feature-stage .phone { --w: 310px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.ticks .ic { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); stroke-width: 3; }
.float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 18px 14px 14px; border-radius: 20px; background: var(--card); border: 1px solid var(--line);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: var(--shadow); will-change: transform; z-index: 2; }
.float b { display: block; font: 800 18px/1.1 Manrope, sans-serif; }
.float small { color: var(--muted); font-size: 13px; }
.fi { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--green); color: #fff; }
.fi-amber { background: linear-gradient(135deg, #f7b955, #ef8f4a); } .fi-mint { background: var(--mint); color: var(--green); }
.f1 { left: 2%; top: 18%; } .f2 { right: 0; top: 46%; } .f3 { left: 6%; bottom: 14%; }

/* Water */
.water { overflow: hidden; }
.water-fill { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--fill, 0) * 78%); pointer-events: none; }
.water-body { position: absolute; inset: 26px 0 0; background: linear-gradient(180deg, rgba(110,180,230,.38), rgba(60,140,210,.5)); }
.wave { position: absolute; left: 0; width: 200%; height: 30px; top: 0; animation: wave 9s linear infinite; }
.wave path { fill: rgba(110,180,230,.38); }
.wave.w2 { top: 4px; animation-duration: 13s; animation-direction: reverse; opacity: .7; }
@keyframes wave { to { transform: translateX(-50%); } }
.bubbles i { position: absolute; bottom: -10px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.7); animation: rise var(--d) linear infinite var(--delay); }
@keyframes rise { to { transform: translate3d(var(--x, 10px), -70vh, 0); opacity: 0; } }
.ml { display: flex; align-items: baseline; gap: 12px; margin-top: 10px; }
.ml b { font: 800 clamp(64px, 8vw, 112px)/1 Manrope, sans-serif; letter-spacing: -.05em; color: var(--blue); font-variant-numeric: tabular-nums; }
.ml span { color: var(--muted); font-weight: 600; }
.water-grid { position: relative; z-index: 1; }

/* Mood */
.mood-stage { position: relative; display: grid; justify-items: center; gap: 10px; min-height: 620px; align-content: center; }
.face { width: min(340px, 70vw); filter: drop-shadow(0 30px 40px rgba(180,120,30,.25)); transition: filter .4s; }
.face .eye { fill: #3a2a12; transition: ry .3s; }
.face .mouth { stroke: #3a2a12; stroke-width: 8; stroke-linecap: round; }
.face .cheeks circle { fill: #f59a7a; opacity: .45; }
.face-bg { transition: fill .4s; }
.mood-word { font: 800 40px/1 Manrope, sans-serif; letter-spacing: -.03em; margin: 6px 0 0; }
.mood-scale { display: flex; gap: 18px; color: var(--muted); font-size: 13px; font-weight: 600; }
.mood-label { display: block; color: var(--muted); font-size: 14px; margin: 8px 0; }
.mood-range { width: min(420px, 100%); accent-color: var(--green); height: 28px; }
.phone.mini { --w: 170px; position: absolute; right: -10px; bottom: 0; transform: rotate(6deg); }

/* Progress */
.progress-head { max-width: 900px; margin-bottom: 44px; }
.progress-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow); }
.card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.card-top small { color: var(--muted); }
.pill { font-size: 13px; font-weight: 700; color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); padding: 6px 10px; border-radius: 999px; }
.heatmap { display: grid; grid-template-columns: repeat(26, 1fr); grid-template-rows: repeat(7, 1fr); grid-auto-flow: column; gap: 4px; }
.heatmap i, .heat-legend i { aspect-ratio: 1; border-radius: 4px; background: color-mix(in srgb, var(--ink) 7%, transparent); transition: background .5s var(--ease), transform .5s var(--ease); transform: scale(.6); }
.heatmap i.on { transform: scale(1); }
.heatmap i[data-l="1"].on, .heat-legend i:nth-of-type(2) { background: #cfe8d7; }
.heatmap i[data-l="2"].on, .heat-legend i:nth-of-type(3) { background: #8fcaa9; }
.heatmap i[data-l="3"].on, .heat-legend i:nth-of-type(4) { background: #3fa37c; }
.heatmap i[data-l="4"].on, .heat-legend i:nth-of-type(5) { background: #17694c; }
.heat-legend { display: flex; align-items: center; gap: 4px; justify-content: flex-end; margin-top: 14px; color: var(--muted); }
.heat-legend i { width: 13px; transform: none; }
.big-score b { font: 800 64px/1 Manrope, sans-serif; letter-spacing: -.04em; }
.big-score small { color: var(--muted); margin-left: 6px; }
.chart { width: 100%; margin-top: 10px; overflow: visible; }
.chart-line { fill: none; stroke: var(--green); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 2s var(--ease); }
.chart-area { opacity: 0; transition: opacity 1.2s .8s; }
.chart-dot { fill: var(--green); stroke: var(--card-solid); stroke-width: 3; opacity: 0; transition: opacity .4s 1.8s; }
.in .chart-line { stroke-dashoffset: 0; } .in .chart-area, .in .chart-dot { opacity: 1; }
.days { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; padding: 0 2px; }
.stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat .ic { width: 38px; height: 38px; padding: 9px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.stat b { display: block; font: 800 34px/1.1 Manrope, sans-serif; margin-top: 12px; letter-spacing: -.03em; }
.stat small { color: var(--muted); font-size: 15px; }

/* Planner: pinned horizontal timeline */
.planner { height: 320vh; }
.planner-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: clamp(20px, 5vh, 56px); padding-top: 70px; }
.planner-head .lead { margin-bottom: 0; }
.track-wrap { position: relative; }
.track { list-style: none; margin: 0; padding: 30px 0 30px max(20px, (100vw - var(--wrap)) / 2); display: flex; gap: 22px; align-items: center; width: max-content; will-change: transform; }
.slot { width: 260px; flex: none; padding: 22px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); display: grid; gap: 10px; position: relative; }
.slot time { font: 800 14px/1 Manrope, sans-serif; color: var(--muted); letter-spacing: .04em; }
.slot b { font: 800 21px/1.15 Manrope, sans-serif; letter-spacing: -.02em; }
.slot small { color: var(--muted); }
.si { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--mint); color: var(--green); }
.si-amber { background: #fdecc9; color: #c9851d; } .si-blue { background: #dbeefb; color: var(--blue); } .si-violet { background: #e8e5f7; color: var(--violet); }
.slot.done::after { content: ""; position: absolute; right: 18px; top: 18px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--green) 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='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 16px no-repeat; }
.slot-phone { width: auto; padding: 0; background: none; border: 0; box-shadow: none; backdrop-filter: none; }
.slot-phone .phone { --w: 230px; }
.track-line { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--line); width: min(var(--wrap), 100% - 40px); margin: 0 auto; border-radius: 3px; overflow: hidden; }
.track-line span { display: block; height: 100%; width: calc(var(--tp, 0) * 100%); background: linear-gradient(90deg, var(--amber), #ef8f4a, #8b80c5); }

/* Night: light/dark compare */
.compare { --w: 320px; touch-action: pan-y; }
.cmp-dark { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--split)); z-index: 2; }
.cmp-dark > img { z-index: 0; }
.cmp-handle { position: absolute; z-index: 4; top: 0; bottom: 0; left: var(--split); width: 2px; background: rgba(255,255,255,.9); box-shadow: 0 0 20px rgba(95,211,160,.9); }
.cmp-handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; gap: 6px; padding: 10px 12px; border-radius: 999px; background: #fff; color: #17221d; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.cmp-handle .ic { width: 16px; height: 16px; }
.cmp-range { position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.cmp-range:focus-visible + * , .compare:focus-within { outline: 3px solid var(--accent); outline-offset: 6px; }
.sync-row { display: grid; gap: 14px; }
.sync { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.sync .ic { color: var(--accent); margin-top: 2px; }
.sync b { display: block; } .sync small { color: var(--muted); font-size: 15px; }

/* Pricing */
.center-head { text-align: center; display: grid; justify-items: center; margin-bottom: 40px; }
.toggle { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }
.toggle button { border: 0; cursor: pointer; padding: 11px 18px; border-radius: 999px; background: none; color: var(--muted); font: 700 15px/1 "DM Sans", sans-serif; display: flex; gap: 8px; align-items: center; transition: background .3s, color .3s; }
.toggle button[aria-pressed="true"] { background: var(--green); color: #fff; }
.save { font-size: 11px; padding: 4px 7px; border-radius: 999px; background: var(--amber); color: #3a2a12; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 400px)); justify-content: center; gap: 22px; }
.plan { position: relative; padding: 34px; border-radius: 30px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); display: grid; gap: 18px; align-content: start; }
.plan h3 { margin: 0; font: 800 26px/1 Manrope, sans-serif; }
.price { margin: 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price b { font: 800 56px/1 Manrope, sans-serif; letter-spacing: -.04em; }
.price small { color: var(--muted); }
.plan .btn { justify-content: center; margin-top: 8px; }
.plan-premium { border: 1px solid color-mix(in srgb, var(--accent) 60%, transparent); box-shadow: var(--shadow), 0 0 80px -10px color-mix(in srgb, var(--accent) 45%, transparent); }
.plan-premium::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--a, 0deg), transparent 0 70%, var(--accent), var(--amber), transparent); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 6s linear infinite; pointer-events: none; }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --a: 360deg; } }
.badge { position: absolute; top: 22px; right: 22px; font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 999px; background: var(--amber); color: #3a2a12; }
.fine { text-align: center; color: var(--muted); font-size: 14px; margin: 28px auto 0; max-width: 40em; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font: 700 20px/1.3 Manrope, sans-serif; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 28px; font-weight: 400; color: var(--accent); transition: transform .3s var(--ease); }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { margin: 0 0 20px; color: var(--muted); }
details a { color: var(--accent); }

/* Final */
.final { padding: 150px 0 220px; overflow: hidden; }
.final-icon { width: 112px; height: 112px; border-radius: 28px; margin: 0 auto 30px; box-shadow: 0 0 0 10px rgba(255,255,255,.06), 0 30px 80px -10px rgba(95,211,160,.5); animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.final .lead { margin-inline: auto; }
.stores { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.store { display: grid; text-align: left; padding: 12px 24px; min-width: 190px; border-radius: 16px; background: var(--ink); color: var(--card-solid); text-decoration: none; transition: transform .3s var(--ease); }
.store:hover { transform: translateY(-3px); }
.store small { font-size: 12px; opacity: .75; } .store b { font: 800 22px/1.1 Manrope, sans-serif; }
.dawn { position: absolute; left: 50%; bottom: -60vh; width: 160vw; height: 90vh; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,200,140,.55), rgba(255,170,120,.18) 55%, transparent 75%); opacity: var(--dawn, 0); pointer-events: none; }

/* Footer */
.footer { padding: 30px 0 40px; border-top: 1px solid var(--line); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer nav a, .footer small { color: var(--muted); text-decoration: none; font-size: 14px; }
.footer nav a:hover { color: var(--ink); }


/* ---------- Your day on this page (visit = habit day) ---------- */
.dayring-wrap { position: relative; }
.dayring { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; border: 1px solid var(--line); background: var(--card-solid); color: var(--ink); cursor: pointer; font: 800 14px/1 Manrope, sans-serif; font-variant-numeric: tabular-nums; transition: transform .3s var(--ease), box-shadow .4s; }
.dayring:hover { transform: translateY(-1px); }
.dayring svg { width: 26px; height: 26px; transform: rotate(-90deg); }
.dayring circle { fill: none; stroke-width: 3.2; }
.dr-track { stroke: color-mix(in srgb, var(--ink) 12%, transparent); }
.dr-val { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 56.55; stroke-dashoffset: 56.55; transition: stroke-dashoffset .8s var(--ease); }
.dayring.pop { animation: ringpop .7s var(--ease); }
@keyframes ringpop { 30% { transform: scale(1.18); box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 25%, transparent); } }
.dayring.perfect { background: linear-gradient(135deg, #f7b955, #238b65); color: #fff; border-color: transparent; }
.dayring.perfect .dr-track { stroke: rgba(255,255,255,.35); } .dayring.perfect .dr-val { stroke: #fff; }
.daylist { position: absolute; right: 0; top: calc(100% + 12px); width: 300px; padding: 18px; border-radius: 22px; background: var(--card-solid); border: 1px solid var(--line); box-shadow: var(--shadow); z-index: 60; }
.daylist-title { margin: 0; font: 800 17px/1.2 Manrope, sans-serif; }
.daylist-sub { margin: 4px 0 12px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.daylist ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.daylist li { display: grid; grid-template-columns: 24px 1fr; column-gap: 10px; align-items: center; padding: 8px 10px; border-radius: 14px; background: color-mix(in srgb, var(--ink) 4%, transparent); }
.daylist li::before { content: ""; grid-row: span 2; width: 22px; height: 22px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--ink) 22%, transparent); }
.daylist li.done::before { border: 0; background: var(--green) 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.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.daylist a { font-weight: 700; text-decoration: none; font-size: 15px; }
.daylist li.done a { text-decoration: line-through; text-decoration-color: var(--accent); }
.daylist small { color: var(--muted); font-size: 12px; }
.toast { position: fixed; z-index: 70; left: 50%; bottom: 26px; transform: translate(-50%, 140%); display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 18px; background: #17221d; color: #fff; box-shadow: 0 20px 40px -12px rgba(0,0,0,.45); font-weight: 600; transition: transform .6s var(--ease); max-width: calc(100% - 32px); }
.toast.show { transform: translate(-50%, 0); }
.toast > div { white-space: nowrap; }
.toast { width: max-content; }
.toast .t-ic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--green); flex: none; }
.toast small { display: block; color: #a8b8b0; font-weight: 500; font-size: 13px; }
.step-hint { display: inline-flex; align-items: center; gap: 10px; margin: 18px 0 0; padding: 9px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink); background: var(--card); border: 1px dashed color-mix(in srgb, var(--accent) 55%, transparent); transition: background .4s, border-color .4s; }
.sh-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 rgba(242,196,107,.7); animation: pulse2 2s infinite; }
@keyframes pulse2 { 70% { box-shadow: 0 0 0 9px rgba(242,196,107,0); } }
.step-hint.done { border-style: solid; border-color: var(--accent); }
.step-hint.done .sh-dot { animation: none; background: var(--green); }
.sips { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.sip { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 16px; border: 1px solid rgba(75,157,216,.35); background: rgba(255,255,255,.72); color: #2d7fbf; font: 700 15px/1 "DM Sans", sans-serif; cursor: pointer; transition: transform .25s var(--ease), background .3s; backdrop-filter: blur(10px); }
.sip:hover { transform: translateY(-2px); background: #fff; }
.sip:active { transform: scale(.96); }
.sip:disabled { opacity: .5; cursor: default; transform: none; }
.mood-actions { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.mood-saved { color: var(--accent); font-weight: 700; font-size: 15px; }
.slot { cursor: pointer; transition: transform .35s var(--ease), border-color .3s; outline-offset: 4px; }
.slot:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.slot:not(.done)::after { content: ""; position: absolute; right: 18px; top: 18px; width: 24px; height: 24px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--ink) 22%, transparent); }
.slot.done::after { animation: tick .5s var(--ease); }
@keyframes tick { 0% { transform: scale(0); } 70% { transform: scale(1.25); } }
.slot-phone::after { display: none; }
.heatmap i.today { outline: 2px solid var(--amber); outline-offset: 1px; }

/* Giant outlined time numerals drifting behind sections */
section[data-clock] { overflow-x: clip; }
section[data-clock]::before { content: attr(data-clock); position: absolute; z-index: 0; right: -2vw; top: 50%; transform: translate3d(0, calc(-50% + var(--py, 0px)), 0);
  font: 800 clamp(160px, 26vw, 420px)/1 Manrope, sans-serif; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--ink) 9%, transparent); pointer-events: none; white-space: nowrap; }
section[data-clock] > .wrap { position: relative; z-index: 1; }
.mood[data-clock]::before, .night[data-clock]::before { right: auto; left: -2vw; }
.pricing[data-clock]::before { top: 30%; right: 50%; transform: translate3d(50%, calc(-50% + var(--py, 0px)), 0); }

/* Sun rays */
.sun span::after { content: ""; position: absolute; inset: -180px; border-radius: 50%; opacity: calc(.35 + var(--rays, 0) * .65);
  background: repeating-conic-gradient(from 0deg, rgba(255,226,160,.22) 0deg 5deg, rgba(255,226,160,0) 5deg 18deg);
  -webkit-mask: radial-gradient(circle, #000 18%, transparent 68%); mask: radial-gradient(circle, #000 18%, transparent 68%); animation: rays 60s linear infinite; }
@keyframes rays { to { transform: rotate(360deg); } }
.fireflies { position: absolute; inset: 0; width: 100%; height: 100%; opacity: var(--night); }

/* Intro: 05:59 → 06:00 */
.intro { position: fixed; inset: 0; z-index: 200; display: grid; place-content: center; justify-items: center; gap: 18px; background: radial-gradient(120% 80% at 50% 120%, #3c2f45 0%, #101b16 55%, #0b1411 100%); color: #eef5f1; transition: opacity 1s var(--ease), visibility 1s; cursor: pointer; overflow: hidden; }
.intro.out { opacity: 0; visibility: hidden; }
.intro-time { font: 800 clamp(72px, 14vw, 180px)/1 Manrope, sans-serif; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.intro-time span { display: inline-block; transition: transform .6s var(--ease), opacity .6s; }
.intro p { margin: 0; color: #a8b8b0; font-size: 18px; letter-spacing: .02em; opacity: 0; transform: translateY(10px); transition: all .8s var(--ease) .2s; }
.intro.morning p { opacity: 1; transform: none; }
.intro-sun { position: absolute; left: 50%; bottom: -160px; width: 320px; height: 320px; margin-left: -160px; border-radius: 50%; background: radial-gradient(circle, #fff3d2 0 22%, #ffcf86 40%, rgba(255,190,110,0) 70%); transition: transform 1.5s var(--ease); }
.intro.morning .intro-sun { transform: translateY(-120px) scale(1.4); }
.intro.morning { background: radial-gradient(120% 80% at 50% 120%, #f6c89c 0%, #5d5370 45%, #13201a 100%); }
.intro { transition: opacity 1s var(--ease), visibility 1s, background 1.2s; }
.intro small { position: absolute; bottom: 24px; color: #708078; font-size: 13px; }

/* Perfect day finale */
.final.perfect .dawn { opacity: 1 !important; transform: translateX(-50%) translateY(-18vh) scale(1.2); transition: transform 2.4s var(--ease), opacity 1s; }
.final.perfect .final-icon { box-shadow: 0 0 0 10px rgba(255,255,255,.08), 0 0 120px 30px rgba(247,185,85,.55); }
.result-score { display: inline-flex; align-items: center; gap: 10px; margin: 0 auto 22px; padding: 8px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 700; }
.result-score b { font: 800 18px/1 Manrope, sans-serif; color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .buddy-svg { width: 115px; height: 138px; left: -57px; top: -86px; }
  .buddy-say { right: 66px; top: -92px; }
  .hero-grid, .feature-grid, .water-grid, .mood-grid, .night-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .hero-stage { height: 600px; max-width: 460px; width: 100%; margin: 0 auto; }
  .feature-stage { min-height: 600px; }
  .progress-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
  .mood-stage { min-height: 520px; }
  .plans { grid-template-columns: minmax(0, 440px); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .nav { top: 10px; padding: 8px 8px 8px 12px; }
  .brand span { display: none; }
  .clock-phase { display: none; }
  .hero-stage { height: 560px; }
  .hero-phone { --w: 230px; right: 0; }
  .try-card { padding: 18px; }
  .try-title { font-size: 19px; }
  .ring { width: 86px; height: 86px; }
  .feature-stage .phone, .compare { --w: 250px; }
  .feature, .water, .mood, .progress, .night, .pricing, .faq, .manifesto { padding: 90px 0; }
  .f1 { left: -4px; } .f2 { right: -4px; } .f3 { left: 0; }
  .float { padding: 10px 14px 10px 10px; } .fi { width: 36px; height: 36px; }
  .heatmap { grid-template-columns: repeat(16, 1fr); }
  .heatmap i:nth-child(n+113) { display: none; }
  .phone.mini { display: none; }
  .planner { height: auto; }
  .planner-pin { position: relative; height: auto; padding: 90px 0; }
  .track-wrap { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .track { padding-left: 16px; padding-right: 16px; transform: none !important; }
  .slot { scroll-snap-align: center; width: 230px; }
  .track-line { display: none; }
  .plan { padding: 26px; }
  .sun span { width: 120px; height: 120px; left: -60px; top: -60px; }
  .buddy-svg { width: 80px; height: 96px; left: -40px; top: -60px; }
  .buddy-say { display: none; }
  .sun span::before { inset: -150px; }
  .moon span { width: 44px; height: 44px; left: -22px; top: -22px; opacity: calc(var(--night) * .55); }
  .moon span::after { width: 9px; height: 9px; left: 24px; top: 10px; }
  .daylist { position: fixed; left: 12px; right: 12px; top: 74px; width: auto; }
  .dayring { padding: 5px 9px 5px 6px; }
  section[data-clock]::before { font-size: 44vw; opacity: .8; }
  .sun span::after { inset: -110px; }
  .nav-links .btn-small { display: none; }
  .toast { bottom: 16px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .planner { height: auto; } .planner-pin { position: relative; height: auto; padding: 120px 0; }
  .track-wrap { overflow-x: auto; } .track { transform: none !important; }
  .cursor-glow { display: none; }
  .fireflies, .intro { display: none; }
  .sun span::after { animation: none; }
  .b-zz text { animation: none; opacity: .8; }
}
