:root {
  --ink: #0c0b09;
  --ink-soft: #1a1814;
  --paper: #f7f4ec;
  --muted: #b7b0a2;
  --yellow: #ffd800;
  --yellow-deep: #e6c200;
  --line: rgba(247, 244, 236, 0.12);
  --font: 'Source Sans 3', system-ui, sans-serif;
  --font-display: var(--font);
  --font-body: var(--font);
}

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

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.55;
  background: var(--ink);
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 55% at 85% 15%, rgba(255, 216, 0, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 45% at 10% 90%, rgba(255, 216, 0, 0.08), transparent 50%),
    linear-gradient(165deg, #12100c 0%, var(--ink) 45%, #080706 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.top {
  display: flex;
  align-items: center;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-mark {
  border-radius: 0.55rem;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  min-height: calc(100svh - 5.5rem);
  padding: 1rem clamp(1.25rem, 4vw, 3rem) 3rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--yellow);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lede {
  margin: 0 0 2rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.85rem 1.35rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  border-radius: 0.35rem;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--yellow);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--yellow-deep);
}

.btn-secondary {
  background: transparent;
  color: var(--paper);
  box-shadow: inset 0 0 0 1.5px var(--line);
}

.btn-secondary:hover {
  box-shadow: inset 0 0 0 1.5px rgba(255, 216, 0, 0.55);
  color: var(--yellow);
}

.cta-hint {
  margin: 1rem 0 0;
  max-width: 28rem;
  color: rgba(183, 176, 162, 0.75);
  font-size: 0.9rem;
}

.install {
  max-width: 40rem;
  padding: 1rem clamp(1.25rem, 4vw, 3rem) 3rem;
}

.install-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.install-lede {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

.install-steps {
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 1.35rem;
}

.install-steps li {
  position: relative;
  padding: 0 0 0 3rem;
  counter-increment: step;
}

.install-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.1rem;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.35rem;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

.install-steps h2 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.install-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.install-steps code,
.cta-hint code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
  color: var(--paper);
}

.install-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

body.modal-open {
  overflow: hidden;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 7, 6, 0.78);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 26rem);
  padding: 1.75rem 1.6rem 1.5rem;
  background: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.modal-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: var(--yellow);
  padding: 0.15em 0 0.2em;
}

.modal-body {
  margin: 0 0 1.35rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.modal-panel .btn {
  width: 100%;
}

.hero-visual {
  display: grid;
  place-items: center;
}

.hero-logo {
  width: min(100%, 28rem);
  height: auto;
  border-radius: 2.5rem;
  filter: drop-shadow(0 28px 60px rgba(255, 216, 0, 0.18));
  animation: float 7s ease-in-out infinite;
}

.points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 0 clamp(1.25rem, 4vw, 3rem) 4rem;
  border-top: 1px solid var(--line);
  padding-top: 3rem;
}

.points h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.points p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.foot {
  padding: 0 clamp(1.25rem, 4vw, 3rem) 2.5rem;
  color: rgba(183, 176, 162, 0.65);
  font-size: 0.9rem;
}

.foot p {
  margin: 0 0 0.65rem;
  max-width: 40rem;
}

.foot p:last-child {
  margin-bottom: 0;
}

.disclaimer {
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(183, 176, 162, 0.55);
}

.disclaimer a {
  color: rgba(247, 244, 236, 0.7);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.disclaimer a:hover {
  color: var(--yellow);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 2rem;
  }

  .hero-visual {
    order: -1;
  }

  .hero-logo {
    width: min(70vw, 16rem);
    border-radius: 1.6rem;
  }

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

@media (prefers-reduced-motion: reduce) {
  .hero-logo,
  .modal-panel,
  .btn {
    animation: none;
    transition: none;
  }
}
