:root {
  --blue: #315aa8;
  --blue-dark: #203f7c;
  --blue-soft: #eef4ff;
  --green: #7cc242;
  --green-soft: #f1faeb;
  --ink: #172033;
  --muted: #64748b;
  --border: #dbe3ef;
  --surface: #ffffff;
  --bg: #f7f9fc;
  --shadow: 0 10px 30px rgba(23, 32, 51, 0.08);
  --radius: 16px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 18px;
  line-height: 1.6;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.portal-btn:focus-visible,
.social-link:focus-visible {
  outline: 4px solid rgba(49, 90, 168, 0.35);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 24px;
  top: 10px;
  z-index: 999;
  transform: translateY(-160%);
  border-radius: 10px;
  background: #fff;
  color: var(--blue-dark);
  padding: 10px 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--shadow);
}

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

.nav-inner,
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 132px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 330px;
  text-decoration: none;
}

.logo img {
  width: 130px;
  height: auto;
}

.logo-title {
  display: block;
  font-weight: 800;
  line-height: 1.1;
  color: var(--blue-dark);
  font-size: 26px;
}

.logo-subtitle {
  display: block;
  color: var(--muted);
  font-size: 18px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  font-size: 18px;
  font-weight: 650;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
}

.portal-btn,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  border-radius: 12px;
  padding: 0 16px 0 20px;
  border: 1px solid var(--blue-dark);
  background: linear-gradient(180deg, #3c69ba, var(--blue));
  color: #fff;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(255,255,255,.22) inset, 0 8px 16px rgba(49, 90, 168, 0.18);
  position: relative;
  overflow: hidden;
}

.portal-btn::after,
.btn::after {
  content: "→";
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-left: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-weight: 850;
}

.portal-btn:hover,
.btn:hover {
  background: linear-gradient(180deg, #345fae, var(--blue-dark));
  transform: translateY(-1px);
}

.portal-btn {
  min-height: 58px;
  min-width: 148px;
  padding: 0 16px 0 22px;
  font-size: 20px;
  line-height: 1;
  white-space: nowrap;
}

.btn.secondary {
  background: #fff;
  color: var(--blue);
  border-color: #c6d4ea;
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset;
}

.btn.secondary::after {
  background: var(--blue-soft);
  color: var(--blue);
}

.btn.secondary:hover {
  background: #f8fbff;
  border-color: var(--blue);
  transform: translateY(-1px);
}

.hero {
  background:
    linear-gradient(180deg, #fff, #f7f9fc);
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
  gap: 44px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 86px 24px;
}

.eyebrow {
  color: var(--blue);
  font-size: 15px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 12px 0 18px;
  font-size: clamp(46px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero p,
.lead {
  color: var(--muted);
  font-size: 22px;
  max-width: 680px;
}

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

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.hero-card h2 {
  margin: 0 0 12px;
  font-size: 28px;
}

.hero-card p {
  color: var(--muted);
  margin: 0;
}

.hero-card .prompt {
  color: var(--ink);
  font-size: 20px;
  font-weight: 750;
  line-height: 1.25;
  white-space: nowrap;
}

.hero-card .support {
  margin-top: 6px;
}

.quick-service-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.quick-service {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  color: var(--blue-dark);
  font-weight: 750;
  text-decoration: none;
}

.quick-service span {
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
}

section {
  padding: 72px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 42px;
}

.section-head h2,
.page-title h1 {
  margin: 0;
  font-size: clamp(38px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.grid-feature {
  grid-column: span 4;
  min-height: 250px;
}

.grid-compact {
  grid-column: span 3;
  min-height: 245px;
}

.card,
.feature-card,
.content-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 1px 2px rgba(23, 32, 51, 0.04);
}

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

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(49, 90, 168, 0.45);
  box-shadow: var(--shadow);
}

.icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 850;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.card p,
.content-card p,
.feature-card p {
  color: var(--muted);
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--blue);
  font-weight: 750;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step-num {
  display: none;
}

.page-hero {
  padding: 70px 0 44px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.page-title {
  max-width: 820px;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}

.content-stack {
  display: grid;
  gap: 18px;
}

.content-card h2,
.feature-card h3 {
  margin-top: 0;
}

.content-card-btn {
  margin-top: 20px;
}

.tool-card {
  border-left: 8px solid var(--blue);
}

.tool-card h3 {
  margin: 0 0 10px;
  color: var(--blue-dark);
  font-size: 28px;
  letter-spacing: -0.02em;
}

.fake-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 18px;
  color: var(--blue-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 18px;
  border: 1px solid #c6d4ea;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  padding: 6px 12px;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.tip-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.tip-list li {
  padding-left: 18px;
  position: relative;
  color: var(--muted);
}

.tip-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

.action-panel {
  position: sticky;
  top: 104px;
  background: var(--blue-dark);
  color: #fff;
  border-radius: 20px;
  padding: 24px;
}

.action-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.action-panel .btn {
  width: 100%;
  background: #fff;
  color: var(--blue-dark);
  box-shadow: none;
}

.action-panel .btn + .btn {
  margin-top: 12px;
}

.action-panel .btn::after {
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.link-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.link-list li {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}

.fee-table-wrap {
  overflow-x: auto;
  margin-top: 18px;
  border: 1px solid #b9c8de;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(23, 32, 51, 0.06);
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 17px;
}

.fee-table caption {
  padding: 18px 20px;
  color: #fff;
  font-weight: 850;
  text-align: left;
  background: var(--blue-dark);
  font-size: 20px;
  letter-spacing: -0.01em;
}

.fee-table th,
.fee-table td {
  padding: 16px 20px;
  border-top: 1px solid #d7e0ec;
  text-align: left;
  vertical-align: top;
}

.fee-table th {
  color: #1f3766;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #eef4ff;
  border-top: 0;
}

.fee-table tbody tr:nth-child(even) {
  background: #f8fbff;
}

.fee-table tbody tr:hover {
  background: #eef4ff;
}

.fee-table td:last-child,
.fee-table th:last-child {
  width: 150px;
  text-align: right;
  white-space: nowrap;
}

.fee-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.pill {
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 16px;
  font-weight: 700;
}

.footer {
  position: relative;
  overflow: hidden;
  background: var(--blue-dark);
  color: #fff;
  margin-top: 52px;
  padding: 44px 0;
}

.footer::before {
  display: none;
}

.footer-shell {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.35fr) minmax(190px, 0.85fr) minmax(170px, 0.8fr) minmax(220px, 0.9fr);
  column-gap: 40px;
  align-items: start;
}

.footer-column {
  min-width: 0;
}

.footer-brand {
  max-width: 360px;
}

.footer .footer-kicker {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.15;
  margin: 0 0 10px;
  text-transform: uppercase;
  white-space: nowrap;
}

.footer h2,
.footer h3 {
  color: #fff;
  line-height: 1.15;
  margin: 0;
}

.footer h2 {
  font-size: clamp(24px, 2.4vw, 30px);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.footer h3 {
  font-size: 17px;
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin-bottom: 18px;
}

.footer p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  line-height: 1.5;
  margin: 16px 0 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(2px);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
  line-height: 0;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.social-link:hover {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.social-link svg {
  display: block;
  flex: 0 0 22px;
  width: 22px !important;
  height: 22px !important;
  max-width: 22px;
  max-height: 22px;
  fill: #fff !important;
  color: #fff !important;
}

.social-link svg path {
  fill: #fff !important;
}

.footer-portal-link {
  margin-top: 18px;
  min-height: 44px;
  width: max-content;
  min-width: 178px;
  max-width: 100%;
  white-space: nowrap;
}

@media (max-width: 960px) {
  .hero-inner,
  .two-col {
    grid-template-columns: 1fr;
  }

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

  .grid-feature,
  .grid-compact {
    grid-column: auto;
  }

  .nav-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    min-height: auto;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .nav-links {
    flex-wrap: wrap;
    margin-left: 0;
  }

  .action-panel {
    position: static;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 17px;
  }

  .nav-inner,
  .wrap {
    padding-left: 18px;
    padding-right: 18px;
  }

  .nav {
    position: static;
  }

  .logo {
    gap: 12px;
    min-width: 0;
    width: 100%;
  }

  .logo img {
    width: 82px;
  }

  .logo-title {
    font-size: 22px;
  }

  .logo-subtitle {
    font-size: 15px;
    white-space: normal;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    font-size: 15px;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    white-space: normal;
  }

  .nav-links a.active {
    border-color: rgba(49, 90, 168, 0.35);
    background: var(--blue-soft);
    font-weight: 800;
  }

  .portal-btn {
    justify-content: space-between;
    width: 100%;
    min-height: 50px;
    font-size: 18px;
  }

  h1 {
    font-size: clamp(38px, 12vw, 48px);
    line-height: 1.02;
  }

  .hero-inner {
    gap: 28px;
    padding: 46px 18px;
  }

  .hero p,
  .lead {
    font-size: 19px;
  }

  .hero-actions {
    display: grid;
    gap: 10px;
  }

  .hero-actions .btn,
  .section-head .btn,
  .content-card .btn {
    justify-content: space-between;
    width: 100%;
  }

  .hero-card,
  .card,
  .feature-card,
  .content-card {
    padding: 22px;
  }

  .hero-card .prompt {
    white-space: normal;
  }

  .quick-service {
    align-items: flex-start;
    flex-direction: column;
    min-height: 44px;
  }

  section {
    padding: 46px 0;
  }

  .section-head {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 26px;
  }

  .section-head h2,
  .page-title h1 {
    font-size: clamp(32px, 10vw, 40px);
  }

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

  .card,
  .grid-feature,
  .grid-compact {
    min-height: auto;
  }

  .card-footer {
    align-items: center;
    min-height: 44px;
  }

  .page-hero {
    padding: 42px 0 32px;
  }

  .two-col {
    gap: 18px;
  }

  .content-stack {
    gap: 14px;
  }

  .action-panel {
    border-radius: 18px;
  }

  .fee-table {
    min-width: 520px;
    font-size: 15px;
  }

  .fee-table caption {
    font-size: 18px;
  }

  .fee-table th,
  .fee-table td {
    padding: 12px 14px;
  }

  .footer {
    margin-top: 46px;
    padding: 38px 0;
  }

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

  .footer-brand {
    max-width: none;
  }

  .footer .footer-kicker {
    white-space: normal;
  }

  .footer-links {
    gap: 4px;
  }

  .footer-links a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }

  .footer-portal-link {
    width: 100%;
    max-width: none;
  }

}
