/* ==========================================================================
   ДЫШИ · НМИЦ пульмонологии ФМБА России
   Agency-Grade Editorial Presentation (Zero AI Slop)
   - Serif display (Lora) + Humanist sans (Golos Text)
   - Borderless whitespace & crisp hairline rules instead of "borders on everything"
   - Zero "01 /" monospace kickers, zero eyebrow pills, zero gradients, zero neon
   ========================================================================== */

:root {
  --paper: #f7f5f0;
  --white: #ffffff;
  --stone: #ece9e0;
  --forest: #112b28;
  --forest-soft: #1a3d39;

  --ink: #15171a;
  --ink-2: #4a515a;
  --ink-3: #7b828c;

  --rule: #ddd9ce;
  --rule-dark: #c7c2b5;

  --accent: #135950;
  --accent-hover: #0d423b;
  --clay: #a93f30;
  --ochre: #9c6513;
  --sage: #256e43;

  --serif: 'Lora', Georgia, 'Times New Roman', serif;
  --sans: 'Golos Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
}

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ==========================================================================
   HEADER (QUIET, EXECUTIVE, SINGLE-LINE)
   ========================================================================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(247, 245, 240, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}

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

.brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}

.brand-word {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand-meta {
  font-size: 0.8rem;
  color: var(--ink-3);
}

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

.nav a {
  text-decoration: none;
  color: var(--ink-2);
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.16s ease;
}

.nav a:hover {
  color: var(--ink);
}

/* Buttons — crisp, understated, zero pill-glow */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
  white-space: nowrap;
}

.btn-dark {
  background: var(--forest);
  color: #ffffff;
}

.btn-dark:hover {
  background: var(--accent);
}

.btn-line {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule-dark);
}

.btn-line:hover {
  border-color: var(--ink);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.84rem;
}

/* ==========================================================================
   HERO — MAGAZINE EDITORIAL SPREAD (NO 50/50 SAAS TEMPLATE)
   ========================================================================== */
.hero {
  padding: 72px 0 0;
}

.hero-top {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 48px;
  align-items: end;
  padding-bottom: 44px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4.8vw, 4.25rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-aside {
  padding-bottom: 6px;
}

.hero-aside p {
  font-size: 1.02rem;
  color: var(--ink-2);
  line-height: 1.6;
  margin-bottom: 22px;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-media {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: var(--stone);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  display: block;
}

.hero-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  padding: 36px 0 56px;
  border-bottom: 1px solid var(--rule);
}

.stat-item {
  border-left: 2px solid var(--rule-dark);
  padding-left: 20px;
}

.stat-val {
  font-family: var(--serif);
  font-size: 2.35rem;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 8px;
}

.stat-text {
  font-size: 0.9rem;
  color: var(--ink-2);
  line-height: 1.48;
}

.stat-cite {
  display: block;
  margin-top: 6px;
  font-size: 0.76rem;
  color: var(--ink-3);
}

/* ==========================================================================
   EXECUTIVE THESIS BAND (DARK FOREST CONTRAST — HUMAN EDITORIAL RHYTHM)
   ========================================================================== */
.band-forest {
  background: var(--forest);
  color: #f2f4f3;
  padding: 88px 0;
}

.band-forest .lead-h2 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.1vw, 2.75rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.02em;
  max-width: 820px;
  margin-bottom: 48px;
  color: #ffffff;
}

.exec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 32px;
}

.exec-col h3 {
  font-size: 1.02rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
}

.exec-col p {
  font-size: 0.88rem;
  color: rgba(242, 244, 243, 0.78);
  line-height: 1.58;
}

/* Risk Mitigation Matrix */
.risk-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 48px;
  border-top: 1px solid var(--rule-dark);
  padding-top: 28px;
}

.risk-item {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}

.risk-q {
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
}

.risk-a {
  font-size: 0.92rem;
  color: var(--ink-2);
  line-height: 1.58;
}

.risk-a strong {
  color: var(--accent);
  font-weight: 600;
}

/* Why Us / Audit Proof Band */
.proof-cols {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 56px;
  align-items: start;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.compare-table th,
.compare-table td {
  text-align: left;
  padding: 13px 12px 13px 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}

.compare-table th {
  font-size: 0.76rem;
  color: var(--ink-3);
  border-bottom-color: var(--rule-dark);
}

.compare-table td.good {
  color: var(--accent);
  font-weight: 600;
}

.compare-table td.bad {
  color: var(--ink-3);
}

/* Closing CTA Band */
.closing-band {
  background: var(--forest);
  color: #ffffff;
  padding: 84px 0;
}

.closing-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.closing-band h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  font-weight: 500;
  line-height: 1.14;
  margin-bottom: 16px;
}

.closing-band p {
  color: rgba(242, 244, 243, 0.8);
  font-size: 1rem;
  line-height: 1.62;
  margin-bottom: 24px;
}

.next-steps-box {
  border-left: 2px solid rgba(255, 255, 255, 0.25);
  padding-left: 28px;
}

.ns-item {
  margin-bottom: 18px;
}

.ns-item:last-child {
  margin-bottom: 0;
}

.ns-day {
  font-size: 0.78rem;
  color: #8fd3c8;
  font-weight: 600;
  margin-bottom: 3px;
}

.ns-text {
  font-size: 0.94rem;
  color: #ffffff;
  line-height: 1.48;
}

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

.btn-white:hover {
  background: #e6efed;
}

/* ==========================================================================
   SECTIONS (ASYMMETRIC, BORDERLESS WHITESPACE)
   ========================================================================== */
.sec {
  padding: 96px 0;
  border-bottom: 1px solid var(--rule);
}

.sec-white {
  background: var(--white);
}

.sec-intro {
  max-width: 760px;
  margin-bottom: 52px;
}

.sec-intro h2 {
  font-family: var(--serif);
  font-size: clamp(1.95rem, 3.2vw, 2.8rem);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--ink);
}

.sec-intro p {
  font-size: 1.04rem;
  color: var(--ink-2);
  line-height: 1.62;
}

/* ==========================================================================
   6-MODULE SPECIFICATION (EDITORIAL LEDGER — NO BOX-IN-BOX CLUTTER)
   ========================================================================== */
.spec-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.spec-menu {
  border-top: 1px solid var(--rule);
  position: sticky;
  top: 90px;
}

.spec-tab {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule);
  padding: 16px 4px;
  cursor: pointer;
  font-family: var(--sans);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  color: var(--ink-2);
  transition: color 0.16s ease, padding-left 0.16s ease;
}

.spec-tab:hover {
  color: var(--ink);
}

.spec-tab.active {
  color: var(--accent);
  font-weight: 600;
  padding-left: 10px;
  border-bottom-color: var(--accent);
}

.spec-tab-title {
  font-size: 0.96rem;
}

.spec-tab-arrow {
  font-size: 0.84rem;
  opacity: 0;
  transition: opacity 0.16s ease;
}

.spec-tab.active .spec-tab-arrow {
  opacity: 1;
}

.spec-pane {
  display: none;
}

.spec-pane.active {
  display: block;
}

.spec-pane-head {
  margin-bottom: 28px;
}

.spec-pane-head h3 {
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 10px;
}

.spec-pane-head p {
  font-size: 0.98rem;
  color: var(--ink-2);
  max-width: 640px;
}

.spec-rows {
  border-top: 1px solid var(--rule-dark);
}

.spec-row {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 28px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}

.spec-row h4 {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

.spec-row p {
  font-size: 0.92rem;
  color: var(--ink-2);
  line-height: 1.58;
}

/* ==========================================================================
   PHONE SIMULATOR (CLEAN STUDIO PRESENTATION)
   ========================================================================== */
.sim-stage {
  display: grid;
  grid-template-columns: 392px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.iphone {
  width: 100%;
  max-width: 392px;
  margin: 0 auto;
  background: #17191c;
  border-radius: 46px;
  padding: 12px;
  box-shadow: 0 30px 70px rgba(21, 23, 26, 0.14);
  position: sticky;
  top: 86px;
}

.iphone-screen {
  background: #f6f5f0;
  border-radius: 36px;
  height: 700px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.iphone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 22px 8px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-2);
}

.iphone-pill {
  width: 82px;
  height: 19px;
  border-radius: 999px;
  background: #141619;
}

.iphone-body {
  flex: 1;
  overflow-y: auto;
  padding: 6px 14px 16px;
  scrollbar-width: thin;
}

.ptab { display: none; }
.ptab.active { display: block; }

.pblock {
  background: #ffffff;
  border-radius: 14px;
  padding: 14px 15px;
  margin-bottom: 10px;
}

.pblock-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.74rem;
  color: var(--ink-3);
  margin-bottom: 8px;
}

.seg {
  display: flex;
  background: #e9e6dd;
  border-radius: 9px;
  padding: 3px;
  margin-bottom: 10px;
  gap: 2px;
}

.seg-b {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 6px 4px;
  border-radius: 7px;
  cursor: pointer;
}

.seg-b.active {
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.pill-row {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.pill-btn {
  flex: 1;
  border: 1px solid #dedad0;
  background: #faf9f6;
  border-radius: 8px;
  padding: 7px 4px;
  text-align: center;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--ink-2);
  transition: all 0.14s ease;
}

.pill-btn.taken {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.goal-track {
  height: 6px;
  border-radius: 999px;
  background: #eae7df;
  overflow: hidden;
  margin: 8px 0 5px;
}

.goal-bar {
  height: 100%;
  background: var(--accent);
}

/* Heatmap */
.hm {
  display: grid;
  grid-template-columns: 34px repeat(7, 1fr);
  gap: 4px;
  align-items: center;
  margin-top: 8px;
}

.hm-t { font-size: 0.64rem; color: var(--ink-3); }
.hm-c { height: 20px; border-radius: 4px; background: #efede6; }
.hm-1 { background: #cfe3df; }
.hm-2 { background: #7eb3ab; }
.hm-3 { background: #d68574; }
.hm-4 { background: #a93f30; }

/* Breathing */
.breath-wrap {
  text-align: center;
  padding: 10px 4px 4px;
}

.breath-stage {
  width: 160px;
  height: 160px;
  margin: 8px auto 12px;
  position: relative;
  display: grid;
  place-items: center;
}

.breath-outer {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(19, 89, 80, 0.1);
  transform: scale(0.75);
  transition: transform 4s ease-in-out;
}

.breath-core {
  width: 106px;
  height: 106px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: scale(0.84);
  transition: transform 4s ease-in-out;
  z-index: 2;
}

.breath-core.inhale { transform: scale(1.22); transition: transform 4s cubic-bezier(0.37, 0, 0.63, 1); }
.breath-core.exhale { transform: scale(0.82); transition: transform 6s cubic-bezier(0.37, 0, 0.63, 1); }
.breath-outer.inhale { transform: scale(1.1); transition: transform 4s cubic-bezier(0.37, 0, 0.63, 1); }
.breath-outer.exhale { transform: scale(0.7); transition: transform 6s cubic-bezier(0.37, 0, 0.63, 1); }

/* Sliders */
.sl-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  color: var(--ink-2);
  margin-bottom: 2px;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
  margin-bottom: 8px;
  cursor: pointer;
}

.iphone-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: #ffffff;
  border-top: 1px solid #e6e3da;
  padding: 7px 6px 11px;
}

.inav-btn {
  border: none;
  background: transparent;
  color: var(--ink-3);
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  padding: 4px 2px;
  border-radius: 8px;
}

.inav-btn.active { color: var(--accent); }
.inav-sos { color: var(--clay); }
.inav-sos.active { background: #f8ebe8; color: var(--clay); }

/* Right-side walkthrough list (borderless editorial items) */
.walkthrough {
  border-top: 1px solid var(--rule);
}

.wt-item {
  padding: 22px 0 22px 18px;
  border-bottom: 1px solid var(--rule);
  border-left: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.16s ease;
}

.wt-item:hover {
  border-left-color: var(--rule-dark);
}

.wt-item.active {
  border-left-color: var(--accent);
}

.wt-item h4 {
  font-size: 1.04rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}

.wt-item.active h4 {
  color: var(--accent);
}

.wt-item p {
  font-size: 0.92rem;
  color: var(--ink-2);
  line-height: 1.56;
}

/* ==========================================================================
   DOCTOR CONTOUR ("ДЫШИ.СИБИРЬ")
   ========================================================================== */
.siberia-intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: center;
  margin-bottom: 44px;
}

.siberia-photo {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--stone);
}

.siberia-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.clin-frame {
  background: var(--white);
  border: 1px solid var(--rule-dark);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(21, 23, 26, 0.06);
}

.clin-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 20px;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  font-size: 0.84rem;
}

.clin-body {
  display: grid;
  grid-template-columns: 265px minmax(0, 1fr) 290px;
}

.clin-pane {
  padding: 20px;
  border-right: 1px solid var(--rule);
}

.clin-pane:last-child { border-right: none; }

.clin-lbl {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink-3);
  margin-bottom: 12px;
}

.pt-item {
  padding: 10px 12px;
  border-radius: 7px;
  cursor: pointer;
  margin-bottom: 6px;
  transition: background 0.14s ease;
}

.pt-item:hover { background: var(--paper); }
.pt-item.active { background: #e9f2f0; }

.pt-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 600;
}

.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot-red { background: var(--clay); }
.dot-amber { background: var(--ochre); }
.dot-green { background: var(--sage); }

.pt-sub {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--ink-3);
  margin-top: 2px;
}

.ck-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.ck-cell {
  background: var(--paper);
  border-radius: 7px;
  padding: 8px 6px;
  text-align: center;
}

.ck-cell span { display: block; font-size: 0.68rem; color: var(--ink-3); }
.ck-cell strong { font-size: 0.82rem; }
.c-good { color: var(--sage); }
.c-mid { color: var(--ochre); }
.c-bad { color: var(--clay); }

.proto-link {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule);
  padding: 9px 2px;
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--ink-2);
  cursor: pointer;
  transition: color 0.14s ease;
}

.proto-link:hover { color: var(--accent); }

.clin-notice {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 7px;
  background: #e9f2f0;
  color: var(--accent);
  font-size: 0.8rem;
  display: none;
}

.clin-notice.show { display: block; }

.club-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}

.club-strip h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.club-strip p {
  font-size: 0.9rem;
  color: var(--ink-2);
}

/* ==========================================================================
   SCIENCE & COMMERCIAL PROPOSAL (CLEAN TABLES, ZERO SAAS PRICING CARDS)
   ========================================================================== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.rct-item {
  margin-bottom: 18px;
}

.rct-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.rct-track {
  height: 8px;
  background: var(--stone);
  border-radius: 999px;
  overflow: hidden;
}

.rct-fill {
  height: 100%;
  background: var(--accent);
}

.rct-fill.muted { background: #bcb8ad; }
.rct-fill.mid { background: #6b8e89; }

.fixes-list {
  list-style: none;
  border-top: 1px solid var(--rule);
}

.fixes-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.92rem;
  color: var(--ink-2);
}

.fixes-list li strong {
  color: var(--ink);
  display: block;
  margin-bottom: 2px;
}

/* Commercial Table */
.proposal-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}

.proposal-table th,
.proposal-table td {
  text-align: left;
  padding: 20px 18px 20px 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}

.proposal-table th {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-3);
  border-bottom-color: var(--rule-dark);
}

.proposal-table tr.featured td {
  background: #edf4f2;
  padding-left: 16px;
  padding-right: 16px;
}

.price-cell {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.rec-note {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 4px;
}

/* Modal */
.modal-bg {
  position: fixed;
  inset: 0;
  background: rgba(21, 23, 26, 0.48);
  backdrop-filter: blur(4px);
  z-index: 1200;
  display: none;
  place-items: center;
  padding: 20px;
}

.modal-bg.open { display: grid; }

.modal-box {
  width: 100%;
  max-width: 540px;
  background: var(--white);
  border-radius: 10px;
  padding: 26px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22);
}

.m-row { margin-bottom: 12px; }
.m-row label { display: block; font-size: 0.76rem; color: var(--ink-3); margin-bottom: 4px; }
.m-val { background: var(--paper); border-radius: 6px; padding: 9px 12px; font-size: 0.88rem; }
.m-ta {
  width: 100%;
  min-height: 84px;
  border: 1px solid var(--rule-dark);
  border-radius: 6px;
  padding: 10px 12px;
  font-family: var(--sans);
  font-size: 0.88rem;
  resize: vertical;
}
.m-ta:focus { outline: none; border-color: var(--accent); }
.m-err { color: var(--clay); font-size: 0.8rem; margin-top: 5px; display: none; }

/* Footer */
.site-footer {
  padding: 44px 0;
  font-size: 0.85rem;
  color: var(--ink-3);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 1040px) {
  .nav { display: none; }
  .hero-top, .hero-strip, .exec-grid, .spec-layout, .sim-stage, .siberia-intro, .clin-body, .club-strip, .two-col, .risk-grid, .proof-cols, .closing-grid {
    grid-template-columns: 1fr;
  }
  .spec-menu, .iphone { position: relative; top: 0; }
  .clin-pane { border-right: none; border-bottom: 1px solid var(--rule); }
  .spec-row { grid-template-columns: 1fr; gap: 6px; }
}
