/* =====================================================================
   Bitely Complete – Informationsseite
   CI: Bitely Schwarz/Weiß, Biss-Orange #FF9500 als einziger Akzent,
   Inter (800 für Headlines), Apple-Designsprache.
   ===================================================================== */
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-opsz-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-opsz-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
  --black: #000;
  --white: #fff;
  --ink: #1D1D1F;
  --muted: #6E6E73;
  --muted-dark: #A1A1A6;
  --paper: #F2F2F7;
  --paper-2: #F7F7FA;
  --line: rgba(60, 60, 67, .14);
  --line-dark: rgba(255, 255, 255, .12);
  --orange: #FF9500;
  --orange-2: #FFB340;
  --orange-text: #C45D00;
  --green: #34C759;
  --green-text: #248A3D;
  --red: #FF3B30;
  --blue: #0A84FF;
  --f: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --f-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.32, .72, 0, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 60px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.04), 0 4px 14px rgba(0,0,0,.05);
  --shadow: 0 2px 6px rgba(0,0,0,.04), 0 18px 50px rgba(0,0,0,.08);
  --shadow-lg: 0 30px 80px rgba(0,0,0,.18), 0 8px 24px rgba(0,0,0,.08);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body { margin: 0; font-family: var(--f); font-size: 17px; line-height: 1.5; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: hidden; font-feature-settings: "cv11", "ss01"; }
img { max-width: 100%; display: block; }
svg { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--black); color: var(--white); padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Typo ---------- */
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--orange-text); margin-bottom: 14px; display: inline-flex; align-items: center; gap: 8px; }
.eyebrow-dark { color: var(--orange); }
.h2 { font-size: clamp(36px, 6.2vw, 72px); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; }
.h3 { font-size: clamp(24px, 3vw, 32px); line-height: 1.1; letter-spacing: -.025em; font-weight: 800; }
.lead { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.45; color: var(--muted); max-width: 40em; margin-top: 18px; letter-spacing: -.005em; }
.accent-word { color: var(--orange); }
.section { padding: clamp(88px, 13vw, 168px) 0; position: relative; }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid transparent; transition: transform .35s var(--ease), background-color .2s, color .2s, box-shadow .3s; white-space: nowrap; letter-spacing: -.01em; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 17px; }
.btn-primary { background: var(--black); color: var(--white); }
.btn-primary:hover { background: #222; }
.btn-light { background: var(--white); color: var(--black); }
.btn-light:hover { box-shadow: 0 0 0 6px rgba(255,255,255,.14); }
.btn-orange { background: var(--orange); color: var(--black); }
.btn-orange:hover { box-shadow: 0 0 0 6px rgba(255,149,0,.25); }
.btn-ghost-dark { color: var(--white); border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.04); }
.btn-ghost-dark:hover { background: rgba(255,255,255,.1); }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); display: inline-grid; place-items: center; transition: transform .3s var(--ease), background-color .2s; flex: none; }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:hover { background: var(--paper); }
.icon-btn:active { transform: scale(.92); }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 300; background: var(--black); display: none; place-items: center; }
.intro .loader { display: grid; }
.intro .bite-c { transform: scale(0); }
.pre .hero-copy, .pre .eco { opacity: 0; }
.loader-mark { width: 92px; height: auto; fill: var(--white); overflow: visible; }
.loader .bite-c { transform-box: fill-box; transform-origin: center; }

/* ---------- Progress ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; pointer-events: none; }
.progress i { display: block; height: 100%; width: 100%; background: var(--orange); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; color: var(--white); transition: color .3s, background-color .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.55); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); opacity: 0; transition: opacity .3s; z-index: -1; }
.nav.scrolled::before { opacity: 1; }
.nav.light { color: var(--ink); border-bottom-color: var(--line); }
.nav.light::before { background: rgba(255,255,255,.78); opacity: 1; }
.nav-inner { position: relative; display: flex; align-items: center; gap: 24px; height: var(--nav-h); max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; margin-right: auto; }
.brand-icon { width: 32px; height: 32px; border-radius: 9px; background: var(--white); display: grid; place-items: center; transition: background-color .3s; flex: none; }
.brand-icon svg { width: 21px; height: auto; fill: var(--black); transform: translateX(1px); transition: fill .3s; }
.nav.light .brand-icon { background: var(--black); }
.nav.light .brand-icon svg { fill: var(--white); }
.brand-word { height: 15px; width: auto; fill: currentColor; }
.brand-sub { font-size: 13px; font-weight: 600; padding: 3px 8px 3px; border-radius: 999px; border: 1px solid currentColor; opacity: .7; letter-spacing: -.005em; line-height: 1.2; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { font-size: 14px; text-decoration: none; opacity: .78; transition: opacity .2s; padding: 8px 0; }
.nav-links a:hover, .nav-links a.active { opacity: 1; }
.nav-links a.active { box-shadow: inset 0 -2px 0 var(--orange); }
.btn-nav { min-height: 34px; padding: 0 15px; font-size: 14px; background: var(--white); color: var(--black); }
.nav.light .btn-nav { background: var(--black); color: var(--white); }
.nav-toggle { display: none; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; place-items: center; }
.nav-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; transition: transform .3s var(--ease); }
.nav-toggle[aria-expanded="true"] svg { transform: rotate(90deg); }
.mobile-menu { position: absolute; top: var(--nav-h); left: 0; right: 0; background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); color: var(--ink); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
.mobile-menu nav { display: flex; flex-direction: column; padding: 8px var(--gutter) 22px; }
.mobile-menu a:not(.btn) { padding: 14px 0; font-size: 20px; font-weight: 700; letter-spacing: -.02em; text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 18px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; background: var(--black); color: var(--white); overflow: hidden; display: flex; align-items: center; padding: calc(var(--nav-h) + 40px) 0 80px; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(60% 50% at 72% 46%, rgba(255,149,0,.16), transparent 70%),
  radial-gradient(40% 40% at 10% 100%, rgba(255,149,0,.07), transparent 70%),
  radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.4px) 0 0 / 28px 28px;
  -webkit-mask-image: radial-gradient(120% 90% at 60% 40%, #000 40%, transparent 100%); mask-image: radial-gradient(120% 90% at 60% 40%, #000 40%, transparent 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero-title { font-size: clamp(40px, 5.2vw, 76px); line-height: .98; letter-spacing: -.045em; font-weight: 800; margin-bottom: 26px; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero-title .line > span { display: inline-block; }
.hero-lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted-dark); max-width: 31em; line-height: 1.5; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-cta.center { justify-content: center; }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 44px; font-size: 14px; color: var(--muted-dark); }
.hero-facts b { color: var(--white); font-size: 22px; font-weight: 800; letter-spacing: -.03em; margin-right: 4px; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(255,149,0,.6); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(255,149,0,0); } 100% { box-shadow: 0 0 0 0 rgba(255,149,0,0); } }
.scroll-cue { position: absolute; left: 50%; bottom: 24px; width: 26px; height: 42px; margin-left: -13px; border-radius: 14px; border: 1.5px solid rgba(255,255,255,.35); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--white); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* Ecosystem */
.eco { position: relative; perspective: 1400px; }
.eco-stage { position: relative; width: 100%; aspect-ratio: 1000 / 760; transform-style: preserve-3d; will-change: transform; }
.eco-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.eco-lines .ln { fill: none; stroke: url(#lg-line); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.eco-lines .ln-dash { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 1; stroke-dasharray: 3 7; vector-effect: non-scaling-stroke; }
.eco-lines .ln-hot { fill: none; stroke: var(--orange); stroke-width: 2; vector-effect: non-scaling-stroke; opacity: 0; filter: drop-shadow(0 0 6px rgba(255,149,0,.8)); }
.eco-core { position: absolute; left: 50%; top: 50%; width: 19%; aspect-ratio: 1; transform: translate(-50%, -50%) translateZ(60px); border-radius: 28%; background: linear-gradient(160deg, #1f1f22, #0a0a0b); border: 1px solid rgba(255,255,255,.14); display: grid; place-items: center; box-shadow: 0 30px 80px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.12); }
.eco-core svg { width: 58%; height: auto; fill: var(--white); transform: translateX(3%); position: relative; }
.eco-core-glow { position: absolute; inset: -40%; border-radius: 50%; background: radial-gradient(circle, rgba(255,149,0,.35), transparent 62%); animation: glow 4s ease-in-out infinite; pointer-events: none; }
@keyframes glow { 50% { transform: scale(1.12); opacity: .7; } }
.eco-orbit { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgba(255,255,255,.09); transform-style: preserve-3d; pointer-events: none; }
.eco-orbit.o1 { width: 46%; aspect-ratio: 1; margin: -23% 0 0 -23%; transform: rotateX(68deg); animation: orbit 22s linear infinite; }
.eco-orbit.o2 { width: 66%; aspect-ratio: 1; margin: -33% 0 0 -33%; transform: rotateX(72deg) rotateY(12deg); border-style: dashed; border-color: rgba(255,255,255,.07); animation: orbit 34s linear infinite reverse; }
.eco-orbit::after { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 12px var(--orange); }
@keyframes orbit { to { transform: rotateX(68deg) rotateZ(360deg); } }
.eco-orbit.o2 { animation-name: orbit2; }
@keyframes orbit2 { to { transform: rotateX(72deg) rotateY(12deg) rotateZ(-360deg); } }
.eco-nodes { list-style: none; position: absolute; inset: 0; transform-style: preserve-3d; }
.eco-node { position: absolute; transform: translate(-50%, -50%) translateZ(var(--z, 30px)); display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 9px; border-radius: 16px; background: rgba(28,28,30,.72); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 16px 40px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.08); white-space: nowrap; transition: border-color .4s, box-shadow .4s, background-color .4s; }
.eco-node .en-ic { width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background-color .4s; }
.eco-node .en-ic svg { width: 19px; height: 19px; fill: none; stroke: var(--white); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.eco-node b { display: block; font-size: 14px; font-weight: 650; letter-spacing: -.01em; line-height: 1.2; }
.eco-node small { display: block; font-size: 12px; color: var(--muted-dark); line-height: 1.25; }
.eco-node.hot { border-color: rgba(255,149,0,.7); box-shadow: 0 0 0 4px rgba(255,149,0,.12), 0 16px 40px rgba(0,0,0,.45); }
.eco-node.hot .en-ic { background: var(--orange); }
.eco-node.hot .en-ic svg { stroke: var(--black); }
.eco-ticker { position: absolute; left: 50%; top: 70%; transform: translate(-50%, 0) translateZ(90px); display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px; border-radius: 999px; background: var(--white); color: var(--black); font-size: 13px; font-weight: 600; box-shadow: 0 14px 40px rgba(0,0,0,.5); white-space: nowrap; }
.ticker-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.ticker-text { display: inline-block; min-width: 0; }

/* ---------- Idea ---------- */
.idea { background: var(--white); }
.reveal-text { font-size: clamp(28px, 4.4vw, 56px); line-height: 1.12; letter-spacing: -.032em; font-weight: 750; max-width: 22em; }
.reveal-text .w { opacity: 1; transition: none; }
.js .reveal-text.split .w { opacity: .14; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(64px, 9vw, 120px); }
.trio-card { position: relative; padding: 30px 28px 32px; border-radius: var(--r-lg); background: var(--paper); overflow: hidden; }
.trio-step { position: absolute; right: 22px; top: 18px; font-size: 64px; font-weight: 800; letter-spacing: -.05em; color: rgba(0,0,0,.05); line-height: 1; }
.trio-ic { width: 52px; height: 52px; border-radius: 15px; background: var(--black); display: grid; place-items: center; margin-bottom: 26px; }
.trio-ic svg { width: 26px; height: 26px; fill: none; stroke: var(--white); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.trio-card h3 { font-size: 22px; font-weight: 750; letter-spacing: -.02em; margin-bottom: 8px; }
.trio-card p { color: var(--muted); font-size: 16px; }
.problem { margin-top: clamp(96px, 12vw, 160px); }
.problem-head { margin-bottom: 40px; max-width: 900px; }
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pg-col { border-radius: var(--r-lg); padding: 32px; }
.pg-col h3 { font-size: 15px; font-weight: 650; margin-bottom: 18px; letter-spacing: 0; }
.pg-col ul { list-style: none; display: grid; gap: 14px; }
.pg-col li { position: relative; padding-left: 30px; font-size: 17px; line-height: 1.45; }
.pg-col li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; }
.pg-before { background: var(--paper); color: var(--muted); }
.pg-before li::before { background: rgba(0,0,0,.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7 7l6 6M13 7l-6 6' stroke='%236E6E73' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.pg-after { background: var(--black); color: var(--white); }
.pg-after h3 { color: var(--orange); }
.pg-after li::before { background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }

/* ---------- Product world (bento) ---------- */
.world { background: var(--paper); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(240px, auto); gap: 16px; perspective: 1200px; }
.tile { position: relative; text-align: left; border: 0; border-radius: var(--r-lg); background: var(--white); padding: 26px 26px 68px; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease); transform-style: preserve-3d; isolation: isolate; min-height: 240px; }
.tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.55), transparent 45%); opacity: 0; transition: opacity .4s; pointer-events: none; z-index: 3; }
.tile:hover { box-shadow: var(--shadow); }
.tile:hover::after { opacity: 1; }
.tile:active { transform: scale(.985); }
.tile-kicker { font-size: 13px; font-weight: 600; color: var(--orange-text); position: relative; z-index: 2; }
.tile-title { font-size: clamp(21px, 2vw, 26px); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; margin-top: 6px; position: relative; z-index: 2; hyphens: manual; }
.tile-text { font-size: 15px; color: var(--muted); margin-top: 6px; position: relative; z-index: 2; max-width: 22em; }
.tile-more { position: absolute; right: 18px; bottom: 18px; width: 34px; height: 34px; border-radius: 50%; background: var(--black); display: grid; place-items: center; z-index: 4; transition: transform .45s var(--ease); }
.tile-more svg { width: 18px; height: 18px; fill: none; stroke: var(--white); stroke-width: 2.2; stroke-linecap: round; }
.tile:hover .tile-more { transform: rotate(90deg) scale(1.08); }
.tile-visual { position: relative; display: block; margin-top: auto; width: 100%; z-index: 1; }
.t-customer { grid-column: span 2; grid-row: span 2; background: var(--black); color: var(--white); }
.t-customer .tile-text { color: var(--muted-dark); }
.t-customer .tile-kicker { color: var(--orange); }
.t-customer .tile-more { background: var(--white); }
.t-customer .tile-more svg { stroke: var(--black); }
.t-customer::after { background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(255,149,0,.18), transparent 50%); }
.tv-phone { position: absolute; left: 50%; bottom: -34%; width: min(58%, 290px); transform: translateX(-50%) rotate(-4deg); transition: transform .7s var(--ease); }
.tv-phone img { width: 100%; height: auto; border-radius: 34px; border: 7px solid #2a2a2c; box-shadow: 0 30px 70px rgba(0,0,0,.6); }
.t-customer:hover .tv-phone { transform: translateX(-50%) translateY(-18px) rotate(0); }
.t-orders { grid-column: span 2; }
.t-insights { grid-column: span 2; }
.tv-board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 22px; }
.mini-col { display: flex; flex-direction: column; gap: 6px; background: var(--paper); border-radius: 10px; padding: 8px; min-height: 92px; }
.mini-col i { font-style: normal; font-size: 11px; font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-card { display: block; height: 24px; border-radius: 6px; background: var(--white); box-shadow: 0 1px 2px rgba(0,0,0,.08); position: relative; }
.mini-card::before { content: ""; position: absolute; left: 7px; top: 8px; width: 46%; height: 3px; border-radius: 2px; background: #d1d1d6; }
.mini-card.hot { box-shadow: 0 0 0 1.5px var(--red); animation: hotcard 2.4s var(--ease) infinite; }
.mini-card.ok::after { content: ""; position: absolute; right: 7px; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
@keyframes hotcard { 0%, 100% { transform: none; } 50% { transform: translateY(-3px); } }
.tv-menu { display: grid; gap: 8px; margin-top: 22px; }
.mm-row { display: flex; align-items: center; gap: 8px; background: var(--paper); border-radius: 10px; padding: 8px 10px; font-size: 13px; }
.mm-row i { font-style: normal; font-weight: 600; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mm-row em { font-style: normal; color: var(--muted); font-variant-numeric: tabular-nums; }
.sw { width: 30px; height: 18px; border-radius: 999px; background: #d1d1d6; position: relative; flex: none; transition: background-color .3s; }
.sw::after { content: ""; position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform .35s var(--ease); }
.sw.on { background: var(--green); }
.sw.on::after { transform: translateX(12px); }
.tile:hover .tv-menu .mm-row:nth-child(3) .sw { background: var(--green); }
.tile:hover .tv-menu .mm-row:nth-child(3) .sw::after { transform: translateX(12px); }
.tv-zones { height: 110px; margin-top: 18px; }
.tv-zones i { position: absolute; left: 50%; top: 55%; width: calc(40px + var(--d) * 36px); aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); border: 1.5px solid rgba(255,149,0,calc(.75 - var(--d) * .2)); background: rgba(255,149,0,calc(.14 - var(--d) * .04)); animation: zone 3.2s var(--ease) infinite; animation-delay: calc(var(--d) * .25s); }
.tv-zones b { position: absolute; left: 50%; top: 55%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--black); box-shadow: 0 0 0 4px var(--white); }
@keyframes zone { 50% { transform: translate(-50%, -50%) scale(1.08); } }
.tv-steps { display: flex; align-items: center; gap: 0; margin-top: 30px; padding: 0 4px; }
.tv-steps i { position: relative; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #d1d1d6; background: var(--white); flex: none; }
.tv-steps i + i { margin-left: calc((100% - 5 * 22px) / 4); }
.tv-steps i.done { background: var(--black); border-color: var(--black); }
.tv-steps i.done::after { content: ""; position: absolute; left: 5px; top: 3px; width: 6px; height: 9px; border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.tv-steps i.cur { border-color: var(--orange); box-shadow: 0 0 0 5px rgba(255,149,0,.18); animation: live 2s infinite; }
.tv-pay { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 24px; gap: 8px; }
.pay-card { position: relative; width: 132px; height: 82px; border-radius: 12px; background: linear-gradient(135deg, #2c2c2e, #000); color: var(--white); padding: 12px; display: flex; flex-direction: column; justify-content: flex-end; font-size: 12px; box-shadow: 0 14px 30px rgba(0,0,0,.25); transform: rotate(-6deg); transition: transform .6s var(--ease); }
.pay-card i { position: absolute; left: 12px; top: 14px; width: 22px; height: 16px; border-radius: 4px; background: linear-gradient(135deg, #ffcf70, var(--orange)); }
.pay-card b { font-weight: 600; letter-spacing: .06em; font-family: var(--f-mono); font-size: 11px; }
.tile:hover .pay-card { transform: rotate(0) translateY(-6px); }
.pay-chip { font-size: 12px; font-weight: 650; color: var(--green-text); background: rgba(52,199,89,.14); padding: 5px 10px; border-radius: 999px; margin-bottom: 4px; }
.tv-bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; margin-top: 18px; padding-right: 48px; }
.tv-bars i { flex: 1; height: calc(var(--h) * 100%); border-radius: 6px 6px 3px 3px; background: #d1d1d6; transform-origin: bottom; transition: transform .6s var(--ease); }
.tv-bars i.hl { background: var(--orange); }
.tile:hover .tv-bars i { transform: scaleY(1.08); }

/* Sheet (dialog) */
.sheet { padding: 0; border: 0; max-width: min(1080px, calc(100vw - 32px)); width: 100%; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); border-radius: var(--r-xl); background: var(--white); color: var(--ink); box-shadow: var(--shadow-lg); overflow: hidden; }
.sheet::backdrop { background: rgba(0,0,0,.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.sheet[open] { animation: sheet-in .55s var(--ease-out); }
.sheet[open]::backdrop { animation: fade-in .4s ease; }
.sheet.closing { animation: sheet-out .32s var(--ease) forwards; }
.sheet.closing::backdrop { animation: fade-out .32s ease forwards; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(40px) scale(.96); } }
@keyframes sheet-out { to { opacity: 0; transform: translateY(24px) scale(.97); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }
.sheet-inner { display: grid; grid-template-columns: 1fr 1fr; max-height: inherit; position: relative; }
.sheet-close { position: absolute; right: 16px; top: 16px; z-index: 5; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0,0,0,.06); display: grid; place-items: center; transition: background-color .2s, transform .3s var(--ease); }
.sheet-close:hover { background: rgba(0,0,0,.12); }
.sheet-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.sheet-media { background: var(--paper); display: grid; place-items: center; padding: 36px; min-height: 340px; overflow: hidden; position: relative; }
.sheet-media.dark { background: var(--black); }
.sheet-media .m-phone { width: min(260px, 70%); border-radius: 36px; border: 8px solid #1c1c1e; box-shadow: 0 30px 70px rgba(0,0,0,.25); }
.sheet-media .m-desk { width: 100%; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.18); border: 1px solid var(--line); }
.sheet-media img { opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .6s var(--ease-out) .1s, transform .8s var(--ease-out) .1s; }
.sheet-media img.in { opacity: 1; transform: none; }
.sheet-body { padding: 44px 40px 32px; overflow-y: auto; display: flex; flex-direction: column; }
.sheet-title { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.05; letter-spacing: -.03em; font-weight: 800; }
.sheet-lead { margin-top: 14px; font-size: 18px; color: var(--muted); }
.sheet-list { list-style: none; display: grid; gap: 12px; margin-top: 26px; }
.sheet-list li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.45; }
.sheet-list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--black) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.sheet-note { margin-top: 22px; padding: 12px 14px; border-radius: 12px; background: rgba(255,149,0,.1); color: #7a3d00; font-size: 14px; line-height: 1.45; }
.sheet-note:empty { display: none; }
.sheet-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 28px; }
.sheet-nav { display: flex; gap: 8px; }

/* ---------- Flow ---------- */
.flow { background: var(--white); overflow: hidden; }
.flow-stage { position: relative; }
.flow-devices { display: grid; grid-template-columns: auto 64px minmax(0, 1fr); align-items: center; gap: 0; max-width: 1200px; margin: 0 auto; }
.device { position: relative; }
.device-label { text-align: center; font-size: 13px; font-weight: 600; color: var(--muted); margin-top: 16px; }
.phone-frame { position: relative; width: 290px; height: 600px; border-radius: 52px; background: #1c1c1e; padding: 11px; box-shadow: 0 0 0 1.5px #3a3a3c, 0 40px 90px rgba(0,0,0,.22), inset 0 0 0 2px #000; }
.phone-island { position: absolute; left: 50%; top: 22px; width: 92px; height: 26px; margin-left: -46px; border-radius: 999px; background: #000; z-index: 6; }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 42px; overflow: hidden; background: var(--paper); font-size: 12px; }
.ps-bar { display: flex; justify-content: space-between; align-items: center; padding: 16px 26px 0; height: 46px; font-weight: 650; font-size: 13px; position: relative; z-index: 2; }
.ps-icons { display: flex; gap: 4px; }
.ps-icons i { width: 14px; height: 9px; border-radius: 2px; background: var(--ink); opacity: .85; }
.ps-icons i:nth-child(1) { width: 12px; clip-path: polygon(0 100%, 100% 0, 100% 100%); border-radius: 1px; }
.ps-icons i:nth-child(3) { width: 20px; border-radius: 3px; }
.ps-head { display: flex; align-items: center; gap: 6px; padding: 6px 16px 10px; background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 2; }
.mini-logo { width: 22px; height: 22px; border-radius: 6px; background: var(--black); display: grid; place-items: center; }
.mini-logo svg { width: 14px; fill: var(--white); }
.mini-word { height: 11px; width: auto; fill: var(--black); }
.ps-cart { margin-left: auto; min-width: 30px; height: 26px; border-radius: 999px; background: var(--black); color: var(--white); font-size: 12px; font-weight: 700; display: grid; place-items: center; padding: 0 8px; transition: transform .4s var(--ease); }
.ps-cart.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.3); } }
.ps-views { position: relative; height: calc(100% - 46px - 39px); }
.ps-view { position: absolute; inset: 0; padding: 14px 14px 18px; opacity: 0; visibility: hidden; transform: translateX(30px); transition: opacity .2s var(--ease), transform .55s var(--ease), visibility 0s .55s; overflow: hidden; }
.ps-view.on { opacity: 1; visibility: visible; transform: none; transition: opacity .45s var(--ease) .1s, transform .55s var(--ease), visibility 0s; }
.ps-view.out { transform: translateX(-30px); }
.ps-small { font-size: 11px; color: var(--muted); font-weight: 500; }
.ps-h { font-size: 23px; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; margin: 4px 0 12px; }
.ps-h2 { font-size: 19px; font-weight: 800; letter-spacing: -.025em; line-height: 1.1; margin: 4px 0 2px; }
.ps-search { background: var(--white); border-radius: 12px; padding: 10px 12px; color: var(--muted); font-size: 12px; box-shadow: var(--shadow-sm); margin-bottom: 12px; }
.ps-list { background: var(--white); border-radius: 14px; padding: 4px 10px; box-shadow: var(--shadow-sm); }
.ps-rest { display: flex; gap: 10px; align-items: center; padding: 9px 4px; border-bottom: 1px solid var(--line); border-radius: 10px; transition: background-color .3s; }
.ps-rest:last-child { border-bottom: 0; }
.ps-rest b { display: block; font-size: 13px; font-weight: 650; letter-spacing: -.01em; }
.ps-rest small { color: var(--green-text); font-size: 11px; }
.ps-rest.pressed { background: var(--paper); }
.ps-av { width: 34px; height: 34px; border-radius: 10px; flex: none; display: grid; place-items: center; font-weight: 800; font-size: 12px; color: hsl(var(--h) 55% 32%); background: hsl(var(--h) 70% 90%); }
.ps-av.sm { width: 28px; height: 28px; font-size: 11px; border-radius: 8px; }
.ps-cover { height: 96px; border-radius: 14px; background: linear-gradient(135deg, hsl(var(--h) 70% 88%), hsl(var(--h) 60% 78%)); display: grid; place-items: center; margin-bottom: 10px; }
.ps-cover span { font-size: 30px; font-weight: 800; color: hsl(var(--h) 50% 40% / .45); }
.ps-sheet { margin-top: 12px; background: var(--white); border-radius: 16px; padding: 14px; box-shadow: 0 -6px 24px rgba(0,0,0,.08); display: grid; gap: 6px; }
.ps-sheet > b { font-size: 16px; font-weight: 800; letter-spacing: -.02em; }
.ps-sheet > small { color: var(--muted); font-size: 11px; margin-bottom: 4px; }
.ps-opt { display: flex; align-items: center; gap: 8px; font-size: 12px; padding: 6px 0; border-top: 1px solid var(--line); }
.ps-opt em { margin-left: auto; font-style: normal; color: var(--muted); }
.ps-radio { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #c7c7cc; flex: none; }
.ps-radio.on { border: 5px solid var(--black); }
.ps-btn { margin-top: 8px; background: var(--black); color: var(--white); border-radius: 999px; text-align: center; padding: 11px; font-weight: 700; font-size: 13px; transition: transform .25s var(--ease), background-color .25s; }
.ps-btn.pressed { transform: scale(.95); background: #333; }
.ps-box { background: var(--white); border-radius: 14px; padding: 6px 12px; box-shadow: var(--shadow-sm); margin-top: 10px; }
.ps-line { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 12px; gap: 8px; }
.ps-line:last-child { border-bottom: 0; }
.ps-line span:last-child { font-variant-numeric: tabular-nums; text-align: right; }
.ps-line.tot { font-weight: 800; font-size: 13px; }
.ps-pay { display: flex; align-items: center; gap: 10px; padding: 12px; font-weight: 600; }
.ps-cardic { width: 28px; height: 20px; border-radius: 4px; background: linear-gradient(135deg, #2c2c2e, #000); position: relative; }
.ps-cardic::after { content: ""; position: absolute; left: 4px; top: 5px; width: 8px; height: 6px; border-radius: 1.5px; background: var(--orange); }
.ps-num { font-size: 28px; font-weight: 800; letter-spacing: -.02em; margin: 2px 0 12px; font-variant-numeric: tabular-nums; }
.ps-tl { list-style: none; background: var(--white); border-radius: 16px; padding: 12px 14px; box-shadow: var(--shadow-sm); }
.ps-tl li { display: flex; gap: 10px; position: relative; padding-bottom: 14px; }
.ps-tl li:last-child { padding-bottom: 0; }
.ps-tl li:not(:last-child)::before { content: ""; position: absolute; left: 10px; top: 22px; bottom: 0; width: 2px; background: #e5e5ea; }
.ps-tl li.done:not(:last-child)::before { background: var(--black); }
.ps-tl i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #d1d1d6; background: var(--white); flex: none; position: relative; transition: background-color .4s, border-color .4s, box-shadow .4s; }
.ps-tl li.done i { background: var(--black); border-color: var(--black); }
.ps-tl li.done i::after { content: ""; position: absolute; left: 6px; top: 3px; width: 5px; height: 9px; border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ps-tl li.cur i { border-color: var(--orange); box-shadow: 0 0 0 5px rgba(255,149,0,.2); }
.ps-tl b { display: block; font-size: 13px; font-weight: 650; line-height: 22px; color: var(--muted); transition: color .3s; }
.ps-tl li.done b, .ps-tl li.cur b { color: var(--ink); }
.ps-tl small { display: block; font-size: 11px; color: var(--muted); margin-top: -3px; }
.ps-toast { position: absolute; left: 14px; right: 14px; bottom: 18px; background: var(--black); color: var(--white); border-radius: 14px; padding: 12px; text-align: center; font-weight: 700; transform: translateY(140%); transition: transform .6s var(--ease); }
.ps-toast.on { transform: none; }
.tap { position: absolute; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,149,0,.35); border: 2px solid rgba(255,149,0,.9); pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.6); z-index: 10; }
.tap.go { animation: tap .7s var(--ease) forwards; }
@keyframes tap { 0% { opacity: 0; transform: translate(-50%, -50%) scale(1.4); } 35% { opacity: 1; transform: translate(-50%, -50%) scale(.8); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.8); } }

.flow-link { position: relative; height: 2px; margin: 0 -8px; align-self: center; margin-top: -40px; }
.flow-link-line { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, #d1d1d6 0 6px, transparent 6px 12px); }
.flow-link-dot { position: absolute; top: 50%; left: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 6px rgba(255,149,0,.2); opacity: 0; }

.tablet-frame { position: relative; border-radius: 30px; background: #1c1c1e; padding: 12px; box-shadow: 0 0 0 1.5px #3a3a3c, 0 40px 90px rgba(0,0,0,.2); }
.tablet-screen { position: relative; border-radius: 20px; background: var(--paper); aspect-ratio: 16 / 11; overflow: hidden; padding: 14px; font-size: 12px; }
.tb-top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.tb-top b { display: block; font-size: 14px; letter-spacing: -.01em; }
.tb-top small { display: block; color: var(--muted); font-size: 11px; }
.tb-bell { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; background: var(--white); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.tb-bell svg { width: 17px; height: 17px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tb-bell.ring { animation: ring .9s var(--ease); background: var(--red); }
.tb-bell.ring svg { stroke: var(--white); }
@keyframes ring { 10%, 30%, 50% { transform: rotate(-14deg); } 20%, 40%, 60% { transform: rotate(14deg); } 70% { transform: none; } }
.tb-board { position: relative; transition: transform .8s var(--ease); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 7px; height: calc(100% - 46px); }
.tb-col { position: relative; background: rgba(118,118,128,.1); border-radius: 12px; padding: 7px; display: flex; flex-direction: column; min-width: 0; transition: background-color .4s; }
.tb-col.target { background: rgba(255,149,0,.14); }
.tb-col h4 { font-size: 10.5px; font-weight: 650; display: flex; justify-content: space-between; gap: 4px; margin-bottom: 6px; white-space: nowrap; color: var(--ink); overflow: hidden; }
.tb-col h4 span { overflow: hidden; text-overflow: ellipsis; }
.tb-col h4 em { font-style: normal; color: var(--muted); font-variant-numeric: tabular-nums; }
.tb-col[data-col="new"] h4 { color: var(--red); }
.tb-drop { flex: 1; position: relative; }
.tablet-screen .tb-top { position: relative; z-index: 6; background: var(--paper); }
.tb-card { background: var(--white); border-radius: 10px; padding: 7px; box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 4px 10px rgba(0,0,0,.04); display: grid; gap: 2px; font-size: 10px; }
.tb-card b { font-family: var(--f-mono); font-size: 10.5px; white-space: nowrap; }
.tb-card small { color: var(--muted); font-size: 9.5px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-card.ghost { opacity: .7; }
.tb-act { display: block; margin-top: 4px; border-radius: 999px; text-align: center; padding: 4px; font-weight: 650; font-size: 9.5px; background: var(--paper); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-act.primary { background: var(--blue); color: var(--white); transition: transform .2s var(--ease), background-color .2s; }
.tb-act.primary.pressed { transform: scale(.92); background: #0060df; }
.tb-act[hidden] { display: none; }
.tb-card.live { overflow: hidden; min-width: 0; position: absolute; left: 0; top: 0; width: 120px; z-index: 5; box-shadow: 0 0 0 1.5px var(--red), 0 10px 26px rgba(0,0,0,.14); opacity: 0; will-change: transform; transition: box-shadow .4s; }
.tb-card.live.calm { box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 10px 26px rgba(0,0,0,.1); }
.tb-card-head { min-width: 0; display: flex; justify-content: space-between; align-items: center; gap: 4px; }
.tb-badge { overflow: hidden; text-overflow: ellipsis; max-width: 60%; font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 999px; background: var(--red); color: var(--white); white-space: nowrap; }
.tb-badge.calm { background: var(--paper); color: var(--ink); }
.tb-badge.ok { background: rgba(52,199,89,.16); color: var(--green-text); }
.tb-card-foot { white-space: nowrap; display: flex; justify-content: space-between; align-items: center; margin-top: 3px; }
.tb-card-foot b { font-family: var(--f); font-size: 11px; }
.chip-ok { font-size: 9px; font-weight: 650; color: var(--green-text); background: rgba(52,199,89,.14); border-radius: 999px; padding: 2px 6px; }

.flow-ui { max-width: 860px; margin: 48px auto 0; display: grid; grid-template-columns: 1fr auto; gap: 20px 28px; align-items: center; }
.flow-caption { display: flex; gap: 18px; align-items: flex-start; min-height: 96px; }
.flow-num { width: 44px; height: 44px; border-radius: 50%; background: var(--black); color: var(--white); display: grid; place-items: center; font-weight: 800; font-size: 18px; flex: none; font-variant-numeric: tabular-nums; }
.flow-caption h3 { font-size: clamp(20px, 2.2vw, 26px); font-weight: 800; letter-spacing: -.025em; line-height: 1.15; }
.flow-caption p { color: var(--muted); margin-top: 6px; font-size: 16px; }
.flow-controls { display: flex; gap: 8px; }
.icon-btn.play { background: var(--black); color: var(--white); border-color: var(--black); }
.icon-btn.play:hover { background: #222; }
.flow-steps { grid-column: 1 / -1; list-style: none; display: grid; grid-template-columns: repeat(9, 1fr); gap: 6px; }
.flow-steps button { position: relative; width: 100%; border: 0; background: none; padding: 14px 0 0; text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); transition: color .3s; min-height: 44px; }
.flow-steps button::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 2px; background: #e5e5ea; }
.flow-steps button::after { content: ""; position: absolute; left: 0; top: 0; height: 4px; border-radius: 2px; background: var(--black); width: calc(var(--p, 0) * 100%); }
.flow-steps button.done::after { width: 100%; }
.flow-steps button.cur { color: var(--ink); }
.flow-steps button.cur::after { background: var(--orange); }
.flow-steps button:hover { color: var(--ink); }
.flow-steps .st-l { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 28px; }

/* ---------- Themes ---------- */
.themes { background: var(--paper); }
.theme-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.theme-tab { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 9px 16px; font-size: 15px; font-weight: 600; transition: background-color .3s, color .3s, transform .3s var(--ease), border-color .3s; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; }
.theme-tab i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.theme-tab[aria-selected="true"] { background: var(--black); color: var(--white); border-color: var(--black); }
.theme-tab:active { transform: scale(.96); }
.theme-stage { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; align-items: start; }
.browser { border-radius: 16px; background: var(--white); box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.browser-bar > i { width: 11px; height: 11px; border-radius: 50%; background: #d1d1d6; }
.browser-bar > i:nth-child(1) { background: #ff5f57; } .browser-bar > i:nth-child(2) { background: #febc2e; } .browser-bar > i:nth-child(3) { background: #28c840; }
.browser-url { margin: 0 auto; font-size: 12px; color: var(--muted); background: rgba(118,118,128,.1); padding: 4px 14px; border-radius: 8px; transform: translateX(-20px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 70%; }
.browser-view { position: relative; aspect-ratio: 16 / 10; background: var(--paper-2); overflow: hidden; }
.browser-view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: opacity .6s var(--ease), transform .9s var(--ease); }
.browser-view img.leaving { opacity: 0; transform: scale(1.02); }
.browser-view img.entering { opacity: 0; transform: scale(.985); }
.theme-labels { background: var(--white); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.theme-labels h3 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.theme-labels > p { font-size: 14px; color: var(--muted); margin: 4px 0 16px; }
.theme-labels ol { list-style: none; display: grid; gap: 8px; counter-reset: s; }
.theme-labels li { display: flex; gap: 10px; align-items: center; font-size: 15px; font-weight: 600; padding: 9px 12px; border-radius: 12px; background: var(--paper); counter-increment: s; opacity: 0; transform: translateX(10px); animation: lbl .5s var(--ease) forwards; animation-delay: calc(var(--i) * 60ms); }
.theme-labels li::before { content: counter(s); width: 22px; height: 22px; border-radius: 50%; background: var(--c, var(--black)); color: var(--white); font-size: 11px; display: grid; place-items: center; flex: none; }
.theme-labels small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); }
@keyframes lbl { to { opacity: 1; transform: none; } }

/* ---------- Benefits ---------- */
.benefits { background: var(--white); }
.seg { position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: rgba(118,118,128,.12); border-radius: 999px; padding: 4px; margin-top: 30px; }
.seg button { position: relative; z-index: 1; border: 0; background: none; padding: 10px 22px; font-size: 15px; font-weight: 600; border-radius: 999px; min-height: 40px; color: var(--muted); transition: color .3s; white-space: nowrap; }
.seg button[aria-selected="true"] { color: var(--ink); }
.seg-thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--white); box-shadow: 0 2px 8px rgba(0,0,0,.12); transition: transform .5s var(--ease); }
.seg.right .seg-thumb { transform: translateX(100%); }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; perspective: 1000px; }
.bcard { padding: 30px 28px; border-radius: var(--r-lg); background: var(--paper); transition: transform .5s var(--ease), background-color .4s, box-shadow .5s var(--ease); transform-style: preserve-3d; }
.bcard svg { width: 30px; height: 30px; fill: none; stroke: var(--orange); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 22px; }
.bcard h3 { font-size: 20px; font-weight: 750; letter-spacing: -.02em; margin-bottom: 8px; }
.bcard p { color: var(--muted); font-size: 16px; }
.bcard:hover { background: var(--white); box-shadow: var(--shadow); }

/* ---------- Dashboard ---------- */
.dash { background: var(--black); color: var(--white); overflow: hidden; }
.dash .lead { color: var(--muted-dark); }
.dash-app { background: var(--paper); color: var(--ink); border-radius: 22px; padding: clamp(14px, 2vw, 24px); box-shadow: 0 50px 120px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08); transform-origin: 50% 0; }
.dash-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.dash-who { display: flex; gap: 10px; align-items: center; }
.dash-who b { display: block; font-size: 15px; letter-spacing: -.01em; }
.dash-who small { display: block; color: var(--muted); font-size: 12px; }
.demo-chip { font-size: 12px; font-weight: 650; padding: 5px 11px; border-radius: 999px; background: rgba(255,149,0,.14); color: #8a4500; }
.dash-tabs { display: flex; gap: 4px; margin-bottom: 18px; overflow-x: auto; scrollbar-width: none; }
.dash-tabs::-webkit-scrollbar { display: none; }
.dash-tabs button { border: 0; background: none; padding: 9px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); display: inline-flex; gap: 7px; align-items: center; white-space: nowrap; min-height: 40px; transition: background-color .25s, color .25s; }
.dash-tabs button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dash-tabs button[aria-selected="true"] { background: rgba(118,118,128,.16); color: var(--ink); }
.tab-badge { min-width: 18px; height: 18px; border-radius: 9px; background: var(--red); color: var(--white); font-size: 11px; display: inline-grid; place-items: center; padding: 0 5px; font-variant-numeric: tabular-nums; }
.dash-panel { animation: panel-in .5s var(--ease-out); }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } }
.dash-hello { background: var(--white); border-radius: 18px; padding: 22px 24px; margin-bottom: 14px; box-shadow: var(--shadow-sm); }
.dh-kicker { font-size: 13px; color: var(--muted); }
.dh-title { font-size: clamp(20px, 2.4vw, 28px); font-weight: 800; letter-spacing: -.025em; margin: 2px 0 12px; }
.dh-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.dh-chips span { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--paper); }
.dh-chips .chip-red { background: var(--red); color: var(--white); }
.dh-load { margin-top: 14px; font-size: 13px; max-width: 420px; }
.dh-load i { display: block; height: 6px; border-radius: 3px; background: #e5e5ea; margin-top: 6px; overflow: hidden; }
.dh-load i b { display: block; height: 100%; background: var(--orange); border-radius: 3px; transition: width .8s var(--ease); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
.kpi { background: var(--white); border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.kpi span { font-size: 12.5px; color: var(--muted); display: block; }
.kpi b { display: block; font-size: clamp(22px, 2.6vw, 32px); font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin-top: 4px; white-space: nowrap; }
.kpi-delta { position: absolute; right: 12px; top: 12px; font-style: normal; font-size: 12px; font-weight: 700; color: var(--green-text); background: rgba(52,199,89,.14); padding: 2px 7px; border-radius: 999px; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .4s var(--ease); }
.kpi-delta.on { opacity: 1; transform: none; }
.kpi.flash { animation: kflash 1s var(--ease); }
@keyframes kflash { 30% { box-shadow: 0 0 0 2px var(--orange), var(--shadow-sm); } }
.dash-row { display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; margin-bottom: 14px; }
.dpanel { background: var(--white); border-radius: 18px; padding: 18px 20px; box-shadow: var(--shadow-sm); min-width: 0; }
.dp-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.dp-head b { font-size: 15px; letter-spacing: -.01em; }
.dp-head small { color: var(--muted); font-size: 12px; }
.bars { display: grid; grid-template-columns: repeat(14, 1fr); gap: 6px; align-items: end; height: 200px; position: relative; background: linear-gradient(to top, transparent calc(25% - 1px), #eee calc(25% - 1px) 25%, transparent 25%) 0 0 / 100% 100%; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: #eee; }
.bars::before { top: 25%; } .bars::after { top: 50%; }
.bar { position: relative; height: calc(var(--h) * 100%); border-radius: 6px 6px 2px 2px; background: var(--blue); transform-origin: bottom; z-index: 1; }
.bar.today { background: var(--green); }
.bar span { position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%); font-size: 10px; color: var(--muted); }
.bars { margin-bottom: 20px; }
.feed { list-style: none; display: grid; gap: 8px; max-height: 236px; overflow: hidden; position: relative; }
.feed li { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--paper); font-size: 13px; animation: feed-in .6s var(--ease-out); }
.feed li b { font-family: var(--f-mono); font-size: 12px; }
.feed li small { grid-column: 2; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed li em { font-style: normal; font-weight: 700; grid-row: span 2; font-variant-numeric: tabular-nums; }
.feed li .fdot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); grid-row: span 2; }
.feed li.new { background: rgba(255,59,48,.08); }
@keyframes feed-in { from { opacity: 0; transform: translateY(-14px) scale(.98); } }
.top-list { list-style: none; display: grid; gap: 10px; }
.top-list li { display: grid; grid-template-columns: 180px 1fr 44px; gap: 12px; align-items: center; font-size: 14px; }
.top-list li span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.top-list li i { height: 8px; border-radius: 4px; background: var(--paper); position: relative; overflow: hidden; }
.top-list li i::after { content: ""; position: absolute; inset: 0; width: calc(var(--w) * 100%); background: var(--ink); border-radius: 4px; transform-origin: left; transform: scaleX(var(--s, 1)); transition: transform 1.2s var(--ease); }
.top-list li b { text-align: right; font-variant-numeric: tabular-nums; }
.dash-panel.shot img { width: 100%; height: auto; border-radius: 14px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.shot-cap { text-align: center; color: var(--muted); font-size: 13px; margin-top: 12px; }

/* ---------- Region ---------- */
.region { background: var(--white); }
.region-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.region-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.region-list button { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 7px 13px; font-size: 14px; font-weight: 600; min-height: 38px; transition: background-color .25s, color .25s, border-color .25s; }
.region-list button:hover, .region-list button.on { background: var(--black); color: var(--white); border-color: var(--black); }
.region-info { margin-top: 18px; font-size: 15px; color: var(--muted); min-height: 46px; }
.region-info b { color: var(--ink); }
.region-map { position: relative; aspect-ratio: 840 / 772; }
.region-map svg { width: 100%; height: 100%; overflow: visible; }
.region-map .zone { fill: var(--paper); stroke: var(--white); stroke-width: 2.5; stroke-linejoin: round; transition: fill .35s, transform .5s var(--ease); cursor: pointer; transform-box: fill-box; transform-origin: center; }
.region-map .zone[data-zone="ahaus"] { fill: #FFE2B8; }
.region-map .zone.on { fill: var(--orange); }
.region-map .zone[data-zone="ahaus"].on { fill: var(--orange); }
.region-map .pin circle { fill: var(--black); stroke: var(--white); stroke-width: 2.5; transition: r .3s var(--ease); }
.region-map .pin text { font: 600 15px var(--f); fill: var(--ink); paint-order: stroke; stroke: rgba(255,255,255,.92); stroke-width: 4px; stroke-linejoin: round; pointer-events: none; }
.region-map .pin[data-zone="ahaus"] circle { fill: var(--orange); r: 8; }
.region-map .pin.on circle { r: 8; }
.region-map .pulse-ring { fill: none; stroke: var(--orange); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ring2 2.4s var(--ease) infinite; }
@keyframes ring2 { from { opacity: .9; transform: scale(.4); } to { opacity: 0; transform: scale(3.2); } }
.eco-explain { margin-top: clamp(80px, 10vw, 130px); }
.eco-chain { display: flex; align-items: stretch; gap: 0; margin-top: 30px; }
.chain-item { flex: 1; min-width: 0; background: var(--paper); border-radius: var(--r-lg); padding: 22px 18px; display: flex; flex-direction: column; gap: 4px; }
.chain-item svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 12px; }
.chain-item b { font-size: 17px; letter-spacing: -.015em; }
.chain-item small { color: var(--muted); font-size: 14px; line-height: 1.35; }
.chain-arrow { flex: none; width: 28px; position: relative; align-self: center; height: 2px; }
.chain-arrow::before { content: ""; position: absolute; inset: 0 6px; background: var(--orange); border-radius: 1px; transform-origin: left; transform: scaleX(var(--a, 1)); }
.chain-arrow::after { content: ""; position: absolute; right: 4px; top: -4px; border: 5px solid transparent; border-left: 6px solid var(--orange); border-right: 0; opacity: var(--a, 1); }

/* ---------- Cost ---------- */
.cost { background: var(--paper); }
.cost-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.cost-points { list-style: none; display: grid; gap: 12px; margin-top: 28px; }
.cost-points li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.cost-points svg { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--black); fill: none; stroke: var(--white); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.calc { background: var(--white); border-radius: var(--r-xl); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); }
.calc-title { font-size: 20px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 18px; }
.range { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-bottom: 20px; font-size: 15px; font-weight: 600; }
.range output { font-weight: 800; font-variant-numeric: tabular-nums; }
.range input { grid-column: 1 / -1; -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; margin: 0; cursor: pointer; }
.range input::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(to right, var(--black) var(--p, 50%), #e5e5ea var(--p, 50%)); }
.range input::-moz-range-track { height: 6px; border-radius: 3px; background: #e5e5ea; }
.range input::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--black); }
.range input::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: var(--white); margin-top: -11px; box-shadow: 0 0 0 .5px rgba(0,0,0,.04), 0 3px 8px rgba(0,0,0,.2), 0 1px 1px rgba(0,0,0,.16); transition: transform .2s var(--ease); }
.range input:active::-webkit-slider-thumb { transform: scale(1.12); }
.range input::-moz-range-thumb { width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--white); box-shadow: 0 3px 8px rgba(0,0,0,.2); }
.calc-out { margin: 8px 0 0; display: grid; }
.calc-out div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.calc-out dt { color: var(--muted); }
.calc-out dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-total dt { color: var(--ink); font-weight: 700; }
.calc-total dd { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.calc-bar { display: flex; height: 10px; border-radius: 5px; overflow: hidden; margin-top: 8px; gap: 2px; }
.calc-bar i { display: block; height: 100%; transition: flex-grow .5s var(--ease); }
#calc-bar-net { background: var(--black); }
#calc-bar-fee { background: var(--orange); }
#calc-bar-stripe { background: #c7c7cc; }
.calc-note { font-size: 12.5px; color: var(--muted); margin-top: 16px; line-height: 1.45; }

/* ---------- FAQ ---------- */
.faq { background: var(--white); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-size: clamp(17px, 1.6vw, 20px); font-weight: 700; letter-spacing: -.015em; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M14 9v10M9 14h10' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center no-repeat; transition: transform .4s var(--ease), background-color .3s; }
.faq-list details[open] summary::after { transform: rotate(45deg); background-color: var(--orange); }
.faq-list details p { color: var(--muted); padding: 0 44px 24px 0; font-size: 16.5px; line-height: 1.55; }
.faq-list details[open] p { animation: faq-in .45s var(--ease-out); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- CTA ---------- */
.cta { position: relative; background: var(--black); color: var(--white); padding: clamp(110px, 16vw, 200px) 0; overflow: hidden; text-align: center; isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 50% 100%, rgba(255,149,0,.22), transparent 70%); z-index: -1; }
.cta-bite { position: absolute; right: -6%; top: 12%; width: min(56vw, 640px); opacity: .06; z-index: -1; }
.cta-bite svg { width: 100%; fill: var(--white); }
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta-title { font-size: clamp(44px, 8vw, 104px); line-height: .98; letter-spacing: -.045em; font-weight: 800; max-width: 11em; }
.cta-lead { color: var(--muted-dark); font-size: clamp(17px, 1.6vw, 21px); max-width: 34em; margin-top: 22px; }
.cta-slogan { margin-top: 56px; font-weight: 700; font-style: italic; letter-spacing: -.01em; color: var(--muted-dark); }

/* ---------- Footer ---------- */
/* Unterseiten: erster Abschnitt beginnt unter der Navigation */
.page-first { padding-top: calc(var(--nav-h) + clamp(56px, 8vw, 112px)); }
.cta.contact { min-height: calc(100vh - 160px); min-height: calc(100svh - 160px); display: flex; align-items: center; }
.cta.contact .cta-inner { width: 100%; }
.contact-list { list-style: none; padding: 0; margin: 22px auto 0; text-align: left; justify-items: start; color: var(--white); font-size: clamp(17px, 1.6vw, 21px); display: grid; gap: 8px; }
.contact-list li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); margin-right: 12px; vertical-align: middle; }
.contact-cta { margin-top: 36px; }
.btn-nav[aria-current="page"] { box-shadow: 0 0 0 2px var(--orange); }

.footer { background: var(--black); color: var(--muted-dark); padding: 56px 0 40px; border-top: 1px solid var(--line-dark); font-size: 14px; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-brand p { color: var(--white); font-weight: 600; line-height: 1.35; }
.brand-icon.lg { width: 48px; height: 48px; border-radius: 14px; }
.brand-icon.lg svg { width: 30px; }
.footer-nav { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-nav div { display: grid; gap: 8px; align-content: start; }
.footer-nav b { color: var(--white); font-size: 13px; margin-bottom: 4px; }
.footer-nav a { text-decoration: none; padding: 2px 0; }
.footer-nav a:hover { color: var(--white); }
.footer-legal { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: grid; gap: 8px; font-size: 12.5px; line-height: 1.5; }

/* ---------- Scroll reveal ---------- */
.js .rv { opacity: 0; transform: translateY(28px); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { gap: 18px; }
  .flow-devices { grid-template-columns: auto minmax(24px, .4fr) minmax(0, 1.8fr); }
  .phone-frame { width: 250px; height: 520px; border-radius: 46px; }
  .phone-screen { border-radius: 36px; }
  .theme-stage { grid-template-columns: 1fr; }
  .theme-labels ol { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 920px) {
  .nav-links, .btn-nav { display: none; }
  .nav-toggle { display: grid; }
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 48px); }
  .hero-grid { grid-template-columns: 1fr; }
  .eco { margin: 12px -8px 0; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .t-customer { grid-row: span 2; }
  .trio { grid-template-columns: 1fr; }
  .problem-grid { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .dash-row { grid-template-columns: 1fr; }
  .region-grid, .cost-grid, .faq-grid { grid-template-columns: 1fr; }
  .region-map { max-width: 560px; margin: 0 auto; width: 100%; }
  .eco-chain { flex-direction: column; }
  .chain-arrow { width: 2px; height: 22px; align-self: center; }
  .chain-arrow::before { inset: 4px 0; transform-origin: top; transform: scaleY(var(--a, 1)); }
  .chain-arrow::after { right: -4px; top: auto; bottom: 0; border: 5px solid transparent; border-top: 6px solid var(--orange); border-bottom: 0; }
  .chain-item { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
  .chain-item svg { margin: 0; }
  .chain-item small { flex-basis: 100%; }
  .sheet-inner { grid-template-columns: 1fr; overflow-y: auto; }
  .sheet-media { min-height: 0; padding: 28px 24px 0; max-height: 46vh; align-items: start; }
  .sheet-media .m-phone { width: min(200px, 56%); border-bottom: 0; border-radius: 30px 30px 0 0; }
  .sheet-body { padding: 26px 22px 24px; overflow: visible; }
  .flow-devices { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 28px; }
  .flow-link { display: none; }
  .device.tablet { width: 100%; max-width: 640px; min-width: 0; }
  .tablet-frame, .tablet-screen { min-width: 0; }
  .flow-ui { grid-template-columns: 1fr; }
  .flow-controls { justify-content: center; order: 3; }
  .flow-steps { order: 2; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand-sub { display: none; }
  .hero-title { font-size: clamp(38px, 11vw, 56px); }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-facts { gap: 8px 18px; }
  .eco-node { padding: 6px 10px 6px 6px; gap: 7px; border-radius: 12px; }
  .eco-node .en-ic { width: 26px; height: 26px; border-radius: 8px; }
  .eco-node .en-ic svg { width: 15px; height: 15px; }
  .eco-node b { font-size: 11.5px; }
  .eco-node small { display: none; }
  .eco-ticker { font-size: 11px; padding: 6px 11px; top: 68%; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .t-customer, .t-orders, .t-insights { grid-column: auto; }
  .t-customer { grid-row: auto; min-height: 520px; }
  .tv-phone { width: 62%; bottom: -36%; }
  .benefit-grid { grid-template-columns: 1fr; }
  .kpis { gap: 8px; }
  .kpi { padding: 12px 14px; }
  .top-list li { grid-template-columns: 1fr 64px 36px; font-size: 13px; }
  .bars { height: 150px; gap: 3px; }
  .bar span { display: none; }
  .bar:nth-child(odd) span { display: block; }
  .phone-frame { width: 260px; height: 540px; }
  .tablet-screen { aspect-ratio: auto; height: 300px; padding: 10px; }
  .tb-board { grid-template-columns: repeat(6, 92px); }
  .tb-card.live { width: 92px; }
  .tb-badge { display: none; }
  .flow-steps { grid-template-columns: repeat(9, 1fr); gap: 4px; }
  .flow-steps .st-l { display: none; }
  .flow-steps button { min-height: 28px; padding-top: 10px; }
  .flow-caption { min-height: 120px; }
  .theme-labels ol { grid-template-columns: 1fr; }
  .theme-tab { padding: 8px 13px; font-size: 14px; }
  .seg button { padding: 10px 16px; }
  .sheet { max-width: 100vw; width: 100vw; max-height: 92dvh; margin: auto 0 0; border-radius: 26px 26px 0 0; }
  .sheet[open] { animation-name: sheet-up; }
  .sheet.closing { animation-name: sheet-down; }
  .footer-nav { gap: 32px; }
}
@keyframes sheet-up { from { transform: translateY(100%); } }
@keyframes sheet-down { to { transform: translateY(100%); } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .rv { opacity: 1; transform: none; }
  .js .reveal-text.split .w { opacity: 1; }
  .eco-orbit { display: none; }
}
