:root {
  --kuzya-navy: #222b39;
  --kuzya-navy-deep: #16243a;
  --kuzya-orange: #f9933f;
  --kuzya-orange-strong: #ff7a1a;
  --kuzya-peach: #fddeb4;
  --kuzya-cream: #fff9f3;
  --kuzya-cream-2: #fcefe1;
  --kuzya-white: #fff;
  --kuzya-gray: #667085;
  --kuzya-line: #efdcc8;
  --kuzya-green: #59b883;
  --kuzya-blue: #5b9be6;
  --kuzya-radius-sm: 12px;
  --kuzya-radius-md: 20px;
  --kuzya-radius-lg: 28px;
  --kuzya-shadow-card: 0 16px 48px rgba(34, 43, 57, .1);
  --kuzya-shadow-floating: 0 28px 80px rgba(34, 43, 57, .16);
  --kuzya-shadow-button: 0 12px 30px rgba(255, 122, 26, .24);
  --kuzya-container: 1240px;
  --kuzya-font: Nunito, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: #fff;
}

body.kv2-legacy-open {
  overflow: hidden;
}

.kv2-site,
.kv2-site *,
.kv2-legacy-panel,
.kv2-legacy-panel * {
  box-sizing: border-box;
}

.kv2-site {
  width: min(100%, 1360px);
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid var(--kuzya-line);
  border-radius: var(--kuzya-radius-lg);
  background: var(--kuzya-cream);
  color: var(--kuzya-navy);
  font-family: var(--kuzya-font);
  box-shadow: 0 10px 40px rgba(34, 43, 57, .06);
}

.kv2-site :where(h1, h2, h3, p, ul, ol) {
  margin: 0;
}

.kv2-site :where(a, button) {
  font: inherit;
}

.kv2-site img,
.kv2-site iframe {
  display: block;
  max-width: 100%;
}

.kv2-site button,
.kv2-site a {
  -webkit-tap-highlight-color: transparent;
}

.kv2-site :where(a, button, summary):focus-visible,
.kv2-legacy-panel :where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid rgba(255, 122, 26, .58);
  outline-offset: 3px;
}

.kv2-container {
  width: min(calc(100% - 80px), var(--kuzya-container));
  margin-inline: auto;
}

.kv2-card {
  border: 1px solid var(--kuzya-line);
  border-radius: var(--kuzya-radius-md);
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 8px 24px rgba(34, 43, 57, .045);
}

.kv2-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 24px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.kv2-button-primary {
  border: 1px solid var(--kuzya-orange-strong);
  background: var(--kuzya-orange-strong);
  color: #fff;
  box-shadow: var(--kuzya-shadow-button);
}

.kv2-button-secondary {
  border: 1px solid var(--kuzya-line);
  background: #fff;
  color: var(--kuzya-navy);
  box-shadow: 0 8px 24px rgba(34, 43, 57, .06);
}

.kv2-button:hover {
  transform: translateY(-2px);
}

.kv2-eyebrow {
  color: var(--kuzya-orange-strong);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.kv2-section-title {
  color: var(--kuzya-navy-deep);
  font-size: clamp(28px, 2.3vw, 36px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.025em;
}

.kv2-section-copy {
  color: var(--kuzya-gray);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

/* Header */
.kv2-navbar#navbar {
  position: relative;
  z-index: 1000;
  inset: auto;
  display: block;
  width: 100%;
  height: 128px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(239, 220, 200, .55);
  background: rgba(255, 252, 248, .96);
  box-shadow: none;
  backdrop-filter: blur(18px);
}

.kv2-navbar#navbar.scrolled {
  background: rgba(255, 252, 248, .98);
  box-shadow: 0 10px 32px rgba(34, 43, 57, .07);
}

.kv2-nav-inner {
  display: flex;
  width: min(calc(100% - 80px), 1280px);
  height: 100%;
  align-items: center;
  gap: 32px;
  margin-inline: auto;
}

.kv2-nav-brand {
  display: inline-flex;
  width: 250px;
  flex: 0 0 250px;
  align-items: center;
}

.kv2-nav-brand img {
  width: 228px;
  height: auto;
}

.kv2-nav-links {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2vw, 34px);
  padding: 0;
  list-style: none;
}

.kv2-nav-links a,
.kv2-nav-links button {
  padding: 7px 0;
  border: 0;
  background: none;
  color: var(--kuzya-navy);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.kv2-nav-links :where(a, button):hover {
  color: var(--kuzya-orange-strong);
}

.kv2-nav-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
}

.kv2-language {
  position: relative;
}

.kv2-language summary,
.kv2-currency {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 13px;
  border: 1px solid var(--kuzya-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .84);
  color: var(--kuzya-navy);
  font-size: 13px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.kv2-language summary::-webkit-details-marker {
  display: none;
}

.kv2-language-menu {
  position: absolute;
  z-index: 8;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  min-width: 150px;
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--kuzya-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--kuzya-shadow-card);
}

.kv2-language-menu .lang-btn {
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--kuzya-navy);
  font-family: var(--kuzya-font);
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.kv2-language-menu .lang-btn.active,
.kv2-language-menu .lang-btn:hover {
  background: var(--kuzya-cream-2);
  color: var(--kuzya-orange-strong);
}

.kv2-nav-cta {
  min-height: 46px;
  padding-inline: 20px;
  font-size: 14px;
}

.kv2-menu-toggle {
  display: none;
}

.kv2-mobile-nav {
  display: none;
}

/* Hero */
.kv2-main {
  display: block;
  background:
    linear-gradient(rgba(255, 249, 243, .78), rgba(255, 249, 243, .78)),
    url("../images/kuzya-concept-v2/backgrounds/paw-pattern-1024.png") center top / 620px auto repeat;
}

.kv2-hero {
  min-height: 532px;
  padding: 28px 0 20px;
  background:
    linear-gradient(90deg, rgba(255, 252, 248, .94) 0%, rgba(255, 252, 248, .72) 48%, rgba(255, 249, 243, .14) 100%),
    url("../images/kuzya-concept-v2/backgrounds/hero-gradient-1920x1080.png") center / cover no-repeat;
}

.kv2-hero-grid {
  display: grid;
  min-height: 484px;
  grid-template-columns: minmax(0, .42fr) minmax(0, .58fr);
  align-items: center;
  gap: 16px;
}

.kv2-hero-copy {
  position: relative;
  z-index: 3;
  align-self: center;
  padding: 14px 0 8px;
}

.kv2-hero h1 {
  max-width: 500px;
  color: var(--kuzya-navy-deep);
  font-size: clamp(48px, 4.25vw, 60px);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -.045em;
}

.kv2-hero-description {
  max-width: 470px;
  margin-top: 24px !important;
  color: var(--kuzya-navy);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
}

.kv2-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.kv2-hero-web {
  display: inline-flex;
  margin-top: 18px;
  color: var(--kuzya-navy);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.kv2-hero-web:hover {
  color: var(--kuzya-orange-strong);
}

.kv2-hero-visual {
  position: relative;
  min-width: 0;
  height: 470px;
}

.kv2-hero-browser {
  position: absolute;
  z-index: 1;
  top: 22px;
  right: 72px;
  width: 500px;
  height: 318px;
  overflow: hidden;
  border: 9px solid var(--kuzya-navy-deep);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--kuzya-shadow-floating);
}

.kv2-hero-browser::before {
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  height: 20px;
  background: var(--kuzya-navy-deep);
  content: "";
}

.kv2-hero-browser iframe {
  width: 900px;
  height: 560px;
  border: 0;
  transform: translateY(20px) scale(.55);
  transform-origin: 0 0;
  pointer-events: none;
}

.kv2-hero-tablet,
.kv2-hero-phone {
  position: absolute;
  z-index: 3;
  overflow: hidden;
  border: 8px solid var(--kuzya-navy-deep);
  background: #fff;
  box-shadow: 0 20px 44px rgba(34, 43, 57, .19);
}

.kv2-hero-tablet {
  right: 82px;
  bottom: 24px;
  width: 230px;
  height: 208px;
  border-radius: 20px;
}

.kv2-hero-phone {
  right: 4px;
  bottom: 28px;
  width: 116px;
  height: 232px;
  border-width: 7px;
  border-radius: 24px;
}

.kv2-hero-tablet img,
.kv2-hero-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.kv2-hero-mascot {
  position: absolute;
  z-index: 4;
  left: 4px;
  bottom: 4px;
  width: 286px;
  max-height: 330px;
  object-fit: contain;
  filter: drop-shadow(0 20px 26px rgba(34, 43, 57, .13));
}

.kv2-hero-decor {
  position: absolute;
  z-index: 0;
  inset: 18px 8px 8px 100px;
  border-radius: 45% 55% 46% 54%;
  background: rgba(253, 222, 180, .42);
  transform: rotate(-4deg);
}

.kv2-proof-grid {
  display: grid;
  min-height: 120px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
  padding: 12px 0 24px;
}

.kv2-proof-card {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid rgba(239, 220, 200, .72);
  border-radius: 20px;
  background: rgba(255, 255, 255, .58);
}

.kv2-proof-card img {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
}

.kv2-proof-card span {
  color: var(--kuzya-navy-deep);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

/* Shared compact sections */
.kv2-section {
  padding: 16px 0;
}

.kv2-section-frame {
  border: 1px solid rgba(239, 220, 200, .82);
  border-radius: 24px;
  background: rgba(255, 255, 255, .44);
}

/* Roles */
.kv2-roles {
  min-height: 540px;
}

.kv2-roles .kv2-section-frame {
  min-height: 510px;
  padding: 24px 30px 26px;
}

.kv2-roles .kv2-section-title {
  text-align: center;
}

.kv2-role-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 22px;
  padding: 4px;
  border: 1px solid rgba(239, 220, 200, .72);
  border-radius: 999px;
  background: rgba(255, 255, 255, .76);
}

.kv2-role-tab {
  display: inline-flex;
  min-width: 0;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--kuzya-navy);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

.kv2-role-tab img {
  width: 28px;
  height: 28px;
}

.kv2-role-tab.is-active {
  background: linear-gradient(90deg, #ffdba5, #ffe8c8);
  color: var(--kuzya-orange-strong);
}

.kv2-role-panel {
  display: grid;
  min-height: 340px;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .9fr) minmax(190px, .58fr);
  gap: 34px;
  align-items: center;
  padding: 26px 4px 0;
}

.kv2-role-panel[hidden] {
  display: none;
}

.kv2-patient-card {
  min-height: 292px;
  padding: 20px;
  border: 2px solid #d5cfc7;
  border-radius: 14px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 8px 20px rgba(34, 43, 57, .07);
}

.kv2-patient-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.kv2-patient-head strong {
  font-size: 20px;
  font-weight: 700;
}

.kv2-patient-head small {
  display: block;
  margin-top: 2px;
  color: var(--kuzya-gray);
  font-size: 13px;
}

.kv2-patient-avatar {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.kv2-patient-tabs {
  display: flex;
  gap: 28px;
  margin-top: 18px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--kuzya-line);
  font-size: 12px;
  font-weight: 500;
}

.kv2-patient-tabs span:first-child {
  color: var(--kuzya-orange-strong);
}

.kv2-patient-data {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 18px;
  margin-top: 16px;
}

.kv2-patient-data span {
  color: var(--kuzya-gray);
  font-size: 11px;
}

.kv2-patient-data b {
  display: block;
  margin-top: 2px;
  color: var(--kuzya-navy-deep);
  font-size: 13px;
  font-weight: 600;
}

.kv2-role-benefits {
  display: grid;
  gap: 15px;
  padding: 0;
  list-style: none;
}

.kv2-role-benefits li {
  position: relative;
  padding-left: 24px;
  color: var(--kuzya-navy);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
}

.kv2-role-benefits li::before {
  position: absolute;
  top: 3px;
  left: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--kuzya-orange-strong);
  color: #fff;
  content: "✓";
  font-size: 10px;
  font-weight: 700;
  line-height: 15px;
  text-align: center;
}

.kv2-role-link {
  display: inline-flex;
  margin-top: 22px;
  border: 0;
  background: transparent;
  color: var(--kuzya-orange-strong);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.kv2-role-mascot {
  align-self: end;
  width: 100%;
  max-height: 318px;
  object-fit: contain;
  filter: drop-shadow(0 16px 22px rgba(34, 43, 57, .09));
}

/* Workflow */
.kv2-workflow {
  min-height: 330px;
}

.kv2-workflow .kv2-section-frame {
  min-height: 300px;
  padding: 20px 24px 24px;
}

.kv2-workflow .kv2-section-title {
  text-align: center;
}

.kv2-workflow-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.kv2-workflow-grid::before {
  position: absolute;
  top: 21px;
  right: 7%;
  left: 7%;
  border-top: 2px dotted #ead7c3;
  content: "";
}

.kv2-workflow-step {
  position: relative;
  z-index: 1;
  min-width: 0;
  text-align: center;
}

.kv2-workflow-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin: 0 auto 12px;
  border: 1px solid var(--kuzya-line);
  border-radius: 50%;
  background: #fff;
  color: var(--kuzya-orange-strong);
  font-size: 15px;
  font-weight: 600;
}

.kv2-workflow-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 10px;
}

.kv2-workflow-step h3 {
  color: var(--kuzya-navy-deep);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

.kv2-workflow-step p {
  margin-top: 5px !important;
  color: var(--kuzya-gray);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.35;
}

/* Mobile app */
.kv2-mobile {
  min-height: 410px;
}

.kv2-mobile .kv2-section-frame {
  position: relative;
  display: grid;
  min-height: 380px;
  grid-template-columns: minmax(250px, .82fr) minmax(0, 1.55fr);
  gap: 24px;
  overflow: hidden;
  padding: 26px 30px 20px;
}

.kv2-mobile-copy {
  position: relative;
  z-index: 2;
  padding-top: 6px;
}

.kv2-mobile-list {
  display: grid;
  gap: 13px;
  margin-top: 20px !important;
  padding: 0;
  list-style: none;
}

.kv2-mobile-list li {
  position: relative;
  padding-left: 22px;
  color: var(--kuzya-navy);
  font-size: 14px;
  line-height: 1.4;
}

.kv2-mobile-list li::before {
  position: absolute;
  top: 6px;
  left: 2px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--kuzya-navy-deep);
  content: "";
}

.kv2-store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.kv2-store-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border: 1px solid var(--kuzya-line);
  border-radius: 11px;
  background: #fff;
  color: var(--kuzya-navy);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.kv2-store-button img {
  width: 25px;
  height: 25px;
}

.kv2-mobile-mascot {
  position: absolute;
  z-index: 3;
  right: -4px;
  bottom: -2px;
  width: 154px;
  max-height: 154px;
  object-fit: contain;
}

.kv2-mobile-devices {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: end;
}

.kv2-phone {
  position: relative;
  height: 334px;
  overflow: hidden;
  border: 7px solid var(--kuzya-navy-deep);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 16px 28px rgba(34, 43, 57, .14);
}

.kv2-phone::before {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 50%;
  width: 58px;
  height: 14px;
  border-radius: 0 0 9px 9px;
  background: var(--kuzya-navy-deep);
  content: "";
  transform: translateX(-50%);
}

.kv2-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* Demo */
.kv2-demo {
  min-height: 420px;
}

.kv2-demo .kv2-section-frame {
  position: relative;
  display: grid;
  min-height: 390px;
  grid-template-columns: minmax(220px, .58fr) minmax(0, 1.42fr);
  gap: 34px;
  overflow: hidden;
  padding: 24px 30px;
}

.kv2-demo-copy {
  align-self: center;
}

.kv2-demo-list {
  display: grid;
  gap: 10px;
  margin: 17px 0 20px !important;
  padding: 0;
  list-style: none;
}

.kv2-demo-list li {
  position: relative;
  padding-left: 26px;
  color: var(--kuzya-navy);
  font-size: 14px;
  line-height: 1.35;
}

.kv2-demo-list li::before {
  position: absolute;
  left: 0;
  content: "▧";
  color: var(--kuzya-navy-deep);
}

.kv2-demo-browser {
  position: relative;
  align-self: center;
  height: 342px;
  overflow: hidden;
  border: 8px solid var(--kuzya-navy-deep);
  border-top-width: 26px;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(34, 43, 57, .14);
}

.kv2-demo-browser iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.kv2-demo-mascot {
  position: absolute;
  z-index: 3;
  top: -35px;
  right: 50px;
  width: 138px;
  height: 138px;
  object-fit: contain;
}

/* Onboarding + platforms */
.kv2-onboarding {
  min-height: 340px;
}

.kv2-onboarding .kv2-section-frame {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  padding: 22px 28px 24px;
}

.kv2-onboarding .kv2-section-title {
  margin-bottom: 18px;
}

.kv2-onboarding-grid {
  display: grid;
  grid-template-columns: minmax(250px, .7fr) minmax(0, 1.3fr);
  gap: 26px;
}

.kv2-onboarding-steps {
  display: grid;
  gap: 14px;
}

.kv2-onboarding-step {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
}

.kv2-onboarding-number {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--kuzya-orange);
  border-radius: 50%;
  color: var(--kuzya-orange-strong);
  font-size: 16px;
  font-weight: 600;
}

.kv2-onboarding-step h3 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.kv2-onboarding-step p {
  margin-top: 2px !important;
  color: var(--kuzya-gray);
  font-size: 11px;
  line-height: 1.4;
}

.kv2-platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.kv2-platform-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 18px 12px 14px;
  border: 1px solid var(--kuzya-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .84);
  text-align: center;
}

.kv2-platform-card > img {
  width: 52px;
  height: 52px;
}

.kv2-platform-card h3 {
  margin-top: 9px !important;
  font-size: 15px;
  font-weight: 600;
}

.kv2-platform-card p {
  margin: 6px 0 12px !important;
  color: var(--kuzya-gray);
  font-size: 11px;
  line-height: 1.35;
}

.kv2-platform-card :where(a, button) {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: #fff;
  color: var(--kuzya-orange-strong);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

.kv2-platform-card:nth-child(2) :where(a, button) {
  color: #73a800;
}

.kv2-platform-card:nth-child(3) :where(a, button) {
  color: #159ee4;
}

.kv2-onboarding-mascot {
  position: absolute;
  top: 40px;
  right: -42px;
  width: 124px;
  height: 124px;
  object-fit: contain;
}

/* Capabilities */
.kv2-capabilities {
  min-height: 330px;
}

.kv2-capabilities .kv2-section-frame {
  min-height: 300px;
  padding: 18px 26px 24px;
}

.kv2-capabilities .kv2-section-title {
  margin-bottom: 18px;
  text-align: center;
}

.kv2-capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 14px;
}

.kv2-capability-item {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--kuzya-line);
  border-radius: 13px;
  background: rgba(255, 255, 255, .88);
}

.kv2-capability-button {
  display: grid;
  width: 100%;
  min-height: 72px;
  grid-template-columns: 46px minmax(0, 1fr) 18px;
  gap: 11px;
  align-items: center;
  padding: 10px 13px;
  border: 0;
  background: transparent;
  color: var(--kuzya-navy);
  text-align: left;
  cursor: pointer;
}

.kv2-capability-button > img {
  width: 44px;
  height: 44px;
}

.kv2-capability-button strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
}

.kv2-capability-button small {
  display: block;
  margin-top: 2px;
  color: var(--kuzya-gray);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.25;
}

.kv2-capability-button::after {
  content: "⌄";
  font-size: 17px;
  transition: transform .18s ease;
}

.kv2-capability-button.is-open::after {
  transform: rotate(180deg);
}

.kv2-capability-panel {
  padding: 0 14px 13px 70px;
  color: var(--kuzya-gray);
  font-size: 12px;
  line-height: 1.5;
}

.kv2-capability-panel[hidden] {
  display: none;
}

/* Voice, teasers, footer */
.kv2-voice {
  min-height: 188px;
  padding-top: 12px;
}

.kv2-voice-card {
  position: relative;
  display: grid;
  min-height: 164px;
  grid-template-columns: minmax(250px, .78fr) minmax(0, 1.22fr);
  align-items: center;
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(253, 222, 180, .86), rgba(255, 249, 243, .82)),
    url("../images/kuzya-concept-v2/backgrounds/section-wash-1600x900.png") center / cover;
}

.kv2-voice-visual {
  position: relative;
  height: 164px;
}

.kv2-voice-mascot {
  position: absolute;
  left: 36px;
  bottom: -42px;
  width: 254px;
  height: 254px;
  object-fit: contain;
}

.kv2-voice-wave {
  position: absolute;
  right: 0;
  bottom: 28px;
  width: 190px;
  height: 42px;
  opacity: .75;
  object-fit: fill;
}

.kv2-voice-copy {
  position: relative;
  z-index: 2;
  padding: 20px 34px 20px 0;
}

.kv2-voice-copy .kv2-section-title {
  font-size: 28px;
}

.kv2-voice-copy .kv2-section-copy {
  max-width: 600px;
  margin-top: 7px !important;
  font-size: 14px;
  line-height: 1.45;
}

.kv2-voice-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.kv2-voice-chips span,
.kv2-voice-more {
  padding: 7px 11px;
  border: 1px solid #cad7e6;
  border-radius: 999px;
  background: rgba(255, 255, 255, .68);
  color: #4d6682;
  font-size: 10px;
  line-height: 1.2;
}

.kv2-voice-more {
  cursor: pointer;
}

.kv2-teaser-grid {
  display: grid;
  min-height: 158px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 12px 0 14px;
}

.kv2-teaser {
  position: relative;
  display: grid;
  min-height: 132px;
  grid-template-columns: minmax(0, 1fr) 210px;
  align-items: center;
  overflow: hidden;
  padding: 18px 24px;
  border: 1px solid var(--kuzya-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .76);
}

.kv2-teaser h2 {
  font-size: 20px;
  font-weight: 700;
}

.kv2-teaser p {
  max-width: 260px;
  margin-top: 4px !important;
  color: var(--kuzya-gray);
  font-size: 12px;
  line-height: 1.4;
}

.kv2-teaser button {
  margin-top: 10px;
  padding: 7px 13px;
  border: 1px solid var(--kuzya-line);
  border-radius: 999px;
  background: #fff;
  color: var(--kuzya-navy);
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
}

.kv2-teaser img {
  position: absolute;
  right: 18px;
  bottom: -42px;
  width: 180px;
  height: 180px;
  object-fit: contain;
}

.kv2-footer {
  min-height: 160px;
  padding: 20px 0 18px;
  border-top: 1px solid rgba(239, 220, 200, .72);
  background: rgba(255, 252, 248, .9);
}

.kv2-footer-grid {
  display: grid;
  grid-template-columns: 250px repeat(3, minmax(0, 1fr)) 260px;
  gap: 24px;
  align-items: start;
}

.kv2-footer-brand img {
  width: 205px;
  height: auto;
}

.kv2-footer-socials {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.kv2-footer-socials a {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--kuzya-blue);
}

.kv2-footer-socials img {
  width: 17px;
  height: 17px;
  filter: brightness(0) invert(1);
}

.kv2-footer h3 {
  margin-bottom: 7px !important;
  font-size: 11px;
  font-weight: 600;
}

.kv2-footer ul {
  display: grid;
  gap: 4px;
  padding: 0;
  list-style: none;
}

.kv2-footer a,
.kv2-footer button,
.kv2-footer p {
  border: 0;
  background: none;
  color: var(--kuzya-gray);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.35;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.kv2-footer-contact {
  display: grid;
  gap: 6px;
}

.kv2-footer-contact a:first-child {
  color: var(--kuzya-navy-deep);
  font-size: 14px;
  font-weight: 700;
}

/* Full preserved content */
.kv2-legacy-panel[hidden] {
  display: none !important;
}

.kv2-legacy-panel {
  position: fixed;
  z-index: 5000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  font-family: Nunito, system-ui, sans-serif;
}

.kv2-legacy-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 36, 58, .68);
  backdrop-filter: blur(12px);
}

.kv2-legacy-dialog {
  position: relative;
  display: grid;
  width: min(1280px, calc(100vw - 48px));
  height: min(900px, calc(100dvh - 48px));
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .66);
  border-radius: 24px;
  background: var(--kuzya-cream);
  box-shadow: 0 36px 100px rgba(0, 0, 0, .32);
}

.kv2-legacy-toolbar {
  position: relative;
  z-index: 4;
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 18px 10px 24px;
  border-bottom: 1px solid var(--kuzya-line);
  background: rgba(255, 255, 255, .96);
}

.kv2-legacy-toolbar strong {
  color: var(--kuzya-navy-deep);
  font-size: 16px;
}

.kv2-legacy-close {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--kuzya-line);
  border-radius: 12px;
  background: #fff;
  color: var(--kuzya-navy);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.kv2-legacy-scroll {
  position: relative;
  overflow: auto;
  overscroll-behavior: contain;
  background: var(--kuzya-cream);
}

.kv2-legacy-scroll #legacy-main-content,
.kv2-legacy-scroll .legacy-footer {
  display: block;
}

.kv2-legacy-scroll .legacy-footer {
  position: relative;
}

/* Tablet */
@media (max-width: 1100px) {
  .kv2-container,
  .kv2-nav-inner {
    width: min(calc(100% - 48px), var(--kuzya-container));
  }

  .kv2-nav-inner {
    gap: 18px;
  }

  .kv2-nav-brand {
    width: 190px;
    flex-basis: 190px;
  }

  .kv2-nav-brand img {
    width: 180px;
  }

  .kv2-nav-links {
    gap: 14px;
  }

  .kv2-nav-links a,
  .kv2-nav-links button {
    font-size: 12px;
  }

  .kv2-nav-actions .kv2-currency {
    display: none;
  }

  .kv2-hero-browser {
    right: 48px;
    width: 420px;
  }

  .kv2-hero-tablet {
    right: 62px;
  }

  .kv2-role-panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, .92fr) 170px;
    gap: 20px;
  }

  .kv2-footer-grid {
    grid-template-columns: 220px repeat(2, minmax(0, 1fr)) 230px;
  }

  .kv2-footer-grid > :nth-child(4) {
    display: none;
  }
}

/* Mobile column follows the separate reference composition. */
@media (max-width: 700px) {
  html {
    scroll-padding-top: 72px;
  }

  body {
    padding: 24px 12px 36px;
    background: #fff;
  }

  .kv2-site {
    width: 100%;
    border-radius: 26px;
  }

  .kv2-container,
  .kv2-nav-inner {
    width: calc(100% - 28px);
  }

  .kv2-navbar#navbar {
    height: 72px;
  }

  .kv2-nav-inner {
    gap: 10px;
  }

  .kv2-nav-brand {
    width: 136px;
    flex-basis: 136px;
  }

  .kv2-nav-brand img {
    width: 132px;
  }

  .kv2-nav-links,
  .kv2-nav-actions {
    display: none;
  }

  .kv2-menu-toggle {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    margin-left: auto;
    border: 1px solid var(--kuzya-line);
    border-radius: 12px;
    background: #fff;
    color: var(--kuzya-navy-deep);
    font-size: 23px;
    cursor: pointer;
  }

  .kv2-mobile-nav {
    position: absolute;
    z-index: 10;
    top: 64px;
    right: 14px;
    left: 14px;
    display: none;
    padding: 12px;
    border: 1px solid var(--kuzya-line);
    border-radius: 16px;
    background: rgba(255, 255, 255, .98);
    box-shadow: var(--kuzya-shadow-card);
  }

  .kv2-navbar#navbar.mobile-open .kv2-mobile-nav {
    display: grid;
    gap: 4px;
  }

  .kv2-mobile-nav a,
  .kv2-mobile-nav button {
    padding: 11px 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--kuzya-navy);
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    text-decoration: none;
  }

  .kv2-section-title {
    font-size: 25px;
  }

  .kv2-section {
    padding: 7px 0;
  }

  .kv2-hero {
    min-height: 610px;
    padding: 0;
    background:
      linear-gradient(rgba(255, 249, 243, .78), rgba(255, 249, 243, .9)),
      url("../images/kuzya-concept-v2/backgrounds/hero-gradient-1920x1080.png") 55% center / cover no-repeat;
  }

  .kv2-hero-grid {
    min-height: 610px;
    grid-template-columns: 1fr;
    grid-template-rows: 190px auto;
    gap: 0;
  }

  .kv2-hero-visual {
    height: 190px;
    grid-row: 1;
  }

  .kv2-hero-browser,
  .kv2-hero-tablet,
  .kv2-hero-phone,
  .kv2-hero-decor {
    display: none;
  }

  .kv2-hero-mascot {
    position: absolute;
    inset: 10px 50% auto auto;
    width: 160px;
    height: 180px;
    content: url("../images/kuzya-brand-v2/mascot/kuzya-doctor-open-arms-768.png");
    transform: translateX(50%);
  }

  .kv2-hero-copy {
    grid-row: 2;
    padding: 4px 12px 26px;
    text-align: left;
  }

  .kv2-hero h1 {
    max-width: 300px;
    margin-inline: auto;
    font-size: 32px;
    line-height: 1.04;
    text-align: left;
  }

  .kv2-hero-description {
    max-width: 300px;
    margin: 14px auto 0 !important;
    font-size: 13px;
    line-height: 1.5;
  }

  .kv2-hero-actions {
    display: grid;
    max-width: 290px;
    gap: 9px;
    margin: 18px auto 0;
  }

  .kv2-button {
    min-height: 50px;
    font-size: 14px;
  }

  .kv2-hero-web {
    display: flex;
    justify-content: center;
    margin-top: 11px;
    font-size: 12px;
  }

  .kv2-proof-grid {
    min-height: 238px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 8px 0 12px;
  }

  .kv2-proof-card {
    min-height: 105px;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    padding: 10px 6px;
    border-radius: 16px;
    text-align: center;
  }

  .kv2-proof-card img {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .kv2-proof-card span {
    font-size: 11px;
  }

  .kv2-roles {
    min-height: 650px;
  }

  .kv2-roles .kv2-section-frame {
    min-height: 636px;
    padding: 18px 8px;
  }

  .kv2-role-tabs {
    gap: 2px;
    margin-top: 16px;
    padding: 3px;
  }

  .kv2-role-tab {
    min-height: 58px;
    flex-direction: column;
    gap: 2px;
    padding: 4px 2px;
    font-size: 8px;
  }

  .kv2-role-tab img {
    width: 25px;
    height: 25px;
  }

  .kv2-role-panel {
    min-height: 480px;
    grid-template-columns: 1fr;
    gap: 0;
    align-content: start;
    padding: 14px 1px 0;
  }

  .kv2-patient-card {
    min-height: 360px;
    padding: 16px;
  }

  .kv2-role-benefits,
  .kv2-role-link,
  .kv2-role-mascot {
    display: none;
  }

  .kv2-workflow {
    min-height: 285px;
  }

  .kv2-workflow .kv2-section-frame {
    min-height: 270px;
    padding: 18px 5px 12px;
  }

  .kv2-workflow-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 1px;
    margin-top: 18px;
  }

  .kv2-workflow-grid::before {
    top: 14px;
  }

  .kv2-workflow-number {
    width: 28px;
    height: 28px;
    margin-bottom: 10px;
    font-size: 10px;
  }

  .kv2-workflow-icon {
    width: 34px;
    height: 34px;
    margin-bottom: 4px;
  }

  .kv2-workflow-step h3 {
    font-size: 7px;
    line-height: 1.15;
  }

  .kv2-workflow-step p {
    display: none;
  }

  .kv2-mobile {
    min-height: 472px;
  }

  .kv2-mobile .kv2-section-frame {
    min-height: 458px;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px 8px 14px;
  }

  .kv2-mobile-copy {
    padding: 0;
    text-align: center;
  }

  .kv2-mobile-list {
    display: none;
  }

  .kv2-store-row {
    position: absolute;
    right: 8px;
    bottom: 11px;
    left: 8px;
    justify-content: center;
    margin: 0;
  }

  .kv2-store-button {
    min-height: 38px;
    padding: 5px 8px;
    font-size: 10px;
  }

  .kv2-store-button img {
    width: 20px;
    height: 20px;
  }

  .kv2-mobile-mascot {
    display: none;
  }

  .kv2-mobile-devices {
    gap: 6px;
    align-items: start;
    padding-bottom: 52px;
  }

  .kv2-phone {
    height: 292px;
    border-width: 4px;
    border-radius: 18px;
  }

  .kv2-phone::before {
    width: 34px;
    height: 8px;
  }

  .kv2-demo {
    min-height: 320px;
  }

  .kv2-demo .kv2-section-frame {
    min-height: 306px;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 18px 12px 14px;
  }

  .kv2-demo-copy {
    display: contents;
    text-align: center;
  }

  .kv2-demo-copy .kv2-section-copy,
  .kv2-demo-list {
    display: none;
  }

  .kv2-demo-browser {
    height: 178px;
    grid-row: 2;
    border-width: 5px;
    border-top-width: 16px;
    border-radius: 10px;
  }

  .kv2-demo-copy .kv2-button {
    grid-row: 3;
    width: 72%;
    min-height: 42px;
    justify-self: center;
  }

  .kv2-demo-mascot {
    display: none;
  }

  .kv2-onboarding {
    min-height: 410px;
  }

  .kv2-onboarding .kv2-section-frame {
    min-height: 396px;
    padding: 18px 8px 12px;
  }

  .kv2-onboarding .kv2-section-title {
    text-align: center;
  }

  .kv2-onboarding-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .kv2-onboarding-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .kv2-onboarding-step {
    display: block;
    text-align: center;
  }

  .kv2-onboarding-number {
    margin-inline: auto;
  }

  .kv2-onboarding-step h3,
  .kv2-onboarding-step p {
    display: none;
  }

  .kv2-platform-grid {
    gap: 6px;
  }

  .kv2-platform-card {
    min-height: 170px;
    padding: 13px 4px 10px;
  }

  .kv2-platform-card > img {
    width: 45px;
    height: 45px;
  }

  .kv2-platform-card h3 {
    font-size: 11px;
  }

  .kv2-platform-card p {
    display: none;
  }

  .kv2-platform-card :where(a, button) {
    min-height: 31px;
    padding-inline: 8px;
    font-size: 8px;
  }

  .kv2-onboarding-mascot {
    display: none;
  }

  .kv2-capabilities {
    min-height: 620px;
  }

  .kv2-capabilities .kv2-section-frame {
    min-height: 606px;
    padding: 18px 7px 12px;
  }

  .kv2-capability-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .kv2-capability-button {
    min-height: 50px;
    grid-template-columns: 34px minmax(0, 1fr) 16px;
    padding: 6px 9px;
  }

  .kv2-capability-button > img {
    width: 32px;
    height: 32px;
  }

  .kv2-capability-button strong {
    font-size: 11px;
  }

  .kv2-capability-button small {
    display: none;
  }

  .kv2-capability-panel {
    padding: 0 10px 9px 53px;
    font-size: 10px;
  }

  .kv2-voice {
    min-height: 370px;
  }

  .kv2-voice-card {
    min-height: 356px;
    grid-template-columns: 1fr;
    grid-template-rows: 188px 1fr;
  }

  .kv2-voice-visual {
    height: 188px;
  }

  .kv2-voice-mascot {
    left: 50%;
    bottom: -35px;
    width: 210px;
    height: 210px;
    transform: translateX(-50%);
  }

  .kv2-voice-wave {
    right: 50%;
    bottom: 7px;
    width: 220px;
    transform: translateX(50%);
  }

  .kv2-voice-copy {
    padding: 12px 16px 18px;
    text-align: center;
  }

  .kv2-voice-copy .kv2-section-title {
    font-size: 23px;
  }

  .kv2-voice-copy .kv2-section-copy,
  .kv2-voice-chips {
    display: none;
  }

  .kv2-teaser-grid {
    min-height: 180px;
    gap: 7px;
    padding: 7px 0;
  }

  .kv2-teaser {
    min-height: 166px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 8px 6px 10px;
    border-radius: 16px;
    text-align: center;
  }

  .kv2-teaser h2 {
    font-size: 14px;
  }

  .kv2-teaser p {
    display: none;
  }

  .kv2-teaser button {
    font-size: 8px;
  }

  .kv2-teaser img {
    position: static;
    width: 78px;
    height: 78px;
    order: -1;
  }

  .kv2-footer {
    min-height: 230px;
    padding: 22px 0;
  }

  .kv2-footer-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
  }

  .kv2-footer-grid > :not(.kv2-footer-brand) {
    display: none;
  }

  .kv2-footer-brand img {
    width: 180px;
  }

  .kv2-footer-socials {
    justify-content: center;
  }

  .kv2-legacy-panel {
    padding: 8px;
  }

  .kv2-legacy-dialog {
    width: calc(100vw - 16px);
    height: calc(100dvh - 16px);
    border-radius: 18px;
  }

  .kv2-legacy-toolbar {
    min-height: 56px;
    padding: 8px 10px 8px 14px;
  }

  .kv2-legacy-toolbar strong {
    font-size: 13px;
  }

  .kv2-legacy-close {
    padding-inline: 10px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .kv2-site *,
  .kv2-site *::before,
  .kv2-site *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
