:root {
  --bg-top: #081726;
  --bg-mid: #0c2742;
  --bg-low: #12385c;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.14);
  --text: #eff7ff;
  --muted: #b5cae1;
  --accent: #69b4ff;
  --accent-soft: #8fd4ff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(105, 180, 255, 0.18), transparent 22%),
    radial-gradient(circle at 20% 30%, rgba(143, 212, 255, 0.14), transparent 18%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 42%, var(--bg-low) 100%);
  min-height: 100vh;
}

a {
  color: inherit;
}

.shell {
  max-width: 1300px;
  margin: 0 auto;
  padding: 22px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.logo {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(145deg, #59a6f4, #bbe4ff);
  position: relative;
  box-shadow: 0 18px 35px rgba(39, 119, 191, 0.24);
}

.logo::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 18px;
  width: 28px;
  height: 10px;
  border-top: 3px solid #0d2d49;
  border-right: 3px solid #0d2d49;
  transform: skewX(-28deg) rotate(9deg);
}

.brand strong {
  display: block;
  font-size: 23px;
}

.brand span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 13px;
}

.search-strip {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr auto;
  gap: 12px;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
}

.search-strip input,
.search-strip select {
  width: 100%;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 14px;
  outline: none;
}

.search-strip input::placeholder {
  color: #b8cee4;
}

.search-strip button {
  padding: 13px 18px;
  border-radius: 14px;
  border: 0;
  background: linear-gradient(145deg, #59a6f4, #8fd4ff);
  color: #08233c;
  font-weight: 700;
  cursor: pointer;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
  margin-bottom: 22px;
}

.hero-copy,
.departures-board,
.board,
.panel {
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(16px);
}

.hero-copy {
  padding: 34px;
  min-height: 480px;
  position: relative;
  overflow: hidden;
}

.hero-copy::after {
  content: "";
  position: absolute;
  right: -40px;
  top: 20px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(105, 180, 255, 0.12);
  filter: blur(10px);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent-soft);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
}

.hero-copy h1 {
  margin: 0;
  font-size: 64px;
  line-height: 0.95;
  max-width: 640px;
}

.hero-copy p {
  margin: 18px 0 0;
  max-width: 560px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 18px;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.actions a {
  padding: 12px 16px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.actions .primary {
  background: linear-gradient(145deg, #59a6f4, #8fd4ff);
  color: #08233c;
}

.actions .ghost {
  border: 1px solid var(--line);
  color: var(--text);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.stat {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}

.stat strong {
  display: block;
  font-size: 28px;
}

.stat span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
}

.departures-board,
.board {
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04)),
    rgba(8, 28, 46, 0.65);
}

.departures-board h2,
.board h2 {
  margin: 0 0 16px;
  font-size: 24px;
}

.board-list {
  display: grid;
  gap: 12px;
}

.board-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.05);
}

.board-item strong {
  display: block;
  font-size: 16px;
}

.board-item span {
  color: var(--muted);
  font-size: 13px;
}

.board-item .status {
  color: var(--accent-soft);
  font-weight: 700;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.panel {
  padding: 24px;
  box-shadow: 0 18px 34px rgba(7, 24, 38, 0.15);
}

.panel h2,
.panel h3,
.panel h4 {
  margin: 0 0 10px;
}

.panel h3 {
  font-size: 26px;
}

.panel p,
.panel li,
.panel td,
.panel th {
  color: var(--muted);
  line-height: 1.75;
}

.panel ul {
  margin: 0;
  padding-left: 18px;
}

.wide-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  margin-bottom: 20px;
}

.table,
.meta-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  font-size: 14px;
}

.table th,
.table td,
.meta-table th,
.meta-table td {
  padding: 12px 10px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  vertical-align: top;
}

.table th,
.meta-table th {
  color: #d8ebff;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.table td,
.meta-table td {
  color: var(--muted);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.chip,
.chip-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.09);
  color: var(--text);
  font-size: 13px;
  text-decoration: none;
}

.chip strong {
  color: var(--accent-soft);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.full-list {
  columns: 3;
  column-gap: 24px;
  margin: 0;
  padding-left: 22px;
}

.full-list li {
  break-inside: avoid;
  margin-bottom: 10px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.feature-tile {
  padding: 20px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 34px rgba(7, 24, 38, 0.12);
}

.feature-tile strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.feature-tile p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

.newsletter {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  margin-top: 14px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}

.newsletter-copy h4 {
  margin: 0 0 6px;
  font-size: 20px;
}

.newsletter-copy p {
  margin: 0;
  color: var(--muted);
}

.newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.newsletter-form input {
  min-width: 220px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.08);
  color: var(--text);
}

.newsletter-form input::placeholder {
  color: #b8cee4;
}

.newsletter-form button {
  padding: 12px 16px;
  border-radius: 12px;
  border: 0;
  background: linear-gradient(145deg, #59a6f4, #8fd4ff);
  color: #08233c;
  font-weight: 700;
  cursor: pointer;
}

.footer,
.footer-bar {
  margin-top: 22px;
  padding: 22px 24px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.footer h4,
.footer-bar h4 {
  margin: 0 0 10px;
  font-size: 18px;
}

.footer p,
.footer li,
.footer-bar p,
.footer-bar li {
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

.footer ul,
.footer-bar ul {
  margin: 0;
  padding-left: 18px;
}

@media (max-width: 1040px) {
  .hero,
  .grid,
  .wide-grid,
  .sub-grid,
  .feature-grid,
  .footer,
  .footer-bar,
  .search-strip,
  .newsletter {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .hero-copy h1 {
    font-size: 42px;
  }

  .stats {
    grid-template-columns: 1fr;
  }
}
