/* ORBIT website styles (page around the player) */
:root {
  --bg: #101211;
  --bg-2: #161a18;
  --lime: #C6FF5E;
  --ink: #F4F5F1;
  --muted: #A8ADA5;      /* 7.9:1 on --bg */
  --line: rgba(244, 245, 241, .12);
  --font: 'Space Grotesk', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 22px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font);
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(900px 520px at 50% -80px, rgba(198, 255, 94, .08), transparent 70%);
  background-repeat: no-repeat;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--lime); color: #101211; padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

kbd {
  display: inline-block; min-width: 1.7em; padding: .08em .5em; text-align: center;
  font: 600 .82em/1.5 var(--font); color: var(--ink);
  background: #1d221f; border: 1px solid rgba(244, 245, 241, .22); border-bottom-width: 2px; border-radius: 7px;
}

/* ----- nav ----- */
.nav {
  position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: 14px max(20px, calc((100% - 1200px) / 2)); backdrop-filter: blur(14px);
  background: rgba(16, 18, 17, .72); border-bottom: 1px solid var(--line);
}
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 30px; height: 30px; color: var(--lime); }
.logo-word { font-weight: 700; letter-spacing: .24em; font-size: 15px; }
.nav-links { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--ink); background: rgba(244, 245, 241, .07); }

/* ----- hero ----- */
main { overflow-x: clip; }
.hero { position: relative; text-align: center; padding: clamp(32px, 5vw, 64px) 20px clamp(22px, 3vw, 32px); max-width: 1000px; margin: 0 auto; isolation: isolate; }
.hero-glow { position: absolute; inset: -40px -200px auto; height: 560px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(closest-side, rgba(198, 255, 94, .10), transparent),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 560'%3E%3Cg fill='none' stroke='%23C6FF5E' stroke-opacity='.22'%3E%3Cellipse cx='600' cy='280' rx='560' ry='190' transform='rotate(-8 600 280)'/%3E%3Cellipse cx='600' cy='280' rx='430' ry='140' transform='rotate(-8 600 280)' stroke-opacity='.12'/%3E%3C/g%3E%3Ccircle cx='1130' cy='200' r='6' fill='%23C6FF5E'/%3E%3C/svg%3E") center/contain no-repeat;
  animation: drift 26s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: rotate(2.5deg) scale(1.03); } }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; font-size: 12.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--lime); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 14px var(--lime); }
.hero-title { margin: 0; font-size: clamp(42px, 7.4vw, 88px); line-height: .96; letter-spacing: -.035em; font-weight: 700; text-transform: uppercase; }
.hero-title em { font-style: normal; color: var(--lime); display: block; }
.hero-lede { max-width: 760px; margin: 20px auto 0; font-size: clamp(16px, 2vw, 19px); color: var(--muted); text-wrap: balance; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 22px 0 0; }
.hero-actions .btn-solid, .hero-actions .btn-ghost { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 24px; font-size: 15px; }
.hero-actions svg { width: 18px; height: 18px; }
.hero-actions .btn-solid:hover { box-shadow: 0 0 32px rgba(198, 255, 94, .45); }
.hero-actions .btn-ghost:hover { border-color: var(--lime); color: var(--lime); }

/* ----- player section ----- */
.player-section { max-width: 1200px; margin: 0 auto; padding: 8px clamp(8px, 3vw, 24px) 24px; }
/* The frame never gets taller than the screen: on short or landscape screens the whole player stays in view. */
.player-frame { position: relative; border-radius: 26px; padding: 8px; margin-inline: auto;
  width: min(100%, calc((100vh - 104px) * 16 / 9 + 16px)); width: min(100%, calc((100svh - 104px) * 16 / 9 + 16px));
  background: linear-gradient(160deg, rgba(198, 255, 94, .35), rgba(244, 245, 241, .06) 40%, rgba(244, 245, 241, .04)); box-shadow: 0 40px 120px -30px rgba(198, 255, 94, .18), 0 30px 80px -20px #000; }
@media (max-width: 520px) { .player-frame { padding: 4px; border-radius: 22px; } }
.player-notice { margin-bottom: 8px; padding: 14px 18px; border-radius: 16px; background: #2a1d1d; border: 1px solid #ff8a80; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.notice-actions { display: flex; gap: 10px; }
.btn-solid, .btn-ghost { font: 600 14px var(--font); padding: 10px 18px; border-radius: 999px; cursor: pointer; text-decoration: none; }
.btn-solid { background: var(--lime); color: #101211; border: 0; }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); }
.player-tip { text-align: center; color: var(--muted); font-size: 14.5px; margin: 20px 0 0; line-height: 2.1; }
.tip-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); margin-right: 6px; vertical-align: middle; }

/* ----- sections ----- */
.section { max-width: 1200px; margin: 0 auto; padding: clamp(64px, 9vw, 120px) clamp(16px, 4vw, 24px) 0; }
.section-kicker { margin: 0 0 12px; font-size: 12.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--lime); }
.section-title { margin: 0; font-size: clamp(32px, 5vw, 56px); line-height: 1.05; letter-spacing: -.025em; font-weight: 700; }
.section-lede { margin: 18px 0 0; max-width: 620px; color: var(--muted); }
.cards { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.card { padding: 28px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); transition: border-color .25s, transform .25s; }
.card:hover { border-color: rgba(198, 255, 94, .5); transform: translateY(-3px); }
.card-accent { background: linear-gradient(160deg, rgba(198, 255, 94, .14), var(--bg-2) 60%); border-color: rgba(198, 255, 94, .35); }
.card-no { font-size: 13px; letter-spacing: .2em; color: var(--lime); font-weight: 600; }
.card h3 { margin: 14px 0 8px; font-size: 22px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

.shortcuts { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.keypad { display: grid; gap: 12px; padding: 28px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); justify-items: center; }
.keyrow { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.keycap { display: grid; gap: 6px; justify-items: center; text-align: center; min-width: 84px; padding: 12px 10px 10px; border-radius: 14px; background: #1d221f; border: 1px solid rgba(244, 245, 241, .16); border-bottom-width: 4px; transition: background .12s, border-color .12s, transform .12s, box-shadow .12s; }
.keycap.wide { min-width: 200px; }
.keycap kbd { background: none; border: 0; font-size: 22px; padding: 0; color: var(--ink); }
.keycap small { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.keycap.is-down { background: var(--lime); border-color: var(--lime); transform: translateY(2px); box-shadow: 0 0 28px rgba(198, 255, 94, .55); }
.keycap.is-down kbd, .keycap.is-down small { color: #101211; }

/* ----- footer ----- */
.footer { margin-top: clamp(72px, 10vw, 140px); border-top: 1px solid var(--line); padding: 56px 20px 64px; text-align: center; background: radial-gradient(600px 240px at 50% 0, rgba(198, 255, 94, .07), transparent); }
.footer-inner { max-width: 640px; margin: 0 auto; display: grid; gap: 18px; justify-items: center; }
.footer-tag { margin: 0; font-weight: 600; letter-spacing: .3em; font-size: 13px; }
.footer-tag span { color: var(--lime); }
.footer-text { margin: 0; color: var(--muted); font-size: 15px; }

@media (max-width: 820px) {
  .shortcuts { grid-template-columns: 1fr; }
  .nav-links li:not(:first-child) { display: none; }
  body { font-size: 16px; }
  .keycap.wide { min-width: 160px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
