/* =====================================================================
   Tug — landing page

   One canvas, three surfaces:
     paper     the cream page, everywhere
     stage     a soft sage panel; every product scene sits on one
     material  the dark glass all of Tug's own UI is drawn in

   Colour is an accent, not a background: green for emphasis and calls
   to action, pink for the tongue and anything it touches. The single
   green panel is the download card at the end.

   Type: Inter (SF Pro on macOS), weight 800 with -4% tracking on display
   headings; tabular figures wherever a number ticks.
   ===================================================================== */

:root {
  --cream:        #F2ECE1;
  --cream-soft:   #EAE3D6;
  --card:         #F8F4EB;
  --green:        #0E7F45;
  --green-deep:   #0A6638;
  --green-glow:   rgba(14, 127, 69, 0.10);
  --pink:         #FA6792;   /* the tongue; shapes and text on dark or green */
  --pink-text:    #E0407A;   /* the same pink, deep enough to read on cream */
  --ink:          #15140F;
  --ink-soft:     rgba(21, 20, 15, 0.64);
  --ink-faint:    rgba(21, 20, 15, 0.40);
  --hairline:     rgba(21, 20, 15, 0.07);
  --on-green:     #F2ECE1;
  --on-green-soft: rgba(242, 236, 225, 0.76);
  --charcoal:     #1C1C21;
  --frog-green:   #38994A;
  --lit-green:    #4FC466;   /* frog green, brightened for text on material */

  /* Gulp's goldfish, straight from heygulp.com. Only for the cousin card
     and the footer sibling link, so the guest keeps its own colours. */
  --gulp:         #C4502B;
  --gulp-deep:    #9E3F21;
  --gulp-tint:    #F1DDD0;
  --font-gulp:    'Fraunces', 'Iowan Old Style', Georgia, serif;

  --radius-stage: 28px;
  --radius-card:  20px;
  --radius-btn:   999px;
  --radius-icon:  22.37%;

  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-text:    'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono:    ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --max:    1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --ease:   cubic-bezier(0.2, 0.7, 0.2, 1);
}

@supports (font-variation-settings: normal) {
  :root { --font-display: 'Inter var', sans-serif; --font-text: 'Inter var', sans-serif; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* Paper grain over the whole page, so every section is the same sheet. */
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 220px 220px; opacity: 0.08; mix-blend-mode: multiply;
}
main, .footer { position: relative; z-index: 1; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, blockquote { margin: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 1rem; top: -3rem; z-index: 100;
  background: var(--ink); color: var(--cream); padding: 0.5rem 0.9rem; border-radius: var(--radius-btn);
}
.skip:focus { top: 1rem; }

/* =====================================================================
   TYPOGRAPHY
   ===================================================================== */

.display {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.96;
  text-wrap: balance;
}
.display--hero { font-size: clamp(3.4rem, 8.4vw, 7.4rem); line-height: 0.9; letter-spacing: -0.05em; }
.display--lg   { font-size: clamp(2.5rem, 5.6vw, 4.6rem); }
.display--md   { font-size: clamp(2rem, 4.4vw, 3.6rem); }

.lede {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.45; color: var(--ink-soft);
  max-width: 34ch; margin-top: 1.4rem; text-wrap: pretty;
}
.muted {
  color: var(--ink-soft); font-size: clamp(1.02rem, 1.3vw, 1.18rem); line-height: 1.5;
  max-width: 46ch; margin-top: 1.25rem; text-wrap: pretty;
}
.muted.centered { margin-inline: auto; text-align: center; text-wrap: balance; }
.meta { margin-top: 1.1rem; font-size: 0.88rem; color: var(--ink-faint); }
.accent-green  { color: var(--green); }
.accent-pink   { color: var(--pink-text); }
.accent-tongue { color: var(--pink); }

.eyebrow {
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 0.18em;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  letter-spacing: -0.02em; color: var(--green); margin-bottom: 1rem;
}
.squiggle {
  display: inline-block; width: 1.2em; height: 0.4em; margin-top: 0.1em;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 8'><path d='M2 4 Q7 0 12 4 T22 4 T32 4 T42 4 T52 4 T58 4' stroke='%23FA6792' stroke-width='2.5' fill='none' stroke-linecap='round'/></svg>") no-repeat center / contain;
}
.squiggle--under { display: block; width: 2.6em; height: 0.4em; margin: 0; }

.brand-inline {
  display: inline-block; position: relative; color: var(--green);
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.04em;
}
.brand-inline::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -0.04em; height: 0.15em; pointer-events: none;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 8' preserveAspectRatio='none'><path d='M2 4 Q7 0 12 4 T22 4 T32 4 T42 4 T52 4 T58 4' stroke='%23FA6792' stroke-width='2.5' fill='none' stroke-linecap='round'/></svg>") no-repeat center / 100% 100%;
}

.wordmark {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.04em;
  font-size: 1.9rem; color: var(--green);
  display: inline-flex; flex-direction: column; align-items: flex-end; line-height: 1;
}
.wordmark .squiggle { margin-top: 3px; width: 1em; height: 0.36em; }
.wordmark--footer { font-size: 1.6rem; }

/* =====================================================================
   TOP BAR
   ===================================================================== */

.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.8rem var(--gutter);
  background: rgba(242, 236, 225, 0.82);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--hairline);
}
.topbar nav { display: flex; gap: 1.6rem; align-items: center; font-weight: 500; font-size: 0.95rem; color: var(--ink-soft); }
.topbar nav a { transition: color 120ms ease; }
.topbar nav a:hover { color: var(--ink); }
.topbar .cta-link {
  background: var(--green); color: var(--cream); padding: 0.5rem 1.05rem; border-radius: var(--radius-btn); font-weight: 600;
  transition: transform 120ms var(--ease), background-color 120ms ease;
}
.topbar .cta-link:hover { background: var(--green-deep); color: var(--cream); transform: translateY(-1px); }

/* =====================================================================
   BUTTONS + BADGES
   ===================================================================== */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  height: 56px; padding: 0 1.6rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.015em;
  border-radius: var(--radius-btn); border: none; cursor: pointer; white-space: nowrap;
  transition: transform 140ms var(--ease), background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn--lg { height: 66px; padding: 0 2.1rem; font-size: 1.2rem; }

/* The Apple logo, taken from Apple's own badge artwork. It is a touch
   taller than the cap height and nudged up, the way Apple sets it. */
.btn__icon { width: 1.02em; height: 1.25em; flex: none; transform: translateY(-0.07em); }
.btn--primary {
  background: var(--green); color: var(--cream);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 3px 0 var(--green-deep), 0 16px 26px -14px rgba(10, 102, 56, 0.7);
}
.btn--primary:hover { background: #118C4C; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 5px 0 var(--green-deep), 0 22px 30px -14px rgba(10, 102, 56, 0.7); }
.btn--primary:active { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 0 var(--green-deep); }
.btn--cream {
  background: var(--cream); color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 3px 0 rgba(6, 61, 33, 0.55), 0 18px 30px -14px rgba(0, 0, 0, 0.5);
}
.btn--cream:hover { background: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 5px 0 rgba(6, 61, 33, 0.55), 0 24px 34px -14px rgba(0, 0, 0, 0.5); }
.btn--cream:active { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 1px 0 rgba(6, 61, 33, 0.55); }

/* =====================================================================
   SURFACES
   ===================================================================== */

/* Stage: the desk every product scene sits on. */
.stage {
  position: relative; border-radius: var(--radius-stage);
  background:
    radial-gradient(120% 90% at 12% 0%, #DDE9D6 0%, transparent 55%),
    radial-gradient(90% 80% at 100% 100%, #EADFD2 0%, transparent 60%),
    linear-gradient(180deg, #E3E9DC 0%, #EEE8DB 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 0 0 1px rgba(21, 20, 15, 0.06), 0 30px 60px -34px rgba(21, 20, 15, 0.35);
}
.stage--pad { padding: clamp(1.25rem, 5vw, 4rem); display: grid; place-items: center; }

/* Material: the dark glass Tug's own windows are made of. */
.material {
  background: rgba(28, 28, 33, 0.94); color: #fff;
  backdrop-filter: blur(24px) saturate(1.6); -webkit-backdrop-filter: blur(24px) saturate(1.6);
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.2), 0 0 0 0.5px rgba(0, 0, 0, 0.5), 0 22px 48px -18px rgba(0, 0, 0, 0.5);
}

/* ---- A menu bar, as a close-up. Everything scales from --bar. -------- */

.menubar {
  position: absolute; left: 0; right: 0; top: 0; height: var(--bar); z-index: 3;
  border-radius: var(--radius-stage) var(--radius-stage) 0 0;
  background: rgba(28, 28, 33, 0.94); color: #fff;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 calc(var(--bar) * 0.36) 0 calc(var(--bar) * 0.4);
}
.menubar__menus { display: inline-flex; gap: calc(var(--bar) * 0.32); align-items: center; }
.menubar__menus i { display: block; height: calc(var(--bar) * 0.2); border-radius: 99px; background: rgba(255, 255, 255, 0.16); }
.menubar__menus i:first-child { height: calc(var(--bar) * 0.32); width: calc(var(--bar) * 0.32); border-radius: 28%; background: rgba(255, 255, 255, 0.32); }
.menubar__cluster { display: inline-flex; align-items: center; gap: calc(var(--bar) * 0.36); height: 100%; }
.menubar__glyph { width: calc(var(--bar) * 0.46); height: calc(var(--bar) * 0.46); color: #fff; opacity: 0.92; }
.menubar__glyph--battery { width: calc(var(--bar) * 0.64); height: calc(var(--bar) * 0.5); }
.menubar__clock { font-size: calc(var(--bar) * 0.34); font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.menubar__countdown {
  font-family: var(--font-mono); font-size: calc(var(--bar) * 0.32); font-weight: 600; letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums; margin-right: calc(var(--bar) * -0.12);
}
.menubar__frog {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  height: var(--bar); width: calc(var(--bar) * 1.04); margin: 0 calc(var(--bar) * -0.1); border-radius: calc(var(--bar) * 0.18);
}
.frog { overflow: visible; }
.frog--bar { width: calc(var(--bar) * 0.84); height: calc(var(--bar) * 0.72); }
.menubar__badge {
  position: absolute; right: calc(var(--bar) * -0.06); bottom: calc(var(--bar) * 0.08);
  min-width: calc(var(--bar) * 0.32); height: calc(var(--bar) * 0.32); padding: 0 calc(var(--bar) * 0.08);
  border-radius: 99px; background: var(--pink); color: #fff;
  font-size: calc(var(--bar) * 0.22); font-weight: 800; line-height: calc(var(--bar) * 0.32); text-align: center;
  font-variant-numeric: tabular-nums; box-shadow: 0 0 0 2px rgba(28, 28, 33, 0.94);
}

.overlay { position: absolute; inset: 0; z-index: 4; overflow: visible; pointer-events: none; }
.overlay .ghost-cursor { filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35)); }

.pill {
  position: absolute; z-index: 6; pointer-events: none; white-space: nowrap;
  height: 26px; padding: 0 10px; border-radius: 13px; line-height: 26px;
  background: rgba(0, 0, 0, 0.85); color: #fff;
  font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums;
  transform: translate(-100%, -50%); will-change: transform;
}
.pill.is-tick { animation: pill-tick 160ms var(--ease); }
@keyframes pill-tick { 0% { scale: 1; } 40% { scale: 1.08; } 100% { scale: 1; } }
.pill--static { position: static; transform: none; display: inline-block; }

/* =====================================================================
   HERO
   ===================================================================== */

.hero { position: relative; padding: clamp(2.5rem, 6vw, 5rem) var(--gutter) clamp(3rem, 6vw, 5rem); }
.hero__inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-weight: 600; font-size: 0.9rem; color: var(--green); letter-spacing: 0.01em; margin-bottom: 1.4rem;
}
.hero__eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-glow); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.1rem; margin-top: 2rem; }

.screen {
  --bar: 50px;
  aspect-ratio: 16 / 13; min-height: 440px;
  user-select: none; -webkit-user-select: none;
}
.screen .menubar__frog { cursor: grab; touch-action: none; transition: background-color 120ms ease; }
.screen .menubar__frog:hover { background: rgba(255, 255, 255, 0.10); }
.screen .menubar__frog:focus-visible { outline: 2px solid var(--pink); outline-offset: 1px; }
.screen .menubar__frog.is-dragging { cursor: grabbing; }
.desktop { position: absolute; inset: var(--bar) 0 0 0; z-index: 2; }

.try-hint {
  position: absolute; left: clamp(20px, 7%, 44px); top: clamp(28px, 12%, 60px);
  display: flex; align-items: flex-start; gap: 0.6rem;
  max-width: 230px; font-size: 0.98rem; line-height: 1.35; color: var(--ink-soft);
  transition: opacity 240ms ease;
}
.try-hint b { color: var(--ink); font-weight: 700; }
.try-hint__arrow { width: 46px; height: 46px; flex: none; color: var(--pink-text); transform: translateY(-22px); order: 2; transition: opacity 200ms ease; }
.try-hint.is-faded { opacity: 0; }
.desktop:has(.entry:not([hidden]), .list:not([hidden]), .toast:not([hidden])) .try-hint__arrow { opacity: 0; }

.ruler { position: absolute; left: 0; top: 0; width: 70px; height: 100%; overflow: visible; }
.ruler line { stroke: var(--ink); stroke-opacity: 0.16; stroke-width: 1; stroke-linecap: round; }
.ruler .ruler__axis { stroke-opacity: 0.12; }
.ruler line.is-lit { stroke: var(--green); stroke-opacity: 1; stroke-width: 2; }
.ruler text { font: 600 10px var(--font-text); fill: var(--ink); fill-opacity: 0.42; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.ruler text.is-lit { fill: var(--green); fill-opacity: 1; }

/* ---- Tug's windows --------------------------------------------------- */

.entry, .list, .toast { position: absolute; z-index: 5; top: 10px; right: 12px; animation: pop-in 200ms var(--ease); transform-origin: top center; }
.entry, .list { width: min(330px, calc(100% - 24px)); padding: 12px 14px 14px; border-radius: 18px; }
@keyframes pop-in { from { opacity: 0; transform: translateY(-6px) scale(0.96); } to { opacity: 1; transform: none; } }
.entry__head { display: flex; align-items: center; }
.entry__wordmark { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -0.04em; line-height: 1; }
.entry__time { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.entry__duration { font-family: var(--font-mono); font-size: 19px; font-weight: 700; letter-spacing: -0.5px; color: var(--lit-green); line-height: 1.1; font-variant-numeric: tabular-nums; }
.entry__ends { font-size: 11px; color: rgba(255, 255, 255, 0.55); font-variant-numeric: tabular-nums; }
.entry__field { display: block; margin-top: 14px; }
.entry__field input, .entry__fake {
  width: 100%; height: 38px; padding: 0 14px; border-radius: 12px; border: 0; outline: 0;
  background: rgba(255, 255, 255, 0.08); color: #fff; font: 600 13px var(--font-text);
  caret-color: var(--lit-green);
}
.entry__field input:focus, .entry__fake { background: rgba(255, 255, 255, 0.12); box-shadow: 0 0 0 2px rgba(79, 196, 102, 0.55); }
.entry__fake { display: flex; align-items: center; }
.caret { width: 1.5px; height: 16px; margin-left: 1px; background: var(--lit-green); animation: caret 1.1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.entry__pomo { margin-top: 10px; padding: 10px 14px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.07); display: grid; gap: 8px; }
.entry__row { display: flex; align-items: center; justify-content: space-between; height: 20px; font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, 0.85); }
.entry__row > span:last-child { display: inline-flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; }
.entry__sub { display: grid; gap: 8px; opacity: 0.4; transition: opacity 180ms ease; }
.entry__sub.is-on { opacity: 1; }
.chev {
  display: inline-block; width: 8px; height: 12px; background: rgba(255, 255, 255, 0.55);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 12'><path d='M1.5 4.5 4 2 6.5 4.5M1.5 7.5 4 10 6.5 7.5' stroke='black' stroke-width='1.3' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 12'><path d='M1.5 4.5 4 2 6.5 4.5M1.5 7.5 4 10 6.5 7.5' stroke='black' stroke-width='1.3' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
}
.chev--down {
  width: 8px; height: 8px;
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'><path d='M1.5 3 4 5.5 6.5 3' stroke='black' stroke-width='1.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'><path d='M1.5 3 4 5.5 6.5 3' stroke='black' stroke-width='1.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
.segbar { display: flex; gap: 4px; height: 6px; margin-top: 2px; }
.segbar i { flex: 5; border-radius: 3px; background: rgba(79, 196, 102, 0.32); }
.segbar i:nth-child(even) { flex: 1; background: rgba(250, 103, 146, 0.32); }
.switch {
  position: relative; display: inline-block; width: 32px; height: 18px; border-radius: 9px; border: 0; padding: 0;
  background: rgba(255, 255, 255, 0.16); transition: background-color 160ms ease;
}
button.switch { cursor: pointer; }
.switch > span { position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 7px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); transition: transform 160ms var(--ease); }
.switch[aria-checked="true"] { background: var(--frog-green); }
.switch[aria-checked="true"] > span { transform: translateX(14px); }
.entry__hints { margin-top: 12px; text-align: center; font-size: 10.5px; line-height: 1.4; color: rgba(255, 255, 255, 0.36); }
.entry--static { position: static; animation: none; width: min(300px, 100%); }

.list__head { display: flex; align-items: center; justify-content: space-between; }
.list__count { font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.5); }
.list__rows { margin-top: 12px; display: grid; gap: 8px; }
.row {
  display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.07);
  transition: opacity 200ms ease;
}
.row.is-paused { opacity: 0.55; }
.ring { width: 40px; height: 40px; }
.ring circle { fill: none; stroke-width: 3.5; }
.ring .track { stroke: rgba(255, 255, 255, 0.12); }
.ring .prog { stroke: var(--lit-green); stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dashoffset 900ms linear; }
.row__text { min-width: 0; }
.row__title { font-size: 13.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row__sub { font-size: 11px; color: rgba(255, 255, 255, 0.5); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row__right { display: flex; align-items: center; gap: 8px; }
.row__time { font-family: var(--font-mono); font-size: 15px; font-weight: 700; color: var(--lit-green); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.row__btn {
  width: 26px; height: 26px; border-radius: 13px; border: 0; padding: 0;
  background: rgba(255, 255, 255, 0.12); color: #fff; display: inline-grid; place-items: center;
}
button.row__btn { cursor: pointer; }
button.row__btn:hover { background: rgba(255, 255, 255, 0.2); }
.row__btn--x { background: rgba(250, 103, 146, 0.18); color: var(--pink); }
.row__btn svg { width: 12px; height: 12px; }

.toast { padding: 10px 14px; border-radius: 12px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.toast b { color: var(--lit-green); }
.toast.is-leaving { opacity: 0; transition: opacity 260ms ease; }

/* =====================================================================
   MANIFESTO
   ===================================================================== */

.manifesto { padding: clamp(3rem, 7vw, 6rem) var(--gutter); text-align: center; }
.manifesto .display { max-width: 26ch; margin: 0 auto; }
.manifesto__dim { color: var(--ink-faint); }

/* =====================================================================
   SECTIONS
   ===================================================================== */

.section { position: relative; padding: clamp(3.5rem, 8vw, 6.5rem) var(--gutter); }
.wrap { max-width: var(--max); margin: 0 auto; }
.section__head { margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.section__head--center { text-align: center; display: grid; justify-items: center; }
.section__head--center .eyebrow { align-items: center; }

/* Three short facts under a stage. */
.facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem);
  max-width: 1000px; margin: clamp(2.25rem, 5vw, 3.5rem) auto 0; text-align: center;
}
.facts li { display: grid; justify-items: center; align-content: start; gap: 0.35rem; }
.facts strong { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.025em; }
.facts span { color: var(--ink-soft); font-size: 0.97rem; max-width: 30ch; text-wrap: balance; }
.facts--big { max-width: 820px; }
.facts--big b {
  display: flex; align-items: baseline; justify-content: center; height: 0.92em; margin-bottom: 0.55rem;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 8vw, 5.6rem);
  letter-spacing: -0.05em; line-height: 0.92; color: var(--ink);
}
.facts--big .is-pink b { color: var(--pink-text); }
.facts--big .is-green b { color: var(--green); }
.facts--big b small { font-size: 0.3em; letter-spacing: -0.02em; margin-left: 0.15em; opacity: 0.6; }

/* ---- How it works --------------------------------------------------- */

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); }
.step { display: grid; gap: 0.6rem; align-content: start; }
.step__stage { --bar: 38px; aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 0.9rem; }
.step__stage--center { display: grid; place-items: center; padding: 8%; }
.step__num { font-family: var(--font-display); font-weight: 900; font-size: 0.9rem; letter-spacing: 0.08em; color: var(--green); }
.step h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 2.2vw, 1.9rem); letter-spacing: -0.03em; line-height: 1; }
.step p { color: var(--ink-soft); font-size: 1rem; line-height: 1.5; text-wrap: pretty; }

.notif { width: min(330px, 100%); }
.notif__banner {
  display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center;
  padding: 10px 12px; border-radius: 16px;
}
.notif__icon { width: 34px; height: 34px; border-radius: var(--radius-icon); }
.notif__text { display: grid; line-height: 1.25; min-width: 0; }
.notif__text b { font-size: 13px; font-weight: 700; }
.notif__text span { font-size: 12px; color: rgba(255, 255, 255, 0.6); }
.notif__options { font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, 0.9); display: inline-flex; align-items: center; gap: 4px; padding: 5px 9px; border-radius: 8px; background: rgba(255, 255, 255, 0.12); }
.notif__menu { margin: 8px 0 0 auto; width: 150px; padding: 5px; border-radius: 12px; display: grid; gap: 2px; font-size: 12.5px; font-weight: 600; }
.notif__menu span { padding: 6px 10px; border-radius: 8px; }
.notif__menu .is-active { background: var(--frog-green); }

.curve {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
  padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--radius-stage);
  background: var(--card); box-shadow: 0 0 0 1px var(--hairline);
}
.curve__copy h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem, 2vw, 1.8rem); letter-spacing: -0.03em; line-height: 1.05; }
.curve__copy p { margin-top: 0.75rem; color: var(--ink-soft); font-size: 1rem; text-wrap: pretty; }
.curve__viz { width: 100%; height: auto; overflow: visible; }
.curve__zones rect { fill: var(--green); }
.curve__zones rect:nth-child(1) { fill-opacity: 0.22; } .curve__zones rect:nth-child(2) { fill-opacity: 0.38; } .curve__zones rect:nth-child(3) { fill-opacity: 0.55; } .curve__zones rect:nth-child(4) { fill-opacity: 0.75; } .curve__zones rect:nth-child(5) { fill-opacity: 1; }
.curve__ticks line { stroke: var(--ink); stroke-opacity: 0.5; stroke-width: 1.2; stroke-linecap: round; }
.curve__labels text { font: 700 11px var(--font-text); fill: var(--ink); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.curve__names text { font: 600 10.5px var(--font-text); fill: var(--ink); fill-opacity: 0.55; }

/* ---- Pomodoro ------------------------------------------------------- */

.pomo-card { width: min(680px, 100%); padding: clamp(14px, 2.4vw, 22px); border-radius: 26px; }
.pomo-card .entry__wordmark { font-size: clamp(22px, 3vw, 30px); }
.pomo-card .list__count { font-size: clamp(10.5px, 1.2vw, 13px); }
.pomo-card__panel {
  margin-top: clamp(12px, 2vw, 18px); padding: clamp(16px, 2.8vw, 28px); border-radius: 18px;
  background: rgba(255, 255, 255, 0.07); display: grid; gap: clamp(14px, 2.2vw, 22px);
}
.pomo-card__top { display: flex; align-items: baseline; justify-content: space-between; gap: 0.4rem 1rem; flex-wrap: wrap; }
.pomo-card__phase {
  font-weight: 800; font-size: clamp(13px, 1.5vw, 16px); letter-spacing: 0.14em;
  color: var(--lit-green); font-variant-numeric: tabular-nums; transition: color 240ms ease;
}
.pomo-card.is-break .pomo-card__phase { color: var(--pink); }
.pomo-card__next { font-size: clamp(12.5px, 1.4vw, 15px); color: rgba(255, 255, 255, 0.55); font-variant-numeric: tabular-nums; }
.pomo-card__main { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.pomo-card__name { min-width: 0; }
.pomo-card__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 3.6vw, 2.5rem); letter-spacing: -0.035em; line-height: 1.05; }
.pomo-card__wraps { margin-top: 0.45rem; font-size: clamp(12.5px, 1.4vw, 15px); color: rgba(255, 255, 255, 0.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pomo-card__clock { display: grid; justify-items: end; gap: 0.15rem; flex: none; }
.pomo-card__clock span {
  font-family: var(--font-mono); font-weight: 700; font-size: clamp(2.2rem, 6vw, 4rem); line-height: 0.95;
  letter-spacing: -0.04em; color: var(--lit-green); font-variant-numeric: tabular-nums;
}
.pomo-card__clock small { font-family: var(--font-mono); font-size: clamp(12px, 1.4vw, 15px); color: rgba(255, 255, 255, 0.55); }
.pomo-card__bar { display: flex; gap: 6px; height: 12px; }
.pomo-card__bar i { position: relative; flex: 5; border-radius: 6px; overflow: hidden; background: rgba(79, 196, 102, 0.2); }
.pomo-card__bar i.is-break { flex: 1.6; background: rgba(250, 103, 146, 0.22); }
.pomo-card__bar b { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 6px; background: var(--lit-green); }
.pomo-card__bar i.is-break b { background: var(--pink); }
.pomo-card__actions { display: flex; align-items: center; gap: 10px; }
.pomo-card__skip {
  display: inline-flex; align-items: center; gap: 0.5rem; margin-right: auto;
  height: 38px; padding: 0 16px; border-radius: 19px; background: rgba(255, 255, 255, 0.12);
  font-weight: 700; font-size: 14px;
}
.pomo-card__skip svg { width: 14px; height: 12px; }
.pomo-card__actions .row__btn { width: 38px; height: 38px; border-radius: 19px; }
.pomo-card__actions .row__btn svg { width: 14px; height: 14px; }

/* ---- Twenty timers -------------------------------------------------- */

.wall {
  --bar: 46px;
  padding: calc(var(--bar) + clamp(1rem, 2.6vw, 2rem)) clamp(0.9rem, 2.6vw, 2rem) clamp(1rem, 2.6vw, 2rem);
}
.wall__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.chip {
  display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 14px;
  background: rgba(28, 28, 33, 0.94); color: #fff;
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.16), 0 12px 24px -14px rgba(0, 0, 0, 0.55);
  opacity: 0; transform: translateY(10px) scale(0.96);
  transition: opacity 320ms var(--ease), transform 320ms var(--ease);
}
.chip.is-in { opacity: 1; transform: none; }
.chip.is-paused > * { opacity: 0.4; }
.chip .ring { width: 30px; height: 30px; }
.chip__title { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip__time { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--lit-green); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.wall__more { display: none; margin-top: 0.9rem; text-align: center; font-size: 0.9rem; font-weight: 600; color: var(--ink-faint); }

/* ---- Bento ---------------------------------------------------------- */

.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.9rem, 1.6vw, 1.25rem); }
.tile {
  display: grid; align-content: start; gap: 0.45rem;
  padding: clamp(1.25rem, 2vw, 1.6rem);
  border-radius: var(--radius-stage); background: var(--card);
  box-shadow: 0 0 0 1px var(--hairline), 0 14px 30px -24px rgba(21, 20, 15, 0.4);
  transition: transform 200ms var(--ease), box-shadow 200ms ease;
}
.tile:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(21, 20, 15, 0.09), 0 22px 40px -24px rgba(21, 20, 15, 0.45); }
.tile--wide { grid-column: span 2; }
.tile h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.03em; margin-top: 0.4rem; }
.tile p { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.5; text-wrap: pretty; }
.tile__visual { min-height: 128px; display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 0.4rem; }
.tile__visual--shift { gap: 0.9rem; }
.tile__plus { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--ink-faint); }
.tile__arrow { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--ink-faint); margin-inline: 0.3rem; }
.tile__word { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; letter-spacing: -0.04em; color: var(--green); }
.tile__big { font-family: var(--font-display); font-weight: 800; font-size: 4rem; letter-spacing: -0.05em; line-height: 1; color: var(--green); }
.tile__big small { font-size: 1.3rem; letter-spacing: -0.02em; margin-left: 0.2rem; color: var(--ink-faint); }

.keycaps { display: inline-flex; gap: 0.35rem; }
.keycaps--dim { opacity: 0.5; }
.keycap {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border-radius: 10px; background: #fff;
  box-shadow: 0 0 0 1px rgba(21, 20, 15, 0.1), 0 3px 0 rgba(21, 20, 15, 0.12);
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--ink);
}
.keycap--lg { width: 56px; height: 56px; font-size: 1.5rem; border-radius: 14px; }

.ctx { width: 150px; padding: 5px; border-radius: 12px; display: grid; gap: 1px; font-size: 12.5px; font-weight: 600; }
.ctx span { padding: 5px 10px; border-radius: 7px; }
.ctx span:first-child { font-size: 10.5px; color: rgba(255, 255, 255, 0.45); text-transform: uppercase; letter-spacing: 0.08em; }
.ctx .is-active { background: var(--frog-green); }

.minibar {
  display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 12px 0 14px;
  border-radius: 12px; background: rgba(28, 28, 33, 0.94); color: #fff;
}
.minibar__count { font-family: var(--font-mono); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.frog--mini { width: 30px; height: 26px; }

.gold { width: 120px; height: 68px; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chips span { padding: 0.35rem 0.7rem; border-radius: var(--radius-btn); background: #fff; font-size: 0.82rem; font-weight: 600; box-shadow: 0 0 0 1px rgba(21, 20, 15, 0.08); }
.chips .is-active { background: var(--green); color: #fff; box-shadow: none; }
.a11y-glyph { width: 72px; height: 72px; }

/* ---- Themes --------------------------------------------------------- */

.themes { display: grid; gap: clamp(1.5rem, 3vw, 2.25rem); justify-items: center; width: 100%; }
.themes__group { display: grid; gap: 0.9rem; justify-items: center; width: 100%; }
.themes__label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); }
.themes__label b { color: var(--pink-text); font-weight: 700; }
.themes__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; }
.theme {
  display: grid; justify-items: center; gap: 0.7rem;
  width: 132px; padding: 1.3rem 0.5rem 1rem; border-radius: 20px; border: 0; cursor: pointer;
  background: rgba(28, 28, 33, 0.94); color: #fff;
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.16), 0 18px 34px -22px rgba(0, 0, 0, 0.6);
  transition: transform 180ms var(--ease), box-shadow 180ms ease;
}
.theme:hover { transform: translateY(-5px); }
.theme[aria-checked="true"] { box-shadow: 0 0 0 3px var(--cream), 0 0 0 6px var(--green), 0 18px 34px -22px rgba(0, 0, 0, 0.6); }
.theme:focus-visible { outline: 3px solid var(--pink); outline-offset: 7px; }
.theme .frog { width: 84px; height: 72px; }
.theme span { font-size: 0.88rem; font-weight: 600; letter-spacing: 0.01em; }

/* ---- The eyes ------------------------------------------------------- */

.section--eyes { padding-block: clamp(2rem, 5vw, 4rem); }
.section--eyes .section__head { margin-bottom: 0; }
.footnote__intro { font-weight: 600; color: var(--ink-faint); margin-bottom: 0.9rem; }
.frog--big { width: clamp(200px, 26vw, 300px); height: auto; margin: 2rem auto 0.5rem; filter: drop-shadow(0 24px 30px rgba(21, 20, 15, 0.18)); }

/* ---- Split + film --------------------------------------------------- */

.split { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.film-stage { padding: clamp(1.5rem, 4vw, 3rem); }
.film {
  position: relative; width: min(320px, 100%); aspect-ratio: 9 / 16;
  border-radius: 26px; overflow: hidden; background: #000;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3), 0 40px 70px -30px rgba(0, 0, 0, 0.6);
}
.film video { width: 100%; height: 100%; object-fit: cover; }
.film__play {
  position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(242, 236, 225, 0.94); color: var(--ink); display: grid; place-items: center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4); transition: transform 160ms var(--ease), opacity 160ms ease;
}
.film__play svg { width: 34px; height: 34px; margin-left: 4px; }
.film__play:hover { transform: scale(1.06); }
.film.is-playing .film__play { opacity: 0; pointer-events: none; }

/* ---- Download: the one green panel ---------------------------------- */

.section--download { padding-bottom: clamp(2rem, 4vw, 3rem); }
.cta-card {
  display: grid; justify-items: center; text-align: center;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.25rem, 5vw, 4rem);
  border-radius: clamp(28px, 4vw, 40px);
  background: radial-gradient(120% 120% at 50% 0%, #149152 0%, var(--green) 55%, var(--green-deep) 100%);
  color: var(--on-green);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 40px 80px -40px rgba(10, 102, 56, 0.75);
}
.press-quote { max-width: 52ch; margin-bottom: 2.25rem; }
.press-quote p { font-family: var(--font-display); font-weight: 500; font-style: italic; font-size: clamp(1.1rem, 1.7vw, 1.4rem); line-height: 1.35; letter-spacing: -0.01em; }
.press-quote__source { display: block; margin-top: 0.7rem; font-style: normal; font-weight: 600; font-size: 0.85rem; color: var(--on-green-soft); letter-spacing: 0.01em; }
.press-quote__source a { color: var(--on-green); border-bottom: 1px dotted currentColor; }
.cta-card .btn { margin-top: 2rem; }
.cta-card .meta { margin-top: 1.2rem; color: var(--on-green-soft); }

/* ---- Gulp, the cousin ----------------------------------------------- */

.section--cousin { padding-top: clamp(1rem, 2vw, 1.5rem); padding-bottom: clamp(3.5rem, 7vw, 5.5rem); }
.cousin-card {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2rem); align-items: start;
  padding: clamp(1.5rem, 3.5vw, 2.5rem) clamp(1.25rem, 3.5vw, 2.75rem);
  border-radius: var(--radius-stage); background: var(--gulp-tint); border: 1px solid rgba(196, 80, 43, 0.18);
}
.cousin-card img { width: 88px; height: 88px; border-radius: var(--radius-icon); }
.cousin-body { display: grid; gap: 0.9rem; min-width: 0; }
.cousin-eyebrow { color: var(--gulp-deep); font-size: 1.05rem; margin-bottom: 0; }
.cousin-body h2 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; font-size: clamp(1.75rem, 3.4vw, 2.5rem); line-height: 1.05; }
.cousin-body h2 b { font-family: var(--font-gulp); font-weight: 700; letter-spacing: -0.01em; color: var(--gulp); }
.cousin-body p { color: var(--ink-soft); font-size: 1.05rem; max-width: 46em; }
.cousin-facts { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cousin-facts li { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.01em; color: var(--gulp-deep); padding: 0.4rem 0.75rem; border-radius: var(--radius-btn); background: rgba(255, 255, 255, 0.6); }
.cousin-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 0.25rem; }
.cousin-cta { height: 50px; padding: 0 1.4rem; font-size: 1rem; background: var(--gulp); color: #FFF8EE; }
.cousin-cta:hover { background: var(--gulp-deep); }
.cousin-note { font-size: 0.85rem; color: var(--gulp-deep); }
.cousin-note a { border-bottom: 1px dotted currentColor; }
.cousin-note a:hover { border-bottom-style: solid; }

/* ---- Footer --------------------------------------------------------- */

.footer {
  padding: 2.5rem var(--gutter) 3rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  border-top: 1px solid var(--hairline); text-align: center;
}
.footer p { font-size: 0.9rem; color: var(--ink-soft); }
.footer__legal { color: var(--ink-faint); font-size: 0.82rem; margin-top: 0.4rem; }
.footer__email { color: var(--green); font-weight: 600; border-bottom: 1px solid transparent; transition: border-color 120ms ease; }
.footer__email:hover { border-bottom-color: currentColor; }
.footer__sibling { color: var(--gulp-deep); font-family: var(--font-gulp); font-weight: 700; border-bottom: 1px solid transparent; transition: border-color 120ms ease; }
.footer__sibling:hover { border-bottom-color: currentColor; }

/* =====================================================================
   ENTRANCE FADE-IN (script.js IntersectionObserver)
   ===================================================================== */

.fade-in { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.fade-in.is-visible { opacity: 1; transform: none; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */

@media (max-width: 1040px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .screen { min-height: 400px; aspect-ratio: 16 / 11; }
  .display--hero { font-size: clamp(3.2rem, 11vw, 6rem); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .step__stage { aspect-ratio: 16 / 10; }
  .step__stage--center { aspect-ratio: auto; padding: clamp(1.75rem, 7vw, 3rem) 8%; }
  .curve { grid-template-columns: minmax(0, 1fr); }
  .split { grid-template-columns: minmax(0, 1fr); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wall__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .chip:nth-child(n+19) { display: none; }
  .wall__more { display: block; }
  .wall__more::before { content: 'and two more'; }
}
@media (max-width: 860px) { .ruler { display: none; } }
@media (max-width: 720px) {
  .topbar nav a:not(.cta-link) { display: none; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile--wide { grid-column: auto; }
  .try-hint { left: 16px; top: 22px; max-width: 190px; font-size: 0.88rem; }
  .try-hint__arrow { width: 34px; height: 34px; transform: translateY(-14px); }
  .screen { --bar: 44px; min-height: 380px; aspect-ratio: 4 / 5; }
  .screen .menubar__menus i:nth-child(n+4), .screen .menubar__glyph--battery { display: none; }
  .wall { --bar: 40px; }
  .wall .menubar__menus i:nth-child(n+3) { display: none; }
  .wall__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .chip { padding: 8px 10px; gap: 8px; grid-template-columns: 26px minmax(0, 1fr) auto; }
  .chip .ring { width: 26px; height: 26px; }
  .chip__title, .chip__time { font-size: 12px; }
  .chip:nth-child(n+13) { display: none; }
  .wall__more::before { content: 'and eight more'; }
  .entry, .list, .toast { top: 8px; }
  .toast { white-space: normal; max-width: calc(100% - 24px); }
  .facts:not(.facts--big) { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
  .themes__row { gap: 0.5rem; }
  .theme { width: calc((100vw - 2 * var(--gutter) - 2 * clamp(1.25rem, 5vw, 4rem) - 1.5rem) / 4); max-width: 132px; padding: 0.8rem 0.1rem 0.6rem; border-radius: 14px; gap: 0.4rem; }
  .theme .frog { width: 44px; height: 38px; }
  .theme span { font-size: 0.66rem; }
  .manifesto br { display: none; }
  .curve__names { display: none; }
  .curve__labels text { font-size: 21px; }
  .curve__labels text:nth-child(2) { display: none; }
  .curve__viz { margin-top: 0.5rem; }
  .film { width: min(280px, 100%); }
  .cousin-card { grid-template-columns: minmax(0, 1fr); }
  .cousin-card img { width: 64px; height: 64px; }
  .hero__cta .btn { width: 100%; }
}
@media (max-width: 480px) { body { font-size: 16px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-in { opacity: 1; transform: none; transition: none; }
  .chip { opacity: 1; transform: none; transition: none; }
  .btn:hover, .btn:active, .tile:hover, .theme:hover, .topbar .cta-link:hover { transform: none; }
  .entry, .list, .toast { animation: none; }
  .pill.is-tick, .caret { animation: none; }
}
