/* Public SaaS composition. Product screens and protected brand assets stay canonical. */
.home-page .hero{min-height:720px;background:#eef1f4;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);padding-top:88px;padding-bottom:88px;gap:56px}
.home-page .hero:before{width:900px;height:900px;right:-340px;top:-240px;opacity:.6}
.home-page .hero h1{font-size:clamp(48px,4.6vw,70px);line-height:1.12;letter-spacing:-.055em}
.home-page .hero h1 em{color:#1969d2}
.home-page .hero-copy{max-width:600px}
.home-page .hero-lead{font-size:16px;line-height:1.85;max-width:480px}
.hero-promise{font-size:12px;color:#354855;line-height:1.8;margin-top:28px;font-weight:650}
.home-page .hero-trial-note{margin-top:8px;font-size:11px}
.home-page .device-scene{transform:perspective(1400px) rotateY(-7deg) rotateX(3deg);box-shadow:24px 40px 80px #20292e28;border-radius:12px}
.home-page .hero-product{position:relative}
.home-page .scene-callout{bottom:-8px;right:16px;border-radius:8px;border:1px solid #d4dce3;box-shadow:0 12px 40px #20292e15;background:#fff}
.catalog-strip{padding-top:32px;padding-bottom:32px;display:grid;grid-template-columns:200px 1fr;gap:40px;border-bottom:1px solid var(--line)}
.catalog-label{display:flex;flex-direction:column;justify-content:center;gap:10px}
.catalog-label>span{font-size:10px;letter-spacing:.12em;color:#64717b}
.catalog-label strong{font-size:18px;letter-spacing:-.03em}
.catalog-label>a{font-size:12px;color:#1969d2;text-decoration:none}
#catalog-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px 12px}
#catalog-links a{display:flex;align-items:center;gap:10px;font-size:12px;line-height:1.5;text-decoration:none;color:#43515d;padding:12px 6px;transition:color .2s,background .2s;border-radius:4px}
#catalog-links a:hover{background:#edf3fc;color:#1969d2}
#catalog-links svg{width:17px;height:17px;flex-shrink:0}
#catalog-links svg:last-child{display:none}
.catalog-toolbar{display:flex;gap:24px;align-items:center;justify-content:space-between;margin-bottom:32px;border-bottom:1px solid var(--line);padding-bottom:20px}
.catalog-toolbar[hidden]{display:none}
.catalog-filters{display:flex;gap:8px;flex-wrap:wrap}
.catalog-filters button{min-height:44px;padding:10px 16px;border:1px solid transparent;background:transparent;color:#53616b;font:inherit;font-size:13px;border-radius:6px;cursor:pointer;transition:background .2s,color .2s}
.catalog-filters button[aria-pressed=true]{color:white;background:#263238}
.catalog-filters button:hover:not([aria-pressed=true]){background:#eef2f6}
.catalog-filters button span{font-size:11px;margin-left:6px;opacity:.7}
#catalog-count{font-size:12px;color:#65717b;white-space:nowrap}
.home-page .catalog-card{padding:0!important;background:white;border-radius:8px;display:flex;flex-direction:column;min-width:0}
.home-page .catalog-card[hidden]{display:none!important}
.catalog-preview{position:relative;height:208px;overflow:hidden;background:#e9edf1;padding:24px 20px 0;border-bottom:1px solid var(--line)}
.catalog-preview img{display:block;width:100%;height:auto;min-height:100%;object-fit:cover;object-position:top;border:1px solid #d0d8df;border-radius:4px 4px 0 0;box-shadow:0 8px 24px #26323812;transition:transform .45s cubic-bezier(.2,.7,.2,1)}
.catalog-card:hover .catalog-preview img{transform:translateY(-5px) scale(1.025)}
.catalog-preview>span{position:absolute;right:12px;bottom:12px;background:#263238;color:#fff;padding:8px 12px;font-size:10px;display:flex;gap:8px;align-items:center;border-radius:4px}
.catalog-preview>span svg{width:12px;height:12px}
.catalog-card-copy{padding:24px;display:flex;flex-direction:column;flex:1}
.home-page .catalog-card .module-card-top{margin-bottom:20px;display:flex;justify-content:space-between;color:#7c8992;font-size:11px}
.home-page .catalog-card .module-card-top svg{width:22px;height:22px;color:#41607a}
.home-page .catalog-card h3{font-size:21px;margin:0 0 12px;letter-spacing:-.03em}
.catalog-card-copy>p{font-size:13px;line-height:1.8;color:#60707b;margin:0 0 24px}
.catalog-card .module-card-bottom{margin-top:auto;padding-top:16px;border-top:1px solid #edf0f3;color:#1969d2;display:flex;justify-content:space-between;font-size:12px}
.catalog-card .module-card-bottom svg{width:16px;height:16px}
.catalog-card.catalog-selected{animation:catalog-in .38s ease both}
@keyframes catalog-in{from{opacity:.3;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1600px){.home-page .hero{min-height:800px}.catalog-preview{height:240px}}
@media(max-width:1100px){.home-page .hero{padding:64px 32px;gap:32px;min-height:640px}.home-page .hero h1{font-size:48px}.catalog-strip{grid-template-columns:160px 1fr;gap:24px}#catalog-links{grid-template-columns:repeat(3,minmax(0,1fr))}.catalog-preview{height:160px}.catalog-card-copy{padding:20px}.catalog-toolbar{align-items:start}}
@media(max-width:780px){.home-page .hero{display:block;padding:48px 24px 56px}.home-page .hero-copy{max-width:640px}.home-page .hero h1{font-size:clamp(40px,7vw,58px)}.home-page .hero-product{max-width:620px;margin-top:40px}.home-page .device-scene{transform:none}.home-page .scene-callout{bottom:4px}.catalog-strip{display:block;padding-top:28px;padding-bottom:28px}.catalog-label{flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;margin-bottom:20px}.catalog-label>span{display:none}.catalog-label strong{font-size:16px}#catalog-links{grid-template-columns:repeat(3,minmax(0,1fr));gap:0 8px}#catalog-links a{font-size:11px}.catalog-toolbar{display:block}.catalog-filters{gap:4px}.catalog-filters button{font-size:12px;padding:10px 12px}#catalog-count{margin:16px 0 0}.catalog-preview{height:190px}}
@media(max-width:480px){.home-page .hero h1{font-size:43px}.home-page .hero-lead{font-size:14px}.home-page .hero-copy .actions{flex-direction:row;flex-wrap:wrap;gap:18px}.hero-promise{font-size:11px}.catalog-label{align-items:baseline}#catalog-links{grid-template-columns:repeat(2,minmax(0,1fr))}#catalog-links a{padding:12px 4px;min-height:44px}.catalog-preview{height:200px}.home-page .catalog-card h3{font-size:22px}.catalog-filters button{padding:10px}.home-page .module-overview .section-heading{gap:20px}}
@media(max-width:350px){.home-page .hero{padding-inline:20px}.home-page .hero h1{font-size:36px}.catalog-preview{height:172px}.catalog-label{gap:8px}.catalog-label strong{font-size:15px}}
@media(prefers-reduced-motion:reduce){.catalog-card.catalog-selected{animation:none}.catalog-preview img{transition:none}.catalog-card:hover .catalog-preview img{transform:none}}
/* Choreography: a living module constellation and a controllable product tour. */
.home-page .hero{min-height:780px;overflow:hidden}
.home-page .hero-product{padding-top:48px;padding-bottom:24px;isolation:isolate}
.home-page .device-scene{position:relative;z-index:2;transform:perspective(1600px) rotateY(-9deg) rotateX(5deg);transition:transform 900ms cubic-bezier(.2,.7,.2,1)}
.home-page .hero-product:hover .device-scene{transform:perspective(1600px) rotateY(-2deg) rotateX(1deg)}
.home-page .scene-callout{display:none}
.module-orbit{position:absolute;inset:-32px -24px 0;pointer-events:none;z-index:3}
.orbit-ring{position:absolute;inset:-40px 0 20px;border:1px solid #b6c6d560;border-radius:50%;transform:rotate(-20deg);box-shadow:0 0 0 36px #cbd5df18,0 0 0 37px #bacbd533}
.orbit-chip{position:absolute;display:flex;align-items:center;gap:10px;padding:13px 18px;background:#ffffffed;border:1px solid #d8e1e8;border-radius:8px;box-shadow:0 12px 32px #26323812;font-size:12px;color:#43596c;animation:nh-float 6s ease-in-out infinite;will-change:transform}
.orbit-chip svg{width:20px;height:20px;color:#3268be}
.orbit-chip-one{top:24px;left:3%;animation-delay:-1s}
.orbit-chip-two{top:40px;right:0;animation-delay:-3s}
.orbit-chip-three{bottom:106px;right:-8px;animation-delay:-4s}
@keyframes nh-float{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-14px) rotate(1deg)}}
.home-page .product-open{position:relative;aspect-ratio:1440/900;overflow:hidden}
.home-page .product-open>img{width:100%;height:100%;object-fit:cover;object-position:top;animation:none}
.home-page .product-open>img.tour-in{animation:nh-screen-in 850ms cubic-bezier(.16,1,.3,1) both}
@keyframes nh-screen-in{from{opacity:.25;transform:translateY(20px) scale(1.035);filter:blur(3px)}to{opacity:1;transform:none;filter:blur(0)}}
.hero-tour{position:relative;z-index:4;display:flex;align-items:center;justify-content:center;gap:12px;margin-top:28px}
.hero-tour[hidden]{display:none}
.tour-tabs{display:flex;gap:4px;padding:4px;border:1px solid #d2dce5;background:#ffffffc9;border-radius:8px}
.tour-tabs button{position:relative;overflow:hidden;font:inherit;font-size:11px;min-height:40px;padding:8px 13px;border:0;border-radius:5px;background:transparent;color:#60717f;cursor:pointer;transition:color .2s,background .2s}
.tour-tabs button[aria-pressed=true]{background:#263238;color:white}
.tour-tabs button[aria-pressed=true]::after{content:"";position:absolute;bottom:0;left:0;height:2px;width:100%;background:#6199f2;transform-origin:left;animation:nh-tour-progress 6s linear both;animation-play-state:paused}
.motion-running .tour-tabs button[aria-pressed=true]::after{animation-play-state:running}
@keyframes nh-tour-progress{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.motion-toggle{display:grid;place-items:center;border:1px solid #cbd6df;color:#425769;background:#fff;width:40px;height:40px;border-radius:50%;cursor:pointer;font-size:15px}
.tour-note{font-size:10px;color:#70808d;text-align:center;margin:12px 0 0}
.motion-paused .orbit-chip{animation-play-state:paused}
.motion-reveal{transition:opacity 850ms cubic-bezier(.2,.7,.2,1),translate 850ms cubic-bezier(.2,.7,.2,1);transition-delay:var(--motion-delay,0ms)}
.motion-reveal.motion-pending{opacity:0;translate:0 36px}
.catalog-strip.motion-reveal{transition-duration:1000ms}
.home-page .connected-band{position:relative}
.home-page .connected-band::after{content:"";position:absolute;bottom:0;left:0;height:3px;width:100%;background:linear-gradient(90deg,transparent,#6fa6f5,transparent);transform:scaleX(0);transform-origin:left;transition:transform 1800ms cubic-bezier(.2,.7,.2,1)}
.home-page .connected-band.motion-arrived::after{transform:scaleX(1)}
@media(max-width:1100px){.orbit-chip{font-size:10px;padding:10px 12px}.orbit-chip-two{right:-8px}.tour-tabs button{padding:8px 9px;font-size:10px}.hero-tour{gap:8px}.home-page .hero{min-height:740px}}
@media(max-width:780px){.home-page .hero{min-height:0}.home-page .hero-product{margin-top:48px;padding-top:44px;padding-bottom:0}.home-page .device-scene,.home-page .hero-product:hover .device-scene{transform:none}.module-orbit{inset:-12px 0 0}.orbit-chip-one{top:0;left:0}.orbit-chip-two{top:4px;right:0}.orbit-chip-three{bottom:100px;right:-8px}.hero-tour{margin-top:24px}.orbit-ring{inset:-24px -12px 24px}.tour-tabs button{min-height:40px}}
@media(max-width:350px){.tour-tabs button{padding:8px 6px;font-size:9px}.motion-toggle{width:32px;height:32px;flex-shrink:0}.orbit-chip{padding:8px 10px}.orbit-chip-three{display:none}}
@media(prefers-reduced-motion:reduce){.orbit-chip,.home-page .product-open>img.tour-in,.tour-tabs button[aria-pressed=true]::after{animation:none!important}.motion-reveal.motion-pending{opacity:1;translate:none}.motion-reveal,.home-page .connected-band::after{transition:none}.home-page .device-scene{transform:none!important}}
.home-page .hero-product>.tour-note{position:static;display:block;padding:0;background:none;border:0;border-radius:0;font-size:10px;font-weight:400;text-align:center;margin:12px 0 0;color:#70808d}
.module-orbit{z-index:auto}.orbit-ring{z-index:-1}.orbit-chip{z-index:3}
.motion-paused .tour-tabs button[aria-pressed=true]::after{animation:none;transform:scaleX(0)}
/* Preserve the current public theme/video/demo release while extending its hero. */
.home-page .hero{display:grid;padding:88px max(56px,calc((100vw - 1328px)/2));background:var(--cin-paper)}
.home-page .hero-copy{padding:0;text-align:left;margin:0;max-width:600px}
.home-page .hero-category{justify-content:start}
.home-page .hero-copy .actions{justify-content:start}
.home-page .hero-trial-note{margin:8px 0 0}
.home-page .hero-lead{margin:0}
.home-page .hero-product{padding-inline:0;margin:0;max-width:none}
.motion-film .cinema-stage{max-width:1080px;margin:auto}
:root[data-theme=dark] .catalog-card,:root[data-theme=dark] .tour-tabs,:root[data-theme=dark] .motion-toggle,:root[data-theme=dark] .orbit-chip{background:var(--cin-surface);color:var(--cin-ink);border-color:var(--cin-line)}
:root[data-theme=dark] .catalog-preview{background:#2b3038}
:root[data-theme=dark] #catalog-links a,:root[data-theme=dark] .catalog-card-copy>p,:root[data-theme=dark] .hero-promise,:root[data-theme=dark] .catalog-filters button{color:var(--cin-muted)}
:root[data-theme=dark] .catalog-filters button[aria-pressed=true],:root[data-theme=dark] .tour-tabs button[aria-pressed=true]{background:#426dc0;color:white}
:root[data-theme=dark] .hero h1 em{color:#adcaff}
@media(max-width:1100px){.home-page .hero{padding:64px 32px}}
@media(max-width:780px){.home-page .hero{display:block;padding:48px 24px}.home-page .hero-product{margin-top:48px}.home-page .hero-copy{padding:0}.home-page .hero-copy .actions{justify-content:start}.home-page .hero h1{font-size:clamp(36px,7vw,54px)}}
:root[data-theme=dark] .tour-tabs button,:root[data-theme=dark] .home-page .module-menu summary{color:var(--cin-muted)}
:root[data-theme=dark] .orbit-ring{opacity:.3}
/* An explicit play action can opt into this tour without changing OS preferences. */
@media(prefers-reduced-motion:reduce){
 .motion-opt-in .orbit-chip{animation:nh-float 6s ease-in-out infinite!important}
 .motion-opt-in.motion-paused .orbit-chip{animation-play-state:paused!important}
 .motion-opt-in .product-open>img.tour-in{animation:nh-screen-in 850ms cubic-bezier(.16,1,.3,1) both!important}
 .motion-opt-in.motion-running .tour-tabs button[aria-pressed=true]::after{animation:nh-tour-progress 6s linear both!important}
}

/* Standards belong to Frappe; these are typographic badges, not issuer logos. */
.home-page .standard-badges{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}
.home-page .trust-register .standard-badge{display:flex;flex-direction:column;align-items:flex-start;gap:0;padding:28px 24px;border:1px solid #dbe3ec;border-radius:10px;background:linear-gradient(145deg,#fff,#f4f7fb);box-shadow:0 10px 32px #21334c06;position:relative;overflow:hidden}
.home-page .trust-register .standard-seal{flex:none;width:66px;height:66px;border:1px solid #c7d5e8;border-radius:50%;display:grid;place-items:center;background:#edf3fc;box-shadow:inset 0 0 0 6px #fff;margin-bottom:24px}
.home-page .standard-seal svg{width:28px;height:28px;color:#365a92;stroke-width:1.4}
.home-page .trust-register .standard-type{font-size:9px;line-height:1.6;letter-spacing:.08em;font-weight:600;color:#5a6f89}
.home-page .trust-register .standard-badge h3{font-size:36px;line-height:1.15;letter-spacing:-.035em;margin:14px 0 12px;color:#233b5b;font-weight:600}
.home-page .standard-badge h3>span:first-child{display:block;font-size:13px;letter-spacing:.04em;margin-bottom:4px}
.home-page .standard-badge h3 .standard-edition{display:block;font-size:13px;font-weight:450;letter-spacing:.08em;color:#71829a;margin-top:8px}
.home-page .trust-register .standard-badge p{font-size:12px;line-height:1.7;color:#576a80}
.home-page .standard-badge .standard-status{display:flex;align-items:center;gap:6px;padding-top:20px;margin-top:auto;color:#64758a;font-size:10px}
.home-page .standard-status svg{width:13px;height:13px;color:#47735f}
.home-page .trust-register .standard-audit{grid-column:1/-1;flex-direction:row;align-items:center;gap:24px;padding:24px}
.home-page .standard-audit .standard-seal{flex:none;margin:0;width:54px;height:54px}
.home-page .trust-register .standard-audit h3{font-size:23px;margin:6px 0}
.home-page .standard-audit h3 .soc-type{display:inline;font-size:15px;font-weight:450;letter-spacing:0;color:#71829a}
:root[data-theme=dark] .home-page .trust-register .standard-badge{background:linear-gradient(145deg,#172027,#111920);border-color:#31404c}
:root[data-theme=dark] .home-page .standard-seal{background:#1b2c3f;border-color:#3b536d;box-shadow:inset 0 0 0 6px #172027}
:root[data-theme=dark] .home-page .standard-seal svg{color:#9fbbe8}
:root[data-theme=dark] .home-page .trust-register .standard-badge h3{color:#e4ebf4}
:root[data-theme=dark] .home-page .trust-register .standard-badge :is(p,.standard-type,.standard-status){color:#9faebe}
@media(max-width:420px){.home-page .standard-badges{grid-template-columns:1fr}.home-page .trust-register .standard-badge{padding:24px}.home-page .standard-seal{margin-bottom:16px}.home-page .trust-register .standard-audit{gap:16px}.home-page .trust-register .standard-badge h3{font-size:34px}.home-page .trust-register .standard-audit h3{font-size:22px}}
