/* ==========================================================================
   WEB DESIGN PAGE — "wd-" section system
   Specialisation / Design and Branding / Web Design
   Site theme: Afacad, deep navy/violet fields, brand accents
   magenta #B51BB5 · orange #F0A400 · violet #AC20BC · cyan #43D2E0.
   Its own layout language: viewport/device cascade, interactive page anatomy,
   sticky craft story, responsive playground, timeline, browser-window CTA.
   No existing site component is reused.
   ========================================================================== */

:root {
    --wd-ink: #0a0b2e;
    --wd-ink-2: #14083a;
    --wd-violet: #4a128c;
    --wd-purple: #7b2ff7;
    --wd-magenta: #B51BB5;
    --wd-orange: #F0A400;
    --wd-cyan: #43D2E0;
    --wd-paper: #f7f4fd;
    --wd-radius: 22px;
    --wd-shell: min(var(--site-width, 88%), 1240px);
}

.wd-shell {
    width: var(--wd-shell);
    margin-inline: auto;
}

.wd-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--wd-cyan);
}

.wd-eyebrow--dark { color: var(--wd-purple); }

.wd-eyebrow__bar {
    width: 26px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--wd-magenta), var(--wd-orange));
}

.wd-head {
    text-align: center;
    max-width: 820px;
    margin: 0 auto clamp(2.2rem, 5vh, 3.6rem);
}

.wd-head h2 {
    margin: .95rem 0 .95rem;
    font-size: clamp(1.95rem, 3.7vw, 3.15rem);
    line-height: 1.08;
    font-weight: 600;
    letter-spacing: -.015em;
    color: var(--wd-ink);
}

.wd-head--light h2 { color: #fff; }

.wd-head__lead {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.65;
    color: rgba(10, 11, 46, .72);
}

.wd-head--light .wd-head__lead { color: rgba(255, 255, 255, .82); }

.wd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .95rem 2.15rem;
    border-radius: 999px;
    font-size: 1.02rem;
    font-weight: 600;
    transition: transform .28s cubic-bezier(.2, .7, .3, 1), box-shadow .28s ease,
        background .28s ease, color .28s ease, border-color .28s ease;
}

.wd-btn--lg { padding: 1.15rem 2.6rem; font-size: 1.08rem; }

.wd-btn--solid {
    color: #fff;
    background: linear-gradient(115deg, var(--wd-magenta), var(--wd-purple) 55%, var(--wd-cyan));
    background-size: 160% 100%;
    box-shadow: 0 14px 34px rgba(123, 47, 247, .42);
}

.wd-btn--solid:hover,
.wd-btn--solid:focus-visible {
    background-position: 90% 0;
    transform: translateY(-3px);
    box-shadow: 0 20px 44px rgba(181, 27, 181, .5);
    outline: none;
}

.wd-btn--ghost {
    color: var(--wd-ink);
    background: rgba(255, 255, 255, .82);
    border: 1.5px solid rgba(74, 18, 140, .28);
}

.wd-btn--ghost:hover,
.wd-btn--ghost:focus-visible {
    transform: translateY(-3px);
    border-color: var(--wd-magenta);
    color: var(--wd-magenta);
    box-shadow: 0 16px 34px rgba(10, 11, 46, .16);
    outline: none;
}

.wd-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .3, 1);
}

.wd-reveal.wd-in {
    opacity: 1;
    transform: none;
}


/* ==========================================================================
   1. HERO — THE VIEWPORT
   ========================================================================== */
.wd-hero {
    position: relative;
    min-height: max(660px, 96svh);
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(110% 85% at 88% 10%, rgba(123, 47, 247, .4), transparent 55%),
        linear-gradient(152deg, var(--wd-ink) 0%, var(--wd-ink-2) 46%, var(--wd-violet) 100%);
    isolation: isolate;
}

.wd-hero__bg { position: absolute; inset: 0; z-index: -1; }

/* design-tool rulers */
.wd-hero__ruler {
    position: absolute;
    opacity: .5;
    background-repeat: repeat;
}

.wd-hero__ruler--top {
    top: 108px;
    left: 0;
    right: 0;
    height: 22px;
    background-image:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .32) 0 1px, transparent 1px 12px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .5) 0 1px, transparent 1px 120px);
    background-size: 12px 10px, 120px 100%;
    background-position: bottom left, bottom left;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
    mask-image: linear-gradient(90deg, #000 70%, transparent);
    -webkit-mask-image: linear-gradient(90deg, #000 70%, transparent);
}

.wd-hero__ruler--left {
    top: 130px;
    bottom: 0;
    left: 0;
    width: 22px;
    background-image:
        repeating-linear-gradient(0deg, rgba(255, 255, 255, .32) 0 1px, transparent 1px 12px),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, .5) 0 1px, transparent 1px 120px);
    background-size: 10px 12px, 100% 120px;
    background-position: top right, top right;
    border-right: 1px solid rgba(255, 255, 255, .18);
    mask-image: linear-gradient(180deg, #000 75%, transparent);
    -webkit-mask-image: linear-gradient(180deg, #000 75%, transparent);
}

.wd-hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
}

.wd-hero__glow--a {
    width: 42vw;
    height: 42vw;
    background: rgba(181, 27, 181, .42);
    top: -10%;
    right: 6%;
    animation: wd-glow 20s ease-in-out infinite alternate;
}

.wd-hero__glow--b {
    width: 32vw;
    height: 32vw;
    background: rgba(67, 210, 224, .3);
    bottom: -14%;
    left: -6%;
    animation: wd-glow 24s ease-in-out infinite alternate-reverse;
}

@keyframes wd-glow {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(-5%, 6%, 0) scale(1.14); }
}

.wd-hero__inner {
    width: var(--wd-shell);
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
    align-items: center;
    gap: clamp(2rem, 4vw, 4.2rem);
    padding: 152px 0 96px;
}

.wd-crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .55rem;
    margin-bottom: 1.55rem;
    font-size: .88rem;
    color: rgba(255, 255, 255, .62);
}

.wd-crumb a { color: rgba(255, 255, 255, .78); }
.wd-crumb a:hover { color: var(--wd-cyan); }
.wd-crumb__sep { opacity: .45; }
.wd-crumb__here { color: var(--wd-orange); font-weight: 600; }

.wd-hero__title {
    margin: 1.05rem 0 1.35rem;
    font-size: clamp(2.55rem, 5.6vw, 4.55rem);
    line-height: 1.04;
    font-weight: 700;
    letter-spacing: -.022em;
    color: #fff;
}

/* line wipe reveal (distinct from per-word pop) */
.wd-wipe {
    display: block;
    overflow: hidden;
}

.wd-wipe > span {
    display: inline-block;
    transform: translateY(105%);
    animation: wd-wipe-up .95s cubic-bezier(.22, .75, .25, 1) forwards;
}

.wd-wipe:nth-child(1) > span { animation-delay: .1s; }
.wd-wipe:nth-child(2) > span { animation-delay: .26s; }
.wd-wipe:nth-child(3) > span { animation-delay: .42s; }

@keyframes wd-wipe-up {
    to { transform: translateY(0); }
}

.wd-hero__grad {
    background: linear-gradient(92deg, var(--wd-cyan), var(--wd-orange) 55%, var(--wd-magenta));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.wd-hero__lead {
    max-width: 54ch;
    font-size: clamp(1.05rem, 1.5vw, 1.24rem);
    line-height: 1.62;
    color: rgba(255, 255, 255, .84);
}

.wd-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.95rem 0 1.75rem;
}

.wd-hero__cta .wd-btn--ghost {
    background: rgba(255, 255, 255, .07);
    border-color: rgba(255, 255, 255, .4);
    color: #fff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.wd-hero__cta .wd-btn--ghost:hover {
    border-color: var(--wd-cyan);
    color: var(--wd-cyan);
    background: rgba(67, 210, 224, .1);
}

.wd-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem 1.7rem;
    font-size: .92rem;
    color: rgba(255, 255, 255, .66);
}

.wd-hero__meta b {
    color: var(--wd-cyan);
    font-weight: 600;
    margin-right: .3rem;
}


/* ---- device cascade ---- */
.wd-devices {
    position: relative;
    height: clamp(420px, 50vw, 560px);
}

.wd-device {
    position: absolute;
    border-radius: 16px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow: 0 36px 84px rgba(3, 2, 22, .55);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    padding: .55rem;
    animation: wd-float 8s ease-in-out infinite alternate;
}

.wd-device__bar {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 2px 4px 8px;
}

.wd-device__bar i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .32);
}

.wd-device__bar i:first-child { background: var(--wd-orange); }

.wd-device__bar em {
    margin-left: 8px;
    padding: .12rem .75rem;
    border-radius: 999px;
    font-size: .68rem;
    font-style: normal;
    color: rgba(255, 255, 255, .75);
    background: rgba(255, 255, 255, .12);
}

.wd-device__screen {
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(160deg, rgba(20, 8, 58, .88), rgba(74, 18, 140, .5));
    height: calc(100% - 26px);
}

.wd-device--desktop {
    top: 4%;
    right: 0;
    width: min(430px, 88%);
    height: 66%;
    animation-delay: -1s;
}

.wd-device--tablet {
    bottom: 4%;
    left: 0;
    width: min(240px, 48%);
    height: 52%;
    animation-delay: -3.5s;
}

.wd-device--phone {
    bottom: 0;
    right: 10%;
    width: min(128px, 27%);
    height: 46%;
    border-radius: 22px;
    animation-delay: -5.5s;
}

.wd-device__notch {
    width: 40px;
    height: 5px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .3);
    margin: 3px auto 7px;
}

.wd-device--phone .wd-device__screen { height: calc(100% - 22px); border-radius: 14px; }

@keyframes wd-float {
    from { translate: 0 -9px; }
    to { translate: 0 11px; }
}

/* measurement annotations */
.wd-measure {
    position: absolute;
    color: var(--wd-orange);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
}

.wd-measure span {
    padding: .12rem .55rem;
    border-radius: 5px;
    background: rgba(240, 164, 0, .16);
    border: 1px solid rgba(240, 164, 0, .5);
}

.wd-measure--h {
    top: -4%;
    right: 8%;
    width: min(430px, 88%);
    border-top: 1px dashed rgba(240, 164, 0, .55);
    text-align: center;
    padding-top: 3px;
}

.wd-measure--v {
    top: 22%;
    right: -2%;
    border-right: 1px dashed rgba(240, 164, 0, .55);
    padding-right: 6px;
}


/* ---- shared UI mock (used by hero devices + responsive playground) ---- */
.wd-ui {
    height: 100%;
    padding: clamp(.55rem, 1.2vw, 1rem);
    display: flex;
    flex-direction: column;
    gap: clamp(.5rem, 1vw, .85rem);
}

.wd-ui__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wd-ui__nav > i {
    width: 42px;
    height: 11px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--wd-magenta), var(--wd-orange));
}

.wd-ui__nav > span { display: flex; gap: 6px; }

.wd-ui__nav b {
    width: 22px;
    height: 7px;
    border-radius: 3px;
    background: rgba(255, 255, 255, .3);
}

.wd-ui__hero {
    flex: 1;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: clamp(.5rem, 1vw, .9rem);
    align-items: center;
}

.wd-ui__copy { display: grid; gap: 7px; }

.wd-ui__copy b { height: clamp(10px, 1.5vw, 16px); border-radius: 4px; background: rgba(255, 255, 255, .75); }
.wd-ui__copy b:nth-child(2) { width: 72%; }
.wd-ui__copy span { height: 7px; border-radius: 3px; width: 88%; background: rgba(255, 255, 255, .3); }

.wd-ui__copy em {
    width: clamp(52px, 8vw, 88px);
    height: clamp(17px, 2.4vw, 26px);
    border-radius: 999px;
    background: linear-gradient(115deg, var(--wd-orange), var(--wd-magenta));
}

.wd-ui__art {
    height: 76%;
    min-height: 46px;
    border-radius: 10px;
    background:
        radial-gradient(60% 80% at 25% 20%, rgba(240, 164, 0, .8), transparent 60%),
        linear-gradient(140deg, var(--wd-magenta), var(--wd-purple));
}

.wd-ui__row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(.45rem, .9vw, .8rem);
}

.wd-ui__row i {
    height: clamp(26px, 4.5vw, 52px);
    border-radius: 8px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .15);
}

.wd-ui__row i:nth-child(2) { background: rgba(67, 210, 224, .22); }

/* reflow rules, driven by the container width (JS toggles .is-narrow / .is-tiny) */
.wd-ui--reflow { container-type: inline-size; }

.wd-ui.is-narrow .wd-ui__hero { grid-template-columns: 1fr; }
.wd-ui.is-narrow .wd-ui__art { display: none; }
.wd-ui.is-narrow .wd-ui__row { grid-template-columns: 1fr 1fr; }
.wd-ui.is-narrow .wd-ui__row i:nth-child(3) { display: none; }
.wd-ui.is-narrow .wd-ui__nav b:nth-child(3) { display: none; }

.wd-ui.is-tiny .wd-ui__nav > span { display: none; }
.wd-ui.is-tiny .wd-ui__row { grid-template-columns: 1fr; }
.wd-ui.is-tiny .wd-ui__row i:nth-child(2) { display: none; }


/* ==========================================================================
   2. ANATOMY — PAGE THAT CONVERTS
   ========================================================================== */
.wd-anatomy {
    padding: clamp(3.4rem, 9vh, 6.2rem) 0;
    background:
        radial-gradient(85% 60% at 8% 4%, rgba(67, 210, 224, .14), transparent 55%),
        radial-gradient(80% 60% at 94% 96%, rgba(181, 27, 181, .1), transparent 55%),
        var(--wd-paper);
}

.wd-anatomy__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
    gap: clamp(1.5rem, 3.5vw, 3rem);
    align-items: center;
}

.wd-page__win {
    position: relative;
    border-radius: var(--wd-radius);
    background: #fff;
    border: 1px solid rgba(74, 18, 140, .14);
    box-shadow: 0 34px 80px rgba(24, 9, 62, .18);
    overflow: hidden;
}

.wd-page__bar {
    display: flex;
    gap: 6px;
    padding: 12px 16px;
    background: rgba(74, 18, 140, .06);
    border-bottom: 1px solid rgba(74, 18, 140, .1);
}

.wd-page__bar i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(74, 18, 140, .22);
}

.wd-page__bar i:first-child { background: var(--wd-orange); }

.wd-page__body { padding: clamp(1.1rem, 2.5vw, 1.9rem); display: grid; gap: clamp(.85rem, 2vw, 1.35rem); }

.wd-page__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: clamp(.65rem, 1.4vw, .95rem) clamp(.85rem, 1.8vw, 1.25rem);
    border-radius: 12px;
    background: rgba(74, 18, 140, .07);
}

.wd-page__nav > i {
    width: 52px;
    height: 12px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--wd-magenta), var(--wd-purple));
}

.wd-page__nav > span { display: flex; align-items: center; gap: 10px; }

.wd-page__nav b {
    width: 30px;
    height: 8px;
    border-radius: 3px;
    background: rgba(74, 18, 140, .25);
}

.wd-page__nav em {
    width: 58px;
    height: 22px;
    border-radius: 999px;
    background: linear-gradient(115deg, var(--wd-magenta), var(--wd-purple));
}

.wd-page__hero {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: clamp(.85rem, 2vw, 1.5rem);
    align-items: center;
    padding: clamp(1rem, 2.2vw, 1.6rem);
    border-radius: 14px;
    background: linear-gradient(150deg, var(--wd-ink), var(--wd-violet));
}

.wd-page__lines { display: grid; gap: 10px; }

.wd-page__lines b { height: clamp(13px, 2vw, 21px); border-radius: 5px; background: rgba(255, 255, 255, .8); }
.wd-page__lines b:nth-child(2) { width: 74%; }
.wd-page__lines span { height: 9px; width: 90%; border-radius: 4px; background: rgba(255, 255, 255, .32); }

.wd-page__lines em {
    width: clamp(78px, 12vw, 128px);
    height: clamp(26px, 3.6vw, 38px);
    border-radius: 999px;
    background: linear-gradient(115deg, var(--wd-orange), var(--wd-magenta));
}

.wd-page__art {
    height: clamp(90px, 15vw, 165px);
    border-radius: 12px;
    background:
        radial-gradient(65% 85% at 28% 18%, rgba(67, 210, 224, .75), transparent 62%),
        linear-gradient(140deg, var(--wd-purple), var(--wd-magenta));
}

.wd-page__row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(.7rem, 1.6vw, 1.15rem);
}

.wd-page__row i {
    height: clamp(52px, 9vw, 96px);
    border-radius: 12px;
    background: rgba(74, 18, 140, .08);
    border: 1px solid rgba(74, 18, 140, .12);
}

.wd-page__row i:nth-child(2) { background: rgba(240, 164, 0, .14); }
.wd-page__row i:nth-child(3) { background: rgba(67, 210, 224, .16); }

.wd-page__foot {
    height: clamp(30px, 5vw, 52px);
    border-radius: 12px;
    background: rgba(74, 18, 140, .12);
}

/* hotspots */
.wd-hot {
    position: absolute;
    left: var(--x);
    top: var(--y);
    transform: translate(-50%, -50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid #fff;
    color: #fff;
    background: var(--wd-magenta);
    box-shadow: 0 10px 26px rgba(181, 27, 181, .45);
    cursor: pointer;
    z-index: 2;
    transition: transform .28s cubic-bezier(.2, .7, .3, 1), background .28s ease;
}

.wd-hot span { font-size: .84rem; font-weight: 700; }

.wd-hot::after {
    content: "";
    position: absolute;
    inset: -7px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .6);
    animation: wd-pulse 2.2s ease-out infinite;
}

@keyframes wd-pulse {
    0% { transform: scale(.7); opacity: .9; }
    100% { transform: scale(1.55); opacity: 0; }
}

.wd-hot:hover,
.wd-hot:focus-visible,
.wd-hot.is-on {
    background: var(--wd-orange);
    transform: translate(-50%, -50%) scale(1.16);
    outline: none;
}

/* note card */
.wd-note {
    position: relative;
    padding: 2.15rem 2.05rem;
    border-radius: var(--wd-radius);
    color: #fff;
    background: linear-gradient(160deg, var(--wd-ink), var(--wd-ink-2) 58%, var(--wd-violet));
    box-shadow: 0 30px 70px rgba(24, 9, 62, .32);
    min-height: 240px;
}

.wd-note.is-swapping { animation: wd-swap .42s ease; }

@keyframes wd-swap {
    0% { opacity: .25; transform: translateY(9px); }
    100% { opacity: 1; transform: none; }
}

.wd-note__num {
    width: 2.55rem;
    height: 2.55rem;
    display: grid;
    place-items: center;
    margin-bottom: 1.05rem;
    border-radius: 11px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--wd-ink);
    background: linear-gradient(135deg, var(--wd-cyan), var(--wd-orange));
}

.wd-note h3 {
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: .55rem;
}

.wd-note p {
    font-size: 1.02rem;
    line-height: 1.62;
    color: rgba(255, 255, 255, .82);
}


/* ==========================================================================
   3. CRAFT — STICKY STORY
   ========================================================================== */
.wd-craft {
    padding: clamp(3.4rem, 9vh, 6.2rem) 0;
    background:
        radial-gradient(90% 55% at 92% 6%, rgba(240, 164, 0, .12), transparent 55%),
        linear-gradient(180deg, #ffffff, var(--wd-paper));
}

.wd-craft__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.8rem, 4vw, 3.6rem);
    align-items: start;
}

.wd-craft__visual {
    position: sticky;
    top: 120px;
}

.wd-canvas {
    position: relative;
    aspect-ratio: 4 / 3.2;
    border-radius: var(--wd-radius);
    background:
        linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px),
        linear-gradient(155deg, var(--wd-ink), var(--wd-violet));
    background-size: 34px 34px, 34px 34px, 100% 100%;
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 34px 80px rgba(24, 9, 62, .32);
    overflow: hidden;
}

.wd-canvas__label {
    position: absolute;
    top: 12px;
    left: 14px;
    padding: .22rem .8rem;
    border-radius: 7px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    color: rgba(255, 255, 255, .85);
    background: rgba(255, 255, 255, .12);
}

.wd-canvas__layer {
    position: absolute;
    inset: 0;
    padding: clamp(2.4rem, 5vw, 3.4rem) clamp(1.4rem, 3.5vw, 2.4rem) clamp(1.4rem, 3vw, 2.2rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(.75rem, 1.8vw, 1.15rem);
    opacity: 0;
    transform: translateY(16px) scale(.98);
    transition: opacity .55s ease, transform .55s cubic-bezier(.2, .7, .3, 1);
    pointer-events: none;
}

.wd-craft__visual[data-state="0"] .wd-canvas__layer--hierarchy,
.wd-craft__visual[data-state="1"] .wd-canvas__layer--type,
.wd-craft__visual[data-state="2"] .wd-canvas__layer--space,
.wd-craft__visual[data-state="3"] .wd-canvas__layer--convert {
    opacity: 1;
    transform: none;
}

/* state 0: hierarchy */
.wd-lv {
    border-radius: 10px;
    background: rgba(255, 255, 255, .2);
}

.wd-lv--1 { height: clamp(30px, 5.2vw, 52px); width: 82%; background: rgba(255, 255, 255, .85); }
.wd-lv--2 { height: clamp(20px, 3.4vw, 32px); width: 62%; background: rgba(255, 255, 255, .5); }
.wd-lv--3 { height: clamp(13px, 2.2vw, 20px); width: 88%; background: rgba(255, 255, 255, .28); }
.wd-lv--4 { height: clamp(13px, 2.2vw, 20px); width: 54%; background: rgba(255, 255, 255, .18); }

/* state 1: type & colour */
.wd-type-row {
    display: flex;
    align-items: baseline;
    gap: 1.15rem;
    color: #fff;
}

.wd-type-row b { font-weight: 700; line-height: 1; }

.wd-type-row span {
    font-size: .86rem;
    letter-spacing: .06em;
    color: rgba(255, 255, 255, .6);
}

.wd-swatches { display: flex; gap: .7rem; margin-top: .55rem; }

.wd-swatches i {
    width: clamp(34px, 5vw, 48px);
    height: clamp(34px, 5vw, 48px);
    border-radius: 12px;
}

.wd-swatches i:nth-child(1) { background: var(--wd-magenta); }
.wd-swatches i:nth-child(2) { background: var(--wd-orange); }
.wd-swatches i:nth-child(3) { background: var(--wd-cyan); }
.wd-swatches i:nth-child(4) { background: var(--wd-purple); }

/* state 2: spacing */
.wd-space-row {
    display: flex;
    align-items: center;
    gap: 1.15rem;
}

.wd-space-box {
    height: clamp(24px, 3.6vw, 38px);
    border-radius: 8px;
    background: rgba(255, 255, 255, .22);
    border: 1px dashed rgba(255, 255, 255, .45);
    width: 62%;
}

.wd-space-box--lg {
    height: clamp(48px, 7.2vw, 78px);
    background: rgba(67, 210, 224, .28);
}

.wd-space-row em {
    font-style: normal;
    font-size: .82rem;
    font-weight: 700;
    color: var(--wd-cyan);
}

/* state 3: conversion */
.wd-canvas__layer--convert {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1.15rem;
}

.wd-funnel {
    display: grid;
    gap: 9px;
    justify-items: center;
}

.wd-funnel i {
    height: clamp(16px, 2.6vw, 26px);
    border-radius: 7px;
    background: rgba(255, 255, 255, .3);
}

.wd-funnel i:nth-child(1) { width: clamp(120px, 22vw, 210px); }
.wd-funnel i:nth-child(2) { width: clamp(86px, 16vw, 150px); }
.wd-funnel i:nth-child(3) { width: clamp(54px, 10vw, 96px); background: rgba(240, 164, 0, .55); }

.wd-funnel-arrow {
    font-size: 1.55rem;
    color: var(--wd-orange);
}

.wd-funnel-btn {
    padding: .75rem 1.55rem;
    border-radius: 999px;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--wd-ink);
    background: linear-gradient(115deg, var(--wd-cyan), var(--wd-orange));
}

/* steps */
.wd-craft__steps {
    display: grid;
    gap: clamp(1.25rem, 3vh, 2.15rem);
    padding-top: clamp(.5rem, 2vh, 1.5rem);
}

.wd-step {
    position: relative;
    padding: 1.85rem 1.95rem 1.85rem 4.6rem;
    border-radius: calc(var(--wd-radius) - 4px);
    background: #fff;
    border: 1.5px solid rgba(74, 18, 140, .13);
    box-shadow: 0 18px 44px rgba(24, 9, 62, .09);
    transition: border-color .4s ease, box-shadow .4s ease, transform .4s ease;
}

.wd-step.is-on {
    border-color: var(--wd-purple);
    box-shadow: 0 26px 58px rgba(74, 18, 140, .18);
    transform: translateY(-3px);
}

.wd-step__idx {
    position: absolute;
    left: 1.55rem;
    top: 1.75rem;
    font-size: 1.28rem;
    font-weight: 700;
    letter-spacing: .02em;
    background: linear-gradient(120deg, var(--wd-purple), var(--wd-magenta));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.wd-step.is-on .wd-step__idx {
    background: linear-gradient(120deg, var(--wd-orange), var(--wd-magenta));
    -webkit-background-clip: text;
    background-clip: text;
}

.wd-step h3 {
    font-size: 1.32rem;
    font-weight: 600;
    color: var(--wd-ink);
    margin-bottom: .5rem;
}

.wd-step p {
    font-size: .995rem;
    line-height: 1.62;
    color: rgba(10, 11, 46, .72);
}


/* ==========================================================================
   4. RESPONSIVE EXPERIENCE LAB
   ========================================================================== */
.wd-responsive {
    padding: clamp(3.8rem, 8vh, 6.4rem) 0;
    overflow: hidden;
    background:
        radial-gradient(75% 62% at 82% 0%, rgba(123, 47, 247, .34), transparent 62%),
        radial-gradient(55% 45% at 8% 100%, rgba(67, 210, 224, .12), transparent 66%),
        linear-gradient(165deg, #090b2f 0%, #17093e 54%, #38107e 100%);
}

.wd-responsive__kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .38rem .82rem;
    margin-bottom: .25rem;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    color: var(--wd-cyan);
    background: rgba(255,255,255,.06);
    font-size: .73rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.wd-play {
    --play-border: rgba(255, 255, 255, .14);
    --play-surface: rgba(255, 255, 255, .075);
}

.wd-play__toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .72rem;
    margin-bottom: 1.15rem;
}

.wd-chip {
    min-height: 44px;
    padding: .62rem 1.25rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .25);
    color: rgba(255, 255, 255, .82);
    background: rgba(255, 255, 255, .06);
    font-size: .9rem;
    font-weight: 650;
    cursor: pointer;
    transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}

.wd-chip span {
    margin-left: .28rem;
    color: rgba(255,255,255,.54);
    font-size: .78rem;
}

.wd-chip:hover,
.wd-chip:focus-visible {
    border-color: rgba(67, 210, 224, .72);
    color: #fff;
    transform: translateY(-2px);
    outline: none;
}

.wd-chip.is-on {
    color: #fff;
    background: linear-gradient(90deg, rgba(185, 0, 255, .9), rgba(0, 88, 255, .9));
    border-color: transparent;
    box-shadow: 0 12px 28px rgba(74, 18, 140, .28);
}

.wd-chip.is-on span { color: rgba(255,255,255,.8); }

.wd-play__status {
    width: min(100%, 1110px);
    margin: 0 auto 1rem;
    display: grid;
    grid-template-columns: minmax(210px, .45fr) minmax(0, 1fr);
    gap: 1.1rem;
    align-items: center;
    padding: .86rem 1rem;
    border: 1px solid var(--play-border);
    border-radius: 16px;
    background: rgba(255,255,255,.055);
}

.wd-play__status > div {
    display: grid;
    gap: .14rem;
}

.wd-play__status-label {
    color: rgba(255,255,255,.5);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.wd-play__status strong {
    color: #fff;
    font-size: 1rem;
    font-weight: 650;
}

.wd-play__status p {
    margin: 0;
    padding-left: 1.1rem;
    border-left: 1px solid rgba(255,255,255,.15);
    color: rgba(255,255,255,.7);
    font-size: .9rem;
    line-height: 1.5;
}

.wd-play__stage {
    min-height: 540px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 1rem;
    border: 1px solid var(--play-border);
    border-radius: 26px;
    background: rgba(3, 4, 28, .28);
    box-shadow: inset 0 1px rgba(255,255,255,.05);
}

.wd-frame {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    border-radius: 18px;
    overflow: visible;
    background: #f7f7fb;
    border: 1px solid rgba(255, 255, 255, .2);
    box-shadow: 0 30px 70px rgba(2, 2, 18, .4);
    transition: width .55s cubic-bezier(.2, .7, .3, 1);
}

.wd-frame__bar {
    min-height: 44px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: .75rem;
    padding: 8px 12px;
    border-radius: 17px 17px 0 0;
    background: #e9e9f2;
    border-bottom: 1px solid #d7d7e4;
}

.wd-frame__traffic {
    display: flex;
    gap: 6px;
}

.wd-frame__traffic i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #a9a9b8;
}
.wd-frame__traffic i:nth-child(1) { background: #ff6f72; }
.wd-frame__traffic i:nth-child(2) { background: #f2bd46; }
.wd-frame__traffic i:nth-child(3) { background: #58c777; }

.wd-frame__bar em {
    min-width: 0;
    justify-self: start;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: .3rem .72rem;
    border-radius: 999px;
    font-style: normal;
    font-size: .72rem;
    color: #66657a;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(10,11,46,.06);
}

.wd-frame__viewport {
    color: #68677a;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .04em;
}

.wd-frame__screen {
    min-height: 470px;
    overflow: hidden;
    border-radius: 0 0 17px 17px;
    background: #f8f7fc;
    transition: min-height .4s ease;
}

.wd-demo {
    min-height: 470px;
    display: grid;
    grid-template-rows: auto 1fr auto;
    color: #151535;
    background:
        radial-gradient(65% 80% at 92% 10%, rgba(123,47,247,.13), transparent 58%),
        linear-gradient(145deg, #fbfbfe 0%, #f4f1fb 100%);
}

.wd-demo__nav {
    position: relative;
    min-width: 0;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 1rem clamp(1rem, 2.3vw, 1.75rem);
    border-bottom: 1px solid rgba(10,11,46,.08);
}

.wd-demo__brand {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: #16163a;
    text-decoration: none;
}

.wd-demo__brand span {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    color: #fff;
    background: linear-gradient(135deg, #a600ee, #1267ff);
    font-weight: 800;
    font-size: .92rem;
}

.wd-demo__brand strong {
    font-size: .86rem;
    letter-spacing: .08em;
}

.wd-demo__links {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: clamp(.85rem, 2vw, 1.5rem);
}

.wd-demo__links a,
.wd-demo__nav-cta,
.wd-demo__mobile-menu a {
    text-decoration: none;
}

.wd-demo__links a {
    color: #5c5b70;
    font-size: .75rem;
    font-weight: 650;
}

.wd-demo__nav-cta {
    padding: .58rem .9rem;
    border-radius: 999px;
    color: #fff;
    background: #17163b;
    font-size: .72rem;
    font-weight: 700;
}

.wd-demo__menu {
    display: none;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(10,11,46,.12);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
}

.wd-demo__menu i {
    display: block;
    width: 16px;
    height: 2px;
    margin: 4px auto;
    border-radius: 2px;
    background: #17163b;
}

.wd-demo__mobile-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 1rem;
    z-index: 6;
    display: none;
    min-width: 160px;
    padding: .55rem;
    border: 1px solid rgba(10,11,46,.08);
    border-radius: 14px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 18px 40px rgba(22,11,70,.16);
}

.wd-demo__mobile-menu a {
    display: block;
    padding: .65rem .7rem;
    border-radius: 9px;
    color: #262545;
    font-size: .74rem;
    font-weight: 650;
}

.wd-demo__mobile-menu a:hover,
.wd-demo__mobile-menu a:focus-visible { background: #f2edff; outline: none; }

.wd-demo.is-menu-open .wd-demo__mobile-menu { display: block; }

.wd-demo__hero {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(260px, .82fr);
    gap: clamp(1.2rem, 3vw, 3rem);
    align-items: center;
    padding: clamp(1.55rem, 3vw, 2.7rem) clamp(1rem, 3vw, 2.2rem);
}

.wd-demo__copy { min-width: 0; }

.wd-demo__eyebrow {
    display: inline-block;
    margin-bottom: .65rem;
    color: #6d29d2;
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.wd-demo__copy h3 {
    max-width: 12ch;
    margin: 0 0 .75rem;
    color: #17163b;
    font-size: clamp(1.9rem, 4vw, 3.45rem);
    line-height: .98;
    letter-spacing: -.045em;
}

.wd-demo__copy h3 span {
    color: #6d2add;
}

.wd-demo__copy > p {
    max-width: 50ch;
    margin: 0;
    color: #66647b;
    font-size: clamp(.78rem, 1.2vw, .98rem);
    line-height: 1.55;
}

.wd-demo__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .72rem;
    margin-top: 1rem;
}

.wd-demo__actions button {
    border: 0;
    border-radius: 999px;
    padding: .72rem 1rem;
    color: #fff;
    background: linear-gradient(90deg, #a600ee, #1267ff);
    font: inherit;
    font-size: .72rem;
    font-weight: 750;
    cursor: pointer;
}

.wd-demo__actions a {
    color: #3b3a58;
    font-size: .72rem;
    font-weight: 700;
    text-decoration: none;
}

.wd-demo__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem;
    margin: 1rem 0 0;
}

.wd-demo__stats div { display: grid; gap: .05rem; }
.wd-demo__stats dt { color: #17163b; font-size: .9rem; font-weight: 800; }
.wd-demo__stats dd { margin: 0; color: #77758a; font-size: .62rem; }

.wd-demo__visual {
    min-width: 0;
    padding: 1rem;
    border: 1px solid rgba(61,34,139,.13);
    border-radius: 20px;
    background: linear-gradient(150deg, #17183d 0%, #2b1764 100%);
    box-shadow: 0 22px 55px rgba(68,30,151,.2);
}

.wd-demo__visual-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
    color: rgba(255,255,255,.7);
    font-size: .67rem;
}

.wd-demo__visual-head strong {
    padding: .28rem .48rem;
    border-radius: 999px;
    color: #62e9ca;
    background: rgba(98,233,202,.1);
    font-size: .58rem;
    text-transform: uppercase;
}

.wd-demo__metric {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .12rem .5rem;
    margin: .95rem 0 .7rem;
    color: rgba(255,255,255,.65);
}

.wd-demo__metric span { font-size: .64rem; }
.wd-demo__metric b { grid-column: 1; color: #fff; font-size: 1.6rem; }
.wd-demo__metric em { grid-row: 2; grid-column: 2; align-self: end; color: #61e4c8; font-size: .63rem; font-style: normal; font-weight: 700; }

.wd-demo__chart {
    height: 90px;
    display: flex;
    align-items: end;
    gap: 7px;
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,.1);
}

.wd-demo__chart i {
    flex: 1;
    height: var(--h);
    min-height: 16px;
    border-radius: 5px 5px 2px 2px;
    background: linear-gradient(180deg, #37d6dd, #7b2ff7);
}

.wd-demo__signal {
    display: flex;
    align-items: center;
    gap: .45rem;
    margin-top: .72rem;
    color: rgba(255,255,255,.62);
    font-size: .6rem;
    line-height: 1.4;
}

.wd-demo__signal span {
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #61e4c8;
    box-shadow: 0 0 0 4px rgba(97,228,200,.09);
}

.wd-demo__proof {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .75rem;
    padding: 0 clamp(1rem, 3vw, 2.2rem) clamp(1rem, 2.5vw, 1.55rem);
}

.wd-demo__proof article {
    min-width: 0;
    padding: .78rem;
    border: 1px solid rgba(10,11,46,.08);
    border-radius: 14px;
    background: rgba(255,255,255,.74);
}

.wd-demo__proof article > span {
    display: block;
    margin-bottom: .32rem;
    color: #8a55e9;
    font-size: .58rem;
    font-weight: 800;
}

.wd-demo__proof strong { display: block; color: #242343; font-size: .74rem; }
.wd-demo__proof p { margin: .18rem 0 0; color: #79778c; font-size: .6rem; line-height: 1.4; }

.wd-frame[data-mode="laptop"] .wd-demo__hero {
    grid-template-columns: minmax(0, 1fr) minmax(220px, .72fr);
    gap: 1.25rem;
}
.wd-frame[data-mode="laptop"] .wd-demo__copy h3 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
.wd-frame[data-mode="laptop"] .wd-demo__links { gap: .8rem; }

.wd-frame[data-mode="tablet"] .wd-frame__screen,
.wd-frame[data-mode="phone"] .wd-frame__screen { min-height: 520px; }

.wd-frame[data-mode="tablet"] .wd-demo__nav,
.wd-frame[data-mode="phone"] .wd-demo__nav {
    grid-template-columns: auto 1fr auto;
}

.wd-frame[data-mode="tablet"] .wd-demo__links,
.wd-frame[data-mode="phone"] .wd-demo__links,
.wd-frame[data-mode="tablet"] .wd-demo__nav-cta,
.wd-frame[data-mode="phone"] .wd-demo__nav-cta { display: none; }

.wd-frame[data-mode="tablet"] .wd-demo__menu,
.wd-frame[data-mode="phone"] .wd-demo__menu { display: block; justify-self: end; }

.wd-frame[data-mode="tablet"] .wd-demo__hero,
.wd-frame[data-mode="phone"] .wd-demo__hero {
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: start;
}

.wd-frame[data-mode="tablet"] .wd-demo__copy h3,
.wd-frame[data-mode="phone"] .wd-demo__copy h3 {
    max-width: 15ch;
    font-size: 2rem;
}

.wd-frame[data-mode="tablet"] .wd-demo__visual { max-width: none; }
.wd-frame[data-mode="tablet"] .wd-demo__proof { grid-template-columns: repeat(2, 1fr); }
.wd-frame[data-mode="tablet"] .wd-demo__proof article:last-child { grid-column: 1 / -1; }

.wd-frame[data-mode="phone"] .wd-demo__brand strong { display: none; }
.wd-frame[data-mode="phone"] .wd-demo__hero { padding: 1.1rem .85rem; }
.wd-frame[data-mode="phone"] .wd-demo__copy h3 { font-size: 1.75rem; }
.wd-frame[data-mode="phone"] .wd-demo__copy > p { font-size: .78rem; }
.wd-frame[data-mode="phone"] .wd-demo__actions { display: grid; grid-template-columns: 1fr; }
.wd-frame[data-mode="phone"] .wd-demo__actions button { width: 100%; }
.wd-frame[data-mode="phone"] .wd-demo__stats { gap: .8rem; }
.wd-frame[data-mode="phone"] .wd-demo__visual { padding: .82rem; border-radius: 16px; }
.wd-frame[data-mode="phone"] .wd-demo__chart { height: 72px; }
.wd-frame[data-mode="phone"] .wd-demo__proof { grid-template-columns: 1fr; padding: 0 .85rem 1rem; }
.wd-frame[data-mode="phone"] .wd-demo__proof article:last-child { grid-column: auto; }
.wd-frame[data-mode="phone"] .wd-demo__proof p { display: none; }

.wd-frame__grab {
    position: absolute;
    top: 50%;
    right: -15px;
    z-index: 8;
    transform: translateY(-50%);
    width: 31px;
    height: 70px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(180deg, #aa10e8, #205cf3);
    border: 2px solid #fff;
    box-shadow: 0 12px 28px rgba(2, 2, 18, .35);
    cursor: ew-resize;
    transition: transform .2s ease;
    touch-action: none;
}

.wd-frame__grab span { font-size: .84rem; font-weight: 800; }

.wd-frame__grab:hover,
.wd-frame__grab:focus-visible {
    transform: translateY(-50%) scale(1.07);
    outline: 3px solid rgba(67,210,224,.3);
    outline-offset: 2px;
}

.wd-adapt {
    width: min(100%, 1110px);
    margin: 1rem auto 0;
    display: grid;
    grid-template-columns: minmax(240px, .8fr) minmax(0, 1.2fr);
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--play-border);
    border-radius: 20px;
    background: rgba(255,255,255,.06);
}

.wd-adapt__intro {
    padding-right: 1rem;
    border-right: 1px solid rgba(255,255,255,.13);
}

.wd-adapt__intro > span {
    display: inline-block;
    margin-bottom: .35rem;
    color: var(--wd-cyan);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.wd-adapt__intro strong { display: block; color: #fff; font-size: 1rem; }
.wd-adapt__intro p { margin: .32rem 0 0; color: rgba(255,255,255,.62); font-size: .78rem; line-height: 1.5; }

.wd-adapt__facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .65rem;
}

.wd-adapt__facts div {
    min-width: 0;
    padding: .78rem;
    border-radius: 14px;
    background: rgba(255,255,255,.055);
}

.wd-adapt__facts span { display: block; color: rgba(255,255,255,.48); font-size: .62rem; }
.wd-adapt__facts strong { display: block; margin-top: .18rem; color: #fff; font-size: .78rem; }

/* ==========================================================================
   5. PROCESS — BRIEF TO LAUNCH
   ========================================================================== */
.wd-timeline {
    padding: clamp(3.4rem, 9vh, 6.2rem) 0;
    background: var(--wd-paper);
}

.wd-track {
    position: relative;
    max-width: 940px;
    margin-inline: auto;
    display: grid;
    gap: clamp(1.55rem, 4vh, 2.6rem);
    padding: .5rem 0;
}

.wd-track__line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    transform: translateX(-50%);
    border-radius: 3px;
    background: rgba(74, 18, 140, .14);
    overflow: hidden;
}

.wd-track__line i {
    display: block;
    width: 100%;
    height: 0;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--wd-magenta), var(--wd-purple) 45%, var(--wd-cyan));
    transition: height .25s linear;
}

.wd-node {
    position: relative;
    width: calc(50% - 2.6rem);
    justify-self: start;
}

.wd-node--right {
    justify-self: end;
    text-align: right;
}

.wd-node__dot {
    position: absolute;
    top: 1.85rem;
    right: -2.6rem;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: var(--wd-purple);
    border: 3px solid var(--wd-paper);
    box-shadow: 0 0 0 2px rgba(123, 47, 247, .35);
}

.wd-node--right .wd-node__dot {
    right: auto;
    left: -2.6rem;
}

.wd-node__card {
    padding: 1.65rem 1.85rem;
    border-radius: calc(var(--wd-radius) - 4px);
    background: #fff;
    border: 1.5px solid rgba(74, 18, 140, .13);
    box-shadow: 0 18px 42px rgba(24, 9, 62, .1);
}

.wd-node__when {
    display: inline-block;
    padding: .22rem .85rem;
    margin-bottom: .75rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--wd-violet);
    background: rgba(123, 47, 247, .11);
}

.wd-node__card h3 {
    font-size: 1.28rem;
    font-weight: 600;
    color: var(--wd-ink);
    margin-bottom: .45rem;
}

.wd-node__card p {
    font-size: .975rem;
    line-height: 1.62;
    color: rgba(10, 11, 46, .72);
}


/* ==========================================================================
   6. CTA — THE BROWSER WINDOW
   ========================================================================== */
.wd-cta {
    padding: clamp(3.2rem, 8vh, 5.6rem) 0 clamp(4rem, 9vh, 6.4rem);
    background:
        radial-gradient(80% 70% at 12% 12%, rgba(67, 210, 224, .14), transparent 55%),
        var(--wd-paper);
}

.wd-window {
    border-radius: calc(var(--wd-radius) + 6px);
    overflow: hidden;
    background: linear-gradient(158deg, var(--wd-ink) 0%, var(--wd-ink-2) 48%, var(--wd-violet) 100%);
    box-shadow: 0 40px 100px rgba(24, 9, 62, .4);
    border: 1px solid rgba(255, 255, 255, .12);
}

.wd-window__bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 13px 18px;
    background: rgba(255, 255, 255, .07);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.wd-window__bar i {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .28);
}

.wd-window__bar i:nth-child(1) { background: var(--wd-orange); }
.wd-window__bar i:nth-child(2) { background: var(--wd-cyan); }
.wd-window__bar i:nth-child(3) { background: var(--wd-magenta); }

.wd-window__url {
    margin-left: 12px;
    padding: .38rem 1.35rem;
    border-radius: 999px;
    font-size: .88rem;
    letter-spacing: .02em;
    color: rgba(255, 255, 255, .82);
    background: rgba(255, 255, 255, .1);
}

.wd-window__body {
    text-align: center;
    padding: clamp(2.6rem, 6.5vw, 4.6rem) clamp(1.5rem, 5vw, 4rem);
}

.wd-window__body h2 {
    margin: .95rem auto 1rem;
    font-size: clamp(2.1rem, 4.6vw, 3.5rem);
    line-height: 1.06;
    font-weight: 700;
    letter-spacing: -.02em;
    color: #fff;
}

.wd-window__body > p {
    max-width: 56ch;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.62;
    color: rgba(255, 255, 255, .82);
}

.wd-window__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.05rem;
    margin-top: 2.15rem;
}

.wd-window__actions .wd-btn--ghost {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .42);
    color: #fff;
}

.wd-window__actions .wd-btn--ghost:hover {
    border-color: var(--wd-cyan);
    color: var(--wd-cyan);
}


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
    .wd-anatomy__grid { grid-template-columns: 1fr; }
    .wd-note { min-height: 0; }
}

@media (max-width: 960px) {
    .wd-hero__inner {
        grid-template-columns: 1fr;
        padding: 142px 0 88px;
    }

    .wd-devices {
        height: clamp(380px, 76vw, 500px);
        max-width: 620px;
        margin-inline: auto;
        width: 100%;
    }

    .wd-craft__grid { grid-template-columns: 1fr; }
    .wd-craft__visual { position: relative; top: 0; max-width: 640px; margin-inline: auto; width: 100%; }

    /* timeline collapses to a single left rail */
    .wd-track__line { left: 8px; transform: none; }
    .wd-node,
    .wd-node--right {
        width: 100%;
        justify-self: stretch;
        text-align: left;
        padding-left: 2.45rem;
    }
    .wd-node__dot,
    .wd-node--right .wd-node__dot {
        left: 0;
        right: auto;
        top: 1.65rem;
    }
}

@media (max-width: 720px) {
    .wd-hero { min-height: 0; }
    .wd-hero__inner { padding: 124px 0 78px; }
    .wd-hero__title { font-size: clamp(2.25rem, 9.4vw, 3rem); }
    .wd-hero__ruler--top { top: 92px; }
    .wd-hero__ruler--left { display: none; }
    .wd-measure--v { display: none; }

    .wd-page__hero { grid-template-columns: 1fr; }
    .wd-page__art { display: none; }
    .wd-page__row { grid-template-columns: 1fr 1fr; }
    .wd-page__row i:nth-child(3) { display: none; }

    .wd-step { padding: 1.55rem 1.35rem 1.55rem; }
    .wd-step__idx {
        position: static;
        display: block;
        margin-bottom: .45rem;
        font-size: 1.02rem;
    }

    .wd-window__actions .wd-btn { width: 100%; }
    .wd-frame__grab { right: -11px; width: 22px; height: 52px; }
}

@media (max-width: 520px) {
    .wd-hero__cta .wd-btn { flex: 1 1 100%; }
    .wd-device--tablet { display: none; }
    .wd-device--desktop { width: 100%; }
    .wd-play__toolbar .wd-chip { flex: 1 1 42%; padding-inline: .65rem; }
}



/* responsive lab refinements */
@media (max-width: 960px) {
    .wd-play__status,
    .wd-adapt { grid-template-columns: 1fr; }
    .wd-play__status p { padding-left: 0; padding-top: .75rem; border-left: 0; border-top: 1px solid rgba(255,255,255,.13); }
    .wd-adapt__intro { padding-right: 0; padding-bottom: .75rem; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
    .wd-adapt__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
    .wd-play__stage { min-height: 0; padding: .65rem; }
    .wd-frame { width: 100% !important; }
    .wd-frame__grab { display: none; }
    .wd-frame__screen { min-height: 530px; }
    .wd-frame[data-mode="desktop"] .wd-demo__hero,
    .wd-frame[data-mode="laptop"] .wd-demo__hero { grid-template-columns: 1fr; }
    .wd-frame[data-mode="desktop"] .wd-demo__visual,
    .wd-frame[data-mode="laptop"] .wd-demo__visual { max-width: none; }
    .wd-play__toolbar .wd-chip { flex: 1 1 calc(50% - .72rem); padding-inline: .65rem; }
}

@media (max-width: 460px) {
    .wd-play__toolbar { gap: .5rem; }
    .wd-chip { min-width: 0; font-size: .8rem; }
    .wd-chip span { font-size: .7rem; }
    .wd-frame__bar { grid-template-columns: auto minmax(0,1fr); }
    .wd-frame__viewport { display: none; }
    .wd-demo__hero { padding-inline: .75rem !important; }
    .wd-demo__proof { padding-inline: .75rem !important; }
    .wd-adapt__facts { grid-template-columns: 1fr 1fr; gap: .5rem; }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    .wd-hero__glow,
    .wd-device,
    .wd-hot::after {
        animation: none !important;
    }

    .wd-wipe > span {
        transform: none;
        animation: none;
    }

    .wd-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .wd-canvas__layer {
        transition: none;
    }

    .wd-frame,
    .wd-track__line i,
    .wd-btn,
    .wd-chip,
    .wd-hot,
    .wd-step,
    .wd-frame__grab {
        transition: none;
    }
}


/* ==========================================================================
   EXPERIENCE LABS — anatomy, craft, process and brief builder
   ========================================================================== */
.wd-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin-bottom: .65rem;
    color: var(--wd-purple);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.wd-section-kicker::before { content:""; width: 24px; height: 2px; border-radius: 2px; background: linear-gradient(90deg,var(--wd-magenta),var(--wd-cyan)); }
.wd-section-kicker--light { color: var(--wd-cyan); }

/* anatomy inspector */
.wd-anatomy { padding: clamp(4rem,8vh,6rem) 0; background: linear-gradient(180deg,#fbf9ff 0%,#f4effd 100%); }
.wd-anatomy-lab { display:grid; grid-template-columns:minmax(0,1.28fr) minmax(330px,.72fr); gap:clamp(1.4rem,3vw,2.5rem); align-items:stretch; }
.wd-anatomy-stage { min-width:0; padding:clamp(.75rem,1.5vw,1rem); border-radius:28px; background:rgba(255,255,255,.72); border:1px solid rgba(74,18,140,.12); box-shadow:0 26px 70px rgba(40,17,88,.10); }
.wd-anatomy-browser { height:100%; min-height:570px; overflow:hidden; border-radius:22px; background:#fff; border:1px solid rgba(74,18,140,.13); }
.wd-anatomy-browser__bar { height:46px; display:flex; align-items:center; gap:7px; padding:0 16px; background:#f0ecf8; border-bottom:1px solid rgba(74,18,140,.1); }
.wd-anatomy-browser__bar i { width:10px; height:10px; border-radius:50%; background:#c8c1d8; }
.wd-anatomy-browser__bar i:first-child { background:var(--wd-magenta); }
.wd-anatomy-browser__bar span { margin-left:8px; color:rgba(10,11,46,.46); font-size:.75rem; }
.wd-anatomy-browser__page { display:grid; grid-template-rows:auto 1fr auto auto auto; gap:10px; padding:12px; height:calc(100% - 46px); background:#fbfaff; }
.wd-anatomy-zone { position:relative; width:100%; border:1px solid transparent; border-radius:16px; text-align:left; background:#fff; color:var(--wd-ink); transition:border-color .22s ease,box-shadow .22s ease,transform .22s ease,background .22s ease; overflow:hidden; }
.wd-anatomy-zone:hover,.wd-anatomy-zone:focus-visible,.wd-anatomy-zone.is-on { border-color:rgba(123,47,247,.52); box-shadow:0 12px 28px rgba(68,27,132,.12); outline:none; }
.wd-anatomy-zone.is-on { transform:translateY(-1px); background:linear-gradient(140deg,#fff,#f8f3ff); }
.wd-anatomy-zone__tag { position:absolute; z-index:2; top:9px; right:10px; padding:.26rem .58rem; border-radius:999px; background:rgba(10,11,46,.72); color:#fff; font-size:.57rem; letter-spacing:.08em; text-transform:uppercase; opacity:0; transform:translateY(-4px); transition:.2s ease; }
.wd-anatomy-zone:hover .wd-anatomy-zone__tag,.wd-anatomy-zone:focus-visible .wd-anatomy-zone__tag,.wd-anatomy-zone.is-on .wd-anatomy-zone__tag { opacity:1; transform:none; }
.wd-anatomy-nav { display:flex; align-items:center; gap:.8rem; min-height:50px; padding:.75rem 1rem; }
.wd-anatomy-nav b { display:grid; place-items:center; width:32px; height:32px; border-radius:10px; background:linear-gradient(135deg,var(--wd-magenta),var(--wd-purple)); color:#fff; }
.wd-anatomy-nav i { width:40px; height:7px; border-radius:999px; background:#ded9ea; }
.wd-anatomy-nav em { margin-left:auto; padding:.48rem .72rem; border-radius:999px; background:var(--wd-ink); color:#fff; font-size:.68rem; font-style:normal; }
.wd-anatomy-hero { min-height:230px; padding:1rem; display:grid; grid-template-columns:1.08fr .92fr; gap:1rem; align-items:center; background:linear-gradient(145deg,#0a0b2e,#28105c); color:#fff; }
.wd-anatomy-hero__copy { display:grid; gap:.58rem; padding:.4rem; }
.wd-anatomy-hero__copy b { max-width:11ch; font-size:clamp(1.3rem,2.5vw,2.25rem); line-height:1.02; }
.wd-anatomy-hero__copy i { display:block; height:7px; max-width:90%; border-radius:999px; background:rgba(255,255,255,.25); }
.wd-anatomy-hero__copy i:nth-of-type(2){max-width:70%;}
.wd-anatomy-hero__copy em { width:max-content; margin-top:.35rem; padding:.62rem .84rem; border-radius:999px; background:linear-gradient(90deg,var(--wd-magenta),var(--wd-purple)); font-size:.72rem; font-style:normal; }
.wd-anatomy-hero__visual { min-height:150px; display:grid; align-content:center; justify-items:center; border-radius:16px; background:radial-gradient(circle at 50% 15%,rgba(67,210,224,.26),transparent 48%),rgba(255,255,255,.08); }
.wd-anatomy-hero__visual strong { font-size:2.15rem; }
.wd-anatomy-hero__visual small { color:rgba(255,255,255,.6); }
.wd-anatomy-hero__visual span { width:70%; height:30px; margin-top:.7rem; border-bottom:3px solid var(--wd-cyan); border-radius:50%; transform:skewX(-16deg); }
.wd-anatomy-action { min-height:66px; display:flex; align-items:center; gap:1rem; padding:.8rem 1rem; }
.wd-anatomy-action b { font-size:.9rem; }
.wd-anatomy-action em { margin-left:auto; padding:.55rem .85rem; border-radius:999px; background:linear-gradient(90deg,var(--wd-magenta),var(--wd-purple),var(--wd-cyan)); color:#fff; font-size:.68rem; font-style:normal; }
.wd-anatomy-proof { min-height:72px; display:grid; grid-template-columns:repeat(3,1fr); gap:.6rem; padding:.65rem; }
.wd-anatomy-proof i { display:grid; align-content:center; gap:.08rem; padding:.58rem .7rem; border-radius:12px; background:#f3effa; color:var(--wd-violet); font-size:.9rem; font-style:normal; font-weight:800; }
.wd-anatomy-proof small { color:rgba(10,11,46,.55); font-size:.58rem; font-weight:600; }
.wd-anatomy-footer { min-height:54px; display:flex; align-items:center; gap:1rem; padding:.75rem 1rem; color:rgba(10,11,46,.56); font-size:.72rem; }
.wd-anatomy-footer b { margin-right:auto; color:var(--wd-ink); }
.wd-anatomy-panel { min-width:0; display:flex; flex-direction:column; justify-content:center; padding:clamp(1.4rem,2.7vw,2rem); border-radius:28px; background:linear-gradient(155deg,var(--wd-ink),#20104d 60%,#34116d); color:#fff; box-shadow:0 28px 72px rgba(19,8,56,.2); }
.wd-anatomy-panel__eyebrow { color:var(--wd-cyan); font-size:.72rem; font-weight:800; letter-spacing:.13em; text-transform:uppercase; }
.wd-anatomy-panel h3 { margin:.7rem 0 .7rem; font-size:clamp(1.55rem,2.4vw,2.25rem); line-height:1.06; }
.wd-anatomy-panel>p { color:rgba(255,255,255,.72); line-height:1.6; }
.wd-anatomy-panel__facts { display:grid; gap:.7rem; margin:1.3rem 0; }
.wd-anatomy-panel__facts div { padding:.8rem 0; border-top:1px solid rgba(255,255,255,.1); }
.wd-anatomy-panel__facts dt { color:rgba(255,255,255,.45); font-size:.66rem; letter-spacing:.08em; text-transform:uppercase; }
.wd-anatomy-panel__facts dd { margin:.22rem 0 0; color:#fff; font-size:.88rem; line-height:1.45; }
.wd-anatomy-panel__signal { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:.7rem; margin-top:auto; padding-top:1rem; border-top:1px solid rgba(255,255,255,.1); }
.wd-anatomy-panel__signal span { font-size:.7rem; color:rgba(255,255,255,.55); }
.wd-anatomy-meter { height:7px; border-radius:999px; overflow:hidden; background:rgba(255,255,255,.1); }
.wd-anatomy-meter i { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,var(--wd-magenta),var(--wd-purple),var(--wd-cyan)); transition:width .35s ease; }
.wd-anatomy-panel__signal strong { color:var(--wd-cyan); font-size:.78rem; }

/* craft control room */
.wd-craft { padding:clamp(4rem,8vh,6rem) 0; background:#fff; color:var(--wd-ink); }
.wd-craft-lab { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(330px,.8fr); gap:clamp(1.4rem,3vw,2.4rem); align-items:stretch; }
.wd-craft-preview { min-width:0; border-radius:28px; overflow:hidden; background:#ece9f2; border:1px solid rgba(74,18,140,.12); box-shadow:0 28px 72px rgba(30,14,67,.11); }
.wd-craft-preview__bar { height:46px; display:flex; align-items:center; gap:7px; padding:0 16px; background:#4d4862; color:rgba(255,255,255,.75); }
.wd-craft-preview__bar i { width:10px;height:10px;border-radius:50%;background:#79728e;}.wd-craft-preview__bar i:first-child{background:var(--wd-magenta)}
.wd-craft-preview__bar span{margin-left:8px;font-size:.72rem;}
.wd-craft-preview__page { min-height:500px; padding:1.15rem; background:#f7f5fb; transition:padding .35s ease,background .35s ease; }
.wd-craft-preview__nav { display:flex; align-items:center; justify-content:space-between; padding:.7rem .85rem; border-radius:12px; color:var(--wd-ink); transition:.35s ease; }
.wd-craft-preview__nav b { letter-spacing:.05em; }.wd-craft-preview__nav span { color:rgba(10,11,46,.55); font-size:.72rem; }
.wd-craft-preview__hero { display:grid; grid-template-columns:1.05fr .95fr; gap:1rem; align-items:center; margin-top:1rem; padding:1.4rem; border-radius:20px; background:#fff; transition:.35s ease; }
.wd-craft-preview__copy { display:grid; gap:.7rem; }.wd-craft-preview__eyebrow { color:var(--wd-magenta); font-size:.62rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.wd-craft-preview__copy h3 { max-width:10ch; margin:0; color:var(--wd-ink); font-size:clamp(1.8rem,3vw,3.1rem); line-height:1; transition:.35s ease; }
.wd-craft-preview__copy p { margin:0; max-width:44ch; color:rgba(10,11,46,.64); font-size:.83rem; line-height:1.5; transition:.35s ease; }
.wd-craft-preview__copy button { width:max-content; border:0; padding:.72rem 1rem; border-radius:999px; background:linear-gradient(90deg,var(--wd-magenta),var(--wd-purple)); color:#fff; font:inherit; font-size:.72rem; font-weight:700; transition:.35s ease; }
.wd-craft-preview__visual { min-height:210px; display:grid; align-content:center; gap:1rem; padding:1rem; border-radius:18px; background:linear-gradient(145deg,#0d1037,#31126d); color:#fff; transition:.35s ease; }
.wd-craft-preview__visual>div:first-child { display:flex; justify-content:space-between; align-items:end; }.wd-craft-preview__visual span{color:rgba(255,255,255,.56);font-size:.68rem}.wd-craft-preview__visual strong{font-size:2rem;}
.wd-craft-preview__bars { height:90px; display:flex; align-items:end; gap:8px; }.wd-craft-preview__bars i{flex:1;border-radius:5px 5px 2px 2px;background:linear-gradient(180deg,var(--wd-cyan),var(--wd-purple));}.wd-craft-preview__bars i:nth-child(1){height:38%}.wd-craft-preview__bars i:nth-child(2){height:50%}.wd-craft-preview__bars i:nth-child(3){height:44%}.wd-craft-preview__bars i:nth-child(4){height:68%}.wd-craft-preview__bars i:nth-child(5){height:88%}
.wd-craft-preview__cards { display:grid; grid-template-columns:repeat(3,1fr); gap:.75rem; margin-top:.85rem; transition:.35s ease; }.wd-craft-preview__cards article{padding:.85rem;border-radius:14px;background:#fff;border:1px solid #e1dbea;}.wd-craft-preview__cards b,.wd-craft-preview__cards span{display:block}.wd-craft-preview__cards b{font-size:.78rem}.wd-craft-preview__cards span{margin-top:.2rem;color:rgba(10,11,46,.52);font-size:.62rem}
.wd-craft-preview:not(.has-space) .wd-craft-preview__page{padding:.35rem}.wd-craft-preview:not(.has-space) .wd-craft-preview__hero{gap:.3rem;margin-top:.25rem;padding:.45rem}.wd-craft-preview:not(.has-space) .wd-craft-preview__cards{gap:.25rem;margin-top:.25rem}.wd-craft-preview:not(.has-space) .wd-craft-preview__cards article{padding:.35rem}
.wd-craft-preview:not(.has-hierarchy) .wd-craft-preview__copy h3{font-size:1.15rem;max-width:none;font-weight:600}.wd-craft-preview:not(.has-hierarchy) .wd-craft-preview__eyebrow{color:rgba(10,11,46,.5)}.wd-craft-preview:not(.has-hierarchy) .wd-craft-preview__visual strong{font-size:1.1rem}
.wd-craft-preview:not(.has-type) .wd-craft-preview__copy h3,.wd-craft-preview:not(.has-type) .wd-craft-preview__copy p,.wd-craft-preview:not(.has-type) .wd-craft-preview__nav,.wd-craft-preview:not(.has-type) .wd-craft-preview__cards{font-size:.72rem!important;color:#555!important}.wd-craft-preview:not(.has-type) .wd-craft-preview__hero{background:#e7e7ea}.wd-craft-preview:not(.has-type) .wd-craft-preview__visual{background:#6b6b73}
.wd-craft-preview:not(.has-convert) .wd-craft-preview__copy button{background:#b7b5bf;color:#5a5860;transform:translateY(28px)}.wd-craft-preview:not(.has-convert) .wd-craft-preview__cards article{border-color:transparent}
.wd-craft-console { min-width:0; padding:1.25rem; border-radius:28px; background:linear-gradient(155deg,var(--wd-ink),#221052); color:#fff; }
.wd-craft-console__top { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding-bottom:1rem; border-bottom:1px solid rgba(255,255,255,.1); }.wd-craft-console__top>div:first-child span{display:block;color:rgba(255,255,255,.48);font-size:.66rem;text-transform:uppercase;letter-spacing:.1em}.wd-craft-console__top strong{display:block;margin-top:.12rem;font-size:1.5rem}
.wd-craft-console__quick { display:flex; gap:.35rem; padding:.25rem; border-radius:999px; background:rgba(255,255,255,.06); }.wd-craft-console__quick button{border:0;padding:.52rem .7rem;border-radius:999px;background:transparent;color:rgba(255,255,255,.65);font:inherit;font-size:.7rem}.wd-craft-console__quick button.is-on{background:#fff;color:var(--wd-ink)}
.wd-craft-controls{display:grid;gap:.6rem;margin-top:1rem}.wd-craft-toggle{display:grid;grid-template-columns:1fr auto;gap:.15rem .8rem;width:100%;padding:.9rem 1rem;border-radius:16px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.045);color:#fff;text-align:left;transition:.2s ease}.wd-craft-toggle span{font-weight:700;font-size:.82rem}.wd-craft-toggle small{grid-column:1;color:rgba(255,255,255,.52);font-size:.66rem}.wd-craft-toggle i{grid-row:1/3;grid-column:2;align-self:center;padding:.3rem .5rem;border-radius:999px;background:rgba(255,255,255,.08);color:rgba(255,255,255,.55);font-size:.58rem;font-style:normal;text-transform:uppercase}.wd-craft-toggle.is-on{border-color:rgba(67,210,224,.4);background:rgba(123,47,247,.14)}.wd-craft-toggle.is-on i{background:rgba(67,210,224,.16);color:var(--wd-cyan)}
.wd-craft-console__result{margin-top:1rem;padding:1rem;border-radius:16px;background:rgba(255,255,255,.06)}.wd-craft-console__result span{color:var(--wd-cyan);font-size:.68rem;font-weight:800;text-transform:uppercase;letter-spacing:.1em}.wd-craft-console__result p{margin:.35rem 0 0;color:rgba(255,255,255,.68);font-size:.74rem;line-height:1.5}

/* process simulator */
.wd-timeline { padding:clamp(4rem,8vh,6rem) 0; background:linear-gradient(180deg,#f7f4fd,#fff); }
.wd-process-lab { overflow:hidden; border:1px solid rgba(74,18,140,.12); border-radius:28px; background:#fff; box-shadow:0 28px 70px rgba(35,15,80,.1); }
.wd-process-rail { display:grid; grid-template-columns:repeat(5,1fr); padding:.6rem; gap:.45rem; background:#f1edf8; border-bottom:1px solid rgba(74,18,140,.1); }
.wd-process-tab { min-width:0; border:1px solid transparent; border-radius:14px; padding:.8rem .7rem; background:transparent; color:rgba(10,11,46,.55); text-align:left; transition:.2s ease; }.wd-process-tab span,.wd-process-tab small{display:block}.wd-process-tab span{color:var(--wd-ink);font-weight:700;font-size:.8rem}.wd-process-tab small{margin-top:.12rem;font-size:.6rem}.wd-process-tab.is-on,.wd-process-tab:hover,.wd-process-tab:focus-visible{outline:none;background:#fff;border-color:rgba(123,47,247,.2);box-shadow:0 8px 20px rgba(39,16,82,.08)}.wd-process-tab.is-on span{color:var(--wd-purple)}
.wd-process-stage { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr); gap:1rem; padding:1rem; min-height:440px; }
.wd-process-detail { padding:clamp(1.25rem,2.5vw,2rem); border-radius:22px; background:linear-gradient(150deg,var(--wd-ink),#20104c); color:#fff; display:flex; flex-direction:column; }
.wd-process-detail__phase { color:var(--wd-cyan); font-size:.7rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }.wd-process-detail h3{margin:.7rem 0 .65rem;font-size:clamp(1.6rem,2.5vw,2.35rem);line-height:1.05}.wd-process-detail>p{color:rgba(255,255,255,.68);line-height:1.58;max-width:58ch}
.wd-process-detail__grid { display:grid; grid-template-columns:repeat(3,1fr); gap:.65rem; margin-top:1.35rem; }.wd-process-detail__grid div{padding:.85rem;border-radius:14px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.08)}.wd-process-detail__grid span{display:block;color:rgba(255,255,255,.42);font-size:.58rem;text-transform:uppercase;letter-spacing:.08em}.wd-process-detail__grid strong{display:block;margin-top:.25rem;font-size:.72rem;line-height:1.4}
.wd-process-detail__actions{display:flex;gap:.55rem;margin-top:auto;padding-top:1rem}.wd-process-detail__actions button{border:1px solid rgba(255,255,255,.14);border-radius:999px;background:rgba(255,255,255,.06);color:#fff;font:inherit;padding:.7rem .9rem;font-size:.72rem}.wd-process-detail__actions button:last-child{margin-left:auto;background:linear-gradient(90deg,var(--wd-magenta),var(--wd-purple));border-color:transparent}
.wd-process-artifact { min-width:0; padding:1rem; border-radius:22px; background:#f5f2fa; border:1px solid rgba(74,18,140,.1); display:flex; flex-direction:column; transition:.25s ease; }.wd-process-artifact__head{display:flex;justify-content:space-between;align-items:center;padding:.3rem .25rem .85rem;border-bottom:1px solid rgba(74,18,140,.1)}.wd-process-artifact__head span{color:var(--wd-violet);font-size:.62rem;font-weight:800;letter-spacing:.12em}.wd-process-artifact__head em{padding:.28rem .55rem;border-radius:999px;background:#fff;color:var(--wd-purple);font-size:.58rem;font-style:normal}
.wd-process-artifact__body{display:grid;align-content:center;gap:.7rem;flex:1;padding:1rem .5rem}.wd-process-artifact__title{font-weight:800;color:var(--wd-ink);font-size:1.1rem}.wd-process-artifact__line{height:9px;width:68%;border-radius:999px;background:#dcd5e8}.wd-process-artifact__line.is-long{width:92%}.wd-process-artifact__cards{display:grid;grid-template-columns:repeat(3,1fr);gap:.55rem;margin-top:.45rem}.wd-process-artifact__cards i{height:82px;border-radius:13px;background:#fff;border:1px solid rgba(74,18,140,.1)}.wd-process-artifact__cards i:nth-child(2){background:rgba(123,47,247,.12)}.wd-process-artifact__footer{margin-top:auto;padding:.75rem;border-radius:12px;background:rgba(67,210,224,.1);color:#0c5561;font-size:.68rem}
.wd-process-artifact[data-kind="wireframe"] .wd-process-artifact__cards i{background:repeating-linear-gradient(135deg,#fff,#fff 7px,#f1edf7 7px,#f1edf7 14px)}.wd-process-artifact[data-kind="visual"]{background:linear-gradient(145deg,#efe9ff,#f9f7ff)}.wd-process-artifact[data-kind="visual"] .wd-process-artifact__cards i:nth-child(1){background:linear-gradient(145deg,var(--wd-ink),var(--wd-violet))}.wd-process-artifact[data-kind="visual"] .wd-process-artifact__cards i:nth-child(2){background:linear-gradient(145deg,var(--wd-magenta),var(--wd-purple))}.wd-process-artifact[data-kind="visual"] .wd-process-artifact__cards i:nth-child(3){background:linear-gradient(145deg,var(--wd-cyan),#4675ff)}.wd-process-artifact[data-kind="prototype"] .wd-process-artifact__cards i{position:relative}.wd-process-artifact[data-kind="prototype"] .wd-process-artifact__cards i::after{content:"→";position:absolute;inset:0;display:grid;place-items:center;color:var(--wd-purple);font-size:1.2rem}.wd-process-artifact[data-kind="launch"] .wd-process-artifact__cards i{background:linear-gradient(180deg,#fff,#ecfff5);border-color:#b9ead0}.wd-process-artifact[data-kind="launch"] .wd-process-artifact__footer{background:#eafaf2;color:#17663d}

/* project brief builder */
.wd-cta { padding:clamp(4rem,8vh,6rem) 0; background:radial-gradient(80% 80% at 85% 10%,rgba(123,47,247,.13),transparent 55%),#f7f4fd; }
.wd-window { box-shadow:0 34px 90px rgba(24,9,62,.28); }
.wd-brief { text-align:left; padding:clamp(1.4rem,3vw,2.2rem); }
.wd-brief__intro { max-width:760px; margin:0 auto 1.4rem; text-align:center; }.wd-brief__intro h2{margin:.45rem auto .65rem}.wd-brief__intro p{margin:0 auto;color:rgba(255,255,255,.72);max-width:62ch;line-height:1.55}
.wd-brief__choices { display:grid; grid-template-columns:repeat(4,1fr); gap:.7rem; }.wd-brief-choice{min-width:0;padding:1rem;border-radius:16px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.05);color:#fff;text-align:left;transition:.2s ease}.wd-brief-choice strong,.wd-brief-choice span{display:block}.wd-brief-choice strong{font-size:.82rem}.wd-brief-choice span{margin-top:.25rem;color:rgba(255,255,255,.48);font-size:.65rem;line-height:1.4}.wd-brief-choice.is-on,.wd-brief-choice:hover,.wd-brief-choice:focus-visible{outline:none;border-color:rgba(67,210,224,.36);background:linear-gradient(145deg,rgba(181,27,181,.18),rgba(123,47,247,.12))}.wd-brief-choice.is-on strong{color:var(--wd-cyan)}
.wd-brief__result { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr); gap:1rem; align-items:center; margin-top:1rem; padding:1.15rem; border-radius:20px; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1); }.wd-brief__result>div:first-child span{color:var(--wd-cyan);font-size:.62rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.wd-brief__result h3{margin:.35rem 0 .35rem;color:#fff;font-size:1.45rem}.wd-brief__result p{margin:0;color:rgba(255,255,255,.62);line-height:1.5;font-size:.78rem}.wd-brief__priorities{display:flex;flex-wrap:wrap;gap:.45rem}.wd-brief__priorities span{padding:.5rem .65rem;border-radius:999px;background:rgba(255,255,255,.08);color:#fff;font-size:.65rem}.wd-brief__actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:.7rem;margin-top:.15rem}.wd-brief__actions .wd-btn{padding:.85rem 1.3rem;font-size:.78rem}.wd-brief__actions .wd-btn--ghost{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.26);color:#fff}

@media (max-width: 980px){
 .wd-anatomy-lab,.wd-craft-lab,.wd-process-stage{grid-template-columns:1fr}.wd-anatomy-panel,.wd-craft-console{min-height:0}.wd-process-artifact{min-height:330px}.wd-brief__choices{grid-template-columns:1fr 1fr}.wd-brief__result{grid-template-columns:1fr}.wd-brief__actions{grid-column:auto}.wd-process-detail__grid{grid-template-columns:1fr 1fr}.wd-process-detail__grid div:last-child{grid-column:1/-1}
}
@media (max-width: 680px){
 .wd-anatomy-browser{min-height:500px}.wd-anatomy-hero{grid-template-columns:1fr}.wd-anatomy-hero__visual{display:none}.wd-anatomy-proof{grid-template-columns:1fr 1fr}.wd-anatomy-proof i:last-child{grid-column:1/-1}.wd-anatomy-panel__signal{grid-template-columns:1fr auto}.wd-anatomy-meter{grid-column:1/-1;grid-row:2}.wd-craft-preview__hero{grid-template-columns:1fr}.wd-craft-preview__visual{min-height:160px}.wd-craft-preview__cards{grid-template-columns:1fr}.wd-craft-console__top{align-items:flex-start;flex-direction:column}.wd-process-rail{display:flex;overflow-x:auto}.wd-process-tab{flex:0 0 145px}.wd-process-detail__grid{grid-template-columns:1fr}.wd-process-detail__grid div:last-child{grid-column:auto}.wd-process-artifact__cards{grid-template-columns:1fr 1fr}.wd-process-artifact__cards i:last-child{grid-column:1/-1}.wd-brief__choices{grid-template-columns:1fr}.wd-brief__actions .wd-btn{width:100%}
}
