/* Client area: dark hero, white sheet, one accent. Quiet and expensive-looking. */
body.client { position:relative; --ink:#0e0f11; --paper:#f4f3ef; --line:#e7e5de; --mute:#6b6d73; --gold:#e9b44c; --ok:#2f9e63; margin:0; min-height:100svh; display:flex; flex-direction:column; background:var(--paper); color:var(--ink); font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif; -webkit-font-smoothing:antialiased; }
.sr { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }

/* bar */
.cl-bar { background:transparent; position:absolute; top:0; left:0; right:0; z-index:5; }
.cl-bar-in { max-width:1120px; margin:0 auto; padding:0 28px; height:68px; display:flex; align-items:center; justify-content:space-between; box-sizing:border-box; }
.cl-mark img { height:22px; width:auto; display:block; }
.cl-nav { display:flex; align-items:center; gap:30px; }
.cl-nav a, .cl-out { color:#aeb1b8; font-size:.875rem; font-weight:500; text-decoration:none; background:none; border:0; padding:0; cursor:pointer; font-family:inherit; transition:color .15s; }
.cl-nav a:hover, .cl-out:hover, .cl-nav a[aria-current] { color:#fff; }
.cl-nav form { margin:0; }
.cl-chk { position:absolute; right:20px; top:12px; width:44px; height:44px; opacity:0; margin:0; cursor:pointer; z-index:3; display:none; }
.cl-burger { display:none; position:relative; width:44px; height:44px; cursor:pointer; }
.cl-burger::before, .cl-burger::after { content:""; position:absolute; left:11px; right:11px; height:2px; border-radius:2px; background:#fff; transition:transform .2s, top .2s; }
.cl-burger::before { top:17px; } .cl-burger::after { top:25px; }
.cl-chk:checked + .cl-burger::before { top:21px; transform:rotate(45deg); }
.cl-chk:checked + .cl-burger::after { top:21px; transform:rotate(-45deg); }

/* hero */
.cl-main { flex:1; }
.cl-hero { background:#0e0f11 radial-gradient(900px 520px at 85% -5%, #262a31 0%, rgba(14,15,17,0) 70%); color:#fff; padding:104px 0 104px; }
.cl-hero-s { padding-bottom:96px; }
.cl-hero-in { max-width:1120px; margin:0 auto; padding:0 28px; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:48px; align-items:center; box-sizing:border-box; }
.cl-eyebrow { margin:0 0 14px; font-size:.75rem; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--gold); }
.cl-hero h1 { margin:0; font-size:clamp(2.25rem, 1.4rem + 3.4vw, 3.75rem); font-weight:650; letter-spacing:-.045em; line-height:1.02; }
.cl-figs { display:flex; gap:44px; margin:40px 0 0; padding:26px 0 0; border-top:1px solid rgba(255,255,255,.12); }
.cl-figs div { margin:0; }
.cl-figs dt { font-size:.6875rem; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:#8b8f97; }
.cl-figs dd { margin:8px 0 0; font-size:2.25rem; font-weight:500; letter-spacing:-.04em; line-height:1; font-variant-numeric:tabular-nums; }
.cl-figs dd.st { font-size:1.125rem; font-weight:600; letter-spacing:0; padding-top:10px; display:flex; align-items:center; gap:9px; }
.cl-figs dd.st::before { content:""; width:8px; height:8px; border-radius:50%; background:var(--ok); box-shadow:0 0 0 4px rgba(47,158,99,.2); }
.cl-figs dd.st.off::before { background:var(--gold); box-shadow:0 0 0 4px rgba(233,180,76,.2); }

/* the QR code */
.cl-qr { width:216px; padding:14px; border-radius:22px; background:#fff; box-shadow:0 40px 70px -26px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.06); box-sizing:border-box; }
.cl-qr svg { display:block; width:100%; height:auto; }

/* sheet */
.cl-sheet-wrap { max-width:1120px; margin:-72px auto 0; padding:0 28px 56px; box-sizing:border-box; position:relative; }
.cl-sheet { background:#fff; border:1px solid var(--line); border-radius:22px; padding:36px 40px; box-shadow:0 30px 60px -36px rgba(14,15,17,.28); margin-bottom:18px; }
.cl-sheet-head { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; padding-bottom:22px; margin-bottom:26px; border-bottom:1px solid var(--line); }
.cl-sheet-head h2 { margin:0; font-size:1.375rem; font-weight:650; letter-spacing:-.025em; }
.cl-sheet-head p { margin:4px 0 0; font-size:.875rem; color:var(--mute); }
.cl-state { font-size:.8125rem; font-weight:600; display:inline-flex; align-items:center; gap:8px; }
.cl-state::before { content:""; width:7px; height:7px; border-radius:50%; background:var(--ok); }
.cl-state.off { color:#9a6a0b; } .cl-state.off::before { background:var(--gold); }
.cl-label { margin:0 0 14px; font-size:.6875rem; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--mute); }
.cl-current { display:flex; align-items:center; justify-content:space-between; gap:20px; margin:0 0 20px; font-size:1.0625rem; letter-spacing:-.01em; min-width:0; }
.cl-current a:first-child { color:var(--ink); text-decoration:none; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; min-width:0; }
.cl-open { flex:none; font-size:.875rem; font-weight:600; color:var(--ink); text-decoration:none; border-bottom:1.5px solid var(--ink); padding-bottom:1px; }
.cl-warn { margin:0 0 20px; color:#9a6a0b; font-size:1rem; }
.cl-form { display:flex; gap:12px; }
.cl-form input { flex:1; min-width:0; height:54px; padding:0 18px; border:1px solid #d9d7cf; border-radius:14px; background:#fbfaf8; font:inherit; font-size:1rem; color:var(--ink); transition:border-color .15s, box-shadow .15s, background .15s; }
.cl-form input:focus { outline:0; background:#fff; border-color:var(--ink); box-shadow:0 0 0 4px rgba(14,15,17,.07); }
.cl-btn { height:54px; padding:0 34px; border:0; border-radius:999px; background:var(--ink); color:#fff; font:inherit; font-weight:600; font-size:1rem; cursor:pointer; transition:background .15s, transform .15s; }
.cl-btn:hover { background:#2a2c31; } .cl-btn:active { transform:scale(.98); }
.cl-more { margin:18px 0 0; font-size:.875rem; color:var(--mute); }
.cl-more a { color:var(--ink); text-underline-offset:3px; }

/* help steps */
.cl-steps ol { list-style:none; margin:0; padding:0; counter-reset:s; }
.cl-steps li { counter-increment:s; display:grid; grid-template-columns:44px 1fr; column-gap:18px; padding:22px 0; border-bottom:1px solid var(--line); }
.cl-steps li:first-child { padding-top:0; }
.cl-steps li::before { content:counter(s); grid-row:span 2; width:34px; height:34px; border-radius:50%; background:var(--ink); color:#fff; display:grid; place-items:center; font-size:.875rem; font-weight:600; }
.cl-steps h3 { margin:0; font-size:1.0625rem; font-weight:650; letter-spacing:-.015em; }
.cl-steps p { margin:4px 0 0; color:var(--mute); line-height:1.5; }
.cl-steps .cl-more { margin-top:22px; }

/* flash, empty, cards list (links view) */
.cl-sheet .flash { background:#f4f8f5; border:0; border-left:3px solid var(--ok); border-radius:10px; padding:11px 16px; margin:0 0 24px; font-size:.9375rem; }
.cl-sheet .flash-error { background:#fbf3f1; border-left-color:#c2412d; }
.cl-sheet .empty { margin:0; color:var(--mute); }
.cl-sheet .empty a { color:var(--ink); }

.cl-foot { padding:8px 28px 32px; text-align:center; font-size:.8125rem; color:var(--mute); }
.cl-foot p { margin:0; } .cl-foot a { color:var(--ink); text-underline-offset:3px; }

@media (max-width:760px) {
  .cl-bar-in { padding:0 20px; height:60px; }
  .cl-chk, .cl-burger { display:block; }
  .cl-nav { display:none; position:absolute; left:0; right:0; top:60px; flex-direction:column; align-items:stretch; gap:0; background:#14161a; padding:6px 20px 16px; border-top:1px solid rgba(255,255,255,.08); border-radius:0 0 18px 18px; box-shadow:0 24px 40px -20px rgba(0,0,0,.6); }
  .cl-chk:checked ~ .cl-nav { display:flex; }
  .cl-nav a, .cl-out { padding:14px 0; font-size:1rem; text-align:left; border-bottom:1px solid rgba(255,255,255,.07); }
  .cl-nav form { display:block; } .cl-out { width:100%; border-bottom:0; }
  .cl-hero { padding:92px 0 96px; }
  .cl-hero-in { grid-template-columns:1fr; gap:28px; padding:0 20px; }
  .cl-figs { gap:30px; margin-top:44px; }
  .cl-figs dd { font-size:1.875rem; }
  .cl-hero-in { position:relative; }
  .cl-qr { position:absolute; top:0; right:20px; width:104px; padding:8px; border-radius:14px; }
  .cl-hero-text { padding-right:0; }
  .cl-eyebrow, .cl-hero h1 { max-width:calc(100% - 124px); }
  .cl-hero h1 { font-size:clamp(1.75rem, 8vw, 2.25rem); }
  .cl-sheet-wrap { padding:0 16px 40px; margin-top:-60px; }
  .cl-sheet { padding:24px 20px; border-radius:18px; }
  .cl-form { flex-direction:column; } .cl-form input { flex:none; width:100%; } .cl-btn { width:100%; }
}
@keyframes clup { from { opacity:0; transform:translateY(16px); } }
.cl-sheet .linkbtn, .cl-sheet .linkbtn:hover { color:var(--ink); text-decoration:underline; text-underline-offset:3px; font-weight:500; }
.cl-sheet .filter input, .cl-sheet input[type=search] { background:#fbfaf8; border:1px solid #d9d7cf; border-radius:12px; }

/* motion */
.cl-progress { position:fixed; left:0; top:0; height:2px; width:0; background:var(--gold); z-index:50; opacity:0; pointer-events:none; }
.cl-progress.run { opacity:1; width:88%; transition:width 6s cubic-bezier(.1,.6,.2,1); }
.cl-btn { position:relative; }
.cl-btn.busy { color:transparent; pointer-events:none; }
.cl-btn.busy::after { content:""; position:absolute; left:50%; top:50%; width:20px; height:20px; margin:-10px 0 0 -10px; border:2px solid rgba(255,255,255,.35); border-top-color:#fff; border-radius:50%; animation:clspin .7s linear infinite; }
@keyframes clspin { to { transform:rotate(360deg); } }
@media (prefers-reduced-motion:no-preference) {
  .cl-eyebrow, .cl-hero h1, .cl-figs, .cl-hero-s .cl-hero-text { animation:clfade .7s cubic-bezier(.2,.7,.2,1) both; }
  .cl-hero h1 { animation-delay:.06s; }
  .cl-figs { animation-delay:.16s; }
  .cl-figs > div { animation:clfade .7s cubic-bezier(.2,.7,.2,1) both; }
  .cl-figs > div:nth-child(1) { animation-delay:.22s; } .cl-figs > div:nth-child(2) { animation-delay:.3s; } .cl-figs > div:nth-child(3) { animation-delay:.38s; }
  .cl-qr { animation:clup .9s cubic-bezier(.2,.7,.2,1) .2s both; }
  .cl-sheet { animation:clrise .8s cubic-bezier(.2,.7,.2,1) .25s both; }
  .cl-sheet:nth-of-type(2) { animation-delay:.35s; } .cl-sheet:nth-of-type(3) { animation-delay:.45s; }
  .cl-steps li { animation:clfade .6s cubic-bezier(.2,.7,.2,1) both; }
  .cl-steps li:nth-child(1) { animation-delay:.35s; } .cl-steps li:nth-child(2) { animation-delay:.43s; } .cl-steps li:nth-child(3) { animation-delay:.51s; } .cl-steps li:nth-child(4) { animation-delay:.59s; }
  .cl-figs dd.st.on::before { animation:clpulse 2.4s ease-out 1s infinite; }
  .cl-bar { animation:clfade .5s ease both; }
  @keyframes clfade { from { opacity:0; transform:translateY(10px); } }
  @keyframes clrise { from { opacity:0; transform:translateY(24px); } }
  @keyframes clfloat { 0%,100% { transform:rotate(3deg) translateY(0); } 50% { transform:rotate(2deg) translateY(-8px); } }
  @keyframes clpulse { 0% { box-shadow:0 0 0 0 rgba(47,158,99,.55); } 70%,100% { box-shadow:0 0 0 9px rgba(47,158,99,0); } }
}
