/* ==========================================================================
   teuthis landing page — mobile-first styles
   Brand: Inter (body) + Space Grotesk (display), teal #0D9488 on slate #0F172A
   ========================================================================== */

/* ---------- Fonts (self-hosted: no requests to Google, GDPR-friendly) ---------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url("../fonts/space-grotesk-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url("../fonts/space-grotesk-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #0F172A;
  --ink-2: #334155;
  --muted: #475569;
  --muted-2: #64748B;
  --line: #E2E8F0;
  --bg: #FFFFFF;
  --bg-soft: #F8FAFC;
  --bg-tint: #F1F5F9;
  --teal: #0D9488;
  --teal-dark: #0F766E;
  --teal-light: #2DD4BF;
  --teal-pale: #CCFBF1;
  --teal-50: #F0FDFA;
  --blue: #2563EB;
  --blue-pale: #DBEAFE;
  --night: #0B1220;
  --night-2: #111B2E;
  --on-night: #E2E8F0;
  --on-night-muted: #94A3B8;
  --logo-body: #13243A;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;

  --gutter: 20px;
  --nav-h: 64px;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgb(15 23 42 / .05), 0 10px 30px -14px rgb(15 23 42 / .18);
  --shadow-lg: 0 40px 90px -30px rgb(2 6 23 / .55);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 640px) { :root { --gutter: 32px; --nav-h: 72px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--teal-light); outline-offset: 3px; border-radius: 6px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: min(100% - 2 * var(--gutter), 1200px); margin-inline: auto; }
.center { display: flex; justify-content: center; }

.icon {
  width: 1.15em; height: 1.15em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 10px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal-dark); margin-bottom: .9rem;
}
.eyebrow--light { color: var(--teal-light); }
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--muted); max-width: 62ch; margin-top: 1rem; }
.subhead { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); margin: clamp(3rem, 5vw, 4rem) 0 1.25rem; }

/* Long German compounds: hyphenate running text, let headings break */
:lang(de) :is(p, li, dd) { -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 10 4 4; }
p:is(.lead, .hero__lead) { -webkit-hyphens: manual; hyphens: manual; } /* must outrank the :lang(de) rule above */
h3, h4 { overflow-wrap: break-word; }

/* ---------- Buttons & badges ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 44px; padding: .7em 1.25em;
  font: 600 .98rem/1.2 var(--font-body); text-decoration: none; white-space: nowrap;
  border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { min-height: 40px; padding: .5em 1em; font-size: .9rem; }
.btn--lg { min-height: 52px; padding: .85em 1.6em; font-size: 1.02rem; }
.btn--primary { background: var(--teal-light); color: var(--night); box-shadow: 0 8px 24px -10px rgb(45 212 191 / .7); }
.btn--primary:hover { background: #5EEAD4; box-shadow: 0 12px 30px -10px rgb(45 212 191 / .85); }
.btn--ghost { color: #fff; border-color: rgb(255 255 255 / .28); background: rgb(255 255 255 / .04); }
.btn--ghost:hover { border-color: rgb(255 255 255 / .6); background: rgb(255 255 255 / .08); }

.badge {
  display: inline-flex; align-items: center; gap: .45em;
  font: 700 .72rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase;
  padding: .45em .75em; border-radius: 999px; text-decoration: none;
}
a.badge { min-height: 32px; }
.badge--live { color: #065F46; background: #D1FAE5; }
.badge--live i { width: 7px; height: 7px; border-radius: 50%; background: #10B981; box-shadow: 0 0 0 0 rgb(16 185 129 / .6); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 7px rgb(16 185 129 / 0); } 100% { box-shadow: 0 0 0 0 rgb(16 185 129 / 0); } }

.icon-badge {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--teal-50); color: var(--teal-dark); font-size: 1.2rem;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  color: #fff; --logo-body: #E8F1F2;
  transition: background-color .3s, box-shadow .3s, color .3s;
}
.nav.is-scrolled, .nav.is-open {
  color: var(--ink); --logo-body: #13243A;
  background: rgb(255 255 255 / .86);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  box-shadow: 0 1px 0 rgb(15 23 42 / .08);
}
.nav.is-open { background: #fff; }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; }
.brand__logo { width: 30px; height: 36px; }
.brand__name { font: 600 1.35rem/1 var(--font-display); letter-spacing: -.01em; }

.nav__links {
  position: fixed; inset: var(--nav-h) 0 auto; display: grid; gap: .25rem;
  padding: 1rem var(--gutter) 1.5rem; background: #fff; color: var(--ink);
  box-shadow: 0 20px 40px -20px rgb(15 23 42 / .3);
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.nav.is-open .nav__links { transform: none; opacity: 1; visibility: visible; }
.nav__links a:not(.btn) {
  padding: .8rem .25rem; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line);
}
.nav__menu-cta { margin-top: .9rem; }
.nav__actions { margin-left: auto; display: flex; align-items: center; gap: .6rem; }
.nav__cta { display: none; }
.nav__toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px; margin-right: -8px;
  color: inherit; background: none; border: 0; border-radius: 10px; cursor: pointer; font-size: 1.4rem;
}
.nav__toggle .icon--close, .nav.is-open .nav__toggle .icon--open { display: none; }
.nav.is-open .nav__toggle .icon--close { display: block; }

.lang { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid rgb(148 163 184 / .45); }
.lang__btn {
  min-width: 40px; min-height: 36px; padding: 0 .6rem; border: 0; border-radius: 999px; cursor: pointer;
  font: 700 .78rem/1 var(--font-body); letter-spacing: .06em; color: inherit; background: none; opacity: .7;
}
.lang__btn[aria-pressed="true"] { opacity: 1; background: var(--teal-light); color: var(--night); }

@media (min-width: 1024px) {
  .nav__links {
    position: static; display: flex; gap: .25rem; padding: 0; margin-left: 2rem;
    background: none; color: inherit; box-shadow: none; opacity: 1; visibility: visible; transform: none;
  }
  .nav__links a:not(.btn) {
    padding: .5rem .8rem; border: 0; border-radius: 999px; font-size: .94rem; opacity: .82;
    transition: opacity .2s, background-color .2s;
  }
  .nav__links a:not(.btn):hover, .nav__links a.is-current { opacity: 1; background: rgb(148 163 184 / .16); }
  .nav__menu-cta, .nav__toggle { display: none; }
  .nav__cta { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; color: #fff;
  padding-top: calc(var(--nav-h) + clamp(2.5rem, 6vw, 5rem));
  background: linear-gradient(to bottom, var(--night) 0, var(--night) calc(100% - 140px), var(--bg) calc(100% - 140px));
}
.hero__bg { position: absolute; inset: 0 0 140px; z-index: -1; overflow: hidden; }
.hero__glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 78% 18%, rgb(45 212 191 / .22), transparent 70%),
    radial-gradient(45% 40% at 10% 90%, rgb(37 99 235 / .18), transparent 70%);
}
.hero__contours { position: absolute; inset: 0; width: 100%; height: 100%; color: rgb(94 234 212 / .12); }
.hero__inner { display: grid; gap: 2rem; align-items: center; }
.hero__copy { max-width: 720px; }
.hero__title { font-size: clamp(2.6rem, 1.5rem + 5.2vw, 5rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.02; }
.hero__title em {
  font-style: normal;
  background: linear-gradient(100deg, #5EEAD4, #2DD4BF 45%, #99F6E4);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { margin-top: 1.4rem; font-size: clamp(1.05rem, .98rem + .4vw, 1.25rem); color: #CBD5E1; max-width: 58ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
/* Phones: stack the primary actions full-width */
@media (max-width: 479px) {
  .hero__ctas .btn { flex: 1 1 100%; }
}
.hero__eye { position: relative; justify-self: center; order: -1; display: grid; justify-items: center; }
.eye { width: clamp(96px, 20vw, 260px); height: auto; overflow: visible; filter: drop-shadow(0 20px 40px rgb(45 212 191 / .25)); animation: float 6s ease-in-out infinite; }
.eye__pupil { transform: translate(var(--px, 0px), var(--py, 0px)); transition: transform .25s var(--ease); }
.eye__tentacles path { transform-origin: top center; animation: sway 5s ease-in-out infinite; }
.eye__tentacles path:nth-child(2) { animation-delay: -1.2s; }
.eye__tentacles path:nth-child(3) { animation-delay: -2.4s; }
.eye__tentacles path:nth-child(4) { animation-delay: -3.6s; }
.eye-rings { position: absolute; top: 34%; left: 50%; width: 0; height: 0; }
.eye-rings span {
  position: absolute; left: 50%; top: 50%; width: clamp(140px, 26vw, 340px); aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgb(45 212 191 / .35); transform: translate(-50%, -50%) scale(.4); opacity: 0;
  animation: ring 6s linear infinite;
}
.eye-rings span:nth-child(2) { animation-delay: 2s; }
.eye-rings span:nth-child(3) { animation-delay: 4s; }
.hero__tagline { display: none; margin-top: 1.25rem; font: 500 .85rem/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--on-night-muted); }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes sway { 50% { transform: rotate(3deg); } }
@keyframes ring { 0% { transform: translate(-50%, -50%) scale(.4); opacity: 0; } 15% { opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; } }

/* Touch devices: the eye looks around on its own instead of following the pointer */
@media (hover: none) {
  .eye__pupil { animation: look 9s ease-in-out infinite; }
}
@keyframes look {
  0%, 20%, 80%, 100% { transform: translate(0, 0); }
  30%, 45% { transform: translate(-4px, 2px); }
  55%, 70% { transform: translate(4px, 3px); }
}

.hero__shot { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: clamp(3rem, 7vw, 5rem); }
.browser {
  margin: 0; overflow: hidden; border-radius: 14px; background: var(--night-2);
  border: 1px solid rgb(148 163 184 / .22); box-shadow: var(--shadow-lg), 0 0 0 8px rgb(45 212 191 / .05);
}
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #0E1626; border-bottom: 1px solid rgb(148 163 184 / .14); }
.browser__bar > span:not(.badge) { width: 10px; height: 10px; border-radius: 50%; background: #334155; }
.browser__url {
  flex: 1; margin: 0 8px; padding: 4px 12px; border-radius: 8px; background: rgb(255 255 255 / .05);
  font-size: .75rem; color: var(--on-night-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.stat-float {
  display: grid; align-content: start; padding: .85rem 1.1rem; border-radius: 14px; background: #fff; color: var(--ink);
  box-shadow: var(--shadow);
}
.stat-float strong { font: 700 clamp(1.1rem, 4.6vw, 1.35rem)/1.1 var(--font-display); color: var(--teal-dark); white-space: nowrap; }
.stat-float span { font-size: .85rem; color: var(--muted); }
.hero__shot .browser, .hero__shot-caption { grid-column: 1 / -1; }
.hero__shot-caption { text-align: center; font-size: .86rem; color: var(--muted-2); margin-top: .5rem; }

@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1.35fr .65fr; }
  .hero__eye { order: 0; }
  .hero__tagline { display: block; }
  .hero__shot { display: block; }
  .stat-float { position: absolute; z-index: 2; animation: float 7s ease-in-out infinite; }
  .stat-float--a { left: -28px; top: 22%; }
  .stat-float--b { right: -28px; bottom: 22%; animation-delay: -3s; }
  .hero__shot-caption { margin-top: 1rem; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.75rem, 2.5rem + 5vw, 6.5rem); }
.section--tint { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section--dark { background: var(--night); color: #fff; }
.section--dark .lead { color: #CBD5E1; }
.section__head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head--center { text-align: center; }
.section__head--center .lead { margin-inline: auto; }

/* ---------- Problem: pyramid + pain points ---------- */
.section--pyramid {
  background:
    radial-gradient(60% 40% at 50% 100%, rgb(45 212 191 / .12), transparent 70%),
    var(--bg);
}
.problem-layout { display: grid; gap: 2rem; align-items: center; }
.problem-layout > * { min-width: 0; }
.pyramid { margin: 0; }
.pyramid svg { display: block; width: 100%; max-width: 540px; height: auto; margin-inline: auto; overflow: visible; }
.layer { cursor: pointer; outline: none; transition: opacity .35s, transform .35s var(--ease), filter .35s; }
.layer > polygon { transition: opacity .35s; }
.layer:not(.is-active) > polygon { opacity: .6; }
.layer:hover > polygon { opacity: 1; }
.layer.is-active { filter: drop-shadow(0 10px 22px rgb(13 148 136 / .35)); }
.layer--strategic.is-active, .layer--tactical.is-active { filter: drop-shadow(0 10px 22px rgb(37 99 235 / .3)); }
.layer:focus-visible polygon:first-child { stroke: var(--blue); stroke-width: 3; }
.layer__label { font: italic 700 22px var(--font-display); letter-spacing: .14em; pointer-events: none; fill: #fff; }
.layer__label--strategic { font-size: 13px; letter-spacing: .16em; }
.layer__label--tactical { fill: #1D4ED8; font-size: 18px; }
.layer__label--operational { font-size: 24px; }
.pyramid__glow { animation: glow 4s ease-in-out infinite; transform-origin: center; }
@keyframes glow { 50% { opacity: .55; } }
.pyramid__caption {
  max-width: 520px; margin: .75rem auto 0; padding: 1rem 1.25rem; border-radius: var(--radius-sm);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); text-align: center;
}
.pyramid__cap { display: none; }
.pyramid__cap.is-active { display: block; animation: fade .35s var(--ease); }
.pyramid__cap strong { display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--teal-dark); }
.pyramid__cap span { color: var(--muted); font-size: .95rem; }
.pyramid__hint { display: block; margin-top: .5rem; font-size: .76rem; color: var(--muted-2); letter-spacing: .04em; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } }

.pains { display: grid; gap: 1rem; }
.pain {
  display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.25rem; border-radius: var(--radius-sm);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.pain .icon-badge { flex: none; }
.pain h3 { font-size: 1.08rem; }
.pain p { color: var(--muted); font-size: .95rem; margin-top: .2rem; }
@media (min-width: 900px) { .problem-layout { grid-template-columns: 1.15fr .85fr; gap: 3rem; } }

/* ---------- Solution (dark) ---------- */
.steps { display: grid; gap: 1rem; margin-bottom: 1.25rem; }
.steps li { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.25rem; border-radius: var(--radius-sm); background: rgb(255 255 255 / .04); border: 1px solid rgb(148 163 184 / .16); }
.steps__n {
  display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%;
  font: 700 1rem/1 var(--font-display); color: var(--night); background: var(--teal-light);
}
.steps h3 { font-size: 1.05rem; }
.steps p { color: var(--on-night-muted); font-size: .94rem; margin-top: .15rem; }
.pillars {
  display: grid; gap: 1.25rem; margin-bottom: 2.5rem; padding: 1.5rem; border-radius: var(--radius);
  background: rgb(45 212 191 / .06); border: 1px solid rgb(45 212 191 / .25);
}
.pillar { display: flex; gap: 1rem; align-items: flex-start; }
.pillar > .icon { font-size: 1.5rem; color: var(--teal-light); margin-top: .1rem; }
.pillar h3 { font-size: 1.08rem; }
.pillar p { color: var(--on-night-muted); font-size: .94rem; margin-top: .2rem; }
@media (min-width: 900px) {
  .steps, .pillars { grid-template-columns: repeat(3, 1fr); }
  .pillars { padding: 1.75rem 2rem; gap: 2rem; }
}

/* ---------- Roadmap ---------- */
.track {
  display: grid; gap: .5rem; padding: 1.1rem 1.25rem; margin-top: 1.5rem; border-radius: var(--radius-sm);
  background: var(--teal-50); border: 1px dashed #5EEAD4;
}
.track p { color: var(--ink-2); font-size: .96rem; }
.track strong { font: 700 1.35rem var(--font-display); color: var(--teal-dark); }
.track__tag {
  display: inline-flex; align-items: center; gap: .4rem; justify-self: start;
  font: 700 .72rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: var(--teal-dark); padding: .45rem .7rem; border-radius: 999px;
}
.timeline { position: relative; display: grid; gap: 1.25rem; padding-left: 30px; }
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 12px; bottom: 12px; width: 2px;
  background: linear-gradient(to bottom, var(--teal), var(--teal-light) 60%, var(--blue));
}
.milestone {
  position: relative; padding: 1.4rem 1.4rem 1.5rem; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.milestone__dot {
  position: absolute; left: -30px; top: 1.6rem; width: 18px; height: 18px; border-radius: 50%;
  background: #fff; border: 3px solid var(--teal);
}
.milestone--done .milestone__dot { background: var(--teal); box-shadow: 0 0 0 5px rgb(13 148 136 / .18); }
.milestone--blue .milestone__dot { border-color: var(--blue); }
.milestone__when { font: 700 .78rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--teal-dark); }
.milestone--blue .milestone__when { color: #1D4ED8; }
.milestone h3 { font-size: 1.45rem; margin-top: .45rem; }
.milestone > p:not(.milestone__when) { color: var(--muted); margin-top: .35rem; }
.milestone .badge { margin-top: 1rem; }
@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(3, 1fr); padding: 34px 0 0; gap: 1.5rem; }
  .timeline::before { left: 12px; right: 12px; top: 8px; bottom: auto; width: auto; height: 2px; background: linear-gradient(to right, var(--teal), var(--teal-light) 60%, var(--blue)); }
  .milestone__dot { left: 1.4rem; top: -34px; }
}

.next { margin-top: 1.5rem; padding: 1.25rem 1.4rem; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.next__title { font: 700 .78rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: #1D4ED8; }
.next ul { display: grid; gap: 1rem; margin-top: 1rem; }
.next li { display: flex; gap: .8rem; align-items: flex-start; }
.next li > .icon { margin-top: .2rem; color: var(--blue); font-size: 1.15rem; }
.next strong { display: block; font-weight: 600; }
.next span { font-size: .92rem; color: var(--muted); }
@media (min-width: 900px) { .next ul { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

/* ---------- Market ---------- */
.metrics { display: grid; gap: 1rem; }
.metric { padding: 1.35rem 1.5rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.metric__label { font: 700 .74rem/1.3 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.metric__value { margin: .35rem 0 .25rem; font: 700 clamp(2rem, 1.6rem + 1.6vw, 2.6rem)/1.1 var(--font-display); letter-spacing: -.02em; }
.metric__value small { font: 500 .95rem var(--font-body); color: var(--muted-2); letter-spacing: 0; }
.metric > p:last-child { color: var(--muted); font-size: .95rem; }
.metric--accent { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }
.metric--accent .metric__label, .metric--accent > p:last-child { color: #CCFBF1; }
@media (min-width: 900px) { .metrics { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Competitors table ---------- */
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; margin-bottom: 1rem; font-size: .88rem; color: var(--muted); }
.legend > span { display: inline-flex; align-items: center; gap: .45rem; }
.legend__swipe { margin-left: auto; color: var(--muted-2); font-size: .82rem; }
.dot { display: inline-block; width: 18px; height: 18px; border-radius: 50%; vertical-align: middle; }
.dot--full { background: var(--teal); }
.dot--part { background: var(--teal-pale); box-shadow: inset 0 0 0 2px var(--teal-light); }
.dot--gap { background: var(--line); }
.table-wrap {
  overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow);
  -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
.comp { width: 100%; min-width: 740px; border-collapse: separate; border-spacing: 0; font-size: .88rem; }
.comp th, .comp td { padding: .85rem .9rem; text-align: center; border-bottom: 1px solid var(--line); }
.comp thead th { font: 600 .82rem/1.3 var(--font-body); color: var(--ink-2); vertical-align: bottom; background: var(--bg-soft); }
.comp th small { display: block; font-weight: 400; font-size: .76rem; color: var(--muted-2); margin-top: .15rem; }
.comp thead tr:last-child th:first-child { text-align: left; text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; font-weight: 700; color: var(--muted-2); }
.comp tbody th { text-align: left; font-weight: 700; width: 8.75rem; min-width: 8.75rem; }
.comp tr > :first-child { position: sticky; left: 0; z-index: 1; background: #fff; box-shadow: 1px 0 0 var(--line); }
.comp thead tr > :first-child { background: var(--bg-soft); }
.comp__groups th { padding-bottom: 0; border-bottom: 0; text-align: center; text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; font-weight: 700; color: var(--teal-dark); }
.comp__groups td { border-bottom: 0; background: var(--bg-soft); }
.comp .comp__cost { position: sticky; right: 0; z-index: 1; box-shadow: -1px 0 0 var(--line); font: 700 1rem var(--font-display); color: var(--teal-dark); background: var(--teal-50); white-space: nowrap; }
.comp thead .comp__cost { font: 700 .82rem/1.3 var(--font-body); }
.comp tbody tr:last-child > * { border-bottom: 0; }
.comp__us > * { background: var(--teal-50) !important; }
.comp__us th { color: var(--teal-dark); font-size: 1.05rem; }
.comp__us .comp__cost { font-size: 1.35rem; background: var(--teal-pale) !important; }
.footnote { margin-top: 1rem; font-size: .82rem; color: var(--muted-2); max-width: 80ch; }
@media (max-width: 899px) {
  /* Keep the group label readable next to the pinned vendor column while scrolling */
  .comp__groups th { text-align: left; }
  .comp__groups th span { position: sticky; left: 10.75rem; display: inline-block; }
}
@media (max-width: 639px) {
  /* Phones: vendor and price stay pinned, the five needs scroll between them */
  .comp { min-width: 640px; }
  .comp th, .comp td { padding: .7rem .5rem; }
  .comp tbody th { width: 7rem; min-width: 7rem; }
  .comp__groups th span { left: 8rem; max-width: 7.5rem; }
  .comp thead .comp__cost { white-space: normal; width: 5.5rem; min-width: 5.5rem; }
  .comp .comp__cost { font-size: .9rem; }
  .comp__us .comp__cost { font-size: 1.05rem; }
}
@media (min-width: 900px) {
  .legend > .legend__swipe { display: none; }
  .comp { min-width: 860px; font-size: .92rem; }
  .comp tbody th { white-space: nowrap; width: auto; min-width: 190px; }
}

/* ---------- Team ---------- */
.team-grid { display: grid; gap: 1.25rem; }
.founder {
  display: grid; gap: 1.25rem; padding: 1.5rem; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.founder img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--teal-light); }
.founder h3 { font-size: 1.35rem; }
.founder__role { margin-top: .35rem; font-weight: 600; color: var(--teal-dark); }
.founder__bio { margin-top: .5rem; font-size: .93rem; color: var(--muted); }
.institutions {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.25rem; margin-top: 2.5rem;
  font: 600 1rem/1 var(--font-display); color: var(--muted-2); letter-spacing: .01em;
}
@media (min-width: 640px) { .founder { grid-template-columns: auto 1fr; align-items: start; } }
@media (min-width: 1000px) { .team-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- CTA & footer ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(5rem, 4rem + 6vw, 9rem); background: var(--night); color: #fff; text-align: center; --logo-body: #E8F1F2; }
.cta__glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 50% 0%, rgb(45 212 191 / .25), transparent 70%); }
.cta__inner { display: grid; justify-items: center; }
.cta__logo { width: 64px; height: 76px; margin-bottom: 1.5rem; animation: float 6s ease-in-out infinite; }
.cta h2 { max-width: 18ch; font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); }
.cta .lead { color: #CBD5E1; margin-inline: auto; }
.cta__btns { justify-content: center; }
.cta__mail { margin-top: 1.5rem; color: var(--teal-light); font-weight: 600; text-underline-offset: 4px; overflow-wrap: anywhere; }
.footer { background: var(--night); color: var(--on-night-muted); border-top: 1px solid rgb(148 163 184 / .14); --logo-body: #E8F1F2; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 2rem; }
.footer .brand { color: #fff; }
.footer__tag { font: 500 .82rem/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; }
.footer__copy { font-size: .85rem; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
