/* friyay.com — shared stylesheet. Tokens mirror the app. */
:root {
  --bg: #f5f3ef;
  --card: #fff;
  --teal: #007a6e;
  --teal-ink: #0a5f54;
  --teal-light: #f0faf8;
  --text: #1c1917;
  --ink-2: #4a514d;
  --stone: #78716c;
  --muted: #a8a29e;
  --border: #e7e5e4;
  --line-soft: #eeece6;
  --amber: #b7791f;
  --amber-light: #fbf3e2;
  --red: #c2410c;
  --red-light: #fdefe7;
  --shadow: 0 1px 3px rgba(28, 25, 23, .05);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --gutter: 16px;
  --wide: 1120px;
  --measure: 40rem;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

img, svg { max-width: 100%; height: auto; }

a { color: var(--teal-ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--teal); }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: var(--gutter); top: -100px;
  background: var(--card); padding: .5rem .75rem; border-radius: 6px; z-index: 10;
}
.skip:focus { top: .75rem; }

.wrap { width: 100%; max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 32px; } }

/* ---------- Wordmark ---------- */
.wordmark {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: -.01em;
  color: var(--text);
  text-decoration: none;
  line-height: 1;
}
.wordmark em { font-style: italic; color: var(--teal); }
.wordmark:hover { color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: .65rem 1.2rem;
  background: var(--teal); color: #fff;
  font: 500 1rem/1.2 var(--sans);
  border-radius: 8px; text-decoration: none;
  box-shadow: var(--shadow);
  transition: background-color .15s ease;
}
.btn:hover { background: var(--teal-ink); color: #fff; }
.btn-sm { min-height: 38px; padding: .45rem .9rem; font-size: .9375rem; }
.btn-lg { min-height: 52px; padding: .85rem 1.5rem; font-size: 1.0625rem; }

/* ---------- Header / nav ---------- */
.site-header { padding: 14px 0; }
.site-header .wrap { display: flex; align-items: center; gap: 1rem; }
.site-header .wordmark { margin-right: auto; }

.nav-links { display: none; list-style: none; margin: 0; padding: 0; gap: 1.75rem; align-items: center; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-size: .9375rem; }
.nav-links a:hover { color: var(--text); }

.menu { position: relative; }
.menu summary {
  list-style: none; cursor: pointer;
  min-height: 38px; display: inline-flex; align-items: center;
  padding: .4rem .7rem; border: 1px solid var(--border); border-radius: 8px;
  font-size: .9375rem; color: var(--ink-2); background: var(--card);
}
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { color: var(--text); }
.menu ul {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 5;
  list-style: none; margin: 0; padding: .4rem;
  min-width: 13rem; background: var(--card);
  border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: 0 6px 24px rgba(28, 25, 23, .08);
}
.menu li a { display: block; padding: .6rem .75rem; border-radius: 6px; color: var(--text); text-decoration: none; }
.menu li a:hover { background: var(--teal-light); }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .menu { display: none; }
  .site-header { padding: 22px 0; }
}

/* ---------- Hero ---------- */
.hero { padding: 1.25rem 0 3.5rem; }
.hero-grid { display: grid; gap: 2.5rem; }
.eyebrow {
  margin: 0 0 .9rem;
  font-size: .9375rem; color: var(--stone);
}
.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 5.2vw + .6rem, 4rem);
  line-height: 1.04;
  letter-spacing: -.025em;
  font-variation-settings: "opsz" 144;
  max-width: 16ch;
  text-wrap: balance;
}
.hero .sub {
  margin: 1.1rem 0 0;
  max-width: 34rem;
  font-size: 1.125rem; line-height: 1.55; color: var(--ink-2);
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-top: 1.6rem; }
.hero-actions .text-link { color: var(--ink-2); font-size: 1rem; }
.proof {
  margin: 1.25rem 0 0; max-width: 30rem;
  font-size: .9375rem; line-height: 1.5; color: var(--stone);
  padding-left: .85rem; border-left: 2px solid var(--teal);
}

.demo {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 10px;
}
.demo-frame {
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  background: var(--bg);
  border: 1px dashed var(--border);
  display: grid; place-items: center;
}
.demo-play {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--card); border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: grid; place-items: center;
}
.demo-play::before {
  content: ""; margin-left: 5px;
  border-style: solid; border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent var(--muted);
}
.demo figcaption { padding: .7rem .35rem .2rem; font-size: .875rem; color: var(--stone); }

@media (max-width: 899px) {
  /* Phone: keep the demo below the CTA block so the fold holds the essentials. */
  .demo { max-width: 34rem; }
}
@media (min-width: 900px) {
  .hero { padding: 3.5rem 0 6rem; }
  .hero .sub { font-size: 1.1875rem; }
}

/* ---------- Sections ---------- */
.section { padding: 4rem 0; border-top: 1px solid var(--line-soft); }
@media (min-width: 900px) { .section { padding: 6.5rem 0; } }

.section h2 {
  margin: 0 0 2rem;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.875rem, 3vw + 1rem, 2.75rem);
  line-height: 1.12; letter-spacing: -.015em;
  max-width: 22ch;
}

/* Why: hanging serif numerals — a genuine sequence (empty, see, keep current) */
.why-list { list-style: none; margin: 0; padding: 0; max-width: 46rem; counter-reset: why; }
.why-list li {
  counter-increment: why;
  position: relative;
  padding: 1.5rem 0 1.5rem 3rem;
  border-top: 1px solid var(--border);
}
.why-list li:last-child { border-bottom: 1px solid var(--border); }
.why-list li::before {
  content: counter(why);
  position: absolute; left: 0; top: 1.15rem;
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 2.25rem; line-height: 1; color: var(--teal);
}
.why-list .lead {
  display: block; margin-bottom: .35rem;
  font-family: var(--serif); font-weight: 400;
  font-size: 1.375rem; line-height: 1.3; color: var(--text);
}
.why-list p { margin: 0; color: var(--ink-2); max-width: var(--measure); }
.chain {
  margin: 2.25rem 0 0; max-width: 40rem;
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 1.375rem; line-height: 1.4; color: var(--teal-ink);
}
@media (min-width: 900px) {
  .why-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 4rem; }
  .why-list li { padding-left: 4.25rem; }
  .why-list li::before { font-size: 2.75rem; }
}

/* Pillars */
.pillars { display: grid; gap: 4rem; }
.pillar { display: grid; gap: 1.75rem; }
.pillar-text { max-width: 30rem; }
.pillars h3 {
  margin: 0 0 .6rem;
  font-family: var(--serif); font-weight: 400;
  font-size: 1.625rem; line-height: 1.2; letter-spacing: -.01em;
}
.pillar-text p { margin: 0; color: var(--ink-2); }
.pillar-text p + p { margin-top: .75rem; }
.pillar-text .kicker { color: var(--text); font-weight: 500; }
@media (min-width: 900px) {
  .pillars { gap: 6rem; }
  .pillar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 4rem; }
  .pillar:nth-child(even) .pillar-text { order: 2; }
}

/* ===== How it works: animated mockups =====
   Base styles are the END state (no-JS + reduced motion see the finished
   frame). JS adds .is-armed (animations attached, paused on frame 0), then
   .is-playing once the mockup is half in view. Plays once, holds the end. */
.mock {
  width: 100%; max-width: 400px; justify-self: center;
  background: var(--bg); border: 10px solid var(--card); border-radius: 14px;
  box-shadow: 0 0 0 1px var(--border), var(--shadow);
  padding: 14px; overflow: hidden;
  font: 400 13px/1.4 var(--sans); color: var(--text);
}
.mock p { margin: 0; }
.mock svg { flex: none; }
.mock-bar { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.mock-title { font-family: var(--serif); font-weight: 400; font-size: 17px; line-height: 1.25; letter-spacing: -.01em; }
.mock-meta { font-size: 12px; color: var(--stone); }
.m-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.mock.is-armed:not(.is-playing) * { animation-play-state: paused !important; }
/* Replay: JS wraps each mock so the button sits under it without changing the grid */
.mock-wrap { width: 100%; max-width: 400px; justify-self: center; display: grid; justify-items: center; gap: 10px; }
.mock-replay {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 99px; border: 1px solid var(--border); background: transparent;
  font: 500 12px/1 var(--sans); color: var(--stone); cursor: pointer;
  opacity: 0; transition: opacity .3s ease, color .15s ease, border-color .15s ease;
}
.mock-wrap:has(.is-playing) .mock-replay { opacity: 1; }
.mock-replay:hover, .mock-replay:focus-visible { color: var(--teal-ink); border-color: var(--teal); }

@keyframes m-in { from { opacity: 0; translate: 0 6px; } }
@keyframes m-out { from { opacity: 1; } to { opacity: 0; } }

/* 1 · My Week: rows land, three get tapped Top, the rest go quiet */
.m1-list { position: relative; height: 326px; }
.m1-h { position: absolute; left: 2px; font-size: 11px; line-height: 20px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--stone); }
.m1-h-top { top: 0; color: var(--teal-ink); }
.m1-h-top span { margin-left: 4px; color: var(--muted); }
.m1-h-rest { top: 148px; }
.m1-row { position: absolute; inset: 0 0 auto; transform: translateY(var(--y1)); }
.m1-row:not(.is-top) { opacity: .4; }
.m1-c {
  display: flex; align-items: center; gap: 9px; height: 34px; padding: 0 10px;
  background: var(--card); border: 1px solid var(--border); border-radius: 8px;
  white-space: nowrap; overflow: hidden;
}
.m1-dot { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--muted); flex: none; }
.is-top .m1-c { border-color: var(--teal); box-shadow: 0 2px 10px rgba(0, 122, 110, .12); }
.is-top .m1-dot { background: var(--teal); border-color: var(--teal); }
.m1-pill { margin-left: auto; padding: 1px 8px; border-radius: 99px; background: var(--teal); color: #fff; font-size: 11px; font-weight: 500; }
@keyframes m1-move { from { transform: translateY(var(--y0)); } to { transform: translateY(var(--y1)); } }
@keyframes m1-dim { from { opacity: 1; } to { opacity: .4; } }
@keyframes m1-tap {
  0% { border-color: var(--border); box-shadow: none; transform: none; }
  40% { transform: scale(.97); }
  100% { border-color: var(--teal); box-shadow: 0 2px 10px rgba(0, 122, 110, .12); transform: translateY(-1px); }
}
@keyframes m1-dot { from { background: transparent; border-color: var(--muted); } }
@keyframes m1-pop { from { opacity: 0; transform: scale(.6); } }
.is-armed .m1-row { animation: m1-move .7s cubic-bezier(.2, .7, .2, 1) 2.45s both; }
.is-armed .m1-row:not(.is-top) { animation: m1-move .7s cubic-bezier(.2, .7, .2, 1) 2.45s both, m1-dim .6s ease 2.45s both; }
.is-armed .m1-row > * { animation: m-in .35s ease calc(var(--i) * 80ms) both; }
.is-armed .is-top > .m1-c { animation: m-in .35s ease calc(var(--i) * 80ms) both, m1-tap .35s ease var(--t) both; }
.is-armed .is-top .m1-dot { animation: m1-dot .2s ease var(--t) both; }
.is-armed .m1-pill { animation: m1-pop .3s cubic-bezier(.3, 1.5, .5, 1) calc(var(--t) + .1s) both; }
.is-armed .m1-h { animation: m-in .4s ease 2.75s both; }

/* 2 · Sharpen: Latest and Next get written, the initiative goes green */
.m2-card { padding: 14px; }
.m2-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.m2-head .mock-title { font-size: 16px; }
.m2-status { display: inline-grid; justify-items: end; flex: none; }
.m2-st { grid-area: 1 / 1; padding: 2px 8px; border-radius: 99px; font-size: 11px; font-weight: 500; white-space: nowrap; }
.m2-risk { background: var(--amber-light); color: var(--amber); opacity: 0; }
.m2-ok { background: var(--teal-light); color: var(--teal-ink); }
.m2-bar { height: 4px; margin: 12px 0 14px; border-radius: 99px; background: var(--line-soft); overflow: hidden; }
.m2-bar span { display: block; height: 100%; background: var(--teal); transform-origin: left; transform: scaleX(.45); }
.m2-label { margin-bottom: 5px !important; font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--stone); }
.m2-field { padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; color: var(--ink-2); }
.m2-field + .m2-label { margin-top: 12px; }
.m2-tw { display: block; width: fit-content; white-space: nowrap; }
@keyframes m2-type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes m2-focus { 0%, 88% { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-light); } }
@keyframes m2-prog { from { transform: scaleX(.2); background: var(--amber); } }
@keyframes m2-flip { from { opacity: 0; transform: scale(.85); } }
.is-armed .m2-tw { animation: m2-type var(--w) steps(var(--n)) var(--d) both; }
.is-armed .m2-f1 { animation: m2-focus 1.7s ease .25s; }
.is-armed .m2-f2 { animation: m2-focus 1.3s ease 2s; }
.is-armed .m2-bar span { animation: m2-prog .8s cubic-bezier(.4, 0, .2, 1) 3.3s both; }
.is-armed .m2-risk { animation: m-out .25s ease 3.65s both; }
.is-armed .m2-ok { animation: m2-flip .3s ease 3.7s both; }

/* 3 · Bring people along: AI drafts, you approve, it posts */
.mock-bar .m3-count { min-width: 18px; padding: 0 6px; border-radius: 99px; background: var(--teal); color: #fff; font-size: 11px; font-weight: 500; line-height: 18px; text-align: center; opacity: 0; }
.m3-stage { display: grid; }
.m3-stage > * { grid-area: 1 / 1; }
.m3-card { position: relative; padding: 12px 14px 14px; opacity: 0; }
.m3-tag { display: inline-flex; align-items: center; gap: 5px; padding: 1px 8px; border-radius: 99px; background: var(--line-soft); color: var(--stone); font-size: 11px; font-weight: 500; }
.m3-body { margin: 8px 0 12px !important; color: var(--ink-2); }
.m3-body strong { color: var(--text); font-weight: 500; }
.m3-actions { display: flex; justify-content: flex-end; gap: 8px; }
.m3-btn { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 12px; border-radius: 7px; font-weight: 500; }
.m3-edit { border: 1px solid var(--border); color: var(--ink-2); }
.m3-approve { position: relative; background: var(--teal); color: #fff; }
.m3-cur { position: absolute; left: 55%; top: 55%; color: var(--text); opacity: 0; }
.m3-done, .m3-ok { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--teal); color: #fff; }
.m3-done { position: absolute; top: 10px; right: 10px; }
.m3-posted { align-self: center; display: grid; justify-items: center; gap: 4px; padding: 8px; text-align: center; }
.m3-posted .m3-ok { margin-bottom: 4px; width: 28px; height: 28px; }
.m3-posted strong { font-weight: 500; }
@keyframes m3-card {
  0% { opacity: 0; transform: translateX(28px); }
  15%, 81% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateX(-32px); }
}
@keyframes m3-cur {
  0% { opacity: 0; transform: translate(70px, 44px); }
  20% { opacity: 1; }
  60% { transform: none; }
  70% { transform: scale(.82); }
  82% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: none; }
}
@keyframes m3-press { 50% { transform: scale(.94); background: var(--teal-ink); } 100% { background: var(--teal-ink); } }
@keyframes m3-badge { 0%, 92% { opacity: 1; } 100% { opacity: 0; } }
.is-armed .m3-card { animation: m3-card 2.9s ease .2s both; }
.is-armed .m3-cur { animation: m3-cur 1.3s ease .7s both; }
.is-armed .m3-approve { animation: m3-press .3s ease 1.6s both; }
.is-armed .m3-done { animation: m1-pop .3s cubic-bezier(.3, 1.5, .5, 1) 1.85s both; }
.is-armed .m3-count { animation: m3-badge 2.9s linear .2s both; }
.is-armed .m3-posted { animation: m-in .4s ease 3s both; }

/* How it works: the structure underneath (tiles 4–7) */
.how-sub { margin: 4rem 0 .5rem; font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.25; letter-spacing: -.01em; }
.how-lead { margin: 0 0 2.5rem; max-width: 60ch; color: var(--stone); }
@media (min-width: 900px) { .how-sub { margin-top: 6rem; } .how-lead { margin-bottom: 3.5rem; } }

/* Shared by the pickers in 5 and 7 */
.m-ph { padding: 2px 8px 4px; font-size: 10.5px; line-height: 14px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--stone); }
.m5-pick, .m7-pick {
  position: absolute; z-index: 2; padding: 6px;
  background: var(--card); border: 1px solid var(--border); border-radius: 9px;
  box-shadow: 0 8px 24px rgba(28, 25, 23, .12); opacity: 0;
}
.m5-cur, .m7-cur { position: absolute; z-index: 3; color: var(--text); opacity: 0; }
@keyframes m-pick { 0% { opacity: 0; transform: translateY(-4px); } 12%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
@keyframes m-hl { from { background: transparent; color: var(--text); } }
@keyframes m-press { 50% { transform: scale(.95); background: var(--line-soft); } }
/* Cursor: arrives, presses the trigger, travels to an option (--cx/--cy), presses, leaves */
@keyframes m-cur {
  0% { opacity: 0; transform: translate(50px, 60px); }
  12% { opacity: 1; }
  30% { transform: translate(0, 0); }
  36% { transform: translate(0, 0) scale(.82); }
  42% { transform: translate(0, 0); }
  66% { transform: translate(var(--cx), var(--cy)); }
  71% { transform: translate(var(--cx), var(--cy)) scale(.82); }
  76% { transform: translate(var(--cx), var(--cy)); }
  88% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--cx), var(--cy)); }
}

/* 4 · Structure: a goal, its key results, the initiatives under them */
.m4-tree { padding: 12px 12px 10px; }
.m4-goal { display: flex; align-items: center; gap: 8px; height: 26px; }
.m4-mark { width: 10px; height: 10px; border-radius: 3px; background: var(--teal); flex: none; }
.m4-lv { font-size: 10.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--stone); }
.m4-goal .m2-tw { font-family: var(--serif); font-size: 15px; letter-spacing: -.01em; }
.m4-kids { margin-left: 4.5px; }
.m4-node { position: relative; padding: 4px 0 0 18px; }
.m4-node::before, .m4-node::after { content: ""; position: absolute; left: 0; background: var(--border); }
.m4-node::before { top: 0; bottom: 0; width: 1px; }
.m4-node:last-child::before { bottom: auto; height: 18px; }
.m4-node::after { top: 18px; width: 12px; height: 1px; }
.m4-kr, .m4-init { display: flex; align-items: center; gap: 8px; height: 28px; min-width: 0; }
.m4-init { padding: 0 10px; background: var(--card); border: 1px solid var(--border); border-radius: 8px; }
.m4-ring { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--teal); flex: none; }
.m4-name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m4-kr .m4-name { font-weight: 500; }
.m4-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex: none; }
.m4-dot.is-amber { background: var(--amber); }
.m4-pill {
  flex: none; padding: 1px 8px; border-radius: 99px; white-space: nowrap;
  font-size: 11px; font-weight: 500; color: var(--teal-ink);
  background: linear-gradient(90deg, #d3ede8 var(--p), var(--teal-light) var(--p));
}
@keyframes m4-in { from { opacity: 0; transform: translateX(-8px); } }
.is-armed .m4-mark { animation: m1-pop .3s cubic-bezier(.3, 1.5, .5, 1) .1s both; }
.is-armed .m4-lv { animation: m-in .3s ease .15s both; }
.is-armed .m4-node { animation: m4-in .4s cubic-bezier(.2, .7, .2, 1) var(--d) both; }
.is-armed .m4-pill { animation: m1-pop .3s cubic-bezier(.3, 1.5, .5, 1) calc(var(--d) + .3s) both; }

/* 5 · Nothing floats loose: an orphan gets linked to a key result */
.m5-card { padding: 12px 14px 14px; }
.m5-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; min-height: 34px; }
.m5-crumbs { display: grid; flex: 1; min-width: 0; }
.m5-crumbs > * { grid-area: 1 / 1; }
.m5-none { font-size: 12px; line-height: 17px; font-style: italic; color: var(--muted); opacity: 0; }
.m5-crumb { font-size: 12px; line-height: 17px; color: var(--stone); }
.m5-crumb > span { white-space: nowrap; }
.m5-crumb b { font-weight: 500; color: var(--ink-2); }
.m5-linked { flex: none; display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 99px; background: var(--teal-light); color: var(--teal-ink); font-size: 11px; font-weight: 500; }
.m5-link { position: relative; display: grid; margin: 6px 0 12px; }
.m5-nudge, .m5-done { grid-area: 1 / 1; display: flex; align-items: center; height: 30px; padding: 0 10px; border-radius: 8px; }
.m5-nudge { border: 1px dashed var(--muted); color: var(--stone); opacity: 0; }
.m5-done { background: var(--teal-light); color: var(--teal-ink); font-size: 12px; }
.m5-pick { left: 0; top: calc(100% + 4px); width: min(100%, 270px); }
.m5-opt { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 30px; padding: 0 8px; border-radius: 6px; white-space: nowrap; }
.m5-opt span { font-size: 11.5px; color: var(--stone); }
.m5-opt.is-pick { background: var(--teal-light); color: var(--teal-ink); }
.m5-cur { left: 128px; top: 14px; --cx: -58px; --cy: 88px; }
.m5-text { color: var(--ink-2); }
.m5-text + .m2-label { margin-top: 10px; }
.is-armed .m5-cur { animation: m-cur 2.3s ease .3s both; }
.is-armed .m5-nudge { animation: m-press .25s ease 1.05s, m-out .25s ease 2.25s both; }
.is-armed .m5-pick { animation: m-pick 1.05s ease 1.2s both; }
.is-armed .m5-opt.is-pick { animation: m-hl .15s ease 1.75s both; }
.is-armed .m5-none { animation: m-out .25s ease 2.25s both; }
.is-armed .m5-crumb { animation: m-in .35s ease 2.3s both; }
.is-armed .m5-done { animation: m-in .35s ease 2.35s both; }
.is-armed .m5-linked { animation: m1-pop .3s cubic-bezier(.3, 1.5, .5, 1) 2.6s both; }

/* 6 · Progress rolls up: one Latest moves the initiative, the KR, the goal */
.m6-card { padding: 10px 14px 14px; }
.m6-lvl { margin: 0 -8px; padding: 6px 8px 8px; border-radius: 8px; }
.m6-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.m6-lab { font-weight: 500; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m6-goal .m6-lab { font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--stone); }
.m6-lab small { margin-right: 6px; font-size: 10.5px; letter-spacing: .06em; color: var(--stone); }
.m6-num { display: inline-grid; justify-items: end; flex: none; font-weight: 500; font-variant-numeric: tabular-nums; }
.m6-num > * { grid-area: 1 / 1; }
.m6-goal .m6-num { font-family: var(--serif); font-weight: 400; font-size: 17px; line-height: 1.2; }
.m6-a { opacity: 0; }
.m6-bar { position: relative; height: 5px; border-radius: 99px; background: var(--line-soft); }
.m6-bar span { position: absolute; inset: 0; border-radius: inherit; background: var(--teal); transform-origin: left; transform: scaleX(var(--b)); }
.m6-bar i { position: absolute; left: var(--x); top: -3px; width: 2px; height: 11px; border-radius: 1px; background: var(--ink-2); }
.m6-branch { margin: 4px 0 0 4px; padding-left: 14px; border-left: 1px solid var(--border); }
.m6-branch .m6-branch { margin-top: 6px; }
.m6-init { padding: 10px 12px 12px; border: 1px solid var(--border); border-radius: 8px; }
.m6-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.m6-name { font-weight: 500; min-width: 0; }
@keyframes m6-grow { from { transform: scaleX(var(--a)); } }
@keyframes m6-flash { 30% { background: var(--teal-light); } }
.is-armed .m6-field { animation: m2-focus 1.6s ease .25s; }
.is-armed .m6-status .m2-risk { animation: m-out .25s ease 1.95s both; }
.is-armed .m6-status .m2-ok { animation: m2-flip .3s ease 2s both; }
.is-armed .m6-lvl { animation: m6-flash 1s ease var(--d); }
.is-armed .m6-lvl .m6-a { animation: m-out .2s ease var(--d) both; }
.is-armed .m6-lvl .m6-b { animation: m2-flip .3s ease calc(var(--d) + .05s) both; }
.is-armed .m6-lvl .m6-bar span { animation: m6-grow .7s cubic-bezier(.4, 0, .2, 1) var(--d) both; }

/* 7 · Drop it, with a reason: pick why, it parks, the KR count drops */
.m7-kr { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 8px; font-size: 12px; color: var(--stone); }
.m7-kr b { font-weight: 500; color: var(--ink-2); }
.m7-count { display: inline-grid; justify-items: end; flex: none; white-space: nowrap; }
.m7-count > * { grid-area: 1 / 1; }
.m7-a { opacity: 0; }
.m7-chip { display: flex; align-items: center; gap: 8px; height: 32px; margin-bottom: 8px; padding: 0 10px; background: var(--card); border: 1px solid var(--border); border-radius: 8px; }
.m7-stage { display: grid; }
.m7-stage > * { grid-area: 1 / 1; }
.m7-card { position: relative; padding: 12px 14px 14px; opacity: 0; transform: scale(.96); }
.m7-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.m7-danger { background: var(--red-light); color: var(--red); }
.m7-dropwrap { position: relative; margin-left: auto; }
.m7-drop { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border: 1px solid var(--border); border-radius: 7px; color: var(--stone); font-weight: 500; }
.m7-pick { right: 0; top: calc(100% + 4px); width: 220px; }
.m7-opt { height: 28px; padding: 0 8px; border-radius: 6px; line-height: 28px; white-space: nowrap; }
.m7-opt.is-pick { background: var(--line-soft); }
.m7-cur { left: 50%; top: 60%; --cx: -124px; --cy: 103px; }
.m7-text { color: var(--ink-2); }
.m7-text + .m2-label { margin-top: 10px; }
.m7-parked {
  align-self: end; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 2px 12px;
  padding: 10px 12px; border: 1px dashed var(--muted); border-radius: 8px; color: var(--stone);
}
.m7-calm { align-self: center; justify-self: center; margin-bottom: 52px; display: inline-flex; align-items: center; gap: 6px; color: var(--teal-ink); font-size: 12px; }
.m7-calm::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.m7-plab { grid-row: span 2; font-size: 10.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.m7-ptitle { text-decoration: line-through; text-decoration-color: var(--muted); }
.m7-reason { grid-column: 2; font-size: 11.5px; color: var(--muted); }
@keyframes m7-out { from { opacity: 1; transform: none; } }
@keyframes m7-park { from { opacity: 0; transform: translateY(16px); } }
.is-armed .m7-cur { animation: m-cur 2.3s ease .3s both; }
.is-armed .m7-drop { animation: m-press .25s ease 1.05s; }
.is-armed .m7-pick { animation: m-pick 1.05s ease 1.2s both; }
.is-armed .m7-opt.is-pick { animation: m-hl .15s ease 1.75s both; }
.is-armed .m7-card { animation: m7-out .45s ease 2.45s both; }
.is-armed .m7-parked { animation: m7-park .45s cubic-bezier(.2, .7, .2, 1) 2.85s both; }
.is-armed .m7-calm { animation: m-in .4s ease 3.25s both; }
.is-armed .m7-a { animation: m-out .25s ease 3s both; }
.is-armed .m7-b { animation: m2-flip .3s ease 3.05s both; }

@media (prefers-reduced-motion: reduce) {
  .mock * { animation: none !important; }
}

/* How it works: links out to the three screens pages */
.benefits-lead { margin: .75rem 0 2rem; max-width: 60ch; color: var(--stone); }
.benefits-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.screen-link {
  display: block; height: 100%; padding: 1rem 1.1rem 1.1rem;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
  color: var(--text); text-decoration: none; transition: border-color .15s ease;
}
.screen-link:hover { border-color: var(--teal); color: var(--text); }
.screen-link b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.25rem; line-height: 1.25; letter-spacing: -.01em; }
.screen-link span { display: block; margin-top: .3rem; font-size: .9375rem; line-height: 1.45; color: var(--ink-2); }
.screen-link em { display: block; margin-top: .45rem; font-style: normal; font-size: .8125rem; font-weight: 500; color: var(--teal); }
@media (min-width: 720px) { .benefits-grid ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; } }
@media (min-width: 1100px) { .benefits-grid ul { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.supporting {
  margin: 3rem 0 0; max-width: 38rem;
  font-size: .9375rem; color: var(--stone);
}
.supporting + .supporting { margin-top: .6rem; }

/* Pull quote */
.pull { padding: 5rem 0; border-top: 1px solid var(--line-soft); }
.pull blockquote { margin: 0; max-width: 52rem; }
.pull blockquote p {
  margin: 0;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2rem, 4.6vw + .8rem, 4rem);
  line-height: 1.08; letter-spacing: -.02em;
  text-wrap: balance;
}
.pull .aside { margin: 1.5rem 0 0; color: var(--stone); max-width: 34rem; }
@media (min-width: 900px) { .pull { padding: 8rem 0; } }

/* Pricing */
.price-card {
  max-width: 30rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 1.75rem 1.5rem;
}
.price-card .tier { margin: 0; font-weight: 500; color: var(--teal-ink); }
.price-card .price {
  margin: .4rem 0 0;
  font-family: var(--serif); font-weight: 300;
  font-size: 3.5rem; line-height: 1; letter-spacing: -.02em;
}
.price-card .price small { font-family: var(--sans); font-size: 1rem; color: var(--stone); letter-spacing: 0; margin-left: .2rem; }
.price-card ul { list-style: none; margin: 1.25rem 0 1.5rem; padding: 0; color: var(--ink-2); }
.price-card li { padding: .55rem 0; border-top: 1px solid var(--line-soft); }
.price-card .fine { margin: 1rem 0 0; font-size: .9375rem; color: var(--stone); }
@media (min-width: 900px) {
  .pricing-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; align-items: start; }
  .price-card { padding: 2.25rem 2.25rem 2rem; }
}

/* Closing + footer */
.closing { padding: 4rem 0 3rem; border-top: 1px solid var(--line-soft); }
.closing p {
  margin: 0 0 1.75rem; max-width: 30ch;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.625rem, 2.6vw + 1rem, 2.5rem); line-height: 1.15; letter-spacing: -.015em;
}
.site-footer { padding: 2.5rem 0 3rem; border-top: 1px solid var(--border); font-size: .9375rem; color: var(--stone); }
.site-footer .wrap { display: grid; gap: 1.25rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--teal-ink); text-decoration: underline; }
.site-footer p { margin: 0; }
@media (min-width: 900px) {
  .site-footer .wrap { grid-template-columns: auto 1fr; align-items: start; gap: 1rem 2.5rem; }
  .site-footer p { grid-column: 2; }
  .site-footer ul { grid-column: 2; justify-content: flex-start; }
}

/* ---------- Long-form (article + legal) ---------- */
.prose-wrap { max-width: calc(var(--measure) + 2 * var(--gutter)); margin: 0 auto; padding: 2rem var(--gutter) 4rem; }
@media (min-width: 900px) { .prose-wrap { padding-top: 4rem; padding-bottom: 6rem; } }

.article-head h1, .prose h1 {
  margin: 0;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.25rem, 4.5vw + 1rem, 3.5rem);
  line-height: 1.08; letter-spacing: -.02em;
  text-wrap: balance;
}
.standfirst { margin: 1.1rem 0 0; font-size: 1.1875rem; line-height: 1.55; color: var(--ink-2); }
.byline { margin: 1.4rem 0 0; padding-top: 1rem; border-top: 1px solid var(--border); font-size: .9375rem; color: var(--stone); }
.byline strong { color: var(--text); font-weight: 500; }

.prose { font-size: 1.0625rem; line-height: 1.7; }
.prose > * + * { margin-top: 1.1rem; }
.prose p, .prose ul, .prose ol { margin-bottom: 0; }
.prose h2 {
  margin: 2.75rem 0 0;
  font-family: var(--serif); font-weight: 400;
  font-size: 1.75rem; line-height: 1.2; letter-spacing: -.01em;
}
.prose h3 { margin: 2rem 0 0; font-family: var(--serif); font-weight: 400; font-size: 1.3rem; line-height: 1.3; }
.prose h2 + *, .prose h3 + * { margin-top: .7rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li + li { margin-top: .45rem; }
.prose li::marker { color: var(--stone); }
.prose strong { font-weight: 600; }
.article-body { margin-top: 2.5rem; }

.template {
  margin: 1.5rem 0 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.25rem 1rem;
}
.template-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .75rem; font-size: .875rem; color: var(--stone); }
.template blockquote { margin: 0; font-family: var(--serif); font-size: 1.125rem; line-height: 1.6; color: var(--text); }
.template blockquote p { margin: 0; }
.template blockquote p + p { margin-top: .8rem; }
.copy-btn {
  font: 500 .875rem/1 var(--sans); color: var(--teal-ink);
  background: var(--teal-light); border: 1px solid transparent; border-radius: 6px;
  padding: .45rem .7rem; cursor: pointer; min-height: 32px;
}
.copy-btn:hover { border-color: var(--teal); }

.inline-cta {
  margin: 2.25rem 0 0;
  padding: 1.1rem 1.25rem;
  background: var(--teal-light);
  border-radius: var(--radius);
  color: var(--ink-2);
}
.inline-cta p { margin: 0; }
.inline-cta a { font-weight: 500; }

.end-cta {
  margin-top: 3.5rem; padding: 2rem 1.5rem;
  background: var(--card); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow);
}
.end-cta h2 { margin: 0 0 .5rem; font-family: var(--serif); font-weight: 300; font-size: 1.875rem; line-height: 1.15; }
.end-cta p { margin: 0 0 1.25rem; color: var(--ink-2); }

.legal h1 { margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.375rem; }
.legal { font-size: 1rem; color: var(--ink-2); }
.legal strong { color: var(--text); }

.pricing-wrap .supporting { margin-top: 0; }

/* Founder note */
.founder-wrap { display: grid; gap: 1.5rem; }
.founder-side { display: flex; flex-direction: column; gap: 1.25rem; }
.founder-side h2 { margin: 0; }
.founder-photo {
  width: 96px; height: 96px; border-radius: 50%;
  object-fit: cover; flex: none;
}
.founder-initials {
  display: grid; place-items: center;
  background: var(--teal); color: #fff;
  font-family: var(--serif); font-weight: 300; font-size: 2rem; letter-spacing: -.02em;
}
.founder-note { max-width: var(--measure); }
.founder-note p { margin: 0 0 1.1rem; font-size: 1.0625rem; line-height: 1.6; }
.founder-note p:first-child { font-family: var(--serif); font-weight: 300; font-size: 1.5rem; line-height: 1.3; letter-spacing: -.01em; }
.founder-sig { margin-top: 1.75rem; display: flex; flex-direction: column; gap: .15rem; }
.founder-sig strong { font-family: var(--serif); font-weight: 500; font-size: 1.125rem; }
.founder-sig span { color: var(--stone); font-size: .9375rem; }
@media (min-width: 900px) {
  .founder-wrap { grid-template-columns: 1fr 2fr; gap: 3rem; align-items: start; }
}

.footer-group { color: var(--stone); }
.crumb { margin: 0 0 .5rem; font-size: .875rem; color: var(--stone); }
.crumb a { color: var(--stone); }
.crumb a:hover { color: var(--teal-ink); }
.nav-links a[aria-current="true"] { color: var(--teal-ink); }

/* Benefits dropdown (desktop nav) */
.nav-links .has-sub { position: relative; }
.nav-links .has-sub > button { display: inline-flex; align-items: center; gap: .3rem; padding: 0; border: 0; background: none; font: inherit; font-size: .9375rem; color: var(--ink-2); cursor: pointer; }
.nav-links .has-sub > button:hover, .nav-links .has-sub > button[aria-current="true"] { color: var(--text); }
.nav-links .has-sub > button svg { transition: transform .15s ease; }
.nav-links .sub {
  position: absolute; top: calc(100% + .6rem); left: -0.75rem; z-index: 30; min-width: 19rem;
  list-style: none; margin: 0; padding: .4rem;
  background: var(--card); border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s;
}
.nav-links .sub::before { content: ""; position: absolute; top: -.7rem; left: 0; right: 0; height: .7rem; }
.nav-links .has-sub:hover .sub, .nav-links .has-sub:focus-within .sub, .nav-links .has-sub.is-open .sub {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
.nav-links .has-sub:hover > button svg, .nav-links .has-sub:focus-within > button svg, .nav-links .has-sub.is-open > button svg { transform: rotate(180deg); }
.nav-links .sub a { display: block; padding: .55rem .7rem; border-radius: 6px; color: var(--text); }
.nav-links .sub a:hover, .nav-links .sub a:focus-visible { background: var(--teal-light); color: var(--teal-ink); }
.nav-links .sub b { display: block; font-weight: 500; font-size: .9375rem; }
.nav-links .sub small { display: block; margin-top: .1rem; font-size: .8125rem; color: var(--stone); }
.menu .sub-item a { padding-left: 1.75rem; font-size: .9375rem; color: var(--ink-2); }
.menu .menu-label { padding: .6rem .75rem .2rem; color: var(--stone); font-size: .875rem; }

/* Framework page */
.crumb { margin: 0 0 .5rem; }
.fw-lead { margin: 0 0 1.5rem; max-width: var(--measure); color: var(--ink-2); font-size: 1.0625rem; line-height: 1.6; }
.fw-tree { max-width: 46rem; margin: 0 0 2rem; padding: .25rem 0; font-size: .9375rem; }
.fw-row { display: grid; grid-template-columns: 6.5rem 1fr auto; align-items: baseline; gap: .75rem; padding: .55rem .75rem; border-left: 2px solid var(--border); }
.fw-l0 { margin-left: 0; } .fw-l1 { margin-left: 1.25rem; } .fw-l2 { margin-left: 2.5rem; } .fw-l3 { margin-left: 3.75rem; }
.fw-l1, .fw-l2, .fw-l3 { border-left-color: var(--teal); }
.fw-tag { font-family: var(--mono, ui-monospace, monospace); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--stone); }
.fw-name { color: var(--text); }
.fw-l1 .fw-name { font-family: var(--serif); font-size: 1.125rem; }
.fw-note { font-size: .8125rem; color: var(--stone); white-space: nowrap; }
@media (max-width: 600px) { .fw-row { grid-template-columns: 1fr; gap: .15rem; } .fw-note { white-space: normal; } .fw-l1 { margin-left: .75rem; } .fw-l2 { margin-left: 1.5rem; } .fw-l3 { margin-left: 2.25rem; } }
.fw-defs { margin: 0; max-width: 46rem; }
.fw-defs > div { padding: 1rem 0; border-top: 1px solid var(--border); display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; }
.fw-defs > div:last-child { border-bottom: 1px solid var(--border); }
.fw-defs dt { font-family: var(--serif); font-size: 1.125rem; }
.fw-defs dd { margin: 0; color: var(--ink-2); }
@media (max-width: 600px) { .fw-defs > div { grid-template-columns: 1fr; gap: .25rem; } }
.fw-h3 { margin: 2.5rem 0 .5rem; font-family: var(--serif); font-weight: 400; font-size: 1.375rem; }
.gives a { color: var(--teal-ink); }
.hero .hero-demo { margin: 2.5rem auto 0; }
.hero-demo-cap { margin: .9rem 0 0; font-size: .9375rem; color: var(--stone); }
.hero-demo-cap a { color: var(--teal-ink); }
@media (min-width: 900px) { .hero .hero-demo { margin-top: 3rem; } .hero .sub { font-size: 1.1875rem; } }
