/* ============================================================================
   OwnCRM — shared stylesheet for the multipage "EXIT PAPERS" site.
   Single source of truth for every page (/, /method, /proof, /translation,
   /ownership). Fonts are self-hosted woff2 at /fonts/ (cached once across the
   whole site — do NOT re-inline them as base64 per page). Aesthetic: an
   engineering audit dossier on paper. Ink, ledger rules, mono serials, exhibit
   frames, one stamp-red accent. No gradients.
   ============================================================================ */

/* --------------------------------------------------------------- @font-face */
@font-face { font-family: 'Gloock';        font-weight: 400; font-style: normal; font-display: swap; src: url('/fonts/gloock-400.woff2') format('woff2'); }
@font-face { font-family: 'Crimson Pro';   font-weight: 400; font-style: normal; font-display: swap; src: url('/fonts/crimson-pro-400.woff2') format('woff2'); }
@font-face { font-family: 'Crimson Pro';   font-weight: 400; font-style: italic; font-display: swap; src: url('/fonts/crimson-pro-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Crimson Pro';   font-weight: 700; font-style: normal; font-display: swap; src: url('/fonts/crimson-pro-700.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-weight: 400; font-style: normal; font-display: swap; src: url('/fonts/ibm-plex-mono-400.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-weight: 700; font-style: normal; font-display: swap; src: url('/fonts/ibm-plex-mono-700.woff2') format('woff2'); }

/* ------------------------------------------------------------------ reset */
*, *::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; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }

/* ----------------------------------------------------------------- tokens */
:root {
  --paper:    #F4F0E6;
  --paper-2:  #ECE6D6;
  --paper-3:  #E4DCC8;
  --ink:      #16130D;
  --ink-70:   rgba(22,19,13,.72);
  --ink-50:   rgba(22,19,13,.65);
  --ink-30:   rgba(22,19,13,.30);
  --rule:     rgba(22,19,13,.22);
  --rule-2:   rgba(22,19,13,.12);
  --stamp:    #C93A12;   /* stamp red — the one loud voice on the page */
  --stamp-dk: #A82E0C;
  --ledger:   #1E6B4A;   /* owned / go — used sparingly */
  --display: 'Gloock', 'Iowan Old Style', serif;
  --serif:   'Crimson Pro', Georgia, serif;
  --mono:    'IBM Plex Mono', 'Courier New', monospace;
  --maxw: 1120px;
}

/* ----------------------------------------------------------------- global */
body {
  font-family: var(--serif);
  font-size: 19px;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* paper grain — two dot lattices, offset; no gradients anywhere */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(rgba(22,19,13,.05) 1px, transparent 1px),
    radial-gradient(rgba(22,19,13,.033) 1px, transparent 1px);
  background-size: 7px 7px, 11px 11px;
  background-position: 0 0, 4px 6px;
}
main, header.mast, footer { position: relative; z-index: 1; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
@media (max-width: 560px){ .wrap { padding: 0 18px; } }
::selection { background: var(--stamp); color: var(--paper); }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--paper);
  padding: 10px 16px; z-index: 200; font-family: var(--mono); font-size: 13px; }
.skip:focus { left: 12px; top: 12px; }

/* mono utility voices */
.k { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.k-red { color: var(--stamp); }
.k-dim { color: var(--ink-50); }

/* --------------------------------------------------------------- masthead */
header.mast {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1.5px solid var(--ink);
}
.mast-doc { border-bottom: 1px solid var(--rule-2); }
.mast-doc .wrap { display: flex; justify-content: space-between; gap: 14px; padding-top: 7px; padding-bottom: 7px; }
.mast-doc span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-50); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mast-in { display: flex; align-items: center; gap: 22px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--mono); font-weight: 700; font-size: 16px; letter-spacing: .02em; }
.brand .mark { width: 27px; height: 27px; flex: none; }
.navlinks { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.navlinks a { font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-70); text-decoration: none; }
.navlinks a:hover, .navlinks a:focus-visible { color: var(--stamp); }
.navlinks a[aria-current="page"] { color: var(--ink); border-bottom: 2px solid var(--stamp); padding-bottom: 3px; }
.navlinks a.btn { color: var(--paper); }
.navlinks a.btn:hover { color: var(--paper); }
.navlinks a.btn[aria-current="page"] { border-bottom: 0; padding-bottom: 0; }

.btn {
  display: inline-block; font-family: var(--mono); font-size: 13px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none; text-align: center;
  padding: 13px 22px; border: 1.5px solid var(--ink); cursor: pointer;
  background: var(--ink); color: var(--paper);
  box-shadow: 3px 3px 0 var(--ink-30);
  transition: transform .13s ease, box-shadow .13s ease, background .13s, border-color .13s;
}
.btn:hover { transform: translate(-1px,-1px); box-shadow: 5px 5px 0 var(--ink-30); background: var(--stamp); border-color: var(--stamp); }
.btn:active { transform: translate(1px,1px); box-shadow: 1px 1px 0 var(--ink-30); }
.btn:focus-visible { outline: 2.5px solid var(--stamp); outline-offset: 3px; }
.btn:disabled { opacity: .65; cursor: progress; transform: none; }
.btn-line { background: transparent; color: var(--ink); box-shadow: none; }
.btn-line:hover { background: var(--ink); color: var(--paper); box-shadow: 3px 3px 0 var(--ink-30); }
.btn-sm { padding: 9px 15px; font-size: 11.5px; }

.hamburger { margin-left: auto; display: none; background: none; border: 1.5px solid var(--ink);
  width: 40px; height: 40px; cursor: pointer; align-items: center; justify-content: center; }
.hamburger span, .hamburger span::before, .hamburger span::after {
  content: ""; display: block; width: 16px; height: 2px; background: var(--ink); position: relative; }
.hamburger span::before { position: absolute; top: -5px; }
.hamburger span::after  { position: absolute; top: 5px; }
@media (max-width: 880px) {
  .navlinks { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--paper); border-bottom: 1.5px solid var(--ink); padding: 6px 28px 20px;
    transform: translateY(-6px); opacity: 0; pointer-events: none; transition: .18s; }
  .navlinks.open { transform: none; opacity: 1; pointer-events: auto; }
  .navlinks a { padding: 13px 2px; border-bottom: 1px solid var(--rule-2); }
  .navlinks a[aria-current="page"] { border-bottom: 1px solid var(--rule-2); padding-bottom: 13px; color: var(--stamp); }
  .navlinks .btn { margin-top: 12px; }
  .hamburger { display: flex; }
}

/* ------------------------------------------------------------ type scale */
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.04; margin: 0; letter-spacing: -.01em; }
.lead { font-size: 21px; color: var(--ink-70); line-height: 1.6; }
.lead b { color: var(--ink); font-weight: 700; }

/* section chrome: number + rule */
.sec { padding: 92px 0 20px; }
.sec-rule { display: flex; align-items: baseline; gap: 16px; border-top: 1.5px solid var(--ink); padding-top: 14px; margin-bottom: 44px; }
.sec-rule .no { font-family: var(--mono); font-weight: 700; font-size: 13px; letter-spacing: .1em; color: var(--stamp); white-space: nowrap; }
.sec-rule .nm { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-50); }
.sec-rule .pg { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--ink-30); white-space: nowrap; }

/* ------------------------------------------------------------------- hero */
.hero { padding: 74px 0 66px; }
.hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: start; }
@media (max-width: 940px){ .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { font-size: clamp(46px, 6.4vw, 84px); }
.hero h1 .tax { color: var(--stamp); font-style: italic; font-family: var(--serif); font-weight: 400; }
.hero .lead { max-width: 56ch; margin: 26px 0 0; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 34px; align-items: center; }
.hero-notes { margin-top: 30px; display: grid; gap: 8px; }
.hero-notes span { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--ink-70); }
.hero-notes b { color: var(--ledger); font-weight: 700; margin-right: 8px; }

/* schema (transformation diagram) */
.schema { border: 1.5px solid var(--ink); background: var(--paper-2); box-shadow: 6px 6px 0 var(--ink-30); }
.schema-cap { display: flex; justify-content: space-between; border-bottom: 1.5px solid var(--ink);
  padding: 9px 14px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; }
.schema-cap i { font-style: normal; color: var(--ink-50); }
.schema-body { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0; align-items: stretch; }
.spanel { padding: 16px 15px 18px; }
.spanel h4 { margin: 0 0 2px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; }
.spanel .sub { font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; color: var(--ink-50); margin-bottom: 13px; }
.srow { display: flex; align-items: baseline; font-family: var(--mono); font-size: 11.5px; padding: 5px 0; color: var(--ink-70); }
.srow::after { content: ""; flex: 1; border-bottom: 1px dotted var(--ink-30); margin: 0 0 3px 8px; }
.spanel.owned .srow { color: var(--ink); }
.spanel.owned .srow::before { content: "✓ "; color: var(--ledger); font-weight: 700; margin-right: 6px; }
.sconn { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 4px;
  border-left: 1px solid var(--rule); border-right: 1px solid var(--rule); background: var(--paper-3); }
.sconn b { font-family: var(--mono); font-size: 10px; letter-spacing: .18em; writing-mode: vertical-rl; text-orientation: mixed; color: var(--stamp); }
.schema-foot { border-top: 1.5px solid var(--ink); padding: 8px 14px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; color: var(--ink-50); }
@media (max-width: 560px){ .schema-body { grid-template-columns: 1fr; } .sconn { border: 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 6px; } .sconn b { writing-mode: horizontal-tb; } }

/* proven strip */
.strip { border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); background: var(--ink); color: var(--paper); }
.strip .wrap { display: flex; gap: 26px; flex-wrap: wrap; align-items: baseline; padding-top: 11px; padding-bottom: 11px; }
.strip span { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(244,240,230,.65); }
.strip b { color: var(--paper); font-weight: 700; }

/* ---------------------------------------------------------------- problem */
.problem-grid { display: grid; grid-template-columns: 6fr 6fr; gap: 54px; align-items: start; }
@media (max-width: 940px){ .problem-grid { grid-template-columns: 1fr; } }
.problem h2, .h-serif { font-size: clamp(34px, 4vw, 52px); }
.problem .rent { color: var(--stamp); font-style: italic; font-family: var(--serif); }
.xlist { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.xlist li { display: flex; gap: 13px; align-items: baseline; font-size: 17.5px; color: var(--ink-70); }
.xlist li b { color: var(--ink); }
.xlist .x { font-family: var(--mono); font-weight: 700; color: var(--stamp); }

/* ledger card */
.ledger { border: 1.5px solid var(--ink); background: var(--paper-2); box-shadow: 6px 6px 0 var(--ink-30); padding: 0; }
.ledger-h { border-bottom: 1.5px solid var(--ink); padding: 10px 16px; display: flex; justify-content: space-between; }
.ledger-h span { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.ledger-h .r { color: var(--ink-50); }
.ledger-body { padding: 14px 16px 18px; }
.lrow { display: flex; align-items: baseline; gap: 10px; padding: 7px 0; font-size: 15.5px; }
.lrow .desc { color: var(--ink-70); }
.lrow .fill { flex: 1; border-bottom: 1px dotted var(--ink-30); transform: translateY(-4px); }
.lrow .amt { font-family: var(--mono); font-size: 14px; font-weight: 700; white-space: nowrap; }
.lrow .amt.red { color: var(--stamp); }
.lrow .amt.grn { color: var(--ledger); }
.lrow.total { border-top: 1.5px solid var(--ink); margin-top: 8px; padding-top: 11px; }
.lrow.total .desc { color: var(--ink); font-weight: 700; }
.lrow.total .amt { font-size: 17px; border-bottom: 3px double var(--ink); }
.ledger-note { border-top: 1px solid var(--rule-2); margin-top: 14px; padding: 12px 0 0; font-size: 14px; color: var(--ink-50); line-height: 1.55; }
.ledger-note b { color: var(--ledger); }
.ledger-sub { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-50); margin: 16px 0 4px; }

/* -------------------------------------------------------------- procedure */
.proc { margin-top: 8px; border-top: 1.5px solid var(--ink); }
.proc-row { display: grid; grid-template-columns: 110px 240px 1fr; gap: 26px; padding: 26px 0;
  border-bottom: 1px solid var(--rule); align-items: baseline; }
@media (max-width: 780px){ .proc-row { grid-template-columns: 64px 1fr; } .proc-row p { grid-column: 2; } }
.proc-row .pn { font-family: var(--mono); font-weight: 700; font-size: 13px; letter-spacing: .1em; color: var(--stamp); }
.proc-row h3 { font-size: 27px; }
.proc-row p { margin: 0; color: var(--ink-70); font-size: 17.5px; }

/* --------------------------------------------------------------- exhibits */
.exhibits { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
@media (max-width: 940px){ .exhibits { grid-template-columns: 1fr; } }
/* let the exhibit tracks shrink below the mock's min-content on phones so the
   page never scrolls horizontally; .exh clips the decorative Lightning mock */
.exhibits > .reveal { min-width: 0; }
.exh { border: 1.5px solid var(--ink); background: #fff; box-shadow: 6px 6px 0 var(--ink-30); overflow: hidden; }
.exh-plate { display: flex; justify-content: space-between; gap: 10px; align-items: center;
  border-bottom: 1.5px solid var(--ink); padding: 9px 14px; background: var(--paper-2); }
.exh-plate b { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.exh-plate span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; color: var(--ink-50); text-transform: uppercase; }
.exh-plate.rent b { color: var(--stamp); }
.exh-plate.own b { color: var(--ledger); }
.exh-note { margin-top: 12px; font-size: 15.5px; color: var(--ink-70); line-height: 1.6; }
.exh-note b { color: var(--ink); }
.exh-note a { color: var(--stamp); }
.own-strip { display: flex; flex-wrap: wrap; gap: 0; border-top: 1.5px solid var(--ink); }
.own-strip span { font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; padding: 6px 10px; color: var(--ledger); border-right: 1px solid var(--rule-2); }

/* --- Salesforce Lightning illustration (Exhibit A) — keeps its own palette --- */
.sf-body { font-family: -apple-system, "Segoe UI", sans-serif; background: #f3f3f3; font-size: 10px; }
.sf-top { display: flex; align-items: center; gap: 8px; background: #032e61; color: #fff; padding: 6px 10px; font-size: 10.5px; }
.sf-waffle { display: grid; grid-template-columns: repeat(3, 3px); gap: 1.5px; margin-right: 2px; }
.sf-waffle i { width: 3px; height: 3px; background: rgba(255,255,255,.85); border-radius: .5px; display: block; }
.sf-tabs { display: flex; gap: 2px; background: #fff; border-bottom: 2px solid #0176d3; padding: 5px 8px 0; overflow: hidden; }
.sf-tabs span { padding: 4px 9px 6px; color: #444; font-size: 9.6px; white-space: nowrap; }
.sf-tabs .on { color: #0176d3; font-weight: 700; box-shadow: inset 0 -3px 0 #0176d3; }
.sf-banner { display: flex; align-items: center; gap: 8px; background: #fff; margin: 8px 8px 0; border: 1px solid #e0e0e0; border-radius: 4px; padding: 8px 10px; }
.sf-oppic { width: 26px; height: 26px; background: #ff9a3c; border-radius: 4px; display: flex; align-items: center; justify-content: center; }
.sf-oppic svg { width: 14px; height: 14px; stroke: #fff; }
.sf-banner small { display: block; color: #706e6b; font-size: 8.6px; }
.sf-banner b { font-size: 11.5px; color: #080707; }
.sf-btns { margin-left: auto; display: flex; gap: 4px; }
.sf-btns span { border: 1px solid #dddbda; color: #0176d3; border-radius: 3px; padding: 3px 8px; font-size: 9px; background: #fff; }
.sf-path { display: flex; gap: 2px; margin: 8px 8px 0; }
.sf-chev { flex: 1; text-align: center; font-size: 8.6px; padding: 4px 2px; background: #ecebea; color: #514f4d;
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 50%, calc(100% - 7px) 100%, 0 100%, 7px 50%); white-space: nowrap; overflow: hidden; }
.sf-chev.done { background: #04844b; color: #fff; }
.sf-chev.cur { background: #0b5cab; color: #fff; font-weight: 700; }
.sf-main { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; padding: 8px; }
.sf-card { background: #fff; border: 1px solid #e0e0e0; border-radius: 4px; padding: 8px 10px; }
.sf-card h6 { margin: 0 0 6px; font-size: 10px; color: #16325c; border-bottom: 1px solid #eee; padding-bottom: 4px; }
.sf-fr { display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; border-bottom: 1px dotted #f0f0f0; }
.sf-fr span { color: #706e6b; font-size: 9.3px; }
.sf-fr b { color: #080707; font-weight: 500; font-size: 9.3px; text-align: right; }
.sf-act { display: flex; gap: 6px; align-items: flex-start; padding: 4px 0; border-bottom: 1px dotted #f0f0f0; color: #514f4d; font-size: 9px; }
.sf-act i { width: 14px; height: 14px; border-radius: 3px; flex: none; display: block; }

/* --------------------------------------------------------------- manifest */
.manifest { columns: 2; column-gap: 54px; border-top: 1.5px solid var(--ink); padding-top: 8px; }
@media (max-width: 780px){ .manifest { columns: 1; } }
.mrow { display: flex; align-items: baseline; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--rule-2); break-inside: avoid; font-size: 16.5px; }
.mrow .ok { font-family: var(--mono); font-weight: 700; color: var(--ledger); font-size: 13px; }
.mrow b { font-weight: 700; }
.mrow .fill { flex: 1; border-bottom: 1px dotted var(--ink-30); transform: translateY(-4px); min-width: 20px; }
.mrow .to { font-family: var(--mono); font-size: 12px; color: var(--ink-50); text-align: right; }
.man-foot { margin-top: 22px; font-size: 16.5px; color: var(--ink-70); border-left: 3px solid var(--stamp); padding-left: 16px; }
.man-foot b { color: var(--ink); }

/* ------------------------------------------------------------- case files */
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
@media (max-width: 880px){ .cases { grid-template-columns: 1fr; } }
.case { border: 1.5px solid var(--ink); background: var(--paper-2); box-shadow: 6px 6px 0 var(--ink-30); padding: 22px 22px 24px; }
.case .cf { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--stamp); }
.case h3 { font-size: 30px; margin: 8px 0 6px; }
.case .desc { color: var(--ink-70); font-size: 16.5px; margin: 0 0 16px; }
.case .stats { border-top: 1.5px solid var(--ink); }
.case .stat { display: flex; align-items: baseline; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--rule-2); }
.case .stat b { font-family: var(--mono); font-size: 17px; }
.case .stat .fill { flex: 1; border-bottom: 1px dotted var(--ink-30); transform: translateY(-4px); }
.case .stat span { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-50); }
.case .btn { margin-top: 18px; }

.affidavit { margin-top: 40px; border: 1.5px solid var(--ink); border-left: 6px solid var(--stamp); background: var(--paper-2); padding: 22px 26px; }
.affidavit h4 { margin: 0 0 8px; font-family: var(--mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.affidavit h4 i { color: var(--stamp); font-style: normal; }
.affidavit p { margin: 0; color: var(--ink-70); font-size: 17px; }
.affidavit b { color: var(--ink); }

/* ------------------------------------------------------------------- moat */
.moat-grid { display: grid; grid-template-columns: 6fr 6fr; gap: 54px; align-items: center; }
@media (max-width: 940px){ .moat-grid { grid-template-columns: 1fr; } }
.ctx { background: var(--ink); color: var(--paper); border: 1.5px solid var(--ink); box-shadow: 6px 6px 0 var(--ink-30);
  font-family: var(--mono); font-size: 13px; line-height: 1.75; padding: 22px 24px; overflow-x: auto; }
.ctx .cmt { color: rgba(244,240,230,.45); }
.ctx .fld { color: rgba(244,240,230,.75); }
.ctx .val { color: #E8C15A; }
.ctx .inf { color: #7FD1A8; }

/* ---------------------------------------------------------------- pricing */
.price-wrap { position: relative; border: 1.5px solid var(--ink); background: var(--paper-2); box-shadow: 6px 6px 0 var(--ink-30); }
.tiers { display: grid; grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 780px){ .tiers { grid-template-columns: 1fr; } }
.tier { padding: 26px 24px 28px; border-right: 1px solid var(--rule); }
.tier:last-child { border-right: 0; }
@media (max-width: 780px){ .tier { border-right: 0; border-bottom: 1px solid var(--rule); } .tier:last-child { border-bottom: 0; } }
.tier .t { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-50); }
.tier .p { font-family: var(--display); font-size: 38px; margin: 8px 0 10px; }
.tier.free .p { color: var(--ledger); }
.tier p.d { margin: 0; font-size: 15.5px; color: var(--ink-70); line-height: 1.6; }
.price-foot { border-top: 1.5px solid var(--ink); padding: 18px 24px 22px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.price-foot .strike { font-size: 17px; color: var(--ink-70); }
.price-foot .strike s { color: var(--stamp); }
.stamp {
  position: absolute; top: -26px; right: 22px; transform: rotate(-7deg);
  border: 3px double var(--stamp); color: var(--stamp); padding: 8px 14px;
  font-family: var(--mono); font-weight: 700; font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
  background: var(--paper); pointer-events: none;
}
@media (max-width: 560px){ .stamp { right: 10px; font-size: 11px; } }

/* ----------------------------------------------------------------- method */
.gates { border-top: 1.5px solid var(--ink); }
.gate { padding: 24px 0; border-bottom: 1px solid var(--rule); }
.gate:last-child { border-bottom: 0; }
.gate-hd { display: flex; align-items: baseline; gap: 18px; }
.gate-hd .gn { font-family: var(--mono); font-weight: 700; font-size: 13px; letter-spacing: .1em; color: var(--stamp); white-space: nowrap; }
.gate-hd h3 { font-size: 25px; margin: 0; line-height: 1.15; }
.gate-what { margin: 12px 0 14px; color: var(--ink-70); font-size: 17.5px; max-width: 74ch; }
.gate-what b { color: var(--ink); }
.gate-rows { display: flex; flex-direction: column; }
.grow { display: flex; align-items: baseline; gap: 12px; padding: 6px 0; font-size: 16px; }
.grow .glab { font-family: var(--mono); font-weight: 700; font-size: 11px; letter-spacing: .12em; width: 86px; flex: none; }
.grow .gl-gate { color: var(--stamp); }
.grow .gl-ev { color: var(--ledger); }
.grow .gl-ex { color: var(--ink-50); }
.grow .gtx { color: var(--ink-70); }
.grow .gtx b { color: var(--ink); font-weight: 700; }
.grow .art { font-weight: 700; color: var(--ink); }
.grow .fill { flex: 1; border-bottom: 1px dotted var(--ink-30); transform: translateY(-4px); min-width: 20px; }
.grow .to { font-family: var(--mono); font-size: 11px; color: var(--ink-50); text-align: right; white-space: nowrap; }
@media (max-width: 640px){
  .grow { flex-wrap: wrap; row-gap: 2px; }
  .grow .glab { width: 100%; }
  .grow .fill { display: none; }
  .grow .to { margin-left: auto; }
}
.gate-stamp-wrap { display: flex; justify-content: center; margin-top: 44px; }
.gate-stamp {
  border: 3px double var(--stamp); color: var(--stamp);
  padding: 12px 22px; transform: rotate(-2.5deg);
  font-family: var(--mono); font-weight: 700; font-size: 15px; letter-spacing: .16em; text-transform: uppercase;
  background: var(--paper); text-align: center; line-height: 1.3;
}
@media (max-width: 560px){ .gate-stamp { font-size: 12px; letter-spacing: .1em; padding: 10px 14px; } }

/* ------------------------------------------------------------------- form */
.xray-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 54px; align-items: start; }
@media (max-width: 940px){ .xray-grid { grid-template-columns: 1fr; } }
.form-card { border: 1.5px solid var(--ink); background: #FBF8F1; box-shadow: 6px 6px 0 var(--ink-30); padding: 30px 30px 26px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-70); margin-bottom: 8px; }
.field .req { color: var(--stamp); }
.field .opt { color: var(--ink-70); text-transform: none; letter-spacing: .02em; }
.field input, .field select {
  width: 100%; background: transparent; border: 0; border-bottom: 1.5px solid var(--ink);
  padding: 9px 2px 10px; font-family: var(--serif); font-size: 18px; color: var(--ink); border-radius: 0;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2316130D' stroke-width='1.6' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; }
.field input::placeholder { color: var(--ink-30); }
.field input:focus, .field select:focus { outline: none; border-bottom-color: var(--stamp); }
.field input:focus-visible, .field select:focus-visible { outline: 2.5px solid var(--stamp); outline-offset: 2px; }
.field .err { display: none; font-family: var(--mono); font-size: 11.5px; color: var(--stamp); margin-top: 7px; }
.field.invalid input, .field.invalid select { border-bottom-color: var(--stamp); }
.field.invalid .err { display: block; }
.form-fine { font-size: 14.5px; color: var(--ink-50); margin: 18px 0 0; line-height: 1.6; }
.form-success { display: none; text-align: left; padding: 8px 2px; }
.form-success.show { display: block; }
.form-success h3 { font-size: 30px; margin: 0 0 10px; }
.form-success h3::before { content: "✓ "; color: var(--ledger); font-family: var(--mono); }
.form-success p { color: var(--ink-70); font-size: 17px; margin: 0; }
.form-success a { color: var(--stamp); }

/* -------------------------------------------------------------- final cta */
.finalcta { text-align: center; padding: 80px 0 90px; }
.finalcta h2 { font-size: clamp(36px, 5vw, 62px); }
.finalcta .hero-ctas { justify-content: center; }

/* ----------------------------------------------------------------- footer */
footer { background: var(--ink); color: var(--paper); border-top: 1.5px solid var(--ink); }
footer .wrap { padding-top: 54px; padding-bottom: 30px; }
.foot-grid { display: grid; grid-template-columns: 6fr 3fr 3fr; gap: 44px; }
@media (max-width: 780px){ .foot-grid { grid-template-columns: 1fr; gap: 28px; } }
.foot-brand .brand { color: var(--paper); }
.foot-brand p { color: rgba(244,240,230,.6); font-size: 16.5px; max-width: 40ch; }
.foot-col h5 { margin: 0 0 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(244,240,230,.5); }
.foot-col a { display: block; color: rgba(244,240,230,.8); text-decoration: none; font-family: var(--mono); font-size: 13px; padding: 5px 0; }
.foot-col a:hover { color: #F0A088; }
.disclaimer { border-top: 1px solid rgba(244,240,230,.16); margin-top: 40px; padding-top: 22px;
  font-size: 13.5px; line-height: 1.7; color: rgba(244,240,230,.5); }
.disclaimer b { color: rgba(244,240,230,.8); }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 22px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(244,240,230,.45); }

/* ---------------------------------------------------------------- reveals */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ----------------------------------------------- translation (exhibit) page */
.tx-status { display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--ledger);
  border: 1px solid var(--ledger); padding: .3rem .6rem; border-radius: 3px; margin: 6px 0 8px; }
.tx-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; margin-top: 30px; }
@media (max-width: 940px){ .tx-cols { grid-template-columns: 1fr; } }
.tx-pane { border: 1.5px solid var(--ink); background: var(--paper-2); box-shadow: 6px 6px 0 var(--ink-30); overflow: hidden; }
.tx-pane > h2 { font-family: var(--mono); font-weight: 700; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase;
  padding: 11px 16px; border-bottom: 1.5px solid var(--ink); background: var(--paper); }
.tx-pane > h2 .src { float: right; font-weight: 400; color: var(--ink-50); text-transform: none; letter-spacing: 0; }
.tx-pane pre { font-family: var(--mono); font-size: 12.5px; line-height: 1.55; padding: 18px 16px; overflow-x: auto; white-space: pre; margin: 0; }
.tx-pane .kw { color: var(--stamp); }
.tx-pane .cm { color: var(--ink-50); }

/* in-page jump nav (page grew multi-surface) */
.tx-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 4px; }
.tx-jump a { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-70); border: 1px solid var(--rule); padding: 5px 10px; border-radius: 3px; text-decoration: none;
  transition: border-color .18s ease, color .18s ease; }
.tx-jump a:hover { border-color: var(--ink); color: var(--ink); }

/* caption beneath a side-by-side */
.tx-cap { font-family: var(--mono); font-size: 12px; line-height: 1.65; color: var(--ink-50);
  border-left: 2px solid var(--stamp); padding: 4px 0 4px 14px; margin-top: 16px; max-width: 82ch;
  overflow-wrap: anywhere; }
.tx-cap b { color: var(--ink); }

/* plain-copy status panel (triggers — no fake conversion) */
.tx-note { border: 1.5px solid var(--ink); background: var(--paper-2); box-shadow: 6px 6px 0 var(--ink-30);
  padding: 22px 24px; margin-top: 30px; max-width: 84ch; }
.tx-note p { font-size: 17px; color: var(--ink-70); line-height: 1.62; margin: 0 0 13px; }
.tx-note p:last-child { margin-bottom: 0; }
.tx-note code { font-family: var(--mono); font-size: .86em; color: var(--stamp); }

/* status legend table */
.tx-legend-wrap { overflow-x: auto; margin-top: 26px; }
.tx-legend { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.tx-legend td.mean { min-width: 15ch; }
.tx-legend th, .tx-legend td { text-align: left; vertical-align: top; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--rule); }
.tx-legend thead th { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-50); border-bottom: 1.5px solid var(--ink); }
.tx-legend td.stat { font-family: var(--mono); font-weight: 700; font-size: 13px; white-space: nowrap; color: var(--ink); }
.tx-legend td.mean { color: var(--ink-70); line-height: 1.55; }
.tx-legend td.count { font-family: var(--mono); font-weight: 700; color: var(--stamp); white-space: nowrap; }
.tx-legend td.win { color: var(--stamp); font-weight: 600; line-height: 1.5; min-width: 16ch; }
