/* Hallmark · shape: Workbench (draw 858241, hero swapped to Stage) · genre: modern-minimal · theme: brand · redesign: full
 * paper: oklch(99% 0.004 262) · accent: oklch(48.8% 0.22 264) · display: Bricolage Grotesque · body: Instrument Sans · hero: Stage · nav: edge-aligned · footer: colophon block · signature: the vidriera a customer sees, shown large beside the offer
 * axes: light/grotesk-heavy/chromatic-blue · posture: accent field at the close · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P3 H4 E4 S4 R4 V4 · weakest: P, the page argues one thing (a real catalogue in ten minutes) but the middle is still a feature list; led the bento with the two real editor screens instead of icons */
/* Hallmark · finish-review: subagent · 8 findings · 4 resolved 1 partial 3 dismissed · gap: only one public-vidriera capture exists, so the customer view is shown once */

/*
 * Vidriera Online launch landing.
 * Self-contained styles. Every rule is scoped by the "vd-" prefix or by .vd-page so the global
 * styles.css rules for body/h1/h2/h3/p cannot leak into this page.
 * Brand blue is the single accent; surfaces are cool white and a pale blue-grey.
 */

/* ---------- Tokens ---------- */
:root {
    --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
    --text-xs: 0.8125rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.25rem; --text-xl: 1.5625rem;
    --text-display-s: clamp(2.25rem, 4vw + 0.5rem, 3.75rem); --text-display: clamp(2.75rem, 5vw + 1rem, 5.25rem);
    --text-section: clamp(2rem, 2.5vw + 1rem, 3.5rem); --text-section-s: clamp(1.875rem, 1.5vw + 1.25rem, 2.75rem); --text-3xl: 2.441rem; --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.625rem); --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.375rem);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
    --container: 1440px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 96px;
    --z-sticky: 200;

    --color-paper: oklch(99% 0.004 262);
    --color-paper-2: oklch(96.5% 0.012 262);
    --color-paper-3: oklch(92% 0.02 262);
    --color-ink: oklch(22% 0.045 265);
    --color-ink-2: oklch(36% 0.04 265);
    --color-muted: oklch(46% 0.03 265);
    --color-rule: oklch(89% 0.016 262);
    --color-accent: oklch(48.8% 0.22 264);
    --color-accent-deep: oklch(42% 0.21 264);
    --color-accent-ink: oklch(99% 0.004 262);
    --color-focus: oklch(48.8% 0.22 264);
    --color-track: oklch(99% 0.004 262 / 0.28);

    --font-display: 'Bricolage Grotesque', 'Instrument Sans', sans-serif;
    --font-body: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --radius-card: 8px;
    --radius-pill: 999px;
    --shadow-card: 0 24px 48px -28px oklch(22% 0.045 265 / 0.4);
    --tracking-display: -0.03em;
}

html {
    overflow-x: clip;
    scrollbar-color: var(--color-paper-3) var(--color-paper);
}

.vd-page ::selection {
    background: var(--color-accent);
    color: var(--color-accent-ink);
}

.vd-page {
    padding-top: 0;
    position: relative;
    overflow-x: clip;
    color: var(--color-ink);
    background-color: var(--color-paper);
    font-family: var(--font-body);
    font-size: var(--text-md);
    font-weight: 400;
    line-height: 1.6;
}

/* ---------- Base ---------- */
.vd-page *,
.vd-page *::before,
.vd-page *::after {
    box-sizing: border-box;
}

.vd-page img {
    display: block;
    max-width: 100%;
    height: auto;
}

.vd-page a {
    color: inherit;
    text-decoration: none;
}

:where(.vd-page) :is(h1, h2, h3) {
    margin: 0;
    min-width: 0;
    overflow-wrap: break-word;
    color: var(--color-ink);
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: var(--tracking-display);
    text-wrap: balance;
}

:where(.vd-page) p {
    margin: 0;
    color: var(--color-muted);
    font-size: var(--text-md);
    text-wrap: pretty;
}

:where(.vd-page) :is(ul, ol) {
    margin: 0;
    padding: 0;
    list-style: none;
}

.vd-page :focus-visible {
    outline: 3px solid var(--color-focus);
    outline-offset: 3px;
}

.vd-container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

/* ---------- Buttons ---------- */
.vd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 var(--space-lg);
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: var(--text-md);
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out);
}

.vd-btn-primary {
    background: var(--color-accent);
    color: var(--color-accent-ink) !important;
}

.vd-btn-primary:hover {
    background: var(--color-accent-deep);
}

.vd-btn-primary:active {
    transform: translateY(1px);
}

.vd-btn-sm {
    min-height: 44px;
    padding: 0 var(--space-lg);
    font-size: var(--text-sm);
}

.vd-btn-lg {
    min-height: 52px;
    padding: 0 var(--space-xl);
}

.vd-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-weight: 600;
    white-space: nowrap;
}

.vd-link:hover {
    color: var(--color-accent);
}

/* ---------- Header ---------- */
.vd-header {
    position: relative;
    z-index: var(--z-sticky);
    border-bottom: 1px solid var(--color-rule);
    background: var(--color-paper);
}

.vd-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
}

.vd-logo img {
    width: 74px;
    height: auto;
}

.vd-header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

/* ---------- Hero (Stage) ---------- */
.vd-hero {
    display: grid;
    align-items: center;
    min-height: calc(100dvh - 73px);
    padding-block: var(--space-2xl) var(--space-xl);
}

.vd-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: var(--space-2xl);
    align-items: center;
}

.vd-hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.vd-hero h1 {
    font-size: var(--text-display-s);
    line-height: 1.05;
}

.vd-h1-main,
.vd-h1-offer {
    display: block;
}

.vd-h1-offer {
    margin-top: var(--space-lg);
    font-size: 0.5em;
    line-height: 1.2;
    text-decoration: underline;
    text-decoration-color: var(--color-accent);
    text-decoration-thickness: 0.12em;
    text-underline-offset: 0.2em;
}

.vd-hero-sub {
    max-width: 28em;
    margin-top: var(--space-lg);
    margin-bottom: var(--space-xl);
    color: var(--color-ink-2);
    font-size: var(--text-lg);
    line-height: 1.55;
}

.vd-friction {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs) var(--space-lg);
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-rule);
}

.vd-friction li {
    color: var(--color-ink-2);
    font-size: var(--text-sm);
    font-weight: 600;
}

.vd-hero-visual {
    margin: 0;
    min-width: 0;
}

.vd-hero-visual img {
    width: 100%;
    max-width: none;
    border: 1px solid var(--color-rule);
    border-radius: var(--radius-card);
    background: var(--color-paper);
    box-shadow: var(--shadow-card);
}

/* ---------- Sections ---------- */
.vd-section {
    padding-block: var(--section-gap-s);
}

.vd-heading {
    margin-bottom: var(--space-xl);
}

.vd-heading h2 {
    max-width: 16em;
    font-size: var(--text-section);
    line-height: 1.08;
}

.vd-heading-s h2 {
    font-size: var(--text-section-s);
}

.vd-band {
    background: var(--color-paper-2);
}

.vd-steps-section {
    padding-block: var(--space-3xl);
}

/* ---------- Features: two real screens with their captions, then two plain moments ---------- */
.vd-shots {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--space-xl) var(--gap-columns);
}

.vd-shot {
    grid-column: 1 / span 5;
    min-width: 0;
    margin: 0;
}

.vd-shot-wide {
    grid-column: 6 / span 7;
}

.vd-shot img {
    width: 100%;
    height: auto;
    aspect-ratio: 1.38;
    object-fit: cover;
    object-position: top center;
    border: 1px solid var(--color-rule);
    border-radius: var(--radius-card);
    background: var(--color-paper);
    box-shadow: var(--shadow-card);
}

.vd-shot-wide img {
    aspect-ratio: 1856 / 944;
}

.vd-shot figcaption {
    margin-top: var(--space-lg);
}

.vd-shot h3 {
    margin-bottom: var(--space-sm);
    font-size: var(--text-title);
    line-height: 1.2;
}

.vd-moments h3 {
    margin-bottom: var(--space-xs);
    font-size: var(--text-lg);
    line-height: 1.25;
}

.vd-shot p,
.vd-moments p {
    max-width: 28em;
}

.vd-moments {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-xl) var(--gap-columns);
    margin-top: var(--space-xl);
}

.vd-moments li {
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-rule);
}

/* ---------- Steps ---------- */
.vd-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-xl) var(--gap-columns);
    counter-reset: vd-step;
}

.vd-step {
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-ink);
    counter-increment: vd-step;
}

.vd-step::before {
    content: counter(vd-step);
    display: block;
    margin-bottom: var(--space-md);
    color: var(--color-ink);
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 700;
    line-height: 1;
}

.vd-step h3 {
    margin-bottom: var(--space-sm);
    font-size: var(--text-title);
    line-height: 1.2;
}

.vd-step p {
    max-width: 24em;
}

/* ---------- FAQ (Rows) ---------- */
.vd-faq-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--space-xl) var(--gap-columns);
    align-items: start;
}

.vd-faq-grid .vd-heading {
    grid-column: 1 / span 4;
    margin-bottom: 0;
}

.vd-faq-list {
    grid-column: 5 / span 8;
    border-bottom: 1px solid var(--color-rule);
}

.vd-faq {
    border-top: 1px solid var(--color-rule);
}

.vd-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    min-height: 72px;
    padding: var(--space-lg) 0;
    color: var(--color-ink);
    font-size: var(--text-title);
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
    list-style: none;
}

.vd-faq summary::-webkit-details-marker {
    display: none;
}

.vd-faq summary i {
    flex-shrink: 0;
    color: var(--color-accent);
    font-size: var(--text-sm);
    transition: transform var(--dur-short) var(--ease-out);
}

.vd-faq[open] summary i {
    transform: rotate(180deg);
}

.vd-faq p {
    max-width: 38em;
    padding-bottom: var(--space-lg);
    font-size: var(--text-md);
    line-height: 1.7;
}

/* ---------- Final CTA (accent field) ---------- */
.vd-final {
    padding-block: var(--section-gap-s);
    background: var(--color-accent);
}

.vd-final :focus-visible {
    outline-color: var(--color-accent-ink);
}

.vd-final-content {
    display: grid;
    grid-template-columns: minmax(0, 8fr) auto;
    gap: var(--space-xl) var(--gap-columns);
    align-items: center;
}

.vd-final h2 {
    color: var(--color-accent-ink);
    font-size: var(--text-section);
    line-height: 1.08;
}

.vd-final p {
    color: var(--color-accent-ink);
}

.vd-final-copy > p:first-of-type {
    max-width: 34em;
    margin-top: var(--space-md);
    font-size: var(--text-lead);
    line-height: 1.5;
}

.vd-final .vd-meter-static,
.vd-final .vd-meter p {
    margin-top: var(--space-md);
    font-size: var(--text-md);
    font-weight: 600;
}

.vd-meter {
    max-width: 360px;
    margin-top: var(--space-lg);
}

.vd-meter[hidden],
.vd-meter-static[hidden] {
    display: none;
}

.vd-meter-bar {
    height: 8px;
    overflow: hidden;
    border-radius: var(--radius-pill);
    background: var(--color-track);
}

.vd-meter-bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--color-accent-ink);
}

.vd-final .vd-btn-primary {
    background: var(--color-paper);
    color: var(--color-ink) !important;
}

.vd-final .vd-btn-primary:hover {
    background: var(--color-paper-3);
}

/* ---------- Footer (colophon block) ---------- */
.vd-footer {
    padding: var(--space-xl) 0;
    border-top: 1px solid var(--color-rule);
    background: var(--color-paper);
}

.vd-footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xs) var(--space-lg);
}

.vd-footer-start {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    min-width: 0;
}

.vd-footer-brand img {
    width: 40px;
    height: auto;
}

.vd-footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 var(--space-lg);
}

.vd-footer-links a,
.vd-footer-links button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0;
    border: 0;
    color: var(--color-muted) !important;
    background: none;
    font: inherit;
    font-size: var(--text-sm);
    cursor: pointer;
}

.vd-footer-links a:hover,
.vd-footer-links button:hover {
    color: var(--color-accent) !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.vd-footer p {
    margin: 0;
    color: var(--color-muted);
    font-size: var(--text-xs);
}

.vd-footer .vd-recaptcha-note {
    width: 100%;
    max-width: 52em;
    margin: var(--space-sm) 0 0;
    line-height: 1.5;
}

.vd-recaptcha-note a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* No form on this page, so the badge is hidden; the required Google notice sits in the footer */
.vd-page .grecaptcha-badge {
    visibility: hidden;
}

/* The shared consent banner, compacted for this page only */
.vd-page #cookieBanner .cookie-icon,
.vd-page #cookieBanner .btn-cookie-accept i {
    display: none;
}

/* ---------- Mobile sticky CTA ---------- */
.vd-sticky {
    display: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    :root {
        --gutter: 32px;
        --section-gap-s: 72px;
    }

    .vd-hero {
        min-height: 0;
        padding-block: var(--space-2xl);
    }

    .vd-hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--space-xl);
    }

    .vd-shots,
    .vd-moments {
        grid-template-columns: minmax(0, 1fr);
    }

    .vd-shot,
    .vd-shot-wide {
        grid-column: 1 / -1;
    }

    .vd-shot img {
        height: auto;
        max-height: 420px;
    }

    .vd-steps {
        grid-template-columns: minmax(0, 1fr);
    }

    .vd-faq-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .vd-faq-grid .vd-heading,
    .vd-faq-list {
        grid-column: 1 / -1;
    }

    .vd-final-content {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    :root {
        --gutter: 20px;
        --section-gap-s: 56px;
    }

    .vd-logo img {
        width: 56px;
    }

    .vd-header-actions {
        gap: var(--space-md);
    }

    .vd-link {
        font-size: var(--text-sm);
    }

    .vd-h1-offer {
        font-size: 0.55em;
    }

    .vd-friction {
        flex-direction: column;
        gap: var(--space-2xs);
    }

    .vd-footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .vd-sticky {
        position: fixed;
        inset: auto 0 0 0;
        z-index: 60;
        display: block;
        padding: var(--space-sm) var(--space-md) calc(var(--space-sm) + env(safe-area-inset-bottom));
        border-top: 1px solid var(--color-rule);
        background: color-mix(in oklch, var(--color-paper) 96%, transparent);
        transition: transform 240ms var(--ease-out);
    }

    .vd-sticky.is-hidden {
        transform: translateY(110%);
    }

    .vd-sticky .vd-btn {
        width: 100%;
    }

    .vd-page #cookieBanner.cookie-banner {
        padding: var(--space-sm) var(--space-md) !important;
    }

    .vd-page #cookieBanner .cookie-content {
        gap: var(--space-sm);
        text-align: left;
    }

    .vd-page #cookieBanner .cookie-title {
        margin-bottom: var(--space-2xs);
        font-size: 1rem;
    }

    .vd-page #cookieBanner .cookie-description {
        margin: 0;
        font-size: 0.8rem;
        line-height: 1.45;
    }

    .vd-page #cookieBanner .cookie-actions {
        flex-direction: row;
        gap: var(--space-xs);
    }

    .vd-page #cookieBanner .btn-cookie {
        width: auto;
        min-height: 44px;
        padding: var(--space-xs) var(--space-sm);
        font-size: 0.8rem;
    }
}

@media (min-width: 1100px) {
    /* The vidriera screenshot is set larger than its column and runs off the right edge */
    .vd-hero-visual {
        margin-inline-end: calc(var(--gutter) * -1);
    }

    .vd-hero-visual img {
        width: 112%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vd-page *,
    .vd-page *::before,
    .vd-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
