/* Dynamiqo — Premium Industrial AI Corporate Site */

:root {
  --ink: #11191d;
  --ink-deep: #071014;
  --ink-mid: #0e1b20;
  --teal: #16d6b5;
  --teal-dim: rgba(22, 214, 181, 0.12);
  --blue: #3e8cff;
  --blue-dim: rgba(62, 140, 255, 0.12);
  --lime: #d8ff3e;
  --bg: #f7f9f8;
  --white: #ffffff;
  --muted: #647177;
  --line: #dce3e5;
  --shadow: 0 16px 48px rgba(7, 16, 20, 0.08);
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --wrap: min(1140px, calc(100% - 48px));
  --content-inset: max(24px, calc((100vw - 1140px) / 2));
  --gutter: 24px;
  --nav-h: 68px;
  --slash: polygon(0 0, 100% 0, 78% 100%, 0 100%);
  --slash-inv: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
}

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

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--teal); color: var(--ink-deep);
  padding: 8px 14px; z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }

.wrap { width: var(--wrap); margin-inline: auto; }

.page-grid {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: var(--content-inset);
}

/* ── Typography ── */
.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
}

h1, h2, h3, h4 {
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.12;
  font-weight: 700;
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
  max-width: 100%;
}

.section-head h2 {
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0;
}

.section-head p.sub {
  color: var(--muted);
  max-width: 48ch;
  margin: 12px auto 0;
  font-size: 0.92rem;
}

/* Reference-style divider: —— TITLE —— */
.section-head .rule {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
  width: 100%;
}

.section-head .rule::before,
.section-head .rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
  max-width: none;
}

.section-head .rule span {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.section-head .eyebrow { display: none; }

.section-head .section-eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

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

.btn-teal {
  background: var(--teal);
  color: var(--ink-deep);
  border-color: var(--teal);
}
.btn-teal:hover { background: #12c4a5; }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-outline:hover {
  border-color: var(--teal);
  color: var(--ink-deep);
}

.btn-dark {
  background: var(--ink-deep);
  color: var(--white);
  border-color: var(--ink-deep);
}
.btn-dark:hover { background: var(--ink-mid); }

/* ── Navbar ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  height: var(--nav-h);
  background: rgba(7, 16, 20, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
  overflow: visible;
}

.nav.is-solid {
  background: rgba(7, 16, 20, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.nav.is-solid .brand { color: var(--white); }
.nav.is-solid .nav-links a { color: rgba(255, 255, 255, 0.72); }
.nav.is-solid .nav-links a:hover,
.nav.is-solid .nav-links a.is-active { color: var(--white); }
.nav.is-solid .menu-btn { color: var(--white); }

.nav-inner {
  width: var(--wrap);
  margin-inline: auto;
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  height: var(--nav-h);
}

.brand-mark {
  height: 48px;
  width: auto;
  max-width: min(280px, 50vw);
  display: block;
  object-fit: contain;
  transition: height 0.2s ease;
}

.brand svg { width: 32px; height: 32px; }

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 8px 11px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.is-active { color: var(--white); }

.nav.is-solid .nav-links a.is-active {
  color: var(--teal);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  justify-self: end;
  margin-left: auto;
}

.nav-actions .btn { padding: 10px 18px; font-size: 0.7rem; }

.menu-btn {
  display: none;
  width: 40px; height: 40px;
  color: var(--white);
  font-size: 1.3rem;
}

.nav-drawer {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--ink-deep);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 20px 20px;
  flex-direction: column;
  gap: 4px;
  z-index: 59;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.nav-drawer.is-open { display: flex; }

.nav-drawer a {
  padding: 12px 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-drawer a:hover { color: var(--teal); }

/* ── Hero — full-bleed industrial visual ── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background: var(--ink-deep);
  color: var(--white);
  display: flex;
  align-items: stretch;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  animation: heroMediaIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  display: block;
  transform: scale(1.02);
  animation: heroKen 18s ease-out both;
  filter: brightness(1.08) contrast(1.04) saturate(1.05);
}

.hero-media-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(7, 16, 20, 0.72) 0%, rgba(7, 16, 20, 0.45) 32%, rgba(7, 16, 20, 0.12) 58%, rgba(7, 16, 20, 0.05) 100%),
    linear-gradient(180deg, rgba(7, 16, 20, 0.18) 0%, transparent 35%, rgba(7, 16, 20, 0.28) 100%);
  pointer-events: none;
}

.hero-media-frame {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.hero-media-frame::before,
.hero-media-frame::after {
  content: "";
  position: absolute;
  background: var(--teal);
}

.hero-media-frame::before {
  top: -1px;
  left: 0;
  width: 72px;
  height: 2px;
}

.hero-media-frame::after {
  bottom: -1px;
  right: 0;
  width: 72px;
  height: 2px;
}

@keyframes heroMediaIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes heroKen {
  from { transform: scale(1.08); }
  to { transform: scale(1.02); }
}

.hero-stage {
  position: relative;
  z-index: 2;
  width: var(--wrap);
  margin-inline: auto;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: calc(var(--nav-h) + 32px) 0 72px;
  box-sizing: border-box;
}

.hero-copy {
  max-width: min(520px, 56%);
  text-align: left;
  text-shadow: 0 2px 24px rgba(7, 16, 20, 0.45);
}

.hero-enter {
  animation: heroCopyIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

@keyframes heroCopyIn {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

.hero-copy .eyebrow {
  color: var(--teal);
  margin-bottom: 18px;
}

.hero-wordmark {
  margin: 0 0 20px;
  font-size: clamp(3.2rem, 8.5vw, 6.2rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.92;
  text-transform: uppercase;
  color: var(--white);
}

.hero-headline {
  margin: 0 0 14px;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.92);
  max-width: 22ch;
}

.hero-support {
  margin: 0 0 28px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.62);
  max-width: 40ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 28px;
  height: 44px;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  display: grid;
  place-items: start center;
  padding-top: 8px;
  transition: border-color 0.2s;
}

.hero-scroll:hover { border-color: var(--teal); }

.hero-scroll span {
  width: 4px;
  height: 8px;
  border-radius: 4px;
  background: var(--teal);
  animation: scrollPulse 1.6s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(10px); opacity: 1; }
}

}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* ── Sections ── */
.cap-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 16px;
}

.pricing-note {
  margin-top: 28px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 52ch;
  margin-inline: auto;
}

/* ── Pricing (Dynamiqo theme) ── */
.pricing-section {
  position: relative;
  overflow: hidden;
}

.pricing-section::before {
  content: "";
  position: absolute;
  right: -6%;
  top: 0;
  width: 44%;
  height: 100%;
  background: linear-gradient(160deg, rgba(22, 214, 181, 0.1), rgba(62, 140, 255, 0.06));
  clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.pricing-section .wrap {
  position: relative;
  z-index: 1;
}

.pricing-toggle-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: -12px 0 36px;
}

.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.billing-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-track {
  width: 44px;
  height: 24px;
  border-radius: 4px;
  background: var(--white);
  border: 1px solid var(--line);
  position: relative;
  transition: background 0.2s, border-color 0.2s;
}

.toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 2px;
  background: var(--muted);
  transition: transform 0.2s, background 0.2s;
}

.billing-toggle input:checked + .toggle-track {
  background: var(--teal-dim);
  border-color: var(--teal);
}

.billing-toggle input:checked + .toggle-track .toggle-thumb {
  transform: translateX(20px);
  background: var(--teal);
}

.toggle-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}

.billing-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 4px;
  background: var(--teal-dim);
  border: 1px solid rgba(22, 214, 181, 0.35);
  color: var(--ink-deep);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.plans-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.plan-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  min-height: 220px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.plan-row:hover {
  border-color: rgba(22, 214, 181, 0.45);
  box-shadow: var(--shadow);
}

.plan-row-main,
.plan-row-features {
  padding: 36px 40px;
}

.plan-row-features {
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg);
}

.plan-name {
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

.plan-price {
  margin: 0 0 14px;
  line-height: 1.1;
}

.plan-amount {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink-deep);
}

.plan-period {
  display: inline;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  margin-left: 4px;
}

.plan-desc {
  margin: 0 0 24px;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 34ch;
}

.plan-row-features h3 {
  margin: 0 0 18px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-deep);
}

.plan-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.plan-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ink);
}

.plan-checklist li::before {
  content: "✓";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ink-deep);
  border: 2px solid var(--teal);
  color: var(--teal);
  display: grid;
  place-items: center;
  font-size: 0.62rem;
  font-weight: 800;
  margin-top: 1px;
}

.plan-row-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.plan-row-main .btn {
  align-self: flex-start;
}

.plan-row-featured {
  border: 2px solid var(--teal);
  background: linear-gradient(135deg, var(--teal-dim) 0%, var(--white) 48%);
}

.plan-row-featured .plan-row-features {
  border-left-color: rgba(22, 214, 181, 0.3);
  background: rgba(255, 255, 255, 0.65);
}

.plan-row-featured .plan-name {
  color: var(--ink-deep);
}

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

section { padding: 64px 0; }
section#contact { padding: 0; }
section.white { background: var(--white); }
section.alt { background: var(--bg); }
section.dark {
  background: var(--ink-deep);
  color: var(--white);
}

section.band-full { padding: 0; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* About */
.about-lead {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  margin: 0 0 16px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

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

.about-grid h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  margin: 10px 0 16px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.about-grid .desc {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.highlights {
  display: grid;
  gap: 20px;
}

.highlight {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  padding: 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: 4px;
  align-items: center;
}

.highlight-copy {
  display: grid;
  align-content: center;
  gap: 4px;
}

.highlight .ico {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--teal-dim);
  color: var(--ink-deep);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  overflow: hidden;
}

.highlight .ico-img {
  padding: 12px;
}

.highlight .ico-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.highlight h4 {
  margin: 0 0 4px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.highlight p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Capabilities — staircase bars (Dynamiqo theme) */
.capabilities-stair {
  background: var(--ink-deep);
  color: var(--white);
  padding: 72px 0 80px;
  position: relative;
  overflow: hidden;
}

.capabilities-stair::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 39px,
    rgba(22, 214, 181, 0.04) 39px,
    rgba(22, 214, 181, 0.04) 40px
  );
  pointer-events: none;
}

.capabilities-stair::after {
  content: "";
  position: absolute;
  right: -8%;
  top: 0;
  width: 42%;
  height: 100%;
  background: linear-gradient(160deg, rgba(22, 214, 181, 0.1), rgba(62, 140, 255, 0.05));
  clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.section-head-light h2 { color: var(--white); }
.section-head-light .sub { color: rgba(255, 255, 255, 0.55); }
.section-head-light .rule::before,
.section-head-light .rule::after { background: rgba(22, 214, 181, 0.25); }
.section-head-light .rule span { color: var(--teal); }

.stair-board {
  position: relative;
  z-index: 1;
}

.stair-rows {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.stair-rows::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 48px;
  height: calc(16px * 2 + 96px * 2);
  border-left: 1px dotted rgba(22, 214, 181, 0.45);
  z-index: 0;
}

.stair-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0;
  align-items: center;
  width: var(--w, 100%);
  position: relative;
  z-index: 1;
}

.stair-node {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
  margin-right: -1px;
}

.stair-node-empty {
  width: 62px;
  visibility: hidden;
}

.stair-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--teal);
  background: var(--ink-mid);
  color: var(--teal);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px var(--teal-dim);
}

.stair-icon svg { width: 28px; height: 28px; }

.stair-dash {
  width: 16px;
  height: 0;
  border-top: 1px dashed rgba(22, 214, 181, 0.5);
  flex-shrink: 0;
}

.stair-bar {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 14px;
  background: linear-gradient(90deg, var(--ink-mid) 0%, #0a1418 100%);
  border-left: 3px solid var(--teal);
  padding: 14px 52px 14px 16px;
  position: relative;
  clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 50%, calc(100% - 36px) 100%, 0 100%);
  transition: background 0.2s ease, transform 0.2s ease;
}

.stair-bar:hover {
  background: linear-gradient(90deg, #12252c 0%, var(--ink-mid) 100%);
  transform: translateX(3px);
}

.stair-letter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stair-letter img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
  border-radius: 8px;
}

.stair-letter small {
  font-size: 0.56rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

.stair-body h3 {
  margin: 0 0 6px;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
}

.stair-body p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.55);
  max-width: 48ch;
}

.stair-end {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-right: 4px;
}

.stair-chevrons {
  font-size: 1rem;
  color: var(--teal);
  letter-spacing: -0.18em;
  font-weight: 600;
}

.stair-badge {
  width: 40px;
  height: 40px;
  background: var(--teal);
  color: var(--ink-deep);
  display: grid;
  place-items: center;
  transform: rotate(45deg);
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(22, 214, 181, 0.25);
}

.stair-badge b {
  display: block;
  transform: rotate(-45deg);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-style: normal;
}

.stair-aside {
  position: absolute;
  right: 0;
  bottom: 8px;
  width: min(270px, 32%);
  padding: 0 8px 0 16px;
}

.stair-aside h3 {
  margin: 0 0 12px;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--white);
}

.stair-aside h3::before {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  background: var(--teal);
  margin-bottom: 12px;
}

.stair-aside p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
}

/* Capabilities — parallelogram cards (legacy, unused) */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 20px;
  padding: 12px 0 8px;
  align-items: start;
}

.cap-item {
  position: relative;
  padding-top: 36px;
}

.cap-card {
  position: relative;
  text-align: center;
}

.cap-card::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 28px;
  bottom: 0;
  background: linear-gradient(180deg, #e8ecee 0%, #f4f7f7 45%, var(--white) 100%);
  transform: skewX(-14deg);
  border-radius: 2px;
  z-index: 0;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.cap-item.is-featured .cap-card::before {
  background: linear-gradient(180deg, rgba(22,214,181,0.18) 0%, rgba(22,214,181,0.08) 50%, var(--white) 100%);
}

.cap-item:hover .cap-card::before {
  background: linear-gradient(180deg, rgba(22,214,181,0.22) 0%, rgba(22,214,181,0.1) 50%, var(--white) 100%);
  box-shadow: 0 12px 40px rgba(7, 16, 20, 0.08);
}

.cap-icon-box {
  position: relative;
  z-index: 2;
  width: 76px;
  height: 58px;
  margin: 0 auto;
  background: var(--white);
  border: 2px solid var(--teal);
  transform: skewX(-14deg);
  display: grid;
  place-items: center;
  color: var(--ink-deep);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.cap-icon-box svg {
  width: 28px;
  height: 28px;
  transform: skewX(14deg);
}

.cap-item.is-featured .cap-icon-box,
.cap-item:hover .cap-icon-box {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--ink-deep);
}

.cap-body {
  position: relative;
  z-index: 1;
  padding: 28px 20px 36px;
  transform: skewX(0deg);
}

.cap-body h3 {
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 14px;
  color: var(--ink-deep);
  line-height: 1.35;
}

.cap-body p {
  margin: 0 auto;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 26ch;
}

.cap-item::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid var(--line);
  margin: 14px auto 0;
  opacity: 0;
  transition: opacity 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.cap-item.is-featured::after {
  opacity: 1;
  background: var(--teal);
  border-color: var(--teal);
}

.cap-item:hover::after {
  opacity: 1;
  background: var(--teal);
  border-color: var(--teal);
}

/* How it works — staggered hex pillars */
.process-section {
  padding: 80px 0 88px;
  background: #eef3f5;
  position: relative;
  overflow: hidden;
}

.process-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 50% 20%, rgba(22, 214, 181, 0.1), transparent 65%);
  pointer-events: none;
}

.process-section .wrap { position: relative; z-index: 1; }

.process-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 8px;
}

.process-intro h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  letter-spacing: -0.03em;
  margin: 8px 0 14px;
  color: var(--ink-deep);
}

.process-lead {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
  max-width: 44ch;
}

.process-meta .rule {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.process-meta .rule::before,
.process-meta .rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.process-meta .rule span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  white-space: nowrap;
}

.process-meta p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
  text-align: right;
}

.hex-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  align-items: start;
  padding: 48px 0 36px;
}

.hex-pillar {
  background: var(--white);
  border-radius: 2px;
  box-shadow: 0 14px 40px rgba(7, 16, 20, 0.07);
  padding: 26px 16px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-height: 440px;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
  animation: hexIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hex-pillar:nth-child(1) { animation-delay: 0.05s; }
.hex-pillar:nth-child(2) { animation-delay: 0.12s; }
.hex-pillar:nth-child(3) { animation-delay: 0.19s; }
.hex-pillar:nth-child(4) { animation-delay: 0.26s; }
.hex-pillar:nth-child(5) { animation-delay: 0.33s; }

.hex-pillar.is-up {
  margin-top: 0;
  margin-bottom: 48px;
}

.hex-pillar.is-down {
  margin-top: 48px;
  margin-bottom: 0;
}

.hex-pillar:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 52px rgba(7, 16, 20, 0.12);
}

@keyframes hexIn {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

.hex-badge {
  width: 118px;
  height: 132px;
  margin: 0 auto;
  position: relative;
  flex-shrink: 0;
  filter: drop-shadow(0 12px 22px rgba(7, 16, 20, 0.14));
}

.hex-badge::before,
.hex-badge::after {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  pointer-events: none;
}

.hex-badge::before {
  inset: -6px;
  background: linear-gradient(160deg, rgba(22, 214, 181, 0.45), rgba(62, 140, 255, 0.28));
  opacity: 0.85;
}

.hex-badge::after {
  inset: -2px;
  background: linear-gradient(160deg, rgba(22, 214, 181, 0.55), rgba(62, 140, 255, 0.35));
}

.hex-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: var(--ink-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--white);
  padding: 18px 10px 14px;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(22, 214, 181, 0.22);
}

.hex-inner img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
}

.hex-inner svg {
  width: 32px;
  height: 32px;
  color: var(--teal);
}

.hex-pillar:nth-child(2) .hex-inner svg { color: var(--blue); }
.hex-pillar:nth-child(3) .hex-inner svg { color: #2bb3a0; }
.hex-pillar:nth-child(4) .hex-inner svg { color: #4a90e8; }
.hex-pillar:nth-child(5) .hex-inner svg { color: var(--ink-deep); }

.hex-inner span {
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.3;
}

.hex-copy {
  text-align: left;
}

.hex-copy h3 {
  margin: 0 0 6px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-deep);
}

.hex-copy h3 em {
  font-style: normal;
  color: var(--teal);
}

.hex-pillar:nth-child(2) .hex-copy h3 em { color: var(--blue); }
.hex-pillar:nth-child(3) .hex-copy h3 em { color: #2bb3a0; }
.hex-pillar:nth-child(4) .hex-copy h3 em { color: #4a90e8; }
.hex-pillar:nth-child(5) .hex-copy h3 em { color: var(--ink-deep); }

.hex-copy h4 {
  margin: 0 0 10px;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  color: var(--ink-deep);
  line-height: 1.25;
}

.hex-copy p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--muted);
}

/* Team */
.team-section {
  position: relative;
  padding: 88px 0 96px;
  background: var(--white);
  overflow: hidden;
}

.team-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 12% 20%, rgba(22, 214, 181, 0.08), transparent 60%),
    radial-gradient(ellipse 40% 35% at 88% 70%, rgba(62, 140, 255, 0.06), transparent 55%);
  pointer-events: none;
}

.team-section .wrap { position: relative; z-index: 1; }

.team-founder {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 36px;
  align-items: center;
  padding: 32px 36px;
  background: linear-gradient(135deg, var(--ink-deep) 0%, #0e1b20 100%);
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.team-founder::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
}

.team-founder-visual {
  position: relative;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}

.team-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(145deg, #12262c, var(--ink-deep));
  border: 2px solid var(--teal);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: 0.06em;
  flex-shrink: 0;
  overflow: hidden;
  padding: 0;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.team-avatar-lg {
  width: 120px;
  height: 120px;
  font-size: 1.6rem;
  border-width: 3px;
  position: relative;
  z-index: 1;
}

.team-founder-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(22, 214, 181, 0.35);
  animation: teamPulse 3.2s ease-in-out infinite;
}

@keyframes teamPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.06); opacity: 1; }
}

.team-founder-copy .team-role {
  margin: 0 0 6px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
}

.team-founder-copy h3 {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  letter-spacing: -0.03em;
}

.team-founder-copy > p {
  margin: 0;
  max-width: 54ch;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  line-height: 1.65;
}

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.team-tags li {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(22, 214, 181, 0.35);
  padding: 6px 12px;
  background: rgba(22, 214, 181, 0.08);
}

.team-roster {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.team-member {
  padding: 28px 24px 30px;
  background: var(--bg);
  border-top: 3px solid transparent;
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.team-member:hover {
  border-top-color: var(--teal);
  background: #f0f5f4;
  transform: translateY(-4px);
}

.team-member-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.team-member .team-role {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

.team-member h4 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--ink-deep);
}

.team-member > p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--muted);
}

.team-principles {
  padding: 32px 0 0;
  border-top: 1px solid var(--line);
}

.team-principles-head {
  margin-bottom: 22px;
}

.team-principles-head h3 {
  margin: 6px 0 0;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--ink-deep);
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 28px;
}

.principle { margin: 0; }

.principle label {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--ink-deep);
}

.principle-bar {
  height: 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  overflow: hidden;
}

.principle-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  width: 0;
  transition: width 1.2s ease;
}

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

.sol-card {
  padding: 28px 24px;
  background: var(--white);
  transition: background 0.2s;
  min-height: 140px;
}

.sol-card:hover {
  background: var(--bg);
}

.sol-card h3 {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--ink-deep);
}

.sol-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

/* Featured visual */
.visual-section {
  position: relative;
  background: var(--ink-mid);
  color: var(--white);
  padding: 80px 0;
  overflow: hidden;
}

.visual-section::before {
  content: "";
  position: absolute;
  left: -10%;
  top: 0;
  width: 45%;
  height: 100%;
  background: rgba(22,214,181,0.06);
  clip-path: var(--slash);
}

.visual-section h2 {
  text-align: center;
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 48px;
}

.flow-viz {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 640px;
  margin: 0 auto;
}

.viz-node {
  padding: 12px 28px;
  border: 1px solid rgba(22,214,181,0.35);
  background: rgba(7,16,20,0.6);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 4px;
  min-width: 200px;
  text-align: center;
}

.viz-node.scenarios {
  display: flex;
  gap: 10px;
  background: transparent;
  border: 0;
  padding: 0;
}

.viz-node.scenarios span {
  padding: 10px 16px;
  border: 1px solid rgba(62,140,255,0.4);
  background: rgba(62,140,255,0.08);
  border-radius: 4px;
  font-size: 0.68rem;
}

.viz-arrow {
  width: 2px;
  height: 28px;
  background: linear-gradient(var(--teal), var(--blue));
  opacity: 0.5;
  position: relative;
}

.viz-arrow::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--teal);
}

/* Industries */
.ind-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ind-card {
  position: relative;
  overflow: hidden;
  min-height: 200px;
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform 0.25s;
}

.ind-card:hover { transform: translateY(-4px); }

.ind-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  filter: saturate(0.7) brightness(0.85);
}

.ind-card .body {
  padding: 16px 18px;
}

.ind-card h3 {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.ind-card p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Technology */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.tech-card {
  padding: 20px 16px;
  background: var(--white);
  border: 1px dashed var(--line);
  text-align: center;
  transition: border-color 0.2s;
}

.tech-card:hover { border-color: var(--teal); }

.tech-card h4 {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 10px 0 6px;
}

.tech-card p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.tech-icon {
  width: 44px; height: 44px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--blue-dim);
  display: grid;
  place-items: center;
  font-size: 1rem;
}

.disclaimer {
  margin-top: 24px;
  padding: 14px 18px;
  border-left: 3px solid var(--teal);
  background: var(--teal-dim);
  font-size: 0.88rem;
  color: var(--muted);
}

/* Why */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.why-card h3 {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 12px 0 8px;
  color: var(--teal);
}

.why-card p {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
}

.why-icon {
  width: 48px; height: 48px;
  border: 2px solid rgba(22,214,181,0.35);
  border-radius: 4px;
  transform: skewX(-12deg);
}

/* Platform modules */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.mod-card {
  border: 2px solid var(--line);
  overflow: hidden;
  background: var(--white);
  transition: border-color 0.2s, transform 0.2s;
}

.mod-card:hover {
  border-color: var(--teal);
  transform: translateY(-3px);
}

.mod-visual {
  height: 140px;
  background: linear-gradient(135deg, var(--ink-mid), var(--ink-deep));
  position: relative;
  overflow: hidden;
}

.mod-visual::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 80%;
  height: 80%;
  border: 1px solid rgba(22,214,181,0.3);
  transform: rotate(-25deg);
}

.mod-visual svg {
  position: absolute;
  inset: 20px;
  opacity: 0.7;
}

.mod-body {
  padding: 18px;
}

.mod-body h3 {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.mod-body p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Ecosystem */
.eco-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  padding: 20px 0;
}

.eco-item {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.65;
  filter: grayscale(1);
  transition: opacity 0.2s, color 0.2s;
}

.eco-item:hover {
  opacity: 1;
  color: var(--ink-deep);
}

.eco-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 16px;
}

/* FAQ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

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

.faq-q {
  width: 100%;
  text-align: left;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  font-size: 0.95rem;
}

.faq-q span {
  font-size: 1.2rem;
  color: var(--teal);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item.open .faq-q span { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding-bottom: 18px;
}

.faq-a p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Insights */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.insight-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 24px;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.insight-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--teal);
}

.insight-card .cat {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}

.insight-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.insight-card p {
  margin: 0 0 14px;
  font-size: 0.88rem;
  color: var(--muted);
}

.insight-card a {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

/* Contact */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}

.contact-form-side {
  background: var(--ink-deep);
  color: var(--white);
  padding: 64px 48px 64px var(--content-inset);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.contact-inner {
  width: 100%;
  max-width: 480px;
  margin-inline: 0;
}

.contact-form-side h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  margin: 12px 0 10px;
}

.contact-form-side .desc {
  color: rgba(255,255,255,0.65);
  margin-bottom: 28px;
  font-size: 0.92rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-field { display: flex; flex-direction: column; gap: 4px; }
.form-field.full { grid-column: 1 / -1; }

.form-field label {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.form-field input,
.form-field textarea,
.form-field select {
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  color: var(--white);
  font-family: inherit;
  font-size: 0.92rem;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.form-field select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2316d6b5' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px 16px;
  padding-right: 40px;
}

.form-field select option {
  background-color: #071014;
  color: #ffffff;
  padding: 10px 12px;
}

.form-field select option:disabled {
  color: rgba(255, 255, 255, 0.45);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 2px rgba(22, 214, 181, 0.25);
  background: rgba(255, 255, 255, 0.1);
}

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

.form-recaptcha {
  margin-top: 4px;
}

.form-recaptcha .g-recaptcha {
  transform-origin: left top;
}

.form-recaptcha-note {
  margin: 14px 0 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}

.form-recaptcha-error {
  margin: 8px 0 0;
  font-size: 0.82rem;
  color: #fbbf24;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-field input:disabled,
.form-field textarea:disabled,
.form-field select:disabled,
#contact-form .btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.contact-map-side {
  background: var(--ink-mid);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  padding: 48px var(--content-inset) 72px 48px;
  gap: 24px;
}

.contact-offices {
  display: grid;
  gap: 20px;
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
}

.office {
  padding: 24px 26px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(7,16,20,0.45);
}

.office h3 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}

.office-legal {
  margin: 0 0 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
}

.office p {
  margin: 0 0 12px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
}

.office a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--white);
}

.office a:hover { color: var(--teal); }

.network-viz {
  width: 100%;
  max-width: 480px;
}

.network-viz svg { width: 100%; height: auto; }

.map-label {
  position: absolute;
  bottom: 28px;
  left: max(28px, var(--content-inset));
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.map-label strong {
  display: block;
  color: var(--teal);
  font-size: 0.85rem;
  margin-top: 4px;
}

/* Final CTA */
.final-cta {
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: "";
  position: absolute;
  right: -5%;
  top: 0;
  width: 40%;
  height: 100%;
  background: rgba(22,214,181,0.08);
  clip-path: var(--slash-inv);
}

.final-cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
}

.final-cta p {
  color: rgba(255,255,255,0.65);
  max-width: 48ch;
  margin: 0 auto 28px;
  position: relative;
}

.final-cta .btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* Footer */
.footer {
  background: var(--ink-deep);
  color: rgba(255,255,255,0.55);
  padding: 56px 0 0;
  font-size: 0.88rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr));
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 1100px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand-block {
    grid-column: 1 / -1;
    max-width: none;
  }
}


.footer-brand-block {
  max-width: 260px;
}

.footer-lead {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.55);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  background: transparent;
  color: #fff;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.footer-social a:hover {
  color: var(--teal);
  border-color: var(--teal);
  background: transparent;
}

.footer-social svg {
  width: 13px;
  height: 13px;
  display: block;
}

.footer-legal-social {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.notfound {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 20px;
  background: var(--bg);
}

.footer-brand {
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 8px;
}

.footer-tag {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.footer-col h4 {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  padding: 4px 0;
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
}

.footer-col a:hover { color: var(--teal); }

/* ── Legal Pages ── */
.legal-hero {
  background: radial-gradient(circle at 50% -20%, rgba(22, 214, 181, 0.15) 0%, transparent 70%),
              linear-gradient(180deg, #071014 0%, #0c181e 100%);
  color: var(--white);
  padding: calc(var(--nav-h) + 42px) 0 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.legal-hero-inner {
  max-width: 960px;
  margin-inline: auto;
  padding-inline: 24px;
}

.legal-hero .eyebrow {
  color: var(--teal);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 10px;
}

.legal-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--white);
}

.legal-meta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.legal-updated-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(22, 214, 181, 0.12);
  border: 1px solid rgba(22, 214, 181, 0.28);
  border-radius: 999px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 600;
}

.legal-nav-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.legal-tab {
  padding: 7px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.78);
  transition: all 0.2s ease;
}

.legal-tab:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
}

.legal-tab.is-active {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--ink-deep);
  font-weight: 700;
}

.legal-page {
  padding: 0 0 88px;
  background: var(--bg);
  min-height: 70vh;
}

.legal-container {
  max-width: 960px;
  margin: 36px auto 0;
  padding-inline: 24px;
}

.legal-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(7, 16, 20, 0.04);
  padding: 48px 44px;
}

@media (max-width: 640px) {
  .legal-card {
    padding: 28px 20px;
    border-radius: 10px;
  }
}

.legal-body {
  max-width: 100%;
  color: var(--ink);
}

.legal-body p {
  margin: 0 0 16px;
  line-height: 1.75;
  font-size: 0.94rem;
  color: #374151;
}

.legal-body a {
  color: #0284c7;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s;
}

.legal-body a:hover {
  color: #0369a1;
}

.legal-body h2 {
  margin: 38px 0 14px;
  padding-left: 12px;
  border-left: 3px solid var(--teal);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink-deep);
}

.legal-body h3 {
  margin: 26px 0 10px;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
}

.legal-body h4 {
  margin: 20px 0 8px;
  font-size: 0.96rem;
  font-weight: 600;
}

.legal-body ul, .legal-body ol {
  margin: 0 0 18px;
  padding-left: 1.4rem;
  display: grid;
  gap: 8px;
}

.legal-body li {
  line-height: 1.65;
  color: #374151;
  font-size: 0.94rem;
}

.legal-body li > p { margin-bottom: 8px; }
.legal-body li > p:last-child { margin-bottom: 0; }
.legal-body li ul { margin: 8px 0 0; }

.legal-table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  text-align: left;
}

.legal-table th {
  background: #0c181e;
  color: #ffffff;
  padding: 12px 14px;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.legal-table td {
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  color: #374151;
  vertical-align: top;
}

.legal-table tr:nth-child(even) td {
  background: rgba(7, 16, 20, 0.02);
}

.callout-box {
  background: rgba(22, 214, 181, 0.06);
  border-left: 4px solid var(--teal);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 24px 0;
}

.callout-box p:last-child {
  margin-bottom: 0;
}

.legal-actions {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
}

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--ink-deep);
  color: var(--white);
  padding: 14px 18px;
  border-left: 3px solid var(--teal);
  border-radius: 4px;
  font-size: 0.88rem;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
  z-index: 80;
}

.toast.show { opacity: 1; transform: none; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .process-top {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .process-meta p { text-align: left; }

  .hex-flow {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 24px 0 8px;
  }

  .hex-pillar,
  .hex-pillar.is-up,
  .hex-pillar.is-down {
    margin-top: 0;
    margin-bottom: 0;
    min-height: 0;
  }

  .hex-pillar:nth-child(5) {
    grid-column: 1 / -1;
    max-width: 320px;
    justify-self: center;
  }

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

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

@media (max-width: 560px) {
  .hex-flow {
    grid-template-columns: 1fr;
  }

  .hex-pillar:nth-child(5) {
    max-width: none;
    justify-self: stretch;
  }
}

@media (max-width: 1200px) and (min-width: 1041px) {
  .nav-links a { padding: 8px 6px; font-size: 0.60rem; letter-spacing: 0.08em; }
  .nav-actions .btn { padding: 8px 12px; font-size: 0.65rem; }
  .brand-mark {
    height: 44px;
  }

  .hero-wordmark { font-size: clamp(2.8rem, 7vw, 4.8rem); }
  .hero-copy { max-width: min(440px, 52%); }
  .hero-media img { object-position: 55% center; }
}

@media (max-width: 1040px) {
  .nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .nav-links { display: none !important; }
  .nav-actions {
    margin-left: auto;
    justify-self: end;
  }
  .menu-btn {
    display: grid;
    place-items: center;
    order: 2;
  }
}

@media (max-width: 640px) {
  .brand-mark {
    height: 40px;
    max-width: min(240px, 52vw);
  }
  .nav-actions .btn {
    padding: 6px 10px;
    font-size: 0.64rem;
    letter-spacing: 0.03em;
  }
  .menu-btn {
    width: 36px;
    height: 36px;
    font-size: 1.15rem;
  }
}

@media (max-width: 400px) {
  .brand-mark {
    height: 36px;
    max-width: min(180px, 48vw);
  }
  .nav-actions .btn {
    padding: 5px 8px;
    font-size: 0.58rem;
    letter-spacing: 0.02em;
  }
}

@media (max-width: 1024px) {
  .stair-aside {
    position: static;
    width: 100%;
    max-width: 520px;
    margin-top: 32px;
    padding: 0;
  }
  .stair-row { width: 100% !important; }
  .stair-rows::before { display: none; }
}

@media (max-width: 700px) {
  .stair-row {
    grid-template-columns: 1fr;
  }
  .stair-node { display: none; }
  .stair-bar {
    grid-template-columns: 56px 1fr;
    clip-path: none;
    padding: 16px;
  }
  .stair-end {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }
  .stair-letter img { width: 44px; height: 44px; }
}

@media (max-width: 900px) {
  .hero {
    min-height: 100svh;
  }

  .hero-media img {
    object-position: 55% center;
  }

  .hero-media-shade {
    background:
      linear-gradient(180deg, rgba(7, 16, 20, 0.4) 0%, rgba(7, 16, 20, 0.55) 50%, rgba(7, 16, 20, 0.72) 100%);
  }

  .hero-media-frame {
    inset: 12px;
  }

  .hero-stage {
    min-height: 100svh;
    align-items: flex-end;
    padding: calc(var(--nav-h) + 24px) 0 80px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-wordmark {
    font-size: clamp(2.8rem, 15vw, 4rem);
  }

  .hero-headline {
    max-width: none;
  }

  .hero-scroll {
    bottom: 16px;
  }

  .about-grid,
  .team-roster,
  .principle-grid,
  .contact-split,
  .cap-grid,
  .cap-grid-3,
  .sol-grid,
  .ind-grid,
  .insights-grid,
  .footer-top,
  .footer-simple {
    grid-template-columns: 1fr;
  }

  .team-founder {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 28px 24px;
    text-align: left;
  }

  .team-founder-visual {
    margin: 0;
  }

  .cap-grid,
  .cap-grid-3 {
    gap: 32px;
    max-width: 360px;
    margin-inline: auto;
  }

  .cap-card::before {
    left: 5%;
    right: 5%;
  }

  .contact-form-side { padding: 48px 24px; }
  .contact-map-side { padding: 48px 24px; }
  .map-label { left: 24px; }

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

  .plans-stack .plan-row { grid-template-columns: 1fr; }

  .plan-row-features {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 28px;
  }

  .plan-row-featured .plan-row-features {
    border-top-color: rgba(7, 16, 20, 0.12);
  }

  .plan-row-main,
  .plan-row-features { padding: 28px 24px; }
}

/* ── Documentation ── */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.docs-item {
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg);
}

.docs-item h3 {
  margin: 10px 0 8px;
  font-size: 1.05rem;
}

.docs-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.docs-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-deep);
  background: rgba(22, 214, 181, 0.18);
  padding: 4px 8px;
  border-radius: 6px;
}

/* ── Tech showcase ── */
.tech-section {
  padding: 88px 0;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.tech-item {
  padding: 22px 18px;
  border-top: 2px solid var(--teal);
  background: var(--white);
}

.tech-item h3 {
  margin: 0 0 8px;
  font-size: 0.98rem;
}

.tech-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.tech-disclaimer {
  margin: 28px auto 0;
  max-width: 720px;
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--muted);
}

@media (max-width: 900px) {
  .docs-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr 1fr; }
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .hero-enter, .hero-scroll span, .hex-pillar, .team-founder-ring, .hero-media, .hero-media img {
    animation: none !important;
    transition: none;
  }
  .hero-enter, .hex-pillar { opacity: 1; transform: none; }
  .hero-media img { transform: none; }
  .principle-fill { transition: none; width: var(--w, 80%) !important; }
}
