/* Hapling: landing page
   Tokens first; then base, components (nav, store buttons, phone frame),
   then sections top to bottom. No build step. */


:root {
  /* colour: Rose noir's day half (lib/art/palette.dart) */
  --paper: #F7F1E6;
  --paper-2: #F0E7D8;
  --card: #FCF9F3;
  --ink: #141414;
  --ink-2: #45403A;
  --muted: #6A645C;
  --rule: rgba(20, 20, 20, .1);
  --red: #FF1400;
  --red-ink: #CC1000;
  --blue: #3257FF;
  --line: #FFB4A8;
  --wood: #B1A08C;
  --blush: #F9DAD5;
  --night: #050505;
  --night-ink: #F4EEE6;

  /* type */
  --f-display: 'Bricolage Grotesque', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-hand: 'Gaegu', 'Comic Sans MS', 'Chalkboard SE', cursive;
  --f-mono: 'DM Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --t-display: clamp(3rem, 1.4rem + 4.7vw, 5.75rem);
  --t-h2: clamp(2.25rem, 1.45rem + 3.1vw, 4.25rem);
  --t-h3: clamp(1.25rem, 1.12rem + .45vw, 1.55rem);
  --t-lede: clamp(1.125rem, 1.02rem + .45vw, 1.4rem);
  --t-body: 1.0625rem;

  /* space, radius, depth, motion */
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(40px, 4.8vw, 68px);
  --r-s: 12px; --r-m: 20px; --r-l: 28px; --r-xl: 40px;
  --sh-1: 0 1px 2px rgba(60, 40, 20, .06), 0 6px 16px -8px rgba(60, 40, 20, .14);
  --sh-2: 0 2px 6px rgba(60, 40, 20, .05), 0 28px 56px -24px rgba(60, 40, 20, .32);
  --sh-phone: 0 60px 90px -40px rgba(50, 28, 10, .5), 0 30px 50px -30px rgba(0, 0, 0, .35);
  --ease: cubic-bezier(.2, .75, .2, 1);
  --spring: cubic-bezier(.34, 1.5, .64, 1);
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; overflow-x: clip; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 var(--t-body)/1.55 var(--f-display); font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* paper grain */
body::before {
  content: ''; position: fixed; top: 0; left: 0; width: 100%; height: 100lvh; z-index: 0; pointer-events: none; opacity: .5;
  contain: strict;
  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='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .25 0 0 0 0 .15 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, .foot { position: relative; z-index: 1; }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 750; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
*, *::before, *::after { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--line); color: var(--ink); }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: 16px; z-index: 100; background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 12px; text-decoration: none; transform: translateY(calc(-100% - 40px)); transition: transform .2s; }
.skip:focus { transform: none; }

/* reading progress along the bottom edge of the bar it sits in (nav pill on
   desktop, the download bar on phones): a straight red line that grows left
   to right, clipped by the bar's own rounded shape so it can never poke out
   of it; a small rose rides its tip (assets/readbar.js) */
.nav__in, .getbar { position: relative; }
.readbar { --p: 0; position: absolute; inset: -1px; pointer-events: none; border-radius: inherit; }
.getbar .readbar { inset: 0; }
.readbar__clip { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; }
.readbar__track, .readbar__fill { position: absolute; left: 0; bottom: 0; height: 2.5px; width: 100%; }
.readbar__fill { background: var(--red); transform-origin: 0 50%; transform: scaleX(var(--p)); transition: opacity .35s; }
.getbar .readbar__track { background: rgba(255, 255, 255, .14); }
.readbar__rose { position: absolute; left: 0; top: 0; width: 15px; height: 15px; background: no-repeat center/contain url(img/rose-dot.png); transition: opacity .35s; will-change: transform; }
.readbar.is-start .readbar__fill, .readbar.is-start .readbar__rose { opacity: 0; }
@media (max-width: 760px) {
  /* on phones the progress lives only at the bottom, in the download bar */
  .nav .readbar { display: none; }
  .foot { padding-bottom: 110px !important; }
}
@media print { .readbar { display: none; } }

.display {
  font-size: var(--t-display); line-height: .98; letter-spacing: -.018em; font-weight: 780;
  font-variation-settings: 'opsz' 60; text-wrap: balance;
}
.h2 { font-size: var(--t-h2); line-height: 1.04; letter-spacing: -.014em; font-weight: 760; font-variation-settings: 'opsz' 60; text-wrap: balance; }
.h3 { font-size: var(--t-h3); line-height: 1.15; letter-spacing: -.02em; font-weight: 700; text-wrap: balance; }
.lede { font-size: var(--t-lede); line-height: 1.45; color: var(--ink-2); max-width: 34em; text-wrap: pretty; }
.sub { font-size: clamp(1.0625rem, 1rem + .25vw, 1.2rem); color: var(--ink-2); line-height: 1.55; max-width: 36em; text-wrap: pretty; }
.ink-red { color: var(--red); }
.kicker, .step, .tag, .eyebrow {
  font-family: var(--f-mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
}
.swipe { display: none; font: 700 1.05rem/1 var(--f-hand); color: var(--red-ink); text-align: right; margin: 4px 4px -2px; }
.kicker { color: var(--red-ink); display: inline-flex; align-items: center; gap: .6em; margin-bottom: 18px; }
.kicker::before { content: ''; width: 16px; height: 16px; flex: none; background: no-repeat center/contain url(img/rose-dot.png); }
.note { font-family: var(--f-hand); font-weight: 700; color: var(--red-ink); font-size: 1.35rem; line-height: 1; }
/* the underline is drawn, left to right: when the link scrolls into view,
   and again each time it's hovered */
.link {
  color: var(--ink); text-decoration: none; font-weight: 600; padding-bottom: .14em;
  background: linear-gradient(var(--ul, var(--red)), var(--ul, var(--red))) no-repeat 0 100% / 100% 2px;
  transition: color .2s;
}
.reveal-on .reveal:not(.is-in) .link { background-size: 0 2px; }
.reveal.is-in .link { transition: color .2s, background-size .9s cubic-bezier(.65, 0, .25, 1) .3s; }
.link:hover { color: var(--red-ink); animation: link-draw .55s cubic-bezier(.65, 0, .25, 1); }
@keyframes link-draw { from { background-size: 0 2px; } to { background-size: 100% 2px; } }
@media (prefers-reduced-motion: reduce) { .reveal.is-in .link { transition: color .2s; } .link:hover { animation: none; } }

.head { text-align: center; display: flex; flex-direction: column; align-items: center; margin-bottom: clamp(36px, 4.4vw, 64px); }
.head .sub { margin-top: 22px; }
.head--left { text-align: left; align-items: flex-start; }
.section { padding-block: var(--section); position: relative; }

/* ------------------------------------------------------------- buttons */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 600; font-size: .95rem; text-decoration: none; letter-spacing: -.01em;
  transition: transform .25s var(--spring), background-color .2s, box-shadow .25s;
}
.pill--ink { background: var(--ink); color: var(--paper); box-shadow: 0 1px 0 rgba(255, 255, 255, .12) inset, 0 6px 14px -6px rgba(20, 20, 20, .5); }
.pill--ink:hover { background: #000; transform: translateY(-1px); }
.pill--ink:active { transform: translateY(0) scale(.97); }

.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.stores--center { justify-content: center; }
.store {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  height: 60px; padding: 0 22px 0 18px; border-radius: 16px; min-width: 196px;
  background: var(--ink); color: #fff; text-decoration: none; cursor: pointer;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .14) inset, 0 0 0 1px rgba(0, 0, 0, .6), 0 12px 24px -12px rgba(20, 20, 20, .55);
  transition: transform .3s var(--spring), box-shadow .3s var(--ease), background-color .2s;
}
.store:hover { transform: translateY(-2px); background: #000; box-shadow: 0 1px 0 rgba(255, 255, 255, .14) inset, 0 0 0 1px #000, 0 18px 30px -14px rgba(20, 20, 20, .6); }
.store:active { transform: translateY(0) scale(.98); }
.store__glyph { width: 28px; height: 28px; flex: none; }
.store__txt { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.store__txt small { font-size: .72rem; font-weight: 500; opacity: .85; letter-spacing: .01em; }
.store__txt b { font-size: 1.32rem; font-weight: 650; letter-spacing: -.02em; }
.store__soon {
  position: absolute; top: -9px; right: -8px; padding: 4px 8px 3px; border-radius: 999px;
  background: var(--red); color: #fff; font: 500 .62rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase;
  transform: rotate(4deg);
}
.store.is-soon { cursor: default; }
.store.is-soon:hover { transform: translateY(-1px); }

.trust { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 22px; font: 500 .82rem/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust li::before { content: ''; width: 14px; height: 14px; flex: none; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 8.6 6.2 12 13.5 4' fill='none' stroke='%23FF1400' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.trust--center { justify-content: center; }

.round {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--rule); background: var(--card); color: var(--ink); box-shadow: var(--sh-1);
  transition: transform .25s var(--spring), background-color .2s;
}
.round svg { width: 22px; height: 22px; }
.round:hover { transform: translateY(-1px); background: #fff; }
.round:active { transform: scale(.94); }

/* ----------------------------------------------------------------- nav */
.nav { position: fixed; top: calc(12px + env(safe-area-inset-top)); left: 0; right: 0; z-index: 50; pointer-events: none; padding-inline: 12px; }
.nav__in {
  pointer-events: auto; max-width: 980px; margin: 0 auto; height: 60px; padding: 0 8px 0 14px;
  display: flex; align-items: center; gap: 12px; border-radius: 999px;
  background: rgba(247, 241, 230, .62); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
  border: 1px solid rgba(20, 20, 20, .07); box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset;
  transition: background-color .3s, box-shadow .3s, border-color .3s;
}
.nav.is-scrolled .nav__in { background: rgba(250, 246, 239, .84); border-color: rgba(20, 20, 20, .09); box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 12px 30px -16px rgba(60, 40, 20, .35); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 750; font-size: 1.18rem; letter-spacing: -.03em; min-height: 44px; }
.brand img { width: 32px; height: 32px; border-radius: 9px; box-shadow: 0 0 0 1px rgba(20, 20, 20, .08), 0 2px 6px -2px rgba(20, 20, 20, .25); }
.nav__links { display: flex; gap: 2px; margin-left: auto; }
.nav__links a { padding: 10px 14px; border-radius: 999px; text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--ink-2); transition: background-color .2s, color .2s; }
.nav__links a:hover { background: rgba(20, 20, 20, .06); color: var(--ink); }
.theme-btn {
  flex: none; width: 38px; height: 38px; padding: 0; margin-left: -6px; border: 0; border-radius: 999px;
  background: transparent; color: var(--ink-2);
  display: grid; place-items: center; cursor: pointer;
  transition: background-color .2s, color .2s, transform .2s var(--spring);
}
.theme-btn:hover { background: rgba(20, 20, 20, .06); color: var(--ink); }
.theme-btn:active { transform: scale(.92); }
.theme-btn svg { width: 18px; height: 18px; }
.theme-btn .ico-sun { display: none; }
.theme-btn.is-spin svg { animation: theme-spin .55s cubic-bezier(.34, 1.4, .64, 1); }
@keyframes theme-spin { from { transform: rotate(-90deg) scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
/* theme switch: a circle of the new theme opens from the toggle (site.js, theme.js) */
.theme-vt::view-transition-old(root), .theme-vt::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
.theme-vt::view-transition-old(root) { z-index: 1; }
.theme-vt::view-transition-new(root) { z-index: 2; }
/* where View Transitions aren't supported, the colours ease across instead */
.theme-fade, .theme-fade *, .theme-fade *::before, .theme-fade *::after { transition: background-color .45s ease, color .45s ease, border-color .45s ease, fill .45s ease, stroke .45s ease, box-shadow .45s ease !important; }
[data-theme="dark"] .theme-btn .ico-moon { display: none; }
[data-theme="dark"] .theme-btn .ico-sun { display: block; }
.nav__cta { margin-left: 2px; }
@media (max-width: 760px) { .nav__links { display: none; } .theme-btn { margin-left: auto; } .nav__cta { margin-left: 0; } }

/* -------------------------------------------------------- phone frame */
/* --w sets the size; everything else follows from it */
.phone {
  --w: 340px; position: relative; width: var(--w); flex: none;
  padding: calc(var(--w) * .034); border-radius: calc(var(--w) * .165);
  background: #050505; outline: 1px solid transparent; -webkit-backface-visibility: hidden; backface-visibility: hidden;
  box-shadow:
    0 0 0 calc(var(--w) * .008) #2c2b29,
    0 0 0 calc(var(--w) * .012) #77736d,
    0 0 0 calc(var(--w) * .015) #1d1c1b,
    var(--sh-phone);
}
.phone::before, .phone::after { content: ''; position: absolute; width: calc(var(--w) * .014); border-radius: 3px; background: linear-gradient(90deg, #5b5853, #2a2927); }
.phone::before { right: calc(var(--w) * -.026); top: 25%; height: 12%; }
.phone::after { left: calc(var(--w) * -.026); top: 17%; height: 4.5%; box-shadow: 0 calc(var(--w) * .12) 0 0 #3b3936, 0 calc(var(--w) * .26) 0 0 #3b3936; }
.phone__screen {
  position: relative; container-type: inline-size; aspect-ratio: 430 / 932; overflow: hidden;
  border-radius: calc(var(--w) * .133); background: var(--scr, #F8F2EA); isolation: isolate;
}
/* the Dynamic Island */
.phone__screen::after { content: ''; position: absolute; z-index: 20; top: 2.6cqw; left: 50%; width: 29cqw; height: 8.6cqw; transform: translateX(-50%); border-radius: 99px; background: #000; }
/* screenshots start below the status bar */
/* the shots are full-screen sized, so they're scaled to fit the space under
   the status bar (tab bar included) and their side edges fade into the screen */
.phone__screen > img {
  position: absolute; top: 10.2cqw; left: 50%; height: calc(100% - 10.2cqw); width: auto; max-width: none; transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}
.status { position: absolute; z-index: 15; top: 0; left: 0; right: 0; height: 10.2cqw; display: flex; align-items: center; justify-content: space-between; padding: 1cqw 8.6cqw 0 11cqw; font: 600 3.9cqw/1 -apple-system, 'SF Pro Text', system-ui, sans-serif; color: var(--ink); }
.status__icons { display: flex; gap: 1.4cqw; align-items: center; }
.status__icons svg { height: 2.8cqw; width: auto; fill: currentColor; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding: clamp(96px, 10vw, 136px) 0 clamp(24px, 3vw, 48px); overflow: clip; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); margin-bottom: 26px; padding: 8px 14px 8px 10px; border-radius: 999px; background: rgba(255, 255, 255, .55); border: 1px solid var(--rule); font-size: .7rem; }
.eyebrow .dot { width: 18px; height: 18px; flex: none; object-fit: contain; }
.hero .lede { margin-top: 28px; }
.hero__req { margin-top: 12px; font-size: .86rem; color: var(--muted); }

.hero__stage { position: relative; display: grid; place-items: center; padding: 24px 0 40px; }
.hero__blob { display: none; }
.phone--hero { --w: clamp(270px, min(25vw, calc((100svh - 190px) * .47)), 372px); --scr: #FAEEE7; transform: rotate(2deg); transition: transform .8s var(--ease); }
.hero__stage:hover .phone--hero { transform: rotate(0deg); }
.note--hero { position: absolute; left: calc(50% + 70px); top: -3%; white-space: nowrap; transform: rotate(4deg); z-index: 3; transition: opacity .4s; }
.note__arrow { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 4; color: var(--red); transition: opacity .4s; }
.note__arrow path { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.is-touched .note--hero, .hero__stage.is-touched .note--hero, .hero__stage.is-touched .note__arrow { opacity: 0; }
.hero__done { position: absolute; left: calc(50% + min(12.5vw, 186px) + 18px); top: 30%; max-width: 6em; text-align: left; transform: rotate(-6deg) scale(.8); font: 700 1.5rem/1 var(--f-hand); color: var(--red-ink); opacity: 0; transition: opacity .4s, transform .5s var(--spring); }
.hero__done.is-on { opacity: 1; transform: rotate(-6deg) scale(1); }

/* the app inside the hero phone */
.app { position: absolute; inset: 10.2cqw 0 0 0; background: #F8F0E7; }
.app__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.app__head { position: absolute; z-index: 2; top: 3cqw; left: 5cqw; right: 5cqw; }
.app__date { font: 400 2.55cqw/1.2 var(--f-mono); letter-spacing: .16em; color: #78716A; }
.app__title { font: 700 6.6cqw/1.15 var(--f-hand); margin-top: .8cqw; letter-spacing: .01em; }
.app__share { position: absolute; right: 0; top: 2.2cqw; width: 5.6cqw; height: 5.6cqw; }
.app__foot { position: absolute; z-index: 2; left: 5cqw; right: 3.8cqw; bottom: 20cqw; display: flex; align-items: flex-end; gap: 3cqw; }
.app__count { flex: 1; padding-bottom: 1.6cqw; }
.app__count p { font: 400 3.5cqw/1 var(--f-hand); }
.app__count b { font-weight: 700; }
.app__bar { height: .9cqw; border-radius: 99px; background: #E6DDD1; margin-top: 2cqw; overflow: hidden; }
.app__bar i { display: block; height: 100%; width: 60%; background: var(--red); border-radius: inherit; transition: width .6s var(--spring); }
.app__grid { width: 10.6cqw; height: 10.6cqw; border-radius: 50%; border: 1px solid #DBD2C5; background: #FBF7F1; display: grid; place-items: center; }
.app__grid svg { width: 5cqw; fill: var(--ink); }
.app__fab { width: 13cqw; height: 13cqw; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; box-shadow: 0 2cqw 4cqw -2cqw rgba(0, 0, 0, .5); }
.app__fab svg { width: 6cqw; }
.app__tabs { position: absolute; z-index: 2; left: 3.6cqw; right: 3.6cqw; bottom: 3cqw; height: 13cqw; border-radius: 99px; border: 1px solid rgba(20, 20, 20, .09); background: rgba(255, 252, 247, .6); display: flex; align-items: center; justify-content: space-around; color: #2a2a2a; }
.app__tabs svg { width: 6.6cqw; height: 6.6cqw; }
.app__tabs svg.on { color: var(--red); width: 8.6cqw; height: 8.6cqw; }
.bud-btn {
  position: absolute; z-index: 3; width: max(44px, 17cqw); height: max(44px, 17cqw); transform: translate(-50%, -50%);
  border: 0; border-radius: 50%; background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.bud-btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 0; }

/* --------------------------------------------------------- how it works */
.how { padding-top: clamp(32px, 4vw, 56px); }
.beats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 36px); counter-reset: b; }
.beat__art { position: relative; aspect-ratio: 6 / 5; border-radius: var(--r-l); background: var(--card); border: 1px solid var(--rule); overflow: hidden; margin-bottom: 26px; box-shadow: var(--sh-1); }
.beat__art canvas { position: relative; width: 100%; height: 100%; }
.beat__label { position: absolute; left: 16px; top: 16px; padding: 7px 12px 6px; border-radius: 999px; background: rgba(255, 255, 255, .8); border: 1px solid var(--rule); font: 500 .68rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.step { color: var(--red-ink); margin-bottom: 10px; }
.beat .h3 { margin-bottom: 10px; }
.beat p:not(.step) { color: var(--ink-2); }

/* ------------------------------------------------------------- bento */
.bento {
  display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas: "green green rain" "green green sky" "pat tasks tiles" "friends styles styles";
}
.cell {
  position: relative; overflow: hidden; border-radius: var(--r-l); padding: clamp(24px, 2.4vw, 32px);
  background: var(--card); border: 1px solid var(--rule); box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset;
  display: flex; flex-direction: column; gap: 22px; min-height: 340px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.cell:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: rgba(20, 20, 20, .14); }
.cell__txt p:not(.tag) { color: var(--ink-2); margin-top: 8px; font-size: 1rem; max-width: 30em; }
.tag { color: var(--muted); display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: .7rem; }
.tag::before { content: ''; width: 14px; height: 14px; flex: none; background: no-repeat center/contain url(img/rose-dot.png); }

.cell--green { grid-area: green; min-height: 640px; background: linear-gradient(170deg, #FCF9F3 0%, #F6EADF 100%); }
.cell--green .cell__txt { max-width: 52%; }
.cell--green .h3 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.25rem); letter-spacing: -.03em; }
.kept { max-width: 52%; display: grid; gap: 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin-block: auto; }
.kept li { display: grid; gap: 3px; padding: 12px 0; border-top: 1px solid var(--rule); }
.kept li:first-child { border-top: 0; }
.kept b { font: 500 .66rem/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--red-ink); }
.kept span { font-size: .92rem; line-height: 1.4; color: var(--ink-2); }
/* the app's photo wall: each plant an instant photo, pinned up */
.wall { margin-top: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); max-width: 54%; padding-top: 12px; }
.photo { position: relative; margin: 0; padding: 7px 7px 0; border-radius: 2px; background: #FDFBF7; transform: rotate(var(--tilt, 0deg)); transform-origin: 50% 0; box-shadow: 0 1px 1px rgba(0, 0, 0, .12), 0 6px 14px -6px rgba(0, 0, 0, .28); transition: transform .6s var(--spring), box-shadow .5s var(--ease); }
.photo__pic { width: 100%; height: auto; aspect-ratio: 3 / 4; border-radius: 1px; }
.photo__pin { position: absolute; left: 50%; top: -11px; width: 24px; height: 24px; margin-left: -12px; z-index: 2; }
.photo figcaption { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 2px 8px; text-align: center; }
.photo figcaption b { font: italic 700 1.02rem/1.15 var(--f-hand); color: var(--ink); }
.photo figcaption span { font: 400 .68rem/1.2 var(--f-hand); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cell--green:hover .photo { transform: rotate(calc(var(--tilt, 0deg) * .4)) translateY(-3px); box-shadow: 0 1px 1px rgba(0, 0, 0, .12), 0 16px 26px -12px rgba(0, 0, 0, .32); }
.cell--green { padding-bottom: 40px; }
.phone--peek { --w: clamp(220px, 22vw, 300px); --scr: #F7F2E6; position: absolute; right: clamp(24px, 4vw, 56px); top: 48px; transform: rotate(4deg); transition: transform .7s var(--ease); }
.cell--green:hover .phone--peek { transform: rotate(2deg) translateY(-8px); }

/* crisp native UI inside the greenhouse phone */
.gh { position: absolute; inset: 10.2cqw 0 0 0; padding: 2.4cqw 5.4cqw 5cqw; display: flex; flex-direction: column; color: var(--ink); background: #F7F2E6; }
.gh__top { position: relative; display: flex; align-items: center; justify-content: space-between; height: 8cqw; margin-bottom: 1cqw; }
.gh__handle { position: absolute; left: 50%; top: .4cqw; width: 9.5cqw; height: 1cqw; transform: translateX(-50%); border-radius: 99px; background: #DAD2C5; }
.gh__ico { width: 4.8cqw; height: 4.8cqw; color: var(--ink); }
.gh__close { width: 7.4cqw; height: 7.4cqw; border-radius: 50%; border: 1px solid #DFD7C8; display: grid; place-items: center; }
.gh__close svg { width: 3.6cqw; height: 3.6cqw; }
.gh__plant { width: 42cqw; height: 42cqw; margin: 0 auto 1.2cqw; flex: none; }
.gh__name { display: flex; align-items: center; gap: .7cqw; font: italic 700 7cqw/1.05 var(--f-hand); color: #7C7770; }
.gh__caret { width: .55cqw; height: 6.4cqw; border-radius: 2px; background: var(--red); flex: none; }
.gh__meta { font: 400 2.65cqw/1.2 var(--f-mono); letter-spacing: .12em; color: #78716A; margin-top: 1.2cqw; }
.gh__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.2cqw; margin-top: 3.4cqw; }
.gh__stats li { border: 1px solid #DFD7C8; border-radius: 3.4cqw; padding: 2.4cqw 3cqw; background: rgba(255, 255, 255, .32); }
.gh__stats b { display: block; font: 700 5.6cqw/1 var(--f-hand); color: var(--ink); }
.gh__stats span { display: block; font: 400 2.3cqw/1.15 var(--f-mono); letter-spacing: .09em; text-transform: uppercase; color: #78716A; margin-top: 1.3cqw; }
.gh__sec { font: 400 2.5cqw/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: #78716A; margin: 4.2cqw 0 2.2cqw; }
.gh__habits { display: grid; gap: 2.6cqw; }
.gh__habits li { display: flex; flex-direction: column; gap: 1.2cqw; }
.gh__habits li > div { display: flex; justify-content: space-between; align-items: baseline; font: 400 3.5cqw/1.1 var(--f-hand); }
.gh__habits em { font-style: normal; font-size: 2.9cqw; color: #78716A; }
.gh__habits i { display: block; height: 1.35cqw; border-radius: 99px; background: linear-gradient(90deg, var(--red) var(--p), #E7DFD1 0); }
.gh__days { display: grid; grid-template-columns: repeat(14, 1fr); gap: 1.1cqw; }
.gh__days li { aspect-ratio: 1; border-radius: 1.3cqw; display: grid; place-items: center; font: 600 2.35cqw/1 var(--f-mono); color: rgba(255, 255, 255, .92); background: #F04E3E; }
.gh__days li.l { background: #F57C6E; }
.gh__days li.h { background: var(--red); }
.gh__run { margin-top: 4cqw; padding: 3.4cqw 4cqw; border-radius: 3.6cqw; background: #EFE9DC; }
.gh__run span { display: block; font: 400 2.35cqw/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: #78716A; }
.gh__run p { font: 400 3.85cqw/1.28 var(--f-hand); color: var(--ink); margin-top: 1.6cqw; }
.gh__run em { font-style: italic; font-weight: 700; }

.cell--rain { grid-area: rain; }
.cell--sky { grid-area: sky; }
.cell--patterns { grid-area: pat; }
.cell--tasks { grid-area: tasks; }
.cell--tiles { grid-area: tiles; }
.cell--friends { grid-area: friends; }
.cell--styles { grid-area: styles; }

/* rain blocks */
.rain { margin-top: auto; display: grid; gap: 14px; padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, .42); border: 1px solid var(--rule); }
.rain__streak { display: flex; align-items: baseline; gap: 10px; }
.rain__streak b { font: 700 3rem/1 var(--f-hand); }
.rain__streak span { font: 400 1.2rem/1 var(--f-hand); color: var(--muted); }
.rain__streak em { font-style: normal; margin-left: 8px; padding: 3px 9px 2px; border-radius: 99px; background: rgba(50, 87, 255, .12); color: var(--blue); font: 500 .62rem/1.4 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; vertical-align: 3px; }
.rain__week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.rain__week li { position: relative; aspect-ratio: 1; border-radius: 10px; display: grid; place-items: center; font: 500 .7rem/1 var(--f-mono); color: #fff; background: var(--red); }
.rain__week li.umb { background: rgba(50, 87, 255, .12); color: var(--blue); box-shadow: inset 0 0 0 1.5px rgba(50, 87, 255, .5); }
.rain__week li.umb svg { position: absolute; width: 58%; top: -46%; color: var(--blue); animation: bob 3.2s ease-in-out infinite; }
.rain__week li.now { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
@keyframes bob { 50% { transform: translateY(-3px) rotate(-6deg); } }
.rain__charge { display: flex; align-items: center; gap: 5px; font: 500 .62rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.rain__charge i { flex: 1; height: 6px; border-radius: 4px; background: rgba(20, 20, 20, .1); }
.rain__charge i.on { background: var(--blue); }
.rain__charge span:first-child { margin-right: 6px; }
.rain__charge span:last-child { margin-left: 6px; color: var(--ink); }

/* sky */
.sky { margin-top: auto; }
.sky__art { width: 100%; height: auto; border-radius: 16px; background: linear-gradient(#FBEDE6, #F6EFE6); transition: background .6s; }
.sky[data-sky="cloud"] .sky__art { background: linear-gradient(#EDE9E6, #F3EEE7); }
.sky[data-sky="rain"] .sky__art { background: linear-gradient(#DCDDE6, #ECE9E8); }
.sky__sun { transition: opacity .6s, transform .8s var(--ease); transform-origin: 232px 52px; }
.sky[data-sky="cloud"] .sky__sun { opacity: .45; transform: scale(.85); }
.sky[data-sky="rain"] .sky__sun { opacity: 0; transform: scale(.6) translateY(20px); }
.sky__cloud { transition: opacity .6s, transform .8s var(--ease); }
.sky__cloud.c1 { animation: drift 14s ease-in-out infinite; }
.sky__cloud.c2 { animation: drift 18s ease-in-out infinite reverse; }
.sky[data-sky="sun"] .sky__cloud.c2 { opacity: 0; }
.sky[data-sky="sun"] .sky__cloud.c1 { opacity: .9; transform: translateX(-30px) scale(.8); }
.sky[data-sky="rain"] .sky__cloud path { fill: #E8E6EE; stroke: #C9C6D4; }
.sky__rain { opacity: 0; transition: opacity .4s; }
.sky[data-sky="rain"] .sky__rain { opacity: .55; animation: fall .7s linear infinite; }
@keyframes drift { 50% { translate: 18px 0; } }
@keyframes fall { from { translate: 2px -10px; } to { translate: -3px 6px; } }
.seg { display: flex; gap: 4px; padding: 4px; margin-top: 14px; border-radius: 999px; background: rgba(20, 20, 20, .06); }
.seg button { flex: 1; min-height: 40px; white-space: nowrap; padding: 0 6px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; font-size: .85rem; font-weight: 600; color: var(--ink-2); transition: background-color .25s, color .25s, box-shadow .25s; }
.seg button[aria-checked="true"] { background: var(--ink); color: var(--paper); box-shadow: var(--sh-1); }
.seg button:hover:not([aria-checked="true"]):not([aria-selected="true"]) { background: rgba(20, 20, 20, .07); }

/* patterns */
.rings { display: flex; gap: 14px; margin-top: auto; }
.rings figure { margin: 0; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.rings svg { width: 100%; max-width: 92px; }
.rings circle { fill: none; stroke: #ECE4D8; stroke-width: 6; }
.rings .arc { stroke: var(--c); stroke-linecap: round; stroke-dasharray: 0 100; transform: rotate(-90deg); transform-origin: 32px 32px; transition: stroke-dasharray 1.4s var(--ease); }
.is-in .rings .arc, .no-reveal .rings .arc { stroke-dasharray: calc(var(--v) * 100) 100; }
.rings figcaption { font: 400 1.05rem/1.1 var(--f-hand); color: var(--muted); text-align: center; }
.rings figcaption b { display: block; font: 700 1.3rem/1 var(--f-hand); color: var(--ink); }
.weekbars { display: grid; gap: 8px; }
.weekbars p { display: grid; grid-template-columns: 88px 1fr 40px; align-items: center; gap: 10px; font: 500 .66rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.weekbars i { height: 8px; border-radius: 6px; background: linear-gradient(90deg, var(--ink) calc(var(--w) * 100%), rgba(20, 20, 20, .08) 0); }
.weekbars p + p i { background: linear-gradient(90deg, #B9AE9F calc(var(--w) * 100%), rgba(20, 20, 20, .08) 0); }
.weekbars b { color: var(--ink); text-align: right; font-weight: 500; }

/* tasks */
.quick { margin-top: auto; display: grid; gap: 12px; }
.quick__field { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; border-radius: 14px; background: #fff; border: 1px solid var(--rule); box-shadow: var(--sh-1); font: 400 1.2rem/1 var(--f-hand); }
.quick__plus { color: var(--red); font: 700 1.4rem/1 var(--f-hand); }
.caret { width: 2px; height: 22px; background: var(--red); animation: blink 1s steps(1) infinite; margin-left: -6px; }
@keyframes blink { 50% { opacity: 0; } }
.quick__chips { display: flex; gap: 6px; flex-wrap: wrap; min-height: 28px; }
.quick__chips span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 4px; border-radius: 99px; background: rgba(50, 87, 255, .1); color: var(--blue); font: 500 .66rem/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; animation: pop .4s var(--spring) both; }
.quick__chips span::after { content: '×'; font-size: .9rem; line-height: .6; opacity: .6; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
.quick__list { display: grid; }
.quick__list li { display: grid; grid-template-columns: 22px 1fr; column-gap: 10px; align-items: center; padding: 9px 0; border-top: 1px dashed rgba(20, 20, 20, .12); font: 700 1.1rem/1.1 var(--f-hand); }
.quick__list i { grid-row: span 2; width: 18px; height: 18px; border-radius: 50%; border: 1.6px solid #9C958C; }
.quick__list small { grid-column: 2; font: 400 .9rem/1.2 var(--f-hand); color: var(--muted); }
.quick__list .done { color: var(--muted); }
.quick__list .done i { background: var(--red); border-color: var(--red); box-shadow: inset 0 0 0 3px var(--card); }

/* tiles */
.tiles { margin-top: auto; }
.tiles__head { font: 700 1.55rem/1 var(--f-hand); }
.tiles__segs { display: flex; gap: 4px; margin: 10px 0 12px; }
.tiles__segs i { flex: 1; height: 4px; border-radius: 3px; background: rgba(20, 20, 20, .12); transition: background-color .3s; }
.tiles__segs i.on { background: var(--red); }
.tiles__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
/* the app's tile: a hand-drawn box (drawn by site.js, as the app draws it)
   that fills with the habit's colour from the bottom once it's done */
.tile {
  position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; text-align: left; gap: 10px;
  min-height: 104px; padding: 12px 13px; border: 0; border-radius: 0; cursor: pointer;
  background: #F1EADF; color: var(--ink); transition: color .3s .1s, transform .3s var(--spring);
}
.tile__fill { position: absolute; inset: 0; z-index: -1; background: var(--t); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .45s cubic-bezier(.2, .85, .25, 1); }
.tile.is-done .tile__fill { transform: scaleY(1); }
.tile__ink { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; transition: opacity .3s; }
.tile__ink path { fill: none; stroke: rgba(20, 20, 20, .28); stroke-width: 1.6; }
.tile.is-done .tile__ink { opacity: 0; }
.tile span { font: 700 1.05rem/1.05 var(--f-hand); }
.tile__state { display: block; margin-top: auto; font: 400 .74rem/1 var(--f-hand); font-style: normal; opacity: .7; }
.tile small { font: 700 1.3rem/1 var(--f-hand); align-self: flex-end; text-align: right; }
.tile small em { display: block; font: 400 .7rem/1 var(--f-hand); font-style: normal; opacity: .75; }
.tile.is-done { color: #fff; }
@media (prefers-reduced-motion: reduce) { .tile__fill, .tile, .tile__ink { transition: none; } }
.tile:active { transform: scale(.96); }

/* friends */
.friend { margin-top: auto; display: grid; gap: 10px; }
.friend__code { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--rule); }
.friend__code span { font: 500 .6rem/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); max-width: 4.5em; }
.friend__code b { flex: 1; font: 500 1rem/1 var(--f-mono); letter-spacing: .08em; }
.friend__code i { font-style: normal; font-size: .82rem; font-weight: 600; padding: 7px 12px; border-radius: 99px; background: var(--ink); color: var(--paper); }
.visit { position: relative; display: grid; grid-template-columns: 1fr 76px; column-gap: 8px; padding: 14px 14px 12px 16px; border-radius: 18px; background: var(--paper); border: 1px solid var(--rule); box-shadow: var(--sh-1); }
.visit img { grid-column: 2; grid-row: 1 / span 4; width: 76px; height: auto; align-self: center; }
.visit__lbl { font: 500 .58rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.visit__name { font: 700 1.45rem/1.05 var(--f-hand); margin-top: 4px; }
.visit__when { font: 400 .95rem/1.1 var(--f-hand); color: var(--muted); }
.visit__stats { display: flex; gap: 12px; margin-top: 8px; font: 400 .8rem/1.1 var(--f-hand); color: var(--muted); }
.visit__stats b { display: block; font: 700 1.15rem/1 var(--f-hand); color: var(--ink); }
.visit__habits { grid-column: 1 / -1; display: flex; gap: 6px; margin-top: 10px; }
.visit__habits li { font: 700 .9rem/1 var(--f-hand); padding: 5px 9px; border-radius: 99px; background: #EDE5D9; color: var(--muted); }
.visit__habits li.on { background: var(--red); color: #fff; }

/* garden styles */
.styles__more { margin-top: 18px; font: 700 1.2rem/1.2 var(--f-hand); color: var(--ink-2); }
.styles { margin-top: auto; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.styles figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.styles canvas { width: 100%; aspect-ratio: 3 / 4; border-radius: 16px; background: linear-gradient(#FAF1EA, #F3EADD); border: 1px solid rgba(20, 20, 20, .06); transition: transform .5s var(--spring); }
.styles figure:hover canvas { transform: translateY(-4px) rotate(-1.5deg); }
.styles figcaption { font: 700 1.02rem/1.1 var(--f-hand); text-align: center; color: var(--ink-2); }

/* --------------------------------------------------------------- night */
.night { position: relative; background: var(--night); color: var(--night-ink); padding-block: clamp(64px, 7vw, 108px); margin-block: clamp(16px, 2vw, 28px); overflow: hidden; isolation: isolate; }
.night::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 28%; z-index: -1; background: linear-gradient(transparent, rgba(30, 22, 18, .9)); }
.night__sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.night__moon, .night__sun { position: absolute; top: clamp(48px, 8vw, 110px); right: clamp(24px, 9vw, 160px); width: clamp(44px, 5vw, 72px); z-index: -1; }
.night__sun { display: none; width: clamp(84px, 9vw, 132px); right: auto; left: 50%; top: clamp(36px, 5vw, 72px); margin-left: -3vw; }
@media (max-width: 1023px) { .night__sun { left: auto; right: clamp(20px, 6vw, 60px); margin-left: 0; } }
.night__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.kicker--night { color: #FF7A66; }
.night .h2 { color: #fff; }
.night .sub { color: rgba(244, 238, 230, .78); margin-top: 22px; }
.night__facts { margin-top: 40px; display: grid; gap: 0; }
.night__facts li { padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .12); color: rgba(244, 238, 230, .72); font-size: .98rem; }
.night__facts b { display: block; font: 500 .72rem/1.3 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 6px; }
.night__stage { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.phone--night { --scr: #060405; --w: clamp(270px, 24vw, 340px); z-index: 2; --sh-phone: 0 40px 80px -30px rgba(0, 0, 0, .9); box-shadow: 0 0 0 calc(var(--w) * .008) #2c2b29, 0 0 0 calc(var(--w) * .012) #5d5a55, 0 0 0 calc(var(--w) * .015) #111, var(--sh-phone); }
.dayend { position: relative; z-index: 3; width: 344px; flex: none; padding: 18px 18px 16px; border-radius: var(--r-l); background: var(--card); color: var(--ink); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .75), 0 0 0 1px rgba(20, 20, 20, .06); transform: rotate(-2deg); }
.dayend__label { font: 500 .72rem/1.3 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.dayend__seg { margin-top: 10px; }
.dayend__seg button { font-size: .8rem; padding: 0 4px; }
/* the night, 10 pm to 5 am: Tuesday to the left of the marker */
.dayend__line { position: relative; height: 66px; margin: 16px 4px 0; }
.dayend__day { position: absolute; top: 0; font: 700 .95rem/1 var(--f-hand); color: var(--muted); transition: color .4s; }
.dayend__day--tue { left: 0; } .dayend__day--wed { right: 0; }
[data-counts="tue"] .dayend__day--tue, [data-counts="wed"] .dayend__day--wed { color: var(--red-ink); }
.dayend__track { position: absolute; left: 0; right: 0; top: 30px; height: 6px; border-radius: 99px; background: rgba(20, 20, 20, .08); overflow: hidden; }
.dayend__before { position: absolute; left: 0; top: 0; bottom: 0; width: 71.43%; background: rgba(255, 20, 0, .22); border-radius: 99px; transition: width .6s var(--spring); }
.dayend__mark { position: absolute; top: 20px; left: 71.43%; width: 2px; height: 26px; margin-left: -1px; background: repeating-linear-gradient(var(--red) 0 4px, transparent 4px 7px); transition: left .6s var(--spring); }
.dayend__mark::after { content: ''; position: absolute; top: -5px; left: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgba(255, 20, 0, .18); }
.dayend__dot { position: absolute; top: 27px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--card); border: 2.5px solid var(--ink); }
.dayend__tick { position: absolute; top: 46px; transform: translateX(-50%); font: 500 .62rem/1 var(--f-mono); color: var(--muted); white-space: nowrap; }
.dayend__tick:first-of-type { transform: none; }
.dayend__log { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--rule); }
.dayend__time { font: 500 .82rem/1.2 var(--f-mono); color: var(--ink-2); }
.dayend__chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 13px 5px 9px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--card); color: var(--ink); font: 700 1.1rem/1 var(--f-hand); }
.dayend__check { width: 20px; height: 18px; color: var(--red); overflow: visible; }
.dayend__chip.is-hop { animation: dayend-hop .55s var(--spring); }
@keyframes dayend-hop { 0% { transform: translateY(0); } 35% { transform: translateY(-7px) rotate(-3deg); } 100% { transform: translateY(0); } }
.dayend__says { margin-top: 10px; font: 700 clamp(1.25rem, 5.6vw, 1.5rem)/1.15 var(--f-hand); color: var(--ink); white-space: nowrap; }
.dayend__says b { display: inline-block; min-width: 6.2em; color: var(--red-ink); transition: opacity .22s, transform .3s var(--spring); }
.dayend__says b.is-out { opacity: 0; transform: translateY(8px); }
/* a firefly that's wandered onto the card */
.dayend__fly { position: absolute; top: -5px; left: 10%; width: 6px; height: 6px; border-radius: 50%; background: #FFE2A8; box-shadow: 0 0 10px 4px rgba(255, 210, 140, .55); animation: dayend-fly 14s ease-in-out infinite; pointer-events: none; }
@keyframes dayend-fly { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: 1; } 35% { transform: translate(90px, -14px); } 60% { transform: translate(170px, 4px); opacity: .9; } 85% { transform: translate(240px, -10px); opacity: 1; } 100% { transform: translate(270px, -2px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .dayend__fly { display: none; } .dayend__chip.is-hop { animation: none; } }
.phone--night .status { color: #fff; }
/* the card lies over the lower part of the phone, a little askew, like a
   note left on it */
.night__stage { flex-direction: column; }
.night__stage .phone--night { --w: clamp(270px, 24vw, 330px); flex: none; }
.night__stage .dayend { margin-top: -250px; transform: translateX(16%) rotate(-3deg); }
@media (max-width: 1023px) {
  .night__stage .phone--night { --w: clamp(250px, 62vw, 320px); }
  .night__stage .dayend { width: min(344px, 94%); margin-top: -140px; transform: translateX(6%) rotate(-2deg); }
}

/* day / night comparison */

/* ---------------------------------------------------------- everywhere */
.ev { display: grid; gap: 16px; grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr); grid-template-areas: "watch live" "watch wid" "watch press"; }
.ev__watch { grid-area: watch; position: relative; border-radius: var(--r-xl); padding: clamp(24px, 3vw, 40px); background: radial-gradient(ellipse at 50% 42%, #FFFFFF 0, #F4ECE1 55%, #EADFCF 100%); border: 1px solid var(--rule); display: flex; flex-direction: column; gap: 18px; overflow: hidden; }
.ev__more { display: contents; }
.ev__live { grid-area: live; }
.ev__widgets { grid-area: wid; }
.ev__press { grid-area: press; }
.ev__watchtxt { max-width: 34em; }
.ev__watchhead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; }
.ev__watchhead .tag { margin-bottom: 0; }
.seg--watch { margin-top: 0; width: auto; flex: none; padding: 3px; }
.seg--watch button { flex: 0 0 auto; min-height: 34px; padding: 0 13px; font-size: .78rem; }
/* the dark pill is one thumb that slides between the two, with a bit of stretch (site.js) */
.seg--watch { position: relative; isolation: isolate; }
.seg__thumb { position: absolute; z-index: -1; top: 3px; bottom: 3px; left: 0; width: 0; border-radius: 999px; background: var(--ink); box-shadow: var(--sh-1); will-change: transform, width; }
.seg--watch button { position: relative; transition: color .3s var(--ease), transform .45s var(--spring); }
.seg--watch button[aria-selected="true"] { color: var(--paper); }
.seg--watch button:active { transform: scale(.93); }
.seg--watch:not(.has-thumb) button[aria-selected="true"] { background: var(--ink); box-shadow: var(--sh-1); }
.seg--watch button:hover:not([aria-selected="true"]) { background: rgba(20, 20, 20, .07); }
.ev__watchtxt p { color: var(--ink-2); margin-top: 10px; }
.ev__card { border-radius: var(--r-l); padding: clamp(22px, 2.4vw, 30px); background: var(--card); border: 1px solid var(--rule); overflow: hidden; display: flex; flex-direction: column; }
.ev__card > p:not(.tag) { color: var(--ink-2); margin: 8px 0 22px; font-size: 1rem; }
.ev__card .h3 { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); }
@media (min-width: 681px) and (max-width: 1023px) {
  .ev__widgets .home { flex: 1; align-content: center; align-items: stretch; padding-block: 24px; }
}
@media (min-width: 861px) and (max-width: 1023px) {
  .ev__press { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(28px, 5vw, 64px); align-items: center; }
  .ev__press > .tag, .ev__press > .h3, .ev__press > p:not(.tag) { grid-column: 1; max-width: 34em; }
  .ev__press > .tag { margin-bottom: 10px; }
  .ev__press > p:not(.tag) { margin-bottom: 0; }
  .ev__press .press { grid-column: 2; grid-row: 1 / span 4; align-self: center; justify-self: end; margin-top: 0; width: clamp(320px, 31vw, 390px); }
}

/* the watch: drawn after WatchLook.swift and RingFlower.swift */
.watchwrap { flex: 1 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.watch { --ww: clamp(230px, 20vw, 276px); position: relative; width: var(--ww); height: calc(var(--ww) * 1.2); margin: calc(var(--ww) * .42) 0; transition: width .42s var(--ease), height .42s var(--ease), margin .42s var(--ease); }
.watch__band {
  position: absolute; left: 50%; width: calc(var(--ww) * .74); height: calc(var(--ww) * .5); transform: translateX(-50%); z-index: 0;
  background:
    linear-gradient(90deg, rgba(90, 70, 40, .28) 0, rgba(90, 70, 40, 0) 12%, rgba(255, 255, 255, .35) 46%, rgba(255, 255, 255, 0) 60%, rgba(90, 70, 40, 0) 86%, rgba(90, 70, 40, .3) 100%),
    #E7DAC6;
  transition: width .42s var(--ease), top .42s var(--ease), bottom .42s var(--ease), background-color .4s;
}
.watch__band--top { bottom: 94%; clip-path: polygon(7% 0, 93% 0, 100% 100%, 0 100%); -webkit-mask-image: linear-gradient(to top, #000 60%, transparent); mask-image: linear-gradient(to top, #000 60%, transparent); }
.watch__band--bottom { top: 94%; clip-path: polygon(0 0, 100% 0, 93% 100%, 7% 100%); display: flex; flex-direction: column; align-items: center; gap: calc(var(--ww) * .045); padding-top: calc(var(--ww) * .16); -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent); mask-image: linear-gradient(to bottom, #000 62%, transparent); }
.watch__band .lug { position: absolute; left: 0; right: 0; height: calc(var(--ww) * .05); background: linear-gradient(180deg, #4b4d53, #1c1d21); transition: background .35s; }
.watch__band--top .lug { bottom: 0; }
.watch__band--bottom .lug { top: 0; }
/* Apple Watch: a plain sport band, as wide as the case's lugs, softly rounded
   across its width, running straight out of the case and fading away */
.watch[data-model="apple"] .watch__band {
  width: calc(var(--ww) * .62); height: calc(var(--ww) * .56); clip-path: none;
  background: linear-gradient(90deg, #CDBDA5 0%, #DFD1BC 14%, #ECE2D2 42%, #EFE6D8 54%, #E2D5C1 80%, #CBBBA2 100%);
}
.watch[data-model="apple"] .watch__band .lug,
.watch[data-model="apple"] .watch__band .hole,
.watch[data-model="apple"] .watch__band .keeper { display: none; }
.watch[data-model="apple"] .watch__band--top { bottom: 88%; border-radius: 0; -webkit-mask-image: linear-gradient(to top, #000 55%, transparent); mask-image: linear-gradient(to top, #000 55%, transparent); }
.watch[data-model="apple"] .watch__band--bottom { top: 88%; border-radius: 0; -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent); mask-image: linear-gradient(to bottom, #000 55%, transparent); }
/* room for the band to fade out before the words above and the controls
   below: keep height + vertical margins constant across models (2.04 * --ww)
   so toggling watches never shifts layout on mobile or desktop */
.watch[data-model="apple"] { margin: calc(var(--ww) * .42) 0; }
/* just a soft shadow where the band leaves the case */
.watch[data-model="apple"] .watch__band::after { height: 34%; }
.watch[data-model="apple"] .watch__band--top::after { background: linear-gradient(to top, rgba(60, 40, 20, .16), rgba(60, 40, 20, 0)); }
.watch[data-model="apple"] .watch__band--bottom::after { background: linear-gradient(to bottom, rgba(60, 40, 20, .16), rgba(60, 40, 20, 0)); }
[data-theme="dark"] .watch[data-model="apple"] .watch__band { background: linear-gradient(90deg, #A69585 0%, #B8A797 14%, #C7B7A8 42%, #CABBAC 54%, #BBAA9A 80%, #A39282 100%); }
.watch__band--top::after, .watch__band--bottom::after { content: ''; position: absolute; left: 0; right: 0; height: 30%; pointer-events: none; }
.watch__band--top::after { bottom: 0; background: linear-gradient(to top, rgba(60, 40, 20, .22), transparent); }
.watch__band--bottom::after { top: 0; background: linear-gradient(to bottom, rgba(60, 40, 20, .22), transparent); }
.watch__band .hole { width: calc(var(--ww) * .028); height: calc(var(--ww) * .028); border-radius: 50%; background: #B9A68B; box-shadow: inset 0 1px 1.5px rgba(0, 0, 0, .45), 0 1px 0 rgba(255, 255, 255, .5); transition: background-color .35s; }
.watch__band .keeper { width: 104%; height: calc(var(--ww) * .07); margin-top: calc(var(--ww) * .02); border-radius: 4px; background: linear-gradient(180deg, #D9CAB2, #EADFCD 50%, #D3C3AA); box-shadow: 0 2px 4px rgba(60, 40, 20, .25); transition: background .35s; }
.watch__case {
  position: absolute; inset: 0; z-index: 1; border-radius: calc(var(--ww) * .27);
  background: linear-gradient(140deg, #5a5c62 0%, #2a2b2f 22%, #17181b 55%, #2a2c30 85%, #4a4c52 100%);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .2), inset 0 0 0 3px rgba(0, 0, 0, .55), inset 0 3px 4px rgba(255, 255, 255, .2), inset 0 -3px 6px rgba(0, 0, 0, .5), 0 36px 60px -24px rgba(30, 20, 10, .6), 0 12px 20px -8px rgba(0, 0, 0, .4);
  transition: border-radius .48s var(--spring), background .4s, box-shadow .4s;
}
.watch__glass { position: absolute; z-index: 3; inset: calc(var(--ww) * .024); border-radius: calc(var(--ww) * .246); background: #000; box-shadow: inset 0 0 12px rgba(255, 255, 255, .04); overflow: hidden; transition: inset .48s var(--spring), border-radius .48s var(--spring), box-shadow .4s; }
.watch__glass::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3; background: radial-gradient(120% 70% at 18% 0%, rgba(255, 255, 255, .13), rgba(255, 255, 255, 0) 45%), linear-gradient(200deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, 0) 30%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14); }
.watch__crown { position: absolute; z-index: 1; right: -34px; top: 18%; width: 44px; height: 56px; border: 0; padding: 0; background: transparent; cursor: pointer; transition: top .45s var(--spring), right .45s var(--spring), transform .45s var(--spring); }
.watch__crown::before { content: ''; position: absolute; left: 8px; top: 6px; width: calc(var(--ww) * .07); height: calc(var(--ww) * .2); max-height: 44px; border-radius: 6px 9px 9px 6px; background: repeating-linear-gradient(180deg, #55575d 0 1.5px, #26272b 1.5px 3.2px); box-shadow: inset -2px 0 3px rgba(0, 0, 0, .5), inset 1px 0 1px rgba(255, 255, 255, .25); transition: transform .2s var(--spring), background .35s, width .35s, height .35s; }
.watch__crown:active::before, .watch__crown.is-turn::before { transform: scaleY(.94) translateY(1px); }
.watch__crown:focus-visible { outline-offset: -4px; border-radius: 12px; }
.watch__side { position: absolute; z-index: 1; right: calc(var(--ww) * -.028); top: 52%; width: calc(var(--ww) * .035); height: calc(var(--ww) * .26); border-radius: 0 6px 6px 0; background: linear-gradient(90deg, #26272b, #44464b); transition: top .45s var(--spring), right .45s var(--spring), height .42s var(--spring), width .35s, transform .45s var(--spring), border-radius .35s, background .35s; }
.watch__screen { position: absolute; inset: 0; border: 0; background: transparent; color: #fff; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 14% 8% 10%; gap: 2%; touch-action: pan-y; user-select: none; -webkit-user-select: none; transition: padding .42s var(--ease); }
.watch__screen:focus-visible { outline: 3px solid #FF7A66; outline-offset: -4px; border-radius: inherit; }
.watch__time { position: absolute; top: 7%; right: 13%; font: 600 calc(var(--ww) * .064)/1 -apple-system, system-ui, sans-serif; color: #fff; transition: top .35s var(--ease), right .35s var(--ease), transform .35s var(--ease); }
.watch__name { font: 700 calc(var(--ww) * .1)/1.1 var(--f-hand); max-width: 90%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.watch__ring { width: calc(var(--ww) * .52); height: calc(var(--ww) * .52); transition: width .42s var(--spring), height .42s var(--spring); }
.watch__line { font: 400 calc(var(--ww) * .078)/1.1 var(--f-hand); color: #8C8C8C; transition: color .3s; }
.watch__line.is-kept { color: #FF1400; }
.watch__dots { position: absolute; bottom: 5%; display: flex; gap: 4px; transition: bottom .35s var(--ease); }
/* Omar's Watch: Emerald Titanium round bezel, integrated sculpted lugs, 2 o'clock crown & 4 o'clock button */
.watch[data-model="oneplus"] { width: calc(var(--ww) * 1.12); height: calc(var(--ww) * 1.12); margin: calc(var(--ww) * .46) 0; }
.watch[data-model="oneplus"] .watch__band {
  width: calc(var(--ww) * .48); height: calc(var(--ww) * .56);
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, .028) 0 2px, rgba(0, 0, 0, .085) 2px 5px),
    linear-gradient(90deg, rgba(0, 0, 0, .44) 0%, rgba(0, 0, 0, .06) 14%, rgba(255, 255, 255, .09) 46%, rgba(255, 255, 255, .02) 60%, rgba(0, 0, 0, .08) 86%, rgba(0, 0, 0, .44) 100%),
    #1F382F;
}
.watch[data-model="oneplus"] .watch__band--top { bottom: 84%; clip-path: none; border-radius: 0; }
.watch[data-model="oneplus"] .watch__band--bottom { top: 84%; clip-path: none; border-radius: 0; padding-top: calc(var(--ww) * .28); }
.watch[data-model="oneplus"] .watch__band--top::after { height: 36%; background: linear-gradient(to top, rgba(0, 0, 0, .58) 54%, transparent); }
.watch[data-model="oneplus"] .watch__band--bottom::after { height: 36%; background: linear-gradient(to bottom, rgba(0, 0, 0, .58) 54%, transparent); }
.watch[data-model="oneplus"] .watch__band .lug {
  z-index: -1;
  left: calc(var(--ww) * -.075); right: calc(var(--ww) * -.075); height: calc(var(--ww) * .255);
  border-radius: 0;
  background: linear-gradient(90deg, #4B5058 0%, #9CA2AC 18%, #D6DBE2 48%, #8F959F 82%, #474C54 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -1px 0 rgba(255, 255, 255, .25), 0 4px 10px rgba(0, 0, 0, .4);
}
.watch[data-model="oneplus"] .watch__band--top .lug { bottom: 0; clip-path: polygon(0% 100%, 4% 48%, 12% 14%, 19% 0%, 81% 0%, 88% 14%, 96% 48%, 100% 100%); }
.watch[data-model="oneplus"] .watch__band--bottom .lug { top: 0; clip-path: polygon(19% 100%, 12% 86%, 4% 52%, 0% 0%, 100% 0%, 96% 52%, 88% 86%, 81% 100%); }
.watch[data-model="oneplus"] .watch__band .hole { background: #101E19; box-shadow: inset 0 1px 1.5px rgba(0, 0, 0, .72), 0 1px 0 rgba(255, 255, 255, .14); }
.watch[data-model="oneplus"] .watch__band .keeper { width: 105%; background: linear-gradient(180deg, #2D4A3E, #21372E 50%, #172821); box-shadow: 0 2px 5px rgba(0, 0, 0, .5); }
.watch[data-model="oneplus"] .watch__case {
  border-radius: 50%;
  background: #0C0E0F;
  box-shadow:
    0 36px 64px -24px rgba(14, 24, 20, .55),
    0 14px 24px -10px rgba(0, 0, 0, .42);
}
.watch[data-model="oneplus"] .watch__case::after {
  content: ''; position: absolute; inset: 0; z-index: 2; border-radius: 50%; pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .36) 0%, rgba(255, 255, 255, .04) 26%, rgba(0, 0, 0, .38) 54%, rgba(255, 255, 255, .18) 82%, rgba(0, 0, 0, .24) 100%),
    radial-gradient(closest-side, #000 0 82%, #111514 82.5% 84.6%, #4F7869 85% 85.4%, #1E4639 85.8% 93.8%, #142F26 94.1% 94.7%, #E9EDF2 95.1% 95.6%, #BEC4CD 96% 98.2%, #7D838D 98.8% 100%);
  box-shadow: inset 0 1.5px 2px rgba(255, 255, 255, .65), inset 0 -2px 4px rgba(0, 0, 0, .55);
}
.watch[data-model="oneplus"] .watch__case::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; z-index: 3;
  background:
    repeating-conic-gradient(from -.6deg, rgba(235, 244, 240, .62) 0 1.2deg, transparent 1.2deg 30deg),
    repeating-conic-gradient(from -.25deg, rgba(235, 244, 240, .24) 0 .5deg, transparent .5deg 6deg);
  -webkit-mask: radial-gradient(closest-side, transparent 0 86.2%, #000 86.5% 93.2%, transparent 93.5%);
  mask: radial-gradient(closest-side, transparent 0 86.2%, #000 86.5% 93.2%, transparent 93.5%);
}
.watch[data-model="oneplus"] .watch__glass { inset: 8.4%; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), inset 0 2px 8px rgba(255, 255, 255, .06), 0 0 0 1.5px #070809; }
.watch[data-model="oneplus"] .watch__crown {
  top: 25%; right: 6.7%; width: calc(var(--ww) * .12); height: calc(var(--ww) * .16);
  transform: translate(68%, -50%) rotate(-30deg);
}
.watch[data-model="oneplus"] .watch__crown::before {
  left: 0; top: 50%; transform: translateY(-50%);
  width: calc(var(--ww) * .088); height: calc(var(--ww) * .135); max-height: 36px;
  border-radius: 2px 5px 5px 2px;
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, .36) 0 1px, rgba(0, 0, 0, .34) 1px 2.4px),
    linear-gradient(180deg, #F0F3F6 0%, #B8BFC8 32%, #7D848F 74%, #4D535D 100%);
  box-shadow: inset 3px 0 3px rgba(0, 0, 0, .35), inset -2px 0 2px rgba(0, 0, 0, .45), 0 3px 6px rgba(0, 0, 0, .35);
}
.watch[data-model="oneplus"] .watch__crown:active::before,
.watch[data-model="oneplus"] .watch__crown.is-turn::before { transform: translateY(-50%) scaleY(.92); }
.watch[data-model="oneplus"] .watch__side {
  top: 75%; right: 6.7%;
  width: calc(var(--ww) * .055); height: calc(var(--ww) * .165);
  border-radius: 2px 6px 6px 2px;
  transform: translate(34%, -50%) rotate(30deg);
  background: linear-gradient(180deg, #E2E6EC 0%, #A1A7B1 50%, #646A74 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65), inset -1px 0 2px rgba(0, 0, 0, .3), 0 2px 5px rgba(0, 0, 0, .38);
}
.watch[data-model="oneplus"] .watch__screen { padding: 15% 13% 14%; }
.watch[data-model="oneplus"] .watch__time { top: 7.5%; right: 50%; transform: translateX(50%); font-size: calc(var(--ww) * .054); letter-spacing: .02em; opacity: .92; }
.watch[data-model="oneplus"] .watch__name { font-size: calc(var(--ww) * .092); }
.watch[data-model="oneplus"] .watch__ring { width: calc(var(--ww) * .42); height: calc(var(--ww) * .42); }
.watch[data-model="oneplus"] .watch__line { font-size: calc(var(--ww) * .072); }
.watch[data-model="oneplus"] .watch__dots { bottom: 7.5%; }
.watch__dots i { width: 5px; height: 5px; border-radius: 50%; background: #444; transition: background-color .3s; }
.watch__dots i.on { background: #fff; }
.watch__ctrl { display: flex; align-items: center; gap: 16px; }
.note--watch { font-size: 1.1rem; color: var(--ink-2); text-align: center; }

.comps { border-top: 1px solid var(--rule); padding-top: 22px; margin-top: 4px; }
.comps__title { font: 500 .72rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.comps__list { display: grid; grid-template-columns: 74px 74px minmax(0, .78fr) minmax(0, 1.22fr); gap: 14px 12px; align-items: start; }
.comps__list li { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.comps__list li.full { grid-column: 1 / -1; align-items: stretch; }
.comps__list li > span { font: 500 .62rem/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: center; }
.comp { border: 0; text-align: left; background: #000; color: #fff; font-family: var(--f-hand); box-shadow: 0 10px 20px -12px rgba(0, 0, 0, .6); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform .18s var(--spring), background-color .25s; }
.comp:active { transform: scale(.96); }
.comp:focus-visible { outline: 3px solid #FF7A66; outline-offset: 2px; }
/* kept: same black face (a watch face doesn't change colour); the label says it */
.comp.is-done small { color: #FF5A45; opacity: 1; }
.comp--round { position: relative; width: 70px; height: 70px; padding: 0; border-radius: 50%; display: grid; place-items: center; text-align: center; }
.comp--round svg { position: absolute; inset: 5px; width: 60px; height: 60px; }
.comp--round b { font: 700 1.15rem/1 var(--f-hand); }
.comp--fill { background: radial-gradient(circle, #232323 0 58%, #000 60%); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.comp--fill .big { font-size: 1.55rem; line-height: .9; }
.comp--fill small { font-size: .62rem; letter-spacing: .1em; }
.comp--rect { width: 100%; min-height: 70px; border-radius: 16px; padding: 10px 12px; display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.comp--rect small { font: 400 .72rem/1 var(--f-hand); letter-spacing: .12em; opacity: .8; }
.comp--rect b { font: 700 1.2rem/1.05 var(--f-hand); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #FF5A45; }
.comp--rect .dots { display: flex; gap: 4px; margin-top: 3px; }
.comp--rect .dots i { width: 7px; height: 7px; border-radius: 50%; border: 1.2px solid #fff; }
.comp--rect .dots i.on { background: #fff; }
.comp--quick { flex-direction: row; align-items: center; gap: 10px; }
.comp--quick svg { width: 40px; height: 40px; flex: none; }
.comp--quick div { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.comp--quick b { font-size: 1.02rem; }
.comp--quick em { font: 400 .82rem/1 var(--f-hand); font-style: normal; opacity: .8; }
.comp--line { border-radius: 999px; padding: 10px 16px; display: flex; align-items: center; justify-content: center; gap: 8px; font: 700 1.05rem/1 var(--f-hand); text-align: center; }
.comp--line svg { width: 15px; height: 15px; color: #7FD18B; }

/* live activity */
.lock { margin-top: auto; padding: 18px 16px 16px; border-radius: 24px; color: #fff; text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(165deg, #2A3A8F 0%, #3257FF 38%, #8E7BE8 70%, #F2A99B 100%); }
.lock__date { font: 600 .85rem/1 -apple-system, system-ui, sans-serif; opacity: .9; }
.lock__time { font: 700 clamp(3.4rem, 2.6rem + 2vw, 4.4rem)/1 var(--f-display); letter-spacing: -.03em; margin: 4px 0 16px; font-variation-settings: 'opsz' 96; }
.la { text-align: left; color: var(--ink); background: rgba(247, 241, 230, .94); border-radius: 22px; padding: 10px 12px 6px 14px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .4); }
.la__head { display: flex; align-items: center; gap: 6px; height: 26px; }
.la__head img { width: 22px; height: 22px; }
.la__head b { font: 700 1.15rem/1 var(--f-hand); flex: 1; }
.la__num { font: 700 1.55rem/1 var(--f-hand); }
.la ul { margin-top: 4px; }
.la li { display: flex; align-items: center; justify-content: space-between; min-height: 44px; }
.la li span { font: 700 clamp(.98rem, 2.6vw, 1.15rem)/1 var(--f-hand); position: relative; white-space: nowrap; }
.la li em { font: 400 .86rem/1 var(--f-hand); color: #7A7873; font-style: normal; margin-left: 4px; }
.la li.is-done > span { color: #7A7873; }
.la li > span::after { content: ''; position: absolute; left: -2px; right: -4px; top: 46%; height: 8px; background: no-repeat left center/100% 100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 8' preserveAspectRatio='none'%3E%3Cpath d='M1 5C15 2 25 7 40 4s30-2 45 1 14-1 14-1' fill='none' stroke='%23FF1400' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E"); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.la li.is-done > span::after { transform: scaleX(1); }
.chk { width: 44px; height: 44px; margin-right: -8px; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.chk::before { content: ''; width: 24px; height: 24px; border-radius: 50%; border: 1.8px solid #7A7873; transition: background-color .25s, border-color .25s, transform .3s var(--spring); }
.chk[aria-pressed="true"]::before { background: var(--ink) no-repeat center/12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.3 4.8 9 10 3' fill='none' stroke='%23F7F1E6' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); border-color: var(--ink); transform: scale(1.05); }

/* widgets */
.home { margin-top: auto; padding: 16px; border-radius: 24px; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.85fr); align-items: stretch; gap: 12px; background: linear-gradient(150deg, #F6C9BD 0%, #F3DCCB 45%, #CBD3F5 100%); }
.wdg { background: var(--paper); border-radius: 20px; padding: 12px; box-shadow: 0 10px 24px -14px rgba(60, 30, 10, .5); display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.wdg--s { align-items: center; justify-content: space-between; padding: 14px 12px 12px; }
.wdg--s img { flex: 1 1 0; height: 0; min-height: 92px; width: 100%; object-fit: contain; }
.wdg--s b { font: 700 clamp(.72rem, .92vw, .96rem)/1.1 var(--f-hand); margin-top: 6px; max-width: 100%; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wdg--m { justify-content: space-between; }
.wdg__lbl { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; font: 500 .55rem/1.15 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: #7A7873; }
.wdg__big { display: flex; align-items: baseline; gap: 4px; margin-top: 6px; }
.wdg__big b { font: 700 2.4rem/.9 var(--f-hand); }
.wdg__big span { font: 400 1.3rem/1 var(--f-hand); color: #7A7873; }
.wdg__big em { font: 400 .95rem/1 var(--f-hand); color: #7A7873; font-style: normal; margin-left: 4px; }
.wdg__bar { height: 4px; border-radius: 3px; background: #E5E0D5; margin: 6px 0 4px; overflow: hidden; }
.wdg__bar i { display: block; width: 60%; height: 100%; background: var(--red); }
.wdg ul li { display: flex; align-items: center; gap: 6px; height: 28px; border-bottom: 1px solid #D3CEC5; font: 700 1rem/1 var(--f-hand); }
.wdg ul li:last-child { border-bottom: 0; }
.wdg ul img { width: 16px; height: 22px; object-fit: contain; }
.wdg ul em { margin-left: auto; font: 400 .8rem/1 var(--f-hand); font-style: normal; padding: 2px 6px; border-radius: 99px; background: #E5E0D5; }

/* long-press */
.press { margin-top: auto; padding: 20px; border-radius: 24px; display: flex; align-items: flex-start; justify-content: center; gap: 16px; background: linear-gradient(140deg, #3B4A9C, #6C7EE0 60%, #B7B3E6); }
.press__icon { width: 64px; height: 64px; border-radius: 15px; box-shadow: 0 10px 22px -8px rgba(0, 0, 0, .5); flex: none; }
.press__menu { flex: 1; max-width: 250px; border-radius: 14px; overflow: hidden; background: rgba(246, 244, 248, .86); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .45); font: 400 .95rem/1 -apple-system, system-ui, sans-serif; color: #111; }
.press__menu li { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-top: 1px solid rgba(60, 60, 67, .16); transition: background-color .2s; }
.press__menu li:first-child { border-top: 0; }
.press__menu li:hover { background: rgba(0, 0, 0, .06); }
.press__menu svg { width: 18px; height: 18px; }

/* ---------------------------------------------------------------- kind */
.kind__block { border-radius: var(--r-xl); background: var(--blush); padding: clamp(28px, 5.5vw, 88px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); align-items: center; position: relative; overflow: hidden; }
.kind__block::before { content: ''; position: absolute; right: -10%; bottom: -30%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .6), rgba(255, 255, 255, 0) 65%); }
.kind .sub { margin-top: 22px; color: #4A3A37; }
.kind .kicker { color: #B00E00; }
.kind__list { margin-top: 32px; display: grid; gap: 14px; }
.kind__list li { position: relative; padding-left: 30px; color: #4A3A37; }
.kind__list li::before { content: ''; position: absolute; left: 0; top: .25em; width: 20px; height: 20px; background: no-repeat center/contain url(img/rose-dot.png); }
.kind__list b { color: var(--ink); }
.sheet { position: relative; }
.sheet__sprig { position: absolute; right: -4%; top: -30%; width: 30%; transform: rotate(24deg); transform-origin: 50% 100%; z-index: 0; opacity: .95; }
.sheet__card { position: relative; z-index: 1; background: var(--paper); border-radius: 26px; padding: 26px 22px 18px; box-shadow: 0 40px 70px -40px rgba(40, 30, 20, .4), 0 2px 0 rgba(255, 255, 255, .7) inset; }
.sheet__card::before { content: ''; display: block; width: 40px; height: 5px; border-radius: 3px; background: #D3CEC5; margin: -12px auto 18px; }
.sheet__title { font: 700 1.55rem/1.1 var(--f-hand); }
.sheet__sub { font: 400 1.12rem/1.3 var(--f-hand); color: #7A7873; margin-top: 6px; }
.sheet__opts { margin-top: 10px; }
.sheet__opts button { width: 100%; text-align: left; border: 0; background: transparent; cursor: pointer; padding: 12px 34px 12px 40px; border-radius: 14px; position: relative; display: flex; flex-direction: column; gap: 3px; min-height: 56px; transition: background-color .2s; }
.sheet__opts button::before { content: ''; position: absolute; left: 10px; top: 15px; width: 18px; height: 18px; border-radius: 50%; border: 1.8px solid var(--red); transition: background-color .2s; }
.sheet__opts button::after { content: '›'; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: #9b958c; }
.sheet__opts button:hover { background: rgba(20, 20, 20, .05); }
.sheet__opts button[aria-pressed="true"] { background: rgba(255, 20, 0, .08); }
.sheet__opts button[aria-pressed="true"]::before { background: var(--red) no-repeat center/10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.3 4.8 9 10 3' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.sheet__opts b { font: 700 1.22rem/1.1 var(--f-hand); }
.sheet__opts span { font: 400 1.02rem/1.2 var(--f-hand); color: #7A7873; }
.sheet__ok { min-height: 1.6em; margin: 8px 10px 0; font: 700 1.15rem/1.2 var(--f-hand); color: var(--red-ink); }

/* ------------------------------------------------------------- privacy */
.privacy__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.privacy .sub { margin: 22px 0 24px; }
.facts { display: grid; gap: 12px; }
.facts li { display: grid; grid-template-columns: 96px 1fr; column-gap: 20px; align-items: center; padding: 22px 24px; border-radius: var(--r-l); background: var(--card); border: 1px solid var(--rule); }
.facts__n { grid-row: span 2; font: 780 4.6rem/.8 var(--f-display); letter-spacing: -.02em; color: var(--red); font-variation-settings: 'opsz' 96; text-align: center; }
.facts b { font-size: 1.2rem; letter-spacing: -.02em; }
.facts p { color: var(--ink-2); font-size: .98rem; }

/* ------------------------------------------------------------- pricing */
.tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 860px; margin: 0 auto; }
.tier { border-radius: var(--r-l); padding: 32px; background: var(--card); border: 1px solid var(--rule); }
.tier--main { background: var(--ink); color: var(--paper); }
.tier__price { margin: 14px 0; font-size: 1rem; }
.tier__price b { font-size: 2.6rem; letter-spacing: -.04em; }
.tier ul { margin-top: 18px; display: grid; gap: 8px; }

/* ----------------------------------------------------------------- faq */
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq .head { margin: 0; position: sticky; top: 120px; }
.acc__item { border-top: 1px solid rgba(20, 20, 20, .14); }
.acc__item:last-child { border-bottom: 1px solid rgba(20, 20, 20, .14); }
.acc__item h3 { font-size: inherit; font-weight: inherit; }
.acc button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 4px; min-height: 64px; border: 0; background: transparent; cursor: pointer; text-align: left; font-size: clamp(1.1rem, 1rem + .35vw, 1.3rem); font-weight: 650; letter-spacing: -.02em; transition: color .2s; }
.acc button:hover { color: var(--red-ink); }
.acc button i { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; background: rgba(20, 20, 20, .06); transition: background-color .25s, transform .4s var(--spring); }
.acc button i::before, .acc button i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease); }
.acc button i::after { transform: rotate(90deg); }
.acc button[aria-expanded="true"] i { background: var(--red); color: #fff; transform: rotate(180deg); }
.acc button[aria-expanded="true"] i::after { transform: rotate(0); }
.acc__panel { padding: 0 60px 26px 4px; color: var(--ink-2); animation: open .4s var(--ease); }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } }

/* ------------------------------------------------------------ final cta */
.get { padding: 0 var(--gutter) var(--section); }
.get__in { position: relative; max-width: 1240px; border-radius: var(--r-xl); background: var(--red); color: var(--ink); padding: clamp(56px, 8vw, 120px) clamp(24px, 5vw, 64px); text-align: center; overflow: hidden; isolation: isolate; }
.get__in::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 70% at 50% 0%, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 70%); }
.get__rose { position: absolute; z-index: -1; pointer-events: none; }
.get__rose--l { left: -2%; bottom: -6%; width: clamp(180px, 24vw, 340px); height: clamp(260px, 34vw, 480px); }
.get__rose--r { right: -1%; top: -4%; width: clamp(140px, 17vw, 240px); height: clamp(200px, 24vw, 340px); transform: scaleX(-1); }
.get__copy { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.get__icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .1), 0 18px 36px -14px rgba(0, 0, 0, .35); margin-bottom: 28px; }
.display--get { font-size: clamp(2.6rem, 1.5rem + 4.6vw, 5.5rem); }
.get .lede { color: #2B0400; margin-top: 18px; }
.get .stores { margin-top: 34px; }
.get .trust { color: var(--ink); }
.get .trust li::before { filter: brightness(0); }
.get .store__soon { background: var(--ink); box-shadow: none; }
.get__req { margin-top: 14px; font-size: .86rem; color: #3A0800; }

/* --------------------------------------------------------------- footer */
.get__news { margin-top: 18px; }
.get__news .link { color: var(--ink); --ul: currentColor; }
.foot { padding: 0 0 48px; }
.foot__in { display: grid; grid-template-columns: 1fr auto; gap: 32px 64px; align-items: start; border-top: 1px solid var(--rule); padding-top: 40px; }
.foot__brand p { color: var(--muted); margin-top: 8px; font-family: var(--f-hand); font-size: 1.15rem; white-space: nowrap; }
.foot__links { display: grid; grid-template-columns: repeat(2, minmax(150px, auto)); gap: 0 48px; }
.foot__col { display: flex; flex-direction: column; align-items: flex-start; }
.foot__h { font: 500 .72rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.foot__links a { padding: 0 10px; margin-left: -10px; min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; color: var(--ink-2); border-radius: 999px; font-size: .95rem; }
.foot__links a:hover { background: rgba(20, 20, 20, .06); color: var(--ink); }
.foot__links a[aria-current="page"] { color: var(--ink); font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .foot__links a { min-height: 34px; } }
.foot__brand .foot__copy { margin-top: 14px; font: 400 .8rem/1.5 var(--f-mono); letter-spacing: .02em; color: var(--muted); white-space: normal; }

/* ------------------------------------------------- sticky bar, toast */
.getbar { display: none; }
@media (max-width: 760px) {
  .getbar {
    display: flex; align-items: center; gap: 12px; position: fixed; z-index: 60; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
    padding: 10px 10px 10px 12px; border-radius: 22px; background: rgba(20, 20, 20, .94); color: #fff;
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .5);
    contain: layout style;
    transform: translate3d(0, calc(160% + env(safe-area-inset-bottom)), 0); transition: transform .42s var(--ease);
  }
  .getbar.is-on { transform: translate3d(0, 0, 0); }
  .nav__cta { transition: opacity .3s, transform .3s; }
  .nav { transition: transform .45s var(--ease); }
  .bar-on .nav__cta { display: none; }
  .bar-on .nav__in { width: max-content; padding-right: 16px; }
  .bar-on:not(.nav-up) .nav { transform: translate3d(0, calc(-140% - env(safe-area-inset-top)), 0); }
  .getbar img { width: 40px; height: 40px; border-radius: 10px; }
  .getbar p { flex: 1; display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
  .getbar p b { font-size: 1rem; }
  .getbar p span { font: 400 1rem/1.1 var(--f-hand); color: rgba(255, 255, 255, .72); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .getbar .pill--ink { background: var(--paper); color: var(--ink); box-shadow: none; }
}
.toast {
  position: fixed; z-index: 70; left: 50%; bottom: 24px; transform: translate3d(-50%, 20px, 0); opacity: 0; pointer-events: none;
  max-width: calc(100% - 32px); padding: 14px 22px 13px; border-radius: 999px; background: var(--ink); color: var(--paper);
  font: 700 1.15rem/1.2 var(--f-hand); text-align: center; box-shadow: 0 16px 36px -14px rgba(0, 0, 0, .6);
  transition: opacity .3s, transform .45s var(--spring);
}
.toast.is-on { opacity: 1; transform: translate3d(-50%, 0, 0); }
@media (max-width: 760px) { .toast { bottom: calc(96px + env(safe-area-inset-bottom)); } }

/* --------------------------------------------------------- scroll reveal */
/* movement only: content is never invisible, even if the observer never fires */
.reveal-on .reveal:not(.is-in) { transform: translateY(36px) scale(.985); }
.reveal-on .reveal { transition: transform 1s var(--ease); transition-delay: var(--d, 0s); }

/* ============================================================ dark mode */
[data-theme="dark"] {
  --paper: #080706;
  --paper-2: #12100E;
  --card: #141210;
  --ink: #F4EEE6;
  --ink-2: #CFC6BA;
  --muted: #9B9186;
  --rule: rgba(255, 255, 255, .1);
  --red-ink: #FF7A66;
  --line: rgba(255, 180, 168, .28);
  --blush: #1F1211;
  --sh-1: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 20px -8px rgba(0, 0, 0, .55);
  --sh-2: 0 4px 12px rgba(0, 0, 0, .45), 0 28px 56px -24px rgba(0, 0, 0, .75);
  --sh-phone: 0 60px 90px -40px rgba(0, 0, 0, .85), 0 30px 50px -30px rgba(0, 0, 0, .65);
}
[data-theme="dark"] body::before { opacity: .28; }
[data-theme="dark"] .pill--ink {
  background: var(--ink); color: #111;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 6px 14px -6px rgba(0, 0, 0, .7);
}
[data-theme="dark"] .pill--ink:hover { background: #fff; }
[data-theme="dark"] .store {
  background: #1B1917; color: #F4EEE6;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .1) inset, 0 0 0 1px rgba(255, 255, 255, .16), 0 12px 24px -12px rgba(0, 0, 0, .75);
}
[data-theme="dark"] .store:hover {
  background: #25221F;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .14) inset, 0 0 0 1px rgba(255, 255, 255, .28), 0 18px 30px -14px rgba(0, 0, 0, .85);
}
[data-theme="dark"] .round { background: #1C1A17; border-color: rgba(255, 255, 255, .14); }
[data-theme="dark"] .round:hover { background: #282420; }
[data-theme="dark"] .nav__in {
  background: rgba(20, 18, 16, .74); border-color: rgba(255, 255, 255, .1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .07) inset;
}
[data-theme="dark"] .nav.is-scrolled .nav__in {
  background: rgba(18, 16, 14, .92); border-color: rgba(255, 255, 255, .13);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset, 0 12px 30px -16px rgba(0, 0, 0, .7);
}
[data-theme="dark"] .brand img { box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 2px 8px -2px rgba(0, 0, 0, .6); }
[data-theme="dark"] .nav__links a:hover,
[data-theme="dark"] .foot__links a:hover,
[data-theme="dark"] .theme-btn:hover { background: rgba(255, 255, 255, .08); color: var(--ink); }

[data-theme="dark"] .phone--hero { --scr: #080708; }
[data-theme="dark"] .phone--peek { --scr: #141210; }
[data-theme="dark"] .app { background: #080708; }
[data-theme="dark"] .app__date { color: #9A9186; }
[data-theme="dark"] .app__bar { background: #26221E; }
[data-theme="dark"] .app__grid { background: #1C1916; border-color: rgba(255, 255, 255, .12); }
[data-theme="dark"] .app__fab { background: #F4EEE6; color: #141414; }
[data-theme="dark"] .app__tabs { background: rgba(22, 20, 18, .78); border-color: rgba(255, 255, 255, .12); color: #EAE2D7; }

[data-theme="dark"] .beat__label { background: rgba(20, 18, 16, .86); border-color: rgba(255, 255, 255, .12); }
[data-theme="dark"] .cell { box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset; }
[data-theme="dark"] .cell:hover { border-color: rgba(255, 255, 255, .18); }
[data-theme="dark"] .cell--green { background: linear-gradient(170deg, #171412 0%, #110F0D 100%); }
[data-theme="dark"] .photo { background: #1E1B18; border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 1px 2px rgba(0, 0, 0, .6), 0 8px 18px -6px rgba(0, 0, 0, .65); }
[data-theme="dark"] .gh { background: #141210; }
[data-theme="dark"] .gh__handle { background: #3A342E; }
[data-theme="dark"] .gh__close { border-color: rgba(255, 255, 255, .14); }
[data-theme="dark"] .gh__name { color: #B3A89C; }
[data-theme="dark"] .gh__meta,
[data-theme="dark"] .gh__stats span,
[data-theme="dark"] .gh__sec,
[data-theme="dark"] .gh__habits em,
[data-theme="dark"] .gh__run span { color: #9A9186; }
[data-theme="dark"] .gh__stats li { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
[data-theme="dark"] .gh__habits i { background: linear-gradient(90deg, var(--red) var(--p), #2D2823 0); }
[data-theme="dark"] .gh__run { background: #1E1A16; }

[data-theme="dark"] .rain { background: rgba(255, 255, 255, .03); }
[data-theme="dark"] .rain__streak em,
[data-theme="dark"] .rain__week li.umb { background: rgba(82, 114, 255, .2); color: #8CA3FF; }
[data-theme="dark"] .rain__charge i { background: rgba(255, 255, 255, .12); }

[data-theme="dark"] .sky__art { background: linear-gradient(#1A161D, #121015); }
[data-theme="dark"] .sky[data-sky="cloud"] .sky__art { background: linear-gradient(#17171E, #121218); }
[data-theme="dark"] .sky[data-sky="rain"] .sky__art { background: linear-gradient(#12141E, #15141C); }
[data-theme="dark"] .sky__cloud path { fill: #2B2834; stroke: #433E50; }
[data-theme="dark"] .sky[data-sky="rain"] .sky__cloud path { fill: #211F2B; stroke: #363245; }
[data-theme="dark"] .sky__hill { fill: #221E29; }
[data-theme="dark"] .seg { background: rgba(255, 255, 255, .08); }
[data-theme="dark"] .seg button[aria-checked="true"] { background: #F4EEE6; color: #141414; }
[data-theme="dark"] .seg button:hover:not([aria-checked="true"]):not([aria-selected="true"]) { background: rgba(255, 255, 255, .08); }

[data-theme="dark"] .rings circle:not(.arc) { stroke: #2B2621; }
[data-theme="dark"] .weekbars i { background: linear-gradient(90deg, var(--ink) calc(var(--w) * 100%), rgba(255, 255, 255, .1) 0); }
[data-theme="dark"] .weekbars p + p i { background: linear-gradient(90deg, #6E655B calc(var(--w) * 100%), rgba(255, 255, 255, .1) 0); }
[data-theme="dark"] .quick__field,
[data-theme="dark"] .friend__code { background: #1C1916; }
[data-theme="dark"] .quick__chips span { background: rgba(82, 114, 255, .2); color: #8CA3FF; }
[data-theme="dark"] .quick__list li { border-top-color: rgba(255, 255, 255, .12); }
[data-theme="dark"] .quick__list i { border-color: #7D746B; }
[data-theme="dark"] .tiles__segs i { background: rgba(255, 255, 255, .14); }
[data-theme="dark"] .tile { background: #1D1A17; }
[data-theme="dark"] .tile__ink path { stroke: rgba(255, 255, 255, .26); }
[data-theme="dark"] .tile.is-done { color: #fff; }
[data-theme="dark"] .visit__habits li { background: #24201B; }
[data-theme="dark"] .visit__habits li.on { background: var(--red); color: #fff; }
[data-theme="dark"] .styles canvas { background: linear-gradient(#1A1715, #131110); border-color: rgba(255, 255, 255, .08); }

/* in dark mode this section flips to daylight, as the app does, but in a
   shaded paper tone: a light section without a flash in a dark site */
[data-theme="dark"] .night {
  background:
    radial-gradient(ellipse 60% 55% at 62% 8%, rgba(255, 214, 178, .45), rgba(255, 214, 178, 0) 70%),
    linear-gradient(180deg, #D9CDBB 0%, #D2C4B0 60%, #C9B9A3 100%);
  color: #1E1915;
}
[data-theme="dark"] .night::after { background: linear-gradient(transparent, rgba(190, 172, 148, .5)); }
[data-theme="dark"] .night__moon { display: none; }
[data-theme="dark"] .night__sun { display: block; }
[data-theme="dark"] .kicker--night { color: #B21000; }
[data-theme="dark"] .night .h2 { color: #1E1915; }
[data-theme="dark"] .night .sub { color: #4A4038; }
[data-theme="dark"] .night__facts li { border-top-color: rgba(30, 25, 21, .14); color: #4A4038; }
[data-theme="dark"] .night__facts b { color: #1E1915; }
[data-theme="dark"] .phone--night {
  --sh-phone: 0 38px 72px -28px rgba(60, 35, 15, .4), 0 12px 24px -10px rgba(30, 20, 10, .24);
  box-shadow: 0 0 0 calc(var(--w) * .008) #2c2b29, 0 0 0 calc(var(--w) * .012) #77736d, 0 0 0 calc(var(--w) * .015) #1d1c1b, var(--sh-phone);
}

[data-theme="dark"] .ev__watch { background: radial-gradient(ellipse at 50% 42%, #23201D 0, #161412 60%, #110F0D 100%); }
[data-theme="dark"] .seg--watch button[aria-selected="true"] { color: #141414; }
[data-theme="dark"] .seg--watch:not(.has-thumb) button[aria-selected="true"] { background: #F4EEE6; }
[data-theme="dark"] .seg__thumb { background: #F4EEE6; }
[data-theme="dark"] .seg--watch button:hover:not([aria-selected="true"]) { background: rgba(255, 255, 255, .08); }
[data-theme="dark"] .watch[data-model="oneplus"] .watch__band { background-color: #1D352C; }
[data-theme="dark"] .watch__band {
  background-color: #BFAEA0;
}
[data-theme="dark"] .watch__band .hole { background: #8E7D6C; box-shadow: inset 0 1px 1.5px rgba(0, 0, 0, .55), 0 1px 0 rgba(255, 255, 255, .22); }
[data-theme="dark"] .watch__band .keeper { background: linear-gradient(180deg, #AD9C8D, #C7B6A7 50%, #9E8D7E); }

[data-theme="dark"] .lock { background: linear-gradient(165deg, #1B2763 0%, #243FA8 42%, #4E4287 78%, #70413B 100%); }
[data-theme="dark"] .la { background: rgba(22, 20, 18, .92); color: #F4EEE6; }
[data-theme="dark"] .la li em,
[data-theme="dark"] .la li.is-done > span { color: #9E9489; }
[data-theme="dark"] .chk::before { border-color: #9E9489; }
[data-theme="dark"] .chk[aria-pressed="true"]::before { background: #F4EEE6 no-repeat center/12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.3 4.8 9 10 3' fill='none' stroke='%23141414' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); border-color: #F4EEE6; }

[data-theme="dark"] .home { background: linear-gradient(150deg, #4B2C28 0%, #3E3028 45%, #272E4F 100%); }
[data-theme="dark"] .wdg { background: #141210; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .8); }
[data-theme="dark"] .wdg__lbl,
[data-theme="dark"] .wdg__big span,
[data-theme="dark"] .wdg__big em { color: #9E9489; }
[data-theme="dark"] .wdg__bar,
[data-theme="dark"] .wdg ul em { background: #2A2621; }
[data-theme="dark"] .wdg ul li { border-bottom-color: rgba(255, 255, 255, .12); }

[data-theme="dark"] .press { background: linear-gradient(140deg, #212A5C, #3D4A99 60%, #585282); }
[data-theme="dark"] .press__menu { background: rgba(26, 24, 28, .9); color: #F4EEE6; }
[data-theme="dark"] .press__menu li { border-top-color: rgba(255, 255, 255, .12); }
[data-theme="dark"] .press__menu li:hover { background: rgba(255, 255, 255, .08); }

[data-theme="dark"] .kind__block { border: 1px solid rgba(255, 180, 168, .12); }
[data-theme="dark"] .kind__block::before { background: radial-gradient(circle, rgba(255, 122, 102, .12), rgba(255, 122, 102, 0) 65%); }
[data-theme="dark"] .kind .kicker { color: #FF7A66; }
[data-theme="dark"] .kind .sub,
[data-theme="dark"] .kind__list li { color: #D3C5C0; }
[data-theme="dark"] .sheet__card { background: #141210; border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .8), 0 1px 0 rgba(255, 255, 255, .08) inset; }
[data-theme="dark"] .sheet__card::before { background: #3B3530; }
[data-theme="dark"] .sheet__sub,
[data-theme="dark"] .sheet__opts span { color: #9E9489; }
[data-theme="dark"] .sheet__opts button::after { color: #8C837A; }
[data-theme="dark"] .sheet__opts button:hover { background: rgba(255, 255, 255, .06); }
[data-theme="dark"] .sheet__opts button[aria-pressed="true"] { background: rgba(255, 20, 0, .14); }

[data-theme="dark"] .acc__item,
[data-theme="dark"] .acc__item:last-child { border-color: rgba(255, 255, 255, .12); }
[data-theme="dark"] .acc button i { background: rgba(255, 255, 255, .08); }
[data-theme="dark"] .acc button[aria-expanded="true"] i { background: var(--red); }

[data-theme="dark"] .get__in { color: #141414; --ink: #141414; --ink-2: #2B0400; }
[data-theme="dark"] .get__in .store { background: #141414; color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .14) inset, 0 0 0 1px rgba(0, 0, 0, .6), 0 12px 24px -12px rgba(20, 20, 20, .55); }
[data-theme="dark"] .get__in .store:hover { background: #000; }

[data-theme="dark"] .toast { background: #F4EEE6; color: #141414; }
@media (max-width: 760px) {
  [data-theme="dark"] .getbar { background: rgba(24, 21, 19, .92); border: 1px solid rgba(255, 255, 255, .14); color: #F4EEE6; }
  [data-theme="dark"] .getbar .pill--ink { background: #F4EEE6; color: #141414; }
}

/* ============================================================ responsive */
@media (max-width: 1199px) and (min-width: 681px) {
  .note--hero, .note__arrow, .hero__done { display: none; }
}
@media (max-width: 1100px) {
  .comps__list { grid-template-columns: 74px 74px minmax(0, 1fr); }
  .comps__list li.wide:nth-of-type(4) { grid-column: 1 / -1; }
}
@media (max-width: 1023px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__copy { display: flex; flex-direction: column; align-items: center; }
  .hero .lede { margin-inline: auto; }
  .stores, .trust { justify-content: center; }
  .hero__stage { margin-top: 24px; }

  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "green green" "rain sky" "pat tasks" "tiles friends" "styles styles"; }
  .cell--green { min-height: clamp(500px, 54vw, 600px); }
  .night__grid { grid-template-columns: 1fr; }
  .night__copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .night__facts { text-align: left; max-width: 560px; width: 100%; }
  .night__stage { min-height: 0; padding: 20px 0 40px; }
  .ev { grid-template-columns: 1fr 1fr; grid-template-areas: "watch watch" "live wid" "press press"; }
  .home { grid-template-columns: minmax(0, .86fr) minmax(0, 1.8fr); }
  .ev__watch { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 28px; align-items: center; }
  .ev__watchhead, .ev__watchtxt { grid-column: 1 / -1; }
  .ev__watch .watchwrap { grid-column: 1; }
  .comps { grid-column: 2; border-top: 0; padding-top: 0; margin-top: 0; }
  .comps__list { grid-template-columns: 74px 74px minmax(0, 1fr); }
  .comps__list li.wide:nth-of-type(4) { grid-column: 1 / -1; }
  .privacy__grid, .faq__grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .facts li, .facts li.reveal { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 24px 14px 20px; }
  .facts p { font-size: .9rem; }
  .sheet { max-width: 520px; width: 100%; justify-self: center; }
  .sheet__sprig { display: none; }
  .get__rose--l { width: 130px; height: 190px; left: -6px; bottom: -8px; }
  .get__rose--r { width: 110px; height: 160px; }
  .get__in { padding-bottom: 150px; }
  .faq .head { position: static; }
  .kind__block { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .beats { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; gap: 40px; }
  .beat { display: grid; grid-template-columns: 240px 1fr; column-gap: 28px; align-items: center; }
  .beat__art { grid-row: span 3; margin: 0; }
  .foot__in { grid-template-columns: 1fr; gap: 28px; padding-top: 32px; }
  .foot__links { grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .ev__watch { display: flex; align-items: stretch; }
  .wdg--s { display: none; }
  .home { grid-template-columns: 1fr; }
  .comps { border-top: 1px solid var(--rule); padding-top: 18px; margin-top: 2px; }
  .comps__list { grid-template-columns: 74px 74px minmax(0, .78fr) minmax(0, 1.22fr); }
  .comps__list li.wide:nth-of-type(4) { grid-column: auto; }
}
@media (max-width: 680px) {
  .display { letter-spacing: -.012em; }
  .h2 { letter-spacing: -.008em; }
  .hero { padding-top: 84px; }
  .eyebrow { margin-bottom: 16px; padding: 6px 12px 6px 8px; gap: 7px; font-size: .62rem; letter-spacing: .09em; max-width: 100%; }
  .eyebrow .dot { width: 15px; height: 15px; }
  .display { font-size: clamp(2.6rem, 11.5vw, 3.4rem); }
  .hero .lede { margin-top: 14px; font-size: 1.04rem; line-height: 1.42; }
  .hero .stores { margin-top: 20px; }
  .hero .trust { margin-top: 12px; font-size: .64rem; gap: 4px 12px; flex-wrap: nowrap; }
  .trust li { gap: 5px; }
  .trust li::before { width: 11px; height: 11px; }
  .hero__req { margin-top: 10px; font-size: .78rem; }
  .hero__stage { display: flex; flex-direction: column; align-items: center; margin-top: 0; padding: 12px 0 24px; }
  .phone--hero { --w: min(300px, 78vw); transform: none; }
  .hero__blob { width: 110%; }
  .note--hero { position: static; order: 2; margin-top: 16px; font-size: 1.15rem; transform: rotate(-2deg); }
  .note__arrow { display: none; }
  .hero__done { position: static; order: 3; margin-top: 8px; text-align: center; max-width: none; font-size: 1.15rem; transform: none; }
  .hero__done.is-on { transform: none; }
  .head { margin-bottom: 28px; }
  .head .sub { margin-top: 14px; }
  .kicker { margin-bottom: 12px; }
  .beats { gap: 22px; }
  .beat { grid-template-columns: 116px 1fr; column-gap: 16px; align-items: start; }
  .beat__art { aspect-ratio: 1; border-radius: 20px; margin: 0; }
  .beat__label { display: none; }
  .beat .h3 { margin-bottom: 6px; }
  .beat p:not(.step) { font-size: .95rem; line-height: 1.45; }
  .step { margin-bottom: 6px; }
  .bento { grid-template-columns: 1fr; grid-template-areas: "green" "rain" "sky" "pat" "tasks" "tiles" "friends" "styles"; gap: 12px; }
  .cell { min-height: 0; padding: 22px; gap: 16px; }
  .cell--green { min-height: 0; padding-bottom: 0; }
  .cell--green .cell__txt, .cell--green .kept { max-width: none; }
  .kept { margin-block: 0; }
  .phone--peek { position: relative; right: auto; top: auto; margin: 6px auto 0; transform: rotate(3deg); --w: 230px; }
  .cell--green .wall { display: grid; max-width: none; margin: 28px 0 24px; order: 3; }
  .photo figcaption b { font-size: .92rem; }
  .photo figcaption span { font-size: .6rem; letter-spacing: .04em; }
  .quick__list li:nth-child(3) { display: none; }
  .styles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .styles canvas { aspect-ratio: 1; }
  .tile { min-height: 82px; gap: 10px; }
  .night { padding-block: 64px 48px; }
  .sky__art { max-height: 130px; }
  .night__facts { margin-top: 24px; }
  .night__facts li { font-size: .92rem; padding: 12px 0; }
  .night__stage { display: flex; flex-direction: column; padding: 8px 0 0; }
  .phone--night { --w: 236px; }
  .ev { display: flex; flex-direction: column; gap: 14px; }
  .ev__watch { padding: 22px; gap: 16px; }
  .ev__more {
    display: flex; gap: 12px; overflow-x: auto; overflow-y: hidden; align-items: stretch;
    scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 10px; max-width: none; scrollbar-width: none;
  }
  .ev__more::-webkit-scrollbar { display: none; }
  .ev__more > article { flex: 0 0 86%; scroll-snap-align: center; }
  .ev__card { padding: 22px; }
  .swipe { display: block; }
  .watch { --ww: 214px; }
  .watch__ctrl { gap: 10px; justify-content: center; }
  .note--watch { font-size: .95rem; white-space: normal; }
  .comps__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); justify-items: center; gap: 14px 12px; }
  .comps__list li { width: 100%; }
  .comps__list li.wide, .comps__list li.wide:nth-of-type(4), .comps__list li.full { grid-column: 1 / -1; width: 100%; }
  .wdg--s { display: none; }
  .home { grid-template-columns: 1fr; }
  .press { padding: 16px; gap: 12px; }
  .press__icon { width: 52px; height: 52px; border-radius: 13px; }
  .press__menu { font-size: .88rem; }
  .press__menu li { padding: 10px 12px; }
  .la li span { font-size: .98rem; white-space: nowrap; }
  .la li em { font-size: .82rem; }
  .lock__time { font-size: 3rem; margin-bottom: 10px; }
  .kind__block { padding: 26px 20px; gap: 28px; }
  .kind__list { margin-top: 20px; }
  .sheet__card { padding: 22px 16px 14px; }
  .sheet__opts button { padding: 9px 30px 9px 36px; min-height: 48px; }
  .sheet__opts span { display: none; }
  .sheet__opts button::before { top: 13px; }
  .sheet__sprig { display: none; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .facts li, .facts li.reveal { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 18px 8px 16px; }
  .facts p { display: none; }
  .facts b { font-size: .92rem; line-height: 1.2; }
  .facts__n { font-size: 3.4rem; }
  .acc button { padding: 16px 2px; min-height: 56px; font-size: 1.02rem; }
  .acc__panel { padding-bottom: 18px; padding-right: 8px; }
  .get__in { padding-top: 48px; padding-bottom: 140px; }
  .get__icon { width: 72px; height: 72px; margin-bottom: 20px; }
  .get__rose--r { display: none; }
  .get__rose--l { width: 110px; height: 160px; left: -8px; bottom: -8px; }
  .stores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 10px; width: 100%; max-width: 380px; margin-left: auto; margin-right: auto; }
  .store { min-width: 0; max-width: none; width: 100%; height: 56px; padding: 0 10px; gap: 8px; justify-content: center; border-radius: 14px; }
  .store__glyph { width: 22px; height: 22px; }
  .store__txt small { font-size: .62rem; white-space: nowrap; }
  .store__txt b { font-size: 1.02rem; white-space: nowrap; }
  .store__soon { top: -8px; right: auto; left: 50%; transform: translateX(-50%); padding: 3px 7px 2px; font-size: .52rem; letter-spacing: .1em; white-space: nowrap; }
  .foot { padding-bottom: 32px; }
}
@media (max-width: 340px) {
  .foot__brand p { white-space: normal; }
  .stores { grid-template-columns: 1fr; max-width: 240px; }
}
@media (max-width: 420px) {
  .hide-sm { display: none; }
  .eyebrow { font-size: .56rem; letter-spacing: .07em; padding: 5px 10px 5px 7px; }
}
@media (pointer: coarse), (hover: none), (max-width: 760px) {
  :focus, :focus-visible, .bud-btn:focus-visible, .watch__screen:focus-visible, .comp:focus-visible { outline: none; }
  button, a, input, [role="button"], [role="radio"], .phone, .watch, .comp, .tile, .lock, .home, .press, .sheet, canvas, .wall {
    -webkit-touch-callout: none; -webkit-user-select: none; user-select: none;
  }
}

/* ============================================================== motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
}
