/* Noticue website · Direction C "Calm Monochrome"
   Layout: Swiss grid, frost and white bands, joined hairline panels, one blue moment per page.
   Single deliberate light theme (brand look), so color-scheme stays light. */
:root {
  --ink: #0F2350;
  --muted: #5A6888;
  --faint: #8F9BB6;
  --signal: #2A62E6;
  --signal-hover: #1F4FC4;
  --cue: #3A8DFF;
  --frost: #F3F6FC;
  --white: #FFFFFF;
  --tint: #F8FAFE;
  --haze: #E6EDF9;
  --rule: #D6DEEC;
  --rule-soft: #E6EBF4;
  --mike: #845BF3;
  --alert: #C93030;
  --ok: #1FB574;
  --spark: #FFD633;
  --app-ink: #171717;
  --app-muted: #696969;
  --f-ui: Geist, "Geist Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --f-app: Poppins, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --gutter: 40px;
  --navh: 84px;
  color-scheme: light;
}
@media (max-width: 720px) { :root { --gutter: 16px; --navh: 68px; } }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--navh); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; } }
body { margin: 0; background: var(--frost); color: var(--ink); font-family: var(--f-ui); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--signal); }
a:hover { color: var(--signal-hover); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 14px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; color: var(--white); }

.wrap { position: relative; max-width: 1200px; margin: 0 auto; box-sizing: border-box;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.band { padding-block: 120px; }
.band--white { background: var(--white); }
.band--rule { border-top: 1px solid var(--rule); }
.band--tight { padding-block: 88px; }
@media (max-width: 720px) { .band { padding-block: 72px; } .band--tight { padding-block: 56px; } }
.gridbg { position: absolute; inset: 0 max(var(--gutter), env(safe-area-inset-right, 0px)) 0 max(var(--gutter), env(safe-area-inset-left, 0px)); display: grid; grid-template-columns: repeat(12, 1fr); pointer-events: none; border-right: 1px solid rgba(15,35,80,0.06); }
.gridbg span { border-left: 1px solid rgba(15,35,80,0.06); }
@media (max-width: 720px) { .gridbg { grid-template-columns: repeat(4, 1fr); } .gridbg span:nth-child(n+5) { display: none; } }

/* type */
.eyebrow { margin: 0; font-size: 13.5px; font-weight: 600; color: var(--signal); }
.display { margin: 0; font-weight: 600; font-size: clamp(44px, 8.2vw, 96px); line-height: 1; letter-spacing: -0.055em; text-wrap: balance; }
.h1 { margin: 0; font-weight: 600; font-size: clamp(40px, 6vw, 68px); line-height: 1.02; letter-spacing: -0.05em; text-wrap: balance; }
.h2 { margin: 0; font-weight: 600; font-size: clamp(32px, 4.6vw, 56px); line-height: 1.04; letter-spacing: -0.045em; text-wrap: balance; }
.h3 { margin: 0; font-weight: 600; font-size: 22px; line-height: 1.25; letter-spacing: -0.03em; text-wrap: balance; }
.h4 { margin: 0; font-weight: 500; font-size: 17px; line-height: 1.35; letter-spacing: -0.015em; }
.lead { margin: 0; font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 62ch; }
.body { margin: 0; font-size: 16px; line-height: 1.65; color: var(--muted); max-width: 65ch; }
.small { font-size: 13.5px; color: var(--muted); }
.accent { color: var(--cue); }
.num { font-variant-numeric: tabular-nums; }

/* buttons, tags */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 10px; font-family: var(--f-ui); font-size: 15.5px; font-weight: 500; text-decoration: none; cursor: pointer; border: 1px solid transparent; box-sizing: border-box; white-space: nowrap; }
.btn-p { background: var(--signal); color: var(--white); }
.btn-p:hover { background: var(--signal-hover); color: var(--white); }
.btn-g { background: var(--white); color: var(--ink); border-color: var(--rule); }
.btn-g:hover { border-color: var(--ink); color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: #0A1A3D; color: var(--white); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14.5px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.tlink { font-size: 15.5px; font-weight: 500; text-decoration: none; }
a.tag { text-decoration: none; } a.tag:hover { border-color: var(--ink); color: var(--ink); }
.tag { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; color: var(--ink); border: 1px solid var(--rule); background: var(--white); border-radius: 999px; padding: 5px 12px; white-space: nowrap; }
.dot { width: 7px; height: 7px; border-radius: 999px; background: var(--ok); flex: none; }
.dot--y { background: var(--spark); } .dot--b { background: var(--signal); } .dot--r { background: var(--alert); } .dot--g { background: #B9C5DC; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* layout */
.head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 48px; margin-bottom: 48px; }
.head__main { display: flex; flex-direction: column; gap: 16px; max-width: 600px; min-width: 0; }
.head__side { max-width: 420px; min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.center { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split--wide { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.split + .split { margin-top: 96px; }
.split--flip > :first-child { order: 2; }
@media (max-width: 980px) { .split, .split--wide { grid-template-columns: minmax(0, 1fr); gap: 36px; } .split--flip > :first-child { order: 0; } .split + .split { margin-top: 72px; } }
.joined { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; }
.joined > * { background: var(--white); min-width: 0; }
.joined > .is-tint { background: var(--tint); }
.cell { padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: minmax(0, 1fr); } .cell { padding: 24px; } }
.list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; line-height: 1.55; color: var(--ink); }
.list svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--signal); }
.linkcell { text-decoration: none; color: var(--ink); transition: background .2s ease; }
.linkcell:hover { background: var(--tint); color: var(--ink); }
.linkcell .more { margin-top: auto; padding-top: 8px; font-size: 14.5px; font-weight: 500; color: var(--signal); }

/* page hero (inner pages) */
.phero { position: relative; padding-block: 64px 96px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 28px; padding: 0; list-style: none; font-size: 13.5px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--faint); }
.phero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.phero__grid--solo { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
@media (max-width: 980px) { .phero__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } .phero { padding-block: 40px 72px; } }

/* nav */
/* The header stays at the top of the screen on every page and every size. It gets a hairline once the page scrolls. */
.nav { position: -webkit-sticky; position: sticky; top: 0; z-index: 50; background: var(--frost); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.nav.is-scrolled { border-bottom-color: var(--rule); }
.nav__bar { height: var(--navh); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand span { font-family: var(--f-app); font-size: 21px; font-weight: 600; color: var(--cue); }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__item { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-ui); font-size: 15px; color: var(--ink); background: transparent; border: none; border-radius: 9px; padding: 8px 12px; cursor: pointer; text-decoration: none; }
.nav__item:hover, .nav__item[aria-expanded="true"] { background: var(--haze); color: var(--ink); }
.nav__item svg { transition: transform .2s ease; }
.nav__item[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__right { display: flex; align-items: center; gap: 20px; }
.nav__right .signin { font-size: 15px; color: var(--ink); text-decoration: none; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--rule); background: var(--white); border-radius: 10px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.mega { position: absolute; left: max(var(--gutter), env(safe-area-inset-left, 0px)); right: max(var(--gutter), env(safe-area-inset-right, 0px)); top: 76px; background: var(--white); border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; box-shadow: 0 18px 40px rgba(15,35,80,0.10); max-height: calc(100vh - var(--navh) - 16px); overflow-y: auto; }
.mega__grid { display: grid; }
.mega__col { padding: 30px 34px; min-width: 0; }
.mega__col + .mega__col { border-left: 1px solid var(--rule-soft); }
.mega__col.is-tint { background: var(--tint); display: flex; flex-direction: column; }
.mega__h { margin: 0 0 18px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #6B7896; }
.mitem { display: flex; gap: 14px; align-items: flex-start; text-decoration: none; padding: 8px; margin: -8px; border-radius: 10px; }
.mitem:hover { background: var(--frost); }
.mitem__ic { flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--frost); border: 1px solid #DDE4F0; display: flex; align-items: center; justify-content: center; color: var(--signal); }
.mitem__t { display: block; font-size: 15.5px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.mitem__d { display: block; margin-top: 3px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.mlink { display: flex; gap: 12px; align-items: center; text-decoration: none; font-size: 15px; color: var(--ink); padding: 4px 0; }
.mlink:hover { color: var(--signal); }
.mlink svg { color: var(--signal); flex: none; }
.mall { display: inline-flex; gap: 10px; align-items: center; font-size: 15px; font-weight: 500; text-decoration: none; }
.mnav { position: fixed; left: 0; right: 0; top: var(--navh); bottom: 0; z-index: 60; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; background: var(--white); border-top: 1px solid var(--rule); }
.mnav[hidden] { display: none; }
.mnav__in { padding-block: 0 36px; }
.mnav__g { border-bottom: 1px solid var(--rule-soft); }
.mnav__g > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 20px 0; font-size: 21px; font-weight: 600; letter-spacing: -0.025em; color: var(--ink); }
.mnav__g > summary::-webkit-details-marker { display: none; }
.mnav__g > summary svg { color: var(--faint); transition: transform .25s ease, color .25s ease; }
.mnav__g[open] > summary { color: var(--signal); }
.mnav__g[open] > summary svg { transform: rotate(180deg); color: var(--signal); }
.mnav__body { padding: 2px 0 22px; border-top: 1px solid var(--rule-soft); }
.mnav__h { margin: 24px 0 12px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #6B7896; }
.mnav__items { display: flex; flex-direction: column; gap: 4px; }
.mnav .mitem { margin: 0; padding: 10px 0; gap: 16px; align-items: center; }
.mnav .mitem:hover { background: none; }
.mnav .mitem__ic { width: 46px; height: 46px; border-radius: 12px; }
.mnav .mitem__t { font-size: 16.5px; font-weight: 600; letter-spacing: -0.015em; }
.mnav .mitem__d { font-size: 14.5px; line-height: 1.45; }
.mnav__rows { display: flex; flex-direction: column; }
.mnav__row { display: flex; align-items: center; gap: 16px; padding: 12px 0; font-size: 16.5px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.mnav__row svg { flex: none; color: var(--signal); }
.mnav__row .appdot { width: 28px; height: 28px; border-radius: 8px; }
.mnav__row--more { color: var(--signal); }
.mnav__post { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 14px; background: var(--tint); border: 1px solid var(--rule-soft); text-decoration: none; color: var(--ink); }
.mnav__post b { font-size: 17px; line-height: 1.3; font-weight: 600; letter-spacing: -0.02em; }
.mnav__plain { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; font-size: 21px; font-weight: 600; letter-spacing: -0.025em; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule-soft); }
.mnav__plain svg { color: var(--faint); }
.mnav__cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin-top: 28px; }
.mnav__cta .btn { width: 100%; justify-content: center; }
.mnav__cta--one { grid-template-columns: minmax(0, 1fr); }
.mnav__foot { margin: 14px 0 0; text-align: center; font-size: 13.5px; color: var(--muted); }
.burger .i-x { display: none; } .burger[aria-expanded="true"] .i-menu { display: none; } .burger[aria-expanded="true"] .i-x { display: flex; }
.burger span { display: flex; }
html.menu-open { overflow: hidden; }
@media (min-width: 1021px) { .mnav { display: none !important; } }
@media (max-width: 1020px) {
  .nav__links, .nav__right .signin { display: none; }
  .burger { display: inline-flex; }
  .mega { display: none !important; }
}
@media (max-width: 420px) { .nav__right .btn { display: none; } }

/* hero (home) */
.hero { position: relative; }
.hero__in { position: relative; padding-block: 72px 96px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.rotator { display: inline-flex; vertical-align: bottom; margin-right: 0.24em; }
.rotator span { display: block; white-space: nowrap; overflow: hidden; max-width: 0; opacity: 0; filter: blur(10px); transform: translateY(0.15em); color: var(--cue); transition: max-width .7s cubic-bezier(.6,0,.2,1), opacity .5s ease, filter .5s ease, transform .5s ease; }
.rotator span.on { max-width: 5em; opacity: 1; filter: blur(0); transform: none; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 64px; align-items: start; }
@media (max-width: 980px) { .faq { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.qa { background: var(--white); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 28px; font-size: 17px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .sign { flex: none; width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--rule); display: flex; align-items: center; justify-content: center; font-size: 17px; color: var(--ink); }
.qa[open] summary .sign { background: var(--signal); border-color: var(--signal); color: var(--white); }
.qa[open] summary .sign::before { content: "\2212"; }
.qa:not([open]) summary .sign::before { content: "+"; }
.qa .ans { margin: -6px 0 0; padding: 0 72px 24px 28px; font-size: 15.5px; line-height: 1.7; color: var(--muted); }
@media (max-width: 640px) { .qa summary { padding: 18px 20px; } .qa .ans { padding: 0 20px 20px; } }
.qa h3 { margin: 0; font: inherit; }

/* CTA panel */
.cta { position: relative; overflow: hidden; border-radius: 20px; background: var(--signal); color: var(--white); padding: 88px 40px 200px; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.cta .gridbg { inset: 0 40px; border-right-color: rgba(255,255,255,0.08); }
.cta .gridbg span { border-left-color: rgba(255,255,255,0.08); }
.cta .cta__word { position: absolute; max-width: none; left: 50%; bottom: -0.22em; transform: translateX(-50%); margin: 0; white-space: nowrap; font-size: clamp(64px, 17vw, 240px); line-height: 1; font-weight: 600; letter-spacing: -0.06em; color: rgba(255,255,255,0.1); pointer-events: none; }
.cta__tag { position: relative; font-size: 13px; font-weight: 500; color: var(--ink); background: var(--spark); border-radius: 999px; padding: 5px 12px; }
.cta h2 { position: relative; margin: 0; max-width: 820px; font-size: clamp(32px, 4.6vw, 56px); line-height: 1.04; font-weight: 600; letter-spacing: -0.045em; text-wrap: balance; }
.cta p { position: relative; margin: 0; max-width: 600px; font-size: 18px; line-height: 1.6; }
.seg { position: relative; display: inline-flex; background: var(--haze); border-radius: 10px; padding: 4px; }
.seg button { font-family: inherit; font-size: 14.5px; font-weight: 500; border: none; border-radius: 7px; padding: 8px 16px; cursor: pointer; min-height: 38px; background: transparent; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--white); color: var(--ink); box-shadow: 0 0 0 1px var(--rule); }
.cta .seg { position: relative; display: inline-flex; background: rgba(255,255,255,0.14); border-radius: 10px; padding: 4px; }
.cta .seg button { font-family: inherit; font-size: 14.5px; font-weight: 500; border: none; border-radius: 7px; padding: 8px 16px; cursor: pointer; min-height: 38px; background: transparent; color: var(--white); }
.cta .seg button[aria-pressed="true"] { background: var(--white); color: var(--signal); box-shadow: none; }
.wform { position: relative; display: flex; gap: 6px; width: 100%; max-width: 480px; background: var(--white); border-radius: 12px; padding: 6px; box-sizing: border-box; }
.wform input { flex: 1; min-width: 0; font-family: inherit; font-size: 15.5px; padding: 0 14px; height: 46px; border: none; background: transparent; color: var(--ink); outline: none; }
.wform .btn { height: 46px; }
.wform--line { border: 1px solid var(--rule); }
.formnote { position: relative; margin: 0; font-size: 14px; }
.formnote[hidden] { display: none; }
@media (max-width: 520px) { .wform { flex-direction: column; } .wform input { height: 44px; } .cta { padding: 64px 20px 150px; } }

/* footer */
.foot { border-top: 1px solid var(--rule); }
.foot__grid { padding-block: 64px 40px; display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 0.6fr)); gap: 40px; }
.foot__col { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.foot__col a { color: var(--muted); text-decoration: none; }
.foot__col a:hover { color: var(--ink); }
.foot__h { margin: 0 0 2px; font-size: 13px; font-weight: 600; color: var(--ink); }
.foot__base { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid var(--rule); padding-top: 20px; font-size: 13px; color: var(--muted); }
@media (max-width: 980px) { .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot__brand { grid-column: 1 / -1; } }

/* comparison table */
.tablewrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: 16px; background: var(--white); }
.cmp { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14.5px; }
.cmp th, .cmp td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--rule-soft); vertical-align: top; line-height: 1.5; }
.cmp thead th { font-size: 13px; font-weight: 600; color: var(--muted); background: var(--tint); }
.cmp tbody th { font-weight: 500; color: var(--ink); width: 26%; }
.cmp td { color: var(--muted); }
.cmp .us { background: #F3F7FF; color: var(--ink); }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: none; }
.cmpnote { margin: 14px 0 0; font-size: 13px; color: var(--muted); }

/* legal */
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; align-items: start; }
.legal nav { position: sticky; top: calc(var(--navh) + 24px); display: flex; flex-direction: column; gap: 4px; }
.legal nav a { padding: 8px 12px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: 15px; }
.legal nav a[aria-current="page"] { background: var(--haze); color: var(--ink); font-weight: 500; }
.legal article { background: var(--white); border: 1px solid var(--rule); border-radius: 16px; padding: 48px 56px; }
.legal article h2 { margin: 0 0 6px; font-size: 32px; letter-spacing: -0.04em; font-weight: 600; }
.legal article h3 { margin: 36px 0 10px; font-size: 19px; letter-spacing: -0.02em; font-weight: 600; }
.legal article p, .legal article li { font-size: 15.5px; line-height: 1.75; color: #33405F; }
.legal article ul { padding-left: 20px; }
.legal article li + li { margin-top: 8px; }
.legal .eff { color: var(--muted); font-size: 14px; }
.legal .contact { margin-top: 36px; padding: 20px 24px; border-radius: 12px; background: var(--tint); border: 1px solid var(--rule-soft); font-size: 15px; line-height: 1.7; }
@media (max-width: 980px) { .legal { grid-template-columns: minmax(0, 1fr); gap: 24px; } .legal nav { position: static; flex-direction: row; flex-wrap: wrap; } .legal article { padding: 28px 22px; } }

/* product vignettes (Poppins, like the real app) */
.frame { padding: 12px; background: var(--white); border: 1px solid var(--rule); border-radius: 20px; }
.stagebox { position: relative; border-radius: 16px; background: var(--haze); border: 1px solid var(--rule); overflow: hidden; box-sizing: border-box; padding: 28px; }
.stagebox .gridbg { inset: 0; }
.appw { position: relative; background: var(--white); border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; font-family: var(--f-app); color: var(--app-ink); text-align: left; }
.appw__h { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 50px; padding: 0 18px; border-bottom: 1px solid #EDEDED; box-sizing: border-box; }
.appw__h b { font-size: 14px; font-weight: 600; }
.appw__b { padding: 14px 18px; display: flex; flex-direction: column; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 5px; font-family: var(--f-app); font-size: 11px; font-weight: 500; color: #3A3A3A; border: 1px dashed #B1B2B2; border-radius: 5px; padding: 2px 7px; white-space: nowrap; background: var(--white); }
.chip--solid { border-style: solid; }
.chip--blue { border-style: solid; border-color: var(--cue); color: #1F62E0; }
.lab { display: inline-flex; font-family: var(--f-app); font-size: 11px; font-weight: 600; color: var(--white); background: var(--alert); border-radius: 4px; padding: 2px 8px; white-space: nowrap; }
.ncard { display: flex; flex-direction: column; gap: 5px; border: 1px solid #EDEDED; border-radius: 10px; padding: 11px 13px; background: var(--white); }
.ncard.is-sel { border-color: var(--cue); background: #F1F6FF; }
.ncard.is-alert { border-color: #F3C9C9; background: #FFF7F6; }
.ncard__t { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 600; }
.ncard__t span:last-child { font-weight: 400; font-size: 11.5px; color: #8A8F9C; }
.ncard__s { font-size: 12px; line-height: 1.5; color: #5F6472; }
.ncard__c { display: flex; flex-wrap: wrap; gap: 5px; }
.mike { border: 1px solid #D9CCFB; background: #F8F5FF; border-radius: 10px; padding: 13px 14px; display: flex; flex-direction: column; gap: 8px; }
.mike__t { font-size: 12px; font-weight: 600; color: var(--mike); }
.mike__s { font-size: 12.5px; line-height: 1.6; }
.mike__k { font-size: 10px; font-weight: 600; letter-spacing: 1px; color: var(--mike); text-transform: uppercase; }
.todo { display: flex; gap: 9px; align-items: flex-start; background: var(--white); border: 1px solid #EDEDED; border-radius: 8px; padding: 8px 10px; font-size: 12.5px; line-height: 1.45; }
.todo i { flex: none; width: 14px; height: 14px; margin-top: 2px; border: 1.5px solid #B9A6F8; border-radius: 4px; box-sizing: border-box; }
.todo.is-done i { background: var(--ok); border-color: var(--ok); }
.todo.is-done span { color: var(--app-muted); text-decoration: line-through; }
.msg { display: flex; gap: 9px; background: #F6F6F8; border-radius: 9px; padding: 10px 12px; font-size: 12.5px; line-height: 1.5; }
.msg__av { flex: none; width: 24px; height: 24px; border-radius: 999px; background: #E6E7EB; font-size: 10px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.row { display: flex; align-items: center; gap: 12px; padding: 0 18px; min-height: 44px; border-bottom: 1px solid #F2F2F4; font-size: 13px; }
.row .t { flex: none; width: 40%; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .s { flex: 1; min-width: 0; color: var(--app-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row:last-child { border-bottom: none; }
.flow { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); align-items: center; gap: 0; }
.flow__arrow { display: flex; justify-content: center; color: var(--faint); }
@media (max-width: 640px) { .flow { grid-template-columns: minmax(0, 1fr); gap: 12px; } .flow__arrow { transform: rotate(90deg); } }

/* slides */
.slides { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 40px; align-items: center; }
.tabs { display: flex; flex-direction: column; gap: 10px; }
.tab { position: relative; display: flex; flex-direction: column; width: 100%; text-align: left; background: none; border: none; padding: 12px 0 14px 26px; cursor: pointer; font-family: var(--f-ui); color: var(--muted); }
.tab__top { display: flex; align-items: baseline; gap: 12px; }
.tab__n { flex: none; font-size: 13px; font-weight: 500; color: var(--faint); font-variant-numeric: tabular-nums; transition: color .3s ease; }
.tab__t { font-size: 20px; line-height: 1.25; font-weight: 600; letter-spacing: -0.03em; transition: color .3s ease; }
.tab__d { display: block; overflow: hidden; max-height: 0; opacity: 0; transition: max-height .5s ease, opacity .4s ease; }
.tab__d span { display: block; padding: 8px 0 0 30px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.tab__bar { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; border-radius: 3px; background: var(--rule); overflow: hidden; }
.tab__bar i { display: block; width: 3px; height: 0; border-radius: 3px; background: var(--signal); transition: height .7s linear; }
.tab.is-on { color: var(--ink); }
.tab.is-on .tab__n { color: var(--signal); }
.tab.is-on .tab__d { max-height: 160px; opacity: 1; }
.tab:hover .tab__t { color: var(--ink); }
.stage { position: relative; height: 520px; border-radius: 16px; background: var(--haze); border: 1px solid var(--rule); overflow: hidden; box-sizing: border-box; }
.stage .gridbg { inset: 0; grid-template-columns: repeat(8, 1fr); border: none; }
.stage .gridbg span { border-left-color: rgba(15,35,80,0.07); }
.slide { position: absolute; left: 50%; top: 50%; width: 640px; height: 440px; transform: translate(-50%, -50%) scale(var(--s, 1)); }
.slide[hidden] { display: none; }
.slide .appw { height: 100%; }
[data-at] { transition: opacity .45s ease, transform .45s ease; }
.is-anim [data-at]:not(.on) { opacity: 0; transform: translateY(8px); }
.todo[data-done] i, .todo[data-done] span { transition: background .3s ease, border-color .3s ease, color .3s ease; }
@media (max-width: 980px) { .slides { grid-template-columns: minmax(0, 1fr); gap: 24px; } .stage { height: auto; aspect-ratio: 640 / 470; }
  .slides.is-stacked .tabs { gap: 6px; }
  .slides.is-stacked .stage { margin: 2px 0 14px; } }

/* daily cue */
.cue__bars { flex: 1; min-width: 0; height: 60px; display: flex; align-items: center; gap: 3px; }
.cue__bars i { flex: 1; border-radius: 2px; background: var(--rule); transition: height .5s ease, background .3s ease; }
.cue__bars i.played { background: var(--signal); }
.play { flex: none; width: 56px; height: 56px; border-radius: 999px; border: none; background: var(--signal); color: var(--white); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.play .i-pause { display: none; }
.is-playing .play .i-play { display: none; }
.is-playing .play .i-pause { display: block; }
.cue-at { transition: opacity .45s ease, transform .45s ease; }
.cue-at:not(.on) { opacity: 0; transform: translateX(14px); }

/* demo */
.demo-note { display: none; }
@media (max-width: 820px) { .demo-live { display: none; } .demo-note { display: flex; } }
.app * { box-sizing: border-box; }
.app { font-family: var(--f-app); color: var(--app-ink); }
.d-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; text-align: left; font-family: inherit; font-size: 13px; padding: 8px 10px; border-radius: 8px; cursor: pointer; min-height: 36px; background: transparent; border: 1px solid transparent; color: #3A3A3A; }
.d-nav.on { background: #EEF3FD; border-color: #C9D7F6; color: #1F62E0; font-weight: 600; }
.d-item { display: flex; flex-direction: column; gap: 6px; width: 100%; text-align: left; font-family: inherit; border-radius: 10px; padding: 11px 12px; cursor: pointer; background: var(--white); border: 1px solid #EDEDED; }
.d-item.on { background: #F1F7FF; border-color: var(--cue); box-shadow: 0 0 10px rgba(58,141,255,0.25); }
.d-item.alert { background: #FFF6F5; border-color: #F6C8C3; }
.d-item.alert.on { border-color: var(--cue); }
.d-t { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-s { font-size: 12px; line-height: 1.5; color: #4F5672; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.d-act { display: flex; align-items: flex-start; gap: 9px; width: 100%; text-align: left; font-family: inherit; font-size: 12px; line-height: 1.45; background: var(--white); border: 1px solid #EDEDED; border-radius: 8px; padding: 9px 10px; cursor: pointer; min-height: 40px; color: #5B3CC4; }
.d-act i { flex: none; width: 15px; height: 15px; border-radius: 4px; margin-top: 1px; border: 1.5px solid #B9A6F8; box-sizing: border-box; }
.d-act.done i { background: var(--ok); border-color: var(--ok); }
.d-act.done span { color: var(--app-muted); text-decoration: line-through; }
.d-btn { min-height: 40px; border-radius: 9px; font-family: inherit; font-size: 13px; font-weight: 500; cursor: pointer; }
.d-q { font-family: inherit; font-size: 12px; font-weight: 500; color: #5B3CC4; background: var(--white); border: 1px solid #C9BCF8; border-radius: 999px; padding: 8px 12px; cursor: pointer; min-height: 36px; }
.d-toast { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); background: var(--white); color: var(--app-ink); border: 1px solid #DCEBFF; font-size: 13px; font-weight: 500; padding: 10px 16px; border-radius: 10px; box-shadow: 0 10px 30px rgba(18,22,51,0.12); }

/* misc */
.statline { font-size: clamp(24px, 3vw, 32px); line-height: 1.25; font-weight: 500; letter-spacing: -0.035em; margin: 0; }
.statline b { font-weight: 500; color: var(--signal); }
.kbd { font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; color: var(--signal); }
.book { position: relative; aspect-ratio: 210 / 297; max-width: 340px; width: 100%; margin: 0 auto; border-radius: 4px 12px 12px 4px; background: var(--white); border: 1px solid var(--rule); overflow: hidden; padding: 36px 30px 30px 40px; box-sizing: border-box; display: flex; flex-direction: column; }
.book::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: var(--signal); }
.book__k { margin: 0; font-size: 12.5px; font-weight: 600; color: var(--signal); }
.book__t { margin: 18px 0 0; font-size: clamp(30px, 3.4vw, 40px); line-height: 1.02; font-weight: 600; letter-spacing: -0.05em; }
.book__dots { margin-top: auto; display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.book__dots i { aspect-ratio: 1; border-radius: 3px; background: var(--haze); }
.book__dots i.b { background: var(--signal); } .book__dots i.r { background: var(--alert); } .book__dots i.l { background: #8DB0F5; }
.book__a { margin: 18px 0 0; font-size: 13.5px; color: var(--muted); }

/* added for the multi-page site */
.stagepad { position: relative; display: flex; justify-content: center; }
.toggle { flex: none; width: 30px; height: 18px; border-radius: 999px; background: #D5D9E2; position: relative; }
.toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 999px; background: var(--white); }
.toggle.on { background: var(--cue); }
.toggle.on::after { left: 14px; }
.setrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid #F2F2F4; font-size: 13px; }
.setrow:last-child { border-bottom: none; }
.steps { counter-reset: s; }
.steps > * { counter-increment: s; }
.steps .n::before { content: "0" counter(s); }
.n { font-size: 13px; font-weight: 500; color: var(--signal); font-variant-numeric: tabular-nums; }
.bubble { max-width: 84%; border-radius: 12px; padding: 10px 14px; font-size: 13px; line-height: 1.55; box-sizing: border-box; }
.bubble--me { align-self: flex-end; background: #EAF3FF; color: #174CB0; border-radius: 12px 12px 4px 12px; }
.bubble--mike { align-self: flex-start; background: #F7F4FF; color: var(--app-ink); border-radius: 12px 12px 12px 4px; }
.bubble .chips { margin-top: 8px; gap: 5px; }
.typing { display: flex; gap: 4px; padding: 4px 2px; }
.typing i { width: 6px; height: 6px; border-radius: 999px; background: var(--mike); }
.typing i:nth-child(2) { opacity: .6; } .typing i:nth-child(3) { opacity: .3; }
.lane { display: flex; align-items: center; gap: 8px; height: 50px; padding: 0 16px; font-size: 13px; font-weight: 600; box-sizing: border-box; }
.lane .c { margin-left: auto; font-weight: 500; color: var(--app-muted); }
.mini { padding: 9px 16px; min-width: 0; }
.mini b { display: block; font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini span { display: block; margin-top: 3px; font-size: 11.5px; color: var(--app-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appchip { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 58px; font-family: var(--f-app); font-size: 10.5px; font-weight: 500; color: #3A3A3A; border: 1px solid #DCDDE3; border-radius: 5px; padding: 2px 6px; box-sizing: border-box; }
.demo { display: grid; grid-template-columns: 200px 330px minmax(0, 1fr); height: 640px; border-top: 1px solid #EDEDED; }
.demo__nav { border-right: 1px solid #EDEDED; padding: 14px 10px; display: flex; flex-direction: column; gap: 3px; background: #FBFBFC; }
.demo__list { border-right: 1px solid #EDEDED; padding: 12px; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; background: #FAFAFB; }
.demo__main { position: relative; overflow-y: auto; }
.demo__top { display: flex; align-items: center; gap: 14px; height: 56px; padding: 0 16px; }
.demo__search { flex: 1; max-width: 420px; height: 36px; border-radius: 9px; border: 1px solid #E3E4E8; background: #F7F7F9; font-family: var(--f-app); font-size: 13px; padding: 0 12px; color: var(--app-ink); }
.demo__ask { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 9px; border: 1px solid #C9BCF8; background: #F7F4FF; color: #5B3CC4; font-family: var(--f-app); font-size: 13px; font-weight: 500; cursor: pointer; }
.note { display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--rule); background: var(--white); border-radius: 14px; padding: 18px 20px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.note b { color: var(--ink); font-weight: 500; }
.post { text-decoration: none; color: var(--ink); padding: 26px 28px; display: flex; flex-direction: column; gap: 10px; min-height: 168px; box-sizing: border-box; }
.post:hover { background: var(--tint); color: var(--ink); }
.post .eyebrow { font-size: 12.5px; }
.post .h4 { font-weight: 500; font-size: 17.5px; line-height: 1.35; }
.post .more { margin-top: auto; font-size: 14px; font-weight: 500; color: var(--signal); }
.toc { display: flex; flex-direction: column; }
.toc div { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--rule-soft); font-size: 15.5px; }
.toc div span:first-child { color: var(--faint); font-variant-numeric: tabular-nums; font-size: 13.5px; padding-top: 2px; }
.yes { color: var(--ink); }
.contactline { font-family: ui-monospace, Menlo, monospace; font-size: 14px; color: var(--ink); user-select: all; }
.range { width: 100%; height: 28px; accent-color: var(--signal); }
.field label { display: flex; justify-content: space-between; font-size: 15px; color: var(--muted); }
.field label b { font-weight: 500; color: var(--ink); }
.notfound { min-height: 60vh; display: flex; align-items: center; }
.cuegrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.cuegrid > .cell { padding: 32px 36px; }
.timegrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.timegrid > .cell { padding: 40px; }
@media (max-width: 980px) { .cuegrid, .timegrid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .cuegrid > .cell, .timegrid > .cell { padding: 24px 20px; } }
.joined.cols-2 > .cell { padding: 40px; }
@media (max-width: 640px) { .joined.cols-2 > .cell { padding: 24px; } }
.h2s { margin: 0; font-weight: 600; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.06; letter-spacing: -0.045em; text-wrap: balance; }
.phero__grid:not(.phero__grid--solo) .h1 { font-size: clamp(38px, 4.6vw, 60px); }
@media (max-width: 640px) {
  .stagebox { padding: 14px !important; }
  .appw__h { flex-wrap: wrap; padding: 10px 14px; row-gap: 6px; }
  .appw__b { padding: 12px 14px; }
  .flow .appw__h { min-height: 40px; }
}

.ptag { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 500; border: 1px solid #DCDDE3; border-radius: 999px; padding: 2px 9px; }

/* The Daily Cue cards and Plan my day tasks */
.cue__k { margin: 4px 0 -4px; font-size: 13px; font-weight: 500; color: var(--muted); }
.cuecard { width: 100%; text-align: left; font-family: var(--f-app); color: var(--app-ink); cursor: pointer; transition: border-color .3s ease, background .3s ease; }
button.cuecard:hover { border-color: #BBD7FF; }
.ncard.is-alert.is-sel { border-color: var(--cue); }
.task { gap: 8px; font-family: var(--f-app); color: var(--app-ink); transition: opacity .3s ease; }
.task__meta { font-weight: 400 !important; font-size: 11.5px !important; color: #8A8F9C; }
.task__title { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.task__title b { font-weight: 600; min-width: 0; }
.task__k { font-size: 10px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: #8A8F9C; margin-top: 2px; }
.step { width: 100%; text-align: left; font-family: inherit; color: inherit; cursor: pointer; }
.step:hover i { border-color: var(--ok); }
.task__btn { display: flex; align-items: center; justify-content: center; min-height: 36px; border-radius: 8px; border: none; background: #1F62E0; color: var(--white); font-family: inherit; font-size: 12.5px; font-weight: 500; cursor: pointer; margin-top: 2px; }
button.task__btn:hover { background: #1A52BD; }
.task__done { display: none; margin-left: auto; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; color: var(--white); background: var(--ok); border-radius: 999px; padding: 2px 9px 2px 6px; white-space: nowrap; }
.task.is-complete { opacity: .7; }
.task.is-complete .task__done { display: inline-flex; }
.task.is-complete .task__title b { text-decoration: line-through; color: var(--app-muted); }
.task.is-complete .step, .task.is-complete .task__btn, .task.is-complete .task__k { display: none; }
.plan__empty { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 10px; background: var(--white); border: 1px solid var(--rule); font-size: 14.5px; }
.plan__empty[hidden] { display: none; }

/* app letter badges (sample data) */
.appdot { flex: none; width: 22px; height: 22px; box-sizing: border-box; border-radius: 6px; background: var(--white); border: 1px solid #E6E8EE; display: inline-flex; align-items: center; justify-content: center; }
.appdot--lg { width: 40px; height: 40px; border-radius: 11px; }
.appi { flex: none; display: block; }

/* what Noticue does: one thread in, a digest out (lines drawn by initFlow in site.js) */
.dflow { padding: 40px 44px 44px; grid-template-columns: minmax(0, 1fr); border-radius: 22px; border: 1px solid #D9E3F4; background-color: #EDF2FB; background-image: radial-gradient(circle, #C7D5EE 1.2px, transparent 1.6px); background-size: 22px 22px; background-position: 11px 11px; }
.dflow__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 180px minmax(0, 1.12fr); grid-template-areas: "kl . kr" "src mid outs"; row-gap: 18px; }
.dflow__k { justify-self: start; margin: 0; position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; color: var(--ink); background: var(--white); border: 1px solid #D9E3F4; border-radius: 999px; padding: 5px 12px; }
.dflow__kl { grid-area: kl; } .dflow__kr { grid-area: kr; }
.dflow__src { grid-area: src; align-self: center; position: relative; z-index: 1; isolation: isolate; display: flex; flex-direction: column; gap: 12px; }
.dflow__mid { grid-area: mid; position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; }
.fl-outs { grid-area: outs; align-self: center; position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; }
.fl-svg { position: absolute; left: 0; top: 0; z-index: 0; overflow: visible; pointer-events: none; }
.fl-base path { fill: none; stroke: #B9CCEC; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fl-tail, .fl-dot { fill: none; stroke: var(--cue); stroke-linecap: round; opacity: 0; }
.fl-tail { stroke-width: 3; stroke-dasharray: 18 100; stroke-dashoffset: 18; }
.fl-dot { stroke-width: 8; stroke-dasharray: 0.01 100; stroke-dashoffset: 0; }
/* one 6s loop: Asana, Gmail and Slack light up and send a pulse to Mike in turn, then the three results light up */
.fl-tail.fl-a, .fl-tail.fl-b { animation: fl-tail 6s linear infinite both; }
.fl-dot.fl-a, .fl-dot.fl-b { animation: fl-dot 6s linear infinite both; }
.fl-tail.fl-a, .fl-dot.fl-a { animation-delay: calc(0.15s + var(--i) * 0.5s); }
.fl-tail.fl-b, .fl-dot.fl-b { animation-delay: calc(2s + var(--i) * 0.12s); }
@keyframes fl-tail { 0% { stroke-dashoffset: 18; opacity: 0; } 2% { opacity: .35; } 13% { stroke-dashoffset: -100; opacity: .35; } 14%, 100% { stroke-dashoffset: -100; opacity: 0; } }
@keyframes fl-dot { 0% { stroke-dashoffset: 0; opacity: 0; } 2% { opacity: 1; } 13% { stroke-dashoffset: -100; opacity: 1; } 14%, 100% { stroke-dashoffset: -100; opacity: 0; } }
.fl-src { position: relative; background: var(--white); border: 1px solid #DCE5F3; border-radius: 16px; font-family: var(--f-app); color: var(--app-ink); animation: fl-in 6s ease infinite both; animation-delay: calc(var(--i) * 0.5s); }
@keyframes fl-in { 0% { border-color: #DCE5F3; } 3% { border-color: var(--cue); } 10% { border-color: var(--cue); } 16%, 100% { border-color: #DCE5F3; } }
.fl-src--stack { margin-bottom: 15px; }
.fl-src--stack::before, .fl-src--stack::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -8px; height: 8px; border: 1px solid #DCE5F3; border-top: none; border-radius: 0 0 12px 12px; background: var(--white); z-index: -1; }
.fl-src--stack::after { left: 28px; right: 28px; bottom: -15px; height: 15px; z-index: -2; background: #F7F9FD; }
.fl-src__h { display: flex; align-items: center; gap: 9px; padding: 12px 16px 6px; font-size: 13px; }
.fl-src__h b { font-weight: 600; }
.fl-src__n { margin-left: auto; font-size: 11px; font-weight: 600; color: var(--signal); background: #EEF4FF; border-radius: 999px; padding: 3px 9px; }
.fl-src__m { margin-left: auto; font-size: 11.5px; color: #9AA0AE; }
.fl-src__t { margin: 0; padding: 0 16px; font-size: 13.5px; font-weight: 600; line-height: 1.4; color: var(--app-ink); }
.fl-src__x { margin: 0; padding: 2px 16px 13px; font-size: 12.5px; line-height: 1.45; color: #4A4F63; }
.fl-src .fl-msg { padding: 4px 16px 13px; }
.fl-msg { display: flex; gap: 11px; padding: 8px 18px; font-size: 12.5px; line-height: 1.45; color: #4A4F63; }
.fl-msg:last-child { padding-bottom: 16px; }
.fl-msg b { font-weight: 600; color: var(--app-ink); }
.fl-msg i { font-style: normal; color: #9AA0AE; font-size: 11px; }
.fl-av { flex: none; width: 26px; height: 26px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; }
.fl-hub { position: relative; flex: none; width: 50px; height: 50px; border-radius: 999px; background: var(--white); border: 1px solid #DCD0FB; color: var(--mike); display: flex; align-items: center; justify-content: center; }
.fl-hub::before { content: ""; position: absolute; inset: -9px; border-radius: 999px; background: rgba(132, 91, 243, 0.14); z-index: -1; animation: fl-halo 6s ease-out infinite; animation-delay: 1.85s; opacity: 0; }
@keyframes fl-halo { 0% { opacity: 1; transform: scale(.7); } 22% { opacity: 0; transform: scale(1.25); } 100% { opacity: 0; transform: scale(1.25); } }
.fl-hub__k { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); white-space: nowrap; font-family: var(--f-ui); font-size: 12px; font-weight: 500; color: var(--mike); background: #F3EEFF; border-radius: 999px; padding: 3px 10px; }
.fl-out { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 16px 12px 12px; background: var(--white); border: 1px solid #DCE5F3; border-radius: 16px; animation: fl-card 6s ease infinite both; animation-delay: calc(2.75s + var(--i) * 0.12s); }
@keyframes fl-card { 0% { border-color: #DCE5F3; } 4% { border-color: var(--cue); } 26% { border-color: var(--cue); } 42%, 100% { border-color: #DCE5F3; } }
.fl-ico { width: 34px; height: 34px; border-radius: 999px; display: flex; align-items: center; justify-content: center; }
.fl-ico--p { background: #F1ECFF; color: #6B46E5; } .fl-ico--b { background: #EAF2FF; color: var(--signal); } .fl-ico--y { background: #FFF6D6; color: #8A6A00; }
.fl-ico--r { background: #FDECEC; color: var(--alert); } .fl-ico--g { background: #E4F6EE; color: #148A57; }
.fl-out__b { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.fl-out__k { font-size: 11.5px; font-weight: 500; color: var(--faint); }
.fl-out__v { font-family: var(--f-app); font-size: 13px; line-height: 1.45; color: var(--app-ink); }
.fl-in { color: var(--app-muted); font-size: 12px; }
@media (prefers-reduced-motion: reduce) { .fl-pulse, .fl-hub::before { display: none; } .fl-out, .fl-src { animation: none; } }
@media (max-width: 1100px) { .dflow__grid { grid-template-columns: minmax(0, 1fr) 136px minmax(0, 1.12fr); } }
@media (max-width: 760px) {
  .dflow { padding: 24px 16px 26px; border-radius: 18px; }
  .dflow__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "kl" "src" "mid" "kr" "outs"; row-gap: 0; }
  .dflow__kl { margin: 0 0 12px 50px; }
  .dflow__src { padding-left: 50px; gap: 10px; }
  .dflow__mid { height: 92px; padding-left: 0; justify-content: flex-start; }
  .fl-hub__k { top: 50%; left: calc(100% + 14px); transform: translateY(-50%); }
  .dflow__kr { margin: 0 0 12px 50px; }
  .dflow__kl { justify-self: start; }
  .fl-outs { padding-left: 50px; gap: 10px; }
}

/* slide 3: sorted for you */
.s3col { min-width: 0; background: #F7F8FA; border-radius: 10px; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.s3col__h { display: flex; align-items: center; gap: 7px; padding: 2px 2px 2px; font-size: 12.5px; font-weight: 600; }
.s3n { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; box-sizing: border-box; border-radius: 999px; background: var(--white); border: 1px solid #E6E7EB; font-size: 11px; font-weight: 600; color: #3A3A3A; display: inline-flex; align-items: center; justify-content: center; }
.s3n--r { color: #C93030; border-color: #F3D2D2; }
.s3c { min-width: 0; background: var(--white); border: 1px solid #ECEDF0; border-radius: 8px; padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.s3c__t { display: flex; align-items: center; gap: 8px; min-width: 0; }
.s3c__t b { min-width: 0; font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s3c__s { font-size: 11.5px; color: #696969; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-left: 28px; }
.s3alert { border-radius: 10px; background: #FFF6F6; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.s3alert__h { display: flex; align-items: center; gap: 7px; padding: 2px; font-size: 12.5px; font-weight: 600; color: #C93030; }
.s3a { min-width: 0; background: var(--white); border: 1px solid #F3DADA; border-radius: 8px; padding: 10px; display: flex; flex-direction: column; gap: 7px; }
.s3a__t { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.s3a__t b { min-width: 0; font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s3a__s { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 11.5px; color: #696969; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Daily Cue and Plan my day blocks */
.cuegrid .fill { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 8px; }
.cuegrid .fill--plan { gap: 10px; }
.plan3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.plan3 .task .task__btn { margin-top: auto; }
@media (max-width: 980px) { .plan3 { grid-template-columns: minmax(0, 1fr); } }
.cueline { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 10px; width: 100%; text-align: left; background: none; border: none; border-bottom: 1px solid var(--rule-soft); padding: 11px 0; cursor: pointer; font-family: inherit; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.cueline:last-child { border-bottom: none; }
.cueline .tm { font-size: 12.5px; padding-top: 2px; font-variant-numeric: tabular-nums; color: var(--faint); }
.cueline:hover { color: var(--ink); }
.cueline.on { color: var(--ink); font-weight: 500; }
.cueline.on .tm { color: var(--mike); }
.foot__social { display: flex; align-items: center; gap: 12px; margin-top: 6px; font-size: 14px; color: var(--faint); }
.cuegrid .cuecard { padding: 13px 14px; }
.cuegrid .task { padding: 12px 14px; gap: 7px; }
.cuegrid .task .todo { padding: 6px 10px; min-height: 32px; }
.cuegrid .task__btn { min-height: 32px; }
.cuegrid .fill { gap: 12px; }
.cuegrid .task__k { display: none; }
.mnav__post .tlink { color: var(--signal); }
.dflow > .dflow__grid { background: transparent; }
.fl-src__h span:last-child { white-space: nowrap; }

/* ================= blog ================= */
.bhero__grid { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px; }
.bhero__grid .stack { max-width: 680px; }
.bhero__note { margin: 0; max-width: 320px; }
.bthumb { position: relative; display: block; overflow: hidden; border-radius: 12px; aspect-ratio: 16 / 10; background-color: #EDF2FB; background-image: radial-gradient(circle, #C7D5EE 1.2px, transparent 1.6px); background-size: 18px 18px; }
.bthumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.bthumb__fb { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--signal); }
.bthumb__fb svg { width: 26px; height: 32px; opacity: .9; }
.bthumb--feat { aspect-ratio: 16 / 10; border-radius: 16px; }
.bthumb--cover { aspect-ratio: 1200 / 630; border-radius: 20px; }
.bmeta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.bmeta__c { font-weight: 600; color: var(--signal); }
.bmeta span + span::before { content: "\00B7"; margin-right: 10px; color: var(--faint); }
.bfeat { position: relative; margin-top: 44px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 16px; border-radius: 24px; background: var(--white); border: 1px solid var(--rule); text-decoration: none; color: var(--ink); transition: border-color .2s ease; }
.bfeat:hover { border-color: #B9C9E6; }
.bfeat__b { display: flex; flex-direction: column; gap: 16px; padding: 8px 24px 8px 0; }
.bfeat__t { margin: 0; font-size: clamp(28px, 3vw, 40px); line-height: 1.08; font-weight: 600; letter-spacing: -0.04em; text-wrap: balance; }
.bfeat__x { font-size: 17px; line-height: 1.6; color: var(--muted); }
.bfeat__by { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.bfeat__by b { display: block; font-weight: 500; }
.bfeat__by time { display: block; color: var(--muted); font-size: 13px; }
.avatar { flex: none; width: 38px; height: 38px; border-radius: 999px; background: var(--signal); color: var(--white); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; letter-spacing: 0.02em; }
.avatar--lg { width: 52px; height: 52px; font-size: 16px; }
.bbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-bottom: 32px; }
.bchips { display: flex; flex-wrap: wrap; gap: 8px; }
.bchips button { font-family: inherit; font-size: 14px; font-weight: 500; color: var(--ink); background: var(--white); border: 1px solid var(--rule); border-radius: 999px; padding: 8px 14px; min-height: 38px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.bchips button span { font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; }
.bchips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.bchips button[aria-pressed="true"] span { color: rgba(255, 255, 255, 0.6); }
.bgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bcard { display: flex; flex-direction: column; gap: 0; padding: 12px; border-radius: 20px; background: var(--white); border: 1px solid var(--rule); text-decoration: none; color: var(--ink); transition: border-color .2s ease; }
.bcard[hidden] { display: none; }
.bcard:hover { border-color: #B9C9E6; }
.bcard:hover .bcard__t { color: var(--signal); }
.bcard__b { display: flex; flex-direction: column; gap: 10px; padding: 18px 8px 8px; flex: 1; }
.bcard__t { margin: 0; font-size: 19px; line-height: 1.3; font-weight: 600; letter-spacing: -0.02em; transition: color .2s ease; }
.bcard__x { font-size: 15px; line-height: 1.55; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bcard__d { margin-top: auto; padding-top: 6px; font-size: 13px; color: var(--faint); }
.bmore { display: flex; justify-content: center; margin-top: 36px; }
.bmore[hidden] { display: none; }
.bebook > .cell { padding: 44px; }
.minibook { position: relative; width: 132px; aspect-ratio: 210 / 297; box-sizing: border-box; padding: 14px 12px 12px 18px; border-radius: 3px 8px 8px 3px; background: var(--white); border: 1px solid var(--rule); display: flex; flex-direction: column; gap: 6px; overflow: hidden; flex: none; }
.minibook::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--signal); }
.minibook__k { font-size: 8px; font-weight: 600; color: var(--signal); text-transform: uppercase; letter-spacing: 0.08em; }
.minibook__t { font-size: 15px; line-height: 1.05; font-weight: 600; letter-spacing: -0.04em; color: var(--ink); }
.minibook__d { margin-top: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.minibook__d i { aspect-ratio: 1; border-radius: 2px; background: var(--haze); }
.minibook__d i.b { background: var(--signal); } .minibook__d i.r { background: var(--alert); } .minibook__d i.l { background: #8DB0F5; }
.minibook--lg { width: 210px; padding: 22px 18px 18px 28px; gap: 10px; }
.minibook--lg::before { width: 9px; }
.minibook--lg .minibook__k { font-size: 11px; }
.minibook--lg .minibook__t { font-size: 25px; }
@media (max-width: 980px) { .bfeat { grid-template-columns: minmax(0, 1fr); gap: 20px; } .bfeat__b { padding: 0 8px 8px; } .bgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .bgrid { grid-template-columns: minmax(0, 1fr); } .bebook > .cell { padding: 28px 22px; } }

/* single post */
.post__head { padding-bottom: 0; }
.post__intro { position: relative; max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.post__meta { display: flex; align-items: center; gap: 12px; }
.post__h1 { margin: 0; font-size: clamp(36px, 5.4vw, 64px); line-height: 1.03; font-weight: 600; letter-spacing: -0.05em; text-wrap: balance; }
.post__dek { max-width: 680px; }
.byline { display: flex; align-items: center; gap: 12px; text-align: left; font-size: 15px; }
.byline b { display: block; font-weight: 500; }
.byline .small { display: block; margin: 0; font-size: 13.5px; }
.post__cover { position: relative; margin: 48px auto 0; max-width: 1040px; }
.post__band { padding-top: 64px; }
.post__grid { display: grid; grid-template-columns: 240px minmax(0, 700px); gap: 72px; justify-content: center; align-items: start; }
.post__side { position: sticky; top: calc(var(--navh) + 24px); display: flex; flex-direction: column; gap: 24px; }
.ptoc { border-left: 2px solid var(--rule-soft); padding-left: 16px; }
.ptoc summary { list-style: none; cursor: pointer; font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #6B7896; margin-bottom: 12px; }
.ptoc summary::-webkit-details-marker { display: none; }
.ptoc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ptoc a { font-size: 14px; line-height: 1.4; color: var(--muted); text-decoration: none; }
.ptoc a:hover { color: var(--signal); }
.post__share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.post__share .small { width: 100%; margin: 0; }
.post__share .tlink { font-size: 14px; }
.sidebook { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 16px; border: 1px solid var(--rule); background: var(--tint); text-decoration: none; color: var(--ink); }
.sidebook .minibook { width: 64px; padding: 7px 6px 6px 10px; gap: 3px; }
.sidebook .minibook__k { font-size: 5px; } .sidebook .minibook__t { font-size: 8px; } .sidebook .minibook::before { width: 3px; }
.sidebook b { display: block; font-size: 14px; line-height: 1.3; font-weight: 600; }
.sidebook .small { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.45; }
.prose { min-width: 0; font-size: 18px; line-height: 1.75; color: #24365E; }
.prose > * { margin: 0 0 22px; }
.prose__lead { font-size: 21px; line-height: 1.6; color: var(--ink); letter-spacing: -0.01em; }
.prose h2 { margin: 52px 0 16px; font-size: 30px; line-height: 1.15; font-weight: 600; letter-spacing: -0.035em; color: var(--ink); scroll-margin-top: 24px; }
.prose h3 { font-size: 21px; line-height: 1.3; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.prose a { color: var(--signal); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose a.btn, .prose a.inbook, .prose a.tlink { text-decoration: none; }
.prose a.btn-p { color: var(--white); }
.inbook { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: 18px 22px; border-radius: 18px; background: var(--tint); border: 1px solid var(--rule); color: var(--ink); }
.inbook .minibook { width: 72px; padding: 8px 7px 7px 11px; gap: 3px; }
.inbook .minibook__k { font-size: 5.5px; } .inbook .minibook__t { font-size: 9px; } .inbook .minibook::before { width: 4px; }
.inbook b { display: block; font-size: 17px; line-height: 1.3; font-weight: 600; letter-spacing: -0.02em; margin-top: 4px; }
.inbook .small { display: block; margin-top: 4px; font-size: 14px; line-height: 1.5; }
.inbook .eyebrow { font-size: 12.5px; }
.prose .callout { padding: 28px; border-radius: 20px; background: var(--signal); color: var(--white); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.prose .callout .eyebrow { color: rgba(255, 255, 255, 0.75); margin: 0; }
.prose .callout h3 { margin: 0; color: var(--white); font-size: 24px; }
.prose .callout p { margin: 0 0 6px; color: rgba(255, 255, 255, 0.88); font-size: 17px; line-height: 1.6; }
.prose .callout .btn-p { background: var(--white); color: var(--signal); }
.pfaq { border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; background: var(--white); }
.pfaq .qa { border-bottom: 1px solid var(--rule-soft); }
.pfaq .qa:last-child { border-bottom: none; }
.pfaq .qa h3 { font-size: 17.5px; }
.pfaq .ans { font-size: 16.5px; }
.sources { padding-left: 22px; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.sources li { margin-bottom: 8px; }
.endnote { font-size: 20px; line-height: 1.5; font-weight: 500; letter-spacing: -0.015em; color: var(--ink); padding-top: 24px; border-top: 1px solid var(--rule-soft); }
.author { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: 18px; border: 1px solid var(--rule); background: var(--white); }
.author b { display: block; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.author .small { display: block; margin: 0; font-size: 14.5px; line-height: 1.55; }
.pcta { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 18px; background: var(--frost); border: 1px solid var(--rule); }
.pcta b { display: block; font-size: 16px; line-height: 1.35; font-weight: 600; color: var(--ink); }
.pcta .small { display: block; margin: 2px 0 0; font-size: 14px; line-height: 1.5; }
.pcta .appdot svg { width: 18px; height: 22px; }
.bgrid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px) {
  .post__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .post__side { position: static; }
  .sidebook { display: none; }
  .bgrid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .prose { font-size: 17px; }
  .prose__lead { font-size: 19px; }
  .prose h2 { font-size: 25px; margin-top: 40px; }
  .inbook, .pcta { grid-template-columns: minmax(0, 1fr); }
  .inbook .minibook { display: none; }
  .bgrid--3 { grid-template-columns: minmax(0, 1fr); }
  .post__cover { margin-top: 32px; }
}

/* in-post quiz */
.nq { margin: 36px 0; padding: clamp(22px, 4vw, 32px); border-radius: 22px; background: var(--white); border: 1px solid var(--rule); font-size: 16px; line-height: 1.6; color: var(--ink); scroll-margin-top: 24px; }
.nq .nq-tag { font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--signal); }
.nq h3 { margin: 8px 0 6px; font-size: 24px; line-height: 1.2; font-weight: 600; letter-spacing: -0.03em; }
.nq .nq-sub { margin: 0 0 18px; color: var(--muted); font-size: 16px; }
.nq .nq-bar { height: 4px; border-radius: 4px; background: var(--haze); overflow: hidden; margin-bottom: 22px; }
.nq .nq-bar i { display: block; height: 100%; width: 0; background: var(--signal); border-radius: 4px; transition: width .35s ease; }
.nq .nq-count { display: block; font-size: 13px; color: var(--faint); margin-bottom: 4px; }
.nq .nq-q { margin: 0 0 14px; font-size: 19px; line-height: 1.35; font-weight: 600; letter-spacing: -0.02em; }
.nq .nq-opts { display: grid; gap: 8px; }
.nq .nq-opt { text-align: left; font-family: inherit; font-size: 15.5px; color: var(--ink); background: var(--white); border: 1px solid var(--rule); border-radius: 12px; padding: 13px 16px; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.nq .nq-opt:hover { border-color: var(--signal); background: #F5F8FF; }
.nq .nq-opt.ok { border-color: var(--ok); background: #EEFAF4; }
.nq .nq-opt.no { border-color: var(--alert); background: #FDF1F1; }
.nq .nq-opt[disabled] { cursor: default; }
.nq .nq-name { margin: 0 0 4px; font-size: 26px; line-height: 1.15; font-weight: 600; letter-spacing: -0.035em; }
.nq .nq-stack { margin: 0 0 10px; font-weight: 500; color: var(--signal); }
.nq .nq-res p { margin: 0 0 12px; }
.nq .nq-res ol { margin: 0 0 18px; padding-left: 22px; }
.nq .nq-res li { margin-bottom: 6px; }
.nq .nq-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.nq .nq-copied { margin: 8px 0 0; min-height: 1.2em; font-size: 14px; color: var(--ok); word-break: break-word; }
.nq .nq-note { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.nq .nq-fb { margin: 14px 0; padding: 12px 14px; border-radius: 12px; background: var(--tint); font-size: 15px; }
.nq .nq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 14px; }
.nq .nq-in { display: block; font-size: 14px; color: var(--muted); }
.nq .nq-in input, .nq textarea { display: block; width: 100%; box-sizing: border-box; margin-top: 6px; font: inherit; font-size: 16px; color: var(--ink); background: var(--white); border: 1px solid var(--rule); border-radius: 10px; padding: 10px 12px; }
.nq textarea { min-height: 110px; resize: vertical; }
.nq .nq-out { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin: 6px 0 14px; }
.nq .nq-out div { background: var(--tint); border: 1px solid var(--rule-soft); border-radius: 14px; padding: 12px 14px; }
.nq .nq-out b { display: block; font-size: 24px; line-height: 1.1; font-weight: 600; letter-spacing: -0.03em; }
.nq .nq-out span { font-size: 13px; color: var(--muted); }
.nq .nq-banner { max-width: 380px; margin: 8px 0 14px; padding: 12px 14px; border-radius: 16px; background: var(--frost); border: 1px solid var(--rule); }
.nq .nq-banner .bh { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.nq .nq-banner .bn { font-weight: 600; font-size: 14.5px; }
.nq .nq-banner .bt { font-size: 14.5px; line-height: 1.4; word-break: break-word; }
.nq .nq-checks { list-style: none; margin: 0 0 14px; padding: 0; }
.nq .nq-checks li { position: relative; padding: 5px 0 5px 24px; font-size: 15px; }
.nq .nq-checks li::before { position: absolute; left: 0; top: 5px; font-weight: 700; }
.nq .nq-checks li.y::before { content: "\2713"; color: var(--ok); }
.nq .nq-checks li.n::before { content: "!"; color: #B7791F; }

/* ---------- coming-soon app chips ---------- */
.tag--soon { border-style: dashed; color: var(--muted); padding-left: 6px; }
.tag--soon .appi { border-radius: 4px; }

/* ---------- ebook form ---------- */
.eform { display: grid; gap: 14px; width: 100%; max-width: 480px; padding: 20px; box-sizing: border-box; border-radius: 16px; background: var(--white); border: 1px solid var(--rule); }
.eform__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.eform__f { display: grid; gap: 6px; font-size: 13.5px; font-weight: 500; color: var(--muted); }
.eform__f input { width: 100%; min-width: 0; box-sizing: border-box; font-family: inherit; font-size: 15.5px; color: var(--ink); height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--rule); background: var(--tint); outline: none; }
.eform__f input:focus { border-color: var(--signal); background: var(--white); }
.eform__c { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--muted); cursor: pointer; }
.eform__c input { margin: 2px 0 0; width: 16px; height: 16px; accent-color: var(--signal); flex: none; }
.eform .btn { justify-self: start; }
.eform__fine { margin: 0; font-size: 12.5px; color: var(--faint); }
.eform__done { margin: 0; font-size: 16px; color: var(--ink); }
.eform .eyebrow { margin: 0; }
.formnote.is-bad { color: var(--alert); }
.cta .formnote.is-bad { color: #FFE3E3; }
@media (max-width: 520px) { .eform__row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- article blocks (all posts) ---------- */
.prose { --navy: var(--ink); --blue: var(--signal); --blue-bright: var(--signal); --blue-wash: var(--haze); --green: var(--ok); --early: var(--signal); --early-deep: var(--signal-hover);
  --paper: var(--frost); --paper-2: var(--haze); --ink-soft: var(--muted); --ink-mute: var(--faint); --line: var(--rule); --line-soft: var(--rule-soft);
  --radius: 14px; --shadow-sm: none; --shadow-md: none; --shadow-lg: none; --display: var(--f-ui); --body: var(--f-ui); --mono: var(--f-ui); }
.prose ul, .prose ol { padding-left: 24px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--faint); }
.prose strong, .prose b { font-weight: 600; color: var(--ink); }
.prose h4 { margin: 0 0 6px; font-size: 17px; line-height: 1.35; font-weight: 600; color: var(--ink); }
.prose figure { margin: 32px 0; }
.prose figure img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--rule); background: var(--frost); }
.prose figcaption { margin-top: 10px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.prose blockquote { margin: 32px 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--signal); font-size: 22px; line-height: 1.45; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); }
.pullquote { margin: 36px 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--signal); font-size: 23px; line-height: 1.45; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); }
.statrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; background: var(--rule); gap: 1px; }
.statrow .st { display: grid; align-content: start; gap: 4px; padding: 18px 20px; background: var(--white); }
.statrow .st b { font-size: 22px; line-height: 1.2; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); }
.statrow .st span { font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.stat-callout { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: start; padding: 22px 24px; border-radius: 16px; background: var(--tint); border: 1px solid var(--rule); }
.stat-callout .n { font-size: 30px; line-height: 1.1; font-weight: 600; letter-spacing: -0.04em; color: var(--signal); white-space: nowrap; }
.stat-callout p { margin: 0; font-size: 16.5px; line-height: 1.6; }
.stat-callout .src { display: block; margin-top: 8px; font-size: 13.5px; color: var(--faint); }
.tbl-wrap, .cmp-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: 16px; background: var(--white); -webkit-overflow-scrolling: touch; }
.tbl-wrap table, .cmp-wrap table, .prose > table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.prose > table { border: 1px solid var(--rule); }
.tbl-wrap th, .cmp-wrap th, .prose > table th { text-align: left; font-weight: 600; color: var(--ink); background: var(--tint); padding: 12px 16px; border-bottom: 1px solid var(--rule); white-space: nowrap; }
.tbl-wrap td, .cmp-wrap td, .prose > table td { padding: 12px 16px; border-bottom: 1px solid var(--rule-soft); vertical-align: top; color: #24365E; min-width: 120px; }
.tbl-wrap tr:last-child td, .cmp-wrap tr:last-child td { border-bottom: none; }
.cmp-wrap .col-n { background: #F5F8FF; }
.cmp-wrap th.col-n { color: var(--signal); background: var(--haze); }
.cmp-wrap .cy { color: var(--ink); font-weight: 500; }
.cmp-wrap .cn { color: var(--faint); }
.cmp-wrap .cp { color: var(--muted); }
.step-card { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 18px; padding: 22px; border-radius: 16px; border: 1px solid var(--rule); background: var(--white); }
.step-card + .step-card { margin-top: -10px; }
.step-num { width: 40px; height: 40px; border-radius: 10px; background: var(--haze); color: var(--signal); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 16px; }
.step-body h3 { margin: 6px 0 6px; font-size: 19px; }
.step-body p { margin: 0; font-size: 16.5px; line-height: 1.6; }
.flow-box { padding: 22px 24px; border-radius: 16px; border: 1px solid var(--rule); background: var(--tint); display: grid; gap: 12px; }
.flow-title { font-size: 13px; font-weight: 600; color: var(--signal); }
.flow-row { display: grid; grid-template-columns: 120px 20px minmax(0, 1fr); gap: 10px; align-items: baseline; font-size: 16px; line-height: 1.55; }
.flow-badge { justify-self: start; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--white); border: 1px solid var(--rule); color: var(--ink); }
.flow-row:last-child .flow-badge { background: var(--signal); border-color: var(--signal); color: var(--white); }
.flow-arrow { color: var(--faint); }
.gap-box { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; gap: 1px; background: var(--rule); }
.gap-card { padding: 20px 22px; background: var(--white); display: grid; gap: 10px; align-content: start; }
.gap-card.invisible { background: var(--tint); }
.gap-label { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 2px; }
.gap-card.invisible .gap-label { color: var(--alert); }
.gap-item { display: flex; gap: 10px; align-items: center; font-size: 15.5px; line-height: 1.45; color: var(--ink); }
.gap-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.gap-card.invisible .gap-dot { background: var(--alert); }
.bucket-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; gap: 1px; background: var(--rule); }
.bucket { padding: 20px 22px; background: var(--white); }
.bucket h4 { display: flex; align-items: center; gap: 8px; }
.bucket h4::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); flex: none; }
.bucket:first-child h4::before { background: var(--alert); }
.bucket:last-child h4::before { background: var(--faint); }
.bucket p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--muted); }
.jump { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 16px 18px; border-radius: 14px; background: var(--tint); border: 1px solid var(--rule); }
.jump span { font-size: 15px; font-weight: 500; color: var(--muted); margin-right: 4px; }
.prose .numbered-list { padding: 0; }
.numbered-list { list-style: none; padding: 0; counter-reset: nl; display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; }
.numbered-list li { counter-increment: nl; margin: 0; padding: 20px 22px 20px 64px; position: relative; background: var(--white); font-size: 16.5px; line-height: 1.6; }
.numbered-list li::before { content: counter(nl); position: absolute; left: 22px; top: 20px; width: 28px; height: 28px; border-radius: 8px; background: var(--haze); color: var(--signal); font-weight: 600; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.numbered-list li strong { display: block; margin-bottom: 4px; font-size: 18px; letter-spacing: -0.02em; }
.legacy { margin: 36px 0; }
.legacy > * { margin-top: 0 !important; margin-bottom: 0 !important; }
.legacy button { font-family: inherit; }
.prose .legacy a[class], .prose .legacy a[id] { text-decoration: none; }
.legacy input, .legacy select, .legacy textarea { font-family: inherit; }
/* self-contained quizzes use the same look as the shared quiz */
.nq .nq-res h4 { margin: 0 0 4px; font-size: 26px; line-height: 1.15; font-weight: 600; letter-spacing: -0.035em; color: var(--ink); }
.nq .nq-btn { display: inline-flex; align-items: center; font-family: inherit; font-size: 14.5px; font-weight: 500; border-radius: 10px; padding: 9px 14px; cursor: pointer; border: 1px solid var(--rule); background: var(--white); color: var(--ink); }
.nq .nq-btn.nq-share, .nq .nq-btn.nq-next { background: var(--signal); border-color: var(--signal); color: var(--white); }
.nq .nq-btn:hover { border-color: var(--signal); }
@media (max-width: 640px) {
  .stat-callout { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .gap-box, .bucket-grid { grid-template-columns: minmax(0, 1fr); }
  .flow-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .flow-arrow { display: none; }
  .pullquote, .prose blockquote { font-size: 20px; }
}

/* ---------- phones: calmer, less boxed-in (17 Nov 2026) ---------- */
@media (max-width: 720px) {
  /* fewer lines and frames */
  .gridbg { display: none; }
  .head { margin-bottom: 28px; gap: 14px; }
  .lead { font-size: 17px; line-height: 1.6; }
  .stagebox { padding: 12px; border-radius: 14px; }
  .frame { padding: 0; border: none; background: transparent; border-radius: 0; }
  .split + .split { margin-top: 56px; }
  /* homepage hero: one note, apps as a row of logos */
  .hero__in { padding-block: 36px 48px; gap: 22px; }
  .hero .lead { font-size: 17px !important; }
  .hero__in > p.small { display: none; }
  .hero__in > div[style] { margin-top: 4px !important; }
  .hero .chips { gap: 6px; }
  .hero .chips .tag { font-size: 0; gap: 0; padding: 7px; }
  .hero .chips .tag .appi { width: 16px; height: 16px; }
  .hero .chips > span.small:last-child { display: none; }
  /* page heroes: no "on this page" chip cloud, the menu covers it */
  .phero { padding-block: 32px 56px; }
  .phero .actions + .chips { display: none; }
  .phero .crumbs { margin-bottom: 20px; }
  /* sample app content: one strong button, not three */
  .task__btn { background: var(--haze); color: #1F62E0; }
  #daily-cue .fill > .cuecard:nth-child(3), #daily-cue .fill--plan > .task:nth-child(3) { display: none; }
  /* homepage: the live demo is for bigger screens, so keep its section short */
  #demo .head__side { display: none; }
  /* integrations: name, status and link; the description is on each integration page */
  #integrations .linkcell > .body { display: none; }
  #integrations .joined > .cell { padding: 20px; gap: 8px; }
  /* homepage blog: four posts, then "View all posts" */
  #blog .joined > .post:nth-child(n+5) { display: none; }
  /* closing panel: less empty space under the form */
  .cta { padding: 56px 20px 112px; gap: 18px; }
  /* blog lists: compact rows with a small thumbnail */
  .bgrid, .bgrid--3 { gap: 0; }
  .bcard { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px 0; border: none; border-bottom: 1px solid var(--rule); border-radius: 0; background: transparent; }
  .bgrid > .bcard:first-child { padding-top: 0; }
  .bcard .bthumb { aspect-ratio: 4 / 3; border-radius: 10px; }
  .bcard .bthumb__fb span, .bcard .bthumb__fb svg { display: none; }
  .bcard__b { padding: 0; gap: 6px; }
  .bcard__t { font-size: 16.5px; line-height: 1.32; }
  .bcard__x { display: none; }
  .bcard__d { padding-top: 0; font-size: 12.5px; }
  .bmeta { font-size: 12.5px; }
  .bchips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .bchips::-webkit-scrollbar { display: none; }
  .bchips button { flex: none; }
  .bfeat { margin-top: 28px; padding: 12px; gap: 16px; border-radius: 18px; }
  .bfeat__b { padding: 4px 6px 8px; gap: 12px; }
  .bfeat__x { font-size: 16px; }
  /* post pages: left-aligned header, no repeated title in the breadcrumb, nothing between the cover and the article but the contents */
  .post__head .crumbs li[aria-current] { display: none; }
  .post__intro { align-items: flex-start; text-align: left; gap: 16px; }
  .post__meta { flex-wrap: wrap; gap: 6px 12px; }
  .post__meta .small { white-space: nowrap; }
  .post__share, .sidebook { display: none; }
  .statrow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .statrow .st:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
