:root {
  color-scheme: dark light;
  --bg: #0b0f14;
  --text: #f4efe6;
  --muted: #a9b0ba;
  --line: rgba(244, 239, 230, 0.14);
  --gold-1: #f6cf7a;
  --gold-2: #ee9a62;
  --glow-1: rgba(246, 207, 122, 0.22);
  --glow-2: rgba(238, 154, 98, 0.16);
  --focus: #f6cf7a;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #faf7f2;
    --text: #1a1612;
    --muted: #5d5650;
    --line: rgba(26, 22, 18, 0.14);
    --gold-1: #b4570f;
    --gold-2: #8f2f1a;
    --glow-1: rgba(238, 154, 98, 0.30);
    --glow-2: rgba(246, 207, 122, 0.35);
    --focus: #8f2f1a;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.skip {
  position: absolute;
  left: 16px;
  top: -64px;
  padding: 10px 14px;
  background: var(--text);
  color: var(--bg);
  border-radius: 8px;
  font-weight: 600;
  z-index: 10;
}
.skip:focus { top: 16px; }

a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
  border-radius: 6px;
}

.glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.glow::before,
.glow::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
}
.glow::before {
  width: min(70vw, 720px);
  aspect-ratio: 1;
  right: -12vw;
  top: -14vw;
  background: radial-gradient(circle at 40% 40%, var(--glow-1), transparent 68%);
}
.glow::after {
  width: min(60vw, 620px);
  aspect-ratio: 1;
  left: -14vw;
  bottom: -16vw;
  background: radial-gradient(circle at 60% 60%, var(--glow-2), transparent 68%);
}

@media (prefers-reduced-motion: no-preference) {
  .glow::before { animation: drift-a 22s ease-in-out infinite alternate; }
  .glow::after  { animation: drift-b 28s ease-in-out infinite alternate; }
  @keyframes drift-a { to { transform: translate3d(-4vw, 5vw, 0) scale(1.08); } }
  @keyframes drift-b { to { transform: translate3d(5vw, -4vw, 0) scale(1.1); } }
}

.page {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  min-height: 100svh;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 24px;
}

.top { display: flex; align-items: center; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}
.mark { display: block; }
.word {
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.hero {
  align-self: center;
  padding: 56px 0;
  max-width: 820px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 550;
  color: var(--muted);
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-1);
  box-shadow: 0 0 0 0 var(--glow-1);
}
@media (prefers-reduced-motion: no-preference) {
  .dot { animation: pulse 2.6s ease-out infinite; }
  @keyframes pulse {
    0%   { box-shadow: 0 0 0 0 var(--glow-1); }
    70%  { box-shadow: 0 0 0 10px rgba(0, 0, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); }
  }
}

h1 {
  margin: 0;
  font-size: clamp(2.6rem, 9vw, 5.75rem);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.accent {
  color: var(--gold-1);
  background: linear-gradient(100deg, var(--gold-1), var(--gold-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lede {
  margin: 28px 0 0;
  max-width: 34ch;
  font-size: clamp(1.1rem, 2.6vw, 1.45rem);
  line-height: 1.45;
  color: var(--muted);
  text-wrap: pretty;
}

.foot {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--muted);
}
.foot p { margin: 0; }

@media (max-width: 480px) {
  .page { padding: 20px 20px; }
  .hero { padding: 40px 0; }
}

/* home page (Cockpit) */
.top { justify-content: space-between; }
.topnav a { color: var(--muted); text-decoration: none; font-weight: 550; padding: 8px 4px; }
.topnav a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
a { color: inherit; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 0; }
.btn {
  display: inline-block;
  padding: 12px 22px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}
.btn:hover { border-color: var(--muted); }
.btn.primary { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn.primary:hover { opacity: 0.9; }
.product { margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); max-width: 62ch; }
.product h2 { margin: 0 0 16px; font-size: 1.1rem; letter-spacing: 0.02em; color: var(--muted); font-weight: 600; text-transform: uppercase; }
.facts { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.facts li { line-height: 1.5; color: var(--muted); }
.facts strong { color: var(--text); font-weight: 600; }
.note { margin: 24px 0 0; font-size: 0.9rem; color: var(--muted); }
.note a, .foot a { text-decoration: underline; text-underline-offset: 3px; }
.foot a { margin: 0 2px; }
