:root {
  --ink: #09111f;
  --muted: #5c6a7c;
  --line: #dfe6ef;
  --paper: #ffffff;
  --soft: #f5f8fc;
  --navy: #0b1533;
  --teal: #00b89f;
  --indigo: #5146e5;
  --amber: #f4b740;
  --rose: #f35c7a;
  --shadow: 0 24px 70px rgba(9, 17, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(240, 246, 255, 0.86), rgba(255, 255, 255, 0) 520px),
    var(--soft);
  color: var(--ink);
  font-family: 'Outfit', system-ui, sans-serif;
}

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

img[width][height] {
  aspect-ratio: attr(width number) / attr(height number);
}

.hero-browser img,
.screen-card img,
.operation-card img,
.tour-main img,
.tour-thumbs img {
  aspect-ratio: 1440 / 980;
}

.section {
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

.hero-section {
  content-visibility: visible;
  contain-intrinsic-size: auto;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 64px);
  border-bottom: 1px solid rgba(223, 230, 239, 0.86);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 900;
}

.brand img {
  width: 34px;
  height: 34px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
}

.nav-links a,
.header-cta {
  border-radius: 999px;
  padding: 10px 16px;
  color: #475569;
  font-size: 14px;
  font-weight: 800;
}

.nav-links a:hover {
  background: #eef4ff;
  color: var(--indigo);
}

.header-cta {
  border: 1px solid var(--navy);
  background: var(--navy);
  color: #fff;
}

.hero-section,
.section {
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 46px;
  align-items: center;
  min-height: min(820px, calc(100vh - 76px));
  padding: 42px 0 32px;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 14px;
  border: 1px solid #cfddff;
  border-radius: 999px;
  background: #eef4ff;
  padding: 8px 13px;
  color: #3332be;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

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

h1 {
  margin-bottom: 22px;
  max-width: 710px;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 640px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
}

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

.primary-action,
.secondary-action {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 0 22px;
  font-weight: 900;
}

.primary-action {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 18px 36px rgba(11, 21, 51, 0.22);
}

.secondary-action {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 600px;
}

.metric-strip div {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 18px;
}

.metric-strip strong {
  display: block;
  font-size: 30px;
  line-height: 1;
}

.metric-strip span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.browser-frame,
.screen-card {
  overflow: hidden;
  border: 1px solid rgba(199, 210, 225, 0.9);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-browser {
  transform: rotate(1.4deg);
}

.browser-top {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  border-bottom: 1px solid var(--line);
  padding: 0 16px;
  background: #f8fafc;
}

.browser-top span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #f35c7a;
}

.browser-top span:nth-child(2) {
  background: #f4b740;
}

.browser-top span:nth-child(3) {
  background: #00b89f;
}

.browser-top em {
  margin-left: 10px;
  color: #64748b;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.hero-browser img {
  width: 100%;
  height: 610px;
  object-fit: cover;
  object-position: top left;
}

.floating-panel {
  position: absolute;
  width: min(240px, 42%);
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 18px;
  background: rgba(11, 21, 51, 0.9);
  padding: 18px;
  color: #fff;
  box-shadow: 0 18px 46px rgba(9, 17, 31, 0.22);
}

.floating-panel strong {
  display: block;
  margin-bottom: 6px;
  color: #7df2de;
}

.floating-panel span {
  color: #dbeafe;
  font-size: 13px;
  line-height: 1.45;
}

.floating-admin {
  right: -20px;
  bottom: 84px;
}

.floating-expert {
  left: 0;
  bottom: 22px;
  background: rgba(0, 184, 159, 0.92);
}

.floating-expert strong {
  color: #082f49;
}

.floating-expert span {
  color: #062c2a;
}

.section {
  padding: 72px 0;
}

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

.section-heading.wide {
  max-width: 920px;
}

.section-heading h2,
.investor-copy h2,
.value-copy h2,
.demo-section h2 {
  margin-bottom: 14px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
}

.section-heading p,
.investor-copy p,
.value-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.role-grid,
.feature-grid,
.investor-cards,
.value-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.role-grid article,
.feature-grid article,
.investor-cards article,
.value-cards article {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  padding: 26px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.05);
}

.role-index,
.feature-grid span {
  display: inline-flex;
  margin-bottom: 22px;
  border-radius: 999px;
  background: #e9fff9;
  padding: 8px 11px;
  color: #008f80;
  font-size: 12px;
  font-weight: 900;
}

.role-grid h3,
.feature-grid h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.role-grid p,
.feature-grid p {
  color: var(--muted);
  line-height: 1.62;
}

.panel-showcase {
  width: min(1280px, calc(100% - 40px));
}

.showcase-tabs {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 7px;
}

.showcase-tabs button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  padding: 12px 22px;
  color: #64748b;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.showcase-tabs button.active {
  background: var(--navy);
  color: #fff;
}

.showcase-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.35fr) minmax(0, 0.65fr);
  gap: 24px;
  align-items: stretch;
}

.showcase-copy {
  display: none;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  padding: 30px;
}

.showcase-copy.active {
  display: block;
}

.showcase-copy h3 {
  margin-bottom: 12px;
  font-size: 32px;
  line-height: 1.08;
}

.showcase-copy p,
.showcase-copy li {
  color: var(--muted);
  line-height: 1.65;
}

.showcase-copy ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.showcase-copy li {
  position: relative;
  padding-left: 24px;
  font-weight: 700;
}

.showcase-copy li::before {
  position: absolute;
  left: 0;
  top: 10px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--teal);
  content: '';
}

.screen-stack {
  position: relative;
  display: none;
  min-height: 620px;
}

.screen-stack.active {
  display: block;
}

.screen-card {
  margin: 0;
}

.screen-card.large {
  height: 580px;
}

.screen-card.large img,
.screen-card.small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

.screen-card.small {
  position: absolute;
  right: 24px;
  bottom: 8px;
  width: 48%;
  height: 280px;
  border-radius: 20px;
  box-shadow: 0 26px 60px rgba(9, 17, 31, 0.22);
}

.feature-section {
  width: min(1200px, calc(100% - 40px));
}

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

.feature-grid article:nth-child(2),
.feature-grid article:nth-child(5) {
  background: #fffaf0;
}

.feature-grid article:nth-child(3),
.feature-grid article:nth-child(6) {
  background: #f0fdf9;
}

.investor-section,
.value-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.7fr);
  gap: 28px;
  align-items: start;
}

.investor-copy,
.value-copy {
  border-radius: 28px;
  background: var(--navy);
  padding: clamp(28px, 5vw, 54px);
  color: #fff;
}

.investor-copy .eyebrow,
.value-copy .eyebrow {
  border-color: rgba(125, 242, 222, 0.34);
  background: rgba(125, 242, 222, 0.12);
  color: #7df2de;
}

.investor-copy p,
.value-copy p {
  color: #cbd5e1;
}

.investor-cards,
.value-cards {
  grid-template-columns: 1fr;
}

.investor-cards strong,
.value-cards strong {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
}

.investor-cards span,
.value-cards span {
  color: var(--muted);
  line-height: 1.55;
}

.operations-section {
  width: min(1280px, calc(100% - 40px));
}

.operations-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 22px;
}

.operation-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 18px 54px rgba(15, 23, 42, 0.08);
}

.operation-card.featured {
  grid-row: span 2;
}

.operation-card figure {
  overflow: hidden;
  margin: 0;
  border-bottom: 1px solid var(--line);
  background: #edf3fb;
}

.operation-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top left;
}

.operation-card.featured img {
  height: 520px;
}

.operation-copy {
  padding: 24px;
}

.operation-copy span {
  display: inline-flex;
  margin-bottom: 14px;
  border-radius: 999px;
  background: #e9fff9;
  padding: 8px 12px;
  color: #008f80;
  font-size: 12px;
  font-weight: 900;
}

.operation-copy h3 {
  margin-bottom: 10px;
  font-size: 26px;
  line-height: 1.1;
}

.operation-copy p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.62;
}

.journey-section {
  width: min(1280px, calc(100% - 40px));
  border-radius: 34px;
  background:
    radial-gradient(circle at 16% 0%, rgba(0, 184, 159, 0.2), transparent 28%),
    linear-gradient(135deg, #081127, #10204a);
  padding: clamp(32px, 6vw, 64px);
  color: #fff;
}

.journey-section .section-heading {
  margin-bottom: 28px;
}

.journey-section .section-heading p {
  color: #cbd5e1;
}

.journey-section .eyebrow {
  border-color: rgba(125, 242, 222, 0.34);
  background: rgba(125, 242, 222, 0.12);
  color: #7df2de;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.journey-grid article {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
  padding: 20px;
}

.journey-grid strong {
  display: inline-flex;
  margin-bottom: 34px;
  border-radius: 999px;
  background: rgba(125, 242, 222, 0.16);
  padding: 7px 10px;
  color: #7df2de;
  font-size: 12px;
}

.journey-grid h3 {
  margin-bottom: 9px;
  font-size: 21px;
}

.journey-grid p {
  margin-bottom: 0;
  color: #cbd5e1;
  line-height: 1.55;
}

.gallery-section {
  width: min(1280px, calc(100% - 40px));
}

.tour-stack {
  display: grid;
  gap: 28px;
}

.tour-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.34fr) minmax(0, 0.66fr);
  gap: 28px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(245, 248, 252, 0.9)),
    #fff;
  padding: clamp(18px, 3vw, 30px);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
}

.tour-card.reverse {
  grid-template-columns: minmax(0, 0.66fr) minmax(280px, 0.34fr);
}

.tour-card.reverse .tour-copy {
  order: 2;
}

.tour-card.reverse .tour-media {
  order: 1;
}

.tour-copy span {
  display: inline-flex;
  margin-bottom: 14px;
  border-radius: 999px;
  background: #eef4ff;
  padding: 8px 12px;
  color: #3332be;
  font-size: 12px;
  font-weight: 900;
}

.tour-copy h3 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.04;
}

.tour-copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.tour-media {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.tour-main,
.tour-thumbs figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(199, 210, 225, 0.9);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.tour-main img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: top left;
}

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

.tour-thumbs.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tour-thumbs img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  object-position: top left;
}

.audience-section {
  width: min(1280px, calc(100% - 40px));
}

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

.audience-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  padding: 28px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}

.audience-card::after {
  position: absolute;
  right: -54px;
  top: -54px;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background: rgba(0, 184, 159, 0.12);
  content: '';
}

.audience-card.expert-card::after {
  background: rgba(81, 70, 229, 0.12);
}

.audience-card.investor-card::after {
  background: rgba(244, 183, 64, 0.16);
}

.audience-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 16px;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
}

.expert-card .audience-icon {
  background: var(--indigo);
}

.investor-card .audience-icon {
  background: #0f766e;
}

.audience-card span {
  display: block;
  margin-bottom: 10px;
  color: #008f80;
  font-size: 13px;
  font-weight: 900;
}

.expert-card span {
  color: #5146e5;
}

.investor-card span {
  color: #a16207;
}

.audience-card h3 {
  margin-bottom: 12px;
  font-size: 28px;
  line-height: 1.08;
}

.audience-card p,
.audience-card li {
  color: var(--muted);
  line-height: 1.58;
}

.audience-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.audience-card li {
  position: relative;
  padding-left: 22px;
  font-weight: 800;
}

.audience-card li::before {
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--teal);
  content: '';
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
  border: 1px solid rgba(11, 21, 51, 0.1);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(11, 21, 51, 0.96), rgba(18, 35, 82, 0.96)),
    var(--navy);
  padding: 16px;
  color: #fff;
}

.proof-strip div {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  padding: 18px;
}

.proof-strip strong {
  display: block;
  margin-bottom: 7px;
  font-size: 21px;
}

.proof-strip span {
  color: #cbd5e1;
  line-height: 1.45;
}

.demo-section {
  display: grid;
  grid-template-columns: minmax(0, 0.5fr) minmax(0, 0.5fr);
  gap: 28px;
  align-items: start;
}

.demo-flow {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  counter-reset: demo;
  list-style: none;
}

.demo-flow li {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 18px 18px 18px 58px;
  color: #334155;
  font-weight: 800;
  line-height: 1.45;
}

.demo-flow li::before {
  position: absolute;
  left: 18px;
  top: 18px;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 999px;
  background: var(--indigo);
  color: #fff;
  content: counter(demo);
  counter-increment: demo;
  font-size: 12px;
  font-weight: 900;
}

.site-footer {
  display: flex;
  width: min(1200px, calc(100% - 40px));
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 40px auto 0;
  border-top: 1px solid var(--line);
  padding: 28px 0 42px;
  color: #64748b;
  font-size: 14px;
  font-weight: 700;
}

.site-footer img {
  width: 150px;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .hero-section,
  .showcase-layout,
  .investor-section,
  .value-section,
  .operations-grid,
  .demo-section {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
    padding-top: 44px;
  }

  .hero-browser {
    transform: none;
  }

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

  .screen-card.small {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    height: 240px;
    margin-top: 16px;
  }

  .screen-stack {
    min-height: auto;
  }

  .operation-card.featured {
    grid-row: auto;
  }

  .operation-card.featured img,
  .operation-card img {
    height: 360px;
  }

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

  .audience-grid,
  .proof-strip {
    grid-template-columns: 1fr;
  }

  .tour-card,
  .tour-card.reverse {
    grid-template-columns: 1fr;
  }

  .tour-card.reverse .tour-copy,
  .tour-card.reverse .tour-media {
    order: initial;
  }

  .tour-main img {
    height: 360px;
  }

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

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-inline: 16px;
  }

  .header-cta {
    display: none;
  }

  .hero-section,
  .section,
  .panel-showcase,
  .feature-section,
  .operations-section,
  .journey-section,
  .gallery-section,
  .audience-section,
  .site-footer {
    width: min(100% - 28px, 1200px);
  }

  h1 {
    font-size: 48px;
  }

  .hero-lead,
  .section-heading p,
  .investor-copy p,
  .value-copy p {
    font-size: 16px;
  }

  .metric-strip {
    grid-template-columns: 1fr;
  }

  .floating-panel {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .hero-browser img,
  .screen-card.large {
    height: 420px;
  }

  .showcase-tabs {
    width: 100%;
  }

  .showcase-tabs button {
    flex: 1;
    padding-inline: 12px;
  }

  .role-grid article,
  .feature-grid article,
  .investor-cards article,
  .value-cards article,
  .showcase-copy {
    padding: 22px;
  }

  .operation-card.featured img,
  .operation-card img {
    height: 260px;
  }

  .operation-copy {
    padding: 22px;
  }

  .journey-section {
    border-radius: 24px;
    padding: 28px 20px;
  }

  .journey-grid {
    grid-template-columns: 1fr;
  }

  .audience-card {
    padding: 22px;
  }

  .audience-card h3 {
    font-size: 24px;
  }

  .proof-strip {
    border-radius: 22px;
    padding: 12px;
  }

  .tour-card {
    border-radius: 24px;
    padding: 16px;
  }

  .tour-main img {
    height: 260px;
  }

  .tour-thumbs,
  .tour-thumbs.compact {
    grid-template-columns: 1fr;
  }

  .tour-thumbs img {
    height: 190px;
  }
}
