:root {
    --cream: #FBF3E3;
    --paper: #FFFDF6;
    --ink: #1A160F;
    --body: #4C4536;
    --coral: #FF5C4D;
    /* vibrant coral */
    --pink: #FF7CC4;
    /* hot pink */
    --blue: #2D5BFF;
    /* electric blue */
    --yellow: #FFCE3A;
    /* sunshine yellow */
    --mint: #22C58A;
    /* fresh mint */
    --purple: #7A5CFF;
    /* violet */
    --line: var(--ink);
    /* bold outline */
    --radius: 22px;
    --shadow: 6px 6px 0 var(--ink);
    --shadow-sm: 3px 3px 0 var(--ink);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--cream);
    color: var(--ink);
    overflow-x: hidden;
    cursor: none;
}

/* subtle paper-grain texture across the whole site */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: .09;
    mix-blend-mode: multiply;
}

::selection {
    background: var(--coral);
    color: #fff
}

/* ---------- custom cursor ---------- */
.cursor,
.cursor-follow {
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
}

.cursor {
    width: 10px;
    height: 10px;
    background: #fff;
    transform: translate(-50%, -50%)
}

.cursor-follow {
    width: 44px;
    height: 44px;
    border: 2px solid #fff;
    transform: translate(-50%, -50%);
    transition: transform .18s ease, width .18s, height .18s
}

.cursor-follow.grow {
    width: 80px;
    height: 80px;
    background: #fff
}

@media (hover:none) {

    .cursor,
    .cursor-follow {
        display: none
    }

    body {
        cursor: auto
    }
}

/* ---------- nav ---------- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px clamp(20px, 5vw, 64px);
    transition: transform .4s ease;
}

nav.hide {
    transform: translateY(-120%)
}

.brand {
    font-family: 'Fraunces', serif;
    font-weight: 900;
    font-size: 1.4rem;
    letter-spacing: -.02em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand .dot {
    width: 14px;
    height: 14px;
    background: var(--coral);
    border-radius: 50%;
    display: inline-block;
    animation: bob 2s ease-in-out infinite
}

@keyframes bob {
    50% {
        transform: translateY(-6px)
    }
}

.nav-links {
    display: flex;
    gap: 8px;
    align-items: center
}

.nav-links a {
    text-decoration: none;
    color: var(--ink);
    font-weight: 500;
    font-size: .95rem;
    padding: 8px 16px;
    border-radius: 100px;
    transition: .25s;
}

.nav-links a:hover {
    background: var(--ink);
    color: var(--cream)
}

.nav-cta {
    background: var(--blue) !important;
    color: #fff !important;
    border: 2px solid var(--ink);
    box-shadow: 3px 3px 0 var(--ink)
}

.nav-cta:hover {
    background: var(--blue) !important;
    color: #fff !important;
    transform: translate(-2px, -2px) !important;
    box-shadow: 5px 5px 0 var(--ink)
}

.menu-btn {
    display: none
}

/* ---------- hero ---------- */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 20px 60px;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(38px);
    opacity: .55;
    z-index: 0
}

.b1 {
    width: 400px;
    height: 400px;
    background: var(--pink);
    top: 4%;
    left: -8%
}

.b2 {
    width: 320px;
    height: 320px;
    background: var(--yellow);
    bottom: 2%;
    right: -8%
}

.b3 {
    width: 240px;
    height: 240px;
    background: var(--mint);
    top: 14%;
    right: 8%
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1100px
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ink);
    color: var(--cream);
    padding: 8px 18px;
    border-radius: 100px;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.eyebrow .pulse {
    width: 8px;
    height: 8px;
    background: var(--mint);
    border-radius: 50%;
    animation: pulse 1.4s infinite
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .2
    }
}

.hero p.lead {
    max-width: 600px;
    margin: 26px auto 0;
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.55;
    color: var(--body);
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px
}

.btn {
    font-family: 'Space Grotesk';
    font-weight: 700;
    font-size: 1rem;
    cursor: none;
    padding: 15px 30px;
    border-radius: 100px;
    border: 2.5px solid var(--ink);
    text-decoration: none;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform .2s, box-shadow .2s;
    box-shadow: var(--shadow);
    background: var(--paper);
}

.btn:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 var(--ink)
}

.btn:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--ink)
}

.btn.primary {
    background: var(--coral);
    color: #fff
}

.btn.primary .arrow {
    transition: transform .2s
}

.btn.primary:hover .arrow {
    transform: translateX(5px)
}

.scroll-hint {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    font-size: .75rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
    color: #6b6558;
}

.scroll-hint .mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--ink);
    border-radius: 14px;
    position: relative
}

.scroll-hint .mouse::after {
    content: "";
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--ink);
    border-radius: 2px;
    animation: scrolly 1.5s infinite
}

@keyframes scrolly {
    0% {
        opacity: 0;
        top: 6px
    }

    30% {
        opacity: 1
    }

    60% {
        opacity: 1;
        top: 18px
    }

    100% {
        opacity: 0;
        top: 18px
    }
}

/* ---------- 3D rotating book ring ---------- */
.book-stage {
    width: 100%;
    display: flex;
    justify-content: center;
    perspective: 2200px;
    perspective-origin: 50% 50%;
    margin: 26px 0 78px
}

.scene {
    width: clamp(128px, 33vw, 188px);
    height: clamp(178px, 46vw, 262px);
    position: relative;
    transform-style: preserve-3d;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
}

.scene:active {
    cursor: grabbing
}

.ring {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    will-change: transform
}

.book {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    backface-visibility: hidden
}

.book img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 6px;
    border: 3px solid #fff;
    box-shadow: 0 22px 45px rgba(20, 16, 11, .4), 0 6px 14px rgba(20, 16, 11, .28);
    pointer-events: none;
}

.hero-title {
    font-family: 'Fraunces', serif;
    font-weight: 900;
    font-size: clamp(3rem, 11vw, 9rem);
    line-height: .85;
    letter-spacing: -.03em
}

.hero-title .beyond {
    color: var(--ink)
}

.hero-title .brill {
    font-style: italic;
    background: linear-gradient(90deg, var(--coral), var(--purple), var(--blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

.squiggle {
    display: block;
    margin: 14px auto 0;
    width: min(58vw, 400px)
}

.drag-note {
    display: inline-block;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #948b7a;
    margin-left: 6px;
    white-space: nowrap
}

/* ---------- marquee ---------- */
.marquee {
    background: var(--ink);
    color: var(--cream);
    padding: 18px 0;
    overflow: hidden;
    margin: 46px 0;
    border-top: 3px solid var(--ink);
    border-bottom: 3px solid var(--ink);
    transform: rotate(-1.5deg) scale(1.03);
}

.marquee-track {
    display: flex;
    gap: 44px;
    white-space: nowrap;
    width: max-content;
    animation: scrollx 24s linear infinite
}

.marquee:hover .marquee-track {
    animation-play-state: paused
}

.marquee span {
    font-family: 'Fraunces', serif;
    font-weight: 900;
    font-style: italic;
    font-size: clamp(1.3rem, 4vw, 2.3rem);
    display: flex;
    align-items: center;
    gap: 44px;
    color: var(--cream)
}

.marquee .star {
    color: var(--yellow)
}

@keyframes scrollx {
    to {
        transform: translateX(-50%)
    }
}

/* ---------- generic section ---------- */
section {
    padding: clamp(70px, 10vw, 140px) clamp(20px, 6vw, 80px);
    position: relative
}

.tag {
    display: inline-block;
    font-weight: 700;
    font-size: .8rem;
    letter-spacing: .14em;
    color: var(--coral);
    text-transform: uppercase;
    padding: 6px 16px;
    border: 1px solid var(--line);
    border-radius: 100px;
    margin-bottom: 22px
}

.h2 {
    font-family: 'Fraunces', serif;
    font-weight: 900;
    font-size: clamp(2.2rem, 6vw, 4.6rem);
    line-height: .95;
    letter-spacing: -.02em;
    max-width: 16ch
}

.h2 em {
    font-style: italic;
    color: var(--coral);
    position: relative;
    display: inline-block
}

.h2 em::after {
    content: "";
    position: absolute;
    left: -2px;
    right: -2px;
    bottom: -.12em;
    height: .26em;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='12'%3E%3Cpath d='M2 8 Q30 2 60 7 T118 6' fill='none' stroke='%23B15A44' stroke-width='3.5' stroke-linecap='round'/%3E%3C/svg%3E") 0 100%/100% 100% no-repeat;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .7s .3s cubic-bezier(.5, 0, .2, 1)
}

.reveal.in em::after,
.software .h2 em::after {
    transform: scaleX(1)
}

/* reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1)
}

.reveal.in {
    opacity: 1;
    transform: none
}

.reveal.d1 {
    transition-delay: .08s
}

.reveal.d2 {
    transition-delay: .16s
}

.reveal.d3 {
    transition-delay: .24s
}

.reveal.d4 {
    transition-delay: .32s
}

/* springy pop-in for the feature cards */
.card.reveal {
    transform: translateY(48px) scale(.9) rotate(-2deg);
    transition: opacity .5s ease, transform .7s cubic-bezier(.34, 1.56, .64, 1)
}

.card.reveal.in {
    transform: none
}

/* ---------- sliding puzzle ---------- */
#puzzle {
    padding: clamp(50px, 8vw, 96px) clamp(20px, 6vw, 80px);
    position: relative
}

.pz-wrap {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2
}

.pz-head h2 {
    margin: 14px auto 12px
}

.pz-head p {
    color: var(--body);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.6
}

.pz-head .kbd {
    display: inline-block;
    background: var(--ink);
    color: var(--cream);
    border-radius: 6px;
    padding: 1px 7px;
    font-size: .85em;
    font-weight: 700
}

.pz-stage {
    position: relative;
    width: min(86vw, 380px);
    margin: 34px auto 0
}

.pz-board {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 26px;
    outline: none;
    background: rgba(255, 255, 255, .5);
    box-shadow: 0 24px 60px rgba(26, 22, 15, .12);
    padding: 10px
}

.pz-board:focus-visible {
    box-shadow: 0 24px 60px rgba(26, 22, 15, .12), 0 0 0 4px var(--yellow)
}

.pz-tile {
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 16px;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px;
    text-align: center;
    box-shadow: 0 6px 16px rgba(26, 22, 15, .14);
    user-select: none;
    transition: transform .17s cubic-bezier(.3, .85, .3, 1), opacity .55s ease, box-shadow .2s
}

.pz-tile:hover {
    box-shadow: 0 12px 24px rgba(26, 22, 15, .22)
}

.pz-tile .pz-ic {
    font-size: clamp(1.6rem, 5.5vw, 2.2rem);
    line-height: 1
}

.pz-tile .pz-lb {
    font-family: 'Space Grotesk';
    font-weight: 700;
    font-size: clamp(.6rem, 1.8vw, .78rem);
    line-height: 1.1
}

.pz-tile.t9 {
    opacity: 0;
    pointer-events: none;
    box-shadow: none;
    z-index: 0;
    transform-origin: center
}

.pz-board.pz-solved .pz-tile.t9 {
    opacity: 1
}

.pz-caption {
    margin-top: 18px;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--body);
    transition: .3s
}

.pz-confetti {
    position: absolute;
    inset: -40px;
    pointer-events: none;
    z-index: 6;
    width: calc(100% + 80px);
    height: calc(100% + 80px)
}

.pz-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 26px;
    flex-wrap: wrap
}

.pz-btn {
    font-family: 'Space Grotesk';
    font-weight: 700;
    font-size: .95rem;
    cursor: pointer;
    border-radius: 100px;
    padding: 13px 26px;
    transition: .18s
}

.pz-btn.solid {
    background: var(--coral);
    color: #fff;
    border: 2px solid var(--coral);
    box-shadow: 0 10px 24px rgba(255, 92, 77, .35)
}

.pz-btn.solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(255, 92, 77, .45)
}

.pz-btn.line {
    background: transparent;
    color: var(--ink);
    border: 2px solid var(--ink)
}

.pz-btn.line:hover {
    background: var(--ink);
    color: var(--cream);
    transform: translateY(-2px)
}

.pz-btn:active {
    transform: translateY(1px)
}

/* ---------- about ---------- */
.about {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto
}

.about p {
    font-size: clamp(1.02rem, 1.8vw, 1.25rem);
    line-height: 1.65;
    color: var(--body);
    margin-top: 24px
}

.doodle-card {
    background: var(--yellow);
    border: 3px solid var(--ink);
    border-radius: var(--radius);
    box-shadow: 10px 10px 0 var(--ink);
    padding: 40px;
    transform: rotate(2deg);
}

.doodle-card h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 18px
}

.doodle-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px
}

.doodle-card li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-weight: 500;
    font-size: 1.02rem;
    color: var(--body)
}

.doodle-card li .ic {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    background: var(--mint);
    color: #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: .85rem
}

/* ---------- features ---------- */
.features {
    max-width: 1200px;
    margin: 0 auto
}

.feat-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 60px
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px
}

.card {
    border: 3px solid var(--ink);
    border-radius: var(--radius);
    padding: 32px 28px;
    background: var(--paper);
    box-shadow: var(--shadow);
    transition: transform .25s, box-shadow .25s;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translate(-4px, -4px) rotate(-1deg);
    box-shadow: 11px 11px 0 var(--ink)
}

.card .emoji {
    font-size: 2.3rem;
    display: inline-block;
    transform-origin: 60% 90%;
    animation: floaty 4.5s ease-in-out infinite
}

.card:nth-child(2) .emoji {
    animation-delay: .5s
}

.card:nth-child(3) .emoji {
    animation-delay: 1s
}

.card:nth-child(4) .emoji {
    animation-delay: 1.5s
}

.card:nth-child(5) .emoji {
    animation-delay: .8s
}

.card:nth-child(6) .emoji {
    animation-delay: 1.3s
}

.card:hover .emoji {
    animation: wiggle .5s ease-in-out infinite
}

@keyframes floaty {

    0%,
    100% {
        transform: translateY(0) rotate(0)
    }

    50% {
        transform: translateY(-7px) rotate(-6deg)
    }
}

@keyframes wiggle {

    0%,
    100% {
        transform: translateY(-2px) rotate(-11deg) scale(1.18)
    }

    50% {
        transform: translateY(-2px) rotate(11deg) scale(1.18)
    }
}

.card h3 {
    font-family: 'Fraunces', serif;
    font-weight: 900;
    font-size: 1.35rem;
    margin: 16px 0 10px
}

.card p {
    color: var(--body);
    line-height: 1.6
}

.card:nth-child(1) {
    background: #fff
}

.card:nth-child(2) {
    background: var(--mint)
}

.card:nth-child(3) {
    background: var(--pink);
    color: #fff
}

.card:nth-child(4) {
    background: var(--blue);
    color: #fff
}

.card:nth-child(5) {
    background: #fff
}

.card:nth-child(6) {
    background: var(--yellow)
}

.card:nth-child(3) p,
.card:nth-child(4) p {
    color: rgba(255, 255, 255, .9)
}

.card:nth-child(3) h3,
.card:nth-child(4) h3 {
    color: #fff
}

/* ---------- latest releases ---------- */
.latest-wrap {
    max-width: 1200px;
    margin: 0 auto
}

.latest-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 46px
}

.latest-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px
}

.book-tile {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform .35s cubic-bezier(.34, 1.4, .64, 1)
}

.book-tile:hover {
    transform: translateY(-10px) rotate(-1deg)
}

.bt-cover {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 1/1.414;
    background: var(--line);
    transition: box-shadow .35s
}

.book-tile:hover .bt-cover {
    box-shadow: 0 28px 54px rgba(42, 38, 32, .22)
}

.bt-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.bt-subj {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--coral)
}

.book-tile h3 {
    font-family: 'Fraunces', serif;
    font-weight: 900;
    font-size: 1.25rem;
    margin: 6px 0 3px;
    line-height: 1.05
}

.bt-class {
    font-size: .9rem;
    color: var(--body);
    font-weight: 500
}

.latest-foot {
    text-align: center;
    margin-top: 48px
}

@media(max-width:900px) {
    .latest-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px
    }
}

/* ---------- stats ---------- */
.stats {
    background: var(--ink);
    color: var(--cream);
    border-radius: 28px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px clamp(24px, 5vw, 70px);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center
}

.stat .num {
    font-family: 'Fraunces', serif;
    font-weight: 900;
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    line-height: 1;
    background: linear-gradient(90deg, var(--yellow), var(--mint));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

.stat .lbl {
    margin-top: 10px;
    font-weight: 500;
    color: #c9c2b4;
    letter-spacing: .02em
}

/* ---------- software strip ---------- */
.software {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--purple);
    color: #fff;
    border: 3px solid var(--ink);
    border-radius: 28px;
    box-shadow: 14px 14px 0 var(--ink);
    padding: clamp(40px, 6vw, 76px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center
}

.software .h2 {
    color: #fff
}

.software .h2 em {
    color: #E0C079;
    font-style: italic
}

.software p {
    margin-top: 20px;
    font-size: 1.1rem;
    line-height: 1.65;
    color: #e6e2f0
}

.device {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 20px;
    padding: 20px;
    transform: rotate(-2deg);
    box-shadow: 0 24px 50px rgba(0, 0, 0, .28)
}

.device .bar {
    display: flex;
    gap: 6px;
    margin-bottom: 14px
}

.device .bar i {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--coral);
    display: block
}

.device .bar i:nth-child(2) {
    background: var(--yellow)
}

.device .bar i:nth-child(3) {
    background: var(--mint)
}

.device .screen {
    background: var(--cream);
    border-radius: 14px;
    padding: 20px;
    color: var(--ink)
}

.device .screen .line {
    height: 12px;
    border-radius: 6px;
    background: #e4ddcf;
    margin: 10px 0
}

.device .screen .line.w1 {
    width: 80%
}

.device .screen .line.w2 {
    width: 60%
}

.device .play {
    width: 56px;
    height: 56px;
    background: var(--coral);
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 16px auto;
    color: #fff;
    font-size: 1.3rem;
    animation: bob 2s ease-in-out infinite
}

/* ---------- cta ---------- */
.cta-final {
    text-align: center;
    max-width: 900px;
    margin: 0 auto
}

.cta-final .h2 {
    margin: 0 auto
}

.cta-final p {
    font-size: 1.15rem;
    color: var(--body);
    margin: 24px auto 40px;
    max-width: 520px
}

/* ---------- footer ---------- */
footer {
    background: var(--ink);
    color: var(--cream);
    padding: 70px clamp(20px, 6vw, 80px) 40px;
    margin-top: 60px
}

.foot-top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto 50px
}

.foot-brand {
    font-family: 'Fraunces', serif;
    font-weight: 900;
    font-size: 2.4rem
}

.foot-brand span {
    color: var(--coral)
}

.foot-cols {
    display: flex;
    gap: 70px;
    flex-wrap: wrap
}

.foot-col h4 {
    font-size: .8rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #8a8375;
    margin-bottom: 16px
}

.foot-col a {
    display: block;
    color: var(--cream);
    text-decoration: none;
    margin-bottom: 10px;
    font-weight: 500;
    transition: .2s
}

.foot-col a:hover {
    color: var(--yellow);
    transform: translateX(4px)
}

.foot-bottom {
    border-top: 1px solid #333;
    padding-top: 24px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    color: #8a8375;
    font-size: .9rem
}

/* ---------- responsive ---------- */
@media(max-width:900px) {

    .about,
    .software {
        grid-template-columns: 1fr
    }

    .grid {
        grid-template-columns: 1fr 1fr
    }

    .stats {
        grid-template-columns: 1fr 1fr;
        gap: 40px 20px
    }

    .nav-links {
        display: none
    }

    .menu-btn {
        display: grid;
        place-items: center;
        width: 46px;
        height: 46px;
        border: 1px solid var(--line);
        border-radius: 12px;
        background: var(--paper);
        box-shadow: var(--shadow-sm);
        cursor: none
    }

    .menu-btn span {
        width: 20px;
        height: 2px;
        background: var(--ink);
        position: relative
    }

    .menu-btn span::before,
    .menu-btn span::after {
        content: "";
        position: absolute;
        left: 0;
        width: 20px;
        height: 2px;
        background: var(--ink)
    }

    .menu-btn span::before {
        top: -6px
    }

    .menu-btn span::after {
        top: 6px
    }
}

@media(max-width:560px) {
    .grid {
        grid-template-columns: 1fr
    }

    .stats {
        grid-template-columns: 1fr 1fr
    }

    .doodle-card {
        transform: none
    }
}

/* ---------- mobile nav dropdown ---------- */
@media(max-width:900px) {
    nav {
        position: fixed
    }

    .nav-links a:not(.nav-cta) {
        display: none
    }

    .menu-btn {
        display: grid;
        place-items: center;
        width: 42px;
        height: 42px;
        border: 2px solid var(--ink);
        border-radius: 12px;
        background: var(--paper);
        cursor: none;
        box-shadow: 2px 2px 0 var(--ink);
        margin-left: 8px
    }

    .menu-btn span {
        width: 18px;
        height: 2px;
        background: var(--ink);
        position: relative;
        display: block
    }

    .menu-btn span::before,
    .menu-btn span::after {
        content: "";
        position: absolute;
        left: 0;
        width: 18px;
        height: 2px;
        background: var(--ink)
    }

    .menu-btn span::before {
        top: -6px
    }

    .menu-btn span::after {
        top: 6px
    }

    nav.open .nav-links {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        position: absolute;
        top: calc(100% + 10px);
        right: 16px;
        min-width: 210px;
        background: var(--paper);
        border: 2.5px solid var(--ink);
        border-radius: 16px;
        padding: 10px;
        box-shadow: 6px 6px 0 var(--ink);
        z-index: 1001;
        gap: 4px
    }

    nav.open .nav-links a {
        display: block !important;
        text-align: left
    }
}

@media(min-width:901px) {
    .menu-btn {
        display: none !important
    }
}