/* One Minute Moments — film-roll aesthetic, no framework. */

:root {
    --bg: #16130f;
    --surface: #211d18;
    --surface-2: #2b261f;
    --ink: #f2ece1;
    --ink-muted: #a99e8c;
    --accent: #e8a33d;
    --accent-ink: #1c1611;
    --accent-2: #ff5d7e;
    --accent-3: #3dd6c4;
    --danger: #d96c5f;
    --radius: 10px;
    --mkt-max: 1080px;
    font-size: 16px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    line-height: 1.55;
    /* svh, not vh: mobile 100vh is the browser-chrome-hidden height, so short pages
       overflow, scroll, and bounce the chrome — dragging the fixed tab bar with it. */
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
}

a { color: var(--accent); }
h1, h2, h3 { line-height: 1.2; }
code { word-break: break-all; }

.site-header {
    padding: 0.9rem 1.2rem;
    border-bottom: 1px solid var(--surface-2);
}

.wordmark {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--ink);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.wordmark-mark {
    width: 1.5em;
    height: 1.5em;
}

.container {
    flex: 1;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 1.5rem 1.2rem 3rem;
}

.site-footer {
    padding: 1rem 1.2rem;
    border-top: 1px solid var(--surface-2);
    color: var(--ink-muted);
    font-size: 0.85rem;
}
.site-footer a { color: var(--ink-muted); }

.muted { color: var(--ink-muted); }
.hint { color: var(--ink-muted); font-size: 0.85rem; margin: 0.25rem 0 1rem; }
.warn-text { color: var(--danger); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.55rem 1.1rem;
    border-radius: var(--radius);
    border: 1px solid var(--surface-2);
    background: var(--surface);
    color: var(--ink);
    font: inherit;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}
.btn-primary {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--accent-ink);
    font-weight: 700;
}
.btn-big { padding: 0.85rem 1.8rem; font-size: 1.1rem; }
.btn:disabled { opacity: 0.5; cursor: default; }
.btn-danger {
    background: var(--danger);
    border-color: var(--danger);
    color: var(--accent-ink);
    font-weight: 700;
}

/* Lede paragraph: Timeline empty state and the marketing heroes. */
.lede { color: var(--ink-muted); max-width: 34rem; margin: 0 auto 1.8rem; font-size: 1.1rem; }

/* Forms */
.form-page { max-width: 30rem; }
form label { display: block; margin: 1rem 0 0.3rem; font-weight: 600; }
form label.check,
form label.radio { font-weight: 400; }
form label.check { margin-top: 1rem; }
form input[type="text"],
form input[type="number"],
form input[type="datetime-local"],
form select {
    width: 100%;
    padding: 0.55rem 0.7rem;
    border-radius: var(--radius);
    border: 1px solid var(--surface-2);
    background: var(--surface);
    color: var(--ink);
    font: inherit;
}
form button[type="submit"] { margin-top: 1.4rem; }

/* Quick picks: one-tap preset buttons under a datetime-local field. The bar
   is filled by JS and collapses when empty (no JS). Buttons are .btn pills. */
.quick-picks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.45rem;
}
.quick-picks:empty { display: none; }
.quick-pick {
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.85rem;
}
.quick-pick:hover { border-color: var(--ink-muted); }
.validation-summary ul { color: var(--danger); padding-left: 1.2rem; }

/* Radio group: exclusive choices stacked one per row. A sub-field holds the
   input a choice reveals, indented under the options. */
.radio-group { border: 0; padding: 0; margin: 1.2rem 0 0; }
.radio-group legend { font-weight: 600; padding: 0; }
form label.radio { display: flex; align-items: center; gap: 0.5rem; margin: 0.5rem 0 0; }
.sub-field { margin-left: 1.6rem; }

/* Inline field validation: errors sit under the field they describe, and the
   field itself reddens while aria-invalid. Empty error spans collapse so the
   layout doesn't jump when a message clears. */
.field-error {
    display: block;
    color: var(--danger);
    font-size: 0.85rem;
    margin-top: 0.3rem;
}
.field-error:empty { display: none; }
form input[aria-invalid="true"],
form select[aria-invalid="true"] { border-color: var(--danger); }

/* Cards & notices */
.card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 1.2rem;
    margin: 1rem 0;
}
.card.warn { border: 1px solid var(--accent); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.notice { text-align: center; padding: 3rem 0; }
.copyable {
    display: block;
    background: var(--surface-2);
    padding: 0.6rem 0.8rem;
    border-radius: var(--radius);
    font-size: 0.85rem;
    margin: 0.4rem 0 1rem;
    user-select: all;
}
.qr { width: 220px; max-width: 100%; border-radius: var(--radius); background: #fff; padding: 8px; }

.badge {
    display: inline-block;
    vertical-align: middle;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--surface-2);
    color: var(--ink-muted);
    border-radius: 999px;
    padding: 0.2rem 0.6rem;
    margin-left: 0.5rem;
}
.badge.dev { background: var(--danger); color: var(--accent-ink); }

/* Viewfinder */
.viewfinder { text-align: center; max-width: 26rem; margin: 0 auto; }
.roll-title { font-size: 1.3rem; }

.exposure-line {
    color: var(--ink-muted);
    font-size: 0.9rem;
    margin: 0.2rem 0 0.8rem;
}
.exposure-line strong {
    color: var(--accent);
    font-variant-numeric: tabular-nums;
}

.shutter {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    margin: 2rem 0 0.5rem;
}
.shutter.disabled { opacity: 0.4; pointer-events: none; }
.shutter-ring {
    display: grid;
    place-items: center;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    border: 4px solid var(--ink);
}
.shutter-button {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--accent);
}
.shutter:active .shutter-button { transform: scale(0.92); }

/* Shot review (shoot → review + filter → submit): fullscreen takeover so the
   photo gets the screen — the page behind, tab bar included, stays put and
   scroll-locked. */
.review {
    position: fixed;
    inset: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    padding: 0.8rem 0.8rem calc(0.8rem + env(safe-area-inset-bottom));
}
.review[hidden] { display: none; }
body.reviewing { overflow: hidden; }
.review-img {
    flex: 1;
    min-height: 0;
    width: 100%;
    object-fit: contain;
    background: #000;
    border-radius: var(--radius);
}
.filter-chips {
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    padding: 0.7rem 0 0.2rem;
    scrollbar-width: none;
}
.filter-chips::-webkit-scrollbar { display: none; }
.filter-chip {
    flex: 0 0 auto;
    padding: 2px;
    border: 2px solid transparent;
    border-radius: var(--radius);
    background: none;
    color: var(--ink-muted);
    font: inherit;
    font-size: 0.75rem;
    cursor: pointer;
}
.filter-chip img {
    display: block;
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: calc(var(--radius) - 4px);
}
.filter-chip span { display: block; padding-top: 0.2rem; }
.filter-chip[aria-pressed="true"] {
    border-color: var(--accent);
    color: var(--ink);
}
.review-actions {
    display: flex;
    gap: 0.6rem;
    padding-top: 0.7rem;
}
.review-actions .btn {
    flex: 1;
    padding: 0.8rem;
}

.upload-status { min-height: 1.5rem; margin: 0.5rem 0; }
.upload-status.error { color: var(--danger); }
.upload-status.ok { color: var(--accent); }

/* Sent shots: a quiet strip, not a gallery — the Mine page is the gallery. */
.thumbs {
    display: flex;
    gap: 0.4rem;
    overflow-x: auto;
    margin-top: 1.5rem;
    padding-bottom: 0.3rem;
    scrollbar-width: none;
}
.thumbs::-webkit-scrollbar { display: none; }
.thumbs img {
    width: 52px;
    height: 52px;
    flex: 0 0 auto;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid #fff;
}
.mine-link { font-size: 0.85rem; margin-top: 0.2rem; }

/* The self-ad footnote on the guest surfaces — deliberately quiet so it never
   competes with joining or shooting. */
.own-roll {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--ink-muted);
}
.own-roll a { color: var(--ink-muted); text-decoration: underline; }

/* Prints (Timeline / Darkroom / Mine) — photos render as prints with a thin
   white border (§4.4); reaction stickers land on that border in M4. */
.print-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
    margin: 1rem 0 2rem;
}
.print {
    position: relative;
    margin: 0;
    background: #fff;
    padding: 6px 6px 14px;
    border-radius: 3px;
    transform: rotate(-0.4deg);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}
.print:nth-child(2n) { transform: rotate(0.5deg); }
.print:nth-child(3n) { transform: rotate(-0.2deg); }
.print img { width: 100%; display: block; aspect-ratio: 4 / 3; object-fit: cover; }
.print figcaption {
    color: #4a4137;
    font-size: 0.72rem;
    padding-top: 4px;
    text-align: center;
}

/* Host moderation overlay on a print: Delete on every shot, plus Approve on those
   still awaiting the host (§4.3). Awaiting-approval shots are dimmed and ringed. */
.print.pending {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
.print.pending img { opacity: 0.6; }
.print .controls {
    position: absolute;
    inset: 6px 6px auto 6px;
    display: flex;
    gap: 6px;
}
.print .controls button {
    flex: 1;
    border: none;
    border-radius: 4px;
    padding: 6px 4px;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
}
.print .controls button:disabled { opacity: 0.5; cursor: default; }
.print .mod-approve { background: var(--accent); color: var(--accent-ink); }
.print .mod-delete { background: var(--danger); color: var(--accent-ink); }

.hour-label {
    font-size: 0.9rem;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-bottom: 1px solid var(--surface-2);
    padding-bottom: 0.3rem;
    margin-top: 2rem;
}

/* Countdown */
.countdown { text-align: center; padding: 3rem 0; }
.countdown-clock {
    font-size: clamp(2.4rem, 9vw, 4.5rem);
    font-weight: 800;
    color: var(--accent);
    font-variant-numeric: tabular-nums;
    margin: 1.2rem 0;
}

/* Darkroom */
.controls { display: flex; gap: 0.6rem; flex-wrap: wrap; margin: 0.8rem 0; }
.controls form { display: inline; }

.export-parts { list-style: none; padding: 0; margin: 0.8rem 0 0; display: flex; flex-direction: column; gap: 0.5rem; }
.export-parts a { align-self: flex-start; }

.recover-rolls { list-style: none; padding: 0; margin: 0.8rem 0 0; display: flex; flex-direction: column; gap: 0.6rem; }
.recover-rolls li { display: flex; align-items: center; gap: 0.5rem; }

.prose { max-width: 40rem; }

/* The Wall (venue projector) */
body.wall {
    background: #000;
    cursor: none;
    overflow: hidden;
}
.wall-stage img {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    object-fit: contain;
    opacity: 0;
    transition: opacity 1.4s ease;
}
.wall-stage img.visible {
    opacity: 1;
    animation: wall-zoom 18s ease-in-out infinite alternate;
}
@keyframes wall-zoom {
    from { transform: scale(1); }
    to { transform: scale(1.05); }
}
#wall-caption {
    position: fixed;
    bottom: 4vh;
    right: 4vw;
    color: #fff;
    font-size: 2.4vh;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    opacity: 0.85;
}
#wall-empty {
    position: fixed;
    inset: 0;
    display: grid;
    place-content: center;
    text-align: center;
    color: var(--ink-muted);
}
#wall-empty h1 { color: var(--ink); }
/* The explicit display above would otherwise beat the [hidden] UA default. */
#wall-empty[hidden] { display: none; }

/* Demo Wall (/demos/wall): watched on a laptop, not a projector, so keep the cursor.
   Simulated arrivals settle in with a quick zoom before the usual slow drift. */
body.wall.demo { cursor: default; }
.wall-stage img.visible.arrive {
    animation: wall-arrive 1.2s ease, wall-zoom 18s ease-in-out 1.2s infinite alternate;
}
@keyframes wall-arrive {
    from { transform: scale(1.12); }
    to { transform: scale(1); }
}
#demo-banner {
    position: fixed;
    top: 3vh;
    left: 3vw;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 1.8vh;
    font-weight: 600;
    text-decoration: none;
    opacity: 0.85;
}
#demo-banner:hover { opacity: 1; }

.badge.live {
    background: var(--danger);
    color: #fff;
    animation: live-pulse 2s ease-in-out infinite;
}
@keyframes live-pulse {
    50% { opacity: 0.6; }
}

/* Darkroom (phase-aware) */
.roll-hero { margin-bottom: 1rem; }
.roll-hero .stats { font-size: 1.05rem; margin: 0.4rem 0; }
.hero-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.8rem; }
.hero-actions form { display: inline; }

.phase-strip {
    display: flex;
    gap: 0.4rem;
    list-style: none;
    padding: 0;
    margin: 0.8rem 0 0.4rem;
}
.phase-strip li {
    flex: 1;
    text-align: center;
    font-size: 0.68rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--ink-muted);
    padding-top: 0.45rem;
    border-top: 3px solid var(--surface-2);
}
.phase-strip li.done { border-top-color: var(--accent); }
.phase-strip li.current {
    border-top-color: var(--accent);
    color: var(--accent);
    font-weight: 700;
}

.banner {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    justify-content: space-between;
    background: var(--surface);
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    padding: 0.8rem 1rem;
    margin: 1rem 0;
}
.banner.warn { border-color: var(--danger); }

.section {
    background: var(--surface);
    border-radius: var(--radius);
    margin: 0.8rem 0;
}
.section-title {
    margin: 0;
    padding: 0.9rem 1.2rem 0.4rem;
    font-size: 1rem;
    font-weight: 600;
}
.section .section-body { padding: 0 1.2rem 1.2rem; }

.grid-section { margin-top: 1.5rem; }

/* Fixed bottom tab bar (Darkroom sections + guest navigation), all screen sizes. */
.tab-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    overflow-x: auto;
    scrollbar-width: none;
    background: var(--surface);
    border-top: 1px solid var(--surface-2);
    padding-bottom: env(safe-area-inset-bottom);
    z-index: 10;
}
.tab-bar::-webkit-scrollbar { display: none; }
.tab-bar a {
    flex-shrink: 0;
    padding: 0.8rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink-muted);
    text-decoration: none;
    border-top: 3px solid transparent;
}
.tab-bar a.active {
    color: var(--accent);
    border-top-color: var(--accent);
}
.tab-bar a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
}
/* Keep page content clear of the fixed bar. The layout footer would sit exactly
   under it, so those pages hide it and carry _PolicyLinks in their content instead. */
body:has(.tab-bar) { padding-bottom: calc(3.5rem + env(safe-area-inset-bottom)); }
body:has(.tab-bar) .site-footer { display: none; }
.policy-links {
    color: var(--ink-muted);
    font-size: 0.8rem;
    margin: 1.5rem 0 0.5rem;
}
.policy-links a { color: var(--ink-muted); }

.inline-form { margin: 0.8rem 0; }
.inline-form label { display: block; margin-bottom: 0.3rem; }
.inline-form input[type="datetime-local"] { width: auto; margin-right: 0.5rem; }

dialog.develop-dialog {
    background: var(--surface);
    color: var(--ink);
    border: 1px solid var(--surface-2);
    border-radius: var(--radius);
    padding: 1.6rem;
    max-width: 24rem;
}
dialog.develop-dialog::backdrop { background: rgba(0, 0, 0, 0.65); }
dialog.develop-dialog .big { font-size: 1.15rem; }
.dialog-actions { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.dialog-actions form { display: inline; }

dialog.confirm-dialog {
    background: var(--surface);
    color: var(--ink);
    border: 1px solid var(--surface-2);
    border-radius: var(--radius);
    padding: 1.6rem;
    max-width: 22rem;
}
dialog.confirm-dialog::backdrop { background: rgba(0, 0, 0, 0.65); }
dialog.confirm-dialog p { margin: 0; }

/* =====================================================================
   Marketing landing — app-energy aesthetic layered on the film system.
   Scoped to body.landing and the mkt-/band classes so in-app pages are untouched.
   ===================================================================== */

/* Fraunces — a soft, slightly wonky display serif (self-hosted variable
   woff2, latin + latin-ext). Display headings only; body stays system-ui. */
@font-face {
    font-family: "Fraunces";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("/fonts/fraunces-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Fraunces";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("/fonts/fraunces-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root { --font-display: "Fraunces", Georgia, "Times New Roman", serif; }

/* Apply the display serif to landing headings and the wordmark. */
.landing .wordmark,
.hero h1,
.band-title,
.big-statement,
.band-final h2 {
    font-family: var(--font-display);
    font-optical-sizing: auto;
    font-weight: 600;
    letter-spacing: -0.015em;
}
/* A touch of softness + wonk on the headline gives playful-but-mature character. */
.hero h1 { font-variation-settings: "SOFT" 40, "WONK" 1; }
.landing .wordmark { font-weight: 600; letter-spacing: 0; }

.btn-ghost {
    background: transparent;
    border-color: var(--ink-muted);
    color: var(--ink);
}
.btn-ghost:hover { border-color: var(--ink); }

body.landing { background: var(--bg); position: relative; }
body.landing main { width: 100%; }

/* Hero bloom: full-bleed so the gradients never show a seam at the
   content-column edges on wide screens. */
body.landing::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: min(48rem, 110vh);
    background: radial-gradient(45% 60% at 30% 25%, rgba(232, 163, 61, 0.14), transparent 70%),
                radial-gradient(38% 50% at 78% 12%, rgba(255, 93, 126, 0.14), transparent 70%);
    pointer-events: none;
}

/* Film-grain wash over the whole page — inline SVG noise, no external request. */
.grain {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.06;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Header: transparent over the hero, solid film-surface once scrolled. */
.mkt-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem clamp(1.2rem, 4vw, 3rem);
    transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
    border-bottom: 1px solid transparent;
}
.mkt-header.scrolled {
    background: rgba(22, 19, 15, 0.82);
    backdrop-filter: blur(10px);
    border-bottom-color: var(--surface-2);
}
/* Neither the wordmark nor the CTA may wrap: the wordmark gives up width first
   (its logo mark stays put), and the button keeps its full label at every width. */
.mkt-header .wordmark { font-size: clamp(0.78rem, 3.2vw, 1.05rem); min-width: 0; overflow: hidden; }
.mkt-header .wordmark-mark { flex: none; }
.mkt-cta { padding: 0.45rem 1rem; flex: none; }

/* Bands: full-bleed sections with a centered inner column. */
.band, .hero, .mkt-footer-inner {
    position: relative;
    z-index: 2;
    max-width: var(--mkt-max);
    margin: 0 auto;
    padding: clamp(3rem, 8vw, 6rem) clamp(1.2rem, 4vw, 3rem);
}
.band-title { font-size: clamp(1.6rem, 4vw, 2.4rem); margin: 0 0 0.6rem; letter-spacing: -0.01em; }
.band-lede { font-size: 1.1rem; margin: 0 0 2rem; }
/* Symmetric card-grid bands center their header; the cards stay left-aligned. */
.band-center > .band-title, .band-center > .band-lede { text-align: center; }
.band-center > .band-lede { margin-inline: auto; max-width: 44rem; }
.band-center > .band-title { margin-inline: auto; max-width: 26ch; }
.band-center > .band-title + :is(.steps, .pillars, .features, .usecases, .faq) { margin-top: 2rem; }
/* A band that only spaces its content horizontally (the pillar strip under the hero). */
.band-tight { padding-top: 0; padding-bottom: 0; }
.eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}

/* Amber→flash-pink highlight, the through-line that ties marketing to the app. */
.hl {
    background: linear-gradient(100deg, var(--accent) 10%, var(--accent-2) 90%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--accent-2);
}

/* Hero: copy + a fanned stack of floating prints. */
.hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: clamp(1.5rem, 5vw, 4rem);
    padding-top: clamp(2.5rem, 7vw, 5rem);
}
.hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); margin: 0 0 1.1rem; letter-spacing: -0.02em; }
.hero .lede { color: var(--ink-muted); font-size: 1.15rem; max-width: 32rem; margin: 0 0 1.8rem; }
.landing .hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.trust {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    padding: 0;
    margin: 1.8rem 0 0;
    color: var(--ink-muted);
    font-size: 0.9rem;
}
.trust li { display: flex; align-items: center; gap: 0.4rem; }
.trust li::before { content: "✓"; color: var(--accent-3); font-weight: 700; }

.hero-stack {
    position: relative;
    min-height: 360px;
    display: grid;
    place-items: center;
}
.hero-stack .print { position: absolute; width: 58%; }
/* Scoped under .hero-stack so the fan-out transforms outrank the generic
   .print:nth-child() jitter, which would otherwise pile the prints up. */
.hero-stack .float-a { transform: rotate(-7deg) translate(-32%, -6%); z-index: 1; }
.hero-stack .float-b { transform: rotate(3deg) translate(28%, -14%); z-index: 2; }
.hero-stack .float-c { transform: rotate(-2deg) translate(2%, 22%); z-index: 3; }
@media (prefers-reduced-motion: no-preference) {
    .float-a { animation: bob 7s ease-in-out infinite; }
    .float-b { animation: bob 8s ease-in-out infinite 0.6s; }
    .float-c { animation: bob 6.5s ease-in-out infinite 0.3s; }
}
@keyframes bob {
    50% { translate: 0 -10px; }
}

/* Use-case pages: the same fanned-print hero, sized for longer headlines,
   and a tighter band rhythm since every section is short. */
.hero-sub h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.hero-sub .lede { max-width: 36rem; }
.hero-sub .hero-stack { min-height: 320px; }
.landing-sub .band { padding-top: clamp(2.5rem, 6vw, 4rem); padding-bottom: clamp(2.5rem, 6vw, 4rem); }

/* Feeling beat: one big line that sells the problem. */
.band-feeling { text-align: center; }
.big-statement {
    font-size: clamp(1.6rem, 4.5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
    max-width: 22ch;
    margin: 0 auto 1rem;
}
.big-sub { font-size: 1.1rem; max-width: 40rem; margin: 0 auto; }

/* Steps */
.steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
}
.step-card {
    background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
    border: 1px solid var(--surface-2);
    border-radius: 16px;
    padding: 1.4rem;
}
.step-num {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.7rem;
}
.step-card h3 { margin: 0 0 0.4rem; font-size: 1.15rem; }
.step-card p { margin: 0; color: var(--ink-muted); }

/* How it works: the guest track and the host track run side by side, split by a
   strip of film perforations. Teal marks the guest side, amber the host side.
   Both tracks share the outer grid's rows through subgrid, so step 1 of one track
   is always the same height as step 1 of the other however the copy wraps. */
.how-split {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto repeat(3, auto);
    column-gap: clamp(1rem, 3vw, 2rem);
    row-gap: 1rem;
    margin-top: 2rem;
}
.how-track {
    display: grid;
    grid-row: span 4;
    grid-template-rows: subgrid;
    row-gap: 1rem;
}
.how-track-guest { grid-column: 1; }
.how-track-host { grid-column: 3; }
.how-track .eyebrow { display: block; text-align: center; margin-bottom: 0; }
.eyebrow-guest { color: var(--accent-3); }
.eyebrow-host { color: var(--accent); }
.steps-track {
    grid-row: span 3;
    grid-template-columns: 1fr;
    grid-template-rows: subgrid;
    row-gap: 1rem;
}
.how-track-guest .step-num { color: var(--accent-3); }
.how-track-host .step-num { color: var(--accent); }

.how-divider {
    grid-column: 2;
    grid-row: 1 / -1;
    width: 3px;
    align-self: stretch;
    background-image: radial-gradient(circle, var(--surface-2) 3px, transparent 3.5px);
    background-size: 3px 22px;
    background-repeat: repeat-y;
    background-position: center;
}

.demo-label { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); }

/* Reveal: the develop stage is centered like the rest of the band. */
.band-reveal { text-align: center; }

/* Card icon: the emoji on pillar, feature, and use-case cards sits centered
   in a fixed tile, so every grid shares one size and left edge. */
.card-icon {
    display: grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    font-size: 1.2rem;
    line-height: 1;
    background: var(--surface-2);
    border: 1px solid rgba(242, 236, 225, 0.08);
    border-radius: 12px;
    margin-bottom: 0.8rem;
}

/* Use cases: each card is a print from the kind of night a roll captures —
   photo on top, emoji and title as the handwritten-style caption. */
.usecases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.4rem;
}
.usecase {
    display: block;
    color: #241e17;
    text-decoration: none;
    background: #f6f1e6;
    border-radius: 4px;
    padding: 0.7rem 0.7rem 1.1rem;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
    transition: transform 0.2s ease;
}
.usecase:nth-child(odd) { transform: rotate(-1.2deg); }
.usecase:nth-child(even) { transform: rotate(1deg); }
.usecase:hover { transform: translateY(-4px); }
.usecase-shot { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; margin-bottom: 0.75rem; }
.usecase h3 { margin: 0 0 0.3rem; font-size: 1.15rem; font-family: var(--font-display); font-weight: 600; }
.usecase .card-icon {
    display: inline-grid;
    width: auto;
    height: auto;
    background: none;
    border: 0;
    font-size: 1.05rem;
    margin: 0 0.2rem 0 0;
    vertical-align: -0.12em;
}
.usecase p { margin: 0; color: rgba(36, 30, 23, 0.68); font-size: 0.95rem; }

/* Why */
.why-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: clamp(1.5rem, 5vw, 3rem);
    align-items: center;
}
.why-copy p { color: var(--ink-muted); font-size: 1.05rem; }
.why-stats { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.why-stats li {
    display: flex;
    align-items: baseline;
    gap: 0.8rem;
    border-left: 3px solid var(--accent-2);
    padding-left: 1rem;
}
.why-stats strong { font-size: 2.4rem; font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; }
.why-stats span { color: var(--ink-muted); }

/* Wall callout */
.wall-callout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 5vw, 3rem);
    align-items: center;
    background: radial-gradient(120% 120% at 80% 0%, rgba(61, 214, 196, 0.12), transparent 60%), var(--surface);
    border: 1px solid var(--surface-2);
    border-radius: 24px;
    padding: clamp(1.5rem, 4vw, 3rem);
}
.wall-copy p { color: var(--ink-muted); font-size: 1.05rem; }
.wall-frame {
    position: relative;
    aspect-ratio: 16 / 10;
    border-radius: 14px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 0 6px #1a1a1a;
}
.wall-shot { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.6s ease, transform 0.6s ease; }
.wall-shot.swap { opacity: 0; transform: scale(1.04); }
.wall-live {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #fff;
    background: rgba(217, 108, 95, 0.85);
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
}

/* Trust: the privacy promises, one claim per line, keyed off the teal accent. */
.band-trust > .eyebrow { display: block; text-align: center; }
.trust-list {
    list-style: none;
    padding: 0;
    margin: 2rem auto 0;
    max-width: 46rem;
    display: grid;
    gap: 1rem;
}
.trust-list li {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    border-left: 3px solid var(--accent-3);
    padding-left: 1rem;
}
.trust-list strong { font-size: 1.02rem; }
.trust-list span { color: var(--ink-muted); font-size: 0.95rem; }

/* FAQ */
.faq { display: grid; gap: 0.6rem; max-width: 46rem; margin-inline: auto; }
.faq details {
    background: var(--surface);
    border: 1px solid var(--surface-2);
    border-radius: 12px;
    padding: 0 1.2rem;
}
.faq summary { cursor: pointer; font-weight: 600; padding: 1rem 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--accent); font-weight: 700; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 1rem; color: var(--ink-muted); }

/* Final CTA */
.band-final {
    text-align: center;
    background: radial-gradient(80% 120% at 50% 0%, rgba(255, 93, 126, 0.14), transparent 70%);
}
.band-final h2 { font-size: clamp(1.8rem, 5vw, 3rem); margin: 0 0 1.5rem; letter-spacing: -0.01em; }
.final-note { margin-top: 1rem; font-size: 0.9rem; }

/* Footer */
.mkt-footer { border-top: 1px solid var(--surface-2); position: relative; z-index: 2; }
/* The brand block takes a fixed share and the link columns take the rest, so the
   columns spread across the remaining width instead of bunching up on the right. */
.mkt-footer-inner {
    display: grid;
    grid-template-columns: minmax(12rem, 20rem) 1fr;
    align-items: start;
    gap: 2rem 3rem;
    padding-top: 2.4rem;
    padding-bottom: 2.4rem;
    color: var(--ink-muted);
    font-size: 0.9rem;
}
.mkt-footer a { color: var(--ink-muted); }
.mkt-footer-brand { display: grid; gap: 0.5rem; }
.mkt-footer-tag { margin: 0; }
.mkt-footer-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
    gap: 1.4rem 2.4rem;
}
.mkt-footer-col h2 {
    margin: 0 0 0.6rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink);
}
.mkt-footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.mkt-footer-col a { text-decoration: none; }
.mkt-footer-col a:hover { color: var(--ink); }

/* Scroll-reveal. Bands rise; prints fade only, so their fan-out/rotation
   transforms survive (the generic transform reset would otherwise flatten them). */
.reveal { opacity: 0; transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; }
.band.reveal { transform: translateY(24px); }
.band.reveal.in { transform: none; }

.hero-subcta { margin: 1.4rem 0 0; font-size: 0.92rem; }
.hero-subcta a { color: var(--accent); }

/* Pillars: one strip of film — sprocket holes top and bottom, one frame per
   pillar. Always a single row; a fourth pillar becomes a fourth frame. */
.pillars {
    position: relative;
    list-style: none;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    background: #0e0b08;
    border-radius: 10px;
    padding: 2rem 0.5rem;
    overflow: hidden;
}
.pillars::before,
.pillars::after {
    content: "";
    position: absolute;
    left: 0.6rem;
    right: 0.6rem;
    height: 0.62rem;
    background-image: radial-gradient(closest-side, rgba(242, 236, 225, 0.22) 0 55%, transparent 70%);
    background-size: 1.6rem 0.62rem;
    background-repeat: repeat-x;
}
.pillars::before { top: 0.62rem; }
.pillars::after { bottom: 0.62rem; }
.pillars li {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.5rem 1.5rem;
    border-left: 2px solid rgba(242, 236, 225, 0.09);
}
.pillars li:first-child { border-left: 0; }
.pillars .card-icon {
    display: block;
    width: auto;
    height: auto;
    background: none;
    border: 0;
    font-size: 1.55rem;
    margin-bottom: 0.4rem;
}
.pillars strong { font-size: 1.02rem; }
.pillars span { color: var(--ink-muted); font-size: 0.92rem; }

.steps-note { text-align: center; margin: 1.6rem 0 0; }

/* The reveal: the signature beat. Photos sit "undeveloped" (blurred, dim, amber
   safelight) behind the countdown, then sharpen all at once when it hits zero. */
.develop-stage { max-width: 56rem; margin: 0 auto; }
.develop-meta { text-align: center; margin-bottom: 2rem; }
.develop-meta .countdown-clock { margin: 0.4rem 0 1rem; }
.develop-btn { padding: 0.6rem 1.4rem; }

.develop-wall {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}
.develop-wall .print { width: 100%; transform: none; }
.develop-wall .print:nth-child(2n) { transform: none; }
.develop-wall .print:nth-child(3n) { transform: none; }
.develop-wall .print img {
    transition: filter 1.5s ease, transform 1.5s ease;
}
/* Undeveloped: blurred, darkened, warm — like a print still in the bath. */
.develop-wall.undeveloped .print img {
    filter: blur(14px) brightness(0.45) saturate(0.6) sepia(0.5) hue-rotate(-12deg);
    transform: scale(1.06);
}
/* Cascade the develop so the wall resolves shot by shot. */
.develop-wall .print:nth-child(1) img { transition-delay: 0s; }
.develop-wall .print:nth-child(2) img { transition-delay: 0.12s; }
.develop-wall .print:nth-child(3) img { transition-delay: 0.24s; }
.develop-wall .print:nth-child(4) img { transition-delay: 0.36s; }
.develop-wall .print:nth-child(5) img { transition-delay: 0.48s; }
.develop-wall .print:nth-child(6) img { transition-delay: 0.6s; }
.develop-hint { text-align: center; margin: 1.6rem 0 0; }

/* Feature grid: four cards, 2×2 so no card is orphaned on its own row. The
   emoji is an oversized ghost watermark peeking from the card's corner. */
.features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
}
.features li {
    position: relative;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--surface-2);
    border-radius: 16px;
    padding: 1.6rem 4.5rem 1.6rem 1.4rem;
}
.features .card-icon {
    position: absolute;
    top: -0.7rem;
    right: -0.5rem;
    width: auto;
    height: auto;
    background: none;
    border: 0;
    font-size: 4.6rem;
    line-height: 1;
    opacity: 0.14;
    transform: rotate(10deg);
    margin: 0;
}
.features h3 { margin: 0 0 0.3rem; font-size: 1.1rem; }
.features p { margin: 0; color: var(--ink-muted); font-size: 0.95rem; }

/* Pricing — two one-time tiers; the Wall tier is the featured upgrade. */
.band-pricing { text-align: center; }
.plans {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
    max-width: 44rem;
    margin: 2.2rem auto 0;
    text-align: left;
}
.plan {
    position: relative;
    background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
    border: 1px solid var(--surface-2);
    border-radius: 20px;
    padding: 2rem 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.plan-featured {
    border-color: var(--accent);
    box-shadow: 0 18px 50px rgba(232, 163, 61, 0.18);
}
.plan-badge {
    position: absolute;
    top: -0.8rem;
    left: 1.6rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--accent);
    color: var(--accent-ink);
    border-radius: 999px;
    padding: 0.25rem 0.7rem;
}
.plan-name { margin: 0; font-size: 1.3rem; }
.plan-tag { margin: 0; color: var(--ink-muted); font-size: 0.92rem; }
.plan-price { margin: 0.6rem 0 0.4rem; }
.price-pill {
    display: inline-block;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
    color: var(--accent);
    background: var(--surface);
    border: 1px solid var(--accent);
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
}
.plan-features { list-style: none; padding: 0; margin: 0.6rem 0 1.4rem; display: grid; gap: 0.55rem; }
.plan-features li { padding-left: 1.5rem; position: relative; color: var(--ink-muted); }
.plan-features li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-3); font-weight: 700; }
.plan-features strong { color: var(--ink); }
.plan .btn { margin-top: auto; text-align: center; }
.plan-demo { margin: 0.8rem 0 0; text-align: center; font-size: 0.9rem; }
.plan-demo a { color: var(--accent-3); }
.pricing-note { margin: 1.8rem 0 0; font-size: 0.9rem; }

/* Checkout: shots-per-guest picker and the live guest-count highlight. */
.film-length { border: 0; margin: 0 0 1.4rem; padding: 0; display: flex; flex-wrap: wrap;
    gap: 0.5rem; justify-content: center; align-items: center; }
.film-length legend { float: left; width: 100%; margin-bottom: 0.5rem; color: var(--ink-muted);
    font-size: 0.92rem; }
.film-length label { border: 1px solid var(--surface-2); border-radius: 999px; padding: 0.35rem 0.9rem;
    cursor: pointer; }
.film-length label:has(input:checked) { border-color: var(--accent-3); color: var(--ink); font-weight: 600; }
.film-length input { margin-right: 0.35rem; }

@media (max-width: 760px) {
    .hero { grid-template-columns: 1fr; }
    .hero-stack { order: -1; min-height: 300px; }
    .why-grid, .wall-callout { grid-template-columns: 1fr; }
    .wall-frame { order: -1; }
    .pillars, .features { grid-template-columns: 1fr; }
    .pillars li { padding: 0.9rem 1rem; border-left: 0; border-top: 2px solid rgba(242, 236, 225, 0.09); }
    .pillars li:first-child { border-top: 0; }
    /* Stacked: the brand block sits above the link columns. */
    .mkt-footer-inner { grid-template-columns: 1fr; }
    /* Narrow screens: tighten the header so the wordmark and the CTA both keep
       their full label on one line. */
    .mkt-header { padding-inline: 0.9rem; gap: 0.6rem; }
    .mkt-cta { padding: 0.4rem 0.8rem; font-size: 0.92rem; }
    .develop-wall { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
    .plans { grid-template-columns: 1fr; }
    /* Stacked: the tracks read one after the other, so they drop the shared rows. */
    .how-split { display: flex; flex-direction: column; }
    .how-track, .steps-track { grid-template-rows: none; }
    .how-track { display: flex; flex-direction: column; }
    .how-divider {
        width: auto;
        height: 3px;
        background-image: radial-gradient(circle, var(--surface-2) 3px, transparent 3.5px);
        background-size: 22px 3px;
        background-repeat: repeat-x;
        background-position: center;
        margin: 0.4rem 0;
    }
}
