:root {
  --ink: #24243f;
  --muted: #676878;
  --line: #e8e5e1;
  --surface: #ffffff;
  --soft: #f7f5f1;
  --soft-blue: #edf6f8;
  --soft-green: #edf5ef;
  --brand-deep: #963400;
  --brand: rgb(200, 70, 0);
  --focus: #2b6f7c;
  --shadow: 0 24px 70px rgba(36, 36, 63, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: inter-18pt, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

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

h1,
h2 {
  font-family: gelica-light-italic, sans-serif;
  font-style: normal;
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 860px;
  font-size: 5.8rem;
}

h2 {
  max-width: 760px;
  font-size: 4.4rem;
}

h3 {
  font-size: 1.05rem;
  line-height: 1.25;
}

.shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 20;
  transform: translateY(-140%);
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 6px;
  transition: transform 180ms ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(36, 36, 63, 0.08);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.header-shell,
.footer-shell,
.final-cta-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-shell {
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  color: var(--brand-deep);
}

.brand img {
  width: 132px;
  height: auto;
}

.brand span {
  padding-left: 12px;
  border-left: 1px solid rgba(150, 52, 0, 0.28);
  color: var(--ink);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.8vw, 34px);
  font-size: 0.92rem;
  font-weight: 700;
}

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

.nav-cta {
  padding: 11px 16px;
  border: 1px solid rgba(36, 36, 63, 0.16);
  border-radius: 8px;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  border-color: var(--brand);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 13px 20px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--brand);
  color: #fff;
}

.button-secondary {
  border-color: rgba(36, 36, 63, 0.18);
  background: rgba(255, 255, 255, 0.76);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 94px 0 56px;
  background: #fff;
}

.hero-shell {
  position: relative;
  isolation: isolate;
  z-index: 1;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero-copy h1 {
  font-size: clamp(3rem, 6.1vw, 4.375rem);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.72fr);
  gap: 48px;
  align-items: center;
}

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

.hero-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--brand-deep);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.lede {
  max-width: 680px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 1.38rem;
  line-height: 1.48;
}

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

.hero-proof {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 900px;
  margin: 72px 0 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(36, 36, 63, 0.1);
  border-radius: 8px;
  background: rgba(36, 36, 63, 0.1);
  box-shadow: var(--shadow);
}

.hero-proof div {
  min-height: 140px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.9);
}

.hero-proof dt {
  margin-bottom: 8px;
  font-weight: 900;
}

.hero-proof dd {
  margin: 0;
  color: var(--muted);
}

.section {
  padding: clamp(76px, 9vw, 120px) 0;
}

.intro-band {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.intro-band .split-layout {
  position: relative;
  z-index: 1;
}

.paper-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  gap: clamp(42px, 7vw, 96px);
  align-items: end;
}

.section-lede {
  color: var(--muted);
  font-size: 1.12rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(260px, 0.55fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 44px;
}

.section-heading.compact {
  display: block;
  max-width: 780px;
}

.markets-heading {
  max-width: 820px;
  margin-bottom: 42px;
}

.markets-heading p:not(.eyebrow) {
  max-width: 640px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.12rem;
}

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

.line-card,
.quote-card,
.step-row article {
  border: 1px solid rgba(36, 36, 63, 0.12);
  border-radius: 8px;
  background: var(--surface);
}

.line-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  padding: 26px;
}

.line-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.line-code {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  background: var(--soft-blue);
  color: var(--focus);
  font-weight: 900;
}

.line-card p {
  color: var(--muted);
}

.context-list span {
  border: 1px solid rgba(36, 36, 63, 0.12);
  border-radius: 999px;
  padding: 7px 11px;
  background: #fff;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
}

.line-card a {
  margin-top: auto;
  padding-top: 28px;
  color: var(--brand-deep);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.carrier-band {
  padding: 76px 0;
  background: var(--ink);
  color: #fff;
}

.carrier-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1fr);
  gap: 48px;
  align-items: center;
}

.carrier-band .eyebrow {
  color: #ffcfb5;
}

.carrier-logo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  overflow: hidden;
  border: 4px solid rgb(36, 36, 63);
  border-radius: 8px;
  background: rgb(36, 36, 63);
}

.carrier-logo-field {
  display: grid;
  min-height: 116px;
  place-items: center;
  padding: 22px;
  background: #fff;
}

.carrier-logo-field img {
  width: auto;
  max-width: min(78%, 240px);
  max-height: 68px;
  object-fit: contain;
}

.carrier-logo-field img[src*="first"] {
  max-height: 84px;
}

.visual-band {
  background: linear-gradient(90deg, var(--soft-blue), #fff 58%, var(--soft-green));
}

.visual-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1fr);
  gap: clamp(42px, 8vw, 96px);
  align-items: center;
}

.tracking-image {
  overflow: visible;
}

.tracking-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.feature-list {
  display: grid;
  gap: 22px;
  margin-top: 34px;
}

.feature-list div {
  padding-left: 12px;
  border-left: 6px solid #c94600;
}

.feature-list p {
  margin-top: 6px;
  color: var(--muted);
}

.step-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 42px;
  overflow: hidden;
  border: 1px solid rgba(36, 36, 63, 0.12);
  border-radius: 8px;
  background: #fff;
}

.step-row article {
  border: 0;
  border-right: 1px solid rgba(36, 36, 63, 0.12);
  border-radius: 0;
  padding: 24px;
  background: #fff;
}

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

.step-row span {
  display: block;
  margin-bottom: 34px;
  color: var(--brand-deep);
  font-size: 0.84rem;
  font-weight: 900;
}

.step-row p {
  margin-top: 10px;
  color: var(--muted);
}

.proof-section {
  background: var(--soft);
}

.proof-section .section-heading {
  display: block;
  max-width: 760px;
}

.quote-grid {
  display: grid;
  max-width: 720px;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.quote-card {
  margin: 0;
  padding: clamp(26px, 4vw, 42px);
}

.quote-card blockquote {
  margin: 0;
  color: var(--ink);
  font-size: 1.06rem;
  line-height: 1.68;
}

.quote-card figcaption {
  display: grid;
  gap: 3px;
  margin-top: 28px;
  color: var(--muted);
}

.quote-card strong {
  color: var(--ink);
}

.final-cta {
  padding: 72px 0;
  background: var(--ink);
  color: #fff;
}

.final-cta .eyebrow {
  color: #ffcfb5;
}

.final-cta .button-primary {
  background: #fff;
  color: var(--ink);
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.footer-shell p {
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

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

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--brand-deep);
}

.appointment-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(82px, 11vw, 136px) 0 clamp(70px, 9vw, 112px);
  background: #fff;
}

.appointment-hero h1 {
  max-width: 780px;
}

.appointment-hero h1 span {
  color: var(--brand-deep);
}

.signup-band {
  padding: clamp(62px, 8vw, 104px) 0;
  background: #fff;
}

.signup-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.68fr) minmax(0, 1fr);
  gap: clamp(42px, 7vw, 86px);
  align-items: start;
}

.signup-context {
  position: sticky;
  top: 108px;
}

.context-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.signup-form {
  border: 1px solid rgba(36, 36, 63, 0.12);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 42px);
  background: #fff;
  box-shadow: var(--shadow);
}

.signup-form.is-success-view {
  display: flex;
  min-height: 420px;
  align-items: center;
  background: #f8fbfc;
}

.signup-form.is-success-view .form-header,
.signup-form.is-success-view .form-page {
  display: none;
}

.form-header {
  margin-bottom: 24px;
}

.form-header h2 {
  font-size: 3.2rem;
}

.form-progress-label {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.progress-meter {
  height: 8px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(36, 36, 63, 0.08);
}

.progress-meter span {
  display: block;
  width: 8%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--brand-deep));
  transition: width 260ms ease;
}

.form-error {
  margin-top: 14px;
  border: 1px solid rgba(143, 43, 30, 0.18);
  border-radius: 8px;
  background: #fff7f5;
  color: #8f2b1e;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
  padding: 10px 12px;
}

.form-error[hidden] {
  display: none;
}

.form-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.form-steps button {
  border: 1px solid rgba(36, 36, 63, 0.14);
  border-radius: 999px;
  padding: 7px 11px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 900;
}

.form-steps button.is-active {
  border-color: rgba(43, 111, 124, 0.28);
  background: rgba(43, 111, 124, 0.08);
  color: var(--ink);
}

.form-steps button:not(.is-active):hover {
  border-color: rgba(36, 36, 63, 0.26);
  color: var(--ink);
}

.form-header p,
.form-note {
  color: var(--muted);
}

.form-page[hidden] {
  display: none;
}

.form-page h3 {
  margin-bottom: 12px;
  font-size: 1.55rem;
}

.form-intro {
  max-width: 620px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.55;
}

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

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

.field,
label {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 400;
}

legend {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 400;
}

.field {
  position: relative;
}

input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  width: 100%;
  margin-top: 4px;
  border: 1px solid rgba(36, 36, 63, 0.14);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  min-height: 42px;
  padding: 9px 11px;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(43, 111, 124, 0.32);
  outline-offset: 3px;
}

fieldset {
  margin: 22px 0;
  padding: 0;
  border: 0;
}

.authorized-signer-group {
  margin: 14px 0;
}

.authorized-signer-group .checkbox-grid label {
  min-height: 42px;
  padding: 9px 11px;
}

.form-divider {
  height: 1px;
  margin: 36px 0;
  background: rgba(36, 36, 63, 0.1);
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

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

.other-line-options {
  margin-top: 12px;
}

.other-line-options[hidden] {
  display: none;
}

.lines-fieldset {
  margin-top: 22px;
}

.line-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.lines-fieldset legend {
  font-size: 0.92rem;
}

.checkbox-grid.line-tag-cloud label {
  min-height: 0;
  border-radius: 999px;
  background: #fff;
  font-size: 0.85rem;
  padding: 8px 11px;
}

.checkbox-grid.line-tag-cloud label:has(input:checked) {
  border-color: rgba(43, 111, 124, 0.36);
  background: rgba(43, 111, 124, 0.08);
  color: var(--ink);
}

.checkbox-grid.line-tag-cloud input {
  width: 14px;
  min-height: 14px;
}

.field-note {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.5;
}

.conditional-fields {
  margin-top: 12px;
  border: 1px solid rgba(36, 36, 63, 0.12);
  border-radius: 8px;
  background: #f8fbfc;
  padding: 14px;
}

.conditional-fields[hidden] {
  display: none;
}

.gate-referral label {
  display: block;
}

.checkbox-grid label {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  padding: 10px 11px;
  border: 1px solid rgba(36, 36, 63, 0.14);
  border-radius: 8px;
  background: #fff;
  font-weight: 500;
}

.checkbox-grid input {
  width: 16px;
  min-height: 16px;
  margin: 0;
  accent-color: var(--focus);
}

.document-card {
  border: 1px solid rgba(36, 36, 63, 0.12);
  border-radius: 8px;
  background: #fff;
}

.document-list {
  display: grid;
  gap: 12px;
}

.document-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 16px;
}

.document-card a {
  color: var(--focus);
  font-weight: 900;
}

.document-card p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.checkline {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
}

.checkline input {
  flex: 0 0 auto;
  width: 16px;
  min-height: 16px;
  margin: 0;
  accent-color: var(--focus);
}

.review-certifications input {
  margin-top: 5px;
}

.review-certifications {
  display: grid;
  gap: 14px;
  border-top: 1px solid rgba(36, 36, 63, 0.1);
  align-items: flex-start;
  margin-top: 18px;
  padding-top: 18px;
}

.review-certifications .checkline {
  align-items: flex-start;
}

input[type="file"]::file-selector-button {
  margin-right: 12px;
  border: 0;
  border-radius: 999px;
  background: var(--focus);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 900;
  padding: 8px 12px;
}

.file-upload-field {
  display: grid;
}

.w9-date-label {
  display: block;
  margin-top: 18px;
}

.file-field-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.file-helper-link {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.2;
  text-align: right;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.review-summary {
  display: grid;
  gap: 0;
}

.review-summary section {
  border-top: 1px solid rgba(36, 36, 63, 0.1);
  padding: 18px 0;
}

.review-summary section:first-child {
  border-top: 0;
  padding-top: 0;
}

.review-summary h4 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 1rem;
}

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

.summary-grid div {
  min-width: 0;
}

.summary-grid dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.summary-grid dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.final-certification {
  align-items: flex-start;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
}

.form-actions .button-primary {
  border: 0;
}

.form-note {
  max-width: 340px;
  font-size: 0.92rem;
}

.form-success {
  margin-top: 22px;
  padding: 14px 16px;
  border: 1px solid rgba(43, 111, 124, 0.22);
  border-radius: 8px;
  background: var(--soft-blue);
  color: var(--ink);
  font-weight: 400;
}

.form-success h3 {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 1.15rem;
}

.form-success p {
  margin: 0;
  color: var(--ink);
  font-weight: 400;
  line-height: 1.5;
}

.signup-form.is-success-view .form-success {
  width: 100%;
  margin: 0;
  border: 0;
  background: transparent;
  padding: clamp(18px, 4vw, 44px);
}

.signup-form.is-success-view .form-success h3 {
  font-family: gelica-light-italic, sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-style: normal;
  font-weight: 400;
  line-height: 0.98;
}

.signup-form.is-success-view .form-success p {
  max-width: 620px;
  font-size: 1.08rem;
  color: var(--ink);
  font-weight: 400;
}

.motion-ready [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.motion-ready [data-reveal="scale"] {
  transform: translate3d(0, 18px, 0) scale(0.985);
}

.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.motion-ready [data-reveal="scale"].is-visible {
  transform: translate3d(0, 0, 0) scale(1);
}

.legal-hero {
  padding: 78px 0 56px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.legal-hero h1 {
  max-width: 820px;
  font-size: 4.4rem;
}

.legal-shell {
  width: min(820px, calc(100% - 40px));
}

.legal-body {
  padding: 58px 0 88px;
}

.legal-content {
  color: var(--ink);
}

.legal-content p,
.legal-content h4 {
  margin: 0;
  font-family: inter-18pt, sans-serif;
  font-size: 1rem;
  line-height: 1.72;
  letter-spacing: 0;
}

.legal-content p + p {
  margin-top: 18px;
}

.legal-content h4 {
  margin-top: 42px;
  margin-bottom: 14px;
  font-weight: 900;
}

.legal-content a {
  color: var(--brand-deep);
  font-weight: 800;
  text-underline-offset: 4px;
}

@media (min-width: 981px) {
  .hero-layout {
    min-height: clamp(430px, 34vw, 460px);
    position: relative;
  }

  .hero-media {
    position: absolute;
    right: clamp(-460px, -24vw, -200px);
    bottom: clamp(-320px, -20vw, -116px);
    z-index: 1;
    width: clamp(740px, 70vw, 1120px);
    max-width: none;
    pointer-events: none;
  }

  .hero-media img {
    max-width: none;
  }
}

@media (min-width: 1200px) {
  .hero-media {
    bottom: clamp(-390px, -25vw, -140px);
  }
}

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

  .motion-ready [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 980px) {
  h1 {
    font-size: 4.4rem;
  }

  h2 {
    font-size: 3.4rem;
  }

  .legal-hero h1 {
    font-size: 3.4rem;
  }

  .hero {
    min-height: auto;
  }

  .section-heading,
  .split-layout,
  .visual-layout,
  .carrier-shell,
  .hero-layout,
  .signup-layout {
    grid-template-columns: 1fr;
  }

  .hero-media {
    justify-self: center;
    width: min(100%, 460px);
  }

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

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

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

  .step-row article:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(36, 36, 63, 0.12);
  }

  .signup-context {
    position: static;
  }
}

@media (max-width: 720px) {
  h1 {
    font-size: 3rem;
  }

  h2,
  .form-header h2 {
    font-size: 2.32rem;
  }

  .lede {
    font-size: 1.1rem;
  }

  .legal-hero h1 {
    font-size: 2.55rem;
  }

  .shell {
    width: min(100% - 28px, 1120px);
  }

  .header-shell {
    min-height: auto;
    padding: 16px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .site-nav a {
    white-space: nowrap;
  }

  .brand img {
    width: 116px;
  }

  .hero {
    padding: 54px 0 36px;
  }

  .hero-layout {
    gap: 34px;
  }

  .hero-media {
    width: min(100%, 380px);
  }

  .hero-proof,
  .line-grid,
  .quote-grid,
  .step-row,
  .form-grid,
  .summary-grid,
  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .document-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .file-field-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .file-helper-link {
    text-align: left;
    white-space: normal;
  }

  .hero-proof {
    margin-top: 40px;
  }

  .hero-proof div {
    min-height: auto;
  }

  .carrier-logo-grid,
  .checkbox-grid-wide {
    grid-template-columns: 1fr;
  }

  .step-row article {
    border-right: 0;
    border-bottom: 1px solid rgba(36, 36, 63, 0.12);
  }

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

  .visual-layout {
    gap: 34px;
  }

  .appointment-hero {
    padding: 58px 0 64px;
  }

  .footer-shell,
  .final-cta-shell {
    align-items: flex-start;
    flex-direction: column;
  }
}
