:root {
  --blue-700: #0377bf;
  --blue-600: #0b94dc;
  --blue-100: #dff3ff;
  --ink: #17202a;
  --muted: #61707f;
  --line: #d9e4ec;
  --paper: #ffffff;
  --mist: #f5f8fb;
  --green: #22a45a;
  --red: #d94b54;
  --yellow: #f4bf2a;
  --shadow: 0 22px 70px rgba(16, 43, 70, 0.18);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--mist);
  overflow-x: hidden;
}

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

button {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(18px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 228, 236, 0.8);
  box-shadow: 0 10px 34px rgba(16, 43, 70, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 218px;
}

.brand-logo {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(11, 148, 220, 0.26);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.25;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  padding: 10px 16px;
  color: #314152;
  font-size: 0.95rem;
  background: rgba(245, 248, 251, 0.82);
  border: 1px solid rgba(217, 228, 236, 0.84);
  border-radius: 999px;
}

.nav-links a {
  transition:
    color 160ms ease,
    transform 160ms ease;
}

.nav-links a:hover {
  color: var(--blue-700);
  transform: translateY(-1px);
}

.top-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  color: #314152;
  background: rgba(245, 248, 251, 0.86);
  border: 1px solid rgba(217, 228, 236, 0.88);
  border-radius: 999px;
}

.top-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 16px;
  color: #314152;
  font-size: 0.92rem;
  font-weight: 750;
  border-radius: 999px;
  transition:
    color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.top-tab:hover {
  color: var(--blue-700);
  background: #fff;
}

.top-tab.is-active {
  color: #fff;
  background: var(--blue-600);
  box-shadow: 0 10px 22px rgba(11, 148, 220, 0.2);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  font-weight: 750;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.header-cta,
.button.primary {
  color: #fff;
  background: var(--blue-600);
  box-shadow: 0 14px 30px rgba(11, 148, 220, 0.26);
}

.button.secondary {
  color: var(--blue-700);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
}

.section-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero {
  position: relative;
  min-height: 94vh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 116px clamp(20px, 6vw, 92px) 72px;
  background:
    linear-gradient(90deg, rgba(246, 251, 255, 0.98) 0%, rgba(246, 251, 255, 0.9) 46%, rgba(246, 251, 255, 0.36) 100%),
    radial-gradient(circle at 90% 44%, rgba(34, 164, 90, 0.16), transparent 31%),
    #f6fbff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 96px;
  background: linear-gradient(180deg, transparent, var(--mist));
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  min-width: 0;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  max-width: 820px;
  font-size: clamp(2.55rem, 7vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.hero-lead {
  max-width: min(610px, 100%);
  color: #394958;
  font-size: clamp(1.08rem, 2vw, 1.34rem);
  line-height: 1.55;
}

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

.hero-media {
  position: absolute;
  inset: 86px clamp(10px, 5vw, 72px) 38px auto;
  z-index: 1;
  width: min(46vw, 640px);
  min-width: 420px;
  pointer-events: none;
}

.hero-phone {
  position: absolute;
  width: 260px;
  border: 10px solid #101820;
  border-radius: 34px;
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-phone-main {
  right: 118px;
  top: 28px;
  z-index: 3;
  transform: rotate(1.5deg);
}

.hero-phone-back {
  right: 0;
  top: 104px;
  z-index: 2;
  transform: rotate(8deg);
}

.hero-phone-soft {
  right: 298px;
  top: 136px;
  z-index: 1;
  transform: rotate(-7deg);
}

.hero-proof {
  position: absolute;
  z-index: 4;
  right: clamp(20px, 5vw, 86px);
  bottom: 36px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0 14px;
  align-items: center;
  max-width: 390px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(217, 228, 236, 0.9);
  border-radius: 18px;
  box-shadow: 0 18px 54px rgba(16, 43, 70, 0.15);
}

.hero-proof strong {
  grid-row: span 2;
  color: var(--green);
  font-size: 3rem;
  line-height: 1;
}

.hero-proof span {
  min-width: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.blank-tab-panel {
  min-height: calc(100vh - 72px);
  padding: 116px clamp(20px, 6vw, 92px) 72px;
  background: var(--mist);
}

.investor-section {
  background: #fff;
}

.investor-info-card > span {
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.investor-block {
  background: #fff;
}

.investor-section .investor-block:first-child {
  padding-top: clamp(112px, 13vw, 150px);
}

.investor-band {
  background: #edf6fb;
}

.investor-closing {
  background: #f6fbff;
}

.investor-card-grid,
.investor-closing-grid {
  display: grid;
  gap: 16px;
}

.investor-card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.investor-card-grid.two,
.investor-closing-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.investor-info-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 236px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 46px rgba(16, 43, 70, 0.08);
}

.investor-info-card h3 {
  margin: 0;
  color: #102334;
  font-size: clamp(1.24rem, 2vw, 1.55rem);
  line-height: 1.14;
}

.investor-info-card p {
  margin: 0;
  color: #465766;
  line-height: 1.58;
}

.investor-info-card.emphasis {
  color: #fff;
  background: #102b46;
  border-color: #102b46;
}

.investor-info-card.emphasis > span {
  color: #8bd8ff;
}

.investor-info-card.emphasis h3,
.investor-info-card.emphasis p {
  color: #fff;
}

.investor-ask {
  background: #e6f6ff;
  border-color: #b9e4fb;
}

.about-section {
  max-width: 100vw;
  scroll-margin-top: 96px;
  overflow-x: hidden;
  background: #fff;
}

.about-endorsement {
  position: relative;
  display: grid;
  height: clamp(72px, 6vw, 88px);
  place-items: center;
  padding: 0;
  background: #ffffff;
  border-top: 1px solid #d9e4ec;
  border-bottom: 1px solid #d9e4ec;
}

.about-endorsement-logo {
  width: clamp(150px, 16vw, 220px);
  height: auto;
}

.about-intro {
  max-width: 100vw;
  padding: clamp(112px, 13vw, 174px) clamp(20px, 6vw, 92px) clamp(34px, 5vw, 56px);
  background: #f6fbff;
}

.about-intro h1 {
  max-width: 1050px;
  margin-bottom: 24px;
  font-size: clamp(2.6rem, 5.4vw, 6rem);
  line-height: 0.98;
  overflow-wrap: break-word;
}

.about-intro p:last-child {
  max-width: 820px;
  margin: 0;
  color: #394958;
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  line-height: 1.62;
}

.about-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 100vw;
  padding: 0 clamp(20px, 6vw, 92px) clamp(38px, 5vw, 64px);
  background: #d7e5ee;
}

.about-principles article {
  min-height: 390px;
  padding: clamp(24px, 3vw, 38px);
  background: #fff;
}

.about-principles article:nth-child(2) {
  background: #f6fbff;
}

.about-principles article:nth-child(3) {
  background: #f8fbf8;
}

.about-principles span,
.about-story-body span,
.about-team-note span {
  display: block;
  margin-bottom: 12px;
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-principles h2 {
  max-width: 360px;
  margin-bottom: 16px;
  font-size: clamp(1.55rem, 2.2vw, 2.35rem);
  line-height: 1.06;
}

.about-principles p {
  max-width: 430px;
  margin: 0;
  color: #415263;
  line-height: 1.62;
}

.about-photo-feature {
  max-width: 100vw;
  margin: 0;
  padding: clamp(32px, 5vw, 56px) clamp(20px, 6vw, 92px);
  background: #fff;
}

.about-photo-feature img {
  display: block;
  width: 100%;
  max-width: 980px;
  max-height: 430px;
  margin: 0 auto;
  object-fit: cover;
  object-position: center 38%;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(16, 43, 70, 0.14);
}

.about-photo-feature figcaption {
  max-width: 980px;
  margin: 16px auto 0;
  color: #526273;
  font-size: 0.96rem;
  line-height: 1.45;
}

.about-story {
  display: grid;
  grid-template-columns: minmax(260px, 0.34fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 84px);
  max-width: 100vw;
  padding: clamp(68px, 9vw, 116px) clamp(20px, 6vw, 92px);
  background: #f7fafc;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-story-index {
  position: sticky;
  top: 100px;
  align-self: start;
}

.about-story-index h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.4vw, 4rem);
  line-height: 1;
}

.about-story-index p:last-child {
  margin: 0;
  color: #415263;
  font-size: 1.05rem;
  line-height: 1.6;
}

.about-story-body {
  display: grid;
  gap: 0;
}

.about-story-body article {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: clamp(18px, 3vw, 40px);
  padding: clamp(28px, 4vw, 48px) 0;
  border-top: 1px solid #d4e2ec;
}

.about-story-body span {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.about-story-body h3,
.about-story-body p {
  grid-column: 2;
}

.about-story-body article:last-child {
  border-bottom: 1px solid #d4e2ec;
}

.about-story-body h3 {
  max-width: 720px;
  margin-bottom: 14px;
  font-size: clamp(1.45rem, 2.2vw, 2.45rem);
  line-height: 1.08;
}

.about-story-body p {
  max-width: 830px;
  margin: 0;
  color: #384957;
  font-size: 1.05rem;
  line-height: 1.72;
}

.about-build {
  max-width: 100vw;
  padding: clamp(52px, 7vw, 82px) clamp(20px, 6vw, 92px);
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.about-grid article {
  min-height: 260px;
  padding: 24px;
  background: #f8fbfd;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.about-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  color: var(--blue-700);
  font-weight: 850;
  background: var(--blue-100);
  border-radius: 8px;
}

.about-grid h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
}

.about-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.about-team-note {
  display: grid;
  grid-template-columns: minmax(160px, 0.26fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 18px;
  padding: 24px;
  background: #eaf6ff;
  border: 1px solid #c7e8fa;
  border-radius: 8px;
}

.about-team-note p {
  margin: 0;
  color: #314152;
  font-size: 1.05rem;
  line-height: 1.6;
}

.section {
  padding: clamp(64px, 9vw, 116px) clamp(20px, 6vw, 92px);
  scroll-margin-top: 96px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.compact {
  max-width: 650px;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-heading p,
.demo-copy p,
.pitch-card p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.research-band {
  background: var(--paper);
}

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

.stat-card,
.flow-grid article,
.pitch-card,
.diagnostic-panel,
.screen-row figure {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 16px 46px rgba(16, 43, 70, 0.08);
}

.stat-card {
  min-height: 174px;
  padding: 26px;
}

.stat-card strong {
  display: block;
  margin-bottom: 16px;
  color: var(--blue-700);
  font-size: clamp(2.4rem, 6vw, 4.3rem);
  line-height: 0.95;
}

.stat-card span {
  color: #3e4c59;
  font-size: 1.03rem;
  line-height: 1.45;
}

.product-section {
  background: #edf6fb;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.flow-grid article {
  padding: 24px;
}

.step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
  color: var(--blue-700);
  font-weight: 850;
  background: var(--blue-100);
  border-radius: 14px;
}

.flow-grid h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
}

.flow-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.demo-section {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(28px, 6vw, 74px);
  align-items: center;
  background: var(--paper);
}

.screen-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: end;
}

.screen-row figure {
  overflow: hidden;
  margin: 0;
}

.screen-row img {
  width: 100%;
  aspect-ratio: 9 / 15;
  object-fit: cover;
  object-position: top;
}

.screen-row figcaption {
  padding: 14px 16px 16px;
  color: #3e4c59;
  font-weight: 750;
  border-top: 1px solid var(--line);
}

.demo-tab {
  background:
    linear-gradient(180deg, #f3f9fd 0%, #fff 42%),
    #fff;
}

.demo-product {
  min-height: calc(100vh - 72px);
  padding: 112px clamp(18px, 4vw, 54px) 72px;
}

.demo-product-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 360px);
  gap: 24px;
  align-items: end;
  max-width: 1480px;
  margin: 0 auto 22px;
}

.demo-product-copy {
  max-width: 870px;
}

.demo-product-copy h1 {
  max-width: 800px;
  margin: 0 0 18px;
  color: #091827;
  font-size: clamp(2.25rem, 4.3vw, 4.15rem);
  line-height: 1.04;
}

.demo-product-copy p:last-child {
  max-width: 760px;
  margin: 0;
  color: #3a4a59;
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  line-height: 1.62;
}

.demo-health-card {
  display: grid;
  gap: 8px;
  padding: 20px;
  color: #fff;
  background: #11663b;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(17, 102, 59, 0.18);
}

.demo-health-card.warning {
  background: #9b6a00;
  box-shadow: 0 18px 46px rgba(155, 106, 0, 0.18);
}

.demo-health-card.danger {
  background: #8d2630;
  box-shadow: 0 18px 46px rgba(141, 38, 48, 0.18);
}

.demo-health-card span {
  font-size: 0.78rem;
  opacity: 0.84;
}

.demo-health-card strong {
  font-size: 1.38rem;
  line-height: 1.1;
}

.demo-health-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  opacity: 0.92;
}

.demo-product-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 1480px;
  margin: 0 auto 16px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(16, 43, 70, 0.06);
}

.demo-module-button {
  min-height: 42px;
  padding: 0 16px;
  color: #344452;
  font-weight: 850;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
}

.demo-module-button.is-active,
.demo-app-nav button.is-active {
  color: #fff;
  background: var(--blue-600);
  border-color: var(--blue-600);
}

.demo-system-grid {
  display: grid;
  grid-template-columns: minmax(270px, 330px) minmax(320px, 390px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  max-width: 1480px;
  margin: 0 auto;
}

.demo-system-grid > *,
.demo-split > *,
.demo-kpi-grid > * {
  min-width: 0;
}

.demo-control-panel,
.demo-app-panel,
.demo-insight-panel,
.demo-board,
.demo-kpi-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(16, 43, 70, 0.07);
}

.demo-control-panel,
.demo-insight-panel {
  padding: 18px;
}

.demo-panel-title {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.demo-panel-title > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--blue-700);
  font-weight: 900;
  background: var(--blue-100);
  border-radius: 8px;
}

.demo-panel-title strong,
.demo-board-heading strong,
.demo-card-heading strong {
  color: #102334;
  font-size: 1rem;
}

.demo-panel-title p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.demo-control-form {
  display: grid;
  gap: 14px;
  padding-top: 16px;
}

.demo-control-form label {
  display: grid;
  gap: 8px;
  color: #344452;
  font-weight: 820;
  font-size: 0.92rem;
}

.demo-control-form select,
.demo-control-form input:not([type="range"]) {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  color: var(--ink);
  font: inherit;
  font-weight: 760;
  background: #fbfdff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.demo-control-form input[type="range"] {
  width: 100%;
  accent-color: var(--blue-600);
}

.demo-control-form output {
  color: var(--blue-700);
  font-weight: 900;
}

.demo-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.demo-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.demo-feedback {
  min-height: 44px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.demo-app-panel {
  padding: 10px;
  background:
    linear-gradient(180deg, #ffffff 0%, #eff7fc 100%);
}

.demo-app-device {
  overflow: hidden;
  min-height: 690px;
  background: #f6f8fb;
  border: 8px solid #17202a;
  border-radius: 30px;
}

.demo-app-topbar {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 74px;
  padding: 12px 14px;
  color: #fff;
  background: var(--blue-600);
}

.demo-app-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--blue-700);
  font-weight: 950;
  background: #fff;
  border-radius: 10px;
}

.demo-app-topbar strong,
.demo-app-topbar small {
  display: block;
}

.demo-app-topbar strong {
  font-size: 1.15rem;
  line-height: 1.1;
}

.demo-app-topbar small {
  opacity: 0.8;
}

.demo-app-topbar > span:last-child {
  padding: 7px 9px;
  font-size: 0.72rem;
  font-weight: 850;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.demo-app-screen {
  min-height: 542px;
  padding: 14px;
}

.demo-screen {
  display: none;
}

.demo-screen.is-active {
  display: grid;
  gap: 12px;
}

.demo-screen-heading,
.demo-composition-card,
.demo-visit-item,
.demo-supply-item,
.demo-report-item {
  background: #fff;
  border: 1px solid #e1e9ef;
  border-radius: 8px;
}

.demo-screen-heading {
  display: grid;
  gap: 4px;
  padding: 14px;
}

.demo-screen-heading span {
  color: var(--blue-700);
  font-size: 0.76rem;
  font-weight: 900;
}

.demo-screen-heading strong {
  color: #102334;
  font-size: 1.18rem;
  line-height: 1.15;
}

.demo-screen-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

.demo-mini-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.demo-mini-kpis article {
  display: grid;
  gap: 6px;
  min-height: 88px;
  padding: 12px;
  background: #fff;
  border: 1px solid #e1e9ef;
  border-radius: 8px;
}

.demo-mini-kpis span,
.demo-kpi-card span,
.demo-board-heading span,
.demo-card-heading span {
  color: var(--muted);
  font-size: 0.78rem;
}

.demo-mini-kpis strong {
  color: #102334;
  font-size: 1.22rem;
}

.demo-composition-card {
  padding: 12px;
}

.demo-card-heading,
.demo-board-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.demo-card-heading span {
  color: var(--blue-700);
  font-weight: 900;
}

.demo-composition-list,
.demo-supply-list,
.demo-visit-list,
.demo-report-bars {
  display: grid;
  gap: 8px;
}

.demo-composition-row {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  background: #f8fbfd;
  border: 1px solid #e5edf3;
  border-radius: 8px;
}

.demo-composition-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.demo-composition-row strong,
.demo-visit-item strong,
.demo-supply-item strong,
.demo-report-item strong {
  color: #17202a;
  font-size: 0.9rem;
}

.demo-composition-row small,
.demo-visit-item span,
.demo-supply-item span,
.demo-report-item span {
  color: var(--muted);
  font-size: 0.76rem;
}

.demo-composition-row > span:last-child {
  color: #102334;
  font-weight: 900;
}

.demo-visit-item,
.demo-supply-item,
.demo-report-item {
  display: grid;
  gap: 6px;
  padding: 12px;
}

.demo-visit-item {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.demo-supply-item {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.demo-supply-item mark {
  padding: 5px 8px;
  color: #8d2630;
  font-weight: 900;
  background: #fff0f1;
  border-radius: 999px;
}

.demo-report-progress {
  overflow: hidden;
  height: 8px;
  background: #e8f1f7;
  border-radius: 999px;
}

.demo-report-progress span {
  display: block;
  height: 100%;
  background: var(--blue-600);
  border-radius: inherit;
}

.demo-app-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  padding: 8px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.demo-app-nav button {
  min-height: 42px;
  color: #506172;
  font-size: 0.72rem;
  font-weight: 850;
  background: #f4f8fb;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
}

.demo-insight-panel {
  display: grid;
  gap: 14px;
}

.demo-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  min-width: 0;
}

.demo-kpi-card {
  display: grid;
  align-content: start;
  gap: 8px;
  width: 100%;
  min-width: 0;
  min-height: 126px;
  padding: 16px;
  box-shadow: none;
}

.demo-kpi-card strong {
  color: #102334;
  font-size: clamp(1.28rem, 1.7vw, 1.72rem);
  line-height: 1.05;
}

.demo-kpi-card p {
  margin: 0;
  color: #3e4c59;
  font-size: 0.86rem;
  line-height: 1.4;
}

.demo-kpi-card.primary {
  color: #fff;
  background: #11663b;
  border-color: #11663b;
}

.demo-kpi-card.primary.warning {
  background: #9b6a00;
  border-color: #9b6a00;
}

.demo-kpi-card.primary.danger {
  background: #8d2630;
  border-color: #8d2630;
}

.demo-kpi-card.primary span,
.demo-kpi-card.primary strong,
.demo-kpi-card.primary p {
  color: #fff;
}

.demo-split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 14px;
  width: 100%;
  min-width: 0;
}

.demo-board {
  padding: 16px;
  width: 100%;
  min-width: 0;
  box-shadow: none;
}

.demo-table-wrap {
  overflow-x: auto;
}

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

.demo-table th,
.demo-table td {
  padding: 11px 10px;
  text-align: left;
  border-bottom: 1px solid #e6eef4;
}

.demo-table th {
  color: #536474;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.demo-table td {
  color: #243342;
}

.demo-table tr:last-child td {
  border-bottom: 0;
}

.demo-table .positive {
  color: #11663b;
  font-weight: 900;
}

.demo-table .attention {
  color: #9b6a00;
  font-weight: 900;
}

.demo-table .danger {
  color: #8d2630;
  font-weight: 900;
}

.pitch-section {
  background:
    linear-gradient(135deg, rgba(3, 119, 191, 0.94), rgba(9, 93, 152, 0.94)),
    url("assets/app-relatorios.png") center / cover;
}

.pitch-card {
  max-width: 920px;
  padding: clamp(28px, 5vw, 58px);
  background: rgba(255, 255, 255, 0.94);
}

.pitch-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.pitch-tags span {
  padding: 10px 14px;
  color: #0f4e76;
  font-size: 0.92rem;
  font-weight: 750;
  background: #e5f5ff;
  border-radius: 999px;
}

.business-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin-top: 18px;
  padding: 18px;
  background: #f6fbff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.business-note span {
  width: fit-content;
  padding: 8px 12px;
  color: var(--blue-700);
  font-size: 0.8rem;
  font-weight: 900;
  background: var(--blue-100);
  border-radius: 999px;
}

.business-note p {
  margin: 0;
  color: #344452;
  line-height: 1.55;
}

.calculator-section {
  background: var(--mist);
}

.diagnostic-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 18px;
  padding: 18px;
}

.diagnostic-form,
.diagnostic-results {
  display: grid;
  align-content: start;
  gap: 14px;
}

.diagnostic-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.diagnostic-form label,
.scenario-control label {
  display: grid;
  gap: 10px;
  color: #344452;
  font-weight: 750;
}

.diagnostic-form input,
.scenario-control input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  color: var(--ink);
  font: inherit;
  font-size: 1.06rem;
  background: #fbfdff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.diagnostic-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.diagnostic-status {
  display: grid;
  gap: 8px;
  padding: 22px;
  color: #fff;
  background: #102b46;
  border-radius: 16px;
}

.diagnostic-status.good {
  background: #11663b;
}

.diagnostic-status.warning {
  background: #9b6a00;
}

.diagnostic-status.danger {
  background: #8d2630;
}

.diagnostic-status span,
.scenario-card span,
.result-grid span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.diagnostic-status strong {
  font-size: clamp(2.2rem, 5vw, 3.7rem);
  line-height: 1;
}

.diagnostic-status p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

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

.result-grid output,
.scenario-card {
  display: grid;
  gap: 8px;
  min-height: 104px;
  padding: 16px;
  background: #f8fbfd;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.result-grid span,
.scenario-card span {
  color: var(--muted);
}

.result-grid strong {
  color: #17202a;
  font-size: 1.35rem;
  line-height: 1.15;
}

.scenario-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.42fr);
  gap: 16px;
  align-items: end;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.scenario-control span {
  display: block;
  margin-bottom: 6px;
  color: var(--blue-700);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.scenario-control strong {
  display: block;
  color: var(--ink);
  font-size: 1.22rem;
  line-height: 1.2;
}

.scenario-control p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.scenario-card {
  min-height: 132px;
  background: #eaf6ff;
  border-color: #c7e8fa;
}

.scenario-card strong {
  color: var(--blue-700);
  font-size: 1.6rem;
}

.scenario-card p {
  margin: 0;
  color: #3e4c59;
  line-height: 1.45;
}

.diagnostic-cta {
  width: fit-content;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) minmax(220px, auto) minmax(260px, 1fr);
  gap: 28px;
  align-items: center;
  padding: 34px clamp(20px, 6vw, 92px);
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.footer-logo {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(11, 148, 220, 0.2);
}

.footer-brand strong,
.footer-brand small,
.footer-meta span {
  display: block;
}

.footer-brand strong {
  color: var(--ink);
  font-weight: 800;
}

.footer-brand small {
  color: var(--muted);
  line-height: 1.4;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  color: #314152;
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--blue-700);
}

.footer-meta {
  display: grid;
  gap: 6px;
  justify-items: end;
  text-align: right;
  line-height: 1.4;
}

.footer-meta span:first-child {
  color: var(--ink);
  font-weight: 800;
}

.sales-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
  min-height: 72vh;
  padding: 128px clamp(20px, 6vw, 92px) 72px;
  background:
    linear-gradient(90deg, rgba(246, 251, 255, 0.98), rgba(246, 251, 255, 0.78)),
    radial-gradient(circle at 82% 36%, rgba(11, 148, 220, 0.18), transparent 34%);
}

.sales-summary {
  padding: clamp(24px, 4vw, 38px);
  color: #fff;
  background: #102b46;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.sales-summary span {
  display: block;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 750;
}

.sales-summary strong {
  display: block;
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
}

.sales-summary p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.55;
}

.pricing-section {
  background: var(--paper);
}

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

.price-card {
  display: grid;
  grid-template-rows: auto auto auto auto 1fr auto;
  gap: 16px;
  align-content: start;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 16px 46px rgba(16, 43, 70, 0.08);
}

.price-card.featured {
  border-color: rgba(11, 148, 220, 0.55);
  box-shadow: 0 22px 72px rgba(11, 148, 220, 0.18);
}

.plan-label {
  width: fit-content;
  padding: 8px 12px;
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 850;
  background: var(--blue-100);
  border-radius: 999px;
}

.price-card h3 {
  margin: 0;
  font-size: 1.5rem;
}

.price-card strong {
  color: var(--ink);
  font-size: clamp(1.75rem, 2.1vw, 2.2rem);
  line-height: 1;
}

.price-card p {
  color: var(--muted);
  line-height: 1.55;
}

.plan-focus {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-weight: 850;
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: #3e4c59;
  line-height: 1.45;
}

.price-card .plan-included {
  color: var(--blue-700);
  font-weight: 850;
}

.price-card .button {
  width: 100%;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 43, 70, 0.56);
  backdrop-filter: blur(8px);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: clamp(24px, 5vw, 38px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 26px 90px rgba(16, 43, 70, 0.32);
}

.modal-dialog h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.modal-dialog p {
  color: var(--muted);
  line-height: 1.6;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #3e4c59;
  font-size: 1.5rem;
  background: #f2f6f9;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.lead-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: #344452;
  font-weight: 750;
}

.lead-form input {
  min-height: 54px;
  padding: 0 16px;
  color: var(--ink);
  font: inherit;
  background: #fbfdff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.modal-dialog small {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.45;
}

@media (max-width: 1060px) {
  .site-header {
    flex-wrap: wrap;
  }

  .top-tabs {
    order: 3;
    width: 100%;
    justify-content: center;
    overflow-x: auto;
  }

  .hero {
    min-height: 900px;
    align-items: start;
  }

  .hero-media {
    inset: auto 0 72px auto;
    width: 100%;
    min-width: 0;
    height: 420px;
  }

  .hero-phone {
    width: 210px;
  }

  .hero-phone-main {
    right: 33%;
    top: 8px;
  }

  .hero-phone-back {
    right: 8%;
    top: 74px;
  }

  .hero-phone-soft {
    right: auto;
    left: 6%;
    top: 104px;
  }

  .hero-proof {
    right: auto;
    left: 20px;
    bottom: 22px;
  }

  .flow-grid,
  .stat-grid,
  .diagnostic-panel,
  .investor-card-grid.three,
  .pricing-grid,
  .sales-hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .diagnostic-panel,
  .sales-hero {
    grid-template-columns: 1fr;
  }

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

  .demo-product-header,
  .demo-system-grid,
  .demo-split {
    grid-template-columns: 1fr;
  }

  .demo-app-panel {
    max-width: 420px;
    width: 100%;
    justify-self: center;
  }

  .demo-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-principles,
  .about-story {
    grid-template-columns: 1fr;
  }

  .about-story-index {
    position: static;
    max-width: 760px;
  }

  .about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-team-note {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: sticky;
    padding: 12px 16px;
  }

  .top-tabs {
    justify-content: flex-start;
    padding: 5px;
  }

  .top-tab {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.84rem;
  }

  .nav-links,
  .header-cta {
    display: none;
  }

  .hero {
    min-height: 800px;
    padding: 48px 20px 270px;
  }

  .blank-tab-panel {
    min-height: calc(100vh - 116px);
    padding: 58px 20px;
  }

  .investor-section .investor-block:first-child {
    padding-top: 58px;
  }

  .investor-card-grid.three,
  .investor-card-grid.two,
  .investor-closing-grid {
    grid-template-columns: 1fr;
  }

  .business-note {
    grid-template-columns: 1fr;
  }

  .demo-product {
    min-height: auto;
    padding: 58px 16px 48px;
  }

  .demo-product-header {
    gap: 16px;
  }

  .demo-product-copy h1 {
    font-size: clamp(2.05rem, 10vw, 3.2rem);
  }

  .demo-product-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }

  .demo-module-button {
    width: 100%;
    padding: 0 10px;
  }

  .demo-control-panel,
  .demo-insight-panel {
    padding: 14px;
  }

  .demo-form-row,
  .demo-kpi-grid,
  .demo-mini-kpis {
    grid-template-columns: 1fr;
  }

  .demo-app-device {
    min-height: 642px;
    border-width: 7px;
    border-radius: 26px;
  }

  .demo-app-topbar {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .demo-app-topbar > span:last-child {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .demo-app-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .demo-table {
    min-width: 560px;
  }

  .about-intro {
    padding: 58px 20px 30px;
  }

  .about-section {
    scroll-margin-top: 150px;
  }

  .about-endorsement {
    height: 68px;
  }

  .about-endorsement-logo {
    width: 132px;
  }

  .about-intro h1 {
    font-size: clamp(2.05rem, 8.4vw, 2.75rem);
    line-height: 1.04;
  }

  .about-principles,
  .about-photo-feature,
  .about-story,
  .about-build {
    padding-right: 20px;
    padding-left: 20px;
  }

  .about-principles article {
    min-height: auto;
    padding: 24px 0;
  }

  .about-photo-feature img {
    border-radius: 8px;
  }

  .about-story-body article {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .about-story-body span,
  .about-story-body h3,
  .about-story-body p {
    grid-column: 1;
  }

  .about-intro h1,
  .about-intro p:last-child,
  .about-principles h2,
  .about-principles p,
  .about-story-index,
  .about-story-body h3,
  .about-story-body p,
  .about-grid h3,
  .about-grid p,
  .about-team-note p {
    max-width: 350px;
  }

  h1 {
    font-size: clamp(2.35rem, 11vw, 3.2rem);
  }

  .hero-lead,
  .hero-actions {
    max-width: calc(100vw - 40px);
  }

  .hero-copy {
    max-width: 350px;
  }

  .hero-lead {
    font-size: 1.03rem;
  }

  .hero-media {
    height: 300px;
    bottom: -46px;
  }

  .hero-phone {
    width: 150px;
    border-width: 8px;
    border-radius: 28px;
  }

  .hero-phone-main {
    right: 18%;
  }

  .hero-phone-back {
    right: -14%;
    top: 78px;
  }

  .hero-phone-soft {
    left: -16%;
    top: 96px;
  }

  .hero-proof {
    width: min(350px, calc(100vw - 40px));
    max-width: 350px;
    bottom: 10px;
  }

  .hero-proof strong {
    font-size: 2.1rem;
  }

  .stat-grid,
  .flow-grid,
  .screen-row,
  .about-principles,
  .about-grid,
  .diagnostic-form,
  .scenario-control,
  .result-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .sales-hero {
    padding-top: 58px;
  }

  .screen-row {
    max-width: 360px;
    margin: 0 auto;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: start;
    text-align: left;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .footer-meta {
    justify-items: start;
    text-align: left;
  }
}
