:root {
  --bg: #fbf8f4;
  --bg-elevated: #ffffff;
  --bg-soft: #f3ece5;
  --bg-accent: #7b4c2f;
  --bg-accent-strong: #5f3822;
  --bg-dark: #2b1b14;

  --text: #2a231f;
  --text-soft: #5e534c;
  --text-muted: #7a6c63;
  --text-inverse: #fffaf7;

  --border: rgba(43, 27, 20, 0.12);
  --border-strong: rgba(43, 27, 20, 0.2);

  --shadow-sm: 0 8px 20px rgba(31, 20, 14, 0.06);
  --shadow-md: 0 18px 50px rgba(31, 20, 14, 0.1);
  --shadow-lg: 0 28px 80px rgba(31, 20, 14, 0.14);

  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --container: 1180px;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-7: 1.75rem;
  --space-8: 2rem;
  --space-9: 2.5rem;
  --space-10: 3rem;
  --space-11: 4rem;
  --space-12: 5rem;

  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Arial, sans-serif;
  --font-heading: Georgia, "Times New Roman", serif;

  --transition: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top right, rgba(170, 121, 83, 0.08), transparent 30%),
    linear-gradient(180deg, #fcfaf7 0%, #f8f2ec 100%);
  color: var(--text);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

table {
  border-collapse: collapse;
  width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
ul,
ol,
blockquote,
table,
figure {
  margin: 0 0 var(--space-6);
}

ul,
ol {
  padding-left: 1.2rem;
}

li + li {
  margin-top: 0.45rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 var(--space-5);
  font-family: var(--font-heading);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.8rem);
}

h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
}

h4 {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
}

small {
  font-size: 0.875rem;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -50px;
  left: var(--space-4);
  z-index: 2000;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-pill);
  background: var(--bg-dark);
  color: var(--text-inverse);
  box-shadow: var(--shadow-md);
  transition: top var(--transition);
}

.skip-link:focus {
  top: var(--space-4);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(251, 248, 244, 0.86);
  border-bottom: 1px solid rgba(43, 27, 20, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  min-height: 76px;
  padding-block: 0.8rem;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.site-brand__mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 16px;
  background:
    linear-gradient(180deg, #a56843 0%, #7b4c2f 100%);
  color: var(--text-inverse);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: var(--shadow-sm);
}

.site-brand__text {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.site-brand__title {
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.site-brand__subtitle {
  color: var(--text-soft);
  font-size: 0.82rem;
  line-height: 1.3;
}

.site-brand--footer .site-brand__title,
.site-brand--footer .site-brand__subtitle {
  color: var(--text-inverse);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
}

.nav-toggle__line {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.nav-toggle__label {
  font-size: 0.92rem;
  font-weight: 600;
}

.site-nav {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 1rem;
  right: 1rem;
  display: none;
  padding: 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.site-nav.is-open {
  display: block;
}

.site-nav__list {
  display: grid;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-nav__list a {
  display: block;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  color: var(--text);
  font-weight: 600;
  transition:
    background-color var(--transition),
    color var(--transition),
    transform var(--transition);
}

.site-nav__list a:hover,
.site-nav__list a:focus-visible,
.site-nav__list a[aria-current="page"] {
  background: var(--bg-soft);
  color: var(--bg-accent-strong);
}

.hero {
  padding: clamp(2.2rem, 4vw, 4rem) 0;
}

.hero--split {
  padding-top: clamp(2.5rem, 5vw, 5rem);
  padding-bottom: clamp(2.8rem, 5vw, 5.2rem);
}

.hero__grid {
  display: grid;
  gap: var(--space-9);
  align-items: center;
}

.hero__content {
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--space-4);
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(123, 76, 47, 0.12);
  border-radius: var(--radius-pill);
  background: rgba(123, 76, 47, 0.06);
  color: var(--bg-accent-strong);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero__lead {
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  color: var(--text-soft);
  max-width: 62ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: var(--space-7) 0 var(--space-7);
}

.hero-points {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding: 0.9rem 1rem 0.9rem 2.8rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.hero-points li::before {
  content: "•";
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-52%);
  width: 1.15rem;
  height: 1.15rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(123, 76, 47, 0.12);
  color: var(--bg-accent-strong);
  font-weight: 900;
}

.feature-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(43, 27, 20, 0.08);
  border-radius: clamp(22px, 3vw, 34px);
  background:
    radial-gradient(circle at top right, rgba(123, 76, 47, 0.08), transparent 28%),
    linear-gradient(180deg, #fffefc 0%, #f6ede5 100%);
  box-shadow: var(--shadow-lg);
  padding: clamp(1rem, 2vw, 1.4rem);
}

.quick-answer {
  padding: 0 0 clamp(1.8rem, 3vw, 2.8rem);
}

.quick-answer__card {
  padding: clamp(1.25rem, 2.4vw, 2rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(123, 76, 47, 0.08), rgba(123, 76, 47, 0.04));
  border: 1px solid rgba(123, 76, 47, 0.14);
  box-shadow: var(--shadow-sm);
}

.quick-answer__label {
  margin-bottom: 0.8rem;
  color: var(--bg-accent-strong);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.section {
  padding: clamp(3rem, 6vw, 5.5rem) 0;
}

.section--tint {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(243, 236, 229, 0.72) 100%);
}

.section--accent {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 30%),
    linear-gradient(135deg, var(--bg-accent) 0%, var(--bg-accent-strong) 100%);
  color: var(--text-inverse);
}

.section-heading {
  max-width: 780px;
  margin: 0 auto var(--space-9);
  text-align: center;
}

.section-heading--left {
  margin-inline: 0;
  text-align: left;
}

.section-heading p:last-child {
  color: var(--text-soft);
}

.cards-grid {
  display: grid;
  gap: var(--space-5);
}

.info-card,
.feature-card,
.note-card,
.quote-card,
.fact-card,
.panel-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-sm);
}

.info-card,
.feature-card,
.note-card,
.panel-card {
  padding: clamp(1.2rem, 2vw, 1.6rem);
}

.info-card h3,
.feature-card h3,
.note-card h3,
.panel-card h3 {
  margin-bottom: 0.7rem;
}

.info-card p,
.feature-card p,
.note-card p,
.panel-card p {
  color: var(--text-soft);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  color: var(--bg-accent-strong);
  font-weight: 700;
}

.text-link::after {
  content: "→";
  transition: transform var(--transition);
}

.text-link:hover::after,
.text-link:focus-visible::after {
  transform: translateX(3px);
}

.content-grid {
  display: grid;
  gap: var(--space-6);
}

.content-grid__main,
.content-grid__side {
  min-width: 0;
}

.quote-card {
  padding: clamp(1.2rem, 2.2vw, 1.8rem);
  background: linear-gradient(180deg, rgba(123, 76, 47, 0.1), rgba(123, 76, 47, 0.04));
  border-color: rgba(123, 76, 47, 0.16);
}

.quote-card__text {
  margin-bottom: 0.8rem;
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.35;
}

.quote-card__author {
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 700;
}

.table-wrap {
  overflow-x: auto;
  margin-top: var(--space-7);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-sm);
}

.styled-table {
  min-width: 640px;
}

.styled-table caption {
  padding: 1rem 1rem 0;
  text-align: left;
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 700;
}

.styled-table thead th {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  background: rgba(123, 76, 47, 0.06);
  text-align: left;
  vertical-align: top;
  font-size: 0.96rem;
}

.styled-table tbody th,
.styled-table tbody td {
  padding: 1rem;
  border-top: 1px solid rgba(43, 27, 20, 0.08);
  text-align: left;
  vertical-align: top;
}

.styled-table tbody tr:first-child th,
.styled-table tbody tr:first-child td {
  border-top: none;
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.feature-card__num {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background: rgba(123, 76, 47, 0.1);
  color: var(--bg-accent-strong);
  font-weight: 800;
  font-size: 0.95rem;
}

.cta-panel {
  display: grid;
  gap: var(--space-7);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid rgba(255, 250, 247, 0.15);
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 247, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.cta-panel__content h2,
.cta-panel__content p,
.section--accent .eyebrow {
  color: var(--text-inverse);
}

.cta-panel__content p {
  opacity: 0.92;
}

.cta-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.82rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition:
    transform var(--transition),
    background-color var(--transition),
    color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button--primary {
  background: linear-gradient(180deg, #99603e 0%, #7b4c2f 100%);
  color: var(--text-inverse);
  box-shadow: var(--shadow-sm);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: linear-gradient(180deg, #8d5737 0%, #6a4128 100%);
}

.button--ghost {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.74);
  color: var(--text);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  border-color: rgba(123, 76, 47, 0.28);
  background: rgba(123, 76, 47, 0.06);
  color: var(--bg-accent-strong);
}

.button--light {
  background: var(--bg-elevated);
  color: var(--bg-accent-strong);
}

.button--outline-light {
  border-color: rgba(255, 250, 247, 0.3);
  background: transparent;
  color: var(--text-inverse);
}

.button--outline-light:hover,
.button--outline-light:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.button--small {
  min-height: 42px;
  padding: 0.72rem 1rem;
}

.site-footer {
  padding: clamp(2.5rem, 4vw, 4rem) 0;
  background: var(--bg-dark);
  color: var(--text-inverse);
}

.footer-grid {
  display: grid;
  gap: var(--space-8);
}

.footer-brand__text,
.footer-note p,
.footer-nav a {
  color: rgba(255, 250, 247, 0.82);
}

.footer-title {
  margin-bottom: 0.85rem;
  font-size: 1.1rem;
  color: var(--text-inverse);
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li + li {
  margin-top: 0.55rem;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: #ffffff;
}

.page-hero {
  padding: clamp(2rem, 4vw, 3.8rem) 0 clamp(1.4rem, 3vw, 2rem);
}

.breadcrumbs {
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumbs li {
  margin: 0;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.65rem;
  color: var(--text-muted);
}

.page-hero__grid {
  display: grid;
  gap: var(--space-6);
  align-items: start;
}

.page-hero__lead {
  max-width: 72ch;
  color: var(--text-soft);
  font-size: 1.08rem;
}

.article-layout {
  padding-bottom: clamp(3rem, 5vw, 5rem);
}

.article-layout__grid {
  display: grid;
  gap: var(--space-7);
}

.article-toc,
.sidebar-card,
.callout,
.figure-card,
.faq-card,
.stat-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-sm);
}

.article-toc,
.sidebar-card,
.callout,
.figure-card,
.faq-card,
.stat-card {
  padding: clamp(1rem, 2vw, 1.4rem);
}

.article-toc h2,
.sidebar-card h2,
.callout h2,
.figure-card h2,
.faq-card h2 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.article-toc ul,
.sidebar-card ul {
  padding-left: 1rem;
  margin: 0;
}

.article-toc li + li,
.sidebar-card li + li {
  margin-top: 0.55rem;
}

.article-toc a,
.sidebar-card a {
  color: var(--bg-accent-strong);
  font-weight: 600;
}

.prose {
  min-width: 0;
}

.prose > *:last-child {
  margin-bottom: 0;
}

.prose h2 {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 0.2rem;
}

.prose h3 {
  margin-top: 1.6rem;
}

.prose h4 {
  margin-top: 1.3rem;
}

.prose p,
.prose li {
  color: var(--text);
}

.prose p + ul,
.prose p + ol,
.prose p + .table-wrap,
.prose p + .callout,
.prose p + .figure-card {
  margin-top: -0.15rem;
}

.prose blockquote {
  padding: 1rem 1.1rem 1rem 1.25rem;
  border-left: 4px solid rgba(123, 76, 47, 0.35);
  border-radius: 0 16px 16px 0;
  background: rgba(123, 76, 47, 0.06);
  color: var(--text);
}

.prose blockquote p:last-child {
  margin-bottom: 0;
}

.callout {
  background: linear-gradient(180deg, rgba(123, 76, 47, 0.07), rgba(123, 76, 47, 0.03));
  border-color: rgba(123, 76, 47, 0.16);
}

.callout--warning {
  background: linear-gradient(180deg, rgba(156, 78, 45, 0.12), rgba(156, 78, 45, 0.05));
}

.callout--soft {
  background: rgba(255, 255, 255, 0.82);
}

.fact-list,
.checklist,
.inline-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.fact-list li,
.checklist li,
.inline-list li {
  position: relative;
  padding-left: 1.8rem;
}

.fact-list li::before,
.checklist li::before,
.inline-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: rgba(123, 76, 47, 0.22);
}

.checklist li::before {
  background: linear-gradient(180deg, #99603e 0%, #7b4c2f 100%);
}

.stat-grid {
  display: grid;
  gap: var(--space-5);
}

.stat-card strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--bg-accent-strong);
  font-size: 1.65rem;
  line-height: 1;
}

.figure-card img {
  width: 100%;
  border-radius: calc(var(--radius-md) - 6px);
  background: #fff;
}

.figure-card figcaption,
.figure-card p:last-child {
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1rem 1.1rem;
  border: none;
  background: transparent;
  color: var(--text);
  text-align: left;
  font-weight: 700;
}

.faq-question__icon {
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(123, 76, 47, 0.08);
  color: var(--bg-accent-strong);
  font-size: 1.2rem;
  line-height: 1;
  transition: transform var(--transition);
}

.faq-item.is-open .faq-question__icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 1.1rem 1.1rem;
  color: var(--text-soft);
}

.faq-item.is-open .faq-answer {
  display: block;
}

.article-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: var(--space-8);
}

.inline-note {
  color: var(--text-soft);
  font-size: 0.96rem;
}

.hr {
  height: 1px;
  margin: var(--space-8) 0;
  background: var(--border);
  border: 0;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.tag-list li {
  margin: 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(123, 76, 47, 0.08);
  color: var(--bg-accent-strong);
  font-size: 0.92rem;
  font-weight: 700;
}

.two-col-list {
  display: grid;
  gap: 0.75rem 1rem;
}

.muted {
  color: var(--text-muted);
}

.center {
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(123, 76, 47, 0.3);
  outline-offset: 2px;
}

@media (min-width: 640px) {
  .container {
    width: min(100% - 2.5rem, var(--container));
  }

  .cards-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-col-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-panel {
    padding: 2rem;
  }

  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 860px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-nav__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
  }

  .site-nav__list a {
    padding: 0.8rem 1rem;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  }

  .cards-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .content-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.55fr);
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.7fr) minmax(220px, 0.8fr);
    align-items: start;
  }

  .page-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.52fr);
  }

  .article-layout__grid {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.34fr);
    align-items: start;
  }

  .article-layout__sidebar {
    position: sticky;
    top: 96px;
  }

  .cta-panel {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

@media (min-width: 1040px) {
  .section {
    padding: clamp(4rem, 6vw, 6.5rem) 0;
  }

  .hero__actions {
    margin-bottom: var(--space-8);
  }

  .content-grid {
    gap: var(--space-8);
  }

  .article-layout__grid {
    gap: var(--space-8);
  }

  .stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .nav-toggle,
  .hero__actions,
  .article-nav,
  .cta-panel {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .container {
    width: 100%;
  }

  .feature-panel,
  .info-card,
  .feature-card,
  .note-card,
  .quote-card,
  .table-wrap,
  .article-toc,
  .sidebar-card,
  .callout,
  .figure-card,
  .faq-item,
  .stat-card {
    box-shadow: none;
    border: 1px solid #bbb;
  }
}