/* ==========================================================================
   gapboard.app — the public site (site/index.html)
   Colours come from the app's own tokens (/css/tokens.css), so the page and
   the product share one palette, light and dark. The few the site adds
   (the area colours its drawings use, and the dark band) are tokens here.
   ========================================================================== */

:root {
  /* the area colours the drawn boards use, as the app's default areas */
  --area-blue: #2B4CD6;
  --area-green: #1F6B4A;
  --area-gold: #D4A017;
  --area-grey: #8A8F9A;

  /* the inverse band ("We will never ask you to schedule…") */
  --band: #1F2430;
  --band-2: #2C3037;
  --band-3: #3A3F48;
  --band-ink: #FFFFFF;
  --band-text: #D7DAE0;
  --band-faint: #7C828E;
  --band-accent: #A78BFA;
  --band-slot: #5A4A9E;

  /* phone frames, the play button, the sound pill; the screenshots are the
     app in its light look, so their frame's status bar stays light too */
  --device: #1F2430;
  --shot-bg: #E3E4E6;
  --shot-ink: #1F2430;
  --veil: rgba(255, 255, 255, .9);
  --veil-dark: rgba(31, 36, 48, .78);
  --on-veil-dark: #FFFFFF;

  /* depth */
  --shadow-float: 0 18px 48px rgba(31, 36, 48, .14);
  --shadow-board: 0 22px 60px rgba(0, 0, 0, .14);
  --shadow-phone: 0 30px 60px rgba(0, 0, 0, .22);
  --shadow-accent: 0 22px 50px rgba(76, 47, 191, .28);
  --shadow-lift: 0 6px 14px rgba(0, 0, 0, .10);
  --header-bg: rgba(227, 228, 230, .86);

  --wrap: 1180px;
  --gutter: 24px;
}
:root[data-theme="dark"] {
  --band: #0E0F12;
  --band-2: #1E2126;
  --band-3: #2C3037;
  --device: #0B0C0E;
  --header-bg: rgba(22, 24, 28, .86);
  --shadow-float: 0 18px 48px rgba(0, 0, 0, .45);
  --shadow-board: 0 22px 60px rgba(0, 0, 0, .5);
  --shadow-lift: 0 6px 14px rgba(0, 0, 0, .35);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --band: #0E0F12;
    --band-2: #1E2126;
    --band-3: #2C3037;
    --device: #0B0C0E;
    --header-bg: rgba(22, 24, 28, .86);
    --shadow-float: 0 18px 48px rgba(0, 0, 0, .45);
    --shadow-board: 0 22px 60px rgba(0, 0, 0, .5);
    --shadow-lift: 0 6px 14px rgba(0, 0, 0, .35);
  }
}

/* --- base ------------------------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { color: var(--ink); }
h1, h2, h3, p, figure { margin: 0; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.mono { font-family: var(--mono); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; }
.skip:focus { left: 12px; z-index: 50; background: var(--card); padding: 8px 12px; border-radius: 8px; }

/* --- type ------------------------------------------------------------------ */

.eyebrow { font-family: var(--mono); font-size: 13px; color: var(--accent-ink); margin-bottom: 14px; }
.h2 { font-size: clamp(32px, 4.4vw, 44px); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
.h3 { font-size: clamp(26px, 3.2vw, 34px); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
.lede { font-size: 17px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.small { font-size: 13px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }

/* --- buttons and chips ----------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--r-btn); padding: 14px 24px; font-size: 16px; font-weight: 700;
  white-space: nowrap; text-align: center; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 8px 22px -10px var(--accent); }
.btn--primary:hover { color: var(--on-accent); transform: translateY(-1px); box-shadow: 0 14px 30px -12px var(--accent); }
.btn--ghost { background: var(--card); color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { color: var(--ink); border-color: var(--accent-line); }
.btn--soft { background: var(--pill); color: var(--ink); }
.btn--soft:hover { color: var(--ink); background: var(--hover); }
.btn--sm { padding: 10px 18px; font-size: 14px; }

.chip-plus {
  font-size: 10.5px; font-weight: 800; letter-spacing: .04em; color: var(--accent-ink);
  background: var(--accent-soft); border-radius: var(--r-pill); padding: 3px 8px; flex: none;
}
.plus-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.pill-out { background: var(--card); border: 1px solid var(--line-strong); border-radius: var(--r-pill); padding: 7px 14px; font-size: 13px; font-weight: 700; color: var(--ink); }

/* --- header ---------------------------------------------------------------- */

.site-head {
  position: sticky; top: 0; z-index: 20;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-head.is-scrolled { border-bottom-color: var(--line-strong); box-shadow: 0 6px 20px -16px rgba(0, 0, 0, .5); }
.site-head__in { display: flex; align-items: center; gap: 28px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--ink); font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.brand:hover { color: var(--ink); }
.logo { width: 24px; height: 24px; flex: none; display: block; }
.logo--app { width: 26px; height: 26px; }
.site-nav { display: flex; gap: 22px; flex: 1; }
.site-nav a { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.site-nav a:hover { color: var(--ink); }
/* light / dark: the moon shows in light, the sun in dark; the system decides until someone chooses */
.look {
  margin-left: auto; width: 40px; height: 40px; flex: none; display: grid; place-items: center;
  border: 1px solid transparent; border-radius: var(--r-btn); background: transparent; color: var(--ink-2); cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.look:hover { background: var(--card); border-color: var(--line-strong); color: var(--ink); }
.look svg { grid-area: 1 / 1; transition: transform .35s ease, opacity .25s ease; }
.look__sun { opacity: 0; transform: rotate(-60deg) scale(.6); }
:root[data-theme="dark"] .look__moon { opacity: 0; transform: rotate(60deg) scale(.6); }
:root[data-theme="dark"] .look__sun { opacity: 1; transform: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .look__moon { opacity: 0; transform: rotate(60deg) scale(.6); }
  :root:not([data-theme="light"]) .look__sun { opacity: 1; transform: none; }
}
.site-head .btn { margin-left: 4px; }

/* --- hero ------------------------------------------------------------------ */

.hero { padding-top: 84px; padding-bottom: 40px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 56px; align-items: center; }
.hero h1 { font-size: clamp(44px, 7vw, 72px); line-height: 1.0; font-weight: 800; letter-spacing: -.035em; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__lede { margin-top: 24px; font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 620px; text-wrap: pretty; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; max-width: 640px; }
.hero__cta .btn { flex: 1 1 auto; }
.hero__note { margin-top: 14px; font-size: 13.5px; color: var(--muted); }

/* the teaser */
.teaser {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-panel); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow-float);
}
.teaser.is-square { aspect-ratio: 1 / 1; }
.teaser video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.teaser__play {
  position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px;
  border-radius: 999px; border: 0; padding: 0; cursor: pointer;
  background: var(--card); box-shadow: 0 8px 24px rgba(31, 36, 48, .22);
  display: grid; place-items: center; color: var(--accent);
  transition: transform .15s ease, opacity .2s ease;
}
.teaser__play:hover { transform: scale(1.06); }
.teaser.is-playing .teaser__play { opacity: 0; pointer-events: none; }
.teaser__sound {
  position: absolute; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 6px;
  border: 0; border-radius: 999px; background: var(--veil-dark); color: var(--on-veil-dark);
  font: inherit; font-size: 12px; font-weight: 700; padding: 6px 11px 6px 9px; cursor: pointer;
}
.teaser__sound .on { display: none; }
.teaser.is-unmuted .teaser__sound .on { display: inline; }
.teaser.is-unmuted .teaser__sound .off { display: none; }
.teaser__len {
  position: absolute; left: 12px; bottom: 12px; font-family: var(--mono); font-size: 12px; font-weight: 700;
  color: var(--ink-2); background: var(--veil); border-radius: 999px; padding: 5px 10px;
  transition: opacity .3s ease;
}
.teaser.is-playing .teaser__len { opacity: 0; }

/* --- drawn boards (hero, stakes) ------------------------------------------- */

.board {
  margin-top: 56px; background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: var(--r-sheet); box-shadow: var(--shadow-board); overflow: hidden;
}
.board__in { display: grid; grid-template-columns: 250px minmax(0, 1fr); }
.radar {
  background: var(--card); border-right: 1px solid var(--line); padding: 18px 16px;
  display: flex; flex-direction: column; gap: 14px;
}
.radar__head { display: flex; align-items: center; gap: 8px; }
.radar__title { font-size: 15px; font-weight: 800; letter-spacing: -.01em; flex: 1; }
.radar__all { font-size: 11.5px; font-weight: 700; color: var(--muted); background: var(--pill); border-radius: 999px; padding: 4px 10px; }
.radar__sec { display: flex; align-items: center; gap: 8px; }
.radar__sec b { font-size: 13px; flex: 1; }
.radar__sec .n, .mk-n { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.radar__peek { font-size: 12px; color: var(--muted); margin-top: -8px; padding-left: 16px; }
.radar__rule { height: 1px; background: var(--line-faint); }
.radar__foot { margin-top: auto; font-size: 11.5px; line-height: 1.45; color: var(--muted); border-top: 1px solid var(--line-faint); padding-top: 10px; }
.dot { width: 8px; height: 8px; border-radius: 999px; background: var(--a, var(--ink)); flex: none; }
.radar__stack { display: flex; flex-direction: column; gap: 6px; }
.radar__more { font-size: 12px; color: var(--muted); padding-left: 2px; }

.days { padding: 18px 18px 20px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; align-items: start; }
.day { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.day__name { display: flex; align-items: baseline; gap: 6px; font-size: 13px; font-weight: 800; }
.day__name .n { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--muted); }
.day.is-today { background: var(--today-bg); margin: -10px -6px; padding: 10px 6px; border-radius: 12px; outline: 1.5px solid var(--accent-line); }
.day.is-today .day__name, .day.is-today .day__name .n { color: var(--accent-ink); }
.today-tag { margin-left: auto; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; color: var(--on-accent); background: var(--accent); border-radius: 999px; padding: 2px 7px; }
.strip { display: flex; height: 8px; border-radius: 4px; overflow: hidden; gap: 1px; }
.strip span { flex: var(--f, 1); }
.strip .blk { background: repeating-linear-gradient(135deg, var(--line-strong) 0 3px, var(--surface-2) 3px 6px); }
.strip .lun { background: var(--dash); }
.strip .mtg { background: var(--faint-2); }
.strip .free { background: var(--card); }
.col { position: relative; height: 300px; display: flex; flex-direction: column; gap: 4px; }
.line { position: absolute; left: -4px; right: -4px; top: var(--y); border-top: 2px dashed var(--dash); }
.line.is-over { border-top-color: var(--warn); }
.day__foot { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.day__foot.is-over { font-weight: 700; color: var(--warn-ink); }

/* a card on a drawn board: --h is its height (its size), --a its area */
.mk {
  height: var(--h, auto); flex: none; background: var(--card); border: 1px solid var(--line-soft);
  border-left: 3px solid var(--a, var(--area-grey)); border-radius: 10px; padding: 8px 9px;
  display: flex; flex-direction: column; gap: 3px; min-width: 0; overflow: hidden;
}
.mk b { font-size: 12.5px; font-weight: 700; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk i { font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.mk--row { flex-direction: row; align-items: center; gap: 6px; padding-block: 0; border-radius: 9px; }
.mk--row b { flex: 1; font-size: 12px; }
.mk--tiny b { font-size: 11.5px; }
.mk--habit { border: 1.5px dashed var(--accent-line); background: var(--today-bg); }
.mk--habit b, .mk--habit i { color: var(--accent-ink); }
.mk--spill { border-color: var(--warn-line); transform: rotate(-1.5deg) translateX(4px); box-shadow: var(--shadow-lift); margin-top: 8px; }
.mk--spill i { color: var(--warn-ink); }
.mk--drift { transform: rotate(-1.5deg) translateX(3px); box-shadow: var(--shadow-lift); margin-top: 6px; }
.mk--side { padding: 7px 9px; border-left-color: var(--area-grey); }
.tag-high { font-size: 10.5px; font-weight: 700; color: var(--warn-ink); background: var(--warn-soft); border-radius: 999px; padding: 1px 7px; font-family: var(--font); }
.mk__meta { display: flex; gap: 5px; align-items: center; }

.legend { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.legend span { display: flex; align-items: center; gap: 7px; }
.legend .l-dash { width: 22px; border-top: 2px dashed var(--dash); }
.legend .l-blk { width: 22px; height: 8px; border-radius: 3px; background: repeating-linear-gradient(135deg, var(--line-strong) 0 3px, var(--surface-2) 3px 6px); }

/* --- sections -------------------------------------------------------------- */

.sec { padding-block: 0 104px; }
.sec--tight { padding-bottom: 88px; }

.pain { padding-top: 48px; padding-bottom: 88px; }
.pain__grid { border-top: 1px solid var(--line-strong); padding-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px 56px; }
.pain p { font-size: 22px; line-height: 1.4; text-wrap: pretty; }
.pain p:first-child { font-weight: 700; letter-spacing: -.01em; }
.pain p:last-child { color: var(--muted); }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.tile { background: var(--card); border-radius: var(--r-panel); padding: 28px 26px 30px; display: flex; flex-direction: column; gap: 14px; }
.tile h3 { font-size: 21px; font-weight: 800; letter-spacing: -.01em; }
.tile p { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.tile__art { height: 64px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; }
.bar { display: block; height: var(--bh); width: var(--bw, 70%); border-radius: 6px; background: var(--bc, var(--line)); }
.tile__art .spill-line { width: 80%; border-top: 2px dashed var(--warn); margin: 3px 0; }
.tile__art .spilled { height: 18px; width: 70%; border-radius: 6px; background: var(--card); border: 1px solid var(--warn-line); border-left: 3px solid var(--area-green); transform: rotate(-2deg) translateX(6px); }
.tile__art .sec-row { display: flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.tile__art .sec-row .bar { height: 8px; border-radius: 3px; }
.tile__art { gap: 7px; }

/* the week you planned / the week you had */
.stakes__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 0 48px; margin: 36px 0 44px; }
.stakes__list p { padding: 14px 0; border-top: 1px solid var(--line-strong); font-size: 17px; line-height: 1.45; color: var(--ink-2); text-wrap: pretty; }
.compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; align-items: stretch; }
.compare__side { display: flex; flex-direction: column; gap: 12px; }
.compare__label { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.compare__label.is-bad { color: var(--warn-ink); }
.planned { flex: 1; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 20px 22px; }
.planned h4 { margin: 0 0 10px; font-size: 15px; font-weight: 800; }
.planned li { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line-faint); font-size: 13.5px; }
.planned li::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--dash); flex: none; }
.planned ul { list-style: none; margin: 0; padding: 0; }
.planned .mono { display: block; margin-top: 12px; font-size: 11.5px; color: var(--muted); }
.had { flex: 1; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-panel); padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 14px; }
.had__days { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.had .col { height: 200px; }
.had .mk b { font-size: 12px; }
.had .day__foot { font-size: 11.5px; }
.had__sum { border-top: 1px solid var(--line-strong); padding-top: 12px; display: flex; align-items: center; gap: 10px; }
.had__sum span:first-child { font-size: 13px; color: var(--muted); flex: 1; }
.had__sum span:last-child { font-family: var(--mono); font-size: 14px; font-weight: 700; color: var(--warn-ink); }

/* founder */
.founder { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 48px 72px; align-items: center; }
.founder__text { display: flex; flex-direction: column; gap: 20px; }
.founder__text p { font-size: 18px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.shot { border-radius: var(--r-panel); border: 1px solid var(--line-strong); box-shadow: var(--shadow-float); overflow: hidden; background: var(--card); }
.shot img { width: 100%; height: auto; }
figcaption { font-family: var(--mono); font-size: 12.5px; color: var(--muted); margin-top: 10px; }

/* the plan */
.plan { background: var(--surface); border-block: 1px solid var(--line-strong); }
.plan .wrap { padding-block: 96px 104px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 48px; }
.step { display: flex; flex-direction: column; gap: 14px; border-top: 2px solid var(--ink); padding-top: 20px; }
.step__n { font-family: var(--mono); font-size: 40px; font-weight: 700; color: var(--accent); line-height: 1; }
.step h3 { font-size: 21px; font-weight: 800; letter-spacing: -.01em; }
.step p { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }

/* built for how your brain works */
.brain { padding-top: 104px; padding-bottom: 72px; }
.brain__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; margin-top: 40px; }
.bcard { background: var(--card); border-radius: var(--r-panel); padding: 16px 16px 22px; display: flex; flex-direction: column; gap: 14px; transition: transform .2s ease, box-shadow .2s ease; }
.bcard:hover { transform: translateY(-2px); box-shadow: var(--shadow-float); }
.bcard__art { background: var(--surface); border-radius: 10px; padding: 14px; min-height: 124px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.bcard__head { display: flex; align-items: flex-start; gap: 8px; padding: 0 4px; }
.bcard h3 { font-size: 17px; line-height: 1.3; font-weight: 800; letter-spacing: -.01em; flex: 1; }
.bcard p { padding: 0 4px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.bounced { border: 1.5px dashed var(--faint-2); border-left: 3px solid var(--area-blue); }
.first-step { display: flex; align-items: center; gap: 8px; background: var(--accent-soft); border-radius: 8px; padding: 7px 10px; font-size: 12px; font-weight: 700; color: var(--accent-ink); }
.first-step span:first-child { flex: 1; min-width: 0; }
.first-step .mono { font-size: 11px; white-space: nowrap; font-weight: 400; }
.done-line { font-family: var(--mono); font-size: 11px; color: var(--ok); }
.crumb { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; display: flex; flex-direction: column; gap: 3px; font-size: 12.5px; }
.crumb small { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; color: var(--muted); }
.gaps { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; font-size: 12.5px; font-weight: 800; }
.gaps b { margin-right: 3px; }
.gchip { background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.gchip.is-on { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.peek { display: flex; flex-direction: column; gap: 2px; }
.peek div { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; }
.peek div b { flex: 1; }
.peek span { font-size: 11px; color: var(--muted); padding-left: 14px; }
.peek .dot { width: 7px; height: 7px; }
.statusline { font-family: var(--mono); font-size: 10.5px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 6px; }
.press { display: flex; align-items: center; gap: 10px; }
.press b { background: var(--ink); color: var(--on-ink); border-radius: var(--r-btn); padding: 9px 14px; font-size: 13px; }
.press span { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.moved { display: flex; gap: 5px; flex-wrap: wrap; }
.moved span { background: var(--card); border: 1px solid var(--line-soft); border-radius: 7px; padding: 4px 8px; font-size: 11px; font-weight: 700; color: var(--muted); }
.weeks { display: flex; gap: 5px; }
.weeks span { flex: 1; height: 22px; border-radius: 5px; background: var(--accent); }
.weeks span.is-now { background: var(--today-bg); border: 1.5px dashed var(--accent); }
.streak { align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; background: var(--flame-bg); color: var(--flame-ink); border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.streak svg { color: var(--flame); }
.wdays { display: flex; gap: 4px; border-top: 1px solid var(--line); padding-top: 8px; }
.wdays span { flex: 1; height: 20px; border-radius: 5px; display: grid; place-items: center; font-size: 10px; font-weight: 800; color: var(--muted); }
.wdays .is-on { background: var(--accent); color: var(--on-accent); }
.wdays .is-skip { background: var(--card); border: 1px solid var(--line-strong); }
.art-note { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.notif { background: var(--card); border-radius: 12px; padding: 10px 12px; box-shadow: 0 4px 14px rgba(0, 0, 0, .08); display: flex; gap: 10px; align-items: flex-start; }
.notif div { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.notif p { display: flex; gap: 6px; font-size: 12px; font-weight: 800; }
.notif p b { flex: 1; }
.notif p span { font-family: var(--mono); font-size: 10.5px; color: var(--muted); font-weight: 400; }
.notif div > span { font-size: 12px; line-height: 1.35; color: var(--ink-2); }
.meter { display: flex; flex-direction: column; gap: 5px; }
.meter div { display: flex; align-items: center; gap: 8px; }
.meter span { font-family: var(--mono); font-size: 10.5px; color: var(--muted); width: 52px; }
.meter i { height: 10px; border-radius: 3px; width: var(--w); background: var(--c); }
.meter-sum { font-family: var(--mono); font-size: 11.5px; font-weight: 700; }

/* mid-page CTA */
.band-cta {
  background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: var(--r-sheet);
  padding: 32px clamp(24px, 4vw, 44px); display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px;
}
.band-cta h2 { flex: 1 1 380px; font-size: clamp(26px, 3.2vw, 34px); line-height: 1.15; font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
.band-cta .btn { flex: 1 1 200px; max-width: 320px; }

/* beyond the week: alternating rows */
.rows { display: flex; flex-direction: column; gap: 96px; margin-top: 56px; }
.row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px 64px; align-items: center; }
.row--flip { flex-direction: row-reverse; }
.row__text { flex: 1 1 300px; min-width: 0; max-width: 440px; display: flex; flex-direction: column; gap: 16px; }
.row__text .eyebrow { margin: 0; }
.row__art { flex: 1.6 1 420px; min-width: 0; }
.row__art--wide { flex-basis: 100%; }
.habit-art { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.habit-art .shot:first-child { flex: 1 1 480px; min-width: 0; }
.habit-art .shot--radar { flex: 0 0 auto; width: 230px; max-width: 100%; }
.shot__rule { height: 1px; background: var(--line-faint); }
/* the project sheet drawn, for screens too narrow to read the screenshot */
.project-mock { display: none; background: var(--card); border: 1px solid var(--line-strong); border-top: 4px solid var(--area-gold); border-radius: var(--r-panel); box-shadow: var(--shadow-float); padding: 18px; flex-direction: column; gap: 8px; }
.project-mock > b { font-size: 18px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 6px; }
.pm-label { font-size: 12px; color: var(--muted); margin-top: 4px; }
.pm-field { background: var(--field); border: 1px solid var(--line); border-radius: var(--r-field); padding: 9px 11px; font-size: 14px; line-height: 1.4; }
.pm-chips { display: flex; gap: 6px; flex-wrap: wrap; }

/* not a calendar */
.inverse { background: var(--band); color: var(--band-ink); }
.inverse .wrap { padding-block: 104px 112px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 56px 72px; align-items: center; }
.inverse h2 .mono { font-weight: 700; letter-spacing: -.04em; }
.inverse p { margin-top: 22px; font-size: 18px; line-height: 1.6; color: var(--band-text); text-wrap: pretty; }
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.vs__label { font-family: var(--mono); font-size: 12px; color: var(--faint-2); margin-bottom: 10px; }
.vs__label.is-good { color: var(--band-accent); }
.slots { background: var(--band-2); border-radius: 12px; padding: 12px; }
.slots div { display: grid; grid-template-columns: 38px 1fr; height: 30px; border-top: 1px solid var(--band-3); }
.slots span:first-child { font-family: var(--mono); font-size: 10.5px; color: var(--band-faint); padding-top: 3px; }
.slots span:last-child { background: var(--band-3); border-radius: 5px; margin: 2px 0; font-size: 10.5px; color: var(--band-ink); padding: 4px 6px; }
.slots .is-booked span:last-child { background: var(--band-slot); }
.actual { position: relative; height: 204px; background: var(--card); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 4px; color: var(--ink); }
.actual .mk { border-radius: 8px; padding: 6px 8px; }
.actual .line { left: 8px; right: 8px; }
.actual .day__foot { position: absolute; left: 12px; bottom: 6px; font-size: 10.5px; }

/* phones */
.phones-sec { display: flex; flex-wrap: wrap; gap: 48px 56px; align-items: center; }
.phones-sec__text { flex: 1 1 320px; display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.phones-sec__text .eyebrow { margin: 0 0 -8px; }
.bullets { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.bullets li { display: flex; gap: 12px; font-size: 16.5px; line-height: 1.45; color: var(--ink-2); }
.bullets li::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: var(--accent); margin-top: 9px; flex: none; }
.phones { flex: 0 1 auto; margin: 0 auto; display: flex; gap: 20px; justify-content: center; align-items: flex-start; }
.phones figure { display: flex; flex-direction: column; align-items: center; }
.phones figcaption { font-family: var(--font); font-size: 14px; font-weight: 700; color: var(--ink); margin-top: 14px; text-align: center; }
.phones .phone + .phone, .phones figure + .phone { margin-top: 56px; }
.phone { width: min(272px, 42vw); flex: none; border-radius: 48px; background: var(--device); padding: 9px; box-shadow: var(--shadow-phone), 0 0 0 1px var(--line-strong); }
.phone__screen { position: relative; border-radius: 39px; background: var(--shot-bg); overflow: hidden; }
.phone__bar { height: 40px; display: flex; align-items: center; padding: 0 26px; font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--shot-ink); }
.phone__island { position: absolute; left: 50%; top: 10px; width: 80px; height: 22px; margin-left: -40px; border-radius: 999px; background: var(--device); }
.phone img { width: 100%; height: auto; }

/* questions */
.faq { display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: flex-start; }
.faq > h2 { flex: 1 1 240px; }
.faq__list { flex: 3 1 520px; min-width: 0; border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { list-style: none; display: flex; align-items: center; gap: 16px; padding: 20px 4px; cursor: pointer; font-size: 17px; font-weight: 700; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { flex: 1; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 20px; font-weight: 700; color: var(--accent); width: 20px; text-align: center; transition: transform .2s ease; }
.faq details[open] summary::after { content: "−"; }
.faq summary:hover span { color: var(--accent-ink); }
.faq details p { padding: 0 40px 22px 4px; max-width: 760px; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }

/* for / not for */
.fit { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.fit > div { background: var(--card); border-radius: var(--r-panel); padding: 26px 26px 28px; }
.fit > div.is-not { background: var(--surface); border: 1px solid var(--line); }
.fit h3 { font-size: 15px; font-weight: 800; margin-bottom: 16px; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ticks li { display: flex; gap: 9px; font-size: 14.5px; line-height: 1.4; color: var(--ink-2); }
.ticks li::before { content: "✓"; color: var(--ok); font-weight: 800; flex: none; }
.ticks.is-not li { color: var(--muted); }
.ticks.is-not li::before { content: "×"; color: var(--muted); }

/* have fun with it */
.fun { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px 64px; align-items: center; }
.collage { flex: 1.6 1 420px; min-width: 0; position: relative; aspect-ratio: 100 / 66; }
.collage img { position: absolute; height: auto; border-radius: 8px; transition: transform .35s ease; }
.collage .c98 { left: 0; top: 2%; width: 72%; transform: rotate(-1.5deg); box-shadow: 0 18px 40px rgba(31, 36, 48, .18); }
.collage .cxp { right: 5%; top: 22%; width: 72%; transform: rotate(1.5deg); box-shadow: 0 22px 48px rgba(31, 36, 48, .22); }
.collage .cph { right: 0; bottom: 0; width: 20%; border-radius: 12px; transform: rotate(2.5deg); box-shadow: 0 22px 48px rgba(31, 36, 48, .28); }
.collage:hover .c98 { transform: rotate(-2.5deg) translate(-6px, -4px); }
.collage:hover .cxp { transform: rotate(2deg) translate(4px, 2px); }
.collage:hover .cph { transform: rotate(4deg) translate(4px, -6px); }

/* pricing */
.free { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 28px 26px; display: flex; flex-wrap: wrap; gap: 24px 48px; margin-top: 40px; }
.free__head { flex: 1 1 220px; display: flex; flex-direction: column; gap: 18px; max-width: 320px; }
.free .ticks { flex: 3 1 480px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 10px 28px; align-content: start; }
.plan-name { font-size: 15px; font-weight: 800; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price b { font-family: var(--mono); font-size: 40px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.price span { font-size: 13px; color: var(--muted); }
.plus-head { display: flex; align-items: baseline; gap: 12px; margin: 40px 0 16px; flex-wrap: wrap; }
.plus-head b { font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.plus-head span { font-size: 14.5px; color: var(--muted); }
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; align-items: stretch; }
.tier { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 28px 24px; display: flex; flex-direction: column; gap: 18px; transition: transform .2s ease, box-shadow .2s ease; }
.tier:hover { transform: translateY(-3px); box-shadow: var(--shadow-float); }
.tier hr { border: 0; height: 1px; background: var(--line-faint); margin: 0; }
.tier .btn { margin-top: auto; }
.tier__note { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.tier__note .mono { font-weight: 700; }
.badge { font-size: 11px; font-weight: 800; letter-spacing: .04em; border-radius: 999px; padding: 3px 9px; color: var(--accent-ink); background: var(--accent-soft); }
.badge--line { font-family: var(--mono); font-size: 12px; letter-spacing: 0; border: 1px solid var(--accent-line); background: transparent; align-self: flex-start; padding: 4px 10px; }
.tier--best { background: var(--accent); border-color: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-accent); }
.tier--best .price span, .tier--best .tier__note, .tier--best .ticks li, .tier--best .ticks li::before { color: var(--on-accent); }
.tier--best hr { background: color-mix(in srgb, var(--on-accent) 28%, transparent); }
.tier--best .badge { color: var(--accent); background: var(--on-accent); }
.tier--best .badge--ghost { color: var(--on-accent); background: transparent; border: 1px solid color-mix(in srgb, var(--on-accent) 45%, transparent); padding: 2px 8px; }
.tier--best .btn { background: var(--on-accent); color: var(--accent-ink); font-weight: 800; }
.tier--best .btn:hover { color: var(--accent-ink); transform: translateY(-1px); }
.tier__per { font-size: 14px; font-weight: 700; margin-top: -8px; }
.price-notes { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.adds { margin-top: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 30px 24px 34px; display: flex; flex-direction: column; gap: 26px; }
.adds > h3 { font-size: 15px; font-weight: 800; text-align: center; }
.adds__grid { max-width: 960px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 20px; }
.add { flex: 0 1 calc(25% - 15px); min-width: 150px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.add__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.add b { font-size: 14px; line-height: 1.35; text-wrap: balance; }
.add span:last-child { font-size: 13px; line-height: 1.45; color: var(--muted); text-wrap: pretty; margin-top: -4px; }
.reassure { margin: 22px auto 0; max-width: 640px; text-align: center; font-size: 14.5px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }

/* the end */
.finale { background: var(--card); border-radius: var(--r-sheet); padding: clamp(28px, 5vw, 64px) clamp(20px, 5vw, 56px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 40px 56px; align-items: center; }
.finale__text { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.finale h2 { font-size: clamp(34px, 5vw, 52px); line-height: 1.05; font-weight: 800; letter-spacing: -.025em; text-wrap: balance; }
.finale p { font-size: 18px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.finale .btn { margin-top: 8px; width: 100%; max-width: 320px; }
.friday { background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-panel); padding: 18px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.friday__head { display: flex; align-items: baseline; gap: 8px; }
.friday__head b { font-size: 15px; }
.friday__head span { font-size: 12.5px; color: var(--muted); }
.confetti { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 18px 0; }
.confetti i { position: absolute; width: 7px; height: 7px; border-radius: 2px; background: var(--c); transform: rotate(var(--r)); left: var(--x); top: var(--t, auto); bottom: var(--b, auto); }
.confetti i.o { border-radius: 999px; }
.ticked { background: var(--card); border: 1px solid var(--line-soft); border-left: 3px solid var(--a); border-radius: 10px; padding: 10px 12px; display: flex; align-items: center; gap: 10px; }
.ticked .tick { width: 20px; height: 20px; border-radius: 999px; background: var(--ok); color: var(--card); display: grid; place-items: center; font-size: 12px; font-weight: 800; flex: none; }
.ticked b { font-size: 13.5px; flex: 1; min-width: 0; }
.ticked .mono { font-size: 11.5px; color: var(--muted); }
.rolled-head { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.rolled { display: flex; flex-direction: column; gap: 5px; }
.rolled div { background: var(--card); border: 1px dashed var(--dash); border-left: 3px solid var(--a); border-radius: 8px; padding: 6px 10px; display: flex; align-items: center; gap: 8px; }
.rolled b { font-size: 12px; flex: 1; min-width: 0; color: var(--ink-2); }
.rolled .mono { font-size: 11px; color: var(--muted); white-space: nowrap; }
.complete { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--ok); border-top: 1px solid var(--line-strong); padding-top: 12px; }

/* footer */
.site-foot { border-top: 1px solid var(--line-strong); }
.site-foot .wrap { padding-block: 28px 36px; display: flex; flex-direction: column; gap: 18px; }
.site-foot__row { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 12px 20px; flex: 1; }
.site-foot nav a { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.site-foot__mail { font-size: 13.5px; font-weight: 600; }
.site-foot .brand { font-size: 14px; }

/* --- arrival: sections rise in once, when they first come into view -------- */

.js .rise { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .rise.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rise { opacity: 1; transform: none; transition: none; }
  .bcard, .tier, .collage img, .btn, .look svg { transition: none; }
}

/* --- narrower screens ------------------------------------------------------ */

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
}
@media (max-width: 860px) {
  .site-nav { display: none; }
  /* the drawn week keeps the day that spills: Wed, Thu and Fri, no radar */
  .board__in { grid-template-columns: 1fr; }
  .board .radar { display: none; }
  .days { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .days .day.is-early, .days .day.is-late { display: none; }
}
@media (max-width: 640px) {
  :root { --gutter: 18px; }
  .site-head__in { gap: 8px; padding-block: 10px; }
  .hero h1 { font-size: clamp(40px, 12vw, 56px); }
  .hero__lede { font-size: 17.5px; }
  .hero__cta .btn { flex-basis: 100%; }
  .sec { padding-bottom: 80px; }
  .pain p { font-size: 19px; }
  .board { margin-top: 40px; }
  .days { padding: 14px 12px 16px; gap: 8px; }
  .days .mk { padding: 6px 7px; }
  .days .mk b { font-size: 11.5px; }
  .days .mk i { font-size: 10px; }
  .days .mk--row i { display: none; }
  .days .mk--spill i { white-space: nowrap; }
  .days .day__foot { font-size: 11px; }
  .plan .wrap { padding-block: 72px 80px; }
  .brain { padding-top: 80px; }
  .rows { gap: 72px; }
  .row__art { flex-basis: 100%; }
  .inverse .wrap { padding-block: 80px 88px; }
  .vs { gap: 12px; }
  .phones { gap: 12px; }
  .phone { border-radius: 36px; padding: 7px; }
  .phone__screen { border-radius: 30px; }
  .phone__bar { height: 30px; padding: 0 18px; font-size: 10px; }
  .phone__island { width: 56px; height: 16px; margin-left: -28px; top: 8px; }
  .phones .phone + .phone, .phones figure + .phone { margin-top: 40px; }
  .faq summary { font-size: 16px; padding: 18px 2px; }
  .faq details p { padding-right: 8px; }
  .band-cta .btn, .finale .btn { max-width: none; }
  .site-head .btn { padding: 9px 14px; font-size: 13.5px; }
  .habit-art .shot--sheet, .shot--project { display: none; }
  .habit-art .shot--radar { width: 100%; max-width: 340px; margin: 0 auto; }
  .project-mock { display: flex; }
  .add { flex-basis: calc(50% - 10px); min-width: 0; }
  .site-foot__row { flex-direction: column; align-items: flex-start; }
}
