@import url('../assets/colors_and_type.css');

/* ============================================================
   Applicable Insights — Hi-Fi Homepage
   Built on .ai-theme (dark, executive)
   ============================================================ */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 27, 34, 0.78);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.site-header__inner {
  max-width: 1280px; margin: 0 auto;
  height: 72px;
  padding: 0 32px;
  display: flex; align-items: center; gap: 32px;
}
.brand {
  display: flex; align-items: center; gap: 0;
  text-decoration: none;
  color: var(--fg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.brand__a {
  color: var(--brand-teal);
  background: linear-gradient(180deg, transparent 65%, rgba(20,145,155,0.18) 65%);
  padding: 0 2px;
}
.brand__rest { color: var(--fg); }
.brand__dot { color: var(--brand-teal); margin: 0 1px; }

.nav {
  display: flex; gap: 4px;
  margin-left: auto;
}
.nav a {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--fg-2);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 200ms var(--ease-out);
}
.nav a:hover {
  color: var(--fg-1);
  background: rgba(255,255,255,0.04);
}

.header-tools {
  display: flex; align-items: center; gap: 12px;
}

/* Lang toggle */
.lang {
  display: flex;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 999px;
  padding: 2px;
}
.lang button {
  background: transparent;
  border: none;
  color: var(--fg-3);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 200ms var(--ease-out);
}
.lang button.active {
  background: var(--brand-teal);
  color: white;
}

/* Buttons */
.btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  padding: 11px 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 200ms var(--ease-out);
  letter-spacing: 0;
  white-space: nowrap;
}
.btn--primary {
  background: var(--brand-teal);
  color: white;
}
.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(20,145,155,0.3);
}
.btn--ghost {
  background: transparent;
  color: var(--fg-1);
  border-color: rgba(255,255,255,0.18);
}
.btn--ghost:hover {
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.03);
}
.btn--lg { font-size: 15px; padding: 14px 26px; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
}

/* Quiet hero — centered single column, large typography */
.hero--quiet {
  padding: 140px 0 180px;
  min-height: 88vh;
  display: flex;
  align-items: center;
}
.hero__quiet-inner {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}
.hero__h1--quiet {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 6vw + 0.5rem, 6rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--fg-1);
  margin: 0 0 32px;
  max-width: 12ch;
  /* subtle horizontal shimmer */
  background: linear-gradient(110deg, #F5F7F8 0%, #F5F7F8 38%, #BFE9ED 50%, #F5F7F8 62%, #F5F7F8 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: hero-shimmer 7s linear infinite;
}
.hero__h1--quiet .accent {
  -webkit-text-fill-color: var(--brand-teal);
  color: var(--brand-teal);
}
@keyframes hero-shimmer {
  0%   { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
.hero--quiet .hero__sub {
  max-width: 640px;
  font-size: 21px;
  margin-bottom: 40px;
}

/* Bottom-left status mark */
.hero__mark {
  position: absolute;
  bottom: 48px; left: 48px;
  z-index: 2;
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-weight: 600; font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.hero__mark__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand-teal);
  box-shadow: 0 0 12px var(--brand-teal);
  animation: pulse 2.4s ease-in-out infinite;
}

/* Bottom-right stats */
.hero__corner {
  position: absolute;
  bottom: 40px; right: 48px;
  z-index: 2;
  display: flex; gap: 36px;
  font-family: var(--font-display);
  font-weight: 500; font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--fg-3);
}
.hero__corner > div {
  display: flex; flex-direction: column; gap: 2px;
}
.hero__corner b {
  color: var(--fg-1);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1;
}
.hero__bg {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 800px 500px at 70% 20%, rgba(20,145,155,0.15), transparent 60%),
    radial-gradient(ellipse 600px 400px at 20% 80%, rgba(214,230,60,0.04), transparent 60%);
  z-index: 0;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 1000px 600px at 50% 30%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 1000px 600px at 50% 30%, black 30%, transparent 75%);
  z-index: 0;
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero__eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-teal);
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero__eyebrow::before {
  content: ''; width: 24px; height: 1px;
  background: var(--brand-teal);
  display: inline-block;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 4.2vw + 0.5rem, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--fg-1);
  margin: 0 0 24px;
}
.hero h1 .accent {
  color: var(--brand-teal);
  font-style: normal;
}
.hero h1 .underline {
  position: relative;
  white-space: nowrap;
}
.hero h1 .underline::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0.06em;
  height: 0.18em;
  background: linear-gradient(90deg, var(--brand-teal), rgba(20,145,155,0.2));
  border-radius: 2px;
  z-index: -1;
}
.hero__sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0 0 36px;
  max-width: 560px;
}
.hero__ctas {
  display: flex; gap: 14px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.hero__pillars {
  display: flex; gap: 20px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  color: var(--fg-3);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
}
.hero__pillars span:not(.dot) {
  color: var(--fg-2);
}
.hero__pillars .dot { color: var(--brand-teal); }

/* Hero visual — animated telemetry */
.hero__visual {
  position: relative;
  height: 460px;
}
.telemetry {
  position: absolute; inset: 0;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(15,27,34,0.6), rgba(11,20,26,0.9)),
    radial-gradient(ellipse at 30% 20%, rgba(20,145,155,0.12), transparent 60%);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}
.telemetry__chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-3);
}
.telemetry__chrome__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-teal);
  box-shadow: 0 0 10px var(--brand-teal);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 0.4; }
  50% { opacity: 1; }
}
.telemetry__title {
  margin-left: 6px;
  letter-spacing: 0.04em;
}
.telemetry__title b { color: var(--fg-1); font-weight: 600; }
.telemetry__live {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--brand-teal);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.12em;
}
.telemetry__live::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand-teal);
  animation: pulse 1.4s ease-in-out infinite;
}
.telemetry__body {
  padding: 20px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 16px;
  height: calc(100% - 42px);
}
.telemetry__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.metric {
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.02);
}
.metric__label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.metric__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--fg-1);
  margin-top: 4px;
  letter-spacing: -0.02em;
}
.metric__delta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #2BB673;
  margin-top: 2px;
}
.metric__delta.down { color: #2BB673; }
.metric__delta.up { color: var(--brand-coral); }

/* SVG chart */
.chart {
  width: 100%; height: 100%;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
  position: relative;
  overflow: hidden;
}
.chart svg { width: 100%; height: 100%; display: block; }
.chart__caption {
  position: absolute; top: 10px; left: 14px;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-3);
  font-weight: 600;
}

/* Log stream */
.logstream {
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  background: rgba(0,0,0,0.3);
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.7;
  height: 110px;
  overflow: hidden;
  position: relative;
}
.logstream__inner {
  display: flex; flex-direction: column;
  animation: logscroll 16s linear infinite;
}
.logstream__line { color: var(--fg-2); white-space: nowrap; }
.logstream__line .tag {
  color: var(--brand-teal);
  font-weight: 600;
}
.logstream__line .ok { color: #2BB673; font-weight: 600; }
.logstream__line .warn { color: #E6A700; font-weight: 600; }
.logstream__line .mute { color: var(--fg-3); }
@keyframes logscroll {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

/* Trust strip */
.trust {
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.012);
  padding: 56px 0;
}
.trust__inner {
  display: flex;
  flex-direction: column;
  gap: 44px;
}
.trust__row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}
.trust__row--alt .trust__item {
  opacity: 0.7;
}
.trust__label {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
  line-height: 1.5;
  opacity: 0.85;
}
.trust__label br { display: none; }
.trust__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 12px;
  max-width: 920px;
  margin: 0 auto;
}
.trust__item {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  color: var(--fg-2);
  letter-spacing: 0.01em;
  line-height: 1;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
  white-space: nowrap;
  transition: border-color 200ms var(--ease-out), background 200ms var(--ease-out);
}
.trust__item:hover {
  border-color: rgba(20,145,155,0.35);
  background: rgba(20,145,155,0.06);
  color: var(--fg-1);
}

/* ============================================================
   Pillars strip — under hero
   ============================================================ */
.pillars-strip {
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background:
    linear-gradient(90deg,
      rgba(20,145,155,0) 0%,
      rgba(20,145,155,0.06) 30%,
      rgba(20,145,155,0.10) 50%,
      rgba(20,145,155,0.06) 70%,
      rgba(20,145,155,0) 100%);
}
.pillars-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 56px);
  flex-wrap: wrap;
}
.pillars-strip__item {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-1);
}
.pillars-strip__sep {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--brand-teal);
  opacity: 0.7;
  display: inline-block;
}
@media (max-width: 720px) {
  .pillars-strip { padding: 20px 0; }
  .pillars-strip__item { font-size: 12px; letter-spacing: 0.16em; }
  .pillars-strip__sep { width: 4px; height: 4px; }
}

/* ============================================================
   Belief / stance
   ============================================================ */
.belief {
  max-width: 880px;
  margin: 0 auto;
  text-align: left;
}
.belief__line {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.6vw + 0.5rem, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--fg-1);
  margin: 0 0 36px;
}
.belief__line .accent { color: var(--brand-teal); }
.belief__body {
  font-size: 19px;
  line-height: 1.65;
  color: var(--fg-2);
  margin: 0;
  max-width: 720px;
}

/* ============================================================
   Moves — three pillars
   ============================================================ */
.what__head { margin-bottom: 64px; }
.moves {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.move {
  padding: 48px 36px;
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-direction: column;
  gap: 16px;
}
.move:last-child { border-right: none; }
.move__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--brand-teal);
  margin-bottom: 4px;
}
.move h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 36px;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--fg-1);
  margin: 0 0 4px;
}
.move p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg-2);
  margin: 0;
  max-width: 30ch;
}

/* ============================================================
   plyzen — proof point (quiet)
   ============================================================ */
.plyzen-proof {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.plyzen-proof::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 700px 400px at 50% 50%, rgba(20,145,155,0.10), transparent 65%);
  pointer-events: none;
}
.plyzen-proof__inner {
  position: relative; z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  text-align: left;
}
.plyzen-proof__line {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 2.5vw + 0.5rem, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fg-1);
  margin: 24px 0 28px;
}
.plyzen-link {
  font-family: var(--font-wordmark);
  color: var(--brand-teal);
  text-decoration: none;
  border-bottom: 2px solid rgba(20,145,155,0.4);
  transition: border-color 200ms var(--ease-out);
}
.plyzen-link:hover { border-bottom-color: var(--brand-teal); }
.plyzen-proof__sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--fg-2);
  margin: 0 0 32px;
  max-width: 600px;
}
.plyzen-proof__cta {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-teal);
  text-decoration: none;
  border-bottom: 1px solid rgba(20,145,155,0.3);
  padding-bottom: 4px;
  transition: all 200ms var(--ease-out);
}
.plyzen-proof__cta:hover {
  border-bottom-color: var(--brand-teal);
  color: var(--accent-hover);
}

/* ============================================================
   Legal page
   ============================================================ */
.legal { padding-top: 80px; }
.legal__inner {
  max-width: 760px;
  margin: 0 auto;
}
.legal__h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 4vw + 0.5rem, 3.6rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--fg-1);
  margin: 12px 0 56px;
}
.legal__block {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.legal__block:last-of-type { border-bottom: none; }
.legal__block h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-teal);
  margin: 0 0 20px;
}
.legal__block p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--fg-2);
  margin: 0 0 16px;
}
.legal__block p:last-child { margin-bottom: 0; }
.legal__block h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--fg-1);
  margin: 24px 0 12px;
}
.legal__list {
  margin: 0 0 16px;
  padding-left: 20px;
  color: var(--fg-2);
  font-size: 17px;
  line-height: 1.65;
}
.legal__list li { margin-bottom: 8px; }
.legal__block a {
  color: var(--brand-teal);
  text-decoration: none;
  border-bottom: 1px solid rgba(20,145,155,0.3);
  transition: border-color 200ms var(--ease-out);
}
.legal__block a:hover { border-bottom-color: var(--brand-teal); }
.legal__dl {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 12px 32px;
  margin: 0;
}
.legal__dl dt {
  font-size: 15px;
  color: var(--fg-3);
  font-weight: 500;
}
.legal__dl dd {
  font-size: 15px;
  color: var(--fg-1);
  margin: 0;
}
.legal__back {
  margin-top: 48px;
  font-size: 15px;
}
.legal__back a {
  color: var(--fg-3);
  text-decoration: none;
  transition: color 200ms var(--ease-out);
}
.legal__back a:hover { color: var(--brand-teal); }
@media (max-width: 720px) {
  .legal__dl { grid-template-columns: 1fr; gap: 4px 0; }
  .legal__dl dt { margin-top: 12px; }
  .legal__dl dt:first-child { margin-top: 0; }
}

/* ============================================================
   Section primitives
   ============================================================ */
section { position: relative; }
.section {
  padding: 112px 0;
}
.section--soft {
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.015) 100%);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.section-eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-teal);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.section-eyebrow::before {
  content: ''; width: 20px; height: 1px;
  background: var(--brand-teal);
}
.section-h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 2.5vw + 0.5rem, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg-1);
  margin: 0 0 20px;
  max-width: 880px;
}
.section-h2 .accent { color: var(--brand-teal); font-style: normal; }
.section-h2 .coral { color: var(--brand-coral); font-style: normal; }
.section-lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--fg-2);
  margin: 0 0 48px;
  max-width: 720px;
}

/* ============================================================
   Frame section — the tension
   ============================================================ */
.frame__numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 64px;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.frame__num {
  padding: 32px 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-direction: column; gap: 8px;
}
.frame__num:last-child { border-right: none; }
.frame__num-big {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--fg-1);
}
.frame__num-big .x { color: var(--brand-teal); }
.frame__num-lbl {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--fg-3);
  line-height: 1.45;
}

.frame__contrast {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 0;
  margin-top: 64px;
  align-items: stretch;
}
.frame__col {
  padding: 32px 0;
}
.frame__col h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.frame__col--bad h4 { color: var(--brand-coral); }
.frame__col--good h4 { color: var(--brand-teal); }
.frame__col ul {
  list-style: none;
  padding: 0; margin: 0;
  display: grid; gap: 12px;
}
.frame__col li {
  font-size: 16px;
  line-height: 1.5;
  color: var(--fg-2);
  padding-left: 26px;
  position: relative;
}
.frame__col--bad li::before {
  content: '×';
  position: absolute; left: 0; top: -2px;
  color: var(--brand-coral);
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
}
.frame__col--good li::before {
  content: '→';
  position: absolute; left: 0; top: 0;
  color: var(--brand-teal);
  font-size: 16px;
  font-weight: 600;
}
.frame__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.frame__divider::before {
  content: '';
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.15), transparent);
}
.frame__divider span {
  position: absolute;
  background: var(--bg);
  padding: 8px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-3);
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  width: 64px; height: 64px;
  display: grid; place-items: center;
}

/* ============================================================
   Services — pillar cards
   ============================================================ */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pillar-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 32px;
  display: flex; flex-direction: column;
  gap: 16px;
  transition: all 280ms var(--ease-out);
  position: relative;
  overflow: hidden;
}
.pillar-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20,145,155,0.06), transparent 50%);
  opacity: 0;
  transition: opacity 280ms var(--ease-out);
  pointer-events: none;
}
.pillar-card:hover {
  border-color: rgba(20,145,155,0.3);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.pillar-card:hover::before { opacity: 1; }

.pillar-card__head {
  display: flex; align-items: center; gap: 12px;
}
.pillar-card__num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--brand-teal);
  letter-spacing: 0.1em;
}
.pillar-card__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(20,145,155,0.1);
  border: 1px solid rgba(20,145,155,0.25);
  display: grid; place-items: center;
  color: var(--brand-teal);
  position: relative;
  z-index: 1;
}
.pillar-card__icon svg {
  width: 24px; height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pillar-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--fg-1);
  margin: 0;
  position: relative;
  z-index: 1;
}
.pillar-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-2);
  margin: 0;
  flex: 1;
  position: relative;
  z-index: 1;
}
.pillar-card__tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  position: relative;
  z-index: 1;
}
.pillar-card__tags span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-3);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(0,0,0,0.2);
}
.pillar-card--featured {
  background: linear-gradient(135deg, rgba(20,145,155,0.08), rgba(214,230,60,0.04));
  border-color: rgba(20,145,155,0.3);
  grid-column: span 1;
}
.pillar-card--featured .pillar-card__icon {
  background: rgba(20,145,155,0.18);
  border-color: rgba(20,145,155,0.4);
}

/* ============================================================
   AI section — the next step
   ============================================================ */
.ai-section {
  background:
    radial-gradient(ellipse 800px 500px at 80% 30%, rgba(20,145,155,0.12), transparent 60%),
    radial-gradient(ellipse 600px 400px at 10% 80%, rgba(214,230,60,0.04), transparent 60%);
}
.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.ai-text h2 { margin-bottom: 24px; }
.ai-text .section-lede { margin-bottom: 32px; }

.ai-points {
  display: grid; gap: 20px;
}
.ai-point {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
  align-items: start;
}
.ai-point__icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(20,145,155,0.12);
  border: 1px solid rgba(20,145,155,0.3);
  color: var(--brand-teal);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.ai-point__icon svg {
  width: 16px; height: 16px;
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.ai-point h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--fg-1);
  margin: 4px 0 4px;
  letter-spacing: -0.005em;
}
.ai-point p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
}

/* Code visual */
.code-block {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  background: rgba(0,0,0,0.4);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}
.code-block__chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.025);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-3);
}
.code-block__dots {
  display: flex; gap: 5px;
}
.code-block__dots span {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
}
.code-block__path { margin-left: 6px; }
.code-block__path b { color: var(--fg-2); font-weight: 600; }
.code-block__body {
  padding: 18px 20px;
  display: grid; gap: 4px;
}
.code-line { color: var(--fg-2); white-space: nowrap; }
.code-line .key { color: var(--brand-teal); font-weight: 600; }
.code-line .ok { color: #2BB673; font-weight: 600; }
.code-line .warn { color: var(--brand-coral); font-weight: 600; }
.code-line .mute { color: var(--fg-3); }
.code-line .num { color: #D6E63C; }
.code-line .arrow { color: var(--brand-teal); margin-right: 4px; }
.code-line.indent { padding-left: 18px; }

/* ============================================================
   plyzen spotlight
   ============================================================ */
.plyzen-section {
  padding: 96px 0;
}
.plyzen-card {
  border: 1px solid rgba(20,145,155,0.2);
  border-radius: 24px;
  padding: 56px;
  background:
    linear-gradient(135deg, rgba(20,145,155,0.08) 0%, rgba(11,20,26,0.4) 60%);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.plyzen-card::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214,230,60,0.05), transparent 70%);
  pointer-events: none;
}
.plyzen-pill {
  display: inline-flex;
  align-items: center; gap: 8px;
  padding: 6px 12px 6px 8px;
  border: 1px solid rgba(20,145,155,0.3);
  background: rgba(20,145,155,0.08);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  color: var(--brand-teal);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.plyzen-pill__mark {
  width: 16px; height: 16px;
  background: var(--brand-teal);
  border-radius: 4px;
  display: grid; place-items: center;
  color: white; font-size: 10px; font-weight: 700;
}
.plyzen-card h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 2vw + 0.5rem, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg-1);
  margin: 0 0 18px;
}
.plyzen-card p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0 0 28px;
}
.plyzen-card__ctas {
  display: flex; gap: 12px; flex-wrap: wrap;
}

/* plyzen mock dashboard */
.plyzen-mock {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  font-family: var(--font-display);
  color: #1F2A33;
  position: relative;
  z-index: 1;
}
.plyzen-mock__head {
  padding: 14px 18px;
  border-bottom: 1px solid #E6EAEE;
  display: flex; align-items: center; gap: 12px;
}
.plyzen-mock__logo {
  font-family: 'Play', var(--font-display);
  font-weight: 400;
  font-size: 18px;
  color: var(--brand-teal);
  letter-spacing: -0.005em;
}
.plyzen-mock__nav {
  margin-left: auto;
  display: flex; gap: 16px;
  font-size: 12px;
  color: #5C6B77;
  font-weight: 500;
}
.plyzen-mock__nav span:first-child { color: var(--brand-teal); font-weight: 600; }
.plyzen-mock__body {
  padding: 22px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.pmock-card {
  border: 1px solid #E6EAEE;
  border-radius: 10px;
  padding: 16px;
  background: white;
}
.pmock-card__lbl {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8A99A6;
  margin-bottom: 6px;
}
.pmock-card__val {
  font-size: 26px;
  font-weight: 700;
  color: #1F2A33;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.pmock-card__delta {
  font-size: 11px;
  color: #2BB673;
  font-weight: 600;
  margin-top: 4px;
}
.pmock-card--wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
}
.pmock-spark {
  width: 100%; height: 60px;
}

/* ============================================================
   Approach rail
   ============================================================ */
.rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
  margin-top: 32px;
}
.rail__step {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 28px 24px;
  background: rgba(255,255,255,0.02);
  position: relative;
  transition: all 280ms var(--ease-out);
}
.rail__step:hover {
  border-color: rgba(20,145,155,0.3);
  background: rgba(20,145,155,0.03);
}
.rail__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 36px;
  color: var(--brand-teal);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  display: inline-block;
  position: relative;
}
.rail__num::after {
  content: '';
  position: absolute;
  left: 100%; top: 50%;
  width: calc(100% + 16px);
  height: 1px;
  background: linear-gradient(90deg, rgba(20,145,155,0.4), transparent);
  margin-left: 8px;
}
.rail__step:last-child .rail__num::after { display: none; }
.rail__step h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--fg-1);
  margin: 0 0 8px;
  letter-spacing: -0.005em;
}
.rail__step p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
}
.rail__dur {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-3);
  margin-top: 12px;
  letter-spacing: 0.06em;
}

/* ============================================================
   CTA strip
   ============================================================ */
.cta-strip {
  text-align: center;
  padding: 112px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}
.cta-strip__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 800px 400px at 50% 100%, rgba(20,145,155,0.18), transparent 70%);
  pointer-events: none;
}
.cta-strip__inner { position: relative; z-index: 1; }
.cta-strip h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 2.5vw + 0.5rem, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg-1);
  margin: 0 auto 18px;
  max-width: 780px;
}
.cta-strip p {
  font-size: 18px;
  color: var(--fg-2);
  margin: 0 auto 36px;
  max-width: 560px;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  padding: 56px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.25);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-grid h5 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-1);
  margin: 0 0 14px;
}
.footer-grid ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 8px;
}
.footer-grid a, .footer-grid li {
  font-size: 14px;
  color: var(--fg-3);
  text-decoration: none;
  transition: color 200ms;
}
.footer-grid a:hover { color: var(--fg-1); }
.footer__brand-blurb {
  font-size: 14px;
  color: var(--fg-3);
  line-height: 1.6;
  margin-top: 16px;
  max-width: 320px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 13px;
  color: var(--fg-3);
}
.footer-bottom__links { display: flex; gap: 20px; }
.footer-bottom a { color: var(--fg-3); text-decoration: none; }
.footer-bottom a:hover { color: var(--fg-1); }

/* ============================================================
   Language toggle behavior
   ============================================================ */
body[data-lang="de"] [data-lang-show="en"] { display: none !important; }
body[data-lang="en"] [data-lang-show="de"] { display: none !important; }

/* Inline-flex variant for show toggles */
[data-lang-show] { /* default block, but flex containers handle naturally */ }

/* ============================================================
   Reveal-on-scroll
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { height: 400px; }
  .hero--quiet { padding: 96px 0 140px; min-height: 0; }
  .hero__corner { position: static; padding: 32px 32px 0; gap: 28px; }
  .hero__mark { position: static; padding: 24px 32px 0; }
  .ai-grid { grid-template-columns: 1fr; gap: 48px; }
  .plyzen-card { grid-template-columns: 1fr; padding: 40px 32px; gap: 40px; }
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .moves { grid-template-columns: 1fr; }
  .move { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .move:last-child { border-bottom: none; }
  .rail { grid-template-columns: 1fr 1fr; }
  .frame__numbers { grid-template-columns: 1fr 1fr; }
  .frame__numbers .frame__num:nth-child(2) { border-right: none; }
  .frame__contrast { grid-template-columns: 1fr; }
  .frame__divider { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .site-header__inner { padding: 0 20px; gap: 16px; height: 64px; }
  .nav { display: none; }
  .header-tools .btn { display: none; }
  .section { padding: 80px 0; }
  .hero { padding: 64px 0 48px; }
  .pillars-grid { grid-template-columns: 1fr; }
  .rail { grid-template-columns: 1fr; }
  .frame__numbers { grid-template-columns: 1fr; }
  .frame__numbers .frame__num { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .trust__inner { gap: 20px; }
  .trust__row { grid-template-columns: 1fr; gap: 12px; }
  .plyzen-card { padding: 32px 24px; }
  .telemetry__metrics { grid-template-columns: 1fr 1fr 1fr; }
  .metric { padding: 10px; }
  .metric__value { font-size: 18px; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
}
