/* ============================================================
   Daedalus — supplementary styles for new pages
   Legal docs, support, cookies banner, refreshed auth + mobile.
   Loaded AFTER website/styles.css
   ============================================================ */

/* ---------- Cookies banner ---------- */
.dx-cookie {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 80;
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: var(--surface-1);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  box-shadow: var(--e3);
  max-width: 880px;
  margin: 0 auto;
  font-size: 13px;
  color: var(--fg-2);
  line-height: 1.55;
  transform: translateY(0);
  transition: transform 320ms var(--ease-out), opacity 320ms var(--ease-out);
}
.dx-cookie.is-hidden { transform: translateY(120%); opacity: 0; pointer-events: none; }
.dx-cookie strong { color: var(--fg-1); font-weight: 600; display: block; margin-bottom: 4px; }
.dx-cookie a { color: var(--brand-cyan); border-bottom: 1px solid rgba(212,101,28,0.30); }
.dx-cookie .dx-btn { padding: 8px 14px; font-size: 12px; }
@media (max-width: 760px) {
  .dx-cookie { grid-template-columns: 1fr; }
}

/* ---------- Legal / prose pages ---------- */
.lg-shell { padding: 56px 0 96px; }
.lg-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 56px;
}
.lg-toc {
  position: sticky;
  top: 88px;
  align-self: start;
  font-size: 13px;
}
.lg-toc-h {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 14px;
}
.lg-toc a {
  display: block;
  padding: 8px 12px;
  border-left: 2px solid var(--border-subtle);
  color: var(--fg-2);
  line-height: 1.4;
  transition: all 200ms var(--ease-out);
}
.lg-toc a:hover { color: var(--brand-cyan); border-left-color: var(--brand-cyan); }
.lg-prose { max-width: 720px; font-size: 16px; line-height: 1.65; color: var(--fg-1); }
.lg-prose h1 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 12px;
}
.lg-prose .lede { font-size: 18px; color: var(--fg-2); margin: 0 0 36px; line-height: 1.55; }
.lg-prose h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 40px 0 12px;
  scroll-margin-top: 88px;
}
.lg-prose h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 24px 0 8px;
  scroll-margin-top: 88px;
}
.lg-prose p { color: var(--fg-2); margin: 0 0 14px; }
.lg-prose strong { color: var(--fg-1); font-weight: 600; }
.lg-prose ul, .lg-prose ol { margin: 0 0 16px 22px; color: var(--fg-2); }
.lg-prose li { margin-bottom: 6px; }
.lg-prose a { color: var(--brand-cyan); border-bottom: 1px solid rgba(212,101,28,0.30); }
.lg-prose code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  padding: 2px 6px;
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
}
.lg-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--fg-3);
  text-transform: uppercase;
  margin-bottom: 18px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.lg-meta strong { color: var(--fg-1); font-weight: 600; }
.lg-callout {
  margin: 24px 0;
  padding: 18px 22px;
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--brand-cyan);
  border-radius: var(--radius-md);
  font-size: 15px;
}
.lg-callout strong { color: var(--fg-1); display: block; margin-bottom: 4px; font-weight: 600; }
.lg-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0;
}
.lg-card {
  padding: 18px 20px;
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}
.lg-card-h {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-cyan);
  margin-bottom: 6px;
}
.lg-card-t { font-weight: 600; color: var(--fg-1); margin-bottom: 4px; }
.lg-card-d { font-size: 14px; color: var(--fg-2); line-height: 1.5; }
@media (max-width: 880px) {
  .lg-grid { grid-template-columns: 1fr; gap: 32px; }
  .lg-toc { position: static; }
  .lg-cols { grid-template-columns: 1fr; }
}

/* ---------- Sitemap page ---------- */
.lg-sitemap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 24px;
}
.lg-sitemap h3 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}
.lg-sitemap ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.lg-sitemap a {
  font-size: 14px;
  color: var(--fg-1);
  display: flex; align-items: center; gap: 8px;
}
.lg-sitemap a:hover { color: var(--brand-cyan); border: 0; }
.lg-sitemap a::before { content: '→'; color: var(--fg-3); font-family: var(--font-mono); font-size: 12px; }
@media (max-width: 760px) { .lg-sitemap { grid-template-columns: 1fr 1fr; } }

/* ---------- Support page ---------- */
.sup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.sup-tile {
  display: grid;
  gap: 8px;
  padding: 24px;
  background: var(--surface-1);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: all 200ms var(--ease-out);
}
.sup-tile:hover { transform: translateY(-2px); border-color: var(--brand-cyan); box-shadow: var(--e2); }
.sup-tile-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(212,101,28,0.10);
  color: var(--brand-cyan);
  display: grid; place-items: center;
}
.sup-tile h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; margin: 6px 0 0; }
.sup-tile p { font-size: 14px; line-height: 1.55; color: var(--fg-2); margin: 0; }
.sup-tile-link {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--brand-cyan);
}
@media (max-width: 880px) { .sup-grid { grid-template-columns: 1fr; } }

.sup-faq {
  margin-top: 48px;
  display: grid;
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.sup-faq details {
  background: var(--surface-1);
  padding: 18px 22px;
}
.sup-faq summary {
  font-weight: 600;
  font-size: 15px;
  color: var(--fg-1);
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.sup-faq summary::-webkit-details-marker { display: none; }
.sup-faq summary::after {
  content: '+';
  color: var(--brand-cyan);
  font-size: 20px;
  line-height: 1;
  font-weight: 300;
  transition: transform 200ms;
}
.sup-faq details[open] summary::after { transform: rotate(45deg); }
.sup-faq p { margin: 10px 0 0; font-size: 14px; color: var(--fg-2); line-height: 1.55; }

/* ---------- Auth refresh (signin / signup) ---------- */
.au-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 76px);
  align-items: stretch;
}
.au-aside {
  position: relative;
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--surface-1);
  border-right: 1px solid var(--border-default);
  overflow: hidden;
}
.au-aside::before { content: none; }
.au-aside > * { position: relative; }
.au-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-cyan);
}
.au-title {
  font-size: clamp(32px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 12px 0 16px;
  color: var(--fg-1);
}
.au-title em { font-style: italic; color: var(--brand-cyan); }
.au-blurb {
  font-size: 16px;
  color: var(--fg-2);
  line-height: 1.6;
  max-width: 420px;
}
.au-bullets {
  margin-top: 28px;
  display: grid;
  gap: 14px;
  list-style: none;
  padding: 0;
}
.au-bullets li {
  display: flex; gap: 12px;
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.5;
}
.au-bullets li::before {
  content: '✓';
  color: var(--brand-cyan);
  font-weight: 700;
}
.au-quote {
  margin-top: 32px;
  padding: 18px 22px;
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 14px;
  line-height: 1.6;
}
.au-quote strong { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); margin-top: 8px; font-weight: 600; }

.au-form-wrap {
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.au-form {
  width: 100%;
  max-width: 420px;
}
.au-tabs {
  display: flex;
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 4px;
  margin-bottom: 32px;
}
.au-tab {
  flex: 1;
  padding: 9px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  background: transparent;
  color: var(--fg-3);
  border: 0;
  cursor: pointer;
  transition: all 200ms var(--ease-out);
}
.au-tab.is-active { background: var(--brand-cyan); color: #FFFFFF; box-shadow: 0 4px 12px rgba(212,101,28,0.25); }
.au-h1 { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 8px; }
.au-sub { font-size: 14px; color: var(--fg-2); margin-bottom: 24px; line-height: 1.5; }
.au-sso { display: grid; gap: 10px; margin-bottom: 24px; }
.au-sso .dx-btn { justify-content: center; padding: 11px; font-size: 14px; }
.au-or {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin: 0 0 18px;
  position: relative;
}
.au-or::before, .au-or::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30%;
  height: 1px;
  background: var(--border-subtle);
}
.au-or::before { left: 0; }
.au-or::after { right: 0; }
.au-fields { display: grid; gap: 14px; }
.au-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--fg-2); }
.au-row a { color: var(--brand-cyan); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.au-foot {
  margin-top: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--fg-3);
}
.au-foot a { color: var(--brand-cyan); font-weight: 600; }
@media (max-width: 880px) {
  .au-shell { grid-template-columns: 1fr; }
  .au-aside { padding: 40px 24px; }
  .au-form-wrap { padding: 40px 24px; }
}

/* ============================================================
   Auth aside infographic (signup left column)
   ============================================================ */
.au-info { margin-top: 28px; }
.au-info-card {
  background: var(--surface-0);
  border: 1px solid var(--border-default);
  border-radius: 14px;
  padding: 18px 20px;
  display: grid;
  gap: 14px;
}
.au-info-card-h {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.au-info-card-h svg { width: 14px; height: 14px; color: var(--brand-cyan); }
.au-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border-subtle);
  border-radius: 10px;
  overflow: hidden;
}
.au-info-cell {
  background: var(--surface-1);
  padding: 14px 16px;
  display: grid;
  gap: 4px;
}
.au-info-num {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--brand-cyan);
  line-height: 1;
}
.au-info-lbl {
  font-size: 11px;
  line-height: 1.4;
  color: var(--fg-2);
}
.au-info-path {
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
  display: grid;
  gap: 8px;
}
.au-info-path-h {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.au-info-path-row {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.au-info-chip {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--brand-cyan);
  background: rgba(212,101,28,0.08);
  border: 1px solid rgba(212,101,28,0.25);
  padding: 3px 7px;
  border-radius: 5px;
}
.au-info-chip--end {
  background: var(--brand-cyan);
  color: #fff;
  border-color: var(--brand-cyan);
}
.au-info-arrow {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-4);
}
/* ============================================================
   Hero photostrip cards (new SVG infographic style)
   (continued)
   ============================================================ */
.ph-card {
  position: relative;
  background: var(--surface-1);
  border: 1px solid var(--border-default);
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 280px;
}
.ph-card::before, .ph-card::after { content: none !important; }
.ph-card .ph-art {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border-subtle);
}
/* image-slot variant — keeps art row sized + adds golden-hour empty-state */
.ph-card .ph-art--slot {
  min-height: 200px;
  background: var(--surface-2);
}
/* Themed empty-state backdrops so each card reads as intentional before a
   real photo is dropped (a dropped cover photo fills over these). */
.ph-dawn .ph-art--slot {
  background:
    radial-gradient(ellipse 70% 60% at 75% 24%, rgba(255,181,71,0.32), transparent 64%),
    radial-gradient(ellipse 90% 70% at 50% 104%, rgba(15,17,22,0.12), transparent 70%),
    linear-gradient(180deg, #FBEFD9 0%, #F4E2C6 58%, #EAD3AE 100%);
}
.ph-rwy .ph-art--slot {
  background:
    radial-gradient(ellipse 60% 50% at 50% 8%, rgba(255,181,71,0.16), transparent 60%),
    linear-gradient(180deg, #E7ECF4 0%, #D6E0EE 55%, #C4D2E6 100%);
}
.ph-chart .ph-art--slot {
  background:
    repeating-linear-gradient(0deg, transparent 0 21px, rgba(15,17,22,0.05) 21px 22px),
    repeating-linear-gradient(90deg, transparent 0 21px, rgba(15,17,22,0.05) 21px 22px),
    linear-gradient(180deg, #FAF7F0 0%, #F2ECE0 100%);
}
.ph-meta {
  position: absolute;
  left: 16px;
  bottom: 78px; /* sits just above the caption block */
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-1);
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--border-subtle);
  padding: 4px 8px;
  border-radius: 4px;
  backdrop-filter: blur(6px);
  pointer-events: none;
}
.ph-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-1);
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--border-subtle);
  padding: 5px 10px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.ph-cap {
  padding: 14px 18px 16px;
  display: grid;
  gap: 4px;
  background: var(--surface-1);
}
.ph-cap-h {
  font-size: 15px;
  font-weight: 700;
  color: var(--fg-1);
  letter-spacing: -0.01em;
}
.ph-cap-d {
  font-size: 12px;
  color: var(--fg-2);
  line-height: 1.45;
}
/* ============================================================
   Hero infographic (right column on home hero)
   (continued)
   ============================================================ */
.dx-hero-visual {
  align-self: stretch;
  display: flex;
  justify-content: center;
}
.hero-info {
  width: 100%;
  max-width: 460px;
  display: grid;
  gap: 14px;
  align-content: start;
}
.hero-info-card {
  background: var(--surface-1);
  border: 1px solid var(--border-default);
  border-radius: 14px;
  padding: 20px 22px;
  display: grid;
  gap: 10px;
}
.hero-info-card--alt {
  background: var(--brand-cyan);
  border-color: var(--brand-cyan);
  color: #fff;
}
.hero-info-card--alt .hero-info-card-h { color: rgba(255,255,255,0.85); }
.hero-info-card--alt .hero-info-card-t { color: #fff; }
.hero-info-card--alt .hero-info-card-d { color: rgba(255,255,255,0.88); }
.hero-info-card-h {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.hero-info-card-h svg { width: 14px; height: 14px; color: var(--brand-cyan); }
.hero-info-card--alt .hero-info-card-h svg { color: #fff; }
.hero-info-card-t {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--fg-1);
}
.hero-info-card-t em { font-style: italic; color: var(--brand-cyan); }
.hero-info-card--alt .hero-info-card-t em { color: #fff; opacity: 0.85; }
.hero-info-card-d {
  font-size: 13px;
  line-height: 1.5;
  color: var(--fg-2);
}
.hero-info-meta {
  display: flex;
  gap: 18px;
  padding-top: 8px;
  margin-top: 4px;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-3);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
}
.hero-info-meta b { color: var(--fg-1); font-weight: 600; }

.hero-info-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.hero-info-tile {
  background: var(--surface-1);
  border: 1px solid var(--border-default);
  border-radius: 14px;
  padding: 18px;
  display: grid;
  gap: 8px;
}
.hero-info-tile-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(212,101,28,0.10);
  color: var(--brand-cyan);
  display: grid;
  place-items: center;
}
.hero-info-tile-icon svg { width: 16px; height: 16px; }
.hero-info-tile-t {
  font-size: 15px;
  font-weight: 700;
  color: var(--fg-1);
  letter-spacing: -0.01em;
}
.hero-info-tile-d {
  font-size: 12px;
  line-height: 1.45;
  color: var(--fg-2);
}

.hero-info-path {
  background: var(--surface-1);
  border: 1px solid var(--border-default);
  border-radius: 14px;
  padding: 14px 18px;
  display: grid;
  gap: 8px;
}
.hero-info-path-h {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.hero-info-path-row {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.hero-info-path-chip {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--brand-cyan);
  background: rgba(212,101,28,0.08);
  border: 1px solid rgba(212,101,28,0.25);
  padding: 4px 8px;
  border-radius: 6px;
}
.hero-info-path-chip--end {
  background: var(--brand-cyan);
  color: #fff;
  border-color: var(--brand-cyan);
}
.hero-info-path-arrow {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-4);
}

@media (max-width: 880px) {
  .hero-info { max-width: 100%; }
}
/* ============================================================
   Engine section — "we built our own AI" pitch on home
   (continued)
   ============================================================ */
.eng-section { padding: 72px 0; border-top: 1px solid var(--border-subtle); }
.eng-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
}
.eng-h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 12px 0 16px;
  color: var(--fg-1);
}
.eng-h2 em { font-style: italic; color: var(--brand-cyan); }
.eng-blurb { font-size: 16px; line-height: 1.6; color: var(--fg-2); max-width: 560px; margin: 0 0 24px; }
.eng-bullets { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.eng-bullets li {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-2);
  padding-left: 22px;
  position: relative;
}
.eng-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-cyan);
}
.eng-bullets strong { color: var(--fg-1); font-weight: 600; }
.eng-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.eng-panel {
  background: var(--surface-1);
  border: 1px solid var(--border-default);
  border-radius: 16px;
  padding: 24px;
  display: grid;
  gap: 18px;
}
.eng-panel-h {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}
.eng-panel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #3FBF6E;
  box-shadow: 0 0 0 3px rgba(63,191,110,0.16);
}
.eng-panel-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  color: var(--fg-1);
  font-weight: 600;
}
.eng-panel-status {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  color: #3FBF6E;
  padding: 3px 8px;
  background: rgba(63,191,110,0.12);
  border: 1px solid rgba(63,191,110,0.30);
  border-radius: 999px;
}
.eng-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border-subtle);
  border-radius: 10px;
  overflow: hidden;
}
.eng-stat {
  background: var(--surface-0);
  padding: 16px 18px;
  display: grid;
  gap: 6px;
}
.eng-stat-num {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--brand-cyan);
  line-height: 1;
}
.eng-stat-label {
  font-size: 12px;
  line-height: 1.45;
  color: var(--fg-2);
}
.eng-path { padding-top: 4px; }
.eng-path-h {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 10px;
}
.eng-path-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.eng-path-chip {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--brand-cyan);
  background: rgba(212,101,28,0.08);
  border: 1px solid rgba(212,101,28,0.25);
  padding: 5px 9px;
  border-radius: 6px;
}
.eng-path-chip--end {
  background: var(--brand-cyan);
  color: #fff;
  border-color: var(--brand-cyan);
}
.eng-path-arrow {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-4);
}

@media (max-width: 880px) {
  .eng-grid { grid-template-columns: 1fr; }
  .eng-stats { grid-template-columns: 1fr; }
}
.mob-section {
  margin: 56px 0 0;
  padding: 64px 32px;
  background: var(--surface-1);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}
.mob-section::before { content: none; }
.mob-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}
.mob-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-cyan);
}
.mob-h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 10px 0 14px;
  color: var(--fg-1);
}
.mob-blurb { font-size: 16px; color: var(--fg-2); line-height: 1.6; max-width: 500px; margin: 0 0 24px; }
.mob-bullets {
  display: grid; gap: 10px;
  list-style: none;
  padding: 0; margin: 0 0 28px;
}
.mob-bullets li {
  display: flex; gap: 10px;
  font-size: 14px;
  color: var(--fg-1);
  line-height: 1.5;
}
.mob-bullets li::before {
  content: '✓';
  color: var(--brand-cyan);
  font-weight: 700;
  flex-shrink: 0;
}
.mob-stores { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.mob-store {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px;
  background: var(--fg-1);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: transform 200ms var(--ease-out);
}
.mob-store:hover { transform: translateY(-2px); }
.mob-store svg { width: 22px; height: 22px; }
.mob-store-text { display: grid; line-height: 1.1; }
.mob-store-text small { font-size: 10px; letter-spacing: 0.06em; opacity: 0.8; text-transform: uppercase; font-family: var(--font-mono); }
.mob-store-text strong { font-size: 14px; font-weight: 700; }
.mob-qr {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 14px 8px 10px;
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}
.mob-qr-grid {
  width: 60px; height: 60px;
  background: var(--fg-1);
  border-radius: 4px;
  position: relative;
}
.mob-qr-grid::before, .mob-qr-grid::after,
.mob-qr-grid > i {
  content: '';
  position: absolute;
  background: var(--surface-1);
  border-radius: 2px;
}
.mob-qr-grid::before { top: 6px; left: 6px; width: 14px; height: 14px; }
.mob-qr-grid::after { top: 6px; right: 6px; width: 14px; height: 14px; }
.mob-qr-grid > i { bottom: 6px; left: 6px; width: 14px; height: 14px; }
.mob-qr-text { font-family: var(--font-mono); font-size: 11px; line-height: 1.4; color: var(--fg-2); letter-spacing: 0.06em; }
.mob-qr-text strong { color: var(--fg-1); font-weight: 600; display: block; }

.mob-device {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  aspect-ratio: 9 / 19.5;
  background: #0F1116;
  border-radius: 38px;
  box-shadow: 0 28px 56px rgba(15,17,22,0.22), 0 6px 14px rgba(15,17,22,0.10), 0 0 0 1px rgba(15,17,22,0.04);
  padding: 7px;
  position: relative;
  overflow: hidden;
}
.mob-device-notch {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 92px; height: 26px;
  background: #0F1116;
  border-radius: 13px;
  z-index: 5;
}
.mob-device-screen {
  width: 100%; height: 100%;
  background: linear-gradient(180deg, #FAF7F0 0%, #F3EFE3 100%);
  border-radius: 32px;
  overflow: hidden;
  display: grid;
  grid-template-rows: 30px auto auto auto auto auto 1fr auto;
  padding: 0 14px;
}
.mob-device-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 12px 6px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  color: #0F1116;
}
.mob-device-status-r { display: inline-flex; align-items: center; gap: 4px; }
.mob-status-cell { width: 14px; height: 8px; background: #0F1116; border-radius: 1px; clip-path: polygon(0 100%, 12% 100%, 12% 80%, 0 80%, 25% 100%, 37% 100%, 37% 65%, 25% 65%, 50% 100%, 62% 100%, 62% 50%, 50% 50%, 75% 100%, 87% 100%, 87% 30%, 75% 30%); }
.mob-status-wifi { width: 12px; height: 9px; background: #0F1116; clip-path: polygon(0% 70%, 50% 0, 100% 70%, 100% 100%, 85% 100%, 50% 50%, 15% 100%, 0% 100%); }
.mob-status-bat { width: 22px; height: 10px; border: 1.2px solid #0F1116; border-radius: 2px; position: relative; padding: 1px; }
.mob-status-bat::before { content: ''; display: block; width: 100%; height: 100%; background: #0F1116; border-radius: 1px; }
.mob-status-bat::after { content: ''; position: absolute; right: -2.5px; top: 50%; transform: translateY(-50%); width: 2px; height: 4px; background: #0F1116; border-radius: 0 1px 1px 0; }

/* App content */
.mob-app-top {
  padding: 8px 4px 2px;
  display: flex; justify-content: space-between; align-items: center;
}
.mob-app-greet { font-size: 14px; color: var(--fg-2); font-weight: 500; }
.mob-app-greet b { color: var(--fg-1); font-weight: 700; }
.mob-app-streak {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.10em;
  color: #fff;
  background: var(--brand-cyan);
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 700;
}

.mob-app-progress { padding: 6px 4px 8px; }
.mob-app-progress-h {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.10em;
  color: var(--fg-3);
  margin-bottom: 4px;
  font-weight: 600;
}
.mob-app-progress-bar {
  height: 4px;
  background: var(--surface-2);
  border-radius: 999px;
  overflow: hidden;
}
.mob-app-progress-bar > i {
  display: block; height: 100%;
  background: var(--brand-cyan);
  border-radius: 999px;
}

.mob-app-card {
  margin: 6px 0;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
}
.mob-app-card--hero { box-shadow: 0 8px 20px rgba(15,17,22,0.06); }
.mob-app-card-art {
  position: relative;
  height: 70px;
}
.mob-app-card-art svg { display: block; width: 100%; height: 100%; }
.mob-app-card-eyebrow {
  position: absolute;
  top: 8px; left: 10px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.92);
  font-weight: 700;
}
.mob-app-card-body { padding: 10px 12px 12px; }
.mob-app-card-t {
  font-size: 13px;
  font-weight: 700;
  color: var(--fg-1);
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.mob-app-card-meta {
  display: flex; flex-wrap: wrap; gap: 4px;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--fg-3);
}
.mob-app-offline { color: var(--brand-cyan); font-weight: 700; }
.mob-app-card-btn {
  margin-top: 8px;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  padding: 7px 12px;
  background: var(--brand-cyan);
  color: #fff;
  border: 0;
  border-radius: 8px;
  width: 100%;
  cursor: pointer;
}

.mob-app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 4px 0;
}
.mob-app-tile {
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
}
.mob-app-tile-icon {
  width: 24px; height: 24px;
  border-radius: 6px;
  display: grid; place-items: center;
  margin-bottom: 6px;
}
.mob-app-tile-icon svg { width: 14px; height: 14px; }
.mob-app-tile-t { font-size: 11px; font-weight: 700; color: var(--fg-1); }
.mob-app-tile-d { font-size: 9px; color: var(--fg-3); font-family: var(--font-mono); letter-spacing: 0.04em; margin-top: 2px; line-height: 1.4; }

.mob-app-metar {
  background: #0F1116;
  color: #fff;
  margin: 4px 0 6px;
  padding: 8px 10px;
  border-radius: 10px;
}
.mob-app-metar-row {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.60);
  margin-bottom: 2px;
}
.mob-app-metar-cat {
  background: #2A7A3D;
  color: #fff;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.mob-app-metar-icao { color: #fff; font-weight: 700; }
.mob-app-metar-time { margin-left: auto; }
.mob-app-metar-line {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #fff;
  letter-spacing: 0.02em;
}

.mob-app-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 8px 4px 12px;
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
}
.mob-app-tab {
  display: grid;
  place-items: center;
  gap: 2px;
  padding: 4px 0;
  font-family: var(--font-sans);
  font-size: 9px;
  color: var(--fg-4);
}
.mob-app-tab svg { width: 16px; height: 16px; }
.mob-app-tab.is-active { color: var(--brand-cyan); }
.mob-h2 em { font-style: italic; color: var(--brand-cyan); }

.mob-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 0 0 26px;
}
.mob-feat {
  padding: 16px 18px;
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  display: grid; gap: 6px;
}
.mob-feat-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(212,101,28,0.10);
  color: var(--brand-cyan);
  display: grid; place-items: center;
}
.mob-feat-icon svg { width: 16px; height: 16px; }
.mob-feat-t { font-size: 14px; font-weight: 700; color: var(--fg-1); letter-spacing: -0.01em; }
.mob-feat-d { font-size: 12px; color: var(--fg-2); line-height: 1.55; }

.mob-meta {
  display: flex; flex-wrap: wrap; gap: 18px;
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.06em;
  color: var(--fg-3);
}
.mob-meta b { color: var(--fg-1); font-weight: 700; }

.mob-device-wrap {
  position: relative;
  display: grid;
  place-items: center;
}
.mob-device-tag-float {
  position: absolute;
  right: -8px; top: 28px;
  background: var(--fg-1);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(15,17,22,0.16);
  display: grid; gap: 2px;
  z-index: 2;
}
.mob-device-tag-h {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--brand-cyan);
  font-weight: 700;
}
.mob-device-tag-d {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255,255,255,0.78);
}

@media (max-width: 720px) {
  .mob-feature-grid { grid-template-columns: 1fr; }
  .mob-device-tag-float { right: 8px; }
}

/* ===== Hero v2 — real product mockup (cockpit-night phone) ===== */
.dx-hero-visual {
  aspect-ratio: auto;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  align-self: center;
}
.hero-device-stage {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 8px 0;
}
/* Soft cockpit-amber glow behind the device so it lifts off the page */
.hero-device-stage::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 115%; height: 88%;
  transform: translate(-50%, -54%);
  background:
    radial-gradient(60% 50% at 50% 42%, rgba(212,101,28,0.18), transparent 72%),
    radial-gradient(46% 40% at 50% 88%, rgba(77,156,255,0.10), transparent 72%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}
.hero-device-stage > * { position: relative; z-index: 1; }
/* Grey ground shadow under the phone to lift it off the page */
.hero-device-stage > *:first-child { filter: drop-shadow(0 32px 38px rgba(15,17,22,0.30)); }
.hero-device-cap {
  text-align: center;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.hero-device-cap-h {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--fg-1);
}
.hero-device-cap-d {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--fg-2);
}

/* Keep the launch eyebrow on a single line */
.dx-hero-title { margin-top: 14px; }
.dx-eyebrow { white-space: nowrap; }

/* Hero phone — auto-cycling screen carousel */
.hero-screens { position: relative; width: 100%; height: 100%; }
.hero-screen {
  position: absolute; inset: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.65s ease;
  pointer-events: none;
}
.hero-screen.is-active { opacity: 1; pointer-events: auto; }
.hero-dots { display: flex; gap: 7px; }
.hero-dot {
  width: 7px; height: 7px; padding: 0; border: 0; cursor: pointer;
  border-radius: 50%; background: var(--border-strong);
  transition: width 0.3s var(--ease-out), background 0.3s var(--ease-out), border-radius 0.3s var(--ease-out);
}
.hero-dot:hover { background: var(--fg-3); }
.hero-dot.is-active { width: 20px; border-radius: 4px; background: var(--brand-cyan); }
@media (prefers-reduced-motion: reduce) {
  .hero-screen { transition: none; }
}

/* Cinematic photo band (replaces the 3-card photostrip) */
.hero-cine {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: var(--radius-xl, 20px);
  overflow: hidden;
  border: 1px solid var(--border-default);
  box-shadow: var(--e2);
  background: linear-gradient(180deg, #FBEFD9 0%, #EAD3AE 100%);
}
.hero-cine-art { position: absolute; inset: 0; }
.hero-cine-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10,15,25,0.72) 0%, rgba(10,15,25,0.34) 42%, transparent 70%),
    linear-gradient(0deg, rgba(10,15,25,0.45) 0%, transparent 45%);
}
.hero-cine-overlay {
  position: absolute; z-index: 2; pointer-events: none;
  left: 40px; bottom: 36px; right: 40px;
  display: flex; flex-direction: column; gap: 10px;
  max-width: 30ch;
}
.hero-cine-tag {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-cyan-2, #E8782F);
}
.hero-cine-h {
  font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -0.025em;
  line-height: 1.05; color: #fff;
}
.hero-cine-d {
  font-size: 15px; line-height: 1.55; color: rgba(255,255,255,0.84); max-width: 42ch;
}
.hero-cine-meta {
  margin-top: 4px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.66);
}
@media (max-width: 720px) {
  .hero-cine { height: 300px; }
  .hero-cine-overlay { left: 22px; right: 22px; bottom: 24px; }
}

/* Standards / credibility strip (replaces the logo wall) */
.dx-srcrow {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px; margin-top: 22px;
}
.dx-srcchip {
  display: inline-flex; align-items: baseline; gap: 7px;
  padding: 9px 15px; border-radius: 999px;
  background: var(--surface-1); border: 1px solid var(--border-default);
  font-size: 13px; color: var(--fg-2); letter-spacing: -0.005em;
  white-space: nowrap;
}
.dx-srcchip b {
  font-family: var(--font-mono); font-weight: 700; font-size: 12px;
  letter-spacing: 0.02em; color: var(--brand-cyan-3, #B5530F);
}
.dx-strip-note {
  margin-top: 16px; text-align: center;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--fg-3);
}

/* ===== Radio comms band (Tower ↔ Pilot) ===== */
.rdo {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 90% at 50% -10%, #18202B 0%, #0F1116 60%, #0B0D12 100%);
  padding: 72px 0;
}
/* Subtle receding runway behind the content */
.rdo-runway {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 460px;
  transform: translateX(-50%);
  pointer-events: none; opacity: 0.5;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
}
.rdo-runway-strip {
  position: absolute; left: 50%; top: -6%; transform: translateX(-50%);
  width: 220px; height: 112%;
  /* trapezoid runway receding to a vanishing point */
  clip-path: polygon(42% 0, 58% 0, 100% 100%, 0% 100%);
  background:
    repeating-linear-gradient(180deg, rgba(255,255,255,0.55) 0 22px, transparent 22px 60px) center / 5px 100% no-repeat,
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.10));
}
.rdo-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.rdo-title {
  font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; letter-spacing: -0.025em;
  line-height: 1.08; color: #fff; margin: 12px 0 0;
}
.rdo-title em { font-style: italic; font-weight: 300; color: rgba(255,255,255,0.62); }
.rdo-lede { color: rgba(255,255,255,0.72); font-size: 16px; line-height: 1.6; margin: 16px 0 22px; max-width: 46ch; }
.dx-btn--on-dark { border-color: rgba(255,255,255,0.22); color: #fff; background: transparent; }
.dx-btn--on-dark:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.4); color: #fff; }

/* Radio transcript panel */
.rdo-panel {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg, 16px);
  padding: 18px; backdrop-filter: blur(8px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
.rdo-freq {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.rdo-freq-num { margin-left: auto; color: var(--brand-cyan-2); font-weight: 700; letter-spacing: 0.06em; }
.rdo-freq-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--state-success, #3FBF6E); box-shadow: 0 0 0 4px rgba(63,191,110,0.18); }
.rdo-feed { display: flex; flex-direction: column; gap: 14px; }
.rdo-tx-head { display: flex; align-items: center; gap: 10px; margin-bottom: 5px; }
.rdo-tx-who { font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: #fff; white-space: nowrap; }
.rdo-tx-role {
  font-family: var(--font-mono); font-size: 9px; font-weight: 700; letter-spacing: 0.12em;
  padding: 2px 7px; border-radius: 999px; white-space: nowrap; flex: none;
}
.rdo-tx--pilot .rdo-tx-role { color: var(--brand-cyan-2); background: rgba(232,120,47,0.14); }
.rdo-tx--atc .rdo-tx-role { color: #7FC8FF; background: rgba(77,156,255,0.14); }
.rdo-wave { display: inline-flex; align-items: center; gap: 2px; margin-left: auto; opacity: 0.5; }
.rdo-wave i { width: 2px; border-radius: 1px; background: rgba(255,255,255,0.55); }
.rdo-tx-body {
  font-size: 14px; line-height: 1.55; color: rgba(255,255,255,0.86);
  padding-left: 0;
}
.rdo-tx--atc .rdo-tx-body { color: rgba(255,255,255,0.78); }

@media (max-width: 820px) {
  .rdo-inner { grid-template-columns: 1fr; gap: 32px; }
  .rdo { padding: 52px 0; }
}

/* PAPI approach lights — cycles high → on-glidepath */
.papi {
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%);
  z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 9px;
  pointer-events: none;
}
.papi-lights { display: flex; gap: 7px; }
.papi-l {
  width: 11px; height: 11px; border-radius: 50%;
  background: #FDFDF5; box-shadow: 0 0 9px 1px rgba(253,253,245,0.8);
}
.papi-l3 { animation: papi3 6s ease-in-out infinite; }
.papi-l4 { animation: papi4 6s ease-in-out infinite; }
.papi-cap {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em;
  color: rgba(255,255,255,0.5);
}
@keyframes papi3 {
  0%, 28%  { background: #FDFDF5; box-shadow: 0 0 9px 1px rgba(253,253,245,0.8); }
  36%, 70% { background: #FF3B30; box-shadow: 0 0 9px 1px rgba(255,59,48,0.85); }
  78%, 100%{ background: #FDFDF5; box-shadow: 0 0 9px 1px rgba(253,253,245,0.8); }
}
@keyframes papi4 {
  0%, 14%  { background: #FDFDF5; box-shadow: 0 0 9px 1px rgba(253,253,245,0.8); }
  20%, 84% { background: #FF3B30; box-shadow: 0 0 9px 1px rgba(255,59,48,0.85); }
  90%, 100%{ background: #FDFDF5; box-shadow: 0 0 9px 1px rgba(253,253,245,0.8); }
}
@media (prefers-reduced-motion: reduce) {
  .papi-l3, .papi-l4 { animation: none; background: #FF3B30; box-shadow: 0 0 9px 1px rgba(255,59,48,0.85); }
}

/* ForeFlight compatibility badge (hero) */
.ff-compat {
  display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 22px; padding: 10px 16px;
  background: var(--surface-1); border: 1px solid var(--border-default); border-radius: 999px;
}
.ff-compat-label {
  font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--fg-3);
}
.ff-compat-logo { flex: none; }
.ff-compat-note {
  font-size: 12.5px; color: var(--fg-2); padding-left: 12px; border-left: 1px solid var(--border-subtle);
}
@media (max-width: 520px) {
  .ff-compat-note { border-left: 0; padding-left: 0; flex-basis: 100%; }
}

/* ===== Platform console (browser-framed instructor backend) ===== */
.pcon { padding-top: 4px; padding-bottom: 12px; }
.pcon-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.pcon-list { list-style: none; margin: 20px 0 24px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pcon-list li { position: relative; padding-left: 22px; color: var(--fg-2); font-size: 15px; line-height: 1.5; }
.pcon-list li::before {
  content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--brand-cyan);
}
.pcon-win {
  border-radius: 14px; overflow: hidden;
  background: var(--surface-0);
  border: 1px solid var(--border-default);
  box-shadow: 0 30px 70px rgba(15,17,22,0.16), 0 8px 20px rgba(15,17,22,0.08);
}
.pcon-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 14px; background: var(--surface-2);
  border-bottom: 1px solid var(--border-subtle);
}
.pcon-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--border-strong); }
.pcon-dot:nth-child(1) { background: #FF5F57; }
.pcon-dot:nth-child(2) { background: #FEBC2E; }
.pcon-dot:nth-child(3) { background: #28C840; }
.pcon-url {
  margin-left: 10px; flex: 1; max-width: 320px;
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-3);
  background: var(--surface-0); border: 1px solid var(--border-subtle);
  border-radius: 6px; padding: 4px 10px; letter-spacing: 0.02em;
}
.pcon-body { display: grid; grid-template-columns: 150px 1fr; min-height: 320px; }
.pcon-side { background: var(--surface-1); border-right: 1px solid var(--border-subtle); padding: 16px 12px; }
.pcon-side-brand {
  font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
  color: var(--fg-3); padding: 4px 8px 14px;
}
.pcon-nav { display: flex; flex-direction: column; gap: 2px; }
.pcon-nav-i {
  font-size: 13px; color: var(--fg-2); padding: 8px 10px; border-radius: 7px;
}
.pcon-nav-i.is-active { background: var(--brand-cyan-glow); color: var(--brand-cyan-3); font-weight: 700; }
.pcon-main { padding: 18px; min-width: 0; }
.pcon-shot { display: block; line-height: 0; }
.pcon-shot img { display: block; width: 100%; height: auto; }
.pcon-lhead { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.pcon-lhead-eyebrow { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); }
.pcon-lhead-t { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; color: var(--fg-1); margin-top: 4px; }
.pcon-pill {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.06em;
  color: var(--brand-cyan-3, #B5530F); background: var(--brand-cyan-glow);
  border: 1px solid var(--border-cyan, rgba(212,101,28,0.28)); border-radius: 999px; padding: 5px 11px;
}
.pcon-pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-cyan); }
.pcon-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pcon-card {
  background: var(--surface-1); border: 1px solid var(--border-subtle); border-radius: 12px; padding: 14px;
  display: flex; flex-direction: column; gap: 7px;
}
.pcon-card-top { display: flex; align-items: center; justify-content: space-between; }
.pcon-card-num { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--fg-3); }
.pcon-card-status {
  font-family: var(--font-mono); font-size: 8px; font-weight: 700; letter-spacing: 0.1em;
  padding: 3px 7px; border-radius: 999px; color: var(--fg-3); background: var(--surface-2);
}
.pcon-card.status-completed .pcon-card-status { color: var(--state-success, #2F8F54); background: rgba(63,191,110,0.14); }
.pcon-card.status-in-progress .pcon-card-status { color: var(--brand-cyan-3, #B5530F); background: var(--brand-cyan-glow); }
.pcon-card-t { font-size: 14px; font-weight: 700; letter-spacing: -0.01em; color: var(--fg-1); line-height: 1.25; }
.pcon-card-ref { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.04em; color: var(--fg-3); }
.pcon-card-bar { height: 5px; border-radius: 3px; background: var(--surface-3, rgba(15,17,22,0.08)); overflow: hidden; margin-top: 2px; }
.pcon-card-bar i { display: block; height: 100%; border-radius: 3px; background: var(--brand-cyan); }
.pcon-card.status-completed .pcon-card-bar i { background: var(--state-success, #2F8F54); }
@media (max-width: 900px) {
  .pcon-grid { grid-template-columns: 1fr; gap: 32px; }
  .pcon-body { grid-template-columns: 1fr; }
  .pcon-side { display: none; }
  .pcon-cards { grid-template-columns: 1fr 1fr; }
}
