/* approved.tools — design system.
   Light only. Everything white; structure comes from thin borders and medium corners, not fills.
   Geist for text, Inter Tight for headings, Geist Pixel Square for small accents and the pixel pattern.
   Green is only for the "approved" signal. */

@font-face { font-family: "Geist Pixel Square"; src: url("/fonts/GeistPixel-Square.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #f4f4f6;          /* page + sidebar */
  --panel: #ffffff;       /* content panel */
  --muted: #f5f5f7;       /* cards on the panel */
  --mist: #e8e8ed;        /* card hover, gray chips */
  --line: #e8e8ed;
  --fg: #0a0d12;
  --fg-2: #535862;
  --fg-3: #8a8f98;
  --btn: #181d27;
  --btn-fg: #ffffff;
  --tile: #ffffff;        /* logo tiles and inner boxes inside cards */
  --green: #138a4f;
  --green-ink: #0f6b41;
  --green-soft: #e7f7ee;
  --gold-ink: #8a5a0b;
  --gold-soft: #fbf1dc;
  --red-ink: #b42318;
  --red-soft: #fdecea;

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Inter Tight", "Geist", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --side: 232px;
  --r-panel: 24px;
  --r-card: 24px;
  --r-inner: 16px;

  /* aliases for the admin and submit stylesheets */
  --paper: var(--panel);
  --paper-2: var(--muted);
  --card: var(--panel);
  --ink: var(--fg);
  --ink-2: var(--fg-2);
  --ink-3: var(--fg-3);
  --rule: var(--line);
  --rule-strong: #d5d6dc;
  --accent: var(--btn);
  --accent-soft: var(--muted);
  --accent-ink: var(--btn-fg);
  --ok: var(--green);
  --ok-soft: var(--green-soft);
  --warn: #a45a00;
  --font-ui: var(--font);
  --font-display: var(--font-head);
  --radius-s: 12px;
  --radius: 16px;
  --radius-l: 24px;
  --shadow: none;
  color-scheme: light;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 15px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0; }
::selection { background: var(--fg); color: var(--panel); }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; border-radius: 8px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--font-mono); font-size: 12px; }
.muted { color: var(--fg-2); }
.faint { color: var(--fg-3); }
.serif { font-family: var(--font-head); }

/* ---------- shell ---------- */
.n-shell { display: flex; min-height: 100vh; }
.n-side { position: sticky; top: 0; flex: none; width: var(--side); height: 100vh; overflow-y: auto; padding: 18px 12px 24px; scrollbar-width: none; }
.n-side::-webkit-scrollbar { display: none; }
.n-logo { display: flex; align-items: center; gap: 8px; padding: 4px 12px 18px; font-weight: 600; font-size: 16px; letter-spacing: -0.02em; }
.n-logo .at-mark { color: var(--green); }
.n-logo .at-wordmark span { color: var(--fg-3); font-weight: 500; }
.n-side__h { padding: 18px 12px 6px; font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-2); }
.n-side nav { display: flex; flex-direction: column; gap: 1px; }
.n-side nav a { display: flex; align-items: center; justify-content: space-between; height: 32px; padding: 0 12px; border-radius: 999px; color: var(--fg-2); font-size: 14.5px; font-weight: 500; }
.n-side nav a:hover { color: var(--fg); background: var(--mist); }
.n-side nav a[aria-current="page"] { color: var(--fg); background: var(--panel); }
.n-side nav a .n { font-size: 11.5px; color: var(--fg-3); font-weight: 400; }

.n-main { flex: 1; min-width: 0; padding: 8px 8px 8px 0; }
.n-panel { min-height: calc(100vh - 16px); background: var(--panel); border-radius: var(--r-panel); display: flex; flex-direction: column; }
.n-top { display: flex; align-items: center; gap: 16px; padding: 16px 32px; min-height: 72px; }
.n-menu { display: none; width: 40px; height: 40px; border: 0; border-radius: 12px; background: var(--muted); cursor: pointer; place-items: center; }
.n-crumbs { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13px; color: var(--fg-2); }
.n-crumbs a:hover { color: var(--fg); }
.n-crumbs .sep { color: var(--fg-3); }
.n-crumbs [aria-current] { color: var(--fg); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.n-topnav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.n-topnav > a:not(.n-btn) { padding: 6px 10px; font-size: 14px; color: var(--fg-2); border-radius: 999px; }
.n-topnav > a:not(.n-btn):hover, .n-topnav > a[aria-current="page"]:not(.n-btn) { color: var(--fg); }
.n-content { flex: 1; padding: 0 32px 32px; }
.n-wrap { max-width: 1120px; margin: 0 auto; }
.n-narrow { max-width: 760px; margin: 0 auto; }

.n-foot { margin: 64px 32px 0; padding: 28px 0 32px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; font-size: 13px; color: var(--fg-2); }
.n-foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.n-foot a:hover { color: var(--fg); }
.n-foot .n-foot__badge { margin-left: auto; }

.n-scrim { display: none; }

@media (max-width: 900px) {
  .n-side { position: fixed; z-index: 40; left: 0; top: 0; background: var(--bg); transform: translateX(-100%); transition: transform .2s ease; box-shadow: 0 0 0 100vmax transparent; }
  body.side-open .n-side { transform: none; }
  body.side-open .n-scrim { display: block; position: fixed; inset: 0; z-index: 30; background: rgba(0, 0, 0, .35); }
  .n-main { padding: 0; }
  .n-panel { border-radius: 0; min-height: 100vh; }
  .n-menu { display: grid; }
  .n-top { padding: 12px 16px; min-height: 64px; flex-wrap: wrap; }
  .n-crumbs { order: 3; flex-basis: 100%; }
  .n-topnav > a.hide-sm { display: none; }
  .n-content { padding: 0 16px 24px; }
  .n-foot { margin: 48px 16px 0; }
  .n-foot .n-foot__badge { margin-left: 0; }
}

/* ---------- buttons ---------- */
.n-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 20px; border-radius: 999px; border: 0; background: var(--muted); color: var(--fg); font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap; transition: background .15s ease, opacity .15s ease; }
.n-btn:hover { background: var(--mist); }
.n-btn--dark { background: var(--btn); color: var(--btn-fg); }
.n-btn--dark:hover { background: var(--btn); opacity: .88; }
.n-btn--green { background: var(--green); color: #fff; }
.n-btn--green:hover { background: var(--green); opacity: .9; }
.n-btn--lg { height: 48px; padding: 0 24px; font-size: 15px; }
.n-btn--sm { height: 32px; padding: 0 14px; font-size: 13px; }
.n-btn--block { display: flex; width: 100%; }
.n-btn[disabled] { opacity: .5; cursor: not-allowed; }
.n-link { font-size: 14px; font-weight: 500; color: var(--fg); display: inline-flex; gap: 6px; align-items: center; }
.n-link:hover { opacity: .7; }

/* ---------- chips ---------- */
.n-chip { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 500; line-height: 1; white-space: nowrap; background: var(--mist); color: var(--fg-2); vertical-align: middle; }
a.n-chip:hover { color: var(--fg); }
.n-chip--green { background: var(--green-soft); color: var(--green-ink); }
.n-chip--gold { background: var(--gold-soft); color: var(--gold-ink); }
.n-chip--dark { background: var(--btn); color: var(--btn-fg); }
.n-chip--white { background: var(--tile); color: var(--fg-2); }
.n-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }

/* ---------- logo tiles ---------- */
.logo { flex: none; width: 48px; height: 48px; border-radius: 12px; overflow: hidden; background: var(--tile); display: grid; place-items: center; }
.logo img { width: 100%; height: 100%; object-fit: cover; }
.logo .monogram { font-family: var(--font-head); font-weight: 500; font-size: 22px; line-height: 1; color: var(--fg-2); }
.logo-lg { width: 88px; height: 88px; border-radius: 22px; }
.logo-lg .monogram { font-size: 40px; }
.logo-sm { width: 32px; height: 32px; border-radius: 9px; }
.logo-sm .monogram { font-size: 15px; }

/* ---------- headings ---------- */
.n-h1 { font-family: var(--font-head); font-weight: 500; font-size: 56px; line-height: 1.05; letter-spacing: -0.02em; }
.n-lede { margin-top: 14px; font-size: 17px; color: var(--fg-2); max-width: 640px; line-height: 1.6; }
.n-pagehead { padding: 24px 0 8px; }
.n-pagehead--center { text-align: center; }
.n-pagehead--center .n-lede { margin-left: auto; margin-right: auto; }
.n-pagehead__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.n-sec { margin-top: 80px; }
.n-sec:first-child { margin-top: 24px; }
.n-sechead { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.n-sechead h2 { font-family: var(--font-head); font-weight: 500; font-size: 36px; line-height: 1.1; letter-spacing: -0.02em; }
.n-sechead p { margin-top: 6px; color: var(--fg-2); font-size: 15px; }
.n-sechead .n-link { flex: none; }
@media (max-width: 640px) {
  .n-h1 { font-size: 40px; }
  .n-sechead h2 { font-size: 28px; }
  .n-sec { margin-top: 56px; }
}

/* ---------- hero (home) ---------- */
.n-hero { text-align: center; padding: 88px 0 40px; }
.n-hero h1 { font-family: var(--font-head); font-weight: 500; font-size: 72px; line-height: 1.04; letter-spacing: -0.02em; max-width: 900px; margin: 0 auto; }
.n-hero h1 em { font-style: normal; color: var(--fg-3); }
.n-hero p { margin: 22px auto 0; max-width: 560px; font-size: 18px; color: var(--fg-2); }
.n-hero__cta { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 32px; }
.n-proof { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 28px; font-size: 13px; color: var(--fg-2); }
.n-proof__logos { display: flex; }
.n-proof__logos .logo { width: 28px; height: 28px; border-radius: 8px; border: 2px solid var(--panel); margin-left: -8px; background: var(--muted); }
.n-proof__logos .logo:first-child { margin-left: 0; }
.n-proof__dr { margin-top: 10px; font-size: 13px; color: var(--fg-3); }
@media (max-width: 640px) {
  .n-hero { padding: 40px 0 16px; }
  .n-hero h1 { font-size: 42px; }
  .n-hero p { font-size: 16px; }
  .n-hero__cta .n-btn { width: 100%; max-width: 320px; }
}

/* ---------- promo banner ("your tool here") ---------- */
.n-banner { display: flex; align-items: center; gap: 16px; padding: 16px 16px 16px 16px; background: var(--muted); border-radius: var(--r-card); }
.n-banner__icon { flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--tile); display: grid; place-items: center; color: var(--fg); }
.n-banner__text { flex: 1; min-width: 0; }
.n-banner__text strong { display: block; font-weight: 500; font-size: 16px; }
.n-banner__text span { display: block; font-size: 13.5px; color: var(--fg-2); }
.n-banner .n-btn { flex: none; margin-right: 4px; }
@media (max-width: 640px) { .n-banner { flex-wrap: wrap; } .n-banner .n-btn { width: 100%; margin: 0; } }

/* ---------- product cards (with screenshot) ---------- */
.n-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.n-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1180px) { .n-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .n-cards, .n-cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .n-cards, .n-cards--3 { grid-template-columns: 1fr; } }
.n-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 12px; background: var(--muted); border-radius: var(--r-card); transition: background .2s ease; }
.n-card:hover { background: var(--mist); }
.n-card__shot { position: relative; aspect-ratio: 16 / 12; border-radius: var(--r-inner); overflow: hidden; background: var(--tile); outline: 1px solid rgba(0, 0, 0, .05); outline-offset: -1px; }
.n-card__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.n-card__shot .n-card__fallback { position: absolute; inset: 0; display: grid; place-items: center; }
.n-card__go { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border-radius: 50%; background: var(--panel); display: grid; place-items: center; font-size: 13px; color: var(--fg); opacity: 0; transition: opacity .15s ease; }
.n-card:hover .n-card__go { opacity: 1; }
.n-card__body { padding: 0 4px; flex: 1; }
.n-card__name { font-size: 16px; font-weight: 500; letter-spacing: -0.01em; display: flex; align-items: center; gap: 6px; }
.n-card__name a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-card); }
.n-card__tag { margin-top: 4px; font-size: 13.5px; color: var(--fg-2); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.n-card__foot { padding: 0 4px 2px; display: flex; justify-content: space-between; gap: 6px; flex-wrap: wrap; }
.n-card--ad .n-card__shot { display: grid; place-items: center; color: var(--fg-2); font-size: 12px; text-align: center; }
.n-card--ad .n-card__shot svg { margin: 0 auto 6px; }

/* ---------- compact rows ---------- */
.n-rows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.n-rows--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.n-rows--1 { grid-template-columns: 1fr; }
@media (max-width: 1060px) { .n-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .n-rows, .n-rows--2 { grid-template-columns: 1fr; } }
.n-row { position: relative; display: flex; align-items: center; gap: 14px; padding: 12px 18px 12px 12px; background: var(--muted); border-radius: var(--r-card); min-width: 0; transition: background .2s ease; }
.n-row:hover { background: var(--mist); }
.n-row__n { flex: none; width: 22px; text-align: center; font-size: 13px; font-weight: 500; color: var(--fg-3); }
.n-row__body { min-width: 0; flex: 1; }
.n-row__name { font-size: 15px; font-weight: 500; display: flex; align-items: center; gap: 6px; min-width: 0; }
.n-row__name a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.n-row__name a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-card); }
.n-row__tag { font-size: 13.5px; color: var(--fg-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.n-row__meta { flex: none; display: flex; gap: 6px; align-items: center; font-size: 12px; color: var(--fg-3); }
@media (max-width: 640px) { .n-row__meta { display: none; } }

/* ---------- category tiles ---------- */
.n-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1000px) { .n-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .n-cats { grid-template-columns: 1fr; } }
.n-cat { display: flex; align-items: center; gap: 14px; padding: 20px 22px; background: var(--muted); border-radius: var(--r-card); transition: background .2s ease; }
.n-cat:hover { background: var(--mist); }
.n-cat__icon { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--tile); display: grid; place-items: center; font-family: var(--font-head); font-weight: 500; color: var(--fg-2); }
.n-cat__name { flex: 1; font-size: 17px; font-weight: 500; }
.n-cat .n-chip { background: var(--mist); }
.n-cat:hover .n-chip { background: var(--tile); }

/* ---------- stats ---------- */
.n-stats { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 12px; margin: 24px 0 0; }
.n-stats > div { background: var(--muted); border-radius: var(--r-inner); padding: 14px 12px; text-align: center; }
.n-stats dt, .n-stats .k { font-size: 12px; color: var(--fg-2); order: 2; }
.n-stats dd, .n-stats .v { margin: 0; font-size: 20px; font-weight: 500; font-family: var(--font-head); }
.n-stats > div { display: flex; flex-direction: column-reverse; gap: 2px; }
@media (max-width: 640px) { .n-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- boxed sections (gray frame, white inside) ---------- */
.n-box { background: var(--muted); border-radius: var(--r-card); padding: 6px; }
.n-box + .n-box { margin-top: 20px; }
.n-box__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px 10px; }
.n-box__head h2, .n-box__head h3 { font-size: 16.5px; font-weight: 500; }
.n-box__body { background: var(--panel); border-radius: 18px; padding: 18px 20px; }
.n-box__body > * + * { margin-top: 12px; }
.n-box--flat { padding: 24px; }
.n-box--flat h2 { font-size: 18px; font-weight: 500; }
.n-box--flat p { color: var(--fg-2); font-size: 14px; margin-top: 6px; }

.n-bullets { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--fg-2); }
.n-bullets li { position: relative; padding-left: 16px; }
.n-bullets li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--fg-3); }
.n-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14px; color: var(--fg-2); }
.n-checks li { position: relative; padding-left: 24px; }
.n-checks li::before { content: ""; position: absolute; left: 2px; top: .3em; width: 12px; height: 7px; border-left: 1.6px solid var(--fg-2); border-bottom: 1.6px solid var(--fg-2); transform: rotate(-45deg); }
.n-checks li.is-no { color: var(--fg-3); }
.n-checks li.is-no::before { border: 0; width: 12px; height: 12px; transform: none; top: .25em; background: linear-gradient(45deg, transparent 45%, var(--red-ink) 45% 55%, transparent 55%), linear-gradient(-45deg, transparent 45%, var(--red-ink) 45% 55%, transparent 55%); }

.n-feature { padding: 14px 16px; background: var(--muted); border-radius: 14px; }
.n-feature h3 { font-size: 14.5px; font-weight: 500; }
.n-feature p { margin-top: 3px; font-size: 14px; color: var(--fg-2); }
.n-features { display: grid; gap: 8px; }
.n-twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 640px) { .n-twocol { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.n-faq { display: grid; gap: 8px; }
.n-faq details { background: var(--muted); border-radius: 16px; padding: 0 18px; }
.n-box__body .n-faq details { background: var(--muted); }
.n-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; font-size: 14.5px; font-weight: 500; }
.n-faq summary::-webkit-details-marker { display: none; }
.n-faq summary::after { content: "+"; color: var(--fg-3); font-weight: 400; font-size: 18px; line-height: 1; }
.n-faq details[open] summary::after { content: "–"; }
.n-faq details > :not(summary) { padding-bottom: 14px; font-size: 14px; color: var(--fg-2); }
.n-faq--grid { grid-template-columns: 1fr 1fr; align-items: start; }
@media (max-width: 760px) { .n-faq--grid { grid-template-columns: 1fr; } }

/* ---------- product page ---------- */
.n-product { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
@media (max-width: 1100px) { .n-product { grid-template-columns: 1fr; } }
.n-product__main { max-width: 800px; width: 100%; margin: 0 auto; }
.n-product__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0 8px; }
.n-back { font-size: 13.5px; color: var(--fg-2); display: inline-flex; gap: 6px; align-items: center; }
.n-back:hover { color: var(--fg); }
.n-phead { text-align: center; padding: 16px 0 28px; }
.n-phead .logo-lg { margin: 0 auto 18px; }
.n-phead h1 { font-family: var(--font-head); font-weight: 500; font-size: 60px; line-height: 1.05; letter-spacing: -0.02em; }
.n-phead p { max-width: 600px; margin: 14px auto 0; font-size: 17px; color: var(--fg-2); }
.n-phead .n-chips { justify-content: center; margin-top: 16px; }
@media (max-width: 640px) { .n-phead h1 { font-size: 40px; } }
.n-shot { margin: 0 0 32px; border-radius: var(--r-card); overflow: hidden; background: var(--muted); outline: 1px solid rgba(0, 0, 0, .06); outline-offset: -1px; }
.n-shot img { width: 100%; height: auto; }
.n-shot__cover { aspect-ratio: 16 / 10; display: grid; place-items: center; text-align: center; padding: 24px; }
.n-shot__cover strong { display: block; font-family: var(--font-head); font-size: 40px; font-weight: 500; }
.n-shot__cover span { color: var(--fg-2); }
.n-rail { position: sticky; top: 16px; display: grid; gap: 12px; }
.n-rail .n-box--flat { padding: 20px; }
.n-rail__k { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-2); font-weight: 500; }
.n-facts { margin: 0; display: grid; gap: 0; font-size: 13.5px; }
.n-facts > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.n-facts > div:first-child { border-top: 0; }
.n-facts dt { color: var(--fg-2); }
.n-facts dd { margin: 0; text-align: right; font-weight: 500; min-width: 0; overflow-wrap: anywhere; }
.n-mini { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.n-mini li { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 12px; font-size: 14px; font-weight: 500; }
.n-mini li:hover { background: var(--mist); }
.n-mini li .n { width: 18px; text-align: center; font-size: 12px; color: var(--fg-3); }
.n-mini a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.n-glance { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.n-glance > div { background: var(--muted); border-radius: 14px; padding: 12px; text-align: center; }
.n-glance strong { display: block; font-size: 15px; font-weight: 500; }
.n-glance span { font-size: 12px; color: var(--fg-2); }
.n-disclosure { margin-top: 16px; font-size: 12.5px; color: var(--fg-3); text-align: center; }
.n-cta { margin-top: 32px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; border-radius: var(--r-card); background: var(--muted); flex-wrap: wrap; }
.n-cta strong { font-family: var(--font-head); font-weight: 500; font-size: 24px; display: block; }
.n-cta span { font-size: 13.5px; color: var(--fg-2); }

/* ---------- pricing / plans ---------- */
.n-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .n-plans { grid-template-columns: 1fr; } }
.n-plan { display: flex; flex-direction: column; padding: 28px; background: var(--muted); border-radius: var(--r-card); }
.n-plan__price { font-family: var(--font-head); font-weight: 500; font-size: 40px; letter-spacing: -0.02em; line-height: 1; }
.n-plan__price small { font-family: var(--font); font-size: 13px; color: var(--fg-2); letter-spacing: 0; margin-left: 4px; }
.n-plan h3 { margin-top: 18px; font-size: 18px; font-weight: 500; display: flex; align-items: center; gap: 8px; }
.n-plan > p { margin-top: 6px; font-size: 14px; color: var(--fg-2); }
.n-plan .n-checks { margin: 20px 0 28px; }
.n-plan .n-plan__foot { margin-top: auto; display: grid; gap: 8px; }
.n-plan__note { font-size: 12.5px; color: var(--fg-3); }

/* ---------- forms ---------- */
.n-form { display: grid; gap: 14px; }
.n-field { display: grid; gap: 6px; font-size: 13.5px; font-weight: 500; }
.n-field > span { color: var(--fg); }
.n-input, .input { height: 46px; width: 100%; padding: 0 16px; border-radius: 14px; border: 1px solid transparent; background: var(--tile); color: var(--fg); outline: none; font-size: 15px; font-weight: 400; }
.n-box .n-input, .n-plan .n-input, .n-panelform .n-input { background: var(--panel); }
.n-input:focus, .input:focus { border-color: var(--fg-3); }
.n-input::placeholder, .input::placeholder { color: var(--fg-3); }
.n-inline { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; }
.n-inline .n-field { flex: 1; min-width: 220px; }
.n-panelform { background: var(--muted); border-radius: var(--r-card); padding: 24px; }
.n-panelform h2 { font-size: 18px; font-weight: 500; margin-bottom: 4px; }
.n-fine { font-size: 12.5px; color: var(--fg-3); line-height: 1.5; }
.n-fine a { text-decoration: underline; text-underline-offset: 2px; }
.n-alert { padding: 12px 16px; border-radius: 14px; font-size: 14px; }
.n-alert--ok { background: var(--green-soft); color: var(--green-ink); }
.n-alert--err { background: var(--red-soft); color: var(--red-ink); }
.n-alert--warn { background: var(--gold-soft); color: var(--gold-ink); }
.n-alert--info { background: var(--muted); color: var(--fg-2); }

/* ---------- selected product pill ---------- */
.n-selected { display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; background: var(--panel); border-radius: 18px; }
.n-selected div { flex: 1; min-width: 0; display: grid; }
.n-selected strong { font-weight: 500; }
.n-selected a { font-size: 13px; color: var(--fg-2); text-decoration: underline; }

/* ---------- badge snippets ---------- */
.n-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.n-badges > div { display: grid; place-items: center; gap: 10px; padding: 28px 16px 16px; border-radius: var(--r-card); font-size: 12px; color: var(--fg-2); }
.n-badges .is-light { background: #f5f5f7; color: #535862; }
.n-badges .is-dark { background: #181d27; color: #a3a7b0; }
.n-badges--sm > div { padding: 18px 12px; }
@media (max-width: 520px) { .n-badges { grid-template-columns: 1fr; } }
.n-snippet { background: var(--muted); border-radius: 18px; padding: 6px; }
.n-snippet + .n-snippet { margin-top: 10px; }
.n-snippet__head { display: flex; justify-content: space-between; align-items: center; padding: 6px 8px 8px 12px; font-size: 12.5px; color: var(--fg-2); font-weight: 500; }
.n-snippet pre { margin: 0; background: var(--panel); border-radius: 14px; padding: 14px 16px; overflow-x: auto; font: 12px/1.6 var(--font-mono); color: var(--fg); white-space: pre-wrap; word-break: break-all; }
.n-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 760px) { .n-steps { grid-template-columns: 1fr; } }
.n-steps li { background: var(--muted); border-radius: var(--r-card); padding: 22px; }
.n-steps .n-steps__n { width: 28px; height: 28px; border-radius: 50%; background: var(--panel); display: grid; place-items: center; font-size: 13px; font-weight: 500; margin-bottom: 14px; }
.n-steps h3 { font-size: 16px; font-weight: 500; }
.n-steps p { margin-top: 4px; font-size: 14px; color: var(--fg-2); }
.n-steps a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- manage dashboard ---------- */
.n-dash { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
@media (max-width: 1000px) { .n-dash { grid-template-columns: 1fr; } }
.n-dashhead { display: flex; align-items: center; gap: 18px; padding: 12px 0 8px; flex-wrap: wrap; }
.n-dashhead .logo { width: 64px; height: 64px; border-radius: 16px; background: var(--muted); }
.n-dashhead h1 { font-family: var(--font-head); font-weight: 500; font-size: 36px; letter-spacing: -0.02em; line-height: 1.1; }
.n-dashhead p { color: var(--fg-2); font-size: 13.5px; }
.n-dashhead .n-btn { margin-left: auto; }

/* ---------- tables ---------- */
.n-table-wrap { overflow-x: auto; }
.n-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.n-table th, .n-table td { text-align: left; padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.n-table thead th { border-top: 0; font-weight: 500; color: var(--fg-2); font-size: 13px; }
.n-table tbody th { font-weight: 500; color: var(--fg); }
.n-table td { color: var(--fg-2); }

/* ---------- compare ---------- */
.n-vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: stretch; margin-top: 24px; }
.n-vs__side { background: var(--muted); border-radius: var(--r-card); padding: 24px; text-align: center; display: grid; justify-items: center; gap: 8px; }
.n-vs__side .logo { width: 64px; height: 64px; border-radius: 16px; }
.n-vs__side h2 { font-size: 22px; font-weight: 500; }
.n-vs__side p { color: var(--fg-2); font-size: 14px; }
.n-vs__mid { align-self: center; width: 44px; height: 44px; border-radius: 50%; background: var(--btn); color: var(--btn-fg); display: grid; place-items: center; font-size: 13px; font-weight: 500; }
@media (max-width: 640px) { .n-vs { grid-template-columns: 1fr; } .n-vs__mid { justify-self: center; } }

/* ---------- pager / empty ---------- */
.n-pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; }
.n-empty { padding: 48px 24px; text-align: center; background: var(--muted); border-radius: var(--r-card); color: var(--fg-2); display: grid; gap: 12px; justify-items: center; }
.n-empty strong { font-family: var(--font-head); font-size: 22px; font-weight: 500; color: var(--fg); }
.n-dayhead { display: flex; align-items: baseline; gap: 12px; margin: 40px 0 14px; }
.n-dayhead h2 { font-family: var(--font-head); font-size: 24px; font-weight: 500; letter-spacing: -0.01em; }
.n-dayhead span { font-size: 13px; color: var(--fg-3); }
.n-dayhead a.n-link { margin-left: auto; }

/* ---------- prose ---------- */
.prose { font-size: 15px; line-height: 1.7; color: var(--fg); }
.prose > * + * { margin-top: .8em; }
.prose h2 { font-family: var(--font-head); font-size: 22px; font-weight: 500; margin-top: 1.4em; }
.prose h3 { font-size: 16px; font-weight: 500; margin-top: 1.2em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose a { text-decoration: underline; text-decoration-color: var(--fg-3); text-underline-offset: 3px; }
.prose code { font-family: var(--font-mono); font-size: .9em; background: var(--muted); padding: 1px 5px; border-radius: 6px; }

/* ---------- legacy utilities used by the admin and submit stylesheets ---------- */
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--muted); color: var(--fg); font-weight: 500; font-size: 14px; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--mist); }
.btn-ink { background: var(--btn); color: var(--btn-fg); }
.btn-ink:hover { background: var(--btn); opacity: .88; }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; }
.btn-lg { height: 48px; padding: 0 22px; font-size: 15px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-inner); }
.chip { display: inline-flex; align-items: center; height: 22px; padding: 0 10px; border-radius: 999px; background: var(--mist); color: var(--fg-2); font-size: 12px; font-weight: 500; }
.stamp { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; padding: 3px 10px; border-radius: 999px; background: var(--green-soft); color: var(--green-ink); }
.stamp-accent { background: var(--btn); color: var(--btn-fg); }
.stamp-muted { background: var(--mist); color: var(--fg-2); }
.empty { padding: 40px 20px; text-align: center; color: var(--fg-3); background: var(--muted); border-radius: var(--r-inner); }

/* compact rows in the 3-column grid show name + tagline only, like the reference */
.n-rows:not(.n-rows--1):not(.n-rows--2) .n-row__meta { display: none; }
.n-side nav a { gap: 10px; }
.n-side nav a > :first-child, .n-side nav a { min-width: 0; }
.n-side nav a .t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.n-side nav a .n { flex: none; }

/* =====================================================================
   White minimal layer — everything white, thin borders, medium corners.
   Kept last so it wins over the base rules above.
   ===================================================================== */
:root {
  --bg: #ffffff; --panel: #ffffff; --muted: #ffffff; --tile: #ffffff;
  --mist: #f7f7f8;          /* hover only */
  --line: #ebebee;
  --line-2: #dcdce1;        /* hover / focus border */
  --fg: #0a0a0b; --fg-2: #5c5f66; --fg-3: #9a9ca3;
  --btn: #0a0a0b; --btn-fg: #ffffff;
  --rule-strong: var(--line-2);
  /* accent: blue (the variable names say "green" for history; they hold the accent) */
  --green: #1d4aff; --green-ink: #1638d6; --green-soft: #eef2ff; --accent-line: #c4d0ff;
  --font-pixel: "Geist Pixel Square", "Geist Mono", ui-monospace, monospace;
  --r-panel: 0px; --r-card: 12px; --r-inner: 8px; --r-btn: 8px;
  --radius-s: 8px; --radius: 10px; --radius-l: 12px;
}
.pixel { font-family: var(--font-pixel); font-weight: 500; letter-spacing: 0; }

/* shell: white page, sidebar divided by one hairline */
body { background: #fff; }
.n-side { border-right: 1px solid var(--line); padding-top: 20px; }
.n-side nav a { border-radius: var(--r-btn); }
.n-side nav a:hover { background: var(--mist); }
.n-side nav a[aria-current="page"] { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); }
.n-side__h { font-family: var(--font-pixel); text-transform: uppercase; letter-spacing: .08em; font-size: 11px; color: var(--fg-3); padding-top: 22px; }
.n-side nav a .n { font-family: var(--font-pixel); font-size: 11px; }
.n-logo .at-wordmark { font-family: var(--font-pixel); font-weight: 500; letter-spacing: -0.01em; font-size: 17px; }
.n-logo .at-wordmark span { font-family: var(--font-pixel); font-weight: 500; letter-spacing: 0; }
.at-mark { image-rendering: pixelated; }
.n-main { padding: 0; }
.n-panel { border-radius: 0; min-height: 100vh; }
.n-top { border-bottom: 1px solid var(--line); min-height: 64px; padding: 12px 32px; }
.n-menu { background: #fff; border: 1px solid var(--line); border-radius: var(--r-btn); }
.n-content { padding-top: 8px; }
@media (max-width: 900px) { .n-side { background: #fff; } .n-top { padding: 10px 16px; } }

/* buttons: white with a border; primary just has a darker border */
.n-btn, .btn { border-radius: var(--r-btn); background: #fff; color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); height: 38px; padding: 0 16px; font-weight: 500; }
.n-btn:hover, .btn:hover { background: var(--mist); box-shadow: inset 0 0 0 1px var(--line-2); opacity: 1; }
.n-btn--dark, .btn-ink { background: #fff; color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg); }
.n-btn--dark:hover, .btn-ink:hover { background: var(--mist); box-shadow: inset 0 0 0 1px var(--fg); opacity: 1; }
.n-btn--green { background: #fff; color: var(--green-ink); box-shadow: inset 0 0 0 1px var(--green); }
.n-btn--green:hover { background: var(--green-soft); }
.n-btn--lg, .btn-lg { height: 44px; padding: 0 20px; }
.n-btn--sm, .btn-sm { height: 30px; padding: 0 12px; }

/* chips: outlined, pixel type */
.n-chip, .chip, .stamp { height: 20px; padding: 0 7px; border-radius: 5px; background: #fff; color: var(--fg-2); box-shadow: inset 0 0 0 1px var(--line); font-family: var(--font-pixel); font-size: 11px; font-weight: 500; letter-spacing: .02em; }
.n-chip--green, .stamp { color: var(--green-ink); box-shadow: inset 0 0 0 1px #c4d0ff; background: #fff; }
.n-chip--gold { color: var(--gold-ink); box-shadow: inset 0 0 0 1px #ecd6a6; background: #fff; }
.n-chip--dark, .stamp-accent { color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg); background: #fff; }
.n-chip--white, .stamp-muted, .n-cat .n-chip, .n-cat:hover .n-chip { background: #fff; }

/* logo tiles: hairline instead of fill */
.logo { border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); }
.logo img { border-radius: inherit; }
.logo-lg { border-radius: 16px; }
.logo-sm { border-radius: 6px; }

/* the generic bordered surface */
.n-card, .n-row, .n-cat, .n-stats > div, .n-box, .n-feature, .n-faq details, .n-glance > div,
.n-cta, .n-plan, .n-panelform, .n-banner, .n-steps li, .n-vs__side, .n-empty, .n-snippet, .n-selected,
.empty, .card, .n-shot {
  background: #fff; border: 1px solid var(--line); outline: 0; border-radius: var(--r-card);
}
.n-card, .n-row, .n-cat { transition: border-color .15s ease, background .15s ease; }
.n-card:hover, .n-cat:hover { background: #fff; border-color: var(--line-2); }

/* cards */
.n-card { padding: 8px; gap: 8px; }
.n-card__shot { border-radius: var(--r-inner); outline: 0; box-shadow: inset 0 0 0 1px var(--line); background: #fff; }
.n-card__name a::after, .n-row__name a::after { border-radius: var(--r-card); }
.n-card__go { border-radius: 6px; box-shadow: 0 0 0 1px var(--line); }
.n-card--ad .n-card__shot { color: var(--fg-3); font-family: var(--font-pixel); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }

/* rows: no border at all, just a hover tint — "put everything there" */
.n-row { border-color: transparent; padding: 10px 12px 10px 8px; }
.n-row:hover { background: var(--mist); border-color: transparent; }
.n-row__n { font-family: var(--font-pixel); color: var(--fg-3); }

/* category tiles */
.n-cat { padding: 16px 18px; }
.n-cat__icon { border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); font-family: var(--font-pixel); font-size: 18px; color: var(--fg); }

/* stats: pixel numerals */
.n-stats > div { border-radius: 10px; padding: 16px 12px; }
.n-stats dd, .n-stats .v { font-family: var(--font-pixel); font-size: 24px; letter-spacing: 0; }

/* boxed sections: one border, title + content, no inner frame */
.n-box { padding: 0; }
.n-box__head { padding: 14px 18px 0; }
.n-box__body { background: transparent; border-radius: 0; padding: 10px 18px 18px; }
.n-box--flat { padding: 20px; }
.n-box .n-feature, .n-box .n-faq details, .n-box .n-glance > div { border: 0; border-radius: 0; background: transparent; padding-left: 0; padding-right: 0; }
.n-box .n-features, .n-box .n-faq { gap: 0; }
.n-box .n-feature + .n-feature, .n-box .n-faq details + details { border-top: 1px solid var(--line); }
.n-box .n-twocol { gap: 0 24px; }
.n-box .n-glance { gap: 0; }
.n-box .n-glance > div { padding: 8px; }
.n-feature, .n-faq details { border-radius: 10px; }
.n-glance > div { border-radius: 10px; }
.n-glance strong { font-family: var(--font-pixel); font-weight: 500; }

/* headings: small pixel eyebrow above section titles */
.n-sechead h2, .n-h1, .n-hero h1, .n-phead h1, .n-dashhead h1 { letter-spacing: -0.03em; }
.n-sechead h2 { font-size: 30px; }
.n-sec { margin-top: 72px; }
.n-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; font-family: var(--font-pixel); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); }
.n-eyebrow::before { content: ""; width: 6px; height: 6px; background: var(--green); }

/* hero: pixel second line and a pixel pattern behind */
.n-hero { position: relative; padding: 80px 0 48px; isolation: isolate; }
.n-hero::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: -8px; bottom: 0;
  background: url("/img/px-field.svg") center top / 384px 384px;
  -webkit-mask-image: radial-gradient(ellipse 46% 52% at 50% 46%, transparent 35%, #000 85%), linear-gradient(#000 60%, transparent);
  -webkit-mask-composite: source-in; mask-image: radial-gradient(ellipse 46% 52% at 50% 46%, transparent 35%, #000 85%), linear-gradient(#000 60%, transparent); mask-composite: intersect; }
.n-hero h1 em { display: block; font-family: var(--font-pixel); font-weight: 500; color: var(--fg); letter-spacing: -0.01em; font-size: .86em; margin-top: 8px; }
.n-hero p { font-size: 17px; }
.n-proof { font-family: var(--font-pixel); font-size: 12px; letter-spacing: .02em; }
.n-proof__logos .logo { border-radius: 6px; border: 2px solid #fff; }
.n-proof__dr { font-family: var(--font-pixel); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); }
@media (max-width: 640px) { .n-hero { padding: 40px 0 24px; } }

/* pixel band: a strip of squares used as a divider/pattern */
.n-pixels { height: 40px; margin: 72px 0 0; background: url("/img/px-band.svg") center / 1200px 40px no-repeat; }

/* banner + cta */
.n-banner { padding: 12px; border-radius: var(--r-card); }
.n-banner__icon { border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); }
.n-cta { padding: 24px; position: relative; overflow: hidden; }
.n-cta::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 55%; pointer-events: none; background: url("/img/px-dissolve.svg") right center / auto 100% no-repeat; }
.n-cta > * { position: relative; z-index: 1; }

/* product page */
.n-shot { border-radius: var(--r-card); }
.n-shot__cover { background: url("/img/px-field.svg") center / 384px 384px; }
.n-shot__cover strong { font-family: var(--font-pixel); font-weight: 500; }
.n-rail .n-box--flat { padding: 18px; }
.n-rail__k { font-family: var(--font-pixel); color: var(--fg-3); letter-spacing: .08em; }
.n-mini li { border-radius: 8px; }
.n-mini li .n { font-family: var(--font-pixel); }

/* pricing */
.n-plan { padding: 24px; border-radius: var(--r-card); }
.n-plan > .n-plan__price { margin: 0; font-family: var(--font-pixel); font-weight: 500; font-size: 44px; line-height: 1; letter-spacing: -0.02em; color: var(--fg); }
.n-plan__price small { font-family: var(--font); }

/* forms */
.n-input, .input, .n-box .n-input, .n-plan .n-input, .n-panelform .n-input { background: #fff; border: 1px solid var(--line); border-radius: var(--r-btn); height: 42px; padding: 0 12px; font-size: 14.5px; }
.n-input:focus, .input:focus { border-color: var(--fg); }
textarea.n-input, textarea.input { height: auto; padding: 10px 12px; }
.n-panelform { padding: 20px; }
.n-alert { border-radius: var(--r-btn); background: #fff; border: 1px solid var(--line); }
.n-alert--ok { color: var(--green-ink); border-color: #c4d0ff; background: #fff; }
.n-alert--err { color: var(--red-ink); border-color: #f3c5c0; background: #fff; }
.n-alert--warn { color: var(--gold-ink); border-color: #ecd6a6; background: #fff; }
.n-alert--info { background: #fff; }
.n-selected { border-radius: 10px; }

/* badge + steps */
.n-badges > div { border-radius: var(--r-card); }
.n-badges .is-light { background: #fff; border: 1px solid var(--line); }
.n-snippet { padding: 0; }
.n-snippet pre { border-top: 1px solid var(--line); border-radius: 0 0 var(--r-card) var(--r-card); background: #fff; }
.n-steps li { padding: 20px; }
.n-steps .n-steps__n { border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line); font-family: var(--font-pixel); }

/* dashboard, compare, misc */
.n-dashhead .logo { border-radius: 12px; }
.n-vs__side { border-radius: var(--r-card); }
.n-vs__mid { border-radius: 8px; background: #fff; color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); font-family: var(--font-pixel); }
.n-empty { border-style: dashed; border-color: var(--line-2); }
.n-dayhead h2 { font-family: var(--font-pixel); font-weight: 500; font-size: 20px; letter-spacing: 0; }
.n-dayhead span { font-family: var(--font-pixel); font-size: 11px; }
.prose code { background: var(--mist); border-radius: 4px; }
.n-foot { border-top-color: var(--line); }
.n-pager .n-btn { min-width: 120px; }
:focus-visible { border-radius: 6px; }

/* blue accent + pixel details */
.n-btn--dark, .btn-ink { color: var(--green-ink); box-shadow: inset 0 0 0 1px var(--green); }
.n-btn--dark:hover, .btn-ink:hover { background: var(--green-soft); box-shadow: inset 0 0 0 1px var(--green); }
.n-link:hover { color: var(--green-ink); opacity: 1; }
:focus-visible { outline-color: var(--green); }
::selection { background: var(--green); color: #fff; }
.n-input:focus, .input:focus, .sf-field:focus-within { border-color: var(--green); }
.px-icon { flex: none; image-rendering: pixelated; }
.n-side nav a { justify-content: flex-start; }
.n-side nav a .t { flex: 1; }
.n-side nav a .px-icon { color: var(--fg-3); }
.n-side nav a:hover .px-icon, .n-side nav a[aria-current="page"] .px-icon { color: var(--green); }
.n-cat__icon { color: var(--green); width: 44px; height: 44px; background: var(--green-soft); box-shadow: none; }
.n-card--ad .n-card__shot, .n-banner__icon { background: url("/img/px-field.svg") center / 384px 384px; }
.n-card--ad .n-card__shot > span { background: #fff; padding: 6px 10px; border-radius: 6px; box-shadow: 0 0 0 1px var(--line); }
.n-empty { background: url("/img/px-field.svg") center / 384px 384px; }
.n-banner { position: relative; overflow: hidden; }
.n-banner::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 40%; pointer-events: none; background: url("/img/px-dissolve.svg") right center / auto 100% no-repeat; opacity: .8; }
.n-banner > * { position: relative; z-index: 1; }
.n-plan:has(.n-chip--gold), .n-plan--pro { position: relative; overflow: hidden; }
.n-plan:has(.n-chip--gold)::after { content: ""; position: absolute; right: 0; top: 0; width: 55%; height: 120px; pointer-events: none; background: url("/img/px-dissolve.svg") right top / auto 120px no-repeat; -webkit-mask-image: linear-gradient(#000, transparent); mask-image: linear-gradient(#000, transparent); }
.n-plan > * { position: relative; z-index: 1; }
.n-foot { position: relative; }
.n-foot::before { content: ""; position: absolute; left: 0; right: 0; top: -41px; height: 40px; background: url("/img/px-band.svg") center / 1200px 40px no-repeat; opacity: .6; pointer-events: none; }

/* =====================================================================
   Melt patterns — a solid blue block that dissolves into the page in square pixels.
   Replaces the scattered field/dot patterns. Solid blue primary buttons.
   ===================================================================== */
.n-panel { overflow-x: clip; }
.n-hero::before { left: 50%; right: auto; width: 100vw; top: 0; bottom: auto; height: 200px; transform: translateX(-50%);
  background: url("/img/px-melt-down.svg") center top / 960px 200px repeat-x; -webkit-mask-image: none; mask-image: none; }
.n-hero { padding-top: 220px; }
@media (max-width: 640px) { .n-hero::before { height: 120px; background-size: 576px 120px; } .n-hero { padding-top: 136px; } }

/* home banner sits on top of the melt */
.n-banner::after { display: none; }

/* closing call to action: a solid blue block whose top edge melts upward */
.n-cta { background: var(--green); color: #fff; border: 0; overflow: visible; margin-top: 140px; padding: 32px; border-radius: 0 0 var(--r-card) var(--r-card); }
.n-cta::after { display: none; }
.n-cta::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 100px; pointer-events: none; background: url("/img/px-melt-up.svg") center bottom / 480px 100px repeat-x; }
.n-cta span { color: rgba(255, 255, 255, .8); }
.n-cta .n-btn { background: #fff; color: var(--green-ink); box-shadow: none; }
.n-cta .n-btn:hover { background: #eef2ff; }
.n-cta .n-btn--dark { background: #0a1a66; color: #fff; }
.n-cta .n-btn--dark:hover { background: #07124a; }
.n-product .n-cta, .n-product__main .n-cta { margin-top: 100px; }

/* footer: a thin melt rising from the footer line */
.n-foot::before { top: -49px; height: 48px; opacity: 1; background: url("/img/px-melt-up.svg") center bottom / 384px 80px repeat-x; -webkit-mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent); mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent); opacity: .55; }

/* placeholders: melt instead of scatter */
.n-card--ad .n-card__shot, .n-empty, .n-shot__cover { background: #fff url("/img/px-melt-down.svg") center top / 480px 100px repeat-x; }
.n-empty { padding-top: 112px; }
.n-banner__icon { background: #fff; }
.n-plan:has(.n-chip--gold)::after { height: 64px; width: 100%; background: url("/img/px-melt-down.svg") left top / 384px 80px repeat-x; -webkit-mask-image: none; mask-image: none; }
.n-plan:has(.n-chip--gold) { padding-top: 76px; }

/* primary buttons: solid blue, white text, medium corners */
.n-btn--dark, .btn-ink { background: var(--green); color: #fff; box-shadow: none; border-radius: 10px; }
.n-btn--dark:hover, .btn-ink:hover { background: var(--green-ink); box-shadow: none; }
.n-btn { border-radius: 10px; }

/* inputs: blue border with a soft ring on focus */
.n-input:focus, .input:focus { border-color: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.n-foot::before { content: none; display: none; }
/* screenshots are captured at 1440×900, so covers keep that 16:10 ratio and show the whole viewport */
.n-card__shot { aspect-ratio: 1440 / 900; }
.n-card__shot img { object-fit: cover; object-position: center top; }

/* home: the melt starts right under the top bar, behind the promo banner */
.n-home { position: relative; isolation: isolate; padding-top: 16px; }
.n-home::before { content: ""; position: absolute; z-index: -1; left: 50%; top: -8px; width: 100vw; height: 220px; transform: translateX(-50%); pointer-events: none;
  background: url("/img/px-melt-down.svg") center top / 960px 200px repeat-x, linear-gradient(var(--green), var(--green)) center top / 100% 20px no-repeat;
  background-position: center 20px, center top; }
.n-home .n-hero::before { content: none; }
.n-home .n-hero { padding-top: 140px; }
.n-home > .n-banner { margin-top: 0; box-shadow: 0 1px 0 rgba(0,0,0,.02); border-color: transparent; }
@media (max-width: 640px) {
  .n-home::before { height: 150px; background-size: 576px 120px, 100% 30px; background-position: center 30px, center top; }
  .n-home .n-hero { padding-top: 48px; }
}
/* taller solid block before the melt */
.n-home::before { height: 330px; background-size: 960px 200px, 100% 130px; background-position: center 130px, center top; }
.n-home .n-hero { padding-top: 250px; }
@media (max-width: 640px) {
  .n-home::before { height: 260px; background-size: 576px 120px, 100% 140px; background-position: center 140px, center top; }
  .n-home .n-hero { padding-top: 110px; }
}
.n-banner--ad .logo { width: 48px; height: 48px; border-radius: 8px; }
.n-banner--ad strong { display: flex; align-items: center; gap: 8px; }
.n-banner--ad strong a:hover { color: var(--green-ink); }
.n-banner__icon { color: var(--green); }

/* ---------- open ad spots ("claim") ---------- */
.n-card--claim { border: 1.5px dashed var(--accent-line); background: #fff; }
.n-card--claim:hover { border-color: var(--green); background: #fff; }
.n-card--claim .n-card__shot { position: relative; display: grid; place-items: center; background: var(--green-soft); box-shadow: none; }
.n-card--claim .n-card__shot::before { content: ""; position: absolute; inset: 0; background: url("/img/px-claim.svg") left bottom / 100% 100% no-repeat; opacity: .28; transition: opacity .2s ease; }
.n-card--claim:hover .n-card__shot::before { opacity: .45; }
.n-claim__label { position: relative; display: grid; justify-items: center; gap: 8px; font-family: var(--font-pixel); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--green-ink); }
.n-claim__ad { font-size: 40px; line-height: 1; letter-spacing: .02em; color: var(--green); }
.n-card--claim .n-card__name { color: var(--fg); }
.n-card--claim .n-card__foot { align-items: center; }
.n-claim__cta { font-size: 13px; font-weight: 600; color: var(--green-ink); }
.n-card--claim:hover .n-claim__cta { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- advertise page ---------- */
.n-slots { display: flex; justify-content: center; gap: 8px; margin-top: 28px; flex-wrap: wrap; }
.n-slot { width: 96px; height: 40px; display: grid; place-items: center; border-radius: 8px; border: 1.5px dashed var(--accent-line); background: var(--green-soft); color: var(--green-ink); font-family: var(--font-pixel); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.n-slot.is-taken { border: 0; background: var(--green); color: #fff; }
.n-slots__note { margin-top: 12px; text-align: center; font-size: 13.5px; color: var(--fg-2); }
.n-adlist { list-style: none; margin: 0; padding: 0; display: grid; }
.n-adlist li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; }
.n-adlist li + li { border-top: 1px solid var(--line); }
.n-adlist .px-icon { color: var(--green); margin-top: 2px; }
.n-adlist strong { display: block; font-weight: 500; }
.n-adlist span { display: block; font-size: 14px; color: var(--fg-2); margin-top: 2px; }
.n-claim { scroll-margin-top: 24px; }
.n-btn[disabled] { background: var(--mist) !important; color: var(--fg-3) !important; box-shadow: inset 0 0 0 1px var(--line) !important; }
