:root {
  color-scheme: light;
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-soft: #eef5f7;
  --surface-blue: #edf5ff;
  --ink: #102033;
  --ink-strong: #071728;
  --muted: #5c6b7a;
  --line: #dce5ee;
  --line-strong: #c8d6e3;
  --navy: #0b1f33;
  --navy-2: #133b5c;
  --teal: #1ca7a8;
  --teal-dark: #087679;
  --blue: #2f74d0;
  --green: #2d8b57;
  --amber: #b67912;
  --red: #bf3b3b;
  --violet: #6958c8;
  --shadow: 0 18px 54px rgba(16, 32, 51, 0.12);
  --shadow-soft: 0 10px 28px rgba(16, 32, 51, 0.08);
  --radius: 8px;
  --radius-sm: 6px;
  --max: 1460px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 10%, rgba(28, 167, 168, 0.10), transparent 28%),
    linear-gradient(180deg, #fbfcfe 0%, var(--bg) 44%, #f4f7fb 100%);
  color: var(--ink);
}

body.menu-open {
  overflow: hidden;
}

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

a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--blue);
}

button {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: white;
  text-decoration: none;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(16px, 4vw, 44px);
  border-bottom: 1px solid rgba(220, 229, 238, 0.88);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 278px;
  color: var(--ink-strong);
  text-decoration: none;
}

.brand-mark {
  display: block;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  color: var(--navy);
  filter: drop-shadow(0 12px 20px rgba(11, 31, 51, 0.16));
}

.brand-mark svg {
  display: block;
  width: 42px;
  height: 42px;
}

.brand-mark rect {
  fill: var(--navy);
}

.brand-mark path {
  fill: none;
  stroke: var(--teal);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-mark circle {
  fill: #ffffff;
}

.brand-mark .brand-terminal {
  fill: var(--teal);
  stroke: #ffffff;
  stroke-width: 2.5;
}

.brand-copy {
  display: block;
  min-width: 0;
}

.brand-copy strong {
  display: block;
  max-width: 286px;
  font-size: 14.5px;
  line-height: 1.12;
}

.brand-copy small {
  display: none;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  background: var(--surface-blue);
  color: var(--blue);
}

.nav-link.active {
  background: var(--navy);
  color: white;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--navy);
}

main {
  min-height: calc(100vh - 168px);
}

.page {
  animation: pageIn 260ms ease both;
}

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

.section {
  padding: clamp(42px, 7vw, 88px) clamp(18px, 5vw, 58px);
}

.section-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.section.alt {
  background: linear-gradient(180deg, rgba(237, 245, 255, 0.72), rgba(238, 245, 247, 0.92));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 86px) clamp(18px, 5vw, 58px) clamp(34px, 6vw, 64px);
  background:
    linear-gradient(115deg, rgba(11, 31, 51, 0.96), rgba(19, 59, 92, 0.93) 54%, rgba(28, 167, 168, 0.84)),
    var(--navy);
  color: white;
}

.hero-animation {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, black, transparent 82%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.62fr);
  gap: clamp(22px, 4vw, 48px);
  width: min(100%, var(--max));
  margin: 0 auto;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0 0 16px;
  padding: 7px 11px;
  border: 1px solid rgba(28, 167, 168, 0.34);
  border-radius: 999px;
  background: rgba(28, 167, 168, 0.10);
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero .kicker {
  color: #a8fffb;
  border-color: rgba(168, 255, 251, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

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

h1 {
  max-width: min(100%, 1260px);
  margin-bottom: 18px;
  font-size: clamp(42px, 6.8vw, 82px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0;
}

.hero h1 {
  max-width: min(100%, 920px);
  font-size: clamp(34px, 4.1vw, 58px);
  line-height: 1.1;
  font-weight: 800;
  text-wrap: balance;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4.5vw, 54px);
  line-height: 1.02;
  letter-spacing: 0;
  color: var(--ink-strong);
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.14;
  color: var(--ink-strong);
  letter-spacing: 0;
}

h4 {
  margin-bottom: 8px;
  font-size: 16px;
  color: var(--ink-strong);
}

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

.hero p {
  max-width: min(100%, 980px);
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions,
.button-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-strong);
  text-decoration: none;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.btn.primary {
  background: var(--teal);
  color: white;
  box-shadow: 0 14px 32px rgba(28, 167, 168, 0.28);
}

.btn.dark {
  background: var(--navy);
  color: white;
}

.btn.ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.hero .btn.ghost {
  border-color: rgba(255, 255, 255, 0.36);
  color: white;
}

.hero .btn.primary {
  background: white;
  color: var(--navy);
  box-shadow: 0 18px 42px rgba(255, 255, 255, 0.12);
}

.hero-outcome-panel {
  align-self: stretch;
  display: grid;
  align-content: center;
  min-height: 430px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
}

.hero-panel-label {
  width: fit-content;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(168, 255, 251, 0.14);
  color: #a8fffb;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-outcome-panel h2 {
  max-width: 100%;
  margin-bottom: 18px;
  color: #ffffff;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
}

.hero-outcome-panel ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-outcome-panel li {
  position: relative;
  padding-left: 24px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
}

.hero-outcome-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(28, 167, 168, 0.16);
}

.hero-panel-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.hero-panel-metrics span {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.hero-panel-metrics strong {
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
}

.journey-band-section {
  padding-top: clamp(28px, 4vw, 46px);
  padding-bottom: clamp(28px, 4vw, 48px);
  background: linear-gradient(180deg, #ffffff 0%, #f4f8fb 100%);
  border-bottom: 1px solid var(--line);
}

.compact-heading {
  margin-bottom: 18px;
}

.compact-heading h2 {
  max-width: 1180px;
  font-size: clamp(28px, 3vw, 42px);
  text-wrap: balance;
}

.compact-heading p {
  max-width: 1120px;
}

.journey-strip {
  display: grid;
  grid-template-columns: repeat(9, minmax(118px, 1fr));
  gap: 10px;
}

.journey-strip-node {
  position: relative;
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 132px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.journey-strip-node span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--surface-blue);
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.journey-strip-node strong {
  display: block;
  color: var(--ink-strong);
  font-size: 14px;
  line-height: 1.16;
}

.journey-strip-node small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.page-hero {
  padding: clamp(38px, 5vw, 68px) clamp(18px, 5vw, 58px);
  background:
    linear-gradient(135deg, rgba(237, 245, 255, 0.96), rgba(255, 255, 255, 0.84)),
    var(--surface);
  border-bottom: 1px solid var(--line);
}

.page-hero .section-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
}

.page-hero h1 {
  max-width: min(100%, 1280px);
  color: var(--ink-strong);
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.08;
  font-weight: 800;
  text-wrap: balance;
}

.page-hero p {
  max-width: min(100%, 1160px);
  font-size: 18px;
}

.hero-stat {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.hero-stat strong {
  display: block;
  font-size: clamp(32px, 3vw, 42px);
  line-height: 1;
  color: var(--navy);
}

.hero-stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.45;
}

.section-heading {
  max-width: 100%;
  margin-bottom: 28px;
}

.section-heading:not(.compact-heading) h2 {
  max-width: 100%;
  font-size: clamp(30px, 3.45vw, 44px);
  line-height: 1.06;
  text-wrap: pretty;
}

.section-heading p:not(.kicker) {
  max-width: min(100%, 1240px);
}

.section-heading.center {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading.center .kicker {
  margin-left: auto;
  margin-right: auto;
}

.decision-heading {
  max-width: 100%;
}

.decision-title {
  font-size: clamp(34px, 3.35vw, 46px);
  line-height: 1.08;
  text-wrap: pretty;
}

.decision-subtitle {
  max-width: min(100%, 1320px);
  text-wrap: pretty;
  font-size: 18px;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid > *,
.story-panel-grid > *,
.ownership-bucket-grid > *,
.chapter-grid > *,
.demo-shell > * {
  min-width: 0;
}

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

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

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

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

.grid.auto {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  position: relative;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
}

.card.compact {
  padding: 18px;
}

.model-card {
  display: flex;
  flex-direction: column;
}

.model-title {
  margin: 0 0 14px;
  color: var(--teal-dark);
  font-size: clamp(20px, 1.35vw, 25px);
  line-height: 1.12;
  font-weight: 950;
  text-transform: uppercase;
}

.model-card > p {
  margin-top: 0;
}

.market-signal-card {
  overflow: hidden;
  border-color: rgba(28, 167, 168, 0.34);
  background:
    linear-gradient(180deg, rgba(232, 250, 249, 0.92), rgba(255, 255, 255, 0.98)),
    var(--surface);
  box-shadow: 0 24px 58px rgba(28, 167, 168, 0.16), 0 10px 26px rgba(16, 32, 51, 0.08);
}

.market-signal-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
}

.market-signal-card .eyebrow {
  margin-top: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(28, 167, 168, 0.11);
  color: #006f73;
}

.market-signal-card p {
  color: #42586d;
  font-weight: 500;
}

.signal-metric-group {
  display: inline;
}

.signal-metric {
  display: inline-flex;
  align-items: center;
  margin: 0 3px 5px 0;
  padding: 2px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(28, 167, 168, 0.16), rgba(47, 116, 208, 0.12));
  color: var(--navy);
  font-weight: 950;
  white-space: nowrap;
}

.market-signal-card .source-note {
  border-top-color: rgba(28, 167, 168, 0.24);
}

.card.dark {
  background: linear-gradient(145deg, var(--navy), #173b59);
  border-color: rgba(255, 255, 255, 0.12);
  color: white;
}

.card.dark h3,
.card.dark h2,
.card.dark h4,
.card.dark strong {
  color: white;
}

.card.dark p,
.card.dark li,
.card.dark span {
  color: rgba(255, 255, 255, 0.78);
}

.card.dark .table-wrap {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.card.dark th {
  background: rgba(255, 255, 255, 0.10);
  color: white;
}

.card.dark td {
  color: rgba(255, 255, 255, 0.82);
  border-color: rgba(255, 255, 255, 0.12);
}

.card.dark .btn.ghost {
  color: white;
  border-color: rgba(255, 255, 255, 0.58);
}

.case-teaser-title {
  max-width: 100%;
  color: white;
  font-size: clamp(30px, 2.45vw, 44px);
  line-height: 1.08;
  text-wrap: pretty;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.source-note {
  display: block;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.story-step {
  min-height: 170px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.story-step span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: var(--surface-blue);
  color: var(--blue);
  font-weight: 900;
}

.story-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1.45fr);
  gap: 18px;
  align-items: start;
  margin-top: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.story-panel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.story-takeaway {
  margin: 14px 0 0;
  padding: 14px;
  border-left: 4px solid var(--teal);
  border-radius: var(--radius-sm);
  background: #effafa;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.52;
}

.story-panel {
  padding: 16px;
  border-radius: var(--radius);
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.story-panel strong {
  display: block;
  margin-bottom: 7px;
  color: var(--ink-strong);
}

.story-panel p {
  margin: 0;
  font-size: 14px;
}

.story-bullets {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.story-bullets li {
  padding-left: 2px;
  font-size: 14px;
  line-height: 1.5;
}

.story-bullets li::marker {
  color: var(--teal);
}

.ownership-buckets {
  margin-bottom: 18px;
  padding: 22px;
  border: 1px solid #b8e4e4;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ffffff 0%, #eefafa 100%);
  box-shadow: var(--shadow-soft);
}

.ownership-bucket-heading {
  max-width: min(100%, 1240px);
}

.ownership-bucket-heading h3 {
  margin: 4px 0 8px;
  max-width: min(100%, 1180px);
  font-size: clamp(24px, 2.4vw, 36px);
  text-wrap: balance;
}

.ownership-bucket-heading p:last-child {
  max-width: min(100%, 1200px);
  margin-bottom: 0;
  color: var(--ink);
  font-weight: 700;
}

.ownership-bucket-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.ownership-bucket {
  min-height: 210px;
  padding: 18px;
  border: 1px solid var(--line);
  border-top: 6px solid var(--teal);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(11, 31, 51, 0.08);
}

.ownership-bucket:nth-child(1) {
  border-top-color: var(--navy);
}

.ownership-bucket:nth-child(2) {
  border-top-color: var(--blue);
}

.ownership-bucket strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink-strong);
  font-size: 22px;
}

.ownership-bucket p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.split-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

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

.list-clean li,
.check-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.48;
}

.list-clean li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--teal);
}

.plain-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.58;
}

.plain-list li + li {
  margin-top: 6px;
}

.table-wrap {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: #f0f5f9;
  color: var(--ink-strong);
  font-size: 13px;
  text-transform: uppercase;
}

td {
  color: var(--muted);
  line-height: 1.45;
}

tr:last-child td {
  border-bottom: 0;
}

.s2p-classifier-card {
  width: 100%;
}

.s2p-tool-table {
  overflow-x: visible;
}

.s2p-tool-table table {
  min-width: 0;
  table-layout: fixed;
}

.s2p-tool-table th,
.s2p-tool-table td {
  overflow-wrap: anywhere;
}

.s2p-tool-table th {
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
  white-space: normal;
}

.s2p-tool-table th:nth-child(1),
.s2p-tool-table td:nth-child(1) {
  width: 19%;
}

.s2p-tool-table th:nth-child(2),
.s2p-tool-table td:nth-child(2) {
  width: 21%;
}

.s2p-tool-table th:nth-child(3),
.s2p-tool-table td:nth-child(3) {
  width: 24%;
}

.s2p-tool-table th:nth-child(4),
.s2p-tool-table td:nth-child(4) {
  width: 36%;
}

.scoring-explainer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 18px;
}

.scoring-explainer article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
}

.scoring-explainer strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-strong);
}

.scoring-explainer p {
  margin: 0;
  font-size: 13px;
  line-height: 1.48;
}

.calculation-table {
  overflow-x: visible;
}

.calculation-table table {
  min-width: 0;
  table-layout: fixed;
}

.calculation-table th,
.calculation-table td {
  overflow-wrap: anywhere;
}

.table-bullets {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 18px;
  color: inherit;
}

.table-bullets li {
  line-height: 1.42;
}

.table-bullets li::marker {
  color: var(--teal);
}

.implementation-impact-card > p {
  max-width: min(100%, 1240px);
}

.implementation-impact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.implementation-impact-panel {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #f7fbfc, #ffffff);
}

.implementation-impact-panel h4 {
  margin: 0;
  color: var(--teal-dark);
  font-size: 18px;
}

.implementation-impact-panel strong {
  display: block;
  margin-bottom: 7px;
  color: var(--ink-strong);
  font-size: 13px;
  text-transform: uppercase;
}

.implementation-impact-panel ul {
  margin-bottom: 0;
}

.case-impact-wrap {
  margin-top: 18px;
}

.case-impact-wrap h4 {
  margin-bottom: 12px;
}

.impact-table {
  overflow-x: visible;
}

.impact-table table {
  min-width: 0;
  table-layout: fixed;
}

.impact-table th,
.impact-table td {
  overflow-wrap: anywhere;
}

.impact-table th:nth-child(1),
.impact-table td:nth-child(1) {
  width: 16%;
}

.impact-table th:nth-child(2),
.impact-table td:nth-child(2),
.impact-table th:nth-child(3),
.impact-table td:nth-child(3) {
  width: 13%;
}

.impact-table th:nth-child(4),
.impact-table td:nth-child(4) {
  width: 25%;
}

.impact-table th:nth-child(5),
.impact-table td:nth-child(5) {
  width: 33%;
}

.tool-map-table {
  overflow-x: visible;
}

.tool-map-table table {
  min-width: 0;
  table-layout: fixed;
}

.tool-map-table th,
.tool-map-table td {
  overflow-wrap: anywhere;
}

.tool-map-table th:nth-child(1),
.tool-map-table td:nth-child(1) {
  width: 18%;
}

.tool-map-table th:nth-child(2),
.tool-map-table td:nth-child(2) {
  width: 32%;
}

.tool-map-table th:nth-child(3),
.tool-map-table td:nth-child(3) {
  width: 30%;
}

.tool-map-table th:nth-child(4),
.tool-map-table td:nth-child(4) {
  width: 20%;
}

.badge {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--surface-blue);
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  white-space: normal;
}

.badge.high,
.badge.agent {
  background: rgba(45, 139, 87, 0.12);
  color: var(--green);
}

.badge.medium {
  background: rgba(182, 121, 18, 0.13);
  color: var(--amber);
}

.badge.risk {
  background: rgba(191, 59, 59, 0.11);
  color: var(--red);
}

.badge.human {
  background: rgba(105, 88, 200, 0.11);
  color: var(--violet);
}

.badge.assist {
  background: rgba(47, 116, 208, 0.11);
  color: var(--blue);
}

.timeline {
  display: grid;
  gap: 14px;
  counter-reset: chapter;
}

.timeline-item {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.timeline-number {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: var(--navy);
  color: white;
  font-weight: 900;
}

.timeline-content {
  display: grid;
  gap: 12px;
}

.chapter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.mini-panel {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
}

.mini-panel strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink-strong);
  font-size: 13px;
}

.mini-panel p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.demo-shell {
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.wizard-rail {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.wizard-step-button {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--muted);
  text-align: left;
  font-weight: 800;
}

.wizard-step-button span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 12px;
}

.wizard-step-button.active {
  background: var(--navy);
  color: white;
}

.wizard-step-button.active span {
  background: white;
  color: var(--navy);
}

.wizard-stage {
  display: grid;
  gap: 18px;
}

.wizard-card {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.wizard-card > h2 {
  max-width: 100%;
  font-size: clamp(32px, 3vw, 44px);
  line-height: 1.08;
  text-wrap: pretty;
}

.wizard-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.progress-track {
  height: 8px;
  min-width: 220px;
  flex: 1;
  border-radius: 999px;
  background: var(--surface-soft);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  transition: width 220ms ease;
}

.input-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label,
.check-card label,
.slider label {
  color: var(--ink-strong);
  font-weight: 800;
  line-height: 1.35;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  padding: 10px 12px;
}

.field textarea {
  min-height: 92px;
  resize: vertical;
}

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

.check-card {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
}

.check-card input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--teal);
}

.output-callout {
  padding: 18px;
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  background: #effafa;
}

.output-callout strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-strong);
}

.output-callout p {
  margin: 0;
}

.disclaimer {
  padding: 14px;
  border: 1px solid rgba(182, 121, 18, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 246, 226, 0.92);
  color: #6f4a0b;
  line-height: 1.55;
}

.status-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.metric-row {
  display: grid;
  gap: 12px;
}

.metric-bar {
  display: grid;
  gap: 7px;
}

.metric-bar header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink-strong);
  font-weight: 800;
}

.bar-track {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface-soft);
}

.bar-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--blue));
}

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

.slider {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
}

.slider header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.slider input {
  width: 100%;
  accent-color: var(--teal);
}

.score-panel {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 20px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy), #173b59);
  color: white;
}

.score-circle {
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background:
    conic-gradient(var(--teal) calc(var(--score) * 1%), rgba(255, 255, 255, 0.16) 0),
    rgba(255, 255, 255, 0.10);
}

.score-circle strong {
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  border-radius: inherit;
  background: var(--navy);
  color: white;
  font-size: 34px;
}

.score-panel h3,
.score-panel p {
  color: white;
}

.score-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.heatmap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.heatmap-card {
  min-height: 132px;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.heatmap-card.low {
  background: rgba(45, 139, 87, 0.09);
}

.heatmap-card.medium {
  background: rgba(182, 121, 18, 0.12);
}

.heatmap-card.high {
  background: rgba(191, 59, 59, 0.10);
}

.heatmap-list {
  display: grid;
  gap: 7px;
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.heatmap-list li {
  padding-left: 2px;
  line-height: 1.42;
}

.heatmap-list li::marker {
  color: var(--teal);
}

.output-pack {
  display: grid;
  gap: 16px;
}

.pack-section {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.pack-section h3 {
  font-size: 21px;
}

.pack-section p,
.pack-section li {
  color: var(--muted);
  line-height: 1.55;
}

.reference-category {
  margin-top: 28px;
}

.reference-card a {
  display: inline-flex;
  margin-top: 10px;
  font-weight: 900;
  text-decoration: none;
}

.insight-card {
  display: grid;
  align-content: start;
  gap: 12px;
}

.insight-card .btn {
  justify-self: start;
  margin-top: 6px;
}

.insight-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.insight-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.insight-meta span + span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--teal);
}

.insight-meta.large {
  margin-bottom: 16px;
  font-size: 14px;
}

.insight-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.38fr);
  gap: 22px;
  align-items: start;
}

.insight-article {
  display: grid;
  gap: 22px;
}

.insight-article-section h2 {
  margin-bottom: 10px;
  font-size: clamp(25px, 3vw, 36px);
}

.insight-side-panel {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 16px;
}

.insight-link-list {
  display: grid;
  gap: 10px;
}

.insight-link-list .btn {
  justify-content: flex-start;
  width: 100%;
  text-align: left;
}

.share-status {
  min-height: 22px;
  margin: 0;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 850;
}

.faq-category {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

summary {
  list-style: none;
  padding: 16px 18px;
  color: var(--ink-strong);
  font-weight: 900;
  cursor: pointer;
}

summary::-webkit-details-marker {
  display: none;
}

details p {
  margin: 0;
  padding: 0 18px 18px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(460px, 1.15fr);
  gap: 22px;
  align-items: start;
}

.contact-intro h2 {
  margin-bottom: 18px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

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

.contact-status {
  min-height: 24px;
  margin: 0;
  color: var(--teal-dark);
  font-weight: 800;
}

.contact-direct {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
}

.contact-direct strong {
  color: var(--ink-strong);
}

.contact-direct span {
  color: var(--teal-dark);
  font-weight: 900;
}

.contact-direct a {
  color: var(--blue);
  font-weight: 850;
  text-decoration: none;
}

.contact-direct a:hover,
.contact-direct a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content {
  display: grid;
  gap: 16px;
  max-width: 980px;
}

.legal-section h2 {
  margin-bottom: 10px;
  font-size: clamp(24px, 3vw, 34px);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 58px);
  border-top: 1px solid var(--line);
  background: white;
}

.site-footer p {
  margin: 0;
  font-size: 14px;
}

.footer-right {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  color: var(--ink-strong);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--teal-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-note {
  max-width: 430px;
  text-align: right;
}

.hide-print {
  display: initial;
}

.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;
}

.studio-assistant {
  position: fixed;
  right: clamp(16px, 3vw, 34px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 60;
  display: grid;
  justify-items: end;
  gap: 12px;
  pointer-events: none;
}

.studio-assistant * {
  pointer-events: auto;
}

.assistant-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--navy), var(--teal-dark));
  color: white;
  font-weight: 950;
  letter-spacing: 0;
  box-shadow: 0 18px 44px rgba(11, 31, 51, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.assistant-toggle::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 0 8px rgba(28, 167, 168, 0.16);
}

.assistant-toggle:hover,
.assistant-toggle:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 52px rgba(11, 31, 51, 0.34);
}

.assistant-panel {
  display: flex;
  flex-direction: column;
  width: min(430px, calc(100vw - 32px));
  max-height: min(720px, calc(100vh - 108px));
  overflow: hidden;
  border: 1px solid rgba(200, 214, 227, 0.98);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 74px rgba(11, 31, 51, 0.24);
}

.studio-assistant:not(.open) .assistant-panel {
  display: none;
}

.assistant-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(11, 31, 51, 0.98), rgba(19, 59, 92, 0.94)),
    var(--navy);
  color: white;
}

.assistant-panel header strong,
.assistant-panel header span {
  display: block;
}

.assistant-panel header strong {
  font-size: 18px;
  line-height: 1.2;
}

.assistant-panel header span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

.assistant-panel header button {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 12px;
  font-weight: 900;
}

.assistant-messages {
  display: grid;
  gap: 10px;
  min-height: 190px;
  max-height: 340px;
  overflow: auto;
  padding: 14px;
  background: linear-gradient(180deg, #f8fbfd, #eef5f7);
}

.assistant-message {
  max-width: 92%;
}

.assistant-message.user {
  justify-self: end;
}

.assistant-message p {
  margin: 0;
  padding: 11px 13px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: white;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.48;
  white-space: pre-line;
}

.assistant-message.user p {
  border-color: rgba(11, 31, 51, 0.16);
  background: var(--navy);
  color: white;
}

.assistant-suggestions {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  background: white;
}

.assistant-suggestions button {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  color: var(--ink);
  text-align: left;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.assistant-suggestions button:hover,
.assistant-suggestions button:focus-visible {
  border-color: rgba(28, 167, 168, 0.46);
  background: rgba(28, 167, 168, 0.10);
  transform: translateY(-1px);
}

.assistant-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 12px 14px 14px;
  border-top: 1px solid var(--line);
  background: white;
}

.assistant-form input {
  min-width: 0;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fbfcfe;
  color: var(--ink);
}

.assistant-form input:focus {
  outline: 3px solid rgba(28, 167, 168, 0.18);
  border-color: var(--teal);
}

.assistant-form button {
  height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--teal-dark);
  color: white;
  font-weight: 900;
}

@media (max-width: 1120px) {
  .primary-nav {
    display: none;
    position: fixed;
    left: 14px;
    right: 14px;
    top: 74px;
    max-height: calc(100vh - 92px);
    overflow: auto;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: white;
    box-shadow: var(--shadow);
  }

  body.menu-open .primary-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-link {
    justify-content: flex-start;
    min-height: 44px;
    border-radius: var(--radius-sm);
  }

  .hero-grid,
  .page-hero .section-inner,
  .demo-shell {
    grid-template-columns: 1fr;
  }

  .hero-outcome-panel {
    min-height: auto;
  }

  .wizard-rail {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-grid,
  .chapter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 820px) {
  .grid.two,
  .grid.three,
  .grid.four,
  .grid.five,
  .split-compare,
  .story-section,
  .story-panel-grid,
  .ownership-bucket-grid,
  .implementation-impact-grid,
  .insight-article-layout,
  .contact-layout,
  .form-grid,
  .input-grid,
  .slider-grid,
  .score-panel,
  .scoring-explainer,
  .heatmap {
    grid-template-columns: 1fr;
  }

  .journey-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-outcome-panel {
    display: none;
  }

  .score-circle {
    width: 132px;
    height: 132px;
  }

  .score-circle strong {
    width: 102px;
    height: 102px;
  }

  .s2p-tool-table {
    overflow-x: visible;
  }

  .s2p-tool-table table,
  .calculation-table table,
  .impact-table table,
  .tool-map-table table,
  .s2p-tool-table tbody,
  .calculation-table tbody,
  .impact-table tbody,
  .tool-map-table tbody,
  .s2p-tool-table tr,
  .calculation-table tr,
  .impact-table tr,
  .tool-map-table tr,
  .s2p-tool-table td {
    display: block;
    width: 100%;
  }

  .calculation-table td,
  .impact-table td,
  .tool-map-table td {
    display: block;
    width: 100%;
  }

  .s2p-tool-table thead,
  .calculation-table thead,
  .impact-table thead,
  .tool-map-table thead {
    display: none;
  }

  .s2p-tool-table tr,
  .calculation-table tr,
  .impact-table tr,
  .tool-map-table tr {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
  }

  .s2p-tool-table tr:last-child,
  .calculation-table tr:last-child,
  .impact-table tr:last-child,
  .tool-map-table tr:last-child {
    border-bottom: 0;
  }

  .s2p-tool-table td,
  .calculation-table td,
  .impact-table td,
  .tool-map-table td {
    position: relative;
    min-height: 30px;
    padding: 7px 0 7px 132px;
    border-bottom: 0;
  }

  .s2p-tool-table td::before,
  .calculation-table td::before,
  .impact-table td::before,
  .tool-map-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 0;
    top: 8px;
    width: 112px;
    color: var(--ink-strong);
    font-size: 11px;
    font-weight: 900;
    line-height: 1.25;
    text-transform: uppercase;
  }

  .site-footer,
  .footer-right,
  .footer-note {
    text-align: left;
    align-items: flex-start;
    flex-direction: column;
    justify-items: start;
  }

  .decision-title {
    font-size: 34px;
  }

  .decision-subtitle {
    white-space: normal;
  }

  .wizard-card > h2 {
    white-space: normal;
  }

  .insight-side-panel {
    position: static;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (min-width: 821px) {
  .wizard-card > h2 {
    white-space: nowrap;
  }
}

@media (max-width: 560px) {
  .brand {
    min-width: 0;
  }

  .brand-copy small {
    display: none;
  }

  body.menu-open .primary-nav,
  .wizard-rail,
  .story-grid,
  .chapter-grid,
  .journey-strip {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn,
  .button-row .btn {
    width: 100%;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 40px;
  }

  .hero h1 {
    font-size: 30px;
    line-height: 1.14;
  }

  .studio-assistant {
    left: 12px;
    right: 12px;
    bottom: 12px;
    justify-items: stretch;
  }

  .assistant-toggle {
    justify-self: end;
  }

  .assistant-panel {
    width: 100%;
    max-height: calc(100vh - 92px);
  }

  .assistant-form {
    grid-template-columns: 1fr;
  }
}

@media print {
  body {
    background: white;
    color: #111;
  }

  .site-header,
  .site-footer,
  .wizard-rail,
  .studio-assistant,
  .hide-print,
  .button-row,
  .menu-toggle {
    display: none !important;
  }

  .section,
  .page-hero,
  .hero {
    padding: 18px 0;
    background: white !important;
    color: #111 !important;
  }

  .section-inner,
  .hero-grid {
    width: 100%;
  }

  .card,
  .wizard-card,
  .pack-section,
  .table-wrap {
    box-shadow: none;
    break-inside: avoid;
  }

  a {
    color: #111;
    text-decoration: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-animation {
    display: none;
  }
}
