:root {
  --guide-ink: #102a43;
  --guide-muted: #526575;
  --guide-line: #dce6e1;
  --guide-soft: #f4f8f6;
  --guide-accent: #1f6b55;
}

.guide-page { background: #f8faf9; color: var(--guide-ink); }
.guide-main { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; padding: clamp(2.5rem, 6vw, 5rem) 0; }
.guide-hero { max-width: 900px; padding: clamp(1.5rem, 4vw, 3rem) 0 2rem; }
.guide-hero h1 { max-width: 18ch; margin: .5rem 0 1rem; font-size: clamp(2.25rem, 5.8vw, 4.8rem); line-height: .98; letter-spacing: -.055em; }
.guide-deck { max-width: 760px; color: var(--guide-muted); font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.65; }
.guide-meta { display: flex; flex-wrap: wrap; gap: .65rem 1.2rem; margin-top: 1.4rem; color: var(--guide-muted); font-size: .88rem; }
.guide-fact-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; margin: 1rem 0 2rem; border: 1px solid var(--guide-line); border-radius: 1.1rem; background: var(--guide-line); }
.guide-fact-bar div { padding: 1rem 1.15rem; background: #fff; }
.guide-fact-bar strong { display: block; margin-bottom: .25rem; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.guide-fact-bar span { color: var(--guide-muted); line-height: 1.45; }
.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.guide-article { min-width: 0; padding: clamp(1.35rem, 3vw, 2.7rem); border: 1px solid var(--guide-line); border-radius: 1.25rem; background: #fff; box-shadow: 0 16px 45px rgba(16, 42, 67, .05); }
.guide-article h2 { margin: 2.8rem 0 .85rem; font-size: clamp(1.5rem, 3vw, 2.15rem); letter-spacing: -.035em; }
.guide-article h2:first-child { margin-top: 0; }
.guide-article h3 { margin: 1.8rem 0 .65rem; font-size: 1.12rem; }
.guide-article p, .guide-article li { color: #344b5d; line-height: 1.75; }
.guide-article li + li { margin-top: .55rem; }
.guide-article a { color: var(--guide-accent); font-weight: 700; }
.guide-note { margin: 1.5rem 0; padding: 1rem 1.1rem; border-left: 3px solid var(--guide-accent); border-radius: 0 .7rem .7rem 0; background: var(--guide-soft); }
.guide-table-wrap { overflow-x: auto; margin: 1.25rem 0; border: 1px solid var(--guide-line); border-radius: .85rem; }
.guide-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.guide-table th, .guide-table td { padding: .85rem 1rem; border-bottom: 1px solid var(--guide-line); text-align: left; vertical-align: top; line-height: 1.5; }
.guide-table th { background: var(--guide-soft); font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; }
.guide-table tr:last-child td { border-bottom: 0; }
.guide-steps { padding: 0; counter-reset: guide-step; list-style: none; }
.guide-steps li { position: relative; padding: .95rem 0 .95rem 3rem; border-bottom: 1px solid var(--guide-line); }
.guide-steps li::before { position: absolute; left: 0; top: .85rem; display: grid; width: 2rem; height: 2rem; place-items: center; border-radius: 50%; background: #153f35; color: #fff; counter-increment: guide-step; content: counter(guide-step, decimal-leading-zero); font-size: .72rem; font-weight: 800; }
.guide-toc { position: sticky; top: 6rem; padding: 1.15rem; border: 1px solid var(--guide-line); border-radius: 1rem; background: #fff; }
.guide-toc strong { display: block; margin-bottom: .65rem; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.guide-toc a { display: block; padding: .45rem 0; color: var(--guide-muted); font-size: .9rem; line-height: 1.4; text-decoration: none; }
.guide-toc a:hover, .guide-toc a:focus-visible { color: var(--guide-accent); }
.guide-faq details { padding: 1rem 0; border-bottom: 1px solid var(--guide-line); }
.guide-faq summary { cursor: pointer; color: var(--guide-ink); font-weight: 750; }
.guide-cta { margin-top: 2.6rem; padding: clamp(1.3rem, 3vw, 2rem); border-radius: 1rem; background: #153f35; color: #fff; }
.guide-cta h2 { margin-top: 0; color: #fff; }
.guide-cta p { color: #dceae5; }
.guide-cta .v2-button { margin-top: .5rem; background: #fff; color: #153f35; }
.guide-related { margin-top: 2rem; }
.guide-related h2 { margin-bottom: 1rem; font-size: 1.35rem; }
.guide-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.guide-related-grid a { padding: 1rem; border: 1px solid var(--guide-line); border-radius: .8rem; background: #fff; color: var(--guide-ink); font-weight: 700; text-decoration: none; }

@media (max-width: 820px) {
  .guide-layout { grid-template-columns: 1fr; }
  .guide-toc { position: static; order: -1; }
  .guide-fact-bar, .guide-related-grid { grid-template-columns: 1fr; }
}
