:root {
  color-scheme: light;
  --ink: #070707;
  --text: #242424;
  --muted: #67625d;
  --paper: #f3f0e9;
  --surface: #fffdf8;
  --line: #d9d3ca;
  --blue: #4b55ff;
  --blue-dark: #3039d8;
  --green: #317255;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

img {
  display: block;
  max-width: 100%;
}

p,
ul,
ol {
  margin-top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 clamp(20px, 3.6vw, 54px);
  border-bottom: 1px solid var(--line);
  background: rgba(243, 240, 233, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-size: 1.16rem;
  font-weight: 900;
}

.brand-logo {
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  border-radius: 50%;
}

.brand-accent {
  color: var(--blue);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #4a4641;
  font-size: 0.95rem;
  font-weight: 720;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 850;
}

.button-primary {
  color: #fff;
  background: var(--blue);
}

.button-secondary {
  color: var(--ink);
  border-color: #d4cfc7;
  background: rgba(255, 253, 248, 0.68);
}

.hero {
  padding: clamp(42px, 6vw, 78px) clamp(20px, 3.6vw, 54px) clamp(36px, 5vw, 66px);
}

.hero-grid,
.content-grid,
.related-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.hero-grid {
  max-width: 960px;
}

.breadcrumb {
  display: inline-flex;
  margin-bottom: 28px;
  color: #5f5a54;
  font-family: "Courier New", ui-monospace, monospace;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 16px;
  color: #24211f;
  font-family: "Courier New", ui-monospace, monospace;
  font-size: 0.84rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  text-wrap: balance;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.accent-word {
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 500;
}

.lead {
  max-width: 720px;
  margin-bottom: 30px;
  color: #46413d;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.section {
  padding: clamp(42px, 7vw, 90px) clamp(20px, 3.6vw, 54px);
  border-top: 1px solid var(--line);
}

.content-grid {
  max-width: 960px;
}

.article-section {
  padding: 30px 0;
  border-top: 1px solid #d8d1c7;
}

.article-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.article-section p,
.article-section li {
  color: #4f4b47;
  font-size: 1.06rem;
}

.check-list,
.plain-list {
  display: grid;
  gap: 12px;
  padding-left: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--blue);
  content: "";
}

.related-link {
  border: 1px solid #d8d1c7;
  border-radius: 8px;
  background: var(--surface);
}

.related {
  background: #ece8df;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.related-link {
  min-height: 150px;
  padding: 22px;
  transition:
    border-color 160ms ease,
    transform 160ms ease;
}

.related-link:hover,
.related-link:focus-visible {
  border-color: #bab1a6;
  transform: translateY(-2px);
  outline: 0;
}

.related-link span {
  display: block;
  margin-bottom: 10px;
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.related-link p {
  margin-bottom: 0;
  color: #4f4b47;
}

.cta-band {
  padding: clamp(42px, 7vw, 86px) clamp(20px, 3.6vw, 54px);
  color: #fff;
  background: #070707;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.cta-inner p {
  max-width: 640px;
  margin-bottom: 0;
  color: #d8d4cc;
  font-size: 1.08rem;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 3.6vw, 54px);
  color: #6e6962;
  border-top: 1px solid var(--line);
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .nav {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

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

  .cta-inner,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .brand {
    font-size: 1.04rem;
  }

  .nav .button {
    width: 100%;
  }

  .hero-actions .button,
  .cta-inner .button {
    width: 100%;
  }
}
