@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Open+Sans:wght@400;600;700&display=swap");

:root {
  /* Entwine logo palette */
  --ink: #0A1829;
  --ink-soft: #1c2d42;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #f7f8fa;
  --surface: #ffffff;
  --brand: #0A1829;
  --brand-deep: #050d16;
  --accent: #C84646;
  --accent-green: #4A8C60;
  --accent-gold: #E5B54F;
  --logo-gray: #A6A6A6;
  --ok: #4A8C60;
  --warn: #a35b00;
  --bad: #C84646;
  --hero-a: #0A1829;
  --hero-b: #142536;
  --shadow: 0 18px 50px rgba(10, 24, 41, 0.12);
  --radius: 14px;
  --font: "Poppins", "Open Sans", sans-serif;
  --display: "Poppins", "Open Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 15px/1.55 var(--font);
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; }
img { max-width: 100%; display: block; }

/* ---------- marketing shell ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 5vw;
  background: rgba(247, 248, 250, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand-lockup {
  display: flex; align-items: center; gap: 10px;
  min-width: 0; flex: 0 1 auto;
  font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--ink);
  text-decoration: none;
}
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center; color: #fff; font-weight: 800;
  background: linear-gradient(145deg, var(--accent), var(--brand-deep));
  box-shadow: 0 8px 20px rgba(10, 24, 41, 0.18);
}
.brand-lockup small { display: block; font-family: var(--font); font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }

.brand-logo {
  height: 34px; width: auto; max-width: min(52vw, 200px);
  background: transparent !important;
  mix-blend-mode: normal;
}
.brand-logo-full { display: block; }
.brand-logo-mark { display: none; height: 34px; width: 34px; }
.brand-logo-wrap {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,0.96);
  padding: 8px 12px; border-radius: 12px;
}
.brand-lockup--on-dark { color: #fff; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px; padding: 0;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0;
}
.nav-toggle-bars {
  display: block; width: 18px; height: 2px; background: var(--brand); position: relative;
}
.nav-toggle-bars::before, .nav-toggle-bars::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--brand);
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.site-nav.is-open .nav-toggle-bars { background: transparent; }
.site-nav.is-open .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.site-nav.is-open .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

.nav-actions {
  display: flex; gap: 8px; align-items: center; flex-wrap: nowrap;
  justify-content: flex-end;
}
.nav-link { color: var(--ink-soft); font-weight: 600; padding: 8px 10px; text-decoration: none; white-space: nowrap; }
.nav-link:hover { color: var(--brand); text-decoration: none; }

button, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
  padding: 10px 14px; font-weight: 700; cursor: pointer; text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
button:hover, .btn:hover { transform: translateY(-1px); text-decoration: none; }
button:disabled, .btn:disabled { opacity: .55; cursor: default; transform: none; }
button.primary, .btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 10px 24px rgba(10,24,41,.22); }
button.primary:hover, .btn-primary:hover { background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; }
.btn-secondary { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost { background: transparent; color: #dff5fb; border-color: rgba(255,255,255,.28); }
.btn-danger { background: #fff; border-color: #f0c2bd; color: var(--bad); }

/* Landing hero — one composition */
.hero {
  position: relative; min-height: 100vh; min-height: 100dvh;
  display: grid; align-items: end;
  padding: 0 7vw 8vh;
  color: #eef7fb;
  overflow: hidden;
  background:
    radial-gradient(1000px 520px at 85% 12%, rgba(200, 70, 70, 0.22), transparent 55%),
    radial-gradient(900px 500px at 8% 78%, rgba(74, 140, 96, 0.18), transparent 50%),
    radial-gradient(700px 420px at 55% 40%, rgba(229, 181, 79, 0.12), transparent 55%),
    linear-gradient(155deg, var(--hero-a), var(--hero-b) 58%, #1c3348);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 85%);
  pointer-events: none;
  animation: gridDrift 28s linear infinite;
}
.hero::after {
  content: ""; position: absolute; right: -8%; top: 8%; width: 58vw; max-width: 760px; height: 58vw; max-height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(255,255,255,.12), transparent 62%);
  border: 1px solid rgba(255,255,255,.08);
  animation: floatOrb 9s ease-in-out infinite;
  pointer-events: none;
}
.hero-copy { position: relative; z-index: 1; max-width: 760px; padding-top: 18vh; }
.hero-brand {
  font-family: var(--display); font-weight: 600; font-size: clamp(2.6rem, 6.5vw, 4.8rem);
  line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 18px;
  animation: rise .8s ease both;
}
.hero-brand span { display: block; color: var(--accent-gold); font-size: .38em; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
.hero p {
  max-width: 34rem; margin: 0 0 28px; color: rgba(236,247,251,.82); font-size: 1.05rem;
  animation: rise .8s ease .12s both;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; animation: rise .8s ease .2s both; }
.trust-chips {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px;
  animation: rise .8s ease .28s both;
}
.trust-chips span {
  font-size: 12px; font-weight: 600; letter-spacing: .02em;
  padding: 6px 10px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  color: rgba(236,247,251,.88);
}

.section { padding: 84px 7vw; }
.section-alt { background: #eef2f6; }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head h2 {
  font-family: var(--display); font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 600;
  line-height: 1.15; margin: 0 0 12px; letter-spacing: -0.02em;
}
.section-head p { margin: 0; color: var(--muted); font-size: 1.05rem; }

.module-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
}
.module {
  padding: 28px 26px; border-radius: 18px;
  background: linear-gradient(180deg, #fff, #f7fafc);
  border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease;
  animation: rise .7s ease both;
}
.module:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.module h3 {
  margin: 0 0 8px; font-family: var(--display); font-size: 1.15rem; letter-spacing: 0.04em; text-transform: uppercase;
}
.module p { margin: 0; color: var(--muted); }
.module .mod-index { color: var(--accent); font-weight: 800; font-size: 12px; letter-spacing: .12em; margin-bottom: 14px; }
.mod-list {
  margin: 14px 0 0; padding: 0 0 0 18px; color: var(--ink-soft); font-size: 13px;
}
.mod-list li { margin: 4px 0; }

.steps {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
}
.step {
  padding: 20px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line);
}
.step b { display: block; font-family: var(--display); margin-bottom: 8px; }
.step span { color: var(--muted); font-size: 14px; }

.value-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px;
}
.value {
  padding: 22px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line);
}
.value h3 { margin: 0 0 8px; font-family: var(--display); font-size: 1.05rem; }
.value p { margin: 0; color: var(--muted); font-size: 14px; }

.contact-band {
  display: flex; justify-content: space-between; gap: 24px; align-items: center; flex-wrap: wrap;
  padding: 28px; border-radius: 18px; background: #fff; border: 1px solid var(--line);
}
.contact-band h2 { margin: 0 0 8px; font-family: var(--display); font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.contact-band p { margin: 0; color: var(--muted); }

.page-hero {
  padding: 72px 7vw 40px;
  background: linear-gradient(160deg, var(--hero-a), var(--hero-b));
  color: #eef7fb;
}
.page-hero-inner { max-width: 760px; }
.eyebrow {
  display: inline-block; margin: 0 0 12px; font-size: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--accent-gold);
}
.page-hero h1 {
  margin: 0 0 14px; font-family: var(--display); font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: -0.02em;
}
.page-hero .lede { margin: 0; max-width: 40rem; color: rgba(236,247,251,.82); font-size: 1.05rem; }
.prose { max-width: 720px; }
.prose h2 { font-family: var(--display); margin: 0 0 14px; }
.prose p { color: var(--muted); font-size: 1.05rem; line-height: 1.65; }

.contact-layout {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; align-items: start;
}
.contact-form h2, .contact-aside h2 { margin: 0 0 16px; font-family: var(--display); font-size: 1.25rem; }
.contact-aside p { color: var(--muted); margin: 0 0 16px; }
.form-ok { color: var(--ok); font-size: 14px; font-weight: 600; margin: 4px 0 0; }
.pw-meter { display: grid; gap: 6px; margin-top: 6px; }
.pw-bar { height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.pw-bar > span { display: block; height: 100%; width: 0; background: var(--bad); transition: width .2s ease, background .2s ease; }
.pw-bar.fair > span { width: 40%; background: var(--warn); }
.pw-bar.good > span { width: 70%; background: #c4a000; }
.pw-bar.strong > span { width: 100%; background: var(--ok); }
.pw-hint { font-size: 12px; color: var(--muted); }

.strip {
  background: var(--ink); color: #e8f4f8; padding: 56px 7vw;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center;
}
.strip h2 { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 10px; }
.strip p { margin: 0; color: rgba(232,244,248,.75); }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat {
  padding: 18px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
}
.stat b { display: block; font-family: var(--display); font-size: 1.5rem; margin-bottom: 4px; }
.stat span { color: rgba(232,244,248,.68); font-size: 13px; }

.site-footer {
  padding: 28px 7vw 40px; color: var(--muted); border-top: 1px solid var(--line); background: #fff;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px;
}
.site-footer a { color: var(--muted); }
.site-footer-rich {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; padding-top: 40px;
}
.footer-brand p { margin: 10px 0 0; max-width: 28ch; }
.footer-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.footer-cols h4 {
  margin: 0 0 10px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
}
.footer-cols a { display: block; margin: 6px 0; text-decoration: none; }
.footer-cols a:hover { color: var(--brand); }
.footer-meta {
  grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding-top: 18px; border-top: 1px solid var(--line);
}

/* ---------- auth ---------- */
.auth-page {
  min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr;
  background: var(--bg);
}
.auth-visual {
  position: relative; padding: 48px; color: #eef7fb; overflow: hidden;
  background: linear-gradient(160deg, var(--hero-a), #142536 55%, #1c3348);
  display: flex; flex-direction: column; justify-content: space-between;
}
.auth-visual::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(255,255,255,.12), transparent 35%),
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  opacity: .7;
}
.auth-visual > * { position: relative; z-index: 1; }
.auth-visual h1 { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; margin: 24px 0 12px; max-width: 14ch; }
.auth-visual p { max-width: 34ch; color: rgba(238,247,251,.78); }
.auth-panel { display: grid; place-items: center; padding: 40px 24px; }
.auth-card { width: min(420px, 100%); }
.auth-card h2 { font-family: var(--display); font-weight: 600; font-size: 1.8rem; margin: 0 0 8px; }
.auth-card .lede { color: var(--muted); margin: 0 0 24px; }
.form-stack { display: grid; gap: 14px; }
.form-stack label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 600; }
.form-stack input, .form-stack select, .form-stack textarea,
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink);
}
.form-stack input:focus, .field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid rgba(10, 24, 41, 0.2); border-color: var(--brand);
}
.form-error { color: var(--bad); font-size: 13px; min-height: 1.2em; margin: 4px 0 0; }
.auth-alt { margin-top: 18px; color: var(--muted); font-size: 14px; }

/* ---------- app shell ---------- */
.app-shell { min-height: 100vh; display: grid; grid-template-rows: auto auto 1fr; }
.app-top {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 12px 24px; background: #fff; border-bottom: 1px solid var(--line);
}
.app-top .brand-lockup { font-size: 1rem; }
.app-nav { display: flex; gap: 4px; flex: 1; flex-wrap: wrap; }
.tab {
  border: 0; background: transparent; padding: 10px 14px; border-radius: 10px;
  cursor: pointer; color: var(--muted); font-weight: 600;
}
.tab.active { background: #eef1f4; color: var(--brand-deep); }
.user-chip {
  display: flex; align-items: center; gap: 10px; padding: 6px 10px 6px 6px;
  border: 1px solid var(--line); border-radius: 999px; background: #f8fafc;
}
.user-avatar {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--accent), var(--brand-deep)); color: #fff; font-size: 12px; font-weight: 800;
}
.user-meta { line-height: 1.15; }
.user-meta b { display: block; font-size: 12px; }
.user-meta span { font-size: 11px; color: var(--muted); }
.pill { padding: 5px 10px; border-radius: 999px; background: #eef1f6; color: var(--muted); font-size: 12px; font-weight: 700; }
.pill.ok { background: #e3f5ee; color: var(--ok); }
.pill.bad { background: #fde8e6; color: var(--bad); }
.pill.warn { background: #fff4df; color: var(--warn); }

.notice {
  margin: 0; padding: 12px 24px; background: #fff8eb; color: var(--warn);
  border-bottom: 1px solid #f0d7a4; font-weight: 600;
}
.notice.error { background: #fdecea; color: var(--bad); border-color: #f0c2bd; }

main.workspace { max-width: 1180px; width: 100%; margin: 0 auto; padding: 22px 24px 72px; }

.provider-banner {
  border-radius: var(--radius); padding: 18px 20px; margin-bottom: 18px;
  border: 1px solid var(--line); background: #fff; animation: rise .5s ease both;
}
.provider-banner.warn { border-color: #f0d7a4; background: linear-gradient(180deg, #fff9ef, #fff); }
.provider-banner.live { border-color: #bfe8d8; background: linear-gradient(180deg, #f2fbf7, #fff); }
.provider-banner.demo { border-color: #cfe4f5; background: linear-gradient(180deg, #f3f9fd, #fff); }
.provider-banner-title {
  font-family: var(--display); font-size: 1.05rem; margin-bottom: 6px;
}
.provider-banner p { margin: 0 0 10px; color: var(--ink-soft); }
.provider-facts { margin: 0; padding-left: 18px; color: var(--ink-soft); }
.provider-facts li { margin: 4px 0; }
.provider-tip { margin: 12px 0 0 !important; color: var(--brand-deep) !important; font-weight: 700; font-size: 13px; }

.panel, .card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; margin-bottom: 16px;
}
.panel-head, .row { display: flex; align-items: center; gap: 12px; }
.between { justify-content: space-between; }
.panel-head h2, .card h2, .home-hero h1 {
  margin: 0; font-family: var(--display); font-size: 1.25rem; letter-spacing: -0.02em;
}
.sub { color: var(--muted); font-size: 12px; }
.hint { color: var(--muted); font-size: 12px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 12px; }
.field, label { display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: 12px; font-weight: 600; }
.field input, .field select, label input, label select, label textarea {
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: #fff; font-weight: 500;
}

.airport-combo { position: relative; width: 100%; display: block; }
.airport-combo input[type="text"] {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px;
  color: var(--ink); background: #fff; font-weight: 500;
}
.airport-combo.has-value input[type="text"] { border-color: #9fd3e0; background: #f7fcfd; }
.airport-combo input[type="text"]:focus { outline: 2px solid rgba(26,166,195,.35); border-color: var(--accent); }
.airport-menu {
  position: fixed; z-index: 1000;
  max-height: min(280px, 45vh); overflow-x: hidden; overflow-y: auto; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 4px;
  box-sizing: border-box;
}
.airport-option {
  width: 100%; box-sizing: border-box;
  display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: center; column-gap: 10px;
  text-align: left; justify-content: stretch;
  border: 0 !important; background: transparent; border-radius: 8px;
  padding: 10px 12px !important; margin: 0; font-weight: 500;
  transform: none !important; box-shadow: none !important;
}
.airport-option:hover, .airport-option.active { background: #eef8fb; transform: none !important; }
.airport-code {
  font-weight: 700; color: var(--brand-deep); font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em; font-size: 13px;
}
.airport-meta {
  color: var(--ink-soft); font-size: 13px; font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0;
}
.airport-empty { padding: 12px; color: var(--muted); font-size: 13px; }

.home-hero {
  padding: 28px; border-radius: 20px; margin-bottom: 18px; color: #eef7fb;
  background:
    radial-gradient(500px 220px at 90% 0%, rgba(26,166,195,.35), transparent 60%),
    linear-gradient(135deg, #0a2430, #0f4d5d);
  animation: rise .55s ease both;
}
.home-hero p { margin: 10px 0 0; max-width: 52ch; color: rgba(238,247,251,.78); }
.home-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin-bottom: 18px; }
.home-tile {
  display: block; padding: 22px; border-radius: 16px; background: #fff; border: 1px solid var(--line);
  color: inherit; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease;
  animation: rise .55s ease both;
}
.home-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); text-decoration: none; }
.home-tile .kicker { color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.home-tile h3 { margin: 10px 0 6px; font-family: var(--display); font-size: 1.15rem; }
.home-tile p { margin: 0; color: var(--muted); font-size: 14px; }
.metric-row { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin-bottom: 16px; }
.metric {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px;
}
.metric b { display: block; font-family: var(--display); font-size: 1.4rem; }
.metric span { color: var(--muted); font-size: 12px; }

.flight {
  display: grid; grid-template-columns: 1.4fr 1.5fr 1.5fr; gap: 16px; align-items: center;
  padding: 16px 0; border-top: 1px solid var(--line);
}
.flight:first-of-type { border-top: 0; }
.airline { font-weight: 800; font-family: var(--display); }
.route { display: flex; align-items: center; gap: 12px; }
.route b { font-size: 16px; }
.arrow { color: var(--muted); }
.rates { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.rate { display: flex; gap: 10px; align-items: center; }
.price { font-weight: 800; font-size: 15px; }
.tag { padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; background: #eef1f6; color: var(--muted); }
.tag.test { background: #dff5ef; color: var(--ok); }
.tag.locked { background: #fff4df; color: var(--warn); }
.tag.open { background: #e7f6fa; color: var(--brand-deep); }
.tag.quoted { background: #fff4df; color: var(--warn); }
.tag.accepted { background: #e3f5ee; color: var(--ok); }
.tag.declined { background: #fde8e6; color: var(--bad); }
.status { padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.status.confirmed { background: #e3f5ee; color: var(--ok); }
.status.pending { background: #fff4df; color: var(--warn); }
.status.cancelled, .status.rejected { background: #fde8e6; color: var(--bad); }

table { width: 100%; border-collapse: collapse; }
th { text-align: left; color: var(--muted); font-weight: 600; font-size: 12px; }
th, td { padding: 12px 8px; border-top: 1px solid var(--line); vertical-align: middle; }
thead th { border-top: 0; }
tr.click { cursor: pointer; }
tr.click:hover { background: #f4fafc; }
tr.sel { background: #eaf6fa; }
.chosen { background: #f2fafc; border: 1px solid #cfe8f0; border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; }
.empty { color: var(--muted); padding: 18px 0; }
.trio { display: flex; gap: 6px; }
.trio input { width: 100%; min-width: 0; }
.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 10px 0 14px; }
.kv div b { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.quote { background: #f2fafc; border: 1px solid #cfe8f0; border-radius: 12px; padding: 14px; margin: 10px 0; }
.quote .big { font-size: 22px; font-weight: 800; font-family: var(--display); }
.opt { padding: 12px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
.tiles .kv { margin-bottom: 0; }
.tiles .kv div { font-size: 18px; font-weight: 800; }
.tiles .kv div b { font-weight: 600; }
.tiles .sub { font-weight: 500; }
.timeline { list-style: none; margin: 8px 0 0; padding: 0 0 0 18px; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 12px 14px; }
.timeline li::before {
  content: ""; position: absolute; left: -25px; top: 4px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--ok); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--ok);
}
.timeline li.planned::before { background: #fff; box-shadow: 0 0 0 1px #9aa8bf; }
.timeline li.planned { color: var(--muted); }
.delay { margin: 8px 0; padding: 10px 12px; border-radius: 10px; background: #fff4df; color: var(--warn); font-weight: 600; }
.badge { background: var(--bad); color: #fff; border-radius: 10px; padding: 0 6px; font-size: 11px; margin-left: 4px; }
.alert-card { border-left: 4px solid #e08a00; margin: 8px 0; padding: 12px 14px; background: #fff8ec; border-radius: 8px; }
.alert-card.resolved, .alert-card.dismissed { border-left-color: #9aa; background: #f5f6f7; }

.results-toolbar {
  display: flex; justify-content: space-between; gap: 12px; align-items: end; flex-wrap: wrap; margin-bottom: 8px;
}
.legend { display: flex; gap: 8px; flex-wrap: wrap; }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes floatOrb {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(18px); }
}
@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 0 0, 64px 64px; }
}

@media (max-width: 900px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-visual { min-height: 240px; }
  .module-grid, .home-grid, .steps, .contact-layout, .site-footer-rich { grid-template-columns: 1fr; }
  .metric-row, .stat-row, .strip { grid-template-columns: 1fr; }
  .flight { grid-template-columns: 1fr; }
  .rates { align-items: flex-start; }
  .hero-copy { padding-top: 12vh; }

  .site-nav {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 8px;
    padding: 10px 4vw;
  }
  .brand-logo-full { display: none; }
  .brand-logo-mark { display: block; }
  .nav-toggle { display: inline-flex; }
  .nav-actions {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 6px;
    padding: 8px 0 4px;
  }
  .site-nav.is-open .nav-actions { display: flex; }
  .nav-actions .nav-link,
  .nav-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .nav-actions .btn { padding: 12px 14px; }
}
