/* AAA proposal v3 kit. Visual language of the 7am landing lab, base = work/front-v7-brand (founder 2026-11-22: Inter Light
   headlines look better than the v8 panel scale). Values copied from front-v7-brand/base.css, landing-v7/_shared/tokens-v7.css
   and the lab parts (hero, cobros, marca, puerta, medida, empezar). Read-only source: 7am_landing_lab. Style guide:
   notes/agent-out/v3/landing-style-kit.md.
   Load order: font.css, then kit.css. Set the palette with <html data-direction="arena|oro|lab">. A new direction only
   overrides the ACCENT block below; surfaces, text greys, status, product UI and radii stay fixed. */

/* ===== 1. Fixed tokens (same in every direction) ===== */
:root {
  --shade: 10 13 21; --glow: 255 255 255; --sf-dark-rgb: 14 16 17; --sf-light-rgb: 247 247 247;
  /* surfaces */
  --sf-dark: #0e1011; --sf-dark-raised: #17191c; --sf-dark-control: #28292f;
  --sf-light: #f7f7f7; --sf-light-card: #fcfcfc; --sf-light-control: #f2f2f3; --sf-light-hover: #e9eaec;
  /* text */
  --tx-on-dark: #fafafa; --tx-on-dark-2: #bcbdbe; --tx-on-dark-3: #94969b;
  --tx-on-light: #0a0d15; --tx-on-light-2: #626a7a; --tx-on-light-tag: #343b46; --tx-mute-light: #89909f;
  /* lines */
  --ln-on-light: rgb(var(--shade) / 0.10); --ln-on-light-strong: rgb(var(--shade) / 0.20); --ln-input-light: #626a7a;
  --ln-on-dark: rgb(var(--glow) / 0.12); --ln-on-dark-strong: rgb(var(--glow) / 0.24); --ln-input-dark: rgb(var(--glow) / 0.40);
  --act-ghost-hover: rgba(127, 127, 127, 0.16);
  --scrim: rgba(10, 13, 21, 0.7);
  /* status (DS) */
  --ok-text-light: #346a4f; --ok-fill: #3da06e; --ok-on-dark: #6ec499; --ok-soft-light: #e3f7ed; --ok-soft-dark: #1c2b25;
  --warn-text-light: #835e23; --warn-fill: #f3af43; --warn-on-dark: #f3af43; --warn-soft-light: #fcecd3; --warn-soft-dark: #27231b;
  --err-text-light: #bd2732; --err-fill: #d42331; --err-on-dark: #f6939b; --err-soft-light: #fce2e4;
  /* product UI inside mocks = 7am panel / staff app truth (DS values). These stay 7am blue whatever the direction. */
  --ui-light-bg: #f7f7f7; --ui-light-card: #fcfcfc; --ui-light-control: #f2f2f3; --ui-light-line: #e2e2e4; --ui-light-tx: #0a0d15; --ui-light-tx2: #626a7a;
  --ui-dark-bg: #0e1011; --ui-dark-card: #17191c; --ui-dark-control: #28292f; --ui-dark-line: #323539; --ui-dark-tx: #fafafa; --ui-dark-tx2: #bcbdbe; --ui-dark-tx3: #94969b;
  --ui-brand: #1e5bea; --ui-brand-fg: #fcfcfc; --ui-brand-soft: #f2f5fd; --ui-brand-dark: #3f75f7; --ui-brand-text-dark: #6390f8;
  /* seat map (DS) */
  --seat-z1: #3f75f7; --seat-z2: #f09e19; --seat-z3: #bc52c6; --seat-free-dark: #626469; --seat-sold-dark: #4e5155;
  /* shadows */
  --e2: 0 1px 2px rgb(var(--shade) / 0.06), 0 12px 24px rgb(var(--shade) / 0.06);
  --e3: 0 2px 4px rgb(var(--shade) / 0.1), 0 24px 48px rgb(var(--shade) / 0.18);
  --e-float: 0 30px 60px -20px rgb(var(--shade) / 0.6);       /* browser window on ink (puerta) */
  --e-card-ink: 0 40px 80px -40px rgb(var(--shade) / 0.9);       /* hero card on ink */
  /* radii, rhythm, motion */
  --r-seam: 24px; --r-stage: 24px; --r-inner: 16px; --r-pill: 999px;
  --sec: 80px; --head: 32px; --seam: 96px; --gutter: 16px; --max: 1260px; --gap: 16px; --header-h: 64px;
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1); --ease-inout: cubic-bezier(0.45, 0, 0.55, 1);
  --ease-ui: cubic-bezier(0.3, 0, 0.2, 1); --ease: cubic-bezier(0.19, 0.91, 0.38, 1);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
}
@media (min-width: 640px) { :root { --sec: 96px; --head: 40px; --seam: 120px; --gutter: 32px; --gap: 24px; --r-seam: 32px; } }
@media (min-width: 900px) { :root { --sec: 128px; --head: 56px; --seam: 160px; --gutter: 48px; --r-seam: 48px; --header-h: 72px; } }
@media (min-width: 1200px) { :root { --gutter: 90px; } }

/* ===== 2. ACCENT block: the only thing a direction sets ===== */
/* lab = 7am action blue, the reference (front-v7-brand data-theme="action") */
:root, :root[data-direction="lab"] {
  --accent-rgb: 63 117 247;
  --accent-light: #1e5bea; --accent-dark: #3f75f7;            /* fills and strokes on light / dark */
  --accent-text-light: #1c4dbf; --accent-text-dark: #6390f8;  /* accent-coloured TEXT on light / dark */
  --accent-soft-light: #e2e9fb; --accent-soft-dark: #252e44;  /* chip grounds */
  --accent-2-dark: #89aaf7;                                   /* second accent on dark (meter gradient end) */
  --link-on-light: #1c4dbf; --link-on-dark: #6390f8;
  --act-light-bg: #1e5bea; --act-light-fg: #ffffff; --act-light-hover: #1c4dbf;   /* .btn */
  --act-dark-bg: #1e5bea; --act-dark-fg: #ffffff; --act-dark-hover: #1c4dbf;      /* .btn--white on ink */
  --act-band-bg: #ffffff; --act-band-fg: #1c4dbf; --act-band-hover: #e2e9fb;      /* button on the closing band */
  --focus-light: #3f75f7; --focus-dark: #6390f8; --focus-band: #ffffff;
  --band-close: #1e5bea; --tx-on-band: #ffffff; --tx-on-band-2: #e2e9fb; --ln-on-band: rgb(255 255 255 / 0.24);
  /* organiser colour inside shop / checkout / ticket mocks (never 7am blue in the lab: the shop is the organiser's) */
  --org-accent: #e2462a; --org-accent-strong: #c23a1f; --org-rgb: 226 70 42; --org-fg: #ffffff;
}
/* arena = AAA badge red as the one action colour on ink and paper (red sampled from logo-aaa-badge: about #d0202a).
   Contrast (WCAG): white on #c81e28 5.72; #c81e28 on ink 3.34 (UI); #ff7a7f on ink 7.58; #b01b24 on paper 6.47. */
:root[data-direction="arena"] {
  --accent-rgb: 208 32 42;
  --accent-light: #d0202a; --accent-dark: #e5383f;
  --accent-text-light: #b01b24; --accent-text-dark: #ff7a7f;
  --accent-soft-light: #fde4e5; --accent-soft-dark: #2e1a1c;
  --accent-2-dark: #f7a8ab;
  --link-on-light: #b01b24; --link-on-dark: #ff7a7f;
  --act-light-bg: #c81e28; --act-light-fg: #ffffff; --act-light-hover: #a8171f;
  --act-dark-bg: #c81e28; --act-dark-fg: #ffffff; --act-dark-hover: #a8171f;
  --act-band-bg: #ffffff; --act-band-fg: #b01b24; --act-band-hover: #fde4e5;
  --focus-light: #d0202a; --focus-dark: #ff7a7f; --focus-band: #ffffff;
  --band-close: #b01b24; --tx-on-band: #ffffff; --tx-on-band-2: #fde4e5; --ln-on-band: rgb(255 255 255 / 0.24);
  --org-accent: #d0202a; --org-accent-strong: #c81e28; --org-rgb: 208 32 42; --org-fg: #ffffff;
}
/* oro = event-night gold (Guerra de Titanes key visual) on ink, red stays for the AAA shop mocks.
   Contrast: ink on #e0b456 10.02; #e0b456 on ink 9.84; #7d5a12 on paper 5.86; #b8862b on paper 3.02 (UI only, never text). */
:root[data-direction="oro"] {
  --accent-rgb: 224 180 86;
  --accent-light: #b8862b; --accent-dark: #e0b456;
  --accent-text-light: #7d5a12; --accent-text-dark: #ecc977;
  --accent-soft-light: #f6ecd6; --accent-soft-dark: #2a2416;
  --accent-2-dark: #f3dba0;
  --link-on-light: #7d5a12; --link-on-dark: #ecc977;
  --act-light-bg: #0a0d15; --act-light-fg: #fcfcfc; --act-light-hover: #28292f;   /* on paper the action is ink */
  --act-dark-bg: #e0b456; --act-dark-fg: #0a0d15; --act-dark-hover: #c99d3f;      /* on ink the action is gold */
  --act-band-bg: #0a0d15; --act-band-fg: #ecc977; --act-band-hover: #28292f;
  --focus-light: #7d5a12; --focus-dark: #ecc977; --focus-band: #0a0d15;
  --band-close: #e0b456; --tx-on-band: #0a0d15; --tx-on-band-2: #3a2c0c; --ln-on-band: rgb(10 13 21 / 0.24);
  --org-accent: #d0202a; --org-accent-strong: #c81e28; --org-rgb: 208 32 42; --org-fg: #ffffff;
}

/* ===== 3. Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.5; color: var(--tx-on-light); background: var(--sf-dark); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
@media (min-width: 900px) { body { font-size: 18px; } }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
svg { display: block; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--focus-light); outline-offset: 3px; }
.on-ink :focus-visible, [data-surface="ink"] :focus-visible { outline-color: var(--focus-dark); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nums { font-variant-numeric: tabular-nums; }

/* ===== 4. Type (front-v7-brand scale: light display, regular body) ===== */
.h1 { font-size: 44px; line-height: 1.04; font-weight: 300; letter-spacing: -0.02em; text-wrap: balance; }
.h2 { font-size: 34px; line-height: 1.08; font-weight: 300; letter-spacing: -0.02em; text-wrap: balance; }
.h3 { font-size: 24px; line-height: 1.2; font-weight: 400; letter-spacing: -0.01em; text-wrap: balance; }
.h4 { font-size: 19px; line-height: 1.25; font-weight: 450; letter-spacing: -0.01em; text-wrap: balance; } /* card titles (medida-t) */
.lead { font-size: 20px; line-height: 1.45; max-width: 32em; text-wrap: pretty; }                            /* hero sub */
.body { font-size: 17px; line-height: 1.5; max-width: 60ch; text-wrap: pretty; }
.small { font-size: 15px; line-height: 1.4; text-wrap: pretty; }
.label { font-size: 13px; line-height: 1.4; }
.quote { font-size: 21px; line-height: 1.28; font-weight: 300; letter-spacing: -0.01em; text-indent: -0.42em; text-wrap: balance; }
@media (min-width: 640px) { .h1 { font-size: 60px; } .h2 { font-size: 44px; } .lead { font-size: 19px; } }
@media (min-width: 900px) { .h1 { font-size: 72px; } .h2 { font-size: 48px; } .h3 { font-size: 28px; } .body { font-size: 18px; } .lead { font-size: 20px; } .quote { font-size: 32px; } }
@media (min-width: 1200px) { .h1 { font-size: 88px; } .h2 { font-size: 56px; } .lead { font-size: 22px; } }
.eyebrow { display: block; margin-bottom: 16px; font-size: 13px; line-height: 1.3; font-weight: 550; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tx-on-light-2); }
.eyebrow--accent { font-size: 15px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--accent-text-light); } /* hero line "Para ..." */
.dim { color: var(--tx-on-light-2); }
.on-ink .eyebrow, [data-surface="ink"] .eyebrow, .on-ink .dim, [data-surface="ink"] .dim { color: var(--tx-on-dark-2); }
.on-ink .eyebrow--accent, [data-surface="ink"] .eyebrow--accent { color: var(--accent-text-dark); }
.accent-text { color: var(--accent-text-light); }
.on-ink .accent-text, [data-surface="ink"] .accent-text { color: var(--accent-text-dark); }

/* ===== 5. Layout, chapters, seams ===== */
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: var(--sec); }
.head { margin-bottom: var(--head); }
.grid12 { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap); }
@media (min-width: 900px) { .grid12 { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; } }
.chapter { position: relative; }
.chapter[data-surface="ink"], .on-ink { background: var(--sf-dark); color: var(--tx-on-dark); }
.chapter[data-surface="paper"], .on-paper { background: var(--sf-light); color: var(--tx-on-light); }
/* the seam: each chapter after the first overlaps the previous one with a rounded top */
.chapter + .chapter { border-radius: var(--r-seam) var(--r-seam) 0 0; margin-top: calc(-1 * var(--r-seam)); z-index: 1; }
.chapter + .chapter > :first-child { padding-top: var(--seam); }
.chapter > .sec + .sec { padding-top: 0; }
/* closing band: full-width accent ground, dark tokens re-scoped so parts work on it unchanged */
[data-band="close"] { background: var(--band-close); color: var(--tx-on-band);
  --tx-on-dark: var(--tx-on-band); --tx-on-dark-2: var(--tx-on-band-2); --tx-on-dark-3: var(--tx-on-band-2);
  --ln-on-dark: var(--ln-on-band); --ln-on-dark-strong: var(--ln-on-band);
  --act-dark-bg: var(--act-band-bg); --act-dark-fg: var(--act-band-fg); --act-dark-hover: var(--act-band-hover);
  --focus-dark: var(--focus-band); --link-on-dark: var(--tx-on-band); }
[data-band="close"] .eyebrow, [data-band="close"] .dim { color: var(--tx-on-band-2); }

/* hero glow: two radial washes of the accent, masked to fade before the next section */
.glow { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.glow i { position: absolute; border-radius: 50%; }
.glow i:nth-child(1) { width: 64vmax; height: 64vmax; right: -24vmax; top: -30vmax; background: radial-gradient(closest-side, rgb(var(--accent-rgb) / 0.42), rgb(var(--accent-rgb) / 0.12) 55%, transparent); }
.glow i:nth-child(2) { width: 40vmax; height: 40vmax; left: -18vmax; bottom: -8vmax; background: radial-gradient(closest-side, rgb(var(--accent-rgb) / 0.26), transparent); }

/* ===== 6. Buttons, links, pills, chips ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 22px; border: 0; border-radius: var(--r-pill); background: var(--act-light-bg); color: var(--act-light-fg); font-size: 16px; line-height: 24px; font-weight: 550; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color 160ms var(--ease-ui), box-shadow 160ms var(--ease-ui); }
.btn--white, .on-ink .btn:not(.btn--ghost), [data-surface="ink"] .btn:not(.btn--ghost) { background: var(--act-dark-bg); color: var(--act-dark-fg); }
.btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--sm { min-height: 44px; padding: 8px 20px; font-size: 15px; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--act-light-hover); }
  .on-ink .btn:not(.btn--ghost):hover, [data-surface="ink"] .btn:not(.btn--ghost):hover, .btn--white:hover { background: var(--act-dark-hover); }
  .btn--ghost:hover { background: var(--act-ghost-hover); }
}
.btn svg, .textbtn svg { width: 16px; height: 16px; flex: none; }
.textbtn { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 12px 0; min-height: 44px; font-size: 15px; font-weight: 550; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; color: var(--link-on-light); }
.on-ink .textbtn, [data-surface="ink"] .textbtn { color: var(--link-on-dark); }
/* tag: the small caps label every mock carries ("EJEMPLO") */
.tag { display: inline-block; padding: 6px 12px; border-radius: var(--r-pill); font-size: 12px; line-height: 1.3; font-weight: 550; letter-spacing: 0.06em; text-transform: uppercase; background: rgb(var(--shade) / 0.07); color: var(--tx-on-light-tag); }
.on-ink .tag, [data-surface="ink"] .tag, .tag--ink { background: rgb(var(--glow) / 0.1); color: var(--tx-on-dark-2); }
/* a light object on an ink chapter, or an ink object on a paper chapter, decides its own tag and chip colours */
:is(.card:not(.card--ink), .m-float, .m-stat--light, .stage--paper, .stage--grid, .m-win, .m-card) .tag { background: rgb(var(--shade) / 0.07); color: var(--tx-on-light-tag); }
:is(.stage:not(.stage--paper):not(.stage--grid), .card--ink, .m-stat:not(.m-stat--light)) .tag { background: rgb(var(--glow) / 0.1); color: var(--tx-on-dark-2); }
/* pill: hairline outline chip (hero payment strip) */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px rgb(var(--shade) / 0.16); font-size: 14px; line-height: 1.4; font-weight: 500; white-space: nowrap; }
.on-ink .pill, [data-surface="ink"] .pill { box-shadow: inset 0 0 0 1px rgb(var(--glow) / 0.16); }
.pill--solid { background: var(--sf-light-card); color: var(--tx-on-light); box-shadow: none; font-weight: 550; } /* white chips on a stage (marca) */
.pill svg { width: 14px; height: 14px; }
.strip { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 12px 14px 12px 20px; border-radius: var(--r-inner); background: var(--sf-dark-raised); }
/* status chips: what exists today vs what we build together (medida) */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 6px; border-radius: var(--r-pill); font-size: 12px; line-height: 1.4; font-weight: 600; white-space: nowrap; }
.chip svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chip--ok { background: var(--ok-soft-light); color: var(--ok-text-light); }
.chip--build { background: var(--accent-soft-light); color: var(--accent-text-light); }
.on-ink .chip--ok, [data-surface="ink"] .chip--ok { background: var(--ok-soft-dark); color: var(--ok-on-dark); }
.on-ink .chip--build, [data-surface="ink"] .chip--build { background: var(--accent-soft-dark); color: var(--accent-2-dark); }
:is(.card:not(.card--ink), .m-float, .stage--paper, .stage--grid) .chip--ok { background: var(--ok-soft-light); color: var(--ok-text-light); }
:is(.card:not(.card--ink), .m-float, .stage--paper, .stage--grid) .chip--build { background: var(--accent-soft-light); color: var(--accent-text-light); }
:is(.card--ink, .stage:not(.stage--paper):not(.stage--grid)) .chip--ok { background: var(--ok-soft-dark); color: var(--ok-on-dark); }
:is(.card--ink, .stage:not(.stage--paper):not(.stage--grid)) .chip--build { background: var(--accent-soft-dark); color: var(--accent-2-dark); }
.live { display: inline-flex; align-items: center; padding: 6px 10px; border-radius: var(--r-pill); font-size: 12px; line-height: 1.3; font-weight: 600; background: var(--ok-soft-dark); color: var(--ok-on-dark); white-space: nowrap; }

/* ===== 7. Cards and stages ===== */
.card { display: flex; flex-direction: column; padding: 24px 22px; border-radius: var(--r-stage); background: var(--sf-light-card); color: var(--tx-on-light); box-shadow: var(--e2), inset 0 0 0 1px rgb(var(--shade) / 0.05); }
.card--ink { background: var(--sf-dark-raised); color: var(--tx-on-dark); box-shadow: inset 0 0 0 1px rgb(var(--glow) / 0.07); }
.card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card__kicker { font-size: 12px; line-height: 1.3; font-weight: 550; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tx-on-light-2); }
.card--ink .card__kicker { color: var(--tx-on-dark-2); }
.card__ic { width: 32px; height: 32px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.card__half { margin-top: 10px; }
.card__half + .card__half { margin-top: 14px; padding-top: 12px; border-top: 1px dashed rgb(var(--shade) / 0.18); }
.card--ink .card__half + .card__half { border-top-color: rgb(var(--glow) / 0.18); }
.card__txt { margin-top: 6px; font-size: 14px; line-height: 1.45; color: rgb(var(--shade) / 0.78); }
.card--ink .card__txt { color: var(--tx-on-dark-2); }
/* stage: the big rounded ink canvas a mock scene sits on (cobros, infra, puerta) */
.stage { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-stage); background: var(--sf-dark-raised); box-shadow: inset 0 0 0 1px rgb(var(--glow) / 0.07), 0 0.5em 1.5em rgb(var(--shade) / 0.35); color: var(--tx-on-dark); }
.stage--grad { background: linear-gradient(180deg, var(--ui-dark-card), var(--ui-dark-bg) 70%); box-shadow: inset 0 0 0 1px var(--ui-dark-line), var(--e-card-ink); }
.stage--paper { background: var(--sf-light-card); color: var(--tx-on-light); box-shadow: inset 0 0 0 1px rgb(var(--shade) / 0.08); }
.stage--grid { background-color: var(--sf-light-card); background-image: linear-gradient(rgb(var(--shade) / 0.05) 1px, transparent 1px), linear-gradient(90deg, rgb(var(--shade) / 0.05) 1px, transparent 1px); background-size: 24px 24px; color: var(--tx-on-light); box-shadow: inset 0 0 0 1px rgb(var(--shade) / 0.08); }
.stage__wash { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, rgb(var(--accent-rgb) / 0.55), transparent); filter: blur(10px); }
.stage__tag { position: absolute; top: 16px; right: 16px; z-index: 3; }
/* photo plate: photograph under a scrim, text on the calm side */
.photo { position: relative; overflow: hidden; border-radius: var(--r-stage); background: var(--sf-dark-raised); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(var(--sf-dark-rgb) / 0.94) 0%, rgb(var(--sf-dark-rgb) / 0.6) 34%, transparent 62%), linear-gradient(90deg, rgb(var(--sf-dark-rgb) / 0.55) 0%, transparent 60%); pointer-events: none; }
.photo__copy { position: absolute; inset: auto auto 0 0; z-index: 1; padding: 28px; max-width: 30em; color: var(--tx-on-dark); }

/* ===== 8. Mock primitives (product UI fidelity: real controls, real hairlines, 11 to 16 px UI text) ===== */
.m { font-family: var(--font); letter-spacing: -0.005em; }
.m b, .m strong { font-weight: 600; }
/* 8a browser window (puerta): 38 px light-control bar, three 8 px dots, 24 px url pill with lock, 16 px radius, float shadow */
.m-win { overflow: hidden; border-radius: 16px; background: var(--ui-light-card); color: var(--ui-light-tx); box-shadow: var(--e-float); }
.m-win__bar { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 12px; background: var(--ui-light-control); }
.m-win__dots { display: flex; gap: 5px; flex: none; }
.m-win__dots i { width: 8px; height: 8px; border-radius: 50%; background: rgb(var(--shade) / 0.18); }
.m-url { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: var(--r-pill); background: var(--ui-light-card); font-size: 13px; line-height: 1; color: rgb(var(--shade) / 0.8); white-space: nowrap; overflow: hidden; }
.m-url svg { width: 12px; height: 12px; flex: none; color: var(--ok-text-light); }
.m-win__page { position: relative; }
/* 8b phone (marca): near-black bezel #0b0d12, 0.2em padding, 1.2em radius, screen radius 0.95em; size the whole phone with font-size */
.m-phone { position: relative; box-sizing: border-box; width: 17.2em; height: 34.8em; padding: 0.4em; border-radius: 2.4em; background: #0b0d12; box-shadow: inset 0 0 0 0.12em rgb(var(--glow) / 0.2), 0 2.4em 4.8em rgb(var(--shade) / 0.45); font-size: 16px; } /* #0b0d12: object (device bezel) */
.m-phone__scr { position: relative; height: 100%; overflow: hidden; border-radius: 1.9em; background: var(--ui-light-card); color: var(--ui-light-tx); font-size: 13px; line-height: 1.35; }
.m-phone__island { position: absolute; top: 0.55em; left: 50%; z-index: 4; width: 5.6em; height: 1.5em; margin-left: -2.8em; border-radius: 1em; background: #0b0d12; } /* object */
.m-phone__status { display: flex; justify-content: space-between; align-items: center; height: 34px; padding: 10px 22px 0; font-size: 12px; font-weight: 600; }
/* 8c organiser shop header + event row (shop is the organiser's: org accent, their art) */
.m-shop-h { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--ui-light-line); }
.m-mark { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 9px; background: var(--org-accent); color: var(--org-fg); font-size: 12px; font-weight: 700; letter-spacing: 0.02em; overflow: hidden; }
.m-mark img { width: 100%; height: 100%; object-fit: contain; background: var(--sf-dark); }
.m-name { font-size: 15px; font-weight: 600; line-height: 1.25; }
.m-title { font-size: 16px; line-height: 1.25; font-weight: 600; }
.m-meta { margin-top: 4px; font-size: 13px; line-height: 1.35; color: var(--ui-light-tx2); }
.m-kicker { font-size: 11px; line-height: 1.3; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ui-light-tx2); }
.m-buy { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 6px 16px; border-radius: var(--r-pill); background: var(--org-accent-strong); color: var(--org-fg); font-size: 14px; font-weight: 600; white-space: nowrap; }
.m-buy--block { display: flex; width: 100%; min-height: 40px; border-radius: 10px; }
.m-chipsel { display: inline-flex; padding: 4px 10px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px var(--ui-light-line); font-size: 12px; color: var(--ui-light-tx2); }
.m-chipsel.is-on { box-shadow: inset 0 0 0 1.5px var(--ui-light-tx); color: var(--ui-light-tx); font-weight: 600; }
/* 8d checkout / cart (cobros) */
.m-ck { padding: 16px; display: grid; gap: 10px; font-size: 13px; }
.m-ck__row { display: flex; align-items: center; gap: 10px; }
.m-ck__sum { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; border-top: 1px solid var(--ui-light-line); font-weight: 600; }
.m-line { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px; border-radius: 12px; background: var(--ui-light-bg); }
.m-thumb { width: 44px; height: 44px; border-radius: 8px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px rgb(var(--shade) / 0.06); } /* product shots are on white */
.m-thumb img { width: 100%; height: 100%; object-fit: cover; }
.m-step { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; }
.m-step i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--ui-light-line); font-style: normal; font-size: 12px; color: var(--ui-light-tx2); }
.m-step i.is-on { background: var(--org-accent-strong); color: var(--org-fg); box-shadow: none; }
.m-add { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--ui-light-line); color: var(--ui-light-tx); }
.m-add.is-on { background: var(--org-accent-strong); color: var(--org-fg); box-shadow: none; }
.m-add svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.m-wallet { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.m-wallet span { display: grid; place-items: center; height: 34px; border-radius: 8px; background: #000; color: #fff; font-size: 13px; font-weight: 600; } /* payment-mark: wallet buttons are black by their guidelines */
.m-field { display: flex; align-items: center; justify-content: space-between; height: 34px; padding: 0 10px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--ui-light-line); color: var(--ui-light-tx2); font-size: 12px; background: var(--ui-light-card); }
.m-field.is-focus { box-shadow: inset 0 0 0 1.5px var(--org-accent-strong); color: var(--ui-light-tx); }
.m-sk { display: inline-block; height: 0.62em; width: 4em; border-radius: 99px; background: rgb(var(--shade) / 0.12); vertical-align: middle; } /* skeleton bar where no real value may be shown */
.m-sk--dark { background: rgb(var(--glow) / 0.16); }
.m-mk { display: inline-grid; place-items: center; height: 20px; min-width: 31px; padding: 0 4px; border-radius: 4px; background: var(--ui-light-bg); box-shadow: inset 0 0 0 1px rgb(var(--shade) / 0.1); font-size: 8.5px; font-weight: 800; letter-spacing: 0.02em; } /* payment marks: one chip size, height x 1.56 */
/* 8e toast / floating note (hero "Venta nueva") */
.m-toast { display: grid; gap: 1px; padding: 8px 12px; border-radius: 12px; background: var(--ui-light-card); color: var(--ui-light-tx); box-shadow: 0 16px 30px -14px rgb(var(--shade) / 0.8); white-space: nowrap; }
.m-toast small { font-size: 11px; line-height: 1.3; color: var(--ui-light-tx2); }
.m-toast b { font-size: 13px; line-height: 1.3; }
.m-float { padding: 14px; border-radius: 16px; background: var(--ui-light-card); color: var(--ui-light-tx); box-shadow: var(--e3); }
/* 8f panel (7am business panel shell, DS tokens: 12 px radii, 1 px #f2f2f3 / #e2e2e4 borders, 14 px text) */
.m-panel { display: grid; grid-template-columns: 210px minmax(0, 1fr); min-height: 100%; background: var(--ui-light-bg); color: var(--ui-light-tx); font-size: 13px; line-height: 1.45; letter-spacing: -0.01em; }
.m-panel__side { margin: 6px 0 6px 6px; padding: 8px; border-radius: 12px; border: 1px solid var(--ui-light-control); background: var(--ui-light-card); box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); display: flex; flex-direction: column; gap: 2px; }
.m-org { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 6px; font-weight: 600; }
.m-org .m-mark { width: 26px; height: 26px; border-radius: 8px; font-size: 10px; }
.m-search { height: 32px; margin: 6px 0; padding: 0 10px; display: flex; align-items: center; gap: 8px; border-radius: 12px; border: 1px solid var(--ui-light-line); background: var(--ui-light-bg); color: var(--ui-light-tx2); font-size: 12px; }
.m-nav { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 8px; border-radius: 8px; color: var(--ui-light-tx2); font-weight: 600; font-size: 12.5px; }
.m-nav svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.m-nav.is-on { background: var(--ui-light-control); color: var(--ui-light-tx); }
.m-panel__main { padding: 18px 20px; min-width: 0; }
.m-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.m-panel__head h4 { font-size: 18px; font-weight: 600; letter-spacing: -0.015em; }
.m-btn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 10px; background: var(--ui-brand); color: var(--ui-brand-fg); font-size: 12.5px; font-weight: 600; }
.m-btn--sec { background: var(--ui-light-card); color: var(--ui-light-tx); box-shadow: inset 0 0 0 1px var(--ui-light-line); }
.m-tabs { display: flex; gap: 4px; margin-bottom: 12px; padding: 3px; width: max-content; border-radius: 10px; background: var(--ui-light-control); font-size: 12px; font-weight: 600; color: var(--ui-light-tx2); }
.m-tabs span { padding: 4px 10px; border-radius: 8px; }
.m-tabs span.is-on { background: var(--ui-light-card); color: var(--ui-light-tx); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06); }
.m-tablewrap { border-radius: 12px; border: 1px solid var(--ui-light-line); background: var(--ui-light-card); overflow: hidden; }
.m-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.m-table th { padding: 9px 12px; text-align: left; font-weight: 500; color: var(--ui-light-tx2); background: var(--ui-light-bg); border-bottom: 1px solid var(--ui-light-line); white-space: nowrap; }
.m-table td { padding: 10px 12px; border-bottom: 1px solid var(--ui-light-control); white-space: nowrap; }
.m-table tr:last-child td { border-bottom: 0; }
.m-table .m-who { display: flex; align-items: center; gap: 8px; }
.m-av { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ui-light-control); color: var(--ui-light-tx2); font-size: 10px; font-weight: 600; flex: none; }
.m-st { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 99px; font-size: 11.5px; font-weight: 600; }
.m-st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.m-st--ok { background: var(--ok-soft-light); color: var(--ok-text-light); }
.m-st--warn { background: var(--warn-soft-light); color: var(--warn-text-light); }
.m-st--info { background: var(--ui-brand-soft); color: var(--ui-brand); }
/* 8g stat tile and meter (hero aforo) */
.m-stat { padding: 16px 18px; border-radius: 16px; background: var(--ui-dark-card); color: var(--ui-dark-tx); box-shadow: inset 0 0 0 1px var(--ui-dark-line); }
.m-stat--light { background: var(--ui-light-card); color: var(--ui-light-tx); box-shadow: inset 0 0 0 1px var(--ui-light-line); }
.m-stat__k { font-size: 12px; line-height: 1.3; color: var(--ui-dark-tx2); }
.m-stat--light .m-stat__k { color: var(--ui-light-tx2); }
.m-stat__v { margin-top: 4px; font-size: 32px; line-height: 1.1; font-weight: 300; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.m-meter { margin-top: 10px; height: 6px; border-radius: 99px; background: color-mix(in srgb, currentColor 12%, transparent); overflow: hidden; }
.m-meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent-dark), var(--accent-2-dark)); transform-origin: left center; transform: scaleX(var(--m, 0.6)); }
.m-bars { display: flex; align-items: flex-end; gap: 4px; height: 48px; margin-top: 12px; }
.m-bars i { flex: 1; border-radius: 3px 3px 1px 1px; background: color-mix(in srgb, currentColor 14%, transparent); height: var(--h); }
.m-bars i.is-on { background: var(--accent-dark); }
.m-legend { display: flex; gap: 12px; margin-top: 8px; font-size: 11px; color: var(--ui-dark-tx2); }
.m-legend span { display: inline-flex; align-items: center; gap: 5px; }
.m-legend i { width: 8px; height: 8px; border-radius: 2px; background: color-mix(in srgb, currentColor 22%, transparent); }
.m-legend i.is-on { background: var(--accent-dark); }

/* ===== 9. Motion ===== */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(14px); transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: calc(var(--i, 0) * var(--stagger, 220ms)); }
  .js .rv.in { opacity: 1; transform: none; }
  /* headline lines rise out of a mask, 140 ms apart */
  .js .rise > span { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
  .js .rise > span > span { display: block; animation: kit-up 1000ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 140ms); }
  @keyframes kit-up { from { transform: translateY(110%); } to { transform: none; } }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 639.98px) {
  .js .rv { transform: translateY(8px); transition-duration: 450ms; transition-delay: calc(min(var(--i, 0), 2) * 90ms); }
}
.is-off, .is-off *, .page-hidden .loop, .page-hidden .loop * { animation-play-state: paused !important; }
