/* School24h homepage. Served by Laravel (resources/views/home), see Workflow.md §8. */
/* ============================================================
   Tokens — the same values as the School Admin panel (Workflow §0.3)
   ============================================================ */
:root {
  --ink: #121826;
  --ink-soft: #2A3245;
  --paper: #F3F5FA;
  --paper-2: #E8ECF4;
  --surface: #FFFFFF;
  --page: #FBFCFE;
  --accent: #2340D8;
  --accent-2: #3A56EA;
  --on-accent: #FFFFFF;
  --line: rgba(18, 24, 38, .115);
  --input: rgba(18, 24, 38, .18);
  --success: #0E9F6E;
  --warning: #D97706;
  --danger: #E02424;

  --ink-85: color-mix(in srgb, var(--ink) 85%, transparent);
  --ink-75: color-mix(in srgb, var(--ink) 75%, transparent);
  --ink-66: color-mix(in srgb, var(--ink) 66%, transparent);
  --ink-55: color-mix(in srgb, var(--ink) 55%, transparent);
  --ink-08: color-mix(in srgb, var(--ink) 8%, transparent);

  --glass: color-mix(in srgb, var(--surface) 72%, transparent);
  --shadow-sm: 0 1px 2px rgba(18, 24, 38, .06);
  --shadow-card: 0 1px 2px rgba(18, 24, 38, .05), 0 8px 24px -12px rgba(18, 24, 38, .12);
  --shadow-float: 0 2px 6px rgba(18, 24, 38, .06), 0 40px 80px -24px rgba(25, 40, 120, .28);

  --grid-line: rgba(35, 64, 216, .05);
  --grad-2: #7C3AED;
  --vec-fill: #F4F6FF;
  --vec-fill-2: #E6ECFF;
  --vec-stroke: #A9B9E5;
  --vec-mark: #B5C4EF;
  --grad-3: #0284C7;
  --contour: rgba(35, 64, 216, .22);
  --aurora-1: rgba(35, 64, 216, .22);
  --aurora-2: rgba(124, 58, 237, .20);
  --aurora-3: rgba(2, 132, 199, .20);

  --radius: 16px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --ink: #E8ECF5;
  --ink-soft: #C3CAD9;
  --paper: #0E131D;
  --paper-2: #1D2535;
  --surface: #161D2B;
  --page: #0A0F18;
  --accent: #5B78FF;
  --accent-2: #7690FF;
  --on-accent: #FFFFFF;
  --line: rgba(255, 255, 255, .11);
  --input: rgba(255, 255, 255, .16);
  --success: #34D399;
  --warning: #FBBF24;
  --danger: #F87171;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow-card: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -12px rgba(0, 0, 0, .5);
  --shadow-float: 0 2px 6px rgba(0, 0, 0, .3), 0 40px 90px -24px rgba(0, 0, 0, .7);
  --grid-line: rgba(140, 160, 255, .05);
  --grad-2: #A78BFA;
  --vec-fill: rgba(91, 120, 255, .08);
  --vec-fill-2: rgba(91, 120, 255, .16);
  --vec-stroke: rgba(150, 170, 255, .50);
  --vec-mark: rgba(150, 170, 255, .45);
  --grad-3: #38BDF8;
  --contour: rgba(120, 145, 255, .26);
  --aurora-1: rgba(91, 120, 255, .30);
  --aurora-2: rgba(139, 92, 246, .20);
  --aurora-3: rgba(14, 165, 233, .16);
  color-scheme: dark;
}

/* Icon tones (Workflow §0.3 "The icon palette") */
.t-blue   { --tone: #2340D8; }
.t-violet { --tone: #7C3AED; }
.t-teal   { --tone: #0D9488; }
.t-green  { --tone: #0E9F6E; }
.t-amber  { --tone: #D97706; }
.t-orange { --tone: #EA580C; }
.t-rose   { --tone: #E11D48; }
.t-sky    { --tone: #0284C7; }
.t-slate  { --tone: #475569; }
:root[data-theme="dark"] .t-blue   { --tone: #7B93FF; }
:root[data-theme="dark"] .t-violet { --tone: #A78BFA; }
:root[data-theme="dark"] .t-teal   { --tone: #2DD4BF; }
:root[data-theme="dark"] .t-green  { --tone: #34D399; }
:root[data-theme="dark"] .t-amber  { --tone: #FBBF24; }
:root[data-theme="dark"] .t-orange { --tone: #FB923C; }
:root[data-theme="dark"] .t-rose   { --tone: #FB7185; }
:root[data-theme="dark"] .t-sky    { --tone: #38BDF8; }
:root[data-theme="dark"] .t-slate  { --tone: #94A3B8; }

/* ============================================================
   Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "tnum" 1;
  overflow-x: clip;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
svg.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 48px; padding: 0 22px; border-radius: 14px;
  font-size: 15.5px; font-weight: 600; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .2s, box-shadow .25s var(--ease), border-color .2s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary {
  background: var(--accent); color: var(--on-accent);
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 10px 24px -10px color-mix(in srgb, var(--accent) 70%, transparent);
}
.btn-primary:hover { background: var(--accent-2); transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 16px 30px -12px color-mix(in srgb, var(--accent) 80%, transparent); }
.btn-secondary { background: var(--surface); border: 1px solid var(--input); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-secondary svg.i { color: var(--accent); }
.btn-secondary:hover { border-color: color-mix(in srgb, var(--accent) 45%, transparent); transform: translateY(-1px); }
.btn-sm { height: 40px; padding: 0 16px; border-radius: 12px; font-size: 14.5px; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.site-header[data-scrolled] {
  background: color-mix(in srgb, var(--page) 74%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--line);
}
.header-row { height: 76px; display: flex; align-items: center; gap: 24px; }
.logo { position: relative; display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 600; letter-spacing: -.015em; }
.logo img { display: block; width: 180px; height: 60px; object-fit: contain; }
/* Recolour only the School word in the supplied transparent artwork. */
:root[data-theme="dark"] .logo::after { content: ""; position: absolute; inset: 0; background: url('/site-assets/brand/school24h.png?v=2') center / contain no-repeat; filter: brightness(0) invert(1); clip-path: inset(34% 28.5% 26% 27.5%); pointer-events: none; }

.nav { position: relative; display: flex; align-items: center; gap: 2px; margin: 0 auto; padding: 5px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--glass);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.nav a { position: relative; z-index: 1; padding: 8px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--ink-75); transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav-pill { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px;
  background: var(--surface); box-shadow: var(--shadow-card); border: 1px solid var(--line);
  transition: transform .45s var(--ease), width .45s var(--ease), opacity .3s; opacity: 0; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.sign-in-btn { padding: 0 18px 0 15px; }

/* Light / dark switch, same idea as the admin top bar */
.theme-switch { position: relative; width: 62px; height: 32px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--paper-2); display: inline-flex; align-items: center; justify-content: space-between; padding: 0 8px; color: var(--ink-55); }
.theme-switch svg.i { width: 15px; height: 15px; position: relative; z-index: 1; transition: color .3s; }
.theme-switch .knob { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--surface); box-shadow: 0 1px 3px rgba(18,24,38,.25); transition: transform .45s var(--ease); }
.theme-switch .sun { color: var(--warning); }
:root[data-theme="dark"] .theme-switch .knob { transform: translateX(30px); }
:root[data-theme="dark"] .theme-switch .sun { color: var(--ink-55); }
:root[data-theme="dark"] .theme-switch .moon { color: var(--accent); }

.menu-btn { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--glass); align-items: center; justify-content: center; }
.mobile-panel { display: none; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .header-actions { margin-left: auto; }
  .menu-btn { display: inline-flex; }
  .mobile-panel {
    display: block; position: absolute; left: 16px; right: 16px; top: 72px;
    padding: 10px; border-radius: 20px; border: 1px solid var(--line);
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    box-shadow: var(--shadow-float);
    opacity: 0; transform: translateY(-8px) scale(.98); transform-origin: top center; pointer-events: none;
    transition: opacity .3s var(--ease), transform .35s var(--ease);
  }
  .site-header[data-open] .mobile-panel { opacity: 1; transform: none; pointer-events: auto; }
  .mobile-panel a.m-link { display: flex; align-items: center; gap: 12px; padding: 12px 12px; border-radius: 12px; font-weight: 500; font-size: 16px; }
  .mobile-panel a.m-link:hover, .mobile-panel a.m-link[aria-current="page"] { background: var(--paper); }
  .mobile-panel .m-actions { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 10px 2px 2px; border-top: 1px solid var(--line); margin-top: 8px; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; isolation: isolate; padding: 148px 0 40px; overflow: hidden; }

/* Background: aurora, grid, cursor spotlight, vector contours */
.bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.aurora { position: absolute; border-radius: 50%; filter: blur(80px); will-change: transform; }
.aurora.a1 { width: 900px; height: 460px; left: 50%; top: -260px; margin-left: -450px; background: var(--aurora-1); animation: drift1 22s ease-in-out infinite alternate; }
.aurora.a2 { width: 480px; height: 420px; left: -220px; top: 160px; background: var(--aurora-2); animation: drift2 26s ease-in-out infinite alternate; }
.aurora.a3 { width: 560px; height: 420px; right: -180px; top: 420px; background: var(--aurora-3); animation: drift3 30s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(-120px, 60px) scale(1.08); } }
@keyframes drift2 { to { transform: translate(90px, -40px) scale(1.12); } }
@keyframes drift3 { to { transform: translate(-80px, -70px) scale(.94); } }

.grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 26%, #000 20%, transparent 72%);
  mask-image: radial-gradient(ellipse 60% 50% at 50% 26%, #000 20%, transparent 72%);
}
.spotlight {
  position: absolute; inset: 0; opacity: 0; transition: opacity .6s;
  background-image:
    linear-gradient(color-mix(in srgb, var(--accent) 38%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--accent) 38%, transparent) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center top;
  -webkit-mask-image: radial-gradient(260px circle at var(--mx, 50%) var(--my, 30%), #000, transparent 70%);
  mask-image: radial-gradient(260px circle at var(--mx, 50%) var(--my, 30%), #000, transparent 70%);
}
.hero:hover .spotlight { opacity: 1; }

.vectors { position: absolute; inset: 0; width: 100%; height: 100%; }
.vectors .contour path { fill: none; stroke: var(--contour); stroke-width: 1.2; stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: draw 3.2s var(--ease) forwards; }
.vectors .contour path:nth-child(2) { animation-delay: .15s; opacity: .8; }
.vectors .contour path:nth-child(3) { animation-delay: .3s; opacity: .6; }
.vectors .contour path:nth-child(4) { animation-delay: .45s; opacity: .45; }
.vectors .contour path:nth-child(5) { animation-delay: .6s; opacity: .3; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.vectors .orbit circle.ring { fill: none; stroke: var(--contour); stroke-width: 1; stroke-dasharray: 3 7; }
.vectors .orbit .spin { transform-box: view-box; animation: spin 40s linear infinite; }
.vectors .orbit .spin.rev { animation-duration: 64s; animation-direction: reverse; }
.vectors .orbit .dot { fill: var(--accent); }
.vectors .orbit .dot.v { fill: #7C3AED; }
.vectors .orbit .dot.g { fill: #0E9F6E; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Copy: one centred column */
.hero-copy { position: relative; text-align: center; }
.hero-center { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.announce {
  display: inline-flex; align-items: center; gap: 10px; padding: 4px 12px 4px 4px; margin-bottom: 30px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--glass);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--shadow-sm);
  font-size: 13.5px; font-weight: 500; color: var(--ink-85); transition: border-color .2s, transform .25s var(--ease);
}
.announce:hover { border-color: color-mix(in srgb, var(--accent) 40%, transparent); transform: translateY(-1px); }
.announce .tag { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); font-size: 12.5px; font-weight: 600; }
.announce .tag svg.i { width: 13px; height: 13px; }
.announce > svg.i { width: 14px; height: 14px; color: var(--ink-55); transition: transform .25s var(--ease); }
.announce:hover > svg.i { transform: translateX(2px); }

h1 {
  margin: 0; font-size: clamp(2.5rem, 5.4vw, 4.6rem); line-height: 1.08; font-weight: 600; letter-spacing: -.04em;
}
h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1s var(--ease) forwards; animation-delay: calc(var(--i) * 110ms + 120ms); }
@keyframes rise { to { transform: none; } }

/* The rolling word: width eases to each word, words slide up */
.roller { display: inline-block; vertical-align: bottom; height: 1.16em; overflow: hidden; transition: width .7s var(--ease); }
.roller-track { display: flex; flex-direction: column; transition: transform .75s var(--ease); }
.roller-track > span {
  display: block; height: 1.16em; line-height: 1.16em; white-space: nowrap; padding: 0 .02em;
  background: linear-gradient(100deg, var(--accent) 10%, var(--grad-2) 55%, var(--grad-3) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.lede { margin: 24px 0 34px; max-width: 58ch; font-size: 18.5px; line-height: 1.6; color: var(--ink-75); text-wrap: pretty; }
.ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.points { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; padding: 0; margin: 30px 0 0; font-size: 14.5px; font-weight: 500; color: var(--ink-75); }
.points li { display: inline-flex; align-items: center; gap: 9px; }
.points .tile { width: 26px; height: 26px; border-radius: 8px; }
.points .tile svg.i { width: 14px; height: 14px; }

/* School line-art vectors (same style as index2.html) */
.school-vectors { position: absolute; inset: -40px 0 0; pointer-events: none; }
.vec { position: absolute; opacity: 0; animation: vecIn 1.2s var(--ease) forwards, vecFloat 8s ease-in-out infinite; animation-delay: var(--d), calc(var(--d) + 1.2s); }
.vec svg { display: block; width: 100%; height: 100%; overflow: visible; }
.vec .f { fill: var(--vec-fill); }
.vec .f2 { fill: var(--vec-fill-2); }
.vec .s { fill: none; stroke: var(--vec-stroke); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.vec .m { fill: var(--vec-mark); }
.vec-book   { width: 70px; height: 70px; left: 21%; top: 34px;  rotate: -14deg; --d: 700ms; }
.vec-cap    { width: 72px; height: 72px; right: 21%; top: 46px; rotate: 8deg;  --d: 800ms; animation-duration: 1.2s, 9s; }
.vec-plane  { width: 48px; height: 48px; left: 7%;  top: 470px; rotate: -6deg;  --d: 950ms; animation-duration: 1.2s, 7s; }
.vec-pencil { width: 60px; height: 60px; right: 7%; top: 482px; rotate: 10deg; --d: 1050ms; animation-duration: 1.2s, 8.5s; }
.vec-star   { width: 28px; height: 28px; left: 33%; top: 6px; --d: 1100ms; animation-duration: 1.2s, 6s; }
.vec-star svg { fill: none; stroke: var(--vec-stroke); stroke-width: 1.5; }
@keyframes vecIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes vecFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@media (max-width: 1199px) {
  .vec-book { left: 4%; top: 30px; } .vec-cap { right: 4%; top: 40px; }
  .vec-plane, .vec-pencil, .vec-star { display: none; }
}
@media (max-width: 640px) {
  .vec-book { width: 46px; height: 46px; left: -6px; top: 70px; opacity: .55 !important; }
  .vec-cap { display: none; }
}

.fade-up { opacity: 0; transform: translateY(14px); animation: fadeUp .9s var(--ease) forwards; animation-delay: var(--d, 0ms); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

@media (max-width: 980px) { .hero { padding-top: 124px; } }
@media (max-width: 640px) { .header-actions .sign-in-btn { display: none; } }
@media (max-width: 640px) {
  .lede { font-size: 17px; }
  .ctas { width: 100%; flex-direction: column; }
  .ctas .btn { width: 100%; }
  .points { justify-content: flex-start; flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ============================================================
   Running line + dashboard stage
   ============================================================ */
.showcase { position: relative; margin-top: 76px; }
.live {
  display: flex; align-items: center; gap: 12px; margin: 0 0 14px 4px; min-height: 30px;
  font-size: 15px; color: var(--ink-75);
}
.live .pulse { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--success); flex: none; }
.live .pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--success); opacity: 0; animation: ping 1.8s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.4); opacity: .8; } 100% { transform: scale(1.4); opacity: 0; } }
.live .label { font-weight: 600; color: var(--ink); }
.live .typed { color: var(--ink-85); }
.live .caret { display: inline-block; width: 2px; height: 1.15em; margin-left: 2px; vertical-align: -3px; background: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.stage-outer { perspective: 1800px; }
.stage-tilt { transform-origin: 50% 0; transform: rotateX(var(--tilt, 14deg)) scale(var(--tscale, .96)); transition: transform .1s linear; will-change: transform; }
.stage-wrap { position: relative; }
.stage-glow { position: absolute; inset: 8% 6% -6%; z-index: -1; border-radius: 40px; filter: blur(60px);
  background: radial-gradient(60% 60% at 30% 40%, var(--aurora-1), transparent 70%), radial-gradient(50% 60% at 75% 60%, var(--aurora-2), transparent 70%); }
.stage { width: 1180px; transform-origin: top left; }

/* ============================================================
   Dashboard preview (a mock of the real admin panel)
   ============================================================ */
.dash {
  border-radius: 20px; overflow: hidden; background: var(--paper);
  border: 1px solid var(--line); box-shadow: var(--shadow-float);
  font-size: 14px; color: var(--ink); text-align: left;
}
.win-bar { height: 42px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 16px; background: var(--surface); border-bottom: 1px solid var(--line); }
.win-bar .dots { display: flex; gap: 7px; }
.win-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--paper-2); border: 1px solid var(--line); }
.win-bar .url { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 14px; border-radius: 8px; background: var(--paper); font-size: 12.5px; color: var(--ink-66); min-width: 300px; justify-content: center; }
.win-bar .url svg.i { width: 13px; height: 13px; color: var(--success); }

.app { display: grid; grid-template-columns: 228px 1fr; height: 624px; }

/* Sidebar */
.d-side { background: var(--surface); border-right: 1px solid var(--line); padding: 12px 12px 10px; display: flex; flex-direction: column; }
.d-search { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); color: var(--ink-55); font-size: 13px; margin-bottom: 6px; }
.d-search svg.i { width: 15px; height: 15px; }
.d-search kbd { margin-left: auto; font: inherit; font-size: 11.5px; padding: 0 6px; border-radius: 5px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-55); }
.d-cat { display: flex; align-items: center; gap: 8px; margin: 9px 6px 2px; font-size: 11.5px; font-weight: 500; color: var(--ink-55); }
.d-cat::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.d-item { position: relative; display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 8px; border-radius: 10px; font-size: 13.5px; font-weight: 500; color: var(--ink-85); transition: background-color .4s var(--ease); }
.d-item .d-ic { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; color: var(--tone); background: color-mix(in srgb, var(--tone) 13%, transparent); transition: background-color .3s, color .3s; }
.d-item .d-ic svg.i { width: 14px; height: 14px; stroke-width: 2.1; }
.d-item.active { background: var(--paper); color: var(--ink); font-weight: 600; }
.d-item.active::before { content: ""; position: absolute; left: -12px; top: 7px; bottom: 7px; width: 3px; border-radius: 0 3px 3px 0; background: var(--accent); }
.d-item.active .d-ic { background: var(--tone); color: #fff; }
.d-item.ping { background: color-mix(in srgb, var(--tone) 12%, transparent); }
.d-item.ping .d-ic { background: var(--tone); color: #fff; }
.d-foot { margin-top: auto; display: flex; justify-content: space-between; padding: 8px 6px 0; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--ink-55); }

/* Main */
.d-main { position: relative; display: flex; flex-direction: column; min-width: 0; }
.d-top { height: 58px; display: flex; align-items: center; padding: 0 20px; gap: 12px; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-66); }
.crumbs .tile { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--tone); color: #fff; }
.crumbs .tile svg.i { width: 14px; height: 14px; }
.crumbs b { color: var(--ink); font-weight: 600; }
.crumbs svg.sep { width: 13px; height: 13px; color: var(--ink-55); }
.dock { margin-left: auto; display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.dock .d-find { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--paper); color: var(--ink-55); font-size: 12.5px; min-width: 210px; }
.dock .d-find svg.i { width: 14px; height: 14px; }
.dock .d-find kbd { margin-left: auto; font: inherit; font-size: 11px; color: var(--ink-55); }
.dock .chip { display: flex; align-items: center; gap: 7px; height: 32px; padding: 0 10px 0 5px; border-radius: 999px; font-size: 12.5px; font-weight: 500; }
.dock .chip .mono { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: var(--tone); color: #fff; font-size: 11px; font-weight: 700; }
.dock .chip svg.i { width: 13px; height: 13px; color: var(--ink-55); }
.dock .mini-switch { width: 44px; height: 24px; border-radius: 999px; background: var(--paper-2); position: relative; margin: 0 2px; }
.dock .mini-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--surface); box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: transform .45s var(--ease); }
:root[data-theme="dark"] .dock .mini-switch::after { transform: translateX(20px); }
.dock .bell { position: relative; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-75); }
.dock .bell svg.i { width: 16px; height: 16px; }
.dock .bell::after { content: ""; position: absolute; top: 7px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--danger); border: 1.5px solid var(--surface); }
.dock .av { position: relative; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #7C3AED; color: #fff; font-size: 12px; font-weight: 600; }
.dock .av::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 9px; height: 9px; border-radius: 50%; background: #0E9F6E; border: 2px solid var(--surface); }

.d-body { padding: 4px 20px 20px; display: flex; flex-direction: column; gap: 14px; min-height: 0; }
.d-hello { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.d-hello .dh { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.d-hello p { margin: 2px 0 0; font-size: 13px; color: var(--ink-66); }
.d-hello .acts { display: flex; gap: 8px; }
.d-btn { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px; border-radius: 10px; font-size: 13px; font-weight: 600; }
.d-btn svg.i { width: 15px; height: 15px; }
.d-btn.pri { background: var(--accent); color: #fff; }
.d-btn.sec { background: var(--surface); border: 1px solid var(--input); }
.d-btn.sec svg.i { color: var(--accent); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-card); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat { padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.stat .top { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 500; color: var(--ink-75); }
.tile { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: var(--tone); background: color-mix(in srgb, var(--tone) 13%, transparent); flex: none; }
.tile svg.i { width: 16px; height: 16px; stroke-width: 2.1; }
.stat .val { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 26px; font-weight: 600; letter-spacing: -.025em; line-height: 1.1; }
.stat .sub { font-size: 12.5px; color: var(--ink-66); display: flex; align-items: center; gap: 4px; }
.stat .sub .up { color: var(--success); font-weight: 600; display: inline-flex; align-items: center; gap: 2px; }
.stat .sub .up svg.i { width: 13px; height: 13px; stroke-width: 2.4; }
.ring { width: 38px; height: 38px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 4.5; }
.ring .trk { stroke: var(--paper-2); }
.ring .bar { stroke: var(--tone); stroke-linecap: round; stroke-dasharray: 100.53; stroke-dashoffset: 100.53; transition: stroke-dashoffset 1.4s var(--ease); }
.meter { height: 6px; border-radius: 99px; background: var(--paper-2); overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--tone); transition: width 1.4s var(--ease); }

.panels { display: grid; grid-template-columns: 1.45fr 1fr; gap: 12px; flex: 1; min-height: 0; }
.panel { padding: 14px 16px; display: flex; flex-direction: column; min-height: 0; }
.panel-head { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; }
.panel-head .ph { margin: 0; font-size: 14.5px; font-weight: 600; }
.panel-head .meta { margin-left: auto; font-size: 12px; color: var(--ink-66); display: flex; gap: 4px; padding: 3px; border-radius: 9px; background: var(--paper); }
.panel-head .meta span { padding: 3px 9px; border-radius: 7px; }
.panel-head .meta span.on { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: var(--shadow-sm); }

.chart { position: relative; flex: 1; display: grid; grid-template-columns: 40px 1fr; gap: 6px; min-height: 0; }
.chart .axis { display: flex; flex-direction: column; justify-content: space-between; font-size: 11px; color: var(--ink-55); padding-bottom: 22px; text-align: right; }
.chart .plot { position: relative; display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px; align-items: end; padding-bottom: 22px;
  background-image: linear-gradient(var(--line) 1px, transparent 1px); background-size: 100% calc((100% - 22px) / 3); background-position: 0 0; background-repeat: repeat-y; }
.chart .col { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; cursor: default; }
.chart .bar { width: 100%; max-width: 34px; height: 0; border-radius: 8px 8px 3px 3px; background: color-mix(in srgb, var(--tone) 30%, transparent); transition: height 1.2s var(--ease), background-color .2s; transition-delay: var(--bd, 0ms); }
.chart .col:hover .bar { background: color-mix(in srgb, var(--tone) 55%, transparent); }
.chart .col.now .bar { background: var(--tone); }
.chart .col span { position: absolute; bottom: -21px; font-size: 11.5px; color: var(--ink-66); }
.chart .col.now span { color: var(--ink); font-weight: 600; }
.chart .tip { position: absolute; bottom: calc(var(--h) + 6px); left: 50%; translate: -50% 0; white-space: nowrap; padding: 4px 8px; border-radius: 7px; background: var(--ink); color: var(--surface); font-size: 11.5px; font-weight: 600; opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .25s var(--ease), bottom 1.2s var(--ease); pointer-events: none; }
.chart .col:hover .tip, .chart .col.now .tip { opacity: 1; transform: none; }
.chart-sum { display: flex; gap: 18px; margin: 0 0 6px; font-size: 12.5px; color: var(--ink-66); }
.chart-sum b { display: block; font-size: 17px; color: var(--ink); font-weight: 600; letter-spacing: -.01em; }

.feed { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; overflow: hidden; flex: 1; }
.feed li { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.35; }
.feed li:first-child { border-top: 0; }
.feed li .tile { width: 30px; height: 30px; }
.feed li .tile svg.i { width: 15px; height: 15px; }
.feed li .tx { color: var(--ink-85); }
.feed li .tm { font-size: 12px; color: var(--ink-55); }
.feed li.enter { animation: feedIn .7s var(--ease); }
@keyframes feedIn { from { opacity: 0; transform: translateY(-10px); background: color-mix(in srgb, var(--accent) 8%, transparent); } }

.d-toast {
  position: absolute; top: 66px; right: 20px; z-index: 5; width: 300px;
  display: grid; grid-template-columns: 34px 1fr; gap: 11px; align-items: center; padding: 12px 14px;
  border-radius: 14px; border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: var(--shadow-float);
  opacity: 0; transform: translateY(-10px) scale(.97); transition: opacity .35s var(--ease), transform .45s var(--ease);
}
.d-toast.show { opacity: 1; transform: none; }
.d-toast .tile { width: 34px; height: 34px; border-radius: 10px; }
.d-toast b { display: block; font-size: 13.5px; font-weight: 600; }
.d-toast small { display: block; font-size: 12.5px; color: var(--ink-66); }

/* ============================================================
   Running ticker of modules
   ============================================================ */
.ticker { position: relative; margin-top: 56px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.ticker-track { display: flex; width: max-content; gap: 12px; animation: marquee 48s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); font-size: 14.5px; font-weight: 500; color: var(--ink-85); white-space: nowrap; }
.ticker-item .tile { width: 28px; height: 28px; border-radius: 50%; }
.ticker-item .tile svg.i { width: 14px; height: 14px; }
@keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }

/* ============================================================
   Section 2: Modules (what's inside the portal)
   ============================================================ */
.features { position: relative; isolation: isolate; padding: 128px 0 136px; }
.features::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, transparent, color-mix(in srgb, var(--accent) 5%, transparent) 16%, color-mix(in srgb, var(--accent) 5%, transparent) 84%, transparent),
    radial-gradient(40% 32% at 18% 38%, color-mix(in srgb, var(--aurora-2) 60%, transparent), transparent 70%),
    radial-gradient(42% 36% at 86% 70%, color-mix(in srgb, var(--aurora-3) 70%, transparent), transparent 70%);
}
.features::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .7;
  background-image: radial-gradient(var(--grid-line) 1.2px, transparent 1.2px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
}

.f-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 40px; }
.f-head h2 { margin: 0; font-size: clamp(2.1rem, 3.9vw, 3.2rem); line-height: 1.06; letter-spacing: -.038em; font-weight: 600; max-width: 17ch; text-wrap: balance; }
.f-head p { margin: 16px 0 0; font-size: 18px; line-height: 1.6; color: var(--ink-75); max-width: 56ch; text-wrap: pretty; }
.f-head p b { color: var(--ink); font-weight: 600; }
.grad { background: linear-gradient(100deg, var(--accent) 10%, var(--grad-2) 55%, var(--grad-3) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.f-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0 0 28px; }
.stat-x {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 78%, transparent); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--shadow-card);
}
.stat-x .tile { width: 44px; height: 44px; border-radius: 13px; background: var(--tone); color: #fff; box-shadow: 0 10px 20px -12px var(--tone); }
.stat-x .tile svg.i { width: 21px; height: 21px; }
.stat-x b { display: block; font-size: 26px; line-height: 1.1; font-weight: 600; letter-spacing: -.03em; }
.stat-x b.txt { font-size: 19px; letter-spacing: -.015em; padding: 3px 0; }
.stat-x small { display: block; font-size: 13.5px; color: var(--ink-66); }

.seg { position: relative; display: inline-flex; flex: none; padding: 4px; border-radius: 14px; background: var(--paper-2); border: 1px solid var(--line); }
.seg button { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 10px; font-size: 14.5px; font-weight: 600; color: var(--ink-66); transition: color .25s; }
.seg button svg.i { width: 16px; height: 16px; }
.seg button[aria-selected="true"] { color: var(--ink); }
.seg button[aria-selected="true"] svg.i { color: var(--accent); }
.seg-pill { position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 10px; background: var(--surface); box-shadow: var(--shadow-card); transition: transform .5s var(--ease), width .5s var(--ease); }

.view[hidden] { display: none; }
.view.enter { animation: viewIn .6s var(--ease); }
@keyframes viewIn { from { opacity: 0; transform: translateY(12px); } }

/* Explorer: rail + panel in one card */
.explorer-frame {
  position: relative; padding: 1.5px; border-radius: 30px; scroll-margin-top: 100px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 60%, transparent), color-mix(in srgb, var(--grad-2) 30%, transparent) 30%, var(--line) 55%, color-mix(in srgb, var(--grad-3) 50%, transparent));
  box-shadow: 0 1px 2px rgba(18,24,38,.04), 0 50px 90px -50px rgba(35,64,216,.45), 0 0 0 6px color-mix(in srgb, var(--accent) 5%, transparent);
}
:root[data-theme="dark"] .explorer-frame { box-shadow: 0 1px 2px rgba(0,0,0,.3), 0 50px 90px -40px rgba(0,0,0,.85), 0 0 0 6px color-mix(in srgb, var(--accent) 8%, transparent); }
.explorer-frame.flash { animation: flash 1.4s var(--ease); }
@keyframes flash { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 45%, transparent); } 100% { box-shadow: 0 0 0 22px transparent; } }
.explorer {
  display: grid; grid-template-columns: 276px minmax(0, 1fr);
  border-radius: 28.5px; overflow: hidden; background: var(--surface);
}
.rail { position: relative; padding: 14px 12px 16px; border-right: 1px solid var(--line); background: color-mix(in srgb, var(--paper) 60%, var(--surface)); }
.rail-cat { display: flex; align-items: center; gap: 8px; margin: 9px 10px 3px; font-size: 12px; font-weight: 500; color: var(--ink-55); }
.rail-cat:first-child { margin-top: 4px; }
.rail-cat::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.rail-btn {
  position: relative; z-index: 1; width: 100%; display: flex; align-items: center; gap: 10px; height: 35px; padding: 0 10px;
  border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--ink-85); text-align: left; transition: color .2s, background-color .2s;
}
.rail-btn .tile { width: 25px; height: 25px; border-radius: 8px; transition: background-color .3s, color .3s; }
.rail-btn .tile svg.i { width: 14px; height: 14px; }
.rail-btn .n { margin-left: auto; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 99px; display: grid; place-items: center; font-size: 11.5px; font-weight: 600; color: var(--ink-55); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.rail-btn:hover:not([aria-selected="true"]) { background: color-mix(in srgb, var(--ink) 4%, transparent); }
.rail-btn[aria-selected="true"] { color: var(--ink); font-weight: 600; }
.rail-btn[aria-selected="true"] .tile { background: var(--tone); color: #fff; }
.rail-btn[aria-selected="true"] .n { color: var(--tone); background: color-mix(in srgb, var(--tone) 14%, transparent); }
.rail-ind {
  position: absolute; z-index: 0; left: 12px; right: 12px; top: 0; height: 35px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card);
  transition: transform .5s var(--ease); overflow: hidden;
}
.rail-ind::before { content: ""; position: absolute; left: 0; top: 7px; bottom: 7px; width: 3px; border-radius: 0 3px 3px 0; background: var(--accent); }
.rail-ind i { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--accent); opacity: .55; transform: scaleX(0); transform-origin: left; }
.rail-ind.run i { animation: prog var(--tour, 6s) linear forwards; }
@keyframes prog { to { transform: scaleX(1); } }

.pane { padding: 30px 34px 32px; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.pane [data-a] { animation: paneIn .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes paneIn { from { opacity: 0; transform: translateY(10px); } }
.px-head { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; }
.tile-lg { width: 56px; height: 56px; border-radius: 17px; display: grid; place-items: center; background: var(--tone); color: #fff; box-shadow: 0 14px 28px -14px var(--tone); }
.tile-lg svg.i { width: 26px; height: 26px; stroke-width: 1.9; }
.px-crumb { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--ink-66); }
.px-crumb svg.i { width: 13px; height: 13px; color: var(--ink-55); }
.px-head h3 { margin: 2px 0 8px; font-size: 30px; line-height: 1.15; letter-spacing: -.03em; font-weight: 600; }
.px-head p { margin: 0; font-size: 16.5px; line-height: 1.6; color: var(--ink-75); max-width: 64ch; }
.hi { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.hi span { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px 0 9px; border-radius: 99px; font-size: 13px; font-weight: 500; color: var(--ink-85); background: color-mix(in srgb, var(--tone) 9%, transparent); border: 1px solid color-mix(in srgb, var(--tone) 20%, transparent); }
.hi svg.i { width: 14px; height: 14px; color: var(--tone); stroke-width: 2.2; }

.px-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.subs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sub {
  display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; padding: 14px; border-radius: 16px;
  border: 1px solid var(--line); background: var(--surface);
  transition: transform .35s var(--ease), border-color .3s, box-shadow .35s var(--ease);
}
.sub .tile { width: 36px; height: 36px; border-radius: 11px; transition: background-color .3s, color .3s, transform .35s var(--ease); }
.sub .tile svg.i { width: 17px; height: 17px; }
.sub b { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.sub small { display: block; margin-top: 3px; font-size: 13px; line-height: 1.45; color: var(--ink-66); }
.sub:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--tone) 38%, transparent); box-shadow: 0 16px 30px -20px color-mix(in srgb, var(--tone) 70%, transparent); }
.sub:hover .tile { background: var(--tone); color: #fff; transform: rotate(-6deg); }

/* Preview: a small screen from the module */
.pv { border-radius: 18px; border: 1px solid var(--line); background: var(--paper); padding: 6px; box-shadow: var(--shadow-card); }
.pv-top { display: flex; align-items: center; gap: 10px; padding: 8px 10px 10px; }
.pv-top .dots { display: flex; gap: 5px; }
.pv-top .dots i { width: 8px; height: 8px; border-radius: 50%; background: color-mix(in srgb, var(--ink) 14%, transparent); }
.pv-top span { font-size: 12px; color: var(--ink-55); margin-left: auto; display: inline-flex; align-items: center; gap: 5px; }
.pv-top span svg.i { width: 13px; height: 13px; }
.pv-card { border-radius: 13px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.pv-title { padding: 12px 14px 10px; border-bottom: 1px solid var(--line); }
.pv-title b { display: block; font-size: 14px; font-weight: 600; }
.pv-title small { display: block; font-size: 12.5px; color: var(--ink-66); margin-top: 1px; }
.pv-row { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--line); }
.pv-row:first-of-type { border-top: 0; }
.pv-row .lead { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 11.5px; font-weight: 600; color: #fff; background: var(--tone); }
.pv-row .lead.tile { border-radius: 10px; color: var(--tone); background: color-mix(in srgb, var(--tone) 13%, transparent); }
.pv-row .lead.tile svg.i { width: 15px; height: 15px; }
.pv-row .lead.time { border-radius: 9px; background: var(--paper); color: var(--ink-75); font-size: 11px; width: 40px; margin-right: -8px; }
.pv-row .tx { min-width: 0; }
.pv-row .tx b { display: block; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-row .tx small { display: block; font-size: 12px; color: var(--ink-66); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-row .rt { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; text-align: right; }
.pv-row .rt em { font-style: normal; font-size: 13px; font-weight: 600; }
.pv-row .bar { grid-column: 2 / 4; height: 5px; border-radius: 99px; background: var(--paper-2); overflow: hidden; margin-top: -4px; }
.pv-row .bar i { display: block; height: 100%; border-radius: inherit; background: var(--tone); width: 0; animation: barIn 1.1s var(--ease) .2s forwards; }
@keyframes barIn { to { width: var(--w); } }
.bdg { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 99px; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.bdg.success { color: var(--success); background: color-mix(in srgb, var(--success) 13%, transparent); }
.bdg.warning { color: var(--warning); background: color-mix(in srgb, var(--warning) 14%, transparent); }
.bdg.danger  { color: var(--danger);  background: color-mix(in srgb, var(--danger) 12%, transparent); }
.bdg.info    { color: var(--accent);  background: color-mix(in srgb, var(--accent) 12%, transparent); }
.bdg.neutral { color: var(--ink-66);  background: color-mix(in srgb, var(--ink) 7%, transparent); }
.pv-foot { display: flex; align-items: center; gap: 8px; padding: 10px 10px 6px; font-size: 12.5px; color: var(--ink-66); }
.pv-foot svg.i { width: 14px; height: 14px; color: var(--success); }

/* See all: every module, all cards the same size */
.all-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 18px; }
.mod {
  position: relative; isolation: isolate; display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card);
  transition: transform .45s var(--ease), border-color .3s, box-shadow .45s var(--ease);
  animation: paneIn .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms);
}
.mod::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--tone) 12%, transparent), transparent 65%);
}
.mod:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--tone) 42%, transparent); box-shadow: 0 30px 50px -30px color-mix(in srgb, var(--tone) 60%, transparent); }
.mod:hover::before { opacity: 1; }
.mod:has(.mod-go:focus-visible) { outline: 2.5px solid var(--accent); outline-offset: 3px; }
.mod-top { position: relative; padding: 22px 22px 16px; background: linear-gradient(165deg, color-mix(in srgb, var(--tone) 11%, transparent), transparent 75%); }
.mod-mark { position: absolute; right: -18px; top: -18px; width: 118px !important; height: 118px !important; color: var(--tone); opacity: .09; stroke-width: 1.4 !important; transition: transform .7s var(--ease), opacity .4s; }
.mod:hover .mod-mark { transform: rotate(-12deg) scale(1.08); opacity: .16; }
.mod-head { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; }
.mod-head .tile { width: 48px; height: 48px; border-radius: 15px; background: var(--tone); color: #fff; box-shadow: 0 12px 22px -12px var(--tone); transition: transform .45s var(--ease); }
.mod-head .tile svg.i { width: 23px; height: 23px; }
.mod:hover .mod-head .tile { transform: rotate(-6deg) scale(1.05); }
.mod-head h3 { margin: 0; }
.mod-head b, .mod-head h3 { display: block; font-size: 18px; line-height: 1.2; font-weight: 600; letter-spacing: -.015em; }
.mod-head small { display: flex; align-items: center; gap: 8px; margin-top: 3px; font-size: 13px; color: var(--ink-66); }
.mod-head small i { font-style: normal; font-size: 12px; font-weight: 600; color: var(--tone); background: color-mix(in srgb, var(--tone) 13%, transparent); padding: 2px 8px; border-radius: 99px; }
.mod-desc { position: relative; margin: 14px 0 0; font-size: 14px; line-height: 1.55; color: var(--ink-75);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(1.55em * 2); }
.mod-subs { list-style: none; margin: 0; padding: 14px 22px 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px 12px; align-content: start; flex: 1; }
.mod-subs li { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13.5px; color: var(--ink-85); }
.mod-subs li span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mod-subs .g { width: 24px; height: 24px; flex: none; border-radius: 7px; display: grid; place-items: center; color: var(--tone); background: color-mix(in srgb, var(--tone) 12%, transparent); transition: background-color .3s, color .3s; }
.mod-subs .g svg.i { width: 13px; height: 13px; }
.mod:hover .mod-subs .g { background: var(--tone); color: #fff; }
.mod-subs li:nth-child(1) .g { transition-delay: 0ms; } .mod-subs li:nth-child(2) .g { transition-delay: 30ms; }
.mod-subs li:nth-child(3) .g { transition-delay: 60ms; } .mod-subs li:nth-child(4) .g { transition-delay: 90ms; }
.mod-subs li:nth-child(5) .g { transition-delay: 120ms; } .mod-subs li:nth-child(6) .g { transition-delay: 150ms; }
.mod-subs li:nth-child(7) .g { transition-delay: 180ms; }
.mod-foot { margin-top: auto; padding: 14px 22px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.mod-go { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--accent); }
.mod-go::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.mod-go:focus-visible { outline: none; }
.mod-foot .arr { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); transition: background-color .3s, color .3s, transform .45s var(--ease); }
.mod-foot .arr svg.i { width: 15px; height: 15px; }
.mod:hover .mod-foot .arr { background: var(--accent); color: #fff; transform: translateX(3px); }
@media (max-width: 1080px) { .all-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .f-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .all-grid { grid-template-columns: 1fr; } .f-stats { gap: 8px; } .stat-x { padding: 12px; gap: 10px; } .stat-x .tile { width: 36px; height: 36px; } .stat-x b { font-size: 21px; } .stat-x b.txt { font-size: 16px; } .stat-x small { font-size: 12.5px; } }

.px-foot { margin-top: auto; display: grid; grid-template-columns: 1fr auto; gap: 16px 28px; align-items: start; padding-top: 20px; border-top: 1px solid var(--line); }
.px-foot h4 { margin: 0 0 9px; font-size: 13px; font-weight: 500; color: var(--ink-66); }
.links, .who { display: flex; flex-wrap: wrap; gap: 8px; }
.link-chip { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px 0 5px; border-radius: 11px; border: 1px solid var(--line); background: var(--surface); font-size: 13.5px; font-weight: 500; color: var(--ink-85); transition: border-color .25s, transform .3s var(--ease), box-shadow .3s; }
.link-chip .tile { width: 24px; height: 24px; border-radius: 7px; }
.link-chip .tile svg.i { width: 13px; height: 13px; }
.link-chip > svg.i { width: 13px; height: 13px; color: var(--ink-55); margin-left: -2px; transition: transform .3s var(--ease); }
.link-chip:hover { border-color: color-mix(in srgb, var(--tone) 45%, transparent); transform: translateY(-1px); box-shadow: var(--shadow-card); }
.link-chip:hover > svg.i { transform: translateX(2px); color: var(--tone); }
.who span { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px 0 4px; border-radius: 99px; background: var(--paper); font-size: 13.5px; font-weight: 500; color: var(--ink-85); }
.who i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 600; color: #fff; background: var(--tone); }

@media (max-width: 1180px) {
  .px-body { grid-template-columns: 1fr; }
  .pv { max-width: 520px; }
}
@media (max-width: 960px) {
  .features { padding: 96px 0 104px; }
  .f-head { flex-direction: column; align-items: flex-start; gap: 22px; }
  .explorer { grid-template-columns: 1fr; border-radius: 22px; }
  .rail { display: flex; gap: 6px; overflow-x: auto; padding: 12px; border-right: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .rail::-webkit-scrollbar { display: none; }
  .rail-cat, .rail-ind { display: none; }
  .rail-btn { width: auto; flex: none; border: 1px solid transparent; }
  .rail-btn[aria-selected="true"] { background: var(--surface); border-color: var(--line); box-shadow: var(--shadow-card); }
  .rail-btn .n { margin-left: 2px; }
  .pane { padding: 24px 20px 24px; }
}
@media (max-width: 640px) {
  .subs { grid-template-columns: 1fr; gap: 8px; }
  .sub { padding: 12px; }
  .px-foot { grid-template-columns: 1fr; }
  .px-head { grid-template-columns: 1fr; gap: 14px; }
  .px-head h3 { font-size: 25px; }
  .seg { width: 100%; }
  .seg button { flex: 1; justify-content: center; padding: 0 10px; }
}

/* ============================================================
   Section 3: Technology, integrations and data security
   ============================================================ */
.tech { position: relative; isolation: isolate; padding: 120px 0 132px; }
.tech-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.tech-head h2 { margin: 0; font-size: clamp(2.1rem, 3.9vw, 3.2rem); line-height: 1.08; letter-spacing: -.038em; font-weight: 600; text-wrap: balance; }
.tech-head p { margin: 16px auto 0; font-size: 18px; line-height: 1.6; color: var(--ink-75); max-width: 60ch; text-wrap: pretty; }

/* Hub: services on both sides, School24h in the middle */
.hub-frame {
  position: relative; padding: 1.5px; border-radius: 30px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 50%, transparent), var(--line) 35%, var(--line) 65%, color-mix(in srgb, var(--grad-3) 50%, transparent));
  box-shadow: 0 50px 90px -55px rgba(35,64,216,.45);
}
.hub-card {
  position: relative; overflow: hidden; border-radius: 28.5px; padding: 40px 40px 28px;
  background:
    radial-gradient(50% 60% at 50% 45%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 70%),
    var(--surface);
}
.hub-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(60% 70% at 50% 45%, #000 30%, transparent 80%);
  mask-image: radial-gradient(60% 70% at 50% 45%, #000 30%, transparent 80%);
}
.hub { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 228px minmax(0, 1fr); gap: 0 88px; align-items: stretch; }
.hub .core { align-self: center; }
.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.hub-lines .ln-base { fill: none; stroke: var(--line); stroke-width: 1.5; }
.hub-lines .ln-flow { fill: none; stroke: var(--tone); stroke-width: 1.6; stroke-dasharray: 5 9; opacity: .55; animation: lnFlow 1.1s linear infinite; transition: opacity .3s, stroke-width .3s; }
.hub-lines .ln-flow.out { animation-direction: normal; }
.hub-lines .ln-flow.hot { opacity: 1; stroke-width: 2.6; }
.hub-lines .pkt { fill: var(--tone); filter: drop-shadow(0 0 4px var(--tone)); }
@keyframes lnFlow { to { stroke-dashoffset: -14; } }

.hub-col { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; justify-content: flex-start; }
.hub-label { display: flex; align-items: center; gap: 8px; margin: 0 0 2px 4px; font-size: 13.5px; font-weight: 600; color: var(--ink-66); }
.hub-label svg.i { width: 15px; height: 15px; color: var(--accent); }
.hub-col.right .hub-label { justify-content: flex-end; margin: 0 4px 2px 0; }

.node {
  position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start; padding: 16px;
  border-radius: 20px; border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
  transition: transform .45s var(--ease), border-color .3s, box-shadow .45s var(--ease);
}
.node:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--tone) 45%, transparent); box-shadow: 0 24px 44px -26px color-mix(in srgb, var(--tone) 70%, transparent); }
.node .mark { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: color-mix(in srgb, var(--tone) 12%, transparent); border: 1px solid color-mix(in srgb, var(--tone) 20%, transparent); transition: transform .5s var(--ease); }
.node:hover .mark { transform: scale(1.06) rotate(-4deg); }
.node .mark svg { width: 30px; height: 30px; }
.node.t-aws .mark svg { width: 40px; height: 28px; }
.node .mark svg.i { width: 24px; height: 24px; color: var(--tone); }
.node h3 { margin: 0; }
.node b, .node h3 { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.node p { margin: 3px 0 9px; font-size: 13.5px; line-height: 1.5; color: var(--ink-75); }
.node .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.node .tags span { font-size: 12px; font-weight: 500; padding: 3px 9px; border-radius: 99px; color: var(--ink-75); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.t-aws { --tone: #FF9900; }
.t-react { --tone: #0EA5C6; }
.t-wa { --tone: #22C35E; }
:root[data-theme="dark"] .t-react { --tone: #61DAFB; }
:root[data-theme="dark"] .t-wa { --tone: #4ADE80; }
.aws-word { fill: #232F3E; }
:root[data-theme="dark"] .aws-word { fill: #F3F4F6; }
.react-atom { animation: spin 18s linear infinite; transform-origin: center; transform-box: fill-box; }

/* The core */
.core { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 28px 18px 22px; border-radius: 28px;
  background: color-mix(in srgb, var(--surface) 88%, transparent); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 2px 4px rgba(18,24,38,.04), 0 30px 60px -30px rgba(35,64,216,.45); }
.core-mark { position: relative; width: 120px; height: 120px; display: grid; place-items: center; margin-bottom: 14px; }
.core-mark .rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.core-mark .rings circle { fill: none; stroke: color-mix(in srgb, var(--accent) 35%, transparent); stroke-width: 1; }
.core-mark .rings .r2 { stroke-dasharray: 3 6; }
.core-mark .rings .spin { transform-origin: 60px 60px; animation: spin 16s linear infinite; }
.core-mark .rings .spin.rev { animation-duration: 24s; animation-direction: reverse; }
.core-mark .rings .dot { fill: var(--accent); }
.core-mark .pulse-ring { position: absolute; inset: 22px; border-radius: 24px; border: 2px solid color-mix(in srgb, var(--accent) 45%, transparent); animation: corePulse 2.8s var(--ease) infinite; }
@keyframes corePulse { 0% { transform: scale(.85); opacity: .9; } 100% { transform: scale(1.45); opacity: 0; } }
.core-mark .logo-tile { position: relative; width: 72px; height: 72px; border-radius: 22px; box-shadow: 0 18px 32px -14px color-mix(in srgb, var(--accent) 80%, transparent); }
.core-mark .logo-tile { object-fit: contain; }
.core b { font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.core small { display: block; margin-top: 2px; font-size: 13.5px; color: var(--ink-66); }
.core .stack { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 14px; }
.core .stack span { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 99px; color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); }

.hub-foot { position: relative; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 22px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-75); }
.hub-foot span { display: inline-flex; align-items: center; gap: 8px; }
.hub-foot svg.i { width: 16px; height: 16px; color: var(--success); stroke-width: 2.3; }

@media (max-width: 1120px) {
  .hub { grid-template-columns: minmax(0, 1fr) 220px minmax(0, 1fr); gap: 0 64px; }
}
@media (max-width: 900px) {
  .tech { padding: 96px 0 104px; }
  .hub-card { padding: 26px 18px 22px; }
  .hub { grid-template-columns: 1fr; gap: 18px; }
  .hub-lines { display: none; }
  .hub::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: repeating-linear-gradient(180deg, color-mix(in srgb, var(--accent) 40%, transparent) 0 6px, transparent 6px 14px); }
  .core { order: -1; }
  .hub-col.right .hub-label { justify-content: flex-start; margin: 0 0 2px 4px; }
  .hub-label { background: var(--surface); align-self: flex-start; padding: 2px 8px; border-radius: 99px; position: relative; }
}
@media (max-width: 640px) {
  .node { grid-template-columns: 44px 1fr; padding: 14px; }
  .node .mark { width: 44px; height: 44px; border-radius: 13px; }
}

/* ============================================================
   Section 4: Data security (dark band)
   ============================================================ */
.secure { position: relative; padding: 40px 0 120px; }
.sc-band {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 36px; padding: 64px 56px 52px; color: #E8ECF5;
  background:
    radial-gradient(55% 45% at 78% 22%, rgba(59, 91, 255, .42), transparent 70%),
    radial-gradient(40% 40% at 8% 95%, rgba(14, 159, 110, .20), transparent 70%),
    radial-gradient(40% 35% at 50% 100%, rgba(124, 58, 237, .18), transparent 70%),
    #0A1020;
  box-shadow: 0 60px 100px -60px rgba(10, 16, 32, .85);
}
.sc-band::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px; -webkit-mask-image: radial-gradient(70% 60% at 70% 30%, #000, transparent 80%); mask-image: radial-gradient(70% 60% at 70% 30%, #000, transparent 80%); }
.sc-top { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; }
.sc-copy h2 { margin: 0; font-size: clamp(2.1rem, 3.9vw, 3.2rem); line-height: 1.07; letter-spacing: -.038em; font-weight: 600; color: #fff; text-wrap: balance; }
.sc-copy h2 em { font-style: normal; background: linear-gradient(100deg, #8EA2FF, #B79CFF 50%, #6EE7B7); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sc-copy > p { margin: 16px 0 34px; font-size: 18px; line-height: 1.6; color: rgba(232,236,245,.74); max-width: 52ch; }

/* The journey: readable, encrypted, delivered */
.journey { display: grid; grid-template-columns: 112px minmax(0, 1fr) 112px; gap: 12px; align-items: center; }
.jn-end { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 13px; font-weight: 500; color: rgba(232,236,245,.82); line-height: 1.3; }
.jn-end .tile { width: 52px; height: 52px; border-radius: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: #fff; }
.jn-end .tile svg.i { width: 24px; height: 24px; }
.jn-end.srv .tile { background: linear-gradient(135deg, #2340D8, #5B78FF); border-color: transparent; box-shadow: 0 12px 26px -10px rgba(59,91,255,.8); }
.jn-track { position: relative; height: 64px; }
.jn-line { position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,.25) 0 14%, #34D399 22% 78%, rgba(255,255,255,.25) 86%); opacity: .7; }
.jn-line::after { content: ""; position: absolute; inset: -6px 18% ; border-radius: 99px; background: rgba(52, 211, 153, .12); filter: blur(6px); }
.jn-zone { position: absolute; top: -2px; left: 22%; right: 22%; text-align: center; font-size: 11.5px; font-weight: 600; color: #6EE7B7; display: flex; justify-content: center; align-items: center; gap: 5px; }
.jn-zone svg.i { width: 12px; height: 12px; }
.jn-pill { position: absolute; left: 0; top: 50%; translate: 0 -50%; display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-radius: 99px; white-space: nowrap; font-size: 13px; font-weight: 600; will-change: transform;
  background: #fff; color: #121826; box-shadow: 0 10px 24px -10px rgba(0,0,0,.6); transition: background-color .3s, color .3s; }
.jn-pill svg.i { width: 14px; height: 14px; }
.jn-pill.enc { background: #0F2A22; color: #6EE7B7; border: 1px solid rgba(110,231,183,.35); font-family: ui-monospace, "SF Mono", Menlo, monospace; font-weight: 500; letter-spacing: .02em; }
.jn-pill.done { background: #34D399; color: #052e1f; }
.jn-legend { display: grid; grid-template-columns: 112px minmax(0, 1fr) 112px; gap: 12px; margin-top: 10px; font-size: 12.5px; color: rgba(232,236,245,.55); text-align: center; }

/* Shield visual */
.sc-visual { position: relative; height: 380px; display: grid; place-items: center; }
.sc-shield { position: relative; width: 300px; height: 300px; }
.sc-shield svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sc-shield .orbit-txt { font-size: 9px; letter-spacing: .16em; fill: rgba(170, 190, 255, .5); font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.sc-shield .spin-slow { transform-origin: 150px 150px; animation: spin 50s linear infinite; }
.sc-shield .spin-rev { transform-origin: 150px 150px; animation: spin 34s linear infinite reverse; }
.sc-shield .shield { filter: drop-shadow(0 22px 40px rgba(59, 91, 255, .6)); }
.sc-shield .lock-shackle { animation: shackle 4.8s var(--ease) infinite; transform-box: fill-box; transform-origin: bottom; }
@keyframes shackle { 0%, 12% { transform: translateY(-6px); } 22%, 88% { transform: translateY(0); } 100% { transform: translateY(-6px); } }
.sc-badge { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px 8px 8px; border-radius: 14px; font-size: 13px; font-weight: 600; color: #fff;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 16px 30px -18px rgba(0,0,0,.8); animation: bob 7s ease-in-out infinite; }
.sc-badge .tile { width: 28px; height: 28px; border-radius: 9px; background: var(--tone); color: #fff; }
.sc-badge .tile svg.i { width: 14px; height: 14px; }
.sc-badge.b1 { left: 0; top: 46px; }
.sc-badge.b2 { right: 0; top: 92px; animation-delay: -2s; animation-duration: 8s; }
.sc-badge.b3 { left: 12px; bottom: 70px; animation-delay: -4s; animation-duration: 7.5s; }
.sc-badge.b4 { right: 14px; bottom: 30px; animation-delay: -1s; animation-duration: 8.5s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.sc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 44px; }
.sc-item { position: relative; overflow: hidden; display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px; border-radius: 20px;
  background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.09); transition: transform .45s var(--ease), border-color .3s, background-color .3s; }
.sc-item::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .4s; pointer-events: none;
  background: radial-gradient(240px circle at 0% 0%, color-mix(in srgb, var(--tone) 28%, transparent), transparent 70%); }
.sc-item:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--tone) 55%, transparent); background: rgba(255,255,255,.07); }
.sc-item:hover::before { opacity: 1; }
.sc-item .tile { position: relative; width: 44px; height: 44px; border-radius: 13px; background: color-mix(in srgb, var(--tone) 22%, transparent); color: var(--tone); }
.sc-item .tile svg.i { width: 20px; height: 20px; }
.sc-item b { position: relative; display: block; font-size: 15.5px; font-weight: 600; color: #fff; }
.sc-item small { position: relative; display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.5; color: rgba(232,236,245,.66); }
.sc-band .t-green { --tone: #34D399; } .sc-band .t-amber { --tone: #FBBF24; } .sc-band .t-violet { --tone: #A78BFA; }
.sc-band .t-blue { --tone: #7B93FF; } .sc-band .t-teal { --tone: #2DD4BF; } .sc-band .t-slate { --tone: #A5B4CB; } .sc-band .t-rose { --tone: #FB7185; } .sc-band .t-sky { --tone: #38BDF8; }

.sc-faq { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; margin-top: 44px; padding-top: 36px; border-top: 1px solid rgba(255,255,255,.1); }
.sc-faq h3 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.02em; color: #fff; }
.sc-faq > div > p { margin: 8px 0 0; font-size: 14.5px; color: rgba(232,236,245,.62); }
.faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: start; }
.faq { border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); transition: border-color .3s, background-color .3s; }
.faq[open] { background: rgba(255,255,255,.07); border-color: rgba(142,162,255,.4); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 15px 16px; font-size: 15px; font-weight: 600; color: #fff; border-radius: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { margin-left: auto; width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); transition: transform .35s var(--ease), background-color .3s; }
.faq summary .pm svg.i { width: 14px; height: 14px; }
.faq[open] summary .pm { transform: rotate(45deg); background: #2340D8; }
.faq p { margin: 0; padding: 0 16px 16px; font-size: 14px; line-height: 1.6; color: rgba(232,236,245,.72); animation: faqIn .4s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } }

/* ============================================================
   Shared mock UI kit (web and phone previews)
   ============================================================ */
.mk-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 13px; }
.mk-h { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; font-size: 13px; font-weight: 600; }
.mk-h .tile { width: 24px; height: 24px; border-radius: 7px; }
.mk-h .tile svg.i { width: 13px; height: 13px; }
.mk-h .more { margin-left: auto; font-size: 11.5px; font-weight: 500; color: var(--accent); }
.mk-big { font-size: 22px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.mk-sub { font-size: 11.5px; color: var(--ink-66); margin-top: 2px; }
.mk-row { display: grid; grid-template-columns: 26px 1fr auto; gap: 8px; align-items: center; padding: 7px 0; border-top: 1px solid var(--line); font-size: 12px; }
.mk-row:first-of-type { border-top: 0; }
.mk-row .av { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 600; color: #fff; background: var(--tone); }
.mk-row .ic { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; color: var(--tone); background: color-mix(in srgb, var(--tone) 13%, transparent); }
.mk-row .ic svg.i { width: 13px; height: 13px; }
.mk-row b { display: block; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-row small { display: block; font-size: 10.5px; color: var(--ink-66); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-row em { font-style: normal; font-weight: 600; font-size: 12px; }
.mk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 9px; font-size: 11.5px; font-weight: 600; background: var(--accent); color: #fff; }
.mk-btn svg.i { width: 13px; height: 13px; }
.mk-btn.ghost { background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--accent); }
.mk-ring { width: 54px; height: 54px; transform: rotate(-90deg); flex: none; }
.mk-ring circle { fill: none; stroke-width: 6; }
.mk-ring .trk { stroke: var(--paper-2); }
.mk-ring .bar { stroke: var(--tone); stroke-linecap: round; }
.mk-bar { height: 6px; border-radius: 99px; background: var(--paper-2); overflow: hidden; margin-top: 8px; }
.mk-bar i { display: block; height: 100%; border-radius: inherit; background: var(--tone); }
.mk .bdg { height: 18px; font-size: 10.5px; padding: 0 7px; }

/* ============================================================
   Section 5: Web applications
   ============================================================ */
.webapps { position: relative; padding: 110px 0 120px; overflow: hidden; }
.webapps::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 40% at 90% 40%, color-mix(in srgb, var(--aurora-1) 50%, transparent), transparent 70%), radial-gradient(35% 35% at 5% 75%, color-mix(in srgb, var(--aurora-3) 60%, transparent), transparent 70%); }
.sec-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.sec-head h2 { margin: 0; font-size: clamp(2.1rem, 3.9vw, 3.2rem); line-height: 1.08; letter-spacing: -.038em; font-weight: 600; text-wrap: balance; }
.sec-head p { margin: 16px auto 0; font-size: 18px; line-height: 1.6; color: var(--ink-75); max-width: 60ch; text-wrap: pretty; }

.wa-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 26px; }
.wa-tab { position: relative; overflow: hidden; display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; padding: 14px; border-radius: 20px; text-align: left;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card); transition: border-color .3s, transform .4s var(--ease), box-shadow .4s var(--ease); }
.wa-tab .tile { width: 44px; height: 44px; border-radius: 13px; transition: background-color .3s, color .3s; }
.wa-tab .tile svg.i { width: 21px; height: 21px; }
.wa-tab b { display: block; font-size: 15.5px; font-weight: 600; }
.wa-tab small { display: block; font-size: 12.5px; color: var(--ink-66); }
.wa-tab::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--tone); transform: scaleX(0); transition: transform .45s var(--ease); }
.wa-tab:hover { transform: translateY(-2px); }
.wa-tab[aria-selected="true"] { border-color: color-mix(in srgb, var(--tone) 50%, transparent); box-shadow: 0 20px 36px -24px color-mix(in srgb, var(--tone) 70%, transparent); }
.wa-tab[aria-selected="true"] .tile { background: var(--tone); color: #fff; }
.wa-tab[aria-selected="true"]::after { transform: scaleX(1); }

.wa-body { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 36px; align-items: center; }
.wa-info [data-a] { animation: paneIn .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 50ms); }
.wa-info .who { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 8px; border-radius: 99px; font-size: 13px; font-weight: 600; color: var(--tone); background: color-mix(in srgb, var(--tone) 11%, transparent); }
.wa-info .who svg.i { width: 15px; height: 15px; }
.wa-info h3 { margin: 14px 0 10px; font-size: 30px; line-height: 1.15; letter-spacing: -.03em; font-weight: 600; }
.wa-info > p { margin: 0 0 22px; font-size: 16.5px; line-height: 1.6; color: var(--ink-75); }
.wa-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; }
.wa-list li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.wa-list .tile { width: 34px; height: 34px; border-radius: 10px; }
.wa-list .tile svg.i { width: 16px; height: 16px; }
.wa-list b { display: block; font-size: 15px; font-weight: 600; }
.wa-list small { display: block; font-size: 13.5px; color: var(--ink-66); line-height: 1.45; }
.wa-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.wa-meta span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; padding: 5px 11px; border-radius: 99px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-75); }
.wa-meta svg.i { width: 13px; height: 13px; color: var(--success); stroke-width: 2.4; }

.wa-stage-wrap { position: relative; }
.wa-stage-wrap::before { content: ""; position: absolute; inset: 10% 6% -4%; z-index: -1; border-radius: 40px; filter: blur(50px); background: radial-gradient(60% 60% at 50% 50%, color-mix(in srgb, var(--tone) 35%, transparent), transparent 70%); transition: background .5s; }
.wa-stage { width: 860px; transform-origin: top left; }
.wm { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow-float); animation: wmIn .6s var(--ease); }
@keyframes wmIn { from { opacity: 0; transform: translateY(14px) scale(.985); } }
.wm-bar { height: 38px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 14px; background: var(--surface); border-bottom: 1px solid var(--line); }
.wm-bar .dots { display: flex; gap: 6px; } .wm-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--paper-2); border: 1px solid var(--line); }
.wm-bar .url { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 14px; min-width: 260px; justify-content: center; border-radius: 7px; background: var(--paper); font-size: 11.5px; color: var(--ink-66); }
.wm-bar .url svg.i { width: 12px; height: 12px; color: var(--success); }
.wm-app { display: grid; grid-template-columns: 176px 1fr; height: 500px; }
.wm-nav { background: var(--surface); border-right: 1px solid var(--line); padding: 12px 10px; display: flex; flex-direction: column; gap: 2px; }
.wm-brand { display: flex; align-items: center; gap: 8px; padding: 4px 6px 12px; font-size: 13.5px; font-weight: 600; }
.wm-brand img { width: 24px; height: 24px; object-fit: contain; }
.wm-nav .it { display: flex; align-items: center; gap: 9px; height: 31px; padding: 0 8px; border-radius: 9px; font-size: 12.5px; font-weight: 500; color: var(--ink-85); }
.wm-nav .it .tile { width: 22px; height: 22px; border-radius: 7px; } .wm-nav .it .tile svg.i { width: 12px; height: 12px; }
.wm-nav .it.on { background: var(--paper); font-weight: 600; color: var(--ink); }
.wm-nav .it.on .tile { background: var(--tone); color: #fff; }
.wm-nav .me { margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 8px 6px 2px; border-top: 1px solid var(--line); font-size: 11.5px; }
.wm-nav .me .av { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 600; color: #fff; background: var(--tone); }
.wm-nav .me b { display: block; font-size: 12px; } .wm-nav .me small { display: block; color: var(--ink-66); font-size: 10.5px; }
.wm-main { padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.wm-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.wm-top .wt { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.wm-top p { margin: 1px 0 0; font-size: 12px; color: var(--ink-66); }
.wm-chip { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 10px 0 4px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); font-size: 12px; font-weight: 600; box-shadow: var(--shadow-sm); }
.wm-chip .av { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 9.5px; color: #fff; background: var(--tone); }
.wm-chip svg.i { width: 12px; height: 12px; color: var(--ink-55); }
.wm-search { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent); font-size: 12.5px; flex: 1; max-width: 340px; }
.wm-search svg.i { width: 14px; height: 14px; color: var(--accent); }
.wm-search .caret { width: 1.5px; height: 14px; background: var(--accent); animation: blink 1s steps(1) infinite; }
.g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.g4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.g21 { display: grid; grid-template-columns: 1.35fr 1fr; gap: 10px; }
.att-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; margin: 4px 0 10px; }
.att-grid i { height: 30px; border-radius: 8px; display: grid; place-items: center; font-style: normal; font-size: 10px; font-weight: 700; color: var(--success); background: color-mix(in srgb, var(--success) 13%, transparent); }
.att-grid i.a { color: var(--danger); background: color-mix(in srgb, var(--danger) 13%, transparent); }
.att-grid i.n { color: var(--ink-55); background: var(--paper-2); }
.mini-bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; margin-top: 8px; }
.mini-bars i { flex: 1; border-radius: 5px 5px 2px 2px; background: color-mix(in srgb, var(--tone) 32%, transparent); }
.mini-bars i:last-child { background: var(--tone); }
.wa-float { position: absolute; z-index: 2; display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; padding: 10px 14px 10px 10px; border-radius: 16px; min-width: 210px;
  background: color-mix(in srgb, var(--surface) 86%, transparent); border: 1px solid var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: var(--shadow-float); animation: floatPop .7s var(--ease) both .3s, bob 7s ease-in-out 1s infinite; }
.wa-float .tile { width: 34px; height: 34px; border-radius: 10px; background: var(--tone); color: #fff; }
.wa-float .tile svg.i { width: 16px; height: 16px; }
.wa-float b { display: block; font-size: 13px; font-weight: 600; } .wa-float small { display: block; font-size: 12px; color: var(--ink-66); }
.wa-float.f-a { right: -18px; top: 36px; } .wa-float.f-b { left: -26px; bottom: 34px; animation-delay: .45s, 2s; }
@keyframes floatPop { from { opacity: 0; transform: translateY(12px) scale(.94); } }

/* ============================================================
   Section 6: Mobile applications
   ============================================================ */
.mobile { position: relative; padding: 100px 0 110px; overflow: hidden; }
.mobile::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--accent) 5%, transparent) 25%, color-mix(in srgb, var(--accent) 5%, transparent) 75%, transparent); }
.mb-ctrl { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; margin-bottom: 18px; }
.os-seg { position: relative; display: inline-flex; padding: 4px; border-radius: 16px; background: var(--paper-2); border: 1px solid var(--line); }
.os-seg button { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 12px; font-size: 15px; font-weight: 600; color: var(--ink-66); transition: color .25s; }
.os-seg button svg.i { width: 19px; height: 19px; }
.os-seg button[data-os="android"] svg.i { color: #3DDC84; }
.os-seg button[aria-pressed="true"] { color: var(--ink); }
.os-pill { position: absolute; top: 4px; bottom: 4px; left: 0; border-radius: 12px; background: var(--surface); box-shadow: var(--shadow-card); transition: transform .5s var(--ease), width .5s var(--ease); }
.role-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 8px; }
.role-chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 6px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); font-size: 14.5px; font-weight: 600; color: var(--ink-85); transition: border-color .3s, background-color .3s, color .3s, transform .3s var(--ease); }
.role-chip .tile { width: 28px; height: 28px; border-radius: 50%; }
.role-chip .tile svg.i { width: 14px; height: 14px; }
.role-chip:hover { transform: translateY(-1px); }
.role-chip[aria-pressed="true"] { background: var(--tone); border-color: var(--tone); color: #fff; }
.role-chip[aria-pressed="true"] .tile { background: rgba(255,255,255,.2); color: #fff; }

.mb-stage { position: relative; height: 680px; display: flex; justify-content: center; align-items: center; perspective: 1600px; }
.mb-stage::before { content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%; left: 50%; top: 50%; translate: -50% -50%; z-index: -1;
  background: radial-gradient(circle, color-mix(in srgb, var(--tone, var(--accent)) 30%, transparent), transparent 65%); filter: blur(20px); transition: background .6s; }
.mb-ring { position: absolute; left: 50%; top: 50%; translate: -50% -50%; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--accent) 25%, transparent); pointer-events: none; }
.mb-ring.r1 { width: 520px; height: 520px; animation: spin 80s linear infinite; }
.mb-ring.r2 { width: 700px; height: 700px; animation: spin 120s linear infinite reverse; }
.mb-ring.r1::after, .mb-ring.r2::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.mb-ring.r2::after { background: #3DDC84; top: 50%; left: -5px; }

#phones { position: absolute; inset: 0; }
.phone { position: absolute; left: 50%; top: 50%; margin: -300px 0 0 -145px; width: 290px; height: 600px; padding: 11px; border-radius: 48px; background: linear-gradient(145deg, #2A3142, #0E121B 40%, #1B2130); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.12), 0 50px 80px -40px rgba(10,16,40,.7), 0 20px 40px -20px rgba(10,16,40,.5);
  transition: transform .8s var(--ease), border-radius .6s var(--ease), opacity .6s, filter .6s; cursor: default; }
.phone::before, .phone::after { content: ""; position: absolute; width: 3px; border-radius: 2px; background: #2A3142; }
.phone::before { right: -3px; top: 150px; height: 66px; }
.phone::after { left: -3px; top: 120px; height: 44px; }
.phone .scr { position: relative; height: 100%; overflow: hidden; border-radius: 38px; background: var(--paper); transition: border-radius .6s var(--ease); display: flex; flex-direction: column; }
.phone .cam { position: absolute; z-index: 5; left: 50%; top: 10px; translate: -50% 0; width: 92px; height: 27px; border-radius: 20px; background: #05070C; transition: width .5s var(--ease), height .5s var(--ease), top .5s var(--ease); }
.phone .sbar { position: relative; z-index: 4; height: 46px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 6px 26px 0; font-size: 13px; font-weight: 600; color: #fff; }
.phone .sbar .ic { display: flex; align-items: center; gap: 5px; }
.phone .sbar .ic i { display: block; background: #fff; border-radius: 2px; }
.phone .sbar .sig { width: 15px; height: 9px; clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.phone .sbar .bat { width: 22px; height: 10px; border-radius: 3px !important; position: relative; }
.phone .home { position: absolute; z-index: 5; left: 50%; bottom: 7px; translate: -50% 0; width: 110px; height: 4.5px; border-radius: 3px; background: color-mix(in srgb, var(--ink) 55%, transparent); }
/* Android look */
.mb-stage[data-os="android"] .phone { border-radius: 36px; padding: 9px; }
.mb-stage[data-os="android"] .phone .scr { border-radius: 28px; }
.mb-stage[data-os="android"] .phone .cam { width: 13px; height: 13px; top: 14px; }
.mb-stage[data-os="android"] .phone .sbar { padding: 4px 20px 0; height: 40px; font-size: 12.5px; }
.mb-stage[data-os="android"] .phone .home { width: 90px; height: 4px; }

.phone.center { z-index: 3; transform: translateX(0) scale(1); }
.phone.left { z-index: 2; transform: translateX(-250px) translateZ(-120px) rotateY(18deg) scale(.86); filter: saturate(.9); opacity: .9; cursor: pointer; }
.phone.right { z-index: 2; transform: translateX(250px) translateZ(-120px) rotateY(-18deg) scale(.86); filter: saturate(.9); opacity: .9; cursor: pointer; }
.phone.left:hover, .phone.right:hover { opacity: 1; filter: none; }
.phone.hide { z-index: 1; transform: translateX(0) translateZ(-300px) scale(.7); opacity: 0; pointer-events: none; }

/* App screens */
.app-hd { position: relative; margin-top: -46px; padding: 54px 18px 20px; color: #fff; background: linear-gradient(150deg, var(--tone), color-mix(in srgb, var(--tone) 55%, #121826)); border-radius: 0 0 26px 26px; flex: none; }
.mb-stage[data-os="android"] .app-hd { margin-top: -40px; padding-top: 48px; }
.app-hd small { display: block; font-size: 12px; opacity: .8; }
.app-hd b { display: block; font-size: 20px; font-weight: 600; letter-spacing: -.02em; margin-top: 1px; }
.app-hd .kid { position: absolute; right: 16px; bottom: 20px; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px 0 3px; border-radius: 99px; background: rgba(255,255,255,.18); font-size: 11.5px; font-weight: 600; }
.app-hd .kid i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 9.5px; background: #fff; color: var(--tone); }
.app-bd { flex: 1; padding: 12px 12px 0; display: flex; flex-direction: column; gap: 9px; overflow: hidden; }
.app-bd .mk-card { padding: 11px 12px; border-radius: 16px; }
.app-tab { flex: none; display: grid; grid-template-columns: repeat(4, 1fr); padding: 8px 6px 20px; background: var(--surface); border-top: 1px solid var(--line); }
.app-tab span { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 9.5px; font-weight: 600; color: var(--ink-55); }
.app-tab span svg.i { width: 18px; height: 18px; }
.app-tab span.on { color: var(--tone); }
.mb-stage[data-os="android"] .app-tab { padding-bottom: 16px; }
.tgl { display: inline-flex; gap: 3px; }
.tgl i { font-style: normal; width: 24px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-size: 10px; font-weight: 700; color: var(--ink-55); background: var(--paper-2); }
.tgl i.p { background: var(--success); color: #fff; } .tgl i.x { background: var(--danger); color: #fff; }

.mb-callouts { position: absolute; inset: 0; pointer-events: none; z-index: 6; }
.mb-call { position: absolute; display: grid; grid-template-columns: 38px 1fr; gap: 11px; align-items: center; width: 212px; padding: 12px 14px 12px 12px; border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 84%, transparent); border: 1px solid var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--shadow-float); animation: bob 8s ease-in-out infinite; }
.mb-call .tile { width: 38px; height: 38px; border-radius: 12px; background: var(--tone); color: #fff; }
.mb-call .tile svg.i { width: 18px; height: 18px; }
.mb-call b { display: block; font-size: 13.5px; font-weight: 600; } .mb-call small { display: block; font-size: 12px; color: var(--ink-66); line-height: 1.4; }
.mb-call.c1 { left: 0; top: 90px; } .mb-call.c2 { left: 30px; bottom: 110px; animation-delay: -3s; }
.mb-call.c3 { right: 0; top: 130px; animation-delay: -5s; } .mb-call.c4 { right: 24px; bottom: 80px; animation-delay: -1.5s; }

.mb-roles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 10px; }
.mb-role { position: relative; overflow: hidden; padding: 20px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card); text-align: left; transition: transform .45s var(--ease), border-color .3s, box-shadow .45s var(--ease); }
.mb-role::before { content: ""; position: absolute; inset: 0 0 auto; height: 70px; background: linear-gradient(180deg, color-mix(in srgb, var(--tone) 12%, transparent), transparent); pointer-events: none; }
.mb-role:hover, .mb-role.on { transform: translateY(-4px); border-color: color-mix(in srgb, var(--tone) 45%, transparent); box-shadow: 0 26px 44px -28px color-mix(in srgb, var(--tone) 70%, transparent); }
.mb-role .tile { position: relative; width: 44px; height: 44px; border-radius: 13px; background: var(--tone); color: #fff; margin-bottom: 12px; }
.mb-role .tile svg.i { width: 21px; height: 21px; }
.mb-role b { position: relative; display: block; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.mb-role ul { list-style: none; margin: 10px 0 14px; padding: 0; display: grid; gap: 7px; }
.mb-role li { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; color: var(--ink-75); line-height: 1.4; }
.mb-role li svg.i { width: 14px; height: 14px; margin-top: 2px; color: var(--tone); stroke-width: 2.4; flex: none; }
.mb-role .plats { display: flex; gap: 6px; }
.mb-role .plats span { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 4px 10px 4px 7px; border-radius: 99px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-85); }
.mb-role .plats svg.i { width: 14px; height: 14px; }
.mb-role .plats .and svg.i { color: #3DDC84; }

@media (max-width: 1180px) {
  .mb-callouts { display: none; }
  .mb-roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wa-body { grid-template-columns: 1fr; }
  .wa-info { max-width: 640px; }
  .wa-float.f-a { right: 8px; } .wa-float.f-b { left: 8px; }
}
@media (max-width: 1000px) {
  .sc-band { padding: 44px 28px 36px; border-radius: 28px; }
  .sc-top { grid-template-columns: 1fr; }
  .sc-visual { height: 330px; }
  .sc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sc-faq { grid-template-columns: 1fr; gap: 18px; }
  .wa-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .mb-stage { height: 560px; }
  .phone.left, .phone.right { opacity: 0; pointer-events: none; }
  .phone.center { transform: scale(.86); }
  .mb-ring.r2 { display: none; }
}
@media (max-width: 640px) {
  .secure { padding: 20px 0 90px; }
  .sc-band { padding: 34px 18px 26px; border-radius: 24px; margin: 0 -4px; }
  .sc-grid, .faq-list { grid-template-columns: 1fr; }
  .journey, .jn-legend { grid-template-columns: 64px minmax(0, 1fr) 64px; gap: 6px; }
  .jn-end b { display: none; }
  .jn-end .tile { width: 46px; height: 46px; }
  .jn-legend { font-size: 11px; }
  .sc-badge.b1, .sc-badge.b3 { left: -6px; } .sc-badge.b2, .sc-badge.b4 { right: -6px; }
  .sc-shield { width: 240px; height: 240px; }
  .webapps { padding: 84px 0 90px; }
  .wa-tabs { gap: 8px; }
  .wa-tab { grid-template-columns: 1fr; gap: 8px; padding: 12px; }
  .wa-tab small { display: none; }
  .wa-float { display: none; }
  .mobile { padding: 80px 0 90px; }
  .mb-stage { height: 520px; margin: 0 -16px; }
  .phone.center { transform: scale(.8); }
  .mb-roles { grid-template-columns: 1fr; }
}

/* ============================================================
   Section 7: Testimonials
   ============================================================ */
section[id] { scroll-margin-top: 76px; }
.quotes { position: relative; isolation: isolate; padding: 112px 0 116px; overflow: hidden; }
.quotes::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(45% 40% at 85% 20%, color-mix(in srgb, var(--aurora-2) 55%, transparent), transparent 70%),
              radial-gradient(40% 40% at 10% 85%, color-mix(in srgb, var(--aurora-1) 45%, transparent), transparent 70%); }
.q-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 34px; }
.q-head h2 { margin: 0; font-size: clamp(2.1rem, 3.9vw, 3.2rem); line-height: 1.08; letter-spacing: -.038em; font-weight: 600; max-width: 18ch; text-wrap: balance; }
.q-head p { margin: 14px 0 0; font-size: 18px; line-height: 1.6; color: var(--ink-75); max-width: 52ch; }
.q-ctrl { display: flex; align-items: center; gap: 10px; flex: none; }
.q-btn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--input); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); transition: background-color .25s, color .25s, border-color .25s, transform .3s var(--ease); }
.q-btn svg.i { width: 20px; height: 20px; }
.q-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-1px); }
.q-btn:disabled { opacity: .4; pointer-events: none; }

.q-viewport { position: relative; margin: 0 -24px; }
.q-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 12px 24px 34px; scrollbar-width: none; overscroll-behavior-x: contain; }
.q-track::-webkit-scrollbar { display: none; }
.q-card {
  position: relative; flex: 0 0 calc((100% - 48px - 40px) / 3); scroll-snap-align: start; scroll-margin-left: 24px;
  display: flex; flex-direction: column; padding: 26px 26px 22px; border-radius: 26px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card);
  transition: transform .5s var(--ease), border-color .3s, box-shadow .5s var(--ease);
}
.q-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--tone) 40%, transparent); box-shadow: 0 30px 50px -30px color-mix(in srgb, var(--tone) 60%, transparent); }
.q-card .qmark { position: absolute; right: 22px; top: 18px; width: 54px; height: 54px; color: var(--tone); opacity: .14; transition: transform .6s var(--ease), opacity .4s; }
.q-card:hover .qmark { transform: translateY(-3px) rotate(-6deg); opacity: .28; }
.stars { display: flex; gap: 3px; color: #F5A524; }
.stars svg.i { width: 18px; height: 18px; }
.stars .off { color: color-mix(in srgb, var(--ink) 15%, transparent); }
.q-card blockquote { margin: 16px 0 18px; font-size: 16.5px; line-height: 1.65; color: var(--ink-85); flex: 1; }
.q-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.q-chips span { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 4px 10px 4px 8px; border-radius: 99px; color: var(--tone); background: color-mix(in srgb, var(--tone) 11%, transparent); }
.q-chips svg.i { width: 12px; height: 12px; stroke-width: 2.3; }
.q-who { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: center; padding-top: 18px; border-top: 1px solid var(--line); }
.q-who .av { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; font-weight: 600; color: #fff; background: var(--tone); box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px color-mix(in srgb, var(--tone) 30%, transparent); }
.q-who b { display: block; font-size: 15px; font-weight: 600; }
.q-who small { display: block; font-size: 13px; color: var(--ink-66); line-height: 1.4; }
.q-who small.sch { display: flex; align-items: center; gap: 5px; color: var(--ink-75); }
.q-who small.sch svg.i { width: 13px; height: 13px; color: var(--tone); }
.q-dots { display: flex; justify-content: center; gap: 8px; }
.q-dots button { width: 8px; height: 8px; border-radius: 99px; background: color-mix(in srgb, var(--ink) 18%, transparent); transition: width .45s var(--ease), background-color .3s; }
.q-dots button[aria-current="true"] { width: 28px; background: var(--accent); }

/* ============================================================
   Section 8: Enquiry form
   ============================================================ */
.contact { position: relative; padding: 40px 0 120px; }
.contact-frame { padding: 1.5px; border-radius: 30px; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 55%, transparent), var(--line) 40%, var(--line) 60%, color-mix(in srgb, var(--grad-2) 45%, transparent)); box-shadow: 0 50px 90px -55px rgba(35,64,216,.45); }
.contact-card { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); border-radius: 28.5px; overflow: hidden; background: var(--surface); }
.c-side {
  position: relative; overflow: hidden; padding: 44px 40px; color: #E8ECF5; display: flex; flex-direction: column;
  background: radial-gradient(70% 50% at 20% 0%, rgba(59,91,255,.45), transparent 70%), radial-gradient(50% 40% at 100% 100%, rgba(124,58,237,.30), transparent 70%), #0B1120;
}
.c-side::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .45;
  background-image: radial-gradient(rgba(255,255,255,.10) 1px, transparent 1px); background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 75%); mask-image: linear-gradient(180deg, #000, transparent 75%); }
.c-side > * { position: relative; }
.c-side h2 { margin: 0; font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.08; letter-spacing: -.035em; font-weight: 600; color: #fff; text-wrap: balance; }
.c-side > p { margin: 14px 0 30px; font-size: 16.5px; line-height: 1.6; color: rgba(232,236,245,.75); max-width: 42ch; }
.steps { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 18px; counter-reset: step; }
.steps li { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; counter-increment: step; }
.steps li::before { content: counter(step); width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font-weight: 600; font-size: 15px; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 17.5px; top: 40px; bottom: -16px; width: 1px; background: linear-gradient(rgba(255,255,255,.25), rgba(255,255,255,.05)); }
.steps b { display: block; font-size: 15.5px; font-weight: 600; color: #fff; }
.steps span { display: block; font-size: 14px; color: rgba(232,236,245,.68); margin-top: 2px; }
.c-ways { margin-top: auto; display: grid; gap: 10px; }
.c-way { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.10); transition: background-color .25s, border-color .25s, transform .3s var(--ease); }
.c-way:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.22); transform: translateX(3px); }
.c-way .tile { width: 38px; height: 38px; border-radius: 12px; background: var(--tone); color: #fff; }
.c-way .tile svg.i { width: 18px; height: 18px; }
.c-way small { display: block; font-size: 12.5px; color: rgba(232,236,245,.6); }
.c-way b { display: block; font-size: 15px; font-weight: 600; color: #fff; }

.c-form { position: relative; padding: 40px 40px 36px; }
.c-form h3 { margin: 0 0 4px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.c-form > p, .c-form form > p.lead-in { margin: 0 0 24px; font-size: 15px; color: var(--ink-66); }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 16px; }
.f-grid .full { grid-column: 1 / -1; }
.field label { display: flex; align-items: center; gap: 7px; margin-bottom: 7px; font-size: 14px; font-weight: 500; color: var(--ink-85); }
.field label svg.i { width: 15px; height: 15px; color: var(--tone); }
.field label .req { color: var(--danger); margin-left: -3px; }
.ctl { position: relative; }
.ctl > svg.i { position: absolute; left: 14px; top: 15px; width: 18px; height: 18px; color: var(--ink-55); pointer-events: none; transition: color .2s; }
.ctl input, .ctl select, .ctl textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: var(--surface);
  border: 1px solid var(--input); border-radius: 13px; padding: 0 14px 0 42px; height: 48px; outline: none;
  transition: border-color .2s, box-shadow .25s var(--ease), background-color .2s;
}
.ctl select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 40px; }
.ctl .chev { position: absolute; right: 14px; top: 15px; width: 18px; height: 18px; color: var(--ink-55); pointer-events: none; }
.ctl textarea { height: auto; min-height: 132px; padding: 13px 14px 13px 42px; resize: vertical; line-height: 1.55; }
.ctl input::placeholder, .ctl textarea::placeholder { color: var(--ink-55); }
.ctl input:hover, .ctl select:hover, .ctl textarea:hover { border-color: color-mix(in srgb, var(--ink) 30%, transparent); }
.ctl input:focus, .ctl select:focus, .ctl textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
.ctl:focus-within > svg.i { color: var(--accent); }
.field.bad input, .field.bad select, .field.bad textarea { border-color: var(--danger); box-shadow: 0 0 0 4px color-mix(in srgb, var(--danger) 12%, transparent); }
.field.bad .ctl > svg.i { color: var(--danger); }
.err { display: none; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; color: var(--danger); }
.err svg.i { width: 14px; height: 14px; }
.field.bad .err { display: flex; animation: errIn .35s var(--ease); }
@keyframes errIn { from { opacity: 0; transform: translateY(-4px); } }
.count { position: absolute; right: 12px; bottom: 10px; font-size: 12px; color: var(--ink-55); pointer-events: none; }
.f-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; flex-wrap: wrap; }
.f-foot small { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ink-66); }
.f-foot small svg.i { width: 15px; height: 15px; color: var(--success); }
.btn .spin-i { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .8s linear infinite; }
.btn.loading .spin-i { display: inline-block; }
.btn.loading .send-i { display: none; }
.btn.loading { pointer-events: none; opacity: .9; }

.c-done { display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 100%; padding: 30px 10px; }
.c-form.sent form { display: none; }
.c-form.sent .c-done { display: flex; animation: paneIn .6s var(--ease); }
.c-done .ok { width: 88px; height: 88px; margin-bottom: 18px; }
.c-done .ok circle { fill: color-mix(in srgb, var(--success) 12%, transparent); stroke: var(--success); stroke-width: 2.5; stroke-dasharray: 260; stroke-dashoffset: 260; }
.c-done .ok path { fill: none; stroke: var(--success); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; }
.c-form.sent .ok circle { animation: draw .8s var(--ease) forwards; }
.c-form.sent .ok path { animation: draw .5s var(--ease) .55s forwards; }
.c-done h3 { font-size: 24px; margin: 0 0 6px; }
.c-done p { margin: 0 0 22px; font-size: 15.5px; color: var(--ink-75); max-width: 40ch; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { border-top: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 60%, var(--page)); }
.f-row { display: flex; align-items: center; justify-content: space-between; gap: 14px 28px; flex-wrap: wrap; padding-top: 26px; padding-bottom: 26px; }
.f-left { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 14px; color: var(--ink-66); }
.f-left .logo { font-size: 16px; color: var(--ink); }
.f-left .logo img { width: 156px; height: 52px; }
.f-left .sep { width: 1px; height: 18px; background: var(--line); }
.f-right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.f-link { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 6px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 500; color: var(--ink-85); transition: border-color .25s, transform .3s var(--ease); }
.f-link .tile { width: 28px; height: 28px; border-radius: 50%; }
.f-link .tile svg.i { width: 14px; height: 14px; }
.f-link:hover { border-color: color-mix(in srgb, var(--tone) 45%, transparent); transform: translateY(-1px); }

@media (max-width: 1080px) {
  .q-card { flex-basis: calc((100% - 48px - 20px) / 2); }
  .contact-card { grid-template-columns: 1fr; }
  .c-ways { margin-top: 0; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .quotes { padding: 88px 0 90px; }
  .q-head { flex-direction: column; align-items: flex-start; }
  .q-viewport { margin: 0 -16px; }
  .q-track { padding: 10px 16px 28px; gap: 14px; }
  .q-card { flex-basis: 86%; scroll-margin-left: 16px; padding: 22px 20px 20px; }
  .c-side { padding: 30px 22px; }
  .c-form { padding: 28px 20px 26px; }
  .f-grid { grid-template-columns: 1fr; }
  .c-ways { grid-template-columns: 1fr; }
  .f-foot .btn { width: 100%; }
  .f-row { flex-direction: column; align-items: flex-start; }
  .f-left .sep { display: none; }
}

/* Sign in / Dashboard: hidden for a moment while a saved sign-in is checked */
html[data-session="checking"] [data-session-link] { visibility: hidden; }
[data-session-link] { transition: opacity .25s var(--ease); }

/* ============================================================
   Floating contact bar (left edge)
   ============================================================ */
.cdock { position: fixed; left: 0; top: 50%; z-index: 40; translate: 0 -50%; pointer-events: none; }
.cdock-panel {
  pointer-events: auto; position: relative; display: flex; flex-direction: column; align-items: center; gap: 9px;
  padding: 12px 9px 10px 8px; border-radius: 0 24px 24px 0;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid var(--line); border-left: 0;
  box-shadow: 0 2px 6px rgba(18,24,38,.06), 0 24px 50px -22px rgba(25,40,120,.38);
  transform: translateX(0); opacity: 1;
  transition: transform .55s var(--ease), opacity .4s var(--ease);
  animation: dockIn .8s var(--ease) 1s both;
}
.cdock-panel::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, #25D366, var(--accent), #EA580C); }
@keyframes dockIn { from { transform: translateX(-110%); opacity: 0; } }
.cdock-label { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 2px 0 4px; font-size: 11px; font-weight: 600; letter-spacing: .02em;
  color: var(--ink-66); writing-mode: vertical-rl; transform: rotate(180deg); }
.cdock-label i { width: 7px; height: 7px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 3px color-mix(in srgb, #22C55E 22%, transparent); }

.cd-btn, .cd-close { position: relative; display: grid; place-items: center; flex: none; border-radius: 50%; color: var(--tone); transition: transform .35s var(--ease), background-color .25s, color .25s, box-shadow .35s var(--ease); }
.cd-btn { width: 46px; height: 46px; background: color-mix(in srgb, var(--tone) 13%, transparent); border: 1px solid color-mix(in srgb, var(--tone) 24%, transparent); }
.cd-btn svg.i { width: 21px; height: 21px; stroke-width: 1.9; }
.cd-btn.wa { --tone: #1FAF55; } .cd-btn.mail { --tone: var(--accent); } .cd-btn.call { --tone: #EA580C; }
:root[data-theme="dark"] .cd-btn.wa { --tone: #4ADE80; } :root[data-theme="dark"] .cd-btn.call { --tone: #FB923C; }
.cd-btn:hover, .cd-btn:focus-visible { background: var(--tone); color: #fff; transform: scale(1.08); box-shadow: 0 10px 22px -8px var(--tone); }
.cd-btn.wa::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 2px solid var(--tone); opacity: 0; animation: waPing 4.5s var(--ease) 2.2s infinite; pointer-events: none; }
@keyframes waPing { 0% { transform: scale(1); opacity: .7; } 30%, 100% { transform: scale(1.55); opacity: 0; } }
.cd-close { width: 30px; height: 30px; margin-top: 2px; color: var(--ink-66); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.cd-close svg.i { width: 16px; height: 16px; }
.cd-close:hover, .cd-close:focus-visible { color: var(--ink); background: color-mix(in srgb, var(--ink) 12%, transparent); }

/* Tooltips open to the right */
.cd-tip { position: absolute; left: calc(100% + 16px); top: 50%; display: flex; flex-direction: column; gap: 1px; padding: 8px 12px; border-radius: 12px; white-space: nowrap; text-align: left;
  background: #0B1120; color: #fff; box-shadow: 0 14px 30px -14px rgba(11,17,32,.7); pointer-events: none;
  opacity: 0; transform: translate(-8px, -50%); transition: opacity .25s var(--ease), transform .35s var(--ease); }
.cd-tip::before { content: ""; position: absolute; left: -5px; top: 50%; width: 10px; height: 10px; margin-top: -5px; background: inherit; border-radius: 2px; transform: rotate(45deg); }
.cd-tip b { font-size: 13px; font-weight: 600; }
.cd-tip small { font-size: 12px; color: rgba(255,255,255,.72); }
:root[data-theme="dark"] .cd-tip { background: #fff; color: #0B1120; }
:root[data-theme="dark"] .cd-tip small { color: rgba(11,17,32,.65); }
@media (hover: hover) {
  .cd-btn:hover .cd-tip, .cd-close:hover .cd-tip { opacity: 1; transform: translate(0, -50%); }
}
.cd-btn:focus-visible .cd-tip, .cd-close:focus-visible .cd-tip { opacity: 1; transform: translate(0, -50%); }

/* The tab it folds into */
.cdock-tab {
  pointer-events: auto; position: absolute; left: 0; top: 50%; display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 12px 8px 10px 7px; border-radius: 0 16px 16px 0; color: #fff;
  background: linear-gradient(160deg, var(--accent), #7C3AED); box-shadow: 0 14px 28px -12px color-mix(in srgb, var(--accent) 80%, transparent);
  transform: translate(-110%, -50%); opacity: 0; visibility: hidden;
  transition: transform .5s var(--ease), opacity .3s, visibility 0s linear .5s, padding .3s var(--ease);
}
.cdock-tab svg.i { width: 19px; height: 19px; }
.cdock-tab .chev { width: 14px; height: 14px; opacity: .8; transition: transform .3s var(--ease); }
.cdock-tab:hover { padding-left: 11px; }
.cdock-tab:hover .chev { transform: translateX(2px); }
.cdock.collapsed .cdock-panel { transform: translateX(-115%); opacity: 0; pointer-events: none; animation: none; }
.cdock.collapsed .cdock-tab { transform: translate(0, -50%); opacity: 1; visibility: visible; transition: transform .55s var(--ease) .15s, opacity .3s .15s, visibility 0s, padding .3s var(--ease); }

@media (max-width: 640px) {
  .cdock { top: auto; bottom: 18px; translate: none; }
  .cdock-panel { gap: 7px; padding: 9px 7px 8px 6px; border-radius: 0 20px 20px 0; }
  .cdock-label { display: none; }
  .cd-btn { width: 40px; height: 40px; }
  .cd-btn svg.i { width: 18px; height: 18px; }
  .cd-close { width: 26px; height: 26px; }
  .cdock-tab { top: auto; bottom: 0; transform: translate(-110%, 0); }
  .cdock.collapsed .cdock-tab { transform: translate(0, 0); }
}
@media print { .cdock { display: none; } }

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .ticker-track { animation: none !important; flex-wrap: wrap; width: auto; justify-content: center; }
  .ticker { -webkit-mask-image: none; mask-image: none; }
  .ticker-track [aria-hidden="true"] { display: none; }
  .stage-tilt { transform: none !important; }
  .live .caret { display: none; }
  .hub-lines .pkt { display: none; }
  .cd-btn.wa::after { display: none; }
}
/* Enquiry form: a message for errors that belong to no single field */
.f-error { display: flex; align-items: flex-start; gap: 8px; margin: 18px 0 0; padding: 11px 14px; border-radius: 12px; font-size: 14px; color: var(--danger); background: color-mix(in srgb, var(--danger) 9%, transparent); border: 1px solid color-mix(in srgb, var(--danger) 25%, transparent); }
.f-error[hidden] { display: none; }
.f-error svg.i { width: 16px; height: 16px; margin-top: 2px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Mobile apps: store download buttons */
.store-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: -6px 0 10px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px; height: 58px; padding: 0 22px 0 18px; border-radius: 16px;
  background: #0B1120; color: #fff; border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 14px 30px -16px rgba(11,17,32,.7); transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s;
}
.store-btn svg { width: 26px; height: 26px; flex: none; }
.store-btn svg.i { color: #fff; }
.store-btn small { display: block; font-size: 11.5px; line-height: 1.1; color: rgba(255,255,255,.75); }
.store-btn b { display: block; font-size: 18px; line-height: 1.15; font-weight: 600; letter-spacing: -.01em; }
.store-btn:hover { transform: translateY(-2px); background: #141C33; box-shadow: 0 20px 36px -18px rgba(11,17,32,.8); }
:root[data-theme="dark"] .store-btn { background: #fff; color: #0B1120; border-color: transparent; }
:root[data-theme="dark"] .store-btn small { color: rgba(11,17,32,.65); }
:root[data-theme="dark"] .store-btn svg.i { color: #0B1120; }
:root[data-theme="dark"] .store-btn:hover { background: #E8ECF5; }
.store-btn.is-soon { cursor: default; opacity: .78; }
.store-btn.is-soon:hover { transform: none; background: #0B1120; box-shadow: 0 14px 30px -16px rgba(11,17,32,.7); }
:root[data-theme="dark"] .store-btn.is-soon:hover { background: #fff; }
.store-note { margin: 0 0 30px; text-align: center; font-size: 14px; color: var(--ink-66); }
@media (max-width: 640px) { .store-row { gap: 10px; } .store-btn { height: 54px; padding: 0 16px 0 14px; } .store-btn b { font-size: 16px; } }
