/* Punch Assist: the website is the app. One day, from sunrise to the next sunrise, as you scroll.
   Colours come from the app's own day theme (see src/js/site.js): the script sets the variables below on :root every frame. */

@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("/fonts/nunito-sans.ttf") format("truetype"); font-weight: 200 1000; font-display: swap; }
@font-face { font-family: "Recursive Mono"; src: url("/fonts/recursive-mono.ttf") format("truetype"); font-weight: 300 1000; font-display: swap; }

:root {
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Recursive Mono", ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --spring: cubic-bezier(.34, 1.4, .5, 1);

  /* the day, as the app sees it (set by site.js; these are the morning values) */
  --canvas: #FFF3E3; --raised: #FFF9F0; --sunken: #FBE6CF; --surface: #FFFFFF;
  --sky1: #FFD2A6; --sky2: #FFF3E3; --body: #FFD76A; --primary-c: #FFD6BC;
  --ink: #2B2140; --ink2: #54467A; --ink3: #6F5F93; --line: #E8E0F2; --line2: #CFC2E3;
  --break-c: #EEE9FF; --ok-c: #E3F5EA; --ot-c: #FFE3DB; --night: 0;

  /* fixed accents */
  --peach: #FFB38A; --peach-d: #F59668; --lilac: #B9A7FF; --sage: #9ED9B8; --coral: #FF8468; --butter: #FFD76A;
  --on-peach: #2B2140;
  --r-card: 32px; --r-pill: 999px;
  --shadow: 0 24px 60px color-mix(in srgb, var(--ink) 12%, transparent);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--canvas); }
body { margin: 0; overflow-x: clip; background: transparent; color: var(--ink); font: 400 17px/1.62 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { max-width: 100%; display: block; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid #8B7BFF; outline-offset: 3px; border-radius: 10px; }
section { position: relative; }

/* ---------- the sky, the sun and the lava lamp (all fixed behind the page) ---------- */
.sky { position: fixed; inset: 0; z-index: -4; background: linear-gradient(180deg, var(--sky1) 0%, var(--canvas) 66%); }
.orbit { position: fixed; inset: 0; z-index: -3; pointer-events: none; overflow: hidden; }
.orbit svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbit path { fill: none; stroke: color-mix(in srgb, var(--ink) 11%, transparent); stroke-width: 1.5; stroke-dasharray: 2 9; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.orbit-body { position: absolute; left: 0; top: 0; width: clamp(150px, 20vmax, 280px); aspect-ratio: 1; margin: calc(clamp(150px, 20vmax, 280px) / -2) 0 0 calc(clamp(150px, 20vmax, 280px) / -2); border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--body) 92%, transparent) 0 22%, color-mix(in srgb, var(--body) 34%, transparent) 38%, transparent 100%); will-change: transform; opacity: calc(.95 - var(--night) * .62); }
.lava { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.lava i { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; opacity: calc(.46 - var(--night) * .2); background: radial-gradient(closest-side, var(--c), transparent); animation: sway var(--d) ease-in-out infinite alternate, wobble calc(var(--d) / 5) ease-in-out infinite alternate; will-change: translate, scale; }
.lava i:nth-child(1) { --c: var(--lilac); --d: 90s; top: -28vmax; right: -22vmax; }
.lava i:nth-child(2) { --c: var(--peach); --d: 110s; top: 28vh; left: -30vmax; }
.lava i:nth-child(3) { --c: var(--sage); --d: 100s; bottom: -30vmax; right: -24vmax; }
.lava i:nth-child(4) { --c: var(--peach); --d: 130s; bottom: -34vmax; left: 8vw; width: 56vmax; height: 56vmax; }
@keyframes sway { from { translate: 0 0; } to { translate: -7vmax 6vmax; } }
@keyframes wobble { from { scale: 1 1; } to { scale: 1.09 .91; } }

/* ---------- header: a floating pill, like the app's bottom bar turned sideways ---------- */
.bar { position: fixed; z-index: 80; top: 14px; left: 50%; transform: translateX(-50%); width: min(1160px, calc(100% - 24px)); display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 8px 8px 8px 16px; border-radius: var(--r-pill); background: color-mix(in srgb, var(--surface) 62%, transparent); border: 1.5px solid var(--line); backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6); box-shadow: 0 12px 44px color-mix(in srgb, var(--ink) 9%, transparent); transition: transform .6s var(--ease), box-shadow .4s; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 600 20px/1 var(--serif); letter-spacing: -.015em; color: var(--ink); white-space: nowrap; }
.brand svg { flex: none; width: 34px; height: 34px; filter: drop-shadow(0 4px 10px rgba(255, 150, 90, .35)); }
.bar-nav { display: flex; gap: 2px; }
.bar-nav a { padding: 9px 14px; border-radius: var(--r-pill); font-weight: 700; font-size: 14.5px; color: var(--ink2); transition: background .25s, color .25s; }
.bar-nav a:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink); }
.bar-right { display: flex; align-items: center; gap: 8px; }
.clock { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: var(--r-pill); background: color-mix(in srgb, var(--ink) 6%, transparent); font: 700 13.5px/1 var(--sans); color: var(--ink2); font-variant-numeric: tabular-nums; min-width: 98px; }
.clock svg { width: 34px; height: 21px; overflow: visible; flex: none; }
.clock .track { fill: none; stroke: color-mix(in srgb, var(--ink) 24%, transparent); stroke-width: 2.2; stroke-linecap: round; }
.clock .sunbit { fill: var(--body); filter: drop-shadow(0 0 4px var(--body)); }
body:not(.home) .clock { display: none; }
html[data-fixed] .clock { display: none; }
.theme-btn { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); background: color-mix(in srgb, var(--surface) 55%, transparent); display: grid; place-items: center; transition: background .25s, transform .4s var(--spring); }
.theme-btn:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); transform: rotate(18deg); }
.theme-btn svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.theme-btn .t-sun { fill: var(--ink); stroke: none; transition: opacity .4s, transform .6s var(--ease); transform-origin: 12px 12px; transform: scale(calc(1 - var(--night)*.2)); opacity: calc(1 - var(--night)); }
.theme-btn .t-rays { opacity: calc(1 - var(--night)); transition: transform .8s var(--ease); transform-origin: 12px 12px; }
.theme-btn:hover .t-rays { transform: rotate(45deg); }
.theme-btn .t-moon { fill: var(--ink); stroke: none; opacity: var(--night); }
.bar-cta { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: var(--r-pill); background: var(--peach); color: var(--on-peach); font-weight: 800; font-size: 14.5px; white-space: nowrap; transition: transform .35s var(--ease), box-shadow .3s; }
.bar-cta:hover { box-shadow: 0 8px 26px rgba(255, 179, 138, .55); transform: translateY(-1px); }
.bar-cta[aria-disabled="true"], .btn[aria-disabled="true"] { background: color-mix(in srgb, var(--ink) 9%, transparent); color: var(--ink3); pointer-events: none; box-shadow: none; }
.bar-cta .short { display: none; }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); background: color-mix(in srgb, var(--surface) 55%, transparent); position: relative; }
.menu-btn i { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-btn i:first-child { top: 16px; } .menu-btn i:last-child { top: 23px; }
body.menu-open .menu-btn i:first-child { top: 19px; transform: rotate(45deg); } body.menu-open .menu-btn i:last-child { top: 19px; transform: rotate(-45deg); }
@media (max-width: 1040px) { .bar-nav { display: none; } .menu-btn { display: block; } }
@media (max-width: 1040px) {
  .bar-nav { display: flex; flex-direction: column; position: fixed; top: 72px; left: 12px; right: 12px; padding: 10px; border-radius: 28px; background: var(--surface); border: 1.5px solid var(--line); box-shadow: var(--shadow); opacity: 0; transform: translateY(-10px) scale(.98); pointer-events: none; transition: opacity .3s, transform .45s var(--ease); }
  body.menu-open .bar-nav { opacity: 1; transform: none; pointer-events: auto; }
  .bar-nav a { padding: 15px 18px; font-size: 17px; border-radius: 18px; }
}
@media (max-width: 700px) { .bar-cta .long { display: none; } .bar-cta .short { display: inline; } .clock { display: none; } .brand { font-size: 18px; } }

/* ---------- shared pieces ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 800 12.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink2); margin: 0 0 20px; }
.eyebrow .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--peach); box-shadow: 0 0 0 5px color-mix(in srgb, var(--peach) 28%, transparent); animation: pulse 3.2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px color-mix(in srgb, var(--peach) 8%, transparent); } }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.03em; line-height: 1.04; }
.display { font-size: clamp(34px, 5.2vw, 72px); }
.u { background: linear-gradient(transparent 62%, color-mix(in srgb, var(--peach) calc(62% - var(--night) * 26%), transparent) 62% 92%, transparent 92%); padding: 0 .04em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.lead { font-size: clamp(18px, 1.8vw, 21px); color: var(--ink2); max-width: 31em; line-height: 1.6; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 0 30px; border-radius: var(--r-pill); background: var(--peach); color: var(--on-peach); font: 800 16.5px/1 var(--sans); border: 2px solid transparent; box-shadow: 0 14px 34px rgba(255, 179, 138, .45); transition: transform .35s var(--ease), box-shadow .3s, background .3s; will-change: transform; }
.btn:hover { box-shadow: 0 18px 44px rgba(255, 179, 138, .62); }
.btn.ghost { background: color-mix(in srgb, var(--surface) 50%, transparent); border-color: var(--line2); color: var(--ink); box-shadow: none; }
.btn.ghost:hover { background: color-mix(in srgb, var(--surface) 80%, transparent); }
.btn i { font-style: normal; transition: transform .35s var(--ease); } .btn:hover i { transform: translateX(4px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.mt { margin-top: 26px; }
.chips-row { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin: 30px 0 0; font-weight: 700; color: var(--ink2); }
.chips-row li::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--sage); margin-right: 9px; }

/* the card, as the app draws it: raised surface, thin lilac border, deep radius, and a light that follows the pointer */
.card { position: relative; background: color-mix(in srgb, var(--surface) 80%, transparent); border: 1.5px solid var(--line); border-radius: var(--r-card); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); overflow: hidden; isolation: isolate; transition: transform .55s var(--ease), border-color .3s; }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--peach) 30%, transparent), transparent 62%); }
.card:hover { border-color: var(--line2); } .card:hover::before { opacity: 1; }

/* headline words rise out of a mask */
.js .sp .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .02em .14em; margin: 0 -.02em -.14em; }
.js .sp .wi { display: inline-block; transform: translate3d(0, 112%, 0) rotate(3deg); transform-origin: 0 100%; transition: transform 1.05s var(--ease) calc(var(--k, 0) * 55ms); }
.js .sp.in .wi { transform: none; }
.js [data-reveal] { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity .95s var(--ease), transform .95s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- THE STORY: a pinned app and the day around it ---------- */
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, 440px); gap: clamp(30px, 6vw, 100px); max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.steps { grid-column: 1; grid-row: 1; }
.stage { grid-column: 2; grid-row: 1; position: sticky; top: 0; height: 100svh; display: grid; place-items: center; align-self: start; }
.stage-inner { position: relative; display: grid; place-items: center; }
.step { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 11vh 0; }
.step:first-child { padding-top: 17vh; }
@media (min-width: 981px) { .step:last-child { margin-bottom: 38svh; } }
.js .step:not(.hero) { opacity: .22; filter: blur(1.2px); transition: opacity .7s var(--ease), filter .7s var(--ease); }
.js .step.is-active { opacity: 1; filter: none; }
.step-time { display: inline-flex; align-items: center; gap: 12px; align-self: flex-start; font: 700 13.5px/1 var(--mono); letter-spacing: .08em; color: var(--ink2); padding: 9px 14px 9px 10px; border-radius: var(--r-pill); background: color-mix(in srgb, var(--surface) 70%, transparent); border: 1.5px solid var(--line); margin-bottom: 26px; }
.step-time svg { width: 22px; height: 22px; }
.step h2 { font-size: clamp(36px, 4.9vw, 70px); margin-bottom: 22px; max-width: 11em; }
.step p.body { font-size: clamp(17.5px, 1.6vw, 20px); color: var(--ink2); max-width: 28em; }
.step-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; list-style: none; }
.step-tags li { padding: 9px 15px; border-radius: var(--r-pill); font: 800 13.5px/1 var(--sans); background: var(--chip, var(--primary-c)); color: var(--ink); }
.step-tags li:nth-child(2) { --chip: var(--break-c); } .step-tags li:nth-child(3) { --chip: var(--ok-c); }
.step-shot { display: none; }
.hero h1 { font-size: clamp(46px, 6.7vw, 106px); line-height: .98; letter-spacing: -.04em; margin-bottom: 26px; }
.hero h1 .ln { display: block; overflow: hidden; padding: 0 .04em .12em; margin: 0 -.04em -.12em; }
.hero h1 .ln > span { display: block; transform: translate3d(0, 108%, 0); animation: rise 1.25s var(--ease) calc(var(--l) * 110ms + 150ms) forwards; }
@keyframes rise { to { transform: none; } }
.no-js .hero h1 .ln > span, .reduced .hero h1 .ln > span { transform: none; animation: none; }
.cue { display: inline-flex; align-items: center; gap: 12px; margin-top: 54px; font: 800 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink3); }
.cue i { position: relative; width: 22px; height: 36px; border-radius: 14px; border: 2px solid var(--line2); }
.cue i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 3px; background: var(--peach); animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70%, 100% { transform: translateY(12px); opacity: 0; } }

/* the app, hanging in the sky: callouts and rings around it */
.stage-ring { position: absolute; width: 150%; aspect-ratio: 1; left: 50%; top: 50%; translate: -50% -50%; pointer-events: none; }
.stage-ring circle { fill: none; stroke: color-mix(in srgb, var(--ink) 9%, transparent); stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-dasharray: 3 11; transform-origin: 50% 50%; }
.stage-ring circle:nth-child(1) { animation: spin 160s linear infinite; } .stage-ring circle:nth-child(2) { animation: spin 220s linear infinite reverse; } .stage-ring circle:nth-child(3) { animation: spin 300s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.call { position: absolute; display: grid; gap: 3px; padding: 12px 16px; border-radius: 22px; background: color-mix(in srgb, var(--surface) 82%, transparent); border: 1.5px solid var(--line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow); opacity: 0; transform: translate3d(0, 14px, 0) scale(.92); transition: opacity .55s var(--ease), transform .7s var(--spring); pointer-events: none; z-index: 4; }
.call small { white-space: nowrap; font: 800 10.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink3); }
.call b { font: 600 22px/1.05 var(--serif); letter-spacing: -.02em; white-space: nowrap; }
.stage[data-scene="working"] .call.c-working, .stage[data-scene="early"] .call.c-early, .stage[data-scene="break"] .call.c-break,
.stage[data-scene="insights"] .call.c-insights, .stage[data-scene="mindful"] .call.c-mindful, .stage[data-scene="settings"] .call.c-settings,
.stage[data-scene="idle"] .call.c-idle { opacity: 1; transform: none; }
.call.l1 { right: calc(100% - 18px); top: 17%; } .call.l2 { right: calc(100% - 18px); bottom: 25%; } .call.r1 { left: calc(100% - 18px); top: 27%; } .call.r2 { left: calc(100% - 18px); bottom: 16%; }
@media (max-width: 1420px) { .call.r1, .call.r2 { display: none; } }
.call.c-break b, .call.c-mindful b { color: var(--ink); }
.call.c-early.r2 { bottom: 5%; }
.call .pip { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--sage); margin-right: 7px; }

@media (max-width: 980px) {
  .story-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
  .steps { display: contents; }
  .stage { position: relative; height: auto; order: 1; padding: 6px 0 30px; grid-column: 1; grid-row: auto; }
  .step:first-child { order: 0; min-height: 0; padding: 120px 0 18px; }
  .step:not(:first-child) { order: 2; min-height: 0; padding: 18px 0 44px; opacity: 1 !important; filter: none !important; }
  .step-shot { display: block; width: min(64vw, 270px); margin: 26px auto 0; border-radius: 34px; overflow: hidden; border: 6px solid #1d1530; box-shadow: var(--shadow); }
  .step-shot img { width: 100%; height: auto; }
  .call { display: none; }
  .stage-ring { display: none; }
  .cue { display: none; }
  .step h2 { max-width: none; }
}

/* ---------- features: the app's cards ---------- */
.sec { padding: clamp(70px, 12vh, 140px) 0; scroll-margin-top: 70px; }
.sec-head { max-width: 880px; margin-bottom: clamp(34px, 6vh, 68px); }
.sec-head .lead { margin-top: 22px; }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.tile { grid-column: span 4; padding: 30px; min-height: 330px; display: flex; flex-direction: column; }
.tile:hover { transform: translateY(-6px); }
.tile h3 { font-size: 27px; margin-bottom: 10px; }
.tile > p { color: var(--ink2); font-size: 16.5px; max-width: 24em; }
.t-wide { grid-column: span 8; }
@media (max-width: 1000px) { .tile, .t-wide { grid-column: span 6; } }
@media (max-width: 660px) { .bento { grid-template-columns: 1fr; } .tile, .t-wide { grid-column: 1; } }
.tl { margin-top: auto; padding-top: 30px; width: 94%; position: relative; }
.tl-bar { display: grid; grid-template-columns: 30fr 5fr 50fr; height: 56px; border-radius: 18px; overflow: hidden; gap: 3px; }
.tl-bar span { font: 800 12px/56px var(--sans); text-align: center; color: #2B2140; }
.tl-bar .w1, .tl-bar .w2 { background: linear-gradient(90deg, #FFB38A, #FFD08A); } .tl-bar .br { background: var(--lilac); font-size: 0; }
.tl-end { position: absolute; top: 4px; left: 94%; transform: translateX(-50%); transition: left 1.6s var(--ease) .4s; text-align: center; }
.tl-end b { display: block; font: 700 13px/1 var(--sans); background: #2B2140; color: #fff; padding: 6px 10px; border-radius: var(--r-pill); margin-bottom: 4px; white-space: nowrap; }
.tl-end i { position: absolute; left: 50%; top: 24px; width: 2px; height: 56px; background: #2B2140; opacity: .5; transform: translateX(-50%); }
.tile.in .tl-end { left: 99%; }
.tl-axis { display: flex; justify-content: space-between; font: 700 12.5px/1 var(--sans); color: var(--ink3); padding-top: 10px; }
.notif { margin-top: auto; background: #1C1A24; color: #fff; border-radius: 26px; padding: 16px 18px; box-shadow: 0 18px 40px rgba(0, 0, 0, .3); }
.notif .n-top { display: flex; align-items: center; gap: 8px; font: 600 12px/1 var(--sans); color: #bbb6cb; margin-bottom: 10px; }
.notif .n-top svg { width: 18px; height: 18px; }
.notif b { display: block; font: 700 16px/1.3 var(--sans); } .notif em { display: block; font-style: normal; color: #bbb6cb; font-size: 14px; margin: 2px 0 12px; }
.notif .n-act { display: flex; gap: 8px; } .notif .n-act span { padding: 8px 14px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .1); font: 700 13px/1 var(--sans); }
.pickrow { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; padding-top: 26px; }
.pickrow span { padding: 12px 20px; border-radius: var(--r-pill); background: var(--surface); border: 2px solid var(--line2); font-weight: 800; font-size: 15px; animation: pick 6s infinite; }
.pickrow span:nth-child(2) { animation-delay: 2s; } .pickrow span:nth-child(3) { animation-delay: 4s; }
@keyframes pick { 0%, 28% { background: var(--primary-c); border-color: var(--peach); } 34%, 100% { background: var(--surface); border-color: var(--line2); } }
.ring { position: relative; margin-top: auto; width: 150px; height: 150px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 11; stroke-linecap: round; }
.ring .rt { stroke: color-mix(in srgb, var(--ink) 12%, transparent); }
.ring .rp { stroke: var(--peach); stroke-dasharray: 314; stroke-dashoffset: 314; transition: stroke-dashoffset 1.8s var(--ease) .3s; }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font: 600 44px/1 var(--serif); letter-spacing: -.03em; }
.habits { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; padding-top: 24px; }
.habits span { padding: 12px 18px; border-radius: var(--r-pill); background: var(--ok-c); font-weight: 800; font-size: 15px; animation: bob 5s ease-in-out infinite; }
.habits span:nth-child(2) { background: var(--break-c); animation-delay: -1.6s; } .habits span:nth-child(3) { background: var(--primary-c); animation-delay: -3.2s; }
@keyframes bob { 50% { transform: translateY(-7px); } }
.mini-bars { margin-top: auto; display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; height: 120px; align-items: end; padding-top: 24px; }
.mini-bars i { display: block; height: 100%; border-radius: 999px; background: color-mix(in srgb, var(--lilac) 20%, transparent); position: relative; overflow: hidden; }
.mini-bars i::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 0; border-radius: 999px; background: var(--sage); transition: height 1.2s var(--ease) calc(var(--n, 0) * 80ms + .3s); }
.tile.in .mini-bars i::after { height: var(--h); }
.mini-bars i:nth-child(1) { --n: 0; } .mini-bars i:nth-child(2) { --n: 1; } .mini-bars i:nth-child(3) { --n: 2; } .mini-bars i:nth-child(4) { --n: 3; } .mini-bars i:nth-child(5) { --n: 4; }
.files { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; padding-top: 22px; }
.files span { font: 600 13.5px/1 var(--mono); padding: 12px 16px; border-radius: 14px; background: color-mix(in srgb, var(--ink) 7%, transparent); }

/* ---------- the real screens: a drag-and-glide gallery ---------- */
.screens-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.arrows { display: flex; gap: 10px; flex: none; }
.arrows button { width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--line2); background: color-mix(in srgb, var(--surface) 70%, transparent); font-size: 22px; transition: background .25s, transform .35s var(--spring); }
.arrows button:hover { background: var(--primary-c); transform: scale(1.06); }
.track { display: flex; gap: clamp(16px, 2.4vw, 30px); overflow-x: auto; scroll-snap-type: x proximity; padding: 14px max(20px, calc((100vw - 1240px) / 2 + 40px)) 40px; scrollbar-width: none; cursor: grab; overscroll-behavior-x: contain; }
.track::-webkit-scrollbar { display: none; }
.track.drag { cursor: grabbing; scroll-snap-type: none; }
.shot { flex: none; width: clamp(220px, 24vw, 290px); scroll-snap-align: center; user-select: none; }
.shot .frame { border-radius: 38px; overflow: hidden; border: 7px solid #1d1530; box-shadow: var(--shadow); background: #fff; aspect-ratio: 9 / 19.4; transition: transform .6s var(--ease); }
.shot:hover .frame { transform: translateY(-8px) rotate(-.6deg); }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; pointer-events: none; -webkit-user-drag: none; }
.shot figcaption { margin-top: 18px; }
.shot figcaption b { display: block; font: 600 21px/1.2 var(--serif); letter-spacing: -.02em; }
.shot figcaption span { display: block; color: var(--ink2); font-size: 15px; margin-top: 4px; }

/* ---------- privacy ---------- */
.zero { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin: 6px 0 16px; }
.zero div { padding: 26px 28px; border-radius: 30px; }
.zero b { display: block; font: 600 clamp(54px, 6vw, 86px)/1 var(--serif); letter-spacing: -.04em; white-space: nowrap; }
.zero span { display: block; margin-top: 10px; font: 800 12.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink2); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }
.two-col .card { padding: 30px; }
.two-col h3 { font-size: 25px; margin-bottom: 14px; }
.ticks { list-style: none; display: grid; gap: 11px; }
.ticks li { color: var(--ink2); padding-left: 28px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 7px; border-left: 3px solid var(--sage); border-bottom: 3px solid var(--sage); transform: rotate(-48deg); }
.ticks li b { color: var(--ink); }
.more { margin-top: 26px; font-weight: 800; }
.more a { border-bottom: 2px solid var(--peach); padding-bottom: 2px; }

/* ---------- Free and Pro ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 800px) { .plans { grid-template-columns: 1fr; } }
.plan { padding: clamp(26px, 3.4vw, 44px); border-radius: 38px; }
.plan.pro { background: linear-gradient(160deg, color-mix(in srgb, var(--peach) 42%, var(--surface)), color-mix(in srgb, var(--lilac) 40%, var(--surface))); border-color: color-mix(in srgb, var(--peach) 60%, transparent); }
.plan h3 { font-size: 40px; } .plan-sub { color: var(--ink2); margin: 6px 0 24px; }
.plan ul { list-style: none; display: grid; gap: 13px; }
.plan li { padding-left: 30px; position: relative; font-weight: 600; }
.plan li::before { content: ""; position: absolute; left: 0; top: .55em; width: 13px; height: 8px; border-left: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(-48deg); opacity: .72; }
.plan-note { margin-top: 24px; color: var(--ink2); font-size: 15px; }

/* ---------- questions ---------- */
.narrow { max-width: 860px; }
.faq { display: grid; gap: 12px; }
.faq details { padding: 4px 26px; border-radius: 26px; }
.faq summary { cursor: pointer; list-style: none; padding: 21px 0; font: 600 21px/1.3 var(--serif); letter-spacing: -.015em; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 30px/1 var(--sans); color: var(--peach-d); transition: transform .4s var(--spring); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink2); padding: 0 0 22px; max-width: 40em; }
.faq a { border-bottom: 2px solid var(--peach); }

/* ---------- the next sunrise ---------- */
.final { padding: clamp(40px, 8vh, 90px) 0 clamp(70px, 12vh, 130px); }
.final-card { position: relative; border-radius: 52px; overflow: hidden; isolation: isolate; min-height: min(78vh, 600px); display: grid; align-items: end; background: linear-gradient(180deg, #2B2140 0%, #4B3140 62%, #8a4f52 100%); color: #fff; box-shadow: var(--shadow); }
.final-card .sunrise { position: absolute; left: 50%; bottom: -6%; width: min(120%, 980px); aspect-ratio: 2 / 1; translate: -50% 0; z-index: -1; }
.final-card .sunrise i { position: absolute; left: 50%; bottom: 0; translate: -50% 0; border-radius: 50% 50% 0 0; }
.final-card .sunrise i:nth-child(1) { width: 100%; aspect-ratio: 2 / 1; background: radial-gradient(closest-side at 50% 100%, rgba(255, 150, 104, .55), transparent 72%); }
.final-card .sunrise i:nth-child(2) { width: 56%; aspect-ratio: 2 / 1; background: radial-gradient(closest-side at 50% 100%, rgba(255, 215, 106, .75), rgba(255, 179, 138, .3) 60%, transparent 78%); }
.final-card .sunrise i:nth-child(3) { width: 24%; aspect-ratio: 2 / 1; border-radius: 999px 999px 0 0; background: radial-gradient(closest-side at 50% 100%, #FFE9A6 0, #FFD76A 62%, #FFC46A 100%); box-shadow: 0 0 80px 30px rgba(255, 215, 106, .55); transform: translateY(var(--rise, 40%)); transition: transform 2.2s var(--ease); }
.final-card.in .sunrise i:nth-child(3) { --rise: 0%; }
.final-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: linear-gradient(180deg, transparent, rgba(24, 16, 36, .62)); pointer-events: none; }
.final-copy { padding: clamp(30px, 6vw, 80px); max-width: 780px; margin: 0 auto; text-align: center; padding-bottom: clamp(120px, 22vw, 240px); }
.final-copy h2 { color: #fff; font-size: clamp(38px, 6vw, 84px); margin-bottom: 18px; }
.final-copy p { color: rgba(255, 255, 255, .8); font-size: 19px; max-width: 28em; margin: 0 auto; }
.final-copy .actions { justify-content: center; }
.final-copy .btn.ghost { color: #fff; border-color: rgba(255, 255, 255, .32); background: rgba(255, 255, 255, .08); }
.final-copy .btn[aria-disabled="true"] { background: rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .72); }

/* ---------- footer ---------- */
.foot { padding: 54px 0 44px; border-top: 1.5px solid var(--line); background: color-mix(in srgb, var(--surface) 42%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 30px; }
.foot-grid h4 { font: 800 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink3); margin: 0 0 14px; }
.foot-grid a:not(.brand) { display: block; color: var(--ink2); padding: 5px 0; font-weight: 600; transition: color .2s; }
.foot-grid a:not(.brand):hover { color: var(--ink); }
.foot-note { color: var(--ink2); margin-top: 14px; max-width: 20em; }
.foot-legal { color: var(--ink3); font-size: 14px; margin-top: 40px; }
.foot-legal a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }

/* ---------- document pages (privacy, terms, support, 404) ---------- */
body.doc main { padding-top: 100px; }
.doc-hero { padding-top: 60px; padding-bottom: 80px; }
.doc-title { font-size: clamp(40px, 6vw, 80px); margin-bottom: 18px; }
.prose { max-width: 760px; padding: 40px 0 70px; }
.prose h1 { font-size: clamp(36px, 5vw, 58px); margin-bottom: 16px; }
.prose h2 { font-size: 28px; margin: 2.1em 0 .6em; } .prose h3 { font-size: 21px; margin: 1.6em 0 .5em; }
.prose p, .prose li { color: var(--ink2); } .prose strong { color: var(--ink); }
.prose p { margin: 0 0 1.1em; }
.prose ul { padding-left: 1.2em; } .prose li { margin-bottom: .5em; }
.prose hr { border: 0; border-top: 1.5px solid var(--line); margin: 2.4em 0; }
.prose code { font: 600 .9em var(--mono); background: color-mix(in srgb, var(--ink) 8%, transparent); padding: 2px 6px; border-radius: 6px; }
.prose a { border-bottom: 2px solid var(--peach); }
.prose blockquote { margin: 1.2em 0; padding: 4px 18px; border-left: 4px solid var(--lilac); background: color-mix(in srgb, var(--surface) 70%, transparent); border-radius: 0 14px 14px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 15.5px; background: color-mix(in srgb, var(--surface) 70%, transparent); border-radius: 18px; border: 1.5px solid var(--line); display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.prose th { font-weight: 800; color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); } .prose td { color: var(--ink2); }
.prose .lead { font-size: 20px; margin-bottom: 1.4em; }

/* page-to-page crossfade where the browser supports it */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .28s var(--ease-io) both vt-out; }
::view-transition-new(root) { animation: .45s var(--ease-io) both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lava i, .eyebrow .dot, .pickrow span, .habits span, .stage-ring circle, .cue i::after { animation: none !important; }
  .js [data-reveal], .js .sp .wi { opacity: 1; transform: none; transition: none; }
  .hero h1 .ln > span { transform: none; animation: none; }
  .js .step:not(.hero) { opacity: 1; filter: none; }
  @view-transition { navigation: none; }
}
