@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;500;600;700;800;900&display=swap');

:root {
  --ink: #151515;
  --ink-2: #202124;
  --muted: #62666f;
  --panel: #ffffff;
  --paper: #f5f2eb;
  --line: #ded9cd;
  --gold: #f7bf25;
  --gold-2: #d99b0b;
  --green: #4aa873;
  --blue: #2f75b5;
  --red: #cc4b40;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.24);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Source Sans 3', Arial, sans-serif;
  color: var(--ink);
  background: #f8f6f1;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  height: 76px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 clamp(18px, 4vw, 56px);
  background: rgba(15, 15, 15, 0.86);
  color: #fff;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 32px;
  color: #141414;
  background: var(--gold);
  font-size: 13px;
  transform: skewX(-14deg);
  border-radius: 2px;
}

.brand-mark::first-letter {
  transform: skewX(14deg);
}

.brand-name {
  font-size: 20px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.78);
}

.site-nav a:hover {
  color: var(--gold);
}

.header-login {
  margin-left: 22px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
}

.header-login:hover {
  color: var(--gold);
}

.nav-login {
  display: none;
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.header-cta,
.btn-primary {
  background: var(--gold);
  color: #141414;
  box-shadow: 0 10px 28px rgba(247, 191, 37, 0.22);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn.compact {
  min-height: 40px;
  margin-top: 18px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  padding: 10px;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: end;
  gap: 40px;
  padding: 150px clamp(20px, 5vw, 72px) 72px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(110deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.84) 42%, rgba(0, 0, 0, 0.46) 100%),
    linear-gradient(135deg, #161616 0%, #1f2425 46%, #454028 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.9;
}

.route-lines {
  position: absolute;
  inset: auto -10% -16% 30%;
  height: 72%;
  background:
    linear-gradient(118deg, transparent 0 44%, rgba(247, 191, 37, 0.34) 44.2% 44.7%, transparent 45%),
    repeating-linear-gradient(116deg, transparent 0 64px, rgba(255, 255, 255, 0.06) 65px 66px),
    radial-gradient(circle at 74% 30%, rgba(255, 255, 255, 0.18), transparent 28%);
  transform: skewX(-14deg);
}

.route-panel {
  position: absolute;
  right: 4%;
  top: 92px;
  width: min(54vw, 680px);
  height: 410px;
  background:
    linear-gradient(115deg, rgba(247, 191, 37, 0.15), transparent 34%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 38px);
  clip-path: polygon(24% 0, 100% 0, 82% 100%, 0 100%);
  opacity: 0.54;
}

.hero-content {
  position: relative;
  max-width: 740px;
}

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

.eyebrow.dark {
  color: #8d6400;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 20px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.15;
}

.hero-copy {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 19px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-card {
  position: relative;
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px;
  background: rgba(12, 12, 12, 0.78);
  border: 3px solid var(--gold);
  box-shadow: var(--shadow);
}

.hero-card h2 {
  font-size: 28px;
  margin-bottom: 8px;
}

.hero-card p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.45;
}

.card-kicker {
  margin-bottom: 4px;
  font-size: 11px;
  text-transform: uppercase;
}

.health-ring {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: conic-gradient(var(--gold) 0 83%, rgba(255, 255, 255, 0.16) 83% 100%);
  color: #151515;
  position: relative;
  font-weight: 900;
}

.health-ring__content {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.health-ring::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: #fff;
}

.health-ring span {
  display: block;
  font-size: 26px;
  line-height: 1;
}

.health-ring small {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  color: #525252;
  font-size: 10px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.platform-band,
.resource-band {
  background:
    linear-gradient(rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.72)),
    repeating-linear-gradient(144deg, transparent 0 44px, rgba(0, 0, 0, 0.035) 45px 46px),
    var(--paper);
}

.section-shell {
  width: min(var(--max), calc(100vw - 40px));
  margin: 0 auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 56px;
  align-items: center;
  padding: 90px 0 48px;
}

.section-intro p,
.split-section p,
.testimonial-layout p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 17px;
}

.dashboard-visual {
  min-height: 360px;
  border: 1px solid rgba(21, 21, 21, 0.14);
  background: #fff;
  box-shadow: var(--shadow);
}

.dash-toolbar {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 18px;
  background: #222;
}

.dash-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.38;
}

.dash-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 14px;
  padding: 18px;
}

.dash-panel,
.dash-table {
  min-height: 116px;
  padding: 16px;
  border: 1px solid #e7e2d7;
  background: #fbfaf7;
}

.dash-panel.wide {
  grid-row: span 2;
  min-height: 246px;
}

.dash-label,
.trend {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.dash-panel strong {
  display: block;
  margin: 16px 0 7px;
  font-size: 34px;
}

.trend.good {
  color: var(--green);
}

.bar-chart {
  height: 170px;
  display: flex;
  align-items: end;
  gap: 12px;
  margin-top: 24px;
  padding: 12px;
  background: repeating-linear-gradient(0deg, #ece7db 0 1px, transparent 1px 34px);
}

.bar-chart i {
  flex: 1;
  background: linear-gradient(180deg, var(--gold), var(--gold-2));
}

.dash-table {
  grid-column: span 2;
  min-height: 78px;
  display: grid;
  gap: 10px;
}

.dash-table span {
  display: block;
  height: 9px;
  background: linear-gradient(90deg, #d6d0c4 0 34%, #ece7db 34% 100%);
}

.module-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 18px 0 90px;
}

.module-row article {
  padding: 26px;
  background: rgba(255, 255, 255, 0.82);
  border-top: 4px solid var(--gold);
  box-shadow: 0 18px 40px rgba(37, 35, 28, 0.09);
}

.module-row span {
  display: block;
  margin-bottom: 20px;
  color: var(--gold-2);
  font-weight: 900;
}

.module-row p,
.resource-grid p,
.resource-grid a {
  color: var(--muted);
  line-height: 1.6;
}

.dark-band {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.92)),
    repeating-linear-gradient(29deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 38px),
    #171717;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(440px, 1fr);
  gap: 60px;
  align-items: center;
  padding: 90px 0;
}

.split-section p {
  color: rgba(255, 255, 255, 0.72);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  border: 1px solid rgba(247, 191, 37, 0.18);
  background: rgba(247, 191, 37, 0.18);
}

.metric {
  position: relative;
  padding: 36px 32px 32px;
  background: rgba(255, 255, 255, 0.035);
  overflow: hidden;
  transition: background 0.2s;
}

.metric::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, rgba(247,191,37,0.2) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.metric:hover::before,
.metric.in-view::before {
  transform: scaleX(1);
}

.metric:hover {
  background: rgba(247, 191, 37, 0.06);
}

.metric span {
  display: block;
  font-size: clamp(44px, 5vw, 60px);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 60%, rgba(247,191,37,0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.metric p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  text-transform: none;
}

.metric-glow {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247,191,37,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.section-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  padding: 86px 0 34px;
}

.section-heading-row a,
.resource-grid a {
  color: #8d6400;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding-bottom: 96px;
}

.resource-grid article {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  background: #fff;
  border-bottom: 5px solid var(--gold);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.12);
}

.resource-grid article p {
  margin-bottom: 28px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.resource-grid article a {
  margin-top: auto;
}

.testimonial-band {
  background: #fff;
}

.testimonial-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  padding: 92px 0;
  align-items: start;
}

.quote-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

blockquote {
  margin: 0;
  padding: 30px;
  background: #f6f4ee;
  border-left: 5px solid var(--gold);
}

blockquote p {
  color: #303030;
  font-size: 16px;
}

cite {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1fr);
  min-height: 640px;
  background: var(--ink);
  color: #fff;
}

.contact-visual {
  position: relative;
  min-height: 520px;
  background:
    linear-gradient(135deg, rgba(247, 191, 37, 0.15), transparent 42%),
    repeating-linear-gradient(128deg, rgba(255, 255, 255, 0.12) 0 2px, transparent 2px 44px),
    linear-gradient(135deg, #2c3f44, #526967 48%, #202020);
}

.ledger-card {
  position: absolute;
  left: 12%;
  top: 22%;
  width: min(280px, 70%);
  padding: 22px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.ledger-card.offset {
  left: auto;
  right: 10%;
  top: 52%;
}

.ledger-card span,
.ledger-card small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.ledger-card strong {
  display: block;
  margin: 10px 0 7px;
  font-size: 34px;
}

.contact-form {
  width: min(620px, calc(100% - 40px));
  align-self: center;
  justify-self: center;
  padding: 72px 0;
}

.contact-form h2 {
  font-size: clamp(30px, 4vw, 48px);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 3px;
  background: #fff;
  color: #151515;
  padding: 13px 12px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(247, 191, 37, 0.18);
}

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 40px clamp(20px, 5vw, 72px) 28px;
  background: #fff;
  color: #141414;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 13px;
  font-weight: 800;
  flex-wrap: wrap;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.footer-social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  max-width: 100%;
}

.footer-copy {
  flex: 0 1 auto;
}

.footer-social-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
}

.footer-social-link--linkedin {
  background: #0a66c2;
}

.footer-social-link--instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.footer-social-link--facebook {
  background: #1877f2;
}

.footer-legal {
  grid-column: 1 / -1;
  font-size: 11px;
  color: #94a3b8;
  max-width: 860px;
  margin: 0 auto;
  line-height: 1.65;
  text-align: center;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
  width: 100%;
}

.footer-legal a {
  color: #94a3b8;
  text-decoration: underline;
}

.page-hero {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: end;
  padding: 150px 0 82px;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.84) 52%, rgba(0, 0, 0, 0.58) 100%),
    repeating-linear-gradient(128deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 42px),
    #181818;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(760px, 64vw);
  height: 82%;
  background:
    linear-gradient(118deg, transparent 0 42%, rgba(247, 191, 37, 0.22) 42.2% 42.8%, transparent 43%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 28px);
  clip-path: polygon(26% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.62;
}

.page-hero .section-shell {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.95;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 19px;
  line-height: 1.65;
}

.content-band {
  background:
    linear-gradient(rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.76)),
    repeating-linear-gradient(144deg, transparent 0 44px, rgba(0, 0, 0, 0.032) 45px 46px),
    var(--paper);
}

.content-grid,
.outcome-grid,
.customer-grid,
.resource-list,
.process-row {
  display: grid;
  gap: 22px;
  padding: 92px 0;
}

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

.content-grid article,
.customer-grid article,
.process-row article {
  padding: 28px;
  background: #fff;
  border-top: 4px solid var(--gold);
  box-shadow: 0 18px 44px rgba(37, 35, 28, 0.1);
}

.content-grid span,
.process-row span {
  display: block;
  margin-bottom: 18px;
  color: var(--gold-2);
  font-weight: 900;
}

.content-grid h2,
.customer-grid h2,
.process-row h2 {
  margin-bottom: 12px;
  font-size: 25px;
  line-height: 1.12;
}

.content-grid p,
.customer-grid p,
.process-row p,
.outcome-grid p,
.resource-list span,
.page-split p {
  color: var(--muted);
  line-height: 1.68;
}

.page-split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1fr);
  gap: 58px;
  align-items: center;
  padding: 90px 0;
}

.page-split.light {
  color: var(--ink);
}

.page-split.light p {
  font-size: 20px;
}

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

.check-list li {
  position: relative;
  padding: 18px 18px 18px 48px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(247, 191, 37, 0.28);
  line-height: 1.5;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 22px;
  width: 14px;
  height: 14px;
  background: var(--gold);
  clip-path: polygon(14% 53%, 40% 78%, 88% 18%, 100% 30%, 42% 96%, 0 62%);
}

.outcome-grid {
  grid-template-columns: repeat(2, 1fr);
}

.outcome-grid article {
  padding: 34px;
  background: #fff;
  border-left: 5px solid var(--gold);
  box-shadow: 0 18px 44px rgba(37, 35, 28, 0.1);
}

.outcome-grid strong {
  display: block;
  margin-bottom: 24px;
  color: var(--gold-2);
  font-size: 14px;
}

.outcome-grid h2 {
  font-size: 34px;
  line-height: 1.05;
}

.metric-story {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  padding: 90px 0;
}

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

.resource-list article {
  min-height: 240px;
  padding: 30px;
  background: #fff;
  border-bottom: 5px solid var(--gold);
  box-shadow: 0 18px 44px rgba(37, 35, 28, 0.1);
}

.resource-list article p {
  margin-bottom: 22px;
  color: #8d6400;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.resource-list h2 {
  font-size: 28px;
  line-height: 1.08;
}

.wide-quotes {
  grid-template-columns: repeat(2, 1fr);
  padding: 90px 0;
}

.cta-strip {
  padding: 72px 0;
  color: #fff;
  background: #191919;
  border-top: 5px solid var(--gold);
}

.cta-strip .section-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-strip h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 48px);
}

.interior-contact {
  min-height: 720px;
}

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

.legal-hero h1 {
  max-width: 760px;
}

.legal-band {
  background:
    linear-gradient(rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.82)),
    repeating-linear-gradient(144deg, transparent 0 44px, rgba(0, 0, 0, 0.032) 45px 46px),
    var(--paper);
}

.legal-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 54px;
  align-items: start;
  padding: 88px 0;
}

.legal-summary {
  position: sticky;
  top: 104px;
  padding: 28px;
  background: #fff;
  border-top: 4px solid var(--gold);
  box-shadow: 0 18px 44px rgba(37, 35, 28, 0.1);
}

.legal-summary h2 {
  font-size: 30px;
}

.legal-summary p {
  color: var(--muted);
  line-height: 1.65;
}

.legal-copy {
  padding: 42px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(37, 35, 28, 0.1);
}

.legal-copy h2 {
  margin-top: 34px;
  margin-bottom: 12px;
  font-size: 26px;
  line-height: 1.15;
}

.legal-copy h2:first-child {
  margin-top: 0;
}

.legal-copy p,
.legal-copy li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.legal-copy ul {
  display: grid;
  gap: 10px;
  margin: 12px 0 22px;
  padding-left: 22px;
}

/* ── FAQ section (shared across pages) ───────────────────────────────────── */

.faq-band {
  background: #fff;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(440px, 1fr);
  gap: 60px;
  align-items: start;
  padding: 90px 0;
}

.faq-intro h2 {
  font-size: clamp(30px, 3.6vw, 48px);
  margin-bottom: 14px;
}

.faq-intro p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.68;
  max-width: 380px;
}

.faq-list {
  display: grid;
  gap: 3px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  background: none;
  border: none;
  text-align: left;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  cursor: pointer;
}

.faq-question::after {
  content: "+";
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 400;
  color: var(--gold-2);
  transition: transform 0.2s;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding-bottom: 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.68;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ── Keyframe animations ────────────────────────────────────────────────────── */

@keyframes healthPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 168, 115, 0.4); }
  50%       { box-shadow: 0 0 0 12px rgba(74, 168, 115, 0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes dashbarGrow {
  from { height: 0; }
}

@keyframes countUp {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

/* ── Product screenshots section ───────────────────────────────────────────── */

.product-screens-band {
  padding: 80px 0 40px;
  background: var(--bg);
}

.product-screens-band > .section-shell > h2 {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  margin: 12px 0 8px;
  max-width: 560px;
}

.product-screens-sub {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 0;
}

.product-screen-block {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: center;
  margin-top: 56px;
  margin-bottom: 56px;
}

.product-screen-block.reverse {
  grid-template-columns: 2fr 1fr;
}

.product-screen-block.reverse .product-screen-label {
  order: 2;
}

.product-screen-block.reverse .product-screen-frame {
  order: 1;
}

.screen-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  background: rgba(245,158,11,0.15);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.screen-badge.amber {
  background: rgba(249,115,22,0.15);
  color: #f97316;
}

.product-screen-label h3 {
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.3;
}

.product-screen-label p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.screen-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.screen-feature-list li {
  font-size: 14px;
  color: var(--text-muted);
  padding: 5px 0;
  padding-left: 18px;
  position: relative;
}

.screen-feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 12px;
}

/* ── Product screen frame ────────────────────────────────────────── */

.product-screen-frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
  background: #0f172a;
  font-size: 11px;
  font-family: 'Source Sans 3', sans-serif;
}

.psf-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #1e293b;
  padding: 8px 14px;
  border-bottom: 1px solid #334155;
}

.psf-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.psf-dot.red    { background: #ef4444; }
.psf-dot.amber  { background: #f59e0b; }
.psf-dot.green  { background: #22c55e; }

.psf-url {
  font-size: 10px;
  color: #64748b;
  margin-left: 8px;
  letter-spacing: 0.01em;
}

.psf-shell {
  display: flex;
  height: 340px;
  overflow: hidden;
}

.psf-sidebar {
  width: 100px;
  background: #0f172a;
  border-right: 1px solid #1e293b;
  padding: 12px 0;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.psf-logo {
  font-size: 13px;
  font-weight: 800;
  color: #f59e0b;
  padding: 4px 12px 12px;
  letter-spacing: 0.05em;
}

.psf-nav-item {
  font-size: 10px;
  color: #64748b;
  padding: 6px 12px;
  border-radius: 4px;
  margin: 0 6px;
  cursor: pointer;
  white-space: nowrap;
}

.psf-nav-item.active {
  background: rgba(245,158,11,0.15);
  color: #f59e0b;
  font-weight: 600;
}

.psf-main {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #0f172a;
}

.psf-topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 14px;
  border-bottom: 1px solid #1e293b;
  background: #0f172a;
}

.psf-page-title {
  font-size: 12px;
  font-weight: 700;
  color: #f1f5f9;
}

.psf-filter-pills {
  display: flex;
  gap: 6px;
  margin-left: auto;
}

.psf-tabs {
  display: flex;
  gap: 0;
  margin-left: 0;
}

.psf-tab {
  font-size: 10px;
  color: #64748b;
  padding: 4px 10px;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}

.psf-tab.active {
  color: #f59e0b;
  border-bottom-color: #f59e0b;
  font-weight: 600;
}

.psf-pill {
  font-size: 9px;
  background: #1e293b;
  color: #94a3b8;
  border-radius: 20px;
  padding: 3px 8px;
  cursor: pointer;
  border: 1px solid #334155;
}

.psf-pill.active {
  background: rgba(245,158,11,0.2);
  color: #f59e0b;
  border-color: rgba(245,158,11,0.3);
}

.psf-pill.red { border-color: rgba(239,68,68,0.4); color: #ef4444; }
.psf-pill.amber { border-color: rgba(245,158,11,0.4); color: #f59e0b; }

/* KPI row */
.psf-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid #1e293b;
}

.psf-kpi {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.psf-kpi-label {
  font-size: 9px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.psf-kpi-value {
  font-size: 14px;
  font-weight: 700;
  color: #f1f5f9;
}

.psf-kpi-value small {
  font-size: 10px;
  font-weight: 400;
  color: #64748b;
}

.psf-kpi-delta {
  font-size: 9px;
  font-weight: 600;
}

.psf-kpi-delta.up   { color: #22c55e; }
.psf-kpi-delta.down { color: #ef4444; }

/* Charts row */
.psf-charts-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid #1e293b;
  flex: 1;
  min-height: 0;
}

.psf-chart-panel {
  background: #1e293b;
  border-radius: 6px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
}

.psf-chart-title {
  font-size: 10px;
  font-weight: 600;
  color: #f1f5f9;
}

.psf-chart-title span {
  font-size: 9px;
  color: #64748b;
  font-weight: 400;
  margin-left: 6px;
}

.psf-linechart {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.psf-linechart svg {
  flex: 1;
  width: 100%;
  height: 70px;
}

.psf-chart-legend {
  display: flex;
  gap: 12px;
}

.leg-actual, .leg-projected {
  font-size: 8px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 4px;
}

.leg-actual::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 2px;
  background: #f59e0b;
  border-radius: 1px;
}

.leg-projected::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 0;
  border-top: 2px dashed #6b7280;
}

/* Donut */
.psf-donut-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.psf-donut {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
}

.psf-donut-legend {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 8px;
  color: #94a3b8;
}

.psf-donut-legend div {
  display: flex;
  align-items: center;
  gap: 5px;
}

.psf-donut-legend span {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  flex-shrink: 0;
}

/* Leaderboard */
.psf-leaderboard {
  padding: 8px 14px 10px;
  overflow: hidden;
}

.psf-lb-rows {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 6px;
}

.psf-lb-row {
  display: grid;
  grid-template-columns: 16px 60px 1fr 44px;
  align-items: center;
  gap: 6px;
  font-size: 9px;
}

.psf-lb-rank {
  color: #64748b;
  font-weight: 700;
  text-align: center;
}

.psf-lb-name {
  color: #f1f5f9;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.psf-lb-bar-wrap {
  height: 6px;
  background: #1e293b;
  border-radius: 3px;
  overflow: hidden;
}

.psf-lb-bar {
  height: 100%;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  border-radius: 3px;
}

.psf-lb-amt {
  color: #f59e0b;
  font-weight: 600;
  text-align: right;
}

/* Exception queue */
.psf-exc-filters {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-bottom: 1px solid #1e293b;
  flex-wrap: wrap;
}

.psf-exc-assign {
  margin-left: auto;
  font-size: 9px;
  color: #3b82f6;
  cursor: pointer;
}

.psf-exc-table {
  flex: 1;
  overflow: hidden;
}

.psf-exc-thead {
  display: grid;
  grid-template-columns: 80px 54px 100px 56px 60px 30px 72px 64px;
  gap: 4px;
  padding: 6px 14px;
  background: #1e293b;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  border-bottom: 1px solid #334155;
}

.psf-exc-row {
  display: grid;
  grid-template-columns: 80px 54px 100px 56px 60px 30px 72px 64px;
  gap: 4px;
  padding: 7px 14px;
  font-size: 9px;
  color: #94a3b8;
  border-bottom: 1px solid #1e293b;
  align-items: center;
}

.psf-exc-row.critical { background: rgba(239,68,68,0.04); }
.psf-exc-row.high     { background: rgba(245,158,11,0.04); }

.psf-exc-row > span:first-child {
  color: #f1f5f9;
  font-weight: 500;
  font-size: 9px;
}

.var-neg { color: #ef4444; font-weight: 600; }
.var-pos { color: #22c55e; font-weight: 600; }

.age-flag {
  color: #ef4444 !important;
  font-weight: 600;
}

.sev {
  font-size: 8px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sev.critical { background: rgba(239,68,68,0.2); color: #ef4444; }
.sev.high     { background: rgba(245,158,11,0.2); color: #f59e0b; }
.sev.medium   { background: rgba(99,102,241,0.2); color: #818cf8; }

.exc-status {
  font-size: 8px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
}

.exc-status.open     { background: rgba(239,68,68,0.15); color: #f87171; }
.exc-status.review   { background: rgba(245,158,11,0.15); color: #fbbf24; }
.exc-status.resolved { background: rgba(34,197,94,0.15); color: #4ade80; }

.psf-exc-footer {
  font-size: 9px;
  color: #64748b;
  padding: 6px 14px;
  border-top: 1px solid #1e293b;
}

.psf-exc-footer span {
  color: #3b82f6;
  cursor: pointer;
}

@media (max-width: 900px) {
  .product-screen-block,
  .product-screen-block.reverse {
    grid-template-columns: 1fr;
  }
  .product-screen-block.reverse .product-screen-label { order: 1; }
  .product-screen-block.reverse .product-screen-frame { order: 2; }
  .psf-shell { height: auto; flex-direction: column; }
  .psf-sidebar { width: 100%; flex-direction: row; height: auto; padding: 8px; flex-wrap: wrap; border-right: none; border-bottom: 1px solid #1e293b; }
  .psf-kpi-row { grid-template-columns: repeat(2, 1fr); }
  .psf-charts-row { grid-template-columns: 1fr; }
  .psf-exc-thead, .psf-exc-row { grid-template-columns: 80px 54px 1fr 56px; }
  .psf-exc-thead > span:nth-child(n+5),
  .psf-exc-row > span:nth-child(n+5) { display: none; }
}

/* ── Who uses Kommissions section ─────────────────────────────────────────── */

.who-uses-band {
  padding: 80px 0;
  background: var(--surface);
}

.who-uses-band h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  margin: 12px 0 40px;
  max-width: 540px;
}

.who-uses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.who-uses-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
}

.who-uses-role {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.who-uses-card p:last-child {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ── About page ────────────────────────────────────────────────────────────── */

.about-hero h1 {
  font-size: clamp(32px, 4.5vw, 52px);
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  padding: 72px 0;
}

.about-split h2 {
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.25;
  margin: 12px 0 18px;
}

.about-split p {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 14px;
}

.about-section-intro {
  text-align: center;
  max-width: 600px;
  margin: 72px auto 56px;
}

.about-scope-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 16px 0 72px;
}

.about-scope-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
}

.about-scope-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 8px;
}

.about-scope-title {
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  margin: 0 0 10px !important;
}

.about-scope-card p:last-child {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.about-audience-band {
  background: #fff !important;
}

.about-audience-band h2 {
  font-size: clamp(24px, 2.8vw, 36px);
  max-width: 500px;
  margin: 12px 0 40px;
}

.about-audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 72px;
}

.about-audience-grid h3 {
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 10px;
}

.about-audience-grid p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

/* ── Legal pages ────────────────────────────────────────────────────────────── */

.legal-hero h1 {
  font-size: clamp(32px, 4vw, 52px);
}

.legal-hero p:not(.eyebrow) {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
}

.legal-body {
  max-width: 780px;
  padding: 64px 0 96px;
}

.legal-body h2 {
  font-size: 20px;
  font-weight: 800;
  margin: 48px 0 14px;
  color: var(--ink);
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 28px 0 10px;
  color: var(--ink);
}

.legal-body p,
.legal-body li {
  font-size: 15px;
  line-height: 1.75;
  color: #3a3a3a;
  margin-bottom: 14px;
}

.legal-body ul,
.legal-body ol {
  padding-left: 22px;
  margin-bottom: 20px;
}

.legal-body a {
  color: var(--gold-2);
  font-weight: 600;
  text-decoration: underline;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 28px;
  font-size: 14px;
}

.legal-table th {
  text-align: left;
  padding: 10px 14px;
  background: var(--ink-2);
  color: #fff;
  font-weight: 700;
}

.legal-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.6;
}

.legal-table tr:nth-child(even) td {
  background: rgba(0,0,0,0.025);
}

.legal-table code {
  font-family: 'Courier New', monospace;
  font-size: 12px;
  background: rgba(0,0,0,0.07);
  padding: 2px 5px;
  border-radius: 3px;
}

/* ── Article pages ─────────────────────────────────────────────────────────── */

.article-hero {
  padding: 120px 0 64px;
  background: var(--ink-2);
  color: #fff;
}

.article-hero .section-shell {
  max-width: 840px;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 20px;
}

.article-back:hover {
  color: var(--gold-2);
}

.article-hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  margin: 12px 0 20px;
  color: #fff;
}

.article-lede {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255,255,255,0.72);
  max-width: 680px;
  margin-bottom: 24px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}

.article-body {
  padding: 64px 0 96px;
  background: var(--paper);
}

.article-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  align-items: start;
  max-width: 1060px;
}

.article-toc {
  position: sticky;
  top: 96px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
}

.toc-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}

.article-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  counter-reset: toc;
}

.article-toc li {
  counter-increment: toc;
}

.article-toc a {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  padding: 5px 6px;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}

.article-toc a::before {
  content: counter(toc);
  font-size: 11px;
  font-weight: 700;
  color: var(--line);
  min-width: 16px;
  flex-shrink: 0;
}

.article-toc a:hover {
  background: var(--paper);
  color: var(--ink);
}

.article-content h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 48px 0 16px;
  color: var(--ink);
  scroll-margin-top: 96px;
}

.article-content h2:first-child {
  margin-top: 0;
}

.article-content h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--ink);
}

.article-content p {
  font-size: 16px;
  line-height: 1.75;
  color: #2c2c2c;
  margin: 0 0 20px;
}

.article-content ul,
.article-content ol {
  padding-left: 24px;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-content li {
  font-size: 15px;
  line-height: 1.7;
  color: #2c2c2c;
}

.article-content strong {
  color: var(--ink);
  font-weight: 700;
}

.article-content code {
  font-family: 'Courier New', monospace;
  font-size: 13px;
  background: rgba(0,0,0,0.06);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Checklist styling */
.checklist {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.checklist-section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
}

.checklist-section h3 {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink);
}

.checklist-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 10px;
}

.checklist-section li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.checklist-section li::before {
  content: "□";
  position: absolute;
  left: 0;
  font-size: 16px;
  color: var(--gold-2);
  top: -1px;
}

@media (max-width: 980px) {
  .site-header {
    gap: 16px;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 20px;
    background: rgba(15, 15, 15, 0.98);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-login {
    display: block;
  }

  .header-login,
  .header-cta {
    display: none;
  }

  .hero,
  .feature-grid,
  .split-section,
  .page-split,
  .legal-layout,
  .testimonial-layout,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .legal-summary {
    position: static;
  }

  .hero {
    min-height: auto;
    padding-top: 126px;
  }

  .hero-card {
    max-width: 560px;
  }

  .module-row,
  .resource-grid,
  .content-grid,
  .outcome-grid,
  .customer-grid,
  .resource-list,
  .metric-story,
  .process-row,
  .quote-stack {
    grid-template-columns: 1fr;
  }

  .cta-strip .section-shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading-row {
    align-items: start;
    flex-direction: column;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 620px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .section-shell {
    width: min(300px, calc(100vw - 40px));
  }

  .brand-name {
    font-size: 17px;
  }

  .hero {
    padding-left: 20px;
    padding-right: 20px;
    width: 100vw;
  }

  h1 {
    font-size: 34px;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .page-hero {
    min-height: 440px;
    padding: 126px 0 64px;
  }

  .page-hero h1 {
    font-size: 36px;
  }

  .page-hero p:not(.eyebrow) {
    font-size: 16px;
  }

  .legal-copy {
    padding: 26px;
  }

  h2 {
    font-size: 28px;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .hero-copy {
    font-size: 16px;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .hero-content,
  .section-intro,
  .testimonial-layout > *,
  .contact-form {
    width: 100%;
    max-width: min(300px, calc(100vw - 40px));
    min-width: 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-card {
    grid-template-columns: 1fr;
    width: 100%;
    min-width: 0;
    max-width: min(300px, calc(100vw - 40px));
  }

  .hero-card h2,
  .hero-card p {
    overflow-wrap: break-word;
  }

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

  .dashboard-visual {
    min-height: 300px;
  }

  .dash-grid,
  .metrics,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .dash-panel.wide,
  .dash-table {
    grid-column: auto;
    grid-row: auto;
  }

  .contact-visual {
    min-height: 420px;
  }

  .ledger-card,
  .ledger-card.offset {
    left: 20px;
    right: auto;
    width: calc(100% - 40px);
  }

  .ledger-card.offset {
    top: 56%;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .footer-social-row {
    flex-direction: column;
    gap: 10px;
  }

  .footer-social-icons {
    gap: 8px;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 64px 0;
  }

  .faq-intro p {
    max-width: 100%;
  }
}
