:root {
  --bg: #09111e;
  --bg-soft: #0f1b30;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --panel-light: rgba(255, 255, 255, 0.92);
  --text: #ecf2ff;
  --text-soft: rgba(236, 242, 255, 0.72);
  --text-dark: #162133;
  --text-dark-soft: #5a677f;
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(18, 30, 48, 0.1);
  --accent: #61a6ff;
  --accent-strong: #2d78ec;
  --accent-soft: rgba(97, 166, 255, 0.18);
  --glow: rgba(97, 166, 255, 0.28);
  --shadow: 0 30px 80px rgba(5, 12, 24, 0.36);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
}

.theme-home {
  --accent: #62d79d;
  --accent-strong: #2fa86f;
  --accent-soft: rgba(98, 215, 157, 0.18);
  --glow: rgba(98, 215, 157, 0.24);
}

.theme-education {
  --accent: #7f9bff;
  --accent-strong: #4e68da;
  --accent-soft: rgba(127, 155, 255, 0.18);
  --glow: rgba(127, 155, 255, 0.24);
}

.theme-medical {
  --accent: #ffba6b;
  --accent-strong: #e48623;
  --accent-soft: rgba(255, 186, 107, 0.18);
  --glow: rgba(255, 186, 107, 0.26);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
}

.marketing-body {
  position: relative;
  background:
    radial-gradient(circle at top left, rgba(97, 166, 255, 0.16), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(255, 186, 107, 0.14), transparent 22%),
    linear-gradient(180deg, #07111f 0%, #0c1830 26%, #edf3fb 26.1%, #f6f8fc 100%);
  color: var(--text);
  overflow-x: hidden;
}

.page-orb {
  position: fixed;
  z-index: 0;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.page-orb-one {
  top: -160px;
  right: -120px;
  background: var(--glow);
}

.page-orb-two {
  top: 120px;
  left: -140px;
  background: rgba(255, 255, 255, 0.08);
}

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

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

.site-shell {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 56px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(9, 17, 30, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  position: sticky;
  top: 14px;
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong {
  font-size: 1rem;
}

.brand-copy span {
  color: var(--text-soft);
  font-size: 0.86rem;
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--text-soft);
  font-size: 0.94rem;
}

.topnav a:hover,
.text-link:hover {
  color: var(--text);
}

.hero-panel,
.product-hero,
.section-panel,
.cta-panel,
.sector-ribbon {
  border-radius: var(--radius-xl);
}

.hero-panel,
.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 1.04fr);
  gap: 28px;
  margin-top: 20px;
  padding: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(10, 19, 34, 0.78);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.product-hero {
  align-items: start;
}

.hero-copy,
.product-hero-copy {
  display: grid;
  align-content: start;
  gap: 18px;
}

.hero-panel,
.product-hero {
  align-items: stretch;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
  color: inherit;
  font-family: "Fraunces", serif;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

h1 {
  font-size: clamp(3rem, 6.3vw, 6.1rem);
  max-width: 10ch;
}

h2 {
  font-size: clamp(2rem, 4.1vw, 3.8rem);
  max-width: 14ch;
}

h3 {
  font-size: 1.6rem;
}

.hero-intro,
.product-hero-copy p,
.section-heading p,
.product-card-body p,
.difference-card p,
.audience-card p,
.story-copy p,
.interface-story p,
.showcase-caption span,
.mini-showcase-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.72;
}

.hero-actions,
.cta-links,
.story-points,
.signal-row,
.hero-proof-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  color: #fff;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.signal-row span,
.story-points span {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
  font-size: 0.9rem;
}

.hero-proof-grid {
  margin-top: 4px;
}

.hero-proof-grid-compact {
  margin-top: 8px;
}

.hero-proof-card {
  flex: 1 1 220px;
  min-height: 124px;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  display: grid;
  align-content: start;
  gap: 10px;
}

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

.hero-proof-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.64;
}

.hero-showcase,
.showcase-side,
.product-card-body,
.difference-card,
.audience-card,
.story-copy,
.interface-story,
.cta-copy,
.product-card,
.feature-column {
  display: flex;
  flex-direction: column;
}

.hero-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.86fr);
  gap: 16px;
}

.showcase-main-card,
.mini-showcase-card,
.product-hero-media,
.product-card,
.difference-card,
.audience-card,
.interface-card,
.interface-story,
.feature-column,
.story-layout,
.cta-panel,
.section-panel,
.sector-ribbon {
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.showcase-main-card,
.mini-showcase-card,
.product-hero-media,
.interface-card,
.story-layout {
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
}

.window-bar {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.showcase-main-card img,
.product-hero-media img,
.interface-card img {
  width: 100%;
  height: auto;
}

.product-hero-media img {
  max-height: 520px;
  object-fit: cover;
  object-position: top;
}

.showcase-main-card img {
  max-height: 520px;
  object-fit: cover;
  object-position: top;
}

.showcase-caption {
  display: grid;
  gap: 8px;
  padding: 18px 20px 22px;
}

.showcase-caption strong {
  font-size: 1rem;
}

.showcase-side {
  gap: 16px;
}

.mini-showcase-card {
  padding: 14px;
  gap: 14px;
}

.mini-showcase-card img {
  width: 100%;
  height: 126px;
  object-fit: cover;
  object-position: top;
  border-radius: 18px;
}

.mini-tag,
.card-tag,
.feature-label {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.sector-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-soft);
}

.sector-ribbon span {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.section-panel,
.cta-panel {
  margin-top: 18px;
  padding: 30px;
  background: var(--panel-light);
  color: var(--text-dark);
  border: 1px solid var(--line-dark);
  box-shadow: 0 28px 70px rgba(15, 24, 40, 0.12);
}

.section-panel-dark {
  background:
    radial-gradient(circle at top right, var(--accent-soft), transparent 26%),
    linear-gradient(180deg, #0c1730, #111f3d);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.08);
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 72ch;
}

.section-heading p,
.product-card-body p,
.difference-card p,
.audience-card p,
.story-copy p,
.interface-story p {
  color: var(--text-dark-soft);
}

.section-panel-dark .section-heading p,
.section-panel-dark .difference-card p {
  color: var(--text-soft);
}

.product-grid,
.difference-grid,
.audience-grid,
.feature-matrix {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.product-grid,
.difference-grid,
.audience-grid,
.feature-matrix {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card,
.difference-card,
.audience-card,
.feature-column,
.interface-story {
  border-radius: var(--radius-lg);
}

.product-card,
.audience-card,
.feature-column,
.interface-story {
  background: #fff;
  border: 1px solid var(--line-dark);
}

.product-card-media {
  padding: 14px 14px 0;
}

.product-card-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top;
  border-radius: 18px;
  border: 1px solid rgba(17, 31, 49, 0.08);
}

.product-card-body,
.audience-card,
.feature-column,
.interface-story {
  gap: 14px;
  padding: 22px;
}

.card-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: var(--text-dark-soft);
  line-height: 1.62;
}

.text-link {
  color: var(--accent-strong);
  font-weight: 700;
}

.difference-grid .difference-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px;
}

.difference-index {
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.product-hero-media {
  background: rgba(255, 255, 255, 0.05);
  align-self: start;
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 0;
  border: 1px solid var(--line-dark);
  background: linear-gradient(180deg, #fff, #f7f9fd);
  box-shadow: none;
}

.story-layout-reverse {
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
}

.story-copy {
  justify-content: center;
  gap: 16px;
  padding: 28px;
}

.story-layout .interface-card {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.interface-card {
  background: #fff;
  border: 1px solid var(--line-dark);
}

.interface-wall {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(320px, 0.86fr);
  gap: 18px;
  margin-top: 26px;
}

.interface-card-wide img {
  max-height: 680px;
  object-fit: cover;
  object-position: top;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background:
    radial-gradient(circle at top right, var(--accent-soft), transparent 24%),
    linear-gradient(180deg, #0b1526, #111d33);
  color: var(--text);
  border: 1px solid var(--line);
}

.cta-copy {
  gap: 12px;
}

.cta-copy h2 {
  max-width: 14ch;
}

.feature-column h3,
.difference-card h3,
.audience-card h3,
.interface-story h3 {
  line-height: 1.08;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .hero-panel,
  .product-hero,
  .story-layout,
  .interface-wall,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .hero-showcase,
  .product-grid,
  .difference-grid,
  .audience-grid,
  .feature-matrix {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    align-items: flex-start;
  }
}

@media (max-width: 780px) {
  .site-shell {
    width: min(100% - 20px, 1280px);
  }

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

  .topnav {
    gap: 12px;
  }

  .hero-panel,
  .product-hero,
  .section-panel,
  .cta-panel {
    padding: 22px;
    border-radius: 26px;
  }

  h1 {
    font-size: clamp(2.5rem, 12vw, 4.4rem);
  }

  h2 {
    font-size: clamp(1.8rem, 8vw, 3rem);
  }

  .mini-showcase-card img,
  .product-card-media img {
    height: auto;
  }
}
