/* Playwrist: home page ("/", templates/auth/landing.html).
 *
 * Standalone: this page loads this sheet INSTEAD of marketing.css, so it styles
 * the shared shell it inherits from base.html (main, footer) itself. Nothing
 * here is used by any other page, and scripts/build_marketing_css.py does not
 * read it.
 *
 * Direction: monochrome surfaces (near-black ink, chalk paper), oversized
 * Inter display type with tight tracking, Bebas Neue only for numerals and
 * small labels. Field green and end-zone yellow are reserved for drawn routes
 * and calls to action.
 */

:root {
    --ink: #0b0d0c;
    --ink-2: #131715;
    --ink-3: #1c211e;
    --chalk: #f6f5f0;
    --paper: #ffffff;
    --text: #0f1311;
    --mute: #5d6561;
    --mute-light: rgba(255, 255, 255, 0.68);
    --line: rgba(15, 19, 17, 0.12);
    --line-light: rgba(255, 255, 255, 0.14);
    --green: #0b6b3a;
    --green-bright: #3fb56b;
    --yellow: #f5c116;
    --yellow-ink: #43350a;
    --radius: 22px;
    --radius-sm: 14px;
    --wrap: 1240px;
    --gutter: clamp(16px, 4vw, 48px);
    --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Bebas Neue', 'Inter', sans-serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --nav-h: 68px;
    --h2-lg: clamp(2.6rem, 5vw, 4.6rem);
    --h2-sm: clamp(2rem, 3.4vw, 3rem);
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-h);
}

body {
    margin: 0;
    background: var(--chalk);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
picture { display: contents; }
a { color: inherit; }
button { font: inherit; }

:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 3px;
    border-radius: 6px;
}

.app-shell { min-height: 100vh; }
.app-main { display: block; }

/* ------------------------------------------------------------------ */
/* Shared primitives                                                    */
/* ------------------------------------------------------------------ */

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

.pw-section { padding: clamp(88px, 12vw, 168px) 0; }
.pw-section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.pw-section--ink { background: var(--ink); color: #fff; }
.pw-section--paper { background: var(--paper); }

.pw-eyebrow {
    margin: 0 0 18px;
    font-family: var(--font-display);
    font-size: 1.05rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mute);
}
.pw-eyebrow--light { color: rgba(255, 255, 255, 0.6); }

.pw-h2 {
    margin: 0;
    font-size: var(--h2-sm);
    line-height: 1.02;
    letter-spacing: -0.04em;
    font-weight: 700;
    text-wrap: balance;
}
.pw-h2--lg { font-size: var(--h2-lg); line-height: 0.98; letter-spacing: -0.045em; }
.pw-h2--sm { font-size: var(--h2-sm); }

.pw-h3 {
    margin: 0 0 10px;
    font-size: clamp(1.3rem, 2vw, 1.65rem);
    line-height: 1.15;
    letter-spacing: -0.025em;
    font-weight: 650;
}

.pw-lede {
    margin: 22px 0 0;
    max-width: 38em;
    font-size: clamp(1.05rem, 1.35vw, 1.22rem);
    line-height: 1.6;
    color: var(--mute);
}
.pw-lede--light { color: var(--mute-light); }

.pw-head { margin-bottom: clamp(44px, 6vw, 80px); }
.pw-head--center { text-align: center; }
.pw-head--center .pw-lede { margin-left: auto; margin-right: auto; }
.pw-head--split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}
.pw-center { text-align: center; }

.pw-caption {
    margin: 18px auto 0;
    max-width: 44em;
    text-align: center;
    font-size: 0.95rem;
    color: var(--mute);
}

/* Buttons: pills, solid or outlined. */
.pw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 30px;
    border-radius: 999px;
    border: 1.5px solid transparent;
    font-size: 1rem;
    font-weight: 650;
    letter-spacing: -0.01em;
    text-decoration: none;
    transition: transform 0.25s var(--ease), background-color 0.2s, color 0.2s, border-color 0.2s;
    white-space: nowrap;
}
.pw-btn:hover { transform: translateY(-2px); }
.pw-btn--light { background: #fff; color: var(--ink); }
.pw-btn--light:hover { background: var(--yellow); color: var(--yellow-ink); }
.pw-btn--outline-light { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.pw-btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.pw-btn--dark { background: var(--ink); color: #fff; }
.pw-btn--dark:hover { background: var(--green); }

/* Browser frame around real captures. */
.pw-frame {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--ink-3);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 40px 80px -30px rgba(0, 0, 0, 0.45),
        0 18px 36px -18px rgba(0, 0, 0, 0.3);
}
.pw-frame__bar {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 40px;
    padding: 0 16px;
    background: #202623;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.78rem;
}
.pw-frame__dots { display: inline-flex; gap: 7px; }
.pw-frame__dots i {
    width: 11px; height: 11px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
}
.pw-frame__url {
    flex: 1;
    max-width: 360px;
    margin: 0 auto;
    padding: 4px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.pw-frame__body { background: #fafaf7; }
.pw-frame__body img { width: 100%; height: auto; }

/* Reels: muted product footage with a small pause control. */
.pw-reel { position: relative; width: 100%; background: #fafaf7; }
.pw-reel__video { width: 100%; height: 100%; object-fit: cover; }
.pw-reel__toggle {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 0;
    background: rgba(11, 13, 12, 0.62);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
    display: grid;
    place-items: center;
    opacity: 0;
    transition: opacity 0.2s;
}
.pw-reel:hover .pw-reel__toggle,
.pw-reel__toggle:focus-visible,
.pw-reel.is-paused .pw-reel__toggle { opacity: 1; }
.pw-reel__icon {
    width: 12px; height: 14px;
    border-left: 4px solid #fff;
    border-right: 4px solid #fff;
}
.pw-reel.is-paused .pw-reel__icon {
    width: 0; height: 0;
    border-style: solid;
    border-width: 8px 0 8px 13px;
    border-color: transparent transparent transparent #fff;
    margin-left: 4px;
}

/* ------------------------------------------------------------------ */
/* Nav                                                                  */
/* ------------------------------------------------------------------ */

.pw-nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 var(--gutter);
    color: #fff;
    transition: background-color 0.35s var(--ease), color 0.35s, box-shadow 0.35s;
}
.pw-nav.is-solid {
    background: rgba(11, 13, 12, 0.82);
    backdrop-filter: saturate(150%) blur(14px);
    -webkit-backdrop-filter: saturate(150%) blur(14px);
    box-shadow: 0 1px 0 var(--line-light);
}
.pw-nav__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 750;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
}
.pw-nav__links { display: flex; align-items: center; gap: clamp(6px, 1.6vw, 26px); }
.pw-nav__link {
    text-decoration: none;
    font-size: 0.96rem;
    font-weight: 550;
    opacity: 0.86;
    padding: 8px 4px;
}
.pw-nav__link:hover { opacity: 1; }
.pw-nav__cta {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font-size: 0.94rem;
    font-weight: 650;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}
.pw-nav__cta:hover { background: var(--yellow); color: var(--yellow-ink); }

@media (max-width: 720px) {
    .pw-nav__link--wide { display: none; }
    .pw-nav__name { font-size: 1.05rem; }
}

.pw-flash {
    position: fixed;
    top: calc(var(--nav-h) + 10px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 49;
    margin: 0;
    padding: 10px 18px;
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font-size: 0.92rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ------------------------------------------------------------------ */
/* 1. Hero                                                              */
/* ------------------------------------------------------------------ */

.landing-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    color: #fff;
    background: var(--ink);
    overflow: hidden;
    isolation: isolate;
}
.pw-hero__media { position: absolute; inset: 0; z-index: -1; }
.pw-hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.6s ease;
}
.pw-hero__slide.is-active { opacity: 1; }
.pw-hero__slide img,
.pw-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 80% 30%;
    transform: scale(1.06);
    transform-origin: 60% 50%;
}
.pw-hero__slide.is-active img { animation: pw-push 14s linear forwards; }
@keyframes pw-push {
    from { transform: scale(1.08) translate3d(1%, 0, 0); }
    to   { transform: scale(1.0) translate3d(0, 0, 0); }
}
.pw-hero__scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(11, 13, 12, 0.55) 0%, rgba(11, 13, 12, 0) 22%),
        linear-gradient(0deg, rgba(11, 13, 12, 0.92) 0%, rgba(11, 13, 12, 0.55) 38%, rgba(11, 13, 12, 0.1) 70%),
        linear-gradient(90deg, rgba(11, 13, 12, 0.82) 0%, rgba(11, 13, 12, 0.55) 38%, rgba(11, 13, 12, 0) 66%);
}
.pw-hero__routes {
    position: absolute;
    right: 2%;
    bottom: 3%;
    width: 24%;
    height: 36%;
    opacity: 0.78;
    mix-blend-mode: screen;
}
.pw-route { stroke-dasharray: 1; stroke-dashoffset: 1; }
.pw-arrow { opacity: 0; }
.pw-hero__routes.is-drawing .pw-route { animation: pw-draw 1.5s var(--ease) forwards; }
.pw-hero__routes.is-drawing .pw-route--2 { animation-delay: 0.25s; }
.pw-hero__routes.is-drawing .pw-route--3 { animation-delay: 0.5s; }
.pw-hero__routes.is-drawing .pw-arrow { animation: pw-fade 0.4s ease forwards; animation-delay: 1.3s; }
.pw-hero__routes.is-drawing .pw-arrow--2 { animation-delay: 1.55s; }
.pw-hero__routes.is-drawing .pw-arrow--3 { animation-delay: 1.8s; }
@keyframes pw-draw { to { stroke-dashoffset: 0; } }
@keyframes pw-fade { to { opacity: 1; } }

.pw-hero__inner {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: calc(var(--nav-h) + 48px) var(--gutter) clamp(72px, 9vh, 120px);
}
.pw-hero__title {
    margin: 0;
    max-width: 14.5em;
    font-size: clamp(2.5rem, 4.9vw, 4.4rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
    font-weight: 750;
    text-wrap: balance;
}
.landing-hero__accent {
    color: var(--yellow);
    white-space: nowrap;
}
.landing-hero__lede {
    margin: 28px 0 0;
    max-width: 34em;
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.82);
}
.pw-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}
.pw-hero__fine {
    margin: 22px 0 0;
    max-width: 44em;
    font-size: 0.9rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.62);
}
.pw-hero__fine strong { color: #fff; font-weight: 650; }
.pw-hero__formats { margin-top: 6px; }

.pw-hero__cue {
    position: absolute;
    left: 50%;
    bottom: 22px;
    width: 26px;
    height: 42px;
    margin-left: -13px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-radius: 14px;
}
.pw-hero__cue span {
    position: absolute;
    left: 50%;
    top: 8px;
    width: 4px;
    height: 8px;
    margin-left: -2px;
    border-radius: 2px;
    background: #fff;
    animation: pw-cue 1.8s ease-in-out infinite;
}
@keyframes pw-cue {
    0% { transform: translateY(0); opacity: 0; }
    30% { opacity: 1; }
    100% { transform: translateY(14px); opacity: 0; }
}
@media (max-width: 699.98px) {
    .landing-hero { display: block; min-height: 0; }
    .pw-hero__media { position: relative; inset: auto; z-index: 0; height: 62svh; min-height: 380px; overflow: hidden; }
    .pw-hero__scrim { background: linear-gradient(0deg, var(--ink) 0%, rgba(11, 13, 12, 0) 38%), linear-gradient(180deg, rgba(11, 13, 12, 0.55) 0%, rgba(11, 13, 12, 0) 24%); }
    .pw-hero__img, .pw-hero__slide img { object-position: 50% 0; transform: none; animation: none; }
    .pw-hero__routes { right: 4%; bottom: 6%; width: 52%; height: 52%; opacity: 0.85; }
    .pw-hero__inner { padding: 0 var(--gutter) 56px; margin-top: -40px; position: relative; }
    .pw-hero__cue { display: none; }
}
@media (min-width: 1100px) {
    .pw-hero__title { max-width: 13.5em; }
}

/* ------------------------------------------------------------------ */
/* 2. Statement                                                         */
/* ------------------------------------------------------------------ */

.pw-statement {
    background: var(--ink);
    color: #fff;
    padding: clamp(110px, 16vw, 220px) var(--gutter);
}
.pw-statement__text {
    max-width: 1100px;
    margin: 0 auto;
    font-size: clamp(1.9rem, 4.6vw, 4rem);
    line-height: 1.12;
    letter-spacing: -0.04em;
    font-weight: 650;
    text-wrap: balance;
}
.js-words .pw-statement__text .w {
    color: rgba(255, 255, 255, 0.16);
    transition: color 0.35s ease;
}
.js-words .pw-statement__text .w.is-lit { color: #fff; }
.js-words .pw-statement__text .w.is-key.is-lit { color: var(--yellow); }
.pw-statement { padding: clamp(80px, 9vw, 120px) var(--gutter); }

/* ------------------------------------------------------------------ */
/* 3. Describe it                                                       */
/* ------------------------------------------------------------------ */

.pw-describe { background: var(--chalk); }
.pw-describe__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(40px, 6vw, 96px);
    align-items: center;
}
.pw-note { margin: 18px 0 0; font-size: 0.95rem; color: var(--mute); }
.pw-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.pw-chip {
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1.5px solid var(--line);
    background: var(--paper);
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.pw-chip:hover { border-color: var(--text); transform: translateY(-1px); }
.pw-chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.pw-demo {
    position: relative;
    padding: clamp(18px, 2.4vw, 28px);
    border-radius: 28px;
    background: var(--ink);
    color: #fff;
    box-shadow: 0 50px 90px -40px rgba(11, 13, 12, 0.55);
}
.pw-demo__prompt {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-height: 76px;
    padding: 16px 18px;
    border-radius: 18px;
    background: var(--ink-3);
    font-size: clamp(0.98rem, 1.3vw, 1.1rem);
    line-height: 1.45;
}
.pw-demo__you {
    flex: none;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--yellow);
    color: var(--yellow-ink);
    font-size: 0.75rem;
    font-weight: 750;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-top: 2px;
}
.pw-demo__caret {
    display: inline-block;
    width: 2px;
    height: 1.1em;
    margin-left: 2px;
    vertical-align: -0.18em;
    background: var(--yellow);
    animation: pw-blink 1s steps(1) infinite;
}
@keyframes pw-blink { 50% { opacity: 0; } }
.pw-demo__stage {
    position: relative;
    margin-top: 14px;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 5 / 4;
    background: #2e7d32;
}
.pw-demo__play {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    transition: opacity 0.45s ease;
}
.pw-demo__play.is-active { opacity: 1; }
.pw-demo__play svg { width: 100%; height: 100%; padding: 6% 6% 64px; }
.pw-demo__name {
    position: absolute;
    left: 14px;
    bottom: 14px;
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(11, 13, 12, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: 0.88rem;
}
.pw-demo__name strong { font-weight: 700; letter-spacing: -0.01em; }
.pw-demo__name span { color: rgba(255, 255, 255, 0.66); }
.pw-demo__note {
    margin: 12px 4px 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}
/* The server renderer's routes, drawn on when a play becomes active. */
.js-demo .pw-demo__play .play-route { transition: none; }
.pw-describe__proof { margin: 56px auto 0; max-width: 900px; }

@media (max-width: 899.98px) {
    .pw-describe__grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------ */
/* 4. Build it                                                          */
/* ------------------------------------------------------------------ */

.pw-build__stage { max-width: 1120px; margin: 0 auto; }
.pw-build__steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 26px 0 0;
    padding: 0;
}
.pw-build__steps li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px 18px;
    border-radius: var(--radius-sm);
    background: var(--ink-2);
    color: rgba(255, 255, 255, 0.55);
    font-weight: 600;
    font-size: 0.98rem;
    overflow: hidden;
    transition: color 0.3s, background-color 0.3s;
}
.pw-build__steps li span {
    display: grid;
    place-items: center;
    flex: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1.5px solid currentColor;
    font-family: var(--font-display);
    font-size: 1.05rem;
}
.pw-build__steps li::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: calc(var(--p, 0) * 100%);
    background: var(--yellow);
}
.pw-build__steps li.is-active { color: #fff; background: var(--ink-3); }
.pw-build__steps li.is-active span { border-color: #fff; color: #fff; }
@media (max-width: 699.98px) {
    .pw-build__steps { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------ */
/* 5. Co-coach scrollytelling                                           */
/* ------------------------------------------------------------------ */

.pw-coach__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: clamp(40px, 6vw, 96px);
}
.pw-coach__sticky {
    position: sticky;
    top: calc(var(--nav-h) + 32px);
    align-self: start;
    display: grid;
}
.pw-coach__media {
    grid-area: 1 / 1;
    opacity: 0;
    transform: scale(0.97);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.pw-coach__media.is-active { opacity: 1; transform: none; }
.pw-coach__steps { padding: 0 0 6vh; }
.pw-step {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0.5;
    transition: opacity 0.5s ease;
}
.pw-step.is-active { opacity: 1; }
.pw-step p { margin: 0; color: var(--mute); font-size: 1.08rem; max-width: 30em; }
.pw-step__num {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.2rem;
}
.pw-step.is-active .pw-step__num { background: var(--green); }
.pw-step__media { display: none; }

@media (max-width: 899.98px) {
    .pw-coach__grid { grid-template-columns: 1fr; }
    .pw-coach__sticky { display: none; }
    .pw-step { min-height: 0; opacity: 1; padding: 0 0 56px; }
    .pw-step:not(:first-child) .pw-step__media { display: none; }
    .pw-step__media {
        display: block;
        margin-top: 24px;
        border-radius: var(--radius-sm);
        overflow: hidden;
        box-shadow: 0 24px 50px -26px rgba(0, 0, 0, 0.5);
    }
}

/* ------------------------------------------------------------------ */
/* 6. Wristband                                                         */
/* ------------------------------------------------------------------ */

.pw-wrist { overflow: hidden; }
.pw-wrist__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(40px, 6vw, 96px);
    align-items: center;
}
.pw-ticks { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 12px; }
.pw-ticks li {
    position: relative;
    padding-left: 30px;
    color: rgba(255, 255, 255, 0.82);
}
.pw-ticks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 16px;
    height: 9px;
    border-left: 2.5px solid rgba(255, 255, 255, 0.85);
    border-bottom: 2.5px solid rgba(255, 255, 255, 0.85);
    transform: rotate(-45deg);
}
.pw-wrist__visual { position: relative; perspective: 1400px; }
.pw-wrist__card {
    position: relative;
    padding: 14px;
    border-radius: 18px;
    background: #fff;
    transform:
        rotateX(calc(var(--tx, 0) * 1deg))
        rotateY(calc(var(--ty, -14) * 1deg))
        rotateZ(-4deg);
    transform-style: preserve-3d;
    transition: transform 0.2s linear;
    box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.pw-wrist__card img { width: 100%; height: auto; border-radius: 6px; }
.pw-wrist__reel {
    position: relative;
    width: 58%;
    margin: -12% 0 0 auto;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 6px solid var(--ink-3);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
    transform: rotateZ(3deg);
}
@media (max-width: 899.98px) {
    .pw-wrist__grid { grid-template-columns: 1fr; }
    .pw-wrist__reel { width: 72%; }
}

/* ------------------------------------------------------------------ */
/* 7. Photo band                                                        */
/* ------------------------------------------------------------------ */

.pw-band {
    position: relative;
    height: clamp(480px, 78vh, 820px);
    overflow: hidden;
    display: grid;
    align-items: end;
    color: #fff;
    background: var(--ink);
}
.pw-band__img { position: absolute; inset: -12% 0; will-change: transform; }
.pw-band__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
@media (max-width: 699.98px) { .pw-band__img img { object-position: 74% 50%; } }
.pw-band__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(11, 13, 12, 0.85) 0%, rgba(11, 13, 12, 0.15) 55%, rgba(11, 13, 12, 0.25) 100%);
}
.pw-band__copy {
    position: relative;
    padding-bottom: clamp(96px, 12vw, 176px);
}
.pw-band__copy .pw-h2 { max-width: 12em; }
.pw-band__line {
    margin: 18px 0 0;
    font-size: clamp(1.1rem, 1.6vw, 1.35rem);
    color: rgba(255, 255, 255, 0.78);
}

/* ------------------------------------------------------------------ */
/* 8. Cards                                                            */
/* ------------------------------------------------------------------ */

.pw-rail { background: var(--chalk); padding-bottom: clamp(88px, 12vw, 168px); }
.pw-cards {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 1.8vw, 24px);
    margin-top: clamp(-120px, -8vw, -64px);
    position: relative;
}
.pw-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
    background: var(--paper);
    overflow: hidden;
    box-shadow: 0 1px 0 var(--line), 0 24px 50px -40px rgba(11, 13, 12, 0.5);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.pw-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(11, 13, 12, 0.45); }
.pw-card__media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e9ebe7;
}
.pw-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 0 0;
    transition: transform 0.8s var(--ease);
}
.pw-card:hover .pw-card__media img { transform: scale(1.04); }
.pw-card__media--reel { display: grid; place-items: center; background: #fafaf7; }
.pw-card__media--reel .pw-reel { height: 100%; aspect-ratio: auto !important; }
.pw-card__media--phone {
    display: grid;
    place-items: end center;
    padding-top: 22px;
    background: linear-gradient(160deg, #1c211e, #0b0d0c);
}
/* A photo card frames its subject, not the top-left corner. */
.pw-card__media--photo img { object-position: 50% 12%; }
.pw-card__media--phone img {
    width: 52%;
    height: auto;
    border-radius: 22px 22px 0 0;
    box-shadow: 0 0 0 6px #2a312d;
}
.pw-card__title { margin: 22px 24px 8px; font-size: 1.2rem; letter-spacing: -0.02em; font-weight: 650; }
.pw-card__body { margin: 0 24px 26px; color: var(--mute); font-size: 0.98rem; }
@media (max-width: 999.98px) { .pw-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639.98px) { .pw-cards { grid-template-columns: 1fr; margin-top: 28px; } }

/* ------------------------------------------------------------------ */
/* 9. Definition (quiet: for search and answer engines)               */
/* ------------------------------------------------------------------ */

.pw-define { background: var(--paper); padding: clamp(56px, 7vw, 96px) 0 0; }
.pw-define__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
    gap: clamp(24px, 5vw, 80px);
}
.pw-define__text { margin: 0; font-size: 1.02rem; line-height: 1.65; color: var(--mute); }
.pw-define__more { grid-column: 2; display: grid; gap: 12px; font-size: 0.95rem; color: var(--mute); }
.pw-define__more p { margin: 0; }
.pw-define__more strong { color: var(--text); }
.pw-define__more a { color: var(--text); }
@media (max-width: 799.98px) {
    .pw-define__inner { grid-template-columns: 1fr; }
    .pw-define__more { grid-column: 1; }
}

/* ------------------------------------------------------------------ */
/* 12. Plans                                                            */
/* ------------------------------------------------------------------ */

.pw-plans { background: var(--chalk); }
.pw-plans .pw-h2 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.04; max-width: 18em; margin: 0 auto; }
.pw-plans__grid {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 1000px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.pw-plan {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 30px 28px;
    border-radius: var(--radius);
    background: var(--paper);
    border: 1.5px solid var(--line);
}
.pw-plan--featured { background: var(--ink); color: #fff; border-color: var(--ink); }
.pw-plan__name { font-weight: 650; font-size: 1.05rem; }
.pw-plan__price {
    font-family: var(--font-display);
    font-size: 3.4rem;
    line-height: 1;
    letter-spacing: 0.01em;
}
.pw-plan__price small { font-family: var(--font-sans); font-size: 0.95rem; font-weight: 500; opacity: 0.6; margin-left: 4px; }
.pw-plan__ai { font-weight: 600; }
.pw-plan__ai--off { color: var(--mute); }
.pw-plan__trial { font-size: 0.9rem; color: var(--mute); }
.pw-plan--featured .pw-plan__trial { color: rgba(255, 255, 255, 0.66); }
.pw-plans__addon { margin: 30px 0 28px; text-align: center; color: var(--mute); }
.pw-plans__addon strong { color: var(--text); }

/* ------------------------------------------------------------------ */
/* 13. FAQ                                                              */
/* ------------------------------------------------------------------ */

.pw-faq {
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
    gap: clamp(24px, 5vw, 80px);
}
.pw-faq__title { font-size: clamp(2rem, 4vw, 3.4rem); position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; }
.pw-faq__item { padding: 26px 0; border-bottom: 1px solid var(--line); }
.pw-faq__item:first-child { padding-top: 0; }
.landing-faq__q { margin: 0 0 10px; font-size: 1.16rem; letter-spacing: -0.02em; font-weight: 650; line-height: 1.3; }
.landing-faq__a { margin: 0; color: var(--mute); }
@media (max-width: 799.98px) {
    .pw-faq { grid-template-columns: 1fr; }
    .pw-faq__title { position: static; }
}

/* ------------------------------------------------------------------ */
/* 14. Close                                                            */
/* ------------------------------------------------------------------ */

.pw-close {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: var(--ink);
    text-align: center;
    isolation: isolate;
}
.pw-close__img { position: absolute; inset: 0; z-index: -2; }
.pw-close__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
/* Lighter than a flat wash so the lit field and players read under the CTAs. */
.pw-close__scrim { position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(11, 13, 12, 0.72) 0%, rgba(11, 13, 12, 0.6) 55%, rgba(11, 13, 12, 0.8) 100%); }
.pw-close__inner {
    max-width: 900px;
    margin: 0 auto;
    padding: clamp(110px, 15vw, 200px) var(--gutter);
}
.pw-close__title {
    margin: 0;
    font-size: clamp(2.6rem, 6.6vw, 6rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
    font-weight: 750;
    text-wrap: balance;
}
.pw-close__lede { margin: 26px auto 0; max-width: 36em; color: rgba(255, 255, 255, 0.78); font-size: 1.12rem; }
.pw-close__actions { justify-content: center; }
.pw-close__fine { margin: 22px 0 0; font-size: 0.92rem; color: rgba(255, 255, 255, 0.62); }
.pw-close__fine strong { color: #fff; }
.pw-close__fine a { color: #fff; }

.pw-credit {
    margin: 0;
    padding: 18px var(--gutter);
    background: var(--ink);
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.8rem;
    text-align: center;
    border-top: 1px solid var(--line-light);
}

/* ------------------------------------------------------------------ */
/* Footer (base.html)                                                   */
/* ------------------------------------------------------------------ */

.app-footer {
    padding: 40px var(--gutter) 48px;
    background: var(--ink);
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
    font-size: 0.86rem;
}
.app-footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-bottom: 18px; }
.app-footer__links a { color: rgba(255, 255, 255, 0.82); text-decoration: none; }
.app-footer__links a:hover { color: #fff; }
.app-footer__copy { margin: 6px auto 0; max-width: 60em; }

/* ------------------------------------------------------------------ */
/* Reveal on scroll (opt-in: home.js adds .pw-motion to <html>)   */
/* ------------------------------------------------------------------ */

.pw-motion [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 34px, 0);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.pw-motion [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .pw-hero__slide.is-active img { animation: none; transform: none; }
    .pw-route { stroke-dashoffset: 0; }
    .pw-arrow { opacity: 1; }
    .pw-hero__cue span { animation: none; }
    .pw-demo__caret { animation: none; }
    *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* ------------------------------------------------------------------ */
/* 5b. Split photo band                                                 */
/* ------------------------------------------------------------------ */
.pw-duo {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    gap: 6px;
    background: var(--ink);
    height: clamp(420px, 54vw, 700px);
}
.pw-duo__cell { margin: 0; overflow: hidden; }
.pw-duo__cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 0;
    transform: scale(1.04);
    transform-origin: 50% 0;
    transition: transform 1.6s var(--ease);
}
.pw-duo__cell.is-visible img { transform: none; }
.pw-duo__cell:not(.pw-duo__cell--narrow) img { object-position: 30% 0; }
@media (max-width: 799.98px) {
    .pw-duo { grid-template-columns: 1fr; height: auto; }
    .pw-duo__cell { height: 70vw; }
    .pw-duo__cell--narrow { height: 110vw; }
}
