/* Aircraft Steward public homepage. Tokens follow the application (styles.css) so the marketing
   page and the product read as one thing: navy, slate, sky, canvas, line, and the same face. */
:root {
  --navy: #020617; --navy-2: #0b1730; --slate: #0f172a; --ink: #1e293b; --muted: #64748b;
  --line: #dce3eb; --line-soft: #eef2f6; --canvas: #f5f7fa; --paper: #ffffff;
  --sky: #0284c7; --sky-dark: #0369a1; --sky-light: #38bdf8; --sky-tint: #e0f2fe;
  --teal: #0f766e; --teal-tint: #ccfbf1; --amber: #b45309; --amber-tint: #fef3c7;
  --radius: 14px; --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 12px 40px rgba(15, 23, 42, .08);
  --header-h: 68px;
  font-family: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  color: var(--slate); background: var(--paper);
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); line-height: 1.5; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -.02em; line-height: 1.15; }
h2 { font-size: clamp(28px, 3.4vw, 38px); font-weight: 750; }
h3 { font-size: 22px; font-weight: 700; }
h4 { font-size: 21px; font-weight: 700; }
p { margin: 0; }
a { color: var(--sky-dark); }
a:hover { color: var(--sky); }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--sky-light); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy); color: white; padding: 10px 14px; border-radius: var(--radius-sm); font-weight: 650; }
.skip-link:focus { top: 12px; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 32px); }
[hidden] { display: none !important; }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: var(--radius-sm); font-weight: 650; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background-color .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--sky); border-color: var(--sky-dark); color: white; box-shadow: 0 1px 2px rgba(15, 23, 42, .12); }
.btn-primary:hover { background: var(--sky-dark); color: white; }
.btn-secondary { background: white; border-color: var(--line); color: var(--ink); }
.btn-secondary:hover { border-color: #b6c2d1; color: var(--slate); }
.btn-lg { min-height: 50px; padding: 0 24px; font-size: 16px; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.link-strong { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* Availability labels */
.avail { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; border: 1px solid; font-size: 12px; font-weight: 700; letter-spacing: .01em; white-space: nowrap; vertical-align: middle; }
.avail::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.avail-ok { color: #065f46; background: #ecfdf5; border-color: #a7f3d0; }
.avail-preview { color: var(--amber); background: var(--amber-tint); border-color: #fcd34d; }
.avail-planned { color: #475569; background: #f1f5f9; border-color: #cbd5e1; }
.legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(15, 23, 42, .06); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--slate); text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.brand img { width: 40px; height: 40px; border-radius: 10px; background: white; padding: 3px; box-shadow: 0 0 0 1px var(--line); }
.site-nav ul { display: flex; gap: 4px; list-style: none; }
.site-nav a { display: inline-block; padding: 8px 12px; border-radius: 8px; color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; }
.site-nav a:hover { background: var(--canvas); color: var(--slate); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: white; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--slate); border-radius: 2px; transition: transform .15s, opacity .15s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #071426 0%, #0b2540 55%, #0c4a6e 100%); color: white; padding: clamp(40px, 6vw, 84px) 0 clamp(40px, 6vw, 72px); }
.hero::after { content: ""; position: absolute; right: -10%; bottom: -30%; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; background: radial-gradient(circle at center, rgba(56, 189, 248, .22), transparent 60%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.eyebrow { color: #7dd3fc; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.hero h1 { font-size: clamp(36px, 5vw, 58px); font-weight: 780; letter-spacing: -.03em; line-height: 1.05; }
.hero .lead { margin-top: 18px; max-width: 560px; color: #cfe3f5; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.55; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .btn-secondary { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .28); color: white; }
.hero .btn-secondary:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .5); color: white; }
.existing { margin-top: 18px; color: #bae6fd; font-size: 15px; }
.existing .link-strong { color: white; margin-left: 6px; }
.proof { list-style: none; display: grid; gap: 8px; margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .16); color: #e2e8f0; font-size: 14.5px; }
.proof li { display: flex; gap: 10px; align-items: flex-start; }
.proof li::before { content: ""; flex: none; margin-top: 7px; width: 8px; height: 8px; border-radius: 2px; background: var(--sky-light); transform: rotate(45deg); }
.hero-figure { margin: 0; min-width: 0; }
.hero-figure figcaption { margin-top: 12px; color: #bae6fd; font-size: 13px; line-height: 1.5; }
.shot-frame { position: relative; overflow: hidden; border-radius: 12px; background: white; box-shadow: var(--shadow); border: 1px solid rgba(15, 23, 42, .08); }
.hero .shot-frame { border-color: rgba(255, 255, 255, .18); box-shadow: 0 30px 80px rgba(2, 6, 23, .55); }
.shot { width: 100%; }
.shot-frame:has(.shot-phone) { width: min(300px, 100%); margin-inline: auto; }

/* Sections */
.section { padding: clamp(52px, 7vw, 96px) 0; }
.section + .section { border-top: 1px solid var(--line-soft); }
.section-intro { margin-top: 12px; max-width: 760px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.note { margin-top: 16px; padding: 12px 14px; border-left: 3px solid var(--sky-light); background: #f0f9ff; color: #0c4a6e; font-size: 14px; line-height: 1.55; border-radius: 0 8px 8px 0; }
.fineprint { margin-top: 20px; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.section-platform, .section-trust { background: var(--canvas); }

/* Video */
.video-frame { margin-top: 24px; border-radius: 12px; overflow: hidden; background: var(--navy); box-shadow: var(--shadow); aspect-ratio: 16 / 9; }
.video-player, .video-embed, .video-embed iframe { width: 100%; height: 100%; display: block; border: 0; }
.video-embed { position: relative; }
.video-embed img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video-play { position: absolute; inset: 0; margin: auto; width: max-content; height: 56px; display: inline-flex; align-items: center; gap: 12px; padding: 0 22px 0 14px; border: 0; border-radius: 999px; background: white; color: var(--slate); font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 10px 30px rgba(2, 6, 23, .4); }
.video-play-icon { width: 30px; height: 30px; border-radius: 50%; background: var(--sky); position: relative; }
.video-fallback { position: absolute; left: 16px; bottom: 16px; color: white; font-weight: 650; }
.video-play-icon::after { content: ""; position: absolute; left: 11px; top: 8px; border-left: 11px solid white; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }

/* Tabs */
.tablist { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.tablist [role=tab] { min-height: 42px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--ink); font: inherit; font-weight: 650; font-size: 14.5px; cursor: pointer; }
.tablist [role=tab]:hover { border-color: #b6c2d1; }
.tablist [role=tab][aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: white; }
.tabpanel { margin-top: 26px; }
html:not([data-js]) .tabpanel[hidden] { display: block !important; }
.audience-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.audience-copy h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.audience-copy p { margin-top: 14px; line-height: 1.6; }
.audience-copy .example { padding: 14px 16px; background: var(--canvas); border-radius: var(--radius-sm); }
.audience-copy .links { color: var(--muted); font-size: 14px; }
.audience-figure { margin: 0; }
.audience-figure .shot-frame:has(.shot-phone) { width: min(340px, 100%); }

/* Platform */
.group { margin-top: clamp(40px, 5vw, 64px); }
.group-head { max-width: 760px; padding-bottom: 8px; border-bottom: 2px solid var(--navy); }
.group-head h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 750; }
.group-head p { margin-top: 8px; color: var(--muted); font-size: 16px; }
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 48px) 0; scroll-margin-top: calc(var(--header-h) + 12px); }
.feature + .feature { border-top: 1px solid var(--line); }
.feature.reverse .feature-copy { order: 2; }
.feature-copy > p { margin-top: 12px; line-height: 1.6; }
.feature-avail { margin-top: 10px !important; }
.feature-list { margin-top: 16px; padding-left: 0; list-style: none; display: grid; gap: 10px; }
.feature-list li { position: relative; padding-left: 26px; line-height: 1.5; font-size: 15px; }
.feature-list li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 12px; height: 7px; border-left: 2.5px solid var(--sky); border-bottom: 2.5px solid var(--sky); transform: rotate(-45deg); }
.feature-figure { margin: 0; min-width: 0; }
.feature-figure.has-secondary { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1.2fr); gap: 14px; align-items: start; }
.feature-figure.has-secondary figcaption { grid-column: 1 / -1; }
.feature-figure figcaption { margin-top: 10px; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.roadmap { margin-top: clamp(40px, 5vw, 64px); padding: 26px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.roadmap h3 { font-size: 20px; }
.roadmap p { margin-top: 6px; color: var(--muted); }
.roadmap ul { margin-top: 14px; padding-left: 20px; columns: 2; column-gap: 32px; }
.roadmap li { break-inside: avoid; margin-bottom: 8px; line-height: 1.45; }

/* Workflow */
.steps { list-style: none; margin-top: 30px; display: grid; gap: 18px; counter-reset: step; }
.step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 24px; align-items: center; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.step > .shot-frame { justify-self: end; }
.step-copy { position: relative; padding-left: 52px; }
.step-num { position: absolute; left: 0; top: 0; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: white; font-weight: 750; }
.step h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 19px; }
.step p { margin-top: 8px; line-height: 1.55; font-size: 15px; }
.shot-frame.small { max-height: 260px; }
.shot-frame.small:has(.shot-phone) { width: min(200px, 100%); max-height: none; }

/* Tour */
.tour-panel { margin: 26px 0 0; }
.tour-panel .shot-frame { max-width: 1040px; margin-inline: auto; }
.tour-panel figcaption { margin-top: 12px; text-align: center; color: var(--muted); font-size: 14.5px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; }

/* Getting started, trust, FAQ */
.numbered { margin-top: 26px; padding-left: 0; list-style: none; counter-reset: n; display: grid; gap: 18px; }
.numbered li { position: relative; padding-left: 56px; counter-increment: n; }
.numbered li::before { content: counter(n); position: absolute; left: 0; top: 2px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--sky-tint); color: var(--sky-dark); font-weight: 750; }
.numbered h3 { font-size: 19px; }
.numbered p { margin-top: 6px; line-height: 1.55; }
.trust-grid { margin-top: 26px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.trust-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.trust-card h3 { font-size: 17px; }
.trust-card p { margin-top: 8px; color: var(--ink); font-size: 14.5px; line-height: 1.55; }
.faq { margin-top: 26px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; padding: 18px 44px 18px 0; font-weight: 700; font-size: 17px; position: relative; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 8px; top: 24px; width: 10px; height: 10px; border-right: 2.5px solid var(--sky); border-bottom: 2.5px solid var(--sky); transform: rotate(45deg); transition: transform .15s; }
.faq-item[open] summary::after { transform: rotate(-135deg); top: 30px; }
.faq-answer { padding: 0 0 20px; color: var(--ink); line-height: 1.6; max-width: 72ch; }

/* Contact */
.section-contact { background: linear-gradient(180deg, #071426, #0c4a6e); color: white; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact-copy .lead { margin-top: 16px; color: #cfe3f5; font-size: 18px; line-height: 1.55; }
.contact-email { margin-top: 20px; color: #bae6fd; }
.contact-email a { color: white; font-weight: 700; }
.contact-copy .existing { color: #bae6fd; }
.demo-form { padding: 26px; border-radius: var(--radius); background: white; color: var(--slate); box-shadow: var(--shadow); }
.demo-form h3 { font-size: 20px; }
.form-intro { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.form-summary { margin-top: 12px; padding: 10px 12px; border-radius: 8px; background: #fff1f2; color: #be123c; font-size: 14px; font-weight: 650; }
.field { display: grid; gap: 6px; margin-top: 14px; }
.field label { font-size: 13.5px; font-weight: 650; color: #475569; }
.field .optional { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #cbd5e1; border-radius: 8px; padding: 10px 12px; font: inherit; color: var(--ink); background: white; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--sky); outline: 3px solid var(--sky-tint); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #e11d48; }
.field-error { color: #be123c; font-size: 13px; }
.demo-form .btn { margin-top: 20px; width: 100%; }
.form-success { margin-top: 14px; padding: 12px 14px; border-radius: 8px; background: #ecfdf5; color: #065f46; font-size: 14px; line-height: 1.5; }
.form-success a { color: #065f46; font-weight: 700; }

/* Footer */
.site-footer { background: var(--navy); color: #cbd5e1; padding: 48px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-brand .brand { color: white; }
.footer-brand p { margin: 12px 0 16px; color: #94a3b8; }
.site-footer .btn-secondary { background: transparent; border-color: rgba(255, 255, 255, .25); color: white; }
.site-footer .btn-secondary:hover { border-color: white; color: white; }
.footer-col h3 { color: white; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.footer-col ul { list-style: none; margin-top: 12px; display: grid; gap: 8px; }
.footer-col a { color: #cbd5e1; text-decoration: none; }
.footer-col a:hover { color: white; text-decoration: underline; }
.footer-note { margin-top: 36px; padding-top: 18px; border-top: 1px solid #1e293b; color: #64748b; font-size: 13px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* Responsive */
@media (max-width: 1050px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero .lead { max-width: none; }
  .feature, .feature.reverse { grid-template-columns: 1fr; }
  .feature.reverse .feature-copy { order: 0; }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(15, 23, 42, .12); padding: 8px 16px 14px; display: none; }
  .site-nav ul { flex-direction: column; gap: 2px; }
  .site-nav a { display: block; padding: 12px; font-size: 16px; }
  body.menu-open .site-nav { display: block; }
  .menu-toggle { display: inline-flex; }
  .audience-panel, .contact-grid, .step { grid-template-columns: 1fr; }
  .step .shot-frame.small { max-height: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .roadmap ul { columns: 1; }
}
@media (max-width: 560px) {
  .wrap, .wrap.narrow { width: calc(100% - 32px); }
  .btn-signin { min-height: 38px; padding: 0 14px; font-size: 14px; }
  .brand span { font-size: 15px; }
  .cta-row .btn { width: 100%; }
  .trust-grid, .footer-grid { grid-template-columns: 1fr; }
  .feature-figure.has-secondary { grid-template-columns: 1fr; }
  .feature-figure.has-secondary .secondary { width: min(220px, 100%); }
  .tablist { gap: 6px; }
  .tablist [role=tab] { min-height: 38px; padding: 0 12px; font-size: 13.5px; }
  h2 { font-size: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .menu-toggle, .demo-form, .skip-link { display: none !important; }
  .tabpanel[hidden] { display: block !important; }
}
