:root {
  color-scheme: dark;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: #f8f5fc;
  background: #0b0910;
  --muted: #c8bfcd;
  --subtle: #ad9fb6;
  --border: #382c42;
  --surface: #16101c;
  --link: #e3bbff;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  min-width: 0;
  background: radial-gradient(ellipse 44rem 25rem at 79% 15rem, #40193470, transparent 82%),
    radial-gradient(ellipse 40rem 29rem at 25% 16rem, #2c18524d, transparent 85%);
}
a { color: var(--link); text-underline-offset: .24em; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid #efb9ff; outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
ol, ul { padding-inline-start: 1.35em; }
p { line-height: 1.75; }
h1, h2, h3 { text-wrap: balance; line-height: 1.18; margin: 0; }
h2 { font-size: clamp(1.44rem, 3.6vw, 2.12rem); letter-spacing: -.045em; }
h3 { font-size: 1.22rem; letter-spacing: -.025em; }

.guide-shell { width: min(100% - 2rem, 74rem); margin-inline: auto; }
.guide-skip {
  position: fixed;
  z-index: 2;
  top: .6rem;
  left: .6rem;
  padding: .8rem 1rem;
  border-radius: .5rem;
  color: #180e22;
  background: #fff;
  transform: translateY(-160%);
}
.guide-skip:focus { transform: none; color: #180e22; }
.guide-header { border-bottom: 1px solid var(--border); background: #100b15; }
.guide-header-inner, .guide-footer-inner { display: grid; gap: .1rem 1rem; padding-block: .6rem; }
.guide-header-inner { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.guide-brand { display: inline-flex; min-height: 44px; align-items: center; gap: .55rem; width: fit-content; color: #fff; text-decoration: none; font-size: .97rem; font-weight: 800; }
.guide-navigation { display: flex; flex-wrap: wrap; gap: 0 1.25rem; grid-column: 1 / -1; grid-row: 2; }
.guide-navigation a, .guide-footer nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; font-size: .89rem; font-weight: 700; }
.guide-navigation a:hover, .guide-footer nav a:hover, a[aria-current='page'] { color: #fff; text-decoration: underline; }
.guide-breadcrumb { padding-top: 1.2rem; font-size: .79rem; color: var(--subtle); }
.guide-breadcrumb ol { display: flex; flex-wrap: wrap; gap: .3rem .55rem; list-style: none; margin: 0; padding: 0; }
.guide-breadcrumb li + li::before { content: '/'; color: var(--subtle); margin-inline-end: .55rem; }

.guide-hero {
  display: grid;
  align-items: center;
  gap: 1.9rem;
  padding-block: clamp(2.1rem, 6vw, 5rem) clamp(2rem, 5vw, 4rem);
  border-bottom: 1px solid var(--border);
}
.guide-hero h1 { max-width: 20ch; font-size: clamp(2.25rem, 7.6vw, 4.85rem); letter-spacing: -.045em; line-height: 1.06; }
.guide-lede { max-width: 63ch; margin: 1.1rem 0 0; color: var(--muted); font-size: clamp(1rem, 2.3vw, 1.15rem); }
.guide-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin-top: 1.45rem; }
.guide-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: .5rem; border: 1px solid #ff8693; border-radius: .65rem; padding: .7rem 1.13rem; background: #fa626f; color: #17090d; font-weight: 800; font-size: .91rem; text-align: center; text-decoration: none; transition: background-color .18s ease, border-color .18s ease; }
.guide-button:hover { background: #ff8893; color: #17090d; }
.guide-button-secondary { color: #f7effc; background: #24192a; border-color: #684b70; }
.guide-button-secondary:hover { background: #382240; color: #fff; border-color: #9c6caf; }
.guide-button-small { min-height: 44px; padding: .43rem .8rem; font-size: .8rem; }
.guide-visual { margin: 0; }
.guide-visual img { width: 100%; border-radius: .9rem; border: 1px solid #633849; box-shadow: 0 14px 40px #0008; }
.guide-visual-mobile img { max-height: 26rem; object-fit: contain; box-shadow: none; border: 0; }
.guide-visual figcaption { margin-top: .65rem; text-align: center; color: var(--subtle); font-size: .8rem; }
.guide-byline { display: flex; flex-wrap: wrap; column-gap: 1rem; margin: 1.3rem 0 0; color: var(--subtle); font-size: .88rem; }

.guide-section { margin-block: clamp(2.15rem, 6vw, 4.35rem); }
.guide-section > p { max-width: 68ch; margin: .9rem 0 0; color: var(--muted); }
.guide-grid { display: grid; gap: .9rem; list-style: none; padding: 0; }
.guide-section h2 + .guide-grid, .guide-index { margin-top: 1.2rem; }
.guide-index { margin-bottom: 3.5rem; }
.guide-card { min-width: 0; padding: clamp(1.1rem, 3vw, 1.6rem); border: 1px solid var(--border); border-radius: .9rem; background: linear-gradient(155deg, #1e1424, var(--surface) 66%); }
.guide-card h2 { font-size: 1.3rem; letter-spacing: -.03em; }
.guide-card h2 a { color: inherit; }
.guide-card p { margin: .55rem 0; color: var(--muted); }
.guide-card img { margin-top: .95rem; border: 1px solid var(--border); border-radius: .48rem; }
.guide-link { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; font-weight: 800; }
.guide-steps { display: grid; gap: .9rem; max-width: 70ch; margin: 1rem 0; color: var(--muted); line-height: 1.7; }
.guide-steps li::marker { color: #f9a0b1; font-weight: 800; }
.guide-steps strong { color: #fff; }
.guide-note { margin-block: 1.5rem 3.25rem; max-width: 71ch; border: 1px solid #5a3b61; border-inline-start: 3px solid #d58ced; border-radius: .75rem; background: #211427; padding: .85rem 1.1rem; }
.guide-note p { margin: 0; color: #eee2f3; }
.guide-reading { max-width: 71ch; }
.guide-reading p + h2, .guide-reading ol + h2 { margin-top: 2.1rem; }
.guide-faq h2 { margin-bottom: 1rem; }
.guide-faq details { border-bottom: 1px solid var(--border); }
.guide-faq summary { cursor: pointer; padding: 1rem .2rem; font-weight: 700; }
.guide-faq summary::marker { color: #ffa2b5; }
.guide-faq details p { margin: 0 0 1rem .2rem; color: var(--muted); }
.guide-definitions { display: grid; gap: .7rem; }
.guide-definitions div { border: 1px solid var(--border); border-radius: .7rem; padding: .85rem 1rem; background: var(--surface); }
.guide-definitions dt { font-weight: 800; }
.guide-definitions dd { margin: .4rem 0 0; color: var(--muted); line-height: 1.7; }
.guide-reference { font-size: .85rem; }
.guide-footer { border-top: 1px solid var(--border); background: #100b15; }
.guide-footer-inner { gap: .45rem 1.5rem; padding-block: 1.2rem; }
.guide-footer nav { display: flex; gap: 0 1.1rem; flex-wrap: wrap; }

@media (min-width: 42rem) {
  .guide-header-inner { display: flex; justify-content: space-between; min-height: 70px; }
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; }
}

@media (min-width: 60rem) {
  .guide-hero-media { grid-template-columns: 1fr 1.05fr; gap: 3rem; }
  .guide-hero-media h1 { font-size: clamp(3.15rem, 5.1vw, 4.85rem); }
  .guide-grid-three, .guide-index { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
