/* getproofmark.com home page. One stylesheet, no build step. */

/* Plus Jakarta Sans (SIL Open Font License), latin subset, variable 400-800. */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Layout: a dark proofing mat with a ruled grid. The product sits on it as white
   proof sheets with crop marks. Section heads are ruled two-column headers.
   Every piece of product UI on the page copies what ships: the storefront
   overlay's own palette and the Polaris admin. One deliberate dark look. */
:root {
  color-scheme: dark;
  --mat: #14122a;
  --mat-2: #1a1734;
  --mat-3: #221e42;
  --grid: rgb(178 166 255 / .035);
  --grid-major: rgb(178 166 255 / .07);
  --line: rgb(222 216 255 / .10);
  --line-strong: rgb(222 216 255 / .2);
  --crop: rgb(222 216 255 / .38);

  --fg: #f4f2fc;
  --fg-2: #cbc6e2;
  --fg-3: #a29bc2;
  --fg-4: #756e98;

  --violet: #7b5cff;
  --violet-hi: #a896ff;
  --violet-soft: rgb(123 92 255 / .16);
  --violet-line: rgb(150 125 255 / .45);
  --on-violet: #ffffff;
  --pen: #ff7a5f;
  --pen-soft: rgb(255 122 95 / .13);
  --ok: #45d99a;
  --ok-soft: rgb(69 217 154 / .14);

  --paper: #ffffff;
  --paper-2: #f5f4f9;
  --paper-ink: #1b1928;
  --paper-muted: #67637b;
  --paper-line: #e6e3ef;

  /* Storefront overlay, copied from overlay/comments-overlay.js */
  --o-base: #16171A; --o-raised: #1E2025; --o-sunken: #101114; --o-well: #131418; --o-hover: #26282E;
  --o-hair: rgb(255 255 255 / .09); --o-subtle: rgb(255 255 255 / .14); --o-strong: rgb(255 255 255 / .22);
  --o-text: #F2F4F5; --o-body: #E4E7E9; --o-sec: #A6ABB3; --o-muted: #71767E;
  --o-accent: #EDEAE3; --o-accent-hi: #FFFEF8; --o-accent-fg: #17160F;
  --o-av: #3A3D45; --o-av-fg: #C9CDD3; --o-av-dev: #2C4A2E; --o-av-dev-fg: #A8DFA9;
  --o-warn: #FFB224;
  --pin-fill: #EDEAE3; --pin-numeral: #17160F;

  /* Shopify admin (Polaris) */
  --p-bg: #f1f1f1; --p-card: #ffffff; --p-text: #303030; --p-sub: #616161; --p-line: #ebebeb;
  --p-border: #b5b5b5; --p-link: #005bd3; --p-head: #f7f7f7; --p-side: #ebebeb; --p-top: #1a1a1a;
  --p-info-bg: #e0f0ff; --p-info: #00527c; --p-ok-bg: #cdfee1; --p-ok: #0c5132;
  --p-crit-bg: #fedad9; --p-crit: #8e1f0b; --p-warn-bg: #ffd6a4; --p-warn: #5e4200; --p-neutral-bg: #e3e3e3;

  --f-display: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  --f-ui: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --f-polaris: -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;

  --wrap: 1220px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --ease-io: cubic-bezier(.65,0,.35,1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; overflow-x: clip; }
body {
  background-color: var(--mat);
  background-image:
    linear-gradient(var(--grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px),
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  color: var(--fg);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
::selection { background: var(--violet-soft); color: var(--fg); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--violet-hi); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--f-display); margin: 0; text-wrap: balance; letter-spacing: -0.03em; font-weight: 800; }
p { margin: 0; text-wrap: pretty; }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap {
  max-width: var(--wrap); margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
@media (max-width: 560px) {
  .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
}

/* ---------- Crop marks on proof sheets ---------- */
.sheet { position: relative; }
.cm { position: absolute; width: 0; height: 0; pointer-events: none; }
.cm::before, .cm::after { content: ""; position: absolute; background: var(--crop); }
.cm::before { width: 1px; height: 12px; }
.cm::after { width: 12px; height: 1px; }
.cm.tl { left: 0; top: 0; } .cm.tl::before { left: 0; top: -20px; } .cm.tl::after { top: 0; left: -20px; }
.cm.tr { right: 0; top: 0; } .cm.tr::before { left: -1px; top: -20px; } .cm.tr::after { top: 0; left: 8px; }
.cm.bl { left: 0; bottom: 0; } .cm.bl::before { left: 0; top: 8px; } .cm.bl::after { top: -1px; left: -20px; }
.cm.br { right: 0; bottom: 0; } .cm.br::before { left: -1px; top: 8px; } .cm.br::after { top: -1px; left: 8px; }
@media (max-width: 640px) { .cm { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 10px;
  font: 700 14.5px var(--f-body);
  border: 1px solid var(--line-strong); background: rgb(255 255 255 / .04); color: var(--fg);
  cursor: pointer; white-space: nowrap;
  transition: background .15s var(--ease), transform .15s var(--ease);
}
.btn:hover { background: rgb(255 255 255 / .08); }
.btn.primary { background: var(--violet); border-color: transparent; color: var(--on-violet); box-shadow: inset 0 1px 0 rgb(255 255 255 / .2); }
.btn.primary:hover { background: #8a6dff; transform: translateY(-1px); }
.btn.lg { height: 50px; padding: 0 24px; font-size: 15.5px; }
.btn svg { width: 17px; height: 17px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40;
  background: var(--mat); border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 18px var(--f-display); letter-spacing: -0.03em; }
.brand svg { width: 28px; height: 28px; flex: none; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 14px; font-weight: 500; color: var(--fg-3); }
.nav-links a:hover { color: var(--fg); }
.nav .btn { height: 38px; font-size: 14px; padding: 0 16px; }
@media (max-width: 880px) { .nav-links { display: none; } .nav .btn { margin-left: auto; } }

/* ---------- Hero ---------- */
.hero { padding-block: 72px 64px; overflow-x: clip; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 60px; align-items: center; }
@media (max-width: 1020px) { .hero .wrap { grid-template-columns: 1fr; gap: 48px; } .hero { padding-block: 44px 48px; } }
.hero-kicker { font-size: 14px; font-weight: 600; color: var(--violet-hi); }
.hero h1 { margin-top: 18px; font-size: clamp(44px, 6vw, 78px); line-height: 1; letter-spacing: -0.045em; }
.hero h1 .l2 { display: block; color: var(--fg-3); }
.pinned { position: relative; display: inline-block; color: var(--fg); }
.hpin {
  position: absolute; left: calc(100% - 2px); top: 4px;
  width: 38px; height: 38px; border-radius: 19px 19px 19px 4px;
  display: grid; place-items: center;
  background: var(--pin-fill); color: var(--pin-numeral);
  font: 600 16px var(--f-ui); letter-spacing: -0.01em;
  box-shadow: 0 0 0 2.5px var(--o-base), 0 0 0 4px rgb(255 255 255 / .22), 0 6px 16px rgb(0 0 0 / .45);
  transform: translateY(-100%);
  animation: hpin .5s .5s var(--ease) both;
}
@keyframes hpin { from { opacity: 0; transform: translateY(-140%) scale(.6); } to { opacity: 1; transform: translateY(-100%); } }
.lede { margin-top: 24px; font-size: 18px; color: var(--fg-3); max-width: 31em; }
.lede strong { color: var(--fg); font-weight: 600; }
.hero-ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.fine { margin-top: 16px; font-size: 13.5px; color: var(--fg-4); }
.fine b { color: var(--fg-3); font-weight: 600; }

/* ---------- The proof (ruler + browser window) ---------- */
.proof { position: relative; min-width: 0; }
.ruler {
  position: relative; height: 24px; margin-bottom: 10px;
  border-bottom: 1px solid var(--crop);
  background:
    repeating-linear-gradient(90deg, var(--fg-4) 0 1px, transparent 1px 10px) left bottom / 100% 5px no-repeat,
    repeating-linear-gradient(90deg, var(--fg-3) 0 1px, transparent 1px 50px) left bottom / 100% 9px no-repeat,
    repeating-linear-gradient(90deg, var(--fg-2) 0 1px, transparent 1px 100px) left bottom / 100% 14px no-repeat;
}
.ruler .tick { position: absolute; top: 0; font: 400 9.5px var(--f-mono); color: var(--fg-4); transform: translateX(3px); }
.ruler .read { position: absolute; right: 0; top: -2px; font: 500 11px var(--f-mono); color: var(--fg-2); background: var(--mat); padding-left: 8px; }
.window { background: var(--paper); border-radius: 6px; box-shadow: 0 50px 100px -30px rgb(0 0 0 / .8), 0 0 0 1px rgb(255 255 255 / .06); }
.chrome { display: flex; align-items: center; gap: 12px; padding: 9px 12px; background: var(--paper-2); border-bottom: 1px solid var(--paper-line); border-radius: 6px 6px 0 0; color: var(--paper-muted); font-size: 11.5px; }
.chrome .dots { display: flex; gap: 5px; }
.chrome .dots i { width: 9px; height: 9px; border-radius: 50%; background: #dcd9e6; }
.chrome .url { flex: 1; min-width: 0; background: var(--paper); border: 1px solid var(--paper-line); border-radius: 6px; padding: 3px 10px; font-family: var(--f-mono); font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chrome .chip { font: 600 10.5px var(--f-body); color: var(--paper-muted); background: var(--paper); border: 1px solid var(--paper-line); padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
@media (max-width: 480px) { .chrome .chip { display: none; } }
.stage { position: relative; overflow: hidden; border-radius: 0 0 6px 6px; }
.stage.placing .store, .stage.placing .store * { cursor: crosshair; }
.try { margin-top: 16px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; color: var(--fg-3); }
.try kbd { font: 500 12px var(--f-mono); color: var(--fg); background: var(--mat-3); border: 1px solid var(--line-strong); border-radius: 6px; padding: 2px 8px; }

/* ---------- Example storefront (container-query responsive) ---------- */
.store { container-type: inline-size; background: var(--paper); color: var(--paper-ink); font-family: var(--f-ui); line-height: 1.35; user-select: none; -webkit-user-select: none; }
.s-announce { display: block; background: #23302b; color: #e4ece6; font-size: 10px; letter-spacing: .05em; text-align: center; padding: 5px 8px; }
.s-head { display: flex; align-items: center; gap: 18px; padding: 10px 16px; border-bottom: 1px solid var(--paper-line); }
.s-logo { font: 800 14px var(--f-display); letter-spacing: -0.03em; white-space: nowrap; }
.s-logo span { font-weight: 400; color: var(--paper-muted); }
.s-nav { display: flex; gap: 14px; font-size: 11px; color: var(--paper-muted); }
.s-icons { margin-left: auto; display: flex; gap: 11px; align-items: center; color: var(--paper-ink); }
.s-icons svg { width: 15px; height: 15px; display: block; }
.s-burger { display: none; width: 15px; }
.s-burger i { display: block; height: 1.5px; background: var(--paper-ink); margin: 3px 0; }
.s-hero { position: relative; display: block; aspect-ratio: 16 / 6.6; overflow: hidden; background: linear-gradient(#f8dfbf, #eda27e); }
.s-scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.s-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(28 18 34 / .38), transparent 62%); }
.s-hero-copy { position: absolute; z-index: 1; left: 5%; bottom: 13%; display: grid; gap: 8px; justify-items: start; max-width: 62%; }
.s-kicker { font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: #fff; opacity: .9; }
.s-h { display: block; font: 800 clamp(18px, 5.2cqi, 34px)/1 var(--f-display); letter-spacing: -0.035em; color: #fff; text-shadow: 0 1px 14px rgb(40 20 40 / .35); }
.s-btn { display: inline-block; background: #fff; color: #1b1a22; font: 600 10.5px var(--f-ui); padding: 6px 13px; border-radius: 999px; }
.s-products { padding: 14px 16px 64px; display: grid; gap: 10px; }
.s-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.s-row b { font: 700 13.5px var(--f-display); letter-spacing: -0.02em; }
.s-link { font-size: 10.5px; color: var(--paper-muted); text-decoration: underline; text-underline-offset: 2px; }
.s-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.s-card { min-width: 0; }
.s-img { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 5; background: #f2f0f6; border-radius: 6px; overflow: hidden; }
.s-board { width: 24%; height: 80%; border-radius: 999px; background: linear-gradient(170deg, var(--a), var(--b)); transform: rotate(-9deg); box-shadow: inset -3px 0 0 rgb(255 255 255 / .28); }
.s-badge { position: absolute; left: 7px; top: 7px; font: 500 9.5px var(--f-ui); color: #b4b1bf; background: #fff; border: 1px solid #e8e6ee; padding: 2px 7px; border-radius: 999px; transition: background .5s, color .5s, border-color .5s; }
.s-badge.fixed { background: #24232c; color: #fff; border-color: #24232c; }
.s-name { display: block; margin-top: 7px; font: 600 11px var(--f-ui); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-price { display: block; font-size: 10.5px; color: var(--paper-muted); }
@container (max-width: 599px) {
  .s-grid { grid-template-columns: repeat(3, 1fr); }
  .s-card:nth-child(4) { display: none; }
}
@container (max-width: 399px) {
  .s-nav { display: none; }
  .s-burger { display: block; }
  .s-head { gap: 12px; }
  .s-hero { aspect-ratio: 1 / 1; }
  .s-hero-copy { max-width: 86%; bottom: 9%; }
  .s-h { font-size: 27px; }
  .s-grid { grid-template-columns: repeat(2, 1fr); }
  .s-card:nth-child(n+3) { display: none; }
}

/* ---------- Storefront overlay, as shipped ---------- */
.ov { font-family: var(--f-ui); color: var(--o-text); -webkit-font-smoothing: antialiased; }
.pins { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.pin {
  position: absolute; transform: translate(-50%, -100%);
  width: 28px; height: 28px; padding: 0; border: 0; border-radius: 14px 14px 14px 3px;
  display: flex; align-items: center; justify-content: center;
  background: var(--pin-fill); color: var(--pin-numeral);
  font: 600 12px var(--f-ui); letter-spacing: -0.01em; font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 2px #16171A, 0 0 0 3px rgba(255,255,255,.22), 0 2px 6px rgba(0,0,0,.45);
  pointer-events: auto; cursor: pointer;
  transition: left .45s var(--ease), top .45s var(--ease), background .3s, color .3s;
}
.pin.drop { animation: drop .4s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translate(-50%, -150%); } to { opacity: 1; transform: translate(-50%, -100%); } }
.pin.active { width: 33px; height: 33px; border-radius: 17px 17px 17px 3px; font-size: 14px; z-index: 3;
  box-shadow: 0 0 0 2px #16171A, 0 0 0 6px rgba(237,234,227,.40), 0 0 0 7px rgba(0,0,0,.30), 0 4px 12px rgba(0,0,0,.5); }
.pin.resolved { background: var(--o-hover); color: var(--o-muted); opacity: .8;
  box-shadow: 0 0 0 2px #16171A, 0 0 0 3px rgba(255,255,255,.14), 0 2px 6px rgba(0,0,0,.35); }

.tgt { position: absolute; z-index: 3; pointer-events: none; border: 1.5px solid var(--o-accent); border-radius: 4px; box-shadow: 0 0 0 3px rgba(237,234,227,.22); transition: left .12s, top .12s, width .12s, height .12s; }
.tgt-label { position: absolute; left: -1.5px; bottom: 100%; font: 500 10.5px/1.4 var(--f-mono); padding: 3px 8px; border-radius: 5px 5px 0 0; background: var(--o-accent); color: var(--o-accent-fg); white-space: nowrap; }
.tgt.flip .tgt-label { bottom: auto; top: 100%; border-radius: 0 0 5px 5px; }

.cursor { position: absolute; left: 0; top: 0; z-index: 9; pointer-events: none; transition: transform .95s var(--ease-io); }
.cursor svg { width: 20px; height: 20px; display: block; filter: drop-shadow(0 2px 3px rgb(0 0 0 / .3)); }
.cursor span { position: absolute; left: 16px; top: 18px; background: #2c2a3a; color: #fff; font: 600 10.5px var(--f-ui); padding: 2px 8px; border-radius: 999px; white-space: nowrap; }

.bar { position: absolute; z-index: 8; left: 12px; bottom: 12px; display: flex; align-items: center; gap: 2px; padding: 4px; background: var(--o-base); border: 1px solid var(--o-subtle); border-radius: 999px; box-shadow: 0 10px 28px -6px rgb(0 0 0 / .55); }
.bar .grip { width: 18px; height: 32px; background: radial-gradient(circle, #5b5f66 1.1px, transparent 1.5px) center / 5px 5px repeat; -webkit-mask: linear-gradient(#000 0 0) center / 10px 16px no-repeat; mask: linear-gradient(#000 0 0) center / 10px 16px no-repeat; }
.bar-btn { height: 32px; min-width: 32px; padding: 0 12px; border: 0; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; background: transparent; color: var(--o-text); font: 500 12.5px var(--f-ui); cursor: pointer; white-space: nowrap; }
.bar-btn:hover { background: var(--o-hover); }
.bar-btn svg { width: 15px; height: 15px; flex: none; }
.bar-btn.primary { background: var(--o-accent); color: var(--o-accent-fg); font-weight: 600; }
.bar-btn.primary:hover { background: var(--o-accent-hi); }
.bar-btn.cancel { background: var(--o-hover); border: 1px solid var(--o-subtle); font-weight: 600; }
.bar-btn.counter { padding: 0 10px; font-variant-numeric: tabular-nums; }
.bar .armed { font-size: 12px; font-weight: 500; padding: 0 10px 0 4px; white-space: nowrap; }
.hint { position: absolute; z-index: 8; left: 50%; bottom: 60px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 6px 0 14px; background: var(--o-base); border: 1px solid var(--o-subtle); border-radius: 999px; box-shadow: 0 12px 30px -8px rgb(0 0 0 / .55); white-space: nowrap; max-width: calc(100% - 20px); }
.hint svg { width: 16px; height: 16px; color: var(--o-accent); flex: none; }
.hint .t { font-size: 12.5px; font-weight: 500; color: var(--o-text); overflow: hidden; text-overflow: ellipsis; }
.hint .sep { width: 1px; height: 18px; background: rgba(255,255,255,.13); flex: none; }
.hint .esc { display: inline-flex; align-items: center; gap: 6px; padding-right: 8px; font-size: 11.5px; color: var(--o-muted); }
.kbd { font: 600 10px var(--f-mono); color: var(--o-sec); background: var(--o-hover); border: 1px solid rgba(255,255,255,.11); padding: 2px 6px; border-radius: 4px; }
.stage.narrow .hint .sep, .stage.narrow .hint .esc { display: none; }

.osheet { position: absolute; z-index: 7; width: 300px; display: flex; flex-direction: column; background: var(--o-base); border: 1px solid var(--o-subtle); border-radius: 14px; box-shadow: 0 24px 60px -16px rgb(0 0 0 / .7); overflow: hidden; animation: sheetIn .22s var(--ease); }
.osheet.docked { left: 8px !important; right: 8px; top: auto !important; bottom: 58px; width: auto; }
.osheet.static { position: relative; width: 100%; animation: none; }
@keyframes sheetIn { from { opacity: 0; transform: translateY(6px); } }
.oh { display: flex; align-items: center; gap: 4px; padding: 10px 8px 10px 14px; border-bottom: 1px solid var(--o-hair); }
.oh h4 { flex: 1; min-width: 0; margin: 0 0 0 4px; font: 600 14px var(--f-ui); letter-spacing: -0.014em; color: var(--o-text); }
.osheet.resolved .oh { background: var(--o-well); }
.osheet.resolved .oh h4 { color: var(--o-sec); }
.oh > svg { width: 16px; height: 16px; color: var(--o-accent); flex: none; }
.ib { width: 30px; height: 30px; border: 0; border-radius: 8px; background: transparent; color: var(--o-sec); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: none; padding: 0; }
.ib:hover { background: var(--o-hover); color: var(--o-text); }
.ib.accent { color: var(--o-accent); }
.ib svg { width: 15px; height: 15px; }
.mpin { width: 22px; height: 22px; border-radius: 11px 11px 11px 2px; flex: none; display: inline-flex; align-items: center; justify-content: center; font: 600 11px var(--f-ui); background: var(--pin-fill); color: var(--pin-numeral); }
.mpin.resolved { background: var(--o-hover); color: var(--o-muted); }
.ob { padding: 12px 14px; display: grid; gap: 12px; }
.onote { display: flex; gap: 8px; align-items: center; padding: 8px 10px; font-size: 12px; color: var(--o-sec); background: var(--o-raised); border: 1px solid var(--o-hair); border-radius: 9px; }
.onote b { color: var(--o-text); font-weight: 600; }
.onote svg { width: 14px; height: 14px; color: var(--o-muted); flex: none; }
.shot { margin: 0; border-radius: 9px; overflow: hidden; border: 1px solid var(--o-hair); background: var(--o-sunken); }
.shot-img { height: 84px; display: grid; place-items: center; overflow: hidden; background: #fff; position: relative; }
.shot-img > div { flex: none; transform-origin: center; pointer-events: none; }
.shot figcaption { display: flex; align-items: center; gap: 6px; padding: 5px 9px; font: 400 10px var(--f-mono); color: var(--o-muted); }
.shot figcaption svg { width: 11px; height: 11px; flex: none; }
.ocomment + .ocomment { border-top: 1px solid rgba(255,255,255,.07); padding-top: 12px; }
.owho { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; min-width: 0; }
.oav { width: 22px; height: 22px; border-radius: 6px; flex: none; display: inline-flex; align-items: center; justify-content: center; font: 600 10px var(--f-ui); background: var(--o-av); color: var(--o-av-fg); }
.oav.dev { background: var(--o-av-dev); color: var(--o-av-dev-fg); }
.owho b { font-size: 12.5px; font-weight: 600; color: var(--o-text); }
.owho span:last-child { font-size: 11.5px; color: var(--o-muted); white-space: nowrap; }
.otext { margin: 0 0 0 30px; font-size: 13px; line-height: 1.55; color: var(--o-body); overflow-wrap: anywhere; }
.of { border-top: 1px solid var(--o-hair); padding: 10px 12px; display: grid; gap: 9px; }
.of-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ofield, .osheet textarea { width: 100%; border-radius: 10px; border: 1px solid var(--o-subtle); background: var(--o-sunken); color: var(--o-text); padding: 8px 11px; font: 400 13px/1.45 var(--f-ui); resize: none; }
.ofield { min-height: 36px; color: var(--o-muted); }
.osheet textarea, .ofake { min-height: 76px; }
.osheet textarea::placeholder { color: var(--o-muted); }
.osheet textarea:focus { outline: none; border-color: var(--o-accent); box-shadow: 0 0 0 3px rgba(237,234,227,.18); }
.ofake .typed { color: var(--o-text); }
.caret { display: inline-block; width: 1.5px; height: 1.05em; background: var(--o-accent); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.otag { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 500; padding: 3px 9px; border-radius: 6px; background: var(--o-raised); color: var(--o-sec); border: 1px solid var(--o-hair); }
.otag.muted { color: var(--o-muted); }
.otag svg { width: 10px; height: 10px; }
.obtn { height: 32px; padding: 0 13px; border-radius: 9px; border: 1px solid transparent; display: inline-flex; align-items: center; gap: 6px; font: 600 12.5px var(--f-ui); cursor: pointer; }
.obtn svg { width: 13px; height: 13px; }
.obtn.primary { background: var(--o-accent); color: var(--o-accent-fg); }
.obtn.primary:hover { background: var(--o-accent-hi); }
.obtn.secondary { background: transparent; color: var(--o-text); border-color: var(--o-strong); font-weight: 500; }
.obtn.secondary:hover { background: var(--o-hover); }
.obtn.hot { box-shadow: 0 0 0 3px rgba(237,234,227,.35); }
.oerr { margin-right: auto; color: #FF6B57; font-size: 12px; }
.oacts { display: flex; gap: 8px; justify-content: flex-end; align-items: center; }

/* ---------- Flow band ---------- */
.flow-band { border-block: 1px solid var(--line); background: var(--mat-2); }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.flow li { padding: 26px 22px 28px; display: grid; gap: 6px; align-content: start; border-left: 1px solid var(--line); min-width: 0; }
.flow li:first-child { border-left: 0; padding-left: 0; }
.flow .n { font: 500 12px var(--f-mono); color: var(--fg-4); }
.flow b { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.flow span:last-child { font-size: 13.5px; color: var(--fg-3); line-height: 1.45; }
.flow li.you .n { color: var(--violet-hi); }
@media (max-width: 1020px) {
  .flow { grid-template-columns: 1fr; }
  .flow li { grid-template-columns: 40px 1fr; padding: 16px 0; border-left: 0; border-top: 1px solid var(--line); column-gap: 8px; row-gap: 2px; }
  .flow li:first-child { border-top: 0; }
  .flow .n { grid-row: span 2; padding-top: 2px; }
}

/* ---------- Section heads ---------- */
section.block { padding-block: 120px 0; }
@media (max-width: 720px) { section.block { padding-block: 84px 0; } }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 20px 56px; align-items: end; padding-top: 22px; border-top: 1px solid var(--line-strong); margin-bottom: 48px; }
@media (max-width: 900px) { .sec-head { grid-template-columns: 1fr; } }
.kicker { font-size: 14px; font-weight: 600; color: var(--violet-hi); margin-bottom: 14px; }
.sec-head h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.04; }
.sec-head h2 .dim { color: var(--fg-3); }
.sec-head > p { color: var(--fg-3); font-size: 17px; padding-bottom: 6px; }
.note-src { margin-top: 16px; font-size: 13px; color: var(--fg-4); }

.seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 10px; background: rgb(255 255 255 / .04); border: 1px solid var(--line); }
.seg button { border: 0; background: transparent; color: var(--fg-3); font: 600 13px var(--f-body); padding: 6px 13px; border-radius: 7px; cursor: pointer; white-space: nowrap; }
.seg button:hover { color: var(--fg); }
.seg button[aria-pressed="true"] { background: rgb(255 255 255 / .1); color: var(--fg); }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 22px; align-items: stretch; }
@media (max-width: 900px) { .why { grid-template-columns: 1fr; } }
.linkcard { padding: 26px 28px; border-radius: 6px; background: var(--paper); color: var(--paper-ink); position: relative; display: grid; align-content: start; }
.linkcard .lbl { font: 500 11px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--paper-muted); }
.linkcard .url { margin-top: 6px; font: 500 14px var(--f-mono); color: #4a3bd0; word-break: break-all; }
.lc-row { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.clock { font: 800 clamp(44px, 6.4vw, 72px)/1 var(--f-display); letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.clock-sub { font-size: 14px; color: var(--paper-muted); margin-top: 6px; }
.lc-meta { display: grid; gap: 2px; text-align: right; font: 400 12px var(--f-mono); color: var(--paper-muted); }
.lc-replay { margin-top: 20px; justify-self: start; border: 1px solid var(--paper-line); background: var(--paper-2); color: var(--paper-ink); height: 34px; padding: 0 14px; border-radius: 8px; font: 600 13px var(--f-body); cursor: pointer; }
.stamp { position: absolute; right: 26px; top: 22px; padding: 6px 14px; border: 2.5px solid #d4452b; color: #d4452b; border-radius: 6px; font: 800 20px/1 var(--f-display); letter-spacing: .08em; text-transform: uppercase; transform: rotate(-4deg) scale(1.4); opacity: 0; transition: transform .3s var(--ease), opacity .2s; }
.stamp.on { transform: rotate(-4deg) scale(1); opacity: 1; }
.scraps { display: grid; gap: 12px; }
.scrap { background: var(--mat-3); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; display: grid; gap: 8px; font-size: 14.5px; color: var(--fg-2); min-width: 0; }
.src { font: 500 11px var(--f-mono); letter-spacing: .04em; color: var(--fg-4); }
.wave { display: flex; align-items: center; gap: 2px; height: 24px; }
.wave i { width: 3px; border-radius: 2px; background: var(--fg-4); }
.query { justify-self: start; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--pen); background: var(--pen-soft); padding: 3px 9px; border-radius: 6px; }

/* ---------- Context (widths) ---------- */
.ctx { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 22px; align-items: start; }
@media (max-width: 960px) { .ctx { grid-template-columns: 1fr; } }
.vp-card { background: var(--mat-2); border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: grid; gap: 14px; min-width: 0; }
.vp-top { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.vp-read { font: 500 12px var(--f-mono); color: var(--fg-3); }
.vp-read b { color: var(--fg); font-weight: 500; }
.vp-desk { padding: 26px 0 8px; display: flex; justify-content: center; }
.vp-frame { width: var(--fw, 100%); max-width: 100%; transition: width .55s var(--ease); }
.vp-frame .chrome .url { font-size: 10px; }
.ctx-side { display: grid; gap: 18px; min-width: 0; }
.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 14.5px; color: var(--fg-3); }
.ticks li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; }
.ticks li::before { content: ""; width: 12px; height: 7px; margin-top: 7px; border-left: 2px solid var(--violet-hi); border-bottom: 2px solid var(--violet-hi); transform: rotate(-45deg); }
.ticks b { color: var(--fg); font-weight: 600; }

/* ---------- Shopify admin (Polaris look) ---------- */
.sa { font-family: var(--f-polaris); font-size: 13px; line-height: 1.45; color: var(--p-text); background: var(--p-bg); border-radius: 10px; overflow: hidden; box-shadow: 0 50px 100px -30px rgb(0 0 0 / .8), 0 0 0 1px rgb(255 255 255 / .06); -webkit-font-smoothing: antialiased; }
.sa-top { height: 48px; background: var(--p-top); display: flex; align-items: center; gap: 12px; padding: 0 14px; }
.sa-search { flex: 1; max-width: 420px; margin: 0 auto; height: 32px; border-radius: 8px; background: #303030; border: 1px solid #4a4a4a; color: #b5b5b5; display: flex; align-items: center; gap: 8px; padding: 0 10px; font-size: 13px; }
.sa-search svg { width: 14px; height: 14px; }
.sa-store { display: flex; align-items: center; gap: 8px; color: #e3e3e3; font-size: 13px; font-weight: 550; white-space: nowrap; }
.sa-store i { font-style: normal; width: 26px; height: 26px; border-radius: 7px; background: #3b7d5a; color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 650; }
@media (max-width: 560px) { .sa-store span { display: none; } }
.sa-body { display: grid; grid-template-columns: 210px minmax(0, 1fr); min-height: 560px; }
@media (max-width: 860px) { .sa-body { grid-template-columns: 1fr; } .sa-side { display: none !important; } }
.sa-side { background: var(--p-side); padding: 12px 8px; display: grid; gap: 1px; align-content: start; border-right: 1px solid #e0e0e0; }
.sa-nav { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px; border-radius: 8px; color: var(--p-text); font-weight: 550; font-size: 13px; border: 0; background: transparent; text-align: left; width: 100%; font-family: inherit; }
.sa-nav.muted { color: #8a8a8a; font-weight: 450; }
.sa-nav svg { width: 16px; height: 16px; flex: none; }
.sa-sec { margin: 14px 10px 4px; font-size: 12px; font-weight: 550; color: var(--p-sub); }
.sa-sub { padding-left: 34px; font-weight: 450; cursor: pointer; }
.sa-sub:hover { background: #e3e3e3; }
.sa-sub[aria-current="page"] { background: #fafafa; font-weight: 650; }
.sa-sub[aria-disabled="true"] { cursor: default; color: var(--p-sub); }
.sa-sub[aria-disabled="true"]:hover { background: transparent; }
.sa-main { min-width: 0; display: grid; align-content: start; }
.sa-appbar { height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 16px; background: #fff; border-bottom: 1px solid #e3e3e3; font-weight: 650; font-size: 13px; }
.sa-appbar svg { width: 20px; height: 20px; }
.sa-appbar .sa-mnav { margin-left: auto; display: none; gap: 4px; }
@media (max-width: 860px) { .sa-appbar .sa-mnav { display: flex; } }
.sa-mnav button { border: 0; background: transparent; font: 550 12.5px var(--f-polaris); color: var(--p-sub); padding: 5px 9px; border-radius: 8px; cursor: pointer; }
.sa-mnav button[aria-current="page"] { background: var(--p-bg); color: var(--p-text); }
.sa-page { padding: 20px 20px 28px; display: grid; gap: 16px; align-content: start; max-width: 1000px; width: 100%; }
@media (max-width: 560px) { .sa-page { padding: 16px 12px 22px; } }
.sa-h1 { font: 700 20px/1.3 var(--f-polaris); letter-spacing: -0.01em; margin: 0; color: var(--p-text); }
.sa-card { background: var(--p-card); border-radius: 12px; padding: 16px; display: grid; gap: 12px; box-shadow: 0 1px 0 0 rgba(26,26,26,.07), 0 0 0 1px rgba(26,26,26,.06); min-width: 0; }
.sa-card h3 { font: 650 14px var(--f-polaris); letter-spacing: 0; color: var(--p-text); margin: 0; }
.sa-card p { color: var(--p-text); }
.sa-grid-f { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 12px; align-items: end; }
.sa-grid-a { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; }
@media (max-width: 640px) { .sa-grid-f { grid-template-columns: 1fr 1fr; } .sa-grid-f .sa-field:last-child { grid-column: 1 / -1; } }
.sa-field { display: grid; gap: 4px; min-width: 0; }
.sa-field label { font-size: 13px; color: var(--p-text); }
.sa-select, .sa-input { height: 32px; width: 100%; border-radius: 8px; border: 1px solid var(--p-border); border-top-color: #8a8a8a; background: #fdfdfd; color: var(--p-text); font: 450 13px var(--f-polaris); padding: 0 10px; color-scheme: light; }
.sa-select { appearance: none; -webkit-appearance: none; padding-right: 28px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7 8l3-3 3 3M7 12l3 3 3-3' fill='none' stroke='%234a4a4a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 6px center; background-size: 16px; }
.sa-searchf { position: relative; }
.sa-searchf svg { position: absolute; left: 9px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: #616161; }
.sa-searchf .sa-input { padding-left: 30px; }
.sa-select:focus, .sa-input:focus { outline: 2px solid var(--p-link); outline-offset: 1px; }
.sa-btn { height: 32px; padding: 0 14px; border-radius: 8px; border: 0; font: 650 12.5px var(--f-polaris); cursor: pointer; white-space: nowrap; }
.sa-btn.primary { background: linear-gradient(#3a3a3a, #262626); color: #fff; box-shadow: inset 0 -1px 0 #000, inset 0 1px 0 rgb(255 255 255 / .2); }
.sa-btn.secondary { background: #fff; color: var(--p-text); box-shadow: inset 0 -1px 0 #b5b5b5, 0 0 0 1px #e3e3e3; }
.sa-banner { border-radius: 12px; padding: 12px 14px; font-size: 13px; display: grid; gap: 2px; }
.sa-banner b { font-weight: 650; }
.sa-banner.ok { background: var(--p-ok-bg); color: var(--p-ok); }
.sa-banner.warn { background: #fff1e3; color: var(--p-warn); box-shadow: inset 0 0 0 1px #ffd6a4; }
.sa-tw { overflow-x: auto; border: 1px solid var(--p-line); border-radius: 8px; }
.sa-t { width: 100%; border-collapse: collapse; font-size: 13px; }
.sa-t.wide { min-width: 720px; }
.sa-t.wide td:nth-child(4), .sa-t.wide td:nth-child(5), .sa-t.wide td:nth-child(6) { white-space: nowrap; }
.sa-t th { text-align: left; font-weight: 550; font-size: 12px; color: var(--p-sub); background: var(--p-head); padding: 7px 12px; border-bottom: 1px solid var(--p-line); white-space: nowrap; }
.sa-t td { padding: 9px 12px; border-top: 1px solid var(--p-line); vertical-align: top; }
.sa-t tr:first-child td { border-top: 0; }
.sa-t tr.fresh td { animation: rowIn 1.6s var(--ease); }
@keyframes rowIn { from { background: #eaf4ff; } to { background: transparent; } }
.sa-t input[type="checkbox"] { width: 16px; height: 16px; margin: 1px 0 0; accent-color: #303030; color-scheme: light; }
.sa-link { color: var(--p-link); background: none; border: 0; padding: 0; font: inherit; text-align: left; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.sa-sub-t { color: var(--p-sub); }
.badge { display: inline-flex; align-items: center; font-size: 12px; font-weight: 550; padding: 2px 8px; border-radius: 8px; white-space: nowrap; background: var(--p-neutral-bg); color: var(--p-text); }
.badge.info { background: var(--p-info-bg); color: var(--p-info); }
.badge.success { background: var(--p-ok-bg); color: var(--p-ok); }
.badge.critical { background: var(--p-crit-bg); color: var(--p-crit); }
.badge.warning { background: var(--p-warn-bg); color: var(--p-warn); }
.sa-cols { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 16px; align-items: start; }
@media (max-width: 960px) { .sa-cols { grid-template-columns: 1fr; } }
.sa-stack { display: grid; gap: 16px; min-width: 0; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 640px) { .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.metric { background: var(--p-head); border-radius: 8px; padding: 12px; display: grid; gap: 2px; min-width: 0; }
.metric span { color: var(--p-sub); font-size: 13px; }
.metric b { font: 650 16px var(--f-polaris); font-variant-numeric: tabular-nums; }
.metric b.critical { color: #b42318; }
.metric b.success { color: #0c5132; }
.sa-ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.sa-ul .sa-sub-t { font-size: 12.5px; }

/* ---------- Publish ---------- */
.pub { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
@media (max-width: 760px) { .pub { grid-template-columns: 1fr; } }
.theme { background: var(--mat-2); border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: grid; gap: 14px; transition: border-color .4s, box-shadow .4s; min-width: 0; }
.theme.live { border-color: rgb(69 217 154 / .45); box-shadow: 0 0 0 1px rgb(69 217 154 / .12); }
.thumb { height: 120px; border-radius: 6px; background: var(--paper); padding: 8px; display: grid; grid-template-rows: 8px 1fr 22px; gap: 6px; position: relative; overflow: hidden; }
.thumb i { display: block; border-radius: 3px; }
.thumb .a { background: #e9e7ef; width: 50%; }
.thumb .b { background: linear-gradient(#f8dfbf, #eda27e); }
.thumb.alt .b { background: linear-gradient(#cfe3ff, #8fb5e8); }
.thumb .c { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.thumb .c i { background: #f0eef5; }
.thumb .tp { position: absolute; width: 18px; height: 18px; border-radius: 9px 9px 9px 2px; background: var(--pin-fill); color: var(--pin-numeral); font: 600 9px var(--f-ui); display: grid; place-items: center; box-shadow: 0 0 0 1.5px #16171A; transform: translate(-50%, -100%); transition: opacity .4s; }
.thumb.archived .tp { opacity: 0; }
.th-name { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.th-name b { font: 700 18px var(--f-display); letter-spacing: -0.02em; }
.chip { font: 600 12px var(--f-body); padding: 3px 10px; border-radius: 999px; background: rgb(255 255 255 / .07); color: var(--fg-2); white-space: nowrap; }
.chip.live { background: var(--ok-soft); color: var(--ok); }
.kv { display: grid; margin: 0; font-size: 14px; }
.kv div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.kv dt { color: var(--fg-3); }
.kv dd { margin: 0; text-align: right; font-weight: 600; }
.kv dd.on { color: var(--fg); }
.kv dd.off { color: var(--fg-4); }
.kv dd.good { color: var(--ok); }
.pub-bar { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.pub-log { font: 400 12.5px/1.8 var(--f-mono); color: var(--fg-3); min-height: 24px; }
.pub-log div { animation: fadeUp .3s var(--ease); }
.pub-log .ok { color: var(--ok); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(4px); } }
.extras { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
@media (max-width: 860px) { .extras { grid-template-columns: 1fr; } }
.extras div { padding: 22px 24px 0 0; display: grid; gap: 6px; align-content: start; }
.extras h3 { font-size: 16px; letter-spacing: -0.01em; font-weight: 700; }
.extras p { font-size: 14.5px; color: var(--fg-3); }

/* ---------- Compare ---------- */
.cmp-scroll { overflow-x: auto; }
.cmp { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; font-size: 14.5px; }
.cmp th, .cmp td { text-align: left; padding: 16px 18px; border-top: 1px solid var(--line); vertical-align: top; }
.cmp thead th { border-top: 0; font-size: 13px; font-weight: 600; color: var(--fg-4); padding-block: 12px; }
.cmp tbody th { font-weight: 600; color: var(--fg-2); width: 22%; }
.cmp .us { background: rgb(123 92 255 / .08); color: var(--fg); border-left: 1px solid var(--violet-line); border-right: 1px solid var(--violet-line); }
.cmp thead .us { color: var(--violet-hi); border-top: 1px solid var(--violet-line); border-radius: 10px 10px 0 0; }
.cmp tbody tr:last-child .us { border-bottom: 1px solid var(--violet-line); }
.cmp td:not(.us) { color: var(--fg-3); }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 460px; } }
.plan { background: var(--mat-2); border: 1px solid var(--line); border-radius: 14px; padding: 26px; display: grid; gap: 16px; grid-template-rows: auto auto auto 1fr auto; }
.plan.pop { background: var(--paper); color: var(--paper-ink); border-color: transparent; border-radius: 6px; }
.plan h3 { font-size: 20px; letter-spacing: -0.02em; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.plan .tag { font: 600 12px var(--f-body); letter-spacing: 0; color: #fff; background: var(--violet); padding: 4px 10px; border-radius: 999px; }
.price { font: 800 48px/1 var(--f-display); letter-spacing: -0.045em; }
.price small { font: 500 15px var(--f-body); letter-spacing: 0; color: var(--fg-3); }
.plan.pop .price small, .plan.pop .sub { color: var(--paper-muted); }
.sub { font-size: 14px; color: var(--fg-3); }
.plan .ticks { color: inherit; }
.plan.pop .ticks li::before { border-color: var(--violet); }
.plan .btn { width: 100%; }
.plans-note { margin-top: 18px; font-size: 13.5px; color: var(--fg-4); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 4px; display: flex; justify-content: space-between; gap: 18px; font: 700 17px/1.35 var(--f-display); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; font: 400 18px/1 var(--f-body); color: var(--violet-hi); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 4px 22px; color: var(--fg-3); display: grid; gap: 10px; max-width: 46em; }
.faq .a strong { color: var(--fg-2); }
.faq code { font: 400 13px var(--f-mono); color: var(--fg-2); background: rgb(255 255 255 / .06); padding: 1px 6px; border-radius: 4px; }
.faq-wrap { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 56px; padding-top: 22px; border-top: 1px solid var(--line-strong); }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; gap: 24px; } }
.faq-wrap h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.04; }
.faq-wrap .faq { border-top: 0; }

/* ---------- Closer ---------- */
.closer { background: var(--paper); color: var(--paper-ink); border-radius: 6px; padding: clamp(32px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 40px; align-items: end; }
@media (max-width: 860px) { .closer { grid-template-columns: 1fr; } }
.closer h2 { font-size: clamp(36px, 5.2vw, 64px); line-height: 1; letter-spacing: -0.045em; }
.closer p { margin-top: 18px; font-size: 17.5px; color: var(--paper-muted); max-width: 32em; }
.closer .k { font-size: 14px; font-weight: 600; color: #5a3fe0; margin: 0 0 14px; }
.closer .btns { display: flex; flex-wrap: wrap; gap: 12px; }

footer { margin-top: 120px; padding-block: 44px 56px; border-top: 1px solid var(--line); }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; font-size: 14px; color: var(--fg-3); }
@media (max-width: 760px) { footer .wrap { grid-template-columns: 1fr; } }
footer nav { display: grid; gap: 8px; align-content: start; }
footer nav a:hover { color: var(--fg); }
footer .legal { grid-column: 1 / -1; font-size: 12.5px; color: var(--fg-4); padding-top: 22px; border-top: 1px solid var(--line); }
.mail { user-select: all; font-family: var(--f-mono); font-size: 12.5px; color: var(--fg-2); }

.toast { position: fixed; z-index: 60; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: all .3s var(--ease); background: var(--o-base); color: var(--o-text); border: 1px solid var(--o-subtle); border-radius: 10px; padding: 10px 16px; font: 500 13.5px var(--f-ui); box-shadow: 0 16px 40px -12px rgb(0 0 0 / .6); max-width: calc(100% - 32px); }
.toast.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { color: var(--o-accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* Base, as the page had inside its preview frame */
body { margin: 0; }
img { max-width: 100%; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }
a.mail:hover { color: var(--fg); }
