/* =====================================================================
   Tug — landing page
   Design tokens mirror the macOS app:
     cream  #F2ECE1  page background
     green  #0E7F45  Classic theme head + primary accent
     pink   #FA6792  tongue / squiggle accent
   Type: SF Pro Display on macOS, Inter as cross-platform fallback,
   weight 800 with -4% tracking on display headings.
   ===================================================================== */

:root {
  --cream:        #F2ECE1;
  --cream-soft:   #EAE3D6;
  --green:        #0E7F45;
  --green-deep:   #0A6638;
  --green-glow:   rgba(14, 127, 69, 0.10);
  --pink:         #FA6792;
  --ink:          #15140F;
  --ink-soft:     rgba(21, 20, 15, 0.62);
  --on-green:     #F2ECE1;
  --on-green-soft: rgba(242, 236, 225, 0.78);

  --radius-card:  18px;
  --radius-btn:   999px;
  --radius-icon:  22.37%;   /* Apple's app-icon squircle approximation */

  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-text:    'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  --max:    1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

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

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

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

.display {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  line-height: 0.98;
  margin: 0;
}
.display--md { font-size: clamp(2.25rem, 5.5vw, 4.25rem); }
/* The Arc-confident size — used in stacked, text-dominant sections
   where the headline carries the page alone. */
.display--xl {
  font-size: clamp(3.25rem, 9vw, 8rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.muted {
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.45vw, 1.3rem);
  max-width: 40ch;
  margin: 1.25rem 0 0;
}
.muted.large { font-size: clamp(1.2rem, 1.75vw, 1.6rem); max-width: 44ch; }
.muted.on-green { color: var(--on-green-soft); }

.on-green { color: var(--on-green); }

.accent-green { color: var(--green); }
.accent-pink  { color: var(--pink); }
.accent-cream { color: var(--cream); }

/* Small green/cream eyebrow above each section heading. The squiggle sits
   directly under the text on its own line (matches the marketing slides),
   so the eyebrow is a vertical flex column rather than an inline row. */
.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.15rem, 1.6vw, 1.4rem);
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
  position: relative;
}
.eyebrow--green { color: var(--green); }
.eyebrow--cream { color: var(--cream); }

/* Sections that center their content (e.g. "What you might time") should
   also center the eyebrow and its underline. */
.stacked--center .eyebrow { align-items: center; }

/* Squiggle — inline SVG via background-image, scales with font size */
.squiggle {
  display: inline-block;
  width: 1.2em;
  height: 0.4em;
  background-image: 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>");
  background-repeat: no-repeat;
  background-size: contain;
  margin-top: 0.1em;
}
.squiggle--inline {
  width: 1.4em;
  vertical-align: -0.1em;
  margin-left: 0.05em;
}
/* Squiggle that sits below the eyebrow text — fixed-width, draws under
   the whole word like a hand-drawn underline. */
.squiggle--under {
  display: block;
  width: 2.6em;
  height: 0.4em;
  margin: 0;
}
.squiggle--themes {
  width: 100%;
  height: 0.18em;
  margin-top: 0.05em;
  display: block;
}

/* Wordmark — topbar, footer, frame signatures */
.wordmark,
.frame__signature {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.4rem;
  color: var(--ink);
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1;
}
/* Topbar wordmark is the most prominent — it's the brand mark people
   see first, before the hero. Sized roughly 1.4× the corner signatures. */
.topbar .wordmark {
  font-size: 2rem;
}
.topbar .wordmark .squiggle {
  margin-top: 3px;
  width: 1em;
  height: 0.36em;
}
.wordmark .squiggle,
.frame__signature .squiggle {
  margin-top: 2px;
  width: 1em;
  height: 0.32em;
}
.frame__signature {
  position: absolute;
  right: clamp(1rem, 3vw, 2.5rem);
  bottom: clamp(1rem, 3vw, 2rem);
  pointer-events: none;
  opacity: 0.95;
}
.frame__signature.on-green { color: var(--on-green); }

/* =====================================================================
   LAYOUT — top bar + frames
   ===================================================================== */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem clamp(1.25rem, 4vw, 3rem);
  background: rgba(14, 127, 69, 0.92);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
  color: var(--on-green);
}
.topbar .wordmark { color: var(--on-green); }
.topbar nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--on-green-soft);
}
.topbar nav a:hover { color: var(--on-green); }
.topbar .cta-link {
  background: var(--cream);
  color: var(--ink);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-btn);
  font-weight: 600;
}
.topbar .cta-link:hover { background: #fff; color: var(--ink); }

.frame {
  position: relative;
  min-height: 80vh;
  padding: clamp(4rem, 10vw, 8rem) var(--gutter);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.frame--cream { background: var(--cream); color: var(--ink); }
.frame--green { background: var(--green); color: var(--on-green); }
.frame--hero  { min-height: 92vh; padding-top: 6rem; }

/* Subtle SVG-noise grain on cream sections — adds the tactile paper feel
   that the Mac App Store slides have. Multiply blend so the grain reads
   as a darkening of the cream rather than a colored overlay. */
.frame--cream::before {
  content: '';
  position: absolute;
  inset: 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.10;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}

/* Chapter numerals — big outlined "01", "02", "03"… anchored in the
   top-right corner of each feature section. Editorial structure marker;
   adds visual hierarchy without competing with the headline. */
.frame[data-num]::after {
  content: attr(data-num);
  position: absolute;
  top: clamp(1.5rem, 3.5vw, 2.5rem);
  right: clamp(1.5rem, 3.5vw, 2.5rem);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.5rem, 7vw, 6rem);
  letter-spacing: -0.06em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px currentColor;
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}
.frame--cream[data-num]::after { color: var(--ink); }
.frame--green[data-num]::after { color: var(--on-green); }

.frame__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
}

/* =====================================================================
   BRAND-INLINE — "tug" wordmark for use inside running text. Lowercase
   word + pink squiggle drawn as an ::after pseudo, sized to inherit the
   surrounding font. Reusable in manifestos, body copy, anywhere we want
   the brand mark inline at the parent's display size.
   ===================================================================== */

.brand-inline {
  display: inline-block;
  position: relative;
  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;
  background-image: 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>");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}
.brand-inline--pink  { color: var(--pink); }
.brand-inline--cream { color: var(--cream); }
.brand-inline--green { color: var(--green); }
.brand-inline--ink   { color: var(--ink); }

/* =====================================================================
   MANIFESTO SLAB — green band that separates hero from the first
   feature section. Reads like a chapter epigraph: two confident lines,
   no animation, no decoration competing with the type.
   ===================================================================== */

.frame--manifesto {
  min-height: auto;
  padding: clamp(5rem, 14vw, 11rem) var(--gutter);
}
.manifesto {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15em;
  max-width: 1100px;
  margin: 0 auto;
}
.manifesto__lead {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.25rem, 6vw, 5rem);
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--on-green);
  margin: 0;
}

/* =====================================================================
   CYCLE BAR — typographic Pomodoro indicator. Seven blocks alternating
   wide-cream (work, 25 min) and narrow-pink (break, 5 min). Replaces
   the screenshot from the Pomodoro section.
   ===================================================================== */

.cycle-bar {
  display: flex;
  align-items: stretch;
  gap: 3px;
  width: 100%;
  max-width: 560px;
  height: 14px;
  margin: 2.25rem auto 0;
}
.cycle-bar__seg {
  display: block;
  border-radius: 4px;
}
.cycle-bar__seg--work {
  flex: 5;
  background: var(--cream);
}
.cycle-bar__seg--break {
  flex: 1;
  background: var(--pink);
}

/* =====================================================================
   TIMER STACK — typographic illustration of multiple running timers.
   Recreates the in-app TimerRowView's top section: cream card with
   a bold title + "Ends at" subtitle on the left, and a big SF Mono
   green countdown on the right. Sits on the green section background
   the way the real cards sit on the popover's cream/glass surface.
   ===================================================================== */

.timer-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 420px;
  margin: 2.25rem auto 0;
}
.timer-stack__card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--cream);
  padding: 11px 14px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.30);
}
.timer-stack__info {
  flex: 1;
  min-width: 0;
}
.timer-stack__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.018em;
  color: var(--ink);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.timer-stack__sub {
  font-size: 0.72rem;
  color: var(--ink-soft);
  margin-top: 1px;
  line-height: 1.2;
}
.timer-stack__time {
  font-family: 'SF Mono', ui-monospace, Menlo, monospace;
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: -0.04em;
  color: var(--green);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

/* =====================================================================
   SNOOZE MOCK — recreates the actual macOS notification banner that
   fires when a Tug timer finishes. App icon on the left, title +
   subtitle in the middle, "Options" dropdown on the right, with the
   menu opened to show +5 min / +10 min snooze choices.
   ===================================================================== */

.snooze-mock {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin: 2.5rem auto 0;
  text-align: left;
}

.snooze-mock__notification {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(140, 138, 132, 0.55);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-radius: 16px;
  padding: 12px 12px 12px 14px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.32) inset,
    0 18px 40px -16px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.snooze-mock__close {
  position: absolute;
  top: -6px;
  left: -6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(70, 70, 70, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 22px;
  text-align: center;
  font-weight: 500;
  z-index: 2;
  user-select: none;
}

.snooze-mock__icon {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 3px 8px -3px rgba(0, 0, 0, 0.20);
}
.snooze-mock__icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.snooze-mock__content {
  flex: 1;
  min-width: 0;
}
.snooze-mock__title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.snooze-mock__sub {
  font-size: 0.78rem;
  color: rgba(21, 20, 15, 0.65);
  margin-top: 2px;
  line-height: 1.2;
}

.snooze-mock__options {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  padding: 5px 9px 5px 12px;
  border-radius: 9px;
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  border: 0.5px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
}
.snooze-mock__caret {
  font-size: 0.7em;
  opacity: 0.55;
  transform: translateY(-1px);
}

/* Floating dropdown below the Options button, exactly like macOS
   surfaces it. First option highlighted blue (system accent) to show
   keyboard focus / default selection. */
.snooze-mock__dropdown {
  position: absolute;
  right: 14px;
  top: calc(100% + 6px);
  background: #FCFCFC;
  border-radius: 8px;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.18),
    0 0 0 0.5px rgba(0, 0, 0, 0.08);
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 110px;
  z-index: 1;
}
.snooze-mock__option {
  padding: 6px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  border-radius: 6px;
  text-align: left;
  white-space: nowrap;
}
.snooze-mock__option--active {
  background: #0066CC;
  color: #fff;
}

/* =====================================================================
   FOOTNOTE FRAME — the "and one more thing" eye-tracking beat.
   Smaller padding, smaller headline. Reads as a P.S. between Themes
   and the final Download CTA.
   ===================================================================== */

.frame--footnote {
  min-height: auto;
  padding: clamp(3rem, 8vw, 5.5rem) var(--gutter);
}
.footnote__intro {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  color: var(--ink-soft);
  margin: 0 0 0.5rem;
  letter-spacing: 0;
}

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

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}
.hero__mascot {
  width: clamp(360px, 44vw, 620px);
  max-width: 100%;
  margin-bottom: -0.5rem;
  border-radius: 28px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18), 0 12px 24px rgba(0, 0, 0, 0.10), 0 4px 8px rgba(0, 0, 0, 0.06);
}
.pomodoro__demo {
  width: clamp(44px, 5vw, 72px);
  aspect-ratio: 1 / 1;
  margin-bottom: -0.5rem;
  border-radius: 100%;
  overflow: hidden;
}
.pomodoro__demo video {
  display: block;
  width: 500%;
  margin-left: -160%;
  margin-top: 0;
}
.pomodoro__demo--inline {
  display: inline-block;
  width: 0.5em;
  vertical-align: 0.02em;
  margin: 0 2px 0 6px;
}
.hero__subtitle {
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  color: var(--ink-soft);
  max-width: 36ch;
  margin: 0;
}

/* =====================================================================
   SPLIT SECTIONS (copy on one side, visual on the other)
   ===================================================================== */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.split--reverse .split__copy { order: 2; }
.split--reverse .split__visual { order: 1; }

.split__copy { max-width: 28em; }

.split__visual--stacked {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.split__visual--centered {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Image treatments ---------------------------------------------------
   blend-on-cream: white background of the source PNG melts into the
   cream page via mix-blend-mode darken, so the image looks like it was
   designed for the page, not pasted on top.
   ------------------------------------------------------------------- */
.blend-on-cream {
  mix-blend-mode: darken;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.10));
}
.menu-bar-strip {
  max-width: 540px;
  width: 100%;
}
/* Inline "caption" variant — small enough that the headline owns the
   section while still showing the menu bar context. */
.menu-bar-strip--small {
  max-width: 380px;
  width: 100%;
  margin: 2.5rem auto 0;
  mix-blend-mode: darken;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.10));
}

/* Popover screenshot: it already has a natural rounded corner — let it
   sit as a floating screenshot with just a soft shadow, no card frame. */
.popover-shot {
  filter: drop-shadow(0 20px 40px rgba(14, 127, 69, 0.15))
          drop-shadow(0 6px 12px rgba(0, 0, 0, 0.08));
  max-width: 460px;
  margin: 0 auto;
}

/* On green sections, screenshots keep a real card shadow so they pop. */
.frame--green .split__visual img {
  border-radius: var(--radius-card);
  box-shadow: 0 24px 60px -16px rgba(0, 0, 0, 0.45);
}

/* =====================================================================
   STACKED / CENTERED SECTIONS
   ===================================================================== */

.stacked {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0.5rem;
  max-width: 40rem;
  margin: 0 auto;
}
.stacked--center {
  align-items: center;
  text-align: center;
  max-width: 1100px;
}
/* Center-stacked sections own the page with a single big headline.
   Cap the muted subtitle so it doesn't run too wide. */
.stacked--center .muted { margin-inline: auto; }

/* =====================================================================
   HOT KEYS — key caps
   ===================================================================== */

.keycaps {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
}
/* Arc-style oversize keycaps — the visual hero of the Hot keys section
   now that the screenshot is gone. */
.keycaps--large {
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  margin: 2.5rem auto 0;
}
.keycaps--large .keycap {
  width: clamp(72px, 9vw, 104px);
  height: clamp(72px, 9vw, 104px);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  border-radius: 16px;
}
.keycap {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--ink);
  background: #fff;
  border-radius: 12px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.8) inset,
    0 -2px 0 rgba(21,20,15,0.08) inset,
    0 3px 0 rgba(21,20,15,0.10),
    0 12px 20px -8px rgba(0,0,0,0.18);
  transition: transform 100ms ease, box-shadow 100ms ease;
}
.keycap:hover {
  transform: translateY(2px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.8) inset,
    0 -2px 0 rgba(21,20,15,0.08) inset,
    0 1px 0 rgba(21,20,15,0.10),
    0 6px 12px -6px rgba(0,0,0,0.18);
}

.kbd-inline { display: inline-flex; gap: 0.3em; vertical-align: -0.1em; }
.kbd-inline kbd {
  display: inline-flex;
  min-width: 1.5em;
  height: 1.5em;
  padding: 0 0.4em;
  align-items: center;
  justify-content: center;
  background: rgba(21,20,15,0.06);
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 0.95em;
  font-weight: 600;
  color: var(--ink);
}

/* =====================================================================
   "WHAT YOU MIGHT TIME" — playful emoji list
   ===================================================================== */

.frame--list { min-height: auto; padding: clamp(4rem, 8vw, 6rem) var(--gutter); }

/* Editorial reference list — no pills, no rotations, no color cycling.
   Each row is icon + name + dotted leader + duration, like a printed
   recipe card or table of contents. Reads quieter and more polished
   than the previous sticker-wall treatment. */
.timing-list {
  list-style: none;
  padding: 0;
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 520px;
  text-align: left;
}
.timing-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 11px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--ink);
  border-bottom: 1px solid rgba(21, 20, 15, 0.10);
}
.timing-list li:last-child { border-bottom: none; }

.timing-list__icon {
  font-size: 1.15em;
  width: 1.5em;
  flex-shrink: 0;
  text-align: center;
  transform: translateY(0.05em);
}
.timing-list__name {
  flex-shrink: 0;
}
.timing-list__dots {
  flex: 1;
  border-bottom: 2px dotted rgba(21, 20, 15, 0.28);
  transform: translateY(-0.32em);
  min-width: 16px;
}
.timing-list__time {
  font-family: 'SF Mono', ui-monospace, Menlo, monospace;
  font-weight: 700;
  font-size: 0.92em;
  letter-spacing: -0.02em;
  color: var(--green);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  flex-shrink: 0;
}

.timing-list__more {
  display: block;
  border-bottom: none !important;
  color: var(--ink-soft);
  font-style: italic;
  font-weight: 500;
  text-align: center;
  padding-top: 1.5rem !important;
}

/* =====================================================================
   THEMES — corner frogs as decorative, big inline wordmark center
   ===================================================================== */

.frame--themes { min-height: 80vh; }

.theme-frog {
  position: absolute;
  width: clamp(120px, 15vw, 200px);
  z-index: 0;
  opacity: 0.92;
}
.theme-frog--tl { top: 4%;    left: 2%;  transform: rotate(-8deg); }
.theme-frog--tr { top: 4%;    right: 2%; transform: rotate(10deg); }
.theme-frog--bl { bottom: 4%; left: 2%;  transform: rotate(8deg);  }
.theme-frog--br { bottom: 4%; right: 2%; transform: rotate(-10deg);}

.themes-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.themes-headline {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3em;
  flex-wrap: nowrap;
  justify-content: center;
}
/* The "tug" word inside "Make tug yours" — pink to pop against the
   green section background, with the squiggle under it. Inline-block
   so the squiggle can stretch the word's width. */
.themes-word {
  color: var(--pink);
  display: inline-block;
  position: relative;
}
.themes-word .squiggle--themes {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.1em;
}

/* =====================================================================
   DOWNLOAD + FOOTER
   ===================================================================== */

.frame--download .stacked { align-items: center; text-align: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  margin-top: 1.5rem;
  transition: transform 120ms ease, background-color 120ms ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--green { background: var(--green); color: var(--cream); }
.btn--green:hover { background: var(--green-deep); }
.btn--cream { background: var(--cream); color: var(--ink); }
.btn--cream:hover { background: #fff; }

/* Apple's official "Download on the Mac App Store" SVG badge. Per
   App Store marketing guidelines: don't recolor or distort, leave
   clearspace around it, minimum height 40px. */
.app-store-badge {
  display: inline-block;
  margin-top: 1.5rem;
  transition: transform 120ms ease, opacity 120ms ease;
}
.app-store-badge img {
  height: 56px;
  width: auto;
  display: block;
}
.app-store-badge:hover { transform: translateY(-2px); opacity: 0.92; }

.footer-note {
  margin-top: 1.5rem !important;
  font-size: 0.9rem;
  opacity: 0.7;
}

.footer {
  background: var(--cream);
  padding: 2.5rem var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid rgba(21, 20, 15, 0.06);
  text-align: center;
}
.footer p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.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; }

.ph-badge {
  display: inline-block;
  margin-top: 0.5rem;
  transition: transform 120ms ease, opacity 120ms ease;
}
.ph-badge img {
  display: block;
  width: 250px;
  height: 54px;
}
.ph-badge:hover { transform: translateY(-1px); opacity: 0.92; }
.wordmark--footer { font-size: 1.6rem; }

/* =====================================================================
   FUN — slow floating animation on the corner / decorative frogs
   ===================================================================== */

.float {
  animation: float-bob 6s ease-in-out infinite;
}
.float--delay  { animation-delay: -2s; }
.float--delay2 { animation-delay: -4s; }

@keyframes float-bob {
  0%, 100% { transform: translateY(0) var(--rot, rotate(0deg)); }
  50%      { transform: translateY(-10px) var(--rot, rotate(0deg)); }
}

/* Per-class rotation values, so the float doesn't reset the rotation */
.theme-frog--tl.float { --rot: rotate(-8deg);  animation-name: float-bob-tl; }
.theme-frog--tr.float { --rot: rotate(10deg);  animation-name: float-bob-tr; }
.theme-frog--bl.float { --rot: rotate(8deg);   animation-name: float-bob-bl; }
.theme-frog--br.float { --rot: rotate(-10deg); animation-name: float-bob-br; }

@keyframes float-bob-tl { 0%,100% { transform: rotate(-8deg)  translateY(0); } 50% { transform: rotate(-8deg)  translateY(-12px); } }
@keyframes float-bob-tr { 0%,100% { transform: rotate(10deg)  translateY(0); } 50% { transform: rotate(10deg)  translateY(-12px); } }
@keyframes float-bob-bl { 0%,100% { transform: rotate(8deg)   translateY(0); } 50% { transform: rotate(8deg)   translateY(-12px); } }
@keyframes float-bob-br { 0%,100% { transform: rotate(-10deg) translateY(0); } 50% { transform: rotate(-10deg) translateY(-12px); } }

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

/* Medium viewports — content max-width nearly equals viewport width, so
   the decorative corner frogs start crowding the centered headlines.
   Shrink them and pull them into the actual corners. */
@media (max-width: 1240px) {
  .theme-frog { width: clamp(70px, 8vw, 120px); opacity: 0.8; }
  .theme-frog--tl { top: 0;    left: 0;  }
  .theme-frog--tr { top: 0;    right: 0; }
  .theme-frog--bl { bottom: 0; left: 0;  }
  .theme-frog--br { bottom: 0; right: 0; }
}

@media (max-width: 820px) {
  .topbar nav a:not(.cta-link) { display: none; }

  .split,
  .split--reverse {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .split--reverse .split__copy { order: 1; }
  .split--reverse .split__visual { order: 2; }

  .frame { min-height: auto; padding: clamp(3rem, 12vw, 5rem) var(--gutter); }
  .frame--hero { min-height: 80vh; }

  /* Themes section on mobile — instead of corner frogs that crowd the
     headline, gather them into a small overlapping row centered under
     the "Seven palettes. One Tug." subtitle. Adds extra bottom padding
     so the row has space below the copy. */
  .frame--themes { padding-bottom: clamp(7rem, 18vw, 9rem); }

  .theme-frog {
    width: 56px;
    opacity: 1;
  }
  .theme-frog--tl,
  .theme-frog--tr,
  .theme-frog--bl,
  .theme-frog--br {
    top: auto;
    right: auto;
    bottom: clamp(1.75rem, 5vw, 2.75rem);
  }
  .theme-frog--tl { left: calc(50% - 100px); z-index: 1; }
  .theme-frog--tr { left: calc(50% - 56px);  z-index: 2; }
  .theme-frog--bl { left: calc(50% - 12px);  z-index: 3; }
  .theme-frog--br { left: calc(50% + 32px);  z-index: 4; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .keycaps { gap: 0.5rem; }
  .keycap { width: 46px; height: 46px; font-size: 1.2rem; }
  .timing-list { grid-template-columns: 1fr 1fr; }
}

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

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms cubic-bezier(0.2, 0.7, 0.2, 1),
              transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-in { opacity: 1; transform: none; transition: none; }
  .btn:hover, .keycap:hover, .timing-list li:hover { transform: none; }
  .float { animation: none; }
}
