/* visionboards.cc — marketing site
   An art-book catalogue for your year: paper, ink, one ultramarine (lifted from the hero illustration's night sky).
   Display: Aujournuit (falls back to Newsreader). Body/UI: Inter. Plates and captions: IBM Plex Mono. */

@font-face {
  font-family: "Aujournuit"; src: url("/fonts/Aujournuit-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: block;
}
@font-face {
  font-family: "Aujournuit Airy"; src: url("/fonts/Aujournuit-Airy.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: block;
}

:root {
  --paper: #f2efe8;
  --paper-2: #e7e2d6;
  --ink: #1a1915;
  --ink-2: #55514a;
  --muted: #6c675d;
  --line: #d8d2c5;
  --card: #ffffff;
  --ultra: #2a35b0;
  --night: #15162b;
  --night-2: #23264a;
  --dot: #d3cdbf;

  --display: "Aujournuit", "Newsreader", "Iowan Old Style", Georgia, serif;
  --display-airy: "Aujournuit Airy", "Aujournuit", "Newsreader", Georgia, serif;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --rail: 44px;
  --shadow: 0 0 0 1px rgba(26, 25, 21, .07), 0 1px 2px rgba(26, 25, 21, .05), 0 10px 28px rgba(26, 25, 21, .07);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, blockquote, figure, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
q { quotes: "“" "”"; }
kbd { font: 500 .85em/1 var(--mono); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; padding: 2px 6px; margin: 0 1px; background: var(--card); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 14px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--ultra); outline-offset: 3px; border-radius: 4px; }

p, dd, li, .lede { text-wrap: pretty; }

/* ---------- type ---------- */
.display {
  font-family: var(--display); font-weight: 400; letter-spacing: -.01em;
  color: inherit; text-wrap: balance;
}
h1.display { font-size: clamp(44px, 5.4vw, 86px); line-height: 1.02; }
h2.display { font-size: clamp(36px, 4.4vw, 66px); line-height: 1.04; }
.lede { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.62; color: var(--ink-2); max-width: 34em; }
.fine { font-size: 14px; color: var(--ink-2); }

/* catalogue captions */
.cap { font: 400 12.5px/1.5 var(--mono); color: var(--ink-2); margin-top: 12px; letter-spacing: 0; }
.cap .pl { color: var(--ultra); margin-right: .9em; }
.cap q { font: italic 300 16px/1.3 var(--serif); color: var(--ink); margin-left: .5em; }

/* vertical running text */
.vert { writing-mode: vertical-rl; transform: rotate(180deg); font: 400 11.5px/1 var(--mono); color: var(--muted); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; padding: 9px 18px; font: 600 14px/1.2 var(--sans);
  text-decoration: none; background: var(--card); color: var(--ink); box-shadow: var(--shadow);
  transition: transform .12s ease, background .15s ease;
}
.btn.primary { background: var(--ink); color: #fff; box-shadow: none; }
.btn.primary:hover { background: var(--ultra); }
.btn:active { transform: scale(.97); }
.btn.big { padding: 16px 30px; font-size: 15.5px; }
.btn.sm { padding: 8px 14px; font-size: 13px; border-radius: 9px; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter);
  background: rgba(242, 239, 232, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.top.scrolled { border-bottom-color: var(--line); }
.wordmark { font: 600 15px/1 var(--sans); letter-spacing: -.01em; text-decoration: none; color: var(--ink); }
.wordmark span { color: var(--ink-2); font-weight: 500; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { font-size: 14px; color: var(--ink-2); text-decoration: none; transition: color .15s; }
.nav a:not(.btn):hover { color: var(--ink); }
.top .btn { padding: 8px 16px; font-size: 13.5px; }

/* ---------- layout ---------- */
main > section, .ticker { margin: 0 auto; }
main > section { max-width: var(--max); padding-left: var(--gutter); padding-right: var(--gutter); }

/* ---------- hero (approved structure) ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px);
  align-items: center; padding-top: clamp(40px, 8vh, 96px); padding-bottom: clamp(64px, 11vh, 128px);
}
.hero h1 { max-width: 12.5em; }
.hero .lede { margin-top: clamp(24px, 3vw, 36px); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 36px; }

.hero-stage {
  position: relative; border: 1px solid var(--line); border-radius: 6px;
  aspect-ratio: 4 / 5; display: grid; place-items: center; padding: 9% 9% 24%;
  background-color: var(--paper);
  background-image: radial-gradient(circle, var(--dot) 1px, transparent 1.3px); background-size: 22px 22px;
}
.hero-art {
  width: 66%; height: auto; border-radius: 4px; transform: rotate(-3deg); background: var(--paper-2);
  box-shadow: 0 2px 6px rgba(26, 25, 21, .1), 0 26px 56px rgba(26, 25, 21, .22);
}
.hero-vert { position: absolute; right: -26px; bottom: 0; }

.mock-prompt {
  position: absolute; left: 7%; right: 7%; bottom: 7%; z-index: 6;
  background: var(--card); border-radius: 14px; padding: 10px;
  box-shadow: 0 0 0 1px rgba(26, 25, 21, .07), 0 2px 4px rgba(26, 25, 21, .05), 0 20px 44px rgba(26, 25, 21, .14);
  transition: box-shadow .2s;
}
.mock-prompt:focus-within { box-shadow: 0 0 0 2px var(--ultra), 0 20px 44px rgba(26, 25, 21, .16); }
.mock-row { display: flex; align-items: center; gap: 8px; }
.mock-q {
  flex: 1; min-width: 0; font: 400 16px/1.3 var(--sans); color: var(--ink);
  padding: 8px; border: 0; background: transparent; outline: none;
}
.mock-q::placeholder { color: var(--ink); opacity: 1; }
.mock-q:focus::placeholder { color: var(--muted); }
.mock-go {
  flex: none; border: 0; cursor: pointer; background: var(--ink); color: #fff; border-radius: 9px;
  padding: 10px 14px; font: 600 13.5px/1 var(--sans); transition: background .15s;
}
.mock-go:hover { background: var(--ultra); }
.mock-go:focus-visible { outline-offset: 2px; }

/* ---------- ticker ---------- */
.ticker {
  overflow: hidden; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line);
  padding: clamp(10px, 1.6vw, 22px) 0;
}
.ticker-track { display: flex; width: max-content; animation: tick 70s linear infinite; }
.ticker span {
  font: italic 300 clamp(40px, 6.4vw, 96px)/1 var(--serif); letter-spacing: -.02em; color: var(--ink);
  padding-right: .55em; display: inline-flex; align-items: center; gap: .55em; white-space: nowrap;
}
.ticker span::after { content: "✦"; font: normal 400 .32em/1 var(--sans); color: var(--ultra); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- chapters ---------- */
.chapter {
  display: grid; grid-template-columns: var(--rail) repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 28px); row-gap: clamp(40px, 6vw, 80px);
  align-items: start; padding-top: clamp(80px, 12vh, 150px); padding-bottom: clamp(56px, 8vh, 100px);
  scroll-margin-top: 70px;
}
.chap-rail {
  grid-column: 1; grid-row: 1 / span 4; align-self: stretch; position: relative;
  border-left: 1px solid var(--line);
}
.chap-rail > span:first-child { display: none; }
.chap-rail > span {
  position: sticky; top: 96px; display: block; margin-left: 12px;
  writing-mode: vertical-rl; font: 400 11.5px/1 var(--mono); color: var(--muted); white-space: nowrap;
}
.chap-rail::before { /* chapter number at the top of the rule */
  content: ""; position: absolute; left: -3px; top: 0; width: 5px; height: 5px; background: var(--ultra); border-radius: 50%;
}

.chap-text { grid-column: 2 / span 4; grid-row: 1; max-width: 30em; position: sticky; top: 110px; }
.chap-text h2 { margin: 26px 0 22px; }
.chap-text p:not(.step-label) { color: var(--ink-2); }
.chap-fig { grid-column: 7 / -1; grid-row: 1; }

.chapter.flip .chap-text { grid-column: 10 / -1; }
.chapter.flip .chap-fig { grid-column: 2 / span 7; }

.chapter.wide .chap-text { position: static; grid-column: 2 / span 6; max-width: 34em; }
.chapter.wide > :not(.chap-rail):not(.chap-text) { grid-column: 2 / -1; grid-row: 2; }

/* numbered step: oversized numeral set against small mono */
.step-label { display: flex; align-items: flex-end; gap: 16px; }
.step-label .n, .step-label .key {
  font: 400 clamp(88px, 10vw, 156px)/.72 var(--display); letter-spacing: -.02em; color: var(--ink);
}
.step-label .key { font-size: clamp(64px, 7vw, 104px); color: var(--ultra); }
.step-label .step-name { font: 400 13px/1.2 var(--mono); color: var(--ink); padding-bottom: 2px; }
.step-label .tag {
  font: 400 11.5px/1 var(--mono); color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px;
  padding: 4px 8px; margin-bottom: 0;
}
.step-label .tag.pro { color: var(--ultra); border-color: currentColor; }

/* ---------- image plates ---------- */
.plate-img { position: relative; overflow: hidden; background: var(--paper-2); aspect-ratio: 4 / 5; }
.plate-img img { width: 100%; height: 100%; object-fit: cover; transform: translateY(var(--py, 0px)) scale(1.1); will-change: transform; }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .plate-img, .make-board, .ver img, .fy-window {
      animation: unveil linear both; animation-timeline: view(); animation-range: entry 5% cover 35%;
    }
  }
}
@keyframes unveil { from { clip-path: inset(22% 0 0 0); } to { clip-path: inset(0 0 0 0); } }

/* ---------- app UI specimens (shared) ---------- */
.mp-eyebrow, .mp-label { font: 500 12px/1.3 var(--sans); color: var(--ink-2); }
.mp-field { border: 1px solid var(--line); border-radius: 9px; padding: 9px 12px; font-size: 14px; background: var(--card); }
.mp-field.soft { background: #faf8f4; color: var(--ink-2); }
.mp-styles { display: flex; flex-wrap: wrap; gap: 6px; }
.mp-style { border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; font: 500 12.5px/1.3 var(--sans); color: var(--ink-2); background: var(--card); }
.mp-style.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.mp-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.mp-time { font: 400 12px/1.2 var(--mono); color: var(--muted); }

/* 1. start */
.onb-mock {
  background: var(--card); border-radius: 16px; box-shadow: var(--shadow);
  padding: clamp(20px, 3vw, 36px); display: grid; gap: 14px; max-width: 560px; margin-left: auto;
}
.onb-areas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 8px; }
.onb-area { text-align: center; border: 1px solid var(--line); border-radius: 10px; padding: 12px 4px; font: 500 13px/1.2 var(--sans); color: var(--ink-2); }
.onb-area.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.onb-input { border: 1px solid var(--line); border-radius: 10px; padding: 14px; font: italic 300 19px/1.4 var(--serif); }
.onb-row { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.onb-skip { font-size: 14px; color: var(--ink-2); }
.start-fig .cap { max-width: 560px; margin-left: auto; }

/* 2. visualize */
.plan-stage { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); align-items: start; }
.agent {
  grid-column: 1 / span 4; position: sticky; top: 110px;
  background: var(--card); border-radius: 14px; box-shadow: var(--shadow); padding: 18px; font-size: 14px;
}
.ag-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.ag-title { font-weight: 600; }
.ag-x { font-size: 12.5px; color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.ag-steps { display: grid; gap: 10px; padding: 14px 0; counter-reset: s; }
.ag-steps li { position: relative; padding-left: 26px; color: var(--ink); transition: color .3s; }
.ag-steps li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 17px; height: 17px; border-radius: 50%;
  display: grid; place-items: center; font-size: 10px; color: #fff; background: var(--ink);
}
.plan-stage.anim .ag-steps li { color: var(--muted); }
.plan-stage.anim .ag-steps li::before { content: ""; background: transparent; border: 1.5px solid var(--line); }
.plan-stage.anim .ag-steps li.run { color: var(--ink); }
.plan-stage.anim .ag-steps li.run::before { border-color: var(--ultra); border-right-color: transparent; animation: spin .8s linear infinite; }
.plan-stage.anim .ag-steps li.done { color: var(--ink); }
.plan-stage.anim .ag-steps li.done::before { content: "✓"; background: var(--ink); border-color: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }
.ag-foot { border-top: 1px solid var(--line); padding-top: 12px; font-size: 13px; color: var(--ink-2); }

.plates {
  grid-column: 6 / -1; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr));
  column-gap: clamp(14px, 2vw, 28px); align-items: start;
}
.plate .cap q { display: block; margin: 6px 0 0; font-size: 19px; }
.p1 { grid-column: 1 / span 5; grid-row: 1; }
.p2 { grid-column: 6 / span 3; grid-row: 1; margin-top: 46%; }
.p3 { grid-column: 3 / span 4; grid-row: 2; margin-top: -8%; }
.palette { grid-column: 7 / span 2; grid-row: 2; align-self: end; display: grid; gap: 4px; margin-bottom: 64px; }
.palette i { display: block; height: 26px; background: var(--c); }
.plate, .palette { transition: opacity .7s var(--ease), transform .9s var(--ease); }
.plan-stage.anim .plate:not(.in), .plan-stage.anim .palette:not(.in) { opacity: 0; transform: translateY(24px); }

/* 3. love */
.love-stage { display: grid; grid-template-columns: minmax(0, 1fr) 132px; gap: 14px; align-items: stretch; }
.love-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.lv { position: relative; aspect-ratio: 4 / 5; background: var(--paper-2); overflow: hidden; }
.lv img, .rail-strip img, .cv-img img, .pf-pics img { width: 100%; height: 100%; object-fit: cover; background: var(--paper-2); }
.lv:nth-child(2) { transform: translateY(18%); }
.lv:nth-child(5) { transform: translateY(18%); }
.heart {
  position: absolute; right: 8px; top: 8px; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255, 255, 255, .92); display: grid; place-items: center;
}
.heart::before { content: "♡"; font-size: 15px; color: var(--ink); line-height: 1; }
.heart.on::before { content: "♥"; color: #c8323a; }
.rail { background: var(--card); border-radius: 12px; box-shadow: var(--shadow); padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.rail-label { font: 500 11.5px/1.3 var(--sans); color: var(--ink-2); }
.rail-strip { display: grid; gap: 6px; flex: 1; align-content: start; }
.rail-strip img { aspect-ratio: 4 / 3; border-radius: 3px; }
.rail-go { background: var(--ink); color: #fff; border-radius: 8px; padding: 8px 6px; font: 600 11.5px/1.2 var(--sans); text-align: center; }
.love-fig .cap { margin-top: calc(12px + 4%); }

/* 4. canvas */
.canvas-stage {
  position: relative; aspect-ratio: 16 / 8.2; border: 1px solid var(--line); overflow: hidden;
  background-color: #f6f4ef;
  background-image: radial-gradient(circle, var(--dot) 1px, transparent 1.3px); background-size: 22px 22px;
  container-type: inline-size;
}
.canvas-stage > * { position: absolute; }
.cv-img { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); box-shadow: 0 1px 2px rgba(26,25,21,.08), 0 10px 24px rgba(26,25,21,.1); }
.cv-note { left: 4%; top: 8%; width: 16%; background: #fbf1c8; padding: 1.2cqw; font: italic 300 1.55cqw/1.3 var(--serif); transform: rotate(-2deg); box-shadow: 0 6px 16px rgba(26,25,21,.08); }
.cv-a { left: 23%; top: 7%; width: 15%; }
.cv-sel { left: 41%; top: 14%; width: 20%; }
.cv-sel .cv-img { outline: 2px solid #2f5bff; outline-offset: 3px; position: relative; }
.seltools {
  position: absolute; left: 50%; bottom: calc(100% + 12px); transform: translateX(-50%);
  display: flex; align-items: center; gap: 4px; background: var(--card); border-radius: 10px; box-shadow: var(--shadow);
  padding: 4px; white-space: nowrap;
}
.st { font: 500 max(10px, 1.05cqw)/1 var(--sans); padding: 6px 8px; border-radius: 6px; }
.st:first-child { background: var(--ink); color: #fff; }
.tsep { width: 1px; height: 14px; background: var(--line); }
.tick { position: absolute; left: 6px; top: 6px; width: 20px; height: 20px; border-radius: 50%; background: #2f5bff; color: #fff; font-size: 11px; display: grid; place-items: center; }
.cv-b { left: 66%; top: 6%; width: 13%; transform: rotate(2deg); }
.cv-upload { left: 82%; top: 30%; width: 14%; }
.cv-toast {
  position: absolute; right: 0; top: calc(100% + 10px); width: 22cqw; background: var(--ink); color: #fff;
  font: 400 max(10px, 1.1cqw)/1.4 var(--sans); padding: 8px 10px; border-radius: 8px;
}
.cv-text { left: 6%; top: 52%; font: 400 4.2cqw/1 var(--display); }
.cv-shape { left: 26%; top: 62%; width: 9%; aspect-ratio: 1; border-radius: 50%; background: #a8b49a; }
.cv-sw { left: 6%; top: 70%; display: flex; gap: 4px; }
.cv-sw i { width: 2.6cqw; height: 2.6cqw; background: var(--c); border-radius: 3px; }
.cv-prompt {
  left: 50%; bottom: 5%; transform: translateX(-50%); width: 46%; display: flex; justify-content: space-between; align-items: center;
  background: var(--card); border-radius: 12px; box-shadow: var(--shadow); padding: 6px 6px 6px 14px;
  font: 400 max(11px, 1.2cqw)/1 var(--sans); color: var(--ink-2);
}
.cv-prompt b { background: var(--ink); color: #fff; border-radius: 8px; padding: 8px 12px; font-weight: 600; }

/* 5. make — the finished board as a bold plate, the panel docked over its corner */
.make .chap-text { grid-column: 2 / span 4; }
.make-fig { grid-column: 6 / -1; grid-row: 1; position: relative; padding-bottom: 150px; margin-top: 40px; }
.make-board { background: var(--paper-2); aspect-ratio: 1088 / 608; overflow: hidden; }
.make-board img { width: 100%; height: 100%; object-fit: cover; }
.real-board { width: 100%; height: auto; background: var(--paper-2); aspect-ratio: 1088 / 608; }
.real-board.warm { filter: sepia(.38) saturate(1.4) brightness(1.06) hue-rotate(-12deg) contrast(1.04); }
.mp-card {
  position: absolute; right: -20px; bottom: 0; width: min(320px, 42%); display: grid; gap: 9px;
  background: var(--card); border-radius: 16px; box-shadow: var(--shadow), 0 30px 60px rgba(26,25,21,.12); padding: 18px; font-size: 14px;
}
.mp-me { display: flex; gap: 10px; align-items: center; border: 1px dashed var(--line); border-radius: 10px; padding: 9px; }
.mp-me-btn { width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--paper); display: grid; place-items: center; font-size: 18px; }
.mp-me-txt { display: grid; font-size: 12.5px; color: var(--ink-2); line-height: 1.35; }
.mp-me-txt b { color: var(--ink); font-weight: 600; }
.make-fig .cap { max-width: 50%; }

/* 6. refine + imagine */
.refine .chap-text { grid-column: 2 / span 5; position: static; }
.versions { grid-column: 2 / -1; grid-row: 2; display: grid; grid-template-columns: 7fr 5fr; gap: clamp(16px, 2.4vw, 32px); align-items: end; }
.ver img { width: 100%; }
.imagine { grid-column: 4 / -1; grid-row: 3; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); gap: clamp(20px, 3vw, 48px); align-items: center; }
.im-card { background: var(--card); border-radius: 16px; box-shadow: var(--shadow); padding: 20px; display: grid; gap: 10px; font-size: 14px; }
.im-h { font: 400 26px/1.15 var(--display); }
.im-result { transform: rotate(1.5deg); }

/* 7. keep */
.phone-wrap { display: flex; flex-direction: column; align-items: center; }
.phone { width: min(300px, 70vw); aspect-ratio: 9 / 19.3; border-radius: 46px; background: var(--ink); padding: 11px; box-shadow: 0 30px 70px rgba(26,25,21,.25); }
.screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: var(--paper-2); }
.lock-img { width: 100%; height: 100%; object-fit: cover; }
.lock-time { position: absolute; left: 0; right: 0; top: 9%; text-align: center; color: var(--ink); }
.lock-time span { display: block; font: 500 13px/1.2 var(--sans); }
.lock-time b { display: block; font: 600 64px/1 var(--sans); letter-spacing: -.03em; }
.phone-wrap .cap { text-align: center; margin-top: 22px; }

/* ---------- present (night band) ---------- */
.present-band { max-width: none !important; background: var(--night); color: #f2efe8; padding: clamp(80px, 12vh, 150px) var(--gutter) !important; margin-top: clamp(40px, 6vw, 80px); }
.pb-inner { max-width: calc(var(--max) - 2 * var(--gutter)); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.present-band .step-label .n, .present-band .step-label .key { color: #c8cdfa; }
.present-band .step-name { color: #f2efe8; }
.present-band .tag { color: #d8d4ca; border-color: rgba(242,239,232,.3); }
.pb-text h2 { margin: 26px 0 22px; }
.pb-text p:not(.step-label) { color: #cfcbc2; }
.pb-screen { position: relative; aspect-ratio: 16 / 9; background: #0c0d1c; overflow: hidden; border-radius: 4px; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 80px rgba(0,0,0,.4); }
.pf { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; display: flex; align-items: center; justify-content: center; }
.pf.on { opacity: 1; }
.pf-intro { flex-direction: column; gap: 10px; text-align: center; }
.pf-mark { color: #9aa2f0; }
.pf-intro b { font: 400 clamp(28px, 4vw, 56px)/1.05 var(--display); }
.pf-intro small { font: 400 12px var(--mono); color: #b9b5ad; }
.pf-area { justify-content: flex-start; gap: 5%; padding: 0 6%; }
.pf-pics { position: relative; width: 46%; height: 78%; }
.pf-pics img { position: absolute; width: 52%; height: auto; aspect-ratio: 4 / 5; box-shadow: 0 16px 30px rgba(0,0,0,.4); }
.pk0 { left: 0; top: 4%; transform: rotate(-3deg); }
.pk1 { left: 34%; top: 18%; transform: rotate(2deg); z-index: 1; }
.pk2 { left: 16%; top: 40%; transform: rotate(-1deg); width: 40% !important; z-index: 2; }
.pf.on .pf-pics img { animation: drift 7s ease-in-out infinite alternate; }
.pf.on .pk1 { animation-delay: -2s; }
@keyframes drift { to { translate: 0 -6px; } }
.pf-copy { flex: 1; display: grid; gap: 10px; }
.pf-copy small { font: 400 12px var(--mono); color: #9aa2f0; }
.pf-copy q { font: 400 clamp(20px, 2.6vw, 38px)/1.12 var(--display); }
.pf-finale { padding: 6%; }
.pf-finale img { max-height: 100%; width: auto; }
.pf-bar { position: absolute; left: 3%; right: 3%; bottom: 4%; display: flex; justify-content: space-between; align-items: center; }
.pf-dots { display: flex; gap: 6px; }
.pf-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.3); }
.pf-dots i.on { background: #fff; }
.pf-esc { font: 400 11px var(--mono); color: #b9b5ad; border: 1px solid rgba(255,255,255,.25); border-radius: 4px; padding: 2px 6px; }
.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.fr { border-top: 1px solid rgba(242,239,232,.25); padding-top: 8px; font: 400 12px var(--mono); color: #a9a59d; transition: color .3s, border-color .3s; }
.fr b { font-weight: 400; }
.fr.on { color: #fff; border-color: #fff; }

/* ---------- daily ---------- */
.daily { position: relative; max-width: none !important; padding: 0 !important; min-height: clamp(520px, 92vh, 900px); display: grid; align-items: end; overflow: hidden; background: var(--night); }
.daily-bg { position: absolute; inset: 0; }
.daily-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 80%; transform: translateY(var(--py, 0px)) scale(1.3); transform-origin: 50% 90%; opacity: .55; }
.daily-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,22,43,.15) 0%, rgba(21,22,43,.55) 50%, rgba(21,22,43,.92) 100%); }
.daily-box { position: relative; max-width: var(--max); width: 100%; margin: 0 auto; padding: 0 var(--gutter) clamp(56px, 9vh, 110px); color: #f7f4ee; }
.daily-cap { color: #e3dfd6; }
.daily-cap .pl { color: #c8cdfa; }
.daily blockquote { font-size: clamp(48px, 8.4vw, 136px); line-height: .98; max-width: 11em; margin: 18px 0 28px; }
.daily-box > p:last-child { max-width: 30em; color: #e3dfd6; }

/* ---------- enter your future ---------- */
.future { padding-top: clamp(90px, 14vh, 170px); padding-bottom: clamp(70px, 10vh, 120px); scroll-margin-top: 60px; }
.fy-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: clamp(32px, 5vw, 80px); align-items: end; }
.fy-head .step-label { grid-column: 1 / -1; }
.fy-head h2 { margin-top: 26px; }
.fy-app { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 56px); margin-top: clamp(40px, 6vw, 72px); align-items: start; }
.fy-window { background: var(--card); border-radius: 16px; box-shadow: var(--shadow); padding: clamp(12px, 1.6vw, 18px); }
.fy-top { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 12px; font-size: 14px; }
.fy-title { font-weight: 600; }
.fy-you { display: inline-flex; align-items: center; gap: 7px; font: 400 12px var(--mono); color: var(--ink-2); }
.fy-you i { width: 7px; height: 7px; border-radius: 50%; background: var(--ultra); }
.fy-scenes { position: relative; aspect-ratio: 1400 / 782; overflow: hidden; background: var(--paper-2); border-radius: 6px; }
.sc { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.sc img { width: 100%; height: 100%; object-fit: cover; }
.sc-cap {
  position: absolute; left: 0; bottom: 0; right: 0; padding: 40px 18px 14px; color: #fff; font-size: 14.5px;
  background: linear-gradient(180deg, transparent, rgba(12,13,28,.78));
}
.sc-cap b { display: block; font: 400 clamp(28px, 3.2vw, 46px)/1 var(--display); margin-bottom: 4px; }
#fyApp[data-track="home"][data-year="2027"] .sc[data-track="home"][data-y="2027"],
#fyApp[data-track="home"][data-year="2029"] .sc[data-track="home"][data-y="2029"],
#fyApp[data-track="home"][data-year="2031"] .sc[data-track="home"][data-y="2031"],
#fyApp[data-track="tokyo"][data-year="2027"] .sc[data-track="tokyo"][data-y="2027"],
#fyApp[data-track="tokyo"][data-year="2029"] .sc[data-track="tokyo"][data-y="2029"],
#fyApp[data-track="tokyo"][data-year="2031"] .sc[data-track="tokyo"][data-y="2031"] { opacity: 1; z-index: 1; }
.sc { pointer-events: none; }

.fy-scrub { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin: 16px 4px 4px; }
.fy-track { position: absolute; left: 16.6%; right: 16.6%; top: 50%; height: 1px; background: var(--line); }
.fy-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--ink); transition: width .6s var(--ease); }
#fyApp[data-year="2029"] .fy-fill { width: 50%; }
#fyApp[data-year="2031"] .fy-fill { width: 100%; }
.fy-year {
  position: relative; justify-self: center; border: 1px solid var(--line); background: var(--card); color: var(--ink-2);
  font: 400 13px/1 var(--mono); padding: 9px 14px; border-radius: 999px; cursor: pointer; min-height: 36px;
}
.fy-year[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.fy-ask { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; padding: 0 4px; }
.fy-whatif {
  display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: #faf8f4; border-radius: 12px;
  padding: 11px 14px; font: italic 300 17px/1.2 var(--serif); color: var(--ink); cursor: pointer;
}
.fy-whatif .sp { font-style: normal; color: var(--ultra); }
.fy-whatif[aria-pressed="true"] { border-color: var(--ultra); box-shadow: 0 0 0 1px var(--ultra); }
.fy-now { font: 400 12px var(--mono); color: var(--ink-2); }
#fyApp .when-tokyo { display: none; }
#fyApp[data-track="tokyo"] span.when-tokyo { display: inline; }
#fyApp[data-track="tokyo"] ol.when-tokyo { display: grid; }
#fyApp[data-track="tokyo"] .when-home { display: none; }

.fy-plan { padding-top: 6px; }
.fy-plan .cap { margin: 0 0 14px; }
.plan-list { display: grid; }
.plan-list li { border-top: 1px solid var(--line); padding: 14px 0 16px; color: var(--ink-2); font-size: 15px; animation: rise .6s var(--ease) both; }
.plan-list li:nth-child(2) { animation-delay: .08s; } .plan-list li:nth-child(3) { animation-delay: .16s; } .plan-list li:nth-child(4) { animation-delay: .24s; }
.plan-list li b { display: block; font: 400 26px/1.1 var(--display); color: var(--ink); margin-bottom: 4px; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

/* ---------- free vs pro ---------- */
.plans { padding-top: clamp(80px, 12vh, 150px); padding-bottom: clamp(70px, 10vh, 120px); border-top: 1px solid var(--ink); scroll-margin-top: 60px; }
.plans-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(24px, 5vw, 80px); align-items: end; }
.plans-head p { color: var(--ink-2); }
.plans-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); margin: clamp(48px, 6vw, 80px) 0; }
.plan-name { font: 400 clamp(40px, 4.4vw, 64px)/1 var(--display); margin-bottom: 18px; }
.plan-col.pro .plan-name { color: var(--ultra); }
.plan-col ul { counter-reset: f; }
.plan-col li { counter-increment: f; border-top: 1px solid var(--line); padding: 12px 0; display: flex; gap: 14px; }
.plan-col li::before { content: counter(f, decimal-leading-zero); font: 400 12px/1.9 var(--mono); color: var(--muted); flex: none; }
.plan-col li:last-child { border-bottom: 1px solid var(--line); }
.plan-note { margin-top: 16px; font-size: 14px; color: var(--ink-2); max-width: 30em; }

/* ---------- close ---------- */
.close { padding-top: clamp(90px, 14vh, 180px); padding-bottom: clamp(64px, 9vh, 110px); }
.close h2.display { font-size: clamp(52px, 9vw, 148px); line-height: .96; max-width: 10em; margin-bottom: 40px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); margin-top: clamp(72px, 10vw, 140px); }
.facts > div { border-top: 1px solid var(--ink); padding-top: 14px; }
.facts dt { font: 400 12.5px/1.4 var(--mono); color: var(--ultra); margin-bottom: 8px; }
.facts dd { color: var(--ink-2); font-size: 15px; }

/* ---------- footer ---------- */
.foot {
  max-width: var(--max); margin: 0 auto; padding: 28px var(--gutter) 48px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px 24px; flex-wrap: wrap;
  font: 400 12.5px/1.5 var(--mono); color: var(--ink-2);
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .agent { grid-column: 1 / span 5; }
  .plates { grid-column: 6 / -1; }
  .imagine { grid-column: 2 / -1; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-stage { max-width: 460px; width: 100%; justify-self: center; }
  .hero-vert { display: none; }

  .chapter { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .chap-rail { display: none; }
  .chapter > *, .chapter.flip > *, .chapter.wide > *, .make > * { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .chap-text { position: static; }

  .plan-stage { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
  .agent { position: static; grid-column: 1; max-width: 420px; }
  .plates { grid-column: 1; }

  .make-fig { padding-bottom: 0; }
  .mp-card { position: relative; right: auto; width: auto; max-width: 420px; margin: -40px 12px 0 auto; }
  .make-fig .cap { position: static; max-width: none; }

  .versions { grid-template-columns: minmax(0, 1fr); }
  .imagine { grid-template-columns: minmax(0, 1fr); }
  .im-result { max-width: 360px; }

  .pb-inner { grid-template-columns: minmax(0, 1fr); }
  .fy-head, .fy-app, .plans-head { grid-template-columns: minmax(0, 1fr); }
  .fy-head .lede { margin-top: 20px; }
  .plans-cols { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { gap: 16px; }
  .nav a:not(.btn) { display: none; }
  .onb-areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plates { grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 12px; }
  .p1 { grid-column: 1 / span 4; }
  .p2 { grid-column: 4 / span 3; grid-row: 2; margin-top: -30%; }
  .p3 { grid-column: 1 / span 3; grid-row: 3; margin-top: -12%; }
  .palette { grid-column: 5 / span 2; grid-row: 3; margin-bottom: 40px; }
  .plate .cap q { font-size: 16px; }
  .love-stage { grid-template-columns: minmax(0, 1fr); }
  .rail { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .rail-label { width: 100%; }
  .rail-strip { grid-template-columns: repeat(4, 44px); flex: none; }
  .rail-go { margin-left: auto; padding: 8px 10px; }
  .love-fig .cap { margin-top: 12px; }
  .lv:nth-child(2), .lv:nth-child(5) { transform: none; }

  .canvas-stage { aspect-ratio: 4 / 5.2; }
  .cv-note { left: 5%; top: 5%; width: 38%; font-size: 4cqw; padding: 3cqw; }
  .cv-a { left: 52%; top: 4%; width: 30%; }
  .cv-sel { left: 8%; top: 40%; width: 38%; }
  .seltools .st:not(:first-child), .seltools .tsep { display: none; }
  .st { font-size: 11px; }
  .cv-b { display: none; }
  .cv-upload { left: 56%; top: 36%; width: 34%; }
  .cv-toast { width: 40cqw; font-size: 11px; }
  .cv-text, .cv-shape { display: none; }
  .cv-sw { display: none; }
  .cv-prompt { width: 88%; font-size: 12px; }

  .mp-card { margin: -24px 0 0; }
  .pf-copy q { font-size: 16px; }
  .pf-area { padding: 0 4%; }
  .daily blockquote { font-size: clamp(42px, 12vw, 64px); }
  .fy-year { padding: 9px 11px; }
  .mock-q { font-size: 16px; }
  .mock-go { padding: 10px 11px; font-size: 13px; }
}
@media (max-width: 380px) {
  .mock-prompt { left: 5%; right: 5%; padding: 8px; }
  .step-label { gap: 12px; flex-wrap: wrap; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .ticker-track { animation: none; }
  .plate-img img, .daily-bg img { transform: scale(1.05); }
}

/* quieter steps: no oversized numerals — a small mono index beside the step name */
.step-label { align-items: center; gap: 10px; }
.step-label .n, .step-label .key { font: 400 12px/1 var(--mono); letter-spacing: .04em; color: var(--ink-2); }
.step-label .key { color: var(--ultra); }
.step-label .n::after { content: " —"; }
.ticker { display: none; }

/* ===== on-brand pass: no indigo, airy paper + dot grid everywhere, tighter rhythm, sections lock in ===== */
:root { --ultra: var(--ink); --night: #ece7dc; --night-2: #e2dccf; }
body { background-color: var(--paper); background-image: radial-gradient(circle, rgba(26,25,21,.13) 1px, transparent 1.3px); background-size: 24px 24px; background-attachment: fixed; }
.cv-sel .cv-img { outline-color: var(--ink); }
.tick { background: var(--ink); }
/* Present band: light, airy — the film screen keeps a dark frame so it still reads as "playing" */
.present-band { background: transparent; color: var(--ink); border-top: 1px solid var(--line); }
.present-band .step-label .n, .present-band .step-label .key, .present-band .step-name { color: var(--ink-2); }
.present-band .tag { color: var(--ink-2); border-color: var(--line); }
.pb-text p:not(.step-label) { color: var(--ink-2); }
.pb-screen { background: #1a1915; box-shadow: 0 2px 6px rgba(26,25,21,.1), 0 30px 70px rgba(26,25,21,.22); }
.pf-mark { color: #f2efe8; }
/* Daily: image-led, but no navy wash */
.daily { background: var(--paper); }
/* tighter vertical rhythm */
.chapter { padding-top: clamp(56px, 8vh, 96px) !important; padding-bottom: clamp(40px, 6vh, 72px) !important; }
.future, .plans, .close { padding-top: clamp(64px, 9vh, 110px) !important; padding-bottom: clamp(48px, 7vh, 90px) !important; }
.present-band { padding-top: clamp(64px, 9vh, 110px) !important; padding-bottom: clamp(64px, 9vh, 110px) !important; margin-top: 0; }
/* sections lock in as you scroll (gentle, never traps) */
html { scroll-snap-type: y proximity; scroll-padding-top: 64px; }
.hero, .chapter, .present-band, .future, .daily, .plans, .close { scroll-snap-align: start; }
@supports (animation-timeline: view()) { .plate-img img { animation-range: entry 0% cover 22% !important; } }
@media (prefers-reduced-motion: reduce) { html { scroll-snap-type: none; } }

/* --- founder notes: no thin rule lines, bolder display face, refined hearts, one-line buttons --- */
.chap-rail { display: none !important; }
.chapter, .chapter.wide { border-top: 0 !important; }
.chapter { --rail: 0px; }
hr, .rule { display: none; }
.present-band, .plans, .future, .close, .daily { border-top: 0 !important; }
/* Aujournuit ships one weight; a fine stroke gives it presence */
h1, h2, .display, .pr-end h2 { -webkit-text-stroke: .045em currentColor; paint-order: stroke fill; }
/* hearts: frosted squircle, hairline → solid ink. no red, no circles */
.heart { width: 26px !important; height: 26px !important; border-radius: 7px !important; background: rgba(250,248,243,.8) !important; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 1px 2px rgba(26,25,21,.12) !important; display: grid; place-items: center; }
.heart::before { content: "" !important; width: 12px; height: 12px; background: currentColor; color: var(--ink); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 13.6s-5.3-3.2-5.3-7.2A2.9 2.9 0 0 1 8 4.7a2.9 2.9 0 0 1 5.3 1.7c0 4-5.3 7.2-5.3 7.2z' fill='none' stroke='black' stroke-width='1.4'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 13.6s-5.3-3.2-5.3-7.2A2.9 2.9 0 0 1 8 4.7a2.9 2.9 0 0 1 5.3 1.7c0 4-5.3 7.2-5.3 7.2z' fill='none' stroke='black' stroke-width='1.4'/%3E%3C/svg%3E") center / contain no-repeat; }
.heart.on::before { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 13.6s-5.3-3.2-5.3-7.2A2.9 2.9 0 0 1 8 4.7a2.9 2.9 0 0 1 5.3 1.7c0 4-5.3 7.2-5.3 7.2z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 13.6s-5.3-3.2-5.3-7.2A2.9 2.9 0 0 1 8 4.7a2.9 2.9 0 0 1 5.3 1.7c0 4-5.3 7.2-5.3 7.2z'/%3E%3C/svg%3E") center / contain no-repeat; }
.lv:has(.heart.on) { outline: 1.5px solid var(--ink); outline-offset: -1.5px; }
.rail-go { white-space: nowrap; font-size: 12px !important; }
/* lock screen: wallpaper has open sky up top now */
.lock-time { color: #fff !important; text-shadow: 0 1px 14px rgba(80,50,20,.25) !important; }
.heart.on::before { color: var(--ink) !important; }
/* smooth (Lenis) scrolling replaces CSS snap */
html { scroll-snap-type: none !important; scroll-behavior: auto !important; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* each chapter frames itself in the window (paging scroll in site.js) */
@media (min-width: 900px) and (min-height: 640px) {
  main > section { min-height: calc(100vh - 64px); box-sizing: border-box; }
  main > .chapter, main > .future, main > .plans, main > .close { align-content: center; }
  /* keep the tall chapters to about one screen */
  #plan .chap-fig, #canvas .chap-fig, #refine .chap-fig { max-height: calc(100vh - 150px); }
  #plan .chap-fig img, #canvas .chap-fig img, #refine .chap-fig img { max-height: calc(50vh - 60px); object-fit: cover; }
}
/* nav sits on the same dotted paper */
.top { background-color: rgba(243, 240, 233, .82) !important; background-image: radial-gradient(circle, rgba(26,25,21,.13) 1px, transparent 1.3px) !important; background-size: 24px 24px !important; background-attachment: fixed !important; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
/* wide chapters → side by side so each one fits a screen */
@media (min-width: 900px) and (min-height: 640px) {
  .chapter.wide .chap-text { grid-column: 2 / span 4 !important; grid-row: 1 !important; align-self: center; }
  .chapter.wide > :not(.chap-rail):not(.chap-text) { grid-column: 6 / -1 !important; grid-row: 1 !important; align-self: center; }
  #refine .versions { grid-row: 1 !important; }
  #refine .imagine { display: none; } /* Imagine is shown in the Pro section + app; keeps this chapter one screen */
  .plan-stage { max-height: calc(100vh - 160px); overflow: hidden; }
  #canvas .chap-fig { max-height: calc(100vh - 160px); overflow: hidden; }
  .future .fy-inner { max-height: calc(100vh - 100px); }
}
.top, .top.scrolled { border-bottom: 0 !important; box-shadow: none !important; }
/* no black strokes on loved photos; captions get air */
.lv:has(.heart.on) { outline: 0 !important; }
.cap, figcaption.cap { margin-top: 20px !important; }
.love-fig .cap { margin-top: calc(20px + 4%) !important; }
.plans, .facts > div { border-top: 0 !important; }
.lock-time { color: #1a1915 !important; text-shadow: none !important; }
/* mobile: no waiting on the demo — show the plates right away, tighter rhythm */
@media (max-width: 899px) {
  .plan-stage.anim .plate:not(.in), .plan-stage.anim .palette:not(.in) { opacity: 1 !important; transform: none !important; }
  .chapter { padding-top: 48px !important; padding-bottom: 32px !important; row-gap: 28px !important; }
  .p2 { margin-top: 0 !important; }
  .p3 { margin-top: 12px !important; }
}
/* plan chapter: photos are there from the start (no waiting on the demo), quick soft fade only */
.plan-stage.anim .plate:not(.in), .plan-stage.anim .palette:not(.in) { opacity: 1 !important; transform: none !important; }
#plan .plate-img img { animation: none !important; clip-path: none !important; }
#plan .plate-img { background: #e9e3d6; }
/* mobile, for real: plates become a tight 2-up grid, no staggering, no forced heights */
@media (max-width: 899px) {
  .plates { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 10px !important; column-gap: 10px !important; }
  .plates > * { grid-column: auto !important; grid-row: auto !important; margin: 0 !important; transform: none !important; }
  .plates .palette { grid-column: 1 / -1 !important; display: flex !important; gap: 4px; margin: 0 !important; }
  .plates .palette i { flex: 1; height: 18px; }
  .plates .cap { margin-top: 8px !important; font-size: 11px; }
  .plates .cap q { font-size: 15px; }
  main > section { min-height: 0 !important; }
  .lv:nth-child(2), .lv:nth-child(5) { transform: none !important; }
  .chapter { row-gap: 22px !important; }
}
@media (max-width: 899px) {
  .hero { padding-top: 28px !important; padding-bottom: 40px !important; gap: 24px !important; }
  .hero-stage { padding: 8% 8% 22% !important; }
  .future, .plans, .close, .present-band { padding-top: 48px !important; padding-bottom: 40px !important; }
  .future .fy-inner { max-height: none !important; gap: 20px !important; row-gap: 20px !important; }
}
/* desktop plates: give captions room — the 3rd plate no longer tucks up under Career's quote */
@media (min-width: 900px) { .p3 { margin-top: 36px !important; } .plates .cap q { margin-bottom: 4px; } }
/* plan years: bold */
.fy-plan li b { -webkit-text-stroke: .055em currentColor; paint-order: stroke fill; }
/* framed chapters sit 24px higher in the window */
@media (min-width: 900px) and (min-height: 640px) {
  main > section > * { position: relative; top: -34px; }
}
/* marketing nav: wordmark left · links centered · Start free right */
.top { display: grid !important; grid-template-columns: 1fr auto 1fr; align-items: center; }
.top .wordmark { grid-column: 1; grid-row: 1; justify-self: start; }
.top .nav-l { grid-column: 2; grid-row: 1; justify-self: center; }
.top .nav-r { grid-column: 3; grid-row: 1; justify-self: end; }
@media (max-width: 560px) { .top { grid-template-columns: auto 1fr auto; } .top .nav-l { display: none; } .top .wordmark { justify-self: start; } }

/* Refine: text left, the two versions right (they used to sit on top of the text) */
@media (min-width: 900px) and (min-height: 640px) {
  #refine .chap-text { grid-column: 2 / span 4 !important; grid-row: 1 !important; align-self: center; }
  #refine .chap-text { grid-column: 2 / span 4 !important; }
  #refine .versions { grid-column: 7 / -1 !important; grid-row: 1 !important; align-self: center; }
}
/* Pro tier: the ✦ AI mark on every Pro feature */
.plan-col.pro li::before { content: "✦"; font: 400 13px/1.7 var(--sans); color: var(--ultra); }
/* Nav: Features menu (hover on desktop, tap to open) */
.nav-dd { position: relative; }
.nav-dd-btn { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.nav-dd-btn::after { content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 7px; border-right: 1.3px solid currentColor; border-bottom: 1.3px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.nav-dd-btn:hover, .nav-dd.open .nav-dd-btn { color: var(--ink); }
.nav-menu { position: absolute; top: calc(100% + 14px); left: -16px; width: 330px; padding: 8px; background: #fbfaf6; border-radius: 14px; box-shadow: 0 18px 50px rgba(22,20,15,.16), 0 2px 6px rgba(22,20,15,.06); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s; z-index: 60; }
.nav-dd::before { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 16px; } /* hover bridge */
.nav-dd:hover .nav-menu, .nav-dd:focus-within .nav-menu, .nav-dd.open .nav-menu { opacity: 1; visibility: visible; transform: none; }
.nav .nav-menu a:not(.btn) { display: block; padding: 9px 12px; border-radius: 9px; color: var(--ink); font-size: 14px; font-weight: 500; }
.nav .nav-menu a span { display: block; margin-top: 2px; font-weight: 400; font-size: 12.5px; color: var(--muted); }
.nav .nav-menu a:hover { background: rgba(22,20,15,.05); }
.foot-nav { display: flex; gap: 20px; }
.foot-nav a { color: var(--ink-2); font-size: 14px; text-decoration: none; }
.foot-nav a:hover { color: var(--ink); }
/* Blog (same domain: /blog/) */
.blog-page .top { position: sticky; top: 0; }
.blog { max-width: 1080px; margin: 0 auto; padding: clamp(40px, 8vh, 88px) 24px 96px; }
.blog-head .display { font-size: clamp(40px, 6vw, 72px); line-height: 1; margin: 12px 0 48px; max-width: 14ch; }
.post-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 40px; }
.post-list a { display: block; text-decoration: none; color: var(--ink); }
.post-list img { width: 100%; height: auto; border-radius: 6px; display: block; margin-bottom: 16px; }
.post-meta { display: block; font: 400 12px/1.6 var(--mono); color: var(--muted); }
.post-title { display: block; font-size: 22px; font-weight: 600; line-height: 1.25; margin: 6px 0 8px; letter-spacing: -.01em; }
.post-list a:hover .post-title { text-decoration: underline; text-underline-offset: 3px; }
.post-dek { display: block; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.post { max-width: 680px; margin: 0 auto; }
.post .display { font-size: clamp(36px, 5.4vw, 60px); line-height: 1.02; margin: 10px 0 24px; }
.post-lede { font-size: 20px; line-height: 1.5; color: var(--ink-2); margin: 0 0 32px; }
.post-hero { width: 100%; height: auto; border-radius: 6px; margin: 0 0 40px; }
.post h2 { font-size: 22px; letter-spacing: -.01em; margin: 40px 0 10px; }
.post p { font-size: 17px; line-height: 1.65; }
.post-cta { margin-top: 56px; padding: 28px; background: #fbfaf6; border-radius: 14px; }
.post-cta p { margin: 0 0 18px; font-size: 16px; }
.nav-dd { display: flex; align-items: center; }
.nav-dd-btn { line-height: inherit; display: inline-flex; align-items: center; }
.nav-dd-btn::after { transform: translateY(-2px) rotate(45deg); }

/* Feature pages (/features/ and /features/<slug>) — everything scoped to .feature-page */
.feature-page .top { position: sticky; top: 0; }
.nav .nav-menu a.nav-all { margin-top: 4px; padding: 11px 12px; font-weight: 600; background: rgba(22,20,15,.04); }
.feature-page .nav .nav-menu a[aria-current="page"] { background: rgba(22,20,15,.06); }
.fp { display: block; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(24px, 4vw, 48px); }
.feature-page .tag { display: inline-block; font: 400 11.5px/1 var(--mono); color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px 8px; vertical-align: middle; white-space: nowrap; }
.feature-page .tag.pro { color: var(--ultra); border-color: currentColor; }
.feature-page .step-label { gap: 12px; }

/* hero: stacked (headline left, lede right, big visual below) or split (copy left, visual right) */
.fp-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 80px); align-items: end; padding-top: clamp(40px, 8vh, 96px); }
.fp-hero h1 { margin-top: 22px; max-width: 12em; }
.fp-hero-r .cta-row { margin-top: 28px; }
.fp-hero.split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; }
.fp-hero.split .lede { margin-top: clamp(22px, 2.6vw, 32px); }
.fp-hero-copy .cta-row { margin-top: 32px; }
.fp-big { display: block; margin-top: clamp(48px, 7vw, 96px); }
.fp-fig { min-width: 0; }

/* sections */
.fp-sec { padding-top: clamp(80px, 11vw, 150px); }
.fp-sec h2.display { font-size: clamp(34px, 3.8vw, 56px); line-height: 1.04; }
.fp-eyebrow { font: 400 12.5px/1.4 var(--mono); color: var(--ink-2); margin-bottom: 18px; }

/* how it works: three quiet columns, small mono step labels */
.fp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); margin-top: clamp(32px, 4vw, 52px); }
.fp-k { display: block; font: 400 12.5px/1 var(--mono); color: var(--ink-2); margin-bottom: 16px; }
.fp-steps h3 { font: 400 clamp(24px, 2.2vw, 30px)/1.12 var(--display); -webkit-text-stroke: .04em currentColor; paint-order: stroke fill; margin: 0 0 12px; }
.fp-steps p { color: var(--ink-2); font-size: 16px; max-width: 24em; }

/* split: text beside a supporting visual */
.fp-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.fp-split.flip > .fp-split-text { order: 2; }
.fp-split-text h2 { margin-bottom: 22px; }
.fp-split-text p { color: var(--ink-2); max-width: 30em; }
.fp-split .onb-mock { margin-left: 0; }
.fp-split .start-fig .cap, .fp-split .fp-fig .cap { max-width: 560px; }

/* trio of plates */
.fp-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); align-items: start; }
.fp-trio .plate:nth-child(2) { margin-top: 48px; }
.fp-trio .cap q { display: block; margin: 6px 0 0; font-size: 18px; }
.fp-trio.wide .plate-img { aspect-ratio: 4 / 3; }
.fp-trio.wide .plate:nth-child(2) { margin-top: 0; }

/* facts row (canvas, present) */
.fp-facts-sec h2 { max-width: 16em; }
.fp-facts { margin-top: clamp(36px, 4vw, 56px) !important; }
.fp-facts dd { font-size: 16px; max-width: 26em; }

/* Free / Pro note */
.fp-note { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px 28px; align-items: center; margin-top: clamp(80px, 11vw, 150px); padding: clamp(22px, 3vw, 32px) clamp(22px, 3vw, 36px); background: #fbfaf6; border-radius: 16px; box-shadow: 0 1px 2px rgba(26,25,21,.05); }
.fp-note.fp-sec { padding-top: clamp(22px, 3vw, 32px); }
.fp-note-tag .tag { font-size: 12.5px; padding: 6px 11px; }
.fp-note-body { color: var(--ink-2); font-size: 16px; max-width: 44em; }
.fp-note-link { font-size: 14px; font-weight: 500; color: var(--ink); text-underline-offset: 3px; white-space: nowrap; }

/* related + index cards */
.fp-related-head, .fp-group-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 32px; flex-wrap: wrap; }
.fp-all { font-size: 14px; font-weight: 500; color: var(--ink); text-underline-offset: 3px; }
.fp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(18px, 2.4vw, 32px); margin-top: clamp(28px, 3.4vw, 44px); }
.fp-card { display: block; text-decoration: none; color: var(--ink); }
.fp-card-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: var(--paper-2); margin-bottom: 18px; }
.fp-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.fp-card:hover .fp-card-img img { transform: scale(1.03); }
.fp-card-name { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font: 400 clamp(24px, 2.2vw, 30px)/1.1 var(--display); -webkit-text-stroke: .04em currentColor; paint-order: stroke fill; }
.fp-card-name .tag { -webkit-text-stroke: 0; }
.fp-card-line { display: block; margin-top: 8px; color: var(--ink-2); font-size: 15px; line-height: 1.5; max-width: 30em; }
.fp-card:hover .fp-card-name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.fp-group-head p { color: var(--ink-2); max-width: 34em; font-size: 16px; }
.fp-group-head h2.pro { color: var(--ultra); }
.fp-index-hero h1 { max-width: 13em; }

/* close */
.fp-close h2.display { font-size: clamp(48px, 7.4vw, 120px); line-height: .98; max-width: 11em; }
.fp-close .cta-row { margin-top: 36px; }

/* mock components, adjusted for these pages */
.feature-page .plan-stage { max-height: none !important; overflow: visible !important; }
.feature-page .agent { position: static; }
.feature-page .make-fig { margin-top: clamp(48px, 7vw, 96px); padding-bottom: 170px; }
.feature-page .make-fig .mp-card { right: 0; }
.feature-page .pb-screen { color: #f2efe8; }
.feature-page .fr { border-top: 0; padding-top: 4px; }
.feature-page .fr.on { font-weight: 600; }
.feature-page .strip { margin-top: 16px; }
.feature-page .love-fig .cap { margin-top: 20px !important; }
.fp-daily { position: relative; border-radius: 10px; overflow: hidden; min-height: clamp(460px, 64vh, 680px); display: grid; align-items: end; }
.fp-daily .daily-bg img { transform: scale(1.12); opacity: .62; }
.fp-daily .daily-box { padding: 0 clamp(24px, 5vw, 72px) clamp(32px, 6vw, 72px); }
.fp-daily blockquote { font-size: clamp(44px, 7vw, 112px); }
.fp-imagine { margin-top: 0; }
.fp-split .imagine { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); }
.fp-split .im-result { max-width: 300px; }
.feature-page .versions { align-items: end; }

/* phone wallpaper: wide and tall, side by side */
.fp-pair-sec { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.fp-pair { display: grid; grid-template-columns: minmax(0, 2.6fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 40px); align-items: end; }
.fp-pair-tall img { width: 100%; height: auto; border-radius: 14px; background: var(--paper-2); box-shadow: 0 2px 6px rgba(26,25,21,.1), 0 22px 50px rgba(26,25,21,.18); }
.fp-pair-wide img { box-shadow: 0 2px 6px rgba(26,25,21,.08), 0 22px 50px rgba(26,25,21,.12); }
.fp-hero.split .phone-wrap { align-items: center; }

@media (max-width: 899px) {
  .fp-hero, .fp-hero.split, .fp-split, .fp-pair-sec { grid-template-columns: minmax(0, 1fr); }
  .fp-hero { padding-top: 32px; gap: 20px; }
  .fp-hero.split { gap: 44px; }
  .fp-split.flip > .fp-split-text { order: 0; }
  .fp-sec { padding-top: 72px; }
  .fp-note { margin-top: 72px; grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .fp-steps { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .fp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-page .make-fig { padding-bottom: 0; }
  .feature-page .make-fig .mp-card { position: relative; right: auto; width: auto; max-width: 420px; margin: 20px 0 0 auto; }
  .fp-split .imagine { grid-template-columns: minmax(0, 1fr); }
  .feature-page .agent { max-width: none; }
}
@media (max-width: 640px) {
  .fp-hero h1 { font-size: clamp(40px, 11vw, 52px); }
  .fp-cards { grid-template-columns: minmax(0, 1fr); }
  .fp-trio { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
  .fp-trio .plate:nth-child(2) { margin-top: 0; }
  .fp-trio .plate:nth-child(3) { grid-column: 1 / -1; }
  .fp-trio .plate:nth-child(3) .plate-img { aspect-ratio: 16 / 10; }
  .fp-trio .cap { font-size: 11.5px; }
  .fp-trio .cap q { font-size: 16px; }
  .fp-daily { min-height: 460px; }
  .fp-daily blockquote { font-size: clamp(40px, 11vw, 56px); }
  .fp-pair { grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 12px; }
  .fp-pair .cap { font-size: 11px; }
  .fp-close h2.display { font-size: clamp(44px, 12vw, 64px); }
  .feature-page .make-fig .mp-card { margin: 16px 0 0; max-width: none; }
}
/* index: 3 + 2 (free) and 2 + 2 (pro), so no row is left with a hole */
@media (min-width: 900px) {
  .fp-group .fp-cards { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .fp-group .fp-card { grid-column: span 2; }
  .fp-group.free .fp-card:nth-child(n+4), .fp-group.pro .fp-card { grid-column: span 3; }
  .fp-group.free .fp-card:nth-child(n+4) .fp-card-img, .fp-group.pro .fp-card-img { aspect-ratio: 16 / 9; }
}
.feature-page .fr { color: var(--muted); }
.feature-page .fr.on { color: var(--ink); }
/* Blog index: same feel as the app's Projects page — big airy title, tilted print-style cards */
.blog-index .blog { max-width: 1120px; }
.bhead { text-align: center; margin: 0 0 clamp(40px, 6vw, 72px); }
.bhead h1 { font: 400 clamp(64px, 9vw, 120px)/1 "Aujournuit", "Newsreader", serif; letter-spacing: -.035em; margin: 0; }
.bhead p { margin: 14px 0 0; color: var(--ink-2); font-size: 16px; }
.bgrid { display: flex; flex-wrap: wrap; justify-content: center; gap: 48px 40px; }
.bcard { width: 430px; max-width: 100%; text-decoration: none; color: var(--ink); --r: 0deg; --dy: 0px; transform: translateY(var(--dy)) rotate(var(--r)); transition: transform .25s cubic-bezier(.2,.7,.3,1); }
.bcard:nth-child(3n+1) { --r: -2.2deg; --dy: 6px; }
.bcard:nth-child(3n+2) { --r: 1.6deg; --dy: -10px; }
.bcard:nth-child(3n+3) { --r: -.8deg; --dy: 14px; }
.bcard:hover { transform: translateY(calc(var(--dy) - 4px)) rotate(0deg); }
.bcover { aspect-ratio: 4 / 3; padding: 8px; background: #fbf9f4; border-radius: 2px; box-shadow: 0 1px 2px rgba(22,20,15,.08), 0 10px 24px rgba(22,20,15,.12); }
.bcover img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 1px; }
.bmeta { padding: 18px 4px 0; }
.bname { display: block; font: 400 26px/1.15 "Aujournuit", "Newsreader", serif; letter-spacing: -.02em; }
.bwhen { display: block; margin-top: 6px; font-size: 12.5px; color: var(--muted); }
@media (max-width: 560px) { .bcard { --r: 0deg !important; --dy: 0px !important; } }
/* FAQ */
.faq { max-width: 860px; margin: 0 auto; padding: clamp(64px, 10vh, 120px) 24px; }
.faq .display { font-size: clamp(36px, 5vw, 60px); line-height: 1.02; margin: 0 0 36px; }
.faq-item { background: #fbfaf6; border-radius: 14px; margin: 0 0 10px; box-shadow: 0 1px 2px rgba(22,20,15,.05); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-size: 18px; font-weight: 500; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 300; color: var(--muted); transition: transform .2s; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { margin: 0; padding: 0 24px 22px; color: var(--ink-2); font-size: 16px; line-height: 1.6; max-width: 680px; }

/* Feature pages — How it works step illustrations (public/mk/how) */
.fp-steps li { display: flex; flex-direction: column; }
.fp-art { margin: 0 0 22px; aspect-ratio: 5 / 4; overflow: hidden; border-radius: 14px; background: #f2ebdb; box-shadow: 0 0 0 1px rgba(26,25,21,.06), 0 1px 2px rgba(26,25,21,.05), 0 12px 30px rgba(26,25,21,.08); }
.fp-art img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
@media (hover: hover) { .fp-steps li:hover .fp-art img { transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .fp-art img, .fp-steps li:hover .fp-art img { transition: none; transform: none; } }
@media (max-width: 899px) {
  .fp-steps li { display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: 18px; align-items: start; }
  .fp-steps li > .fp-art { grid-row: 1 / span 3; margin: 0; aspect-ratio: 1; border-radius: 12px; }
  .fp-steps li > .fp-k { margin-bottom: 10px; padding-top: 4px; }
  .fp-art img, .fp-steps li:hover .fp-art img { transform: scale(1.16); }
}
@media (min-width: 600px) and (max-width: 899px) {
  .fp-steps li { grid-template-columns: 160px minmax(0, 1fr); column-gap: 28px; }
}

/* Daily locks in under the 64px header: always fill the rest of the screen (+8px) so no strip of page shows under it */
.daily { min-height: max(520px, calc(100vh - 56px)) !important; }
/* Your future: never cap its height — on shorter windows the card spilled over the Pro heading below */
.future .fy-inner { max-height: none !important; }
/* feature pages: the Imagine mock sits beside its text (the homepage .imagine grid placement pushed it to row 3) */
.fp-split .imagine { grid-row: auto !important; grid-column: auto !important; }
/* feature cards: a small icon badge instead of a picture */
.fp-card-icon { display: grid !important; place-items: center; width: 64px; height: 64px; aspect-ratio: auto !important; margin-bottom: 18px; background: #e9e4d8; border-radius: 18px; color: var(--ink, #16140f); transition: background .25s ease, transform .25s ease; }
.fp-card-icon svg { width: 30px; height: 30px; }
.fp-card:hover .fp-card-icon { background: #16140f; color: #f2efe8; transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .fp-card:hover .fp-card-icon { transform: none; } }
/* hero: no 34px lift (that's for the paged chapters) and even top/bottom padding, so it sits centered in the first screen */
@media (min-width: 900px) and (min-height: 640px) {
  main > .hero > * { top: 0 !important; }
  .hero { padding-top: 56px !important; padding-bottom: 56px !important; }
}
/* hero: a few abstracted app pieces around the illustration (decorative) */
.hx { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.hx-rail { position: absolute; left: 5%; top: 50%; transform: translateY(-62%); display: grid; gap: 9px; padding: 10px 8px; background: var(--card); border-radius: 12px; box-shadow: 0 0 0 1px rgba(26,25,21,.06), 0 10px 24px rgba(26,25,21,.1); }
.hx-rail i { width: 16px; height: 16px; border-radius: 5px; background: #e3ddd0; display: block; }
.hx-rail i.on { background: var(--ink); }
.hx-rail i.r { border-radius: 50%; }
.hx-rail i.t { height: 4px; margin: 6px 0; border-radius: 2px; }
.hx-insp { position: absolute; right: 4%; top: 6%; background: var(--card); border-radius: 12px; padding: 9px 10px 10px; box-shadow: 0 0 0 1px rgba(26,25,21,.06), 0 12px 28px rgba(26,25,21,.12); transform: rotate(2deg); }
.hx-insp b { display: block; font: 600 10.5px/1 Inter, system-ui, sans-serif; color: var(--ink-2); margin-bottom: 7px; letter-spacing: .01em; }
.hx-insp span { display: flex; gap: 5px; }
.hx-insp img { width: 34px; height: 44px; object-fit: cover; border-radius: 4px; }
.hx-note { position: absolute; right: 6%; top: 46%; width: 30%; background: #f7efc9; color: #2a2618; padding: 10px 12px 12px; border-radius: 3px; font: 400 clamp(12px, 1.05vw, 15px)/1.25 Newsreader, Georgia, serif; font-style: italic; box-shadow: 0 10px 22px rgba(26,25,21,.12); transform: rotate(3deg); }
.hx-note small { display: block; font: 500 9px/1 "IBM Plex Mono", ui-monospace, monospace; font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: #8a7f5c; margin-bottom: 6px; }
.hx-pal { position: absolute; left: 22%; bottom: 21%; display: flex; gap: 5px; padding: 6px; background: var(--card); border-radius: 999px; box-shadow: 0 0 0 1px rgba(26,25,21,.06), 0 8px 18px rgba(26,25,21,.1); transform: rotate(-2deg); }
.hx-pal i { width: 14px; height: 14px; border-radius: 50%; display: block; }
@media (max-width: 899px) { .hx-rail { display: none; } .hx-note { width: 38%; } }
/* Features menu: icon column, title + one-line description as a pair, room between rows */
.nav-menu { width: 360px !important; padding: 10px !important; }
.nav .nav-menu a:not(.btn):not(.nav-all) { display: grid !important; grid-template-columns: 36px 1fr; column-gap: 12px; align-items: center; padding: 11px 12px !important; }
.nav .nav-menu a + a:not(.nav-all) { margin-top: 2px; }
.nav-menu .nm-ic { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: #ece7dc; color: var(--ink); font-style: normal; }
.nav .nav-menu a:hover .nm-ic { background: var(--ink); color: #f2efe8; }
.nav-menu .nm-t b { display: flex; align-items: center; gap: 7px; font-weight: 600; font-size: 14px; line-height: 1.2; }
.nav .nav-menu a .nm-t > span { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.3; color: var(--muted); white-space: nowrap; }
.nav-menu .nm-pro { font: 500 10px/1 "IBM Plex Mono", ui-monospace, monospace; font-style: normal; padding: 3px 6px 2px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); }
.nav .nav-menu a.nav-all { margin-top: 8px !important; }
/* index: with icon cards, every card sits in the same 3-column grid (rows left-aligned) */
@media (min-width: 900px) {
  .fp-group.free .fp-card:nth-child(n+4), .fp-group.pro .fp-card { grid-column: span 2 !important; }
}
/* index group headers: title with its line underneath, left-aligned */
.fp-group-head { display: block !important; }
.fp-group-head p { margin-top: 14px; }
/* Pro has four: one even row of four */
@media (min-width: 1100px) {
  .fp-group.pro .fp-cards { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .fp-group.pro .fp-card { grid-column: auto !important; }
}
.fp-group.pro .fp-card-name .tag { display: none; } /* the section already says Pro */
/* hero H1: a torn-paper label behind "vision board" and a taped polaroid peeking out behind the headline */
.hero-copy { position: relative; isolation: isolate; }
.h1-mark { position: relative; white-space: nowrap; }
.h1-mark::before { content: ""; position: absolute; z-index: -1; left: -.12em; right: -.1em; top: .2em; bottom: -.02em; background: #efd9b7; transform: rotate(-1.6deg);
  clip-path: polygon(0 6%, 4% 0, 12% 5%, 22% 1%, 33% 4%, 45% 0, 58% 5%, 70% 1%, 82% 4%, 92% 0, 100% 5%, 99% 94%, 90% 100%, 78% 95%, 66% 100%, 52% 96%, 40% 100%, 27% 95%, 15% 100%, 5% 96%, 1% 100%); }
.h1-deco { position: absolute; z-index: -2; left: -6%; top: -30%; pointer-events: none; }
.h1-pol { display: block; width: clamp(90px, 9vw, 140px); padding: 7px 7px 26px; background: #fbfaf6; box-shadow: 0 2px 6px rgba(26,25,21,.08), 0 18px 40px rgba(26,25,21,.14); transform: rotate(-8deg); opacity: .95; }
.h1-pol img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.h1-tape { position: absolute; left: 30%; top: -10px; width: 64px; height: 20px; background: rgba(124,154,106,.55); transform: rotate(-14deg); }
@media (max-width: 899px) { .h1-deco { left: auto; right: 0; top: -40px; } .h1-pol { width: 78px; } }
@media (min-width: 900px) and (min-height: 640px) { .hero-copy > .h1-deco { top: -34%; } }
.h1-deco { left: auto !important; right: 2%; top: 2% !important; }
.h1-pol { width: clamp(96px, 8.4vw, 124px); transform: rotate(7deg); }
.h1-tape { left: 26%; transform: rotate(10deg); }
@media (max-width: 899px) { .h1-deco { display: none; } }
