:root {
  --ink: #171529;
  --muted: #625f72;
  --violet: #242047;
  --violet-2: #342d67;
  --violet-soft: #eeeafd;
  --lime: #dfff70;
  --cyan: #86e8ff;
  --warm: #fbfaf7;
  --surface: #fff;
  --line: #dedbe9;
  --shell: 1120px;
  --shadow: 0 24px 70px rgba(30, 26, 64, .11);
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--warm);
  font: 16px/1.65 Inter, Manrope, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2 { margin: 0; letter-spacing: -.04em; line-height: 1.04; text-wrap: balance; }
p { margin-top: 0; }
.seo-shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.skip-link {
  position: fixed; z-index: 1000; top: 12px; left: 16px; padding: 11px 15px;
  color: #fff; border-radius: 12px; background: var(--violet); transform: translateY(-160%);
}
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid #147f99; outline-offset: 3px; }

.seo-header {
  position: sticky; z-index: 100; top: 0; border-bottom: 1px solid rgba(36,32,71,.1);
  background: rgba(251,250,247,.96); backdrop-filter: blur(12px);
}
.header-row { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.seo-brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.seo-brand img { border-radius: 14px; }
.seo-brand span { display: grid; }
.seo-brand b { font-size: 1.05rem; letter-spacing: -.02em; }
.seo-brand small { color: var(--muted); font-size: .7rem; line-height: 1.35; }
.header-row nav { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 2.4vw, 30px); margin-inline: auto; }
.header-row nav a {
  min-height: 44px; display: inline-flex; align-items: center; color: #464252;
  font-size: .86rem; font-weight: 700; border-bottom: 2px solid transparent;
}
.header-row nav a:hover { color: var(--violet-2); border-color: var(--violet-2); }
.header-action, .hero-actions a, .seo-cta a {
  min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 22px;
  border-radius: 999px; font-weight: 800; line-height: 1.2; transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.header-action, .hero-actions .primary { color: #fff; background: var(--violet); }
.header-action:hover, .hero-actions .primary:hover, .seo-cta a:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(36,32,71,.2); }

.breadcrumbs { display: flex; align-items: center; gap: 10px; padding-top: 26px; color: var(--muted); font-size: .77rem; }
.breadcrumbs a { text-decoration: underline; text-underline-offset: 3px; }
.seo-hero {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(330px, .78fr); gap: clamp(44px, 7vw, 90px);
  align-items: center; padding-block: clamp(46px, 7vw, 86px) clamp(74px, 9vw, 116px);
}
.eyebrow { margin-bottom: 18px; color: var(--violet-2); font-size: .76rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.hero-copy h1 { max-width: 720px; font-size: clamp(2.55rem, 5vw, 4.85rem); }
.hero-copy .lead { max-width: 710px; margin: 26px 0; color: #454150; font-size: clamp(1.05rem, 1.65vw, 1.25rem); }
.hero-copy ul, .seo-section ul { display: grid; gap: 11px; padding: 0; margin: 0; list-style: none; }
.hero-copy li, .seo-section li { display: flex; align-items: flex-start; gap: 11px; }
.hero-copy li span, .seo-section li span { color: #39765c; font-weight: 900; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-actions .secondary { border: 1px solid var(--line); background: #fff; }
.hero-actions .secondary:hover { border-color: var(--violet-2); background: var(--violet-soft); }
.cta-note { max-width: 680px; margin: 13px 0 0; color: var(--muted); font-size: .78rem; }

.route-card {
  position: relative; overflow: hidden; padding: clamp(28px, 4vw, 46px); color: #fff;
  border: 1px solid rgba(255,255,255,.12); border-radius: 30px;
  background: linear-gradient(145deg, var(--violet), #17162b 75%); box-shadow: var(--shadow);
}
.route-card::after {
  position: absolute; right: -55px; bottom: -60px; width: 190px; height: 190px;
  border: 1px solid rgba(134,232,255,.3); border-radius: 50%; content: "";
}
.route-card > small { position: relative; z-index: 1; color: var(--lime); font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.route-card ol { position: relative; z-index: 1; display: grid; gap: 0; padding: 0; margin: 28px 0 0; list-style: none; counter-reset: none; }
.route-card li { min-height: 68px; display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 14px; border-bottom: 1px solid rgba(255,255,255,.12); }
.route-card li:last-child { border: 0; }
.route-card i { width: 34px; height: 34px; display: grid; place-items: center; color: var(--ink); border-radius: 50%; background: var(--lime); font-style: normal; font-weight: 850; }

.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .42fr); gap: clamp(44px, 7vw, 84px); align-items: start; padding-block: clamp(72px, 9vw, 120px); border-top: 1px solid var(--line); }
.seo-section + .seo-section { margin-top: clamp(60px, 8vw, 94px); }
.seo-section h2 { max-width: 760px; margin-bottom: 24px; font-size: clamp(2rem, 3.7vw, 3.35rem); }
.seo-section p { max-width: 790px; color: #484452; font-size: 1.03rem; }
.seo-section p + p { margin-top: 18px; }
.seo-section ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; margin-top: 26px; }
.seo-section li { padding: 14px 16px; border: 1px solid var(--line); border-radius: 15px; background: #fff; font-size: .89rem; }
.article-aside { position: sticky; top: 104px; display: grid; gap: 14px; }
.article-aside > div { padding: 25px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.article-aside > div:first-child { color: #fff; border-color: transparent; background: var(--violet); }
.article-aside small { color: var(--lime); font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.article-aside h2 { margin: 13px 0; font-size: 1.55rem; }
.article-aside p { margin-bottom: 0; color: inherit; font-size: .88rem; }
.article-aside a { min-height: 44px; display: inline-flex; align-items: center; margin-top: 13px; color: var(--lime); font-size: .85rem; font-weight: 800; }
.article-aside > div:last-child small { color: var(--violet-2); }
.article-aside > div:last-child p { color: var(--muted); }

.seo-faq { display: grid; grid-template-columns: minmax(230px, .42fr) 1fr; gap: clamp(38px, 7vw, 90px); padding-block: clamp(72px, 9vw, 112px); border-top: 1px solid var(--line); }
.seo-faq h2, .related h2 { font-size: clamp(2.1rem, 4vw, 3.65rem); }
.seo-faq details { border-bottom: 1px solid var(--line); }
.seo-faq details:first-child { border-top: 1px solid var(--line); }
.seo-faq summary { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 18px; cursor: pointer; font-weight: 800; list-style: none; }
.seo-faq summary::-webkit-details-marker { display: none; }
.seo-faq summary i { width: 32px; height: 32px; display: grid; place-items: center; flex: none; border: 1px solid var(--line); border-radius: 50%; font-style: normal; transition: transform .18s ease, background-color .18s ease; }
.seo-faq details[open] summary i { color: #fff; background: var(--violet); transform: rotate(45deg); }
.seo-faq details p { max-width: 740px; padding: 0 48px 24px 0; margin: 0; color: var(--muted); }

.related { padding-block: clamp(72px, 9vw, 112px); }
.related > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 34px; }
.related a { min-height: 142px; display: grid; grid-template-columns: 1fr auto; align-content: space-between; gap: 10px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.related a:hover { transform: translateY(-3px); border-color: var(--violet-2); box-shadow: 0 18px 36px rgba(30,26,64,.08); }
.related a span { grid-column: 1 / -1; color: var(--muted); font-size: .75rem; }
.related a b { max-width: 430px; font-size: 1.07rem; line-height: 1.35; }
.related a i { align-self: end; color: var(--violet-2); font-style: normal; font-weight: 900; }

.seo-cta { padding-block: clamp(56px, 8vw, 88px); color: #fff; background: var(--violet); }
.seo-cta > div { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.seo-cta p { margin-bottom: 12px; color: var(--lime); font-size: .76rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.seo-cta h2 { max-width: 720px; font-size: clamp(2.1rem, 4vw, 3.7rem); }
.seo-cta span { display: block; max-width: 670px; margin-top: 16px; color: rgba(255,255,255,.72); font-size: .82rem; }
.seo-cta a { flex: none; color: var(--ink); background: var(--lime); }

.seo-footer { padding-bottom: env(safe-area-inset-bottom, 0); color: rgba(255,255,255,.74); background: #151323; }
.seo-footer > div { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.seo-brand.inverse b { color: #fff; }
.seo-brand.inverse small { color: rgba(255,255,255,.58); }
.seo-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; }
.seo-footer nav a, .seo-footer > div > a:last-child { min-height: 44px; display: inline-flex; align-items: center; font-size: .72rem; }
.seo-footer a:hover { color: var(--lime); }

@media (max-width: 940px) {
  .header-row nav { display: none; }
  .header-action { margin-left: auto; }
  .seo-hero { grid-template-columns: 1fr; }
  .route-card { max-width: 670px; }
  .article-grid { grid-template-columns: 1fr; }
  .article-aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seo-footer > div { flex-wrap: wrap; padding-block: 14px; }
}

@media (max-width: 680px) {
  .seo-shell { width: min(calc(100% - 28px), var(--shell)); }
  .header-row { min-height: 68px; gap: 12px; }
  .seo-brand img { width: 40px; height: 40px; }
  .header-action { min-height: 44px; padding-inline: 16px; font-size: .76rem; }
  .breadcrumbs { padding-top: 18px; }
  .seo-hero { gap: 34px; padding-block: 34px 72px; }
  .hero-copy h1 { font-size: clamp(2.3rem, 11.3vw, 3.25rem); }
  .hero-copy .lead { margin-block: 20px; }
  .hero-actions { display: grid; }
  .hero-actions a { width: 100%; }
  .route-card { padding: 24px 20px; border-radius: 24px; }
  .seo-section ul, .related > div, .article-aside { grid-template-columns: 1fr; }
  .seo-faq { grid-template-columns: 1fr; }
  .seo-faq header { margin-bottom: -8px; }
  .seo-cta > div { align-items: stretch; flex-direction: column; }
  .seo-cta a { width: 100%; }
  .seo-footer > div, .seo-footer nav { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 420px) {
  .seo-brand small { max-width: 135px; }
  .header-action { max-width: 138px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
