:root {
  color-scheme: dark;
  --night: #100e19;
  --panel: #191624;
  --text: #f8f3ff;
  --muted: #c7bed7;
  --lavender: #c3a9ff;
  --lime: #dcff79;
  --line: #393145;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--night); color: var(--text); }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
p, dd { line-height: 1.65; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--lime); outline-offset: 5px; }
::selection { background: var(--lime); color: var(--night); }

.shell { width: min(100% - 3rem, 72rem); margin-inline: auto; }
.skip { position: absolute; z-index: 3; left: 1rem; top: .75rem; padding: .65rem .9rem; color: var(--night); background: var(--lime); transform: translateY(-170%); }
.skip:focus { transform: none; }
.header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 4.6rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.wordmark { display: flex; gap: .65rem; align-items: center; text-decoration: none; font-weight: 800; font-size: 1.23rem; }
.wordmark img { border-radius: .65rem; }
.header-link, .text-link { font-size: .94rem; font-weight: 650; text-decoration-thickness: 1px; text-underline-offset: .25em; }
.header-link:hover, .text-link:hover, .footer a:hover { color: var(--lime); }

.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; padding-block: clamp(3rem, 6.3vw, 6rem); }
.eyebrow { color: var(--lime); font-size: .88rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; margin-bottom: .85rem; }
h1 { font-size: clamp(2.85rem, 6.05vw, 5.3rem); line-height: .98; letter-spacing: -.055em; font-weight: 800; text-wrap: balance; }
h1 em { color: var(--lavender); font-style: normal; }
h1 em span { white-space: nowrap; }
.intro { margin-block: 1.4rem 1.65rem; max-width: 33rem; font-size: clamp(1.05rem, 1.8vw, 1.2rem); color: var(--muted); }
.actions { display: flex; align-items: center; gap: 1rem 1.25rem; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.2rem; padding: .72rem 1.15rem; border-radius: .5rem; background: var(--lime); color: #1a2308; font-weight: 800; text-align: center; text-decoration: none; }
.button:hover { background: #ebffa9; }
.compatibility, figcaption { color: var(--muted); font-size: .875rem; }
.compatibility { margin-top: .85rem; }
.cover img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border: 1px solid #5d487d; border-radius: 1rem; background: #281935; }
.cover figcaption { margin-top: .5rem; }

.guide { scroll-margin-top: 1.25rem; padding-block: 3.5rem; background: var(--panel); border-block: 1px solid var(--line); }
h2 { font-size: clamp(1.9rem, 4vw, 3.05rem); line-height: 1.08; letter-spacing: -.045em; text-wrap: balance; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); padding: 0; margin: 1.8rem 0 0; }
.steps li { display: grid; grid-template-rows: auto 1fr; align-items: start; gap: 1.15rem; border-top: 1px solid var(--line); padding: 1.15rem 0 0; }
.steps img { width: min(100%, 12.5rem); height: auto; margin-inline: auto; border-radius: 1rem; border: 1px solid #534868; }
h3, dt { font-size: 1.18rem; font-weight: 730; line-height: 1.25; }
.steps p, dd, details p, .closing p { margin-top: .45rem; color: var(--muted); }

.ideas, .faq { padding-top: clamp(3rem, 6vw, 5rem); }
.ideas dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 1.4rem; }
.ideas dl > div { border-top: 1px solid var(--line); padding-top: .9rem; }
.faq h2 { margin-bottom: 1.2rem; }
details { border-top: 1px solid var(--line); padding: .85rem 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding-block: .3rem; font-weight: 730; }
details p { max-width: 48rem; margin-bottom: .3rem; }

.closing { margin-block: clamp(3rem, 6vw, 5rem) 2.5rem; padding: clamp(1.4rem, 4vw, 3rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.3rem; background: #251935; border: 1px solid #503768; border-radius: .85rem; }
.closing h2 { font-size: clamp(1.7rem, 3.3vw, 2.5rem); }
.footer { border-top: 1px solid var(--line); color: var(--muted); display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; padding-block: 1.3rem 1.9rem; font-size: .9rem; }
.footer a { text-underline-offset: .2em; }
.footer span { margin-left: auto; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 1.9rem; }
  h1 { max-width: 34rem; }
  .cover { max-width: 32rem; }
  .steps { grid-template-columns: 1fr; gap: 1.25rem; }
  .steps li { grid-template-columns: minmax(6.5rem, 32%) minmax(0, 1fr); align-items: center; }
  .ideas dl { grid-template-columns: 1fr; }
}

@media (max-width: 390px) {
  .shell { width: calc(100% - 2rem); }
  .header-link { font-size: .85rem; }
  h1 { font-size: 2.6rem; }
}
