/* LiveQ landing: "event programme" look. Cream paper, ink outlines, hard shadows, coral + sun accents.
   Plain CSS, no build step. Mock-ups scale with container query units (cqw). */

:root {
    --paper: #f4ecdd;
    --paper-2: #ebe0cb;
    --card: #fffaf0;
    --ink: #17142b;
    --ink-2: #4a4560;
    --line: #17142b;
    --shadow: #17142b;
    --coral: #ff5b3a;
    --sun: #ffc933;
    --focus: #17142b;
    --btn-bg: #17142b;
    --btn-fg: #f4ecdd;
    --tint-0: #ffd9cf;
    --tint-1: #fff0b8;
    --tint-2: #e2d9ff;
    --tint-3: #c9f3e2;
    --tint-ink: #17142b;
    --band: #ff5b3a;
    --r: 18px;
    --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
    --body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
    :root {
        --paper: #15122a;
        --paper-2: #1c1838;
        --card: #221d45;
        --ink: #f4ecdd;
        --ink-2: #bdb7d3;
        --line: rgba(244, 236, 221, .9);
        --shadow: #000;
        --focus: #ffc933;
        --btn-bg: #ff5b3a;
        --btn-fg: #17142b;
        --tint-0: #3d2230;
        --tint-1: #3a3418;
        --tint-2: #2d2657;
        --tint-3: #173a35;
        --tint-ink: #f4ecdd;
        --band: #ff5b3a;
    }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 400 1.0625rem/1.6 var(--body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: .6rem 1rem; border-radius: 10px; }
.skip:focus { top: 12px; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 40px); }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 2.5px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 1.45rem/1 var(--display); letter-spacing: -.03em; }
.top__nav { display: flex; gap: 22px; margin-inline: auto; }
.top__nav a { text-decoration: none; font-weight: 500; padding: 6px 2px; border-bottom: 2.5px solid transparent; }
.top__nav a:hover { border-color: var(--coral); }
.top__tools { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; border: 2.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang a { padding: 5px 12px; font-weight: 700; font-size: .85rem; text-decoration: none; }
.lang a[aria-current] { background: var(--ink); color: var(--paper); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; text-align: center;
    padding: .85rem 1.4rem; border: 2.5px solid var(--line); border-radius: 999px;
    font: 700 1rem/1.2 var(--body); text-decoration: none; cursor: pointer;
    box-shadow: 4px 4px 0 var(--shadow); transition: transform .12s, box-shadow .12s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--shadow); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--shadow); }
.btn--primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn--sun { background: var(--sun); color: #17142b; }
.btn--ghost { background: transparent; color: #17142b; border-color: #17142b; box-shadow: 4px 4px 0 #17142b; }
.btn--sm { padding: .55rem 1rem; font-size: .9rem; box-shadow: 3px 3px 0 var(--shadow); }
.actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* Hero */
.hero { padding: clamp(36px, 6vw, 84px) 0 clamp(56px, 8vw, 110px); position: relative; overflow: hidden; }
.hero::before {
    content: ""; position: absolute; inset: -20% -10% auto auto; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--coral) 28%, transparent), transparent);
    pointer-events: none;
}
.hero__in { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.eyebrow {
    display: inline-block; background: var(--sun); color: #17142b; border: 2.5px solid var(--line);
    padding: .3rem .85rem; border-radius: 20px; font-weight: 700; font-size: .92rem; transform: rotate(-1.5deg);
    box-shadow: 3px 3px 0 var(--shadow); margin: 0 0 22px;
}
.hero h1 { font-size: clamp(2.7rem, 6.4vw, 5.2rem); font-weight: 800; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--ink-2); margin-top: 22px; max-width: 34em; }
.hero .actions { margin-top: 32px; }
.note { margin-top: 22px; font-weight: 700; display: inline-flex; align-items: center; gap: 10px; }
.note::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--coral); border: 2px solid var(--line); }
.hero__art { position: relative; margin: 0; padding-bottom: 60px; }
.hero__screen { transform: rotate(-2deg); }
.hero__phone { position: absolute; right: -9%; bottom: -3%; width: 25%; transform: rotate(4deg); }
.hero__screen .screen__cards { margin-right: 10cqw; }

/* ---- Mock: big screen (fixed "screen" palette in both colour schemes) ---- */
.screen {
    position: relative; container-type: inline-size; aspect-ratio: 16 / 9; overflow: hidden; color: #fff;
    border: 3px solid var(--line); border-radius: 16px; box-shadow: 8px 8px 0 var(--shadow); background: #1b1745;
    user-select: none;
}
.screen__bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(60cqw 50cqw at 100% 0, rgba(255, 91, 58, .55), transparent 70%),
        radial-gradient(55cqw 50cqw at 0 100%, rgba(150, 120, 255, .55), transparent 70%),
        linear-gradient(135deg, #1b1745, #2a2166);
}
.screen__bg::after {
    content: ""; position: absolute; inset: 0; opacity: .12;
    background-image: radial-gradient(#fff 1px, transparent 1.4px); background-size: 2.4cqw 2.4cqw;
}
.screen__top { position: absolute; left: 3cqw; right: 3cqw; top: 2.4cqw; display: flex; justify-content: space-between; font-size: 2.3cqw; line-height: 1.2; }
.screen__top span { opacity: .85; }
.screen__session { position: absolute; left: 3cqw; top: 6.2cqw; font-size: 1.7cqw; opacity: .8; }
.screen__row { position: absolute; inset: 10.5cqw 3cqw 3cqw; display: grid; grid-template-columns: 23cqw 1fr; gap: 3cqw; align-items: end; }
.screen__join { display: grid; gap: .8cqw; justify-items: start; }
.screen__label { font: 800 3cqw/1.1 var(--display); }
.screen__qr { width: 15cqw; padding: 1cqw; background: #fff; border-radius: 1.4cqw; margin: .6cqw 0; }
.screen__qr svg { display: block; width: 100%; height: auto; }
.screen__qr-empty { display: block; aspect-ratio: 1; background: #ddd; border-radius: .6cqw; }
.screen__scan { font-size: 1.7cqw; font-weight: 700; }
.screen__short { font-size: 1.4cqw; opacity: .75; }
.screen__cards { display: grid; gap: 2cqw; align-self: end; }
.qcard {
    --av: 7.5cqw; display: grid; grid-template-columns: auto 1fr; gap: 2cqw; align-items: center;
    background: #fff; color: #17142b; border-radius: 2.4cqw; padding: 1.8cqw 2.2cqw;
}
.qcard b { font-size: 1.8cqw; opacity: .7; }
.qcard p { font: 700 2.5cqw/1.2 var(--display); }
.screen--poll .screen__row { grid-template-columns: 19cqw 1fr; align-items: stretch; }
.screen--poll .screen__join { align-self: end; }
.screen__join--small .screen__qr { width: 13cqw; }
.poll { display: grid; grid-template-rows: auto 1fr; gap: 1.6cqw; }
.poll__prompt { background: #fff; color: #17142b; border-radius: 2.4cqw; padding: 1.4cqw 2.4cqw; font: 800 3cqw/1.15 var(--display); }
.poll__answers { background: #fff; color: #17142b; border-radius: 2.4cqw; padding: 1.6cqw 2.4cqw; display: grid; align-content: space-evenly; gap: .8cqw; }
.bar { display: grid; grid-template-columns: 16cqw 1fr; align-items: center; gap: 1.4cqw; }
.bar__label { font-size: 2.3cqw; font-weight: 700; }
.bar__track { display: flex; align-items: center; gap: 1.2cqw; min-width: 0; }
.bar__fill { flex: none; width: calc(var(--w) * .62); height: 3.4cqw; background: linear-gradient(90deg, #8ab4ff, #6c8cff); border: .25cqw solid #17142b; border-radius: .6cqw 1.4cqw 1.4cqw .6cqw; transition: width 1.1s cubic-bezier(.2, .8, .2, 1); }
.bar__faces { --av: 3.8cqw; display: flex; align-items: center; min-width: 0; }
.bar__faces > * + * { margin-left: -.9cqw; }
.bar__more { margin-left: 1cqw !important; font-size: 1.8cqw; font-weight: 700; white-space: nowrap; }

/* ---- Mock: phone (audience avatar maker; fixed light palette) ---- */
.phone {
    container-type: inline-size; position: relative; aspect-ratio: 9 / 17; background: #fffaf0; color: #17142b;
    border: 3px solid var(--line); border-radius: 26px; overflow: hidden; box-shadow: 6px 6px 0 var(--shadow); user-select: none;
}
.phone__notch { position: absolute; top: 2.6cqw; left: 50%; width: 26cqw; height: 5cqw; background: #17142b; border-radius: 99px; transform: translateX(-50%); }
.phone__body { position: absolute; inset: 11cqw 6cqw 6cqw; display: flex; flex-direction: column; align-items: center; gap: 4cqw; }
.phone__title { font: 800 7.4cqw/1 var(--display); }
.phone__avatar { --av: 40cqw; }
.phone__tabs { display: flex; gap: 2cqw; font-size: 4.2cqw; font-weight: 700; }
.phone__tabs span { padding: 1.2cqw 3cqw; border: .6cqw solid #17142b; border-radius: 99px; background: #fff; }
.phone__tabs .is-on { background: #ff5b3a; }
.phone__strip { --av: 14.5cqw; display: flex; gap: 2cqw; }
.thumb { border: .8cqw solid transparent; border-radius: 4cqw; line-height: 0; }
.thumb.is-on { border-color: #17142b; box-shadow: 1cqw 1cqw 0 #17142b; }
.phone__field { align-self: stretch; border: .7cqw solid #17142b; border-radius: 3.4cqw; background: #fff; padding: 1.6cqw 3.4cqw; display: grid; line-height: 1.2; }
.phone__field small { font-size: 3.4cqw; opacity: .65; }
.phone__field span { font-size: 5cqw; font-weight: 700; }
.phone__cta { margin-top: auto; align-self: stretch; text-align: center; background: #17142b; color: #fffaf0; font: 700 5cqw/1 var(--body); padding: 4cqw; border-radius: 99px; }
.lp-dot { display: inline-block; border-radius: 50%; background: #d8cdb4; border: 2px solid #17142b; }

/* Sections */
.sec { padding: clamp(56px, 8vw, 110px) 0; }
.sec--tint { background: var(--paper-2); border-block: 2.5px solid var(--line); }
.sec h2 { margin-bottom: clamp(28px, 4vw, 52px); }
.sec__head { display: grid; gap: 18px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 46rem; }
.sec__head h2 { margin-bottom: 0; }
.sec__head .lead { margin-top: 0; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { position: relative; background: var(--card); border: 2.5px solid var(--line); border-radius: var(--r); padding: 56px 26px 28px; box-shadow: 6px 6px 0 var(--shadow); }
.step:nth-child(1) { transform: rotate(-1deg); }
.step:nth-child(2) { transform: rotate(.7deg); }
.step:nth-child(3) { transform: rotate(-.5deg); }
.step__n {
    position: absolute; top: -26px; left: 22px; width: 56px; height: 56px; display: grid; place-items: center;
    background: var(--coral); color: #17142b; border: 2.5px solid var(--line); border-radius: 50%;
    font: 800 1.9rem/1 var(--display); box-shadow: 3px 3px 0 var(--shadow);
}
.step h3 { margin-bottom: 10px; font-size: 1.55rem; }
.step p { color: var(--ink-2); }

.showcase { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 4vw, 48px); }
.showcase figure { margin: 0; display: grid; gap: 18px; align-content: start; }
.showcase figcaption { font-weight: 500; color: var(--ink-2); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { border: 2.5px solid var(--line); border-radius: var(--r); padding: 26px; background: var(--tint-0); color: var(--tint-ink); box-shadow: 5px 5px 0 var(--shadow); }
.card--1 { background: var(--tint-1); }
.card--2 { background: var(--tint-2); }
.card--3 { background: var(--tint-3); }
.card h3 { margin-bottom: 10px; }
.card p { opacity: .9; }
.also { margin-top: 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.also h3 { font-size: 1.1rem; }
.also ul { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.also li { border: 2.5px solid var(--line); border-radius: 999px; padding: .35rem 1rem; font-weight: 700; background: var(--card); }

.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.who__item { border-top: 8px solid var(--coral); padding-top: 18px; }
.who__item:nth-child(2) { border-color: var(--sun); }
.who__item:nth-child(3) { border-color: #8ab4ff; }
.who__item h3 { font-size: 1.7rem; margin-bottom: 10px; }
.who__item p { color: var(--ink-2); }

.faq { display: grid; gap: 14px; }
.faq details { background: var(--card); border: 2.5px solid var(--line); border-radius: var(--r); box-shadow: 4px 4px 0 var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font: 700 1.15rem/1.3 var(--display); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font: 800 1.8rem/1 var(--display); color: var(--coral); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { padding: 0 22px 20px; color: var(--ink-2); }

.band { background: var(--band); color: #17142b; border-block: 2.5px solid var(--line); padding: clamp(44px, 6vw, 80px) 0; }
.band__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.band h2 { margin-bottom: 12px; color: #17142b; }
.band p { max-width: 32em; font-size: 1.15rem; }

.foot { padding: 36px 0 44px; }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.foot p { color: var(--ink-2); flex: 1 1 260px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot nav a { font-weight: 500; }
.foot nav a[aria-current] { font-weight: 800; text-decoration: none; }

/* Motion: reveal on scroll, only when JS is running and the user has not asked for less motion */
@media (prefers-reduced-motion: no-preference) {
    .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
    .js .reveal.in { opacity: 1; transform: none; }
    .js .step.reveal.in:nth-child(1) { transform: rotate(-1deg); }
    .js .step.reveal.in:nth-child(2) { transform: rotate(.7deg); }
    .js .step.reveal.in:nth-child(3) { transform: rotate(-.5deg); }
    .js .reveal:not(.in) .bar__fill { width: 0; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn, .bar__fill, .faq summary::after { transition: none; }
}

/* Responsive */
@media (max-width: 1000px) {
    .top__nav { display: none; }
    .top__tools { margin-left: auto; }
    .hero__in { grid-template-columns: 1fr; }
    .hero__art { max-width: 640px; margin-inline: auto; width: 100%; }
    .hero__phone { right: -3%; width: 28%; }
    .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
    .steps, .who, .showcase { grid-template-columns: 1fr; }
    .steps { gap: 44px; }
    .grid { grid-template-columns: 1fr; }
    .hero__phone { width: 30%; right: -2%; }
    .hero__screen .screen__cards { margin-right: 22cqw; }
}
@media (max-width: 560px) {
    .wrap { width: calc(100% - 32px); }
    .top__tools .btn { display: none; }
    .actions .btn { width: 100%; }
    .hero__art { padding-bottom: 44px; }
    .hero__screen { transform: rotate(-1deg); }
    .screen { box-shadow: 5px 5px 0 var(--shadow); }
}
