/* Bolrach product landing system — 2026-08-27.
   Built on the ratified estate tokens (cdn.bolrach.io/tokens.css): this file
   adds layout and the product-page devices, and re-declares no brand value.
   One accent per product is set with --brand on <html data-product>. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper, #F7F8F3);
  color: var(--text, #3A463E);
  font: 16.5px/1.65 var(--font-sans, Inter, system-ui, sans-serif);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-disp, Fraunces, Georgia, serif); color: var(--ink, #0E1A15);
  letter-spacing: -.02em; margin: 0; font-weight: 600; text-wrap: balance; }
p { margin: 0; }
a { color: var(--brand, #0E6B4E); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* ── header ─────────────────────────────────────────────────────────── */
.hdr { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--line, #E5E8DF); }
.hdr .wrap { display: flex; align-items: center; gap: 26px; height: 62px; }
.brand { font-family: var(--font-disp); font-size: 19px; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.brand i { font-style: italic; color: var(--brand); }
.hdr nav { display: flex; gap: 20px; margin-left: 10px; }
.hdr nav a { font-size: 14px; color: var(--muted, #576158); }
.hdr .sp { margin-left: auto; }

/* ── buttons: the estate control standard ───────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px;
  border-radius: 11px; font-size: 14.5px; font-weight: 650; cursor: pointer; text-decoration: none;
  border: 1px solid var(--brand-deep, #0A5539); color: #fff;
  background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 88%, #fff) 0%, var(--brand) 9%, var(--brand-deep) 100%);
  box-shadow: 0 1px 2px rgba(14,26,21,.14); transition: transform 60ms, box-shadow 130ms; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); box-shadow: inset 0 2px 4px rgba(0,0,0,.22); }
.btn.sec { background: var(--card, #fff); color: var(--ink); border-color: color-mix(in srgb, var(--line) 70%, var(--muted));
  box-shadow: 0 1px 1px rgba(14,26,21,.05); }
.btn.sm { height: 36px; padding: 0 14px; font-size: 13.5px; }

/* ── eyebrow: the estate signature ──────────────────────────────────── */
.eyebrow { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--brand);
  font-weight: 600; margin: 0 0 14px; }
.eyebrow::after { content: ""; flex: 1; max-width: 92px; height: 1px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--brand) 45%, transparent), transparent); }

/* ── hero ───────────────────────────────────────────────────────────── */
.hero { padding: 76px 0 64px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -30% 40% 40% -10%; pointer-events: none;
  background: radial-gradient(60% 55% at 30% 40%, color-mix(in srgb, var(--brand) 9%, transparent), transparent 70%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(38px, 4.5vw, 57px); line-height: 1.05; max-width: 15ch; }
.hero h1 i { font-style: italic; color: var(--brand); }
.hero .lede { font-size: 17.5px; color: var(--text); margin: 18px 0 26px; max-width: 46ch; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.trust { display: flex; gap: 20px; flex-wrap: wrap; margin: 24px 0 0; font-size: 13.5px; color: var(--muted); }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { color: var(--brand); flex: none; }

/* ── the hero instrument: each product's own mechanism, drawn ───────── */
.instrument { background: var(--card, #fff); border: 1px solid var(--line); border-radius: var(--r-lg, 20px);
  box-shadow: var(--sh-2, 0 2px 6px rgba(14,26,21,.05), 0 16px 40px rgba(14,26,21,.08)); overflow: hidden; }
.instrument .top { display: flex; align-items: center; gap: 8px; padding: 11px 16px;
  background: var(--card-2, #FBFCF8); border-bottom: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.instrument .top .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); flex: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 16%, transparent); }
.instrument .body { padding: 20px 18px; }
.instrument svg { display: block; width: 100%; height: auto; }

/* ── strip ──────────────────────────────────────────────────────────── */
.strip { border-block: 1px solid var(--line); background: var(--paper-2, #F1F3EB); }
.strip .wrap { display: flex; gap: 34px; flex-wrap: wrap; justify-content: center;
  padding: 17px 28px; font-size: 14px; color: var(--muted); }
.strip b { color: var(--ink); font-weight: 650; font-variant-numeric: tabular-nums; }

/* ── sections ───────────────────────────────────────────────────────── */
section { padding: 74px 0; }
section > .wrap > h2 { font-size: clamp(26px, 3vw, 35px); line-height: 1.12; }
section > .wrap > h2 i { font-style: italic; color: var(--brand); }
.sublede { font-size: 16.5px; color: var(--muted); margin: 12px 0 0; max-width: 62ch; }
.alt { background: var(--paper-2); border-block: 1px solid var(--line); }

.grid { display: grid; gap: 18px; margin-top: 34px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r, 14px);
  padding: 22px; transition: border-color 140ms, transform 140ms, box-shadow 140ms; }
.card:hover { border-color: color-mix(in srgb, var(--brand) 34%, var(--line)); transform: translateY(-2px);
  box-shadow: var(--sh-1, 0 1px 2px rgba(14,26,21,.04), 0 6px 18px rgba(14,26,21,.05)); }
.chip { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--brand) 9%, #fff);
  border: 1px solid color-mix(in srgb, var(--brand) 20%, transparent); color: var(--brand); margin-bottom: 14px; }
.card h3 { font-size: 17.5px; margin-bottom: 6px; }
.card p { font-size: 14.5px; color: var(--muted); }

/* numbered steps */
.steps { counter-reset: s; display: grid; gap: 2px; margin-top: 30px; }
.step { display: grid; grid-template-columns: 42px 1fr; gap: 18px; align-items: start;
  padding: 20px 20px 20px 16px; background: var(--card); border: 1px solid var(--line); }
.step:first-child { border-radius: var(--r) var(--r) 0 0; }
.step:last-child { border-radius: 0 0 var(--r) var(--r); }
.step + .step { border-top: 0; }
.step::before { counter-increment: s; content: counter(s, decimal-leading-zero);
  font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--brand);
  background: color-mix(in srgb, var(--brand) 8%, #fff);
  border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent);
  border-radius: 9px; padding: 7px 0; text-align: center; }
.step h3 { font-size: 16px; margin-bottom: 3px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* code */
pre { background: #0C1712; color: #E7F5EE; border-radius: var(--r); padding: 18px 20px;
  overflow-x: auto; font: 13px/1.6 var(--font-mono); margin: 0; border: 1px solid #14261E; }
pre .c { color: #7E9A8C; }
pre .k { color: #6FD8A8; }
pre .s { color: #E4C97E; }
.codehead { display: flex; gap: 8px; margin-bottom: 10px; }
.codehead span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; font-weight: 700;
  color: var(--muted); border: 1px solid var(--line); background: var(--card); border-radius: 6px; padding: 4px 10px; }

/* honest limits */
.limits { margin-top: 30px; display: grid; gap: 14px; }
.limit { display: grid; grid-template-columns: 22px 1fr; gap: 14px; background: var(--card);
  border: 1px solid var(--line); border-left: 3px solid color-mix(in srgb, var(--gold, #B48F3E) 70%, var(--line));
  border-radius: var(--r-sm, 9px); padding: 16px 18px; }
.limit svg { color: var(--gold, #B48F3E); margin-top: 2px; }
.limit b { color: var(--ink); }
.limit p { font-size: 14.5px; color: var(--muted); margin-top: 2px; }

/* closing */
.close { text-align: center; padding: 86px 0; }
.close h2 { font-size: clamp(28px, 3.2vw, 38px); }
.close .cta { justify-content: center; margin-top: 26px; }

footer { border-top: 1px solid var(--line); background: var(--card-2); padding: 40px 0 30px; }
footer .cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
footer h4 { font-family: var(--font-sans); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 10px; font-weight: 700; }
footer a { display: block; font-size: 14px; color: var(--text); margin-bottom: 7px; }
footer .base { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .g3, .g2 { grid-template-columns: 1fr; }
  footer .cols { grid-template-columns: repeat(2, 1fr); }
  .hdr nav { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
