  :root {
    --green-deep: #0F3D2E;
    --green-mid: #1B5E42;
    --green-pale: #E3F1E9;
    --gold: #F2BE22;
    --gold-deep: #C99A0E;
    --navy: #152463;
    --navy-mid: #1E2E86;
    --navy-pale: #E9ECF9;
    --ink: #142033;
    --ink-soft: #4B5768;
    --paper: #F6F8F7;
    --line: #DCE6E0;
    --white: #FFFFFF;
    --radius: 18px;
  }

  * {
    box-sizing: border-box;
  }

  html,
  body {
    margin: 0;
    padding: 0;
  }

  body {
    font-family: 'Inter', sans-serif;
    background: var(--paper);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }

  h1,
  h2,
  h3,
  .brand-font {
    font-family: 'Poppins', sans-serif;
  }

  header.site {
    background: #1A6B3F;
    padding: 14px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }

  header.site .logo-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
  }

  header.site .logo-wrap img {
    height: 50px;
    width: auto;
    display: block;
    transform: scale(3.0);
    transform-origin: left center;
    margin-right: 100px;
  }

  header.site .divider-mini {
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, .25);
  }

  header.site .crumbs {
    color: rgba(255, 255, 255, .78);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .2px;
  }

  header.site .crumbs b {
    color: #fff;
    font-weight: 600;
  }

  nav.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
  }

  nav.site-nav a {
    color: rgba(255, 255, 255, .85);
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 500;
  }

  nav.site-nav a:hover {
    color: #fff;
  }

  .btn-nav-cta {
    background: var(--navy);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600 !important;
    font-size: 13.5px !important;
    letter-spacing: .3px;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
  }

  .tricolor {
    height: 6px;
    background: linear-gradient(90deg, var(--green-mid) 0 33%, var(--navy) 33% 66%, var(--gold) 66% 100%);
  }

  .switcher-bar {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 14px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
  }

  .switcher-bar span.label {
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--ink-soft);
    font-weight: 700;
    margin-right: 6px;
  }

  .switcher-bar button {
    border: 1.5px solid var(--line);
    background: #fff;
    color: var(--ink-soft);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all .15s ease;
  }

  .switcher-bar button:hover {
    border-color: var(--navy-mid);
    color: var(--navy-mid);
  }

  .switcher-bar button.active {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
  }

  .switcher-bar .sep {
    width: 1px;
    height: 20px;
    background: var(--line);
    margin: 0 4px;
  }

  main {
    flex: 1 0 auto;
    background:
      radial-gradient(1100px 480px at 82% -8%, rgba(21, 36, 99, .06), transparent 60%),
      radial-gradient(900px 420px at -6% 108%, rgba(242, 190, 34, .10), transparent 55%),
      var(--paper);
    padding: 56px 24px 72px;
    display: flex;
    justify-content: center;
  }

  .stage {
    width: 100%;
    max-width: 980px;
  }

  .eyebrow-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
  }

  .eyebrow-row .tag {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--green-mid);
    background: var(--green-pale);
    border: 1px solid #cfe6d9;
    padding: 6px 14px;
    border-radius: 100px;
  }

  /* ============ HOME VIEW ============ */
  .view {
    display: none;
  }

  .view.visible {
    display: block;
    animation: fade .28s ease;
  }

  @keyframes fade {
    from {
      opacity: 0;
      transform: translateY(6px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .home-hero {
    text-align: center;
    margin-bottom: 40px;
  }

  .home-hero h1 {
    font-size: 34px;
    font-weight: 700;
    margin: 0 0 12px;
    letter-spacing: -.01em;
  }

  .home-hero p {
    color: var(--ink-soft);
    font-size: 15.5px;
    margin: 0;
    max-width: 480px;
    margin: 0 auto;
  }

  .option-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }

  .option-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px 30px 28px;
    box-shadow: 0 20px 50px -26px rgba(15, 61, 46, .28), 0 2px 10px rgba(15, 61, 46, .06);
    display: flex;
    flex-direction: column;
  }

  .option-card .num-badge {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--green-pale);
    color: var(--green-mid);
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 13.5px;
  }

  .option-card.secondary .num-badge {
    background: var(--navy-pale);
    color: var(--navy);
  }

  .option-card h3 {
    font-size: 19px;
    margin: 0 0 8px;
    font-weight: 700;
  }

  .option-card p {
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.55;
    margin: 0 0 24px;
    flex: 1;
  }

  .option-card .meta-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 18px;
    font-size: 11.5px;
    color: var(--ink-soft);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
  }

  .option-card .meta-row svg {
    width: 13px;
    height: 13px;
    opacity: .7;
  }

  .option-card.secondary .meta-row {
    color: var(--green-mid);
  }

  .btn-primary,
  .btn-secondary,
  .btn-outline-secondary,
  .btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all .15s ease;
    text-decoration: none;
  }

  .btn-primary {
    background: var(--navy);
    color: #fff;
    border: 1.5px solid var(--navy);
  }

  .btn-primary:hover {
    background: var(--navy-mid);
    border-color: var(--navy-mid);
  }

  .btn-secondary {
    background: #fff;
    color: var(--navy);
    border: 1.5px solid var(--navy);
  }

  .btn-secondary:hover {
    background: var(--navy-pale);
  }

  .btn-ghost {
    background: transparent;
    color: var(--ink-soft);
    border: 1.5px solid transparent;
    padding: 13px 6px;
  }

  .btn-ghost:hover {
    color: var(--navy);
  }

  .btn-primary svg,
  .btn-secondary svg {
    width: 15px;
    height: 15px;
  }

  .home-note {
    margin-top: 26px;
    text-align: center;
    font-size: 12.5px;
    color: #8792A0;
  }

  /* ============ LOGIN VIEW ============ */
  .login-wrap {
    display: flex;
    justify-content: center;
  }

  .login-card {
    width: 100%;
    max-width: 440px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 20px 50px -22px rgba(15, 61, 46, .28), 0 2px 10px rgba(15, 61, 46, .06);
    padding: 44px 40px 36px;
  }

  .login-card .login-badge {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--green-pale);
    border: 1px solid #cfe6d9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
  }

  .login-card .login-badge svg {
    width: 24px;
    height: 24px;
    color: var(--green-mid);
  }

  .login-card h1 {
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 8px;
    letter-spacing: -.01em;
  }

  .login-card p.lede {
    color: var(--ink-soft);
    font-size: 14.5px;
    line-height: 1.55;
    margin: 0 0 28px;
  }

  .field .input-pw {
    position: relative;
  }

  .field .input-pw input {
    padding-right: 46px;
  }

  .field .pw-toggle {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: none;
    background: transparent;
    color: #8792A0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
  }

  .field .pw-toggle:hover {
    color: var(--navy);
    background: var(--navy-pale);
  }

  .field .pw-toggle svg {
    width: 18px;
    height: 18px;
  }

  .field-row-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 420px;
    margin: -4px 0 22px;
  }

  .checkbox-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: var(--ink-soft);
  }

  .checkbox-row input {
    width: 15px;
    height: 15px;
    accent-color: var(--navy);
    cursor: pointer;
  }

  .link-inline {
    color: var(--navy);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
  }

  .link-inline:hover {
    text-decoration: underline;
  }

  .btn-block {
    width: 100%;
  }

  .forgot-link-row {
    text-align: center;
    margin-top: 16px;
  }

  .forgot-link-row button {
    color: var(--navy);
    font-size: 14px;
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    padding: 6px;
  }

  .forgot-link-row button:hover {
    text-decoration: underline;
  }

  .login-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 26px 0 20px;
  }

  .login-divider .line {
    flex: 1;
    height: 1px;
    background: var(--line);
  }

  .login-divider span {
    font-size: 12px;
    color: #8792A0;
    font-weight: 600;
  }

  .signup-note {
    text-align: center;
    font-size: 13.5px;
    color: var(--ink-soft);
  }

  .signup-note button {
    color: var(--navy);
    font-weight: 700;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    padding: 0;
    font-size: 13.5px;
  }

  .signup-note button:hover {
    text-decoration: underline;
  }

  /* ============ FLOW VIEW (rail + panel) ============ */
  .flow-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 0;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 20px 50px -22px rgba(15, 61, 46, .28), 0 2px 10px rgba(15, 61, 46, .06);
    overflow: hidden;
    border: 1px solid var(--line);
  }

  .rail {
    background: linear-gradient(180deg, var(--green-deep), var(--navy) 62%, #101c4f);
    padding: 36px 26px;
    position: relative;
  }

  .rail .rail-title {
    color: rgba(255, 255, 255, .55);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 700;
    margin-bottom: 24px;
  }

  .rail-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
  }

  .rail-steps li {
    position: relative;
    padding: 0 0 34px 34px;
    min-height: 1px;
  }

  .rail-steps li:last-child {
    padding-bottom: 0;
  }

  .rail-steps li .node {
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    border: 2px solid rgba(255, 255, 255, .35);
    color: rgba(255, 255, 255, .65);
    background: rgba(255, 255, 255, .06);
    z-index: 2;
  }

  .rail-steps li .connector {
    position: absolute;
    left: 11px;
    top: 24px;
    width: 2px;
    height: calc(100% - 24px);
    background: rgba(255, 255, 255, .2);
  }

  .rail-steps li:last-child .connector {
    display: none;
  }

  .rail-steps li .txt {
    padding-top: 2px;
  }

  .rail-steps li .txt .name {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    display: block;
    margin-bottom: 3px;
  }

  .rail-steps li .txt .desc {
    color: rgba(255, 255, 255, .55);
    font-size: 12px;
    line-height: 1.4;
    display: block;
  }

  .rail-steps li.done .node {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--green-deep);
  }

  .rail-steps li.done .connector {
    background: var(--gold);
  }

  .rail-steps li.active .node {
    background: #fff;
    border-color: #fff;
    color: var(--navy);
    box-shadow: 0 0 0 5px rgba(255, 255, 255, .14);
  }

  .rail-steps li.active .txt .name {
    color: #fff;
  }

  .rail-steps li.pending .txt .name {
    color: rgba(255, 255, 255, .55);
  }

  .panel {
    padding: 46px 52px;
  }

  .panel .step-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
  }

  .step-kicker .pill {
    background: var(--navy);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .06em;
    padding: 5px 11px;
    border-radius: 100px;
  }

  .step-kicker .pill.success {
    background: var(--green-mid);
  }

  .step-kicker .pill.light {
    background: var(--navy-pale);
    color: var(--navy);
  }

  .panel h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 10px;
    letter-spacing: -.01em;
  }

  .panel h1 .accent {
    position: relative;
    white-space: nowrap;
  }

  .panel h1 .accent::after {
    content: "";
    position: absolute;
    left: 2px;
    right: 2px;
    bottom: 2px;
    height: 9px;
    background: var(--gold);
    opacity: .55;
    z-index: -1;
    border-radius: 3px;
  }

  .panel p.lede {
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.55;
    margin: 0 0 30px;
    max-width: 440px;
  }

  .field {
    margin-bottom: 14px;
    max-width: 420px;
  }

  .field label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
  }

  .field input {
    width: 100%;
    padding: 13px 16px;
    border-radius: 10px;
    border: 1.5px solid var(--line);
    background: #fbfcfb;
    font-size: 15px;
    font-family: 'JetBrains Mono', monospace;
    color: var(--ink);
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
  }

  .field input::placeholder {
    color: #b7c0bb;
    font-family: 'Inter', sans-serif;
  }

  .field input:focus {
    border-color: var(--navy-mid);
    box-shadow: 0 0 0 4px rgba(21, 36, 99, .10);
    background: #fff;
  }

  .field .hint {
    display: block;
    margin-top: 7px;
    font-size: 12.5px;
    color: #8792A0;
  }

  .field .hint.info {
    color: var(--green-mid);
    background: var(--green-pale);
    border: 1px solid #cfe6d9;
    padding: 9px 12px;
    border-radius: 8px;
    margin-top: 10px;
    display: flex;
    gap: 7px;
    align-items: flex-start;
  }

  .field .hint.info svg {
    width: 14px;
    height: 14px;
    flex: none;
    margin-top: 1px;
  }

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

  .foot-note {
    margin-top: 26px;
    font-size: 12.5px;
    color: #8792A0;
    display: flex;
    align-items: center;
    gap: 7px;
  }

  .foot-note svg {
    width: 14px;
    height: 14px;
    flex: none;
    opacity: .7;
  }

  .success-badge {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--green-pale);
    border: 1.5px solid #cfe6d9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
  }

  .success-badge svg {
    width: 28px;
    height: 28px;
    color: var(--green-mid);
  }

  .check-list {
    list-style: none;
    margin: 0 0 30px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 420px;
  }

  .check-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--green-pale);
    border: 1px solid #cfe6d9;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--green-deep);
  }

  .check-list li .ok {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--green-mid);
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
  }

  .check-list li .ok svg {
    width: 14px;
    height: 14px;
  }

  .screen {
    display: none;
  }

  .screen.visible {
    display: block;
    animation: fade .28s ease;
  }

  @media (max-width:780px) {
    header.site {
      padding: 14px 20px;
      flex-wrap: wrap;
    }

    nav.site-nav {
      display: none;
    }

    .option-grid {
      grid-template-columns: 1fr;
    }

    .flow-layout {
      grid-template-columns: 1fr;
    }

    .rail {
      display: flex;
      padding: 22px 24px;
    }

    .rail .rail-title {
      display: none;
    }

    .rail-steps {
      display: flex;
      width: 100%;
      justify-content: space-between;
    }

    .rail-steps li {
      padding: 0;
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
    }

    .rail-steps li .connector {
      display: none;
    }

    .rail-steps li .txt {
      padding-top: 8px;
    }

    .rail-steps li .txt .desc {
      display: none;
    }

    .panel {
      padding: 34px 24px;
    }
  }

  .site-footer {
    background: var(--white);
    border-top: 1px solid var(--line);
    padding: 20px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    width: 100%;
  }

  .site-footer .brand-row {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .site-footer .divider-mini {
    width: 1px;
    height: 36px;
    background: var(--line);
  }

  .site-footer .brand-row img {
    height: 44px;
    width: auto;
    display: block;
    object-fit: contain;
  }

  .site-footer .entity {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
    display: block;
    line-height: 1.35;
  }

  .site-footer .service {
    font-size: 12px;
    color: var(--ink-soft);
    display: block;
    line-height: 1.35;
    margin-top: 2px;
  }