:root {
  color-scheme: light;
  --ink: #071044;
  --muted: #52628e;
  --line: #dce5f6;
  --surface: #ffffff;
  --wash: #f5f8ff;
  --blue: #1649f7;
  --blue-deep: #0a2fc9;
  --cyan: #16bfff;
  --blue-soft: #eaf0ff;
  --shadow: 0 22px 54px rgba(22, 73, 247, .12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 95% 0%, rgba(49, 123, 255, .15), transparent 28rem),
    linear-gradient(180deg, #fff 0%, var(--wash) 100%);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a { color: inherit; }

.seo-header {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid rgba(220, 229, 246, .9);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(16px);
}

.seo-nav,
.seo-main,
.seo-footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.seo-nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.seo-brand {
  color: var(--blue);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.055em;
  text-decoration: none;
}

.seo-nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px 20px;
}

.seo-nav-links a {
  color: #2e3b68;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.seo-nav-links a:hover { color: var(--blue); }

.seo-nav-links a[aria-current="page"] {
  color: var(--blue);
}

.seo-language-menu {
  position: relative;
  flex: 0 0 auto;
  color: #344674;
  font-size: 13px;
  font-weight: 750;
}

.seo-language-menu summary {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 11px;
  border: 1px solid #dbe5f8;
  border-radius: 12px;
  cursor: pointer;
  list-style: none;
  background: rgba(255, 255, 255, .88);
}

.seo-language-menu summary::-webkit-details-marker { display: none; }
.seo-language-menu summary b,
.seo-language-menu a b { margin-left: auto; color: #7785a8; font-size: 10px; letter-spacing: .06em; }
.seo-language-flag {
  width: 20px;
  height: 20px;
  display: block;
  flex: 0 0 20px;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0 2px 7px rgba(11, 32, 91, .18);
}

.seo-language-menu > div {
  position: absolute;
  z-index: 9;
  top: calc(100% + 8px);
  right: 0;
  width: 188px;
  padding: 6px;
  border: 1px solid #dbe5f8;
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(38, 65, 128, .14);
  background: #fff;
}

.seo-language-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 8px;
  border-radius: 9px;
  color: #344674;
  text-decoration: none;
}

.seo-language-menu a:hover { color: var(--blue); background: #f0f5ff; }

.seo-main { padding: 72px 0 82px; }

.article-page .seo-main,
.articles-page .seo-main {
  position: relative;
}

.article-page .seo-main::before,
.articles-page .seo-main::before {
  position: absolute;
  z-index: -1;
  top: 20px;
  right: -150px;
  width: 470px;
  height: 470px;
  border: 1px solid rgba(22, 73, 247, .1);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgba(22, 73, 247, .035), 0 0 0 112px rgba(22, 73, 247, .02);
  content: "";
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
  color: #66749d;
  font-size: 14px;
}

.breadcrumb a { color: inherit; }

.breadcrumb span[aria-hidden="true"] { color: #a4afc8; }

.seo-hero {
  max-width: 860px;
  margin-bottom: 42px;
}

.article-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  align-items: start;
  gap: 44px;
}

.article-intro-layout .seo-hero {
  max-width: none;
  margin-bottom: 42px;
}

.article-intro-layout .article-aside { margin-top: 39px; }

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

h1, h2, h3 { color: var(--ink); line-height: 1.08; }

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: -.06em;
}

h1 em { color: var(--blue); font-style: normal; }

.lead {
  max-width: 730px;
  margin: 23px 0 0;
  color: #344778;
  font-size: clamp(18px, 2.15vw, 22px);
  line-height: 1.5;
}

.notice {
  max-width: 820px;
  margin: 25px 0 0;
  padding: 15px 18px;
  border: 1px solid #dce8ff;
  border-radius: 15px;
  color: #405583;
  background: rgba(245, 249, 255, .85);
  font-size: 14px;
}

.section { margin-top: 58px; }

.section h2 {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(29px, 4vw, 42px);
  letter-spacing: -.045em;
}

.section > p,
.article-copy {
  max-width: 800px;
  margin: 0 0 17px;
  color: #3f507d;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.card {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 16px 35px rgba(42, 77, 151, .06);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.card:hover {
  border-color: #b9cafc;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  letter-spacing: -.03em;
}

.card p { margin: 0; color: #52628c; font-size: 15px; }

.card a {
  display: inline-block;
  margin-top: 15px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: flow;
}

.steps li {
  min-height: 158px;
  padding: 23px;
  border-radius: 20px;
  background: var(--ink);
  color: #eaf0ff;
}

.steps li::before {
  counter-increment: flow;
  content: "0" counter(flow);
  display: block;
  margin-bottom: 27px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
}

.steps strong { display: block; font-size: 17px; line-height: 1.25; }
.steps span { display: block; margin-top: 8px; color: #b9c8ef; font-size: 14px; line-height: 1.45; }

.compare-wrap {
  overflow-x: auto;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

table { width: 100%; min-width: 660px; border-collapse: collapse; }
th, td { padding: 18px 21px; text-align: left; border-bottom: 1px solid var(--line); }
th { color: #6c789a; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
td { color: #31436f; font-size: 15px; }
td:first-child { color: var(--ink); font-weight: 750; }
tr:last-child td { border-bottom: 0; }

.checklist { max-width: 800px; margin: 21px 0 0; padding: 0; list-style: none; }
.checklist li { position: relative; margin: 12px 0; padding-left: 29px; color: #3f507d; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--blue); font-weight: 900; }

.faq-list { max-width: 840px; margin-top: 22px; }
.faq-list details { padding: 19px 0; border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { color: var(--ink); font-weight: 800; cursor: pointer; }
.faq-list p { max-width: 760px; margin: 13px 0 0; color: #40527e; }

.seo-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 64px;
  padding: 34px;
  border-radius: 25px;
  color: #fff;
  background: linear-gradient(125deg, #0a1aa8, #1649f7 58%, #10aeef);
  box-shadow: 0 22px 48px rgba(13, 65, 230, .25);
}

.seo-cta h2 { margin: 0; color: #fff; font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.05em; }
.seo-cta p { max-width: 610px; margin: 9px 0 0; color: #dbe7ff; }

.cta-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 14px;
  color: var(--blue-deep);
  background: #fff;
  box-shadow: 0 10px 25px rgba(0, 18, 108, .18);
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.cta-button:hover { transform: translateY(-1px); }

.seo-footer { border-top: 1px solid #dce5f6; background: #fff; }
.seo-footer-inner { padding: 34px 0; color: #65739a; font-size: 14px; }
.seo-footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 34px; }
.seo-footer-links { display: flex; flex-wrap: wrap; gap: 9px 19px; }
.seo-footer a { color: #425583; }
.seo-footer a:hover { color: var(--blue); }

.article-layout {
  max-width: 826px;
  margin-top: 16px;
}

.article-copy {
  max-width: none;
}

.article-copy h2 {
  max-width: 780px;
  margin: 46px 0 16px;
  color: var(--ink);
  font-size: clamp(28px, 3.6vw, 40px);
  letter-spacing: -.05em;
  line-height: 1.08;
}

.article-copy h2:first-child { margin-top: 0; }

.article-copy h3 {
  margin: 28px 0 9px;
  color: var(--ink);
  font-size: 20px;
  letter-spacing: -.03em;
}

.article-copy p,
.article-copy li {
  color: #3f507d;
}

.article-copy ul,
.article-copy ol {
  display: grid;
  gap: 9px;
  padding-left: 22px;
}

.article-aside {
  position: sticky;
  top: 98px;
  padding: 21px;
  border: 1px solid #dce6fb;
  border-radius: 20px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 16px 38px rgba(42, 77, 151, .06);
}

.article-aside span {
  display: block;
  margin-bottom: 13px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.article-aside a {
  display: block;
  margin: 11px 0;
  color: #354774;
  font-size: 14px;
  font-weight: 700;
}

.article-aside a:hover { color: var(--blue); }

.article-note {
  margin: 27px 0;
  padding: 19px 21px;
  border-left: 3px solid var(--blue);
  border-radius: 0 16px 16px 0;
  color: #3b4e7d;
  background: #eef4ff;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.guide-card {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid #dce5f6;
  border-radius: 20px;
  color: var(--ink);
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 16px 35px rgba(42, 77, 151, .06);
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.guide-card:hover {
  border-color: #b7c9ff;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.guide-card .guide-category {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.guide-card h2,
.guide-card h3 {
  margin: 18px 0 0;
  color: var(--ink);
  font-size: 21px;
  letter-spacing: -.035em;
  line-height: 1.16;
}

.guide-card p {
  margin: 12px 0 0;
  color: #52628e;
  font-size: 14px;
  line-height: 1.48;
}

.guide-card .guide-arrow {
  margin-top: 20px;
  color: var(--blue);
  font-size: 17px;
  font-weight: 800;
}

.articles-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: end;
  gap: 44px;
  padding: 42px;
  border: 1px solid #d9e5ff;
  border-radius: 30px;
  background: linear-gradient(126deg, #fff 0%, #f4f7ff 60%, #e8f5ff 100%);
  box-shadow: var(--shadow);
}

.articles-hero h1 { font-size: clamp(42px, 6.2vw, 76px); }
.articles-hero .lead { margin-bottom: 0; }

.articles-stat {
  padding: 25px;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(145deg, #071044, #1749f7 66%, #14bffb);
}

.articles-stat strong { display: block; font-size: clamp(44px, 5vw, 62px); letter-spacing: -.07em; line-height: .95; }
.articles-stat span { display: block; margin-top: 11px; color: #dce7ff; font-size: 15px; line-height: 1.4; }

.guide-section { margin-top: 66px; }
.guide-section-head { display: flex; align-items: end; justify-content: space-between; gap: 22px; }
.guide-section-head h2 { margin: 0; font-size: clamp(31px, 4vw, 46px); letter-spacing: -.055em; }
.guide-section-head p { max-width: 470px; margin: 0; color: #52628e; }

@media (max-width: 760px) {
  .seo-nav, .seo-main, .seo-footer-inner { width: min(100% - 32px, 1120px); }
  .seo-nav { min-height: 67px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 5px; padding: 10px 0; }
  .seo-nav-links { justify-content: flex-start; gap: 6px 16px; }
  .seo-language-menu { align-self: flex-end; margin-top: -42px; }
  .seo-main { padding: 45px 0 60px; }
  .cards, .steps, .guide-grid { grid-template-columns: 1fr; }
  .seo-cta { align-items: flex-start; flex-direction: column; padding: 27px; }
  .cta-button { width: 100%; }
  .article-intro-layout, .articles-hero { grid-template-columns: 1fr; }
  .article-intro-layout { gap: 0; }
  .article-intro-layout .article-aside { position: static; margin-top: 0; }
  .article-layout { gap: 30px; margin-top: 0; }
  .article-layout { max-width: none; }
  .articles-hero { gap: 28px; padding: 28px; border-radius: 24px; }
  .guide-section { margin-top: 52px; }
  .guide-section-head { align-items: flex-start; flex-direction: column; }
}
