/* pep Identity System v3, "Flare Orange · Full Volume".
   Layout: ink cover (header + masthead) edge to edge, white work sections opened by a 3px orange rule
   and separated by 2px ink rules, ink closing band and footer. One family (Archivo), width does the work.
   Single deliberate look: the brand is fixed colours, so there is no dark variant. */
:root {
  --pep-accent: #FF6B00;
  --pep-accent-hover: #FF8533;
  --pep-accent-active: #D95A00;
  --pep-ink: #0B0B0B;
  --pep-surface: #FFFFFF;
  --pep-elevated: #141414;
  --pep-border-dark: #2A2A2A;
  --pep-secondary: #6E6E6E;
  --pep-disabled: #9E9E9E;
  --pep-rule: #E4E4E4;
  --pep-fill: #F4F4F4;
  --pep-selected: #FFF0E5;
  /* semantic colours: product previews only */
  --pos: #0A7C5A; --neg: #C51A1A;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, 0, 0, 1);
  --t-state: 120ms;

  --gutter: 16px;
  --section-y: 64px;
  --focus: var(--pep-ink);
  color-scheme: light;
}
@media (min-width: 720px) { :root { --gutter: 32px; --section-y: 96px; } }
@media (min-width: 1100px) { :root { --gutter: 48px; } }

*, *::before, *::after { box-sizing: border-box; border-radius: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--pep-surface);
  color: var(--pep-ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }

.wrap {
  max-width: 1200px;
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--pep-surface); color: var(--pep-ink); padding: 8px 12px; }

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

/* ---------- Type scale ---------- */
h1, h2, h3 { margin: 0; text-wrap: balance; }
.display-xl {
  font-size: 40px; line-height: 40px;
  font-weight: 900; font-stretch: 125%; letter-spacing: -0.045em;
}
.display-l, .page-head h1 {
  font-size: 40px; line-height: 44px;
  font-weight: 800; font-stretch: 118%; letter-spacing: -0.035em;
}
.h1, .section .detail h2 {
  font-size: 28px; line-height: 32px;
  font-weight: 800; font-stretch: 100%; letter-spacing: -0.02em;
}
.section h2 {
  font-size: 40px; line-height: 44px;
  font-weight: 800; font-stretch: 118%; letter-spacing: -0.035em;
}
.h2, .section h3 {
  font-size: 20px; line-height: 26px;
  font-weight: 700; letter-spacing: -0.01em;
}
@media (min-width: 720px) {
  .display-xl { font-size: 64px; line-height: 60px; }
  .display-l, .page-head h1 { font-size: 64px; line-height: 60px; }
  .h1, .detail h2 { font-size: 40px; line-height: 44px; }
  .section h2 { font-size: 64px; line-height: 60px; }
  .section .detail h2 { font-size: 40px; line-height: 44px; font-stretch: 100%; letter-spacing: -0.02em; }
  .h2, .section h3 { font-size: 28px; line-height: 32px; letter-spacing: -0.015em; }
}
@media (min-width: 1100px) {
  .display-xl { font-size: 96px; line-height: 88px; }
}
.lede { font-size: 18px; line-height: 28px; }
.standfirst { font-size: 18px; line-height: 28px; font-weight: 600; }
.prose { display: grid; gap: 16px; max-width: 34em; font-size: 18px; line-height: 28px; }
.prose-wide { max-width: 72ch; }

/* ---------- Word mark ---------- */
.wordmark {
  font-family: var(--font);
  font-weight: 900; font-stretch: 125%; letter-spacing: -0.045em;
  text-transform: lowercase;
  color: var(--pep-accent);
  text-decoration: none;
  font-size: 36px; line-height: 1;
  display: inline-block;
  padding-bottom: 4px;
}
.wordmark-footer { font-size: 64px; }

/* Header lockup (as on the live site): word mark, a full-height rule, then the descriptor
   one word per line in grey uppercase labels */
.brand { display: flex; align-items: stretch; align-self: stretch; text-decoration: none; }
.brand .wordmark { display: flex; align-items: center; padding: 0 24px 6px 0; }
.lockup {
  display: flex; align-items: center;
  width: min-content;
  padding-left: 24px; border-left: 1px solid var(--pep-border-dark);
  font-size: 13px; line-height: 16px; font-weight: 400;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--pep-disabled);
}
@media (max-width: 719px) {
  .brand .wordmark { padding-right: 16px; }
  .lockup { padding-left: 16px; }
}
.btn-caps { font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 24px;
  font-family: var(--font); font-size: 16px; font-weight: 700; letter-spacing: -0.01em;
  text-decoration: none; white-space: nowrap;
  border: 2px solid transparent; cursor: pointer;
  transition: background-color var(--t-state) var(--ease), color var(--t-state) var(--ease), border-color var(--t-state) var(--ease);
}
.btn-40 { height: 40px; padding: 0 16px; }
.btn-primary { background: var(--pep-accent); border-color: var(--pep-accent); color: var(--pep-ink); }
.btn-primary:hover { background: var(--pep-accent-hover); border-color: var(--pep-accent-hover); }
.btn-primary:active { background: var(--pep-accent-active); border-color: var(--pep-accent-active); }
.btn-outline { background: transparent; border-color: currentColor; color: inherit; }
.ink .btn-outline:hover, .masthead .btn-outline:hover { background: var(--pep-surface); border-color: var(--pep-surface); color: var(--pep-ink); }
.btn-outline:hover { background: var(--pep-ink); border-color: var(--pep-ink); color: var(--pep-surface); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Ink surfaces ---------- */
.masthead, .ink, .site-footer {
  background: var(--pep-ink);
  color: var(--pep-surface);
  --focus: var(--pep-accent);
}

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--pep-border-dark); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 72px; padding-block: 0;
}
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a:not(.btn) {
  font-size: 16px; font-weight: 400; text-decoration: none;
  padding-block: 4px;
  border-bottom: 2px solid transparent;
  transition: color var(--t-state) var(--ease), border-color var(--t-state) var(--ease);
}
.site-nav a:not(.btn):hover { color: var(--pep-accent-hover); }
.site-nav a[aria-current="page"]:not(.btn) { border-bottom-color: var(--pep-surface); }
.nav-toggle {
  display: none;
  width: 48px; height: 48px; margin-right: -12px; padding: 0;
  background: transparent; color: var(--pep-surface);
  border: 0; cursor: pointer;
  align-items: center; justify-content: center;
}
/* Burger: three bars that turn into a cross when open */
.nav-toggle .bars { position: relative; display: block; width: 24px; height: 16px; }
.nav-toggle .bars span { position: absolute; left: 0; width: 24px; height: 2px; background: currentColor; transition: transform 200ms var(--ease), opacity 120ms var(--ease); }
.nav-toggle .bars span:nth-child(1) { top: 0; }
.nav-toggle .bars span:nth-child(2) { top: 7px; }
.nav-toggle .bars span:nth-child(3) { top: 14px; }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-toggle:hover { color: var(--pep-accent-hover); }
@media (max-width: 719px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 72px; z-index: 5;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--pep-ink);
    border-bottom: 1px solid var(--pep-border-dark);
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
    padding-block: 8px 24px;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding-block: 16px; border-bottom: 1px solid var(--pep-border-dark); }
  .site-nav a[aria-current="page"]:not(.btn) { border-bottom-color: var(--pep-border-dark); color: var(--pep-accent-hover); }
  .site-nav .btn { margin-top: 24px; height: 48px; }
  .site-header { position: relative; }
}

/* ---------- Masthead (hero / page head) ---------- */
.hero { padding-block: 64px; display: grid; gap: 32px; }
.hero .lede { max-width: 38ch; }
.page-head { padding-block: 64px; display: grid; gap: 24px; }
.page-head .lede { max-width: 56ch; }
@media (min-width: 720px) {
  .hero { padding-block: 96px; gap: 48px; }
  .page-head { padding-block: 96px 64px; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section > .wrap { display: grid; gap: 24px; }
/* Rules sit inside the gutter so they line up with the text: 3px orange opens the first section, 2px ink between the rest */
.section > .wrap { position: relative; }
.section > .wrap::before {
  content: ""; position: absolute; top: 0;
  left: max(var(--gutter), env(safe-area-inset-left, 0px));
  right: max(var(--gutter), env(safe-area-inset-right, 0px));
  height: 2px; background: var(--pep-ink);
}
.section + .section { padding-top: 0; }
.section > .wrap { padding-top: var(--section-y); }
main > .section:first-child > .wrap { padding-top: 48px; }
main > .section:first-child > .wrap::before { height: 3px; background: var(--pep-accent); }
.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }
main > .section:first-child { padding-top: 64px; }

/* Two modules side by side */
.modules { display: grid; gap: 32px; margin-top: 8px; }
.module { display: grid; gap: 16px; font-size: 18px; line-height: 28px; align-content: start; border-top: 1px solid var(--pep-rule); padding-top: 24px; min-width: 0; }
.module .more { font-weight: 600; }
@media (min-width: 720px) { .modules { grid-template-columns: 1fr 1fr; gap: 48px; } }

/* Product module detail: heading column + copy column */
.detail { display: grid; gap: 24px; }
.detail-head { display: grid; gap: 16px; align-content: start; }
.detail-body { display: grid; gap: 24px; min-width: 0; max-width: 34em; font-size: 18px; line-height: 28px; }
@media (min-width: 960px) { .detail { grid-template-columns: 5fr 7fr; gap: 64px; } }

/* Bullets: hollow orange circles */
.list { list-style: none; margin: 0; padding: 0; display: grid; }
.list li {
  position: relative; padding: 12px 0 12px 32px;
  border-top: 1px solid var(--pep-rule);
}
.list li:last-child { border-bottom: 1px solid var(--pep-rule); }
.list li::before {
  content: ""; position: absolute; left: 4px; top: 20px;
  width: 12px; height: 12px; border: 2px solid var(--pep-accent); border-radius: 50%;
}

/* Founders */
.person h2 .org { font-weight: 400; color: var(--pep-secondary); }

/* Closing band */
.closer { padding-block: 64px; }
.closer .wrap { display: grid; gap: 32px; justify-items: start; }
@media (min-width: 720px) { .closer { padding-block: 96px; } }

/* ---------- Form ---------- */
.form { display: grid; gap: 24px; max-width: 720px; }
.field-row { display: grid; gap: 24px; }
@media (min-width: 720px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; min-width: 0; }
.field label {
  font-size: 13px; line-height: 16px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
}
.field .hint { font-size: 14px; line-height: 20px; color: var(--pep-secondary); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 16px;
  font: 400 16px/24px var(--font); color: var(--pep-ink);
  background: var(--pep-surface);
  border: 1px solid var(--pep-ink);
  appearance: none; -webkit-appearance: none;
  transition: border-color var(--t-state) var(--ease);
}
.field textarea { min-height: 128px; resize: vertical; }
.field select {
  padding-right: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230B0B0B' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--pep-ink); outline-offset: 3px; }
.form-foot { display: grid; gap: 16px; justify-items: start; }
.small { font-size: 14px; line-height: 20px; color: var(--pep-secondary); }
.form-status { font-weight: 600; }
.form-status:empty { display: none; }


/* ---------- Product frames (product page): pep screens rebuilt from the beta, sample data ---------- */
.pf .label { font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.pf .muted { color: var(--pep-secondary); }
.pf h3 { margin: 0; }
.pf strong { font-weight: 700; }
/* Product frame */
.pf { margin-top: 0; border: 1px solid var(--pep-ink); background: var(--pep-surface); }
.pf .chrome { background: var(--pep-ink); color: var(--pep-surface); --focus: var(--pep-accent); }
.pf .chrome-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--pep-border-dark); flex-wrap: wrap; }
.pf .chrome-top .wm { font-size: 28px; font-weight: 900; font-stretch: 125%; letter-spacing: -0.045em; color: var(--pep-accent); line-height: 1; padding-bottom: 4px; }
.pf .chrome-top .deal { display: flex; align-items: center; gap: 16px; min-width: 0; }
.pf .chrome-top .deal span:last-child { font-weight: 600; }
.pf .chip-dark { border: 1px solid var(--pep-disabled); color: var(--pep-disabled); padding: 4px 8px; font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.pf .tabs { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; }
.pf .tabgroup { display: flex; align-items: stretch; border-right: 1px solid var(--pep-border-dark); }
.pf .tabgroup:last-child { border-right: 0; }
.pf .tabgroup .group { display: flex; align-items: center; padding: 0 16px; color: var(--pep-secondary); white-space: nowrap; }
.pf .tab { height: 48px; padding: 0 16px; background: transparent; border: 0; border-bottom: 3px solid transparent; color: var(--pep-disabled); font: 600 13px/16px var(--font); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; white-space: nowrap; transition: color 120ms var(--ease), border-color 120ms var(--ease); }
.pf .tab:hover { color: var(--pep-surface); }
.pf .tab[aria-selected="true"] { color: var(--pep-surface); border-bottom-color: var(--pep-accent); }

.pf .screen { padding: 24px 16px; display: grid; gap: 24px; min-height: 560px; align-content: start; }
@media (min-width: 720px) { .pf .screen { padding: 32px; } }
.pf .screen[hidden] { display: none; }
.pf .screen.enter > * { animation: enter 200ms var(--ease) both; }
.pf .screen.enter > *:nth-child(2) { animation-delay: 40ms; } .pf .screen.enter > *:nth-child(3) { animation-delay: 80ms; } .pf .screen.enter > *:nth-child(4) { animation-delay: 120ms; }
@keyframes enter { from { opacity: 0; transform: translateY(8px); } }
.pf .callout { background: var(--pep-fill); border-left: 3px solid var(--pep-accent); padding: 16px 24px; font-size: 18px; line-height: 28px; }
.pf .sub { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.pf .scroll { overflow-x: auto; }

/* Status chips: square and bordered */
.pf .chip { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border: 1px solid currentColor; font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.pf .chip.pos { color: var(--pos); }
.pf .chip.pos.solid { background: var(--pos); border-color: var(--pos); color: var(--pep-surface); }
.pf .chip.idle { color: var(--pep-secondary); border-color: var(--pep-rule); }

/* 1. Objective framework */
.pf .ofw { min-width: 760px; display: grid; gap: 4px; }
.pf .ofw .band { background: var(--pep-ink); color: var(--pep-surface); padding: 12px 16px; }
.pf .ofw .band.input { background: var(--pep-elevated); color: var(--pep-disabled); }
.pf .ofw .cells { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.pf .ofw .cell { border: 1px solid var(--pep-rule); padding: 12px 16px; min-height: 72px; display: grid; align-content: center; gap: 4px; color: var(--pep-secondary); font-weight: 600; font-stretch: 112%; }
.pf .ofw .cell small { font-weight: 400; font-stretch: 100%; font-size: 14px; line-height: 20px; font-style: italic; color: var(--pep-disabled); }
.pf .ofw .cell.biz { background: var(--pep-ink); color: var(--pep-surface); border-color: var(--pep-ink); }
.pf .ofw .cell.sup { background: var(--pep-selected); color: var(--pep-ink); border-color: var(--pep-accent); box-shadow: none; border-top-width: 3px; }
.pf .ofw .cell.biz span, .pf .ofw .cell.sup span { font-weight: 400; font-stretch: 100%; font-size: 14px; line-height: 20px; }
.pf .ofw .cell.trk { background: var(--pep-elevated); color: var(--pep-surface); border-color: var(--pep-elevated); text-align: center; }
.pf .ofw .cell.trk span { font-weight: 400; font-stretch: 100%; font-size: 14px; line-height: 20px; color: var(--pep-disabled); }
.pf .ofw .cell.off { background: var(--pep-fill); color: var(--pep-disabled); text-align: center; font-weight: 400; }
.pf .ofw .span2 { grid-column: span 2; } .pf .ofw .span3 { grid-column: span 3; }
.pf .legend { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; color: var(--pep-secondary); }
.pf .legend i { display: inline-block; width: 12px; height: 12px; margin-right: 8px; vertical-align: -1px; }
.pf .legend .count { margin-left: auto; font-weight: 700; color: var(--pep-ink); }

/* 2. Budget */
.pf .cards3 { display: grid; gap: 16px; }
@media (min-width: 900px) { .pf .cards3 { grid-template-columns: repeat(3, 1fr); } }
.pf .bcard { border: 1px solid var(--pep-rule); border-left: 3px solid var(--pep-ink); padding: 24px; display: grid; gap: 12px; align-content: start; }
.pf .bcard .fig { font-size: 40px; line-height: 44px; font-weight: 800; font-stretch: 118%; letter-spacing: -0.035em; }
.pf .bcard .fig.key { color: var(--pep-accent); }
.pf .bcard p { color: var(--pep-secondary); }

/* 3. Performance */
.pf .kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
@media (min-width: 900px) { .pf .kpis { grid-template-columns: repeat(6, 1fr); } }
.pf .kpi { align-content: start; border: 1px solid var(--pep-rule); border-top: 2px solid var(--pep-ink); padding: 16px; display: grid; gap: 4px; }
.pf .kpi .v { font-size: 28px; line-height: 32px; font-weight: 800; font-stretch: 118%; letter-spacing: -0.02em; }
.pf .kpi .v.key { color: var(--pep-accent); }
.pf .kpi .d { color: var(--pep-secondary); font-size: 14px; line-height: 20px; }
.pf .kpi .label { color: var(--pep-secondary); }
.pf .objs { display: grid; gap: 16px; }
@media (min-width: 900px) { .pf .objs { grid-template-columns: repeat(3, 1fr); } }
.pf .ocard { border: 1px solid var(--pep-rule); padding: 24px; display: grid; gap: 12px; align-content: start; }
.pf .ocard .head { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.pf .ocard h3 { font-size: 20px; line-height: 26px; font-weight: 700; letter-spacing: -0.01em; }
.pf .ocard .src { border-top: 1px solid var(--pep-rule); padding-top: 12px; color: var(--pep-secondary); }
.pf .ocard .states { display: flex; flex-wrap: wrap; gap: 4px; }

/* 4. Insights */
.pf .icard { border: 1px solid var(--pep-rule); border-left: 3px solid var(--pos); padding: 24px; display: grid; gap: 16px; align-content: start; }
.pf .icard .head { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.pf .icard h3 { font-size: 20px; line-height: 26px; font-weight: 700; letter-spacing: -0.01em; }
.pf .icard .next { background: var(--pep-fill); padding: 16px; display: grid; gap: 8px; }
.pf .icard .ev { color: var(--pep-secondary); font-size: 14px; line-height: 20px; }

/* 5. Scenarios */
.pf .scen { display: grid; gap: 24px; }
@media (min-width: 900px) { .pf .scen { grid-template-columns: 5fr 7fr; gap: 32px; align-items: start; } }
.pf .panel { border: 1px solid var(--pep-rule); padding: 24px; display: grid; gap: 16px; }
.pf .panel .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pf .btn-s { height: 32px; padding: 0 12px; border: 2px solid var(--pep-ink); background: var(--pep-surface); color: var(--pep-ink); font: 600 13px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: background-color 120ms var(--ease), color 120ms var(--ease); }
.pf .btn-s:hover { background: var(--pep-ink); color: var(--pep-surface); }
.pf .ch { display: grid; gap: 8px; }
.pf .ch .row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.pf .ch .name { font-weight: 600; }
.pf .ch .pct { font-weight: 800; font-stretch: 118%; }
.pf .ch .was { color: var(--pep-disabled); font-weight: 400; font-stretch: 100%; }
.pf .ch input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 24px; background: transparent; margin: 0; cursor: pointer; --p: 20%; }
.pf .ch input[type=range]::-webkit-slider-runnable-track { height: 4px; background: linear-gradient(var(--pep-ink), var(--pep-ink)) 0 / var(--p) 100% no-repeat, var(--pep-rule); }
.pf .ch input[type=range]::-moz-range-track { height: 4px; background: var(--pep-rule); }
.pf .ch input[type=range]::-moz-range-progress { height: 4px; background: var(--pep-ink); }
.pf .ch input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -6px; background: var(--pep-ink); border: 0; }
.pf .ch input[type=range]::-moz-range-thumb { width: 16px; height: 16px; background: var(--pep-ink); border: 0; border-radius: 0; }
.pf .ch.changed input[type=range]::-webkit-slider-thumb { background: var(--pep-accent); }
.pf .ch.changed input[type=range]::-moz-range-thumb { background: var(--pep-accent); }
.pf .moves { display: grid; }
.pf .move { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; min-height: 56px; padding-block: 12px; border-top: 1px solid var(--pep-rule); }
.pf .move:last-child { border-bottom: 1px solid var(--pep-rule); }
.pf .move .st { font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; transition: color 120ms var(--ease); }
.pf .move .st.up { color: var(--pos); } .pf .move .st.down { color: var(--neg); } .pf .move .st.flat { color: var(--pep-secondary); }
.pf .move .st.flash { animation: flash 200ms var(--ease); }
@keyframes flash { from { opacity: 0; transform: translateX(8px); } }
.pf .note-box { background: var(--pep-fill); border-left: 3px solid var(--pep-ink); padding: 16px 24px; color: var(--pep-ink); }

.pf-sample { color: var(--pep-secondary); font-size: 14px; line-height: 20px; }


.pf-sample { color: var(--pep-secondary); font-size: 14px; line-height: 20px; }
.pf-block { display: grid; gap: 12px; margin-top: 24px; min-width: 0; }

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

/* ---------- Footer ---------- */
.site-footer { padding-block: 64px 48px; }
.closer + .site-footer, main:has(> .closer:last-child) + .site-footer { padding-top: 0; }
main:has(> .closer:last-child) + .site-footer .footer-inner { border-top: 1px solid var(--pep-border-dark); padding-top: 48px; }
.footer-inner { display: grid; gap: 32px; }
.footer-brand { display: grid; gap: 16px; }
.footer-brand p { max-width: 40ch; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.footer-nav a { text-decoration: none; font-weight: 600; transition: color var(--t-state) var(--ease); }
.footer-nav a:hover { color: var(--pep-accent-hover); }
.footer-small { display: grid; gap: 8px; border-top: 1px solid var(--pep-border-dark); padding-top: 24px; font-size: 14px; line-height: 20px; color: var(--pep-disabled); }
.footer-small a { color: var(--pep-surface); }
.pf, .pf .screen > *, .pf .tabs { min-width: 0; }
.pf .tabs { max-width: 100%; }
.module .more { justify-self: start; text-underline-offset: 4px; text-decoration-thickness: 2px; transition: color var(--t-state) var(--ease); }
.module .more:hover { color: var(--pep-secondary); }

/* ================= Home: personality and motion (October 2026 critique) ================= */
/* Hero: cropped display word mark + staggered line reveal */
.page-index .masthead { position: relative; overflow: hidden; }
.page-index .site-header { position: relative; z-index: 2; }
.page-index .hero { position: relative; z-index: 1; padding-bottom: 0; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero h1 .line > span { display: block; }
.giant {
  display: block; text-align: right;
  font-size: 46vw; line-height: .74; padding: 24px 0 0;
  margin-right: calc(-0.06em - var(--gutter)); margin-bottom: -.2em;
  pointer-events: none; user-select: none;
}
@media (min-width: 720px) { .giant { font-size: 300px; } }
@media (min-width: 1100px) {
  .page-index .hero { padding-bottom: 96px; }
  .giant { position: absolute; right: 0; bottom: 0; margin: 0 -0.22em -.2em 0; padding: 0; font-size: 360px; }
}
.hero h1 .line > span, .hero .lede, .hero .actions, .giant { transition: transform 200ms var(--ease), opacity 200ms var(--ease); }
.hero h1 .line:nth-child(2) > span { transition-delay: 80ms; }
.hero .lede { transition-delay: 160ms; }
.hero .actions { transition-delay: 220ms; }
.giant { transition-duration: 320ms; transition-delay: 120ms; }
.pep-load .hero h1 .line > span { transform: translateY(105%); }
.pep-load .hero .lede, .pep-load .hero .actions { opacity: 0; transform: translateY(16px); }
.pep-load .giant { opacity: 0; transform: translateY(24%); }

/* Section reveal: only sections below the fold at load start hidden */
main > .section, main > .ticker { transition: opacity 200ms var(--ease), transform 200ms var(--ease); }
main > .pre { opacity: 0; transform: translateY(16px); }
main > .section:first-child > .wrap::before { transition: transform 600ms var(--ease); }
main > .section.pre:first-child > .wrap::before, .pep-load main > .section:first-child > .wrap::before { transform: translateX(-101%); }
main > .section:first-child > .wrap { overflow: hidden; }

/* Fill band and ticker sit outside the rule rhythm */
.section.fill, .section + .section.fill { background: var(--pep-fill); padding-block: var(--section-y); }
.section.fill > .wrap { padding-top: 0; }
.section.fill > .wrap::before { display: none; }
.ticker + .section { padding-top: var(--section-y); }
.ticker + .section > .wrap { padding-top: 0; }
.ticker + .section > .wrap::before { display: none; }

/* Pitch-to-renewal track */
.label { font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.track { position: relative; padding-top: 24px; min-width: 0; }
.track .brackets { display: grid; grid-template-columns: repeat(7, 1fr); margin-bottom: 16px; }
.track .bracket { border-top: 2px solid var(--pep-ink); padding-top: 8px; }
.track .bracket { position: relative; padding-top: 12px; }
.track .bracket::before, .track .bracket::after { content: ""; position: absolute; top: -2px; width: 2px; height: 10px; background: var(--pep-ink); }
.track .bracket::before { left: 0; }
.track .bracket::after { right: 0; }
.track .bracket.strat { grid-column: 1 / span 4; margin-right: 12px; }
.track .bracket.meas { grid-column: 5 / span 3; }
.track .line { position: relative; height: 2px; background: var(--pep-rule); margin-top: 24px; }
.track .stops { display: grid; grid-template-columns: repeat(7, 1fr); list-style: none; padding: 0; margin: 0; }
.track .stop { position: relative; padding: 24px 12px 0 0; color: var(--pep-secondary); transition: color var(--t-state) var(--ease); }
.track .stop::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; background: var(--pep-surface); border: 2px solid var(--pep-ink); border-radius: 50%; }
.track .stop.on { color: var(--pep-ink); }
.track .stop p { font-size: 16px; line-height: 24px; color: var(--pep-secondary); margin-top: 4px; max-width: 16ch; }
.track .grp { display: none; }
@media (max-width: 959px) {
  .track .brackets, .track .line { display: none; }
  .track .stops { grid-template-columns: 1fr; border-left: 2px solid var(--pep-rule); margin-left: 6px; }
  .track .stop { padding: 0 0 24px 32px; color: var(--pep-ink); }
  .track .stop::before { top: 2px; left: -9px; }
  .track .stop:last-child { padding-bottom: 0; }
  /* each module named once, with a bracket running down beside its stages */
  .track .stops { border-left: 0; margin-left: 6px; }
  .track .grp { display: block; position: relative; padding: 12px 0 20px 32px; border-left: 2px solid var(--pep-ink); color: var(--pep-ink); }
  .track .grp::before { content: ""; position: absolute; left: -2px; top: 0; width: 16px; height: 2px; background: var(--pep-ink); }
  .track .grp-m { margin-top: 32px; }
  .track .stop { border-left: 2px solid var(--pep-ink); }
  .track .stop.end { padding-bottom: 24px; }
  .track .stop.end::after { content: ""; position: absolute; left: -2px; bottom: 0; width: 16px; height: 2px; background: var(--pep-ink); }
}

/* Mini product previews in the modules band */
.mini { background: var(--pep-surface); border: 1px solid var(--pep-ink); font-size: 16px; line-height: 24px; }
.mini-chrome { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--pep-ink); color: var(--pep-surface); padding: 12px 16px; }
.mini-chrome .label { color: var(--pep-disabled); }
.mini-chip { border: 1px solid var(--pep-disabled); padding: 4px 8px; font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--pep-disabled); white-space: nowrap; }
.mini-surface { padding: 24px 16px; display: grid; gap: 16px; }
.mini .deal { font-weight: 700; }
.mini .rows { display: grid; }
.mini .row { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; min-height: 56px; padding-block: 12px; border-top: 1px solid var(--pep-rule); transition: opacity 200ms var(--ease), transform 200ms var(--ease); }
.mini .row:last-child { border-bottom: 1px solid var(--pep-rule); }
.mini .row .label { color: var(--pep-secondary); }
.mini .row:nth-child(2) { transition-delay: 60ms; } .mini .row:nth-child(3) { transition-delay: 120ms; } .mini .row:nth-child(4) { transition-delay: 180ms; }
.pre .mini .row { opacity: 0; transform: translateY(8px); }
.mini .metric { display: grid; gap: 4px; }
.mini .metric .value { font-size: 40px; line-height: 44px; font-weight: 800; font-stretch: 118%; letter-spacing: -0.035em; color: var(--pep-accent); }
.mini .metric .label, .mini .metric .vs { color: var(--pep-secondary); }
.mini .metric .vs { font-size: 14px; line-height: 20px; }
.mini .chart { position: relative; overflow: hidden; }
.mini .chart svg { display: block; width: 100%; height: auto; }
.mini .chart .mask { position: absolute; inset: 0; background: var(--pep-surface); transform: translateX(101%); transition: transform 900ms var(--ease); }
.pre .mini .chart .mask { transform: translateX(0); transition: none; }
@media (min-width: 960px) { .modules { gap: 48px; } }

/* Audience ticker */
.ticker { overflow: hidden; border-block: 1px solid var(--pep-border-dark); padding-block: 24px; }
.ticker .run { display: flex; width: max-content; animation: pep-run 40s linear infinite; }
.ticker:hover .run { animation-play-state: paused; }
.ticker ul { display: flex; align-items: center; gap: 48px; list-style: none; margin: 0; padding: 0 48px 0 0; }
.ticker li { display: flex; align-items: center; gap: 48px; font-size: 40px; line-height: 44px; font-weight: 800; font-stretch: 118%; letter-spacing: -0.035em; white-space: nowrap; }
.ticker li::after { content: ""; width: 16px; height: 16px; border: 3px solid var(--pep-surface); border-radius: 50%; }
@media (min-width: 720px) { .ticker li { font-size: 64px; line-height: 60px; } }
@keyframes pep-run { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .pep-load .hero h1 .line > span, .pep-load .hero .lede, .pep-load .hero .actions, .pep-load .giant, main > .pre, .pre .mini .row { transform: none !important; opacity: 1 !important; }
  .pre .mini .chart .mask, .mini .chart .mask { transform: translateX(101%) !important; }
  main > .section:first-child > .wrap::before { transform: none !important; }
}

/* Modules: line up heading, copy, preview and link across both columns on desktop */
@media (min-width: 720px) {
  .modules:has(.mini) { grid-template-rows: auto auto 1fr auto; row-gap: 16px; }
  .modules:has(.mini) > .module { grid-row: span 4; grid-template-rows: subgrid; gap: 0; }
  .modules:has(.mini) > .module > h3 { margin-bottom: 12px; }
  .modules:has(.mini) > .module > .mini { margin-top: 24px; display: flex; flex-direction: column; }
  .modules:has(.mini) > .module > .more { margin-top: 16px; }
  .modules:has(.mini) .mini-surface { flex: 1; align-content: start; }
}

/* ================= Home structure (October 2026) ================= */
.tbc { color: var(--pep-disabled); }
.aud { display: grid; gap: 32px; }
@media (min-width: 900px) { .aud { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.aud > div { display: grid; gap: 12px; align-content: start; border-top: 1px solid var(--pep-rule); padding-top: 24px; font-size: 18px; line-height: 28px; }
.aud h3, .creds h3 { font-size: 28px; line-height: 32px; font-weight: 700; letter-spacing: -0.015em; }
.creds { display: grid; gap: 32px; }
@media (min-width: 900px) { .creds { grid-template-columns: 1fr 1fr; gap: 48px; } }
.creds > div { display: grid; gap: 12px; align-content: start; border-top: 1px solid var(--pep-rule); padding-top: 24px; font-size: 18px; line-height: 28px; }
.steps { display: grid; gap: 0; list-style: none; padding: 0; margin: 0; max-width: 40em; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: baseline; min-height: 56px; padding-block: 16px; border-top: 1px solid var(--pep-rule); font-size: 18px; line-height: 28px; counter-increment: s; }
.steps li:last-child { border-bottom: 1px solid var(--pep-rule); }
.steps li::before { content: counter(s); font-weight: 800; font-stretch: 118%; font-size: 28px; }
/* Offset copy: headings run full width; running copy starts a third of the way in */
@media (min-width: 960px) {
  main .section > .wrap > .prose,
  main .section > .wrap > .steps,
  main .section > .wrap > .more { margin-left: calc(100% / 3 + 8px); max-width: 40em; }
  main .section > .wrap > .more { justify-self: start; }
}
/* Orange display words: large headings only (orange text passes contrast at display sizes) */
.accent { color: var(--pep-accent); }

/* ---------- Product frames on phones: no sideways scrolling ---------- */
@media (max-width: 719px) {
  .pf .screen { padding: 16px 12px; gap: 16px; min-height: 0; }
  .pf .callout { font-size: 16px; line-height: 24px; padding: 12px 16px; }
  .pf .chrome-top { padding: 12px; gap: 8px 12px; }
  .pf .chrome-top .deal { gap: 12px; }
  .pf .chrome-top .wm { font-size: 24px; }
  /* tabs share the width; the module name is already on the page above */
  .pf .tabs { overflow: visible; }
  .pf .tabgroup { flex: 1; border-right: 0; }
  .pf .tabgroup .group { display: none; }
  .pf .tab { flex: 1; padding: 0 4px; letter-spacing: .08em; }
  /* objectives framework: stacks instead of a 760px-wide grid */
  .pf .scroll { overflow: visible; }
  .pf .ofw { min-width: 0; }
  .pf .ofw .band { padding: 8px 12px; }
  .pf .ofw .cells { grid-template-columns: 1fr 1fr; }
  .pf .ofw .span2 { grid-column: span 1; }
  .pf .ofw .cell { min-height: 0; padding: 8px 12px; font-size: 14px; line-height: 20px; }
  .pf .ofw .cell small, .pf .ofw .cell span { font-size: 13px; line-height: 18px; }
  .pf .ofw .cell.biz, .pf .ofw .cell.sup { grid-column: 1 / -1; order: -1; padding: 12px; font-size: 16px; line-height: 24px; }
  .pf .ofw .cell.biz span, .pf .ofw .cell.sup span { font-size: 14px; line-height: 20px; }
  .pf .legend { gap: 8px 16px; font-size: 14px; line-height: 20px; }
  .pf .legend .count { margin-left: 0; }
  /* cards and panels */
  .pf .bcard, .pf .ocard, .pf .icard, .pf .panel { padding: 16px; }
  .pf .bcard .fig { font-size: 28px; line-height: 32px; }
  .pf .kpi { padding: 12px; }
  .pf .kpi .v { font-size: 24px; line-height: 28px; }
  .pf .move { grid-template-columns: 1fr; gap: 4px; }
}

/* Audience use cases: two columns of bulleted lists */
@media (min-width: 900px) { .aud.aud-2 { grid-template-columns: 1fr 1fr; } }
.aud .list { font-size: 18px; line-height: 28px; }

/* Founders: portrait in the left third, biography in the offset copy column */
.person .portrait { display: block; width: 100%; max-width: 280px; height: auto; aspect-ratio: 1; object-fit: cover; }
@media (min-width: 960px) {
  .person > .wrap { grid-template-columns: calc(100% / 3 + 8px) 1fr; column-gap: 0; }
  .person > .wrap > h2 { grid-column: 1 / -1; }
  .person > .wrap > .portrait { grid-column: 1; max-width: calc(100% - 48px); align-self: start; }
  main .person > .wrap > .prose { grid-column: 2; margin-left: 0; }
}
