:root {
  --ink: #09111f;
  --muted: #627083;
  --subtle: #eef3f8;
  --surface: #ffffff;
  --surface-soft: #f8fbfd;
  --line: #dbe4ee;
  --line-strong: #b8c7d8;
  --brand: #1167ff;
  --brand-dark: #0b46b8;
  --mint: #00a884;
  --amber: #f2aa3b;
  --danger: #d85143;
  --navy: #07111f;
  --shadow: 0 24px 80px rgba(22, 36, 58, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 20;
  display: flex;
  width: min(1120px, calc(100% - 32px));
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 10px 8px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(184, 199, 216, 0.64);
  border-radius: 8px;
  box-shadow: 0 18px 55px rgba(12, 25, 43, 0.12);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 760;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border-radius: 7px;
  font-size: 12px;
  font-weight: 860;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 680;
}

.nav-links a {
  padding: 9px 11px;
  border-radius: 7px;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
  background: var(--subtle);
}

.nav-links .nav-cta {
  color: #fff;
  background: var(--ink);
}

.nav-links .nav-cta:hover {
  color: #fff;
  background: #18283d;
}

.hero {
  position: relative;
  min-height: 86svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--ink);
  background:
    linear-gradient(rgba(184, 199, 216, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 199, 216, 0.28) 1px, transparent 1px),
    linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
  background-size:
    112px 112px,
    112px 112px,
    auto;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -12% -32% 38%;
  height: 70%;
  background:
    linear-gradient(135deg, rgba(17, 103, 255, 0.1), rgba(0, 168, 132, 0.08)),
    #ffffff;
  border: 1px solid rgba(184, 199, 216, 0.42);
  transform: rotate(-4deg);
  transform-origin: center;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.72fr);
  gap: clamp(36px, 6vw, 76px);
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 112px 0 46px;
}

.hero-content {
  max-width: 690px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(44px, 5.1vw, 70px);
  line-height: 1.01;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 625px;
  margin: 22px 0 0;
  color: #334155;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.3;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  font: inherit;
  font-weight: 780;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 14px 34px rgba(17, 103, 255, 0.26);
}

.button.primary:hover {
  background: var(--brand-dark);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line-strong);
}

.button.secondary:hover {
  background: #fff;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-proof span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 7px 11px;
  color: #253247;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 13px;
  font-weight: 740;
  box-shadow: 0 10px 30px rgba(22, 36, 58, 0.06);
}

.hero-brief {
  align-self: center;
  display: grid;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(184, 199, 216, 0.72);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(22, 36, 58, 0.14);
  backdrop-filter: blur(18px);
}

.brief-header {
  display: grid;
  gap: 6px;
  padding-bottom: 2px;
}

.brief-header span {
  color: var(--brand);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

.brief-header strong {
  color: var(--ink);
  font-size: 24px;
  line-height: 1.12;
}

.brief-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.brief-metrics div {
  min-height: 88px;
  padding: 14px;
  background: #f7fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.brief-metric-primary {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.brief-metric-wide {
  grid-column: 1 / -1;
  display: grid;
  min-height: 72px;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.brief-metrics span {
  display: block;
  color: var(--ink);
  font-size: clamp(30px, 3vw, 38px);
  font-weight: 860;
  line-height: 1;
}

.brief-metrics p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
  line-height: 1.28;
}

.brief-metric-wide p {
  margin: 0;
}

.claim-packet {
  position: relative;
  display: grid;
  min-height: 132px;
  align-items: end;
  padding: 16px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(17, 103, 255, 0.08), rgba(0, 168, 132, 0.08)),
    #f7fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.claim-packet::before,
.claim-packet::after {
  content: "";
  position: absolute;
  inset: 18px 18px auto auto;
  width: 138px;
  height: 86px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(184, 199, 216, 0.72);
  border-radius: 7px;
  transform: rotate(3deg);
}

.claim-packet::after {
  inset: 30px 48px auto auto;
  opacity: 0.66;
  transform: rotate(-4deg);
}

.packet-sheet {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(248px, 72%);
  gap: 8px;
  padding: 15px;
  background: #ffffff;
  border: 1px solid rgba(184, 199, 216, 0.86);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(22, 36, 58, 0.12);
}

.packet-title {
  color: var(--ink);
  font-size: 13px;
  font-weight: 840;
}

.packet-line {
  display: block;
  width: 62%;
  height: 6px;
  background: #d7e1ec;
  border-radius: 999px;
}

.packet-line.long {
  width: 86%;
}

.packet-line.medium {
  width: 72%;
}

.packet-checks {
  display: grid;
  gap: 5px;
  margin-top: 3px;
}

.packet-checks span {
  position: relative;
  display: block;
  padding-left: 18px;
  color: #41506a;
  font-size: 11px;
  font-weight: 720;
}

.packet-checks span::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--mint);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(0, 168, 132, 0.1);
}

.packet-status {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  color: #006f59;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 168, 132, 0.24);
  border-radius: 7px;
  font-size: 12px;
  font-weight: 820;
  box-shadow: 0 12px 30px rgba(22, 36, 58, 0.1);
}

.packet-status span {
  width: 8px;
  height: 8px;
  background: var(--mint);
  border-radius: 50%;
}

.trust-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 18px;
  padding: 18px max(18px, calc((100vw - 1120px) / 2));
  color: #41506a;
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip p {
  margin: 0;
  font-size: 14px;
  font-weight: 620;
}

.trust-strip p:last-child {
  color: #006f59;
}

.section {
  padding: clamp(62px, 8vw, 108px) max(18px, calc((100vw - 1120px) / 2));
}

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

.section-heading.align-left {
  max-width: 760px;
  margin: 0 0 30px;
  text-align: left;
}

.section-heading h2,
.terms-section h2,
.intake-copy h2 {
  margin: 0;
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-heading p,
.terms-section p,
.intake-copy p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.signal-section,
.faq-section {
  background: var(--surface);
}

.signal-grid,
.process-grid,
.faq-grid {
  display: grid;
  gap: 14px;
}

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

.signal-card,
.process-grid article,
.faq-grid article,
.evidence-box,
.intake-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 55px rgba(29, 45, 68, 0.07);
}

.signal-card {
  display: flex;
  min-height: 264px;
  flex-direction: column;
  padding: 22px;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.signal-card:hover {
  border-color: rgba(17, 103, 255, 0.36);
  box-shadow: 0 24px 70px rgba(29, 45, 68, 0.12);
  transform: translateY(-2px);
}

.signal-card span {
  margin-bottom: 18px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
}

.signal-card strong {
  color: var(--ink);
  font-size: 23px;
  line-height: 1.12;
}

.signal-card p,
.process-grid p,
.faq-grid p {
  color: var(--muted);
}

.signal-card p {
  margin: auto 0 0;
}

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

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

.process-grid article {
  min-height: 230px;
  padding: 22px;
}

.process-grid span {
  display: inline-flex;
  width: 36px;
  height: 28px;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  background: #e9f1ff;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 840;
}

.process-grid h3,
.faq-grid h3 {
  margin: 24px 0 0;
  font-size: 21px;
  line-height: 1.16;
}

.process-grid p,
.faq-grid p {
  margin: 10px 0 0;
}

.terms-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
  color: #fff;
  background: var(--navy);
}

.terms-section .eyebrow {
  color: #77f0d0;
}

.terms-section p {
  color: #b8c7d8;
}

.terms-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: rgba(184, 199, 216, 0.22);
  border: 1px solid rgba(184, 199, 216, 0.22);
  border-radius: 8px;
}

.terms-panel div {
  min-height: 152px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.06);
}

.terms-panel span {
  display: block;
  color: #fff;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 860;
  line-height: 1;
}

.terms-panel p {
  margin: 18px 0 0;
  color: #b8c7d8;
  font-weight: 720;
}

.intake-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.84fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 78px);
}

.evidence-box {
  margin-top: 26px;
  padding: 20px;
}

.evidence-box strong {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 15px;
}

.evidence-box ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.intake-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  padding: clamp(18px, 3vw, 26px);
  box-shadow: var(--shadow);
}

.intake-form label {
  display: grid;
  gap: 7px;
  color: #475569;
  font-size: 13px;
  font-weight: 780;
}

.intake-form input,
.intake-form select,
.intake-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cfdbe8;
  border-radius: 7px;
  font: inherit;
}

.intake-form input:focus,
.intake-form select:focus,
.intake-form textarea:focus {
  outline: 4px solid rgba(17, 103, 255, 0.13);
  border-color: var(--brand);
}

.intake-form textarea {
  resize: vertical;
}

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

.checkbox-label {
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
}

.checkbox-label input {
  width: 18px;
  height: 18px;
  min-height: auto;
  padding: 0;
  margin-top: 3px;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 22px;
  margin: 0;
  color: var(--mint);
  font-weight: 760;
}

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

.faq-grid article {
  padding: 22px;
}

.faq-grid h3 {
  margin-top: 0;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px max(18px, calc((100vw - 1120px) / 2));
  color: #b8c7d8;
  background: var(--navy);
  border-top: 1px solid rgba(184, 199, 216, 0.16);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #fff;
  font-weight: 760;
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero {
    min-height: auto;
  }

  .hero::after {
    inset: auto -28% -20% 24%;
    height: 42%;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    width: min(100% - 32px, 680px);
    margin: 0 auto;
    padding-top: 128px;
    padding-bottom: 52px;
  }

  .hero-content,
  .hero h1,
  .hero-copy {
    max-width: none;
  }

  .trust-strip,
  .signal-grid,
  .process-grid,
  .terms-section,
  .intake-section,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .process-grid article {
    min-height: auto;
  }

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

@media (max-width: 640px) {
  .site-header {
    display: grid;
    width: calc(100% - 24px);
    gap: 10px;
  }

  .brand {
    font-size: 14px;
  }

  .nav-links {
    justify-content: flex-start;
    font-size: 13px;
  }

  .nav-links a {
    padding: 7px 8px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    gap: 28px;
    padding: 126px 0 28px;
  }

  .hero h1 {
    font-size: clamp(36px, 10.4vw, 42px);
    line-height: 1.04;
  }

  .hero-copy {
    margin-top: 18px;
    font-size: 18px;
    line-height: 1.34;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .button {
    min-height: 50px;
  }

  .hero-proof {
    gap: 6px;
    margin-top: 18px;
  }

  .hero-proof span {
    min-height: 30px;
    padding: 6px 8px;
    font-size: 12px;
  }

  .hero-brief {
    display: grid;
    gap: 10px;
    padding: 12px;
  }

  .brief-header {
    display: grid;
    gap: 4px;
  }

  .brief-header strong {
    font-size: 18px;
  }

  .brief-metrics {
    display: grid;
    gap: 8px;
  }

  .brief-metrics div {
    min-height: 74px;
    padding: 11px;
  }

  .brief-metrics span {
    font-size: 29px;
  }

  .brief-metrics p {
    margin-top: 7px;
    font-size: 12px;
  }

  .brief-metric-wide {
    min-height: 56px;
    gap: 11px;
  }

  .brief-metric-wide p {
    margin: 0;
  }

  .claim-packet {
    display: none;
  }

  .terms-panel,
  .intake-form {
    grid-template-columns: 1fr;
  }

  .terms-panel div {
    min-height: 120px;
  }
}
