:root {
  --paper: #FBFAF7;
  --paper-2: #F2F0E8;
  --ink: #17201D;
  --teal: #0B4F45;
  --teal-deep: #073A33;
  --amber: #B0691F;
  --muted: #667771;
  --muted-aaa: #3E4D47;
  --muted-nav: #4A5A54;
  --line: #E4E0D6;
  --line-strong: #D2CDBF;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --fs-display: clamp(2.3rem, 5.2vw, 3.5rem);
  --fs-h2: clamp(1.5rem, 3vw, 2.05rem);
  --fs-h3: 1.12rem;
  --fs-body: 1.0625rem;
  --fs-small: 0.9rem;
  --fs-eyebrow: 0.76rem;

  --col: 40rem;
  --wide: 62rem;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 1.5rem; }
.col { max-width: var(--col); }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; text-wrap: balance; margin: 0; }
h1 { font-size: var(--fs-display); letter-spacing: -0.01em; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.005em; }
h3 { font-size: var(--fs-h3); font-family: var(--sans); font-weight: 650; }
p { margin: 0; }

.eyebrow {
  font-family: var(--mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0;
}

a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 2px; }

/* Nav */
nav {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 0.9rem 1.5rem; max-width: var(--wide); margin: 0 auto; gap: 1rem; }
.brand { font-family: var(--serif); font-weight: 600; font-size: 1.28rem; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; display: inline-flex; align-items: baseline; gap: 0.1rem; }
.brand .dot { color: var(--teal); }
.nav-links { display: flex; gap: 1.6rem; align-items: center; font-size: var(--fs-small); }
.nav-links a { color: var(--muted-nav); text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { background: var(--teal); color: #fff !important; padding: 0.5rem 0.95rem; border-radius: 3px; font-weight: 600; }
.nav-cta:hover { background: var(--teal-deep); }
@media (max-width: 620px) { .nav-links a:not(.nav-cta) { display: none; } }

/* Sections */
section { padding: 5.5rem 0; }
.band { background: var(--paper-2); border-block: 1px solid var(--line); }
.band-ink { background: var(--teal-deep); color: #EAF2EF; border: none; }
.band-ink .eyebrow { color: #7FC9B8; }
.band-ink h2 { color: #fff; }

/* Hero */
.hero { padding: 4.5rem 0 4rem; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
.hero h1 { margin: 1.1rem 0 1.2rem; }
/* The homepage h1 is the one deliberately oversized element on the page
   (design-v2 2.1): every other .hero page (free-scan, remove/*, compare,
   for-educators) keeps --fs-display via the rule above. This is scoped to
   .hero-home, not .hero, so it never leaks onto those other pages. */
.hero-home h1 { margin: 0 0 1.2rem; font-size: clamp(2.5rem, 6vw, 4.875rem); line-height: 1.04; letter-spacing: -0.015em; }
.lede { font-size: 1.19rem; color: #2C3733; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; align-items: center; }
.btn { display: inline-block; font-weight: 600; padding: 0.8rem 1.35rem; border-radius: 3px; text-decoration: none; font-size: var(--fs-small); border: 1px solid transparent; transition: background .15s, border-color .15s; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-deep); }
.btn-ghost { color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.reassure { font-family: var(--mono); font-size: 0.8rem; color: var(--muted); margin-top: 1.1rem; letter-spacing: 0.02em; }

/* Hero graphic: one bare oversized illustration, no card box, no border, no tag.
   Design-v2 2.3: the two hero listing cards collapsed into this single element. */
.hero-graphic { display: flex; flex-direction: column; gap: 1.1rem; }
.hero-graphic-url { font-family: var(--mono); font-size: 0.8rem; color: var(--muted); letter-spacing: 0.02em; margin: 0; overflow-wrap: anywhere; }
.hero-graphic-title {
  font-weight: 700; font-size: clamp(1.1rem, 4vw, 1.7rem); line-height: 1.25; margin: 0;
  color: #223029; position: relative; display: inline-block;
  animation: titleDim 0.5s ease 1.3s forwards;
}
.hero-graphic-strike {
  position: absolute; left: 0; right: 0; top: 52%; height: 3px; background: var(--amber);
  transform-origin: left; transform: scaleX(0);
  animation: strikeGrow2 0.6s ease 1.1s forwards;
}
.hero-graphic-stamp {
  display: inline-block; align-self: flex-start; background: var(--teal); color: #fff;
  font-family: var(--mono); font-size: 1rem; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 0.55rem 1.1rem; border-radius: 3px;
  opacity: 0; transform: rotate(-2deg);
  animation: stampIn 0.4s ease 1.9s forwards;
}
.hero-graphic-caption { font-family: var(--mono); font-size: 0.78rem; color: var(--muted); margin: 0; }

@keyframes strikeGrow2 { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes titleDim { from { color: #223029; } to { color: var(--muted); } }
@keyframes stampIn { from { opacity: 0; transform: rotate(-2deg) translateY(6px); } to { opacity: 1; transform: rotate(-2deg) translateY(0); } }

/* Prose blocks */
.stack > * + * { margin-top: 1.1rem; }
.section-head { margin-bottom: 2.8rem; }
.section-head .eyebrow { margin-bottom: 0.7rem; }
.muted { color: var(--muted); }
/* AAA-contrast secondary text for copy that sits directly on the beige .band
   background (#F2F0E8): .muted's #667771 measures ~4.2:1 there, this measures
   ~7.7:1. .muted itself is untouched (other pages/paper backgrounds rely on it). */
.muted-band { color: var(--muted-aaa); }

/* Steps: a divided row, not cards (design-v2 4.1). Big serif numerals, a single
   shared 1px divider between columns, no per-step box/border/shadow. */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 0; } }
.step { padding: 0 2rem; border-left: 1px solid var(--line); }
.step:first-child { padding-left: 0; border-left: none; }
.step:last-child { padding-right: 0; }
.step-num { font-family: var(--serif); font-size: 3.5rem; font-weight: 600; color: var(--teal); line-height: 1; }
.step h3 { margin: 0.9rem 0 0.5rem; }
.step p { font-size: 0.98rem; color: #3A453F; margin: 0; }
@media (max-width: 860px) {
  .step { padding: 2rem 0; border-left: none; border-top: 1px solid var(--line); }
  .step:first-child { padding-top: 0; border-top: none; }
  .step:last-child { padding-bottom: 0; }
}

/* Pricing: the sweep is ONE filled dark-teal card, fill only (no border, no
   shadow: design-v2 4.1 fill-or-outline, pick one). Monitoring is a quiet
   divided-rows column beside it, not a matching card: this is what removes
   the empty-interior / forced-equal-height problem the old 3-card grid had. */
.price-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: start; margin: 2rem 0 0; }
@media (max-width: 860px) { .price-grid { grid-template-columns: 1fr; gap: 2.5rem; } .price-card { padding: 1.9rem 1.5rem 1.75rem; } }
.price-card { background: var(--teal-deep); color: #EAF2EF; border-radius: 6px; padding: 2.25rem 2.25rem 2rem; }
.price-figure { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.6rem; margin: 0.6rem 0 0; }
.price-figure .amt { font-family: var(--serif); font-size: 4rem; font-weight: 600; color: #fff; line-height: 1; }
.price-figure .per { color: #A9C6BE; font-size: 0.9rem; }
.price-sub { color: #7FC9B8; font-weight: 600; font-size: 0.95rem; margin: 0; }
/* .price-list and .mk are shared with free-scan.html's (light-background) upsell
   list, so the dark-card colors below are scoped to .price-card, not global. */
.price-card .price-list { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 0.7rem; }
.price-card .price-list li { display: flex; gap: 0.65rem; font-size: 0.98rem; color: #EAF2EF; align-items: flex-start; }
.price-card .price-list .mk { color: #7FC9B8; font-weight: 700; flex: none; }
.price-note { font-size: 0.85rem; color: #A9C6BE; margin: 1.4rem 0 0; border-top: 1px solid rgba(127,201,184,0.25); padding-top: 1rem; }

/* Monitoring: quiet horizontally-divided rows, not cards. */
.monitoring-head { font-weight: 650; font-size: 0.95rem; margin: 0 0 0.4rem; color: var(--ink); }
.monitoring-row { padding: 1.25rem 0; border-bottom: 1px solid var(--line-strong); }
.monitoring-row-top { display: flex; align-items: baseline; justify-content: space-between; gap: 0.8rem; }
.monitoring-name { font-weight: 650; }
.monitoring-price .amt { font-family: var(--serif); font-size: 1.75rem; font-weight: 600; color: var(--ink); }
.monitoring-price .per { color: var(--muted-aaa); font-size: 0.875rem; }
.monitoring-desc { font-size: 0.94rem; color: var(--muted-aaa); margin: 0.5rem 0 0; }
.founding-rate { font-size: 0.95rem; margin: 1.4rem 0 0; text-align: left; color: var(--ink); }
.currency-note { font-size: 0.85rem; margin: 0.5rem 0 0; text-align: left; color: var(--muted-aaa); }

/* Credibility */
.assure-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 2.4rem; margin-top: 0.5rem; }
@media (max-width: 720px) { .assure-grid { grid-template-columns: 1fr; } }
.assure h3 { color: #fff; margin-bottom: 0.35rem; }
.assure p { color: #C7DAD4; font-size: 0.98rem; }

/* FAQ */
.faq { max-width: var(--col); }
details { border-bottom: 1px solid var(--line); padding: 1.15rem 0; }
details summary { cursor: pointer; font-weight: 650; font-size: 1.04rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; font-family: var(--mono); color: var(--teal); font-size: 1.3rem; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: #3A453F; font-size: 0.99rem; margin-top: 0.8rem; }

/* Founder / contact */
.founder { display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: start; }
@media (max-width: 620px) { .founder { grid-template-columns: 1fr; } }
.avatar { width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(145deg, var(--teal), var(--teal-deep)); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-size: 1.5rem; font-weight: 600; }
.contact-mail { font-family: var(--mono); font-size: 1.05rem; }

footer { border-top: 1px solid var(--line); padding: 2.5rem 0; color: var(--muted-nav); font-size: var(--fs-small); }
.foot-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.foot-inner a { color: inherit; }
.foot-legal { flex-basis: 100%; opacity: 0.7; font-size: 0.85em; }

/* Comparison table */
.comparison-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.comparison-table thead { background: var(--paper-2); border-bottom: 2px solid var(--line-strong); }
.comparison-table th { text-align: left; padding: 1rem; font-family: var(--mono); font-size: 0.8rem; color: var(--teal); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.comparison-table td { padding: 1rem; border-bottom: 1px solid var(--line); color: #313C37; }
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table strong { color: var(--ink); font-weight: 600; }

/* Scanner (free-scan funnel) */
.scan-card { background: #fff; border: 1px solid var(--line-strong); border-radius: 6px; padding: 2.2rem 2rem; box-shadow: 0 20px 50px -34px rgba(11,79,69,0.45); max-width: 44rem; }
.scan-field { display: block; margin-top: 1.2rem; }
.scan-field span { display: block; font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.45rem; }
.scan-input { width: 100%; font: inherit; padding: 0.75rem 0.9rem; border: 1px solid var(--line-strong); border-radius: 3px; background: var(--paper); color: var(--ink); }
.scan-input:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.scan-submit { font: inherit; font-weight: 600; font-size: var(--fs-small); cursor: pointer; border: 1px solid transparent; }
.scan-progress { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 0.45rem; font-family: var(--mono); font-size: 0.85rem; }
.scan-progress li { display: flex; gap: 0.7rem; align-items: baseline; color: var(--muted); }
.scan-progress li .st { flex: none; width: 1.2rem; text-align: center; }
.scan-progress li.checking { color: var(--ink); }
.scan-progress li.checking .st { color: var(--teal); }
.scan-progress li.clean .st { color: var(--teal); }
.scan-progress li.hit { color: var(--amber); font-weight: 600; }
.scan-progress li.skip { opacity: 0.55; }
.sell-frame { margin-top: 1.6rem; border-left: 3px solid var(--teal); background: var(--paper-2); border-radius: 0 4px 4px 0; padding: 1.1rem 1.3rem; font-size: 0.97rem; color: #313C37; min-height: 5.4rem; }
.sell-frame .eyebrow { margin-bottom: 0.4rem; }
.scan-results { margin-top: 1.4rem; display: grid; gap: 1.1rem; }
.match-venue { border: 1px solid var(--line); border-radius: 5px; padding: 1rem 1.2rem; }
.match-venue .mv-name { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.04em; color: var(--amber); font-weight: 600; }
.match-venue ul { list-style: none; margin: 0.55rem 0 0; padding: 0; display: grid; gap: 0.4rem; }
.match-venue li { font-size: 0.97rem; color: #313C37; }
.capture-box { margin-top: 1.8rem; background: var(--paper-2); border: 1px solid var(--line); border-radius: 5px; padding: 1.4rem 1.5rem; }
.capture-box h3 { margin-bottom: 0.4rem; }
.capture-row { display: flex; gap: 0.7rem; margin-top: 0.9rem; flex-wrap: wrap; }
.capture-row .scan-input { flex: 1 1 14rem; }
.scan-note { font-family: var(--mono); font-size: 0.78rem; color: var(--muted); margin-top: 0.7rem; }
.scan-error { color: var(--amber); font-weight: 600; margin-top: 1rem; }
.scan-hidden { display: none; }

@media (prefers-reduced-motion: reduce) {
  .hero-graphic-title { animation: none; color: var(--muted); }
  .hero-graphic-strike { animation: none; transform: scaleX(1); }
  .hero-graphic-stamp { animation: none; opacity: 1; transform: rotate(-2deg); }
}

/* Customer quote, added 2026-08-23. Illia Loginov cleared this for publication with his
   name and a link on 2026-08-06; it then sat unpublished for 17 days because a rule about
   customer-facing publication was applied to clearance that already existed. */
#proof { padding: 3.5rem 0; }
.quote { margin: 0 auto; max-width: 46rem; text-align: center; }
.quote p { font-size: 1.15rem; line-height: 1.6; }
.quote footer { margin-top: 1rem; opacity: .75; font-size: .95rem; }
