:root {
  --fc-navy: #0b1d33;
  --fc-navy-700: #12294a;
  --fc-steel: #5d7fa6;
  --fc-steel-700: #3f5f85;
  --fc-red: #c8102e;
  --fc-red-dark: #951127;
  --fc-red-soft: #fff1f3;
  --fc-white: #ffffff;
  --fc-ink: #172033;
  --fc-body: #384454;
  --fc-muted: #687484;
  --fc-border: #dfe4ea;
  --fc-bg: #f6f8fb;
  --fc-soft: #eef3f8;
  --fc-success: #1f7a52;
  --font-display: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --shadow-sm: 0 8px 24px rgba(11, 29, 51, 0.07);
  --shadow-md: 0 18px 52px rgba(11, 29, 51, 0.11);
  --container: 1180px;
  --focus-ring: 0 0 0 4px rgba(93, 127, 166, 0.26);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--fc-body);
  background: var(--fc-white);
  font: 400 16px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--fc-white);
  background: var(--fc-navy);
  border-radius: var(--radius-sm);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(223, 228, 234, 0.9);
  backdrop-filter: blur(16px);
}

.nav-shell {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

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

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

.site-nav a {
  color: var(--fc-ink);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--fc-red);
}

.nav-login {
  padding: 9px 15px;
  border: 1px solid var(--fc-border);
  border-radius: 999px;
}

.nav-cta {
  padding: 10px 17px;
  color: var(--fc-white) !important;
  background: var(--fc-red);
  border-radius: 999px;
  box-shadow: 0 7px 16px rgba(200, 16, 46, 0.18);
}

.nav-cta:hover {
  background: var(--fc-red-dark);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  background: var(--fc-white);
  border: 1px solid var(--fc-border);
  border-radius: var(--radius-md);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--fc-navy);
  border-radius: 999px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  padding: 92px 0 70px;
  background:
    radial-gradient(circle at 88% 12%, rgba(200, 16, 46, 0.1), transparent 30%),
    linear-gradient(180deg, #fff 0%, #fff 72%, #fafbfc 100%);
}

.hero::before {
  position: absolute;
  top: 0;
  right: clamp(20px, 8vw, 150px);
  width: 12px;
  height: 210px;
  background: var(--fc-red);
  border-radius: 0 0 999px 999px;
  content: "";
  opacity: 0.92;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.07fr) minmax(390px, 0.93fr);
  align-items: center;
  gap: clamp(42px, 7vw, 94px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--fc-red-dark);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  background: var(--fc-red);
  content: "";
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--fc-navy);
  font-family: var(--font-display);
  letter-spacing: -0.032em;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  max-width: 780px;
  font-size: clamp(48px, 6vw, 78px);
  font-weight: 720;
}

h1 .accent {
  color: var(--fc-red);
}

h2 {
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 700;
}

h3 {
  font-size: 21px;
  font-weight: 680;
}

.hero-copy {
  max-width: 670px;
  margin: 26px 0 0;
  color: var(--fc-body);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.55;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--fc-white);
  background: var(--fc-red);
  box-shadow: 0 12px 24px rgba(200, 16, 46, 0.18);
}

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

.button-secondary {
  color: var(--fc-navy);
  background: var(--fc-white);
  border-color: var(--fc-border);
  box-shadow: var(--shadow-sm);
}

.button-secondary:hover {
  border-color: #b6c0cc;
}

.button-navy {
  color: var(--fc-white);
  background: var(--fc-navy);
  box-shadow: 0 12px 24px rgba(11, 29, 51, 0.18);
}

.button-navy:hover {
  background: var(--fc-navy-700);
}

.arrow {
  font-family: var(--font-mono);
  font-size: 16px;
}

.boundary-line {
  display: flex;
  max-width: 680px;
  align-items: flex-start;
  gap: 12px;
  margin-top: 28px;
  color: var(--fc-muted);
  font-size: 13px;
}

.boundary-line strong {
  color: var(--fc-navy);
}

.boundary-mark {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--fc-navy);
  border: 1px solid var(--fc-border);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}

.route-card {
  position: relative;
  min-height: 480px;
  padding: 34px;
  overflow: hidden;
  color: var(--fc-white);
  background: var(--fc-navy);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.route-card::after {
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 280px;
  height: 280px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  content: "";
}

.route-label {
  margin: 0;
  color: #b8c8d9;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.route-card h2 {
  max-width: 370px;
  margin-top: 12px;
  color: var(--fc-white);
  font-size: 32px;
}

.route-map {
  position: relative;
  height: 218px;
  margin-top: 42px;
}

.route-line {
  position: absolute;
  top: 92px;
  left: 18%;
  width: 61%;
  border-top: 2px dashed rgba(255, 255, 255, 0.44);
  transform: rotate(-8deg);
}

.route-line::after {
  position: absolute;
  top: -2px;
  right: 0;
  width: 44%;
  border-top: 2px dashed var(--fc-red);
  content: "";
}

.route-node {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 118px;
  height: 118px;
  place-items: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  backdrop-filter: blur(8px);
}

.route-node strong,
.route-node span {
  display: block;
}

.route-node strong {
  color: var(--fc-white);
  font-size: 15px;
}

.route-node span {
  margin-top: 2px;
  color: #b8c8d9;
  font-size: 11px;
}

.node-canada {
  top: 42px;
  left: 0;
}

.node-europe {
  right: 0;
  bottom: 14px;
  border-color: rgba(200, 16, 46, 0.8);
  box-shadow: 0 0 0 8px rgba(200, 16, 46, 0.11);
}

.route-proof {
  position: absolute;
  bottom: 26px;
  left: 34px;
  display: flex;
  gap: 20px;
  color: #dbe4ed;
  font-size: 12px;
}

.route-proof span::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  vertical-align: 1px;
  background: var(--fc-red);
  border-radius: 50%;
  content: "";
}

.trust-strip {
  background: var(--fc-navy);
}

.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  min-height: 96px;
  padding: 23px 24px;
  color: #c8d4e0;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

.trust-item:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-item strong {
  display: block;
  margin-bottom: 3px;
  color: var(--fc-white);
  font-size: 14px;
}

.section {
  padding: 112px 0;
}

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

.section-red-soft {
  background: linear-gradient(135deg, #fff 0%, var(--fc-red-soft) 100%);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 54px;
}

.section-heading p {
  max-width: 650px;
  margin: 0;
  color: var(--fc-muted);
  font-size: 18px;
}

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

.feature-card {
  position: relative;
  min-height: 282px;
  padding: 30px;
  overflow: hidden;
  background: var(--fc-white);
  border: 1px solid var(--fc-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.feature-card::after {
  position: absolute;
  right: -18px;
  bottom: -36px;
  color: rgba(11, 29, 51, 0.045);
  font: 700 108px/1 var(--font-mono);
  content: attr(data-number);
}

.card-kicker {
  margin: 0 0 18px;
  color: var(--fc-red);
  font: 700 12px/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-card p {
  position: relative;
  z-index: 1;
  margin: 16px 0 0;
  color: var(--fc-muted);
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  overflow: hidden;
  background: var(--fc-white);
  border: 1px solid var(--fc-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.workflow-step {
  position: relative;
  min-height: 250px;
  padding: 30px 26px;
  border-right: 1px solid var(--fc-border);
}

.workflow-step:last-child {
  border-right: 0;
}

.workflow-step:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 48px;
  right: -12px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: var(--fc-red);
  background: var(--fc-white);
  border: 1px solid var(--fc-border);
  border-radius: 50%;
  content: ">";
  font: 700 11px/1 var(--font-mono);
}

.step-number {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 26px;
  place-items: center;
  color: var(--fc-white);
  background: var(--fc-red);
  border-radius: 50%;
  font: 700 13px/1 var(--font-mono);
}

.workflow-step p {
  margin: 13px 0 0;
  color: var(--fc-muted);
  font-size: 14px;
}

.split-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
  background: var(--fc-navy);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.split-copy {
  padding: 62px;
  color: #c8d4e0;
}

.split-copy h2 {
  color: var(--fc-white);
}

.split-copy p {
  margin: 22px 0 0;
  font-size: 18px;
}

.split-list {
  display: grid;
  padding: 34px;
  background: var(--fc-white);
  gap: 1px;
}

.proof-row {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 17px;
  align-items: center;
  padding: 22px 18px;
  border-bottom: 1px solid var(--fc-border);
}

.proof-row:last-child {
  border-bottom: 0;
}

.proof-number {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--fc-red);
  background: var(--fc-red-soft);
  border-radius: 50%;
  font: 700 12px/1 var(--font-mono);
}

.proof-row strong {
  display: block;
  color: var(--fc-navy);
}

.proof-row span {
  display: block;
  margin-top: 2px;
  color: var(--fc-muted);
  font-size: 13px;
}

.buyer-cta {
  position: relative;
  overflow: hidden;
  padding: 64px;
  background: var(--fc-red);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 54px rgba(200, 16, 46, 0.22);
}

.buyer-cta::after {
  position: absolute;
  right: -110px;
  bottom: -160px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  content: "";
}

.buyer-cta h2,
.buyer-cta p {
  position: relative;
  z-index: 1;
  max-width: 760px;
  color: var(--fc-white);
}

.buyer-cta p {
  margin: 20px 0 0;
  font-size: 18px;
}

.buyer-cta .action-row {
  position: relative;
  z-index: 1;
}

.site-footer {
  padding: 68px 0 28px;
  color: #b9c6d4;
  background: #071525;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 0.6fr);
  gap: 42px;
}

.footer-brand img {
  width: 230px;
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

.footer-brand p {
  max-width: 430px;
  margin: 20px 0 0;
  font-size: 13px;
}

.footer-column h3 {
  margin: 0 0 16px;
  color: var(--fc-white);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-column a {
  display: block;
  margin: 9px 0;
  color: #b9c6d4;
  font-size: 14px;
  text-decoration: none;
}

.footer-column a:hover {
  color: var(--fc-white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
}

.footer-bottom p {
  margin: 0;
}

/* Interior pages */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 74px;
  background: linear-gradient(135deg, #fff 0%, #fff4f5 100%);
  border-bottom: 1px solid var(--fc-border);
}

.page-hero::after {
  position: absolute;
  top: -160px;
  right: -110px;
  width: 430px;
  height: 430px;
  border: 80px solid rgba(200, 16, 46, 0.055);
  border-radius: 50%;
  content: "";
}

.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 70px;
  align-items: center;
}

.page-hero p {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--fc-muted);
  font-size: 19px;
}

.portal-summary {
  padding: 30px;
  background: var(--fc-white);
  border: 1px solid var(--fc-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.portal-summary-label {
  color: var(--fc-red);
  font: 700 11px/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portal-summary h2 {
  margin-top: 13px;
  font-size: 27px;
}

.portal-summary dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 26px 0 0;
}

.portal-summary dt {
  color: var(--fc-muted);
  font-size: 12px;
}

.portal-summary dd {
  margin: 3px 0 0;
  color: var(--fc-navy);
  font-weight: 700;
}

.requirements-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.requirements-card {
  padding: 34px;
  background: var(--fc-white);
  border: 1px solid var(--fc-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.requirements-card ul,
.content-card ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.requirements-card li,
.content-card li {
  position: relative;
  margin: 13px 0;
  padding-left: 24px;
}

.requirements-card li::before,
.content-card li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--fc-red);
  border-radius: 50%;
  content: "";
}

.login-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(430px, 0.72fr);
  gap: 70px;
  align-items: center;
  min-height: calc(100vh - 78px);
  padding: 72px 0;
}

.login-story {
  padding-right: 30px;
}

.login-story h1 {
  font-size: clamp(44px, 5vw, 66px);
}

.login-story > p {
  max-width: 650px;
  margin: 25px 0 0;
  color: var(--fc-muted);
  font-size: 19px;
}

.login-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 36px;
}

.login-point {
  padding: 18px;
  background: var(--fc-bg);
  border: 1px solid var(--fc-border);
  border-radius: var(--radius-md);
}

.login-point strong {
  display: block;
  color: var(--fc-navy);
  font-size: 13px;
}

.login-point span {
  display: block;
  margin-top: 4px;
  color: var(--fc-muted);
  font-size: 12px;
}

.login-card {
  padding: 38px;
  background: var(--fc-white);
  border: 1px solid var(--fc-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.login-role {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  color: var(--fc-red-dark);
  background: var(--fc-red-soft);
  border: 1px solid #f4c6ce;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.login-role::before {
  width: 7px;
  height: 7px;
  background: var(--fc-red);
  border-radius: 50%;
  content: "";
}

.login-card h2 {
  margin-top: 20px;
  font-size: 31px;
}

.login-card > p {
  margin: 12px 0 0;
  color: var(--fc-muted);
  font-size: 14px;
}

.auth-form {
  margin-top: 27px;
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 17px;
}

.field label {
  color: var(--fc-navy);
  font-size: 13px;
  font-weight: 700;
}

.field input,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  color: var(--fc-ink);
  background: var(--fc-white);
  border: 1px solid #bcc5d0;
  border-radius: var(--radius-md);
}

.field input:focus,
.field select:focus {
  border-color: var(--fc-steel);
  box-shadow: var(--focus-ring);
  outline: none;
}

.field-hint {
  color: var(--fc-muted);
  font-size: 12px;
}

.auth-form .button {
  width: 100%;
  margin-top: 6px;
  cursor: pointer;
}

.auth-note {
  margin-top: 20px;
  padding: 14px;
  color: var(--fc-muted);
  background: var(--fc-bg);
  border: 1px solid var(--fc-border);
  border-radius: var(--radius-md);
  font-size: 12px;
}

.auth-links {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  font-size: 13px;
}

.auth-links a {
  color: var(--fc-steel-700);
  font-weight: 650;
}

.content-shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 60px;
  padding: 84px 0 110px;
}

.content-nav {
  position: sticky;
  top: 110px;
  align-self: start;
}

.content-nav a {
  display: block;
  padding: 9px 12px;
  color: var(--fc-muted);
  border-left: 2px solid var(--fc-border);
  font-size: 14px;
  text-decoration: none;
}

.content-nav a:hover {
  color: var(--fc-red);
  border-color: var(--fc-red);
}

.content-card {
  max-width: 820px;
}

.content-card section {
  padding: 0 0 46px;
}

.content-card h2 {
  margin-bottom: 18px;
  font-size: 30px;
}

.content-card h3 {
  margin: 27px 0 12px;
  font-size: 19px;
}

.content-card p {
  margin: 14px 0;
}

.notice {
  padding: 19px 21px;
  background: #eef4fa;
  border-left: 4px solid var(--fc-steel);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.error-page {
  display: grid;
  min-height: 100vh;
  padding: 30px;
  place-items: center;
  text-align: center;
  background: var(--fc-bg);
}

.error-card {
  max-width: 620px;
  padding: 52px;
  background: var(--fc-white);
  border: 1px solid var(--fc-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.error-code {
  color: var(--fc-red);
  font: 700 14px/1 var(--font-mono);
  letter-spacing: 0.12em;
}

.error-card h1 {
  margin-top: 16px;
  font-size: 44px;
}

.error-card p {
  margin: 18px 0 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .menu-toggle + .site-nav {
    position: fixed;
    top: 78px;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    padding: 32px 20px;
    align-items: stretch;
    flex-direction: column;
    gap: 6px;
    background: var(--fc-white);
  }

  .menu-toggle + .site-nav.is-open {
    display: flex;
  }

  .menu-toggle + .site-nav a {
    padding: 13px 14px;
    border-radius: var(--radius-sm);
  }

  .menu-toggle + .site-nav .nav-login,
  .menu-toggle + .site-nav .nav-cta {
    margin-top: 8px;
    text-align: center;
  }

  .hero-grid,
  .page-hero-grid,
  .section-heading,
  .split-panel,
  .login-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 72px;
  }

  .hero-grid,
  .page-hero-grid {
    gap: 48px;
  }

  .route-card {
    max-width: 680px;
  }

  .section-heading {
    gap: 22px;
  }

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

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

  .workflow-step:nth-child(2) {
    border-right: 0;
  }

  .workflow-step:nth-child(-n + 2) {
    border-bottom: 1px solid var(--fc-border);
  }

  .workflow-step:nth-child(2)::after {
    display: none;
  }

  .trust-strip-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-item:nth-child(2) {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }

  .trust-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .login-story {
    padding-right: 0;
  }

  .login-card {
    max-width: 620px;
  }

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

  .content-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .content-nav a {
    border: 1px solid var(--fc-border);
    border-radius: 999px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .nav-shell {
    min-height: 70px;
  }

  .site-nav {
    top: 70px;
  }

  .brand img {
    width: 206px;
  }

  h1 {
    font-size: 45px;
  }

  h2 {
    font-size: 35px;
  }

  .hero {
    padding: 58px 0 46px;
  }

  .hero::before {
    right: 18px;
    width: 7px;
    height: 125px;
  }

  .route-card {
    min-height: 430px;
    padding: 26px;
  }

  .route-node {
    width: 100px;
    height: 100px;
  }

  .route-proof {
    bottom: 20px;
    left: 26px;
    flex-direction: column;
    gap: 4px;
  }

  .section {
    padding: 78px 0;
  }

  .card-grid,
  .workflow,
  .requirements-grid,
  .trust-strip-grid,
  .footer-grid,
  .portal-summary dl,
  .login-points {
    grid-template-columns: 1fr;
  }

  .workflow-step,
  .workflow-step:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--fc-border);
  }

  .workflow-step:last-child {
    border-bottom: 0;
  }

  .workflow-step::after {
    display: none;
  }

  .trust-item,
  .trust-item:nth-child(2),
  .trust-item:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .split-copy,
  .buyer-cta {
    padding: 38px 28px;
  }

  .split-list {
    padding: 16px;
  }

  .buyer-cta .button {
    width: 100%;
  }

  .page-hero {
    padding: 64px 0 54px;
  }

  .login-layout {
    min-height: 0;
    padding: 54px 0 70px;
    gap: 42px;
  }

  .login-card {
    padding: 28px 22px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

/* Entity signup */
.signup-page {
  background: var(--fc-bg);
}

.signup-nav {
  display: flex;
}

.signup-shell {
  min-height: calc(100vh - 78px);
  padding: 64px 0 84px;
  background:
    radial-gradient(circle at 8% 8%, rgba(200, 16, 46, 0.08), transparent 28%),
    linear-gradient(180deg, #fff 0, var(--fc-bg) 42%);
}

.signup-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.55fr);
  gap: 52px;
  align-items: start;
}

.signup-intro {
  position: sticky;
  top: 118px;
}

.signup-intro h1 {
  max-width: 620px;
  margin: 12px 0 18px;
  color: var(--fc-navy);
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.signup-intro > p:not(.eyebrow) {
  max-width: 520px;
  color: var(--fc-muted);
}

.signup-boundary {
  display: grid;
  gap: 5px;
  margin-top: 28px;
  padding: 17px 18px;
  background: var(--fc-white);
  border: 1px solid var(--fc-border);
  border-left: 4px solid var(--fc-red);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.signup-boundary strong {
  color: var(--fc-navy);
  font-size: 14px;
}

.signup-boundary span {
  color: var(--fc-muted);
  font-size: 13px;
}

.signup-progress {
  display: grid;
  gap: 0;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.signup-progress li {
  position: relative;
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 12px;
  color: var(--fc-muted);
  font-size: 13px;
  font-weight: 700;
}

.signup-progress li::before {
  position: absolute;
  z-index: -1;
  top: 35px;
  bottom: -13px;
  left: 15px;
  width: 1px;
  background: var(--fc-border);
  content: "";
}

.signup-progress li:last-child::before {
  display: none;
}

.signup-progress span {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  color: var(--fc-muted);
  background: var(--fc-white);
  border: 1px solid var(--fc-border);
  border-radius: 50%;
}

.signup-progress .is-current {
  color: var(--fc-navy);
}

.signup-progress .is-current span {
  color: var(--fc-white);
  background: var(--fc-red);
  border-color: var(--fc-red);
}

.signup-progress .is-complete span {
  color: var(--fc-white);
  background: var(--fc-success);
  border-color: var(--fc-success);
}

.signup-card {
  min-height: 660px;
  padding: clamp(28px, 5vw, 52px);
  background: var(--fc-white);
  border: 1px solid var(--fc-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.signup-card-heading h2,
.signup-confirmation h2 {
  margin: 18px 0 8px;
  color: var(--fc-navy);
  font-size: clamp(30px, 4vw, 43px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.signup-card-heading p,
.signup-confirmation > p {
  margin: 0;
  color: var(--fc-muted);
}

.status-badge {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.status-unverified {
  color: var(--fc-red-dark);
  background: var(--fc-red-soft);
  border: 1px solid #f4c6ce;
}

.status-provisional {
  color: #805000;
  background: #fff8df;
  border: 1px solid #efd991;
}

.form-errors {
  margin: 24px 0;
  padding: 16px 18px;
  color: #7e1223;
  background: var(--fc-red-soft);
  border: 1px solid #efbcc5;
  border-radius: var(--radius-md);
}

.form-errors ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.signup-form {
  margin-top: 34px;
}

.signup-step {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
}

.signup-form.is-enhanced .signup-step:not(.is-active) {
  display: none;
}

.signup-step legend {
  width: 100%;
  padding: 0 0 26px;
  color: var(--fc-navy);
  font-size: 22px;
  font-weight: 800;
}

.signup-step legend span {
  display: block;
  margin-bottom: 4px;
  color: var(--fc-red);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.step-copy {
  margin: -14px 0 24px;
  color: var(--fc-muted);
  font-size: 14px;
}

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

.field-wide {
  grid-column: 1 / -1;
}

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

.choice-card,
.authorization-choice {
  position: relative;
  display: flex;
  min-height: 112px;
  align-items: flex-start;
  gap: 13px;
  padding: 17px;
  cursor: pointer;
  background: var(--fc-white);
  border: 1px solid var(--fc-border);
  border-radius: var(--radius-md);
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.choice-card:hover,
.authorization-choice:hover {
  border-color: #aab7c5;
  box-shadow: var(--shadow-sm);
}

.choice-card:has(input:checked),
.authorization-choice:has(input:checked) {
  background: #fffafb;
  border-color: var(--fc-red);
  box-shadow: 0 0 0 2px rgba(200, 16, 46, 0.09);
}

.choice-card input,
.authorization-choice input,
.confirmation-check input {
  width: 19px;
  height: 19px;
  margin: 2px 0 0;
  accent-color: var(--fc-red);
}

.choice-card strong,
.authorization-choice strong {
  display: block;
  color: var(--fc-navy);
  font-size: 14px;
}

.choice-card small,
.authorization-choice small {
  display: block;
  margin-top: 6px;
  color: var(--fc-muted);
  font-size: 12px;
  line-height: 1.45;
}

.role-error {
  margin-top: 13px;
  color: var(--fc-red-dark);
  font-weight: 700;
}

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

.authorization-choice {
  min-height: 86px;
}

.authorization-choice[hidden] {
  display: none;
}

.review-panel,
.next-step-panel {
  padding: 20px;
  background: var(--fc-bg);
  border: 1px solid var(--fc-border);
  border-radius: var(--radius-md);
}

.review-panel p {
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--fc-border);
}

.review-panel p:last-child {
  border-bottom: 0;
}

.review-panel strong,
.next-step-panel strong {
  color: var(--fc-navy);
}

.confirmation-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 24px 0;
  color: var(--fc-ink);
  font-size: 14px;
}

.next-step-panel p {
  margin: 5px 0 0;
  color: var(--fc-muted);
  font-size: 13px;
}

.signup-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--fc-border);
}

.signup-actions [hidden] {
  display: none;
}

.confirmation-list {
  display: grid;
  margin: 28px 0;
  border: 1px solid var(--fc-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.confirmation-list div {
  display: grid;
  grid-template-columns: 150px 1fr;
  padding: 13px 16px;
  border-bottom: 1px solid var(--fc-border);
}

.confirmation-list div:last-child {
  border-bottom: 0;
}

.confirmation-list dt {
  color: var(--fc-muted);
  font-size: 12px;
  font-weight: 700;
}

.confirmation-list dd {
  margin: 0;
  color: var(--fc-navy);
  font-weight: 700;
}

/* Operator administration */
.operator-login-page,
.admin-page {
  background: var(--fc-bg);
}

.operator-login-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 32px;
  background:
    radial-gradient(circle at 20% 20%, rgba(200, 16, 46, 0.1), transparent 30%),
    linear-gradient(135deg, #fff, var(--fc-soft));
}

.operator-login-card {
  width: min(100%, 520px);
  padding: 44px;
  background: var(--fc-white);
  border: 1px solid var(--fc-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.operator-login-card .brand {
  margin-bottom: 32px;
}

.operator-login-card h1 {
  margin: 18px 0 10px;
  color: var(--fc-navy);
  font-size: 38px;
  line-height: 1.05;
}

.operator-login-card > p {
  color: var(--fc-muted);
}

.text-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--fc-steel-700);
  font-size: 13px;
  font-weight: 700;
}

.admin-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: var(--fc-white);
  border-bottom: 1px solid var(--fc-border);
}

.admin-header-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
}

.admin-header .brand img {
  width: 220px;
}

.admin-identity {
  display: grid;
  text-align: right;
}

.admin-identity span {
  color: var(--fc-muted);
  font-size: 11px;
  text-transform: uppercase;
}

.admin-identity strong {
  color: var(--fc-navy);
  font-size: 14px;
}

.admin-layout {
  display: grid;
  min-height: calc(100vh - 72px);
  grid-template-columns: 260px minmax(0, 1fr);
}

.admin-sidebar {
  padding: 28px 20px;
  color: #d6dfeb;
  background: var(--fc-navy);
}

.admin-nav-label {
  margin: 0 12px 12px;
  color: #7f98b7;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-sidebar nav {
  display: grid;
  gap: 4px;
}

.admin-sidebar nav a {
  padding: 10px 12px;
  color: #cbd7e5;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.admin-sidebar nav a:hover,
.admin-sidebar nav a.is-current {
  color: var(--fc-white);
  background: rgba(255, 255, 255, 0.1);
}

.admin-role-list {
  display: grid;
  gap: 7px;
  margin-top: 32px;
  padding: 16px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.admin-role-list span {
  color: #7f98b7;
  font-size: 10px;
  text-transform: uppercase;
}

.admin-role-list code {
  color: #e7edf5;
  font-size: 10px;
}

.admin-main {
  padding: clamp(28px, 5vw, 58px);
}

.admin-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.admin-title h1 {
  margin: 5px 0 6px;
  color: var(--fc-navy);
  font-size: clamp(34px, 5vw, 52px);
  letter-spacing: -0.04em;
}

.admin-title p:not(.eyebrow) {
  margin: 0;
  color: var(--fc-muted);
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.admin-metrics article,
.admin-module-grid article {
  padding: 20px;
  background: var(--fc-white);
  border: 1px solid var(--fc-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.admin-metrics span,
.admin-metrics small {
  display: block;
  color: var(--fc-muted);
  font-size: 11px;
}

.admin-metrics strong {
  display: block;
  margin: 10px 0 5px;
  color: var(--fc-navy);
  font-size: 32px;
}

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

.admin-module-number {
  color: var(--fc-red);
  font: 700 11px/1 var(--font-mono);
}

.admin-module-grid h2 {
  margin: 14px 0 8px;
  color: var(--fc-navy);
  font-size: 20px;
}

.admin-module-grid p {
  min-height: 68px;
  margin: 0;
  color: var(--fc-muted);
  font-size: 13px;
}

.admin-module-grid a {
  display: inline-block;
  margin-top: 18px;
  color: var(--fc-steel-700);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 1050px) {
  .signup-layout {
    grid-template-columns: 1fr;
  }

  .signup-intro {
    position: static;
  }

  .signup-progress {
    grid-template-columns: repeat(4, 1fr);
  }

  .signup-progress li {
    display: grid;
    justify-items: center;
    text-align: center;
  }

  .signup-progress li::before {
    top: 15px;
    right: -50%;
    bottom: auto;
    left: 50%;
    width: 100%;
    height: 1px;
  }

  .admin-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-module-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .signup-nav a:not(.nav-login) {
    display: none;
  }

  .signup-shell {
    padding-top: 38px;
  }

  .signup-card {
    min-height: 0;
    padding: 26px 20px;
  }

  .field-grid,
  .choice-grid,
  .authorization-list {
    grid-template-columns: 1fr;
  }

  .signup-actions {
    flex-direction: column-reverse;
  }

  .signup-actions .button {
    width: 100%;
  }

  .confirmation-list div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

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

  .admin-sidebar {
    display: none;
  }

  .admin-metrics,
  .admin-module-grid {
    grid-template-columns: 1fr;
  }

  .admin-module-grid p {
    min-height: 0;
  }
}
