:root {
  --bg: #ffffff;
  --ink: #10232b;
  --muted: #63727b;
  --line: #dce7e5;
  --soft: #f4f8f7;
  --green: #19a779;
  --green-dark: #0f745d;
  --shadow: 0 22px 64px rgba(16, 35, 43, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header,
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 0 clamp(20px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 5;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 950;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  font-weight: 950;
}

.main-nav,
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #314148;
  font-size: 14px;
  font-weight: 850;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.phone-link {
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  color: #fff;
  background: var(--green);
  border-radius: 8px;
  font-weight: 950;
  box-shadow: 0 14px 34px rgba(25, 167, 121, 0.22);
}

.btn-dark {
  background: var(--ink);
  box-shadow: none;
}

.btn-outline {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: none;
}

.hero {
  padding: clamp(68px, 8vw, 112px) 0 56px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.84)),
    url("https://images.unsplash.com/photo-1554224155-8d04cb21cd6c?auto=format&fit=crop&w=1700&q=80");
  background-position: center right;
  background-size: cover;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.crumb {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

h1 {
  max-width: 850px;
  margin: 18px 0 0;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 0.96;
  letter-spacing: 0;
}

.lead {
  max-width: 760px;
  margin-top: 24px;
  color: #33464e;
  font-size: clamp(19px, 2.1vw, 26px);
  line-height: 1.28;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-card {
  padding: 22px;
  color: #fff;
  background: var(--ink);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.hero-card strong {
  display: block;
  font-size: 26px;
  line-height: 1.05;
}

.hero-card ul,
.content ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.hero-card li,
.content li {
  position: relative;
  padding-left: 22px;
}

.hero-card li::before,
.content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
}

.section {
  padding: clamp(56px, 7vw, 92px) 0;
}

.section.soft {
  background: var(--soft);
}

.content {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 0.44fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

h2 {
  margin: 0;
  font-size: clamp(31px, 4vw, 52px);
  line-height: 1.02;
}

.content p,
.faq p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 18px;
}

.panel,
.faq details {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 12px 38px rgba(16, 35, 43, 0.08);
}

.panel strong {
  display: block;
  font-size: 21px;
}

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

.grid article {
  min-height: 190px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.grid span {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 950;
}

.grid strong {
  display: block;
  margin-top: 20px;
  font-size: 21px;
  line-height: 1.14;
}

.blog-hero {
  padding: clamp(64px, 8vw, 108px) 0 48px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 247, 0.94)),
    url("https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=1700&q=80");
  background-position: center right;
  background-size: cover;
}

.blog-hero h1 {
  max-width: 920px;
}

.guide-hero {
  padding: clamp(58px, 7vw, 98px) 0 44px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.99), rgba(244, 248, 247, 0.92)),
    url("https://images.unsplash.com/photo-1554224155-8d04cb21cd6c?auto=format&fit=crop&w=1700&q=80");
  background-position: center right;
  background-size: cover;
}

.guide-hero h1 {
  max-width: 960px;
}

.crumb-link {
  display: inline-flex;
  margin-right: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.blog-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 34px;
}

.blog-summary div {
  padding: 20px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.blog-summary strong,
.blog-summary span {
  display: block;
}

.blog-summary strong {
  font-size: 26px;
  line-height: 1.1;
}

.blog-summary span {
  margin-top: 6px;
  color: var(--muted);
  font-weight: 800;
}

.blog-cluster {
  margin-top: 36px;
}

.cluster-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.cluster-head span {
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
}

.cluster-head strong {
  color: var(--muted);
  font-size: 14px;
}

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

.article-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 250px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 12px 34px rgba(16, 35, 43, 0.08);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.article-card:hover {
  transform: translateY(-2px);
  border-color: rgba(25, 167, 121, 0.45);
  box-shadow: 0 18px 42px rgba(16, 35, 43, 0.12);
}

.article-meta {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.article-card strong {
  font-size: 23px;
  line-height: 1.12;
}

.article-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.article-tags span {
  padding: 6px 9px;
  color: var(--green-dark);
  background: #eef8f5;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(280px, 0.26fr);
  gap: clamp(24px, 5vw, 54px);
  align-items: start;
}

.article-body {
  min-width: 0;
}

.article-body h2 {
  margin-top: 44px;
}

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

.article-body p,
.article-body li,
.article-body td,
.article-body th {
  font-size: 18px;
}

.article-body p {
  color: #314148;
}

.article-intent {
  padding: 18px 20px;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-weight: 850;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.check-grid div {
  min-height: 122px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 12px 34px rgba(16, 35, 43, 0.06);
}

.check-grid span {
  display: block;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 950;
}

.check-grid strong {
  display: block;
  margin-top: 12px;
  font-size: 20px;
  line-height: 1.18;
}

.mini-table {
  width: 100%;
  margin-top: 22px;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.mini-table th,
.mini-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.mini-table th {
  color: var(--ink);
  background: var(--soft);
  font-weight: 950;
}

.mini-table tr:last-child td {
  border-bottom: 0;
}

.clean-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.clean-list li {
  position: relative;
  padding-left: 26px;
  color: #314148;
}

.clean-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 9px;
  height: 9px;
  background: var(--green);
  border-radius: 50%;
}

.article-cta,
.side-cta,
.toc-panel,
.related-panel {
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 12px 38px rgba(16, 35, 43, 0.08);
}

.article-cta {
  margin-top: 42px;
  padding: 24px;
  color: #fff;
  background: var(--ink);
}

.article-cta strong,
.side-cta strong {
  display: block;
  font-size: 26px;
  line-height: 1.1;
}

.article-cta p {
  color: rgba(255, 255, 255, 0.78);
}

.article-aside {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
}

.toc-panel,
.related-panel {
  display: grid;
  gap: 10px;
  padding: 18px;
  background: #fff;
}

.toc-panel strong,
.related-panel strong {
  font-size: 18px;
}

.toc-panel a,
.related-panel a {
  color: var(--muted);
  font-weight: 850;
}

.toc-panel a:hover,
.related-panel a:hover {
  color: var(--green-dark);
}

.side-cta {
  padding: 20px;
  color: #fff;
  background: var(--ink);
}

.side-cta span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.side-cta p {
  color: rgba(255, 255, 255, 0.74);
}

.faq-inline details {
  box-shadow: none;
}

.faq {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.faq summary {
  cursor: pointer;
  font-size: 19px;
  font-weight: 930;
}

.site-footer,
.footer {
  padding: 36px 0;
  color: rgba(255, 255, 255, 0.82);
  background: #0c1b21;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 24px;
  align-items: center;
}

.footer-brand {
  color: #fff;
}

.site-footer .brand-mark,
.footer .brand-mark {
  color: var(--ink);
  background: #fff;
}

.footer-grid p {
  margin-top: 10px;
}

.footer-links {
  display: grid;
  gap: 10px;
  align-content: start;
}

.site-footer a,
.footer a {
  color: #fff;
  font-weight: 850;
}

@media (max-width: 860px) {
  .site-header,
  .header,
  .footer-grid {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .site-header,
  .header,
  .header-actions {
    flex-direction: column;
  }

  .hero-grid,
  .content,
  .grid,
  .article-grid,
  .blog-summary,
  .guide-layout,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
  }

  h1 {
    font-size: 38px;
  }
}
