/* Colour tokens: the app's six themes (Matcha is the default), each in light and dark. Built from
   app/src/core/theme/tokens.ts; the swatches in "Six calm themes" switch them (theme.js, data-palette).
   In light mode the page is a step darker than the cards, and every card has a visible border, so the
   interface stands clear of the background. Text pairs pass WCAG AA. */
:root {
  --bg: #f1f4ed;
  --surface: #ffffff;
  --surface2: #eef2ea;
  --surface3: #dfe6d9;
  --text: #141a12;
  --muted: #4f5946;
  --accent: #36721f;
  --brand: #88c36b;
  --eyes: #213616;
  --line: #eaeaea;
  --border: #d9dad9;
  --wash: #e0efd9;
  --btn: #141a12;
  --on-btn: #ffffff;
  --cta: #36721f;
  --on-cta: #ffffff;
  --ok: #2f6b1f;
  --err: #b83238;
  --shadow: 0 1px 2px rgba(16, 20, 14, 0.05), 0 12px 30px -18px rgba(16, 20, 14, 0.22);
  color-scheme: light;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 24px;
  --display: 'Funnel Display', 'Atkinson Hyperlegible Next', system-ui, sans-serif;
  --body: 'Atkinson Hyperlegible Next', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'DM Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
}
:root[data-theme="dark"] {
  --bg: #0c100b;
  --surface: #161c14;
  --surface2: #1f261c;
  --surface3: #2b3427;
  --text: #eef3ea;
  --muted: #a6b09f;
  --accent: #94cc77;
  --brand: #88c36b;
  --eyes: #213616;
  --line: #30362e;
  --border: #41473f;
  --wash: #263320;
  --btn: #eef3ea;
  --on-btn: #0c100b;
  --cta: #94cc77;
  --on-cta: #0c100b;
  --ok: #9fd884;
  --err: #ff8a8e;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 12px 32px -18px rgba(0, 0, 0, 0.7);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c100b;
    --surface: #161c14;
    --surface2: #1f261c;
    --surface3: #2b3427;
    --text: #eef3ea;
    --muted: #a6b09f;
    --accent: #94cc77;
    --brand: #88c36b;
    --eyes: #213616;
    --line: #30362e;
    --border: #41473f;
    --wash: #263320;
    --btn: #eef3ea;
    --on-btn: #0c100b;
    --cta: #94cc77;
    --on-cta: #0c100b;
    --ok: #9fd884;
    --err: #ff8a8e;
    --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 12px 32px -18px rgba(0, 0, 0, 0.7);
    color-scheme: dark;
  }
}
:root[data-palette="lavender"] {
  --bg: #f2f0f9;
  --surface: #ffffff;
  --surface2: #efedf7;
  --surface3: #e1ddef;
  --text: #17151f;
  --muted: #57526a;
  --accent: #6c4fd2;
  --brand: #cbbdf6;
  --eyes: #2a2142;
  --line: #eaeaeb;
  --border: #dadadb;
  --wash: #f1eefd;
  --btn: #17151f;
  --on-btn: #ffffff;
  --cta: #6c4fd2;
  --on-cta: #ffffff;
  --ok: #2f6b1f;
  --err: #b83238;
  --shadow: 0 1px 2px rgba(16, 20, 14, 0.05), 0 12px 30px -18px rgba(16, 20, 14, 0.22);
  color-scheme: light;
}
:root[data-palette="lavender"][data-theme="dark"] {
  --bg: #0e0d12;
  --surface: #18161e;
  --surface2: #211f29;
  --surface3: #2e2b38;
  --text: #f2f0f8;
  --muted: #aca7ba;
  --accent: #b6a5f8;
  --brand: #cbbdf6;
  --eyes: #2a2142;
  --line: #323038;
  --border: #44424a;
  --wash: #312d3c;
  --btn: #f2f0f8;
  --on-btn: #0e0d12;
  --cta: #b6a5f8;
  --on-cta: #0e0d12;
  --ok: #9fd884;
  --err: #ff8a8e;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 12px 32px -18px rgba(0, 0, 0, 0.7);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root[data-palette="lavender"]:not([data-theme="light"]) {
    --bg: #0e0d12;
    --surface: #18161e;
    --surface2: #211f29;
    --surface3: #2e2b38;
    --text: #f2f0f8;
    --muted: #aca7ba;
    --accent: #b6a5f8;
    --brand: #cbbdf6;
    --eyes: #2a2142;
    --line: #323038;
    --border: #44424a;
    --wash: #312d3c;
    --btn: #f2f0f8;
    --on-btn: #0e0d12;
    --cta: #b6a5f8;
    --on-cta: #0e0d12;
    --ok: #9fd884;
    --err: #ff8a8e;
    --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 12px 32px -18px rgba(0, 0, 0, 0.7);
    color-scheme: dark;
  }
}
:root[data-palette="peach"] {
  --bg: #f9f2ed;
  --surface: #ffffff;
  --surface2: #f7efe9;
  --surface3: #ede0d6;
  --text: #1d1611;
  --muted: #62544a;
  --accent: #a9481a;
  --brand: #f7c4a5;
  --eyes: #4a2a18;
  --line: #ebeaea;
  --border: #dbdad9;
  --wash: #fdf0e8;
  --btn: #1d1611;
  --on-btn: #ffffff;
  --cta: #a9481a;
  --on-cta: #ffffff;
  --ok: #2f6b1f;
  --err: #b83238;
  --shadow: 0 1px 2px rgba(16, 20, 14, 0.05), 0 12px 30px -18px rgba(16, 20, 14, 0.22);
  color-scheme: light;
}
:root[data-palette="peach"][data-theme="dark"] {
  --bg: #120e0b;
  --surface: #1d1713;
  --surface2: #271f1a;
  --surface3: #352b24;
  --text: #f8f1ec;
  --muted: #b8aba1;
  --accent: #f6a77e;
  --brand: #f7c4a5;
  --eyes: #4a2a18;
  --line: #37312d;
  --border: #49433e;
  --wash: #3c2f27;
  --btn: #f8f1ec;
  --on-btn: #120e0b;
  --cta: #f6a77e;
  --on-cta: #120e0b;
  --ok: #9fd884;
  --err: #ff8a8e;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 12px 32px -18px rgba(0, 0, 0, 0.7);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root[data-palette="peach"]:not([data-theme="light"]) {
    --bg: #120e0b;
    --surface: #1d1713;
    --surface2: #271f1a;
    --surface3: #352b24;
    --text: #f8f1ec;
    --muted: #b8aba1;
    --accent: #f6a77e;
    --brand: #f7c4a5;
    --eyes: #4a2a18;
    --line: #37312d;
    --border: #49433e;
    --wash: #3c2f27;
    --btn: #f8f1ec;
    --on-btn: #120e0b;
    --cta: #f6a77e;
    --on-cta: #120e0b;
    --ok: #9fd884;
    --err: #ff8a8e;
    --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 12px 32px -18px rgba(0, 0, 0, 0.7);
    color-scheme: dark;
  }
}
:root[data-palette="sky"] {
  --bg: #eff3f9;
  --surface: #ffffff;
  --surface2: #ecf1f8;
  --surface3: #dce5f0;
  --text: #121722;
  --muted: #525b69;
  --accent: #2a69b8;
  --brand: #a9d2f5;
  --eyes: #16304a;
  --line: #eaeaeb;
  --border: #d9dadc;
  --wash: #e9f3fc;
  --btn: #121722;
  --on-btn: #ffffff;
  --cta: #2a69b8;
  --on-cta: #ffffff;
  --ok: #2f6b1f;
  --err: #b83238;
  --shadow: 0 1px 2px rgba(16, 20, 14, 0.05), 0 12px 30px -18px rgba(16, 20, 14, 0.22);
  color-scheme: light;
}
:root[data-palette="sky"][data-theme="dark"] {
  --bg: #0b0e12;
  --surface: #151a21;
  --surface2: #1d242d;
  --surface3: #29323d;
  --text: #eef3f9;
  --muted: #a3adba;
  --accent: #8cc3f2;
  --brand: #a9d2f5;
  --eyes: #16304a;
  --line: #2f343b;
  --border: #40454c;
  --wash: #2a343f;
  --btn: #eef3f9;
  --on-btn: #0b0e12;
  --cta: #8cc3f2;
  --on-cta: #0b0e12;
  --ok: #9fd884;
  --err: #ff8a8e;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 12px 32px -18px rgba(0, 0, 0, 0.7);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root[data-palette="sky"]:not([data-theme="light"]) {
    --bg: #0b0e12;
    --surface: #151a21;
    --surface2: #1d242d;
    --surface3: #29323d;
    --text: #eef3f9;
    --muted: #a3adba;
    --accent: #8cc3f2;
    --brand: #a9d2f5;
    --eyes: #16304a;
    --line: #2f343b;
    --border: #40454c;
    --wash: #2a343f;
    --btn: #eef3f9;
    --on-btn: #0b0e12;
    --cta: #8cc3f2;
    --on-cta: #0b0e12;
    --ok: #9fd884;
    --err: #ff8a8e;
    --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 12px 32px -18px rgba(0, 0, 0, 0.7);
    color-scheme: dark;
  }
}
:root[data-palette="oat"] {
  --bg: #f5f2ea;
  --surface: #ffffff;
  --surface2: #f3efe6;
  --surface3: #e7e0d2;
  --text: #1b1813;
  --muted: #5d5549;
  --accent: #7a5c2c;
  --brand: #e7d7b8;
  --eyes: #3d321f;
  --line: #eaeaea;
  --border: #dbdad9;
  --wash: #f9f5ed;
  --btn: #1b1813;
  --on-btn: #ffffff;
  --cta: #7a5c2c;
  --on-cta: #ffffff;
  --ok: #2f6b1f;
  --err: #b83238;
  --shadow: 0 1px 2px rgba(16, 20, 14, 0.05), 0 12px 30px -18px rgba(16, 20, 14, 0.22);
  color-scheme: light;
}
:root[data-palette="oat"][data-theme="dark"] {
  --bg: #100f0c;
  --surface: #1b1915;
  --surface2: #25221d;
  --surface3: #322e27;
  --text: #f5f1ea;
  --muted: #b2aa9a;
  --accent: #dcc59a;
  --brand: #e7d7b8;
  --eyes: #3d321f;
  --line: #35332f;
  --border: #474440;
  --wash: #38342c;
  --btn: #f5f1ea;
  --on-btn: #100f0c;
  --cta: #dcc59a;
  --on-cta: #100f0c;
  --ok: #9fd884;
  --err: #ff8a8e;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 12px 32px -18px rgba(0, 0, 0, 0.7);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root[data-palette="oat"]:not([data-theme="light"]) {
    --bg: #100f0c;
    --surface: #1b1915;
    --surface2: #25221d;
    --surface3: #322e27;
    --text: #f5f1ea;
    --muted: #b2aa9a;
    --accent: #dcc59a;
    --brand: #e7d7b8;
    --eyes: #3d321f;
    --line: #35332f;
    --border: #474440;
    --wash: #38342c;
    --btn: #f5f1ea;
    --on-btn: #100f0c;
    --cta: #dcc59a;
    --on-cta: #100f0c;
    --ok: #9fd884;
    --err: #ff8a8e;
    --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 12px 32px -18px rgba(0, 0, 0, 0.7);
    color-scheme: dark;
  }
}
:root[data-palette="mono"] {
  --bg: #f3f3f3;
  --surface: #ffffff;
  --surface2: #f0f0f0;
  --surface3: #dedede;
  --text: #000000;
  --muted: #3d3d3d;
  --accent: #111111;
  --brand: #d9d9d9;
  --eyes: #111111;
  --line: #e8e8e8;
  --border: #d6d6d6;
  --wash: #f5f5f5;
  --btn: #000000;
  --on-btn: #ffffff;
  --cta: #111111;
  --on-cta: #ffffff;
  --ok: #2f6b1f;
  --err: #b83238;
  --shadow: 0 1px 2px rgba(16, 20, 14, 0.05), 0 12px 30px -18px rgba(16, 20, 14, 0.22);
  color-scheme: light;
}
:root[data-palette="mono"][data-theme="dark"] {
  --bg: #000000;
  --surface: #121212;
  --surface2: #1c1c1c;
  --surface3: #2a2a2a;
  --text: #ffffff;
  --muted: #cccccc;
  --accent: #ffffff;
  --brand: #d9d9d9;
  --eyes: #111111;
  --line: #2e2e2e;
  --border: #414141;
  --wash: #2e2e2e;
  --btn: #ffffff;
  --on-btn: #000000;
  --cta: #ffffff;
  --on-cta: #000000;
  --ok: #9fd884;
  --err: #ff8a8e;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 12px 32px -18px rgba(0, 0, 0, 0.7);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root[data-palette="mono"]:not([data-theme="light"]) {
    --bg: #000000;
    --surface: #121212;
    --surface2: #1c1c1c;
    --surface3: #2a2a2a;
    --text: #ffffff;
    --muted: #cccccc;
    --accent: #ffffff;
    --brand: #d9d9d9;
    --eyes: #111111;
    --line: #2e2e2e;
    --border: #414141;
    --wash: #2e2e2e;
    --btn: #ffffff;
    --on-btn: #000000;
    --cta: #ffffff;
    --on-cta: #000000;
    --ok: #9fd884;
    --err: #ff8a8e;
    --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 12px 32px -18px rgba(0, 0, 0, 0.7);
    color-scheme: dark;
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a, .note a, .faq a, .about a, .fine a { color: var(--accent); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -0.02em; line-height: 1.12; margin: 0; }
p { margin: 0 0 1em; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 28px; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.mono, .num { font-family: var(--mono); font-feature-settings: 'tnum'; letter-spacing: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 60; background: var(--btn); color: var(--on-btn); padding: 10px 16px; border-radius: 12px; text-decoration: none; }
.skip:focus { top: 12px; }

/* the wordmark: ink on light, white on dark (two files, so the toggle can switch them) */
.logo-white { display: none; }
:root[data-theme="dark"] .logo-ink { display: none; }
:root[data-theme="dark"] .logo-white { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-ink { display: none; }
  :root:not([data-theme="light"]) .logo-white { display: block; }
}

/* ---------- header ---------- */
.nav { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 86%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
.nav .wrap { display: flex; align-items: center; gap: 12px; height: 68px; }
.brand { display: flex; align-items: center; text-decoration: none; margin-right: auto; padding: 6px 0; transition: opacity 0.5s var(--ease); }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { padding: 8px 12px; border-radius: 12px; text-decoration: none; color: var(--muted); font-size: 15.5px; transition: color 0.25s var(--ease), background-color 0.25s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--text); background: var(--surface2); }
.nav-links .nav-cta { margin-left: 6px; background: var(--btn); color: var(--on-btn); font-weight: 700; }
.nav-links .nav-cta:hover { background: var(--btn); color: var(--on-btn); opacity: 0.88; }

.theme-toggle::after { content: ""; position: absolute; inset: -5px -2px; } /* a 44 px tap area round the 34 px switch */
.theme-toggle { appearance: none; position: relative; width: 62px; height: 34px; padding: 0; margin-left: 6px; border-radius: 999px; border: 0; background: var(--surface2); cursor: pointer; flex: none; }
.theme-toggle .opt { position: absolute; top: 0; bottom: 0; width: 30px; display: grid; place-items: center; color: var(--muted); }
.theme-toggle .opt.sun { left: 2px; }
.theme-toggle .opt.moon { right: 2px; }
.theme-toggle svg { width: 15px; height: 15px; }
.theme-toggle .knob { position: absolute; top: 4px; left: 4px; width: 26px; height: 26px; border-radius: 50%; background: var(--surface); color: var(--text); display: grid; place-items: center; transition: transform 0.45s var(--ease-out); }
.theme-toggle[data-mode="dark"] .knob { transform: translateX(28px); background: var(--surface3); }
html.theming, html.theming * { transition: background-color 0.45s var(--ease), color 0.45s var(--ease), border-color 0.45s var(--ease), transform 0.45s var(--ease-out) !important; }

.menu-btn { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; color: var(--text); cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.menu-btn span { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.menu-btn:hover { background: var(--surface2); }
.drawer-shade { position: fixed; inset: 0; z-index: 40; background: rgba(12, 16, 11, 0.4); opacity: 0; pointer-events: none; transition: opacity 0.35s var(--ease); }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 41; width: min(300px, 84vw); display: flex; flex-direction: column; gap: 4px; padding: 14px 14px 24px; background: var(--surface); color: var(--text); transform: translateX(100%); visibility: hidden; transition: transform 0.42s var(--ease-out), visibility 0s linear 0.42s; }
.menu-open .drawer-shade { opacity: 1; pointer-events: auto; }
.menu-open .drawer { transform: none; visibility: visible; transition: transform 0.42s var(--ease-out); }
.menu-open, .menu-open body { overflow: hidden; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; padding: 4px 4px 12px 10px; }
.drawer-top b { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.drawer-close { width: 42px; height: 42px; border: 0; border-radius: 12px; background: var(--surface2); color: var(--text); cursor: pointer; display: grid; place-items: center; }
.drawer-close svg { width: 20px; height: 20px; }
.drawer a { display: block; padding: 13px 14px; border-radius: 14px; border: 2px solid transparent; color: var(--text); text-decoration: none; font-size: 17px; }
.drawer a:hover { background: var(--surface2); }
.drawer a[aria-current] { border-color: var(--text); font-weight: 700; }
.drawer a.small { margin-top: auto; font-size: 15px; color: var(--muted); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 24px; border: 0; border-radius: 16px; background: var(--btn); color: var(--on-btn); font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; transition: transform 0.25s var(--ease), opacity 0.25s var(--ease); }
.btn:hover { opacity: 0.88; }
.btn:active { transform: scale(0.97); }
.btn.soft { background: var(--surface2); color: var(--text); }
.btn:disabled { opacity: 0.55; cursor: default; }

/* ---------- sections ---------- */
section { position: relative; }
.block { padding: 72px 0; }
@media (min-width: 900px) { .block { padding: 112px 0; } }
.big { font-size: clamp(32px, 4.6vw, 52px); max-width: 16ch; }
.sub { color: var(--muted); font-size: clamp(17px, 1.6vw, 19px); max-width: 560px; margin: 16px 0 0; }
.head-center { text-align: center; }
.head-center .big, .head-center .sub { margin-left: auto; margin-right: auto; }

/* ---------- hero ---------- */
.hero { padding: 28px 0 64px; text-align: center; }
@media (min-width: 900px) { .hero { padding: 48px 0 96px; } }
/* The headline: "A daily planner you can use" stays put; the ending under it rises out of view and the next
   rises in from below (the leaving line goes first, the new one follows a beat later). */
.rotator { display: flex; flex-direction: column; align-items: center; font-family: var(--display); font-weight: 400; letter-spacing: -0.03em; line-height: 1.1; font-size: clamp(36px, 6.4vw, 72px); max-width: 16ch; margin: 8px auto 0; }
.rotator .turn { position: relative; display: grid; width: 100%; overflow: hidden; padding: 0.04em 0 0.1em; min-height: 1.3em; }
.rotator .turn span { grid-area: 1 / 1; opacity: 0; transform: translateY(0.6em); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease-out); }
.rotator .turn span.on { opacity: 1; transform: none; transition-delay: 0.12s; }
.rotator .turn span.out { opacity: 0; transform: translateY(-0.6em); transition-delay: 0s; }
@media (max-width: 420px) { .rotator .turn { min-height: 2.4em; } }
.hero h1 { font-family: var(--body); font-weight: 400; font-size: clamp(17px, 1.8vw, 20px); letter-spacing: 0; line-height: 1.55; color: var(--muted); max-width: 34em; margin: 22px auto 0; }

/* the live demo */
.demo { position: relative; max-width: 640px; margin: 64px auto 0; text-align: left; }
.demo-card { position: relative; z-index: 2; background: var(--surface); border-radius: 28px; padding: 10px; }
.demo-form { display: flex; gap: 8px; align-items: center; }
.demo-form input { flex: 1; min-width: 0; height: 56px; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 18px; padding: 0 14px; border-radius: 18px; }
.demo-form input::placeholder { color: var(--muted); opacity: 1; }
.demo-form input:focus { outline: none; }
.demo-card:focus-within { outline: 2px solid var(--text); outline-offset: 3px; }
.demo-form .btn { height: 52px; border-radius: 18px; flex: none; }
.demo-msg { font-size: 14.5px; color: var(--muted); margin: 12px 4px 0; min-height: 1.4em; text-align: center; }
.ideas { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.ideas button { border: 0; background: var(--surface2); color: var(--text); border-radius: 999px; min-height: 44px; padding: 8px 16px; font-size: 14.5px; cursor: pointer; transition: background-color 0.25s var(--ease); }
.ideas button:hover { background: var(--surface3); }

/* ---------- Cubi ---------- */
.cubi { width: 100%; height: auto; overflow: visible; }
.cubi .body { fill: var(--brand); }
.cubi .eyes { fill: var(--eyes); transform-box: view-box; transition: transform 0.55s var(--ease-out); transform: translate(var(--gx, 0px), var(--gy, 0px)); }
.cubi .lids { transform-box: fill-box; transform-origin: center; }
.cubi.blink .lids { animation: blink 0.22s var(--ease); }
@keyframes blink { 50% { transform: scaleY(0.12); } }
/* peeking from behind the top edge of the demo card */
.peek { position: absolute; z-index: 1; right: 44px; bottom: calc(100% - 4px); width: 86px; height: 78px; overflow: hidden; }
.peek .cubi-btn { position: absolute; left: 0; bottom: 0; width: 86px; padding: 0; border: 0; background: none; cursor: pointer; transform: translateY(74%); transition: transform 1.5s var(--ease-out); -webkit-tap-highlight-color: transparent; }
.peek.up .cubi-btn { transform: translateY(16%); }
.peek.sink .cubi-btn { transition-duration: 1.2s; transition-timing-function: var(--ease); }
.cubi-btn:focus-visible { outline-offset: -4px; }
.squish .cubi { animation: squish 0.6s var(--ease-out); transform-origin: 50% 90%; }
@keyframes squish { 0% { transform: none; } 25% { transform: scale(1.14, 0.84); } 55% { transform: scale(0.94, 1.07); } 80% { transform: scale(1.03, 0.98); } 100% { transform: none; } }
.bubble { position: absolute; z-index: 3; right: 136px; bottom: calc(100% + 22px); background: var(--btn); color: var(--on-btn); font-size: 14.5px; font-weight: 700; padding: 8px 14px; border-radius: 16px 16px 4px 16px; white-space: nowrap; opacity: 0; transform: translateY(6px) scale(0.96); transform-origin: 100% 100%; transition: opacity 0.35s var(--ease), transform 0.45s var(--ease-out); pointer-events: none; }
.bubble.show { opacity: 1; transform: none; }

/* ---------- sticky story ---------- */
.story { display: grid; gap: 40px; margin-top: 56px; }
.story-visual { display: none; }
.story-step { max-width: 460px; }
.story-step .num { display: inline-block; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.story-step h3 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 10px; }
.story-step p { color: var(--muted); margin: 0; }
.story-inline { margin-top: 22px; max-width: 300px; }
.phone { position: relative; aspect-ratio: 540 / 1100; border-radius: 40px; background: var(--surface2); padding: 10px; }
.phone .screen { position: relative; width: 100%; height: 100%; border-radius: 31px; overflow: hidden; background: var(--surface); }
.phone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
@media (min-width: 900px) {
  .story { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
  .story-visual { display: block; position: sticky; top: max(92px, calc(50vh - 330px)); height: min(660px, calc(100vh - 120px)); }
  .story-visual .phone { height: 100%; aspect-ratio: auto; width: auto; max-width: 340px; margin: 0 auto; aspect-ratio: 540 / 1100; }
  .story-visual img { opacity: 0; transform: scale(1.02); transition: opacity 0.8s var(--ease), transform 1s var(--ease-out); }
  .story-visual img.on { opacity: 1; transform: none; }
  .story-steps { padding: 18vh 0 22vh; }
  .story-step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; transition: opacity 0.6s var(--ease); }
  .js .story-step { opacity: 0.35; }
  .js .story-step.on { opacity: 1; }
  .story-inline { display: none; }
}

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 48px; }
@media (min-width: 640px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { position: relative; background: var(--surface); border-radius: var(--radius); padding: 26px; overflow: hidden; transition: background-color 0.4s var(--ease), transform 0.5s var(--ease-out); }
@media (min-width: 640px) { .card.wide { grid-column: span 2; } }
.bento .card:hover { background: var(--wash); transform: translateY(-3px); }
.card h3 { font-size: 21px; margin: 18px 0 8px; }
.card p { color: var(--muted); margin: 0; font-size: 16px; }
.ico { width: 44px; height: 44px; border-radius: 14px; background: var(--surface2); color: var(--accent); display: grid; place-items: center; transition: transform 0.5s var(--ease-out), background-color 0.4s var(--ease); }
.ico svg { width: 22px; height: 22px; }
.bento .card:hover .ico { transform: rotate(-8deg) scale(1.06); background: var(--surface); }
.card-cubi { position: absolute; right: 22px; bottom: -20px; width: 92px; transition: transform 0.7s var(--ease-out); }
.card.coach { min-height: 240px; padding-right: 130px; }
.card.coach:hover .card-cubi { transform: translateY(-14px) rotate(4deg); }
.card.coach:hover .cubi { --gx: -12px; --gy: -12px; }
.swatches { display: flex; gap: 8px; margin-top: 18px; }
.pro-tag { font-size: 12px; color: var(--muted); background: var(--surface2); border-radius: 999px; padding: 2px 9px; margin-left: 6px; vertical-align: 3px; letter-spacing: 0; }

/* ---------- gentle setup ---------- */
.gentle { background: var(--wash); border-radius: 36px; padding: 56px 22px; }
@media (min-width: 900px) { .gentle { padding: 88px 64px; } }
.gentle-grid { display: grid; gap: 30px; margin-top: 44px; }
@media (min-width: 700px) { .gentle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 56px; } }
.gentle-grid h3 { font-size: 21px; margin-bottom: 8px; display: flex; align-items: center; gap: 12px; }
.gentle-grid h3::before { content: ''; width: 14px; height: 14px; border-radius: 5px; background: var(--brand); transform: rotate(-8deg); flex: none; }
.gentle-grid p { color: var(--muted); margin: 0; }

/* ---------- pricing ---------- */
.plans { display: grid; gap: 14px; margin-top: 48px; align-items: stretch; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.plan { background: var(--surface); border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; }
.plan .price { margin: 18px 0 4px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan .price b { font-family: var(--mono); font-weight: 500; font-size: 40px; letter-spacing: -0.02em; line-height: 1; }
.plan .price span { color: var(--muted); font-size: 15px; }
.plan .alt { color: var(--muted); font-size: 15px; margin: 0; min-height: 1.6em; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.plan li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.plan li svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 3px; }
.plan .num { font-weight: 500; }
.plans-note { color: var(--muted); font-size: 14.5px; text-align: center; margin: 22px auto 0; max-width: 620px; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 40px auto 0; }
.faq details { border-radius: 20px; transition: background-color 0.35s var(--ease); }
.faq details + details { margin-top: 6px; }
.faq details[open] { background: var(--surface); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-family: var(--display); font-weight: 600; font-size: 19px; border-radius: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--surface); }
.faq summary::after { /* taste-skill-ignore: draws the plus sign */ content: ''; width: 14px; height: 14px; flex: none; background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat; transition: transform 0.4s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 20px 20px; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

/* ---------- about ---------- */
.about { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .about { grid-template-columns: 220px minmax(0, 1fr); gap: 64px; } }
.about-cubi { width: 150px; margin: 0 auto; }
.about p { color: var(--muted); max-width: 620px; }
.about .big { max-width: none; margin-bottom: 18px; }

/* ---------- waitlist ---------- */
.cta { background: var(--surface); border-radius: 36px; padding: 52px 22px; text-align: center; }
@media (min-width: 900px) { .cta { padding: 80px 64px; } }
.cta h2 { font-size: clamp(30px, 4vw, 44px); }
.cta > p { color: var(--muted); max-width: 520px; margin: 14px auto 0; }
.join { max-width: 520px; margin: 28px auto 0; }
.join-row { display: flex; gap: 8px; background: var(--surface2); border-radius: 20px; padding: 6px; }
.join-row input { flex: 1; min-width: 0; height: 52px; border: 0; background: transparent; color: var(--text); font: inherit; padding: 0 14px; }
.join-row input::placeholder { color: var(--muted); opacity: 1; }
.join-row input:focus { outline: none; }
.join-row:focus-within { outline: 2px solid var(--text); outline-offset: 3px; }
.join-row button { height: 52px; border: 0; border-radius: 16px; padding: 0 20px; background: var(--btn); color: var(--on-btn); font-weight: 700; cursor: pointer; flex: none; }
.join-row button:disabled { opacity: 0.6; }
@media (max-width: 420px) { .join-row { flex-direction: column; } .join-row button { width: 100%; } }
.join-opts { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 22px; margin-top: 18px; }
.seg { position: relative; isolation: isolate; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: var(--surface2); }
.seg label { cursor: pointer; }
.seg input, .check input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 6px 16px; border-radius: 999px; font-size: 15px; color: var(--muted); transition: color 0.3s var(--ease); }
.seg input:checked + span { color: var(--text); }
.seg::before { content: ''; position: absolute; z-index: -1; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--surface); transition: transform 0.4s var(--ease-out); }
.seg:has(label:nth-child(2) input:checked)::before { transform: translateX(100%); }
.seg input:focus-visible + span, .check input:focus-visible + span::before { outline: 2px solid var(--text); outline-offset: 2px; }
.check { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; font-size: 15px; }
.check span { display: inline-flex; align-items: center; gap: 10px; }
.check span::before { content: ''; width: 20px; height: 20px; border-radius: 7px; background: var(--surface2); box-shadow: inset 0 0 0 2px var(--muted); flex: none; }
.check input:checked + span::before { background: var(--btn) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; box-shadow: none; }
.join .hint { font-size: 14px; color: var(--muted); margin: 12px 0 0; display: none; }
.join.beta .hint { display: block; }
.join .trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.join .msg { min-height: 24px; margin: 12px 0 0; font-weight: 700; font-size: 15.5px; }
.join .msg.ok { color: var(--ok); }
.join .msg.err { color: var(--err); }
.cta.done .join-row, .cta.done .join-opts { display: none; }
.fine { font-size: 14px; color: var(--muted); margin: 18px auto 0; }

/* ---------- footer ---------- */
footer.site { padding: 24px 0 44px; color: var(--muted); font-size: 15px; }
footer.site .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; }
footer.site nav a { display: inline-flex; align-items: center; min-height: 44px; }
footer.site .foot-brand { display: flex; align-items: center; gap: 14px; }
footer.site .foot-brand img { height: 22px; width: auto; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--text); text-decoration: underline; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 1s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- legal pages ---------- */
.legal-head { padding: 48px 0 40px; }
.legal-head h1 { font-size: clamp(38px, 6vw, 58px); margin: 12px 0 12px; }
.legal-head p { color: var(--muted); margin: 0; max-width: 560px; font-size: 18px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: var(--surface2); font-size: 13px; color: var(--muted); }
.glance { display: grid; gap: 12px; }
@media (min-width: 640px) { .glance { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .glance { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tile { background: var(--surface); border-radius: 22px; padding: 22px; }
.tile h3 { font-size: 17px; margin: 14px 0 4px; }
.tile p { font-size: 15px; color: var(--muted); margin: 0; }
.ico .coach { width: 26px; height: 26px; color: var(--brand); }
.ico .coach rect { fill: var(--eyes); }
.legal { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; margin-top: 48px; padding-bottom: 40px; }
@media (min-width: 960px) { .legal { grid-template-columns: 230px minmax(0, 1fr); gap: 64px; } }
.toc { display: none; position: sticky; top: 92px; align-self: start; font-size: 14.5px; }
@media (min-width: 960px) { .toc { display: block; } }
.toc b { display: block; font-weight: 700; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.toc a { display: block; color: var(--muted); text-decoration: none; padding: 6px 12px; border-radius: 10px; transition: color 0.25s var(--ease), background-color 0.25s var(--ease); }
.toc a:hover { color: var(--text); }
.toc a.active { color: var(--text); background: var(--surface); font-weight: 700; }
.prose { max-width: 700px; min-width: 0; overflow-wrap: break-word; }
.prose h2 { font-size: 26px; margin: 48px 0 12px; scroll-margin-top: 92px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; margin: 26px 0 8px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--accent); }
.note { background: var(--surface); border-radius: 20px; padding: 18px 20px; margin: 20px 0; }
.table { overflow-x: auto; margin: 16px 0; border-radius: 20px; background: var(--surface); }
.table table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 15px; }
.table th, .table td { text-align: left; padding: 12px 16px; vertical-align: top; }
.table th { font-weight: 700; background: var(--surface2); }
.table tr + tr td { border-top: 1px solid var(--line); }
.steps { counter-reset: s; list-style: none; padding: 0 !important; }
.steps li { counter-increment: s; display: flex; gap: 14px; align-items: flex-start; margin: 12px 0; }
.steps li::before { content: counter(s); width: 30px; height: 30px; border-radius: 10px; background: var(--surface2); color: var(--text); display: grid; place-items: center; font-size: 14px; flex: none; margin-top: 1px; }
.note .steps li::before { background: var(--bg); }
.unsub { max-width: 560px; margin: 8px 0 64px; }
.unsub .note { padding: 24px; line-height: 1.6; }
.unsub-btn { border: 0; border-radius: 16px; height: 52px; padding: 0 22px; background: var(--btn); color: var(--on-btn); font: inherit; font-weight: 700; cursor: pointer; }
.unsub-btn:disabled { opacity: 0.6; cursor: default; }
.unsub-msg { margin: 14px 0 0; font-weight: 700; }
.unsub-msg:empty { display: none; }
.unsub [data-state="done"] .unsub-btn, .unsub [data-state="bad"] .unsub-btn { display: none; }
.unsub [data-state="bad"] .unsub-ask { display: none; }

/* ---------- blog ---------- */
.blog-head { padding: 48px 0 24px; }
.blog-head h1 { font-size: clamp(38px, 6vw, 58px); margin-bottom: 12px; }
.blog-head p { color: var(--muted); max-width: 560px; font-size: 18px; margin: 0; }
.cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.cats span { font-size: 14.5px; padding: 6px 14px; border-radius: 999px; background: var(--surface2); color: var(--muted); }
.cats span.on { background: var(--btn); color: var(--on-btn); }
.posts { display: grid; gap: 14px; margin: 32px 0 40px; }
@media (min-width: 760px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.post-card { display: block; text-decoration: none; background: var(--surface); border-radius: var(--radius); padding: 28px; transition: background-color 0.4s var(--ease), transform 0.5s var(--ease-out); }
.post-card:hover { background: var(--wash); transform: translateY(-3px); }
.post-card h2 { font-size: 24px; margin: 12px 0 10px; }
.post-card p { color: var(--muted); margin: 0; }
.meta { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 14px; }
.article { max-width: 700px; margin: 0 auto; padding: 40px 0 24px; }
.article h1 { font-size: clamp(34px, 5.4vw, 52px); margin: 14px 0 16px; }
.article > .meta { margin-bottom: 28px; }
.article .lede { font-size: 20px; color: var(--muted); }
.article .prose h2 { margin-top: 40px; }
.back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--muted); text-decoration: none; font-size: 15px; }
.back:hover { color: var(--text); }
.post-cta { margin: 48px 0 0; background: var(--wash); border-radius: var(--radius); padding: 28px; }
.post-cta h2 { font-size: 24px; margin: 0 0 8px; }
.post-cta p { color: var(--muted); }

/* ---------- floating waitlist bar ---------- */
/* Bottom centre on wide screens; on phones it leaves room for the accessibility button on the right. */
.float-join { position: fixed; z-index: 30; left: 16px; right: 84px; bottom: max(16px, env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 18px; border-radius: 22px; background: var(--surface); color: var(--text); box-shadow: 0 0 0 1px var(--line), 0 10px 30px rgba(12, 16, 11, 0.08); opacity: 0; transform: translateY(16px); transition: opacity 0.35s var(--ease), transform 0.45s var(--ease-out); }
.float-join.in { opacity: 1; transform: none; }
.float-join[hidden] { display: none; }
@media (min-width: 760px) { .float-join { left: 50%; right: auto; width: min(640px, calc(100vw - 180px)); transform: translate(-50%, 16px); } .float-join.in { transform: translate(-50%, 0); } }
.float-join-text { margin: 0; font-size: 15px; line-height: 1.35; flex: 1; min-width: 0; }
.float-join-text span { color: var(--muted); }
.float-join-form { margin: 0; flex: 1.4; min-width: 0; max-width: none; }
.float-join-form .join-row { padding: 4px; border-radius: 16px; flex-direction: row; }
.float-join-form .join-row input { height: 42px; }
.float-join-form .join-row button { height: 42px; border-radius: 12px; padding: 0 16px; width: auto; }
.float-join-form .msg { position: absolute; left: 18px; bottom: calc(100% + 8px); margin: 0; padding: 6px 12px; border-radius: 12px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); font-size: 14px; }
.float-join-form .msg:empty { display: none; }
.float-join-go { display: none; height: 44px; padding: 0 18px; border-radius: 14px; background: var(--btn); color: var(--on-btn); font-weight: 700; text-decoration: none; align-items: center; flex: none; }
.float-join-close { flex: none; width: 44px; height: 44px; border: 0; border-radius: 14px; background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.float-join-close:hover { background: var(--surface2); color: var(--text); }
.float-join-close svg { width: 20px; height: 20px; }
@media (max-width: 759px) { .float-join-form { display: none; } .float-join-go { display: inline-flex; } .float-join-text span { display: none; } }
.float-join-on body { padding-bottom: 88px; }
.a11y-contrast .float-join { box-shadow: inset 0 0 0 2px var(--text); }
@media (forced-colors: active) { .float-join { border: 2px solid CanvasText; } }
@media print { .float-join { display: none; } }


/* ---------- free focus timer (/focus) ---------- */
.timer-page { padding: 32px 0 56px; text-align: center; }
@media (min-width: 900px) { .timer-page { padding: 56px 0 80px; } }
.timer-title { font-size: clamp(34px, 5.4vw, 56px); letter-spacing: -0.03em; }
.timer-lead { color: var(--muted); max-width: 30em; margin: 14px auto 0; }
.timer { max-width: 440px; margin: 28px auto 0; display: flex; flex-direction: column; align-items: center; }
.lengths button[aria-checked="true"], .lengths button[aria-checked="true"]:hover { background: var(--btn); color: var(--on-btn); }
.lengths button:disabled { cursor: default; opacity: 0.5; }
.lengths button[aria-checked="true"]:disabled { opacity: 1; }
.dial { position: relative; width: min(300px, 78vw); aspect-ratio: 1; margin: 28px 0 0; }
.ring { width: 100%; height: 100%; }
.ring circle { fill: none; stroke-width: 10; }
.ring-track { stroke: var(--surface3); }
.ring-fill { stroke: var(--accent); stroke-linecap: round; transition: stroke-dashoffset 0.3s linear, stroke 0.6s var(--ease); }
.on-break .ring-fill { stroke: var(--brand); }
.dial-inner { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
/* Cubi only shows on a break, and breathes slowly: in for four, out for four */
.dial .cubi { width: 52px; height: 52px; margin-bottom: 10px; display: none; transform: rotate(-8deg); }
.on-break .dial .cubi { display: block; animation: breathe 8s var(--ease) infinite; }
@keyframes breathe { 0%, 100% { transform: rotate(-8deg) scale(0.92); } 50% { transform: rotate(-8deg) scale(1.08); } }
.still .dial .cubi { animation: none; }
.status { min-height: 1.6em; margin: 18px 0 0; color: var(--muted); }
.timer-actions { display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 320px; margin-top: 18px; }
.btn[hidden] { display: none; }
.timer-sound { margin-top: 20px; }
.timer-keys { font-size: 14px; color: var(--muted); margin: 14px 0 0; }
kbd { font-family: var(--mono); font-size: 13px; padding: 1px 7px; border-radius: 6px; background: var(--surface2); box-shadow: inset 0 -1px 0 var(--line); }
@media (hover: none) { .timer-keys { display: none; } }
/* the digits are a button before the start (they open the custom timer), plain text after */
.clock { font-family: var(--mono); font-feature-settings: 'tnum'; font-weight: 400; font-size: clamp(52px, 14vw, 66px); line-height: 1; letter-spacing: -0.02em; margin: 6px 0 0; padding: 4px 10px; border: 0; border-radius: 16px; background: none; color: var(--text); cursor: pointer; transition: background-color 0.25s var(--ease); }
.clock.long { font-size: clamp(40px, 11vw, 50px); }
.clock:not(:disabled):hover { background: var(--surface2); }
.clock:disabled { cursor: default; }
.phase { color: var(--muted); font-size: 15px; margin: 0; }
.dots { display: flex; gap: 7px; margin-top: 12px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--surface3); transition: background-color 0.4s var(--ease); }
.dots i.on { background: var(--accent); }
/* − and + sit on the ring's left and right, as in the app */
.round-btn { position: absolute; top: 50%; width: 48px; height: 48px; margin-top: -24px; border: 0; border-radius: 50%; background: var(--surface); color: var(--text); box-shadow: 0 0 0 1px var(--line); display: grid; place-items: center; cursor: pointer; transition: transform 0.2s var(--ease), opacity 0.2s var(--ease), background-color 0.2s var(--ease); }
.round-btn svg { width: 20px; height: 20px; }
.round-btn.minus { left: -8px; }
.round-btn.plus { right: -8px; }
.round-btn:hover { background: var(--surface2); }
.round-btn:active { transform: scale(0.94); }
.round-btn:disabled { opacity: 0.35; cursor: default; transform: none; }
.round-btn[hidden] { display: none; }
/* four chips in one row, like the app */
.lengths { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; width: 100%; max-width: 360px; margin-top: 18px; }
.lengths button { height: 44px; padding: 0 6px; white-space: nowrap; border: 0; border-radius: 999px; background: var(--surface2); color: var(--text); font-weight: 700; font-size: 15px; cursor: pointer; transition: background-color 0.25s var(--ease), color 0.25s var(--ease), opacity 0.25s var(--ease), transform 0.2s var(--ease); }
.lengths button:hover { background: var(--surface3); }
.lengths button:active { transform: scale(0.96); }
.timer .btn.has-icon svg { width: 15px; height: 15px; margin-left: 2px; }
.btn svg { flex: none; }
.timer .btn:not(.has-icon) svg { display: none; }

/* the custom timer window: wheels like the iOS timer */
.custom-timer { width: min(400px, calc(100vw - 32px)); max-height: calc(100vh - 32px); border: 0; border-radius: 28px; padding: 24px 20px 20px; background: var(--bg); color: var(--text); box-shadow: 0 0 0 1px var(--line), 0 24px 60px rgba(12, 16, 11, 0.18); text-align: center; }
.custom-timer::backdrop { background: rgba(12, 16, 11, 0.42); }
.custom-timer[open] { animation: sheet-in 0.36s var(--ease-out); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(18px) scale(0.98); } to { opacity: 1; transform: none; } }
.custom-timer h2 { font-size: 26px; }
.custom-sum { color: var(--muted); font-size: 15px; margin: 6px 0 10px; }
.wheels { position: relative; display: flex; justify-content: center; align-items: center; gap: 2px; height: 200px; }
.wheels::before { content: ''; position: absolute; left: 0; right: 0; top: 80px; height: 40px; border-radius: 12px; background: var(--surface2); pointer-events: none; }
.wheel { position: relative; width: 52px; height: 200px; overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none; overscroll-behavior: contain; touch-action: pan-y; -webkit-mask-image: linear-gradient(transparent, #000 32%, #000 68%, transparent); mask-image: linear-gradient(transparent, #000 32%, #000 68%, transparent); border-radius: 12px; }
.wheel::-webkit-scrollbar { display: none; }
.wheel:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.wheel-list { padding: 80px 0; }
.wheel-row { height: 40px; line-height: 40px; scroll-snap-align: center; font-family: var(--mono); font-feature-settings: 'tnum'; font-size: 22px; color: var(--muted); cursor: pointer; transition: color 0.2s var(--ease); }
.wheel-row.on { color: var(--text); }
.wheel-unit { position: relative; font-weight: 700; font-size: 15px; margin: 0 10px 0 2px; min-width: 2.6em; text-align: left; }
.break-row { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding: 6px 6px 6px 16px; border-radius: 18px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.stepper { display: flex; align-items: center; gap: 4px; }
.stepper button { width: 44px; height: 44px; border: 0; border-radius: 14px; background: transparent; color: var(--text); display: grid; place-items: center; cursor: pointer; }
.stepper button:hover { background: var(--surface2); }
.stepper svg { width: 18px; height: 18px; }
.stepper output { min-width: 64px; font-weight: 700; }
.custom-note { color: var(--muted); font-size: 14px; margin: 12px 0 14px; min-height: 2.6em; }
.custom-actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; }
.a11y-contrast .round-btn, .a11y-contrast .custom-timer, .a11y-contrast .break-row { box-shadow: inset 0 0 0 2px var(--text); }
.timer-about .big { margin-bottom: 28px; }
.timer-notes { display: grid; gap: 28px; }
@media (min-width: 800px) { .timer-notes { grid-template-columns: 1fr 1fr; gap: 48px; } }
.timer-notes h3 { font-size: 22px; margin: 0 0 10px; }
.timer-notes h3 + p, .timer-notes ol { color: var(--muted); }
.timer-notes p + h3 { margin-top: 24px; }
.timer-notes ol { padding-left: 1.2em; margin: 0; }
.timer-notes li { margin-bottom: 6px; }
.timer-notes a { color: var(--accent); }
.a11y-contrast .lengths, .a11y-contrast .btn.ghost { box-shadow: inset 0 0 0 2px var(--text); }
@media (forced-colors: active) { .ring-fill { stroke: Highlight; } .ring-track { stroke: GrayText; } }

/* ================= layout v2: tabs, clear surfaces, bolder actions ================= */

/* ---------- header: the wordmark with Cubi peeking, six tabs, the theme switch and Log in ---------- */
.nav { border-bottom: 1px solid color-mix(in srgb, var(--border) 60%, transparent); }
.nav-links a:not(.nav-cta) { font-weight: 500; }
.nav-links a[aria-current] { color: var(--text); background: var(--surface3); }
.nav-links .nav-cta { margin-left: 8px; height: 42px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 14px; background: var(--cta); color: var(--on-cta); font-weight: 700; }
.nav-links .nav-cta:hover { background: var(--cta); color: var(--on-cta); opacity: 1; filter: brightness(1.08); }
@media (max-width: 980px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 420px) { .nav-links .nav-cta { padding: 0 14px; } .brand img { height: 30px; } .theme-toggle { margin-left: 2px; } }
.drawer .drawer-cta { margin-top: 10px; background: var(--cta); color: var(--on-cta); font-weight: 700; text-align: center; }
.drawer .drawer-cta:hover { background: var(--cta); filter: brightness(1.08); }

/* ---------- buttons: the main action is the theme's accent, filled; the second is outlined ---------- */
.btn { position: relative; min-height: 52px; height: auto; padding: 0 24px; border-radius: 16px; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease), filter 0.25s var(--ease); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.3s var(--ease-out); }
.btn:hover { opacity: 1; }
.btn.cta { background: var(--cta); color: var(--on-cta); }
.btn.cta:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn.cta:hover svg:last-child { transform: translateX(3px); }
.btn.ghost { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--border); }
.btn.ghost:hover { background: var(--surface2); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--text) 35%, var(--surface)); }
.btn:active { transform: scale(0.97); }
.btn:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; }

/* ---------- surfaces: a visible edge on every card so it stands off the page ---------- */
.card, .plan, .tile, .demo-card, .post-card, .note, .table, .cta, .faq-box, .res-card, .tl-card, .gentle { border: 1px solid var(--border); box-shadow: none; } /* taste-skill-ignore: the owner asked for a clear edge between cards and the page */
.float-join { border: 1px solid var(--border); box-shadow: var(--shadow); }
.bento .card:hover, .post-card:hover, .res-card:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); }
.ico { background: var(--wash); }

/* ---------- hero ---------- */
.rotator { max-width: none; font-size: clamp(25px, 6.2vw, 74px); }
.rotator .fixed { white-space: nowrap; }
.rotator .turn { min-height: 1.35em; padding-bottom: 0.18em; }
@media (max-width: 420px) { .rotator .turn { min-height: 2.5em; } }
.demo { margin-top: 56px; }
.demo-card { border-radius: 26px; padding: 8px; }
.demo-card:focus-within { outline: 3px solid var(--accent); outline-offset: 3px; }
.demo-form .btn { min-height: 52px; padding: 0 20px; }
.demo-form .btn svg { width: 17px; height: 17px; }
@media (max-width: 480px) { .demo-form { flex-direction: column; align-items: stretch; } .demo-form .btn { width: 100%; } }
.peek { right: 56px; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.hero-cta .btn { min-width: 200px; }
@media (max-width: 480px) { .hero-cta .btn { width: 100%; } }

/* store badges: shaped like the real ones, but quiet and marked "coming soon" */
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.store-badge { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px 0 14px; border-radius: 14px; background: var(--btn); color: var(--on-btn); opacity: 0.62; cursor: not-allowed; user-select: none; }
.store-badge svg { width: 22px; height: 22px; flex: none; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.1; font-weight: 700; font-size: 16px; text-align: left; }
.store-badge small { font-weight: 400; font-size: 13px; }
footer.site .stores { justify-content: flex-start; margin-top: 16px; }

/* ---------- features ---------- */
button.card-cubi { padding: 0; border: 0; background: none; cursor: pointer; border-radius: 22px; }
button.card-cubi:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.card.coach:hover .card-cubi, .card-cubi:focus-visible { transform: translateY(-16px) rotate(4deg); }
.swatches { flex-wrap: wrap; }
.swatches button { width: 44px; height: 44px; border-radius: 14px; border: 0; padding: 0; background: var(--sw); cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08); transition: transform 0.4s var(--ease-out), box-shadow 0.25s var(--ease); }
.swatches button:hover { transform: translateY(-3px); }
.swatches button[aria-checked="true"] { box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--text); }
.swatches button:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }

/* ---------- page heads and tighter blocks for the inner pages ---------- */
.page-head { padding: 56px 0 8px; }
@media (min-width: 900px) { .page-head { padding: 80px 0 16px; } }
.page-head h1 { font-size: clamp(36px, 5.6vw, 60px); letter-spacing: -0.03em; max-width: 18ch; }
.page-head .head-center h1 { margin: 0 auto; }
.page-head .sub { font-size: clamp(17px, 1.7vw, 20px); }
.block.tight { padding: 40px 0; }
@media (min-width: 900px) { .block.tight { padding: 56px 0; } }

/* ---------- pricing ---------- */
.plans { gap: 18px; }
.plan { padding: 30px 26px 28px; }
.plan h2 { font-size: 24px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan .btn { width: 100%; margin-top: 20px; }
.plan .tag { font-size: 13px; font-weight: 700; background: var(--cta); color: var(--on-cta); border-radius: 999px; padding: 4px 10px; }
.plan ul { margin-top: 28px; }
.plan li svg { background: var(--wash); border-radius: 7px; padding: 2px; }
/* Pro: a soft light travels round the outline, in the theme's own colours */
@property --ring { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.plan.pro { position: relative; border: 2px solid transparent; box-shadow: none; /* taste-skill-ignore: the owner asked for the travelling line on Pro */
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    conic-gradient(from var(--ring),
      color-mix(in srgb, var(--accent) 22%, var(--border)) 0deg,
      color-mix(in srgb, var(--accent) 22%, var(--border)) 200deg,
      var(--brand) 260deg, var(--accent) 310deg, var(--text) 345deg,
      color-mix(in srgb, var(--accent) 22%, var(--border)) 360deg) border-box;
  animation: ring 6s linear infinite; }
.plan.pro::after { content: ''; position: absolute; inset: -2px; border-radius: inherit; padding: 2px; pointer-events: none;
  background: conic-gradient(from var(--ring), transparent 0deg, transparent 230deg, var(--brand) 270deg, var(--accent) 315deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  filter: blur(10px); opacity: 0.7; animation: ring 6s linear infinite; }
@keyframes ring { to { --ring: 360deg; } }
@media (min-width: 900px) { .plan.pro { transform: translateY(-10px); } }
.compare { margin: 32px auto 0; max-width: 860px; }
.compare th[scope="row"] { font-weight: 500; background: none; }
.compare td { font-variant-numeric: tabular-nums; }
.compare thead th { background: var(--surface2); }
.compare thead th:nth-child(3) { background: var(--wash); }

/* ---------- FAQ: one box, rows divided by lines; the open row lifts, the others step back ---------- */
.faq-box { max-width: 780px; margin: 36px auto 0; padding: 6px; border-radius: 26px; background: var(--surface); }
.faq-box details { border-radius: 20px; border: 1px solid transparent; transition: background-color 0.35s var(--ease), opacity 0.35s var(--ease), border-color 0.35s var(--ease); }
.faq-box details + details { margin-top: 0; }
.faq-box details + details::before { /* taste-skill-ignore: dividers the owner asked for */ content: ''; display: block; height: 1px; margin: 0 18px; background: var(--line); }
.faq-box details[open]::before, .faq-box details[open] + details::before { background: transparent; }
.faq-box summary { font-weight: 500; font-size: 18px; padding: 18px 18px; }
.faq-box summary:hover { background: var(--surface2); }
.faq-box details[open] { background: var(--wash); border-color: color-mix(in srgb, var(--accent) 30%, var(--border)); }
.faq-box details[open] summary:hover { background: transparent; }
.faq-box details > div { padding: 0 18px 20px; color: var(--text); }
.faq-box:has(details[open]) details:not([open]) { opacity: 0.72; }
.faq-box:has(details[open]) details:not([open]):hover, .faq-box details:not([open]):focus-within { opacity: 1; }

/* ---------- about: story and a timeline that fills as you scroll ---------- */
.about { align-items: start; }
.about-cubi { width: 140px; transform: rotate(-4deg); }
.about .sub a { color: var(--accent); }
.timeline { --fill: 0; position: relative; list-style: none; margin: 40px auto 0; padding: 0 0 0 44px; max-width: 720px; }
.timeline::before, .timeline::after { content: ''; position: absolute; left: 14px; top: 8px; bottom: 8px; width: 4px; border-radius: 4px; }
.timeline::before { background: var(--surface3); }
.timeline::after { background: var(--accent); transform-origin: top; transform: scaleY(var(--fill)); }
.timeline li { position: relative; padding-bottom: 22px; }
.timeline .dot { position: absolute; left: -40px; top: 18px; width: 20px; height: 20px; border-radius: 7px; background: var(--surface); border: 3px solid var(--surface3); transform: rotate(-8deg); z-index: 1; transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease); }
.timeline li.lit .dot { background: var(--brand); border-color: var(--accent); }
.timeline li.now .dot { box-shadow: 0 0 0 6px color-mix(in srgb, var(--brand) 35%, transparent); }
.tl-card { background: var(--surface); border-radius: 20px; padding: 18px 20px; transition: opacity 0.4s var(--ease); }
.timeline li:not(.lit) .tl-card { opacity: 0.7; }
.tl-when { font-size: 14px; font-variant-numeric: tabular-nums; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.tl-when b { font-family: var(--body); font-size: 12px; background: var(--cta); color: var(--on-cta); border-radius: 999px; padding: 2px 9px; }
.tl-card h3 { font-size: 21px; margin: 6px 0 4px; }
.tl-card p { color: var(--muted); margin: 0; }

/* ---------- resources ---------- */
.res-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .res-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .res-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.res-card { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); padding: 14px 14px 22px; color: var(--text); text-decoration: none; transition: transform 0.45s var(--ease-out), border-color 0.3s var(--ease); }
.res-card:hover { transform: translateY(-3px); }
.res-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.res-art { aspect-ratio: 16 / 9; border-radius: 16px; background: var(--wash); display: grid; place-items: center; overflow: hidden; }
.res-art svg { width: 46%; height: auto; transition: transform 0.6s var(--ease-out); }
.res-card:hover .res-art svg { transform: scale(1.06) rotate(-3deg); }
.res-card h2 { font-size: 22px; margin: 18px 8px 6px; }
.res-card p { color: var(--muted); margin: 0 8px; }
.res-go { margin: 16px 8px 0; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--accent); }
.res-go svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease-out); }
.res-card:hover .res-go svg { transform: translateX(3px); }

/* ---------- blog images ---------- */
.post-card { padding: 12px 12px 26px; }
.post-card .meta, .post-card h2, .post-card p { margin-left: 14px; margin-right: 14px; }
.post-card .meta { margin-top: 16px; }
.post-cover { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: 16px; background: var(--wash); }
.article-cover { width: 100%; height: auto; border-radius: 22px; margin: 4px 0 28px; border: 1px solid var(--border); }

/* ---------- footer: brand, store badges and three columns ---------- */
footer.site { margin-top: 48px; padding: 48px 0 36px; background: var(--surface); }
footer.site .wrap { display: block; }
.foot-top { display: grid; gap: 32px; }
@media (min-width: 860px) { .foot-top { grid-template-columns: 1.2fr 2fr; gap: 48px; } }
footer.site .foot-brand { display: block; }
footer.site .foot-brand img { height: 30px; }
footer.site .foot-brand p { margin: 12px 0 0; max-width: 30ch; }
.foot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; }
.foot-cols div { display: flex; flex-direction: column; }
.foot-cols b { color: var(--text); font-size: 14px; margin-bottom: 6px; }
.foot-cols a { min-height: 40px; }
.foot-fine { margin: 32px 0 0; font-size: 14px; }

/* ---------- login window ---------- */
.login-modal { width: min(420px, calc(100vw - 32px)); border: 1px solid var(--border); border-radius: 28px; padding: 32px 24px 22px; background: var(--surface); color: var(--text); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.35); text-align: center; overflow: visible; }
.login-modal::backdrop { background: rgba(12, 16, 11, 0.5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.login-modal[open] { animation: sheet-in 0.36s var(--ease-out); }
.login-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: 14px; background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.login-close:hover { background: var(--surface2); color: var(--text); }
.login-close svg { width: 20px; height: 20px; }
.login-modal h2 { font-size: 28px; }
.login-text { color: var(--muted); margin: 8px 0 0; }
.login-todo { margin: 16px 0 0; padding: 12px 16px; border-radius: 16px; background: var(--wash); border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--border)); font-weight: 700; overflow-wrap: anywhere; }
.login-actions { display: grid; gap: 10px; margin-top: 20px; }
.login-actions .btn { width: 100%; }
.login-actions .btn.cta svg { width: 20px; height: 20px; background: #fff; border-radius: 50%; padding: 2px; }
.login-fine { font-size: 14px; color: var(--muted); margin: 16px 0 0; }
.login-fine a { color: var(--accent); }

/* ---------- focus timer: − and + sit beside the ring, never on it ---------- */
.dial-row { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 24px; width: 100%; }
.dial-row .dial { margin: 0; width: min(280px, calc(100vw - 160px)); flex: none; }
.round-btn { position: static; margin: 0; flex: none; }
.round-btn[hidden] { display: grid; visibility: hidden; }
@media (max-width: 360px) { .dial-row { gap: 8px; } .dial-row .dial { width: calc(100vw - 140px); } .round-btn { width: 44px; height: 44px; } }

.a11y-contrast .card, .a11y-contrast .res-card, .a11y-contrast .tl-card, .a11y-contrast .faq-box, .a11y-contrast .login-modal, .a11y-contrast .store-badge { box-shadow: inset 0 0 0 2px var(--text); }
@media (forced-colors: active) { .btn, .store-badge, .res-card, .faq-box, .plan { border: 2px solid CanvasText; } }

/* ---------- reduced motion: everything holds still ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* no movement, but fades and colour changes stay (quick), so a change of state is still visible */
  *, *::before, *::after { animation: none !important; transition-property: opacity, color, background-color, border-color, box-shadow !important; transition-duration: 0.2s !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
  .bento .card:hover, .post-card:hover { transform: none; }
  .bento .card:hover .ico, .card.coach:hover .card-cubi, .card:hover .swatches i { transform: none; }
  .card.coach:hover .cubi { --gx: 0px; --gy: 0px; }
}

/* phones: the demo's button drops under the input; story shots keep their own shape */
@media (max-width: 480px) {
  .demo-form { flex-wrap: wrap; }
  .demo-form input { flex-basis: 100%; height: 52px; font-size: 17px; }
  .demo-form .btn { width: 100%; }
}
.story-inline { aspect-ratio: auto; }
.story-inline .screen img { position: static; height: auto; }
.phone .screen { background: #000; }
.story-visual img { object-fit: contain; }
.note a.unsub-btn { color: var(--on-btn); }

/* ---------- accessibility button and panel ---------- */
.a11y { position: fixed; right: 16px; bottom: 16px; z-index: 35; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.a11y-btn { width: 52px; height: 52px; border-radius: 18px; border: 0; padding: 0; background: var(--btn); color: var(--on-btn); display: grid; place-items: center; cursor: pointer; transition: transform 0.25s var(--ease), opacity 0.25s var(--ease); }
.a11y-btn:hover { opacity: 0.9; }
.a11y-btn:active { transform: scale(0.95); }
.a11y-btn svg { width: 26px; height: 26px; }
.a11y-btn:focus-visible, .a11y-panel button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.a11y-panel { width: min(340px, calc(100vw - 32px)); max-height: calc(100vh - 100px); overflow: auto; background: var(--surface); color: var(--text); border-radius: 24px; padding: 16px; box-shadow: 0 0 0 1px var(--line); }
.a11y-panel[hidden] { display: none; }
.a11y-top { display: flex; align-items: center; justify-content: space-between; padding: 2px 2px 8px 6px; }
.a11y-top h2 { font-size: 19px; }
.a11y-close { width: 44px; height: 44px; border: 0; border-radius: 14px; background: var(--surface2); color: var(--text); display: grid; place-items: center; cursor: pointer; }
.a11y-close svg { width: 20px; height: 20px; }
.a11y-list { display: grid; gap: 4px; }
.a11y-opt { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 8px 10px; border: 0; border-radius: 16px; background: transparent; color: var(--text); text-align: left; cursor: pointer; transition: background-color 0.25s var(--ease); }
.a11y-opt:hover { background: var(--surface2); }
.a11y-txt { flex: 1; min-width: 0; display: grid; }
.a11y-txt b { font-size: 16px; }
.a11y-txt small { font-size: 14px; color: var(--muted); }
.a11y-sw { position: relative; width: 44px; height: 26px; border-radius: 999px; background: var(--surface3); flex: none; transition: background-color 0.3s var(--ease); }
.a11y-sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--surface); transition: transform 0.35s var(--ease-out); }
.a11y-opt[aria-checked="true"] .a11y-sw { background: var(--btn); }
.a11y-opt[aria-checked="true"] .a11y-sw::after { transform: translateX(18px); background: var(--on-btn); }
.a11y-reset { width: 100%; height: 48px; margin-top: 10px; border: 0; border-radius: 16px; background: var(--surface2); color: var(--text); font-weight: 700; cursor: pointer; }
.a11y-reset:hover { background: var(--surface3); }
@media print { .a11y { display: none; } }

/* larger text: the page (not the panel) scales by about 1.25 */
.a11y-text main, .a11y-text .nav, .a11y-text footer.site { zoom: 1.25; }

/* readable spacing */
.a11y-spacing body { letter-spacing: 0.03em; word-spacing: 0.12em; }
.a11y-spacing p, .a11y-spacing li, .a11y-spacing .faq details > div, .a11y-spacing .card p { line-height: 1.85; }
.a11y-spacing p { margin-bottom: 1.4em; }

/* underline links */
.a11y-links a:not(.btn):not(.nav-cta):not(.brand):not(.skip):not(.post-card):not(.unsub-btn) { text-decoration: underline; text-decoration-thickness: 2px; }
.a11y-links .post-card h2 { text-decoration: underline; }

/* high contrast: plain black and white (Mono) */
.a11y-contrast { --bg: #ffffff; --surface: #ffffff; --surface2: #ffffff; --surface3: #000000; --text: #000000; --muted: #000000; --line: #000000; --accent: #000000; --wash: #ffffff; --btn: #000000; --on-btn: #ffffff; --ok: #000000; --err: #000000; }
:root.a11y-contrast[data-theme="dark"] { --bg: #000000; --surface: #000000; --surface2: #000000; --surface3: #ffffff; --text: #ffffff; --muted: #ffffff; --line: #ffffff; --accent: #ffffff; --wash: #000000; --btn: #ffffff; --on-btn: #000000; --ok: #ffffff; --err: #ffffff; }
@media (prefers-color-scheme: dark) {
  :root.a11y-contrast:not([data-theme="light"]) { --bg: #000000; --surface: #000000; --surface2: #000000; --surface3: #ffffff; --text: #ffffff; --muted: #ffffff; --line: #ffffff; --accent: #ffffff; --wash: #000000; --btn: #ffffff; --on-btn: #000000; --ok: #ffffff; --err: #ffffff; }
}
.a11y-contrast .card, .a11y-contrast .plan, .a11y-contrast .tile, .a11y-contrast .note, .a11y-contrast .table, .a11y-contrast .demo-card, .a11y-contrast .gentle, .a11y-contrast .cta, .a11y-contrast .post-card, .a11y-contrast .post-cta, .a11y-contrast .faq details, .a11y-contrast .join-row, .a11y-contrast .ideas button, .a11y-contrast .ico, .a11y-contrast .chip, .a11y-contrast .cats span, .a11y-contrast .steps-list .when, .a11y-contrast .pro-tag, .a11y-contrast .plan .tag, .a11y-contrast .seg, .a11y-contrast .theme-toggle, .a11y-contrast .a11y-panel, .a11y-contrast .a11y-close, .a11y-contrast .a11y-reset, .a11y-contrast .drawer-close { box-shadow: inset 0 0 0 2px var(--text); }
.a11y-contrast .a11y-sw { box-shadow: inset 0 0 0 2px var(--text); background: var(--bg); }
.a11y-contrast .a11y-sw::after { background: var(--text); }
.a11y-contrast .a11y-opt[aria-checked="true"] .a11y-sw::after { background: var(--on-btn); }
.a11y-contrast .rotator em { background: none; text-decoration: underline; text-decoration-thickness: 3px; }
.a11y-contrast .bento .card:hover, .a11y-contrast .post-card:hover { background: var(--surface); }
.a11y-contrast .nav { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
.a11y-contrast .theme-toggle .knob { box-shadow: inset 0 0 0 2px var(--text); }

/* reduce motion, chosen in the panel (the same as the system setting) */
.a11y-motion { scroll-behavior: auto; }
.a11y-motion *, .a11y-motion *::before, .a11y-motion *::after { animation: none !important; transition-property: opacity, color, background-color, border-color, box-shadow !important; transition-duration: 0.2s !important; transition-delay: 0s !important; }
.a11y-motion .reveal { opacity: 1; transform: none; }
.a11y-motion .bento .card:hover, .a11y-motion .post-card:hover, .a11y-motion .bento .card:hover .ico, .a11y-motion .card.coach:hover .card-cubi, .a11y-motion .card:hover .swatches i { transform: none; }
.a11y-motion .card.coach:hover .cubi { --gx: 0px; --gy: 0px; }


/* fixes from the 320 px check */
.menu-btn { flex: none; }
.prose a, .note a, .faq a { overflow-wrap: anywhere; }
.prose a.btn, .post-cta a.btn { color: var(--on-cta); text-decoration: none; }
@media (max-width: 480px) { .demo-form input { flex: none; } }
@media (max-width: 420px) { .join-row input { flex: none; } }
.tile h2 { font-size: 17px; margin: 14px 0 4px; }
.prose h2.h3, h2.h3 { font-size: 19px; margin: 0 0 8px; }
/* phones: the plan table fits the screen instead of scrolling sideways */
@media (max-width: 560px) {
  .compare table { min-width: 0; font-size: 14px; }
  .compare th, .compare td { padding: 10px 8px; }
  .compare th[scope="row"] { width: 38%; }
}
.round-btn { box-shadow: none; background: var(--surface2); }
.round-btn:hover { background: var(--surface3); }

/* ---------- the wordmark (the owner's file, inline): letters in the text colour, Cubi in the theme's colour.
   Cubi's outline is drawn in the colour behind the mark, so it reads as a small gap from the G. No motion. ---------- */
.wordmark { display: block; height: 30px; width: auto; color: var(--text); }
.wm-body { fill: var(--brand); }
.wm-eyes { fill: var(--eyes); }
.brand { display: flex; align-items: center; margin-right: auto; padding: 6px 0; }
.brand .wordmark { height: 32px; }
footer.site { --wm-gap: var(--surface); }
.foot-mark { display: inline-block; }
.foot-mark .wordmark { height: 30px; }
@media (max-width: 420px) { .brand .wordmark { height: 28px; } }
.rotator em { font-style: normal; }
/* store badges: compact, one line, marked coming soon */
.store-badge { height: 40px; gap: 8px; padding: 0 12px; border-radius: 12px; }
.store-badge svg { width: 18px; height: 18px; }
.store-badge span { flex-direction: row; align-items: baseline; gap: 6px; font-size: 14px; white-space: nowrap; }
.store-badge small { font-size: 13px; font-weight: 400; opacity: 0.85; }
.store-badge small::before { content: "· "; }
.hero .stores { margin-top: 28px; }

/* the login window leads with the Goalify wordmark; Cubi is small, beside what you typed */
.login-brand { display: flex; justify-content: center; margin: 4px 0 18px; --wm-gap: var(--surface); }
.login-brand .wordmark { height: 44px; }
.login-modal h2 { font-size: 26px; }
.login-todo { display: flex; align-items: center; gap: 12px; text-align: left; }
.login-todo[hidden] { display: none; }
.login-todo-cubi { flex: none; width: 34px; transform: rotate(-8deg); }
.login-todo-text { flex: 1; min-width: 0; }
.card-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 10px; font-weight: 700; color: var(--accent); text-decoration: none; }
.card-link svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease-out); }
.card-link:hover svg, .card-link:focus-visible svg { transform: translateX(3px); }
.card-link:hover { text-decoration: underline; text-underline-offset: 4px; }
/* pricing: the Monthly / Yearly switch */
.billing { display: flex; width: max-content; margin: 0 auto 28px; padding: 5px; gap: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); }
.billing[hidden] { display: none; }
.billing button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: inherit; font-weight: 700; cursor: pointer; transition: background-color 0.25s var(--ease), color 0.25s var(--ease); }
.billing button[aria-checked="true"] { background: var(--btn); color: var(--on-btn); }
.billing button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.billing .save { font-size: 13px; padding: 2px 8px; border-radius: 999px; background: var(--cta); color: var(--on-cta); }
.plan .price span { font-size: 15px; }
/* back to top: above the accessibility button, once the footer is in view */
.to-top { position: fixed; z-index: 34; right: 16px; bottom: calc(max(16px, env(safe-area-inset-bottom)) + 64px); width: 52px; height: 52px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); color: var(--text); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity 0.3s var(--ease), transform 0.4s var(--ease-out), background-color 0.25s var(--ease); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--surface2); }
.to-top:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.to-top svg { width: 22px; height: 22px; }
#main:focus { outline: none; }
@media print { .to-top { display: none; } }
.foot-cols a { overflow-wrap: anywhere; }

/* the login window breathes: wider, more padding, more room between the parts */
.login-modal { width: min(460px, calc(100vw - 32px)); padding: 48px 40px 36px; }
.login-brand { margin: 0 0 32px; }
.login-text { margin-top: 12px; line-height: 1.55; }
.login-todo { margin-top: 24px; }
.login-actions { gap: 14px; margin-top: 32px; }
.login-fine { margin-top: 24px; line-height: 1.55; }
@media (max-width: 420px) { .login-modal { padding: 40px 24px 28px; } .login-brand { margin-bottom: 24px; } .login-actions { margin-top: 24px; } }

/* store badges: just a coloured icon and name, no button (they aren't live yet) */
.store-badge { height: auto; padding: 4px 0; border-radius: 0; background: none; color: var(--accent); opacity: 1; cursor: default; }
.store-badge small { color: var(--muted); opacity: 1; }
.stores { gap: 8px 24px; }
.a11y-contrast .store-badge { box-shadow: none; }
@media (forced-colors: active) { .store-badge { border: 0; color: CanvasText; } }

/* hero: more room to breathe, and idea chips that read clearly on every light theme */
.hero { padding: 56px 0 88px; }
@media (min-width: 900px) { .hero { padding: 104px 0 136px; } }
.hero h1 { margin-top: 28px; }
.demo { margin-top: 64px; }
@media (min-width: 900px) { .demo { margin-top: 80px; } }
.ideas { gap: 10px; margin-top: 28px; }
.ideas button { background: var(--surface); border: 1px solid var(--border); color: var(--text); font-weight: 500; transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease); }
.ideas button:hover { background: var(--surface); border-color: var(--muted); }
.ideas button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hero .stores { margin-top: 40px; }

/* Cubi peeks from behind the box itself: the clip line sits inside the card (which covers it), so there's
   no flat cut or gap above the box's edge or its focus ring */
.peek { bottom: calc(100% - 24px); height: 98px; }
.peek .cubi-btn { transform: translateY(calc(74% - 20px)); }
.peek.up .cubi-btn { transform: translateY(calc(16% - 20px)); }

/* side menu: the page you're on sits in the theme's soft wash with an accent outline and a small dot */
.drawer { gap: 6px; padding: 16px 16px 28px; }
.drawer a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 12px 16px; border: 1.5px solid transparent; transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease); }
.drawer a:hover { background: var(--surface2); }
.drawer a[aria-current] { background: var(--wash); border-color: color-mix(in srgb, var(--accent) 55%, transparent); color: var(--text); font-weight: 700; }
.drawer a[aria-current]::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.drawer a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.drawer .drawer-cta { justify-content: center; min-height: 52px; }
@media (forced-colors: active) { .drawer a[aria-current] { border-color: CanvasText; } .drawer a[aria-current]::after { background: CanvasText; } }

/* phones: tables never cut off or scroll sideways */
@media (max-width: 600px) {
  /* the privacy list of services becomes one card per service */
  .table.stack { background: none; border: 0; border-radius: 0; overflow: visible; }
  .table.stack table, .table.stack tbody, .table.stack tr, .table.stack td { display: block; width: auto; min-width: 0; }
  .table.stack tr:first-child { display: none; }
  .table.stack tr { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 14px 16px; margin-bottom: 10px; }
  .table.stack td { padding: 2px 0; border: 0; }
  .table.stack td:first-child { font-weight: 700; font-size: 16px; margin-bottom: 6px; }
  .table.stack td:nth-child(n+2)::before { display: block; font-size: 13px; color: var(--muted); margin-top: 6px; }
  .table.stack td:nth-child(2)::before { content: "What for"; }
  .table.stack td:nth-child(3)::before { content: "What they receive"; }
}
@media (max-width: 380px) {
  .compare table { font-size: 13px; }
  .compare th, .compare td { padding: 9px 5px; }
  .billing { max-width: 100%; }
  .billing button { padding: 0 14px; }
}

/* ---------- phones (from real-device screenshots, Oct 17) ---------- */
@media (max-width: 600px) {
  /* header: the theme switch moves into the menu, so the logo, Log in and the menu button fit on one line */
  .nav .theme-toggle { display: none; }
  .nav-links .nav-cta { flex: none; white-space: nowrap; height: 40px; padding: 0 16px; border-radius: 12px; }
  .nav .wrap { height: 60px; gap: 8px; }
  .brand .wordmark { height: 28px; }

  /* hero: sized from the screen width so "A daily planner you can use" and every ending fit on one line
     each (larger text settings wrap instead of running off the edge); calmer, even spacing */
  .hero { padding: 36px 0 64px; }
  .rotator { font-size: min(calc((100vw - 40px) / 12.4), 44px); max-width: none; }
  .rotator .fixed { white-space: normal; }
  .rotator .turn { min-height: 1.35em; }
  .hero h1 { font-size: 16px; line-height: 1.55; margin-top: 18px; padding: 0 4px; }
  .demo { margin-top: 48px; }
  .demo-form input { font-size: 16px; padding: 0 12px; }
  .ideas { margin-top: 20px; gap: 8px; }
  .ideas button { min-height: 40px; padding: 6px 14px; font-size: 14px; }
  .hero .stores { margin-top: 28px; }

  /* sections: one gutter, smaller headings and body copy */
  .block { padding-top: 56px; padding-bottom: 56px; }
  h2.big { font-size: clamp(28px, 8vw, 36px); }
  .sub { font-size: 16px; line-height: 1.55; }

  /* floating buttons: smaller, so they cover less of the page */
  .a11y { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); }
  .a11y-btn { width: 44px; height: 44px; border-radius: 14px; }
  .a11y-btn svg { width: 22px; height: 22px; }
  .to-top { right: 12px; width: 44px; height: 44px; border-radius: 14px; bottom: calc(max(12px, env(safe-area-inset-bottom)) + 54px); }
}
/* the theme switch inside the side menu (phones) */
.drawer-theme { display: none; }
@media (max-width: 600px) {
  .drawer-theme { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 16px; margin-top: 4px; border: 0; border-radius: 14px; background: var(--surface2); color: var(--text); font: inherit; font-size: 17px; cursor: pointer; }
  .drawer-theme .state { font-size: 15px; color: var(--muted); }
}

/* the plan table: centred values, check marks, the Pro column softly highlighted top to bottom */
.compare { max-width: 900px; border: 1px solid var(--border); }
.compare table { table-layout: fixed; font-size: 16px; }
.compare thead th { background: var(--surface); vertical-align: bottom; padding-top: 20px; padding-bottom: 16px; font-size: 17px; }
.compare thead th small { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--muted); }
.compare th[scope="row"] { width: 36%; font-weight: 500; color: var(--text); }
.compare td, .compare thead th:not(:first-child) { text-align: center; }
.compare th, .compare td { padding: 16px; vertical-align: middle; }
.compare tr + tr th, .compare tr + tr td, .compare tbody tr:first-child th, .compare tbody tr:first-child td { border-top: 1px solid var(--line); }
.compare td small { font-size: 14px; color: var(--muted); }
.compare td:nth-child(3), .compare thead th.pro { background: color-mix(in srgb, var(--wash) 70%, var(--surface)); }
.compare thead th.pro { color: var(--text); }
.compare .yes { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--wash); color: var(--accent); }
.compare .yes svg { width: 15px; height: 15px; }
@media (max-width: 560px) {
  .compare table { font-size: 14px; }
  .compare th, .compare td { padding: 12px 6px; }
  .compare th[scope="row"] { width: 42%; padding-left: 12px; font-size: 14px; line-height: 1.35; }
  .compare td { font-size: 13px; line-height: 1.3; }
  .compare thead th { font-size: 15px; }
  .compare thead th small { font-size: 11.5px; }
  .compare td small { display: block; font-size: 12.5px; }
  .compare .yes { width: 24px; height: 24px; }
}
/* the fixed table layout takes column widths from the header row */
.compare thead th:first-child { width: 36%; }
@media (max-width: 560px) { .compare thead th:first-child { width: 40%; } }

/* ---- waitlist-first (Oct 17): the hero box joins the waitlist; the store badges lead to it ---- */
.hero-join { max-width: none; margin: 0; }
.hero-join .join-row { background: transparent; padding: 0; border-radius: 18px; }
.hero-join .join-row:focus-within { outline: none; }
.hero-join .join-row input { height: 56px; font-size: 18px; }
.hero-join .join-row .btn { height: 52px; border-radius: 18px; padding: 0 22px; }
.hero-join .msg { margin: 8px 6px 2px; text-align: center; min-height: 0; }
.hero-join .msg:empty { display: none; }
.hero-join.sent .join-row { display: none; }
.hero-note { font-size: 15px; color: var(--muted); margin: 14px auto 0; max-width: 460px; text-align: center; }
a.store-badge { opacity: 1; cursor: pointer; text-decoration: none; transition: transform 0.25s var(--ease), background-color 0.25s var(--ease); }
a.store-badge:hover { transform: translateY(-2px); }
a.store-badge:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
@media (max-width: 420px) { .hero-join .join-row .btn { width: 100%; } }

/* the story on phones and small tablets: each phone centred under its step, a calmer size, room before the next */
@media (max-width: 899px) {
  .story-steps { display: grid; gap: 64px; }
  .story-inline { margin: 28px auto 0; width: min(260px, 72vw); max-width: none; }
}

/* story phone: the shots are 540 x 1170, so the frame matches and the shot fills it (no black side bars) */
.story-visual .phone { aspect-ratio: 560 / 1190; }
.story-visual img { object-fit: cover; object-position: top; }
.phone .screen { background: var(--surface); }
/* numbered steps: the text wraps as one block beside the number (bold labels and links no longer split into columns) */
.steps li { display: block; position: relative; padding-left: 44px; min-height: 30px; }
.steps li::before { position: absolute; left: 0; top: 0; }
footer.site { border-top: 1px solid var(--border); }

/* ---------- guilt-free switches (home) ---------- */
.gf { display: grid; gap: 32px; background: var(--surface); border: 1px solid var(--border); border-radius: 36px; padding: 32px 20px; }
@media (min-width: 900px) { .gf { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; padding: 64px; align-items: center; } }
.gf-head .sub { margin-bottom: 24px; }
.gf-master { display: inline-flex; align-items: center; gap: 14px; min-height: 52px; padding: 8px 20px 8px 10px; border-radius: 999px; background: var(--surface2); font-weight: 700; font-size: 18px; cursor: pointer; }
.gf-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.gf-row { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 20px; background: var(--bg); border: 1px solid var(--border); cursor: pointer; transition: border-color 0.3s var(--ease); }
.gf-row:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); }
.gf-txt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.gf-txt b { font-size: 17px; }
.gf-was, .gf-now { color: var(--muted); font-size: 15px; grid-area: 2 / 1; transition: opacity 0.35s var(--ease), transform 0.4s var(--ease-out); }
.gf-was { opacity: 0; transform: translateY(4px); }
.gf-row:has(.gf-sw:not(:checked)) .gf-was { opacity: 1; transform: none; }
.gf-row:has(.gf-sw:not(:checked)) .gf-now { opacity: 0; transform: translateY(-4px); }
.gf-row:has(.gf-sw:not(:checked)) .gf-txt b { color: var(--muted); }
/* the switch: 51 x 31 like the app, accent when on */
.gf-sw { appearance: none; -webkit-appearance: none; flex: none; width: 51px; height: 31px; margin: 0; border-radius: 999px; background: var(--surface3); position: relative; cursor: pointer; transition: background-color 0.25s var(--ease); }
.gf-sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 25px; height: 25px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform 0.3s var(--ease-out); }
.gf-sw:checked { background: var(--accent); }
.gf-sw:checked::after { transform: translateX(20px); }
.gf-sw:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.a11y-contrast .gf-sw { box-shadow: inset 0 0 0 2px var(--text); }
@media (prefers-reduced-motion: reduce) { .gf-sw::after, .gf-was, .gf-now { transition: none; } }
.a11y-motion .gf-sw::after, .a11y-motion .gf-was, .a11y-motion .gf-now { transition: none; }

/* phones: Cubi's hello wraps beside Cubi instead of running off the left edge */
@media (max-width: 600px) {
  .bubble { white-space: normal; width: max-content; max-width: calc(100% - 156px); right: 136px; font-size: 14px; line-height: 1.35; }
}
