:root {
  --paper: #f8f6ef;
  --ink: #20272b;
  --muted: #5e6865;
  --line: rgba(32, 39, 43, .16);
  --surface: #ffffff;
  --accent: #b85f4d;
  --calm: #6f9276;
  --deep: #304a58;
  --radius: 8px;
  --shadow: 0 20px 60px rgba(22, 30, 34, .12);
}
.theme-smoothie { --paper:#f6fbf2; --ink:#1f312a; --accent:#c94f5d; --calm:#6f9a6d; --deep:#2f6b4f; }
.theme-vitality { --paper:#f8f6f1; --ink:#20272b; --accent:#b78b3a; --calm:#7d8f76; --deep:#304a58; }
.theme-prostate { --paper:#f7f4ee; --ink:#232a2e; --accent:#b85f4d; --calm:#6a8b72; --deep:#37505c; }
.theme-pressure { --paper:#f5f8f7; --ink:#1f2b31; --accent:#c4473f; --calm:#79a982; --deep:#234b57; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}
body[data-lang="ru"] .lang-en, body[data-lang="en"] .lang-ru { display: none; }
a { color: inherit; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 14px clamp(16px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 92%, white);
  backdrop-filter: blur(12px);
}
.brand {
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}
nav {
  display: flex;
  justify-content: center;
  gap: clamp(10px, 2vw, 24px);
  font-size: 14px;
}
nav a, .text-link {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
nav a:hover, .text-link:hover { border-color: currentColor; }
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--ink);
  min-width: 42px;
  min-height: 36px;
  cursor: pointer;
}
.lang-switch button[aria-pressed="true"] { background: var(--ink); color: white; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .8fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100svh - 70px);
  padding: clamp(38px, 7vw, 86px) clamp(16px, 5vw, 72px) 32px;
}
.hero-copy { max-width: 780px; }
.eyebrow, .kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0;
}
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 7vw, 88px);
  line-height: .98;
  letter-spacing: 0;
  max-width: 960px;
}
h2 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4.3vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
}
.lead {
  max-width: 720px;
  font-size: clamp(18px, 2vw, 23px);
  color: var(--muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 30px;
}
.button, form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.button:hover, form button:hover { background: var(--deep); }
.button:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 55%, white);
  outline-offset: 3px;
}
.hero-media img {
  width: 100%;
  display: block;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: white;
}
figure { margin: 0; }
figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}
.safety-strip, .section {
  margin: 0 auto;
  width: min(1120px, calc(100% - 32px));
}
.safety-strip {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
}
.photo-story {
  width: min(1180px, calc(100% - 32px));
  margin: clamp(42px, 7vw, 76px) auto 0;
}
.photo-story img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.photo-story p {
  max-width: 780px;
  margin: 14px 0 0 auto;
  color: var(--muted);
  font-size: 16px;
}
.section {
  padding: clamp(58px, 8vw, 98px) 0;
  border-bottom: 1px solid var(--line);
}
.split-block {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(280px, .62fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}
.split-block p, .note-block p, .source-panel p, .checklist p { color: var(--muted); font-size: 18px; }
.rail-list, .source-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.rail-list li {
  padding: 18px 0 18px 24px;
  border-bottom: 1px solid var(--line);
  border-left: 5px solid var(--accent);
}
.tool-panel {
  display: grid;
  grid-template-columns: minmax(0, .62fr) minmax(300px, .78fr);
  gap: clamp(24px, 5vw, 54px);
  align-items: stretch;
}
.smoothie-tool, .week-tool, .symptom-tool, .pressure-tool {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: clamp(18px, 3vw, 30px);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.smoothie-tool, .week-tool { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.smoothie-tool button, .week-tool button {
  min-height: 54px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
}
.smoothie-tool button.active, .week-tool button.active { background: var(--accent); color: #fff; border-color: var(--accent); }
output {
  display: block;
  grid-column: 1 / -1;
  padding: 18px;
  min-height: 74px;
  background: var(--deep);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 800;
}
.pressure-tool label, .symptom-tool label, form label, .checklist label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}
.pressure-tool input, form input, form select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  font: inherit;
  background: #fff;
  color: var(--ink);
}
.step-track {
  counter-reset: step;
  display: grid;
  gap: 16px;
}
.step-track article {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 20px;
  align-items: start;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.step-track b {
  color: var(--accent);
  font-size: 28px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.card-grid article {
  min-height: 150px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
}
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  table-layout: fixed;
}
th, td {
  padding: 16px;
  text-align: left;
  border: 1px solid var(--line);
  vertical-align: top;
  overflow-wrap: anywhere;
}
th { background: color-mix(in srgb, var(--calm) 18%, white); }
.checklist {
  display: grid;
  grid-template-columns: minmax(0, .65fr) minmax(300px, .8fr);
  gap: clamp(24px, 5vw, 60px);
}
.checklist > div:last-child {
  display: grid;
  gap: 12px;
}
.checklist label, .symptom-tool label, .consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.note-block {
  padding-left: clamp(18px, 4vw, 42px);
  border-left: 10px solid var(--accent);
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}
summary {
  cursor: pointer;
  font-weight: 800;
}
details p { color: var(--muted); }
.source-panel li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.contact {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(320px, .7fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: start;
}
form {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 3vw, 28px);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
footer {
  padding: 26px clamp(16px, 5vw, 72px);
  color: var(--muted);
}
.success-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 20px;
}
.success-card {
  width: min(680px, 100%);
  padding: clamp(26px, 6vw, 56px);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.success-card h1 { font-size: clamp(42px, 8vw, 76px); }
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in-view { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .topbar { grid-template-columns: 1fr auto; }
  nav { grid-column: 1 / -1; justify-content: flex-start; overflow-x: auto; padding-bottom: 4px; }
  .hero, .split-block, .tool-panel, .checklist, .contact { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .card-grid, .faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .topbar { gap: 10px; }
  nav { font-size: 13px; }
  h1 { font-size: 39px; }
  h2 { font-size: 30px; }
  .safety-strip, .step-track article { grid-template-columns: 1fr; }
  .smoothie-tool, .week-tool { grid-template-columns: 1fr; }
  th, td { padding: 12px; font-size: 14px; }
  .hero-actions { align-items: stretch; }
  .button, .text-link { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}