/* ── Landing page styles ── */

/* ── Rules ── */

.landing-hero {
  padding: 100px 0 70px;
  text-align: center;
}

.landing-hero h1 {
  max-width: 1000px;
  margin: 20px auto;
  font-size: clamp(54px, 8vw, 96px);
}

.landing-assurance {
  color: var(--muted);
}

.landing-preview {
  margin: 60px auto 0;
  max-width: 820px;
  min-height: 250px;
  text-align: left;
}

.landing-preview-question {
  font-family: "JetBrains Mono";
}

.landing-preview-question {
  color: var(--accent);
}

.landing-preview-answer {
  margin-top: 24px;
}

.landing-preview-sources {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 22px 0;
}

.landing-preview-source {
  padding: 5px 10px;
  color: var(--muted);
  font-size: 12px;
  border: 1px solid var(--border);
  border-radius: 99px;
}

.landing-manifesto {
  border-top: 1px solid var(--border);
}

.landing-plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 760px) {
  .landing-plans {
    grid-template-columns: 1fr;
  }
}

.landing-launcher {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 13px;
  width: min(100%, 310px);
  min-height: 66px;
  padding: 10px 15px 10px 10px;
  overflow: hidden;
  color: var(--text);
  font: inherit;
  text-align: left;
  border: 1px solid #c9a84c66;
  border-radius: 12px;
  background: linear-gradient(120deg, #1b1810, #121212 60%);
  box-shadow:
    0 0 0 1px #000 inset,
    0 12px 35px #0006;
  cursor: pointer;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.landing-launcher::before {
  position: absolute;
  z-index: -1;
  inset: -2px auto -2px -45%;
  width: 35%;
  content: "";
  background: linear-gradient(90deg, transparent, #c9a84c20, transparent);
  transform: skewX(-18deg);
  transition: left 0.55s ease;
}

.landing-launcher:hover {
  border-color: var(--accent);
  box-shadow:
    0 0 0 1px #000 inset,
    0 15px 42px #0009,
    0 0 28px #c9a84c18;
  transform: translateY(-2px);
}

.landing-launcher:hover::before {
  left: 120%;
}

.landing-launcher:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.landing-launcher-icon {
  display: grid;
  flex: 0 0 44px;
  height: 44px;
  place-items: center;
  color: #111;
  border-radius: 10px;
  background: var(--accent);
  box-shadow: 0 0 22px #c9a84c30;
}

.landing-launcher-icon svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.landing-launcher-content {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  line-height: 1.25;
}

.landing-launcher-content strong {
  font-size: 14px;
}

.landing-launcher-content small {
  margin-top: 3px;
  color: #8e8b82;
  font-size: 11px;
}

.landing-launcher-arrow {
  color: var(--accent);
  font-size: 22px;
  transition: transform 0.22s ease;
}

.landing-launcher:hover .landing-launcher-arrow {
  transform: translateX(4px);
}

.landing-launcher--opening .landing-launcher-icon {
  animation: landing-launcher-glow 0.75s ease-in-out infinite alternate;
}

.landing-launcher--opening .landing-launcher-arrow {
  transform: translateX(5px);
}

@media (max-width: 760px) {
  .landing-launcher {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-launcher,
  .landing-launcher::before,
  .landing-launcher-arrow {
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-launcher--opening .landing-launcher-icon {
    animation: none;
  }
}

@keyframes landing-launcher-glow {
  to {
    box-shadow: 0 0 30px #c9a84c88;
    transform: scale(1.04);
  }
}
