/* nettora.net. One stylesheet for every page; the CSP allows no inline style. */
:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --surface: #f5f7fa;
  --raised: #ffffff;
  --ink: #0e1726;
  --muted: #536072;
  --line: #e1e6ee;
  --accent: #1257d6;
  --accent-hover: #0d47b3;
  --accent-soft: #e8f0fd;
  --on-accent: #ffffff;
  --gain: #0d7a3e;
  --loss: #c02626;
  --loss-soft: #fdf1f1;
  --radius: 0.75rem;
  --shadow: 0 1px 2px rgb(14 23 38 / 6%), 0 8px 24px rgb(14 23 38 / 8%);
  --wrap: 70rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1118;
    --surface: #131a24;
    --raised: #18202c;
    --ink: #e7ecf3;
    --muted: #9aa5b5;
    --line: #263142;
    --accent: #5b9bff;
    --accent-hover: #80b2ff;
    --accent-soft: #16243a;
    --on-accent: #07101d;
    --gain: #45d08a;
    --loss: #ff7272;
    --loss-soft: #2a1719;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 8px 24px rgb(0 0 0 / 35%);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 1.0625rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: 0.15em; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 0.25rem; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 0.75rem; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.25rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }
code {
  font: 0.9em/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.3rem;
  padding: 0.05em 0.3em;
  overflow-wrap: anywhere;
}
pre {
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  overflow-x: auto;
}
/* Long URLs wrap anywhere: they are read, not copied as layout. */
pre code { background: none; border: 0; padding: 0; white-space: pre-wrap; overflow-wrap: anywhere; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 44rem; }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; z-index: 10; background: var(--raised); padding: 0.5rem 1rem; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 4rem; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--ink); font-weight: 750; font-size: 1.15rem; text-decoration: none; letter-spacing: -0.01em; }
.logo:hover { color: var(--ink); }
.logo svg { width: 1.75rem; height: 1.75rem; }
.logo .mark-bg { fill: var(--accent); }
.logo .mark-fg { fill: var(--on-accent); }
.nav { display: flex; align-items: center; gap: 1.25rem; margin-left: auto; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 550; font-size: 0.975rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav .button { color: var(--on-accent); }
@media (max-width: 40rem) {
  .nav .optional { display: none; }
  .site-header .wrap { gap: 0.75rem; }
}

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.8rem 1.35rem; border-radius: 0.55rem; border: 1px solid transparent;
  background: var(--accent); color: var(--on-accent); font: inherit; font-weight: 650;
  text-decoration: none; cursor: pointer; line-height: 1.2;
}
.button:hover { background: var(--accent-hover); color: var(--on-accent); }
.button.small { padding: 0.5rem 0.9rem; font-size: 0.925rem; }
.button.secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.button.secondary:hover { background: var(--surface); color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.75rem 0 1rem; }

.lead { font-size: clamp(1.1rem, 2vw, 1.25rem); color: var(--muted); max-width: 36rem; }
.fine { font-size: 0.9rem; color: var(--muted); }

/* Homepage */
.home {
  --bg: #faf9f5;
  --surface: #efeee6;
  --raised: #fffefb;
  --ink: #152924;
  --muted: #4f5f58;
  --line: #cbd1c8;
  --accent: #1c4fd8;
  --accent-hover: #163faa;
  --accent-soft: #e5ecfb;
  --on-accent: #fff;
  --wrap: 77rem;
  --radius: 0.4rem;
  --mono: ui-monospace, "Liberation Mono", Consolas, monospace;
  --report-bg: #132d2a;
  --report-line: #38534d;
  --report-muted: #b8cbc0;
  --profit: #9be9bd;
  --deficit: #ffab90;
  font-family: "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  .home {
    --bg: #101b18;
    --surface: #17251f;
    --raised: #1c2d26;
    --ink: #f0f3e9;
    --muted: #b6c5b9;
    --line: #394a41;
    --accent: #9cbaff;
    --accent-hover: #bad0ff;
    --accent-soft: #24374f;
    --on-accent: #101b28;
  }
}
.home .wrap { padding-inline: clamp(1.15rem, 3.4vw, 2.6rem); }
.home .site-header .wrap { min-height: 4.5rem; }
.home .logo { font-weight: 750; letter-spacing: -0.045em; font-size: 1.4rem; }
.home .button { border-radius: 0.35rem; }
.home h1, .home h2 { letter-spacing: -0.055em; }
.home h2 { font-size: clamp(2.15rem, 4vw, 3.45rem); line-height: 1.04; text-wrap: balance; }
.home :is(summary, a, button, input, select):focus-visible { outline-offset: 3px; }
.home .category, .report-meta, .test-trace figcaption {
  font: 600 0.75rem/1.4 var(--mono); letter-spacing: 0.055em; text-transform: uppercase;
}
.category { margin: 0 0 1.1rem; color: var(--muted); }
.text-link { font-weight: 650; color: var(--ink); text-decoration-color: var(--line); text-underline-offset: 0.28em; }
.text-link span { display: inline-block; margin-left: 0.22em; color: var(--accent); }
.hero {
  padding-block: clamp(2.35rem, 5.8vw, 5.6rem);
  background: var(--surface); border-bottom: 1px solid var(--line);
}
.hero-layout { display: grid; gap: 1rem; }
.hero-intro { grid-area: intro; }
.hero h1 { font-size: clamp(2.6rem, 5.5vw, 4.9rem); line-height: 0.99; margin-bottom: 1.2rem; }
.hero h1 em {
  display: block; font: italic 1.06em/0.99 Georgia, "Times New Roman", serif;
  letter-spacing: -0.065em;
}
.hero .lead { max-width: 33rem; margin: 0; line-height: 1.45; }
.hero-offer { grid-area: offer; }
.offer-price { margin: 0 0 0.75rem; }
.offer-actions { display: flex; align-items: center; gap: 0.7rem 1.4rem; flex-wrap: wrap; }
.offer-note { margin: 0.6rem 0 0; font-size: 0.9rem; color: var(--muted); }

.campaign-report { grid-area: report; }
.report-summary, .placement-chart {
  padding-inline: clamp(1.1rem, 2.5vw, 2rem); background: var(--report-bg); color: #eef4ea;
}
.report-summary { grid-area: summary; padding-top: 1.3rem; border-radius: 0.5rem 0.5rem 0 0; }
.report-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 0.6rem; flex-wrap: wrap; color: var(--report-muted); }
.report-meta span:last-child { font-weight: 400; text-transform: none; letter-spacing: 0; }
.profit-totals {
  display: grid; grid-template-columns: 1fr 1.25fr; gap: 0.75rem;
  padding-block: 1.6rem; margin: 1rem 0 0; border-top: 1px solid var(--report-line);
}
.profit-totals dt { font-size: 0.875rem; line-height: 1.2; color: var(--report-muted); }
.profit-totals dd { margin: 0.4rem 0 0; font: 500 clamp(1.75rem, 3.1vw, 2.9rem)/1.1 var(--mono); letter-spacing: -0.075em; }
.campaign-report .positive { color: var(--profit); }
.campaign-report .negative { color: var(--deficit); }
.placement-chart { grid-area: chart; margin: 0; padding-bottom: 0.55rem; border-radius: 0 0 0.5rem 0.5rem; }
.placement-chart figcaption { padding: 1rem 0 0.5rem; border-top: 1px solid var(--report-line); font-weight: 650; }
.plot { padding: 0; margin: 0 0 0.65rem; list-style: none; font: 0.875rem/1.2 var(--mono); }
.plot li { display: grid; align-items: center; grid-template-columns: 5ch 1fr 7ch; gap: clamp(0.6rem, 2vw, 1.4rem); }
.plot strong { text-align: right; font-weight: 600; }
.plot-track {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; height: 2.35rem;
  border-bottom: 1px solid var(--report-line);
  background: linear-gradient(to right, transparent calc(50% - 0.5px), #9aada2 0, #9aada2 calc(50% + 0.5px), transparent 0);
}
.plot progress {
  appearance: none; display: block; grid-column: 2; width: 100%; height: 0.74rem;
  border: 0; background: transparent; color: var(--profit);
}
.plot progress.negative { grid-column: 1; transform: scaleX(-1); }
.plot progress::-webkit-progress-bar { background: transparent; }
.plot progress::-webkit-progress-value { background: currentColor; }
.plot progress::-moz-progress-bar { background: currentColor; }
.report-data { border-top: 1px solid var(--report-line); }
.report-data summary { width: fit-content; font-size: 0.875rem; color: var(--report-muted); cursor: pointer; padding: 0.65rem 0; }
.report-data summary:focus-visible { outline-color: var(--profit); }
.report-data table, .plan-list { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.report-data table { margin-bottom: 1rem; font-size: 0.85rem; }
.report-data :is(th, td) { text-align: right; padding-block: 0.3rem; }
.report-data th:first-child { text-align: left; }
.report-data tfoot { border-top: 1px solid var(--report-line); }

@media (min-width: 55rem) {
  .hero-layout {
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1fr);
    grid-template-areas: "intro report" "offer report";
    column-gap: clamp(2rem, 4.3vw, 4.4rem); row-gap: 1.65rem;
  }
  .hero-intro { align-self: end; container-type: inline-size; }
  .hero h1 { font-size: clamp(2.4rem, 12cqi, 4.4rem); }
  .hero-offer { align-self: start; }
  .campaign-report { align-self: center; }
}
@media (max-width: 54.999rem) {
  .hero-layout { grid-template-areas: "intro" "summary" "offer" "chart"; max-width: 44rem; }
  .campaign-report { display: contents; }
  .report-summary, .placement-chart { border-radius: var(--radius); }
  .profit-totals { margin-top: 0.65rem; padding-block: 1rem; }
  .placement-chart figcaption { border: 0; }
  .hero .category { margin-bottom: 0.7rem; }
  .hero h1 { margin-bottom: 0.8rem; }
  .hero-offer { margin-block: 0.15rem; }
}
@media (max-width: 37.5rem) {
  .home .site-header .wrap { min-height: 3.75rem; }
  .home .nav { gap: 0.65rem; }
  .home .logo { font-size: 1.15rem; }
  .hero { padding-top: 1.75rem; }
  .hero .lead { font-size: 1.02rem; }
  .report-meta { font-size: 0.66rem; }
  .profit-totals dt { font-size: 0.8rem; }
  .report-data .volume { display: none; }
}

/* Product walkthrough and supporting sections */
.band { padding-block: clamp(2.85rem, 6vw, 5rem); }
.home-split, .sale-heading { display: grid; gap: 1.4rem; align-items: start; }
.home-split > div > p:not(.category), .sale-heading > p { max-width: 36rem; color: var(--muted); }
.sale-heading > p { margin: 0; }
.sale-heading h2 { max-width: 13em; }
.test-trace {
  margin: 1.65rem 0 1.1rem; padding: 1.2rem clamp(1.1rem, 2.8vw, 2.2rem) 1.55rem;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--raised);
}
.test-trace figcaption { display: flex; gap: 1rem; justify-content: space-between; padding-bottom: 1rem; color: var(--muted); }
.test-trace ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; padding: 0; margin: 0; }
.test-trace li { position: relative; padding: 2.35rem 1rem 0 0; }
.test-trace li:not(:last-child)::before { content: ""; position: absolute; left: 0.5rem; right: -0.5rem; top: 1rem; border-top: 1px solid var(--muted); }
.trace-node {
  position: absolute; top: 0.5rem; left: 0; width: 1rem; height: 1rem; border: 3px solid var(--raised);
  border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 1px var(--muted);
}
.test-trace h3 { margin-bottom: 0.55rem; font-size: 1.25rem; }
.test-trace strong { color: var(--gain); font: 600 0.85rem/1.4 var(--mono); }
.test-trace p { margin: 0.45rem 0 0; max-width: 28ch; font-size: 0.95rem; color: var(--muted); }
.budget-section { background: var(--surface); border-block: 1px solid var(--line); }
.plan-list { font-size: 0.98rem; }
.plan-list caption { text-align: left; font-size: 1.2rem; font-weight: 700; margin-bottom: 0.6rem; }
.plan-list :is(th, td) { text-align: right; padding: 0.65rem 0.4rem; border-bottom: 1px solid var(--line); }
.plan-list th:first-child { text-align: left; padding-left: 0; }
.plan-list :is(th, td):last-child { padding-right: 0; }
.plan-list thead { font: 0.75rem/1.3 var(--mono); color: var(--muted); }
.plan-list td:last-child { font-weight: 700; }
.plan-list tbody tr:first-child { color: var(--accent); }
.stage-section { border-bottom: 1px solid var(--line); }
.stage-list ul { padding-left: 1.25rem; margin: 0 0 1.3rem; color: var(--muted); }
.stage-list li + li { margin-top: 0.4rem; }
.join-section { border-block: 1px solid var(--line); background: var(--surface); }
@media (min-width: 48rem) {
  .home-split, .sale-heading { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 4.5rem; }
  .sale-heading { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: end; }
  .sale-heading > p { margin: 0 0 0.75rem; }
}
@media (max-width: 40rem) {
  .test-trace ol { grid-template-columns: 1fr; }
  .test-trace li { padding: 0 0 1.35rem 1.85rem; }
  .test-trace li:last-child { padding-bottom: 0; }
  .test-trace li:not(:last-child)::before { top: 0.8rem; bottom: -0.5rem; right: auto; border-top: 0; border-left: 1px solid var(--muted); }
  .test-trace h3 { margin-bottom: 0.15rem; }
  .test-trace p { max-width: none; }
}

.more { margin-top: 1.75rem; font-weight: 600; }

/* The long walkthrough on /how */
.walk { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.walk > li { counter-increment: step; position: relative; padding: 0 0 2.25rem 3.5rem; }
.walk > li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%;
  background: var(--accent); color: var(--on-accent); font-weight: 700;
}
.walk > li::after { content: ""; position: absolute; left: 1.08rem; top: 2.6rem; bottom: 0.4rem; width: 2px; background: var(--line); }
.walk > li:last-child::after { display: none; }
.page .walk h2 { font-size: 1.3rem; margin: 0.2rem 0 0.5rem; }
.walk p { color: var(--muted); }

.split { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); margin: 1rem 0 2.5rem; }
.box { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.35rem 1.5rem; background: var(--raised); }
.box h3 { margin-bottom: 0.6rem; }
.box ul { margin: 0; padding-left: 1.2rem; color: var(--muted); }
.box li { margin: 0.3rem 0; }

/* Pricing */
.notice {
  border: 1px solid var(--line); border-left: 4px solid var(--accent); background: var(--accent-soft);
  border-radius: 0.5rem; padding: 0.9rem 1.1rem; margin: 0 0 2.25rem; max-width: 46rem;
}
.notice p { margin: 0; }
.tiers { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(14.5rem, 1fr)); }
.tier { position: relative; background: var(--raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.5rem; }
.tier.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset, var(--shadow); }
.tier .badge {
  position: absolute; top: -0.75rem; left: 1.5rem; padding: 0.15rem 0.65rem; border-radius: 999px;
  background: var(--accent); color: var(--on-accent); font-size: 0.78rem; font-weight: 700;
}
.tier h3 { margin-bottom: 0.25rem; }
.tier .for { color: var(--muted); font-size: 0.925rem; min-height: 3.2em; margin-bottom: 0.75rem; }
.price { font-size: 2.25rem; font-weight: 750; letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.price small { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.annual { color: var(--muted); font-size: 0.875rem; margin: 0.35rem 0 1.1rem; min-height: 1.4em; }
.tiers .tier ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.tier li { padding: 0.55rem 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.tier li:last-child { border-bottom: 0; }
.tier li.later { color: var(--muted); font-size: 0.875rem; }

.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--raised); }
table.compare { width: 100%; border-collapse: collapse; font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.compare th, .compare td { padding: 0.75rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); background: var(--surface); white-space: nowrap; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody th { font-weight: 650; white-space: nowrap; }
.compare tr.ours th, .compare tr.ours td { background: var(--accent-soft); }
.compare tr.ours th { color: var(--accent); }
.source { font-size: 0.875rem; color: var(--muted); margin-top: 0.9rem; max-width: 52rem; }

.rules { display: grid; gap: 1.25rem 2rem; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); }
.rules h3 { margin-bottom: 0.35rem; }
.rules p { color: var(--muted); margin: 0; }

/* FAQ */
.faq { max-width: 48rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1.1rem 2rem 1.1rem 0; font-weight: 650; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.25rem; top: 0.95rem; font-size: 1.35rem; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin: 0 0 1.1rem; }

/* The waitlist */
.join { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 56rem) { .join { grid-template-columns: 1fr 1.1fr; } }
.join .points { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.join .points li { padding: 0.25rem 0 0.25rem 1.9rem; position: relative; margin: 0.35rem 0; color: var(--muted); }
.join .points li::before {
  content: ""; position: absolute; left: 0.3rem; top: 0.5rem; width: 0.4rem; height: 0.75rem;
  border: solid var(--gain); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}
.waitlist { background: var(--raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; margin-bottom: 0.35rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select {
  width: 100%; padding: 0.7rem 0.8rem; font: inherit; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 0.5rem;
}
.field input:focus, .field select:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.waitlist .button { width: 100%; margin-top: 0.4rem; }
.waitlist .fine { margin: 0.9rem 0 0; }
/* Off screen and out of the tab order: only a bot fills it in. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Plain pages: thanks, sorry, privacy, 404 */
.page { padding: clamp(2.5rem, 7vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem); }
.page h2 { font-size: 1.5rem; margin: 3rem 0 1rem; }
.page ul { padding-left: 1.25rem; }
.page li { margin: 0.4rem 0; }
/* Guides and comparisons: subheadings and plain numbered lists directly in the column. */
.page .wrap > h3 { margin: 2rem 0 0.5rem; }
.page .wrap > ol:not([class]) { padding-left: 1.25rem; }
.page .lead { margin-bottom: 1.5rem; }

/* /sorry: the form's redirect names the reason as a fragment, shown with :target and no script. */
.why { display: none; }
.why:target { display: block; }
.page:has(.why:target) .why-any { display: none; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 2.5rem 0 3rem; color: var(--muted); font-size: 0.925rem; }
.site-footer .wrap { display: grid; gap: 1.5rem; }
@media (min-width: 48rem) { .site-footer .wrap { grid-template-columns: 1fr auto; } }
.site-footer nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); }
.site-footer p { margin: 0.25rem 0; }
.demo-note { margin-top: 0.75rem; padding: 0.75rem 1rem; border: 1px dashed var(--line); border-radius: 0.5rem; }
.nowrap { white-space: nowrap; }
