:root {
  --guide-card: rgba(255, 255, 255, 0.045);
  --guide-card-strong: rgba(255, 255, 255, 0.075);
  --guide-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.df-header {
  gap: 1rem;
}

.guide-header-cta,
.guide-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid rgba(64, 178, 158, 0.46);
  border-radius: 11px;
  background: var(--df-teal);
  color: #07100e;
  font-weight: 700;
  line-height: 1.15;
  padding: 0.72rem 1rem;
  text-align: center;
}

.guide-header-cta:hover,
.guide-cta:hover {
  text-decoration: none;
  background: #55c3ae;
}

.guide-header-cta:focus-visible,
.guide-cta:focus-visible,
.guide-card:focus-visible {
  outline: 3px solid var(--df-teal);
  outline-offset: 3px;
}

.guide-hero {
  overflow: hidden;
  border-bottom: 1px solid var(--df-hairline);
  background:
    radial-gradient(760px 420px at 18% -8%, rgba(64, 178, 158, 0.16), transparent 64%),
    radial-gradient(640px 360px at 88% 12%, rgba(255, 167, 67, 0.10), transparent 68%);
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(2.8rem, 6vw, 4.8rem);
}

.guide-hero-inner {
  max-width: 840px;
}

.guide-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 1.25rem;
  color: var(--df-text-tertiary);
  font-size: 0.88rem;
}

.guide-breadcrumb a {
  color: var(--df-text-secondary);
}

.guide-hero h1 {
  max-width: 21ch;
  font-size: clamp(2.45rem, 6vw, 4.65rem);
  line-height: 0.99;
  letter-spacing: -0.035em;
}

.guide-hero .guide-lede {
  max-width: 65ch;
  margin: 1.4rem 0 0;
  color: var(--df-text-secondary);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  line-height: 1.55;
}

.guide-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.2rem;
  margin-top: 1.8rem;
}

.guide-hero-note {
  margin: 0;
  color: var(--df-text-tertiary);
  font-size: 0.9rem;
}

.guide-main {
  padding-block: clamp(2.8rem, 7vw, 5.5rem);
}

.guide-copy {
  max-width: 74ch;
}

.guide-copy h2 {
  margin: clamp(2.8rem, 6vw, 4.2rem) 0 0.8rem;
  color: var(--df-text);
  font-size: clamp(1.65rem, 3.4vw, 2.45rem);
  line-height: 1.13;
  letter-spacing: -0.025em;
}

.guide-copy h3 {
  margin: 2.1rem 0 0.55rem;
  color: var(--df-text);
  font-size: 1.18rem;
  line-height: 1.3;
}

.guide-copy p,
.guide-copy li {
  color: var(--df-text-secondary);
}

.guide-copy strong {
  color: var(--df-text);
}

.guide-copy ul,
.guide-copy ol {
  padding-left: 1.35rem;
}

.guide-copy li {
  margin: 0.65rem 0;
}

.guide-answer,
.guide-callout {
  margin: 0 0 2.2rem;
  border: 1px solid var(--df-hairline);
  border-top-color: rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: var(--guide-card);
  box-shadow: var(--guide-shadow);
  padding: clamp(1.25rem, 3vw, 1.8rem);
}

.guide-answer {
  border-left: 3px solid var(--df-teal);
}

.guide-answer p:last-child,
.guide-callout p:last-child {
  margin-bottom: 0;
}

.guide-label {
  margin: 0 0 0.5rem;
  color: var(--df-teal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.guide-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  border: 1px solid var(--df-hairline);
  border-radius: 16px;
  background: var(--guide-card);
  color: var(--df-text);
  padding: 1.35rem;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.guide-card:hover {
  border-color: rgba(64, 178, 158, 0.48);
  background: var(--guide-card-strong);
  text-decoration: none;
  transform: translateY(-2px);
}

.guide-card h2,
.guide-card h3 {
  margin: 0;
  color: var(--df-text);
  font-size: 1.2rem;
  line-height: 1.25;
}

.guide-card p {
  margin: 0.75rem 0 1.2rem;
  color: var(--df-text-secondary);
}

.guide-card .guide-card-link {
  margin-top: auto;
  color: var(--df-teal);
  font-weight: 650;
}

.guide-principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.guide-principle {
  border: 1px solid var(--df-hairline);
  border-radius: 14px;
  background: var(--guide-card);
  padding: 1.2rem;
}

.guide-principle h3 {
  margin-top: 0;
}

.guide-principle p:last-child {
  margin-bottom: 0;
}

.guide-media {
  margin: clamp(2.4rem, 6vw, 4rem) 0;
}

.guide-media-frame {
  overflow: hidden;
  border: 1px solid var(--df-hairline);
  border-radius: 18px;
  background: #080b0c;
  box-shadow: var(--guide-shadow);
}

.guide-media img {
  display: block;
  width: 100%;
  height: auto;
}

.guide-media figcaption {
  margin-top: 0.8rem;
  color: var(--df-text-tertiary);
  font-size: 0.9rem;
}

.guide-table-wrap {
  overflow-x: auto;
  margin: 1.4rem 0 2rem;
  border: 1px solid var(--df-hairline);
  border-radius: 15px;
}

.guide-table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  background: var(--guide-card);
  font-size: 0.95rem;
}

.guide-table th,
.guide-table td {
  border-bottom: 1px solid var(--df-hairline);
  padding: 0.9rem 1rem;
  text-align: left;
  vertical-align: top;
}

.guide-table th {
  color: var(--df-text);
  font-weight: 650;
}

.guide-table td {
  color: var(--df-text-secondary);
}

.guide-table tr:last-child td {
  border-bottom: 0;
}

.guide-related {
  margin-top: clamp(3rem, 7vw, 5rem);
  border-top: 1px solid var(--df-hairline);
  padding-top: 2rem;
}

.guide-related h2 {
  margin-top: 0;
}

.guide-cta-panel {
  margin-top: clamp(3.2rem, 7vw, 5.5rem);
  border: 1px solid rgba(64, 178, 158, 0.32);
  border-radius: 18px;
  background:
    radial-gradient(520px 220px at 8% 0%, rgba(64, 178, 158, 0.14), transparent 70%),
    var(--guide-card);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.guide-cta-panel h2 {
  margin-top: 0;
}

.guide-cta-panel p {
  max-width: 60ch;
}

.guide-disclosure {
  color: var(--df-text-tertiary);
  font-size: 0.88rem;
}

.guide-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.4rem;
  margin: 1rem 0 0.8rem;
}

@media (max-width: 760px) {
  .guide-grid,
  .guide-principles {
    grid-template-columns: 1fr;
  }

  .guide-header-cta {
    padding-inline: 0.8rem;
    font-size: 0.9rem;
  }

  .guide-hero h1 {
    max-width: none;
  }
}

@media (max-width: 430px) {
  .df-header {
    padding-inline: 1rem;
  }

  .df-wordmark {
    font-size: 1rem;
  }

  .guide-header-cta {
    max-width: 9.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .guide-card {
    transition: none;
  }
}
