:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-alt: #edf2f8;
  --surface-dark: #09121d;
  --surface-dark-2: #0d1826;
  --text: #101826;
  --text-soft: #4f5e70;
  --text-inverse: #f5f7fb;
  --text-inverse-soft: #b9c6d8;
  --line: rgba(16, 24, 38, 0.08);
  --line-strong: rgba(220, 229, 242, 0.14);
  --brand-primary: #46d0d9;
  --brand-primary-strong: #2db7c0;
  --brand-warm: #f3a64d;
  --brand-warm-strong: #df8a2d;
  --focus: #6bc7ff;
  --shadow-soft: 0 18px 48px rgba(8, 16, 28, 0.12);
  --shadow-dark: 0 24px 54px rgba(0, 0, 0, 0.28);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
}

.section-shell {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.section-shell.compact {
  padding: clamp(3.5rem, 6vw, 5rem) 0;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--brand-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-intro {
  max-width: 780px;
}

.page-intro h1,
.page-intro h2,
.page-intro h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.page-intro h1 {
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  color: var(--text-inverse);
}

.page-intro h2 {
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  color: var(--text);
}

.page-intro h3 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  color: var(--text);
}

.page-intro p,
.copy-block p,
.body-copy {
  margin: 0;
  max-width: 70ch;
  color: var(--text-soft);
  font-size: 1.02rem;
}

.page-intro p + p,
.copy-block p + p,
.body-copy + .body-copy {
  margin-top: 1rem;
}

.page-intro.dark p {
  color: var(--text-inverse-soft);
}

.title-row {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 2.2rem;
}

.title-row p {
  max-width: 68ch;
}

.title-row.centered {
  align-items: center;
  text-align: center;
}

.title-row.centered p,
.title-row.centered h2 {
  max-width: 760px;
}

.title-row h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.title-row.light h2,
.title-row.light p {
  color: var(--text-inverse);
}

.title-row.light p {
  color: var(--text-inverse-soft);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.btn-primary,
.btn-secondary,
.btn-ghost,
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0 1rem;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 700;
  transition:
    transform 0.22s ease,
    background-color 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease,
    box-shadow 0.22s ease;
}

.btn-primary,
.nav-cta {
  background: linear-gradient(135deg, var(--brand-primary) 0%, #59b7ff 100%);
  color: #07111b;
  box-shadow: 0 12px 30px rgba(70, 208, 217, 0.22);
}

.btn-primary:hover,
.nav-cta:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #58dde5 0%, #7cc6ff 100%);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--text-inverse);
  background: transparent;
}

.btn-secondary:hover {
  transform: translateY(-1px);
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.btn-ghost {
  border: 1px solid rgba(16, 24, 38, 0.12);
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
}

.btn-ghost:hover {
  transform: translateY(-1px);
  border-color: rgba(16, 24, 38, 0.22);
  box-shadow: var(--shadow-soft);
}

.focus-ring:focus-visible,
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.btn-ghost:focus-visible,
.nav-cta:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.24s ease,
    border-color 0.24s ease,
    backdrop-filter 0.24s ease;
}

.site-header.is-scrolled {
  background: rgba(7, 15, 25, 0.76);
  border-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
}

.brand-mark img {
  width: 210px;
  height: auto;
}

.nav-toggle {
  display: none;
  min-height: 42px;
  padding: 0 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: var(--text-inverse);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-link {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--brand-primary);
}

.mobile-panel {
  display: none;
  padding-bottom: 1rem;
}

.mobile-panel nav {
  display: grid;
  gap: 0.7rem;
  padding-top: 0.5rem;
}

.mobile-panel .nav-link,
.mobile-panel .nav-cta {
  width: 100%;
  justify-content: center;
}

/* Page hero */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 7.5rem 0 5.5rem;
  background:
    radial-gradient(circle at 18% 78%, rgba(49, 181, 196, 0.36), transparent 34%),
    radial-gradient(circle at 84% 14%, rgba(242, 166, 77, 0.48), transparent 32%),
    linear-gradient(145deg, #07111d 0%, #08111a 48%, #201006 100%);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 7, 12, 0.18), rgba(3, 7, 12, 0.75));
  z-index: 0;
}

.page-hero::after {
  content: "";
  position: absolute;
  top: 18%;
  right: 10%;
  width: 340px;
  height: 340px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 0 42px rgba(255, 255, 255, 0.03),
    0 0 0 92px rgba(255, 255, 255, 0.02);
  opacity: 0.55;
  z-index: 0;
}

.page-hero.home {
  min-height: 100vh;
  background: url("assets/brand/kv-base-2.jpg") center center / cover no-repeat;
}

.page-hero.home::before {
  background: transparent;
}

.page-hero.home .page-hero-content {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 9rem);
}

.page-hero.product {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(5, 12, 19, 0.86) 0%, rgba(5, 12, 19, 0.54) 44%, rgba(5, 12, 19, 0.32) 100%),
    url("assets/brand/kv-base-1.jpg") center center / cover no-repeat;
}

.page-hero.product .page-hero-content {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 9rem);
}

.page-hero.flow {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(5, 12, 19, 0.88) 0%, rgba(5, 12, 19, 0.58) 46%, rgba(5, 12, 19, 0.3) 100%),
    url("assets/brand/kv-base-2.jpg") center center / cover no-repeat;
}

.page-hero.flow .page-hero-content {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 9rem);
}

.page-hero.legal {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(5, 12, 19, 0.88) 0%, rgba(5, 12, 19, 0.58) 46%, rgba(5, 12, 19, 0.28) 100%),
    url("assets/brand/kv-base-3.jpg") center center / cover no-repeat;
}

.page-hero.legal .page-hero-content {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 9rem);
}

.page-hero.hr {
  background:
    radial-gradient(circle at 18% 78%, rgba(49, 181, 196, 0.38), transparent 30%),
    radial-gradient(circle at 86% 18%, rgba(90, 174, 255, 0.24), transparent 26%),
    linear-gradient(145deg, #07111d 0%, #08111a 50%, #102235 100%);
}

.page-hero.counsel {
  background:
    radial-gradient(circle at 18% 74%, rgba(49, 181, 196, 0.26), transparent 28%),
    radial-gradient(circle at 84% 18%, rgba(243, 166, 77, 0.26), transparent 26%),
    linear-gradient(145deg, #07111d 0%, #08111a 46%, #1f1409 100%);
}

.page-hero.security {
  background:
    radial-gradient(circle at 20% 78%, rgba(90, 174, 255, 0.26), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(49, 181, 196, 0.24), transparent 26%),
    linear-gradient(145deg, #07111d 0%, #08111a 48%, #0c1f2b 100%);
}

.page-hero.home::after {
  display: none;
}

.page-hero.about {
  background:
    linear-gradient(90deg, rgba(5, 12, 19, 0.86) 0%, rgba(5, 12, 19, 0.56) 46%, rgba(5, 12, 19, 0.34) 100%),
    url("assets/brand/kv-base-3.jpg") center center / cover no-repeat;
}

.page-hero.contact {
  background:
    linear-gradient(90deg, rgba(5, 12, 19, 0.86) 0%, rgba(5, 12, 19, 0.52) 44%, rgba(5, 12, 19, 0.28) 100%),
    url("assets/brand/kv-base-1.jpg") center center / cover no-repeat;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.hero-emblem {
  position: absolute;
  right: clamp(0.75rem, 7.2vw, 6.25rem);
  bottom: clamp(11.75rem, 24.8vh, 15.75rem);
  z-index: 1;
  pointer-events: none;
}

.hero-emblem img {
  display: block;
  height: clamp(170px, 30vh, 280px);
  width: auto;
  opacity: 0.92;
  filter: drop-shadow(0 14px 34px rgba(0, 0, 0, 0.28));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.hero-home-copy {
  max-width: 38rem;
  transform: translateY(-5.5rem);
}

.hero-home-copy h1 {
  font-size: clamp(2.15rem, 4.6vw, 4.3rem);
  line-height: 1.06;
  margin-bottom: 1.6rem;
}

.hero-home-copy h1 .hero-break {
  display: inline-block;
  margin-top: 0.22em;
}

.hero-home-copy p:not(.eyebrow) {
  max-width: 29rem;
  color: #ffffff;
  line-height: 1.82;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.hero-home-copy .btn-row {
  margin-top: 2.4rem;
}

.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-card {
  position: relative;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(9, 18, 29, 0.68);
  box-shadow: var(--shadow-dark);
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: auto -18% -28% auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(243, 166, 77, 0.24), transparent 68%);
}

.hero-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.hero-card-head span {
  color: var(--text-inverse);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 0.7rem;
  border-radius: 999px;
  background: rgba(70, 208, 217, 0.16);
  color: var(--brand-primary);
  font-size: 0.78rem;
  font-weight: 700;
}

.workflow-visual {
  display: grid;
  grid-template-columns: 1fr 110px;
  gap: 1rem;
}

.workflow-list {
  display: grid;
  gap: 0.9rem;
}

.workflow-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.82rem 0.9rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
}

.workflow-node {
  position: relative;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.workflow-item.is-active .workflow-node {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 6px rgba(70, 208, 217, 0.14);
}

.workflow-item strong,
.workflow-item span {
  display: block;
}

.workflow-item strong {
  color: var(--text-inverse);
  font-size: 0.95rem;
}

.workflow-item span {
  color: var(--text-inverse-soft);
  font-size: 0.82rem;
}

.shield-stack {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

.shield-stack img {
  width: 100%;
  max-width: 88px;
  opacity: 0.92;
  animation: orbitPulse 5.2s ease-in-out infinite;
}

.solution-visual {
  display: flex;
  justify-content: flex-end;
}

.solution-card {
  width: min(100%, 520px);
}

@keyframes orbitPulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.86;
  }

  50% {
    transform: translateY(-6px) scale(1.02);
    opacity: 1;
  }
}

/* Content layouts */
.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.82fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.feature-list,
.bullet-list {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.feature-list li,
.bullet-list li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--text-soft);
}

.feature-list li::before,
.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68rem;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-primary), #5ebeff);
}

.solution-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
  margin-top: 1.6rem;
}

.solution-point {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.95rem;
  align-items: start;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
}

.solution-point:hover {
  transform: translateY(-2px);
  border-color: rgba(70, 208, 217, 0.28);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
}

.solution-point-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.35rem;
  height: 2.35rem;
  border: 1px solid rgba(70, 208, 217, 0.28);
  border-radius: 999px;
  color: var(--brand-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: rgba(70, 208, 217, 0.08);
}

.solution-point-copy strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--text-inverse);
  font-size: 1rem;
  line-height: 1.28;
}

.solution-point-copy p {
  margin: 0;
  color: rgba(226, 235, 246, 0.9);
  font-size: 0.94rem;
  line-height: 1.62;
}

.metric-stack {
  display: grid;
  gap: 1rem;
}

.metric-panel {
  padding: 1.2rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-soft);
}

.metric-panel strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--text);
  font-size: 1rem;
}

.card-grid {
  display: grid;
  gap: 1rem;
}

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

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

.card-grid.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  position: relative;
  padding: 1.55rem 1.45rem 1.5rem;
  border: 1px solid rgba(18, 30, 46, 0.08);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 252, 255, 0.98));
  box-shadow:
    0 16px 38px rgba(8, 16, 28, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.45rem;
  width: 68px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(70, 208, 217, 0.7), rgba(94, 190, 255, 0.16));
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(45, 183, 192, 0.18);
  box-shadow:
    0 22px 48px rgba(9, 18, 29, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.card.dark {
  border-color: rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(13, 24, 38, 0.88), rgba(8, 17, 29, 0.9));
  box-shadow: var(--shadow-dark);
}

.card.dark h3,
.card.dark p,
.card.dark li,
.card.dark dt,
.card.dark dd {
  color: var(--text-inverse);
}

.card.dark p,
.card.dark li,
.card.dark dd {
  color: var(--text-inverse-soft);
}

.card h3,
.card h4 {
  margin: 0 0 0.8rem;
  color: var(--text);
  font-size: 1.18rem;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.card p {
  margin: 0;
  color: #5d6c7f;
  font-size: 0.98rem;
  line-height: 1.58;
}

.card p + p {
  margin-top: 0.8rem;
}

.card-label {
  display: inline-flex;
  margin-bottom: 0.9rem;
  color: var(--brand-primary-strong);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.data-note {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
  color: var(--text-soft);
  font-size: 0.84rem;
}

/* Product visuals */
.mockup-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
  gap: 1.2rem;
  align-items: start;
}

.product-window {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(248, 250, 253, 0.96), rgba(239, 243, 248, 0.98));
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.dashboard-window {
  min-height: 660px;
}

.form-window {
  margin-top: 2rem;
}

.product-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  background: rgba(241, 245, 249, 0.92);
  border-bottom: 1px solid rgba(16, 24, 38, 0.08);
}

.window-controls {
  display: inline-flex;
  gap: 0.4rem;
}

.window-controls span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(16, 24, 38, 0.18), rgba(16, 24, 38, 0.1));
}

.product-window-bar strong {
  color: #24303d;
  font-size: 0.86rem;
  font-weight: 600;
}

.product-shell {
  min-height: 100%;
  padding: 1rem;
  background: linear-gradient(180deg, #dfe4eb 0%, #d7dde6 100%);
}

.product-shell-soft {
  background: linear-gradient(180deg, #edf1f6 0%, #e4e9f0 100%);
}

.product-app-nav {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(25, 39, 56, 0.12);
}

.product-app-nav.compact {
  justify-content: space-between;
}

.product-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: fit-content;
}

.product-brand img {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  box-shadow: 0 10px 18px rgba(20, 28, 40, 0.16);
}

.product-brand strong {
  color: #1f2d2b;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.product-org-chip,
.product-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0 0.9rem;
  border-radius: 999px;
  color: #667383;
  font-size: 0.92rem;
  background: rgba(231, 236, 242, 0.95);
}

.product-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.product-tab.active {
  color: #ffffff;
  background: #20332d;
  box-shadow: 0 10px 22px rgba(21, 39, 34, 0.18);
}

.product-nav-icons {
  margin-left: auto;
  display: inline-flex;
  gap: 0.6rem;
}

.product-nav-icons span {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 1.6px solid rgba(78, 91, 111, 0.7);
}

.product-dashboard-layout {
  display: grid;
  gap: 1rem;
  margin-top: 1.1rem;
}

.dashboard-hero-card,
.dashboard-stat,
.dashboard-list-card {
  border: 1px solid rgba(16, 24, 38, 0.06);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 26px rgba(27, 39, 53, 0.08);
}

.dashboard-hero-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  border-radius: 22px;
}

.dashboard-hero-card strong,
.dashboard-list-head strong,
.dashboard-action strong,
.dashboard-stat strong {
  color: #1f2b36;
}

.dashboard-hero-card strong {
  display: block;
  font-size: 1.45rem;
  margin-bottom: 0.25rem;
}

.dashboard-hero-card p,
.dashboard-stat span,
.dashboard-action span,
.dashboard-empty-state {
  margin: 0;
  color: #6f7c8e;
}

.product-primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0 1.15rem;
  border-radius: 14px;
  background: #20332d;
  color: #ffffff;
  font-weight: 600;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.95rem;
}

.dashboard-stat {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  border-radius: 20px;
}

.stat-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(43, 125, 255, 0.14);
}

.stat-icon.blue {
  background: rgba(50, 112, 255, 0.14);
}

.stat-icon.amber {
  background: rgba(255, 167, 38, 0.16);
}

.stat-icon.orange {
  background: rgba(255, 117, 24, 0.14);
}

.stat-icon.green {
  background: rgba(50, 192, 109, 0.16);
}

.dashboard-stat strong {
  display: block;
  font-size: 1.3rem;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.dashboard-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 0.4rem 0.15rem;
}

.dashboard-action {
  position: relative;
  padding-left: 1.2rem;
}

.dashboard-action::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand-primary);
}

.dashboard-action.alert::before {
  background: #ff6d4c;
}

.dashboard-action strong {
  display: block;
  margin-bottom: 0.18rem;
  font-size: 1rem;
}

.dashboard-list-card {
  min-height: 180px;
  padding: 1.25rem 1.35rem;
  border-radius: 22px;
}

.dashboard-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.dashboard-list-head span {
  color: #4f5e70;
  font-weight: 500;
}

.dashboard-empty-state {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 106px;
  font-size: 1rem;
}

.case-card {
  width: min(100%, 640px);
  margin: 1.9rem auto 0;
  padding: 1.6rem 1.45rem 1.5rem;
  border: 1px solid rgba(16, 24, 38, 0.06);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 48px rgba(27, 39, 53, 0.1);
}

.case-card-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 1rem;
  border-radius: 16px;
  background: linear-gradient(180deg, #20332d 0%, #22362f 100%);
}

.case-card-title,
.case-card-step {
  display: block;
  text-align: center;
}

.case-card-title {
  color: #1f2b36;
  font-size: 1.7rem;
  margin-bottom: 0.25rem;
}

.case-card-step {
  color: #6f7c8e;
}

.stepper {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin: 1rem 0 1.4rem;
}

.stepper span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(16, 24, 38, 0.1);
}

.stepper .is-active {
  background: #20332d;
  box-shadow: 0 0 0 4px rgba(32, 51, 45, 0.1);
}

.field-mock {
  display: grid;
  gap: 0.5rem;
}

.field-mock + .field-mock {
  margin-top: 1rem;
}

.field-mock label {
  color: #1f2b36;
  font-weight: 500;
}

.field-surface {
  display: flex;
  align-items: center;
  min-height: 3.05rem;
  padding: 0.8rem 0.95rem;
  border-radius: 12px;
  background: #e8edf3;
  color: #718092;
}

.field-surface.area {
  align-items: flex-start;
  min-height: 6rem;
  padding-top: 0.9rem;
}

.field-surface.with-icon::before {
  content: "";
  width: 16px;
  height: 16px;
  margin-right: 0.7rem;
  border-radius: 4px;
  border: 1.4px solid rgba(96, 108, 129, 0.78);
}

.field-mock p {
  margin: 0;
  color: #7a8798;
  font-size: 0.86rem;
  line-height: 1.45;
}

/* Product carousel */
.product-carousel {
  margin-top: 2rem;
}

.product-carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(760px, 86%);
  gap: 1.25rem;
  overflow-x: auto;
  padding: 0.2rem 0 0.9rem;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.product-carousel-track::-webkit-scrollbar {
  display: none;
}

.product-slide {
  display: grid;
  gap: 1rem;
  min-width: 0;
  scroll-snap-align: start;
}

.product-slide-meta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
  max-width: 42rem;
}

.product-slide-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: 1px solid rgba(16, 24, 38, 0.08);
  background: linear-gradient(180deg, #ffffff, #f2f6fb);
  color: var(--brand-primary-strong);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 12px 28px rgba(10, 18, 29, 0.08);
}

.product-slide-meta strong {
  display: block;
  margin-bottom: 0.28rem;
  color: var(--text);
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.product-slide-meta p {
  margin: 0;
  color: var(--text-soft);
}

.product-carousel .dashboard-window {
  min-height: auto;
}

.product-window-offset {
  margin-top: 0;
}

.product-carousel .case-card {
  margin-top: 1.25rem;
}

.product-carousel-hint {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.product-carousel-hint span {
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: rgba(16, 24, 38, 0.12);
}

.product-carousel-hint span:first-child {
  background: linear-gradient(90deg, rgba(70, 208, 217, 0.8), rgba(94, 190, 255, 0.55));
}

/* Diagrams and lists */
.system-map {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.map-stage {
  position: relative;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.map-stage::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -0.52rem;
  width: 1rem;
  height: 1rem;
  border-top: 2px solid rgba(16, 24, 38, 0.18);
  border-right: 2px solid rgba(16, 24, 38, 0.18);
  transform: translateY(-50%) rotate(45deg);
}

.map-stage:last-child::after {
  display: none;
}

.map-stage strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--text);
}

.map-stage p {
  margin: 0;
  font-size: 0.9rem;
}

.timeline-steps {
  display: grid;
  gap: 1.1rem;
}

.timeline-step {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.timeline-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 1px solid rgba(16, 24, 38, 0.1);
  background: linear-gradient(180deg, #ffffff, #f0f4fb);
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.timeline-content {
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(16, 24, 38, 0.08);
}

.timeline-content h3 {
  margin: 0 0 0.5rem;
}

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

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

.pilot-note {
  display: grid;
  gap: 0.45rem;
  max-width: 52rem;
  margin: 0 auto 1.4rem;
  padding: 1.05rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
}

.pilot-note strong {
  color: var(--text-inverse);
  font-size: 0.98rem;
  letter-spacing: -0.01em;
}

.pilot-note p {
  margin: 0;
  color: var(--text-inverse-soft);
}

.pillar {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.pillar strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--text-inverse);
}

.pillar p {
  color: var(--text-inverse-soft);
  font-size: 0.92rem;
}

.logo-strip {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.logo-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
  color: #607086;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.quote-card {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.quote-card p {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
}

.quote-card footer {
  margin-top: 1rem;
  color: var(--text-soft);
  font-size: 0.84rem;
}

.accordion-list {
  display: grid;
  gap: 0.85rem;
}

.accordion {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.86);
  overflow: hidden;
}

.accordion summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 1.2rem;
  color: var(--text);
  font-weight: 700;
}

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

.accordion summary::after {
  content: "+";
  float: right;
  color: var(--brand-primary-strong);
}

.accordion[open] summary::after {
  content: "-";
}

.accordion-content {
  padding: 0 1.2rem 1.2rem;
}

.accordion-content p {
  margin: 0;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.8fr);
  gap: 1rem;
}

.form-card,
.aside-card {
  padding: 1.45rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

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

.field {
  display: grid;
  gap: 0.45rem;
}

.field label {
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid rgba(16, 24, 38, 0.12);
  border-radius: 14px;
  background: #ffffff;
  color: var(--text);
  padding: 0.9rem 0.95rem;
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

.form-status {
  min-height: 1.4rem;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.form-status.success {
  color: #14603b;
}

.form-status.error {
  color: #9a1c1c;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, var(--surface-dark) 0%, var(--surface-dark-2) 100%);
  color: var(--text-inverse);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.9fr 0.9fr;
  gap: 2rem;
  padding: 3.5rem 0 2rem;
}

.footer-brand img {
  width: 230px;
}

.footer-brand p,
.footer-column li,
.footer-column p {
  color: var(--text-inverse-soft);
  font-size: 0.93rem;
}

.footer-column h3 {
  margin: 0 0 0.9rem;
  color: var(--brand-primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-column ul {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-column a:hover {
  color: var(--brand-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0 1.25rem;
  color: var(--text-inverse-soft);
  font-size: 0.82rem;
}

.footer-bottom-row a {
  color: var(--brand-primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-heart {
  color: #5aaeff;
}

/* Motion */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.48s ease,
    transform 0.48s ease;
}

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

/* Utilities */
.bg-dark {
  background:
    radial-gradient(circle at 16% 18%, rgba(49, 181, 196, 0.12), transparent 26%),
    radial-gradient(circle at 82% 16%, rgba(242, 166, 77, 0.14), transparent 26%),
    linear-gradient(180deg, #09121d 0%, #0c1622 100%);
}

.bg-dark .title-row h2,
.bg-dark .title-row p,
.bg-dark .card h3,
.bg-dark .card p,
.bg-dark .body-copy,
.bg-dark .eyebrow,
.bg-dark .metric-panel strong,
.bg-dark .metric-panel p {
  color: var(--text-inverse);
}

.bg-dark .title-row p,
.bg-dark .card p,
.bg-dark .body-copy,
.bg-dark .metric-panel p {
  color: var(--text-inverse-soft);
}

.bg-dark .card,
.bg-dark .metric-panel {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow-dark);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1180px) {
  .nav-links nav {
    gap: 0.75rem;
  }

  .nav-link {
    font-size: 0.84rem;
  }
}

@media (max-width: 1040px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

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

  .site-header.is-open {
    background: rgba(7, 15, 25, 0.94);
    border-color: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(18px);
  }

  .site-header.is-open .mobile-panel {
    display: block;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .split-layout,
  .mockup-grid,
  .contact-layout,
  .footer-grid,
  .card-grid.cols-4 {
    grid-template-columns: 1fr;
  }

  .card-grid.cols-2,
  .card-grid.cols-3,
  .solution-points,
  .pillars,
  .record-grid,
  .quote-grid,
  .logo-strip,
  .system-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-hero {
    padding-bottom: 4rem;
  }

  .page-hero.home .page-hero-content {
    min-height: auto;
  }

  .page-hero.product {
    min-height: auto;
  }

  .page-hero.product .page-hero-content {
    min-height: auto;
  }

  .page-hero.flow {
    min-height: auto;
  }

  .page-hero.flow .page-hero-content {
    min-height: auto;
  }

  .page-hero.legal {
    min-height: auto;
  }

  .page-hero.legal .page-hero-content {
    min-height: auto;
  }

  .hero-home-copy {
    transform: translateY(-4rem);
  }

  .hero-emblem {
    right: 0.25rem;
    bottom: 8.5rem;
  }

  .hero-emblem img {
    height: clamp(150px, 24vw, 220px);
  }

  .solution-visual {
    justify-content: flex-start;
  }

  .form-window {
    margin-top: 0;
  }

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

  .dashboard-actions {
    grid-template-columns: 1fr;
  }

  .product-app-nav {
    flex-wrap: wrap;
  }

  .product-nav-icons {
    margin-left: 0;
  }

  .product-carousel-track {
    grid-auto-columns: minmax(0, 92%);
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 1.4rem, var(--container));
  }

  .page-hero {
    padding-top: 6.5rem;
  }

  .hero-emblem {
    right: 0.05rem;
    bottom: 7.2rem;
  }

  .hero-emblem img {
    height: 148px;
    opacity: 0.78;
  }

  .page-intro h1 {
    max-width: 12ch;
  }

  .hero-home-copy {
    transform: translateY(-2.75rem);
  }

  .btn-row {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary,
  .btn-ghost,
  .nav-cta {
    width: 100%;
  }

  .field-grid,
  .card-grid.cols-2,
  .card-grid.cols-3,
  .solution-points,
  .pillars,
  .record-grid,
  .quote-grid,
  .logo-strip,
  .system-map {
    grid-template-columns: 1fr;
  }

  .workflow-visual,
  .footer-bottom-row {
    grid-template-columns: 1fr;
  }

  .dashboard-stats {
    grid-template-columns: 1fr;
  }

  .dashboard-hero-card,
  .dashboard-list-head,
  .product-app-nav.compact {
    display: grid;
  }

  .product-primary-action {
    width: 100%;
  }

  .case-card {
    padding: 1.35rem 1rem;
  }

  .case-card-title {
    font-size: 1.4rem;
  }

  .product-carousel-track {
    grid-auto-columns: minmax(0, 96%);
  }

  .product-slide-meta {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .workflow-visual {
    display: grid;
  }

  .footer-bottom-row {
    display: grid;
  }

  .timeline-step {
    grid-template-columns: 58px minmax(0, 1fr);
  }
}
