:root {
  color-scheme: light;
  --guide-ink: #101a2b;
  --guide-muted: #566276;
  --guide-line: #dce3ee;
  --guide-bg: #f5f7fb;
  --guide-card: #ffffff;
  --guide-blue: #3158c8;
  --guide-blue-dark: #173c73;
  --guide-gold: #f2bd47;
  --guide-soft: #eaf0ff;
  --guide-teal: #087f76;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--guide-bg);
  color: var(--guide-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
a { color: var(--guide-blue-dark); }
a:hover { color: var(--guide-blue); }
.guide-shell { width: min(1120px, calc(100% - 36px)); margin: 0 auto; }
.guide-nav {
  position: sticky; top: 0; z-index: 10; border-bottom: 1px solid rgba(220, 227, 238, 0.9);
  background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(14px);
}
.guide-nav-inner { min-height: 68px; display: flex; align-items: center; gap: 24px; }
.guide-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--guide-ink); font-weight: 850; text-decoration: none; }
.guide-brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--guide-blue-dark); color: var(--guide-gold); font-size: 13px; }
.guide-nav-links { display: flex; align-items: center; gap: 18px; margin-left: auto; font-size: 14px; font-weight: 700; }
.guide-nav-links a { color: var(--guide-muted); text-decoration: none; }
.guide-nav-links .guide-button { color: #fff; }
.guide-button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px;
  border-radius: 999px; background: var(--guide-blue); color: #fff; font-weight: 800; text-decoration: none;
  box-shadow: 0 10px 24px rgba(49, 88, 200, 0.22);
}
.guide-button:hover { background: var(--guide-blue-dark); color: #fff; }
.guide-breadcrumbs { padding: 26px 0 0; font-size: 13px; color: var(--guide-muted); }
.guide-breadcrumbs a { color: inherit; }
.guide-hero { padding: 54px 0 42px; text-align: center; }
.guide-eyebrow { margin: 0 0 12px; color: var(--guide-blue); font-size: 12px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.guide-hero h1 { max-width: 900px; margin: 0 auto 20px; font-size: clamp(38px, 6vw, 64px); line-height: 1.04; letter-spacing: -.035em; }
.guide-dek { max-width: 760px; margin: 0 auto 26px; color: var(--guide-muted); font-size: clamp(18px, 2.4vw, 22px); }
.guide-meta { color: var(--guide-muted); font-size: 13px; }
.guide-layout { display: grid; grid-template-columns: minmax(0, 760px) 270px; gap: 42px; align-items: start; padding: 10px 0 72px; }
.guide-article { min-width: 0; }
.guide-article h2 { margin: 46px 0 14px; font-size: clamp(27px, 4vw, 36px); line-height: 1.16; letter-spacing: -.02em; }
.guide-article h3 { margin: 28px 0 8px; font-size: 21px; line-height: 1.25; }
.guide-article p, .guide-article li { font-size: 17px; }
.guide-article ul, .guide-article ol { padding-left: 24px; }
.guide-article li + li { margin-top: 8px; }
.guide-answer, .guide-note, .guide-cta, .guide-faq, .guide-card {
  border: 1px solid var(--guide-line); border-radius: 18px; background: var(--guide-card); box-shadow: 0 12px 34px rgba(16, 26, 43, 0.06);
}
.guide-answer { padding: 26px 28px; border-left: 6px solid var(--guide-gold); }
.guide-answer strong { display: block; margin-bottom: 7px; font-size: 18px; }
.guide-answer p { margin: 0; }
.guide-note { padding: 22px 24px; margin: 28px 0; background: var(--guide-soft); }
.guide-note strong { color: var(--guide-blue-dark); }
.guide-checklist { display: grid; gap: 12px; padding: 0; list-style: none; }
.guide-checklist li { position: relative; padding: 15px 18px 15px 50px; border: 1px solid var(--guide-line); border-radius: 13px; background: var(--guide-card); }
.guide-checklist li::before { content: "✓"; position: absolute; left: 17px; top: 14px; color: var(--guide-teal); font-weight: 900; }
.guide-steps { counter-reset: guide-step; display: grid; gap: 16px; }
.guide-step { position: relative; padding: 22px 22px 22px 72px; border: 1px solid var(--guide-line); border-radius: 16px; background: var(--guide-card); }
.guide-step::before { counter-increment: guide-step; content: counter(guide-step); position: absolute; left: 20px; top: 20px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--guide-blue); color: #fff; font-weight: 900; }
.guide-step h3 { margin-top: 0; }
.guide-step p { margin-bottom: 0; }
.guide-table-wrap { overflow-x: auto; margin: 24px 0; border: 1px solid var(--guide-line); border-radius: 15px; background: var(--guide-card); }
.guide-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.guide-table th, .guide-table td { padding: 14px 16px; border-bottom: 1px solid var(--guide-line); text-align: left; vertical-align: top; }
.guide-table th { background: var(--guide-soft); color: var(--guide-blue-dark); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.guide-table tr:last-child td { border-bottom: 0; }
.guide-sidebar { position: sticky; top: 92px; display: grid; gap: 16px; }
.guide-card { padding: 20px; }
.guide-card h2, .guide-card h3 { margin-top: 0; font-size: 18px; }
.guide-card ul { margin: 0; padding-left: 19px; }
.guide-card li { font-size: 14px; }
.guide-card .guide-button { width: 100%; margin-top: 10px; }
.guide-cta { margin: 48px 0 0; padding: 34px; color: #fff; background: linear-gradient(135deg, var(--guide-blue-dark), #0d1d3d); border: 0; text-align: center; }
.guide-cta h2 { margin: 0 0 10px; color: #fff; }
.guide-cta p { max-width: 620px; margin: 0 auto 20px; color: rgba(255,255,255,.82); }
.guide-cta .guide-button { background: var(--guide-gold); color: #1c2534; box-shadow: none; }
.guide-faq { padding: 0 24px; margin-top: 16px; }
.guide-faq summary { cursor: pointer; padding: 18px 0; font-weight: 800; }
.guide-faq p { margin: -4px 0 20px; color: var(--guide-muted); }
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.guide-grid .guide-card { color: inherit; text-decoration: none; transition: transform .18s ease, border-color .18s ease; }
.guide-grid .guide-card:hover { transform: translateY(-3px); border-color: var(--guide-blue); }
.guide-tag { display: inline-flex; padding: 4px 9px; border-radius: 999px; background: var(--guide-soft); color: var(--guide-blue-dark); font-size: 12px; font-weight: 800; }
.guide-footer { padding: 28px 0 42px; border-top: 1px solid var(--guide-line); color: var(--guide-muted); font-size: 13px; }
.guide-footer-inner { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.guide-footer a { color: inherit; }
.guide-footer span { margin-left: auto; }

@media (max-width: 860px) {
  .guide-layout { grid-template-columns: 1fr; }
  .guide-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-nav-links a:not(.guide-button) { display: none; }
}
@media (max-width: 620px) {
  .guide-shell { width: min(100% - 26px, 1120px); }
  .guide-nav-inner { min-height: 60px; }
  .guide-brand span:last-child { display: none; }
  .guide-nav-links { gap: 10px; }
  .guide-nav-links .guide-button { min-height: 40px; padding-inline: 15px; font-size: 13px; }
  .guide-hero { padding: 38px 0 30px; text-align: left; }
  .guide-hero h1 { font-size: 40px; }
  .guide-dek { font-size: 18px; }
  .guide-layout { gap: 28px; padding-bottom: 48px; }
  .guide-answer, .guide-note, .guide-cta { padding: 22px; }
  .guide-step { padding-left: 64px; }
  .guide-sidebar, .guide-grid { grid-template-columns: 1fr; }
  .guide-footer span { width: 100%; margin-left: 0; }
}
