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

:root {
  --black: #000000;
  --ink: #0d0d0d;
  --paper: #f2f1ed;
  --white: #ffffff;
  --text: #f5f5f3;
  --text-muted: #9a9a96;
  --text-dark: #111111;
  --text-dark-muted: #5c5c58;
  --line: rgba(255, 255, 255, 0.16);
  --line-dark: rgba(0, 0, 0, 0.14);
  --live: #3ddc84;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 10px;
  --glass: rgba(255, 255, 255, 0.045);
  --glass-strong: rgba(255, 255, 255, 0.08);
  --glass-line: rgba(255, 255, 255, 0.14);
  --glass-hi: inset 0 1px 0 rgba(255, 255, 255, 0.09);
  --glass-blur: blur(18px) saturate(140%);
  --loop: 12s;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--black);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--white);
  color: var(--black);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.label {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

/* ── Nav ─────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--black);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--white);
  text-decoration: none;
}

/* Vector wordmark: the O is the logo, so it does not depend on a font */
.nav-logo img,
.footer-logo img {
  display: block;
  width: auto;
  height: 20px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--white);
}

.lang-toggle {
  background: none;
  border: 1px solid var(--line);
  color: var(--text);
  padding: 0.35rem 0.6rem;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  transition: border-color 0.15s;
}

.lang-toggle:hover {
  border-color: var(--white);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0.25rem;
}

/* ── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.95rem 1.4rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--white);
  background: var(--white);
  color: var(--black);
  transition: background 0.15s, color 0.15s;
}

.btn:hover {
  background: transparent;
  color: var(--white);
}

.btn svg {
  width: 16px;
  height: 16px;
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: var(--white);
}

/* ── Hero ────────────────────────────────────────── */
.hero {
  padding-top: 68px;
  background: var(--black);
}

/* Centred copy, then the product window */
.hero-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: clamp(4rem, 9vw, 7rem);
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: var(--white);
  max-width: 15ch;
  margin-bottom: 1.25rem;
  text-wrap: balance;
}

.hero-sub {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 46ch;
  margin-bottom: 2rem;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

/* ── Sections shared ────────────────────────────── */
section {
  position: relative;
}

.block {
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.block-head {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.block-title {
  font-size: clamp(2rem, 4.6vw, 4rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 20ch;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── Light sections ──────────────────────────────── */
.light {
  background: var(--paper);
  color: var(--text-dark);
}

.light .label {
  color: var(--text-dark-muted);
}

.light .block-head {
  border-top-color: var(--line-dark);
}

.light .block-title {
  color: var(--text-dark);
  max-width: 22ch;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dark-muted);
  margin-top: 1.5rem;
}

.status::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 3px rgba(61, 220, 132, 0.2);
}

.columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark);
}

.column {
  padding: 1.75rem 2rem 0 0;
}

.column + .column {
  border-left: 1px solid var(--line-dark);
  padding-left: 2rem;
}

.column .num {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-dark-muted);
  display: block;
  margin-bottom: 2.5rem;
}

.column h3 {
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

.column p {
  color: var(--text-dark-muted);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 34ch;
}


/* ── Approach (dark) ─────────────────────────────── */
.approach {
  background: var(--black);
}

.approach .block-title {
  color: var(--white);
}

.block-lede {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-top: 1.25rem;
  max-width: 52ch;
}

/* Simplified schema: users → Optimizer → FDE → AI system, with a return loop */
.flow {
  display: grid;
  grid-template-columns: 1fr 6.5rem 1fr 6.5rem 1fr 6.5rem 1fr;
}

.flow-node {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.25rem 1.25rem 1.5rem;
  border: 1px solid var(--line);
  background: var(--black);
}

.flow-node--agent {
  border-color: var(--white);
  background: var(--ink);
}

.flow-node h3 {
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--white);
}

.flow-node p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.flow-arrow {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-arrow::before {
  content: '';
  position: absolute;
  left: 0.5rem;
  right: 0.6rem;
  top: 50%;
  height: 1px;
  background: var(--text-muted);
}

.flow-arrow::after {
  content: '';
  position: absolute;
  right: 0.6rem;
  top: 50%;
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--text-muted);
  border-right: 1px solid var(--text-muted);
  transform: translateY(-50%) rotate(45deg);
}

.flow-arrow span {
  position: relative;
  max-width: 100%;
  padding: 0 0.4rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  transform: translateY(-1.4rem);
}

/* Approval is the one step that waits for the customer */
.flow-arrow--gate span {
  color: var(--white);
}

.flow-arrow--gate span::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 0.4rem;
  border-radius: 50%;
  background: var(--live);
  vertical-align: 0.05em;
}

/* Return path from the last node back to the first, centered under each */
.flow-loop {
  position: relative;
  height: 2.75rem;
  margin: 0 calc((100% - 19.5rem) / 8);
  border: 1px solid var(--text-muted);
  border-top: none;
}

.flow-loop::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 0;
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--text-muted);
  border-left: 1px solid var(--text-muted);
  transform: rotate(45deg);
}

.flow-loop span {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);
  padding: 0 0.75rem;
  background: var(--black);
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  white-space: nowrap;
}

.agents {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(3.5rem, 7vw, 5rem);
  border-top: 1px solid var(--line);
}

.agent {
  padding: 1.75rem 2rem 0 0;
}

.agent + .agent {
  border-left: 1px solid var(--line);
  padding-left: 2rem;
}

.agent .num {
  display: block;
  margin-bottom: 2rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.agent h3 {
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.agent p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 36ch;
}

.product-more {
  margin-top: 3rem;
}

/* Two rows of three: create the journey, then keep it improving */
.flow--3 {
  grid-template-columns: 1fr 6.5rem 1fr 6.5rem 1fr;
}

.flow-row-label {
  display: block;
  margin-bottom: 1rem;
}

.flow-row-label--second {
  margin-top: 3rem;
}

.flow-loop--3 {
  margin: 0 calc((100% - 13rem) / 6);
}

/* ── Positioning band ────────────────────────────── */
.band {
  background: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.band-title {
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
  max-width: 24ch;
}

.band-head .block-lede {
  max-width: 60ch;
}

.band-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  background: var(--line);
  border: 1px solid var(--line);
}

.band-grid li {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.25rem 1.25rem 1.5rem;
  background: var(--black);
  color: var(--white);
  font-size: 1.1rem;
}

.band-grid .band-ottimai {
  background: var(--white);
  color: var(--black);
}

.band-grid .band-ottimai .label {
  color: var(--black);
}

.light-lede {
  color: var(--text-dark-muted);
  font-size: 1.15rem;
  margin-top: 1.5rem;
  max-width: 52ch;
}

.block-head--tight {
  margin-bottom: 0;
}

/* ── Full schema (product page) ──────────────────── */
.system-section {
  padding: 0 0 clamp(5rem, 10vw, 9rem);
}

.system-section--first {
  padding-top: calc(64px + clamp(4rem, 9vw, 8rem));
}

/* Overview loop: from the Optimizer back to the journey map (3rd and 4th of 4 nodes) */
.flow-loop--back {
  margin: 0 calc((100% - 19.5rem) / 8) 0 calc((100% - 19.5rem) * 5 / 8 + 13rem);
}

a.flow-node {
  text-decoration: none;
  transition: background 0.2s ease;
}

a.flow-node:hover,
a.flow-node:focus-visible {
  background: var(--black);
}

/* One section per agent, alternating backgrounds */
.agent-section {
  background: var(--black);
}

.agent-section .block-title {
  color: var(--white);
}

.agent-section--ink {
  background: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.agent-section--ink .sub {
  background: var(--black);
}

.io {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 1rem;
  color: var(--text);
}

.io .label {
  min-width: 5rem;
}

.io--out {
  margin-top: 1.75rem;
}

.substeps.substeps--row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 0;
}

.substeps--row .sub {
  grid-template-columns: 1fr;
  align-content: start;
}

.substeps--row .sub p {
  grid-column: auto;
}

/* Arrows run left to right between the cards in a row */
.substeps--row .sub + .sub::before {
  left: calc(-1.75rem - 1px);
  top: 1.5rem;
  width: 1.75rem;
  height: 1px;
}

.substeps--row .sub + .sub::after {
  left: -0.65rem;
  top: calc(1.5rem - 3px);
  transform: rotate(-45deg);
}

.substeps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 1.75rem;
}

.sub {
  position: relative;
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.2rem 0.75rem;
  padding: 0.9rem 1rem 1rem;
  border: 1px solid var(--line);
  background: var(--black);
}

/* Down arrow between consecutive sub-agents */
.sub + .sub::before {
  content: '';
  position: absolute;
  left: 1.5rem;
  top: calc(-1.75rem - 1px);
  height: 1.75rem;
  width: 1px;
  background: var(--text-muted);
}

.sub + .sub::after {
  content: '';
  position: absolute;
  left: calc(1.5rem - 3px);
  top: -0.6rem;
  width: 6px;
  height: 6px;
  border-right: 1px solid var(--text-muted);
  border-bottom: 1px solid var(--text-muted);
  transform: rotate(45deg);
}

.sub .num {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  padding-top: 0.2rem;
}

.sub h4 {
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--white);
}

.sub p {
  grid-column: 2;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.sub--gate {
  border: 1px dashed var(--live);
  background: transparent;
}

.sub--gate .num {
  color: var(--live);
}

.system-interfaces,
.system-foundation {
  margin-top: 3rem;
}

.system-interfaces > .label,
.system-foundation > .label {
  display: block;
  margin-bottom: 1rem;
}

.system-ui-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.system-ui {
  padding: 1.25rem 1.5rem 1.5rem;
  background: var(--black);
}

.system-ui h4 {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.system-ui p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chips li {
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--text);
}

/* ── Page head (sub-pages) ───────────────────────── */
.page-head {
  background: var(--black);
  padding: calc(64px + clamp(4rem, 9vw, 8rem)) 0 clamp(3rem, 6vw, 5rem);
}

.page-head .block-head {
  margin-bottom: 0;
}

.page-head h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  max-width: 16ch;
}

.page-head p {
  color: var(--text-muted);
  font-size: 1.15rem;
  margin-top: 1.5rem;
  max-width: 48ch;
}

/* ── Use-case gallery ────────────────────────────── */
.cases {
  background: var(--black);
}

.cases .block-title {
  color: var(--white);
}

.cases-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-top: 1.25rem;
  max-width: 48ch;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.case {
  display: flex;
  flex-direction: column;
  background: var(--black);
  color: var(--text);
  text-decoration: none;
}

.case-visual {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  overflow: hidden;
  position: relative;
}

.case-visual > * {
  transition: transform 0.4s ease;
}

.case:hover .case-visual > * {
  transform: scale(1.04);
}

.case-visual--agendo {
  background: linear-gradient(160deg, #FBFBFB 0%, #F9DEDC 60%, #f0eaf6 100%);
}

.case-visual--agendo img {
  width: 34%;
  max-width: 130px;
  border-radius: 14px;
  border: 2px solid #ffffff;
  box-shadow: 0 18px 40px rgba(229, 100, 143, 0.22), 0 8px 20px rgba(46, 38, 35, 0.14);
}

.case-visual--solectio {
  background: #f8f7f4;
}

.case-bars {
  width: 62%;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.25rem;
  background: #ffffff;
  border: 1px solid #e0dfda;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.case-bars span {
  display: block;
  height: 6px;
  border-radius: 3px;
}

.case-visual--yours {
  border-bottom: 1px solid var(--line);
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: -1px -1px;
}

.case-plus {
  width: 56px;
  height: 56px;
  border: 1px solid var(--white);
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 300;
}

.case-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.5rem 1.75rem;
}

.case-body .label {
  margin-bottom: 0.9rem;
}

.case-body h3 {
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.case-body p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.55;
  margin-bottom: 1.75rem;
}

.case-link {
  margin-top: auto;
  font-size: 0.9rem;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.case-link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.2s;
}

.case:hover .case-link svg {
  transform: translateX(4px);
}

/* ── Product sections (per-product visual identity) ── */
.product-section {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 1.5rem;
}

.product-section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.product-section-info {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.product-section-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.product-section-logo {
  width: 30px;
  height: 42px;
  display: block;
  flex-shrink: 0;
}

.product-section-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.product-section-icon svg {
  width: 20px;
  height: 20px;
}

.product-section-wordmark {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
}

.product-section-headline {
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

.product-section-desc {
  font-size: 0.98rem;
  line-height: 1.65;
  margin: 0;
  max-width: 32rem;
}

.product-section-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  align-self: flex-start;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.product-section-cta:hover {
  transform: translateY(-2px);
}

.product-section-cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.product-section-cta:hover svg {
  transform: translate(2px, -2px);
}

.product-section-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Agendo: warm cream → peach → lavender, Arya + Montserrat ── */
.product-section--agendo {
  background: linear-gradient(160deg, #FBFBFB 0%, #F9DEDC 60%, #f0eaf6 100%);
  color: #2E2623;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}

.product-section--agendo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 35%, rgba(229, 100, 143, 0.12) 0%, transparent 55%);
  pointer-events: none;
}

.product-section--agendo .product-section-wordmark {
  font-family: 'Arya', serif;
  color: #2E2623;
}

.product-section--agendo .product-section-headline {
  font-family: 'Arya', serif;
  background: linear-gradient(90deg, #E5648F, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.product-section--agendo .product-section-desc {
  color: #50606D;
  font-weight: 400;
}

.product-section--agendo .product-section-cta {
  background: #E5648F;
  color: #FFFFFF;
  padding: 0.7rem 1.35rem;
  border-radius: 22px;
  box-shadow: 0 4px 14px rgba(229, 100, 143, 0.30);
}

.product-section--agendo .product-section-cta:hover {
  background: #C94D75;
  box-shadow: 0 8px 22px rgba(229, 100, 143, 0.40);
}

.phone-stack {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  position: relative;
}

.phone-screenshot {
  width: 92px;
  height: auto;
  border-radius: 16px;
  border: 2.5px solid #ffffff;
  box-shadow: 0 16px 40px rgba(229, 100, 143, 0.14), 0 8px 22px rgba(46, 38, 35, 0.12);
  display: block;
  background: #ffffff;
  transform: translateY(14px) scale(0.92);
  opacity: 0.95;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.phone-screenshot--lead {
  width: 125px;
  z-index: 2;
  transform: translateY(0) scale(1);
  opacity: 1;
  box-shadow: 0 22px 48px rgba(229, 100, 143, 0.26), 0 12px 30px rgba(46, 38, 35, 0.18);
}

/* ── Solectio: clean cream, DM Sans + JetBrains Mono ── */
.product-section--solectio {
  background: #f8f7f4;
  color: #1a1a1a;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.product-section--solectio .product-section-icon {
  background: #0f172a;
  color: #fde68a;
}

.product-section--solectio .product-section-wordmark {
  color: #1a1a1a;
  letter-spacing: -0.02em;
}

.product-section--solectio .product-section-headline {
  color: #1a1a1a;
  font-weight: 700;
  font-size: 1.95rem;
  letter-spacing: -0.025em;
}

.product-section--solectio .product-section-desc {
  color: #64748b;
}

.product-section--solectio .product-section-cta {
  background: #ea580c;
  color: #ffffff;
  padding: 0.7rem 1.35rem;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.25);
}

.product-section--solectio .product-section-cta:hover {
  background: #c2410c;
  box-shadow: 0 8px 22px rgba(234, 88, 12, 0.35);
}

/* Solectio panel-comparison preview */
.solectio-preview {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e0dfda;
  padding: 1.25rem;
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.08), 0 10px 24px rgba(15, 23, 42, 0.04);
  width: 100%;
  max-width: 380px;
  font-family: 'DM Sans', sans-serif;
}

.solectio-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #f1efe9;
}

.solectio-preview-title {
  font-size: 0.7rem;
  font-weight: 700;
  color: #334155;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.solectio-preview-meta {
  font-size: 0.75rem;
  color: #64748b;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}

.solectio-panel-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid #f8f7f4;
}

.solectio-panel-row:last-child {
  border-bottom: none;
}

.solectio-panel-swatch {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  flex-shrink: 0;
}

.solectio-panel-name {
  font-size: 0.85rem;
  color: #1a1a1a;
  font-weight: 500;
  white-space: nowrap;
}

.solectio-panel-bar-track {
  flex: 1;
  height: 5px;
  background: #f1efe9;
  border-radius: 3px;
  overflow: hidden;
  margin: 0 0.25rem;
  min-width: 40px;
}

.solectio-panel-bar {
  height: 100%;
  border-radius: 3px;
}

.solectio-panel-value {
  font-size: 0.8rem;
  color: #334155;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  flex-shrink: 0;
  min-width: 55px;
  text-align: right;
}

/* Shared mockup link wrapper (used by both product sections) */
.product-mockup-link {
  display: inline-block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.product-mockup-link:hover {
  transform: translateY(-6px);
}

.product-mockup-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 8px;
  border-radius: 16px;
}


/* ── Built by (team page) ────────────────────────── */
.people {
  background: var(--black);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.person {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 2rem;
  padding: 2.5rem 0 3.5rem;
  border-top: 1px solid var(--line);
}

.person-portrait {
  width: 100%;
  max-width: 260px;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  background: var(--ink);
}

.person-main .label {
  display: block;
  margin-bottom: 1rem;
}

.person-main h2 {
  font-size: clamp(2.25rem, 4.6vw, 4rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.person-bio {
  max-width: 60ch;
}

.person-bio p {
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.6;
}

.person-bio p + p {
  margin-top: 1rem;
}

.facts {
  list-style: none;
  margin-top: 2.5rem;
  border-top: 1px solid var(--line);
  max-width: 60ch;
}

.facts li {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1.5rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
}

.facts .label {
  margin: 0;
  padding-top: 0.2rem;
}

.person-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.person-links .btn {
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
}

/* ── Contact ─────────────────────────────────────── */
.contact {
  background: var(--black);
}

.contact .block-title {
  color: var(--white);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  max-width: 16ch;
  margin-bottom: 2.5rem;
}

.contact-desc {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 48ch;
  margin: -1rem 0 2.5rem;
}

/* ── Footer ──────────────────────────────────────── */
footer {
  background: var(--black);
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 2rem;
  align-items: start;
}

.footer-logo {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-col .label {
  display: block;
  margin-bottom: 0.6rem;
}

.footer-col p,
.footer-col a {
  color: var(--text);
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-col a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Mobile ──────────────────────────────────────── */
@media (max-width: 900px) {
  .person {
    grid-template-columns: 1fr;
  }

  .person-portrait {
    max-width: 200px;
  }

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

  .block-head {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

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

  .column,
  .column + .column {
    border-left: none;
    padding: 1.75rem 0 2rem;
  }

  .column + .column {
    border-top: 1px solid var(--line-dark);
  }

  .column .num {
    margin-bottom: 1rem;
  }

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

  .flow-arrow {
    height: 3.25rem;
    justify-content: flex-start;
  }

  .flow-arrow::before {
    left: 2rem;
    right: auto;
    top: 0.3rem;
    bottom: 0.3rem;
    width: 1px;
    height: auto;
  }

  .flow-arrow::after {
    left: calc(2rem - 3px);
    right: auto;
    top: auto;
    bottom: 0.3rem;
    transform: rotate(135deg);
  }

  .flow-arrow span {
    margin-left: 2.5rem;
    transform: none;
    text-align: left;
  }

  .flow-loop {
    height: auto;
    margin: 1.25rem 0 0;
    border: none;
  }

  .flow-loop::before {
    display: none;
  }

  .flow-loop span {
    position: static;
    transform: none;
    padding: 0;
    white-space: normal;
  }

  .flow-loop span::before {
    content: '\21BA\00A0\00A0';
    color: var(--white);
  }

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

  .agent,
  .agent + .agent {
    border-left: none;
    padding: 1.75rem 0 2rem;
  }

  .agent + .agent {
    border-top: 1px solid var(--line);
  }

  .agent .num {
    margin-bottom: 1rem;
  }

  .substeps.substeps--row {
    grid-template-columns: 1fr;
  }

  .substeps--row .sub + .sub::before {
    left: 1.5rem;
    top: calc(-1.75rem - 1px);
    width: 1px;
    height: 1.75rem;
  }

  .substeps--row .sub + .sub::after {
    left: calc(1.5rem - 3px);
    top: -0.6rem;
    transform: rotate(45deg);
  }

  .flow-loop--back {
    margin: 1.25rem 0 0;
  }

  .system-ui-grid {
    grid-template-columns: 1fr;
  }

  .flow-loop--3 {
    margin: 1.25rem 0 0;
  }

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

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: var(--black);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0 2rem;
    gap: 2rem;
    transition: right 0.25s ease;
    border-left: 1px solid var(--line);
    z-index: 200;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 0.9rem;
  }

  .mobile-menu-btn {
    display: block;
    z-index: 300;
  }

  .mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 150;
  }

  .mobile-overlay.open {
    display: block;
  }

  .product-section {
    padding: 3.5rem 1.25rem;
  }

  .product-section-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .product-section-visual {
    order: -1;
  }

  .product-section-headline {
    font-size: 1.8rem;
  }

  .product-section--solectio .product-section-headline {
    font-size: 1.7rem;
  }
}

@media (max-width: 600px) {
  .case-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .facts li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .product-section-headline,
  .product-section--solectio .product-section-headline {
    font-size: 1.8rem;
  }

  .product-section-wordmark {
    font-size: 1.7rem;
  }

  .phone-screenshot {
    width: 90px;
    border-radius: 16px;
    border-width: 2px;
  }

  .phone-screenshot--lead {
    width: 120px;
  }

  .solectio-panel-name {
    font-size: 0.8rem;
  }

  .solectio-panel-value {
    font-size: 0.75rem;
    min-width: 48px;
  }
}

/* ── Glass and motion ───────────────────────────── */

/* Ambient light behind the glass: two soft glows drifting slowly */
.hero,
.approach,
.band,
.agent-section,
.contact {
  isolation: isolate;
  overflow: hidden;
}

.hero::before,
.approach::before,
.band::before,
.agent-section::before,
.contact::before {
  content: '';
  position: absolute;
  inset: -20%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(38% 32% at 78% 30%, rgba(255, 255, 255, 0.09), transparent 70%),
    radial-gradient(34% 30% at 18% 78%, rgba(61, 220, 132, 0.07), transparent 70%);
  animation: ambient-drift 28s ease-in-out infinite alternate;
}

.band::before,
.agent-section--ink::before,
.approach.agent-section--ink::before {
  background:
    radial-gradient(36% 30% at 20% 25%, rgba(255, 255, 255, 0.07), transparent 70%),
    radial-gradient(30% 28% at 85% 80%, rgba(61, 220, 132, 0.05), transparent 70%);
}

@keyframes ambient-drift {
  from { transform: translate3d(-3%, -2%, 0) scale(1); }
  to { transform: translate3d(3%, 2%, 0) scale(1.08); }
}

.flow-node,
.flow-node--agent,
.sub,
.agent-section--ink .sub,
.system-ui,
.chips li {
  background: var(--glass);
  border-color: var(--glass-line);
  border-radius: var(--radius);
  box-shadow: var(--glass-hi);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
}

.flow-node--agent {
  background: var(--glass-strong);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: var(--glass-hi), 0 18px 50px -20px rgba(0, 0, 0, 0.8);
}

a.flow-node:hover,
a.flow-node:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.sub--gate {
  border-color: var(--live);
}

.band-grid {
  gap: 0.75rem;
  background: none;
  border: none;
}

.band-grid li {
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow: var(--glass-hi);
}

.band-grid .band-ottimai {
  background: var(--white);
}

.system-ui-grid {
  gap: 0.75rem;
  background: none;
  border: none;
}

.system-ui {
  border: 1px solid var(--glass-line);
}

.chips li {
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
}

.btn {
  border-radius: 999px;
}

.lang-toggle {
  border-radius: 6px;
}

/* Journey pulses: a light travels along each arrow, one after the other */
.flow-arrow::before,
.sub + .sub::before {
  background-color: rgba(255, 255, 255, 0.3);
  background-image: linear-gradient(90deg, transparent, var(--white), transparent);
  background-size: 40% 100%;
  background-repeat: no-repeat;
  animation: pulse-x 3s ease-in-out infinite;
}

.flow > :nth-child(4)::before { animation-delay: 0.5s; }
.flow > :nth-child(6)::before { animation-delay: 1s; }
.sub:nth-child(3)::before { animation-delay: 0.5s; }
.sub:nth-child(4)::before { animation-delay: 1s; }

/* Vertical arrows between stacked steps */
.substeps:not(.substeps--row) .sub + .sub::before {
  background-image: linear-gradient(180deg, transparent, var(--white), transparent);
  background-size: 100% 40%;
  animation-name: pulse-y;
}

@keyframes pulse-x {
  0% { background-position: -67% 0; }
  60%, 100% { background-position: 167% 0; }
}

@keyframes pulse-y {
  0% { background-position: 0 -67%; }
  60%, 100% { background-position: 0 167%; }
}

/* Loops: a dot runs back along the return path */
.flow-loop::after {
  content: '';
  position: absolute;
  bottom: -3.5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
  animation: loop-back 4s ease-in-out infinite;
}

@keyframes loop-back {
  0% { left: 100%; opacity: 0; }
  10% { opacity: 1; }
  80% { opacity: 1; }
  100% { left: 0; opacity: 0; }
}

.flow-loop span {
  z-index: 1;
  border-radius: 999px;
}

@media (max-width: 900px) {
  .flow-arrow::before,
  .substeps--row .sub + .sub::before {
    background-image: linear-gradient(180deg, transparent, var(--white), transparent);
    background-size: 100% 40%;
    animation-name: pulse-y;
  }

  .flow-loop::after {
    display: none;
  }

  .flow-loop span {
    background: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .approach::before,
  .band::before,
  .agent-section::before,
  .contact::before,
  .flow-arrow::before,
  .sub + .sub::before,
  .flow-loop::after {
    animation: none;
  }

  .flow-loop::after {
    display: none;
  }
}

/* ── Look: one gradient behind everything, glass on top ── */
/* Sections are see-through so the page gradient shows behind the glass */
:root .hero,
:root .approach,
:root .light,
:root .band,
:root .cases,
:root .agent-section,
:root .agent-section--ink,
:root .contact,
:root .people,
:root .page-head {
  background: transparent;
}

:root .hero::before,
:root .approach::before,
:root .band::before,
:root .agent-section::before,
:root .contact::before {
  display: none;
}

:root body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

:root footer {
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
}

:root .band-grid .band-ottimai {
  border-color: transparent;
  background: linear-gradient(135deg, #6366f1, #a855f7 50%, #ec4899);
  color: #fff;
}

:root .band-grid .band-ottimai .label {
  color: rgba(255, 255, 255, 0.85);
}

:root .flow-node--agent {
  border-color: transparent;
  background:
    linear-gradient(var(--glass-solid), var(--glass-solid)) padding-box,
    linear-gradient(135deg, #38bdf8, #8b5cf6, #ec4899) border-box;
  box-shadow: var(--glass-hi);
}

:root .flow-loop span {
  background: var(--glass-solid);
  padding: 0.3rem 0.85rem;
}

:root .case-grid {
  gap: 0.75rem;
  background: none;
  border: none;
}

:root .case {
  overflow: hidden;
  border: 1px solid var(--glass-line);
  border-radius: 20px;
  background: var(--glass);
  box-shadow: var(--glass-hi);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
}

:root .case-visual--yours {
  background-color: transparent;
}

:root .case-plus {
  border-radius: 16px;
  background: var(--glass-solid);
}

:root .person-portrait {
  border-radius: 20px;
}

/* Pastel sky, lilac, pink and peach, white frosted glass */
:root {
  --white: #17142e;
  --black: #ffffff;
  --ink: #ffffff;
  --text: #34314d;
  --text-muted: #646080;
  --text-dark: #17142e;
  --text-dark-muted: #646080;
  --line: rgba(23, 20, 46, 0.12);
  --line-dark: rgba(23, 20, 46, 0.12);
  --live: #0f9f62;
  --surface: #ffffff;
  --glass: rgba(255, 255, 255, 0.5);
  --glass-strong: rgba(255, 255, 255, 0.72);
  --glass-solid: rgba(255, 255, 255, 0.9);
  --glass-line: rgba(255, 255, 255, 0.8);
  --glass-hi: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 20px 50px -28px rgba(70, 45, 140, 0.35);
  --glass-blur: blur(24px) saturate(160%);
}

:root body {
  background: #f6f3fb;
}

:root body::before {
  background:
    radial-gradient(55% 50% at 5% 0%, #bfe6ff 0%, transparent 70%),
    radial-gradient(45% 50% at 95% 5%, #cbbcff 0%, transparent 70%),
    radial-gradient(50% 45% at 62% 48%, #f9cde9 0%, transparent 70%),
    radial-gradient(55% 50% at 8% 100%, #ffe6bf 0%, transparent 70%),
    radial-gradient(45% 45% at 100% 100%, #ffc9b3 0%, transparent 70%);
}

:root ::selection {
  background: #17142e;
  color: #fff;
}

:root .nav-logo img,
:root .footer-logo img {
  filter: invert(1);
}

:root .sub--gate {
  background: rgba(255, 255, 255, 0.35);
}

:root .flow-arrow::before,
:root .sub + .sub::before {
  background-color: rgba(23, 20, 46, 0.2);
  background-image: linear-gradient(90deg, transparent, #8b5cf6, transparent);
}

:root .substeps:not(.substeps--row) .sub + .sub::before {
  background-image: linear-gradient(180deg, transparent, #8b5cf6, transparent);
}

:root .flow-loop::after {
  background: #8b5cf6;
  box-shadow: 0 0 8px rgba(139, 92, 246, 0.6);
}

@media (max-width: 768px) {
  :root .nav-links {
    background: rgba(255, 255, 255, 0.92);
  }

  :root .mobile-overlay {
    background: rgba(23, 20, 46, 0.25);
  }
}

@media (max-width: 900px) {
  :root .flow-arrow::before,
  :root .substeps--row .sub + .sub::before {
    background-image: linear-gradient(180deg, transparent, #8b5cf6, transparent);
  }
}

/* ── Attio-style type, labels and buttons ────────── */
:root {
  --ink-strong: #17142e;
  --raised: #ffffff;
  --hairline: rgba(23, 20, 46, 0.09);
  --shadow-sm: 0 1px 2px rgba(23, 20, 46, 0.06), 0 1px 1px rgba(23, 20, 46, 0.03);
  --shadow-lg: 0 1px 2px rgba(23, 20, 46, 0.04), 0 30px 70px -30px rgba(60, 40, 120, 0.28);
  --warn: #b45309;
}

/* A quieter wash: the gradient stays, the page reads closer to white */
:root body::before {
  opacity: 0.7;
}

/* Labels in plain sentence case instead of monospace capitals */
.label,
.status,
.column .num,
.flow-arrow span,
.flow-loop span,
.agent .num,
.sub .num,
.chips li {
  font-family: var(--sans);
  text-transform: none;
  letter-spacing: -0.005em;
}

.label {
  font-size: 0.875rem;
  font-weight: 500;
}

.column .num,
.agent .num,
.sub .num {
  font-variant-numeric: tabular-nums;
}

.block-title,
.band-title,
.page-head h1,
.person-main h2 {
  font-weight: 600;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.block-title {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  font-weight: 600;
  letter-spacing: -0.015em;
}

.btn {
  gap: 0.5rem;
  padding: 0.62rem 1.05rem;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 10px;
  border: 1px solid var(--ink-strong);
  background: var(--ink-strong);
  color: #fff;
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition: background 0.15s, border-color 0.15s;
}

.btn:hover {
  background: #2c2850;
  border-color: #2c2850;
  color: #fff;
}

.btn svg {
  width: 14px;
  height: 14px;
}

.btn--ghost {
  background: var(--raised);
  color: var(--ink-strong);
  border-color: var(--hairline);
  box-shadow: var(--shadow-sm);
}

.btn--ghost:hover {
  background: #f8f7fb;
  border-color: rgba(23, 20, 46, 0.18);
  color: var(--ink-strong);
}

/* ── Nav: a floating glass bar ───────────────────── */
nav {
  padding: 12px var(--gutter) 0;
  background: none;
  border: none;
  pointer-events: none;
}

/* The glass sits on a pseudo-element: a backdrop-filter on an ancestor
   would trap the fixed mobile menu inside the bar */
.nav-inner {
  position: relative;
  isolation: isolate;
  max-width: 1200px;
  height: 56px;
  padding: 0 0.6rem 0 1.25rem;
  pointer-events: auto;
}

.nav-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 1px 2px rgba(23, 20, 46, 0.05), 0 14px 36px -18px rgba(60, 40, 120, 0.3);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
}

.nav-links {
  gap: 1.75rem;
}

.nav-links a {
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: -0.005em;
  color: var(--text-muted);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink-strong);
}

.lang-toggle {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0;
  padding: 0.38rem 0.55rem;
  border-color: var(--hairline);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--text);
}

.lang-toggle:hover {
  border-color: rgba(23, 20, 46, 0.2);
}

.nav-links .nav-cta {
  padding: 0.5rem 0.9rem;
  font-size: 0.88rem;
  color: #fff;
}

.nav-links .nav-cta:hover {
  color: #fff;
}

.nav-cta-item {
  margin-left: -0.75rem;
}

@media (max-width: 768px) {
  .nav-inner {
    padding: 0 0.75rem 0 1.1rem;
  }

  .nav-links {
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    backdrop-filter: blur(24px) saturate(160%);
  }

  .nav-cta-item {
    margin-left: 0;
  }
}

/* ── Hero: pill, headline, product window ────────── */
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
  padding: 0.32rem 0.8rem;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-sm);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s;
}

.hero-pill:hover {
  border-color: rgba(23, 20, 46, 0.2);
}

.hero-pill svg {
  width: 12px;
  height: 12px;
}

.hero-shot {
  padding-top: clamp(3rem, 6vw, 4.5rem);
  padding-bottom: clamp(3rem, 7vw, 6rem);
}

/* Glass frame around a white app window */
.app-frame {
  max-width: 1080px;
  margin: 0 auto;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: var(--shadow-lg);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
}

.app {
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 13px;
  background: var(--raised);
  color: var(--ink-strong);
  font-size: 0.875rem;
  line-height: 1.45;
  text-align: left;
}

.app-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 44px;
  padding: 0 1rem;
  border-bottom: 1px solid var(--hairline);
}

.app-dots {
  display: flex;
  gap: 6px;
}

.app-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(23, 20, 46, 0.12);
}

.app-crumb {
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.app-crumb b {
  font-weight: 500;
  color: var(--ink-strong);
}

.app-crumb .sep {
  margin: 0 0.35rem;
  opacity: 0.5;
}

.app-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: auto;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: rgba(15, 159, 98, 0.09);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--live);
}

.app-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.app-body {
  display: grid;
  grid-template-columns: 196px minmax(0, 1fr);
}

.app-side {
  padding: 1rem 0.75rem;
  border-right: 1px solid var(--hairline);
  background: #fbfafd;
}

.app-ws {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.6rem;
  font-weight: 600;
}

.app-ws img {
  width: 18px;
  height: 18px;
}

.app-side ul {
  display: grid;
  gap: 2px;
  margin-top: 1rem;
  list-style: none;
}

.app-side li {
  padding: 0.42rem 0.6rem;
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.app-side li.on {
  background: rgba(23, 20, 46, 0.05);
  font-weight: 500;
  color: var(--ink-strong);
}

.app-main {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: start;
  gap: 1.25rem 2rem;
  padding: 1.5rem 1.75rem 1.75rem;
}

.app-head {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 1rem;
}

.app-title {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.app-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.steps {
  display: grid;
  gap: 0.3rem;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr) 3rem;
  align-items: center;
  gap: 0.35rem 0.75rem;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
}

.steps .steps-cols {
  padding-block: 0 0.2rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.steps-cols span:last-child {
  grid-column: 2 / -1;
  text-align: right;
}

.step-pct {
  text-align: right;
}

.step-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(23, 20, 46, 0.06);
}

.step-bar i {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #38bdf8, #8b5cf6);
}

.step-pct {
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.steps .is-flag {
  background: rgba(245, 158, 11, 0.09);
}

.is-flag .step-bar i {
  background: linear-gradient(90deg, #8b5cf6, #f59e0b);
}

.is-flag .step-pct {
  font-weight: 600;
  color: var(--warn);
}

.step-note {
  grid-column: 2 / -1;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--warn);
}

/* The Optimizer's proposal, level with the flagged step */
.suggest {
  display: grid;
  gap: 0.7rem;
  margin-top: 4.6rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--raised);
  box-shadow: 0 1px 2px rgba(23, 20, 46, 0.05), 0 18px 40px -22px rgba(60, 40, 120, 0.35);
}

.suggest-who {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.suggest-who svg {
  width: 16px;
  height: 16px;
}

.suggest-who span + span {
  font-weight: 400;
  color: var(--text-muted);
}

.suggest p {
  color: var(--text);
}

.suggest-test {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--live);
}

.suggest-test svg {
  flex: none;
  width: 14px;
  height: 14px;
}

.suggest-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.4rem;
}

.mini-btn {
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--ink-strong);
  border-radius: 8px;
  background: var(--ink-strong);
  font-size: 0.78rem;
  font-weight: 500;
  color: #fff;
}

.mini-btn--ghost {
  border-color: var(--hairline);
  background: var(--raised);
  color: var(--ink-strong);
}

/* Plays once on load: the bars fill, the weak step is flagged, the fix comes in */
.step-bar i {
  animation: bar-fill 1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: calc(0.4s + var(--i) * 0.12s);
}

.steps .is-flag {
  animation: flag-in 0.6s ease both 1.3s;
}

.step-note {
  animation: fade-in 0.5s ease both 1.4s;
}

.suggest {
  animation: suggest-in 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both 1.8s;
}

@keyframes bar-fill {
  from { width: 0; }
}

@keyframes flag-in {
  from { background: transparent; }
}

@keyframes fade-in {
  from { opacity: 0; }
}

@keyframes suggest-in {
  from { opacity: 0; transform: translateY(14px); }
}

@media (max-width: 900px) {
  .app-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .app-side {
    display: none;
  }
}

@media (max-width: 680px) {
  .app-main {
    grid-template-columns: minmax(0, 1fr);
    padding: 1.1rem 1rem 1.25rem;
  }

  .suggest {
    margin-top: 0;
  }

  .steps li {
    grid-template-columns: 6.25rem minmax(0, 1fr) 2.6rem;
    padding-inline: 0.5rem;
  }

  .app-frame {
    padding: 6px;
    border-radius: 16px;
  }

  .app {
    border-radius: 11px;
  }
}

@media (max-width: 420px) {
  .app-crumb .sep,
  .app-crumb span:first-child {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .step-bar i,
  .steps .is-flag,
  .step-note,
  .suggest {
    animation: none;
  }
}

/* ── Feature cards: live from day one, signals without noise ── */
.features {
  padding-top: 0;
}

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

.feature {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-lg);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
}

.feature-title {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--ink-strong);
  text-wrap: balance;
}

.feature-copy p {
  max-width: 44ch;
  margin-top: 0.75rem;
  color: var(--text-muted);
  text-wrap: pretty;
}

.feature-visual {
  margin-top: auto;
}

.mini-card {
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--raised);
  box-shadow: var(--shadow-sm);
  font-size: 0.85rem;
  color: var(--ink-strong);
}

.mini-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--hairline);
  font-weight: 500;
}

.mini-head .app-live {
  flex: none;
  margin-left: 0;
  white-space: nowrap;
}

.mini-pill {
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.1);
  font-size: 0.75rem;
  font-weight: 500;
  color: #6d3fd9;
  white-space: nowrap;
}

.mini-rows {
  list-style: none;
}

.mini-rows li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
}

.mini-rows li + li {
  border-top: 1px solid var(--hairline);
}

.mini-rows code {
  overflow: hidden;
  font-family: var(--mono);
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-muted {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.mini-ok {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--live);
}

.mini-ok::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.mini-foot {
  padding: 0.6rem 1rem;
  border-top: 1px solid var(--hairline);
  background: #fbfafd;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.mini-rows--rank li {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.mini-num {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(23, 20, 46, 0.05);
  font-size: 0.75rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.mini-issue {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.mini-impact {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

.mini-rows--rank .is-top {
  background: rgba(245, 158, 11, 0.07);
}

.is-top .mini-num {
  background: rgba(245, 158, 11, 0.18);
  color: var(--warn);
}

.is-top .mini-impact {
  color: var(--warn);
}

.feature--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 2rem clamp(2rem, 5vw, 4rem);
}

.feature--wide .feature-visual {
  margin-top: 0;
}







@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

@media (max-width: 480px) {
  .mini-rows li {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .mini-rows li > .mini-muted {
    display: none;
  }

  .mini-rows--rank li {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }
}

/* Category labels above feature and band headings */
.feature > .label,
.feature-copy > .label,
.band-head > .label { display: block; margin-bottom: .75rem; }

/* Conversation review: what happened, the issue, the fix to approve */

.mini-pill--warn {
  background: rgba(245, 158, 11, 0.14);
  color: var(--warn);
}




.review-fix {
  display: grid;
  gap: 0.65rem;
  padding: 0.9rem 1rem 1rem;
  border-top: 1px solid var(--hairline);
  background: #fbfafd;
}

.review-fix p {
  color: var(--text);
}

.review-diff {
  overflow-x: auto;
  margin: 0;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: var(--raised);
  font-family: var(--mono);
  font-size: 0.74rem;
  line-height: 1.6;
}

.review-diff span {
  display: block;
  padding: 0 0.3rem;
  border-radius: 3px;
}

.review-diff .del {
  background: rgba(220, 38, 38, 0.07);
  color: #b42318;
}

.review-diff .add {
  background: rgba(15, 159, 98, 0.08);
  color: #087a4a;
}

/* Why: time spent on one journey, with and without OttimAI */
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 2.5rem clamp(2rem, 5vw, 4.5rem);
}

.why-copy > .label {
  display: block;
  margin-bottom: 0.75rem;
}

.why-copy .block-lede {
  margin-top: 1.25rem;
}

.why-srcs {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.why-src {
  color: var(--text-muted);
  text-decoration: underline;
  text-decoration-color: var(--hairline);
  text-underline-offset: 3px;
}

.why-src:hover {
  color: var(--ink-strong);
}

.time-rows {
  display: grid;
  gap: 1.4rem;
  padding: 1.25rem 1rem 1.4rem;
}

.time-row {
  display: grid;
  gap: 0.55rem;
}

.time-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  font-weight: 500;
}


.time-bar {
  display: flex;
  gap: 2px;
  height: 32px;
}

.time-seg {
  min-width: 0;
  display: grid;
  place-items: center;
  padding: 0 0.3rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.time-map {
  width: 22%;
  background: var(--ink-strong);
}

.time-live {
  flex: 1;
  background: #57526f;
}

.time-ottimai {
  width: 20%;
  background: linear-gradient(90deg, #8b5cf6, #ec4899);
}

.time-saved {
  flex: 1;
  display: grid;
  place-items: center;
  border: 1.5px dashed rgba(109, 63, 217, 0.5);
  border-radius: 4px;
  background: rgba(139, 92, 246, 0.06);
  font-size: 0.78rem;
  font-weight: 600;
  color: #6d3fd9;
  white-space: nowrap;
}

/* Transparency card: the conversation as a trace your team reviews */
.trace {
  list-style: none;
}

.trace li {
  display: grid;
  grid-template-columns: 4.6rem 6.2rem minmax(0, 1fr);
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
}

.trace li + li {
  border-top: 1px solid var(--hairline);
}

.trace-time {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.trace-kind {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.trace .is-cause {
  background: rgba(245, 158, 11, 0.07);
}

.trace .is-cause > span:last-child {
  color: var(--warn);
  font-weight: 500;
}

.trace-tag {
  margin-left: 0.35rem;
  padding: 0.08rem 0.45rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.16);
  font-size: 0.7rem;
}

.trace-bad {
  color: #b42318;
}

@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .trace li {
    grid-template-columns: 5.2rem minmax(0, 1fr);
  }

  .trace-time {
    display: none;
  }
}

/* ── Build with you ─────────────────────────────── */
/* Timing under each step title */

/* The two founders, portrait beside the copy */
.bwy-people {
  margin-top: 2rem;
}

.bwy-person {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1rem;
  align-items: start;
}

.bwy-person img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
}

.bwy-person .label {
  display: block;
  margin-bottom: 0.3rem;
}

.bwy-team-link {
  margin-top: 1.5rem;
}

.bwy-note {
  margin-top: 1.5rem;
}

@media (max-width: 480px) {
  .bwy-person {
    grid-template-columns: 1fr;
  }
}

/* FAQ */
.faq-section {
  background: var(--paper);
}

.faq-list {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 2rem;
}

.faq-list > .faq {
  grid-column: 2;
}

.faq {
  border-top: 1px solid var(--line-dark);
  color: var(--text-dark);
}

.faq:last-child {
  border-bottom: 1px solid var(--line-dark);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 0;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}

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

.faq-icon {
  position: relative;
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto 0;
  height: 1px;
  background: currentColor;
  transition: transform 0.25s ease;
}

.faq-icon::after {
  transform: rotate(90deg);
}

.faq[open] .faq-icon::after {
  transform: rotate(0deg);
}

.faq p {
  padding: 0 0 1.5rem;
  max-width: 62ch;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dark-muted);
}

@media (max-width: 768px) {
  .faq-list {
    grid-template-columns: 1fr;
  }

  .faq-list > .faq {
    grid-column: 1;
  }
}
