@font-face { font-family: "Sora"; src: url("../fonts/site/sora-latin.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/site/geist-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
/* xSmartQA site styles, v2 "modern workbook" (docs/DESIGN-PLAN.md §1, D-29).
   Plain CSS, no build step. Colours come from the logo: navy ink, fox blue, teal. */
:root {
  --paper: #ffffff;
  --mist: #f5f8fc;
  --mist-2: #eaf1fb;
  --line: #e1e8f1;
  --line-strong: #cdd8e6;
  --ink: #0f1724;
  --ink-2: #33415a;
  --ink-soft: #5b6a80;
  --blue: #0a6bf5;
  --blue-dark: #0052cc;
  --blue-tint: #e8f1ff;
  --teal: #00a891;
  --teal-tint: #e0f6f2;
  --pass: #0b6e4a;
  --pass-bg: #e3f5ee;
  --idle: #6b7a90;
  --idle-bg: #eef2f7;
  --warn-bg: #fff4d6;
  --display: "Sora", "Segoe UI", system-ui, sans-serif;
  --body: "Geist", "Segoe UI", system-ui, sans-serif;
  --r-sm: 8px; --r-md: 12px; --r-lg: 20px; --r-xl: 28px;
  --shadow-float: 0 1px 2px rgba(15, 23, 36, .06), 0 12px 32px -8px rgba(15, 23, 36, .18);
  --shadow-window: 0 2px 4px rgba(15, 23, 36, .04), 0 30px 60px -20px rgba(10, 60, 140, .28);
  --hdr-bg: rgba(255, 255, 255, .82);
  --violet-tint: #f1ecff;
  --wrap: 1200px;
  --gutter: 32px;
}
html { font-size: 16px; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0 0 .45em; font-optical-sizing: auto; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); line-height: 1.04; font-weight: 700; letter-spacing: -0.045em; }
h2 { font-size: clamp(1.85rem, 3.3vw, 2.75rem); line-height: 1.1; font-weight: 650; letter-spacing: -0.035em; }
h3 { font-size: 1.25rem; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: 66ch; }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 54ch; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 112px 0; }
.section--mist { background: var(--mist); }
.section--tight { padding-top: 40px; }
.section__head { max-width: 720px; margin-bottom: 48px; }
.section__head p { color: var(--ink-2); font-size: 1.125rem; }
@media (max-width: 767px) { :root { --gutter: 20px; } .section { padding: 72px 0; } .section__head { margin-bottom: 32px; } }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 12px; z-index: 60; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--ink-soft); }

/* Notice bar */
.notice { background: var(--warn-bg); color: var(--ink); font-size: .9rem; padding: 8px 0; }

/* Header: light, sticky, frosted once the page scrolls */
.hdr { position: sticky; top: 0; z-index: 40; background: var(--hdr-bg); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.hdr.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(15, 23, 36, .35); }
.hdr .wrap { display: flex; align-items: center; gap: 32px; min-height: 72px; }
.hdr__logo img { height: 30px; width: auto; }
.nav { display: flex; gap: 2px; align-items: center; flex: 1; list-style: none; margin: 0; padding: 0; }
.nav > li { position: relative; }
.nav > li > a, .nav > li > button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; color: var(--ink-2); font: 500 .95rem/1 var(--body); text-decoration: none; background: none; border: 0; cursor: pointer; }
.nav > li > a:hover, .nav > li > button:hover, .nav > li.open > button { background: var(--mist); color: var(--ink); }
.nav > li > [aria-current="page"] { color: var(--ink); background: var(--mist-2); }
.caret { width: 8px; height: 8px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.open .caret { transform: translateY(1px) rotate(-135deg); }
.panel { position: absolute; top: calc(100% + 10px); left: -8px; min-width: 560px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-float); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .16s, transform .16s, visibility .16s; }
.open > .panel { opacity: 1; visibility: visible; transform: none; }
.panel__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.panel__item { display: block; padding: 12px 14px; border-radius: var(--r-md); text-decoration: none; color: var(--ink); }
.panel__item:hover { background: var(--mist); color: var(--ink); }
.panel__item strong { display: block; font-weight: 600; font-size: .97rem; }
.panel__item span { display: block; color: var(--ink-soft); font-size: .86rem; line-height: 1.4; margin-top: 2px; }
.panel__foot { display: flex; gap: 20px; border-top: 1px solid var(--line); margin-top: 8px; padding: 12px 14px 4px; font-size: .92rem; }
.panel__foot a { font-weight: 500; text-decoration: none; }
.hdr__actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; margin-left: auto; background: var(--mist); color: var(--ink); border: 0; border-radius: 999px; padding: 10px 16px; font: 500 .95rem var(--body); cursor: pointer; }
@media (max-width: 1023px) { .nav, .hdr__actions { display: none; } .menu-btn { display: inline-flex; } }

.sheetmenu { position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 100%); background: var(--paper); z-index: 70; padding: 14px 18px 24px; overflow: auto; overscroll-behavior: contain; display: none; box-shadow: 0 0 0 100vmax rgba(5, 11, 22, .55), -12px 0 40px rgba(0, 0, 0, .25); border-radius: 20px 0 0 20px; }
.sheetmenu.open { display: block; }
.sheetmenu__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.sheetmenu__top img { height: 26px; width: auto; }
.sheetmenu__top button { background: var(--mist); border: 0; border-radius: 999px; padding: 10px 16px; font: 500 .95rem var(--body); cursor: pointer; }
.sheetmenu nav > a, .sheetmenu summary { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font: 600 1rem var(--body); cursor: pointer; }
.sheetmenu details a { display: block; padding: 7px 12px; color: var(--ink-2); text-decoration: none; font-size: .95rem; }
.sheetmenu .btn { margin-top: 18px; width: 100%; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--blue); color: #fff; font: 600 1rem/1 var(--body); text-decoration: none; border: 1px solid var(--blue); cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s; box-shadow: 0 1px 2px rgba(10, 110, 255, .25), inset 0 1px 0 rgba(255, 255, 255, .18); }
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn--secondary { background: var(--paper); color: var(--ink); border-color: var(--line-strong); box-shadow: none; }
.btn--secondary:hover { background: var(--mist); color: var(--ink); border-color: var(--line-strong); }
.btn--small { min-height: 40px; padding: 0 16px; font-size: .93rem; }
.btn--light { background: #fff; color: #0b1220; border-color: #fff; box-shadow: none; }
.btn--light:hover { background: #dce7f7; color: #0b1220; border-color: #dce7f7; }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); box-shadow: none; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Chips */
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font: 600 .78rem/1.5 var(--body); white-space: nowrap; }
.chip svg { width: 11px; height: 11px; }
.chip--pass { background: var(--pass-bg); color: var(--pass); }
.chip--idle { background: var(--idle-bg); color: var(--ink-soft); }
.chip--run { background: var(--blue-tint); color: var(--blue); }
.chip--tint { background: var(--teal-tint); color: var(--teal-ink, #007c6b); }

/* Hero: headline left, the workbook window right, on a faint cell grid */
.hero { position: relative; padding: 72px 0 112px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 32px; mask-image: radial-gradient(ellipse 70% 80% at 78% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 80% at 78% 40%, #000 20%, transparent 75%); opacity: .55; pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 64px; align-items: center; }
.hero h1 { max-width: 12ch; }
.hero__note { margin-top: 28px; color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 1023px) { .hero { padding: 40px 0 72px; } .hero__grid { grid-template-columns: 1fr; gap: 48px; } .hero h1 { max-width: 16ch; } }

.window { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-window); overflow: hidden; }
.window__bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #0f7a4f; color: #fff; font-size: .82rem; }
.window__bar .file { font-weight: 600; }
.window__bar .tag { margin-left: auto; background: rgba(255, 255, 255, .16); padding: 2px 10px; border-radius: 999px; }
.window__fx { display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-bottom: 1px solid var(--line); font-size: .85rem; color: var(--ink-2); }
.window__fx .cellref { min-width: 44px; padding: 2px 8px; border: 1px solid var(--line); border-radius: 6px; text-align: center; font-weight: 600; }
.window__fx .fx { flex: 1; padding: 2px 8px; border: 1px solid var(--line); border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.window table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.window th, .window td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.window thead th { background: var(--mist); color: var(--ink-soft); font-weight: 600; font-size: .8rem; }
.window td.id { color: var(--ink-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
.window tr { transition: background .25s; }
.window tr.is-current td { background: var(--blue-tint); }
.window__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; font-size: .85rem; color: var(--ink-soft); }
.window__tabs { display: flex; gap: 4px; }
.window__tabs span { padding: 4px 12px; border-radius: 6px; }
.window__tabs span:first-child { background: var(--mist); color: var(--ink); font-weight: 600; }
.meter { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); }
.meter__bar { width: 120px; height: 8px; border-radius: 99px; background: var(--idle-bg); overflow: hidden; }
.meter__bar i { display: block; height: 100%; width: 0; background: var(--pass); border-radius: 99px; transition: width .35s ease; }
@media (max-width: 600px) { .hide-sm { display: none; } .window th, .window td { padding: 10px; } .meter__bar { width: 72px; } }

/* Tool picker: family tabs, then rich tool rows with covers */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; background: var(--mist); border: 1px solid var(--line); border-radius: 999px; margin-bottom: 40px; }
.tabs button { border: 0; background: none; padding: 10px 18px; border-radius: 999px; font: 500 .95rem var(--body); color: var(--ink-2); cursor: pointer; }
.tabs button[aria-selected="true"], .tabs button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(15, 23, 36, .12); }
.tabpanel[hidden] { display: none; }
.tools { display: grid; gap: 16px; }
.tool { display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; gap: 32px; align-items: center; padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; color: var(--ink); transition: border-color .15s; }
.tool:hover { border-color: var(--line-strong); color: var(--ink); }
.tool:hover .tool__go { background: var(--blue); color: #fff; }
.tool__cover { border-radius: var(--r-md); overflow: hidden; background: #0d1a2c; aspect-ratio: 12 / 5; }
.tool__cover img { width: 100%; height: 100%; object-fit: cover; }
.tool h3 { margin-bottom: 6px; font-size: 1.4rem; }
.tool p { margin: 0 0 12px; color: var(--ink-2); }
.tool ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.tool li { font-size: .82rem; padding: 3px 10px; border-radius: 999px; background: var(--mist); color: var(--ink-2); }
.tool__side { text-align: right; display: grid; gap: 14px; justify-items: end; }
.tool__go { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; background: var(--mist); color: var(--ink); transition: background .15s, color .15s; }
.tool__go svg { width: 18px; height: 18px; }
@media (max-width: 860px) { .tool { grid-template-columns: 1fr; gap: 16px; } .tool__side { text-align: left; justify-items: start; grid-auto-flow: column; align-items: center; justify-content: space-between; } }

.price { font: 650 1.05rem var(--display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.price small { display: block; font: 400 .8rem var(--body); color: var(--ink-soft); }
.price--none { color: var(--ink-soft); font: 500 .92rem var(--body); }

/* Steps: a real sequence, connected by a line */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 20px; left: 20px; right: 12%; height: 2px; background: linear-gradient(90deg, var(--blue), var(--teal)); opacity: .35; }
.steps li { counter-increment: s; position: relative; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 999px; background: var(--paper); border: 2px solid var(--blue); color: var(--blue); font: 700 1rem var(--display); margin-bottom: 20px; position: relative; }
.steps p { color: var(--ink-2); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 24px; } .steps::before { top: 20px; bottom: 20px; left: 20px; right: auto; width: 2px; height: auto; background: linear-gradient(var(--blue), var(--teal)); } .steps li { padding-left: 64px; } .steps li::before { position: absolute; left: 0; top: 0; } }

/* Services: two-column list rows */
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.service { display: block; padding: 28px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink); position: relative; transition: border-color .15s; }
.service:hover { border-color: var(--blue); color: var(--ink); }
.service p { color: var(--ink-2); margin: 0; padding-right: 48px; }
.service .tool__go { position: absolute; right: 24px; bottom: 24px; width: 36px; height: 36px; }
.service:hover .tool__go { background: var(--blue); color: #fff; }
@media (max-width: 760px) { .services { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 28px; } }

/* Founder */
.founder { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 64px; align-items: center; }
.founder img { border-radius: var(--r-xl); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.founder p { font-size: 1.15rem; color: var(--ink-2); }
.founder dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; margin: 28px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.founder dt { color: var(--ink-soft); }
.founder dd { margin: 0; font-weight: 500; }
@media (max-width: 760px) { .founder { grid-template-columns: 1fr; gap: 28px; } .founder img { max-width: 260px; } }

/* FAQ accordion */
.faq { border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font: 600 1.12rem/1.4 var(--display); cursor: pointer; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 999px; background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 2v8M2 6h8' stroke='%230f1724' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 22px; margin: 0; }

/* CTA panel */
.cta { padding: 112px 0; }
.section:not(.section--mist) + .cta { padding-top: 0; }
.cta__panel { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; padding: 56px; border-radius: var(--r-xl); background: linear-gradient(135deg, #0f1c33, #12294a); color: #fff; }
.cta__panel::after { content: ""; position: absolute; right: -80px; top: -80px; width: 360px; height: 360px; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 40px 20px; mask-image: radial-gradient(circle, #000 30%, transparent 70%); -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%); pointer-events: none; }
.cta__panel h2 { color: #fff; margin-bottom: 8px; }
.cta__panel p { color: #b9c6d8; margin: 0; }
.cta__panel .btn-row { margin: 0; position: relative; z-index: 1; }
@media (max-width: 760px) { .cta { padding: 72px 0; } .section:not(.section--mist) + .cta { padding-top: 0; } .cta__panel { padding: 32px 24px; } }

/* Page head and breadcrumbs */
.pagehead { padding: 48px 0 8px; }
.pagehead h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); max-width: 20ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: var(--ink-soft); margin-bottom: 20px; }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }
.crumbs .sep { color: var(--line-strong); }

/* Tables (pricing, plans) */
.table-wrap { position: relative; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: auto; background: var(--paper); }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tbody tr:last-child > * { border-bottom: 0; }
.table thead th { font-size: .82rem; font-weight: 600; color: var(--ink-soft); background: var(--mist); }
.table th[scope="row"] a { font: 600 1.05rem var(--display); color: var(--ink); text-decoration: none; }
.table th[scope="row"] a:hover { color: var(--blue); }
.table small { display: block; color: var(--ink-soft); font-weight: 400; font-size: .85rem; }

/* Comparison */
.cmp-wrap { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: auto; background: var(--paper); position: relative; }
.cmp { width: 100%; border-collapse: collapse; min-width: 760px; font-size: .94rem; }
.cmp th, .cmp td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.cmp thead th { position: sticky; top: 0; background: var(--mist); font: 600 .88rem var(--body); z-index: 1; }
.cmp thead th a { color: var(--ink); text-decoration: none; }
.cmp th[scope="row"] { text-align: left; font-weight: 500; position: sticky; left: 0; background: var(--paper); min-width: 240px; }
.cmp td.y { color: var(--pass); font-weight: 700; }
.cmp td.n { color: var(--ink-soft); }
.cmp .is-this { background: var(--blue-tint); }
.cmp thead .is-this { background: #d6e6ff; }
.cmp.only-diff tr.same { display: none; }
.toggle { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; font-weight: 500; cursor: pointer; }
.toggle input { width: 18px; height: 18px; accent-color: var(--blue); }

/* Tool page */
.tool-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: start; padding-bottom: 72px; }
.tool-top figure { margin: 0; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-window); background: #0d1a2c; position: sticky; top: 100px; }
.tool-top .family { display: inline-flex; margin-bottom: 16px; }
.tool-top h1 { font-size: clamp(2.3rem, 4.4vw, 3.5rem); }
.tool-top .tagline { font: 600 1.15rem/1.4 var(--display); color: var(--ink-2); }
.pricebox { margin-top: 28px; padding: 24px; border-radius: var(--r-lg); background: var(--mist); border: 1px solid var(--line); }
.pricebox p { margin: 0; color: var(--ink-2); }
.getlist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.getlist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.getlist li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 999px; background: var(--pass-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.2 2.2L9.5 3.6' fill='none' stroke='%230f8a5f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.features-grid li { padding: 18px 20px; border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line); font-weight: 500; }
.subbar { position: sticky; top: 72px; z-index: 30; background: var(--hdr-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.subbar .wrap { display: flex; align-items: center; gap: 4px; min-height: 60px; overflow-x: auto; }
.subbar a:not(.btn) { padding: 8px 14px; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-size: .93rem; white-space: nowrap; }
.subbar a:not(.btn):hover { background: var(--mist); color: var(--ink); }
.subbar .spacer { flex: 1; }
@media (max-width: 900px) { .tool-top { grid-template-columns: 1fr; gap: 32px; } .tool-top figure { position: static; } .subbar { top: 72px; } .subbar .btn { display: none; } }

/* Segmented switch (pricing) */
.seg { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--mist); border: 1px solid var(--line); margin-bottom: 24px; }
.seg button { border: 0; background: none; padding: 9px 18px; border-radius: 999px; font: 500 .95rem var(--body); color: var(--ink-2); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(15, 23, 36, .12); }

/* Notes */
.onrequest { padding: 18px 20px; border-radius: var(--r-md); background: var(--mist); border: 1px solid var(--line); color: var(--ink-2); }

/* Forms */
.form { display: grid; gap: 20px; padding: 36px; border-radius: var(--r-xl); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-float); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .95rem; }
.opt { color: var(--ink-soft); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; font: 400 1rem var(--body); color: var(--ink); padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-md); background: var(--paper); transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-tint); }
.help { font-size: .86rem; color: var(--ink-soft); }
.err { display: none; font-size: .88rem; color: #b42318; font-weight: 500; }
.has-err input, .has-err select, .has-err textarea { border-color: #b42318; }
.has-err .err { display: block; }
.check { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; }
.check input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--blue); }
.check label { font-weight: 400; }
.hp { position: absolute; left: -9999px; }
.form .btn { justify-self: start; }
@media (max-width: 600px) { .form { padding: 24px 20px; } }

/* Prose (text blocks, services) */
.prose { max-width: 720px; }
.prose p, .prose li { color: var(--ink-2); font-size: 1.1rem; }
.prose h2 { margin-top: 1.4em; font-size: 1.8rem; }

/* Footer */
.ftr { background: var(--mist); border-top: 1px solid var(--line); padding: 48px 0 28px; font-size: .9rem; }
.ftr__top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
.ftr__brand img { height: 28px; width: auto; margin-bottom: 16px; }
.ftr__brand p { color: var(--ink-soft); max-width: 30ch; }
.ftr h2 { font: 600 .9rem var(--body); color: var(--ink); margin: 4px 0 14px; letter-spacing: 0; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.ftr a { color: var(--ink-2); text-decoration: none; }
.ftr a:hover { color: var(--blue); }
.ftr__legal { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 18px; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .88rem; }
@media (max-width: 960px) { .ftr__top { grid-template-columns: 1fr 1fr; } .ftr__brand { grid-column: 1 / -1; } }
.tool[hidden] { display: none; }

/* Home "All tools" panel: two columns of compact tool rows */
.tools--grid { grid-template-columns: 1fr 1fr; }
.tools--grid .tool { grid-template-columns: 150px minmax(0, 1fr); grid-template-rows: auto auto; gap: 6px 20px; padding: 16px; align-items: start; }
.tools--grid .tool__cover { grid-row: 1 / 3; aspect-ratio: 12 / 5; }
.tools--grid .tool h3 { font-size: 1.2rem; margin: 2px 0 2px; }
.tools--grid .tool p { font-size: .93rem; margin-bottom: 0; }
.tools--grid .tool__side { grid-column: 2; grid-auto-flow: column; justify-content: space-between; align-items: center; text-align: left; justify-items: start; }
.tools--grid .tool__go { width: 36px; height: 36px; }
.tools .tool .tool__fam { color: var(--teal-ink, #00665a); font-weight: 600; font-size: .82rem; margin: 0 0 2px; }
@media (max-width: 900px) { .tools--grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .tools--grid .tool { grid-template-columns: 96px minmax(0, 1fr); } }
@media (max-width: 480px) { .seg { display: flex; width: 100%; } .seg button { flex: 1; padding: 9px 8px; font-size: .88rem; } .seg .chip { display: none; } }
@media (max-width: 600px) { .table th, .table td { padding: 14px 12px; } }
@media (max-width: 760px) { .tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; margin-bottom: 28px; } .tabs::-webkit-scrollbar { display: none; } .tabs button { white-space: nowrap; flex: none; } }

/* Three ways we help */
.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.path { padding: 36px 32px 40px; display: flex; flex-direction: column; align-items: flex-start; }
.path + .path { border-left: 1px solid var(--line); }
.path:first-child { padding-left: 0; }
.path__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--blue-tint); color: var(--blue); margin-bottom: 22px; }
.path:nth-child(2) .path__icon { background: var(--teal-tint); color: var(--teal-ink, #007c6b); }
.path:nth-child(3) .path__icon { background: var(--violet-tint); color: #5b3fd6; }
.path__icon svg { width: 26px; height: 26px; }
.path h3 { font-size: 1.5rem; }
.path p { color: var(--ink-2); flex: 1; }
.path__link { font-weight: 600; text-decoration: none; }
.path__link:hover { text-decoration: underline; }
@media (max-width: 860px) { .paths { grid-template-columns: 1fr; } .path { padding: 28px 0; } .path + .path { border-left: 0; border-top: 1px solid var(--line); } }

/* Training */
.training { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding: 56px; border-radius: var(--r-xl); background: linear-gradient(135deg, var(--violet-tint) 0%, var(--blue-tint) 100%); }
.training p { color: var(--ink-2); font-size: 1.1rem; }
.training__topics { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.training__topics li { padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .8); border: 1px solid rgba(91, 63, 214, .15); font-weight: 500; }
@media (max-width: 860px) { .training { grid-template-columns: 1fr; padding: 32px 24px; gap: 28px; } }
.training--single { grid-template-columns: 1fr; }
.training--single p { max-width: 60ch; }

/* Tool page facts */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 28px 0 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.facts div { padding: 18px 20px; border-bottom: 1px solid var(--line); }
.facts div:nth-child(odd) { border-right: 1px solid var(--line); }
.facts div:nth-last-child(-n+2) { border-bottom: 0; }
.facts dt { font-size: .85rem; color: var(--ink-soft); }
.facts dd { margin: 2px 0 0; font-weight: 600; color: var(--ink); }
@media (max-width: 600px) { .facts { grid-template-columns: 1fr; } .facts div:nth-child(odd) { border-right: 0; } .facts div:nth-last-child(2) { border-bottom: 1px solid var(--line); } }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.logo__mark { width: 32px; height: 32px; flex: none; }
.logo__word { font: 700 1.3rem/1 var(--display); letter-spacing: -0.04em; }
.logo__word b { font-weight: 700; background: linear-gradient(90deg, var(--blue), var(--teal-bright, #00b39b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo--light { color: #fff; }
.hdr__logo { text-decoration: none; }
.ftr__brand .logo { margin-bottom: 16px; }

/* Product showcase: dark section, bento grid of real product covers */
.showcase { background: radial-gradient(1200px 500px at 85% -10%, rgba(10, 110, 255, .28), transparent 60%), radial-gradient(900px 400px at 0% 110%, rgba(0, 194, 168, .16), transparent 60%), #0b1424; color: #fff; }
.showcase h2 { color: #fff; }
.showcase p { color: #a9b6c9; font-size: 1.125rem; max-width: 56ch; }
.showcase__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.bento__item { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); color: #fff; text-decoration: none; transition: border-color .2s, transform .2s, background .2s; }
.bento__item:hover { color: #fff; border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .07); transform: translateY(-3px); }
.bento__item--wide { grid-column: span 2; }
.bento__img { display: block; aspect-ratio: 12 / 5; background: #050b16; overflow: hidden; }
.bento__img img { width: 100%; height: 100%; object-fit: cover; object-position: left center; transition: transform .4s; }
.bento__item:hover .bento__img img { transform: scale(1.03); }
.bento__body { display: grid; gap: 2px; padding: 16px 18px 18px; }
.bento__fam { font-size: .8rem; color: var(--teal-ink-dark, #5fe0cc); font-weight: 500; }
.bento__name { font: 650 1.2rem/1.25 var(--display); letter-spacing: -0.02em; }
.bento__item--wide .bento__name { font-size: 1.5rem; }
.bento__meta { font-size: .88rem; color: #a9b6c9; margin-top: 4px; }
@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .bento__item--wide { grid-column: auto; } }
@media (prefers-reduced-motion: reduce) { .bento__item:hover { transform: none; } }

/* Tool page hero: text + buy box, then the full-width product banner */
.tool-hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px; align-items: start; padding-top: 8px; }
.tool-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin-top: 16px; }
.tool-hero .tagline { font: 600 1.15rem/1.4 var(--display); color: var(--ink-2); letter-spacing: -0.01em; }
.buybox { padding: 28px; border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow-float); position: sticky; top: 96px; }
.buybox__price { font: 700 1.6rem var(--display); letter-spacing: -0.03em; margin: 0 0 6px; }
.buybox__plans { width: 100%; border-collapse: collapse; }
.buybox__plans th, .buybox__plans td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; }
.buybox__plans td { text-align: right; }
.buybox__plans small { display: block; color: var(--ink-soft); font-size: .82rem; }
.buybox .getlist { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.tool-banner { margin: 48px 0 40px; border-radius: var(--r-xl); overflow: hidden; background: #050b16; box-shadow: var(--shadow-window); }
.tool-banner img { width: 100%; }
.tool__cover img { object-position: left center; }
.tools--grid .tool { grid-template-columns: 180px minmax(0, 1fr); }
@media (max-width: 900px) { .tool-hero { grid-template-columns: 1fr; gap: 28px; } .buybox { position: static; } .tool-banner { margin: 32px 0 48px; } }

/* Domain chips */
.domains { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.domains__label { font-weight: 600; margin-right: 6px; }
.domains__chip { padding: 8px 16px; border-radius: 999px; background: var(--teal-tint); color: var(--teal-ink, #006b5c); font-weight: 500; text-decoration: none; }
a.domains__chip:hover { background: #c9efe8; color: #004f44; }
.section--tight + .paths-section { padding-top: 24px; }
@media (max-width: 560px) { .tools--grid .tool { grid-template-columns: minmax(0, 1fr); } .tools--grid .tool__cover { grid-row: auto; } .tools--grid .tool__side { grid-column: 1; } }

/* Sign-in and customer account */
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 56px; align-items: start; padding-top: 24px; }
@media (max-width: 860px) { .auth { grid-template-columns: 1fr; gap: 24px; } }
.lic { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; color: var(--ink); margin-bottom: 12px; }
.lic:hover { border-color: var(--line-strong); color: var(--ink); }
.lic__img { aspect-ratio: 12 / 5; border-radius: var(--r-sm); overflow: hidden; background: #050b16; }
.lic__img img { width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.lic__body { display: grid; gap: 2px; }
.lic__name { font: 650 1.15rem var(--display); }
@media (max-width: 560px) { .lic { grid-template-columns: 1fr; } }
.licsteps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: l; }
.licsteps li { counter-increment: l; position: relative; padding: 20px 20px 20px 64px; border: 1px solid var(--line); border-radius: var(--r-lg); display: grid; gap: 8px; }
.licsteps li::before { content: counter(l); position: absolute; left: 20px; top: 18px; width: 30px; height: 30px; border-radius: 999px; display: grid; place-items: center; font: 700 .95rem var(--display); background: var(--blue-tint); color: var(--blue); }
.licsteps li.done::before { content: "✓"; background: var(--pass-bg); color: var(--pass); }
.licsteps li span { color: var(--ink-2); }
.inline-form { display: flex; gap: 10px; align-items: flex-start; flex-wrap: wrap; }
.keybox { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 12px 14px; border-radius: var(--r-md); background: var(--mist); border: 1px dashed var(--line-strong); }
.keybox code { flex: 1; font: 500 1rem ui-monospace, SFMono-Regular, Menlo, monospace; word-break: break-all; }
.hdr__link { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 8px 12px; border-radius: 999px; }
.hdr__link:hover { background: var(--mist); color: var(--ink); }

/* Dark mode: follows the device unless the visitor picks with the moon button (stored in this browser only) */
:root[data-theme="dark"] { color-scheme: dark; --paper: #0b1220; --mist: #111a2b; --mist-2: #16223a; --line: #22304a; --line-strong: #31425f; --ink: #e8eef7; --ink-2: #c3cfdf; --ink-soft: #8d9cb3; --blue: #4d94ff; --blue-dark: #2f7cf0; --blue-tint: #0f2747; --teal-tint: #0c2f2b; --pass: #3fcf8e; --pass-bg: #0e2d22; --idle-bg: #1a2436; --warn-bg: #33270b; --hdr-bg: rgba(11, 18, 32, .82); --violet-tint: #221a3d; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { color-scheme: dark; --paper: #0b1220; --mist: #111a2b; --mist-2: #16223a; --line: #22304a; --line-strong: #31425f; --ink: #e8eef7; --ink-2: #c3cfdf; --ink-soft: #8d9cb3; --blue: #4d94ff; --blue-dark: #2f7cf0; --blue-tint: #0f2747; --teal-tint: #0c2f2b; --pass: #3fcf8e; --pass-bg: #0e2d22; --idle-bg: #1a2436; --warn-bg: #33270b; --hdr-bg: rgba(11, 18, 32, .82); --violet-tint: #221a3d; } }
.domains__chip { color: var(--ink); }
.tools .tool .tool__fam { color: var(--teal-ink, #00665a); }

.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 0; background: none; color: var(--ink-2); cursor: pointer; }
.icon-btn:hover { background: var(--mist); color: var(--ink); }
.icon-btn svg { width: 20px; height: 20px; }

/* Phone contact bar and WhatsApp button */
.mobilebar { display: none; }
@media (max-width: 760px) {
  .mobilebar { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--hdr-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
  .mobilebar .btn { flex: 1; min-height: 44px; padding: 0 12px; }
  body { padding-bottom: 72px; }
}
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 45; width: 52px; height: 52px; border-radius: 999px; display: grid; place-items: center; background: #1fa855; color: #fff; box-shadow: var(--shadow-float); }
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { color: #fff; background: #168c45; }
@media (max-width: 760px) { .wa-float { display: none; } } /* the phone bar already has WhatsApp; must come after the base rule */

/* Search */
.searchbox { display: flex; gap: 10px; max-width: 640px; }
.searchbox input { flex: 1; font: 400 1.05rem var(--body); padding: 12px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--paper); color: var(--ink); }
.results { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 12px; max-width: 760px; }
.results a { display: block; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; color: var(--ink); }
.results a:hover { border-color: var(--line-strong); color: var(--ink); }
.results small { display: block; color: var(--teal); font-weight: 600; margin-bottom: 4px; }
.results span { display: block; color: var(--ink-2); font-size: .95rem; }

/* Forms: option rows, picker */
.opt-row { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-md); cursor: pointer; font-weight: 400; }
.opt-row:has(input:checked) { border-color: var(--blue); background: var(--blue-tint); }
.opt-row input { accent-color: var(--blue); width: 18px; height: 18px; }
.picker fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.picker legend { font-weight: 600; margin-bottom: 8px; }

/* Newsletter (footer) */
.newsletter { display: grid; gap: 8px; margin-top: 20px; max-width: 360px; }
.newsletter__row { display: flex; gap: 8px; }
.newsletter__row input { flex: 1; min-width: 0; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--paper); color: var(--ink); font: 400 .95rem var(--body); }
.newsletter__ok { display: flex; gap: 8px; align-items: flex-start; font-size: .82rem; color: var(--ink-soft); }

/* Printable brochure */
.brochure { background: var(--mist); }
.brochure__bar { display: flex; justify-content: space-between; align-items: center; max-width: 820px; margin: 16px auto 0; padding: 0 16px; }
.brochure__page { max-width: 820px; margin: 16px auto 40px; background: var(--paper); padding: 48px; border-radius: var(--r-lg); border: 1px solid var(--line); }
.brochure__head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 24px; color: var(--ink-soft); font-size: .9rem; }
.brochure h1 { font-size: 2.6rem; margin-bottom: .2em; }
.brochure h2 { font-size: 1.3rem; margin-top: 1.2em; }
.brochure__img { border-radius: var(--r-md); margin: 16px 0; }
.brochure__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.brochure__foot { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink-soft); }
@media (max-width: 700px) { .brochure__page { padding: 24px; } .brochure__cols { grid-template-columns: 1fr; } }
@media print { .noprint { display: none !important; } .brochure, .brochure__page { background: #fff; border: 0; margin: 0; padding: 0; max-width: none; } :root { --paper: #fff; --ink: #0f1724; } @page { margin: 14mm; } }

/* Tool gallery and video */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: #000; margin-bottom: 20px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.gallery img { border-radius: var(--r-md); border: 1px solid var(--line); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.service__title { font: 600 1.25rem/1.25 var(--display); letter-spacing: -0.01em; margin: 0 0 .45em; }
.langswitch { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--mist); }
.langswitch a { padding: 5px 10px; border-radius: 999px; font: 600 .8rem var(--body); color: var(--ink-2); text-decoration: none; }
.langswitch a[aria-current] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(15,23,36,.12); }

/* Interaction polish (web interface guidelines audit, D-40) */
a, button, summary, select, input, label, textarea { touch-action: manipulation; }
html { -webkit-tap-highlight-color: rgba(10, 107, 245, .15); }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
:target, h1[id], h2[id], h3[id], section[id] { scroll-margin-top: 120px; }
table td, table th { font-variant-numeric: tabular-nums; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid transparent; }

/* Scrollbars: slim and quiet (D-41) */
html { scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 999px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: var(--ink-soft); background-clip: padding-box; border: 2px solid transparent; }
@media (max-width: 960px) { .ftr__top { gap: 24px 20px; } .ftr h2 { margin-bottom: 8px; } }

/* Contrast fixes found by the automatic sweep (D-42): primary button and tinted chip in dark mode */
:root[data-theme="dark"] .btn:not(.btn--secondary):not(.btn--light):not(.btn--ghost-light) { background: #1f66d8; border-color: #1f66d8; }
:root[data-theme="dark"] .btn:not(.btn--secondary):not(.btn--light):not(.btn--ghost-light):hover { background: #1a57b8; border-color: #1a57b8; }
:root[data-theme="dark"] .chip--tint { color: var(--teal-ink-dark, #5fe0cc); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .btn:not(.btn--secondary):not(.btn--light):not(.btn--ghost-light) { background: #1f66d8; border-color: #1f66d8; }
  :root:not([data-theme="light"]) .btn:not(.btn--secondary):not(.btn--light):not(.btn--ghost-light):hover { background: #1a57b8; border-color: #1a57b8; }
  :root:not([data-theme="light"]) .chip--tint { color: var(--teal-ink-dark, #5fe0cc); }
}
:root[data-theme="dark"] .tools .tool .tool__fam { color: var(--teal); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tools .tool .tool__fam { color: var(--teal); } }

/* Footer columns fold on phones (D-43) */
.ftr__col summary { font: 600 .9rem var(--body); color: var(--ink); margin: 4px 0 14px; list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.ftr__col summary::-webkit-details-marker { display: none; }
@media (min-width: 761px) { .ftr__col summary { pointer-events: none; } }
@media (max-width: 760px) {
  .ftr__top { grid-template-columns: 1fr; gap: 0; }
  .ftr__brand { margin-bottom: 16px; }
  .ftr__col { border-top: 1px solid var(--line); }
  .ftr__col summary { margin: 0; padding: 14px 2px; }
  .ftr__col summary::after { content: "+"; font-size: 1.2rem; color: var(--ink-soft); }
  .ftr__col[open] summary::after { content: "–"; }
  .ftr__col ul { padding-bottom: 14px; }
}

/* Phone header and tab bar: slimmer so more of the page shows (D-43) */
@media (max-width: 1023px) {
  .hdr .wrap { min-height: 56px; gap: 16px; }
  .hdr__logo .logo__mark, .hdr__logo svg { height: 28px; width: 28px; }
  .menu-btn { padding: 8px 14px; min-height: 40px; }
  .subbar { top: 56px; }
  .subbar .wrap { min-height: 48px; scrollbar-width: none; }
  .subbar .wrap::-webkit-scrollbar { display: none; }
  .subbar a:not(.btn) { padding: 6px 12px; font-size: .9rem; }
  :target, h1[id], h2[id], h3[id], section[id] { scroll-margin-top: 112px; }
}

/* Colour gradients (brand blue to teal), light and dark, phone and desktop (D-44) */
:root { --grad: linear-gradient(135deg, #0a5fe0 0%, #0877b5 100%); --grad-hover: linear-gradient(135deg, #0850bd 0%, #066a9f 100%); --glow-a: rgba(10, 107, 245, .28); --glow-b: rgba(0, 168, 145, .24); }
:root[data-theme="dark"] { --glow-a: rgba(77, 148, 255, .22); --glow-b: rgba(0, 200, 170, .16); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --glow-a: rgba(77, 148, 255, .22); --glow-b: rgba(0, 200, 170, .16); } }

.btn:not(.btn--secondary):not(.btn--light):not(.btn--ghost-light) { background-image: var(--grad); border-color: transparent; }
.btn:not(.btn--secondary):not(.btn--light):not(.btn--ghost-light):hover { background-image: var(--grad-hover); border-color: transparent; }
:root[data-theme="dark"] .btn:not(.btn--secondary):not(.btn--light):not(.btn--ghost-light) { background-image: linear-gradient(135deg, #1f66d8 0%, #0e7aa8 100%); border-color: transparent; }
:root[data-theme="dark"] .btn:not(.btn--secondary):not(.btn--light):not(.btn--ghost-light):hover { background-image: linear-gradient(135deg, #1a57b8 0%, #0b6a93 100%); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .btn:not(.btn--secondary):not(.btn--light):not(.btn--ghost-light) { background-image: linear-gradient(135deg, #1f66d8 0%, #0e7aa8 100%); border-color: transparent; }
  :root:not([data-theme="light"]) .btn:not(.btn--secondary):not(.btn--light):not(.btn--ghost-light):hover { background-image: linear-gradient(135deg, #1a57b8 0%, #0b6a93 100%); }
}

.hero { background: radial-gradient(60% 55% at 88% 8%, var(--glow-a), transparent 70%), radial-gradient(45% 45% at 4% 92%, var(--glow-b), transparent 70%); }
.pagehead { background: radial-gradient(50% 120% at 90% 0%, var(--glow-a), transparent 70%); padding-bottom: 24px; }
.section--mist { background: linear-gradient(180deg, var(--mist) 0%, var(--blue-tint) 100%); }
.cta__panel { background: radial-gradient(70% 120% at 100% 0%, rgba(0, 200, 170, .35), transparent 60%), linear-gradient(135deg, #0f1c33, #12294a); }
.hdr.is-scrolled { border-image: linear-gradient(90deg, transparent, var(--blue), var(--teal), transparent) 1; border-bottom-width: 1px; }
.ftr { background: linear-gradient(180deg, var(--mist) 0%, var(--blue-tint) 100%); border-top: 0; position: relative; }
.ftr::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--blue), var(--teal)); }
.path__icon, .lic__icon { background-image: linear-gradient(135deg, var(--blue-tint), var(--teal-tint)); }
.bento__item:hover { border-color: rgba(0, 200, 170, .5); box-shadow: 0 18px 40px -18px rgba(0, 168, 145, .45); }
.buybox { background: linear-gradient(180deg, var(--paper) 0%, var(--blue-tint) 160%); }
.mobilebar { background-image: linear-gradient(180deg, transparent, var(--blue-tint) 160%); }
.sheetmenu { background: linear-gradient(180deg, var(--paper) 55%, var(--blue-tint) 100%); }
:root:not([data-theme="dark"]) .chip--run { color: var(--blue-dark); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .chip--run { color: var(--blue); } }

/* Phone contact bar: appears after the first screen and hides while a quote button is already on screen (no double buttons) */
@media (max-width: 760px) {
  .mobilebar { transition: transform .2s ease; }
  .mobilebar:not(.is-on) { transform: translateY(110%); pointer-events: none; }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) { .mobilebar { transition: none; } }

/* UI review fixes (D-45) */
.ftr__top { grid-template-columns: minmax(0, 1.7fr) repeat(4, minmax(0, 1fr)); }
.newsletter { max-width: 100%; grid-template-columns: minmax(0, 1fr); }
.newsletter__ok input { width: 18px; height: 18px; margin-top: 1px; flex: none; }
@media (max-width: 760px) {
  .searchbox { flex-wrap: wrap; }
  .searchbox input { min-width: 0; flex: 1 1 200px; }
  .ftr li a, .crumbs a { display: inline-block; padding: 5px 0; }
  .ftr li { line-height: 1.2; }
}

/* Colour themes (D-46): the owner picks one in Admin > Settings > Appearance. <html data-palette="...">. Ocean is the default and needs no rules. */
[data-palette="violet"] { --blue: #6a3de8; --blue-dark: #5028c4; --blue-tint: #efe9ff; --teal: #db2777; --teal-bright: #db2777; --teal-tint: #fde7f1; --teal-ink: #a3125a; --mist: #f8f6fd; --mist-2: #efeafb; --grad: linear-gradient(135deg, #5b2fd6 0%, #a21caf 100%); --grad-hover: linear-gradient(135deg, #4c24b4 0%, #8a1698 100%); --glow-a: rgba(106,61,232,.26); --glow-b: rgba(219,39,119,.18); }
:root[data-palette="violet"][data-theme="dark"] { --blue: #a58bff; --blue-dark: #8567f5; --blue-tint: #231a45; --teal-tint: #3a1228; --teal-ink: #ff8fc2; --teal-ink-dark: #ff8fc2; --glow-a: rgba(165,139,255,.22); --glow-b: rgba(255,111,180,.16); --teal: #ff8fc2; }
:root[data-palette="violet"][data-theme="dark"] .btn:not(.btn--secondary):not(.btn--light):not(.btn--ghost-light) { background-color: #5b36d6; background-image: linear-gradient(135deg, #5b36d6 0%, #a21caf 100%); border-color: transparent; }
:root[data-palette="violet"][data-theme="dark"] .btn:not(.btn--secondary):not(.btn--light):not(.btn--ghost-light):hover { filter: brightness(.9); }
@media (prefers-color-scheme: dark) { :root[data-palette="violet"]:not([data-theme="light"]) { --blue: #a58bff; --blue-dark: #8567f5; --blue-tint: #231a45; --teal-tint: #3a1228; --teal-ink: #ff8fc2; --teal-ink-dark: #ff8fc2; --glow-a: rgba(165,139,255,.22); --glow-b: rgba(255,111,180,.16); --teal: #ff8fc2; }
  :root[data-palette="violet"]:not([data-theme="light"]) .btn:not(.btn--secondary):not(.btn--light):not(.btn--ghost-light) { background-color: #5b36d6; background-image: linear-gradient(135deg, #5b36d6 0%, #a21caf 100%); border-color: transparent; }
  :root[data-palette="violet"]:not([data-theme="light"]) .btn:not(.btn--secondary):not(.btn--light):not(.btn--ghost-light):hover { filter: brightness(.9); } }
[data-palette="forest"] { --blue: #0b7a52; --blue-dark: #085c3e; --blue-tint: #e2f6ed; --teal: #6f8f0a; --teal-bright: #6f8f0a; --teal-tint: #eef4d3; --teal-ink: #4d6b00; --mist: #f4f9f6; --mist-2: #e6f2ec; --grad: linear-gradient(135deg, #0b7a52 0%, #3f7d14 100%); --grad-hover: linear-gradient(135deg, #085f40 0%, #316410 100%); --glow-a: rgba(11,122,82,.24); --glow-b: rgba(132,170,20,.2); }
:root[data-palette="forest"][data-theme="dark"] { --blue: #3ddc97; --blue-dark: #22b877; --blue-tint: #0c2e22; --teal-tint: #232d0a; --teal-ink: #c4e86b; --teal-ink-dark: #c4e86b; --glow-a: rgba(61,220,151,.2); --glow-b: rgba(196,232,107,.14); --teal: #c4e86b; }
:root[data-palette="forest"][data-theme="dark"] .btn:not(.btn--secondary):not(.btn--light):not(.btn--ghost-light) { background-color: #0b7a52; background-image: linear-gradient(135deg, #0b7a52 0%, #3f7d14 100%); border-color: transparent; }
:root[data-palette="forest"][data-theme="dark"] .btn:not(.btn--secondary):not(.btn--light):not(.btn--ghost-light):hover { filter: brightness(.9); }
@media (prefers-color-scheme: dark) { :root[data-palette="forest"]:not([data-theme="light"]) { --blue: #3ddc97; --blue-dark: #22b877; --blue-tint: #0c2e22; --teal-tint: #232d0a; --teal-ink: #c4e86b; --teal-ink-dark: #c4e86b; --glow-a: rgba(61,220,151,.2); --glow-b: rgba(196,232,107,.14); --teal: #c4e86b; }
  :root[data-palette="forest"]:not([data-theme="light"]) .btn:not(.btn--secondary):not(.btn--light):not(.btn--ghost-light) { background-color: #0b7a52; background-image: linear-gradient(135deg, #0b7a52 0%, #3f7d14 100%); border-color: transparent; }
  :root[data-palette="forest"]:not([data-theme="light"]) .btn:not(.btn--secondary):not(.btn--light):not(.btn--ghost-light):hover { filter: brightness(.9); } }
[data-palette="sunset"] { --blue: #c2410c; --blue-dark: #9a3412; --blue-tint: #fff1e6; --teal: #e11d48; --teal-bright: #e11d48; --teal-tint: #ffe4ea; --teal-ink: #9f1239; --mist: #fdf8f4; --mist-2: #fbeee3; --grad: linear-gradient(135deg, #c2410c 0%, #be123c 100%); --grad-hover: linear-gradient(135deg, #9a3412 0%, #9f0f31 100%); --glow-a: rgba(234,88,12,.24); --glow-b: rgba(225,29,72,.16); }
:root[data-palette="sunset"][data-theme="dark"] { --blue: #ff9a5c; --blue-dark: #f97316; --blue-tint: #3a1e0d; --teal-tint: #3a1019; --teal-ink: #ff8da6; --teal-ink-dark: #ff8da6; --glow-a: rgba(255,154,92,.22); --glow-b: rgba(255,100,130,.16); --teal: #ff8da6; }
:root[data-palette="sunset"][data-theme="dark"] .btn:not(.btn--secondary):not(.btn--light):not(.btn--ghost-light) { background-color: #c2410c; background-image: linear-gradient(135deg, #c2410c 0%, #be123c 100%); border-color: transparent; }
:root[data-palette="sunset"][data-theme="dark"] .btn:not(.btn--secondary):not(.btn--light):not(.btn--ghost-light):hover { filter: brightness(.9); }
@media (prefers-color-scheme: dark) { :root[data-palette="sunset"]:not([data-theme="light"]) { --blue: #ff9a5c; --blue-dark: #f97316; --blue-tint: #3a1e0d; --teal-tint: #3a1019; --teal-ink: #ff8da6; --teal-ink-dark: #ff8da6; --glow-a: rgba(255,154,92,.22); --glow-b: rgba(255,100,130,.16); --teal: #ff8da6; }
  :root[data-palette="sunset"]:not([data-theme="light"]) .btn:not(.btn--secondary):not(.btn--light):not(.btn--ghost-light) { background-color: #c2410c; background-image: linear-gradient(135deg, #c2410c 0%, #be123c 100%); border-color: transparent; }
  :root[data-palette="sunset"]:not([data-theme="light"]) .btn:not(.btn--secondary):not(.btn--light):not(.btn--ghost-light):hover { filter: brightness(.9); } }
[data-palette="graphite"] { --blue: #334e68; --blue-dark: #243b53; --blue-tint: #e6ecf2; --teal: #d99a00; --teal-bright: #d99a00; --teal-tint: #fdf1d3; --teal-ink: #8a5a00; --mist: #f6f7f9; --mist-2: #eceff3; --grad: linear-gradient(135deg, #243b53 0%, #486581 100%); --grad-hover: linear-gradient(135deg, #1b2d40 0%, #3a5168 100%); --glow-a: rgba(51,78,104,.22); --glow-b: rgba(217,154,0,.16); }
:root[data-palette="graphite"][data-theme="dark"] { --blue: #8fb4d9; --blue-dark: #6f9bc7; --blue-tint: #18242f; --teal-tint: #332708; --teal-ink: #f3c35a; --teal-ink-dark: #f3c35a; --glow-a: rgba(143,180,217,.2); --glow-b: rgba(243,195,90,.14); --teal: #f3c35a; }
:root[data-palette="graphite"][data-theme="dark"] .btn:not(.btn--secondary):not(.btn--light):not(.btn--ghost-light) { background-color: #334e68; background-image: linear-gradient(135deg, #334e68 0%, #486581 100%); border-color: transparent; }
:root[data-palette="graphite"][data-theme="dark"] .btn:not(.btn--secondary):not(.btn--light):not(.btn--ghost-light):hover { filter: brightness(.9); }
@media (prefers-color-scheme: dark) { :root[data-palette="graphite"]:not([data-theme="light"]) { --blue: #8fb4d9; --blue-dark: #6f9bc7; --blue-tint: #18242f; --teal-tint: #332708; --teal-ink: #f3c35a; --teal-ink-dark: #f3c35a; --glow-a: rgba(143,180,217,.2); --glow-b: rgba(243,195,90,.14); --teal: #f3c35a; }
  :root[data-palette="graphite"]:not([data-theme="light"]) .btn:not(.btn--secondary):not(.btn--light):not(.btn--ghost-light) { background-color: #334e68; background-image: linear-gradient(135deg, #334e68 0%, #486581 100%); border-color: transparent; }
  :root[data-palette="graphite"]:not([data-theme="light"]) .btn:not(.btn--secondary):not(.btn--light):not(.btn--ghost-light):hover { filter: brightness(.9); } }
[data-palette="lagoon"] { --blue: #0e7490; --blue-dark: #155e75; --blue-tint: #e0f4f9; --teal: #0d9488; --teal-bright: #0d9488; --teal-tint: #dcf7f3; --teal-ink: #0f766e; --mist: #f3f9fb; --mist-2: #e4f1f5; --grad: linear-gradient(135deg, #0e7490 0%, #0f766e 100%); --grad-hover: linear-gradient(135deg, #0b5c73 0%, #0b5f58 100%); --glow-a: rgba(14,116,144,.24); --glow-b: rgba(13,148,136,.2); }
:root[data-palette="lagoon"][data-theme="dark"] { --blue: #4cc9e8; --blue-dark: #22b0d4; --blue-tint: #0c2d38; --teal-tint: #0c2f2b; --teal-ink: #5fe0cc; --teal-ink-dark: #5fe0cc; --glow-a: rgba(76,201,232,.2); --glow-b: rgba(0,200,170,.16); --teal: #5fe0cc; }
:root[data-palette="lagoon"][data-theme="dark"] .btn:not(.btn--secondary):not(.btn--light):not(.btn--ghost-light) { background-color: #0e7490; background-image: linear-gradient(135deg, #0e7490 0%, #0f766e 100%); border-color: transparent; }
:root[data-palette="lagoon"][data-theme="dark"] .btn:not(.btn--secondary):not(.btn--light):not(.btn--ghost-light):hover { filter: brightness(.9); }
@media (prefers-color-scheme: dark) { :root[data-palette="lagoon"]:not([data-theme="light"]) { --blue: #4cc9e8; --blue-dark: #22b0d4; --blue-tint: #0c2d38; --teal-tint: #0c2f2b; --teal-ink: #5fe0cc; --teal-ink-dark: #5fe0cc; --glow-a: rgba(76,201,232,.2); --glow-b: rgba(0,200,170,.16); --teal: #5fe0cc; }
  :root[data-palette="lagoon"]:not([data-theme="light"]) .btn:not(.btn--secondary):not(.btn--light):not(.btn--ghost-light) { background-color: #0e7490; background-image: linear-gradient(135deg, #0e7490 0%, #0f766e 100%); border-color: transparent; }
  :root[data-palette="lagoon"]:not([data-theme="light"]) .btn:not(.btn--secondary):not(.btn--light):not(.btn--ghost-light):hover { filter: brightness(.9); } }
