:root {
  --ink: #111827;
  --navy: #162032;
  --navy-deep: #0d1320;
  --slate: #526173;
  --muted: #8a97a7;
  --line: #e2e8f0;
  --paper: #ffffff;
  --mist: #f5f7fb;
  --gold: #c9a84c;
  --gold-dark: #a9862c;
  --teal: #2eaba8;
  --rose: #b95f68;
  --shadow: 0 18px 50px rgba(17, 24, 39, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
  padding: 0 28px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
}

.brand-name {
  color: var(--navy-deep);
  font-size: 1.48rem;
  font-weight: 800;
}

.brand-line {
  padding-left: 12px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.desktop-nav,
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.desktop-nav a {
  padding: 10px 9px;
  border-radius: 8px;
  color: #344154;
  font-size: 0.88rem;
  font-weight: 650;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  background: var(--mist);
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 10px 15px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button svg {
  width: 17px;
  height: 17px;
}

.button-primary {
  color: #10151f;
  background: var(--gold);
  box-shadow: 0 10px 24px rgba(201, 168, 76, 0.25);
}

.button-primary:hover {
  background: #d7b95f;
}

.button-secondary {
  color: #344154;
  background: #fff;
  border-color: var(--line);
}

.button-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.26);
}

.button-large {
  min-height: 50px;
  padding: 15px 24px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--navy);
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.mobile-nav a {
  display: block;
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  font-weight: 750;
}

.mobile-nav.is-open {
  display: block;
}

.hero {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: url("images/dsimage10.png") 48% 42% / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 19, 32, 0.94) 0%, rgba(13, 19, 32, 0.72) 43%, rgba(13, 19, 32, 0.14) 72%),
    linear-gradient(0deg, rgba(13, 19, 32, 0.94) 0%, rgba(13, 19, 32, 0.08) 46%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 48px));
  margin-left: clamp(24px, 7vw, 96px);
  padding: 92px 0 64px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 18px;
  padding: 6px 13px;
  color: #f2d477;
  background: rgba(201, 168, 76, 0.18);
  border: 1px solid rgba(201, 168, 76, 0.45);
  border-radius: 999px;
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow.muted {
  color: var(--gold-dark);
  background: rgba(201, 168, 76, 0.12);
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  color: #fff;
  font-size: clamp(1.9rem, 5.25vw, 4.45rem);
  font-weight: 900;
  line-height: 0.95;
}

.hero-copy {
  max-width: 610px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.7;
}

.flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0;
}

.flow span,
.flow strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 800;
}

.flow strong {
  color: #f4d980;
  background: rgba(201, 168, 76, 0.16);
  border-color: rgba(201, 168, 76, 0.45);
}

.flow svg {
  width: 17px;
  height: 17px;
  color: var(--gold);
}

.flow > svg {
  color: rgba(255, 255, 255, 0.5);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.proof-strip {
  padding: 21px 24px;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  background: var(--navy-deep);
}

.proof-strip p {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 650;
}

.section {
  padding: 84px 24px;
}

.section > * {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.band {
  background: var(--mist);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
  text-align: center;
}

.section-heading.wide {
  max-width: 820px;
}

.section h2,
.cta h2 {
  margin: 0;
  color: var(--navy-deep);
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 900;
  line-height: 1.02;
}

.section-heading p:not(.eyebrow),
.split-section > div:first-child p,
.cta p {
  color: var(--slate);
  font-size: 1rem;
  line-height: 1.7;
}

.partner-grid,
.scale-grid,
.advantage-grid,
.white-label-grid {
  display: grid;
  gap: 16px;
}

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

.partner-card,
.scale-grid article {
  min-height: 188px;
  padding: 25px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
}

.partner-card {
  background: linear-gradient(180deg, #fff 0%, #f9fbfd 100%);
}

.partner-card svg,
.scale-grid svg {
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  padding: 9px;
  color: var(--gold);
  background: var(--navy);
  border-radius: 8px;
}

.partner-card h3,
.scale-grid h3,
.feature-callout h3 {
  margin: 0 0 8px;
  color: var(--navy-deep);
  font-size: 1rem;
}

.partner-card p,
.scale-grid p,
.feature-callout p {
  margin: 0;
  color: var(--slate);
  font-size: 0.92rem;
  line-height: 1.58;
}

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

.capability-grid span,
.advantage-grid span,
.white-label-grid > span {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 18px;
  color: var(--navy-deep);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.25;
}

.capability-grid svg,
.advantage-grid svg,
.white-label-grid > span svg {
  flex: 0 0 auto;
  width: 31px;
  height: 31px;
  padding: 7px;
  color: var(--teal);
  background: #effafa;
  border-radius: 8px;
}

.journey-list {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  list-style: none;
}

.journey-list li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-height: 118px;
  padding: 14px 8px;
  color: var(--navy-deep);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 850;
  text-align: center;
}

.journey-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 38px;
  right: -14px;
  z-index: 2;
  width: 16px;
  height: 2px;
  background: var(--gold);
}

.journey-list span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--navy-deep);
  background: var(--gold);
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 900;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(360px, 1.4fr);
  gap: 42px;
  align-items: center;
}

.split-section > * {
  max-width: none;
}

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

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

.advantage-grid span:nth-child(7),
.advantage-grid span:nth-child(8) {
  border-left: 4px solid var(--gold);
}

.white-label-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

#white-label {
  padding-bottom: 68px;
}

.feature-callout {
  grid-column: span 2;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 128px;
  padding: 26px;
  color: #fff;
  background: var(--navy-deep);
  border-radius: 8px;
}

.feature-callout svg {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  color: var(--gold);
}

.feature-callout h3,
.feature-callout p {
  color: inherit;
}

.feature-callout p {
  color: rgba(255, 255, 255, 0.68);
}

.cta {
  display: grid;
  place-items: center;
  min-height: 440px;
  padding: 72px 24px;
  background:
    radial-gradient(circle at 26% 12%, rgba(46, 171, 168, 0.22), transparent 28%),
    linear-gradient(135deg, var(--navy-deep) 0%, #111827 62%, #241a16 100%);
}

.cta-inner {
  display: grid;
  justify-items: center;
  width: min(100%, 780px);
  margin: 0 auto;
  text-align: center;
}

.cta-mark {
  width: 62px;
  height: 62px;
  margin: 0 0 20px;
  border-radius: 8px;
  object-fit: cover;
}

.cta h2 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.2rem, 4.2vw, 4.4rem);
  line-height: 0.98;
}

.cta-actions {
  justify-content: center;
  margin: 30px 0 0;
}

.cta p {
  max-width: 560px;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.62);
}

.site-footer {
  padding: 25px;
  color: rgba(255, 255, 255, 0.45);
  background: #05070b;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 0.78rem;
}

.auth-body {
  min-height: 100vh;
  padding: 14px;
  color: var(--navy-deep);
  background:
    radial-gradient(circle at 20% 0%, rgba(46, 171, 168, 0.14), transparent 32%),
    radial-gradient(circle at 88% 80%, rgba(201, 168, 76, 0.15), transparent 30%),
    var(--navy-deep);
}

.auth-shell {
  width: min(100%, 1780px);
  min-height: calc(100vh - 28px);
  margin: 0 auto;
  overflow: hidden;
  background: rgba(14, 21, 34, 0.98);
  border: 1px solid rgba(226, 232, 240, 0.22);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.auth-shell-wide {
  max-width: 1180px;
}

.auth-shell-login {
  max-width: 960px;
}

.auth-header {
  display: grid;
  place-items: center;
  min-height: 116px;
  padding: 22px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.12);
}

.auth-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
}

.auth-logo img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
}

.auth-header p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.auth-panel {
  background:
    radial-gradient(circle at 18% 0%, rgba(201, 168, 76, 0.08), transparent 28%),
    linear-gradient(180deg, #fff 0%, #fbfdff 100%);
}

.auth-shell-wide .auth-panel {
  padding: 0;
}

.auth-intro {
  max-width: 560px;
  margin: 0 auto 24px;
  text-align: center;
}

.auth-intro h1 {
  margin: 0 0 10px;
  color: var(--navy-deep);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.05;
}

.auth-intro p {
  margin: 0;
  color: #334155;
  line-height: 1.55;
}

.auth-form {
  display: grid;
  gap: 18px;
}

.role-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.role-fieldset legend,
.auth-form label {
  color: var(--navy-deep);
  font-size: 0.88rem;
  font-weight: 850;
}

.role-fieldset legend {
  margin-bottom: 14px;
}

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

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

.role-card {
  position: relative;
  display: grid;
  min-height: 148px;
  padding: 22px 16px 16px;
  background: #fff;
  border: 1.5px solid #b8c6d8;
  border-radius: 8px;
  cursor: pointer;
}

.partner-kind-grid .role-card {
  min-height: 180px;
}

.role-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.role-card:has(input:checked) {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(201, 168, 76, 0.32), 0 18px 36px rgba(201, 168, 76, 0.12);
}

.role-card svg {
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  color: var(--navy-deep);
}

.role-card:has(input:checked) svg {
  color: var(--gold-dark);
}

.role-card strong {
  margin-bottom: 8px;
  color: var(--navy-deep);
  line-height: 1.25;
}

.role-card > span:last-child {
  color: #334155;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.48;
}

.role-check {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 20px;
  height: 20px;
  border: 2px solid #9fb0c5;
  border-radius: 999px;
}

.role-card:has(input:checked) .role-check {
  border-color: var(--gold-dark);
  box-shadow: inset 0 0 0 4px #fff;
  background: var(--gold);
}

.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  color: #64748b;
  font-size: 0.86rem;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  background: var(--line);
}

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

.organization-fields {
  display: grid;
  gap: 16px;
}

.auth-form label {
  display: grid;
  gap: 8px;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="url"],
.auth-form input[type="number"],
.auth-form select {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  color: var(--navy-deep);
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font: inherit;
  font-size: 0.93rem;
  outline: none;
}

.auth-form select {
  appearance: none;
  padding-right: 44px;
  background-image:
    linear-gradient(45deg, transparent 50%, #526173 50%),
    linear-gradient(135deg, #526173 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 21px,
    calc(100% - 13px) 21px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.auth-form input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.16);
}

.auth-form select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.16);
}

.password-field {
  position: relative;
  display: block;
}

.password-field input {
  padding-right: 48px;
}

.password-field button {
  position: absolute;
  top: 1px;
  right: 1px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #64748b;
  background: transparent;
  border: 0;
}

.password-field svg {
  width: 17px;
  height: 17px;
}

.check-row {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px !important;
  color: #334155 !important;
  font-size: 0.86rem !important;
  font-weight: 600 !important;
}

.check-row input {
  appearance: none;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin: 0;
  background: #fff;
  border: 1.5px solid #b8c6d8;
  border-radius: 4px;
}

.check-row input:checked {
  background: var(--gold);
  border-color: var(--gold);
}

.check-row input:checked::after {
  content: "";
  width: 9px;
  height: 5px;
  border: solid #fff;
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg) translateY(-1px);
}

.check-row a,
.auth-switch a,
.form-row a {
  color: #9b740f;
  font-weight: 800;
}

.auth-submit {
  width: 100%;
  min-height: 52px;
  border: 0;
  font-size: 0.95rem;
}

.auth-switch {
  margin: 28px 0 0;
  color: #334155;
  text-align: center;
}

.auth-footer {
  display: flex;
  justify-content: center;
  gap: 0;
  min-height: 98px;
  padding: 24px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(14, 21, 34, 0.98);
}

.auth-footer span {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 36px;
  border-right: 1px solid rgba(226, 232, 240, 0.25);
  font-size: 0.92rem;
  white-space: nowrap;
}

.auth-footer span:last-child {
  border-right: 0;
}

.auth-footer svg {
  width: 24px;
  height: 24px;
}

.signup-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(310px, 0.8fr);
  min-height: 810px;
}

.signup-main {
  padding: 34px 44px 36px;
}

.signup-layout .auth-intro {
  max-width: 620px;
}

.signup-benefits {
  position: relative;
  overflow: hidden;
  padding: 48px 36px;
  color: #fff;
  background:
    radial-gradient(circle at 60% 100%, rgba(201, 168, 76, 0.18), transparent 34%),
    linear-gradient(180deg, #111a2b 0%, #0d1320 100%);
  border-left: 1px solid rgba(226, 232, 240, 0.16);
}

.signup-benefits .eyebrow {
  color: #f2d477;
  background: rgba(201, 168, 76, 0.14);
}

.signup-benefits h2 {
  margin: 0 0 30px;
  color: #fff;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 900;
  line-height: 1.08;
}

.signup-benefits ul {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.signup-benefits li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 0 16px;
  padding: 0 0 22px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.12);
}

.signup-benefits li:last-child {
  border-bottom: 0;
}

.signup-benefits li svg {
  grid-row: span 2;
  width: 25px;
  height: 25px;
  color: var(--gold);
}

.signup-benefits strong {
  margin-bottom: 5px;
  color: #fff;
  font-size: 0.95rem;
}

.signup-benefits span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
  line-height: 1.5;
}

.login-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  min-height: 720px;
}

.login-layout-simple {
  grid-template-columns: minmax(0, 1fr);
  min-height: auto;
}

.login-panel {
  padding: 48px 76px 0;
}

.login-panel-simple {
  padding-bottom: 34px;
}

.login-panel .auth-form {
  max-width: 430px;
  margin: 0 auto;
}

.login-panel .auth-divider,
.social-stack,
.signup-prompt {
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
}

.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 2px;
  font-size: 0.82rem;
}

.check-row.compact {
  gap: 9px !important;
}

.social-stack {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.social-stack button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  color: var(--navy-deep);
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.microsoft-mark {
  display: grid;
  grid-template-columns: repeat(2, 9px);
  grid-template-rows: repeat(2, 9px);
  gap: 2px;
}

.microsoft-mark::before,
.microsoft-mark::after {
  content: "";
}

.microsoft-mark {
  background:
    linear-gradient(#f25022 0 0) 0 0 / 9px 9px no-repeat,
    linear-gradient(#7fba00 0 0) 11px 0 / 9px 9px no-repeat,
    linear-gradient(#00a4ef 0 0) 0 11px / 9px 9px no-repeat,
    linear-gradient(#ffb900 0 0) 11px 11px / 9px 9px no-repeat;
  width: 20px;
  height: 20px;
}

.google-mark {
  color: #4285f4;
  font-size: 1.35rem;
  font-weight: 900;
}

.signup-prompt {
  margin-top: 48px;
  padding: 42px 0 34px;
  border-top: 1px solid var(--line);
}

.signup-prompt h2 {
  margin: 0 0 14px;
  font-size: 1rem;
}

.signup-prompt p {
  margin: 0 0 22px;
  color: #334155;
  line-height: 1.6;
}

.signup-prompt .button {
  width: 100%;
  min-height: 46px;
}

.login-aside {
  position: relative;
  overflow: hidden;
  padding: 54px 46px;
  color: #fff;
  background:
    radial-gradient(circle at 65% 90%, rgba(201, 168, 76, 0.18), transparent 32%),
    linear-gradient(180deg, #111a2b 0%, #0d1320 100%);
  border-left: 1px solid rgba(226, 232, 240, 0.16);
}

.login-aside h2 {
  margin: 0 0 38px;
  color: var(--gold);
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1.18;
  text-align: center;
}

.login-aside ul {
  display: grid;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.login-aside li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 0 18px;
}

.login-aside li svg {
  grid-row: span 2;
  width: 24px;
  height: 24px;
  color: var(--gold);
}

.login-aside strong {
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.login-aside span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  line-height: 1.55;
}

.aside-watermark {
  position: absolute;
  right: 34px;
  bottom: -38px;
  width: 172px;
  height: 172px;
  object-fit: contain;
  opacity: 0.12;
}

.login-returning-note {
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(430px, calc(100% - 44px));
  margin: -8px auto 44px;
  padding: 18px;
  color: #fff;
  background: linear-gradient(135deg, rgba(17, 26, 43, 0.98), rgba(13, 19, 32, 0.98));
  border: 1px solid rgba(226, 232, 240, 0.16);
  border-radius: 8px;
}

.login-returning-note svg {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  color: var(--gold);
}

.login-returning-note strong,
.login-returning-note span {
  display: block;
}

.login-returning-note strong {
  margin-bottom: 4px;
  font-size: 0.94rem;
}

.login-returning-note span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.86rem;
  line-height: 1.45;
}

@media (max-width: 1060px) {
  .brand-line,
  .desktop-nav,
  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

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

  .journey-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .journey-list li::after {
    display: none;
  }

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

@media (max-width: 980px) {
  .auth-body {
    padding: 0;
  }

  .auth-shell {
    min-height: 100vh;
    border: 0;
    border-radius: 0;
  }

  .auth-shell-wide .auth-panel,
  .login-panel {
    padding: 34px 22px;
  }

  .auth-shell-wide .auth-panel {
    padding: 0;
  }

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

  .signup-main {
    padding: 34px 22px;
  }

  .signup-benefits {
    padding: 38px 26px;
    border-top: 1px solid rgba(226, 232, 240, 0.16);
    border-left: 0;
  }

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

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

  .login-aside {
    border-top: 1px solid rgba(226, 232, 240, 0.16);
    border-left: 0;
  }

  .login-returning-note {
    margin-top: 0;
  }
}

@media (max-width: 780px) {
  .site-header {
    padding: 0 18px;
  }

  .hero {
    min-height: 690px;
    background-position: 60% center;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(13, 19, 32, 0.38) 0%, rgba(13, 19, 32, 0.8) 46%, rgba(13, 19, 32, 0.96) 100%),
      linear-gradient(90deg, rgba(13, 19, 32, 0.72), transparent);
  }

  .hero-content {
    width: calc(100% - 36px);
    margin: 0 auto;
    padding-bottom: 42px;
  }

  .flow > svg {
    display: none;
  }

  .section {
    padding: 64px 18px;
  }

  .partner-grid,
  .capability-grid,
  .journey-list,
  .scale-grid,
  .advantage-grid,
  .white-label-grid,
  .split-section {
    grid-template-columns: 1fr;
  }

  .feature-callout {
    grid-column: auto;
  }

  .button-large,
  .hero-actions .button,
  .cta-actions .button {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .auth-header {
    min-height: 104px;
  }

  .auth-logo {
    font-size: 1.62rem;
  }

  .auth-header p {
    font-size: 0.62rem;
    text-align: center;
  }

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

  .role-card {
    min-height: 142px;
  }

  .auth-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-left: 34px;
  }

  .auth-footer span {
    padding: 0;
    border-right: 0;
  }

  .form-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .brand-name {
    font-size: 1.26rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .hero h1 {
    font-size: 1.9rem;
  }
}
