:root {
    --ink: #1f2840;
    --ink-soft: rgba(31, 40, 64, 0.74);
    --ink-faint: rgba(31, 40, 64, 0.54);
    --navy: #153162;
    --blue: #2d66d6;
    --mint: #75d7b3;
    --mint-deep: #35b48c;
    --gold: #ffcf6f;
    --gold-deep: #efb53d;
    --coral: #ff8a77;
    --coral-deep: #f06d5b;
    --berry: #7a57f8;
    --paper: #fff9f1;
    --card: rgba(255, 255, 255, 0.92);
    --card-strong: #fffdf8;
    --line: rgba(21, 49, 98, 0.1);
    --line-strong: rgba(21, 49, 98, 0.16);
    --shadow-soft: 0 24px 56px rgba(22, 38, 70, 0.12);
    --shadow-strong: 0 26px 70px rgba(19, 41, 88, 0.18);
    --radius-xxl: 38px;
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 18px;
    --radius-sm: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: "Aptos", "Segoe UI Variable Text", "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 12% 0%, rgba(255, 207, 111, 0.34), transparent 24%),
        radial-gradient(circle at 92% 8%, rgba(117, 215, 179, 0.24), transparent 22%),
        radial-gradient(circle at 88% 78%, rgba(122, 87, 248, 0.12), transparent 22%),
        linear-gradient(180deg, #fff7ed 0%, #fffdf8 46%, #eef5ff 100%);
}

a {
    color: inherit;
}

.signal-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 14px;
    padding: 12px 18px;
    background: linear-gradient(90deg, #102347, #1e4482 55%, #2d66d6);
    color: rgba(255, 255, 255, 0.98);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.signal-strip span {
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.story-shell {
    width: min(1220px, calc(100% - 26px));
    margin: 0 auto;
    padding: 26px 0 54px;
}

.story-stage,
.chapter,
.site-footer {
    position: relative;
    overflow: hidden;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-xxl);
    box-shadow: var(--shadow-soft);
}

.story-stage::before,
.chapter::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(140deg, rgba(255, 255, 255, 0.55), transparent 36%),
        radial-gradient(circle at 84% 18%, rgba(255, 207, 111, 0.13), transparent 24%),
        radial-gradient(circle at 10% 84%, rgba(117, 215, 179, 0.14), transparent 26%);
}

.story-stage {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.96fr);
    gap: 26px;
    padding: 34px;
    background:
        linear-gradient(155deg, rgba(21, 49, 98, 0.07), rgba(255, 255, 255, 0.88)),
        linear-gradient(180deg, #fffdf8, #fff8ef);
}

.story-copy,
.poster-wall,
.chapter > * {
    position: relative;
    z-index: 1;
}

.story-copy h1,
.chapter-heading h2,
.contact-copy h2 {
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    letter-spacing: -0.05em;
}

.story-kicker,
.chapter-label,
.launch-tag {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 0.77rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.story-kicker,
.chapter-label {
    color: var(--navy);
    background: rgba(21, 49, 98, 0.08);
    border: 1px solid rgba(21, 49, 98, 0.08);
}

.story-copy h1 {
    margin: 18px 0 16px;
    max-width: 11ch;
    font-size: clamp(3.05rem, 6vw, 5.25rem);
    line-height: 0.92;
}

.story-lead,
.chapter-heading p,
.launch-card p,
.audience-card p,
.curriculum-card span,
.future-card p,
.gallery-note span,
.contact-copy p,
.footer-copy p,
.feedback {
    color: var(--ink-soft);
    line-height: 1.68;
}

.story-actions,
.stacked-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.stacked-actions {
    flex-direction: column;
    align-items: stretch;
}

.action {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 60px;
    padding: 0 24px;
    border: 0;
    border-radius: 18px;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.01em;
    text-decoration: none;
    cursor: pointer;
    transform: translateY(0);
    transition: transform 180ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.action::before {
    content: "";
    position: absolute;
    inset: -1px;
    opacity: 0;
    transition: opacity 180ms ease;
    pointer-events: none;
}

.action::after {
    content: "";
    position: absolute;
    inset: auto;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.34);
    transform: translate(-50%, -50%) scale(0);
    left: var(--pointer-x, 50%);
    top: var(--pointer-y, 50%);
    pointer-events: none;
    opacity: 0;
}

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

.action:active {
    transform: translateY(1px) scale(0.99);
}

.action-primary {
    color: #fff;
    background: linear-gradient(135deg, #163267, #2c65d3 58%, #4a82f6);
    box-shadow: 0 16px 28px rgba(22, 50, 103, 0.24);
}

.action-primary::before {
    background:
        radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(255, 255, 255, 0.42), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 48%);
}

.action-secondary {
    color: var(--navy);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(21, 49, 98, 0.14);
    box-shadow: 0 14px 22px rgba(20, 40, 80, 0.08);
}

.action-secondary::before {
    background: radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(117, 215, 179, 0.18), transparent 38%);
}

.action[data-download-button] {
    min-width: 220px;
}

.action[data-download-button].is-interactive::before,
.action[data-download-button]:hover::before,
.action[data-download-button]:focus-visible::before {
    opacity: 1;
}

.action[data-download-button].is-pressed::after {
    animation: button-ripple 460ms ease-out forwards;
}

@keyframes button-ripple {
    from {
        opacity: 0.9;
        transform: translate(-50%, -50%) scale(0);
    }
    to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(12);
    }
}

.story-proof-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.proof-card,
.trust-ribbon div,
.launch-card,
.audience-card,
.curriculum-card,
.future-card,
.contact-form-panel,
.contact-copy {
    border-radius: var(--radius-xl);
    border: 1px solid rgba(21, 49, 98, 0.09);
    background: rgba(255, 255, 255, 0.84);
}

.proof-card {
    padding: 16px 16px 18px;
    box-shadow: 0 10px 22px rgba(25, 49, 92, 0.06);
}

.proof-card strong,
.trust-ribbon strong,
.curriculum-card strong,
.future-card strong {
    display: block;
    margin-bottom: 6px;
}

.proof-card span,
.trust-ribbon span {
    color: var(--ink-faint);
    line-height: 1.52;
}

.trust-ribbon {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
}

.trust-ribbon div {
    padding: 16px 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 252, 255, 0.92));
}

.poster-wall {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 14px;
    align-content: start;
}

.poster {
    overflow: hidden;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(21, 49, 98, 0.1);
    background: linear-gradient(180deg, #fff, #fff8ef);
    box-shadow: 0 18px 38px rgba(20, 39, 82, 0.12);
}

.poster img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.poster-logo {
    grid-row: span 2;
    min-height: 100%;
    padding: 18px;
    background:
        radial-gradient(circle at top right, rgba(255, 207, 111, 0.3), transparent 28%),
        linear-gradient(180deg, #fffef9, #ffe8a9);
}

.poster-logo img,
.poster-badge img {
    object-fit: contain;
}

.poster-badge {
    padding: 14px;
    background: linear-gradient(180deg, #fffef8, #fff5db);
}

.chapter {
    margin-top: 22px;
    padding: 30px;
}

.launch-board,
.audience-grid,
.curriculum-grid,
.future-grid,
.contact-board {
    display: grid;
    gap: 18px;
}

.launch-board,
.future-grid,
.audience-grid,
.curriculum-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-board {
    grid-template-columns: 0.94fr 1.06fr;
}

.launch-card,
.audience-card,
.curriculum-card,
.future-card,
.contact-copy,
.contact-form-panel {
    padding: 24px;
}

.launch-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 100%;
    box-shadow: 0 14px 28px rgba(20, 39, 82, 0.08);
}

.launch-card[data-download-card] {
    transform: perspective(1000px) rotateX(var(--card-rotate-x, 0deg)) rotateY(var(--card-rotate-y, 0deg));
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
    will-change: transform;
}

.launch-card[data-download-card]:hover {
    box-shadow: var(--shadow-strong);
    border-color: rgba(21, 49, 98, 0.18);
}

.launch-card-store {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 248, 255, 0.94));
}

.launch-card-mobile {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(240, 255, 250, 0.94));
}

.launch-card-pending {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 239, 0.94));
}

.launch-tag {
    color: #16556f;
    background: rgba(117, 215, 179, 0.26);
    border: 1px solid rgba(53, 180, 140, 0.12);
}

.launch-tag-warm {
    color: #885100;
    background: rgba(255, 207, 111, 0.24);
    border-color: rgba(239, 181, 61, 0.16);
}

.launch-card h2 {
    margin: 0;
    font-size: 1.72rem;
}

.launch-card-foot,
.pending-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 4px;
}

.launch-card-foot span,
.pending-list span,
.contact-points li {
    display: inline-flex;
    align-items: center;
    padding: 11px 13px;
    border-radius: 14px;
    background: rgba(21, 49, 98, 0.05);
    border: 1px solid rgba(21, 49, 98, 0.06);
    color: var(--ink);
    font-weight: 700;
}

.chapter-heading {
    margin-bottom: 20px;
    max-width: 780px;
}

.chapter-heading h2 {
    margin: 10px 0;
    font-size: clamp(2.05rem, 3.35vw, 3.15rem);
}

.audience-card,
.future-card,
.contact-copy {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(249, 252, 255, 0.94));
}

.curriculum-card {
    min-height: 132px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 246, 229, 0.96));
}

.gallery-frame {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    border-radius: calc(var(--radius-xl) + 6px);
    background:
        radial-gradient(circle at top left, rgba(255, 207, 111, 0.16), transparent 28%),
        linear-gradient(135deg, #112241, #1d3766 58%, #284a85);
}

.gallery-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 26px 26px 98px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 520ms ease;
}

.gallery-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 24px 42px rgba(5, 10, 22, 0.22);
}

.gallery-note {
    position: absolute;
    left: 24px;
    bottom: 24px;
    max-width: 380px;
    padding: 18px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 251, 243, 0.94);
    box-shadow: 0 12px 26px rgba(14, 23, 46, 0.18);
}

.gallery-note strong {
    display: block;
    margin-bottom: 6px;
}

.gallery-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 16px;
}

.gallery-arrows,
.gallery-dots {
    display: flex;
    gap: 10px;
}

.gallery-arrow,
.gallery-dot {
    border: 0;
    cursor: pointer;
}

.gallery-arrow {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--navy);
    font-size: 1.12rem;
    font-weight: 900;
    border: 1px solid rgba(21, 49, 98, 0.12);
    box-shadow: 0 12px 20px rgba(18, 37, 76, 0.08);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.gallery-arrow:hover,
.gallery-arrow:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 16px 24px rgba(18, 37, 76, 0.12);
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.34);
    transition: width 180ms ease, background 180ms ease;
}

.gallery-dot.is-active {
    width: 34px;
    background: linear-gradient(90deg, var(--gold), var(--mint));
}

.contact-points {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: grid;
    gap: 10px;
}

.feedback {
    margin-bottom: 14px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    font-weight: 700;
}

.feedback-success {
    color: #19704f;
    background: rgba(117, 215, 179, 0.2);
}

.feedback-error {
    color: #a44747;
    background: rgba(255, 138, 119, 0.16);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.field {
    display: grid;
    gap: 8px;
}

.field span {
    font-size: 0.92rem;
    font-weight: 800;
}

.field-wide {
    grid-column: 1 / -1;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid rgba(21, 49, 98, 0.14);
    border-radius: 16px;
    padding: 15px 16px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--ink);
    font: inherit;
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: rgba(45, 102, 214, 0.4);
    box-shadow: 0 0 0 4px rgba(45, 102, 214, 0.12);
    background: #fff;
}

textarea {
    min-height: 154px;
    resize: vertical;
}

.captcha-row {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 14px;
}

.captcha-box {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 207, 111, 0.28), rgba(117, 215, 179, 0.22));
    color: var(--navy);
    font-weight: 900;
    font-size: 1.16rem;
    border: 1px solid rgba(21, 49, 98, 0.08);
}

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

.site-footer {
    margin-top: 22px;
    padding: 24px 28px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 251, 255, 0.92));
}

.footer-copy strong {
    display: block;
    margin-bottom: 8px;
}

.ratings-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: end;
    gap: 10px;
}

.ratings-row img {
    height: 42px;
    width: auto;
    padding: 6px 8px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(21, 49, 98, 0.08);
}

@media (max-width: 1080px) {
    .story-stage,
    .contact-board {
        grid-template-columns: 1fr;
    }

    .launch-board,
    .audience-grid,
    .curriculum-grid,
    .future-grid,
    .story-proof-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .trust-ribbon {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .story-shell {
        width: min(100%, calc(100% - 18px));
    }

    .story-stage,
    .chapter,
    .site-footer {
        padding: 22px;
    }

    .story-proof-grid,
    .poster-wall,
    .launch-board,
    .audience-grid,
    .curriculum-grid,
    .future-grid,
    .trust-ribbon,
    .form-grid,
    .captcha-row {
        grid-template-columns: 1fr;
    }

    .story-copy h1 {
        max-width: none;
    }

    .gallery-frame {
        min-height: 440px;
    }

    .gallery-slide {
        padding: 16px 16px 104px;
    }

    .gallery-note {
        left: 16px;
        right: 16px;
        max-width: none;
    }

    .launch-card-foot,
    .pending-list {
        flex-direction: column;
    }
}
