
:root {
  --bg: #0f1b22;
  --panel: rgba(255, 255, 255, 0.92);
  --panel-soft: rgba(255, 255, 255, 0.72);
  --text: #172025;
  --muted: #5e6a70;
  --line: rgba(255, 255, 255, 0.22);
  --accent: #1f5b75;
  --accent-2: #b8793d;
  --glow: rgba(58, 154, 196, 0.24);
  --max: 1040px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 10%, var(--glow), transparent 24rem),
    radial-gradient(circle at 88% 86%, rgba(184, 121, 61, 0.18), transparent 28rem),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,0.028) 1px, transparent 1px),
    var(--bg);
  background-size: auto, auto, 44px 44px, 44px 44px, auto;
}

body.aviation { --bg: #f6f4ef; --text: #1f2528; --panel: rgba(255,255,255,.9); --panel-soft: rgba(255,255,255,.65); --accent: #174f68; --accent-2: #008e72; --glow: rgba(23, 79, 104, .14); }
body.survares { --bg: #0a0e0d; --text: #eaf3ea; --panel: rgba(10, 14, 13, .72); --panel-soft: rgba(255,255,255,.08); --muted: rgba(234,243,234,.72); --accent: #39ff14; --accent-2: #8dff73; --glow: rgba(57, 255, 20, .20); }
body.fleet { --bg: #071530; --text: #f4f8ff; --panel: rgba(7, 21, 48, .70); --panel-soft: rgba(255,255,255,.08); --muted: rgba(244,248,255,.72); --accent: #119df0; --accent-2: #84cc16; --glow: rgba(17,157,240,.24); }
body.costchain { --bg: #162019; --text: #f5f0e7; --panel: rgba(22, 32, 25, .76); --panel-soft: rgba(255,255,255,.08); --muted: rgba(245,240,231,.72); --accent: #d0a15a; --accent-2: #75b984; --glow: rgba(208,161,90,.20); }
body.reason { --bg: #071014; --text: #f7edd6; --panel: rgba(7, 16, 20, .74); --panel-soft: rgba(255,255,255,.08); --muted: rgba(247,237,214,.72); --accent: #d7a84a; --accent-2: #22b8aa; --glow: rgba(215,168,74,.24); }

.page {
  width: min(var(--max), calc(100% - 28px));
  padding: 42px 0;
}

.card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 28px;
  padding: clamp(24px, 6vw, 58px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    radial-gradient(circle at 88% 0%, rgba(255,255,255,.14), transparent 16rem),
    var(--panel);
  box-shadow: 0 34px 90px rgba(0,0,0,.24);
  backdrop-filter: blur(14px);
}

.card::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), transparent);
  opacity: .86;
}

.hero-media {
  display: grid;
  place-items: center;
  min-height: 180px;
}

.logo-img {
  width: min(100%, 420px);
  max-height: 320px;
  object-fit: contain;
  filter: drop-shadow(0 18px 34px rgba(0,0,0,.18));
}

.logo-text {
  display: grid;
  place-items: center;
  width: min(100%, 420px);
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(135deg, var(--panel-soft), transparent);
}

.logo-text strong {
  font-size: clamp(2.4rem, 12vw, 5rem);
  letter-spacing: -.08em;
}

.kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 14vw, 6.4rem);
  line-height: .95;
  letter-spacing: -.08em;
}

.tagline {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1.18rem, 4vw, 1.55rem);
  line-height: 1.45;
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-soft);
  color: inherit;
  font-size: .84rem;
  font-weight: 850;
}

.pill.primary {
  border-radius: 8px 18px 8px 18px;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 70%, black));
  color: white;
}

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

a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-weight: 900;
  text-decoration: none;
}

a.button.secondary {
  border: 1px solid var(--line);
  background: var(--panel-soft);
  color: inherit;
}

.footer {
  margin-top: 30px;
  color: var(--muted);
  font-size: .92rem;
}
.footer a { color: inherit; font-weight: 800; }

@media (min-width: 820px) {
  .card { grid-template-columns: .95fr 1.05fr; align-items: center; }
  .hero-media { order: 2; }
}
