/* ==========================================================================
   PushPel — "Red Pen" marketing site
   Concept: plainspoken challenger. Warm paper, ink, one loud red.
   Every motion mimics pen on paper. No AI words anywhere — house rule.
   ========================================================================== */

:root {
  --paper:        #F4EDE1;  /* bone — the desk everything sits on        */
  --paper-deep:   #E9DFCC;  /* aged-paper panels                          */
  --paper-bright: #FBF6EB;  /* raised cards / receipts                    */
  --ink:          #1A1714;  /* warm brown-black, never pure black         */
  --ink-soft:     #4A4238;  /* secondary body text                        */
  --muted:        #655B49;  /* captions, eyebrows, fine print (AA on deep)*/
  --rule:         #D8CDB8;  /* hairline ledger rules                      */
  --red:          #D7322B;  /* the red pen — decorative strokes, marks    */
  --red-deep:     #B3261E;  /* red for text & button fills (AA contrast)  */
  --red-press:    #8E1D17;  /* pressed / shadow shade of the deep red     */

  --font-display: 'Libre Franklin', 'Franklin Gothic Medium', sans-serif;
  --font-body:    'Newsreader', Georgia, serif;
  --font-mono:    'IBM Plex Mono', 'Courier New', monospace;

  --ease: cubic-bezier(.22,.61,.36,1);
  --container: min(1140px, 92vw);
}

/* ---------- base ---------- */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* paper grain over everything, very quiet */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  pointer-events: none;
  opacity: .05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

h1, h2, h3 {
  font-family: var(--font-display);
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

a { color: inherit; }

.container { width: var(--container); margin-inline: auto; }

section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }

::selection { background: var(--red); color: var(--paper-bright); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper-bright);
  padding: .8em 1.2em;
  z-index: 100;
  font-family: var(--font-display);
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 2px;
}
.insight :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--paper-bright);
}

/* ---------- shared: eyebrow + section heads ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: .9rem;
  font: 600 .78rem/1 var(--font-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.4rem;
}
.eb-no { color: var(--red-deep); }
.eb-rule { flex: 0 0 3.5rem; height: 1px; background: var(--rule); }

.sec-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.08;
}
.sec-head { margin-bottom: clamp(2.4rem, 5vw, 3.6rem); max-width: 46ch; }
.sec-sub {
  margin-top: 1.1rem;
  font-size: 1.15rem;
  color: var(--ink-soft);
}

.footnote {
  font-size: .85rem;
  color: var(--muted);
  font-style: italic;
}

/* ---------- hand-drawn red strokes ---------- */

.stroke {
  display: block;
  fill: none;
  stroke: var(--red);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.stroke path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.stroke .p2 { opacity: .45; stroke-width: 2.5; }

/* draw on scroll: .draw paths inside an .inview ancestor */
.inview .stroke path.draw,
.inview.stroke path.draw {
  transition: stroke-dashoffset .65s var(--ease) .25s;
  stroke-dashoffset: 0;
}
/* without JS, every stroke renders complete (hero paths also have their own
   CSS animations, which still run — this is the belt-and-suspenders floor) */
html:not(.js) .stroke path { stroke-dashoffset: 0; animation: none; }

/* underline that hugs the text above it */
.u-wrap { position: relative; display: inline-block; white-space: nowrap; }
.u-wrap .u {
  position: absolute;
  left: -2%;
  bottom: -.28em;
  width: 104%;
  height: .32em;
}
.u-below { position: relative; display: inline-block; padding-bottom: .35em; }
.u-below .u {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 92%;
  height: .3em;
}

/* ---------- buttons: stamped, pressable ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font: 700 1rem/1 var(--font-display);
  letter-spacing: .01em;
  text-decoration: none;
  padding: 1em 1.5em;
  border-radius: 3px;
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), background-color .15s var(--ease);
  will-change: transform;
}
.btn-primary {
  background: var(--red-deep);
  color: var(--paper-bright);
  border: 2px solid var(--red-press);
  box-shadow: 0 3px 0 var(--red-press);
}
.btn-primary:hover { background: var(--red-press); transform: translateY(-1px); box-shadow: 0 4px 0 #6E120D; }
.btn-primary:active { transform: translateY(2px); box-shadow: 0 0 0 var(--red-press); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 0 3px 0 var(--ink);
}
.btn-ghost:hover { background: var(--paper-bright); transform: translateY(-1px); box-shadow: 0 4px 0 var(--ink); }
.btn-ghost:active { transform: translateY(2px); box-shadow: 0 0 0 var(--ink); }
.btn-arrow { font-size: .85em; translate: 0 .04em; }
.btn-lg { font-size: 1.1rem; padding: 1.1em 1.8em; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.reassure {
  font: 500 .82rem/1.6 var(--font-mono);
  letter-spacing: .04em;
  color: var(--muted);
  margin-top: 1.2rem;
}

/* ---------- nav ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper); /* fallback for engines without color-mix */
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow .25s var(--ease);
}
.site-nav.scrolled { box-shadow: 0 8px 24px -18px rgba(26,23,20,.45); }

.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-block: .9rem;
}

.wordmark {
  font: 900 1.45rem/1 var(--font-display);
  letter-spacing: -.02em;
  text-decoration: none;
}
.wm-dot { color: var(--red); }

.nav-links {
  display: flex;
  gap: 1.6rem;
  margin-left: auto;
}
.nav-links a {
  font: 600 .92rem/1 var(--font-display);
  text-decoration: none;
  position: relative;
  padding-block: .35em;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2.5px;
  background: var(--red);
  border-radius: 2px;
  transition: right .22s var(--ease);
}
.nav-links a:hover::after { right: 0; }

.btn-nav { padding: .72em 1.1em; font-size: .9rem; }

/* ---------- hero ---------- */

.hero { padding-block: clamp(4rem, 8vw, 7rem) clamp(4.5rem, 9vw, 7.5rem); overflow-x: clip; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.55rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: 1.02;
  margin-block: .4rem 1.6rem;
}
.h1-line { display: block; }

.hero-sub {
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 52ch;
  margin-bottom: 2rem;
}

/* hero load choreography */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes drawIn { to { stroke-dashoffset: 0; } }
@keyframes cardIn {
  from { opacity: 0; transform: rotate(-1.5deg) translateY(26px) scale(.97); }
  to   { opacity: 1; transform: rotate(-1.5deg) translateY(0) scale(1); }
}
@keyframes stampIn {
  0%   { opacity: 0; transform: rotate(-7deg) scale(1.45); }
  70%  { opacity: 1; transform: rotate(-7deg) scale(.96); }
  100% { opacity: 1; transform: rotate(-7deg) scale(1); }
}

.load-1, .load-2, .load-3, .load-4, .load-5, .load-6, .load-7 {
  animation: fadeUp .7s var(--ease) both;
}
.load-1 { animation-delay: .05s; }
.load-2 { animation-delay: .18s; }
.load-3 { animation-delay: .30s; }
.load-4 { animation-delay: .42s; }
.load-5 { animation-delay: .60s; }
.load-6 { animation-delay: .74s; }
.load-7 { animation-delay: .88s; }

.u-hero path { animation: drawIn .55s var(--ease) 1.15s both; }
.u-hero path.p2 { animation-delay: 1.35s; }

/* hero visual: stacked papers on a desk */
.hero-visual {
  position: relative;
  min-height: 380px;
  display: grid;
  place-items: center;
}

.frag-card {
  position: absolute;
  top: 6%;
  right: 2%;
  width: min(78%, 300px);
  background: var(--paper-bright);
  border: 1px solid var(--rule);
  border-radius: 3px;
  box-shadow: 0 14px 30px -20px rgba(26,23,20,.5);
  transform: rotate(2.8deg);
  padding: 1rem 1.1rem 1.2rem;
  font: 500 .72rem/2 var(--font-mono);
  color: var(--ink-soft);
  animation: fadeUp .8s var(--ease) .35s both;
}
.frag-head {
  letter-spacing: .1em;
  color: var(--muted);
  border-bottom: 1px solid var(--rule);
  padding-bottom: .4em;
  margin-bottom: .4em;
}
.frag-row { display: flex; align-items: baseline; gap: .5em; }
.frag-leader { flex: 1; border-bottom: 1px dotted var(--rule); translate: 0 -.45em; }
.ringed {
  position: relative;
  color: var(--red-deep);
  font-weight: 600;
}
.ringed::after {
  content: "";
  position: absolute;
  inset: -.42em -.6em;
  border: 2.5px solid var(--red);
  border-radius: 50%;
  transform: rotate(-4deg);
  opacity: .85;
}

.third-card {
  position: relative;
  z-index: 2;
  width: min(88%, 340px);
  background: var(--paper-bright);
  border: 1px solid var(--rule);
  border-radius: 3px;
  box-shadow: 0 1px 0 rgba(26,23,20,.05), 0 24px 44px -24px rgba(26,23,20,.55);
  padding: 2.2rem 2rem 2.4rem;
  text-align: center;
  transform: rotate(-1.5deg);
  animation: cardIn .8s var(--ease) .5s both;
}

.frac-eyebrow, .frac-caption {
  font: 600 .75rem/1.4 var(--font-mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.frac {
  display: grid;
  justify-items: center;
  gap: .1em;
  margin-block: 1rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-optical-sizing: auto;
  color: var(--red);
  line-height: .9;
}
.frac-num, .frac-den { font-size: clamp(4.2rem, 8vw, 6rem); font-variant-numeric: lining-nums; }
.frac-bar {
  width: 2.2em;
  height: 5px;
  background: var(--red);
  border-radius: 3px;
  transform: rotate(-1.2deg);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
}

.circle-mark {
  position: absolute;
  inset: 16% 6% 12% 6%;
  width: 88%;
  height: 72%;
  stroke-width: 3.5;
  opacity: .9;
  pointer-events: none;
}
.circle-mark path { animation: drawIn .9s var(--ease) 1.5s both; }

/* the stamp */
.stamp {
  position: absolute;
  z-index: 3;
  bottom: 2%;
  left: 0;
  font: 800 .8rem/1.35 var(--font-display);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red-deep);
  border: 2.5px solid var(--red-deep);
  border-radius: 5px;
  padding: .65em .9em;
  transform: rotate(-7deg);
  opacity: .92;
  background: color-mix(in srgb, var(--paper-bright) 65%, transparent);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.08' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.6 -0.25'/%3E%3C/filter%3E%3Crect width='160' height='160' fill='%23fff' filter='url(%23r)'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.08' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.6 -0.25'/%3E%3C/filter%3E%3Crect width='160' height='160' fill='%23fff' filter='url(%23r)'/%3E%3C/svg%3E");
  animation: stampIn .5s var(--ease) 1.85s both;
}
.load-stamp { /* alias kept for markup clarity */ }

/* ---------- scroll reveals ---------- */

/* hidden-until-revealed only when JS is confirmed present (html.js) —
   without JS the page is fully visible and static */
html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease) var(--d, 0s), transform .7s var(--ease) var(--d, 0s);
}
html.js .reveal.inview { opacity: 1; transform: none; }

/* ---------- 01 three sentences ---------- */

.three-sentences {
  border-top: 1px solid var(--rule);
  background: var(--paper); /* fallback */
  background: linear-gradient(var(--paper), color-mix(in srgb, var(--paper) 70%, var(--paper-deep)));
}

.sentences-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.8rem, 4vw, 3.2rem);
}
.sentence h3 {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -.015em;
  margin-bottom: .9rem;
}
.sentence p { color: var(--ink-soft); }

/* ---------- 02 process ---------- */

.process { border-top: 1px solid var(--rule); }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.6rem, 3vw, 2.6rem);
  counter-reset: step;
}
.step {
  border-top: 2px solid var(--ink);
  padding-top: 1.2rem;
  position: relative;
}
.step-no {
  font: 600 .95rem/1 var(--font-mono);
  color: var(--red-deep);
  display: block;
  margin-bottom: .9rem;
}
.step h3 {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .7rem;
}
.step p { font-size: .98rem; color: var(--ink-soft); }

/* ---------- 03 insight ---------- */

.insight {
  background: var(--ink);
  color: var(--paper);
}
.insight .eyebrow { color: #A99E8A; }
.insight .eb-rule { background: #3A352E; }
.insight .sec-head h2 { color: var(--paper-bright); max-width: 22ch; }
.insight .sec-sub { color: #C9BFAC; }

.insight-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.insight .sec-head { margin-bottom: 0; }

.qb-chip {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  margin-top: 1.6rem;
  font: 500 .8rem/1.4 var(--font-mono);
  color: #C9BFAC;
  border: 1px solid #3A352E;
  border-radius: 4px;
  padding: .6em .9em;
}
.qb-mark {
  display: inline-grid;
  place-items: center;
  width: 1.7em;
  height: 1.7em;
  border-radius: 50%;
  background: #2CA01C; /* QuickBooks green */
  color: #fff;
  font: 700 .8em/1 var(--font-display);
  letter-spacing: 0;
}

.findings { display: grid; gap: 1px; background: #3A352E; border: 1px solid #3A352E; border-radius: 4px; overflow: hidden; }
.finding {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  grid-template-areas: "term delta" "note delta";
  gap: .2rem 1.6rem;
  align-items: center;
  background: #211D19;
  padding: 1.3rem 1.5rem;
  transition: background .2s var(--ease), translate .2s var(--ease);
}
.finding:hover { background: #262119; translate: 3px 0; }
.f-term {
  grid-area: term;
  font: 600 .8rem/1 var(--font-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #A99E8A;
}
.f-delta {
  grid-area: delta;
  font: 700 2rem/1 var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--paper-bright);
  white-space: nowrap;
}
.f-delta.f-warn { color: #F0564E; }
.f-arrow { font-size: .7em; margin-right: .15em; }
.f-note {
  grid-area: note;
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.02rem;
  color: #C9BFAC;
}

/* ---------- 04 provenance ---------- */

.provenance { border-top: 1px solid var(--rule); }
.provenance .sec-head { max-width: 52ch; }

.prov-artifact {
  background: var(--paper-bright);
  border: 1px solid var(--rule);
  border-radius: 4px;
  box-shadow: 0 1px 0 rgba(26,23,20,.05), 0 20px 40px -28px rgba(26,23,20,.5);
  padding: 1.4rem 1.6rem 1rem;
  font-family: var(--font-mono);
}
.prov-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font: 600 .74rem/1.4 var(--font-mono);
  letter-spacing: .12em;
  color: var(--muted);
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: .7em;
  margin-bottom: .3em;
}
.prov-head-r { letter-spacing: .04em; text-transform: none; font-style: italic; font-family: var(--font-body); font-size: .92rem; margin-left: auto; }

.prov-pause {
  font: 600 .68rem/1 var(--font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  background: transparent;
  border: 1.5px solid var(--rule);
  border-radius: 4px;
  padding: .5em .8em;
  cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.prov-pause:hover { color: var(--ink); border-color: var(--ink); }
.prov-pause[aria-pressed="true"] { color: var(--red-deep); border-color: var(--red-deep); }

.prov-row {
  display: grid;
  grid-template-columns: 5.2rem minmax(0, 1.2fr) minmax(2rem, 1fr) auto minmax(0, auto);
  align-items: center;
  gap: .9rem;
  padding: .85rem .4rem;
  border-bottom: 1px solid var(--rule);
  cursor: default;
  transition: background .2s var(--ease);
}
.prov-row:last-child { border-bottom: 0; }
.prov-row.active { background: color-mix(in srgb, var(--red) 5%, var(--paper-bright)); }

.p-line { font: 600 .78rem/1 var(--font-mono); letter-spacing: .06em; color: var(--muted); }
.p-label { font-family: var(--font-body); font-size: 1.02rem; }
.p-leader { height: 0; border-bottom: 2px dotted var(--rule); transition: border-color .25s var(--ease); position: relative; }
.p-amount { font: 600 1.05rem/1 var(--font-mono); font-variant-numeric: tabular-nums; }
.p-chip {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font: 500 .76rem/1.3 var(--font-mono);
  color: var(--ink-soft);
  background: var(--paper);
  border: 1.5px solid var(--rule);
  border-radius: 4px;
  padding: .55em .8em;
  transition: border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.chip-dot {
  width: .5em; height: .5em;
  border-radius: 50%;
  background: var(--rule);
  transition: background .25s var(--ease);
}

@keyframes leaderMarch { to { background-position: 14px 0; } }
.prov-row.active .p-leader {
  border-bottom-color: transparent;
  background-image: repeating-linear-gradient(90deg, var(--red) 0 7px, transparent 7px 14px);
  background-size: 14px 2.5px;
  background-repeat: repeat-x;
  background-position: 0 0;
  height: 2.5px;
  animation: leaderMarch .5s linear infinite;
}
.prov-row.active .p-leader::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 50%;
  width: 8px; height: 8px;
  border-top: 2.5px solid var(--red);
  border-right: 2.5px solid var(--red);
  transform: translateY(-50%) rotate(45deg);
}
.prov-row.active .p-chip {
  border-color: var(--red);
  color: var(--red-deep);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px -8px rgba(215,50,43,.55);
}
.prov-row.active .chip-dot { background: var(--red); }
.prov-row.active .p-amount { color: var(--red-deep); }

.prov-caption {
  margin-top: 1.4rem;
  font-style: italic;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

/* ---------- 05 pricing ---------- */

.pricing {
  border-top: 1px solid var(--rule);
  background: var(--paper); /* fallback */
  background: linear-gradient(color-mix(in srgb, var(--paper) 70%, var(--paper-deep)), var(--paper));
}

.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.pricing-copy p { color: var(--ink-soft); max-width: 52ch; }
.pricing-copy p + p { margin-top: 1rem; }
.pricing-copy strong { color: var(--ink); }

.receipt {
  list-style: none;
  margin: 2rem 0 0;
  padding: 1.3rem 1.5rem;
  background: var(--paper-bright);
  border: 1px solid var(--rule);
  border-radius: 4px;
  box-shadow: 0 14px 30px -24px rgba(26,23,20,.5);
}
.receipt li {
  display: flex;
  align-items: baseline;
  gap: .8em;
  padding-block: .55em;
  font-size: .98rem;
}
.r-leader { flex: 1; border-bottom: 2px dotted var(--rule); translate: 0 -.25em; }
.r-val {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  font: 600 .85rem/1 var(--font-mono);
  letter-spacing: .03em;
}
.tick { width: 1em; height: .8em; fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.r-strike .r-val { color: var(--muted); }
.strike-wrap { position: relative; display: inline-block; }
.strike-wrap .strike {
  position: absolute;
  inset: 40% -8% auto;
  height: .5em;
  stroke-width: 3;
}

.pricing-visual { position: relative; }
.bars {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(2rem, 5vw, 3.5rem);
  padding: 2.5rem 1rem 0;
  min-height: 360px;
}
.bar-group { display: grid; gap: .8rem; justify-items: center; }
.bar {
  width: clamp(90px, 11vw, 130px);
  border-radius: 3px 3px 0 0;
  display: grid;
  place-items: end center;
  padding-bottom: .8rem;
  transform-origin: bottom;
}
.bar-now {
  height: 280px;
  background: var(--paper-deep);
  border: 1.5px solid var(--muted);
  border-bottom: none;
  background-image: repeating-linear-gradient(-45deg, rgba(26,23,20,.07) 0 1.5px, transparent 1.5px 8px);
}
.bar-pp {
  height: 96px;
  background: var(--red-deep);
  border: 1.5px solid var(--red-press);
  border-bottom: none;
}
.bar-val { font: 700 .95rem/1 var(--font-mono); color: var(--ink-soft); }
.bar-pp .bar-val { color: var(--paper-bright); }
.bar-label { font: 700 .85rem/1 var(--font-display); letter-spacing: .04em; text-transform: uppercase; }

@keyframes barGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.inview .bar-now { animation: barGrow .7s var(--ease) .2s both; }
.inview .bar-pp { animation: barGrow .7s var(--ease) .55s both; }

.bar-note {
  position: absolute;
  top: 0;
  right: 4%;
  width: 150px;
  text-align: right;
}
.note-arrow { width: 86px; height: 64px; stroke-width: 3; margin-left: auto; }
.note-text {
  display: block;
  font: 600 1.05rem/1.25 var(--font-body);
  font-style: italic;
  color: var(--red-deep);
  transform: rotate(-3deg);
}

/* ---------- 06 partners ---------- */

.partners { border-top: 1px solid var(--rule); }

.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  max-width: 920px;
}
.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 300px;
  background: var(--paper-deep);
  border: 1px solid var(--rule);
  border-radius: 3px;
  box-shadow: inset 0 0 0 10px var(--paper-bright), inset 0 0 0 11px var(--rule), 0 16px 32px -24px rgba(26,23,20,.5);
  display: grid;
  place-items: center;
  margin-bottom: 1.4rem;
}
.portrait-tk {
  font: 600 1.6rem/1.2 var(--font-body);
  font-style: italic;
  color: var(--muted);
  text-align: center;
}
.portrait-tick {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2.5px solid var(--red);
  opacity: .85;
  transform: rotate(-6deg);
}
.partner h3 { font-size: 1.3rem; letter-spacing: -.01em; }
.partner-role {
  font: 600 .78rem/1 var(--font-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red-deep);
  margin: .5rem 0 .9rem;
}
.partner p:last-child { color: var(--ink-soft); }
abbr { text-decoration: none; }

.partners-line {
  margin-top: 2.8rem;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--ink-soft);
  max-width: 50ch;
}
.partners .footnote { margin-top: .8rem; }

/* ---------- closing ---------- */

.closing { padding-top: 1rem; }
.closing-card {
  position: relative;
  background: var(--paper-bright);
  border: 2.5px solid var(--ink);
  border-radius: 5px;
  box-shadow: 0 3px 0 var(--ink), 0 30px 60px -40px rgba(26,23,20,.6);
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
  transform: rotate(-.4deg);
}
.closing-card h2 {
  font-size: clamp(1.8rem, 3.8vw, 2.9rem);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.12;
  max-width: 26ch;
  margin-inline: auto;
}
.closing-sub {
  margin: 1.4rem auto 1.2rem;
  max-width: 56ch;
  font-size: 1.12rem;
  color: var(--ink-soft);
}
.closing-steps {
  list-style: none;
  margin: 0 auto 2rem;
  padding: 0;
  max-width: 46ch;
  text-align: left;
  display: grid;
  gap: .55rem;
  counter-reset: cstep;
}
.closing-steps li {
  counter-increment: cstep;
  display: flex;
  gap: .8em;
  align-items: baseline;
  color: var(--ink-soft);
  font-size: 1.05rem;
}
.closing-steps li::before {
  content: counter(cstep) ".";
  font: 600 .9rem/1 var(--font-mono);
  color: var(--red-deep);
}
.closing-secure {
  margin-top: .9rem;
  font-style: italic;
  font-size: .95rem;
  color: var(--muted);
}
.closing .cta-row { justify-content: center; }
.closing-alt { margin-top: 1.2rem; font-style: italic; color: var(--ink-soft); }
.closing-alt a { color: var(--red-deep); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.closing .reassure { margin-top: 1.6rem; }

.stamp-corner {
  position: absolute;
  top: -1.1rem;
  right: clamp(.5rem, 4vw, 3rem);
  bottom: auto;
  left: auto;
  transform: rotate(5deg);
  animation: none;
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--ink);
  color: #EDE5D4;
  padding-block: 3.5rem;
  margin-top: clamp(3rem, 7vw, 5rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 2.5rem;
  align-items: start;
}
.wordmark-ft { font-size: 1.5rem; }
.footer-tag { font-style: italic; color: #A99E8A; margin-top: .4rem; }
.footer-links { display: grid; gap: .7rem; justify-items: start; }
.footer-links a {
  font: 600 .92rem/1 var(--font-display);
  text-decoration: none;
  color: #EDE5D4;
  border-bottom: 2px solid transparent;
  padding-bottom: .2em;
  transition: border-color .2s var(--ease);
}
.footer-links a:hover { border-color: var(--red); }
.footer-fine { font-size: .82rem; line-height: 1.7; color: #A99E8A; }
.footer-fine p + p { margin-top: .8rem; }

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; margin-top: 2.5rem; max-width: 460px; }
  .frag-card { top: -4%; right: 0; }
  .insight-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .bars { min-height: 320px; justify-content: flex-start; padding-left: 0; }
  .bar-note { right: 0; }
  .sentences-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  /* the four links + wordmark + CTA get cramped below ~820px — collapse early */
  .nav-links { display: none; }
  .nav-inner { gap: 1rem; }
  .btn-nav { margin-left: auto; }
}

@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: 1fr; }
  .prov-artifact { padding: 1rem .9rem .6rem; overflow-x: auto; }
  .prov-row {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "line label amount" "chip chip chip";
    row-gap: .5rem;
  }
  .prov-row .p-line { grid-area: line; }
  .prov-row .p-label { grid-area: label; }
  .prov-row .p-amount { grid-area: amount; }
  .prov-row .p-leader { display: none; }
  .prov-row .p-chip { grid-area: chip; justify-self: start; }
  .footer-grid { grid-template-columns: 1fr; }
  .stamp { position: static; display: inline-block; margin-top: 1.2rem; }
  .hero-visual { place-items: start; }
}

/* ---------- print ---------- */

@media print {
  body::after { display: none; }
  .site-nav, .btn, .stamp, .prov-pause { display: none; }
  .insight { background: #fff; color: var(--ink); }
  .insight .sec-head h2, .f-delta { color: var(--ink); }
  .finding { background: #fff; }
  .f-note, .insight .sec-sub, .qb-chip, .f-term { color: var(--ink-soft); }
  * { box-shadow: none !important; text-shadow: none !important; }
  html.js .reveal { opacity: 1; transform: none; }
  .stroke path { stroke-dashoffset: 0 !important; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0ms !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }
  .stroke path { stroke-dashoffset: 0 !important; }
  .reveal { opacity: 1; transform: none; }
  .prov-row.active .p-leader { animation: none; }
}
