/* aivisibilitytools.ca: "report", a printed research report.
   Warm white paper, ink, one magenta. Fraunces for headings and numerals,
   Space Grotesk for reading. Written by hand for this site only. */

:root {
  --paper: #FAF6EF;
  --paper-2: #F1EADF;
  --card: #FFFDF9;
  --ink: #1C1A2B;
  --ink-2: #4A475C;
  --ink-3: #625E73;
  --rule: #DCD3C4;
  --track: #ECE4D6;
  --mag: #B5135F;
  --mag-deep: #8C0D49;
  --mag-tint: #F7DDE9;
  --mag-light: #FF8DC0;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.62;
  overflow-wrap: break-word;
}

img, svg { max-width: 100%; height: auto; }

a { color: var(--mag); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--mag-deep); text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--mag); outline-offset: 3px; }

p { margin: 0 0 1em; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.05rem, 6.2vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4.2vw, 2.35rem); }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.35rem); line-height: 1.25; }

strong { font-weight: 700; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; top: 8px; left: 8px; z-index: 50;
  background: var(--ink); color: var(--paper); padding: 10px 14px;
  clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap;
}
.skip:focus { clip-path: none; width: auto; height: auto; color: var(--paper); }

/* ---------- Masthead ---------- */

.mast { background: var(--paper); border-bottom: 3px double var(--ink); }

.mast-top {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: .75rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-2); padding-top: 8px; padding-bottom: 8px;
  border-bottom: 1px solid var(--rule);
}
.mast-top { display: none; }
.mast-top span + span { display: none; }

.mast-main {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px;
  min-height: 66px; padding-top: 8px; padding-bottom: 8px;
}

.brand {
  display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1 1 auto;
  color: var(--ink); text-decoration: none; min-height: 44px;
}
.brand:hover { color: var(--ink); }
.brand svg { flex: 0 0 auto; width: 30px; height: 30px; }
.brand-name {
  font-family: var(--serif); font-weight: 600; font-size: 1.08rem; line-height: 1.1;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.brand-name small { font-family: var(--sans); font-weight: 500; font-size: .78rem; color: var(--mag); }

.site-nav { order: 4; flex-basis: 100%; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: flex; align-items: center; min-height: 48px; padding: 0 4px;
  color: var(--ink); text-decoration: none; font-weight: 500;
  border-top: 1px solid var(--rule);
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--mag); }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.js .site-nav { display: none; }
.js .site-nav.is-open { display: block; }

.btn-nav { order: 2; min-height: 44px; padding: 8px 14px; font-size: .92rem; white-space: nowrap; }
.btn-nav .long { display: none; }
.btn-nav .short { display: inline; }

.menu-btn {
  order: 3; display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; padding: 0; background: transparent; color: var(--ink);
  border: 1.5px solid var(--ink); border-radius: 0; cursor: pointer;
}
.js .menu-btn { display: inline-flex; }
.menu-btn svg { width: 22px; height: 22px; }
.menu-btn .x { display: none; }
.menu-btn[aria-expanded="true"] .bars3 { display: none; }
.menu-btn[aria-expanded="true"] .x { display: block; }

/* Phones: brand, button and menu on one row. The name wraps to two short lines
   rather than being cut off, so the button never drops to a second row. */
@media (max-width: 479px) {
  .mast-main { gap: 8px; }
  .brand { flex: 1 1 0; gap: 8px; }
  .brand svg { width: 26px; height: 26px; }
  .brand-name { font-size: .92rem; line-height: 1.05; white-space: normal; overflow: visible; }
  .btn-nav { padding: 8px 10px; font-size: .86rem; }
  .menu-btn { width: 44px; height: 44px; }
}

@media (min-width: 600px) {
  .mast-top { display: flex; }
  .mast-top span + span { display: inline; }
  .btn-nav .long { display: inline; }
  .btn-nav .short { display: none; }
}

@media (min-width: 960px) {
  .brand { flex: 0 0 auto; }
  .js .site-nav, .site-nav { display: block; order: 2; flex-basis: auto; margin-left: auto; }
  .site-nav ul { display: flex; gap: 4px; }
  .site-nav a { border-top: 0; padding: 0 12px; min-height: 44px; }
  .btn-nav { order: 3; }
  .js .menu-btn, .menu-btn { display: none; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 20px;
  font: 600 1rem/1.2 var(--sans); text-align: center; text-decoration: none;
  border: 2px solid var(--ink); border-radius: 0; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--mag); border-color: var(--mag); color: #fff; }
.btn-primary:hover { background: var(--mag-deep); border-color: var(--mag-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn-light:hover { background: var(--paper); color: var(--ink); }
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 18px; }
.cta-row .btn { flex: 1 1 220px; }
@media (min-width: 600px) { .cta-row .btn { flex: 0 0 auto; } }

/* ---------- Small labels ---------- */

.kicker {
  display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--mag); margin: 0 0 14px;
}
.kicker span { color: var(--ink-3); padding: 0 4px; }

.chip {
  display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-2); border: 1px solid var(--ink-2); padding: 5px 9px; margin: 0 0 14px;
}
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--mag); display: inline-block; }
.chip.ok i { background: #1F7A4D; }

.fig-label {
  font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2);
}

/* ---------- Hero ---------- */

.hero { padding: 26px 0 44px; }
.hero-grid { display: grid; gap: 36px; }
.hero .cta-row { margin: 20px 0 14px; }
.lede { font-size: 1.16rem; line-height: 1.55; max-width: 60ch; }
.hero .for { margin: 0 0 16px; }
.for { color: var(--ink-2); max-width: 60ch; border-left: 3px solid var(--mag); padding-left: 14px; }
.price-line { font-size: .98rem; color: var(--ink-2); margin: 0; }
.price-line strong { color: var(--ink); }
.proof-strip { margin: 0 0 10px; font-size: .98rem; font-weight: 600; }
.proof-strip a {
  display: inline-block; padding: 10px 0 4px; line-height: 1.5;
  color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--mag);
}
.proof-strip a:hover { color: var(--mag); }
.proof-strip strong { color: var(--mag); font-family: var(--serif); font-size: 1.12rem; }

@media (min-width: 960px) {
  .hero { padding: 56px 0 72px; }
  .hero h1 { max-width: 17ch; }
  .hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 56px; align-items: start; }
}

/* ---------- Scorecard (Figure 1) ---------- */

.scorecard {
  margin: 0; background: var(--card);
  border: 1.5px solid var(--ink); border-top: 6px solid var(--mag);
  padding: 18px 18px 16px;
  box-shadow: 6px 6px 0 var(--paper-2);
}
.sc-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; border-bottom: 1px solid var(--rule); padding-bottom: 10px; }
.sc-subject { margin: 12px 0 4px; font-weight: 500; color: var(--ink-2); }
.sc-big { margin: 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-family: var(--serif); font-weight: 600; line-height: .95; }
.sc-big .num { font-size: clamp(4.2rem, 17vw, 6.4rem); color: var(--mag); letter-spacing: -0.03em; }
.sc-big .of { font-size: clamp(1.6rem, 6vw, 2.2rem); color: var(--ink); }
.sc-label { margin: 6px 0 14px; font-weight: 500; }

.bars { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid var(--rule); display: grid; gap: 9px; }
.bars li {
  display: grid; grid-template-columns: minmax(0, 7.6rem) minmax(0, 1fr) 2.8rem;
  align-items: center; gap: 10px; font-size: .88rem; line-height: 1.25;
}
.b-track { height: 12px; background: var(--track); position: relative; }
.b-track i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w, 0%); background: var(--mag); }
.b-val { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.b-zero .b-val { color: var(--ink-3); }

.sc-foot { margin-top: 14px; padding: 12px 14px; background: var(--ink); color: var(--paper); }
.sc-foot p { margin: 0; }
.sc-foot strong { font-family: var(--serif); font-size: 1.5rem; color: var(--mag-light); font-weight: 600; }
.scorecard figcaption { margin-top: 12px; font-size: .86rem; color: var(--ink-2); }

/* ---------- Report sections ---------- */

.sec { padding: 52px 0; border-top: 1px solid var(--rule); }
.sec.alt { background: var(--paper-2); }
.sec-grid { display: grid; gap: 10px; }
.sec-mark { display: flex; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.sec-no { font-family: var(--serif); font-weight: 600; font-size: 2.6rem; line-height: 1; color: var(--mag); font-variant-numeric: lining-nums; }
.sec-name { font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.sec-body { min-width: 0; }
.sec-body > h2 { max-width: 24ch; }
.prose p, .prose li { max-width: 68ch; }

@media (min-width: 960px) {
  .sec { padding: 72px 0; }
  .sec-grid { grid-template-columns: 190px minmax(0, 1fr); gap: 44px; }
  .sec-mark { flex-direction: column; gap: 8px; position: sticky; top: 24px; align-self: start; padding-top: 6px; border-top: 2px solid var(--ink); }
  .sec-no { font-size: 3.4rem; }
}

.pull {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.3rem, 3.4vw, 1.75rem); line-height: 1.3;
  margin: 28px 0; padding: 18px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule);
  max-width: 34ch;
}

.note { background: var(--card); border: 1px solid var(--rule); border-left: 4px solid var(--mag); padding: 14px 16px; margin: 20px 0; }
.note p:last-child { margin-bottom: 0; }

/* ---------- Lists ---------- */

.ticks, .dashes { list-style: none; margin: 0 0 1em; padding: 0; }
.ticks li, .dashes li { position: relative; padding-left: 1.6rem; margin: .55rem 0; }
.ticks li::before { content: ""; position: absolute; left: .1rem; top: .42em; width: .75rem; height: .42rem; border-left: 2.5px solid var(--mag); border-bottom: 2.5px solid var(--mag); transform: rotate(-45deg); }
.dashes li::before { content: ""; position: absolute; left: .1rem; top: .78em; width: .7rem; height: 2px; background: var(--ink-3); }

.numbered { margin: 0 0 1em; padding: 0; list-style: none; counter-reset: n; }
.numbered > li { counter-increment: n; position: relative; padding: 14px 0 14px 3rem; border-top: 1px solid var(--rule); }
.numbered > li::before { content: counter(n); position: absolute; left: 0; top: 10px; font-family: var(--serif); font-weight: 600; font-size: 1.7rem; color: var(--mag); line-height: 1; }
.numbered > li:last-child { border-bottom: 1px solid var(--rule); }
.numbered p { margin: .3em 0 0; color: var(--ink-2); }

/* ---------- Big numbers ---------- */

.stats { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 2px solid var(--ink); margin: 24px 0; }
.stat { padding: 18px 0 20px; border-bottom: 1px solid var(--rule); }
.stat-num { font-family: var(--serif); font-weight: 600; font-size: clamp(2.5rem, 8vw, 3.5rem); line-height: 1; margin: 0 0 8px; letter-spacing: -0.02em; }
.stat-num em { font-style: normal; color: var(--mag); }
.stat-num small { font-size: .45em; letter-spacing: 0; color: var(--ink-2); }
.stat p:last-child { margin-bottom: 0; }

@media (min-width: 680px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(odd) { padding-right: 24px; border-right: 1px solid var(--rule); }
  .stat:nth-child(even) { padding-left: 24px; }
}

/* ---------- Case cards ---------- */

.cases { display: grid; gap: 18px; margin-top: 28px; }
.case { background: var(--card); border: 1.5px solid var(--ink); padding: 22px; display: flex; flex-direction: column; }
.case h3 { margin-bottom: .4em; }
.case p { color: var(--ink-2); }
.case .go { margin-top: auto; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.case.lead { border-top: 6px solid var(--mag); }
.case.lead h3 { font-size: clamp(1.35rem, 3vw, 1.7rem); }

@media (min-width: 900px) {
  .cases { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .case.lead { grid-row: span 2; }
}

.mini-bars { list-style: none; margin: 4px 0 16px; padding: 0; display: grid; gap: 6px; }
.mini-bars li { display: grid; grid-template-columns: minmax(0, 9rem) minmax(0, 1fr) 2.6rem; gap: 8px; align-items: center; font-size: .82rem; }

/* ---------- Plan steps ---------- */

.steps { list-style: none; margin: 24px 0 0; padding: 0; counter-reset: step; }
.steps > li {
  counter-increment: step; display: grid; grid-template-columns: 3.4rem minmax(0, 1fr);
  gap: 14px; padding: 22px 0; border-top: 1px solid var(--rule);
}
.steps > li:last-child { border-bottom: 1px solid var(--rule); }
.steps > li::before { content: counter(step); font-family: var(--serif); font-weight: 600; font-size: 2.8rem; line-height: .9; color: var(--mag); }
.steps h3 { margin-bottom: .3em; }
.steps p { margin: 0; color: var(--ink-2); max-width: 62ch; }

/* ---------- Prices ---------- */

.prices { display: grid; gap: 16px; margin: 26px 0 20px; }
.price { background: var(--card); border: 1.5px solid var(--ink); padding: 22px; display: flex; flex-direction: column; }
.price.feature { border-top: 6px solid var(--mag); }
.price-name { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; margin: 0 0 6px; }
.price-amt { font-family: var(--serif); font-weight: 600; font-size: 2.9rem; line-height: 1; margin: 6px 0 4px; letter-spacing: -0.02em; }
.price-amt small { font-family: var(--sans); font-size: .95rem; font-weight: 500; color: var(--ink-2); letter-spacing: 0; }
.price-when { font-size: .9rem; color: var(--ink-2); margin-bottom: 12px; }
.price .ticks { font-size: .97rem; }
.price .btn { margin-top: auto; }

@media (min-width: 900px) {
  .prices { grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr) minmax(0, .9fr); align-items: stretch; }
}

/* ---------- Guide ---------- */

.guide { display: grid; gap: 22px; align-items: start; }
.guide figure { margin: 0; }
.guide img { width: 150px; height: auto; aspect-ratio: 2 / 3; object-fit: cover; border: 1.5px solid var(--ink); display: block; background: var(--paper-2); }
.guide figcaption { font-size: .82rem; color: var(--ink-2); margin-top: 6px; max-width: 150px; }
@media (min-width: 700px) {
  .guide { grid-template-columns: 190px minmax(0, 1fr); gap: 32px; }
  .guide img { width: 190px; }
  .guide figcaption { max-width: 190px; }
}

/* ---------- FAQ ---------- */

.faq { margin-top: 18px; border-bottom: 1px solid var(--rule); }
.faq details { border-top: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  min-height: 52px; padding: 14px 44px 14px 0;
  font-weight: 600; font-size: 1.06rem; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 8px;
  font-family: var(--serif); font-size: 1.8rem; line-height: 1; color: var(--mag);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 0 16px; max-width: 68ch; }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- Dark call-to-action band ---------- */

.cta-band { background: var(--ink); color: var(--paper); padding: 56px 0; }
.cta-band h2 { color: var(--paper); max-width: 22ch; }
.cta-band p { color: #E4DFEA; max-width: 60ch; }
.cta-band a:not(.btn) { color: var(--mag-light); }
.cta-band :focus-visible { outline-color: var(--mag-light); }
.cta-band .kicker { color: var(--mag-light); }

/* ---------- Footer ---------- */

.foot { background: var(--paper-2); border-top: 3px double var(--ink); padding: 40px 0 28px; font-size: .95rem; }
.foot-grid { display: grid; gap: 24px; }
.foot .brand { flex: 0 0 auto; }
.foot p { color: var(--ink-2); max-width: 52ch; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; }
.foot li a:hover { color: var(--mag); text-decoration: underline; }
.foot h2 { font-family: var(--sans); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 4px; font-weight: 600; }
.foot-base { border-top: 1px solid var(--rule); margin-top: 24px; padding-top: 16px; font-size: .85rem; color: var(--ink-2); }
.foot-base p { max-width: none; margin: 0 0 .4em; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; } }

/* ---------- Inner page header ---------- */

.page-head { padding: 30px 0 34px; border-bottom: 1px solid var(--rule); }
.crumbs { font-size: .86rem; color: var(--ink-2); margin: 0 0 18px; }
.crumbs a { color: var(--ink-2); }
.page-head h1 { max-width: 22ch; }
.page-head .lede { max-width: 64ch; }

.meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 26px 0 0; border-top: 2px solid var(--ink); }
.meta div { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); }
.meta dt { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.meta dd { margin: 3px 0 0; font-weight: 600; font-variant-numeric: tabular-nums; }
@media (min-width: 760px) { .meta { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.toc { margin: 26px 0 0; padding: 16px 18px; background: var(--card); border: 1px solid var(--rule); }
.toc ol { margin: 8px 0 0; padding-left: 1.4rem; columns: 1; }
.toc li { margin: 2px 0; }
.toc a { display: inline-block; padding: 6px 0; }
@media (min-width: 760px) { .toc ol { columns: 2; column-gap: 36px; } }

/* ---------- Tables ---------- */

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 20px 0; max-width: 100%; }
.dtable { width: 100%; border-collapse: collapse; font-size: .95rem; font-variant-numeric: tabular-nums; }
.dtable caption { caption-side: top; text-align: left; padding: 0 0 8px; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.dtable th, .dtable td { padding: 10px 10px 10px 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.dtable thead th { border-bottom: 2px solid var(--ink); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.dtable tfoot td, .dtable tfoot th { border-top: 2px solid var(--ink); border-bottom: 0; font-weight: 700; }
.dtable .n { text-align: right; white-space: nowrap; }
.dtable .zero { color: var(--ink-3); }
.dtable .hit { color: var(--mag); font-weight: 700; }
.dtable td.q { font-style: italic; }

.bartable td.bar { width: 40%; min-width: 72px; vertical-align: middle; }
.cellbar { height: 12px; background: var(--track); position: relative; }
.cellbar i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w, 0%); background: var(--mag); }

.cap { font-size: .86rem; color: var(--ink-2); margin-top: -8px; }

/* ---------- Pipeline diagram ---------- */

.pipe { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 0; }
.pipe li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 0 0 22px; }
.pipe li::after { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: var(--rule); }
.pipe li:last-child::after { display: none; }
.pipe .ico { width: 44px; height: 44px; border: 1.5px solid var(--ink); background: var(--card); display: flex; align-items: center; justify-content: center; }
.pipe .ico svg { width: 22px; height: 22px; }
.pipe h3 { font-family: var(--sans); font-size: 1.02rem; font-weight: 700; margin: 10px 0 2px; letter-spacing: 0; }
.pipe p { margin: 0; color: var(--ink-2); }

/* ---------- Forms ---------- */

.contact-grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; } }

.form-card { background: var(--card); border: 1.5px solid var(--ink); border-top: 6px solid var(--mag); padding: 22px; }
.form-card h2 { font-size: 1.5rem; }
.form-row { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .form-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.form-group { margin: 0 0 16px; min-width: 0; }
.form-group label { display: block; font-weight: 600; margin: 0 0 6px; }
.form-group .hint { display: block; font-weight: 400; font-size: .88rem; color: var(--ink-2); }
.req { color: var(--mag); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; min-height: 48px; padding: 11px 13px;
  font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1.5px solid var(--ink-2); border-radius: 0;
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group input:focus-visible, .form-group select:focus-visible, .form-group textarea:focus-visible { outline: 3px solid var(--mag); outline-offset: 1px; border-color: var(--ink); }
.hp-field { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.submit-btn { width: 100%; }
@media (min-width: 640px) { .submit-btn { width: auto; } }
.form-note { font-size: .9rem; color: var(--ink-2); margin: 12px 0 0; }

.next-list { list-style: none; margin: 18px 0; padding: 0; }
.next-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-top: 1px solid var(--rule); }
.next-list .ico { width: 44px; height: 44px; border: 1.5px solid var(--ink); display: flex; align-items: center; justify-content: center; background: var(--card); }
.next-list .ico svg { width: 22px; height: 22px; }
.next-list h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; margin: 2px 0 2px; letter-spacing: 0; }
.next-list p { margin: 0; color: var(--ink-2); font-size: .97rem; }

/* ---------- Small screens ---------- */

@media (max-width: 380px) {
  .wrap { padding: 0 16px; }
  .brand-name { font-size: 1rem; }
  .bars li { grid-template-columns: minmax(0, 6.4rem) minmax(0, 1fr) 2.6rem; gap: 8px; font-size: .82rem; }
  .mini-bars li { grid-template-columns: minmax(0, 7rem) minmax(0, 1fr) 2.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print {
  .mast, .cta-band, .foot, .cta-row { display: none; }
  body { background: #fff; }
}
