:root {
  --bg: #fbfaf6;
  --paper: #ffffff;
  --ink: #24302b;
  --muted: #65736d;
  --line: #dce2dc;
  --sage: #dfeadf;
  --sage-strong: #6f8f77;
  --teal: #0f5f67;
  --forest: #193f32;
  --clay: #b66b4f;
  --amber: #d4a72c;
  --shadow: 0 18px 45px rgba(25, 63, 50, 0.12);
  --radius: 8px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Rubik", "Heebo", Arial, sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  inset-inline-start: 16px;
  top: 12px;
  z-index: 100;
  translate: 0 -160%;
  padding: 10px 14px;
  background: var(--forest);
  color: white;
  border-radius: var(--radius);
}

.skip-link:focus {
  translate: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 246, 0.92);
  border-bottom: 1px solid rgba(220, 226, 220, 0.85);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand img {
  width: 54px;
  height: 54px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.1rem;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.82rem;
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 11px;
  color: #3d4843;
  font-size: 0.95rem;
  border-radius: var(--radius);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--sage);
}

.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  color: white;
  background: var(--teal);
  border-radius: var(--radius);
  font-weight: 700;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.section,
.section-band {
  padding: 92px 0;
}

.hero {
  min-height: auto;
  display: flex;
  align-items: center;
  padding: 40px 0 34px;
  background:
    linear-gradient(130deg, rgba(223, 234, 223, 0.88), rgba(251, 250, 246, 0.5)),
    radial-gradient(circle at 16% 20%, rgba(212, 167, 44, 0.22), transparent 32%),
    linear-gradient(180deg, #f9f6ef, #eef4ef);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: 56px;
  align-items: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: break-word;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: 4rem;
  line-height: 1.05;
}

h2 {
  margin-bottom: 20px;
  font-size: 2.75rem;
  line-height: 1.12;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.18rem;
  line-height: 1.35;
}

.hero-lede,
.section-heading p,
.split p,
.about-grid p {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-lede {
  max-width: 710px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  color: white;
  background: var(--forest);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--teal);
}

.btn-secondary {
  color: var(--forest);
  background: white;
  border-color: var(--line);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 720px;
  margin: 28px 0 0;
}

.hero-stats div,
.feature-grid article,
.testimonial-grid article,
.article-grid a,
.timeline article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-stats div {
  padding: 18px;
}

.hero-stats dt {
  color: var(--forest);
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1.2;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
}

.portrait-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 0.884;
  height: 500px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #e4efe5, #cbd9d0);
  box-shadow: var(--shadow);
}

.portrait-frame::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center 18%;
}

.method-note {
  position: absolute;
  inset-inline-start: -28px;
  bottom: 28px;
  width: min(300px, 80%);
  padding: 18px;
  background: var(--forest);
  color: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.method-note span {
  display: block;
  margin-bottom: 6px;
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 900;
}

.method-note strong {
  display: block;
  line-height: 1.45;
}

.split {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 70px;
  align-items: start;
}

.split > div:last-child {
  max-width: 850px;
}

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

.feature-grid article,
.testimonial-grid article,
.article-grid a {
  padding: 24px;
}

.feature-grid p,
.testimonial-grid p {
  color: var(--muted);
}

.section-muted {
  background: #eef4ef;
}

#method {
  padding-top: 56px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.timeline article {
  padding: 24px;
}

.timeline span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--clay);
  font-weight: 900;
}

.timeline p {
  color: var(--muted);
}

.conditions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0;
}

.conditions span {
  padding: 10px 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #34453d;
  font-weight: 700;
}

.note {
  padding: 16px 18px;
  background: #fff6e2;
  border: 1px solid #ecd38b;
  border-radius: var(--radius);
}

.section-dark {
  color: white;
  background:
    linear-gradient(135deg, rgba(25, 63, 50, 0.94), rgba(15, 95, 103, 0.9)),
    var(--forest);
}

.section-dark .eyebrow,
.section-dark p {
  color: #e6eee7;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: 58px;
  align-items: center;
}

.credential-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.credential-list li {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
}

.testimonial-grid article {
  min-height: 230px;
}

.testimonial-grid strong {
  color: var(--forest);
}

.article-grid a {
  display: grid;
  gap: 10px;
  min-height: 178px;
}

.article-grid span {
  color: var(--clay);
  font-weight: 900;
}

.article-grid strong {
  font-size: 1.18rem;
  line-height: 1.45;
}

.text-link {
  display: inline-flex;
  margin-top: 26px;
  color: var(--teal);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.knowledge-hero {
  padding: 92px 0 82px;
  background:
    linear-gradient(130deg, rgba(223, 234, 223, 0.92), rgba(251, 250, 246, 0.72)),
    radial-gradient(circle at 80% 18%, rgba(182, 107, 79, 0.18), transparent 28%);
}

.knowledge-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 56px;
  align-items: center;
}

.knowledge-hero h1 {
  margin-bottom: 20px;
  font-size: 3.8rem;
}

.knowledge-hero p {
  max-width: 820px;
  color: var(--muted);
  font-size: 1.12rem;
}

.knowledge-summary {
  padding: 26px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.knowledge-summary strong {
  color: var(--forest);
  font-size: 3rem;
  line-height: 1;
}

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

.topic-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.topic-grid a {
  display: grid;
  min-height: 230px;
  padding: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.topic-grid span {
  color: var(--clay);
  font-weight: 900;
}

.topic-grid strong {
  align-self: end;
  color: var(--forest);
  font-size: 1.18rem;
}

.topic-grid p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.knowledge-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 60px;
  align-items: start;
}

.knowledge-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.knowledge-list article {
  display: grid;
  gap: 10px;
  min-height: 260px;
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.knowledge-list span {
  color: var(--clay);
  font-size: 0.88rem;
  font-weight: 900;
}

.knowledge-list h3 {
  margin: 0;
}

.knowledge-list p {
  color: var(--muted);
}

.knowledge-list a {
  align-self: end;
  color: var(--teal);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.knowledge-list .knowledge-thumb {
  align-self: stretch;
  aspect-ratio: 16 / 10;
  margin: -4px -4px 8px;
  overflow: hidden;
  color: inherit;
  background: var(--sage);
  border-radius: var(--radius);
  text-decoration: none;
}

.knowledge-list .knowledge-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.knowledge-list h3 a {
  color: var(--ink);
  font-weight: inherit;
  text-decoration: none;
}

.article-detail-hero {
  padding: 86px 0 72px;
  background:
    linear-gradient(130deg, rgba(223, 234, 223, 0.9), rgba(251, 250, 246, 0.72)),
    radial-gradient(circle at 14% 18%, rgba(212, 167, 44, 0.18), transparent 30%);
}

.article-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 60px;
  align-items: center;
}

.article-back {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--teal);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.article-detail-hero h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: 3.45rem;
}

.article-detail-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
}

.article-hero-media {
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.article-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-detail-section {
  background: var(--bg);
}

.article-shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 830px);
  gap: 64px;
  align-items: start;
}

.article-aside {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 16px;
}

.article-meta-card {
  padding: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.article-meta-card span,
.article-meta-card strong {
  display: block;
}

.article-meta-card span {
  color: var(--clay);
  font-size: 0.9rem;
  font-weight: 900;
}

.article-meta-card strong {
  margin-top: 8px;
  color: var(--forest);
  font-size: 1.15rem;
}

.article-meta-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.article-content {
  padding: clamp(26px, 4vw, 52px);
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.article-content p,
.article-content li {
  color: #35443d;
  font-size: 1.06rem;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.article-content p {
  margin: 0 0 1.2em;
}

.article-content ul,
.article-content ol {
  margin: 0 0 1.4em;
  padding-inline-start: 1.4em;
}

.article-content strong {
  color: var(--forest);
}

.article-content h2,
.article-content h3,
.article-content h4 {
  margin: 1.6em 0 0.65em;
  color: var(--forest);
  line-height: 1.35;
}

.article-content a {
  color: var(--teal);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.article-content img {
  width: 100%;
  height: auto;
  margin: 28px 0;
  border-radius: var(--radius);
}

.article-next-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.article-next-grid a {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.article-next-grid span {
  color: var(--clay);
  font-weight: 900;
}

.article-next-grid strong {
  color: var(--forest);
  font-size: 1.12rem;
}

.faq {
  max-width: 880px;
}

details {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

details + details {
  margin-top: 12px;
}

summary {
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 900;
}

details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.contact-section {
  color: white;
  background: linear-gradient(135deg, #173a30, #0f5f67);
}

.contact-section a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(340px, 0.72fr);
  gap: 54px;
  align-items: start;
}

.contact-grid p,
.contact-grid .eyebrow {
  color: #edf4ee;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  color: var(--ink);
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: #32413a;
  font-weight: 800;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: #f8faf8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.lead-form textarea {
  resize: vertical;
}

.consent {
  grid-template-columns: auto 1fr;
  align-items: center;
  font-size: 0.9rem;
}

.consent input {
  width: 18px;
  min-height: 18px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--teal);
  font-weight: 800;
}

.consent a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-hero {
  padding: 86px 0 74px;
  background:
    linear-gradient(130deg, rgba(223, 234, 223, 0.92), rgba(251, 250, 246, 0.68)),
    radial-gradient(circle at 18% 16%, rgba(212, 167, 44, 0.2), transparent 28%);
}

.legal-hero .container {
  max-width: 920px;
}

.legal-hero h1 {
  margin-bottom: 18px;
  font-size: 3.6rem;
}

.legal-hero p {
  color: var(--muted);
  font-size: 1.12rem;
}

.legal-date {
  display: inline-flex;
  margin-top: 14px;
  padding: 8px 12px;
  color: var(--forest);
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
}

.legal-section {
  background: var(--bg);
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 8px;
  padding: 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.legal-toc a {
  padding: 9px 10px;
  color: var(--muted);
  border-radius: var(--radius);
  font-weight: 800;
}

.legal-toc a:hover,
.legal-toc a:focus-visible {
  color: var(--forest);
  background: var(--sage);
}

.legal-content {
  display: grid;
  gap: 16px;
}

.legal-content article,
.legal-cta {
  padding: 30px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.legal-content h2 {
  margin-bottom: 14px;
  font-size: 1.55rem;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content ul {
  margin: 0 0 18px;
  padding-inline-start: 22px;
}

.legal-content a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-cta {
  background: #eef4ef;
}

.site-footer {
  padding: 28px 0;
  color: #dfe9e1;
  background: #112c25;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-inner a {
  color: inherit;
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 16px;
  }

  .menu-toggle {
    display: inline-block;
    justify-self: end;
  }

  .site-nav,
  .header-action {
    display: none;
  }

  .site-header.is-open .site-nav {
    display: grid;
    grid-column: 1 / -1;
    justify-content: stretch;
    gap: 6px;
    padding: 0 0 16px;
  }

  .site-header.is-open .site-nav a {
    min-height: 46px;
    padding: 10px 14px;
    background: white;
    border: 1px solid var(--line);
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .about-grid,
  .article-detail-grid {
    gap: 42px;
  }

  .split,
  .knowledge-layout,
  .article-shell,
  .legal-layout {
    gap: 34px;
  }

  .hero-grid,
  .split,
  .about-grid,
  .contact-grid,
  .knowledge-hero-grid,
  .knowledge-layout,
  .article-detail-grid,
  .article-shell,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
  }

  .legal-toc {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-visual {
    width: 100%;
    max-width: 520px;
    margin-inline: auto;
  }

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

  .timeline,
  .feature-grid,
  .testimonial-grid,
  .article-grid,
  .topic-grid,
  .knowledge-list,
  .article-next-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .section,
  .section-band {
    padding: 58px 0;
  }

  .site-header {
    background: rgba(251, 250, 246, 0.97);
  }

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

  .brand {
    gap: 9px;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .brand strong {
    font-size: 1rem;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    padding: 9px;
  }

  .brand small {
    display: none;
  }

  h1 {
    font-size: 2.28rem;
    line-height: 1.12;
  }

  h2 {
    font-size: 1.82rem;
    line-height: 1.18;
  }

  h3 {
    font-size: 1.08rem;
  }

  .hero {
    padding: 30px 0 46px;
  }

  .hero-lede,
  .section-heading p,
  .split p,
  .about-grid p,
  .knowledge-hero p,
  .article-detail-hero p:not(.eyebrow),
  .legal-hero p {
    font-size: 1rem;
  }

  .hero-actions,
  .contact-actions {
    gap: 10px;
    margin-top: 24px;
  }

  .hero-stats {
    gap: 10px;
    margin-top: 22px;
  }

  .hero-stats div,
  .feature-grid article,
  .testimonial-grid article,
  .article-grid a,
  .timeline article,
  .knowledge-list article,
  .article-next-grid a,
  .legal-content article,
  .legal-cta {
    padding: 18px;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    min-height: 48px;
    padding-inline: 18px;
  }

  .hero-stats,
  .timeline,
  .feature-grid,
  .testimonial-grid,
  .article-grid,
  .topic-grid,
  .knowledge-list,
  .article-next-grid {
    grid-template-columns: 1fr;
  }

  .split,
  .knowledge-layout,
  .article-shell,
  .legal-layout {
    gap: 26px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .timeline,
  .feature-grid,
  .testimonial-grid,
  .article-grid {
    margin-top: 24px;
  }

  .topic-grid a {
    min-height: auto;
    padding: 18px;
  }

  .knowledge-hero,
  .legal-hero,
  .article-detail-hero {
    padding: 58px 0 54px;
  }

  .knowledge-hero h1,
  .legal-hero h1,
  .article-detail-hero h1 {
    font-size: 2.2rem;
    line-height: 1.12;
  }

  .knowledge-summary {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
  }

  .knowledge-summary strong {
    font-size: 2.4rem;
  }

  .knowledge-summary span {
    margin-top: 0;
  }

  .knowledge-list article {
    min-height: 0;
  }

  .knowledge-list .knowledge-thumb {
    aspect-ratio: 16 / 9;
    margin: -2px -2px 6px;
  }

  .article-hero-media {
    aspect-ratio: 16 / 10;
  }

  .article-aside {
    order: 2;
  }

  .article-content {
    order: 1;
    padding: 22px;
  }

  .article-content p,
  .article-content li {
    font-size: 1rem;
    line-height: 1.82;
  }

  .article-meta-card {
    padding: 18px;
  }

  .legal-toc {
    grid-template-columns: 1fr;
  }

  .portrait-frame img {
    min-height: 0;
  }

  .portrait-frame {
    width: min(100%, 320px);
    height: auto;
    margin-inline: auto;
    aspect-ratio: 0.884;
  }

  .method-note {
    position: static;
    width: auto;
    margin-top: 12px;
  }

  .lead-form {
    padding: 20px;
  }

  .footer-inner {
    flex-direction: column;
  }
}

.mobile-cta,
.mobile-call {
  display: none;
}

@media (max-width: 980px) {
  .mobile-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    min-height: 56px;
    padding: 0 20px;
    color: white;
    background: #25d366;
    font-weight: 900;
    font-size: 1.05rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    text-decoration: none;
  }

  .mobile-cta svg {
    flex-shrink: 0;
  }

  .mobile-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 68px;
    left: 16px;
    z-index: 50;
    width: 52px;
    height: 52px;
    color: white;
    background: var(--forest);
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    text-decoration: none;
  }

  .site-footer {
    padding-bottom: 72px;
  }

  .contact-section {
    padding-bottom: 112px;
  }
}

@media (max-width: 430px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .site-nav a {
    font-size: 0.95rem;
  }

  h1,
  .knowledge-hero h1,
  .legal-hero h1,
  .article-detail-hero h1 {
    font-size: 1.95rem;
  }

  h2 {
    font-size: 1.58rem;
  }

  .section,
  .section-band {
    padding: 48px 0;
  }

  .hero-stats dt {
    font-size: 1.45rem;
  }

  .portrait-frame {
    width: min(100%, 280px);
    height: auto;
  }

  .knowledge-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .article-detail-grid,
  .hero-grid,
  .about-grid {
    gap: 28px;
  }

  .article-content {
    margin-inline: -2px;
    padding: 18px;
  }

  .article-content p,
  .article-content li {
    font-size: 0.98rem;
  }

  .footer-inner div {
    gap: 12px;
  }
}
