:root {
  --bg: #eef2f7;
  --bg-deep: #dfe8f2;
  --text: #132033;
  --text-soft: rgba(19, 32, 51, 0.68);
  --line: rgba(255, 255, 255, 0.54);
  --glass: rgba(255, 255, 255, 0.36);
  --glass-strong: rgba(255, 255, 255, 0.54);
  --shadow: 0 18px 55px rgba(28, 44, 77, 0.16);
  --accent: #4b84ff;
  --accent-2: #8b9dff;
  --accent-3: #ffcd84;
  --glow-a: rgba(131, 191, 255, 0.38);
  --glow-b: rgba(139, 157, 255, 0.26);
  --glow-c: rgba(255, 211, 155, 0.28);
  --orb-a: rgba(113, 188, 255, 0.34);
  --orb-b: rgba(164, 148, 255, 0.28);
  --orb-c: rgba(255, 214, 154, 0.28);
  --accent-wash-1: rgba(110, 172, 255, 0.44);
  --accent-wash-2: rgba(255, 212, 151, 0.42);
  --accent-wash-soft-1: rgba(110, 172, 255, 0.24);
  --accent-wash-soft-2: rgba(255, 212, 151, 0.18);
  --accent-wash-panel-1: rgba(110, 172, 255, 0.16);
  --accent-wash-panel-2: rgba(255, 212, 151, 0.14);
  --accent-wash-surface-1: rgba(110, 172, 255, 0.16);
  --accent-wash-surface-2: rgba(255, 212, 151, 0.12);
  --brand-stop-1: #82c8ff;
  --brand-stop-2: #85a6ff;
  --brand-stop-3: #ffd79f;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

body[data-theme="dark"] {
  --bg: #0b1220;
  --bg-deep: #10192c;
  --text: #f4f8ff;
  --text-soft: rgba(244, 248, 255, 0.7);
  --line: rgba(255, 255, 255, 0.12);
  --glass: rgba(255, 255, 255, 0.08);
  --glass-strong: rgba(255, 255, 255, 0.12);
  --shadow: 0 22px 80px rgba(0, 0, 0, 0.35);
  --accent: #ff4b57;
  --accent-2: #ff6f78;
  --accent-3: #ff9a80;
  --glow-a: rgba(255, 84, 98, 0.34);
  --glow-b: rgba(255, 105, 118, 0.24);
  --glow-c: rgba(255, 151, 120, 0.2);
  --orb-a: rgba(255, 84, 98, 0.34);
  --orb-b: rgba(255, 103, 118, 0.28);
  --orb-c: rgba(255, 146, 116, 0.24);
  --accent-wash-1: rgba(255, 82, 97, 0.42);
  --accent-wash-2: rgba(255, 150, 119, 0.3);
  --accent-wash-soft-1: rgba(255, 82, 97, 0.26);
  --accent-wash-soft-2: rgba(255, 150, 119, 0.2);
  --accent-wash-panel-1: rgba(255, 82, 97, 0.18);
  --accent-wash-panel-2: rgba(255, 150, 119, 0.15);
  --accent-wash-surface-1: rgba(255, 82, 97, 0.18);
  --accent-wash-surface-2: rgba(255, 150, 119, 0.13);
  --brand-stop-1: #ff7e86;
  --brand-stop-2: #ff4f59;
  --brand-stop-3: #ff9f83;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 18%, var(--glow-a), transparent 22%),
    radial-gradient(circle at 82% 20%, var(--glow-b), transparent 24%),
    radial-gradient(circle at 50% 82%, var(--glow-c), transparent 24%),
    linear-gradient(180deg, var(--bg), var(--bg-deep));
  min-height: 100vh;
  overflow-x: hidden;
  transition: background 280ms ease, color 280ms ease;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  position: relative;
  overflow: visible;
  min-height: 100vh;
}

.orb-shell {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.8;
  pointer-events: none;
  will-change: transform;
}

.orb-a {
  top: -6rem;
  left: -5rem;
  width: 22rem;
  height: 22rem;
  background: var(--orb-a);
  animation: drift-a 16s ease-in-out infinite;
}

.orb-b {
  top: 12rem;
  right: -4rem;
  width: 18rem;
  height: 18rem;
  background: var(--orb-b);
  animation: drift-b 18s ease-in-out infinite;
}

.orb-c {
  bottom: -5rem;
  left: 36%;
  width: 16rem;
  height: 16rem;
  background: var(--orb-c);
  animation: drift-c 15s ease-in-out infinite;
}

.brand-stop-1 {
  stop-color: var(--brand-stop-1);
}

.brand-stop-2 {
  stop-color: var(--brand-stop-2);
}

.brand-stop-3 {
  stop-color: var(--brand-stop-3);
}

.glass {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0.18));
  border: 1px solid var(--line);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.56);
  backdrop-filter: blur(28px) saturate(1.35);
  -webkit-backdrop-filter: blur(28px) saturate(1.35);
}

body[data-theme="dark"] .glass {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
}

.glass-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.85rem;
  padding: 0 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--glass);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: transform 220ms var(--ease-out), background 220ms ease, box-shadow 220ms ease;
}

.glass-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.glass-button--primary {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0.2)),
    linear-gradient(135deg, var(--accent-wash-1), var(--accent-wash-2));
}

.glass-button:focus-visible,
.role-tab:focus-visible,
.topnav a:focus-visible,
.mobile-nav a:focus-visible,
.contact-field input:focus-visible,
.contact-field select:focus-visible,
.contact-field textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.topbar {
  position: sticky;
  top: 1rem;
  z-index: 20;
  width: min(1200px, calc(100% - 2rem));
  margin: 1rem auto 0;
  min-height: 4.35rem;
  padding: 0.72rem 0.98rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.74), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.16));
  box-shadow:
    0 18px 48px rgba(28, 44, 77, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 -12px 20px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(34px) saturate(1.7);
  -webkit-backdrop-filter: blur(34px) saturate(1.7);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  transition:
    padding 260ms var(--ease-out),
    background 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease;
}

body[data-theme="dark"] .topbar {
  border-color: rgba(255, 255, 255, 0.22);
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(20, 32, 58, 0.76), rgba(13, 22, 40, 0.42));
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -12px 20px rgba(255, 255, 255, 0.04);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  transition: transform 260ms var(--ease-out);
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-text {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  transition: letter-spacing 260ms var(--ease-out), opacity 260ms ease;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  color: var(--text-soft);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.topnav a {
  position: relative;
  padding: 0.2rem 0;
}

.topnav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease-out);
}

.topnav a:hover::after {
  transform: scaleX(1);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

body.is-scrolled .topbar {
  min-height: 4rem;
  padding: 0.62rem 0.82rem;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.76), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.2));
  box-shadow:
    0 16px 45px rgba(28, 44, 77, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -12px 18px rgba(255, 255, 255, 0.08);
}

body.is-scrolled .brand-mark {
  transform: scale(0.92);
}

body.is-scrolled .brand-text {
  letter-spacing: -0.03em;
  opacity: 0.92;
}

body[data-theme="dark"].is-scrolled .topbar {
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(20, 32, 58, 0.84), rgba(13, 22, 40, 0.52));
  box-shadow:
    0 20px 56px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -12px 18px rgba(255, 255, 255, 0.04);
}

.theme-toggle {
  min-width: 6.4rem;
  justify-content: space-between;
  cursor: pointer;
}

.menu-toggle {
  display: none;
  min-width: 0;
  padding: 0 0.95rem;
  cursor: pointer;
}

.menu-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 0.28rem;
}

.menu-toggle__bars span {
  width: 1rem;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 220ms var(--ease-out), opacity 220ms var(--ease-out);
}

.menu-toggle__label {
  font-size: 0.82rem;
}

.mobile-nav {
  display: none;
  width: 100%;
  border-radius: 1.8rem;
  padding: 0.5rem;
  gap: 0.45rem;
}

.mobile-nav a {
  display: block;
  padding: 0.9rem 1rem;
  border-radius: 1.2rem;
  color: var(--text-soft);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.18);
  color: var(--text);
  transform: translateX(2px);
}

.theme-toggle__sun,
.theme-toggle__moon {
  font-size: 0.76rem;
}

main {
  width: min(1240px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 5rem;
}

.hero {
  min-height: calc(100vh - 6rem);
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 2rem;
  padding: 2.5rem 0 3rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.85rem;
  margin-bottom: 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--glass);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-soft);
}

.hero h1,
.section h2,
.contact-card h2 {
  margin: 0;
  font-family: "Sora", "Manrope", sans-serif;
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.hero h1 {
  font-size: clamp(3.5rem, 8vw, 6.6rem);
  max-width: 10ch;
  font-weight: 700;
}

.hero h1 span {
  display: block;
  color: var(--accent);
}

.hero-lead,
.feature p,
.role-card p,
.flow-copy p,
.flow-step p,
.contact-card p {
  color: var(--text-soft);
}

.hero-lead {
  max-width: 40rem;
  margin: 1.4rem 0 0;
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-actions,
.proof-row,
.stage-grid,
.roles-grid,
.topnav {
  flex-wrap: wrap;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.proof-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.3rem;
}

.proof-row span {
  padding: 0.72rem 0.92rem;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 0.9rem;
}

.hero-stage {
  position: relative;
  min-height: 42rem;
  perspective: 1200px;
  transform-style: preserve-3d;
  transition: transform 220ms var(--ease-out);
}

.stage-core {
  position: absolute;
  inset: 10% 6% 8%;
  border-radius: 3rem;
  overflow: hidden;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
  will-change: transform;
}

.stage-core::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 18%, rgba(255, 255, 255, 0.3) 42%, transparent 65%);
  transform: translateX(-130%);
  animation: sheen 8s ease-in-out infinite;
}

.stage-card {
  position: absolute;
  border-radius: 2rem;
  padding: 1.35rem;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
  transition: box-shadow 260ms var(--ease-out);
  will-change: transform;
}

.stage-card__content {
  position: relative;
}

.stage-card__label,
.flow-step span,
.feature-icon {
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
}

.stage-budget {
  top: 21%;
  left: 4%;
  width: min(28rem, 72%);
  z-index: 2;
  animation: stage-budget-drift 9s ease-in-out infinite;
}

.stage-budget__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.98rem;
  margin: 0.6rem 0 1rem;
}

.stage-budget strong,
.stage-card strong {
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.stage-meter {
  height: 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  overflow: hidden;
}

.stage-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));
}

.stage-grid {
  display: flex;
  gap: 0.7rem;
  margin-top: 1rem;
}

.stage-grid div {
  flex: 1;
  padding: 0.9rem;
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.18);
}

.stage-grid small,
.stage-card span {
  color: var(--text-soft);
}

.stage-card-float {
  min-width: 13rem;
  animation: stage-card-drift 7.6s ease-in-out infinite;
  z-index: 3;
}

.stage-catalog {
  top: 6%;
  right: 2%;
  width: min(15rem, 34%);
  animation-delay: -1.2s;
}

.stage-provider {
  left: 50%;
  bottom: 12%;
  width: min(15.5rem, 34%);
  animation-delay: -3.1s;
}

.stage-cardline {
  left: 2%;
  bottom: 6%;
  width: min(13.5rem, 30%);
  max-width: 13.5rem;
  animation-delay: -4.5s;
}

.section {
  padding: 3rem 0;
  scroll-margin-top: 7rem;
}

.section-heading {
  max-width: 52rem;
  margin-bottom: 1.5rem;
}

.section-heading.narrow {
  max-width: 36rem;
}

.section h2,
.contact-card h2 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  max-width: 11ch;
}

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

.trust-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(18rem, 0.88fr);
  gap: 1rem;
}

.trust-panel {
  border-radius: 2rem;
  padding: 1.5rem;
}

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

.trust-metric {
  padding: 1rem;
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.trust-metric small,
.trust-budget p,
.trust-panel__copy p,
.contact-inline,
.contact-form__hint,
.contact-form__success {
  color: var(--text-soft);
}

.trust-metric strong {
  display: block;
  margin-top: 0.35rem;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  letter-spacing: -0.05em;
}

.trust-budget {
  margin-top: 0.9rem;
  padding: 1.15rem;
  border-radius: 1.5rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.1)),
    linear-gradient(135deg, var(--accent-wash-panel-1), var(--accent-wash-panel-2));
}

.trust-budget__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.trust-budget__label {
  display: inline-flex;
  margin-bottom: 0.3rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-soft);
}

.trust-budget__head strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.trust-budget__value {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.trust-budget__bar {
  height: 0.95rem;
  margin: 0.95rem 0 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  overflow: hidden;
}

.trust-budget__bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));
  transition: width 900ms var(--ease-out);
}

.trust-panel--proof {
  display: grid;
  gap: 1.2rem;
}

.trust-panel__copy h3 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.trust-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.trust-tags span,
.contact-inline span {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  padding: 0 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.14);
}

.feature,
.role-card,
.flow-step,
.contact-card {
  border-radius: 2rem;
  padding: 1.5rem;
  transition:
    transform 260ms var(--ease-out),
    box-shadow 260ms var(--ease-out),
    border-color 260ms ease,
    background 260ms ease;
}

.feature h3,
.role-card h3,
.flow-step h3 {
  margin: 0.8rem 0 0.7rem;
  font-size: 1.3rem;
  letter-spacing: -0.04em;
}

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

.role-switcher {
  display: grid;
  grid-template-columns: minmax(18rem, 0.42fr) minmax(0, 0.58fr);
  gap: 1rem;
  align-items: stretch;
}

.role-switcher__nav,
.role-switcher__stage {
  border-radius: 2rem;
  padding: 1.5rem;
}

.role-switcher__intro,
.role-switcher__lead,
.role-tab span,
.role-switcher__surface-label {
  color: var(--text-soft);
}

.role-switcher__intro {
  margin: 0;
  line-height: 1.65;
}

.role-switcher__tabs {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.2rem;
}

.role-tab {
  width: 100%;
  padding: 1rem 1.05rem;
  border-radius: 1.3rem;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.08);
  text-align: left;
  color: var(--text);
  transition:
    transform 220ms var(--ease-out),
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.role-tab strong,
.role-tab span {
  display: block;
}

.role-tab strong {
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.role-tab span {
  margin-top: 0.35rem;
  font-size: 0.92rem;
  line-height: 1.45;
}

.role-tab.is-active {
  border-color: rgba(255, 255, 255, 0.68);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.12)),
    linear-gradient(135deg, var(--accent-wash-soft-1), var(--accent-wash-soft-2));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.role-switcher__stage {
  display: grid;
  gap: 1.15rem;
  transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out);
}

.role-switcher__stage.is-swapping {
  transform: translateY(4px);
}

.role-switcher__stage-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.role-switcher__eyebrow {
  display: inline-flex;
  margin-bottom: 0.55rem;
  color: var(--text-soft);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.role-switcher__stage h3 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  letter-spacing: -0.05em;
  line-height: 1.02;
  max-width: 13ch;
}

.role-switcher__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.role-switcher__lead {
  margin: 0;
  line-height: 1.7;
  max-width: 44rem;
}

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

.role-metric {
  padding: 0.95rem 1rem;
  border-radius: 1.3rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.role-metric small,
.role-surface-row span,
.role-switcher__notes li {
  color: var(--text-soft);
}

.role-metric strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.2rem;
  letter-spacing: -0.04em;
}

.role-switcher__mockup {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(16rem, 0.95fr);
  gap: 0.9rem;
}

.role-switcher__surface {
  padding: 1.1rem;
  border-radius: 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
}

.role-switcher__surface--accent {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.1)),
    linear-gradient(135deg, var(--accent-wash-surface-1), var(--accent-wash-surface-2));
}

.role-switcher__surface-head {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 0.9rem;
}

.role-switcher__surface-head strong {
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.role-switcher__surface-list {
  display: grid;
  gap: 0.55rem;
}

.role-surface-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0.9rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.16);
}

.role-surface-row strong {
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  text-align: right;
}

.role-switcher__notes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.role-switcher__notes li {
  position: relative;
  padding-left: 1rem;
  line-height: 1.55;
}

.role-switcher__notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
}

.flow-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 1.2rem;
  align-items: start;
}

.flow-steps {
  display: grid;
  gap: 1rem;
}

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

.rollout-card {
  border-radius: 1.7rem;
  padding: 1.3rem;
}

.rollout-card span {
  display: inline-flex;
  margin-bottom: 0.55rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
}

.rollout-card h3 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: -0.04em;
}

.rollout-card p,
.rollout-card li {
  color: var(--text-soft);
}

.rollout-card--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 1rem;
  align-items: start;
}

.rollout-card--wide ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.rollout-card--wide li {
  position: relative;
  padding-left: 1rem;
}

.rollout-card--wide li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(19rem, 1.1fr);
  align-items: start;
  gap: 1.4rem;
}

.contact-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.2rem;
}

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

.contact-field {
  display: grid;
  gap: 0.45rem;
}

.contact-field span {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.14);
  color: var(--text);
  padding: 0.95rem 1rem;
  font: inherit;
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
}

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

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: var(--text-soft);
}

.contact-field--full {
  grid-column: 1 / -1;
}

.contact-form__actions {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.65rem;
}

.contact-form__actions .glass-button {
  justify-self: start;
}

.contact-form__hint,
.contact-form__success {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.contact-form__success {
  color: var(--text);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 700ms var(--ease-out),
    transform 700ms var(--ease-out);
}

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

@media (hover: hover) and (pointer: fine) {
  .feature:hover,
  .role-card:hover,
  .trust-panel:hover,
  .flow-step:hover,
  .contact-card:hover,
  .rollout-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 70px rgba(28, 44, 77, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.7);
  }

  body[data-theme="dark"] .feature:hover,
  body[data-theme="dark"] .role-card:hover,
  body[data-theme="dark"] .trust-panel:hover,
  body[data-theme="dark"] .flow-step:hover,
  body[data-theme="dark"] .contact-card:hover,
  body[data-theme="dark"] .rollout-card:hover {
    box-shadow: 0 28px 82px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
}

body.menu-open .mobile-nav {
  display: grid;
  animation: menu-in 280ms var(--ease-out);
}

body.menu-open .menu-toggle__bars span:first-child {
  transform: translateY(0.22rem) rotate(45deg);
}

body.menu-open .menu-toggle__bars span:last-child {
  transform: translateY(-0.22rem) rotate(-45deg);
}

@keyframes drift-a {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(1rem, 1.4rem, 0) scale(1.04); }
}

@keyframes drift-b {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-1.2rem, 1rem, 0) scale(1.06); }
}

@keyframes drift-c {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0.6rem, -1rem, 0) scale(1.05); }
}

@keyframes stage-card-drift {
  0%, 100% { translate: 0 0; }
  50% { translate: 0.15rem -1rem; }
}

@keyframes stage-budget-drift {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -0.45rem; }
}

@keyframes sheen {
  0%, 100% { transform: translateX(-130%); }
  55%, 100% { transform: translateX(130%); }
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-0.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .hero,
  .flow-layout,
  .contact-card {
    grid-template-columns: 1fr;
  }

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

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

  .hero-stage {
    min-height: 37rem;
  }

  .stage-budget {
    left: 2%;
    width: min(27rem, 76%);
  }

  .stage-catalog {
    right: 1%;
    width: min(14rem, 36%);
  }

  .stage-provider {
    left: 48%;
    width: min(14rem, 34%);
  }

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

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

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

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

@media (max-width: 920px) {
  .topbar {
    border-radius: 2rem;
    min-height: 4.15rem;
    padding: 0.78rem 0.88rem;
  }

  .topnav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero {
    gap: 2.4rem;
  }

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

  .section h2,
  .contact-card h2 {
    max-width: 13ch;
  }

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

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

  .contact-field--full,
  .contact-form__actions {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  .topbar {
    top: 0.6rem;
    width: calc(100% - 1rem);
    border-radius: 1.6rem;
    min-height: 4rem;
    padding: 0.82rem;
    justify-content: space-between;
  }

  main {
    width: calc(100% - 1rem);
  }

  .hero {
    min-height: auto;
    padding-top: 1.8rem;
    gap: 1.6rem;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 15vw, 4.4rem);
  }

  .hero-lead {
    font-size: 0.98rem;
  }

  .hero-actions,
  .proof-row {
    gap: 0.65rem;
  }

  .hero-actions .glass-button,
  .contact-actions .glass-button {
    width: 100%;
  }

  .hero-stage {
    min-height: 34rem;
  }

  .stage-budget {
    left: 3%;
    width: min(22rem, 84%);
  }

  .stage-budget__top {
    align-items: flex-start;
    flex-direction: column;
  }

  .stage-grid {
    flex-direction: column;
  }

  .stage-catalog,
  .stage-provider,
  .stage-cardline {
    min-width: auto;
    max-width: none;
  }

  .stage-catalog {
    top: 4%;
    right: 2%;
    width: min(11.5rem, 42%);
  }

  .stage-provider {
    left: auto;
    right: 6%;
    bottom: 10%;
    width: min(11.75rem, 44%);
  }

  .stage-cardline {
    left: 3%;
    bottom: 18%;
    width: min(10.75rem, 42%);
  }

  .stage-card {
    padding: 1.1rem;
  }

  .feature-grid,
  .roles-grid {
    grid-template-columns: 1fr;
  }

  .trust-metrics,
  .rollout-grid {
    grid-template-columns: 1fr;
  }

  .role-switcher__nav,
  .role-switcher__stage {
    padding: 1.2rem;
    border-radius: 1.5rem;
  }

  .role-switcher__stage-top {
    flex-direction: column;
  }

  .role-switcher__stage h3 {
    max-width: 100%;
  }

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

  .feature,
  .role-card,
  .flow-step,
  .contact-card {
    border-radius: 1.5rem;
  }

  .contact-actions {
    justify-content: flex-start;
  }

  .contact-form__actions .glass-button {
    width: 100%;
    justify-self: stretch;
  }

  .theme-toggle {
    min-width: 5.6rem;
  }

  .theme-toggle__sun,
  .theme-toggle__moon,
  .menu-toggle__label {
    font-size: 0.72rem;
  }

  body.is-scrolled .topbar {
    min-height: 3.7rem;
    padding: 0.72rem 0.78rem;
  }
}

@media (max-width: 520px) {
  .brand-text {
    font-size: 1rem;
  }

  .brand-mark {
    width: 2.45rem;
    height: 2.45rem;
  }

  .topbar-actions {
    width: 100%;
  }

  .topbar-actions .glass-button {
    flex: 1;
  }

  .hero {
    padding-top: 1.25rem;
  }

  .hero-stage {
    min-height: 30rem;
  }

  .stage-core {
    inset: 10% 6% 8%;
  }

  .stage-budget {
    top: 16%;
    left: 3%;
    width: min(18.5rem, 82%);
  }

  .stage-catalog {
    top: 2%;
    right: 1%;
    max-width: 10.75rem;
  }

  .stage-provider {
    right: 3%;
    bottom: 4%;
    max-width: 10.25rem;
  }

  .stage-cardline {
    left: 2%;
    bottom: 20%;
    max-width: 9.8rem;
  }

  .feature,
  .role-card,
  .trust-panel,
  .flow-step,
  .contact-card,
  .rollout-card {
    padding: 1.2rem;
  }

  .role-tab {
    padding: 0.9rem;
  }

  .role-switcher__surface,
  .role-metric {
    padding: 0.95rem;
  }

  .proof-row span {
    width: 100%;
  }
}

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

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .stage-core,
  .stage-card,
  .orb-shell,
  .hero-stage {
    transform: none !important;
  }
}
