:root {
  --ink: #14212b;
  --muted: #62707b;
  --paper: #f6f3ed;
  --white: #ffffff;
  --night: #142b2f;
  --night-soft: #1b3a3f;
  --coral: #ff6b55;
  --coral-dark: #e9503d;
  --mint: #5dd4b2;
  --line: #dfe3df;
  --radius: 20px;
  --shadow: 0 22px 65px rgba(20, 33, 43, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px 14px;
  color: #fff;
  background: var(--coral-dark);
  border-radius: 10px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 243, 237, 0.92);
  border-bottom: 1px solid rgba(223, 227, 223, 0.9);
  backdrop-filter: blur(14px);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-inner {
  min-height: 74px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.logo strong {
  color: var(--coral);
}

.logo-symbol {
  display: grid;
  width: 40px;
  height: 40px;
  color: var(--white);
  background: var(--night);
  border-radius: 50%;
  place-items: center;
  box-shadow: 0 9px 24px rgba(20, 43, 47, 0.2);
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.nav a:hover {
  color: var(--coral-dark);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 92px;
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 107, 85, 0.16), transparent 26%),
    radial-gradient(circle at 92% 7%, rgba(93, 212, 178, 0.18), transparent 25%);
}

.hero::after {
  position: absolute;
  right: -90px;
  bottom: -130px;
  width: 330px;
  height: 330px;
  border: 52px solid rgba(20, 43, 47, 0.035);
  border-radius: 50%;
  content: "";
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 66px;
  align-items: center;
}

.tag {
  display: inline-block;
  margin-bottom: 15px;
  color: var(--coral-dark);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 740px;
  margin-bottom: 23px;
  font-size: clamp(2.7rem, 6.4vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.14;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 11px;
  font-size: 1.12rem;
  line-height: 1.36;
}

.hero-content > p,
.section-title > p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.07rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin: 32px 0 24px;
}

.btn {
  display: inline-flex;
  min-height: 51px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-main {
  color: #fff;
  background: var(--coral);
  box-shadow: 0 13px 28px rgba(255, 107, 85, 0.27);
}

.btn-main:hover {
  background: var(--coral-dark);
}

.btn-ghost {
  border-color: #cfd5d1;
  background: rgba(255, 255, 255, 0.45);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--muted);
  font-size: 0.81rem;
  font-weight: 600;
}

.trust-row span::before {
  margin-right: 7px;
  color: var(--mint);
  content: "●";
}

.status-card {
  padding: 34px;
  color: #fff;
  background: var(--night);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.status-top {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 23px;
  color: #b5cbc8;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.pulse {
  width: 9px;
  height: 9px;
  background: var(--mint);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(93, 212, 178, 0.12);
}

.status-card h2 {
  font-size: 2rem;
}

.status-card ol {
  display: grid;
  gap: 3px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.status-card li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  color: #c8d7d5;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.status-card li span {
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 800;
}

.section {
  padding: 94px 0;
}

.section-title {
  max-width: 780px;
  margin-bottom: 42px;
}

.feature-grid,
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  padding: 30px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature-card p,
.article-card p,
.faq-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.feature-icon {
  display: inline-flex;
  margin-bottom: 25px;
  color: var(--coral-dark);
  font-size: 0.77rem;
  font-weight: 800;
}

.section-dark {
  color: #fff;
  background: var(--night);
}

.section-title.light > p {
  color: #acc0be;
}

.tag-light {
  color: var(--mint);
}

.article-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: 30px;
  background: var(--night-soft);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
}

.article-card p {
  color: #acc0be;
}

.article-type {
  margin-bottom: 25px;
  color: var(--coral);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.article-card h3 a,
.article-link {
  text-decoration: none;
}

.article-card h3 a:hover,
.article-link:hover {
  color: var(--mint);
}

.article-link {
  display: inline-flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 26px;
  color: var(--mint);
  font-size: 0.91rem;
  font-weight: 800;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 70px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 13px;
}

details {
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p {
  padding-top: 13px;
}

.closing {
  padding: 0 0 94px;
}

.closing-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 46px;
  color: #fff;
  background: linear-gradient(135deg, var(--coral-dark), #f67b5c);
  border-radius: 28px;
  box-shadow: 0 22px 55px rgba(233, 80, 61, 0.22);
}

.closing-box h2 {
  margin-bottom: 8px;
}

.closing-box p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.84);
}

.closing-box .tag-light {
  color: #fff1cf;
}

.btn-white {
  flex: 0 0 auto;
  color: var(--coral-dark);
  background: #fff;
}

.site-footer {
  padding: 29px 0;
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer a {
  color: var(--coral-dark);
  font-weight: 700;
  text-decoration: none;
}

.article-page {
  padding: 64px 0 94px;
  background:
    radial-gradient(circle at 9% 2%, rgba(255, 107, 85, 0.12), transparent 24%),
    var(--paper);
}

.article-shell {
  max-width: 880px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 0.85rem;
}

.breadcrumb a {
  color: var(--coral-dark);
  text-decoration: none;
}

.article-header {
  margin-bottom: 37px;
}

.article-header h1 {
  max-width: 840px;
  margin-bottom: 23px;
  font-size: clamp(2.35rem, 6vw, 4.3rem);
}

.article-lead {
  max-width: 800px;
  color: var(--muted);
  font-size: 1.13rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 23px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 600;
}

.article-body {
  padding: clamp(25px, 5vw, 55px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 22px 60px rgba(20, 33, 43, 0.08);
}

.article-body h2 {
  margin-top: 44px;
  font-size: clamp(1.55rem, 3vw, 2rem);
}

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

.article-body h3 {
  margin-top: 29px;
}

.article-body p,
.article-body li {
  color: #4f5e68;
}

.article-body ul,
.article-body ol {
  display: grid;
  gap: 10px;
  padding-left: 23px;
}

.article-body a {
  color: var(--coral-dark);
  font-weight: 700;
}

.callout {
  margin: 29px 0;
  padding: 20px 22px;
  background: #eefaf6;
  border-left: 4px solid var(--mint);
  border-radius: 6px 14px 14px 6px;
}

.callout p {
  margin-bottom: 0;
}

.related {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.related a {
  padding: 19px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 15px;
  text-decoration: none;
}

.related span {
  display: block;
  margin-bottom: 5px;
  color: var(--coral-dark);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.09em;
}

@media (max-width: 840px) {
  .hero-layout,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 75px 0 72px;
  }

  .section {
    padding: 72px 0;
  }

  .closing-box {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .nav {
    display: none;
  }

  .actions,
  .actions .btn,
  .btn-white {
    width: 100%;
  }

  .status-card,
  .feature-card,
  .article-card,
  .closing-box {
    padding: 25px;
  }

  .related {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }
}
