/* NQ School - marketing site */

:root {
    --sky-50:  #f0f9ff;
    --sky-100: #e0f2fe;
    --sky-200: #bae6fd;
    --sky-300: #7dd3fc;
    --sky-400: #38bdf8;
    --sky-500: #0ea5e9;
    --sky-600: #0284c7;
    --sky-700: #0369a1;
    --sky-800: #075985;
    --sky-900: #0c4a6e;
    --sky-950: #082f49;

    --white:    #ffffff;
    --gray-50:  #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    --emerald-50:  #ecfdf5;
    --emerald-600: #059669;
    --amber-50:    #fffbeb;
    --amber-500:   #f59e0b;
    --amber-600:   #d97706;
    --rose-50:     #fff1f2;
    --rose-500:    #f43f5e;
    --rose-600:    #e11d48;
    --violet-50:   #f5f3ff;
    --violet-600:  #7c3aed;

    --canvas:      var(--gray-50);
    --surface:     var(--white);
    --card-border: var(--gray-100);
    --hairline:    var(--gray-200);
    --text:        var(--gray-900);
    --text-mid:    var(--gray-600);
    --text-soft:   var(--gray-500);
    --primary:     var(--sky-700);

    --on-deep:      #eaf4fb;
    --on-deep-soft: #9fc2da;
    --deep-line:    rgba(255, 255, 255, .12);

    --shadow-sm: 0 1px 2px 0 rgba(16, 24, 40, .05);
    --shadow-md: 0 4px 6px -1px rgba(16, 24, 40, .07), 0 2px 4px -2px rgba(16, 24, 40, .05);
    --shadow-lg: 0 12px 20px -8px rgba(8, 47, 73, .16), 0 4px 8px -4px rgba(8, 47, 73, .08);
    --shadow-float: 0 24px 48px -20px rgba(8, 47, 73, .45), 0 8px 16px -8px rgba(8, 47, 73, .3);

    --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
    --font-body:    "Public Sans", "Segoe UI", system-ui, sans-serif;
    --font-mono:    "IBM Plex Mono", ui-monospace, Consolas, monospace;

    --r-md: 8px;
    --r-lg: 12px;
    --r-xl: 16px;

    --gutter: 20px;
    --maxw:   1180px;

    color-scheme: light;
}

/* Base */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
    margin: 0;
    background: var(--canvas);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

html, body { overflow-x: hidden; overflow-x: clip; max-width: 100%; }
section, .hero, .foot { overflow-x: hidden; overflow-x: clip; }
img, svg { max-width: 100%; }
img { display: block; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.15;
    text-wrap: balance;
    color: var(--text);
    margin: 0;
}

p { margin: 0; }
a { color: inherit; }

:focus-visible {
    outline: 2px solid var(--sky-500);
    outline-offset: 2px;
    border-radius: 4px;
}

.wrap {
    width: 100%;
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section { padding-block: clamp(56px, 8vw, 104px); }
.section-tight { padding-block: clamp(44px, 6vw, 76px); }

.skip {
    position: absolute; left: -9999px; top: 0; z-index: 100;
    background: var(--sky-700); color: #fff;
    padding: 10px 16px; border-radius: var(--r-md);
}
.skip:focus { left: 12px; top: 12px; }

/* Shared type */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--sky-700);
    background: var(--sky-50);
    border: 1px solid var(--sky-100);
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 20px;
}
.on-deep .eyebrow {
    color: var(--sky-200);
    background: rgba(56, 189, 248, .1);
    border-color: rgba(125, 211, 252, .25);
}

.h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.lede {
    font-size: clamp(1.02rem, 1.4vw, 1.14rem);
    color: var(--text-mid);
    line-height: 1.65;
}
.prose { max-width: 60ch; }
.on-deep .lede { color: var(--on-deep-soft); }
.on-deep h2, .on-deep h3 { color: #fff; }

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: .94rem;
    font-weight: 600;
    line-height: 1;
    padding: 13px 20px;
    border-radius: var(--r-md);
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn svg { flex: none; }
.btn-primary {
    background: var(--sky-700);
    color: #fff;
    box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--sky-800); }
.btn-light { background: #fff; color: var(--sky-800); box-shadow: var(--shadow-sm); }
.btn-light:hover { background: var(--sky-50); }
.btn-outline { background: transparent; color: var(--gray-700); border-color: var(--gray-300); }
.btn-outline:hover { border-color: var(--sky-500); color: var(--sky-700); background: var(--sky-50); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.btn-outline-light:hover { border-color: rgba(255, 255, 255, .65); background: rgba(255, 255, 255, .08); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: progress; }

/* Brand lockup */

.lockup {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: -.03em;
    color: inherit;
}
.lockup .mark {
    width: 38px; height: 38px;
    flex: none;
    display: grid;
    place-items: center;
}
.lockup .mark img { width: 38px; height: 38px; display: block; object-fit: contain; }
.foot .lockup .mark { background: #fff; border-radius: 10px; width: 42px; height: 42px; }
.foot .lockup .mark img { width: 32px; height: 32px; }

/* Deep brand ground */

.on-deep {
    background: var(--sky-950);
    color: var(--on-deep);
    position: relative;
    isolation: isolate;
}

.on-deep::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(720px 420px at 18% -10%, rgba(14, 165, 233, .28), transparent 65%),
        radial-gradient(560px 360px at 92% 8%, rgba(3, 105, 161, .32), transparent 62%);
    pointer-events: none;
}

/* Masthead */

.masthead {
    position: sticky;
    top: 0;
    z-index: 50;
    height: 0;
    overflow: visible;
}
.masthead > .wrap { position: relative; top: 14px; }
.bar {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 62px;
    padding: 9px 10px 9px 18px;
    background: rgba(255, 255, 255, .74);
    -webkit-backdrop-filter: saturate(1.8) blur(18px);
            backdrop-filter: saturate(1.8) blur(18px);
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 18px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 8px 28px -10px rgba(8, 47, 73, .22), 0 0 0 1px rgba(15, 23, 42, .06);
    transition: min-height .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.masthead.is-stuck .bar {
    min-height: 54px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 14px 34px -12px rgba(8, 47, 73, .32), 0 0 0 1px rgba(15, 23, 42, .07);
}
.bar .lockup { color: var(--gray-900); }

.nav {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2px;
    margin-inline: auto;
}
.nav a {
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-size: .88rem;
    font-weight: 600;
    color: var(--gray-600);
    text-decoration: none;
    padding: 9px 14px;
    border-radius: 11px;
    transition: color .2s;
}
.nav a:hover, .nav a:focus-visible, .nav a[aria-current="true"] { color: var(--sky-800); }
.nav-ind {
    position: absolute;
    z-index: 0;
    top: 0; bottom: 0; left: 0;
    width: 0;
    border-radius: 11px;
    background: var(--sky-50);
    box-shadow: inset 0 0 0 1px var(--sky-100);
    opacity: 0;
    transition: transform .3s cubic-bezier(.4, 0, .2, 1), width .3s cubic-bezier(.4, 0, .2, 1), opacity .2s;
    pointer-events: none;
}
.nav-ind.on { opacity: 1; }

.bar-cta { display: flex; align-items: center; gap: 6px; }
.bar-cta .btn { padding: 11px 18px; font-size: .88rem; border-radius: 12px; }
.btn-ghost-nav { background: transparent; color: var(--gray-700); }
.btn-ghost-nav:hover { background: var(--gray-100); color: var(--gray-900); }

.progress {
    position: absolute;
    left: 18px; right: 18px; bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--sky-500), var(--violet-600));
    transform-origin: 0 50%;
    transform: scaleX(var(--p, 0));
    opacity: .85;
}

.menu-btn {
    display: none;
    width: 42px; height: 42px;
    margin-left: auto;
    border: 0; border-radius: 12px;
    background: var(--gray-100);
    cursor: pointer;
    position: relative;
}
.menu-btn span {
    position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px;
    background: var(--gray-800);
    transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.menu-btn span:nth-child(1) { top: 15px; }
.menu-btn span:nth-child(2) { top: 20px; }
.menu-btn span:nth-child(3) { top: 25px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

.mobile-menu {
    margin-top: 8px;
    padding: 10px;
    background: rgba(255, 255, 255, .96);
    -webkit-backdrop-filter: blur(18px);
            backdrop-filter: blur(18px);
    border-radius: 18px;
    box-shadow: 0 20px 44px -14px rgba(8, 47, 73, .35), 0 0 0 1px rgba(15, 23, 42, .06);
    animation: menu-in .22s ease both;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu > a {
    display: block;
    font-family: var(--font-display); font-weight: 600; font-size: 1.02rem;
    color: var(--gray-800); text-decoration: none;
    padding: 13px 14px; border-radius: 12px;
}
.mobile-menu > a:hover, .mobile-menu > a[aria-current="true"] { background: var(--sky-50); color: var(--sky-800); }
.mm-cta { display: grid; gap: 8px; margin-top: 8px; padding: 12px 4px 4px; border-top: 1px solid var(--gray-100); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } }

@media (max-width: 1020px) {
    .nav, .bar-cta { display: none; }
    .menu-btn { display: block; }
    .bar { padding: 9px 10px 9px 16px; }
}
@media (min-width: 1021px) { .mobile-menu { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .mobile-menu { animation: none; } .nav-ind { transition: none; } }

/* Hero */

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-top: calc(clamp(48px, 7vw, 92px) + 56px);
    background: #fff;
}

.aurora { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.aurora i {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: .55;
    animation: drift 18s ease-in-out infinite alternate;
}
.aurora i:nth-child(1) { width: 620px; height: 620px; left: -140px; top: -220px; background: #7dd3fc; }
.aurora i:nth-child(2) { width: 560px; height: 560px; right: -120px; top: -180px; background: #c4b5fd; animation-delay: -6s; }
.aurora i:nth-child(3) { width: 480px; height: 480px; left: 38%; top: 120px; background: #a7f3d0; opacity: .38; animation-delay: -11s; }
.aurora::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(rgba(8, 47, 73, .14) 1px, transparent 1.2px) 0 0 / 24px 24px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 25%, #000, transparent 75%);
            mask-image: radial-gradient(ellipse 70% 60% at 50% 25%, #000, transparent 75%);
}
@keyframes drift { to { transform: translate3d(60px, 40px, 0) scale(1.08); } }

.hero-center { display: flex; flex-direction: column; align-items: center; text-align: center; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-display);
    font-size: .84rem;
    font-weight: 600;
    color: var(--gray-700);
    text-decoration: none;
    background: rgba(255, 255, 255, .8);
    backdrop-filter: blur(8px);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    padding: 5px 14px 5px 5px;
    border-radius: 999px;
    margin-bottom: 26px;
    transition: border-color .15s, box-shadow .15s;
}
.hero-badge:hover { border-color: var(--sky-300); box-shadow: var(--shadow-md); }
.hero-badge .hb-new {
    background: linear-gradient(135deg, var(--sky-500), var(--sky-700));
    color: #fff;
    font-family: var(--font-mono);
    font-size: .66rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
}
.hero-badge svg { color: var(--sky-600); }

.hero h1 {
    font-size: clamp(2.5rem, 6.4vw, 4.9rem);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.04;
    max-width: 15em;
    margin-bottom: 22px;
}
.hero h1 .hl {
    display: inline-block;
    background: linear-gradient(95deg, var(--sky-700) 0%, var(--sky-500) 45%, var(--violet-600) 100%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--sky-700);
    padding-bottom: .06em;
}
.caps { color: var(--sky-700); font-size: .84em; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.hero .lede { max-width: 46rem; font-size: clamp(1.04rem, 1.5vw, 1.22rem); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.btn-lg { padding: 15px 26px; font-size: 1rem; border-radius: 12px; }
.btn-primary.btn-lg { box-shadow: 0 8px 20px -8px rgba(3, 105, 161, .6); }
.btn-ghost { background: rgba(255, 255, 255, .7); color: var(--gray-800); border-color: var(--gray-300); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--sky-500); color: var(--sky-700); background: #fff; }
.hero-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 26px;
    margin-top: 26px;
    font-size: .88rem;
    color: var(--text-soft);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta svg { width: 15px; height: 15px; color: var(--emerald-600); flex: none; }

.hero-center > * { animation: rise .7s cubic-bezier(.22, .8, .3, 1) both; }
.hero-center > :nth-child(2) { animation-delay: .06s; }
.hero-center > :nth-child(3) { animation-delay: .12s; }
.hero-center > :nth-child(4) { animation-delay: .18s; }
.hero-center > :nth-child(5) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* Stage */

.hero-grid { display: block; }
.stage { position: relative; margin-top: clamp(8px, 2vw, 24px); animation: rise .9s .3s cubic-bezier(.22, .8, .3, 1) both; }
@media (min-width: 1100px) {
    .hero { padding-top: calc(clamp(40px, 5vw, 72px) + 64px); padding-bottom: 24px; }
    .hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 8px; align-items: center; }
    .hero-center { align-items: flex-start; text-align: left; }
    .hero h1 { font-size: clamp(2.6rem, 4.4vw, 3.9rem); }
    .hero .lede { font-size: 1.08rem; }
    .hero-actions, .hero-meta { justify-content: flex-start; }
    .stage { margin-top: 0; }
}

.scene {
    --rz: 45deg;
    --rx: 58deg;
    --sc: .86;
    position: relative;
    height: 580px;
    perspective: 2600px;
    perspective-origin: 50% 40%;

    --w-t: #ecae8c; --w-f: #cf6f4e; --w-r: #a9553b;
    --r-t: #a2735b; --r-f: #73503f; --r-r: #5c3d30;
    --tr-t: #f8eed6; --tr-f: #ebdfbd; --tr-r: #d4c59b;
    --g-t: #cfe3a8; --g-f: #b08968; --g-r: #8f6f50;
    --p-t: #eadcb8; --p-f: #d8c79b; --p-r: #c2b184;
    --lf-t: #8fc66f; --lf-f: #65a04e; --lf-r: #4f8540;
    --tk-t: #a9794f; --tk-f: #8b5e3c; --tk-r: #6f4a2e;
    --fl-t: #f59e0b; --fl-f: #d97706; --fl-r: #b45309;
    --win: #f4e6b0; --win-frame: #7a5a44; --win-glow: 0 0 0 rgba(0, 0, 0, 0);
    --door: #6b4330;
}
.scene[data-state="digital"] {
    --w-t: #f6fbff; --w-f: #d3eafa; --w-r: #a9d3ee;
    --r-t: #38bdf8; --r-f: #0284c7; --r-r: #075985;
    --tr-t: #ffffff; --tr-f: #e6f4fd; --tr-r: #bde0f5;
    --g-t: #e3f1fb; --g-f: #b5d6ec; --g-r: #96bfd9;
    --p-t: #bde6fb; --p-f: #8fd0f3; --p-r: #6fbbe6;
    --lf-t: #6ee7b7; --lf-f: #34d399; --lf-r: #10b981;
    --tk-t: #a9794f; --tk-f: #8b5e3c; --tk-r: #6f4a2e;
    --fl-t: #38bdf8; --fl-f: #0284c7; --fl-r: #075985;
    --win: #8fdcff; --win-frame: #ffffff; --win-glow: 0 0 14px rgba(56, 189, 248, .95);
    --door: #0c4a6e;
}

.iso { position: absolute; left: 50%; top: 64%; width: 0; height: 0; transform: scale(var(--sc)); transform-style: preserve-3d; }
.world {
    position: absolute; left: 0; top: 0; width: 0; height: 0;
    transform-style: preserve-3d;
    transform: rotateX(var(--rx)) rotateZ(var(--rz));
    transition: transform .35s ease-out;
}

.bx {
    position: absolute; left: 0; top: 0;
    width: calc(var(--w) * 1px); height: calc(var(--d) * 1px);
    transform: translate3d(calc(var(--x) * 1px), calc(var(--y) * 1px), calc(var(--z) * 1px));
    transform-style: preserve-3d;
}
.f { position: absolute; display: block; transition: background-color .9s ease; }
.ready .f { transition-delay: calc(var(--f, 0) * 1.1s); }
.ready[data-state="trad"] .f { transition-delay: calc((1 - var(--f, 0)) * 1.1s); }
.f.top { inset: 0; transform: translateZ(calc(var(--h) * 1px)); }
.f.fr {
    left: 0; top: calc(var(--d) * 1px);
    width: calc(var(--w) * 1px); height: calc(var(--h) * 1px);
    transform-origin: 0 0;
    transform: translateZ(calc(var(--h) * 1px)) rotateX(-90deg);
}
.f.rt {
    left: calc(var(--w) * 1px); top: 0;
    width: calc(var(--d) * 1px); height: calc(var(--h) * 1px);
    transform-origin: 0 0;
    transform: translateZ(calc(var(--h) * 1px)) rotateZ(90deg) rotateX(-90deg);
}
.m-wall .top { background: var(--w-t); } .m-wall .fr { background: var(--w-f); } .m-wall .rt { background: var(--w-r); }
.m-roof .top { background: var(--r-t); } .m-roof .fr { background: var(--r-f); } .m-roof .rt { background: var(--r-r); }
.m-trim .top { background: var(--tr-t); } .m-trim .fr { background: var(--tr-f); } .m-trim .rt { background: var(--tr-r); }
.m-ground .top { background: var(--g-t); } .m-ground .fr { background: var(--g-f); } .m-ground .rt { background: var(--g-r); }
.m-path .top { background: var(--p-t); } .m-path .fr { background: var(--p-f); } .m-path .rt { background: var(--p-r); }
.m-leaf .top { background: var(--lf-t); } .m-leaf .fr { background: var(--lf-f); } .m-leaf .rt { background: var(--lf-r); }
.m-trunk .top { background: var(--tk-t); } .m-trunk .fr { background: var(--tk-f); } .m-trunk .rt { background: var(--tk-r); }
.m-flag .top { background: var(--fl-t); } .m-flag .fr { background: var(--fl-f); } .m-flag .rt { background: var(--fl-r); }

.grid {
    position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease;
    background:
        linear-gradient(rgba(14, 165, 233, .35) 1px, transparent 1px) 0 0 / 36px 36px,
        linear-gradient(90deg, rgba(14, 165, 233, .35) 1px, transparent 1px) 0 0 / 36px 36px;
}
.scene[data-state="digital"] .grid { opacity: 1; }
.shadow {
    position: absolute; left: -300px; top: -170px; width: 600px; height: 330px;
    transform: translateZ(1px);
    background: radial-gradient(ellipse at center, rgba(8, 47, 73, .28), transparent 68%);
    filter: blur(8px);
}

.w {
    position: absolute; border-radius: 3px;
    background: var(--win);
    box-shadow: inset 0 0 0 3px var(--win-frame), var(--win-glow);
    transition: background-color .9s ease, box-shadow .9s ease;
}
.w::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(var(--win-frame), var(--win-frame)) 50% 0 / 2px 100% no-repeat,
                linear-gradient(var(--win-frame), var(--win-frame)) 0 50% / 100% 2px no-repeat;
    opacity: .7;
}
.dr {
    position: absolute; left: 90px; top: 52px; width: 40px; height: 48px;
    background: var(--door); border-radius: 20px 20px 0 0;
    transition: background-color .9s ease;
}
.dr::after {
    content: ""; position: absolute; right: 7px; top: 24px; width: 4px; height: 4px; border-radius: 50%;
    background: #7dd3fc; opacity: 0; box-shadow: 0 0 8px #38bdf8; transition: opacity .6s .6s;
}
.scene[data-state="digital"] .dr::after { opacity: 1; }
.sg {
    position: absolute; left: 50px; top: 8px; width: 120px; height: 32px;
    background: #f5ecd2; border: 2px solid #7a5a44; border-radius: 4px;
    display: grid; place-items: center; overflow: hidden;
    transition: background-color .9s ease, border-color .9s ease;
}
.scene[data-state="digital"] .sg { background: #0c4a6e; border-color: #7dd3fc; box-shadow: 0 0 16px rgba(56, 189, 248, .7); }
.sg em {
    grid-area: 1 / 1; font-style: normal; white-space: nowrap;
    display: inline-flex; align-items: center; gap: 6px;
    transition: opacity .6s ease, transform .6s ease;
}
.sg .a { font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 15px; letter-spacing: .18em; color: #5c3d30; }
.sg .b { font-family: var(--font-display); font-weight: 800; font-size: 14px; color: #fff; opacity: 0; transform: translateY(8px); }
.sg .b svg { width: 16px; height: 16px; color: #7dd3fc; }
.scene[data-state="digital"] .sg .a { opacity: 0; transform: translateY(-8px); }
.scene[data-state="digital"] .sg .b { opacity: 1; transform: none; transition-delay: .5s; }

.ck, .nq { position: absolute; left: 12px; top: 12px; width: 36px; height: 36px; border-radius: 50%; transition: opacity .6s ease, transform .6s ease; }
.ck { background: #fffdf4; border: 3px solid #7a5a44; }
.ck::before, .ck::after { content: ""; position: absolute; left: 50%; top: 50%; background: #5c3d30; transform-origin: 50% 100%; border-radius: 2px; }
.ck::before { width: 2px; height: 12px; margin: -12px 0 0 -1px; }
.ck::after { width: 2px; height: 9px; margin: -9px 0 0 -1px; transform: rotate(110deg); }
.nq { border-radius: 10px; background: linear-gradient(160deg, #38bdf8, #0369a1); color: #fff; display: grid; place-items: center; opacity: 0; transform: scale(.6); box-shadow: 0 0 18px rgba(56, 189, 248, .9); }
.nq svg { width: 22px; height: 22px; }
.scene[data-state="digital"] .ck { opacity: 0; transform: scale(.6); }
.scene[data-state="digital"] .nq { opacity: 1; transform: none; transition-delay: .5s; }

.wave {
    position: absolute; left: 0; top: 0; width: 36px; height: 380px;
    transform: translate3d(-300px, -190px, 11px);
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, .9), transparent);
    box-shadow: 0 0 40px 10px rgba(56, 189, 248, .5);
    opacity: 0; pointer-events: none;
}
.wave.run-fwd  { animation: sweep 1.3s ease-in-out both; }
.wave.run-back { animation: sweep 1.3s ease-in-out reverse both; }
@keyframes sweep {
    0%   { opacity: 0; transform: translate3d(-300px, -190px, 11px); }
    12%  { opacity: 1; }
    88%  { opacity: 1; }
    100% { opacity: 0; transform: translate3d(270px, -190px, 11px); }
}

.bm {
    position: absolute; left: 0; top: 0; width: 2px; height: calc(var(--z) * 1px);
    transform-origin: 0 0;
    transform: translate3d(calc(var(--x) * 1px), calc(var(--y) * 1px), calc(var(--z) * 1px)) rotateX(-90deg);
    background: linear-gradient(to bottom, rgba(56, 189, 248, 0), rgba(56, 189, 248, .9));
    opacity: 0; transition: opacity .8s ease;
}
.rg {
    position: absolute; left: -22px; top: -22px; width: 44px; height: 44px; border-radius: 50%;
    transform: translate3d(calc(var(--x) * 1px), calc(var(--y) * 1px), 12px);
    border: 2px solid rgba(14, 165, 233, .85); box-shadow: 0 0 14px rgba(56, 189, 248, .9), inset 0 0 12px rgba(56, 189, 248, .5);
    opacity: 0; transition: opacity .8s ease;
}
.scene[data-state="digital"] .bm, .scene[data-state="digital"] .rg { opacity: 1; transition-delay: .9s; }
.scene[data-state="digital"] .rg { animation: pulse 2.4s 1.2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(56, 189, 248, .6), inset 0 0 12px rgba(56, 189, 248, .5); } 100% { box-shadow: 0 0 0 26px rgba(56, 189, 248, 0), inset 0 0 12px rgba(56, 189, 248, .5); } }

.pn {
    position: absolute; left: 0; top: 0; width: 0; height: 0;
    transform-style: preserve-3d;
    transform: translate3d(calc(var(--x) * 1px), calc(var(--y) * 1px), calc(var(--z) * 1px))
               rotateZ(calc(var(--rz) * -1)) rotateX(calc(var(--rx) * -1));
    transition: transform .35s ease-out;
}
.pn-bob { position: absolute; left: -84px; bottom: 0; width: 168px; animation: bob 5s calc(var(--i) * -1.1s) ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.pn-in { position: relative; height: 104px; transform-style: preserve-3d; transition: transform .9s cubic-bezier(.4, 0, .2, 1); transition-delay: calc(var(--i) * .12s); }
.scene[data-state="digital"] .pn-in { transform: rotateY(180deg); }
.pn-face {
    position: absolute; inset: 0; padding: 12px 14px;
    -webkit-backface-visibility: hidden; backface-visibility: hidden;
    border-radius: 12px; display: grid; align-content: center; gap: 2px;
}
.pn-old {
    background: #fbf3dc; border: 1px solid #e2d3a8; color: #5c3d30;
    box-shadow: 0 14px 24px -12px rgba(92, 61, 48, .5);
    transform: rotate(-2.5deg);
}
.pn-old small { font-family: var(--font-mono); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; color: #a8895f; }
.pn-old b { font-family: "Caveat", "Bradley Hand", cursive; font-size: 1.45rem; line-height: 1.05; font-weight: 700; }
.pn-old p { font-family: "Caveat", "Bradley Hand", cursive; font-size: 1rem; line-height: 1.1; color: #7a5a44; }
.pn-old u { position: absolute; left: 14px; right: 14px; bottom: 12px; height: 2px; background: repeating-linear-gradient(90deg, #c9b787 0 6px, transparent 6px 10px); }
.pn-new {
    transform: rotateY(180deg);
    background: linear-gradient(160deg, rgba(255, 255, 255, .98), rgba(224, 242, 254, .96));
    border: 1px solid #7dd3fc; color: var(--gray-900);
    box-shadow: 0 18px 34px -12px rgba(3, 105, 161, .55), 0 0 0 4px rgba(56, 189, 248, .14);
}
.pn-ico { position: absolute; right: 12px; top: 12px; width: 26px; height: 26px; border-radius: 8px; background: var(--sky-100); color: var(--sky-700); display: grid; place-items: center; }
.pn-ico svg { width: 15px; height: 15px; }
.pn-new small { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; color: var(--sky-700); }
.pn-new b { font-family: var(--font-display); font-size: 1.55rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.pn-new p { font-size: .68rem; color: var(--text-soft); line-height: 1.3; }

.scene-ctl { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 10px; position: relative; z-index: 3; padding-bottom: 36px; }
.seg { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; background: #fff; border: 1px solid var(--gray-200); border-radius: 999px; box-shadow: var(--shadow-md); }
.seg-b { position: relative; z-index: 1; font-family: var(--font-display); font-weight: 700; font-size: .88rem; padding: 10px 20px; border: 0; background: none; color: var(--gray-600); border-radius: 999px; cursor: pointer; transition: color .25s; }
.seg-b[aria-pressed="true"] { color: #fff; }
.seg-pill { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: linear-gradient(135deg, var(--sky-500), var(--sky-700)); transition: transform .35s cubic-bezier(.4, 0, .2, 1), background .35s; }
.seg:has(.seg-b[data-to="digital"][aria-pressed="true"]) .seg-pill { transform: translateX(100%); }
.seg:has(.seg-b[data-to="trad"][aria-pressed="true"]) .seg-pill { background: linear-gradient(135deg, #d97706, #b45309); }
.scene-cap { font-size: .95rem; color: var(--text-mid); text-align: center; }
.scene-cap b { color: var(--sky-700); }

.aurora i { transition: background-color 1.4s ease; }
.hero[data-state="trad"] .aurora i:nth-child(1) { background: #fcd9a8; }
.hero[data-state="trad"] .aurora i:nth-child(2) { background: #fde68a; }
.hero[data-state="trad"] .aurora i:nth-child(3) { background: #fecdd3; }

@media (max-width: 1279px) and (min-width: 1100px) { .scene { --sc: .7; height: 480px; } }
@media (max-width: 1099px) { .scene { --sc: .9; height: 560px; } }
@media (max-width: 760px)  { .scene { --sc: .62; height: 420px; } .scene-ctl { margin-top: -20px; } }
@media (max-width: 480px)  { .scene { --sc: .46; height: 340px; } .scene-ctl { margin-top: -8px; } .seg-b { padding: 9px 14px; font-size: .82rem; } }
@media (prefers-reduced-motion: reduce) {
    .pn-bob, .rg { animation: none !important; }
    .wave { display: none; }
}

/* Section heading */

.sec-head { max-width: 60ch; margin-bottom: 42px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { margin-bottom: 14px; }

/* Roles */

.card {
    background: var(--surface);
    border: 1px solid var(--card-border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
}
.card-head {
    padding: 16px 20px;
    border-bottom: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    gap: 10px;
}
.card-head .ch-ico {
    width: 30px; height: 30px; border-radius: 8px; flex: none;
    background: var(--sky-50); color: var(--sky-600);
    display: grid; place-items: center;
}
.card-head .ch-ico svg { width: 16px; height: 16px; }
.card-head h3 { font-size: .98rem; letter-spacing: -.015em; }
.card-body { padding: 20px; }

/* Access control */

.roles-grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
}
@media (max-width: 940px) { .roles-grid { grid-template-columns: 1fr; } }
.roles-copy .h2 { max-width: 14em; }

.role-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.role-tab {
    --tone: var(--sky-600);
    display: inline-flex; align-items: center; gap: 9px;
    font-family: var(--font-display); font-size: .92rem; font-weight: 700;
    padding: 10px 17px 10px 13px;
    border: 1px solid var(--gray-200); border-radius: 999px;
    background: var(--surface); color: var(--gray-600);
    cursor: pointer; text-decoration: none;
    transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.role-tab i { width: 9px; height: 9px; border-radius: 50%; background: var(--tone); flex: none; transition: box-shadow .2s; }
.role-tab[data-tone="amber"]   { --tone: var(--amber-500); }
.role-tab[data-tone="violet"]  { --tone: var(--violet-600); }
.role-tab[data-tone="emerald"] { --tone: var(--emerald-600); }
.role-tab[data-tone="rose"]    { --tone: var(--rose-500); }
.role-tab:hover { border-color: var(--tone); color: var(--gray-900); transform: translateY(-1px); }
.role-tab[aria-selected="true"] { background: var(--tone); border-color: var(--tone); color: #fff; box-shadow: 0 10px 22px -10px color-mix(in srgb, var(--tone) 70%, transparent); }
.role-tab[aria-selected="true"] i { background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .28); }
.role-new { border-style: dashed; color: var(--sky-700); padding-left: 17px; }
.role-new:hover { background: var(--sky-50); border-color: var(--sky-500); color: var(--sky-800); }

.rstage { min-height: 0; padding: clamp(20px, 3vw, 36px); }
.rcard {
    background: #fff; border-radius: 20px; overflow: hidden;
    box-shadow: 0 30px 60px -24px rgba(8, 47, 73, .45), 0 0 0 1px rgba(15, 23, 42, .06);
}
.rc-head { display: flex; align-items: center; gap: 14px; padding: 20px 22px 16px; }
.rc-av {
    width: 48px; height: 48px; border-radius: 14px; flex: none;
    display: grid; place-items: center;
    font-family: var(--font-display); font-weight: 800; font-size: .95rem; color: #fff;
    background: var(--sky-600);
    transition: background-color .5s ease;
}
.rstage[data-tone="amber"] .rc-av   { background: var(--amber-500); }
.rstage[data-tone="violet"] .rc-av  { background: var(--violet-600); }
.rstage[data-tone="emerald"] .rc-av { background: var(--emerald-600); }
.rstage[data-tone="rose"] .rc-av    { background: var(--rose-500); }
.rc-id { min-width: 0; }
.rc-id b { display: block; font-family: var(--font-display); font-size: 1.2rem; letter-spacing: -.02em; color: var(--gray-900); }
.rc-id small { display: block; font-size: .84rem; color: var(--text-soft); line-height: 1.45; margin-top: 2px; }
.rc-count { margin-left: auto; display: flex; align-items: center; gap: 8px; flex: none; }
.rc-count b { font-family: var(--font-display); font-size: 2.1rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--gray-900); font-variant-numeric: tabular-nums; }
.rc-count > span { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-soft); line-height: 1.35; }
@media (max-width: 560px) { .rc-count { display: none; } }

.rc-meter { height: 3px; background: var(--gray-100); }
.rc-meter i { display: block; height: 100%; width: 0; background: var(--sky-500); transition: width .6s cubic-bezier(.22, .8, .3, 1), background-color .5s ease; }
.rstage[data-tone="amber"] .rc-meter i   { background: var(--amber-500); }
.rstage[data-tone="violet"] .rc-meter i  { background: var(--violet-600); }
.rstage[data-tone="emerald"] .rc-meter i { background: var(--emerald-600); }
.rstage[data-tone="rose"] .rc-meter i    { background: var(--rose-500); }

.prl { list-style: none; margin: 0; padding: 10px 14px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; }
@media (max-width: 680px) { .prl { grid-template-columns: 1fr; } }
.pr {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 8px; border-bottom: 1px solid var(--gray-100);
    color: var(--gray-400);
    transition: color .35s ease;
}
.pr.on { color: var(--gray-900); }
.pr-l { font-family: var(--font-display); font-weight: 600; font-size: .92rem; line-height: 1.3; }
.pr-s {
    font-style: normal; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .04em; text-transform: uppercase;
    color: var(--amber-600); background: var(--amber-50); border-radius: 999px; padding: 2px 8px; white-space: nowrap;
}
.pr-s:empty { display: none; }

.sw {
    margin-left: auto; flex: none;
    width: 38px; height: 22px; border-radius: 999px; position: relative;
    background: var(--gray-200);
    transition: background-color .35s ease;
}
.sw i {
    position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%;
    background: #fff; box-shadow: 0 1px 3px rgba(16, 24, 40, .3);
    transition: transform .35s cubic-bezier(.3, 1.4, .5, 1);
}
.pr.on .sw { background: var(--sky-600); }
.pr.on .sw i { transform: translateX(16px); }
.rstage[data-tone="amber"] .pr.on .sw   { background: var(--amber-500); }
.rstage[data-tone="violet"] .pr.on .sw  { background: var(--violet-600); }
.rstage[data-tone="emerald"] .pr.on .sw { background: var(--emerald-600); }
.rstage[data-tone="rose"] .pr.on .sw    { background: var(--rose-500); }

.rc-foot { display: flex; align-items: center; gap: 8px; padding: 14px 22px; font-size: .84rem; color: var(--text-mid); background: var(--gray-50); border-top: 1px solid var(--gray-100); }
.rc-foot svg { width: 15px; height: 15px; color: var(--emerald-600); flex: none; }

@media (prefers-reduced-motion: reduce) { .sw, .sw i, .rc-meter i, .pr { transition: none; } }

/* Modules */

.mod-head { max-width: 46rem; margin-bottom: clamp(28px, 4vw, 44px); }
.mod-head .h2 { max-width: 16em; }
.mod-head .lede { max-width: 60ch; margin-top: 16px; text-wrap: balance; }

.show { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 3.5vw, 48px); align-items: stretch; }
@media (max-width: 900px) { .show { grid-template-columns: 1fr; } }

/* Left */
.mtabs { display: flex; flex-direction: column; gap: 2px; }
.mt {
    position: relative;
    display: grid; grid-template-columns: 42px 1fr; column-gap: 14px; align-items: center;
    text-align: left; width: 100%;
    padding: 14px 16px; border: 0; border-radius: 16px;
    background: transparent; cursor: pointer; font: inherit; color: var(--gray-500);
    transition: background-color .25s ease, color .25s ease, box-shadow .25s ease;
}
.mt:hover { background: rgba(255, 255, 255, .7); color: var(--gray-800); }
.mt-ico {
    width: 42px; height: 42px; border-radius: 12px;
    display: grid; place-items: center;
    background: var(--gray-100); color: var(--gray-500);
    transition: background-color .25s ease, color .25s ease, transform .25s ease;
}
.mt-ico svg { width: 21px; height: 21px; }
.mt-txt b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; letter-spacing: -.02em; color: inherit; }
.mt-txt small {
    display: block; max-height: 0; opacity: 0; overflow: hidden;
    font-size: .9rem; line-height: 1.5; color: var(--text-mid);
    transition: max-height .35s ease, opacity .3s ease, margin .3s ease;
}
.mt.on { background: var(--surface); color: var(--gray-900); box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 14px 30px -16px rgba(8, 47, 73, .3); }
.mt.on .mt-txt small { max-height: 5em; opacity: 1; margin-top: 4px; }
.mt.on .mt-ico { transform: scale(1.05); color: #fff; background: var(--sky-600); }
.mt[data-tone="amber"].on .mt-ico   { background: var(--amber-500); }
.mt[data-tone="violet"].on .mt-ico  { background: var(--violet-600); }
.mt[data-tone="rose"].on .mt-ico    { background: var(--rose-500); }
.mt[data-tone="emerald"].on .mt-ico { background: var(--emerald-600); }

.mt-bar { position: absolute; left: 16px; right: 16px; bottom: 6px; height: 2px; border-radius: 2px; overflow: hidden; opacity: 0; }
.mt.on .mt-bar { opacity: 1; }
.mt-bar i { display: block; height: 100%; width: 0; background: var(--sky-500); transform-origin: 0 50%; }
.mt[data-tone="amber"] .mt-bar i   { background: var(--amber-500); }
.mt[data-tone="violet"] .mt-bar i  { background: var(--violet-600); }
.mt[data-tone="rose"] .mt-bar i    { background: var(--rose-500); }
.mt[data-tone="emerald"] .mt-bar i { background: var(--emerald-600); }
.mt.on .mt-bar i { animation: mfill var(--dur, 6500ms) linear forwards; }
.show.paused .mt.on .mt-bar i { animation-play-state: paused; }
.show.manual .mt.on .mt-bar i { animation: none; width: 100%; opacity: .35; }
@keyframes mfill { to { width: 100%; } }

@media (max-width: 900px) {
    .mtabs { flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 6px; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
    .mtabs::-webkit-scrollbar { display: none; }
    .mt { width: auto; flex: none; grid-template-columns: 34px auto; padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--gray-200); }
    .mt-ico { width: 34px; height: 34px; border-radius: 50%; }
    .mt-ico svg { width: 17px; height: 17px; }
    .mt-txt b { font-size: .92rem; white-space: nowrap; }
    .mt-txt small, .mt.on .mt-txt small { display: none; }
    .mt-bar { display: none; }
}

/* Right */
.mstage {
    --st-bg: #dff1fd; --st-blob: #9bd6f7; --st-blob2: #c9c4fb;
    position: relative; isolation: isolate; overflow: hidden;
    min-height: 520px; padding: clamp(22px, 4vw, 44px);
    display: grid; align-items: center;
    border-radius: 28px;
    background: var(--st-bg);
    transition: background-color .7s ease;
}
.mstage[data-tone="amber"]   { --st-bg: #fdf0d2; --st-blob: #f8cf7d; --st-blob2: #fbb6a0; }
.mstage[data-tone="violet"]  { --st-bg: #ece8fe; --st-blob: #c4b5fd; --st-blob2: #9bd6f7; }
.mstage[data-tone="rose"]    { --st-bg: #fde4e8; --st-blob: #fda4af; --st-blob2: #fcd9a0; }
.mstage[data-tone="emerald"] { --st-bg: #dcf7ea; --st-blob: #86e3b8; --st-blob2: #9bd6f7; }
.mstage::before, .mstage::after {
    content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(50px); opacity: .8;
    transition: background-color .7s ease;
}
.mstage::before { width: 360px; height: 360px; right: -90px; top: -90px; background: var(--st-blob); }
.mstage::after  { width: 300px; height: 300px; left: -80px; bottom: -90px; background: var(--st-blob2); }

.mpanels { display: grid; }
.mp {
    grid-area: 1 / 1;
    opacity: 0; transform: translateY(16px) scale(.985); pointer-events: none;
    transition: opacity .45s ease, transform .55s cubic-bezier(.22, .8, .3, 1);
}
.mp.on { opacity: 1; transform: none; pointer-events: auto; }

/* App window */
.win {
    background: #fff; border-radius: 18px; overflow: hidden;
    box-shadow: 0 30px 60px -24px rgba(8, 47, 73, .45), 0 0 0 1px rgba(15, 23, 42, .06);
}
.win-bar { display: flex; align-items: center; gap: 12px; padding: 13px 18px; background: var(--gray-50); border-bottom: 1px solid var(--gray-100); }
.win-dots { display: flex; gap: 6px; }
.win-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--gray-200); }
.win-bar b { font-family: var(--font-display); font-size: .95rem; color: var(--gray-900); }
.win-chip { margin-left: auto; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-soft); background: #fff; border: 1px solid var(--gray-200); border-radius: 999px; padding: 4px 11px; }
.win-body { padding: 22px; }
.win-foot { padding: 14px 22px; font-size: .86rem; color: var(--text-mid); background: var(--gray-50); border-top: 1px solid var(--gray-100); display: flex; align-items: center; gap: 8px; }
.win-foot.row { justify-content: space-between; flex-wrap: wrap; }
.win-foot span { display: inline-flex; align-items: center; gap: 8px; }
.win-foot svg { width: 15px; height: 15px; flex: none; color: var(--gray-500); }
.btn-mini { font-style: normal; font-family: var(--font-display); font-weight: 700; font-size: .78rem; color: #fff; background: var(--sky-700); padding: 7px 13px; border-radius: 9px; white-space: nowrap; }

.av { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: .82rem; background: var(--sky-100); color: var(--sky-800); }
.av.s { background: var(--sky-100); color: var(--sky-800); }
.av.v { background: var(--violet-50); color: var(--violet-600); }
.av.r { background: var(--rose-50); color: var(--rose-600); }
.win b { font-family: var(--font-display); }
.win small { display: block; font-size: .78rem; color: var(--text-soft); }

.who { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.who b { font-size: 1.05rem; color: var(--gray-900); display: block; }
.steps2 { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.steps2 li { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 12px; }
.steps2 li > span { width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center; border: 2px solid var(--gray-200); color: #fff; }
.steps2 li > span svg { width: 14px; height: 14px; }
.steps2 li b { font-size: .95rem; color: var(--gray-900); display: block; }
.steps2 .done > span { background: var(--emerald-600); border-color: var(--emerald-600); }
.steps2 .now { background: var(--sky-50); }
.steps2 .now > span { border-color: var(--sky-600); box-shadow: 0 0 0 4px rgba(14, 165, 233, .18); }
.steps2 li:not(.done):not(.now) b { color: var(--gray-400); }
.steps2 .btn-mini { margin-left: auto; }

.att-top { display: flex; align-items: center; gap: 22px; margin-bottom: 18px; flex-wrap: wrap; }
.ringbox { position: relative; width: 112px; height: 112px; flex: none; }
.ringbox svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ringbox circle { fill: none; stroke-width: 11; }
.ringbox .rt { stroke: var(--sky-100); }
.ringbox .rv { stroke: var(--sky-600); stroke-linecap: round; stroke-dasharray: 314; stroke-dashoffset: 18; }
.ringbox > div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ringbox b { font-size: 1.45rem; letter-spacing: -.03em; color: var(--gray-900); line-height: 1; }
.att-stats { display: flex; gap: 26px; flex-wrap: wrap; }
.att-stats b { font-size: 1.5rem; letter-spacing: -.03em; color: var(--gray-900); display: block; line-height: 1.1; }
.att-stats b.r { color: var(--rose-600); }
.feed2 { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.feed2 li { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; background: var(--gray-50); font-size: .88rem; }
.feed2 i { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.feed2 i.ok { background: var(--emerald-600); box-shadow: 0 0 0 4px var(--emerald-50); }
.feed2 i.no { background: var(--rose-500); box-shadow: 0 0 0 4px var(--rose-50); }
.feed2 b { color: var(--gray-900); }
.feed2 span { color: var(--text-soft); }
.feed2 em { margin-left: auto; font-style: normal; font-family: var(--font-mono); font-size: .74rem; color: var(--text-soft); }

.tbl { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tbl th { text-align: left; font-family: var(--font-mono); font-weight: 500; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-soft); padding: 0 8px 10px; }
.tbl td { padding: 13px 8px; border-top: 1px solid var(--gray-100); color: var(--gray-700); font-variant-numeric: tabular-nums; }
.tbl td:first-child { font-family: var(--font-display); font-weight: 700; color: var(--gray-900); }
.tbl td.hi { color: var(--emerald-600); font-weight: 700; }

.ttg { display: grid; grid-template-columns: 34px repeat(5, 1fr); gap: 6px; margin-bottom: 6px; }
.ttg b { font-family: var(--font-mono); font-weight: 500; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-soft); text-align: center; }
.ttrows { grid-template-columns: repeat(5, 1fr); margin: 0; }
.ttrows i { font-style: normal; font-family: var(--font-display); font-weight: 600; font-size: .76rem; text-align: center; padding: 14px 4px; border-radius: 10px; }
.ttrows .a { background: var(--sky-100); color: var(--sky-800); }
.ttrows .b { background: var(--violet-50); color: var(--violet-600); }
.ttrows .c { background: var(--emerald-50); color: var(--emerald-600); }
.ttrows .d { background: var(--amber-50); color: var(--amber-600); }
.ttrows .e { background: var(--rose-50); color: var(--rose-600); }

.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.rows li { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 12px; }
.rows li + li { border-top: 1px solid var(--gray-100); border-radius: 0; }
.rows li b { color: var(--gray-900); font-size: .95rem; display: block; }
.rows .tag { margin-left: auto; font-style: normal; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .05em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.tag.ok { background: var(--emerald-50); color: var(--emerald-600); }
.tag.wait { background: var(--amber-50); color: var(--amber-600); }
.rows.tight li { padding: 14px 12px; }
.rows li.rev { background: var(--amber-50); border-radius: 12px; }

.mtx { width: 100%; border-collapse: collapse; font-size: .9rem; }
.mtx th { font-family: var(--font-mono); font-weight: 500; font-size: .64rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-soft); padding: 0 4px 12px; text-align: center; }
.mtx td { padding: 14px 4px; border-top: 1px solid var(--gray-100); text-align: center; }
.mtx td:first-child { text-align: left; font-family: var(--font-display); font-weight: 700; color: var(--gray-900); }
.mtx td i { display: inline-block; width: 16px; height: 16px; border-radius: 50%; background: var(--gray-100); }
.mtx td i.on { background: var(--violet-600); box-shadow: 0 0 0 4px rgba(124, 58, 237, .14); }

.docs2 { display: grid; grid-template-columns: 1fr 1.2fr; gap: 18px; align-items: stretch; }
@media (max-width: 480px) { .docs2 { grid-template-columns: 1fr; } }
.idc { border-radius: 16px; padding: 14px; background: linear-gradient(160deg, var(--sky-600), var(--sky-800)); color: #fff; display: grid; justify-items: center; gap: 4px; text-align: center; box-shadow: 0 16px 30px -16px rgba(3, 105, 161, .7); }
.idc-top { display: flex; align-items: center; gap: 7px; font-family: var(--font-display); font-weight: 700; font-size: .78rem; margin-bottom: 6px; }
.idc-top svg { width: 16px; height: 16px; }
.idc-photo { width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, .2); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; }
.idc b { color: #fff; font-size: 1rem; margin-top: 6px; }
.idc small { color: var(--sky-200); }
.cert { border: 2px solid var(--amber-500); border-radius: 14px; padding: 16px; display: grid; align-content: center; gap: 8px; background: var(--amber-50); }
.cert small { font-family: var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--amber-600); }
.cert b { font-size: 1.3rem; color: var(--gray-900); font-family: Georgia, serif; }
.cert i { display: block; height: 6px; border-radius: 3px; background: rgba(217, 119, 6, .25); }
.cert i.s { width: 60%; }

@media (prefers-reduced-motion: reduce) { .mp, .mt, .mt-ico, .mstage { transition: none; } .mt.on .mt-bar i { animation: none; width: 100%; } }

/* Parent communication */

.comms-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
}
@media (max-width: 900px) { .comms-grid { grid-template-columns: 1fr; } .comms-copy { order: -1; } }

.pill {
    font-family: var(--font-mono);
    font-size: .62rem;
    letter-spacing: .07em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 999px;
    white-space: nowrap;
    flex: none;
}
.pill-sample { margin-left: auto; background: var(--amber-50); color: var(--amber-600); border: 1px solid #fde68a; }

/* Stage with the phone */
.cstage { min-height: 600px; padding: 36px 20px; justify-items: center; }

.phone {
    position: relative; z-index: 2;
    width: 100%; max-width: 330px;
    background: var(--gray-900);
    border-radius: 38px;
    padding: 10px;
    box-shadow: 0 40px 70px -26px rgba(8, 47, 73, .6), 0 0 0 1px rgba(255, 255, 255, .06) inset;
    animation: phone-float 7s ease-in-out infinite;
}
@keyframes phone-float { 50% { transform: translateY(-8px); } }
.phone-top {
    display: flex; align-items: center; gap: 11px;
    background: #075e54;
    color: #fff;
    padding: 15px 16px;
    border-radius: 29px 29px 0 0;
}
.phone-top b { display: block; font-family: var(--font-display); font-size: .92rem; line-height: 1.2; }
.phone-top small { display: block; font-size: .7rem; color: #b7e4dc; }
.ph-av { width: 36px; height: 36px; border-radius: 50%; flex: none; background: rgba(255, 255, 255, .16); display: grid; place-items: center; }
.ph-av svg { width: 20px; height: 20px; }
.phone-body {
    background: #ece5dd;
    background-image: radial-gradient(rgba(7, 94, 84, .07) 1px, transparent 1.2px);
    background-size: 16px 16px;
    border-radius: 0 0 29px 29px;
    padding: 16px 12px 22px;
    min-height: 430px;
    position: relative;
    display: flex; flex-direction: column; gap: 10px;
}
.msg {
    background: #fff;
    border-radius: 4px 14px 14px 14px;
    padding: 9px 12px 6px;
    max-width: 92%;
    box-shadow: 0 1px 1px rgba(16, 24, 40, .1);
}
.msg p { font-size: .84rem; line-height: 1.45; color: var(--gray-800); }
.msg-ch {
    --ch: #16a34a;
    display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--font-mono); font-size: .58rem; letter-spacing: .08em; text-transform: uppercase;
    color: var(--ch); margin-bottom: 3px;
}
.msg-ch i { width: 6px; height: 6px; border-radius: 50%; background: var(--ch); }
.msg[data-chan="sms"] .msg-ch  { --ch: var(--sky-600); }
.msg[data-chan="push"] .msg-ch { --ch: var(--violet-600); }
.msg[data-chan="app"] .msg-ch  { --ch: var(--amber-600); }
.msg time { display: block; text-align: right; font-family: var(--font-mono); font-size: .58rem; color: var(--gray-400); margin-top: 3px; }
.msg time em { font-style: normal; color: #34b7f1; margin-left: 3px; letter-spacing: -2px; }
.msg-file { display: flex; align-items: center; gap: 8px; margin-top: 7px; padding: 8px 10px; background: var(--gray-50); border-radius: 8px; font-size: .76rem; color: var(--gray-700); }
.msg-file svg { width: 18px; height: 18px; color: var(--rose-600); flex: none; }
.msg-file small { margin-left: auto; font-family: var(--font-mono); font-size: .58rem; color: var(--gray-400); }

.typing { display: none; }
.anim .typing { display: inline-flex; position: absolute; left: 12px; top: 16px; gap: 4px; padding: 12px 14px; background: #fff; border-radius: 4px 14px 14px 14px; box-shadow: 0 1px 1px rgba(16, 24, 40, .1); visibility: hidden; }
.anim .typing.on { visibility: visible; animation: pop .25s ease both; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--gray-400); animation: dot 1s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.anim .msg { visibility: hidden; opacity: 0; }
.anim .msg.in { visibility: visible; opacity: 1; animation: pop .35s cubic-bezier(.22, .8, .3, 1) both; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.96); } }

.cchip {
    position: absolute; z-index: 3;
    display: inline-flex; align-items: center; gap: 7px;
    font-family: var(--font-display); font-weight: 700; font-size: .8rem;
    padding: 8px 14px; border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    color: var(--gray-800);
    box-shadow: 0 14px 26px -12px rgba(8, 47, 73, .4), 0 0 0 1px rgba(15, 23, 42, .05);
    animation: chip-bob 6s ease-in-out infinite;
}
.cchip.wa { color: #15803d; }
.cchip.c1 { left: 6%; top: 12%; }
.cchip.c2 { right: 4%; top: 22%; animation-delay: -1.5s; }
.cchip.c3 { left: 2%; top: 52%; animation-delay: -3s; }
.cchip.c4 { right: 6%; top: 58%; animation-delay: -4.5s; }
.cchip.c5 { left: 12%; bottom: 10%; animation-delay: -2s; }
.cchip.deliv { right: 3%; bottom: 2.5%; color: #fff; background: #15803d; animation-delay: -1s; }
.cchip.deliv svg { width: 15px; height: 15px; }
@keyframes chip-bob { 50% { transform: translateY(-9px); } }
@media (max-width: 560px) { .cchip.c1, .cchip.c3 { display: none; } .cstage { min-height: 560px; } }

/* Copy */
.comms-copy .h2 { max-width: 15em; }
.feat { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.feat li {
    display: flex; gap: 16px; align-items: flex-start;
    padding: 18px 20px; background: var(--surface);
    border: 1px solid var(--gray-200); border-radius: 18px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feat li:hover { transform: translateY(-2px); border-color: var(--emerald-600); box-shadow: 0 16px 30px -18px rgba(8, 47, 73, .3); }
.feat-ico { width: 42px; height: 42px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--emerald-50); color: var(--emerald-600); }
.feat-ico svg { width: 21px; height: 21px; }
.feat b { display: block; font-family: var(--font-display); font-size: 1.02rem; letter-spacing: -.015em; color: var(--gray-900); }
.feat p { font-size: .9rem; color: var(--text-mid); line-height: 1.5; margin-top: 3px; }

@media (prefers-reduced-motion: reduce) { .phone, .cchip, .typing i { animation: none; } .anim .msg.in { animation: none; } }

/* FAQ */

.faq-grid {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: start;
}
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }
.faq-side { position: sticky; top: 96px; }
@media (max-width: 900px) { .faq-side { position: static; } }
.faq-side .h2 { max-width: 12em; }

.faq-help {
    margin-top: 32px; padding: 22px 24px; border-radius: 20px;
    background: var(--surface); border: 1px solid var(--gray-200);
    box-shadow: 0 18px 36px -22px rgba(8, 47, 73, .3);
}
.faq-help b { display: block; font-family: var(--font-display); font-size: 1.1rem; letter-spacing: -.02em; color: var(--gray-900); }
.faq-help small { display: block; font-size: .9rem; color: var(--text-mid); margin-top: 3px; }
.faq-help-b { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

.faq-list { display: grid; gap: 12px; }
.faq-item {
    background: var(--surface); border: 1px solid var(--gray-200); border-radius: 20px;
    transition: border-color .25s ease, box-shadow .25s ease;
}
.faq-item:hover { border-color: var(--sky-300); }
.faq-item.open { border-color: var(--sky-400); box-shadow: 0 20px 40px -26px rgba(3, 105, 161, .5); }
.faq-item h3 { margin: 0; font-size: inherit; letter-spacing: normal; }
.faq-q {
    width: 100%; display: flex; align-items: center; gap: 16px; text-align: left;
    padding: 18px 20px; border: 0; background: none; cursor: pointer; font: inherit; color: var(--gray-900);
    border-radius: 20px;
}
.faq-ico {
    width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-items: center;
    background: var(--sky-50); color: var(--sky-600);
    transition: background-color .25s ease, color .25s ease;
}
.faq-ico svg { width: 20px; height: 20px; }
.faq-item.open .faq-ico { background: var(--sky-600); color: #fff; }
.faq-t { font-family: var(--font-display); font-weight: 700; font-size: 1.06rem; letter-spacing: -.02em; line-height: 1.3; }

.faq-plus { margin-left: auto; position: relative; width: 28px; height: 28px; border-radius: 50%; flex: none; background: var(--gray-100); transition: background-color .25s ease, transform .3s ease; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--gray-700); transition: transform .3s ease, background-color .25s ease; }
.faq-plus::after { transform: rotate(90deg); }
.faq-item.open .faq-plus { background: var(--sky-600); }
.faq-item.open .faq-plus::before, .faq-item.open .faq-plus::after { background: #fff; }
.faq-item.open .faq-plus::after { transform: rotate(0deg); }

.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 24px 22px 76px; font-size: .98rem; color: var(--text-mid); line-height: 1.7; max-width: 62ch; }
@media (max-width: 520px) { .faq-a p { padding-left: 24px; } }

.faq-js .faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq-js .faq-item.open .faq-a { grid-template-rows: 1fr; }

@media (prefers-reduced-motion: reduce) { .faq-js .faq-a, .faq-plus, .faq-plus::before, .faq-plus::after { transition: none; } }

/* Scroll reveal */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.22, .8, .3, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* Student Intelligence */

.iq { padding-block: clamp(64px, 9vw, 120px); }
.iq::after {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
        linear-gradient(rgba(125, 211, 252, .07) 1px, transparent 1px) 0 0 / 56px 56px,
        linear-gradient(90deg, rgba(125, 211, 252, .07) 1px, transparent 1px) 0 0 / 56px 56px;
    -webkit-mask-image: linear-gradient(#000, transparent 70%);
            mask-image: linear-gradient(#000, transparent 70%);
}
.on-deep .caps { color: var(--sky-300); }
.iq .eyebrow svg { width: 14px; height: 14px; }

.iq-head { max-width: 50rem; margin-bottom: clamp(32px, 4.5vw, 52px); }
.iq-head .h2 { font-size: clamp(2.1rem, 4.8vw, 3.5rem); letter-spacing: -.035em; line-height: 1.07; margin-bottom: 20px; max-width: 14em; }
.iq-head .lede { max-width: 54ch; }

.iq-boardhead { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.iq-boardt { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-deep-soft); }
.iq-boardhead .pill-sample { margin-left: 0; background: rgba(251, 191, 36, .14); color: #fcd34d; border-color: rgba(251, 191, 36, .4); }

.iq-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 820px) { .iq-board { grid-template-columns: 1fr; } }

.ic {
    --c: #38bdf8;
    position: relative; display: flex; flex-direction: column; gap: 14px;
    padding: 28px 26px 24px; overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(165deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
    border: 1px solid var(--deep-line);
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease, opacity .6s ease;
}
.ic::before {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
    background: linear-gradient(90deg, transparent, var(--c), transparent); opacity: .9;
}
.ic::after {
    content: ""; position: absolute; inset: -40% -20% auto auto; width: 220px; height: 220px; border-radius: 50%;
    background: var(--c); opacity: .1; filter: blur(44px); pointer-events: none; transition: opacity .3s;
}
.ic:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 55%, transparent); box-shadow: 0 24px 50px -24px var(--c); }
.ic:hover::after { opacity: .22; }

.ic-top { display: flex; align-items: center; gap: 11px; }
.ic-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 14px var(--c); flex: none; }
.ic-top b { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: -.025em; color: #fff; line-height: 1.2; }
.ic-m { font-size: .98rem; color: var(--on-deep-soft); line-height: 1.5; }

.ic-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 22px; }
.ic-av { display: flex; }
.ic-av i {
    width: 34px; height: 34px; border-radius: 50%; margin-left: -9px; flex: none;
    display: grid; place-items: center; font-style: normal; font-family: var(--font-display); font-weight: 700; font-size: .68rem;
    color: #fff; background: color-mix(in srgb, var(--c) 55%, #0b2a40); border: 2px solid #0a2a40;
}
.ic-av i:first-child { margin-left: 0; }
.ic-n { font-size: .86rem; color: var(--on-deep-soft); white-space: nowrap; }
.ic-n span { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; }

.iq-board.pre .ic { opacity: 0; transform: translateY(22px); }
.iq-board:not(.pre) .ic { transition-delay: var(--d, 0ms), 0s, 0s, var(--d, 0ms); }

.iq-cta {
    margin-top: clamp(28px, 4vw, 40px);
    display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap;
    padding: 24px 28px; border-radius: 22px;
    background: linear-gradient(120deg, rgba(56, 189, 248, .18), rgba(124, 58, 237, .16));
    border: 1px solid rgba(125, 211, 252, .3);
}
.iq-cta b { display: block; font-family: var(--font-display); font-size: 1.25rem; letter-spacing: -.02em; color: #fff; }
.iq-cta small { display: block; font-size: .95rem; color: var(--on-deep-soft); margin-top: 4px; }
.iq-cta .btn-light { color: var(--sky-800); }
.iq-cta .btn-light:hover { background: var(--sky-50); }

@media (prefers-reduced-motion: reduce) { .ic { transition: none; } .iq-board.pre .ic { opacity: 1; transform: none; } }

/* Pricing */

.pricing { background: var(--surface); }
.price-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(30px, 6vw, 80px);
    align-items: center;
}
@media (max-width: 920px) { .price-grid { grid-template-columns: 1fr; } }
.price-copy .h2 { max-width: 12em; }

.bq {
    margin-top: 34px; display: flex; gap: 18px; align-items: flex-start;
    padding: 24px 26px; border-radius: 22px;
    background: var(--canvas); border: 1px solid var(--gray-200);
}
.bq-ico { width: 46px; height: 46px; border-radius: 14px; flex: none; display: grid; place-items: center; background: var(--sky-50); color: var(--sky-600); }
.bq-ico svg { width: 23px; height: 23px; }
.bq b { display: block; font-family: var(--font-display); font-size: 1.15rem; letter-spacing: -.02em; color: var(--gray-900); }
.bq p { font-size: .95rem; color: var(--text-mid); line-height: 1.55; margin-top: 3px; }
.bq-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; font-family: var(--font-display); font-weight: 700; font-size: .95rem; color: var(--sky-700); text-decoration: none; }
.bq-link:hover { color: var(--sky-900); }
.bq-link:hover svg { transform: translateX(3px); }
.bq-link svg { transition: transform .2s; }

.pcard {
    position: relative; isolation: isolate; overflow: hidden;
    padding: clamp(28px, 4vw, 42px);
    border-radius: 30px; color: var(--on-deep);
    background: linear-gradient(160deg, #0b3a5c, var(--sky-950) 70%);
    box-shadow: 0 44px 90px -36px rgba(8, 47, 73, .75), 0 0 0 1px rgba(125, 211, 252, .2);
}
.pcard::before, .pcard::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(64px); pointer-events: none; }
.pcard::before { width: 340px; height: 340px; right: -120px; top: -120px; background: #0ea5e9; opacity: .5; }
.pcard::after  { width: 280px; height: 280px; left: -100px; bottom: -120px; background: #7c3aed; opacity: .38; }

.pc-tag { display: inline-block; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; padding: 6px 13px; border-radius: 999px; background: linear-gradient(135deg, var(--sky-500), var(--violet-600)); box-shadow: 0 8px 20px -8px rgba(14, 165, 233, .8); }
.pc-price { display: flex; align-items: flex-start; gap: 8px; margin-top: 22px; color: #fff; }
.pc-cur { font-family: var(--font-display); font-weight: 700; font-size: 2.2rem; margin-top: .55rem; color: var(--sky-300); }
.pc-amt { font-family: var(--font-display); font-weight: 800; font-size: clamp(4rem, 9vw, 6rem); letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.pc-per { align-self: flex-end; margin-bottom: .5rem; font-size: .95rem; line-height: 1.25; color: var(--on-deep-soft); }
.pc-sub { margin-top: 10px; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--on-deep); }

.pc-list { list-style: none; margin: 26px 0 28px; padding: 22px 0 0; border-top: 1px solid var(--deep-line); display: grid; gap: 13px; }
.pc-list li { display: flex; align-items: center; gap: 12px; font-size: 1rem; color: #fff; }
.pc-list svg { width: 22px; height: 22px; padding: 4px; box-sizing: content-box; flex: none; border-radius: 50%; color: #34d399; background: rgba(52, 211, 153, .16); }

.pcard .btn-light { color: var(--sky-800); }
.pcard .btn-light:hover { background: var(--sky-50); }
.pc-more { margin-top: 18px; text-align: center; font-size: .9rem; color: var(--on-deep-soft); }
.pc-more a { color: var(--sky-300); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(125, 211, 252, .4); }
.pc-more a:hover { color: #fff; border-color: #fff; }

/* Contact */

.cform {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    border-radius: 24px; overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--gray-200);
    box-shadow: 0 24px 50px -32px rgba(8, 47, 73, .25);
}
@media (max-width: 920px) { .cform { grid-template-columns: 1fr; } }

.cf-side {
    padding: clamp(28px, 4vw, 44px);
    background: var(--canvas);
    border-right: 1px solid var(--gray-200);
    display: flex; flex-direction: column;
}
@media (max-width: 920px) { .cf-side { border-right: 0; border-bottom: 1px solid var(--gray-200); } }
.cf-side .eyebrow { align-self: flex-start; }
.cf-side .h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); max-width: 12em; }
.cf-side .lede { margin-top: 14px; font-size: 1rem; }

.cf-points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.cf-points li { display: flex; align-items: center; gap: 13px; }
.cf-ico { width: 38px; height: 38px; border-radius: 10px; flex: none; display: grid; place-items: center; background: var(--sky-50); color: var(--sky-600); }
.cf-ico svg { width: 19px; height: 19px; }
.cf-points b { display: block; font-family: var(--font-display); font-size: .92rem; color: var(--gray-900); }
.cf-points a, .cf-points em { display: block; font-style: normal; font-size: .9rem; color: var(--text-mid); text-decoration: none; }
.cf-points a { color: var(--sky-700); font-weight: 600; }
.cf-points a:hover { text-decoration: underline; }

.cf-rate { margin-top: 28px; padding: 13px 16px; border-radius: 12px; font-size: .88rem; color: var(--text-mid); background: var(--sky-50); border: 1px solid var(--sky-100); }
.cf-rate span { font-family: var(--font-display); font-weight: 800; color: var(--sky-800); }

.cf-main { padding: clamp(24px, 4vw, 44px); }
.cf-main form { display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }

.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .chipset legend { font-family: var(--font-body); font-size: .84rem; font-weight: 600; color: var(--gray-700); padding: 0; }
.field label .req { color: var(--rose-600); }
.field label .opt { font-weight: 400; font-size: .76rem; color: var(--text-soft); margin-left: 6px; }
.field input:not([type="radio"]), .field select, .field textarea {
    font-family: var(--font-body); font-size: .95rem; color: var(--gray-900);
    background: #fff; border: 1px solid var(--gray-300); border-radius: 10px;
    padding: 11px 13px; width: 100%; min-width: 0;
    transition: border-color .15s, box-shadow .15s;
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 13px center; padding-right: 38px; }
.field textarea { resize: vertical; min-height: 96px; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: var(--gray-400); }
.field input:not([type="radio"]):focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky-500); box-shadow: 0 0 0 3px rgba(14, 165, 233, .15); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--rose-500); }
.field input[aria-invalid="true"]:focus, .field select[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(244, 63, 94, .14); }
.field .err { font-size: .78rem; color: var(--rose-600); }
.field .err:empty { display: none; }

@media (max-width: 1023.98px) { .field input:not([type="radio"]), .field select, .field textarea { font-size: 16px; } }

.chipset { gap: 8px; }
.chipc-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chipc { position: relative; display: inline-block; }
.chipc input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; margin: 0; padding: 0; border: 0; opacity: 0; pointer-events: none; }
.chipc span {
    display: inline-block; font-size: .88rem; font-weight: 500;
    padding: 8px 15px; border-radius: 999px; cursor: pointer;
    background: #fff; border: 1px solid var(--gray-300); color: var(--gray-700);
    transition: background-color .15s, border-color .15s, color .15s;
}
.chipc:hover span { border-color: var(--sky-400); }
.chipc input:checked + span { background: var(--sky-50); border-color: var(--sky-600); color: var(--sky-800); font-weight: 600; }
.chipc input:focus-visible + span { box-shadow: 0 0 0 3px rgba(14, 165, 233, .3); }

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { font-size: .9rem; border-radius: 10px; padding: 12px 14px; border: 1px solid var(--sky-100); background: var(--sky-50); color: var(--sky-800); }
.form-status[hidden] { display: none !important; }
.form-status.ok  { background: var(--emerald-50); border-color: #a7f3d0; color: #047857; }
.form-status.bad { background: var(--rose-50); border-color: #fecdd3; color: var(--rose-600); }

.cf-main .btn-lg { padding: 14px 22px; font-size: .98rem; border-radius: 10px; box-shadow: none; }
.cf-fine { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: .8rem; color: var(--text-soft); text-align: center; }
.cf-fine svg { width: 13px; height: 13px; flex: none; }

/* Footer */

.foot {
    position: relative; isolation: isolate; overflow: hidden;
    background: var(--sky-950); color: var(--on-deep-soft);
    padding-top: clamp(48px, 6vw, 72px);
}
.foot::before {
    content: ""; position: absolute; z-index: -1; left: 50%; top: -160px; width: 760px; height: 300px; margin-left: -380px;
    background: radial-gradient(closest-side, rgba(14, 165, 233, .28), transparent);
    pointer-events: none;
}
.foot-top {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, .65fr));
    gap: 36px 48px;
    padding-bottom: clamp(32px, 4vw, 48px);
}
@media (max-width: 900px) { .foot-top { grid-template-columns: 1fr 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 640px) { .foot-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .foot-top { grid-template-columns: 1fr; } }

.foot .lockup { color: #fff; }
.foot-brand p { font-size: .95rem; color: var(--on-deep-soft); margin-top: 16px; max-width: 38ch; line-height: 1.65; }
.foot-cta { margin-top: 22px; padding: 11px 18px; font-size: .88rem; }
.foot-col h4 { font-family: var(--font-mono); font-size: .68rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--sky-300); margin-bottom: 16px; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.foot-col a { font-size: .92rem; color: var(--on-deep-soft); text-decoration: none; transition: color .15s; }
.foot-col a:hover { color: #fff; }

.foot-base {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px;
    padding-block: 20px; border-top: 1px solid var(--deep-line);
    font-size: .82rem; color: var(--on-deep-soft);
}
.foot-top-btn {
    margin-left: auto; width: 36px; height: 36px; border-radius: 50%;
    display: grid; place-items: center; color: var(--sky-300);
    border: 1px solid var(--deep-line); background: rgba(255, 255, 255, .05);
    transition: background-color .2s, color .2s, transform .2s;
}
.foot-top-btn svg { width: 17px; height: 17px; transform: rotate(-90deg); }
.foot-top-btn:hover { background: var(--sky-600); color: #fff; transform: translateY(-2px); }

.foot-col .ext, .foot-parent .ext { margin-left: 3px; vertical-align: -1px; opacity: .75; }

.foot-seo {
    display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px clamp(28px, 5vw, 64px);
    padding-block: clamp(26px, 3.5vw, 40px); border-top: 1px solid var(--deep-line);
}
@media (max-width: 860px) { .foot-seo { grid-template-columns: 1fr; } }
.foot-seo h3 { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: -.015em; color: #fff; margin-bottom: 12px; }
.foot-seo p { font-size: .88rem; line-height: 1.75; color: var(--on-deep-soft); max-width: 66ch; }
.foot-seo p + p { margin-top: 10px; }
.foot-topics h4 { font-family: var(--font-mono); font-size: .68rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--sky-300); margin-bottom: 14px; }
.foot-topics ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.foot-topics a {
    display: inline-block; font-size: .8rem; color: var(--on-deep-soft); text-decoration: none;
    padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--deep-line);
    transition: color .15s, border-color .15s, background-color .15s;
}
.foot-topics a:hover { color: #fff; border-color: rgba(125, 211, 252, .5); background: rgba(56, 189, 248, .12); }

.foot-parent { display: flex; align-items: center; gap: 12px; padding-block: 18px; border-top: 1px solid var(--deep-line); }
.fp-mark { width: 30px; height: 30px; border-radius: 9px; flex: none; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: .95rem; color: #fff; background: linear-gradient(135deg, var(--sky-500), var(--violet-600)); }
.foot-parent p { font-size: .9rem; color: var(--on-deep-soft); }
.foot-parent a { color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(125, 211, 252, .45); }
.foot-parent a:hover { color: var(--sky-300); }

.foot-mark {
    margin-top: 8px; text-align: center; user-select: none; pointer-events: none;
    font-family: var(--font-display); font-weight: 800; letter-spacing: -.06em; white-space: nowrap;
    font-size: clamp(4rem, 17vw, 15rem); line-height: .78; height: .58em; overflow: hidden;
    background: linear-gradient(180deg, rgba(125, 211, 252, .28), rgba(125, 211, 252, 0) 85%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
    }
    .mod:hover { transform: none; }
    .float-note { animation: none; }
    .hero-visual .shot { transform: none; }
    .js .reveal { opacity: 1; transform: none; }
}

/* Overrides */

body { background: var(--surface); }
.section.alt { background: var(--canvas); }
.pricing,
.section.alt .card, .section.alt .form-card { box-shadow: var(--shadow-md); }

.m-att .bars { height: 170px; gap: 12px; }
@media (max-width: 1000px) { .m-att .bars { height: 130px; } }

.ttg:not(.ttrows) { grid-template-columns: repeat(5, 1fr); }
.ttg:not(.ttrows) > span { display: none; }
.ringbox b { font-size: 1.28rem; }

/* Theme */
:root { --cyan-600: #0891b2; --indigo-600: #4f46e5; --blue-600: #2563eb; }

.mstage                       { --st-bg: #dff1fd; --st-blob: #9bd6f7; --st-blob2: #c9c4fb; }
.mstage[data-tone="amber"]    { --st-bg: #dbf3f9; --st-blob: #8fe0ee; --st-blob2: #9bd6f7; }
.mstage[data-tone="violet"]   { --st-bg: #ece8fe; --st-blob: #c4b5fd; --st-blob2: #9bd6f7; }
.mstage[data-tone="rose"]     { --st-bg: #e4e7fd; --st-blob: #a5b4fc; --st-blob2: #9bd6f7; }
.mstage[data-tone="emerald"]  { --st-bg: #dbe8fb; --st-blob: #93b4ee; --st-blob2: #c4b5fd; }

.mt[data-tone="amber"].on .mt-ico   { background: var(--cyan-600); }
.mt[data-tone="rose"].on .mt-ico    { background: var(--indigo-600); }
.mt[data-tone="emerald"].on .mt-ico { background: var(--blue-600); }
.mt[data-tone="amber"] .mt-bar i    { background: var(--cyan-600); }
.mt[data-tone="rose"] .mt-bar i     { background: var(--indigo-600); }
.mt[data-tone="emerald"] .mt-bar i  { background: var(--blue-600); }

.role-tab[data-tone="amber"]   { --tone: var(--cyan-600); }
.role-tab[data-tone="emerald"] { --tone: var(--blue-600); }
.role-tab[data-tone="rose"]    { --tone: var(--indigo-600); }
.rstage[data-tone="amber"] .rc-av,   .rstage[data-tone="amber"] .rc-meter i,   .rstage[data-tone="amber"] .pr.on .sw   { background: var(--cyan-600); }
.rstage[data-tone="emerald"] .rc-av, .rstage[data-tone="emerald"] .rc-meter i, .rstage[data-tone="emerald"] .pr.on .sw { background: var(--blue-600); }
.rstage[data-tone="rose"] .rc-av,    .rstage[data-tone="rose"] .rc-meter i,    .rstage[data-tone="rose"] .pr.on .sw    { background: var(--indigo-600); }
.pr-s { color: var(--sky-800); background: var(--sky-50); }

.ttrows .a { background: var(--sky-100);   color: var(--sky-800); }
.ttrows .b { background: var(--violet-50); color: var(--violet-600); }
.ttrows .c { background: #dbf3f9;          color: var(--cyan-600); }
.ttrows .d { background: #e4e7fd;          color: var(--indigo-600); }
.ttrows .e { background: #dbe8fb;          color: var(--blue-600); }
.cert { border-color: var(--sky-500); background: var(--sky-50); }
.cert small { color: var(--sky-700); }
.cert i { background: rgba(14, 165, 233, .22); }
.avs i, .av.r { background: #e4e7fd; color: var(--indigo-600); }

.phone-top { background: var(--sky-800); }
.phone-top small { color: var(--sky-200); }
.phone-body { background-color: #e8f1f8; background-image: radial-gradient(rgba(3, 105, 161, .08) 1px, transparent 1.2px); }
.msg-ch { --ch: var(--sky-600); }
.msg[data-chan="sms"] .msg-ch  { --ch: var(--cyan-600); }
.msg[data-chan="push"] .msg-ch { --ch: var(--violet-600); }
.msg[data-chan="app"] .msg-ch  { --ch: var(--indigo-600); }
.msg time em { color: var(--sky-500); }
.cchip.wa { color: var(--gray-800); }
.cchip.deliv { background: var(--sky-700); }
.feat li:hover { border-color: var(--sky-500); }
.feat-ico { background: var(--sky-50); color: var(--sky-600); }
.chans span.wa { background: var(--violet-50); color: var(--violet-600); }
.mtx td i.on { background: var(--sky-600); box-shadow: 0 0 0 4px rgba(14, 165, 233, .16); }

.mstage, .mpanels { grid-template-columns: minmax(0, 1fr); }
.mp, .win { min-width: 0; }
@media (max-width: 520px) {
    .mstage { min-height: 0; padding: 18px 14px; }
    .win-bar { gap: 8px; padding: 12px 14px; }
    .win-chip { font-size: .6rem; padding: 3px 8px; white-space: nowrap; }
    .win-body { padding: 16px; }
    .win-foot { padding: 12px 16px; }
    .steps2 li { flex-wrap: wrap; gap: 10px; padding: 9px 8px; }
    .steps2 li > div { flex: 1 1 0; min-width: 0; }
}

@media (max-width: 400px) {
    .hero h1 { font-size: 2.15rem; letter-spacing: -.04em; }
    .hero h1 .hl { white-space: nowrap; margin-right: -.12em; }
    .hero-badge { font-size: .82rem; padding: 6px 12px 6px 6px; }
    .scene { --sc: .38; height: 300px; }
    .seg-b { padding: 9px 12px; font-size: .8rem; }
}

.m-cta { display: none; }
