/*
  Public website, built on the Spexoid design language (refrence/design-language, docs/plan.md Part 4).

  IBM gives the skeleton (4px unit, mono eyebrows, hairline structure), Vercel the skin (ink on paper,
  1px borders instead of shadows, dark mode as a real theme), Apple the moments (big, tightly tracked
  display type at the places that sell).

  Components read semantic tokens only. The umbrella chrome (header, footer) is monochrome and
  square; the page body carries data-product="nanflows", which flips the accent to Nanflows violet
  and the radius scale to 0.5. That is the whole per-product theming contract: nothing else changes.
*/

@font-face {
  font-family: 'Geist';
  src: url('/fonts/geist-latin-variable.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('/fonts/geist-mono-latin-variable.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------------------------------------------------------------------------
   Tokens. Three blocks, because the viewer has three states: an explicit light
   or dark choice stamps data-theme on <html>; "system" stamps nothing and is
   told apart from light only by prefers-color-scheme.
   ------------------------------------------------------------------------- */
:root {
  --bg: #ffffff;
  --surface-1: #fafafa;
  --surface-2: #f4f4f5;
  --surface-3: #e9e9ec;
  --border: #e4e4e7;
  --border-strong: #d4d4d8;
  --ink: #09090b;
  --ink-secondary: #52525b;
  --ink-muted: #71717a;
  --ink-disabled: #a1a1aa;

  --signal: #0b5fff;
  --success: #16a34a;
  --warning: #b45309;
  --danger: #dc2626;
  --status-mix: 10%;
  --signal-ink: #1d4ed8;
  --success-ink: #166534;
  --warning-ink: #92400e;
  --danger-ink: #b91c1c;
  --signal-subtle: color-mix(in srgb, var(--signal) var(--status-mix), var(--bg));
  --success-subtle: color-mix(in srgb, var(--success) var(--status-mix), var(--bg));
  --warning-subtle: color-mix(in srgb, var(--warning) var(--status-mix), var(--bg));
  --danger-subtle: color-mix(in srgb, var(--danger) var(--status-mix), var(--bg));

  --a-nanflows: #6d28d9;
  --a-nanflows-ink: #6d28d9;

  --accent: var(--ink);
  --accent-fg: #ffffff;
  --accent-subtle: var(--surface-2);
  --accent-ink: var(--accent);

  --elev-raised: 0 1px 2px rgb(0 0 0 / 0.06);
  --elev-overlay: 0 12px 32px rgb(0 0 0 / 0.12);
  --elev-window: 0 1px 0 rgb(255 255 255 / 0.6) inset, 0 30px 60px -20px rgb(30 30 60 / 0.22);

  --radius-scale: 0;

  --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --font-display: var(--font-sans);

  --ease-productive: cubic-bezier(0.2, 0, 0.38, 0.9);
  --ease-expressive: cubic-bezier(0.4, 0.14, 0.3, 1);
  --ease-entrance: cubic-bezier(0, 0, 0.38, 0.9);
  --dur-productive: 110ms;
  --dur-expressive: 280ms;

  /* The site's only light: glows, the hover spotlight, a gradient hairline. Never text. */
  --pastel-lilac: #d8c8ff;
  --pastel-sky: #bcdcff;
  --pastel-mint: #bdf2d8;
  --pastel-peach: #ffd9bf;
  --pastel-rose: #ffcfe6;
  --glow-alpha: 70%;
  --gradient-pastel: linear-gradient(100deg, var(--pastel-lilac), var(--pastel-sky) 35%, var(--pastel-mint) 65%, var(--pastel-peach));

  --frame: 100rem;
  --gutter: 1.25rem;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #09090b; --surface-1: #111113; --surface-2: #18181b; --surface-3: #1f1f23;
    --border: #27272a; --border-strong: #3f3f46;
    --ink: #fafafa; --ink-secondary: #c4c4cc; --ink-muted: #8b8b94; --ink-disabled: #52525b;
    --signal: #4d8dff; --success: #22c55e; --warning: #f59e0b; --danger: #f87171;
    --status-mix: 18%;
    --signal-ink: var(--signal); --success-ink: var(--success); --warning-ink: var(--warning); --danger-ink: var(--danger);
    --a-nanflows: #a78bfa; --a-nanflows-ink: #a78bfa;
    --accent-fg: #09090b; --accent-subtle: #18181b;
    --elev-raised: none;
    --elev-overlay: 0 16px 40px rgb(0 0 0 / 0.5);
    --elev-window: 0 1px 0 rgb(255 255 255 / 0.06) inset, 0 40px 80px -24px rgb(0 0 0 / 0.8);
    --pastel-lilac: #a78bfa; --pastel-sky: #7cc4ff; --pastel-mint: #6ee7b7; --pastel-peach: #fdba74; --pastel-rose: #f9a8d4;
    --glow-alpha: 34%;
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --bg: #09090b; --surface-1: #111113; --surface-2: #18181b; --surface-3: #1f1f23;
  --border: #27272a; --border-strong: #3f3f46;
  --ink: #fafafa; --ink-secondary: #c4c4cc; --ink-muted: #8b8b94; --ink-disabled: #52525b;
  --signal: #4d8dff; --success: #22c55e; --warning: #f59e0b; --danger: #f87171;
  --status-mix: 18%;
  --signal-ink: var(--signal); --success-ink: var(--success); --warning-ink: var(--warning); --danger-ink: var(--danger);
  --a-nanflows: #a78bfa; --a-nanflows-ink: #a78bfa;
  --accent-fg: #09090b; --accent-subtle: #18181b;
  --elev-raised: none;
  --elev-overlay: 0 16px 40px rgb(0 0 0 / 0.5);
  --elev-window: 0 1px 0 rgb(255 255 255 / 0.06) inset, 0 40px 80px -24px rgb(0 0 0 / 0.8);
  --pastel-lilac: #a78bfa; --pastel-sky: #7cc4ff; --pastel-mint: #6ee7b7; --pastel-peach: #fdba74; --pastel-rose: #f9a8d4;
  --glow-alpha: 34%;
  color-scheme: dark;
}

/* Radii follow the scale. Declared on every element that sets a scale, because a custom property
   resolves where it is declared: one set on :root alone would stay square inside a product. */
:root, [data-product], [data-chrome] {
  --radius-control: calc(8px * var(--radius-scale));
  --radius-card: calc(12px * var(--radius-scale));
  --radius-panel: calc(16px * var(--radius-scale));
}

/* The Nanflows product theme: accent, its tint, and the sharpest shape in the family. */
[data-product='nanflows'] {
  --accent: var(--a-nanflows);
  --accent-ink: var(--a-nanflows-ink);
  --accent-fg: #ffffff;
  --accent-subtle: #f5f3ff;
  --radius-scale: 0.5;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) [data-product='nanflows'] { --accent-fg: #09090b; --accent-subtle: #1e1633; }
}
:root[data-theme='dark'] [data-product='nanflows'] { --accent-fg: #09090b; --accent-subtle: #1e1633; }

/* The umbrella opt-out: header and footer stay monochrome and square. */
[data-chrome] {
  --accent: var(--ink);
  --accent-ink: var(--ink);
  --accent-fg: var(--bg);
  --accent-subtle: var(--surface-2);
  --radius-scale: 0;
}

/* ---------------------------------------------------------------------------
   Base
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; border-color: var(--border); }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-secondary);
  font: 400 1rem/1.6 var(--font-sans);
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--font-display); font-weight: 500; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; letter-spacing: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: calc(2px * var(--radius-scale)); }
::selection { background: var(--accent); color: var(--accent-fg); }
form { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--ink-muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.mono { font-family: var(--font-mono); }
.icon { width: 1em; height: 1em; flex: none; }

/* The page frame: 1600px, gutters growing 20 → 48px with the viewport. */
.frame { width: 100%; max-width: var(--frame); margin-inline: auto; padding-inline: var(--gutter); }
.wrap { width: 100%; max-width: var(--frame); margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 40rem) { :root { --gutter: 1.5rem; } }
@media (min-width: 64rem) { :root { --gutter: 2.5rem; } }
@media (min-width: 96rem) { :root { --gutter: 3rem; } }

/* ---------------------------------------------------------------------------
   Type
   ------------------------------------------------------------------------- */
.eyebrow { font: 400 .75rem/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
/* Ink fading slightly toward the ground: the display-heading treatment. */
.text-gradient {
  background-image: linear-gradient(180deg, var(--ink) 35%, color-mix(in srgb, var(--ink) 62%, var(--bg)));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.display { font-size: clamp(2.75rem, 7vw, 5.5rem); line-height: .98; letter-spacing: -.045em; padding-bottom: .06em; }
.display.side { font-size: clamp(2.5rem, 6vw, 4.75rem); line-height: 1; }
.title { font-size: clamp(2.25rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -.035em; padding-bottom: .08em; max-width: 20ch; }
.title.sm { font-size: clamp(1.875rem, 3vw, 2.25rem); }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.25rem); line-height: 1.6; color: var(--ink-secondary); max-width: 44ch; }
.fine { font: 400 .75rem/1.5 var(--font-mono); color: var(--ink-muted); }

/* ---------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px;
  border: 1px solid var(--border-strong); border-radius: var(--radius-control);
  background: transparent; color: var(--ink);
  font: 500 .875rem/1 var(--font-sans); white-space: nowrap; cursor: pointer;
  transition: background-color var(--dur-productive) var(--ease-productive), border-color var(--dur-productive) var(--ease-productive), opacity var(--dur-productive) var(--ease-productive);
}
.button:hover { background: var(--surface-2); }
.button.primary { background: var(--accent); color: var(--accent-fg); border-color: transparent; }
.button.primary:hover { opacity: .9; background: var(--accent); }
.button.ghost { border-color: transparent; color: var(--ink-secondary); }
.button.ghost:hover { color: var(--ink); background: var(--surface-2); }
.button.lg { height: 48px; padding: 0 24px; font-size: .9375rem; }
.button.small { height: 32px; padding: 0 12px; font-size: .8125rem; }
.button.block { width: 100%; }
.button .icon { width: 16px; height: 16px; }
.button.small .icon { width: 14px; height: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions.center { justify-content: center; }
.go { display: inline-flex; align-items: center; gap: 6px; font-size: .875rem; font-weight: 500; color: var(--ink); }
.go .icon { width: 14px; height: 14px; transition: transform var(--dur-productive) var(--ease-productive); }
a.go:hover .icon, a:hover > .go .icon, .card:hover .go .icon { transform: translateX(2px); }
.text-link { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--border-strong); }
.text-link:hover { text-decoration-color: var(--ink); }

/* ---------------------------------------------------------------------------
   Badges
   ------------------------------------------------------------------------- */
.badge { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px; border: 1px solid var(--border); border-radius: var(--radius-control); background: var(--surface-2); color: var(--ink-secondary); font: 500 .75rem/1 var(--font-sans); white-space: nowrap; vertical-align: middle; }
.badge.sm { height: 20px; padding: 0 6px; font-size: .6875rem; }
.badge.accent { background: var(--accent-subtle); color: var(--accent-ink); border-color: color-mix(in srgb, var(--accent) 30%, transparent); }
.badge.success { background: var(--success-subtle); color: var(--success-ink); border-color: color-mix(in srgb, var(--success) 30%, transparent); }
.badge.mono { font: 400 .6875rem/1 var(--font-mono); background: var(--bg); }
/* The hero kicker: mono, a pastel hairline, a softly pulsing dot. */
.kicker { position: relative; display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 4px 12px; border: 1px solid var(--border); background: color-mix(in srgb, var(--bg) 70%, transparent); font: 400 .6875rem/1.5 var(--font-mono); letter-spacing: .04em; color: var(--ink-secondary); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.kicker .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
@media (prefers-reduced-motion: no-preference) { .kicker .dot { animation: pulse-dot 2.4s ease-in-out infinite; } }
.border-pastel { position: relative; }
.border-pastel::before { content: ''; position: absolute; inset: -1px; padding: 1px; background: var(--gradient-pastel); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); pointer-events: none; opacity: .9; }

/* ---------------------------------------------------------------------------
   Depth: grid overlay, glows, framed windows, the hover spotlight
   ------------------------------------------------------------------------- */
.grid-overlay { position: absolute; inset: 0; pointer-events: none; --cols: 12; background: repeating-linear-gradient(to right, var(--border) 0 1px, transparent 1px 100%); background-size: calc(100% / var(--cols)) 100%; -webkit-mask: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent); mask: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent); opacity: .24; }
.grid-overlay.six { --cols: 6; }
.glow { position: absolute; inset: 0; pointer-events: none; filter: blur(64px); }
.glow.g-hero { background:
  radial-gradient(38% 45% at 28% 55%, color-mix(in srgb, var(--pastel-lilac) var(--glow-alpha), transparent), transparent 70%),
  radial-gradient(34% 42% at 55% 40%, color-mix(in srgb, var(--pastel-sky) var(--glow-alpha), transparent), transparent 70%),
  radial-gradient(30% 40% at 78% 60%, color-mix(in srgb, var(--pastel-peach) calc(var(--glow-alpha) * .8), transparent), transparent 70%); }
.glow.g-center { background:
  radial-gradient(45% 55% at 40% 50%, color-mix(in srgb, var(--pastel-lilac) var(--glow-alpha), transparent), transparent 70%),
  radial-gradient(40% 50% at 62% 48%, color-mix(in srgb, var(--pastel-mint) calc(var(--glow-alpha) * .8), transparent), transparent 70%); }
.glow.g-low { background:
  radial-gradient(40% 60% at 25% 100%, color-mix(in srgb, var(--pastel-sky) var(--glow-alpha), transparent), transparent 70%),
  radial-gradient(40% 60% at 55% 100%, color-mix(in srgb, var(--pastel-lilac) var(--glow-alpha), transparent), transparent 70%),
  radial-gradient(35% 55% at 82% 100%, color-mix(in srgb, var(--pastel-rose) calc(var(--glow-alpha) * .8), transparent), transparent 70%); }

.window { position: relative; display: flex; flex-direction: column; margin: 0; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--bg); box-shadow: var(--elev-window); }
.window-bar { display: flex; align-items: center; gap: 12px; height: 36px; flex: none; padding: 0 14px; border-bottom: 1px solid var(--border); background: var(--surface-1); }
.window-bar .dots { display: flex; gap: 6px; }
.window-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.window-bar .url { flex: 1; max-width: 18rem; margin: 0 auto; height: 22px; display: flex; align-items: center; justify-content: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; border: 1px solid var(--border); border-radius: var(--radius-control); background: var(--bg); padding: 0 12px; font: 400 .625rem/1 var(--font-mono); color: var(--ink-muted); }
.window-bar .spacer { width: 42px; }
.window img { width: 100%; }
.window figcaption { padding: 10px 14px; border-top: 1px solid var(--border); font-size: .8125rem; color: var(--ink-muted); background: var(--surface-1); }

.card { position: relative; isolation: isolate; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--surface-1); transition: border-color var(--dur-productive) var(--ease-productive); }
a.card:hover, .card.link:hover { border-color: var(--border-strong); }
.card-body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 24px; }
.card-body.roomy { padding: 32px; }
.card h3 { font-size: 1.125rem; line-height: 1.35; color: var(--ink); }
.card p { font-size: .875rem; line-height: 1.65; color: var(--ink-secondary); }
.card .go { margin-top: auto; padding-top: 12px; }
/* The pointer light. site.js writes --mx/--my; with no JS or on touch it never appears. */
.spotlight::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--pastel-lilac) var(--glow-alpha), transparent), color-mix(in srgb, var(--pastel-sky) calc(var(--glow-alpha) / 2), transparent) 40%, transparent 70%);
  transition: opacity var(--dur-expressive) var(--ease-productive); }
.spotlight:hover::after { opacity: .4; }

/* A picture of the product seated in the top of a card and fading into it. */
.peek { position: relative; height: 16rem; overflow: hidden; border-bottom: 1px solid var(--border); -webkit-mask: linear-gradient(to bottom, #000 60%, transparent); mask: linear-gradient(to bottom, #000 60%, transparent); }
.peek .glow { opacity: .7; filter: blur(40px); }
.peek-frame { position: absolute; top: 32px; left: 32px; right: -48px; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-card) 0 0 0; background: var(--bg); box-shadow: var(--elev-window); transition: transform var(--dur-expressive) var(--ease-expressive); }
.card:hover .peek-frame { transform: translateY(-6px); }
.peek-frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.peek-blank { position: absolute; inset: 0; display: grid; place-items: center; }
.peek-blank span { display: grid; place-items: center; width: 72px; height: 72px; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--bg); box-shadow: var(--elev-window); font: 500 1.75rem/1 var(--font-mono); color: var(--ink); }

/* Cells joined by hairlines: steps, features. */
.cells { display: grid; gap: 1px; border: 1px solid var(--border); background: var(--border); list-style: none; border-radius: var(--radius-card); overflow: hidden; }
.cells > * { display: flex; flex-direction: column; gap: 12px; padding: 24px; background: var(--bg); }
.cells.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cells.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cells.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cells h3 { font-size: 1.125rem; line-height: 1.35; }
.cells p { font-size: .875rem; line-height: 1.65; }
.cell-top { display: flex; align-items: center; justify-content: space-between; }
.icon-box { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--border); border-radius: var(--radius-control); background: var(--surface-1); color: var(--ink); }
.icon-box .icon { width: 18px; height: 18px; }
.num-tag { font: 400 .75rem/1 var(--font-mono); color: var(--ink-muted); }
.moment { font: 400 .6875rem/1.4 var(--font-mono); letter-spacing: .02em; color: var(--accent-ink); }

/* ---------------------------------------------------------------------------
   Header (umbrella chrome)
   ------------------------------------------------------------------------- */
.announce { position: relative; z-index: 51; background: var(--ink); color: var(--bg); text-align: center; font: 400 .75rem/1.5 var(--font-mono); padding: 8px 16px; }
.announce a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-head { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--bg) 85%, transparent); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); transition: border-color var(--dur-productive) var(--ease-productive); }
.site-head.condensed { border-bottom-color: var(--border-strong); }
.head-row { display: flex; align-items: center; gap: 32px; height: 64px; transition: height var(--dur-productive) var(--ease-productive); }
.site-head.condensed .head-row { height: 56px; }
.wordmark { display: inline-flex; align-items: center; gap: 8px; flex: none; font-weight: 500; letter-spacing: -.02em; color: var(--ink); }
.wordmark .mark { display: grid; place-items: center; width: 24px; height: 24px; background: var(--ink); color: var(--bg); font: 500 13px/1 var(--font-mono); letter-spacing: 0; }
.site-nav { display: flex; flex: 1; align-items: center; gap: 4px; }
.nav-link, .menu-top { display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; border-radius: var(--radius-control); font-size: .875rem; color: var(--ink-secondary); transition: background-color var(--dur-productive) var(--ease-productive), color var(--dur-productive) var(--ease-productive); }
.nav-link:hover, .menu-top:hover, .menu:hover .menu-top, .menu:focus-within .menu-top, .nav-link[aria-current], .menu-top[aria-current] { background: var(--surface-2); color: var(--ink); }
.caret { width: 14px; height: 14px; transition: transform var(--dur-productive) var(--ease-productive); }
.menu:hover .caret, .menu:focus-within .caret { transform: rotate(180deg); }
.menu { position: relative; }
.menu-panel { position: absolute; top: calc(100% + 6px); left: 0; z-index: 60; width: 380px; padding: 12px; border: 1px solid var(--border); border-radius: var(--radius-panel); background: color-mix(in srgb, var(--bg) 95%, transparent); box-shadow: var(--elev-overlay); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity var(--dur-productive) var(--ease-productive), transform var(--dur-productive) var(--ease-productive), visibility 0s linear var(--dur-productive); }
.menu-panel.wide { width: 640px; }
.menu-panel::before { content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.menu:hover .menu-panel, .menu:focus-within .menu-panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.menu-col-head { padding: 4px 12px 8px; font: 400 .6875rem/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.menu-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.menu-cols > div + div { border-left: 1px solid var(--border); padding-left: 12px; }
.menu-list { list-style: none; }
.menu-list a { display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px; border-radius: var(--radius-control); transition: background-color var(--dur-productive) var(--ease-productive); }
.menu-list a:hover { background: var(--surface-2); }
.menu-icon { display: grid; place-items: center; flex: none; width: 32px; height: 32px; margin-top: 1px; border: 1px solid var(--border); border-radius: var(--radius-control); background: var(--surface-1); color: var(--ink); font: 500 .8125rem/1 var(--font-mono); }
.menu-icon .icon { width: 16px; height: 16px; }
.menu-name { display: block; font-size: .875rem; font-weight: 500; color: var(--ink); }
.menu-text { display: block; font-size: .8125rem; line-height: 1.45; color: var(--ink-muted); }
.menu-name .soon { margin-left: 6px; }
.menu-foot { display: flex; gap: 20px; margin-top: 8px; padding: 12px 12px 4px; border-top: 1px solid var(--border); }
.menu-foot a { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 500; color: var(--ink); }
.menu-foot a:hover { color: var(--accent-ink); }
.menu-foot .icon { width: 13px; height: 13px; }
.head-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.theme-toggle { display: flex; align-items: center; gap: 2px; padding: 2px; border: 1px solid var(--border); border-radius: var(--radius-control); }
.theme-toggle button { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: calc(6px * var(--radius-scale)); background: none; color: var(--ink-muted); cursor: pointer; transition: background-color var(--dur-productive) var(--ease-productive), color var(--dur-productive) var(--ease-productive); }
.theme-toggle button:hover { background: var(--surface-2); color: var(--ink); }
.theme-toggle button[aria-pressed='true'] { background: var(--ink); color: var(--bg); }
.theme-toggle .icon { width: 15px; height: 15px; }

/* Phones: a menu button opens every link in one panel. */
.mobile-nav { display: none; margin-left: auto; }
.mobile-nav > summary { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--border); border-radius: var(--radius-control); color: var(--ink); cursor: pointer; list-style: none; }
.mobile-nav > summary::-webkit-details-marker { display: none; }
.mobile-nav > summary .icon { width: 18px; height: 18px; }
.mobile-nav .when-open { display: none; }
.mobile-nav[open] .when-open { display: block; }
.mobile-nav[open] .when-closed { display: none; }
.mobile-panel { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - 64px); height: calc(100dvh - 64px); z-index: 40; overflow-y: auto; border-top: 1px solid var(--border); background: var(--bg); padding: 8px var(--gutter) 32px; }
.mobile-panel details { border-bottom: 1px solid var(--border); }
.mobile-panel summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; font-size: .875rem; color: var(--ink); cursor: pointer; list-style: none; }
.mobile-panel summary::-webkit-details-marker { display: none; }
.mobile-panel details[open] .caret { transform: rotate(180deg); }
.mobile-panel .sub { padding-bottom: 12px; }
.mobile-panel .sub a { display: flex; align-items: center; gap: 12px; padding: 10px 4px; font-size: .875rem; color: var(--ink-secondary); }
.mobile-panel > a { display: block; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: .875rem; color: var(--ink); }
.mobile-panel .mobile-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.mobile-panel .mobile-actions .theme-toggle { width: fit-content; }

/* ---------------------------------------------------------------------------
   Sections
   ------------------------------------------------------------------------- */
.section { position: relative; padding-block: 64px; }
.section.bordered { border-bottom: 1px solid var(--border); }
.section.tight { padding-block: 40px; }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 48px; }
.section-head.row { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-head.row > div { display: flex; flex-direction: column; gap: 12px; }
.section-head p { max-width: 48ch; color: var(--ink-secondary); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; }
.split.faq-split { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.split > .sticky { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 112px; align-self: start; }
.split > .sticky p { max-width: 42ch; line-height: 1.7; }

/* Heroes */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.hero-inner { position: relative; padding-block: 64px 80px; }
.hero-center { display: flex; flex-direction: column; align-items: center; gap: 24px; max-width: 56rem; margin-inline: auto; text-align: center; }
.hero-center .lead { margin-inline: auto; }
.hero-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 20px; }
.hero-copy .actions { margin-top: 8px; }
.hero-visual { position: relative; }
.hero-visual > .glow { inset: -40px; }
.crumbs { position: relative; padding-top: 32px; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; list-style: none; font-size: .8125rem; }
.crumbs li { display: flex; align-items: center; gap: 6px; }
.crumbs a { color: var(--ink-muted); transition: color var(--dur-productive) var(--ease-productive); }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); }
.crumbs .icon { width: 11px; height: 11px; color: var(--ink-disabled); }
.page-hero .hero-inner { padding-block: 48px 64px; }
.page-hero .hero-copy { max-width: 48rem; }

/* The home illustration: one shop, all three plugins at work, and the numbers they bring.
   Every part is drawn from tokens, so it follows light and dark and the product accent. */
.composite { position: relative; max-width: 72rem; margin: 64px auto 0; }
.composite > .glow { inset: -64px -96px; }
.mk-shop { position: relative; }
.mk-body { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; min-height: 30rem; font-size: 12px; line-height: 1.45; text-align: left; }
.mk-store { position: relative; overflow: hidden; }
.mk-nav { display: flex; align-items: center; gap: 16px; height: 40px; padding: 0 18px; border-bottom: 1px solid var(--border); color: var(--ink-muted); }
.mk-nav b { font-weight: 500; color: var(--ink); margin-right: 8px; }
.mk-nav em { margin-left: auto; font: 400 10px/1 var(--font-mono); font-style: normal; color: var(--ink); }
.mk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 18px; filter: saturate(.9); }
.mk-item { display: flex; flex-direction: column; gap: 2px; color: var(--ink); }
.mk-item i { display: block; aspect-ratio: 4 / 3; margin-bottom: 6px; border-radius: var(--radius-control); background: linear-gradient(135deg, color-mix(in srgb, var(--c) 80%, var(--bg)), color-mix(in srgb, var(--c) 25%, var(--bg))); }
.mk-item small { font: 400 10px/1 var(--font-mono); color: var(--ink-muted); }
/* The popup, over a dimmed shop. */
.mk-store::after { content: ''; position: absolute; inset: 40px 0 0; background: color-mix(in srgb, var(--ink) 28%, transparent); pointer-events: none; }
.mk-popup { position: absolute; z-index: 1; left: 50%; top: 54%; width: min(20rem, 78%); transform: translate(-50%, -50%); padding: 22px 22px 16px; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--bg); box-shadow: var(--elev-window); text-align: center; }
.mk-popup .mk-tag { position: absolute; left: 12px; top: -11px; }
.mk-x { position: absolute; right: 10px; top: 8px; border: 0; background: none; color: var(--ink-muted); font-size: 14px; line-height: 1; padding: 0; }
.mk-kicker { font: 400 10px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.mk-h { margin-top: 8px; font-size: 18px; font-weight: 500; line-height: 1.2; letter-spacing: -.02em; color: var(--ink); }
.mk-h.sm { display: flex; align-items: baseline; justify-content: space-between; margin-top: 14px; font-size: 14px; }
.mk-h span { font: 400 10px/1 var(--font-mono); color: var(--ink-muted); }
.mk-p { margin-top: 6px; color: var(--ink-secondary); }
.mk-p b { font-weight: 500; color: var(--ink); }
.mk-input { display: block; margin-top: 14px; padding: 8px 10px; border: 1px solid var(--border-strong); border-radius: var(--radius-control); color: var(--ink-muted); text-align: left; }
.mk-btn { display: block; margin-top: 8px; padding: 9px 10px; border-radius: var(--radius-control); background: var(--accent); color: var(--accent-fg); font-weight: 500; text-align: center; }
.mk-btn.ghost { background: var(--bg); color: var(--ink); border: 1px solid var(--border-strong); padding: 7px 10px; }
.mk-meta { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.mk-meta span { padding: 2px 6px; border: 1px solid var(--border); border-radius: var(--radius-control); font: 400 9.5px/1.4 var(--font-mono); color: var(--ink-muted); }
.mk-tag { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); border-radius: var(--radius-control); background: var(--accent-subtle); color: var(--accent-ink); font: 500 10.5px/1 var(--font-sans); white-space: nowrap; }
.mk-tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.mk-tag.soon { border-color: var(--border-strong); background: var(--bg); color: var(--ink-secondary); }
.mk-tag.soon i { background: var(--ink-muted); }
/* The sliding cart, open on the right. */
.mk-cart { display: flex; flex-direction: column; padding: 14px 16px 16px; border-left: 1px solid var(--border); background: var(--bg); box-shadow: -18px 0 40px -28px rgb(0 0 0 / .35); }
.mk-ship { margin-top: 10px; padding: 10px; border: 1px solid var(--border); border-radius: var(--radius-control); background: var(--surface-1); }
.mk-ship p { color: var(--ink-secondary); }
.mk-ship b { font-weight: 600; color: var(--ink); }
.mk-ship span { display: block; height: 6px; margin-top: 8px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.mk-ship span i, .mk-ab div span i { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.mk-line { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); color: var(--ink); }
.mk-line i, .mk-pair i { width: 34px; height: 34px; border-radius: var(--radius-control); background: color-mix(in srgb, var(--c) 70%, var(--bg)); }
.mk-line small { display: block; font: 400 10px/1.4 var(--font-mono); color: var(--ink-muted); }
.mk-line b, .mk-total b { font-weight: 500; }
.mk-bundle { margin-top: 12px; padding: 10px; border: 1px dashed color-mix(in srgb, var(--accent) 45%, var(--border)); border-radius: var(--radius-control); }
.mk-bundle .mk-p { margin-top: 8px; }
.mk-pair { display: flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--ink-muted); }
.mk-pair em { margin-left: auto; font: 500 10px/1 var(--font-mono); font-style: normal; color: var(--accent-ink); }
.mk-total { display: flex; justify-content: space-between; margin-top: auto; padding-top: 14px; color: var(--ink); }
/* The results card floating off the corner. */
.mk-stats { position: absolute; left: -40px; top: 150px; width: 17.5rem; padding: 14px 16px 16px; font-size: 12px; line-height: 1.4; text-align: left; z-index: 2; }
@media (prefers-reduced-motion: no-preference) { .mk-stats { animation: float-soft 6s ease-in-out infinite; } }
.mk-stats-head { display: flex; justify-content: space-between; align-items: baseline; }
.mk-stats-head b { font-weight: 500; color: var(--ink); }
.mk-stats-head span, .mk-kpis small, .mk-ab small, .mk-ab em, .mk-ab p span { font: 400 10px/1.3 var(--font-mono); font-style: normal; color: var(--ink-muted); }
.mk-kpis { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 10px; border: 1px solid var(--border); border-radius: var(--radius-control); }
.mk-kpis div { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; }
.mk-kpis div + div { border-left: 1px solid var(--border); }
.mk-kpis b { font-size: 15px; font-weight: 500; letter-spacing: -.02em; color: var(--ink); }
.mk-spark { display: flex; align-items: flex-end; gap: 3px; height: 44px; margin-top: 12px; }
.mk-spark i { flex: 1; border-radius: 2px 2px 0 0; background: color-mix(in srgb, var(--accent) 30%, var(--surface-2)); }
.mk-spark i:last-child { background: var(--accent); }
.mk-ab { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--border); }
.mk-ab p { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.mk-ab p b { font-weight: 500; color: var(--accent-ink); font-size: 11px; }
.mk-ab div { display: grid; grid-template-columns: 12px minmax(0, 1fr) 30px; gap: 8px; align-items: center; margin-top: 4px; }
.mk-ab div span { height: 6px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.mk-ab div:not(.win) span i { background: var(--ink-disabled); }
.mk-ab em { text-align: right; }
.mk-ab .win em { color: var(--ink); }
/* What the three do, in a row under the picture. */
.mk-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 40px; list-style: none; }
.mk-chips li { padding: 5px 10px; border: 1px solid var(--border); border-radius: var(--radius-control); background: color-mix(in srgb, var(--bg) 80%, transparent); font: 400 .75rem/1.3 var(--font-mono); color: var(--ink-secondary); }

/* A row of ticked facts under the hero and closing buttons. */
.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; font: 400 .75rem/1.4 var(--font-mono); color: var(--ink-muted); }
.trust.center { justify-content: center; }
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust .icon { width: 13px; height: 13px; color: var(--accent-ink); }

/* Nanflows Bundles, drawn until it has screens of its own. */
.bm { display: flex; flex-direction: column; gap: 10px; padding: 18px; background: var(--bg); color: var(--ink); font-size: 12px; text-align: left; }
.bm-kicker { font: 400 10px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); }
.bm-h { font-size: 15px; font-weight: 500; letter-spacing: -.01em; }
.bm-row { display: flex; align-items: center; gap: 8px; }
.bm-item { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; padding: 8px; border: 1px solid var(--border); border-radius: var(--radius-control); }
.bm-item i { display: block; aspect-ratio: 1; border-radius: calc(6px * var(--radius-scale)); background: radial-gradient(circle, #fff 0 36%, transparent 37%), var(--c); }
.bm-item span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--ink-secondary); font-size: 11px; }
.bm-item b { font-weight: 500; }
.bm-plus { color: var(--ink-muted); }
.bm-foot { display: flex; justify-content: space-between; align-items: center; }
.bm-foot s { color: var(--ink-muted); }
.bm-foot b { font-weight: 600; }
.bm-foot em { font: 500 10px/1 var(--font-mono); font-style: normal; color: var(--accent-ink); padding: 4px 6px; border-radius: var(--radius-control); background: var(--accent-subtle); }
.bm-btn { display: grid; place-items: center; height: 34px; border-radius: var(--radius-control); background: var(--accent); color: var(--accent-fg); font-weight: 500; }
.peek-frame.drawn { right: 32px; }

/* Plugin cards end with a real button. */
.plugin-card .button.more { align-self: flex-start; margin-top: 16px; }

/* Screens: the admin in a window, the shopper's view on a phone beside it. */
.shots { display: flex; flex-direction: column; gap: 96px; }
.shot-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: center; }
.shot-row.flip { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.shot-row.flip .shot-copy { order: 2; }
.shot-copy { display: flex; flex-direction: column; gap: 12px; }
.shot-copy h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; letter-spacing: -.03em; }
.shot-copy p:not(.num-tag) { max-width: 40ch; line-height: 1.7; }
.shot-media { position: relative; padding-right: 64px; padding-bottom: 32px; }
.shot-media > .glow { inset: -32px; opacity: .8; }
.shot-drawn { display: flex; align-items: center; min-height: 20rem; padding: 32px; background: var(--surface-1); }
.shot-drawn .bm { width: 100%; max-width: 26rem; margin: 0 auto; border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--elev-window); }
.phone { position: absolute; right: 0; bottom: 0; z-index: 2; width: 26%; max-width: 12.5rem; margin: 0; padding: 7px; border: 1px solid var(--border-strong); border-radius: 28px; background: var(--ink); box-shadow: var(--elev-window); }
.phone img { width: 100%; aspect-ratio: 9 / 18; object-fit: cover; object-position: top; border-radius: 22px; background: #fff; }
.cells.why .icon-box, .cells.works .icon-box { margin-bottom: 4px; }

/* Stats band */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats > div { display: flex; flex-direction: column; gap: 4px; padding: 56px 0 56px 24px; border-left: 1px solid var(--border); }
.stats > div:first-child { padding-left: 0; border-left: 0; }
.stats dt { order: 2; font: 400 .75rem/1.5 var(--font-mono); color: var(--ink-muted); }
.stats dd { order: 1; margin: 0; font-size: clamp(2.25rem, 4vw, 3.75rem); font-weight: 500; line-height: 1.05; letter-spacing: -.04em; }

/* Plugin cards */
.plugin-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plugin-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.plugin-card .card-body { gap: 8px; }
.plugin-card h3 { font-size: 1.5rem; letter-spacing: -.02em; }
.plugin-card .tagline { font-size: .9375rem; }
.ticks { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-top: 4px; font-size: .875rem; color: var(--ink-secondary); }
.ticks li { position: relative; padding-left: 22px; line-height: 1.5; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: 6px; width: 10px; height: 5px; border-left: 1.5px solid var(--accent-ink); border-bottom: 1.5px solid var(--accent-ink); transform: rotate(-45deg); }
.plugin-meta { margin-top: 8px; font: 400 .75rem/1.5 var(--font-mono); color: var(--ink-muted); }
.plugin-meta strong { font-weight: 500; color: var(--ink); }
.plugin-card.is-soon .peek-frame { opacity: .8; }
.soon { display: inline-flex; align-items: center; height: 20px; padding: 0 6px; border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); border-radius: var(--radius-control); background: var(--accent-subtle); color: var(--accent-ink); font: 500 .6875rem/1 var(--font-sans); white-space: nowrap; vertical-align: middle; }
.soon.big { height: 48px; padding: 0 20px; font-size: .9375rem; }
.soon.plain { border-color: var(--border); background: var(--bg); color: var(--ink-secondary); font: 400 .6875rem/1 var(--font-mono); }
.soon-note { display: flex; align-items: center; gap: 12px; padding: 24px; border: 1px dashed var(--border-strong); border-radius: var(--radius-card); background: var(--surface-1); color: var(--ink-secondary); }

/* Refund: a framed panel with a pastel hairline and a low glow. */
.refund { position: relative; overflow: hidden; display: flex; gap: 32px; align-items: center; padding: 32px; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--surface-1); }
.refund > .glow { opacity: .7; }
.refund > :not(.glow) { position: relative; }
.refund-days { flex: none; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 7rem; }
.refund-days span { font-size: 3.75rem; font-weight: 500; line-height: 1; letter-spacing: -.04em; color: var(--ink); }
.refund-days small { font: 400 .75rem/1 var(--font-mono); color: var(--ink-muted); }
.refund h2 { font-size: 1.5rem; letter-spacing: -.02em; margin-bottom: 6px; }
.refund p { color: var(--ink-secondary); }
.refund p + p { margin-top: 8px; font-size: .875rem; }
.refund a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--border-strong); }
.refund-wrap { margin-top: 16px; }

/* FAQ */
.faq-list { border-top: 1px solid var(--border); }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; color: var(--ink); cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { width: 16px; height: 16px; color: var(--ink-muted); transition: transform var(--dur-productive) var(--ease-productive); }
.faq-list details[open] summary .icon { transform: rotate(45deg); }
.faq-list .answer { max-width: 62ch; padding-bottom: 24px; line-height: 1.7; }
.faq-list .answer p + p { margin-top: .8em; }
.faq-list .answer a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* Closing band */
.closing { position: relative; overflow: hidden; padding-block: 112px; border-top: 1px solid var(--border); }
.closing-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 24px; max-width: 48rem; margin-inline: auto; text-align: center; }
.closing h2 { font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1.02; letter-spacing: -.04em; padding-bottom: .06em; }
.closing .actions { margin-top: 8px; }

/* ---------------------------------------------------------------------------
   Pricing
   ------------------------------------------------------------------------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--surface-1); }
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); background: var(--bg); }
.plan.free { background: var(--bg); border-style: dashed; border-color: var(--border-strong); }
.plan-flag { position: absolute; top: -11px; left: 23px; }
.plan h3 { font-size: 1.125rem; }
.plan-sub { margin-top: 2px; font-size: .8125rem; color: var(--ink-muted); }
.price { display: flex; align-items: baseline; gap: 6px; margin: 20px 0 0; }
.price .amount { font-size: 2.5rem; font-weight: 500; line-height: 1; letter-spacing: -.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.price .per { font-size: .875rem; color: var(--ink-muted); }
.plan-meta { margin: 8px 0 0; font: 400 .75rem/1.5 var(--font-mono); color: var(--ink-muted); }
.plan .ticks { flex: 1; margin: 20px 0 24px; padding-top: 20px; border-top: 1px solid var(--border); }
.ticks li.tick-head { padding-left: 0; margin-top: 10px; font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.ticks li.tick-head:first-child { margin-top: 0; }
.ticks li.tick-head::before { content: none; }
.plan-refund { margin-top: 12px; text-align: center; font: 400 .6875rem/1.4 var(--font-mono); color: var(--ink-muted); }
.plan .button[aria-disabled="true"] { cursor: default; opacity: .6; }
.shopify-note { margin-top: 16px; max-width: 70ch; font-size: .875rem; }

.jump { display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 1px solid var(--border); border-radius: var(--radius-control); font-size: .8125rem; color: var(--ink-secondary); transition: background-color var(--dur-productive) var(--ease-productive), color var(--dur-productive) var(--ease-productive); }
.jump a:hover { background: var(--surface-2); color: var(--ink); }
.jump a[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-card); }
.compare { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.compare th, .compare td { padding: 14px 20px; border-bottom: 1px solid var(--border); text-align: left; }
.compare thead th { font: 400 .6875rem/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); background: var(--surface-1); }
.compare thead th:last-child { color: var(--accent-ink); }
.compare tbody th { font-weight: 400; color: var(--ink); }
.compare td { width: 22%; }
.compare td:last-child { background: color-mix(in srgb, var(--accent-subtle) 60%, transparent); }
.compare tr:last-child > * { border-bottom: 0; }
.yes { color: var(--accent-ink); font-weight: 600; }
.no { color: var(--ink-disabled); }

/* ---------------------------------------------------------------------------
   Product page
   ------------------------------------------------------------------------- */
.facts { display: flex; flex-wrap: wrap; gap: 0; margin: 8px 0 0; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--bg); width: fit-content; }
.facts div { display: flex; flex-direction: column; gap: 2px; padding: 12px 20px; }
.facts div + div { border-left: 1px solid var(--border); }
.facts dt { font: 400 .625rem/1.4 var(--font-mono); color: var(--ink-muted); }
.facts dd { margin: 0; font-size: 1.0625rem; font-weight: 500; color: var(--ink); }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.changelog { list-style: none; border-top: 1px solid var(--border); }
.changelog li { display: grid; grid-template-columns: 12rem minmax(0, 1fr); gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--border); }
.changelog .when { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.changelog .when time { font: 400 .75rem/1 var(--font-mono); color: var(--ink-muted); }
.changelog .when a { font-weight: 500; color: var(--ink); }
.changelog .notes { font-size: .9375rem; }
.changelog .notes p + p, .changelog .notes ul { margin-top: .6em; }
.changelog .notes ul { padding-left: 1.2em; }

/* ---------------------------------------------------------------------------
   Prose
   ------------------------------------------------------------------------- */
.prose { max-width: 68ch; font-size: 1.0625rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose h1 { font-size: clamp(2.25rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -.035em; }
.prose h2 { margin-top: 2em; font-size: 1.625rem; line-height: 1.25; letter-spacing: -.025em; }
.prose h3 { margin-top: 1.6em; font-size: 1.1875rem; line-height: 1.35; letter-spacing: -.015em; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose strong { font-weight: 600; color: var(--ink); }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--border-strong); }
.prose a:hover { text-decoration-color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--ink-muted); }
.prose code { font: .875em var(--font-mono); background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-control); padding: 1px 5px; }
.prose pre { overflow-x: auto; padding: 16px 20px; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--surface-1); font-size: .875rem; line-height: 1.6; }
.prose pre code { background: none; border: 0; padding: 0; }
.prose img { border: 1px solid var(--border); border-radius: var(--radius-card); margin-block: 1.6em; }
/* An italic line straight after a picture is its caption. */
.prose img + em { display: block; margin: -1em 0 1.6em; font-size: .875rem; font-style: normal; color: var(--ink-muted); text-align: center; }
.prose p.tldr { margin: 0 0 2em; padding: 1em 1.2em; border: 1px solid var(--border); border-left: 3px solid var(--ink); border-radius: 10px; background: var(--surface-1); }
.prose blockquote { margin-inline: 0; padding-left: 20px; border-left: 2px solid var(--accent); color: var(--ink); }
.prose hr { border: 0; border-top: 1px solid var(--border); margin-block: 2.4em; }
.video { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-card); background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.message { display: flex; flex-direction: column; align-items: center; gap: 16px; }

/* ---------------------------------------------------------------------------
   Blog
   ------------------------------------------------------------------------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.post-card .post-link { display: flex; flex: 1; flex-direction: column; }
.post-cover { position: relative; height: 14rem; flex: none; overflow: hidden; border-bottom: 1px solid var(--border); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-cover.blank .glow { filter: blur(40px); opacity: .8; }
.post-cover.blank .letter { position: absolute; left: 24px; top: 24px; right: 24px; bottom: -1px; display: flex; flex-direction: column; justify-content: space-between; padding: 16px 18px; border: 1px solid var(--border); border-bottom: 0; border-radius: var(--radius-card) var(--radius-card) 0 0; background: var(--bg); box-shadow: var(--elev-window); font: 400 .6875rem/1.5 var(--font-mono); color: var(--ink-muted); }
.post-cover.blank .letter { justify-content: flex-start; gap: 14px; }
.post-cover.blank .bars { display: flex; flex-direction: column; gap: 8px; }
.post-cover.blank .bars i { display: block; height: 8px; border-radius: var(--radius-control); background: var(--surface-2); }
.post-cover.blank .bars i:first-child { height: 14px; width: 72%; background: var(--surface-3); }
.post-cover.blank .bars i:nth-child(3) { width: 88%; }
.post-cover.blank .bars i:nth-child(4) { width: 64%; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 400 .6875rem/1.5 var(--font-mono); color: var(--ink-muted); }
.post-meta .badge { font: 400 .6875rem/1 var(--font-mono); height: 20px; padding: 0 6px; background: var(--bg); }
.post-meta a:hover { color: var(--ink); }
.post-card h3 { font-size: 1.125rem; line-height: 1.35; letter-spacing: -.02em; }
.post-excerpt { font-size: .875rem; line-height: 1.65; color: var(--ink-secondary); }
.post-card.featured { margin-bottom: 16px; }
.post-card.featured .post-link { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.post-card.featured .post-cover { height: auto; min-height: 20rem; border-bottom: 0; border-right: 1px solid var(--border); }
.post-card.featured .card-body { justify-content: center; padding: 40px; gap: 12px; }
.post-card.featured h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.2; letter-spacing: -.03em; }
.post-card.featured .post-excerpt { font-size: 1rem; }
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--border); }
.pager a { font-size: .875rem; font-weight: 500; color: var(--ink); }
.chips { margin-top: 8px; }

.post-head { display: flex; flex-direction: column; gap: 20px; max-width: 48rem; }
.post-head h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1.02; letter-spacing: -.04em; padding-bottom: .06em; }
.post-head .lead { max-width: 56ch; }
.post-hero { margin-top: 48px; max-width: 64rem; }
.post-body { padding-block: 48px 64px; }
.aside-card { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; max-width: 68ch; margin-top: 48px; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--surface-1); }
.aside-card > :not(.glow) { position: relative; }
.aside-card > div { display: flex; flex-direction: column; gap: 6px; max-width: 40ch; }
.aside-card h2 { font-size: 1.25rem; letter-spacing: -.02em; }
.aside-card p { font-size: .875rem; }

/* ---------------------------------------------------------------------------
   Resources
   ------------------------------------------------------------------------- */
.doc-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; }
.doc-list li { display: flex; }
.doc-list .card { flex: 1; }
.doc-title { font-size: 1rem; font-weight: 500; line-height: 1.4; color: var(--ink); }
.doc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.group-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.group-head h2 { font-size: 1.25rem; letter-spacing: -.02em; }
.group-head a { display: inline-flex; align-items: center; gap: 6px; font-size: .875rem; color: var(--ink-secondary); }
.group-head a:hover { color: var(--ink); }
.group-head .icon { width: 13px; height: 13px; }
.groups { display: flex; flex-direction: column; gap: 56px; }

.doc-layout { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 64px; padding-block: 40px 96px; }
.doc-nav { position: sticky; top: 96px; align-self: start; display: flex; flex-direction: column; gap: 12px; max-height: calc(100vh - 120px); overflow-y: auto; overscroll-behavior: contain; }
.doc-nav ul { list-style: none; border-left: 1px solid var(--border); }
.doc-nav li a { display: block; margin-left: -1px; padding: 6px 0 6px 14px; border-left: 1px solid transparent; font-size: .875rem; line-height: 1.45; color: var(--ink-muted); transition: color var(--dur-productive) var(--ease-productive); }
.doc-nav li a:hover { color: var(--ink); }
.doc-nav li a[aria-current] { border-left-color: var(--accent); color: var(--ink); font-weight: 500; }
.doc-nav .go { font-size: .8125rem; }
.doc-nav .doc-part { margin-top: 8px; font: 400 .6875rem/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
h3.doc-part { margin: 32px 0 14px; font-size: 1rem; letter-spacing: -.01em; color: var(--ink-secondary); }
h3.doc-part:first-of-type { margin-top: 0; }
.doc .prose img { cursor: zoom-in; }
.zoom { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; background: rgb(10 10 12 / .92); cursor: zoom-out; }
.zoom[hidden] { display: none; }
.zoom img { max-width: 100%; max-height: 100%; border-radius: 8px; }
.doc { display: flex; flex-direction: column; gap: 20px; min-width: 0; max-width: 48rem; }
.doc h1 { font-size: clamp(2.25rem, 4vw, 3rem); line-height: 1.06; letter-spacing: -.035em; padding-bottom: .06em; }
.doc .prose { margin-top: 12px; }
.help-box { margin-top: 32px; }

/* ---------------------------------------------------------------------------
   Footer (umbrella chrome)
   ------------------------------------------------------------------------- */
.site-foot { border-top: 1px solid var(--border); background: var(--surface-1); padding-block: 64px 0; }
.foot-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 40px 32px; }
.foot-grid > :first-child { grid-column: 1 / -1; }
.foot-note { max-width: 52ch; margin-top: 12px; font-size: .875rem; color: var(--ink-muted); }
.site-foot h2 { margin-bottom: 12px; font: 400 .75rem/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.site-foot ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.site-foot li a { font-size: .875rem; color: var(--ink-secondary); transition: color var(--dur-productive) var(--ease-productive); }
.site-foot li a:hover { color: var(--ink); }
.site-foot ul ul { margin-top: 8px; padding-left: 12px; border-left: 1px solid var(--border); }
.site-foot ul ul a { color: var(--ink-muted); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-block: 24px; border-top: 1px solid var(--border); font: 400 .75rem/1.5 var(--font-mono); color: var(--ink-muted); }
.foot-copy { display: flex; flex-direction: column; gap: 6px; }
.foot-copy a { color: var(--ink-secondary); transition: color var(--dur-productive) var(--ease-productive); }
.foot-copy a:hover { color: var(--ink); }

/* ---------------------------------------------------------------------------
   Motion
   ------------------------------------------------------------------------- */
[data-reveal] { transition: opacity 700ms var(--ease-entrance), transform 700ms var(--ease-entrance); transition-delay: var(--reveal-delay, 0ms); }
[data-reveal='pending'] { opacity: 0; transform: translateY(18px); }
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes float-soft { 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------------------------------------------------------------------------
   Responsive. Section rhythm 64/96 and hero 80/112 from md up.
   ------------------------------------------------------------------------- */
@media (min-width: 48rem) {
  .section { padding-block: 96px; }
  .section.tight { padding-block: 48px; }
  .section-head { margin-bottom: 64px; }
  .hero-inner { padding-block: 112px 112px; }
  .closing { padding-block: 160px; }
  .cells > * { padding: 32px; }
}
@media (max-width: 1100px) {
  .site-nav, .head-actions { display: none; }
  .mobile-nav { display: block; }
  .plugin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-grid, .doc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cells.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .hero-split, .split, .split.faq-split { grid-template-columns: 1fr; gap: 40px; }
  .split > .sticky { position: static; }
  .mk-body { grid-template-columns: minmax(0, 1fr) 16rem; }
  .mk-stats { position: relative; left: auto; top: auto; bottom: auto; width: auto; max-width: 26rem; margin: 16px auto 0; animation: none; }
  .mk-chips { margin-top: 32px; }
  .shot-row, .shot-row.flip { grid-template-columns: 1fr; gap: 28px; }
  .shot-row.flip .shot-copy { order: 0; }
  .composite { margin-top: 48px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats > div { padding: 36px 0 36px 20px; }
  .stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats > div:nth-child(n + 3) { border-top: 1px solid var(--border); }
  .cells.c3 { grid-template-columns: 1fr; }
  .post-card.featured .post-link { grid-template-columns: 1fr; }
  .post-card.featured .post-cover { min-height: 14rem; border-right: 0; border-bottom: 1px solid var(--border); }
  .post-card.featured .card-body { padding: 24px; }
  .doc-layout { grid-template-columns: 1fr; gap: 40px; }
  .doc-nav { position: static; order: 2; max-height: none; overflow: visible; padding-top: 24px; border-top: 1px solid var(--border); }
  .changelog li { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 640px) {
  .plugin-grid, .plugin-grid.two, .post-grid, .doc-list, .gallery, .cells.c2, .cells.c4 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .refund { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px; }
  .mk-body { grid-template-columns: 1fr; min-height: 0; }
  .mk-store { min-height: 26rem; }
  .mk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-nav span, .mk-meta { display: none; }
  .mk-cart { border-left: 0; border-top: 1px solid var(--border); box-shadow: none; }
  .shot-media { padding-right: 40px; }
  .phone { width: 34%; border-radius: 20px; padding: 5px; }
  .phone img { border-radius: 16px; }
  .shots { gap: 64px; }

  .compare th, .compare td { padding: 12px 14px; }
  .compare td { width: auto; }
  .facts { width: 100%; }
  .facts div { flex: 1 1 33%; padding: 10px 14px; }
  .display { font-size: clamp(2.5rem, 11vw, 3.5rem); }
  .peek { height: 12rem; }
  .peek-frame { top: 24px; left: 24px; }
  .hero-center .actions .button, .closing .actions .button { flex: 1 1 auto; }
}

/* Grid children may shrink below their content, so a wide picture never pushes its text off screen. */
.shot-row > * { min-width: 0; }
@media (max-width: 640px) {
  .shot-drawn { padding: 16px; min-height: 0; }
  .bm { padding: 14px; }
  .bm-row { gap: 4px; }
  .bm-item { padding: 6px; }
}
.hero-split > *, .split > * { min-width: 0; }
/* Glows spill past the edges on purpose; the page must not scroll sideways because of them. */
main { overflow-x: clip; }

/* ---- Videos ---- */
.video-thumb { height: auto; aspect-ratio: 16 / 9; background: var(--surface-2); }
.video-thumb .play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 999px; background: color-mix(in srgb, #000 62%, transparent); color: #fff; backdrop-filter: blur(4px); transition: transform 160ms var(--ease, ease), background-color 160ms var(--ease, ease); }
.video-card:hover .play { transform: scale(1.08); background: var(--accent); }
.video-page h1 { margin: 10px 0 8px; }
.video-page .video { margin-top: 24px; }
.video-page .post-body { padding-block: 32px 0; }

/* ---- Sale prices (automatic discounts) ---- */
.price .was { font-size: 1.125rem; color: var(--ink-muted); text-decoration-thickness: 1.5px; }
.sale-note { margin: 8px 0 0; font-size: .8125rem; color: var(--ink-muted); }

/* ---------------------------------------------------------------------------
   Drawn product pictures (lib/mocks.js): a desktop (16:10) and a phone (9:18).
   They picture other software (WordPress, Shopify, a store), so like
   screenshots they keep their own colours in both themes. Everything inside is
   sized in em off a container-relative font size, so each scales like an image.
   ------------------------------------------------------------------------- */
.dm, .pm { container-type: inline-size; width: 100%; overflow: hidden; text-align: left; font-family: var(--font-sans, system-ui, sans-serif); }
.dm { aspect-ratio: 16 / 10; background: #f0f0f1; color: #1d2327; }
.dm-in { display: flex; flex-direction: column; height: 100%; font-size: 1.25cqw; line-height: 1.35; }
.dm-body { flex: 1; display: flex; min-height: 0; }
.dm-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1.2em; padding: 1.8em 2em; }
.dm-h { display: flex; align-items: center; gap: .8em; font-size: 1.7em; font-weight: 600; letter-spacing: -.01em; }
.dm-h .dm-btn { margin-left: auto; font-size: .55em; }
.dm-dim { color: #757575; }
.dm-right { margin-left: auto; }
.dm-label { font-size: .9em; font-weight: 600; color: #3c434a; }
.dm-card { display: flex; flex-direction: column; gap: .8em; padding: 1.3em; border: 1px solid #dcdcde; border-radius: .5em; background: #fff; }
.dm-cols { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.2em; }
.dm-cols.three { grid-template-columns: repeat(3, 1fr); }
.dm-sw { flex: none; display: block; width: 2.6em; height: 2.6em; border-radius: .4em; background: radial-gradient(circle, rgba(255,255,255,.9) 0 30%, transparent 31%), var(--c); }
.dm-row { display: flex; align-items: center; gap: .9em; padding: .5em 0; border-top: 1px solid #f0f0f1; }
.dm-row span { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.dm-pill { display: inline-block; padding: .2em .7em; border-radius: 1em; background: #e4e4e7; color: #3c434a; font-size: .5em; font-weight: 500; vertical-align: middle; }
.dm-table .dm-pill { font-size: .85em; }
.dm-pill.ok { background: #cdfee1; color: #0c5132; }
.dm-btn { display: inline-grid; place-items: center; padding: .7em 1.2em; border-radius: .45em; font-weight: 600; white-space: nowrap; }
.dm-btn.wp { background: #7f54b3; color: #fff; }
.dm-btn.sh { background: #303030; color: #fff; box-shadow: inset 0 -.15em 0 rgba(0,0,0,.4); }
.dm-seg { display: flex; border: 1px solid #c3c4c7; border-radius: .4em; overflow: hidden; font-size: .9em; }
.dm-seg span { flex: 1; padding: .5em; text-align: center; }
.dm-seg .on { background: #2271b1; color: #fff; }
.dm-field { display: flex; justify-content: space-between; padding: .55em .8em; border: 1px solid #8c8f94; border-radius: .4em; }
/* WordPress */
.dm-wpbar { display: flex; align-items: center; gap: 1.4em; height: 2.6em; padding: 0 1.2em; background: #1d2327; color: #f0f0f1; font-size: .95em; }
.dm-wpbar b { display: grid; place-items: center; width: 1.6em; height: 1.6em; border: .12em solid #a7aaad; border-radius: 50%; font-family: Georgia, serif; font-size: .95em; color: #a7aaad; }
.dm-wpnav { flex: none; display: flex; flex-direction: column; width: 13em; padding-top: .8em; background: #1d2327; color: #f0f0f1; }
.dm-wpnav span { padding: .55em 1.2em; font-size: .95em; }
.dm-wpnav .on { background: #2271b1; color: #fff; }
.dm-steps { display: flex; gap: .4em; }
.dm-steps span { flex: 1; display: flex; align-items: center; gap: .5em; padding: .5em .6em; border-bottom: .2em solid #dcdcde; color: #757575; font-size: .9em; }
.dm-steps em { display: grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 50%; background: #dcdcde; color: #3c434a; font-style: normal; font-size: .85em; }
.dm-steps .done { border-color: #7f54b3; color: #3c434a; }
.dm-steps .done em { background: #7f54b3; color: #fff; }
.dm-steps .on { border-color: #2271b1; color: #1d2327; font-weight: 600; }
.dm-steps .on em { background: #2271b1; color: #fff; }
.dm-preview { align-items: stretch; background: #fbfbfc; }
.dm-ph { font-size: 1.15em; font-weight: 600; }
.dm-trio { display: flex; align-items: center; justify-content: space-between; color: #757575; }
.dm-trio .dm-sw { width: 5em; height: 5em; }
.dm-tot { display: flex; align-items: center; gap: .6em; }
.dm-tot s { color: #757575; }
.dm-tot em { margin-left: auto; padding: .25em .5em; border-radius: .3em; background: #f2ecf9; color: #7f54b3; font-style: normal; font-size: .85em; font-weight: 600; }
/* Shopify */
.dm-shop { background: #f1f1f1; color: #303030; }
.dm-shbar { display: flex; align-items: center; gap: 1.6em; height: 3em; padding: 0 1.2em; background: #1a1a1a; color: #e3e3e3; }
.dm-shbar b { display: grid; place-items: center; width: 1.7em; height: 1.7em; border-radius: .4em; background: #95bf47; color: #fff; font-size: .95em; }
.dm-search { flex: 0 1 26em; padding: .45em 1em; border-radius: .5em; background: #303030; color: #8a8a8a; }
.dm-shnav { flex: none; display: flex; flex-direction: column; gap: .1em; width: 13em; padding: .9em .6em; background: #ebebeb; }
.dm-shnav span { padding: .4em .7em; border-radius: .45em; font-size: .95em; font-weight: 500; }
.dm-shnav .dm-sub { margin-top: .6em; color: #616161; font-size: .8em; }
.dm-shnav .on { background: #fff; font-weight: 650; }
.dm-shnav .dm-in2 { padding-left: 1.8em; color: #616161; font-weight: 400; }
.dm-shop .dm-card { border: 0; border-radius: .8em; box-shadow: 0 .1em .2em rgba(0,0,0,.08), inset 0 -.08em 0 #d4d4d4; }
.dm-big { font-size: 2em; font-weight: 650; letter-spacing: -.02em; }
.dm-big.sm { font-size: 1.5em; }
.dm-meter { display: block; height: .55em; border-radius: 1em; background: #e3e3e3; overflow: hidden; }
.dm-meter i { display: block; height: 100%; border-radius: inherit; background: #29845a; }
.dm-table { gap: 0; padding: 0; overflow: hidden; }
.dm-tr { display: grid; grid-template-columns: 2.2fr 1.6fr 1fr .8fr; align-items: center; gap: 1em; padding: .8em 1.3em; border-top: 1px solid #ebebeb; }
.dm-th { border-top: 0; background: #f7f7f7; color: #616161; font-size: .9em; font-weight: 600; }

/* Phones */
.pm { aspect-ratio: 9 / 18; background: #fff; color: #121212; }
.pm-in { display: flex; flex-direction: column; gap: .7em; height: 100%; padding: 0 1.1em 1.1em; font-size: 5cqw; line-height: 1.3; }
.pm-bar { display: flex; align-items: center; justify-content: space-between; margin: 0 -1.1em; padding: .8em 1.1em; border-bottom: 1px solid #ececec; font-size: .9em; }
.pm-bar b { letter-spacing: .02em; }
.pm-cart { display: block; width: 1em; height: 1.05em; border: .13em solid currentColor; border-radius: .15em .15em .3em .3em; }
.pm-hero { display: block; flex: none; aspect-ratio: 1 / .8; border-radius: .5em; background: radial-gradient(circle at 50% 45%, rgba(255,255,255,.85) 0 22%, transparent 23%), var(--c); }
.pm-title { font-size: 1.15em; font-weight: 600; }
.pm-price { margin-top: -.5em; color: #555; }
.pm-h { font-weight: 600; font-size: .95em; }
.pm-box { display: flex; flex-direction: column; gap: .5em; padding: .8em; border: 1px solid #e5e5e5; border-radius: .6em; }
.pm-line { display: flex; align-items: center; gap: .5em; font-size: .85em; }
.pm-line span:not(.pm-check) { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pm-line .dm-sw { width: 1.9em; height: 1.9em; }
.pm-check { display: grid; place-items: center; flex: none; width: 1.2em; height: 1.2em; border-radius: .25em; background: #7f54b3; color: #fff; font-size: .75em; }
.pm-tot { display: flex; gap: .4em; align-items: baseline; font-size: .9em; }
.pm-tot s { margin-left: auto; color: #888; }
.pm-btn { display: grid; place-items: center; height: 2.6em; margin-top: auto; border-radius: .4em; font-weight: 600; font-size: .9em; }
.pm-box .pm-btn { margin-top: .2em; }
.pm-btn.wp { background: #7f54b3; color: #fff; }
.pm-btn.sh { background: #121212; color: #fff; border-radius: .2em; }
.pm-shop .pm-bar b { font-size: .85em; letter-spacing: .12em; }
.pm-tier { position: relative; display: flex; align-items: center; gap: .6em; padding: .75em .8em; border: 1px solid #d9d9d9; border-radius: .5em; font-size: .9em; }
.pm-tier span:nth-child(2) { flex: 1; }
.pm-tier em { margin-left: .3em; padding: .1em .4em; border-radius: .3em; background: #e3f1df; color: #1a6b3c; font-style: normal; font-size: .8em; font-weight: 600; }
.pm-tier.on { border: .14em solid #008060; background: #f3faf6; }
.pm-radio { flex: none; width: 1em; height: 1em; border: .12em solid #999; border-radius: 50%; }
.pm-tier.on .pm-radio { border: .32em solid #008060; }
.pm-flag { position: absolute; top: -.75em; right: .7em; padding: .1em .5em; border-radius: .3em; background: #008060; color: #fff; font-size: .7em; font-weight: 600; }

/* Where they sit */
.phone .pm { border-radius: 22px; }
.peek-frame .dm { display: block; }

/* Home hero: what Nanflows does, one tile per tool */
.tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; margin-top: 16px; list-style: none; text-align: left; }
.tool { display: flex; gap: 14px; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius-card); background: color-mix(in srgb, var(--bg) 85%, transparent); }
.tool .icon-box { flex: none; color: var(--accent-ink); }
.tool-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tool-name { font-size: 1rem; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.tool-text { font-size: .8125rem; line-height: 1.5; color: var(--ink-secondary); }
.tool-links { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 4px; }
.tool-links a { display: inline-flex; align-items: center; gap: 4px; font: 400 .75rem/1.4 var(--font-mono); color: var(--accent-ink); }
.tool-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.tool-links .icon { width: 12px; height: 12px; }
@media (max-width: 960px) { .tools { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tools { grid-template-columns: 1fr; } }

/* Product pages: the searches each one answers */
.term-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 16px; list-style: none; }
.term-grid h3 { font-size: 1.0625rem; line-height: 1.35; }
.term-grid h3 a::after { content: ''; position: absolute; inset: 0; }
.term-grid .card { position: relative; }
.term-grid p { font-size: .875rem; line-height: 1.6; color: var(--ink-secondary); }

/* Comparisons and buyer's guides */
.compare.vs td { width: 32%; }
.compare.vs td:last-child { background: none; }
.compare.vs td:nth-of-type(1) { background: color-mix(in srgb, var(--accent-subtle) 60%, transparent); }
.compare.vs thead th:last-child { color: var(--ink-muted); }
.compare.vs thead th:nth-child(2) { color: var(--accent-ink); }
.picks { display: grid; gap: 16px; list-style: none; }
.pick.ours { border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); }
.pick-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .8125rem; }
.pick h3 { font-size: 1.25rem; letter-spacing: -.015em; }
.pick h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.pick-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 24px; margin-top: 12px; }
.pick-facts dt { font: 400 .6875rem/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.pick-facts dd { margin: 4px 0 0; font-size: .875rem; line-height: 1.6; color: var(--ink-secondary); }
.source-note { max-width: 75ch; font-size: .875rem; line-height: 1.7; }
.source-note a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 800px) { .pick-facts { grid-template-columns: 1fr; } }
.edge-table { margin-top: 48px; }
.compare.multi { min-width: 52rem; }
.compare.multi td { width: auto; font-size: .875rem; }
.compare.multi td:last-child { background: none; }
.compare.multi td:nth-of-type(1) { background: color-mix(in srgb, var(--accent-subtle) 60%, transparent); }
.compare.multi thead th:last-child { color: var(--ink-muted); }
.compare.multi thead th:nth-child(2) { color: var(--accent-ink); }
.edge-table + .source-note { margin-top: 16px; }

/* ---------------------------------------------------------------------------
   Help centers (/resources/<help>, guides made of steps): numbered step cards
   with screenshots, in the plugin's own orange, like its in-app help.
   ------------------------------------------------------------------------- */
.help {
  --help: #f26b1d;
  --help-ink: #b44a0c;
  --help-soft: #fff1e8;
  --help-card: var(--bg);
  --help-tip: #eef6ff;
  --help-tip-line: #c9defa;
  --help-shadow: 0 1px 2px rgb(16 18 22 / .06), 0 6px 20px rgb(16 18 22 / .06);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .help { --help: #ff8a45; --help-ink: #ffb68a; --help-soft: #33221a; --help-card: var(--surface-1); --help-tip: #172231; --help-tip-line: #2a3d57; --help-shadow: 0 1px 2px rgb(0 0 0 / .4); }
}
:root[data-theme='dark'] .help { --help: #ff8a45; --help-ink: #ffb68a; --help-soft: #33221a; --help-card: var(--surface-1); --help-tip: #172231; --help-tip-line: #2a3d57; --help-shadow: 0 1px 2px rgb(0 0 0 / .4); }

.doc-layout.help { grid-template-columns: 16.5rem minmax(0, 1fr); gap: 48px; padding-top: 28px; }
.help-nav { gap: 0; font-size: .875rem; }
.help-nav ul { border-left: 0; }
.help-nav .help-home-link { padding: 0 10px 4px; font-weight: 600; color: var(--ink); }
.help-nav .doc-part { margin: 18px 0 6px; padding: 0 10px; font: 600 .6875rem/1.4 var(--font-sans); letter-spacing: .06em; }
.help-nav li a { margin: 0; padding: 5px 10px; border: 0; border-radius: 8px; line-height: 1.35; }
.help-nav li a:hover { background: var(--surface-2); color: var(--ink); }
.help-nav li a[aria-current] { background: var(--help-soft); color: var(--help-ink); font-weight: 600; }

.guide { min-width: 0; max-width: 54rem; }
.guide-crumb { margin: 0 0 8px; font-size: .875rem; color: var(--ink-muted); }
.guide-crumb a { color: var(--ink-muted); text-decoration: underline; text-underline-offset: 3px; }
.guide h1 { margin: 0 0 12px; font-size: clamp(1.75rem, 3.2vw, 2.25rem); line-height: 1.2; letter-spacing: -.02em; }
.guide-intro { margin: 0 0 10px; font-size: 1.125rem; line-height: 1.6; color: var(--ink-secondary); }
.guide-meta { display: inline-block; margin: 4px 0 24px; padding: 2px 10px; border-radius: 999px; background: var(--help-soft); color: var(--help-ink); font-size: .8125rem; font-weight: 600; }

.steps { list-style: none; margin: 0; padding: 0; }
.step { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; margin: 0 0 18px; padding: 20px; border: 1px solid var(--border); border-radius: 14px; background: var(--help-card); box-shadow: var(--help-shadow); scroll-margin-top: 96px; }
.step .num { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--help); color: #fff; font-weight: 700; }
.step h2 { margin: 4px 0 6px; font-size: 1.1875rem; line-height: 1.35; font-weight: 600; letter-spacing: -.01em; }
.step-body p { margin: 0 0 10px; line-height: 1.65; color: var(--ink-secondary); }
.step-body strong { color: var(--ink); }
.step-body a { color: var(--help-ink); text-decoration: underline; text-underline-offset: 3px; }
.step-body code { padding: 1px 5px; border-radius: 5px; background: var(--help-soft); font-size: .9em; }
.step-body .tip { padding: 10px 12px; border: 1px solid var(--help-tip-line); border-radius: 10px; background: var(--help-tip); font-size: .9375rem; }
.step-body .tip strong { margin-right: 4px; }
.step-body pre { position: relative; margin: 8px 0 4px; padding: 14px 16px; overflow: auto; border-radius: 10px; background: #15171a; color: #e8eaed; font: 13.5px/1.55 var(--font-mono); }
.step-body pre code { padding: 0; background: none; color: inherit; font: inherit; }
.step-body pre .copy { position: absolute; top: 8px; right: 8px; padding: 4px 10px; border: 0; border-radius: 6px; background: rgb(255 255 255 / .14); color: #fff; font: 600 12px var(--font-sans); cursor: pointer; }
.shot { margin: 12px 0 0; }
.shot img { display: block; width: 100%; height: auto; border: 1px solid var(--border); border-radius: 10px; background: #fff; cursor: zoom-in; }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0 0; }
.pager a { display: block; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--help-card); color: var(--ink); font-weight: 600; line-height: 1.4; }
.pager a:hover { border-color: var(--help); }
.pager a.next { text-align: right; }
.pager small { display: block; margin-bottom: 2px; font-weight: 500; color: var(--ink-muted); }
.help-foot { margin: 32px 0 0; text-align: center; font-size: .875rem; color: var(--ink-muted); }
.help-foot a { color: var(--help-ink); }

.help-home { padding-block: 28px 64px; }
.help-hero { padding: 36px; border: 1px solid var(--border); border-radius: 18px; background: var(--help-card); box-shadow: var(--help-shadow); }
.help-hero h1 { margin: 0 0 12px; font-size: clamp(1.75rem, 3.6vw, 2.25rem); line-height: 1.2; letter-spacing: -.02em; }
.help-hero p { max-width: 45rem; margin: 0 0 20px; font-size: 1.125rem; line-height: 1.6; color: var(--ink-secondary); }
.help-links { display: flex; flex-wrap: wrap; gap: 10px; }
.help-btn { display: inline-block; padding: 10px 18px; border: 1px solid var(--help); border-radius: 10px; background: var(--help); color: #fff; font-weight: 600; }
.help-btn.ghost { border-color: var(--border); background: transparent; color: var(--ink); }
.help-btn:hover { filter: brightness(1.05); }
.help-btn.ghost:hover { border-color: var(--help); }
.help-group { margin: 40px 0 0; }
.help-group h2 { margin: 0 0 14px; font-size: 1.375rem; letter-spacing: -.01em; }
.help-table { overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; background: var(--help-card); box-shadow: var(--help-shadow); }
.help-table table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.help-table th, .help-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.help-table th { font-size: .8125rem; font-weight: 600; color: var(--ink-muted); }
.help-table tr:last-child td { border-bottom: 0; }
.help-table td a { color: var(--help-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.help-table td.ex { color: var(--ink-muted); }
.help-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.help-card { display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px solid var(--border); border-radius: 14px; background: var(--help-card); color: var(--ink); box-shadow: var(--help-shadow); transition: border-color var(--dur-productive) var(--ease-productive); }
.help-card:hover { border-color: var(--help); }
.help-card span { font-size: .90625rem; line-height: 1.5; color: var(--ink-secondary); }
.help-card small { margin-top: auto; padding-top: 4px; font-weight: 600; color: var(--help-ink); }

@media (max-width: 960px) {
  .doc-layout.help { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .help-hero { padding: 24px 20px; }
  .step { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 16px; }
  .pager { grid-template-columns: minmax(0, 1fr); }
  .pager a.next { text-align: left; }
}
