:root {
  --ink: #0b1720;
  --ink-soft: #142733;
  --ink-muted: #28404e;
  --paper: #f4f1e9;
  --paper-deep: #ebe6da;
  --surface: #fffdf8;
  --white: #ffffff;
  --coral: #ff6f59;
  --coral-soft: #ffb2a6;
  --mint: #7dd8b4;
  --mint-deep: #37a77f;
  --sand: #e3c47a;
  --sky: #99cce3;
  --line-dark: rgba(255, 255, 255, 0.12);
  --line-light: #ddd8cd;
  --muted-light: #687783;
  --shadow-soft: 0 24px 70px rgba(7, 18, 25, 0.13);
  --shadow-dark: 0 30px 90px rgba(0, 0, 0, 0.3);
  --focus-inner: #fffdf8;
  --focus-outer: #176b57;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --font-sans: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-display: "Iowan Old Style", "Baskerville", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

a {
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

h1,
h2,
h3,
h4 {
  line-height: 1.12;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-120%);
  transition: 160ms ease;
}

.skip-link:focus {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--focus-inner);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--focus-outer);
}

.page-home {
  background: var(--ink);
  color: var(--white);
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--line-dark);
  background: rgba(11, 23, 32, 0.9);
  backdrop-filter: blur(18px);
}

.page-home .site-header {
  position: absolute;
  inset: 0 0 auto;
}

.nav-wrap {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--white);
  text-decoration: none;
}

.brand-logo {
  width: 118px;
  height: auto;
  flex: 0 0 auto;
}

.brand-tagline {
  padding-left: 13px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  line-height: 1.25;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: color 160ms ease;
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

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

.button-primary {
  background: var(--coral);
  color: #1c1513;
  box-shadow: 0 16px 34px rgba(255, 111, 89, 0.22);
}

.button-primary:hover {
  background: #ff806d;
}

.button-small {
  min-height: 38px;
  padding: 9px 14px;
  border-radius: 9px;
  font-size: 12px;
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white) !important;
}

.button-text {
  padding-inline: 8px;
  color: rgba(255, 255, 255, 0.78);
}

.button-dark {
  background: var(--ink);
  color: var(--white);
}

.button-full {
  width: 100%;
}

.button:disabled {
  cursor: default;
  opacity: 0.7;
  transform: none;
}

.hero {
  position: relative;
  min-height: 770px;
  overflow: hidden;
  padding: 160px 0 92px;
  background:
    linear-gradient(125deg, rgba(11, 23, 32, 0.99) 20%, rgba(12, 32, 43, 0.92) 72%, rgba(11, 23, 32, 0.98)),
    radial-gradient(circle at 70% 30%, rgba(125, 216, 180, 0.12), transparent 38%);
}

.hero::after {
  position: absolute;
  inset: auto -10% -160px 28%;
  height: 250px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
  transform: rotate(-4deg);
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(1px);
  opacity: 0.75;
  pointer-events: none;
}

.hero-glow-one {
  top: 120px;
  right: -120px;
  width: 470px;
  height: 470px;
  border: 1px solid rgba(125, 216, 180, 0.1);
  box-shadow: 0 0 100px rgba(125, 216, 180, 0.06) inset;
}

.hero-glow-two {
  bottom: -220px;
  left: 40%;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(255, 111, 89, 0.1);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.88fr);
  align-items: center;
  gap: 76px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  color: var(--mint);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 5px rgba(125, 216, 180, 0.1);
}

.eyebrow-dark {
  color: var(--mint-deep);
}

.hero h1 {
  max-width: 660px;
  margin-bottom: 26px;
  font-family: var(--font-display);
  font-size: clamp(52px, 5.7vw, 78px);
  font-weight: 500;
  letter-spacing: -0.055em;
}

.hero-lede {
  max-width: 620px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 38px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  list-style: none;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.trust-list li span {
  color: var(--mint);
}

.product-frame {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(248, 248, 243, 0.98);
  color: var(--ink);
  box-shadow: var(--shadow-dark);
}

.hero-product {
  position: relative;
  padding: 26px;
  transform: perspective(1200px) rotateY(-3deg) rotateX(1deg);
  animation: frame-enter 650ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-product::before {
  position: absolute;
  z-index: -1;
  inset: 28px -20px -20px 26px;
  border: 1px solid rgba(125, 216, 180, 0.16);
  border-radius: inherit;
  content: "";
}

@keyframes frame-enter {
  from { opacity: 0; transform: perspective(1200px) translateY(22px) rotateY(-3deg); }
  to { opacity: 1; transform: perspective(1200px) translateY(0) rotateY(-3deg) rotateX(1deg); }
}

.product-frame-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-light);
}

.product-frame-top > div {
  display: grid;
  gap: 5px;
}

.frame-kicker,
.panel-kicker {
  color: #7b878c;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-frame-top strong {
  font-size: 18px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 29px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 750;
  white-space: nowrap;
}

.status-pill span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.status-review {
  background: #fff0e8;
  color: #b94a35;
}

.status-ready {
  background: #e7f7ef;
  color: #26795c;
}

.status-evidence {
  background: #fff5d9;
  color: #8b681e;
}

.bill-summary {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 27px 0 24px;
}

.bill-summary > div:not(.bill-arrow) {
  display: grid;
  gap: 3px;
}

.bill-summary span {
  color: var(--muted-light);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bill-summary strong {
  font-size: 25px;
  letter-spacing: -0.035em;
}

.bill-arrow {
  color: #9ba4a5;
  font-size: 21px;
}

.text-right {
  text-align: right;
}

.bill-summary .accent-amount {
  color: #c24d3d;
}

.coverage-stack {
  display: grid;
  gap: 18px;
  padding: 20px;
  border: 1px solid #e5e0d6;
  border-radius: 16px;
  background: #fffdf8;
}

.coverage-label {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
  color: #52636d;
  font-size: 11px;
}

.coverage-label strong {
  color: var(--ink);
}

.progress-track {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #eae7df;
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--coral);
}

.progress-track .coverage-55 { width: 55%; }
.progress-track .coverage-28 { width: 28%; }
.progress-track .coverage-17 { width: 17%; }

.progress-mint span {
  background: var(--mint-deep);
}

.progress-sand span {
  background: var(--sand);
}

.match-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 15px 16px;
  border-radius: 14px;
  background: #e9f6f1;
}

.match-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  background: var(--mint-deep);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
}

.match-note div {
  display: grid;
  gap: 2px;
}

.match-note strong {
  font-size: 11px;
}

.match-note small {
  color: #60736d;
  font-size: 9px;
}

.context-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #0d1c25;
}

.context-grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 60px;
  padding-block: 50px;
}

.context-label {
  margin: 6px 0 0;
  color: var(--mint);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.context-statement {
  max-width: 900px;
  margin: 0;
  color: rgba(255, 255, 255, 0.83);
  font-family: var(--font-display);
  font-size: clamp(26px, 3.1vw, 38px);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.section {
  padding: 112px 0;
}

.section-light {
  background: var(--paper);
  color: var(--ink);
}

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

.section-heading h2,
.workspace-copy h2,
.trust-copy h2,
.stage-card h2 {
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-size: clamp(40px, 4.4vw, 57px);
  font-weight: 500;
  letter-spacing: -0.045em;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.7fr);
  align-items: end;
  gap: 90px;
}

.split-heading h2 {
  max-width: 680px;
  margin-bottom: 0;
}

.split-heading > p {
  margin-bottom: 3px;
  color: #5e6e77;
  font-size: 16px;
  line-height: 1.75;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-light);
  list-style: none;
}

.step-card {
  position: relative;
  min-height: 320px;
  padding: 26px 24px 30px;
  border-right: 1px solid var(--line-light);
}

.step-card:last-child {
  border-right: 0;
}

.step-number {
  display: block;
  color: #9a9b94;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.1em;
}

.step-symbol {
  display: grid;
  width: 62px;
  height: 62px;
  margin: 44px 0 28px;
  place-items: center;
  border: 1px solid #d2cdc1;
  border-radius: 20px 6px 20px 6px;
  color: var(--mint-deep);
  font-family: var(--font-display);
  font-size: 27px;
  transition: border-radius 180ms ease, background 180ms ease;
}

.step-card:hover .step-symbol {
  border-radius: 6px 20px 6px 20px;
  background: rgba(125, 216, 180, 0.12);
}

.step-card h3 {
  margin-bottom: 12px;
  font-size: 17px;
}

.step-card p {
  margin: 0;
  color: #64737b;
  font-size: 13px;
  line-height: 1.7;
}

.workspace-section {
  overflow: hidden;
  background: #11232e;
}

.workspace-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(570px, 1.28fr);
  align-items: center;
  gap: 80px;
}

.workspace-copy > p:not(.eyebrow) {
  max-width: 500px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 16px;
  line-height: 1.75;
}

.feature-list {
  display: grid;
  gap: 17px;
  margin: 32px 0 34px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.feature-check {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: rgba(125, 216, 180, 0.14);
  color: var(--mint);
  font-size: 11px;
}

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

.feature-list strong {
  font-size: 13px;
}

.feature-list small {
  color: rgba(255, 255, 255, 0.47);
  font-size: 11px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--mint);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.text-link:hover span {
  transform: translateX(3px);
}

.text-link span {
  transition: transform 160ms ease;
}

.workspace-visual {
  display: grid;
  grid-template-columns: 58px 1fr;
  min-height: 470px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  background: #f5f2ea;
  box-shadow: 0 42px 100px rgba(0, 0, 0, 0.32);
  transform: rotate(1deg);
}

.mini-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 20px 0;
  background: #0b1720;
}

.mini-logo {
  display: grid;
  width: 28px;
  height: 28px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 9px 3px 9px 3px;
  background: rgba(125, 216, 180, 0.2);
  color: var(--mint);
  font-family: var(--font-display);
  font-size: 15px;
}

.mini-nav {
  width: 20px;
  height: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
}

.mini-nav.active {
  border-color: rgba(125, 216, 180, 0.4);
  background: rgba(125, 216, 180, 0.16);
}

.mini-main {
  padding: 25px;
}

.mini-topline {
  display: flex;
  justify-content: space-between;
  margin-bottom: 23px;
}

.mini-topline span:first-child {
  width: 100px;
  height: 12px;
  border-radius: 5px;
  background: #c9c9c3;
}

.mini-topline span:last-child {
  width: 60px;
  height: 22px;
  border-radius: 8px;
  background: #e0ddd4;
}

.mini-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.mini-metrics span {
  height: 62px;
  border: 1px solid #dedbd2;
  border-radius: 10px;
  background: #fffdf8;
}

.mini-workspace {
  display: grid;
  grid-template-columns: 0.7fr 1.5fr 0.9fr;
  min-height: 290px;
  overflow: hidden;
  border: 1px solid #d8d4ca;
  border-radius: 14px;
  background: #fffdf8;
}

.mini-queue,
.mini-detail,
.mini-plan {
  padding: 18px 14px;
}

.mini-queue {
  display: grid;
  align-content: start;
  gap: 10px;
  border-right: 1px solid #e1ded6;
  background: #f1eee6;
}

.mini-queue span {
  height: 44px;
  border-radius: 8px;
  background: #dfddd6;
}

.mini-queue .selected {
  border-left: 3px solid var(--coral);
  background: #fffdf8;
}

.mini-detail {
  border-right: 1px solid #e1ded6;
}

.mini-detail-title {
  width: 58%;
  height: 13px;
  margin-bottom: 24px;
  border-radius: 5px;
  background: #172832;
}

.mini-detail-line {
  width: 92%;
  height: 7px;
  margin-bottom: 8px;
  border-radius: 4px;
  background: #dad8d1;
}

.mini-detail-line.short {
  width: 64%;
}

.mini-routes {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.mini-routes span {
  height: 42px;
  border: 1px solid #e3ded3;
  border-radius: 9px;
  background: #faf8f2;
}

.mini-plan {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.mini-plan-ring {
  width: 82px;
  height: 82px;
  margin: 8px 0 10px;
  border: 10px solid #e0ddd6;
  border-top-color: var(--mint-deep);
  border-right-color: var(--mint-deep);
  border-radius: 50%;
}

.mini-plan > span:not(.mini-plan-ring) {
  width: 80%;
  height: 7px;
  border-radius: 4px;
  background: #dad8d1;
}

.mini-plan .mini-plan-button {
  height: 28px;
  margin-top: auto;
  background: var(--coral);
}

.centered-heading {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.centered-heading .eyebrow {
  justify-content: center;
}

.centered-heading > p:last-child {
  max-width: 600px;
  margin-inline: auto;
  color: #68767d;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.partner-card {
  position: relative;
  min-height: 435px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line-light);
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.66);
}

.partner-card::after {
  position: absolute;
  right: -75px;
  bottom: -95px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(40, 64, 78, 0.1);
  border-radius: 50%;
  content: "";
}

.partner-primary {
  border-color: #aacfc0;
  background: #e5f3ed;
}

.card-label {
  display: inline-block;
  padding: 6px 9px;
  border-radius: 7px;
  background: #e7e4dc;
  color: #606e74;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.partner-primary .card-label {
  background: #c8e5d9;
  color: #26795c;
}

.partner-icon {
  display: grid;
  width: 56px;
  height: 56px;
  margin: 54px 0 28px;
  place-items: center;
  border: 1px solid #d4cfc4;
  border-radius: 18px 6px 18px 6px;
  color: var(--mint-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.partner-primary .partner-icon {
  border-color: #a9cdbf;
  background: rgba(255, 255, 255, 0.45);
}

.partner-card h3 {
  margin-bottom: 15px;
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.partner-card p {
  color: #637178;
  font-size: 13px;
  line-height: 1.7;
}

.partner-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.partner-card li {
  padding: 6px 8px;
  border: 1px solid #dad5ca;
  border-radius: 999px;
  color: #647078;
  font-size: 9px;
}

.partner-primary li {
  border-color: #b8d6ca;
}

.trust-section {
  background: #09151d;
}

.trust-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(550px, 1.22fr);
  align-items: center;
  gap: 90px;
}

.trust-copy > p:not(.eyebrow) {
  max-width: 450px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.6);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.principles-grid article {
  min-height: 220px;
  padding: 30px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.principles-grid article > span {
  display: block;
  margin-bottom: 40px;
  color: var(--mint);
  font-size: 10px;
  font-weight: 750;
}

.principles-grid h3 {
  margin-bottom: 12px;
  font-size: 15px;
}

.principles-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.47);
  font-size: 12px;
  line-height: 1.7;
}

.text-link-light {
  color: var(--mint);
}

.stage-section {
  background: var(--paper);
  color: var(--ink);
}

.stage-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 90px;
  padding: 54px 58px;
  border: 1px solid #d1cbc0;
  border-radius: 25px;
  background: #e8e3d7;
  box-shadow: var(--shadow-soft);
}

.stage-card h2 {
  max-width: 740px;
  font-size: clamp(36px, 4vw, 49px);
}

.stage-card > div:first-child > p:last-child {
  max-width: 740px;
  margin: 0;
  color: #5d6d75;
}

.stage-actions {
  display: grid;
  justify-items: stretch;
  gap: 13px;
  min-width: 230px;
}

.stage-actions small {
  color: #727e83;
  font-size: 9px;
  text-align: center;
}

.site-footer {
  padding: 72px 0 24px;
  border-top: 1px solid var(--line-dark);
  background: #08131a;
  color: var(--white);
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 50px;
  padding-bottom: 60px;
}

.brand-footer {
  margin-bottom: 20px;
}

.footer-grid > div:first-child > p {
  max-width: 350px;
  margin: 0;
  color: rgba(255, 255, 255, 0.44);
  font-size: 12px;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a,
.footer-bottom a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  text-decoration: none;
}

.footer-links a:hover,
.footer-bottom a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, 0.35);
  font-size: 10px;
  letter-spacing: 0.03em;
}

/* Policy pages */
.page-policy {
  background: var(--paper);
}

.policy-header {
  background: var(--ink);
}

.policy-main {
  min-height: 70vh;
  padding: 90px 0 120px;
}

.policy-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 720px);
  justify-content: center;
  gap: 100px;
}

.policy-aside {
  align-self: start;
  position: sticky;
  top: 40px;
}

.policy-aside h1 {
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 58px;
  font-weight: 500;
  letter-spacing: -0.045em;
}

.policy-aside > p:last-child {
  color: #718087;
  font-size: 12px;
}

.policy-summary {
  display: flex;
  gap: 16px;
  margin-bottom: 54px;
  padding: 22px;
  border: 1px solid #acd0c1;
  border-radius: 16px;
  background: #e5f3ed;
}

.policy-summary > span {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--mint-deep);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
}

.policy-summary div {
  display: grid;
  gap: 5px;
}

.policy-summary strong {
  font-size: 14px;
}

.policy-summary p {
  margin: 0;
  color: #587068;
  font-size: 12px;
}

.policy-article section {
  padding: 0 0 35px;
}

.policy-article section + section {
  padding-top: 35px;
  border-top: 1px solid var(--line-light);
}

.policy-article h2 {
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.policy-article p {
  color: #586972;
  font-size: 14px;
  line-height: 1.85;
}

.policy-next {
  display: grid;
  gap: 8px;
  margin-top: 26px;
  padding: 24px 0;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.policy-next > span {
  color: #889296;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.policy-next a {
  color: var(--mint-deep);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.policy-footer {
  padding-top: 24px;
}

/* Product demo */
.page-app-demo {
  min-width: 320px;
  overflow-x: hidden;
  background: #ebe8df;
}

.demo-boundary {
  position: relative;
  z-index: 50;
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 7px 20px;
  background: #dff1e9;
  color: #315d4c;
  font-size: 10px;
  letter-spacing: 0.02em;
}

.demo-boundary span:not(.demo-boundary-dot)::before {
  margin-right: 12px;
  color: #8ab3a3;
  content: "·";
}

.demo-boundary-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint-deep);
  box-shadow: 0 0 0 4px rgba(55, 167, 127, 0.12);
}

.app-shell {
  display: grid;
  grid-template-columns: 216px minmax(0, 1fr);
  min-height: calc(100vh - 34px);
}

.app-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  height: calc(100vh - 34px);
  flex-direction: column;
  padding: 24px 18px;
  background: var(--ink);
  color: var(--white);
}

.app-brand {
  padding: 0 8px;
}

.app-nav {
  margin-top: 54px;
}

.nav-label {
  margin: 0 10px 12px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.app-tablist {
  display: grid;
  gap: 4px;
}

.app-nav-item {
  display: grid;
  grid-template-columns: 25px 1fr auto;
  align-items: center;
  width: 100%;
  padding: 11px 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
}

.app-nav-item:hover {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.82);
}

.app-nav-item.is-active {
  background: rgba(125, 216, 180, 0.12);
  color: var(--white);
}

.nav-icon {
  color: var(--mint);
  font-family: var(--font-display);
  font-size: 16px;
}

.nav-count {
  display: grid;
  min-width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.62);
  font-size: 9px;
}

.sidebar-boundary {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding: 14px;
  border: 1px solid rgba(125, 216, 180, 0.17);
  border-radius: 11px;
  background: rgba(125, 216, 180, 0.06);
}

.boundary-icon {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: rgba(125, 216, 180, 0.16);
  color: var(--mint);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
}

.sidebar-boundary div {
  display: grid;
  gap: 3px;
}

.sidebar-boundary strong {
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
}

.sidebar-boundary p {
  margin: 0;
  color: rgba(255, 255, 255, 0.36);
  font-size: 9px;
  line-height: 1.5;
}

.sidebar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 18px;
  padding: 0 8px;
}

.sidebar-links a {
  color: rgba(255, 255, 255, 0.37);
  font-size: 10px;
  text-decoration: none;
}

.sidebar-links a:first-child {
  width: 100%;
}

.sidebar-links a:hover {
  color: var(--white);
}

.app-main {
  min-width: 0;
  padding: 30px 30px 45px;
}

.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.app-breadcrumb {
  margin-bottom: 5px;
  color: #899297;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.app-breadcrumb strong {
  color: #647178;
}

.app-topbar h1 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.035em;
}

.reviewer-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px 7px 7px;
  border: 1px solid #dad6cd;
  border-radius: 11px;
  background: rgba(255, 253, 248, 0.62);
}

.reviewer-avatar {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 9px;
  background: #d8ece4;
  color: #34785f;
  font-size: 8px;
  font-weight: 800;
}

.reviewer-chip > span:last-child {
  display: grid;
  gap: 1px;
}

.reviewer-chip strong {
  font-size: 11px;
}

.reviewer-chip small {
  color: #899297;
  font-size: 9px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.metric-card {
  display: grid;
  min-height: 99px;
  padding: 15px 17px;
  border: 1px solid #dcd8ce;
  border-radius: 13px;
  background: rgba(255, 253, 248, 0.76);
}

.metric-card > span {
  color: #718087;
  font-size: 10px;
  font-weight: 650;
}

.metric-card strong {
  align-self: end;
  font-size: 26px;
  letter-spacing: -0.04em;
}

.metric-card small {
  color: #9a9f9f;
  font-size: 9px;
}

.metric-accent {
  border-color: #b8d4c9;
  background: #e2f1eb;
}

.metric-accent strong {
  color: #28775a;
}

.case-workspace {
  display: grid;
  grid-template-columns: minmax(205px, 0.66fr) minmax(420px, 1.55fr) minmax(245px, 0.8fr);
  min-height: 710px;
  overflow: hidden;
  border: 1px solid #d8d4ca;
  border-radius: 17px;
  background: var(--surface);
  box-shadow: 0 20px 55px rgba(10, 26, 35, 0.06);
}

.case-queue,
.plan-panel {
  min-width: 0;
  padding: 19px 15px;
  background: #f1eee7;
}

.case-queue {
  border-right: 1px solid #ddd9cf;
}

.plan-panel {
  border-left: 1px solid #ddd9cf;
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.panel-heading > div {
  display: grid;
  gap: 3px;
}

.panel-heading h2 {
  margin: 0;
  font-size: 15px;
}

.queue-total {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 7px;
  background: #e0ddd5;
  color: #6c787e;
  font-size: 9px;
  font-weight: 750;
}

.queue-list {
  display: grid;
  gap: 8px;
}

.queue-case {
  position: relative;
  display: grid;
  width: 100%;
  gap: 8px;
  padding: 13px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.queue-case::before {
  position: absolute;
  inset: 10px auto 10px 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: transparent;
  content: "";
}

.queue-case:hover {
  background: rgba(255, 255, 255, 0.48);
}

.queue-case.is-selected {
  border-color: #dfdbd2;
  background: var(--surface);
  box-shadow: 0 8px 18px rgba(23, 39, 49, 0.04);
}

.queue-case.is-selected::before {
  background: var(--coral);
}

.queue-case-top,
.queue-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.queue-case-top strong {
  font-size: 11px;
  letter-spacing: 0.03em;
}

.queue-status {
  padding: 3px 5px;
  border-radius: 5px;
  font-size: 8px;
  font-weight: 750;
  text-transform: uppercase;
}

.queue-status.review {
  background: #ffdfd8;
  color: #a84939;
}

.queue-status.ready {
  background: #dbeee6;
  color: #33785f;
}

.queue-status.evidence {
  background: #f1e6c5;
  color: #85681f;
}

.queue-title {
  overflow: hidden;
  font-size: 11px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.queue-meta {
  color: #8a9395;
  font-size: 9px;
}

.case-detail {
  min-width: 0;
  background: var(--surface);
}

.detail-header {
  display: flex;
  min-height: 103px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  border-bottom: 1px solid #e2ded5;
}

.detail-id-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.detail-id-row > span:first-child {
  color: #717f85;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.06em;
}

.detail-id-row .status-pill {
  min-height: 20px;
  padding: 3px 7px;
  font-size: 8px;
  text-transform: uppercase;
}

.detail-header h2 {
  margin-bottom: 4px;
  font-size: 20px;
  letter-spacing: -0.025em;
}

.detail-header p {
  margin: 0;
  color: #92999b;
  font-size: 9px;
}

.review-deadline {
  display: grid;
  flex: 0 0 auto;
  gap: 3px;
  padding: 9px 10px;
  border: 1px solid #e2ddd3;
  border-radius: 9px;
  text-align: right;
}

.review-deadline small {
  color: #92999b;
  font-size: 8px;
  text-transform: uppercase;
}

.review-deadline strong {
  font-size: 9px;
}

.detail-panel {
  padding: 23px 22px 30px;
}

.detail-panel[hidden] {
  display: none;
}

.detail-section-heading,
.subheading-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.detail-section-heading {
  margin-bottom: 17px;
}

.detail-section-heading > div {
  display: grid;
  gap: 4px;
}

.detail-section-heading h3,
.subheading-row h3 {
  margin: 0;
  font-size: 14px;
}

.source-chip {
  padding: 5px 7px;
  border: 1px solid #dedad1;
  border-radius: 7px;
  color: #858f91;
  font-size: 8px;
  font-weight: 650;
}

.panel-intro {
  max-width: 590px;
  margin: -5px 0 20px;
  color: #79868b;
  font-size: 11px;
  line-height: 1.65;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 26px;
}

.fact {
  display: grid;
  min-width: 0;
  gap: 8px;
  padding: 12px;
  border: 1px solid #e2ded5;
  border-radius: 10px;
  background: #faf8f2;
}

.fact span {
  overflow: hidden;
  color: #849094;
  font-size: 8px;
  font-weight: 650;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.fact strong {
  align-self: end;
  overflow-wrap: anywhere;
  font-size: 11px;
}

.fact:not(:first-child) strong {
  font-size: 14px;
}

.fact-accent {
  border-color: #f0c9c0;
  background: #fff1ed;
}

.fact-accent strong {
  color: #b04d3c;
}

.detail-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(180px, 0.92fr);
  gap: 22px;
}

.subheading-row {
  align-items: center;
  margin-bottom: 11px;
}

.subheading-row h3 {
  font-size: 12px;
}

.subheading-row span {
  color: #899295;
  font-size: 9px;
}

.evidence-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid #e5e1d8;
  list-style: none;
}

.evidence-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 2px;
  border-bottom: 1px solid #e5e1d8;
}

.evidence-state {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 7px;
  font-size: 9px;
  font-weight: 800;
}

.evidence-state.complete {
  background: #dcefe7;
  color: #34795f;
}

.evidence-state.pending {
  background: #f4e9c8;
  color: #88671e;
}

.evidence-list div {
  display: grid;
  gap: 2px;
}

.evidence-list strong {
  font-size: 10px;
}

.evidence-list small {
  color: #929a9c;
  font-size: 8px;
}

.review-focus {
  min-height: 200px;
  padding: 16px;
  border: 1px solid #edcfc7;
  border-radius: 12px;
  background: #fff3ef;
}

.focus-code {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 6px;
  border-radius: 5px;
  background: #ffddd5;
  color: #a74d3d;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.review-focus h4 {
  margin-bottom: 8px;
  font-size: 12px;
}

.review-focus > p {
  margin-bottom: 17px;
  color: #7d6864;
  font-size: 10px;
  line-height: 1.6;
}

.focus-source {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-top: 13px;
  border-top: 1px solid #f0d9d3;
}

.focus-source > span:first-child {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.65);
  color: #b05a49;
  font-family: var(--font-display);
  font-size: 11px;
}

.focus-source > span:last-child {
  display: grid;
  gap: 1px;
}

.focus-source strong {
  font-size: 9px;
}

.focus-source small {
  color: #a1817a;
  font-size: 8px;
}

.match-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.match-card {
  display: flex;
  min-height: 218px;
  flex-direction: column;
  padding: 13px;
  border: 1px solid #e0dcd3;
  border-radius: 11px;
  background: #faf8f2;
}

.match-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 25px;
}

.match-rank {
  color: var(--mint-deep);
  font-size: 9px;
  font-weight: 800;
}

.match-confidence {
  padding: 3px 5px;
  border-radius: 5px;
  background: #dff0e9;
  color: #33785f;
  font-size: 7px;
  font-weight: 750;
  text-transform: uppercase;
}

.match-confidence.needs-review {
  background: #ffdfd8;
  color: #a84939;
}

.match-card h4 {
  margin-bottom: 7px;
  font-size: 11px;
}

.match-card > p {
  color: #79858a;
  font-size: 9px;
  line-height: 1.55;
}

.reason-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 3px 0 14px;
}

.reason-row span {
  padding: 3px 4px;
  border: 1px solid #ded9cf;
  border-radius: 4px;
  color: #778388;
  font-size: 7px;
  font-weight: 750;
}

.match-amount {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 11px;
  border-top: 1px solid #e3dfd6;
}

.match-amount span {
  color: #92999a;
  font-size: 7px;
}

.match-amount strong {
  font-size: 11px;
}

.audit-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.audit-list li {
  position: relative;
  display: grid;
  grid-template-columns: 25px 1fr;
  gap: 12px;
  min-height: 105px;
}

.audit-list li:not(:last-child)::before {
  position: absolute;
  top: 18px;
  bottom: -4px;
  left: 9px;
  width: 1px;
  background: #d8d4ca;
  content: "";
}

.audit-marker {
  position: relative;
  z-index: 2;
  width: 19px;
  height: 19px;
  border: 5px solid #f4f1e9;
  border-radius: 50%;
  background: #98a3a6;
  box-shadow: 0 0 0 1px #cfcac0;
}

.audit-marker.current {
  background: var(--coral);
}

.audit-list div > span {
  display: block;
  margin-bottom: 5px;
  color: #929a9c;
  font-size: 8px;
  font-weight: 650;
}

.audit-list h4 {
  margin-bottom: 5px;
  font-size: 11px;
}

.audit-list p {
  margin: 0;
  color: #77858a;
  font-size: 9px;
}

.plan-state {
  padding: 4px 6px;
  border-radius: 5px;
  background: #e2ded5;
  color: #737f83;
  font-size: 7px;
  font-weight: 750;
  text-transform: uppercase;
}

.plan-state.is-generated {
  background: #d8ede4;
  color: #2e775b;
}

.plan-visual {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 0 20px;
  border-bottom: 1px solid #dedad1;
}

.plan-ring {
  position: relative;
  display: grid;
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: conic-gradient(var(--mint-deep) 0 79%, #dedbd3 79% 100%);
}

.plan-ring.coverage-59 {
  background: conic-gradient(var(--mint-deep) 0 59%, #dedbd3 59% 100%);
}

.plan-ring.coverage-74 {
  background: conic-gradient(var(--mint-deep) 0 74%, #dedbd3 74% 100%);
}

.plan-ring.coverage-79 {
  background: conic-gradient(var(--mint-deep) 0 79%, #dedbd3 79% 100%);
}

.plan-ring.coverage-80 {
  background: conic-gradient(var(--mint-deep) 0 80%, #dedbd3 80% 100%);
}

.plan-ring::before {
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: #f1eee7;
  content: "";
}

.plan-ring span {
  position: relative;
  z-index: 1;
  font-size: 12px;
  font-weight: 800;
}

.plan-visual > div:last-child {
  display: grid;
}

.plan-visual > div:last-child span {
  color: #858f92;
  font-size: 9px;
}

.plan-visual > div:last-child strong {
  font-size: 18px;
  letter-spacing: -0.03em;
}

.plan-visual > div:last-child small {
  color: #9aa0a1;
  font-size: 8px;
}

.plan-breakdown {
  display: grid;
  gap: 12px;
  padding: 20px 0;
  border-bottom: 1px solid #dedad1;
}

.plan-breakdown > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #6f7d82;
  font-size: 9px;
}

.plan-breakdown span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.plan-breakdown strong {
  color: var(--ink);
  font-size: 10px;
}

.legend {
  width: 7px;
  height: 7px;
  border-radius: 3px;
}

.legend.coral { background: var(--coral); }
.legend.mint { background: var(--mint-deep); }
.legend.sand { background: var(--sand); }

.plan-breakdown .gap-row {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px dashed #d7d2c8;
  color: #a54e3e;
}

.plan-breakdown .gap-row strong {
  color: #a54e3e;
  font-size: 12px;
}

.plan-caveat {
  display: flex;
  gap: 8px;
  margin: 18px 0;
  padding: 10px;
  border: 1px solid #e8d6b1;
  border-radius: 9px;
  background: #faf2dc;
}

.plan-caveat > span {
  display: grid;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 6px;
  background: #ead6a3;
  color: #765c1f;
  font-size: 9px;
  font-weight: 800;
}

.plan-caveat p {
  margin: 0;
  color: #786a49;
  font-size: 9px;
  line-height: 1.5;
}

.plan-caveat strong {
  display: block;
  color: #5d5030;
}

.plan-panel .button {
  min-height: 40px;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 10px;
}

.action-note {
  margin: 10px 4px 0;
  color: #92999b;
  font-size: 8px;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 1160px) {
  .hero-grid {
    gap: 45px;
  }

  .workspace-grid {
    grid-template-columns: 0.75fr 1.25fr;
    gap: 50px;
  }

  .case-workspace {
    grid-template-columns: 220px minmax(430px, 1fr);
  }

  .plan-panel {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: 180px 1fr 210px;
    align-items: center;
    gap: 20px;
    border-top: 1px solid #ddd9cf;
    border-left: 0;
  }

  .plan-panel .panel-heading {
    align-self: start;
  }

  .plan-visual,
  .plan-breakdown {
    border: 0;
  }

  .plan-caveat {
    grid-column: 1 / 3;
    margin: 0;
  }

  .plan-panel .button,
  .action-note {
    grid-column: 3;
  }
}

@media (max-width: 980px) {
  .hero {
    padding-top: 140px;
  }

  .hero-grid,
  .workspace-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 65px;
  }

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

  .hero-product {
    max-width: 620px;
    margin-inline: auto;
    transform: none;
  }

  .hero-product::before {
    inset: 20px -12px -15px 20px;
  }

  @keyframes frame-enter {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .step-card:nth-child(2) {
    border-right: 0;
  }

  .step-card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-light);
  }

  .workspace-visual {
    max-width: 760px;
    margin-inline: auto;
  }

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

  .partner-card {
    min-height: 0;
  }

  .partner-icon {
    margin-top: 35px;
  }

  .trust-grid {
    gap: 55px;
  }

  .stage-card {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .stage-actions {
    justify-self: start;
  }

  .app-shell {
    display: block;
  }

  .app-sidebar {
    position: relative;
    display: grid;
    height: auto;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 25px;
    padding: 14px 20px;
  }

  .app-nav {
    justify-self: center;
    margin: 0;
  }

  .app-nav .nav-label,
  .sidebar-boundary {
    display: none;
  }

  .app-tablist {
    display: flex;
  }

  .app-nav-item {
    grid-template-columns: 22px auto auto;
    width: auto;
  }

  .sidebar-links {
    justify-content: end;
    margin: 0;
  }

  .sidebar-links a:first-child {
    width: auto;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 32px, 1180px);
  }

  .site-header .nav-wrap {
    min-height: 70px;
  }

  .site-nav > a:not(.button) {
    display: none;
  }

  .hero {
    min-height: 0;
    padding: 126px 0 75px;
  }

  .hero h1 {
    font-size: clamp(45px, 13vw, 67px);
  }

  .hero-lede {
    font-size: 16px;
  }

  .context-grid {
    grid-template-columns: 1fr;
    gap: 17px;
    padding-block: 38px;
  }

  .section {
    padding: 82px 0;
  }

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

  .step-card,
  .step-card:nth-child(2) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .step-card:last-child {
    border-bottom: 0;
  }

  .step-symbol {
    margin: 30px 0 24px;
  }

  .workspace-visual {
    grid-template-columns: 42px 1fr;
    min-height: 380px;
  }

  .mini-main {
    padding: 16px;
  }

  .mini-workspace {
    grid-template-columns: 0.65fr 1.35fr;
  }

  .mini-plan {
    display: none;
  }

  .mini-detail {
    border-right: 0;
  }

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

  .principles-grid article {
    min-height: 180px;
  }

  .stage-card {
    padding: 35px 28px;
  }

  .footer-grid {
    display: grid;
  }

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

  .policy-main {
    padding: 65px 0 90px;
  }

  .policy-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .policy-aside {
    position: static;
  }

  .policy-aside h1 {
    font-size: 48px;
  }

  .demo-boundary {
    flex-wrap: wrap;
    gap: 5px 9px;
    min-height: 45px;
    text-align: center;
  }

  .app-sidebar {
    grid-template-columns: 1fr auto;
  }

  .app-nav {
    justify-self: end;
  }

  .app-nav-item {
    grid-template-columns: auto;
    padding: 9px 11px;
  }

  .app-nav-item > span:not(.nav-icon) {
    display: none;
  }

  .sidebar-links {
    display: none;
  }

  .app-main {
    padding: 22px 14px 35px;
  }

  .reviewer-chip {
    display: none;
  }

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

  .case-workspace {
    display: grid;
    grid-template-columns: 1fr;
  }

  .case-queue {
    border-right: 0;
    border-bottom: 1px solid #ddd9cf;
  }

  .queue-list {
    display: flex;
    overflow-x: auto;
    padding-bottom: 5px;
    scroll-snap-type: x mandatory;
  }

  .queue-case {
    min-width: 190px;
    scroll-snap-align: start;
  }

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

  .match-list {
    grid-template-columns: 1fr;
  }

  .match-card {
    min-height: 200px;
  }

  .plan-panel {
    display: block;
    border-left: 0;
  }

  .plan-caveat {
    margin: 18px 0;
  }

  .plan-panel .button,
  .action-note {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .brand-tagline {
    display: none;
  }

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

  .button-text {
    align-self: flex-start;
  }

  .trust-list {
    gap: 11px 16px;
  }

  .hero-product {
    padding: 18px;
  }

  .product-frame-top,
  .bill-summary {
    gap: 10px;
  }

  .bill-summary strong {
    font-size: 19px;
  }

  .coverage-stack {
    padding: 15px;
  }

  .coverage-label {
    font-size: 9px;
  }

  .workspace-visual {
    display: none;
  }

  .stage-actions {
    width: 100%;
  }

  .footer-bottom {
    gap: 10px;
  }

  .detail-header {
    display: grid;
  }

  .review-deadline {
    justify-self: start;
    text-align: left;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
