/* NamedFirst look (2 Dec 2026): one light theme, no dark sections.
   Loaded last on every public page, so it styles the existing pages without changing their markup.
   Palette and rules: BRAND-COLOURS-2026-12-02.md. Change a colour here, in one place. */

/* ---------- Colours: the brand palette ---------- */
:root {
  color-scheme: light;
  --c-navy: #10233F;        /* text, headings, logo, dark buttons */
  --c-amber: #F5A524;       /* main button (one per view), the "1st" badge. Never text on white. */
  --c-ocean: #1FC0DA;       /* cards, bands, icons, score card, progress bars. Never text on white. */
  --c-ocean-dark: #0A7F94;  /* links and ocean-coloured text (on white only) */
  --c-pink: #FAB0FA;        /* small tags and a few icons, always with navy text. Never text on white. */
  --c-grey: #F3F5F8;        /* section and band backgrounds */
  --c-white: #FFFFFF;       /* page background */
  /* Derived from the palette (tints of navy, for secondary text and lines) */
  --c-muted: #3E4F64;       /* secondary text: about 9:1 on white, 8:1 on light grey */
  --c-line: rgba(16,35,63,.14);
  --c-soft: rgba(16,35,63,.07);
  --c-ocean-tint: rgba(31,192,218,.14);
  --c-shadow: 0 1px 2px rgba(16,35,63,.06), 0 18px 40px -26px rgba(16,35,63,.35);

  /* Older names used across the site follow the palette */
  --t-bg: var(--c-white); --t-text: var(--c-navy); --t-muted: var(--c-muted); --t-link: var(--c-ocean-dark);
  --t-edge: var(--c-line); --t-soft: var(--c-soft); --t-input-edge: #8A99AB; --t-lock: var(--c-white);
  --nf-ink: var(--c-navy); --nf-muted: var(--c-muted); --nf-line: var(--c-line); --nf-bg: var(--c-grey); --nf-pri: var(--c-ocean-dark);
  --nf-hi: var(--c-amber); --nf-dark: var(--c-navy); --nf-on-dark: var(--c-muted);
  --nf-good: var(--c-ocean-dark); --nf-mid: var(--c-navy); --nf-bad: var(--c-navy);
  --ink: var(--c-navy); --navy: var(--c-navy); --muted: var(--c-muted); --soft: var(--c-muted); --bg: var(--c-white); --line: var(--c-line);
  --accent: var(--c-amber); --rust: var(--c-ocean-dark);
}

/* ---------- Page ---------- */
html, body { overflow-x: clip; }
body { background: var(--c-white) !important; color: var(--c-navy) !important; }
body::before, body::after { content: none !important; display: none !important; }
/* The home page wraps everything in a light container. */
body > div[style*="#EEF1F4"] { background: var(--c-white) !important; color: var(--c-navy) !important; }
a { color: var(--c-ocean-dark); }
a:hover { color: var(--c-navy); }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible { outline-color: var(--c-ocean-dark); }

/* ---------- Cards: white with a soft line (links inside stay readable) ---------- */
.nf-card, .nf-plan, .card, .tool-result, .tool-intro, .nf-cmp-wrap, form#scan, .tool-card, .nf-toggle, details.card, .tile {
  background: var(--c-white) !important; color: var(--c-navy);
  border: 1px solid var(--c-line) !important; box-shadow: var(--c-shadow); -webkit-backdrop-filter: none; backdrop-filter: none; }
.nf-card, .nf-plan, .card, .tool-result, .tool-intro, .tool-card { border-radius: 18px; }
form#scan { border-radius: 16px !important; }
.nf-cmp-wrap { border-radius: 16px; }

/* Featured plan and featured tool: white, framed in ocean blue */
.nf-plan.feature, .tool-card.feature { background: var(--c-white) !important; color: var(--c-navy) !important;
  border: 3px solid var(--c-ocean) !important; box-shadow: 0 24px 50px -28px rgba(31,192,218,.9); }
.nf-plan.feature .note, .nf-plan.feature ul, .tool-card.feature p { color: var(--c-muted) !important; }
.nf-plan.feature .nf-plan-for, .nf-plan.feature .enquire-form label, .nf-plan.feature h3 { color: var(--c-navy) !important; }
.tool-card.feature .tool-go { color: var(--c-ocean-dark) !important; }
.nf-plan.feature .nf-btn-line { background: var(--c-white) !important; color: var(--c-navy) !important; border-color: var(--c-navy) !important; }

/* Ocean blue bands: Managed SEO, the website package, upsells, the featured guide. Navy text only. */
.nf-managed, .offer, .tool-dfy, .nf-feature {
  background: var(--c-ocean) !important; color: var(--c-navy) !important; border: 0 !important; box-shadow: 0 24px 50px -30px rgba(16,35,63,.45);
  -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 20px; }
.nf-managed :is(h2, h3, p, li, ul, b, small, s, span, label, div, .note, .nf-lead, .nf-eyebrow, .nf-price, .nf-managed-list),
.offer :is(h2, h3, p, li, ul, b, small, s, span, label, div, .fine, .eyebrow, a),
.tool-dfy :is(h2, h3, p, li, ul, b, small, span, label, div, .tool-plan-price, .tool-plans-link, .tool-li-b, a),
.nf-feature :is(h3, p, span, .tool-go) { color: var(--c-navy) !important; }
.nf-managed a:not(.nf-btn), .offer a:not(.btn), .tool-dfy a:not(.nf-btn) { text-decoration: underline; text-underline-offset: 3px; }
.nf-managed-price { border-left-color: rgba(16,35,63,.25) !important; }
@media (max-width: 760px) { .nf-managed-price { border-top-color: rgba(16,35,63,.25) !important; } }
.tool-plan { border-color: rgba(16,35,63,.25) !important; background: rgba(255,255,255,.35); }
.nf-managed .nf-btn-line, .offer .btn.ghostbtn, .tool-dfy .tool-dfy-more, .tool-dfy .nf-btn-line {
  background: transparent !important; color: var(--c-navy) !important; border: 2px solid var(--c-navy) !important; }
.offer .btn[data-plan="sub"] { color: var(--c-navy) !important; }
.nf-managed input, .offer input, .tool-dfy input { border-color: var(--c-navy) !important; }

/* Notes (founding offer, plan choice, notices): light grey with an ocean edge, navy text */
.nf-founding, .notice, .tool-cta, .plan-choice, .chosen-note {
  background: var(--c-grey) !important; color: var(--c-navy) !important; border: 1px solid var(--c-line) !important;
  border-left: 5px solid var(--c-ocean) !important; border-radius: 12px; }
.nf-founding a, .notice a, .tool-cta a:not(.nf-btn):not(.btn), .plan-choice a, .chosen-note a { color: var(--c-navy) !important; }
.plan-choice, .chosen-note { padding: 12px 14px; font-weight: 600; font-size: 16px; }
.offer .nf-founding, .offer [data-founding] { color: var(--c-navy) !important; }

/* ---------- Header: white bar, navy text ---------- */
header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.96) !important; color: var(--c-navy) !important;
  border-bottom: 1px solid var(--c-line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
header a, header .logo, header nav a { color: var(--c-navy) !important; }
@media (max-width: 760px) { header { position: relative; } }
header nav a:not(.cta):not([style*="F5A524"]) { opacity: .85; } header nav a:hover { opacity: 1; }

/* ---------- Buttons ---------- */
/* Main button: amber with navy text */
.nf-btn-pri, .btn.primary, header nav a.cta, header nav a[style*="F5A524"], .nfc-send, .tool-dfy .nf-btn-pri, .nf-order-go, .nf-stickycta {
  background: var(--c-amber) !important; color: var(--c-navy) !important; border-color: transparent !important;
  box-shadow: 0 10px 24px -12px rgba(16,35,63,.55); transition: transform .2s ease, box-shadow .2s ease; }
.nf-btn-pri:hover, .btn.primary:hover, header nav a.cta:hover, header nav a[style*="F5A524"]:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(16,35,63,.6); }
.nf-btn, .btn, header nav a.cta, header nav a[style*="F5A524"] { border-radius: 12px !important; }
/* Secondary buttons: navy outline, or navy fill with white text */
.nf-btn-line, .btn.ghostbtn, .iconbtn { background: var(--c-white) !important; color: var(--c-navy) !important; border: 2px solid var(--c-navy) !important; }
.iconbtn { border-width: 1.5px !important; border-color: var(--c-line) !important; }
.nf-btn-dark, .btn.dark { background: var(--c-navy) !important; color: var(--c-white) !important; border-color: var(--c-navy) !important; }

/* Toggles (monthly / yearly): the chosen one is navy with white text */
.toggle { background: var(--c-soft) !important; }
.toggle button.on, .nf-toggle button.on { background: var(--c-navy) !important; color: var(--c-white) !important; }
.toggle button.on .save, .nf-toggle button.on .save, .offer .toggle button.on, .offer .toggle button.on * { color: var(--c-white) !important; }
.nf-toggle .save { color: var(--c-ocean-dark) !important; }
.toggle button:not(.on), .toggle button:not(.on) .save { color: var(--c-navy) !important; }

/* ---------- Forms ---------- */
input:not([type="checkbox"]):not([type="radio"]), select, textarea, .tool-form input, .tool-form select, .tool-form textarea,
form#scan input:not([type="checkbox"]), form#scan select {
  background: var(--c-white) !important; color: var(--c-navy) !important; border: 1.5px solid var(--t-input-edge) !important; border-radius: 12px !important; }
input::placeholder, textarea::placeholder { color: var(--c-muted); opacity: .85; }
form#scan label, form#scan p { color: var(--c-muted) !important; }
form#scan label:has(input[type="checkbox"]) { color: var(--c-navy) !important; }
form#scan a { color: var(--c-ocean-dark) !important; }
.tool-money .cur { background: var(--c-grey) !important; color: var(--c-navy); border-color: var(--t-input-edge) !important; }
.tool-form .tool-choice label { background: var(--c-white) !important; color: var(--c-navy) !important; border-color: var(--t-input-edge) !important; }
.tool-form .tool-choice label:has(input:checked) { background: var(--c-navy) !important; color: var(--c-white) !important; border-color: var(--c-navy) !important; }
.tool-choice label:has(input:focus-visible) { outline-color: var(--c-ocean-dark) !important; }
.tool-step { background: var(--c-ocean) !important; color: var(--c-navy) !important; }
.tool-more summary { color: var(--c-ocean-dark) !important; }
.tool-err { color: #B42318 !important; }   /* form error red, as on the login and scan forms */
.tool-code { background: var(--c-grey) !important; color: var(--c-navy) !important; border: 1px solid var(--c-line); }

/* ---------- Top of each page: light grey with an ocean blue line. No dark sections. ---------- */
.hero, section#top { background: var(--c-grey) !important; color: var(--c-navy) !important; border-bottom: 6px solid var(--c-ocean) !important; }
/* Home hero: soft ocean and pink glows (decoration only; text stays navy on light) */
section#top { background: radial-gradient(620px 420px at 88% 16%, rgba(31,192,218,.30), transparent 70%), radial-gradient(520px 380px at 66% 94%, rgba(250,176,250,.40), transparent 70%), var(--c-grey) !important; }
.hero h1, .hero h2, .hero .big, section#top h1 { color: var(--c-navy) !important; }
.hero .sub, .hero p { color: var(--c-muted) !important; }
/* On light grey, accent text is navy (dark ocean is a little too light there for small text). */
.hero .eyebrow, .crumbs, .crumbs a { color: var(--c-navy) !important; }
.crumbs a { text-decoration: underline; text-underline-offset: 3px; }
.hero a:not(.btn):not(.nf-btn) { color: var(--c-navy); }
.bar { background: var(--c-soft) !important; }
.bar > div { background: var(--c-ocean) !important; }
/* Score card: ocean blue with navy text */
#ring:not(:empty) { background: var(--c-ocean); border-radius: 22px; padding: 12px; line-height: 0; box-shadow: 0 18px 40px -24px rgba(16,35,63,.5); }

/* Sections that used to be dark are light grey bands now */
.nf-dark { background: var(--c-grey) !important; color: var(--c-navy) !important; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.nf-dark .nf-h2, .nf-dark h2, .nf-dark h3 { color: var(--c-navy) !important; }
.nf-dark .nf-eyebrow { color: var(--c-navy) !important; }
.nf-dark .nf-lead, .nf-dark .nf-fine { color: var(--c-muted) !important; }
.nf-dark a:not(.nf-btn) { color: var(--c-navy); }
.nf-eyebrow { color: var(--c-ocean-dark); }
.nf-who .nf-eyebrow { color: var(--c-navy) !important; }
section[style*="#FFFFFF"] { background: var(--c-grey) !important; border-color: var(--c-line) !important; }
/* Sectors (v63): a bright photo strip on the white page */
.nf-who { background: transparent !important; border: 0 !important; }
.nf-who .nf-trade-art { border-radius: 18px; box-shadow: 0 18px 36px -22px rgba(16,35,63,.55); border-bottom: 5px solid var(--c-ocean); transition: transform .25s ease, box-shadow .25s ease; }
.nf-who .nf-trade:nth-child(even) .nf-trade-art { border-bottom-color: var(--c-pink); }
.nf-who .nf-trade:hover .nf-trade-art { transform: translateY(-4px); box-shadow: 0 24px 44px -22px rgba(16,35,63,.6); }
.nf-who .nf-trade-you .nf-trade-art { border-bottom-color: var(--c-amber); }
@media (prefers-reduced-motion: reduce) { .nf-who .nf-trade-art { transition: none; } .nf-who .nf-trade:hover .nf-trade-art { transform: none; } }
section[style*="#FFFFFF"] [style*="#5A6B80"] { color: var(--c-muted) !important; }
section[style*="#FFFFFF"] [style*="#0A7F94"] { color: var(--c-ocean-dark) !important; }

/* The example AI answer: a white card */
.nf-answer { background: var(--c-white) !important; color: var(--c-navy) !important; border: 1px solid var(--c-line) !important; border-radius: 18px; box-shadow: var(--c-shadow); }
.nf-answer-head, .nf-answer figcaption { color: var(--c-muted) !important; }
.nf-answer-head span:first-child { color: var(--c-navy) !important; }
.nf-answer-list li { background: var(--c-grey) !important; color: var(--c-navy); }
.nf-answer-list .n { background: var(--c-ocean) !important; color: var(--c-navy); }
.nf-answer .pts, .nf-answer-you .pts { color: var(--c-navy) !important; }
.nf-answer-you { background: var(--c-grey) !important; border: 1px solid var(--c-line) !important; border-left: 5px solid var(--c-pink) !important; color: var(--c-navy); }

/* ---------- Tables, bars, badges ---------- */
.nf-cmp { background: var(--c-white) !important; color: var(--c-navy) !important; }
.nf-cmp thead th { background: var(--c-grey) !important; color: var(--c-navy) !important; border-bottom: 2px solid var(--c-navy); }
.nf-cmp thead th.ours { background: var(--c-ocean) !important; color: var(--c-navy) !important; }
.nf-cmp td.ours, .nf-table tr.you td, tr.you td, table.dtable tr.you td { background: var(--c-ocean-tint) !important; }
table.dtable tr.you td:first-child { box-shadow: inset 4px 0 0 var(--c-ocean) !important; }
.nf-cmp .y { color: var(--c-ocean-dark) !important; } .nf-cmp .n, .nf-cmp td.ours .y { color: var(--c-navy) !important; }
.nf-you, .pill.you { background: var(--c-pink) !important; color: var(--c-navy) !important; }
.nf-badge { background: var(--c-pink) !important; color: var(--c-navy) !important; }
.ghost i, .bar-track, .nf-bar .t, .trend-empty, .progress { background: var(--c-soft) !important; }
.nf-bar .f, .progress > div { background: var(--c-ocean) !important; }
.lock-note { background: linear-gradient(transparent, var(--c-white) 40%) !important; color: var(--c-navy); }
.card .toggle, .light .toggle { background: var(--c-soft); }
.nf-faq details { border-top-color: var(--c-line); }
tr.pdetail td, .preview-body, .answer-view { background: var(--c-grey) !important; }

/* Results: good = white with dark ocean text; middle = pale amber with navy text; not named = pink with navy text */
.pill.good, .nf-pill.good, .delta.up, .hm.top, .ex-you.good, .ex-list li.you {
  background: var(--c-white) !important; color: var(--c-ocean-dark) !important; box-shadow: inset 0 0 0 1.5px var(--c-ocean-dark); }
.ex-list li.you { color: var(--c-navy) !important; box-shadow: inset 0 0 0 2px var(--c-ocean); }
.pill.mid, .nf-pill.mid, .hm.low { background: rgba(245,165,36,.22) !important; color: var(--c-navy) !important; }
.pill.bad, .nf-pill.bad, .delta.down, .hm.no, .ex-you.bad { background: var(--c-pink) !important; color: var(--c-navy) !important; }
.delta.flat, .hm.none, .hm.na { background: var(--c-grey) !important; color: var(--c-muted) !important; }
.nf-vs .yes { background: var(--c-ocean) !important; color: var(--c-navy) !important; }
.nf-vs .no { background: var(--c-pink) !important; color: var(--c-navy) !important; }
.tool-checks .pass .ic { background: var(--c-ocean) !important; color: var(--c-navy) !important; }
.tool-checks .warn .ic, .tool-checks .info .ic { background: rgba(245,165,36,.25) !important; color: var(--c-navy) !important; }
.tool-checks .fail .ic { background: var(--c-pink) !important; color: var(--c-navy) !important; }
.fixcard.done { background: var(--c-grey) !important; border-color: var(--c-ocean) !important; }
.tick input { accent-color: var(--c-ocean-dark) !important; }
.fix b.n { color: var(--c-ocean-dark) !important; }
.dash-tabs button:focus-visible, button.hm:focus-visible, .xp:focus-visible, .sortbtn:focus-visible, .linkbtn:focus-visible { outline-color: var(--c-ocean-dark) !important; }

/* ---------- Footers: light grey, navy text ---------- */
.nf-foot, body > footer:not(.legal-foot) { background: var(--c-grey) !important; color: var(--c-navy) !important; border-top: 1px solid var(--c-line); }
.nf-foot h4 { color: var(--c-navy) !important; }
.nf-foot a, body > footer:not(.legal-foot) a { color: var(--c-navy) !important; }
.nf-foot .legal { border-top-color: var(--c-line) !important; color: var(--c-muted); }
.nf-foot .nf-logo, .nf-logo { color: var(--c-navy) !important; }
.legal-foot { color: var(--c-muted) !important; }
.legal-foot a { color: var(--c-ocean-dark) !important; }

/* Legal pages: the text sits on a white sheet */
body > main:only-of-type:not(:has(section)):not(:has(.wrap)) { background: var(--c-white); border: 1px solid var(--c-line);
  border-radius: 20px; box-shadow: var(--c-shadow); margin: 28px auto !important; }

/* ---------- Home page hero: the photo tilts in space, the AI answer and badges float in front ---------- */
section#top > div { perspective: 1400px; }
.nf-phone { transform-style: preserve-3d; transform: rotateY(var(--ry, -11deg)) rotateX(var(--rx, 4deg)); transition: transform .35s ease-out; }
.nf-hero-photo { border-radius: 26px !important; box-shadow: 0 40px 80px -30px rgba(16,35,63,.55), 0 0 0 1px var(--c-line) !important; background: var(--c-ocean) !important; }
.nf-phone-screen { transform: translateZ(70px); border-color: var(--c-navy) !important; }
.nf-phone-screen::before { background: var(--c-navy) !important; }
.nf-missing { transform: translateZ(110px); background: var(--c-pink) !important; color: var(--c-navy) !important; border: 2px solid var(--c-navy) !important; }
.nf-missing-x { background: var(--c-navy) !important; color: var(--c-white) !important; }
/* The "1st" badge stays amber with navy text */
.nf-phone::after { content: "1st"; position: absolute; top: -30px; right: -18px; width: 84px; height: 84px; border-radius: 22px;
  display: flex; align-items: center; justify-content: center; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 40px; color: var(--c-navy);
  background: var(--c-amber);
  box-shadow: 0 2px 0 rgba(255,255,255,.6) inset, 0 -5px 0 rgba(16,35,63,.15) inset, 0 20px 36px -10px rgba(16,35,63,.45);
  transform: translateZ(150px); animation: t-float 6s ease-in-out infinite; }
@keyframes t-float { 50% { transform: translateZ(150px) translateY(-12px) rotate(-4deg); } }
@media (max-width: 900px) {
  .nf-phone { transform: rotateY(-6deg) rotateX(3deg); }
  .nf-phone::after { width: 64px; height: 64px; font-size: 30px; top: -20px; right: -6px; border-radius: 18px; }
}
.nf-report-photo img { background: var(--c-ocean) !important; box-shadow: var(--c-shadow) !important; }

/* Kinds of business: ocean blue tiles with navy drawings */
.nf-trade-art { background: var(--photo, none) center / cover, var(--c-ocean) !important; }
.nf-trade-art svg { stroke: var(--c-navy) !important; }
.nf-trade-art[style*="--photo"] { background: var(--photo) center / cover, var(--c-ocean) !important; }
.nf-trade-you .nf-trade-art { background: var(--c-navy) !important; color: var(--c-white) !important; }
.nf-trade-you b { color: var(--c-navy) !important; text-decoration: underline; text-underline-offset: 3px; }

/* Cards lift a little when pointed at */
.nf-card, .nf-plan, .tool-card { transition: transform .3s ease, box-shadow .3s ease; }
.nf-plan:hover, .tool-card:hover, .nf-vs .nf-card:hover { transform: translateY(-6px); }

@media (prefers-reduced-motion: reduce) {
  .nf-phone::after { animation: none; }
  .nf-phone, .nf-card, .nf-plan, .tool-card, .nf-btn-pri, .btn.primary { transition: none; }
  .nf-plan:hover, .tool-card:hover, .nf-vs .nf-card:hover { transform: none; }
}

/* The scan form keeps inside the screen on phones (its padding is counted in its width). */
form#scan { box-sizing: border-box; }
/* Room for the round chat button, so it never covers the last line of the footer. */
.nf-foot .legal, body > footer:not(.legal-foot):not(.nf-foot) { padding-right: 84px; }

/* Contact page icons and "Follow us" links */
.contact-icons { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 44px; }
.contact-ico { display: flex; flex-direction: column; align-items: center; gap: 12px; text-decoration: none; color: var(--c-navy); font-size: 16px; }
.contact-ico[hidden] { display: none; }
.contact-ico .ico { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 26px; background: var(--c-ocean); color: var(--c-navy); box-shadow: 0 14px 30px -12px rgba(16,35,63,.4); transition: transform .2s ease, box-shadow .2s ease; }
.contact-ico .ico svg { width: 40px; height: 40px; }
.contact-ico:hover .ico, .contact-ico:focus-visible .ico { transform: translateY(-4px); box-shadow: 0 18px 36px -12px rgba(16,35,63,.5); }
.contact-ico:focus-visible { outline: 3px solid var(--c-ocean-dark); outline-offset: 6px; border-radius: 12px; }
.nf-social { display: flex; gap: 10px; align-items: center; }
.nf-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--c-navy); color: var(--c-white) !important; transition: transform .2s ease, background .2s ease; }
.nf-social a:hover { transform: translateY(-2px); background: var(--c-ocean-dark); }
.nf-social svg { width: 20px; height: 20px; }
.nf-foot h4.nf-follow { margin: 20px 0 10px; }
.nf-follow-line { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.nf-follow-line .nf-social a { margin-right: 0; }
@media (prefers-reduced-motion: reduce) { .contact-ico .ico, .nf-social a { transition: none; } .contact-ico:hover .ico, .nf-social a:hover { transform: none; } }

/* Guide pages */
.guide p + p { margin-top: 14px; }
.guide h2 { margin-top: 36px; }
.guide .tool-cta { margin: 28px 0 18px; }

/* Guides: news bar, small tags, featured card, guide page parts */
.nf-tag { display: inline-block; background: var(--c-pink) !important; color: var(--c-navy) !important; font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.nf-news { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px; padding: 10px 16px; background: var(--c-grey); color: var(--c-navy) !important; border-bottom: 1px solid var(--c-line); text-decoration: none; font-size: 15px; text-align: center; }
.nf-news b { color: var(--c-navy); white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
.nf-news:hover b { text-decoration-thickness: 2px; }
.nf-feature { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 36px; border-radius: 24px; text-decoration: none; transition: transform .3s ease; }
.nf-feature:hover { transform: translateY(-4px); }
.nf-feature h3 { margin: 0; font-family: var(--nf-head, 'Barlow Condensed', sans-serif); font-weight: 800; font-size: clamp(28px, 4vw, 40px); line-height: 1.05; }
.nf-feature p { margin: 0; max-width: 46em; font-size: 18px; }
.nf-feature .tool-go { margin-top: 4px; text-decoration: underline; text-underline-offset: 3px; }
.nf-soon { opacity: .7; } .nf-soon .tool-go { color: var(--c-muted) !important; }
.tool-go { color: var(--c-ocean-dark); }
.guide-toc { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; padding: 16px 18px; border-radius: 14px; background: var(--c-white); border: 1px solid var(--c-line); font-size: 15px; }
.guide-toc b { width: 100%; }
.guide-toc a { padding: 4px 10px; border-radius: 999px; background: var(--c-grey); color: var(--c-navy); text-decoration: none; }
.guide-toc a:hover { background: var(--c-ocean); color: var(--c-navy); }
.guide-table { overflow-x: auto; margin: 6px 0 14px; border-radius: 14px; border: 1px solid var(--c-line); background: var(--c-white); }
.guide-table table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.guide-table th { background: var(--c-grey); color: var(--c-navy); text-align: left; padding: 12px 14px; border-bottom: 2px solid var(--c-navy); }
.guide-table td { padding: 12px 14px; border-top: 1px solid var(--c-line); color: var(--c-navy); vertical-align: top; }
.guide h2[id], #questions { scroll-margin-top: 90px; }
@media (prefers-reduced-motion: reduce) { .nf-feature { transition: none; } .nf-feature:hover { transform: none; } }

/* Screenshots in guides */
.guide-shot { margin: 8px 0 18px; }
.guide-shot img { display: block; max-width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--c-line); background: var(--c-white); box-shadow: 0 14px 30px -16px rgba(16,35,63,.35); }
.guide-shot figcaption { margin-top: 8px; font-size: 14px; color: var(--c-muted); }

/* "or subscribe" under the Improve trial button */
.nf-or { margin:-6px 0 0; font-size:15px; text-align:left; color:inherit; }
.nf-or a { color:inherit; font-weight:700; text-decoration:underline; text-underline-offset:3px; }
/* Paid plan order form (opens Paddle checkout) */
.nf-order { width:min(560px, calc(100vw - 32px)); max-height:calc(100vh - 32px); overflow:auto; border:0; border-radius:16px; padding:0; background:var(--c-white); color:var(--c-navy); box-shadow:0 20px 60px rgba(16,35,63,.35); }
.nf-order::backdrop { background:rgba(16,35,63,.6); }
.nf-order form { position:relative; padding:24px; display:flex; flex-direction:column; gap:12px; }
.nf-order h2 { margin:0; padding-right:40px; font-size:24px; color:var(--c-navy); }
.nf-order-price { margin:0; font-weight:700; font-size:18px; color:var(--c-navy); }
.nf-order-lead { margin:0; font-size:16px; line-height:1.5; color:var(--c-navy); }
.nf-order-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); gap:12px; }
.nf-order-f { display:flex; flex-direction:column; gap:4px; color:var(--c-muted); font-size:13px; font-weight:600; }
.nf-order-f input, .nf-order-f select { min-height:48px; padding:0 14px; border:1.5px solid #8A99AB; border-radius:8px; background:var(--c-white); color:var(--c-navy); font:inherit; font-size:16px; font-weight:400; }
.nf-order-fine { margin:0; font-size:13px; color:var(--c-muted); }
.nf-order-fine a { color:var(--c-ocean-dark); }
.nf-order-go { min-height:52px; border:0; border-radius:10px; font:inherit; font-weight:700; font-size:17px; cursor:pointer; }
.nf-order-go:disabled { opacity:.7; cursor:wait; }
.nf-order-x { position:absolute; top:12px; right:12px; width:40px; height:40px; border:0; border-radius:50%; background:var(--c-grey); color:var(--c-navy); font-size:24px; line-height:1; cursor:pointer; }
.nf-order-status { margin:0; font-size:15px; font-weight:600; color:#B42318; }
.nf-order-status a { color:var(--c-ocean-dark); }
.nf-order-toast { position:fixed; left:16px; right:16px; bottom:16px; z-index:1000; margin:0 auto; max-width:560px; background:var(--c-navy); color:var(--c-white); padding:14px 16px; border-radius:10px; font-weight:600; }

/* The free scan form: never hidden under the sticky header, and briefly highlighted when a button brings it into view */
form[data-scan-form] { scroll-margin-top: 140px; scroll-margin-bottom: 40px; }
form[data-scan-form].nf-scan-flash { animation: nf-scan-flash 2s ease-out; }
@keyframes nf-scan-flash { 0%, 40% { box-shadow: 0 0 0 4px var(--c-ocean), 0 0 0 10px rgba(31,192,218,.35); } 100% { box-shadow: 0 0 0 0 rgba(31,192,218,0); } }
@media (prefers-reduced-motion: reduce) { form[data-scan-form].nf-scan-flash { animation: none; outline: 3px solid var(--c-ocean); outline-offset: 4px; } }

/* ---------- v61 home page: live AI chat, AI name badges, counters, "What you get" story ---------- */
/* The hero phone: a real-looking AI chat that plays (hero.js). Without script it shows the finished answer. */
.nf-ai { width: 400px; }
.nf-ai [hidden] { display: none !important; }
.nf-ai::after { z-index: 2; }
.nf-ai-screen { position: relative; background: var(--c-white); border: 8px solid var(--c-navy); border-radius: 34px; padding: 20px 16px 18px;
  min-height: 470px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 40px 80px -36px rgba(16,35,63,.6); font-size: 15px; line-height: 1.4; transform: translateZ(40px); }
.nf-ai-bar { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--c-line); font-weight: 700; font-size: 14px; }
.nf-ai-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c-ocean); flex: none; }
.nf-ai-ex { margin-top: auto; align-self: flex-start; font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; background: var(--c-pink); color: var(--c-navy); padding: 2px 8px; border-radius: 999px; }
.nf-ai-q { align-self: flex-end; max-width: 88%; min-height: 21px; background: var(--c-navy); color: var(--c-white); padding: 10px 12px; border-radius: 14px 14px 4px 14px; }
.nf-ai-caret { display: inline-block; width: 2px; height: 1em; background: var(--c-white); margin-left: 2px; vertical-align: -2px; animation: nf-blink 1s steps(1) infinite; }
.nf-ai-think { align-self: flex-start; display: flex; gap: 6px; padding: 12px 14px; background: var(--c-grey); border-radius: 14px; }
.nf-ai-think i { width: 8px; height: 8px; border-radius: 50%; background: var(--c-ocean-dark); animation: nf-bounce 1s ease-in-out infinite; }
.nf-ai-think i:nth-child(2) { animation-delay: .15s; } .nf-ai-think i:nth-child(3) { animation-delay: .3s; }
.nf-ai-a { background: var(--c-grey); border-radius: 14px 14px 14px 4px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.nf-ai-a p { margin: 0; }
.nf-ai-a ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.nf-ai-a li { display: grid; grid-template-columns: 26px 1fr; gap: 8px; align-items: center; background: var(--c-white); border-radius: 10px; padding: 8px 10px; }
.nf-ai-a li .n { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--c-ocean); color: var(--c-navy); font-size: 12px; font-weight: 800; }
.nf-ai-a li small { display: block; font-size: 12px; color: var(--c-muted); }
.nf-ai-miss { display: flex; align-items: center; gap: 8px; background: var(--c-pink); color: var(--c-navy); border: 2px solid var(--c-navy); border-radius: 14px; padding: 10px 12px; font-size: 14px; }
.nf-ai-x { display: grid; place-items: center; width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--c-navy); color: var(--c-white); font-size: 12px; font-weight: 800; }
.nf-ai-in { animation: nf-rise .45s ease-out both; }
.nf-ai-pop { animation: nf-pop .45s cubic-bezier(.2,1.4,.4,1) both; }
.nf-ai-from { display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--c-muted); }
.nf-ai-from small { font-size: 12px; }
.nf-ai-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.nf-ai-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--c-navy);
  background: var(--c-white); border: 1.5px solid rgba(16,35,63,.2); transition: background .3s ease, border-color .3s ease; }
.nf-ai-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c-ocean-dark); }
.nf-ai-badge.wait::before { background: rgba(16,35,63,.2); }
.nf-ai-badge.on { background: var(--c-ocean); border-color: var(--c-navy); }
.nf-ai-badge.on::before { background: var(--c-navy); }
@keyframes nf-blink { 50% { opacity: 0; } }
@keyframes nf-bounce { 50% { transform: translateY(-4px); } }
@keyframes nf-rise { from { opacity: 0; transform: translateY(10px); } }
@keyframes nf-pop { from { opacity: 0; transform: scale(.7); } }
@media (max-width: 900px) { .nf-ai { width: min(400px, 100%); } .nf-ai-screen { min-height: 0; transform: none; } }

/* Statistics: cards; the middle one is an ocean blue card */
.nf-stats > div > div { padding: 22px; border-radius: 18px; border: 1px solid var(--c-line); background: var(--c-white); }
.nf-stats > div > div:nth-child(2) { background: var(--c-ocean); border-color: var(--c-ocean); }
.nf-stats > div > div:nth-child(2) [style*="#5A6B80"] { color: var(--c-navy) !important; }

/* "What you get": steps on the left, the report preview on the right (hero.js plays it) */
.nf-story { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.nf-story-steps { flex: 1 1 300px; min-width: 0; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.nf-story-steps button { width: 100%; display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 16px; font: inherit; color: var(--c-navy);
  text-align: left; cursor: pointer; background: transparent; border: 2px solid transparent; transition: background .25s ease, border-color .25s ease; }
.nf-story-steps button:hover { background: rgba(255,255,255,.6); }
.nf-story-steps button[aria-pressed="true"] { background: var(--c-white); border-color: var(--c-ocean); box-shadow: 0 14px 30px -20px rgba(16,35,63,.5); }
.nf-story-steps button b { display: block; font-size: 18px; }
.nf-story-steps button small { display: block; font-size: 15px; color: var(--c-muted); }
.nf-story-n { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 22px; background: rgba(16,35,63,.08); }
.nf-story-steps button[aria-pressed="true"] .nf-story-n { background: var(--c-ocean); }
.nf-story-view { flex: 999 1 520px; min-width: 0; background: var(--c-white); border: 1px solid var(--c-line); border-radius: 22px; box-shadow: 0 30px 60px -36px rgba(16,35,63,.5); overflow: hidden; }
.nf-story-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 18px; background: var(--c-grey); border-bottom: 1px solid var(--c-line); font-size: 14px; }
.nf-story-head .nf-tag { margin-left: auto; }
.nf-story-lights { display: flex; gap: 6px; } .nf-story-lights i { width: 10px; height: 10px; border-radius: 50%; background: var(--c-pink); }
.nf-story-lights i:nth-child(2) { background: var(--c-amber); } .nf-story-lights i:nth-child(3) { background: var(--c-ocean); }
.nf-story-body { padding: 22px; display: flex; flex-direction: column; gap: 28px; }
.nf-pane { display: flex; flex-direction: column; gap: 12px; }
/* With script on, only the chosen step's preview shows, and it builds up */
.nf-story.on .nf-story-body { min-height: 360px; }
.nf-story.on .nf-pane { display: none; }
.nf-story.on .nf-pane.show { display: flex; }
.nf-story.on .nf-pane.show > * { animation: nf-rise .45s ease-out both; }
.nf-story.on .nf-pane.show > *:nth-child(2) { animation-delay: .1s; } .nf-story.on .nf-pane.show > *:nth-child(3) { animation-delay: .2s; }
.nf-story.on .nf-pane.show > *:nth-child(4) { animation-delay: .3s; } .nf-story.on .nf-pane.show > *:nth-child(5) { animation-delay: .4s; }
.nf-story.on .nf-pane.show .nf-bar .f { animation: nf-grow 1s ease-out both; }
@keyframes nf-grow { from { width: 0; } }
.nf-pane-q { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: center; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--c-line); }
.nf-pane-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.nf-pane-tags i { font-style: normal; font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace; font-size: 11px; padding: 3px 7px; border-radius: 999px; background: var(--c-grey); border: 1px solid var(--c-line); }
.nf-story-ring { background: var(--c-ocean); border-radius: 20px; padding: 10px; line-height: 0; }
.nf-pane-fixes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.nf-pane-fixes li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--c-line); }
.nf-pane-fixes li.done { background: var(--c-grey); }
.nf-pane-fixes .box { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; border: 1.5px solid #8A99AB; font-weight: 800; font-size: 14px; }
.nf-pane-fixes li.done .box { background: var(--c-ocean); border-color: var(--c-navy); }
.nf-pane-fixes small { display: block; font-size: 13px; color: var(--c-muted); }
/* Grow band: a pink glow in one corner */
.nf-managed { background: radial-gradient(420px 260px at 96% 6%, rgba(250,176,250,.6), transparent 70%), var(--c-ocean) !important; }
@media (prefers-reduced-motion: reduce) {
  .nf-ai-caret, .nf-ai-think i, .nf-ai-in, .nf-ai-pop, .nf-story.on .nf-pane.show > *, .nf-story.on .nf-pane.show .nf-bar .f { animation: none !important; }
}

/* ---------- v62: pictures in the background, and a tighter hero ---------- */
/* Hero: text starts at the top (no tall empty space); the phone is a little smaller */
section#top .nf-hero-top { align-items: start; }
section#top > div { padding-top: 36px !important; padding-bottom: 56px !important; }
.nf-ai-screen { min-height: 420px; }
section#top .nf-ai { margin-top: 60px; }
section#top .nf-hero-text { gap: 20px; }
/* Hero: a customer asking AI on her phone, behind the chat phone on the right, fading into the page */
section#top { position: relative; isolation: isolate; overflow: hidden; }
section#top::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; right: 0; width: 52%;
  background: url(/assets/img/hero.webp) center 30% / cover no-repeat; opacity: .55;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%); mask-image: linear-gradient(90deg, transparent 0%, #000 45%); }
@media (max-width: 900px) {
  section#top::before { width: 100%; top: auto; height: 60%; opacity: .3;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 50%); mask-image: linear-gradient(180deg, transparent 0%, #000 50%); }
}
/* "What you get": people reading an AI answer, top right, faded */
#report { position: relative; isolation: isolate; overflow: hidden; }
#report::before { content: ""; position: absolute; z-index: -1; top: 0; right: 0; width: 46%; height: 520px;
  background: url(/assets/img/report.webp) center / cover no-repeat; opacity: .35;
  -webkit-mask-image: linear-gradient(200deg, #000 10%, transparent 75%); mask-image: linear-gradient(200deg, #000 10%, transparent 75%); }
@media (max-width: 900px) { #report::before { width: 100%; height: 300px; opacity: .18; } }
/* AI-like network pattern (ocean and pink dots and lines) behind the white sections */
body { background: var(--c-white) url(/assets/img/ai-pattern.svg) repeat 0 0 / 480px 320px !important; }
body > div[style*="#FFFFFF"], .nf-stats { background: transparent !important; }

/* A button that is switched off for now (for example extra scans during the free trial): greyed, still clickable to explain why */
.btn.is-off { opacity: .5; cursor: not-allowed; box-shadow: none !important; }
.locked-steps { padding: 10px 12px; border-radius: 10px; background: var(--c-grey); border-left: 4px solid var(--c-pink); }

/* PDF (print): plain white */
@media print {
  #ring:not(:empty) { background: #fff; box-shadow: none; }
  .nf-managed, .offer, .tool-dfy, .nf-feature { box-shadow: none; }
}
