:root {
  color-scheme: dark;
  --ink: #071739;
  --night: #071739;
  --night-2: #0d2755;
  --cream: #fff4d2;
  --coral: #ff6b5d;
  --mint: #64e7c5;
  --blue: #67b8ff;
  --muted: #afbfdb;
  --line: rgba(255, 244, 210, 0.16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 107, 93, 0.18), transparent 30rem),
    radial-gradient(circle at 90% 20%, rgba(100, 231, 197, 0.14), transparent 28rem),
    linear-gradient(155deg, var(--night), #040c21 70%);
  color: var(--cream);
  font: 16px/1.65 ui-rounded, "SF Pro Rounded", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; }

.shell { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }

header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 23, 57, 0.82);
  backdrop-filter: blur(18px);
}

nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand img { width: 42px; height: 42px; border-radius: 12px; }
.links { display: flex; gap: 22px; }
.links a { color: var(--muted); font-weight: 700; text-decoration: none; }
.links a:hover, .links a:focus-visible { color: var(--cream); }

main { padding: 74px 0 88px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 52px;
  align-items: center;
  min-height: 520px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--mint);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -0.04em; }
h1 { max-width: 780px; font-size: clamp(3rem, 8vw, 6.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.02em; }

.lede { max-width: 680px; margin: 24px 0 0; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.28rem); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(255, 107, 93, 0.22);
}
.button.secondary { border: 1px solid var(--line); background: rgba(255,255,255,0.04); box-shadow: none; }

.crew {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 44px;
  overflow: hidden;
  background: radial-gradient(circle, rgba(103,184,255,.18), transparent 60%);
}
.crew::before { content: ""; position: absolute; width: 55%; height: 3px; background: linear-gradient(90deg, var(--coral), var(--mint)); transform: rotate(-18deg); opacity: .8; }
.pilot { position: absolute; width: min(38%, 170px); filter: drop-shadow(0 24px 28px rgba(0,0,0,.35)); }
.pilot.coral { left: 10%; bottom: 14%; transform: rotate(-7deg); }
.pilot.mint { right: 10%; top: 13%; transform: rotate(8deg); }
.beacon { width: 90px; opacity: .9; filter: drop-shadow(0 0 28px rgba(103,184,255,.5)); }

.section { padding-top: 86px; }
.section-intro { max-width: 700px; margin: 18px 0 34px; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { padding: 26px; border: 1px solid var(--line); border-radius: 26px; background: rgba(255,255,255,.045); }
.card .number { display: block; margin-bottom: 28px; color: var(--mint); font-size: 2rem; font-weight: 950; }
.card p { margin: 10px 0 0; color: var(--muted); }

.doc { width: min(820px, 100%); }
.doc h1 { font-size: clamp(2.8rem, 7vw, 5.4rem); }
.doc h2 { margin-top: 52px; font-size: 1.55rem; letter-spacing: -0.025em; }
.doc p, .doc li { color: var(--muted); }
.doc strong { color: var(--cream); }
.notice { margin: 32px 0; padding: 22px 24px; border-left: 4px solid var(--mint); border-radius: 8px 20px 20px 8px; background: rgba(100,231,197,.08); }
.lang-block { padding-top: 40px; border-top: 1px solid var(--line); margin-top: 48px; }

footer { border-top: 1px solid var(--line); color: var(--muted); }
footer .shell { min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
footer a { color: var(--cream); }

@media (max-width: 760px) {
  .shell { width: min(100% - 28px, 1080px); }
  .links { gap: 14px; font-size: .92rem; }
  .hero { grid-template-columns: 1fr; gap: 28px; min-height: auto; }
  .crew { min-height: 320px; }
  .grid { grid-template-columns: 1fr; }
  main { padding-top: 52px; }
  footer .shell { align-items: flex-start; flex-direction: column; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
