/* Same tokens as the launcher (src/renderer/src/styles/global.scss). */
@font-face {
  font-family: 'Pixelify Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/pixelify-sans-latin-600-normal.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Pixelify Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/pixelify-sans-latin-ext-600-normal.woff2) format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/plus-jakarta-sans-latin-400-normal.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/plus-jakarta-sans-latin-ext-400-normal.woff2) format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/plus-jakarta-sans-latin-700-normal.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/plus-jakarta-sans-latin-ext-700-normal.woff2) format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/plus-jakarta-sans-latin-800-normal.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/plus-jakarta-sans-latin-ext-800-normal.woff2) format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

:root {
  --bg-app: #0e0c13;
  --bg-surface: #16131d;
  --bg-elevated: #1f1b28;
  --bg-hover: #29243a;
  --border-subtle: #2a2535;
  --border-strong: #3d3550;
  --text-primary: #f5f1fa;
  --text-secondary: #aba3b9;
  --text-muted: #746b82;
  --text-on-accent: #2a1505;
  --accent: #ff9d4d;
  --accent-hover: #ffb574;
  --accent-pressed: #f0822c;
  --accent-soft: rgb(255 157 77 / 14%);
  --lilac: #b89dff;
  --lilac-soft: rgb(184 157 255 / 14%);
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 999px;
  --font-display: 'Pixelify Sans', 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --glow-accent: 0 8px 28px rgb(255 157 77 / 28%);
  color-scheme: dark;
}

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

body {
  min-height: 100vh;
  background: var(--bg-app);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

.top {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
}

.top-links {
  display: flex;
  gap: 20px;
  font-size: 14px;
  font-weight: 700;
}

.top-links a {
  color: var(--text-secondary);
  text-decoration: none;
}

.top-links a:hover {
  color: var(--text-primary);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 112px 24px 72px;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 80% center;
  opacity: 0.55;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--bg-app) 20%,
    rgb(14 12 19 / 55%) 60%,
    rgb(14 12 19 / 25%)
  );
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--lilac-soft);
  color: var(--lilac);
  font-size: 13px;
  font-weight: 700;
}

h1 {
  margin: 18px 0 16px;
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 600;
  line-height: 1.05;
}

.lead {
  max-width: 520px;
  color: var(--text-secondary);
  font-size: 18px;
}

.lead strong {
  color: var(--accent);
}

.download {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 10px 24px 10px 20px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition:
    background 120ms ease,
    border-color 120ms ease;
}

.button > span {
  display: grid;
}

.button-label {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
}

.button-meta {
  font-size: 13px;
  opacity: 0.8;
}

.button svg {
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.primary {
  background: var(--accent);
  color: var(--text-on-accent);
  box-shadow: var(--glow-accent);
}

.primary:hover {
  background: var(--accent-hover);
}

.primary:active {
  background: var(--accent-pressed);
}

.ghost {
  border: 1px solid var(--border-strong);
  background: rgb(22 19 29 / 70%);
}

.ghost:hover {
  border-color: var(--lilac);
}

.ghost[hidden] {
  display: none;
}

.status {
  min-height: 0;
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 14px;
}

.status:empty {
  display: none;
}

.small {
  max-width: 520px;
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 13px;
}

.hero-shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 60px rgb(0 0 0 / 55%);
}

.features,
.beta {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 24px 0;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 600;
  line-height: 1.2;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.card,
.beta-card {
  padding: 24px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
}

.card h3 {
  margin-bottom: 8px;
  font-size: 17px;
  font-weight: 800;
}

.card p,
.beta-card p {
  color: var(--text-secondary);
  font-size: 15px;
}

.beta-card {
  display: grid;
  gap: 12px;
  border-color: rgb(184 157 255 / 30%);
  background: linear-gradient(135deg, var(--lilac-soft), var(--bg-surface) 60%);
}

.beta-card strong {
  color: var(--text-primary);
}

.text-link {
  justify-self: start;
  color: var(--lilac);
  font-weight: 700;
}

.foot {
  display: grid;
  gap: 8px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 40px;
  color: var(--text-muted);
  font-size: 13px;
}

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero::after {
    background: linear-gradient(180deg, rgb(14 12 19 / 40%), var(--bg-app) 70%);
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .top-links {
    gap: 14px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button {
    transition: none;
  }
}
