/* -------- Theme -------- */

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #e4e4e9;
  --card-bg: #ffffff;
  --text-main: #111111;
  --text-muted: #6e6e73;
  --text-warning: rgb(221, 121, 0);
  --accent: #0071e3;
  --accent-soft: rgba(0, 113, 227, 0.08);
  --border-subtle: #c3c3c3;
  --radius-xl: 28px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #050509;
  --card-bg: #141417;
  --text-main: #f5f5f7;
  --text-muted: #a1a1aa;
  --text-warning: rgb(233, 144, 0);
  --accent: #0a84ff;
  --accent-soft: rgba(10, 132, 255, 0.18);
  --border-subtle: #2f2f35;
  --radius-xl: 28px;
}


/* -------- Reset / Base -------- */

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* -------- Navigation -------- */

.nav {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}

.nav-logo {
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 4px 10px;
  font-size: 16px;
  border-radius: 999px;
}

.theme-icon {
  width: 11px;
  height: 11px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: linear-gradient(
    to right,
    currentColor 49.5%,
    transparent 49.5%
  );
}

.nav-theme-btn {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 1000;

  width: 26px;
  height: 26px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: transparent;
  box-shadow: none;
  color: var(--text-muted);
  cursor: pointer;

  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, transform 0.3s ease;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.nav-theme-btn:hover {
  color: var(--text-main);
  background: rgba(181, 179, 179, 0.277);
  border-color: rgb(125, 164, 223);
  box-shadow: 0 0 5px rgba(87, 152, 255, 0.6);
}


/* -------- Hero layout -------- */

.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px 40px;
}

.hero-inner {
  max-width: 72%;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.3fr);
  gap: 40px;
  align-items: stretch;
}

.hero-pane {
  /* display: grid;
  grid-template-rows: 2fr minmax(0, 1fr);
  align-items: end; */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}


/* -------- Hero text -------- */

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.title {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.subtitle {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 420px;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  height: 44px;
  margin-bottom: 10px;
}

.hero-actions [hidden] {
  display: none;
}

.hero-actions > :not([hidden]),
.hero-meta.is-visible {
  animation: fade-in 0.4s ease-in both;
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.download-unavailable {
  color: var(--text-warning);
  font-size: 15px;
}

.hero-meta {
  visibility: hidden;
  font-size: 13px;
  color: var(--text-muted);
}

.hero-meta.is-visible {
  visibility: visible;
}

.hero-meta strong {
  color: var(--text-main);
  font-weight: 500;
}

/* -------- Buttons -------- */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
  box-shadow: 0 8px 20px rgba(0, 113, 227, 0.28);
  max-width: 100%;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(0, 113, 227, 0.35);
  background: #0077ee;
}

.download-label {
  line-height: 1.2;
  height: 1.2em;
  overflow: hidden;
  text-align: center;
}

/* .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-main);
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease;
}

.btn-secondary:hover {
  background: #ffffff;
  border-color: #c0c0c0;
} */

/* -------- Card / Features -------- */

/* .card {
  background: radial-gradient(circle at top left, var(--accent-soft), #ffffff 55%);
  border-radius: var(--radius-xl);
  padding: 22px 22px 20px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.chip {
  align-self: flex-start;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.04);
  font-size: 12px;
  color: var(--text-muted);
}

.card-heading {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 2px;
}

.card-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-top: 6px;
  font-size: 13px;
}

.feature {
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.feature-title {
  font-weight: 500;
  margin-bottom: 2px;
}

.feature-desc {
  color: var(--text-muted);
  font-size: 12px;
} */

/* -------- Footer -------- */

.footer {
  padding: 18px 24px 26px;
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  text-align: center;
}

.footer a {
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.footer a:hover {
  color: var(--text-main);
  border-bottom-color: var(--text-main);
}



/* Hotkeys */

.hotkey-hint {
  margin-bottom: clamp(25px, 10%, 200px);
  margin-top: clamp(10px, 30%, 200px);
  position: relative;
  display: flex;
  flex-direction: column;
  /* align-items: flex-end; */
  gap: 6px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.hotkey-hint__label {
  color: var(--text-muted);
  margin-bottom: 2px;
  font-size: 14px;
}

.hotkey-hint__row {
  display: flex;
  gap: 6px;
  opacity: 0.82; /* always visible, greyed */
}

.hotkey-hint__key {
  font-size: 12px;
  font-weight: 500;
  padding: 6px 9px;
  border-radius: 4px;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  box-shadow: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  background: radial-gradient(circle at 20% 0%, #71727627, #4c506113);
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.hotkey-hint__row.is-active {
  opacity: 1;

  .hotkey-hint__key {
    color: var(--text-main);
    border-color: rgb(125, 164, 223);
    box-shadow: 0 0 5px rgba(87, 152, 255, 0.6);
  }
}



@media (max-width: 1000px) {
  .hero-inner {
    max-width: 80%;
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
    .hero-actions {
      justify-content: center;
    }
  }

  .hotkey-hint {
    display: none;
  }

  .subtitle {
    margin: auto auto 24px;
  }

  .hero-pane {
    display: block;
  }
}
