/* ==========================================================================
   Client Portal — shared design system
   Brand colours arrive as CSS variables from the brand file.
   ========================================================================== */

:root {
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', sans-serif;
  --r-sm: 12px; --r: 20px; --r-lg: 28px; --r-xl: 36px;
  --side: 268px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --grad: linear-gradient(120deg, var(--brand) 0%, var(--brand2) 100%);
  --shadow-sm: 0 1px 2px rgba(11,21,48,.04), 0 2px 8px rgba(11,21,48,.04);
  --shadow: 0 1px 2px rgba(11,21,48,.04), 0 12px 32px -8px rgba(11,21,48,.10);
  --shadow-lg: 0 30px 80px -20px rgba(11,21,48,.25);
  --glass: rgba(255,255,255,.72);
  --focus: 0 0 0 4px color-mix(in srgb, var(--brand) 22%, transparent);
  --tint: color-mix(in srgb, var(--brand) 8%, var(--surface));
}
.mode-dark {
  --shadow-sm: 0 0 0 1px var(--line);
  --shadow: 0 0 0 1px var(--line), 0 20px 40px -20px rgba(0,0,0,.6);
  --shadow-lg: 0 40px 100px -20px rgba(0,0,0,.8);
  --glass: rgba(16,16,23,.7);
  --tint: color-mix(in srgb, var(--brand) 10%, var(--surface));
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--bg2);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  font-feature-settings: 'ss01', 'cv11';
}
.kind-landing, .kind-public { background: var(--bg); }
img, svg, iframe { max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 .4em; letter-spacing: -.025em; line-height: 1.12; font-weight: 700; }
h1 { font-size: clamp(30px, 4vw, 44px); }
h2 { font-size: clamp(24px, 3vw, 32px); }
h3 { font-size: 19px; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
::selection { background: color-mix(in srgb, var(--brand) 25%, transparent); }
.ic { flex: none; display: inline-block; vertical-align: middle; }

/* ---------- Type helpers ---------- */
.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); line-height: 1.55; max-width: 60ch; }
.muted { color: var(--muted); } .muted-2 { color: color-mix(in srgb, var(--ink) 38%, transparent); }
.small { font-size: 14px; } .center { text-align: center; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-creativjar .grad { background: linear-gradient(100deg, var(--brand) 0%, var(--brand2) 50%, var(--blue) 100%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; animation: gradShift 8s ease-in-out infinite alternate; }
@keyframes gradShift { to { background-position: 100% center; } }
.display { font-size: clamp(36px, 5.4vw, 64px); font-weight: 800; letter-spacing: -.04em; line-height: 1.02; }
.h2 { font-size: clamp(22px, 2.6vw, 30px); }
.link { color: var(--brand); font-weight: 600; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-weight: 600; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.link-quiet { color: var(--muted); font-weight: 600; font-size: 15px; } .link-quiet:hover { color: var(--ink); }
i { font-style: normal; }
.field i { color: var(--muted); font-weight: 400; font-size: 13px; margin-left: 4px; }
code { font-family: ui-monospace, 'SF Mono', Menlo, monospace; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.03em; font-size: 20px; white-space: nowrap; }
.logo.big { font-size: 30px; }
.logo-cj .dot { color: var(--brand); }
.mse-badge { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--grad); color: #fff; font-size: 11px; letter-spacing: .02em; box-shadow: 0 6px 16px -6px var(--brand); }
.logo-mse { font-weight: 600; font-size: 17px; } .logo-mse b { font-weight: 800; }
.logo.big .mse-badge { width: 46px; height: 46px; font-size: 14px; border-radius: 13px; }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; border: 0;
  background: var(--b); color: var(--onbrand); font: inherit; font-weight: 650; font-size: 15px; letter-spacing: -.01em; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, opacity .2s;
  box-shadow: 0 8px 22px -10px var(--b);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -12px var(--b); }
.btn:active { transform: scale(.97); }
.btn:focus-visible { outline: none; box-shadow: var(--focus); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn-ghost { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 30%, transparent); }
.btn-quiet { background: transparent; color: var(--muted); box-shadow: none; }
.btn-quiet:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); box-shadow: none; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-round { width: 46px; padding: 0; flex: none; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 0; background: transparent; color: var(--muted); cursor: pointer; position: relative; transition: background .2s, color .2s; font: inherit; }
.icon-btn:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); color: var(--ink); }
.icon-btn.sm { width: 32px; height: 32px; border-radius: 9px; }

/* ---------- Forms ---------- */
input, textarea, select {
  width: 100%; font: inherit; font-size: 15.5px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 13px 15px;
  transition: border-color .2s, box-shadow .2s, background .2s; -webkit-appearance: none; appearance: none;
}
.mode-dark input, .mode-dark textarea, .mode-dark select { background: var(--surface2); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--brand); box-shadow: var(--focus); }
input::placeholder, textarea::placeholder { color: color-mix(in srgb, var(--muted) 70%, transparent); }
input[disabled] { opacity: .6; }
textarea { resize: vertical; min-height: 48px; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
input[type=checkbox], input[type=radio] { width: auto; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; color: var(--ink); }
.field.inline { display: flex; align-items: center; gap: 10px; margin: 0; } .field.inline > span { margin: 0; white-space: nowrap; } .field.inline select, .field.inline input { width: auto; }
.card > input, .card > textarea, .card form > input, .card form > textarea, .add-team input { margin-bottom: 12px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.grid-2.gap { gap: 24px; }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 14.5px; margin: 6px 0 18px; }
.check input { margin-top: 3px; accent-color: var(--brand); width: 18px; height: 18px; flex: none; }
.toggle { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14.5px; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle > span { width: 44px; height: 26px; border-radius: 99px; background: color-mix(in srgb, var(--ink) 18%, transparent); position: relative; transition: background .25s; flex: none; }
.toggle > span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform .3s var(--ease-spring); }
.toggle input:checked + span { background: var(--ok); } .toggle input:checked + span::after { transform: translateX(18px); }
.strength { display: block; height: 4px; border-radius: 4px; background: var(--line); margin-top: 8px; overflow: hidden; }
.strength i { display: block; height: 100%; width: 0; background: var(--err); transition: width .3s var(--ease), background .3s; }
.hp { position: absolute; left: -9999px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.alert { padding: 13px 16px; border-radius: 14px; background: var(--tint); color: var(--ink); font-size: 14.5px; margin-bottom: 18px; border: 1px solid color-mix(in srgb, var(--brand) 20%, transparent); }
.alert-err { background: color-mix(in srgb, var(--err) 10%, var(--surface)); border-color: color-mix(in srgb, var(--err) 30%, transparent); }

/* segmented control */
.seg { display: inline-flex; padding: 4px; border-radius: 14px; background: color-mix(in srgb, var(--ink) 6%, transparent); gap: 2px; flex-wrap: wrap; }
.seg button, .seg label span { border: 0; background: transparent; font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); padding: 8px 14px; border-radius: 10px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; transition: all .2s var(--ease); }
.seg label { display: contents; } .seg label input { position: absolute; opacity: 0; pointer-events: none; }
.seg button.on, .seg label input:checked + span { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.mode-dark .seg button.on, .mode-dark .seg label input:checked + span { background: var(--surface2); }
.seg.sm button, .seg.sm label span { padding: 6px 10px; font-size: 13px; }

/* ---------- Cards ---------- */
.card { background: var(--surface); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-sm); margin-bottom: 20px; position: relative; }
.card-title { font-size: 17px; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; } .card-head .card-title { margin: 0; }
.stack { display: flex; flex-direction: column; gap: 20px; } .stack > .card { margin: 0; }
.span-2 { grid-column: span 2; }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); } .empty .ic { opacity: .4; margin-bottom: 10px; }
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 99px; background: color-mix(in srgb, var(--ink) 6%, transparent); color: var(--muted); margin: 0 4px 4px 0; font-style: normal; }
.tag-hot { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); }
.badge { font-style: normal; font-size: 11px; font-weight: 700; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--brand); color: #fff; display: inline-grid; place-items: center; margin-left: auto; }
.dot-badge { position: absolute; top: 9px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; flex: none; background: var(--grad); color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .02em; }
.avatar.sm { width: 32px; height: 32px; font-size: 12px; } .avatar.xl { width: 72px; height: 72px; font-size: 24px; }
.ticks { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 11px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.ticks .ic { color: var(--ok); margin-top: 3px; }
.bar { height: 8px; border-radius: 8px; background: color-mix(in srgb, var(--ink) 8%, transparent); overflow: hidden; margin: 6px 0 22px; max-width: 420px; }
.bar i { display: block; height: 100%; background: var(--grad); border-radius: 8px; transition: width 1s var(--ease); }

/* ---------- Toasts ---------- */
.toasts { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 200; display: grid; gap: 8px; pointer-events: none; width: min(92vw, 440px); }
.toast { display: flex; gap: 10px; align-items: center; padding: 13px 18px; border-radius: 16px; background: var(--glass); backdrop-filter: blur(20px) saturate(1.8); -webkit-backdrop-filter: blur(20px) saturate(1.8); box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); font-size: 14.5px; font-weight: 550; animation: toastIn .6s var(--ease-spring) both, toastOut .5s var(--ease) 4.5s forwards; }
.toast-ok .ic { color: var(--ok); } .toast-err .ic { color: var(--err); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-20px) scale(.95); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-14px); } }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .07s; } .d2 { transition-delay: .14s; } .d3 { transition-delay: .21s; } .d4 { transition-delay: .28s; }
.motion-expressive .reveal { transform: translateY(40px) scale(.98); filter: blur(6px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.motion-expressive .reveal.in { transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; filter: none; } html { scroll-behavior: auto; } }

/* ==========================================================================
   App shell (client + admin)
   ========================================================================== */
.sidebar {
  position: fixed; inset: 0 auto 0 0; width: var(--side); z-index: 50; display: flex; flex-direction: column; padding: 22px 16px;
  background: var(--glass); backdrop-filter: blur(24px) saturate(1.6); -webkit-backdrop-filter: blur(24px) saturate(1.6); border-right: 1px solid var(--line);
}
.mode-light .sidebar { background: rgba(255,255,255,.82); }
.side-brand { display: flex; align-items: center; gap: 8px; padding: 6px 10px 24px; }
.admin-pill { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); }
.side-nav { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; }
.nav-label { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 18px 12px 8px; opacity: .8; }
.nav-label:first-child { padding-top: 0; }
.nav-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; font-size: 15px; font-weight: 550; color: var(--muted); transition: background .2s, color .2s; position: relative; }
.nav-item:hover { background: color-mix(in srgb, var(--ink) 5%, transparent); color: var(--ink); }
.nav-item.active { background: var(--tint); color: var(--brand); font-weight: 650; }
.nav-item.active::before { content: ''; position: absolute; left: -16px; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: var(--brand); }
.nav-item.locked { opacity: .45; cursor: default; }
.nav-item.locked:hover { background: none; color: var(--muted); }
.nav-item[data-hint].locked:hover::after { content: attr(data-hint); position: absolute; left: calc(100% + 8px); top: 50%; transform: translateY(-50%); background: var(--ink); color: var(--bg); font-size: 12.5px; padding: 6px 10px; border-radius: 8px; white-space: nowrap; z-index: 5; opacity: 1; }
.side-foot { display: flex; align-items: center; gap: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.me { flex: 1; display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; min-width: 0; }
a.me:hover, .me.active { background: color-mix(in srgb, var(--ink) 5%, transparent); }
.me-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.me-txt b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.me-txt small { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar { display: none; }
.scrim { display: none; }
.shell { margin-left: var(--side); min-height: 100vh; }
.main { max-width: 1180px; margin: 0 auto; padding: 48px 48px 80px; }

.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; }
.page-head h1 { margin: 0 0 8px; }
.page-head .lead { margin: 0; font-size: 17px; }
.page-head-right { flex: none; }
.hello { margin: 4px 0 30px; }
.back-link { display: inline-flex; gap: 6px; align-items: center; color: var(--muted); font-size: 14px; font-weight: 600; margin-bottom: 18px; } .back-link:hover { color: var(--ink); }

/* ---------- Journey rail ---------- */
.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); position: relative; counter-reset: j; }
.journey::before, .journey::after { content: ''; position: absolute; top: 17px; left: calc(100% / 14); right: calc(100% / 14); height: 2px; background: var(--line); border-radius: 2px; }
.journey::after { right: auto; width: calc((100% - 100% / 7) * var(--done) / 100); background: var(--grad); transform-origin: left; animation: railGrow 1.6s var(--ease) .3s both; }
@keyframes railGrow { from { transform: scaleX(0); } }
.journey li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; position: relative; z-index: 1; padding: 0 4px; }
.j-dot { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 700; background: var(--surface); box-shadow: inset 0 0 0 2px var(--line); color: var(--muted); transition: all .4s var(--ease); }
.mode-dark .j-dot { background: var(--surface); }
.j-done .j-dot { background: var(--grad); color: #fff; box-shadow: none; }
.j-now .j-dot { background: var(--surface); color: var(--brand); box-shadow: inset 0 0 0 2px var(--brand), 0 0 0 6px color-mix(in srgb, var(--brand) 15%, transparent); animation: nowPulse 2.4s ease-in-out infinite; }
@keyframes nowPulse { 50% { box-shadow: inset 0 0 0 2px var(--brand), 0 0 0 11px color-mix(in srgb, var(--brand) 6%, transparent); } }
.j-txt { display: flex; flex-direction: column; line-height: 1.3; }
.j-txt b { font-size: 13.5px; font-weight: 650; } .j-txt small { font-size: 12px; color: var(--muted); }
.j-next .j-txt b { color: var(--muted); font-weight: 550; }
.journey.compact .j-txt small { display: none; } .journey.compact .j-dot { width: 28px; height: 28px; font-size: 12px; } .journey.compact::before, .journey.compact::after { top: 13px; } .journey.compact .j-txt b { font-size: 12px; }
.mini-journey { background: var(--surface); border-radius: var(--r); padding: 18px 12px; box-shadow: var(--shadow-sm); margin-bottom: 20px; }

/* ---------- Home: next step ---------- */
.grid-hero { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; align-items: start; }
.next-card {
  display: block; position: relative; overflow: hidden; border-radius: var(--r-xl); padding: 40px; color: #fff; background: var(--grad); margin-bottom: 20px; isolation: isolate;
  box-shadow: 0 30px 60px -30px var(--brand); transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.brand-creativjar .next-card { background: radial-gradient(120% 140% at 0% 0%, var(--brand) 0%, var(--brand2) 55%, #2a1170 100%); }
a.next-card:hover { transform: translateY(-4px) scale(1.005); box-shadow: 0 40px 80px -30px var(--brand); }
.next-card h2 { font-size: clamp(26px, 3vw, 36px); max-width: 18ch; margin: 14px 0 12px; color: #fff; }
.next-card p { color: rgba(255,255,255,.85); max-width: 46ch; font-size: 16.5px; }
.next-card .btn { background: #fff; color: #111; --b: rgba(0,0,0,.4); margin-top: 8px; }
.next-card .btn-ghost { background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.next-card .btn-quiet { background: transparent; color: rgba(255,255,255,.8); box-shadow: none; }
.next-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 650; padding: 6px 12px; border-radius: 99px; background: rgba(255,255,255,.18); backdrop-filter: blur(8px); }
.next-art { position: absolute; right: -10px; bottom: -20px; opacity: .14; z-index: -1; transform: rotate(-12deg); transition: transform .8s var(--ease); }
.next-art .ic { width: 220px; height: 220px; stroke-width: 1; }
a.next-card:hover .next-art { transform: rotate(-4deg) scale(1.06); }
.next-card::after { content: ''; position: absolute; inset: 0; background: radial-gradient(600px circle at var(--mx, 80%) var(--my, 0%), rgba(255,255,255,.22), transparent 40%); z-index: -1; pointer-events: none; }
.next-card.big { padding: 52px; }
.next-card .note { border-left: 3px solid rgba(255,255,255,.6); margin: 0 0 22px; padding: 4px 0 4px 18px; color: rgba(255,255,255,.92); font-size: 16px; max-width: 60ch; }
.next-card .bar { background: rgba(255,255,255,.25); } .next-card .bar i { background: #fff; }
.link-card { display: flex; align-items: center; gap: 16px; margin: 0; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.link-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.link-card > .ic:first-child { color: var(--brand); padding: 12px; width: 50px; height: 50px; border-radius: 14px; background: var(--tint); }
.link-card div { flex: 1; display: flex; flex-direction: column; } .link-card small { color: var(--muted); font-size: 14px; }
.link-card > .ic:last-child { color: var(--muted); transition: transform .3s var(--ease); } .link-card:hover > .ic:last-child { transform: translateX(4px); color: var(--brand); }
.video { position: relative; padding-top: 56.25%; border-radius: var(--r); overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card { padding: 12px; } .video-card p { margin: 10px 6px 2px; }
.countdown { display: flex; gap: 12px; margin: 22px 0 26px; }
.countdown div { background: rgba(255,255,255,.16); backdrop-filter: blur(10px); border-radius: 18px; padding: 14px 18px; min-width: 84px; text-align: center; }
.countdown b { display: block; font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown small { font-size: 12px; opacity: .8; text-transform: uppercase; letter-spacing: .08em; }
.call-card h2 { font-size: clamp(22px, 2.4vw, 30px); max-width: 24ch; }
.mini-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 10px; }
.mini-steps div { display: flex; flex-direction: column; gap: 4px; }
.mini-steps span { width: 32px; height: 32px; border-radius: 10px; background: var(--tint); color: var(--brand); display: grid; place-items: center; font-weight: 700; margin-bottom: 8px; }
.mini-steps small { color: var(--muted); }

/* ---------- Ring + HQ ---------- */
.ring { position: relative; width: 140px; height: 140px; flex: none; }
.ring.small { width: 92px; height: 92px; } .ring.big { width: 190px; height: 190px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 10; }
.ring .trk { stroke: color-mix(in srgb, var(--ink) 8%, transparent); }
.ring .bar, .mock-ring .bar { stroke: url(#ringGrad); stroke: var(--brand); stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 327; transition: stroke-dashoffset 1.8s var(--ease) .2s; }
.ring-txt { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.ring-txt b { font-size: 34px; font-weight: 800; letter-spacing: -.04em; } .ring.small .ring-txt b { font-size: 22px; } .ring.big .ring-txt b { font-size: 48px; }
.ring-txt small { font-size: 12px; color: var(--muted); margin-top: 4px; }
.hq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; } .hq-grid > .card { margin: 0; }
.hq-grid.two { grid-template-columns: 1.6fr 1fr; margin-top: 20px; }
.ring-card { display: flex; align-items: center; gap: 22px; } .ring-card h3 { font-size: 24px; margin: 0; }
.phase-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.phase-list li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; }
.phase-list b { font-weight: 600; flex: 1; } .phase-list em { font-size: 12.5px; color: var(--muted); }
.ph-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); flex: none; }
.ph-done .ph-dot { background: var(--ok); } .ph-doing .ph-dot { background: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 20%, transparent); animation: nowPulse2 2s infinite; }
.ph-doing em { color: var(--brand); font-weight: 600; } .ph-todo b { color: var(--muted); font-weight: 500; }
@keyframes nowPulse2 { 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--brand) 0%, transparent); } }
.big-when { font-size: 20px; font-weight: 700; letter-spacing: -.02em; line-height: 1.3; }
.feed { display: grid; gap: 4px; }
.feed-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.feed-item:last-child { border: 0; } .feed-item > div { flex: 1; min-width: 0; }
.feed-item b { display: block; margin-bottom: 2px; } .feed-item p { margin: 0 0 4px; color: var(--muted); font-size: 15px; white-space: pre-line; }
.feed-item small { font-size: 12.5px; color: var(--muted); }
.file-row { display: flex; align-items: center; gap: 14px; padding: 12px; margin: 0 -12px; border-radius: 14px; transition: background .2s; }
a.file-row:hover { background: color-mix(in srgb, var(--ink) 4%, transparent); }
.file-row > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.file-row b { font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .file-row small { color: var(--muted); font-size: 12.5px; }
.ftype { width: 42px; height: 48px; border-radius: 10px; display: grid; place-items: center; font-size: 10px; font-weight: 800; letter-spacing: .04em; color: var(--brand); background: var(--tint); flex: none; position: relative; }
.ftype.big { width: 54px; height: 64px; font-size: 12px; margin-bottom: 16px; }

.hq-banner { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: 48px; margin-bottom: 20px; background: var(--dark); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 30px; isolation: isolate; }
.hq-banner .eyebrow { color: rgba(255,255,255,.7); } .hq-banner .lead { color: rgba(255,255,255,.75); margin: 0; }
.hq-banner .display { color: #fff; margin: 0 0 8px; font-size: clamp(44px, 7vw, 88px); }
.hq-banner-bg { position: absolute; inset: 0; z-index: -1; }
.hq-banner .ring .trk { stroke: rgba(255,255,255,.15); } .hq-banner .ring .bar { stroke: #fff; } .hq-banner .ring-txt small { color: rgba(255,255,255,.7); }
.tracker { list-style: none; margin: 0; padding: 0; position: relative; }
.tracker li { display: flex; gap: 18px; padding-bottom: 26px; position: relative; }
.tracker li::before { content: ''; position: absolute; left: 19px; top: 44px; bottom: 4px; width: 2px; background: var(--line); }
.tracker li.tr-done::before { background: var(--ok); }
.tracker li:last-child { padding-bottom: 0; } .tracker li:last-child::before { display: none; }
.tr-node { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; flex: none; background: var(--surface); box-shadow: inset 0 0 0 2px var(--line); color: var(--muted); }
.tr-done .tr-node { background: var(--ok); color: #fff; box-shadow: none; }
.tr-doing .tr-node { color: var(--brand); box-shadow: inset 0 0 0 2px var(--brand), 0 0 0 6px color-mix(in srgb, var(--brand) 14%, transparent); }
.tr-body { flex: 1; padding-top: 8px; } .tr-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .tr-top b { font-size: 16.5px; }
.tr-body p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.pill-st { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: color-mix(in srgb, var(--ink) 6%, transparent); color: var(--muted); }
.pill-st.st-done { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.pill-st.st-doing { background: var(--tint); color: var(--brand); }

/* ---------- Questionnaire ---------- */
.quiz { max-width: 760px; margin: 0 auto; min-height: calc(100vh - 160px); display: flex; flex-direction: column; }
.quiz-top { display: flex; align-items: center; gap: 18px; margin-bottom: 44px; } .quiz-top .eyebrow { margin: 0; white-space: nowrap; }
.quiz-progress { flex: 1; height: 6px; border-radius: 6px; background: color-mix(in srgb, var(--ink) 8%, transparent); overflow: hidden; }
.quiz-progress i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 6px; transition: width .6s var(--ease); }
.quiz-count { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.qslide { margin-bottom: 40px; }
.js .qslide { display: none; } .js .qslide.on { display: block; animation: slideIn .6s var(--ease) both; } .js .qslide.on.back { animation-name: slideBack; }
@keyframes slideIn { from { opacity: 0; transform: translateX(40px); } } @keyframes slideBack { from { opacity: 0; transform: translateX(-40px); } }
.qslide h2 { font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -.035em; max-width: 22ch; }
.qslide > p { font-size: 17px; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: 8px; padding: 14px 20px; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 550; font-size: 15.5px; cursor: pointer; transition: all .25s var(--ease); user-select: none; }
.chip span .ic { width: 0; opacity: 0; transition: all .3s var(--ease-spring); color: #fff; }
.chip span:hover { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--brand) 50%, var(--line)); transform: translateY(-1px); }
.chip input:checked + span { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -12px var(--brand); }
.chip input:checked + span .ic { width: 14px; opacity: 1; }
.chip input:focus-visible + span { box-shadow: var(--focus); }
.chips-dense .chip span { padding: 11px 16px; font-size: 14.5px; }
.qfields { display: grid; gap: 4px; max-width: 600px; }
.big-area { font-size: 19px; padding: 20px; border-radius: 20px; min-height: 140px; }
.quiz-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 24px; position: sticky; bottom: 0; background: linear-gradient(transparent, var(--bg2) 30%); padding-bottom: 20px; }
.js [data-quiz-submit] { display: none; } .js .quiz.last [data-quiz-submit] { display: inline-flex; } .js .quiz.last [data-quiz-next] { display: none; }
.js .quiz.first [data-quiz-prev] { visibility: hidden; }
.quiz-nav [data-quiz-next], .quiz-nav [data-quiz-submit] { margin-left: auto; }

/* ---------- Booker ---------- */
.booker-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.booker-head .card-title { margin-bottom: 4px; }
.day-strip { display: flex; gap: 10px; overflow-x: auto; padding: 18px 2px 14px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.day-strip::-webkit-scrollbar { display: none; }
.day { flex: none; width: 76px; padding: 14px 0; border-radius: 18px; border: 0; background: color-mix(in srgb, var(--ink) 4%, transparent); text-align: center; cursor: pointer; font: inherit; color: var(--ink); scroll-snap-align: start; transition: all .3s var(--ease); }
.day small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.day b { display: block; font-size: 26px; font-weight: 750; letter-spacing: -.03em; line-height: 1.2; }
.day em { display: block; font-size: 11.5px; color: var(--muted); }
.day:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.day.on { background: var(--brand); color: #fff; box-shadow: 0 12px 26px -12px var(--brand); transform: translateY(-2px); }
.day.on small, .day.on em { color: rgba(255,255,255,.85); }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; padding-top: 8px; min-height: 60px; }
.slot { height: 50px; border-radius: 14px; border: 0; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line); font: inherit; font-weight: 650; font-size: 15px; color: var(--ink); cursor: pointer; transition: all .25s var(--ease); animation: slotIn .5s var(--ease) both; }
.slot:hover { box-shadow: inset 0 0 0 1.5px var(--brand); color: var(--brand); }
.slot.on { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -12px var(--brand); }
@keyframes slotIn { from { opacity: 0; transform: translateY(8px); } }
.confirm-bar { position: sticky; bottom: 16px; margin-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 14px 14px 24px; border-radius: 22px; background: var(--glass); backdrop-filter: blur(20px) saturate(1.8); -webkit-backdrop-filter: blur(20px) saturate(1.8); box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); animation: toastIn .5s var(--ease-spring); }
.confirm-bar small { display: block; color: var(--muted); font-size: 12.5px; } .confirm-bar b { font-size: 17px; }
.booked-row { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.booked-row:last-of-type { border: 0; } .booked-row > div:nth-child(2) { flex: 1; min-width: 180px; display: flex; flex-direction: column; } .booked-row small { color: var(--muted); font-size: 13px; }
.booked-row.compact { padding: 10px 0; flex-wrap: nowrap; } a.booked-row:hover b { color: var(--brand); }
.date-tile { width: 52px; height: 56px; border-radius: 14px; background: var(--tint); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; flex: none; }
.date-tile small { font-size: 11px; text-transform: uppercase; color: var(--brand); font-weight: 700; letter-spacing: .06em; } .date-tile b { font-size: 21px; font-weight: 800; }
.calendly-card { padding: 8px; overflow: hidden; } .calendly-card form { padding: 8px 0 14px; }

/* ---------- Story (How we work) ---------- */
.story { display: grid; grid-template-columns: 300px 1fr; gap: 40px; margin: 10px 0 40px; }
.story-sticky { position: sticky; top: 90px; height: fit-content; }
.story-num { font-size: clamp(90px, 12vw, 180px); font-weight: 800; letter-spacing: -.06em; line-height: .9; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; transition: opacity .3s; }
.story-num.flip { animation: numFlip .6s var(--ease); }
@keyframes numFlip { 0% { opacity: 0; transform: translateY(30px); } 100% { opacity: 1; transform: none; } }
.story-bar { height: 4px; border-radius: 4px; background: var(--line); margin-top: 20px; max-width: 220px; overflow: hidden; } .story-bar i { display: block; height: 100%; width: 0; background: var(--grad); transition: width .2s linear; }
.story-step { min-height: 52vh; display: flex; flex-direction: column; justify-content: center; opacity: .25; transform: translateX(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.story-step.on { opacity: 1; transform: none; }
.story-step h2 { font-size: clamp(30px, 4vw, 52px); letter-spacing: -.04em; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 20px; }
.three h3 { font-size: 17px; margin-top: 14px; } .three p { font-size: 15px; }
.circle-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--tint); color: var(--brand); }
.timeline { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.timeline::before { content: ''; position: absolute; top: 9px; left: 0; right: 0; height: 2px; background: var(--grad); opacity: .35; }
.timeline li { padding: 28px 16px 0 0; position: relative; display: flex; flex-direction: column; gap: 4px; }
.timeline li::before { content: ''; position: absolute; top: 2px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 3px solid var(--brand); }
.timeline b { font-size: 15px; } .timeline span { color: var(--muted); font-size: 14px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-weight: 650; font-size: 16.5px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 300; color: var(--muted); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; animation: slotIn .4s var(--ease); }
.cta-strip { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 36px 40px; border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow-sm); flex-wrap: wrap; }
.cta-strip h3 { font-size: 24px; margin: 0 0 4px; } .cta-strip p { margin: 0; }

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; align-items: stretch; margin-bottom: 28px; }
.plan { background: var(--surface); border-radius: var(--r-xl); padding: 34px 30px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; position: relative; transition: transform .5s var(--ease), box-shadow .5s var(--ease); transform-style: preserve-3d; }
.plan:hover { box-shadow: var(--shadow); }
.plan h2 { font-size: 28px; margin: 0 0 4px; } .plan > p { font-size: 15px; min-height: 2.6em; }
.plan .ticks { flex: 1; margin: 6px 0 28px; } .plan .ticks li { font-size: 14.5px; }
.plan.hot { background: var(--dark); color: #fff; box-shadow: 0 40px 80px -30px var(--brand), 0 0 0 1px color-mix(in srgb, var(--brand) 40%, transparent); }
.brand-creativjar .plan.hot { background: linear-gradient(160deg, #1e1030 0%, #16161d 60%); box-shadow: 0 0 0 1px var(--brand), 0 40px 80px -30px var(--brand); }
.plan.hot .muted { color: rgba(255,255,255,.7); } .plan.hot .ticks .ic { color: #fff; }
.plan-badge { position: absolute; top: -13px; left: 30px; background: var(--grad); color: #fff; font-size: 12.5px; font-weight: 700; padding: 6px 12px; border-radius: 99px; display: inline-flex; gap: 6px; align-items: center; box-shadow: 0 8px 20px -8px var(--brand); }
.price { display: flex; align-items: baseline; gap: 6px; margin: 18px 0 6px; }
.price b { font-size: 46px; font-weight: 800; letter-spacing: -.05em; line-height: 1; } .price small { color: var(--muted); font-size: 15px; }
.plan.hot .price small { color: rgba(255,255,255,.7); }
.saving { font-size: 13px; color: var(--ok); font-weight: 600; }
.plan.hot .btn { background: #fff; color: #111; --b: rgba(0,0,0,.4); }
.note { display: flex; gap: 14px; align-items: flex-start; margin: 0 0 28px; font-size: 16px; } .note div { flex: 1; }
blockquote.note.card { border-left: 4px solid var(--brand); }
.plan-summary { display: flex; gap: 40px; align-items: flex-start; flex-wrap: wrap; }
.ps-price b { font-size: 52px; font-weight: 800; letter-spacing: -.05em; } .ps-price small { color: var(--muted); }
.terms { font-size: 14.5px; color: var(--muted); line-height: 1.7; }
.terms.scroll { max-height: 190px; overflow-y: auto; padding: 16px 18px; border-radius: 14px; background: color-mix(in srgb, var(--ink) 4%, transparent); margin-bottom: 18px; }
.sig { font-size: 22px; font-style: italic; font-weight: 500; letter-spacing: -.01em; }

/* ---------- Sheet (modal) ---------- */
.sheet { position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; padding: 20px; }
.sheet[hidden] { display: none; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(5,8,20,.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade .3s; }
.sheet-panel { position: relative; width: min(560px, 100%); max-height: 92vh; overflow-y: auto; background: var(--surface); border-radius: var(--r-xl); padding: 36px; box-shadow: var(--shadow-lg); animation: sheetIn .5s var(--ease-spring); }
.sheet-x { position: absolute; top: 16px; right: 16px; }
.price-line { font-size: 20px; font-weight: 700; color: var(--brand); }
@keyframes sheetIn { from { opacity: 0; transform: translateY(40px) scale(.96); } }
@keyframes fade { from { opacity: 0; } }

/* ---------- Onboarding ---------- */
.onb-grid { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.citem { background: var(--surface); border-radius: var(--r); margin-bottom: 12px; box-shadow: var(--shadow-sm); transition: box-shadow .3s; }
.citem[open] { box-shadow: var(--shadow); }
.citem summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 20px 22px; cursor: pointer; }
.citem summary::-webkit-details-marker { display: none; }
.citem summary b { flex: 1; font-size: 16px; }
.cbox { width: 26px; height: 26px; border-radius: 8px; box-shadow: inset 0 0 0 2px var(--line); display: grid; place-items: center; color: transparent; flex: none; transition: all .35s var(--ease-spring); }
.st-done .cbox { background: var(--ok); color: #fff; box-shadow: none; transform: scale(1.05); }
.st-na .cbox { background: color-mix(in srgb, var(--ink) 15%, transparent); box-shadow: none; }
.st-done summary b, .st-na summary b { color: var(--muted); }
.cstate { font-size: 12.5px; font-weight: 650; color: var(--muted); padding: 4px 10px; border-radius: 99px; background: color-mix(in srgb, var(--ink) 5%, transparent); }
.st-done .cstate { color: var(--ok); background: color-mix(in srgb, var(--ok) 12%, transparent); }
.cbody { padding: 0 22px 22px 62px; } .cbody > p { color: var(--muted); font-size: 15px; }
.idbox { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.idbox > div { padding: 12px 16px; border-radius: 14px; background: var(--tint); }
.idbox small { display: block; font-size: 12px; color: var(--muted); }
.idbox code { font-size: 15px; font-weight: 600; cursor: copy; color: var(--brand); }
.citem-form { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; margin-top: 8px; } .citem-form .field { flex: 1; min-width: 220px; margin: 0; }
.dropzone { position: relative; border-radius: var(--r); border: 2px dashed color-mix(in srgb, var(--brand) 30%, var(--line)); background: color-mix(in srgb, var(--brand) 3%, transparent); text-align: center; margin-bottom: 14px; transition: all .3s var(--ease); }
.dropzone input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.dropzone label { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 30px 20px; pointer-events: none; }
.dropzone label .ic { color: var(--brand); } .dropzone small { color: var(--muted); }
.dropzone.drag { border-color: var(--brand); background: var(--tint); transform: scale(1.01); }
.dropzone.has { border-style: solid; }
.dropzone [data-dz-go] { position: relative; z-index: 2; margin: 0 auto 18px; }
.dropzone.wide { margin-bottom: 24px; }
.team { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; } .team div { display: flex; align-items: center; gap: 12px; }
.finish { margin-top: 24px; }

/* ---------- Files ---------- */
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.filter-tabs button { border: 0; font: inherit; font-size: 14px; font-weight: 600; padding: 9px 16px; border-radius: 99px; background: var(--surface); color: var(--muted); cursor: pointer; box-shadow: var(--shadow-sm); transition: all .2s; }
.filter-tabs button em { font-style: normal; opacity: .6; margin-left: 4px; }
.filter-tabs button.on { background: var(--ink); color: var(--bg); }
.file-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.fcard { background: var(--surface); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 4px; position: relative; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.fcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.fcard b { font-size: 15px; word-break: break-word; } .fcard small { font-size: 12.5px; color: var(--muted); }
.fcard .dl { position: absolute; top: 18px; right: 18px; color: var(--muted); opacity: 0; transition: opacity .2s; } .fcard:hover .dl { opacity: 1; color: var(--brand); }
.fcard.hide { display: none; }

/* ---------- Chat ---------- */
.chat { padding: 0; display: flex; flex-direction: column; height: calc(100vh - 260px); min-height: 460px; overflow: hidden; }
.chat-log { flex: 1; overflow-y: auto; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.chat-day { text-align: center; font-size: 12px; font-weight: 600; color: var(--muted); margin: 10px 0; text-transform: uppercase; letter-spacing: .08em; }
.bubble { display: flex; gap: 10px; max-width: 76%; align-items: flex-end; animation: slotIn .4s var(--ease) both; }
.bubble p { margin: 0; padding: 12px 16px; border-radius: 20px 20px 20px 6px; background: color-mix(in srgb, var(--ink) 6%, transparent); white-space: pre-wrap; word-break: break-word; font-size: 15px; }
.bubble small { font-size: 11.5px; color: var(--muted); display: block; margin: 4px 6px 0; }
.bubble.me { align-self: flex-end; flex-direction: row-reverse; }
.bubble.me p { background: var(--brand); color: #fff; border-radius: 20px 20px 6px 20px; } .bubble.me small { text-align: right; }
.composer { display: flex; gap: 10px; padding: 16px; border-top: 1px solid var(--line); align-items: flex-end; }
.composer textarea { flex: 1; border-radius: 22px; padding: 12px 18px; min-height: 46px; max-height: 180px; resize: none; }

/* ==========================================================================
   Admin
   ========================================================================== */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
.kpi { background: var(--surface); border-radius: var(--r); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.kpi small { color: var(--muted); font-size: 13.5px; font-weight: 600; } .kpi b { display: block; font-size: 38px; font-weight: 800; letter-spacing: -.04em; line-height: 1.15; }
.kpi.hot { background: var(--grad); color: #fff; } .kpi.hot small { color: rgba(255,255,255,.85); }
.attention { border: 1.5px solid color-mix(in srgb, var(--brand) 35%, transparent); }
.attention .card-title .ic { color: var(--brand); }
.att-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); } .att-row small { color: var(--muted); flex: 1; }
.admin-top { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start; }
.activity { list-style: none; margin: 0; padding: 0; } .activity li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.activity li:last-child { border: 0; } .activity small { display: block; color: var(--muted); font-size: 12.5px; }
.board-tools { margin: 10px 0 14px; } .search { max-width: 340px; border-radius: 99px; padding-left: 20px; }
.board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 14px; overflow-x: auto; padding-bottom: 14px; }
.col { background: color-mix(in srgb, var(--ink) 3.5%, transparent); border-radius: var(--r); padding: 12px; min-height: 200px; }
.col-head { display: flex; justify-content: space-between; align-items: center; padding: 4px 6px 12px; font-size: 14px; }
.col-head em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--muted); background: var(--surface); padding: 2px 9px; border-radius: 99px; }
.col-call_booked .col-head b { color: var(--brand); } .col-active .col-head b { color: var(--ok); } .col-not_fit { opacity: .7; }
.ccard { display: block; background: var(--surface); border-radius: 16px; padding: 14px; margin-bottom: 10px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.ccard:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.ccard-top { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; } .ccard-top b { font-size: 14.5px; flex: 1; }
.ccard > small { display: block; color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.ccard-meta { margin: 6px 0 2px; } .ccard.hide { display: none; }
.col-empty { text-align: center; color: var(--muted); padding: 20px; opacity: .5; }
.client-head { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; }
.client-head > div { flex: 1; min-width: 240px; } .client-head h1 { margin: 0 0 4px; font-size: 32px; } .client-head p { margin: 0; font-size: 14.5px; }
.select-pill select { width: auto; border-radius: 99px; font-weight: 650; font-size: 14px; padding: 10px 40px 10px 18px; background-color: var(--tint); color: var(--brand); border: 0; cursor: pointer; }
.tabs { display: flex; gap: 4px; margin-bottom: 22px; overflow-x: auto; border-bottom: 1px solid var(--line); }
.tabs a { padding: 12px 16px; font-weight: 600; font-size: 14.5px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; transition: color .2s; }
.tabs a:hover { color: var(--ink); } .tabs a.on { color: var(--brand); border-color: var(--brand); }
.tabs a.pulse { color: var(--brand); position: relative; } .tabs a.pulse::after { content: ''; position: absolute; top: 10px; right: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: nowPulse2 1.6s infinite; }
.answers dt { font-size: 13px; font-weight: 600; color: var(--muted); margin-top: 16px; } .answers dt:first-child { margin-top: 0; }
.answers dd { margin: 4px 0 0; font-size: 15.5px; }
.answers dd .tag { color: var(--ink); background: var(--tint); }
.decision { border: 1.5px solid color-mix(in srgb, var(--brand) 30%, transparent); }
.plan-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 20px 0 24px; }
.pp input[type=checkbox] { position: absolute; opacity: 0; pointer-events: none; }
.pp-box { display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: 18px; box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; transition: all .25s var(--ease); position: relative; }
.pp-box b { font-size: 18px; } .pp-box small { color: var(--muted); }
.pp-box::after { content: ''; position: absolute; top: 18px; right: 18px; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line); transition: all .25s var(--ease-spring); }
.pp input:checked + .pp-box { box-shadow: inset 0 0 0 2px var(--brand); background: var(--tint); }
.pp input:checked + .pp-box::after { background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat; box-shadow: none; }
.pp-price { display: flex; align-items: center; gap: 6px; margin-top: 12px; font-weight: 700; color: var(--muted); }
.pp-price input { padding: 9px 12px; font-size: 15px; }
.phase-edit { display: grid; gap: 10px; }
.pe-row { display: grid; grid-template-columns: auto 1fr auto 150px auto; gap: 10px; align-items: center; padding: 12px; border-radius: 16px; background: color-mix(in srgb, var(--ink) 3%, transparent); }
.pe-row input { padding: 10px 12px; font-size: 14.5px; }
.pe-title { font-weight: 650; }
.pe-note { grid-column: 2 / -1; }
.pe-move { display: flex; flex-direction: column; }
.inline-form { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 18px 22px; }
.inline-form input { flex: 1; min-width: 180px; margin: 0 !important; } .inline-form input[type=date] { flex: 0 0 170px; }
.plan-edit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.plan-edit { margin: 0; } .plan-edit.off { opacity: .55; }
.pe-name { font-size: 20px; font-weight: 700; }
.save-bar { position: sticky; bottom: 16px; margin-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 14px 14px 24px; border-radius: 22px; background: var(--glass); backdrop-filter: blur(20px) saturate(1.8); -webkit-backdrop-filter: blur(20px) saturate(1.8); box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); z-index: 10; }
.daypick { display: flex; gap: 8px; flex-wrap: wrap; }
.daypick input { position: absolute; opacity: 0; pointer-events: none; }
.daypick span { display: inline-grid; place-items: center; width: 54px; height: 44px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 650; font-size: 14px; cursor: pointer; transition: all .2s; }
.daypick input:checked + span { background: var(--brand); color: #fff; box-shadow: none; }
.calendly-box { padding: 20px; border-radius: 18px; background: color-mix(in srgb, var(--ink) 3.5%, transparent); margin: 6px 0 20px; } .calendly-box .field { margin: 14px 0 6px; }
.team-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); } .team-row > div { flex: 1; display: flex; flex-direction: column; } .team-row small { color: var(--muted); font-size: 13px; }
.add-team { margin-top: 16px; }
.adm-check { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); } .adm-check > div { flex: 1; display: flex; flex-direction: column; } .adm-check small { color: var(--muted); }
.adm-check select { width: auto; padding: 8px 36px 8px 12px; font-size: 14px; }
.danger { margin-top: 40px; text-align: right; }

/* ==========================================================================
   Auth pages
   ========================================================================== */
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.auth-art { position: relative; overflow: hidden; background: var(--dark); color: #fff; display: flex; align-items: flex-end; padding: 56px; isolation: isolate; }
.brand-creativjar .auth-art { background: #07070b; }
.auth-art-inner { max-width: 440px; } .auth-art-inner .logo { margin-bottom: 40px; color: #fff; }
.auth-art h2 { font-size: clamp(34px, 4vw, 52px); letter-spacing: -.04em; line-height: 1.05; margin-bottom: 18px; }
.auth-art p { color: rgba(255,255,255,.72); font-size: 17px; }
.art-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; color: rgba(255,255,255,.85); }
.art-list li { display: flex; gap: 10px; align-items: center; } .art-list .ic { color: #fff; background: rgba(255,255,255,.15); border-radius: 50%; padding: 3px; width: 22px; height: 22px; }
.auth-form { display: flex; align-items: center; justify-content: center; padding: 40px 24px; background: var(--bg); }
.form-card { width: 100%; max-width: 440px; }
.form-card h1 { font-size: 34px; margin-bottom: 8px; }
.form-card .alert { margin-top: 16px; }
.form-card .muted.center { margin-top: 22px; font-size: 15px; }
.form-card > .muted { margin-bottom: 28px; }
.form-card > h1 + .field, .form-card > .alert + .field, .form-card > .muted + .grid-2 { margin-top: 24px; }
.center-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: var(--bg2); }
.auth-card { background: var(--surface); padding: 44px; border-radius: var(--r-xl); box-shadow: var(--shadow); max-width: 460px; }
.center-logo { display: block; margin-bottom: 30px; }
.big-icon { width: 72px; height: 72px; border-radius: 22px; background: var(--tint); color: var(--brand); display: grid; place-items: center; margin-bottom: 20px; }

/* Orbs (shared decorative) */
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .75; z-index: -1; will-change: transform; }
.o1 { width: 520px; height: 520px; background: var(--brand); top: -160px; left: -140px; animation: float1 18s ease-in-out infinite; }
.o2 { width: 440px; height: 440px; background: var(--brand2); bottom: -180px; right: -120px; animation: float2 22s ease-in-out infinite; }
.o3 { width: 300px; height: 300px; background: var(--accent); top: 40%; left: 50%; opacity: .45; animation: float1 26s ease-in-out infinite reverse; }
.brand-myseoexperts .o3 { opacity: .25; }
@keyframes float1 { 50% { transform: translate(60px, 80px) scale(1.1); } }
@keyframes float2 { 50% { transform: translate(-80px, -40px) scale(.92); } }
.hq-banner .o1 { width: 420px; height: 420px; top: -200px; left: auto; right: 10%; opacity: .55; }
.hq-banner .o2 { width: 360px; height: 360px; bottom: -220px; right: auto; left: 20%; opacity: .5; }

/* ==========================================================================
   Landing page
   ========================================================================== */
.land-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; display: flex; justify-content: space-between; align-items: center; padding: 18px clamp(20px, 4vw, 48px); transition: all .4s var(--ease); }
.land-nav.scrolled { padding-top: 12px; padding-bottom: 12px; background: var(--glass); backdrop-filter: blur(20px) saturate(1.8); -webkit-backdrop-filter: blur(20px) saturate(1.8); box-shadow: 0 1px 0 var(--line); }
.land-nav-r { display: flex; align-items: center; gap: 20px; }
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 140px 24px 100px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.brand-myseoexperts .hero-bg { background: radial-gradient(80% 60% at 50% 0%, var(--tint), var(--bg) 70%); }
.brand-myseoexperts .hero-bg .orb { opacity: .28; filter: blur(90px); }
.brand-myseoexperts .hero-bg .o1 { left: 10%; top: -100px; } .brand-myseoexperts .hero-bg .o2 { right: 5%; bottom: 0; }
.brand-creativjar .hero-bg .orb { opacity: .55; }
.grain { position: absolute; inset: 0; opacity: .08; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); mix-blend-mode: overlay; pointer-events: none; }
.brand-myseoexperts .grain { display: none; }
.hero-inner { max-width: 980px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 99px; font-size: 13.5px; font-weight: 600; background: var(--glass); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 30px; }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 25%, transparent); animation: nowPulse2 2s infinite; }
.hero-title { font-size: clamp(48px, 9vw, 120px); font-weight: 800; letter-spacing: -.055em; line-height: .95; margin: 0 0 30px; }
.brand-myseoexperts .hero-title { font-size: clamp(44px, 7.6vw, 96px); letter-spacing: -.045em; line-height: 1.02; }
.hero-sub { font-size: clamp(18px, 2vw, 22px); color: var(--muted); max-width: 640px; margin: 0 auto 40px; line-height: 1.5; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 28px; font-size: 14px; color: var(--muted); } .hero-note .ic { color: var(--ok); margin-left: 6px; }
.split-in .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-in .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.split-in.in .w > span { transform: none; }
.scroll-cue { position: absolute; bottom: 32px; left: 50%; width: 26px; height: 42px; border-radius: 14px; box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--ink) 25%, transparent); transform: translateX(-50%); }
.scroll-cue span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; border-radius: 4px; background: var(--ink); transform: translateX(-50%); animation: cue 2s ease-in-out infinite; }
@keyframes cue { 60% { transform: translate(-50%, 12px); opacity: 0; } 100% { opacity: 0; } }

.showcase { padding: 0 24px 120px; perspective: 1600px; }
.device { max-width: 1100px; margin: 0 auto; border-radius: 26px; background: var(--surface); box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); overflow: hidden; transform-origin: center top; will-change: transform; }
.device-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--bg2); }
.device-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; } .device-bar i:nth-child(2) { background: #febc2e; } .device-bar i:nth-child(3) { background: #28c840; }
.device-bar span { margin: 0 auto; font-size: 12.5px; color: var(--muted); padding: 4px 14px; border-radius: 8px; background: color-mix(in srgb, var(--ink) 5%, transparent); }
.device-screen { display: grid; grid-template-columns: 210px 1fr; min-height: 520px; text-align: left; }
.mock-side { padding: 22px 14px; border-right: 1px solid var(--line); background: var(--bg2); }
.mock-logo { padding: 0 8px 22px; transform: scale(.85); transform-origin: left; }
.mock-nav { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; font-size: 13px; color: var(--muted); font-weight: 550; }
.mock-nav span { width: 14px; height: 14px; border-radius: 4px; background: color-mix(in srgb, var(--ink) 12%, transparent); }
.mock-nav.on { background: var(--tint); color: var(--brand); } .mock-nav.on span { background: var(--brand); }
.mock-main { padding: 28px; background: var(--bg2); }
.mock-hello small { display: block; color: var(--muted); font-size: 13px; } .mock-hello b { font-size: 26px; letter-spacing: -.03em; }
.mock-grid { display: grid; grid-template-columns: 220px 1fr; grid-template-rows: auto auto; gap: 14px; margin-top: 20px; }
.mock-card { background: var(--surface); border-radius: 18px; padding: 18px; box-shadow: var(--shadow-sm); }
.mock-ring { display: flex; align-items: center; gap: 14px; } .mock-ring svg { width: 90px; height: 90px; transform: rotate(-90deg); flex: none; }
.mock-ring circle { fill: none; stroke-width: 11; } .mock-ring .trk { stroke: color-mix(in srgb, var(--ink) 8%, transparent); }
.mock-ring b { font-size: 30px; font-weight: 800; letter-spacing: -.04em; display: block; line-height: 1; } .mock-ring small { color: var(--muted); font-size: 12px; }
.mock-phases { grid-row: span 2; display: grid; gap: 10px; align-content: start; }
.mp { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--ink) 3%, transparent); }
.mp span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); } .mp em { margin-left: auto; font-size: 11.5px; color: var(--muted); font-weight: 600; }
.mp.done span { background: var(--ok); } .mp.doing span { background: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 20%, transparent); } .mp.doing em { color: var(--brand); }
.mock-update small, .mock-call small { font-size: 11.5px; color: var(--muted); } .mock-update b, .mock-call b { display: block; font-size: 15px; margin: 4px 0; } .mock-update p, .mock-call p { margin: 0; font-size: 13px; color: var(--muted); }
.mock-call { background: var(--grad); color: #fff; } .mock-call small, .mock-call p { color: rgba(255,255,255,.8); }
.mock-update { grid-column: 1; }

.statement { padding: 120px 24px 140px; max-width: 1100px; margin: 0 auto; }
.words { font-size: clamp(32px, 5.4vw, 72px); font-weight: 800; letter-spacing: -.045em; line-height: 1.08; margin: 0; }
.words .wd { opacity: .14; transition: opacity .25s linear; } .words .wd.on { opacity: 1; }

.journey-sec { position: relative; }
.v-pin .journey-sticky { max-width: 1180px; margin: 0 auto; padding: 0 24px 120px; display: grid; grid-template-columns: 380px 1fr; gap: 60px; }
.v-pin .journey-intro { position: sticky; top: 120px; height: fit-content; }
.v-pin .journey-track { display: grid; gap: 18px; }
.hprogress { height: 4px; border-radius: 4px; background: var(--line); margin-top: 26px; max-width: 280px; overflow: hidden; } .hprogress i { display: block; height: 100%; width: 0; background: var(--grad); }
.journey-intro h2 { font-size: clamp(34px, 4.6vw, 60px); letter-spacing: -.045em; line-height: 1.02; }
.jcard { background: var(--surface); border-radius: var(--r-xl); padding: 34px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.jnum { position: absolute; right: 26px; top: 14px; font-size: 88px; font-weight: 800; letter-spacing: -.06em; color: color-mix(in srgb, var(--ink) 5%, transparent); line-height: 1; }
.jicon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--grad); color: #fff; margin-bottom: 22px; box-shadow: 0 12px 24px -12px var(--brand); }
.jcard h3 { font-size: 24px; } .jcard p { color: var(--muted); margin: 0; font-size: 16px; max-width: 46ch; }
/* horizontal pinned version (creativjar) */
.h-pin { height: 400vh; }
.h-pin .journey-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.h-pin .journey-intro { padding: 0 clamp(24px, 6vw, 80px); margin-bottom: 40px; max-width: 900px; }
.h-pin .journey-intro .lead { margin-bottom: 0; }
.h-pin .journey-track { display: flex; gap: 24px; padding: 0 clamp(24px, 6vw, 80px); will-change: transform; }
.h-pin .jcard { flex: none; width: min(420px, 78vw); min-height: 330px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .5s, transform .5s var(--ease); }
.h-pin .jcard.reveal { opacity: 1; transform: none; filter: none; }
.h-pin .jcard:hover { box-shadow: 0 0 0 1px var(--brand), 0 30px 60px -30px var(--brand); transform: translateY(-6px); }
.h-pin .jnum { font-size: 120px; color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--ink) 14%, transparent); }

.marquee { overflow: hidden; padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 40px 0 0; transform: rotate(-2deg) scale(1.04); background: var(--brand); color: #fff; }
.marquee-track { display: flex; gap: 34px; width: max-content; animation: marquee 50s linear infinite; font-size: clamp(26px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.04em; white-space: nowrap; align-items: center; }
.marquee-track i { font-size: .6em; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

.process-sec, .bento-sec { max-width: 1180px; margin: 0 auto; padding: 140px 24px 40px; }
.sec-head { margin-bottom: 50px; } .sec-head h2 { font-size: clamp(36px, 5vw, 64px); letter-spacing: -.045em; line-height: 1.02; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pcard { background: var(--surface); border-radius: var(--r-lg); padding: 30px 26px 34px; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s; transform-style: preserve-3d; }
.pcard:hover { box-shadow: var(--shadow); }
.pnum { display: block; font-size: 15px; font-weight: 800; color: var(--brand); margin-bottom: 70px; letter-spacing: .02em; }
.pcard h3 { font-size: 22px; } .pcard p { color: var(--muted); font-size: 15px; margin: 0; }
.stats-sec { max-width: 1180px; margin: 0 auto; padding: 100px 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; }
.stat b { display: block; font-size: clamp(56px, 8vw, 110px); font-weight: 800; letter-spacing: -.06em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat small { font-size: 16px; color: var(--muted); font-weight: 550; }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bcell { background: var(--surface); border-radius: var(--r-xl); padding: 34px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; min-height: 240px; display: flex; flex-direction: column; justify-content: flex-end; }
.bcell > .ic { color: var(--brand); position: absolute; top: 30px; left: 34px; }
.bcell h3 { font-size: 22px; } .bcell p { color: var(--muted); margin: 0; font-size: 15.5px; max-width: 42ch; }
.b-wide { grid-column: span 2; }
.b-accent { background: var(--grad); color: #fff; } .b-accent p { color: rgba(255,255,255,.85); } .b-accent > .ic { color: #fff; }
.mini-bars { position: absolute; right: 34px; top: 34px; display: flex; gap: 8px; align-items: flex-end; height: 110px; }
.mini-bars i { width: 16px; height: var(--h); border-radius: 6px; background: var(--grad); opacity: .85; transform-origin: bottom; transform: scaleY(0); transition: transform 1.2s var(--ease); }
.bcell.in .mini-bars i { transform: none; } .mini-bars i:nth-child(2) { transition-delay: .1s; } .mini-bars i:nth-child(3) { transition-delay: .2s; } .mini-bars i:nth-child(4) { transition-delay: .3s; } .mini-bars i:nth-child(5) { transition-delay: .4s; } .mini-bars i:nth-child(6) { transition-delay: .5s; }
.final-cta { padding: 160px 24px; text-align: center; }
.final-inner { max-width: 760px; margin: 0 auto; } .final-inner h2 { font-size: clamp(44px, 7vw, 96px); letter-spacing: -.055em; line-height: 1; } .final-inner .lead { margin: 0 auto 36px; }
.land-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 30px clamp(20px, 4vw, 48px); border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.land-foot a:hover { color: var(--ink); }

/* creativjar extras */
.cursor-glow { position: fixed; width: 500px; height: 500px; border-radius: 50%; pointer-events: none; z-index: 0; background: radial-gradient(circle, color-mix(in srgb, var(--brand) 22%, transparent), transparent 60%); transform: translate(-50%, -50%); left: -500px; top: -500px; transition: opacity .3s; mix-blend-mode: screen; }
.brand-creativjar .hero, .brand-creativjar section { position: relative; }
.brand-creativjar .pcard, .brand-creativjar .bcell, .brand-creativjar .jcard { background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.brand-creativjar .pcard:hover, .brand-creativjar .bcell:hover { box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 60%, var(--line)), 0 30px 60px -30px var(--brand); }
.brand-creativjar .b-accent { background: radial-gradient(120% 140% at 0% 0%, var(--brand), var(--brand2) 60%, #2a1170); }
.brand-creativjar .card, .brand-creativjar .kpi, .brand-creativjar .citem, .brand-creativjar .fcard, .brand-creativjar .plan, .brand-creativjar .ccard { box-shadow: 0 0 0 1px var(--line); }
.brand-creativjar .hq-banner { background: radial-gradient(120% 160% at 100% 0%, #2a1170 0%, #0b0b10 60%); box-shadow: 0 0 0 1px var(--line); }
.brand-creativjar .col { background: color-mix(in srgb, #fff 3%, transparent); }
.brand-creativjar .main::before { content: ''; position: fixed; top: -200px; right: -200px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--brand2) 18%, transparent), transparent 65%); pointer-events: none; z-index: -1; }
.brand-creativjar .shell { position: relative; isolation: isolate; }
.magnetic { transition: transform .3s var(--ease), box-shadow .25s; }

/* confetti */
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 300; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .main { padding: 36px 28px 70px; }
  .hq-grid { grid-template-columns: 1fr 1fr; } .span-2 { grid-column: span 2; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .onb-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  :root { --side: 0px; }
  .sidebar { width: 288px; transform: translateX(-105%); transition: transform .45s var(--ease); box-shadow: var(--shadow-lg); }
  .nav-open .sidebar { transform: none; }
  .nav-open .scrim { display: block; position: fixed; inset: 0; z-index: 45; background: rgba(5,8,20,.35); backdrop-filter: blur(3px); animation: fade .3s; }
  .topbar { display: flex; position: sticky; top: 0; z-index: 40; align-items: center; justify-content: space-between; padding: 10px 12px; background: var(--glass); backdrop-filter: blur(20px) saturate(1.8); -webkit-backdrop-filter: blur(20px) saturate(1.8); border-bottom: 1px solid var(--line); }
  .topbar .logo { font-size: 18px; } .topbar .mse-badge { width: 30px; height: 30px; }
  .main { padding: 26px 18px 70px; }
  .grid-hero, .admin-top, .hq-grid.two, .auth { grid-template-columns: 1fr; }
  .auth-art { min-height: 300px; padding: 36px 24px; }
  .auth-art h2 { font-size: 34px; } .art-list { display: none; }
  .story { grid-template-columns: 1fr; } .story-sticky { position: static; } .story-num { font-size: 80px; } .story-step { min-height: auto; opacity: 1; transform: none; padding: 20px 0; }
  .three { grid-template-columns: 1fr; gap: 22px; }
  .timeline { grid-template-columns: 1fr; } .timeline::before { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; } .timeline li { padding: 0 0 22px 34px; } .timeline li::before { top: 4px; }
  .v-pin .journey-sticky { grid-template-columns: 1fr; gap: 30px; } .v-pin .journey-intro { position: static; }
  .bento { grid-template-columns: 1fr; } .b-wide { grid-column: auto; } .mini-bars { height: 70px; }
  .stats-sec { grid-template-columns: 1fr; gap: 50px; }
  .device-screen { grid-template-columns: 1fr; } .mock-side { display: none; } .mock-grid { grid-template-columns: 1fr; } .mock-phases { grid-row: auto; }
  .pe-row { grid-template-columns: 1fr auto; } .pe-row .seg, .pe-row input[type=date], .pe-note { grid-column: 1 / -1; } .pe-move { flex-direction: row; grid-row: 1; grid-column: 2; }
  .hq-banner { flex-direction: column; align-items: flex-start; padding: 32px; }
  .journey { grid-template-columns: repeat(7, minmax(84px, 1fr)); overflow-x: auto; padding-bottom: 6px; }
  .mini-steps { grid-template-columns: 1fr; }
  .land-nav-r .link-quiet { display: none; }
}
@media (max-width: 640px) {
  .grid-2 { grid-template-columns: 1fr; }
  .hq-grid { grid-template-columns: 1fr; } .span-2 { grid-column: auto; }
  .process-grid { grid-template-columns: 1fr; }
  .page-head { flex-direction: column; align-items: flex-start; }
  .card { padding: 22px 20px; border-radius: 22px; }
  .next-card, .next-card.big { padding: 30px 24px; border-radius: 28px; }
  .countdown div { min-width: 0; flex: 1; padding: 12px 8px; } .countdown b { font-size: 26px; }
  .cbody { padding: 0 20px 20px; }
  .bubble { max-width: 90%; }
  .chat { height: calc(100vh - 220px); }
  .confirm-bar, .save-bar { flex-direction: column; align-items: stretch; text-align: center; padding: 16px; }
  .hide-sm { display: none; }
  .quiz-top { margin-bottom: 28px; }
  .kpi b { font-size: 30px; }
  .h-pin { height: auto; } .h-pin .journey-sticky { position: static; height: auto; padding: 80px 0; } .h-pin .journey-track { flex-direction: column; transform: none !important; } .h-pin .jcard { width: 100%; }
  .cta-strip { padding: 28px 24px; }
  .client-head h1 { font-size: 26px; }
  .auth-card { padding: 32px 24px; }
}

/* ---------- Fixes ---------- */
[hidden] { display: none !important; }
em { font-style: normal; }
input[type=checkbox], input[type=radio] { -webkit-appearance: auto; appearance: auto; padding: 0; border: 0; background: none; box-shadow: none; accent-color: var(--brand); }
.plan .ticks { align-content: start; }
.logo-cj { gap: 0; }
.v-pin .journey-intro h2 { font-size: clamp(32px, 3.4vw, 46px); }
