/**
 * AirLode ID — production identity management shell.
 * 8px spacing grid. Card-based. Premium SaaS — not Auth login chrome.
 */
:root {
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 80px;

  --bg: #f3f6f4;
  --bg-elevated: #ffffff;
  --bg-muted: #e9efeb;
  --ink: #0f1c17;
  --ink-secondary: #3d4f47;
  --muted: #5f7268;
  --border: #d7e0db;
  --border-strong: #b7c6be;
  --accent: #0b3d2e;
  --accent-hover: #0f513c;
  --accent-soft: #e4f1eb;
  --accent-ring: rgba(11, 61, 46, 0.28);
  --warn-bg: #fff6df;
  --warn-ink: #6a5210;
  --warn-border: #e5d19a;
  --neutral-bg: #eef2f0;
  --neutral-ink: #405049;
  --shadow-sm: 0 1px 2px rgba(15, 28, 23, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 28, 23, 0.06);
  --shadow-lg: 0 18px 40px rgba(15, 28, 23, 0.08);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --font: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  --font-display: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  --max: 1120px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body.id-app {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
}

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

a {
  color: var(--accent);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--accent-hover);
}

a:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--bg-elevated);
  padding: var(--space-1) var(--space-2);
}

.skip-link:focus {
  left: var(--space-2);
  top: var(--space-2);
}

.ic {
  width: 22px;
  height: 22px;
  display: block;
}

.ic-sm {
  width: 18px;
  height: 18px;
}

/* ── Top navigation ───────────────────────────────────────── */
.topnav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.topnav-inner {
  max-width: var(--max);
  margin: 0 auto;
  height: 100%;
  padding: 0 var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}

/* Header mark only — asset is 200×200; do not use wide HTML attrs with height:auto
   (that rendered ~112×112 and overflowed --nav-h). Footer .footer-brand img unchanged. */
.brand img {
  width: auto;
  height: 28px;
  max-height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-name {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.topnav-links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  margin-left: auto;
  margin-right: var(--space-2);
}

.topnav-links a {
  text-decoration: none;
  color: var(--ink-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
}

.topnav-links a:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms var(--ease), background 160ms var(--ease),
    border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}

.btn-lg {
  min-height: 48px;
  padding: 12px 20px;
  font-size: 1.02rem;
}

.btn-primary {
  background: var(--accent);
  color: #f7fbf9;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #f7fbf9;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--bg-elevated);
  color: var(--accent);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-secondary);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: var(--bg-elevated);
  color: var(--ink);
}

.btn-muted {
  background: var(--neutral-bg);
  color: var(--neutral-ink);
  border-color: var(--border);
  cursor: not-allowed;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  padding: var(--space-7) var(--space-3) var(--space-6);
  background:
    linear-gradient(180deg, #ffffff 0%, #f3f6f4 100%);
  border-bottom: 1px solid var(--border);
  animation: rise 480ms var(--ease) both;
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 var(--space-2);
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 750;
}

.hero-lede {
  margin: var(--space-3) 0 0;
  max-width: 42rem;
  color: var(--ink-secondary);
  font-size: 1.125rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.hero-trust {
  list-style: none;
  margin: var(--space-5) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-2);
}

.hero-trust li {
  padding: var(--space-2);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-trust strong {
  display: block;
  color: var(--ink);
  margin-bottom: 4px;
  font-size: 0.95rem;
}

/* ── Sections ─────────────────────────────────────────────── */
.section {
  padding: var(--space-7) var(--space-3);
  animation: rise 560ms var(--ease) both;
}

.section-alt {
  background: #eef3f0;
  border-block: 1px solid var(--border);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
}

.section-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  flex-shrink: 0;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.section-sub {
  margin: 8px 0 0;
  color: var(--muted);
  max-width: 40rem;
}

.section-head-meta {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 700;
}

.badge--neutral {
  background: var(--neutral-bg);
  color: var(--neutral-ink);
}

.badge--warn {
  background: var(--warn-bg);
  color: var(--warn-ink);
  border-color: var(--warn-border);
}

.badge--ok {
  background: var(--accent-soft);
  color: var(--accent);
}

.topnav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  margin-left: auto;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9em;
  word-break: break-all;
}

/* ── Cards / grids ────────────────────────────────────────── */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.metric-card,
.surface-card,
.app-card,
.status-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease);
}

.metric-card:hover,
.surface-card:hover,
.app-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.metric-card {
  padding: var(--space-3);
}

.metric-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.metric-value {
  margin: 12px 0 8px;
  font-size: 1.35rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.25;
  word-break: break-word;
}

.metric-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.card-grid {
  display: grid;
  gap: var(--space-2);
}

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

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

.surface-card {
  padding: var(--space-3);
}

.surface-card h3 {
  margin: 0 0 var(--space-2);
  font-size: 1.1rem;
  letter-spacing: -0.015em;
}

.kv {
  margin: 0;
}

.kv > div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 8px 16px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
}

.kv > div:first-child {
  border-top: 0;
  padding-top: 0;
}

.kv dt {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
  font-size: 0.92rem;
}

.kv dd {
  margin: 0;
  font-weight: 600;
}

.kv dd.kv-preview {
  font-weight: 500;
  color: var(--muted);
  font-style: italic;
}

.metric-card--preview,
.surface-card--preview {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 249, 0.98));
}

.metric-value--preview,
.status-value--preview {
  color: var(--muted);
  font-weight: 600;
  font-style: italic;
}

.preview-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-muted);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-transform: none;
}

.empty-state .preview-badge {
  margin-top: 12px;
}

.empty-state {
  text-align: left;
  padding: var(--space-2) 0 0;
}

.empty-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--bg-muted);
  color: var(--accent);
  margin-bottom: 12px;
}

.empty-title {
  margin: 0;
  font-weight: 700;
}

.empty-copy {
  margin: 8px 0 0;
  color: var(--muted);
  max-width: 28rem;
}

.status-card {
  padding: var(--space-3);
}

.status-kicker {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.status-value {
  margin: 16px 0 8px;
  font-size: 1.35rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.status-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.cta-strip {
  margin-top: var(--space-3);
  padding: var(--space-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  flex-wrap: wrap;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.cta-strip-title {
  margin: 0;
  font-weight: 750;
  font-size: 1.05rem;
}

.cta-strip-copy {
  margin: 6px 0 0;
  color: var(--muted);
}

.app-list {
  display: grid;
  gap: var(--space-2);
}

.app-card {
  padding: var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.app-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  flex-shrink: 0;
}

.app-card-title {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.015em;
}

.app-card-desc {
  margin: 4px 0 0;
  color: var(--muted);
}

.app-card .badge {
  margin-left: auto;
}

.security-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.security-row {
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
  padding: 16px 0;
  border-top: 1px solid var(--border);
}

.security-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.security-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--bg-muted);
  color: var(--accent);
  flex-shrink: 0;
}

.security-title {
  margin: 0;
  font-weight: 700;
}

.security-detail {
  margin: 4px 0 0;
  color: var(--muted);
}

.card-footer {
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border);
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 8px;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: var(--space-2);
  padding: 0 0 var(--space-3);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 20px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 0 4px rgba(228, 241, 235, 0.8);
  z-index: 1;
}

.timeline-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.timeline-title {
  margin: 0;
  font-weight: 750;
}

.timeline-when {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.timeline-detail {
  margin: 6px 0 0;
  color: var(--muted);
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  background: #ffffff;
  padding: var(--space-4) var(--space-3) var(--space-6);
}

.site-footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.footer-brand p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--border-strong);
}

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

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 980px) {
  .metric-grid,
  .card-grid.three,
  .hero-trust {
    grid-template-columns: 1fr 1fr;
  }

  .topnav-links {
    display: none;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: var(--space-5);
  }

  .metric-grid,
  .card-grid.two,
  .card-grid.three,
  .hero-trust {
    grid-template-columns: 1fr;
  }

  .kv > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .app-card {
    flex-wrap: wrap;
  }

  .app-card .badge {
    margin-left: 0;
  }

  .topnav-inner {
    gap: var(--space-2);
  }

  .brand img {
    height: 24px;
    max-height: 24px;
  }

  .brand-name {
    display: none;
  }
}

/* ── Universal Get Started ─────────────────────────────────── */
.start-app {
  background:
    radial-gradient(1200px 480px at 50% -10%, rgba(228, 241, 235, 0.9), transparent 70%),
    var(--bg);
}

.start-topnav {
  background: transparent;
  border-bottom: none;
  box-shadow: none;
}

.start-main {
  display: flex;
  justify-content: center;
  padding: var(--space-6) var(--space-3) var(--space-8);
}

.start-card {
  width: min(100%, 440px);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-5) var(--space-4);
  animation: rise 180ms var(--ease) both;
}

.start-card .eyebrow {
  margin: 0 0 var(--space-2);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.start-card h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.start-lede {
  margin: var(--space-2) 0 0;
  color: var(--ink-secondary);
  font-size: 1rem;
}

.start-context {
  margin: var(--space-3) 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.start-form {
  margin-top: var(--space-4);
}

.start-form fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

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

.intent-row {
  display: grid;
  gap: var(--space-2);
}

.intent-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-2);
  align-items: start;
  padding: var(--space-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  cursor: pointer;
  transition: border-color 160ms var(--ease), background 160ms var(--ease);
}

.intent-option:hover,
.intent-option:has(input:focus-visible) {
  border-color: var(--border-strong);
}

.intent-option:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.intent-option input {
  margin-top: 4px;
  accent-color: var(--accent);
}

.intent-option strong {
  display: block;
  color: var(--ink);
  font-size: 0.98rem;
}

.intent-option small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.start-submit {
  width: 100%;
  margin-top: var(--space-3);
  min-height: 48px;
  border-radius: var(--radius-pill);
}

.start-returning {
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid color-mix(in srgb, var(--border, #d0d5dd) 80%, transparent);
  text-align: center;
}

.start-returning-prompt {
  margin: 0 0 var(--space-2);
  font-size: 0.95rem;
  color: var(--muted);
}

.start-returning-form {
  margin: 0;
}

.start-signin {
  width: 100%;
  min-height: 44px;
  border-radius: var(--radius-pill);
}

.start-footnote {
  margin: var(--space-3) 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.start-intent-note {
  margin: var(--space-2) 0 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--muted);
}

.start-progress {
  list-style: none;
  margin: 0 0 var(--space-4);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
}

.start-progress-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.start-progress-index {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--bg-muted);
  color: var(--muted);
  border: 1px solid transparent;
}

.start-progress-label {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.3;
}

.start-progress-item.is-current .start-progress-index {
  background: var(--accent);
  color: #fff;
}

.start-progress-item.is-current .start-progress-label {
  color: var(--ink);
  font-weight: 600;
}

.start-progress-item.is-done .start-progress-index {
  background: var(--accent-soft);
  color: var(--accent);
}

/* Shared vertical field stack for start journey forms (email + details). */
.start-form .field {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.4rem;
  margin-top: var(--space-3);
  width: 100%;
  min-width: 0;
}

.start-form .field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
}

.start-form .field input[type="text"],
.start-form .field input[type="email"],
.start-form .field select {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 44px;
  padding: 0.65rem 0.85rem;
  border: 1px solid #c9d5cf;
  border-radius: var(--radius-sm);
  background: #fff;
  font: inherit;
  color: var(--ink);
}

.start-form .field input:focus-visible,
.start-form .field select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.start-form .hint,
.start-form .field-help {
  display: block;
  width: 100%;
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}

.start-form .field-error {
  display: block;
  width: 100%;
  margin: 0;
  font-size: 0.82rem;
  color: #6b1d16;
}

.start-form .field.has-error input,
.start-form .field.has-error select {
  border-color: #c45b4f;
}

.start-form .field-check {
  margin-top: var(--space-4);
}

.start-form .check-label {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.45;
}

.start-form .check-label input {
  margin-top: 0.2rem;
}

.start-actions {
  margin-top: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.start-actions .start-submit {
  width: 100%;
}

.start-back {
  text-align: center;
}

.alert {
  margin-top: var(--space-3);
  padding: var(--space-2);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
}

.alert-error {
  background: #fdeceb;
  color: #6b1d16;
  border: 1px solid #f0c2bc;
}

.start-transition .skeleton-bar {
  margin-top: var(--space-4);
  height: 10px;
  border-radius: var(--radius-pill);
  background: linear-gradient(
    90deg,
    var(--bg-muted) 0%,
    #f7faf8 50%,
    var(--bg-muted) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.2s linear infinite;
}

@keyframes shimmer {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: -100% 0;
  }
}

@media (max-width: 720px) {
  .start-main {
    padding-top: var(--space-4);
  }

  .start-card {
    padding: var(--space-4) var(--space-3);
    border-radius: var(--radius-md);
  }
}

/* ── AirLode Pass (emotional centrepiece) ─────────────────── */
.hero--home {
  padding-bottom: var(--space-3);
}

.pass-section {
  padding-top: 0;
}

.pass-card {
  position: relative;
  overflow: hidden;
  max-width: 520px;
  margin: 0 auto;
  padding: var(--space-4);
  border-radius: 22px;
  border: 1px solid rgba(11, 61, 46, 0.18);
  background:
    linear-gradient(145deg, #0b3d2e 0%, #145c45 48%, #1a6b51 100%);
  color: #f4faf7;
  box-shadow: var(--shadow-lg);
}

.pass-card--preview {
  background:
    linear-gradient(145deg, #314740 0%, #3f5a50 48%, #4a675c 100%);
}

.pass-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.pass-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.pass-kicker {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}

.pass-name {
  margin: 0 0 var(--space-1);
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.pass-id {
  margin: 0 0 var(--space-3);
  font-size: 1rem;
  opacity: 0.92;
}

.pass-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
  margin: 0 0 var(--space-3);
}

.pass-meta dt {
  margin: 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.7;
}

.pass-meta dd {
  margin: 4px 0 0;
  font-size: 0.98rem;
  word-break: break-word;
}

.pass-footnote {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.85;
}

.pass-card .badge {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border-color: transparent;
}

.pass-card .badge--ok {
  background: rgba(196, 237, 214, 0.22);
}

.pass-card .badge--warn {
  background: rgba(255, 232, 168, 0.24);
  color: #fff8e6;
}

.pass-next {
  max-width: 520px;
  margin: var(--space-3) auto 0;
  padding: var(--space-3);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  text-align: center;
}

.pass-next-title {
  margin: 0 0 var(--space-1);
  font-size: 1.1rem;
  font-weight: 650;
}

.pass-next-detail {
  margin: 0 0 var(--space-2);
  color: var(--muted);
}

.empty-state--inline {
  margin-top: var(--space-3);
  padding-top: var(--space-2);
  border-top: 1px solid var(--border);
}

@media (max-width: 640px) {
  .pass-meta {
    grid-template-columns: 1fr;
  }
}
