:root {
  --night: #0A1030;
  --night-2: #0E1640;
  --panel: rgba(255, 255, 255, .04);
  --line: rgba(247, 239, 228, .1);
  --cream: #F7EFE4;
  --mist: #A9B1CC;
  --moon: #F2C14E;
  --ember: #E8875B;
  --sprout: #7BC47F;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--night); color: var(--cream); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1rem/1.6 var(--sans); background: #070B1C; }

/* ---------- the stage: one screen, the farm at night behind everything ---------- */
.stage {
  --scene-w: max(100vw, calc(100svh * 1.9));
  height: 100svh; min-height: 560px; display: flex; flex-direction: column;
  background:
    linear-gradient(to top, #070B1C 0, rgba(7, 11, 28, 0) 12%),
    url("/scene.svg?v=202609251823") center bottom / var(--scene-w) auto no-repeat,
    radial-gradient(1.2px 1.2px at 12% 14%, #fff9 50%, transparent 51%),
    radial-gradient(1px 1px at 34% 8%, #fff8 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 56% 19%, #fffa 50%, transparent 51%),
    radial-gradient(1px 1px at 79% 10%, #fff7 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 92% 26%, #fff8 50%, transparent 51%),
    radial-gradient(1px 1px at 24% 30%, #fff6 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 67% 5%, #fff9 50%, transparent 51%),
    #070B1C;
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--moon); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -3rem; background: var(--moon); color: var(--night); padding: .5rem .8rem; z-index: 10; font-weight: 600; }
.skip:focus { top: 1rem; }

/* ---------- top bar ---------- */
.bar { display: flex; justify-content: space-between; align-items: center; padding: min(1.25rem, 2.4vh) var(--gutter); max-width: 80rem; width: 100%; margin: 0 auto; }
.mark { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.22rem; letter-spacing: -.035em; text-decoration: none; color: var(--cream); }
.mark img { display: block; filter: drop-shadow(0 0 10px rgba(238, 148, 103, .35)); }
.bar nav { display: flex; gap: .4rem; }
.bar nav a { text-decoration: none; color: var(--mist); font-weight: 500; font-size: .95rem; padding: .45rem .8rem; border-radius: 8px; }
.bar nav a:hover { color: var(--cream); background: var(--panel); }
.bar nav .gh { color: var(--cream); box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- hero: copy left, the farm in a frame right ---------- */
main { flex: 1; display: flex; flex-direction: column; width: 100%; max-width: 80rem; margin: 0 auto; padding: 0 var(--gutter); }
.hero { max-width: 34rem; padding: clamp(.5rem, 5vh, 4rem) 0 1rem; }
h1 { font-size: clamp(2rem, min(4.2vw, 7.2vh), 3.6rem); line-height: 1.04; font-weight: 700; letter-spacing: -.045em; margin: 0; text-wrap: balance; }
.lede { color: var(--mist); font-size: clamp(1rem, min(1.35vw, 2.3vh), 1.2rem); line-height: 1.5; margin: min(1.1rem, 2vh) 0 min(1.6rem, 2.8vh); max-width: 32rem; text-wrap: pretty; }

.install {
  display: flex; align-items: center; border-radius: 12px; max-width: 34rem;
  background: rgba(3, 6, 20, .78); box-shadow: inset 0 0 0 1px var(--line), 0 12px 32px -18px rgba(0, 0, 0, .9);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.prompt { font: 500 .85rem var(--mono); color: var(--moon); opacity: .8; padding-left: 1rem; }
.install code {
  flex: 1; min-width: 0; padding: .85rem .7rem .85rem .55rem; font: 400 .82rem/1.5 var(--mono); color: var(--cream);
  overflow-x: auto; white-space: nowrap; scrollbar-width: none;
  mask-image: linear-gradient(to right, #000 88%, transparent); -webkit-mask-image: linear-gradient(to right, #000 88%, transparent);
}
.install code::-webkit-scrollbar { display: none; }
.copy-btn {
  display: inline-flex; align-items: center; gap: .4rem; margin: .3rem; height: 2.3rem; padding: 0 .8rem;
  font: 500 .82rem var(--sans); color: var(--mist); background: rgba(255, 255, 255, .06); border: 0; border-radius: 8px;
  cursor: pointer; transition: background .15s, color .15s;
}
.copy-btn:hover { background: rgba(255, 255, 255, .12); color: var(--cream); }
.copy-btn .i-done { display: none; }
.copy-btn.done { color: var(--sprout); }
.copy-btn.done .i-copy { display: none; }
.copy-btn.done .i-done { display: inline; }

.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: min(1.25rem, 2.2vh); }
.btn {
  display: inline-flex; align-items: center; gap: .55rem; height: 2.9rem; padding: 0 1.25rem; border-radius: 12px;
  font-weight: 600; font-size: .95rem; letter-spacing: -.005em; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary {
  color: #1B1405;
  background: linear-gradient(180deg, #FAD57A 0%, #F2C14E 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -1px 0 rgba(120, 80, 0, .25),
              0 0 0 1px rgba(242, 193, 78, .5), 0 8px 24px -8px rgba(242, 193, 78, .55);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -1px 0 rgba(120, 80, 0, .25),
              0 0 0 1px rgba(242, 193, 78, .7), 0 12px 30px -8px rgba(242, 193, 78, .7); }
.btn-primary:active { transform: translateY(0); }
.btn-quiet { color: var(--cream); background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px rgba(247, 239, 228, .16); }
.btn-quiet:hover { background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(247, 239, 228, .28); }
.note { color: var(--mist); font-size: .88rem; margin: min(1.1rem, 2vh) 0 0; opacity: .85; }


/* ---------- questions, below the first screen ---------- */
.faq { max-width: 80rem; margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter) 1rem; }
.faq h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; letter-spacing: -.035em; margin: 0 0 1.2rem; }
.faq details { border-top: 1px solid var(--line); max-width: 52rem; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--moon); font-weight: 700; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--mist); margin: 0 0 1.1rem; max-width: 46rem; }

.foot { padding: 1.2rem var(--gutter) 1.6rem; max-width: 80rem; width: 100%; margin: 0 auto; }
.foot p { margin: 0; color: var(--mist); font-size: .8rem; opacity: .7; }

@media (max-height: 700px) and (min-width: 961px) { .note { display: none; } }
@media (max-width: 960px) {
  .stage { height: auto; min-height: 100svh; }
  .stage { --scene-w: 900px; }
}
@media (max-width: 560px) {
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
