@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("assets/fonts/manrope-latin-wght-normal.woff2") format("woff2");
}

:root {

  --navy:        #0F1B3D;
  --navy-800:    #13234d;
  --navy-700:    #1b2f63;
  --gold:        #F4B740;
  --gold-600:    #d99e20;
  --blue:        #3b82f6;
  --blue-600:    #2563eb;
  --blue-400:    #60a5fa;

  --white:       #ffffff;
  --slate-50:    #f8fafc;
  --slate-100:   #f1f5f9;
  --slate-200:   #e2e8f0;
  --slate-300:   #cbd5e1;
  --slate-400:   #94a3b8;
  --slate-500:   #64748b;
  --slate-600:   #475569;
  --slate-700:   #334155;
  --slate-800:   #1e293b;

  --font: "Manrope",-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  --shadow-sm:  0 1px 6px rgba(15, 27, 61, 0.06);
  --shadow-md:  0 8px 24px rgba(15, 27, 61, 0.08);
  --shadow-lg:  0 24px 60px rgba(15, 27, 61, 0.16);
  --shadow-glow: 0 10px 26px rgba(244, 183, 64, 0.28), 0 26px 60px rgba(244, 183, 64, 0.2);

  --shadow-card:       0 1px 3px rgba(15, 27, 61, 0.07), 0 10px 28px rgba(15, 27, 61, 0.11);
  --shadow-card-hover: 0 2px 6px rgba(15, 27, 61, 0.08), 0 22px 52px rgba(15, 27, 61, 0.17);


  --maxw: 1160px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font);
  color: var(--slate-700);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* clip, not hidden: hidden makes the body the scrollport and breaks
     position: sticky on the laptop stage. hidden stays as a fallback. */
  overflow-x: hidden;
  overflow-x: clip;
}

h1, h2, h3, h4 { color: var(--navy); line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }

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

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

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 110px 0; }
.section-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin: 0 0 18px; }
.accent { color: var(--gold-600); }
.section-head p { font-size: 1.12rem; color: var(--slate-500); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font); font-size: 1rem; font-weight: 650;
  padding: 14px 26px; border-radius: var(--r-pill); border: none;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--gold); color: var(--navy); box-shadow: 0 10px 26px rgba(244,183,64,.32); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(244,183,64,.42); }
.btn-ghost { background: rgba(255,255,255,.12); color: var(--white); box-shadow: 0 8px 22px rgba(0,0,0,.28); }
.btn-ghost:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0,0,0,.36); }
.btn-dark { background: var(--navy); color: var(--white); box-shadow: 0 10px 26px rgba(15,27,61,.28); }
.btn-dark:hover { background: var(--navy-700); transform: translateY(-2px); box-shadow: 0 16px 36px rgba(15,27,61,.36); }
.btn-lg { padding: 17px 34px; font-size: 1.06rem; }

.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 16px 0; transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}
/* Opaque and without backdrop-filter: iOS Safari 26 extends this colour behind its toolbar,
   but skips a header that has a backdrop-filter and lets page content show above it. */
.header.scrolled {
  background: #fff;
  box-shadow: 0 1px 0 var(--slate-200); padding: 10px 0;
}
.nav { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo { height: 38px; width: auto; }
.nav-logo-link, .nav-cta { flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav-links a { white-space: nowrap; font-weight: 550; font-size: .97rem; color: var(--white); opacity: .82; transition: opacity .15s, color .15s; }
.nav-links a:hover { opacity: 1; }
.header.scrolled .nav-links a { color: var(--slate-600); }
.nav-links a[aria-current] { opacity: 1; }
.header.scrolled .nav-links a[aria-current] { color: var(--navy); }
.header nav { position: relative; }
.header.nav-instant .nav-links,
.header.nav-instant .nav-links a,
.header.nav-instant .nav-links a::after,
.header.nav-instant .nav-toggle span { transition: none !important; }
.nav-indicator {
  position: absolute; left: 0; top: 0; width: 0; height: 2px;
  border-radius: 2px; background: var(--gold); pointer-events: none;
  opacity: 0; transition: opacity .2s ease;
}
.nav-indicator.is-visible {
  opacity: 1;
  transition: opacity .2s ease, transform .45s cubic-bezier(.2,.7,.2,1), width .45s cubic-bezier(.2,.7,.2,1);
}
@media (prefers-reduced-motion: reduce) {
  .nav-indicator.is-visible { transition: opacity .2s ease; }
}
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn {
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: scale(.72);
  transition: opacity .26s ease, transform .46s cubic-bezier(.18, 1.9, .36, 1), visibility .46s;
}
.header.cta-visible .nav-cta .btn { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.header.cta-visible .nav-cta .btn:hover { transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) {
  .nav-cta .btn { transform: none; transition: opacity .2s ease, visibility .2s; }
}
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; z-index: 60; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; border-radius: 2px; transition: transform .28s cubic-bezier(.2,.7,.2,1), opacity .2s ease, background .25s ease; }
.header.scrolled .nav-toggle span { background: var(--navy); }
.nav-toggle.open span { background: var(--navy); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(.3); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-logo.dark-only { display: none; }
.header.scrolled .nav-logo.light-only { display: none; }
.header.scrolled .nav-logo.dark-only { display: block; }

/* Hero and laptop share one surface: the wrapper carries the background so the
   stage can stick inside it (overflow: hidden would break sticky). */
/* Holds the symbols shared across the page, at the top of the body */
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.hero-wrap {
  position: relative;
  background:
    radial-gradient(1100px 540px at 78% -8%, rgba(244,183,64,.18), transparent 60%),
    radial-gradient(900px 500px at 12% 8%, rgba(59,130,246,.22), transparent 58%),
    linear-gradient(165deg, #0c1631 0%, var(--navy) 46%, #0a1430 100%);
  color: rgba(255,255,255,.86);
}
.hero-wrap::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.11) 1.4px, transparent 1.4px);
  background-size: 36px 36px; mask-image: linear-gradient(180deg, #000, transparent 55%);
  pointer-events: none;
}
/* The glow that follows the pointer: its own composited element rather than a background layer,
   so a move repaints nothing and changes no other element's style. The gradient is the 640px one
   it replaces; its colour ends at 64% of the radius, so an 840px box holds all of it. The clip
   keeps it inside the hero without an overflow rule on .hero-wrap, which would unstick the stage. */
.hero-glow-clip { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-glow {
  position: absolute; left: 72%; top: 18%; width: 840px; height: 840px; margin: -420px 0 0 -420px;
  border-radius: 50%;
  background: radial-gradient(circle 640px at center, rgba(130,175,255,.04), transparent 64%);
}
.hero-glow.is-live { left: 0; top: 0; margin: 0; will-change: transform; }
.hero { position: relative; z-index: 2; padding: 172px 0 24px; }
.hero-grid { position: relative; z-index: 2; }
.hero-copy { max-width: 940px; margin: 0 auto; text-align: center; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.9rem); font-weight: 850; margin-bottom: 22px; }
.hero h1 .accent { color: var(--gold); }
.hero-sub { font-size: 1.2rem; color: rgba(255,255,255,.74); max-width: 660px; margin: 0 auto 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; justify-content: center; }
.laptop-scroll { position: relative; z-index: 2; height: 250vh; }
.laptop-stage {
  position: sticky; top: 0; height: 100vh;
  display: grid; justify-items: center; align-items: stretch;
  grid-template-rows: 1fr auto; row-gap: 10px;
  grid-template-columns: minmax(0, 1fr);
  padding: 88px 24px 40px;
}
.laptop {
  position: relative;
  width: min(1400px, 96vw); max-width: 100%;
}
.phone { display: none; position: relative; width: 100%; }
.phone .lt-glow { inset: 14% 12% 8%; }
.lt-glow {
  position: absolute; z-index: 0; inset: 12% 2% 8%;
  border-radius: 46% 54% 52% 48% / 50% 46% 54% 50%;
  background:
    radial-gradient(58% 60% at 40% 34%, rgba(125, 211, 252, .26) 0%, transparent 70%),
    radial-gradient(56% 58% at 68% 66%, rgba(244, 183, 64, .18) 0%, transparent 72%);
  filter: blur(60px); pointer-events: none;
}
/* Absolute so the canvas cannot inflate its own container: three.js writes
   width and height attributes when it resizes, and in flow those would drag
   the height along - shrinking the window it would never come back down. */
.lt-canvas {
  position: absolute; z-index: 1; inset: 0;
  display: block; width: 100%; height: 100%;
  opacity: 0; transition: opacity .5s ease;
}
.laptop.is-3d .lt-canvas, .phone.is-3d .lt-canvas { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .lt-canvas { transition: none; }
}
.lt-screen {
  position: absolute; z-index: 2; top: 0; left: 0;
  width: 1236px; height: 800px;
  transform-origin: 0 0;
  border-radius: 13px;
  overflow: hidden;
  opacity: 0; pointer-events: none;
}
.ph-screen { width: 360px; height: 780px; border-radius: 42px; }
/* Firefox draws the layer's glyphs straight through the perspective matrix3d and
   cuts small text into strips. A real filter makes it render the layer flat first
   and tilt the result. Blur, unlike colour filters, also redraws that surface
   whole, so the animated flow edges leave no stale tile seams; 0.01px is invisible. */
@supports (-moz-appearance: none) {
  .lt-screen { filter: blur(0.01px); }
}


.lt-fallback {
  position: absolute; z-index: 1; inset: 8% 6%;
  width: auto; height: auto; max-width: 88%; max-height: 84%;
  margin: auto; border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
}
.laptop.is-3d .lt-fallback, .phone.is-3d .lt-fallback { display: none; }
/* With JS the screenshot stays hidden while the scene loads - otherwise it
   flashes up on every reload. It only returns if WebGL or the module fails.
   display, not visibility: a lazy image without a box is never fetched. */
.js .laptop:not(.no-3d) .lt-fallback, .js .phone:not(.no-3d) .lt-fallback { display: none; }

.lt-note {
  align-self: end; margin: 0;
  color: rgba(255,255,255,.26);
  font-size: .68rem; letter-spacing: .01em; line-height: 1.4; text-align: center;
}

.db-app {
  display: grid; grid-template-columns: 232px 1fr;
  width: 100%; height: 100%;
  background: #fbfbfd;
  font-size: 16px; line-height: 1.6; color: #0f1b3d;
  text-align: left;
}

.db-side {
  background: #0f1b3d; color: #c3cade;
  padding: 20px 14px;
  display: flex; flex-direction: column; gap: 2px;
}
.db-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: 10px;
  font-size: .92rem; font-weight: 500; color: #c3cade;
}
.db-nav-item.is-active { background: rgba(255, 255, 255, .12); color: #fff; }
.db-nav-label {
  margin: 18px 10px 6px;
  font-size: .66rem; font-weight: 600; text-transform: uppercase; letter-spacing: .09em;
  color: #8c97bc;
}
.db-i { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.db-main { padding: 34px 44px; overflow: hidden; }
.db-greeting {
  margin: 0 0 26px; line-height: 1.15;
  font-size: 2.1rem; font-weight: 700; letter-spacing: -.03em; text-align: center;
  color: #0f1b3d;
}

.db-search-wrap { position: relative; max-width: 680px; margin: 0 auto 40px; }
.db-search {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  padding: 15px 20px;
  background: #fff; border: 1.5px solid transparent; border-radius: 18px;
  box-shadow: 0 1px 2px rgba(15, 27, 61, .05), 0 14px 32px -14px rgba(15, 27, 61, .16);
  color: #98a1b9;
  transition: box-shadow .2s ease;
}
.db-search.is-focused { box-shadow: 0 0 0 4px rgba(42, 86, 214, .12), 0 24px 60px rgba(15, 27, 61, .16); }
.db-search-text { font-size: .98rem; color: #26325a; white-space: pre; }
.db-search-ph { font-size: .98rem; color: #98a1b9; }
.db-search.is-typing .db-search-ph { display: none; }
.db-caret { width: 1.5px; height: 1.15em; background: #3d68de; opacity: 0; }
.db-search.is-focused .db-caret { opacity: 1; animation: db-caret 1s steps(1) infinite; }
@keyframes db-caret { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }
.db-qr { margin-left: auto; color: #98a1b9; display: flex; }

.db-dropdown {
  position: absolute; top: 112%; left: -5px; right: -5px; z-index: 5;
  background: #fff; border-radius: 14px;
  border-top: 1px solid #e4e8f0;
  box-shadow: 0 24px 60px rgba(15, 27, 61, .18);
  padding: 4px 0;
  animation: db-dropdown-in .2s cubic-bezier(.16, 1, .3, 1);
}
.db-dropdown[hidden] { display: none; }
@keyframes db-dropdown-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}
.db-hit-group + .db-hit-group { border-top: 1px solid #f2f4f9; margin-top: 2px; padding-top: 2px; }
.db-hit-head {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 16px 3px;
  font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .09em;
  color: #6b7590;
}
.db-hit-count {
  padding: 0 6px; border-radius: 999px; background: #f2f4f9;
  font-size: .68rem; color: #6b7590;
}
.db-hit { display: flex; flex-direction: column; padding: 8px 16px; }
.db-hit.is-on { background: #f4f7fe; box-shadow: inset 2px 0 0 #3d68de; }
.db-hit-title { font-size: .92rem; font-weight: 500; color: #26325a; }
.db-hit-sub { font-size: .78rem; color: #98a1b9; }

.db-section-head {
  display: flex; align-items: center; gap: 9px; margin-bottom: 12px;
  color: #98a1b9;
}
.db-section-head .db-sec-title {
  margin: 0; line-height: 1.15; font-size: .78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .09em; color: #98a1b9;
}
.db-table { width: 100%; border-collapse: collapse; }
.db-table th {
  padding: 0 12px 8px;
  font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .09em;
  color: #98a1b9; text-align: left;
}
.db-table td {
  padding: 13px 12px;
  font-size: .88rem;
  background: #fff;
  border-top: 1px solid #f2f4f9;
}
.db-table tr td:first-child { border-radius: 12px 0 0 12px; }
.db-table tr td:last-child { border-radius: 0 12px 12px 0; }
.db-td-title { font-weight: 600; color: #26325a; }
.db-td-muted { color: #6b7590; }
.db-pill {
  display: inline-block; padding: 2px 10px; border-radius: 999px;
  font-size: .75rem; font-weight: 600;
}
.db-pill--offen { background: #fdf3df; color: #96660c; }
.db-pill--in-arbeit { background: #eaf0fe; color: #1b3ea8; }
.db-bar { display: block; width: 110px; height: 7px; border-radius: 999px; background: #f2f4f9; overflow: hidden; }
.db-bar-fill { display: block; height: 100%; border-radius: 999px; background: #10b981; }


.db-section + .db-section { margin-top: 30px; }
.db-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.db-card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 16px 18px; border-radius: 16px; background: #fff;
  box-shadow: 0 1px 2px rgba(15, 27, 61, .05), 0 14px 32px -18px rgba(15, 27, 61, .18);
}
.db-card-name { font-size: .95rem; font-weight: 600; color: #26325a; }
.db-card-sub { font-size: .78rem; color: #98a1b9; }
.db-card .db-bar { width: 100%; margin-top: 4px; }
.db-card-meta { font-size: .74rem; color: #6b7590; }


.db-side { padding: 18px 12px; gap: 1px; }
.db-logo { width: 158px; height: auto; margin: -2px 0 14px 2px; }
.db-nav-item { padding: 7px 10px; font-size: .88rem; gap: 9px; }
.db-nav-item > .db-i:last-child { margin-left: auto; opacity: .55; }
.db-nav-label { margin: 14px 10px 5px; }

.db-page[hidden] { display: none; }
.db-page { animation: db-page-in .3s ease; }
@keyframes db-page-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.db-back { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: #6b7590; }
.db-project-title {
  margin: 4px 0 14px; line-height: 1.15;
  font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; color: #0f1b3d;
}
.db-meter {
  position: relative; height: 26px; border-radius: 999px;
  background: #f2f4f9; box-shadow: inset 0 0 0 1px #e4e8f0;
  overflow: hidden; margin-bottom: 14px;
}
.db-meter-fill {
  position: absolute; inset: 0 auto 0 0; border-radius: 999px;
  background-color: #10b981;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.14) 0 5px, transparent 5px 10px);
}
.db-meter-label, .db-meter-pct {
  position: absolute; top: 0; line-height: 26px;
  font-size: .76rem; font-weight: 500; color: #fff;
}
.db-meter-label { left: 12px; }
.db-meter-pct { right: 12px; color: #3c476b; font-weight: 600; }

.db-tabs { display: flex; gap: 20px; border-bottom: 1px solid #e4e8f0; margin-bottom: 12px; }
.db-tab { padding: 8px 2px; font-size: .84rem; color: #6b7590; }
.db-tab.is-active { color: #2a56d6; font-weight: 600; box-shadow: inset 0 -2px 0 #2a56d6; }

.db-canvas {
  position: relative; height: 470px; border-radius: 14px; overflow: hidden;
  background-color: #fbfbfd;
  background-image: radial-gradient(circle, #e4e8f0 1px, transparent 1px);
  background-size: 20px 20px;
}
.db-edges { position: absolute; inset: 0; width: 100%; height: 100%; }

.db-node {
  --db-glow: 0 0 0 0 transparent;
  position: absolute; width: 200px; padding: .9rem .85rem;
  background: #fff; border-radius: 14px;
  box-shadow: var(--db-glow), 0 1px 2px rgba(15, 27, 61, .04), 0 8px 20px -12px rgba(15, 27, 61, .16);
}
.db-node--done { --db-glow: 0 0 12px 1px rgba(16, 185, 129, .28), 0 8px 24px -8px rgba(16, 185, 129, .55); }
.db-node--form-done { --db-glow: 0 0 12px 1px rgba(16, 185, 129, .28), 0 8px 24px -8px rgba(16, 185, 129, .55); }
.db-node--running { --db-glow: 0 0 12px 1px rgba(61, 104, 222, .28), 0 8px 24px -8px rgba(61, 104, 222, .55); }
.db-node--waiting { box-shadow: 0 1px 2px rgba(15, 27, 61, .04); opacity: .6; }

.db-node-badge {
  display: inline-block; margin-bottom: .35rem; padding: .1rem .4rem;
  border-radius: 6px; background: #d1fae5; color: #064e3b;
  font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .09em;
}
.db-node-head { display: flex; align-items: center; gap: .35rem; }
.db-node-name { font-weight: 600; font-size: .88rem; color: #26325a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.db-node-state { margin-top: .3rem; }
.db-node-pill {
  display: inline-block; padding: 1px 9px; border-radius: 999px;
  font-size: .72rem; font-weight: 600; background: #f2f4f9; color: #6b7590;
}
.db-node--done .db-node-pill, .db-node--form-done .db-node-pill { background: #d1fae5; color: #065f46; }
.db-node--running .db-node-pill { background: #eaf0fe; color: #1b3ea8; }

.db-canvas.is-drawing .db-edge-line {
  stroke-dasharray: 1;
  animation: db-edge-draw .55s ease-out backwards;
}
.db-canvas.is-drawing .db-edge:nth-child(2) .db-edge-line { animation-delay: .12s; }
.db-canvas.is-drawing .db-edge:nth-child(3) .db-edge-line { animation-delay: .24s; }
@keyframes db-edge-draw {
  from { stroke-dashoffset: 1; marker-end: none; }
  90% { marker-end: none; }
  to { stroke-dashoffset: 0; }
}
.db-canvas.is-drawing .db-edge-label {
  transform-box: fill-box; transform-origin: center;
  animation: db-edge-label-in .25s ease .5s both;
}
.db-canvas.is-drawing .db-edge:nth-child(2) .db-edge-label { animation-delay: .62s; }
.db-canvas.is-drawing .db-edge:nth-child(3) .db-edge-label { animation-delay: .74s; }
@keyframes db-edge-label-in {
  from { opacity: 0; transform: scale(.9); }
  to { opacity: 1; transform: none; }
}


.db-tasks {
  background: #fff; border-radius: 18px; padding: 16px 18px 6px;
  box-shadow: 0 1px 2px rgba(15, 27, 61, .05), 0 14px 32px -16px rgba(15, 27, 61, .16);
}
.db-tasks-head {
  font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .09em;
  color: #98a1b9; margin-bottom: 6px;
}
.db-task-list { list-style: none; }
.db-task {
  display: flex; align-items: flex-start; gap: .75rem;
  padding: .65rem .6rem;
  border-bottom: 1px solid #f2f4f9;
  border-left: 3px solid transparent;
}
.db-task:last-child { border-bottom: none; }
.db-task-body { flex: 1; min-width: 0; }
.db-task-label { display: block; font-weight: 500; font-size: .92rem; color: #26325a; }
.db-task.is-done .db-task-label { color: #98a1b9; text-decoration: line-through; }
.db-task-desc { display: block; font-size: .8rem; color: #6b7590; margin-top: .1rem; }
.db-task-meta { display: block; height: 0; overflow: hidden; transition: height .28s ease; }
.db-task.is-done .db-task-meta { height: 22px; }
.db-task-done { display: block; font-size: .8rem; color: #6b7590; margin-top: .1rem; white-space: nowrap; }

.db-check {
  flex-shrink: 0; margin-top: .2rem;
  width: 1.1rem; height: 1.1rem;
  display: grid; place-items: center;
  border: 1.5px solid #98a1b9; border-radius: 3px;
  background: #fff; color: transparent;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.db-check.is-hot { border-color: #3d68de; }
.db-task.is-done .db-check { background: #26325a; border-color: #26325a; color: #fff; }
.db-check .db-i { transform: scale(.35); transition: transform .24s cubic-bezier(.34, 1.56, .64, 1); }
.db-task.is-done .db-check .db-i { transform: none; }


.db-hb-list {
  background: #fff; border-radius: 18px; padding: 16px 18px 8px;
  box-shadow: 0 1px 2px rgba(15, 27, 61, .05), 0 14px 32px -16px rgba(15, 27, 61, .16);
}
.db-hb-head {
  font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .09em;
  color: #98a1b9; margin-bottom: 6px;
}
.db-hb-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 8px;
  border-bottom: 1px solid #f2f4f9;
  color: #98a1b9;
}
.db-hb-row:last-child { border-bottom: none; }
.db-hb-row.is-on { background: #f4f7fe; border-radius: 10px; box-shadow: inset 2px 0 0 #3d68de; }
.db-hb-icon { display: flex; color: #6b7590; }
.db-hb-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.db-hb-title { font-size: .92rem; font-weight: 500; color: #26325a; }
.db-hb-meta { font-size: .78rem; color: #98a1b9; }

.db-article-hero { display: flex; align-items: center; gap: 12px; margin: 6px 0 14px; }
.db-article-icon {
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 12px; background: #eaf0fe; color: #2a56d6;
}
.db-article-title { margin: 0; line-height: 1.15; font-size: 1.4rem; font-weight: 700; letter-spacing: -.02em; color: #0f1b3d; }
.db-article-meta { font-size: .78rem; color: #98a1b9; }

.db-article {
  background: #fff; border-radius: 18px; padding: 20px 24px;
  box-shadow: 0 1px 2px rgba(15, 27, 61, .05), 0 14px 32px -16px rgba(15, 27, 61, .16);
  font-size: .93rem; line-height: 1.75; color: #26325a;
}
.db-article .db-article-h2 {
  margin: 18px 0 8px; padding-bottom: .35rem; line-height: 1.15;
  font-size: 1.12rem; font-weight: 700; color: #0f1b3d; letter-spacing: -.01em;
  border-bottom: 1px solid #f2f4f9;
}
.db-article p { margin: .65rem 0; }
.db-article-list { margin: .4rem 0 .2rem 1.3rem; }
.db-article-list li { margin: .2rem 0; }

.db-cursor { z-index: 20; }

.ph-screen .db-app { position: relative; display: flex; flex-direction: column; }

.mb-status {
  position: relative; flex: none; height: 40px; padding: 4px 26px 0 36px;
  display: flex; align-items: center; justify-content: space-between;
  background: #0f1b3d; color: #fff;
  font-size: .84rem; font-weight: 700; letter-spacing: -.01em;
}
.mb-island {
  position: absolute; top: 9px; left: 50%; width: 96px; height: 27px; margin-left: -48px;
  border-radius: 999px; background: #000;
}
.mb-sys { display: flex; align-items: center; gap: 5px; }
.mb-sys svg { fill: currentColor; }
.mb-bar {
  flex: none; height: 56px; padding: 0 1rem;
  display: flex; align-items: center; gap: .75rem;
  background: #0f1b3d;
}
.db-menu-btn { display: flex; padding: .35rem; margin-left: -.35rem; border-radius: 8px; color: #8c97bc; }
.mb-bar-title { color: #fff; font-size: 1.05rem; font-weight: 700; letter-spacing: -.02em; }
.ph-screen .db-main { flex: 1; min-height: 0; padding: 20px 16px 32px; }

.ph-screen .db-side {
  position: absolute; z-index: 30; top: 40px; bottom: 0; left: 0; width: 268px;
  padding: 16px 12px;
  transform: translateX(-100%); transition: transform .25s ease;
}
.ph-screen.is-drawer .db-side { transform: none; }
.mb-backdrop {
  position: absolute; z-index: 29; inset: 40px 0 0;
  background: rgba(0, 0, 0, .5); opacity: 0; transition: opacity .25s ease;
}
.ph-screen.is-drawer .mb-backdrop { opacity: 1; }
.ph-screen .db-logo { margin: 2px 0 12px 4px; }
.ph-screen .db-nav-item { position: relative; padding: .5rem .875rem; gap: .8rem; font-size: .94rem; }
.ph-screen .db-nav-item.is-active { font-weight: 600; }
.ph-screen .db-nav-item.is-active::before {
  content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px;
  border-radius: 2px; background: #f4b740;
}
.ph-screen .db-nav-label { margin: 12px 14px 4px; letter-spacing: .13em; color: #68739a; }

.ph-screen .db-greeting { margin: 14px 0 22px; font-size: 1.75rem; }
.ph-screen .db-search-wrap { margin: 0 0 20px; }
.ph-screen .db-search { padding: 15px 20px; }
.ph-screen .db-search-text, .ph-screen .db-search-ph { font-size: 1rem; }
.ph-screen .db-search-ph { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ph-screen .db-dropdown { left: 0; right: 0; }
.ph-screen .db-hit-title, .ph-screen .db-hit-sub { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

.mb-seg { display: flex; padding: 5px; margin-bottom: 26px; border-radius: 14px; background: #eef0f7; }
.mb-seg span {
  flex: 1; padding: .5rem .4rem; border-radius: 10px;
  text-align: center; font-size: .86rem; font-weight: 600; color: #6b7590;
}
.mb-seg .is-active { background: #fff; color: #0f1b3d; box-shadow: 0 1px 2px rgba(15, 27, 61, .08), 0 4px 10px -6px rgba(15, 27, 61, .2); }

.db-vlist { display: flex; flex-direction: column; gap: .6rem; }
.db-vcard {
  display: flex; flex-direction: column; gap: .55rem;
  padding: 1.15rem; border-radius: 22px; background: #fff;
  box-shadow: 0 1px 2px rgba(15, 27, 61, .04), 0 8px 20px -12px rgba(15, 27, 61, .16);
}
.db-vcard-head { display: flex; align-items: center; gap: .6rem; }
.db-vcard-icon {
  flex: none; display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 12px; background: #eaf0fe; color: #2a56d6;
}
.db-vcard-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.db-vcard-title { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 1.02rem; font-weight: 700; color: #0f1b3d; }
.db-vcard-sub { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .82rem; font-weight: 600; color: #2a56d6; }
.db-vcard-meta { font-size: .8rem; color: #98a1b9; }
.db-vcard-foot { display: flex; align-items: center; gap: .6rem; }
.db-vcard .db-bar { flex: 1; width: auto; background: #eef0f7; }
.db-vcard .db-bar-fill { background: #0f1b3d; }
.db-vcard-count { font-size: .78rem; color: #6b7590; }

.ph-screen .db-section + .db-section { margin-top: 36px; }
.ph-screen .db-cards { grid-template-columns: 1fr; gap: .9rem; }
.ph-screen .db-card {
  padding: 1.15rem 1.15rem 1.15rem 1.4rem; border-radius: 22px;
  box-shadow: inset 4px 0 0 #3d68de, 0 1px 2px rgba(15, 27, 61, .04), 0 8px 20px -12px rgba(15, 27, 61, .16);
}

.ph-screen .db-back { font-size: .82rem; }
.mb-head { display: flex; align-items: flex-start; gap: .5rem; margin-top: 4px; }
.ph-screen .db-project-title { flex: 1; min-width: 0; margin: 0; font-size: 1.5rem; line-height: 1.2; letter-spacing: -.025em; }
.mb-edit { flex: none; display: flex; padding: .3rem; margin-top: .15rem; color: #98a1b9; }
.mb-actions { display: flex; align-items: center; gap: .5rem; margin: 12px 0 20px; }
.mb-star { display: flex; padding: .25rem; color: #98a1b9; }
.mb-more {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px;
  background: #eceff8; color: #3c476b; box-shadow: 0 1px 2px rgba(15, 27, 61, .06);
}

.mb-progress {
  display: flex; align-items: center; gap: .9rem; padding: .85rem 1rem; margin-bottom: 16px;
  border-radius: 18px; background: #fff;
  box-shadow: 0 1px 2px rgba(15, 27, 61, .04), 0 8px 20px -12px rgba(15, 27, 61, .16);
}
.mb-ring {
  flex: none; width: 3.25rem; height: 3.25rem; border-radius: 50%;
  background: conic-gradient(#2a56d6 calc(var(--p) * 1turn), #e4e8f0 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px));
}
.mb-progress b { display: block; font-size: 1rem; font-weight: 700; line-height: 1.3; color: #0f1b3d; }
.mb-progress small { font-size: .85rem; color: #6b7590; }

.ph-screen .db-tabs {
  gap: 0; padding: .3rem; margin-bottom: 16px; border-bottom: 0; border-radius: 18px; background: #fff;
  box-shadow: 0 1px 2px rgba(15, 27, 61, .04), 0 8px 20px -12px rgba(15, 27, 61, .16);
}
.ph-screen .db-tab {
  display: flex; align-items: center; gap: .4rem; padding: .5rem .95rem; border-radius: 14px;
  font-size: .88rem; font-weight: 600; color: #3c476b;
}
.ph-screen .db-tab.is-active { background: #0f1b3d; color: #fff; font-weight: 700; box-shadow: none; }
.ph-screen .db-tab:last-child { margin-left: auto; padding: .5rem .7rem; }

.ph-screen .db-canvas { height: 580px; }
.ph-screen .db-node { width: 188px; padding: .75rem; }
.ph-screen .db-node-name { font-size: .82rem; }
.ph-screen .db-node--waiting {
  opacity: .78;
  box-shadow: 0 0 0 1px #e4e8f0, 0 1px 2px rgba(15, 27, 61, .04), 0 8px 20px -12px rgba(15, 27, 61, .16);
}

.ph-screen .db-meter { height: 1.65rem; margin-bottom: 12px; }
.ph-screen .db-meter-label, .ph-screen .db-meter-pct { line-height: 1.65rem; font-size: .78rem; }
.ph-screen .db-tasks { padding: 1.25rem 1.5rem .5rem; border-radius: 22px; }
.ph-screen .db-tasks-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.ph-screen .db-task { gap: .65rem; padding: .7rem .4rem .7rem .3rem; }
.mb-task-acts { flex: none; display: flex; align-items: center; gap: .35rem; }
.mb-ibtn {
  display: grid; place-items: center; width: 30px; height: 26px;
  border-radius: 8px; background: #eceff8; color: #4a5578;
}
.ph-screen .db-task-done { white-space: normal; font-size: .76rem; line-height: 1.45; }
.ph-screen .db-task.is-done .db-task-meta { height: 38px; }

.mb-sub { margin: 4px 0 20px; font-size: .92rem; color: #6b7590; }
.ph-screen .db-hb-list { display: flex; flex-direction: column; gap: .4rem; padding: 0; background: none; box-shadow: none; }
.ph-screen .db-hb-head { margin: 0 0 2px 4px; }
.ph-screen .db-hb-row {
  padding: .7rem .8rem; border-bottom: 0; border-radius: 14px; background: #fff;
  box-shadow: 0 1px 2px rgba(15, 27, 61, .06), 0 4px 12px -8px rgba(15, 27, 61, .14);
}
.ph-screen .db-hb-row.is-on { background: #f4f7fe; }
.ph-screen .db-hb-title { font-size: .9rem; }
.ph-screen .db-hb-meta { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .74rem; }

.ph-screen .db-article-hero { margin: 8px 0 16px; }
.ph-screen .db-article-icon { display: none; }
.ph-screen .db-article-title { margin-bottom: 4px; font-size: 1.25rem; line-height: 1.25; }
.ph-screen .db-article-meta { font-size: .8rem; }
.ph-screen .db-article {
  padding: 1.25rem 1rem; border: 1px solid #e4e8f0;
  box-shadow: 0 1px 2px rgba(15, 27, 61, .04), 0 8px 20px -12px rgba(15, 27, 61, .16);
}

.ph-screen .db-cursor { filter: none; }
.ph-screen .db-cursor::before {
  content: ""; position: absolute; top: -19px; left: -19px; width: 38px; height: 38px;
  border-radius: 50%; border: 2px solid rgba(255, 255, 255, .9);
  background: rgba(15, 27, 61, .2); box-shadow: 0 3px 10px rgba(15, 27, 61, .28);
  transition: background .12s ease;
}
.ph-screen .db-cursor.is-down::before { background: rgba(42, 86, 214, .38); }
.ph-screen .demo-ring { top: -19px; left: -19px; width: 38px; height: 38px; border-color: #2a56d6; }



.strip { background: var(--navy-800); padding: 26px 0; }
.strip .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 30px; }
.strip span { color: rgba(255,255,255,.72); font-weight: 600; font-size: .96rem; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.strip span svg { width: 18px; height: 18px; color: var(--gold); }
.strip-row.reveal { opacity: 1; transform: none; transition: none; }
.strip-row.reveal span {
  opacity: 0; transform: translateX(-50px);
  transition: opacity .5s cubic-bezier(.2, .7, .2, 1), transform .5s cubic-bezier(.2, .7, .2, 1);
}
.strip-row.reveal.in span { opacity: 1; transform: none; }
.strip-row.reveal span:nth-child(2) { transition-delay: .09s; }
.strip-row.reveal span:nth-child(3) { transition-delay: .18s; }
.strip-row.reveal span:nth-child(4) { transition-delay: .27s; }
.strip-row.reveal span:nth-child(5) { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  .strip-row.reveal span { opacity: 1; transform: none; transition: none; }
}

.walkthrough { background: var(--slate-50); }
.wt-row { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; margin-bottom: 92px; }
.wt-row:last-child { margin-bottom: 0; }
.wt-row.is-reversed { grid-template-columns: 1.15fr 1fr; }
.wt-row.is-reversed .wt-copy { order: 2; }
.wt-step { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 12px; }
.wt-copy h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin-bottom: 14px; }
.wt-copy p { color: var(--slate-500); font-size: 1.04rem; }
.wt-payoff {
  max-width: 820px; margin: 0 auto; text-align: center;
  font-size: clamp(1.3rem, 1.1vw + 1rem, 1.85rem); line-height: 1.45; font-weight: 600; letter-spacing: -0.015em;
  color: var(--slate-600);
}
.wt-payoff b { color: var(--navy); font-weight: 800; }
.wt-shot {
  margin: 0; border-radius: var(--r-md); overflow: hidden;
  background: #fff; box-shadow: var(--shadow-md);
}
.wt-shot picture { display: block; }
.wt-shot img { display: block; width: 100%; height: auto; }

.wt-tabs { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; margin-bottom: 92px; }
.wt-stage, .wt-side { min-width: 0; }
.wt-stage { display: grid; gap: 24px; }
.wt-list { list-style: none; }
.wt-item { position: relative; padding: 4px 0 4px 26px; }
.wt-item + .wt-item { margin-top: 26px; }
.wt-line {
  position: absolute; top: 0; bottom: 0; left: 0; width: 4px;
  border-radius: var(--r-pill); background: var(--slate-200); overflow: hidden;
}
/* Slides down inside the track instead of scaling, so both ends stay round while it fills. */
.wt-bar {
  position: absolute; inset: 0; border-radius: var(--r-pill); background: var(--gold);
  transform: translateY(-100%); opacity: 0; transition: opacity .3s ease;
}
.wt-item.is-active .wt-bar { opacity: 1; }
.wt-head { font-size: inherit; }
.wt-tab {
  display: block; width: 100%; padding: 0; border: 0; border-radius: 6px;
  background: none; color: inherit; font: inherit; text-align: left; cursor: pointer;
}
.wt-tab:focus-visible { outline: 2px solid var(--blue); outline-offset: 6px; }
.wt-tab .wt-step { display: block; margin-bottom: 6px; transition: color .3s ease; }
.wt-title {
  display: block; font-size: clamp(1.25rem, 2.1vw, 1.6rem); font-weight: 800; line-height: 1.2;
  letter-spacing: -0.02em; color: var(--navy); transition: color .3s ease;
}
.wt-panel { display: grid; grid-template-rows: 1fr; }
.wt-panel > div { min-height: 0; overflow: hidden; }
.wt-panel p { padding-top: 12px; color: var(--slate-500); font-size: 1.04rem; }
.wt-pause {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 30px; padding: 10px 18px 10px 15px;
  border: none; border-radius: var(--r-pill); background: var(--white);
  color: var(--slate-600); font: 600 .9rem/1.2 var(--font); cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: box-shadow .2s ease, color .2s ease;
}
.wt-pause[hidden] { display: none; }
.wt-pause:hover { color: var(--navy); box-shadow: var(--shadow-card-hover); }
.wt-pause:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.wt-pause svg { width: 14px; height: 14px; }
.wt-pause .wt-i-play, .wt-pause.is-paused .wt-i-pause { display: none; }
.wt-pause.is-paused .wt-i-play { display: block; }

/* One frame holds all three demos; the sleeping ones are display: none, so they cost no layout or paint. */
.js .wt-stage {
  grid-template: minmax(0, 1fr) / minmax(0, 1fr); gap: 0; aspect-ratio: 820 / 520;
  border-radius: var(--r-md); overflow: hidden; background: #fbfbfd; box-shadow: var(--shadow-md);
}
.js .wt-stage > .wt-shot {
  grid-area: 1 / 1; display: none; border-radius: 0; box-shadow: none;
  opacity: 0; transition: opacity .45s ease;
}
.js .wt-stage > .wt-shot.is-shown { display: block; }
.js .wt-stage > .wt-shot.is-leaving { z-index: 1; opacity: 1; }
.js .wt-stage > .wt-shot.is-on { z-index: 2; opacity: 1; }
.js .wt-stage .flowdemo, .js .wt-stage .taskdemo, .js .wt-stage .formdemo { height: 100%; aspect-ratio: auto; }
/* The frame is taller than the flow canvas: the canvas sits in the middle and its dot grid, laid on the
   host instead, runs out to the edges. The offsets put the host's dots exactly on the canvas's. */
.js .wt-stage .flowdemo {
  background-color: #fbfbfd;
  background-image: radial-gradient(circle, #e4e8f0 1px, transparent 1px);
  background-size: calc(20px * var(--fd-scale, .88)) calc(20px * var(--fd-scale, .88));
  background-position: calc(50% - 350px * var(--fd-scale, .88)) calc(50% - 192.5px * var(--fd-scale, .88));
}
.js .wt-stage .fd-stage { top: calc(50% - 202.5px * var(--fd-scale, .88)); background: none; }
.js .wt-panel {
  grid-template-rows: 0fr; visibility: hidden;
  transition: grid-template-rows .45s cubic-bezier(.2, .7, .2, 1), visibility 0s linear .45s;
}
.js .wt-item.is-active .wt-panel { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
.js .wt-item:not(.is-active) .wt-step,
.js .wt-item:not(.is-active) .wt-title { color: var(--slate-500); }
@media (hover: hover) {
  .js .wt-tab:hover .wt-title { color: var(--navy); }
}
.wt-list.is-measuring, .wt-list.is-measuring * { transition: none !important; }
.wt-tabs.is-frozen .wt-stage * { animation-play-state: paused !important; }
@media (max-width: 520px) {
  .js .wt-stage { aspect-ratio: 520 / 620; }
}
@media (prefers-reduced-motion: reduce) {
  .js .wt-stage > .wt-shot, .js .wt-panel, .wt-tab .wt-step, .wt-title, .wt-bar { transition: none; }
  .wt-item.is-active .wt-bar { transform: none; }
}

.fd-shot { background: #fbfbfd; }
.flowdemo {
  position: relative;
  aspect-ratio: 720 / 405;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.6;
  color: #0f1b3d;
  user-select: none;
}
.fd-sprite { position: absolute; width: 0; height: 0; }
.fd-i { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 520px) {
  .flowdemo { aspect-ratio: 720 / 500; }
}
.fd-stage {
  position: absolute; top: 0; left: 50%; margin-left: -360px;
  width: 720px; height: 405px;
  transform-origin: 50% 0;
  transform: scale(var(--fd-scale, .88));
  background-color: #fbfbfd;
  background-image: radial-gradient(circle, #e4e8f0 1px, transparent 1px);
  background-size: 20px 20px;
}

.fd-world { position: absolute; inset: 0; }

.fd-node {
  --fd-glow: 0 0 0 0 transparent;
  position: absolute;
  z-index: 2;
  width: 200px;
  padding: .9rem .85rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--fd-glow), 0 1px 2px rgba(15, 27, 61, .04), 0 8px 20px -12px rgba(15, 27, 61, .16);
  transition: box-shadow .15s ease;
}
.fd-node.is-start { --fd-glow: 0 0 12px 1px rgba(16, 185, 129, .28), 0 8px 24px -8px rgba(16, 185, 129, .55); }
.fd-node.is-form  { --fd-glow: 0 0 12px 1px rgba(139, 92, 246, .28), 0 8px 24px -8px rgba(139, 92, 246, .55); }

.fd-node.is-start.is-hot { --fd-glow: 0 0 18px 2px rgba(16, 185, 129, .4), 0 10px 30px -8px rgba(16, 185, 129, .7); }
.fd-node.is-form.is-hot  { --fd-glow: 0 0 18px 2px rgba(139, 92, 246, .4), 0 10px 30px -8px rgba(139, 92, 246, .7); }
.fd-node.is-hot {
  box-shadow: var(--fd-glow), 0 1px 2px rgba(15, 27, 61, .05), 0 14px 32px -14px rgba(15, 27, 61, .16);
}

.fd-slot { height: 27px; overflow: hidden; transition: height .3s ease, opacity .22s ease; }
.fd-node.is-linked .fd-slot { height: 0; opacity: 0; }
.fd-badge {
  display: inline-block;
  margin-bottom: .35rem;
  padding: .1rem .4rem;
  border-radius: 6px;
  background: #d1fae5;
  color: #064e3b;
  font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .09em;
}
.fd-head { display: flex; align-items: center; gap: .35rem; }
.fd-head svg { flex: none; }
.fd-name { font-weight: 600; font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fd-foot { margin-top: .5rem; display: flex; justify-content: flex-end; align-items: center; gap: .25rem; }
.fd-act {
  display: flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 6px; color: #98a1b9;
}

.fd-conn { position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); padding: 4px; z-index: 5; }
.fd-dot {
  display: block;
  width: 10px; height: 10px; border-radius: 50%;
  background: #98a1b9; border: 2px solid #fff;
  transition: background .15s ease, transform .15s ease;
}
.fd-conn.is-hot .fd-dot { background: #3d68de; transform: scale(1.3); }

.fd-edges { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.fd-edges text { font-family: inherit; }
.fd-edge { transition: opacity .35s ease; }
.fd-label { transition: opacity .25s ease; }
.flowdemo.is-anim .fd-edge { opacity: 0; }
.flowdemo.is-anim .fd-edge.is-on { opacity: 1; }
.flowdemo.is-anim .fd-label { opacity: 0; }
.flowdemo.is-anim .fd-edge.is-labeled .fd-label { opacity: 1; }
.fd-edge.is-drawing .fd-line { marker-end: none; }

.fd-drag { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 100; pointer-events: none; visibility: hidden; }
.fd-drag.is-on { visibility: visible; }
.fd-drag line { stroke: #3b82f6; stroke-width: 2; stroke-dasharray: 6 4; }

.demo-cursor {
  position: absolute; top: 0; left: 0; z-index: 200;
  transform-origin: 0 0;
  filter: drop-shadow(0 2px 4px rgba(15, 27, 61, .3));
  opacity: 0; transition: opacity .3s ease;
}
.is-anim .demo-cursor { opacity: 1; }
.is-anim .demo-cursor.is-out { opacity: 0; }
.demo-ring {
  position: absolute; top: -9px; left: -9px;
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid #3b82f6;
  opacity: 0; transform: scale(.4);
}
.demo-cursor.is-down .demo-ring { animation: demo-click .45s ease-out; }
@keyframes demo-click {
  0%   { opacity: .85; transform: scale(.4); }
  100% { opacity: 0;   transform: scale(2.1); }
}
.tl-shot { background: #fbfbfd; }
.taskdemo {
  position: relative;
  aspect-ratio: 820 / 520;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.6;
  color: #0f1b3d;
  user-select: none;
}
.tl-stage {
  position: absolute; top: 0; left: 50%; margin-left: -410px;
  width: 820px; height: 520px;
  transform-origin: 50% 0;
  transform: scale(var(--fd-scale, .69));
  background: #fbfbfd;
}
.tl-world { position: absolute; inset: 0; padding: 22px 26px 0; }

.tl-back { display: block; font-size: .78rem; color: #6b7590; }
.tl-title {
  margin-top: 2px;
  font-size: 1.35rem; font-weight: 700; line-height: 1.15;
  letter-spacing: -.01em; color: #0f1b3d;
}

.tl-meter {
  position: relative; height: 1.65rem; margin-top: 14px;
  border-radius: 999px;
  background: #f2f4f9;
  box-shadow: inset 0 0 0 1px #e4e8f0;
  overflow: hidden;
}
.tl-fill {
  position: absolute; inset: 0 auto 0 0;
  border-radius: 999px;
  background-color: #10b981;
  background-image: repeating-linear-gradient(45deg,
    rgba(255, 255, 255, .14) 0 5px, transparent 5px 10px);
  transition: width .35s ease;
}
.tl-labels {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: .75rem; padding: 0 .8rem;
  font-size: .78rem; white-space: nowrap;
}
.tl-caption { color: #4a5578; }
.tl-pct { font-weight: 600; font-variant-numeric: tabular-nums; color: #3c476b; }
.tl-on-fill { transition: clip-path .35s ease; }
.tl-on-fill .tl-caption,
.tl-on-fill .tl-pct { color: #fff; }

.tl-card {
  margin-top: 14px;
  height: 382px;
  overflow: hidden;
  background: #fff;
  border-radius: 22px;
  padding: 1.15rem 1.15rem 0;
  box-shadow: 0 1px 2px rgba(15, 27, 61, .05), 0 14px 32px -14px rgba(15, 27, 61, .16);
}
.tl-section {
  font-size: .68rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .09em; color: #98a1b9;
  margin-bottom: .55rem;
}
.tl-viewport { height: 336px; overflow: hidden; }
.is-anim .tl-viewport {
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 30px);
  mask-image: linear-gradient(180deg, transparent 0, #000 30px);
}
.tl-list { list-style: none; padding-bottom: 8px; }

.tl-item {
  display: flex; align-items: flex-start; gap: .75rem;
  padding: .7rem .6rem;
  border-bottom: 1px solid #f2f4f9;
  border-left: 3px solid transparent;
}
.tl-item:last-child { border-bottom: none; }
.tl-content { flex: 1; min-width: 0; }
.tl-label { font-weight: 500; font-size: .92rem; }
.tl-item.is-done .tl-label { color: #98a1b9; }
.tl-item.is-done .tl-label-text { text-decoration: line-through; }
.tl-desc { font-size: .8rem; color: #6b7590; margin-top: .1rem; }

.tl-meta { height: 0; overflow: hidden; transition: height .3s ease; }
.tl-item.is-done .tl-meta { height: 22px; }
.tl-done { display: block; font-size: .8rem; color: #6b7590; margin-top: .1rem; white-space: nowrap; }

.tl-check {
  flex-shrink: 0; margin-top: .2rem;
  width: 1.1rem; height: 1.1rem;
  display: grid; place-items: center;
  border: 1.5px solid #98a1b9; border-radius: 3px;
  background: #fff; color: transparent;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.tl-check.is-hot { border-color: #3d68de; }
.tl-item.is-done .tl-check { background: #26325a; border-color: #26325a; color: #fff; }
.tl-check svg { transform: scale(.35); transition: transform .24s cubic-bezier(.34, 1.56, .64, 1); }
.tl-item.is-done .tl-check svg { transform: none; }

.tl-actions { display: flex; align-items: center; gap: .35rem; flex-shrink: 0; }
.tl-act { display: inline-flex; padding: .3rem; color: #98a1b9; }
.tl-btn {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .3rem .55rem; border-radius: 8px;
  background: #eceff8; color: #4a5578;
  font-size: .8rem; font-weight: 500; white-space: nowrap;
}
.tl-btn-bare { background: transparent; }
.tl-sep { width: 1px; height: 16px; background: #e4e8f0; margin: 0 .15rem; }

@media (max-width: 520px) {
  .taskdemo { aspect-ratio: 520 / 620; }
  .tl-stage { width: 520px; height: 620px; margin-left: -260px; }
  .tl-actions { display: none; }
  .tl-card { height: 482px; }
  .tl-viewport { height: 436px; }
}
.fm-shot { background: #fbfbfd; }
.formdemo {
  position: relative;
  aspect-ratio: 820 / 520;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.6;
  color: #0f1b3d;
  user-select: none;
}
.fm-stage {
  position: absolute; top: 0; left: 50%; margin-left: -410px;
  width: 820px; height: 520px;
  transform-origin: 50% 0;
  transform: scale(var(--fd-scale, .69));
  background: #fbfbfd;
}
.fm-world { position: absolute; inset: 0; padding: 22px 26px 0; }

.fm-back { display: block; font-size: .78rem; color: #6b7590; }
.fm-title-row { display: flex; align-items: center; gap: .6rem; margin-top: 2px; }
.fm-title {
  font-size: 1.35rem; font-weight: 700; line-height: 1.15;
  letter-spacing: -.01em; color: #0f1b3d;
}
.fm-badge {
  padding: .12rem .5rem; border-radius: 999px;
  background: #fdf3df; color: #96660c;
  font-size: .7rem; font-weight: 600;
}

.fe-editor {
  display: grid; grid-template-columns: 220px 1fr; gap: 1rem;
  margin-top: 14px; height: 396px;
}
.fe-toolbox {
  background: #fff; border-radius: 18px;
  box-shadow: 0 1px 2px rgba(15, 27, 61, .05), 0 14px 32px -14px rgba(15, 27, 61, .16);
  padding: .9rem;
  overflow: hidden;
}
.fe-toolbox-title {
  margin: 0 0 .5rem;
  font-size: .68rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .09em; color: #98a1b9;
}
.fe-toolbox-spaced { margin-top: .8rem; }
.fe-toolbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }

.fe-tool {
  display: flex; flex-direction: column; align-items: center; gap: .25rem;
  min-width: 0; overflow: hidden;
  padding: .55rem .25rem;
  border: 1px solid transparent; border-radius: 12px;
  background: #eceff8; color: #3c476b;
  font: inherit; font-size: .72rem; font-weight: 500;
  cursor: grab;
  transition: background .15s, box-shadow .15s, transform .15s;
}
.fe-tool span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fe-tool-layout { background: #f5f3ff; color: #6d28d9; }
.fe-tool.is-hot { background: #f4f7fe; box-shadow: 0 1px 6px rgba(15, 27, 61, .06); transform: translateY(-1px); }
.fe-tool-layout.is-hot { background: #ede9fe; }
.fe-tool.is-down { transform: scale(.95); }

.fe-canvas {
  background: #fbfbfd;
  border: 2px dashed #e4e8f0;
  border-radius: 14px;
  padding: 1rem;
  overflow: hidden;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.fe-canvas.is-over {
  border-color: #5c82e6;
  background: rgba(42, 86, 214, .04);
  box-shadow: inset 0 0 0 2px rgba(42, 86, 214, .08);
}
.fe-viewport { height: 362px; overflow: hidden; }
.fe-list { display: flex; flex-direction: column; gap: .5rem; }

.fe-field[hidden] { display: none; }
.fe-field {
  display: flex; align-items: flex-start; gap: .5rem;
  padding: .7rem;
  background: #fff; border: 1px solid #e4e8f0; border-radius: 12px;
}
.fe-field-layout { background: #fbfbfd; border-style: dashed; border-color: #cbd2e0; }
.fe-grip {
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; color: #cbd2e0;
}
.fe-body { flex: 1; min-width: 0; }
.fe-heading { font-weight: 700; font-size: 1.15rem; color: #26325a; line-height: 1.3; }
.fe-label-row { display: flex; align-items: center; gap: .4rem; margin-bottom: .35rem; }
.fe-badge {
  padding: .1rem .4rem; border-radius: 6px;
  background: #f2f4f9; color: #6b7590;
  font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .09em;
  white-space: nowrap;
}
.fe-label {
  font-weight: 600; font-size: .88rem; color: #26325a;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.fe-preview { margin-top: .25rem; }
.fe-input {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  padding: .3rem .55rem;
  border: 1px solid #e4e8f0; border-radius: 8px;
  background: #fff; color: #98a1b9;
  font-size: .82rem; opacity: .7;
}
.fe-acts { flex-shrink: 0; display: flex; align-items: center; gap: .15rem; opacity: .7; }
.fe-act {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 8px; color: #6b7590;
}

.fe-ghost {
  position: absolute; z-index: 150;
  padding: .4rem .75rem;
  background: #fff; border: 1px solid #5c82e6; border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .15), 0 2px 6px rgba(42, 86, 214, .2);
  font-size: .82rem; font-weight: 600; color: #3c476b;
  white-space: nowrap; pointer-events: none;
  opacity: .92;
}

.fe-drop-indicator {
  position: relative; height: 3px; margin: -1px 0;
  background: #3d68de; border-radius: 2px;
  animation: fe-indicator-pulse 1s ease-in-out infinite;
}
.fe-drop-indicator::before,
.fe-drop-indicator::after {
  content: ""; position: absolute; top: 50%;
  width: 9px; height: 9px; border-radius: 50%;
  background: #3d68de; transform: translateY(-50%);
}
.fe-drop-indicator::before { left: -4px; }
.fe-drop-indicator::after { right: -4px; }
@keyframes fe-indicator-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .6; }
}

.fe-field.is-landing { animation: fe-field-land .3s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes fe-field-land {
  0% { opacity: 0; transform: translateY(-8px) scale(.97); }
  60% { opacity: 1; transform: translateY(1px) scale(1.005); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.fe-label.is-typing::after {
  content: ""; display: inline-block;
  width: 1px; height: .9em; margin-left: 1px;
  background: #3d68de; vertical-align: -.1em;
  animation: fe-caret 1s steps(1) infinite;
}
@keyframes fe-caret {
  0%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

@media (max-width: 520px) {
  .formdemo { aspect-ratio: 520 / 560; }
  .fm-stage { width: 520px; height: 560px; margin-left: -260px; }
  .fe-editor { grid-template-columns: 1fr; height: 436px; }
  .fe-toolbox { display: none; }
  .fe-viewport { height: 402px; }
}

.pr-shot {
  overflow: visible;
  background: #fbfbfd;
  transition: background-color .55s ease, box-shadow .55s ease;
}
.pr-shot.is-bare { background: none; box-shadow: none; }
.protodemo {
  position: relative;
  aspect-ratio: 820 / 560;
  font-size: 16px;
  line-height: 1.6;
  color: #0f1b3d;
  user-select: none;
}
.pr-stage {
  position: absolute; top: 0; left: 50%; margin-left: -410px;
  width: 820px; height: 560px;
  transform-origin: 50% 0;
  transform: scale(var(--fd-scale, .69));
  padding: 30px 36px;
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 46px;
}

.pr-left { position: relative; display: flex; min-height: 0; }

.pr-scene {
  position: absolute; inset: 0; z-index: 3;
  display: none;
  transition: opacity .45s ease;
}
.is-anim .pr-scene { display: block; }
.pr-scene.is-gone { opacity: 0; }
.pr-mic { position: relative; width: 100%; height: 100%; }
.pr-mic::before {
  content: ''; position: absolute; inset: 6% 4% 8%;
  background: radial-gradient(54% 50% at 50% 44%, rgba(61, 104, 222, .12), rgba(61, 104, 222, 0) 72%);
}
.pr-mic-canvas, .pr-mic-flat {
  position: absolute; inset: 0;
  display: block; width: 100%; height: 100%;
}
.pr-mic-flat { padding: 3% 0; }
.pr-mic.is-3d .pr-mic-flat { display: none; }

.pr-cta {
  position: absolute; inset: 0; z-index: 4;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .8rem; padding: 0 1rem; text-align: center;
  opacity: 0; visibility: hidden;
  transform: translateY(12px) scale(.96);
  transition: opacity .4s ease, transform .5s cubic-bezier(.2, .8, .2, 1), visibility .4s;
}
.pr-stage.is-ask .pr-cta { opacity: 1; visibility: visible; transform: none; }
.pr-cta-btn {
  position: relative;
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .68rem 1.2rem; border-radius: 13px;
  background: #26325a; color: #fff;
  font-size: .95rem; font-weight: 600; white-space: nowrap;
  box-shadow: 0 12px 30px -12px rgba(38, 50, 90, .85);
}
.pr-cta-btn svg { width: 1.1rem; height: 1.1rem; flex: none; }
.pr-stage.is-ask .pr-cta-btn::after {
  content: ''; position: absolute; inset: -6px;
  border-radius: 18px; border: 2px solid rgba(61, 104, 222, .55);
  animation: pr-halo 2s ease-out infinite;
}
@keyframes pr-halo {
  0%        { opacity: .8; transform: scale(.95); }
  70%, 100% { opacity: 0;  transform: scale(1.13); }
}
.pr-cta-note { font-size: .82rem; color: #6b7590; max-width: 18rem; line-height: 1.5; }

.pr-doc {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; justify-content: center;
  transition: opacity .45s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
}
.pr-doc.is-veiled { opacity: 0; }
.pr-stage.is-result .pr-doc { transform: translateX(203px); transition-delay: 0s, .18s; }
.pr-stage.is-result .pr-viewport { opacity: 0; }

@property --pr-sweep { syntax: "<angle>"; inherits: false; initial-value: 0turn; }
.pr-paper {
  position: relative;
  transform-origin: 50% 50%;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1) 1.75s;
}
.pr-paper::before {
  content: ''; position: absolute; inset: -22px -24px;
  border: 2px solid rgba(61, 104, 222, .42);
  border-radius: 18px;
  opacity: 0;
  --pr-sweep: 0turn;
  -webkit-mask-image: conic-gradient(#000 var(--pr-sweep), transparent 0);
  mask-image: conic-gradient(#000 var(--pr-sweep), transparent 0);
  transition: opacity .25s ease .72s, --pr-sweep .95s cubic-bezier(.4, .1, .3, 1) .8s;
}
.pr-stage.is-result .pr-paper { transform: scale(var(--pr-grow, 1.18)); }
.pr-stage.is-result .pr-paper::before { opacity: 1; --pr-sweep: 1turn; }
.pr-think[hidden] { display: none; }
.pr-think {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; gap: .55rem;
  font-size: .88rem; color: #6b7590;
}
.pr-think-dots { display: inline-flex; gap: .24rem; }
.pr-think-dots i {
  width: .36rem; height: .36rem; border-radius: 50%;
  background: #94a3b8;
  animation: pr-think 1.1s ease-in-out infinite;
}
.pr-think-dots i:nth-child(2) { animation-delay: .16s; }
.pr-think-dots i:nth-child(3) { animation-delay: .32s; }
@keyframes pr-think {
  0%, 100% { opacity: .3; transform: translateY(0); }
  50%      { opacity: 1;  transform: translateY(-2px); }
}
.pr-doc-label {
  display: block; margin-bottom: 1rem;
  font-size: .7rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; color: #a2aabf;
}
.pr-draft { display: flex; flex-direction: column; gap: .85rem; }
.pr-item, .pr-doc-label {
  transition: opacity .45s ease, transform .45s cubic-bezier(.2, .7, .2, 1);
}
.pr-item.is-pending, .pr-doc-label.is-pending { opacity: 0; transform: translateY(10px); }
.pr-no {
  display: inline-block; margin-right: .45rem;
  padding: .08rem .42rem; border-radius: 6px;
  background: #eceff8; color: #4a5578;
  font-size: .7rem; font-weight: 700; letter-spacing: .03em;
  vertical-align: 1px;
}
.pr-item b { font-size: .95rem; font-weight: 650; color: #0f1b3d; }
.pr-item p { font-size: .85rem; color: #4a5578; margin-top: .15rem; }
.pr-item-dec {
  padding: .65rem .8rem; border-radius: 14px;
  background: #f2f5fc;
}
.pr-no-dec { background: #e0e9ff; color: #2a4fb5; }

.pr-doc-acts { display: flex; gap: .5rem; margin-top: 1.25rem; }
.pr-doc-acts.is-veiled { opacity: 0; }
.pr-doc-acts { transition: opacity .35s ease; }
.pr-btn {
  padding: .38rem .8rem; border-radius: 9px;
  background: #eceff8; color: #4a5578;
  font-size: .82rem; font-weight: 550; white-space: nowrap;
}
.pr-btn-main { background: #26325a; color: #fff; }

.pr-viewport {
  min-height: 0; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: opacity .55s ease;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 34px);
  mask-image: linear-gradient(180deg, transparent 0, #000 34px);
}
.is-anim .pr-viewport {
  overflow: visible;
  justify-content: flex-start;
  -webkit-mask-image: none; mask-image: none;
}
.pr-chat {
  position: relative;
  list-style: none; display: flex; flex-direction: column; gap: .95rem;
  --pr-from-x: -240px; --pr-from-y: -280px;
  --pr-zoom: 1; --pr-reach: 0px;
  transform-origin: 100% 0;
}
.pr-stage.is-kept .pr-chat { --pr-zoom: .72; }
.is-anim .pr-chat { transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.pr-turn { display: flex; align-items: flex-start; gap: .6rem; transform-origin: 0 0; }
.is-anim .pr-turn {
  animation: pr-turn-in .78s cubic-bezier(.45, .05, .25, 1) backwards;
  transition: opacity .3s ease;
}
.pr-turn.is-pending { display: none; }
@keyframes pr-turn-in {
  from { opacity: 0; transform: translate(var(--pr-from-x), var(--pr-from-y)) scale(.45) rotate(-14deg); }
  to   { opacity: 1; transform: none; }
}
.pr-ava {
  flex: none; width: 2.05rem; height: 2.05rem; border-radius: 50%;
  display: grid; place-items: center;
  font-size: .76rem; font-weight: 700; letter-spacing: .02em;
  background: #eceff8; color: #4a5578;
}
.pr-bubble {
  max-width: 94%;
  padding: .64rem 1rem .72rem;
  border-radius: 7px 21px 21px 21px;
  background: #fff;
  transform-origin: 0 0;
  transition: transform .55s cubic-bezier(.2, .7, .2, 1);
  box-shadow: 0 1px 2px rgba(15, 27, 61, .04), 0 16px 32px -20px rgba(15, 27, 61, .55);
}
.is-anim .pr-stage:not(.is-kept) .pr-bubble { transform: rotate(-1.8deg); }
.pr-turn:nth-child(2) .pr-bubble { transition-delay: .06s; }
.pr-turn:nth-child(3) .pr-bubble { transition-delay: .12s; }
.pr-turn:nth-child(4) .pr-bubble { transition-delay: .18s; }
.pr-turn:nth-child(5) .pr-bubble { transition-delay: .24s; }
.pr-turn:nth-child(6) .pr-bubble { transition-delay: .3s; }
.pr-turn:nth-child(7) .pr-bubble { transition-delay: .36s; }
.pr-who {
  display: block; margin-bottom: .1rem;
  font-size: .86rem; font-weight: 650; color: #6b7590;
  transition: color .4s ease;
}
.pr-said { display: block; font-size: 1.18rem; color: #26325a; }
.pr-turn[data-voice="1"] .pr-ava { background: #e6edfd; color: #2f55c4; }
.pr-turn[data-voice="2"] .pr-ava { background: #ddf1ec; color: #0b7c6a; }
.pr-turn[data-voice="3"] .pr-ava { background: #ece6fb; color: #5a3fc0; }
.pr-turn[data-voice="1"] .pr-who { color: #2f55c4; }
.pr-turn[data-voice="2"] .pr-who { color: #0b7c6a; }
.pr-turn[data-voice="3"] .pr-who { color: #5a3fc0; }
.pr-stage.is-anon .pr-turn .pr-who { color: #6b7590; }

.pr-w { display: inline; animation: pr-word .26s ease both; }
.pr-w[hidden] { display: none; }
@keyframes pr-word {
  from { opacity: 0; filter: blur(2px); }
  to   { opacity: 1; filter: none; }
}
.pr-bubble.is-typing .pr-said::after {
  content: ''; display: inline-block; vertical-align: -1px;
  width: 2px; height: .9em; margin-left: 3px; border-radius: 1px;
  background: #3d68de;
  animation: pr-caret 1s steps(2, start) infinite;
}
@keyframes pr-caret {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}

@media (max-width: 640px) {
  .protodemo { aspect-ratio: 520 / 800; }
  .pr-stage {
    width: 520px; height: 800px; margin-left: -260px;
    grid-template-columns: 1fr; grid-template-rows: 1fr 1.15fr; gap: 24px;
    padding: 26px 28px;
  }
  .pr-chat { --pr-from-x: 150px; --pr-mouth-y: 100px; }
  .pr-stage:not(.is-kept) .pr-chat { --pr-reach: 180px; --pr-start: -40px; }
  .pr-viewport { position: relative; z-index: 3; }
  .pr-shot, .protodemo { overflow: hidden; }
  .pr-stage.is-result .pr-doc { transform: translateY(206px); }
  .pr-paper { --pr-grow: 1.03; }
  .pr-paper::before { inset: -14px -14px; }
  .pr-cta-note { max-width: 22rem; }
}

.pr-points { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-top: 18px; }
.pr-points li { display: flex; gap: 10px; font-size: .94rem; color: var(--slate-600); align-items: flex-start; }
.pr-points li svg { width: 17px; height: 17px; color: var(--gold-600); flex: none; margin-top: 4px; }




/* Two modes share this markup: without .is-pinned the grid scrolls itself
   (touch, reduced motion); with .is-pinned the section sticks and index.html
   pushes the track by transform while .features-viewport clips. The room for
   the card shadows (--gal-*) therefore always sits on whichever element clips. */
.features-viewport {
  --gal-x: max(24px, calc((100vw - var(--maxw)) / 2 + 24px));
  --gal-t: 34px; --gal-b: 76px;
  --gal-lead: 12px;
}
.features-grid {
  display: flex; gap: 24px; align-items: stretch;
  overflow-x: auto; scroll-snap-type: x proximity;
  scroll-padding-left: calc(var(--gal-x) + var(--gal-lead));
  margin: calc(var(--gal-t) * -1) calc(var(--gal-x) * -1) calc(var(--gal-b) * -1 + 30px);
  padding: var(--gal-t) calc(var(--gal-x) + var(--gal-lead)) var(--gal-b);
  scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
}
.features-grid::-webkit-scrollbar { display: none; }
.features-grid > .feature { flex: 0 0 calc((100% - 48px) / 3); scroll-snap-align: start; }

/* --gal-x uses 100vw, which includes the scrollbar - clip that excess at the
   window edge. clip (unlike hidden) keeps the sticky stage working. */
.features-pin { position: relative; overflow-x: clip; }
.features-pin.is-pinned .features-sticky { position: sticky; top: 0; }
.features-pin.is-pinned .section-head { margin-bottom: 36px; }
.features-pin.is-pinned .features-viewport {
  overflow: hidden;
  margin: calc(var(--gal-t) * -1) calc(var(--gal-x) * -1) calc(var(--gal-b) * -1 + 30px);
  padding: var(--gal-t) calc(var(--gal-x) + var(--gal-lead)) var(--gal-b);
}
.features-pin.is-pinned .features-grid {
  overflow: visible; margin: 0; padding: 0;
  will-change: transform;
}
.features-runway { height: 0; }

.carousel-dots { display: none; }
.features-grid + .carousel-dots,
.features-viewport + .carousel-dots { display: flex; }
.carousel-dots { justify-content: center; gap: 9px; margin-top: 2px; }
.carousel-dots button {
  width: 8px; height: 8px; padding: 0; border: none; border-radius: 50%;
  background: var(--slate-300); cursor: pointer; -webkit-appearance: none; appearance: none;
  transition: background .2s ease, transform .2s ease;
}
.carousel-dots button:hover { background: var(--slate-400); }
.carousel-dots button.is-active { background: var(--gold-600); transform: scale(1.35); }
.feature {
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: 34px 30px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }

.feature.is-focus { transform: translateY(-8px); box-shadow: var(--shadow-card-hover); }
.feature.is-focus:hover { transform: translateY(-10px); }

.feature .ficon { position: relative; display: block; width: 38px; height: 38px; margin: 0 auto 20px; }
.feature .ficon::before {
  content: ""; position: absolute; inset: -17px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(244, 183, 64, .32), transparent 70%);
  opacity: 0; transform: scale(.4);
  transition: opacity .35s ease, transform .35s cubic-bezier(.2, .7, .2, 1);
}
.feature.is-focus .ficon::before { opacity: 1; transform: none; }
.feature .ficon svg { width: 38px; height: 38px; color: var(--navy); stroke-width: 1.5; transition: color .3s ease; }
.feature.is-focus .ficon svg { color: var(--gold-600); }
.feature.is-focus .ficon svg > * { animation: ficon-draw .8s ease backwards; }
@keyframes ficon-draw {
  from { stroke-dashoffset: var(--len, 0); }
  to   { stroke-dashoffset: 0; }
}
.feature h3 { font-size: 1.28rem; margin-bottom: 10px; }
.feature p { color: var(--slate-500); font-size: .99rem; margin-bottom: 18px; }
.feature ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.feature li { display: flex; gap: 10px; font-size: .94rem; color: var(--slate-600); align-items: flex-start; }
.feature li svg { width: 17px; height: 17px; color: var(--gold-600); flex: none; margin-top: 3px; }

.ai { background: linear-gradient(165deg, #0c1631, var(--navy) 60%, #0a1430); color: rgba(255,255,255,.8); position: relative; overflow: hidden; }
.ai::before { content:""; position:absolute; width:560px; height:560px; right:-120px; top:-160px; border-radius:50%;
  background: radial-gradient(circle, rgba(59,130,246,.28), transparent 65%); pointer-events:none; }
.ai-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ai h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 0 0 18px; }
.ai-lead { font-size: 1.12rem; color: rgba(255,255,255,.74); margin-bottom: 28px; }
.ai-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.ai-list li { display: flex; gap: 14px; }
.ai-list .ic { display: block; width: 22px; height: 22px; flex: none; margin-top: 3px; }
.ai-list .ic svg { width: 22px; height: 22px; color: var(--gold); }
.ai-list b { color: #fff; display: block; font-weight: 650; }
.ai-list span { font-size: .95rem; color: rgba(255,255,255,.66); }

.chat { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--shadow-lg); }
.chat-head { display: flex; align-items: center; gap: 11px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 18px; }
.chat-head .av { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, var(--blue), var(--blue-600)); display: grid; place-items: center; }
.chat-head .av svg { width: 19px; height: 19px; color: #fff; }
.chat-head b { color: #fff; font-size: .98rem; }
.chat-head small { color: rgba(255,255,255,.5); display: block; font-size: .8rem; }
.bubble { padding: 13px 16px; border-radius: 14px; font-size: .94rem; margin-bottom: 12px; max-width: 88%; }
.bubble.user { background: var(--gold); color: var(--navy); margin-left: auto; border-bottom-right-radius: 5px; font-weight: 550; }
.bubble.bot { background: rgba(255,255,255,.08); color: rgba(255,255,255,.88); border: 1px solid rgba(255,255,255,.1); border-bottom-left-radius: 5px; }
.bubble.bot .confirm { margin-top: 12px; display: flex; gap: 8px; }
.bubble.bot .confirm b { font-size: .82rem; padding: 6px 14px; border-radius: var(--r-pill); }
.confirm .yes { background: var(--gold); color: var(--navy); }
.confirm .no { background: rgba(255,255,255,.16); color: rgba(255,255,255,.78); box-shadow: 0 4px 12px rgba(0,0,0,.25); }
.chat.chat-anim .bubble { opacity: 0; transform: translateY(10px); }
.chat.chat-anim .bubble.user { transform: translateY(10px) translateX(14px); }
.chat.chat-anim .bubble.show { opacity: 1; transform: none; transition: opacity .4s ease, transform .45s cubic-bezier(.2,.7,.2,1); }
.chat-anim .bubble.bot .confirm { opacity: 0; transition: opacity .45s ease; }
.chat-anim .bubble.bot .confirm.show { opacity: 1; }
.bubble.typing { display: flex; align-items: center; gap: 5px; width: max-content; }
.bubble.typing span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.55); animation: chat-typing 1.3s infinite ease-in-out; }
.bubble.typing span:nth-child(2) { animation-delay: .18s; }
.bubble.typing span:nth-child(3) { animation-delay: .36s; }
@keyframes chat-typing { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-5px); opacity: 1; } }
.bubble .msg.streaming::after {
  content: ""; display: inline-block; width: 7px; height: 1.05em; margin: 0 -9px 0 2px;
  vertical-align: text-bottom; background: var(--blue-400); border-radius: 1px;
  animation: chat-cursor .85s steps(2, start) infinite;
}
@keyframes chat-cursor { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .chat.chat-anim .bubble, .chat.chat-anim .bubble.user { opacity: 1; transform: none; }
  .chat-anim .bubble.bot .confirm { opacity: 1; }
}

.secure-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.secure {
  text-align: left; padding: 30px 26px; border-radius: var(--r-md); background: #fff;
  box-shadow: var(--shadow-card); transition: transform .25s ease, box-shadow .25s ease;
}
.secure:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.secure .ic { display: block; width: 28px; height: 28px; margin-bottom: 16px; }
.secure .ic svg { width: 28px; height: 28px; color: var(--navy); }
.secure h3 { font-size: 1.12rem; margin-bottom: 8px; }
.secure p { font-size: .93rem; color: var(--slate-500); }

.pricing { background: var(--slate-50); }
.price-toggle {
  position: relative; display: grid; grid-template-columns: 1fr 1fr;
  padding: 5px; width: fit-content; margin: -28px auto 56px;
  background: #fff; border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
}
.price-toggle::before {
  content: ""; position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px);
  border-radius: var(--r-pill); background: var(--navy);
  box-shadow: 0 4px 12px rgba(15, 27, 61, .22);
  transition: transform .45s cubic-bezier(.3, 1.3, .5, 1);
}
.price-toggle[data-mode="hosted"]::before { transform: translateX(100%); }
.pt-opt {
  position: relative; z-index: 1;
  border: none; background: none; cursor: pointer; font-family: var(--font);
  font-size: .95rem; font-weight: 600; color: var(--slate-500);
  padding: 10px 22px; border-radius: var(--r-pill); transition: color .3s ease;
}
.pt-opt.is-active { color: #fff; }
@media (prefers-reduced-motion: reduce) {
  .price-toggle::before { transition: none; }
}

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border-radius: var(--r-lg);
  padding: 36px 32px; box-shadow: var(--shadow-card); transition: transform .2s ease, box-shadow .2s ease;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.price-card.is-popular {
  box-shadow: var(--shadow-glow);
  transform: scale(1.03);
}
.price-card.is-popular:hover { transform: scale(1.03) translateY(-6px); }
.pc-flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--navy); font-size: .76rem; font-weight: 750;
  letter-spacing: .04em; text-transform: uppercase; padding: 5px 16px; border-radius: var(--r-pill);
  box-shadow: 0 6px 16px rgba(244,183,64,.4);
}
.price-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.pc-desc { font-size: .94rem; color: var(--slate-500); margin-bottom: 24px; min-height: 60px; }
.pc-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 6px; }
.pc-currency { font-size: 1.4rem; font-weight: 700; color: var(--navy); }
.pc-amount { font-size: 3.1rem; font-weight: 850; color: var(--navy); letter-spacing: -.03em; line-height: 1; }
.pc-period { font-size: 1rem; color: var(--slate-400); font-weight: 550; }
.pc-detail { font-size: .9rem; color: var(--slate-500); margin-bottom: 18px; min-height: 22px; }
.pc-users {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-size: .9rem; font-weight: 600; color: var(--slate-700);
  background: var(--slate-100); padding: 7px 14px; border-radius: var(--r-pill); margin-bottom: 24px;
}
.pc-users svg { width: 16px; height: 16px; color: var(--slate-500); }
.pc-features { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 30px; flex: 1; }
.pc-features li { display: flex; gap: 10px; font-size: .95rem; color: var(--slate-600); }
.pc-features li svg { width: 17px; height: 17px; color: var(--gold-600); flex: none; margin-top: 3px; }
.pc-features li.hl { color: var(--navy); font-weight: 600; }
.price-card .btn { width: 100%; }

.ai-pricing { margin-top: 76px; padding-top: 64px; border-top: 1px solid var(--slate-200); }
.ai-pricing-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.ai-pricing-head h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 12px; }
.ai-pricing-head p { color: var(--slate-500); font-size: 1.05rem; }
.ai-pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; max-width: 940px; margin: 0 auto; }
.ai-pack {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border-radius: var(--r-md);
  padding: 28px 26px; box-shadow: var(--shadow-card); transition: transform .2s ease, box-shadow .2s ease;
}
.ai-pack:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); }
.ai-pack.is-popular { box-shadow: var(--shadow-glow); }
.ap-flag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--navy); font-size: .72rem; font-weight: 750;
  letter-spacing: .04em; text-transform: uppercase; padding: 4px 14px; border-radius: var(--r-pill);
  box-shadow: 0 6px 16px rgba(244,183,64,.4);
}
.ap-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.ap-top h4 { font-size: 1.2rem; color: var(--navy); }
.ap-requests { font-size: .98rem; color: var(--slate-600); margin-bottom: 14px; }
.ap-requests strong { color: var(--navy); font-size: 1.3rem; font-weight: 800; }
.ap-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 16px; }
.ap-amount { font-size: 2.2rem; font-weight: 850; color: var(--navy); letter-spacing: -.02em; }
.ap-per { font-size: .95rem; color: var(--slate-400); font-weight: 550; }
.ap-desc { font-size: .92rem; color: var(--slate-500); margin-bottom: 20px; }
.ap-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.ap-features li { display: flex; gap: 10px; font-size: .93rem; color: var(--slate-600); }
.ap-features li svg { width: 16px; height: 16px; color: var(--gold-600); flex: none; margin-top: 3px; }
.ap-features li.hl { color: var(--navy); font-weight: 600; }

.pricing-addons { max-width: 760px; margin: 56px auto 0; text-align: center; interpolate-size: allow-keywords; }
.pa-head {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px; cursor: pointer; list-style: none;
  transition: background .22s ease;
}
.pa-head::-webkit-details-marker { display: none; }
.pa-head:hover { background: var(--slate-100); }
.pa-head:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.pa-title { font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-400); transition: color .22s ease; }
.pa-head:hover .pa-title { color: var(--slate-600); }
.pa-caret { width: 15px; height: 15px; color: var(--slate-400); transition: transform .38s cubic-bezier(.4, 0, .2, 1), color .22s ease; }
.pricing-addons[open] .pa-caret { transform: rotate(180deg); color: var(--navy); }

.pricing-addons::details-content {
  block-size: 0; overflow: clip; overflow-clip-margin: 40px; opacity: 0;
  transition: block-size .42s cubic-bezier(.4, 0, .2, 1), opacity .3s ease, content-visibility .42s;
  transition-behavior: allow-discrete;
}
.pricing-addons[open]::details-content { block-size: auto; opacity: 1; }

.pa-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 20px; }
.pricing-addons[open] .pa-item { animation: paIn .42s cubic-bezier(.32, 0, .18, 1) backwards; }
.pricing-addons[open] .pa-item:nth-child(1) { animation-delay: .06s; }
.pricing-addons[open] .pa-item:nth-child(2) { animation-delay: .12s; }
.pricing-addons[open] .pa-item:nth-child(3) { animation-delay: .18s; }
.pricing-addons[open] .pa-item:nth-child(4) { animation-delay: .24s; }
.pricing-addons[open] .pa-item:nth-child(5) { animation-delay: .3s; }
.pricing-addons[open] .pa-item:nth-child(6) { animation-delay: .36s; }
@keyframes paIn {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.pa-item {
  display: flex; align-items: flex-start; gap: 14px; text-align: left;
  background: #fff; border-radius: var(--r-md); padding: 18px 20px; box-shadow: var(--shadow-card);
}
.pa-ic { display: block; width: 22px; height: 22px; flex: none; margin-top: 3px; }
.pa-ic svg { width: 22px; height: 22px; color: var(--navy); }
.pa-item strong { display: block; color: var(--navy); font-size: 1rem; margin-bottom: 2px; }
.pa-item span { font-size: .89rem; color: var(--slate-500); }

@media (prefers-reduced-motion: reduce) {
  .pricing-addons::details-content { transition: none; }
  .pricing-addons[open] .pa-item { animation: none; }
  .pa-caret { transition: color .22s ease; }
}

.pricing-note { text-align: center; margin: 44px auto 8px; font-size: 1rem; color: var(--slate-600); }
.pricing-note a { color: var(--blue-600); font-weight: 650; }
.pricing-note a:hover { text-decoration: underline; }
.pricing-legal { text-align: center; font-size: .85rem; color: var(--slate-400); }

/* index.html animates the height: <details> has no transition of its own,
   and only one item stays open at a time. */
.faq { padding-bottom: 90px; }
.faq .section-head { margin-bottom: 48px; }
.faq .section-head h2 { margin-bottom: 0; }
.faq-list { max-width: 840px; margin: 0 auto; }

.faq-item {
  margin-bottom: 12px;
  border-radius: var(--r-md);
  background: var(--slate-50);
  box-shadow: 0 1px 2px rgba(15, 27, 61, .04);
  transition: background .25s ease, box-shadow .35s cubic-bezier(.2, .7, .2, 1);
}
.faq-item:last-child { margin-bottom: 0; }
.faq-item:hover { background: #eef2f8; box-shadow: 0 8px 18px -10px rgba(15, 27, 61, .24); }
.faq-item[open],
.faq-item[open]:hover {
  background: var(--white);
  box-shadow: 0 22px 46px -20px rgba(15, 27, 61, .34);
}

/* display: flex drops the disclosure triangle in Chrome and Safari,
   list-style: none in Firefox. */
.faq-item > summary {
  display: flex; align-items: center; gap: 20px;
  padding: 21px 24px 21px 26px; cursor: pointer; list-style: none;
  -webkit-tap-highlight-color: transparent;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary:focus-visible { outline: 2px solid var(--blue); outline-offset: -3px; border-radius: var(--r-md); }
.faq-item > summary h3 {
  flex: 1; margin: 0; line-height: 1.4;
  font-size: 1.06rem; font-weight: 700; color: var(--navy);
  transition: color .18s ease;
}
.faq-item > summary:hover h3 { color: var(--blue-600); }
.faq-item[open] > summary:hover h3 { color: var(--navy); }

.faq-mark {
  position: relative; flex: none; width: 28px; height: 28px;
  border-radius: 50%; background: var(--white);
  box-shadow: 0 1px 3px rgba(15, 27, 61, .14);
  transition: background .28s ease, box-shadow .28s ease,
              transform .38s cubic-bezier(.2, .7, .2, 1);
}
.faq-mark::before, .faq-mark::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 11px; height: 2px; border-radius: 2px; background: var(--navy);
  transform: translate(-50%, -50%);
  transition: opacity .28s ease, background .28s ease;
}
.faq-mark::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item:hover .faq-mark { box-shadow: 0 3px 9px rgba(15, 27, 61, .2); }
.faq-item[open] .faq-mark {
  transform: rotate(180deg);
  background: var(--gold);
  box-shadow: 0 4px 12px rgba(244, 183, 64, .42);
}
.faq-item[open] .faq-mark::after { opacity: 0; }

.faq-answer {
  padding: 0 26px 24px; color: var(--slate-600);
  opacity: 0; transform: translateY(-6px);
  transition: opacity .3s ease, transform .3s cubic-bezier(.2, .7, .2, 1);
}
.faq-item[open] .faq-answer { opacity: 1; transform: none; transition-delay: .08s; }
.faq-answer p { margin: 0 0 12px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer ul { margin: 0 0 14px; padding-left: 1.2rem; }
.faq-answer li { margin: 0 0 7px; }
.faq-answer li::marker { color: var(--slate-300); }
.faq-answer li b { color: var(--navy); font-weight: 650; }

.faq-defs {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 36px; margin: 6px 0 20px;
}
.faq-defs dt { color: var(--navy); font-weight: 700; font-size: .97rem; line-height: 1.35; }
.faq-defs dd { margin: 3px 0 0; font-size: .87rem; line-height: 1.5; color: var(--slate-500); }

@media (max-width: 720px) {
  .faq-defs { grid-template-columns: 1fr; gap: 16px; }
}
.faq-answer a { color: var(--blue-600); font-weight: 650; }
.faq-answer a:hover { text-decoration: underline; }

.faq-extra { max-width: 840px; margin: 30px auto 0; text-align: center; interpolate-size: allow-keywords; }
.faq-extra[open] .pa-caret { transform: rotate(180deg); color: var(--navy); }
.faq-extra::details-content {
  block-size: 0; overflow: clip; overflow-clip-margin: 60px; opacity: 0;
  transition: block-size .42s cubic-bezier(.4, 0, .2, 1), opacity .3s ease, content-visibility .42s;
  transition-behavior: allow-discrete;
}
.faq-extra[open]::details-content { block-size: auto; opacity: 1; }
.faq-extra > .faq-list { padding-top: 18px; text-align: left; }

.faq-more { max-width: 840px; margin: 38px auto 0; text-align: center; font-size: .95rem; color: var(--slate-500); }
.faq-more a { color: var(--blue-600); font-weight: 650; }
.faq-more a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .faq { padding-bottom: 70px; }
  .faq-item { margin-bottom: 10px; }
  .faq-item > summary { padding: 18px 16px 18px 18px; gap: 14px; }
  .faq-item > summary h3 { font-size: 1rem; }
  .faq-answer { padding: 0 18px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .faq-item, .faq-mark, .faq-answer, .faq-item > summary h3 { transition: none; }
  .faq-item[open] .faq-mark { transform: none; }
  .faq-answer { opacity: 1; transform: none; }
  .faq-extra::details-content { transition: none; }
}

.cta { padding: 0 0 110px; }
.cta-box {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 100%);
  border-radius: var(--r-lg); padding: 64px 56px; text-align: center; color: rgba(255,255,255,.82);
  box-shadow: var(--shadow-lg);
}
.cta-box::before { content:""; position:absolute; width:480px; height:480px; left:-140px; bottom:-220px; border-radius:50%;
  background: radial-gradient(circle, rgba(244,183,64,.22), transparent 65%); }
.cta-box::after { content:""; position:absolute; width:420px; height:420px; right:-120px; top:-200px; border-radius:50%;
  background: radial-gradient(circle, rgba(59,130,246,.25), transparent 65%); }
.cta-box > * { position: relative; z-index: 2; }
.cta-box h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 16px; }
.cta-box p { font-size: 1.14rem; max-width: 560px; margin: 0 auto 34px; color: rgba(255,255,255,.78); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta-box .cta-note { margin: 30px auto 0; font-size: .9rem; color: rgba(255,255,255,.55); }
.cta-note a { color: var(--gold); font-weight: 600; }

.cta-box > .cta-mail {
  position: absolute; z-index: 1; left: calc(2.5% + 30px); bottom: calc(6% + 30px);
  width: clamp(225px, 22.5vw, 315px); height: auto;
  opacity: .62; pointer-events: none; overflow: visible;
}
.cta-mail-env { transform-box: view-box; }
.js .cta-box:not(.in) .cta-mail-env { opacity: 0; }
.js .cta-box:not(.in) .cta-mail-trail path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.cta-box.in .cta-mail-env { animation: cta-mail-fly 1.05s cubic-bezier(.2,.7,.2,1) .3s both; }
.cta-box.in .cta-mail-trail path {
  stroke-dasharray: 1;
  animation: cta-mail-trail .9s cubic-bezier(.3,.6,.2,1) .3s both;
}
.cta-box.in .cta-mail-trail path:nth-child(2) { animation-delay: .38s; }
.cta-box.in .cta-mail-trail path:nth-child(3) { animation-delay: .46s; }
@keyframes cta-mail-fly {
  from { opacity: 0; transform: translate(96px, -78px) rotate(9deg) scale(.82); }
  35%  { opacity: 1; }
  to   { opacity: 1; transform: none; }
}
@keyframes cta-mail-trail {
  from { stroke-dashoffset: 1; }
  to   { stroke-dashoffset: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .cta-box.in .cta-mail-env, .cta-box.in .cta-mail-trail path { animation: none; }
  .js .cta-box:not(.in) .cta-mail-env { opacity: 1; }
  .js .cta-box:not(.in) .cta-mail-trail path { stroke-dashoffset: 0; }
}
@media (max-width: 1040px) {
  .cta-box > .cta-mail { display: none; }
}

@property --beam-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
.cta-beam, .cta-beam-glow {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  border-radius: inherit;
}
.cta-beam {
  padding: 2px;
  background: conic-gradient(from var(--beam-angle),
    rgba(244,183,64,0) 0deg 264deg,
    rgba(244,183,64,.45) 310deg,
    rgba(252,206,118,.95) 342deg,
    #fff6e2 353deg,
    rgba(252,206,118,.7) 357deg,
    rgba(244,183,64,0) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}
.cta-beam-glow { z-index: 2; filter: blur(13px); }
.cta-beam-glow .cta-beam { padding: 8px; }

.cta-beam { opacity: 0; }
.cta-beam-glow { opacity: 1; }
.cta-box.in .cta-beam { animation: cta-beam-travel 5s linear .45s both; }

@keyframes cta-beam-travel {
  from { --beam-angle: 0deg;   opacity: 0; }
  9%   {                       opacity: 1; }
  86%  {                       opacity: 1; }
  to   { --beam-angle: 360deg; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .cta-box.in .cta-beam { animation: none; }
}
@media (max-width: 720px) {
  .cta-beam-glow { filter: blur(9px); }
  .cta-beam-glow .cta-beam { padding: 6px; }
}

.footer { background: var(--navy-800); color: rgba(255,255,255,.6); padding: 56px 0 32px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand { max-width: 320px; }
.footer-brand img { height: 34px; margin-bottom: 16px; }
.footer-brand p { font-size: .92rem; color: rgba(255,255,255,.55); }
.footer-maker { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; opacity: .82; transition: opacity .15s; }
.footer-maker:hover { opacity: 1; }
.footer-maker span { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.4); }
.footer-maker img { height: 40px; margin: 0; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h2 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer-col a { display: block; font-size: .94rem; color: rgba(255,255,255,.62); margin-bottom: 10px; transition: color .15s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .86rem; color: rgba(255,255,255,.45); }

.legal-header {
  background: var(--navy); padding: 18px 0;
  position: sticky; top: 0; z-index: 50; box-shadow: var(--shadow-md);
}
.legal-header .nav { justify-content: space-between; }
.legal-header .nav-logo { height: 36px; }
.legal-header .back {
  display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.8);
  font-size: .95rem; font-weight: 550;
}
.legal-header .back:hover { color: var(--gold); }
.legal-header .back svg { width: 17px; height: 17px; }
.legal {
  max-width: 820px; margin: 0 auto; padding: 64px 24px 96px;
}
.legal h1 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 8px; }
.legal .lead { color: var(--slate-500); margin-bottom: 40px; font-size: 1.05rem; }
.legal h2 {
  font-size: 1.3rem; margin: 40px 0 14px; padding-top: 28px;
  border-top: 1px solid var(--slate-200);
}
.legal h2:first-of-type { border-top: none; padding-top: 0; }
.legal h3 { font-size: 1.05rem; margin: 22px 0 8px; color: var(--slate-800); }
.legal p, .legal li { color: var(--slate-600); font-size: 1rem; margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 12px; }
.legal a { color: var(--blue-600); font-weight: 550; }
.legal a:hover { text-decoration: underline; }
.legal .placeholder {
  background: var(--slate-50); border: 1px dashed var(--slate-300); border-radius: var(--r-sm);
  padding: 4px 8px; color: var(--slate-500); font-style: italic;
}
.legal .note {
  background: rgba(244,183,64,.12); border-radius: var(--r-sm); box-shadow: var(--shadow-card);
  padding: 16px 18px; font-size: .92rem; color: var(--slate-700); margin-bottom: 40px;
}

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* Sections below the hero are neither laid out nor painted until they come near the viewport.
   The placeholders are the rendered content heights (desktop / phone; the section padding comes
   on top), so the scroll bar and the scroll spy see the right lengths. :where() keeps the rules
   at zero specificity, so html.cv-off can render everything again before an in-page jump
   (index.html) and the jump lands on measured heights, not placeholders. */
:where(#ablauf, #protokolle, #ki, #sicherheit, #preise, #faq, #kontakt) { content-visibility: auto; }
:where(#ablauf) { contain-intrinsic-size: auto 1278px; }
:where(#protokolle) { contain-intrinsic-size: auto 670px; }
:where(#ki) { contain-intrinsic-size: auto 655px; }
:where(#sicherheit) { contain-intrinsic-size: auto 702px; }
:where(#preise) { contain-intrinsic-size: auto 1779px; }
:where(#faq) { contain-intrinsic-size: auto 1058px; }
:where(#kontakt) { contain-intrinsic-size: auto 435px; }
@media (max-width: 720px) {
  :where(#ablauf) { contain-intrinsic-size: auto 1882px; }
  :where(#protokolle) { contain-intrinsic-size: auto 1452px; }
  :where(#ki) { contain-intrinsic-size: auto 1559px; }
  :where(#sicherheit) { contain-intrinsic-size: auto 614px; }
  :where(#preise) { contain-intrinsic-size: auto 2118px; }
  :where(#faq) { contain-intrinsic-size: auto 1326px; }
  :where(#kontakt) { contain-intrinsic-size: auto 640px; }
}
html.cv-off section { content-visibility: visible; }

.scrub .w { opacity: clamp(.22, calc(var(--p) * var(--n) - var(--i)), 1); transition: opacity .2s linear; }
@media (prefers-reduced-motion: reduce) {
  .scrub .w { opacity: 1; transition: none; }
}

@media (prefers-reduced-motion: reduce) {
  .feature.is-focus, .feature.is-focus:hover { transform: none; }
  .feature.is-focus .ficon svg > * { animation: none; }
  .feature .ficon::before { transition: opacity .35s ease; }
  .feature.is-focus .ficon::before { transform: none; }
}

@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .nav-links {
    flex-direction: column; align-items: stretch; gap: 6px;
    position: absolute; top: calc(100% + 10px); left: auto; right: 24px; width: min(340px, calc(100% - 48px));
    background: #fff; padding: 14px; border-radius: var(--r-md); box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-12px) scale(.97); transform-origin: top right;
    transition: opacity .24s ease, transform .24s cubic-bezier(.2,.7,.2,1), visibility .24s;
  }
  .nav-links a { display: block; color: var(--navy); opacity: 1; font-size: 1.08rem; padding: 15px 18px; border-radius: 11px; transition: background .15s ease; }
  .nav-links a:hover { background: var(--slate-100); opacity: 1; }
  .nav-indicator { display: none; }
  .header nav { position: static; }
  .nav-links a { position: relative; }
  .nav-links a::after {
    content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px;
    border-radius: 2px; background: var(--gold);
    transform: scaleY(0); transition: transform .25s cubic-bezier(.2,.7,.2,1);
  }
  .nav-links a[aria-current], .header.scrolled .nav-links a[aria-current] { background: var(--slate-100); color: var(--navy); }
  .nav-links a[aria-current]::after { transform: scaleY(1); }
  .nav-links.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
}
@media (max-width: 980px) {
  .hero-grid, .ai-grid { grid-template-columns: 1fr; gap: 48px; }
  .laptop-scroll { height: 200vh; }
  .features-grid > .feature { flex: 0 0 calc((100% - 24px) / 2); }
  .secure-grid { grid-template-columns: repeat(2, 1fr); }
  .wt-row, .wt-row.is-reversed, .wt-tabs { grid-template-columns: 1fr; gap: 30px; margin-bottom: 64px; }
  .wt-row.is-reversed .wt-copy { order: 0; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .price-card.is-popular { transform: none; }
  .price-card.is-popular:hover { transform: translateY(-6px); }
  .ai-pricing-grid { grid-template-columns: 1fr; max-width: 460px; }
  .pa-list { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 80px 0; }
  .hero { padding: 130px 0 80px; }
  .nav-cta .btn { display: none; }
  .nav-links { left: 24px; width: auto; }
  .features-grid, .secure-grid, .pricing-grid, .ai-pricing-grid {
    display: flex; grid-template-columns: none;
    gap: 16px; margin: -30px -24px -34px; max-width: none; padding: 30px 24px 64px;
    overflow-x: auto; scroll-snap-type: x mandatory;
    scroll-padding: 0 24px; -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y; overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .features-grid::-webkit-scrollbar,
  .secure-grid::-webkit-scrollbar,
  .pricing-grid::-webkit-scrollbar,
  .ai-pricing-grid::-webkit-scrollbar { display: none; }
  .feature, .secure, .price-card, .ai-pack,
  .features-grid > .feature { flex: 0 0 84%; scroll-snap-align: center; }
  .feature:hover, .secure:hover { transform: none; box-shadow: var(--shadow-card); }
  .price-card.is-popular, .price-card.is-popular:hover { transform: none; }
  .feature.reveal, .secure.reveal,
  .price-card.reveal, .ai-pack.reveal { opacity: 1; transform: none; }
  .carousel-dots { display: flex; }
  .price-toggle { margin-top: 0; }
  .cta-box { padding: 48px 26px; }
  .laptop-scroll { height: 170vh; }
  .laptop-stage { height: 100vh; height: 100svh; padding: 76px 12px 28px; row-gap: 10px; }
  .laptop { display: none; }
  .phone { display: block; }
  .strip .container { flex-direction: column; align-items: flex-start; gap: 12px; width: fit-content; margin-inline: auto; }
}

.bp-fab { display: none; }
.has-branch-picker .bp-fab {
  position: fixed; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); z-index: 45;
  display: inline-flex; align-items: center; gap: 9px; max-width: calc(100vw - 32px);
  padding: 11px 16px 11px 13px;
  border: 1px solid rgba(15, 27, 61, .08); border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .94); backdrop-filter: saturate(180%) blur(12px);
  color: var(--navy); font: 650 .95rem/1.2 var(--font); white-space: nowrap; cursor: pointer;
  box-shadow: 0 2px 6px rgba(15, 27, 61, .12), 0 18px 40px rgba(15, 27, 61, .26);
  transform: translateX(-50%);
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), opacity .25s ease, box-shadow .2s ease;
}
.has-branch-picker .bp-fab:hover { transform: translate(-50%, -2px); box-shadow: 0 3px 8px rgba(15, 27, 61, .14), 0 24px 48px rgba(15, 27, 61, .3); }
.has-branch-picker .bp-fab:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.has-branch-picker .bp-fab.is-away { opacity: 0; transform: translate(-50%, 24px); pointer-events: none; }
.bp-fab svg { flex: none; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bp-fab-i { width: 18px; height: 18px; stroke: var(--gold-600); }
.bp-fab-text { overflow: hidden; text-overflow: ellipsis; }
.bp-fab-pre { display: none; color: var(--slate-500); font-weight: 550; }
.bp-fab.is-set .bp-fab-pre { display: inline; }
.bp-fab-caret { width: 15px; height: 15px; stroke: var(--slate-400); }

.js .laptop-stage { padding-bottom: 86px; }

html.bp-lock { overflow: hidden; overscroll-behavior: none; scrollbar-gutter: stable; }

/* iOS pans the page behind a modal despite overflow: hidden on the root; touch-action stops it here. */
.bp-dialog {
  width: min(880px, calc(100vw - 32px)); max-width: none;
  max-height: min(780px, calc(100vh - 48px));
  margin: auto; padding: 0; border: none; border-radius: var(--r-lg);
  background: var(--white); color: var(--slate-700);
  box-shadow: var(--shadow-lg);
  overflow: hidden; overscroll-behavior: contain; touch-action: pinch-zoom;
}
.bp-dialog { --bp-off: calc(50vh + 50%); }
.bp-dialog[open] { display: flex; flex-direction: column; animation: bp-rise .52s cubic-bezier(.16, 1, .3, 1); }
.bp-dialog.is-closing { animation: bp-drop .3s cubic-bezier(.5, 0, .75, 0) forwards; }
.bp-dialog::backdrop { background: rgba(10, 20, 48, .55); backdrop-filter: blur(3px); touch-action: pinch-zoom; }
.bp-dialog[open]::backdrop { animation: bp-fade .3s ease; }
.bp-dialog.is-closing::backdrop { animation: bp-fade-out .3s ease forwards; }
@keyframes bp-rise { from { transform: translateY(var(--bp-off)); } }
@keyframes bp-drop { to { transform: translateY(var(--bp-off)); } }
@keyframes bp-fade { from { opacity: 0; } }
@keyframes bp-fade-out { to { opacity: 0; } }

.bp-ambient { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.bp-ambient img {
  position: absolute; top: -15%; left: -15%; width: 130%; height: 130%; object-fit: cover;
  filter: blur(14px) saturate(1.4);
  opacity: 0; visibility: hidden;
  transition: opacity .6s ease, visibility 0s linear .6s;
}
.bp-ambient img.is-on.is-loaded { opacity: .12; visibility: visible; transition: opacity .6s ease; }
.bp-head, .bp-body { position: relative; z-index: 1; }

.bp-head { position: relative; padding: 32px 76px 4px; text-align: center; }
.bp-head h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: 8px; }
.bp-head p { max-width: 560px; margin: 0 auto; font-size: .98rem; line-height: 1.5; color: var(--slate-500); }
.bp-close {
  position: absolute; top: 20px; right: 20px; display: grid; place-items: center;
  width: 38px; height: 38px; border: none; border-radius: 50%;
  background: var(--slate-100); color: var(--slate-600); cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.bp-close:hover { background: var(--slate-200); color: var(--navy); }
.bp-close:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.bp-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }

.bp-search {
  display: flex; align-items: center; gap: 10px;
  max-width: 420px; height: 48px; margin: 22px auto 0; padding: 0 8px 0 18px;
  border-radius: var(--r-pill); background: var(--white); cursor: text;
  box-shadow: var(--shadow-card);
  transition: box-shadow .2s ease;
}
.bp-search:focus-within { box-shadow: var(--shadow-card-hover), 0 0 0 2px rgba(15, 27, 61, .14); }
.bp-search-i { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--slate-400); stroke-width: 2.2; stroke-linecap: round; }
.bp-search-input {
  flex: 1; min-width: 0; height: 100%;
  border: none; outline: none; background: transparent;
  font: 500 .96rem/1.2 var(--font); color: var(--navy);
}
.bp-search-input::placeholder { color: var(--slate-400); }
.bp-search-input::-webkit-search-cancel-button { display: none; }
.bp-search-clear {
  flex: none; display: grid; place-items: center; width: 32px; height: 32px;
  border: none; border-radius: 50%; background: var(--slate-100); color: var(--slate-500); cursor: pointer;
}
.bp-search-clear[hidden] { display: none; }
.bp-search-clear:hover { background: var(--slate-200); color: var(--navy); }
.bp-search-clear svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.bp-body { padding: 6px 0 26px; }

.bp-stage {
  position: relative;
  --bp-pad-top: 26px; --bp-pad-bottom: 84px; --bp-room: 44px;
}
.bp-track {
  --bp-card: 460px;
  position: relative;
  display: flex; gap: 18px;
  padding: var(--bp-pad-top) calc(50% - var(--bp-card) / 2) var(--bp-pad-bottom);
  margin-bottom: calc(-1 * var(--bp-room));
  overflow-x: auto; overscroll-behavior: contain; touch-action: pan-x pinch-zoom;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 15%, #000 85%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 15%, #000 85%, transparent 100%);
}
.bp-track::-webkit-scrollbar { display: none; }

.bp-card[hidden], .bp-dash[hidden] { display: none; }
.bp-card.is-entering { animation: bp-card-in .35s ease-out; }
@keyframes bp-card-in { from { opacity: 0; } }

.bp-empty {
  position: absolute; left: 50%; top: calc(50% + (var(--bp-pad-top) - var(--bp-pad-bottom)) / 2);
  width: min(440px, calc(100% - 48px)); transform: translate(-50%, -50%);
  text-align: center; font-size: .98rem; line-height: 1.55; color: var(--slate-500);
}
.bp-empty[hidden] { display: none; }
.bp-empty b { display: block; margin-bottom: 4px; font-size: 1.08rem; color: var(--navy); }
.bp-empty a { color: var(--navy); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.bp-stage.is-empty .bp-arrow { display: none; }

.bp-card {
  position: relative; flex: 0 0 var(--bp-card); scroll-snap-align: center;
  display: flex; align-items: stretch;
  padding: 0; border: none; border-radius: 22px;
  background: var(--white); color: inherit; font: inherit; cursor: pointer;
  box-shadow: var(--shadow-card);
  transform: scale(.92);
  transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease;
}
.bp-card.is-focus { transform: none; box-shadow: var(--shadow-card-hover); }
.bp-card:hover { box-shadow: var(--shadow-card-hover); }
.bp-card-body {
  flex: 1; min-width: 0; min-height: 250px; display: flex; flex-direction: column; align-items: flex-start;
  padding: 26px 24px 24px;
}
.bp-card-body .bp-card-uses { margin-bottom: 18px; }
.bp-card-body .bp-card-choose { margin-top: auto; }

.bp-card-photo {
  position: relative; flex: 0 0 38%; overflow: hidden;
  border-radius: 22px 0 0 22px; background: var(--slate-100);
  filter: grayscale(1); opacity: .7;
  transition: filter .45s ease, opacity .45s ease;
}
.bp-card-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s ease; }
.bp-card-photo img.is-loaded { opacity: 1; }
/* Skeleton sweep while a photo loads; shown via visibility only, which causes no layout in the track. */
.bp-card-photo::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .85) 50%, transparent 80%);
  transform: translateX(-100%); visibility: hidden;
}
.bp-card-photo.is-loading { background: var(--slate-200); }
.bp-card-photo.is-loading::before { visibility: visible; animation: bp-shimmer 1.3s ease-in-out infinite; }
@keyframes bp-shimmer { to { transform: translateX(100%); } }
.bp-card.is-focus .bp-card-photo { filter: none; opacity: 1; }

.bp-card-name { font-size: 1.12rem; font-weight: 750; line-height: 1.25; color: var(--navy); }
.bp-card-uses { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; list-style: none; }
.bp-card-uses > li { font-size: .86rem; line-height: 1.4; color: var(--slate-500); }

.bp-card-choose {
  margin-top: 18px; padding: 10px 26px;
  border: none; border-radius: var(--r-pill);
  background: var(--navy); color: var(--white); font: 650 .92rem/1.2 var(--font); cursor: pointer;
  box-shadow: 0 8px 20px rgba(15, 27, 61, .22);
  opacity: 0; visibility: hidden; transform: translateY(10px) scale(.9);
  transition: opacity .18s ease, transform .2s ease, visibility 0s linear .2s, background-color .2s ease, box-shadow .2s ease;
}
.bp-card.is-focus .bp-card-choose {
  opacity: 1; visibility: visible; transform: none;
  transition: background-color .2s ease, box-shadow .2s ease;
  animation: bp-choose-in .55s cubic-bezier(.34, 1.56, .64, 1) .22s backwards;
}
.bp-card-choose:hover { background: var(--navy-700); box-shadow: 0 12px 26px rgba(15, 27, 61, .3); }
.bp-card-choose:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
@keyframes bp-choose-in {
  from { opacity: 0; transform: translateY(12px) scale(.9); }
}
.bp-card-choose.is-busy, .bp-mix.is-busy { cursor: progress; }
.bp-card-choose.is-busy::before, .bp-mix.is-busy::before {
  content: ""; flex: none; box-sizing: border-box; width: 14px; height: 14px;
  border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%;
  animation: bp-spin .7s linear infinite;
}
.bp-card-choose.is-busy::before { display: inline-block; margin-right: 8px; vertical-align: -2px; }
.bp-mix.is-busy svg { display: none; }
@keyframes bp-spin { to { transform: rotate(360deg); } }

.bp-card-check {
  position: absolute; top: 14px; right: 14px; display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: var(--white);
  opacity: 0; transform: scale(.5);
  transition: opacity .18s ease, transform .3s cubic-bezier(.34, 1.56, .64, 1);
}
.bp-card-check svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.bp-card.is-chosen .bp-card-check { opacity: 1; transform: none; }

.bp-card.is-choosing { animation: bp-choose .52s cubic-bezier(.2, .7, .2, 1); }
.bp-card.is-choosing .bp-card-check { animation: bp-tick .42s cubic-bezier(.34, 1.56, .64, 1) .1s backwards; }
@keyframes bp-choose {
  0%   { transform: none; }
  22%  { transform: scale(.95); }
  60%  { transform: scale(1.035); }
  100% { transform: none; }
}
@keyframes bp-tick {
  from { opacity: 0; transform: scale(.3); }
}

.bp-arrow {
  position: absolute; top: calc(50% + (var(--bp-pad-top) - var(--bp-pad-bottom)) / 2); z-index: 2;
  display: grid; place-items: center; width: 46px; height: 46px;
  border: none; border-radius: 50%; background: var(--white); color: var(--navy);
  box-shadow: var(--shadow-card); cursor: pointer;
  transform: translateY(-50%);
  transition: box-shadow .2s ease, opacity .25s ease, transform .2s ease;
}
.bp-arrow--prev { left: 22px; }
.bp-arrow--next { right: 22px; }
.bp-arrow:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-50%) scale(1.06); }
.bp-arrow:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.bp-arrow:disabled { opacity: 0; pointer-events: none; }
.bp-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.bp-dashes { position: relative; z-index: 1; display: flex; justify-content: center; min-height: 20px; padding: 0 28px; }
.bp-dash { padding: 8px 2px; cursor: pointer; }
.bp-dash::before {
  content: ""; display: block; width: 20px; height: 4px; border-radius: 4px;
  background: rgba(15, 27, 61, .2);
  transition: background-color .35s ease, width .35s cubic-bezier(.2, .7, .2, 1);
}
.bp-dash:hover::before { background: rgba(15, 27, 61, .38); }
.bp-dash.is-chosen::before { background: rgba(15, 27, 61, .5); }
.bp-dash.is-focus::before { width: 36px; background: var(--navy); }

.bp-foot { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 16px; padding: 0 28px; }
.bp-mix, .bp-notfound {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border: none; border-radius: var(--r-pill);
  background: var(--white); color: var(--slate-600); font: 600 .9rem/1.2 var(--font); cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: box-shadow .2s ease, background .2s ease, color .2s ease;
}
.bp-mix svg, .bp-notfound svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bp-mix:hover, .bp-notfound:hover { color: var(--navy); box-shadow: var(--shadow-card-hover); }
.bp-mix:focus-visible, .bp-notfound:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.bp-mix[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.bp-mix.is-choosing { animation: bp-choose .52s cubic-bezier(.2, .7, .2, 1); }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (max-width: 720px) {
  .js .laptop-stage { padding-bottom: 78px; }
}
@media (max-width: 640px) {
  .bp-dialog {
    width: 100%; max-width: 100%; max-height: 88vh; max-height: 88svh;
    margin: auto 0 0; border-radius: 22px 22px 0 0;
    --bp-off: 100%;
  }
  .bp-head { padding: 26px 58px 2px; }
  .bp-head h2 { font-size: 1.25rem; }
  .bp-head p { font-size: .92rem; }
  .bp-search { height: 46px; margin: 14px -38px 0; }
  .bp-close { top: 14px; right: 14px; }
  .bp-body { padding: 2px 0 calc(20px + env(safe-area-inset-bottom)); }
  .bp-stage { --bp-pad-top: 20px; --bp-pad-bottom: 74px; --bp-room: 40px; }
  .bp-card-photo { flex-basis: 34%; }
  .bp-card-body { min-height: 220px; padding: 20px 16px 18px; }
  .bp-card-name { font-size: 1.02rem; }
  .bp-card-uses { margin-top: 8px; }
  .bp-card-body .bp-card-uses { margin-bottom: 14px; }
  .bp-card-uses > li { font-size: .82rem; }
  .bp-card-choose { padding: 9px 20px; }
  .bp-track {
    --bp-card: min(86vw, 360px); gap: 12px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  }
  .bp-arrow { width: 38px; height: 38px; }
  .bp-arrow--prev { left: 8px; }
  .bp-arrow--next { right: 8px; }
  .bp-dashes { padding: 0 16px; }
  .bp-dash { padding-inline: 1.5px; }
  .bp-dash::before { width: 14px; }
  .bp-dash.is-focus::before { width: 26px; }
  .bp-foot { padding: 0 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .bp-dialog[open], .bp-dialog.is-closing, .bp-dialog[open]::backdrop { animation: none; }
  .bp-card, .bp-arrow, .bp-card-photo, .bp-card-photo img, .bp-ambient img { transition: none; }
  .bp-card.is-choosing, .bp-card.is-choosing .bp-card-check, .bp-mix.is-choosing { animation: none; }
  .bp-card-choose, .bp-card.is-focus .bp-card-choose { transition: none; animation: none; }
  .bp-card.is-entering, .bp-card-photo.is-loading::before { animation: none; }
  .has-branch-picker .bp-fab { transition: opacity .2s ease; }
}

.notice {
  position: fixed; left: 50%; bottom: calc(max(18px, env(safe-area-inset-bottom)) + 58px); z-index: 46;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
  width: min(460px, calc(100vw - 32px));
  padding: 14px 14px 14px 18px;
  border: 1px solid rgba(15, 27, 61, .08); border-radius: var(--r-md);
  background: rgba(255, 255, 255, .96); backdrop-filter: saturate(180%) blur(12px);
  box-shadow: 0 2px 6px rgba(15, 27, 61, .12), 0 18px 40px rgba(15, 27, 61, .26);
  translate: -50% 0;
  animation: notice-in .45s cubic-bezier(.2, .7, .2, 1) both;
}
.notice[hidden] { display: none; }
.notice-cookie { flex: none; width: 34px; height: 34px; margin-right: -4px; }
.notice-cookie .ck-body { fill: var(--gold); }
.notice-cookie .ck-chip { fill: var(--navy); }
.notice-cookie .ck-crumb { fill: var(--gold-600); }
/* The text takes the whole row beside the cookie, so the button always wraps below. */
.notice p { flex: 1 1 calc(100% - 52px); margin: 0; color: var(--slate-600); font-size: .88rem; line-height: 1.5; }
.notice b { color: var(--navy); font-weight: 700; }
.notice a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.notice a:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 3px; }
.notice-ok {
  flex: none; margin-left: auto; padding: 9px 18px;
  border: 0; border-radius: var(--r-pill);
  background: var(--navy); color: var(--white); font: 650 .88rem/1.2 var(--font); cursor: pointer;
  transition: background .2s ease;
}
.notice-ok:hover { background: var(--navy-700); }
.notice-ok:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
@keyframes notice-in { from { opacity: 0; transform: translateY(16px); } }

@media (min-width: 1200px) {
  .notice { left: 24px; bottom: max(18px, env(safe-area-inset-bottom)); width: 380px; translate: none; }
}
@media (prefers-reduced-motion: reduce) {
  .notice { animation: none; }
}

/* ── Branchen-Seiten ─────────────────────────────────────────────────────────
   The static pages under branchen/, generated by tools/gen-branchen.mjs. They
   borrow the header, footer and buttons from the rest of the site; only the
   article layout is new. Everything is scoped to .branche-page on <body> so
   these rules cannot reach the homepage. */

.branche-page .bpg-wrap { max-width: 900px; margin: 0 auto; padding: 40px 24px 96px; }

.branche-page .bpg-crumbs { font-size: .88rem; color: var(--slate-500); margin-bottom: 28px; }
.branche-page .bpg-crumbs a { color: var(--blue-600); font-weight: 550; }
.branche-page .bpg-crumbs a:hover { text-decoration: underline; }
.branche-page .bpg-crumbs span[aria-hidden] { margin: 0 6px; color: var(--slate-300); }

.branche-page .bpg-hero { display: flex; gap: 40px; align-items: center; margin-bottom: 72px; }
.branche-page .bpg-hero-copy { flex: 1 1 auto; min-width: 0; }
.branche-page .bpg-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 18px; }
.branche-page .bpg-lead { font-size: 1.08rem; color: var(--slate-600); }
.branche-page .bpg-photo {
  flex: 0 0 260px; width: 260px; height: 390px; object-fit: cover;
  border-radius: var(--r-lg); box-shadow: var(--shadow-card);
}

.branche-page .bpg-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.branche-page .bpg-sec { margin-bottom: 56px; }
.branche-page .bpg-sec h2 {
  font-size: 1.45rem; margin: 0 0 16px; padding-top: 32px;
  border-top: 1px solid var(--slate-200);
}
.branche-page .bpg-sec h3 { font-size: 1.05rem; margin: 28px 0 10px; color: var(--slate-800); }
.branche-page .bpg-sec p { color: var(--slate-600); margin-bottom: 12px; }

.branche-page .bpg-steps, .branche-page .bpg-list { margin: 0 0 8px; padding-left: 24px; }
.branche-page .bpg-steps li, .branche-page .bpg-list li { color: var(--slate-600); margin-bottom: 8px; }
.branche-page .bpg-steps li::marker { color: var(--gold-600); font-weight: 800; }
.branche-page .bpg-tailored li { list-style: none; margin-left: -24px; }
.branche-page .bpg-tailored strong { color: var(--navy); font-weight: 700; }

.branche-page .bpg-cta {
  background: var(--slate-50); border-radius: var(--r-lg); box-shadow: var(--shadow-card);
  padding: 40px 32px; text-align: center;
}
.branche-page .bpg-cta h2 { font-size: 1.6rem; margin-bottom: 12px; }
.branche-page .bpg-cta p { color: var(--slate-600); max-width: 560px; margin: 0 auto; }
.branche-page .bpg-cta .bpg-actions { justify-content: center; }

@media (max-width: 720px) {
  .branche-page .bpg-hero { flex-direction: column; align-items: stretch; gap: 28px; }
  .branche-page .bpg-photo { flex: none; width: 100%; height: 260px; }
  .branche-page .bpg-cta { padding: 32px 20px; }
}
