:root {
  --bg: #0b0f14;
  --bg-glow: rgba(61, 165, 255, 0.16);
  --panel: #121821;
  --panel-hover: #161e2a;
  --text: #e8eef6;
  --muted: #8b98a9;
  --accent: #3da5ff;
  --border: #243040;
  --warm: rgba(255, 180, 84, 0.10);
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f4f7fb;
    --bg-glow: rgba(9, 105, 218, 0.12);
    --panel: #ffffff;
    --panel-hover: #f8fbff;
    --text: #17202b;
    --muted: #5a6778;
    --accent: #0a69da;
    --border: #d5dde8;
    --warm: rgba(255, 160, 40, 0.10);
    color-scheme: light;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background:
    radial-gradient(900px 520px at 50% -8%, var(--bg-glow), transparent 70%),
    radial-gradient(700px 420px at 100% 100%, var(--warm), transparent 70%),
    var(--bg);
}
.skip { position: absolute; left: -999px; top: 8px; background: var(--panel); color: var(--text);
        padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* ---- hero ---- */
.hero { text-align: center; padding: clamp(40px, 9vh, 96px) 20px 8px; max-width: 760px; margin: 0 auto; }
.heli { width: clamp(250px, 58vw, 400px); height: auto; display: block; margin: 0 auto 14px; overflow: visible; }
@keyframes bob { 0%, 100% { transform: translateY(-3px) rotate(-.5deg); } 50% { transform: translateY(4px) rotate(.7deg); } }
@keyframes shadow { 0%, 100% { transform: scale(1.04); opacity: .16; } 50% { transform: scale(.9); opacity: .10; } }
@keyframes sweep { from { transform: scaleX(1); } to { transform: scaleX(-1); } }
.heli .bob { animation: bob 3.2s ease-in-out infinite; transform-origin: 130px 90px; }
.heli .shadow { fill: var(--text); transform-origin: 108px 154px; animation: shadow 3.2s ease-in-out infinite; }
.heli .blade { transform-origin: 108px 30px; animation: sweep .62s ease-in-out infinite alternate; }
.heli .blade.two { animation-delay: -.31s; opacity: .55; }
.heli .tail { transform-origin: 243px 50px; animation: spin .5s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.heli .line { stroke: var(--accent); fill: none; stroke-linecap: round; stroke-linejoin: round; }
.heli .tube { stroke: var(--accent); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.heli .tube.thin { stroke-width: 1.5; opacity: .85; }
.heli .body { fill: var(--panel); stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; }
.heli .glass { fill: color-mix(in srgb, var(--accent) 22%, transparent); }
.heli .disc { fill: color-mix(in srgb, var(--accent) 12%, transparent); }
.heli .metal { fill: var(--muted); }
@media (prefers-reduced-motion: reduce) { .heli * { animation: none !important; } }
.eyebrow { margin: 0; color: var(--muted); letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.78rem; }
h1 { margin: 6px 0 14px; font-size: clamp(2.3rem, 7vw, 3.6rem); line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; }
h1 span { color: var(--accent); }
.lead { margin: 0 auto; max-width: 56ch; color: var(--muted); font-size: 1.05rem; }

/* ---- tiles ---- */
main { width: 100%; max-width: 920px; margin: 0 auto; padding: 36px 20px 24px; flex: 1; }
.section-title { margin: 0 0 14px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.14em;
                 text-transform: uppercase; color: var(--muted); }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.tile {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px; border-radius: 16px; text-decoration: none; color: inherit;
  background: var(--panel); border: 1px solid var(--border);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
a.tile:hover, a.tile:focus-visible {
  transform: translateY(-3px); border-color: var(--accent); background: var(--panel-hover);
  box-shadow: 0 10px 30px -12px var(--bg-glow);
}
a.tile:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.tile-icon { flex: 0 0 52px; height: 52px; display: grid; place-items: center; color: var(--accent);
             background: var(--bg); border: 1px solid var(--border); border-radius: 14px; }
.tile-icon svg { width: 30px; height: 30px; }
.tile-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.tile-title { font-size: 1.2rem; font-weight: 650; }
.tile-text { color: var(--muted); font-size: 0.97rem; }
.tile-meta { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 0.82rem; color: var(--muted); }
.tile-meta svg { width: 14px; height: 14px; }
.tile-arrow { align-self: center; font-size: 1.5rem; color: var(--accent); transition: transform .18s ease; }
a.tile:hover .tile-arrow, a.tile:focus-visible .tile-arrow { transform: translateX(4px); }
.tile.soon { opacity: 0.6; border-style: dashed; background: transparent; }
.tile.soon .tile-icon { color: var(--muted); }

footer { text-align: center; padding: 28px 20px 36px; color: var(--muted); font-size: 0.85rem; }
footer p { margin: 0; }
