:root {
  --navy: #124686;
  --navy-deep: #0e3a73;
  --ink: #12213c;
  --body: #4a5568;
  --muted: #5a6b85;
  --line: #e3e8f0;
  --line-soft: #eef1f6;
  --soft: #f5f8fc;
  --paper: #ffffff;
  --orange: #fd6321;
  --orange-hover: #ff7638;
  --orange-text: #b8460f;
  --on-orange: #ffffff;
  --violet: #6a4fd0;
  --violet-soft: #f5f3fe;
  --violet-line: #e3ddf8;
  --night: #0f1e38;
  --on-navy: #d9e4f3;
  --on-navy-2: #afc3df;
  --accent-on-navy: #ff8a55;
  --wrap: 1216px;
  --gutter: clamp(20px, 4vw, 32px);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 18px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);

  --blue: #1758a8;
  --blue-dark: #124686;
  --blue-light: #1c6aca;
  --white: #ffffff;
  --black: #000000;
  --text: #4a5568;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ink-rgb: 18, 33, 60;
  --blue-dark-rgb: 18, 70, 134;
  --blue-rgb: 23, 88, 168;
  --blue-light-rgb: 28, 106, 202;
  --orange-rgb: 253, 99, 33;
  --white-rgb: 255, 255, 255;
  --black-rgb: 0, 0, 0;
  --container: var(--wrap);
  --r-panel: 20px;
  --r-card: 14px;
  --r-ctl: 10px;
  --orange-2: #f06b21;
  --orange-deep: #c4501a;
  --orange-soft: #ffa774;
  --orange-pale: #ffd0b3;
  --orange-tint: #fdede4;
  --gray-blue: #96a7ba;
  --blue-mist: #c7d5ee;
  --line-2: #e5e7eb;
  --line-3: #e9edf2;
  --bg-2: #f5f8fc;
  --bg-3: #f9fafb;
  --bg-4: #edf1f7;
  --modal-title: #1a1a1a;
  --modal-muted: #999999;
  --modal-sub: #666666;
  --modal-border: #e5e5e5;
  --modal-focus: #1086be;
  --modal-focus-bg: #f8fcff;
  --modal-line: #eef0f3;
  --logo-w: 172px;
  --logo-w-sm: 150px;
  --logo-w-foot: 180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: #fff;
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
}

.skip:focus {
  top: 12px;
}

.ph {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 8px;
  border: 1px dashed #e59466;
  border-radius: 6px;
  background: #fff4ee;
  color: var(--orange-text);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.45;
}

.on-dark .ph {
  background: rgba(255, 244, 238, 0.95);
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  white-space: nowrap;
  border-radius: var(--r-sm);
  font-family: inherit;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    background 0.18s,
    border-color 0.18s,
    transform 0.18s var(--ease),
    box-shadow 0.18s;
}

.btn-primary {
  background: var(--orange);
  color: var(--on-orange);
  box-shadow: 0 10px 24px -12px rgba(253, 99, 33, 0.85);
}

.btn-primary:hover {
  background: var(--orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 16px 30px -14px rgba(253, 99, 33, 0.9);
}

.btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.34);
  background: transparent;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.65);
}

.btn-line {
  color: var(--ink);
  border-color: #c9d3e1;
  background: #fff;
}

.btn-line:hover {
  border-color: var(--ink);
}

.btn-sm {
  height: 40px;
  padding: 0 16px;
  font-size: 14.5px;
}

.text-link {
  color: var(--orange-text);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* header */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18, 70, 134, 0);
  transition:
    background 0.25s,
    box-shadow 0.25s,
    backdrop-filter 0.25s;
}

.site-head.scrolled {
  background: rgba(18, 70, 134, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -20px rgba(5, 15, 35, 0.6);
}

.head-row {
  height: 76px;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 36px;
  transition: height 0.25s;
}

.site-head.scrolled .head-row {
  height: 62px;
}

.brand {
  flex: none;
  display: flex;
  align-items: center;
}

.brand img {
  height: 26px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-right: auto;
}

.nav a {
  color: var(--on-navy);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  padding: 10px 0;
}

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

.head-cta {
  flex: none;
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  border-radius: 8px;
}

.menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s;
}

.menu-btn[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-nav {
  display: none;
}

@media (max-width: 1320px) {
  .nav,
  .head-cta,
  .head-login {
    display: none !important;
  }

  .menu-btn {
    display: block;
  }

  .site-head:has(.mobile-nav.open) {
    background: var(--navy);
  }

  .mobile-nav.open {
    display: flex;
    flex-direction: column;
    padding: 4px var(--gutter) 22px;
    background: var(--navy);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 40px -20px rgba(5, 15, 35, 0.6);
  }

  .mobile-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mobile-nav .btn {
    margin-top: 18px;
    border-bottom: 0;
  }
}

/* hero */
.hero {
  position: relative;
  margin-top: -76px;
  padding-top: 76px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(
      900px 520px at 78% 18%,
      #1a5aaa 0%,
      rgba(26, 90, 170, 0) 70%
    ),
    radial-gradient(
      700px 400px at 10% 100%,
      #1550a0 0%,
      rgba(21, 80, 160, 0) 70%
    ),
    var(--navy);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.09) 1px,
    transparent 1.2px
  );
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(
    ellipse 55% 60% at 75% 40%,
    #000 10%,
    transparent 75%
  );
  mask-image: radial-gradient(
    ellipse 55% 60% at 75% 40%,
    #000 10%,
    transparent 75%
  );
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: 48px;
  align-items: start;
  padding-top: clamp(36px, 6vw, 64px);
}

.hero-copy {
  padding-bottom: 8px;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: #fff;
}

.hero h1 .hl {
  color: var(--accent-on-navy);
}

.hero-sub {
  margin-top: 24px;
  max-width: 34em;
  font-size: 18px;
  line-height: 1.6;
  color: var(--on-navy);
}

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

.hero-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--on-navy-2);
}

.hero-curve {
  position: relative;
  height: 72px;
  margin-top: 40px;
}

.hero-curve svg {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 72px;
}

@media (max-width: 1023px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }
}

/* product mockup (illustrative) */
.mock {
  margin: 0;
  position: relative;
  min-width: 0;
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  border: 1px solid #e6ecf4;
  box-shadow:
    0 50px 90px -40px rgba(5, 15, 35, 0.6),
    0 18px 40px -20px rgba(5, 15, 35, 0.35);
  overflow: hidden;
}

.mock-bar {
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--navy),
    #5fc8f2 45%,
    #8b74e8 70%,
    var(--orange)
  );
}

.mock-top {
  height: 46px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #f7f9fc;
  border-bottom: 1px solid #e6ecf4;
  font-size: 12px;
  color: var(--muted);
}

.mock-top .meta {
  display: flex;
  gap: 14px;
  white-space: nowrap;
  overflow: hidden;
}

.mock-top .meta strong {
  color: var(--ink);
  font-weight: 600;
}

.mock-status {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #3a4a63;
  font-variant-numeric: tabular-nums;
}

.mock-status i {
  width: 7px;
  height: 7px;
  border-radius: 4px;
  background: #12876b;
}

.mock-status.running i {
  background: var(--orange);
  animation: tvpulse 1.4s ease-in-out infinite;
}

.mock-body {
  padding: 20px 20px 0;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) 28px minmax(0, 1fr) 28px minmax(
      0,
      1.15fr
    );
  align-items: center;
}

.mock-col-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
}

.records {
  display: grid;
  gap: 9px;
}

.rec {
  height: 58px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  transition: all 0.4s;
}

.rec b {
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 7px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rec span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.rec strong {
  font-size: 13px;
  font-weight: 600;
}

.rec small {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rec.r1 {
  background: #eef8f4;
  border-color: #bfe5d7;
}

.rec.r1 b {
  background: #0f6e57;
}

.rec.r2 {
  background: #f3f0fd;
  border-color: #d8cff6;
}

.rec.r2 b {
  background: var(--violet);
}

.rec.r3 {
  background: #eaf5fb;
  border-color: #bcdff0;
}

.rec.r3 b {
  background: #066a94;
}

.rec.r4 {
  background: #fff3ec;
  border-color: #f8d3be;
}

.rec.r4 b {
  background: var(--orange-text);
}

.flow-svg {
  height: 290px;
  position: relative;
}

.flow-svg svg {
  position: absolute;
  left: 0;
  top: 0;
  overflow: visible;
}

.flow-svg .moving {
  stroke-dasharray: 3 9;
  animation: tvflow 1.1s linear infinite;
}

.agents {
  border-radius: 12px;
  border: 1px solid var(--violet-line);
  background: var(--violet-soft);
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.agents .mock-col-label {
  padding: 0 6px;
  margin-bottom: 4px;
  display: flex;
  justify-content: space-between;
}

.ag {
  height: 32px;
  padding: 0 6px;
  border-radius: 7px;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  transition: all 0.3s;
}

.ag .tick {
  position: relative;
  width: 16px;
  height: 16px;
  flex: none;
  border-radius: 8px;
  background: var(--violet);
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}

.ag .nm {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12.5px;
  font-weight: 500;
}

.ag .tm {
  flex: none;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

.ag.wait .tick {
  background: #dcd6f3;
  color: transparent;
}

.ag.wait .nm {
  color: var(--muted);
}

.ag.wait .tm {
  visibility: hidden;
}

.ag.run {
  background: #fff;
  border-color: #c9bdf2;
}

.ag.run .tick {
  background: transparent;
  border: 2px solid #8b74e8;
  border-top-color: transparent;
  color: transparent;
  animation: tvspin 0.8s linear infinite;
}

.study {
  position: relative;
  height: 306px;
  min-width: 0;
}

.study::before,
.study::after {
  content: "";
  position: absolute;
  border-radius: 10px;
}

.study::before {
  left: 12px;
  right: -6px;
  top: 22px;
  bottom: -4px;
  background: #d9d1f7;
  opacity: 0.55;
}

.study::after {
  left: 6px;
  right: 0;
  top: 14px;
  bottom: 2px;
  background: #e8f2fc;
  opacity: 0.9;
}

.study-card {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 6px;
  top: 6px;
  bottom: 8px;
  border-radius: 10px;
  background: #fff;
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  border: 1px solid #e6ecf4;
  box-shadow: 0 18px 36px -22px rgba(18, 33, 60, 0.28);
  overflow: hidden;
}

.study-card > * {
  flex-shrink: 0;
}

.firm {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
}

.firm b {
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 6px;
  background: var(--navy);
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.study-title {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.study-sub {
  margin-top: 2px;
  font-size: 11px;
  color: var(--muted);
}

.kv {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
}

.kv strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.kv.first {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line-soft);
}

.cov {
  margin-top: 7px;
  position: relative;
  height: 6px;
  border-radius: 3px;
  background: var(--line-soft);
}

.cov span {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--navy), var(--orange));
  transition: width 0.12s linear;
}

.cov i {
  position: absolute;
  left: 80%;
  top: -3px;
  bottom: -3px;
  width: 1.5px;
  background: var(--ink);
}

.cov-note {
  margin-top: 4px;
  font-size: 10px;
  color: var(--muted);
  text-align: right;
  padding-right: 16%;
}

.wp {
  margin-top: 5px;
}

.wp em {
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  color: #066a94;
}

.doc-chip {
  margin-top: auto;
  height: 26px;
  border-radius: 6px;
  background: #fff1e9;
  color: var(--orange-text);
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stamp {
  position: absolute;
  z-index: 3;
  right: -14px;
  top: -16px;
  width: 58px;
  height: 58px;
  border-radius: 29px;
  border: 2px solid var(--orange-text);
  color: var(--orange-text);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  transform: rotate(-8deg);
}

.stamp.pop {
  animation: tvstamp 0.5s var(--ease) both;
}

.queue {
  margin: 20px;
  border-radius: 12px;
  border: 1px solid #f9d9c8;
  background: linear-gradient(180deg, #fff9f5, #fff3ec);
  overflow: hidden;
}

.q-head {
  min-height: 40px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #f5e3d8;
  font-size: 12.5px;
  font-weight: 600;
}

.q-head .who {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
}

.q-head .who i {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 4px;
  background: var(--orange);
}

.q-head .who span {
  font-weight: 400;
  color: var(--muted);
}

.q-head .open {
  flex: none;
  font-size: 11.5px;
  color: var(--orange-text);
}

.q-row {
  padding: 10px 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  border-bottom: 1px solid #f5e3d8;
  transition:
    opacity 0.45s var(--ease),
    transform 0.45s var(--ease);
}

.q-row .q {
  flex: 1 1 200px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
  font-weight: 500;
}

.q-row .q small {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
}

.chip {
  height: 30px;
  padding: 0 12px;
  border-radius: 6px;
  border: 1px solid #d5deea;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.chip.on {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--on-orange);
}

.q-foot {
  min-height: 48px;
  padding: 8px 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.q-foot strong {
  color: var(--ink);
  font-weight: 600;
}

.q-foot .keep strong {
  color: var(--orange-text);
}

.q-foot .sep {
  display: inline-block;
  width: 1px;
  height: 12px;
  margin: 0 10px;
  background: #e3c9ba;
  vertical-align: middle;
}

.sign-chip {
  height: 32px;
  padding: 0 16px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.mock.pre .q-row,
.mock.pre .q-foot {
  opacity: 0;
  transform: translateY(8px);
}

.q-foot {
  transition:
    opacity 0.45s var(--ease),
    transform 0.45s var(--ease);
}

@media (max-width: 640px) {
  .mock-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 14px 14px 0;
  }

  .flow-svg {
    display: none;
  }

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

  .records .mock-col-label {
    grid-column: 1/-1;
  }

  .study {
    height: 270px;
  }

  .queue {
    margin: 14px;
  }
}

/* sections */
.section {
  padding: clamp(64px, 8vw, 104px) 0;
}

.section.soft {
  background: var(--soft);
}

.section.tight {
  padding: clamp(40px, 5vw, 56px) 0;
}

.h2 {
  font-size: clamp(30px, 3.6vw, 42px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  max-width: 36em;
}

.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px 64px;
  align-items: end;
  margin-bottom: 44px;
}

.sec-head.center {
  display: block;
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.sec-head.center .lead {
  margin: 16px auto 0;
}

@media (max-width: 860px) {
  .sec-head {
    grid-template-columns: 1fr;
  }
}

/* facts band */
.facts-band {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.3fr);
  gap: 0;
}

.fact {
  padding: 28px 24px 28px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fact + .fact {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.fact .k {
  font-size: 13px;
  color: var(--muted);
}

.fact .v {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
}

.trust {
  list-style: none;
  margin: 0;
  padding: 28px 0 28px 24px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--body);
}

.trust li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: var(--orange);
  flex: none;
}

@media (max-width: 900px) {
  .facts {
    grid-template-columns: 1fr 1fr;
  }

  .fact + .fact {
    padding-left: 0;
    border-left: 0;
  }

  .fact {
    padding: 18px 16px 18px 0;
    border-top: 1px solid var(--line);
  }

  .trust {
    grid-column: 1/-1;
    border-left: 0;
    padding: 18px 0;
    border-top: 1px solid var(--line);
  }
}

/* recognition */
.recog {
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 24px 48px -36px rgba(18, 33, 60, 0.35);
  overflow: hidden;
}

.recog-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--navy), #0788be 50%, var(--orange));
}

.recog-grid {
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.recog-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding-right: 8px;
}

.recog-intro h2 {
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.recog-intro p {
  font-size: 14.5px;
  color: var(--body);
}

.award {
  padding: 20px 22px;
  border-radius: var(--r-md);
  background: #f7f9fc;
  border: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.award .logo-row {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.award .logo-box {
  height: 44px;
  display: flex;
  align-items: center;
}

.award .logo-box img {
  max-height: 44px;
  width: auto;
}

.award .logo-box.inc img {
  max-height: 50px;
}

.award .logo-box.fortune img {
  max-height: 26px;
}

.award .count {
  flex: none;
  height: 24px;
  padding: 0 9px;
  border-radius: 12px;
  background: #fff1e9;
  border: 1px solid #f9cdb5;
  color: var(--orange-text);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
}

.award p {
  font-size: 14px;
  color: var(--body);
}

.recog-foot {
  padding: 14px 28px;
  border-top: 1px solid var(--line-soft);
  background: #fbfcfe;
  font-size: 12.5px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .recog-grid {
    grid-template-columns: 1fr 1fr;
  }

  .recog-intro {
    grid-column: 1/-1;
  }
}

@media (max-width: 560px) {
  .recog-grid {
    grid-template-columns: 1fr;
  }
}

/* numbers */
.numbers {
  margin-top: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.numbers-head h2 {
  font-size: 30px;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.numbers-head p {
  margin-top: 12px;
  font-size: 15.5px;
  color: var(--body);
}

.stat {
  position: relative;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line);
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--navy), var(--orange));
  transform-origin: left;
  transition: transform 1.2s var(--ease);
}

.js .stat:not(.seen)::before {
  transform: scaleX(0);
}

.stat .n {
  font-size: 56px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

.stat .d {
  margin-top: 14px;
  font-size: 15.5px;
  font-weight: 500;
  flex: 1;
}

.stat .src {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px;
  color: var(--body);
}

@media (max-width: 980px) {
  .numbers {
    grid-template-columns: 1fr 1fr;
  }

  .numbers-head {
    grid-column: 1/-1;
  }
}

@media (max-width: 560px) {
  .numbers {
    grid-template-columns: 1fr;
  }
}

/* estimator */
.est {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(120deg, #f7fafe 0%, #fff 55%, #fff6f0 100%);
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr) auto;
  gap: 28px;
  align-items: center;
}

.est label {
  display: block;
  font-size: 17px;
  font-weight: 700;
}

.est .hint {
  display: block;
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 2px;
}

.money {
  margin-top: 10px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  border-bottom: 2px solid #c9d3e1;
  padding-bottom: 6px;
}

.money span {
  font-size: 30px;
  font-weight: 700;
  color: var(--muted);
}

.money input {
  width: 100%;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-weight: 700;
  font-size: 38px;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  padding: 0;
}

.money input:focus {
  outline: none;
}

.money:focus-within {
  border-color: var(--orange);
}

.range {
  grid-column: 1/-1;
  width: 100%;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  height: 24px;
  background: transparent;
  cursor: pointer;
}

.range::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 3px;
  background: #dce3ee;
}

.range::-moz-range-track {
  height: 6px;
  border-radius: 3px;
  background: #dce3ee;
}

.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -8px;
  border-radius: 11px;
  background: var(--orange);
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(18, 33, 60, 0.3);
}

.range::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 11px;
  background: var(--orange);
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(18, 33, 60, 0.3);
}

.est-out .k {
  font-size: 14px;
  font-weight: 600;
  color: var(--orange-text);
}

.est-out .v {
  margin-top: 4px;
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--orange-text);
  font-variant-numeric: tabular-nums;
}

.est-out .s {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--body);
  font-variant-numeric: tabular-nums;
}

.est-foot {
  grid-column: 1/-1;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .est {
    grid-template-columns: 1fr;
  }
}

/* Q&A list */
.qa {
  margin-top: 40px;
  border-top: 1px solid var(--line);
}

.qa-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr);
  gap: 12px 48px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.qa-row h3 {
  font-size: 17px;
  font-weight: 700;
}

.qa-row p {
  color: var(--body);
}

.qa-note {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--muted);
}

@media (max-width: 720px) {
  .qa-row {
    grid-template-columns: 1fr;
  }
}

/* agent flow */
.agent-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  column-gap: 10px;
  position: relative;
}

.agent-flow::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 27px;
  height: 2px;
  background: linear-gradient(90deg, #c9bdf2, var(--orange));
  z-index: 0;
}

.agent-flow li {
  display: contents;
}

.agent-btn {
  position: relative;
  z-index: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 4px 18px;
  border: 0;
  background: transparent;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: center;
}

.agent-btn .dot {
  width: 56px;
  height: 56px;
  border-radius: 28px;
  background: #fff;
  border: 2px solid #d8cff6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--violet);
  transition: all 0.2s;
}

.agent-btn .nm {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--muted);
}

.agent-btn:hover .dot {
  border-color: var(--violet);
}

.agent-btn[aria-selected="true"] .dot {
  background: var(--violet);
  border-color: var(--violet);
  color: #fff;
  box-shadow: 0 0 0 7px rgba(106, 79, 208, 0.14);
}

.agent-btn[aria-selected="true"] .nm {
  color: var(--ink);
}

.agent-flow .pro .dot {
  background: var(--night);
  border-color: var(--night);
  color: #fff;
  width: 64px;
  height: 64px;
  border-radius: 32px;
  margin-top: -4px;
}

.agent-flow .pro[aria-selected="true"] .dot {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--on-orange);
  box-shadow: 0 0 0 7px rgba(253, 99, 33, 0.18);
}

.agent-flow .pro .nm {
  color: var(--ink);
}

.agent-detail {
  grid-row: 2;
  grid-column: 1/-1;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line);
  padding: 26px 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 20px 36px;
  align-items: start;
}

.js .agent-detail {
  display: none;
}

.js .agent-detail.active {
  display: grid;
  animation: tvup 0.35s var(--ease) both;
}

.agent-detail .role {
  font-size: 13px;
  font-weight: 600;
  color: var(--violet);
}

.agent-detail h3 {
  margin-top: 4px;
  font-size: 22px;
  letter-spacing: -0.015em;
}

.agent-detail p {
  color: var(--body);
}

.agent-detail .handoff {
  padding-left: 20px;
  border-left: 2px solid #f9cdb5;
  font-size: 14.5px;
  color: var(--body);
}

.agent-detail .handoff strong {
  display: block;
  color: var(--orange-text);
  font-size: 13px;
  margin-bottom: 4px;
}

.agent-detail.pro-detail {
  background: var(--night);
  border-color: var(--night);
  color: #fff;
}

.agent-detail.pro-detail p,
.agent-detail.pro-detail .handoff {
  color: #c3d2e8;
}

.agent-detail.pro-detail .role {
  color: var(--accent-on-navy);
}

.agent-detail.pro-detail .handoff strong {
  color: var(--accent-on-navy);
}

html:not(.js) .agent-detail {
  grid-row: auto;
  margin-top: 10px;
}

@media (max-width: 900px) {
  .agent-flow {
    grid-template-columns: 1fr;
  }

  .agent-flow::before {
    left: 27px;
    right: auto;
    top: 28px;
    bottom: 28px;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, #c9bdf2, var(--orange));
  }

  .agent-flow li {
    display: block;
    position: relative;
    padding-left: 76px;
    padding-bottom: 18px;
  }

  .agent-btn {
    position: absolute;
    left: 0;
    top: 0;
    padding: 0;
    cursor: default;
  }

  .agent-btn .nm {
    display: none;
  }

  .agent-flow .pro .dot {
    width: 56px;
    height: 56px;
    margin-top: 0;
  }

  .js .agent-detail,
  .agent-detail {
    display: grid !important;
    grid-template-columns: 1fr;
    padding: 18px 20px;
    animation: none !important;
  }
}

/* how it works */
.how {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: s;
}

.steps li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.steps li:first-child {
  padding-top: 0;
}

.steps .num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eef3fa;
  color: var(--navy);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps h3 {
  font-size: 17px;
}

.steps p {
  margin-top: 4px;
  color: var(--body);
  font-size: 15px;
}

.sample {
  border-radius: var(--r-lg);
  background: var(--night);
  color: #fff;
  padding: 24px;
  box-shadow: 0 30px 60px -40px rgba(5, 15, 35, 0.7);
}

.sample-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.sample-top strong {
  font-size: 15px;
}

.badge {
  height: 24px;
  padding: 0 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.sample dl {
  margin: 0;
}

.sample .row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sample dt {
  font-weight: 600;
  font-size: 15px;
}

.sample dd {
  margin: 2px 0 0;
  font-size: 14px;
  color: #afc3df;
}

.sample .ok {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(253, 99, 33, 0.6);
  background: rgba(253, 99, 33, 0.08);
  font-size: 14px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.sample .ok i {
  width: 18px;
  height: 18px;
  border-radius: 9px;
  background: var(--orange);
  color: var(--on-orange);
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

@media (max-width: 900px) {
  .how {
    grid-template-columns: 1fr;
  }
}

/* cta band */
.cta-band {
  border-radius: var(--r-lg);
  background: var(--night);
  color: #fff;
  padding: 32px 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.cta-band h2 {
  font-size: 24px;
  letter-spacing: -0.015em;
}

.cta-band p {
  margin-top: 6px;
  color: #c3d2e8;
  max-width: 36em;
}

.cta-band .acts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* section G */
.sg {
  background:
    radial-gradient(
      800px 500px at 85% 10%,
      #1a5aaa 0%,
      rgba(26, 90, 170, 0) 70%
    ),
    var(--navy);
  color: #fff;
}

.sg-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.sg .pill {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.sg h2 {
  margin-top: 18px;
  color: #fff;
}

.sg .lead {
  margin-top: 16px;
  color: var(--on-navy);
}

.sg-facts {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.sg-fact {
  padding: 18px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.sg-fact .n {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.sg-fact p {
  margin-top: 4px;
  font-size: 14px;
  color: var(--on-navy);
}

.sg-src {
  margin-top: 16px;
  font-size: 13px;
  color: var(--on-navy-2);
}

.checker {
  border-radius: var(--r-lg);
  background: #fff;
  color: var(--ink);
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(5, 15, 35, 0.7);
}

.checker-head {
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line-soft);
}

.checker-head h3 {
  font-size: 17px;
}

.checker-head span {
  font-size: 13px;
  color: var(--muted);
}

.cq {
  border: 0;
  margin: 0;
  padding: 14px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line-soft);
}

.cq legend {
  float: left;
  font-size: 14.5px;
  font-weight: 600;
  max-width: 60%;
  padding: 0;
}

.seg {
  display: inline-flex;
  padding: 3px;
  border-radius: 10px;
  background: #eef1f6;
  flex: none;
}

.seg label {
  position: relative;
}

.seg input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}

.seg span {
  display: block;
  padding: 7px 14px;
  border-radius: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  transition: background 0.15s;
}

.seg input:checked + span {
  background: var(--orange);
  color: var(--on-orange);
}

.seg input:focus-visible + span {
  outline: 3px solid var(--navy);
  outline-offset: 1px;
}

.result {
  padding: 18px 22px;
  background: #fff4ee;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 14px;
}

.result .tag {
  grid-row: 1/3;
  align-self: start;
  height: 24px;
  padding: 0 10px;
  border-radius: 12px;
  background: var(--orange-text);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}

.result .tag.opt {
  background: #0f6e57;
}

.result h4 {
  margin: 0;
  font-size: 17px;
}

.result p {
  font-size: 14px;
  color: var(--body);
}

.checker-foot {
  padding: 14px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 12.5px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .sg-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .cq {
    flex-direction: column;
    align-items: flex-start;
  }

  .cq legend {
    max-width: none;
    float: none;
  }
}

/* security panel */
.sec-panel {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
}

.sec-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) minmax(0, 2fr);
  gap: 20px;
  align-items: center;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line-soft);
}

.sec-row .ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eef3fa;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sec-row h3 {
  font-size: 17px;
}

.sec-row p {
  color: var(--body);
  font-size: 15px;
}

.sec-foot {
  padding: 16px 28px;
  background: #fbfcfe;
  font-size: 14px;
  color: var(--body);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
}

.sec-foot .ph {
  margin-top: 0;
}

@media (max-width: 720px) {
  .sec-row {
    grid-template-columns: 44px 1fr;
  }

  .sec-row p {
    grid-column: 1/-1;
  }
}

/* team */
.team {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.person {
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line);
  padding: 12px 12px 20px;
  display: flex;
  flex-direction: column;
}

.person img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 10px;
  background: #eaf3fb;
}

.person h3 {
  margin: 18px 8px 0;
  font-size: 17px;
}

.person .role {
  margin: 2px 8px 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
}

.person p {
  margin: 10px 8px 0;
  font-size: 14px;
  color: var(--body);
  flex: 1;
}

.person a {
  margin: 14px 8px 0;
  align-self: flex-start;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 980px) {
  .team {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .team {
    grid-template-columns: 1fr;
  }
}

/* faq */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 56px;
  align-items: start;
}

.faq-side p {
  margin-top: 16px;
  color: var(--body);
}

.faq-box {
  margin-top: 28px;
  border-radius: var(--r-md);
  border: 1px solid #f9d9c8;
  background: #fff9f5;
  padding: 22px;
}

.faq-box h3 {
  font-size: 17px;
}

.faq-box p {
  margin: 6px 0 16px;
  font-size: 14.5px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  margin-bottom: 10px;
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 56px 18px 20px;
  position: relative;
  font-weight: 600;
  font-size: 16px;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 13px;
  background: #eef3fa;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  transition: transform 0.2s;
}

.faq-list details[open] summary::after {
  content: "\2212";
  background: var(--orange);
  color: var(--on-orange);
}

.faq-list .ans {
  padding: 0 20px 20px;
  color: var(--body);
}

@media (max-width: 900px) {
  .faq {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* start form */
.start {
  background: linear-gradient(
    135deg,
    #ff7a3d 0%,
    var(--orange) 55%,
    #f05515 100%
  );
}

.start-card {
  border-radius: 24px;
  background: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(60, 20, 0, 0.55);
}

.start-copy {
  padding: 44px;
  background: #fff8f3;
}

.start-copy h2 {
  font-size: clamp(30px, 3.4vw, 40px);
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.start-copy .lead {
  margin-top: 16px;
  font-size: 16px;
}

.next {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.next li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  font-size: 15px;
  color: var(--body);
}

.next b {
  width: 28px;
  height: 28px;
  border-radius: 14px;
  background: var(--orange);
  color: var(--on-orange);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.start-copy .small {
  margin-top: 24px;
  font-size: 13.5px;
  color: var(--body);
}

.form {
  padding: 44px;
}

.form h3 {
  font-size: 22px;
}

.form .intro {
  margin-top: 6px;
  font-size: 14px;
  color: var(--body);
}

.fields {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 6px;
}

.field input {
  width: 100%;
  height: 46px;
  border: 1px solid #c9d3e1;
  border-radius: 8px;
  padding: 0 12px;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
}

.field input:focus {
  outline: 2px solid var(--orange);
  outline-offset: 1px;
  border-color: var(--orange);
}

.spend {
  margin-top: 18px;
  border: 0;
  padding: 0;
}

.spend legend {
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 8px;
  padding: 0;
}

.spend .opts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spend label {
  position: relative;
}

.spend input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}

.spend span {
  display: block;
  padding: 9px 14px;
  border-radius: 20px;
  border: 1px solid #c9d3e1;
  font-size: 13.5px;
  font-weight: 500;
}

.spend input:checked + span {
  border-color: var(--orange-text);
  background: #fff4ee;
  color: var(--orange-text);
  font-weight: 600;
}

.spend input:focus-visible + span {
  outline: 3px solid var(--navy);
  outline-offset: 1px;
}

.consent {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--body);
}

.consent input {
  margin-top: 3px;
  accent-color: var(--orange);
}

.form .btn {
  width: 100%;
  margin-top: 20px;
}

.form-msg {
  margin-top: 12px;
  font-size: 14px;
  color: var(--orange-text);
  font-weight: 600;
  min-height: 20px;
}

@media (max-width: 900px) {
  .start-card {
    grid-template-columns: 1fr;
  }

  .start-copy,
  .form {
    padding: 28px;
  }
}

@media (max-width: 520px) {
  .fields {
    grid-template-columns: 1fr;
  }
}

/* comparison (firms) */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.cmp {
  border-radius: var(--r-lg);
  padding: 28px;
  border: 1px solid var(--line);
  background: #fff;
}

.cmp.good {
  background: var(--night);
  border-color: var(--night);
  color: #fff;
}

.cmp .k {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.cmp.good .k {
  color: var(--on-navy-2);
}

.cmp .v {
  margin-top: 6px;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.cmp .s {
  font-size: 14px;
  color: var(--body);
}

.cmp.good .s {
  color: #c3d2e8;
}

.cmp ul {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 15px;
}

.cmp li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
}

.cmp li i {
  width: 22px;
  height: 22px;
  border-radius: 11px;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f3f7;
  color: var(--muted);
}

.cmp.good li i {
  background: var(--orange);
  color: var(--on-orange);
}

.why {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.why div {
  padding: 24px 24px 0 0;
}

.why div + div {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.why .n {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.why h3 {
  margin-top: 6px;
  font-size: 16px;
}

.why p {
  margin-top: 6px;
  font-size: 14.5px;
  color: var(--body);
}

.why .src {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .compare,
  .why {
    grid-template-columns: 1fr;
  }

  .why div + div {
    padding-left: 0;
    border-left: 0;
  }
}

/* footer */
.foot {
  background: var(--night);
  color: #c3d2e8;
  padding: 64px 0 0;
  overflow: hidden;
}

.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.foot .about p {
  margin-top: 16px;
  font-size: 14px;
  max-width: 30em;
}

.foot .about .tel {
  display: inline-block;
  margin-top: 14px;
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.foot h2 {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

.foot ul {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 14.5px;
}

.foot ul a {
  text-decoration: none;
}

.foot ul a:hover {
  color: #fff;
}

.legal {
  margin-top: 48px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
}

.legal p {
  max-width: 56em;
}

.legal .links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.wordmark {
  display: block;
  width: 100%;
  max-width: var(--wrap);
  margin: 16px auto 0;
  padding: 0 var(--gutter);
  color: #16294a;
}

.wordmark svg {
  width: 100%;
  height: auto;
  display: block;
}

.wordmark path {
  fill: currentColor;
}

@media (max-width: 900px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }

  .foot .about {
    grid-column: 1/-1;
  }
}

/* motion */
@keyframes tvflow {
  to {
    stroke-dashoffset: -24;
  }
}

@keyframes tvspin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes tvpulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.35;
  }
}

@keyframes tvup {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes tvcard {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes tvstamp {
  0% {
    opacity: 0;
    transform: scale(1.6) rotate(-8deg);
  }

  70% {
    opacity: 1;
    transform: scale(0.95) rotate(-8deg);
  }

  100% {
    opacity: 1;
    transform: scale(1) rotate(-8deg);
  }
}

.hero-copy > * {
  animation: tvup 0.7s var(--ease) both;
}

.hero-copy > :nth-child(2) {
  animation-delay: 0.08s;
}

.hero-copy > :nth-child(3) {
  animation-delay: 0.16s;
}

.hero-copy > :nth-child(4) {
  animation-delay: 0.24s;
}

.mock {
  animation: tvcard 0.9s 0.2s var(--ease) both;
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .stat:not(.seen)::before {
    transform: none;
  }

  .mock.pre .q-row,
  .mock.pre .q-foot {
    opacity: 1;
    transform: none;
  }
}

/* one page, two audiences: tax professionals (default) and companies */
[data-aud="pro"] .v-co,
[data-aud="co"] .v-pro {
  display: none !important;
}

.aud {
  display: inline-flex;
  align-items: stretch;
  gap: 2px;
  height: 40px;
  padding: 3px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 28px;
}

.aud button {
  margin: 0;
  padding: 0 15px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--on-navy);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}

.aud button[aria-pressed="true"] {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 1px 2px rgba(5, 15, 35, 0.25);
}

.aud.light {
  background: #eef1f6;
  border-color: #e3e8f0;
  margin: 0;
}

.aud.light button {
  color: var(--muted);
}

.aud.light button[aria-pressed="true"] {
  background: #fff;
  color: var(--ink);
}

.aud-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  font-size: 14px;
  color: var(--muted);
}

.hero-copy > * {
  animation-delay: 0s;
}

.hero-copy > :nth-child(5) {
  animation-delay: 0.3s;
}

.fact > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* header login */
.head-login {
  display: none;
  color: var(--on-navy);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  padding: 10px 4px;
  margin-right: 14px;
}

.head-login:hover {
  color: #fff;
}

@media (min-width: 1321px) {
  .head-login {
    display: inline-block;
  }
}

.cmp-link {
  display: inline-block;
  margin-top: 18px;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-bottom: 2px solid var(--orange);
  padding-bottom: 2px;
}

.cmp-link:hover {
  color: #fff;
  border-color: var(--orange-hover);
}

.text-link {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.text-link:hover {
  color: var(--navy-deep);
}

/* plans */
.plans-block {
  margin-top: clamp(56px, 7vw, 88px);
  padding-top: clamp(48px, 6vw, 72px);
  border-top: 1px solid var(--line);
}

.plans-head {
  margin-bottom: 28px;
}

.plans-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}

.pseg {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
}

.pseg button {
  height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}

.pseg button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}

.plans-bar-note {
  font-size: 14px;
  color: var(--muted);
}

.founding {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  padding: 18px 22px;
  border-radius: var(--r-md);
  background: #fff4ee;
  border: 1px solid #f7cdb6;
}

.founding p {
  flex: 1 1 420px;
  font-size: 15px;
  color: var(--ink);
}

.founding .btn {
  margin-top: 0;
}

.founding-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange-text);
}

.plans {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 20px 40px -34px rgba(18, 33, 60, 0.45);
}

.plan.plan-wl {
  background: var(--night);
  border-color: var(--night);
  color: #fff;
}

.plan-tag {
  position: absolute;
  top: 18px;
  right: 18px;
  height: 24px;
  padding: 0 10px;
  border-radius: 12px;
  background: var(--orange);
  color: var(--on-orange);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
}

.plan h3 {
  font-size: 20px;
}

.plan-for {
  margin-top: 6px;
  font-size: 14px;
  color: var(--body);
  min-height: 42px;
}

.plan.plan-wl .plan-for,
.plan.plan-wl .plan-note,
.plan.plan-wl li {
  color: #c3d2e8;
}

.wl-copy .lead {
  margin-top: 16px;
}

.plan-price {
  margin-top: 18px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.plan-price span {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.plan-price small {
  font-size: 14px;
  color: var(--muted);
}

.plan-wl .plan-price small {
  color: var(--on-navy-2);
}

.plan-note {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--muted);
}

.plan-note b {
  color: var(--ink);
}

.plan-wl .plan-note b {
  color: #fff;
}

.plan ul {
  list-style: none;
  margin: 18px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line-soft);
  display: grid;
  gap: 9px;
  flex: 1;
}

.plan-wl ul {
  border-color: rgba(255, 255, 255, 0.14);
}

.plan li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--body);
}

.plan li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 6px;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: rotate(-45deg);
}

.plan-cta {
  width: 100%;
  margin-top: 22px;
}

.ptable-toggle {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
}

.ptable-toggle summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 20px;
  font-weight: 700;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  align-items: baseline;
}

.ptable-toggle summary::-webkit-details-marker {
  display: none;
}

.ptable-toggle summary::after {
  content: "+";
  margin-left: auto;
  font-size: 20px;
  color: var(--muted);
}

.ptable-toggle[open] summary::after {
  content: "\2212";
}

.ptable-toggle summary span {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
}

.ptable-wrap {
  overflow-x: auto;
  padding: 0 20px 18px;
}

.ptable {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 14px;
}

.ptable th,
.ptable td {
  text-align: left;
  padding: 11px 12px 11px 0;
  border-top: 1px solid var(--line-soft);
  vertical-align: top;
}

.ptable thead th {
  border-top: 0;
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
}

.ptable tbody th {
  font-weight: 600;
  color: var(--ink);
  width: 24%;
}

.ptable td {
  color: var(--body);
  font-variant-numeric: tabular-nums;
}

.addons {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.addons > div {
  padding: 22px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line);
}

.addon-k {
  font-size: 13px;
  font-weight: 700;
  color: var(--orange-text);
}

.addons h3 {
  margin-top: 6px;
  font-size: 17px;
}

.addons p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--body);
}

.terms {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  font-size: 14.5px;
  color: var(--body);
}

.terms b {
  color: var(--ink);
}

.econ {
  margin-top: 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.econ-in {
  padding: 30px;
}

.econ-in h3 {
  font-size: 22px;
}

.econ-sub {
  margin-top: 6px;
  font-size: 14.5px;
  color: var(--body);
}

.econ .field {
  margin-top: 18px;
}

.econ .field input {
  width: 100%;
  height: 46px;
  border: 1px solid #c9d3e1;
  border-radius: 8px;
  padding: 0 12px;
  font: inherit;
  font-size: 16px;
}

.econ-hint {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

.econ-disc {
  margin: 18px 0 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 8px;
  font-size: 14px;
}

.econ-disc legend {
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 6px;
  padding: 0;
}

.econ-disc label {
  display: flex;
  gap: 10px;
  align-items: center;
}

.econ-disc input {
  accent-color: var(--orange);
  width: 16px;
  height: 16px;
}

.econ-out {
  padding: 30px;
  background: var(--night);
  color: #fff;
}

.econ-tier {
  font-size: 22px;
  font-weight: 700;
}

.econ-tier span {
  color: var(--accent-on-navy);
}

.econ-next {
  margin-top: 4px;
  font-size: 13.5px;
  color: var(--on-navy-2);
  min-height: 20px;
}

.econ-out dl {
  margin: 16px 0 0;
  display: grid;
  gap: 0;
}

.econ-out dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

.econ-out dt {
  color: #c3d2e8;
}

.econ-out dd {
  margin: 0;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.econ-out .tot dd {
  font-size: 16px;
  font-weight: 800;
}

.econ-bar {
  margin-top: 14px;
  height: 10px;
  border-radius: 5px;
  background: var(--accent-on-navy);
  overflow: hidden;
}

.econ-bar span {
  display: block;
  height: 100%;
  background: #7fb2e6;
  transition: width 0.4s var(--ease);
}

.econ-foot {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--on-navy-2);
}

.econ-out .btn {
  width: 100%;
}

.onb {
  margin-top: 40px;
}

.onb h3 {
  font-size: 22px;
}

.onb-sub {
  margin-top: 6px;
  font-size: 14.5px;
  color: var(--body);
}

.onb ol {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  counter-reset: o;
}

.onb li {
  padding: 20px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
}

.onb li span {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--orange-text);
}

.onb h4 {
  margin: 6px 0 0;
  font-size: 16px;
}

.onb li p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--body);
}

/* section rhythm: alternate grounds and draw a hairline between light sections */
#agents {
  background: var(--paper);
}

#how {
  background: var(--soft);
}

#faq {
  background: var(--paper);
}

.facts-band {
  border-bottom: 1px solid var(--line);
}

main > section.section {
  position: relative;
}

main
  > section.section:not(.on-dark):not(.start)
  + section.section:not(.on-dark):not(.start) {
  border-top: 1px solid var(--line);
}

#pricing .plans-block {
  margin-top: clamp(64px, 8vw, 96px);
  padding-top: clamp(56px, 7vw, 80px);
  border-top: 0;
  position: relative;
}

#pricing .plans-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  height: 1px;
  background: var(--line);
}

#pricing .plans-block::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 56px;
  height: 10px;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--navy), var(--orange));
}

/* white label */
.wl-sec {
  background: linear-gradient(180deg, var(--paper) 0%, var(--soft) 100%);
}

.wl-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 48px;
  align-items: center;
  padding: clamp(28px, 4vw, 56px);
  border-radius: 28px;
  color: var(--ink);
  overflow: hidden;
  background:
    radial-gradient(
      700px 420px at 92% 10%,
      rgba(7, 136, 190, 0.12) 0%,
      rgba(7, 136, 190, 0) 60%
    ),
    radial-gradient(
      560px 380px at 0% 100%,
      rgba(253, 99, 33, 0.1) 0%,
      rgba(253, 99, 33, 0) 60%
    ),
    linear-gradient(135deg, #f2f7fd 0%, #ffffff 55%, #fff6f0 100%);
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -56px rgba(18, 33, 60, 0.45);
}

.wl-eyebrow {
  display: inline-flex;
  height: 28px;
  padding: 0 12px;
  align-items: center;
  border-radius: 14px;
  background: #eef3fa;
  border: 1px solid #dce5f2;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
}

.wl-copy .h2 {
  margin-top: 16px;
  color: var(--ink);
}

.wl-copy .lead {
  margin-top: 14px;
  color: var(--body);
}

.wl-copy .field {
  margin-top: 26px;
}

.wl-copy .field label {
  color: var(--ink);
}

.wl-copy .field input {
  width: 100%;
  height: 48px;
  border: 1px solid #c9d3e1;
  border-radius: 10px;
  padding: 0 14px;
  font: inherit;
  font-size: 16px;
  background: #fff;
  color: var(--ink);
}

.wl-copy .field input:focus {
  outline: 2px solid var(--orange);
  outline-offset: 1px;
  border-color: var(--orange);
}

.wl-set {
  margin: 20px 0 0;
  padding: 0;
  border: 0;
}

.wl-set legend {
  padding: 0;
  margin-bottom: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.wl-seg {
  display: inline-flex;
  flex-wrap: wrap;
  padding: 4px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
}

.wl-seg label {
  position: relative;
}

.wl-seg input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.wl-seg span {
  display: block;
  padding: 9px 14px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.wl-seg input:checked + span {
  background: var(--ink);
  color: #fff;
}

.wl-seg input:focus-visible + span {
  outline: 3px solid var(--orange);
  outline-offset: 1px;
}

.wl-level-note {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

.wl-colors {
  display: flex;
  gap: 10px;
}

.wl-colors label {
  position: relative;
}

.wl-colors input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.wl-colors span {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 17px;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #c9d3e1;
}

.wl-colors input:checked + span {
  box-shadow: 0 0 0 2px var(--ink);
}

.wl-colors input:focus-visible + span {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.wl-cta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}

.wl-cta .btn {
  margin-top: 0;
}

.wl-cta p {
  font-size: 13.5px;
  color: var(--muted);
  max-width: 240px;
}

.wl-stage {
  position: relative;
  min-height: 640px;
  color: var(--ink);
}

.wl-cover {
  position: absolute;
  right: 0;
  top: 44px;
  z-index: 2;
  width: min(100%, 400px);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  border-top: 6px solid var(--wl);
  border: 1px solid var(--line);
  border-top: 6px solid var(--wl);
  box-shadow: 0 40px 80px -36px rgba(18, 33, 60, 0.45);
  z-index: 2;
  transition: border-color 0.3s;
}

.wl-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-soft);
}

.wl-mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--wl);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.wl-mark.sm {
  width: 30px;
  height: 30px;
  font-size: 11px;
  border-radius: 8px;
}

.wl-firm {
  font-weight: 700;
  font-size: 14.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wl-conf {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.wl-title {
  padding: 24px 20px 8px;
}

.wl-title small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.wl-title span {
  display: block;
  margin-top: 4px;
  font-size: 26px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--wl);
  transition: color 0.3s;
}

.wl-title em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: 13.5px;
  color: var(--body);
}

.wl-meta {
  margin: 0;
  padding: 8px 20px 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
}

.wl-meta dt {
  font-size: 11.5px;
  color: var(--muted);
}

.wl-meta dd {
  margin: 2px 0 0;
  font-size: 13.5px;
  font-weight: 600;
}

.wl-foot {
  padding: 12px 20px;
  background: var(--soft);
  font-size: 12.5px;
  color: var(--body);
  border-top: 1px solid var(--line-soft);
}

.wl-mail {
  position: absolute;
  left: 0;
  top: 400px;
  width: min(62%, 270px);
  padding: 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -28px rgba(18, 33, 60, 0.45);
  z-index: 3;
}

.wl-mail-h {
  display: flex;
  gap: 10px;
  align-items: center;
}

.wl-mail-h b {
  display: block;
  font-size: 13.5px;
}

.wl-mail-h small {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
}

.wl-mail-s {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
}

.wl-mail-b {
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--body);
}

.wl-mail-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--wl);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  transition: background 0.3s;
}

.wl-portal {
  position: absolute;
  left: 4%;
  top: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 20px 40px -24px rgba(18, 33, 60, 0.4);
  z-index: 1;
  border-left: 4px solid var(--wl);
}

.wl-dot {
  width: 7px;
  height: 7px;
  border-radius: 4px;
  background: #d6dce6;
}

.wl-portal b {
  margin-left: 6px;
  font-size: 13px;
}

.wl-portal small {
  font-size: 12px;
  color: var(--muted);
}

.wl-cap {
  position: absolute;
  right: 0;
  bottom: 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
}

.wl-promise {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.wl-promise li {
  padding: 20px 22px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  gap: 4px;
}

.wl-promise b {
  font-size: 16px;
  color: var(--ink);
  padding-left: 26px;
  position: relative;
}

.wl-promise b::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 8px;
  background: var(--orange);
}

.wl-promise b::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 7px;
  width: 6px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.wl-promise span {
  font-size: 14px;
  color: var(--body);
  padding-left: 26px;
}

@media (max-width: 980px) {
  .wl-panel {
    grid-template-columns: 1fr;
  }

  .wl-stage {
    min-height: 640px;
    width: 100%;
    max-width: 600px;
    margin: 8px auto 0;
  }
}

@media (max-width: 720px) {
  .wl-promise {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .wl-stage {
    min-height: 0;
    display: grid;
    gap: 14px;
  }

  .wl-cover,
  .wl-mail,
  .wl-portal {
    position: static;
    width: 100%;
  }

  .wl-portal {
    order: -1;
  }

  .wl-cap {
    position: static;
    color: var(--muted);
  }

  .wl-meta {
    grid-template-columns: 1fr;
  }
}

.nav {
  gap: 24px;
}

@media (min-width: 1321px) {
  .nav > a {
    display: inline-flex !important;
    align-items: center;
    white-space: nowrap;
  }
}

[data-aud="pro"] .nav > a.v-co,
[data-aud="co"] .nav > a.v-pro {
  display: none !important;
}

.head-login {
  white-space: nowrap;
  margin: 0 !important;
  padding: 10px 0 !important;
}

.site-head .head-row {
  column-gap: 24px;
}

.site-head .head-cta {
  margin-left: 4px;
}

.nav-res {
  position: relative;
}

.nav-res-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--on-navy);
  cursor: pointer;
  white-space: nowrap;
}

.nav-res-btn:hover,
.nav-res-btn[aria-expanded="true"] {
  color: #fff;
}

.nav-res-btn svg {
  transition: transform 0.2s var(--ease);
}

.nav-res-btn[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.nav-res-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: 360px;
  padding: 8px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 24px 48px -18px rgba(5, 15, 35, 0.45);
  display: grid;
  gap: 2px;
  z-index: 60;
}

.nav-res-menu[hidden] {
  display: none;
}

.nav-res-menu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.nav-res-menu a {
  display: grid !important;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px !important;
  border-radius: 10px;
  color: var(--ink) !important;
  text-decoration: none;
  white-space: normal;
}

.nav-res-menu a:hover,
.nav-res-menu a:focus-visible {
  background: var(--soft);
}

.nav-res-menu .ri {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #eef3fa;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-res-menu b {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.3;
}

.nav-res-menu small {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}

@media (max-width: 1240px) {
  .nav {
    gap: 18px;
  }

  .site-head .head-row {
    column-gap: 18px;
  }
}

.prep {
  margin-top: 56px;
}

.prep h3 {
  font-size: clamp(24px, 2.6vw, 30px);
  letter-spacing: -0.02em;
}

.prep-sub {
  margin-top: 8px;
  color: var(--body);
}

.prep-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.prep-a,
.prep-b {
  padding: 26px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: #fff;
}

.prep-b {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.prep-grid span {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
}

.prep-b span {
  color: var(--on-navy-2);
}

.prep-grid h4 {
  margin: 6px 0 0;
  font-size: 18px;
}

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

.prep-grid li {
  position: relative;
  padding-left: 28px;
  font-size: 14.5px;
  color: var(--body);
}

.prep-b li {
  color: var(--on-navy);
}

.prep-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 9px;
  background: var(--orange);
}

.prep-grid li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 7px;
  width: 6px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.prep-note {
  margin-top: 16px;
  padding: 16px 20px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}

.four-wrap {
  overflow-x: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: #fff;
}

.four-t {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 14.5px;
}

.four-t th,
.four-t td {
  text-align: left;
  vertical-align: top;
  padding: 16px 18px;
  border-top: 1px solid var(--line-soft);
}

.four-t thead th {
  border-top: 0;
  font-size: 13.5px;
  color: var(--ink);
}

.four-t tbody th {
  font-weight: 600;
  width: 20%;
}

.four-t td {
  color: var(--body);
}

.four-t .tv {
  background: #f2f7fd;
  color: var(--ink);
  font-weight: 600;
}

.four-t thead .tv {
  background: var(--navy);
  color: #fff;
}

#pricing-plans .plans-block {
  margin-top: clamp(56px, 7vw, 88px);
}

.fp {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.fp h3 {
  font-size: 15px;
}

.fp ul {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.fp li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: var(--body);
}

.fp li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 8px;
  background: var(--orange);
}

@media (max-width: 900px) {
  .prep-grid,
  .fp {
    grid-template-columns: 1fr;
  }
}

.pform .fields {
  margin-top: 22px;
  grid-template-columns: 1fr 1fr;
  gap: 18px 12px;
}

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

.req {
  color: var(--orange);
}

.pform .field input,
.pform .field select {
  height: 46px;
  border: 1px solid #9aa6b8;
  border-radius: 8px;
  font-size: 16px;
  padding: 0 14px;
  background: #fff;
  color: var(--ink);
}

.pform .field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M0 0h12L6 8z' fill='%2312213C'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.pform .btn {
  margin-top: 20px;
  height: 48px;
  border-radius: 10px;
}

.pform .form-msg:empty {
  display: none;
}

.pform-note {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--body);
}

@media (max-width: 520px) {
  .pform .fields {
    grid-template-columns: 1fr;
  }
}

/* partner form polish */
.pform {
  position: relative;
}

.pform h3 {
  font-size: 24px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 12px;
}

.pform h3::before {
  content: "";
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff1e9
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23E0581F' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 10h18'/%3E%3C/svg%3E")
    center/20px no-repeat;
}

.pform .intro {
  margin-top: 10px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15px;
  line-height: 1.55;
}

.pform .fields {
  margin-top: 22px;
  gap: 18px 14px;
}

.pform .field label {
  font-size: 14px;
  margin-bottom: 7px;
}

.pform .field input,
.pform .field select {
  height: 48px;
  border: 1px solid #d3dae5;
  border-radius: 10px;
  background-color: #f9fbfd;
  transition:
    border-color 0.15s,
    box-shadow 0.15s,
    background-color 0.15s;
}

.pform .field input:hover,
.pform .field select:hover {
  border-color: #afbacb;
}

.pform .field input:focus,
.pform .field select:focus {
  outline: none;
  border-color: var(--navy);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(18, 70, 134, 0.12);
}

.pform .field input[aria-invalid="true"] {
  border-color: #b42318;
  box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.1);
}

.pform .field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235A6B85' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

.pform .btn {
  margin-top: 24px;
  height: 52px;
  border-radius: 12px;
  font-size: 16px;
  gap: 10px;
}

.pform .btn::after {
  content: "";
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E")
    center/16px no-repeat;
  transition: transform 0.18s var(--ease);
}

.pform .btn:hover::after {
  transform: translateX(3px);
}

.pform .btn[aria-busy="true"]::after {
  display: none;
}

.pform-note {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

.pform-note::before {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235A6B85' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E")
    center/14px no-repeat;
}

.ag.flag .tick {
  background: #fff !important;
  border: 2px solid var(--orange);
  color: var(--orange-text) !important;
  font-weight: 800;
}

.ag .nm small {
  display: block;
  margin-top: 1px;
  font-size: 10.5px;
  line-height: 1.25;
  font-weight: 600;
  color: var(--orange-text);
}

.q-val {
  margin-left: auto;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.q-val.big {
  font-size: 22px;
  letter-spacing: -0.02em;
}

.q-val.keep {
  color: var(--orange-text);
  font-size: 17px;
}

.q-foot .keep strong {
  color: var(--ink);
}

.pform .field.span2 {
  grid-column: 1/-1;
}

.pform h3.pform-study::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23E0581F' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5M9 13h6M9 17h4'/%3E%3C/svg%3E");
}

.pform .consent {
  margin-top: 20px;
  font-size: 13.5px;
  line-height: 1.5;
}

.pform .form-alt {
  margin-top: 16px;
  font-size: 14.5px;
}

.pform .signin {
  color: var(--orange-text);
  font-weight: 700;
  text-decoration: none;
}

.pform .signin:hover {
  text-decoration: underline;
}

/* forms */
.field select {
  width: 100%;
  height: 46px;
  border: 1px solid #c9d3e1;
  border-radius: 8px;
  padding: 0 12px;
  font: inherit;
  font-size: 16px;
  background: #fff;
  color: var(--ink);
}

.field .err {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #b42318;
}

.field input[aria-invalid="true"] {
  border-color: #b42318;
}

.consent.invalid {
  color: #b42318;
}

.form-msg.ok {
  color: #0f7a5c;
}

.form-alt {
  margin-top: 12px;
  font-size: 14px;
  color: var(--body);
  text-align: center;
}

.link-btn {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-weight: 600;
  color: var(--navy);
  text-decoration: underline;
  cursor: pointer;
}

.link-btn:disabled {
  color: var(--muted);
  text-decoration: none;
  cursor: default;
}

.btn[aria-busy="true"] {
  opacity: 0.75;
  cursor: progress;
}

@media (max-width: 1100px) {
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 900px) {
  .econ,
  .wl {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 640px) {
  .plans,
  .onb ol {
    grid-template-columns: 1fr;
  }

  .plan-for {
    min-height: 0;
  }

  .econ-in,
  .econ-out {
    padding: 22px;
  }

  .wl-meta {
    grid-template-columns: 1fr;
  }
}

/* Logo is an inline SVG (not the concept PNG wordmark) */
.brand .brand-logo,
.brand svg {
  height: 26px;
  width: auto;
  max-width: none;
}

.site-head.scrolled .brand .brand-logo,
.site-head.is-compact .brand .brand-logo {
  height: 22px;
}

.foot .about .brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.foot .about .brand-logo,
.foot .about svg {
  height: 26px;
  width: auto;
  max-width: none;
}

/* Compact inner-page header: logo + Home */
.site-head.is-compact,
body.inner-page .site-head {
  background: rgba(18, 70, 134, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-head.is-compact .head-row {
  height: 62px;
}

.site-head.is-compact .nav,
.site-head.is-compact .mobile-nav,
.site-head.is-compact .head-login,
.site-head.is-compact .head-cta.v-pro,
.site-head.is-compact .head-cta.v-co,
.site-head.is-compact .menu-btn {
  display: none !important;
}

.site-head.is-compact .head-home {
  display: inline-flex;
  margin-left: auto;
}

.head-home {
  display: none;
}

body:has(.legal-hero) .mbar,
body:has(.signup-page) .mbar,
body:has(.estimator-page) .mbar {
  display: none !important;
}

/* Partner / start-study inline validation inside the new form card */
#partner-form .req,
.start-signup .req {
  color: var(--orange);
}

#partner-form .ferr,
.start-signup .error-msg {
  display: block;
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: #c62828;
}

#partner-form .ferr:empty,
.start-signup .error-msg:empty {
  display: none;
}

#partner-form [aria-invalid="true"],
.start-signup [aria-invalid="true"] {
  border-color: #c62828;
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.12);
}

.start-signup .register-container {
  flex-direction: column;
  width: 100%;
  display: flex;
}

.start-signup .form-fields-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 14px;
  margin-top: 22px;
}

.start-signup .form-fields-container > input[type="hidden"] {
  display: none;
}

@media (max-width: 520px) {
  .start-signup .form-fields-container {
    grid-template-columns: 1fr;
  }
}

.start-signup .code-inputs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 8px 0 18px;
  width: 100%;
}

.start-signup .code-input {
  width: 100%;
  min-width: 0;
  height: 56px;
  padding: 0;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  border: 1px solid #d3dae5;
  border-radius: 10px;
  background: #f9fbfd;
  color: var(--ink);
}

.start-signup .code-input:focus {
  outline: none;
  border-color: var(--navy);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(18, 70, 134, 0.12);
}

.start-signup .signup-otp-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 16px;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 12px;
}

.start-signup .signup-warn {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: var(--r-ctl);
  background: var(--orange-tint);
  color: var(--ink);
  font-size: 13.5px;
}

.start-signup .cta-large8 {
  display: block;
  width: 100%;
  margin: 16px 0 0;
  padding: 4px 0 0;
  text-align: center;
  font-weight: 600;
  color: var(--orange);
  text-decoration: none;
}

.start-signup .cta-large8:hover {
  color: var(--orange-deep);
}

.start-signup .signup-success {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.start-signup .signup-success-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.start-signup .loader {
  margin-left: 8px;
}

.start-signup .consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 16px 0;
  font-size: 14px;
  color: var(--body);
}

.start-signup .consent.invalid {
  color: #c62828;
}

/* Speak-to-expert modal (existing TaxVantage) */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(var(--black-rgb), 0.58);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  z-index: 999;
}

.expert-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 32px;
  z-index: 1000;
  animation: modalFadeIn 0.25s ease-in-out;
  background: white;
  border-radius: 16px;
  box-shadow: rgba(var(--black-rgb), 0.15) 0px 10px 40px;
  min-width: 360px;
  max-width: 400px;
}

.calendly-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 32px;
  z-index: 1000;
  animation: modalFadeIn 0.25s ease-in-out;
  background: white;
  border-radius: 16px;
  box-shadow: rgba(var(--black-rgb), 0.15) 0px 10px 40px;
  min-width: 1180px;
  max-width: 1280px;
  width: min(1280px, calc(100vw - 40px));
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calendly-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.modal-header h2 {
  margin-top: 0px;
  margin-bottom: 8px;
  font-size: 22px;
  font-weight: 700;
  color: var(--modal-title);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--modal-muted);
  line-height: 1;
  font-size: 30px;
  margin-top: -20px;
}

.modal-sub {
  margin: 0px 0px 24px;
  font-size: 14px;
  color: var(--modal-sub) !important;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  text-align: left;
}

.modal-option {
  margin-top: 18px;
  padding: 16px;
  margin-bottom: 12px;
  background: white;
  color: var(--modal-title) !important;
  border: 1px solid var(--modal-border) !important;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  transition: 0.2s;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  text-decoration: none;
}

.modal-option:hover {
  border-color: var(--modal-focus) !important;
  background: var(--modal-focus-bg);
}

.icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--orange-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modal-option h3 {
  font-weight: 700;
  margin-bottom: 4px !important;
  font-size: 16px;
  margin-top: 0;
}

.modal-option p {
  margin: 2px 0 0 !important;
  font-size: 13px;
  color: var(--modal-sub) !important;
  font-weight: 400;
  line-height: 1.4;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -48%);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

/* Calendly iframe container - responsive */
.calendly-frame-wrap {
  margin-top: 16px;
  height: 700px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--modal-line);
}

.calendly-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 1240px) {
  .calendly-modal {
    min-width: 0;
    width: calc(100vw - 24px);
    max-width: 100%;
    padding: 16px;
  }
}

/* Calendly's own popup widget (Book a partner call) */
.calendly-overlay {
  background: rgba(15, 23, 42, 0.46) !important;
  backdrop-filter: blur(14px) saturate(1.12) !important;
  -webkit-backdrop-filter: blur(14px) saturate(1.12) !important;
}

.calendly-overlay .calendly-close-overlay {
  background: transparent !important;
}

.calendly-overlay .calendly-popup {
  width: min(1240px, calc(100vw - 36px)) !important;
  max-width: 1240px !important;
  height: min(780px, calc(100vh - 40px)) !important;
}

.calendly-overlay .calendly-popup-content {
  max-width: none !important;
  height: 100% !important;
}

@media (max-width: 560px) {
  .calendly-frame-wrap {
    height: 600px;
  }
}

body:has(.legal-hero) .mbar,
body:has(.signup-page) .mbar,
body:has(.estimator-page) .mbar {
  display: none !important;
}

/* Inner legal pages */
.legal-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--blue-dark);
  color: var(--white);
  padding: clamp(28px, 3.4vw, 48px) 0 56px;
}

.legal-hero::before {
  content: "";
  position: absolute;
  inset: -10%;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(
      46% 58% at 74% 40%,
      rgba(var(--blue-light-rgb), 0.85),
      transparent 70%
    ),
    radial-gradient(
      640px 380px at 98% -4%,
      rgba(var(--orange-rgb), 0.22),
      transparent 62%
    ),
    radial-gradient(
      52% 60% at -4% 104%,
      rgba(var(--blue-rgb), 0.75),
      transparent 70%
    );
}

.legal-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(
    rgba(var(--white-rgb), 0.12) 1.2px,
    transparent 1.3px
  );
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(
    60% 72% at 74% 42%,
    #000 25%,
    transparent 78%
  );
  mask-image: radial-gradient(60% 72% at 74% 42%, #000 25%, transparent 78%);
}

.legal-hero .wrap {
  position: relative;
  z-index: 1;
}

.legal-kicker {
  margin: 0 0 18px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
}

.legal-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 24px 44px;
  align-items: end;
}

.legal-hero h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.legal-sub {
  margin: 0;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.45;
  color: var(--white);
}

.legal-hero .legal-updated {
  margin: 8px 0 0;
  font-size: 14.5px;
  color: var(--blue-mist);
}

.legal-page {
  background: var(--bg-2);
  padding: 64px 0 104px;
}

.legal-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 88px;
  max-height: calc(100vh - 112px);
  overflow-y: auto;
  padding: 22px 20px;
  border-radius: var(--r-panel);
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line-3);
}

.legal-toc-title {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

.legal-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 2px;
}

.legal-toc a {
  display: block;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--text);
  text-decoration: none;
}

.legal-toc a:hover {
  background: var(--bg-2);
  color: var(--blue);
}

.legal-toc a.is-current,
.legal-toc a[aria-current="location"] {
  background: rgba(var(--blue-rgb), 0.08);
  color: var(--blue);
  font-weight: 600;
}

.legal-body {
  min-width: 0;
  max-width: 820px;
  padding: 44px 48px;
  border-radius: var(--r-panel);
  background: var(--white);
  box-shadow:
    0 0 0 1px var(--line-3),
    0 18px 44px rgba(var(--blue-rgb), 0.06);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
}

.legal-body h2 {
  margin: 48px 0 14px;
  padding-top: 32px;
  border-top: 1px solid var(--line-3);
  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--ink);
  scroll-margin-top: 96px;
}

.legal-body h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.legal-body h2.legal-part {
  color: var(--blue);
  font-size: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-body h3 {
  margin: 30px 0 10px;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--blue);
}

.legal-body h4 {
  margin: 24px 0 8px;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--ink);
}

.legal-body p {
  margin: 0 0 14px;
}

.legal-body ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

.legal-body li {
  margin-bottom: 8px;
}

.legal-body li::marker {
  color: var(--orange);
}

.legal-body a {
  color: var(--blue);
  text-decoration: underline;
  overflow-wrap: anywhere;
}

.legal-body a:hover {
  color: var(--orange);
}

.legal-address {
  padding: 16px 20px;
  border-radius: var(--r-card);
  background: rgba(var(--blue-rgb), 0.08);
  color: var(--ink);
}

.legal-body .legal-updated {
  margin-top: 8px;
  font-size: 14px;
  color: var(--gray-blue);
}

@media (max-width: 1024px) {
  .legal-hero-grid,
  .legal-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .legal-toc {
    position: static;
    max-height: none;
  }

  .legal-toc ol {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }

  .legal-body {
    max-width: none;
    padding: 28px 22px;
  }
}

@media (max-width: 600px) {
  .legal-hero {
    padding-bottom: 40px;
  }

  .legal-hero h1 {
    font-size: 28px;
  }

  .legal-sub {
    font-size: 18px;
  }

  .legal-page {
    padding: 28px 0 64px;
  }

  .legal-toc {
    display: none;
  }

  .legal-body {
    padding: 28px 20px;
    font-size: 15px;
  }

  .legal-body h2 {
    font-size: 21px;
  }

  .legal-body h3 {
    font-size: 17px;
  }
}

.signup-hero h1 {
  max-width: 16ch;
  margin-bottom: 14px;
}

.signup-hero .legal-sub {
  max-width: 38ch;
}

/* Inner-page form primitives (sign-up / affiliate / white-label).
   Dropped when the homepage concept CSS was swapped in; header/footer stay new. */
.tk {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--orange);
  display: grid;
  place-items: center;
  flex: none;
}

.tk svg {
  width: 11px;
  height: 11px;
}

.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}

.ticks li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--text);
}

.ticks .tk {
  margin-top: 1px;
}

.proofline {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text);
}

.proofline b {
  font-weight: 700;
  color: var(--ink);
}

.form-card {
  background: var(--white);
  border-radius: var(--r-panel);
  padding: 32px;
  box-shadow: 0 40px 80px -40px rgba(var(--ink-rgb), 0.55);
}

.form-card h3 {
  margin-bottom: 6px;
}

.form-card .hint {
  font-size: 14.5px;
  color: var(--text);
  margin-bottom: 20px;
}

.ffield {
  margin-bottom: 14px;
}

.ffield label {
  display: block;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 6px;
}

.input {
  width: 100%;
  font: 500 16px var(--font);
  padding: 12px 14px;
  border: 1.5px solid var(--gray-blue);
  border-radius: var(--r-ctl);
  background: var(--white);
  color: var(--ink);
  box-sizing: border-box;
}

.input:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--blue-rgb), 0.2);
}

select.input {
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 50%,
    calc(100% - 14px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.frow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.fcheck {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink);
  margin: 6px 0 14px;
}

.fcheck input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex: none;
  accent-color: var(--orange);
}

.form-card .btn {
  width: 100%;
}

.privacy {
  font-size: 13px;
  color: var(--text);
  margin-top: 14px;
}

.privacy a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.next-list {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line-2);
}

.next-list > p {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.next-list ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: nx;
  display: grid;
  gap: 9px;
}

.next-list li {
  counter-increment: nx;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text);
}

.next-list li::before {
  content: counter(nx);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-4);
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
}

.form-done {
  padding: 6px 0 2px;
}

.form-done[hidden] {
  display: none;
}

.form-done strong {
  display: block;
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 6px;
}

@media (max-width: 480px) {
  .frow {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Sign-up */
.signup-page {
  background: var(--bg-2);
  padding: 56px 0 104px;
}

.signup-page .register-container {
  display: flex;
  width: 100%;
  gap: 64px;
  align-items: start;
  justify-content: space-between;
}

.signup-aside {
  flex: 1 1 44%;
  min-width: 0;
  max-width: 560px;
  position: sticky;
  top: 96px;
}

.signup-aside-kicker {
  margin: 0 0 12px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
}

.signup-aside h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.2;
  color: var(--ink);
}

.signup-aside .lead {
  margin: 0 0 22px;
}

.signup-aside .ticks {
  margin-bottom: 24px;
}

.signup-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.signup-split article {
  padding: 18px 18px 20px;
  border-radius: var(--r-card);
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line-3);
}

.signup-split h3 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
}

.signup-split p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text);
}

.signup-split a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}

.signup-split a:hover {
  color: var(--orange);
}

.signup-aside .proofline {
  margin: 22px 0 0;
  white-space: nowrap;
  text-wrap: nowrap;
}

.signup-card {
  flex: 1 1 46%;
  max-width: 520px;
  min-width: 0;
  box-shadow:
    0 0 0 1px var(--line-3),
    0 18px 44px rgba(var(--blue-rgb), 0.06);
}

.signup-card h3 {
  margin: 0 0 6px;
  font-size: 22px;
  color: var(--ink);
}

.signup-page .form-fields-container {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.signup-page .req {
  color: var(--orange);
}

.signup-page .error-msg {
  display: block;
  min-height: 0;
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: #c62828;
}

.signup-page .fcheck {
  margin: 4px 0 8px;
}

.signup-page .fcheck a {
  color: var(--blue);
}

.signup-page .btn {
  width: 100%;
  margin-top: 8px;
}

.signup-login {
  margin: 16px 0 0;
  text-align: center;
  font-size: 15px;
  color: var(--text);
}

.signup-login a {
  font-weight: 600;
  color: var(--orange);
  text-decoration: none;
}

.signup-login a:hover {
  color: var(--orange-deep);
}

.code-inputs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 8px 0 18px;
}

.code-input {
  width: 100%;
  height: 56px;
  padding: 0;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.signup-otp-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 12px;
}

.signup-otp-meta .time-value,
.signup-otp-meta .resend-link {
  color: var(--orange);
  font-weight: 600;
  text-decoration: none;
}

.signup-warn {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: var(--r-ctl);
  background: var(--orange-tint);
  color: var(--ink);
  font-size: 13.5px;
}

.cta-large8 {
  display: block;
  margin-top: 14px;
  text-align: center;
  font-weight: 600;
  color: var(--orange);
  text-decoration: none;
}

.cta-large8:hover {
  color: var(--orange-deep);
}

.signup-page .register-container:has(.signup-success) {
  justify-content: center;
}

.signup-success {
  max-width: 640px;
  flex: 1 1 auto;
  text-align: center;
  padding: 48px 40px;
}

.signup-success img {
  margin: 0 auto 18px;
}

.signup-success h3 {
  font-size: 28px;
  color: var(--blue);
}

.signup-success p {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.6;
}

.signup-success-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}

.signup-success-cta .btn {
  width: auto;
  min-width: 180px;
  margin-top: 0;
}

/* Home "Book a partner call" form — inline validation (form is novalidate) */
#partner-form .req {
  color: var(--orange);
}

#partner-form .ferr {
  display: block;
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: #c62828;
}

#partner-form .ferr:empty {
  display: none;
}

#partner-form .input[aria-invalid="true"] {
  border-color: #c62828;
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.12);
}

/* Home "Start my study" card — same sign-up steps as .signup-page, laid out inside one card */
.start-signup .register-container {
  flex-direction: column;
  width: 100%;
}

.start-signup .form-fields-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 14px;
  margin-top: 22px;
}

.start-signup .req {
  color: var(--orange);
}

.start-signup .error-msg {
  display: block;
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: #c62828;
}

.start-signup .error-msg:empty {
  display: none;
}

.start-signup .fcheck {
  margin: 4px 0 8px;
  font-size: 14px;
}

.start-signup .fcheck a {
  color: var(--blue);
}

.start-signup .btn {
  width: 100%;
  margin-top: 8px;
}

.start-signup .signup-success {
  padding: 8px 0 0;
}

.start-signup .signup-success h3 {
  font-size: 24px;
}

.start-signup .signup-success-cta .btn {
  width: auto;
  margin-top: 0;
}

@media (max-width: 900px) {
  .signup-page .register-container {
    flex-direction: column;
    gap: 28px;
  }

  .signup-aside,
  .signup-card {
    max-width: none;
    flex: 1 1 auto;
  }

  .signup-aside {
    position: static;
  }

  .signup-aside .proofline {
    white-space: normal;
    text-wrap: wrap;
  }

  .signup-card {
    order: -1;
  }

  .signup-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .signup-page {
    padding: 28px 0 64px;
  }

  .signup-card,
  .signup-success {
    padding: 24px 20px;
  }

  .code-inputs {
    gap: 6px;
  }

  .code-input {
    height: 48px;
    font-size: 18px;
  }

  .signup-success-cta .btn {
    width: 100%;
  }
}

/* Estimator */
.estimator-hero h1 {
  max-width: 22ch;
}

.estimator-hero .legal-sub {
  max-width: 48ch;
}

.estimator-page {
  background: var(--bg-2);
  padding: 48px 0 64px;
}

.estimator-page .main-content-container,
.estimator-page .main-content-container4 {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.estimator-page .form-container,
.estimator-page .container8 {
  width: 100%;
}

.estimator-page .form-container {
  background: var(--white);
  border-radius: var(--r-panel);
  padding: 32px 36px 28px;
  box-shadow: 0 40px 80px -40px rgba(var(--ink-rgb), 0.45);
}

.estimator-page .form-header-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.estimator-page .form-step-container {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.estimator-page .step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

.estimator-page .step-title {
  margin: 0;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.25;
  color: var(--ink);
}

.estimator-page .step-info-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.estimator-page .pre-screening-text {
  font-size: 13px;
  font-style: italic;
  color: var(--text);
}

.estimator-page .step-progress-container {
  border: 0;
  background: var(--orange-tint);
  color: var(--orange-deep);
  font: 700 12px/1 var(--font);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 999px;
}

.estimator-page .form-fields-container,
.estimator-page .form-content,
.estimator-page .content-container {
  flex-direction: column;
  gap: 16px;
}

.estimator-page .field-container,
.estimator-page .formtxt-input,
.estimator-page .formdropdown,
.estimator-page .formtxt-input3,
.estimator-page .formtxt-input12,
.estimator-page .budget-item-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.estimator-page .label-htmlfield,
.estimator-page .label-htmlfield13 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.estimator-page .copy,
.estimator-page .footer-note {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}

.estimator-page .iconset-info15x15,
.estimator-page .iconset-info15x154,
.estimator-page .iconset-arrow15x15,
.estimator-page .label-htmlfield4 {
  display: none;
}

.estimator-page .textbox,
.estimator-page .textbox2,
.estimator-page .textbox4 {
  width: 100%;
}

.estimator-page .select,
.estimator-page .text-field-data,
.estimator-page .text-field-data3,
.estimator-page .styled-select {
  width: 100%;
  font: 500 16px var(--font);
  padding: 12px 14px;
  border: 1.5px solid var(--gray-blue);
  border-radius: var(--r-ctl);
  background: var(--white);
  color: var(--ink);
}

.estimator-page input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

.estimator-page input[type="number"]::-webkit-outer-spin-button,
.estimator-page input[type="number"]::-webkit-inner-spin-button {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
}

.estimator-page .select:focus,
.estimator-page .text-field-data:focus,
.estimator-page .text-field-data3:focus,
.estimator-page .styled-select:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--blue-rgb), 0.2);
}

.estimator-page select.styled-select,
.estimator-page select.select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 50%,
    calc(100% - 14px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.estimator-page .field-description,
.estimator-page .budget-note,
.estimator-page .content-container > .footer-note {
  font-size: 14px;
  font-style: italic;
  color: var(--text);
  font-weight: 400;
}

.estimator-page .checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-card);
  background: var(--white);
}

.estimator-page .radiocheckboxclose {
  flex-shrink: 0;
  padding-top: 2px;
}

.estimator-page .checkbox-input,
.estimator-page .test,
.estimator-page .industry-q,
.estimator-page input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--orange);
}

.estimator-page .checkbox .label,
.estimator-page .checkbox-label {
  font-size: 15.5px;
  line-height: 1.45;
  color: var(--ink);
}

.estimator-page .eg-coatings-concrete {
  display: block;
  margin-top: 4px;
  font-size: 13.5px;
  color: var(--text);
}

.estimator-page .info-container {
  background: var(--bg-4);
  border-radius: var(--r-card);
  padding: 14px 16px;
}

.estimator-page .info-text {
  font-size: 14.5px;
  color: var(--text);
}

.estimator-page .industry-block {
  display: none;
  flex-direction: column;
  gap: 16px;
}

.estimator-page .industry-block .hint {
  margin: 0;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}

.estimator-page .table-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-x: auto;
}

.estimator-page .table-header,
.estimator-page .table-row,
.estimator-page .table-row3 {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.8fr 1.1fr;
  gap: 12px;
  align-items: center;
  min-width: 640px;
}

.estimator-page .table-header {
  padding: 0 4px 8px;
  border-bottom: 1px solid var(--line-2);
}

.estimator-page .full-name-header,
.estimator-page .email-header2 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}

.estimator-page .role-type {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}

.estimator-page .budget-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
}

.estimator-page .container8 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.estimator-page .frame-parent,
.estimator-page .frame-group {
  background: var(--white);
  border-radius: var(--r-panel);
  overflow: visible;
  box-shadow: 0 40px 80px -40px rgba(var(--ink-rgb), 0.45);
  display: flex;
  flex-direction: column;
}

.estimator-page .see-your-potential-rd-tax-cre-wrapper {
  background: var(--blue-dark);
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--r-panel) var(--r-panel) 0 0;
}

.estimator-page .see-your-potential,
.estimator-page .estimated-rd-tax {
  margin: 0;
  color: var(--white);
  font-size: 20px;
  line-height: 1.3;
}

.estimator-page .inputs-container-parent,
.estimator-page .value-container-parent {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
}

.estimator-page .inputs-container {
  display: flex;
  flex-direction: column;
}

.estimator-page .qualified-wages-est-parent,
.estimator-page .total-qres-parent {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-2);
  font-size: 15px;
  color: var(--text);
}

.estimator-page .total-qres-parent {
  border-bottom: 0;
  padding-top: 14px;
  color: var(--ink);
  font-size: 16px;
}

.estimator-page .inputs-values,
.estimator-page .total-qres,
.estimator-page #qreTotal2 {
  font-weight: 700;
  color: var(--ink);
}

.estimator-page .screening-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.estimator-page .screening-fields {
  border: 1.5px solid var(--line-2);
  background: var(--bg-3);
  border-radius: 999px;
  padding: 8px 12px;
  font: 600 13px var(--font);
  color: var(--ink);
}

.estimator-page .screening-fields .value {
  color: var(--orange);
  margin-left: 4px;
}

.estimator-page .pre-screening {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 8px;
}

.estimator-page .federal-credit-estimated-at-7 {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text);
}

.estimator-page .value-container {
  overflow: visible;
}

.estimator-page .potential-annual-credit {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: var(--text);
}

.estimator-page .est-main {
  margin: 8px 0 6px;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.1;
  color: var(--ink);
}

.estimator-page .est-range {
  font-size: 14.5px;
  color: var(--text);
}

.estimator-page .meter {
  width: 100%;
  height: 10px;
  padding: 0;
  border: 0;
  background: var(--line-2);
  border-radius: 999px;
  overflow: hidden;
  margin: 16px 0;
}

.estimator-page .meter-bar {
  display: block;
  height: 10px;
  width: 0;
  min-width: 0;
  border-radius: 0;
  background: linear-gradient(to right, var(--blue), var(--orange));
  transition: width 0.3s ease;
}

.estimator-page .total-estimated-qres-0-parent {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.estimator-page .ellipse-parent {
  display: flex;
  align-items: center;
  gap: 8px;
}

.estimator-page .frame-child {
  display: none;
}

.estimator-page .fit-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f97316;
  display: inline-block;
  flex-shrink: 0;
}

.estimator-page .estimator-cta-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.estimator-page .estimator-cta-row .btn {
  width: 100%;
}

.estimator-page .this-tool-is {
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
}

.estimator-page .estimator-mid-estimate-info {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  line-height: 0;
}

.estimator-page .estimator-mid-estimate-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  width: max-content;
  max-width: min(280px, calc(100vw - 32px));
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font: 400 12px/1.45 var(--font);
  text-align: left;
  white-space: normal;
  z-index: 30;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.estimator-page .estimator-mid-estimate-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--ink);
}

.estimator-page
  .estimator-mid-estimate-info:hover
  .estimator-mid-estimate-tooltip,
.estimator-page
  .estimator-mid-estimate-info:focus
  .estimator-mid-estimate-tooltip,
.estimator-page
  .estimator-mid-estimate-info:focus-visible
  .estimator-mid-estimate-tooltip {
  opacity: 1;
  visibility: visible;
}

.estimator-page .form-actions-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  padding: 0;
  background: transparent;
  border: 0;
  position: static;
}

.estimator-page .estimator-next-wrap {
  display: inline-flex;
}

.estimator-page #back-button,
.estimator-page #next-button {
  width: 140px;
  min-width: 140px;
  padding-left: 16px;
  padding-right: 16px;
}

.estimator-page .form-actions-container.is-overview #next-button {
  width: auto;
  min-width: 200px;
  padding-left: 20px;
  padding-right: 20px;
}

@media (max-width: 900px) {
  .estimator-page .container8,
  .estimator-page .budget-container {
    grid-template-columns: 1fr;
  }

  .estimator-page .form-container {
    padding: 24px 20px 32px;
  }

  .estimator-page .form-header-container {
    flex-direction: column;
  }

  .estimator-page .step-info-container {
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .estimator-page {
    padding: 28px 0 48px;
  }

  .estimator-page .table-header,
  .estimator-page .table-row,
  .estimator-page .table-row3 {
    min-width: 560px;
  }

  .estimator-page .form-actions-container {
    margin-top: 20px;
  }

  .estimator-page #back-button,
  .estimator-page #next-button {
    flex: 1;
    min-width: 0;
  }
}

body:has(.white-label-page) .mbar,
body:has(.become-an-affiliate) .mbar {
  display: none !important;
}

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

.become-an-affiliate .signup-card .form-fields-container {
  display: flex;
  flex-direction: column;
}

.become-an-affiliate .signup-success {
  max-width: 640px;
  margin: 0 auto;
}

.wl-head {
  max-width: 720px;
  margin: 0 0 40px;
}

.wl-head h2 {
  margin: 0 0 12px;
}

.wl-grid,
.wl-steps,
.wl-audience {
  display: grid;
  gap: 18px;
}

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

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

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

.wl-card {
  background: var(--white);
  border-radius: var(--r-card);
  box-shadow: 0 0 0 1px var(--line-3);
  padding: 22px 22px 24px;
}

.section.bg-2 .wl-card {
  box-shadow:
    0 0 0 1px var(--line-3),
    0 12px 28px rgba(var(--blue-rgb), 0.05);
}

.wl-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--ink);
}

.wl-card p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--text);
}

.wl-step-n {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
}

.wl-audience-card {
  overflow: hidden;
  padding: 0 0 22px;
}

.wl-audience-card img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin-bottom: 18px;
}

.wl-audience-card h3,
.wl-audience-card p {
  padding: 0 22px;
}

.white-label-page .signup-card {
  max-width: 560px;
}

.white-label-page .signup-card .btn {
  margin: 8px 0 0;
}

@media (max-width: 900px) {
  .aff-name-row,
  .wl-grid,
  .wl-steps,
  .wl-audience {
    grid-template-columns: 1fr;
  }
}

/* Phones: Speak to an expert once the hero has scrolled away */
.mbar {
  display: none;
}

@media (max-width: 560px) {
  .mbar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(var(--white-rgb), 0.95);
    -webkit-backdrop-filter: saturate(1.2) blur(12px);
    backdrop-filter: saturate(1.2) blur(12px);
    box-shadow:
      0 -1px 0 var(--line-2),
      0 -14px 30px -22px rgba(var(--ink-rgb), 0.5);
    transform: translateY(110%);
    visibility: hidden;
    transition:
      transform 0.3s var(--ease),
      visibility 0s linear 0.3s;
  }

  .mbar.show {
    transform: none;
    visibility: visible;
    transition:
      transform 0.3s var(--ease),
      visibility 0s;
  }

  .mbar .btn {
    flex: 1;
    min-height: 48px;
  }

  .foot {
    padding-bottom: calc(48px + 70px + env(safe-area-inset-bottom, 0px));
  }
}
