/* ============================================================
   QUARTER & CONCRETE — Super Shine Academy design system
   Paper #F1EFE9 · Ink #181C22 · Bay Blue #2456C4 · Ledger Green #0E8A5F
   Money is ALWAYS set in mono. Green is reserved for money.
   ============================================================ */
/* Fonts are loaded via <link> in the page head (see views/layout.js) so the
   browser discovers them immediately instead of after this stylesheet parses. */

:root {
  --paper: #F1EFE9;
  --paper-2: #E9E6DD;
  --ink: #181C22;
  --ink-70: #3C424C;
  --ink-45: #5E6573; /* darkened to meet WCAG AA (4.5:1) on paper */
  --line: #D4D0C4;
  --blue: #2456C4;
  --blue-dark: #1B419A;
  --money: #0E8A5F;
  --danger: #B23A3A;
  --amber: #C07A1E;
  --card: #FFFFFF;
  --display: 'Archivo', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --r: 18px;
  --r-sm: 10px;
  --r-lg: 28px;
  --r-xl: 36px;
  --lift: 8px 8px 0 rgba(24,28,34,.12);
  --lift-strong: 10px 10px 0 rgba(36,86,196,.18);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { font-family: var(--body); background: var(--paper); color: var(--ink); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
img, svg, video { max-width: 100%; display: block; }
.money, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.money { color: var(--money); font-weight: 600; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* ---------- header / nav ---------- */
.top {
  border-bottom: 2px solid var(--ink);
  background: rgba(241,239,233,.94);
  backdrop-filter: blur(12px);
  position: sticky; top: 0; z-index: 50;
}
.top-inner { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { font-family: var(--display); font-weight: 900; font-size: 18px; letter-spacing: -.02em; color: var(--ink); text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 48px; height: 37px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.brand-mark svg { width: 100%; height: 100%; overflow: visible; }
/* single morphing bills: hidden by default (final state = the fan) */
.mm-d { opacity: 0; }
.mm-morph { transform-box: fill-box; transform-origin: 50% 60%; }
.mm-fan { transform-box: fill-box; transform-origin: 50% 90%; }
.mm-fan-b { filter: drop-shadow(0 0.5px 0.5px rgba(10,61,43,.5)); }
.brand-mark svg { animation: none; } /* container itself static */
.mm-d1 { animation: mmFlash1 5.4s ease-in-out forwards; }
.mm-d5 { animation: mmFlash5 5.4s ease-in-out forwards; }
.mm-d10 { animation: mmFlash10 5.4s ease-in-out forwards; }
.mm-d20 { animation: mmFlash20 5.4s ease-in-out forwards; }
.mm-d50 { animation: mmFlash50 5.4s ease-in-out forwards; }
.mm-d100 { animation: mmFlash100 5.4s ease-in-out forwards; }
.mm-morph { animation: mmWave 5.4s ease-in-out forwards; }
.mm-fan { animation: mmFanIn 5.4s ease-out forwards; }
@keyframes mmFlash1   { 0%{opacity:1} 11%{opacity:1} 15%{opacity:0} 100%{opacity:0} }
@keyframes mmFlash5   { 0%,12%{opacity:0} 15%,24%{opacity:1} 28%,100%{opacity:0} }
@keyframes mmFlash10  { 0%,25%{opacity:0} 28%,37%{opacity:1} 41%,100%{opacity:0} }
@keyframes mmFlash20  { 0%,38%{opacity:0} 41%,50%{opacity:1} 54%,100%{opacity:0} }
@keyframes mmFlash50  { 0%,51%{opacity:0} 54%,63%{opacity:1} 67%,100%{opacity:0} }
@keyframes mmFlash100 { 0%,64%{opacity:0} 67%,74%{opacity:1} 79%,100%{opacity:0} }
@keyframes mmWave {
  0%   { transform: rotate(-6deg) translateY(0.5px); }
  18%  { transform: rotate(5deg)  translateY(-0.5px); }
  38%  { transform: rotate(-4deg) translateY(0.5px); }
  58%  { transform: rotate(4deg)  translateY(-0.5px); }
  78%  { transform: rotate(0deg)  translateY(0); }
  100% { transform: rotate(0deg); }
}
@keyframes mmFanIn {
  0%,74%  { opacity: 0; transform: scale(0.45) translateY(4px); }
  86%     { opacity: 1; transform: scale(1.1) translateY(0); }
  100%    { opacity: 1; transform: scale(1) translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .mm-d { opacity: 0 !important; }
  .mm-fan { opacity: 1 !important; }
}
.nav { display: flex; gap: 22px; align-items: center; font-size: 14px; font-weight: 600; }
.nav a { color: var(--ink-70); }
.nav a:hover { color: var(--ink); text-decoration: none; }
.nav a.active { color: var(--ink); border-bottom: 2px solid var(--blue); padding-bottom: 2px; }
.nav .pill { background: var(--ink); color: var(--paper); padding: 9px 18px; border: 2px solid var(--ink); border-radius: 999px; box-shadow: 3px 3px 0 rgba(24,28,34,.16); }
.nav .pill:hover { background: var(--blue); color: #fff; }
.nav .nav-logout { display: inline; margin: 0; }
.nav button.pill { font: inherit; font-weight: 600; cursor: pointer; }
.badge-admin { font-family: var(--mono); font-size: 11px; background: var(--amber); color: #fff; padding: 2px 7px; border-radius: 999px; letter-spacing: .05em; }
.nav-toggle { display: none; }
/* ---------- mobile: hamburger dropdown nav ---------- */
@media (max-width: 860px) {
  .top-inner { height: 60px; flex-wrap: nowrap; gap: 10px; }
  .brand { font-size: 16px; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 46px; height: 40px; flex-shrink: 0; padding: 0 10px;
    background: var(--card); border: 2px solid var(--ink); border-radius: 10px;
    box-shadow: 3px 3px 0 rgba(24,28,34,.14); cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2.5px; width: 100%; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .top.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .top.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .top.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    display: none;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 2px solid var(--ink);
    box-shadow: 0 14px 22px rgba(24,28,34,.16);
    max-height: 82vh; overflow-y: auto; padding: 6px 24px 16px;
  }
  .top.nav-open .nav { display: flex; }
  .nav a { width: 100%; padding: 13px 2px; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav a.active { border-bottom: 1px solid var(--line); color: var(--blue); }
  .nav .nav-logout { width: 100%; margin: 12px 0 4px; }
  .nav .pill, .nav button.pill { display: block; width: 100%; text-align: center; padding: 13px; }
}

/* ---------- buttons / forms ---------- */
.btn { display: inline-block; font-family: var(--body); font-weight: 700; font-size: 15px; padding: 12px 24px; border-radius: 999px; border: 2px solid var(--ink); background: var(--ink); color: var(--paper); cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s, color .15s; box-shadow: 4px 4px 0 rgba(24,28,34,.15); }
.btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; text-decoration: none; transform: translate(-1px,-1px); box-shadow: 6px 6px 0 rgba(24,28,34,.15); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-blue { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn-danger { background: transparent; border-color: var(--danger); color: var(--danger); }
.btn-danger:hover { background: var(--danger); color: #fff; }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
label { display: block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-70); margin: 16px 0 6px; }
input[type=text], input[type=email], input[type=password], input[type=number], textarea, select {
  width: 100%; padding: 11px 12px; font-family: var(--body); font-size: 15px;
  border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--card); color: var(--ink);
}
input:focus, textarea:focus, select:focus { border-color: var(--blue); }
textarea { min-height: 120px; resize: vertical; }
.field-hint { font-size: 12.5px; color: var(--ink-45); margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 640px) { .form-row, .form-row-3 { grid-template-columns: 1fr; } }

/* ---------- cards / panels ---------- */
.card { background: var(--card); border: 2px solid var(--ink); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--lift); }
.card + .card { margin-top: 16px; }
/* grids space cards with `gap` — the sibling margin above would misalign the
   first tile in each grid (e.g. the admin Members tile) */
.grid-2 > .card + .card, .grid-3 > .card + .card { margin-top: 0; }
.panel-title { font-family: var(--display); font-weight: 700; font-size: 20px; margin-bottom: 12px; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); font-weight: 600; }
.rule { border: 0; border-top: 1.5px solid var(--line); margin: 24px 0; }
.notice { border: 2px solid var(--ink); border-left: 8px solid var(--blue); background: #E8EEFB; padding: 14px 18px; font-size: 14px; border-radius: var(--r); margin: 16px 0; box-shadow: 4px 4px 0 rgba(24,28,34,.08); }
.notice-warn { border-color: var(--amber); background: #F7EEDD; }
.notice-danger { border-color: var(--danger); background: #F6E4E4; }
.notice-ok { border-color: var(--money); background: #E2F1EA; }
.tag { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; background: var(--paper-2); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; color: var(--ink-70); }
.tag-blue { background: #E8EEFB; border-color: #BCD; color: var(--blue-dark); }
.tag-green { background: #E2F1EA; border-color: #BDC; color: var(--money); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 48px 0 46px; border-bottom: 2px solid var(--ink); background:
  radial-gradient(circle at 7% 12%, rgba(36,86,196,.12), transparent 190px),
  radial-gradient(circle at 88% 22%, rgba(14,138,95,.10), transparent 210px),
  repeating-linear-gradient(45deg, transparent 0 34px, rgba(24,28,34,.025) 34px 36px), var(--paper); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 620px) minmax(420px, .92fr); gap: 42px; align-items: start; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-copy { max-width: 620px; }
.hero-art { padding-top: 104px; display: flex; flex-direction: column; align-items: flex-end; gap: 18px; }
.hero h1 { max-width: 610px; font-family: var(--display); font-weight: 900; font-size: clamp(34px, 3.85vw, 46px); line-height: 1.02; letter-spacing: -.02em; text-transform: uppercase; }
.hero h1 .u { box-shadow: inset 0 -0.28em 0 rgba(36,86,196,.28); }
.program-title {
  width: fit-content;
  max-width: 100%;
  margin: 12px 0 10px;
  padding: 10px 16px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  box-shadow: 5px 5px 0 rgba(24,28,34,.15);
  font-family: var(--display);
  font-size: clamp(18px, 2.1vw, 26px);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .01em;
}
.hero-sub { font-size: 16.5px; color: var(--ink-70); margin: 18px 0 22px; max-width: 58ch; }
.slogan-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 22px;
  padding: 10px 16px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 5px 5px 0 rgba(36,86,196,.18);
}
.founder-proof {
  max-width: 610px;
  margin: 0 0 24px;
  padding: 18px 20px;
  border: 2px solid var(--ink);
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: var(--lift);
}
.proof-kicker {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
}
.proof-title {
  margin-top: 4px;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}
.founder-proof p { margin-top: 10px; color: var(--ink-70); font-size: 14.5px; }
.proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.proof-list span {
  padding: 6px 10px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-70);
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.statbar { display: grid; grid-template-columns: repeat(3, 1fr); border: 2px solid var(--ink); background: var(--card); margin-top: 30px; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--lift); }
.statbar > div { padding: 18px 20px; border-right: 2px solid var(--ink); }
.statbar > div:last-child { border-right: 0; }
.stat-n { font-family: var(--mono); font-size: clamp(22px, 3vw, 30px); font-weight: 600; }
.stat-l { font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-45); font-weight: 600; }
@media (max-width: 960px) { .hero-art { padding-top: 0; max-width: 620px; align-items: stretch; } .hero h1 { max-width: 13ch; } }
@media (max-width: 640px) { .hero { padding-top: 30px; } .hero h1 { font-size: clamp(25px, 7.7vw, 44px); max-width: 100%; letter-spacing: -.03em; line-height: 1.06; } .hero-sub { font-size: 15px; } .statbar { grid-template-columns: 1fr; } .statbar > div { border-right: 0; border-bottom: 2px solid var(--ink); } .statbar > div:last-child { border-bottom: 0; } }

/* ---------- sections ---------- */
.section { padding: 64px 0; }
.section-alt { background:
  radial-gradient(circle at 10% 0%, rgba(255,255,255,.34), transparent 210px),
  var(--paper-2); border-top: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line); }
.section h2 { font-family: var(--display); font-weight: 900; font-size: clamp(26px, 3.4vw, 38px); text-transform: uppercase; letter-spacing: -.02em; margin: 6px 0 28px; }
.section-intro {
  max-width: 760px;
  margin: -14px 0 26px;
  color: var(--ink-70);
  font-size: 16px;
}
.slogan-note {
  width: fit-content;
  max-width: 100%;
  margin-top: 22px;
  padding: 14px 18px;
  border: 2px solid var(--ink);
  border-radius: var(--r-lg);
  background: var(--card);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 900;
  font-size: 20px;
  box-shadow: var(--lift);
}
.slogan-strip {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin: -12px 0 24px;
  padding: 12px 18px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font-family: var(--mono);
  font-weight: 600;
  font-size: 14px;
  box-shadow: 6px 6px 0 rgba(14,138,95,.14);
}
.slogan-strip.compact {
  margin-top: -8px;
  margin-bottom: 26px;
  box-shadow: 6px 6px 0 rgba(36,86,196,.14);
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 640px) {
  .slogan-badge, .slogan-strip { font-size: 12.5px; }
  .slogan-note { font-size: 18px; }
}
@media (max-width: 860px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* curriculum ledger */
.ledger { border: 2px solid var(--ink); background: var(--card); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--lift); }
.ledger-row { display: grid; grid-template-columns: 76px 1fr; border-bottom: 1.5px solid var(--line); }
.ledger-row:last-child { border-bottom: 0; }
.ledger-row.locked { background: linear-gradient(90deg, rgba(24,28,34,.025), transparent 38%); }
.ledger-row.free-preview .ledger-num { background: #E2F1EA; color: var(--money); }
.ledger-num { font-family: var(--mono); font-weight: 600; font-size: 15px; padding: 20px 0; text-align: center; border-right: 1.5px solid var(--line); color: var(--blue); background: var(--paper); }
.ledger-body { padding: 18px 22px; }
.ledger-body h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-family: var(--display); font-size: 17px; font-weight: 700; }
.ledger-body p { font-size: 14px; color: var(--ink-70); margin-top: 3px; }
.ledger-title-link { color: var(--ink); }
.ledger-title-link:hover { color: var(--blue); text-decoration: none; }
.ledger-foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.ledger-action { font-size: 13px; font-weight: 700; color: var(--blue); }
.ledger-lock { font-family: var(--mono); font-size: 12px; color: var(--ink-45); }

/* pricing */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1000px) { .tiers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .tiers { grid-template-columns: 1fr; } }
.tier { background: var(--card); border: 2px solid var(--ink); border-radius: var(--r-xl); padding: 26px 22px; display: flex; flex-direction: column; box-shadow: var(--lift); }
.tier.featured { border-color: var(--ink); box-shadow: 10px 10px 0 var(--blue); transform: rotate(-.4deg); }
.tier h3 { font-family: var(--display); font-weight: 700; font-size: 18px; }
.tier-price { font-family: var(--mono); font-size: 30px; font-weight: 600; margin: 10px 0 2px; }
.tier-cadence { font-size: 12.5px; color: var(--ink-45); font-family: var(--mono); }
.tier p.blurb { font-size: 14px; color: var(--ink-70); margin: 14px 0 20px; flex: 1; }
.policy-note {
  margin-top: 18px;
  padding: 14px 18px;
  border: 2px solid var(--ink);
  border-radius: var(--r-lg);
  background: var(--card);
  color: var(--ink-70);
  font-size: 13.5px;
  box-shadow: 5px 5px 0 rgba(24,28,34,.08);
}
.policy-note strong { color: var(--ink); }

/* ---------- footer ---------- */
footer { border-top: 2px solid var(--ink); padding: 32px 0; margin-top: 64px; font-size: 13.5px; color: var(--ink-45); }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--ink-70); }
.footer-policy { flex-basis: 100%; color: var(--ink-70); font-weight: 600; }
.footer-social { flex-basis: 100%; font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; }

/* ---------- lesson visual blocks (diagrams, stats, deal callouts, pull quotes) ---------- */
.lesson-diagram { margin: 22px 0; }
.lesson-diagram svg { width: 100%; height: auto; display: block; border: 2px solid var(--ink); border-radius: var(--r); box-shadow: 5px 5px 0 rgba(24,28,34,.10); }

.lesson-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 0; border: 2px solid var(--ink); border-radius: var(--r); overflow: hidden; margin: 22px 0; background: var(--card); box-shadow: 5px 5px 0 rgba(24,28,34,.10); }
.lesson-stats > div { padding: 16px 18px; border-right: 2px solid var(--ink); }
.lesson-stats > div:last-child { border-right: 0; }
.lesson-stats .ls-n { font-family: var(--mono); font-weight: 600; font-size: clamp(18px, 2.4vw, 24px); color: var(--money); }
.lesson-stats .ls-l { font-size: 12px; color: var(--ink-70); margin-top: 2px; line-height: 1.35; }
@media (max-width: 560px) { .lesson-stats { grid-template-columns: 1fr 1fr; } .lesson-stats > div:nth-child(2n) { border-right: 0; } .lesson-stats > div { border-bottom: 2px solid var(--ink); } }

.deal-callout { margin: 24px 0; border: 2px solid var(--blue); border-left-width: 8px; border-radius: var(--r); background: #F3F6FD; padding: 20px 22px; box-shadow: 5px 5px 0 rgba(36,86,196,.14); }
.deal-callout-tag { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); font-weight: 600; }
.deal-callout-title { font-family: var(--display); font-weight: 900; font-size: 19px; text-transform: uppercase; letter-spacing: -.01em; margin: 2px 0 12px; }
.deal-callout-rows { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px 20px; margin-bottom: 12px; }
.deal-callout-rows > div { display: flex; flex-direction: column; border-left: 2px solid var(--blue); padding-left: 10px; }
.deal-callout-rows .dc-k { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-45); font-weight: 600; }
.deal-callout-rows .dc-v { font-family: var(--mono); font-weight: 600; font-size: 15px; color: var(--ink); }
.deal-callout p { font-size: 14.5px; color: var(--ink-70); margin: 6px 0 0; line-height: 1.65; }

.lesson-pull { margin: 24px 0; font-family: var(--display); font-weight: 900; font-size: clamp(20px, 2.8vw, 26px); line-height: 1.2; letter-spacing: -.02em; color: var(--ink); border-top: 3px solid var(--money); border-bottom: 3px solid var(--money); padding: 18px 0; }

.steps-callout { margin: 26px 0; border: 2px solid var(--ink); border-radius: var(--r); background: var(--card); padding: 22px; box-shadow: 6px 6px 0 rgba(24,28,34,.12); }
.steps-title { font-family: var(--display); font-weight: 900; font-size: 19px; text-transform: uppercase; letter-spacing: -.01em; margin-bottom: 14px; }
.steps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.step-tile { display: flex; align-items: flex-start; gap: 12px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); padding: 12px 14px; }
.step-num { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--mono); font-weight: 600; font-size: 14px; box-shadow: 2px 2px 0 var(--ink); }
.step-txt { font-size: 14px; color: var(--ink); line-height: 1.5; padding-top: 4px; }
.steps-callout > p { font-size: 14px; color: var(--ink-70); margin: 12px 0 0; }
@media (max-width: 640px) { .steps-grid { grid-template-columns: 1fr; } }

.note-callout { margin: 24px 0; border: 2px solid var(--money); border-left-width: 8px; border-radius: var(--r); background: #EFF8F3; padding: 20px 22px; box-shadow: 5px 5px 0 rgba(14,138,95,.14); }
.note-callout-title { font-family: var(--display); font-weight: 900; font-size: 18px; text-transform: uppercase; letter-spacing: -.01em; margin-bottom: 10px; color: var(--ink); }
.note-callout ul { padding-left: 20px; display: grid; gap: 6px; margin: 8px 0; }
.note-callout li { font-size: 14.5px; color: var(--ink-70); }
.note-callout p { font-size: 14.5px; color: var(--ink-70); margin: 8px 0 0; line-height: 1.65; }

/* free-module note + stat disclaimer (home hero) */
.free-note { margin-top: 12px; font-size: 13.5px; color: var(--money); font-weight: 600; }
.stat-disclaimer { margin-top: 10px; font-size: 12px; color: var(--ink-45); line-height: 1.5; }

/* legal pages (terms / privacy) */
.legal-page { padding-bottom: 20px; }
.legal-page h2 { font-family: var(--display); font-size: 18px; margin: 26px 0 8px; }
.legal-page p { color: var(--ink-70); font-size: 15px; line-height: 1.7; margin-bottom: 10px; }
.legal-page .legal-updated { font-family: var(--mono); font-size: 12.5px; color: var(--ink-45); }

/* forum search */
.forum-search { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.forum-search input[type="search"] { flex: 1; min-width: 180px; margin: 0; }
.forum-search .btn { flex-shrink: 0; }

/* pricing: acquisition-partner detail link under the tier button */
.tier-details-link { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--blue); }

/* acquisition partner page: what's-included list */
.partner-list { display: grid; gap: 14px; }
.partner-item { display: flex; gap: 12px; align-items: flex-start; }
.partner-item .partner-check { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--money); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; margin-top: 2px; }
.partner-item strong { font-family: var(--display); font-size: 16px; }
.partner-item p { font-size: 14px; color: var(--ink-70); margin-top: 2px; }

/* module media: member-facing */
.player-label { font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-70); font-weight: 600; padding: 8px 2px; }
.figure-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.lesson-figure { margin: 0; border: 2px solid var(--ink); border-radius: var(--r); overflow: hidden; background: var(--paper-2); box-shadow: 4px 4px 0 rgba(24,28,34,.08); }
.lesson-figure img { width: 100%; height: auto; display: block; }
.lesson-figure figcaption { padding: 10px 14px; font-size: 13.5px; color: var(--ink-70); border-top: 2px solid var(--ink); background: var(--card); }

/* module media: admin management rows */
.media-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 1000px) { .media-cols { grid-template-columns: 1fr; } }
.media-row { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.media-row .media-name { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.media-row .media-actions { display: inline-flex; gap: 4px; flex-shrink: 0; }
.media-row .media-actions .btn { padding: 5px 9px; font-size: 12px; }
.media-thumb { width: 52px; height: 40px; object-fit: cover; border: 1.5px solid var(--ink); border-radius: 6px; flex-shrink: 0; }

/* compact forms inside admin tables */
.row-form { display: inline-flex; gap: 6px; align-items: center; }
.table .row-form select, .table .row-form input[type="date"] { width: auto; padding: 6px 8px; font-size: 13px; margin: 0; }
.table .btn { margin: 2px 0; }

/* ---------- responsive: phones & tablets ---------- */
/* Wide tables scroll sideways inside their card instead of breaking the page */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
.table-wrap .table { min-width: 640px; }
.table-wrap .table--wide { min-width: 860px; } /* admin members table has many controls */

/* join page tier picker: 2-up on desktop/tablet, single column on phones */
.tiers-join { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 600px) { .tiers-join { grid-template-columns: 1fr; } }

@media (max-width: 640px) {
  .wrap, .wrap-narrow { padding: 0 16px; }
  .card { padding: 20px 16px; }
  .section { padding: 44px 0; }
  .page-head { padding: 26px 0 8px; }
  .btn { padding: 11px 18px; font-size: 14px; }
  .hero-cta { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-cta .btn { text-align: center; }
}
.heard-on { margin-top: 12px; font-size: 13px; color: var(--ink-45); }
.heard-on a { font-weight: 600; }

/* ---------- social tiles (podcasts/socials page) ---------- */
.social-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin: 4px 0 40px; }
.social-tile {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  background: var(--card); border: 2px solid var(--ink); border-radius: var(--r);
  padding: 20px 20px 18px; color: var(--ink); box-shadow: 5px 5px 0 rgba(24,28,34,.12);
  transition: transform .15s, box-shadow .15s;
}
.social-tile:hover { text-decoration: none; transform: translate(-2px,-2px) rotate(-.6deg); box-shadow: 9px 9px 0 var(--blue); }
.social-icon { width: 46px; height: 46px; margin-bottom: 8px; animation: iconBob 3.4s ease-in-out infinite; }
.social-tile:nth-child(2) .social-icon { animation-delay: .45s; }
.social-tile:nth-child(3) .social-icon { animation-delay: .9s; }
.social-tile:nth-child(4) .social-icon { animation-delay: 1.35s; }
.social-tile:hover .social-icon { animation: iconWiggle .5s ease-in-out; }
.social-icon svg { width: 100%; height: 100%; display: block; }
.social-name { font-family: var(--display); font-weight: 900; font-size: 21px; text-transform: uppercase; letter-spacing: -.01em; line-height: 1.1; }
.social-handle { font-family: var(--mono); font-size: 13px; color: var(--ink-70); }
.social-cta { margin-top: 8px; font-weight: 700; font-size: 14px; color: var(--blue); }
.social-cta .arr { display: inline-block; transition: transform .15s; }
.social-tile:hover .social-cta .arr { transform: translateX(5px); }
@keyframes iconBob { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-5px) rotate(-3deg); } }
@keyframes iconWiggle { 0%, 100% { transform: rotate(0deg); } 25% { transform: rotate(-8deg); } 65% { transform: rotate(6deg); } }

/* ---------- app (member area) ---------- */
.page-head { padding: 36px 0 8px; }
.page-head h1 { font-family: var(--display); font-weight: 900; font-size: clamp(26px, 3.4vw, 36px); text-transform: uppercase; letter-spacing: -.02em; }
.page-head .sub { color: var(--ink-70); margin-top: 6px; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-45); padding: 10px 12px; border-bottom: 2px solid var(--ink); }
.table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.progressbar { height: 10px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.progressbar > span { display: block; height: 100%; background: var(--blue); }

/* chapter list */
.chapter-item { display: flex; align-items: center; gap: 14px; padding: 15px 17px; border: 2px solid var(--line); border-radius: var(--r-lg); background: var(--card); margin-bottom: 12px; box-shadow: 4px 4px 0 rgba(24,28,34,.07); }
.chapter-item:hover { border-color: var(--blue); }
.chapter-item .num { font-family: var(--mono); color: var(--blue); font-weight: 600; width: 34px; }
.chapter-item .meta { flex: 1; }
.chapter-item .meta a { color: var(--ink); font-weight: 600; }
.check { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; color: #fff; flex: none; }
.check.done { background: var(--money); border-color: var(--money); }

/* video player */
.player-shell { background: var(--ink); border: 2px solid var(--ink); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--lift); }
.player-shell video { width: 100%; max-height: 560px; background: #000; }
.player-empty { aspect-ratio: 16/9; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--paper); gap: 10px; text-align: center; padding: 24px; }
.player-empty .mono { color: #9AA3B0; font-size: 13px; }
.paywall-card { background: #E8EEFB; border-color: var(--blue); }
.paywall-card p { color: var(--ink-70); font-size: 15px; }
.lesson-card { padding: 30px; }

/* prev / complete / next controls at the bottom of a module */
.chapter-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 24px 0; }
.chapter-nav > div { display: flex; }
.chapter-nav .cn-prev { justify-content: flex-start; }
.chapter-nav .cn-mid { justify-content: center; flex: 1; }
.chapter-nav .cn-next { justify-content: flex-end; }
.chapter-nav form { margin: 0; }
@media (max-width: 640px) {
  .chapter-nav { flex-direction: column; align-items: stretch; gap: 10px; }
  .chapter-nav > div:empty { display: none; }
  .chapter-nav > div, .chapter-nav form, .chapter-nav .btn { width: 100%; }
  .chapter-nav .btn { text-align: center; }
  /* primary action first on mobile, then the "next / unlock", then "previous" */
  .chapter-nav .cn-mid { order: 1; }
  .chapter-nav .cn-next { order: 2; }
  .chapter-nav .cn-prev { order: 3; }
}
.lesson-body {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.72;
}
.lesson-body h2, .lesson-body h3, .lesson-body h4 {
  font-family: var(--display);
  line-height: 1.08;
  margin: 30px 0 12px;
  text-transform: uppercase;
}
.lesson-body h2 { font-size: clamp(25px, 3vw, 38px); }
.lesson-body h3 { font-size: 22px; }
.lesson-body h4 { font-size: 18px; }
.lesson-body p { margin: 0 0 16px; color: var(--ink-70); }
.lesson-body strong { color: var(--ink); }
.lesson-body ul, .lesson-body ol { display: grid; gap: 8px; margin: 0 0 18px 20px; color: var(--ink-70); }
.lesson-body blockquote {
  margin: 20px 0;
  padding: 16px 18px;
  border-left: 5px solid var(--blue);
  background: #E8EEFB;
  border-radius: 0 var(--r) var(--r) 0;
  color: var(--ink);
  font-weight: 600;
}
.lesson-editor {
  min-height: 280px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.55;
}
.protected-content {
  position: relative;
  user-select: none;
  -webkit-user-select: none;
}
.protected-content::after {
  content: attr(data-watermark);
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 999;
  pointer-events: none;
  padding: 8px 12px;
  border: 1px solid rgba(24,28,34,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: rgba(24,28,34,.42);
  font-family: var(--mono);
  font-size: 11px;
  backdrop-filter: blur(8px);
}
.protect-notice {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 1000;
  max-width: min(420px, calc(100vw - 32px));
  padding: 12px 16px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--lift);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}
@media print {
  .protected-content { display: none !important; }
  body.print-blocked::before, body.protected-page::before {
    content: 'Printing course lessons is disabled. Please view the lesson inside your member account.';
    display: block;
    padding: 40px;
    font-family: var(--body);
    font-size: 18px;
  }
}

/* membership timeline */
.timeline { position: relative; margin: 18px 0 8px; }
.timeline-track { height: 14px; border: 2px solid var(--ink); border-radius: 8px; background: var(--card); overflow: hidden; }
.timeline-fill { height: 100%; background: repeating-linear-gradient(45deg, var(--blue) 0 12px, var(--blue-dark) 12px 24px); }
.timeline-labels { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; color: var(--ink-70); margin-top: 6px; }
.days-left { font-family: var(--mono); font-size: 26px; font-weight: 600; }

/* boards */
.thread { padding: 18px 20px; border: 2px solid var(--ink); background: var(--card); border-radius: var(--r-lg); margin-bottom: 14px; box-shadow: 5px 5px 0 rgba(24,28,34,.08); }
.thread:hover { border-color: var(--blue); }
.thread h3 a { color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 17px; }
.thread .meta-line { font-size: 12.5px; color: var(--ink-45); font-family: var(--mono); margin-top: 4px; }
.deal-profile { display: flex; flex-wrap: wrap; gap: 8px; margin: 11px 0 12px; }
.deal-profile span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink-70);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
}
.answer { border-left: 3px solid var(--line); padding: 14px 16px; margin: 12px 0; background: var(--card); border-radius: 0 var(--r) var(--r) 0; }
.answer.accepted { border-left-color: var(--money); background: #F3FAF6; }
.accepted-tag { font-family: var(--mono); font-size: 11px; color: var(--money); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }

/* deal metrics strip */
.deal-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 2px solid var(--ink); background: var(--card); margin: 14px 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: 4px 4px 0 rgba(24,28,34,.08); }
.deal-metrics > div { padding: 12px 14px; border-right: 1.5px solid var(--line); }
.deal-metrics > div:last-child { border-right: 0; }
.deal-metrics .dm-n { font-family: var(--mono); font-weight: 600; font-size: 18px; }
.deal-metrics .dm-l { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-45); font-weight: 600; }
.dm-ok { color: var(--money); } .dm-bad { color: var(--danger); }
@media (max-width: 640px) { .deal-metrics { grid-template-columns: repeat(2, 1fr); } .deal-metrics > div { border-bottom: 1.5px solid var(--line); } }

/* admin */
.admin-grid { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; }
@media (max-width: 820px) { .admin-grid { grid-template-columns: 1fr; } }
.admin-nav { border: 2px solid var(--ink); background: var(--card); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--lift); }
.admin-nav a { display: block; padding: 12px 16px; color: var(--ink-70); font-weight: 600; font-size: 14px; border-bottom: 1px solid var(--line); }
.admin-nav a:last-child { border-bottom: 0; }
.admin-nav a.active, .admin-nav a:hover { background: var(--paper-2); color: var(--ink); text-decoration: none; }
.file-chip { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12.5px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px; margin: 4px 6px 0 0; }

/* auth pages */
.auth-shell { max-width: 440px; margin: 56px auto; padding: 0 24px; }
.auth-card { background: var(--card); border: 2px solid var(--ink); border-radius: var(--r-xl); padding: 34px; box-shadow: var(--lift-strong); }

/* square card container */
#card-container { border: 1.5px solid var(--line); border-radius: var(--r); padding: 12px; background: var(--card); min-height: 52px; }
.testmode-card { border: 2px dashed var(--amber); border-radius: var(--r-lg); padding: 16px; background: #FBF6EC; }

/* FAQ */
details { border: 2px solid var(--ink); border-radius: var(--r-lg); background: var(--card); padding: 0 20px; margin-bottom: 12px; box-shadow: 4px 4px 0 rgba(24,28,34,.08); }
details summary { cursor: pointer; font-weight: 700; padding: 15px 0; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary::before { content: '+'; font-family: var(--mono); color: var(--blue); margin-right: 12px; font-weight: 600; }
details[open] summary::before { content: '\2212'; }
details p { padding: 0 0 16px 26px; color: var(--ink-70); font-size: 14.5px; }

/* hero SVG animation */
.bay-scene { width: 100%; border: 2px solid var(--ink); border-radius: var(--r-xl); background: #10141B; overflow: hidden; box-shadow: var(--lift-strong); }
.deal-ticket-scene { width: min(420px, 88%); margin-right: 6px; border-radius: var(--r-lg); box-shadow: 8px 8px 0 rgba(24,28,34,.10); transform: rotate(-1deg); }
.deal-ticket-scene svg { border-radius: var(--r-lg); }
@media (max-width: 960px) { .deal-ticket-scene { width: 100%; margin-right: 0; transform: none; } }
@keyframes sprayPulse { 0%,100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes coinDrop { 0% { transform: translateY(-46px); opacity: 0; } 12% { opacity: 1; } 78% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(4px); opacity: 0; } }
@keyframes barGrow { from { transform: scaleY(.12); } to { transform: scaleY(1); } }
@keyframes shimmerLine { 0% { stroke-dashoffset: 260; } 100% { stroke-dashoffset: 0; } }
.spray { animation: sprayPulse 1.6s ease-in-out infinite; }
.coin { animation: coinDrop 2.4s ease-in infinite; }
.coin.c2 { animation-delay: .8s; } .coin.c3 { animation-delay: 1.6s; }
.cash-bar { transform-origin: bottom; animation: barGrow 1.4s cubic-bezier(.2,.8,.2,1) both; }
.cash-bar.b2 { animation-delay: .25s; } .cash-bar.b3 { animation-delay: .5s; } .cash-bar.b4 { animation-delay: .75s; } .cash-bar.b5 { animation-delay: 1s; }
.trendline { stroke-dasharray: 260; animation: shimmerLine 2.2s ease-out .5s both; }

/* ---------- deal ticket: one shared 9s timeline so the story loops in sync.
   Markup is authored in the FINISHED state, so reduced-motion (which disables
   all animation globally) shows the completed, passing ticket. ---------- */
@keyframes uwCheck1 { 0%, 4%  { stroke-dashoffset: 34; } 10%, 96% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 34; } }
@keyframes uwCheck2 { 0%, 12% { stroke-dashoffset: 34; } 18%, 96% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 34; } }
@keyframes uwCheck3 { 0%, 20% { stroke-dashoffset: 34; } 26%, 96% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 34; } }
@keyframes uwMeter  { 0%, 28% { transform: scaleX(0); } 44%, 96% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes uwPop    { 0%, 46% { opacity: 0; transform: scale(.6); } 52% { opacity: 1; transform: scale(1.12); } 56%, 96% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(.6); } }
@keyframes uwKnob   { 0%, 56% { transform: translateX(-124px); fill: #8A93A3; } 64%, 96% { transform: translateX(0); fill: #0E8A5F; } 100% { transform: translateX(-124px); fill: #8A93A3; } }
@keyframes uwGoLabel { 0%, 58% { opacity: .3; } 66%, 96% { opacity: 1; } 100% { opacity: .3; } }
@keyframes uwStamp  { 0%, 66% { opacity: 0; transform: scale(2.1) rotate(-5deg); } 71% { opacity: 1; transform: scale(.92) rotate(0deg); } 75%, 96% { opacity: 1; transform: scale(1) rotate(0deg); } 100% { opacity: 0; transform: scale(2.1) rotate(-5deg); } }
.uw-check { stroke-dasharray: 34; }
.uw-check.uw-k1 { animation: uwCheck1 9s ease-in-out infinite; }
.uw-check.uw-k2 { animation: uwCheck2 9s ease-in-out infinite; }
.uw-check.uw-k3 { animation: uwCheck3 9s ease-in-out infinite; }
.uw-meter { transform-box: fill-box; transform-origin: left center; animation: uwMeter 9s cubic-bezier(.2,.8,.2,1) infinite; }
.uw-pop { transform-box: fill-box; transform-origin: center; animation: uwPop 9s ease-out infinite; }
.uw-knob { transform-box: fill-box; transform-origin: center; animation: uwKnob 9s cubic-bezier(.4,0,.2,1) infinite; }
.uw-golabel { animation: uwGoLabel 9s ease infinite; }
.uw-stamp { transform-box: fill-box; transform-origin: center; animation: uwStamp 9s ease-in infinite; }
.hero-counter { font-family: var(--mono); }

/* ---------- Acquisition Partner agreement modal ---------- */
.agreement-modal { position: fixed; inset: 0; z-index: 1000; background: rgba(24,28,34,.55); display: flex; align-items: center; justify-content: center; padding: 18px; }
.agreement-modal[hidden] { display: none; }
.agreement-modal-inner { background: var(--card); border: 2px solid var(--ink); border-radius: var(--r-lg); box-shadow: var(--lift-strong); max-width: 760px; width: 100%; max-height: 88vh; display: flex; flex-direction: column; overflow: hidden; }
.agreement-modal-head { padding: 20px 24px 12px; border-bottom: 1.5px solid var(--line); }
.agreement-modal-head h2 { font-family: var(--display); font-size: 20px; text-transform: uppercase; }
.agreement-modal-head p { font-size: 13.5px; color: var(--ink-70); margin-top: 4px; }
.agreement-scroll { overflow-y: auto; padding: 14px 24px; flex: 1 1 auto; min-height: 32vh; font-size: 14px; }
.agreement-scroll h3 { font-size: 15px; margin: 16px 0 6px; }
.agreement-scroll p { margin: 0 0 10px; line-height: 1.55; }
.agreement-acks { margin-top: 18px; padding-top: 14px; border-top: 1.5px dashed var(--line); }
.agreement-acks-head { font-weight: 700; margin-bottom: 10px; }
.agreement-modal .ack { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; margin: 0 0 10px; cursor: pointer; text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--ink); }
.agreement-modal .ack input { margin-top: 3px; flex: 0 0 auto; width: auto; }
.agreement-sign { padding: 14px 24px 18px; border-top: 1.5px solid var(--line); background: var(--paper); flex: 0 0 auto; }
.agreement-sign .sig-label { text-transform: none; letter-spacing: 0; font-size: 14px; margin: 0 0 6px; }
.agreement-sign input[type=text] { width: 100%; }
.agreement-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 14px; flex-wrap: wrap; }
