:root {
  color-scheme: dark;
  --red: #ff1010;
  --red-strong: #e70d0d;
  --graphite-950: #060607;
  --graphite-900: #0a0b0d;
  --graphite-850: #101114;
  --graphite-800: #15171b;
  --graphite-700: #23262c;
  --graphite-line: rgba(255, 255, 255, 0.11);
  --graphite-line-soft: rgba(255, 255, 255, 0.07);
  --paper: #f4f1ea;
  --paper-quiet: #e8e3da;
  --ink: #111214;
  --ink-muted: #5b5f66;
  --field-line: #cbc5bb;
  --success: #146c38;
  --danger: #9f1111;
  --focus: 0 0 0 3px rgba(255, 16, 16, 0.24), 0 0 0 1px rgba(255, 16, 16, 0.72);
  --page-pad: clamp(1rem, 2.15vw, 2.4rem);
  --grid-gap: clamp(0.75rem, 1.2vw, 1.25rem);
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--graphite-950);
}

body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  color: #f8f8f6;
  background: var(--graphite-950);
  font-family: "IBM Plex Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
button,
input {
  font: 400 1rem/1.5 "IBM Plex Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

button,
input {
  margin: 0;
}

button {
  border: 0;
}

:focus-visible {
  outline: 2px solid transparent;
  box-shadow: var(--focus);
}

.nexus-shell {
  position: relative;
  isolation: isolate;
  display: grid;
  width: 100%;
  min-height: 100svh;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow-x: clip;
  background:
    linear-gradient(112deg, transparent 0 63.5%, rgba(255, 16, 16, 0.1) 63.55%, transparent 63.9%),
    linear-gradient(90deg, var(--graphite-950) 0 66%, #e9e4da 66% 100%);
}

.nexus-shell::before {
  position: absolute;
  inset: 0 34% 0 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 15% 15%, rgba(255, 16, 16, 0.14), transparent 22rem),
    linear-gradient(140deg, #070709, #0e1014 52%, #060607);
  background-size: 4.5rem 4.5rem, 4.5rem 4.5rem, auto, auto;
}

.nexus-shell::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 63.5%;
  z-index: -1;
  width: clamp(5rem, 8vw, 10rem);
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 16, 16, 0.22), transparent 18%),
    linear-gradient(90deg, rgba(6, 6, 7, 0.74), rgba(6, 6, 7, 0));
  clip-path: polygon(0 0, 58% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.nexus-header {
  display: grid;
  min-height: clamp(4rem, 7.2vh, 5.25rem);
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
  align-items: center;
  padding: max(0.65rem, env(safe-area-inset-top)) var(--page-pad) 0.55rem;
}

.brand-lockup {
  grid-column: 1 / span 4;
  display: block;
  width: clamp(12.25rem, 16vw, 16.5rem);
  height: clamp(4.25rem, 5.6vw, 5.8rem);
  overflow: hidden;
  border-radius: 2px;
}

.brand-lockup img {
  display: block;
  width: 100%;
  height: auto;
  transform: translateY(-28.8%);
}

.header-assurance,
.header-support {
  margin: 0;
  color: rgba(17, 18, 20, 0.66);
  font-size: clamp(0.78rem, 0.82vw, 0.92rem);
  font-weight: 600;
}

.header-assurance {
  grid-column: 8 / span 3;
  justify-self: end;
}

.header-support {
  grid-column: 11 / span 2;
  justify-self: end;
  min-height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.9rem;
  border: 1px solid rgba(17, 18, 20, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  text-decoration: none;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.header-support:hover {
  border-color: rgba(255, 16, 16, 0.52);
  background: rgba(255, 16, 16, 0.08);
  color: var(--ink);
}

.nexus-main {
  display: grid;
  min-height: 0;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr) auto;
  gap: var(--grid-gap);
  padding: 0 var(--page-pad) clamp(0.65rem, 1.1vh, 1rem);
}

.product-zone {
  position: relative;
  grid-column: 1 / span 8;
  grid-row: 1;
  display: grid;
  min-height: 0;
  grid-template-columns: minmax(19rem, 0.9fr) minmax(22rem, 1.1fr);
  gap: clamp(1rem, 2vw, 2.5rem);
  align-items: center;
  padding: clamp(0.35rem, 1.2vh, 1rem) 0;
}

.product-copy {
  position: relative;
  z-index: 2;
  max-width: 43rem;
}

.eyebrow {
  margin: 0;
  color: var(--red);
  font-family: "Sora", "IBM Plex Sans", sans-serif;
  font-size: clamp(0.7rem, 0.72vw, 0.82rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Sora", "IBM Plex Sans", sans-serif;
  font-weight: 800;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 12.4ch;
  margin-top: clamp(0.55rem, 1vh, 0.8rem);
  color: #ffffff;
  font-size: clamp(2.85rem, 5.2vw, 6.35rem);
  line-height: 0.94;
}

.intro-text {
  max-width: 58ch;
  margin: clamp(0.9rem, 1.5vh, 1.25rem) 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(0.98rem, 1.08vw, 1.18rem);
  line-height: 1.62;
}

.platform-visual {
  position: relative;
  min-height: clamp(20rem, 50vh, 34rem);
  overflow: hidden;
  border: 1px solid var(--graphite-line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018)),
    #0b0d10;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 24px 54px rgba(0, 0, 0, 0.28);
}

.visual-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.052) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.052) 1px, transparent 1px);
  background-size: 2.8rem 2.8rem;
  mask-image: linear-gradient(135deg, black, transparent 82%);
}

.flow-thread {
  position: absolute;
  height: 1px;
  transform-origin: left center;
  background: linear-gradient(90deg, transparent, rgba(255, 16, 16, 0.75), transparent);
}

.flow-thread-a {
  right: -8%;
  top: 29%;
  width: 62%;
  transform: rotate(-22deg);
}

.flow-thread-b {
  left: 9%;
  bottom: 26%;
  width: 66%;
  transform: rotate(-22deg);
  opacity: 0.58;
}

.system-panel {
  position: absolute;
  display: grid;
  gap: 0.75rem;
  padding: clamp(0.72rem, 1vw, 0.95rem);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(14, 16, 20, 0.88);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.panel-heading i {
  display: block;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(255, 16, 16, 0.34);
  animation: signal 3.8s ease-out infinite;
}

.panel-campaign {
  top: 8%;
  left: 7%;
  width: min(58%, 18rem);
}

.panel-pipeline {
  top: 28%;
  right: 6%;
  width: min(66%, 21rem);
}

.panel-approval {
  right: 11%;
  bottom: 9%;
  width: min(50%, 16.5rem);
}

.panel-activity {
  left: 8%;
  bottom: 16%;
  width: min(48%, 15.5rem);
}

.panel-finance {
  left: 36%;
  top: 65%;
  width: min(42%, 13.5rem);
}

.status-list,
.approval-stack,
.activity-lines {
  display: grid;
  gap: 0.45rem;
}

.status-list span,
.approval-stack span {
  display: flex;
  min-height: 2rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
}

.status-list b {
  font-weight: 600;
}

.status-list i {
  width: 0.5rem;
  height: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
}

.status-list .is-complete {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.65);
}

.status-list .is-active {
  border-color: var(--red);
  background: var(--red);
}

.pipeline-rail,
.invoice-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.38rem;
}

.pipeline-rail span,
.invoice-row span {
  min-width: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.pipeline-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
}

.pipeline-track i {
  display: block;
  height: 0.42rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
}

.pipeline-track i:nth-child(-n + 2) {
  background: var(--red);
}

.activity-lines span {
  display: block;
  height: 0.58rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.activity-lines span:nth-child(2) {
  width: 82%;
}

.activity-lines span:nth-child(3) {
  width: 56%;
}

.invoice-row {
  grid-template-columns: repeat(3, 1fr);
}

.auth-zone {
  position: relative;
  grid-column: 9 / span 4;
  grid-row: 1 / span 2;
  display: grid;
  min-height: 0;
  align-items: center;
  padding: clamp(0.85rem, 1.6vw, 1.5rem);
  border: 1px solid rgba(17, 18, 20, 0.13);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, #f6f2ea, #e7dfd3);
  color: var(--ink);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.2);
}

.auth-zone::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  content: "";
  border-radius: var(--radius) 0 0 var(--radius);
  background: linear-gradient(180deg, transparent, var(--red), transparent);
}

.auth-console {
  width: min(100%, 29rem);
  margin: 0 auto;
}

.auth-heading {
  margin-bottom: clamp(1rem, 2vh, 1.45rem);
}

.auth-heading h2 {
  margin-top: 0.45rem;
  color: var(--ink);
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  line-height: 1;
}

.auth-heading p:last-child {
  max-width: 34ch;
  margin: 0.6rem 0 0;
  color: var(--ink-muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.login-form {
  display: grid;
  gap: 0.78rem;
}

.auth-message {
  padding: 0.78rem 0.88rem;
  border: 1px solid rgba(159, 17, 17, 0.32);
  border-radius: var(--radius);
  background: rgba(255, 16, 16, 0.08);
  color: var(--danger);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.4;
}

.auth-message.is-success {
  border-color: rgba(20, 108, 56, 0.28);
  background: rgba(20, 108, 56, 0.08);
  color: var(--success);
}

.field-group {
  display: grid;
  gap: 0.34rem;
}

.field-group label,
.remember-option {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
}

.field-group input {
  width: 100%;
  min-height: 3rem;
  padding: 0 0.9rem;
  border: 1px solid var(--field-line);
  border-radius: var(--radius);
  background: #fffdfa;
  color: var(--ink);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.field-group input::placeholder {
  color: #79756f;
}

.field-group input:hover {
  border-color: #a9a196;
}

.field-group input:focus {
  border-color: var(--red);
}

.field-group input[aria-invalid="true"] {
  border-color: var(--red);
  background: #fff8f5;
}

.field-group input:disabled {
  cursor: not-allowed;
  opacity: 0.68;
}

.password-control {
  position: relative;
}

.password-control input {
  padding-right: 3.2rem;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 0.3rem;
  display: inline-grid;
  width: 2.55rem;
  min-width: 2.55rem;
  height: 2.55rem;
  place-items: center;
  transform: translateY(-50%);
  border-radius: 8px;
  background: transparent;
  color: #55514b;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease;
}

.password-toggle:hover {
  background: #ede7dd;
  color: var(--red);
}

.visibility-mark {
  position: relative;
  width: 1.16rem;
  height: 0.76rem;
  border: 2px solid currentColor;
  border-radius: 999px / 70%;
}

.visibility-mark::after {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 0.32rem;
  height: 0.32rem;
  content: "";
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: currentColor;
}

.password-toggle[aria-pressed="true"] .visibility-mark::before {
  position: absolute;
  top: 50%;
  left: -0.18rem;
  width: 1.5rem;
  height: 2px;
  content: "";
  transform: rotate(-42deg);
  background: currentColor;
}

.field-error {
  min-height: 1rem;
  margin: 0;
  color: var(--danger);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
}

.field-error:empty {
  min-height: 0;
}

.form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.remember-option {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.remember-option input {
  width: 1.08rem;
  height: 1.08rem;
  accent-color: var(--red);
}

.text-action,
.support-line a {
  display: inline;
  min-height: 2rem;
  padding: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  text-underline-offset: 4px;
  cursor: pointer;
}

.text-action:hover,
.support-line a:hover {
  color: var(--red);
  text-decoration: underline;
}

.text-action:disabled {
  cursor: wait;
  opacity: 0.62;
}

.primary-button {
  position: relative;
  display: inline-flex;
  min-height: 3.08rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border-radius: var(--radius);
  background: var(--red);
  color: #ffffff;
  font-family: "Sora", "IBM Plex Sans", sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 14px 26px rgba(255, 16, 16, 0.2);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.primary-button:hover:not(:disabled) {
  background: var(--red-strong);
  box-shadow: 0 17px 30px rgba(255, 16, 16, 0.26);
  transform: translateY(-1px);
}

.primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
}

.button-spinner {
  display: none;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #ffffff;
  border-radius: 50%;
}

.primary-button.is-loading {
  cursor: wait;
}

.primary-button.is-loading .button-spinner {
  display: inline-block;
  animation: spin 760ms linear infinite;
}

.secure-note {
  display: flex;
  min-height: 2rem;
  align-items: center;
  gap: 0.55rem;
  color: #64605a;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
}

.lock-mark {
  position: relative;
  flex: 0 0 auto;
  width: 0.98rem;
  height: 0.78rem;
  border: 2px solid var(--red);
  border-radius: 4px;
}

.lock-mark::before {
  position: absolute;
  right: 0.1rem;
  bottom: 0.58rem;
  left: 0.1rem;
  height: 0.52rem;
  content: "";
  border: 2px solid var(--red);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
}

.support-line {
  margin: 0.9rem 0 0;
  color: var(--ink-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.pillar-zone {
  grid-column: 1 / span 8;
  grid-row: 2;
  display: grid;
  gap: 0.7rem;
}

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

.pillar-card {
  min-height: clamp(5.6rem, 11vh, 7.2rem);
  padding: clamp(0.82rem, 1.1vw, 1rem);
  border: 1px solid var(--graphite-line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.pillar-card h2 {
  color: #ffffff;
  font-size: clamp(0.92rem, 1vw, 1.08rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.pillar-card p {
  margin: 0.42rem 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: clamp(0.8rem, 0.86vw, 0.9rem);
  line-height: 1.45;
}

.build-statement {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
  font-weight: 700;
}

.nexus-footer {
  display: flex;
  min-height: clamp(2.3rem, 4.5vh, 3.25rem);
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.4rem;
  padding: 0.42rem var(--page-pad) max(0.42rem, env(safe-area-inset-bottom));
  color: rgba(255, 255, 255, 0.58);
  font-size: clamp(0.72rem, 0.82vw, 0.84rem);
  line-height: 1.35;
}

.nexus-footer p {
  margin: 0;
}

.nexus-footer nav {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem 0.9rem;
}

.nexus-footer a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
  text-decoration: none;
  text-underline-offset: 4px;
}

.nexus-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

@keyframes signal {
  70% {
    box-shadow: 0 0 0 0.8rem rgba(255, 16, 16, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 16, 16, 0);
  }
}

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

@media (min-width: 1880px) {
  .product-zone {
    grid-template-columns: minmax(26rem, 0.82fr) minmax(32rem, 1.18fr);
  }

  .platform-visual {
    min-height: min(55vh, 42rem);
  }

  .auth-console {
    width: min(100%, 31rem);
  }
}

@media (max-width: 1180px) {
  .nexus-shell {
    background:
      linear-gradient(112deg, transparent 0 59%, rgba(255, 16, 16, 0.1) 59.1%, transparent 59.5%),
      linear-gradient(90deg, var(--graphite-950) 0 60%, #e9e4da 60% 100%);
  }

  .nexus-shell::before {
    inset: 0 40% 0 0;
  }

  .product-zone,
  .pillar-zone {
    grid-column: 1 / span 7;
  }

  .auth-zone {
    grid-column: 8 / span 5;
  }

  .product-zone {
    grid-template-columns: 1fr;
    align-content: center;
  }

  .platform-visual {
    position: absolute;
    right: -4.5rem;
    bottom: -1.5rem;
    z-index: 1;
    width: min(28rem, 58%);
    min-height: 17rem;
    opacity: 0.62;
  }

  .product-copy {
    max-width: 40rem;
    padding-right: min(34%, 12rem);
  }

  h1 {
    max-width: 13ch;
    font-size: clamp(2.65rem, 5.2vw, 4.4rem);
  }

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

  .pillar-card {
    min-height: 0;
    padding: 0.75rem 0.85rem;
  }

  .panel-activity,
  .panel-finance {
    display: none;
  }
}

@media (max-height: 760px) and (min-width: 861px) {
  :root {
    --page-pad: clamp(0.82rem, 1.7vw, 1.75rem);
    --grid-gap: 0.72rem;
  }

  .nexus-header {
    min-height: 3.35rem;
    padding-top: 0.36rem;
    padding-bottom: 0.25rem;
  }

  .brand-lockup {
    width: clamp(10.8rem, 14vw, 12.4rem);
    height: clamp(3.8rem, 4.8vw, 4.35rem);
  }

  .brand-lockup img {
    transform: translateY(-28.5%);
  }

  h1 {
    font-size: clamp(2.35rem, 4.45vw, 4.35rem);
  }

  .intro-text {
    margin-top: 0.72rem;
    line-height: 1.48;
  }

  .platform-visual {
    min-height: clamp(16rem, 44vh, 23rem);
  }

  .auth-zone {
    padding: 0.82rem;
  }

  .auth-heading {
    margin-bottom: 0.78rem;
  }

  .auth-heading h2 {
    font-size: clamp(1.8rem, 3vw, 2.55rem);
  }

  .auth-heading p:last-child {
    margin-top: 0.42rem;
    line-height: 1.35;
  }

  .login-form {
    gap: 0.55rem;
  }

  .field-group {
    gap: 0.24rem;
  }

  .field-group input {
    min-height: 2.72rem;
  }

  .field-error {
    min-height: 0.86rem;
    font-size: 0.74rem;
  }

  .primary-button {
    min-height: 2.76rem;
  }

  .secure-note {
    min-height: 1.7rem;
  }

  .support-line {
    margin-top: 0.58rem;
  }

  .pillar-card {
    padding: 0.62rem 0.75rem;
  }

  .pillar-card p {
    margin-top: 0.25rem;
    line-height: 1.32;
  }

  .build-statement {
    font-size: 0.8rem;
  }

  .nexus-footer {
    min-height: 2rem;
    padding-top: 0.26rem;
    padding-bottom: 0.26rem;
  }
}

@media (max-width: 860px) {
  .nexus-shell {
    display: block;
    min-height: 100svh;
    overflow-x: hidden;
    background:
      linear-gradient(180deg, rgba(255, 16, 16, 0.12), transparent 18rem),
      linear-gradient(180deg, var(--graphite-950) 0 50%, #e9e4da 50% 100%);
  }

  .nexus-shell::before,
  .nexus-shell::after {
    display: none;
  }

  .nexus-header {
    display: flex;
    min-height: auto;
    align-items: center;
    justify-content: space-between;
    padding: max(0.7rem, env(safe-area-inset-top)) clamp(1rem, 5vw, 1.5rem) 0.55rem;
  }

  .brand-lockup {
    width: min(55vw, 11.8rem);
    height: min(22vw, 4.35rem);
  }

  .brand-lockup img {
    transform: translateY(-28.5%);
  }

  .header-assurance {
    display: none;
  }

  .header-support {
    color: rgba(255, 255, 255, 0.78);
    border-color: rgba(255, 255, 255, 0.18);
    background: transparent;
    min-height: 2.35rem;
    padding: 0 0.8rem;
  }

  .header-support:hover {
    color: #ffffff;
  }

  .nexus-main {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 0;
    padding: 0;
  }

  .product-zone,
  .auth-zone,
  .pillar-zone {
    grid-column: auto;
    grid-row: auto;
  }

  .product-zone {
    display: block;
    padding: 0.75rem clamp(1rem, 5vw, 1.5rem) 0.9rem;
  }

  .product-copy {
    max-width: 39rem;
    padding-right: 0;
  }

  h1 {
    max-width: 13ch;
    font-size: clamp(2.05rem, 9.2vw, 3.6rem);
  }

  .intro-text {
    max-width: 46ch;
    margin-top: 0.62rem;
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .platform-visual {
    display: none;
  }

  .auth-zone {
    min-height: auto;
    margin: 0 clamp(0.75rem, 4vw, 1.35rem);
    padding: clamp(0.88rem, 3.6vw, 1.1rem);
    border-radius: var(--radius);
  }

  .auth-console {
    width: 100%;
  }

  .auth-heading {
    margin-bottom: 1rem;
  }

  .auth-heading h2 {
    font-size: clamp(1.95rem, 8vw, 2.8rem);
  }

  .pillar-zone {
    padding: 1rem clamp(1rem, 5vw, 1.5rem) 0.25rem;
    background: var(--graphite-950);
  }

  .pillar-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .pillar-card {
    min-height: auto;
    padding: 0.8rem;
  }

  .build-statement {
    margin-top: 0.15rem;
  }

  .nexus-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.45rem;
    padding: 0.9rem clamp(1rem, 5vw, 1.5rem) max(0.9rem, env(safe-area-inset-bottom));
    background: var(--graphite-950);
  }

  .nexus-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .header-support {
    font-size: 0.78rem;
  }

  .form-options {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
  }

  .remember-option {
    min-height: 2.25rem;
  }
}

@media (max-width: 360px) {
  .product-zone {
    padding-top: 0.55rem;
    padding-bottom: 0.68rem;
  }

  h1 {
    font-size: clamp(1.95rem, 8.8vw, 2.45rem);
  }

  .intro-text {
    font-size: 0.92rem;
    line-height: 1.42;
  }

  .auth-heading {
    margin-bottom: 0.72rem;
  }

  .auth-heading h2 {
    font-size: clamp(1.8rem, 8vw, 2.25rem);
  }

  .auth-heading p:last-child {
    display: none;
  }
}

@media (max-width: 860px) and (max-height: 520px) {
  .nexus-header {
    padding-top: max(0.45rem, env(safe-area-inset-top));
    padding-bottom: 0.25rem;
  }

  .brand-lockup {
    width: 10.5rem;
    height: 3.72rem;
  }

  .product-zone {
    padding-top: 0.42rem;
    padding-bottom: 0.55rem;
  }

  h1 {
    max-width: 18ch;
    font-size: clamp(1.85rem, 7vw, 2.55rem);
  }

  .intro-text {
    margin-top: 0.38rem;
    font-size: 0.88rem;
    line-height: 1.34;
  }

  .auth-heading p:last-child {
    display: none;
  }

  .auth-zone {
    padding: 0.72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
