  :root {
    --ink: #0c1c2c;
    --ink2: #18344a;
    --sea: #16756c;
    --mint: #dff4ef;
    --sky: #eef6f8;
    --cream: #f8f5ef;
    --white: #fff;
    --muted: #607080;
    --line: #d9e1e5;
    --gold: #c7984b;
    --radius: 22px;
    --shadow: 0 24px 70px rgba(12, 28, 44, 0.12);
  }
  * {
    box-sizing: border-box;
  }
  html {
    scroll-behavior: smooth;
  }
  body {
    margin: 0;
    color: var(--ink);
    font-family: 'DM Sans', sans-serif;
    background: #fff;
    line-height: 1.6;
  }
  a {
    color: inherit;
    text-decoration: none;
  }
  h1,
  h2,
  h3,
  p {
    margin-top: 0;
  }
  h1,
  h2,
  h3 {
    font-family: 'Manrope', sans-serif;
    letter-spacing: -0.035em;
    line-height: 1.08;
  }
  h1 {
    font-size: clamp(2.5rem, 5vw, 5rem);
    max-width: 900px;
    margin-bottom: 24px;
  }
  h2 {
    font-size: clamp(2rem, 4vw, 4rem);
    margin-bottom: 20px;
  }
  h3 {
    font-size: 1.35rem;
  }
  .topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px max(28px, calc((100vw - 1240px) / 2));
    background: rgba(255, 255, 255, 0.93);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(217, 225, 229, 0.8);
  }
  .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Manrope', sans-serif;
  }
  .brand span:last-child {
    display: grid;
    line-height: 1.05;
  }
  .brand strong {
    font-size: 1.06rem;
  }
  .brand small {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--sea);
    font-weight: 800;
    margin-top: 4px;
  }
  .logo-mark {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
  }
  .logo-mark svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: var(--sea);
    stroke-width: 4;
    stroke-linecap: round;
  }
  .logo-mark .ring {
    stroke: var(--ink);
    stroke-width: 2;
  }
  .nav {
    display: flex;
    align-items: center;
    gap: 26px;
    font-weight: 600;
    font-size: 0.92rem;
  }
  .nav a:hover {
    color: var(--sea);
  }
  .nav-cta {
    padding: 11px 17px;
    border: 1px solid var(--ink);
    border-radius: 999px;
  }
  .menu-btn {
    display: none;
  }
  .section {
    max-width: 1320px;
    margin: auto;
    padding: 105px 40px;
  }
  .compact {
    padding-top: 55px;
    padding-bottom: 70px;
  }
  .light {
    max-width: none;
    background: var(--cream);
    padding-left: max(40px, calc((100vw - 1240px) / 2));
    padding-right: max(40px, calc((100vw - 1240px) / 2));
  }
  .dark {
    max-width: none;
    background: var(--ink);
    color: #fff;
    padding-left: max(40px, calc((100vw - 1240px) / 2));
    padding-right: max(40px, calc((100vw - 1240px) / 2));
  }
  .hero {
    display: grid;
    grid-template-columns: 1.35fr 0.8fr;
    gap: 56px;
    align-items: center;
    padding-top: 90px;
  }
  .eyebrow {
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    color: var(--sea);
    margin-bottom: 18px;
  }
  .dark .eyebrow {
    color: #8ed8c9;
  }
  .lead {
    font-size: 1.22rem;
    max-width: 800px;
    color: var(--muted);
  }
  .hero-actions {
    display: flex;
    gap: 14px;
    margin: 32px 0;
  }
  .btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 15px 22px;
    border-radius: 999px;
    font-weight: 800;
    border: 1px solid transparent;
    cursor: pointer;
    font: inherit;
  }
  .primary {
    background: var(--sea);
    color: #fff;
  }
  .primary:hover {
    filter: brightness(0.92);
  }
  .ghost {
    border-color: var(--line);
    background: #fff;
  }
  .proof-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 36px;
  }
  .proof-strip span {
    font-size: 0.8rem;
    border: 1px solid var(--line);
    padding: 7px 11px;
    border-radius: 999px;
    color: var(--ink2);
  }
  .hero-card {
    background: linear-gradient(145deg, #10293d, #0b1b29);
    color: #fff;
    border-radius: 30px;
    padding: 34px;
    box-shadow: var(--shadow);
    min-height: 510px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .route {
    display: flex;
    align-items: center;
  }
  .route-step {
    display: grid;
    justify-items: center;
    gap: 8px;
    font-size: 0.68rem;
    color: #a9bac5;
  }
  .route-step b {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #4a6576;
    color: #fff;
  }
  .route-step.active b {
    background: var(--sea);
    border-color: var(--sea);
  }
  .route-line {
    height: 1px;
    background: #496273;
    flex: 1;
    margin-top: -22px;
  }
  .dashboard {
    background: #fff;
    color: var(--ink);
    border-radius: 21px;
    padding: 25px;
  }
  .kicker {
    font-weight: 800;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    color: var(--sea);
  }
  .dash-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.9rem;
  }
  .dash-row:last-child {
    border: 0;
  }
  .dash-row strong {
    color: var(--sea);
  }
  .trust > p {
    text-align: center;
    color: var(--muted);
    font-weight: 700;
  }
  .trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
  .trust-grid article {
    padding: 20px;
    border-top: 2px solid var(--ink);
  }
  .trust-grid strong {
    display: block;
    font-family: 'Manrope';
    margin-bottom: 6px;
  }
  .trust-grid span {
    font-size: 0.9rem;
    color: var(--muted);
  }
  .section-head {
    max-width: 930px;
    margin-bottom: 50px;
  }
  .section-head.narrow {
    max-width: 820px;
  }
  .section-head > p:last-child {
    color: var(--muted);
    font-size: 1.08rem;
  }
  .dark .section-head > p:last-child {
    color: #b9c7cf;
  }
  .cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  .service-card {
    background: #fff;
    border: 1px solid #e7e2d9;
    border-radius: var(--radius);
    padding: 30px;
    min-height: 280px;
  }
  .service-card > span {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--sea);
  }
  .service-card p {
    color: var(--muted);
  }
  .timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
  .phase {
    padding: 30px;
    border-left: 1px solid var(--line);
  }
  .phase:first-child {
    border-left: 3px solid var(--sea);
  }
  .phase b {
    color: var(--sea);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
  }
  .phase p {
    color: var(--muted);
  }
  .state-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  .state-card {
    border: 1px solid #385166;
    background: #10273a;
    border-radius: var(--radius);
    padding: 30px;
  }
  .state-card p {
    color: #c2d0d8;
  }
  .state-card a {
    color: #8ed8c9;
    font-weight: 800;
  }
  .state-tag {
    display: inline-block;
    border: 1px solid #456479;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    margin-bottom: 28px;
  }
  .calculator-wrap {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    background: #fff;
    border: 1px solid #e7e2d9;
    border-radius: 28px;
    overflow: hidden;
  }
  .calc-inputs {
    padding: 34px;
    display: grid;
    gap: 18px;
  }
  .calc-inputs label {
    font-weight: 700;
    font-size: 0.9rem;
    display: grid;
    gap: 8px;
  }
  .calc-inputs input {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid var(--line);
    font: inherit;
  }
  .money-input {
    display: flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding-left: 14px;
  }
  .money-input input {
    border: 0;
  }
  .calc-result {
    background: var(--ink);
    color: #fff;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .calc-result span {
    color: #b9c7cf;
  }
  .calc-result strong {
    font-family: 'Manrope';
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: #9fe2d5;
  }
  .calc-result small {
    color: #b9c7cf;
  }
  .scenario-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 16px;
  }
  .scenario-row article {
    background: #fff;
    border-radius: 18px;
    padding: 23px;
    border: 1px solid #e7e2d9;
  }
  .scenario-row b {
    font-family: 'Manrope';
  }
  .scenario-row p {
    margin: 8px 0 0;
    color: var(--muted);
  }
  .fineprint {
    font-size: 0.78rem;
    color: #7d858b;
    margin-top: 18px;
  }
  .inverse {
    color: #9fb1bd;
  }
  .split {
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 70px;
    align-items: center;
  }
  .checklist {
    padding: 0;
    list-style: none;
  }
  .checklist li {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }
  .checklist li:before {
    content: '✓';
    color: var(--sea);
    font-weight: 900;
    margin-right: 10px;
  }
  .visual-panel {
    background: var(--mint);
    border-radius: 30px;
    padding: 34px;
  }
  .vehicle-card {
    background: #fff;
    border-radius: 21px;
    padding: 28px;
    box-shadow: 0 15px 45px rgba(12, 28, 44, 0.1);
  }
  .vehicle-card > span {
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    color: var(--sea);
  }
  .vehicle-card div {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
  }
  .vehicle-card em {
    font-style: normal;
    color: var(--sea);
    font-weight: 800;
  }
  .funding-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .funding-grid div {
    display: flex;
    gap: 18px;
    align-items: center;
    background: #10273a;
    border: 1px solid #365064;
    border-radius: 16px;
    padding: 20px;
  }
  .funding-grid b {
    color: #8ed8c9;
  }
  .funding-grid span {
    font-weight: 700;
  }
  .qualify {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .qualify div {
    display: flex;
    gap: 15px;
    background: #fff;
    border: 1px solid #e7e2d9;
    border-radius: 16px;
    padding: 22px;
  }
  .qualify span {
    color: var(--sea);
    font-weight: 900;
  }
  .qualify p {
    margin: 0;
  }
  .apply {
    padding-top: 90px;
  }
  .apply-card {
    background: var(--sky);
    border-radius: 30px;
    padding: 46px;
    display: grid;
    grid-template-columns: 0.8fr 1fr;
    gap: 60px;
  }
  .apply form {
    background: #fff;
    border-radius: 20px;
    padding: 26px;
    display: grid;
    gap: 14px;
  }
  .apply label {
    display: grid;
    gap: 6px;
    font-weight: 700;
    font-size: 0.86rem;
  }
  .apply input,
  .apply select,
  .apply textarea {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font: inherit;
  }
  .two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .wide {
    width: 100%;
  }
  .form-note {
    font-size: 0.76rem;
    color: var(--muted);
    margin: 0;
    text-align: center;
  }
  footer {
    background: #07131e;
    color: #fff;
    padding: 65px max(40px, calc((100vw - 1240px) / 2)) 28px;
  }
  .footer-top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid #2c3d4c;
  }
  .footer-top > p {
    max-width: 520px;
    color: #9fb0bc;
    margin: 0;
  }
  .footer-brand .logo-mark .ring {
    stroke: #fff;
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 50px;
    padding: 34px 0;
  }
  .footer-grid b {
    display: block;
    margin-bottom: 12px;
  }
  .footer-grid a {
    display: block;
    color: #9fd9d0;
    margin: 5px 0;
    font-size: 0.86rem;
  }
  .footer-grid p {
    color: #9fb0bc;
    font-size: 0.82rem;
  }
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #2c3d4c;
    padding-top: 22px;
    color: #7f919e;
    font-size: 0.78rem;
  }
  @media (max-width: 980px) {
    .nav {
      display: none;
      position: absolute;
      top: 76px;
      left: 16px;
      right: 16px;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 18px;
      padding: 18px;
      box-shadow: var(--shadow);
      flex-direction: column;
      align-items: stretch;
    }
    .nav.open {
      display: flex;
    }
    .menu-btn {
      display: block;
      border: 1px solid var(--line);
      background: #fff;
      border-radius: 999px;
      padding: 9px 13px;
    }
    .hero,
    .split,
    .apply-card {
      grid-template-columns: 1fr;
    }
    .hero-card {
      min-height: 430px;
    }
    .cards {
      grid-template-columns: repeat(2, 1fr);
    }
    .timeline {
      grid-template-columns: repeat(2, 1fr);
    }
    .state-grid,
    .scenario-row {
      grid-template-columns: 1fr;
    }
    .trust-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .calculator-wrap {
      grid-template-columns: 1fr;
    }
    .funding-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  @media (max-width: 640px) {
    .section,
    .light,
    .dark {
      padding: 72px 22px;
    }
    .topbar {
      padding: 14px 18px;
    }
    .hero {
      padding-top: 55px;
    }
    .hero-actions {
      flex-direction: column;
    }
    .btn {
      width: 100%;
    }
    .cards,
    .timeline,
    .trust-grid,
    .qualify,
    .funding-grid,
    .two {
      grid-template-columns: 1fr;
    }
    .service-card {
      min-height: unset;
    }
    .route-step span {
      display: none;
    }
    .apply-card {
      padding: 22px;
      gap: 25px;
    }
    .footer-top,
    .footer-bottom {
      display: grid;
      gap: 15px;
    }
    .footer-grid {
      grid-template-columns: 1fr;
    }
    .scenario-row {
      grid-template-columns: 1fr;
    }
    .hero-card {
      padding: 24px;
    }
  }

  /* ==========================================================================
   Dynamic site additions — same palette, type and radii as above
   ========================================================================== */
  :root {
    --error: #b3261e;
    --sea-soft: #8ed8c9;
  }
  [hidden] {
    display: none !important;
  }
  :focus-visible {
    outline: 2px solid var(--sea);
    outline-offset: 3px;
  }
  .dark :focus-visible,
  footer :focus-visible,
  .hero-card :focus-visible {
    outline-color: var(--sea-soft);
  }
  .skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 100;
    background: var(--ink);
    color: #fff;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 700;
  }
  .skip-link:focus {
    top: 12px;
  }
  .noscript {
    padding: 20px 40px;
    text-align: center;
    color: var(--muted);
  }
  .hp {
    position: absolute !important;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
  }

  /* Header */
  .topbar {
    min-height: 77px;
    transition: box-shadow 0.25s ease;
  }
  .topbar.scrolled {
    box-shadow: 0 10px 30px rgba(12, 28, 44, 0.08);
  }
  .nav a.is-active,
  .nav a[aria-current='page'] {
    color: var(--sea);
  }
  .nav-cta {
    transition:
      background 0.2s,
      color 0.2s;
  }
  .nav .nav-cta:hover {
    background: var(--ink);
    color: #fff;
  }

  /* Hero load sequence */
  .route-step b {
    transition:
      background 0.35s ease,
      border-color 0.35s ease;
  }
  .route-line {
    transition: background 0.35s ease;
  }
  .route-line.done {
    background: var(--sea);
  }
  .dash-row strong {
    transition: color 0.3s ease;
  }
  .dash-row strong.pending {
    color: #9aa7b0;
    font-weight: 600;
  }
  .flip {
    animation: ct-flip 0.45s ease both;
  }
  @keyframes ct-flip {
    from {
      opacity: 0;
      transform: translateY(6px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }

  /* Service cards: expandable details */
  .service-card {
    display: flex;
    flex-direction: column;
  }
  .card-toggle {
    margin-top: auto;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 0;
    padding: 6px 0 0;
    font: inherit;
    font-weight: 800;
    font-size: 0.88rem;
    color: var(--sea);
    cursor: pointer;
  }
  .card-toggle::after {
    content: '';
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-3px);
    transition: transform 0.25s ease;
  }
  .card-toggle[aria-expanded='true']::after {
    transform: rotate(225deg) translate(-2px, -1px);
  }
  .card-includes {
    list-style: none;
    padding: 14px 0 0;
    margin: 14px 0 0;
    border-top: 1px solid var(--line);
    animation: ct-flip 0.3s ease both;
  }
  .card-includes li {
    padding: 5px 0;
    font-size: 0.92rem;
  }
  .card-includes li::before {
    content: '✓';
    color: var(--sea);
    font-weight: 900;
    margin-right: 10px;
  }
  .service-card.is-open {
    border-color: var(--sea);
  }

  /* Process: selectable phases */
  .timeline .phase {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: none;
    border: 0;
    border-left: 1px solid var(--line);
    padding: 30px;
    text-align: left;
    font: inherit;
    color: inherit;
    cursor: pointer;
    transition:
      background 0.25s ease,
      box-shadow 0.25s ease;
  }
  .timeline .phase:first-child {
    border-left: 1px solid var(--line);
  }
  .timeline .phase:hover h3 {
    color: var(--sea);
  }
  .timeline .phase.active {
    border-left-color: var(--sea);
    box-shadow: inset 2px 0 0 var(--sea);
    background: linear-gradient(90deg, var(--sky), rgba(238, 246, 248, 0));
  }
  .phase-outcome {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 18px;
    background: var(--mint);
    border-radius: 16px;
    padding: 18px 26px;
  }
  .phase-outcome b {
    color: var(--sea);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
  }
  .phase-outcome span {
    font-weight: 600;
  }

  /* States: lookup */
  .state-check {
    background: #10273a;
    border: 1px solid #385166;
    border-radius: var(--radius);
    padding: 22px 26px;
    margin-bottom: 18px;
  }
  .state-check label {
    display: block;
    font-weight: 800;
    font-family: 'Manrope', sans-serif;
    margin-bottom: 10px;
  }
  .state-check-row {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 22px;
    align-items: center;
  }
  .state-check select {
    width: 100%;
    padding: 13px 14px;
    border-radius: 12px;
    border: 1px solid #456479;
    background: var(--ink);
    color: #fff;
    font: inherit;
  }
  #state-result {
    margin: 0;
    color: #c2d0d8;
  }
  #state-result strong {
    color: #fff;
  }
  #state-result a {
    color: var(--sea-soft);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .state-card {
    transition:
      border-color 0.25s ease,
      box-shadow 0.25s ease;
  }
  .state-card.is-match {
    border-color: var(--sea-soft);
    box-shadow: 0 0 0 1px var(--sea-soft);
  }

  /* Calculator sliders + scenario loading */
  .calc-inputs .range {
    -webkit-appearance: none;
    appearance: none;
    padding: 0;
    border: 0;
    height: 6px;
    border-radius: 999px;
    margin: 4px 0 2px;
    cursor: pointer;
    background: linear-gradient(90deg, var(--sea) var(--fill, 50%), var(--line) var(--fill, 50%));
  }
  .range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--sea);
    box-shadow: 0 2px 8px rgba(12, 28, 44, 0.18);
  }
  .range::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--sea);
  }
  .range::-moz-range-track {
    background: transparent;
  }
  .calc-result strong {
    font-variant-numeric: tabular-nums;
  }
  .scenario-row article {
    display: flex;
    flex-direction: column;
    transition:
      border-color 0.25s ease,
      box-shadow 0.25s ease;
  }
  .scenario-load,
  .copy-btn {
    margin-top: auto;
    align-self: flex-start;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 14px;
    font: inherit;
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--ink);
    cursor: pointer;
    transition:
      border-color 0.2s,
      color 0.2s,
      background 0.2s;
  }
  .scenario-load {
    margin-top: 16px;
  }
  .scenario-load:hover,
  .copy-btn:hover {
    border-color: var(--sea);
    color: var(--sea);
  }
  .scenario-row article.is-active {
    border-color: var(--sea);
    box-shadow: 0 0 0 1px var(--sea);
  }
  .scenario-row article.is-active .scenario-load,
  .copy-btn.done {
    background: var(--sea);
    border-color: var(--sea);
    color: #fff;
  }

  /* Forms (shared) */
  .apply select {
    background-color: #fff;
  }
  .chip span {
    white-space: nowrap;
  }
  .apply-alt {
    color: var(--muted);
    font-size: 0.95rem;
  }
  .apply-alt a {
    color: var(--sea);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .apply input[aria-invalid='true'],
  .apply select[aria-invalid='true'],
  .apply textarea[aria-invalid='true'] {
    border-color: var(--error);
    background: #fff8f7;
  }
  .field-error {
    color: var(--error);
    font-size: 0.78rem;
    font-weight: 600;
  }
  .form-note[data-tone='error'] {
    color: var(--error);
    font-weight: 700;
  }
  .apply button[disabled] {
    opacity: 0.7;
    cursor: progress;
  }
  .form-success {
    background: #fff;
    border-radius: 20px;
    padding: 34px 28px;
    display: grid;
    gap: 8px;
    justify-items: start;
    align-content: center;
    animation: ct-flip 0.4s ease both;
  }
  .form-success:focus {
    outline: none;
  }
  .form-success h3 {
    margin: 6px 0 0;
    font-size: 1.6rem;
  }
  .form-success p {
    margin: 0;
    color: var(--muted);
  }
  .form-success .form-note {
    text-align: left;
  }
  .form-success .btn {
    margin-top: 14px;
  }
  .success-mark {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--mint);
    color: var(--sea);
    font-weight: 900;
    font-size: 1.3rem;
  }
  .draft-note {
    margin: 0;
    background: var(--mint);
    border-radius: 10px;
    padding: 10px 13px;
    font-size: 0.84rem;
  }
  .draft-note button {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    font-weight: 800;
    color: var(--sea);
    text-decoration: underline;
    cursor: pointer;
    margin-left: 4px;
  }

  /* ------------------------------------------------------------- Contact page */
  .page-title {
    font-size: clamp(2.8rem, 6vw, 5.4rem);
  }
  .contact-hero {
    padding-bottom: 80px;
  }
  .hero-card.contact-card {
    min-height: 0;
    gap: 28px;
  }
  .light-kicker {
    color: var(--sea-soft);
    margin-bottom: 14px;
  }
  .status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 15px;
    border-radius: 999px;
    border: 1px solid #456479;
    font-weight: 700;
    font-size: 0.95rem;
  }
  .status-badge i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--gold);
    flex: none;
  }
  .status-badge.is-open i {
    background: #3fc4ab;
    box-shadow: 0 0 0 0 rgba(63, 196, 171, 0.6);
    animation: ct-pulse 2.2s ease-out infinite;
  }
  @keyframes ct-pulse {
    to {
      box-shadow: 0 0 0 10px rgba(63, 196, 171, 0);
    }
  }
  .status-sub {
    color: #a9bac5;
    font-size: 0.9rem;
    margin: 14px 0 0;
  }
  .dash-row.is-today span {
    font-weight: 700;
  }
  .dash-row.is-today span::after {
    content: 'Today';
    margin-left: 8px;
    font-size: 0.66rem;
    background: var(--mint);
    color: var(--sea);
    padding: 2px 8px;
    border-radius: 999px;
    font-weight: 800;
    vertical-align: 1px;
  }
  .dash-row.is-closed strong {
    color: var(--muted);
  }
  .dash-row.tz-row span,
  .dash-row.tz-row strong {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 600;
  }

  .compact-light {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .method-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
  .method {
    background: #fff;
    border: 1px solid #e7e2d9;
    border-radius: 18px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .method b {
    font-size: 0.85rem;
    color: var(--muted);
    font-weight: 600;
  }
  .method-value {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    letter-spacing: -0.02em;
    overflow-wrap: anywhere;
  }
  a.method-value:hover {
    color: var(--sea);
  }
  .method-note {
    color: var(--muted);
    font-size: 0.9rem;
    margin-top: auto;
    padding-top: 10px;
  }
  .copy-btn {
    margin-top: 14px;
  }

  .next-steps {
    list-style: none;
    padding: 0;
    margin: 34px 0 0;
    counter-reset: step;
  }
  .next-steps li {
    counter-increment: step;
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 14px;
    padding: 16px 0;
    border-top: 1px solid rgba(12, 28, 44, 0.1);
  }
  .next-steps li::before {
    content: counter(step, decimal-leading-zero);
    grid-row: span 2;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid var(--sea);
    color: var(--sea);
    font-weight: 800;
    font-size: 0.78rem;
  }
  .next-steps b {
    font-family: 'Manrope', sans-serif;
  }
  .next-steps span {
    color: var(--muted);
    font-size: 0.95rem;
  }

  .contact-form fieldset {
    border: 0;
    padding: 0;
    margin: 0;
    min-width: 0;
  }
  .contact-form legend {
    font-weight: 700;
    font-size: 0.86rem;
    margin-bottom: 8px;
    padding: 0;
  }
  .apply input[type='radio'],
  .apply input[type='checkbox'] {
    width: auto;
    padding: 0;
    accent-color: var(--sea);
  }
  .chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .apply label.chip {
    display: inline-block;
    position: relative;
  }
  .chip input {
    position: absolute;
    opacity: 0;
    inset: 0;
    margin: 0;
    cursor: pointer;
  }
  .chip span {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.84rem;
    transition:
      background 0.2s,
      color 0.2s,
      border-color 0.2s;
  }
  .chip input:hover + span {
    border-color: var(--sea);
  }
  .chip input:checked + span {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
  }
  .chip input:focus-visible + span {
    outline: 2px solid var(--sea);
    outline-offset: 2px;
  }
  .radios {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
  }
  .apply label.radio {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
  }
  .opt {
    color: var(--muted);
    font-weight: 500;
    font-size: 0.76rem;
    margin-left: 4px;
  }
  .counter {
    justify-self: end;
    font-size: 0.74rem;
    color: var(--muted);
    font-weight: 500;
  }
  .apply label.check {
    grid-template-columns: 18px 1fr;
    column-gap: 10px;
    align-items: start;
    font-weight: 500;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.45;
    cursor: pointer;
  }
  .check input {
    margin-top: 3px;
  }
  .check .field-error {
    grid-column: 2;
  }

  .faq-list {
    display: grid;
    gap: 12px;
    max-width: 940px;
  }
  .faq-item {
    border: 1px solid #385166;
    background: #10273a;
    border-radius: 18px;
    transition: border-color 0.25s ease;
  }
  .faq-item.is-open {
    border-color: var(--sea-soft);
  }
  .faq-item h3 {
    margin: 0;
    font-size: inherit;
  }
  .faq-q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: none;
    border: 0;
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 1.08rem;
    letter-spacing: -0.02em;
    text-align: left;
    padding: 22px 26px;
    cursor: pointer;
  }
  .faq-q i {
    position: relative;
    width: 14px;
    height: 14px;
    flex: none;
  }
  .faq-q i::before,
  .faq-q i::after {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 14px;
    height: 2px;
    background: var(--sea-soft);
    transition: transform 0.25s ease;
  }
  .faq-q i::after {
    transform: rotate(90deg);
  }
  .faq-q[aria-expanded='true'] i::after {
    transform: rotate(0);
  }
  .faq-a {
    padding: 0 26px 22px;
    animation: ct-flip 0.3s ease both;
  }
  .faq-a p {
    margin: 0;
    color: #c2d0d8;
    max-width: 70ch;
  }

  /* Footer: three columns */
  .footer-grid.footer-grid-3 {
    grid-template-columns: 0.75fr 1fr 1.3fr;
  }

  @media (max-width: 980px) {
    .state-check-row {
      grid-template-columns: 1fr;
      gap: 12px;
    }
    .method-grid {
      grid-template-columns: 1fr;
    }
    .footer-grid.footer-grid-3 {
      grid-template-columns: 1fr 1fr;
    }
    .footer-grid.footer-grid-3 > div:last-child {
      grid-column: 1/-1;
    }
    .timeline .phase:nth-child(odd) {
      border-left-color: var(--line);
    }
    .timeline .phase.active {
      border-left-color: var(--sea);
    }
  }
  @media (max-width: 640px) {
    .footer-grid.footer-grid-3 {
      grid-template-columns: 1fr;
    }
    .phase-outcome {
      padding: 16px 18px;
    }
    .faq-q {
      padding: 18px 20px;
    }
    .faq-a {
      padding: 0 20px 18px;
    }
    .scenario-load,
    .copy-btn {
      width: auto;
    }
    .hero.contact-hero {
      padding-bottom: 55px;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
      animation: none !important;
      transition: none !important;
    }
  }

  /* Brand logo image */
  .brand {
    flex: none;
  }
  .brand-logo {
    display: block;
    height: 50px;
    width: auto;
  }
  .footer-brand {
    background: #fff;
    border-radius: 16px;
    padding: 12px 18px;
  }
  .footer-brand .brand-logo {
    height: 56px;
  }
  address.method-value {
    font-style: normal;
  }
  .method .copy-btn {
    text-decoration: none;
  }
  .method-note {
    padding-top: 6px;
  }
  @media (max-width: 980px) {
    .nav {
      top: calc(100% + 8px);
    }
  }
  @media (max-width: 640px) {
    .brand-logo {
      height: 40px;
    }
    .footer-brand {
      justify-self: start;
    }
  }