/* AeroLabs website — main stylesheet */
@import url('./colors_and_type.css');

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: var(--font-body); color: var(--fg); background: var(--bg); }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.site-scroll { height: 100vh; overflow-y: auto; scroll-behavior: smooth; overflow-x: hidden; }
.site-scroll > main { overflow: visible; }
.site-scroll > main > .al-hero-cinematic { overflow: visible !important; }

/* ---------- Buttons ---------- */
.al-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; font-family: var(--font-display); font-weight: 600; font-size: 15px;
  border-radius: 12px; border: 1px solid transparent; cursor: pointer;
  transition: transform 200ms var(--ease-ui), background 200ms, box-shadow 200ms, filter 200ms;
}
.al-btn-lg { padding: 16px 28px; font-size: 17px; border-radius: 14px; }
.al-btn svg, .al-btn i { width: 18px; height: 18px; }
.al-btn i, .al-btn svg, .al-modal-x i, .al-modal-x svg {
  pointer-events: none;
}
.al-btn-primary { background: #3B82F6; color: #fff; border: 1px solid transparent; box-shadow: 0 6px 20px rgba(59,130,246,0.45); font-weight: 700; }
.al-btn-primary:hover { transform: translateY(-2px); background: #60A5FA; box-shadow: 0 8px 28px rgba(59,130,246,0.6); }
.al-btn-primary:active { transform: translateY(-1px); background: #1E3A8A; }
.al-btn-ghost { background: transparent; color: var(--fg); border-color: var(--border-strong); }
.al-btn-ghost:hover { transform: translateY(-2px); background: rgba(59,130,246,0.06); }
[data-theme="dark"] .al-btn-ghost:hover { background: rgba(96,165,250,0.12); }
.al-btn-ghost-on-dark { background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.al-btn-ghost-on-dark:hover { background: rgba(255,255,255,0.14); transform: translateY(-2px); }

.al-icon-btn {
  width: 40px; height: 40px; border-radius: 10px; background: transparent; border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center; color: var(--fg); cursor: pointer;
  transition: all 200ms var(--ease-ui);
}
.al-icon-btn:hover { background: rgba(59,130,246,0.08); }
.al-icon-btn i, .al-icon-btn svg { width: 18px; height: 18px; }

/* ---------- Nav ---------- */
.al-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,249,252,0.75); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all 200ms var(--ease-ui);
}
.al-nav.scrolled { background: rgba(255,255,255,0.9); box-shadow: 0 1px 0 rgba(10,27,61,0.04); }
[data-theme="dark"] .al-nav { background: rgba(10,27,61,0.7); }
[data-theme="dark"] .al-nav.scrolled { background: rgba(10,27,61,0.9); box-shadow: 0 1px 0 rgba(255,255,255,0.06); }
.al-nav-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 32px;
  height: var(--nav-h); display: flex; align-items: center; justify-content: space-between;
}
.al-nav.scrolled .al-nav-inner { height: var(--nav-h-scrolled); }
.al-brand { display: flex; align-items: center; gap: 10px; }
.al-wordmark { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; color: var(--aero-navy-800); }
.al-wordmark.on-dark { color: #fff; }
.al-links { display: flex; gap: 32px; }
.al-links a { font-family: var(--font-display); font-size: 14px; font-weight: 500; color: var(--fg-muted); }
.al-links a:hover { color: var(--fg); }
.al-nav-actions { display: flex; gap: 10px; align-items: center; }
.al-mobile-only { display: none; }
@media (max-width: 820px) {
  .al-links { display: none; }
  .al-mobile-only { display: inline-flex; }
}

/* ---------- Hero ---------- */
.al-hero {
  position: relative; min-height: 720px; overflow: hidden;
  background: var(--grad-sky);
  color: #fff;
  display: flex; align-items: center;
}
/* Cinematic variant: tall scroll stage, pinned inner content */
.al-hero-cinematic {
  height: 200vh; min-height: 200vh; display: block;
  position: relative;
  overflow: visible;
  background: linear-gradient(160deg, #0A1B3D 0%, #1E3A8A 55%, #3B82F6 100%);
  color: #fff;
}
.al-hero-stage {
  position: sticky; top: 0; height: 100vh; width: 100%; overflow: hidden;
  background: linear-gradient(160deg, #0A1B3D 0%, #1E3A8A 55%, #3B82F6 100%);
  color: #fff;
  z-index: 1;
}
.al-hero-cinematic::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 100vh;
  background: linear-gradient(160deg, #0A1B3D 0%, #1E3A8A 55%, #3B82F6 100%);
  z-index: 0; pointer-events: none;
}
.al-hero-brand {
  position: absolute; top: 0; left: 0; z-index: 5;
  display: flex; align-items: center; gap: 28px;
  will-change: transform, opacity;
  pointer-events: none;
}
.al-hero-mark {
  width: 180px; height: 180px; object-fit: contain;
  filter: drop-shadow(0 8px 40px rgba(96,165,250,0.35));
}
.al-hero-wm {
  font-family: var(--font-display); font-weight: 700;
  font-size: 140px; line-height: 1; letter-spacing: -0.035em;
  color: #fff;
}
/* Nav brand slot: the landing target. Our own brand fades in near the end. */
.al-nav-brand-slot { position: relative; display: inline-flex; min-width: 160px; min-height: 40px; align-items: center; }
.al-nav-brand-real {
  display: inline-flex; align-items: center; gap: 10px;
  opacity: clamp(0, calc((var(--hero-collapse, 0) - 0.9) * 10), 1);
  transition: opacity 200ms linear;
}

/* Scroll hint */
.al-scroll-hint {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em;
  color: rgba(255,255,255,0.5); text-transform: uppercase;
  opacity: calc(1 - var(--hero-collapse, 0) * 2.5);
  pointer-events: none;
}
.al-scroll-hint-track { width: 2px; height: 36px; background: rgba(255,255,255,0.15); border-radius: 2px; overflow: hidden; position: relative; }
.al-scroll-hint-dot { position: absolute; top: -10px; left: 0; width: 2px; height: 16px; background: var(--aero-sky-300); border-radius: 2px; animation: al-hint 1.8s cubic-bezier(0.4,0,0.2,1) infinite; }
@keyframes al-hint { 0% { top: -16px; opacity: 0; } 40% { opacity: 1; } 100% { top: 36px; opacity: 0; } }

.al-hero-cinematic .al-hero-content [data-layer] { will-change: transform, opacity; opacity: 0; }

@media (max-width: 820px) {
  .al-hero-mark { width: 120px; height: 120px; }
  .al-hero-wm { font-size: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  .al-hero-cinematic { height: auto; min-height: 100vh; }
  .al-hero-cinematic .al-hero-content [data-layer] { opacity: 1 !important; transform: none !important; }
  .al-hero-brand { position: static; transform: none !important; }
}
.al-hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.al-stars {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 10% 20%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 20% 60%, #fff, transparent),
    radial-gradient(1px 1px at 33% 30%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1.5px 1.5px at 45% 80%, #fff, transparent),
    radial-gradient(1px 1px at 58% 15%, rgba(255,255,255,0.8), transparent),
    radial-gradient(1.2px 1.2px at 70% 55%, #fff, transparent),
    radial-gradient(1px 1px at 82% 25%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1.5px 1.5px at 90% 70%, #fff, transparent),
    radial-gradient(1px 1px at 15% 85%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 62% 90%, #fff, transparent);
  background-size: 100% 100%; opacity: 0.7;
  animation: al-drift 30s linear infinite;
}
@keyframes al-drift {
  from { transform: translateY(0); }
  to { transform: translateY(-20px); }
}
.al-flightpath-wrap { position: absolute; inset: 0; will-change: transform; }
.al-flightpath { position: absolute; inset: 0; width: 100%; height: 100%; }
.al-stars { will-change: transform; }
.al-sun-glow { will-change: transform, opacity; }
.al-hero-content { will-change: transform, opacity; transition: transform 120ms linear, opacity 120ms linear; transform-origin: 50% 40%; }
.al-hero-fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 140px; pointer-events: none;
  background: linear-gradient(180deg, rgba(247,249,252,0) 0%, rgba(247,249,252,0.4) 55%, var(--aero-paper) 100%);
}
[data-theme="dark"] .al-hero-fade {
  background: linear-gradient(180deg, rgba(5,10,31,0) 0%, rgba(5,10,31,0.5) 55%, var(--aero-navy-900) 100%);
}
@media (prefers-reduced-motion: reduce) {
  .al-hero-content, .al-stars, .al-flightpath-wrap, .al-sun-glow { transform: none !important; opacity: 1 !important; }
}
.al-sun-glow {
  position: absolute; right: -100px; bottom: -200px; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(59,130,246,0.35), transparent 60%);
  pointer-events: none;
}
.al-hero-content {
  position: relative; max-width: var(--container); margin: 0 auto;
  padding: 120px 32px; width: 100%;
}
.al-hero-cinematic .al-hero-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 32px 0 32px;
}
.al-hero-cinematic .al-hero-content > * { max-width: var(--container); margin-left: auto; margin-right: auto; width: 100%; }
.al-eyebrow-hero { color: var(--aero-sky-300) !important; }
.al-hero-h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(48px, 7vw, 88px); line-height: 1.02; letter-spacing: -0.025em;
  margin: 16px 0 20px; max-width: 900px;
}
.al-hero-h1 em { font-style: normal; color: var(--aero-sky-300); }
.al-hero-sub { font-size: 19px; line-height: 1.6; color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 0 32px; }
.al-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.al-hero-meta {
  display: flex; gap: 48px; margin-top: 72px; padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12); max-width: 600px;
}
.al-hero-meta > div { display: flex; flex-direction: column; gap: 6px; min-width: 120px; }
.al-meta-k { display: block; font-family: var(--font-mono); font-size: 24px; font-weight: 500; line-height: 1.1; color: var(--aero-sky-300); letter-spacing: 0.02em; white-space: nowrap; }
.al-meta-v { display: block; font-family: var(--font-mono); font-size: 11px; line-height: 1.2; color: rgba(255,255,255,0.6); letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; }

/* ---------- Section scaffolding ---------- */
.al-section { padding: 128px 0; position: relative; }
.al-section-alt { background: var(--aero-paper-2); }
[data-theme="dark"] .al-section-alt { background: var(--aero-navy-900); }
.al-section-dark { background: var(--aero-navy-800); color: #fff; }
.al-container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }

.al-eyebrow {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--aero-sky-500);
  margin-bottom: 16px;
}
.al-center { text-align: center; }
.al-h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(32px, 4vw, 48px); line-height: 1.1; letter-spacing: -0.02em;
  margin: 0 0 48px; color: var(--fg);
}
.al-h2.on-dark { color: #fff; }
.al-h2.al-center { max-width: 800px; margin: 0 auto 64px; }
.al-lede { font-size: 19px; line-height: 1.65; color: var(--fg-muted); max-width: 640px; }
.al-lede.on-dark { color: rgba(255,255,255,0.78); }

/* ---------- Features ---------- */
.al-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.al-feature-card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all 300ms var(--ease-enter);
}
.al-feature-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg);
  border-color: rgba(59,130,246,0.24);
}
.al-feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(59,130,246,0.1);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
  transition: background 300ms var(--ease-ui);
  color: #3B82F6;
}
.al-feature-icon i, .al-feature-icon svg { width: 24px; height: 24px; color: #3B82F6; stroke: #3B82F6; fill: none; }
.al-feature-icon svg * { stroke: #3B82F6 !important; }
.al-feature-card:hover .al-feature-icon { background: rgba(59,130,246,0.18); color: #3B82F6; }
.al-feature-card:hover .al-feature-icon svg,
.al-feature-card:hover .al-feature-icon i { color: #3B82F6; stroke: #3B82F6; }
.al-feature-card:hover .al-feature-icon svg * { stroke: #3B82F6 !important; }

.al-feature-title { font-family: var(--font-display); font-size: 19px; font-weight: 600; margin: 0 0 8px; color: var(--fg); }
.al-feature-body { font-size: 15px; line-height: 1.6; color: var(--fg-muted); margin: 0; }
[data-theme="dark"] .al-feature-card { background: var(--aero-navy-800); border-color: rgba(255,255,255,0.08); }
[data-theme="dark"] .al-feature-body { color: rgba(255,255,255,0.72); }
@media (max-width: 900px) { .al-features-grid { grid-template-columns: 1fr; } }

/* ---------- Schedule ---------- */
.al-schedule-header {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
  margin-bottom: 48px; flex-wrap: wrap;
}
.al-schedule-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px; padding: 14px 20px; color: #fff;
}
.al-schedule-badge i { width: 22px; height: 22px; color: var(--aero-sky-300); }
.al-badge-l1 { font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.al-badge-l2 { font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,0.7); letter-spacing: 0.04em; }
.al-schedule-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.al-schedule-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 32px;
  transition: all 300ms var(--ease-enter);
}
.al-schedule-card:hover { border-color: var(--aero-sky-400); background: rgba(59,130,246,0.06); }
.al-schedule-num { font-family: var(--font-mono); font-size: 48px; font-weight: 500; color: var(--aero-sky-300); letter-spacing: -0.02em; line-height: 1; }
.al-schedule-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--aero-sky-300); margin: 20px 0 12px; }
.al-schedule-title { font-family: var(--font-display); font-size: 20px; font-weight: 600; margin: 0 0 10px; color: #fff; }
.al-schedule-body { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.72); margin: 0; }
@media (max-width: 900px) { .al-schedule-grid { grid-template-columns: 1fr; } }

/* ---------- Audience ---------- */
.al-audience { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.al-stats { display: flex; gap: 40px; margin-top: 32px; }
.al-stat-k { font-family: var(--font-display); font-weight: 700; font-size: 40px; color: var(--aero-sky-500); letter-spacing: -0.02em; }
.al-stat-v { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--fg-muted); text-transform: uppercase; margin-top: 4px; }
.al-photo-placeholder {
  aspect-ratio: 4/5; border-radius: 20px;
  background: var(--aero-paper-2); border: 1px dashed var(--border-strong);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  color: var(--fg-muted); font-size: 13px; text-align: center; padding: 24px;
}
.al-photo-placeholder.on-dark { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.16); color: rgba(255,255,255,0.6); }
.al-photo-placeholder i { width: 36px; height: 36px; opacity: 0.4; }
[data-theme="dark"] .al-photo-placeholder { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.16); color: rgba(255,255,255,0.6); }
@media (max-width: 900px) { .al-audience { grid-template-columns: 1fr; } }

/* ---------- Outcomes ---------- */
.al-outcomes-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.al-outcome-row {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 14px;
  padding: 20px 24px; box-shadow: var(--shadow-xs);
  transition: all 300ms var(--ease-enter);
}
.al-outcome-row:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
[data-theme="dark"] .al-outcome-row {
  background: var(--aero-navy-800);
  border-color: rgba(255,255,255,0.08);
  box-shadow: none;
}
[data-theme="dark"] .al-outcome-row:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  border-color: rgba(96,165,250,0.35);
}
.al-outcome-check {
  flex: 0 0 32px; width: 32px; height: 32px; border-radius: 9999px;
  background: var(--aero-sky-500); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.al-outcome-check i { width: 18px; height: 18px; stroke-width: 3; }
.al-outcome-text { font-size: 15px; line-height: 1.5; color: var(--fg); display: flex; gap: 12px; align-items: baseline; }
.al-outcome-num { font-family: var(--font-mono); font-size: 12px; color: var(--aero-sky-500); letter-spacing: 0.1em; }
[data-theme="dark"] .al-outcome-num { color: var(--aero-sky-300); }
@media (max-width: 900px) { .al-outcomes-grid { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.al-testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 80px; }
.al-testimonial {
  background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 16px; padding: 28px;
  margin: 0; box-shadow: var(--shadow-sm); position: relative;
}
.al-quote-mark { width: 28px; height: 28px; color: var(--aero-sky-500); margin-bottom: 12px; }
.al-testimonial blockquote { font-family: var(--font-display); font-weight: 500; font-size: 17px; line-height: 1.5; color: var(--fg); margin: 0 0 20px; }
.al-testimonial figcaption { display: flex; flex-direction: column; gap: 2px; }
.al-t-who { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--fg); }
.al-t-role { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--fg-muted); text-transform: uppercase; }
.al-partners { text-align: center; }
.al-partners-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--fg-subtle); margin-bottom: 24px; }
.al-partners-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.al-partner-slot {
  height: 60px; border: 1px dashed var(--border-strong); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-subtle); letter-spacing: 0.08em;
}
@media (max-width: 900px) {
  .al-testimonials { grid-template-columns: 1fr; }
  .al-partners-row { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Team ---------- */
.al-team { display: grid; grid-template-columns: 380px 1fr; gap: 64px; align-items: center; }
.al-team-photo .al-photo-placeholder { aspect-ratio: 1; border-radius: 20px; }
.al-team-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 20px; }
.al-inline-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-family: var(--font-mono); font-size: 14px; color: var(--aero-sky-300); }
.al-inline-link:hover { color: var(--aero-sky-400); }
.al-inline-link i { width: 16px; height: 16px; }
@media (max-width: 900px) { .al-team { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.al-faq-wrap { max-width: 800px; }
.al-faq-list { margin-top: 40px; display: flex; flex-direction: column; gap: 8px; }
.al-faq-item { border: 1px solid var(--border); border-radius: 14px; background: var(--bg-elevated); overflow: hidden; transition: all 200ms; }
.al-faq-item.open { border-color: rgba(59,130,246,0.3); box-shadow: var(--shadow-md); }
.al-faq-q {
  width: 100%; background: transparent; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 24px; text-align: left;
  font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--fg);
}
.al-faq-q i { width: 20px; height: 20px; color: var(--aero-sky-500); flex: 0 0 20px; }
.al-faq-toggle { display: inline-flex; align-items: center; justify-content: center; color: var(--aero-sky-500); flex: 0 0 20px; }
.al-faq-toggle svg { width: 20px; height: 20px; }
.al-faq-a {
  max-height: 0; overflow: hidden; transition: max-height 300ms var(--ease-enter), padding 300ms var(--ease-enter);
  font-size: 15px; line-height: 1.65; color: var(--fg-muted); padding: 0 24px;
}
.al-faq-item.open .al-faq-a { max-height: 200px; padding: 0 24px 24px; }

/* ---------- Footer ---------- */
.al-footer { background: var(--aero-navy-900); color: #fff; padding: 80px 0 0; }
.al-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.6fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.al-footer-brand .al-brand { margin-bottom: 16px; }
.al-footer-tag { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.55; margin: 0; }
.al-footer-h { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--aero-sky-300); text-transform: uppercase; margin-bottom: 16px; }
.al-footer-grid a { display: block; font-size: 14px; padding: 6px 0; color: rgba(255,255,255,0.75); cursor: pointer; }
.al-footer-grid a:hover { color: #fff; }
.al-news-form { display: flex; gap: 8px; margin-top: 16px; }
.al-news-form input { flex: 1; padding: 10px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.16); background: rgba(255,255,255,0.04); color: #fff; font-family: var(--font-body); font-size: 14px; outline: none; }
.al-news-form input:focus { border-color: var(--aero-sky-400); }
.al-news-form button { padding: 10px 16px; border-radius: 10px; border: 0; background: var(--aero-sky-500); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 14px; cursor: pointer; }
.al-socials { display: flex; gap: 10px; margin-top: 20px; }
.al-socials a { width: 36px; height: 36px; border-radius: 9999px; border: 1px solid rgba(255,255,255,0.16); display: inline-flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; }
.al-socials a:hover { background: rgba(59,130,246,0.2); border-color: var(--aero-sky-400); }
.al-socials i { width: 16px; height: 16px; }
.al-footer-bar { max-width: var(--container); margin: 0 auto; padding: 24px 32px; display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,0.5); letter-spacing: 0.04em; }
@media (max-width: 900px) { .al-footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Modal ---------- */
.al-modal-scrim {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(5,10,31,0.6); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px; animation: al-fade 200ms var(--ease-enter);
}
@keyframes al-fade { from { opacity: 0; } to { opacity: 1; } }
.al-modal {
  background: var(--bg-elevated); border-radius: 20px; padding: 40px;
  max-width: 520px; width: 100%; box-shadow: var(--shadow-lg);
  position: relative; animation: al-rise 300ms var(--ease-enter);
}
@keyframes al-rise { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.al-modal-x { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 9999px; border: 0; background: var(--aero-paper-2); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.al-modal-x i { width: 18px; height: 18px; }
.al-modal-h { font-family: var(--font-display); font-size: 28px; font-weight: 700; letter-spacing: -0.02em; margin: 8px 0 8px; color: var(--fg); }
.al-modal-sub { font-size: 15px; color: var(--fg-muted); margin: 0 0 24px; }
.al-form { display: flex; flex-direction: column; gap: 16px; }
.al-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; min-width: 0; }
.al-field { display: flex; flex-direction: column; gap: 6px; }
.al-field label { font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--fg); }
.al-field input, .al-field select, .al-field textarea {
  font-family: var(--font-body); font-size: 15px; padding: 10px 14px;
  border-radius: 10px; border: 1px solid var(--border-strong); background: var(--bg-elevated); color: var(--fg);
  outline: none; transition: all 200ms; resize: vertical;
  width: 100%; min-width: 0; box-sizing: border-box;
}
.al-field input:focus, .al-field select:focus, .al-field textarea:focus {
  border-color: var(--aero-sky-500); box-shadow: 0 0 0 3px rgba(59,130,246,0.2);
}
.al-modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 12px; }
.al-modal-done { text-align: center; padding: 20px 0; }
.al-success-ring {
  width: 72px; height: 72px; border-radius: 9999px; background: var(--aero-sky-500);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 20px; box-shadow: var(--shadow-glow-sky);
}
.al-success-ring i { width: 32px; height: 32px; stroke-width: 3; }

.al-modal-errors {
  background: #FEF2F2; border: 1px solid #FECACA; border-radius: 10px;
  padding: 12px 16px; margin-bottom: 16px;
}
.al-modal-errors p { margin: 2px 0; color: #B91C1C; font-size: 14px; }
[data-theme="dark"] .al-modal-errors {
  background: rgba(180,65,65,0.12); border-color: rgba(252,165,165,0.35);
}
[data-theme="dark"] .al-modal-errors p { color: #FCA5A5; }

/* ---------- Dark mode overrides ---------- */
[data-theme="dark"] .al-wordmark { color: var(--fg); }
[data-theme="dark"] .al-modal-x { background: var(--aero-navy-700); color: var(--fg); }
[data-theme="dark"] .al-modal-sub { color: var(--fg-muted); }
[data-theme="dark"] .al-field input::placeholder,
[data-theme="dark"] .al-field textarea::placeholder { color: var(--fg-subtle); }
