@font-face { font-family: "Magistral"; src: url("magistral-medium.woff2") format("woff2"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: "Magistral"; src: url("magistral-bold.woff2") format("woff2"); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter EventReg"; src: url("inter-light.woff2") format("woff2"); font-style: normal; font-weight: 300; font-display: swap; }
@font-face { font-family: "Inter EventReg"; src: url("inter-regular.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter EventReg"; src: url("inter-medium.woff2") format("woff2"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter EventReg"; src: url("inter-semibold.woff2") format("woff2"); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter EventReg"; src: url("inter-bold.woff2") format("woff2"); font-style: normal; font-weight: 700; font-display: swap; }

:root {
  --blue: #096bd8;
  --blue-dark: #063b7a;
  --blue-soft: #eaf4ff;
  --ink: #10243e;
  --muted: #607089;
  --line: #dbe5f0;
  --paper: #ffffff;
  --surface: #f5f8fc;
  --accent: #ffba2f;
  --success: #16845b;
  --shadow: 0 18px 48px rgba(20, 56, 99, .13);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter EventReg", Inter, Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button, .button { cursor: pointer; }

.cookie-notice {
  position: fixed;
  z-index: 1000;
  right: 20px;
  bottom: 20px;
  width: min(730px, calc(100% - 40px));
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(20, 56, 99, .2);
}
.cookie-notice p { flex: 1; margin: 0; color: #263d59; font-size: 15px; line-height: 1.45; }
.cookie-notice a { color: var(--blue); text-underline-offset: 2px; }
.cookie-notice-button { flex: 0 0 auto; min-width: 112px; padding: 11px 18px; }

.motion-ready .reveal-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 900ms cubic-bezier(.22, 1, .36, 1) var(--reveal-delay, 0ms),
    transform 900ms cubic-bezier(.22, 1, .36, 1) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.motion-ready .reveal-on-scroll.is-revealed { opacity: 1; transform: translateY(0); }
.motion-ready .hero-button-motion {
  opacity: 0;
  transform: translateX(52px);
  transition:
    opacity 850ms cubic-bezier(.22, 1, .36, 1) var(--hero-button-delay, 0ms),
    transform 850ms cubic-bezier(.22, 1, .36, 1) var(--hero-button-delay, 0ms),
    color 200ms ease,
    background-color 200ms ease,
    border-color 200ms ease;
}
.motion-ready .hero-actions.buttons-visible .hero-button-motion { opacity: 1; transform: translateX(0); }
.motion-ready .app-card-motion {
  opacity: 0;
  transform: translateY(48px);
  transition:
    opacity 950ms cubic-bezier(.22, 1, .36, 1) var(--app-card-delay, 0ms),
    transform 950ms cubic-bezier(.22, 1, .36, 1) var(--app-card-delay, 0ms);
  will-change: opacity, transform;
}
.motion-ready .app-preview-gallery.cards-visible .app-card-motion { opacity: 1; transform: translateY(0); }

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

.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  border-bottom: 1px solid rgba(219, 229, 240, .8);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: 80px; display: flex; align-items: center; gap: 34px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, #1686f5, #004ba7);
  color: #fff; font-weight: 700; font-size: 22px;
  box-shadow: 0 8px 20px rgba(9,107,216,.28);
}
.brand-text { display: grid; line-height: 1.05; }
.brand-text strong { font-size: 18px; letter-spacing: -.02em; }
.brand-text small { color: var(--muted); font-size: 12px; margin-top: 4px; }
.brand-app-icon { width: 56px; height: 56px; flex: 0 0 56px; object-fit: contain; }
.brand-header .brand-text strong {
  color: var(--blue);
  font-family: "Magistral", "Helvetica", "Arial", sans-serif;
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -.035em;
}
.brand-header .brand-text small { color: #526a86; font-size: 12px; letter-spacing: .015em; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { text-decoration: none; color: #28405e; font-weight: 600; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); }
.nav .nav-cta { color: #fff; background: var(--blue); padding: 11px 19px; border-radius: 12px; }
.nav .nav-cta[aria-current="page"] { color: #fff; }
.nav .nav-cta:hover { color: #fff; background: #005dc4; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.menu-toggle span { display: block; width: 25px; height: 2px; margin: 5px; background: var(--ink); }

.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 84px;
  background:
    radial-gradient(circle at 84% 18%, rgba(43, 147, 255, .18), transparent 31%),
    linear-gradient(135deg, #f8fbff 0%, #eef6ff 56%, #fff 100%);
}
.hero::after {
  content: ""; position: absolute; width: 460px; height: 460px;
  right: -210px; bottom: -260px; border-radius: 50%; border: 70px solid rgba(9,107,216,.07);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 72px; }
.eyebrow { color: var(--blue); font-size: 14px; text-transform: uppercase; letter-spacing: .13em; font-weight: 700; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, h4, h5, h6 {
  font-family: "Magistral", "Helvetica", "Arial", sans-serif;
  font-weight: 500;
}
h1 { margin-bottom: 22px; font-size: clamp(42px, 5.7vw, 72px); line-height: 1.02; letter-spacing: -.045em; }
.hero-lead { max-width: 700px; color: #40536c; font-size: 20px; line-height: 1.55; }
.hero-actions, .section-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero .hero-actions { flex-wrap: nowrap; gap: 10px; }
.hero .hero-actions .button { min-height: 46px; padding: 10px 16px; font-size: 14px; white-space: nowrap; }
.button {
  min-height: 50px; display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 23px; border: 1px solid transparent; border-radius: 13px;
  text-decoration: none; font-weight: 700; transition: .2s ease;
}
.button-primary { color: #fff; background: var(--blue); box-shadow: 0 10px 22px rgba(9,107,216,.22); }
.button-primary:hover { background: #005cbf; transform: translateY(-1px); }
.button-secondary { border-color: #a9c7e8; color: var(--blue-dark); background: #fff; }
.button-secondary:hover { border-color: var(--blue); color: var(--blue); }
.button-support { border-color: #c4daf1; color: var(--blue); background: var(--blue-soft); }
.button-support:hover { border-color: var(--blue); background: #dceeff; transform: translateY(-1px); }
.button-light { color: var(--blue-dark); background: #fff; }
.hero-download-row { margin-top: 14px; }
.hero-download-link { display: inline-flex; align-items: center; gap: 12px; max-width: 100%; min-height: 52px; padding: 8px 16px 8px 8px; border: 1px solid #c4daf1; border-radius: 15px; color: var(--blue-dark); background: linear-gradient(115deg, #fff, #edf5ff); text-decoration: none; font-size: 14px; font-weight: 700; line-height: 1.4; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.hero-download-icon { display: grid; place-items: center; flex: 0 0 34px; height: 34px; border-radius: 10px; color: var(--blue); background: #e3efff; }
.hero-download-arrow { margin-left: 12px; color: var(--blue); font-size: 20px; transition: transform .2s ease; }
.hero-download-link:hover { border-color: var(--blue); box-shadow: 0 8px 20px rgba(9,107,216,.1); transform: translateY(-1px); }
.hero-download-link:hover .hero-download-arrow { transform: translateY(3px); }
.hero-download-link:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
#download { scroll-margin-top: 100px; }
.microcopy { margin: 16px 0 0; color: var(--muted); font-size: 14px; }

.product-stage { position: relative; min-height: 470px; display: grid; place-items: center; }
.phone {
  position: relative; z-index: 2; width: 265px; padding: 12px; border: 8px solid #10243e; border-radius: 36px;
  background: #fff; box-shadow: 0 28px 70px rgba(15,46,81,.28); transform: rotate(2deg);
}
.phone img { width: 100%; border-radius: 20px; }
.phone .real-screen-image {
  display: block;
  aspect-ratio: 591 / 1235;
  object-fit: cover;
  object-position: center bottom;
}
.float-card {
  position: absolute; z-index: 3; width: 210px; padding: 17px 18px; border: 1px solid rgba(255,255,255,.7);
  border-radius: 17px; background: rgba(255,255,255,.94); box-shadow: var(--shadow); backdrop-filter: blur(12px);
}
.float-card strong { display: block; font-size: 17px; margin-bottom: 4px; }
.float-card span { color: var(--muted); font-size: 13px; }
.float-one { top: 48px; left: 0; }
.float-two { right: 0; bottom: 55px; }
.status-dot { display: inline-block; width: 9px; height: 9px; margin-right: 7px; border-radius: 50%; background: #1caf72; }

.trust-strip { border-bottom: 1px solid var(--line); background: #fff; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); }
.metric { padding: 28px 24px; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
.metric strong { display: block; color: var(--blue-dark); font-size: 27px; line-height: 1.2; }
.metric span { color: var(--muted); font-size: 14px; }

.section { padding: 92px 0; }
.section-soft { background: var(--surface); }
.section-blue { color: #fff; background: linear-gradient(130deg, #063b7a, #0879e8); }
.section-heading { max-width: 760px; margin-bottom: 44px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading h2 { margin-bottom: 14px; font-size: clamp(32px, 4.3vw, 50px); line-height: 1.08; letter-spacing: -.035em; }
.section-heading p { margin-bottom: 0; color: var(--muted); font-size: 18px; }
.section-blue .section-heading p { color: rgba(255,255,255,.76); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { min-height: 235px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: .22s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.icon-box { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 15px; color: var(--blue); background: var(--blue-soft); font-size: 24px; font-weight: 700; }
.feature-card h3 { margin-bottom: 10px; font-size: 21px; }
.feature-card p { color: var(--muted); margin-bottom: 0; }

.app-preview-section { overflow: hidden; }
.app-preview-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: start; }
.app-preview-card { min-width: 0; padding: 26px 22px 24px; border: 1px solid var(--line); border-radius: 26px; background: #fff; text-align: center; box-shadow: 0 12px 34px rgba(25,58,96,.07); }
.app-preview-card h3 { margin: 23px 0 9px; font-size: 21px; line-height: 1.2; }
.app-preview-card p { margin: 0; color: var(--muted); font-size: 15px; }
.real-phone { width: min(225px, 100%); margin: 0 auto; padding: 8px; border: 7px solid #10243e; border-radius: 31px; background: #fff; box-shadow: 0 21px 42px rgba(15,46,81,.2); }
.real-screen-crop { aspect-ratio: 591 / 1235; overflow: hidden; border-radius: 18px; background: #f1f3f6; }
.real-screen-crop img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }

.workflow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: flow; }
.flow-step { position: relative; padding: 30px 24px; border-radius: 20px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.19); }
.flow-step::before { counter-increment: flow; content: "0" counter(flow); display: block; margin-bottom: 34px; color: var(--accent); font-size: 14px; font-weight: 700; letter-spacing: .1em; }
.flow-step h3 { font-size: 20px; }
.flow-step p { color: rgba(255,255,255,.75); margin: 0; font-size: 15px; }

.split { display: grid; grid-template-columns: .93fr 1.07fr; align-items: center; gap: 72px; }
.split.reverse { grid-template-columns: 1.07fr .93fr; }
.split.reverse .split-visual { order: 2; }
.split-visual { min-height: 440px; display: grid; place-items: center; padding: 38px; border-radius: 32px; background: linear-gradient(145deg, #dcedff, #fff); }
.app-screen { max-height: 430px; border-radius: 23px; box-shadow: 0 22px 45px rgba(25,58,96,.22); }
.real-app-screen { width: auto; height: 430px; aspect-ratio: 591 / 1235; object-fit: cover; object-position: center bottom; }
.print-showcase { position: relative; overflow: hidden; }
.print-composition { width: 100%; max-width: 620px; filter: drop-shadow(0 22px 28px rgba(25,58,96,.2)); }
.check-list { list-style: none; padding: 0; margin: 26px 0 0; }
.check-list li { position: relative; padding-left: 31px; margin: 13px 0; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--blue); font-weight: 700; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card { position: relative; padding: 32px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: 0 10px 30px rgba(28,62,100,.07); }
.price-card.featured { border: 2px solid var(--blue); transform: translateY(-8px); box-shadow: var(--shadow); }
.price-badge { position: absolute; top: 18px; right: 18px; padding: 6px 10px; border-radius: 999px; color: #7a4b00; background: #fff1c9; font-size: 12px; font-weight: 700; }
.price-card h3 { font-size: 23px; margin-bottom: 4px; }
.price-card .price { margin: 24px 0 20px; font-size: 36px; line-height: 1.05; font-weight: 700; letter-spacing: -.03em; }
.price-card .price small { color: var(--muted); font-size: 14px; font-weight: 500; letter-spacing: 0; }
.price-card ul { min-height: 132px; padding-left: 20px; color: var(--muted); }
.price-card .button { width: 100%; }

.cases-section { overflow: hidden; background: #071f3d; color: #fff; }
.cases-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.cases-header .section-heading { margin-bottom: 34px; }
.cases-header .section-heading p { color: #a9bdd3; }
.carousel-controls { display: flex; align-items: center; gap: 10px; margin-bottom: 34px; flex: 0 0 auto; }
.carousel-button { min-height: 44px; padding: 10px 17px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; color: #fff; background: rgba(255,255,255,.08); cursor: pointer; font: inherit; font-weight: 700; }
.carousel-button:hover { background: rgba(255,255,255,.16); }
.carousel-button:focus-visible { outline: 3px solid rgba(255,255,255,.55); outline-offset: 3px; }
.carousel-button:disabled { opacity: .38; cursor: default; }
.carousel-status { min-width: 54px; color: #a9bdd3; text-align: center; font-size: 14px; font-weight: 700; }
.cases-carousel { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(650px, 78%); gap: 22px; overflow-x: auto; padding: 4px max(1px, calc((100vw - min(1180px, 100vw - 40px)) / 2)) 24px 0; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: #5483b2 rgba(255,255,255,.1); }
.cases-carousel:focus-visible { outline: 3px solid rgba(255,255,255,.5); outline-offset: 6px; border-radius: 26px; }
.case-card { position: relative; min-height: 490px; display: flex; flex-direction: column; padding: 38px; border: 1px solid rgba(255,255,255,.16); border-radius: 28px; overflow: hidden; background: linear-gradient(145deg, #123f70, #0a294c); scroll-snap-align: start; }
.case-card::after { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -105px; border-radius: 50%; background: rgba(255,255,255,.07); pointer-events: none; }
.case-card-medical { background: linear-gradient(145deg, #075f78, #08324e); }
.case-card.case-card-medical h3 { max-width: 850px; font-size: clamp(26px, 3.3vw, 40px); }
.case-card-medical .case-stats { flex-wrap: nowrap; }
.case-card-medical .case-stats span { white-space: nowrap; }
.case-card-expo { background: linear-gradient(145deg, #364d91, #132850); }
.case-meta { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 20px; margin-bottom: 52px; color: #c5d8eb; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.case-meta strong { color: #fff; }
.case-card h3 { position: relative; z-index: 1; max-width: 690px; margin-bottom: 18px; font-size: clamp(28px, 3.5vw, 43px); line-height: 1.08; letter-spacing: -.03em; }
.case-card > p { position: relative; z-index: 1; max-width: 820px; color: #c3d3e3; font-size: 16px; }
.case-stats { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 9px; margin: 18px 0 24px; }
.case-stats span { padding: 9px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #d9e6f3; background: rgba(255,255,255,.07); font-size: 13px; }
.case-stats strong { color: #fff; }
.case-result { margin-top: auto; margin-bottom: 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.16); }
.case-result strong { color: #fff; }
.carousel-hint { margin: 4px 0 0; color: #8faac5; font-size: 13px; }

.legal-card { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 27px 30px; border: 1px solid #bfd7f2; border-radius: 22px; background: var(--blue-soft); }
.legal-seal { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--blue); font-weight: 700; }
.legal-card p { margin: 3px 0 0; color: var(--muted); }
.legal-card a { color: var(--blue); font-weight: 700; }
.certificate-thumb { width: 92px; height: 120px; padding: 5px; border: 1px solid #a9c7e8; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 8px 20px rgba(20,56,99,.12); cursor: zoom-in; transition: .2s ease; }
.certificate-thumb:hover { border-color: var(--blue); transform: translateY(-2px); }
.certificate-thumb:focus-visible { outline: 3px solid rgba(9,107,216,.24); outline-offset: 3px; }
.certificate-thumb img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.certificate-dialog { width: min(920px, calc(100% - 34px)); max-height: calc(100vh - 34px); padding: 18px; border: 0; border-radius: 18px; background: #fff; box-shadow: 0 28px 90px rgba(0,0,0,.35); overflow: auto; }
.certificate-dialog::backdrop { background: rgba(4,18,35,.82); backdrop-filter: blur(4px); }
.certificate-dialog img { width: 100%; height: auto; }
.certificate-dialog-close { position: sticky; z-index: 2; top: 0; float: right; width: 44px; height: 44px; margin: 0 0 -44px; border: 0; border-radius: 50%; color: #fff; background: rgba(7,30,58,.88); font-size: 30px; line-height: 1; cursor: pointer; }

.cta-band { padding: 56px 0; color: #fff; background: #082e5e; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-inner h2 { margin-bottom: 8px; font-size: 34px; }
.cta-inner p { margin: 0; color: rgba(255,255,255,.72); }

.page-hero { padding: 64px 0 52px; background: linear-gradient(130deg, #edf6ff, #fff); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 860px; font-size: clamp(38px, 5vw, 60px); }
.page-hero p { max-width: 710px; color: var(--muted); font-size: 18px; }
.breadcrumbs { margin-bottom: 26px; color: var(--muted); font-size: 14px; }
.breadcrumbs a { color: var(--blue); text-decoration: none; }
.order-page-hero, .support-page-hero { padding-block: 42px; overflow: hidden; }
.order-hero-grid, .support-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); align-items: center; gap: 46px; }
.order-hero-copy h1, .support-hero-copy h1 { max-width: 780px; }
.order-hero-visual, .support-hero-visual { position: relative; min-height: 360px; display: grid; place-items: center; }
.order-hero-visual::before, .support-hero-visual::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(9,107,216,.15), rgba(9,107,216,0) 70%); }
.order-hero-visual img, .support-hero-visual img { position: relative; z-index: 1; width: min(430px, 100%); filter: drop-shadow(0 24px 35px rgba(20,56,99,.18)); }
.support-hero-visual img { width: min(410px, 100%); }

.form-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 42px; align-items: start; }
.sidebar-card, .form-card { border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: 0 12px 35px rgba(31,69,109,.07); }
.sidebar-card { position: sticky; top: 112px; overflow: hidden; }
.sidebar-head { padding: 26px; color: #fff; background: linear-gradient(130deg, #064993, #0879e8); }
.sidebar-head h2 { font-size: 25px; margin-bottom: 7px; }
.sidebar-head p { margin: 0; color: rgba(255,255,255,.76); }
.sidebar-body { padding: 22px 26px; }
.mini-plan { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.mini-plan-last { border-bottom: 0; }
.mini-plan strong { color: var(--blue-dark); }
.tariff-included { margin-top: 18px; padding-top: 22px; border-top: 1px solid var(--line); }
.tariff-included h3 { margin-bottom: 8px; color: var(--blue-dark); font-size: 19px; line-height: 1.2; }
.tariff-included > p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.tariff-check-list { margin-top: 17px; }
.tariff-check-list li { margin: 10px 0; padding-left: 27px; color: #334b67; font-size: 14px; line-height: 1.4; }
.form-card { padding: 34px; scroll-margin-top: 110px; }
.form-card h2 { font-size: 29px; }
.form-card > p { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { position: relative; display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { color: #263d59; font-size: 14px; font-weight: 700; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #bfcddd; border-radius: 11px; color: var(--ink); background: #fff;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid rgba(9,107,216,.14); border-color: var(--blue); }
.field input.user-invalid { border-color: #c92b3a; background: #fffafb; }
.field input.user-invalid:focus { outline-color: rgba(201,43,58,.14); }
.input-bubble {
  position: absolute; z-index: 30; left: 10px; top: calc(100% + 8px); width: max-content; max-width: min(330px, calc(100vw - 54px));
  padding: 10px 13px; border-radius: 10px; color: #fff; background: #10243e; box-shadow: 0 10px 28px rgba(7,30,58,.24);
  font-size: 13px; line-height: 1.35; opacity: 0; transform: translateY(-5px); transition: opacity .18s ease, transform .18s ease;
  pointer-events: none;
}
.input-bubble::before { content: ""; position: absolute; left: 16px; top: -6px; width: 12px; height: 12px; background: #10243e; transform: rotate(45deg); }
.input-bubble.visible { opacity: 1; transform: translateY(0); }
.plan-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.plan-option { position: relative; }
.plan-option input { position: absolute; opacity: 0; pointer-events: none; }
.plan-option label { display: block; height: 100%; padding: 16px; border: 1px solid #bfd0e2; border-radius: 14px; cursor: pointer; }
.plan-option label strong { display: block; margin-bottom: 4px; font-size: 16px; }
.plan-option label span { color: var(--muted); font-size: 13px; }
.plan-option input:checked + label { border: 2px solid var(--blue); background: var(--blue-soft); }
.consent {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}
.consent input {
  width: 16px;
  height: 16px;
  min-height: 0;
  padding: 0;
  margin: 3px 0 0;
}
.consent > span { min-width: 0; }
.consent a { color: var(--blue); font-weight: 700; text-underline-offset: 2px; }
.consent a:hover { color: var(--blue-dark); }
.consent a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 2px; }
.form-note { margin: 15px 0 0; color: var(--muted); font-size: 13px; }
.success-message { display: none; padding: 20px; border-radius: 14px; color: #0b6847; background: #e9f8f1; }
.success-message.visible { display: block; }
.form-submit-error { padding: 18px 20px; border: 1px solid #efb7bd; border-radius: 14px; color: #941e2b; background: #fff3f4; }
.form-submit-error[hidden] { display: none !important; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.button[disabled] { opacity: .65; cursor: wait; }

.support-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 34px; align-items: start; }
.contact-grid { display: grid; gap: 14px; }
.contact-card { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; padding: 20px; border: 1px solid var(--line); border-radius: 17px; text-decoration: none; background: #fff; }
.contact-card:hover { border-color: var(--blue); }
.contact-card .contact-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; color: var(--blue); background: var(--blue-soft); font-weight: 700; }
.contact-card strong { display: block; }
.contact-card span { color: var(--muted); font-size: 14px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; }
.faq-item summary { padding: 20px 54px 20px 22px; cursor: pointer; font-weight: 700; list-style: none; position: relative; }
.faq-item summary::after { content: "+"; position: absolute; right: 22px; top: 15px; color: var(--blue); font-size: 26px; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 22px 22px; margin: 0; color: var(--muted); }
.upload-box { padding: 22px; border: 1.5px dashed #9db7d4; border-radius: 14px; text-align: center; background: #f8fbff; }
.upload-box input { min-height: auto; border: 0; padding: 0; }

.download-section { border-top: 1px solid var(--line); background: #fff; }
.download-heading { margin-bottom: 42px; }
.download-heading h2 { margin-bottom: 8px; font-size: clamp(32px, 4.3vw, 50px); line-height: 1.08; letter-spacing: -.035em; }
.download-heading h2 span { color: var(--blue); }
.download-heading p { margin: 0; color: var(--muted); font-size: 18px; }
.document-download-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 36px; }
.document-download-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 17px;
  padding: 22px;
  border: 2px solid #9ec9f5;
  border-radius: 22px;
  color: var(--ink);
  background: linear-gradient(135deg, #f5faff 0%, #eaf4ff 100%);
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(9,107,216,.08);
  transition: .25s ease;
}
.document-download-card:hover { border-color: var(--blue); box-shadow: 0 17px 38px rgba(9,107,216,.15); transform: translateY(-3px); }
.document-download-card:focus-visible { outline: 3px solid rgba(9,107,216,.28); outline-offset: 4px; }
.document-download-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
}
.document-download-copy { min-width: 0; display: grid; gap: 5px; }
.document-download-copy strong { font-family: "Magistral", "Helvetica", "Arial", sans-serif; font-size: 20px; font-weight: 500; line-height: 1.2; }
.document-download-copy span { color: var(--muted); font-size: 14px; line-height: 1.4; }
.document-download-arrow { color: var(--blue); font-size: 30px; line-height: 1; text-align: center; transition: transform .25s ease; }
.document-download-card:hover .document-download-arrow { transform: translateY(4px); }
.download-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.store-download-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 5px solid #f0f3f8;
  border-radius: 28px;
  background: #fff;
  transition: .2s ease;
}
.store-download-card:hover { border-color: #dfe7f1; box-shadow: 0 14px 34px rgba(20,56,99,.1); transform: translateY(-3px); }
.store-download-main { min-height: 76px; display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 14px; margin-bottom: 14px; }
.store-download-main img { width: 64px; height: 64px; object-fit: contain; }
.store-download-main h3 { margin-bottom: 3px; font-size: 18px; line-height: 1.16; }
.store-download-main p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.3; }
.store-download-button { min-height: 44px; display: flex; align-items: center; justify-content: center; margin-top: auto; border-radius: 14px; color: #fff; background: var(--blue); text-decoration: none; font-weight: 700; transition: .2s ease; }
.store-download-button:hover { background: #005cbf; }
.store-download-button:focus-visible { outline: 3px solid rgba(9,107,216,.28); outline-offset: 3px; }

.site-footer { padding: 52px 0 28px; color: #dce8f5; background: #071e3a; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .7fr .7fr .9fr; gap: 38px; }
.site-footer .brand { color: #fff; margin-bottom: 18px; }
.site-footer .brand-header .brand-text strong { color: #57a8ff; }
.site-footer .brand-header .brand-text small { color: #b7c7d9; }
.site-footer p { max-width: 520px; color: #9eb2ca; }
.site-footer h3 { color: #fff; font-size: 16px; }
.footer-heading-link { color: #fff; text-decoration: none; }
.footer-heading-link:hover { color: #57a8ff; }
.footer-heading-link:focus-visible { outline: 2px solid #57a8ff; outline-offset: 3px; border-radius: 2px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: #b7c7d9; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom { margin-top: 40px; padding-top: 23px; border-top: 1px solid rgba(255,255,255,.12); color: #8fa5bd; font-size: 13px; }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: 80px 0 auto; display: none; padding: 26px 20px 32px; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 8px 0; }
  .nav .nav-cta { text-align: center; padding: 13px 18px; }
  .hero-grid, .split, .split.reverse, .form-layout, .support-grid { grid-template-columns: 1fr; }
  .order-hero-grid, .support-hero-grid { grid-template-columns: 1fr; gap: 18px; }
  .order-hero-visual, .support-hero-visual { min-height: 310px; }
  .order-hero-visual img, .support-hero-visual img { width: min(360px, 82vw); }
  .product-stage { min-height: 420px; }
  .split.reverse .split-visual { order: 0; }
  .sidebar-card { position: static; }
  .feature-grid, .pricing-grid, .download-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-carousel { grid-auto-columns: 84%; }
  .workflow { grid-template-columns: repeat(2, 1fr); }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .hero .hero-actions { flex-wrap: wrap; }
  .app-preview-gallery { gap: 16px; }
  .app-preview-card { padding-inline: 16px; }
}

@media (max-width: 720px) {
  .document-download-grid { grid-template-columns: 1fr; }
  .document-download-card { grid-template-columns: 50px minmax(0, 1fr) 28px; padding: 18px; gap: 14px; }
  .document-download-icon { width: 50px; height: 50px; border-radius: 14px; }
  .document-download-copy strong { font-size: 18px; }
}

@media (min-width: 981px) and (max-width: 1120px) {
  .header-inner { gap: 18px; }
  .nav { gap: 13px; }
  .nav a { font-size: 14px; }
  .nav .nav-cta { padding: 10px 14px; }
}

@media (max-width: 640px) {
  .cookie-notice { right: 14px; bottom: 14px; width: calc(100% - 28px); align-items: stretch; flex-direction: column; gap: 14px; padding: 17px; }
  .cookie-notice-button { width: 100%; }
  .container { width: min(100% - 28px, 1180px); }
  .header-inner { min-height: 70px; }
  .nav { top: 70px; }
  .brand-text strong { font-size: 15px; }
  .brand-text small { display: none; }
  .brand-header .brand-text strong { font-size: 23px; }
  .brand-app-icon { width: 48px; height: 48px; flex-basis: 48px; }
  .hero { padding: 52px 0 60px; }
  .hero-grid { gap: 30px; }
  h1 { font-size: 42px; }
  .hero-lead { font-size: 17px; }
  .float-card { width: 170px; padding: 13px; }
  .float-one { left: -5px; }
  .float-two { right: -5px; }
  .section { padding: 66px 0; }
  .section-heading h2 { font-size: 34px; }
  .feature-grid, .pricing-grid, .workflow, .form-grid, .plan-options, .footer-grid, .download-grid { grid-template-columns: 1fr; }
  .app-preview-gallery {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 88%;
    gap: 14px;
    margin-right: -14px;
    padding: 4px 14px 18px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }
  .app-preview-card { scroll-snap-align: start; }
  .real-phone { width: 214px; }
  .price-card.featured { transform: none; }
  .cases-header { align-items: flex-start; flex-direction: column; gap: 0; }
  .carousel-controls { margin-bottom: 24px; }
  .cases-carousel { grid-auto-columns: 92%; gap: 14px; }
  .case-card { min-height: 570px; padding: 27px 23px; }
  .case-meta { margin-bottom: 34px; }
  .split { gap: 34px; }
  .split-visual { min-height: 350px; padding: 24px; }
  .real-app-screen { height: 390px; max-width: 100%; }
  .print-composition { max-width: 560px; }
  .case-card-medical .case-stats { flex-wrap: wrap; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metric { padding: 22px 15px; }
  .legal-card { grid-template-columns: auto 1fr; }
  .legal-card > a { grid-column: 1 / -1; }
  .legal-card > .certificate-thumb { grid-column: 1 / -1; width: 82px; height: 108px; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .form-card { padding: 24px 20px; }
  .page-hero { padding: 44px 0 36px; }
  .download-heading { margin-bottom: 28px; }
  .store-download-card { border-width: 4px; }
}

.instruction-section { background: var(--blue-soft); border-top: 1px solid var(--line); }
.instruction-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: stretch; }
.instruction-video { position: relative; aspect-ratio: 16 / 9; min-width: 0; overflow: hidden; border-radius: 24px; background: #071f3d; box-shadow: 0 18px 44px rgba(20,56,99,.14); }
.instruction-video video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; background: #071f3d; }
.instruction-notice { padding: clamp(22px, 3vw, 36px); border: 1px solid #ead8aa; border-radius: 24px; background: #fffdf7; }
.instruction-notice-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.instruction-notice-heading h3 { margin: 0; font-size: 24px; }
.instruction-notice-icon { display: grid; place-items: center; flex: 0 0 36px; height: 36px; border-radius: 12px; background: #fff0c9; color: #805510; font-size: 24px; font-weight: 700; }
.instruction-notice p { margin: 0; color: #40536c; font-size: 16px; line-height: 1.65; }
.instruction-app-note { display: grid; gap: 8px; margin: 22px 0; padding: 18px 20px; border-left: 3px solid var(--blue); border-radius: 0 14px 14px 0; background: #fff; }
.instruction-app-note span { color: #40536c; font-size: 14px; }
.instruction-app-note strong { color: var(--blue-dark); font-size: 28px; letter-spacing: .08em; }
.instruction-notice .instruction-notice-summary { font-size: 14px; }
@media (max-width: 800px) { .instruction-grid { grid-template-columns: 1fr; gap: 24px; } }
