:root {
  --paper: #fbf8f2;
  --paper-deep: #f3ecdf;
  --ink: #17362e;
  --ink-soft: #40564f;
  --forest: #163e34;
  --forest-light: #285a4c;
  --sage: #a9bba5;
  --sage-light: #e4eadf;
  --clay: #c96f50;
  --clay-dark: #9f5036;
  --peach: #efc8ae;
  --gold: #c69b61;
  --line: rgba(23, 54, 46, 0.18);
  --shadow: 0 24px 70px rgba(23, 54, 46, 0.12);
  --radius-sm: 12px;
  --radius-md: 24px;
  --radius-lg: 42px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 3%, rgba(239, 200, 174, 0.28), transparent 23rem),
    var(--paper);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}

body.dialog-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 120;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--paper);
  background: var(--forest);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid transparent;
  background: rgba(251, 248, 242, 0.88);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 32px rgba(23, 54, 46, 0.06);
}

.header-inner,
.shell {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50% 50% 42% 58% / 55% 45% 55% 45%;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  position: relative;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}

.main-nav a:not(.button)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: currentColor;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-button {
  display: none;
  min-width: 48px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border: 1px solid var(--forest);
  border-radius: 999px;
  color: var(--paper);
  background: var(--forest);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--forest-light);
}

.button-secondary {
  color: var(--forest);
  background: transparent;
}

.button-secondary:hover {
  color: var(--paper);
  background: var(--forest);
}

.button-light {
  border-color: rgba(255, 255, 255, 0.55);
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.demo-strip {
  padding: 9px 24px;
  color: var(--paper);
  background: var(--clay-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
}

.hero {
  min-height: calc(100vh - 119px);
  display: grid;
  align-items: center;
  padding: 82px 0 68px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: clamp(54px, 8vw, 112px);
}

.eyebrow,
.meta-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--clay-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

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

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-wrap: balance;
}

h1 {
  max-width: 780px;
  margin-bottom: 28px;
  font-size: clamp(56px, 7vw, 94px);
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(42px, 5vw, 70px);
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.08;
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 34px;
  color: var(--ink-soft);
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.55;
}

.hero-actions,
.inline-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.inline-actions-spaced {
  margin-top: 38px;
}

.hero-note {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.hero-visual {
  position: relative;
  min-height: 590px;
  display: grid;
  place-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 5% 2% 8% 8%;
  border-radius: 48% 52% 41% 59% / 55% 39% 61% 45%;
  background: var(--sage-light);
}

.product-shot {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  aspect-ratio: 1;
  border-radius: 42% 58% 50% 50% / 47% 42% 58% 53%;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.visual-caption {
  position: absolute;
  right: -8px;
  bottom: 24px;
  z-index: 2;
  width: min(280px, 72%);
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-sm);
  background: rgba(251, 248, 242, 0.92);
  box-shadow: 0 18px 48px rgba(23, 54, 46, 0.12);
  font-size: 14px;
  line-height: 1.5;
  backdrop-filter: blur(14px);
}

.visual-caption strong {
  display: block;
  margin-bottom: 4px;
}

.route-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.route-link {
  min-height: 128px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  border-right: 1px solid var(--line);
  text-decoration: none;
  transition: background 180ms ease;
}

.route-link:last-child {
  border-right: 0;
}

.route-link:hover {
  background: var(--paper-deep);
}

.route-number {
  color: var(--clay-dark);
  font-family: var(--serif);
  font-size: 14px;
}

.route-label {
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.08;
}

.section {
  padding: clamp(82px, 10vw, 150px) 0;
}

.section-tight {
  padding: 78px 0;
}

.section-forest {
  color: var(--paper);
  background: var(--forest);
}

.section-clay {
  color: #fff8f2;
  background: var(--clay);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  align-items: end;
  gap: clamp(32px, 6vw, 88px);
  margin-bottom: 58px;
}

.section-head p {
  max-width: 650px;
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 20px;
}

.section-forest .section-head p,
.section-clay .section-head p,
.section-forest .eyebrow,
.section-clay .eyebrow {
  color: inherit;
}

.feature-story {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  min-height: 520px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  color: white;
  background: var(--forest);
}

.feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(34px, 5vw, 72px);
}

.feature-copy h3 {
  max-width: 740px;
  font-size: clamp(43px, 5.5vw, 74px);
}

.feature-copy p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
}

.feature-index {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 48px 32px;
  background: var(--sage);
  font-family: var(--serif);
  font-size: clamp(110px, 16vw, 220px);
  line-height: 0.78;
  color: var(--forest);
}

.stories-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
}

.story-list {
  border-top: 1px solid var(--line);
}

.story-card {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr) auto;
  align-items: start;
  gap: 22px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.story-card:hover h3 {
  color: var(--clay-dark);
}

.story-type {
  padding-top: 4px;
  color: var(--clay-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.story-card h3 {
  margin-bottom: 8px;
  font-size: 30px;
  transition: color 180ms ease;
}

.story-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}

.story-arrow {
  font-family: var(--serif);
  font-size: 32px;
}

.principles {
  position: relative;
  min-height: 560px;
  padding: clamp(38px, 6vw, 72px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--paper-deep);
}

.principles h3 {
  max-width: 520px;
  font-size: clamp(42px, 5vw, 62px);
}

.principle-list {
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
}

.principle-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.principle-list strong {
  color: var(--clay-dark);
  font-family: var(--serif);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.2);
}

.fact {
  min-height: 240px;
  padding: 30px;
  background: var(--forest);
}

.fact span {
  display: block;
  margin-bottom: 48px;
  color: var(--peach);
  font-family: var(--serif);
  font-size: 54px;
  line-height: 1;
}

.fact h3 {
  font-size: 27px;
}

.fact p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.55;
}

.notice {
  margin-top: 34px;
  padding: 24px 28px;
  border-left: 3px solid var(--gold);
  color: var(--ink);
  background: var(--paper-deep);
  font-size: 15px;
}

.section-forest .notice {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
}

.quote-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 6vw, 84px);
  align-items: start;
}

.quote-intro {
  position: sticky;
  top: 130px;
}

.quotes {
  display: grid;
  gap: 18px;
}

.quote-card {
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.07);
}

.quote-card blockquote {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.25;
}

.quote-card footer {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.ai-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--shadow);
}

.ai-copy,
.ai-preview {
  padding: clamp(34px, 5vw, 68px);
}

.ai-copy {
  background: var(--paper-deep);
}

.ai-preview {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.chat-line {
  max-width: 78%;
  padding: 15px 18px;
  border-radius: 18px 18px 18px 5px;
  background: var(--sage-light);
  font-size: 15px;
}

.chat-line.reply {
  margin-left: auto;
  border-radius: 18px 18px 5px 18px;
  color: white;
  background: var(--forest);
}

.footer {
  padding: 70px 0 34px;
  color: var(--paper);
  background: #102f28;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 0.6fr));
  gap: 40px;
  padding-bottom: 54px;
}

.footer h2 {
  max-width: 520px;
  margin-bottom: 18px;
  font-size: 46px;
}

.footer h3 {
  margin-bottom: 18px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.page-hero {
  padding: 94px 0 72px;
}

.page-hero .shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: clamp(42px, 8vw, 110px);
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(54px, 7vw, 90px);
}

.page-summary {
  padding-bottom: 10px;
  color: var(--ink-soft);
}

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

.article-aside {
  position: sticky;
  top: 124px;
  color: var(--ink-soft);
  font-size: 13px;
}

.article-aside strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
}

.article-aside a {
  display: block;
  margin: 9px 0;
}

.article-body {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.72;
}

.article-body h2 {
  margin-top: 82px;
  margin-bottom: 24px;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.06;
}

.article-body h3 {
  margin-top: 48px;
  font-size: 30px;
}

.article-body p {
  margin-bottom: 28px;
}

.article-body ul,
.article-body ol {
  margin: 0 0 30px;
  padding-left: 26px;
}

.article-body li {
  margin-bottom: 12px;
}

.article-lead {
  margin-bottom: 42px;
  color: var(--ink-soft);
  font-size: 25px;
  font-style: italic;
  line-height: 1.5;
}

.pullquote {
  margin: 54px -80px 54px 0;
  padding: 34px 42px;
  border-radius: var(--radius-md);
  color: var(--paper);
  background: var(--forest);
  font-size: 31px;
  line-height: 1.35;
}

.source-box {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper-deep);
  font-family: var(--sans);
  font-size: 15px;
}

.source-box p:last-child {
  margin-bottom: 0;
}

.product-page-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(44px, 7vw, 96px);
  align-items: center;
}

.product-page-grid img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.status-box {
  margin: 26px 0;
  padding: 22px 24px;
  border: 1px solid rgba(159, 80, 54, 0.38);
  border-radius: var(--radius-sm);
  background: #f8e8df;
  font-size: 15px;
}

.legal-page {
  padding: 74px 0 120px;
}

.legal-wrap {
  width: min(860px, calc(100% - 48px));
  margin-inline: auto;
}

.legal-wrap h1 {
  font-size: clamp(44px, 6vw, 68px);
}

.legal-meta {
  margin: 28px 0 50px;
  padding: 24px;
  border-radius: var(--radius-sm);
  background: var(--paper-deep);
  font-size: 15px;
}

.legal-wrap h2 {
  margin-top: 60px;
  font-size: 38px;
}

.legal-wrap p,
.legal-wrap li {
  font-size: 16px;
  line-height: 1.75;
}

dialog {
  width: min(680px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: var(--radius-md);
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 30px 100px rgba(8, 31, 25, 0.35);
}

dialog::backdrop {
  background: rgba(8, 31, 25, 0.66);
  backdrop-filter: blur(5px);
}

.dialog-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 248, 242, 0.96);
}

.dialog-head h2 {
  margin: 0;
  font-size: 34px;
}

.icon-button {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.dialog-content {
  padding: 30px 28px 34px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label,
.field-label {
  font-size: 13px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid rgba(23, 54, 46, 0.28);
  border-radius: 10px;
  color: var(--ink);
  background: white;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.checkbox-row {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  margin: 18px 0;
  font-size: 13px;
  line-height: 1.5;
}

.checkbox-row input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--forest);
}

.privacy-note {
  padding: 16px;
  border-radius: 10px;
  color: var(--ink-soft);
  background: var(--sage-light);
  font-size: 13px;
}

.form-status {
  margin-top: 18px;
  padding: 16px;
  border-radius: 10px;
  background: var(--sage-light);
  font-size: 14px;
}

.assistant-dialog .dialog-content {
  display: grid;
  gap: 18px;
}

.assistant-messages {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border-radius: 16px;
  background: white;
}

.assistant-message {
  max-width: 88%;
  padding: 13px 15px;
  border-radius: 16px 16px 16px 5px;
  background: var(--sage-light);
  font-size: 14px;
}

.assistant-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.choice:hover {
  background: var(--paper-deep);
}

/* Главная страница: маркетинговая композиция */

.home-page {
  background:
    radial-gradient(circle at 88% 6%, rgba(239, 200, 174, 0.34), transparent 27rem),
    var(--paper);
}

.home-page .site-header {
  background: rgba(251, 248, 242, 0.92);
}

.home-hero {
  min-height: calc(100svh - 83px);
  padding: 54px 0 68px;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  align-items: center;
  gap: clamp(42px, 5vw, 72px);
}

.home-hero-copy {
  position: relative;
  z-index: 2;
}

.home-hero h1 {
  max-width: 880px;
  font-size: clamp(58px, 6.1vw, 88px);
  line-height: 0.94;
}

.home-hero .hero-lead {
  max-width: 760px;
  font-size: clamp(20px, 1.75vw, 24px);
}

.home-hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: center;
}

.home-product-frame {
  position: relative;
  width: min(480px, 100%);
  margin-left: auto;
  padding: 42px 28px 22px;
  overflow: hidden;
  border: 1px solid rgba(23, 54, 46, 0.08);
  border-radius: 48% 48% 34px 34px / 34% 34% 34px 34px;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.9), transparent 38%),
    var(--sage-light);
}

.home-product-frame::after {
  content: "";
  position: absolute;
  right: -86px;
  bottom: -96px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(159, 80, 54, 0.25);
  border-radius: 50%;
}

.home-product-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.home-visual-kicker {
  position: absolute;
  top: 48px;
  left: 24px;
  z-index: 2;
  color: var(--clay-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.home-visual-caption {
  position: absolute;
  right: -26px;
  bottom: 26px;
  z-index: 3;
  width: min(340px, 78%);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 22px 24px;
  border-radius: var(--radius-sm);
  color: white;
  background: var(--forest);
  box-shadow: var(--shadow);
}

.home-visual-caption > span {
  color: var(--peach);
  font-family: var(--serif);
  font-size: 18px;
}

.home-visual-caption p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.home-visual-caption strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
}

.home-routes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.home-route {
  min-height: 214px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 20px;
  padding: 30px;
  border-right: 1px solid var(--line);
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}

.home-route:last-child {
  border-right: 0;
}

.home-route:hover,
.home-route:focus-visible {
  color: white;
  background: var(--clay-dark);
}

.home-route-number {
  color: var(--clay-dark);
  font-family: var(--serif);
  font-size: 15px;
}

.home-route:hover .home-route-number,
.home-route:focus-visible .home-route-number {
  color: var(--peach);
}

.home-route-copy {
  align-self: end;
}

.home-route-copy strong,
.home-route-copy small {
  display: block;
}

.home-route-copy strong {
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: clamp(27px, 2.2vw, 34px);
  font-weight: 500;
  line-height: 1.04;
}

.home-route-copy small {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}

.home-route:hover small,
.home-route:focus-visible small {
  color: rgba(255, 255, 255, 0.8);
}

.home-route-arrow {
  align-self: end;
  font-size: 23px;
  transition: transform 180ms ease;
}

.home-route:hover .home-route-arrow,
.home-route:focus-visible .home-route-arrow {
  transform: translate(3px, -3px);
}

.home-section-head h2 {
  max-width: 820px;
}

.home-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.home-benefit {
  min-height: 280px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.home-benefit > span {
  color: var(--clay-dark);
  font-family: var(--serif);
  font-size: 15px;
}

.home-benefit h3 {
  margin-top: 64px;
  font-size: 31px;
}

.home-benefit p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
}

.home-benefit-featured {
  background: var(--sage-light);
}

.home-benefit-accent {
  color: white;
  background: var(--forest);
}

.home-benefit-accent > span {
  color: var(--peach);
}

.home-benefit-accent p {
  color: rgba(255, 255, 255, 0.76);
}

.home-work {
  background: var(--paper-deep);
}

.home-work-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(56px, 8vw, 116px);
}

.home-work-visual {
  position: relative;
  min-height: 650px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 46% 46% 28px 28px / 30% 30% 28px 28px;
  background: var(--sage-light);
}

.home-work-visual::before {
  content: "";
  position: absolute;
  inset: 10% 6% 20%;
  border: 1px solid rgba(23, 54, 46, 0.16);
  border-radius: 50%;
  transform: rotate(-11deg);
}

.home-work-visual img {
  position: relative;
  z-index: 1;
  width: 90%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.home-work-label {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  padding: 18px 20px;
  color: white;
  background: var(--clay-dark);
}

.home-work-label span,
.home-work-label strong {
  display: block;
}

.home-work-label span {
  margin-bottom: 4px;
  color: var(--peach);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.home-work-label strong {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
}

.home-large-copy {
  max-width: 720px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(23px, 2.3vw, 31px);
  line-height: 1.42;
}

.home-work-steps {
  margin: 38px 0;
  padding: 0;
  list-style: none;
}

.home-work-steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.home-work-steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.home-work-steps li > span {
  color: var(--clay-dark);
  font-family: var(--serif);
  font-size: 14px;
}

.home-work-steps strong {
  display: block;
  margin-bottom: 5px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
}

.home-work-steps p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.home-stories {
  color: white;
  background: var(--forest);
}

.home-stories .eyebrow {
  color: var(--peach);
}

.home-stories .section-head > p {
  color: rgba(255, 255, 255, 0.72);
}

.home-story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.home-story-template {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.home-story-type {
  color: var(--peach);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.home-story-template h3 {
  margin: 82px 0 18px;
  font-size: 33px;
}

.home-story-template p {
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 15px;
}

.home-story-template small {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
}

.home-practice-business {
  color: white;
  background: var(--clay-dark);
}

.home-practice-business .eyebrow {
  color: #ffe4d4;
}

.home-practice-business-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: start;
  gap: clamp(54px, 8vw, 120px);
}

.home-practice-business-copy p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.75;
}

.home-practice-business-copy .button {
  margin-top: 16px;
}

.home-new-direction-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: center;
  gap: clamp(50px, 7vw, 100px);
}

.home-direction-number {
  color: var(--sage);
  font-family: var(--serif);
  font-size: clamp(150px, 20vw, 280px);
  letter-spacing: -0.11em;
  line-height: 0.8;
}

.home-direction-copy > p:not(.eyebrow) {
  max-width: 780px;
}

.home-direction-copy > .button {
  margin-top: 20px;
}

.home-explore {
  background: var(--sage-light);
}

.home-explore-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.home-explore-grid a,
.home-explore-grid button {
  min-height: 205px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.home-explore-grid a:first-child {
  grid-column: span 2;
}

.home-explore-grid a:hover,
.home-explore-grid a:focus-visible,
.home-explore-grid button:hover,
.home-explore-grid button:focus-visible {
  color: white;
  background: var(--forest);
}

.home-explore-grid span {
  color: var(--clay-dark);
  font-family: var(--serif);
  font-size: 14px;
}

.home-explore-grid a:hover span,
.home-explore-grid a:focus-visible span,
.home-explore-grid button:hover span,
.home-explore-grid button:focus-visible span {
  color: var(--peach);
}

.home-explore-grid strong,
.home-explore-grid small {
  display: block;
}

.home-explore-grid strong {
  margin-top: auto;
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 500;
}

.home-explore-grid small {
  margin-top: 7px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.45;
}

.home-explore-grid a:hover small,
.home-explore-grid a:focus-visible small,
.home-explore-grid button:hover small,
.home-explore-grid button:focus-visible small {
  color: rgba(255, 255, 255, 0.72);
}

.home-article-grid {
  display: grid;
  grid-template-columns: 1.14fr 0.86fr;
  gap: 20px;
}

.home-article-card {
  min-height: 480px;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.42);
}

.home-article-featured {
  color: white;
  background: var(--forest);
}

.home-article-index {
  color: var(--clay-dark);
  font-family: var(--serif);
  font-size: clamp(82px, 10vw, 140px);
  letter-spacing: -0.08em;
  line-height: 0.8;
  opacity: 0.36;
}

.home-article-featured .home-article-index,
.home-article-featured .meta-line {
  color: var(--peach);
}

.home-article-card > div:last-child {
  align-self: end;
}

.home-article-card h3 {
  font-size: clamp(32px, 3vw, 44px);
}

.home-article-card p:not(.meta-line) {
  max-width: 650px;
  color: var(--ink-soft);
  font-size: 15px;
}

.home-article-featured p:not(.meta-line) {
  color: rgba(255, 255, 255, 0.75);
}

.home-author {
  background: var(--paper-deep);
}

.home-author-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(38px, 7vw, 100px);
}

.home-author-mark {
  width: clamp(150px, 18vw, 250px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--clay-dark);
  font-family: var(--serif);
  font-size: clamp(66px, 8vw, 112px);
}

.home-author-copy h2 {
  max-width: 980px;
  font-size: clamp(42px, 4.7vw, 65px);
}

.home-author-copy > p:last-child {
  max-width: 860px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.75;
}

.home-ai .ai-panel {
  box-shadow: var(--shadow);
}

.home-contact {
  color: white;
  background: var(--forest);
}

.home-contact .eyebrow {
  color: var(--peach);
}

.home-contact-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 70px;
}

.home-contact-actions {
  display: grid;
  gap: 12px;
}

.home-contact-actions .button {
  width: 100%;
  min-height: 58px;
}

.home-site-note {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.home-site-note-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.home-site-note span,
.home-site-note strong {
  display: block;
}

.home-site-note span {
  margin-bottom: 5px;
  color: var(--ink-soft);
  font-size: 12px;
}

.home-site-note strong {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
}

.home-site-note button {
  min-height: 44px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  color: var(--clay-dark);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .menu-button {
    display: inline-grid;
    place-items: center;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    padding: 22px 24px 28px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 20px 40px rgba(23, 54, 46, 0.08);
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav .button {
    width: 100%;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .section-head,
  .feature-story,
  .stories-grid,
  .quote-grid,
  .ai-panel,
  .page-hero .shell,
  .product-page-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 500px;
  }

  .feature-index {
    min-height: 260px;
  }

  .route-nav,
  .facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .route-link:nth-child(2) {
    border-right: 0;
  }

  .route-link:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .quote-intro,
  .article-aside {
    position: static;
  }

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

  .article-aside {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
  }

  .article-aside strong {
    width: 100%;
  }

  .pullquote {
    margin-right: 0;
  }

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

@media (max-width: 640px) {
  body {
    font-size: 17px;
  }

  .header-inner,
  .shell,
  .legal-wrap {
    width: min(100% - 32px, 1240px);
  }

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

  .brand {
    font-size: 21px;
  }

  .demo-strip {
    padding-inline: 16px;
  }

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

  h1 {
    font-size: clamp(46px, 15vw, 64px);
  }

  h2 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .hero-lead {
    font-size: 18px;
  }

  .hero-actions,
  .inline-actions {
    align-items: stretch;
  }

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

  .hero-visual {
    min-height: 390px;
  }

  .visual-caption {
    right: 0;
    bottom: 0;
  }

  .route-nav,
  .facts-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .route-link {
    min-height: 108px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .route-link:last-child {
    border-bottom: 0;
  }

  .feature-story,
  .principles,
  .ai-panel {
    border-radius: 26px;
  }

  .feature-copy,
  .ai-copy,
  .ai-preview {
    padding: 32px 24px;
  }

  .feature-copy h3 {
    font-size: 42px;
  }

  .story-card {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .story-type {
    grid-column: 1 / -1;
  }

  .fact {
    min-height: auto;
  }

  .fact span {
    margin-bottom: 24px;
  }

  .quote-intro {
    position: static;
  }

  .page-hero {
    padding-top: 64px;
  }

  .page-hero h1 {
    font-size: clamp(44px, 14vw, 62px);
  }

  .article-body {
    font-size: 18px;
  }

  .article-lead {
    font-size: 21px;
  }

  .pullquote {
    padding: 26px;
    font-size: 25px;
  }

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

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

  .dialog-head,
  .dialog-content {
    padding-inline: 20px;
  }

  .field-full {
    grid-column: auto;
  }
}

@media (max-width: 980px) {
  .home-hero-grid,
  .home-work-grid,
  .home-practice-business-grid,
  .home-new-direction-grid,
  .home-author-grid,
  .home-contact-inner {
    grid-template-columns: 1fr;
  }

  .home-hero {
    padding-top: 66px;
  }

  .home-hero-visual {
    width: min(620px, 100%);
    min-height: 600px;
    margin-inline: auto;
  }

  .home-product-frame {
    margin-inline: auto;
  }

  .home-routes,
  .home-story-grid {
    grid-template-columns: 1fr;
  }

  .home-route {
    min-height: 168px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .home-route:last-child {
    border-bottom: 0;
  }

  .home-benefit-grid,
  .home-explore-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-work-visual {
    width: min(620px, 100%);
    min-height: 610px;
    margin-inline: auto;
  }

  .home-story-template {
    min-height: 300px;
  }

  .home-story-template h3 {
    margin-top: 52px;
  }

  .home-direction-number {
    margin-bottom: 18px;
  }

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

  .home-article-card {
    min-height: 420px;
  }

  .home-author-grid {
    justify-items: start;
  }

  .home-contact-inner {
    gap: 36px;
  }
}

@media (max-width: 640px) {
  .home-page {
    font-size: 18px;
  }

  .home-hero {
    padding: 58px 0 70px;
  }

  .home-hero h1 {
    font-size: clamp(45px, 14vw, 62px);
  }

  .home-hero .hero-lead {
    font-size: 19px;
  }

  .home-hero-visual {
    min-height: auto;
    display: block;
  }

  .home-product-frame {
    padding: 34px 18px 14px;
    border-radius: 46% 46% 24px 24px / 28% 28% 24px 24px;
  }

  .home-visual-kicker {
    top: 34px;
    left: 16px;
    font-size: 9px;
  }

  .home-visual-caption {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% - 24px);
    margin: -20px 0 0 24px;
    padding: 18px;
  }

  .home-route {
    min-height: auto;
    grid-template-columns: auto 1fr;
    padding: 24px 0;
  }

  .home-route-copy {
    align-self: start;
  }

  .home-route-arrow {
    display: none;
  }

  .home-route-copy strong {
    font-size: 29px;
  }

  .home-route-copy small {
    font-size: 15px;
  }

  .home-benefit-grid,
  .home-explore-grid {
    grid-template-columns: 1fr;
  }

  .home-benefit {
    min-height: auto;
    padding: 26px;
  }

  .home-benefit h3 {
    margin-top: 36px;
  }

  .home-work-visual {
    min-height: 420px;
    border-radius: 44% 44% 22px 22px / 25% 25% 22px 22px;
  }

  .home-work-label {
    right: 14px;
    bottom: 14px;
    padding: 15px;
  }

  .home-work-steps li {
    grid-template-columns: 38px 1fr;
    gap: 14px;
  }

  .home-story-template {
    min-height: 280px;
    padding: 28px 24px;
  }

  .home-story-template h3 {
    margin-top: 42px;
    font-size: 30px;
  }

  .home-practice-business-copy p,
  .home-author-copy > p:last-child {
    font-size: 17px;
  }

  .home-direction-number {
    font-size: 126px;
  }

  .home-direction-copy .button {
    width: 100%;
  }

  .home-explore-grid a:first-child {
    grid-column: span 1;
  }

  .home-explore-grid a,
  .home-explore-grid button {
    min-height: 164px;
    padding: 24px;
  }

  .home-article-card {
    min-height: 430px;
    padding: 28px 24px;
  }

  .home-article-index {
    font-size: 82px;
  }

  .home-author-mark {
    width: 104px;
    font-size: 54px;
  }

  .home-author-copy h2 {
    font-size: 40px;
  }

  .home-contact-actions .button {
    width: 100%;
    min-height: 54px;
  }

  .home-site-note-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* SEO journal article: scoped additions for the long-form layout. */
.seo-article-page .article-page-hero {
  padding: 76px 0 86px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--paper-deep) 0%, var(--paper) 100%);
}

.seo-article-page .article-page-hero h1 {
  max-width: 980px;
  font-size: clamp(48px, 6.2vw, 82px);
  line-height: 0.98;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 38px;
  color: var(--ink-soft);
  font-size: 13px;
}

.breadcrumbs a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
  text-decoration-color: currentColor;
}

.seo-article-page .article-page-summary {
  padding: 24px 0 10px 28px;
  border-left: 1px solid var(--line);
}

.seo-article-page .article-page-summary p {
  margin-bottom: 10px;
}

.seo-article-page .article-toc {
  font-size: 14px;
  line-height: 1.45;
}

.seo-article-page .article-toc a {
  padding: 4px 0;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
}

.seo-article-page .article-toc a:hover,
.seo-article-page .article-toc a:focus-visible {
  color: var(--ink);
  text-decoration-color: currentColor;
}

.seo-article-page .longform-article h2 {
  scroll-margin-top: 120px;
}

.seo-article-page .article-questions {
  margin: 10px 0 38px;
  padding: 6px 0 6px 30px;
  border-left: 2px solid var(--accent);
}

.seo-article-page .article-questions p {
  margin-bottom: 14px;
  font-size: 19px;
}

.seo-article-page .article-questions p:last-child {
  margin-bottom: 0;
}

.article-next-links {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 14px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-family: var(--sans);
}

.article-next-links .button {
  min-height: 62px;
  padding: 15px 22px;
  white-space: normal;
  text-align: center;
}

.article-related-section {
  border-top: 1px solid var(--line);
  background: var(--paper-deep);
}

.article-related-list {
  border-top: 1px solid var(--line);
}

.article-related-item {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  min-height: 104px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.article-related-item span {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 34px;
}

.article-related-item strong {
  max-width: 780px;
  font-size: clamp(20px, 2.4vw, 32px);
  line-height: 1.2;
}

.article-related-item[href]:hover strong,
.article-related-item[href]:focus-visible strong {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.article-related-placeholder {
  color: var(--ink-soft);
}

@media (max-width: 980px) {
  .seo-article-page .article-page-summary {
    max-width: 520px;
    padding: 6px 0 0;
    border-left: 0;
  }

  .seo-article-page .article-toc {
    display: none;
  }

  .seo-article-page .article-toc strong {
    grid-column: 1 / -1;
  }

  .seo-article-page .article-toc a {
    display: flex;
    align-items: center;
    min-height: 44px;
    margin: 0;
  }
}

@media (max-width: 640px) {
  .seo-article-page .article-page-hero {
    padding: 46px 0 58px;
  }

  .seo-article-page .article-page-hero h1 {
    font-size: clamp(40px, 12.8vw, 54px);
    line-height: 1;
  }

  .breadcrumbs {
    margin-bottom: 28px;
  }

  .seo-article-page .article-toc {
    grid-template-columns: 1fr;
  }

  .seo-article-page .article-toc strong {
    grid-column: auto;
  }

  .seo-article-page .longform-article {
    font-size: 18px;
    line-height: 1.68;
  }

  .seo-article-page .longform-article h2 {
    margin-top: 64px;
    font-size: clamp(34px, 10.8vw, 46px);
  }

  .seo-article-page .article-questions {
    padding-left: 20px;
  }

  .seo-article-page .article-questions p {
    font-size: 18px;
  }

  .article-next-links {
    grid-template-columns: 1fr;
  }

  .article-next-links .button {
    width: 100%;
  }

  .article-related-item {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 14px;
  }
}

/* Section indexes and journal directory reuse the existing editorial system. */
.section-page .page-hero,
.journal-index-page .page-hero {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--paper-deep) 0%, var(--paper) 100%);
}

.section-page .page-hero h1,
.journal-index-page .page-hero h1 {
  max-width: 900px;
}

.journal-rubrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 54px;
}

.journal-rubrics span {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 14px;
}

.journal-list {
  border-top: 1px solid var(--line);
}

.journal-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 88px);
  padding: clamp(38px, 6vw, 72px) 0;
  border-bottom: 1px solid var(--line);
}

.journal-row-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 14px;
}

.journal-row-meta > span:first-child {
  color: var(--accent-dark);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.journal-row h2 {
  max-width: 850px;
  margin-bottom: 18px;
  font-size: clamp(34px, 4.7vw, 60px);
  line-height: 1.02;
}

.journal-row p {
  max-width: 760px;
  margin-bottom: 26px;
  color: var(--ink-soft);
  font-size: 18px;
}

@media (max-width: 760px) {
  .journal-rubrics {
    margin-bottom: 34px;
  }

  .journal-row {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .journal-row-meta {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .journal-row h2 {
    font-size: clamp(32px, 10.6vw, 46px);
  }

  .journal-row .button {
    width: 100%;
  }
}

/* Страница «Массажистам»: расширенная маркетинговая композиция в языке сайта. */
.massage-page {
  background:
    radial-gradient(circle at 88% 5%, rgba(239, 200, 174, 0.3), transparent 29rem),
    var(--paper);
}

.massage-page h2 {
  letter-spacing: -0.045em;
}

.massage-hero {
  padding: 72px 0 94px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(243, 236, 223, 0.78), rgba(251, 248, 242, 0));
}

.massage-hero .massage-hero-grid {
  grid-template-columns: minmax(0, 1.3fr) minmax(360px, 0.7fr);
  align-items: center;
  gap: clamp(44px, 5vw, 72px);
}

.massage-hero-copy {
  min-width: 0;
}

.massage-hero h1 {
  max-width: 900px;
  font-size: clamp(52px, 4.9vw, 68px);
  line-height: 1;
}

.massage-hero-lead {
  max-width: 790px;
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.48;
}

.massage-hero-actions {
  margin-top: 34px;
}

.massage-hero-note {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.massage-hero-visual {
  margin: 0;
}

.massage-product-frame {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 48px 28px 24px;
  border: 1px solid rgba(23, 54, 46, 0.12);
  border-radius: 48% 48% 30px 30px / 27% 27% 30px 30px;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.94), rgba(228, 234, 223, 0.72) 58%, rgba(169, 187, 165, 0.66));
  box-shadow: var(--shadow);
}

.massage-product-frame::after {
  content: "";
  position: absolute;
  right: 26px;
  bottom: 25px;
  left: 26px;
  height: 1px;
  background: rgba(23, 54, 46, 0.18);
}

.massage-product-frame img {
  position: relative;
  z-index: 1;
  width: min(470px, 100%);
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 24px 28px rgba(23, 54, 46, 0.14));
}

.massage-visual-index {
  position: absolute;
  top: 34px;
  left: 34px;
  z-index: 2;
  color: var(--clay-dark);
  font-family: var(--serif);
  font-size: 24px;
}

.massage-hero-visual figcaption {
  max-width: 390px;
  margin: 20px 0 0 auto;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

.massage-editorial-grid,
.massage-belief-grid,
.massage-trust-grid,
.massage-checklist-grid,
.massage-partnership-grid,
.massage-final-inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(48px, 8vw, 116px);
  align-items: start;
}

.massage-section-title h2,
.massage-belief h2,
.massage-partnership h2,
.massage-final h2 {
  max-width: 640px;
  font-size: clamp(45px, 5.8vw, 76px);
  line-height: 1.02;
}

.massage-prose,
.massage-belief-copy,
.massage-trust-grid > div:last-child,
.massage-partnership-copy,
.massage-final-copy {
  max-width: 760px;
}

.massage-prose p,
.massage-belief-copy p,
.massage-trust-grid p,
.massage-partnership-copy p,
.massage-final-copy p {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: clamp(19px, 1.75vw, 23px);
  line-height: 1.64;
}

.massage-prose p:first-child {
  color: var(--ink);
  font-size: clamp(22px, 2.1vw, 29px);
  line-height: 1.52;
}

.massage-belief,
.massage-partnership,
.massage-final {
  color: var(--paper);
  background: var(--forest);
}

.massage-belief .eyebrow,
.massage-partnership .eyebrow,
.massage-final .eyebrow {
  color: var(--peach);
}

.massage-belief-copy p,
.massage-partnership-copy p,
.massage-final-copy p {
  color: rgba(251, 248, 242, 0.82);
}

.massage-change-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 52px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.massage-change-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 48px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.3);
}

.massage-change-card > span,
.massage-audience-grid article > span {
  color: var(--clay-dark);
  font-family: var(--serif);
  font-size: 18px;
}

.massage-change-card h3 {
  max-width: 560px;
  margin: auto 0 20px;
  font-size: clamp(29px, 3.5vw, 44px);
  line-height: 1.08;
}

.massage-change-card p {
  max-width: 610px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.65;
}

.massage-change-card-accent {
  color: var(--paper);
  background: var(--forest);
}

.massage-change-card-accent > span {
  color: var(--peach);
}

.massage-change-card-accent p {
  color: rgba(251, 248, 242, 0.78);
}

.massage-product {
  background: var(--paper-deep);
}

.massage-product-grid {
  display: grid;
  grid-template-columns: minmax(330px, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: center;
}

.massage-product-image {
  overflow: hidden;
  padding: clamp(24px, 4vw, 54px);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
}

.massage-product-image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.massage-product-copy h2,
.massage-economics h2,
.massage-proof h2,
.massage-audience h2,
.massage-checklist h2,
.massage-path h2 {
  max-width: 850px;
  font-size: clamp(45px, 5.8vw, 76px);
  line-height: 1.02;
}

.massage-product-copy > p:not(.eyebrow) {
  max-width: 720px;
  margin-bottom: 22px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.65;
}

.massage-product-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-top: 30px;
}

.massage-product-links > a:last-child,
.massage-text-link,
.massage-checklist-links a,
.massage-final-text-link {
  font-weight: 700;
  text-decoration-color: currentColor;
}

.massage-path {
  scroll-margin-top: 90px;
}

.massage-path-list {
  margin: 58px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.massage-path-list li {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: clamp(24px, 5vw, 74px);
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.massage-path-list li > span {
  color: var(--clay-dark);
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 52px);
}

.massage-path-list h3 {
  margin: 0 0 8px;
  font-size: clamp(28px, 3.2vw, 42px);
}

.massage-path-list p {
  max-width: 780px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.massage-inline-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 36px;
  padding: 28px 30px;
  border-radius: var(--radius-md);
  background: var(--sage-light);
}

.massage-inline-cta p {
  max-width: 680px;
  margin: 0;
  color: var(--ink-soft);
}

.massage-trust {
  background: linear-gradient(135deg, rgba(228, 234, 223, 0.8), rgba(243, 236, 223, 0.64));
}

.massage-trust-grid {
  grid-template-columns: minmax(150px, 0.35fr) minmax(0, 1.35fr);
}

.massage-trust-index {
  color: rgba(23, 54, 46, 0.12);
  font-family: var(--serif);
  font-size: clamp(130px, 18vw, 250px);
  line-height: 0.78;
}

.massage-trust h2 {
  max-width: 900px;
  margin-bottom: 34px;
  font-size: clamp(46px, 6vw, 78px);
  line-height: 1;
}

.massage-text-link {
  display: inline-block;
  margin-top: 12px;
}

.massage-economics {
  scroll-margin-top: 90px;
}

.massage-economics-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.65fr);
  gap: clamp(44px, 8vw, 112px);
  align-items: end;
}

.massage-economics-copy p {
  margin: 0 0 16px;
  color: var(--ink-soft);
}

.massage-calculator {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(330px, 1.1fr);
  gap: 1px;
  overflow: hidden;
  margin-top: 56px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--line);
  box-shadow: var(--shadow);
}

.massage-calculator-form,
.massage-calculator-results {
  padding: clamp(28px, 5vw, 58px);
  background: white;
}

.massage-calculator-form {
  display: grid;
  gap: 19px;
}

.massage-calculator-form label {
  display: grid;
  gap: 8px;
}

.massage-calculator-form label > span {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 750;
}

.massage-calculator-form input {
  width: 100%;
  min-height: 54px;
  padding: 13px 15px;
  border: 1px solid rgba(23, 54, 46, 0.25);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: var(--paper);
}

.massage-calculator-results {
  display: grid;
  align-content: center;
  gap: 0;
  background: var(--forest);
}

.massage-calculator-results > div {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.massage-calculator-results > div:last-child {
  border-bottom: 0;
}

.massage-calculator-results span {
  max-width: 260px;
  color: rgba(251, 248, 242, 0.68);
  font-size: 14px;
}

.massage-calculator-results strong {
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 39px);
  line-height: 1;
  text-align: right;
}

.massage-calculator-note {
  grid-column: 1 / -1;
  margin: 0;
  padding: 20px clamp(28px, 5vw, 58px);
  color: var(--ink-soft);
  background: var(--paper-deep);
  font-size: 13px;
}

.massage-economics-action {
  display: flex;
  justify-content: flex-end;
  margin-top: 28px;
}

.massage-audience {
  background: var(--paper-deep);
}

.massage-audience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 50px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.massage-audience-grid article {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.42);
}

.massage-audience-grid h3 {
  margin: auto 0 0;
  font-size: clamp(24px, 2.45vw, 34px);
  line-height: 1.14;
}

.massage-audience-note {
  max-width: 900px;
  margin: 42px 0 0 auto;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 21px;
}

.massage-checklist-intro {
  position: sticky;
  top: 118px;
}

.massage-checklist-intro > p:not(.eyebrow) {
  color: var(--ink-soft);
}

.massage-checklist-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
}

.massage-checklist-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  counter-reset: checklist;
  list-style: none;
}

.massage-checklist-list li {
  position: relative;
  min-height: 130px;
  padding: 28px 26px 28px 60px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  counter-increment: checklist;
  font-size: 17px;
  line-height: 1.55;
}

.massage-checklist-list li:nth-child(even) {
  border-right: 0;
}

.massage-checklist-list li::before {
  content: counter(checklist, decimal-leading-zero);
  position: absolute;
  top: 28px;
  left: 18px;
  color: var(--clay-dark);
  font-family: var(--serif);
}

.massage-proof {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.26);
}

.massage-proof-inner {
  max-width: 980px;
  text-align: center;
}

.massage-proof h2 {
  margin-inline: auto;
}

.massage-proof p:last-child {
  max-width: 790px;
  margin: 30px auto 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 21px;
}

.massage-page .button-light-outline {
  border-color: rgba(251, 248, 242, 0.64);
  color: var(--paper);
  background: transparent;
}

.massage-page .button-light-outline:hover {
  border-color: var(--paper);
  color: var(--forest);
  background: var(--paper);
}

.massage-reading {
  padding-block: 0;
  border-bottom: 1px solid var(--line);
}

.massage-reading-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.massage-reading-grid a {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 34px;
  border-left: 1px solid var(--line);
  text-decoration: none;
  transition: background 180ms ease;
}

.massage-reading-grid a:last-child {
  border-right: 1px solid var(--line);
}

.massage-reading-grid a:hover,
.massage-reading-grid a:focus-visible {
  background: var(--paper-deep);
}

.massage-reading-grid span {
  color: var(--clay-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.massage-reading-grid strong {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.08;
}

.massage-final-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}

.massage-final-text-link {
  margin-left: 4px;
  color: var(--paper);
}

.massage-page .assistant-dialog {
  width: min(760px, calc(100% - 32px));
}

.massage-page .assistant-messages {
  min-height: 180px;
}

@media (max-width: 1100px) {
  .massage-hero .massage-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.7fr);
  }

  .massage-hero h1 {
    font-size: clamp(50px, 6.7vw, 72px);
  }

  .massage-audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .massage-hero .massage-hero-grid,
  .massage-editorial-grid,
  .massage-belief-grid,
  .massage-product-grid,
  .massage-trust-grid,
  .massage-economics-head,
  .massage-checklist-grid,
  .massage-partnership-grid,
  .massage-final-inner {
    grid-template-columns: 1fr;
  }

  .massage-hero-visual {
    width: min(620px, 100%);
    margin-inline: auto;
  }

  .massage-trust-index {
    font-size: 120px;
  }

  .massage-calculator {
    grid-template-columns: 1fr;
  }

  .massage-calculator-note {
    grid-column: auto;
  }

  .massage-checklist-intro {
    position: static;
  }
}

@media (max-width: 640px) {
  .massage-hero {
    padding: 46px 0 64px;
  }

  .massage-hero h1 {
    font-size: clamp(38px, 10.5vw, 46px);
    line-height: 1;
  }

  .massage-hero-lead {
    font-size: 19px;
  }

  .massage-hero-actions .button,
  .massage-inline-cta .button,
  .massage-economics-action .button,
  .massage-final-actions .button {
    width: 100%;
  }

  .massage-product-frame {
    min-height: auto;
    padding: 38px 18px 20px;
    border-radius: 46% 46% 24px 24px / 28% 28% 24px 24px;
  }

  .massage-visual-index {
    top: 24px;
    left: 22px;
  }

  .massage-hero-visual figcaption {
    font-size: 13px;
  }

  .massage-section-title h2,
  .massage-belief h2,
  .massage-product-copy h2,
  .massage-economics h2,
  .massage-proof h2,
  .massage-audience h2,
  .massage-checklist h2,
  .massage-path h2,
  .massage-partnership h2,
  .massage-final h2,
  .massage-trust h2 {
    font-size: clamp(37px, 11.7vw, 50px);
  }

  .massage-prose p,
  .massage-belief-copy p,
  .massage-trust-grid p,
  .massage-partnership-copy p,
  .massage-final-copy p,
  .massage-product-copy > p:not(.eyebrow) {
    font-size: 18px;
  }

  .massage-change-grid,
  .massage-audience-grid,
  .massage-checklist-list,
  .massage-reading-grid {
    grid-template-columns: 1fr;
  }

  .massage-change-card,
  .massage-audience-grid article {
    min-height: 260px;
  }

  .massage-path-list li {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 14px;
  }

  .massage-path-list p {
    font-size: 16px;
  }

  .massage-inline-cta {
    align-items: stretch;
    flex-direction: column;
    padding: 24px;
  }

  .massage-trust-index {
    font-size: 94px;
  }

  .massage-calculator-form,
  .massage-calculator-results {
    padding: 28px 22px;
  }

  .massage-calculator-results > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .massage-calculator-results strong {
    text-align: left;
  }

  .massage-calculator-note {
    padding: 18px 22px;
  }

  .massage-economics-action {
    justify-content: stretch;
  }

  .massage-audience-note,
  .massage-proof p:last-child {
    font-size: 18px;
  }

  .massage-checklist-list li {
    min-height: auto;
    border-right: 0;
  }

  .massage-reading-grid a,
  .massage-reading-grid a:last-child {
    min-height: 150px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .massage-final-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .massage-final-text-link {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0;
    text-align: center;
  }

  .massage-page .assistant-choices {
    display: grid;
    grid-template-columns: 1fr;
  }

  .massage-page .choice {
    width: 100%;
    min-height: 48px;
    text-align: left;
  }
}
