:root {
  --ink: #18382e;
  --ink-soft: #426157;
  --deep: #0d4535;
  --green: #14684f;
  --mint: #e7f3eb;
  --cream: #fbfaf6;
  --peach: #ffe2bd;
  --line: #dbe7df;
  --white: #ffffff;
}

* {
  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;
}

