:root {
    --home-bg: #f8faff;
    --home-surface: #ffffff;
    --home-surface-soft: #f1f5ff;
    --home-surface-raised: rgba(255, 255, 255, 0.86);
    --home-text: #101828;
    --home-muted: #667085;
    --home-subtle: #98a2b3;
    --home-border: #e4e9f2;
    --home-border-strong: #d5dcec;
    --home-primary: #5146e5;
    --home-primary-strong: #4138cc;
    --home-primary-soft: #eeecff;
    --home-cyan: #0891b2;
    --home-rose: #e11d66;
    --home-amber: #d97706;
    --home-success: #16a36a;
    --home-shadow-sm: 0 8px 30px rgba(31, 42, 68, 0.08);
    --home-shadow-lg: 0 28px 80px rgba(32, 40, 90, 0.16);
    --home-radius: 22px;
    --home-radius-sm: 14px;
    --home-header: rgba(248, 250, 255, 0.82);
}

[data-theme="dark"] {
    --home-bg: #090d19;
    --home-surface: #111827;
    --home-surface-soft: #151d2f;
    --home-surface-raised: rgba(17, 24, 39, 0.88);
    --home-text: #f7f9fc;
    --home-muted: #a8b2c5;
    --home-subtle: #77839a;
    --home-border: #252f43;
    --home-border-strong: #354158;
    --home-primary: #756cf4;
    --home-primary-strong: #8a82ff;
    --home-primary-soft: rgba(117, 108, 244, 0.15);
    --home-cyan: #22b8cf;
    --home-rose: #f45b93;
    --home-amber: #f0a13b;
    --home-success: #35c58b;
    --home-shadow-sm: 0 8px 30px rgba(0, 0, 0, 0.22);
    --home-shadow-lg: 0 32px 90px rgba(0, 0, 0, 0.38);
    --home-header: rgba(9, 13, 25, 0.82);
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    color: var(--home-text);
    background: var(--home-bg);
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.25s ease, color 0.25s ease;
}

button,
a {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

.home-container {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 9999;
    padding: 10px 16px;
    color: #fff;
    background: var(--home-primary);
    border-radius: 10px;
    transform: translateY(-160%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.home-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    height: 82px;
    border-bottom: 1px solid transparent;
    transition: height 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.home-header.is-scrolled {
    height: 72px;
    background: var(--home-header);
    border-bottom-color: var(--home-border);
    box-shadow: 0 8px 30px rgba(20, 25, 50, 0.06);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.home-nav-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 28px;
}

.home-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.home-brand-mark {
    position: relative;
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(140deg, #6558ed 5%, #4d46df 48%, #07a6c7 100%);
    border-radius: 13px;
    box-shadow: 0 8px 22px rgba(81, 70, 229, 0.3);
    font-size: 1.25rem;
}

.home-brand-mark::after {
    content: "";
    position: absolute;
    width: 24px;
    height: 50px;
    left: -16px;
    top: -8px;
    background: rgba(255, 255, 255, 0.22);
    transform: rotate(32deg);
}

.home-brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.home-brand-copy strong {
    max-width: 220px;
    overflow: hidden;
    color: var(--home-text);
    font-family: "Outfit", sans-serif;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-brand-copy small {
    margin-top: 4px;
    color: var(--home-muted);
    font-size: 0.67rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.home-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-left: auto;
}

.home-nav a {
    position: relative;
    padding: 7px 0;
    color: var(--home-muted);
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.home-nav a::after {
    content: "";
    position: absolute;
    inset: auto 50% 0;
    height: 2px;
    background: var(--home-primary);
    border-radius: 2px;
    transition: left 0.2s ease, right 0.2s ease;
}

.home-nav a:hover,
.home-nav a:focus-visible {
    color: var(--home-text);
}

.home-nav a:hover::after,
.home-nav a:focus-visible::after {
    left: 0;
    right: 0;
}

.home-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.home-theme-toggle,
.home-menu-toggle {
    display: grid;
    place-items: center;
    width: 41px;
    height: 41px;
    padding: 0;
    color: var(--home-muted);
    background: var(--home-surface-raised);
    border: 1px solid var(--home-border);
    border-radius: 12px;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.home-theme-toggle:hover {
    color: var(--home-primary);
    border-color: var(--home-primary);
    transform: translateY(-2px);
}

[data-theme="light"] .theme-sun,
[data-theme="dark"] .theme-moon {
    display: none;
}

.home-menu-toggle {
    display: none;
    gap: 4px;
}

.home-menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 3px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 43px;
    padding: 10px 18px;
    gap: 9px;
    color: var(--home-text);
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.home-btn:hover,
.home-btn:focus-visible {
    transform: translateY(-2px);
}

.home-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--home-primary), #4b9bd7);
    box-shadow: 0 9px 24px rgba(81, 70, 229, 0.25);
}

.home-btn-primary:hover,
.home-btn-primary:focus-visible {
    box-shadow: 0 13px 30px rgba(81, 70, 229, 0.34);
}

.home-btn-ghost {
    color: var(--home-muted);
}

.home-btn-ghost:hover,
.home-btn-ghost:focus-visible {
    color: var(--home-primary);
    background: var(--home-primary-soft);
}

.home-btn-secondary {
    color: var(--home-text);
    background: var(--home-surface);
    border-color: var(--home-border-strong);
    box-shadow: var(--home-shadow-sm);
}

.home-btn-secondary:hover,
.home-btn-secondary:focus-visible {
    border-color: var(--home-primary);
    color: var(--home-primary);
}

.home-btn-large {
    min-height: 52px;
    padding: 14px 22px;
    border-radius: 14px;
    font-size: 0.95rem;
}

.home-hero {
    position: relative;
    min-height: 820px;
    padding: 156px 0 94px;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 12%, rgba(117, 108, 244, 0.11), transparent 28%),
        radial-gradient(circle at 86% 38%, rgba(8, 145, 178, 0.10), transparent 25%);
}

.home-hero-grid,
.cta-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(100, 113, 142, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(100, 113, 142, 0.06) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 90%);
}

.home-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    filter: blur(90px);
    border-radius: 50%;
    opacity: 0.16;
    pointer-events: none;
}

.home-glow-one {
    left: -260px;
    top: 180px;
    background: #665df2;
}

.home-glow-two {
    right: -230px;
    bottom: 10px;
    background: #08b6ca;
}

.home-hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(540px, 1.14fr);
    align-items: center;
    gap: 64px;
}

.home-hero-copy {
    position: relative;
    z-index: 3;
    max-width: 590px;
}

.home-eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--home-primary);
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.home-eyebrow {
    padding: 7px 12px 7px 8px;
    color: var(--home-primary);
    background: var(--home-primary-soft);
    border: 1px solid rgba(81, 70, 229, 0.12);
    border-radius: 999px;
    letter-spacing: 0.04em;
    text-transform: none;
}

.home-eyebrow span {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    color: #fff;
    background: var(--home-primary);
    border-radius: 50%;
    font-size: 0.72rem;
}

.home-hero h1,
.section-heading h2,
.workflow-copy h2,
.school-copy h2,
.home-cta h2 {
    margin: 0;
    color: var(--home-text);
    font-family: "Outfit", sans-serif;
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.06;
}

.home-hero h1 {
    margin-top: 24px;
    font-size: clamp(3rem, 5.2vw, 5.1rem);
}

.home-hero h1 span {
    display: block;
    color: transparent;
    background: linear-gradient(95deg, var(--home-primary) 8%, #398fcb 55%, #08a3b9);
    -webkit-background-clip: text;
    background-clip: text;
}

.home-hero-lead {
    max-width: 570px;
    margin: 24px 0 0;
    color: var(--home-muted);
    font-size: 1.08rem;
    line-height: 1.75;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.home-hero-proof {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 30px;
}

.proof-avatars {
    display: flex;
}

.proof-avatars span {
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    margin-left: -8px;
    color: #fff;
    background: #4f46e5;
    border: 3px solid var(--home-bg);
    border-radius: 50%;
    font-size: 0.62rem;
    font-weight: 800;
}

.proof-avatars span:first-child {
    margin-left: 0;
    background: #3f83cc;
}

.proof-avatars span:last-child {
    background: #0d9d91;
}

.proof-stars {
    display: flex;
    gap: 2px;
    color: #f5a524;
    font-size: 0.66rem;
}

.home-hero-proof p {
    margin: 3px 0 0;
    color: var(--home-muted);
    font-size: 0.77rem;
    font-weight: 600;
}

.home-product-stage {
    position: relative;
    min-height: 560px;
    perspective: 1200px;
}

.product-window {
    position: absolute;
    top: 42px;
    left: 0;
    z-index: 3;
    width: 665px;
    overflow: hidden;
    background: #f5f7fb;
    border: 1px solid rgba(153, 163, 184, 0.28);
    border-radius: 22px;
    box-shadow: 0 40px 100px rgba(33, 42, 92, 0.2), 0 10px 35px rgba(41, 50, 100, 0.09);
    transform: rotateY(-4deg) rotateX(2deg);
    transform-origin: left center;
}

[data-theme="dark"] .product-window {
    border-color: rgba(111, 123, 149, 0.25);
    box-shadow: 0 40px 110px rgba(0, 0, 0, 0.5);
}

.product-topbar {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 0 15px;
    color: #576176;
    background: #fff;
    border-bottom: 1px solid #e8ecf3;
}

.product-dots {
    display: flex;
    gap: 5px;
}

.product-dots span {
    width: 7px;
    height: 7px;
    background: #f16e66;
    border-radius: 50%;
}

.product-dots span:nth-child(2) {
    background: #f2bd4c;
}

.product-dots span:nth-child(3) {
    background: #4fc889;
}

.product-breadcrumb {
    margin-left: 38px;
    font-size: 0.67rem;
    font-weight: 700;
}

.product-breadcrumb i {
    margin-right: 5px;
    color: #6558ed;
}

.product-user {
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    margin-left: auto;
    color: #fff;
    background: linear-gradient(135deg, #6558ed, #4a9cd3);
    border-radius: 8px;
    font-size: 0.55rem;
    font-weight: 800;
}

.product-body {
    display: flex;
    min-height: 412px;
}

.product-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 58px;
    padding: 15px 0;
    gap: 12px;
    color: #98a2b3;
    background: #121829;
}

.product-sidebar span,
.mini-logo {
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    border-radius: 8px;
    font-size: 0.78rem;
}

.product-sidebar span.active {
    color: #fff;
    background: #5f55e8;
    box-shadow: 0 7px 18px rgba(95, 85, 232, 0.32);
}

.mini-logo {
    margin-bottom: 12px;
    color: #fff;
    background: linear-gradient(135deg, #6558ed, #08a4c1);
}

.product-content {
    width: calc(100% - 58px);
    padding: 22px 22px 24px;
    color: #172033;
}

.preview-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.preview-heading div {
    display: flex;
    flex-direction: column;
}

.preview-heading small {
    color: #8c95a7;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.preview-heading strong {
    margin-top: 2px;
    font-family: "Outfit", sans-serif;
    font-size: 0.93rem;
}

.draft-pill {
    padding: 5px 9px;
    color: #16835a;
    background: #e9f9f2;
    border-radius: 999px;
    font-size: 0.55rem;
    font-weight: 700;
}

.draft-pill i {
    margin-right: 3px;
    font-size: 0.36rem;
}

.builder-progress {
    display: flex;
    align-items: flex-start;
    margin: 22px 8px 20px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 auto;
    gap: 5px;
    color: #a0a8b7;
}

.progress-step span {
    display: grid;
    place-items: center;
    width: 23px;
    height: 23px;
    background: #e4e8ef;
    border-radius: 50%;
    font-size: 0.57rem;
    font-weight: 800;
}

.progress-step small {
    font-size: 0.48rem;
    font-weight: 700;
}

.progress-step.active,
.progress-step.complete {
    color: #5549dc;
}

.progress-step.active span,
.progress-step.complete span {
    color: #fff;
    background: #5e53e7;
}

.progress-line {
    height: 2px;
    margin: 11px 7px 0;
    flex: 1;
    background: #e1e5ec;
}

.progress-line.active {
    background: #6558ed;
}

.preview-card {
    padding: 16px;
    background: #fff;
    border: 1px solid #e2e6ee;
    border-radius: 13px;
    box-shadow: 0 8px 26px rgba(40, 48, 76, 0.06);
}

.preview-card-title,
.preview-card-title > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.preview-card-title > div {
    justify-content: flex-start;
    gap: 9px;
}

.preview-card-title > div > span {
    display: grid;
    place-items: center;
    width: 29px;
    height: 29px;
    color: #fff;
    background: #5d52e5;
    border-radius: 8px;
    font-size: 0.6rem;
    font-weight: 800;
}

.preview-card-title div div {
    display: flex;
    flex-direction: column;
}

.preview-card-title strong {
    font-size: 0.7rem;
}

.preview-card-title small {
    color: #8b95a8;
    font-size: 0.5rem;
}

.preview-card-title > i {
    color: #9aa3b5;
}

.chapter-row,
.question-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 14px;
}

.chapter-choice {
    display: flex;
    align-items: center;
    min-width: 0;
    padding: 9px;
    gap: 7px;
    background: #f8f9fc;
    border: 1px solid #e6e9f0;
    border-radius: 8px;
}

.chapter-choice > i {
    color: #5c51e6;
    font-size: 0.74rem;
}

.chapter-choice div {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.chapter-choice strong,
.question-choice strong {
    overflow: hidden;
    font-size: 0.57rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chapter-choice small,
.question-choice small {
    color: #919aab;
    font-size: 0.43rem;
}

.question-grid {
    grid-template-columns: repeat(3, 1fr);
}

.question-choice {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    padding: 9px;
    gap: 6px;
    background: #f7f6ff;
    border: 1px solid #dcd8ff;
    border-radius: 8px;
}

.question-choice > i {
    color: #5f53e6;
    font-size: 0.65rem;
}

.question-choice div {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.question-choice > span {
    display: grid;
    place-items: center;
    width: 23px;
    height: 23px;
    color: #5a4fe1;
    background: #ebe9ff;
    border-radius: 6px;
    font-size: 0.49rem;
    font-weight: 800;
}

.preview-action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
}

.preview-action-row > span {
    color: #80899b;
    font-size: 0.48rem;
    font-weight: 600;
}

.preview-action-row button {
    padding: 7px 11px;
    color: #fff;
    background: #5c51e5;
    border: 0;
    border-radius: 7px;
    font-size: 0.51rem;
    font-weight: 700;
    pointer-events: none;
}

.floating-note {
    position: absolute;
    z-index: 5;
    display: flex;
    align-items: center;
    min-width: 190px;
    padding: 11px 13px;
    gap: 10px;
    color: var(--home-text);
    background: var(--home-surface-raised);
    border: 1px solid var(--home-border);
    border-radius: 14px;
    box-shadow: var(--home-shadow-lg);
    backdrop-filter: blur(18px);
    animation: homeFloat 5s ease-in-out infinite;
}

.floating-note > span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: #fff;
    background: linear-gradient(135deg, #5e53e5, #3f9bd2);
    border-radius: 10px;
}

.floating-note div {
    display: flex;
    flex-direction: column;
}

.floating-note strong {
    font-size: 0.71rem;
}

.floating-note small {
    color: var(--home-muted);
    font-size: 0.58rem;
}

.floating-note-one {
    left: -25px;
    top: 2px;
}

.floating-note-two {
    right: -12px;
    bottom: 32px;
    animation-delay: -2.3s;
}

.floating-note-two > span {
    background: linear-gradient(135deg, #e1547e, #ec8f45);
}

.stage-orbit {
    position: absolute;
    border: 1px dashed rgba(81, 70, 229, 0.22);
    border-radius: 50%;
}

.stage-orbit-one {
    width: 520px;
    height: 520px;
    top: -10px;
    right: -45px;
}

.stage-orbit-two {
    width: 390px;
    height: 390px;
    top: 70px;
    right: 20px;
}

@keyframes homeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.home-capability-strip {
    position: relative;
    z-index: 3;
    border-top: 1px solid var(--home-border);
    border-bottom: 1px solid var(--home-border);
    background: var(--home-surface-raised);
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 28px 0;
}

.capability-grid > div {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    gap: 13px;
    border-right: 1px solid var(--home-border);
}

.capability-grid > div:last-child {
    border-right: 0;
}

.capability-grid strong {
    color: var(--home-primary);
    font-family: "Outfit", sans-serif;
    font-size: 1.6rem;
    line-height: 1;
}

.capability-grid span {
    max-width: 100px;
    color: var(--home-muted);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.3;
}

.home-section {
    padding: 112px 0;
}

.section-heading {
    max-width: 660px;
    margin: 0 auto 50px;
    text-align: center;
}

.section-heading h2,
.workflow-copy h2,
.school-copy h2,
.home-cta h2 {
    margin-top: 14px;
    font-size: clamp(2.15rem, 4vw, 3.5rem);
}

.section-heading p,
.workflow-copy > p,
.school-copy > p,
.home-cta p {
    margin: 18px 0 0;
    color: var(--home-muted);
    font-size: 1rem;
    line-height: 1.75;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    position: relative;
    min-height: 375px;
    padding: 27px;
    overflow: hidden;
    background: var(--home-surface);
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);
    box-shadow: 0 15px 45px rgba(36, 44, 75, 0.045);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(81, 70, 229, 0.32);
    box-shadow: var(--home-shadow-lg);
}

.feature-card-primary {
    background:
        radial-gradient(circle at 100% 0%, rgba(81, 70, 229, 0.12), transparent 42%),
        var(--home-surface);
}

.feature-number {
    position: absolute;
    top: 27px;
    right: 27px;
    color: var(--home-subtle);
    font-family: "Outfit", sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 47px;
    height: 47px;
    color: #fff;
    background: linear-gradient(135deg, var(--home-primary), #8493ff);
    border-radius: 14px;
    box-shadow: 0 9px 20px rgba(81, 70, 229, 0.22);
    font-size: 1.1rem;
}

.feature-icon-cyan {
    background: linear-gradient(135deg, #0891b2, #2bc1cf);
    box-shadow: 0 9px 20px rgba(8, 145, 178, 0.2);
}

.feature-icon-rose {
    background: linear-gradient(135deg, #db286d, #ef789b);
    box-shadow: 0 9px 20px rgba(219, 40, 109, 0.2);
}

.feature-icon-amber {
    background: linear-gradient(135deg, #d87708, #f3ad3f);
    box-shadow: 0 9px 20px rgba(216, 119, 8, 0.2);
}

.feature-card h3 {
    margin: 23px 0 10px;
    font-family: "Outfit", sans-serif;
    font-size: 1.3rem;
    letter-spacing: -0.02em;
}

.feature-card > p,
.feature-card-wide > div > p {
    margin: 0;
    color: var(--home-muted);
    font-size: 0.88rem;
    line-height: 1.7;
}

.feature-visual {
    margin-top: 23px;
}

.bank-visual {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.bank-visual > div {
    display: flex;
    align-items: center;
    padding: 9px;
    gap: 9px;
    background: var(--home-surface-soft);
    border: 1px solid var(--home-border);
    border-radius: 10px;
}

.bank-visual > div > span {
    display: grid;
    place-items: center;
    width: 29px;
    height: 29px;
    flex: 0 0 auto;
    color: var(--home-primary);
    background: var(--home-primary-soft);
    border-radius: 8px;
    font-size: 0.67rem;
    font-weight: 800;
}

.bank-visual p {
    display: flex;
    min-width: 0;
    margin: 0;
    flex: 1;
    flex-direction: column;
}

.bank-visual strong {
    font-size: 0.7rem;
}

.bank-visual small {
    color: var(--home-muted);
    font-size: 0.59rem;
}

.bank-visual > div > i {
    color: var(--home-success);
    font-size: 0.8rem;
}

.mini-balance {
    display: flex;
    margin-top: 30px;
    flex-direction: column;
    gap: 14px;
}

.mini-balance > div {
    display: grid;
    grid-template-columns: 50px 1fr 32px;
    align-items: center;
    gap: 9px;
}

.mini-balance span,
.mini-balance em {
    color: var(--home-muted);
    font-size: 0.65rem;
    font-style: normal;
    font-weight: 700;
}

.mini-balance em {
    text-align: right;
}

.mini-balance b {
    height: 7px;
    overflow: hidden;
    background: var(--home-surface-soft);
    border-radius: 999px;
}

.mini-balance b i {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #08a0bd, #5e53e5);
    border-radius: inherit;
}

.permission-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.permission-pills span {
    padding: 7px 11px;
    color: var(--home-muted);
    background: var(--home-surface-soft);
    border: 1px solid var(--home-border);
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
}

.permission-pills i {
    margin-right: 4px;
    color: var(--home-rose);
}

.feature-card-wide {
    display: grid;
    min-height: 350px;
    grid-column: 1 / -1;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    padding: 38px 48px;
    background:
        linear-gradient(120deg, rgba(81, 70, 229, 0.08), transparent 45%),
        var(--home-surface);
}

.feature-card-wide > div:first-child {
    max-width: 510px;
}

.feature-card-wide h3 {
    max-width: 500px;
    font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.feature-card-wide a {
    display: inline-flex;
    align-items: center;
    margin-top: 22px;
    gap: 8px;
    color: var(--home-primary);
    font-size: 0.85rem;
    font-weight: 800;
}

.paper-stack {
    position: relative;
    min-height: 300px;
}

.paper-sheet {
    position: absolute;
    width: 230px;
    height: 286px;
    right: 65px;
    top: 6px;
    background: #fff;
    border: 1px solid #dfe4ed;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(31, 42, 68, 0.17);
}

.paper-back {
    right: 132px;
    top: 28px;
    background: linear-gradient(160deg, #6558ed, #3a8fce);
    border: 0;
    transform: rotate(-8deg);
}

.paper-front {
    padding: 28px 25px;
    transform: rotate(4deg);
}

.paper-logo {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin: 0 auto 12px;
    color: #5d52e5;
    background: #efedff;
    border-radius: 9px;
}

.paper-title,
.paper-subtitle,
.paper-line {
    display: block;
    height: 5px;
    margin: 0 auto 6px;
    background: #1d2939;
    border-radius: 999px;
}

.paper-title {
    width: 92px;
    height: 7px;
}

.paper-subtitle {
    width: 65px;
    background: #a5adba;
}

.paper-meta {
    display: flex;
    justify-content: space-between;
    margin: 18px 0 22px;
    padding: 9px 0;
    border-top: 1px solid #e8ebf1;
    border-bottom: 1px solid #e8ebf1;
}

.paper-meta i {
    width: 45px;
    height: 4px;
    background: #cbd1db;
    border-radius: 4px;
}

.paper-line {
    width: 72%;
    height: 4px;
    margin: 0 0 10px;
    background: #cbd1db;
}

.paper-line.long {
    width: 100%;
}

.paper-line.short {
    width: 48%;
}

.paper-badge {
    position: absolute;
    right: -42px;
    bottom: 28px;
    padding: 8px 11px;
    color: #157954;
    background: #e9f9f2;
    border: 1px solid #bee9d7;
    border-radius: 9px;
    box-shadow: 0 8px 20px rgba(24, 115, 80, 0.14);
    font-size: 0.61rem;
    font-weight: 800;
}

.workflow-section {
    background: var(--home-surface-soft);
    border-top: 1px solid var(--home-border);
    border-bottom: 1px solid var(--home-border);
}

.workflow-layout {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    align-items: start;
    gap: 80px;
}

.workflow-copy {
    position: sticky;
    top: 115px;
}

.workflow-copy .home-btn {
    margin-top: 28px;
}

.workflow-list {
    display: flex;
    margin: 0;
    padding: 0;
    flex-direction: column;
    gap: 14px;
    list-style: none;
    counter-reset: workflow;
}

.workflow-list li {
    display: grid;
    grid-template-columns: 54px 1fr 48px;
    align-items: center;
    min-height: 122px;
    padding: 22px;
    gap: 17px;
    background: var(--home-surface);
    border: 1px solid var(--home-border);
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(36, 44, 75, 0.045);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.workflow-list li:hover {
    transform: translateX(8px);
    border-color: rgba(81, 70, 229, 0.35);
}

.workflow-list li > span {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    color: var(--home-primary);
    background: var(--home-primary-soft);
    border-radius: 15px;
    font-family: "Outfit", sans-serif;
    font-weight: 800;
}

.workflow-list h3 {
    margin: 0;
    font-family: "Outfit", sans-serif;
    font-size: 1.03rem;
}

.workflow-list p {
    margin: 5px 0 0;
    color: var(--home-muted);
    font-size: 0.8rem;
}

.workflow-list li > i {
    color: var(--home-border-strong);
    font-size: 1.7rem;
    text-align: center;
}

.school-section {
    padding-bottom: 70px;
}

.school-card {
    position: relative;
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    align-items: center;
    min-height: 510px;
    padding: 64px;
    gap: 72px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 90% 12%, rgba(49, 193, 211, 0.24), transparent 28%),
        radial-gradient(circle at 5% 100%, rgba(122, 106, 255, 0.33), transparent 35%),
        #151b37;
    border-radius: 30px;
    box-shadow: 0 30px 80px rgba(17, 24, 56, 0.25);
}

.school-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

.school-copy,
.role-panel {
    position: relative;
    z-index: 1;
}

.section-kicker-light {
    color: #9fdff0;
}

.school-copy h2 {
    color: #fff;
}

.school-copy > p {
    color: #bdc5d8;
}

.school-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 28px;
}

.school-points span {
    color: #dce2ee;
    font-size: 0.79rem;
    font-weight: 700;
}

.school-points i {
    display: inline-grid;
    place-items: center;
    width: 21px;
    height: 21px;
    margin-right: 6px;
    color: #0f3135;
    background: #7ae0cb;
    border-radius: 50%;
}

.role-panel {
    padding: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    box-shadow: 0 22px 65px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(15px);
}

.role-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 14px 17px;
    font-size: 0.83rem;
    font-weight: 800;
}

.role-panel-head em {
    padding: 5px 9px;
    color: #b9f1e4;
    background: rgba(100, 222, 197, 0.12);
    border: 1px solid rgba(100, 222, 197, 0.24);
    border-radius: 999px;
    font-size: 0.62rem;
    font-style: normal;
}

.role-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
    padding: 13px 14px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 11px;
}

.role-row > span {
    color: #e4e8f1;
    font-size: 0.72rem;
    font-weight: 700;
}

.role-row > span i {
    width: 22px;
    margin-right: 6px;
    color: #9aa6c2;
}

.role-row b {
    padding: 5px 8px;
    border-radius: 7px;
    font-size: 0.58rem;
}

.permission-on {
    color: #89ead1;
    background: rgba(47, 184, 143, 0.13);
}

.permission-off {
    color: #aeb6c8;
    background: rgba(151, 160, 179, 0.1);
}

.role-panel-foot {
    padding: 12px 14px 7px;
    color: #98a7c3;
    font-size: 0.6rem;
}

.role-panel-foot i {
    margin-right: 5px;
    color: #61d6bd;
}

.home-cta-section {
    padding: 42px 0 105px;
}

.home-cta {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    min-height: 335px;
    padding: 55px 60px;
    gap: 50px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.14), transparent 30%),
        linear-gradient(125deg, #4f46d9, #5651dc 52%, #168eb9);
    border-radius: 30px;
    box-shadow: 0 30px 80px rgba(64, 57, 195, 0.24);
}

.home-cta > div:not(.cta-grid) {
    position: relative;
    z-index: 1;
}

.home-cta h2 {
    max-width: 650px;
    color: #fff;
}

.home-cta p {
    color: rgba(255, 255, 255, 0.78);
}

.cta-grid {
    opacity: 0.7;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
}

.cta-icon {
    display: grid;
    place-items: center;
    width: 45px;
    height: 45px;
    margin-bottom: 22px;
    color: #4f46d9;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(22, 20, 95, 0.2);
}

.cta-actions {
    display: flex;
    min-width: 235px;
    flex-direction: column;
    gap: 10px;
}

.home-btn-white {
    color: #4d44d7;
    background: #fff;
    box-shadow: 0 12px 30px rgba(20, 18, 90, 0.2);
}

.home-btn-glass {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
}

.home-btn-glass:hover {
    background: rgba(255, 255, 255, 0.17);
}

.home-footer {
    padding-top: 66px;
    color: var(--home-muted);
    background: var(--home-surface);
    border-top: 1px solid var(--home-border);
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    padding-bottom: 54px;
    gap: 80px;
}

.footer-brand p {
    max-width: 390px;
    margin: 21px 0 0;
    font-size: 0.84rem;
    line-height: 1.75;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.footer-links > div {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-links strong {
    margin-bottom: 7px;
    color: var(--home-text);
    font-family: "Outfit", sans-serif;
    font-size: 0.83rem;
}

.footer-links a {
    width: fit-content;
    font-size: 0.78rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--home-primary);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
    border-top: 1px solid var(--home-border);
    font-size: 0.72rem;
}

.reveal-item {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-grid .reveal-item:nth-child(2),
.workflow-list .reveal-item:nth-child(2) {
    transition-delay: 0.08s;
}

.feature-grid .reveal-item:nth-child(3),
.workflow-list .reveal-item:nth-child(3) {
    transition-delay: 0.16s;
}

.workflow-list .reveal-item:nth-child(4) {
    transition-delay: 0.24s;
}

@media (max-width: 1180px) {
    .home-nav {
        gap: 20px;
    }

    .home-hero-layout {
        grid-template-columns: minmax(0, 0.88fr) minmax(480px, 1.12fr);
        gap: 35px;
    }

    .product-window {
        width: 600px;
        transform: scale(0.9) rotateY(-3deg) rotateX(2deg);
        transform-origin: left top;
    }

    .floating-note-two {
        right: -10px;
        bottom: 80px;
    }
}

@media (max-width: 1020px) {
    .home-nav {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        display: none;
        align-items: stretch;
        padding: 14px;
        gap: 3px;
        background: var(--home-surface);
        border: 1px solid var(--home-border);
        border-radius: 16px;
        box-shadow: var(--home-shadow-lg);
    }

    .home-nav.is-open {
        display: flex;
        flex-direction: column;
    }

    .home-nav a {
        padding: 11px 12px;
        border-radius: 9px;
    }

    .home-nav a:hover {
        background: var(--home-surface-soft);
    }

    .home-nav a::after {
        display: none;
    }

    .home-menu-toggle {
        display: flex;
        flex-direction: column;
    }

    .home-menu-toggle.is-open span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .home-menu-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .home-menu-toggle.is-open span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .home-hero {
        padding-top: 138px;
    }

    .home-hero-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .home-hero-copy {
        max-width: 760px;
        margin: 0 auto;
        text-align: center;
    }

    .home-eyebrow {
        margin: 0 auto;
    }

    .home-hero h1 span {
        display: inline;
    }

    .home-hero-lead {
        margin-inline: auto;
    }

    .home-hero-actions,
    .home-hero-proof {
        justify-content: center;
    }

    .home-product-stage {
        width: min(700px, 100%);
        min-height: 510px;
        margin: 0 auto;
    }

    .product-window {
        left: 50%;
        width: 665px;
        transform: translateX(-50%) scale(0.91);
        transform-origin: top center;
    }

    .floating-note-one {
        left: 0;
        top: 14px;
    }

    .floating-note-two {
        right: 0;
        bottom: 44px;
    }

    .stage-orbit-one {
        right: 50%;
        transform: translateX(50%);
    }

    .stage-orbit-two {
        right: 50%;
        transform: translateX(50%);
    }

    .feature-grid {
        grid-template-columns: 1fr 1fr;
    }

    .feature-card:nth-child(3) {
        grid-column: 1 / -1;
        min-height: 280px;
    }

    .feature-card-wide {
        grid-template-columns: 1fr 0.85fr;
    }

    .paper-sheet {
        right: 25px;
    }

    .paper-back {
        right: 84px;
    }

    .workflow-layout {
        gap: 48px;
    }

    .school-card {
        padding: 48px;
        gap: 45px;
    }

    .home-cta {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .cta-actions {
        max-width: 510px;
        min-width: 0;
        flex-direction: row;
    }
}

@media (max-width: 760px) {
    .home-container {
        width: min(100% - 30px, 680px);
    }

    .home-header,
    .home-header.is-scrolled {
        height: 68px;
    }

    .home-brand-mark {
        width: 38px;
        height: 38px;
        border-radius: 11px;
    }

    .home-brand-copy strong {
        max-width: 145px;
        font-size: 0.9rem;
    }

    .home-brand-copy small {
        display: none;
    }

    .home-desktop-action {
        display: none;
    }

    .home-theme-toggle,
    .home-menu-toggle {
        width: 38px;
        height: 38px;
    }

    .home-hero {
        min-height: auto;
        padding: 118px 0 62px;
    }

    .home-hero h1 {
        margin-top: 20px;
        font-size: clamp(2.55rem, 12vw, 4.2rem);
    }

    .home-hero-lead {
        font-size: 0.98rem;
    }

    .home-hero-actions {
        flex-direction: column;
    }

    .home-hero-actions .home-btn {
        width: 100%;
    }

    .home-hero-proof {
        align-items: flex-start;
        text-align: left;
    }

    .home-product-stage {
        min-height: 370px;
        margin-top: 18px;
    }

    .product-window {
        width: 665px;
        transform: translateX(-50%) scale(0.62);
    }

    .floating-note {
        min-width: 158px;
        padding: 9px 10px;
    }

    .floating-note > span {
        width: 29px;
        height: 29px;
    }

    .floating-note strong {
        font-size: 0.62rem;
    }

    .floating-note small {
        font-size: 0.5rem;
    }

    .floating-note-one {
        left: -5px;
        top: 20px;
    }

    .floating-note-two {
        right: -4px;
        bottom: 18px;
    }

    .stage-orbit {
        display: none;
    }

    .capability-grid {
        grid-template-columns: 1fr 1fr;
        padding: 10px 0;
    }

    .capability-grid > div {
        min-height: 76px;
    }

    .capability-grid > div:nth-child(2) {
        border-right: 0;
    }

    .capability-grid > div:nth-child(-n+2) {
        border-bottom: 1px solid var(--home-border);
    }

    .capability-grid strong {
        font-size: 1.3rem;
    }

    .home-section {
        padding: 80px 0;
    }

    .section-heading {
        margin-bottom: 34px;
    }

    .section-heading h2,
    .workflow-copy h2,
    .school-copy h2,
    .home-cta h2 {
        font-size: clamp(2rem, 9vw, 2.8rem);
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-card,
    .feature-card:nth-child(3) {
        min-height: 340px;
        grid-column: auto;
    }

    .feature-card-wide {
        min-height: 650px;
        grid-column: auto;
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .paper-stack {
        min-height: 300px;
    }

    .paper-sheet {
        right: calc(50% - 130px);
    }

    .paper-back {
        right: calc(50% - 78px);
    }

    .workflow-layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .workflow-copy {
        position: static;
    }

    .workflow-list li {
        grid-template-columns: 48px 1fr;
        padding: 18px;
    }

    .workflow-list li > span {
        width: 44px;
        height: 44px;
    }

    .workflow-list li > i {
        display: none;
    }

    .workflow-list li:hover {
        transform: translateY(-3px);
    }

    .school-card {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 38px 24px;
        gap: 36px;
        border-radius: 24px;
    }

    .school-points {
        grid-template-columns: 1fr;
    }

    .home-cta-section {
        padding-bottom: 75px;
    }

    .home-cta {
        min-height: 430px;
        padding: 38px 24px;
        border-radius: 24px;
    }

    .cta-actions {
        flex-direction: column;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
        row-gap: 35px;
    }

    .footer-bottom {
        align-items: flex-start;
        min-height: 90px;
        padding: 22px 0;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
    }
}

@media (max-width: 430px) {
    .home-eyebrow {
        font-size: 0.66rem;
    }

    .home-product-stage {
        min-height: 330px;
    }

    .product-window {
        transform: translateX(-50%) scale(0.52);
    }

    .floating-note-one {
        top: 2px;
    }

    .floating-note-two {
        bottom: 4px;
    }

    .capability-grid > div {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .capability-grid span {
        max-width: 130px;
    }

    .feature-card {
        padding: 24px;
    }

    .paper-stack {
        transform: scale(0.88);
    }

    .role-panel {
        margin-inline: -10px;
    }

    .role-row {
        padding: 12px 10px;
    }

    .role-row > span {
        font-size: 0.66rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal-item {
        opacity: 1;
        transform: none;
    }
}

.getting-started-section { background: color-mix(in srgb, var(--home-primary-soft) 42%, var(--home-bg)); }
.getting-started-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 1.25rem; align-items: stretch; }
.guide-feature-panel { padding: 1.5rem; border: 1px solid var(--home-border); border-radius: 24px; background: var(--home-surface); box-shadow: var(--home-shadow-sm); }
.guide-panel-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; color: #fff; background: linear-gradient(135deg, var(--home-primary), var(--home-accent)); font-size: 1.15rem; }.guide-feature-panel h3 { margin: 1rem 0 .8rem; font-size: 1.15rem; }.guide-feature-tags { display: flex; flex-wrap: wrap; gap: .45rem; }.guide-feature-tags span { padding: .4rem .6rem; border-radius: 999px; color: var(--home-primary); background: var(--home-primary-soft); font-size: .7rem; font-weight: 700; }.guide-feature-panel > a { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.15rem; color: var(--home-primary); text-decoration: none; font-size: .76rem; font-weight: 800; }
.guide-step-list { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin: 0; padding: 0; list-style: none; }.guide-step-list li { display: flex; align-items: center; gap: .75rem; padding: .85rem; border: 1px solid var(--home-border); border-radius: 16px; background: var(--home-surface); box-shadow: var(--home-shadow-sm); }.guide-step-list > li > span { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 11px; color: var(--home-primary); background: var(--home-primary-soft); font-size: .68rem; font-weight: 900; }.guide-step-list div { display: grid; gap: .12rem; }.guide-step-list strong { font-size: .78rem; }.guide-step-list small { color: var(--home-muted); font-size: .65rem; line-height: 1.45; }
@media (max-width: 800px) { .getting-started-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .guide-step-list { grid-template-columns: 1fr; } }
