:root {
  --ink: #152033;
  --ink-strong: #0d1728;
  --muted: #536173;
  --muted-2: #738095;
  --line: #d9e1ec;
  --line-strong: #bfccd9;
  --paper: #ffffff;
  --soft: #f5f8fb;
  --soft-2: #edf3f7;
  --accent: #0f766e;
  --accent-dark: #0a5f58;
  --accent-deep: #083f3c;
  --accent-soft: #dff7f2;
  --blueprint: #e8f1f7;
  --focus: #f59e0b;
  --danger-soft: #fff4ed;
  --warm: #fef3c7;
  --max: 1120px;
  --radius: 8px;
  --shadow-sm: 0 10px 24px rgba(21, 32, 51, 0.07);
  --shadow-md: 0 18px 45px rgba(21, 32, 51, 0.11);
  --shadow-lg: 0 28px 70px rgba(21, 32, 51, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(15, 118, 110, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #f8fbfd 0, #ffffff 480px);
  background-size: 44px 44px, auto;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.58;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(16px, 4vw, 40px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 225, 236, 0.88);
  box-shadow: 0 8px 24px rgba(21, 32, 51, 0.04);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-strong);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 42%),
    var(--accent);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 7px;
  box-shadow: 0 8px 18px rgba(15, 118, 110, 0.22);
  font-size: 20px;
}

.header-actions {
  display: none;
  align-items: center;
  gap: 16px;
}

.text-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  color: var(--ink);
}

.section,
.section-tight {
  max-width: var(--max);
  margin: 0 auto;
  padding: 68px 18px;
}

.section-tight {
  padding-top: 62px;
  padding-bottom: 52px;
}

.band {
  max-width: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0)),
    var(--soft);
  border-top: 1px solid rgba(217, 225, 236, 0.7);
  border-bottom: 1px solid rgba(217, 225, 236, 0.7);
}

.band > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.hero {
  display: grid;
  gap: 38px;
  align-items: center;
}

.hero-copy {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 900px;
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(36px, 7vw, 64px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 14px;
  color: var(--ink-strong);
  font-size: clamp(27px, 4vw, 38px);
  line-height: 1.13;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  color: var(--ink-strong);
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: 0;
}

p {
  margin: 0 0 16px;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(18px, 2.6vw, 21px);
  line-height: 1.52;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 650px;
  margin: 24px 0 0;
}

.hero-stats div {
  padding: 14px 15px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  color: var(--accent-deep);
  font-size: 18px;
  line-height: 1.15;
}

.hero-stats span {
  color: var(--muted);
  font-size: 13px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
}

.hero-proof span {
  padding: 7px 10px;
  color: #134e4a;
  background: var(--accent-soft);
  border: 1px solid #b8e8df;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.support,
.microcopy {
  color: var(--muted);
  font-size: 14px;
}

.cta-helper {
  max-width: 620px;
  margin: 10px 0 0;
  color: var(--accent-deep);
  font-size: 15px;
  font-weight: 800;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 16px;
}

.cta-row.centered {
  justify-content: center;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 7px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-small {
  min-height: 38px;
  padding: 8px 13px;
  font-size: 14px;
}

.button-primary {
  color: #fff;
  background: linear-gradient(180deg, #12887f, var(--accent-dark));
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.24);
}

.button-primary:hover,
.button-primary:focus {
  background: linear-gradient(180deg, #0f766e, #074f4a);
  box-shadow: 0 15px 30px rgba(15, 118, 110, 0.3);
}

.button-secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line-strong);
}

.button-secondary:hover,
.button-secondary:focus {
  border-color: var(--accent);
  box-shadow: 0 10px 22px rgba(21, 32, 51, 0.08);
}

.button-recovery {
  min-height: 44px;
  padding-right: 16px;
  padding-left: 16px;
  color: var(--muted);
  font-size: 14px;
  box-shadow: none;
}

.button:focus,
.text-link:focus,
summary:focus {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.hero-visual {
  min-height: 320px;
}

.hero-story {
  min-width: 0;
  padding: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.story-stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #e9eef2;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 2px);
  isolation: isolate;
}

.story-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.story-image-confused {
  z-index: 1;
}

.story-image-fbd {
  z-index: 2;
  opacity: 0;
  transition: opacity 500ms ease-in-out;
}

.hero-story[data-state="fbd"] .story-image-fbd {
  opacity: 1;
}

.hero-story.is-reduced-motion .story-image-fbd {
  transition: none;
}

.story-motion-toggle {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 4;
  width: 44px;
  height: 44px;
  padding: 0;
  background: rgba(13, 23, 40, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.04;
  transition: opacity 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.story-stage:hover .story-motion-toggle {
  opacity: 0.12;
}

.story-stage .story-motion-toggle:hover {
  background: rgba(13, 23, 40, 0.9);
  border-color: rgba(255, 255, 255, 0.7);
  opacity: 0.25;
}

.story-motion-toggle::before,
.story-motion-toggle::after {
  position: absolute;
  top: 14px;
  width: 4px;
  height: 16px;
  background: #fff;
  border-radius: 2px;
  content: "";
}

.story-motion-toggle::before { left: 16px; }
.story-motion-toggle::after { right: 16px; }

.story-motion-toggle[aria-pressed="true"]::before {
  top: 13px;
  left: 17px;
  width: 0;
  height: 0;
  background: transparent;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid #fff;
  border-radius: 0;
}

.story-motion-toggle[aria-pressed="true"]::after { display: none; }

.story-motion-toggle:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  opacity: 1;
}

.story-copy {
  min-height: 112px;
  padding: 16px 6px 4px;
}

.story-copy h2 {
  margin-bottom: 7px;
  font-size: clamp(20px, 2.5vw, 28px);
}

.story-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.story-indicators {
  display: flex;
  gap: 6px;
  padding: 3px 6px 6px;
}

.story-indicators span {
  width: 18px;
  height: 3px;
  background: var(--line-strong);
  border-radius: 999px;
}

.story-indicators .is-active { background: var(--accent); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.diagram-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.98)),
    var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.diagram-card::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 118, 110, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(15, 118, 110, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  content: "";
  pointer-events: none;
}

.diagram-card > * {
  position: relative;
  z-index: 1;
}

.diagram-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.diagram-grid {
  height: 1px;
  margin-bottom: 10px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.beam {
  position: relative;
  height: 154px;
  margin-bottom: 24px;
  border-bottom: 9px solid var(--ink-strong);
}

.beam::before,
.beam::after {
  position: absolute;
  bottom: -20px;
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 800;
}

.beam::before {
  left: 11%;
  content: "A";
}

.beam::after {
  right: 13%;
  content: "B";
}

.support-pin,
.support-roller {
  position: absolute;
  bottom: -43px;
  width: 0;
  height: 0;
  border-right: 23px solid transparent;
  border-bottom: 34px solid #64748b;
  border-left: 23px solid transparent;
}

.support-pin {
  left: 12%;
}

.support-roller {
  right: 12%;
}

.support-roller::after {
  position: absolute;
  bottom: -43px;
  left: -25px;
  width: 50px;
  height: 6px;
  background: #94a3b8;
  border-radius: 99px;
  content: "";
}

.load-arrow {
  position: absolute;
  top: 8px;
  left: 48%;
  width: 4px;
  height: 84px;
  background: #c2410c;
}

.load-arrow::before {
  position: absolute;
  top: -2px;
  left: -16px;
  color: #9a3412;
  content: "P";
  font-size: 12px;
  font-weight: 800;
}

.load-arrow::after {
  position: absolute;
  bottom: -2px;
  left: -8px;
  width: 0;
  height: 0;
  border-top: 16px solid #c2410c;
  border-right: 10px solid transparent;
  border-left: 10px solid transparent;
  content: "";
}

.moment-arrow {
  position: absolute;
  top: 18px;
  right: 17%;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: #7c2d12;
  border: 4px solid #f97316;
  border-left-color: transparent;
  border-radius: 50%;
  font-weight: 800;
}

.equations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 50px;
}

.equations span {
  padding: 9px 8px;
  color: var(--accent-deep);
  background: rgba(223, 247, 242, 0.82);
  border: 1px solid #b8e8df;
  border-radius: 6px;
  font-weight: 800;
  text-align: center;
}

.diagram-card p {
  color: var(--muted);
  font-size: 14px;
}

.diagram-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.diagram-checks span {
  padding: 6px 9px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.trust-strip {
  display: grid;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 18px 34px;
  gap: 12px;
}

.trust-strip div {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  margin-bottom: 4px;
  color: var(--ink-strong);
}

.trust-strip span {
  color: var(--muted);
  font-size: 14px;
}

.two-column,
.form-shell {
  display: grid;
  gap: 28px;
}

.path-block,
.trust-grid article,
.form-placeholder,
.credential-card,
.submission-example {
  padding: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.authority-section {
  padding-top: 18px;
  padding-bottom: 28px;
}

.credential-card {
  border-top: 5px solid var(--accent);
}

.credential-card p {
  max-width: 860px;
}

.credential-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.credential-list span {
  padding: 8px 11px;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}


.tutor-profile {
  display: grid;
  gap: 30px;
  align-items: center;
  margin-bottom: 58px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.tutor-photo-wrap {
  max-width: 280px;
  margin: 0 auto;
  border-radius: calc(var(--radius) - 4px);
  box-shadow: var(--shadow-sm);
}

.tutor-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius) - 4px);
}

.tutor-bio h2 {
  margin-top: 6px;
}

.testimonial-section {
  margin-bottom: 58px;
}

.testimonial-heading {
  margin-bottom: 24px;
}

.testimonial-grid {
  display: grid;
  gap: 20px;
}

.testimonial-card {
  margin: 0;
  padding: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.testimonial-card p {
  margin-top: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
}

.testimonial-card footer {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.testimonial-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

.proof-content {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
}

.proof-heading {
  max-width: 860px;
  margin: 0 0 26px;
  text-align: left;
}

.path-block {
  border-top: 4px solid var(--accent);
}

.check-list,
.no-list {
  padding: 0;
  margin: 18px 0;
  list-style: none;
}

.check-list li,
.no-list li {
  position: relative;
  margin: 0 0 11px;
  padding-left: 30px;
}

.check-list li::before,
.no-list li::before {
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

.check-list li::before {
  color: #fff;
  background: var(--accent);
  content: "✓";
}

.no-list li::before {
  color: #7c2d12;
  background: #ffedd5;
  content: "!";
}

.compact li {
  margin-bottom: 8px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 30px;
}

.section-heading p {
  color: var(--muted);
}

.submission-example {
  border-left: 5px solid var(--focus);
}

.example-quote {
  padding: 15px;
  color: var(--ink-strong);
  background: var(--warm);
  border: 1px solid #f6d777;
  border-radius: var(--radius);
  font-weight: 800;
}

.boundary-note {
  display: inline-block;
  padding: 12px 14px;
  color: var(--ink-strong) !important;
  background: var(--danger-soft);
  border: 1px solid #fed7aa;
  border-left: 5px solid #f97316;
  border-radius: var(--radius);
  font-weight: 800;
}

.grid-list {
  display: grid;
  gap: 12px;
}

.grid-list div {
  padding: 17px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: 0 8px 18px rgba(21, 32, 51, 0.04);
  font-weight: 800;
}

.steps {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 19px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  counter-increment: steps;
}

.steps li::before {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #fff;
  background: linear-gradient(180deg, #12887f, var(--accent-dark));
  border-radius: 50%;
  box-shadow: 0 10px 18px rgba(15, 118, 110, 0.18);
  font-weight: 800;
  content: counter(steps);
}

.steps strong,
.steps span {
  grid-column: 2;
}

.steps span {
  color: var(--muted);
}

.trust-grid,
.faq {
  display: grid;
  gap: 16px;
}

.trust-grid article {
  border-top: 4px solid var(--line-strong);
}

.form-shell {
  align-items: start;
}

.form-placeholder {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 1)),
    var(--paper);
  border-color: var(--line);
  box-shadow: var(--shadow-md);
}

.form-placeholder ul {
  margin: 12px 0 20px;
  padding-left: 20px;
}

.live-tally-card {
  position: relative;
  overflow: hidden;
  border-top: 5px solid var(--accent);
}

.live-card-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}

.live-card-topline span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  color: var(--accent-deep);
  background: var(--accent-soft);
  border: 1px solid #b8e8df;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.live-tally-card h3 {
  font-size: clamp(25px, 4vw, 34px);
}

.live-tally-card .button {
  width: 100%;
  margin: 8px 0 14px;
}

.live-card-divider {
  height: 1px;
  margin: 24px 0;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.secondary-path {
  padding: 18px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.secondary-path h4 {
  margin: 0 0 8px;
  color: var(--ink-strong);
  font-size: 18px;
  line-height: 1.25;
}

.secondary-path p {
  color: var(--muted);
  font-size: 14px;
}

.form-notes,
.upload-guidance {
  padding: 15px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.form-notes {
  border-left: 4px solid var(--focus);
}

.form-notes p,
.upload-guidance p {
  margin-bottom: 0;
}

.upload-guidance {
  margin: 18px 0;
}

.upload-guidance ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.faq details {
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 18px rgba(21, 32, 51, 0.04);
}

.faq summary {
  cursor: pointer;
  color: var(--ink-strong);
  font-weight: 800;
}

.faq details p {
  margin-top: 12px;
  margin-bottom: 0;
  color: var(--muted);
}

.final-cta,
.thank-you-hero {
  max-width: 860px;
  text-align: center;
}

.final-cta {
  padding-top: 72px;
}

.thank-you-page {
  background:
    linear-gradient(90deg, rgba(15, 118, 110, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, #f7fbfd 0, #ffffff 520px);
  background-size: 44px 44px, auto;
}

.thank-you-hero {
  padding-top: 78px;
}

.thank-you-card {
  padding: clamp(28px, 6vw, 54px);
  background: #fff;
  border: 1px solid var(--line);
  border-top: 5px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.thank-you-hero .button {
  margin-top: 12px;
}

.site-footer {
  padding: 30px 18px;
  color: #b9c4d3;
  background: #101827;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.mobile-sticky-cta {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 30;
  display: none;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 26px rgba(21, 32, 51, 0.13);
  backdrop-filter: blur(12px);
}

@media (min-width: 720px) {
  .header-actions {
    display: inline-flex;
  }

  .section,
  .section-tight {
    padding-right: 28px;
    padding-left: 28px;
  }

  .hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.82fr);
  }

  .two-column,
  .form-shell {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }


  .tutor-profile {
    grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  }

  .testimonial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .trust-strip {
    grid-template-columns: repeat(3, 1fr);
    padding-right: 28px;
    padding-left: 28px;
  }

  .grid-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 920px) {
  .hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
    gap: 42px;
  }

  .hero-copy { max-width: 650px; }
  .hero-copy h1 { font-size: clamp(42px, 4.25vw, 58px); }
}

@media (max-width: 719px) {
  .site-header {
    position: relative;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .section-tight { padding-top: 38px; }
  .hero { gap: 28px; }
  .hero-story { padding: 8px; }
  .story-copy { min-height: 124px; }
}

@media (max-width: 460px) {
  body {
    padding-bottom: 78px;
  }

  .section,
  .section-tight {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .brand {
    max-width: 220px;
  }

  .button {
    width: 100%;
  }

  .diagram-card,
  .path-block,
  .trust-grid article,
  .form-placeholder,
  .credential-card,
  .submission-example {
    padding: 20px;
  }

  .equations {
    grid-template-columns: 1fr;
  }

  .steps li {
    grid-template-columns: 38px 1fr;
    padding: 16px;
  }

  .steps li::before {
    width: 38px;
    height: 38px;
  }

  .mobile-sticky-cta {
    display: block;
  }
}


/* Stage 10C visual microfix: tighten How It Works spacing */
.step-card {
  padding: 20px 22px;
  gap: 16px;
  align-items: flex-start;
}

.step-card + .step-card {
  margin-top: 14px;
}

.step-card p {
  margin: 6px 0 0;
  line-height: 1.55;
}

.step-number {
  width: 44px;
  height: 44px;
  min-width: 44px;
  margin-top: 0;
}

@media (max-width: 700px) {
  .step-card {
    padding: 18px;
    gap: 12px;
  }

  .step-number {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }
}


/* Stage 10C visual microfix v2: compact How It Works cards */
.steps {
  gap: 10px;
}

.step-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 14px;
  row-gap: 0;
  align-items: start;
  padding: 14px 18px;
  min-height: 0;
}

.step-card + .step-card {
  margin-top: 10px;
}

.step-card h3,
.step-card strong {
  margin: 0;
  line-height: 1.25;
}

.step-card p {
  grid-column: 2;
  margin: 2px 0 0;
  line-height: 1.45;
}

.step-number {
  width: 42px;
  height: 42px;
  min-width: 42px;
  margin: 0;
}

@media (max-width: 700px) {
  .step-card {
    grid-template-columns: 38px 1fr;
    padding: 14px;
    column-gap: 12px;
  }

  .step-number {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }
}


/* Stage 10C visual microfix v3: compact actual How It Works list */
.steps {
  gap: 10px;
}

.steps li {
  grid-template-columns: 40px 1fr;
  gap: 8px 14px;
  padding: 14px 18px;
  align-items: start;
}

.steps li::before {
  width: 40px;
  height: 40px;
  margin: 0;
}

.steps strong {
  align-self: center;
  margin: 0;
  line-height: 1.25;
}

.steps span {
  margin: 0;
  line-height: 1.45;
}

@media (max-width: 700px) {
  .steps {
    gap: 10px;
  }

  .steps li {
    grid-template-columns: 36px 1fr;
    padding: 13px 14px;
    gap: 6px 12px;
  }

  .steps li::before {
    width: 36px;
    height: 36px;
  }
}


/* Center the How It Works content on wide screens */
#how-it-works > .section-heading,
#how-it-works > .steps {
  width: 100%;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

#how-it-works > .section-heading {
  margin-bottom: 30px;
  text-align: left;
}
