:root {
  --bg: #07130d;
  --surface: #0e2117;
  --surface-2: #142d20;
  --paper: #f4faf6;
  --ink: #102219;
  --text: #eefaf2;
  --muted: #aec6b7;
  --accent: #58e38a;
  --accent-2: #f2c75c;
  --line: rgba(170, 238, 193, .2);
  --shadow: 0 24px 70px rgba(0, 0, 0, .32);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: radial-gradient(circle at 80% 0, rgba(88, 227, 138, .11), transparent 30%), var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.02em; }
h1 { max-width: 900px; font-size: clamp(2.65rem, 7vw, 5.75rem); }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); }
h3 { font-size: 1.28rem; }

.shell { width: min(1160px, calc(100% - 36px)); margin-inline: auto; }
.site-header { width: min(1240px, calc(100% - 28px)); min-height: 82px; margin: 14px auto 0; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 24px; position: sticky; top: 12px; z-index: 20; background: rgba(7, 19, 13, .88); border: 1px solid var(--line); border-radius: 20px; backdrop-filter: blur(16px); box-shadow: var(--shadow); }
.brand { display: flex; align-items: center; gap: 12px; min-width: max-content; }
.brand img { width: 52px; height: 52px; object-fit: contain; border-radius: 14px; }
.brand span, .brand small { display: block; }
.brand strong { font-size: 1.08rem; }
.brand small { margin-top: 2px; color: var(--muted); font-size: .73rem; letter-spacing: .06em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 22px; color: var(--muted); font-size: .95rem; font-weight: 750; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--accent); }
.button { display: inline-flex; min-height: 50px; padding: 0 24px; align-items: center; justify-content: center; border: 1px solid var(--accent); border-radius: 14px; background: var(--accent); color: #06150c; font-weight: 850; box-shadow: 0 12px 30px rgba(88, 227, 138, .18); }
.button:hover { transform: translateY(-1px); }
.button-small { min-height: 44px; padding-inline: 18px; font-size: .9rem; }
.button-ghost { background: transparent; color: var(--accent); box-shadow: none; }

.hero { min-height: 720px; padding-block: 92px 70px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(310px, .85fr); gap: 64px; align-items: center; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow, .section-label { margin-bottom: 14px; color: var(--accent); font-size: .78rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.lead { max-width: 760px; margin-top: 24px; color: #d2e7d9; font-size: clamp(1.08rem, 2vw, 1.28rem); }
.notice { margin-top: 24px; padding: 16px 18px; border-left: 4px solid var(--accent-2); background: rgba(242, 199, 92, .08); color: #f4e6ba; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .92rem; }
.trust-list li::before { content: "✓"; margin-right: 8px; color: var(--accent); font-weight: 900; }
.hero-media { margin: 0; padding: 18px; position: relative; border: 1px solid var(--line); border-radius: 36px; background: linear-gradient(145deg, rgba(88, 227, 138, .11), rgba(242, 199, 92, .08)); box-shadow: var(--shadow); }
.hero-media::after { content: "Independent visual reference"; position: absolute; right: 22px; bottom: 22px; padding: 8px 12px; border-radius: 999px; background: rgba(4, 12, 8, .88); color: var(--muted); font-size: .72rem; }
.hero-media img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 26px; }

.section { margin-block: 32px; padding: clamp(26px, 5vw, 54px); border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(145deg, rgba(20, 45, 32, .9), rgba(10, 28, 18, .92)); box-shadow: var(--shadow); }
.section > h2 { max-width: 850px; margin-bottom: 28px; }
.route-grid, .error-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.route-card, .error-grid article { min-height: 250px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: rgba(2, 14, 7, .32); }
.route-card-accent { border-color: rgba(242, 199, 92, .45); }
.route-card h3, .error-grid h3 { margin: 22px 0 12px; }
.route-card p, .error-grid p { color: var(--muted); }
.step-number { color: var(--accent-2); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 900; }
.text-link { color: var(--accent); font-weight: 850; }
.split { display: grid; grid-template-columns: .75fr 1.25fr; gap: 48px; align-items: start; }
.check-panel, .warning-panel { padding: 24px; border-radius: 20px; background: rgba(1, 12, 6, .42); }
.check-list { margin: 0; padding: 0; list-style: none; }
.check-list li { padding: 13px 0 13px 30px; position: relative; border-bottom: 1px solid var(--line); }
.check-list li:last-child { border-bottom: 0; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 900; }
.danger-list li::before { content: "!"; color: var(--accent-2); }
.timeline, .guide-steps { margin: 0; padding: 0; list-style: none; counter-reset: guide; }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.timeline li { min-height: 170px; padding: 20px; border-top: 4px solid var(--accent); background: rgba(2, 14, 7, .35); }
.timeline strong, .timeline span { display: block; }
.timeline span { margin-top: 10px; color: var(--muted); }
.compact-timeline { grid-template-columns: repeat(4, 1fr); }

.breadcrumbs { display: flex; gap: 10px; padding-top: 58px; color: var(--muted); font-size: .9rem; }
.breadcrumbs a { color: var(--accent); }
.article-hero { padding-block: 54px 28px; }
.article-hero h1 { max-width: 980px; font-size: clamp(2.5rem, 6vw, 4.8rem); }
.guide-steps { display: grid; gap: 14px; }
.guide-steps li { counter-increment: guide; display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: rgba(2, 14, 7, .32); }
.guide-steps li::before { content: counter(guide, decimal-leading-zero); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--accent); color: #06150c; font-weight: 950; }
.guide-steps p { margin: 8px 0 0; color: var(--muted); }

.faq-list { display: grid; gap: 12px; }
.faq-list details { padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: rgba(2, 14, 7, .32); }
.faq-list summary { cursor: pointer; color: var(--text); font-weight: 800; }
.faq-list p { margin: 14px 0 0; color: var(--muted); }
.site-footer { margin-top: 70px; border-top: 1px solid var(--line); background: #040b07; }
.footer-inner { min-height: 150px; display: flex; align-items: center; justify-content: space-between; gap: 30px; color: var(--muted); }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 18px; color: var(--text); font-weight: 750; }

@media (max-width: 960px) {
  .site-header { position: relative; top: 0; flex-wrap: wrap; }
  .main-nav { order: 3; width: 100%; justify-content: center; padding-top: 10px; border-top: 1px solid var(--line); }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 68px; }
  .hero-media { max-width: 620px; }
  .route-grid, .error-grid { grid-template-columns: 1fr; }
  .route-card, .error-grid article { min-height: 0; }
  .split { grid-template-columns: 1fr; gap: 24px; }
  .timeline, .compact-timeline { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 24px, 1160px); }
  .site-header { width: calc(100% - 16px); margin-top: 8px; padding: 10px; border-radius: 16px; }
  .brand img { width: 44px; height: 44px; }
  .button-small { display: none; }
  .main-nav { justify-content: flex-start; gap: 16px; overflow-x: auto; white-space: nowrap; }
  .hero { padding-block: 52px 30px; gap: 34px; }
  .section { padding: 24px 18px; border-radius: 22px; }
  .timeline, .compact-timeline { grid-template-columns: 1fr; }
  .guide-steps li { grid-template-columns: 1fr; }
  .footer-inner { padding-block: 32px; flex-direction: column; align-items: flex-start; }
}
