/* =========================================================
   GYMBUL — web sitesi
   Kırık beyaz zemin, GYMBUL mavisi (#3137FD) + lacivert, logodaki
   turuncu yalnızca küçük vurgu. Sıvı + parçacık zemin (js/liquid.js).
   ========================================================= */
:root {
  color-scheme: light;
  --bg: #F4F5F9;
  --bg-2: #ECEEF6;
  --paper: #FFFFFF;
  --ink: #0A0F24;
  --ink-2: #252B47;
  --muted: #5A6181;
  --faint: #8A90AB;
  --line: rgba(10, 15, 36, .08);
  --line-2: rgba(10, 15, 36, .14);
  --brand: #3137FD;
  --brand-2: #6E8DFF;
  --brand-3: #B9C6FF;
  --navy: #0B1B4D;
  --orange: #F28C1B;
  --ok: #16A34A;
  --glass: rgba(255, 255, 255, .62);
  --glass-edge: rgba(255, 255, 255, .85);
  --r-xl: 36px;
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;
  --sh-1: 0 1px 1px rgba(16, 24, 64, .04), 0 6px 16px -6px rgba(16, 24, 64, .10);
  --sh-2: 0 1px 1px rgba(16, 24, 64, .04), 0 12px 32px -12px rgba(16, 24, 64, .16), 0 40px 80px -40px rgba(16, 24, 64, .22);
  --sh-brand: 0 10px 30px -10px color-mix(in srgb, var(--brand) 70%, transparent), 0 2px 6px -2px color-mix(in srgb, var(--brand) 50%, transparent);
  --font: 'Geist', 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip; font-feature-settings: "ss01", "cv11";
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
input, select { font: inherit; color: inherit; }
::selection { background: color-mix(in srgb, var(--brand) 22%, white); }
.mono { font-family: var(--mono); }
.ic { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.section { position: relative; padding-block: clamp(88px, 12vw, 168px); }

/* ---------- type ---------- */
.h1 { font-size: clamp(48px, 8.4vw, 128px); line-height: .94; letter-spacing: -.055em; font-weight: 640; margin: 0; }
.h2 { font-size: clamp(36px, 5.4vw, 76px); line-height: 1.0; letter-spacing: -.045em; font-weight: 620; margin: 0; text-wrap: balance; }
.h3 { font-size: clamp(26px, 2.8vw, 38px); line-height: 1.08; letter-spacing: -.035em; font-weight: 620; margin: 0; text-wrap: balance; }
.lead { font-size: clamp(17px, 1.45vw, 20px); color: var(--muted); max-width: 640px; margin: 22px 0 0; text-wrap: pretty; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--brand); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; border-radius: 2px; }
.grad {
  background: linear-gradient(100deg, var(--brand) 0%, #5B4BFF 30%, var(--brand-2) 55%, var(--brand) 80%, #5B4BFF 100%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 9s linear infinite;
  padding-bottom: .06em;
}
@keyframes shimmer { to { background-position: -220% 0; } }
.sec-head { max-width: 860px; margin-bottom: clamp(44px, 6vw, 80px); }

/* ---------- buttons ---------- */
.btn {
  --h: 48px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px; border-radius: 999px; font-weight: 560; font-size: 15.5px; letter-spacing: -.01em;
  transition: transform .5s var(--ease), box-shadow .4s var(--ease), background .3s; white-space: nowrap; isolation: isolate;
}
.btn .ic { transition: transform .4s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn-sm { --h: 40px; padding: 0 16px; font-size: 14.5px; }
.btn-lg { --h: 56px; padding: 0 28px; font-size: 16.5px; }
.btn-block { width: 100%; }
.btn-primary {
  color: #fff; background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 88%, white), var(--brand));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -1px 0 rgba(0,0,0,.12), var(--sh-brand);
}
.btn-primary::after {
  content: ""; position: absolute; inset: -1.5px; border-radius: inherit; z-index: -1; padding: 1.5px;
  background: conic-gradient(from var(--ang, 0deg), transparent 0 70%, rgba(255,255,255,.9) 80%, transparent 90%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin-ang 4s linear infinite; opacity: .7;
}
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin-ang { to { --ang: 360deg; } }
.btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -1px 0 rgba(0,0,0,.12), 0 18px 40px -12px color-mix(in srgb, var(--brand) 75%, transparent); }
.btn-glass {
  background: var(--glass); color: var(--ink); border: 1px solid var(--glass-edge);
  backdrop-filter: blur(14px) saturate(1.6); -webkit-backdrop-filter: blur(14px) saturate(1.6); box-shadow: var(--sh-1);
}
.btn-glass:hover { background: rgba(255,255,255,.85); }
.glass {
  background: var(--glass); border: 1px solid var(--glass-edge);
  backdrop-filter: blur(20px) saturate(1.7); -webkit-backdrop-filter: blur(20px) saturate(1.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), var(--sh-2);
}

/* ---------- scroll progress ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--brand), var(--brand-2)); }
@supports (animation-timeline: scroll()) {
  .scroll-progress { animation: grow linear both; animation-timeline: scroll(root); }
  @keyframes grow { to { transform: scaleX(1); } }
}

/* ---------- nav ---------- */
.nav {
  position: fixed; z-index: 50; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(100% - 24px, 1180px); height: 62px; padding: 0 10px 0 18px; border-radius: 999px;
  display: flex; align-items: center; gap: 18px;
  background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.8);
  backdrop-filter: blur(22px) saturate(1.8); -webkit-backdrop-filter: blur(22px) saturate(1.8);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 10px 30px -14px rgba(16,24,64,.18);
  transition: top .5s var(--ease), box-shadow .4s, background .4s;
}
.nav.scrolled { top: 10px; background: rgba(255,255,255,.72); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 14px 40px -16px rgba(16,24,64,.28); }
.nav-logo { display: inline-flex; align-items: center; gap: 10px; }
.nav-logo img { width: 34px; height: 34px; object-fit: contain; filter: drop-shadow(0 4px 8px rgba(11,27,77,.18)); }
.wm { font-weight: 800; letter-spacing: -.02em; font-size: 20px; line-height: 1; white-space: nowrap; }
.wm i { font-style: normal; font-weight: 300; }
.wm b { font-weight: 800; color: var(--brand); }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: 8px 13px; border-radius: 999px; font-size: 14.5px; color: var(--ink-2); transition: background .25s, color .25s; }
.nav-links a:hover { background: rgba(10,15,36,.05); }
.nav-links a.active { color: var(--brand); background: color-mix(in srgb, var(--brand) 9%, transparent); }
.nav-cta { margin-left: 6px; }
.nav-burger { display: none; width: 44px; height: 44px; border-radius: 50%; margin-left: auto; position: relative; }
.nav-burger i { position: absolute; left: 13px; right: 13px; height: 1.8px; background: var(--ink); border-radius: 2px; transition: transform .4s var(--ease), top .4s var(--ease); }
.nav-burger i:first-child { top: 18px; } .nav-burger i:last-child { top: 25px; }
.nav-burger[aria-expanded="true"] i:first-child { top: 21.5px; transform: rotate(45deg); }
.nav-burger[aria-expanded="true"] i:last-child { top: 21.5px; transform: rotate(-45deg); }
.nav-sheet {
  position: fixed; z-index: 49; inset: 84px 12px auto; padding: 14px; border-radius: 26px; display: grid; gap: 2px;
  background: rgba(255,255,255,.86); border: 1px solid #fff; backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); box-shadow: var(--sh-2);
  animation: sheet-in .45s var(--ease);
}
.nav-sheet a { padding: 14px 16px; border-radius: 14px; font-size: 18px; font-weight: 520; }
.nav-sheet a:not(.btn):active { background: rgba(10,15,36,.05); }
.nav-sheet .btn { margin-top: 8px; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(-10px) scale(.98); } }

/* ---------- fx canvases ---------- */
.fx { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.fx canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.fx-liquid { filter: saturate(1.08); }
.fx.no-gl { background: radial-gradient(60% 60% at 75% 45%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 70%), radial-gradient(40% 40% at 90% 80%, rgba(110,141,255,.18), transparent 70%); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; padding: 132px 0 40px; display: flex; flex-direction: column; justify-content: center; overflow: clip; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 160px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; z-index: 1; }
.hero-watermark { position: absolute; right: -60px; bottom: -40px; width: min(52vw, 640px); opacity: .045; filter: grayscale(1) contrast(1.4); z-index: 0; pointer-events: none; transform: rotate(-8deg); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 3vw, 48px); align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 12px 7px 10px; border-radius: 999px; font-size: 14px; color: var(--ink-2);
  background: rgba(255,255,255,.7); border: 1px solid #fff; box-shadow: var(--sh-1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform .4s var(--ease);
}
.pill:hover { transform: translateY(-2px); }
.pill b { color: var(--brand); font-weight: 650; }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--ok); animation: ping 2s var(--ease) infinite; }
@keyframes ping { from { transform: scale(.4); opacity: .9; } to { transform: scale(1.8); opacity: 0; } }
.hero-title { font-size: clamp(44px, 5.4vw, 88px); line-height: .95; letter-spacing: -.058em; font-weight: 650; margin: 26px 0 0; }
.hero-title .line { display: block; overflow: clip; padding-bottom: .06em; margin-bottom: -.06em; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); animation: line-up 1.1s var(--ease) forwards; }
.hero-title .line:nth-child(2) > span { animation-delay: .1s; }
.hero-title .line:nth-child(3) > span { animation-delay: .2s; }
@keyframes line-up { to { transform: none; } }
.hero-sub { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 560px; margin: 28px 0 0; opacity: 0; animation: fade-up 1s .45s var(--ease) forwards; text-wrap: pretty; }
.hero-sub strong { color: var(--ink); font-weight: 560; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; opacity: 0; animation: fade-up 1s .6s var(--ease) forwards; }
.hero-trust { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14.5px; color: var(--muted); opacity: 0; animation: fade-up 1s .75s var(--ease) forwards; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .ic { color: var(--brand); }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.hero-stage { position: relative; height: min(76svh, 720px); min-height: 560px; perspective: 1400px; display: grid; place-items: center; opacity: 0; animation: stage-in 1.4s .25s var(--ease) forwards; }
@keyframes stage-in { from { opacity: 0; transform: translateY(40px) scale(.96); } to { opacity: 1; transform: none; } }
.stage-tilt { position: relative; transform-style: preserve-3d; transition: transform .9s var(--ease); display: grid; place-items: center; }
.hero-phone { --w: clamp(270px, 24vw, 318px); transform: translateZ(0); }
.orbit { position: absolute; width: calc(var(--w, 300px) * 1.9); aspect-ratio: 1; width: 560px; max-width: 120%; left: 50%; top: 50%; transform: translate(-50%, -50%) translateZ(-80px); pointer-events: none; }
.orbit svg { width: 100%; height: 100%; animation: rot 40s linear infinite; }
.orbit text { font-family: var(--mono); font-size: 7.4px; letter-spacing: .32em; fill: color-mix(in srgb, var(--navy) 38%, transparent); }
.orbit::before { content: ""; position: absolute; inset: 9%; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--brand) 22%, transparent); }
.orbit::after { content: ""; position: absolute; inset: 22%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 22%, transparent), transparent); filter: blur(10px); }
@keyframes rot { to { transform: rotate(360deg); } }

.toast {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 11px 16px 11px 11px; border-radius: 18px; min-width: 210px;
  background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.95);
  backdrop-filter: blur(16px) saturate(1.8); -webkit-backdrop-filter: blur(16px) saturate(1.8);
  box-shadow: inset 0 1px 0 #fff, 0 20px 40px -18px rgba(16,24,64,.35);
  font-size: 14px; line-height: 1.25; opacity: 0; animation: toast-in .9s var(--ease) forwards, bob 7s ease-in-out infinite;
}
.toast b { display: block; font-weight: 600; letter-spacing: -.01em; }
.toast small { color: var(--muted); font-size: 12.5px; }
.t-ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; color: #fff; background: var(--brand); box-shadow: 0 6px 14px -6px var(--brand); }
.t-ic .ic { width: 18px; height: 18px; }
.t-ic.ok { background: var(--ok); box-shadow: 0 6px 14px -6px var(--ok); }
.t-ic.warn { background: var(--orange); box-shadow: 0 6px 14px -6px var(--orange); }
.t-ic.ai { background: linear-gradient(135deg, #5B4BFF, var(--brand-2)); }
.t1 { left: -46%; top: -2%; animation-delay: 1.1s, 1.1s; }
.t2 { right: -44%; top: 34%; animation-delay: 1.4s, 2s; }
.t3 { left: -44%; bottom: 26%; animation-delay: 1.7s, 3s; }
.t4 { right: -38%; bottom: 6%; animation-delay: 2s, 1.5s; }
@keyframes toast-in { from { opacity: 0; translate: 0 16px; scale: .94; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes bob { 0%, 100% { margin-top: 0; } 50% { margin-top: -10px; } }

.stats { position: relative; z-index: 2; margin: clamp(36px, 5vw, 64px) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--r-lg); padding: 8px; opacity: 0; animation: fade-up 1s 1s var(--ease) forwards; }
.stats > div { padding: 18px 22px; border-radius: 20px; }
.stats > div + div { border-left: 1px solid var(--line); }
.stats dt { margin: 0; }
.stats dt b { font-size: clamp(28px, 3vw, 40px); font-weight: 650; letter-spacing: -.04em; line-height: 1; }
.stats .plus { color: var(--brand); margin: 0 2px; }
.stats dd { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.scroll-cue { position: relative; z-index: 2; margin: 28px auto 0; width: 26px; height: 42px; border-radius: 99px; border: 1.5px solid var(--line-2); display: block; }
.scroll-cue i { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--brand); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- phone ---------- */
.phone {
  --w: 300px; position: relative; width: var(--w); aspect-ratio: 300 / 630; flex: none;
  border-radius: calc(var(--w) * .165); padding: calc(var(--w) * .032);
  background: linear-gradient(145deg, #3a3e4c 0%, #121319 22%, #0a0b0f 50%, #1c1e27 78%, #444959 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.18), inset 0 0 0 calc(var(--w) * .008) #0b0c10,
    0 calc(var(--w) * .2) calc(var(--w) * .35) calc(var(--w) * -.12) rgba(16,24,64,.45),
    0 calc(var(--w) * .06) calc(var(--w) * .1) calc(var(--w) * -.05) rgba(16,24,64,.35);
}
.phone .scr { position: relative; width: 100%; height: 100%; border-radius: calc(var(--w) * .135); overflow: hidden; background: #F4F6FB; isolation: isolate; transform: translateZ(0); }
.phone .scr::after { content: ""; position: absolute; inset: 0; z-index: 30; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 28%); mix-blend-mode: soft-light; }
.phone .island { position: absolute; z-index: 40; top: calc(var(--w) * .058); left: 50%; transform: translateX(-50%); width: 31%; height: calc(var(--w) * .085); background: #000; border-radius: 99px; }
.phone .btn-side { position: absolute; right: calc(var(--w) * -.009); top: 26%; width: calc(var(--w) * .012); height: 13%; border-radius: 0 3px 3px 0; background: linear-gradient(90deg, #22242c, #4b4f5e); }

/* ---------- app (inside phone) ---------- */
.app {
  --b: #3137FD; --bt: color-mix(in srgb, var(--b) 12%, white); --bd: color-mix(in srgb, var(--b) 58%, black);
  --app-bg: #F4F6FB; --app-sf: #FFFFFF; --app-tx: #0E1116; --app-mt: rgba(14,17,22,.55); --app-ln: rgba(14,17,22,.07);
  height: 100%; display: flex; flex-direction: column; background: var(--app-bg); color: var(--app-tx);
  font-family: var(--font); font-size: calc(var(--w) * .04); line-height: 1.3; letter-spacing: -.005em;
  transition: background .5s var(--ease), color .5s;
}
.app.dark { --bt: color-mix(in srgb, var(--b) 22%, #14161D); --app-bg: #07080C; --app-sf: #14161D; --app-tx: #FFFFFF; --app-mt: rgba(255,255,255,.58); --app-ln: rgba(255,255,255,.08); }
.app .ic { width: 1.25em; height: 1.25em; }
.app small { font-size: .78em; color: var(--app-mt); display: block; }
.app strong { font-weight: 640; letter-spacing: -.02em; }
.sb { height: 3.9em; flex: none; display: flex; justify-content: space-between; align-items: center; padding: .5em 2.1em 0 2.4em; font-weight: 640; font-size: 1.02em; position: relative; z-index: 20; }
.sb-r { display: flex; gap: .35em; align-items: center; }
.sb-r svg { height: .82em; width: auto; }
.ap-body { flex: 1; min-height: 0; overflow: hidden; position: relative; }
.ap-scroll { padding: .3em 1.25em 1em; display: flex; flex-direction: column; gap: .95em; }
.ap-scroll.center { align-items: stretch; }
[data-autoscroll] .ap-scroll { animation: autoscroll 22s var(--ease-io) infinite alternate; }
[data-autoscroll]:hover .ap-scroll { animation-play-state: paused; }
@keyframes autoscroll { 0%, 18% { transform: translateY(0); } 82%, 100% { transform: translateY(calc(-1 * var(--scroll-max, 360px))); } }
.ap-head { display: flex; align-items: center; gap: .7em; }
.ap-head .hi { flex: 1; }
.ap-head .hi strong { font-size: 1.15em; display: block; }
.ap-ib { position: relative; width: 2.6em; height: 2.6em; border-radius: 50%; display: grid; place-items: center; background: var(--app-sf); box-shadow: 0 1px 0 var(--app-ln), 0 .4em 1em -.5em rgba(0,0,0,.2); }
.ap-ib .dot { position: absolute; top: .55em; right: .62em; width: .5em; height: .5em; border-radius: 50%; background: #EF4444; box-shadow: 0 0 0 2px var(--app-sf); }
.bm { width: 2.6em; height: 2.6em; border-radius: 30%; flex: none; display: grid; place-items: center; overflow: hidden; color: #fff; font-weight: 800; font-size: 1em;
  background: linear-gradient(135deg, color-mix(in srgb, var(--b) 88%, white), var(--bd)); box-shadow: 0 .4em 1em -.4em var(--b), inset 0 0 0 1px rgba(255,255,255,.18); }
.bm.logo { background: linear-gradient(135deg, #fff, color-mix(in srgb, var(--b) 14%, white)); padding: .28em; }
.bm.logo img { width: 100%; height: 100%; object-fit: contain; }
.bm.xl { width: 7.2em; height: 7.2em; font-size: 1em; border-radius: 30%; }
.bm.xl span { font-size: 3.4em; }
.ap-title small { font-size: .82em; }
.ap-title strong { font-size: 1.75em; letter-spacing: -.035em; display: block; line-height: 1.1; }

.mcard { position: relative; overflow: hidden; border-radius: 1.2em; padding: 1.05em 1.1em; color: #fff; min-height: 10.2em; display: flex; flex-direction: column; justify-content: space-between;
  background: radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--b) 60%, white) 0%, transparent 46%), linear-gradient(140deg, var(--b) 0%, var(--bd) 100%);
  box-shadow: 0 1.2em 2em -1.2em var(--b), inset 0 0 0 1px rgba(255,255,255,.14); }
.mcard .wm { font-size: 1.2em; color: #fff; }
.mcard .wm b { color: #fff; }
.mc-top { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 2; }
.mc-tag { font-family: var(--mono); font-size: .58em; letter-spacing: .18em; opacity: .75; }
.mc-chip { position: relative; z-index: 2; margin-top: .8em; width: 2.2em; height: 1.65em; border-radius: .35em; background: linear-gradient(135deg, #f6e7b0, #c9a54d); opacity: .9; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.mc-mid { margin-top: .55em; position: relative; z-index: 2; }
.mc-mid small, .mc-bot small { color: rgba(255,255,255,.7); font-size: .66em; letter-spacing: .04em; }
.mc-mid strong { font-size: 1.12em; }
.mc-bot { display: flex; gap: 1.4em; align-items: flex-end; position: relative; z-index: 2; margin-top: .6em; }
.mc-bot b { font-weight: 650; font-size: .95em; }
.mc-qr { margin-left: auto; width: 2.4em; height: 2.4em; border-radius: .6em; background: rgba(255,255,255,.95); color: var(--bd); display: grid; place-items: center; }
.mc-sheen { position: absolute; inset: -50% -30%; background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.28) 48%, rgba(255,255,255,0) 56%); animation: sheen 6s var(--ease-io) infinite; z-index: 1; }
.mc-glow { position: absolute; right: -2em; bottom: -3em; width: 9em; height: 9em; border-radius: 50%; border: 1.4em solid rgba(255,255,255,.07); }
@keyframes sheen { 0%, 55% { transform: translateX(-60%); } 100% { transform: translateX(60%); } }

.qa { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5em; }
.qa-i { display: flex; flex-direction: column; align-items: center; gap: .35em; }
.qa-i > span { width: 100%; aspect-ratio: 1.15; border-radius: 1em; display: grid; place-items: center; background: var(--app-sf); color: var(--b); box-shadow: 0 1px 0 var(--app-ln), 0 .5em 1em -.7em rgba(16,24,64,.25); }
.qa-i em { font-style: normal; font-size: .7em; font-weight: 520; color: var(--app-mt); white-space: nowrap; }
.ap-card { background: var(--app-sf); border-radius: 1.1em; padding: .9em 1em; box-shadow: 0 1px 0 var(--app-ln), 0 .6em 1.4em -1em rgba(16,24,64,.28); }
.ap-card .row { display: flex; align-items: center; gap: .7em; justify-content: space-between; }
.pill-ic { width: 2.3em; height: 2.3em; border-radius: .8em; display: grid; place-items: center; flex: none; background: var(--bt); color: var(--b); }
.pill-ic .ic { width: 1.15em; height: 1.15em; }
.health .row > div { flex: 1; }
.health strong em, .ring-c strong em { font-style: normal; font-size: .7em; color: var(--app-mt); font-weight: 500; }
.src { display: inline-flex; align-items: center; gap: .3em; font-size: .66em; color: #E11D48; font-weight: 600; }
.src .ic { width: 1.1em; height: 1.1em; }
.bar { height: .45em; border-radius: 9em; background: var(--app-ln); margin-top: .7em; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--b), color-mix(in srgb, var(--b) 55%, white)); }
.ap-sec { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: -.35em; }
.ap-sec strong { font-size: 1.02em; }
.ap-sec span { font-size: .75em; color: var(--b); font-weight: 600; }
.ap-list { display: flex; flex-direction: column; gap: .55em; }
.cl { display: flex; align-items: center; gap: .8em; background: var(--app-sf); border-radius: 1em; padding: .75em .85em; box-shadow: 0 1px 0 var(--app-ln), 0 .5em 1.2em -1em rgba(16,24,64,.3); }
.cl-t { width: 3.2em; text-align: center; flex: none; padding-right: .7em; border-right: 1px solid var(--app-ln); }
.cl-t b { display: block; font-size: .95em; }
.cl-m { flex: 1; min-width: 0; }
.cl-m strong { font-size: .92em; display: block; }
.cap { height: .3em; border-radius: 9em; background: var(--app-ln); margin-top: .45em; overflow: hidden; }
.cap i { display: block; height: 100%; background: var(--b); border-radius: inherit; }
.cl.full .cap i { background: var(--orange); }
.cl-s { font-size: .68em; font-weight: 650; padding: .35em .6em; border-radius: 9em; background: var(--bt); color: var(--b); white-space: nowrap; }
.cl.full .cl-s { background: color-mix(in srgb, var(--orange) 16%, transparent); color: #C2410C; }
.ap-video { position: relative; border-radius: 1.1em; overflow: hidden; aspect-ratio: 16 / 8.5; }
.ap-video img, .news img { width: 100%; height: 100%; object-fit: cover; }
.ap-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(5,8,25,.65)); }
.ap-video .play { position: absolute; z-index: 2; left: 50%; top: 45%; transform: translate(-50%, -50%); width: 2.8em; height: 2.8em; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.25); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.5); }
.ap-video em { position: absolute; z-index: 2; left: .9em; bottom: .7em; color: #fff; font-style: normal; font-weight: 600; font-size: .9em; }
.ap-hs { display: flex; gap: .6em; overflow: hidden; }
.news { flex: 0 0 72%; border-radius: 1em; overflow: hidden; background: var(--app-sf); box-shadow: 0 .5em 1.2em -1em rgba(16,24,64,.3); }
.news img { aspect-ratio: 16 / 9; height: auto; }
.news em { display: block; font-style: normal; font-weight: 600; font-size: .82em; padding: .6em .75em .75em; }
.ap-hs.chips span, .chips span { flex: none; padding: .5em .85em; border-radius: 9em; background: var(--app-sf); font-size: .75em; font-weight: 560; box-shadow: 0 1px 0 var(--app-ln); }
.pkg { display: flex; align-items: center; gap: .75em; }
.pkg > div { flex: 1; min-width: 0; }
.pkg strong { font-size: .92em; display: block; }
.chev { color: var(--app-mt); }
.team { display: flex; padding-left: .4em; }
.team span { width: 2.6em; height: 2.6em; border-radius: 50%; margin-left: -.5em; display: grid; place-items: center; font-size: .72em; font-weight: 700; color: #fff; border: 2px solid var(--app-bg); background: color-mix(in srgb, var(--b) calc(100% - var(--i) * 14%), #0b1b4d); }
.ap-end { height: 1em; }
.ap-tab { flex: none; height: 5.2em; display: flex; justify-content: space-around; padding: .55em .4em 0; position: relative; z-index: 10;
  background: color-mix(in srgb, var(--app-sf) 88%, transparent); border-top: 1px solid var(--app-ln); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.tb { display: flex; flex-direction: column; align-items: center; gap: .25em; color: var(--app-mt); flex: 1 1 0; min-width: 0; max-width: 20%; overflow: hidden;
  transition: max-width .55s var(--ease), opacity .4s, flex .55s var(--ease); }
.tb em { font-style: normal; font-size: .62em; font-weight: 560; white-space: nowrap; }
.tb.on { color: var(--b); }
.tb.on .ic { stroke-width: 2.4; }
.tb.off { max-width: 0; opacity: 0; flex: 0 0 0; }

/* module toggling */
.m { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .6s var(--ease), opacity .45s, margin .6s var(--ease); }
.m > .m-in { min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: .95em; padding: 0 .1em .2em; margin: 0 -.1em; }
.m.off { grid-template-rows: 0fr; opacity: 0; margin-top: -.95em; }

/* other screens */
.ap-ai { display: flex; gap: .75em; align-items: flex-start; background: linear-gradient(135deg, color-mix(in srgb, var(--b) 10%, var(--app-sf)), var(--app-sf)); border: 1px solid color-mix(in srgb, var(--b) 18%, transparent); }
.ap-ai p { margin: .2em 0 0; font-size: .82em; line-height: 1.38; }
.ap-ai small { color: var(--b); font-weight: 650; }
.cal .dots { display: grid; grid-template-columns: repeat(7, 1fr); gap: .45em; margin-top: .75em; }
.cal .dots i { aspect-ratio: 1; border-radius: .4em; background: var(--app-ln); }
.cal .dots i.on { background: var(--b); box-shadow: 0 .2em .5em -.2em var(--b); }
.cal .dots i.today { outline: 2px solid var(--b); outline-offset: 1px; background: var(--bt); }
.ap-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: .6em; }
.ap-card.mini { padding: .8em; display: flex; flex-direction: column; gap: .35em; }
.ap-card.mini strong { font-size: .88em; }
.week { display: flex; justify-content: space-between; }
.week span { display: flex; flex-direction: column; align-items: center; gap: .3em; }
.week em { font-style: normal; font-size: .68em; color: var(--app-mt); }
.week i { width: 2.2em; height: 2.2em; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: .78em; font-weight: 650; background: var(--app-sf); box-shadow: 0 1px 0 var(--app-ln); }
.week .done i { background: var(--b); color: #fff; }
.week .done i .ic { width: 1.1em; height: 1.1em; stroke-width: 3; }
.week .now i { outline: 2px solid var(--b); outline-offset: 2px; }
.today { position: relative; overflow: hidden; color: #fff; background: linear-gradient(135deg, var(--b), var(--bd)); }
.today small { color: rgba(255,255,255,.72); }
.today strong { font-size: 1.3em; display: block; margin-top: .1em; }
.today .tags { display: flex; gap: .45em; margin-top: .6em; }
.tags span { display: inline-flex; align-items: center; gap: .3em; font-size: .7em; padding: .35em .6em; border-radius: 9em; background: rgba(255,255,255,.16); }
.tags .ic { width: 1.05em; height: 1.05em; }
.go { position: absolute; right: .9em; bottom: .9em; display: inline-flex; align-items: center; gap: .35em; font-size: .78em; font-weight: 650; padding: .5em .85em; border-radius: 9em; background: #fff; color: var(--bd); }
.ring-c { display: flex; align-items: center; gap: 1em; }
.ring { width: 5.6em; height: 5.6em; flex: none; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: var(--app-ln); stroke-width: 7; }
.ring .t { stroke-width: 6; }
.ring .v, .ring .v2 { stroke: var(--b); stroke-linecap: round; stroke-dasharray: calc(201 * var(--p)) 999; }
.ring .v2 { stroke: color-mix(in srgb, var(--b) 45%, #22d3ee); stroke-width: 6; stroke-dasharray: calc(144.5 * var(--p)) 999; }
.ring-c strong { font-size: 1.25em; display: block; }
.ring-c .src { margin-top: .3em; }
.qa.four .qa-i > span { aspect-ratio: 1.05; }
.kcal { display: grid; grid-template-columns: auto 1fr; gap: .4em 1em; align-items: center; position: relative; }
.kcal .ring { grid-row: span 2; }
.kc-n strong { font-size: 1.5em; }
.macros { display: flex; flex-direction: column; gap: .35em; }
.macros span { display: grid; grid-template-columns: 3.6em 1fr; align-items: center; font-size: .68em; color: var(--app-mt); }
.macros em { font-style: normal; }
.macros i { height: .5em; border-radius: 9em; background: var(--app-ln); overflow: hidden; }
.macros b { display: block; height: 100%; border-radius: inherit; background: var(--b); }
.macros span:nth-child(2) b { background: color-mix(in srgb, var(--b) 55%, #22d3ee); }
.macros span:nth-child(3) b { background: var(--orange); }
.snap { position: relative; border-radius: 1.1em; overflow: hidden; aspect-ratio: 16 / 9.5; }
.snap img { width: 100%; height: 100%; object-fit: cover; }
.snap-f { position: absolute; inset: 14% 20%; border: 2px solid rgba(255,255,255,.9); border-radius: .8em; box-shadow: 0 0 0 999px rgba(5,8,25,.18); animation: snapf 3s var(--ease-io) infinite; }
@keyframes snapf { 0%, 100% { inset: 14% 20%; } 50% { inset: 10% 16%; } }
.snap-l { position: absolute; left: .7em; bottom: .7em; display: inline-flex; align-items: center; gap: .35em; font-size: .7em; font-weight: 650; padding: .45em .7em; border-radius: 9em; background: rgba(255,255,255,.92); color: var(--bd); }
.water .glasses { display: flex; gap: .4em; margin-top: .7em; }
.water .glasses i { flex: 1; height: 2.2em; border-radius: .25em .25em .55em .55em; background: var(--app-ln); position: relative; overflow: hidden; }
.water .glasses i.on::after { content: ""; position: absolute; inset: 30% 0 0; background: linear-gradient(color-mix(in srgb, var(--b) 45%, #38bdf8), color-mix(in srgb, var(--b) 70%, #0ea5e9)); }

.qr-card { background: var(--app-sf); border-radius: 1.4em; padding: 1.3em; text-align: center; box-shadow: 0 1.2em 2.4em -1.6em rgba(16,24,64,.4); margin-top: .4em; }
.qr-box { position: relative; padding: .9em; border-radius: 1em; color: var(--app-tx); background: var(--app-sf); overflow: hidden;
  background-image: linear-gradient(var(--b), var(--b)), linear-gradient(var(--b), var(--b)), linear-gradient(var(--b), var(--b)), linear-gradient(var(--b), var(--b)), linear-gradient(var(--b), var(--b)), linear-gradient(var(--b), var(--b)), linear-gradient(var(--b), var(--b)), linear-gradient(var(--b), var(--b));
  background-repeat: no-repeat; background-size: 1.6em 3px, 3px 1.6em; background-position: 0 0, 0 0, 100% 0, 100% 0, 0 100%, 0 100%, 100% 100%, 100% 100%; }
.qr-box .qrsvg { width: 100%; height: auto; }
.qr-scan { position: absolute; left: 6%; right: 6%; height: 2px; top: 10%; background: var(--b); box-shadow: 0 0 1em .3em color-mix(in srgb, var(--b) 60%, transparent); animation: qrscan 2.2s var(--ease-io) infinite alternate; }
@keyframes qrscan { to { top: 88%; } }
.qr-card p { margin: .9em 0 .2em; font-weight: 600; font-size: .92em; }
.qr-t { display: inline-flex; align-items: center; gap: .3em; }
.qr-ok { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3em; text-align: center; background: color-mix(in srgb, var(--app-bg) 92%, transparent); backdrop-filter: blur(8px); opacity: 0; transition: opacity .5s; }
.qr-ok strong { font-size: 1.5em; }
.qr-ok em { font-style: normal; color: var(--app-mt); font-size: .85em; margin-top: .4em; }
.ok-ring { width: 4.4em; height: 4.4em; border-radius: 50%; display: grid; place-items: center; background: #16A34A; color: #fff; box-shadow: 0 0 0 .6em rgba(22,163,74,.14), 0 0 0 1.3em rgba(22,163,74,.07); margin-bottom: .7em; }
.ok-ring .ic { width: 2em; height: 2em; stroke-width: 3; stroke-dasharray: 30; stroke-dashoffset: 30; }
.app[data-screen="qr"].ok .qr-ok { opacity: 1; }
.app[data-screen="qr"].ok .ok-ring .ic { animation: draw .6s .2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.dstrip { display: flex; gap: .45em; }
.dstrip span { flex: 1; text-align: center; padding: .5em 0; border-radius: .9em; background: var(--app-sf); box-shadow: 0 1px 0 var(--app-ln); }
.dstrip em { display: block; font-style: normal; font-size: .64em; color: var(--app-mt); }
.dstrip b { font-size: 1em; }
.dstrip .on { background: var(--b); color: #fff; }
.dstrip .on em { color: rgba(255,255,255,.75); }
.chips { display: flex; gap: .4em; }
.chips span.on { background: var(--app-tx); color: var(--app-bg); }
.wl .cl-m { position: relative; }
.wl-btn { display: grid; margin-top: .55em; font-size: .72em; font-weight: 650; }
.wl-btn > span { grid-area: 1 / 1; display: inline-flex; align-items: center; justify-content: center; gap: .3em; padding: .55em .7em; border-radius: 9em; transition: opacity .4s, transform .5s var(--ease); }
.wl-btn .a { background: var(--b); color: #fff; }
.wl-btn .b { background: color-mix(in srgb, #16A34A 14%, transparent); color: #15803D; opacity: 0; transform: scale(.9); }
.wl-btn .ic { width: 1.1em; height: 1.1em; }
.app.wl-on .wl-btn .a { opacity: 0; transform: scale(.9); }
.app.wl-on .wl-btn .b { opacity: 1; transform: none; }

.cam { background: #000; color: #fff; }
.cam-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) brightness(.85); }
.cam-ui { position: absolute; inset: 0; display: flex; flex-direction: column; padding: .4em 1.1em 1.1em; }
.cam-top { display: flex; justify-content: space-between; align-items: center; }
.cam-top span { width: 2.3em; height: 2.3em; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.35); backdrop-filter: blur(6px); }
.cam-top b { font-weight: 650; }
.det { position: relative; margin: 2.2em auto 0; width: 78%; aspect-ratio: 1.25; animation: detpulse 2.6s var(--ease-io) infinite; }
.det > i { position: absolute; width: 22%; height: 22%; border: 3px solid #fff; filter: drop-shadow(0 0 6px rgba(49,55,253,.8)); }
.det > i:nth-child(1) { left: 0; top: 0; border-width: 3px 0 0 3px; border-radius: .8em 0 0 0; }
.det > i:nth-child(2) { right: 0; top: 0; border-width: 3px 3px 0 0; border-radius: 0 .8em 0 0; }
.det > i:nth-child(3) { left: 0; bottom: 0; border-width: 0 0 3px 3px; border-radius: 0 0 0 .8em; }
.det > i:nth-child(4) { right: 0; bottom: 0; border-width: 0 3px 3px 0; border-radius: 0 0 .8em 0; }
.det-l { position: absolute; left: 50%; top: -1.2em; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: .3em; white-space: nowrap; font-size: .72em; font-weight: 650; padding: .45em .75em; border-radius: 9em; background: var(--b, #3137FD); color: #fff; box-shadow: 0 .4em 1em -.3em var(--b, #3137FD); }
@keyframes detpulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(.95); } }
.cam-sheet { margin-top: auto; position: relative; border-radius: 1.3em; padding: 1em 1.1em 3.6em; color: var(--app-tx, #0E1116); background: rgba(255,255,255,.94); backdrop-filter: blur(10px); }
.app.dark .cam-sheet { background: rgba(20,22,29,.92); color: #fff; }
.cam-sheet strong { font-size: 1.25em; display: block; }
.cam-sheet .tags { display: flex; gap: .4em; margin-top: .5em; }
.cam-sheet .tags span { background: var(--bt); color: var(--b); font-weight: 600; }
.cam-sheet .go { background: var(--b); color: #fff; left: 1.1em; right: 1.1em; justify-content: center; }

.splash { display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(2.4em); opacity: .7; }
.blob.a { width: 16em; height: 16em; left: -5em; top: -2em; background: color-mix(in srgb, var(--b) 40%, var(--app-bg)); animation: blob 12s ease-in-out infinite alternate; }
.blob.b { width: 14em; height: 14em; right: -5em; bottom: 4em; background: color-mix(in srgb, var(--b) 26%, var(--app-bg)); animation: blob 14s ease-in-out infinite alternate-reverse; }
@keyframes blob { to { transform: translate(3em, 4em) scale(1.15); } }
.sp-c { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 1em; margin-top: -3em; }
.sp-mark { position: relative; width: 12.5em; height: 12.5em; display: grid; place-items: center; }
.sp-badge { position: absolute; inset: 0; animation: rot 24s linear infinite; }
.sp-badge text { font-family: var(--mono); font-size: 10.4px; letter-spacing: .3em; fill: var(--app-mt); font-weight: 500; }
.splash .wm { font-size: 2.2em; letter-spacing: -.03em; }
.splash .wm b { color: var(--b); }
.sp-tag { font-family: var(--mono); letter-spacing: .3em; font-size: .7em !important; }
.sp-foot { position: absolute; z-index: 2; left: 1.4em; right: 1.4em; bottom: 1.6em; display: flex; flex-direction: column; gap: .55em; }
.sp-btn { text-align: center; padding: .95em; border-radius: 9em; font-weight: 650; background: var(--b); color: #fff; box-shadow: 0 .8em 1.6em -1em var(--b); }
.sp-btn.ghost { background: transparent; color: var(--app-tx); box-shadow: inset 0 0 0 1.5px var(--app-ln); }

/* ---------- refs marquee ---------- */
.refs { position: relative; padding: clamp(40px, 6vw, 72px) 0 clamp(20px, 3vw, 40px); }
.refs-title { width: min(100% - 2 * var(--gut), var(--wrap)); margin: 0 auto 30px; font-size: clamp(18px, 1.8vw, 24px); letter-spacing: -.02em; color: var(--muted); }
.refs-title strong { color: var(--ink); font-weight: 600; }
.refs-title .eyebrow { display: flex; width: max-content; margin-bottom: 12px; }
.marquee { overflow: hidden; padding: 8px 0; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.mq-track { display: flex; gap: 14px; width: max-content; animation: mq 70s linear infinite; }
.marquee.rev .mq-track { animation-direction: reverse; animation-duration: 80s; }
.marquee:hover .mq-track { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-50%); } }
.ref { display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 18px; background: rgba(255,255,255,.75); border: 1px solid #fff; box-shadow: var(--sh-1); white-space: nowrap; font-weight: 540; font-size: 15px; letter-spacing: -.01em; transition: transform .4s var(--ease); }
.ref:hover { transform: translateY(-3px); }
.ref img { width: 44px; height: 44px; border-radius: 11px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.06); }

/* ---------- sectors ---------- */
.seg { position: relative; display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.7); border: 1px solid #fff; box-shadow: var(--sh-1); margin-bottom: 28px; }
.seg button { position: relative; z-index: 1; padding: 10px 18px; border-radius: 999px; font-size: 15px; font-weight: 540; color: var(--ink-2); transition: color .35s; }
.seg button[aria-selected="true"] { color: #fff; }
.seg-ind { position: absolute; z-index: 0; top: 5px; left: 0; height: calc(100% - 10px); border-radius: 999px; background: var(--ink); transition: transform .6s var(--ease), width .6s var(--ease), height .6s var(--ease), top .6s var(--ease); box-shadow: 0 8px 18px -8px rgba(10,15,36,.5); }
.sector { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.sector-media { position: relative; margin: 0; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 3.2; box-shadow: var(--sh-2); view-transition-name: sector-media; }
.sector-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.4s var(--ease); }
.sector-media:hover img { transform: scale(1.08); }
.sector-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(8,12,40,.45)), linear-gradient(135deg, color-mix(in srgb, var(--brand) 18%, transparent), transparent 50%); pointer-events: none; }
.sector-chip { position: absolute; z-index: 2; left: 20px; bottom: 20px; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 18px; font-size: 14.5px; }
.sector-chip b { display: block; font-weight: 620; }
.sector-chip small { color: var(--muted); }
.sector-chip .t-ic { flex: none; }
.sector-body { view-transition-name: sector-body; }
.sector-k { font-size: 12.5px; color: var(--brand); letter-spacing: .12em; text-transform: uppercase; }
.sector-body .h3 { margin-top: 14px; }
.sector-body > p { color: var(--muted); margin: 16px 0 26px; font-size: 17.5px; }
.feat { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.feat li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 18px; background: rgba(255,255,255,.7); border: 1px solid #fff; box-shadow: var(--sh-1); }
.feat .f-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, white); }
.feat b { display: block; font-weight: 600; letter-spacing: -.01em; }
.feat span { color: var(--muted); font-size: 15px; }
::view-transition-old(sector-media), ::view-transition-new(sector-media) { animation-duration: .6s; animation-timing-function: var(--ease); }
::view-transition-old(sector-body) { animation: vt-out .3s var(--ease) both; }
::view-transition-new(sector-body) { animation: vt-in .55s .1s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

/* ---------- day scrolly ---------- */
.day { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--brand) 4%, var(--bg)) 30%, color-mix(in srgb, var(--brand) 4%, var(--bg)) 70%, transparent); }
.day-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 5vw, 80px); }
.day-stage { position: relative; }
.day-sticky { position: sticky; top: max(90px, calc(50vh - 330px)); display: grid; place-items: center; padding: 20px 0; }
.day-phone { --w: clamp(260px, 23vw, 300px); }
.day-glow { position: absolute; width: 130%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 22%, transparent), transparent); filter: blur(20px); }
.day-clock { position: absolute; left: 0; top: 30px; font-size: 13px; letter-spacing: .14em; padding: 8px 12px; border-radius: 999px; background: var(--ink); color: #fff; box-shadow: var(--sh-2); }
.day-steps { list-style: none; margin: 0; padding: 0; }
.step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; opacity: .25; transition: opacity .6s var(--ease), transform .6s var(--ease); transform: translateX(10px); }
.step.on { opacity: 1; transform: none; }
.step-t { font-size: clamp(40px, 5vw, 64px); font-weight: 500; letter-spacing: -.04em; color: var(--brand); line-height: 1; }
.step h3 { font-size: clamp(26px, 3vw, 40px); letter-spacing: -.035em; line-height: 1.08; margin: 16px 0 14px; font-weight: 620; text-wrap: balance; }
.step p { color: var(--muted); font-size: 18px; max-width: 520px; margin: 0; }
.step-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.step-tags span { font-size: 13.5px; padding: 7px 13px; border-radius: 999px; background: rgba(255,255,255,.8); border: 1px solid #fff; box-shadow: var(--sh-1); font-weight: 520; }
#dayScreen .app { animation: scr-in .7s var(--ease); }
@keyframes scr-in { from { opacity: 0; transform: translateY(14px) scale(.98); filter: blur(4px); } }

/* ---------- studio (white-label) ---------- */
.studio-grid { display: grid; grid-template-columns: 400px 1fr; gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.studio-ctrl { border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.fld { display: flex; flex-direction: column; gap: 8px; }
.fld > span, .fld > div > span { font-size: 13px; font-weight: 560; color: var(--ink-2); display: flex; justify-content: space-between; }
.fld output { font-family: var(--mono); color: var(--brand); }
.fld input:not([type]), .fld input[type="tel"], .fld select {
  height: 50px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255,255,255,.85); font-size: 16px; outline: none;
  transition: border-color .25s, box-shadow .25s; width: 100%;
}
.fld input:focus, .fld select:focus { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent); }
#stName, #stTag { font-weight: 650; letter-spacing: .04em; text-transform: uppercase; }
input[type="range"] { -webkit-appearance: none; appearance: none; height: 28px; background: transparent; width: 100%; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 9px; background: linear-gradient(90deg, var(--brand) var(--pct, 40%), var(--line-2) var(--pct, 40%)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 9px; background: var(--line-2); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 9px; background: var(--brand); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 1px var(--line-2), 0 4px 10px -2px rgba(16,24,64,.3); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 1px var(--line-2), 0 4px 10px -2px rgba(16,24,64,.3); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.sw { width: 34px; height: 34px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); position: relative; transition: transform .35s var(--ease); }
.sw:hover { transform: scale(1.1); }
.sw[aria-checked="true"]::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--c); }
.sw.custom { background: conic-gradient(#f43f5e, #f59e0b, #84cc16, #06b6d4, #3137fd, #a855f7, #f43f5e); overflow: hidden; }
.sw.custom input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row2 > div { display: flex; flex-direction: column; gap: 8px; }
.upload { height: 46px; border-radius: 14px; border: 1.5px dashed var(--line-2); display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; color: var(--ink-2); cursor: pointer; transition: border-color .25s, background .25s; overflow: hidden; padding: 0 10px; }
.upload span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.upload:hover { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 5%, transparent); }
.upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.toggle2 { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 14px; background: rgba(10,15,36,.06); height: 46px; }
.toggle2 button { border-radius: 10px; font-size: 14px; font-weight: 560; color: var(--muted); transition: background .3s, color .3s, box-shadow .3s; }
.toggle2 button.on { background: #fff; color: var(--ink); box-shadow: var(--sh-1); }
.fine { font-size: 12.5px; color: var(--faint); margin: -4px 0 0; }
.studio-stage { position: relative; border-radius: var(--r-xl); min-height: 720px; overflow: hidden; display: grid; place-items: center;
  background: linear-gradient(160deg, #fff, color-mix(in srgb, var(--st, #3137FD) 8%, #fff)); border: 1px solid #fff; box-shadow: var(--sh-2); transition: background .8s var(--ease); }
.studio-bg { position: absolute; inset: 0; background:
  radial-gradient(40% 50% at 30% 40%, color-mix(in srgb, var(--st, #3137FD) 26%, transparent), transparent 70%),
  radial-gradient(40% 50% at 75% 65%, color-mix(in srgb, var(--st, #3137FD) 18%, transparent), transparent 70%);
  filter: blur(10px); animation: drift 14s ease-in-out infinite alternate; transition: background .8s; }
.studio-bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--st, #3137FD) 30%, transparent) 1px, transparent 1.4px); background-size: 22px 22px; -webkit-mask: radial-gradient(60% 60% at 50% 50%, #000, transparent); mask: radial-gradient(60% 60% at 50% 50%, #000, transparent); opacity: .5; }
@keyframes drift { to { transform: translate(-3%, 2%) scale(1.06); } }
.st-p1, .st-p2 { position: absolute; top: 50%; }
.st-p1 { --w: clamp(220px, 19vw, 262px); left: 50%; transform: translate(-96%, -46%) rotate(-6deg); }
.st-p2 { --w: clamp(240px, 21vw, 282px); left: 50%; transform: translate(-6%, -50%) rotate(4deg); z-index: 2; }
.store { position: absolute; z-index: 3; left: 22px; top: 22px; border-radius: 22px; padding: 12px 14px 12px 12px; display: flex; align-items: center; gap: 12px; min-width: 250px; }
.store-ic { width: 56px; height: 56px; border-radius: 14px; overflow: hidden; display: grid; place-items: center; flex: none; box-shadow: 0 8px 18px -8px rgba(16,24,64,.45), inset 0 0 0 1px rgba(0,0,0,.06); }
.store-ic .bm { width: 100%; height: 100%; border-radius: 0; font-size: 22px; }
.store b { display: block; font-weight: 650; letter-spacing: -.01em; max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.store small { display: block; color: var(--muted); font-size: 12.5px; }
.stars { color: var(--orange); font-size: 11px; letter-spacing: 1px; }
.store-get { margin-left: auto; font-size: 13px; font-weight: 700; padding: 6px 16px; border-radius: 999px; background: rgba(10,15,36,.07); color: var(--st, var(--brand)); }

/* ---------- modules ---------- */
.mod-grid { display: grid; grid-template-columns: 1fr 380px; gap: clamp(24px, 4vw, 64px); align-items: start; }
.mod-presets { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; }
.mod-presets .mono { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-right: 6px; }
.mod-presets button, .chips-sel button { padding: 8px 15px; border-radius: 999px; font-size: 14px; font-weight: 540; background: rgba(255,255,255,.75); border: 1px solid #fff; box-shadow: var(--sh-1); transition: background .3s, color .3s, transform .3s var(--ease); }
.mod-presets button:hover, .chips-sel button:hover { transform: translateY(-1px); }
.mod-presets button.on, .chips-sel button.on { background: var(--ink); color: #fff; }
.mod-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mg { border-radius: 22px; padding: 18px; background: rgba(255,255,255,.72); border: 1px solid #fff; box-shadow: var(--sh-1); }
.mg.wide { grid-column: span 2; }
.mg-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.mg-h strong { font-size: 15.5px; letter-spacing: -.01em; }
.mg-h small { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.mg-l { display: grid; gap: 2px; }
.mg.wide .mg-l { grid-template-columns: 1fr 1fr; column-gap: 18px; }
.tg { display: flex; align-items: center; gap: 10px; padding: 8px 4px; border-radius: 10px; font-size: 14.5px; cursor: pointer; user-select: none; }
.tg:hover { background: rgba(10,15,36,.03); }
.tg .ic { color: var(--faint); width: 17px; height: 17px; }
.tg span { flex: 1; }
.tg em { font-style: normal; font-size: 11px; font-family: var(--mono); color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, transparent); padding: 2px 6px; border-radius: 6px; }
.sw-t { position: relative; width: 40px; height: 24px; border-radius: 99px; background: rgba(10,15,36,.14); transition: background .35s var(--ease); flex: none; }
.sw-t::after { content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.2); transition: transform .45s var(--ease); }
.tg input { position: absolute; opacity: 0; pointer-events: none; }
.tg input:checked + .sw-t { background: var(--brand); }
.tg input:checked + .sw-t::after { transform: translateX(16px); }
.tg input:focus-visible + .sw-t { outline: 2px solid var(--brand); outline-offset: 2px; }
.mod-stage { position: sticky; top: 100px; display: grid; place-items: center; }
.mod-phone { --w: 320px; }
.mod-count { position: absolute; left: -36px; bottom: 60px; border-radius: 18px; padding: 12px 16px; display: flex; align-items: baseline; gap: 8px; }
.mod-count b { font-size: 30px; letter-spacing: -.04em; font-weight: 650; color: var(--brand); font-variant-numeric: tabular-nums; }
.mod-count span { font-size: 13px; color: var(--muted); }

/* ---------- admin panel ---------- */
.panel { background: linear-gradient(180deg, transparent, var(--bg-2) 40%, var(--bg-2) 70%, transparent); }
.browser { border-radius: 26px; overflow: hidden; background: #fff; border: 1px solid rgba(10,15,36,.06); box-shadow: 0 2px 2px rgba(16,24,64,.03), 0 30px 60px -30px rgba(16,24,64,.28), 0 80px 140px -60px rgba(49,55,253,.25); }
.br-bar { height: 46px; display: flex; align-items: center; gap: 8px; padding: 0 16px; background: #F7F8FB; border-bottom: 1px solid var(--line); }
.br-bar > i { width: 11px; height: 11px; border-radius: 50%; background: #E3E5EC; }
.br-url { margin: 0 auto; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); padding: 6px 16px; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.br-url .ic { width: 13px; height: 13px; }
.br-demo { font-size: 11px; letter-spacing: .08em; color: var(--faint); text-transform: uppercase; }
.br-body { display: grid; grid-template-columns: 210px 1fr; min-height: 560px; }
.db-side { background: #FAFBFD; border-right: 1px solid var(--line); padding: 18px 12px; display: flex; flex-direction: column; gap: 2px; }
.db-brand { display: flex; align-items: center; gap: 8px; padding: 2px 8px 18px; }
.db-brand img { width: 28px; height: 28px; }
.db-brand .wm { font-size: 17px; }
.db-side a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; font-size: 14px; color: var(--ink-2); }
.db-side a .ic { width: 17px; height: 17px; color: var(--faint); }
.db-side a.on { background: color-mix(in srgb, var(--brand) 9%, transparent); color: var(--brand); font-weight: 560; }
.db-side a.on .ic { color: var(--brand); }
.db-main { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 16px; background: #fff; min-width: 0; }
.db-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.db-head small { display: block; color: var(--faint); font-size: 12.5px; }
.db-head strong { font-size: 20px; letter-spacing: -.02em; font-weight: 620; }
.db-search { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--faint); padding: 9px 12px; border-radius: 12px; border: 1px solid var(--line); min-width: 260px; }
.db-search kbd { margin-left: auto; font-family: var(--mono); font-size: 11px; padding: 2px 6px; border-radius: 6px; background: var(--bg); border: 1px solid var(--line); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kpi { position: relative; border-radius: 16px; padding: 14px 14px 46px; border: 1px solid var(--line); overflow: hidden; }
.kpi small { color: var(--muted); font-size: 12.5px; display: block; }
.kpi b { display: block; font-size: 26px; letter-spacing: -.04em; font-weight: 650; margin-top: 2px; font-variant-numeric: tabular-nums; }
.kpi b .cur { font-size: .7em; margin-right: 1px; color: var(--muted); font-weight: 500; }
.kpi em { font-style: normal; font-size: 12px; font-weight: 560; }
.kpi .up { color: var(--ok); } .kpi .down { color: #C2410C; }
.spark { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 40px; }
.spark path.l { fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 1.8s var(--ease); }
.spark path.a { fill: url(#sparkG); opacity: 0; transition: opacity 1.2s .6s; }
.kpi.warn .spark path.l { stroke: var(--orange); }
.in .spark path.l { stroke-dashoffset: 0; } .in .spark path.a { opacity: 1; }
.db-row { display: grid; grid-template-columns: 1.05fr .95fr; gap: 12px; }
.db-card { border-radius: 16px; border: 1px solid var(--line); padding: 14px 16px; min-width: 0; }
.db-ct { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.db-ct strong { font-size: 14.5px; font-weight: 620; letter-spacing: -.01em; }
.db-ct small { color: var(--faint); font-size: 12px; font-family: var(--mono); }
.badge { font-size: 11.5px; font-weight: 700; color: #fff; background: #EF4444; padding: 2px 8px; border-radius: 99px; }
.action ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.action li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; padding: 8px 6px; border-radius: 10px; }
.action li:hover { background: var(--bg); }
.action li span { flex: 1; min-width: 0; }
.action button { font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 8px; background: color-mix(in srgb, var(--brand) 9%, transparent); color: var(--brand); white-space: nowrap; transition: background .25s, color .25s; }
.action button:hover { background: var(--brand); color: #fff; }
.action button.done { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot.r { background: #EF4444; } .dot.o { background: var(--orange); } .dot.b { background: var(--brand); } .dot.g { background: var(--ok); }
.heatmap { display: grid; grid-template-columns: 34px repeat(7, 1fr); gap: 4px; font-size: 10.5px; color: var(--faint); font-family: var(--mono); }
.heatmap span { display: grid; place-items: center; }
.heatmap i { aspect-ratio: 1.6; border-radius: 5px; background: color-mix(in srgb, var(--brand) calc(var(--v) * 100%), #F1F3F9); transform: scale(.4); opacity: 0; transition: transform .6s var(--ease), opacity .6s; transition-delay: calc(var(--d) * 14ms); }
.in .heatmap i { transform: none; opacity: 1; }
.barchart { height: 150px; display: flex; align-items: flex-end; gap: 10px; padding-top: 10px; }
.barchart div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.barchart i { width: 100%; max-width: 36px; height: calc(var(--h) * 100%); border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 70%, white), var(--brand)); transform: scaleY(0); transform-origin: bottom; transition: transform 1s var(--ease); transition-delay: calc(var(--d) * 70ms); }
.barchart div:last-child i { background: linear-gradient(180deg, #8EA4FF, #5B4BFF); box-shadow: 0 8px 20px -8px var(--brand); }
.barchart small { font-size: 10.5px; color: var(--faint); font-family: var(--mono); }
.in .barchart i { transform: none; }
.live-dot { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ok); font-weight: 600; }
.live-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.pays ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; position: relative; height: 160px; overflow: hidden; }
.pays li { display: flex; align-items: center; gap: 10px; font-size: 13px; padding: 7px 4px; border-bottom: 1px solid var(--line); animation: pay-in .6s var(--ease); }
.pays li .av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 10.5px; font-weight: 700; color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, white); flex: none; }
.pays li span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pays li span small { color: var(--faint); margin-left: 4px; }
.pays li b { font-weight: 620; font-variant-numeric: tabular-nums; }
@keyframes pay-in { from { opacity: 0; transform: translateY(-12px); background: color-mix(in srgb, var(--ok) 10%, transparent); } }

.bento { margin-top: 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.bt { position: relative; border-radius: 22px; padding: 22px; background: rgba(255,255,255,.75); border: 1px solid #fff; box-shadow: var(--sh-1); transition: transform .5s var(--ease), box-shadow .5s var(--ease); overflow: hidden; }
.bt::before { content: ""; position: absolute; inset: 0; background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--brand) 9%, transparent), transparent 60%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.bt:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.bt:hover::before { opacity: 1; }
.bt-ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: var(--brand); background: color-mix(in srgb, var(--brand) 9%, white); margin-bottom: 16px; }
.bt-ic .ic { width: 20px; height: 20px; }
.bt h4 { margin: 0 0 6px; font-size: 17px; letter-spacing: -.02em; font-weight: 620; }
.bt p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.5; }

/* ---------- AI ---------- */
.ai-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.ai-card { position: relative; border-radius: var(--r-lg); padding: 26px; background: rgba(255,255,255,.78); border: 1px solid #fff; box-shadow: var(--sh-1); overflow: hidden; display: flex; flex-direction: column; }
.ai-card h3 { margin: 10px 0 0; font-size: clamp(20px, 1.9vw, 25px); line-height: 1.15; letter-spacing: -.03em; font-weight: 620; text-wrap: balance; }
.ai-card p { color: var(--muted); font-size: 16px; margin: 12px 0 20px; }
.chip-k { align-self: flex-start; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); padding: 6px 10px; border-radius: 99px; background: color-mix(in srgb, var(--brand) 8%, transparent); }
.ai-card.posture { grid-column: span 6; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding: 36px; background: linear-gradient(135deg, #fff, color-mix(in srgb, var(--brand) 6%, #fff)); }
.ai-copy { display: flex; flex-direction: column; justify-content: center; }
.ai-copy h3 { font-size: clamp(26px, 3vw, 40px); }
.ai-copy .btn { align-self: flex-start; }
.pose-wrap { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; }
.pose { width: 100%; max-height: 430px; }
.pose .body { fill: url(#bodyG); stroke: color-mix(in srgb, var(--brand) 25%, transparent); stroke-width: 1; }
.pose .frame-c path { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; opacity: .55; }
.pose .plumb { stroke: var(--orange); stroke-width: 1.5; stroke-dasharray: 4 5; opacity: .9; }
.pose .lvl { stroke: var(--brand); stroke-width: 1.5; stroke-dasharray: 3 4; opacity: .7; }
.pose .bones path { fill: none; stroke: var(--brand); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1400; stroke-dashoffset: 1400; transition: stroke-dashoffset 2.4s var(--ease); }
.pose .joints circle { fill: #fff; stroke: var(--brand); stroke-width: 2.5; transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .6s var(--ease); }
.pose .tags g { opacity: 0; transition: opacity .6s; }
.pose .tags rect { fill: var(--ink); }
.pose .tags text { fill: #fff; font-family: var(--mono); font-size: 10.5px; text-anchor: middle; font-weight: 500; }
.pose .scanline { fill: var(--brand); opacity: .55; filter: drop-shadow(0 0 6px var(--brand)); animation: scan 3.6s var(--ease-io) infinite alternate; }
@keyframes scan { from { transform: translateY(16px); } to { transform: translateY(410px); } }
.in .pose .bones path { stroke-dashoffset: 0; }
.in .pose .joints circle { transform: scale(1); }
.in .pose .joints circle:nth-child(n) { transition-delay: calc(.4s + var(--i, 0) * 60ms); }
.in .pose .tags g { opacity: 1; }
.in .pose .tags g:nth-child(1) { transition-delay: 1.4s; } .in .pose .tags g:nth-child(2) { transition-delay: 1.7s; } .in .pose .tags g:nth-child(3) { transition-delay: 2s; }
.pose-cards { display: grid; gap: 10px; width: 170px; }
.pc { border-radius: 16px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); }
.pc small { display: block; color: var(--muted); font-size: 12px; }
.pc b { font-size: 24px; letter-spacing: -.03em; font-weight: 650; }
.pc i { display: block; height: 5px; border-radius: 9px; background: var(--line); margin-top: 8px; position: relative; overflow: hidden; }
.pc i::after { content: ""; position: absolute; inset: 0; width: calc(var(--v) * 100%); border-radius: inherit; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform 1.2s 1s var(--ease); }
.pc i.o::after { background: var(--orange); }
.in .pc i::after { transform: none; }
.ai-card.vision, .ai-card.food { grid-column: span 3; }
.ai-card.plan, .ai-card.note { grid-column: span 3; }
.vis-media, .food-media { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9; margin-bottom: 20px; }
.vis-media img, .food-media img { width: 100%; height: 100%; object-fit: cover; }
.vis-media .det { position: absolute; inset: 18% 22%; width: auto; margin: 0; aspect-ratio: auto; }
.vis-media .det-l { --b: #3137FD; font-size: 13px; padding: 6px 12px; }
.vis-media .det > i { border-color: #fff; }
.food-media::after { content: ""; position: absolute; inset: 12% 24%; border: 2px solid rgba(255,255,255,.9); border-radius: 18px; box-shadow: 0 0 0 999px rgba(5,8,25,.18); }
.food-l { position: absolute; z-index: 2; left: 14px; bottom: 14px; font-size: 13px; padding: 7px 12px; border-radius: 99px; background: rgba(255,255,255,.94); font-weight: 560; }
.food-l b { color: var(--brand); }
.typer { margin-top: 18px; border-radius: 18px; background: var(--ink); color: #E6E8F2; padding: 16px 18px; font-family: var(--mono); font-size: 13px; min-height: 196px; }
.typ-q { margin: 0 0 10px; color: #9BA3C7; }
.typ-q span { color: #8EA4FF; }
.typ-a { margin: 0; padding: 0 0 0 20px; display: grid; gap: 6px; }
.typ-a li::marker { color: #8EA4FF; }
.typ-a .caret { display: inline-block; width: 7px; height: 14px; background: #8EA4FF; vertical-align: -2px; margin-left: 2px; animation: blink .9s steps(1) infinite; }
.bubble { margin: 18px 0 18px; display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 20px 20px 20px 6px; background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 10%, #fff), #fff); border: 1px solid color-mix(in srgb, var(--brand) 16%, transparent); }
.bubble .ic { color: var(--brand); width: 22px; height: 22px; margin-top: 2px; }
.bubble p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.ai-card.note h3 { margin-top: auto; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.mini-stats div { border-radius: 16px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); }
.mini-stats b { display: block; font-size: 22px; letter-spacing: -.03em; font-weight: 650; }
.mini-stats small { color: var(--muted); font-size: 12.5px; }
.integr { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.integr span { font-size: 14px; padding: 9px 16px; border-radius: 99px; background: rgba(255,255,255,.75); border: 1px solid #fff; box-shadow: var(--sh-1); font-weight: 520; color: var(--ink-2); }


/* ---------- performance tests ---------- */
.perf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.perf-vis { position: relative; border-radius: var(--r-xl); overflow: hidden; background: linear-gradient(160deg, #fff, color-mix(in srgb, var(--brand) 7%, #fff)); border: 1px solid #fff; box-shadow: var(--sh-2); padding: 20px; display: flex; flex-direction: column; }
.pv-top { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--muted); }
.pv-fps { margin-left: auto; }
.rec { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .1em; color: #fff; background: #EF4444; padding: 4px 9px; border-radius: 99px; }
.rec i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blink 1.2s infinite; }
.jump { width: 100%; max-height: 430px; margin: 6px auto 0; flex: 1; }
.jump .ruler line { stroke: var(--ink); stroke-width: 1.5; opacity: .45; }
.jump .ruler text { font-family: var(--mono); font-size: 9.5px; fill: var(--muted); text-anchor: end; }
.jump .ground { stroke: var(--ink); stroke-width: 2; opacity: .2; stroke-linecap: round; }
.jump .shadow { fill: var(--navy); opacity: .14; transform-box: fill-box; transform-origin: center; animation: jshadow 2.8s infinite; }
.jump .jumper { animation: jump 2.8s infinite; }
.jump .hd { fill: #fff; stroke: var(--brand); stroke-width: 3; }
.jump .bd { fill: none; stroke: var(--brand); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.jump .hip { fill: var(--orange); stroke: #fff; stroke-width: 2; }
.jump .trail { transform-box: fill-box; transform-origin: bottom; animation: jtrail 2.8s infinite; }
.jump .apex { animation: japex 2.8s infinite; }
.jump .apex line { stroke: var(--orange); stroke-width: 1.5; stroke-dasharray: 4 5; }
.jump .apex rect { fill: var(--ink); }
.jump .apex text { fill: #fff; font-family: var(--mono); font-size: 11px; font-weight: 600; text-anchor: middle; }
@keyframes jump {
  0% { transform: translateY(0); animation-timing-function: ease-in-out; }
  22% { transform: translateY(16px); animation-timing-function: cubic-bezier(.2,.7,.3,1); }
  52% { transform: translateY(-102px); animation-timing-function: cubic-bezier(.6,0,.85,.4); }
  74% { transform: translateY(0); animation-timing-function: ease-out; }
  84% { transform: translateY(10px); animation-timing-function: ease-in-out; }
  100% { transform: translateY(0); }
}
@keyframes jshadow { 0%, 100% { transform: scale(1); opacity: .14; } 22% { transform: scale(1.12); } 52% { transform: scale(.55); opacity: .06; } 74% { transform: scale(1); opacity: .14; } }
@keyframes jtrail { 0%, 30% { transform: scaleY(0); opacity: 0; } 52% { transform: scaleY(1); opacity: 1; } 80% { opacity: .7; } 100% { transform: scaleY(1); opacity: 0; } }
@keyframes japex { 0%, 46% { opacity: 0; } 52%, 92% { opacity: 1; } 100% { opacity: 0; } }
.pv-res { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.pv-res > div { border-radius: 16px; padding: 12px 14px; background: rgba(255,255,255,.85); border: 1px solid #fff; box-shadow: var(--sh-1); }
.pv-res small { display: block; color: var(--muted); font-size: 12px; }
.pv-res b { font-size: 24px; font-weight: 650; letter-spacing: -.03em; }
.pv-res b em { font-style: normal; font-size: 13px; color: var(--muted); font-weight: 500; }
.pv-res .lvl-b { color: #15803D; font-size: 20px; }
.perf-side { display: flex; flex-direction: column; gap: 16px; }
.perf-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.perf-stats > div { border-radius: 20px; padding: 16px 18px; background: var(--ink); color: #fff; box-shadow: var(--sh-2); position: relative; overflow: hidden; }
.perf-stats > div::after { content: ""; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 70%, transparent), transparent); }
.perf-stats b { display: block; font-size: clamp(30px, 3vw, 42px); font-weight: 650; letter-spacing: -.045em; line-height: 1; }
.perf-stats small { color: rgba(255,255,255,.62); font-size: 13px; }
.perf-cats { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.perf-cats li { display: flex; gap: 14px; align-items: flex-start; padding: 13px 16px; border-radius: 18px; background: rgba(255,255,255,.75); border: 1px solid #fff; box-shadow: var(--sh-1); transition: transform .4s var(--ease); }
.perf-cats li:hover { transform: translateX(4px); }
.perf-cats .f-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, white); }
.perf-cats b { display: block; font-weight: 600; letter-spacing: -.01em; }
.perf-cats span:not(.f-ic) { color: var(--muted); font-size: 14.5px; }
.perf-note { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: 14.5px; color: var(--ink-2); padding: 14px 16px; border-radius: 16px; background: color-mix(in srgb, var(--brand) 7%, transparent); border: 1px solid color-mix(in srgb, var(--brand) 14%, transparent); }
.perf-note .ic { color: var(--brand); width: 20px; height: 20px; margin-top: 2px; }
.branches { margin-top: 28px; }
.branches .mq-track { animation-duration: 60s; }
.br-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 99px; background: rgba(255,255,255,.8); border: 1px solid #fff; box-shadow: var(--sh-1); font-size: 14.5px; font-weight: 540; white-space: nowrap; }
.br-chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); opacity: .6; }

/* ---------- analysis videos ---------- */
.vid { position: relative; margin: 14px 0 0; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9; background: #0A0F24; cursor: zoom-in; box-shadow: 0 1px 2px rgba(16,24,64,.08), 0 24px 50px -24px rgba(16,24,64,.45); isolation: isolate; }
.vid video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vid::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); pointer-events: none; }
.vid-tag { position: absolute; left: 12px; bottom: 12px; font-size: 11px; letter-spacing: .06em; color: #fff; padding: 5px 10px; border-radius: 99px; background: rgba(10,15,36,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.vid-x { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: rgba(10,15,36,.6); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: transform .35s var(--ease), background .3s; }
.vid:hover .vid-x { transform: scale(1.08); background: var(--brand); }
.rec.real { background: var(--ink); }
.rec.real i { background: #22C55E; }
.pv-jumps { margin-top: 12px; border-radius: 18px; padding: 14px 16px; background: rgba(255,255,255,.85); border: 1px solid #fff; box-shadow: var(--sh-1); display: grid; gap: 8px; }
.pj-h { display: flex; justify-content: space-between; align-items: baseline; }
.pj-h strong { font-size: 14.5px; font-weight: 620; }
.pj-h small { font-size: 12px; color: var(--muted); }
.pj { display: grid; grid-template-columns: 18px 1fr 64px; align-items: center; gap: 10px; font-size: 14px; }
.pj span { color: var(--faint); font-size: 12px; }
.pj i { height: 10px; border-radius: 9px; background: var(--line); position: relative; overflow: hidden; }
.pj i::after { content: ""; position: absolute; inset: 0; width: calc(var(--v) * 100%); border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--brand-2)); transform: scaleX(0); transform-origin: left; transition: transform 1.2s .3s var(--ease); }
.pj:nth-of-type(2) i::after { background: linear-gradient(90deg, var(--orange), #FDBA74); }
.in .pj i::after { transform: none; }
.pj b { text-align: right; font-weight: 620; font-variant-numeric: tabular-nums; }
.pj-note { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); }
.ai-card.posture { grid-template-columns: .85fr 1.15fr; }
.pose-wrap.vid-wrap { grid-template-columns: 1fr; gap: 12px; }
.vid-wrap .vid { margin: 0; }
.vid-wrap .pose-cards { width: 100%; grid-template-columns: repeat(3, 1fr); }
.pc b em { font-style: normal; font-size: 13px; color: var(--muted); font-weight: 500; margin-left: 2px; }
.vbox { border: 0; padding: 0; background: transparent; width: min(94vw, 1280px); max-width: none; max-height: none; overflow: visible; }
.vbox[open] { animation: fade-up .45s var(--ease); }
.vbox::backdrop { background: rgba(6,9,24,.84); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.vbox video { width: 100%; max-height: 82vh; border-radius: 18px; display: block; background: #000; box-shadow: 0 40px 100px -20px rgba(0,0,0,.7); }
.vbox-x { position: absolute; top: -52px; right: 0; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); }
.vbox-x:hover { background: rgba(255,255,255,.25); }
.vbox-t { color: rgba(255,255,255,.82); text-align: center; margin: 14px 0 0; font-size: 14.5px; }

/* ---------- WhatsApp assistant ---------- */
.wa-card { position: relative; overflow: hidden; border-radius: clamp(28px, 4vw, 48px); padding: clamp(28px, 5.5vw, 76px); color: #fff;
  background: linear-gradient(150deg, #0B1240 0%, #0A0E26 55%, #071A2A 100%); box-shadow: 0 40px 100px -40px rgba(11,18,64,.6); isolation: isolate; }
.wa-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1.3px); background-size: 24px 24px; -webkit-mask: radial-gradient(70% 70% at 70% 40%, #000, transparent); mask: radial-gradient(70% 70% at 70% 40%, #000, transparent); }
.wa-glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.wa-glow.g1 { width: 520px; height: 520px; right: -120px; top: -160px; background: color-mix(in srgb, var(--brand) 55%, transparent); animation: drift 12s ease-in-out infinite alternate; }
.wa-glow.g2 { width: 420px; height: 420px; right: 18%; bottom: -220px; background: rgba(37, 211, 102, .32); animation: drift 15s ease-in-out infinite alternate-reverse; }
.wa-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.wa-card .eyebrow { color: #9DB2FF; }
.wa-card .h2 { color: #fff; font-size: clamp(34px, 4.1vw, 60px); }
.grad-l { background: linear-gradient(100deg, #A9BBFF 0%, #7DE2B0 55%, #A9BBFF 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 9s linear infinite; padding-bottom: .06em; }
.wa-card .lead { color: rgba(255,255,255,.7); }
.wa-feats { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wa-feats li { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.wf-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; color: #fff; background: linear-gradient(135deg, var(--brand), #5B4BFF); box-shadow: 0 8px 18px -8px var(--brand); }
.wa-feats b { display: block; font-weight: 600; font-size: 15.5px; letter-spacing: -.01em; }
.wa-feats span:not(.wf-ic) { color: rgba(255,255,255,.62); font-size: 14px; line-height: 1.45; }
.wa-stage { position: relative; display: grid; place-items: center; padding: 20px 0; }
.wa-phone { --w: clamp(270px, 24vw, 310px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), 0 50px 90px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.05); }
.wa-float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 11px 16px 11px 11px; border-radius: 18px; min-width: 220px; font-size: 14px; line-height: 1.25; color: var(--ink);
  background: rgba(255,255,255,.88); border: 1px solid #fff; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 24px 50px -20px rgba(0,0,0,.6);
  opacity: 0; transform: translateY(14px) scale(.95); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.wa-float.show { opacity: 1; transform: none; }
.wa-float b { display: block; font-weight: 600; }
.wa-float small { color: var(--muted); font-size: 12.5px; }
.wa-float.f1 { right: -14%; bottom: 3%; }
.wa-float.f2 { right: -8%; top: 12%; }
.wa-auto { position: relative; margin-top: clamp(32px, 4vw, 52px); padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.wa-auto .mono { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-right: 8px; }
.wa-auto span:not(.mono) { font-size: 14px; padding: 8px 14px; border-radius: 99px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.88); }

.chat-app { --app-bg: #EFE9E1; background: #EFE9E1; }
.chat-app .sb { background: #fff; }
.ch-head { flex: none; display: flex; align-items: center; gap: .6em; padding: .3em 1em .75em .6em; background: #fff; border-bottom: 1px solid rgba(0,0,0,.06); }
.ch-back { color: #128C7E; display: grid; }
.ch-back .ic { width: 1.5em; height: 1.5em; }
.ch-av { width: 2.5em; height: 2.5em; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, #E11D48, #9F1239); flex: none; }
.ch-head strong { display: block; font-size: .98em; }
.ch-head small { color: #128C7E !important; font-size: .72em; }
.ch-body { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: .45em; padding: .8em .8em .6em;
  background-color: #EFE9E1; background-image: radial-gradient(rgba(0,0,0,.035) 1px, transparent 1.2px); background-size: 1.1em 1.1em; }
.msg { position: relative; max-width: 82%; padding: .55em .7em .45em; border-radius: .9em; font-size: .82em; line-height: 1.38; box-shadow: 0 1px 1px rgba(0,0,0,.08); animation: msg-in .45s var(--ease) both; color: #111B21; }
.msg time { display: block; text-align: right; font-size: .72em; color: rgba(17,27,33,.45); margin-top: .15em; }
.msg.in { align-self: flex-start; background: #fff; border-top-left-radius: .25em; }
.msg.out { align-self: flex-end; background: #D9FDD3; border-top-right-radius: .25em; }
.msg.out time::after { content: " ✓✓"; color: #53BDEB; }
.msg .ai-tag { display: flex; align-items: center; gap: .3em; font-size: .78em; font-weight: 650; color: #3137FD; margin-bottom: .2em; }
.msg .ai-tag .ic { width: 1em; height: 1em; }
.msg .opts { display: flex; gap: .35em; margin-top: .45em; flex-wrap: wrap; }
.msg .opts span { font-size: .92em; font-weight: 600; padding: .35em .7em; border-radius: 9em; border: 1px solid rgba(18,140,126,.35); color: #128C7E; background: rgba(18,140,126,.05); }
.msg .opts span.pick { background: #128C7E; color: #fff; }
.msg.sys { align-self: center; background: #FFF6D6; color: #54656F; font-size: .72em; padding: .4em .8em; border-radius: .6em; text-align: center; }
.typing { align-self: flex-start; background: #fff; border-radius: .9em; border-top-left-radius: .25em; padding: .7em .8em; display: flex; gap: .25em; box-shadow: 0 1px 1px rgba(0,0,0,.08); animation: msg-in .3s var(--ease) both; }
.typing i { width: .42em; height: .42em; border-radius: 50%; background: #8696A0; animation: tdot 1.1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes tdot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-.25em); opacity: 1; } }
@keyframes msg-in { from { opacity: 0; transform: translateY(.6em) scale(.96); } }
.ch-input { flex: none; display: flex; align-items: center; gap: .5em; padding: .6em .7em 1.4em; background: #EFE9E1; }
.ch-input span { flex: 1; background: #fff; border-radius: 9em; padding: .65em 1em; color: rgba(17,27,33,.4); font-size: .85em; }
.ch-input i { width: 2.4em; height: 2.4em; border-radius: 50%; display: grid; place-items: center; background: #128C7E; color: #fff; }
.ch-input .ic { width: 1.1em; height: 1.1em; }

/* ---------- process ---------- */
.steps4 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; position: relative; }
.steps4::before { content: ""; position: absolute; left: 0; right: 0; top: 37px; height: 2px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease); z-index: 0; }
.steps4.in::before { transform: scaleX(1); }
.steps4 li { position: relative; z-index: 1; padding: 0 6px; }
.steps4 .n { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: #fff; border: 1px solid #fff; box-shadow: var(--sh-2); font-size: 18px; color: var(--brand); font-weight: 600; margin-bottom: 22px; }
.steps4 h4 { margin: 0 0 8px; font-size: 21px; letter-spacing: -.025em; font-weight: 620; }
.steps4 p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 80px); align-items: start; }
.faq-grid .sec-head { position: sticky; top: 110px; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border-radius: 20px; background: rgba(255,255,255,.75); border: 1px solid #fff; box-shadow: var(--sh-1); padding: 0 22px; transition: background .3s; }
.faq-list details[open] { background: #fff; }
.faq-list summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; font-weight: 580; font-size: 17.5px; letter-spacing: -.015em; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .4s var(--ease), margin .4s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-list details p { margin: -4px 0 20px; color: var(--muted); }
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq-list details::details-content { block-size: 0; overflow: hidden; transition: block-size .5s var(--ease), content-visibility .5s allow-discrete; }
  .faq-list details[open]::details-content { block-size: auto; }
}

/* ---------- CTA ---------- */
.cta { position: relative; padding: clamp(100px, 13vw, 180px) 0; overflow: clip; }
.cta::before { content: ""; position: absolute; inset: 0 0 auto; height: 140px; background: linear-gradient(var(--bg), transparent); z-index: 1; pointer-events: none; }
.cta-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 460px; gap: clamp(24px, 5vw, 80px); align-items: center; }
.cta-points { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 12px; }
.cta-points li { display: flex; gap: 12px; align-items: center; font-size: 17px; }
.cta-points .ic { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--brand); color: #fff; stroke-width: 3; }
.lead-form { position: relative; border-radius: var(--r-xl); padding: 28px; display: grid; gap: 16px; }
.chips-sel { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-sel button { padding: 8px 13px; font-size: 13.5px; }
.lf-brand { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; background: rgba(255,255,255,.8); border: 1px solid #fff; font-size: 14px; }
.lf-brand .bm { width: 40px; height: 40px; font-size: 16px; }
.lf-brand b { display: block; }
.lf-brand small { color: var(--muted); }
.lf-ok { position: absolute; inset: 0; border-radius: inherit; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); animation: fade-up .6s var(--ease); padding: 30px; }
.lf-ok .ok-ring { font-size: 15px; }
.lf-ok .ok-ring .ic { animation: draw .6s .2s var(--ease) forwards; }
.lf-ok strong { font-size: 24px; letter-spacing: -.03em; }
.lf-ok p { color: var(--muted); margin: 6px 0 0; }
.fld input.bad { border-color: #EF4444; box-shadow: 0 0 0 4px rgba(239,68,68,.12); }

/* ---------- footer ---------- */
.foot { position: relative; padding: 70px 0 0; border-top: 1px solid var(--line); overflow: hidden; background: linear-gradient(180deg, var(--bg), #EEF0F7); }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.foot-brand p { color: var(--muted); max-width: 340px; margin: 16px 0 0; }
.foot-brand .wm { font-size: 24px; }
.foot-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.foot-nav div { display: flex; flex-direction: column; gap: 10px; }
.foot-nav strong { font-size: 13px; font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); font-weight: 500; margin-bottom: 4px; }
.foot-nav a { color: var(--ink-2); font-size: 15.5px; }
.foot-nav a:hover { color: var(--brand); }
.foot-bot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 40px 0 0; color: var(--faint); font-size: 13.5px; }
.foot-bot .mono { letter-spacing: .2em; font-size: 12px; }
.foot-giant { text-align: center; line-height: .78; margin-top: 30px; pointer-events: none; user-select: none; }
.foot-giant .wm { font-size: clamp(90px, 22vw, 330px); letter-spacing: -.06em; background: linear-gradient(180deg, color-mix(in srgb, var(--navy) 14%, transparent), transparent 85%); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; }
.foot-giant .wm b { color: transparent; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.bento .bt, .ai-bento .ai-card, .steps4 li { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease), box-shadow .5s var(--ease); }
.in .bt, .in .ai-card, .steps4.in li { opacity: 1; transform: none; }
.in .bt:nth-child(2), .in .ai-card:nth-child(2), .steps4.in li:nth-child(2) { transition-delay: .07s; }
.in .bt:nth-child(3), .in .ai-card:nth-child(3), .steps4.in li:nth-child(3) { transition-delay: .14s; }
.in .bt:nth-child(4), .in .ai-card:nth-child(4), .steps4.in li:nth-child(4) { transition-delay: .21s; }
.in .bt:nth-child(5), .in .ai-card:nth-child(5) { transition-delay: .28s; }
.in .bt:nth-child(6) { transition-delay: .35s; } .in .bt:nth-child(7) { transition-delay: .42s; } .in .bt:nth-child(8) { transition-delay: .49s; }
.in .bt:hover { transform: translateY(-4px); transition-delay: 0s; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav-links a { padding: 8px 10px; font-size: 14px; }
  .t1, .t3 { left: -30%; } .t2, .t4 { right: -30%; }
  .studio-grid { grid-template-columns: 360px 1fr; }
}
@media (max-width: 1120px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; }
}
@media (max-width: 1040px) {
  .perf-grid, .wa-grid { grid-template-columns: 1fr; }
  .wa-float.f1 { right: 0; } .wa-float.f2 { right: 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero-sub { margin-inline: auto; }
  .hero-cta, .hero-trust { justify-content: center; }
  .hero-stage { height: 640px; min-height: 0; margin-top: 20px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div:nth-child(3) { border-left: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .sector { grid-template-columns: 1fr; }
  .studio-grid { grid-template-columns: 1fr; }
  .mod-grid { grid-template-columns: 1fr; }
  .mod-stage { position: relative; top: 0; order: -1; }
  .br-body { grid-template-columns: 1fr; }
  .db-side { display: none; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .ai-card.posture { grid-template-columns: 1fr; }
  .ai-card.posture .ai-copy { order: 0; }
  .steps4 { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .steps4::before { display: none; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-grid .sec-head { position: static; }
  .cta-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .day-grid { grid-template-columns: 1fr; position: relative; }
  .day-stage { position: sticky; top: 84px; height: 0; z-index: 3; }
  .day-sticky { position: absolute; right: 0; top: 0; padding: 0; display: block; }
  .day-phone { --w: var(--dw, 150px); }
  .day-grid { --dw: 150px; }
  .day-glow, .day-clock { display: none; }
  .day-steps { padding-bottom: calc(var(--dw, 150px) * 2.1 + 24px); }
  .step { min-height: 64vh; padding: 24px 168px 24px 0; justify-content: center; transform: none; }
  .step-t { font-size: 34px; }
  .step h3 { font-size: 23px; }
  .step p { font-size: 16px; }
  .db-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { height: 56px; top: 10px; padding-left: 14px; }
  .nav-logo img { width: 30px; height: 30px; }
  .wm { font-size: 18px; }
  .hero-title { font-size: clamp(40px, 11.5vw, 60px); }
  .hero-cta { width: 100%; flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .hero-stage { height: 560px; }
  .hero-phone { --w: 250px; }
  .orbit { width: 420px; }
  .toast { min-width: 0; padding: 8px 12px 8px 8px; font-size: 12.5px; gap: 9px; border-radius: 14px; }
  .toast small { font-size: 11px; }
  .t-ic { width: 30px; height: 30px; border-radius: 9px; }
  .t1 { left: -4%; top: 6%; } .t2 { right: -4%; top: 34%; } .t3 { left: -4%; bottom: 26%; } .t4 { right: -4%; bottom: 6%; }
  .hero-watermark { width: 90vw; right: -30vw; }
  .stats > div { padding: 14px; }
  .seg { display: flex; width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; border-radius: 22px; }
  .seg::-webkit-scrollbar { display: none; }
  .seg button { flex: none; padding: 9px 14px; font-size: 14px; }
  .sector-chip { left: 12px; bottom: 12px; right: 12px; }
  .step-tags span { font-size: 12px; padding: 5px 10px; }
  .studio-ctrl { padding: 20px; }
  .studio-stage { min-height: 520px; }
  .st-p1 { --w: 180px; transform: translate(-92%, -50%) rotate(-6deg); }
  .st-p2 { --w: 200px; transform: translate(-10%, -44%) rotate(4deg); }
  .store { left: 12px; right: 12px; top: 12px; min-width: 0; }
  .mod-groups { grid-template-columns: 1fr; }
  .mg.wide { grid-column: auto; }
  .mg.wide .mg-l { grid-template-columns: 1fr; }
  .mod-phone { --w: 260px; }
  .mod-count { left: 0; bottom: 30px; }
  .db-main { padding: 14px; }
  .db-search { display: none; }
  .kpi b { font-size: 21px; }
  .br-demo { display: none; }
  .bento { grid-template-columns: 1fr; }
  .ai-bento { grid-template-columns: 1fr; }
  .ai-card.posture, .ai-card.vision, .ai-card.food, .ai-card.plan, .ai-card.note { grid-column: auto; }
  .ai-card.posture { padding: 22px; }
  .pose-wrap { grid-template-columns: 1fr; }
  .vid-tag { font-size: 10px; left: 8px; bottom: 8px; }
  .vid-x { width: 34px; height: 34px; right: 8px; bottom: 8px; }
  .vbox-x { top: -50px; }
  .pose-cards { width: 100%; grid-template-columns: repeat(3, 1fr); }
  .pc { padding: 10px; } .pc b { font-size: 19px; } .pc small { font-size: 11px; }
  .steps4 { grid-template-columns: 1fr; }
  .lead-form { padding: 20px; }
  .wa-feats { grid-template-columns: 1fr; }
  .wa-phone { --w: 262px; }
  .wa-float { min-width: 0; font-size: 12.5px; padding: 8px 12px 8px 8px; }
  .wa-float.f1 { right: -6px; bottom: 2%; } .wa-float.f2 { right: -6px; top: 4%; }
  .perf-vis { padding: 14px; }
  .pv-res { gap: 6px; } .pv-res > div { padding: 10px; } .pv-res b { font-size: 18px; } .pv-res .lvl-b { font-size: 15px; } .pv-res small { font-size: 11px; }
  .perf-stats > div { padding: 14px; } .perf-stats small { font-size: 12px; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .step { padding-right: 140px; }
  .day-grid { --dw: 128px; }
  .step-tags { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .bento .bt, .ai-bento .ai-card, .steps4 li { opacity: 1; transform: none; }
}
