:root {
  --ink: #18382e;
  --ink-soft: #426157;
  --deep: #0f4f40;
  --green: #176b55;
  --mint: #e7f3eb;
  --cream: #fbfaf6;
  --peach: #ffe2bd;
  --line: #dbe7df;
  --white: #ffffff;
  --amber: #d99a2b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.landing-header {
  width: min(1240px, calc(100% - 40px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.landing-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 26px;
  font-weight: 700;
}

.landing-logo-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: var(--deep);
  border-radius: 12px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.landing-nav {
  display: flex;
  gap: 25px;
  color: var(--ink-soft);
  font-size: 14px;
}

.landing-nav a:hover,
.footer-links a:hover {
  color: var(--green);
}

.landing-login,
.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.landing-login,
.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.72);
}

.button-primary {
  color: #fff;
  background: var(--deep);
  box-shadow: 0 12px 25px rgba(13, 69, 53, .18);
}

.landing-login:hover,
.button-primary:hover,
.button-secondary:hover {
  transform: translateY(-2px);
}

.hero {
  width: min(1240px, calc(100% - 40px));
  min-height: 620px;
  margin: 10px auto 0;
  padding: 74px 64px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 48px;
  overflow: hidden;
  position: relative;
  border-radius: 30px;
  background:
    radial-gradient(circle at 88% 14%, rgba(255,226,189,.95), transparent 30%),
    linear-gradient(130deg, #eff8f0, #f8f8f3 65%);
}

.landing-kicker,
.preview-kicker {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.feature-copy h2,
.security-section h2,
.final-cta h2 {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.03;
}

.hero h1 {
  max-width: 650px;
  font-size: clamp(42px, 5.5vw, 76px);
}

.hero h1 span {
  color: var(--green);
}

.hero-text {
  max-width: 580px;
  margin: 28px 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-notes {
  margin-top: 35px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-notes span {
  padding: 7px 11px;
  border: 1px solid #d4e4da;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 12px;
}

.hero-visual {
  min-height: 420px;
  position: relative;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(3px);
}

.glow-one {
  top: 25px;
  right: 30px;
  width: 270px;
  height: 270px;
  background: #d7f0dd;
}

.glow-two {
  left: 45px;
  bottom: 12px;
  width: 190px;
  height: 190px;
  background: #ffe1ba;
}

.visual-card {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(255,255,255,.8);
  background: rgba(255,255,255,.88);
  box-shadow: 0 22px 45px rgba(31, 73, 57, .13);
  backdrop-filter: blur(10px);
}

.visual-doctor {
  top: 55px;
  left: 15px;
  width: 265px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 16px;
}

.visual-doctor strong,
.visual-doctor span {
  display: block;
}

.visual-doctor span {
  color: var(--ink-soft);
  font-size: 12px;
}

.avatar-doctor {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #25735c, #174838);
  font-weight: 800;
}

.record-dot {
  width: 10px;
  height: 10px;
  margin-left: auto;
  border-radius: 50%;
  background: #dc745e;
  box-shadow: 0 0 0 6px #ffe8e2;
}

.visual-wave {
  top: 150px;
  right: 0;
  width: 275px;
  padding: 20px;
  border-radius: 20px;
}

.visual-wave p {
  margin: 0 0 16px;
  font-weight: 700;
}

.visual-wave small {
  display: block;
  margin-top: 13px;
  color: var(--ink-soft);
}

.sound-wave {
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sound-wave i {
  display: block;
  width: 7px;
  border-radius: 9px;
  background: var(--green);
}

.sound-wave i:nth-child(1) { height: 18px; }
.sound-wave i:nth-child(2) { height: 37px; }
.sound-wave i:nth-child(3) { height: 25px; }
.sound-wave i:nth-child(4) { height: 48px; }
.sound-wave i:nth-child(5) { height: 31px; }
.sound-wave i:nth-child(6) { height: 42px; }
.sound-wave i:nth-child(7) { height: 23px; }
.sound-wave i:nth-child(8) { height: 35px; }
.sound-wave i:nth-child(9) { height: 15px; }

.visual-card-result {
  left: 80px;
  bottom: 5px;
  width: 315px;
  padding: 22px;
  border-radius: 21px;
}

.result-top {
  display: flex;
  align-items: center;
  gap: 9px;
}

.result-icon,
.preview-check {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.result-line {
  height: 9px;
  margin-top: 15px;
  border-radius: 99px;
  background: #e4eee7;
}

.result-line.long { width: 92%; }
.result-line.short { width: 55%; }

.result-tag {
  display: inline-block;
  margin-top: 18px;
  padding: 6px 9px;
  border-radius: 8px;
  color: var(--green);
  background: var(--mint);
  font-size: 12px;
  font-weight: 700;
}

.visual-flow {
  position: absolute;
  z-index: 3;
  color: var(--green);
  font-size: 32px;
  font-weight: 700;
}

.flow-one { top: 118px; left: 275px; }
.flow-two { top: 254px; right: 265px; }

.visual-orbit {
  position: absolute;
  border: 1px dashed rgba(31, 102, 76, .35);
  border-radius: 50%;
}

.orbit-one {
  top: 14px;
  left: 88px;
  width: 335px;
  height: 335px;
}

.orbit-two {
  bottom: -48px;
  right: -45px;
  width: 260px;
  height: 260px;
}

.proof-strip {
  width: min(1160px, calc(100% - 56px));
  margin: -42px auto 0;
  padding: 26px 34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 4;
  border: 1px solid rgba(221,235,225,.9);
  border-radius: 20px;
  background: rgba(255,255,255,.93);
  box-shadow: 0 18px 45px rgba(20, 78, 57, .1);
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  margin-bottom: 4px;
  font-size: 15px;
}

.proof-strip span {
  color: var(--ink-soft);
  font-size: 12px;
}

.content-section,
.feature-section,
.security-section,
.final-cta {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.content-section {
  padding: 120px 0;
}

.section-heading {
  max-width: 720px;
}

.section-heading h2,
.feature-copy h2,
.security-section h2,
.final-cta h2 {
  font-size: clamp(33px, 4vw, 54px);
}

.section-heading > p:last-child,
.feature-copy > p,
.security-section p,
.final-cta p {
  color: var(--ink-soft);
  font-size: 17px;
}

.steps-grid,
.clinic-grid {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step-card,
.clinic-card {
  min-height: 235px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.step-number {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
}

.step-card h3,
.clinic-card h3 {
  margin: 31px 0 10px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 25px;
}

.step-card p,
.clinic-card p {
  color: var(--ink-soft);
}

.feature-section {
  padding: 82px 70px;
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 64px;
  border-radius: 28px;
  background: #dff0e4;
}

.feature-list {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  margin: 13px 0;
  font-weight: 600;
}

.feature-list span {
  display: inline-grid;
  place-items: center;
  width: 21px;
  height: 21px;
  margin-right: 8px;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-size: 12px;
}

.product-preview {
  padding: 25px;
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(28, 77, 56, .12);
}

.preview-top,
.preview-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.preview-top strong,
.preview-kicker {
  display: block;
}

.preview-status {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--green);
  background: var(--mint);
  font-size: 12px;
  font-weight: 700;
}

.preview-grid {
  margin: 25px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.preview-field {
  min-height: 100px;
  padding: 16px;
  border: 1px solid #e2ece5;
  border-radius: 13px;
}

.preview-field span,
.preview-field b {
  display: block;
}

.preview-field span {
  color: var(--ink-soft);
  font-size: 12px;
}

.preview-field b {
  margin-top: 8px;
  font-size: 14px;
}

.preview-footer {
  padding-top: 18px;
  border-top: 1px solid #e2ece5;
  color: var(--ink-soft);
  font-size: 13px;
}

.clinic-section {
  padding-bottom: 120px;
}

.clinic-card {
  min-height: 210px;
  background: linear-gradient(145deg, #fff, #f7fbf8);
}

.clinic-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  color: var(--green);
  background: var(--mint);
  font-size: 24px;
}

.clinic-card h3 {
  margin-top: 22px;
}

.security-section {
  padding: 62px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  border-radius: 26px;
  color: #fff;
  background: var(--deep);
}

.security-section .landing-kicker {
  color: #bde5ca;
}

.security-section p {
  color: #d4e9db;
}

.security-mark {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 20px;
  background: rgba(255,255,255,.09);
  font-size: 28px;
}

.button-secondary.light {
  border-color: rgba(255,255,255,.34);
  color: #fff;
  background: rgba(255,255,255,.09);
}

.final-cta {
  max-width: 780px;
  padding: 130px 0;
  text-align: center;
}

.final-cta p {
  max-width: 590px;
  margin: 22px auto 30px;
}

.landing-footer {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 36px;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  border-top: 1px solid var(--line);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: var(--ink-soft);
  font-size: 13px;
}

@media (max-width: 900px) {
  .landing-nav {
    display: none;
  }

  .hero,
  .feature-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 55px 36px;
  }

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

  .proof-strip,
  .steps-grid,
  .clinic-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .security-section {
    grid-template-columns: auto 1fr;
  }

  .security-section .button-secondary {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .landing-header,
  .landing-footer {
    width: min(100% - 24px, 1240px);
  }

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

  .landing-logo {
    font-size: 22px;
  }

  .landing-login {
    min-height: 40px;
    padding: 0 12px;
    font-size: 12px;
  }

  .hero {
    width: min(100% - 24px, 1240px);
    min-height: auto;
    padding: 42px 22px;
    border-radius: 22px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-visual {
    min-height: 345px;
    transform: scale(.9);
    transform-origin: top center;
    margin-bottom: -32px;
  }

  .visual-doctor {
    left: 0;
  }

  .visual-wave {
    right: -10px;
  }

  .visual-card-result {
    left: 22px;
  }

  .proof-strip,
  .steps-grid,
  .clinic-grid,
  .preview-grid {
    grid-template-columns: 1fr;
  }

  .proof-strip {
    width: min(100% - 36px, 1160px);
    margin-top: -16px;
    padding: 20px;
  }

  .content-section {
    width: min(100% - 32px, 1160px);
    padding: 82px 0;
  }

  .feature-section,
  .security-section {
    width: min(100% - 24px, 1160px);
    padding: 36px 22px;
    border-radius: 20px;
  }

  .security-section {
    display: block;
  }

  .security-mark {
    margin-bottom: 20px;
  }

  .security-section .button-secondary {
    margin-top: 10px;
  }

  .final-cta {
    width: min(100% - 32px, 780px);
    padding: 88px 0;
  }

  .landing-footer {
    display: block;
  }

  .footer-links {
    justify-content: flex-start;
    margin-top: 18px;
  }
}


/* ==========================================================
   MEDINOTE MODERN LANDING 2026
   ========================================================== */

body,
button,
input,
select,
textarea {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.landing-logo,
.hero h1,
.section-heading h2,
.feature-copy h2,
.security-section h2,
.final-cta h2,
.step-card h3,
.clinic-card h3 {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: -0.055em;
}

.landing-logo {
  font-weight: 800;
}

.hero h1 {
  max-width: 720px;
  font-weight: 800;
  letter-spacing: -0.065em;
}

.section-heading h2,
.feature-copy h2,
.security-section h2,
.final-cta h2 {
  font-weight: 780;
}

.hero-text,
.section-heading > p:last-child,
.feature-copy > p,
.security-section p,
.final-cta p {
  max-width: 620px;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.hero {
  background:
    radial-gradient(circle at 83% 13%, rgba(255, 220, 173, .95), transparent 26%),
    radial-gradient(circle at 15% 88%, rgba(180, 226, 196, .8), transparent 31%),
    linear-gradient(135deg, #edf8ef 0%, #fafbf7 55%, #f7f7f3 100%);
}

.hero-visual {
  filter: saturate(1.08);
}

.landing-login {
  min-height: auto;
  padding: 10px 0;
  border: 0;
  border-radius: 0;
  color: var(--green);
  background: transparent;
  box-shadow: none;
  font-size: 13px;
}

.landing-login:hover {
  transform: none;
  color: var(--deep);
}

.landing-login span {
  margin-left: 5px;
  font-size: 17px;
  line-height: 0;
}

.hero-actions {
  margin-top: 32px;
}

.button-primary {
  min-height: 54px;
  padding: 0 26px;
  border-radius: 14px;
  font-size: 15px;
}

.hero-notes {
  margin-top: 40px;
}

.landing-text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
}

.landing-text-link:hover {
  color: var(--deep);
}

.light-link {
  justify-self: start;
  color: #bde5ca;
}

.light-link:hover {
  color: #fff;
}

.final-cta {
  padding-bottom: 112px;
}

.final-cta h2 {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.proof-strip strong {
  font-weight: 750;
}

.step-card,
.clinic-card {
  transition: transform .22s ease, box-shadow .22s ease;
}

.step-card:hover,
.clinic-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 35px rgba(25, 73, 55, .1);
}

@media (max-width: 560px) {
  .landing-login {
    font-size: 12px;
  }

  .hero h1 {
    letter-spacing: -0.06em;
  }
}


/* ==========================================================
   MEDINOTE BRAND — ЭМБЛЕМА ИЗ brand-login.jpg
   ========================================================== */

.landing-logo-mark {
  overflow: hidden;
  background: transparent;
}

.landing-logo-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.security-mark {
  overflow: hidden;
  padding: 0;
  background: transparent;
  border-color: rgba(255,255,255,.22);
}

.security-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 19px;
}

/* MEDINOTE SYSTEM FONT STACK 2026 */
:root {
  --font-ui: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body,
button,
input,
select,
textarea,
.landing-logo,
.hero h1,
.section-heading h2,
.feature-copy h2,
.security-section h2,
.final-cta h2,
.step-card h3,
.clinic-card h3 {
  font-family: var(--font-ui) !important;
}

.hero h1 {
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.068em;
}

.section-heading h2,
.feature-copy h2,
.security-section h2,
.final-cta h2 {
  font-weight: 760;
  line-height: 1.02;
  letter-spacing: -0.056em;
}

.step-card h3,
.clinic-card h3 {
  font-weight: 720;
  line-height: 1.15;
}


/* ===== MediNote 2026-09-22: редизайн hero (namespaced mn2-, ничего старого не удалено) ===== */
.mn2-hero {
  position: relative;
  width: min(1240px, calc(100% - 40px));
  margin: 30px auto 0;
  padding: 30px 20px 10px;
  text-align: center;
}
.mn2-hero-glow {
  position: absolute; top: -140px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 460px; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(20,104,79,.14), transparent 65%);
}
.mn2-hero-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.mn2-kicker {
  display: inline-block; margin: 0 0 20px; padding: 7px 16px; border-radius: 999px;
  background: var(--mint); color: var(--green); font-size: 13px; font-weight: 700;
}
.mn2-h1 {
  font-size: 54px; line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 20px;
  font-weight: 800; color: var(--deep);
}
.mn2-h1 em { font-style: normal; color: #e2924a; }
.mn2-lede { font-size: 18px; color: var(--ink-soft); max-width: 52ch; margin: 0 auto 30px; }
.mn2-actions { display: flex; align-items: center; justify-content: center; gap: 24px; margin-bottom: 50px; flex-wrap: wrap; }

.mn2-compare {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  max-width: 980px; margin: 0 auto; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(13,69,53,.4);
}
.mn2-compare-pane { padding: 30px 28px 34px; text-align: left; }
.mn2-compare-before { background: #f1efe9; }
.mn2-compare-after { background: var(--white); }
.mn2-compare-label {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 800;
  margin-bottom: 20px; padding: 6px 13px; border-radius: 999px;
}
.mn2-label-before { background: #e3e0d7; color: #7a7364; }
.mn2-label-after { background: var(--mint); color: var(--green); }
.mn2-scrawl { position: relative; height: 150px; }
.mn2-scrawl svg { width: 100%; height: 100%; }
.mn2-scrawl-caption { margin-top: 14px; font-size: 13.5px; color: #8a8471; line-height: 1.5; }
.mn2-clean-card { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.mn2-clean-card-head { padding: 10px 14px; background: var(--mint); font-size: 12.5px; font-weight: 700; color: var(--deep); border-bottom: 1px solid var(--line); }
.mn2-clean-field { padding: 10px 14px; border-bottom: 1px solid var(--line); }
.mn2-clean-field:last-child { border-bottom: 0; }
.mn2-clean-field span { display: block; font-size: 10.5px; font-weight: 800; color: var(--green); margin-bottom: 3px; letter-spacing: .01em; }
.mn2-clean-field b { display: block; font-size: 13px; font-weight: 600; color: var(--ink); }
.mn2-compare-divider { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--line); }

.mn2-pain {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto; padding: 70px 20px 20px;
}
.mn2-pain-head { max-width: 62ch; margin: 0 auto 40px; text-align: center; }
.mn2-pain-head h2 { font-size: 30px; color: var(--deep); margin: 0 0 12px; letter-spacing: -0.015em; }
.mn2-pain-head p { color: var(--ink-soft); font-size: 16px; margin: 0; }
.mn2-pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mn2-pain-card { padding: 26px 24px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); }
.mn2-pain-mark { font-size: 22px; margin-bottom: 14px; }
.mn2-pain-card h3 { font-size: 16px; margin: 0 0 8px; color: var(--ink); }
.mn2-pain-card p { font-size: 13.8px; color: var(--ink-soft); margin: 0; line-height: 1.5; }

@media (prefers-reduced-motion: no-preference) {
  .mn2-compare { animation: mn2-reveal .7s ease both; }
}
@keyframes mn2-reveal { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (max-width: 860px) {
  .mn2-h1 { font-size: 34px; }
  .mn2-compare { grid-template-columns: 1fr; }
  .mn2-compare-divider { display: none; }
  .mn2-pain-grid { grid-template-columns: 1fr; }
}


/* ===== MediNote 2026-09-22: features-список и clinic-строки (mn2-) ===== */
.mn2-feature-section {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 20px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 50px;
  align-items: start;
}
.mn2-feature-list {
  list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 2px;
}
.mn2-feature-list li {
  display: flex; gap: 12px; align-items: flex-start; padding: 12px 0;
  font-size: 14.5px; color: var(--ink); border-bottom: 1px solid var(--line);
}
.mn2-feature-list li:last-child { border-bottom: 0; }
.mn2-feature-dot {
  width: 6px; height: 6px; margin-top: 8px; flex: none;
  border-radius: 50%; background: var(--green);
}

.mn2-rows-section {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 20px 20px 76px;
}
.mn2-roles-row {
  display: grid; grid-template-columns: 220px 1fr; gap: 22px;
  padding: 20px 0; border-top: 1px solid var(--line);
}
.mn2-roles-row:last-child { border-bottom: 1px solid var(--line); }
.mn2-roles-row h3 { margin: 0; font-size: 16px; color: var(--deep); }
.mn2-roles-row p { margin: 0; font-size: 14px; color: var(--ink-soft); max-width: 62ch; line-height: 1.55; }

@media (max-width: 860px) {
  .mn2-feature-section { grid-template-columns: 1fr; }
  .mn2-roles-row { grid-template-columns: 1fr; gap: 8px; }
}


/* ===== MediNote 2026-09-22: security + финальный CTA (mn2-) ===== */
.mn2-security-section {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 20px 20px 70px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 26px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 50px;
}
.mn2-security-mark {
  width: 56px; height: 56px; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line); flex: none;
}
.mn2-security-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mn2-security-section h2 { font-size: 22px; color: var(--deep); margin: 0 0 8px; }
.mn2-security-section p { font-size: 14px; color: var(--ink-soft); margin: 0; max-width: 60ch; }

.mn2-cta-final {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto 40px;
  padding: 74px 30px;
  border-radius: 26px;
  background: var(--deep);
  text-align: center;
}
.mn2-cta-final h2 { font-size: 30px; color: #fff; margin: 0 0 14px; }
.mn2-cta-final p { color: #cfe4da; margin: 0 0 28px; font-size: 15.5px; }
.mn2-cta-btn {
  display: inline-block; padding: 14px 30px; border-radius: 12px;
  background: #fff; color: var(--deep); text-decoration: none;
  font-weight: 700; font-size: 15.5px;
}

@media (max-width: 860px) {
  .mn2-security-section { grid-template-columns: 1fr; text-align: left; }
  .mn2-cta-final { padding: 54px 24px; }
}


/* ===== MediNote 2026-09-26: process flow, hygiene section, mobile/security grid (mn3-) ===== */
.mn3-flow {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.mn3-flow-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-soft);
}
.mn3-flow-step-done {
  color: var(--green);
  background: var(--mint);
  border-color: transparent;
}
.mn3-flow-icon { font-size: 17px; line-height: 1; }
.mn3-flow-arrow { color: var(--line); font-size: 18px; font-weight: 700; }

.mn3-section-head { max-width: 68ch; text-align: center; margin: 0 auto 40px; }
.mn3-section-head h2 { font-size: clamp(28px, 3.4vw, 40px); color: var(--deep); margin: 14px 0 12px; letter-spacing: -0.02em; }
.mn3-section-head p { color: var(--ink-soft); font-size: 16px; margin: 0 0 8px; }
.mn3-hygiene-list { max-width: 46ch; margin: 22px auto 0; text-align: left; }

.mn3-hygiene-section {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 20px;
  border-top: 1px solid var(--line);
}

.mn3-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}
.mn3-visual-card {
  padding: 22px 24px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--white);
}
.mn3-visual-title { font-size: 14px; font-weight: 800; color: var(--deep); margin-bottom: 16px; }
.mn3-visual-caption { margin: 14px 0 0; font-size: 12.5px; color: var(--ink-soft); line-height: 1.5; }

.mn3-photo-row { display: flex; gap: 8px; flex-wrap: wrap; }
.mn3-photo-chip {
  flex: 1 1 auto;
  min-width: 78px;
  padding: 8px;
  border-radius: 10px;
  background: var(--cream);
  border: 1px solid var(--line);
  text-align: center;
}
.mn3-photo-chip svg { width: 100%; height: 30px; display: block; }
.mn3-photo-chip span { display: block; margin-top: 6px; font-size: 10.5px; color: var(--ink-soft); }
.mn3-photo-chip-marked { border-color: var(--amber); }
.mn3-photo-chip-marked span b { color: var(--amber); font-weight: 800; }

.mn3-gauge-row { display: flex; gap: 18px; justify-content: space-around; }
.mn3-gauge { position: relative; width: 64px; text-align: center; }
.mn3-gauge svg { width: 64px; height: 64px; transform: rotate(-90deg); }
.mn3-gauge-track { fill: none; stroke: var(--mint); stroke-width: 8; }
.mn3-gauge-value {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 163.4;
  stroke-dashoffset: calc(163.4 - (163.4 * var(--pct) / 100));
}
.mn3-gauge-good .mn3-gauge-value { stroke: var(--green); }
.mn3-gauge-fair .mn3-gauge-value { stroke: var(--amber); }
.mn3-gauge-num { margin-top: -46px; font-size: 15px; font-weight: 800; color: var(--ink); }
.mn3-gauge span { display: block; margin-top: 16px; font-size: 11.5px; color: var(--ink-soft); }

.mn3-risk { width: 100%; max-width: 220px; display: block; margin: 0 auto; }
.mn3-risk-grid { fill: none; stroke: var(--line); stroke-width: 1; }
.mn3-risk-grid-2 { stroke: var(--line); opacity: .7; }
.mn3-risk-spoke { stroke: var(--line); stroke-width: 1; }
.mn3-risk-shape { fill: rgba(23,107,85,.24); stroke: var(--green); stroke-width: 1.5; }
.mn3-risk-label { font-size: 8.5px; fill: var(--ink-soft); font-weight: 700; }

.mn3-chart-axis { stroke: var(--line); stroke-width: 1; }
.mn3-chart-line { fill: none; stroke: var(--green); stroke-width: 2.5; }
.mn3-chart-dot { fill: var(--green); }
.mn3-chart-dot-last { fill: var(--amber); }
.mn3-chart-value { font-size: 10px; fill: var(--ink); font-weight: 700; }
.mn3-chart-label { font-size: 9px; fill: var(--ink-soft); }

.mn3-security-section {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto 40px;
  padding: 60px 40px;
  border-radius: 26px;
  background: var(--deep);
  text-align: center;
}
.mn3-security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto 30px;
}
.mn3-security-card {
  padding: 24px 20px;
  border-radius: 16px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  text-align: left;
}
.mn3-security-icon { font-size: 24px; display: block; margin-bottom: 12px; }
.mn3-security-card h3 { margin: 0 0 8px; font-size: 15px; color: #fff; }
.mn3-security-card p { margin: 0; font-size: 12.8px; color: #cfe4da; line-height: 1.5; }
.mn3-security-section > .light-link { display: inline-flex; }

@media (max-width: 860px) {
  .mn3-visual-grid { grid-template-columns: 1fr; }
  .mn3-security-grid { grid-template-columns: repeat(2, 1fr); }
  .mn3-flow { gap: 10px; }
  .mn3-flow-step { padding: 10px 14px; font-size: 12.5px; }
}

@media (max-width: 560px) {
  .mn3-security-grid { grid-template-columns: 1fr; }
  .mn3-security-section { padding: 40px 20px; }
  .mn3-flow-arrow { display: none; }
  .mn3-flow-step { width: 100%; justify-content: center; }
  .mn3-gauge-row { gap: 10px; }
}

.mn3-flow-icon svg,
.mn3-security-icon svg { width: 20px; height: 20px; display: block; }
.mn3-security-icon svg { width: 24px; height: 24px; color: #bde5ca; }

.mn3-hero-tags {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 26px;
}
.mn3-hero-tags span {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 700;
}

.mn3-start-section {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 20px;
  border-top: 1px solid var(--line);
}
.mn3-start-grid { margin-top: 46px; }

.mn3-faq {
  max-width: 720px;
  margin: 56px auto 0;
  display: grid;
  gap: 10px;
}
.mn3-faq-item {
  padding: 6px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}
.mn3-faq-item summary {
  padding: 16px 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  list-style: none;
}
.mn3-faq-item summary::-webkit-details-marker { display: none; }
.mn3-faq-item summary::after { content: "+"; float: right; color: var(--green); font-weight: 800; }
.mn3-faq-item[open] summary::after { content: "−"; }
.mn3-faq-item p { margin: 0 0 18px; color: var(--ink-soft); font-size: 14px; line-height: 1.55; }

@media (max-width: 560px) {
  .mn3-start-section { width: min(100% - 32px, 1160px); padding: 50px 0; }
  .mn3-faq-item { padding: 4px 16px; }
}
