
@font-face {
  font-family: 'PPFraktionSans';
  src: url('/assets/fonts/PPFraktionSans-Bold.woff2') format('woff2'),
       url('/assets/fonts/PPFraktionSans-Bold.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: block;
}
@font-face {
  font-family: 'PPFraktionSans';
  src: url('/assets/fonts/PPFraktionSans-Light.woff2') format('woff2'),
       url('/assets/fonts/PPFraktionSans-Light.woff') format('woff'),
       url('/assets/fonts/PPFraktionSans-Light.ttf') format('truetype');
  font-weight: 300; font-style: normal; font-display: block;
}
@font-face {
  font-family: 'PPFraktionSans';
  src: url('/assets/fonts/PPFraktionSans-LightItalic.woff2') format('woff2'),
       url('/assets/fonts/PPFraktionSans-LightItalic.ttf') format('truetype');
  font-weight: 300; font-style: italic; font-display: block;
}

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

:root {
  /* Light version — all explicit, no dark inversion */
  --teal:     #4c91d6;
  --teal-dk:  #3a76b3;
  --teal-10:  rgba(76,145,214,0.10);
  --teal-20:  rgba(76,145,214,0.20);
  --dark:     #FCFBF8;    /* page bg (warm off-white) */
  --dark-2:   #F4F2EE;
  --dark-3:   #F4F2EE;
  --white:    #1A1C20;    /* body text */
  --ink:      #1A1C20;
  --ink-2:    #3D4148;
  --ink-3:    #717680;
  --bg:       #F4F2EE;
  --line-d:   rgba(26,28,32,0.09);
  --line-l:   rgba(26,28,32,0.09);
  /* Dark section explicit values — used inline */
  --d-bg:     #07090E;
  --d-bg2:    #0C0F17;
  --d-fg:     #FAFAF8;
  --d-muted:  rgba(250,250,248,0.5);
  --d-line:   rgba(250,250,248,0.07);
  --ease:     cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  background: #FCFBF8;
  overscroll-behavior-x: none;
  overflow-x: clip; /* clip is stronger than hidden — doesn't create scroll context */
}
body {
  font-family: 'PPFraktionSans', system-ui, sans-serif;
  font-weight: 300;
  color: var(--ink);
  background: #FCFBF8;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  overscroll-behavior: none;
  min-height: 100%;
  /* Safe area for notch/landscape */
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── REVEAL ─────────────────────────── */
.r { opacity: 0; transform: translateY(22px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.r.in { opacity: 1; transform: none; }
.r-d1 { transition-delay: .08s; }
.r-d2 { transition-delay: .18s; }
.r-d3 { transition-delay: .28s; }
.r-d4 { transition-delay: .38s; }
.r-d5 { transition-delay: .48s; }

/* ── NAV ────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(24px, 4.5vw, 68px);
  padding-left: max(clamp(24px, 4.5vw, 68px), env(safe-area-inset-left));
  padding-right: max(clamp(24px, 4.5vw, 68px), env(safe-area-inset-right));
  background: rgba(250,250,248,0.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: none;
  transition: box-shadow .35s;
}
nav::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, #4c91d6 0%, #effe8b 25%, #4c91d6 50%, #effe8b 75%, #4c91d6 100%);
  background-size: 200% 100%;
  animation: navline-ping 12s linear infinite;
}
@keyframes navline-ping {
  0%   { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}
@media (prefers-reduced-motion: reduce) {
  nav::after { animation: none; background: linear-gradient(90deg, #4c91d6 0%, #effe8b 100%); }
}
nav.scrolled {
  box-shadow: 0 4px 16px rgba(26,28,32,0.06);
}
.nav-logo img { height: 26px; }
.nav-links { display: flex; gap: clamp(20px, 2.5vw, 40px); list-style: none; align-items: center; }
.nav-links a {
  font-size: 14px; font-weight: 400; letter-spacing: 0.04em;
  color: rgba(26,28,32,0.75); transition: color .2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-lang { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; letter-spacing: 0.04em; }
.nav-lang a { color: rgba(26,28,32,0.55); font-weight: 400; transition: color .2s; }
.nav-lang a:hover { color: var(--ink); }
.nav-lang .sep { color: rgba(26,28,32,0.28); }
.nav-lang .current { color: var(--ink); font-weight: 700; }
.nav-fwd { display: inline-flex; align-items: center; gap: 6px; font-weight: 600 !important; color: var(--ink) !important; }
.nav-fwd .lbl-u { background: linear-gradient(transparent 58%, #effe8b 58%, #effe8b 92%, transparent 92%); padding: 0 0.06em 1px; }
.nav-fwd .arr { display: inline-block; transition: transform .25s var(--ease,cubic-bezier(0.16,1,0.3,1)); }
.nav-fwd:hover { color: #000 !important; }
.nav-fwd:hover .arr { transform: translateX(4px); }
.nav-cta {
  padding: 10px 24px;
  background: var(--teal); color: #ffffff !important;
  font-weight: 700; font-size: 14px; letter-spacing: 0.01em;
  border-radius: 6px; transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 4px 12px rgba(76,145,214,0.26);
}
.nav-cta:hover { background: #3a76b3; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(76,145,214,0.36); }
/* ── BURGER NAV ── */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  cursor: pointer;
  background: none; border: none;
  padding: 4px;
  z-index: 400;
}
.burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink);
  transition: transform .3s, opacity .3s;
  transform-origin: center;
}
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: rgba(250,250,248,0.98);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line-d);
  z-index: 299;
  padding: 16px 20px 24px;
  flex-direction: column;
  gap: 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block;
  padding: 14px 0;
  font-size: 16px; font-weight: 300;
  color: rgba(26,28,32,0.7);
  border-bottom: 1px solid var(--line-d);
  letter-spacing: 0.02em;
  transition: color .2s;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--ink); }
.mobile-menu .mob-cta {
  margin-top: 16px;
  display: block;
  padding: 14px 24px;
  background: var(--teal); color: #07090E !important;
  font-weight: 700; font-size: 14px;
  border-radius: 0; text-align: center;
  border-bottom: none !important;
}

/* Header CTA that stays visible on mobile (outside the burger menu) */
.nav-mob-cta {
  display: none;
  align-items: center;
  height: 38px;
  padding: 0 20px 0 6px;
  background: linear-gradient(100deg, rgba(255,255,255,0.95), rgba(244,242,238,0.72));
  border: 1px solid rgba(26,28,32,0.16);
  border-radius: 999px;
  color: #1A1C20 !important;
  font-weight: 700; font-size: 14px; letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow: 0 4px 18px rgba(76,145,214,0.10);
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.nav-mob-cta .ic { display: flex; align-items: center; justify-content: center; width: 32px; font-size: 16px; font-weight: 300; }
.nav-mob-cta:hover { border-color: rgba(76,145,214,0.55); box-shadow: 0 8px 36px rgba(76,145,214,0.22); transform: translateY(-1px); }

@media (max-width: 760px) {
  .burger { display: flex; }
  .nav-links { display: none; }
  .nav-mob-cta { display: inline-flex; align-items: center; margin-left: auto; margin-right: 14px; }
  nav { padding: 0 20px; }
  .nav-logo img { height: 22px; }
}

/* ── HERO ───────────────────────────── */
#hero {
  min-height: 100vh;
  max-height: none;
  background: #FCFBF8;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr auto;
  grid-template-areas:
    'content image'
    'stats   stats';
  padding: 0;
  padding-top: 64px; /* nav height */
  position: relative;
  overflow: hidden;
  contain: layout;
}
.hero-bg-grid { display: none; }
.hero-glow {
  position: absolute; top: -10%; right: -8%;
  width: 65vw; height: 75vh;
  background: radial-gradient(ellipse, rgba(76,145,214,0.07) 0%, transparent 68%);
  pointer-events: none;
}
.hero-content {
  grid-area: content;
  align-self: start;
  padding: clamp(96px, 14vw, 260px) clamp(24px, 4.5vw, 68px) clamp(24px, 3vw, 40px);
  max-width: 100%;
  position: relative; z-index: 2;
}
.hero-image-col {
  grid-area: image;
  position: relative;
  overflow: hidden;
  min-height: 500px;
  background: #FCFBF8;
}
.hero-image-col img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 32% top;
  display: block;
}
.hero-image-col::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, #FCFBF8 0%, rgba(252,251,248,0.6) 8%, rgba(252,251,248,0) 22%);
}
.hero-image-col::after {
  content: '';
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
  opacity: 0.22;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 150px 150px;
}
.hero-stats-row {
  grid-area: stats;
  display: flex;
  gap: clamp(24px, 4vw, 56px);
  flex-wrap: nowrap;
  padding: clamp(20px, 2.5vw, 32px) clamp(24px, 4.5vw, 68px);
  border-top: none;
  background: #FAFAF8;
  position: relative; z-index: 2;
  align-items: flex-start;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px;
  border: 1px solid rgba(77,184,154,0.3);
  border-radius: 40px;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--teal);
  margin-bottom: clamp(24px, 3vw, 40px);
}
.hero-tag-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal);
  animation: blink 2.5s ease infinite;
}
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:.3; } }
.hero-title {
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 700; line-height: 1.06;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 0;
}
.hero-title em {
  font-style: italic; font-weight: 300;
  color: var(--teal);
}
.hero-sub {
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 300; line-height: 1.65;
  color: rgba(26,28,32,0.55);
  max-width: 500px;
  margin-bottom: clamp(24px, 3vw, 36px);
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: clamp(40px, 5.5vw, 72px); }
/* Brand Duo · blue primary (white text) + yellow secondary */
.btn-teal {
  padding: 18px 40px;
  background: var(--teal); color: #ffffff;
  font-family: 'PPFraktionSans', sans-serif;
  font-size: 16px; font-weight: 700; letter-spacing: 0.01em;
  border: none; border-radius: 6px; cursor: pointer;
  box-shadow: 0 6px 18px rgba(76,145,214,0.28);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn-teal:hover { background: #3a76b3; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(76,145,214,0.40); }
.btn-outline {
  padding: 18px 40px;
  background: #effe8b; color: #1A1C20;
  font-family: 'PPFraktionSans', sans-serif;
  font-size: 16px; font-weight: 700; letter-spacing: 0.01em;
  border: none; border-radius: 6px; cursor: pointer;
  box-shadow: 0 6px 18px rgba(207,227,90,0.32);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn-outline:hover { background: #cfe35a; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(207,227,90,0.42); }

/* ===== PILL DIVIDER BUTTON (A) — light + dark ===== */
.pill{position:relative;display:inline-flex;align-items:center;gap:0;height:60px;border-radius:999px;overflow:hidden;cursor:pointer;
  background:linear-gradient(100deg, rgba(255,255,255,0.95), rgba(244,242,238,0.72));border:1px solid rgba(26,28,32,0.16);
  box-shadow:0 4px 18px rgba(76,145,214,0.10);font-family:'PPFraktionSans',sans-serif;transition:border-color .25s var(--ease,cubic-bezier(0.16,1,0.3,1)), box-shadow .25s, transform .25s;}
.pill:hover{border-color:rgba(76,145,214,0.55);box-shadow:0 8px 36px rgba(76,145,214,0.22);transform:translateY(-1px);}
.pill .ic{display:flex;align-items:center;justify-content:center;width:60px;height:100%;font-size:20px;color:#1A1C20;font-weight:300;}
.pill .lbl{font-size:16px;font-weight:700;letter-spacing:0.01em;color:#1A1C20;padding-right:6px;white-space:nowrap;}
.pill .div{width:1px;height:26px;background:rgba(26,28,32,0.16);margin:0 18px;}
.pill .ghost{font-size:16px;font-weight:300;letter-spacing:0.01em;color:#3D4148;padding-right:30px;white-space:nowrap;}
.ghost-cycle{display:inline-block;min-width:84px;text-align:left;box-sizing:content-box;height:1.25em;line-height:1.25em;overflow:hidden;vertical-align:bottom;}
.ghost-cycle .gc-track{display:flex;flex-direction:column;transition:transform .5s var(--ease,cubic-bezier(0.16,1,0.3,1));}
.ghost-cycle .gc-track.gc-instant{transition:none;}
.ghost-cycle .gc-word{height:1.25em;line-height:1.25em;white-space:nowrap;}
.pill.simple .lbl{padding-right:28px;}
.pill.sm{height:38px;}
.pill.sm .ic{width:36px;font-size:16px;}
.pill.sm .lbl{font-size:14px;line-height:1;}
.pill.sm.simple .lbl{padding-right:20px;}
.pill.sm.simple .ic{padding-left:4px;}
.pill-dark{background:linear-gradient(100deg, rgba(20,30,45,0.55), rgba(10,15,25,0.32));border-color:rgba(255,255,255,0.35);box-shadow:0 4px 18px rgba(7,9,14,0.18);}
.pill-dark .ic, .pill-dark .lbl{color:#FFFFFF;}
.pill-dark .ghost{color:rgba(255,255,255,0.72);}
.pill-dark .div{background:rgba(255,255,255,0.4);}
.pill-dark:hover{border-color:rgba(255,255,255,0.7);box-shadow:0 8px 36px rgba(239,254,139,0.28);}
@media(max-width:640px){.pill .ghost,.pill .div{display:none;}.pill .lbl{padding-right:24px;}}
/* Static button-style frame: thin outline + blue back-shade (no hover animation) */
.btn-frame{position:relative;background:#fff;border:1px solid rgba(26,28,32,0.16);box-shadow:0 4px 18px rgba(76,145,214,0.10);}
.btn-frame.framed-img{overflow:hidden;padding:0;}
.btn-frame.framed-img img{display:block;width:100%;height:100%;object-fit:cover;}

/* hero bottom stats */
.hero-stats {
  display: flex; gap: clamp(32px, 5vw, 72px);
  padding-top: clamp(40px, 5vw, 64px);
  border-top: none;
  flex-wrap: wrap;
}
.hero-stat-item { }
.hero-stat-item.wide .hero-stat-label { max-width: 190px; }
.hero-stat-icons { display: flex; align-items: center; gap: 10px; height: 40px; }
.hero-stat-num {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700; letter-spacing: -0.04em; line-height: 1;
  color: var(--teal);
}
.hero-stat-label {
  font-size: 14px; font-weight: 300; letter-spacing: 0.01em;
  color: rgba(26,28,32,0.65);
  margin-top: 6px; max-width: 150px; line-height: 1.45;
}

/* ── BADGE STRIP ────────────────────── */
#badges {
  background: var(--dark-2);
  border-top: 1px solid var(--line-d);
  border-bottom: 1px solid var(--line-d);
  padding: clamp(20px, 2.5vw, 32px) clamp(24px, 4.5vw, 68px);
  display: flex; align-items: center;
  gap: clamp(16px, 3vw, 48px);
  flex-wrap: wrap;
}
.badge-label {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(26,28,32,0.5);
  white-space: nowrap; flex-shrink: 0;
}
.badge-sep { width: 1px; height: 28px; background: var(--line-d); flex-shrink: 0; }
.badge-items { display: flex; gap: clamp(16px, 3vw, 44px); align-items: center; flex-wrap: wrap; }
.badge-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  color: rgba(26,28,32,0.35);
  text-transform: uppercase;
  transition: color .2s;
}
.badge-item:hover { color: rgba(26,28,32,0.65); }
.badge-ch {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px;
  background: #D52B1E; border-radius: 2px;
  font-size: 9px; color: white; font-weight: 700;
  flex-shrink: 0;
}
.badge-tick {
  width: 16px; height: 16px;
  background: rgba(77,184,154,0.2);
  border: 1px solid rgba(77,184,154,0.4);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 9px; color: var(--teal);
  flex-shrink: 0;
}

/* ── MARQUEE TESTIMONIALS ───────────── */
#marquee {
  background: var(--dark-3);
  padding: clamp(40px, 5vw, 64px) 0;
  overflow: hidden;
}
.marquee-label {
  text-align: center;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(26,28,32,0.5);
  margin-bottom: clamp(28px, 3.5vw, 44px);
}
.marquee-track-wrap { overflow-x: auto; overflow-y: hidden; width: 100%; scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; cursor: grab; }
.marquee-track-wrap::-webkit-scrollbar { display: none; }
.marquee-track-wrap.dragging { cursor: grabbing; }
.marquee-track {
  display: flex;
  animation: marqueeScroll 40s linear infinite;
  width: max-content;
}
/* Pause auto-scroll on hover, or once the user takes manual control */
.marquee-track:hover { animation-play-state: paused; }
.marquee-track-wrap.manual .marquee-track { animation: none; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
/* Manual scroll arrows */
.mq-controls { display: flex; justify-content: center; gap: 12px; margin-top: clamp(24px,3vw,36px); }
.mq-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(26,28,32,0.15); background: #fff; color: #4c91d6; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: border-color .2s, transform .2s, box-shadow .2s; font-size: 18px; line-height: 1; }
.mq-arrow:hover { border-color: rgba(76,145,214,0.5); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(76,145,214,0.18); }
.mq-arrow svg { width: 18px; height: 18px; }
.mq-arrow svg path { stroke: #4c91d6; stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.mq-card {
  position: relative;
  width: 360px; flex-shrink: 0;
  background: #fff;
  border: 1px solid rgba(26,28,32,0.09);
  border-radius: 10px;
  padding: 30px 32px 26px;
  margin-right: 20px;
  box-shadow: 0 4px 20px rgba(26,28,32,0.05);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.mq-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #4c91d6 0%, #effe8b 100%);
  opacity: 0.35;
}
.mq-card.highlight { border-color: rgba(76,145,214,0.22); background: #fff; box-shadow: 0 6px 26px rgba(76,145,214,0.12); }
.mq-card.highlight::before { opacity: 1; height: 4px; }
.mq-quote {
  font-family: Georgia, serif; font-size: 44px; line-height: 0.5;
  color: #4c91d6; opacity: 0.22; height: 20px; display: block; margin-bottom: 8px;
}
.mq-text {
  font-size: 15px; font-weight: 300; line-height: 1.7;
  color: rgba(26,28,32,0.72);
  font-style: normal;
  margin-bottom: 22px;
  flex: 1 1 auto;
}
.mq-text strong { color: #4c91d6; font-style: normal; font-weight: 700; }
.mq-author { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid rgba(26,28,32,0.07); }
.mq-init {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: #4c91d6;
  flex-shrink: 0;
  background:
    linear-gradient(#fff,#fff) padding-box,
    linear-gradient(135deg, #4c91d6 0%, #effe8b 100%) border-box;
  border: 2px solid transparent;
}
.mq-name { font-size: 14px; font-weight: 700; color: #1A1C20; line-height: 1.3; }
.mq-role { font-size: 12.5px; font-weight: 300; color: rgba(26,28,32,0.55); letter-spacing: 0.02em; line-height: 1.35; margin-top: 2px; }

/* ── SECTION BASE ───────────────────── */
.pad { padding: clamp(72px, 9vw, 128px) clamp(24px, 4.5vw, 68px); }
.pad-sm { padding: clamp(52px, 6vw, 88px) clamp(24px, 4.5vw, 68px); }
.bg-dark { background: #07090E; }
.bg-dark-2 { background: #0C0F17; }
.bg-white { background: #FCFBF8; }
.bg-off { background: #F4F2EE; }
.rule-d { width: 100%; height: 1px; background: var(--line-d); margin: clamp(36px, 4.5vw, 60px) 0; }
.rule-l { width: 100%; height: 1px; background: var(--line-l); margin: clamp(36px, 4.5vw, 60px) 0; }

.eyebrow {
  display: block; font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: clamp(14px, 1.8vw, 24px);
}
.eyebrow-muted { color: var(--ink-2); }
.h2-dark {
  font-size: clamp(32px, 4.5vw, 64px); font-weight: 700;
  line-height: 0.93; letter-spacing: -0.03em; color: var(--white);
}
.h2-light {
  font-size: clamp(32px, 4.5vw, 64px); font-weight: 700;
  line-height: 0.93; letter-spacing: -0.03em; color: var(--ink);
}
.h2-dark em, .h2-light em { font-style: italic; font-weight: 300; color: var(--teal); }
.body-dark {
  font-size: clamp(16px, 1.5vw, 19px); font-weight: 300;
  line-height: 1.8; color: rgba(26,28,32,0.52); max-width: 560px;
  margin-top: clamp(16px, 2vw, 28px);
}
.body-light {
  font-size: clamp(16px, 1.5vw, 19px); font-weight: 300;
  line-height: 1.8; color: var(--ink-2); max-width: 560px;
  margin-top: clamp(16px, 2vw, 28px);
}

/* ── TWO COL ────────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 88px); align-items: start; margin-top: clamp(44px, 5.5vw, 72px); }
.three-col { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: clamp(16px, 2.5vw, 36px); margin-top: clamp(44px, 5.5vw, 72px); }
@media (max-width: 760px) {
  .two-col, .three-col { grid-template-columns: 1fr; gap: clamp(20px, 3vw, 32px); }
}

/* ── PROBLEM ────────────────────────── */
.prob-item {
  border-top: 1px solid var(--line-d);
  padding: clamp(28px, 3.5vw, 48px) 0;
  display: grid; grid-template-columns: clamp(80px, 12vw, 140px) 1fr;
  gap: clamp(24px, 3vw, 48px); align-items: baseline;
}
.prob-item:last-child { border-bottom: 1px solid var(--line-d); }
.prob-num {
  font-size: clamp(36px, 5vw, 64px); font-weight: 700;
  letter-spacing: -0.04em; line-height: 0.9; color: var(--teal);
}
.prob-num sub { font-size: 0.45em; color: rgba(26,28,32,0.35); font-weight: 300; }
.prob-title { font-size: clamp(17px, 1.8vw, 22px); font-weight: 700; letter-spacing: -0.02em; color: var(--white); margin-bottom: 10px; }
.prob-body { font-size: 16px; font-weight: 300; line-height: 1.75; color: rgba(26,28,32,0.5); }

/* ── DEMO BLOCK ─────────────────────── */
#demo { background: var(--dark); padding: clamp(72px, 9vw, 128px) clamp(24px, 4.5vw, 68px); }
.demo-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
/* Live visualization on the LEFT, text column on the RIGHT (desktop) */
@media (min-width: 761px) { .demo-inner > div:first-child { order: 2; } .demo-inner > .demo-voice { order: 1; } }
@media (max-width: 760px) { .demo-inner { grid-template-columns: 1fr; gap: clamp(32px, 5vw, 56px); } }
/* ── DEMO · Light Premium (v02) ───────────────────── */
.demo-voice {
  background: #ffffff;
  border: 1px solid rgba(26,28,32,0.16);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(76,145,214,0.10);
}
.demo-header {
  padding: 12px 20px;
  background: #ffffff;
  border-bottom: 1px solid rgba(26,28,32,0.10);
  display: flex; align-items: center; gap: 10px;
}
.demo-dot { width: 7px; height: 7px; border-radius: 50%; background: #4c91d6; box-shadow: 0 0 8px rgba(76,145,214,0.55); animation: blink 1.8s ease infinite; }
.demo-header-label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #2f6fb0; font-weight: 700; }
.demo-in {
  padding: 18px 20px 4px;
  min-height: 0;
}
.demo-section-label { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #2f6fb0; font-weight: 600; margin-bottom: 12px; }
.demo-speech {
  font-size: 14px; font-weight: 300;
  line-height: 1.7; color: #2a2f3a;
  height: 104px; overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(26,28,32,0.12);
  border-radius: 2px;
  padding: 16px 18px;
  box-shadow: 0 4px 14px rgba(76,145,214,0.14);
}
.demo-arrow {
  padding: 18px 24px;
  text-align: center;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: #2f6fb0; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 14px;
}
.demo-arrow::before, .demo-arrow::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg,transparent,rgba(76,145,214,0.35),transparent); }
.demo-out { padding: 4px 20px 20px; min-height: 0; }
.demo-field { margin-bottom: 16px; }
.demo-field-label { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: #2f6fb0; font-weight: 600; margin-bottom: 6px; }
.demo-field-value {
  font-size: 14px; font-weight: 300; line-height: 1.7; color: #3a4150;
  background: #ffffff;
  border: 1px solid rgba(26,28,32,0.12);
  border-radius: 2px;
  padding: 16px 18px;
  box-shadow: 0 4px 14px rgba(76,145,214,0.14);
}
/* slight attention shadow on AdamForms field cells (like button hover, softened) */
#demo-scribe-fields > div { box-shadow: 0 4px 14px rgba(76,145,214,0.14); }
.demo-field-value strong { color: #0a0c12; font-weight: 700; }

/* ── Product stages · clear AdamText / AdamForms separation ── */
.demo-stage { position: relative; margin: 0 20px 14px; border-radius: 0; border: none; background: transparent; overflow: visible; }
.demo-stage-text { background: transparent; }
.demo-stage-forms { background: transparent; border-color: transparent; }
/* header row: product name left, descriptor right */
.demo-stage-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 4px 0 10px; border-bottom: none;
}
.demo-stage-name {
  font-size: 15px; font-weight: 800; letter-spacing: -0.01em; color: #2f6fb0;
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
}
.demo-stage-name::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #4c91d6; flex: none; }
.demo-stage-desc {
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(26,28,32,0.5); font-weight: 600; text-align: right; line-height: 1.3;
}
.demo-stage-forms .demo-stage-name { color: #0a0c12; }
.demo-stage-forms .demo-stage-name::before { background: #cfe35a; }
.demo-stage-body { padding: 0 0 6px; }
/* lock the live window to a stable height so the page never jumps while typing */
/* offset window header down to align with the H2 "Von der Stimme" (clears the eyebrow above it) */
.demo-voice { margin-top: 46px; }
.demo-in { min-height: 130px; }
/* near the 2-col breakpoint the columns get narrow — give the speech/note room so text never clips */
@media (max-width: 1080px) and (min-width: 761px){ .demo-speech { height: 150px; } #demo-nurse-note { min-height: 150px; } .demo-in { min-height: 176px; } }
.demo-stage-text .demo-stage-body { min-height: 132px; }
.demo-stage-forms .demo-stage-body { min-height: 150px; }
@media (max-width: 760px){
  .demo-voice { margin-top: 0; }
  /* size the live boxes for wrapped Schweizerdeutsch text so it never clips or jumps while typing */
  .demo-speech { height: 162px; }
  #demo-nurse-note { min-height: 158px; }
  .demo-in { min-height: 0; }
  .demo-stage-text .demo-stage-body { min-height: 178px; }
  .demo-stage-forms .demo-stage-body { min-height: 132px; }
}
/* ── Produkte · mobile LANDSCAPE (short height, wide-ish phone) ── */
@media (max-width: 950px) and (orientation: landscape) and (max-height: 560px){
  /* two columns side by side so the text field is not squeezed */
  .demo-inner { grid-template-columns: 1fr 1fr; gap: clamp(20px,3vw,36px); align-items: start; }
  .demo-voice { margin-top: 0; }
  /* AdamText / AdamForms label + body: keep readable, avoid tiny 100px label col */
  #demo .demo-inner > div:first-child [style*="grid-template-columns:100px 1fr"]{
    grid-template-columns: 88px 1fr !important;
  }
  .demo-speech { height: auto; min-height: 88px; }
  #demo-nurse-note { min-height: 88px; }
  .demo-stage-text .demo-stage-body { min-height: 96px; }
  .demo-stage-forms .demo-stage-body { min-height: 96px; }
}

/* ── MOAT ───────────────────────────── */
#moat { background: var(--teal); padding: clamp(72px, 9vw, 128px) clamp(24px, 4.5vw, 68px); position: relative; overflow: hidden; }
.moat-bg {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 80vw; height: 80vh;
  background: radial-gradient(ellipse, rgba(255,255,255,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.moat-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
@media (max-width: 760px) { .moat-inner { grid-template-columns: 1fr; gap: clamp(32px, 5vw, 48px); } }
.moat-title {
  font-size: clamp(36px, 5.5vw, 80px); font-weight: 700;
  line-height: 0.92; letter-spacing: -0.035em; color: #07090E;
  margin-bottom: clamp(20px, 2.5vw, 32px);
}
.moat-title em { font-style: italic; font-weight: 300; }
.moat-body {
  font-size: clamp(16px, 1.5vw, 19px); font-weight: 400;
  line-height: 1.75; color: rgba(7,9,14,0.88); max-width: 440px;
}
.moat-facts { display: flex; flex-direction: column; gap: 0; }
.moat-fact {
  border-top: 1px solid rgba(7,9,14,0.22);
  padding: clamp(20px, 2.5vw, 32px) 0;
  display: block;
}
.moat-icon { display: flex; align-items: flex-start; justify-content: center; width: 36px; height: 36px; flex-shrink: 0; margin-top: 0; }
.moat-icon svg { display: block; }
.moat-icon svg [stroke="rgba(255,255,255,0.65)"] { stroke: rgba(7,9,14,0.55); }
.moat-icon svg [stroke="rgba(255,255,255,0.9)"] { stroke: rgba(7,9,14,0.85); }
.moat-icon svg [fill="#FFFFFF"] { fill: #07090E; }
.moat-icon svg text { fill: #07090E; }
.moat-fact:last-child { border-bottom: 1px solid rgba(7,9,14,0.22); }
.moat-fact-num { font-size: clamp(28px, 3.5vw, 48px); font-weight: 700; letter-spacing: -0.04em; line-height: 0.9; color: #07090E; }
.moat-fact-text { font-size: 16px; font-weight: 300; line-height: 1.6; color: rgba(7,9,14,0.78); }
.moat-fact-text strong { color: #07090E; font-weight: 700; }

/* ── HOW IT WORKS ───────────────────── */
.step-list { margin-top: clamp(44px, 5.5vw, 72px); display: flex; flex-direction: column; gap: 0; }
.step-item {
  display: grid; grid-template-columns: 60px 1fr;
  gap: clamp(20px, 3vw, 40px); align-items: start;
  padding: clamp(24px, 3vw, 40px) 0;
  border-top: 1px solid var(--line-l);
}
.step-item:last-child { border-bottom: 1px solid var(--line-l); }
.step-num { font-size: clamp(28px, 3vw, 44px); font-weight: 700; letter-spacing: -0.04em; color: var(--teal); line-height: 0.9; opacity: 0.7; }
.step-title { font-size: clamp(17px, 1.8vw, 22px); font-weight: 700; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 10px; }
.step-body { font-size: 16px; font-weight: 300; line-height: 1.75; color: var(--ink-2); }

/* ── PRODUCTS ───────────────────────── */
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); margin-top: clamp(44px, 5.5vw, 72px); }
@media (max-width: 640px) { .product-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .product-grid { grid-template-columns: 1fr; } }
.product-card {
  border-radius: 4px; padding: clamp(28px, 3.5vw, 48px);
  border: 1px solid var(--line-d);
}
.product-card.a { background: var(--dark-2); }
.product-card.b { background: var(--dark); border-color: rgba(77,184,154,0.2); }
.p-badge {
  display: inline-block; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 2px; margin-bottom: 20px;
}
.p-badge.note { background: rgba(26,28,32,0.05); border: 1px solid rgba(26,28,32,0.12); color: rgba(26,28,32,0.5); }
.p-badge.scribe { background: rgba(77,184,154,0.1); border: 1px solid rgba(77,184,154,0.3); color: var(--teal); }
.p-name { font-size: clamp(22px, 2.8vw, 36px); font-weight: 700; letter-spacing: -0.03em; color: var(--white); margin-bottom: 12px; }
.p-name .acc { color: var(--teal); }
.p-desc { font-size: 16px; font-weight: 300; line-height: 1.75; color: rgba(26,28,32,0.55); margin-bottom: 28px; }
.p-bullets { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.p-bullets li { display: flex; gap: 12px; font-size: 15px; font-weight: 300; line-height: 1.6; color: rgba(26,28,32,0.5); }
.p-bullets li::before { content: '→'; color: var(--teal); flex-shrink: 0; }
.p-bullets li strong { color: var(--white); font-weight: 700; }
.p-integrations { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-d); display: flex; gap: 8px; flex-wrap: wrap; }
.p-int-tag { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 10px; border: 1px solid rgba(250,250,248,0.1); color: rgba(26,28,32,0.35); border-radius: 2px; }

/* ── TRUST GRID ─────────────────────── */
.trust-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: clamp(1px,0.1vw,2px); margin-top: clamp(44px,5.5vw,72px); }
@media (max-width: 640px) { .trust-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-item { background: #FFFFFF; border: 1px solid rgba(26,28,32,0.1); box-shadow: 0 1px 4px rgba(0,0,0,0.04); padding: clamp(24px, 3vw, 40px); }
.trust-item.accent { border-top: 3px solid var(--teal); }
.trust-icon { font-size: 26px; margin-bottom: 16px; }
.trust-title { font-size: clamp(16px, 1.6vw, 20px); font-weight: 700; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 10px; }
.trust-body { font-size: 15px; font-weight: 300; line-height: 1.75; color: var(--ink-2); }
.trust-body strong { color: var(--ink); font-weight: 700; }

/* ── INTEGRATION ROW ────────────────── */
.int-row { margin-top: clamp(44px,5.5vw,72px); display: flex; flex-direction: column; gap: 0; }
.int-item { display: flex; align-items: center; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line-l); }
.int-item:last-child { border-bottom: 1px solid var(--line-l); }
.int-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }
.int-name { font-size: 16px; font-weight: 700; color: var(--ink); flex: 1; }
.int-note { font-size: 14px; font-weight: 300; color: var(--ink-3); letter-spacing: 0.03em; }

/* ── TEAM ───────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px,2.5vw,36px); margin-top: clamp(44px,5.5vw,72px); }
@media (max-width: 640px) { .team-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .team-grid { grid-template-columns: 1fr; } }
.team-card { border: 0; border-radius: 0; background: transparent; box-shadow: none; padding: 0; }
.team-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: 3px; display: block; margin-bottom: 22px; background: #F4F2EE; border: 1px solid rgba(26,28,32,0.12); box-shadow: 0 4px 14px rgba(76,145,214,0.14); }
.team-init { width: 52px; height: 52px; border-radius: 50%; background: var(--teal); display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 20px; }
.team-name { font-size: clamp(18px,1.9vw,23px); font-weight: 700; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 5px; }
.team-role { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin-bottom: 16px; }
.team-body { font-size: 16px; font-weight: 300; line-height: 1.8; color: var(--ink-2); }
.team-founder-note { position: relative; margin-top: clamp(44px,5.5vw,72px); max-width: 880px; padding: clamp(6px,1vw,12px) 0 0 clamp(28px,3.5vw,44px); border-left: 2px solid var(--teal); }
.team-founder-note::before { content: '\201C'; position: absolute; left: clamp(16px,2vw,28px); top: -0.28em; font-size: clamp(48px,6vw,82px); line-height: 1; font-weight: 700; color: rgba(76,145,214,0.22); pointer-events: none; }
.team-founder-text { font-size: clamp(19px,2vw,26px); font-weight: 300; font-style: normal; line-height: 1.5; letter-spacing: -0.01em; color: var(--ink); }
.team-founder-text strong { font-weight: 600; color: var(--ink); }
.team-founder-cite { display: block; margin-top: clamp(18px,2vw,26px); font-size: 14px; font-weight: 500; font-style: normal; letter-spacing: 0.02em; color: var(--ink-2); }
.team-founder-cite span { color: var(--ink-3, rgba(26,28,32,0.5)); font-weight: 300; }

/* ── CTA ────────────────────────────── */
#cta { position: relative; overflow: hidden; background: linear-gradient(118deg, #2f6fb0 0%, #4c91d6 52%, #6aa9e2 100%); padding: clamp(72px,9vw,128px) clamp(24px,4.5vw,68px); }
.cta-glow { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(120% 140% at 88% 12%, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0.06) 28%, rgba(255,255,255,0) 55%), radial-gradient(90% 120% at 6% 100%, rgba(20,40,72,0.42) 0%, rgba(20,40,72,0) 55%); }
.cta-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; gap: clamp(36px,5vw,72px); align-items: center; }
.cta-title { font-size: clamp(32px,4.5vw,64px); font-weight: 700; line-height: 0.93; letter-spacing: -0.03em; color: #FFFFFF; }
.cta-title em { font-style: italic; font-weight: 300; color: #FFFFFF; opacity: 0.92; }
.cta-sub { font-size: clamp(16px,1.5vw,19px); font-weight: 300; line-height: 1.75; color: rgba(255,255,255,0.92); margin-top: 20px; max-width: 520px; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; flex-shrink: 0; }
.btn-white {
  padding: 18px 40px;
  background: #FFFFFF; color: #1A1C20;
  font-family: 'PPFraktionSans', sans-serif;
  font-size: 16px; font-weight: 700; letter-spacing: 0.01em;
  border: none; border-radius: 6px; cursor: pointer;
  white-space: nowrap; box-shadow: 0 6px 18px rgba(7,9,14,0.16);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn-white:hover { background: #f2f4f8; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(7,9,14,0.22); }
.cta-note { font-size: 16px; font-weight: 300; color: rgba(255,255,255,0.85); margin-top: 4px; }
.cta-note a { color: #FFFFFF; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .cta-inner { grid-template-columns: 1fr; } }

/* ── COMPREHENSIVE MOBILE STYLES ── */
@media (max-width: 760px) {

  /* Hero — stack vertically on mobile */
  #hero {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    grid-template-areas:
      'content'
      'stats';
    padding-top: 64px;
    min-height: 70vh;
    max-height: none;
  }
  .hero-content {
    padding: clamp(72px,16vw,120px) clamp(24px,4.5vw,68px) clamp(48px,8vw,80px);
  }
  .hero-image-col {
    position: absolute; inset: 0; width: 100%;
    min-height: 0; max-height: none;
    opacity: 0.35; z-index: 0;
  }
  .hero-image-col::before {
    background: linear-gradient(180deg, #FCFBF8 0%, rgba(252,251,248,0.5) 45%, rgba(252,251,248,0.15) 100%);
  }
  .hero-glow { display: none; }
  .hero-sub {
    font-size: 16px;
    max-width: 100%;
  }
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .btn-teal, .btn-outline {
    width: 100%;
    text-align: center;
    padding: 16px 24px;
  }
  /* Hero stats — 2 columns on mobile */
  .hero-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 28px 20px;
  }
  .hero-stat-num { font-size: clamp(28px, 8vw, 44px); }
  .hero-stat-label { font-size: 13px; }

  /* Badge logos in marquee */
  #marquee > div:first-child { padding: 0 20px; }

  /* Sections padding */
  .pad { padding: clamp(48px, 9vw, 72px) 20px; }
  .pad-sm { padding: clamp(36px, 6vw, 56px) 20px; }

  /* Problem items — tighter number column */
  .prob-item {
    grid-template-columns: 60px 1fr;
    gap: 16px;
  }
  .prob-num { font-size: clamp(28px, 8vw, 44px); }

  /* Steps — tighter num column */
  .step-item {
    grid-template-columns: 44px 1fr;
    gap: 16px;
  }
  .step-num { font-size: clamp(24px, 7vw, 36px); }

  /* Moat title */
  .moat-title { font-size: clamp(32px, 9vw, 56px); }

  /* Moat facts */
  .moat-fact-num { font-size: clamp(24px, 7vw, 36px); }

  /* CTA */
  .cta-title { font-size: clamp(32px, 9vw, 56px); }
  .cta-actions { width: 100%; }
  .btn-white { width: 100%; text-align: center; }

  /* Footer */
  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 28px 20px;
  }
  .footer-links { gap: 16px; }

  /* Demo AdamForms fields — single column on mobile */
  #demo-scribe-fields {
    grid-template-columns: 1fr !important;
  }

  /* Modal */
  #modal { padding: 16px; align-items: center; }
  #modal .modal-box { border-radius: 48px; max-height: 90vh; overflow-y: auto; padding-top: 56px; }
  /* Ensure the close (X) is clearly visible and tappable on mobile */
  #modal .modal-close {
    top: 22px; right: 26px;
    width: 40px; height: 40px; font-size: 26px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.55); border: none; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); border-radius: 50%;
    color: var(--ink) !important;
  }

  /* Marquee — ensure overflow hidden and cards smaller */
  #marquee { overflow: hidden !important; }
  .marquee-track-wrap { overflow: hidden !important; max-width: 100vw; }
  .marquee-track { padding-left: 20px; }
  .mq-card { width: 260px; padding: 20px 20px; margin-right: 14px; flex-shrink: 0; }
  .mq-text { font-size: 13px; }

  /* Stats grid alignment */
  .hero-stats {
    grid-template-columns: 1fr 1fr;
    row-gap: 28px;
    column-gap: 20px;
  }

  /* Section paddings on inline-styled sections */
  #badges { padding: 16px 20px !important; }
  #marquee { padding: clamp(32px,5vw,48px) 0 !important; }

  /* Quality section — stack portrait below text */
  .quality-hero-grid {
    grid-template-columns: 1fr !important;
  }
  .quality-hero-grid > div:last-child {
    aspect-ratio: 16/9 !important;
    clip-path: none !important;
  }

  /* Flow canvas — reduce top margin */
  #flow { margin-top: 48px !important; }

  /* Quality stats 2-col grid — stack on mobile */
  .quality-stats-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ── FOOTER ─────────────────────────── */
footer {
  background: #F4F2EE; border-top: 1px solid rgba(26,28,32,0.09);
  padding: clamp(28px,3.5vw,48px) clamp(24px,4.5vw,68px);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer-logo img { height: 20px; opacity: 0.6; }
.footer-links { display: flex; gap: 28px; list-style: none; flex-wrap: wrap; }
.footer-links a { font-size: 12px; font-weight: 300; color: rgba(26,28,32,0.35); letter-spacing: 0.04em; transition: color .2s; }
.footer-links a:hover { color: rgba(26,28,32,0.7); }
.footer-copy { font-size: 12px; font-weight: 300; color: rgba(26,28,32,0.22); }

/* ── MODAL ──────────────────────────── */
/* === CONTACT MODAL — V2 Warm Editorial (capsule + sphere) === */
#modal { display: none; position: fixed; inset: 0; z-index: 500; background: rgba(234,231,224,0.50); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); align-items: center; justify-content: center; padding: 20px; }
#modal.open { display: flex; }
/* Sphere bloom OUTSIDE the capsule — blurred blue->yellow glow over the blurred page */
.modal-bloom { position: absolute; z-index: 0; width: min(640px,92vw); height: min(640px,92vw); border-radius: 50%; left: 50%; top: 48%; transform: translate(-50%,-50%); pointer-events: none;
  background: radial-gradient(circle at 50% 40%, rgba(76,145,214,0.45) 0%, rgba(239,254,139,0.40) 52%, rgba(239,254,139,0) 72%);
  filter: blur(64px); opacity: 0.85; animation: bloomPulse 7s ease-in-out infinite; }
@keyframes bloomPulse { 0%,100%{ transform: translate(-50%,-50%) scale(1); opacity:0.78; } 50%{ transform: translate(-50%,-50%) scale(1.05); opacity:0.92; } }
.modal-box { position: relative; z-index: 1; background: #F7F5F0; border-radius: clamp(140px,18vw,230px); padding: clamp(52px,5vw,68px) clamp(38px,4.4vw,56px); max-width: 460px; width: 100%;
  border: 1px solid rgba(26,28,32,0.08); box-shadow: 0 36px 84px rgba(26,28,32,0.20), 0 4px 18px rgba(7,9,14,0.05); }
.modal-close { position: absolute; top: 20px; right: 22px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.55); border: none; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); border-radius: 50%; font-size: 24px; cursor: pointer; color: var(--ink); line-height: 1; z-index: 2; transition: background .2s, color .2s; }
.modal-close:hover { color: var(--ink); background: rgba(255,255,255,0.85); }
.modal-title { font-size: clamp(22px,2.5vw,30px); font-weight: 700; letter-spacing: -0.025em; color: var(--ink); margin-bottom: 24px; text-align: center; }
.modal-sub { display: none; }
/* Underline-only fields — taller, more white space above & below */
.f-field { margin-bottom: 22px; }
.f-label { display: block; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 9px; }
.f-input, .f-textarea {
  width: 100%; font-family: 'PPFraktionSans', sans-serif;
  font-size: 15px; font-weight: 300; color: var(--ink);
  background: transparent; border: none; border-bottom: 1.5px solid rgba(26,28,32,0.18);
  border-radius: 0; padding: 14px 2px; outline: none;
  transition: border-color .25s;
}
.f-input::placeholder, .f-textarea::placeholder { color: rgba(26,28,32,0.32); }
.f-input:focus, .f-textarea:focus { border-bottom-color: var(--blue, #4c91d6); }
.f-textarea { height: 64px; resize: none; }
/* Send button — round, blue with a light gradient */
.f-submit {
  display: flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; margin: 28px auto 4px; padding: 0;
  border: none; border-radius: 50%; cursor: pointer; position: relative;
  background: linear-gradient(150deg, #7db4e6 0%, #4c91d6 55%, #3a76b3 100%);
  box-shadow: 0 8px 26px rgba(76,145,214,0.35);
  transition: transform .25s var(--ease,cubic-bezier(0.16,1,0.3,1)), box-shadow .25s;
}
.f-submit svg { width: 23px; height: 23px; }
.f-submit svg path { fill: #ffffff; }
.f-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(76,145,214,0.5); }
.f-success { display: none; text-align: center; padding: 16px 0; font-size: 15px; font-weight: 300; color: var(--ink-2); line-height: 1.7; }
.f-success .tick { font-size: 36px; margin-bottom: 10px; }

/* Clean symbol styles replacing emoji */
.moat-icon {
  font-family: 'PPFraktionSans', system-ui, sans-serif;
  font-weight: 700;
  color: var(--dark) !important;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0;
  margin-top: 0;
}
.moat-icon svg {
  display: block;
}
.trust-sym, .hub-sym {
  font-family: 'PPFraktionSans', system-ui, sans-serif;
  font-weight: 700;
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
}
.f-success .tick {
  font-size: 28px;
  color: var(--teal);
}

