:root {
  color-scheme: dark;
  --black: #07090c;
  --charcoal: #10151b;
  --panel: #121820;
  --steel: #cbd6df;
  --muted: #aeb9c4;
  --line: rgba(194, 210, 225, 0.24);
  --blue: #1266e3;
  --blue-hot: #2f9dff;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  padding-bottom: 112px;
  color: #f4f7fb;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    var(--black);
  background-size: 44px 44px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--blue-hot);
  outline-offset: 3px;
}

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

.card-hero,
.card-services,
.card-form-section,
.card-advisor,
.card-secondary-links {
  padding: clamp(22px, 6vw, 56px) clamp(18px, 5vw, 48px);
}

.card-hero {
  min-height: auto;
  display: grid;
  align-content: start;
  gap: clamp(34px, 7vw, 72px);
}

.card-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.card-logo {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.card-logo-mark {
  display: grid;
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  place-items: center;
  color: #f8fbff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 46%),
    #101820;
  border: 1px solid rgba(194, 210, 225, 0.72);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.card-logo-mark span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(47, 157, 255, 0.72);
  color: #8ccaff;
  font-size: 0.72rem;
  font-weight: 950;
}

.card-logo-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.card-logo-text span {
  color: var(--white);
  font-size: clamp(0.92rem, 4vw, 1.16rem);
  font-weight: 950;
  line-height: 1.05;
}

.card-logo-text small,
.card-trust-line,
.card-lede,
.card-section-copy p,
.card-advisor-box p {
  color: var(--muted);
}

.card-logo-text small {
  font-size: 0.78rem;
  font-weight: 800;
}

.card-trust-line {
  max-width: 180px;
  margin: 0;
  text-align: right;
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.25;
}

.card-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

.card-kicker {
  margin: 0 0 12px;
  color: #8ccaff;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 14px;
  color: var(--white);
  font-size: clamp(2.65rem, 15vw, 7rem);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  color: var(--white);
  font-size: clamp(1.75rem, 8vw, 3.8rem);
  line-height: 1;
  letter-spacing: 0;
}

.card-tagline {
  margin-bottom: 16px;
  color: var(--steel);
  font-size: clamp(1.25rem, 6vw, 2.4rem);
  font-weight: 900;
  line-height: 1.06;
}

.card-lede,
.card-section-copy p {
  max-width: 680px;
  font-size: clamp(1rem, 4vw, 1.18rem);
}

.card-action-panel {
  display: grid;
  gap: 12px;
}

.card-action,
.card-submit,
.card-mini-action,
.card-secondary-links a,
.card-secondary-links button,
.card-sticky-actions a {
  min-height: 54px;
  border-radius: 8px;
  font-weight: 900;
}

.card-action {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid rgba(194, 210, 225, 0.22);
  background: rgba(18, 24, 31, 0.92);
}

.card-action span {
  color: var(--steel);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.card-action strong {
  color: var(--white);
  font-size: clamp(1.12rem, 5vw, 1.45rem);
  line-height: 1.08;
}

.card-action-primary {
  background: var(--blue);
  border-color: var(--blue-hot);
  box-shadow: 0 18px 38px rgba(18, 102, 227, 0.28);
}

.card-action-primary span,
.card-action-primary strong {
  color: var(--white);
}

.card-action-secondary {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 46%),
    #26313b;
  border-color: rgba(230, 238, 246, 0.34);
}

.card-action-outline {
  background: transparent;
  border-color: rgba(47, 157, 255, 0.54);
}

.card-services,
.card-form-section,
.card-advisor {
  display: grid;
  gap: 22px;
  border-top: 1px solid rgba(194, 210, 225, 0.16);
}

.card-service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.card-service-list span {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  color: #edf6ff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 52%),
    #111820;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 900;
}

.card-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: clamp(18px, 5vw, 28px);
  background: var(--charcoal);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.card-form label,
.card-urgency-group {
  display: grid;
  gap: 7px;
  min-width: 0;
  margin: 0;
}

.card-form label span,
.card-urgency-group legend {
  color: var(--steel);
  font-size: 0.84rem;
  font-weight: 900;
}

.card-form input,
.card-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px;
  color: #f8fbff;
  background: var(--black);
  border: 1px solid rgba(194, 210, 225, 0.28);
  border-radius: 8px;
  font: inherit;
}

.card-form textarea {
  min-height: 118px;
  resize: vertical;
}

.card-urgency-group {
  padding: 0;
  border: 0;
}

.card-urgency-group legend {
  padding: 0 0 4px;
}

.card-urgency-group label {
  grid-template-columns: 22px 1fr;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  background: var(--black);
  border: 1px solid rgba(194, 210, 225, 0.28);
  border-radius: 8px;
}

.card-urgency-group input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--blue-hot);
}

.card-submit {
  width: 100%;
  padding: 13px 18px;
  color: var(--white);
  background: var(--blue);
  border: 1px solid var(--blue-hot);
  cursor: pointer;
  font: inherit;
}

.card-form-note {
  margin: 0;
  padding: 13px 14px;
  color: #f8fbff;
  background: rgba(47, 157, 255, 0.12);
  border: 1px solid rgba(47, 157, 255, 0.42);
  border-radius: 8px;
}

.card-advisor-box {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 5vw, 26px);
  background:
    linear-gradient(135deg, rgba(47, 157, 255, 0.14), transparent 44%),
    #111820;
  border: 1px solid rgba(47, 157, 255, 0.32);
  border-radius: 8px;
}

.card-advisor-box p {
  margin-bottom: 0;
  font-size: 1rem;
}

.card-mini-action {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  padding: 12px 15px;
  color: var(--white);
  background: #26313b;
  border: 1px solid rgba(230, 238, 246, 0.34);
}

.card-secondary-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  border-top: 1px solid rgba(194, 210, 225, 0.16);
}

.card-secondary-links a,
.card-secondary-links button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  color: #edf6ff;
  background: transparent;
  border: 1px solid var(--line);
  font: inherit;
  text-align: center;
}

.card-secondary-links button {
  color: #8d9aa6;
  cursor: not-allowed;
}

.card-sticky-actions {
  position: fixed;
  right: 14px;
  bottom: 14px;
  left: 14px;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px;
  background: rgba(7, 9, 12, 0.92);
  border: 1px solid rgba(194, 210, 225, 0.2);
  border-radius: 8px;
}

@supports (backdrop-filter: blur(14px)) or (-webkit-backdrop-filter: blur(14px)) {
  .card-sticky-actions {
    background: rgba(7, 9, 12, 0.78);
    backdrop-filter: blur(14px);
  }
}

.card-sticky-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  color: var(--white);
  background: var(--blue);
  border: 1px solid var(--blue-hot);
  text-align: center;
}

.card-sticky-actions a + a {
  color: var(--white);
  background: #26313b;
  border-color: rgba(230, 238, 246, 0.34);
}

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

@media (min-width: 760px) {
  body {
    padding-bottom: 0;
  }

  .card-hero-grid,
  .card-services,
  .card-form-section,
  .card-advisor {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
    align-items: start;
  }

  .card-action-panel {
    align-self: end;
  }

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

  .card-form-wide {
    grid-column: 1 / -1;
  }

  .card-secondary-links {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .card-sticky-actions {
    display: none;
  }
}

@media (max-width: 440px) {
  .card-hero-top {
    align-items: flex-start;
  }

  .card-logo-mark {
    width: 50px;
    height: 50px;
  }

  .card-logo-mark span {
    width: 34px;
    height: 34px;
    font-size: 0.66rem;
  }

  .card-trust-line {
    max-width: 118px;
    font-size: 0.7rem;
  }
}
