:root {
  --bg: #05070c;
  --bg-soft: #0b1019;
  --surface: rgba(11, 16, 25, 0.54);
  --surface-strong: rgba(10, 16, 28, 0.72);
  --line: rgba(160, 183, 215, 0.14);
  --line-strong: rgba(255, 196, 71, 0.34);
  --text: #f5f7fb;
  --muted: #9aa7bc;
  --gold: #ffc447;
  --blue: #67b6ff;
  --white-soft: rgba(245, 247, 251, 0.74);
  --shadow: 0 32px 80px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  font-family: "Sora", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 12%, rgba(103, 182, 255, 0.12), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(255, 196, 71, 0.12), transparent 20%),
    linear-gradient(180deg, #030508 0%, #05070c 32%, #080c14 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

#scene-canvas,
.star-veil,
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

#scene-canvas {
  z-index: 0;
  width: 100%;
  height: 100%;
}

.star-veil,
.grain {
  z-index: 1;
}

.star-veil {
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.02), transparent 38%),
    linear-gradient(180deg, rgba(4, 6, 11, 0.1), rgba(4, 6, 11, 0.36));
}

.grain {
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 5px 5px;
  mix-blend-mode: soft-light;
}

.site-header {
  position: fixed;
  top: 20px;
  left: 50%;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1340px, calc(100% - 28px));
  padding: 14px 18px;
  transform: translateX(-50%);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(6, 10, 17, 0.5);
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.brand-logo {
  width: clamp(180px, 19vw, 270px);
  height: 42px;
  object-fit: contain;
  object-position: left center;
}

.brand-subline {
  color: var(--white-soft);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-nav a,
.header-cta {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.header-nav a {
  color: var(--muted);
  transition: color 180ms ease;
}

.header-nav a:hover,
.header-nav a.is-active {
  color: var(--text);
}

.header-cta {
  padding: 12px 18px;
  border: 1px solid rgba(255, 196, 71, 0.38);
  border-radius: 999px;
  background: rgba(255, 196, 71, 0.08);
  color: var(--text);
}

main {
  position: relative;
  z-index: 2;
}

.section {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
}

.hero {
  align-items: center;
  padding-top: 122px;
}

.section-inner {
  width: min(1340px, calc(100% - 44px));
  margin: 0 auto;
}

.section--left .section-inner {
  max-width: min(1340px, calc(100% - 44px));
}

.section--right .section-inner {
  display: grid;
  justify-items: end;
}

.section--right .section-inner > * {
  width: min(620px, 100%);
}

.hero .section-inner {
  width: min(1340px, calc(100% - 44px));
}

.section--left .section-inner > * {
  width: min(610px, 100%);
}

.section--left .section-inner > .tool-grid,
.section--left .section-inner > .pricing-grid,
.section--right .section-inner > .tool-grid,
.section--right .section-inner > .pricing-grid {
  width: min(1120px, 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 610px) minmax(300px, 430px);
  gap: clamp(26px, 5vw, 74px);
  align-items: center;
  justify-content: space-between;
}

.hero.section--left .section-inner > * {
  width: auto;
}

.hero-copy {
  width: min(610px, 100%);
}

.hero-video {
  width: min(430px, 100%);
  justify-self: end;
}

.hero-video video {
  transform: none;
}

.finale .section-inner {
  width: min(1340px, calc(100% - 44px));
}

.finale-inner {
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(320px, 380px);
  align-items: end;
  gap: 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 46px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 196, 71, 0.7));
}

h1,
h2 {
  margin: 0;
  font-family: "Anton", "Arial Narrow", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3.6rem, 7.7vw, 6.8rem);
}

h1 span,
.stacked-words span {
  display: block;
}

h2 {
  font-size: clamp(3rem, 9vw, 7rem);
}

.outline {
  color: transparent;
  -webkit-text-stroke: 1.6px rgba(245, 247, 251, 0.78);
  text-shadow: none;
}

.lede,
.body-copy,
.glass-card p,
.workflow-step p,
.brand-subline {
  color: var(--muted);
  line-height: 1.8;
}

.lede {
  max-width: 34rem;
  margin: 26px 0 0;
  font-size: 1rem;
}

.body-copy {
  max-width: 36rem;
  margin: 22px 0 0;
  font-size: 0.95rem;
}

.body-copy--wide {
  max-width: 48rem;
}

.action-row,
.signal-row,
.deliverable-strip,
.micro-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.action-row {
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

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

.btn-primary {
  color: #04070d;
  background: linear-gradient(135deg, #ffe08a, #ffc447 60%, #ffb624);
  box-shadow: 0 18px 40px rgba(255, 196, 71, 0.24);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.signal-row {
  margin-top: 24px;
}

.signal-row span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--white-soft);
  font-size: 0.73rem;
  letter-spacing: 0.14em;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.stacked-words {
  margin-top: 4px;
}

.micro-grid {
  margin-top: 28px;
}

.micro-grid .glass-card,
.deliverable-strip .glass-card {
  flex: 1 1 240px;
}

.glass-card,
.workflow-step,
.video-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(15, 20, 31, 0.68), rgba(8, 12, 20, 0.54)),
    var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.glass-card::before,
.workflow-step::before,
.video-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 196, 71, 0.14), transparent 26%),
    radial-gradient(circle at bottom left, rgba(103, 182, 255, 0.12), transparent 26%);
  pointer-events: none;
}

.glass-card {
  padding: 22px;
}

.glass-card img {
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  object-fit: contain;
}

.glass-card strong,
.workflow-step strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.glass-card p {
  margin: 12px 0 0;
  font-size: 0.9rem;
}

.workflow-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.workflow-step {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 24px;
}

.workflow-step span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(245, 247, 251, 0.72);
  font-family: "Anton", "Arial Narrow", sans-serif;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 0.9;
}

.workflow-step p {
  margin: 10px 0 0;
  font-size: 0.92rem;
}

.giant-line {
  font-size: clamp(3.6rem, 11vw, 8.6rem);
}

.deliverable-strip {
  margin-top: 28px;
}

.finale-copy {
  max-width: 560px;
}

.video-card {
  margin: 0;
  padding: 18px;
}

.video-card video {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #02040a;
}

.video-card.hero-video video {
  object-fit: contain;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 30;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #05070c;
  color: var(--text);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

.page-tabs {
  position: fixed;
  top: 96px;
  left: 50%;
  z-index: 11;
  width: min(1340px, calc(100% - 28px));
  transform: translateX(-50%);
  pointer-events: none;
}

.page-tabs__track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(6, 10, 17, 0.44);
  backdrop-filter: blur(20px);
  scrollbar-width: none;
  pointer-events: auto;
}

.page-tabs__track::-webkit-scrollbar {
  display: none;
}

.page-tabs__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-tabs__link:hover,
.page-tabs__link.is-active {
  border-color: rgba(255, 196, 71, 0.3);
  background: rgba(255, 196, 71, 0.08);
  color: var(--text);
}

.page-tabs__count {
  color: var(--gold);
}

.page-main {
  padding-top: 168px;
}

.page-section {
  position: relative;
  z-index: 2;
  min-height: auto;
  padding: 70px 0;
}

.page-hero {
  min-height: min(720px, 100svh);
  padding-top: 48px;
}

.page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.page-kicker::before {
  content: "";
  width: 44px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 196, 71, 0.72));
}

.page-title {
  max-width: 980px;
  font-size: clamp(3.1rem, 8vw, 6.8rem);
}

.page-copy {
  max-width: 48rem;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.hero-facts,
.status-list,
.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-facts span,
.status-list span,
.legal-links a,
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--white-soft);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.page-grid,
.info-grid,
.pricing-grid,
.tool-grid,
.link-grid,
.comparison-grid {
  display: grid;
  gap: 18px;
}

.page-grid,
.info-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

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

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

.tool-card,
.plan-card,
.panel,
.form-panel,
.legal-panel {
  padding: 24px;
}

.tool-card__tag,
.plan-card__eyebrow,
.panel__label,
.form-panel__eyebrow,
.legal-meta {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tool-card__title,
.plan-card__title,
.panel__title,
.form-panel__title,
.legal-panel h2 {
  margin: 12px 0 0;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
  overflow-wrap: anywhere;
  text-transform: none;
}

.plan-card__title {
  font-size: 1.5rem;
}

.tool-card__copy,
.plan-card__copy,
.panel__copy,
.form-panel__copy,
.legal-panel p,
.legal-panel li,
.notice {
  color: var(--muted);
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.tool-card__copy,
.plan-card__copy,
.panel__copy,
.form-panel__copy {
  margin: 14px 0 0;
  font-size: 0.92rem;
}

.tool-card__foot {
  display: inline-flex;
  margin-top: 18px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.stack-list,
.check-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.stack-list li,
.check-list li {
  position: relative;
  padding-left: 18px;
  color: var(--white-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

.stack-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

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

.form-field {
  display: grid;
  gap: 8px;
}

.full {
  grid-column: 1 / -1;
}

.form-label {
  color: var(--white-soft);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.input,
.textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font: inherit;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.input {
  min-height: 52px;
  padding: 0 16px;
}

.textarea {
  min-height: 150px;
  padding: 14px 16px;
  resize: vertical;
}

.input:focus,
.textarea:focus {
  border-color: rgba(255, 196, 71, 0.64);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 4px rgba(255, 196, 71, 0.1);
}

.button-block {
  width: 100%;
}

.alert {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 107, 107, 0.32);
  border-radius: 16px;
  background: rgba(255, 107, 107, 0.08);
  color: #ffd3d3;
  line-height: 1.6;
}

.hidden-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.mini-table {
  width: 100%;
  max-width: 100%;
  margin-top: 18px;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 16px;
}

.mini-table th,
.mini-table td {
  padding: 13px 14px;
  border: 1px solid var(--line);
  color: var(--white-soft);
  text-align: left;
}

.mini-table th {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.code-block {
  margin-top: 18px;
  padding: 18px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.28);
  color: var(--white-soft);
  font-family: "Consolas", "SFMono-Regular", monospace;
  font-size: 0.9rem;
  line-height: 1.65;
  white-space: pre;
}

.legal-main {
  position: relative;
  z-index: 2;
  width: min(980px, calc(100% - 44px));
  margin: 0 auto;
  padding: 178px 0 80px;
}

.legal-main h1 {
  font-size: clamp(2.8rem, 7vw, 5.6rem);
}

.legal-panel {
  margin-top: 18px;
}

.legal-panel h2 {
  margin-top: 26px;
  color: var(--text);
}

.legal-panel ul {
  margin: 14px 0 0;
  padding-left: 1.2rem;
}

.site-footer {
  position: relative;
  z-index: 2;
  padding: 56px 0 70px;
  border-top: 1px solid var(--line);
  background: rgba(3, 5, 8, 0.28);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(180px, 0.45fr));
  gap: 28px;
  width: min(1340px, calc(100% - 44px));
  margin: 0 auto;
}

.site-footer__copy,
.site-footer__meta,
.site-footer__copyright {
  max-width: 36rem;
  color: var(--muted);
  line-height: 1.7;
}

.site-footer__copy {
  margin-top: 16px;
}

.site-footer__meta,
.site-footer__copyright {
  margin-top: 10px;
  font-size: 0.82rem;
}

.site-footer__title {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-footer__list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.site-footer__list a {
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer__list a:hover {
  color: var(--text);
}

.reveal {
  opacity: 1;
  transform: none;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .brand-subline {
    display: none;
  }

  .finale-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-video {
    order: -1;
    width: min(390px, 100%);
    justify-self: start;
  }

  .section--right .section-inner {
    justify-items: start;
  }

  .section--right .section-inner > * {
    width: min(640px, 100%);
  }
}

@media (max-width: 900px) {
  .site-header {
    top: 12px;
    width: calc(100% - 16px);
    padding: 12px 14px;
    gap: 10px;
  }

  .header-nav {
    display: none;
  }

  .header-cta {
    display: inline-flex;
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
  }

  .page-tabs {
    display: none;
  }

  .brand-logo {
    width: clamp(160px, 54vw, 220px);
  }

  .page-main,
  .legal-main {
    padding-top: 112px;
  }

  .section {
    padding: 112px 0 64px;
  }

  .section-inner,
  .hero .section-inner,
  .finale .section-inner {
    width: calc(100% - 28px);
  }

  .hero {
    padding-top: 104px;
  }

  .page-section {
    padding: 52px 0;
  }
}

@media (max-width: 720px) {
  h1 {
    font-size: clamp(3rem, 16vw, 5rem);
  }

  h2,
  .giant-line {
    font-size: clamp(2.25rem, 12vw, 4.5rem);
  }

  .outline {
    -webkit-text-stroke-width: 1.15px;
  }

  .action-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .btn {
    width: 100%;
    min-height: 50px;
    padding: 0 18px;
    letter-spacing: 0.13em;
  }

  .signal-row span,
  .glass-card,
  .workflow-step {
    width: 100%;
  }

  .workflow-step {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .workflow-step span {
    font-size: 2.9rem;
  }

  .video-card video {
    aspect-ratio: 4 / 5;
  }
}

@media (max-width: 1040px) {
  .pricing-grid,
  .tool-grid,
  .comparison-grid,
  .link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-grid,
  .info-grid,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .pricing-grid,
  .tool-grid,
  .comparison-grid,
  .link-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .page-title {
    font-size: clamp(2.65rem, 13vw, 4.5rem);
  }

  .tool-card,
  .plan-card,
  .panel,
  .form-panel,
  .legal-panel {
    padding: 20px;
  }

  .hero-facts,
  .status-list,
  .legal-links,
  .signal-row {
    gap: 9px;
  }

  .hero-facts span,
  .status-list span,
  .legal-links a,
  .signal-row span,
  .pill {
    width: 100%;
    justify-content: center;
    min-height: 40px;
    padding: 9px 11px;
    text-align: center;
  }

  .page-kicker,
  .eyebrow,
  .tool-card__tag,
  .plan-card__eyebrow,
  .panel__label,
  .form-panel__eyebrow,
  .legal-meta {
    letter-spacing: 0.14em;
  }

  .page-kicker::before,
  .eyebrow::before {
    width: 28px;
  }

  .page-copy,
  .lede,
  .body-copy {
    font-size: 0.94rem;
    line-height: 1.72;
  }

  .mini-table {
    display: block;
    overflow-x: auto;
    border-radius: 14px;
    -webkit-overflow-scrolling: touch;
  }

  .mini-table th,
  .mini-table td {
    min-width: 128px;
    padding: 11px 12px;
    white-space: nowrap;
  }

  .code-block {
    padding: 14px;
    font-size: 0.78rem;
  }

  .legal-main {
    width: calc(100% - 28px);
    padding-bottom: 56px;
  }

  .legal-main h1 {
    font-size: clamp(2.4rem, 12vw, 4rem);
  }

  .site-footer {
    padding: 42px 0 52px;
  }

  .site-footer__grid {
    width: calc(100% - 28px);
    gap: 24px;
  }
}

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

  .brand-logo {
    width: clamp(132px, 43vw, 168px);
    height: 36px;
  }

  .header-cta {
    min-height: 36px;
    padding: 0 11px;
    font-size: 0.64rem;
    letter-spacing: 0.1em;
  }

  .section {
    min-height: auto;
    padding: 104px 0 56px;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-video {
    width: min(320px, 100%);
  }

  h1 {
    font-size: clamp(2.65rem, 15vw, 4.25rem);
  }

  h2,
  .giant-line {
    font-size: clamp(2rem, 11vw, 3.7rem);
  }

  .page-title {
    font-size: clamp(2.35rem, 12vw, 3.8rem);
  }

  .page-kicker,
  .eyebrow {
    gap: 9px;
    font-size: 0.68rem;
  }

  .glass-card,
  .workflow-step,
  .video-card {
    border-radius: 20px;
  }

  .video-card {
    padding: 12px;
  }

  .video-card video {
    border-radius: 16px;
  }

  .input {
    min-height: 48px;
    padding: 0 14px;
  }

  .textarea {
    min-height: 136px;
    padding: 13px 14px;
  }
}

@media (max-width: 380px) {
  .site-header {
    width: calc(100% - 10px);
    padding: 9px 10px;
  }

  .brand-logo {
    width: clamp(118px, 40vw, 142px);
    height: 34px;
  }

  .header-cta {
    min-height: 34px;
    padding: 0 9px;
    font-size: 0.58rem;
  }

  .section-inner,
  .hero .section-inner,
  .finale .section-inner,
  .legal-main,
  .site-footer__grid {
    width: calc(100% - 22px);
  }

  h1 {
    font-size: clamp(2.35rem, 14vw, 3.45rem);
  }

  .page-title {
    font-size: clamp(2.1rem, 11.5vw, 3.25rem);
  }

  .page-kicker::before,
  .eyebrow::before {
    display: none;
  }
}
