:root {
  --navy-1000: #041127;
  --navy-950: #061632;
  --navy-900: #071f49;
  --navy-850: #09285b;
  --navy-800: #0b2f68;
  --navy-700: #123e7d;
  --blue-100: #eaf2ff;
  --blue-50: #f5f8fe;
  --gold-600: #a97627;
  --gold-500: #c49341;
  --gold-400: #dab565;
  --gold-300: #e7cb8e;
  --ink: #14213d;
  --ink-soft: #34415a;
  --muted: #68748b;
  --muted-dark: #546078;
  --line: #dfe6f0;
  --line-strong: #ccd6e5;
  --surface: #ffffff;
  --surface-soft: #f7f9fd;
  --surface-blue: #f2f6fc;
  --success: #12633f;
  --success-bg: #edf8f2;
  --danger: #a12d2d;
  --danger-bg: #fff1f1;
  --shadow-lg: 0 28px 80px rgba(6, 22, 50, 0.15);
  --shadow-md: 0 16px 44px rgba(7, 31, 73, 0.10);
  --shadow-sm: 0 8px 24px rgba(7, 31, 73, 0.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --container: 1200px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-submitting {
  cursor: progress;
}

img,
svg {
  display: block;
}

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

button,
input {
  font: inherit;
}

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

button {
  border: 0;
}

::selection {
  color: var(--surface);
  background: var(--navy-800);
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--surface);
  background: var(--navy-950);
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

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

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(204, 214, 229, 0.82);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 0 rgba(7, 31, 73, 0.02);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  min-width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-crest {
  width: 46px;
  height: auto;
  filter: drop-shadow(0 6px 9px rgba(6, 22, 50, 0.16));
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  color: var(--navy-950);
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.brand-subtitle {
  position: relative;
  width: fit-content;
  margin-top: 7px;
  color: var(--gold-600);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.brand-subtitle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(100% + 9px);
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-400), transparent);
}

.desktop-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 34px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}

.desktop-nav a {
  position: relative;
  padding-block: 10px;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border-radius: 11px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0.055em;
  text-align: center;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button:active {
  transform: translateY(0);
}

.button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.button-primary,
.button-small {
  color: var(--surface);
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  box-shadow: 0 13px 28px rgba(7, 31, 73, 0.22);
}

.button-primary:hover,
.button-small:hover {
  background: linear-gradient(135deg, var(--navy-850), var(--navy-800));
  box-shadow: 0 16px 34px rgba(7, 31, 73, 0.27);
}

.button-small {
  min-height: 48px;
  padding-inline: 22px;
  font-size: 13px;
}

.button-secondary {
  color: var(--navy-900);
  border: 1px solid var(--line-strong);
  background: var(--surface);
}

.button-secondary:hover {
  border-color: var(--navy-700);
  box-shadow: var(--shadow-sm);
}

.button-gold {
  color: var(--navy-1000);
  background: linear-gradient(135deg, #edcf8b, #c18c35);
  box-shadow: 0 15px 34px rgba(181, 128, 44, 0.28);
}

.button-gold:hover {
  background: linear-gradient(135deg, #f1d99f, #ca9846);
  box-shadow: 0 18px 40px rgba(181, 128, 44, 0.34);
}

.button-full {
  width: 100%;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(47, 101, 189, 0.28);
  outline-offset: 3px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 62px 0 0;
  background:
    radial-gradient(circle at 8% 84%, rgba(78, 136, 224, 0.18), transparent 30%),
    radial-gradient(circle at 46% 14%, rgba(218, 181, 101, 0.10), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f9fbff 56%, #eff5fd 100%);
}

.hero::before {
  content: "";
  position: absolute;
  right: -10%;
  bottom: 130px;
  left: -8%;
  height: 360px;
  opacity: 0.5;
  background:
    linear-gradient(160deg, transparent 0 45%, rgba(91, 142, 220, 0.12) 45.15% 45.45%, transparent 45.6%),
    linear-gradient(168deg, transparent 0 60%, rgba(91, 142, 220, 0.08) 60.15% 60.45%, transparent 60.6%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 136px;
  left: -90px;
  width: 400px;
  height: 150px;
  clip-path: polygon(0 34%, 100% 100%, 0 100%);
  background: linear-gradient(150deg, var(--navy-850) 0 82%, var(--gold-400) 82% 86%, transparent 86%);
  pointer-events: none;
}

.hero-watermark {
  position: absolute;
  top: 80px;
  left: 43%;
  width: 430px;
  color: var(--navy-800);
  opacity: 0.035;
  transform: translateX(-12%);
  pointer-events: none;
}

.hero-watermark svg {
  width: 100%;
  height: auto;
}

.hero-watermark path:first-child {
  fill: none;
  stroke: currentColor;
  stroke-width: 18;
}

.hero-watermark path:last-child {
  fill: none;
  stroke: currentColor;
  stroke-width: 14;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(400px, 500px);
  align-items: center;
  gap: clamp(48px, 6vw, 86px);
}

.hero-copy {
  padding: 22px 0 74px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-600);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.final-cta-card h2,
.form-card h2 {
  margin: 0;
  color: var(--navy-950);
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.hero h1 {
  max-width: 690px;
  font-size: clamp(52px, 5.2vw, 76px);
}

.hero h1 span {
  display: block;
  color: var(--navy-850);
}

.hero-intro {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.62;
}

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

.trust-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy-950);
  font-size: 15px;
  font-weight: 720;
}

.icon-badge {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(47, 101, 189, 0.14);
  border-radius: 50%;
  color: var(--navy-800);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 5px 12px rgba(7, 31, 73, 0.06);
}

.icon-badge svg,
.field-icon svg,
.verification-icon svg,
.process-icon svg,
.review-icon svg,
.preparation-icon svg,
.security-note svg,
.form-reassurance svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-badge svg {
  width: 18px;
  height: 18px;
}

.case-types {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.case-types span {
  position: relative;
  padding: 8px 12px 8px 24px;
  border: 1px solid rgba(204, 214, 229, 0.82);
  border-radius: 999px;
  color: var(--muted-dark);
  background: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-weight: 700;
}

.case-types span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-500);
  transform: translateY(-50%);
}

.form-card {
  position: relative;
  z-index: 4;
  margin-bottom: 54px;
  padding: 30px;
  border: 1px solid rgba(204, 214, 229, 0.82);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
}

.form-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 32px;
  left: 32px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}

.form-card-heading {
  margin-bottom: 21px;
  text-align: center;
}

.form-kicker {
  margin: 0 0 5px;
  color: var(--gold-600);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.form-card h2 {
  font-size: 38px;
}

.form-card-heading > p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

#lead-form {
  display: grid;
  gap: 13px;
}

.field-group {
  display: grid;
  gap: 5px;
}

.field-group > label {
  margin-left: 2px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 750;
}

.field-group > label span {
  color: var(--muted);
  font-weight: 600;
}

.field-shell {
  position: relative;
}

.field-icon {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 15px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  color: var(--navy-800);
  pointer-events: none;
  transform: translateY(-50%);
}

.field-icon svg {
  width: 19px;
  height: 19px;
}

.field-shell input {
  width: 100%;
  height: 50px;
  padding: 0 15px 0 47px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--ink);
  background: var(--surface);
  font-size: 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.field-shell input::placeholder {
  color: #8b95a8;
  opacity: 1;
}

.field-shell input:hover {
  border-color: #adbace;
}

.field-shell input:focus {
  border-color: var(--navy-700);
  background: #fbfdff;
  box-shadow: 0 0 0 4px rgba(47, 101, 189, 0.10);
  outline: none;
}

.field-group.has-error input {
  border-color: var(--danger);
  background: #fffafa;
}

.field-error {
  min-height: 0;
  margin: 0 2px;
  color: var(--danger);
  font-size: 11px;
  line-height: 1.3;
}

.field-error:not(:empty) {
  min-height: 14px;
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

.consent-row {
  display: grid;
  grid-template-columns: 19px 1fr;
  align-items: start;
  gap: 10px;
  margin-top: 2px;
  color: var(--muted-dark);
  font-size: 11px;
  line-height: 1.5;
  cursor: pointer;
}

.consent-row input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--navy-800);
}

.consent-row a {
  color: var(--navy-700);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.consent-error {
  margin-top: -9px;
}

.button-spinner {
  width: 18px;
  height: 18px;
  display: none;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

.is-loading .button-spinner {
  display: block;
}

.is-loading .button-label {
  opacity: 0.78;
}

.form-status {
  display: none;
  padding: 11px 13px;
  border-radius: 9px;
  font-size: 12px;
  line-height: 1.45;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-error {
  color: var(--danger);
  border: 1px solid rgba(161, 45, 45, 0.22);
  background: var(--danger-bg);
}

.form-status.is-success {
  color: var(--success);
  border: 1px solid rgba(18, 99, 63, 0.20);
  background: var(--success-bg);
}

.form-reassurance {
  margin: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
  text-align: center;
}

.form-reassurance svg {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  margin-top: 1px;
  color: var(--navy-700);
}

.verification-strip {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(204, 214, 229, 0.86);
  border-radius: 16px 16px 0 0;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 -4px 30px rgba(7, 31, 73, 0.05);
}

.verification-item {
  min-height: 98px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
}

.verification-item + .verification-item {
  border-left: 1px solid var(--line);
}

.verification-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--navy-800);
  background: var(--blue-100);
}

.verification-icon svg {
  width: 21px;
  height: 21px;
}

.verification-item div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.verification-item strong {
  color: var(--navy-950);
  font-size: 13px;
}

.verification-item span,
.verification-item a {
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 11px;
}

.verification-item a:hover {
  color: var(--navy-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.section {
  padding: 96px 0;
}

.section-heading {
  max-width: 690px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.final-cta-card h2 {
  font-size: clamp(38px, 4vw, 52px);
}

.section-heading > p:last-child,
.review-heading > p,
.final-cta-card p {
  margin: 18px 0 0;
  color: var(--muted-dark);
  font-size: 16px;
  line-height: 1.65;
}

.process-section {
  background: var(--surface);
}

.process-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.process-card {
  position: relative;
  min-height: 270px;
  padding: 32px 28px 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.process-card:hover {
  border-color: #cad6e7;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.process-card::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 101, 189, 0.10), transparent 70%);
}

.step-number {
  position: absolute;
  top: 22px;
  right: 24px;
  color: rgba(7, 31, 73, 0.08);
  font-family: var(--serif);
  font-size: 58px;
  font-weight: 700;
  line-height: 1;
}

.process-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--surface);
  background: linear-gradient(145deg, var(--navy-900), var(--navy-700));
  box-shadow: 0 13px 26px rgba(7, 31, 73, 0.22);
}

.process-icon svg {
  width: 28px;
  height: 28px;
}

.process-card h3,
.review-card h3,
.preparation-card h3 {
  margin: 24px 0 0;
  color: var(--navy-950);
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.2;
}

.process-card p,
.review-card p,
.preparation-card p {
  margin: 10px 0 0;
  color: var(--muted-dark);
  font-size: 14px;
  line-height: 1.62;
}

.review-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(218, 181, 101, 0.12), transparent 28%),
    linear-gradient(180deg, var(--surface-blue), #f8faff);
}

.review-section::before {
  content: "";
  position: absolute;
  top: -170px;
  left: -180px;
  width: 450px;
  height: 450px;
  border: 1px solid rgba(47, 101, 189, 0.08);
  border-radius: 50%;
}

.review-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(50px, 7vw, 94px);
}

.review-heading {
  position: sticky;
  top: 120px;
}

.text-link {
  width: fit-content;
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy-800);
  font-size: 14px;
  font-weight: 850;
}

.text-link span {
  font-size: 20px;
  transition: transform 160ms ease;
}

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

.review-cards {
  display: grid;
  gap: 16px;
}

.review-card {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 21px;
  padding: 25px;
  border: 1px solid rgba(204, 214, 229, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 34px rgba(7, 31, 73, 0.07);
  backdrop-filter: blur(8px);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.review-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(-4px);
}

.review-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  color: var(--gold-600);
  background: #fff8e8;
}

.review-icon svg {
  width: 28px;
  height: 28px;
}

.review-card h3 {
  margin: 2px 0 0;
  font-size: 21px;
}

.review-card p {
  margin-top: 7px;
}

.preparation-section {
  background: var(--surface);
}

.compact-heading {
  max-width: 720px;
}

.preparation-grid {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.preparation-card {
  min-height: 295px;
  padding: 32px 30px;
}

.preparation-card + .preparation-card {
  border-left: 1px solid var(--line);
}

.preparation-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--gold-600);
  background: #fff8e8;
}

.preparation-icon svg {
  width: 28px;
  height: 28px;
}

.preparation-card h3 {
  font-size: 21px;
}

.faq-section {
  background: linear-gradient(180deg, #f7f9fd, #ffffff);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
  align-items: start;
  gap: clamp(50px, 8vw, 100px);
}

.faq-heading {
  position: sticky;
  top: 120px;
}

.security-note {
  margin-top: 28px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 17px;
  border: 1px solid #e8d4a8;
  border-radius: 12px;
  color: #705121;
  background: #fff9ed;
  font-size: 12px;
  font-weight: 680;
  line-height: 1.5;
}

.security-note svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  color: var(--gold-600);
}

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

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(7, 31, 73, 0.05);
}

.faq-list summary {
  position: relative;
  padding: 21px 56px 21px 22px;
  cursor: pointer;
  color: var(--navy-950);
  font-size: 15px;
  font-weight: 800;
  list-style: none;
}

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

.faq-list summary::before,
.faq-list summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 22px;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy-800);
  transform: translateY(-50%);
  transition: transform 160ms ease;
}

.faq-list summary::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq-list details[open] summary::after {
  transform: translateY(-50%) rotate(0deg);
}

.faq-list details[open] summary {
  border-bottom: 1px solid var(--line);
}

.faq-list details p {
  margin: 0;
  padding: 19px 22px 22px;
  color: var(--muted-dark);
  font-size: 13px;
  line-height: 1.65;
}

.final-cta-section {
  padding: 30px 0 96px;
  background: var(--surface);
}

.final-cta-card {
  position: relative;
  min-height: 290px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 50px;
  padding: clamp(36px, 5vw, 64px);
  overflow: hidden;
  border-radius: var(--radius-xl);
  color: var(--surface);
  background:
    radial-gradient(circle at 80% 20%, rgba(218, 181, 101, 0.18), transparent 28%),
    linear-gradient(135deg, var(--navy-1000), var(--navy-800));
  box-shadow: var(--shadow-lg);
}

.final-cta-card::before {
  content: "";
  position: absolute;
  top: -80px;
  right: 18%;
  width: 260px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 45% 45% 50% 50%;
  transform: rotate(18deg);
}

.final-cta-card > * {
  position: relative;
  z-index: 1;
}

.final-cta-card h2 {
  color: var(--surface);
}

.final-cta-card p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.76);
}

.light-eyebrow {
  color: var(--gold-300);
}

.site-footer {
  padding: 68px 0 28px;
  color: rgba(255, 255, 255, 0.72);
  background: var(--navy-1000);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(190px, 0.8fr) minmax(190px, 0.8fr);
  gap: 68px;
}

.footer-brand .brand-name {
  color: var(--surface);
  font-size: 20px;
}

.footer-brand .brand-subtitle {
  color: var(--gold-300);
}

.footer-brand-block > p {
  max-width: 480px;
  margin: 22px 0 0;
  font-size: 12px;
  line-height: 1.7;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
}

.footer-column h2 {
  margin: 0 0 8px;
  color: var(--surface);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-column p {
  margin: 0 0 6px;
  line-height: 1.7;
}

.footer-column a:hover {
  color: var(--surface);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  margin-top: 52px;
  padding-top: 22px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  font-size: 10px;
  line-height: 1.55;
}

.footer-bottom p {
  margin: 0;
}

.footer-disclaimer {
  justify-self: end;
  max-width: 710px;
  color: rgba(255, 255, 255, 0.55);
  text-align: right;
}

.mobile-sticky-cta {
  display: none;
}

.consent-banner {
  position: fixed;
  z-index: 100;
  right: 20px;
  bottom: 20px;
  left: 20px;
  width: min(calc(100% - 40px), 980px);
  margin-inline: auto;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 70px rgba(6, 22, 50, 0.22);
  backdrop-filter: blur(16px);
}

.consent-banner:not([hidden]) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}

.consent-copy h2 {
  margin: 0;
  color: var(--navy-950);
  font-size: 16px;
}

.consent-copy p {
  margin: 5px 0 0;
  color: var(--muted-dark);
  font-size: 12px;
}

.consent-actions {
  display: flex;
  gap: 10px;
}

.consent-actions .button {
  min-height: 44px;
  padding-inline: 16px;
  font-size: 11px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1050px) {
  .desktop-nav {
    display: none;
  }

  .header-cta {
    margin-left: auto;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(370px, 440px);
    gap: 38px;
  }

  .hero h1 {
    font-size: clamp(48px, 5.4vw, 64px);
  }

  .verification-item {
    padding-inline: 18px;
  }

  .process-card {
    padding-inline: 23px;
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 74px;
  }

  .container {
    width: min(calc(100% - 36px), var(--container));
  }

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

  .brand-crest {
    width: 39px;
  }

  .brand-name {
    font-size: 18px;
  }

  .brand-subtitle {
    margin-top: 5px;
    font-size: 8px;
  }

  .brand-subtitle::after {
    width: 42px;
  }

  .hero {
    padding-top: 38px;
  }

  .hero::after {
    display: none;
  }

  .hero-watermark {
    top: 220px;
    left: 50%;
    width: 520px;
    transform: translateX(-50%);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .hero-copy {
    padding: 18px 0 38px;
    text-align: center;
  }

  .hero h1,
  .hero-intro {
    margin-inline: auto;
  }

  .trust-list {
    width: min(100%, 510px);
    margin-inline: auto;
    text-align: left;
  }

  .case-types {
    justify-content: center;
  }

  .form-card {
    width: min(100%, 580px);
    margin: 0 auto 34px;
  }

  .verification-strip {
    grid-template-columns: 1fr;
    border-radius: 16px 16px 0 0;
  }

  .verification-item {
    min-height: 82px;
  }

  .verification-item + .verification-item {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .section {
    padding: 78px 0;
  }

  .process-grid,
  .preparation-grid {
    grid-template-columns: 1fr;
  }

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

  .review-layout,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .review-heading,
  .faq-heading {
    position: static;
  }

  .preparation-grid {
    overflow: visible;
    border: 0;
    gap: 16px;
    box-shadow: none;
  }

  .preparation-card {
    min-height: 0;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
  }

  .preparation-card + .preparation-card {
    border-left: 1px solid var(--line);
  }

  .final-cta-card {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .final-cta-card .button {
    width: fit-content;
  }

  .footer-grid {
    grid-template-columns: 1.35fr 1fr 1fr;
    gap: 34px;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer-disclaimer {
    justify-self: start;
    text-align: left;
  }

  .consent-banner:not([hidden]) {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .site-header {
    position: sticky;
  }

  .header-inner {
    min-height: 68px;
  }

  .brand {
    gap: 8px;
  }

  .brand-crest {
    width: 34px;
  }

  .brand-name {
    font-size: 15px;
    letter-spacing: 0.035em;
  }

  .brand-subtitle {
    font-size: 7px;
    letter-spacing: 0.22em;
  }

  .brand-subtitle::after {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding-top: 24px;
  }

  .hero-copy {
    padding-top: 10px;
  }

  .eyebrow {
    margin-bottom: 10px;
    font-size: 10px;
    letter-spacing: 0.145em;
  }

  .hero h1 {
    font-size: clamp(43px, 13.4vw, 58px);
    line-height: 0.99;
  }

  .hero-intro {
    margin-top: 19px;
    font-size: 15px;
    line-height: 1.58;
  }

  .trust-list {
    margin-top: 23px;
    gap: 10px;
  }

  .trust-list li {
    align-items: flex-start;
    font-size: 13px;
    line-height: 1.4;
  }

  .icon-badge {
    width: 31px;
    height: 31px;
  }

  .case-types {
    gap: 7px;
  }

  .case-types span {
    padding: 7px 10px 7px 22px;
    font-size: 10px;
  }

  .form-card {
    padding: 24px 18px 20px;
    border-radius: 17px;
  }

  .form-card h2 {
    font-size: 34px;
  }

  .field-shell input {
    height: 52px;
    font-size: 16px;
  }

  .consent-row {
    font-size: 10px;
  }

  .verification-strip {
    width: 100%;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .verification-item {
    padding: 17px 14px;
  }

  .verification-icon {
    width: 39px;
    height: 39px;
  }

  .section {
    padding: 66px 0;
  }

  .section-heading h2,
  .final-cta-card h2 {
    font-size: clamp(35px, 10.5vw, 45px);
  }

  .section-heading > p:last-child,
  .review-heading > p,
  .final-cta-card p {
    margin-top: 14px;
    font-size: 14px;
  }

  .process-grid {
    margin-top: 34px;
    gap: 14px;
  }

  .process-card {
    padding: 24px 21px;
  }

  .process-icon {
    width: 52px;
    height: 52px;
  }

  .process-card h3,
  .review-card h3,
  .preparation-card h3 {
    font-size: 20px;
  }

  .review-card {
    grid-template-columns: 48px 1fr;
    gap: 15px;
    padding: 20px 17px;
  }

  .review-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .review-icon svg {
    width: 23px;
    height: 23px;
  }

  .review-card:hover {
    transform: none;
  }

  .preparation-grid {
    margin-top: 34px;
  }

  .preparation-card {
    padding: 24px 21px;
  }

  .faq-list summary {
    padding: 18px 50px 18px 18px;
    font-size: 14px;
  }

  .faq-list details p {
    padding: 17px 18px 20px;
  }

  .final-cta-section {
    padding: 14px 0 72px;
  }

  .final-cta-card {
    min-height: 0;
    padding: 32px 22px;
    border-radius: 20px;
  }

  .final-cta-card .button {
    width: 100%;
  }

  .site-footer {
    padding-top: 54px;
    padding-bottom: 86px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    margin-top: 38px;
  }

  .mobile-sticky-cta {
    position: fixed;
    z-index: 45;
    right: 12px;
    bottom: 12px;
    left: 12px;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: var(--surface);
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
    box-shadow: 0 16px 38px rgba(6, 22, 50, 0.34);
    font-size: 13px;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .mobile-sticky-cta.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
  }

  .consent-banner {
    right: 10px;
    bottom: 76px;
    left: 10px;
    width: calc(100% - 20px);
    padding: 15px;
  }

  .consent-actions {
    flex-direction: column-reverse;
  }

  .consent-actions .button {
    width: 100%;
  }
}

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

/* Confirmation page */
.confirmation-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f5f8fd;
}

.simple-header {
  position: relative;
}

.simple-contact {
  color: var(--navy-800);
  font-size: 13px;
  font-weight: 750;
}

.simple-contact:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.confirmation-main {
  position: relative;
  flex: 1;
  overflow: hidden;
  padding: 72px 0;
  background:
    radial-gradient(circle at 15% 85%, rgba(78, 136, 224, 0.17), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(218, 181, 101, 0.12), transparent 24%),
    linear-gradient(180deg, #ffffff, #eff5fd);
}

.confirmation-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(70vw, 620px);
  opacity: 0.025;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.confirmation-watermark img {
  width: 100%;
  height: auto;
}

.confirmation-card {
  position: relative;
  z-index: 1;
  max-width: 840px;
  padding: clamp(32px, 6vw, 70px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.confirmation-check {
  width: 78px;
  height: 78px;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(18, 99, 63, 0.16);
  border-radius: 24px;
  color: var(--success);
  background: var(--success-bg);
}

.confirmation-check svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.confirmation-card h1 {
  max-width: 690px;
  margin: 0 auto;
  color: var(--navy-950);
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.confirmation-intro {
  max-width: 680px;
  margin: 20px auto 0;
  color: var(--muted-dark);
  font-size: 16px;
  line-height: 1.65;
}

.reference-box {
  width: fit-content;
  margin: 24px auto 0;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface-soft);
}

.reference-box:not([hidden]) {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reference-box span {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.reference-box strong {
  color: var(--navy-900);
  font-size: 13px;
  letter-spacing: 0.05em;
}

.next-step-list {
  margin-top: 38px;
  display: grid;
  gap: 12px;
  text-align: left;
}

.next-step-list article {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: start;
  gap: 15px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.next-step-list article > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--surface);
  background: var(--navy-800);
  font-size: 13px;
  font-weight: 850;
}

.next-step-list h2 {
  margin: 0;
  color: var(--navy-950);
  font-family: var(--serif);
  font-size: 19px;
}

.next-step-list p {
  margin: 5px 0 0;
  color: var(--muted-dark);
  font-size: 12px;
  line-height: 1.55;
}

.confirmation-actions {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}

.confirmation-actions .text-link {
  margin-top: 0;
}

.confirmation-note {
  max-width: 650px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.confirmation-footer {
  padding: 22px 0;
  color: rgba(255, 255, 255, 0.65);
  background: var(--navy-1000);
  font-size: 10px;
}

.confirmation-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.confirmation-footer p {
  margin: 0;
}

.confirmation-footer nav {
  display: flex;
  gap: 18px;
}

.confirmation-footer a:hover {
  color: var(--surface);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 640px) {
  .simple-contact {
    display: none;
  }

  .confirmation-main {
    padding: 32px 0;
  }

  .confirmation-card {
    padding: 30px 18px;
    border-radius: 18px;
  }

  .confirmation-check {
    width: 66px;
    height: 66px;
    margin-bottom: 19px;
    border-radius: 20px;
  }

  .confirmation-card h1 {
    font-size: 38px;
  }

  .confirmation-intro {
    font-size: 14px;
  }

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

  .confirmation-actions .button {
    width: 100%;
  }

  .confirmation-footer .container {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Vercel form integration and legal page additions */
.form-status:not(:empty) {
  display: block;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.form-status.error {
  color: #9f2929;
  background: #fff0f0;
  border: 1px solid #f0cccc;
}

.form-status.success {
  color: #176b45;
  background: #edf9f3;
  border: 1px solid #c8e7d8;
}

.legal-page {
  min-height: 100vh;
  background: var(--blue-50);
}

.legal-hero {
  padding: 72px 0 46px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #ffffff, #f1f6fd);
}

.legal-hero h1 {
  max-width: 900px;
  margin: 0 0 14px;
  color: var(--navy-950);
  font-family: var(--font-display, Georgia, "Times New Roman", serif);
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.legal-hero > .container > p:last-child {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.legal-content {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 56px;
  padding-top: 56px;
  padding-bottom: 84px;
}

.legal-toc {
  position: sticky;
  top: 116px;
  align-self: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #ffffff;
  box-shadow: var(--shadow-soft, 0 10px 30px rgba(6, 22, 50, 0.07));
}

.legal-toc strong {
  display: block;
  margin-bottom: 12px;
  color: var(--navy-950);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-toc a {
  display: block;
  padding: 6px 0;
  color: var(--muted);
  font-size: 13px;
}

.legal-toc a:hover {
  color: var(--navy-700);
}

.legal-article {
  padding: 42px 48px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-soft, 0 10px 30px rgba(6, 22, 50, 0.07));
}

.legal-article section + section {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.legal-article h2 {
  margin: 0 0 15px;
  color: var(--navy-950);
  font-family: var(--font-display, Georgia, "Times New Roman", serif);
  font-size: 31px;
  line-height: 1.15;
}

.legal-article h3 {
  margin: 24px 0 10px;
  color: var(--navy-950);
  font-size: 18px;
}

.legal-article p,
.legal-article li {
  color: #46546c;
  font-size: 15px;
  line-height: 1.7;
}

.legal-article ul {
  padding-left: 22px;
}

.legal-article a {
  color: var(--navy-700);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-note {
  margin-top: 18px;
  padding: 18px 20px;
  border-left: 4px solid var(--gold-500);
  border-radius: 0 11px 11px 0;
  background: #fff8e9;
  color: #5c4622;
  font-size: 14px;
  line-height: 1.6;
}

.thank-you-page {
  min-height: 100vh;
  background: radial-gradient(circle at 82% 18%, rgba(216, 229, 249, 0.85), transparent 31%), linear-gradient(135deg, #ffffff, #eef4fc);
}

.thank-you-main {
  display: grid;
  min-height: calc(100vh - 84px);
  place-items: center;
  padding: 60px 20px;
}

.thank-you-card {
  width: min(750px, 100%);
  padding: clamp(34px, 6vw, 64px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 28px 80px rgba(6, 22, 50, 0.16);
  text-align: center;
}

.success-icon {
  display: grid;
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  place-items: center;
  border-radius: 50%;
  background: #eaf8f1;
}

.success-icon svg {
  width: 38px;
  height: 38px;
  fill: #176b45;
}

.thank-you-card h1 {
  margin: 0 0 15px;
  color: var(--navy-950);
  font-family: var(--font-display, Georgia, "Times New Roman", serif);
  font-size: clamp(40px, 6vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.thank-you-card > p {
  max-width: 610px;
  margin-right: auto;
  margin-left: auto;
  color: var(--muted);
  font-size: 17px;
}

.lead-reference {
  display: inline-block;
  margin: 7px 0 28px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--navy-800);
  font-size: 13px;
  font-weight: 800;
}

.next-steps-card {
  margin: 30px 0;
  padding: 23px 25px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fbfdff;
  text-align: left;
}

.next-steps-card h2 {
  margin: 0 0 14px;
  color: var(--navy-950);
  font-size: 18px;
  letter-spacing: 0;
}

.next-steps-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.next-steps-card li {
  display: grid;
  grid-template-columns: 23px 1fr;
  gap: 9px;
  color: var(--muted);
  font-size: 14px;
}

.next-steps-card li span {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 50%;
  background: var(--navy-950);
  color: #ffffff;
  font-size: 11px;
  font-weight: 850;
}

.thank-you-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.button-outline {
  border: 1px solid var(--line-strong);
  background: #ffffff;
  color: var(--navy-950);
}

@media (max-width: 860px) {
  .legal-content {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    display: none;
  }
}

@media (max-width: 560px) {
  .legal-hero {
    padding: 48px 0 34px;
  }

  .legal-content {
    padding-top: 28px;
    padding-bottom: 56px;
  }

  .legal-article {
    padding: 29px 20px;
    border-radius: 17px;
  }

  .legal-article h2 {
    font-size: 27px;
  }

  .thank-you-main {
    min-height: calc(100vh - 70px);
    padding: 35px 12px;
  }

  .thank-you-card {
    padding: 32px 19px;
    border-radius: 20px;
  }

  .thank-you-actions .button {
    width: 100%;
  }
}

/* Privacy controls */
.footer-link-button {
  margin: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.footer-link-button:hover,
.footer-link-button:focus-visible {
  color: var(--surface);
  text-decoration: underline;
  text-underline-offset: 3px;
}

html.modal-open {
  overflow: hidden;
}

.modal-backdrop {
  position: fixed;
  z-index: 220;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(4, 17, 39, 0.72);
  backdrop-filter: blur(8px);
}

.modal-backdrop[hidden] {
  display: none;
}

.cookie-modal-card {
  position: relative;
  width: min(620px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  overflow: auto;
  padding: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 32px 100px rgba(4, 17, 39, 0.34);
}

.cookie-modal-card h2 {
  margin: 4px 0 12px;
  color: var(--navy-950);
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.1;
}

.cookie-modal-card > p:not(.eyebrow) {
  margin: 0 0 24px;
  color: var(--muted-dark);
  font-size: 14px;
  line-height: 1.65;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--navy-900);
  background: var(--surface-soft);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.cookie-option {
  min-height: 86px;
  margin-top: 12px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
}

.cookie-option h3 {
  margin: 0 0 4px;
  color: var(--navy-950);
  font-size: 15px;
}

.cookie-option p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.always-on {
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--success);
  background: var(--success-bg);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.switch {
  position: relative;
  flex: 0 0 auto;
  width: 48px;
  height: 28px;
}

.switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.switch-track {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #cbd5e1;
  cursor: pointer;
  transition: background 160ms ease;
}

.switch-track::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(4, 17, 39, 0.2);
  transition: transform 160ms ease;
}

.switch input:checked + .switch-track {
  background: var(--navy-800);
}

.switch input:checked + .switch-track::after {
  transform: translateX(20px);
}

.switch input:focus-visible + .switch-track {
  outline: 3px solid rgba(18, 62, 125, 0.22);
  outline-offset: 3px;
}

.cookie-modal-actions {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.cookie-button {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.cookie-button-ghost {
  border: 1px solid var(--line-strong);
  color: var(--navy-900);
  background: var(--surface);
}

.cookie-button-primary {
  color: var(--surface);
  background: var(--navy-900);
}

@media (max-width: 560px) {
  .cookie-modal-card {
    padding: 28px 18px 20px;
    border-radius: 18px;
  }

  .cookie-modal-card h2 {
    padding-right: 44px;
    font-size: 29px;
  }

  .cookie-option {
    padding: 14px;
  }

  .cookie-modal-actions {
    flex-direction: column-reverse;
  }

  .cookie-button {
    width: 100%;
  }
}
