:root {
  color-scheme: dark;
  --bg: #050b14;
  --bg-deep: #091423;
  --panel: rgba(8, 18, 32, 0.64);
  --panel-strong: rgba(9, 23, 40, 0.82);
  --line: rgba(137, 223, 255, 0.14);
  --line-strong: rgba(137, 223, 255, 0.28);
  --text: #f3f8ff;
  --muted: #9caec6;
  --muted-strong: #d6e3f4;
  --green: #62e3a7;
  --cyan: #70dfff;
  --blue: #2b74ff;
  --shadow: 0 30px 80px rgba(1, 8, 18, 0.48);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(98, 227, 167, 0.14), transparent 24%),
    radial-gradient(circle at 88% 12%, rgba(43, 116, 255, 0.18), transparent 22%),
    linear-gradient(180deg, #07101c 0%, var(--bg) 48%, #07101a 100%);
  font-family: "Manrope", "Segoe UI", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), transparent 88%);
}

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

a {
  color: inherit;
}

p,
li {
  line-height: 1.72;
}

p,
a,
li,
dd,
dt,
label {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Sora", "Manrope", sans-serif;
  letter-spacing: -0.03em;
  overflow-wrap: normal;
  text-wrap: balance;
}

h1 {
  max-width: 14ch;
  font-size: clamp(2.9rem, 5.15vw, 4.75rem);
  line-height: 1.04;
}

h2 {
  max-width: 14ch;
  font-size: clamp(2.2rem, 4.6vw, 4.3rem);
  line-height: 1;
}

h3 {
  font-size: 1.25rem;
}

.skip-link,
.button,
.nav-cta,
.nav-toggle,
.access-row input {
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease,
    opacity 180ms ease;
}

.skip-link {
  position: fixed;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 100;
  transform: translateY(-160%);
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-weight: 800;
  text-decoration: none;
}

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

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

.shell {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

.site-chrome {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.chrome-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(28px);
  opacity: 0.72;
}

.chrome-orb-left {
  top: 6rem;
  left: -8rem;
  width: 22rem;
  height: 22rem;
  background: radial-gradient(circle, rgba(98, 227, 167, 0.4), transparent 68%);
}

.chrome-orb-right {
  top: 12rem;
  right: -9rem;
  width: 28rem;
  height: 28rem;
  background: radial-gradient(circle, rgba(43, 116, 255, 0.34), transparent 70%);
}

.chrome-mark {
  position: absolute;
  top: 8rem;
  right: 8%;
  width: min(36vw, 22rem);
  opacity: 0.05;
  filter: blur(1px);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease, background-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(131, 211, 255, 0.14);
  background: rgba(5, 11, 20, 0.7);
  backdrop-filter: blur(20px);
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  flex-shrink: 0;
  width: clamp(9rem, 14vw, 11rem);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--muted-strong);
  font-size: 0.96rem;
}

.primary-nav a {
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
}

.nav-cta {
  padding: 0.78rem 1.08rem;
  border: 1px solid rgba(131, 211, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  border-color: rgba(131, 211, 255, 0.44);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid rgba(131, 211, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 1rem;
  height: 2px;
  margin: 0.26rem auto;
  background: currentColor;
}

.hero {
  position: relative;
  padding: 7.75rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(18rem, 0.92fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.eyebrow,
.mini-kicker,
.stage-label {
  margin: 0 0 1rem;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-lede,
.section-heading > p:last-child {
  max-width: 38rem;
  margin: 1.4rem 0 0;
  color: var(--muted-strong);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.65rem;
}

.access-required-badge {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.64rem 0.9rem;
  border: 1px solid rgba(98, 237, 168, 0.24);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(98, 237, 168, 0.1), rgba(70, 172, 255, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: var(--muted-strong);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.access-required-badge::before {
  width: 0.46rem;
  height: 0.46rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px rgba(98, 237, 168, 0.7);
  content: "";
}

.hero-risk-note {
  max-width: 34rem;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.65rem;
}

.signal-row span,
.contract-bullets span {
  padding: 0.72rem 1rem;
  border: 1px solid rgba(131, 211, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-strong);
  font-size: 0.95rem;
}

.hero-stage {
  position: relative;
}

.stage-frame {
  position: relative;
  min-height: 30rem;
  display: grid;
  place-items: center;
}

.stage-glow {
  position: absolute;
  inset: 10% 18%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(98, 227, 167, 0.28), transparent 46%),
    radial-gradient(circle at 70% 40%, rgba(43, 116, 255, 0.34), transparent 42%);
  filter: blur(24px);
}

.stage-core {
  position: absolute;
  inset: 12% 14% 22%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(131, 211, 255, 0.16);
  border-radius: 36px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.01)),
    rgba(5, 14, 26, 0.7);
  box-shadow: var(--shadow);
}

.stage-core::before {
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 28px;
  content: "";
}

.stage-icon {
  width: min(70%, 20rem);
  opacity: 0.96;
  animation: floatMark 7s ease-in-out infinite;
}

.stage-card {
  position: absolute;
  right: 0;
  bottom: 2rem;
  width: min(100%, 22rem);
}

.glass-card {
  border: 1px solid rgba(131, 211, 255, 0.16);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.stage-card,
.step-card,
.access-panel,
.calculator-card,
.benefit-chip,
.final-cta {
  padding: 1.35rem;
}

.stage-card-head,
.calculator-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.status-pill {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(98, 227, 167, 0.12);
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric-list {
  display: grid;
  gap: 0.9rem;
  margin: 1rem 0 0;
}

.metric-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-list dt {
  color: var(--muted);
}

.metric-list dd {
  margin: 0;
  color: var(--text);
  font-weight: 800;
}

.section {
  padding: 2.5rem 0 0;
}

.section-contrast {
  padding-top: 3.5rem;
}

.section-stack {
  display: grid;
  gap: 2rem;
}

.section-heading {
  max-width: 48rem;
}

.access-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(16rem, 0.85fr);
  gap: 1.4rem;
  align-items: center;
}

.access-form label {
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.access-row {
  display: flex;
  gap: 0.9rem;
}

.access-row input {
  width: 100%;
  min-width: 0;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(131, 211, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
}

.access-row input::placeholder {
  color: #7d8faa;
}

.access-row input:focus-visible {
  outline: none;
  border-color: rgba(112, 223, 255, 0.58);
  box-shadow: 0 0 0 4px rgba(112, 223, 255, 0.12);
}

.access-caption,
.access-message,
.example-note,
.site-footer p {
  margin: 0.95rem 0 0;
  color: var(--muted);
}

.access-message {
  min-height: 1.5rem;
}

.access-message.is-visible {
  color: var(--green);
}

.detail-list {
  display: grid;
  gap: 0.8rem;
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  padding: 0.8rem 0.95rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-strong);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.step-card {
  min-height: 100%;
}

.step-number {
  display: inline-grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(98, 227, 167, 0.22), rgba(43, 116, 255, 0.2));
  color: var(--text);
  font-family: "Sora", "Manrope", sans-serif;
  font-weight: 700;
}

.step-card p,
.benefit-chip span,
.final-cta p {
  color: var(--muted-strong);
}

.contract-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(22rem, 1.18fr);
  gap: 1.4rem;
  align-items: start;
}

.contract-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.calculator-card {
  position: relative;
  overflow: hidden;
  padding: 1.6rem;
}

.calculator-card::before {
  position: absolute;
  top: -7rem;
  right: -6rem;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43, 116, 255, 0.2), transparent 68%);
  pointer-events: none;
  content: "";
}

.calculator-head {
  position: relative;
}

.calculator-head h3 {
  font-size: 1.45rem;
}

.calculator-head .mini-kicker {
  margin-bottom: 0.45rem;
}

.slider-shell {
  position: relative;
  margin-top: 1.75rem;
  padding: 1.15rem;
  border: 1px solid rgba(131, 211, 255, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
}

.slider-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted-strong);
  font-weight: 700;
}

.slider-label output {
  color: var(--text);
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.contract-slider {
  --range-progress: 0.9%;
  width: 100%;
  height: 0.5rem;
  margin: 1.25rem 0 0;
  appearance: none;
  border: 0;
  border-radius: 999px;
  outline: none;
  background: linear-gradient(
    90deg,
    var(--green) 0%,
    var(--cyan) var(--range-progress),
    rgba(255, 255, 255, 0.1) var(--range-progress),
    rgba(255, 255, 255, 0.1) 100%
  );
  cursor: pointer;
}

.contract-slider::-webkit-slider-thumb {
  width: 1.35rem;
  height: 1.35rem;
  appearance: none;
  border: 3px solid #eaffff;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(112, 223, 255, 0.16), 0 8px 22px rgba(43, 116, 255, 0.4);
}

.contract-slider::-moz-range-thumb {
  width: 1rem;
  height: 1rem;
  border: 3px solid #eaffff;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(112, 223, 255, 0.16), 0 8px 22px rgba(43, 116, 255, 0.4);
}

.contract-slider:focus-visible {
  box-shadow: 0 0 0 4px rgba(112, 223, 255, 0.16);
}

.range-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.calculator-grid {
  display: grid;
  gap: 0.7rem;
  margin: 1rem 0 0;
}

.calculator-grid div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0.15rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.calculator-grid dt {
  color: var(--muted);
}

.calculator-grid dt span {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  background: rgba(98, 227, 167, 0.1);
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 800;
}

.calculator-grid dd {
  margin: 0;
  color: var(--text);
  font-family: "Sora", "Manrope", sans-serif;
  font-weight: 800;
  white-space: nowrap;
}

.calculator-grid .earnings-row {
  margin-top: 0.2rem;
  padding: 0.85rem;
  border: 1px solid rgba(98, 227, 167, 0.18);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(98, 227, 167, 0.09), rgba(43, 116, 255, 0.08));
}

.earnings-row dd {
  color: var(--green);
}

.calculator-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

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

.benefit-chip {
  min-height: 7rem;
  display: grid;
  place-items: center start;
}

.benefit-chip span {
  font-size: 1.06rem;
  font-weight: 700;
}

.final-cta-section {
  padding-top: 3.5rem;
}

.final-cta h2 {
  max-width: 12ch;
}

.final-cta {
  display: grid;
  gap: 1rem;
  padding: 1.8rem;
  text-align: center;
  justify-items: center;
}

.site-footer {
  padding: 4rem 0 2.2rem;
}

.footer-shell {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(131, 211, 255, 0.12);
}

.footer-logo {
  width: 8.8rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-risk-note {
  max-width: 34rem;
}

.footer-risk-note a {
  color: var(--muted-strong);
  text-underline-offset: 0.2em;
}

.legal-page .site-header {
  border-bottom-color: rgba(131, 211, 255, 0.14);
  background: rgba(5, 11, 20, 0.76);
  backdrop-filter: blur(20px);
}

.legal-page .primary-nav {
  display: flex;
}

.legal-page main {
  padding-top: 5.6rem;
}

.legal-shell {
  width: min(1000px, calc(100% - 2rem));
  margin: 0 auto;
}

.legal-hero {
  padding: 3.2rem 0 1.3rem;
}

.legal-hero-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.4rem, 4vw, 2.5rem);
}

.legal-hero-card::before {
  position: absolute;
  top: -9rem;
  right: -7rem;
  width: 20rem;
  height: 20rem;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(98, 227, 167, 0.2), transparent 60%),
    radial-gradient(circle at 72% 44%, rgba(43, 116, 255, 0.24), transparent 58%);
  pointer-events: none;
  content: "";
}

.legal-hero-card > * {
  position: relative;
}

.legal-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.legal-kicker::before {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(98, 227, 167, 0.74);
  content: "";
}

.legal-hero h1 {
  max-width: 12ch;
  font-size: clamp(2.5rem, 6vw, 4.65rem);
  line-height: 1.02;
}

.legal-subtitle {
  max-width: 45rem;
  margin: 1.2rem 0 0;
  color: var(--muted-strong);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.legal-meta span {
  padding: 0.62rem 0.9rem;
  border: 1px solid rgba(131, 211, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-strong);
  font-size: 0.88rem;
  font-weight: 700;
}

.legal-review-note {
  margin: 1.2rem 0 0;
  padding: 1rem;
  border: 1px solid rgba(98, 227, 167, 0.18);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(98, 227, 167, 0.08), rgba(43, 116, 255, 0.07));
  color: var(--muted-strong);
}

.legal-content {
  display: grid;
  gap: 1rem;
  padding: 1.3rem 0 0;
}

.legal-card {
  padding: clamp(1.2rem, 3vw, 1.6rem);
}

.legal-card h2 {
  max-width: none;
  font-size: clamp(1.25rem, 2.2vw, 1.72rem);
  line-height: 1.2;
}

.legal-card p,
.legal-card li {
  color: var(--muted-strong);
}

.legal-card p {
  margin: 0.85rem 0 0;
}

.legal-card ul {
  display: grid;
  gap: 0.55rem;
  margin: 0.9rem 0 0;
  padding-left: 1.2rem;
}

.legal-example {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(131, 211, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-strong);
}

.legal-example p {
  margin: 0;
}

.portal-page .site-header {
  border-bottom-color: rgba(131, 211, 255, 0.14);
  background: rgba(5, 11, 20, 0.76);
  backdrop-filter: blur(20px);
}

.portal-main {
  padding-top: 5.6rem;
}

.portal-hero {
  padding: 3.2rem 0 4rem;
}

.portal-hero-compact {
  padding-top: 2.6rem;
}

.portal-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(23rem, 1.06fr);
  gap: 1.4rem;
  align-items: start;
}

.portal-single {
  width: min(100%, 42rem);
  margin: 0 auto;
}

.portal-copy {
  max-width: 42rem;
}

.portal-info-card,
.portal-form-card,
.portal-panel,
.metric-card {
  padding: 1.45rem;
}

.portal-info-card {
  margin-top: 1.5rem;
}

.portal-form-card-compact {
  width: 100%;
}

.portal-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.stack-form {
  display: grid;
  gap: 1rem;
}

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

.field {
  display: grid;
  gap: 0.45rem;
  color: var(--muted-strong);
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(131, 211, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
}

.field select {
  appearance: none;
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #7d8faa;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: rgba(112, 223, 255, 0.58);
  box-shadow: 0 0 0 4px rgba(112, 223, 255, 0.12);
}

.check-field {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  color: var(--muted-strong);
}

.check-field input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.3rem;
}

.check-field a,
.inline-links a,
.nav-meta strong {
  color: var(--text);
}

.status-note {
  min-height: 1.5rem;
  margin: 0;
  color: var(--muted);
}

.status-note.is-success {
  color: var(--green);
}

.status-note.is-error {
  color: #ff9ea8;
}

.status-note.is-info {
  color: var(--cyan);
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.inline-links a {
  text-decoration: none;
}

.nav-button {
  font: inherit;
  cursor: pointer;
}

.nav-meta {
  color: var(--muted-strong);
  font-size: 0.92rem;
}

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

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

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

.admin-tools-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.metric-card {
  display: grid;
  gap: 0.35rem;
}

.metric-card h3 {
  font-size: 1.72rem;
}

.portal-panel {
  overflow: hidden;
}

.table-wrap {
  margin-top: 1rem;
  overflow-x: auto;
  border: 1px solid rgba(131, 211, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.data-table {
  width: 100%;
  min-width: 960px;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  color: var(--muted-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.data-table td {
  color: var(--muted-strong);
}

.table-actions,
.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 0.85rem;
  border: 1px solid rgba(98, 227, 167, 0.2);
  border-radius: 999px;
  background: rgba(98, 227, 167, 0.12);
  color: var(--text);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.mini-button:hover,
.mini-button:focus-visible {
  border-color: rgba(98, 227, 167, 0.4);
  transform: translateY(-1px);
}

.mini-button-muted {
  border-color: rgba(255, 122, 142, 0.22);
  background: rgba(255, 122, 142, 0.1);
}

.mini-button-secondary {
  border-color: rgba(131, 211, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.status-chip {
  display: inline-flex;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 700;
}

.access-launch {
  display: grid;
  gap: 1rem;
}

.access-launch h3 {
  font-size: 1.4rem;
}

.access-actions {
  margin-top: 0;
}

.final-cta-actions {
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.98rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--green), var(--cyan) 46%, var(--blue));
  color: #041019;
  box-shadow: 0 18px 40px rgba(61, 150, 255, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 22px 48px rgba(61, 150, 255, 0.3);
}

.button-secondary {
  border-color: rgba(131, 211, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(131, 211, 255, 0.34);
}

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

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

@keyframes floatMark {
  0%,
  100% {
    transform: translateY(0px) scale(1);
  }

  50% {
    transform: translateY(-10px) scale(1.018);
  }
}

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

  .hero-grid,
  .contract-layout,
  .access-panel,
  .portal-grid,
  .admin-tools-grid,
  .dashboard-grid,
  .dashboard-grid-secondary,
  .admin-metric-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    order: -1;
  }

  .stage-frame {
    min-height: 27rem;
  }

  .stage-card {
    right: 1rem;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 82px;
  }

  .header-shell {
    padding: 0.9rem 0;
  }

  .brand {
    width: 8.8rem;
  }

  .nav-toggle {
    display: inline-block;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 0.55rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border: 1px solid rgba(131, 211, 255, 0.16);
    border-radius: 24px;
    background: rgba(4, 10, 19, 0.94);
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    padding: 0.2rem 0;
  }

  .nav-cta {
    margin-top: 0.35rem;
    text-align: center;
  }

  .hero {
    padding-top: 6.75rem;
  }

  h1 {
    max-width: 13ch;
    font-size: clamp(2.35rem, 10vw, 2.85rem);
    line-height: 1.07;
  }

  .hero-lede {
    font-size: 1.02rem;
  }

  .hero-grid {
    gap: 1.6rem;
  }

  .hero-stage {
    display: none;
  }

  .hero-actions,
  .access-row,
  .footer-shell,
  .footer-links,
  .final-cta-actions {
    flex-direction: column;
  }

  .footer-links {
    align-items: flex-start;
  }

  .final-cta-actions {
    width: 100%;
  }

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

  .calculator-card {
    padding: 1.1rem;
  }

  .calculator-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .slider-label {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }

  .calculator-grid div {
    align-items: flex-start;
  }

  .calculator-grid dt {
    max-width: 58%;
  }

  .section,
  .section-contrast,
  .final-cta-section {
    padding-top: 2.75rem;
  }

  .final-cta {
    text-align: left;
    justify-items: start;
  }

  .portal-main,
  .legal-page main {
    padding-top: 5.2rem;
  }

  .portal-hero,
  .legal-hero {
    padding-top: 2rem;
  }

  .portal-card-head,
  .check-field {
    flex-direction: column;
  }

  .check-field input {
    margin-top: 0;
  }

  .data-table {
    min-width: 760px;
  }

  .nav-meta {
    display: none;
  }

  .legal-page .primary-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    width: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .legal-page .nav-cta {
    margin-top: 0;
    padding: 0.7rem 0.9rem;
    font-size: 0.88rem;
    white-space: nowrap;
  }

  .legal-page main {
    padding-top: 5.2rem;
  }

  .legal-hero {
    padding-top: 2rem;
  }

  .legal-hero h1 {
    max-width: 10ch;
    font-size: clamp(2.25rem, 11vw, 3rem);
  }

  .legal-meta {
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

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

.admin-dashboard-page {
  overflow-x: hidden;
}

.admin-dashboard-page .site-chrome {
  position: fixed;
}

.admin-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 1.2rem;
  border-right: 1px solid rgba(131, 211, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(7, 16, 29, 0.96), rgba(4, 12, 21, 0.88)),
    radial-gradient(circle at top left, rgba(98, 227, 167, 0.1), transparent 32%);
  backdrop-filter: blur(18px);
  z-index: 12;
}

.admin-sidebar-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 1.5rem;
}

.admin-brand {
  width: 9rem;
}

.admin-nav {
  display: grid;
  gap: 0.35rem;
}

.admin-nav a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.72rem 0.9rem;
  border: 1px solid transparent;
  border-radius: 16px;
  color: var(--muted-strong);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.admin-nav a:hover,
.admin-nav a:focus-visible {
  border-color: rgba(131, 211, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.admin-sidebar-footer {
  margin-top: auto;
  display: grid;
  gap: 0.9rem;
}

.admin-user-badge,
.admin-user-pill {
  display: grid;
  gap: 0.18rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(131, 211, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.admin-user-badge span,
.admin-user-pill span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-user-badge strong,
.admin-user-pill strong {
  color: var(--text);
  font-size: 0.96rem;
}

.admin-logout {
  width: 100%;
}

.admin-main {
  min-width: 0;
  padding: 1.5rem;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  margin-bottom: 1rem;
  padding: 1rem 1.1rem 0.95rem;
  border: 1px solid rgba(131, 211, 255, 0.12);
  border-radius: 24px;
  background: rgba(4, 10, 19, 0.78);
  backdrop-filter: blur(18px);
}

.admin-topbar-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.admin-topbar-copy,
.admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.admin-menu-toggle {
  display: none;
  width: 2.85rem;
  height: 2.85rem;
  padding: 0;
  border: 1px solid rgba(131, 211, 255, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.admin-menu-toggle span:not(.sr-only) {
  display: block;
  width: 1rem;
  height: 2px;
  margin: 0.22rem auto;
  background: currentColor;
}

.admin-kicker,
.admin-section-label {
  margin: 0 0 0.35rem;
  color: var(--cyan);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.admin-topbar h1 {
  max-width: none;
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.05;
}

.admin-topbar p:last-child {
  margin: 0.28rem 0 0;
  color: var(--muted);
}

.admin-refresh {
  min-width: 8.4rem;
}

.admin-dashboard-message {
  margin-top: 0.8rem;
}

.admin-content {
  min-width: 0;
}

.admin-section {
  margin-bottom: 1rem;
}

.admin-card {
  border: 1px solid rgba(131, 211, 255, 0.12);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(10, 22, 39, 0.9), rgba(7, 16, 29, 0.88)),
    radial-gradient(circle at top right, rgba(61, 150, 255, 0.08), transparent 28%);
  box-shadow: 0 24px 56px rgba(1, 8, 18, 0.24);
}

.admin-section-card {
  padding: 1.25rem;
}

.admin-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-section-head-compact {
  align-items: center;
}

.admin-section-head h2 {
  max-width: none;
  font-size: 1.25rem;
  line-height: 1.1;
}

.admin-section-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.admin-kpi-card {
  display: grid;
  gap: 0.3rem;
  padding: 1rem 1.05rem;
}

.admin-kpi-card span,
.admin-kpi-card small {
  color: var(--muted);
}

.admin-kpi-card strong {
  font-size: clamp(1.55rem, 2vw, 2rem);
  line-height: 1;
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.admin-search,
.admin-filter {
  display: grid;
  gap: 0.35rem;
}

.admin-search {
  flex: 1 1 16rem;
}

.admin-search input,
.admin-filter select {
  width: 100%;
  min-width: 0;
  min-height: 2.85rem;
  padding: 0.72rem 0.9rem;
  border: 1px solid rgba(131, 211, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
}

.admin-filter span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-inline-action {
  min-width: 8.3rem;
  padding-inline: 1rem;
}

.admin-table-wrap {
  margin-top: 0;
  border-radius: 18px;
  background: rgba(3, 8, 15, 0.44);
}

.admin-table {
  min-width: 100%;
}

.admin-table-requests {
  min-width: 1160px;
}

.admin-table-codes {
  min-width: 1040px;
}

.admin-table-members {
  min-width: 900px;
}

.admin-table-email-logs {
  min-width: 920px;
}

.admin-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: rgba(7, 16, 29, 0.96);
}

.admin-table td,
.admin-table th {
  padding: 0.78rem 0.85rem;
}

.admin-table td {
  font-size: 0.9rem;
}

.admin-cell-title {
  display: grid;
  gap: 0.18rem;
}

.admin-cell-title strong {
  color: var(--text);
  font-size: 0.92rem;
}

.admin-cell-subtle,
.admin-code-meta,
.admin-empty-state {
  color: var(--muted);
}

.admin-code-meta {
  font-size: 0.78rem;
}

.admin-empty-state,
.admin-empty-row {
  margin: 0;
  padding: 0.25rem 0;
  font-size: 0.92rem;
}

.admin-empty-row {
  color: var(--muted);
}

.admin-dashboard-page .mini-button {
  min-height: 2.15rem;
  padding: 0.48rem 0.72rem;
  font-size: 0.76rem;
}

.admin-dashboard-page .table-actions {
  gap: 0.4rem;
}

.admin-dashboard-page .status-chip {
  min-height: 1.7rem;
  align-items: center;
  padding: 0.32rem 0.62rem;
  font-size: 0.74rem;
  text-transform: capitalize;
}

.status-chip-pending,
.status-chip-active,
.status-chip-sent,
.status-chip-approved,
.status-chip-registered {
  background: rgba(98, 227, 167, 0.14);
  color: #a9f3c8;
}

.status-chip-rejected,
.status-chip-inactive,
.status-chip-failed {
  background: rgba(255, 122, 142, 0.12);
  color: #ffb1bc;
}

.status-chip-code-issued,
.status-chip-used,
.status-chip-one-time,
.status-chip-partner-reusable {
  background: rgba(112, 223, 255, 0.12);
  color: #b7eeff;
}

.admin-settings-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.admin-settings-item {
  display: grid;
  gap: 0.3rem;
  padding: 1rem;
  border: 1px solid rgba(131, 211, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.admin-settings-item span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.admin-settings-item strong {
  font-size: 0.96rem;
}

.admin-modal[hidden] {
  display: none;
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.admin-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(2, 6, 12, 0.72);
}

.admin-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 32rem);
  padding: 1.25rem;
  border: 1px solid rgba(131, 211, 255, 0.16);
  border-radius: 24px;
  background: rgba(6, 13, 23, 0.96);
  box-shadow: 0 28px 60px rgba(1, 8, 18, 0.48);
}

.admin-modal-dialog-message {
  width: min(100%, 36rem);
}

.admin-modal-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-modal-head h2 {
  max-width: none;
  font-size: 1.2rem;
}

.admin-modal-close {
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(131, 211, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 1.15rem;
  line-height: 1;
}

.admin-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.7rem;
}

.admin-message-card {
  padding: 1rem;
  border: 1px solid rgba(131, 211, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.admin-message-card p {
  margin: 0;
  white-space: pre-wrap;
}

.admin-sidebar-overlay {
  display: none;
}

body.admin-sidebar-open {
  overflow: hidden;
}

@media (max-width: 1200px) {
  .admin-kpi-grid,
  .admin-settings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .admin-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: min(84vw, 19rem);
    transform: translateX(-100%);
    transition: transform 180ms ease;
  }

  .admin-sidebar.is-open {
    transform: translateX(0);
  }

  .admin-sidebar-overlay {
    position: fixed;
    inset: 0;
    z-index: 11;
    display: block;
    border: 0;
    background: rgba(2, 6, 12, 0.52);
  }

  .admin-main {
    padding: 1rem;
  }

  .admin-topbar-main,
  .admin-section-head {
    align-items: start;
    flex-direction: column;
  }

  .admin-topbar-actions {
    width: 100%;
    justify-content: space-between;
  }

  .admin-menu-toggle {
    display: inline-block;
    flex-shrink: 0;
  }
}

@media (max-width: 760px) {
  .admin-main {
    padding: 0.85rem;
  }

  .admin-topbar {
    padding: 0.95rem;
    border-radius: 20px;
  }

  .admin-topbar-copy,
  .admin-topbar-actions,
  .admin-toolbar,
  .admin-modal-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .admin-user-pill,
  .admin-refresh,
  .admin-inline-action,
  .admin-modal-actions .button {
    width: 100%;
  }

  .admin-kpi-grid,
  .admin-settings-grid {
    grid-template-columns: 1fr;
  }

  .admin-section-card,
  .admin-modal-dialog {
    padding: 1rem;
  }

  .admin-table td,
  .admin-table th {
    padding: 0.72rem 0.78rem;
  }
}
