@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700;800&family=Space+Grotesk:wght@500;700&display=swap');

:root {
    --font-body: "DM Sans", "Segoe UI", sans-serif;
    --font-heading: "Space Grotesk", "Segoe UI", sans-serif;
    --bg: #fff4ea;
    --surface: rgba(255, 248, 241, 0.8);
    --surface-strong: rgba(255, 252, 248, 0.95);
    --surface-alt: #fde3d1;
    --text: #33231b;
    --muted: #836253;
    --line: rgba(182, 111, 72, 0.18);
    --accent: #cb6c42;
    --accent-strong: #91411f;
    --accent-soft: #ffe0ce;
    --shadow: 0 30px 70px rgba(181, 108, 66, 0.16);
    --radius-xl: 34px;
    --radius-lg: 30px;
    --radius-md: 20px;
    --container: 1180px;
    --page-bg: linear-gradient(180deg, #fff8f2 0%, #ffefe1 55%, #ffe3d1 100%);
    --orb-1: radial-gradient(circle, rgba(255, 178, 121, 0.35), rgba(255, 178, 121, 0));
    --orb-2: radial-gradient(circle, rgba(255, 216, 164, 0.34), rgba(255, 216, 164, 0));
    --panel-bg: linear-gradient(135deg, rgba(255, 252, 249, 0.96), rgba(255, 238, 224, 0.92));
    --media-bg: linear-gradient(180deg, #fff7ef 0%, #ffe6d7 100%);
    --video-surface: #f4cfb9;
    --video-overlay: linear-gradient(180deg, rgba(51, 35, 27, 0.08), rgba(145, 65, 31, 0.58));
    --button-bg: linear-gradient(135deg, #df7c4e, #91411f);
    --button-shadow: 0 18px 42px rgba(145, 65, 31, 0.24);
    --footer-bg: rgba(255, 248, 241, 0.72);
    --footer-border: rgba(182, 111, 72, 0.14);
    --focus-ring: rgba(203, 108, 66, 0.18);
    --link-chip-bg: rgba(255, 255, 255, 0.6);
    --link-chip-border: rgba(203, 108, 66, 0.16);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }

body {
    position: relative;
    overflow-x: hidden;
    font-family: var(--font-body);
    color: var(--text);
    background: var(--page-bg);
    background-color: var(--bg);
}

body::before,
body::after {
    content: "";
    position: fixed;
    z-index: -1;
    width: min(44vw, 560px);
    aspect-ratio: 1;
    pointer-events: none;
}

body::before {
    top: -140px;
    left: -120px;
    background: var(--orb-1);
}

body::after {
    right: -160px;
    bottom: -190px;
    background: var(--orb-2);
}

 a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-strong); }
img { max-width: 100%; }
button, input { font: inherit; }
.page { overflow: hidden; position: relative; }
.container { width: min(100% - 32px, var(--container)); margin: 0 auto; }

.hero { padding: 56px 0 28px; position: relative; }
.hero__grid { display: grid; gap: 28px; align-items: center; }
.hero__copy,
.hero__media-card,
.video-shell,
.order-card,
.panel,
.success-card,
.info-card,
.cookie-banner {
    background: var(--panel-bg);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.hero__copy {
    position: relative;
    overflow: hidden;
    padding: clamp(28px, 4vw, 42px);
    border-radius: var(--radius-xl);
}

.hero__copy::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 46%);
    pointer-events: none;
}

.hero__copy--center { width: min(100%, 980px); margin: 0 auto; text-align: center; }
.eyebrow {
    margin: 0 0 14px;
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero h1,
.section__intro h2,
.panel h3,
.success-card h1,
.info-card h1 {
    position: relative;
    z-index: 1;
    margin: 0;
    font-family: var(--font-heading);
    letter-spacing: -0.03em;
}

.hero h1 {
    font-size: clamp(2.35rem, 5vw, 4.6rem);
    line-height: 1.04;
    text-wrap: balance;
}

.hero__lead,
.section__intro p,
.panel li,
.footer__disclaimer,
.footer__meta,
.order-note,
.info-card p,
.info-card li,
.cookie-banner__text,
.success-card p {
    color: var(--muted);
    line-height: 1.72;
}

.hero__lead { margin: 22px 0 0; max-width: 620px; font-size: 1.02rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 14px 24px;
    border: 0;
    border-radius: 999px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover { transform: translateY(-1px); }
.button--primary { color: #fff; background: var(--button-bg); box-shadow: var(--button-shadow); }
.button--secondary { color: var(--accent); background: var(--accent-soft); }
.button--wide { width: 100%; }

.hero__facts { display: grid; gap: 14px; margin: 28px 0 0; }
.hero__facts div { display: grid; gap: 4px; padding-top: 14px; border-top: 1px solid var(--line); }
.hero__facts dt { font-size: 0.84rem; color: var(--muted); }
.hero__facts dd { margin: 0; font-weight: 600; }

.hero__media-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    padding: 24px;
    border-radius: var(--radius-xl);
    background: var(--media-bg);
}

.hero__media-card img { width: min(100%, 360px); }

.section { padding: 24px 0; }
.section--narrow .video-shell { max-width: 980px; margin: 0 auto; }
.section__intro { width: min(100%, 820px); margin: 0 auto 24px; text-align: center; }
.section__intro h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); }

.video-shell,
.order-card,
.success-card,
.info-card { border-radius: var(--radius-xl); }

.video-shell { padding: 18px; }
.video-card {
    position: relative;
    overflow: hidden;
    border-radius: calc(var(--radius-xl) - 8px);
    background: var(--video-surface);
    aspect-ratio: 16 / 9;
}

.video-card__media { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--video-surface); }
.video-start {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 0;
    background: var(--video-overlay);
    cursor: pointer;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.video-start.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.video-start__pulse {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
    animation: pulse 2.2s ease-in-out infinite;
}

.video-start__button {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 134px;
    min-height: 134px;
    padding: 20px;
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    text-align: center;
    background: var(--button-bg);
    box-shadow: var(--button-shadow);
}

.video-status { padding: 18px 6px 0; }
.video-status__row { display: flex; justify-content: space-between; gap: 12px; font-size: 0.95rem; font-weight: 700; }
.video-status__track { height: 8px; margin-top: 12px; border-radius: 999px; background: var(--accent-soft); overflow: hidden; }
.video-status__fill { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--button-bg); }
.video-status__note { margin: 12px 0 0; font-size: 0.94rem; }

.order-section[hidden] { display: none; }
.order-card { width: min(100%, 720px); margin: 0 auto; padding: 24px; }
.order-form { display: grid; gap: 22px; }
.order-form__image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    padding: 26px;
    border-radius: var(--radius-lg);
    background: var(--media-bg);
    border: 1px solid var(--line);
}

.order-form__image img { width: min(100%, 300px); }
.order-form__fields { display: grid; gap: 16px; }
.field,
.consent { display: grid; gap: 10px; }
.field span { font-weight: 700; }
.field input {
    width: 100%;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.88);
    color: var(--text);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--focus-ring); }
.consent { grid-template-columns: auto 1fr; align-items: start; gap: 12px; font-size: 0.94rem; color: var(--muted); }
.consent input { margin-top: 4px; }
.order-note { margin: 0; text-align: center; }

.info-grid { display: grid; gap: 20px; }
.panel { padding: 26px; border-radius: var(--radius-lg); }
.panel h3 { margin-top: 0; font-size: 1.55rem; }
.panel ul,
.info-card ul { margin: 18px 0 0 20px; padding: 0; }

.footer {
    margin-top: 24px;
    padding: 28px 0 42px;
    background: var(--footer-bg);
    border-top: 1px solid var(--footer-border);
}

.footer__inner { display: grid; gap: 18px; text-align: center; }
.footer__brand { margin: 0; font-family: var(--font-heading); font-size: 1.45rem; font-weight: 600; }
.footer__meta { margin: 8px 0 0; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px; }
.footer__disclaimer { width: min(100%, 780px); margin: 0 auto; }

.success-page,
.info-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px 16px; }
.success-card,
.info-card { width: min(100%, 840px); padding: 34px 30px; }
.success-card { text-align: center; }
.success-card h1,
.info-card h1 { font-size: clamp(2rem, 4.4vw, 3.5rem); }
.info-card h2 { margin: 28px 0 12px; font-size: 1.35rem; }
.info-card p { margin: 0 0 12px; }
.info-card strong { color: var(--text); }
.note { padding: 14px 16px; border-radius: 16px; background: var(--surface-alt); border: 1px solid var(--line); }

.cookie-banner {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 20;
    width: min(100% - 36px, 460px);
    padding: 18px;
    border-radius: 24px;
}

.cookie-banner__title { margin: 0 0 8px; font-weight: 700; }
.cookie-banner__text { margin: 0; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

code {
    padding: 0.15rem 0.38rem;
    border-radius: 8px;
    background: var(--surface-alt);
    border: 1px solid var(--line);
    font-family: Consolas, monospace;
    font-size: 0.95em;
}

@keyframes pulse {
    0%, 100% { transform: scale(0.92); opacity: 0.7; }
    50% { transform: scale(1.06); opacity: 1; }
}

@media (min-width: 900px) {
    .hero__grid,
    .info-grid,
    .order-form { grid-template-columns: 1.12fr 0.88fr; }
}

@media (max-width: 720px) {
    .hero { padding-top: 30px; }
    .container { width: min(100% - 22px, var(--container)); }
    .hero__copy,
    .hero__media-card,
    .video-shell,
    .order-card,
    .panel,
    .success-card,
    .info-card { border-radius: 24px; }
    .hero__copy,
    .success-card,
    .info-card { padding: 24px 20px; }
    .order-card { padding: 20px; }
    .video-card { border-radius: 20px; }
    .video-start__pulse { width: 132px; height: 132px; }
    .video-start__button { min-width: 104px; min-height: 104px; font-size: 1rem; }
    .cookie-banner { right: 12px; bottom: 12px; width: calc(100% - 24px); }
}

/* Buyer video overrides */
.video-card__media,
.media-shell__video,
.video-card__player {
    object-fit: contain !important;
    background: #000 !important;
    pointer-events: auto !important;
}

.video-card,
.media-shell {
    background: #000 !important;
}

@media (max-width: 640px) {
    .video-card {
        aspect-ratio: 3 / 4 !important;
    }

    .video-start__pulse,
    .media-shell__pulse,
    .video-card__pulse,
    .video-start__ring {
        width: 180px !important;
        height: 180px !important;
    }

    .video-start__button,
    .media-shell__start-label,
    .video-card__start-label,
    .video-start__label {
        width: min(240px, calc(100% - 32px)) !important;
        max-width: calc(100% - 32px) !important;
        min-width: 0 !important;
        min-height: 64px !important;
        padding: 14px 22px !important;
        border-radius: 999px !important;
        font-size: 1rem !important;
        line-height: 1.2 !important;
        text-align: center !important;
        white-space: normal !important;
    }
}

.button { text-transform: uppercase; letter-spacing: 0.06em; }
.hero__copy { border-radius: 38px; }
.video-shell { transform: rotate(-0.6deg); }
.order-card { transform: rotate(0.4deg); }
.footer__links a { padding: 10px 14px; border-radius: 999px; background: var(--link-chip-bg); border: 1px solid var(--link-chip-border); }
