/* KAI Water & Energy — site styles. One stylesheet for every page. */
:root {
  --page: #f3f7f7;
  --surface: #ffffff;
  --surface-2: #eaf2f2;
  --ink: #0b1f2a;
  --ink-2: #3b5260;
  --muted: #64788a;
  --line: rgba(11, 31, 42, 0.1);
  --brand: #0e7c86;
  --brand-strong: #0a5e66;
  --brand-ink: #ffffff;
  --mint: #5eead4;
  --sky: #38bdf8;
  --ochre: #c2873a;
  --sand: #e9dcc3;
  --deep: #0b1f2a;
  --ok: #15803d;
  --watch: #b45309;
  --warn: #b91c1c;
  --shadow: 0 1px 2px rgba(11, 31, 42, 0.04), 0 10px 30px -14px rgba(11, 31, 42, 0.18);
  --radius: 18px;
  --f-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --f-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --page: #07141b;
    --surface: #0e1f28;
    --surface-2: #142a35;
    --ink: #e6eef2;
    --ink-2: #b6c6cf;
    --muted: #8aa0ad;
    --line: rgba(230, 238, 242, 0.1);
    --brand: #2dd4bf;
    --brand-strong: #5eead4;
    --brand-ink: #042f2e;
    --ok: #4ade80;
    --watch: #fbbf24;
    --warn: #f87171;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px -16px rgba(0, 0, 0, 0.7);
    color-scheme: dark;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
}
img,
svg,
canvas {
  max-width: 100%;
}
a {
  color: var(--brand);
  text-underline-offset: 3px;
}
h1,
h2,
h3 {
  font-family: var(--f-display);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
}
h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  font-weight: 700;
}
h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
p {
  margin: 0;
}
::selection {
  background: color-mix(in srgb, var(--brand) 25%, transparent);
}
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-inline: max(20px, env(safe-area-inset-left, 0px));
}
.eyebrow {
  font-family: var(--f-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}
.lede {
  color: var(--ink-2);
  font-size: 1.1rem;
  max-width: 62ch;
}
.muted {
  color: var(--muted);
}
.section {
  padding-block: clamp(56px, 9vw, 104px);
}
.section-head {
  display: grid;
  gap: 14px;
  margin-bottom: 40px;
  max-width: 760px;
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.7rem 1.25rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.97rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--brand);
  color: var(--brand-ink);
  box-shadow: 0 8px 22px -10px color-mix(in srgb, var(--brand) 80%, transparent);
}
.btn-primary:hover {
  background: var(--brand-strong);
}
.btn-ghost {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: color-mix(in srgb, var(--brand) 45%, transparent);
}
.btn-light {
  background: #fff;
  color: #0b1f2a;
}
.btn-light:hover {
  background: #e6f6f4;
}
.btn-outline-light {
  border-color: rgba(230, 238, 242, 0.35);
  color: #e6eef2;
}
.btn-outline-light:hover {
  background: rgba(230, 238, 242, 0.08);
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #e6eef2;
  background: rgba(7, 20, 27, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(230, 238, 242, 0.08);
}
.site-header.on-dark {
  background: rgba(11, 31, 42, 0.72);
  border-bottom-color: rgba(230, 238, 242, 0.08);
  color: #e6eef2;
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: inherit;
}
.brand-mark {
  width: 36px;
  height: 36px;
  flex: none;
}
.brand-name {
  display: grid;
  line-height: 1.05;
}
.brand-name b {
  font-family: var(--f-display);
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.brand-name span {
  font-family: var(--f-mono);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.7;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  color: inherit;
  opacity: 0.82;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 10px;
}
.nav-links a:hover {
  opacity: 1;
  background: color-mix(in srgb, currentColor 8%, transparent);
}
.nav-links a[aria-current="page"] {
  opacity: 1;
  color: var(--mint);
}
.on-dark .nav-links a[aria-current="page"] {
  color: var(--mint);
}
.nav-links .btn {
  opacity: 1;
  color: var(--brand-ink);
  margin-left: 8px;
  min-height: 40px;
  padding: 0.5rem 1rem;
}
.nav-links .btn:hover {
  background: var(--brand-strong);
}
.menu-btn {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, currentColor 20%, transparent);
  background: transparent;
  color: inherit;
  font: 600 0.95rem var(--f-body);
  cursor: pointer;
}
.menu-btn svg {
  width: 20px;
  height: 20px;
}
@media (max-width: 1100px) {
  .menu-btn {
    display: inline-flex;
  }
  .nav-links {
    position: fixed;
    inset: 68px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px max(20px, env(safe-area-inset-left, 0px)) 22px;
    background: #0b1f2a;
    color: #e6eef2;
    border-bottom: 1px solid rgba(230, 238, 242, 0.1);
    box-shadow: 0 24px 40px -20px rgba(0, 0, 0, 0.6);
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  }
  .nav-open .nav-links {
    opacity: 1;
    transform: none;
    visibility: visible;
  }
  .nav-links a {
    font-size: 1.08rem;
    padding: 13px 12px;
  }
  .nav-links .btn {
    margin: 10px 0 0;
    min-height: 50px;
  }

}

/* ---------- Dark band (hero, CTA, footer) ---------- */
.band {
  position: relative;
  color: #e6eef2;
  background:
    radial-gradient(1100px 520px at 88% -10%, rgba(45, 212, 191, 0.22), transparent 60%),
    radial-gradient(900px 480px at -10% 110%, rgba(14, 165, 233, 0.18), transparent 60%),
    linear-gradient(165deg, #0b1f2a 0%, #0a2a33 55%, #0b1f2a 100%);
}
.band .lede,
.band .muted {
  color: #a9bfca;
}
.band .eyebrow {
  color: var(--mint);
}
.grad-text {
  background: linear-gradient(90deg, #5eead4, #38bdf8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Hero ---------- */
.hero {
  margin-top: -68px;
  padding-top: 68px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 40px;
  align-items: center;
  padding-block: clamp(36px, 7vw, 90px) clamp(28px, 5vw, 64px);
}
.hero-copy {
  display: grid;
  gap: 22px;
}
.hero h1 {
  color: #fff;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  color: #8fb0be;
}
.hero-meta span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  margin-right: 8px;
  vertical-align: 2px;
}
.hero-stage {
  position: relative;
  aspect-ratio: 1.18 / 1;
  border-radius: 26px;
  border: 1px solid rgba(230, 238, 242, 0.1);
  background: radial-gradient(120% 90% at 50% 0%, rgba(56, 189, 248, 0.1), transparent 60%), rgba(255, 255, 255, 0.02);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
}
.hero-stage canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
  touch-action: pan-y;
}
.hero-stage .fallback[hidden] {
  display: none;
}
.hero-stage .fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #8fb0be;
  font-size: 0.85rem;
}
.stage-label {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -100%);
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: #e6eef2;
  background: rgba(11, 31, 42, 0.72);
  border: 1px solid rgba(230, 238, 242, 0.14);
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
  pointer-events: none;
  backdrop-filter: blur(6px);
  transition: opacity 300ms ease;
}
.stage-label::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 1px;
  height: 10px;
  background: rgba(230, 238, 242, 0.4);
}
.stage-caption {
  position: absolute;
  right: 14px;
  bottom: 12px;
  font-family: var(--f-mono);
  font-size: 0.66rem;
  color: #8fb0be;
  pointer-events: none;
}
.hero-strip {
  border-top: 1px solid rgba(230, 238, 242, 0.1);
}
.hero-strip dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0 auto;
  padding-block: 22px;
}
.hero-strip dt {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8fb0be;
}
.hero-strip dd {
  margin: 4px 0 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  margin-top: -68px;
  padding-top: 68px;
}
.page-hero .wrap {
  display: grid;
  gap: 18px;
  padding-block: clamp(48px, 8vw, 96px) clamp(40px, 6vw, 72px);
  max-width: 1160px;
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.4rem);
  max-width: 18ch;
}
.crumbs {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  color: #8fb0be;
}
.crumbs a {
  color: #8fb0be;
}

/* ---------- Cards and grids ---------- */
.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 18px;
}
.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
  align-content: start;
}
a.card {
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
a.card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--brand) 40%, transparent);
}
.card p {
  color: var(--ink-2);
  font-size: 0.97rem;
}
.card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-2);
  font-size: 0.95rem;
  display: grid;
  gap: 6px;
}
.card .more {
  font-weight: 600;
  color: var(--brand);
  font-size: 0.95rem;
}
.icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 12%, transparent);
}
.icon svg {
  width: 24px;
  height: 24px;
}
.icon.ochre {
  color: var(--ochre);
  background: color-mix(in srgb, var(--ochre) 14%, transparent);
}
.icon.sky {
  color: #0284c7;
  background: color-mix(in srgb, #0ea5e9 13%, transparent);
}
.tag {
  justify-self: start;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-2);
  text-decoration: none;
}
.tag.live {
  border-color: color-mix(in srgb, var(--brand) 40%, transparent);
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 8%, transparent);
}
.tag.live::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  margin-right: 6px;
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink {
  50% {
    opacity: 0.25;
  }
}

/* Feature split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.split.reverse > :first-child {
  order: 2;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.check-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  color: var(--ink-2);
}
.check-list li::before {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  margin-top: 2px;
  background: color-mix(in srgb, var(--brand) 14%, transparent)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e7c86' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E")
    center / 13px no-repeat;
}

/* Product showcase frame */
.frame {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--surface);
}
.frame-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: var(--muted);
}
.frame-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--muted) 40%, transparent);
}
.frame-bar span {
  margin-left: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  counter-reset: s;
}
.steps li {
  counter-increment: s;
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.steps li::before {
  content: counter(s, decimal-leading-zero);
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--brand);
}
.steps p {
  color: var(--ink-2);
  font-size: 0.95rem;
}

/* People */
.person {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 18px;
  align-items: start;
}
.avatar {
  width: 76px;
  height: 76px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff;
  background: linear-gradient(140deg, #14b8a6, #0e7c86 60%, #0b1f2a);
}
.avatar.ochre {
  background: linear-gradient(140deg, #d6a25b, #c2873a 55%, #5b4a36);
}
.role {
  color: var(--brand);
  font-weight: 600;
  font-size: 0.95rem;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chips span {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  padding: 4px 9px;
  border-radius: 8px;
  border: 1px solid var(--line);
  color: var(--ink-2);
  background: var(--surface-2);
}

/* KAI-Hydro demo */
.demo {
  display: grid;
  gap: 22px;
}
.demo-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--watch);
  color: var(--watch);
}
.badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.example {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: var(--muted);
  border: 1px dashed var(--line);
  padding: 4px 9px;
  border-radius: 6px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.stat {
  display: grid;
  gap: 2px;
  padding-left: 14px;
  border-left: 3px solid color-mix(in srgb, var(--brand) 35%, transparent);
}
.stat b {
  font-family: var(--f-display);
  font-size: 1.55rem;
  font-variant-numeric: tabular-nums;
}
.stat small {
  color: var(--muted);
  font-size: 0.82rem;
}
.chart-box {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
#chart {
  width: 100%;
  min-width: 540px;
  height: auto;
  display: block;
}
#chart text {
  font-family: var(--f-mono);
  font-size: 11px;
  fill: var(--muted);
}
.table-box {
  overflow-x: auto;
}
.outlook {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
}
.outlook th,
.outlook td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.outlook th {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.pill {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid currentColor;
}
.pill.ok {
  color: var(--ok);
}
.pill.watch {
  color: var(--watch);
}
.pill.warn {
  color: var(--warn);
}

/* ---------- Forms ---------- */
.form {
  display: grid;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: grid;
  gap: 6px;
}
.field label {
  font-weight: 600;
  font-size: 0.9rem;
}
.field small {
  color: var(--muted);
  font-size: 0.8rem;
}
.input {
  width: 100%;
  min-height: 48px;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
}
textarea.input {
  min-height: 150px;
  resize: vertical;
}
.input:focus {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
  border-color: transparent;
}
.hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.notice {
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 0.95rem;
}
.notice.ok {
  background: color-mix(in srgb, var(--ok) 12%, transparent);
  color: var(--ok);
}
.notice.err {
  background: color-mix(in srgb, var(--warn) 12%, transparent);
  color: var(--warn);
}

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: 28px;
  padding: clamp(32px, 6vw, 64px);
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
  overflow: hidden;
}
.cta-band h2 {
  color: #fff;
  max-width: 22ch;
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: clamp(48px, 8vw, 96px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 36px;
  padding-block: 64px 44px;
}
.footer-grid h2 {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 14px;
}
.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}
.footer-grid a {
  color: #a9bfca;
  text-decoration: none;
  font-size: 0.95rem;
}
.footer-grid a:hover {
  color: #fff;
}
.footer-grid a.btn-light {
  color: #0b1f2a;
}
.footer-about p {
  color: #a9bfca;
  font-size: 0.95rem;
  max-width: 34ch;
  margin-top: 14px;
}
.footer-about em {
  font-style: normal;
  color: var(--mint);
}
.footer-contact address {
  font-style: normal;
  color: #a9bfca;
  font-size: 0.95rem;
  display: grid;
  gap: 10px;
}
.footer-contact .btn {
  justify-self: start;
  margin-top: 4px;
}
.footer-base {
  border-top: 1px solid rgba(230, 238, 242, 0.1);
}
.footer-base .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 20px calc(20px + env(safe-area-inset-bottom, 0px));
  font-size: 0.82rem;
  color: #8fb0be;
}
.footer-base a {
  color: #8fb0be;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
  .tag.live::before {
    animation: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .grid-4,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-about,
  .footer-contact {
    grid-column: 1 / -1;
  }
}
@media (max-width: 720px) {
  .grid-2,
  .grid-3,
  .split {
    grid-template-columns: 1fr;
  }
  .split.reverse > :first-child {
    order: 0;
  }
  .hero-strip dl,
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 22px;
  }
  .hero-stage {
    aspect-ratio: 1 / 0.95;
    border-radius: 20px;
  }
}
@media (max-width: 480px) {
  .grid-4,
  .steps {
    grid-template-columns: 1fr;
  }
  .person {
    grid-template-columns: 60px 1fr;
  }
  .avatar {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    font-size: 1.2rem;
  }
  .brand-name span {
    display: none;
  }
}

/* A card that uses the dark band background */
.card.band {
  background:
    radial-gradient(500px 260px at 90% -20%, rgba(45, 212, 191, 0.25), transparent 60%),
    linear-gradient(160deg, #0b1f2a 0%, #0a2a33 100%);
  color: #e6eef2;
}
.card.band p {
  color: #a9bfca;
}

/* =====================================================================
   v3 — product-led layout (GroundWater Analyst hero, packages, galleries)
   ===================================================================== */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.section-tight { padding-block: clamp(24px, 5vw, 56px); }

/* Dropdown menus */
.dd { position: relative; }
.dd-btn { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; color: inherit; font: 500 0.95rem var(--f-body); padding: 8px 10px 8px 12px; border-radius: 10px; cursor: pointer; opacity: 0.85; }
.dd-btn:hover, .dd.open .dd-btn { opacity: 1; background: rgba(230, 238, 242, 0.08); }
.dd-btn svg { width: 15px; height: 15px; transition: transform 180ms ease; }
.dd.open .dd-btn svg { transform: rotate(180deg); }
.dd-btn[aria-current] { color: var(--mint); opacity: 1; }
.dd-panel { position: absolute; top: calc(100% + 10px); left: -6px; min-width: 300px; display: grid; gap: 2px; padding: 8px; background: #0e2430; border: 1px solid rgba(230, 238, 242, 0.1); border-radius: 16px; box-shadow: 0 28px 56px -18px rgba(0, 0, 0, 0.7); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 160ms ease, transform 160ms ease, visibility 160ms; z-index: 60; }
.dd-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.dd.open .dd-panel { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1101px) { .dd:hover .dd-panel { opacity: 1; visibility: visible; transform: none; } }
.nav-links .dd-panel a { display: grid; gap: 1px; padding: 10px 12px; border-radius: 10px; opacity: 1; }
.dd-panel a b { font-weight: 600; color: #fff; font-size: 0.95rem; }
.dd-panel a small { color: #8fb0be; font-size: 0.8rem; font-weight: 400; }
.dd-panel a.all b { color: var(--mint); font-size: 0.88rem; }
.nav-links .btn-primary { color: var(--brand-ink); }
@media (max-width: 1100px) {
  .dd-btn { pointer-events: none; font: 500 0.7rem var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mint); opacity: 1; padding: 16px 12px 4px; }
  .dd-btn svg { display: none; }
  .dd-panel { position: static; min-width: 0; opacity: 1; visibility: visible; transform: none; background: none; border: 0; box-shadow: none; padding: 0; }
  .nav-links .dd-panel a { padding: 9px 12px; }
  .dd-panel a small { display: none; }
  .nav-plain { margin-top: 10px; }
}

/* Live model hero */
.hero-live { position: relative; margin-top: -68px; min-height: min(94vh, 920px); display: grid; grid-template-rows: 1fr auto; color: #e6eef2; overflow: hidden;
  background: radial-gradient(1100px 700px at 68% 42%, #123848 0%, #0b2330 50%, #07141b 100%); }
.hl-stage { position: absolute; inset: 0; }
.hl-stage::before { content: ""; position: absolute; inset: 0; background: url(img/ga-hero.jpg) 50% 50% / cover no-repeat; transition: opacity 1.2s ease; }
.hl-stage.ready::before { opacity: 0; }
.hl-stage iframe, .case-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity 1.2s ease; color-scheme: light; background: transparent; }
.hl-stage.ready iframe, .case-frame.ready iframe { opacity: 1; }
.locked iframe { pointer-events: none; }
.hl-scrim { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(7, 20, 27, 0.95) 0%, rgba(7, 20, 27, 0.72) 30%, rgba(7, 20, 27, 0) 56%), linear-gradient(0deg, rgba(7, 20, 27, 0.85) 0%, rgba(7, 20, 27, 0) 26%), linear-gradient(180deg, rgba(7, 20, 27, 0.7) 0%, rgba(7, 20, 27, 0) 18%); }
.hl-copy { position: relative; z-index: 2; align-self: center; display: grid; gap: 22px; padding-top: calc(68px + clamp(32px, 7vh, 88px)); padding-bottom: clamp(28px, 5vh, 56px); pointer-events: none; }
.hl-copy > * { pointer-events: auto; max-width: 560px; }
.hl-copy h1 { color: #fff; font-size: clamp(2.3rem, 4.3vw, 3.9rem); }
.hl-copy > h1 { max-width: 620px; }
.hl-copy .lede { color: #b8ccd5; }
.hl-copy .eyebrow { color: var(--mint); display: inline-flex; align-items: center; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #2dd4bf; margin-right: 10px; animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(45, 212, 191, 0); } }
.hl-strip { position: relative; z-index: 2; border-top: 1px solid rgba(230, 238, 242, 0.1); background: rgba(7, 20, 27, 0.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hl-strip dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0 auto; padding-block: 20px 4px; }
.hl-strip dt { font: 800 clamp(1.5rem, 2.6vw, 2.1rem) / 1.1 var(--f-display); color: #fff; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.hl-strip dd { margin: 4px 0 0; color: #8fb0be; font-size: 0.88rem; }
.hl-note { font-family: var(--f-mono); font-size: 0.7rem; color: #6f8d9b; padding-bottom: 14px; padding-top: 8px; }
.hl-legend { position: absolute; right: max(20px, calc((100vw - 1160px) / 2 + 20px)); bottom: calc(100% + 14px); display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; font-family: var(--f-mono); font-size: 0.7rem; color: #cfe0e6; pointer-events: none; }
.hl-legend span { display: inline-flex; align-items: center; gap: 6px; background: rgba(7, 20, 27, 0.6); border: 1px solid rgba(230, 238, 242, 0.1); padding: 4px 9px; border-radius: 999px; }
.hl-legend i { width: 9px; height: 9px; border-radius: 3px; }
.hl-touch { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 3; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(230, 238, 242, 0.25); background: rgba(7, 20, 27, 0.75); color: #fff; font: 600 0.92rem var(--f-body); white-space: nowrap; backdrop-filter: blur(8px); cursor: pointer; }
.hl-touch::before { content: ""; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235eead4' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 3a9 9 0 1 0 9 9M21 3l-6 6M15 3h6v6'/%3E%3C/svg%3E") center/contain no-repeat; }
.hl-done { position: absolute; right: 12px; top: 12px; z-index: 3; min-height: 38px; padding: 0 16px; border-radius: 999px; border: 0; background: #fff; color: #0b1f2a; font: 600 0.88rem var(--f-body); cursor: pointer; }
.hl-touch[hidden], .hl-done[hidden] { display: none; }
@media (max-width: 860px) {
  .hero-live { display: flex; flex-direction: column; min-height: 0; }
  .hl-copy { order: 1; padding-top: calc(68px + 26px); padding-bottom: 4px; gap: 16px; }
  .hl-copy .lede { font-size: 1rem; }
  .hl-copy .cta-row .btn { min-height: 44px; padding: 0.55rem 1rem; font-size: 0.93rem; }
  .hl-stage { order: 2; position: relative; inset: auto; height: min(96vw, 440px); }
  .hl-scrim { display: none; }
  .hl-strip { order: 3; }
  .hl-legend { position: static; justify-content: flex-start; gap: 8px; padding: 14px max(20px, env(safe-area-inset-left, 0px)) 0; }
  .hl-strip dl { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 16px; }
}

/* Product packages */
.pkg-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; }
.pkg { display: grid; grid-template-rows: auto 1fr; border-radius: 20px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: inherit; text-decoration: none; transition: transform 200ms ease, border-color 200ms ease; }
.pkg:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--brand) 40%, transparent); }
.pkg-img { aspect-ratio: 16 / 10; overflow: hidden; background: #eef4f4; }
.pkg-img.dark { background: #07141b; }
.pkg-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.pkg-img.dark img { object-position: center; }
.pkg:hover .pkg-img img { transform: scale(1.04); }
.pkg-body { padding: 22px 24px 26px; display: grid; gap: 10px; align-content: start; }
.pkg-body p { color: var(--ink-2); font-size: 0.97rem; }
.pkg .more, .tile .more { font-weight: 600; color: var(--brand); font-size: 0.95rem; }
.pkg-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: clamp(40px, 6vw, 72px); }
.pkg-row:nth-child(even) > .pkg-img { order: 2; }
.pkg-row .pkg-img { border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.pkg-row .pkg-body { padding: 0; gap: 16px; }

/* What's unique */
.uniq-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.uniq { display: grid; gap: 12px; align-content: start; padding: 24px; border-radius: 18px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(230, 238, 242, 0.08); }
.uniq h3 { color: #fff; }
.uniq p { color: #a9bfca; font-size: 0.95rem; }
.band .icon { color: var(--mint); background: rgba(94, 234, 212, 0.1); }

/* Solution tiles */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.tile { position: relative; min-height: 320px; border-radius: 18px; overflow: hidden; display: flex; align-items: flex-end; color: #fff; text-decoration: none; background: #07141b; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 20, 27, 0.96) 0%, rgba(7, 20, 27, 0.7) 45%, rgba(7, 20, 27, 0.15) 100%); }
.tile:hover img { transform: scale(1.06); }
.tile > div { position: relative; z-index: 1; padding: 22px; display: grid; gap: 6px; }
.tile h3 { color: #fff; }
.tile p { color: #cfe0e6; font-size: 0.93rem; }
.tile .more { color: var(--mint); }

/* Screenshots in frames */
.shot { display: block; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 34px 70px -34px rgba(0, 0, 0, 0.55); background: var(--surface); color: inherit; text-decoration: none; transition: transform 200ms ease; }
.shot:hover { transform: translateY(-3px); }
.shot img { display: block; width: 100%; height: auto; }
.shot.dark { background: #07141b; border-color: rgba(230, 238, 242, 0.12); }
.shot.dark .frame-bar { background: #0e2430; border-bottom-color: rgba(230, 238, 242, 0.08); color: #8fb0be; }
.case-sec { background: var(--surface-2); }
.mini-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; margin: 0; }
.mini-stats div { border-left: 3px solid color-mix(in srgb, var(--brand) 40%, transparent); padding-left: 12px; }
.mini-stats dt { font: 800 1.6rem / 1.1 var(--f-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.mini-stats dd { margin: 2px 0 0; color: var(--muted); font-size: 0.86rem; }
.mini-stats.on-dark dt { color: #fff; }
.mini-stats.on-dark dd { color: #8fb0be; }
.mini-stats.on-dark div { border-left-color: rgba(94, 234, 212, 0.5); }

/* Product page hero */
.product-hero .ph-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 56px); align-items: center; max-width: 1160px; }
.ph-copy { display: grid; gap: 18px; }
.why h3 { font-size: 1.1rem; }

/* Workflow */
.workflow-sec { background: var(--surface-2); }
.workflow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: w; }
.workflow li { counter-increment: w; display: grid; gap: 8px; align-content: start; padding: 22px; background: var(--surface); border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; }
.workflow li::before { content: counter(w); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); font: 800 1.05rem var(--f-display); margin-bottom: 4px; }
.workflow p { color: var(--ink-2); font-size: 0.95rem; }

/* Feature gallery */
.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feat { margin: 0; border-radius: 18px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; grid-template-rows: auto 1fr; }
.feat-img { aspect-ratio: 16 / 10; background: #07141b; overflow: hidden; }
.feat-img.light { background: #f3f7f7; }
.feat-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.feat-img.light img { object-position: center top; }
.feat:hover .feat-img img { transform: scale(1.04); }
.feat.tall .feat-img img { object-fit: cover; object-position: center 52%; }
.feat figcaption { padding: 18px 20px 22px; display: grid; gap: 6px; align-content: start; }
.feat figcaption p { color: var(--ink-2); font-size: 0.94rem; }

/* Case study with live model */
.case-live { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 4vw, 40px); align-items: start; }
.case-frame { position: relative; aspect-ratio: 16 / 11; border-radius: 20px; overflow: hidden; border: 1px solid rgba(230, 238, 242, 0.12); background: #07141b; }
.case-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 1s ease; }
.case-frame.ready .case-poster { opacity: 0; pointer-events: none; }
.case-copy { display: grid; gap: 16px; }
.case-copy h3 { color: #fff; margin-top: 6px; }
.case-copy .src { font-size: 0.78rem; color: #6f8d9b; }
.check-list.on-dark li { color: #cfe0e6; }
.check-list.on-dark li::before { background-color: rgba(94, 234, 212, 0.14); }

/* Footer contact form */
.footer-grid { grid-template-columns: 1.3fr 0.8fr 0.8fr 1.5fr; }
.footer-about .addr { font-family: var(--f-mono); font-size: 0.75rem; color: #8fb0be; }
.mini-form { display: grid; gap: 10px; }
.mini-form .input { background: rgba(255, 255, 255, 0.06); border-color: rgba(230, 238, 242, 0.16); color: #fff; min-height: 44px; font-size: 0.95rem; }
.mini-form textarea.input { min-height: 88px; }
.mini-form .input::placeholder { color: #8fb0be; }
.mini-form .btn { justify-self: start; }
.mini-form .notice.ok { color: #86efac; background: rgba(74, 222, 128, 0.1); }
.mini-form .notice.err { color: #fca5a5; background: rgba(248, 113, 113, 0.1); }

@media (max-width: 980px) {
  .pkg-grid { grid-template-columns: 1fr 1fr; }
  .pkg-lead { grid-column: 1 / -1; }
  .uniq-grid, .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workflow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-hero .ph-grid, .case-live { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .pkg-grid, .uniq-grid, .feat-grid, .pkg-row { grid-template-columns: 1fr; }
  .pkg-row:nth-child(even) > .pkg-img { order: 0; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tile { min-height: 240px; }
  .tile > div { padding: 16px; }
  .tile p { display: none; }
  .workflow { grid-template-columns: 1fr; }
  .case-frame { aspect-ratio: 4 / 5; }
}
.workflow li.wf-next { background: linear-gradient(160deg, #0b1f2a 0%, #0a2a33 100%); border-color: transparent; color: #e6eef2; }
.workflow li.wf-next::before { content: "→"; background: var(--mint); color: #042f2e; }
.workflow li.wf-next h3 { color: #fff; }
.workflow li.wf-next p { color: #a9bfca; }
.workflow li.wf-next .more { color: var(--mint); font-weight: 600; }

/* =====================================================================
   v4 — business flow: Challenges → Solutions → Products → Pricing → Login
   ===================================================================== */
.nav-links .nav-login { font-weight: 600; opacity: 1; }
.nav-links .nav-login::before { content: ""; display: inline-block; width: 1px; height: 18px; background: rgba(230, 238, 242, 0.2); margin-right: 14px; vertical-align: -4px; }
@media (max-width: 1100px) { .nav-links .nav-login::before { display: none; } .nav-links .nav-login { margin-top: 10px; } }
.btn-sm { min-height: 38px; padding: 0.45rem 0.9rem; font-size: 0.9rem; border-radius: 10px; }
.more-link { font-weight: 600; color: var(--brand); text-decoration: none; }
.fine { font-size: 0.85rem; color: var(--muted); margin-top: 16px; }
.fine a { font-weight: 600; }

/* hero bullets + caption */
.hero-bullets { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: #cfe0e6; }
.hero-bullets li { display: flex; gap: 10px; align-items: baseline; }
.hero-bullets li::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--mint); flex: none; transform: translateY(-2px); }
.hl-cap { border-color: rgba(94, 234, 212, 0.35) !important; color: var(--mint) !important; }

/* challenges */
.chal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.chal { display: grid; grid-template-columns: 46px 1fr; grid-template-rows: auto auto; gap: 6px 14px; align-items: start; padding: 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform 180ms ease, border-color 180ms ease; }
.chal:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--brand) 40%, transparent); }
.chal .icon { grid-row: span 2; }
.chal span:not(.icon) { font: 700 1.08rem / 1.3 var(--f-display); letter-spacing: -0.01em; }
.chal b { color: var(--brand); font-size: 0.9rem; }
.sectors { display: grid; gap: 22px; }
.sector { display: grid; grid-template-columns: 300px 1fr; gap: 24px; padding: 26px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.sector-head { display: grid; gap: 12px; align-content: start; }
.sector-head h2 { font-size: 1.4rem; }
.sector-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.sector-list li { display: grid; gap: 4px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.sector-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.sector-list .q { font-size: 1.05rem; color: var(--ink); }
.sector-list a { font-weight: 600; text-decoration: none; }

/* solutions */
.sol-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.sol { display: grid; gap: 10px; align-content: start; padding: 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform 180ms ease, border-color 180ms ease; }
.sol:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--brand) 40%, transparent); }
.sol h3 { font-size: 1.08rem; }
.sol p { color: var(--ink-2); font-size: 0.93rem; }
.sol .more { font-weight: 600; color: var(--brand); font-size: 0.9rem; }
.prose { display: grid; gap: 14px; }
.prose p { color: var(--ink-2); font-size: 1.04rem; }
.prose.wide { max-width: 860px; }
.prose h2 { margin-bottom: 0; }
.prose .sub { font: 600 1.15rem var(--f-display); color: var(--brand); margin-top: -4px; }
.prod-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.prod-mini { display: grid; grid-template-columns: 180px 1fr; gap: 18px; align-items: center; padding: 14px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; color: inherit; }
.prod-mini .pkg-img { border-radius: 12px; aspect-ratio: 16 / 11; }
.prod-mini > span:last-child { display: grid; gap: 4px; }
.prod-mini b { font: 700 1.25rem var(--f-display); }
.prod-mini small { color: var(--ink-2); }
.prod-mini .more { color: var(--brand); font-weight: 600; }

/* packages: price line */
.pkg-price { font-family: var(--f-mono); font-size: 0.78rem; color: var(--muted) !important; }
.pkg h3 a { color: inherit; text-decoration: none; }
.pkg-img { display: block; }
.uniq-grid.six { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* tier ladder */
.ladder { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.rung { padding: 24px; background: var(--surface); display: grid; gap: 8px; align-content: start; border-right: 1px solid var(--line); }
.rung:last-child { border-right: 0; background: linear-gradient(160deg, #0b1f2a 0%, #0a2a33 100%); color: #e6eef2; }
.rung:last-child p { color: #a9bfca; }
.rung:last-child h3 { color: #fff; }
.rung span { font: 800 1.5rem var(--f-display); color: var(--brand); }
.rung:last-child span { color: var(--mint); }
.rung p { color: var(--ink-2); font-size: 0.95rem; }

/* tier cards */
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.tier { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; }
.tier.tier-pro { border: 2px solid var(--brand); }
.tier-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tier-badge { font-size: 0.7rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--brand); color: var(--brand-ink); }
.tier h3 { font-size: 1.2rem; }
.tier-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.tier-price b { font: 800 2rem / 1 var(--f-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.tier-price small { color: var(--muted); font-size: 0.85rem; }
.tier-blurb { color: var(--ink-2); font-size: 0.95rem; }
.tier .check-list { flex: 1; }
.tier .btn { margin-top: 6px; }
.check-list.tight { gap: 8px; }
.check-list.tight li { font-size: 0.92rem; }
.check-list.big li { font-size: 1rem; }
.price-tabs { position: sticky; top: 68px; z-index: 30; background: color-mix(in srgb, var(--page) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.price-tabs .wrap { display: flex; gap: 6px; overflow-x: auto; padding-block: 10px; }
.price-tabs a { white-space: nowrap; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.92rem; background: var(--surface); }
.price-tabs a:hover { border-color: var(--brand); color: var(--brand); }
.price-block + .price-block { padding-top: 0; }
.faq-list { display: grid; gap: 10px; max-width: 860px; }
.faq { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 4px 18px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--brand); font-weight: 700; }
.faq[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { color: var(--ink-2); padding-bottom: 16px; }

/* products index: audience row */
.aud-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.aud { display: grid; gap: 10px; align-content: start; padding: 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.aud a { text-decoration: none; color: inherit; font: 700 1.35rem var(--f-display); }
.aud p { color: var(--ink-2); }
.aud small { font-family: var(--f-mono); font-size: 0.76rem; color: var(--muted); }

/* product page galleries */
.gal-grid { display: grid; gap: 14px; }
.gal-grid.two { grid-template-columns: 1fr 1fr; }
.gal-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gal { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #eef4f4; display: grid; grid-template-rows: auto auto; }
.gal.dark { background: #07141b; border-color: rgba(230, 238, 242, 0.12); }
.gal img { display: block; width: 100%; aspect-ratio: 16 / 11; object-fit: cover; object-position: center top; }
.gal.dark img { object-position: center; }
.gal figcaption { font-size: 0.82rem; padding: 8px 12px; color: var(--ink-2); background: var(--surface); border-top: 1px solid var(--line); }
.demo-call { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.demo-call > div { display: grid; gap: 6px; max-width: 640px; }

@media (max-width: 980px) {
  .chal-grid { grid-template-columns: 1fr 1fr; }
  .sol-grid { grid-template-columns: 1fr 1fr; }
  .tiers { grid-template-columns: 1fr 1fr; }
  .ladder { grid-template-columns: 1fr 1fr; }
  .rung:nth-child(2) { border-right: 0; }
  .rung:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .sector { grid-template-columns: 1fr; }
  .uniq-grid.six { grid-template-columns: 1fr 1fr; }
  .aud-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .chal-grid, .sol-grid, .tiers, .uniq-grid.six, .gal-grid.three { grid-template-columns: 1fr; }
  .ladder { grid-template-columns: 1fr; }
  .rung { border-right: 0; border-bottom: 1px solid var(--line); }
  .prod-mini { grid-template-columns: 1fr; }
  .hero-bullets { font-size: 0.95rem; }
}
.pkg-who { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand); }

/* v5 — product-first: grouped menus, coming-soon products */
.dd-panel.wide { grid-template-columns: 1fr 1fr; min-width: 640px; column-gap: 10px; left: 50%; translate: -50% 0; }
.dd-col { display: grid; gap: 2px; align-content: start; }
.dd-group { font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mint); padding: 12px 12px 4px; display: flex; align-items: center; gap: 8px; }
.dd-group::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.dd-group.energy { color: var(--energy-on-dark); }
.dd-group.ground { color: #9fb3bf; }
.dd-col .dd-group:not(:first-child) { margin-top: 8px; }
.dd-panel .all { grid-column: 1 / -1; border-top: 1px solid rgba(230, 238, 242, 0.08); border-radius: 0 0 10px 10px; margin-top: 4px; }
.soon-tag { font: 500 0.62rem var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: #9fb3bf; border: 1px solid rgba(230, 238, 242, 0.18); border-radius: 999px; padding: 1px 7px; margin-left: 8px; vertical-align: 2px; }
@media (max-width: 1100px) { .dd-panel.wide { grid-template-columns: 1fr; min-width: 0; translate: none; } .dd-group { padding: 8px 12px 0; } .dd-panel .all { border-top: 0; } }
.pkg-grid { grid-template-columns: 1fr 1fr; }
.aud-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.soon-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.soon { display: grid; gap: 8px; align-content: start; padding: 20px; border-radius: 16px; background: var(--surface); border: 1px dashed color-mix(in srgb, var(--brand) 45%, transparent); }
.soon h3 { font-size: 1.08rem; }
.soon h3 a { color: inherit; text-decoration: none; }
.soon p { color: var(--ink-2); font-size: 0.9rem; }
.soon .more { font-weight: 600; color: var(--brand); font-size: 0.88rem; text-decoration: none; }
.h2s { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.icon-media { display: grid !important; place-items: center; background: color-mix(in srgb, var(--brand) 8%, var(--surface)) !important; }
.icon-media .icon { width: 64px; height: 64px; }
.chal-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pkg-img img[src$=".svg"] { object-fit: contain; background: #fff; }
.gal img[src$=".svg"] { object-fit: contain; background: #fff; }
.shot img[src$=".svg"] { background: #fff; }
@media (max-width: 1100px) { .soon-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .chal-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 980px) { .aud-grid.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .soon-grid, .aud-grid.four, .pkg-grid, .chal-grid { grid-template-columns: 1fr; } }
.gal-grid.two > :only-child { grid-column: 1 / -1; }

/* key number on a real-data case card */
.case-kpi { display: grid; gap: 2px; }
.case-kpi b { font: 700 1.7rem/1.1 var(--f-display); color: var(--brand); }
.case-kpi span { font-size: 0.85rem; color: var(--muted); }

/* v6 — water and energy */
:root { --energy: #c2873a; --energy-ink: #8a5a1c; --energy-on-dark: #f0b765; --water-on-dark: #5eead4; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --energy: #e0a24f; --energy-ink: #f0b765; } }
.icon.ochre { color: var(--energy-ink); background: color-mix(in srgb, var(--energy) 15%, transparent); }
.eyebrow.energy, .band .eyebrow.energy { color: var(--energy-on-dark); }
.btn-energy { background: #e0a24f; color: #2a1a05; box-shadow: 0 8px 22px -10px rgba(224, 162, 79, 0.8); }
.btn-energy:hover { background: #f0b765; }

/* hero: water and energy side by side */
.hl-copy > .hero-split { max-width: 600px; }
.hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 26px; }
.hsp { display: grid; gap: 8px; align-content: start; }
.hsp > b { font: 600 0.72rem var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--water-on-dark); }
.hsp.energy > b { color: var(--energy-on-dark); }
.hsp ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; color: #cfe0e6; font-size: 0.95rem; line-height: 1.4; }
.hsp li { display: flex; gap: 10px; align-items: baseline; }
.hsp li::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--water-on-dark); flex: none; transform: translateY(-2px); }
.hsp.energy li::before { background: var(--energy-on-dark); }

/* sector tags */
.sec-tag { display: inline-block; font: 500 0.66rem var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; font-style: normal; padding: 2px 8px; border-radius: 999px; color: var(--brand); background: color-mix(in srgb, var(--brand) 11%, transparent); }
.sec-tag.energy { color: var(--energy-ink); background: color-mix(in srgb, var(--energy) 15%, transparent); }
.sec-tag.ground { color: var(--ink-2); background: color-mix(in srgb, var(--ink-2) 10%, transparent); }
.chal b { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.chal .icon.ochre + span + b { color: var(--energy-ink); }
.sector-head .sec-tag { justify-self: start; }

/* the platform: two sector panels */
.sector-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sp { position: relative; display: grid; gap: 18px; align-content: start; padding: clamp(22px, 3vw, 32px); border-radius: 22px; color: #e6eef2; overflow: hidden; isolation: isolate; }
.sp.water { background: radial-gradient(120% 90% at 0% 0%, #0f5d66 0%, #0b2f3a 55%, #08202a 100%); }
.sp.energy { background: radial-gradient(120% 90% at 100% 0%, #5c3a12 0%, #2a2116 50%, #141a1f 100%); }
.sp::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.22; background-repeat: no-repeat; background-position: right -40px bottom -30px; background-size: 260px; }
.sp.water::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235eead4' stroke-width='.5'%3E%3Cpath d='M12 3c4 5 7 8.6 7 12a7 7 0 0 1-14 0c0-3.4 3-7 7-12Z'/%3E%3C/svg%3E"); }
.sp.energy::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f0b765' stroke-width='.5'%3E%3Cpath d='M13 2.5 4.5 13.5h6.5l-1 8 8.5-11h-6.5l1-8Z'/%3E%3C/svg%3E"); }
.sp header { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: center; }
.sp-mark { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: rgba(94, 234, 212, 0.14); color: var(--water-on-dark); }
.sp.energy .sp-mark { background: rgba(240, 183, 101, 0.15); color: var(--energy-on-dark); }
.sp-mark svg { width: 28px; height: 28px; }
.sp h3 { font: 800 clamp(1.6rem, 2.6vw, 2.1rem) / 1.05 var(--f-display); letter-spacing: -0.02em; color: #fff; }
.sp header p { color: #a9bfca; font-size: 0.95rem; margin-top: 4px; }
.sp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.sp-list a { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; padding: 11px 12px; margin-inline: -12px; border-radius: 12px; color: inherit; text-decoration: none; transition: background 160ms ease; }
.sp-list a:hover, .sp-list a:focus-visible { background: rgba(255, 255, 255, 0.06); }
.sp-list .icon { width: 40px; height: 40px; border-radius: 11px; background: rgba(94, 234, 212, 0.1); color: var(--water-on-dark); }
.sp.energy .sp-list .icon { background: rgba(240, 183, 101, 0.12); color: var(--energy-on-dark); }
.sp-list .icon svg { width: 20px; height: 20px; }
.sp-list b { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: #fff; font-weight: 600; }
.sp-list small { display: block; color: #9fb7c2; font-size: 0.86rem; margin-top: 2px; }
.pst { font: 500 0.62rem var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; font-style: normal; padding: 2px 8px; border-radius: 999px; }
.pst.live { color: #062f2b; background: var(--water-on-dark); }
.sp.energy .pst.live { color: #2a1a05; background: var(--energy-on-dark); }
.pst.soon { color: #b6c6cf; border: 1px solid rgba(230, 238, 242, 0.22); }
.sp-ground { display: grid; gap: 4px; padding-top: 14px; border-top: 1px solid rgba(230, 238, 242, 0.1); }
.sp-ground > span { font: 500 0.68rem var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: #9fb3bf; }
.sp-ground .icon { background: rgba(230, 238, 242, 0.08) !important; color: #b6c6cf !important; }
.sp-more { justify-self: start; font-weight: 600; color: var(--water-on-dark); text-decoration: none; }
.sp.energy .sp-more { color: var(--energy-on-dark); }

/* solutions grouped by sector */
.sol-sectors { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; align-items: start; }
.sol-side { display: grid; gap: 20px; }
.sol-sector { padding: clamp(18px, 2.4vw, 26px); border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.sec-h { display: flex; align-items: center; gap: 12px; font-size: 1.3rem; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 2px solid var(--brand); }
.sec-h.energy { border-bottom-color: var(--energy); }
.sec-h.ground { border-bottom-color: var(--muted); }
.sol-list { list-style: none; margin: 0; padding: 0; display: grid; }
.sol-list li + li { border-top: 1px solid var(--line); }
.sol-list a { display: grid; grid-template-columns: 40px 1fr 16px; gap: 14px; align-items: center; padding: 12px 8px; margin-inline: -8px; border-radius: 10px; color: inherit; text-decoration: none; }
.sol-list a::after { content: "→"; color: var(--muted); transition: transform 160ms ease; }
.sol-list a:hover { background: color-mix(in srgb, var(--brand) 6%, transparent); }
.sol-list a:hover::after { transform: translateX(3px); color: var(--brand); }
.sol-list .icon { width: 40px; height: 40px; }
.sol-list .icon svg { width: 20px; height: 20px; }
.sol-list b { display: block; font-weight: 600; }
.sol-list small { display: block; color: var(--muted); font-size: 0.88rem; margin-top: 1px; }

/* hydropower spotlight */
.hp-spot { background: radial-gradient(90% 120% at 100% 0%, #3d2a10 0%, #14212a 45%, #0b1a22 100%); }
.hp-grid { align-items: center; gap: clamp(26px, 4vw, 54px); }
.hp-copy { display: grid; gap: 18px; }
.hp-copy h2 { color: #fff; }
.hp-copy .check-list li { color: #d2e0e6; }
.hp-copy .check-list li::before { color: var(--energy-on-dark); }
.hp-fig { margin: 0; padding: 16px 16px 12px; border-radius: 20px; background: #0b1f2a; border: 1px solid rgba(240, 183, 101, 0.22); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.hp-fig svg { display: block; width: 100%; height: auto; }
.hp-fig text { font-family: var(--f-mono); font-size: 11px; fill: #8fb0be; }
.hp-fig text.z { fill: #c9d7de; font-family: var(--f-body); font-size: 12px; font-weight: 600; }
.hp-fig text.lv { fill: #8fb0be; }
.hp-fig text.ax { fill: #8fb0be; }
.hp-fig text.call { fill: #fca5a5; font-family: var(--f-body); font-size: 13px; font-weight: 700; }
.hp-fig text.ok { fill: #5eead4; font-family: var(--f-body); font-size: 13px; font-weight: 700; }
.hp-fig figcaption { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 10px 4px 0; font-size: 0.8rem; color: #a9bfca; }
.hp-fig figcaption span { display: inline-flex; align-items: center; gap: 7px; }
.hp-fig figcaption i { width: 16px; height: 3px; border-radius: 2px; display: inline-block; }
.hp-fig figcaption i.dash { background: repeating-linear-gradient(90deg, #f87171 0 5px, transparent 5px 8px) !important; }
.hp-fig figcaption .note { margin-left: auto; color: #6f8a97; font-style: italic; }

/* soon cards: six in development */
.soon-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.soon .icon.ochre ~ .more { color: var(--energy-ink); }

/* footer: staff entry to the admin console */
.team-link { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.team-link svg { width: 14px; height: 14px; }
.team-link:hover { color: #fff !important; }

@media (max-width: 980px) {
  .sector-panels, .sol-sectors { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .hero-split { grid-template-columns: 1fr; gap: 14px; }
  .hp-fig figcaption .note { margin-left: 0; }
  .soon-grid { grid-template-columns: 1fr; }
}
.eyebrow.energy-ink { color: var(--energy-ink); }
.pst.soon { background: transparent; }

/* ---- v7: KAI Academy */
.acad-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0; }
.acad-stats div { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow); }
.acad-stats dt { font: 700 1.6rem/1.1 var(--f-display); color: var(--brand); }
.acad-stats dd { margin: 4px 0 0; color: var(--muted); font-size: 0.86rem; }
.acad-track { margin-top: 34px; }
.acad-track:first-of-type { margin-top: 8px; }
.acad-head { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.acad-head > div { flex: 1; min-width: 0; }
.acad-head h3 { margin: 2px 0 2px; font: 700 1.25rem/1.2 var(--f-display); }
.acad-head p { margin: 0; color: var(--muted); font-size: 0.88rem; }
.acad-head .icon { flex: none; margin: 0; }
.acad-head .pst.live { color: #fff; background: var(--brand); }
.acad-head .pst.soon { color: var(--muted); border: 1px solid var(--line); }
.acad-track.energy .sec-tag { color: var(--energy-ink, #8a5a1c); }
.tut-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.tut { display: flex; flex-direction: column; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; box-shadow: var(--shadow); }
.tut-top { display: flex; align-items: baseline; gap: 10px; font: 500 0.72rem var(--f-mono); color: var(--muted); letter-spacing: 0.02em; }
.tut-top b { font: 700 1.05rem var(--f-display); color: var(--brand); }
.tut h4 { margin: 0; font: 700 1.05rem/1.3 var(--f-display); }
.tut h4 a { color: inherit; text-decoration: none; }
.tut h4 a:hover { color: var(--brand); }
.tut p { margin: 0; color: var(--ink-2); font-size: 0.9rem; line-height: 1.55; flex: 1; }
.tut-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tut-chips span { font: 500 0.7rem var(--f-mono); color: var(--ink-2); background: var(--surface-2); border-radius: 999px; padding: 3px 9px; }
.tut-links { display: flex; flex-wrap: wrap; gap: 8px 16px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 0.86rem; font-weight: 600; }
.tut-links a { color: var(--brand); text-decoration: none; }
.tut-links a:hover { text-decoration: underline; }
.tut.soon { background: transparent; box-shadow: none; border-style: dashed; }
.tut.soon h4, .tut.soon p { color: var(--muted); }
.acad-code { margin: 0; background: #07141b; color: #d7e6ec; border-radius: 16px; padding: 20px 22px; font: 0.82rem/1.75 var(--f-mono); overflow-x: auto; border: 1px solid rgba(230, 238, 242, 0.1); }
.acad-code span { color: #7f97a3; }
.acad-next { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.acad-next > div:first-child { flex: 1 1 380px; }
.acad-next h3 { margin: 6px 0; }
.acad-next p { margin: 0; }
@media (max-width: 820px) {
  .acad-stats { grid-template-columns: repeat(2, 1fr); }
  .acad-head { flex-wrap: wrap; }
}
.tut-chips span.data { background: transparent; border: 1px solid var(--line); color: var(--muted); }
.tut.soon .tut-top span { font-size: 0.68rem; }

/* ---- v8: KAI hexagon mark and product icons */
.picon { display: block; flex: none; object-fit: contain; }
.sp-list a .picon { width: 38px; height: 38px; justify-self: center; }
.soon > .picon { margin-bottom: 4px; }
.pkg-h { display: flex; align-items: center; gap: 10px; }
.pkg-h .picon { width: 34px; height: 34px; }
.ph-title { display: flex; align-items: center; gap: 16px; }
.ph-icon { width: 58px; height: 58px; filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.35)); }
@media (max-width: 640px) { .ph-icon { width: 44px; height: 44px; } .ph-title { gap: 12px; } }
.cowork-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: cw; }
.cowork-grid li { list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; box-shadow: var(--shadow); }
.cowork-grid li::before { counter-increment: cw; content: "0" counter(cw); display: block; font: 700 1.05rem var(--f-display); color: var(--brand); margin-bottom: 8px; }
.cowork-grid h3 { margin: 0 0 6px; font: 700 1.08rem/1.25 var(--f-display); }
.cowork-grid p { margin: 0; color: var(--ink-2); font-size: 0.92rem; line-height: 1.55; }
.cowork-note { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 18px; color: var(--muted); font-size: 0.9rem; }
.cowork-note span::before { content: "✓"; color: var(--brand); font-weight: 700; margin-right: 7px; }
.cowork-grid { padding: 0; margin: 0; }
@media (max-width: 900px) { .cowork-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cowork-grid { grid-template-columns: 1fr; } }
.brand-mark { width: 40px; height: 40px; }
