/* ============================================================
   Ometz client portal
   ============================================================ */
:root {
  --ink: #17161B; --ink-2: #3B3832; --mute: #8A8578; --line: #ECE7DC; --line-2: #E2DCCF; --bg: #F6F4EF; --card: #fff;
  --gold: #D6A43B; --gold-2: #EAC772; --gold-d: #A9780A; --gold-w: #FBF3DC;
  --night: #0E0D11; --night-2: #17161B; --green: #13915F; --green-w: #E3F6EE; --red: #C2412D; --red-w: #FDECEA; --blue: #2E5BD8; --blue-w: #E8EFFF; --orange: #C26A12; --orange-w: #FDF0E1;
  --serif: 'Cormorant Garamond', Georgia, serif; --sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; --mark: 'Cinzel', Georgia, serif;
  --side: 264px; --r: 18px; --ease: cubic-bezier(.2,.7,.2,1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); font-size: 15px; line-height: 1.55; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 8px; }
.muted { color: var(--mute); }
.eyebrow { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-d); font-weight: 600; }

/* Boot */
.boot { position: fixed; inset: 0; z-index: 100; background: var(--night); display: grid; place-content: center; justify-items: center; gap: 18px; transition: opacity .4s, visibility .4s; }
.boot img { width: 64px; animation: breathe 1.6s ease-in-out infinite; }
.boot span { width: 120px; height: 2px; background: rgba(255,255,255,.1); border-radius: 2px; overflow: hidden; position: relative; }
.boot span::after { content: ''; position: absolute; inset: 0; width: 40%; background: var(--gold); animation: slide 1.1s ease-in-out infinite; }
.boot.gone { opacity: 0; visibility: hidden; }
@keyframes breathe { 50% { transform: scale(1.06); filter: drop-shadow(0 0 18px rgba(214,164,59,.45)); } }
@keyframes slide { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: transform .12s, box-shadow .2s, border-color .2s, background .2s, filter .2s; }
.btn:hover { border-color: #cfc8b8; box-shadow: 0 8px 18px -12px rgba(0,0,0,.3); }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .6; cursor: default; }
.btn.gold { background: linear-gradient(180deg, #E1B248, var(--gold)); border-color: var(--gold); color: #17140c; box-shadow: 0 10px 22px -12px rgba(169,120,10,.8); }
.btn.gold:hover { filter: brightness(1.05); }
.btn.dark { background: var(--night-2); color: #fff; border-color: var(--night-2); }
.btn.ghost-d { background: rgba(255,255,255,.07); color: #fff; border-color: rgba(255,255,255,.18); }
.btn.ghost-d:hover { background: rgba(255,255,255,.14); }
.btn.danger-ghost { color: var(--red); border-color: #F0C9C2; margin-top: 14px; }
.btn.sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 10px; }
.btn.lg { height: 50px; font-size: 15px; border-radius: 14px; padding: 0 22px; }
.btn.wide { width: 100%; }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: rot .7s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }
.pill { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.pill.gold { background: var(--gold-w); color: var(--gold-d); } .pill.green { background: var(--green-w); color: var(--green); } .pill.red { background: var(--red-w); color: var(--red); }
.pill.blue { background: var(--blue-w); color: var(--blue); } .pill.orange { background: var(--orange-w); color: var(--orange); } .pill.gray { background: #F0EDE6; color: #6b665d; }

/* Fields */
.fld { display: block; margin-bottom: 16px; }
.fld > span { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; }
.fld input, .fld select, .fld textarea { width: 100%; height: 48px; border: 1px solid var(--line-2); border-radius: 12px; padding: 0 14px; background: #fff; font-size: 15px; outline: 0; transition: border-color .2s, box-shadow .2s; }
.fld textarea { height: auto; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-w); }
.pw { position: relative; } .pw input { padding-right: 48px; }
.eye { position: absolute; right: 6px; top: 6px; width: 36px; height: 36px; border: 0; background: none; color: var(--mute); border-radius: 8px; cursor: pointer; display: grid; place-items: center; }
.eye.on { color: var(--gold-d); }

/* ═══════ AUTH ═══════ */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; }
.auth-art { position: relative; overflow: hidden; background: radial-gradient(800px 500px at 20% 20%, rgba(214,164,59,.22), transparent 60%), radial-gradient(600px 400px at 90% 90%, rgba(214,164,59,.12), transparent 60%), var(--night); display: flex; align-items: flex-end; padding: 56px; }
.auth-glow { position: absolute; width: 560px; height: 560px; left: 30%; top: 12%; border-radius: 50%; background: radial-gradient(closest-side, rgba(234,199,114,.18), transparent); animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(-80px, 60px) scale(1.1); } }
.auth-art::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 40% 40%, #000, transparent 75%); }
.auth-quote { position: relative; color: #EDE8DD; }
.auth-quote img { width: 64px; margin-bottom: 26px; filter: drop-shadow(0 10px 30px rgba(214,164,59,.35)); }
.auth-quote p { font-family: var(--serif); font-size: clamp(36px, 4vw, 56px); line-height: 1.05; }
.auth-quote em { color: var(--gold-2); }
.auth-quote span { display: block; margin-top: 14px; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: #8f897c; }
.auth-panel { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 24px; gap: 22px; }
.auth-card { width: 100%; max-width: 420px; opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.auth-card.in { opacity: 1; transform: none; }
.a-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; }
.a-brand img { width: 34px; } .a-brand span { font-family: var(--mark); letter-spacing: .3em; font-size: 15px; font-weight: 600; }
.auth-card h1 { font-family: var(--serif); font-size: 40px; font-weight: 600; line-height: 1.05; letter-spacing: -.005em; }
.a-sub { color: var(--mute); margin: 10px 0 24px; font-size: 15px; }
.a-sub a, .a-alt a, .a-row a { color: var(--gold-d); font-weight: 600; }
.a-row { display: flex; justify-content: flex-end; margin: -6px 0 16px; font-size: 13.5px; }
.a-alt { text-align: center; margin-top: 20px; font-size: 14px; color: var(--mute); }
.a-err { color: var(--red); font-size: 13.5px; min-height: 20px; margin-bottom: 8px; }
.a-note { display: flex; gap: 8px; align-items: flex-start; padding: 10px 14px; border-radius: 12px; background: var(--gold-w); color: var(--gold-d); font-size: 13.5px; margin-bottom: 18px; }
.a-note.ok { background: var(--green-w); color: var(--green); }
.auth-foot { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--mute); }
.auth-foot a { text-decoration: underline; }
.meter { height: 5px; border-radius: 4px; background: #EFEBE2; overflow: hidden; margin: -6px 0 6px; }
.meter i { display: block; height: 100%; width: 0; transition: width .3s, background .3s; }
.meter i.weak { background: var(--red); } .meter i.ok { background: var(--gold); } .meter i.strong { background: var(--green); }
.hint { display: block; font-size: 12.5px; color: var(--mute); margin-bottom: 14px; }
.steps { list-style: none; display: grid; gap: 10px; margin: 0 0 14px; }
.steps li { display: flex; gap: 12px; font-size: 14px; color: var(--ink-2); }
.steps b { width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%; background: var(--night-2); color: var(--gold-2); display: grid; place-items: center; font-size: 12px; }
.steps em { font-style: normal; font-weight: 600; }
.qr { display: flex; gap: 18px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: #fff; margin: 0 0 18px; }
.qr img { width: 150px; height: 150px; border-radius: 8px; image-rendering: pixelated; }
.qr small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.qr code { display: block; font-size: 13px; word-break: break-all; margin: 6px 0 10px; color: var(--ink); font-weight: 600; }
.code { display: flex; gap: 8px; justify-content: space-between; margin-bottom: 10px; }
.code input { width: 100%; max-width: 58px; height: 62px; text-align: center; font-size: 26px; font-weight: 700; border: 1.5px solid var(--line-2); border-radius: 14px; outline: 0; background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.code input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-w); transform: translateY(-1px); }
.code.shake { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.mfa-ico { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--night-2); color: var(--gold-2); margin: 0 0 22px; box-shadow: 0 16px 34px -18px rgba(0,0,0,.6); }
@media (max-width: 900px) { .auth { grid-template-columns: 1fr; } .auth-art { display: none; } .auth-panel { min-height: 100vh; } }

/* ═══════ APP SHELL ═══════ */
.side { position: fixed; inset: 0 auto 0 0; width: var(--side); z-index: 40; background: linear-gradient(180deg, #16151B, var(--night)); color: #CFCBC2; display: flex; flex-direction: column; border-right: 1px solid rgba(255,255,255,.05); transition: transform .3s var(--ease); }
.side::before { content: ''; position: absolute; left: -60px; top: -80px; width: 300px; height: 260px; background: radial-gradient(closest-side, rgba(214,164,59,.2), transparent); pointer-events: none; }
.side-brand { position: relative; display: flex; align-items: center; gap: 10px; padding: 22px 22px 18px; }
.side-brand img { width: 30px; } .side-brand span { font-family: var(--mark); letter-spacing: .32em; font-size: 15px; color: #fff; font-weight: 600; }
.side-biz { position: relative; margin: 0 14px 10px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); }
.side-biz small { display: block; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: #8f897c; }
.side-biz b { display: block; color: #fff; font-size: 15px; margin: 3px 0 8px; line-height: 1.3; }
.plan-chip { display: inline-block; font-size: 11px; font-weight: 600; color: var(--gold-2); border: 1px solid rgba(214,164,59,.4); padding: 2px 9px; border-radius: 999px; }
.side-nav { position: relative; flex: 1; overflow-y: auto; padding: 8px 12px; display: grid; align-content: start; gap: 2px; }
.side-nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 11px; font-size: 14px; color: #C7C2B7; transition: background .2s, color .2s; }
.side-nav a svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.side-nav a:hover { background: rgba(255,255,255,.05); color: #fff; }
.side-nav a.on { background: linear-gradient(90deg, rgba(214,164,59,.22), rgba(255,255,255,.03)); color: #fff; box-shadow: inset 2px 0 0 var(--gold); }
.side-nav a.on svg { color: var(--gold-2); }
.side-nav .n { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 700; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--gold); color: #17140c; display: none; place-items: center; }
.side-nav .n.on { display: grid; }
.side-help { position: relative; margin: 12px 14px 18px; padding: 14px; border-radius: 14px; background: rgba(214,164,59,.08); border: 1px solid rgba(214,164,59,.22); font-size: 12.5px; }
.side-help b { display: block; color: #fff; font-size: 13.5px; margin-bottom: 2px; } .side-help span { color: #a9a395; } .side-help a { color: var(--gold-2); }
.scrim { display: none; position: fixed; inset: 0; background: rgba(10,9,12,.5); z-index: 35; }

.top { position: sticky; top: 0; z-index: 30; margin-left: var(--side); display: flex; align-items: center; gap: 16px; padding: 18px 32px; background: rgba(246,244,239,.82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgba(226,220,207,.7); }
.burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; place-items: center; cursor: pointer; }
.top-title h1 { font-family: var(--serif); font-size: 30px; font-weight: 600; line-height: 1.1; }
.top-title p { font-size: 13.5px; color: var(--mute); }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.secure-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--green); background: var(--green-w); padding: 6px 11px; border-radius: 999px; }
.icon-btn { position: relative; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; display: grid; place-items: center; cursor: pointer; }
.icon-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.icon-btn .dot { position: absolute; top: 9px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: #E5484D; box-shadow: 0 0 0 2px #fff; }
.me { position: relative; }
.av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--night-2); color: var(--gold-2); font-weight: 700; font-size: 14px; cursor: pointer; letter-spacing: .04em; }
.av.big { width: 64px; height: 64px; font-size: 20px; cursor: default; }
.me-menu { position: absolute; right: 0; top: 52px; width: 240px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; box-shadow: 0 24px 50px -20px rgba(0,0,0,.35); display: none; }
.me-menu.open { display: grid; gap: 4px; animation: pop .2s var(--ease); }
.me-menu b { font-size: 14px; } .me-menu small { font-size: 12.5px; color: var(--mute); margin-bottom: 8px; word-break: break-all; }
.me-menu a, .me-menu button { text-align: left; padding: 9px 10px; border-radius: 10px; border: 0; background: none; font-size: 14px; cursor: pointer; }
.me-menu a:hover, .me-menu button:hover { background: var(--bg); }
.me-menu button { color: var(--red); }
@keyframes pop { from { opacity: 0; transform: translateY(-6px); } }
.bell-pop { position: fixed; top: 74px; right: 80px; width: 340px; max-height: 70vh; overflow-y: auto; z-index: 60; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 60px -24px rgba(0,0,0,.4); animation: pop .2s var(--ease); }
.bp-hd { padding: 14px 18px; border-bottom: 1px solid var(--line); }
.bell-pop .feed { padding: 6px 4px; }

.main { margin-left: var(--side); padding: 28px 32px 80px; }
.view { max-width: 1180px; display: grid; gap: 20px; }
.view > * { opacity: 0; transform: translateY(12px); }
.view.in > * { animation: rise .55s var(--ease) forwards; }
.view.in > *:nth-child(2) { animation-delay: .05s; } .view.in > *:nth-child(3) { animation-delay: .1s; } .view.in > *:nth-child(4) { animation-delay: .15s; } .view.in > *:nth-child(5) { animation-delay: .2s; } .view.in > *:nth-child(n+6) { animation-delay: .25s; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (max-width: 1000px) {
  .side { transform: translateX(-100%); box-shadow: 0 0 60px rgba(0,0,0,.4); }
  body.nav-open .side { transform: none; } body.nav-open .scrim { display: block; }
  .top, .main { margin-left: 0; }
  .top { padding: 12px 16px; } .burger { display: grid; }
  .top-title h1 { font-size: 24px; } .top-title p, .secure-chip { display: none; }
  .main { padding: 18px 14px 60px; }
  .bell-pop { right: 12px; left: 12px; width: auto; top: 68px; }
}

/* ═══════ COMPONENTS ═══════ */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; box-shadow: 0 1px 2px rgba(23,22,27,.03), 0 10px 30px -22px rgba(23,22,27,.18); min-width: 0; }
.card.flush { padding: 0; overflow: hidden; }
.card-hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.card-hd.pad { padding: 20px 24px 6px; margin: 0; }
.card-hd h3 { font-size: 16px; font-weight: 600; }
.grid { display: grid; gap: 20px; }
.g21 { grid-template-columns: 1.4fr 1fr; } .g12 { grid-template-columns: 1fr 1.2fr; } .g11 { grid-template-columns: 1fr 1fr; }
@media (max-width: 1000px) { .g21, .g12, .g11 { grid-template-columns: 1fr; } }
.grow { flex: 1; min-width: 0; }
.empty { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 28px 16px; color: var(--mute); }
.empty svg { color: var(--gold); margin-bottom: 4px; } .empty b { color: var(--ink); font-size: 15px; } .empty span { font-size: 13.5px; max-width: 320px; }
.toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips button { border: 1px solid var(--line-2); background: #fff; padding: 7px 14px; border-radius: 999px; font-size: 13px; cursor: pointer; transition: all .2s; }
.chips button.on { background: var(--night-2); border-color: var(--night-2); color: #fff; }

/* Hero */
.hero { position: relative; overflow: hidden; display: flex; align-items: center; gap: 28px; padding: 34px 36px; border-radius: 24px; color: #EDE8DD; isolation: isolate;
  background: radial-gradient(700px 300px at 0% 0%, rgba(214,164,59,.28), transparent 60%), radial-gradient(500px 300px at 100% 100%, rgba(214,164,59,.14), transparent 60%), linear-gradient(120deg, #17161B, #221F27); box-shadow: 0 30px 60px -34px rgba(23,22,27,.8); }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.05) 48%, transparent 60%); animation: sheen 6s 1s ease-in-out infinite; }
@keyframes sheen { 0%, 55% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.hero-in { flex: 1; min-width: 0; }
.hero .eyebrow { color: var(--gold-2); }
.hero h2 { font-family: var(--serif); font-size: clamp(32px, 4vw, 46px); font-weight: 600; line-height: 1.05; color: #fff; margin: 8px 0 10px; }
.hero p { color: #CFC9BC; max-width: 560px; } .hero p b { color: #fff; font-weight: 600; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.ring { width: 120px; height: 120px; flex-shrink: 0; }
.ring.big { width: 150px; height: 150px; }
.ring circle { fill: none; stroke-width: 8; }
.ring .bg { stroke: #ECE7DC; } .hero .ring .bg { stroke: rgba(255,255,255,.12); }
.ring .fg { stroke: var(--gold); stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dashoffset 1.4s var(--ease); }
.ring text { font-family: var(--sans); font-weight: 700; font-size: 21px; fill: var(--ink); } .hero .ring text { fill: #fff; }
.ring text.l { font-size: 9px; font-weight: 500; fill: var(--mute); } .hero .ring text.l { fill: #a9a395; }
@media (max-width: 700px) { .hero { flex-direction: column-reverse; align-items: flex-start; padding: 26px 22px; } .ring.big { width: 110px; height: 110px; } .hero-cta .btn { flex: 1; } }

/* Stage track */
.track { display: grid; grid-template-columns: repeat(5, 1fr); position: relative; padding: 4px 6px; }
.track::before { content: ''; position: absolute; left: 10%; right: 10%; top: 19px; height: 2px; background: var(--line-2); }
.st { position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; font-size: 13px; color: var(--mute); }
.st i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 12px; background: #fff; border: 2px solid var(--line-2); color: var(--mute); position: relative; z-index: 1; }
.st.done i { background: var(--gold); border-color: var(--gold); color: #17140c; } .st.done { color: var(--ink-2); }
.st.now i { border-color: var(--gold); color: var(--gold-d); box-shadow: 0 0 0 6px var(--gold-w); animation: ping 2s infinite; } .st.now { color: var(--ink); font-weight: 600; }
@keyframes ping { 50% { box-shadow: 0 0 0 10px rgba(251,243,220,.4); } }
.track.sm { margin-top: 14px; padding: 0; } .track.sm::before { top: 14px; } .track.sm .st i { width: 26px; height: 26px; font-size: 11px; } .track.sm .st { font-size: 12px; }
@media (max-width: 600px) { .st span { font-size: 11px; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.stats.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px 18px; display: grid; gap: 2px; transition: transform .25s, box-shadow .25s; }
.stat[data-route] { cursor: pointer; } .stat:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -22px rgba(23,22,27,.4); }
.stat > span { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--gold-w); color: var(--gold-d); margin-bottom: 8px; }
.stat b { font-size: 24px; font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; } .stat b small { font-size: 14px; color: var(--mute); font-weight: 500; }
.stat em { font-style: normal; font-size: 12.5px; color: var(--mute); }
.stat.warn > span { background: var(--red-w); color: var(--red); }
.bar { height: 4px; background: #F1EDE4; border-radius: 4px; overflow: hidden; margin-top: 10px; }
.bar i, .meter-lg i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-d), var(--gold)); border-radius: 4px; transition: width 1.2s var(--ease); }
.meter-lg { height: 10px; background: #F1EDE4; border-radius: 6px; overflow: hidden; }
@media (max-width: 900px) { .stats, .stats.three { grid-template-columns: 1fr 1fr; } }

/* Lists */
.todo, .feed, .hist, .files, .invs, .hours { list-style: none; }
.todo li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid #F3EFE7; }
.todo li:first-child { border-top: 0; padding-top: 0; }
.todo li b { display: block; font-size: 14px; } .todo li small { font-size: 12.5px; color: var(--mute); }
.todo li > div { flex: 1; min-width: 0; }
.ti { width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; background: #F6F3EC; color: var(--ink-2); }
.todo li.hot .ti { background: var(--gold-w); color: var(--gold-d); }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--green); }
.live i { width: 7px; height: 7px; border-radius: 50%; background: #2FBF8F; animation: beat 1.6s infinite; }
@keyframes beat { 0% { box-shadow: 0 0 0 0 rgba(47,191,143,.6); } 100% { box-shadow: 0 0 0 8px rgba(47,191,143,0); } }
.feed li { display: flex; gap: 12px; padding: 10px 12px; border-radius: 12px; }
.feed li b { display: block; font-size: 13.5px; font-weight: 500; line-height: 1.4; } .feed li small { font-size: 12px; color: var(--mute); }
.feed li.fresh { animation: flash 2.4s ease; }
@keyframes flash { from { background: var(--gold-w); } to { background: transparent; } }
.ai { width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0; display: grid; place-items: center; background: #F6F3EC; color: var(--ink-2); }
.ai.k-approval { background: var(--gold-w); color: var(--gold-d); } .ai.k-invoice { background: var(--green-w); color: var(--green); } .ai.k-message { background: var(--blue-w); color: var(--blue); } .ai.k-file { background: #F2ECFF; color: #6D3FD8; }
.hist li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid #F3EFE7; }
.hist li:first-child { border-top: 0; } .hist li > div { flex: 1; min-width: 0; } .hist b { display: block; font-size: 14px; } .hist small { font-size: 12.5px; color: var(--mute); }

/* Milestones + plan */
.miles { display: flex; flex-wrap: wrap; gap: 8px; }
.mile { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px 8px 8px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; color: var(--mute); }
.mile i { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; }
.mile.done { color: var(--ink-2); background: #FBF9F4; } .mile.done i { background: var(--gold); border-color: var(--gold); color: #17140c; }
.mile.now { border-color: var(--gold); color: var(--ink); font-weight: 600; } .mile.now i { border-color: var(--gold); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 10px var(--gold); }
.plan { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.plan h3 { font-family: var(--serif); font-size: 30px; font-weight: 600; margin: 4px 0 10px; } .plan h3 small { font-family: var(--sans); font-size: 14px; color: var(--mute); font-weight: 500; }
.plan ul { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 22px; font-size: 13.5px; color: var(--ink-2); }
.plan li { display: flex; align-items: center; gap: 8px; } .plan li svg { color: var(--gold-d); flex-shrink: 0; }
.plan-side { display: flex; gap: 10px; }
@media (max-width: 700px) { .plan ul { grid-template-columns: 1fr; } .plan-side { width: 100%; } .plan-side .btn { flex: 1; } }

/* Project board */
.proj { display: flex; gap: 24px; align-items: center; }
.proj h3 { font-family: var(--serif); font-size: 26px; font-weight: 600; line-height: 1.15; }
@media (max-width: 700px) { .proj { flex-direction: column; align-items: flex-start; } }
.board { display: grid; grid-template-columns: repeat(4, minmax(220px, 1fr)); gap: 14px; overflow-x: auto; padding-bottom: 6px; }
.col { background: #EFECE4; border-radius: 16px; padding: 12px; display: grid; align-content: start; gap: 10px; min-height: 160px; }
.col-hd { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 4px; font-size: 13px; }
.col-hd span { font-size: 12px; color: var(--mute); background: #fff; border-radius: 999px; padding: 1px 9px; }
.col-empty { font-size: 12.5px; color: var(--mute); text-align: center; padding: 18px 0; }
.task { text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 12px 13px; cursor: pointer; display: grid; gap: 8px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.task:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -18px rgba(0,0,0,.35); }
.task b { font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.task.you { border-left: 3px solid var(--gold); } .task.is-done b { color: var(--mute); text-decoration: line-through; }
.task-top { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.who { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--mute); }
.task.you .who { color: var(--gold-d); }
.due { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--mute); } .due.soon { color: var(--orange); } .due.late { color: var(--red); font-weight: 600; }
.task-cta { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--gold-d); }
@media (max-width: 1000px) { .board { grid-template-columns: repeat(4, 78%); scroll-snap-type: x mandatory; } .col { scroll-snap-align: start; } }
.tk p { color: var(--ink-2); margin: 14px 0; } .tk-meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; } .tk-meta .muted { display: inline-flex; gap: 4px; align-items: center; font-size: 13px; }
.tk-act { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }

/* Approvals */
.appr { border-color: rgba(214,164,59,.5); box-shadow: 0 0 0 1px rgba(214,164,59,.15), 0 20px 40px -26px rgba(169,120,10,.5); }
.appr-hd { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; } .appr-hd small { color: var(--mute); font-size: 12.5px; }
.appr h3 { font-family: var(--serif); font-size: 28px; font-weight: 600; line-height: 1.15; margin-bottom: 8px; }
.appr p { color: var(--ink-2); margin-bottom: 16px; max-width: 680px; }
.appr-act { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.appr-note { margin-top: 16px; animation: rise .35s var(--ease) both; }

/* Chat */
.chat { padding: 0; display: flex; flex-direction: column; height: calc(100vh - 190px); min-height: 480px; overflow: hidden; }
.chat-hd { display: flex; align-items: center; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.chat-hd b { display: block; font-size: 15px; } .chat-hd small { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--mute); }
.chat-hd .on { width: 8px; height: 8px; border-radius: 50%; background: #2FBF8F; box-shadow: 0 0 0 3px var(--green-w); }
.team-av { width: 42px; height: 42px; border-radius: 13px; background: var(--night-2); display: grid; place-items: center; } .team-av img { width: 26px; }
.thread { flex: 1; overflow-y: auto; padding: 22px; display: flex; flex-direction: column; gap: 10px; background: linear-gradient(#fff, #FBFAF7); }
.hello { margin: auto; text-align: center; color: var(--mute); max-width: 320px; }
.day { text-align: center; margin: 8px 0; } .day span { font-size: 11.5px; color: var(--mute); background: #F3F0E8; padding: 3px 11px; border-radius: 999px; }
.b { max-width: min(76%, 560px); display: grid; gap: 3px; }
.b.fresh { animation: rise .35s var(--ease) both; opacity: 0; transform: translateY(8px); }
.b p { padding: 11px 15px; border-radius: 18px; font-size: 14.5px; line-height: 1.5; word-wrap: break-word; }
.b small { font-size: 11px; color: #a39d90; padding: 0 8px; }
.b-who { font-size: 11.5px; font-weight: 600; color: var(--gold-d); padding: 0 8px; }
.b.them { align-self: flex-start; } .b.them p { background: #F1EEE6; border-bottom-left-radius: 6px; }
.b.me { align-self: flex-end; justify-items: end; } .b.me p { background: var(--night-2); color: #fff; border-bottom-right-radius: 6px; }
.b-file { display: inline-flex; align-items: center; gap: 6px; margin: 2px 4px; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; font-size: 13px; cursor: pointer; }
.typing p { display: flex; gap: 4px; padding: 14px 16px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #a39d90; animation: dots 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 30% { transform: translateY(-4px); opacity: 1; } 0%, 60%, 100% { opacity: .5; } }
.compose { display: flex; align-items: flex-end; gap: 10px; padding: 14px 16px 6px; border-top: 1px solid var(--line); }
.compose textarea { flex: 1; border: 1px solid var(--line-2); border-radius: 22px; padding: 12px 18px; resize: none; max-height: 160px; outline: 0; font-size: 14.5px; line-height: 1.4; }
.compose textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-w); }
.attach, .send { width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; border: 0; }
.attach { background: #F3F0E8; color: var(--ink-2); } .send { background: var(--gold); color: #17140c; transition: transform .12s; } .send:active { transform: scale(.92); }
.chat-tip { display: block; padding: 0 22px 12px; font-size: 11.5px; color: var(--mute); }
@media (max-width: 1000px) { .chat { height: calc(100vh - 120px); } .chat-tip { display: none; } .b { max-width: 88%; } }

/* Files */
.drop { position: relative; display: grid; justify-items: center; text-align: center; gap: 6px; padding: 30px 20px; border: 2px dashed #D9D2C2; border-radius: 20px; background: #FBFAF7; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; color: var(--mute); }
.drop svg { color: var(--gold-d); } .drop b { color: var(--ink); font-size: 15px; } .drop span { font-size: 13px; }
.drop:hover, .drop.over { border-color: var(--gold); background: var(--gold-w); }
.drop.over { transform: scale(1.01); }
.drop select { margin-top: 8px; height: 36px; border-radius: 10px; border: 1px solid var(--line-2); padding: 0 10px; background: #fff; font-size: 13px; }
.upl { display: grid; gap: 8px; } .upl:empty { display: none; }
.up-row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: 13.5px; }
.up-row span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.up-bar { width: 140px; height: 5px; border-radius: 4px; background: #F1EDE4; overflow: hidden; } .up-bar i { display: block; height: 100%; width: 0; background: var(--gold); transition: width 1.6s var(--ease); }
.up-row.ok .up-bar i { background: var(--green); transition-duration: .3s; } .up-row.bad .up-bar i { background: var(--red); }
.files li, .invs li { display: flex; align-items: center; gap: 14px; padding: 14px 22px; border-top: 1px solid #F3EFE7; }
.files li:first-child, .invs li:first-child { border-top: 0; }
.files b, .invs b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .files small, .invs small { font-size: 12.5px; color: var(--mute); }
.fi { width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: #F6F1E6; color: var(--gold-d); }
.fi em { font-style: normal; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.fi.pdf { background: var(--red-w); color: var(--red); } .fi.img { background: #F2ECFF; color: #6D3FD8; } .fi.xlsx, .fi.csv { background: var(--green-w); color: var(--green); } .fi.zip { background: #F0EDE6; color: var(--ink-2); }
.invs .amt { font-variant-numeric: tabular-nums; font-size: 15px; }
.inv-act { display: flex; gap: 8px; }
@media (max-width: 700px) { .files li, .invs li { flex-wrap: wrap; padding: 14px 16px; } .files li .btn { margin-left: 56px; } .invs .inv-act { width: 100%; } .invs .inv-act .btn { flex: 1; } }
.hours li { display: grid; grid-template-columns: 70px 1fr auto; gap: 12px; padding: 10px 0; border-top: 1px solid #F3EFE7; font-size: 13.5px; }
.hours li:first-child { margin-top: 14px; } .hours span { color: var(--mute); } .hours b { font-weight: 500; } .hours em { font-style: normal; font-weight: 600; }

/* Settings */
.prof { display: flex; gap: 16px; align-items: center; } .prof b { display: block; font-size: 16px; } .prof small { display: block; font-size: 13px; color: var(--mute); }
.sec-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--green-w); margin-bottom: 16px; }
.sec-row .ti { background: #fff; color: var(--green); } .sec-row b { display: block; font-size: 14px; color: var(--green); } .sec-row small { font-size: 12.5px; color: #3b7a5d; }
.pwf { display: flex; gap: 10px; align-items: flex-end; } .pwf .fld { flex: 1; margin: 0; }
@media (max-width: 600px) { .pwf { flex-direction: column; align-items: stretch; } }
.tgl { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-top: 1px solid #F3EFE7; cursor: pointer; }
.tgl:first-of-type { border-top: 0; } .tgl input { position: absolute; opacity: 0; pointer-events: none; }
.tgl .sw { width: 44px; height: 26px; flex-shrink: 0; border-radius: 999px; background: #DAD4C6; position: relative; transition: background .2s; margin-top: 2px; }
.tgl .sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s var(--ease); }
.tgl input:checked + .sw { background: var(--gold); } .tgl input:checked + .sw::after { transform: translateX(18px); }
.tgl input:focus-visible + .sw { outline: 2px solid var(--gold); outline-offset: 2px; }
.tgl b { display: block; font-size: 14px; } .tgl small { font-size: 12.5px; color: var(--mute); }

/* Modal */
.mdl { position: fixed; inset: 0; z-index: 80; background: rgba(14,13,17,.45); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 16px; opacity: 0; transition: opacity .2s; }
.mdl.in { opacity: 1; }
.mdl-card { width: 100%; max-width: 520px; max-height: 92vh; overflow-y: auto; background: #fff; border-radius: 22px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.6); transform: translateY(12px) scale(.98); transition: transform .3s var(--ease); }
.mdl-card.wide { max-width: 720px; }
.mdl.in .mdl-card { transform: none; }
.mdl-hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 24px 0; }
.mdl-hd h3 { font-family: var(--serif); font-size: 26px; font-weight: 600; line-height: 1.15; }
.mdl-x { width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; border: 0; background: #F3F0E8; font-size: 22px; cursor: pointer; }
.mdl-bd { padding: 16px 24px 24px; }
.mdl-act { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 18px; }
@media (max-width: 600px) { .mdl { align-items: end; padding: 0; } .mdl-card { border-radius: 22px 22px 0 0; max-height: 88vh; } .mdl-act .btn { flex: 1; } }
.payx { text-align: center; display: grid; gap: 12px; } .payx small { color: var(--mute); } .payx b { font-size: 40px; font-weight: 700; letter-spacing: -.02em; }

/* Invoice document */
.inv-doc { border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.inv-top { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.inv-brand { display: flex; align-items: center; gap: 8px; font-family: var(--mark); letter-spacing: .3em; font-weight: 600; } .inv-brand img { width: 26px; }
.inv-top small { display: block; font-size: 12.5px; color: var(--mute); }
.inv-meta { text-align: right; display: grid; justify-items: end; gap: 2px; } .inv-meta b { font-size: 18px; }
.inv-to { margin-bottom: 18px; } .inv-to small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); } .inv-to b { display: block; } .inv-to span { font-size: 13.5px; color: var(--ink-2); }
.inv-doc table { width: 100%; border-collapse: collapse; font-size: 14px; }
.inv-doc th, .inv-doc td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; } .inv-doc th:last-child, .inv-doc td:last-child { text-align: right; }
.inv-doc th { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); font-weight: 600; }
.inv-doc tfoot td { font-weight: 700; font-size: 16px; border-bottom: 0; padding-top: 14px; }
.inv-paid { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding: 10px 14px; border-radius: 12px; background: var(--green-w); color: var(--green); font-weight: 600; font-size: 14px; }
@media print {
  body.printing > *:not(.mdl) { display: none !important; }
  body.printing .mdl { position: static; background: none; backdrop-filter: none; padding: 0; }
  body.printing .mdl-card { box-shadow: none; max-height: none; transform: none; }
  body.printing .mdl-x, body.printing .mdl-act { display: none; }
}

/* Toasts + confetti */
.toasts { position: fixed; right: 18px; bottom: 18px; z-index: 120; display: grid; gap: 8px; }
.toast { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: var(--night-2); color: #fff; font-size: 14px; box-shadow: 0 20px 40px -18px rgba(0,0,0,.6); transform: translateY(14px); opacity: 0; transition: all .3s var(--ease); max-width: 380px; }
.toast.in { transform: none; opacity: 1; } .toast svg { color: var(--gold-2); flex-shrink: 0; } .toast.err svg { color: #FF8C7A; }
@media (max-width: 600px) { .toasts { left: 12px; right: 12px; bottom: 12px; } .toast { max-width: none; } }
.confetti { position: fixed; left: 50%; top: 55%; z-index: 130; pointer-events: none; }
.confetti i { position: absolute; width: 9px; height: 14px; border-radius: 2px; animation: conf 1.3s cubic-bezier(.2,.7,.4,1) var(--d) forwards; opacity: 0; }
@keyframes conf { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 100% { opacity: 0; transform: translate(var(--x), calc(var(--y) + 380px)) rotate(var(--r)); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
@media (max-width: 700px) {
  .files li .grow { flex-basis: calc(100% - 60px); }
  .files li .btn { margin-left: 56px; }
  .stats.three > :last-child { grid-column: span 2; }
}

/* ── Welcome from the founder ── */
.spin { display: inline-block; vertical-align: -3px; margin-right: 6px; }
.welcome { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; box-shadow: 0 1px 0 rgba(23,22,27,.02); }
.wl-hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wl-tg { background: none; border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 12px; font-size: 12.5px; color: var(--ink-2); cursor: pointer; }
.wl-bd { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 22px; margin-top: 16px; align-items: center; }
.wl-bd > :only-child { grid-column: 1 / -1; }
.welcome.min .wl-bd { display: none; }
.wl-vid { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--night); }
.wl-vid iframe, .wl-vid video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.wl-vid > .btn { position: absolute; inset: auto 50% 50% auto; transform: translate(50%, 50%); }
.wl-note p { font-family: var(--serif); font-size: 21px; line-height: 1.4; color: var(--ink); }
.wl-sig { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.wl-sig b { font-family: var(--mark); letter-spacing: .06em; font-size: 14px; } .wl-sig small { color: var(--mute); }
@media (max-width: 800px) { .wl-bd { grid-template-columns: 1fr; } .wl-note p { font-size: 19px; } }

/* ── Launch day ── */
.launch { position: relative; overflow: hidden; isolation: isolate; border-radius: 24px; padding: 34px 36px; color: #EDE8DD; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 32px;
  background: radial-gradient(800px 360px at 10% -10%, rgba(234,199,114,.45), transparent 60%), radial-gradient(600px 300px at 110% 120%, rgba(214,164,59,.3), transparent 60%), linear-gradient(120deg, #120F0A, #2A2113);
  box-shadow: 0 30px 60px -30px rgba(169,120,10,.6); border: 1px solid rgba(234,199,114,.35); }
.ln-glow { position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,240,200,.12) 48%, transparent 62%); animation: sheen 4.5s .6s ease-in-out infinite; }
.launch .eyebrow { color: var(--gold-2); }
.launch h2 { font-family: var(--serif); font-size: clamp(34px, 4.6vw, 54px); font-weight: 600; line-height: 1.02; color: #fff; margin: 8px 0 10px; }
.launch p { color: #D9D1BF; max-width: 560px; }
.ln-url { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(234,199,114,.4); color: var(--gold-2); font-weight: 600; word-break: break-all; }
.ln-act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.ln-kit { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ln-qr { width: 156px; height: 156px; background: #fff; border-radius: 14px; padding: 8px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.7); }
.ln-qr svg { width: 100%; height: 100%; display: block; }
.ln-kit small { color: #BDB5A3; }
.ln-kit .btn { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.2); }
.ln-list { grid-column: 1 / -1; border-top: 1px solid rgba(234,199,114,.22); padding-top: 18px; }
.ln-list b { color: #fff; font-size: 14px; }
.ln-list ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px; margin-top: 10px; }
.ln-list li { display: flex; gap: 8px; align-items: flex-start; color: #D9D1BF; font-size: 14px; } .ln-list li svg { color: var(--gold-2); flex: none; margin-top: 3px; }
@media (max-width: 760px) { .launch { grid-template-columns: 1fr; padding: 26px 22px; } .ln-kit { align-items: flex-start; } .ln-list ul { grid-template-columns: 1fr; } .ln-act .btn { flex: 1; } }

/* ── Welcome film (auto-personalized) ── */
.wl-film { position: relative; aspect-ratio: 16 / 9; width: 100%; border: 0; border-radius: 14px; overflow: hidden; cursor: pointer; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: radial-gradient(420px 220px at 50% 30%, rgba(214,164,59,.35), transparent 70%), linear-gradient(160deg, #1d1a14, #0E0D11); }
.wl-film img { width: 64px; filter: drop-shadow(0 10px 24px rgba(214,164,59,.4)); }
.wl-play { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, #EFCB78, #D6A43B); color: #17120A; margin: 8px 0 4px; box-shadow: 0 10px 30px -8px rgba(214,164,59,.7); transition: transform .25s var(--ease); }
.wl-film:hover .wl-play { transform: scale(1.08); }
.wl-film b { font-family: var(--serif); font-size: 22px; font-weight: 600; } .wl-film small { color: #BDB5A3; font-size: 12.5px; }
.film { position: fixed; inset: 0; z-index: 200; background: radial-gradient(900px 500px at 50% 40%, #241d10, #08070A 70%); color: #EDE8DD; opacity: 0; transition: opacity .5s; overflow: hidden; }
.film.on { opacity: 1; } .film.out { opacity: 0; }
.film-x { position: absolute; top: max(18px, env(safe-area-inset-top)); right: 18px; z-index: 3; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); color: #fff; border-radius: 999px; padding: 7px 16px; font-size: 13px; cursor: pointer; }
.film .sc { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; opacity: 0; }
.film.on .s1 { animation: scn 3.6s .2s var(--ease) forwards; }
.film.on .s2 { animation: scn 3.4s 3.8s var(--ease) forwards; }
.film.on .s3 { animation: scn 3.6s 7.2s var(--ease) forwards; }
.film.on .s4 { animation: scn 6s 10.8s var(--ease) forwards; }
.film.on .s5 { animation: scnEnd 3.8s 16.8s var(--ease) forwards; }
@keyframes scn { 0% { opacity: 0; transform: scale(.97); filter: blur(6px); } 18% { opacity: 1; transform: scale(1); filter: blur(0); } 82% { opacity: 1; transform: scale(1); filter: blur(0); } 100% { opacity: 0; transform: scale(1.02); filter: blur(4px); } }
@keyframes scnEnd { 0% { opacity: 0; filter: blur(6px); } 20% { opacity: 1; filter: blur(0); } 100% { opacity: 1; } }
.film .s1 img { width: min(180px, 40vw); filter: drop-shadow(0 20px 60px rgba(214,164,59,.55)); }
.film-mark { font-family: var(--mark); letter-spacing: .5em; font-size: 20px; color: var(--gold-2); margin-top: 22px; padding-left: .5em; }
.film small { font-size: 13px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-2); }
.film h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(56px, 11vw, 120px); line-height: 1; color: #fff; margin-top: 8px; }
.film h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 5.5vw, 60px); line-height: 1.08; color: #fff; margin-top: 14px; max-width: 900px; }
.film ol { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 28px; max-width: 980px; width: 100%; }
.film li { display: flex; flex-direction: column; align-items: center; gap: 6px; opacity: 0; }
.film.on .s4 li { animation: liIn .6s calc(11.4s + var(--i) * .55s) var(--ease) forwards; }
@keyframes liIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.film li i { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 600; color: #17120A; background: linear-gradient(180deg, #EFCB78, #D6A43B); }
.film li b { color: #fff; font-size: 17px; font-weight: 600; } .film li span { color: #BDB5A3; font-size: 14px; }
.film .s5 p { font-family: var(--serif); font-size: clamp(36px, 6vw, 68px); line-height: 1.08; color: #fff; } .film .s5 em { color: var(--gold-2); }
.film .s5 span { margin-top: 20px; font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: #BDB5A3; }
.film-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.08); }
.film-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #D6A43B, #F6E2AE); }
.film.on .film-bar i { animation: fbar 20.5s linear forwards; } @keyframes fbar { to { width: 100%; } }
@media (max-width: 700px) { .film ol { grid-template-columns: 1fr 1fr; gap: 22px 12px; } }

/* Demo bar */
.demo-bar { position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 150; display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 999px; background: #0E0D11; color: #fff; font-size: 13px; border: 1px solid rgba(214,164,59,.45); box-shadow: 0 18px 50px rgba(0,0,0,.35); max-width: calc(100% - 24px); }
.demo-bar b { color: var(--gold-2); font-weight: 600; }
.db-back { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); font-weight: 600; white-space: nowrap; }
.db-back:hover { background: rgba(255,255,255,.16); }
.db-note { white-space: nowrap; }
.db-go { padding: 9px 16px; border-radius: 999px; background: linear-gradient(180deg, #EFCB78, #D6A43B); color: #17120A; font-weight: 600; white-space: nowrap; }
body.has-demo-bar .toasts { bottom: 84px; }
body.has-demo-bar .main { padding-bottom: 96px; }
@media (max-width: 640px) { .db-note { display: none; } }
