:root {
  --ink: #082653;
  --ink-soft: #47566f;
  --blue: #4e74ad;
  --blue-dark: #315d95;
  --sky: #8ec3d8;
  --ledger: #2f7b68;
  --mist: #f4f7fa;
  --line: #dfe8f2;
  --paper: #ffffff;
  --success: #4f8f7a;
  --shadow: 0 24px 70px rgba(33, 68, 118, 0.14);
  --radius: 8px;
  --font-display: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.96)),
    linear-gradient(90deg, rgba(223, 232, 242, 0.68) 1px, transparent 1px),
    linear-gradient(0deg, rgba(223, 232, 242, 0.68) 1px, transparent 1px),
    #fbfcfd;
  background-size: auto, 88px 88px, 88px 88px, auto;
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
}

body::before {
  position: fixed;
  top: 0;
  left: clamp(18px, 6vw, 92px);
  z-index: -1;
  width: 1px;
  height: 100vh;
  background: linear-gradient(180deg, transparent, rgba(47, 123, 104, 0.22), transparent);
  content: "";
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 18px 20px 0;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(223, 232, 242, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 50px rgba(32, 64, 110, 0.08);
  backdrop-filter: blur(14px);
}

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

.brand-logo {
  display: block;
  flex: 0 0 42px;
  width: 42px;
  max-width: 42px;
  height: 30px;
  max-height: 30px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--ink-soft);
  font-weight: 680;
}

.nav-links a {
  text-decoration: none;
}

.nav-cta {
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--blue);
  color: white;
  box-shadow: inset 0 0 0 2px white, 0 0 0 1px rgba(78, 116, 173, 0.3);
}

.section-pad {
  padding: 62px 22px;
}

.hero {
  padding-top: 82px;
}

.hero-copy {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.hero-copy .hero-subhead {
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  justify-content: center;
}

.hero h1 {
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 16px;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--blue-dark);
  font-size: 0.86rem;
  font-weight: 760;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.1vw, 3.65rem);
  line-height: 1.1;
  font-weight: 720;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.12;
  font-weight: 720;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.14rem;
}

.hero-subhead,
.section-heading p {
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.hero-subhead {
  max-width: 660px;
  line-height: 1.58;
}

.privacy-form-note {
  color: #36506e;
  font-weight: 680;
}

.trust-list {
  display: grid;
  gap: 9px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.trust-list li {
  margin: 0;
  color: #36506e;
  font-weight: 620;
}

.context-line {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-weight: 620;
}

.trust-strip,
.audience-line {
  margin: 14px 0 0;
  color: #36506e;
  line-height: 1.45;
}

.trust-strip {
  font-size: 0.96rem;
}

.audience-line strong {
  color: var(--ink);
  font-weight: 700;
}

.audience-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 18px;
}

.audience-row span {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 760;
}

.audience-row strong {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  font-size: 0.88rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  background: var(--blue);
  color: white;
  box-shadow: inset 0 0 0 2px white, 0 0 0 1px rgba(78, 116, 173, 0.34);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button.primary:hover,
.nav-cta:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: inset 0 0 0 2px white, 0 10px 24px rgba(49, 93, 149, 0.24);
}


.section-heading {
  max-width: 790px;
  margin: 0 auto 28px;
  text-align: center;
}

.embed-shell {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #eaf0f6;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

.embed-shell iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.problem-section {
  background: white;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
}

.problem-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  box-shadow: 0 12px 32px rgba(33, 68, 118, 0.06);
}

.problem-card h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  font-weight: 720;
  color: var(--ink);
}

.problem-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.5;
}

.howitworks-section {
  background: rgba(244, 247, 250, 0.5);
}

.howitworks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
}

.step-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  box-shadow: 0 12px 32px rgba(33, 68, 118, 0.06);
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: #eaf4f8;
  color: var(--blue-dark);
  font-weight: 720;
  font-size: 0.98rem;
}

.step-card h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 720;
  color: var(--ink);
}

.step-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.55;
}

.demo-section {
  background: rgba(244, 247, 250, 0.72);
}

.demo-video {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0b1220;
  box-shadow: var(--shadow);
  overflow: hidden;
  isolation: isolate;
}

.demo-video-el {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

.demo-video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  height: 100%;
  padding: 0 20px;
  border: 0;
  background:
    radial-gradient(120% 80% at 50% 60%, rgba(11, 18, 32, 0.04) 0%, rgba(11, 18, 32, 0.42) 78%);
  color: white;
  font: inherit;
  cursor: pointer;
  transition: background 220ms ease;
}

.demo-video-play:hover,
.demo-video-play:focus-visible {
  background:
    radial-gradient(120% 80% at 50% 60%, rgba(11, 18, 32, 0.0) 0%, rgba(11, 18, 32, 0.55) 78%);
  outline: none;
}

.demo-video-play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: white;
  color: #0b1220;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
  transition: transform 220ms ease;
}

.demo-video-play:hover .demo-video-play-icon,
.demo-video-play:focus-visible .demo-video-play-icon {
  transform: scale(1.06);
}

.demo-video-play-icon svg {
  margin-left: 3px;
}

.demo-video-play-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.demo-video-play-label strong {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.demo-video-play-label em {
  font-style: normal;
  font-size: 0.82rem;
  opacity: 0.82;
  margin-top: 2px;
}

.demo-video.is-playing .demo-video-play {
  display: none;
}

.demo-takeaway {
  max-width: 720px;
  margin: 24px auto 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  text-align: center;
}

.demo-stage {
  max-width: 980px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  box-shadow: 0 28px 70px rgba(33, 68, 118, 0.14);
  overflow: hidden;
}

.demo-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: linear-gradient(180deg, #f3f6fb, #e9eff7);
  border-bottom: 1px solid var(--line);
  transition: background 320ms ease;
}

.banner-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: white;
  color: var(--blue-dark);
  font-size: 1.05rem;
  transition: color 320ms ease;
}

.banner-text {
  flex: 1;
  min-width: 0;
}

.banner-text strong {
  display: block;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 720;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.banner-text p {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.5;
}

.banner-filename {
  flex: 0 0 auto;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.84rem;
  font-weight: 600;
}

.demo-stage[data-step="1"] .demo-banner {
  background: linear-gradient(180deg, #eef4fd, #e0eaf9);
}

.demo-stage[data-step="2"] .demo-banner {
  background: linear-gradient(180deg, #edf7f1, #ddf2e6);
}

.demo-stage[data-step="2"] .banner-icon {
  color: #1f6a52;
  border-color: #b9dccb;
}

.vt-sheet {
  overflow-x: auto;
}

.vt-sheet table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.vt-sheet th,
.vt-sheet td {
  padding: 11px 14px;
  border-right: 1px solid #e7eef6;
  border-bottom: 1px solid #e7eef6;
  text-align: left;
  white-space: nowrap;
  font-size: 0.94rem;
}

.vt-sheet th {
  background: #f5f8fc;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.vt-sheet td.row-num,
.vt-sheet th:first-child {
  width: 38px;
  text-align: center;
  color: var(--ink-soft);
  background: #f8fafd;
  font-weight: 600;
}

.vt-sheet .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.vt-sheet .totals-row {
  background: #f8fafd;
  font-weight: 700;
}

.vt-sheet .formula {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: #1f6a52;
  font-weight: 700;
}

.cell {
  display: inline-grid;
  align-items: center;
}

.cell-original,
.cell-token {
  grid-area: 1 / 1;
  padding: 2px 7px;
  border-radius: 5px;
  transition:
    opacity 360ms ease,
    background 360ms ease,
    color 360ms ease,
    transform 360ms ease;
  transition-delay: calc(var(--i, 0) * 60ms);
}

.cell-original {
  background: #fff08a;
  color: #7b4a12;
  font-weight: 700;
}

.cell-token {
  opacity: 0;
  transform: translateY(-2px);
  background: #eef5ff;
  color: #2154df;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Step 1: veiled — tokens replace originals */
.demo-stage[data-step="1"] .cell-original {
  opacity: 0;
  transform: translateY(2px);
}

.demo-stage[data-step="1"] .cell-token {
  opacity: 1;
  transform: translateY(0);
}

/* Step 2: restored — originals back, no yellow highlight (now plain values) */
.demo-stage[data-step="2"] .cell-original {
  background: transparent;
  color: var(--ink);
  font-weight: 600;
}

/* AI note column — only visible at step 2 */
.ai-note {
  display: none;
}

.demo-stage[data-step="2"] .ai-note {
  display: table-cell;
  animation: fade-slide-in 460ms ease 120ms both;
}

.demo-stage[data-step="2"] tbody .ai-note:not(:empty) {
  background: #f1f9f5;
  color: #1f6a52;
  font-weight: 600;
}

@keyframes fade-slide-in {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse-attention {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 184, 0, 0);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(255, 184, 0, 0.32);
  }
}

.demo-stage[data-step="0"] .cell-original {
  animation: pulse-attention 1.4s ease-in-out 1 both;
  animation-delay: calc(var(--i, 0) * 70ms + 200ms);
}

.demo-foot {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 22px 20px;
  border-top: 1px solid var(--line);
  background: rgba(247, 250, 253, 0.7);
}

.demo-pips {
  display: inline-flex;
  gap: 7px;
  margin-right: auto;
}

.demo-pips i {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d8e2ee;
  transition: background 200ms ease, transform 200ms ease;
}

.demo-stage[data-step="0"] .demo-pips i:nth-child(1),
.demo-stage[data-step="1"] .demo-pips i:nth-child(-n + 2),
.demo-stage[data-step="2"] .demo-pips i {
  background: var(--blue);
  transform: scale(1.08);
}

.demo-next {
  min-height: 46px;
  padding: 11px 20px;
  font-size: 0.98rem;
}

.demo-reset {
  border: 0;
  background: transparent;
  color: var(--blue-dark);
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 700;
  cursor: pointer;
  padding: 8px 6px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.demo-reset:hover {
  color: var(--ink);
}

.mini-sheet {
  overflow-x: auto;
  background: #f6f8fb;
}

.mini-sheet table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  color: #111b31;
  font-size: 0.96rem;
}

.mini-sheet th,
.mini-sheet td {
  padding: 11px 16px;
  border-right: 1px solid #dfe7f1;
  border-bottom: 1px solid #dfe7f1;
  text-align: left;
  white-space: nowrap;
}

.mini-sheet th {
  background: rgba(255, 255, 255, 0.72);
  color: #111b31;
  font-weight: 700;
}

.faq-grid {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
}

.faq-section {
  background: rgba(244, 247, 250, 0.72);
}

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

.faq-grid details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 12px 32px rgba(33, 68, 118, 0.06);
}

.faq-grid summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  padding: 18px 22px;
  color: var(--ink);
  font-weight: 700;
}

.faq-grid summary::-webkit-details-marker {
  display: none;
}

.faq-grid summary::after {
  flex: 0 0 auto;
  color: var(--blue-dark);
  content: "+";
  font-size: 1.25rem;
  font-weight: 760;
}

.faq-grid details[open] summary::after {
  content: "-";
}

.faq-grid p {
  padding: 0 22px 18px;
  margin-bottom: 0;
  color: var(--ink-soft);
}

ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

li {
  position: relative;
  margin: 12px 0;
  padding-left: 25px;
  color: var(--ink-soft);
}

ul li::before {
  position: absolute;
  left: 0;
  color: var(--success);
  content: "✓";
  font-weight: 900;
}

.beta-section {
  background: linear-gradient(180deg, #f8fbfd, white);
}

.beta-form-card {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 12px;
  border: 1px solid rgba(189, 217, 231, 0.92);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 253, 0.98)),
    linear-gradient(90deg, rgba(142, 195, 216, 0.14), transparent 48%, rgba(78, 116, 173, 0.1));
  box-shadow: 0 28px 80px rgba(33, 68, 118, 0.13);
}

.beta-form-card:not([open]) {
  max-width: 640px;
}

.beta-form-card::before {
  position: absolute;
  inset: 12px;
  z-index: 0;
  border: 1px solid rgba(223, 232, 242, 0.78);
  border-radius: 12px;
  pointer-events: none;
  content: "";
}

.form-card-header,
.form-shell {
  position: relative;
  z-index: 1;
}

.form-card-header {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  list-style: none;
}

.beta-form-card:not([open]) .form-card-header {
  border-bottom: 0;
}

.form-card-header::-webkit-details-marker {
  display: none;
}

.form-card-header span {
  display: block;
  margin-bottom: 3px;
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-card-header strong {
  display: block;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 720;
}

.form-card-header p {
  max-width: 260px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.35;
  text-align: right;
}

.form-toggle-label {
  display: inline-flex;
  min-height: 46px;
  min-width: 118px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  background: var(--blue);
  color: white;
  box-shadow: inset 0 0 0 2px white, 0 0 0 1px rgba(78, 116, 173, 0.34);
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  transition:
    transform 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.form-toggle-label::before {
  color: white;
  content: "Open form";
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
}

.beta-form-card[open] .form-toggle-label::before {
  content: "Hide form";
}

.form-card-header:hover .form-toggle-label {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: inset 0 0 0 2px white, 0 10px 24px rgba(49, 93, 149, 0.24);
}

.form-panel {
  border-top: 1px solid var(--line);
}

.form-shell {
  max-width: none;
  margin: 0;
  min-height: 0;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0 0 12px 12px;
  background: white;
  box-shadow: none;
}

.form-shell iframe {
  position: static;
  width: 100%;
  height: auto;
  min-height: 360px;
  display: block;
}

.beta-form-shell {
  max-width: 760px;
  margin: 0 auto;
  padding: 16px;
  border: 1px solid rgba(189, 217, 231, 0.92);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 253, 0.98)),
    linear-gradient(90deg, rgba(142, 195, 216, 0.14), transparent 48%, rgba(78, 116, 173, 0.1));
  box-shadow: 0 28px 80px rgba(33, 68, 118, 0.13);
}

.beta-form-shell .form-shell {
  margin: 0;
  min-height: 0;
  border-radius: 12px;
  background: white;
  border: 0;
  box-shadow: none;
  aspect-ratio: auto;
  overflow: hidden;
}

.beta-form-shell .privacy-form-note {
  margin: 14px 6px 4px;
  font-size: 0.92rem;
}

.form-context {
  color: var(--ink);
  font-weight: 700;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto auto 1.25fr;
  gap: 28px;
  align-items: center;
  padding: 34px 22px;
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: white;
}

.site-footer p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.site-footer a {
  color: white;
  font-weight: 700;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-copy,
.section-heading,
.demo-stage,
.faq-grid details,
.beta-form-card {
  animation: rise-in 520ms ease both;
}

.faq-grid details:nth-child(2),
.beta-form-card {
  animation-delay: 80ms;
}

.faq-grid details:nth-child(3) {
  animation-delay: 140ms;
}

.legal-page {
  min-height: 100vh;
}

.legal-content {
  max-width: 820px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}

.legal-content h2 {
  margin-top: 34px;
  font-size: 1.5rem;
}

.legal-content p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.legal-content a {
  color: var(--blue-dark);
  font-weight: 800;
}

.legal-content h3 {
  margin-top: 24px;
  font-size: 1.15rem;
}

.legal-content ul,
.legal-content ol {
  margin: 14px 0;
  padding-left: 24px;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.6;
}

.legal-content li {
  margin: 6px 0;
}

.legal-content address {
  margin: 16px 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  font-style: normal;
  line-height: 1.6;
}

.legal-table {
  width: 100%;
  margin: 18px 0;
  border-collapse: collapse;
  font-size: 0.94rem;
  color: var(--ink-soft);
}

.legal-table th,
.legal-table td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: #f5f8fc;
  color: var(--ink);
  font-weight: 700;
}

.legal-table td:last-child {
  width: 80px;
  text-align: center;
  font-weight: 700;
}

@media (max-width: 920px) {
  .hero-copy {
    max-width: 760px;
  }

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

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

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 10px 10px 0;
  }

  .nav-shell {
    align-items: flex-start;
    border-radius: 16px;
  }

  .nav-links {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
    font-size: 0.9rem;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .nav-cta {
    padding: 10px 14px;
  }

  .section-pad {
    padding: 44px 16px;
  }

  .hero {
    padding-top: 64px;
  }

  .hero-grid {
    gap: 30px;
  }

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

  .hero-actions {
    display: grid;
    margin-top: 20px;
  }

  .button {
    width: 100%;
  }

  h1 {
    font-size: 2.02rem;
    line-height: 1.12;
  }

  h2 {
    font-size: 1.82rem;
    line-height: 1.15;
  }

  .hero-subhead,
  .section-heading p {
    font-size: 1rem;
  }

  .trust-list {
    gap: 7px;
    margin-top: 18px;
  }

  .context-line,
  .audience-line {
    margin-top: 14px;
  }

  .hero-flow {
    display: none;
  }

  .demo-banner {
    flex-wrap: wrap;
    padding: 14px 16px;
    gap: 12px;
  }

  .banner-filename {
    order: 3;
    flex: 1 1 100%;
  }

  .banner-text p {
    font-size: 0.92rem;
  }

  .vt-sheet th,
  .vt-sheet td {
    padding: 9px 12px;
    font-size: 0.88rem;
  }

  .demo-foot {
    padding: 14px 16px 16px;
  }

  .demo-next {
    flex: 1;
  }

  .form-shell {
    min-height: 0;
  }

  .form-shell iframe {
    min-height: 440px;
  }

  .beta-form-card {
    padding: 8px;
    border-radius: 14px;
  }

  .beta-form-card::before {
    inset: 8px;
  }

  .form-card-header {
    display: grid;
    gap: 14px;
    padding: 16px;
  }

  .form-card-header p {
    max-width: none;
    margin-top: 8px;
    text-align: left;
  }

  .form-toggle-label {
    width: 100%;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
