:root {
  --ink: #101828;
  --muted: #5d6678;
  --line: #d9e1ea;
  --paper: #ffffff;
  --soft: #f4f7fa;
  --blue: #1565c0;
  --blue-dark: #0f4f9b;
  --green: #16885d;
  --yellow: #ffd233;
  --slate: #17202e;
  --radius: 8px;
  --shadow: 0 18px 50px rgba(17, 24, 39, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
[hidden] { display: none !important; }

.lp-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}
.lp-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(217, 225, 234, .82);
  backdrop-filter: blur(14px);
}
.lp-nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 26px;
}
.lp-logo {
  min-width: 170px;
  display: inline-flex;
  align-items: center;
}
.lp-logo img { width: 156px; height: auto; object-fit: contain; }
.lp-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
  color: #445066;
  font-size: 14px;
  font-weight: 650;
}
.lp-links a { position: relative; padding: 26px 0; }
.lp-links a:hover, .lp-links a.is-active { color: var(--blue); }
.lp-links a.is-active::after {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 2px;
  border-radius: 99px;
  background: var(--blue);
  content: "";
}
.lp-actions { margin-left: 6px; display: flex; align-items: center; gap: 10px; }
.lp-btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 16px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.lp-btn:hover { transform: translateY(-1px); }
.lp-btn-primary { background: var(--yellow); color: #18202c; box-shadow: 0 10px 26px rgba(255, 210, 51, .24); }
.lp-btn-primary:hover { background: #ffe06a; }
.lp-btn-dark { background: var(--slate); color: #fff; box-shadow: 0 12px 28px rgba(23, 32, 46, .22); }
.lp-btn-dark:hover { background: #0f1724; }
.lp-btn-ghost { border-color: var(--line); background: #fff; color: #263449; }
.lp-btn-ghost:hover { border-color: #b6c3d1; background: #f8fafc; }

.blog-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 72px;
  border-bottom: 1px solid #e6edf4;
  background:
    radial-gradient(circle at 82% 22%, rgba(255, 210, 51, .28), transparent 25%),
    linear-gradient(135deg, #f7faff 0%, #eef5fc 52%, #f7fbf8 100%);
}
.blog-hero::after {
  position: absolute;
  width: 360px;
  height: 360px;
  right: -170px;
  bottom: -250px;
  border: 50px solid rgba(21, 101, 192, .08);
  border-radius: 50%;
  content: "";
}
.blog-eyebrow {
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.blog-hero h1 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(42px, 6vw, 72px);
  line-height: .98;
  letter-spacing: -.055em;
}
.blog-hero p {
  max-width: 720px;
  margin: 24px 0 0;
  color: #48566a;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.blog-index { padding: 54px 0 88px; }
.blog-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  margin-bottom: 30px;
}
.blog-toolbar h2 { margin: 0; font-size: 30px; letter-spacing: -.03em; }
.blog-result-copy { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.blog-search { width: min(100%, 520px); display: flex; gap: 10px; }
.blog-search-field { position: relative; flex: 1; }
.blog-search-field svg {
  position: absolute;
  top: 50%;
  left: 15px;
  width: 20px;
  height: 20px;
  color: #718096;
  pointer-events: none;
  transform: translateY(-50%);
}
.blog-search input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cfd9e5;
  border-radius: 8px;
  padding: 0 16px 0 45px;
  outline: 0;
  color: var(--ink);
  background: #fff;
}
.blog-search input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21, 101, 192, .12); }
.blog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.blog-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
  border: 1px solid #dfe6ee;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 32px rgba(23, 42, 70, .07);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.blog-card:first-child { grid-column: 1 / -1; grid-template-columns: minmax(0, 45%) minmax(0, 1fr); min-height: 310px; }
.blog-card:hover { border-color: #c4d5e7; box-shadow: 0 18px 42px rgba(23, 42, 70, .12); transform: translateY(-3px); }
.blog-card-media { min-height: 0; overflow: hidden; aspect-ratio: 16 / 9; background: #dfe8f0; }
.blog-card-media img { width: 100%; height: 100%; min-height: 0; object-fit: cover; transition: transform .5s ease; }
.blog-card:first-child .blog-card-media { height: 100%; aspect-ratio: auto; }
.blog-card:first-child .blog-card-media img { min-height: 310px; }
.blog-card:hover .blog-card-media img { transform: scale(1.025); }
.blog-card-copy { display: flex; flex-direction: column; padding: 30px; }
.blog-card-meta, .article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  color: #69768a;
  font-size: 13px;
}
.blog-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 99px;
  padding: 0 10px;
  color: #0b579e;
  background: #eaf4ff;
  font-size: 12px;
  font-weight: 800;
}
.blog-card h3 { margin: 18px 0 12px; font-size: clamp(24px, 3vw, 34px); line-height: 1.15; letter-spacing: -.035em; }
.blog-card p { margin: 0; color: #566377; font-size: 16px; line-height: 1.65; }
.blog-card-tags { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.blog-card-tags span { border: 1px solid #e1e7ee; border-radius: 6px; padding: 6px 8px; color: #5e6b7e; background: #fafbfd; font-size: 12px; }
.blog-card-link { margin-top: auto; padding-top: 24px; color: var(--blue); font-size: 14px; font-weight: 850; }
.blog-empty {
  grid-column: 1 / -1;
  padding: 52px 24px;
  border: 1px dashed #cbd6e2;
  border-radius: 12px;
  color: #5f6e81;
  background: #f8fafc;
  text-align: center;
}
.blog-empty strong { display: block; margin-bottom: 8px; color: var(--ink); font-size: 20px; }

.breadcrumb { padding: 26px 0 0; color: #667489; font-size: 13px; }
.breadcrumb ol { margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.breadcrumb li:not(:last-child)::after { margin-left: 8px; color: #a4afbc; content: "/"; }
.breadcrumb a:hover { color: var(--blue); }

.article-hero { padding: 48px 0 34px; }
.article-hero-copy { max-width: 950px; }
.article-hero h1 {
  margin: 18px 0 20px;
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.04;
  letter-spacing: -.055em;
}
.article-lead { max-width: 830px; margin: 0; color: #4c5a6f; font-size: clamp(18px, 2.3vw, 23px); line-height: 1.55; }
.article-hero-media {
  position: relative;
  overflow: hidden;
  margin-top: 38px;
  border-radius: 14px;
  background: #e7edf3;
  box-shadow: var(--shadow);
}
.article-hero-media img { width: 100%; height: auto !important; aspect-ratio: 16 / 9; object-fit: cover; }
.article-hero-caption { position: absolute; right: 12px; bottom: 12px; border-radius: 6px; padding: 7px 9px; color: #fff; background: rgba(15, 23, 36, .76); font-size: 11px; backdrop-filter: blur(6px); }

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 790px) minmax(220px, 280px);
  justify-content: space-between;
  gap: 64px;
  padding: 38px 0 84px;
}
.article-body { min-width: 0; color: #263348; font-size: 18px; line-height: 1.78; }
.article-body > :first-child { margin-top: 0; }
.article-body h2, .article-body h3 { color: var(--ink); scroll-margin-top: 100px; }
.article-body h2 { margin: 58px 0 18px; font-size: clamp(29px, 4vw, 39px); line-height: 1.15; letter-spacing: -.035em; }
.article-body h3 { margin: 34px 0 12px; font-size: 23px; line-height: 1.3; }
.article-body p { margin: 0 0 22px; }
.article-body ul, .article-body ol { margin: 0 0 26px; padding-left: 25px; }
.article-body li { margin: 9px 0; padding-left: 5px; }
.article-body strong { color: #172133; }
.article-body a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-body a:hover { color: var(--blue-dark); }
.article-figure { margin: 38px 0; }
.article-body img { max-width: 100%; height: auto; }
.article-figure img { width: 100%; height: auto !important; aspect-ratio: auto !important; object-fit: contain; border-radius: 12px; background: #e7edf3; box-shadow: 0 14px 34px rgba(22, 38, 62, .11); }
.article-figure figcaption { margin-top: 10px; color: #6a7688; font-size: 13px; line-height: 1.5; }
.article-note {
  margin: 30px 0;
  border-left: 4px solid var(--yellow);
  border-radius: 0 8px 8px 0;
  padding: 22px 24px;
  color: #334257;
  background: #fff9df;
}
.article-note strong { display: block; margin-bottom: 5px; }
.article-note p:last-child { margin-bottom: 0; }
.article-checklist {
  margin: 28px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0 !important;
  list-style: none;
}
.article-checklist li {
  position: relative;
  margin: 0;
  border: 1px solid #e1e7ee;
  border-radius: 8px;
  padding: 15px 15px 15px 43px;
  background: #fafcfe;
  font-size: 15px;
  line-height: 1.5;
}
.article-checklist li::before {
  position: absolute;
  top: 16px;
  left: 15px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  content: "✓";
  font-size: 12px;
  font-weight: 900;
  line-height: 19px;
  text-align: center;
}
.article-table-wrap { margin: 30px 0; overflow-x: auto; border: 1px solid #dbe3ec; border-radius: 10px; }
.article-table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 14px; line-height: 1.45; }
.article-table th { color: #445268; background: #f1f5f9; text-align: left; }
.article-table th, .article-table td { padding: 13px 14px; border-bottom: 1px solid #e2e8f0; }
.article-table tr:last-child td { border-bottom: 0; }
.article-table td:nth-last-child(-n+3), .article-table th:nth-last-child(-n+3) { white-space: nowrap; text-align: right; }
.article-table .is-total td { color: #12243b; background: #f8fafc; font-weight: 800; }
.article-cta {
  margin: 52px 0 12px;
  overflow: hidden;
  border-radius: 14px;
  padding: 34px;
  color: #fff;
  background: linear-gradient(135deg, #17202e, #153e69);
  box-shadow: 0 20px 45px rgba(20, 43, 72, .2);
}
.article-cta h2 { margin: 0 0 12px; color: #fff; font-size: 31px; }
.article-cta p { max-width: 620px; margin: 0 0 22px; color: #ced9e8; }
.article-cta .lp-btn { text-decoration: none; }
.faq-list { display: grid; gap: 12px; margin-top: 22px; }
.faq-item { border: 1px solid #dfe6ee; border-radius: 9px; padding: 20px 22px; background: #fff; }
.faq-item h3 { margin: 0 0 9px; font-size: 19px; }
.faq-item p { margin: 0; color: #4f5d70; font-size: 16px; }

.article-aside { min-width: 0; }
.article-aside-inner { position: sticky; top: 102px; }
.article-toc { border: 1px solid #dfe6ee; border-radius: 10px; padding: 20px; background: #f8fafc; }
.article-toc strong { display: block; margin-bottom: 13px; font-size: 14px; }
.article-toc ol { margin: 0; padding-left: 20px; color: #5b687b; font-size: 13px; line-height: 1.5; }
.article-toc li { margin: 8px 0; padding-left: 3px; }
.article-toc a:hover { color: var(--blue); }
.aside-cta { margin-top: 14px; border-radius: 10px; padding: 20px; color: #fff; background: var(--slate); }
.aside-cta strong { display: block; margin-bottom: 8px; font-size: 18px; }
.aside-cta p { margin: 0 0 15px; color: #c8d2df; font-size: 13px; line-height: 1.5; }
.aside-cta .lp-btn { width: 100%; }

.comments-section { padding: 72px 0 88px; border-top: 1px solid #e2e8f0; background: #f5f8fb; scroll-margin-top: 80px; }
.comments-shell { width: min(850px, calc(100% - 40px)); margin: 0 auto; }
.comments-head { margin-bottom: 25px; }
.comments-head h2 { margin: 0; font-size: 34px; letter-spacing: -.035em; }
.comments-head p { margin: 8px 0 0; color: #667387; }
.comment-alert { margin-bottom: 20px; border: 1px solid #bcdccf; border-radius: 8px; padding: 13px 15px; color: #176744; background: #effbf6; font-size: 14px; }
.comment-alert.is-error { border-color: #f1c5c5; color: #a12727; background: #fff5f5; }
.comment-list { display: grid; gap: 12px; margin-bottom: 30px; }
.comment-card { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 13px; border: 1px solid #dfe6ee; border-radius: 10px; padding: 18px; background: #fff; }
.comment-avatar { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 9px; color: #fff; background: linear-gradient(145deg, #1565c0, #183b63); font-size: 16px; font-weight: 850; }
.comment-meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.comment-meta strong { font-size: 15px; }
.comment-meta time { color: #7a8799; font-size: 12px; }
.comment-body { margin: 7px 0 0; color: #425066; font-size: 15px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.comment-empty { margin-bottom: 28px; border: 1px dashed #c9d5e1; border-radius: 10px; padding: 22px; color: #687589; background: rgba(255, 255, 255, .6); text-align: center; }
.comment-form { border: 1px solid #dce4ec; border-radius: 12px; padding: 26px; background: #fff; box-shadow: 0 12px 34px rgba(26, 44, 70, .07); }
.comment-form h3 { margin: 0 0 6px; font-size: 23px; }
.comment-form-intro { margin: 0 0 20px; color: #6a778a; font-size: 14px; }
.comment-field { display: grid; gap: 7px; margin-bottom: 15px; }
.comment-field label { color: #334155; font-size: 13px; font-weight: 750; }
.comment-field input, .comment-field textarea { width: 100%; border: 1px solid #cfd9e5; border-radius: 8px; padding: 12px 13px; outline: 0; color: var(--ink); background: #fff; }
.comment-field input:focus, .comment-field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21, 101, 192, .12); }
.comment-field textarea { min-height: 135px; resize: vertical; line-height: 1.55; }
.comment-consent { margin: 0 0 18px; display: flex; align-items: flex-start; gap: 9px; color: #5e6b7d; font-size: 12px; line-height: 1.5; }
.comment-consent input { margin-top: 2px; accent-color: var(--blue); }
.comment-consent a { color: var(--blue); text-decoration: underline; }
.comment-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.not-found { min-height: calc(100vh - 200px); display: grid; place-items: center; padding: 70px 20px; text-align: center; }
.not-found h1 { margin: 0; font-size: 72px; }
.not-found p { max-width: 530px; color: var(--muted); font-size: 18px; }

.lp-footer { padding: 28px 0; color: #abb6c6; background: #111923; }
.lp-footer-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 13px; }
.lp-footer-legal { display: flex; flex-wrap: wrap; gap: 18px; }
.lp-footer-legal a:hover { color: #fff; }

@media (max-width: 1080px) {
  .lp-links { display: none; }
  .lp-actions { margin-left: auto; }
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .article-aside { order: -1; }
  .article-aside-inner { position: static; }
  .article-toc ol { columns: 2; column-gap: 30px; }
  .aside-cta { display: none; }
}

@media (max-width: 760px) {
  body { overflow-x: hidden; }
  .lp-shell { width: auto; margin-right: 14px; margin-left: 14px; }
  .lp-nav { min-height: 0; flex-wrap: wrap; row-gap: 12px; padding: 14px 0; }
  .lp-logo { min-width: 132px; }
  .lp-logo img { width: 134px; }
  .lp-actions { width: 100%; margin-left: 0; }
  .lp-actions .lp-btn { flex: 1; min-width: 0; padding: 0 10px; font-size: 13px; line-height: 1.2; white-space: normal; text-align: center; }
  .blog-hero { padding: 58px 0 52px; }
  .blog-hero h1 { font-size: 46px; }
  .blog-index { padding: 40px 0 64px; }
  .blog-toolbar { grid-template-columns: 1fr; align-items: stretch; gap: 20px; }
  .blog-search { width: 100%; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card, .blog-card:first-child { grid-column: auto; grid-template-columns: 1fr; min-height: 0; }
  .blog-card-media, .blog-card:first-child .blog-card-media { height: auto; aspect-ratio: 16 / 10; }
  .blog-card-media img, .blog-card:first-child .blog-card-media img { min-height: 0; }
  .blog-card-copy { padding: 22px; }
  .blog-card h3 { font-size: 27px; }
  .breadcrumb { padding-top: 20px; }
  .article-hero { padding-top: 35px; }
  .article-hero-copy { width: 100%; min-width: 0; }
  .article-hero h1 { max-width: 100%; font-size: 40px; overflow-wrap: break-word; }
  .article-hero-media { margin-top: 28px; border-radius: 9px; }
  .article-layout { padding-top: 20px; padding-bottom: 62px; }
  .article-toc ol { columns: 1; }
  .article-body { font-size: 17px; line-height: 1.72; }
  .article-body h2 { margin-top: 46px; font-size: 30px; }
  .article-checklist { grid-template-columns: 1fr; }
  .article-cta { padding: 24px; }
  .article-cta h2 { font-size: 27px; }
  .comments-section { padding: 56px 0 64px; }
  .comments-shell { width: auto; margin: 0 14px; }
  .comment-form { padding: 20px; }
  .lp-footer-row { flex-direction: column; align-items: flex-start; }
}

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