
/* =========================================================
   SITE ELEGANCE: the finishing layer for every website page.
   A clean sans for display type, calmer surfaces, a split sign-in
   screen, and a hero picture that mirrors the real workspace.
   Tokens still come from the page theme, so every theme gets it.
   ========================================================= */

/* ---------- type: one clean sans family, with bolder weights for display ---------- */
:root,html[data-skin="aurora"],html[data-skin="meadow"],html[data-skin="rose"],html[data-skin="midnight"]{
  --font-display:"LND Infinity Tamil","Segoe UI Variable Display","Segoe UI Variable Text","SF Pro Display",-apple-system,"Segoe UI",Inter,"Nirmala UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --w-display:700; --ls-display:-.025em;
}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
::selection{background:var(--brand-t);color:var(--ink)}
*{scrollbar-width:thin;scrollbar-color:var(--faint) transparent}
.display{line-height:1.06}
.h1{line-height:1.03;font-size:clamp(40px,6.4vw,76px)}
.h2{font-size:clamp(30px,4.2vw,48px);line-height:1.08}
.lead{line-height:1.65}
.eyebrow{letter-spacing:.01em;font-weight:700}
.section-head.center .lead{max-width:56ch;margin-inline:auto}
.tile .big{font-weight:var(--w-display)}

/* ---------- hero picture: a miniature of the Studio workspace ---------- */
.mock{max-width:600px}
.mock-win{border-radius:calc(var(--r-l) + 4px)}
.mock-hdr{display:flex;align-items:center;gap:10px;height:42px;padding:0 14px;background:var(--surface);box-shadow:inset 0 -1px 0 var(--line-2)}
.mock-hdr .m-logo{flex:none;width:20px;height:20px;border-radius:6px;background:var(--g1)}
.mock-hdr em{font-style:normal;font-size:11.5px;font-weight:700;color:var(--ink)}
.m-pills{display:flex;gap:5px;margin-left:auto}
.m-pills u{display:block;width:34px;height:14px;border-radius:99px;background:var(--line-2)}
.m-pills u.add{width:42px;background:var(--btn-primary-bg)}
.mock-strip{display:flex;gap:6px;padding:9px 14px;background:var(--bg);box-shadow:inset 0 -1px 0 var(--line-2)}
.mock-strip u{display:inline-flex;align-items:center;gap:6px;height:22px;padding:0 10px 0 4px;border-radius:99px;background:var(--surface);box-shadow:var(--sh-1);font-size:10px;font-weight:700;text-decoration:none;color:var(--ink-2)}
.mock-strip u b{display:grid;place-items:center;width:15px;height:15px;border-radius:50%;background:var(--g3);font-size:8px;color:#fff}
.mock-strip u:nth-child(2) b{background:var(--g4)}.mock-strip u:nth-child(3) b{background:var(--g2)}
.mock-strip u.on{background:var(--ink);color:#fff}
.mock-strip u.on b{background:var(--g1)}
.mock-strip s{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--brand-ring);text-decoration:none;font-size:12px;color:var(--brand-d)}
.mock-body2{display:grid;grid-template-columns:128px minmax(0,1fr);min-height:278px}
.mock-body2 .mock-insp{box-shadow:inset -1px 0 0 var(--line-2);background:var(--surface)}
.mock-body2 .mock-main{background:var(--bg)}

/* ---------- sections ---------- */
.tile,.leg,.plan{transition:transform .3s var(--spring),box-shadow .25s}
.cta{border-radius:calc(var(--r-l) + 12px)}
.faq details{border-radius:var(--r-l)}
.footer{position:relative}
.footer::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.28),transparent)}
.footer .brand{font-size:20px}

/* ---------- sign in and sign up: a split screen ---------- */
.auth{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1fr);min-height:100vh;background:var(--bg)}
.auth-aside{position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:36px;padding:40px clamp(28px,4.2vw,68px) 44px;background:var(--auth-bg);color:#fff;overflow:hidden}
.auth-aside::before{content:"";position:absolute;inset:0;background:radial-gradient(rgba(255,255,255,.18) 1px,transparent 1.6px) 0 0/24px 24px;-webkit-mask-image:linear-gradient(160deg,#000,transparent 55%);mask-image:linear-gradient(160deg,#000,transparent 55%);pointer-events:none}
.auth-aside > *{position:relative}
.auth-aside .brand{color:#fff;font-size:20px}
.auth-pitch{max-width:470px}
.auth-kicker{display:inline-block;padding:6px 14px;border-radius:999px;background:rgba(255,255,255,.14);box-shadow:inset 0 0 0 1px rgba(255,255,255,.26);font-size:12.5px;font-weight:600;color:#fff}
.auth-pitch h2{margin-top:22px;font-size:clamp(34px,3.7vw,54px);line-height:1.05;color:#fff}
.auth-points{display:grid;gap:20px;margin-top:36px}
.auth-points li{display:flex;gap:14px;font-size:14.5px;line-height:1.55;color:rgba(255,255,255,.8)}
.auth-points i{flex:none;display:grid;place-items:center;width:26px;height:26px;margin-top:1px;border-radius:50%;background:rgba(255,255,255,.18);font-style:normal;font-size:12px;font-weight:800;color:#fff}
.auth-points b{display:block;margin-bottom:2px;font-size:15.5px;font-weight:700;color:#fff}
.auth-art{position:relative;height:150px}
.auth-art i{position:absolute;display:block;height:34px;border-radius:11px;box-shadow:0 14px 24px -12px rgba(0,0,0,.5),inset 0 1px 0 rgba(255,255,255,.4)}
.auth-art i:nth-child(1){left:0;bottom:0;width:200px;background:linear-gradient(135deg,#fff,#E8E6FF)}
.auth-art i:nth-child(2){left:36px;bottom:42px;width:150px;background:linear-gradient(135deg,#FFD75E,#FFC93C)}
.auth-art i:nth-child(3){left:110px;bottom:84px;width:110px;background:linear-gradient(135deg,#7DD3FC,#38BDF8)}
.auth-art i:nth-child(4){left:70px;bottom:126px;width:78px;background:linear-gradient(135deg,#FB7185,#F43F5E)}
@media (prefers-reduced-motion:no-preference){.auth-art i{animation:authFloat 6s ease-in-out infinite;will-change:transform}.auth-art i:nth-child(2){animation-delay:-1.5s}.auth-art i:nth-child(3){animation-delay:-3s}.auth-art i:nth-child(4){animation-delay:-4.5s}}
@keyframes authFloat{0%,100%{transform:translate3d(0,0,0)}50%{transform:translate3d(0,-6px,0)}}

.auth-main{align-items:center;background:var(--bg);padding:28px clamp(20px,4vw,56px) 44px}
.auth-top{width:min(460px,100%);justify-content:flex-end;gap:10px}
.auth-top-fill{flex:1}
.auth-brand-m{display:none}
.auth .auth-top .btn{background:var(--surface);color:var(--ink);box-shadow:var(--sh-btn)}
.auth .auth-top .btn:hover{background:var(--surface);box-shadow:var(--sh-btn-h)}
.auth .auth-top .tsw-btn{background:var(--surface);color:var(--ink);box-shadow:var(--sh-btn)}
.auth-card{width:min(460px,100%);padding:clamp(26px,4vw,40px);box-shadow:var(--sh-2)}
.auth-card h1{font-size:clamp(30px,3.6vw,38px)}
@media (max-width:899px){
  .auth{grid-template-columns:1fr}
  .auth-aside{display:none}
  .auth-brand-m{display:inline-flex}
  .auth-top{justify-content:flex-start}
}

/* ---------- admin and account touches ---------- */
.kpis{grid-template-columns:repeat(auto-fit,minmax(168px,1fr))}
.plans.two{padding-top:16px}
.page-hero .h1{max-width:24ch}

/* ---------- the studio tour on the landing page ---------- */
.showcase{position:relative;background:linear-gradient(180deg,var(--bg) 0,var(--surface) 38%,var(--bg) 100%)}
.sc{margin-top:8px}
.sc-tabs{display:grid;gap:10px;max-width:880px;margin:0 auto 34px}
.sc-tabs button{display:flex;align-items:center;gap:14px;padding:14px 18px;border:0;border-radius:var(--r-l);background:var(--surface);box-shadow:var(--sh-1);text-align:left;color:var(--ink);transition:box-shadow .25s,transform .3s var(--spring),background .2s}
.sc-tabs button i{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--brand-t);font-style:normal;font-weight:800;color:var(--brand-d);transition:background .2s,color .2s}
.sc-tabs button b{display:block;font-family:var(--font-display);font-size:18px;font-weight:var(--w-display)}
.sc-tabs button small{display:block;font-size:13px;color:var(--muted)}
.sc-tabs button:hover{box-shadow:var(--sh-2);transform:translateY(-2px)}
.sc-tabs button[aria-selected="true"]{background:var(--ink);color:#fff;box-shadow:var(--sh-3)}
.sc-tabs button[aria-selected="true"] small{color:rgba(255,255,255,.72)}
.sc-tabs button[aria-selected="true"] i{background:var(--btn-primary-bg);color:#fff}
html[data-skin="midnight"] .sc-tabs button[aria-selected="true"]{background:var(--btn-primary-bg)}
html[data-skin="brick"] .sc-tabs button[aria-selected="true"]{background:var(--brand-d)}
.sc-stage{max-width:1000px;margin:0 auto}
.sc-win{overflow:hidden;border-radius:calc(var(--r-l) + 6px);background:var(--surface);box-shadow:var(--sh-3)}
.sc-bar{display:flex;align-items:center;gap:6px;height:42px;padding:0 16px;background:var(--th-bg);box-shadow:inset 0 -1px 0 var(--line)}
.sc-bar i{width:11px;height:11px;border-radius:50%;background:var(--line)}
.sc-bar span{margin-left:14px;flex:1;max-width:300px;padding:4px 14px;border-radius:var(--r-pill);background:var(--surface);box-shadow:inset 0 0 0 1px var(--line);font-size:11.5px;color:var(--muted)}
.sc-hdr{display:flex;align-items:center;gap:12px;height:52px;padding:0 18px;background:var(--surface);box-shadow:inset 0 -1px 0 var(--line-2)}
.sc-hdr .m-logo{flex:none;width:24px;height:24px;border-radius:8px;background:var(--g1)}
.sc-hdr em{font-style:normal;font-size:13px;font-weight:700;color:var(--ink)}
.sc-hdr .m-pills{display:flex;gap:7px;margin:0 auto}
.sc-hdr .m-pills u{width:52px;height:18px;border-radius:99px;background:var(--line-2)}
.sc-hdr .m-pills u.add{width:62px;background:var(--btn-primary-bg)}
.sc-hdr .m-pills u.on{background:var(--brand-t);box-shadow:inset 0 0 0 1px var(--brand-ring)}
.sc-pane{min-height:372px}
.sc-pane.in{animation:scIn .45s var(--ease) both}
@keyframes scIn{from{opacity:0;transform:translateY(8px)}}
.sc-pane .mock-strip{padding:12px 20px}
.sc-pane .mock-strip u{height:28px;font-size:11.5px;padding:0 13px 0 5px}
.sc-pane .mock-strip u b{width:19px;height:19px;font-size:10px}
.sc-pane .mock-strip s{width:28px;height:28px}
.sc-split{display:grid;grid-template-columns:210px minmax(0,1fr);min-height:300px}
.sc-split .mock-insp{box-shadow:inset -1px 0 0 var(--line-2);padding:18px;gap:14px}
.sc-split .mock-main{padding:18px}
.sc-split .mock-hero{padding:26px 22px}
.sc-split .mock-hero strong{font-size:clamp(18px,2.4vw,26px)}
.sc-body{padding:26px;background:var(--bg);min-height:372px}
.sc-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.sc-kpis div{padding:14px 16px;border-radius:var(--r);background:var(--surface);box-shadow:var(--sh-1)}
.sc-kpis small{display:block;font-size:11.5px;color:var(--muted)}
.sc-kpis b{display:block;margin-top:4px;font-family:var(--font-display);font-size:20px;font-weight:var(--w-display);color:var(--ink)}
.sc-list{display:grid;gap:8px;margin-top:16px}
.sc-list > div{display:flex;align-items:center;gap:14px;padding:12px 16px;border-radius:var(--r);background:var(--surface);box-shadow:var(--sh-1)}
.sc-list .t{flex:none;display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:var(--amber-t);font-weight:800;font-size:13px;color:var(--amber-fg)}
.sc-list .t.g{background:var(--line-2);color:var(--muted)}
.sc-list .t.ok{background:var(--green-t);color:var(--green)}
.sc-list p{flex:1;min-width:0}
.sc-list b{display:block;font-size:13.5px;color:var(--ink)}
.sc-list small{display:block;font-size:12px;color:var(--muted)}
.sc-list em{flex:none;padding:3px 11px;border-radius:99px;background:var(--amber-t);font-style:normal;font-size:11.5px;font-weight:700;color:var(--amber-fg)}
.sc-list em.fix{background:var(--red-t);color:var(--red)}
.sc-list em.ok{background:var(--green-t);color:var(--green)}
.sc-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.sc-cards > div{display:flex;flex-direction:column;gap:6px;padding:20px 18px;border-radius:var(--r-l);background:var(--surface);box-shadow:var(--sh-2)}
.sc-cards span{width:40px;height:40px;margin-bottom:8px;border-radius:12px}
.sc-cards .ic1{background:var(--g2)}.sc-cards .ic2{background:var(--g3)}.sc-cards .ic3{background:var(--g5)}.sc-cards .ic4{background:var(--g4)}
.sc-cards b{font-family:var(--font-display);font-size:17px;font-weight:var(--w-display);color:var(--ink)}
.sc-cards small{flex:1;font-size:12.5px;line-height:1.5;color:var(--muted)}
.sc-cards u{display:inline-flex;align-items:center;justify-content:center;height:34px;margin-top:10px;border-radius:99px;background:var(--btn-primary-bg);font-size:12.5px;font-weight:700;text-decoration:none;color:#fff}
.sc-note{max-width:640px;margin:30px auto 0;text-align:center}
.sc-note h3{font-size:clamp(24px,3vw,32px)}
.sc-note p{margin-top:10px;color:var(--muted);line-height:1.65}
@media (min-width:900px){
  .sc-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:759px){
  .sc-split{grid-template-columns:1fr}
  .sc-split .mock-insp{display:none}
  .sc-kpis,.sc-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sc-body{padding:16px}
  .sc-hdr .m-pills{display:none}
  .sc-pane .mock-strip{overflow:hidden}
  .sc-pane .mock-strip u{white-space:nowrap}
  .mock-phone{right:8px}
}
@media (max-width:759px){
  .mock-body2{grid-template-columns:minmax(0,1fr);min-height:0}
  .mock-body2 .mock-insp{display:none}
  .mock-hdr em{white-space:nowrap}
  .mock-chip.c2{top:-30px}
}
/* ---------- the block library band ---------- */
.blocks-band{padding-top:clamp(40px,6vw,72px)}
.bk-cloud{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;max-width:940px;margin:0 auto}
.bk{display:inline-flex;align-items:center;gap:10px;height:46px;padding:0 20px 0 8px;border-radius:999px;background:var(--surface);box-shadow:var(--sh-1);font-weight:600;font-size:14.5px;color:var(--ink);transition:transform .3s var(--spring),box-shadow .2s}
.bk:hover{transform:translateY(-3px);box-shadow:var(--sh-2)}
.bk i{width:30px;height:30px;border-radius:50%;background:var(--g1)}
.bk2 i{background:var(--g2)}.bk3 i{background:var(--g3)}.bk4 i{background:var(--g4)}.bk5 i{background:var(--g5)}
.bk-more{padding:0 22px;background:var(--brand-t);color:var(--brand-d);box-shadow:inset 0 0 0 1px var(--brand-ring)}

/* ---------- small screens: let grids shrink, and keep the comparison table on screen ---------- */
@media (max-width:899px){
  .hero-grid{grid-template-columns:minmax(0,1fr)}
  .hero-copy,.hero-art,.mock{min-width:0}
}
@media (max-width:640px){
  .compare{overflow-x:visible}
  .compare table{min-width:0;table-layout:auto;font-size:14px}
  .compare th,.compare td{padding:15px 12px}
  .compare th:first-child,.compare td:first-child{width:auto;padding-left:16px}
  .compare th:last-child,.compare td:last-child{padding-right:16px}
  .compare thead th{font-size:11px;letter-spacing:.04em}
}
/* ---------- translated text: long words wrap instead of pushing the page wider ---------- */
.auth-top{flex-wrap:wrap}
.compare th,.compare td{overflow-wrap:anywhere;hyphens:auto}
@media (max-width:640px){.compare table{table-layout:fixed}}
:where(.tile,.plan,.card,.kpi,.leg,.faq,.sc,.bk,.values,.auth-card,.modal) :where(h1,h2,h3,p,b,span,li,summary,small,label){overflow-wrap:break-word}
.btn{max-width:100%;white-space:normal;text-align:center}

html[lang="ta"] :is(h1,h2,h3,.display){line-height:1.25}
html[lang="ta"] .btn{line-height:1.35}

/* ---------- lighter motion on the website: entrances stay, endless drifting and floating go ---------- */
html.motion .hero::before,html.motion .hero::after{animation:none;will-change:auto}
html.motion .mock-win{animation:popIn .9s .2s cubic-bezier(.22,1,.36,1) backwards}
html.motion .mock-chip.c1{animation:popIn .7s .8s cubic-bezier(.22,1,.36,1) backwards}
html.motion .mock-chip.c2{animation:popIn .7s 1s cubic-bezier(.22,1,.36,1) backwards}
html.motion .mock-phone{animation:slideUp .9s .6s cubic-bezier(.22,1,.36,1) backwards}
html.motion .mock-win,html.motion .mock-chip,html.motion .mock-phone{will-change:auto;backface-visibility:visible}
html.motion .mock-win,html.motion .mock-phone{transform:none}
@media (prefers-reduced-motion:no-preference){.auth-art i{animation:none;will-change:auto}}
.footer{content-visibility:auto;contain-intrinsic-size:auto 320px}

/* ---------- studio tour: icons ---------- */
.sc-tabs button i svg,.sc-list .t svg,.sc-cards span svg,.sc-cards u svg{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.sc-tabs button i svg{width:18px;height:18px}
.sc-list .t svg{width:16px;height:16px}
.sc-cards span{display:grid;place-items:center;color:#fff;transition:transform .3s var(--spring)}
.sc-cards span svg{width:22px;height:22px}
.sc-cards > div:hover span{transform:rotate(-8deg) scale(1.1)}
.sc-cards u svg{width:14px;height:14px;margin-right:6px}

/* ---------- studio tour: motion that explains ---------- */
.sc-tabs button{position:relative;overflow:hidden}
.sc-tabs button::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:rgba(255,255,255,.7);transform:scaleX(0);transform-origin:left center}
@media (prefers-reduced-motion:no-preference){
  @keyframes scBar{to{transform:scaleX(1)}}
  @keyframes icoPop{from{opacity:0;transform:scale(.4) rotate(-20deg)}}
  @keyframes tickDraw{to{stroke-dashoffset:0}}
  @keyframes stackLoop{0%{transform:scaleX(0);opacity:0}6%{opacity:1}20%,84%{transform:scaleX(1);opacity:1}96%,100%{transform:scaleX(1);opacity:0}}
  .sc[data-auto] .sc-tabs button[aria-selected="true"]::after{animation:scBar var(--sc-dur,6.5s) linear forwards}
  .sc-pane.in .sc-list > div{animation:scIn .45s var(--ease) both}
  .sc-pane.in .sc-list > div:nth-child(2){animation-delay:.08s}.sc-pane.in .sc-list > div:nth-child(3){animation-delay:.16s}.sc-pane.in .sc-list > div:nth-child(4){animation-delay:.24s}
  .sc-pane.in .sc-kpis > div{animation:scIn .45s var(--ease) both}
  .sc-pane.in .sc-kpis > div:nth-child(2){animation-delay:.06s}.sc-pane.in .sc-kpis > div:nth-child(3){animation-delay:.12s}.sc-pane.in .sc-kpis > div:nth-child(4){animation-delay:.18s}
  .sc-pane.in .sc-cards > div{animation:scIn .5s var(--ease) both}
  .sc-pane.in .sc-cards > div:nth-child(2){animation-delay:.08s}.sc-pane.in .sc-cards > div:nth-child(3){animation-delay:.16s}.sc-pane.in .sc-cards > div:nth-child(4){animation-delay:.24s}
  .sc-pane.in .sc-cards span{animation:icoPop .55s cubic-bezier(.34,1.56,.64,1) .25s both}
  .sc-pane.in .sc-list .t.ok svg path{stroke-dasharray:20;stroke-dashoffset:20;animation:tickDraw .5s ease .8s forwards}
  /* the hero picture keeps stacking its blocks, and rests when it is off screen */
  html.motion .hero .mock-cards i{animation:stackLoop 9s cubic-bezier(.22,1,.36,1) infinite backwards}
  html.hero-off .hero .mock-cards i{animation-play-state:paused}
}

/* block chips: icons */
.bk i{display:grid;place-items:center;flex:none;color:#fff}
.bk i svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .3s var(--spring)}
.bk:hover i svg{transform:scale(1.18) rotate(-8deg)}

/* ---------- studio tour: each tab acts out its job ---------- */
.sc-body{position:relative}
.sc-toast{position:absolute;right:18px;bottom:16px;display:inline-flex;align-items:center;gap:8px;padding:9px 16px 9px 12px;border-radius:99px;background:var(--ink);color:#fff;font-size:12.5px;font-weight:700;box-shadow:var(--sh-3);opacity:0;pointer-events:none}
.sc-toast svg{width:15px;height:15px;fill:none;stroke:#6EE7B7;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.sc-cards u{position:relative;overflow:hidden}
.mock-main::after{content:"+ Add a block";display:grid;place-items:center;height:42px;margin-top:9px;border-radius:12px;box-shadow:inset 0 0 0 2px var(--brand-ring);color:var(--brand-d);font-size:12.5px;font-weight:700;opacity:0}
.sc-list{position:relative}
@media (prefers-reduced-motion:no-preference){
  @keyframes addIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
  @keyframes dropIn{from{opacity:0;transform:translateY(-18px) scale(.96)}to{opacity:1;transform:none}}
  @keyframes typeIn{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
  @keyframes addPulse{0%,100%{box-shadow:inset 0 0 0 2px var(--brand-ring)}50%{box-shadow:inset 0 0 0 2px var(--brand)}}
  @keyframes toastUp{from{opacity:0;transform:translateY(14px) scale(.94)}to{opacity:1;transform:none}}
  /* Build: the panel fills in, the banner types its title, blocks drop into place, then an add slot invites the next one */
  .sc-pane.in[data-sc-pane="build"] .mock-insp > *{transform-origin:left center;animation:grow .55s cubic-bezier(.22,1,.36,1) both}
  .sc-pane.in[data-sc-pane="build"] .mock-insp > :nth-child(2){animation-delay:.07s}.sc-pane.in[data-sc-pane="build"] .mock-insp > :nth-child(3){animation-delay:.14s}.sc-pane.in[data-sc-pane="build"] .mock-insp > :nth-child(4){animation-delay:.21s}.sc-pane.in[data-sc-pane="build"] .mock-insp > :nth-child(5){animation-delay:.28s}.sc-pane.in[data-sc-pane="build"] .mock-insp > :nth-child(6){animation-delay:.35s}
  .sc-pane.in[data-sc-pane="build"] .mock-hero{animation:scIn .5s .15s both}
  .sc-pane.in[data-sc-pane="build"] .mock-hero strong{display:inline-block;animation:typeIn .9s .35s steps(20,end) both}
  .sc-pane.in[data-sc-pane="build"] .mock-cards > div{animation:dropIn .5s cubic-bezier(.34,1.4,.64,1) both}
  .sc-pane.in[data-sc-pane="build"] .mock-main .mock-cards:nth-child(2) > div:nth-child(1){animation-delay:.9s;--d:.9s}
  .sc-pane.in[data-sc-pane="build"] .mock-main .mock-cards:nth-child(2) > div:nth-child(2){animation-delay:1.05s;--d:1.05s}
  .sc-pane.in[data-sc-pane="build"] .mock-main .mock-cards:nth-child(3) > div:nth-child(1){animation-delay:1.2s;--d:1.2s}
  .sc-pane.in[data-sc-pane="build"] .mock-main .mock-cards:nth-child(3) > div:nth-child(2){animation-delay:1.35s;--d:1.35s}
  .sc-pane.in[data-sc-pane="build"] .mock-cards i{transform-origin:left center;animation:grow .55s cubic-bezier(.22,1,.36,1) both;animation-delay:calc(var(--d,.9s) + .25s)}
  .sc-pane.in[data-sc-pane="build"] .mock-main::after{animation:addIn .5s 1.8s both,addPulse 2.4s 2.4s ease-in-out infinite}
  /* Check: a scan sweeps the list, then findings settle and the passed row confirms */
  /* Publish: each package "prepares" in turn, then a confirmation slides up */
}
@media (prefers-reduced-motion:reduce){.sc-toast{opacity:1}.mock-main::after{opacity:1}}

/* ---------- Check and Publish, version 2: a run you can watch ---------- */
.sc-run{display:flex;align-items:center;gap:16px;padding:12px 16px;border-radius:var(--r-l);background:var(--surface);box-shadow:var(--sh-1);margin-bottom:14px}
.sc-run-t{position:relative;flex:1;min-width:0;display:flex;align-items:center;gap:10px;height:22px;font-size:13.5px;font-weight:700;color:var(--ink)}
.sc-run-t .ra,.sc-run-t .rb{position:absolute;left:30px;right:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sc-run-t .rb{opacity:0;color:var(--green)}
.sc-spin,.sc-done{flex:none;width:20px;height:20px}
.sc-spin{border-radius:50%;box-shadow:inset 0 0 0 2.5px var(--brand-t);border-top:2.5px solid var(--brand)}
.sc-done{position:absolute;left:0;opacity:0;fill:none;stroke:var(--green);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.sc-run-bar{flex:0 0 38%;height:8px;border-radius:99px;background:var(--line-2);overflow:hidden}
.sc-run-bar u{display:block;height:100%;border-radius:99px;background:var(--btn-primary-bg);transform:scaleX(0);transform-origin:left center}
.sc-cards em.st{position:relative;display:block;height:20px;font-style:normal;font-size:12px;font-weight:700}
.sc-cards em.st .ra,.sc-cards em.st .rb{position:absolute;left:0;top:0;display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.sc-cards em.st .ra{color:var(--muted)}
.sc-cards em.st .rb{opacity:0;color:var(--green)}
.sc-cards em.st .rb::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--green)}
@media (prefers-reduced-motion:no-preference){
  @keyframes spin2{to{transform:rotate(360deg)}}
  @keyframes barRun{to{transform:scaleX(1)}}
  @keyframes fadeOut{to{opacity:0}}
  @keyframes fadeIn{to{opacity:1}}
  @keyframes rowIn{from{opacity:0;transform:translateX(-14px)}to{opacity:1;transform:none}}
  @keyframes rowFlash{0%{box-shadow:var(--sh-1)}35%{box-shadow:0 0 0 2px color-mix(in srgb,var(--brand) 55%,transparent)}100%{box-shadow:var(--sh-1)}}
  @keyframes btnOn{from{opacity:.4;filter:saturate(.3)}to{opacity:1;filter:none}}
  @keyframes btnPing{0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--brand) 50%,transparent)}100%{box-shadow:0 0 0 10px transparent}}
  @keyframes scanRun{0%{top:0;opacity:0}8%{opacity:1}92%{opacity:1}100%{top:calc(100% - 46px);opacity:0}}
  /* shared: the running header */
  .sc-pane.in .sc-spin{animation:spin2 .8s linear infinite,fadeOut .2s 1.65s forwards}
  .sc-pane.in .sc-done{animation:fadeIn .3s 1.65s forwards}
  .sc-pane.in .sc-run-t .ra{animation:fadeOut .2s 1.65s forwards}
  .sc-pane.in .sc-run-t .rb{animation:fadeIn .3s 1.7s forwards}
  .sc-pane.in .sc-run-bar u{animation:barRun 1.6s cubic-bezier(.45,.05,.3,1) forwards}
  /* Check: findings appear one by one as the scan passes, and the summary ticks up with them */
  .sc-pane.in[data-sc-pane="check"] .sc-list::after{display:none}
  .sc-pane.in[data-sc-pane="check"] .sc-list > div{animation:rowIn .45s cubic-bezier(.22,1,.36,1) both,rowFlash .9s ease 1 both}
  .sc-pane.in[data-sc-pane="check"] .sc-list > div:nth-child(1){animation-delay:.3s,.3s}
  .sc-pane.in[data-sc-pane="check"] .sc-list > div:nth-child(2){animation-delay:.6s,.6s}
  .sc-pane.in[data-sc-pane="check"] .sc-list > div:nth-child(3){animation-delay:.9s,.9s}
  .sc-pane.in[data-sc-pane="check"] .sc-list > div:nth-child(4){animation-delay:1.2s,1.2s}
  .sc-pane.in[data-sc-pane="check"] .sc-list em{animation:popIn .4s cubic-bezier(.34,1.56,.64,1) both}
  .sc-pane.in[data-sc-pane="check"] .sc-list > div:nth-child(1) em{animation-delay:.5s}
  .sc-pane.in[data-sc-pane="check"] .sc-list > div:nth-child(2) em{animation-delay:.8s}
  .sc-pane.in[data-sc-pane="check"] .sc-list > div:nth-child(3) em{animation-delay:1.1s}
  .sc-pane.in[data-sc-pane="check"] .sc-list > div:nth-child(4) em{animation-delay:1.4s}
  /* Publish: four files are prepared in turn; each flips to Ready and its button wakes up */
  .sc-pane.in[data-sc-pane="publish"] .sc-cards u{animation:btnOn .4s both}
  .sc-pane.in[data-sc-pane="publish"] .sc-cards > div:nth-child(1) u{animation-delay:.6s,.6s}
  .sc-pane.in[data-sc-pane="publish"] .sc-cards > div:nth-child(2) u{animation-delay:.95s,.95s}
  .sc-pane.in[data-sc-pane="publish"] .sc-cards > div:nth-child(3) u{animation-delay:1.3s,1.3s}
  .sc-pane.in[data-sc-pane="publish"] .sc-cards > div:nth-child(4) u{animation-delay:1.65s,1.65s}
  .sc-pane.in[data-sc-pane="publish"] .sc-cards em.st .ra{animation:fadeOut .2s forwards}
  .sc-pane.in[data-sc-pane="publish"] .sc-cards em.st .rb{animation:fadeIn .3s forwards}
  .sc-pane.in[data-sc-pane="publish"] .sc-cards > div:nth-child(1) em.st .ra{animation-delay:.6s}.sc-pane.in[data-sc-pane="publish"] .sc-cards > div:nth-child(1) em.st .rb{animation-delay:.65s}
  .sc-pane.in[data-sc-pane="publish"] .sc-cards > div:nth-child(2) em.st .ra{animation-delay:.95s}.sc-pane.in[data-sc-pane="publish"] .sc-cards > div:nth-child(2) em.st .rb{animation-delay:1s}
  .sc-pane.in[data-sc-pane="publish"] .sc-cards > div:nth-child(3) em.st .ra{animation-delay:1.3s}.sc-pane.in[data-sc-pane="publish"] .sc-cards > div:nth-child(3) em.st .rb{animation-delay:1.35s}
  .sc-pane.in[data-sc-pane="publish"] .sc-cards > div:nth-child(4) em.st .ra{animation-delay:1.65s}.sc-pane.in[data-sc-pane="publish"] .sc-cards > div:nth-child(4) em.st .rb{animation-delay:1.7s}
  .sc-pane.in[data-sc-pane="publish"] .sc-toast{animation:toastUp .45s 2s cubic-bezier(.34,1.56,.64,1) both}
}
@media (prefers-reduced-motion:reduce){.sc-run-t .ra{display:none}.sc-run-t .rb,.sc-done,.sc-cards em.st .rb{opacity:1}.sc-spin,.sc-cards em.st .ra{display:none}.sc-run-bar u{transform:none}}
.sc-list{position:relative}
.sc-list::after{content:"";position:absolute;left:0;right:0;top:0;height:46px;border-radius:12px;background:linear-gradient(180deg,transparent,color-mix(in srgb,var(--brand) 16%,transparent),transparent);opacity:0;pointer-events:none}
.sc-cards u{position:relative;overflow:hidden}
.sc-toast{bottom:8px}

.sc-pane[data-sc-pane="publish"] .sc-cards{margin-bottom:58px}
.sc-toast{bottom:14px}

/* All three tabs share one window height: the panes sit on top of each other, so the window is as tall as the tallest */
.sc-win{display:grid;grid-template-columns:minmax(0,1fr);align-content:start}
.sc-win > .sc-pane{grid-row:3;grid-column:1;min-width:0}
.sc-win > .sc-pane[hidden]{display:block !important;visibility:hidden;pointer-events:none}
.sc-pane[data-sc-pane="build"] .sc-split{min-height:100%}

/* every tab fills the whole window, in the same tint, so nothing looks cut off at the bottom */
.sc-win > .sc-pane{align-self:stretch;background:var(--bg)}
.sc-win > .sc-pane > .sc-body{height:100%;box-sizing:border-box}
.sc-pane[data-sc-pane="build"]{display:flex;flex-direction:column}
.sc-pane[data-sc-pane="build"] .sc-split{flex:1;min-height:0}
.sc-pane[data-sc-pane="build"] .mock-insp{background:var(--surface)}

/* LND logo (the mark) in place of the old brick icon */
.brand img.logo { width: auto; height: 27px; display: block; filter: var(--mkf, none); }
.topbar .brand img.logo { height: 23px; }
.footer .brand img.logo, .auth-top .brand img.logo, .rail .brand img.logo { --mkf: brightness(1.55) saturate(1.2); }
[data-skin="midnight"] .brand img.logo { --mkf: brightness(1.55) saturate(1.2); }
