:root {
  --guide-bg: #09090b;
  --guide-panel: rgba(18, 20, 28, 0.88);
  --guide-panel-soft: rgba(255, 255, 255, 0.03);
  --guide-border: rgba(255, 255, 255, 0.12);
  --guide-text: #f3f4f6;
  --guide-text-muted: #c4c6d0;
  --guide-accent: #f97316;
  --guide-accent-soft: #fda4af;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Manrope", sans-serif;
  background: var(--guide-bg);
  color: var(--guide-text);
}

.guide-body {
  min-height: 100vh;
  position: relative;
}

.guide-backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(45% 36% at 10% 8%, rgba(244, 114, 182, 0.09), transparent 70%),
    radial-gradient(40% 34% at 90% 88%, rgba(249, 115, 22, 0.09), transparent 70%),
    radial-gradient(30% 26% at 70% 20%, rgba(125, 211, 252, 0.08), transparent 74%);
  opacity: 0.95;
}

.guide-shell {
  width: min(1040px, calc(100% - 2rem));
  margin: 0 auto;
}

.guide-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 9, 11, 0.78);
  backdrop-filter: blur(10px);
}

.guide-header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.guide-header-start {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.guide-back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--guide-text);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  transition: border-color 170ms ease, background 170ms ease, color 170ms ease;
}

.guide-back-button:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
}

.guide-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #f8fafc;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.guide-brand img {
  width: 1.9rem;
  height: 1.9rem;
  object-fit: contain;
  border-radius: 999px;
  display: block;
}

.guide-nav {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.guide-nav a {
  text-decoration: none;
  color: var(--guide-text-muted);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 170ms ease;
}

.guide-nav a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.guide-nav .guide-nav-cta {
  color: #0a0a0a;
  border-color: transparent;
  background: linear-gradient(120deg, #fff 0%, #ffe4e6 100%);
}

.guide-nav .guide-nav-cta:hover {
  border-color: transparent;
  background: linear-gradient(120deg, #fff 0%, #ffd1dc 100%);
}

.guide-main {
  position: relative;
  z-index: 1;
  padding: 2.4rem 0 4rem;
  display: grid;
  gap: 1rem;
}

.guide-eyebrow {
  margin: 0;
  color: #fda4af;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 800;
}

h1,
h2,
h3 {
  font-family: "Fraunces", serif;
  line-height: 1.2;
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}

.guide-lede {
  margin: 0;
  font-size: 1.05rem;
  color: #d8dae3;
  line-height: 1.7;
  max-width: 72ch;
}

.guide-card {
  border: 1px solid var(--guide-border);
  background: linear-gradient(140deg, var(--guide-panel), rgba(26, 30, 40, 0.9));
  border-radius: 1.25rem;
  padding: clamp(1rem, 2vw, 1.4rem);
  box-shadow: 0 14px 44px rgba(4, 6, 12, 0.35);
}

.guide-card h2 {
  margin-bottom: 0.85rem;
}

.guide-card p {
  margin: 0;
  color: var(--guide-text-muted);
  line-height: 1.7;
}

.guide-card ul,
.guide-card ol {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--guide-text-muted);
  display: grid;
  gap: 0.6rem;
  line-height: 1.65;
}

.guide-two-column {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.guide-two-column article {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1rem;
  background: var(--guide-panel-soft);
}

.guide-two-column h2 {
  font-size: 1.15rem;
}

.guide-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem;
}

.guide-step-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  padding: 0.95rem;
  background: rgba(255, 255, 255, 0.03);
}

.guide-step-index {
  margin: 0 0 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.66rem;
  font-weight: 800;
  color: #fdba74;
}

.guide-step-card h3 {
  margin: 0;
  font-size: 1rem;
}

.guide-step-card p {
  margin-top: 0.55rem;
  font-size: 0.95rem;
}

.guide-faq-grid {
  display: grid;
  gap: 0.65rem;
}

.guide-faq-item {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.9rem;
  padding: 0.8rem 0.95rem;
  background: rgba(255, 255, 255, 0.025);
}

.guide-faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: #f9fafb;
}

.guide-faq-item p {
  margin-top: 0.65rem;
  font-size: 0.95rem;
}

.guide-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.75rem;
}

.guide-related-card {
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.03);
  transition: transform 180ms ease, border-color 180ms ease;
}

.guide-related-card:hover {
  transform: translateY(-2px);
  border-color: rgba(253, 186, 116, 0.42);
}

.guide-related-category {
  margin: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: #fdba74;
  font-weight: 700;
}

.guide-related-card h3 {
  margin-top: 0.4rem;
  font-size: 1rem;
  color: #fff;
}

.guide-related-card p {
  margin-top: 0.45rem;
  color: var(--guide-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.guide-cta {
  border: 1px solid rgba(249, 115, 22, 0.35);
  border-radius: 1.25rem;
  padding: 1.2rem;
  background: linear-gradient(135deg, rgba(251, 113, 133, 0.16), rgba(249, 115, 22, 0.12));
}

.guide-cta p {
  color: #f3f4f6;
}

.guide-cta-actions {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.guide-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  padding: 0.6rem 1rem;
  font-weight: 700;
  font-size: 0.92rem;
  background: rgba(0, 0, 0, 0.2);
}

.guide-button:hover {
  border-color: rgba(255, 255, 255, 0.38);
}

.guide-button-primary {
  color: #111827;
  border-color: transparent;
  background: linear-gradient(130deg, #fff 0%, #fde68a 100%);
}

.guide-button-primary:hover {
  border-color: transparent;
  background: linear-gradient(130deg, #fff 0%, #fcd34d 100%);
}

.guide-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 6, 12, 0.55);
  backdrop-filter: blur(8px);
}

.guide-footer-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.guide-footer p,
.guide-footer a {
  margin: 0;
  font-size: 0.9rem;
  color: var(--guide-text-muted);
  text-decoration: none;
}

.guide-footer a:hover {
  color: #fff;
}

@media (max-width: 760px) {
  .guide-header-inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.75rem 0;
  }

  .guide-header-start {
    width: 100%;
    justify-content: center;
  }

  .guide-nav {
    width: 100%;
    justify-content: center;
  }

  .guide-main {
    padding-top: 1.8rem;
  }

  .guide-card {
    border-radius: 1rem;
  }
}
