:root {
  color-scheme: light;
  --bg: #f4f3ec;
  --surface: #fbfaf6;
  --surface-strong: #ffffff;
  --ink: #14251d;
  --muted: #5e6a64;
  --accent: #2f7d50;
  --accent-dark: #245f3e;
  --accent-soft: #dfece2;
  --line: #d8ddd6;
  --warning: #9b651d;
  --danger: #a04736;
  --radius: 16px;
  --shadow: 0 18px 52px rgba(34, 67, 49, .11);
  --container: 1180px;
  --header: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #8bc69f; outline-offset: 3px; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 10; background: var(--ink); color: white; padding: 12px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 5; height: var(--header); background: rgba(244, 243, 236, .94); border-bottom: 1px solid rgba(20, 37, 29, .09); backdrop-filter: blur(14px); }
.header-inner { max-width: var(--container); height: 100%; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; letter-spacing: -.04em; white-space: nowrap; }
.brand > span:last-child > span { color: var(--accent); }
.brand-emblem { width: 36px; height: 36px; object-fit: contain; }
.main-nav { justify-self: center; display: flex; align-items: center; gap: 26px; white-space: nowrap; }
.main-nav a { color: #394840; font-size: 14px; font-weight: 650; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--accent); }
.mobile-phone { display: none; }
.header-actions { display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.phone { font-size: 14px; font-weight: 700; }
.menu-button { display: none; border: 1px solid var(--line); background: var(--surface-strong); color: var(--ink); border-radius: 10px; padding: 9px 12px; }

.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-strong); color: var(--ink); font-weight: 750; white-space: nowrap; transition: transform .2s ease, background .2s ease, border-color .2s ease; cursor: pointer; }
.button:hover { transform: translateY(-2px); border-color: #b5c0b8; }
.button:active { transform: translateY(1px); }
.button-primary { background: var(--accent); border-color: var(--accent); color: white; box-shadow: 0 10px 26px rgba(47, 125, 80, .2); }
.button-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.button-small { min-height: 44px; padding: 0 17px; font-size: 14px; }
.text-link { display: inline-flex; gap: 8px; align-items: center; color: var(--accent-dark); font-weight: 750; }
.text-link::after { content: "→"; transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(4px); }

.container { max-width: var(--container); margin: 0 auto; padding-inline: 24px; }
.section { padding-block: 88px; }
.section-tight { padding-block: 64px; }
.section-heading { max-width: 720px; margin-bottom: 38px; }
.section-heading h2, .page-heading h1 { margin: 0 0 14px; letter-spacing: -.045em; line-height: 1.05; }
.section-heading h2 { font-size: clamp(32px, 4vw, 50px); }
.section-heading p, .page-heading p { margin: 0; color: var(--muted); font-size: 18px; max-width: 62ch; }
.eyebrow { display: inline-block; margin-bottom: 18px; color: var(--accent-dark); font-size: 12px; line-height: 1.2; letter-spacing: .13em; text-transform: uppercase; font-weight: 800; }

.hero { min-height: calc(100dvh - var(--header)); display: grid; align-items: center; padding-block: 54px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(430px, .9fr); gap: 44px; align-items: center; }
.hero h1 { margin: 0 0 22px; max-width: 700px; font-size: clamp(46px, 4.4vw, 58px); line-height: .98; letter-spacing: -.06em; }
.hero-title-line { display: block; white-space: nowrap; }
.hero h1 .hero-title-accent { color: var(--accent); }
.hero-copy > p { margin: 0 0 28px; max-width: 580px; color: #425047; font-size: clamp(18px, 2vw, 21px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trial-note { margin-top: 13px; color: var(--muted); font-size: 13px; }
.hero-visual { position: relative; min-height: 510px; }
.hero-photo { width: 100%; height: 510px; object-fit: cover; object-position: 64% center; border-radius: var(--radius); box-shadow: var(--shadow); }
.status-panel { position: absolute; left: -34px; bottom: 24px; width: 310px; padding: 18px; background: rgba(255, 255, 255, .96); border: 1px solid rgba(20, 37, 29, .12); border-radius: var(--radius); box-shadow: var(--shadow); }
.status-panel strong { display: block; margin-bottom: 12px; font-size: 15px; }
.status-row { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding-block: 9px; font-size: 13px; border-top: 1px solid #e8ebe7; }
.status { font-weight: 750; color: var(--accent); }
.status.late { color: var(--warning); }

.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.28); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 28px 22px; border-left: 1px solid var(--line); }
.trust-item:first-child { border-left: 0; }
.trust-item strong { display: block; color: var(--accent-dark); font-size: 30px; line-height: 1; letter-spacing: -.04em; }
.trust-item span { color: var(--muted); font-size: 13px; }

.journal-showcase { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
.feature-panel { min-height: 390px; padding: 36px; border-radius: var(--radius); background: #18352a; color: #f7faf7; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.feature-panel h3 { margin: 0; max-width: 580px; font-size: clamp(30px, 4vw, 47px); line-height: 1.05; letter-spacing: -.045em; }
.feature-panel p { color: #cbd9d1; max-width: 48ch; }
.feature-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.feature-tags span { padding: 7px 11px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; font-size: 12px; }
.journal-stack { display: grid; gap: 18px; }
.journal-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-strong); transition: transform .2s ease, border-color .2s ease; }
.journal-card:hover { transform: translateY(-3px); border-color: #9eb7a5; }
.journal-card h3 { margin: 14px 0 8px; font-size: 21px; line-height: 1.2; letter-spacing: -.025em; }
.journal-card p { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.category-label { color: var(--accent-dark); font-size: 12px; font-weight: 800; }

.workflow { display: grid; grid-template-columns: .72fr 1.28fr; gap: 56px; align-items: start; }
.workflow-copy { position: sticky; top: 120px; }
.workflow-copy h2 { margin: 0 0 16px; font-size: clamp(34px, 4vw, 52px); line-height: 1.05; letter-spacing: -.045em; }
.workflow-copy p { color: var(--muted); }
.workflow-steps { counter-reset: steps; display: grid; gap: 12px; }
.workflow-step { counter-increment: steps; display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 28px; border-radius: var(--radius); background: var(--surface-strong); border: 1px solid var(--line); }
.workflow-step::before { content: counter(steps); width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-dark); font-weight: 850; }
.workflow-step h3 { margin: 4px 0 6px; font-size: 19px; }
.workflow-step p { margin: 0; color: var(--muted); font-size: 14px; }

.materials { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 18px; }
.material { min-height: 270px; padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface-strong); display: flex; flex-direction: column; justify-content: space-between; }
.material:first-child { min-height: 360px; background: linear-gradient(135deg, #dfece2, #f9faf4); }
.material h3 { margin: 0 0 12px; font-size: 25px; line-height: 1.15; letter-spacing: -.035em; }
.material p { color: var(--muted); font-size: 14px; }
.audience-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }
.feature-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.audience-panel { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-strong); }
.audience-panel:first-child { background: var(--accent-soft); border-color: #c8dacd; }
.audience-panel h3 { margin: 0 0 14px; font-size: 25px; line-height: 1.15; letter-spacing: -.03em; }
.audience-panel p { margin: 0; color: var(--muted); }
.faq-list { display: grid; gap: 12px; max-width: 920px; }
.faq-list details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0 20px; }
.faq-list summary { cursor: pointer; font-weight: 700; padding: 18px 34px 18px 0; position: relative; }
.faq-list summary::marker { content: ""; }
.faq-list summary::after { content: "+"; position: absolute; right: 0; top: 15px; font-size: 24px; color: var(--accent-dark); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0 0 18px; }

.cta-section { margin-block: 70px; }
.cta-panel { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 34px; padding: 46px; border-radius: var(--radius); background: var(--accent); color: white; }
.cta-panel h2 { margin: 0 0 8px; font-size: clamp(30px, 4vw, 46px); line-height: 1.05; letter-spacing: -.04em; }
.cta-panel p { margin: 0; color: #e1f0e6; }
.cta-panel .button { background: white; color: #1d5536; border-color: white; }

.page-hero { padding: 72px 0 46px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; color: var(--muted); font-size: 13px; }
.breadcrumbs a:hover { color: var(--accent); }
.page-heading h1 { max-width: 900px; font-size: clamp(42px, 6vw, 68px); }
.page-heading .summary { max-width: 760px; }
.page-actions { margin-top: 28px; }

.catalog-toolbar { position: sticky; top: var(--header); z-index: 3; padding: 16px 0; background: rgba(244,243,236,.96); backdrop-filter: blur(12px); border-top: 1px solid transparent; border-bottom: 1px solid var(--line); }
.search-row { display: grid; grid-template-columns: minmax(260px, 1fr) auto; gap: 14px; align-items: center; }
.search-field { position: relative; }
.search-field label { position: absolute; width: 1px; height: 1px; overflow: hidden; }
.search-field input { width: 100%; min-height: 52px; padding: 0 18px; border: 1px solid #c8d0ca; border-radius: 12px; background: var(--surface-strong); color: var(--ink); }
.search-field input::placeholder { color: #68746d; }
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 2px; scrollbar-width: thin; }
.filter { border: 1px solid var(--line); border-radius: 999px; padding: 10px 14px; background: var(--surface-strong); color: #405047; font-size: 13px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.filter[aria-pressed="true"] { background: var(--ink); color: white; border-color: var(--ink); }
.catalog-meta { display: flex; justify-content: space-between; gap: 20px; margin: 30px 0 18px; color: var(--muted); font-size: 14px; }
.catalog-meta h2 { margin: 0 0 4px; color: var(--ink); font-size: 26px; line-height: 1.15; letter-spacing: -.03em; }
.catalog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-bottom: 82px; }
.catalog-card { min-height: 176px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-strong); display: flex; flex-direction: column; justify-content: space-between; }
.catalog-card h3 { margin: 10px 0; font-size: 19px; line-height: 1.25; letter-spacing: -.02em; }
.catalog-card p { margin: 0; color: var(--muted); font-size: 13px; }
.catalog-card.has-page { border-color: #aec9b5; }
.catalog-card .card-footer { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 16px; }
.detail-link { color: var(--accent-dark); font-weight: 750; font-size: 13px; }
.no-page { color: var(--muted); font-size: 12px; }
.empty-state { grid-column: 1 / -1; padding: 60px 24px; text-align: center; background: var(--surface); border: 1px dashed #aeb8b1; border-radius: var(--radius); }
.empty-state h2 { margin: 0 0 8px; }
.empty-state p { color: var(--muted); }
.catalog-explainer { padding-bottom: 76px; }
.catalog-explainer-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }
.catalog-explainer article { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-strong); }
.catalog-explainer article:first-child { background: var(--accent-soft); border-color: #c8dacd; }
.catalog-explainer h2 { margin: 0 0 14px; font-size: 30px; line-height: 1.12; letter-spacing: -.035em; }
.catalog-explainer p { color: var(--muted); }

.journal-hero { display: grid; grid-template-columns: 1fr 400px; gap: 54px; align-items: center; }
.journal-preview { padding: 26px; border-radius: var(--radius); background: var(--surface-strong); border: 1px solid var(--line); box-shadow: var(--shadow); }
.journal-preview h2 { margin: 0 0 18px; font-size: 18px; }
.preview-field { padding: 14px 0; border-top: 1px solid #e4e8e4; }
.preview-field span { display: block; color: var(--muted); font-size: 12px; }
.preview-field strong { display: block; margin-top: 3px; font-size: 14px; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: start; }
.article-content { max-width: 760px; }
.article-content h2 { margin: 54px 0 14px; font-size: 32px; line-height: 1.1; letter-spacing: -.035em; scroll-margin-top: 110px; }
.article-content h3 { margin: 32px 0 10px; font-size: 21px; }
.article-content p { color: #425048; }
.article-content ul { padding-left: 22px; color: #425048; }
.article-content li { margin-bottom: 9px; }
.fact-box { margin: 30px 0; padding: 24px; border-left: 4px solid var(--accent); background: var(--accent-soft); border-radius: 0 var(--radius) var(--radius) 0; }
.fact-box strong { display: block; margin-bottom: 5px; }
.side-nav { position: sticky; top: 112px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-strong); }
.side-nav strong { display: block; margin-bottom: 12px; }
.side-nav a { display: block; padding: 8px 0; color: var(--muted); font-size: 13px; }
.side-nav a:hover { color: var(--accent); }
.related-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.related-links a { padding: 18px; background: var(--surface-strong); border: 1px solid var(--line); border-radius: var(--radius); font-weight: 700; }
.article-cover { width: 100%; height: 390px; object-fit: cover; object-position: center 48%; border-radius: var(--radius); margin: 8px 0 18px; }
.prototype-note { margin-top: 20px; color: var(--muted); font-size: 12px; }

.site-footer { margin-top: 70px; padding: 58px 0 20px; background: #14251d; color: #dfe9e2; }
.footer-inner { max-width: var(--container); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 46px; }
.brand-light { color: white; }
.footer-brand p { max-width: 320px; color: #aebdb4; }
.site-footer h2 { margin: 5px 0 16px; color: white; font-size: 14px; }
.site-footer a:not(.brand) { display: block; margin: 10px 0; color: #bac8c0; font-size: 13px; }
.site-footer a:hover { color: white; }
.footer-bottom { max-width: var(--container); margin: 42px auto 0; padding: 18px 24px 0; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; color: #91a399; font-size: 12px; }
.site-footer .footer-legal { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 24px; }
.site-footer .footer-legal a { display: inline; margin: 0; color: #91a399; font-size: 12px; }

.legal-page-section { background: #f4f7f2; }
.legal-page-shell { max-width: 900px; }
.legal-page-content { overflow-wrap: break-word; word-break: normal; }
.legal-document { padding: clamp(28px, 5vw, 58px); border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: 0 22px 65px rgba(20,37,29,.08); }
.legal-document > div:first-child { padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.legal-document h1 { max-width: 760px; margin: 0; font-size: clamp(34px, 5vw, 58px); line-height: 1.02; letter-spacing: -.045em; overflow-wrap: normal; word-break: normal; hyphens: none; }
.legal-document > div:first-child p { margin: 14px 0 0; color: var(--muted); font-size: 14px; }
.legal-document section { margin-top: 38px; }
.legal-document h2 { margin: 0 0 13px; font-size: 23px; line-height: 1.2; letter-spacing: -.025em; }
.legal-document p, .legal-document li { color: #425048; font-size: 16px; line-height: 1.68; }
.legal-document p { margin: 0 0 12px; }
.legal-document ul { margin: 12px 0 0; padding-left: 22px; }
.legal-document li { margin-bottom: 8px; }
.legal-document > div:last-child { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line); }
.legal-document > div:last-child a { color: var(--accent); font-weight: 700; }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy, .hero-visual { animation: enter .6s cubic-bezier(.16,1,.3,1) both; }
  .hero-visual { animation-delay: .08s; }
  @keyframes enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
}

@media (max-width: 1080px) {
  .main-nav { gap: 16px; }
  .main-nav a:nth-child(2) { display: none; }
  .phone { display: none; }
  .hero-grid { grid-template-columns: 1fr 410px; gap: 34px; }
  .footer-inner { grid-template-columns: 1.25fr repeat(3, 1fr); gap: 24px; }
}

@media (max-width: 820px) {
  :root { --header: 64px; }
  .header-inner { padding-inline: 18px; grid-template-columns: 1fr auto auto; gap: 10px; }
  .menu-button { display: inline-flex; }
  .main-nav { display: none; position: absolute; top: 64px; left: 14px; right: 14px; padding: 14px; align-items: stretch; flex-direction: column; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-strong); box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a, .main-nav a:nth-child(2), .main-nav .mobile-phone { display: block; padding: 12px; }
  .main-nav .mobile-phone { margin-top: 6px; border-top: 1px solid var(--line); color: var(--accent-dark); }
  .header-actions .button { min-height: 40px; padding-inline: 12px; font-size: 12px; }
  .container { padding-inline: 18px; }
  .hero { min-height: auto; padding-block: 38px 58px; }
  .hero-grid, .journal-hero { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(40px, 10.7vw, 58px); }
  .hero-title-line { white-space: normal; }
  .hero-visual { min-height: 430px; }
  .hero-photo { height: 430px; }
  .status-panel { left: 14px; right: 14px; bottom: -20px; width: auto; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .trust-item:nth-child(4) { border-top: 1px solid var(--line); }
  .journal-showcase, .workflow, .materials, .content-layout, .audience-grid, .feature-facts, .catalog-explainer-grid { grid-template-columns: 1fr; }
  .workflow-copy, .side-nav { position: static; }
  .materials .material, .material:first-child { min-height: 230px; }
  .cta-panel { grid-template-columns: 1fr; padding: 34px 26px; }
  .catalog-toolbar { top: 64px; }
  .search-row { grid-template-columns: 1fr; }
  .catalog-grid { grid-template-columns: 1fr; }
  .side-nav { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .brand { font-size: 18px; }
  .brand-emblem { width: 32px; height: 32px; }
  .header-actions .button { display: none; }
  .hero h1 { font-size: 43px; }
  .hero-copy > p { font-size: 17px; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .hero-visual, .hero-photo { min-height: 380px; height: 380px; }
  .status-panel { padding: 15px; }
  .trust-item { padding: 22px 14px; }
  .trust-item strong { font-size: 25px; }
  .section { padding-block: 66px; }
  .section-heading h2 { font-size: 35px; }
  .feature-panel { padding: 26px; min-height: 350px; }
  .workflow-step { grid-template-columns: 42px 1fr; padding: 22px 18px; gap: 13px; }
  .page-hero { padding-top: 46px; }
  .page-heading h1 { font-size: 41px; }
  .catalog-meta { flex-direction: column; gap: 3px; }
  .journal-preview { padding: 20px; }
  .article-cover { height: 260px; }
  .article-content h2 { font-size: 28px; }
  .related-links { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 14px; }
  .site-footer .footer-legal { justify-content: flex-start; }
  .legal-page-section { padding-block: 42px; }
  .legal-document { border-radius: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Финальная визуальная система: trust-first editorial B2B */
:root {
  --bg: #f2f4ef;
  --surface: #e8ede7;
  --surface-strong: #fbfcf8;
  --ink: #10271d;
  --muted: #56665d;
  --accent: #237a4b;
  --accent-dark: #155a36;
  --accent-soft: #dce9de;
  --line: rgba(16, 39, 29, .12);
  --radius: 18px;
  --radius-small: 11px;
  --shadow: 0 26px 70px rgba(28, 71, 48, .12);
  --container: 1240px;
  --header: 88px;
}

body {
  background:
    radial-gradient(circle at 82% 9%, rgba(67, 145, 95, .08), transparent 23rem),
    var(--bg);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -.01em;
}

.site-header { height: var(--header); padding: 10px 16px; background: transparent; border: 0; backdrop-filter: none; }
.header-inner { height: 68px; padding: 0 20px; border: 1px solid rgba(16,39,29,.1); border-radius: var(--radius); background: rgba(251,252,248,.91); box-shadow: 0 12px 35px rgba(22,60,40,.08); backdrop-filter: blur(18px); }
.main-nav a { position: relative; font-weight: 700; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--accent); transition: right .45s cubic-bezier(.16,1,.3,1); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { right: 0; }
.button { border-radius: var(--radius-small); transition: transform .45s cubic-bezier(.16,1,.3,1), background .45s cubic-bezier(.16,1,.3,1), box-shadow .45s cubic-bezier(.16,1,.3,1); }
.button:active { transform: scale(.98); }
.button-primary { box-shadow: 0 12px 30px rgba(35,122,75,.2); }

.hero { min-height: calc(100dvh - var(--header)); padding-block: 44px 70px; }
.hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(440px, .85fr); gap: 44px; }
.hero h1 { max-width: 760px; font-size: clamp(44px, 3.5vw, 50px); line-height: .98; letter-spacing: -.06em; }
.hero-copy > p { max-width: 530px; font-size: 20px; line-height: 1.55; }
.hero-visual { min-height: auto; padding: 9px; border: 1px solid rgba(16,39,29,.1); border-radius: 27px; background: rgba(255,255,255,.52); box-shadow: var(--shadow); }
.hero-photo { display: block; height: min(590px, 66vh); min-height: 470px; border-radius: 19px; object-position: 25% center; box-shadow: none; }
.hero-caption { margin: 13px 8px 5px; color: var(--muted); font-size: 12px; letter-spacing: .02em; }
.eyebrow { padding: 7px 11px; border: 1px solid rgba(35,122,75,.18); border-radius: 999px; background: rgba(220,233,222,.72); letter-spacing: .1em; }

.trust-strip { margin-inline: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(251,252,248,.72); }
.trust-item { min-height: 112px; display: flex; flex-direction: column; justify-content: center; }
.trust-item strong { font-size: 34px; }

.section { padding-block: 112px; }
.section-tight { padding-block: 82px; }
.section-heading { margin-bottom: 48px; }
.section-heading h2 { max-width: 790px; font-size: clamp(36px,4.2vw,58px); }
.section-heading p { margin-top: 18px; }

.journal-showcase { grid-template-columns: 1.35fr .65fr; gap: 20px; }
.feature-panel { min-height: 450px; padding: 44px; background: linear-gradient(145deg,#102d21,#1b4f34); box-shadow: 0 24px 60px rgba(16,45,33,.17); }
.feature-panel h3 { font-size: clamp(36px,4.1vw,54px); }
.journal-stack { gap: 20px; }
.journal-card { padding: 30px; background: rgba(251,252,248,.84); }
.journal-card:hover { transform: translateY(-5px); box-shadow: 0 20px 42px rgba(25,75,46,.1); }

.workflow { grid-template-columns: .62fr 1.38fr; gap: 84px; }
.workflow-steps { gap: 0; border-top: 1px solid var(--line); }
.workflow-step { grid-template-columns: 58px 1fr; padding: 30px 4px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
.workflow-step::before { border-radius: var(--radius-small); }

.materials { grid-template-columns: 1.2fr .8fr; grid-template-areas: "main second" "main third"; }
.material:first-child { grid-area: main; min-height: 470px; background: linear-gradient(155deg,#d9e8da,#fbfcf8 68%); }
.material:nth-child(2) { grid-area: second; }
.material:nth-child(3) { grid-area: third; }
.material { min-height: 225px; padding: 32px; }
.material h3 { font-size: 28px; }

.audience-grid { grid-template-columns: 1.18fr .82fr; }
.audience-panel { padding: 42px; background: rgba(251,252,248,.8); }
.feature-facts { grid-template-columns: 1.15fr .85fr; }
.feature-facts .audience-panel:nth-child(3) { background: #173c2b; color: #eff7f0; }
.feature-facts .audience-panel:nth-child(3) p { color: #bdd0c3; }
.feature-facts .audience-panel:nth-child(4) { background: transparent; }
.faq-list { max-width: 100%; grid-template-columns: 1fr 1fr; }
.faq-list details { border: 1px solid var(--line); background: rgba(251,252,248,.75); }

.cta-panel { padding: 58px; border-radius: 24px; background: linear-gradient(125deg,#17643b,#2f8b58); box-shadow: 0 28px 70px rgba(23,100,59,.2); }
.cta-panel .button { min-height: 54px; padding-inline: 26px; }

.page-hero { padding: 92px 0 60px; }
.page-heading h1 { max-width: 1020px; font-size: clamp(46px,6vw,76px); }
.catalog-toolbar { margin: 0 16px; top: var(--header); border: 1px solid var(--line); border-radius: var(--radius); background: rgba(251,252,248,.9); }
.catalog-grid { grid-template-columns: repeat(12,1fr); gap: 14px; }
.catalog-card { grid-column: span 6; min-height: 188px; padding: 26px; background: rgba(251,252,248,.83); }
.catalog-card:nth-child(5n+1), .catalog-card:nth-child(5n+4) { grid-column: span 7; }
.catalog-card:nth-child(5n+2), .catalog-card:nth-child(5n+5) { grid-column: span 5; }
.catalog-card.has-page { background: linear-gradient(145deg,rgba(220,233,222,.88),rgba(251,252,248,.92)); }
.catalog-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(25,75,46,.08); }
.search-field input { border-radius: var(--radius-small); }

.content-layout { grid-template-columns: minmax(0,800px) minmax(240px,1fr); gap: 90px; }
.article-content { min-width: 0; max-width: 800px; overflow-wrap: anywhere; }
.article-cover { height: 460px; padding: 7px; border: 1px solid var(--line); border-radius: 25px; background: rgba(255,255,255,.55); object-position: center; }
.article-content h2 { margin-top: 68px; font-size: 36px; }
.article-content p, .article-content li { font-size: 17px; line-height: 1.72; }
.side-nav { padding: 26px; background: rgba(251,252,248,.78); backdrop-filter: blur(12px); }
.related-links a { transition: transform .45s cubic-bezier(.16,1,.3,1), background .45s cubic-bezier(.16,1,.3,1); }
.related-links a:hover { transform: translateY(-3px); background: var(--accent-soft); }

@media (max-width:1080px) {
  .hero-grid { grid-template-columns: 1fr 440px; gap: 40px; }
  .hero h1 { font-size: 52px; }
  .feature-facts { grid-template-columns: repeat(2,1fr); }
}

@media (max-width:820px) {
  :root { --header: 76px; }
  .site-header { padding: 6px 8px; }
  .header-inner { height: 62px; padding-inline: 14px; }
  .main-nav { top: 72px; }
  .hero { padding-block: 30px 58px; }
  .hero-grid, .journal-showcase, .workflow, .materials, .audience-grid, .feature-facts, .faq-list { grid-template-columns: 1fr; }
  .materials { grid-template-areas: none; }
  .material:first-child, .material:nth-child(2), .material:nth-child(3) { grid-area: auto; min-height: 250px; }
  .hero-photo { height: 470px; min-height: 0; }
  .trust-strip { margin-inline: 8px; }
  .section { padding-block: 76px; }
  .section-tight { padding-block: 62px; }
  .catalog-toolbar { margin-inline: 8px; }
  .catalog-card, .catalog-card:nth-child(5n+1), .catalog-card:nth-child(5n+2), .catalog-card:nth-child(5n+4), .catalog-card:nth-child(5n+5) { grid-column: 1 / -1; }
  .content-layout { grid-template-columns:1fr; gap: 0; }
}

@media (max-width:520px) {
  .hero h1 { font-size: clamp(38px,11.2vw,47px); }
  .hero-title-line { white-space: normal; }
  .hero-copy > p { font-size: 17px; }
  .hero-visual { padding: 6px; border-radius: 21px; }
  .hero-photo { height: 400px; border-radius: 15px; }
  .feature-panel, .audience-panel, .cta-panel { padding: 28px 24px; }
  .page-heading h1 { font-size: 42px; }
  .article-cover { height: 250px; padding: 5px; }
}

/* Visual system v2: documentary imagery and process-led catalog */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(16,39,29,.035) 1px, transparent 1px),
    linear-gradient(rgba(16,39,29,.035) 1px, transparent 1px),
    radial-gradient(circle at 78% 18%, rgba(83,153,105,.17), transparent 31%);
  background-size: 48px 48px, 48px 48px, auto;
}
.page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 360px;
  height: 360px;
  right: -180px;
  bottom: -220px;
  border: 72px solid rgba(35,122,75,.08);
  border-radius: 50%;
}
.seo-hero-layout,
.catalog-hero-layout {
  display: grid;
  grid-template-columns: minmax(0,1.06fr) minmax(390px,.94fr);
  gap: clamp(48px,7vw,104px);
  align-items: end;
}
.seo-hero-layout > *,
.catalog-hero-layout > * { min-width: 0; }
.seo-hero-layout .page-heading h1,
.catalog-hero-layout .page-heading h1 { overflow-wrap: anywhere; }
.seo-hero-layout .page-heading h1,
.catalog-hero-layout .page-heading h1 {
  font-size: clamp(46px,5.2vw,70px);
  line-height: .96;
}
.page-visual {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 8px;
  border: 1px solid rgba(16,39,29,.18);
  border-radius: 24px;
  background: rgba(251,252,248,.78);
  box-shadow: 0 28px 70px rgba(16,39,29,.13);
  transform: rotate(1.2deg);
}
.page-visual::before {
  content: "";
  position: absolute;
  inset: -12px 22px auto -12px;
  height: 5px;
  background: var(--accent);
  border-radius: 999px;
  transform: rotate(-1.2deg);
}
.page-visual img {
  display: block;
  width: 100%;
  height: clamp(330px,38vw,500px);
  border-radius: 16px;
  object-fit: cover;
}
.visual-index {
  position: absolute;
  right: 20px;
  bottom: 18px;
  padding: 7px 9px;
  background: rgba(16,39,29,.83);
  color: #f2f4ef;
  border-radius: 7px;
  font: 700 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .08em;
}
.page-visual-catalog { transform: rotate(-1deg); }
.page-visual-catalog figcaption {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 13px 10px 7px;
  color: var(--muted);
  font-size: 13px;
}
.page-visual-catalog figcaption b {
  color: var(--ink);
  font-size: 30px;
  line-height: 1;
}
body[data-page="P04"] .page-visual,
body[data-page="P09"] .page-visual,
body[data-page="P18"] .page-visual,
body[data-page="P22"] .page-visual { transform: rotate(-1.15deg); }

.catalog-toolbar {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
  overflow: hidden;
}
.search-row {
  width: 100%;
  max-width: none;
  grid-template-columns: minmax(0,1fr);
}
.search-field { max-width: 560px; }
.filters { min-width: 0; flex-wrap: wrap; overflow: visible; padding-bottom: 2px; }
.catalog-directory { display: grid; gap: 18px; padding-bottom: 88px; }
.catalog-group {
  --group-color: #237a4b;
  display: grid;
  grid-template-columns: minmax(190px,.34fr) minmax(0,1fr);
  gap: 34px;
  padding: 28px;
  border-radius: 20px;
  background: rgba(251,252,248,.76);
  border: 1px solid rgba(16,39,29,.12);
}
.catalog-group:nth-child(3n+2) { --group-color: #467366; }
.catalog-group:nth-child(3n) { --group-color: #7b7244; }
.catalog-group-heading { align-self: start; }
.group-mark {
  display: block;
  width: 52px;
  height: 9px;
  margin-bottom: 25px;
  border-radius: 999px;
  background: var(--group-color);
  box-shadow: 18px 0 0 color-mix(in srgb,var(--group-color) 42%, transparent);
}
.catalog-group-heading h2 { margin: 0 0 10px; font-size: 25px; line-height: 1.03; letter-spacing: -.04em; }
.catalog-group-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.catalog-group-items { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.catalog-card,
.catalog-card:nth-child(5n+1),
.catalog-card:nth-child(5n+2),
.catalog-card:nth-child(5n+4),
.catalog-card:nth-child(5n+5) {
  grid-column: auto;
  min-width: 0;
  min-height: 164px;
  padding: 21px;
  border-radius: 14px;
  background: rgba(242,244,239,.72);
}
.catalog-card.has-page {
  border-color: color-mix(in srgb,var(--group-color) 50%, #d0d8d1);
  background: color-mix(in srgb,var(--group-color) 8%, #fbfcf8);
}
.catalog-card h3 { margin: 0 0 12px; overflow-wrap: anywhere; }
.catalog-card .card-footer { padding-top: 13px; border-top: 1px solid rgba(16,39,29,.08); }
.catalog-card:hover { transform: translateY(-2px); }

@media (max-width: 980px) {
  .catalog-toolbar { position: static; }
  .seo-hero-layout,
  .catalog-hero-layout { grid-template-columns: 1fr; gap: 44px; }
  .page-visual { max-width: 760px; transform: none !important; }
  .search-row { grid-template-columns: 1fr; }
  .catalog-group { grid-template-columns: 1fr; gap: 22px; }
  .catalog-group-heading { position: static; }
}

@media (max-width: 680px) {
  .page-hero { background-size: 32px 32px, 32px 32px, auto; }
  .seo-hero-layout .page-heading h1,
  .catalog-hero-layout .page-heading h1 { font-size: clamp(39px,11vw,48px); }
  .page-visual { padding: 6px; border-radius: 19px; }
  .page-visual img { height: 280px; border-radius: 13px; }
  .catalog-toolbar { width: calc(100% - 16px); }
  .page-actions .button { max-width: 100%; white-space: normal; text-align: center; }
  .catalog-group { padding: 20px 16px; }
  .catalog-group-items { grid-template-columns: 1fr; }
  .catalog-card { min-height: 0; }
  .catalog-meta { align-items: flex-start; flex-direction: column; }
}
