@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("public/fonts/PlusJakartaSans-VariableFont_wght.ttf") format("truetype-variations");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --cp-primary: #ada3f7;
  --cp-secondary: #4a4073;
  --cp-accent: #241f36;
  --cp-logo-black: #000000;
  --cp-surface: #f7f4ff;
  --cp-surface-strong: #ede8ff;
  --cp-border: #d4ccff;
  --cp-field-bg: rgba(173, 163, 247, 0.12);
  --cp-field-bg-active: rgba(173, 163, 247, 0.2);
  --cp-text-mid: rgba(74, 64, 115, 0.76);
  --cp-text-dim: rgba(74, 64, 115, 0.56);
  --cp-gradient-main: linear-gradient(90deg, #ada3f7 0%, #241f36 100%);
  --cp-font-sans: "Plus Jakarta Sans", "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --cp-radius-sm: 8px;
  --cp-radius-md: 12px;
  --cp-radius-lg: 16px;
  --cp-radius-panel: 22px;
  --cp-shadow-sm: 0 4px 14px color-mix(in srgb, var(--cp-secondary) 8%, transparent);
  --cp-shadow-md: 0 10px 24px color-mix(in srgb, var(--cp-secondary) 8%, transparent);
  --cp-shadow-lg: 0 18px 44px -20px color-mix(in srgb, var(--cp-secondary) 30%, transparent);
  --hero-progress: 0;
  --intro-progress: 0;
  --nav-color-progress: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--cp-font-sans);
  color: var(--cp-accent);
  background: #ffffff;
}

body {
  margin: 0;
  min-width: 320px;
  background: #ffffff;
  color: var(--cp-accent);
  overflow-x: hidden;
}

body.home-page.is-scrolled .site-header {
  background: transparent;
  border-color: transparent;
  backdrop-filter: none;
}

body.is-nav-hidden .site-header {
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, -110%, 0);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 1000;
  transform: translateY(-160%);
  border-radius: 999px;
  background: var(--cp-accent);
  color: #ffffff;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 100;
  left: 0;
  right: 0;
  top: 0;
  display: flex;
  width: 100%;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid transparent;
  background: transparent;
  padding: 0 max(24px, calc((100vw - 1120px) / 2));
  transition:
    background 180ms ease,
    border-color 180ms ease,
    backdrop-filter 180ms ease,
    opacity 220ms ease,
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.brand-link {
  display: inline-grid;
  position: relative;
  align-items: center;
  justify-items: start;
  width: 252px;
  min-width: 252px;
  height: 66px;
  padding: 0 14px;
  border-radius: 999px;
  isolation: isolate;
}

.brand-logo {
  grid-area: 1 / 1;
  height: 54px;
  width: auto;
}

.nav-menu-toggle {
  display: none;
}

.main-nav {
  display: inline-flex;
  position: relative;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  color: var(--cp-logo-black);
  font-size: 13px;
  font-weight: 700;
  isolation: isolate;
}

body.home-page.is-scrolled .main-nav {
  color: var(--cp-text-mid);
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border-radius: 999px;
  padding: 0 14px;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.main-nav a:hover {
  background: transparent;
  color: var(--cp-logo-black);
}

.main-nav a:active {
  transform: scale(0.98);
}

.main-nav .nav-cta {
  position: relative;
  overflow: hidden;
  background: transparent;
  color: #ffffff;
  padding: 0 18px;
  isolation: isolate;
}

.main-nav .nav-cta::before,
.main-nav .nav-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  transition: opacity 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.main-nav .nav-cta::before {
  background: var(--cp-logo-black);
  opacity: 1;
}

.main-nav .nav-cta::after {
  background: var(--cp-secondary);
  opacity: 0;
}

body.home-page .main-nav .nav-cta::before {
  opacity: calc(1 - var(--nav-color-progress));
}

body.home-page .main-nav .nav-cta::after {
  opacity: var(--nav-color-progress);
}

.main-nav .nav-cta:hover {
  background: transparent;
  color: #ffffff;
}

body.home-page.is-scrolled .main-nav a:hover {
  background: transparent;
  color: var(--cp-accent);
}

body.home-page.is-scrolled .main-nav .nav-cta {
  background: transparent;
  color: #ffffff;
}

body.home-page.is-scrolled .main-nav .nav-cta:hover {
  background: transparent;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

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

.button:active {
  transform: scale(0.98);
}

.button-primary {
  background: var(--cp-secondary);
  color: #ffffff;
}

.button-primary:hover {
  background: var(--cp-accent);
}

.button-secondary {
  border-color: color-mix(in srgb, var(--cp-secondary) 16%, transparent);
  background: rgba(255, 255, 255, 0.9);
  color: var(--cp-secondary);
}

.button-secondary:hover {
  border-color: color-mix(in srgb, var(--cp-secondary) 26%, transparent);
  background: #ffffff;
  color: var(--cp-accent);
}

.hero {
  position: relative;
  height: 110svh;
  min-height: 720px;
}

.hero-pin {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 680px;
  overflow: hidden;
  background: #ffffff;
}

.hero-gallery {
  position: absolute;
  inset: -4vh -3vw -2vh -2vw;
  z-index: 0;
  opacity: 1;
  filter: none;
  transform: translate3d(0, calc(-4vh + (var(--hero-progress) * -38vh)), 0) scale(1.06);
  transform-origin: center;
  transition: transform 120ms linear;
  will-change: transform;
}

.hero-gallery-stage {
  position: absolute;
  inset: 0;
}

.hero-gallery-frame {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1200ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity;
}

.hero-gallery-frame.is-active {
  z-index: 1;
  opacity: 1;
}

.hero-gallery-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-x, center) var(--hero-y, center);
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, #ffffff 0%, #ffffff 50%, rgba(255, 255, 255, 0.84) 55%, rgba(255, 255, 255, 0.48) 61%, rgba(255, 255, 255, 0.16) 67%, rgba(255, 255, 255, 0) 74%);
  opacity: 1;
}

.hero-content {
  position: absolute;
  z-index: 4;
  top: auto;
  left: max(24px, calc((100vw - 1120px) / 2));
  bottom: clamp(96px, 13vh, 140px);
  display: flex;
  width: min(520px, calc(50vw - 24px));
  flex-direction: column;
  justify-content: flex-end;
  color: var(--cp-accent);
  opacity: 1;
  transform: translate3d(0, calc(var(--hero-progress) * -38vh), 0);
  transition: transform 120ms linear;
  will-change: transform;
}

.hero-question-switcher {
  isolation: isolate;
  position: relative;
  width: 100%;
  min-height: clamp(230px, 22vw, 320px);
  overflow: visible;
  perspective: 1200px;
}

.hero-question {
  position: absolute;
  inset: auto auto 0 0;
  width: 100%;
  margin: 0;
  color: var(--cp-accent);
  font-weight: 850;
  letter-spacing: 0;
  font-size: clamp(42px, 4.6vw, 66px);
  line-height: 1.16;
  text-wrap: balance;
  opacity: 0;
  visibility: hidden;
  filter: blur(6px);
  transform: translate3d(0, 22px, 0) scale(0.992);
  transform-origin: left bottom;
  transition:
    opacity 300ms ease,
    visibility 0ms linear 440ms,
    filter 440ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 440ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  will-change: opacity, filter, transform;
}

.hero-question.is-active,
.hero-question.is-exiting {
  visibility: visible;
}

.hero-question.is-active {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
}

.hero-question.is-exiting {
  opacity: 0;
  filter: blur(2px);
  transform: translate3d(calc(100vw + 96px), 0, 0) skewX(-8deg);
  transition:
    opacity 120ms linear,
    visibility 0ms linear 220ms,
    filter 150ms ease,
    transform 220ms cubic-bezier(0.58, 0, 1, 1);
}

.hero-typewriter-text {
  display: inline;
}

.hero-typewriter-word {
  display: inline-block;
  white-space: nowrap;
}

.hero-typewriter-char {
  display: inline-block;
  color: var(--cp-accent);
}

.hero-typewriter-cursor {
  display: none;
  margin-left: 0.05em;
  color: currentColor;
  font-weight: 760;
  transform: translateY(-0.03em);
}

.hero-question.is-typing .hero-typewriter-cursor {
  display: inline-block;
  animation: heroCursorBlink 880ms steps(2, end) infinite;
}

@keyframes heroCursorBlink {
  0%,
  48% {
    opacity: 1;
  }

  49%,
  100% {
    opacity: 0;
  }
}

.hero-support {
  width: min(430px, 100%);
  margin: 34px 0 0;
  color: var(--cp-text-mid);
  font-size: 18px;
  font-weight: 650;
  line-height: 1.55;
}

.hero-cta {
  align-self: flex-start;
  margin-top: clamp(20px, 3vh, 32px);
  box-shadow: 0 18px 42px -22px rgba(36, 31, 54, 0.8);
}

.scroll-cue {
  position: fixed;
  z-index: 20;
  right: max(24px, calc((100vw - 1120px) / 2));
  bottom: 26px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  opacity: 1;
  pointer-events: none;
  transition: opacity 180ms ease;
}

body.home-page.is-scrolled .scroll-cue {
  opacity: 0;
}

.scroll-cue span {
  width: 42px;
  height: 1px;
  background: currentColor;
}

.intro-variants {
  background: #ffffff;
}

.flow-intro {
  position: relative;
  display: grid;
  min-height: 30svh;
  place-items: center;
  padding: 48px 24px 44px;
  overflow: hidden;
  background: #ffffff;
}

.flow-intro-inner {
  position: relative;
  display: grid;
  isolation: isolate;
  place-items: center;
  z-index: 1;
  width: min(1060px, 100%);
  text-align: center;
}

.flow-intro h2 {
  position: relative;
  z-index: 2;
  display: flex;
  width: fit-content;
  max-width: 100%;
  flex-wrap: wrap;
  gap: 0.02em 0.18em;
  justify-content: center;
  margin: 0;
  color: var(--cp-accent);
  font-size: clamp(42px, 4.6vw, 66px);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.16;
  isolation: isolate;
  text-align: center;
  text-wrap: balance;
}

.flow-word {
  display: inline-block;
  position: relative;
  z-index: 2;
  transform-origin: 50% 70%;
  will-change: opacity, transform, filter, clip-path;
}

.flow-highlight-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: visible;
  pointer-events: none;
}

.flow-line-highlight {
  position: absolute;
  border-radius: 0;
  background: color-mix(in srgb, var(--cp-primary) 24%, white);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition:
    opacity 260ms ease,
    transform 780ms cubic-bezier(0.76, 0, 0.24, 1);
  transition-delay: 0ms;
  will-change: transform, opacity;
}

.flow-intro.is-flow-enhanced .flow-word {
  opacity: 0;
  filter: blur(12px);
  transform: translate3d(0, 0.95em, 0) rotateX(-18deg);
  transition:
    opacity 520ms ease,
    filter 760ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 760ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--flow-word-index, 0) * 72ms);
}

.flow-intro.is-flow-enhanced.is-flow-visible .flow-word {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) rotateX(0);
}

.flow-intro.is-flow-enhanced.is-flow-marked .flow-line-highlight {
  opacity: 1;
  transform: scaleX(1);
  transition-delay: calc(var(--flow-line-index, 0) * 92ms);
}

.flow-intro.is-flow-enhanced.is-flow-mark-exiting .flow-line-highlight {
  animation: flowHighlightExit 780ms cubic-bezier(0.76, 0, 0.24, 1) both;
  animation-delay: calc(var(--flow-line-index, 0) * 92ms);
}

@keyframes flowHighlightExit {
  0% {
    opacity: 1;
    transform: scaleX(1);
    transform-origin: right center;
  }

  72% {
    opacity: 1;
    transform: scaleX(0);
    transform-origin: right center;
  }

  100% {
    opacity: 0;
    transform: scaleX(0);
    transform-origin: right center;
  }
}

.section-heading h2,
.contact-copy h2 {
  margin: 0 auto;
  color: var(--cp-accent);
  font-size: 54px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.04;
  text-wrap: balance;
}

.section-heading p,
.contact-copy p {
  width: min(650px, 100%);
  margin: 22px auto 0;
  color: var(--cp-text-mid);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.65;
}

.story {
  position: relative;
  height: 360svh;
  background: #ffffff;
}

.story-pin {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  background: #ffffff;
}

.story-progress {
  position: absolute;
  z-index: 2;
  top: 74px;
  left: 0;
  width: 100%;
  height: 3px;
  overflow: hidden;
  background: transparent;
}

.story-progress span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--cp-gradient-main);
}

.story-track {
  display: flex;
  width: max-content;
  height: 100%;
  will-change: transform;
}

.story-panel {
  display: grid;
  width: 100vw;
  height: 100%;
  grid-template-columns: minmax(320px, 0.82fr) minmax(480px, 1.18fr);
  align-items: center;
  gap: 48px;
  padding: 88px max(24px, calc((100vw - 1120px) / 2)) 54px;
  background: #ffffff;
}

.story-copy {
  min-width: 0;
  width: 100%;
  max-width: 430px;
}

.story-step-number {
  display: block;
  margin: 0 0 16px;
  color: var(--cp-primary);
  font-size: clamp(72px, 7.2vw, 112px);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 0.82;
}

.story-copy h2 {
  margin: 0;
  color: var(--cp-accent);
  font-size: 48px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.03;
  text-wrap: balance;
}

.story-copy p {
  margin: 22px 0 0;
  color: var(--cp-text-mid);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.story-visual {
  --story-asset-size: clamp(520px, 42vw, 600px);
  --story-phone-width: clamp(270px, 22vw, 300px);
  --story-laptop-width: clamp(760px, 54vw, 800px);
  display: grid;
  min-width: 0;
  width: 100%;
  min-height: 500px;
  place-items: center;
}

.qr-stage {
  --scan-duration: 3.1s;
  --scan-line-height: clamp(2px, 0.22vw, 3px);
  position: relative;
  display: grid;
  width: min(var(--story-asset-size), 76vw);
  aspect-ratio: 1;
  place-items: center;
  background: transparent;
  overflow: visible;
}

.qr-code-shell {
  position: relative;
  display: block;
  width: 88%;
  height: 88%;
  isolation: isolate;
}

.qr-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-image-black {
  z-index: 1;
  filter: drop-shadow(0 28px 46px rgba(36, 31, 54, 0.16));
}

.qr-image-brand {
  z-index: 2;
  clip-path: inset(0 0 100% 0);
  animation: qrBrandSweep var(--scan-duration) cubic-bezier(0.76, 0, 0.24, 1) infinite;
  will-change: clip-path;
}

.scan-line {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  top: 0;
  height: var(--scan-line-height);
  border-radius: 0;
  background: var(--cp-primary);
  animation: scanSweep var(--scan-duration) cubic-bezier(0.76, 0, 0.24, 1) infinite;
  will-change: top;
}

.phone-mock {
  display: grid;
  place-items: center;
  width: min(390px, 78vw);
}

.phone-device-image {
  width: min(var(--story-phone-width), 54vw);
  margin: 0;
  filter: drop-shadow(0 24px 42px rgba(36, 31, 54, 0.1));
}

.phone-device-image img {
  display: block;
  width: 100%;
  height: auto;
}

.phone-hardware {
  position: relative;
  width: 100%;
  aspect-ratio: 0.48;
  border: 10px solid #171425;
  border-radius: 44px;
  background: #171425;
  box-shadow: 0 34px 82px rgba(36, 31, 54, 0.18);
}

.phone-speaker {
  position: absolute;
  z-index: 4;
  top: 11px;
  left: 50%;
  width: 88px;
  height: 22px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #171425;
}

.phone-screen {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 34px;
  background: var(--cp-surface);
}

.phone-map {
  position: absolute;
  inset: 0 0 26%;
  overflow: hidden;
}

.phone-map::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(247, 244, 255, 0.1) 0%, rgba(247, 244, 255, 0.9) 100%),
    color-mix(in srgb, var(--cp-primary) 12%, transparent);
}

.phone-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) contrast(0.98);
}

.phone-topbar {
  position: absolute;
  z-index: 3;
  top: 40px;
  left: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--cp-secondary);
  font-size: 11px;
  font-weight: 800;
}

.phone-topbar img {
  height: 26px;
  width: auto;
}

.phone-topbar span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--cp-secondary) 12%, transparent);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
}

.map-marker {
  position: absolute;
  display: block;
  width: 18px;
  height: 18px;
  border: 4px solid #ffffff;
  border-radius: 999px;
  background: var(--cp-secondary);
  box-shadow: 0 0 0 8px rgba(173, 163, 247, 0.25);
}

.marker-one {
  left: 42%;
  top: 38%;
}

.marker-two {
  right: 28%;
  top: 54%;
}

.chat-sheet {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px 18px;
  border-radius: 24px 24px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 -16px 44px rgba(36, 31, 54, 0.12);
  backdrop-filter: blur(18px);
}

.sheet-handle {
  width: 42px;
  height: 4px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--cp-secondary) 18%, transparent);
}

.message {
  margin: 8px 0;
  border-radius: 20px;
  padding: 10px 12px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.45;
}

.message-assistant {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 92%;
  border: 0;
  background: #ffffff;
  color: var(--cp-text-mid);
}

.message-assistant img {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.message-user {
  max-width: 78%;
  margin-left: auto;
  background: var(--cp-primary);
  color: var(--cp-accent);
}

.mock-composer {
  margin-top: 12px;
  border: 1px solid color-mix(in srgb, var(--cp-secondary) 12%, transparent);
  border-radius: 999px;
  background: #ffffff;
  color: var(--cp-text-dim);
  padding: 12px 14px;
  font-size: 11px;
  font-weight: 700;
}

.map-feature {
  position: relative;
  width: min(calc(var(--story-asset-size) * 0.88), 62vw);
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--cp-surface);
  box-shadow: none;
}

.map-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0) 42%),
    linear-gradient(180deg, rgba(36, 31, 54, 0) 62%, rgba(36, 31, 54, 0.08) 100%);
  pointer-events: none;
}

.map-feature > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-dashboard-image {
  width: min(var(--story-laptop-width), 84vw);
  margin: 0;
  filter: drop-shadow(0 34px 48px rgba(36, 31, 54, 0.14));
}

.story-dashboard-image img {
  width: 100%;
  height: auto;
}

.benefits {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  padding: 118px 0 118px;
}

.benefits-shell {
  width: min(1208px, calc(100% - 48px));
  margin: 0 auto;
}

.benefits-heading {
  display: grid;
  max-width: 760px;
  gap: 16px;
}

.benefits-heading h2 {
  margin: 0;
  color: var(--cp-accent);
  font-size: clamp(44px, 5.8vw, 78px);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 0.99;
  text-wrap: balance;
}

.benefits-bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 226px;
  gap: 16px;
  margin-top: 44px;
}

.bento-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #f5f4f8;
  padding: clamp(24px, 2.8vw, 34px);
  color: var(--cp-accent);
  box-shadow: none;
  transition: none;
}

.bento-card-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.bento-card-head h3 {
  margin: 0;
  color: inherit;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 780;
  letter-spacing: 0;
  line-height: 1.08;
  text-wrap: balance;
}

.bento-card > p {
  position: relative;
  z-index: 2;
  max-width: 330px;
  margin: auto 0 0;
  color: var(--cp-text-mid);
  font-size: 16px;
  font-weight: 570;
  line-height: 1.58;
}

.bento-map > p {
  margin: 14px 0 0;
}

.bento-chat {
  grid-column: 1 / span 4;
  grid-row: 1 / span 2;
}

.bento-browser {
  grid-column: 5 / span 4;
  grid-row: 1;
}

.bento-api {
  grid-column: 5 / span 4;
  grid-row: 2;
}

.bento-map {
  grid-column: 9 / span 4;
  grid-row: 1 / span 2;
}

.bento-model {
  grid-column: 1 / span 6;
  grid-row: 3;
}

.bento-insights {
  grid-column: 7 / span 6;
  grid-row: 3;
}

.bento-card-dark {
  color: #ffffff;
  background:
    linear-gradient(145deg, rgba(173, 163, 247, 0.26) 0%, rgba(36, 31, 54, 0) 44%),
    var(--cp-accent);
}

.bento-card-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.13) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.bento-chat::before {
  content: none;
}

.bento-card-dark > p,
.bento-card-dark .bento-chat-demo {
  color: rgba(255, 255, 255, 0.72);
}

.bento-card-primary {
  background: var(--cp-primary);
}

.bento-card-primary > p {
  color: color-mix(in srgb, var(--cp-accent) 72%, transparent);
}

.bento-chat-demo {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.bento-chat-demo span {
  width: fit-content;
  max-width: 86%;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 760;
  line-height: 1.25;
}

.bento-message-user {
  justify-self: end;
  background: rgba(173, 163, 247, 0.24);
  color: #ffffff;
}

.bento-message-bot {
  justify-self: start;
}

.bento-map {
  background: #f4f4f7;
}

.bento-map-preview {
  position: relative;
  z-index: 1;
  width: calc(100% + 38px);
  max-width: none;
  height: 238px;
  margin: 28px -18px -22px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #ffffff;
}

.bento-map-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(0.98);
}

.bento-api {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--cp-primary) 22%, white) 0%, #ffffff 100%);
}

.bento-insights {
  background: var(--cp-accent);
  color: #ffffff;
}

.bento-insights > p {
  color: rgba(255, 255, 255, 0.72);
}

.bento-chart {
  display: flex;
  position: absolute;
  right: 30px;
  bottom: 28px;
  left: min(330px, 48%);
  height: 92px;
  align-items: end;
  gap: 8px;
}

.bento-chart span {
  flex: 1;
  min-width: 14px;
  height: var(--bar-height);
  border-radius: 0;
  background: linear-gradient(180deg, var(--cp-primary) 0%, #ffffff 100%);
}

.laptop-mock {
  width: min(660px, 76vw);
}

.laptop-screen {
  display: grid;
  aspect-ratio: 1.62;
  grid-template-columns: 170px 1fr;
  overflow: hidden;
  border: 12px solid #171425;
  border-radius: 26px 26px 18px 18px;
  background: #ffffff;
  box-shadow: 0 34px 82px rgba(36, 31, 54, 0.18);
}

.laptop-base {
  width: 72%;
  height: 16px;
  margin: 0 auto;
  border-radius: 0 0 22px 22px;
  background: linear-gradient(180deg, #e9e7f3 0%, #c7c1df 100%);
}

.admin-sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #0f172a;
  padding: 24px 16px;
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 800;
}

.admin-sidebar img {
  width: 116px;
  height: auto;
  margin-bottom: 18px;
}

.admin-sidebar span {
  border-radius: 12px;
  padding: 10px 12px;
}

.admin-sidebar .admin-nav-active {
  background: rgba(173, 163, 247, 0.18);
  color: #ffffff;
}

.admin-main {
  background: var(--cp-surface);
  padding: 22px;
}

.admin-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.admin-head h3 {
  margin: 6px 0 0;
  font-size: 22px;
  line-height: 1.1;
}

.admin-head > span {
  border: 1px solid color-mix(in srgb, var(--cp-secondary) 14%, transparent);
  border-radius: 999px;
  background: #ffffff;
  padding: 8px 10px;
  color: var(--cp-text-mid);
  font-size: 10px;
  font-weight: 800;
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.kpi-row div,
.chart-card,
.query-list {
  border: 1px solid color-mix(in srgb, var(--cp-secondary) 10%, transparent);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--cp-shadow-sm);
}

.kpi-row div {
  padding: 14px;
}

.kpi-row strong {
  display: block;
  color: var(--cp-accent);
  font-size: 23px;
  line-height: 1;
}

.kpi-row span {
  display: block;
  margin-top: 7px;
  color: var(--cp-text-mid);
  font-size: 10px;
  font-weight: 800;
}

.chart-card {
  display: flex;
  height: 112px;
  align-items: end;
  gap: 8px;
  margin-top: 14px;
  padding: 16px;
}

.bar {
  flex: 1;
  min-width: 12px;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, var(--cp-primary) 0%, var(--cp-secondary) 100%);
}

.bar-a { height: 38%; }
.bar-b { height: 52%; }
.bar-c { height: 66%; }
.bar-d { height: 84%; }
.bar-e { height: 72%; }
.bar-f { height: 96%; }

.query-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding: 12px;
}

.query-list span {
  border-radius: 10px;
  background: color-mix(in srgb, var(--cp-primary) 10%, white);
  padding: 8px 10px;
  color: var(--cp-text-mid);
  font-size: 11px;
  font-weight: 700;
}

.references {
  padding: 130px 0 104px;
  background: #ffffff;
}

.section-heading {
  width: min(900px, calc(100% - 48px));
  margin: 0 auto 44px;
  text-align: center;
}

.logo-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #ffffff;
}

.logo-marquee::before,
.logo-marquee::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: min(140px, 18vw);
  pointer-events: none;
}

.logo-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.logo-marquee::after {
  right: 0;
  background: linear-gradient(270deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.logo-track {
  display: flex;
  width: max-content;
  gap: 16px;
  padding: 24px 16px;
  animation: logoMarquee 34s linear infinite;
}

.logo-cell {
  display: grid;
  width: 190px;
  height: 96px;
  place-items: center;
  flex: 0 0 auto;
  opacity: 1;
  transition: opacity 180ms ease, transform 180ms ease;
}

.logo-cell:hover {
  opacity: 0.82;
  transform: translateY(-1px);
}

.logo-cell img {
  max-width: 146px;
  max-height: 58px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.latest-blog-linkout {
  background: #ffffff;
  padding: 28px 0 54px;
}

.latest-blog-gallery {
  position: relative;
  display: grid;
  width: min(1324px, calc(100% - 32px));
  grid-template-columns: clamp(30px, 4vw, 42px) minmax(0, 1208px) clamp(30px, 4vw, 42px);
  gap: clamp(10px, 2vw, 16px);
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.latest-blog-viewport {
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.latest-blog-viewport::-webkit-scrollbar {
  display: none;
}

.latest-blog-track {
  display: flex;
  align-items: stretch;
}

.latest-blog-nav {
  position: relative;
  z-index: 4;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--cp-accent);
  cursor: pointer;
  padding: 0;
  transition:
    color 160ms ease,
    transform 160ms ease;
}

.latest-blog-nav:hover {
  color: var(--cp-secondary);
  transform: translateY(-1px);
}

.latest-blog-nav:active {
  transform: scale(0.96);
}

.latest-blog-nav:focus-visible {
  outline: 3px solid rgba(173, 163, 247, 0.72);
  outline-offset: 4px;
}

.latest-blog-nav span {
  display: block;
  width: 18px;
  height: 18px;
  border-top: 4px solid currentColor;
  border-left: 4px solid currentColor;
  font-size: 0;
  line-height: 0;
}

.latest-blog-nav-prev span {
  transform: rotate(-45deg);
}

.latest-blog-nav-next span {
  transform: rotate(135deg);
}

.latest-blog-card {
  position: relative;
  display: grid;
  width: 100%;
  flex: 0 0 100%;
  height: 320px;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 0;
  align-items: center;
  margin: 0;
  overflow: visible;
  border-radius: 0;
  background: var(--cp-secondary);
  color: #ffffff;
  isolation: isolate;
  padding: 0;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  box-shadow: none;
}

.latest-blog-card:hover .latest-blog-photo {
  transform: none;
}

.latest-blog-smiley {
  position: absolute;
  z-index: 1;
  right: -68px;
  top: 50%;
  width: 372px;
  max-width: none;
  opacity: 0.1;
  filter: invert(1);
  transform: translateY(-50%);
  pointer-events: none;
}

.latest-blog-copy {
  position: relative;
  z-index: 2;
  display: grid;
  max-width: 700px;
  gap: 18px;
  padding: 30px 280px 30px 54px;
}

.latest-blog-copy h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.08;
  text-wrap: balance;
}

.latest-blog-copy h2 span {
  color: var(--cp-primary);
}

.latest-blog-cta {
  display: inline-flex;
  width: fit-content;
  min-height: 38px;
  align-items: center;
  border-radius: 999px;
  background: #ffffff;
  color: var(--cp-accent);
  padding: 0 16px;
  font-size: 14px;
  font-weight: 850;
}

.latest-blog-photo {
  position: relative;
  z-index: 2;
  align-self: stretch;
  justify-self: start;
  width: 320px;
  height: 320px;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
  transform: none;
  transition: none;
}

.latest-blog-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 48%;
}

.latest-blog-photo-bottom img {
  object-position: 50% 74%;
}

.blog {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #ffffff;
  color: var(--cp-accent);
  padding: 124px 0 132px;
}

.blog::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.7;
  background:
    linear-gradient(180deg, #f7f7fa 0%, rgba(247, 247, 250, 0) 42%),
    linear-gradient(90deg, rgba(36, 31, 54, 0.04) 1px, transparent 1px);
  background-size: auto, 96px 96px;
  mask-image: linear-gradient(180deg, #000000 0%, #000000 48%, transparent 100%);
}

.blog-shell {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.blog-heading {
  display: grid;
  max-width: 760px;
  gap: 18px;
}

.blog-heading h1,
.blog-heading h2 {
  margin: 0;
  color: var(--cp-accent);
  font-size: 54px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.04;
  text-wrap: balance;
}

.blog-heading p {
  width: min(640px, 100%);
  margin: 0;
  color: var(--cp-text-mid);
  font-size: 17px;
  font-weight: 550;
  line-height: 1.68;
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(320px, 0.84fr);
  gap: 18px;
  margin-top: 46px;
  align-items: stretch;
}

.blog-layout-single {
  grid-template-columns: 1fr;
}

.blog-feature,
.blog-card {
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: none;
}

.blog-feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(300px, 1.05fr);
  min-height: 484px;
  overflow: hidden;
}

.blog-feature-media {
  position: relative;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: #f3f3f6;
}

.blog-feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0) 58%, rgba(255, 255, 255, 0.32) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 70%, rgba(36, 31, 54, 0.12) 100%);
  pointer-events: none;
}

.blog-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.02);
}

.blog-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 42px);
}

.blog-feature time,
.blog-card time {
  color: var(--cp-text-dim);
  font-size: 12px;
  font-weight: 800;
}

.blog-feature h2,
.blog-feature h3 {
  margin: 18px 0 0;
  color: var(--cp-accent);
  font-size: clamp(32px, 3.1vw, 46px);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.04;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.blog-feature p {
  margin: 22px 0 0;
  color: var(--cp-text-mid);
  font-size: 16px;
  font-weight: 550;
  line-height: 1.7;
}

.blog-feature .button {
  align-self: flex-start;
  margin-top: 30px;
}

.blog-feature-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.blog-feature-stats span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: var(--cp-text-mid);
  font-size: 12px;
  font-weight: 850;
}

.blog-feed {
  display: grid;
  gap: 12px;
}

.blog-article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 58px;
}

.blog-preview-card {
  display: grid;
  grid-template-rows: 220px minmax(0, 1fr);
  overflow: hidden;
  background: rgba(247, 247, 250, 0.96);
  color: var(--cp-accent);
}

.blog-preview-card:hover .blog-preview-cta {
  color: var(--cp-secondary);
}

.blog-preview-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #f3f3f6;
}

.blog-preview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% 48%;
}

.blog-preview-media-bottom img {
  object-position: 50% 86%;
}

.blog-preview-copy {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 24px;
}

.blog-preview-copy time {
  color: var(--cp-text-dim);
  font-size: 12px;
  font-weight: 800;
}

.blog-preview-copy h2 {
  margin: 0;
  color: var(--cp-accent);
  font-size: clamp(23px, 2.2vw, 30px);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.08;
  text-wrap: balance;
}

.blog-preview-copy p {
  margin: 0;
  color: var(--cp-text-mid);
  font-size: 14px;
  font-weight: 550;
  line-height: 1.62;
}

.blog-preview-cta {
  margin-top: 6px;
  color: var(--cp-accent);
  font-size: 13px;
  font-weight: 850;
}

.blog-card {
  display: grid;
  grid-template-columns: minmax(62px, 78px) minmax(0, 1fr);
  gap: 6px 18px;
  min-height: 112px;
  align-content: start;
  padding: 20px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.blog-card:hover {
  transform: none;
  background: #ffffff;
}

.blog-card time {
  grid-row: 1 / 4;
  color: var(--cp-secondary);
  font-size: 15px;
  line-height: 1.15;
}

.blog-card span {
  color: var(--cp-text-dim);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: uppercase;
}

.blog-card h2,
.blog-card h3 {
  margin: 0;
  color: var(--cp-accent);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.25;
  text-wrap: balance;
}

.blog-card p {
  margin: 2px 0 0;
  color: var(--cp-text-mid);
  font-size: 13px;
  font-weight: 550;
  line-height: 1.55;
}

body.blog-page {
  background: #ffffff;
}

body.blog-page .site-header,
body.blog-page.is-scrolled .site-header {
  border-color: rgba(36, 31, 54, 0.08);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
}

body.blog-page .main-nav,
body.blog-page.is-scrolled .main-nav {
  color: var(--cp-text-mid);
}

body.blog-page .main-nav a:hover,
body.blog-page.is-scrolled .main-nav a:hover,
body.blog-page .main-nav a[aria-current="page"] {
  color: var(--cp-accent);
}

body.blog-page .main-nav .nav-cta,
body.blog-page.is-scrolled .main-nav .nav-cta,
body.blog-page .main-nav .nav-cta:hover {
  color: #ffffff;
}

body.blog-page .main-nav .nav-cta::before {
  background: var(--cp-logo-black);
}

body.blog-page .main-nav .nav-cta::after {
  background: var(--cp-secondary);
}

body.blog-page .button {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body.blog-page .button-secondary {
  background: var(--cp-accent);
  color: #ffffff;
}

body.blog-page .button-secondary:hover {
  background: var(--cp-secondary);
  color: #ffffff;
}

.blog-page-main .blog {
  min-height: calc(100svh - 280px);
  padding-top: clamp(118px, 12vw, 150px);
}

.blog-page-main .blog-heading {
  max-width: none;
  grid-template-columns: minmax(0, 860px) auto;
  align-items: end;
}

.blog-page-main .blog-heading h1 {
  font-size: clamp(48px, 6.8vw, 92px);
  line-height: 1;
  max-width: 900px;
}

.blog-page-meta {
  display: inline-flex;
  justify-self: end;
  gap: 18px;
  flex-wrap: wrap;
}

.blog-page-meta span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: var(--cp-text-mid);
  font-size: 12px;
  font-weight: 850;
}

.blog-page-main .blog-layout {
  margin-top: 58px;
}

.blog-page-main .blog-feature {
  min-height: 480px;
}

.blog-page-main .blog-feature .button {
  margin-top: 32px;
}

.article-main {
  background: #ffffff;
  color: var(--cp-accent);
}

.classic-article {
  width: min(860px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(116px, 12vw, 148px) 0 112px;
}

.article-back {
  display: inline-flex;
  width: fit-content;
  min-height: 34px;
  align-items: center;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: var(--cp-text-mid);
  font-size: 12px;
  font-weight: 850;
}

.article-back:hover {
  color: var(--cp-accent);
}

.classic-article-header {
  display: grid;
  gap: 18px;
}

.classic-article-header h1 {
  margin: 0;
  color: var(--cp-accent);
  font-size: clamp(34px, 4.1vw, 52px);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.12;
  text-wrap: balance;
}

.classic-article-header p {
  margin: 0;
  color: var(--cp-text-mid);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  line-height: 1.62;
}

.classic-article-cover {
  margin: 42px 0 0;
  border-radius: 0;
  overflow: hidden;
  border: 0;
  background: #ffffff;
}

.classic-article-cover img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  object-position: 54% 46%;
}

.classic-article-cover img.classic-article-cover-image-bottom {
  object-position: 50% 88%;
}

.classic-article-cover figcaption {
  padding: 12px 14px;
  color: var(--cp-text-dim);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.5;
}

.classic-article-content {
  display: grid;
  gap: 34px;
  margin-top: 46px;
}

.classic-article-content p {
  margin: 0;
  color: rgba(36, 31, 54, 0.8);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.82;
}

.classic-article-intro {
  color: var(--cp-accent);
  font-size: 20px;
  font-weight: 650;
  line-height: 1.72;
}

.classic-article-section {
  display: grid;
  gap: 16px;
}

.classic-article-section h2 {
  margin: 0;
  color: var(--cp-accent);
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.18;
  text-wrap: balance;
}

.legal-article {
  width: min(700px, calc(100% - 48px));
  padding-top: clamp(102px, 9vw, 120px);
  padding-bottom: 88px;
}

.legal-page .article-back {
  margin-bottom: 34px;
  color: var(--cp-text-dim);
  font-size: 13px;
  font-weight: 760;
}

.legal-page .article-back:hover {
  color: var(--cp-secondary);
}

.legal-page .classic-article-header {
  gap: 12px;
}

.legal-page .classic-article-header h1 {
  max-width: 660px;
  font-size: clamp(30px, 4.4vw, 42px);
  font-weight: 840;
  line-height: 1.08;
}

.legal-page .classic-article-header p {
  max-width: 620px;
  color: rgba(74, 64, 115, 0.72);
  font-size: 16px;
  font-weight: 560;
  line-height: 1.62;
}

.legal-content {
  gap: 28px;
  margin-top: 30px;
}

.legal-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 24px;
}

.legal-switcher a {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  background: transparent;
  color: var(--cp-text-mid);
  padding: 0;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.legal-switcher a:hover,
.legal-switcher a[aria-current="page"] {
  color: var(--cp-accent);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}

.legal-content address,
.legal-content p,
.legal-content li {
  margin: 0;
  color: rgba(36, 31, 54, 0.8);
  font-size: 15px;
  font-style: normal;
  font-weight: 520;
  line-height: 1.72;
}

.legal-content a {
  color: var(--cp-secondary);
  font-weight: 750;
}

.legal-content a:hover {
  color: var(--cp-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 1.2em;
}

.legal-content li::marker {
  color: var(--cp-secondary);
}

.legal-content strong {
  color: var(--cp-accent);
  font-weight: 850;
}

.legal-content h3 {
  margin: 6px 0 0;
  color: var(--cp-accent);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
}

.legal-page .classic-article-section {
  gap: 10px;
}

.legal-page .classic-article-section + .classic-article-section {
  margin-top: 2px;
}

.legal-page .classic-article-section h2 {
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 820;
  line-height: 1.2;
}

.legal-updated {
  color: var(--cp-text-dim);
  font-size: 13px;
  font-weight: 800;
}

.classic-article-facts {
  display: grid;
  gap: 18px;
  border-top: 1px solid rgba(36, 31, 54, 0.12);
  border-bottom: 1px solid rgba(36, 31, 54, 0.12);
  padding: 24px 0;
}

.classic-article-facts h2 {
  margin: 0;
  color: var(--cp-accent);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
}

.classic-article-facts dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.classic-article-facts div {
  display: grid;
  grid-template-columns: minmax(180px, 0.44fr) minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
}

.classic-article-facts dt {
  color: var(--cp-accent);
  font-size: 16px;
  font-weight: 850;
}

.classic-article-facts dd {
  margin: 0;
  color: var(--cp-text-mid);
  font-size: 15px;
  font-weight: 550;
  line-height: 1.55;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(420px, 1.15fr);
  gap: 72px;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 84px 0 132px;
  align-items: center;
}

.contact-copy {
  position: static;
}

.contact-copy h2 {
  margin-left: 0;
  margin-right: 0;
  font-size: 48px;
}

.contact-copy p {
  margin-left: 0;
  margin-right: 0;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 9px;
}

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

.contact-form span {
  color: var(--cp-text-mid);
  font-size: 12px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: 0;
  background-color: var(--cp-field-bg);
  color: var(--cp-accent);
  outline: 2px solid transparent;
  outline-offset: 3px;
  padding: 16px 18px;
  font-size: 15px;
  font-weight: 650;
  box-shadow: none;
  transition: background-color 160ms ease, outline-color 160ms ease;
}

.contact-form select {
  padding-right: 48px;
  background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.5 6.75L9 11.25L13.5 6.75' stroke='%23241F36' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 18px 18px;
}

.contact-form textarea {
  min-height: 168px;
  resize: vertical;
}

.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover {
  background-color: var(--cp-field-bg-active);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  background-color: var(--cp-field-bg-active);
  box-shadow: none;
}

.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible {
  outline-color: color-mix(in srgb, var(--cp-secondary) 50%, transparent);
  box-shadow: none;
}

.contact-form .button-primary {
  min-height: 52px;
  background: var(--cp-secondary);
  background-image: none;
  box-shadow: none;
  transition: none;
}

.contact-form .button-primary:hover,
.contact-form .button-primary:active {
  background: var(--cp-secondary);
  background-image: none;
  transform: none;
}

.contact-form .button-primary:disabled {
  cursor: wait;
  opacity: 0.72;
}

.field-wide {
  grid-column: 1 / -1;
}

.form-status {
  display: flex;
  align-items: start;
  min-height: 44px;
  margin: 0;
  overflow: hidden;
  color: var(--cp-secondary);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.form-status[data-state="error"] {
  color: #8f2d56;
}

.site-footer {
  position: relative;
  overflow: hidden;
  display: grid;
  width: 100%;
  margin: 0;
  background: var(--cp-accent);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(420px, 1.2fr);
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  align-items: start;
  gap: 72px;
  padding: 62px 0 54px;
}

.footer-wordmark {
  height: 30px;
  width: auto;
}

.footer-brand p {
  max-width: 280px;
  margin: 18px 0 0;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.footer-columns div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-columns h2 {
  margin: 0 0 4px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.footer-columns a,
.footer-columns span {
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.footer-columns a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

.footer-made {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
}

.footer-made-smiley {
  display: block;
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: url("public/brand/chatpoints_smiley.svg") center / contain no-repeat;
  mask: url("public/brand/chatpoints_smiley.svg") center / contain no-repeat;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible,
.story-panel.is-active .reveal {
  opacity: 1;
  transform: translateY(0);
}

@keyframes scanSweep {
  0%, 100% {
    top: 0;
  }
  50% {
    top: calc(100% - var(--scan-line-height));
  }
}

@keyframes qrBrandSweep {
  0%, 100% {
    clip-path: inset(0 0 100% 0);
  }
  50% {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes markerPulse {
  0%, 100% {
    box-shadow: 0 0 0 8px rgba(173, 163, 247, 0.24);
  }
  50% {
    box-shadow: 0 0 0 18px rgba(173, 163, 247, 0);
  }
}

@keyframes logoMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 980px) {
  body.is-mobile-menu-open {
    overflow: hidden;
  }

  .site-header {
    min-height: 68px;
    padding: 0 24px;
  }

  body.is-mobile-menu-open .site-header,
  body.home-page.is-mobile-menu-open .site-header,
  body.home-page.is-scrolled.is-mobile-menu-open .site-header,
  body.blog-page.is-mobile-menu-open .site-header,
  body.blog-page.is-scrolled.is-mobile-menu-open .site-header {
    background: #ffffff;
    border-color: transparent;
    backdrop-filter: none;
  }

  .brand-link {
    z-index: 3;
  }

  .nav-menu-toggle {
    position: relative;
    z-index: 4;
    display: inline-grid;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: var(--cp-logo-black);
    color: #ffffff;
    cursor: pointer;
    padding: 0;
    transition: background 180ms ease, transform 160ms ease;
  }

  body.home-page.is-scrolled .nav-menu-toggle,
  body.blog-page .nav-menu-toggle,
  body.blog-page.is-scrolled .nav-menu-toggle {
    background: var(--cp-secondary);
  }

  .nav-menu-toggle:active {
    transform: scale(0.98);
  }

  .nav-menu-toggle:focus-visible {
    outline: 3px solid rgba(173, 163, 247, 0.72);
    outline-offset: 4px;
  }

  .nav-menu-toggle span {
    grid-area: 1 / 1;
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transform-origin: center;
    transition: transform 180ms ease, opacity 140ms ease;
  }

  .nav-menu-toggle span:nth-child(1) {
    transform: translateY(-6px);
  }

  .nav-menu-toggle span:nth-child(3) {
    transform: translateY(6px);
  }

  body.is-mobile-menu-open .nav-menu-toggle span:nth-child(1) {
    transform: rotate(45deg);
  }

  body.is-mobile-menu-open .nav-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.is-mobile-menu-open .nav-menu-toggle span:nth-child(3) {
    transform: rotate(-45deg);
  }

  .main-nav {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    right: 0;
    height: 100svh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: calc(68px + 18px) 24px max(28px, env(safe-area-inset-bottom));
    border-radius: 0;
    background:
      linear-gradient(180deg, #ffffff 0%, #ffffff 54%, var(--cp-surface) 100%);
    color: var(--cp-accent);
    opacity: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    pointer-events: none;
    transform: translate3d(0, -100%, 0);
    transition:
      opacity 180ms ease,
      transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0ms linear 360ms;
    visibility: hidden;
  }

  body.blog-page .main-nav,
  body.blog-page.is-scrolled .main-nav {
    color: var(--cp-accent);
  }

  body.is-mobile-menu-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
    transition:
      opacity 180ms ease,
      transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0ms linear 0ms;
    visibility: visible;
  }

  .main-nav a {
    width: 100%;
    min-height: 58px;
    justify-content: space-between;
    border-radius: 0;
    background: rgba(173, 163, 247, 0.14);
    padding: 0 18px;
    color: var(--cp-accent);
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
  }

  .main-nav a:hover,
  .main-nav a:focus-visible,
  .main-nav a[aria-current="page"],
  body.home-page.is-scrolled .main-nav a:hover,
  body.blog-page .main-nav a:hover,
  body.blog-page.is-scrolled .main-nav a:hover,
  body.blog-page .main-nav a[aria-current="page"] {
    background: rgba(173, 163, 247, 0.22);
    color: var(--cp-accent);
  }

  .main-nav a:focus-visible {
    outline: 3px solid rgba(173, 163, 247, 0.72);
    outline-offset: 2px;
  }

  .main-nav .nav-cta {
    width: 100%;
    min-height: 54px;
    justify-content: center;
    margin-top: 14px;
    border-radius: 999px;
    padding: 0 22px;
    color: #ffffff;
  }

  .section-heading h2 {
    font-size: 42px;
  }

  .flow-intro {
    min-height: 28svh;
    padding: 44px 24px 40px;
  }

  .flow-intro h2 {
    font-size: clamp(42px, 4.6vw, 66px);
  }

  .story {
    height: auto;
  }

  .story-pin {
    position: relative;
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .story-progress {
    display: none;
  }

  .story-track {
    display: grid;
    width: 100%;
    transform: none !important;
  }

  .story-panel {
    width: 100%;
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 58px 24px;
  }

  .story-copy {
    width: min(680px, calc(100vw - 48px));
    max-width: 680px;
  }

  .story-copy h2 {
    font-size: 40px;
  }

  .story-visual {
    width: min(100%, calc(100vw - 48px));
    min-height: auto;
  }

  .benefits {
    padding: 92px 0 96px;
  }

  .benefits-bento {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: 176px;
    gap: 14px;
    grid-auto-flow: dense;
  }

  .bento-chat {
    grid-column: 1 / span 3;
    grid-row: 1 / span 2;
  }

  .bento-browser {
    grid-column: 4 / span 3;
    grid-row: 1;
  }

  .bento-api {
    grid-column: 4 / span 3;
    grid-row: 2;
  }

  .bento-map {
    grid-column: 1 / span 3;
    grid-row: 3 / span 2;
  }

  .bento-model {
    grid-column: 4 / span 3;
    grid-row: 3;
  }

  .bento-insights {
    grid-column: 4 / span 3;
    grid-row: 4;
  }

  .bento-chat,
  .bento-map {
    min-height: 0;
  }

  .bento-chart {
    display: none;
  }

  .bento-insights > p {
    max-width: none;
    margin: auto 0 0;
  }

  .blog {
    padding: 96px 0 104px;
  }

  .blog-heading h1,
  .blog-heading h2 {
    font-size: 42px;
  }

  .blog-page-main .blog-heading {
    grid-template-columns: 1fr;
  }

  .blog-page-main .blog-heading h1 {
    font-size: clamp(44px, 9vw, 68px);
  }

  .blog-page-meta {
    justify-self: start;
  }

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

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

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

  .blog-feature-media {
    min-height: 360px;
  }

  .latest-blog-card {
    height: auto;
    min-height: 280px;
    grid-template-columns: minmax(240px, 36%) minmax(0, 1fr);
    gap: 0;
    padding: 0;
  }

  .latest-blog-copy {
    padding: 30px clamp(48px, 12vw, 128px) 30px 32px;
  }

  .latest-blog-copy h2 {
    font-size: clamp(28px, 4.2vw, 34px);
  }

  .latest-blog-photo {
    justify-self: start;
    width: 100%;
    height: 100%;
    min-height: 280px;
    transform: none;
  }

  .latest-blog-card:hover .latest-blog-photo {
    transform: none;
  }

  .latest-blog-smiley {
    right: -56px;
    top: 50%;
    width: 300px;
  }

  .contact {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 72px 0 104px;
  }

  .contact-copy {
    position: static;
  }

  .contact-copy h2 {
    font-size: 40px;
  }
}

@media (max-width: 820px) {
  body.home-page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: url("https://info.chatpoints.de/public/images/hero/baum-lila.webp");
    background-repeat: no-repeat;
    background-position: 56% 96%;
    background-size: auto 124%;
    opacity: 1;
  }

  body.home-page.is-scrolled::before {
    opacity: 0;
  }

  .hero {
    height: 126svh;
    min-height: 760px;
    isolation: isolate;
  }

  .hero-pin {
    position: sticky;
    top: 0;
    height: 100svh;
    min-height: 640px;
    background: transparent;
  }

  .hero-gallery {
    display: none;
  }

  .hero-gallery-image {
    object-position: 56% var(--hero-y, center);
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, #ffffff 0%, #ffffff 30%, rgba(255, 255, 255, 0.88) 38%, rgba(255, 255, 255, 0.54) 48%, rgba(255, 255, 255, 0.16) 59%, rgba(255, 255, 255, 0) 68%);
  }

  .hero-content {
    left: 24px;
    bottom: 58px;
    width: calc(100% - 48px);
    transform: none;
    transition: none;
  }

  .hero-question-switcher {
    width: min(720px, calc(100vw - 48px));
    min-height: clamp(214px, 48vw, 282px);
  }

  .hero-question {
    font-size: clamp(38px, 8.4vw, 56px);
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 62px;
    padding: 0 20px;
  }

  .brand-link {
    width: 190px;
    min-width: 190px;
    height: 50px;
    padding: 0 12px;
  }

  .brand-logo {
    height: 40px;
  }

  .main-nav {
    top: 0;
    padding: calc(62px + 18px) 20px max(28px, env(safe-area-inset-bottom));
  }

  .hero {
    height: 124svh;
    min-height: 720px;
  }

  body.home-page::before {
    background-position: 80% 96%;
    background-size: auto 136%;
  }

  .hero-pin {
    height: 100svh;
    min-height: 620px;
  }

  .hero-gallery-image {
    object-position: 86% var(--hero-y, center);
  }

  .hero-content {
    top: auto;
    left: 20px;
    bottom: 58px;
    width: calc(100% - 40px);
    min-height: 0;
    justify-content: flex-end;
  }

  .hero-question-switcher {
    width: min(720px, calc(100vw - 40px));
    min-height: clamp(214px, 60vw, 282px);
  }

  .hero-question {
    font-size: clamp(36px, 11.5vw, 52px);
    line-height: 1.15;
  }

  .hero-content .button {
    width: auto;
  }

  .hero-cta {
    margin-top: 20px;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, #ffffff 0%, #ffffff 30%, rgba(255, 255, 255, 0.88) 38%, rgba(255, 255, 255, 0.54) 48%, rgba(255, 255, 255, 0.16) 59%, rgba(255, 255, 255, 0) 68%);
  }

  .button {
    width: 100%;
  }

  .scroll-cue {
    display: none;
  }

  .section-heading h2 {
    font-size: 34px;
  }

  .section-heading p,
  .contact-copy p {
    font-size: 15px;
  }

  .flow-intro {
    min-height: 24svh;
    padding: 38px 20px 34px;
  }

  .flow-intro h2 {
    gap: 0.08em 0.16em;
    font-size: clamp(36px, 11.5vw, 52px);
    line-height: 1.15;
  }

  .story-panel {
    padding: 48px 20px;
  }

  .story-copy {
    width: calc(100vw - 40px);
  }

  .story-visual {
    width: calc(100vw - 40px);
  }

  .story-copy h2 {
    font-size: 34px;
  }

  .story-copy p {
    font-size: 15px;
  }

  .phone-hardware {
    border-width: 8px;
    border-radius: 38px;
  }

  .map-feature {
    width: min(458px, calc((100vw - 40px) * 0.88));
  }

  .story-dashboard-image {
    width: min(520px, calc(100vw - 40px));
    justify-self: center;
  }

  .benefits {
    padding: 70px 0 76px;
  }

  .benefits-shell {
    width: calc(100% - 40px);
  }

  .benefits-heading h2 {
    font-size: clamp(34px, 10vw, 42px);
    line-height: 1.04;
  }

  .benefits-bento {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 136px;
    grid-auto-flow: dense;
    gap: 10px;
    margin-top: 28px;
  }

  .bento-card {
    min-height: 0;
    padding: 18px;
  }

  .bento-card-head h3 {
    font-size: 21px;
    line-height: 1.08;
  }

  .bento-card > p {
    max-width: none;
    font-size: 13.5px;
    line-height: 1.45;
  }

  .bento-chat {
    grid-column: 1 / -1;
    grid-row: auto / span 2;
  }

  .bento-browser {
    grid-column: 1;
    grid-row: auto;
  }

  .bento-api {
    grid-column: 2;
    grid-row: auto;
  }

  .bento-map {
    grid-column: 1 / -1;
    grid-row: auto / span 2;
  }

  .bento-model {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .bento-insights {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .bento-chat-demo {
    gap: 8px;
    margin-top: 20px;
  }

  .bento-chat-demo span {
    max-width: 92%;
    padding: 8px 10px;
    font-size: 11.5px;
  }

  .bento-map-preview {
    width: calc(100% + 36px);
    height: 124px;
    margin: 16px -18px -18px;
  }

  .bento-insights > p {
    font-size: 12.5px;
  }

  .laptop-screen {
    grid-template-columns: 100px 1fr;
    border-width: 8px;
    border-radius: 20px 20px 14px 14px;
  }

  .admin-sidebar {
    padding: 16px 10px;
    font-size: 9px;
  }

  .admin-sidebar img {
    width: 76px;
  }

  .admin-main {
    padding: 14px;
  }

  .admin-head h3 {
    font-size: 16px;
  }

  .admin-head > span {
    display: none;
  }

  .kpi-row {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 14px;
  }

  .kpi-row div {
    padding: 10px;
  }

  .kpi-row strong {
    font-size: 18px;
  }

  .chart-card,
  .query-list {
    display: none;
  }

  .references {
    padding: 92px 0 72px;
  }

  .blog {
    padding: 82px 0 88px;
  }

  .blog-shell {
    width: calc(100% - 40px);
  }

  .blog-heading h1,
  .blog-heading h2 {
    font-size: 34px;
  }

  .blog-heading p {
    font-size: 15px;
  }

  .blog-feature-media {
    min-height: 280px;
  }

  .blog-article-grid {
    gap: 16px;
    margin-top: 38px;
  }

  .blog-preview-card {
    grid-template-rows: 180px minmax(0, 1fr);
  }

  .blog-preview-copy {
    padding: 20px;
  }

  .blog-preview-copy h2 {
    font-size: 24px;
  }

  .blog-feature-copy {
    padding: 24px;
  }

  .blog-feature h2,
  .blog-feature h3 {
    font-size: 30px;
  }

  .blog-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .blog-card time {
    grid-row: auto;
  }

  .latest-blog-linkout {
    padding: 12px 0 42px;
  }

  .latest-blog-gallery {
    width: calc(100% - 40px);
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .latest-blog-nav {
    position: absolute;
    top: min(240px, calc((100vw - 40px) / 2));
    width: 38px;
    height: 38px;
    transform: translateY(-50%);
  }

  .latest-blog-nav:hover {
    transform: translateY(-50%) translateY(-1px);
  }

  .latest-blog-nav:active {
    transform: translateY(-50%) scale(0.96);
  }

  .latest-blog-nav-prev {
    left: 10px;
  }

  .latest-blog-nav-next {
    right: 10px;
  }

  .latest-blog-card {
    width: 100%;
    height: auto;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
  }

  .latest-blog-copy {
    gap: 18px;
    padding: 26px;
  }

  .latest-blog-copy h2 {
    font-size: 30px;
    line-height: 1.08;
  }

  .latest-blog-cta {
    width: 100%;
  }

  .latest-blog-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }

  .latest-blog-smiley {
    right: -126px;
    top: auto;
    bottom: 94px;
    width: 330px;
    opacity: 0.06;
  }

  .classic-article {
    width: calc(100% - 40px);
    padding: 112px 0 86px;
  }

  .classic-article-header h1 {
    font-size: clamp(30px, 8vw, 38px);
    line-height: 1.12;
  }

  .classic-article-header p {
    font-size: 17px;
  }

  .classic-article-cover {
    margin-top: 34px;
  }

  .classic-article-cover img {
    max-height: 520px;
  }

  .classic-article-content {
    gap: 30px;
    margin-top: 36px;
  }

  .classic-article-content p {
    font-size: 16px;
    line-height: 1.76;
  }

  .classic-article-intro {
    font-size: 17px;
  }

  .classic-article-facts div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .contact {
    width: calc(100% - 40px);
  }

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

  .contact-copy h2 {
    font-size: 34px;
  }

  .footer-inner {
    width: calc(100% - 40px);
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 48px 0 44px;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 420px) {
  .site-header {
    gap: 10px;
    padding: 0 14px;
  }

  .brand-link {
    width: 160px;
    min-width: 160px;
    height: 44px;
    padding: 0 8px;
  }

  .brand-logo {
    height: 34px;
  }

  .nav-menu-toggle {
    width: 40px;
    height: 40px;
  }

  .main-nav {
    top: 0;
    padding: calc(62px + 16px) 14px max(24px, env(safe-area-inset-bottom));
  }

  .hero-question-switcher {
    min-height: 226px;
  }

  .hero-question {
    font-size: 36px;
  }

  .flow-intro h2 {
    font-size: 36px;
  }
}

@media (max-width: 360px) {
  .benefits-shell {
    width: calc(100% - 32px);
  }

  .benefits-bento {
    grid-auto-rows: 128px;
  }

  .bento-browser,
  .bento-api {
    grid-column: 1 / -1;
  }

  .bento-card {
    padding: 18px;
  }

  .bento-card-head h3 {
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .hero {
    height: auto;
    min-height: 0;
  }

  .hero-pin {
    position: relative;
  }

  .hero-gallery {
    inset: 0;
    opacity: 1;
    transform: none;
  }

  .hero-gallery-frame {
    transition: none;
  }

  .hero-content {
    opacity: 1;
    transform: none;
  }

  .story {
    height: auto;
  }

  .story-pin {
    position: relative;
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .story-track {
    display: grid;
    width: 100%;
    transform: none !important;
  }

  .story-panel {
    width: 100%;
  }
}

@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
  .hero-gallery {
    inset: -104px -20vw -96px -10vw;
    transform: scale(1.18);
    transform-origin: 74% 68%;
  }
}
