:root {
  --ink: #0b0a09;
  --ink-soft: #171412;
  --ink-lifted: #211b17;
  --bone: #f2eee6;
  --bone-muted: #c9c1b4;
  --fire: #ff4b1f;
  --ember: #f4a822;
  --green: #25d366;
  --line: rgba(242, 238, 230, 0.16);
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--bone);
  background:
    radial-gradient(circle at 85% 4%, rgba(255, 75, 31, 0.12), transparent 28rem),
    radial-gradient(circle at 4% 45%, rgba(244, 168, 34, 0.06), transparent 24rem),
    var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: 10;
  inset: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
  content: "";
  mix-blend-mode: soft-light;
  pointer-events: none;
}

img {
  display: block;
  max-width: 100%;
}

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

.container {
  width: min(100% - 3rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  color: var(--ink);
  background: var(--bone);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.guide-header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 5rem;
  gap: 2rem;
}

.guide-logo {
  display: inline-flex;
  align-items: center;
}

.guide-logo img {
  width: 4.6rem;
  height: 3.35rem;
  object-fit: contain;
}

.guide-nav {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 2.5vw, 2rem);
}

.guide-nav a,
.guide-footer-links a {
  color: rgba(242, 238, 230, 0.68);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.guide-nav a:hover,
.guide-nav a:focus-visible,
.guide-footer-links a:hover,
.guide-footer-links a:focus-visible {
  color: var(--ember);
}

.guide-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.75rem 1.15rem;
  gap: 0.7rem;
  border: 1px solid transparent;
  color: var(--ink);
  background: linear-gradient(120deg, var(--fire), var(--ember));
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.085em;
  text-transform: uppercase;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.guide-button:hover,
.guide-button:focus-visible {
  color: var(--bone);
  background: var(--fire);
  transform: translateY(-2px);
}

.guide-button--ghost {
  color: var(--bone);
  border-color: var(--line);
  background: transparent;
}

.guide-button--ghost:hover,
.guide-button--ghost:focus-visible {
  border-color: var(--ember);
  color: var(--ember);
  background: rgba(244, 168, 34, 0.04);
}

.guide-hero {
  position: relative;
  min-height: calc(100svh - 5rem);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.guide-hero::before {
  position: absolute;
  right: -0.03em;
  bottom: -0.16em;
  color: rgba(242, 238, 230, 0.025);
  content: attr(data-index);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(16rem, 38vw, 40rem);
  line-height: 0.72;
  pointer-events: none;
}

.guide-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.7fr);
  align-items: center;
  min-height: calc(100svh - 5rem);
  padding-block: clamp(4rem, 9vw, 8rem);
  gap: clamp(2.5rem, 7vw, 7rem);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 2.3rem;
  padding: 0;
  gap: 0.55rem;
  list-style: none;
  color: rgba(242, 238, 230, 0.5);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
  color: var(--ember);
}

.guide-eyebrow {
  display: flex;
  align-items: center;
  margin: 0 0 1.25rem;
  gap: 0.65rem;
  color: var(--ember);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.guide-eyebrow::before {
  width: 2.8rem;
  height: 1px;
  background: currentColor;
  content: "";
}

.guide-hero h1 {
  max-width: 10ch;
  margin: 0;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(4.65rem, 10vw, 9.5rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.78;
  text-transform: uppercase;
}

.guide-hero h1 span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 238, 230, 0.64);
}

.guide-hero-lead {
  max-width: 58ch;
  margin: 2rem 0 0;
  color: var(--bone-muted);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
}

.guide-actions {
  display: flex;
  flex-wrap: wrap;
  margin-top: 2.1rem;
  gap: 0.8rem;
}

.guide-hero-visual {
  position: relative;
}

.guide-image-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
  background: var(--ink-lifted);
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.42);
}

.guide-image-frame::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(11, 10, 9, 0.78));
  content: "";
}

.guide-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.08);
}

.guide-visual-note {
  position: absolute;
  right: -1.25rem;
  bottom: 2rem;
  z-index: 2;
  width: min(15rem, 82%);
  padding: 1.15rem;
  border: 1px solid rgba(244, 168, 34, 0.45);
  color: var(--ink);
  background: var(--ember);
  box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.28);
}

.guide-visual-note span {
  display: block;
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guide-visual-note strong {
  display: block;
  margin-top: 0.4rem;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
}

.guide-section {
  padding-block: clamp(5rem, 10vw, 9rem);
  border-bottom: 1px solid var(--line);
}

.guide-section--bone {
  color: var(--ink);
  background: var(--bone);
}

.guide-intro-grid,
.guide-section-heading {
  display: grid;
  grid-template-columns: minmax(16rem, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 7vw, 7rem);
}

.guide-number {
  color: var(--fire);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 1.55rem;
}

.guide-section h2 {
  max-width: 15ch;
  margin: 0;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.86;
  text-transform: uppercase;
}

.guide-section h2 em {
  color: var(--fire);
  font-style: normal;
}

.guide-prose {
  max-width: 66ch;
}

.guide-prose p {
  margin: 0 0 1.25rem;
  color: var(--bone-muted);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
}

.guide-section--bone .guide-prose p {
  color: rgba(11, 10, 9, 0.7);
}

.guide-highlight {
  margin-top: 2rem;
  padding: 1.25rem 1.4rem;
  border-left: 0.3rem solid var(--fire);
  color: var(--bone);
  background: var(--ink-lifted);
  font-weight: 700;
}

.guide-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(3rem, 7vw, 6rem);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.guide-pillar {
  min-height: 22rem;
  padding: clamp(1.35rem, 3vw, 2.2rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(242, 238, 230, 0.025);
}

.guide-pillar > span {
  color: var(--ember);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guide-pillar h3 {
  margin: 4rem 0 1rem;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 400;
  line-height: 0.9;
  text-transform: uppercase;
}

.guide-pillar p {
  margin: 0;
  color: var(--bone-muted);
  font-size: 0.9rem;
}

.guide-path {
  margin: clamp(3rem, 7vw, 6rem) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: path;
}

.guide-path li {
  display: grid;
  grid-template-columns: 5rem minmax(12rem, 0.7fr) minmax(0, 1fr);
  padding: 1.6rem 0;
  align-items: start;
  gap: 1.5rem;
  border-top: 1px solid rgba(11, 10, 9, 0.16);
  counter-increment: path;
}

.guide-path li::before {
  color: var(--fire);
  content: "0" counter(path);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 1.5rem;
}

.guide-path strong {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.guide-path p {
  margin: 0;
  color: rgba(11, 10, 9, 0.68);
}

.guide-faq {
  max-width: 56rem;
  margin: clamp(3rem, 7vw, 5rem) auto 0;
}

.guide-faq details {
  border-top: 1px solid var(--line);
}

.guide-faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.guide-faq summary {
  display: flex;
  padding: 1.3rem 0;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.guide-faq summary::-webkit-details-marker {
  display: none;
}

.guide-faq summary::after {
  color: var(--ember);
  content: "+";
  font-size: 1.5rem;
}

.guide-faq details[open] summary::after {
  content: "−";
}

.guide-faq p {
  max-width: 65ch;
  margin: 0 0 1.4rem;
  color: var(--bone-muted);
}

.guide-cta {
  position: relative;
  overflow: hidden;
  padding-block: clamp(5rem, 11vw, 10rem);
  text-align: center;
  background:
    radial-gradient(circle at 50% 110%, rgba(255, 75, 31, 0.28), transparent 34rem),
    var(--ink-soft);
}

.guide-cta::before {
  position: absolute;
  inset: 0;
  opacity: 0.09;
  background: repeating-linear-gradient(90deg, transparent 0, transparent calc(20% - 1px), var(--bone) 20%);
  content: "";
  pointer-events: none;
}

.guide-cta .container {
  position: relative;
}

.guide-cta h2 {
  max-width: 11ch;
  margin: 0 auto;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.8;
  text-transform: uppercase;
}

.guide-cta p {
  max-width: 50ch;
  margin: 1.8rem auto 2rem;
  color: var(--bone-muted);
}

.guide-footer {
  border-top: 1px solid var(--line);
  padding-block: 2.2rem 4rem;
  background: var(--ink);
}

.guide-footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
}

.guide-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.25rem;
}

.guide-footer small {
  color: rgba(242, 238, 230, 0.48);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .guide-header-inner {
    grid-template-columns: auto 1fr;
  }

  .guide-nav {
    display: none;
  }

  .guide-header .guide-button {
    justify-self: end;
  }

  .guide-hero-grid,
  .guide-intro-grid,
  .guide-section-heading {
    grid-template-columns: 1fr;
  }

  .guide-hero-grid {
    padding-top: 4.5rem;
  }

  .guide-hero h1 {
    font-size: clamp(4.7rem, 17vw, 8.5rem);
  }

  .guide-hero-visual {
    width: min(100%, 34rem);
    margin-inline: auto;
  }

  .guide-pillars {
    grid-template-columns: 1fr;
  }

  .guide-pillar {
    min-height: auto;
  }

  .guide-pillar h3 {
    margin-top: 2.5rem;
  }
}

@media (max-width: 660px) {
  .container {
    width: min(100% - 2rem, var(--container));
  }

  .guide-header .guide-button {
    min-height: 2.75rem;
    padding-inline: 0.8rem;
    font-size: 0.62rem;
  }

  .guide-hero-grid {
    gap: 3.25rem;
  }

  .guide-visual-note {
    right: 0.7rem;
  }

  .guide-path li {
    grid-template-columns: 3rem 1fr;
  }

  .guide-path p {
    grid-column: 2;
  }

  .guide-footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .guide-footer .guide-logo {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

