/*
 * VibeStudio web: la conversación real. Comentarios de redes que flotan alrededor del titular, leídos y etiquetados.
 * Crema cálido, violeta eléctrico de marca, coral de segundo color y un mesh difuminado solo en el hero y en el cierre.
 * Los colores de sentimiento son acentos de marca: menta (positivo), gris cálido (neutro), coral (negativo), ámbar (trama oculta).
 * Clash Display (titulares y cifras) + Inter (texto). Tarjetas de 20–24px, bordes finos, sombras suaves.
 */
@font-face { font-family: "Clash Display"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/clash-display-500.woff2") format("woff2"); }
@font-face { font-family: "Clash Display"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/clash-display-600.woff2") format("woff2"); }
@font-face { font-family: "Clash Display"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/clash-display-700.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/inter-latin-wght-normal.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: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/inter-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }

:root {
    /* Superficies */
    --bg: #fbf8f3;
    --bg-2: #f4eee5;
    --surface: #ffffff;
    --surface-2: #f8f4ee;
    --night: #15131a;
    --night-2: #221e29;

    /* Tinta: nunca gris claro sobre crema */
    --ink: #15131a;
    --ink-2: #48434f;
    --ink-3: #696370;
    --line: #e9e2d7;
    --line-strong: #d2c9bc;

    /* Marca */
    --brand: #6d4aff;
    --brand-hover: #5a35f2;
    --brand-ink: #4f2fd9;
    --brand-soft: #ece6ff;
    --brand-softer: #f4f0ff;
    --brand-mark: #dcd2ff;
    --coral: #ff6b5b;
    --coral-ink: #b8321f;
    --peach: #ffc9a8;

    /* Sentimiento como acento de marca */
    --pos: #2fbf86;
    --pos-ink: #0b6b47;
    --pos-soft: #dcf5ea;
    --neu: #aaa197;
    --neu-ink: #59524a;
    --neu-soft: #eeeae3;
    --neg: #f0574a;
    --neg-ink: #b42e22;
    --neg-soft: #ffe4df;
    --off: #f5a524;
    --off-ink: #7a4900;
    --off-soft: #fff0d0;
    --off-mark: #ffd98a;

    /* Mesh: solo hero y cierre */
    --mesh-1: rgba(109, 74, 255, .24);
    --mesh-2: rgba(255, 107, 91, .2);
    --mesh-3: rgba(255, 185, 140, .42);

    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 2px rgba(21, 19, 26, .04), 0 6px 16px -8px rgba(21, 19, 26, .1);
    --shadow: 0 1px 2px rgba(21, 19, 26, .04), 0 16px 36px -16px rgba(21, 19, 26, .18);
    --shadow-lg: 0 2px 6px rgba(21, 19, 26, .04), 0 36px 72px -28px rgba(52, 30, 140, .32);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

    --font-display: "Clash Display", "Inter", ui-sans-serif, system-ui, sans-serif;
    --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
    --wrap: 1240px;
    --gutter: 32px;
    --section-y: 120px;

    color-scheme: light;
    accent-color: var(--brand);
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #131117;
        --bg-2: #18151d;
        --surface: #1d1a23;
        --surface-2: #25212c;
        --night: #0c0b0f;
        --night-2: #1c1922;

        --ink: #f5f1ea;
        --ink-2: #cdc6d6;
        --ink-3: #a59eae;
        --line: #2f2a37;
        --line-strong: #463f51;

        --brand: #7556ff;
        --brand-hover: #8669ff;
        --brand-ink: #b9a9ff;
        --brand-soft: #2b2348;
        --brand-softer: #1b1729;
        --brand-mark: #4a3b8f;
        --coral-ink: #ff9184;

        --pos-ink: #6fe2b2;
        --pos-soft: #133528;
        --neu-ink: #d0c8bf;
        --neu-soft: #2c2831;
        --neg-ink: #ff8f83;
        --neg-soft: #3d1d1b;
        --off-ink: #ffcb6b;
        --off-soft: #3a2a0d;
        --off-mark: #6b4a0c;
        --big-num: var(--brand-ink);

        --mesh-1: rgba(117, 86, 255, .3);
        --mesh-2: rgba(255, 107, 91, .16);
        --mesh-3: rgba(255, 150, 100, .12);

        --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 16px -8px rgba(0, 0, 0, .5);
        --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 36px -16px rgba(0, 0, 0, .6);
        --shadow-lg: 0 2px 6px rgba(0, 0, 0, .3), 0 36px 72px -28px rgba(0, 0, 0, .75);

        color-scheme: dark;
    }
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; scrollbar-color: var(--line-strong) transparent; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; caret-color: var(--brand); overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--brand-ink); text-decoration-thickness: 2px; }
h1, h2, h3 { margin: 0 0 .5em; font-family: var(--font-display); font-weight: 600; text-wrap: balance; word-spacing: .08em; }
h1 { font-size: clamp(2.9rem, 6.6vw, 5.75rem); line-height: .98; letter-spacing: -0.02em; }
h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); line-height: 1.04; letter-spacing: -0.015em; }
h3 { font-size: 1.28rem; line-height: 1.2; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }
strong, b { font-weight: 650; }
::selection { background: var(--brand-mark); color: var(--ink); }
:focus-visible { outline: 2.5px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.muted { color: var(--ink-3); }
.small { font-size: .86rem; }
.skip { position: absolute; left: -999px; top: 10px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 600; text-decoration: none; }
.skip:focus { left: 10px; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.icon { display: inline-block; flex: none; width: 1em; height: 1em; vertical-align: -0.125em; }
.glyph { display: block; flex: none; width: 26px; height: 26px; }
.glyph-sm { width: 18px; height: 18px; }
.glyph-xs { width: 14px; height: 14px; }

/* The audience's own words, quoted inline */
.voice { font-weight: 550; color: var(--brand-ink); }

/* Highlighters: amber for what is off-topic, violet for the brand phrase, a wavy coral line for irony */
.mark, .hl {
    background-image: linear-gradient(transparent 52%, var(--off-mark) 52%, var(--off-mark) 90%, transparent 90%);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding: 0 .1em;
    margin: 0 -.03em;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    color: inherit;
}
.hl { background-image: linear-gradient(transparent 60%, var(--brand-mark) 60%, var(--brand-mark) 92%, transparent 92%); }
.mark-neg { text-decoration: underline wavy var(--neg); text-decoration-thickness: 1.5px; text-underline-offset: 4px; text-decoration-skip-ink: none; }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }

/* Tags: a comment's reading, as a coloured pill */
.tag { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 4px 11px; border-radius: 999px; font: 600 .78rem/1.25 var(--font-sans); white-space: nowrap; background: var(--neu-soft); color: var(--neu-ink); }
.tag-pos { background: var(--pos-soft); color: var(--pos-ink); }
.tag-neg, .tag-risk { background: var(--neg-soft); color: var(--neg-ink); }
.tag-off { background: var(--off-soft); color: var(--off-ink); }
.tag-ask { background: var(--brand-soft); color: var(--brand-ink); }
.tag-neu { background: var(--neu-soft); color: var(--neu-ink); }
.tag-lg { margin: 0; padding: 6px 13px; font-size: .92rem; white-space: normal; }
.tag-risk::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--neg); }

/* Avatars: generic initials, never a real name */
.avatar { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 38px; height: 38px; border-radius: 50%; font: 650 .8rem/1 var(--font-sans); letter-spacing: .02em; background: var(--brand-soft); color: var(--brand-ink); }
.avatar-sm { width: 28px; height: 28px; font-size: .66rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: .7em 1.35em; border-radius: 999px; border: 1.5px solid transparent; font: 600 1rem/1.2 var(--font-sans); text-decoration: none; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, box-shadow .25s var(--ease-out), transform .25s var(--ease-out); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 40px; padding: .5em 1.05em; font-size: .93rem; }
.btn-lg { min-height: 56px; padding: .8em 1.7em; font-size: 1.05rem; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -10px rgba(109, 74, 255, .7); }
.btn-primary:hover { background: var(--brand-hover); color: #fff; box-shadow: 0 14px 30px -10px rgba(109, 74, 255, .75); }
.btn-secondary { background: color-mix(in srgb, var(--surface) 70%, transparent); color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--surface); color: var(--ink); }
.btn-quiet { background: none; color: var(--ink); padding-inline: .2em; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.btn .icon { transition: transform .25s var(--ease-out); }
.btn:hover .icon { transform: translateX(3px); }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent); }
.header-row { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 600 1.38rem/1 var(--font-display); letter-spacing: -0.01em; }
.brand:hover { color: var(--ink); }
.brand-mark { flex: none; width: 32px; height: 32px; }
.main-nav { display: flex; gap: 4px; }
.main-nav a { padding: 8px 14px; border-radius: 999px; color: var(--ink-2); font-size: .95rem; font-weight: 500; text-decoration: none; transition: background-color .2s, color .2s; }
.main-nav a:hover { color: var(--ink); background: color-mix(in srgb, var(--surface) 85%, transparent); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.header-actions .link-quiet { color: var(--ink-2); font-size: .95rem; font-weight: 500; text-decoration: none; }
.header-actions .link-quiet:hover { color: var(--ink); text-decoration: underline; }

/* Menu for tablets and phones. A <details>, so it works without JS. */
.mobile-menu { display: none; }
.mobile-menu-button { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -8px; border-radius: 999px; color: var(--ink); cursor: pointer; list-style: none; }
.mobile-menu-button::-webkit-details-marker { display: none; }
.mobile-menu-button:hover { background: var(--surface); }
.mobile-menu-button svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.mobile-menu-button .icon-close, .mobile-menu[open] .icon-open { display: none; }
.mobile-menu[open] .icon-close { display: inline; }
.mobile-menu-panel { position: absolute; top: calc(100% + 8px); left: 12px; right: 12px; display: grid; gap: 18px; padding: 10px 22px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.mobile-menu-nav { display: grid; }
.mobile-menu-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); font: 600 1.15rem/1.2 var(--font-display); word-spacing: .08em; text-decoration: none; }
.mobile-menu-login { justify-self: start; }
.mobile-menu-panel .lang-switch { font-size: .9rem; }

/* Language switch: ES · EN · CA */
.lang-switch { display: flex; align-items: center; gap: 2px; flex: none; padding: 3px; border: 1px solid var(--line); border-radius: 999px; font-size: .78rem; font-weight: 600; line-height: 1; background: color-mix(in srgb, var(--surface) 60%, transparent); }
.lang-switch a { padding: 7px 9px; border-radius: 999px; color: var(--ink-2); text-decoration: none; }
.lang-switch a:hover { color: var(--ink); background: var(--surface); }
.lang-switch a[aria-current] { color: var(--bg); background: var(--ink); }

/* Mesh: soft violet, coral and peach light. Only behind the hero and the closing call. */
.mesh { position: relative; isolation: isolate; overflow: clip; background-color: var(--bg); }
.mesh::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(42% 52% at 10% 22%, var(--mesh-1), transparent 72%),
        radial-gradient(38% 46% at 92% 14%, var(--mesh-2), transparent 72%),
        radial-gradient(50% 50% at 78% 88%, var(--mesh-3), transparent 72%),
        radial-gradient(36% 40% at 22% 92%, var(--mesh-2), transparent 72%);
    filter: blur(24px);
}

/* Hero: the headline, with the comments floating around it */
.hero { overflow: clip; padding: 64px 0 56px; }
.hero-stage { position: relative; max-width: 1440px; }
.hero-copy { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; text-align: center; }
.hero h1 { margin: 0 0 24px; }
.hero h1 .line { display: block; text-wrap: balance; }
.hero .lead { max-width: 37em; margin: 0 auto 32px; font-size: 1.18rem; line-height: 1.6; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; }
.hero-caption { position: relative; z-index: 2; margin: 28px 0 0; text-align: center; font-size: .84rem; color: var(--ink-3); }

.bubbles { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.bubble { --dur: calc(6s + var(--i) * .8s); }
.bubble-card { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; padding: 14px 16px 13px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px 22px 22px 6px; box-shadow: var(--shadow); }
.bubble-text { margin: 0 0 10px; font-size: .95rem; line-height: 1.48; color: var(--ink); }
.bubble-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; margin: 0; }
.bubble-meta .tag { white-space: normal; text-wrap: balance; }
.likes { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.likes .icon { color: var(--neg); }
.tone-pos .avatar { background: var(--pos-soft); color: var(--pos-ink); }
.tone-neg .avatar { background: var(--neg-soft); color: var(--neg-ink); }
.tone-off .avatar { background: var(--off-soft); color: var(--off-ink); }
.tone-ask .avatar { background: var(--brand-soft); color: var(--brand-ink); }
.tone-off .bubble-card { border-color: color-mix(in srgb, var(--off) 55%, var(--line)); }

/* Desktop: three bubbles on each side of the headline, scattered and slightly tilted */
@media (min-width: 1240px) {
    .hero { padding: 72px 0 64px; }
    .hero-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 640px) minmax(0, 1fr); grid-template-rows: repeat(3, auto); column-gap: 24px; min-height: 640px; align-items: center; }
    .hero-copy { grid-column: 2; grid-row: 1 / span 3; padding: 24px 0; }
    .hero h1 { font-size: clamp(3.4rem, 4.55vw, 4.1rem); letter-spacing: -0.025em; }
    .bubbles { display: contents; }
    .bubble { width: min(100% - 12px, 300px); }
    .bubble:nth-child(-n+3) { grid-column: 1; justify-self: end; }
    .bubble:nth-child(n+4) { grid-column: 3; justify-self: start; }
    .bubble:nth-child(n+4) .bubble-card { border-radius: 22px 22px 6px 22px; }
    .bubble:nth-child(1), .bubble:nth-child(4) { grid-row: 1; align-self: start; }
    .bubble:nth-child(2), .bubble:nth-child(5) { grid-row: 2; }
    .bubble:nth-child(3), .bubble:nth-child(6) { grid-row: 3; align-self: end; }
    .bubble:nth-child(1) { margin-right: 12px; }
    .bubble:nth-child(3) { margin-right: 12px; }
    .bubble:nth-child(5) { margin-left: 12px; }
    .bubble:nth-child(1) .bubble-card { rotate: -2.5deg; }
    .bubble:nth-child(2) .bubble-card { rotate: 1.5deg; }
    .bubble:nth-child(3) .bubble-card { rotate: -1deg; }
    .bubble:nth-child(4) .bubble-card { rotate: 2deg; }
    .bubble:nth-child(5) .bubble-card { rotate: -1.5deg; }
    .bubble:nth-child(6) .bubble-card { rotate: 2.5deg; }
    .hero-caption { grid-column: 1 / -1; grid-row: 4; }
}

/* The one authored moment: the comments arrive one by one, then keep drifting slowly */
@media (prefers-reduced-motion: no-preference) {
    .bubble { animation: drift var(--dur) ease-in-out calc(var(--i) * -1.7s) infinite alternate; }
    .bubble-card { animation: arrive .9s var(--ease-out) calc(var(--i) * 120ms + 250ms) both; }
    .hero .hl { animation: sweep 1s var(--ease-out) .35s both; }
}
@keyframes drift { from { transform: translate3d(0, -7px, 0); } to { transform: translate3d(0, 7px, 0); } }
@keyframes arrive { from { opacity: 0; transform: translateY(18px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes sweep { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }

/* Social proof strip: the networks we read. Room is left in the markup for client logos once there are some. */
.proof { border-block: 1px solid var(--line); background: var(--surface-2); }
.proof-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 36px; padding-block: 22px; }
.proof-label { margin: 0; font-size: .95rem; color: var(--ink-2); }
.proof-networks { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 36px; margin: 0; padding: 0; font: 600 1.35rem/1.2 var(--font-display); color: var(--ink); letter-spacing: -0.01em; }

/* Sections */
.section { padding: var(--section-y) 0; }
.section-head { max-width: 800px; margin-bottom: 56px; }
.section-head h2 { margin-bottom: 18px; }
.section-head p { margin: 0; font-size: 1.15rem; color: var(--ink-2); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: start; }
.split > div > p { max-width: 36em; font-size: 1.08rem; color: var(--ink-2); }
.aside-note { max-width: 46em; margin: 40px 0 0; color: var(--ink-2); }
.ruled { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.ruled li { padding: 16px 0; border-bottom: 1px solid var(--line-strong); color: var(--ink-2); }
.ruled li strong { color: var(--ink); }
.glyph-badge { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 52px; height: 52px; border-radius: 16px; background: var(--brand-soft); color: var(--brand-ink); }
.glyph-badge-lg { width: 64px; height: 64px; border-radius: 20px; }
.glyph-badge-lg .glyph { width: 32px; height: 32px; }

/* What the metrics miss: the 41 % is the protagonist */
.metrics-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: center; }
.big-figure { display: grid; gap: 14px; margin: 0; }
.big-num { justify-self: start; font: 600 clamp(7rem, 16vw, 12.5rem)/.82 var(--font-display); letter-spacing: -0.04em; white-space: nowrap; color: var(--big-num, var(--brand)); font-variant-numeric: tabular-nums;
    background-image: linear-gradient(transparent 66%, var(--off-mark) 66%, var(--off-mark) 92%, transparent 92%); padding: 0 .06em; }
.big-cap { max-width: 17ch; font: 500 clamp(1.45rem, 2.4vw, 1.95rem)/1.15 var(--font-display); word-spacing: .08em; color: var(--ink); text-wrap: balance; }
.metrics-copy p { max-width: 36em; font-size: 1.08rem; color: var(--ink-2); }
.insight-cards { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 72px 0 0; padding: 0; }
.insight { padding: 28px 26px 26px; transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out); }
.insight:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.insight p { margin: 22px 0 0; font-size: .98rem; color: var(--ink-2); }
.insight strong { display: block; margin-bottom: 6px; font: 600 1.2rem/1.2 var(--font-display); word-spacing: .08em; color: var(--ink); }
.insight:nth-child(2) .glyph-badge { background: var(--neg-soft); color: var(--neg-ink); }
.insight:nth-child(3) .glyph-badge { background: var(--pos-soft); color: var(--pos-ink); }
.insight.is-off .glyph-badge { background: var(--off-soft); color: var(--off-ink); }

/* How it works: a timeline, joined by a violet-to-coral line */
.band-alt, #como-funciona, #preguntas { background: var(--bg-2); }
.timeline { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin: 0; padding: 0; }
.timeline li { position: relative; }
.step-marker { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.step-num { font: 600 3.6rem/1 var(--font-display); color: var(--brand); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; min-width: .7em; }
.step-icon { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); color: var(--brand-ink); box-shadow: var(--shadow-sm); }
.timeline li:not(:last-child) .step-marker::after { content: ""; flex: 1; height: 2px; margin-right: -32px; border-radius: 2px; background: linear-gradient(90deg, var(--brand), var(--coral)); opacity: .45; }
.timeline h3 { margin-bottom: 10px; font-size: 1.32rem; }
.timeline p { margin: 0; font-size: .98rem; color: var(--ink-2); }

/* The report: an app mock-up with numbered pins, explained alongside */
.specimen { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 48px; align-items: start; }
.mock { margin: 0; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.mock-bar { display: flex; align-items: center; gap: 16px; padding: 13px 18px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.mock-dots { display: flex; gap: 7px; }
.mock-dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--coral); }
.mock-dots i:nth-child(2) { background: var(--off); }
.mock-dots i:nth-child(3) { background: var(--pos); }
.mock-url { margin: 0 auto; padding: 4px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: .78rem; color: var(--ink-3); transform: translateX(-26px); }
.mock-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 22px; }
.mock-block { position: relative; grid-column: 1 / -1; padding: 20px 22px; border-radius: 18px; background: var(--surface-2); }
.mock-block:nth-child(3) { grid-column: 1; }
.mock-block:nth-child(4) { grid-column: 2; }
.pin { position: absolute; top: 14px; right: 14px; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; font: 700 .78rem/1 var(--font-sans); box-shadow: 0 0 0 4px var(--surface-2); }
.mock-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-right: 36px; }
.mock-post { font-weight: 650; font-size: .95rem; margin-right: 4px; }
.chip { display: inline-flex; padding: 2px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: .76rem; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.mock-headline { max-width: 34ch; margin: 14px 0 0; font: 600 clamp(1.3rem, 2.1vw, 1.65rem)/1.22 var(--font-display); word-spacing: .08em; text-wrap: balance; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0; padding-right: 30px; }
.stats > div { padding: 14px 16px; border-radius: 14px; background: var(--surface); }
.stats .is-off { background: var(--off-soft); }
.stats dt { font-size: .76rem; font-weight: 600; line-height: 1.3; color: var(--ink-2); }
.stats dd { margin: 0; }
.stats .num { margin-top: 4px; font: 600 2rem/1.1 var(--font-display); letter-spacing: -0.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.stats .is-off .num { color: var(--off-ink); }
.stats .sub { font-size: .74rem; color: var(--ink-3); }
.bar-label { margin: 0 0 8px; padding-right: 34px; font-size: .84rem; font-weight: 650; }
.bar { display: flex; gap: 3px; height: 14px; }
.seg { display: block; height: 100%; border-radius: 4px; }
.seg:first-child { border-radius: 999px 4px 4px 999px; }
.seg:last-child { border-radius: 4px 999px 999px 4px; }
.seg.neg, .legend i.neg { background: var(--neg); }
.seg.neu, .legend i.neu { background: var(--neu); }
.seg.pos, .legend i.pos { background: var(--pos); }
.seg.mixed, .legend i.mixed { background: repeating-linear-gradient(135deg, var(--pos) 0 3px, var(--neg) 3px 6px); }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 10px 0 20px; padding: 0; font-size: .78rem; color: var(--ink-2); }
.legend:last-child { margin-bottom: 0; }
.legend li { display: flex; align-items: center; gap: 6px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; }
.legend i.off { background: var(--off); }
.legend i.on { background: var(--ink-2); }
.legend b { color: var(--ink); font-weight: 650; font-variant-numeric: tabular-nums; }
.bars { list-style: none; display: grid; gap: 11px; margin: 0 0 4px; padding: 0; }
.bars li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; font-size: .84rem; }
.bars li > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
.bars li > span:last-child { grid-row: 1; grid-column: 2; font-weight: 650; font-variant-numeric: tabular-nums; }
.track { grid-column: 1 / -1; height: 8px; border-radius: 999px; background: color-mix(in srgb, var(--line-strong) 55%, transparent); }
.fill { display: block; height: 100%; border-radius: 999px; background: var(--ink-2); }
.bars .is-off .fill { background: var(--off); }
.bars .is-off > span:first-child { color: var(--ink); font-weight: 600; }
.thread-card { padding: 20px; border: 1px solid color-mix(in srgb, var(--off) 45%, transparent); border-radius: 16px; background: var(--off-soft); }
.thread-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; padding-right: 30px; }
.thread-card > p { max-width: 62ch; font-size: .95rem; color: var(--ink-2); }
.quote { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; margin: 16px 0 0; padding: 14px 16px; border-radius: 18px 18px 18px 6px; background: var(--surface); }
.quote .avatar { background: var(--off-soft); color: var(--off-ink); }
.quote blockquote { margin: 0; font-size: 1rem; font-weight: 500; line-height: 1.5; }
.quote figcaption { margin-top: 4px; font-size: .76rem; color: var(--ink-3); }
.reply { padding: 18px 20px; border: 1.5px dashed color-mix(in srgb, var(--brand) 45%, transparent); border-radius: 16px; background: var(--brand-softer); }
.reply-label { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; padding-right: 30px; font-size: .82rem; font-weight: 650; color: var(--brand-ink); }
.reply p:last-child { margin: 0; font-size: .98rem; line-height: 1.55; }
.mock-caption { padding: 12px 22px; border-top: 1px solid var(--line); font-size: .78rem; color: var(--ink-3); }
.notes { position: sticky; top: 104px; }
.notes-title { margin: 0 0 8px; font: 600 1.3rem/1.2 var(--font-display); word-spacing: .08em; }
.notes ol { list-style: none; margin: 0; padding: 0; counter-reset: note; }
.notes li { counter-increment: note; position: relative; padding: 15px 0 15px 40px; border-bottom: 1px solid var(--line); font-size: .93rem; line-height: 1.5; color: var(--ink-2); }
.notes li:last-child { border-bottom: 0; }
.notes li::before { content: counter(note); position: absolute; left: 0; top: 15px; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; font: 700 .78rem/1 var(--font-sans); }
.notes li strong { display: block; margin-bottom: 2px; color: var(--ink); }

/* What the report includes: a bento grid */
.bento-title { margin: 112px 0 28px; font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.bento { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0;
    grid-template-areas:
        "hidden hidden summary summary"
        "hidden hidden stance emotions"
        "risks risks questions coordinated"
        "risks risks verifiable sharing"; }
.bento-card { display: flex; flex-direction: column; min-width: 0; padding: 26px; transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out); }
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.bento-card h3 { margin-bottom: 6px; }
.bento-card > p { margin: 0; font-size: .95rem; color: var(--ink-2); }
.bento-visual { flex: 1; margin-bottom: 22px; }
.b-hidden .bento-visual, .b-risks .bento-visual { display: flex; flex-direction: column; justify-content: center; margin-bottom: 28px; }
.b-hidden { grid-area: hidden; padding: 32px; background: var(--night); border-color: var(--night); color: #f5f1ea; }
.b-summary { grid-area: summary; }
.b-stance { grid-area: stance; }
.b-emotions { grid-area: emotions; }
.b-risks { grid-area: risks; padding: 32px; }
.b-questions { grid-area: questions; }
.b-coordinated { grid-area: coordinated; }
.b-verifiable { grid-area: verifiable; }
.b-sharing { grid-area: sharing; }
.b-hidden h3, .b-risks h3 { font-size: 1.7rem; }
.b-hidden > p { color: #d3ccdc; font-size: 1.02rem; }
.b-risks > p { font-size: 1.02rem; }
.snippet { max-width: 46ch; margin: 0 0 10px; padding: 13px 17px; border-radius: 18px 18px 18px 6px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .08); font-size: 1rem; line-height: 1.5; color: #ece7f2; }
.snippet:nth-child(2) { margin-left: 28px; }
.snippet:nth-child(3) { margin-left: 56px; }
.snippet:nth-child(4) { margin-left: 28px; }
.b-hidden .mark { background-image: linear-gradient(transparent 8%, #ffb938 8%, #ffb938 94%, transparent 94%); color: #15131a; }
.b-hidden .mark-neg { text-decoration-color: #ff8f83; }
.bento-figure { display: flex; align-items: baseline; gap: 12px; margin: 22px 0 0; font-size: 1rem; font-weight: 600; color: #ffcb6b; }
.bento-figure b { font: 600 clamp(3.6rem, 7vw, 6rem)/1 var(--font-display); letter-spacing: -0.03em; color: #ffb938; white-space: nowrap; }
.mini-headline { margin: 0; padding: 18px 20px; border-radius: 16px; background: var(--brand-softer); font: 600 1.18rem/1.28 var(--font-display); word-spacing: .08em; color: var(--ink); text-wrap: balance; }
.stance-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9rem; font-weight: 600; }
.stance-row:last-child { border-bottom: 0; }
.chips { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 7px; }
.risk-list { list-style: none; display: grid; gap: 10px; margin: 0; padding: 0; }
.b-risks .bento-visual { justify-content: stretch; }
.b-risks .risk-list { flex: 1; grid-auto-rows: 1fr; }
.risk-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: center; align-items: center; gap: 12px 14px; padding: 18px 20px; border-radius: 18px; background: var(--surface-2); }
.risk-list .risk-risk { background: var(--neg-soft); }
.risk-name { min-width: 0; font-size: 1rem; font-weight: 650; line-height: 1.3; }
.risk-name small { display: block; margin-top: 2px; font-size: .8rem; font-weight: 500; color: var(--ink-3); }
.risk-track { grid-column: 1 / -1; height: 6px; border-radius: 999px; background: color-mix(in srgb, var(--line-strong) 55%, transparent); }
.risk-track span { display: block; height: 100%; border-radius: 999px; background: var(--neg); }
.risk-off .risk-track span { background: var(--off); }
.risk-pos .risk-track span { background: var(--pos); }
.mini-bubble { display: flex; align-items: flex-start; gap: 8px; margin: 0; }
.mini-bubble > span:last-child { padding: 9px 13px; border-radius: 16px 16px 16px 4px; background: var(--surface-2); font-size: .86rem; line-height: 1.4; }
.mini-status { display: flex; align-items: center; gap: 7px; margin: 12px 0 0; font-size: .8rem; font-weight: 600; color: var(--ink-3); }
.b-questions .mini-status { color: var(--brand-ink); }
.dup { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: .8rem; color: var(--ink-2); }
.dup > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 5px 10px; border-radius: 10px; background: var(--surface-2); }
.dup:nth-child(2) { margin-left: 10px; opacity: .85; }
.dup:nth-child(3) { margin-left: 20px; opacity: .7; }
.b-coordinated .avatar { background: var(--neu-soft); color: var(--neu-ink); }
.tag-filter { background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); }
.tag-export { background: var(--ink); color: var(--bg); }
.file { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); font-size: .84rem; font-weight: 600; }
.file .glyph { color: var(--neg-ink); }
.file span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatars { display: inline-flex; }
.avatars .avatar { width: 30px; height: 30px; font-size: .62rem; border: 2px solid var(--surface); }
.avatars .avatar + .avatar { margin-left: -4px; }
.avatars .avatar:nth-child(2) { background: var(--pos-soft); color: var(--pos-ink); }
.avatars .avatar:nth-child(3) { background: var(--neu-soft); color: var(--neu-ink); }

/* When comments are about something else: the night band, where the amber shows */
.offtopic { background: var(--night); color: #f5f1ea; }
.offtopic h2 { color: #fff; }
.offtopic .split > div > p { color: #d3ccdc; }
.offtopic :focus-visible { outline-color: #b9a9ff; }
.cluster { position: relative; display: grid; gap: 18px; margin: 0; }
.cluster-comments { list-style: none; display: grid; gap: 10px; margin: 0; padding: 0 0 0 26px; position: relative; }
.cluster-comments::before { content: ""; position: absolute; left: 6px; top: 18px; bottom: -26px; width: 2px; border-radius: 2px; background: linear-gradient(#ffb938, rgba(255, 185, 56, .2)); }
.cluster-comments li { position: relative; display: flex; align-items: flex-start; gap: 10px; }
.cluster-comments li::before { content: ""; position: absolute; left: -24px; top: 16px; width: 14px; height: 2px; background: #ffb938; opacity: .7; }
.cluster-comments li:nth-child(2) { margin-left: 24px; }
.cluster-comments li:nth-child(3) { margin-left: 48px; }
.cluster-comments li:nth-child(2)::before { left: -48px; width: 38px; }
.cluster-comments li:nth-child(3)::before { left: -72px; width: 62px; }
.cluster-comments .avatar { background: rgba(255, 185, 56, .18); color: #ffcb6b; }
.cluster-comments p { margin: 0; padding: 11px 15px; border-radius: 18px 18px 18px 6px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .09); font-size: .95rem; line-height: 1.5; color: #ece7f2; }
.cluster .mark { background-image: linear-gradient(transparent 8%, #ffb938 8%, #ffb938 94%, transparent 94%); color: #15131a; }
.cluster-thread { margin-left: 26px; padding: 24px; border: 1px solid rgba(255, 185, 56, .4); border-radius: var(--radius-lg); background: var(--night-2); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.cluster-thread .tag-off { background: #ffb938; color: #15131a; }
.cluster-thread .tag-risk { background: #ff6b5b; color: #15131a; }
.cluster-thread .tag-risk::before { background: #15131a; }
.cluster-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 18px 0 0; }
.cluster-stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 2px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .05); }
.cluster-stats dt { font-size: .8rem; font-weight: 600; color: #bdb5c8; }
.cluster-stats dd { margin: 0; font: 600 2.3rem/1.05 var(--font-display); letter-spacing: -0.02em; color: #fff; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cluster-stats > div:first-child dd { color: #ffb938; }
.cluster figcaption { margin-left: 26px; font-size: .78rem; color: #a9a1b4; }

/* Audiences */
.audiences { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; }
.audience { padding: 30px 28px; transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out); }
.audience:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.audience h3 { margin: 26px 0 10px; font-size: 1.32rem; }
.audience p { margin: 0; color: var(--ink-2); font-size: .98rem; }
.audience-comms .glyph-badge { background: var(--neg-soft); color: var(--neg-ink); }
.audience-cm .glyph-badge { background: var(--pos-soft); color: var(--pos-ink); }
.audience-strategy .glyph-badge { background: var(--off-soft); color: var(--off-ink); }

/* Privacy: a warm violet band */
.privacy { background: var(--brand-softer); }
.privacy .split { align-items: center; }
.pseudo { max-width: 460px; margin: 36px 0 0; padding: 24px 26px 20px; box-shadow: var(--shadow); }
.pseudo-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.pseudo-title { margin: 0; font-size: .9rem; font-weight: 650; }
.pseudo-rows { list-style: none; display: grid; gap: 12px; margin: 0; padding: 0; }
.pseudo-rows li { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-radius: 14px; background: var(--surface-2); }
.pseudo-rows s { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; text-decoration: none; font-weight: 600; color: var(--ink-3); background: linear-gradient(var(--neg), var(--neg)) 0 55% / 100% 2px no-repeat; }
.pseudo-rows .icon { color: var(--ink-3); }
.pseudo-rows b { display: inline-flex; min-width: 48px; justify-content: center; padding: 4px 12px; border-radius: 999px; background: var(--brand); color: #fff; font-size: .88rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.pseudo figcaption { margin-top: 14px; font-size: .78rem; color: var(--ink-3); }
@media (prefers-reduced-motion: no-preference) {
    .js [data-pseudo]:not(.is-on) .pseudo-rows s { background-size: 0 2px; color: var(--ink); }
    .js [data-pseudo]:not(.is-on) .pseudo-rows .icon,
    .js [data-pseudo]:not(.is-on) .pseudo-rows b { opacity: 0; }
    [data-pseudo].is-on .pseudo-rows s { animation: strike .6s var(--ease-out) calc(var(--i) * 450ms + 150ms) both; }
    [data-pseudo].is-on .pseudo-rows .icon { animation: nudge .4s var(--ease-out) calc(var(--i) * 450ms + 500ms) both; }
    [data-pseudo].is-on .pseudo-rows b { animation: pop .55s var(--ease-out) calc(var(--i) * 450ms + 650ms) both; }
}
@keyframes strike { from { background-size: 0 2px; color: var(--ink); } to { background-size: 100% 2px; color: var(--ink-3); } }
@keyframes nudge { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
.privacy-list { list-style: none; display: grid; margin: 0; padding: 0; }
.privacy-list li { display: flex; align-items: flex-start; gap: 20px; padding: 22px 0; border-bottom: 1px solid color-mix(in srgb, var(--brand) 22%, var(--line)); }
.privacy-list li:first-child { padding-top: 0; }
.privacy-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.privacy-list p { margin: 0; font-size: .98rem; color: var(--ink-2); }
.privacy-list strong { display: block; margin-bottom: 2px; font: 600 1.1rem/1.3 var(--font-display); word-spacing: .08em; color: var(--ink); }
.privacy-list .glyph-badge { width: 48px; height: 48px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-sm); }

/* Pricing */
.plans { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; }
.plan { display: flex; flex-direction: column; padding: 32px 30px 30px; transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out); }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan h3 { margin: 0 0 8px; font-size: 1.7rem; }
.plan-text { color: var(--ink-2); font-size: .98rem; }
.plan-list { list-style: none; display: grid; gap: 10px; margin: 6px 0 28px; padding: 0; }
.plan-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .95rem; }
.plan-list .icon { width: 20px; height: 20px; padding: 3px; margin-top: 2px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-ink); }
.plan-price { margin: auto 0 16px; padding-top: 20px; border-top: 1px solid var(--line); font: 600 1.3rem/1.2 var(--font-display); word-spacing: .08em; }
.plan .btn { width: 100%; }
.plan { border-top: 4px solid var(--brand); }
.plan-monthly { border-top-color: var(--pos); }
.plan-crisis { border-top-color: var(--coral); }

/* FAQ: a clean accordion with + / − */
.split-faq { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
.split-faq h2 { position: sticky; top: 112px; }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq details:first-child { border-top: 1px solid var(--line-strong); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-size: 1.1rem; font-weight: 600; line-height: 1.4; cursor: pointer; list-style: none; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--brand-ink); }
.faq-toggle { position: relative; flex: none; width: 34px; height: 34px; border: 1.5px solid var(--line-strong); border-radius: 50%; transition: background-color .25s, border-color .25s; }
.faq-toggle::before, .faq-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease-out), background-color .25s; }
.faq-toggle::after { transform: rotate(90deg); }
.faq summary:hover .faq-toggle { border-color: var(--brand); }
.faq details[open] .faq-toggle { background: var(--brand); border-color: var(--brand); }
.faq details[open] .faq-toggle::before, .faq details[open] .faq-toggle::after { background: #fff; }
.faq details[open] .faq-toggle::after { transform: rotate(0deg); }
.faq details p { max-width: 62ch; margin: -6px 54px 26px 0; color: var(--ink-2); }

/* Closing call and contact: the mesh again, the form on a white card */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: center; }
.display-2 { font-size: clamp(2.7rem, 5.6vw, 4.8rem); line-height: 1; letter-spacing: -0.02em; }
.contact-copy > p { max-width: 30em; font-size: 1.15rem; color: var(--ink-2); }
.contact-direct { list-style: none; display: grid; gap: 6px; margin: 32px 0 0; padding: 0; font: 600 1.3rem/1.3 var(--font-display); word-spacing: .08em; }
.contact-direct a { text-decoration-thickness: 1.5px; text-underline-offset: 6px; text-decoration-color: color-mix(in srgb, var(--brand) 50%, transparent); }
.contact-form { display: grid; gap: 18px; padding: 36px; border-radius: 28px; box-shadow: var(--shadow-lg); }
.form-title { margin: 0; font-size: 1.6rem; }
.contact-form label { display: grid; gap: 7px; font-size: .9rem; font-weight: 600; }
.contact-form input[type=text], .contact-form input[type=email], .contact-form input[type=tel], .contact-form textarea {
    width: 100%; padding: 13px 15px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); font: 400 1rem/1.4 var(--font-sans); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.contact-form textarea { resize: vertical; }
.contact-form input:hover, .contact-form textarea:hover { border-color: var(--ink-3); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 30%, transparent); }
.contact-form textarea::placeholder { color: var(--ink-3); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.optional { color: var(--ink-3); font-weight: 400; }
.contact-form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.contact-form .check input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--brand); }
.legal-first-layer { margin: 0; font-size: .78rem; line-height: 1.55; color: var(--ink-3); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 12px 14px; border: 1px solid; border-radius: var(--radius-sm); font-size: .95rem; }
.alert .icon { margin-top: 4px; }
.alert-ok { border-color: color-mix(in srgb, var(--pos) 45%, transparent); background: var(--pos-soft); color: var(--pos-ink); }
.alert-error { border-color: color-mix(in srgb, var(--neg) 45%, transparent); background: var(--neg-soft); color: var(--neg-ink); }
.contact-form .btn { justify-self: start; }

/* Legal pages and 404 */
.legal { padding: 72px 0 112px; }
.legal .narrow { max-width: var(--wrap); }
.legal .narrow > * { max-width: 760px; }
.legal h1 { font-size: clamp(2.4rem, 4.8vw, 3.6rem); }
.legal h2 { margin-top: 2.2em; font-size: 1.45rem; letter-spacing: -0.005em; }
.legal p, .legal li { color: var(--ink-2); }
.legal a { color: var(--brand-ink); }
.legal table { display: block; width: 100%; overflow-x: auto; margin: 1em 0 1.5em; border-collapse: collapse; border-radius: var(--radius-sm); background: var(--surface); font-size: .92rem; }
.legal th, .legal td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal th { color: var(--ink); font-weight: 650; border-bottom: 2px solid var(--ink); }
.legal .updated { color: var(--ink-3); font-size: .9rem; }

/* Footer */
.site-footer { padding: 80px 0 32px; background: var(--night); color: #cfc8d8; }
.site-footer a, .site-footer .linklike { color: #fff; }
.site-footer .brand { color: #fff; }
.site-footer .muted { color: #a9a1b4; }
.site-footer :focus-visible { outline-color: #b9a9ff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.brand-footer { margin-bottom: 16px; }
.site-footer p { max-width: 28em; }
.footer-title { margin-bottom: 14px; font-size: 1.05rem; color: #fff; }
.footer-list { list-style: none; display: grid; gap: 9px; margin: 0; padding: 0; font-size: .95rem; }
.footer-list a, .footer-list .linklike { color: #cfc8d8; text-decoration: none; }
.footer-list a:hover, .footer-list .linklike:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 64px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom .lang-switch { border-color: rgba(255, 255, 255, .14); background: transparent; }
.footer-bottom .lang-switch a { color: #cfc8d8; }
.footer-bottom .lang-switch a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.footer-bottom .lang-switch a[aria-current] { color: #15131a; background: #fff; }

/* Cookie notice */
.cookie-banner { position: fixed; inset: auto auto 16px 16px; z-index: 90; display: flex; justify-content: flex-start; max-width: calc(100% - 32px); }
.cookie-banner[hidden] { display: none; }
.cookie-box { width: 100%; max-width: 440px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-lg); }
.cookie-title { margin-bottom: 6px; font-size: 1.15rem; }
.cookie-box p { margin-bottom: 14px; font-size: .93rem; color: var(--ink-2); }
.cookie-options { display: grid; gap: 10px; margin-bottom: 14px; }
.cookie-options[hidden] { display: none; }
.toggle { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.toggle input { margin-top: 5px; accent-color: var(--brand); }
.cookie-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.cookie-actions .btn { min-height: 42px; padding: .55em 1.15em; font-size: .92rem; }
.cookie-actions [hidden] { display: none; }
@media (min-width: 1081px) {
    .cookie-banner { inset: auto 16px 16px 16px; max-width: none; justify-content: center; }
    .cookie-box { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; max-width: calc(var(--wrap) - 2 * var(--gutter)); padding: 14px 16px 14px 24px; border-radius: 999px; }
    .cookie-title { margin: 0; font-size: 1rem; }
    .cookie-box p { flex: 1 1 380px; margin: 0; font-size: .86rem; }
    .cookie-options { flex-basis: 100%; order: 3; margin: 4px 0; }
    .cookie-actions { margin-left: auto; }
    .cookie-box:has(.cookie-options:not([hidden])) { border-radius: var(--radius); }
}

/* Extension guide */
.guide { padding: 72px 0 112px; }
.guide-head { max-width: 760px; }
.guide h1 { font-size: clamp(2.5rem, 5vw, 3.8rem); }
.guide-head .lead { font-size: 1.15rem; color: var(--ink-2); }
.download { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; }
.download-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; font-size: .92rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.guide-section { max-width: 820px; margin-top: 72px; }
.guide-section > h2 { margin-bottom: 24px; font-size: 1.9rem; }
.guide-steps { list-style: none; margin: 0; padding: 0; counter-reset: step; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.guide-steps > li { counter-increment: step; position: relative; padding: 24px 28px 20px 84px; border-bottom: 1px solid var(--line); }
.guide-steps > li:last-child { border-bottom: 0; }
.guide-steps > li::before { content: counter(step); position: absolute; left: 26px; top: 22px; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-ink); font: 600 1rem/1 var(--font-display); }
.guide-steps h3 { margin: 0 0 6px; font-size: 1.2rem; }
.guide-steps p { margin: 0 0 .7em; color: var(--ink-2); }
.guide-steps p:last-child { margin-bottom: 0; }
.guide-steps-compact > li { padding-top: 16px; padding-bottom: 16px; }
.guide-steps-compact > li::before { top: 14px; }
.guide code { padding: 1px 6px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface-2); font-family: var(--font-mono); font-size: .86em; white-space: nowrap; }
.guide-note { margin: 20px 0 0; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink-2); }
.guide-section > .ruled { border-top: 2px solid var(--ink); }
.faq-list { margin: 0; border-top: 1px solid var(--line-strong); }
.faq-list > div { padding: 18px 0; border-bottom: 1px solid var(--line-strong); }
.faq-list dt { font-weight: 650; }
.faq-list dd { margin: 4px 0 0; color: var(--ink-2); }

/* Illustrative mock-ups of Chrome and the extension (always light, like the real UI) */
.ui-mock { max-width: 520px; margin: 16px 0 6px; padding: 14px; border: 1px solid #d2c9bc; border-radius: 12px; background: #fff; color: #15131a; font-size: .84rem; box-shadow: var(--shadow-sm); }
.ui-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid #e9e2d7; }
.ui-title { font-weight: 700; }
.ui-toggle { display: inline-flex; align-items: center; gap: 8px; color: #48434f; }
.ui-switch { position: relative; width: 30px; height: 16px; border-radius: 999px; background: #d2c9bc; }
.ui-switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.ui-switch.is-on { background: #1a73e8; }
.ui-switch.is-on::after { left: 16px; }
.ui-actions { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 12px; }
.ui-button { display: inline-block; padding: 5px 10px; border: 1px solid #d2c9bc; border-radius: 6px; background: #fff; color: #15131a; font-size: .8rem; font-weight: 600; }
.ui-button.is-primary { background: #15131a; color: #fff; border-color: #15131a; }
.ui-target { background: linear-gradient(transparent 12%, #ffd98a 12% 92%, transparent 92%); border-color: #f5a524; }
.ui-button.is-primary.ui-target { outline: 3px solid #ffb938; outline-offset: 2px; }
.ui-popup { display: grid; gap: 10px; max-width: 300px; }
.ui-popup-head { display: flex; align-items: center; gap: 8px; font-weight: 750; }
.ui-popup-head img { width: 18px; height: 18px; }
.ui-popup-head span { margin-left: auto; font-weight: 500; color: #696370; }
.ui-figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ui-figures small { display: block; font-size: .68rem; font-weight: 500; color: #696370; }
.ui-check { font-size: .78rem; font-weight: 600; }
.ui-check::before { content: ""; display: inline-block; width: 11px; height: 11px; margin-right: 6px; border: 1.5px solid #48434f; border-radius: 2px; vertical-align: -1px; }

/* Responsive */
@media (min-width: 1440px) {
    .hero-stage { grid-template-columns: minmax(0, 1fr) minmax(0, 740px) minmax(0, 1fr); }
}
@media (max-width: 1239px) {
    .hero h1 { font-size: clamp(2.9rem, 6.6vw, 4.6rem); }
    .bubbles { max-width: 860px; margin-inline: auto; }
    .bubble:nth-child(even) { margin-top: 28px; }
    .bubble:nth-child(odd) .bubble-card { rotate: -1deg; }
    .bubble:nth-child(even) .bubble-card { rotate: 1deg; }
}
@media (max-width: 1080px) {
    :root { --section-y: 96px; }
    .main-nav { display: none; }
    .mobile-menu { display: block; }
    .split, .contact-grid, .metrics-top { grid-template-columns: 1fr; gap: 44px; }
    .split-faq h2, .notes { position: static; }
    .insight-cards, .audiences { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
    .timeline li:nth-child(2) .step-marker::after { display: none; }
    .specimen { grid-template-columns: 1fr; }
    .notes ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
    .notes li:nth-last-child(2) { border-bottom: 0; }
    .bento { grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas: "hidden hidden" "summary summary" "stance emotions" "risks risks" "questions coordinated" "verifiable sharing"; }
    .plans { grid-template-columns: 1fr; max-width: 560px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
    .mock-body { grid-template-columns: 1fr; padding: 14px; }
    .mock-block:nth-child(3), .mock-block:nth-child(4) { grid-column: 1; }
    .mock-block { padding: 18px; }
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .notes ol { grid-template-columns: 1fr; }
    .notes li:nth-last-child(2) { border-bottom: 1px solid var(--line); }
    .mock-url { transform: none; margin-left: 0; }
}
@media (max-width: 640px) {
    :root { --gutter: 18px; --section-y: 76px; }
    h2 { font-size: clamp(2rem, 9vw, 2.5rem); }
    .header-row { gap: 12px; height: 64px; }
    .header-actions { gap: 8px; }
    .header-actions .link-quiet, .header-actions .lang-switch { display: none; }
    .brand { font-size: 1.22rem; gap: 8px; }
    .brand-mark { width: 28px; height: 28px; }
    .header-actions .btn-sm { white-space: nowrap; padding-inline: 1em; font-size: .88rem; }
    .hero { padding: 40px 0 48px; }
    .hero h1 { font-size: clamp(2rem, 10.4vw, 3.3rem); }
    .hero .lead { font-size: 1.05rem; }
    .hero-actions .btn { width: 100%; }
    .bubbles { grid-template-columns: 1fr; gap: 12px; margin-top: 36px; }
    .bubble { max-width: 90%; }
    .bubble:nth-child(even) { margin-top: 0; justify-self: end; }
    .bubble:nth-child(even) .bubble-card { border-radius: 22px 22px 6px 22px; }
    .bubble:nth-child(6) { display: none; }
    .proof-networks { gap: 4px 22px; font-size: 1.15rem; }
    .section-head { margin-bottom: 36px; }
    .big-num { font-size: clamp(6rem, 34vw, 8.5rem); }
    .insight-cards, .audiences, .timeline, .field-row, .footer-grid, .cluster-stats { grid-template-columns: 1fr; }
    .insight-cards { margin-top: 48px; gap: 14px; }
    .timeline { gap: 0; }
    .timeline li { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 16px; padding-bottom: 32px; }
    .timeline li:last-child { padding-bottom: 0; }
    .step-marker { grid-row: 1 / span 2; flex-direction: column; align-self: stretch; gap: 10px; margin: 0; }
    .step-num { font-size: 2.6rem; }
    .step-icon { width: 46px; height: 46px; }
    .timeline li:not(:last-child) .step-marker::after, .timeline li:nth-child(2) .step-marker::after { display: block; flex: 1; width: 2px; height: auto; margin: 0 0 -32px; background: linear-gradient(var(--brand), var(--coral)); }
    .timeline h3 { margin-top: 8px; }
    .bento-title { margin-top: 72px; }
    .bento { grid-template-columns: 1fr; gap: 14px;
        grid-template-areas: "hidden" "summary" "stance" "emotions" "risks" "questions" "coordinated" "verifiable" "sharing"; }
    .b-hidden, .b-risks { padding: 26px 22px; }
    .b-hidden h3, .b-risks h3 { font-size: 1.45rem; }
    .snippet:nth-child(2) { margin-left: 14px; }
    .snippet:nth-child(3) { margin-left: 28px; }
    .snippet:nth-child(4) { margin-left: 14px; }
    .stats { padding-right: 0; }
    .stats .num { font-size: 1.7rem; }
    .cluster-comments li:nth-child(2) { margin-left: 12px; }
    .cluster-comments li:nth-child(3) { margin-left: 24px; }
    .cluster-comments li:nth-child(2)::before { left: -36px; width: 26px; }
    .cluster-comments li:nth-child(3)::before { left: -48px; width: 38px; }
    .cluster-thread { margin-left: 0; padding: 20px; }
    .cluster figcaption { margin-left: 0; }
    .cluster-stats > div { flex-direction: row-reverse; justify-content: flex-end; align-items: baseline; gap: 12px; }
    .pseudo { padding: 20px; }
    .privacy-list li { gap: 14px; }
    .faq summary { font-size: 1.02rem; padding: 20px 0; }
    .faq details p { margin-right: 0; }
    .contact-form { padding: 24px 20px; border-radius: var(--radius-lg); }
    .contact-form .btn { justify-self: stretch; }
    .cookie-banner { inset: auto 12px 12px 12px; max-width: none; }
    .cookie-box { max-width: none; }
    .cookie-actions .btn { flex: 1 1 auto; }
    .guide { padding: 48px 0 72px; }
    .guide-steps > li { padding-left: 66px; padding-right: 18px; }
    .guide-steps > li::before { left: 16px; }
    .guide code { white-space: normal; word-break: break-all; }
}
/* Narrow phones: the header keeps the logo mark (the link has an aria-label) so the CTA and the menu button fit. */
@media (max-width: 374px) {
    .site-header .brand > span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
    .site-header, .cookie-banner, .site-footer { display: none; }
    body { background: #fff; }
    .mesh::before { display: none; }
}
