:root {
  color-scheme: dark;
  --bg: #07101f;
  --bg-deep: #040a13;
  --surface: #0c1828;
  --surface-raised: #112136;
  --text: #f3f7fb;
  --muted: #9baabd;
  --line: rgba(155, 181, 207, 0.18);
  --green: #27df89;
  --green-bright: #64f2ae;
  --gold: #f3c552;
  --danger: #ec5f5f;
  --shell: min(1180px, calc(100vw - 48px));
  --display: "Barlow Condensed", Impact, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --hero-image: image-set(url("/assets/openfront-hero.avif") type("image/avif"), url("/assets/openfront-hero.webp") type("image/webp"), url("/assets/openfront-hero.png") type("image/png"));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--text); font-family: var(--body); line-height: 1.6; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { max-width: 100%; display: block; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; left: 16px; top: 12px; transform: translateY(-160%); padding: 10px 14px; color: #02100a; background: var(--green); font-weight: 700; }
.skip-link:focus { transform: none; }

.site-header { position: fixed; z-index: 50; inset: 0 0 auto; height: 76px; border-bottom: 1px solid transparent; transition: background 180ms ease, border-color 180ms ease; }
.site-header.is-scrolled { background: rgba(5, 13, 24, 0.92); border-color: var(--line); backdrop-filter: blur(16px); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand span { display: grid; line-height: 1; text-transform: uppercase; letter-spacing: 0.08em; }
.brand strong { font-family: var(--display); font-size: 1.16rem; }
.brand small { margin-top: 5px; color: var(--green); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.24em; }
.primary-nav { flex: 1; }
.primary-nav ul { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 1.7vw, 28px); margin: 0; padding: 0; list-style: none; }
.primary-nav a { padding: 10px 0; color: #c0cad6; font-size: 0.77rem; font-weight: 600; white-space: nowrap; }
.primary-nav a:hover, .primary-nav a:focus-visible, .primary-nav a[aria-current="page"] { color: var(--green-bright); }
.header-actions { display: flex; align-items: center; gap: 13px; }
.search-trigger { display: inline-flex; align-items: center; gap: 7px; padding: 8px; border: 0; color: #d6dfe8; background: transparent; cursor: pointer; }
.search-trigger svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.search-trigger span { font-size: 0.74rem; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 22px; border: 1px solid var(--green); border-radius: 3px; color: #03150d; background: var(--green); box-shadow: 0 12px 32px rgba(39, 223, 137, 0.18); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; transition: transform 160ms ease, background 160ms ease; }
.button:hover { transform: translateY(-2px); background: var(--green-bright); }
.button:focus-visible, .text-link:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--green-bright); outline-offset: 4px; }
.button-compact { min-height: 39px; padding-inline: 16px; font-size: 0.68rem; }
.button-secondary { color: var(--text); border-color: rgba(255,255,255,.42); background: rgba(7,16,31,.44); box-shadow: none; }
.button-secondary:hover { background: rgba(255,255,255,.1); }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--green-bright); font-size: 0.78rem; font-weight: 700; letter-spacing: .03em; }
.text-link span { transition: transform 150ms ease; }
.text-link:hover span { transform: translateX(4px); }
.menu-toggle { display: none; }

.hero { position: relative; isolation: isolate; min-height: 790px; display: grid; align-items: center; overflow: hidden; padding: 126px 0 82px; background: #0a1625; }
.hero-backdrop { position: absolute; z-index: -2; inset: 0; background-color: #0a1625; background-image: url("/assets/openfront-hero.png"); background-image: var(--hero-image); background-position: center; background-size: cover; background-repeat: no-repeat; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(4,10,19,.86) 0%, rgba(4,10,19,.58) 43%, rgba(4,10,19,.38) 72%, rgba(4,10,19,.56) 100%), linear-gradient(0deg, rgba(7,16,31,.92) 0%, transparent 35%, rgba(4,10,19,.28) 100%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(39,223,137,.55), transparent); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(400px, .97fr); gap: clamp(44px, 6vw, 86px); align-items: center; }
.eyebrow { margin: 0 0 16px; color: var(--green-bright); font-size: .68rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 28px; height: 1px; margin: 0 9px 3px 0; background: var(--green); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); line-height: .98; text-transform: uppercase; }
h1 { max-width: 650px; margin-bottom: 24px; font-size: clamp(3.9rem, 7.2vw, 6.8rem); letter-spacing: -.035em; }
h1 em { color: var(--green-bright); font-style: normal; text-shadow: 0 0 30px rgba(39,223,137,.2); }
.hero-lead { max-width: 600px; margin-bottom: 28px; color: #c6d0dc; font-size: clamp(.98rem, 1.2vw, 1.1rem); line-height: 1.75; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.hero-actions .text-link { margin-left: 6px; }
.hero-stats { display: flex; gap: 0; margin: 40px 0 0; padding: 0; list-style: none; }
.hero-stats li { display: grid; min-width: 126px; padding: 0 22px; border-left: 1px solid rgba(255,255,255,.24); }
.hero-stats li:first-child { padding-left: 0; border-left: 0; }
.hero-stats strong { color: var(--text); font-family: var(--display); font-size: 1.45rem; line-height: 1; }
.hero-stats span { margin-top: 7px; color: #98a8b9; font-size: .61rem; letter-spacing: .04em; text-transform: uppercase; }
.video-panel { position: relative; padding: 10px; border: 1px solid rgba(115,243,180,.32); background: rgba(6,15,27,.72); box-shadow: 0 32px 80px rgba(0,0,0,.45); backdrop-filter: blur(10px); }
.video-panel::before, .video-panel::after { content: ""; position: absolute; width: 18px; height: 18px; border-color: var(--green); }
.video-panel::before { left: -4px; top: -4px; border-top: 2px solid; border-left: 2px solid; }
.video-panel::after { right: -4px; bottom: -4px; border-right: 2px solid; border-bottom: 2px solid; }
.panel-label { display: flex; align-items: center; gap: 8px; padding: 2px 2px 10px; color: #c9d7e5; font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--danger); box-shadow: 0 0 12px rgba(236,95,95,.8); }
.video-frame { aspect-ratio: 16 / 9; overflow: hidden; background: #020509; }
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.video-fallback { display: inline-flex; gap: 6px; margin: 10px 2px 0; color: #aab7c5; font-size: .68rem; }
.video-fallback:hover { color: var(--green-bright); }

.section { position: relative; padding: 104px 0; }
.section-heading { margin-bottom: 42px; }
.section-heading h2, .final-cta h2 { margin-bottom: 0; font-size: clamp(2.6rem, 4.6vw, 4.4rem); letter-spacing: -.02em; }
.section-heading > p, .split-heading > p { color: var(--muted); }
.split-heading { display: flex; align-items: end; justify-content: space-between; gap: 48px; }
.split-heading > p { max-width: 470px; margin-bottom: 4px; }
.centered-heading { max-width: 680px; margin-inline: auto; text-align: center; }
.centered-heading > p:last-child { max-width: 560px; margin: 16px auto 0; }
.section-start { background: var(--bg); }
.start-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.start-card { position: relative; min-height: 290px; padding: 34px 28px; border-right: 1px solid var(--line); background: linear-gradient(145deg, rgba(17,33,54,.78), rgba(8,18,31,.7)); transition: background 180ms ease, transform 180ms ease; }
.start-card:last-child { border-right: 0; }
.start-card:hover { z-index: 1; transform: translateY(-6px); background: linear-gradient(145deg, rgba(21,50,61,.92), rgba(9,26,35,.9)); }
.card-number { color: var(--green); font-family: var(--display); font-size: .85rem; letter-spacing: .12em; }
.start-card h3 { margin: 58px 0 16px; font-size: 1.7rem; }
.start-card p, .system-card p, .path-card p, .latest-card p { color: var(--muted); font-size: .85rem; }
.card-arrow { position: absolute; right: 24px; bottom: 22px; color: var(--green-bright); font-size: 1.2rem; }

.section-systems { background: var(--bg-deep); }
.section-systems::before { content: ""; position: absolute; inset: 0; opacity: .14; background-image: linear-gradient(rgba(39,223,137,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(39,223,137,.12) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent); pointer-events: none; }
.systems-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.system-card { position: relative; display: flex; align-items: flex-start; min-height: 162px; gap: 16px; padding: 25px 23px; border: 1px solid var(--line); background: rgba(12,24,40,.84); }
.system-card:hover { border-color: rgba(39,223,137,.55); background: var(--surface-raised); }
.system-icon { display: grid; flex: 0 0 42px; height: 42px; place-items: center; border: 1px solid rgba(39,223,137,.35); color: var(--green-bright); background: rgba(39,223,137,.08); font-family: var(--display); font-size: .78rem; }
.system-card h3 { margin: 2px 0 10px; font-size: 1.2rem; }
.system-card p { margin: 0; line-height: 1.55; }
.system-card .card-arrow { right: 17px; bottom: 12px; font-size: .9rem; }

.section-paths { overflow: hidden; background: linear-gradient(120deg, #0b1728, #07101f); }
.section-paths::after { content: ""; position: absolute; width: 520px; height: 520px; top: 4%; right: -240px; border: 1px solid rgba(39,223,137,.1); border-radius: 50%; box-shadow: 0 0 0 80px rgba(39,223,137,.025), 0 0 0 160px rgba(39,223,137,.018); pointer-events: none; }
.paths-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.path-card { position: relative; min-height: 320px; padding: 32px; overflow: hidden; border: 1px solid var(--line); background: rgba(10,23,39,.86); }
.path-card:hover { border-color: rgba(39,223,137,.55); transform: translateY(-4px); }
.path-number { position: absolute; right: 20px; top: 5px; color: rgba(255,255,255,.045); font-family: var(--display); font-size: 8.4rem; line-height: 1; }
.path-label { display: inline-block; margin-bottom: 74px; padding: 5px 8px; border: 1px solid rgba(243,197,82,.4); color: var(--gold); font-size: .58rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.path-card h3 { margin-bottom: 16px; font-size: 2rem; }
.path-card p { max-width: 330px; margin-bottom: 24px; }

.section-about { background: #091422; }
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(50px, 8vw, 110px); align-items: center; }
.about-copy h2 { max-width: 620px; margin-bottom: 28px; font-size: clamp(3rem, 5.2vw, 4.8rem); }
.about-copy > p:not(.eyebrow) { max-width: 650px; color: var(--muted); }
.about-copy .text-link { margin-top: 14px; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border: 1px solid var(--line); }
.about-stats div { min-height: 145px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(15,30,49,.72); }
.about-stats div:nth-child(2n) { border-right: 0; }
.about-stats div:nth-last-child(-n+2) { border-bottom: 0; }
.about-stats dt { margin-bottom: 13px; color: var(--green-bright); font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.about-stats dd { margin: 0; font-family: var(--display); font-size: 1.35rem; line-height: 1.15; text-transform: uppercase; }

.section-latest { background: var(--bg); }
.latest-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.latest-card { min-height: 262px; padding: 26px; border-top: 2px solid rgba(39,223,137,.6); background: var(--surface); }
.category-tag { color: var(--green-bright); font-size: .6rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.latest-card h3 { margin: 34px 0 14px; font-size: 1.55rem; line-height: 1.05; }
.latest-card h3 a:hover { color: var(--green-bright); }
.latest-card .text-link { margin-top: 10px; }

.final-cta { padding: 72px 0; border-top: 1px solid rgba(39,223,137,.3); border-bottom: 1px solid rgba(39,223,137,.3); background-color: #08211f; background-image: linear-gradient(100deg, rgba(13,63,55,.85), rgba(8,27,36,.92)), url("/assets/openfront-hero.png"); background-image: linear-gradient(100deg, rgba(13,63,55,.85), rgba(8,27,36,.92)), var(--hero-image); background-position: center 55%; background-size: cover; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.cta-inner > div:first-child { max-width: 720px; }
.final-cta h2 { margin-bottom: 16px; }
.final-cta p:not(.eyebrow) { margin: 0; color: #c5d3dd; }
.cta-actions { display: flex; gap: 12px; flex: 0 0 auto; }

.site-footer { padding: 70px 0 24px; background: #03080f; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 64px; }
.footer-about p { max-width: 340px; margin-top: 22px; color: #7f8c9b; font-size: .8rem; }
.site-footer h3 { margin-bottom: 20px; color: #aab7c5; font-family: var(--body); font-size: .65rem; letter-spacing: .14em; text-transform: uppercase; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: 11px; }
.site-footer li a { color: #8e9aa8; font-size: .76rem; }
.site-footer a:hover { color: var(--green-bright); }
.footer-bottom { display: flex; justify-content: space-between; gap: 36px; margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line); color: #647181; font-size: .68rem; }
.footer-bottom p { max-width: 720px; margin: 0; }
.footer-bottom div { display: flex; gap: 24px; flex: 0 0 auto; }

@media (max-width: 1050px) {
  .search-trigger span, .primary-nav li:nth-child(7), .primary-nav li:nth-child(8) { display: none; }
  .hero-grid { grid-template-columns: 1fr 420px; gap: 34px; }
  .hero-stats li { min-width: 108px; padding-inline: 15px; }
  .start-grid, .latest-grid { grid-template-columns: repeat(2, 1fr); }
  .start-card:nth-child(2) { border-right: 0; }
  .start-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .systems-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.7fr repeat(3, 1fr); gap: 34px; }
}

@media (max-width: 820px) {
  :root { --shell: min(100% - 36px, 720px); }
  .site-header { height: 68px; background: rgba(5,13,24,.88); backdrop-filter: blur(12px); }
  .header-inner { justify-content: space-between; }
  .menu-toggle { display: grid; width: 42px; height: 42px; padding: 10px; place-content: center; gap: 5px; border: 1px solid var(--line); background: rgba(7,16,31,.8); cursor: pointer; order: 3; }
  .menu-toggle span:not(.sr-only) { display: block; width: 20px; height: 2px; background: var(--text); }
  .primary-nav { position: fixed; inset: 68px 0 auto; display: none; padding: 20px 18px 28px; border-bottom: 1px solid var(--line); background: rgba(5,13,24,.98); }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { display: grid; justify-content: stretch; gap: 0; }
  .primary-nav li:nth-child(n) { display: block; }
  .primary-nav a { display: block; padding: 13px 6px; border-bottom: 1px solid rgba(255,255,255,.06); font-size: .85rem; }
  .header-actions { margin-left: auto; }
  .search-trigger { display: none; }
  .hero { min-height: auto; padding: 120px 0 76px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-backdrop { background-position: 48% center; }
  .hero::before { background: linear-gradient(90deg, rgba(4,10,19,.83), rgba(4,10,19,.52)), linear-gradient(0deg, rgba(7,16,31,.96), rgba(4,10,19,.15) 60%, rgba(4,10,19,.55)); }
  h1 { font-size: clamp(4rem, 12vw, 6rem); }
  .video-panel { max-width: 680px; }
  .section { padding: 82px 0; }
  .split-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
  .paths-grid { grid-template-columns: 1fr; }
  .path-card { min-height: 260px; }
  .path-label { margin-bottom: 48px; }
  .about-grid { grid-template-columns: 1fr; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  :root { --shell: calc(100% - 28px); --hero-image: image-set(url("/assets/openfront-hero-mobile.avif") type("image/avif"), url("/assets/openfront-hero-mobile.webp") type("image/webp"), url("/assets/openfront-hero.png") type("image/png")); }
  .brand strong { font-size: 1rem; }
  .brand img { width: 38px; height: 38px; }
  .header-actions .button { display: none; }
  .hero { padding-top: 110px; }
  h1 { font-size: clamp(3.35rem, 16vw, 4.8rem); }
  .hero-lead { font-size: .92rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { justify-content: center; margin: 4px 0 0; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); }
  .hero-stats li { min-width: 0; padding: 0 10px; }
  .hero-stats strong { font-size: 1.2rem; }
  .hero-stats span { font-size: .5rem; line-height: 1.4; }
  .video-panel { padding: 7px; }
  .panel-label { font-size: .58rem; }
  .section { padding: 70px 0; }
  .section-heading h2, .final-cta h2 { font-size: 2.7rem; }
  .start-grid, .systems-grid, .latest-grid { grid-template-columns: 1fr; }
  .start-card { min-height: 245px; border-right: 0; border-bottom: 1px solid var(--line); }
  .start-card:nth-child(n) { border-right: 0; border-bottom: 1px solid var(--line); }
  .start-card:last-child { border-bottom: 0; }
  .start-card h3 { margin-top: 38px; }
  .about-stats { grid-template-columns: 1fr; }
  .about-stats div:nth-child(n) { min-height: 115px; border-right: 0; border-bottom: 1px solid var(--line); }
  .about-stats div:last-child { border-bottom: 0; }
  .cta-actions { width: 100%; flex-direction: column; }
  .cta-actions .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 28px; }
  .footer-about { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom div { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Shared guide pages */
.guide-main { background: var(--bg); }
.guide-hero { position: relative; overflow: hidden; padding: 142px 0 78px; border-bottom: 1px solid var(--line); background-color: #07101f; background-image: linear-gradient(90deg, rgba(4,10,19,.92), rgba(6,22,31,.76)), url("/assets/openfront-hero.png"); background-image: linear-gradient(90deg, rgba(4,10,19,.92), rgba(6,22,31,.76)), var(--hero-image); background-position: center 48%; background-size: cover; }
.guide-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, var(--green), transparent); opacity: .55; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 36px; color: var(--muted); font-size: .72rem; }
.breadcrumbs a { color: var(--green-bright); }
.guide-hero h1 { max-width: 850px; margin-bottom: 22px; font-size: clamp(3.6rem, 7vw, 6.4rem); }
.guide-dek { max-width: 760px; margin-bottom: 26px; color: #c8d3df; font-size: clamp(1rem, 1.5vw, 1.18rem); line-height: 1.75; }
.guide-meta { display: flex; flex-wrap: wrap; gap: 10px; }
.guide-meta span { padding: 7px 10px; border: 1px solid rgba(39,223,137,.28); color: #a9bbca; background: rgba(4,10,19,.54); font-size: .65rem; letter-spacing: .04em; text-transform: uppercase; }
.guide-layout { display: grid; grid-template-columns: 220px minmax(0, 760px); justify-content: center; gap: clamp(44px, 7vw, 90px); padding-top: 74px; padding-bottom: 104px; }
.guide-toc { position: sticky; top: 108px; align-self: start; padding: 22px; border: 1px solid var(--line); background: var(--surface); }
.guide-toc strong { display: block; margin-bottom: 14px; color: var(--green-bright); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.guide-toc ol { margin: 0; padding-left: 20px; color: #8190a0; }
.guide-toc li + li { margin-top: 9px; }
.guide-toc a { color: #aab7c5; font-size: .73rem; line-height: 1.35; }
.guide-toc a:hover { color: var(--green-bright); }
.guide-article { min-width: 0; }
.direct-answer { margin-bottom: 48px; padding: 24px 26px; border-left: 3px solid var(--green); color: #dbe4ec; background: linear-gradient(90deg, rgba(39,223,137,.1), rgba(17,33,54,.52)); font-size: 1.03rem; line-height: 1.75; }
.guide-section { margin-top: 52px; scroll-margin-top: 100px; }
.guide-section h2, .related-guides h2 { margin-bottom: 22px; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; }
.guide-section h3 { margin: 30px 0 13px; color: #dfe8f0; font-size: 1.25rem; letter-spacing: .01em; }
.guide-section p, .guide-section li { color: #aab7c5; font-size: .95rem; line-height: 1.85; }
.guide-section p + p { margin-top: 18px; }
.guide-section ul, .guide-section ol { margin: 20px 0 24px; padding-left: 24px; }
.guide-section li + li { margin-top: 9px; }
.guide-section strong { color: var(--text); }
.faq-section details { border-top: 1px solid var(--line); }
.faq-section details:last-child { border-bottom: 1px solid var(--line); }
.faq-section summary { padding: 18px 4px; color: #dce5ee; cursor: pointer; font-weight: 700; }
.faq-section details p { padding: 0 4px 18px; margin: 0; }
.related-guides { margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--line); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.related-card { min-width: 0; padding: 20px; border: 1px solid var(--line); background: var(--surface); }
.related-card:hover { border-color: rgba(39,223,137,.55); }
.related-card > span { display: block; color: var(--text); font-family: var(--display); font-size: 1.12rem; text-transform: uppercase; }
.related-card p { margin: 10px 0 18px; color: var(--muted); font-size: .76rem; line-height: 1.55; }
.related-card strong { color: var(--green-bright); font-size: .68rem; }

@media (max-width: 820px) {
  .guide-hero { padding: 118px 0 62px; }
  .guide-hero h1 { font-size: clamp(3.2rem, 11vw, 5.4rem); }
  .guide-layout { grid-template-columns: minmax(0, 720px); padding-top: 54px; }
  .guide-toc { position: static; }
}

@media (max-width: 560px) {
  .guide-hero { padding: 104px 0 52px; background-position: 48% center; }
  .guide-hero h1 { font-size: clamp(2.85rem, 14vw, 4.2rem); }
  .guide-layout { gap: 36px; padding-top: 38px; padding-bottom: 76px; }
  .direct-answer { padding: 20px; }
  .guide-section { margin-top: 42px; }
  .related-grid { grid-template-columns: 1fr; }
}
