.workspace-footer { align-items: center; flex-wrap: wrap; }
.workspace-footer > a { margin-left: 0; }
.workspace-footer-guide-menu { position: relative; margin-left: auto; }
.workspace-footer-guide-menu summary { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 7px; color: #b9c2d2; background: rgba(255, 255, 255, .025); font-size: .62rem; font-weight: 850; list-style: none; cursor: pointer; }
.workspace-footer-guide-menu summary::-webkit-details-marker { display: none; }
.workspace-footer-guide-menu summary::after { content: "+"; color: var(--gold); font-size: .78rem; }
.workspace-footer-guide-menu[open] summary::after { content: "−"; }
.workspace-footer-guides { position: absolute; z-index: 12; right: 0; bottom: calc(100% + 8px); display: grid; width: 230px; padding: 7px; border: 1px solid var(--line); border-radius: 9px; background: rgba(13, 18, 29, .98); box-shadow: 0 16px 38px rgba(0, 0, 0, .38); }
.workspace-footer-guides a { padding: 8px 9px; border-radius: 6px; color: #aeb8ca; }
.workspace-footer-guides a:hover,
.workspace-footer-guides a[aria-current="page"] { color: var(--gold); background: rgba(255, 181, 46, .075); }

.seo-guide-page { position: relative; flex: 1 0 auto; padding-top: clamp(18px, 2.5vw, 34px); overflow: hidden; }
.seo-guide-page::before { content: ""; position: absolute; z-index: -1; top: -220px; right: -170px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, var(--seo-glow, rgba(74, 217, 245, .16)), transparent 68%); pointer-events: none; }
.seo-guide-page[data-guide="app"] { --seo-accent: #b565ff; --seo-glow: rgba(181, 101, 255, .19); }
.seo-guide-page[data-guide="calculator"] { --seo-accent: #4ad9f5; --seo-glow: rgba(74, 217, 245, .17); }
.seo-guide-page[data-guide="mining-wars"] { --seo-accent: #ffb52e; --seo-glow: rgba(255, 181, 46, .17); }
.seo-guide-page[data-guide="rewards"] { --seo-accent: #4ce0a8; --seo-glow: rgba(76, 224, 168, .16); }
.seo-guide-page[data-guide="strategy"] { --seo-accent: #ff8176; --seo-glow: rgba(255, 129, 118, .15); }
.seo-breadcrumbs { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; margin-bottom: 14px; color: var(--muted-2); font-size: .64rem; }
.seo-breadcrumbs a { color: #b6c0d2; }
.seo-breadcrumbs span { color: var(--seo-accent); }
.seo-guide-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); min-height: 360px; overflow: hidden; border-color: color-mix(in srgb, var(--seo-accent) 30%, transparent); background: radial-gradient(circle at 80% 25%, color-mix(in srgb, var(--seo-accent) 17%, transparent), transparent 36%), linear-gradient(135deg, #151b29, #0c111c); }
.seo-guide-hero-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(26px, 4vw, 52px); }
.seo-guide-hero h1 { max-width: 850px; margin: 11px 0 15px; font-size: clamp(2.55rem, 5vw, 5.35rem); line-height: .93; letter-spacing: -.058em; }
.seo-guide-hero h1 em { color: var(--seo-accent); font-style: normal; }
.seo-guide-hero p { max-width: 720px; margin: 0; color: #aab4c7; font-size: clamp(.87rem, 1.25vw, 1rem); line-height: 1.65; }
.seo-guide-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.seo-guide-visual { position: relative; display: grid; place-items: center; min-height: 300px; padding: 24px; border-left: 1px solid var(--line); background: linear-gradient(145deg, rgba(255, 255, 255, .025), rgba(0, 0, 0, .18)); }
.seo-guide-visual::before { content: ""; position: absolute; width: min(78%, 310px); aspect-ratio: 1; border: 1px solid color-mix(in srgb, var(--seo-accent) 36%, transparent); border-radius: 50%; box-shadow: 0 0 0 30px color-mix(in srgb, var(--seo-accent) 5%, transparent), 0 0 70px color-mix(in srgb, var(--seo-accent) 12%, transparent); }
.seo-guide-visual img { position: relative; z-index: 1; width: min(78%, 300px); max-height: 290px; object-fit: contain; filter: drop-shadow(0 28px 35px rgba(0, 0, 0, .45)); }
.seo-guide-metric { position: relative; z-index: 1; display: grid; width: min(88%, 330px); gap: 10px; padding: 22px; border: 1px solid color-mix(in srgb, var(--seo-accent) 36%, transparent); border-radius: 15px; background: rgba(9, 14, 24, .9); box-shadow: 0 28px 55px rgba(0, 0, 0, .3); }
.seo-guide-metric span { color: var(--muted); font-size: .64rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.seo-guide-metric strong { color: var(--seo-accent); font-size: clamp(1.7rem, 3vw, 2.7rem); line-height: 1; }
.seo-guide-metric small { color: #b9c2d2; line-height: 1.5; }
.seo-guide-content { display: grid; gap: 18px; margin-top: 18px; }
.seo-guide-section { padding: clamp(22px, 3.4vw, 38px); }
.seo-guide-section-heading { display: grid; grid-template-columns: minmax(0, .8fr) minmax(280px, 1.2fr); gap: 28px; align-items: end; margin-bottom: 23px; }
.seo-guide-section h2 { margin: 7px 0 0; font-size: clamp(1.7rem, 3.2vw, 3rem); line-height: 1; letter-spacing: -.04em; }
.seo-guide-section-heading p { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.65; }
.seo-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.seo-card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.seo-info-card { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: #101621; }
.seo-info-card b { display: grid; place-items: center; width: 31px; height: 31px; margin-bottom: 15px; border: 1px solid color-mix(in srgb, var(--seo-accent) 38%, transparent); border-radius: 8px; color: var(--seo-accent); background: color-mix(in srgb, var(--seo-accent) 9%, transparent); font: 900 .66rem ui-monospace, SFMono-Regular, Consolas, monospace; }
.seo-info-card h3 { margin: 0 0 8px; font-size: .92rem; }
.seo-info-card p { margin: 0; color: var(--muted); font-size: .72rem; line-height: 1.6; }
.seo-checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.seo-checklist li { position: relative; padding: 14px 15px 14px 43px; border: 1px solid var(--line); border-radius: 9px; color: #c6cedc; background: #111722; font-size: .72rem; line-height: 1.5; }
.seo-checklist li::before { content: "✓"; position: absolute; left: 14px; top: 13px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; color: #07130f; background: var(--seo-accent); font-size: .68rem; font-weight: 950; }
.seo-faq { display: grid; gap: 8px; }
.seo-faq details { border: 1px solid var(--line); border-radius: 9px; background: #101621; }
.seo-faq summary { padding: 15px 17px; cursor: pointer; color: #eef2f8; font-size: .76rem; font-weight: 900; }
.seo-faq p { margin: 0; padding: 0 17px 17px; color: var(--muted); font-size: .71rem; line-height: 1.62; }
.seo-related-links { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.seo-related-links a { display: grid; gap: 5px; padding: 14px; border: 1px solid var(--line); border-radius: 9px; color: #dce2ed; background: #101621; font-size: .68rem; font-weight: 850; }
.seo-related-links a span { color: var(--seo-accent); font: 800 .53rem ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .08em; }
.seo-related-links a[aria-current="page"] { border-color: color-mix(in srgb, var(--seo-accent) 45%, transparent); background: color-mix(in srgb, var(--seo-accent) 7%, #101621); }
.seo-guide-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: clamp(22px, 3vw, 34px); border-color: color-mix(in srgb, var(--seo-accent) 35%, transparent); background: linear-gradient(120deg, color-mix(in srgb, var(--seo-accent) 10%, #131927), #101621); }
.seo-guide-cta h2 { margin: 6px 0 7px; font-size: clamp(1.45rem, 2.7vw, 2.35rem); }
.seo-guide-cta p { max-width: 720px; margin: 0; color: var(--muted); font-size: .75rem; line-height: 1.55; }
.seo-guide-cta .seo-guide-actions { flex: 0 0 auto; margin-top: 0; }
.seo-disclaimer { margin: 0; padding: 0 4px; color: var(--muted-2); font-size: .61rem; line-height: 1.55; }

@media (max-width: 1040px) {
  .seo-guide-hero { grid-template-columns: minmax(0, 1fr) 300px; }
  .seo-card-grid { grid-template-columns: 1fr 1fr; }
  .seo-related-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .workspace-footer-guide-menu { flex: 1 0 100%; order: 3; margin-left: 0; }
  .workspace-footer-guide-menu summary { width: 100%; justify-content: space-between; }
  .workspace-footer-guides { position: static; width: 100%; margin-top: 6px; box-shadow: none; }
  .seo-guide-page { padding-top: 16px; }
  .seo-guide-hero { grid-template-columns: 1fr; }
  .seo-guide-hero h1 { font-size: clamp(2.45rem, 12vw, 4.2rem); }
  .seo-guide-visual { min-height: 230px; border-top: 1px solid var(--line); border-left: 0; }
  .seo-guide-visual img { max-height: 220px; }
  .seo-guide-section-heading { grid-template-columns: 1fr; gap: 12px; }
  .seo-card-grid, .seo-card-grid.two, .seo-checklist { grid-template-columns: 1fr; }
  .seo-related-links { grid-template-columns: 1fr 1fr; }
  .seo-guide-cta { align-items: stretch; flex-direction: column; }
  .seo-guide-cta .seo-guide-actions { width: 100%; }
}

@media (max-width: 460px) {
  .seo-guide-hero-copy { padding: 25px 20px; }
  .seo-guide-actions .button { width: 100%; }
  .seo-related-links { grid-template-columns: 1fr; }
}
