/* ============================================
   DEL-systems – Digital Efficiency Labs
   ============================================ */

:root {
  --bg-deep: #0D1B2A;
  --bg-surface: #1B2A3D;
  --accent: #00C2CB;
  --accent-light: #5EEAD4;
  --text-primary: #EAF2F5;
  --text-muted: #8FA3AD;

  --navbar-expanded-padding: 0.5rem;
  --navbar-compact-padding: 0.25rem;
  --navbar-expanded-height: 4.25rem;
  --navbar-compact-height: 3.25rem;
  --navbar-margin: 1.25rem;
  --navbar-radius: 9999px;

  --font-display: 'Syne', sans-serif;
  --font-body: 'Inter', sans-serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);

  /* Unified accent glow – robot, primary button, navbar CTA */
  --glow-accent-color-1: rgba(0, 194, 203, 0.38);
  --glow-accent-color-2: rgba(0, 194, 203, 0.2);
  --glow-accent-color-3: rgba(94, 234, 212, 0.12);
  --glow-accent-spread-1: 14px;
  --glow-accent-spread-2: 32px;
  --glow-accent-spread-3: 50px;
  --glow-accent-box-shadow:
    0 0 var(--glow-accent-spread-1) var(--glow-accent-color-1),
    0 0 var(--glow-accent-spread-2) var(--glow-accent-color-2),
    0 0 var(--glow-accent-spread-3) var(--glow-accent-color-3);
  --glow-accent-filter:
    drop-shadow(0 0 var(--glow-accent-spread-1) var(--glow-accent-color-1))
    drop-shadow(0 0 var(--glow-accent-spread-2) var(--glow-accent-color-2))
    drop-shadow(0 0 var(--glow-accent-spread-3) var(--glow-accent-color-3));

  --grain-svg: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.u-only-mobile {
  display: none;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ---- Ambient Background ---- */

.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.ambient__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  will-change: transform, opacity;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.ambient__orb--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  animation: orb-drift-1 22s ease-in-out infinite;
}

.ambient__orb--2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-light) 0%, transparent 70%);
  top: 35%;
  left: -150px;
  animation: orb-drift-2 28s ease-in-out infinite;
}

.ambient__orb--3 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  top: 52%;
  right: -80px;
  animation: orb-drift-3 26s ease-in-out infinite;
}

.ambient__orb--4 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, var(--accent-light) 0%, transparent 70%);
  top: 62%;
  left: 5%;
  animation: orb-drift-4 32s ease-in-out infinite;
}

@keyframes orb-drift-1 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.32;
  }
  33% {
    transform: translate(35px, 25px) scale(1.1);
    opacity: 0.45;
  }
  66% {
    transform: translate(-20px, 40px) scale(0.96);
    opacity: 0.28;
  }
}

@keyframes orb-drift-2 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.18;
  }
  40% {
    transform: translate(-30px, -35px) scale(1.12);
    opacity: 0.32;
  }
  70% {
    transform: translate(25px, 20px) scale(0.94);
    opacity: 0.22;
  }
}

@keyframes orb-drift-3 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.22;
  }
  50% {
    transform: translate(-40px, 30px) scale(1.08);
    opacity: 0.36;
  }
}

@keyframes orb-drift-4 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.15;
  }
  45% {
    transform: translate(35px, -25px) scale(1.1);
    opacity: 0.28;
  }
}

.ambient__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 194, 203, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 194, 203, 0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 85%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 85%);
}

/* Full-page film grain – sits above orbs, below content */
.ambient__grain {
  position: absolute;
  inset: 0;
  background-image: var(--grain-svg);
  background-size: 200px 200px;
  opacity: 0.045;
  mix-blend-mode: overlay;
  pointer-events: none;
  will-change: opacity;
}

/* Grainy liquid glass utility */
.grain-glass {
  position: relative;
  isolation: isolate;
}

.grain-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  opacity: 0.10;
  background-image: var(--grain-svg);
  background-size: 180px 180px;
  mix-blend-mode: overlay;
}

.grain-glass > * {
  position: relative;
  z-index: 1;
}

/* ---- Floating Glass Navbar ---- */

.navbar {
  position: fixed;
  top: var(--navbar-margin);
  left: 50%;
  transform: translateX(-50%);
  width: min(820px, calc(100% - 1rem));
  z-index: 1000;
  transition:
    top 0.5s var(--ease-out-expo),
    width 0.5s var(--ease-out-expo);
}

.navbar.is-scrolled {
  top: 0.75rem;
  width: min(760px, calc(100% - 1.25rem));
}

.navbar__inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0;
  height: var(--navbar-expanded-height);
  padding: 0 0 0 clamp(0.75rem, 2vw, 1.5rem);
  border-radius: var(--navbar-radius);
  background: rgba(27, 42, 61, 0.42);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  overflow: hidden;
  container-type: inline-size;
  container-name: navbar;
  transition:
    height 0.5s var(--ease-out-expo),
    padding 0.5s var(--ease-out-expo),
    box-shadow 0.5s var(--ease-out-expo);
}

.navbar__inner.grain-glass::before {
  opacity: 0.12;
}

.navbar__inner.grain-glass::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.06) 0%,
    transparent 40%,
    transparent 60%,
    rgba(0, 194, 203, 0.04) 100%
  );
}

.navbar.is-scrolled .navbar__inner {
  height: var(--navbar-compact-height);
  padding-left: 1.25rem;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.navbar__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  opacity: 0.95;
  transition: opacity 0.3s ease;
  position: relative;
  z-index: 1;
}

.navbar__logo:hover {
  opacity: 1;
}

.navbar__logo img {
  height: clamp(30px, 4.5vw, 42px);
  width: auto;
  transition: height 0.5s var(--ease-out-expo);
}

.navbar.is-scrolled .navbar__logo img {
  height: clamp(28px, 4vw, 36px);
}

.navbar__right {
  display: flex;
  align-items: stretch;
  height: 100%;
  margin-left: auto;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 2.5vw, 1.75rem);
  padding: 0 clamp(0.35rem, 1.5vw, 1.25rem) 0 clamp(0.25rem, 1vw, 0.75rem);
}

.navbar__link {
  font-size: clamp(0.68rem, 2.2vw, 0.88rem);
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.01em;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.navbar__link-short {
  display: none;
}

.navbar__link:hover {
  color: var(--text-primary);
}

/* Seamless turquoise right cap of the pill */
.navbar__cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  align-self: stretch;
  height: 100%;
  margin: 0;
  padding: 0 clamp(0.75rem, 2.5vw, 1.75rem);
  font-size: clamp(0.72rem, 2vw, 0.875rem);
  font-weight: 600;
  color: var(--bg-deep);
  background: linear-gradient(
    135deg,
    rgba(0, 194, 203, 0.9) 0%,
    rgba(94, 234, 212, 0.8) 100%
  );
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-left: 1px solid rgba(94, 234, 212, 0.35);
  border-radius: 0 var(--navbar-radius) var(--navbar-radius) 0;
  box-shadow:
    var(--glow-accent-box-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition:
    padding 0.5s var(--ease-out-expo),
    background 0.3s ease;
  position: relative;
  isolation: isolate;
}

.navbar__cta::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0.14;
  background-image: var(--grain-svg);
  background-size: 140px 140px;
  mix-blend-mode: overlay;
}

.navbar.is-scrolled .navbar__cta {
  padding: 0 clamp(0.7rem, 2.2vw, 1.35rem);
}

@container navbar (max-width: 320px) {
  .navbar__link-full {
    display: none;
  }

  .navbar__link-short {
    display: inline;
  }
}

.navbar__cta:hover {
  background: linear-gradient(
    135deg,
    rgba(0, 194, 203, 0.95) 0%,
    rgba(94, 234, 212, 0.88) 100%
  );
}

.navbar__cta-arrow {
  transition: transform 0.4s var(--ease-out-expo);
}

.navbar__cta:hover .navbar__cta-arrow {
  animation: arrow-sway 0.8s var(--ease-in-out) infinite;
}

@keyframes arrow-sway {
  0%, 100% { transform: translateX(0); }
  25%       { transform: translateX(4px); }
  75%       { transform: translateX(-2px); }
}

/* ---- Hero ---- */

.hero {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  grid-template-areas:
    "content visual"
    "actions visual";
  align-items: center;
  gap: clamp(1.2rem, 3.2vw, 3.1rem);
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding:
    calc(var(--navbar-expanded-height) + var(--navbar-margin) * 2 + 0.75rem)
    clamp(1rem, 5vw, 3rem)
    clamp(1rem, 2.8vh, 1.8rem);
  box-sizing: border-box;
  overflow: hidden;
}

.hero__content {
  grid-area: content;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  min-width: 0;
  max-width: min(720px, 100%);
}

.hero__badge {
  position: relative;
  display: inline-flex;
  align-self: flex-start;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--navbar-radius);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-light);
  background: rgba(0, 194, 203, 0.08);
  border: 1px solid rgba(0, 194, 203, 0.2);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.hero__badge::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain-svg);
  background-size: 100px 100px;
  opacity: 0.07;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--accent); }
  50%       { opacity: 0.6; box-shadow: 0 0 16px var(--accent); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.42rem, 3.55vw + 0.26rem, 3.95rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: 0.9rem;
  max-width: 100%;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: auto;
  text-wrap: balance;
}

.hero__title-main {
  display: block;
}

.hero__title-sub {
  display: block;
  margin-top: 0.2rem;
  font-size: clamp(0.52em, 0.92vw, 0.62em);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--accent-light);
}

.hero__title-break {
  display: none;
}

.hero__title-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.2vw + 0.65rem, 1.3rem);
  color: var(--text-muted);
  max-width: min(600px, 100%);
  margin-bottom: clamp(0.7rem, 1.5vh, 1.35rem);
  line-height: 1.62;
}

.hero__actions {
  grid-area: actions;
  align-self: start;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  width: 100%;
  max-width: min(560px, 100%);
  margin-top: 0;
}

.btn,
.pricing-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.7rem, 2vw, 0.85rem) clamp(1.1rem, 3vw, 1.75rem);
  border-radius: var(--navbar-radius);
  font-size: clamp(0.82rem, 1.5vw + 0.3rem, 0.9rem);
  font-weight: 600;
  transition:
    background 0.28s var(--ease-out-expo),
    border-color 0.28s var(--ease-out-expo),
    box-shadow 0.28s var(--ease-out-expo),
    transform 0.28s var(--ease-out-expo),
    filter 0.28s var(--ease-out-expo),
    color 0.28s var(--ease-out-expo);
  cursor: pointer;
  text-align: center;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--bg-deep);
  border: none;
  box-shadow: var(--glow-accent-box-shadow);
}

.btn--primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.08) saturate(1.08);
  box-shadow:
    0 0 26px rgba(0, 194, 203, 0.5),
    0 0 48px rgba(94, 234, 212, 0.35);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(0, 194, 203, 0.3);
  box-shadow: 0 0 22px rgba(0, 194, 203, 0.16);
  transform: translateY(-1px);
}

/* Hero visual – robot */
.hero__visual {
  grid-area: visual;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(150px, 32vh, 360px);
}

.hero__robot-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 194, 203, 0.12) 0%,
    transparent 65%
  );
  filter: blur(40px);
  pointer-events: none;
}

.hero__robot {
  position: relative;
  z-index: 1;
  width: clamp(120px, 16vw + 24px, 210px);
  height: auto;
  filter: var(--glow-accent-filter);
  animation: robot-float 7s ease-in-out infinite;
}

.hero__scroll-cue {
  position: absolute;
  right: clamp(1rem, 3vw, 2.2rem);
  bottom: max(0.65rem, env(safe-area-inset-bottom, 0px));
  transform: none;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.04rem;
  color: rgba(94, 234, 212, 0.72);
  text-align: center;
  letter-spacing: 0.06em;
  animation: cue-bob 2.2s ease-in-out infinite;
}

.hero__scroll-cue-label {
  font-size: clamp(0.58rem, 0.8vw + 0.38rem, 0.76rem);
  font-weight: 500;
  text-transform: lowercase;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  opacity: 0.76;
}

.hero__scroll-cue-arrow {
  font-size: clamp(0.86rem, 1.2vw, 1.1rem);
  line-height: 1;
  opacity: 0.78;
}

@keyframes cue-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(4px); }
}

@keyframes robot-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-18px); }
}

/* ---- Scroll Story (Stacking Cards) ---- */

.story {
  position: relative;
  z-index: 1;
}

.story__track {
  position: relative;
}

.story__section {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 2rem 5vw;
  background: rgba(13, 27, 42, var(--story-panel-alpha, 0.74));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(94, 234, 212, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(94, 234, 212, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12);
  overflow: hidden;
  transition: background-color 0.28s ease;
}

.story__section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(0, 194, 203, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* Increasing z-index so each section stacks on top */
.story__section--1 { z-index: 1; }
.story__section--2 { z-index: 2; }
.story__section--3 { z-index: 3; }
.story__section--4 {
  z-index: 4;
  height: 105vh;
  min-height: 105vh;
  border-bottom: none;
}

.story__section--4::before {
  display: none;
}

.story__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.story__inner--reverse .story__text {
  order: 2;
}

.story__inner--reverse .story__graphic {
  order: 1;
}

.story__inner--flow {
  grid-template-columns: 1fr;
  gap: 1.2rem;
  align-items: start;
  max-width: 1320px;
}

.story__inner--flow .story__text {
  width: 100%;
  max-width: 100%;
}

.story__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--navbar-radius);
  background: rgba(0, 194, 203, 0.08);
  border: 1px solid rgba(0, 194, 203, 0.15);
}

.story__heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw + 0.4rem, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.story__body {
  font-size: clamp(1.05rem, 1.1vw + 0.55rem, 1.3rem);
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 560px;
}

.story__flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.8rem;
  margin-top: 0.55rem;
  padding-top: 1rem;
  max-width: 100%;
}

.story__flow::before {
  content: '';
  position: absolute;
  top: 2.5rem;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(0, 194, 203, 0.12) 0%,
    rgba(94, 234, 212, 0.55) 50%,
    rgba(0, 194, 203, 0.12) 100%
  );
  box-shadow: 0 0 14px rgba(94, 234, 212, 0.25);
}

.story__flow-step {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.story__flow-badge {
  position: relative;
  width: 84px;
  height: 84px;
  margin-bottom: 1rem;
  border-radius: 1rem;
  background: rgba(27, 42, 61, 0.86);
  border: 1px solid rgba(0, 194, 203, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 22px rgba(0, 194, 203, 0.1),
    inset 0 1px 0 rgba(0, 194, 203, 0.08);
  overflow: visible;
}

.story__flow-badge::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain-svg);
  background-size: 84px 84px;
  opacity: 0.055;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 2;
}

.story__flow-badge::before {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 0.8rem;
  background: radial-gradient(circle, rgba(0, 194, 203, 0.16) 0%, transparent 72%);
  pointer-events: none;
}

.story__flow-number {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--bg-deep);
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(94, 234, 212, 0.35);
  z-index: 3;
}

.story__flow-icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: var(--glow-accent-filter);
}

.story__flow-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.55rem;
}

.story__flow-text {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.65;
  max-width: none;
}

/* Graphic placeholders */
.graphic-placeholder {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 1.25rem;
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  overflow: hidden;
}

.graphic-placeholder--cyan {
  border-color: rgba(0, 194, 203, 0.15);
}

.graphic-placeholder__glow {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 194, 203, 0.15) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.graphic-placeholder__illustration {
  width: min(78%, 280px);
  height: auto;
  max-height: 82%;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: var(--glow-accent-filter);
}

.graphic-placeholder__icon {
  width: 64px;
  height: 64px;
  color: var(--accent);
  position: relative;
  z-index: 1;
  filter: var(--glow-accent-filter);
}

/* ---- Pricing ---- */

.pricing {
  position: relative;
  z-index: 2;
  padding: 6rem 5vw;
  background: transparent;
  content-visibility: auto;
  contain-intrinsic-size: 1200px;
}

.pricing__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.2vw + 0.3rem, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: clamp(1rem, 1vw + 0.55rem, 1.25rem);
  line-height: 1.7;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: stretch;
  padding-top: 1.5rem;
  overflow: visible;
}

.pricing__table-wrapper {
  margin: 3rem auto 0;
  max-width: 1100px;
}

.pricing__table-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1rem;
}

.pricing__table {
  position: relative;
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.9rem;
  background: rgba(13, 27, 42, 0.8);
  border-radius: 0.9rem;
  overflow: hidden;
  border: 1px solid rgba(94, 234, 212, 0.2);
}

.pricing__table::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain-svg);
  background-size: 200px 200px;
  opacity: 0.055;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 0;
}

.pricing__table > * {
  position: relative;
  z-index: 1;
}

.pricing__table th,
.pricing__table td {
  padding: 0.7rem 0.75rem;
  text-align: left;
}

.pricing__table thead {
  background: rgba(0, 194, 203, 0.1);
}

.pricing__table th:first-child {
  width: 40%;
}

.pricing__table th:nth-child(2),
.pricing__table th:nth-child(3),
.pricing__table th:nth-child(4),
.pricing__table td:nth-child(2),
.pricing__table td:nth-child(3),
.pricing__table td:nth-child(4) {
  width: 20%;
}

.pricing__table tbody tr:nth-child(even) {
  background: rgba(13, 27, 42, 0.9);
}

.pricing__table tbody tr:nth-child(odd) {
  background: rgba(13, 27, 42, 0.8);
}

.pricing__table td:nth-child(n + 2) {
  text-align: center;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.5rem 2rem;
  border-radius: 1.25rem;
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.4s var(--ease-out-expo), border-color 0.3s ease, box-shadow 0.4s ease;
  overflow: visible;
}

.pricing-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: var(--grain-svg);
  background-size: 180px 180px;
  opacity: 0.055;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 0;
}

.pricing-card > * {
  position: relative;
  z-index: 1;
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 194, 203, 0.2);
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 194, 203, 0.08);
}

.pricing-card--featured {
  border-color: rgba(0, 194, 203, 0.3);
  box-shadow:
    0 0 40px rgba(0, 194, 203, 0.15),
    0 0 80px rgba(0, 194, 203, 0.08),
    inset 0 1px 0 rgba(0, 194, 203, 0.1);
  animation: featured-glow 4s ease infinite alternate;
  margin-top: 0.25rem;
}

.pricing-card--featured:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 194, 203, 0.4);
  box-shadow:
    0 24px 70px -20px rgba(0, 0, 0, 0.5),
    0 0 50px rgba(0, 194, 203, 0.18),
    0 0 100px rgba(0, 194, 203, 0.1);
}

@keyframes featured-glow {
  from {
    box-shadow:
      0 0 40px rgba(0, 194, 203, 0.15),
      0 0 80px rgba(0, 194, 203, 0.08),
      inset 0 1px 0 rgba(0, 194, 203, 0.1);
  }
  to {
    box-shadow:
      0 0 50px rgba(0, 194, 203, 0.25),
      0 0 100px rgba(0, 194, 203, 0.12),
      inset 0 1px 0 rgba(0, 194, 203, 0.15);
  }
}

.pricing-card__badge {
  position: absolute;
  top: -0.85rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.35rem 1rem;
  border-radius: var(--navbar-radius);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bg-deep);
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  box-shadow: 0 0 16px rgba(0, 194, 203, 0.4);
  z-index: 2;
  white-space: nowrap;
}

.pricing-card__icon {
  width: 64px;
  height: 64px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: rgba(0, 194, 203, 0.06);
  border: 1px solid rgba(0, 194, 203, 0.1);
}

.pricing-card__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.pricing-card__price {
  margin-bottom: 1.5rem;
}

.pricing-card__trial {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--accent-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.pricing-card__setup {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.pricing-card__monthly {
  font-size: 0.9rem;
  color: var(--accent-light);
  font-weight: 500;
}

.pricing-card__features {
  flex: 1;
  margin-bottom: 2rem;
}

.pricing-card__features li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  line-height: 1.6;
}

.pricing-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px rgba(0, 194, 203, 0.5);
}

.pricing-card__btn {
  width: 100%;
  padding: 0.85rem;
  border-radius: var(--navbar-radius);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-card__btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 194, 203, 0.3);
  box-shadow: 0 0 22px rgba(0, 194, 203, 0.16);
  transform: translateY(-1px);
}

.pricing-card__btn--featured {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--bg-deep);
  border: none;
  box-shadow:
    0 0 24px rgba(0, 194, 203, 0.3),
    0 0 38px rgba(94, 234, 212, 0.2);
  transition:
    box-shadow 0.28s var(--ease-out-expo),
    transform 0.28s var(--ease-out-expo),
    filter 0.28s var(--ease-out-expo),
    background 0.28s var(--ease-out-expo);
}

.pricing-card__btn--featured:hover {
  background: linear-gradient(
    135deg,
    rgba(94, 234, 212, 1) 0%,
    rgba(0, 194, 203, 0.98) 100%
  );
  box-shadow:
    0 0 32px rgba(0, 194, 203, 0.55),
    0 0 56px rgba(94, 234, 212, 0.45),
    0 0 84px rgba(94, 234, 212, 0.22);
  filter: brightness(1.08) saturate(1.1);
  transform: translateY(-1px);
}

/* ---- Lead / Footer Bot ---- */

.lead {
  position: relative;
  z-index: 5;
  padding: 6rem 5vw 8rem;
  background: transparent;
  text-align: center;
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

.lead__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.8vw + 0.3rem, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.lead__subtitle {
  color: var(--text-muted);
  font-size: 1.25rem;
  line-height: 1.7;
  margin-bottom: 3rem;
}

.lead__bot-container {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.lead__bot-glow {
  position: absolute;
  inset: -20px;
  border-radius: 1.5rem;
  background: radial-gradient(ellipse at center, rgba(0, 194, 203, 0.12) 0%, transparent 70%);
  filter: blur(20px);
  animation: bot-glow-pulse 4s ease infinite alternate;
}

@keyframes bot-glow-pulse {
  from { opacity: 0.6; transform: scale(0.98); }
  to   { opacity: 1; transform: scale(1.02); }
}

.lead__bot-placeholder {
  position: relative;
  padding: 4rem 2rem;
  border-radius: 1.25rem;
  background: rgba(27, 42, 61, 0.75);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(0, 194, 203, 0.15);
  box-shadow:
    0 0 40px rgba(0, 194, 203, 0.08),
    inset 0 1px 0 rgba(0, 194, 203, 0.08);
  overflow: hidden;
}

.lead__bot-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0.08;
  background-image: var(--grain-svg);
  background-size: 160px 160px;
  mix-blend-mode: overlay;
}

.lead__bot-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color: var(--accent);
}

.lead__bot-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.lead__bot-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---- Footer ---- */

.footer {
  position: relative;
  z-index: 5;
  padding: 2rem 5vw;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  background: transparent;
  content-visibility: auto;
  contain-intrinsic-size: 180px;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__logo {
  opacity: 0.7;
}

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

.footer__contact {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer__contact a {
  color: var(--accent-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__contact a:hover {
  color: var(--text-primary);
}

.footer__social {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.7rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.3s var(--ease-out-expo), color 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.3s ease;
}

.footer__social-link:hover {
  color: var(--accent-light);
  background: rgba(0, 194, 203, 0.08);
  border-color: rgba(0, 194, 203, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px -8px rgba(0, 194, 203, 0.3);
}

.footer__social-link:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* ---- About Page ---- */

.about {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: calc(var(--navbar-expanded-height) + var(--navbar-margin) * 2 + 3rem) 5vw 6rem;
}

.about__inner {
  max-width: 900px;
  margin: 0 auto;
}

.about__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--navbar-radius);
  background: rgba(0, 194, 203, 0.08);
  border: 1px solid rgba(0, 194, 203, 0.15);
}

.about__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw + 0.3rem, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-primary) 60%, var(--accent-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about__intro {
  font-size: 1.3rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 3rem;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.about__card {
  position: relative;
  padding: 2.5rem;
  border-radius: 1.25rem;
  background: rgba(13, 27, 42, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 1.5rem;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out-expo), border-color 0.3s ease, box-shadow 0.4s ease;
  content-visibility: auto;
  contain-intrinsic-size: 420px;
}

.about__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain-svg);
  background-size: 180px 180px;
  opacity: 0.04;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 0;
}

.about__card > * {
  position: relative;
  z-index: 1;
}

.about__card-glow {
  position: absolute;
  top: -40%;
  right: -20%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 194, 203, 0.15), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.about__card-glow--wide {
  width: 320px;
  height: 320px;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(0, 194, 203, 0.12), transparent 70%);
}

.about__card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 194, 203, 0.2);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 194, 203, 0.06);
}

.about__card--accent {
  border-color: rgba(0, 194, 203, 0.15);
}

.about__card--cta {
  text-align: center;
  padding: 3rem 2.5rem;
  border-color: rgba(0, 194, 203, 0.12);
}

.about__card h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.about__card p {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

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

.about__highlight {
  color: var(--accent-light);
  font-weight: 500;
}

.about__card a.about__highlight:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.navbar__link--active {
  color: var(--text-primary);
}

/* ---- Responsive ---- */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "visual"
      "actions";
    text-align: center;
    padding-top: calc(var(--navbar-expanded-height) + var(--navbar-margin) * 2 + 0.65rem);
    padding-inline: clamp(1rem, 4.5vw, 2rem);
    gap: clamp(0.95rem, 2.6vh, 1.75rem);
  }

  .hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
  }

  .hero__title-break {
    display: inline;
  }

  .hero__badge {
    font-size: clamp(0.68rem, 2.5vw, 0.8rem);
    padding: 0.35rem 0.85rem;
    margin-bottom: 1.25rem;
  }

  .hero__title {
    font-size: clamp(1.35rem, 5.2vw + 0.45rem, 2.5rem);
    max-width: 100%;
    width: 100%;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(0.92rem, 2.6vw + 0.35rem, 1.15rem);
    color: rgba(234, 242, 245, 0.88);
    max-width: 100%;
    width: 100%;
  }

  .hero__actions {
    justify-content: center;
    max-width: 24rem;
    margin-inline: auto;
    width: 100%;
    align-self: center;
  }

  .hero__scroll-cue {
    right: clamp(0.8rem, 3.2vw, 1.4rem);
    bottom: max(0.35rem, env(safe-area-inset-bottom, 0px));
  }

  .hero__visual {
    height: clamp(120px, 23vh, 205px);
    width: 100%;
  }

  .hero__robot {
    width: clamp(96px, 20vw, 142px);
  }

  .hero__robot-glow {
    width: clamp(104px, 23vw, 152px);
    height: clamp(104px, 23vw, 152px);
  }

  .story__inner,
  .story__inner--reverse {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .story__inner--flow {
    gap: 1.5rem;
  }

  .story__graphic {
    max-width: 430px;
    margin: 0 auto;
    width: 100%;
  }

  .story__inner--reverse .story__text,
  .story__inner--reverse .story__graphic {
    order: unset;
  }

  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

@media (max-width: 768px) {
  .u-only-mobile {
    display: inline;
  }

  :root {
    --navbar-expanded-height: 3.65rem;
    --navbar-compact-height: 3rem;
    --navbar-margin: 0.5rem;
  }

  .navbar {
    width: calc(100% - 0.5rem);
  }

  .navbar.is-scrolled {
    width: calc(100% - 0.5rem);
  }

  .navbar__inner {
    padding-left: 0.65rem;
  }

  .hero {
    min-height: 100svh;
    height: 100svh;
    padding:
      calc(var(--navbar-expanded-height) + var(--navbar-margin) * 2 + 0.4rem)
      max(clamp(0.62rem, 2.6vw, 0.9rem), env(safe-area-inset-right, 0px))
      clamp(0.9rem, 2vh, 1.4rem)
      max(clamp(0.62rem, 2.6vw, 0.9rem), env(safe-area-inset-left, 0px));
    gap: clamp(1rem, 2.9vh, 1.9rem);
  }

  .hero__title {
    font-size: clamp(1.48rem, 6.8vw + 0.24rem, 2.2rem);
    line-height: 1.18;
    max-width: 100%;
    width: 100%;
    hyphens: none;
    text-wrap: pretty;
  }

  .hero__title-break {
    display: none;
  }

  .hero__subtitle {
    font-size: clamp(1.08rem, 3.6vw + 0.25rem, 1.28rem);
    line-height: 1.75;
    color: rgba(234, 242, 245, 0.9);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.22);
    padding-inline: 0;
    max-width: 100%;
    width: 100%;
  }

  .hero__actions {
    align-items: stretch;
    gap: 0.56rem;
    width: 100%;
    max-width: 100%;
    padding-inline: 0;
  }

  .btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.72rem 1rem;
    font-size: clamp(0.8rem, 2.5vw + 0.15rem, 0.88rem);
  }

  .hero__visual {
    height: clamp(105px, 18vh, 145px);
  }

  .hero__robot {
    width: clamp(85px, 15vw + 32px, 112px);
  }

  .hero__robot-glow {
    width: clamp(95px, 18vw + 20px, 125px);
    height: clamp(95px, 18vw + 20px, 125px);
  }

  .hero__scroll-cue {
    right: 0.75rem;
    bottom: max(0.18rem, env(safe-area-inset-bottom, 0px));
  }

  .hero__scroll-cue-label {
    font-size: 0.56rem;
  }

  .hero__scroll-cue-arrow {
    font-size: 0.96rem;
  }

  .story__section {
    min-height: 100svh;
    height: auto;
    top: calc(var(--navbar-expanded-height) + var(--navbar-margin) + 0.4rem);
    min-height: calc(100svh - var(--navbar-expanded-height) - var(--navbar-margin) - 0.4rem);
    padding: 1.4rem 0.85rem 2.3rem;
    align-items: flex-start;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  /* Mobile perf: reduce heavy animated blurs */
  .ambient__orb {
    filter: blur(80px);
  }

  .ambient__orb--3,
  .ambient__orb--4 {
    animation-duration: 44s;
  }

  .hero__robot {
    animation-duration: 9s;
  }

  .story__section--4 {
    min-height: 108svh;
  }

  .story__heading {
    font-size: clamp(1.3rem, 5vw + 0.2rem, 1.75rem);
    line-height: 1.2;
  }

  .story__body {
    font-size: clamp(0.95rem, 2.8vw + 0.3rem, 1.1rem);
    line-height: 1.7;
  }

  .story__label {
    font-size: 0.7rem;
    margin-bottom: 0.75rem;
  }

  .story__inner,
  .story__inner--reverse {
    gap: 1.75rem;
  }

  .story__flow {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-left: 0;
  }

  .story__flow::before {
    top: 0.25rem;
    bottom: 0.25rem;
    left: 2rem;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(
      180deg,
      rgba(0, 194, 203, 0.12) 0%,
      rgba(94, 234, 212, 0.55) 50%,
      rgba(0, 194, 203, 0.12) 100%
    );
  }

  .story__flow-step {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    grid-template-areas:
      "badge title"
      "badge text";
    column-gap: 0.85rem;
    align-items: start;
    padding-left: 0.2rem;
  }

  .story__flow-badge {
    grid-area: badge;
    width: 56px;
    height: 56px;
    margin-bottom: 0;
    margin-top: 0.05rem;
  }

  .story__flow-icon {
    width: 26px;
    height: 26px;
  }

  .story__flow-title {
    grid-area: title;
    margin: 0.05rem 0 0.2rem;
    font-size: 0.96rem;
    line-height: 1.2;
  }

  .story__flow-text {
    grid-area: text;
    max-width: 100%;
    font-size: 0.9rem;
    line-height: 1.58;
  }

  .story__graphic {
    max-width: 320px;
  }

  .graphic-placeholder {
    border-radius: 1rem;
  }

  .graphic-placeholder__illustration {
    width: min(84%, 240px);
    max-height: 78%;
  }

  .graphic-placeholder__icon {
    width: 54px;
    height: 54px;
  }

  .pricing {
    padding: 4.5rem 1.15rem 4rem;
  }

  .lead {
    padding: 3.5rem 1.15rem 4rem;
  }

  .lead__title {
    font-size: clamp(1.4rem, 5.8vw + 0.2rem, 2.1rem);
  }

  .lead__subtitle {
    font-size: clamp(0.95rem, 2.5vw + 0.3rem, 1.1rem);
  }

  .section-title {
    font-size: clamp(1.4rem, 5.5vw + 0.2rem, 2.1rem);
  }

  .section-subtitle {
    font-size: clamp(0.92rem, 2.5vw + 0.25rem, 1.1rem);
  }

  .pricing__header {
    margin-bottom: 2.5rem;
  }

  .pricing__table-wrapper {
    margin-top: 2.2rem;
  }

  .pricing__table {
    font-size: 0.78rem;
  }

  .pricing__table th,
  .pricing__table td {
    padding: 0.56rem 0.38rem;
  }

  .pricing__table th {
    text-align: center;
  }

  .pricing__table th:first-child,
  .pricing__table td:first-child {
    text-align: left;
    width: 40%;
  }

  .pricing__table td:nth-child(2),
  .pricing__table td:nth-child(3),
  .pricing__table td:nth-child(4) {
    text-align: center;
  }

  .pricing-card__name {
    font-size: clamp(1.1rem, 3vw + 0.3rem, 1.25rem);
  }

  .pricing-card__setup {
    font-size: clamp(1.25rem, 4vw + 0.3rem, 1.5rem);
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .footer__contact {
    font-size: 0.82rem;
  }

  .footer__social {
    margin-top: 0.5rem;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: clamp(1.36rem, 7.3vw + 0.2rem, 2rem);
  }

  .hero__actions {
    max-width: 100%;
  }

  .hero {
    padding-left: max(0.5rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.5rem, env(safe-area-inset-right, 0px));
  }

  .navbar__cta-arrow {
    width: 15px;
    height: 15px;
  }

  .hero__badge {
    margin-bottom: 0.7rem;
  }

  .hero__title {
    margin-bottom: 0.65rem;
  }

  .hero__subtitle {
    margin-bottom: 0.65rem;
    line-height: 1.7;
    color: rgba(234, 242, 245, 0.92);
    max-width: 100%;
  }

  .hero__scroll-cue {
    right: 0.55rem;
    bottom: 0.1rem;
  }

  .story__section {
    padding-left: 0.65rem;
    padding-right: 0.65rem;
  }
}

@media (max-height: 700px) {
  .hero {
    padding-top: calc(var(--navbar-expanded-height) + var(--navbar-margin) * 2 + 0.45rem);
    padding-bottom: 0.85rem;
    gap: clamp(0.45rem, 1.2vh, 0.85rem);
  }

  .hero__badge {
    margin-bottom: 0.7rem;
    font-size: 0.72rem;
    padding: 0.3rem 0.75rem;
  }

  .hero__title {
    font-size: clamp(1.08rem, 2.5vw + 0.42rem, 2.4rem);
    margin-bottom: 0.55rem;
    line-height: 1.06;
  }

  .hero__subtitle {
    font-size: clamp(0.82rem, 0.75vw + 0.55rem, 1.02rem);
    margin-bottom: 0.5rem;
    line-height: 1.45;
  }

  .hero__actions {
    gap: 0.45rem;
  }

  .btn {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }

  .hero__visual {
    height: clamp(86px, 16vh, 128px);
  }

  .hero__robot {
    width: clamp(74px, 9vw + 30px, 108px);
  }

  .hero__robot-glow {
    width: clamp(86px, 11vw + 28px, 130px);
    height: clamp(86px, 11vw + 28px, 130px);
  }
}

/* Viewport lock: 1366x768 class */
@media (min-width: 1300px) and (max-width: 1420px) and (min-height: 740px) and (max-height: 790px) {
  .hero {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: 2.25rem;
    padding-top: calc(var(--navbar-expanded-height) + var(--navbar-margin) * 2 + 0.9rem);
    padding-bottom: 1.35rem;
  }

  .hero__title {
    font-size: clamp(2.6rem, 3.8vw, 3.4rem);
    line-height: 1.03;
  }

  .hero__subtitle {
    font-size: 1.08rem;
    max-width: 560px;
  }

  .hero__visual {
    height: 278px;
  }

  .hero__robot {
    width: 166px;
  }
}

/* Viewport lock: 1536x864 class */
@media (min-width: 1480px) and (max-width: 1600px) and (min-height: 840px) and (max-height: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 2.7rem;
    padding-top: calc(var(--navbar-expanded-height) + var(--navbar-margin) * 2 + 1.2rem);
    padding-bottom: 1.8rem;
  }

  .hero__title {
    font-size: clamp(2.85rem, 3.55vw, 3.6rem);
    line-height: 1.03;
  }

  .hero__subtitle {
    font-size: 1.14rem;
    max-width: 600px;
  }

  .hero__visual {
    height: 320px;
  }

  .hero__robot {
    width: 184px;
  }
}

/* Viewport lock: 390x844 and 393x852 class */
@media (min-width: 380px) and (max-width: 405px) and (min-height: 835px) and (max-height: 870px) {
  .hero {
    min-height: 100svh;
    height: 100svh;
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0.95rem;
    padding:
      calc(var(--navbar-expanded-height) + var(--navbar-margin) * 2 + 0.42rem)
      1.05rem
      1rem;
  }

  .hero__content {
    align-items: center;
  }

  .hero__badge {
    margin-bottom: 0.82rem;
    font-size: 0.69rem;
    padding: 0.34rem 0.78rem;
  }

  .hero__title {
    font-size: clamp(2.18rem, 8.8vw, 2.7rem);
    line-height: 1.1;
    margin-bottom: 0.72rem;
    max-width: 100%;
  }

  .hero__subtitle {
    font-size: 1.1rem;
    line-height: 1.68;
    margin-bottom: 0.74rem;
    max-width: 100%;
  }

  .hero__actions {
    max-width: 100%;
    justify-content: center;
    gap: 0.58rem;
  }

  .btn {
    width: 100%;
    max-width: 100%;
    padding: 0.76rem 1rem;
    font-size: 0.86rem;
  }

  .hero__visual {
    height: 162px;
  }

  .hero__robot {
    width: 126px;
  }

  .hero__robot-glow {
    width: 146px;
    height: 146px;
  }

  .hero__scroll-cue {
    right: 0.65rem;
    bottom: max(0.15rem, env(safe-area-inset-bottom, 0px));
  }
}

/* Keep CTAs visible on shorter desktop screens */
@media (min-width: 901px) and (max-height: 820px) {
  .hero {
    gap: clamp(0.8rem, 2.2vw, 1.7rem);
    padding:
      calc(var(--navbar-expanded-height) + var(--navbar-margin) * 2 + 0.45rem)
      clamp(1rem, 4vw, 2.2rem)
      0.8rem;
  }

  .hero__title {
    font-size: clamp(1.9rem, 2.6vw + 0.3rem, 3rem);
    margin-bottom: 0.55rem;
    line-height: 1.04;
  }

  .hero__subtitle {
    font-size: clamp(0.95rem, 0.9vw + 0.35rem, 1.08rem);
    margin-bottom: 0.55rem;
    line-height: 1.5;
  }

  .hero__visual {
    height: clamp(150px, 24vh, 235px);
  }

  .hero__robot {
    width: clamp(130px, 12vw, 170px);
  }

  .hero__actions {
    align-self: start;
    margin-top: 0;
  }

  .btn {
    padding: 0.64rem 1.15rem;
    font-size: 0.84rem;
  }
}

@media (min-width: 901px) and (max-height: 720px) {
  .hero {
    padding-bottom: 0.55rem;
    gap: clamp(0.6rem, 1.7vw, 1.2rem);
  }

  .hero__title {
    font-size: clamp(1.72rem, 2.2vw + 0.28rem, 2.55rem);
  }

  .hero__visual {
    height: clamp(132px, 21vh, 195px);
  }

  .hero__robot {
    width: clamp(118px, 10.5vw, 150px);
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ---- Table check/cross indicators ---- */

.tbl-yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tbl-yes svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.tbl-no {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1;
}

/* ---- Accessibility: focus-visible ---- */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent-teal);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---- Performance: content-visibility ---- */

.story__section,
.pricing,
.lead,
.faq,
.footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

/* ---- Language Switcher ---- */

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: clamp(0.68rem, 2.2vw, 0.88rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  padding: 0;
  transition: color 0.3s ease;
  white-space: nowrap;
  line-height: 1;
}

.lang-switch:hover {
  color: var(--text-primary);
}

.lang-switch__label {
  pointer-events: none;
}

/* ---- Frameless Story Graphics (sections 1-3) ---- */

.story__graphic--frameless {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
}

.graphic-frameless__glow {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 194, 203, 0.18) 0%, transparent 68%);
  filter: blur(32px);
  pointer-events: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* For loop.svg: the glow ring sits at the circle edge, not the hollow center.
   We offset two overlapping radial orbs to the sides of the loop to mimic
   a ring-shaped glow without SVG filter hacks. */
.graphic-frameless__glow--loop {
  width: 300px;
  height: 300px;
  background:
    radial-gradient(ellipse 55% 55% at 20% 50%, rgba(0, 194, 203, 0.28) 0%, transparent 70%),
    radial-gradient(ellipse 55% 55% at 80% 50%, rgba(94, 234, 212, 0.22) 0%, transparent 70%),
    radial-gradient(ellipse 80% 30% at 50% 10%, rgba(0, 194, 203, 0.16) 0%, transparent 70%),
    radial-gradient(ellipse 80% 30% at 50% 90%, rgba(94, 234, 212, 0.16) 0%, transparent 70%);
  filter: blur(28px);
}

.graphic-frameless__illustration {
  width: min(78%, 280px);
  height: auto;
  max-height: 86%;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: var(--glow-accent-filter);
}

/* ---- Ablauf section: full-width, even columns, opaque background ---- */

.story__section--4 {
  padding-left: 4vw;
  padding-right: 4vw;
  background: rgba(13, 27, 42, 0.98);
}

.story__section--4 .story__inner--flow {
  max-width: 100%;
  width: 100%;
  padding: 0;
}

.story__section--4 .story__text {
  width: 100%;
  max-width: 100%;
}

@media (min-width: 769px) {
  .story__section--4 .story__flow {
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1.2rem, 2.8vw, 2.4rem);
    width: 100%;
  }
}

/* On medium screens keep 4-col but scale down */
@media (min-width: 769px) and (max-width: 1100px) {
  .story__section--4 .story__flow {
    gap: clamp(0.8rem, 1.8vw, 1.4rem);
  }

  .story__section--4 .story__flow-badge {
    width: 68px;
    height: 68px;
  }

  .story__section--4 .story__flow-title {
    font-size: 0.95rem;
  }

  .story__section--4 .story__flow-text {
    font-size: 0.86rem;
  }
}

/* Frameless graphic mobile sizing */
@media (max-width: 900px) {
  .story__graphic--frameless {
    max-width: 340px;
    margin: 0 auto;
    width: 100%;
  }

  .graphic-frameless__glow {
    width: 200px;
    height: 200px;
  }

  .graphic-frameless__glow--loop {
    width: 220px;
    height: 220px;
  }
}

@media (max-width: 768px) {
  .story__graphic--frameless {
    max-width: 260px;
  }
}  --glow-accent-filter:
    drop-shadow(0 0 var(--glow-accent-spread-1) var(--glow-accent-color-1))
    drop-shadow(0 0 var(--glow-accent-spread-2) var(--glow-accent-color-2))
    drop-shadow(0 0 var(--glow-accent-spread-3) var(--glow-accent-color-3));

  --grain-svg: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.u-only-mobile {
  display: none;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ---- Ambient Background ---- */

.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.ambient__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  will-change: transform, opacity;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.ambient__orb--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  animation: orb-drift-1 22s ease-in-out infinite;
}

.ambient__orb--2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-light) 0%, transparent 70%);
  top: 35%;
  left: -150px;
  animation: orb-drift-2 28s ease-in-out infinite;
}

.ambient__orb--3 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  top: 52%;
  right: -80px;
  animation: orb-drift-3 26s ease-in-out infinite;
}

.ambient__orb--4 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, var(--accent-light) 0%, transparent 70%);
  top: 62%;
  left: 5%;
  animation: orb-drift-4 32s ease-in-out infinite;
}

@keyframes orb-drift-1 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.32;
  }
  33% {
    transform: translate(35px, 25px) scale(1.1);
    opacity: 0.45;
  }
  66% {
    transform: translate(-20px, 40px) scale(0.96);
    opacity: 0.28;
  }
}

@keyframes orb-drift-2 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.18;
  }
  40% {
    transform: translate(-30px, -35px) scale(1.12);
    opacity: 0.32;
  }
  70% {
    transform: translate(25px, 20px) scale(0.94);
    opacity: 0.22;
  }
}

@keyframes orb-drift-3 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.22;
  }
  50% {
    transform: translate(-40px, 30px) scale(1.08);
    opacity: 0.36;
  }
}

@keyframes orb-drift-4 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.15;
  }
  45% {
    transform: translate(35px, -25px) scale(1.1);
    opacity: 0.28;
  }
}

.ambient__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 194, 203, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 194, 203, 0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 85%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 85%);
}

/* Full-page film grain – sits above orbs, below content */
.ambient__grain {
  position: absolute;
  inset: 0;
  background-image: var(--grain-svg);
  background-size: 200px 200px;
  opacity: 0.045;
  mix-blend-mode: overlay;
  pointer-events: none;
  will-change: opacity;
}

/* Grainy liquid glass utility */
.grain-glass {
  position: relative;
  isolation: isolate;
}

.grain-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  opacity: 0.10;
  background-image: var(--grain-svg);
  background-size: 180px 180px;
  mix-blend-mode: overlay;
}

.grain-glass > * {
  position: relative;
  z-index: 1;
}

/* ---- Floating Glass Navbar ---- */

.navbar {
  position: fixed;
  top: var(--navbar-margin);
  left: 50%;
  transform: translateX(-50%);
  width: min(820px, calc(100% - 1rem));
  z-index: 1000;
  transition:
    top 0.5s var(--ease-out-expo),
    width 0.5s var(--ease-out-expo);
}

.navbar.is-scrolled {
  top: 0.75rem;
  width: min(760px, calc(100% - 1.25rem));
}

.navbar__inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0;
  height: var(--navbar-expanded-height);
  padding: 0 0 0 clamp(0.75rem, 2vw, 1.5rem);
  border-radius: var(--navbar-radius);
  background: rgba(27, 42, 61, 0.42);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  overflow: hidden;
  container-type: inline-size;
  container-name: navbar;
  transition:
    height 0.5s var(--ease-out-expo),
    padding 0.5s var(--ease-out-expo),
    box-shadow 0.5s var(--ease-out-expo);
}

.navbar__inner.grain-glass::before {
  opacity: 0.12;
}

.navbar__inner.grain-glass::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.06) 0%,
    transparent 40%,
    transparent 60%,
    rgba(0, 194, 203, 0.04) 100%
  );
}

.navbar.is-scrolled .navbar__inner {
  height: var(--navbar-compact-height);
  padding-left: 1.25rem;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.navbar__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  opacity: 0.95;
  transition: opacity 0.3s ease;
  position: relative;
  z-index: 1;
}

.navbar__logo:hover {
  opacity: 1;
}

.navbar__logo img {
  height: clamp(30px, 4.5vw, 42px);
  width: auto;
  transition: height 0.5s var(--ease-out-expo);
}

.navbar.is-scrolled .navbar__logo img {
  height: clamp(28px, 4vw, 36px);
}

.navbar__right {
  display: flex;
  align-items: stretch;
  height: 100%;
  margin-left: auto;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 2.5vw, 1.75rem);
  padding: 0 clamp(0.35rem, 1.5vw, 1.25rem) 0 clamp(0.25rem, 1vw, 0.75rem);
}

.navbar__link {
  font-size: clamp(0.68rem, 2.2vw, 0.88rem);
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.01em;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.navbar__link-short {
  display: none;
}

.navbar__link:hover {
  color: var(--text-primary);
}

/* Seamless turquoise right cap of the pill */
.navbar__cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  align-self: stretch;
  height: 100%;
  margin: 0;
  padding: 0 clamp(0.75rem, 2.5vw, 1.75rem);
  font-size: clamp(0.72rem, 2vw, 0.875rem);
  font-weight: 600;
  color: var(--bg-deep);
  background: linear-gradient(
    135deg,
    rgba(0, 194, 203, 0.9) 0%,
    rgba(94, 234, 212, 0.8) 100%
  );
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-left: 1px solid rgba(94, 234, 212, 0.35);
  border-radius: 0 var(--navbar-radius) var(--navbar-radius) 0;
  box-shadow:
    var(--glow-accent-box-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition:
    padding 0.5s var(--ease-out-expo),
    background 0.3s ease;
  position: relative;
  isolation: isolate;
}

.navbar__cta::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0.14;
  background-image: var(--grain-svg);
  background-size: 140px 140px;
  mix-blend-mode: overlay;
}

.navbar.is-scrolled .navbar__cta {
  padding: 0 clamp(0.7rem, 2.2vw, 1.35rem);
}

@container navbar (max-width: 320px) {
  .navbar__link-full {
    display: none;
  }

  .navbar__link-short {
    display: inline;
  }
}

.navbar__cta:hover {
  background: linear-gradient(
    135deg,
    rgba(0, 194, 203, 0.95) 0%,
    rgba(94, 234, 212, 0.88) 100%
  );
}

.navbar__cta-arrow {
  transition: transform 0.4s var(--ease-out-expo);
}

.navbar__cta:hover .navbar__cta-arrow {
  animation: arrow-sway 0.8s var(--ease-in-out) infinite;
}

@keyframes arrow-sway {
  0%, 100% { transform: translateX(0); }
  25%       { transform: translateX(4px); }
  75%       { transform: translateX(-2px); }
}

/* ---- Hero ---- */

.hero {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  grid-template-areas:
    "content visual"
    "actions visual";
  align-items: center;
  gap: clamp(1.2rem, 3.2vw, 3.1rem);
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding:
    calc(var(--navbar-expanded-height) + var(--navbar-margin) * 2 + 0.75rem)
    clamp(1rem, 5vw, 3rem)
    clamp(1rem, 2.8vh, 1.8rem);
  box-sizing: border-box;
  overflow: hidden;
}

.hero__content {
  grid-area: content;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  min-width: 0;
  max-width: min(720px, 100%);
}

.hero__badge {
  position: relative;
  display: inline-flex;
  align-self: flex-start;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--navbar-radius);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-light);
  background: rgba(0, 194, 203, 0.08);
  border: 1px solid rgba(0, 194, 203, 0.2);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.hero__badge::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain-svg);
  background-size: 100px 100px;
  opacity: 0.07;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--accent); }
  50%       { opacity: 0.6; box-shadow: 0 0 16px var(--accent); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.42rem, 3.55vw + 0.26rem, 3.95rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: 0.9rem;
  max-width: 100%;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: auto;
  text-wrap: balance;
}

.hero__title-main {
  display: block;
}

.hero__title-sub {
  display: block;
  margin-top: 0.2rem;
  font-size: clamp(0.52em, 0.92vw, 0.62em);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--accent-light);
}

.hero__title-break {
  display: none;
}

.hero__title-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.2vw + 0.65rem, 1.3rem);
  color: var(--text-muted);
  max-width: min(600px, 100%);
  margin-bottom: clamp(0.7rem, 1.5vh, 1.35rem);
  line-height: 1.62;
}

.hero__actions {
  grid-area: actions;
  align-self: start;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  width: 100%;
  max-width: min(560px, 100%);
  margin-top: 0;
}

.btn,
.pricing-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.7rem, 2vw, 0.85rem) clamp(1.1rem, 3vw, 1.75rem);
  border-radius: var(--navbar-radius);
  font-size: clamp(0.82rem, 1.5vw + 0.3rem, 0.9rem);
  font-weight: 600;
  transition:
    background 0.28s var(--ease-out-expo),
    border-color 0.28s var(--ease-out-expo),
    box-shadow 0.28s var(--ease-out-expo),
    transform 0.28s var(--ease-out-expo),
    filter 0.28s var(--ease-out-expo),
    color 0.28s var(--ease-out-expo);
  cursor: pointer;
  text-align: center;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--bg-deep);
  border: none;
  box-shadow: var(--glow-accent-box-shadow);
}

.btn--primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.08) saturate(1.08);
  box-shadow:
    0 0 26px rgba(0, 194, 203, 0.5),
    0 0 48px rgba(94, 234, 212, 0.35);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(0, 194, 203, 0.3);
  box-shadow: 0 0 22px rgba(0, 194, 203, 0.16);
  transform: translateY(-1px);
}

/* Hero visual – robot */
.hero__visual {
  grid-area: visual;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(150px, 32vh, 360px);
}

.hero__robot-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 194, 203, 0.12) 0%,
    transparent 65%
  );
  filter: blur(40px);
  pointer-events: none;
}

.hero__robot {
  position: relative;
  z-index: 1;
  width: clamp(120px, 16vw + 24px, 210px);
  height: auto;
  filter: var(--glow-accent-filter);
  animation: robot-float 7s ease-in-out infinite;
}

.hero__scroll-cue {
  position: absolute;
  right: clamp(1rem, 3vw, 2.2rem);
  bottom: max(0.65rem, env(safe-area-inset-bottom, 0px));
  transform: none;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.04rem;
  color: rgba(94, 234, 212, 0.72);
  text-align: center;
  letter-spacing: 0.06em;
  animation: cue-bob 2.2s ease-in-out infinite;
}

.hero__scroll-cue-label {
  font-size: clamp(0.58rem, 0.8vw + 0.38rem, 0.76rem);
  font-weight: 500;
  text-transform: lowercase;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  opacity: 0.76;
}

.hero__scroll-cue-arrow {
  font-size: clamp(0.86rem, 1.2vw, 1.1rem);
  line-height: 1;
  opacity: 0.78;
}

@keyframes cue-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(4px); }
}

@keyframes robot-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-18px); }
}

/* ---- Scroll Story (Stacking Cards) ---- */

.story {
  position: relative;
  z-index: 1;
}

.story__track {
  position: relative;
}

.story__section {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 2rem 5vw;
  background: rgba(13, 27, 42, var(--story-panel-alpha, 0.74));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(94, 234, 212, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(94, 234, 212, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12);
  overflow: hidden;
  transition: background-color 0.28s ease;
}

.story__section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(0, 194, 203, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* Increasing z-index so each section stacks on top */
.story__section--1 { z-index: 1; }
.story__section--2 { z-index: 2; }
.story__section--3 { z-index: 3; }
.story__section--4 {
  z-index: 4;
  height: 105vh;
  min-height: 105vh;
  border-bottom: none;
}

.story__section--4::before {
  display: none;
}

.story__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.story__inner--reverse .story__text {
  order: 2;
}

.story__inner--reverse .story__graphic {
  order: 1;
}

.story__inner--flow {
  grid-template-columns: 1fr;
  gap: 1.2rem;
  align-items: start;
  max-width: 1320px;
}

.story__inner--flow .story__text {
  width: 100%;
  max-width: 100%;
}

.story__label {
  display: inline-block;
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
  font-size: 1.25rem;
=======
  font-size: 0.75rem;
>>>>>>> parent of 5bf2b7e (Update styles.css)
=======
  font-size: 0.75rem;
>>>>>>> parent of 5bf2b7e (Update styles.css)
=======
  font-size: 1.25rem;
>>>>>>> parent of 0936e2a (Update styles.css)
=======
  font-size: 1.25rem;
>>>>>>> parent of 0936e2a (Update styles.css)
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--navbar-radius);
  background: rgba(0, 194, 203, 0.08);
  border: 1px solid rgba(0, 194, 203, 0.15);
}

.story__heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw + 0.4rem, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.story__body {
  font-size: clamp(1.05rem, 1.1vw + 0.55rem, 1.3rem);
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 560px;
}

.story__flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.8rem;
  margin-top: 0.55rem;
  padding-top: 1rem;
  max-width: 100%;
}

.story__flow::before {
  content: '';
  position: absolute;
  top: 2.5rem;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(0, 194, 203, 0.12) 0%,
    rgba(94, 234, 212, 0.55) 50%,
    rgba(0, 194, 203, 0.12) 100%
  );
  box-shadow: 0 0 14px rgba(94, 234, 212, 0.25);
}

.story__flow-step {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.story__flow-badge {
  position: relative;
  width: 84px;
  height: 84px;
  margin-bottom: 1rem;
  border-radius: 1rem;
  background: rgba(27, 42, 61, 0.86);
  border: 1px solid rgba(0, 194, 203, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 22px rgba(0, 194, 203, 0.1),
    inset 0 1px 0 rgba(0, 194, 203, 0.08);
  overflow: visible;
}

.story__flow-badge::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain-svg);
  background-size: 84px 84px;
  opacity: 0.055;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 2;
}

.story__flow-badge::before {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 0.8rem;
  background: radial-gradient(circle, rgba(0, 194, 203, 0.16) 0%, transparent 72%);
  pointer-events: none;
}

.story__flow-number {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--bg-deep);
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(94, 234, 212, 0.35);
  z-index: 3;
}

.story__flow-icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: var(--glow-accent-filter);
}

.story__flow-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.55rem;
}

.story__flow-text {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.65;
  max-width: none;
}

/* Graphic placeholders */
.graphic-placeholder {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 1.25rem;
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  overflow: hidden;
}

.graphic-placeholder--cyan {
  border-color: rgba(0, 194, 203, 0.15);
}

.graphic-placeholder__glow {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 194, 203, 0.15) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.graphic-placeholder__illustration {
  width: min(78%, 280px);
  height: auto;
  max-height: 82%;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: var(--glow-accent-filter);
}

.graphic-placeholder__icon {
  width: 64px;
  height: 64px;
  color: var(--accent);
  position: relative;
  z-index: 1;
  filter: var(--glow-accent-filter);
}

/* ---- Pricing ---- */

.pricing {
  position: relative;
  z-index: 2;
  padding: 6rem 5vw;
  background: transparent;
  content-visibility: auto;
  contain-intrinsic-size: 1200px;
}

.pricing__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}

.section-label {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.2vw + 0.3rem, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: clamp(1rem, 1vw + 0.55rem, 1.25rem);
  line-height: 1.7;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: stretch;
  padding-top: 1.5rem;
  overflow: visible;
}

.pricing__table-wrapper {
  margin: 3rem auto 0;
  max-width: 1100px;
}

.pricing__table-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1rem;
}

.pricing__table {
  position: relative;
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.9rem;
  background: rgba(13, 27, 42, 0.8);
  border-radius: 0.9rem;
  overflow: hidden;
  border: 1px solid rgba(94, 234, 212, 0.2);
}

.pricing__table::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain-svg);
  background-size: 200px 200px;
  opacity: 0.055;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 0;
}

.pricing__table > * {
  position: relative;
  z-index: 1;
}

.pricing__table th,
.pricing__table td {
  padding: 0.7rem 0.75rem;
  text-align: left;
}

.pricing__table thead {
  background: rgba(0, 194, 203, 0.1);
}

.pricing__table th:first-child {
  width: 40%;
}

.pricing__table th:nth-child(2),
.pricing__table th:nth-child(3),
.pricing__table th:nth-child(4),
.pricing__table td:nth-child(2),
.pricing__table td:nth-child(3),
.pricing__table td:nth-child(4) {
  width: 20%;
}

.pricing__table tbody tr:nth-child(even) {
  background: rgba(13, 27, 42, 0.9);
}

.pricing__table tbody tr:nth-child(odd) {
  background: rgba(13, 27, 42, 0.8);
}

.pricing__table td:nth-child(n + 2) {
  text-align: center;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.5rem 2rem;
  border-radius: 1.25rem;
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.4s var(--ease-out-expo), border-color 0.3s ease, box-shadow 0.4s ease;
  overflow: visible;
}

.pricing-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: var(--grain-svg);
  background-size: 180px 180px;
  opacity: 0.055;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 0;
}

.pricing-card > * {
  position: relative;
  z-index: 1;
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 194, 203, 0.2);
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 194, 203, 0.08);
}

.pricing-card--featured {
  border-color: rgba(0, 194, 203, 0.3);
  box-shadow:
    0 0 40px rgba(0, 194, 203, 0.15),
    0 0 80px rgba(0, 194, 203, 0.08),
    inset 0 1px 0 rgba(0, 194, 203, 0.1);
  animation: featured-glow 4s ease infinite alternate;
  margin-top: 0.25rem;
}

.pricing-card--featured:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 194, 203, 0.4);
  box-shadow:
    0 24px 70px -20px rgba(0, 0, 0, 0.5),
    0 0 50px rgba(0, 194, 203, 0.18),
    0 0 100px rgba(0, 194, 203, 0.1);
}

@keyframes featured-glow {
  from {
    box-shadow:
      0 0 40px rgba(0, 194, 203, 0.15),
      0 0 80px rgba(0, 194, 203, 0.08),
      inset 0 1px 0 rgba(0, 194, 203, 0.1);
  }
  to {
    box-shadow:
      0 0 50px rgba(0, 194, 203, 0.25),
      0 0 100px rgba(0, 194, 203, 0.12),
      inset 0 1px 0 rgba(0, 194, 203, 0.15);
  }
}

.pricing-card__badge {
  position: absolute;
  top: -0.85rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.35rem 1rem;
  border-radius: var(--navbar-radius);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bg-deep);
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  box-shadow: 0 0 16px rgba(0, 194, 203, 0.4);
  z-index: 2;
  white-space: nowrap;
}

.pricing-card__icon {
  width: 64px;
  height: 64px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: rgba(0, 194, 203, 0.06);
  border: 1px solid rgba(0, 194, 203, 0.1);
}

.pricing-card__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.pricing-card__price {
  margin-bottom: 1.5rem;
}

.pricing-card__trial {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--accent-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.pricing-card__setup {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.pricing-card__monthly {
  font-size: 0.9rem;
  color: var(--accent-light);
  font-weight: 500;
}

.pricing-card__features {
  flex: 1;
  margin-bottom: 2rem;
}

.pricing-card__features li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  line-height: 1.6;
}

.pricing-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px rgba(0, 194, 203, 0.5);
}

.pricing-card__btn {
  width: 100%;
  padding: 0.85rem;
  border-radius: var(--navbar-radius);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-card__btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 194, 203, 0.3);
  box-shadow: 0 0 22px rgba(0, 194, 203, 0.16);
  transform: translateY(-1px);
}

.pricing-card__btn--featured {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--bg-deep);
  border: none;
  box-shadow:
    0 0 24px rgba(0, 194, 203, 0.3),
    0 0 38px rgba(94, 234, 212, 0.2);
  transition:
    box-shadow 0.28s var(--ease-out-expo),
    transform 0.28s var(--ease-out-expo),
    filter 0.28s var(--ease-out-expo),
    background 0.28s var(--ease-out-expo);
}

.pricing-card__btn--featured:hover {
  background: linear-gradient(
    135deg,
    rgba(94, 234, 212, 1) 0%,
    rgba(0, 194, 203, 0.98) 100%
  );
  box-shadow:
    0 0 32px rgba(0, 194, 203, 0.55),
    0 0 56px rgba(94, 234, 212, 0.45),
    0 0 84px rgba(94, 234, 212, 0.22);
  filter: brightness(1.08) saturate(1.1);
  transform: translateY(-1px);
}

/* ---- Lead / Footer Bot ---- */

.lead {
  position: relative;
  z-index: 5;
  padding: 6rem 5vw 8rem;
  background: transparent;
  text-align: center;
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

.lead__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.8vw + 0.3rem, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.lead__subtitle {
  color: var(--text-muted);
  font-size: 1.25rem;
  line-height: 1.7;
  margin-bottom: 3rem;
}

.lead__bot-container {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.lead__bot-glow {
  position: absolute;
  inset: -20px;
  border-radius: 1.5rem;
  background: radial-gradient(ellipse at center, rgba(0, 194, 203, 0.12) 0%, transparent 70%);
  filter: blur(20px);
  animation: bot-glow-pulse 4s ease infinite alternate;
}

@keyframes bot-glow-pulse {
  from { opacity: 0.6; transform: scale(0.98); }
  to   { opacity: 1; transform: scale(1.02); }
}

.lead__bot-placeholder {
  position: relative;
  padding: 4rem 2rem;
  border-radius: 1.25rem;
  background: rgba(27, 42, 61, 0.75);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(0, 194, 203, 0.15);
  box-shadow:
    0 0 40px rgba(0, 194, 203, 0.08),
    inset 0 1px 0 rgba(0, 194, 203, 0.08);
  overflow: hidden;
}

.lead__bot-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0.08;
  background-image: var(--grain-svg);
  background-size: 160px 160px;
  mix-blend-mode: overlay;
}

.lead__bot-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color: var(--accent);
}

.lead__bot-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.lead__bot-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---- Footer ---- */

.footer {
  position: relative;
  z-index: 5;
  padding: 2rem 5vw;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  background: transparent;
  content-visibility: auto;
  contain-intrinsic-size: 180px;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__logo {
  opacity: 0.7;
}

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

.footer__contact {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer__contact a {
  color: var(--accent-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__contact a:hover {
  color: var(--text-primary);
}

.footer__social {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.7rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.3s var(--ease-out-expo), color 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.3s ease;
}

.footer__social-link:hover {
  color: var(--accent-light);
  background: rgba(0, 194, 203, 0.08);
  border-color: rgba(0, 194, 203, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px -8px rgba(0, 194, 203, 0.3);
}

.footer__social-link:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* ---- About Page ---- */

.about {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: calc(var(--navbar-expanded-height) + var(--navbar-margin) * 2 + 3rem) 5vw 6rem;
}

.about__inner {
  max-width: 900px;
  margin: 0 auto;
}

.about__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--navbar-radius);
  background: rgba(0, 194, 203, 0.08);
  border: 1px solid rgba(0, 194, 203, 0.15);
}

.about__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw + 0.3rem, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-primary) 60%, var(--accent-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about__intro {
  font-size: 1.3rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 3rem;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.about__card {
  position: relative;
  padding: 2.5rem;
  border-radius: 1.25rem;
  background: rgba(13, 27, 42, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 1.5rem;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out-expo), border-color 0.3s ease, box-shadow 0.4s ease;
  content-visibility: auto;
  contain-intrinsic-size: 420px;
}

.about__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain-svg);
  background-size: 180px 180px;
  opacity: 0.04;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 0;
}

.about__card > * {
  position: relative;
  z-index: 1;
}

.about__card-glow {
  position: absolute;
  top: -40%;
  right: -20%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 194, 203, 0.15), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.about__card-glow--wide {
  width: 320px;
  height: 320px;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(0, 194, 203, 0.12), transparent 70%);
}

.about__card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 194, 203, 0.2);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 194, 203, 0.06);
}

.about__card--accent {
  border-color: rgba(0, 194, 203, 0.15);
}

.about__card--cta {
  text-align: center;
  padding: 3rem 2.5rem;
  border-color: rgba(0, 194, 203, 0.12);
}

.about__card h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.about__card p {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

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

.about__highlight {
  color: var(--accent-light);
  font-weight: 500;
}

.about__card a.about__highlight:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.navbar__link--active {
  color: var(--text-primary);
}

/* ---- Responsive ---- */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "visual"
      "actions";
    text-align: center;
    padding-top: calc(var(--navbar-expanded-height) + var(--navbar-margin) * 2 + 0.65rem);
    padding-inline: clamp(1rem, 4.5vw, 2rem);
    gap: clamp(0.95rem, 2.6vh, 1.75rem);
  }

  .hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
  }

  .hero__title-break {
    display: inline;
  }

  .hero__badge {
    font-size: clamp(0.68rem, 2.5vw, 0.8rem);
    padding: 0.35rem 0.85rem;
    margin-bottom: 1.25rem;
  }

  .hero__title {
    font-size: clamp(1.35rem, 5.2vw + 0.45rem, 2.5rem);
    max-width: 100%;
    width: 100%;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(0.92rem, 2.6vw + 0.35rem, 1.15rem);
    color: rgba(234, 242, 245, 0.88);
    max-width: 100%;
    width: 100%;
  }

  .hero__actions {
    justify-content: center;
    max-width: 24rem;
    margin-inline: auto;
    width: 100%;
    align-self: center;
  }

  .hero__scroll-cue {
    right: clamp(0.8rem, 3.2vw, 1.4rem);
    bottom: max(0.35rem, env(safe-area-inset-bottom, 0px));
  }

  .hero__visual {
    height: clamp(120px, 23vh, 205px);
    width: 100%;
  }

  .hero__robot {
    width: clamp(96px, 20vw, 142px);
  }

  .hero__robot-glow {
    width: clamp(104px, 23vw, 152px);
    height: clamp(104px, 23vw, 152px);
  }

  .story__inner,
  .story__inner--reverse {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .story__inner--flow {
    gap: 1.5rem;
  }

  .story__graphic {
    max-width: 430px;
    margin: 0 auto;
    width: 100%;
  }

  .story__inner--reverse .story__text,
  .story__inner--reverse .story__graphic {
    order: unset;
  }

  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

@media (max-width: 768px) {
  .u-only-mobile {
    display: inline;
  }

  :root {
    --navbar-expanded-height: 3.65rem;
    --navbar-compact-height: 3rem;
    --navbar-margin: 0.5rem;
  }

  .navbar {
    width: calc(100% - 0.5rem);
  }

  .navbar.is-scrolled {
    width: calc(100% - 0.5rem);
  }

  .navbar__inner {
    padding-left: 0.65rem;
  }

  .hero {
    min-height: 100svh;
    height: 100svh;
    padding:
      calc(var(--navbar-expanded-height) + var(--navbar-margin) * 2 + 0.4rem)
      max(clamp(0.62rem, 2.6vw, 0.9rem), env(safe-area-inset-right, 0px))
      clamp(0.9rem, 2vh, 1.4rem)
      max(clamp(0.62rem, 2.6vw, 0.9rem), env(safe-area-inset-left, 0px));
    gap: clamp(1rem, 2.9vh, 1.9rem);
  }

  .hero__title {
    font-size: clamp(1.48rem, 6.8vw + 0.24rem, 2.2rem);
    line-height: 1.18;
    max-width: 100%;
    width: 100%;
    hyphens: none;
    text-wrap: pretty;
  }

  .hero__title-break {
    display: none;
  }

  .hero__subtitle {
    font-size: clamp(1.08rem, 3.6vw + 0.25rem, 1.28rem);
    line-height: 1.75;
    color: rgba(234, 242, 245, 0.9);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.22);
    padding-inline: 0;
    max-width: 100%;
    width: 100%;
  }

  .hero__actions {
    align-items: stretch;
    gap: 0.56rem;
    width: 100%;
    max-width: 100%;
    padding-inline: 0;
  }

  .btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.72rem 1rem;
    font-size: clamp(0.8rem, 2.5vw + 0.15rem, 0.88rem);
  }

  .hero__visual {
    height: clamp(105px, 18vh, 145px);
  }

  .hero__robot {
    width: clamp(85px, 15vw + 32px, 112px);
  }

  .hero__robot-glow {
    width: clamp(95px, 18vw + 20px, 125px);
    height: clamp(95px, 18vw + 20px, 125px);
  }

  .hero__scroll-cue {
    right: 0.75rem;
    bottom: max(0.18rem, env(safe-area-inset-bottom, 0px));
  }

  .hero__scroll-cue-label {
    font-size: 0.56rem;
  }

  .hero__scroll-cue-arrow {
    font-size: 0.96rem;
  }

  .story__section {
    min-height: 100svh;
    height: auto;
    top: calc(var(--navbar-expanded-height) + var(--navbar-margin) + 0.4rem);
    min-height: calc(100svh - var(--navbar-expanded-height) - var(--navbar-margin) - 0.4rem);
    padding: 1.4rem 0.85rem 2.3rem;
    align-items: flex-start;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  /* Mobile perf: reduce heavy animated blurs */
  .ambient__orb {
    filter: blur(80px);
  }

  .ambient__orb--3,
  .ambient__orb--4 {
    animation-duration: 44s;
  }

  .hero__robot {
    animation-duration: 9s;
  }

  .story__section--4 {
    min-height: 108svh;
  }

  .story__heading {
    font-size: clamp(1.3rem, 5vw + 0.2rem, 1.75rem);
    line-height: 1.2;
  }

  .story__body {
    font-size: clamp(0.95rem, 2.8vw + 0.3rem, 1.1rem);
    line-height: 1.7;
  }

  .story__label {
    font-size: 0.7rem;
    margin-bottom: 0.75rem;
  }

  .story__inner,
  .story__inner--reverse {
    gap: 1.75rem;
  }

  .story__flow {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-left: 0;
  }

  .story__flow::before {
    top: 0.25rem;
    bottom: 0.25rem;
    left: 2rem;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(
      180deg,
      rgba(0, 194, 203, 0.12) 0%,
      rgba(94, 234, 212, 0.55) 50%,
      rgba(0, 194, 203, 0.12) 100%
    );
  }

  .story__flow-step {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    grid-template-areas:
      "badge title"
      "badge text";
    column-gap: 0.85rem;
    align-items: start;
    padding-left: 0.2rem;
  }

  .story__flow-badge {
    grid-area: badge;
    width: 56px;
    height: 56px;
    margin-bottom: 0;
    margin-top: 0.05rem;
  }

  .story__flow-icon {
    width: 26px;
    height: 26px;
  }

  .story__flow-title {
    grid-area: title;
    margin: 0.05rem 0 0.2rem;
    font-size: 0.96rem;
    line-height: 1.2;
  }

  .story__flow-text {
    grid-area: text;
    max-width: 100%;
    font-size: 0.9rem;
    line-height: 1.58;
  }

  .story__graphic {
    max-width: 320px;
  }

  .graphic-placeholder {
    border-radius: 1rem;
  }

  .graphic-placeholder__illustration {
    width: min(84%, 240px);
    max-height: 78%;
  }

  .graphic-placeholder__icon {
    width: 54px;
    height: 54px;
  }

  .pricing {
    padding: 4.5rem 1.15rem 4rem;
  }

  .lead {
    padding: 3.5rem 1.15rem 4rem;
  }

  .lead__title {
    font-size: clamp(1.4rem, 5.8vw + 0.2rem, 2.1rem);
  }

  .lead__subtitle {
    font-size: clamp(0.95rem, 2.5vw + 0.3rem, 1.1rem);
  }

  .section-title {
    font-size: clamp(1.4rem, 5.5vw + 0.2rem, 2.1rem);
  }

  .section-subtitle {
    font-size: clamp(0.92rem, 2.5vw + 0.25rem, 1.1rem);
  }

  .pricing__header {
    margin-bottom: 2.5rem;
  }

  .pricing__table-wrapper {
    margin-top: 2.2rem;
  }

  .pricing__table {
    font-size: 0.78rem;
  }

  .pricing__table th,
  .pricing__table td {
    padding: 0.56rem 0.38rem;
  }

  .pricing__table th {
    text-align: center;
  }

  .pricing__table th:first-child,
  .pricing__table td:first-child {
    text-align: left;
    width: 40%;
  }

  .pricing__table td:nth-child(2),
  .pricing__table td:nth-child(3),
  .pricing__table td:nth-child(4) {
    text-align: center;
  }

  .pricing-card__name {
    font-size: clamp(1.1rem, 3vw + 0.3rem, 1.25rem);
  }

  .pricing-card__setup {
    font-size: clamp(1.25rem, 4vw + 0.3rem, 1.5rem);
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .footer__contact {
    font-size: 0.82rem;
  }

  .footer__social {
    margin-top: 0.5rem;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: clamp(1.36rem, 7.3vw + 0.2rem, 2rem);
  }

  .hero__actions {
    max-width: 100%;
  }

  .hero {
    padding-left: max(0.5rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.5rem, env(safe-area-inset-right, 0px));
  }

  .navbar__cta-arrow {
    width: 15px;
    height: 15px;
  }

  .hero__badge {
    margin-bottom: 0.7rem;
  }

  .hero__title {
    margin-bottom: 0.65rem;
  }

  .hero__subtitle {
    margin-bottom: 0.65rem;
    line-height: 1.7;
    color: rgba(234, 242, 245, 0.92);
    max-width: 100%;
  }

  .hero__scroll-cue {
    right: 0.55rem;
    bottom: 0.1rem;
  }

  .story__section {
    padding-left: 0.65rem;
    padding-right: 0.65rem;
  }
}

@media (max-height: 700px) {
  .hero {
    padding-top: calc(var(--navbar-expanded-height) + var(--navbar-margin) * 2 + 0.45rem);
    padding-bottom: 0.85rem;
    gap: clamp(0.45rem, 1.2vh, 0.85rem);
  }

  .hero__badge {
    margin-bottom: 0.7rem;
    font-size: 0.72rem;
    padding: 0.3rem 0.75rem;
  }

  .hero__title {
    font-size: clamp(1.08rem, 2.5vw + 0.42rem, 2.4rem);
    margin-bottom: 0.55rem;
    line-height: 1.06;
  }

  .hero__subtitle {
    font-size: clamp(0.82rem, 0.75vw + 0.55rem, 1.02rem);
    margin-bottom: 0.5rem;
    line-height: 1.45;
  }

  .hero__actions {
    gap: 0.45rem;
  }

  .btn {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }

  .hero__visual {
    height: clamp(86px, 16vh, 128px);
  }

  .hero__robot {
    width: clamp(74px, 9vw + 30px, 108px);
  }

  .hero__robot-glow {
    width: clamp(86px, 11vw + 28px, 130px);
    height: clamp(86px, 11vw + 28px, 130px);
  }
}

/* Viewport lock: 1366x768 class */
@media (min-width: 1300px) and (max-width: 1420px) and (min-height: 740px) and (max-height: 790px) {
  .hero {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: 2.25rem;
    padding-top: calc(var(--navbar-expanded-height) + var(--navbar-margin) * 2 + 0.9rem);
    padding-bottom: 1.35rem;
  }

  .hero__title {
    font-size: clamp(2.6rem, 3.8vw, 3.4rem);
    line-height: 1.03;
  }

  .hero__subtitle {
    font-size: 1.08rem;
    max-width: 560px;
  }

  .hero__visual {
    height: 278px;
  }

  .hero__robot {
    width: 166px;
  }
}

/* Viewport lock: 1536x864 class */
@media (min-width: 1480px) and (max-width: 1600px) and (min-height: 840px) and (max-height: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 2.7rem;
    padding-top: calc(var(--navbar-expanded-height) + var(--navbar-margin) * 2 + 1.2rem);
    padding-bottom: 1.8rem;
  }

  .hero__title {
    font-size: clamp(2.85rem, 3.55vw, 3.6rem);
    line-height: 1.03;
  }

  .hero__subtitle {
    font-size: 1.14rem;
    max-width: 600px;
  }

  .hero__visual {
    height: 320px;
  }

  .hero__robot {
    width: 184px;
  }
}

/* Viewport lock: 390x844 and 393x852 class */
@media (min-width: 380px) and (max-width: 405px) and (min-height: 835px) and (max-height: 870px) {
  .hero {
    min-height: 100svh;
    height: 100svh;
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0.95rem;
    padding:
      calc(var(--navbar-expanded-height) + var(--navbar-margin) * 2 + 0.42rem)
      1.05rem
      1rem;
  }

  .hero__content {
    align-items: center;
  }

  .hero__badge {
    margin-bottom: 0.82rem;
    font-size: 0.69rem;
    padding: 0.34rem 0.78rem;
  }

  .hero__title {
    font-size: clamp(2.18rem, 8.8vw, 2.7rem);
    line-height: 1.1;
    margin-bottom: 0.72rem;
    max-width: 100%;
  }

  .hero__subtitle {
    font-size: 1.1rem;
    line-height: 1.68;
    margin-bottom: 0.74rem;
    max-width: 100%;
  }

  .hero__actions {
    max-width: 100%;
    justify-content: center;
    gap: 0.58rem;
  }

  .btn {
    width: 100%;
    max-width: 100%;
    padding: 0.76rem 1rem;
    font-size: 0.86rem;
  }

  .hero__visual {
    height: 162px;
  }

  .hero__robot {
    width: 126px;
  }

  .hero__robot-glow {
    width: 146px;
    height: 146px;
  }

  .hero__scroll-cue {
    right: 0.65rem;
    bottom: max(0.15rem, env(safe-area-inset-bottom, 0px));
  }
}

/* Keep CTAs visible on shorter desktop screens */
@media (min-width: 901px) and (max-height: 820px) {
  .hero {
    gap: clamp(0.8rem, 2.2vw, 1.7rem);
    padding:
      calc(var(--navbar-expanded-height) + var(--navbar-margin) * 2 + 0.45rem)
      clamp(1rem, 4vw, 2.2rem)
      0.8rem;
  }

  .hero__title {
    font-size: clamp(1.9rem, 2.6vw + 0.3rem, 3rem);
    margin-bottom: 0.55rem;
    line-height: 1.04;
  }

  .hero__subtitle {
    font-size: clamp(0.95rem, 0.9vw + 0.35rem, 1.08rem);
    margin-bottom: 0.55rem;
    line-height: 1.5;
  }

  .hero__visual {
    height: clamp(150px, 24vh, 235px);
  }

  .hero__robot {
    width: clamp(130px, 12vw, 170px);
  }

  .hero__actions {
    align-self: start;
    margin-top: 0;
  }

  .btn {
    padding: 0.64rem 1.15rem;
    font-size: 0.84rem;
  }
}

@media (min-width: 901px) and (max-height: 720px) {
  .hero {
    padding-bottom: 0.55rem;
    gap: clamp(0.6rem, 1.7vw, 1.2rem);
  }

  .hero__title {
    font-size: clamp(1.72rem, 2.2vw + 0.28rem, 2.55rem);
  }

  .hero__visual {
    height: clamp(132px, 21vh, 195px);
  }

  .hero__robot {
    width: clamp(118px, 10.5vw, 150px);
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ---- Table check/cross indicators ---- */

.tbl-yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tbl-yes svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.tbl-no {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1;
}

/* ---- Accessibility: focus-visible ---- */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent-teal);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---- Performance: content-visibility ---- */

.story__section,
.pricing,
.lead,
.faq,
.footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

/* ---- Language Switcher ---- */

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: clamp(0.68rem, 2.2vw, 0.88rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  padding: 0;
  transition: color 0.3s ease;
  white-space: nowrap;
  line-height: 1;
}

.lang-switch:hover {
  color: var(--text-primary);
}

.lang-switch__label {
  pointer-events: none;
}

/* ---- Frameless Story Graphics (sections 1-3) ---- */

.story__graphic--frameless {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
}

.graphic-frameless__glow {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 194, 203, 0.18) 0%, transparent 68%);
  filter: blur(32px);
  pointer-events: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* For loop.svg: the glow ring sits at the circle edge, not the hollow center.
   We offset two overlapping radial orbs to the sides of the loop to mimic
   a ring-shaped glow without SVG filter hacks. */
.graphic-frameless__glow--loop {
  width: 300px;
  height: 300px;
  background:
    radial-gradient(ellipse 55% 55% at 20% 50%, rgba(0, 194, 203, 0.28) 0%, transparent 70%),
    radial-gradient(ellipse 55% 55% at 80% 50%, rgba(94, 234, 212, 0.22) 0%, transparent 70%),
    radial-gradient(ellipse 80% 30% at 50% 10%, rgba(0, 194, 203, 0.16) 0%, transparent 70%),
    radial-gradient(ellipse 80% 30% at 50% 90%, rgba(94, 234, 212, 0.16) 0%, transparent 70%);
  filter: blur(28px);
}

.graphic-frameless__illustration {
  width: min(78%, 280px);
  height: auto;
  max-height: 86%;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: var(--glow-accent-filter);
}

/* ---- Ablauf section: full-width, even columns, opaque background ---- */

.story__section--4 {
  padding-left: 4vw;
  padding-right: 4vw;
  background: rgba(13, 27, 42, 0.98);
}

.story__section--4 .story__inner--flow {
  max-width: 100%;
  width: 100%;
  padding: 0;
}

.story__section--4 .story__text {
  width: 100%;
  max-width: 100%;
}

@media (min-width: 769px) {
  .story__section--4 .story__flow {
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1.2rem, 2.8vw, 2.4rem);
    width: 100%;
  }
}

/* On medium screens keep 4-col but scale down */
@media (min-width: 769px) and (max-width: 1100px) {
  .story__section--4 .story__flow {
    gap: clamp(0.8rem, 1.8vw, 1.4rem);
  }

  .story__section--4 .story__flow-badge {
    width: 68px;
    height: 68px;
  }

  .story__section--4 .story__flow-title {
    font-size: 0.95rem;
  }

  .story__section--4 .story__flow-text {
    font-size: 0.86rem;
  }
}

/* Frameless graphic mobile sizing */
@media (max-width: 900px) {
  .story__graphic--frameless {
    max-width: 340px;
    margin: 0 auto;
    width: 100%;
  }

  .graphic-frameless__glow {
    width: 200px;
    height: 200px;
  }

  .graphic-frameless__glow--loop {
    width: 220px;
    height: 220px;
  }
}

@media (max-width: 768px) {
  .story__graphic--frameless {
    max-width: 260px;
  }
}
