:root {
  color-scheme: light;
  --canvas: #ffffff;
  --canvas-alt: #f5f5f7;
  --surface: #ffffff;
  --surface-raised: #fafafc;
  --surface-dark: #1d1d1f;
  --surface-dark-alt: #272729;
  --ink: #1d1d1f;
  --ink-on-dark: #ffffff;
  --muted: #6e6e73;
  --muted-on-dark: #cccccc;
  --hairline: rgba(0, 0, 0, 0.1);
  --soft-line: rgba(0, 0, 0, 0.06);
  --glass: rgba(255, 255, 255, 0.78);
  --action: #0066cc;
  --action-hover: #0071e3;
  --action-on-dark: #2997ff;
  --focus: #0071e3;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --shell: min(1240px, calc(100vw - 48px));
}

html[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #000000;
  --canvas-alt: #151517;
  --surface: #1c1c1e;
  --surface-raised: #242426;
  --surface-dark: #f5f5f7;
  --surface-dark-alt: #e8e8ed;
  --ink: #f5f5f7;
  --ink-on-dark: #1d1d1f;
  --muted: #a1a1a6;
  --muted-on-dark: #515154;
  --hairline: rgba(255, 255, 255, 0.14);
  --soft-line: rgba(255, 255, 255, 0.08);
  --glass: rgba(21, 21, 23, 0.78);
  --action: #2997ff;
  --action-hover: #50a8ff;
  --action-on-dark: #0066cc;
  --focus: #2997ff;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  background: var(--canvas);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.47;
  letter-spacing: -0.015em;
  transition: background-color 320ms ease, color 320ms ease;
}

button,
select,
input,
textarea {
  font: inherit;
}

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

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

svg {
  display: block;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--action);
  color: #fff;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.global-header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: 64px;
  border-bottom: 1px solid var(--soft-line);
  background: var(--glass);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  transition: background-color 320ms ease, border-color 320ms ease;
}

.global-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 64px;
  animation: nav-enter 650ms var(--ease-out) both;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  min-height: 44px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  background: var(--action);
  color: #fff;
  transition: background-color 320ms ease, transform 300ms var(--ease-spring);
}

.brand:hover .brand-mark {
  transform: rotate(-5deg) scale(1.04);
}

.brand-mark svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.nav-links a {
  position: relative;
  display: grid;
  min-height: 44px;
  padding: 0 12px;
  place-items: center;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: -0.01em;
  transition: color 180ms ease;
}

.nav-links a::after {
  position: absolute;
  right: 12px;
  bottom: 7px;
  left: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--action);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 220ms var(--ease-out);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
}

.language-control {
  position: relative;
  display: flex;
  align-items: center;
  height: 42px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  transition: background-color 320ms ease, border-color 320ms ease, transform 150ms ease;
}

.language-control:active {
  transform: scale(0.97);
}

.language-control > svg:first-of-type {
  position: absolute;
  left: 12px;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.5;
  pointer-events: none;
}

.language-control select {
  width: 122px;
  height: 100%;
  padding: 0 30px 0 36px;
  border: 0;
  outline: 0;
  appearance: none;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 14px;
}

.language-control .select-chevron {
  position: absolute;
  right: 11px;
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.5;
  pointer-events: none;
}

.theme-toggle {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  overflow: hidden;
  place-items: center;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: background-color 320ms ease, border-color 320ms ease, transform 160ms ease;
}

.theme-toggle:active {
  transform: scale(0.92);
}

.theme-toggle svg {
  position: absolute;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  transition: opacity 250ms ease, transform 420ms var(--ease-spring);
}

.moon-icon {
  opacity: 0;
  transform: rotate(-75deg) scale(0.5);
}

html[data-theme="dark"] .sun-icon {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

html[data-theme="dark"] .moon-icon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

.hero-section {
  padding: 104px 0 56px;
  background: var(--canvas-alt);
  transition: background-color 320ms ease;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.7fr);
  align-items: center;
  gap: clamp(48px, 8vw, 112px);
}

.motion-item {
  animation: hero-enter 760ms var(--ease-out) var(--delay, 0ms) both;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--action);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.status-pulse {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--action);
}

.status-pulse::after {
  position: absolute;
  inset: -5px;
  border: 1px solid var(--action);
  border-radius: inherit;
  content: "";
  animation: status-pulse 2.2s ease-out infinite;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(48px, 5.2vw, 72px);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.052em;
}

.hero-lead {
  max-width: 650px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 400;
  line-height: 1.38;
  letter-spacing: -0.025em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  letter-spacing: -0.015em;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 160ms var(--ease-out);
}

.button:active {
  transform: scale(0.95);
}

.button-primary {
  background: var(--action);
  color: #fff;
}

.button-primary:hover {
  background: var(--action-hover);
}

.button-primary span,
.button-light span {
  transition: transform 220ms var(--ease-out);
}

.button-primary:hover span,
.button-light:hover span {
  transform: translateX(4px);
}

.button-secondary {
  border-color: var(--hairline);
  background: var(--surface);
  color: var(--action);
}

.button-secondary:hover {
  border-color: var(--action);
}

.readiness-panel {
  padding: 24px;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background: var(--surface);
  transition: background-color 320ms ease, border-color 320ms ease, transform 300ms var(--ease-out);
}

.readiness-panel:hover {
  transform: translateY(-3px);
}

.readiness-topline,
.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}

.status-chip {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 4px 11px;
  border: 1px solid color-mix(in srgb, var(--action) 28%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--action) 9%, transparent);
  color: var(--action);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
}

.readiness-score {
  position: relative;
  display: grid;
  width: 132px;
  height: 132px;
  margin: 34px auto 25px;
  place-items: center;
}

.score-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.score-track,
.score-progress {
  fill: none;
  stroke-width: 7;
}

.score-track {
  stroke: var(--soft-line);
}

.score-progress {
  stroke: var(--action);
  stroke-dasharray: 358;
  stroke-dashoffset: 239;
  stroke-linecap: round;
  animation: draw-score 1.35s var(--ease-spring) 620ms both;
}

.score-copy {
  display: grid;
  place-items: center;
}

.score-copy strong {
  font-size: 42px;
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.score-copy span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0;
}

.readiness-panel h2 {
  margin: 0;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.readiness-panel > p {
  margin: 10px 0 22px;
  color: var(--muted);
  font-size: 15px;
}

.readiness-list {
  display: grid;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--soft-line);
}

.readiness-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.readiness-list i {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  font-size: 11px;
  font-style: normal;
}

.readiness-list .is-complete {
  color: var(--ink);
}

.readiness-list .is-complete i {
  border-color: var(--action);
  background: var(--action);
  color: #fff;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 84px;
}

.metric-card {
  display: grid;
  min-height: 154px;
  align-content: end;
  padding: 24px;
  border-top: 1px solid var(--hairline);
  transition: border-color 320ms ease;
}

.metric-card strong {
  margin: 19px 0 0;
  font-size: 38px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
}

.metric-card > span:last-child,
.metric-label {
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0;
}

.metric-label {
  text-transform: uppercase;
}

.journey-section {
  padding: 104px 0 112px;
  background: #1d1d1f;
  color: #fff;
}

html[data-theme="dark"] .journey-section {
  background: #f5f5f7;
  color: #1d1d1f;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 58px;
}

.section-heading h2,
.closing-panel h2 {
  margin: 0;
  font-size: clamp(36px, 4.4vw, 54px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.section-heading > p:last-child,
.closing-panel p:not(.eyebrow) {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.45;
}

.section-heading.on-dark > p:last-child {
  color: #a1a1a6;
}

html[data-theme="dark"] .section-heading.on-dark > p:last-child {
  color: #6e6e73;
}

.eyebrow-dark {
  color: #2997ff;
}

html[data-theme="dark"] .eyebrow-dark {
  color: #0066cc;
}

.journey-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.journey-track::before {
  position: absolute;
  z-index: 0;
  top: 22px;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
}

html[data-theme="dark"] .journey-track::before {
  background: rgba(0, 0, 0, 0.15);
}

.journey-track.is-visible::before {
  animation: draw-line 1.05s var(--ease-out) 180ms both;
}

.journey-step {
  position: relative;
  z-index: 1;
}

.step-number {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: #1d1d1f;
  color: #a1a1a6;
  font-size: 12px;
  letter-spacing: 0;
}

html[data-theme="dark"] .step-number {
  border-color: rgba(0, 0, 0, 0.18);
  background: #f5f5f7;
  color: #6e6e73;
}

.journey-step.is-current .step-number {
  border-color: #0066cc;
  background: #0066cc;
  color: #fff;
  animation: current-step 2.4s ease-in-out infinite;
}

html[data-theme="dark"] .journey-step.is-current .step-number {
  border-color: #0066cc;
  background: #0066cc;
  color: #fff;
}

.journey-step strong {
  font-size: 18px;
  font-weight: 600;
}

.journey-step p {
  margin: 9px 0 0;
  color: #a1a1a6;
  font-size: 15px;
  letter-spacing: -0.01em;
}

html[data-theme="dark"] .journey-step p {
  color: #6e6e73;
}

.devices-section,
.plans-section {
  padding: 112px 0;
  background: var(--canvas);
  transition: background-color 320ms ease;
}

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

.device-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.75fr) minmax(260px, 1fr);
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background: var(--surface);
  transition: background-color 320ms ease, border-color 320ms ease, transform 300ms var(--ease-out);
}

.device-card:hover {
  transform: translateY(-4px);
}

.device-visual {
  display: grid;
  min-height: 260px;
  place-items: center;
  background: var(--canvas-alt);
  transition: background-color 320ms ease;
}

.phone-frame {
  position: relative;
  display: grid;
  width: 116px;
  height: 228px;
  place-items: center;
  border: 4px solid var(--ink);
  border-radius: 25px;
  background: var(--surface);
  color: var(--action);
  animation: device-float 5s ease-in-out infinite;
  transition: background-color 320ms ease, border-color 320ms ease;
}

.physical-phone {
  animation-delay: -2.3s;
}

.phone-camera {
  position: absolute;
  top: 8px;
  width: 42px;
  height: 7px;
  border-radius: 999px;
  background: var(--ink);
}

.phone-signal {
  position: absolute;
  right: 14px;
  bottom: 15px;
  left: 14px;
  height: 3px;
  overflow: hidden;
  border-radius: 3px;
  background: var(--soft-line);
}

.phone-signal::after {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: var(--action);
  content: "";
  animation: signal-scan 2.8s var(--ease-out) infinite;
}

.phone-a {
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.06em;
}

.physical-visual {
  background: var(--surface-raised);
}

.device-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
}

.card-topline {
  width: 100%;
}

.status-neutral {
  border-color: var(--hairline);
  background: var(--canvas-alt);
  color: var(--muted);
}

.device-content h3 {
  margin: 32px 0 0;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.device-content > p {
  margin: 13px 0 22px;
  color: var(--muted);
  font-size: 15px;
}

.device-details {
  display: grid;
  width: 100%;
  gap: 10px;
  margin: 0 0 26px;
}

.device-details > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 10px;
  border-top: 1px solid var(--soft-line);
  font-size: 13px;
}

.device-details dt {
  color: var(--muted);
}

.device-details dd {
  margin: 0;
  color: var(--ink);
}

.device-content .button {
  margin-top: auto;
}

.last-checked {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: right;
  letter-spacing: 0;
}

.plans-section {
  padding-top: 48px;
  background: var(--canvas-alt);
}

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

.plan-card {
  display: flex;
  min-height: 355px;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background: var(--surface);
  transition: background-color 320ms ease, border-color 320ms ease, transform 300ms var(--ease-out);
}

.plan-card:hover {
  transform: translateY(-4px);
}

.plan-card-dark {
  border-color: transparent;
  background: #1d1d1f;
  color: #fff;
}

html[data-theme="dark"] .plan-card-dark {
  background: #f5f5f7;
  color: #1d1d1f;
}

.plan-index {
  color: var(--action);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
}

.plan-card h3 {
  margin: 56px 0 0;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.plan-card p {
  margin: 16px 0 28px;
  color: var(--muted);
  font-size: 16px;
}

.plan-card-dark p {
  color: #a1a1a6;
}

html[data-theme="dark"] .plan-card-dark p {
  color: #6e6e73;
}

.plan-detail {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--soft-line);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.plan-card-dark .plan-detail {
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
}

html[data-theme="dark"] .plan-card-dark .plan-detail {
  border-color: rgba(0, 0, 0, 0.12);
  color: #1d1d1f;
}

.closing-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 64px;
  margin-top: 80px;
  padding: clamp(40px, 6vw, 72px);
  border-radius: 18px;
  background: #1d1d1f;
  color: #fff;
}

html[data-theme="dark"] .closing-panel {
  background: #f5f5f7;
  color: #1d1d1f;
}

.closing-panel > div {
  max-width: 730px;
}

.closing-panel .eyebrow {
  color: #2997ff;
}

html[data-theme="dark"] .closing-panel .eyebrow {
  color: #0066cc;
}

.closing-panel p:not(.eyebrow) {
  color: #a1a1a6;
}

html[data-theme="dark"] .closing-panel p:not(.eyebrow) {
  color: #6e6e73;
}

.button-light {
  flex-shrink: 0;
  background: #fff;
  color: #0066cc;
}

html[data-theme="dark"] .button-light {
  background: #1d1d1f;
  color: #2997ff;
}

.site-footer {
  padding: 56px 0;
  border-top: 1px solid var(--soft-line);
  background: var(--canvas-alt);
  transition: background-color 320ms ease, border-color 320ms ease;
}

.footer-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.footer-brand {
  min-height: auto;
}

.brand-mark-small {
  width: 26px;
  height: 26px;
}

.footer-inner p {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0;
}

.footer-meta {
  max-width: 390px;
  text-align: right;
}

.pilot-dialog {
  width: min(480px, calc(100vw - 32px));
  padding: 34px;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background: var(--surface);
  color: var(--ink);
}

.pilot-dialog[open] {
  animation: dialog-enter 420ms var(--ease-spring) both;
}

.pilot-dialog::backdrop {
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(8px);
  animation: backdrop-enter 280ms ease both;
}

.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0 0 2px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--canvas-alt);
  color: var(--muted);
  cursor: pointer;
  font-size: 24px;
}

.dialog-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  background: var(--action);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}

.pilot-dialog h2 {
  margin: 26px 0 0;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.pilot-dialog > p {
  margin: 14px 0 26px;
  color: var(--muted);
  font-size: 16px;
}

.dialog-progress {
  height: 5px;
  margin-bottom: 26px;
  overflow: hidden;
  border-radius: 5px;
  background: var(--soft-line);
}

.dialog-progress span {
  display: block;
  width: 34%;
  height: 100%;
  border-radius: inherit;
  background: var(--action);
  transform-origin: left;
  animation: progress-enter 900ms var(--ease-out) 260ms both;
}

.dialog-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-top: 1px solid var(--soft-line);
  font-size: 14px;
}

.dialog-meta span {
  color: var(--muted);
}

.dialog-meta strong {
  color: var(--ink);
  font-weight: 600;
}

.dialog-action {
  width: 100%;
  margin-top: 24px;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 680ms var(--ease-out), transform 680ms var(--ease-out);
}

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

/* Public product story */
.marketing-hero {
  padding: 112px 0 96px;
  background: var(--canvas-alt);
  transition: background-color 320ms ease;
}

.marketing-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.86fr);
  align-items: center;
  gap: clamp(52px, 8vw, 112px);
}

.marketing-hero .hero-copy h1,
.account-intro h1,
.login-message h1,
.workspace-heading h1,
.onboarding-heading h1,
.operations-heading h1 {
  margin: 0;
  font-size: clamp(48px, 5.4vw, 72px);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.052em;
}

.hero-assurance {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0;
}

.hero-product-stage {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 32px;
  background: #030407;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
  color: #f5f5f7;
  transition: transform 420ms var(--ease-out), box-shadow 420ms var(--ease-out);
}

.hero-product-stage::before {
  position: absolute;
  inset: -20%;
  z-index: -1;
  background:
    radial-gradient(circle at 65% 40%, rgba(0, 102, 204, 0.24), transparent 32%),
    radial-gradient(circle at 28% 74%, rgba(41, 151, 255, 0.13), transparent 27%);
  content: "";
}

.hero-product-stage:hover {
  transform: translateY(-5px);
  box-shadow: 0 36px 96px rgba(0, 0, 0, 0.28);
}

.hero-stage-topline {
  position: absolute;
  inset: 22px 24px auto;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  letter-spacing: 0.01em;
}

.hero-stage-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-weight: 550;
}

.hero-stage-live i {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2997ff;
  box-shadow: 0 0 0 5px rgba(41, 151, 255, 0.13);
}

.hero-phone-parallax {
  --phone-shift: 0px;
  position: absolute;
  inset: 38px -7% -128px 1%;
  z-index: 1;
  transform: translate3d(0, var(--phone-shift), 0);
  will-change: transform;
}

.hero-phone-float {
  width: 100%;
  height: 100%;
  animation: phone-pan-out 1100ms var(--ease-out) 220ms both;
}

.hero-phone-float picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-phone-float img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  animation: phone-breathe 7s ease-in-out 1500ms infinite;
  filter: saturate(0.94) contrast(1.02);
}

.store-signal {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 176px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 15px;
  background: rgba(18, 20, 26, 0.76);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px) saturate(1.3);
  animation: product-cue-enter 680ms var(--ease-out) both;
}

.store-signal-play {
  top: 106px;
  left: 18px;
  animation-delay: 720ms;
}

.store-signal-assets {
  right: 18px;
  bottom: 96px;
  animation-delay: 860ms;
}

.store-signal-icon {
  display: grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(145deg, #2997ff, #0066cc);
  color: #fff;
}

.store-signal-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.store-signal-grid {
  background: rgba(255, 255, 255, 0.94);
  color: #0066cc;
}

.store-signal > span:last-child {
  display: grid;
  gap: 2px;
}

.store-signal small {
  overflow: hidden;
  max-width: 150px;
  color: rgba(255, 255, 255, 0.59);
  font-size: 10px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-signal strong {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.012em;
}

.hero-proof-strip {
  position: absolute;
  inset: auto 18px 18px;
  z-index: 3;
  display: flex;
  gap: 9px;
}

.hero-proof-strip span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(6, 7, 10, 0.72);
  color: rgba(255, 255, 255, 0.75);
  font-size: 10px;
  backdrop-filter: blur(12px);
}

.hero-proof-strip i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2997ff;
}

.capability-visual {
  display: grid;
  width: 68px;
  height: 68px;
  margin-bottom: 52px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(41, 151, 255, 0.18), rgba(41, 151, 255, 0.04));
  color: #2997ff;
}

.capability-visual svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html[data-theme="dark"] .capability-visual {
  border-color: rgba(0, 0, 0, 0.1);
  background: linear-gradient(145deg, rgba(0, 102, 204, 0.12), rgba(0, 102, 204, 0.03));
  color: #0066cc;
}

.capabilities-section {
  padding: 112px 0;
  background: #1d1d1f;
  color: #fff;
}

html[data-theme="dark"] .capabilities-section {
  background: #f5f5f7;
  color: #1d1d1f;
}

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

.capability-item {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

html[data-theme="dark"] .capability-item {
  border-color: rgba(0, 0, 0, 0.14);
}

.capability-item > span {
  color: #2997ff;
  font-size: 13px;
  font-weight: 600;
}

html[data-theme="dark"] .capability-item > span {
  color: #0066cc;
}

.capability-item h3 {
  margin: 32px 0 0;
  font-size: 27px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.capability-item p {
  margin: 14px 0 0;
  color: #a1a1a6;
  font-size: 16px;
}

html[data-theme="dark"] .capability-item p {
  color: #6e6e73;
}

.process-section {
  padding: 112px 0;
  background: var(--canvas);
  transition: background-color 320ms ease;
}

.process-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(420px, 1fr);
  align-items: start;
  gap: clamp(56px, 10vw, 150px);
}

.process-grid .section-heading {
  position: sticky;
  top: 112px;
  margin: 0;
}

.text-action {
  display: inline-flex;
  gap: 8px;
  margin-top: 25px;
  color: var(--action);
  font-size: 17px;
}

.text-action span {
  transition: transform 220ms var(--ease-out);
}

.text-action:hover span {
  transform: translateX(4px);
}

.process-list,
.account-benefits {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li,
.account-benefits li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 24px;
  padding: 26px 0 30px;
  border-top: 1px solid var(--hairline);
}

.process-list li > span,
.account-benefits li > span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  color: var(--action);
  font-size: 12px;
  font-weight: 600;
}

.process-list strong,
.account-benefits strong {
  font-size: 20px;
  font-weight: 600;
}

.process-list p,
.account-benefits p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.public-plans {
  padding-top: 112px;
}

.plan-features {
  display: grid;
  gap: 10px;
  margin: 0 0 30px;
  padding: 20px 0 0;
  border-top: 1px solid var(--soft-line);
  list-style: none;
}

.plan-features li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 14px;
}

.plan-features li::before {
  position: absolute;
  top: 1px;
  left: 0;
  color: var(--action);
  content: "✓";
  font-weight: 600;
}

.plan-card-dark .plan-features {
  border-color: rgba(255, 255, 255, 0.14);
}

.plan-card-dark .plan-features li {
  color: #a1a1a6;
}

html[data-theme="dark"] .plan-card-dark .plan-features {
  border-color: rgba(0, 0, 0, 0.12);
}

html[data-theme="dark"] .plan-card-dark .plan-features li {
  color: #6e6e73;
}

.public-plans .plan-card {
  min-height: 520px;
}

.public-plans .plan-card .button {
  margin-top: auto;
}

/* Global account navigation */
.nav-context {
  color: var(--muted);
  font-size: 14px;
}

.nav-auth,
.footer-links,
.operations-request-footer > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-sign-in,
.nav-workspace-link,
.nav-logout button {
  display: grid;
  min-height: 42px;
  padding: 0 12px;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 14px;
}

.nav-start {
  min-height: 38px;
  padding: 9px 16px;
  background: var(--action);
  color: #fff;
  font-size: 14px;
}

.nav-logout {
  margin: 0;
}

.nav-workspace-link {
  border-radius: 999px;
  background: var(--action);
  color: #fff;
}

.footer-links {
  gap: 24px;
}

.footer-links a {
  color: var(--muted);
  font-size: 13px;
}

.footer-links a:hover,
.auth-card a,
.back-link,
.instruction-card > a,
.request-brief a {
  color: var(--action);
}

/* Account surfaces */
.account-section {
  min-height: calc(100vh - 64px);
  padding: 88px 0 104px;
  background: var(--canvas-alt);
  transition: background-color 320ms ease;
}

.account-grid,
.login-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 0.68fr);
  align-items: start;
  gap: clamp(52px, 10vw, 150px);
}

.account-intro,
.login-message {
  padding-top: 30px;
}

.account-intro > p:not(.eyebrow),
.login-message > p:not(.eyebrow),
.onboarding-heading > p:not(.eyebrow),
.operations-heading > div > p:not(.eyebrow),
.workspace-heading > div > p:not(.eyebrow) {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.account-benefits {
  margin-top: 60px;
}

.auth-card {
  padding: 34px;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background: var(--surface);
  transition: background-color 320ms ease, border-color 320ms ease;
}

.auth-card-heading > span,
.detail-label,
.assignment-heading .detail-label {
  color: var(--action);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.auth-card-heading h2 {
  margin: 12px 0 0;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

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

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

.auth-form label:not(.check-control),
.form-grid label,
.full-field,
.assignment-fields label,
.compact-field {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
}

.auth-form label small,
.full-field small,
.compact-field small {
  color: var(--muted);
  font-weight: 400;
}

.auth-form input:not([type="checkbox"]),
.form-grid input,
.form-grid select,
.full-field input,
.full-field textarea,
.assignment-fields input,
.assignment-fields select,
.compact-field input {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  outline: 0;
  background: var(--surface);
  color: var(--ink);
  transition: background-color 320ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.full-field textarea {
  min-height: 130px;
  resize: vertical;
}

.auth-form input:focus,
.form-grid input:focus,
.form-grid select:focus,
.full-field input:focus,
.full-field textarea:focus,
.assignment-fields input:focus,
.assignment-fields select:focus,
.compact-field input:focus {
  border-color: var(--action);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--action) 16%, transparent);
}

.check-control {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.check-control input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--action);
}

.validation-summary {
  padding: 12px 14px;
  border-left: 3px solid #d70015;
  background: color-mix(in srgb, #d70015 7%, transparent);
  color: var(--ink);
  font-size: 14px;
}

.validation-summary:empty,
.field-error:empty {
  display: none;
}

.validation-summary ul {
  margin: 0;
  padding-left: 20px;
}

.field-error {
  color: #d70015;
  font-size: 12px;
}

.auth-submit {
  width: 100%;
  margin-top: 4px;
}

.login-grid {
  align-items: center;
  min-height: 620px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px 0 20px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

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

.microsoft-button {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 180ms ease, transform 160ms var(--ease-out);
}

.microsoft-button:hover {
  border-color: var(--action);
}

.microsoft-button:active {
  transform: scale(0.97);
}

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

.microsoft-mark i {
  width: 8px;
  height: 8px;
  background: #f25022;
}

.microsoft-mark i:nth-child(2) { background: #7fba00; }
.microsoft-mark i:nth-child(3) { background: #00a4ef; }
.microsoft-mark i:nth-child(4) { background: #ffb900; }

.staff-note {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.message-section {
  display: grid;
  min-height: calc(100vh - 64px);
  padding: 80px 0;
  place-items: center;
  background: var(--canvas-alt);
}

.message-card {
  width: min(560px, calc(100vw - 32px));
  padding: 48px;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background: var(--surface);
  text-align: center;
}

.message-card h1 {
  margin: 22px 0 0;
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.message-card p {
  margin: 14px 0 28px;
  color: var(--muted);
}

.preparing-card {
  overflow: hidden;
}

.preparing-spinner {
  position: relative;
  display: block;
  width: 54px;
  height: 54px;
  margin: 0 auto 28px;
  border: 2px solid var(--soft-line);
  border-top-color: var(--action);
  border-radius: 50%;
  animation: preparing-spin 900ms linear infinite;
}

.preparing-spinner::after {
  position: absolute;
  inset: 8px;
  border: 1px solid var(--hairline);
  border-right-color: var(--action);
  border-radius: inherit;
  content: "";
  animation: preparing-spin 1.4s linear infinite reverse;
}

/* Customer workspace and guided submission */
.workspace-hero,
.operations-hero {
  padding: 82px 0 48px;
  background: var(--canvas-alt);
  transition: background-color 320ms ease;
}

.workspace-heading,
.operations-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
}

.workspace-heading h1,
.operations-heading h1,
.onboarding-heading h1 {
  font-size: clamp(42px, 4.8vw, 64px);
}

.workspace-content,
.operations-content {
  min-height: 520px;
  padding: 64px 0 112px;
  background: var(--canvas);
}

.success-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 44px;
  padding: 18px 20px;
  border: 1px solid color-mix(in srgb, var(--action) 25%, transparent);
  border-radius: 18px;
  background: color-mix(in srgb, var(--action) 7%, var(--surface));
}

.success-banner > span,
.submission-note > span {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--action);
  color: #fff;
  font-size: 13px;
}

.success-banner p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.empty-state {
  max-width: 680px;
  margin: 54px auto;
  text-align: center;
}

.empty-index {
  display: grid;
  width: 52px;
  height: 52px;
  margin: 0 auto 24px;
  place-items: center;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  color: var(--action);
  font-size: 13px;
  font-weight: 600;
}

.empty-state h2 {
  margin: 0;
  font-size: 38px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.empty-state p {
  margin: 14px 0 26px;
  color: var(--muted);
}

.workspace-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.workspace-section-heading .eyebrow {
  margin-bottom: 10px;
}

.workspace-section-heading h2 {
  margin: 0;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.workspace-section-heading > span {
  color: var(--muted);
  font-size: 13px;
}

.request-list,
.operations-list {
  display: grid;
  gap: 16px;
}

.customer-request-card,
.operations-request {
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background: var(--surface);
  transition: background-color 320ms ease, border-color 320ms ease, transform 260ms var(--ease-out);
}

.customer-request-card:hover,
.operations-request:hover {
  transform: translateY(-2px);
}

.customer-request-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 24px;
}

.request-card-main {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 17px;
}

.request-app-mark {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  background: var(--action);
  color: #fff;
  font-size: 22px;
  font-weight: 600;
}

.request-id {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.request-card-main h3 {
  margin: 4px 0 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.request-card-main p {
  margin: 4px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.request-status-block {
  display: grid;
  justify-items: end;
  gap: 7px;
}

.request-status {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 4px 11px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
}

.request-status.is-testing,
.request-status.is-new {
  border-color: color-mix(in srgb, var(--action) 28%, transparent);
  background: color-mix(in srgb, var(--action) 8%, transparent);
  color: var(--action);
}

.request-status.is-complete {
  color: var(--ink);
}

.request-status-block small {
  color: var(--muted);
  font-size: 12px;
}

.customer-progress {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 20px;
  border-top: 1px solid var(--soft-line);
}

.customer-progress span {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.customer-progress span::after {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: 12px;
  left: 32px;
  height: 1px;
  background: var(--soft-line);
  content: "";
}

.customer-progress span:last-child::after {
  display: none;
}

.customer-progress i {
  z-index: 1;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  background: var(--surface);
  font-size: 10px;
  font-style: normal;
}

.customer-progress .is-done {
  color: var(--ink);
}

.customer-progress .is-done i {
  border-color: var(--action);
  background: var(--action);
  color: #fff;
}

.onboarding-section {
  min-height: calc(100vh - 64px);
  padding: 72px 0 112px;
  background: var(--canvas-alt);
}

.onboarding-heading {
  max-width: 820px;
}

.back-link {
  display: inline-block;
  margin-bottom: 40px;
  font-size: 14px;
}

.wizard-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  align-items: start;
  gap: 40px;
  margin-top: 60px;
}

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

.wizard-nav button {
  display: grid;
  grid-template-columns: 32px 1fr;
  min-height: 52px;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  text-align: left;
  transition: background-color 180ms ease, color 180ms ease, transform 160ms ease;
}

.wizard-nav button:active {
  transform: scale(0.97);
}

.wizard-nav button span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  font-size: 11px;
}

.wizard-nav button.is-active {
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
}

.wizard-nav button.is-active span,
.wizard-nav button.is-complete span {
  border-color: var(--action);
  background: var(--action);
  color: #fff;
}

.wizard-card {
  min-height: 560px;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background: var(--surface);
  transition: background-color 320ms ease, border-color 320ms ease;
}

.wizard-card fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  animation: wizard-enter 430ms var(--ease-out) both;
}

.wizard-card fieldset[hidden] {
  display: none;
}

.wizard-card legend {
  display: grid;
  width: 100%;
  grid-template-columns: 42px 1fr;
  margin-bottom: 38px;
}

.wizard-card legend > span {
  grid-row: 1 / 3;
  color: var(--action);
  font-size: 12px;
  font-weight: 600;
}

.wizard-card legend strong {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.wizard-card legend small {
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
}

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

.form-grid label:last-child {
  grid-column: 1 / -1;
}

.wizard-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--soft-line);
}

.instruction-card {
  margin-bottom: 28px;
  padding: 24px;
  border-radius: 18px;
  background: var(--canvas-alt);
}

.instruction-card ol {
  display: grid;
  gap: 17px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.instruction-card li {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: start;
  gap: 12px;
}

.instruction-card li > span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  color: var(--action);
  font-size: 11px;
  font-weight: 600;
}

.instruction-card p {
  margin: 1px 0 0;
  color: var(--ink);
  font-size: 14px;
}

.instruction-card > a {
  font-size: 14px;
}

.plan-selector {
  display: grid;
  gap: 12px;
}

.plan-selector label {
  display: block;
  cursor: pointer;
}

.plan-selector input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.plan-selector label > span {
  display: grid;
  grid-template-columns: 40px 1fr;
  padding: 19px;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  transition: border-color 180ms ease, background-color 180ms ease, transform 160ms ease;
}

.plan-selector label:active > span {
  transform: scale(0.99);
}

.plan-selector input:checked + span {
  border: 2px solid var(--action);
  padding: 18px;
  background: color-mix(in srgb, var(--action) 5%, var(--surface));
}

.plan-selector input:focus-visible + span {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.plan-selector i {
  grid-row: 1 / 3;
  color: var(--action);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}

.plan-selector strong {
  font-size: 18px;
  font-weight: 600;
}

.plan-selector small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.submission-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding: 17px;
  border-radius: 18px;
  background: var(--canvas-alt);
}

.submission-note p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Monichron-only operations */
.operations-heading {
  align-items: center;
}

.operator-identity {
  display: grid;
  justify-items: end;
  color: var(--muted);
  font-size: 12px;
}

.operator-identity strong {
  margin-top: 3px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.operations-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 64px;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background: var(--hairline);
  overflow: hidden;
}

.operations-metrics article {
  display: grid;
  min-height: 150px;
  align-content: end;
  padding: 24px;
  background: var(--surface);
}

.operations-metrics article > span,
.operations-metrics small {
  color: var(--muted);
  font-size: 12px;
}

.operations-metrics strong {
  margin: 14px 0 7px;
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
}

.operations-request-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  border-bottom: 1px solid var(--soft-line);
}

.operations-request-meta {
  display: grid;
  justify-items: end;
  gap: 9px;
}

.operations-request-meta strong {
  font-size: 14px;
  font-weight: 600;
}

.operations-detail-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(440px, 1.25fr);
}

.request-brief,
.assignment-form {
  padding: 28px;
}

.request-brief {
  border-right: 1px solid var(--soft-line);
}

.request-brief dl {
  display: grid;
  gap: 15px;
  margin: 20px 0 0;
}

.request-brief dl > div {
  display: grid;
  gap: 3px;
}

.request-brief dt {
  color: var(--muted);
  font-size: 12px;
}

.request-brief dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 14px;
}

.current-assignments {
  display: grid;
  gap: 9px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--soft-line);
}

.current-assignments > div {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--soft-line);
  font-size: 12px;
}

.current-assignments > div span,
.current-assignments > div small {
  color: var(--muted);
}

.current-assignments > div strong {
  font-weight: 600;
}

.assignment-heading {
  display: grid;
  gap: 6px;
}

.assignment-heading strong {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.assignment-fields {
  display: grid;
  grid-template-columns: 1fr 1.35fr 86px;
  gap: 14px;
  margin-top: 24px;
}

.compact-field {
  margin-top: 14px;
}

.assignment-form > .button {
  margin-top: 20px;
}

.operations-request-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 24px;
  border-top: 1px solid var(--soft-line);
  color: var(--muted);
  font-size: 12px;
}

.operations-request-footer form {
  margin: 0;
}

.operations-request-footer .button {
  min-height: 38px;
  padding: 8px 15px;
  font-size: 13px;
}

.controller-token-banner,
.pilot-success-banner {
  margin-bottom: 18px;
  border: 1px solid color-mix(in srgb, var(--action) 28%, var(--hairline));
  border-radius: 18px;
  background: color-mix(in srgb, var(--action) 8%, var(--surface));
  box-shadow: 0 16px 40px rgba(0, 102, 204, 0.08);
}

.controller-token-banner {
  padding: 20px 22px;
}

.controller-token-banner > div {
  display: grid;
  gap: 6px;
}

.controller-token-banner strong {
  overflow-wrap: anywhere;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 15px;
  letter-spacing: 0.02em;
}

.controller-token-banner small,
.lab-panel-card small,
.lab-panel-card > p {
  color: var(--muted);
}

.pilot-success-banner {
  padding: 14px 18px;
  color: #08783e;
  font-size: 14px;
  font-weight: 600;
}

html[data-theme="dark"] .pilot-success-banner {
  color: #52d188;
}

.lab-control-panel {
  display: grid;
  gap: 18px;
  margin: 24px 0 64px;
}

.lab-control-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
}

.lab-panel-card {
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.04);
}

.lab-panel-card > header {
  display: grid;
  gap: 5px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--soft-line);
}

.lab-panel-card > header strong {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.lab-inline-form,
.lab-account-form {
  display: flex;
  align-items: end;
  gap: 10px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--soft-line);
}

.lab-inline-form label,
.lab-account-form label {
  display: grid;
  flex: 1;
  gap: 6px;
}

.lab-inline-form label > span,
.lab-account-form label > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lab-inline-form input,
.lab-account-form input,
.pilot-dispatch-form select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--hairline);
  border-radius: 11px;
  background: var(--surface-raised);
  color: var(--ink);
  padding: 8px 11px;
}

.lab-card-list {
  display: grid;
  padding: 0 22px;
}

.lab-card-list > p,
.lab-jobs-card > p {
  margin: 0;
  padding: 24px 0;
  font-size: 14px;
}

.lab-list-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--soft-line);
}

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

.lab-list-row > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.lab-list-row > div small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lab-list-row > small {
  grid-column: 1 / -1;
}

.request-status.is-ready {
  background: rgba(48, 209, 88, 0.12);
  color: #08783e;
}

html[data-theme="dark"] .request-status.is-ready {
  color: #52d188;
}

.lab-device-row {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--soft-line);
}

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

.lab-device-row .lab-list-row {
  border-bottom: 0;
}

.lab-device-row > form:not(.lab-account-form) {
  margin: -2px 0 0;
}

.lab-account-form {
  align-items: end;
  padding: 2px 0 4px;
  border-bottom: 0;
}

.lab-account-form .button,
.lab-inline-form .button {
  white-space: nowrap;
}

.lab-jobs-card > p {
  padding-inline: 22px;
}

.lab-jobs-table {
  display: grid;
}

.lab-job-row {
  display: grid;
  grid-template-columns: 115px minmax(130px, 1.2fr) minmax(120px, 1fr) 110px auto minmax(90px, 0.8fr);
  gap: 12px;
  align-items: center;
  padding: 14px 22px;
  border-bottom: 1px solid var(--soft-line);
  font-size: 13px;
}

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

.lab-job-row small,
.lab-job-row > span:first-child {
  color: var(--muted);
}

.pilot-dispatch-form {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.pilot-dispatch-form select {
  width: auto;
  min-width: 210px;
  min-height: 38px;
  padding-block: 6px;
  font-size: 13px;
}

@keyframes wizard-enter {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: translateX(0); }
}

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

@keyframes nav-enter {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-enter {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes status-pulse {
  0% { opacity: 0.7; transform: scale(0.4); }
  70%, 100% { opacity: 0; transform: scale(1.3); }
}

@keyframes draw-score {
  from { stroke-dashoffset: 358; }
  to { stroke-dashoffset: 239; }
}

@keyframes draw-line {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes current-step {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.07); }
}

@keyframes device-float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-8px) rotate(1deg); }
}

@keyframes signal-scan {
  0% { transform: translateX(-110%); }
  55%, 100% { transform: translateX(250%); }
}

@keyframes dialog-enter {
  from { opacity: 0; transform: translateY(28px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes backdrop-enter {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes progress-enter {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes phone-pan-out {
  from { opacity: 0; transform: translate3d(0, 54px, 0) scale(1.18); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes phone-breathe {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -7px, 0) scale(1.012); }
}

@keyframes product-cue-enter {
  from { opacity: 0; transform: translate3d(0, 14px, 0) scale(0.95); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@media (max-width: 1068px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 48px;
  }

  .hero-copy h1 {
    font-size: clamp(44px, 5.3vw, 58px);
  }

  .marketing-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.86fr);
    gap: 48px;
  }

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

@media (max-width: 920px) {
  .global-nav {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

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

  .hero-copy {
    max-width: 760px;
  }

  .readiness-panel {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 32px;
  }

  .readiness-topline,
  .readiness-list {
    grid-column: 1 / -1;
  }

  .readiness-score {
    grid-column: 2;
    grid-row: 2 / 5;
    margin: 30px 0;
  }

  .readiness-panel h2,
  .readiness-panel > p {
    grid-column: 1;
  }

  .journey-track {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 48px;
  }

  .journey-track::before {
    display: none;
  }

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

  .plan-card {
    min-height: 285px;
  }

  .plan-card h3 {
    margin-top: 36px;
  }

  .closing-panel {
    grid-template-columns: 1fr;
  }

  .closing-panel .button {
    justify-self: start;
  }

  .marketing-hero-grid,
  .account-grid,
  .login-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .hero-product-stage {
    width: min(680px, 100%);
    min-height: 640px;
  }

  .process-grid .section-heading {
    position: static;
  }

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

  .capability-item h3 {
    margin-top: 36px;
  }

  .login-grid {
    min-height: auto;
  }

  .auth-card {
    width: min(620px, 100%);
  }

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

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

  .wizard-nav button {
    grid-template-columns: 32px;
    justify-content: center;
    text-indent: -9999px;
  }

  .wizard-nav button span {
    text-indent: 0;
  }

  .operations-detail-grid {
    grid-template-columns: 1fr;
  }

  .request-brief {
    border-right: 0;
    border-bottom: 1px solid var(--soft-line);
  }

  .assignment-fields {
    grid-template-columns: 1fr 1fr;
  }

  .assignment-fields label:last-child {
    grid-column: 1 / -1;
  }

  .lab-control-grid {
    grid-template-columns: 1fr;
  }

  .lab-job-row {
    grid-template-columns: 100px minmax(130px, 1fr) auto;
  }

  .lab-job-row > span:nth-child(3),
  .lab-job-row > span:nth-child(4),
  .lab-job-row > small {
    display: none;
  }
}

@media (max-width: 680px) {
  :root {
    --shell: min(100% - 32px, 1240px);
  }

  .global-header,
  .global-nav {
    height: 58px;
  }

  .brand > span:last-child {
    display: none;
  }

  .lab-inline-form,
  .lab-account-form,
  .pilot-dispatch-form {
    align-items: stretch;
    flex-direction: column;
  }

  .lab-inline-form .button,
  .lab-account-form .button,
  .pilot-dispatch-form .button,
  .pilot-dispatch-form select {
    width: 100%;
  }

  .lab-job-row {
    grid-template-columns: 88px minmax(0, 1fr) auto;
    padding-inline: 16px;
  }

  .language-control select {
    width: 110px;
  }

  .hero-section {
    padding: 72px 0 40px;
  }

  .hero-grid {
    gap: 42px;
  }

  .hero-copy h1 {
    font-size: clamp(40px, 13vw, 54px);
  }

  .hero-lead {
    font-size: 19px;
  }

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

  .readiness-panel {
    display: block;
  }

  .readiness-score {
    margin: 30px auto 24px;
  }

  .metric-grid,
  .device-grid {
    grid-template-columns: 1fr;
  }

  .metric-grid {
    gap: 0;
    margin-top: 56px;
  }

  .metric-card {
    min-height: 130px;
  }

  .journey-section,
  .devices-section,
  .plans-section {
    padding: 80px 0;
  }

  .plans-section {
    padding-top: 40px;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .section-heading h2,
  .closing-panel h2 {
    font-size: 36px;
  }

  .section-heading > p:last-child {
    font-size: 18px;
  }

  .journey-track {
    grid-template-columns: 1fr;
  }

  .journey-step {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 18px;
  }

  .step-number {
    margin: 0;
  }

  .device-content {
    padding: 24px;
  }

  .closing-panel {
    gap: 34px;
    margin-top: 48px;
    padding: 34px 26px;
  }

  .closing-panel .button {
    width: 100%;
  }

  .footer-inner {
    display: grid;
  }

  .footer-meta {
    text-align: left;
  }

  .global-nav {
    grid-template-columns: auto 1fr;
    gap: 8px;
  }

  .nav-actions {
    gap: 5px;
  }

  .nav-auth .nav-sign-in,
  .nav-context,
  .nav-workspace-link,
  .nav-logout {
    display: none;
  }

  .nav-start {
    min-height: 40px;
    padding-inline: 13px;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .marketing-hero,
  .account-section,
  .onboarding-section {
    padding: 72px 0 80px;
  }

  .marketing-hero-grid {
    gap: 44px;
  }

  .hero-product-stage {
    min-height: 520px;
    border-radius: 24px;
  }

  .hero-stage-topline {
    inset: 18px 18px auto;
  }

  .hero-phone-parallax {
    inset: 42px -22% -80px -8%;
  }

  .store-signal {
    min-width: 0;
    padding: 9px 10px;
    border-radius: 13px;
  }

  .store-signal-play {
    top: 84px;
    left: 12px;
  }

  .store-signal-assets {
    right: 12px;
    bottom: 78px;
  }

  .store-signal-icon {
    width: 34px;
    height: 34px;
  }

  .store-signal small {
    max-width: 105px;
  }

  .hero-proof-strip {
    inset: auto 12px 12px;
  }

  .hero-proof-strip span {
    padding: 7px 8px;
    font-size: 9px;
  }

  .marketing-hero .hero-copy h1,
  .account-intro h1,
  .login-message h1,
  .workspace-heading h1,
  .operations-heading h1,
  .onboarding-heading h1 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .capabilities-section,
  .process-section,
  .public-plans {
    padding: 80px 0;
  }

  .capability-grid {
    gap: 44px;
  }

  .public-plans .plan-card {
    min-height: 460px;
  }

  .account-intro,
  .login-message {
    padding-top: 0;
  }

  .auth-card,
  .message-card,
  .wizard-card {
    padding: 26px;
  }

  .account-benefits {
    margin-top: 42px;
  }

  .workspace-hero,
  .operations-hero {
    padding: 64px 0 38px;
  }

  .workspace-heading,
  .operations-heading,
  .operations-request-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .workspace-heading .button {
    width: 100%;
  }

  .workspace-content,
  .operations-content {
    padding: 48px 0 80px;
  }

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

  .request-status-block,
  .operations-request-meta,
  .operator-identity {
    justify-items: start;
  }

  .customer-progress {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .customer-progress span::after {
    display: none;
  }

  .wizard-layout {
    gap: 22px;
    margin-top: 42px;
  }

  .wizard-card {
    min-height: 520px;
  }

  .wizard-card legend {
    grid-template-columns: 32px 1fr;
  }

  .form-grid,
  .assignment-fields,
  .operations-metrics {
    grid-template-columns: 1fr;
  }

  .form-grid label:last-child,
  .assignment-fields label:last-child {
    grid-column: auto;
  }

  .wizard-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

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

  .wizard-actions > span:empty {
    display: none;
  }

  .operations-metrics {
    margin-top: 42px;
  }

  .operations-metrics article {
    min-height: 120px;
  }

  .request-brief,
  .assignment-form,
  .operations-request-header {
    padding: 22px;
  }

  .operations-request-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .operations-request-footer > div {
    flex-wrap: wrap;
  }
}

@media (max-width: 390px) {
  .language-control select {
    width: 104px;
  }

  .hero-copy h1 {
    font-size: 38px;
  }

  .device-details > div {
    display: grid;
    gap: 2px;
  }

  .pilot-dialog {
    padding: 28px 24px;
  }

  .language-control select {
    width: 96px;
    padding-right: 24px;
  }

  .theme-toggle {
    display: none;
  }

  .request-card-main {
    align-items: flex-start;
  }

  .request-app-mark {
    width: 44px;
    height: 44px;
  }
}

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

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

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}
