/* VeryWWW. — landing page
   Compiled from the Claude Design export "VeryWWW Landing.dc.html" (hero: kinetic).
   No inline styles anywhere: the CSP allows stylesheets from 'self' only. */

@font-face { font-family: "VW Sans"; src: url("/assets/fonts/instrument-sans.2ee17598a9.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "VW Serif"; src: url("/assets/fonts/source-serif-4.f2ea9c12d2.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  color-scheme: light dark;
  --bg: #fafaf7; --fg: #000; --fg2: #2e2e2c; --fg3: #6f6f6a; --ln: #dcdcd7; --sf: #fbfbf9;
  --desk: #f2efe8; --paper: #fffefa;
  --lt-u: underline; --dk-u: none; --lt-c: #000; --dk-c: #6f6f6a; --plogo: none;
  --focus: #1550e0; --web: #214ce0;
  --serif: "VW Serif", serif;
  --sans: "VW Sans", ui-sans-serif, system-ui, sans-serif;
  --mono: ui-monospace, Menlo, monospace;
  --gut: clamp(18px, 4vw, 88px);
  --sec-gap: clamp(110px, 13vw, 220px);
}
/* The <meta name="color-scheme"> is the source of truth for a manual override
   (see assets/js/theme-init.js). "light dark" = follow the system. */
:root:has(> head > meta[name="color-scheme"][content="light"]) { color-scheme: light; }
:root:has(> head > meta[name="color-scheme"][content="dark"]) { color-scheme: dark; }

@media (prefers-color-scheme: dark) {
  :root:not(:has(> head > meta[name="color-scheme"][content="light"])) {
    --bg: #121211; --fg: #efe8d8; --fg2: #cdc6b6; --fg3: #8e887c; --ln: rgba(239,232,216,.14); --sf: #171715;
    --desk: #0b0b0e; --paper: #141418;
    --lt-u: none; --dk-u: underline; --lt-c: #8e887c; --dk-c: #efe8d8; --plogo: invert(1);
    --focus: #e6fb45; --web: #8aa4ff;
  }
}
:root:has(> head > meta[name="color-scheme"][content="dark"]) {
  --bg: #121211; --fg: #efe8d8; --fg2: #cdc6b6; --fg3: #8e887c; --ln: rgba(239,232,216,.14); --sf: #171715;
  --desk: #0b0b0e; --paper: #141418;
  --lt-u: none; --dk-u: underline; --lt-c: #8e887c; --dk-c: #efe8d8; --plogo: invert(1);
  --focus: #e6fb45; --web: #8aa4ff;
}
.if-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not(:has(> head > meta[name="color-scheme"][content="light"])) .if-dark { display: inline; }
  :root:not(:has(> head > meta[name="color-scheme"][content="light"])) .if-light { display: none; }
}
:root:has(> head > meta[name="color-scheme"][content="dark"]) .if-dark { display: inline; }
:root:has(> head > meta[name="color-scheme"][content="dark"]) .if-light { display: none; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 64px; }
html, body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans); -webkit-font-smoothing: antialiased; transition: background-color .5s, color .5s; }
body { overflow-x: clip; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: inherit; opacity: .8; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
img, svg { max-width: none; }
::selection { background: #dcd6fd; color: #000; }
input::placeholder { color: inherit; opacity: .55; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
main:focus, section[tabindex="-1"]:focus { outline: none; }
/* Native smooth anchor scrolling only when Lenis is not driving the scroll (no JS, or before init). */
@media (prefers-reduced-motion: no-preference) { html:not(.lenis) { scroll-behavior: smooth; } }

/* Lenis (from lenis@1.1.13/dist/lenis.css) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: fixed; left: 12px; top: 12px; z-index: 400; padding: 12px 16px; background: var(--fg); color: var(--bg); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; text-decoration: none; transform: translateY(-200%); }
.skip-link:focus { transform: none; }

.ic { flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ic-12 { width: 12px; height: 12px; } .ic-13 { width: 13px; height: 13px; } .ic-14 { width: 14px; height: 14px; }
.ic-15 { width: 15px; height: 15px; } .ic-16 { width: 16px; height: 16px; } .ic-17 { width: 17px; height: 17px; }
.ic-18 { width: 18px; height: 18px; } .ic-21 { width: 21px; height: 21px; } .ic-22 { width: 22px; height: 22px; }
.ic-26 { width: 26px; height: 26px; } .ic-30 { width: 30px; height: 30px; }
.o-45 { opacity: .45; } .o-60 { opacity: .6; } .o-70 { opacity: .7; }
.tnum { font-variant-numeric: tabular-nums; }
.muted { color: var(--fg3); }
.lime { color: #e6fb45; }

.logo-gemini { background-image: url("/assets/img/logos/gemini.0436c957ff.svg"); }
.logo-chatgpt { background-image: url("/assets/img/logos/chatgpt.abde964385.svg"); }
.logo-claude { background-image: url("/assets/img/logos/claude.4997765416.svg"); }
.logo-grok { background-image: url("/assets/img/logos/grok.537b5d6699.svg"); }
.logo-perplexity { background-image: url("/assets/img/logos/perplexity.62bbdcf1f6.svg"); }
.logo-suno { background-image: url("/assets/img/logos/suno.4c6cc37a23.svg"); }
.logo-runway { background-image: url("/assets/img/logos/runway.9eb0f0e734.svg"); }
.logo-elevenlabs { background-image: url("/assets/img/logos/elevenlabs.f3fc38e493.svg"); }

/* ---------- Shared type ---------- */
.eyebrow { margin: 0; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 560; }
.kicker { display: flex; gap: 22px; margin: 0; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 560; line-height: 1.5; }
.kicker__rule { width: 28px; height: 1px; background: currentColor; margin-top: .75em; flex: none; }
.ln { display: block; overflow: hidden; padding-bottom: .16em; margin-bottom: -.16em; }
.ln > [data-line], .ln > [data-mood-word] { display: block; }
.ln--deep { padding-bottom: .26em; margin-bottom: -.26em; }
.ln--lift { position: relative; z-index: 1; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px clamp(16px, 2vw, 32px); align-items: end; border-top: 1px solid var(--fg); padding-top: 18px; }
.sec-title { margin: 0; font-family: var(--serif); font-weight: 640; font-size: clamp(40px, 5.2vw, 88px); line-height: .92; letter-spacing: -.04em; }
.sec-title--xl { font-size: clamp(48px, 7vw, 124px); line-height: .88; letter-spacing: -.045em; }
.sec-title--split { font-size: clamp(40px, 5vw, 84px); }
.body-copy { margin: 0; font-size: clamp(16px, 1.2vw, 19px); line-height: 1.5; text-wrap: pretty; }
.rule-top { border-top: 1px solid var(--fg); padding-top: 18px; }
.sec { padding: var(--sec-gap) var(--gut) 0; }

.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; height: 54px; padding: 0 24px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; text-decoration: none; }
.btn--solid { background: var(--fg); color: var(--bg); }
.btn--solid:hover { opacity: .86; }
.btn--line { padding: 0 22px; border: 1px solid var(--fg); }
.btn--lime { height: 58px; padding: 0 28px; background: #e6fb45; color: #000; font-size: 12.5px; font-weight: 650; }
.btn--lime:hover { color: #000; opacity: .9; }

/* ---------- Loader (only rendered when JS is available; CSS failsafe hides it) ---------- */
.loader { position: fixed; inset: 0; z-index: 300; background: #0c0c0e; color: #efe8d8; display: none; place-items: center; }
.js .loader { display: grid; animation: loader-failsafe 0s linear 12s forwards; }
@keyframes loader-failsafe { to { visibility: hidden; } }
.loader__inner { display: grid; justify-items: center; gap: 28px; }
.loader__mark { width: min(58vw, 440px); height: auto; overflow: visible; }
.loader__meta { display: flex; gap: 44px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; font-weight: 560; }
.loader__pct { font-variant-numeric: tabular-nums; min-width: 4ch; text-align: right; }

/* ---------- Custom cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 250; pointer-events: none; transform: translate(-200px, -200px); }
.cursor__pill { transform: translate(16px, 16px) scale(0); transform-origin: 0 0; padding: 9px 14px; background: #e6fb45; color: #000; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 620; white-space: nowrap; border-radius: 999px; }
.sweep { position: fixed; inset: 0; z-index: 240; pointer-events: none; }

/* ---------- Section thread (wide screens) ---------- */
.thread { position: fixed; right: clamp(10px, 1.2vw, 28px); top: 50%; transform: translateY(-50%); z-index: 55; width: 26px; height: min(56vh, 500px); mix-blend-mode: difference; color: #fff; display: none; }
.thread__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.thread__dot { position: absolute; left: var(--x); top: var(--y); width: 22px; height: 22px; margin: -11px 0 0 -11px; display: grid; place-items: center; pointer-events: auto; text-decoration: none; }
.thread__dot:nth-of-type(1) { --x: 0%; --y: 0%; }
.thread__dot:nth-of-type(2) { --x: 40%; --y: 16.6667%; }
.thread__dot:nth-of-type(3) { --x: 0%; --y: 33.3333%; }
.thread__dot:nth-of-type(4) { --x: 100%; --y: 41.6667%; }
.thread__dot:nth-of-type(5) { --x: 100%; --y: 58.3333%; }
.thread__dot:nth-of-type(6) { --x: 0%; --y: 66.6667%; }
.thread__dot:nth-of-type(7) { --x: 40%; --y: 83.3333%; }
.thread__dot:nth-of-type(8) { --x: 0%; --y: 100%; }
.thread__pip { width: 5px; height: 5px; border-radius: 50%; background: currentColor; transition: width .3s, height .3s; }
.thread__dot[aria-current="true"] .thread__pip { width: 9px; height: 9px; }
.thread__label { position: absolute; right: 26px; top: 50%; transform: translateY(-50%); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; white-space: nowrap; opacity: 0; transition: opacity .3s; }
.thread:hover .thread__label, .thread:focus-within .thread__label { opacity: .55; }
.thread:hover .thread__dot[aria-current="true"] .thread__label, .thread:focus-within .thread__dot[aria-current="true"] .thread__label { opacity: 1; }
.thread__dot:focus-visible { outline-color: #fff; }

/* ---------- Masthead ---------- */
.masthead { position: sticky; top: 0; z-index: 60; padding: 0 var(--gut); background: color-mix(in oklab, var(--bg) 86%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.masthead__bar { display: flex; align-items: center; gap: 20px; min-height: 64px; border-bottom: 1px solid var(--fg); }
.brand { font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 2vw, 30px); letter-spacing: -.035em; line-height: 1; text-decoration: none; white-space: nowrap; }
.mainnav { display: none; gap: clamp(18px, 2vw, 36px); margin-left: clamp(24px, 7vw, 190px); white-space: nowrap; }
.mainnav a { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 560; text-decoration: none; padding: 6px 0; }
.mainnav a:hover { text-decoration: underline; }
.masthead__actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.theme-toggle { background: none; border: 0; min-height: 44px; padding: 4px 8px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.theme-pair { display: none; align-items: center; gap: 4px; }
.theme-btn { background: none; border: 0; min-height: 44px; padding: 4px 10px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; text-underline-offset: 5px; }
.theme-btn--light { color: var(--lt-c); text-decoration: var(--lt-u); }
.theme-btn--dark { color: var(--dk-c); text-decoration: var(--dk-u); }
.btn-chrome { margin-left: 10px; display: inline-flex; align-items: center; height: 40px; padding: 0 16px; background: var(--fg); color: var(--bg); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; text-decoration: none; white-space: nowrap; }
.btn-chrome:hover { color: var(--bg); opacity: .86; }

/* ---------- Hero (kinetic) ---------- */
.hero { position: relative; min-height: calc(100vh - 64px); min-height: calc(100svh - 64px); padding: clamp(22px, 2.4vw, 36px) var(--gut) 0; display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; }
.hero__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.hero__clock { text-align: right; }
.hero__time { font-family: var(--serif); font-size: 30px; font-weight: 560; letter-spacing: -.02em; line-height: 1; }
.hero__date { margin-top: 7px; font-size: 10px; letter-spacing: .2em; font-weight: 620; }
.hero__title { align-self: center; margin: 0; padding: 28px 0 36px; font-family: var(--serif); font-weight: var(--kw, 680); font-variation-settings: 'opsz' 60; font-size: clamp(64px, 13.2vw, 250px); line-height: .84; letter-spacing: -.045em; }
.kword { position: relative; display: inline-block; padding: 0 .06em; margin-left: -.06em; }
.kword__block { position: absolute; inset: .03em 0 .02em 0; background: transparent; transform-origin: 0 50%; }
.kword__word { position: relative; display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .24em; margin-bottom: -.24em; }
.kchar { display: inline-block; }
.hero__foot { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 24px; align-items: end; padding-bottom: 22px; }
.hero__intro { display: grid; gap: 22px; max-width: 520px; }
.hero__lede { margin: 0; font-family: var(--serif); font-size: clamp(17px, 1.35vw, 21px); line-height: 1.45; text-wrap: pretty; }
.hero__cap { display: flex; justify-content: flex-end; align-items: baseline; gap: 22px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 560; }
.hero__capline { width: 60px; height: 1px; background: currentColor; }
.marquee { margin: 0 calc(-1 * var(--gut)); border-top: 1px solid var(--fg); overflow: hidden; white-space: nowrap; }
.marquee__track { display: inline-flex; gap: 46px; padding: 14px 0; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; font-weight: 560; }

/* ---------- N° 01 Demo ---------- */
.demo { padding: clamp(90px, 10vw, 170px) var(--gut) 0; overflow-x: clip; } /* clip the 3D tilt-in of the frame */
.demo .sec-head { margin-bottom: clamp(28px, 3.4vw, 52px); }
.frame-wrap { perspective: 2200px; perspective-origin: 50% 0; }
.frame { transform-origin: 50% 0; border: 1px solid var(--fg); background: var(--sf); box-shadow: 0 60px 120px -60px rgba(0,0,0,.45); }
.frame:focus { outline: none; }
.frame__bar { display: flex; align-items: center; gap: 14px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--fg); background: var(--bg); }
.frame__dots { display: flex; gap: 6px; }
.frame__dots span { width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--fg); }
.frame__urlwrap { flex: 1; display: flex; justify-content: center; }
.frame__url { display: flex; align-items: center; gap: 8px; height: 24px; padding: 0 14px; border: 1px solid var(--ln); border-radius: 999px; font-size: 11.5px; min-width: 0; max-width: 420px; width: 100%; }
.frame__url img { width: 14px; height: 14px; }
.frame__url span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frame__live { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; font-weight: 560; color: var(--fg3); }
.mockbox { --msc: .5; position: relative; width: 100%; height: 611px; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.demo__notes { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; padding: 16px 0 0; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 560; color: var(--fg3); }

/* The replica tab: a fixed 1648×1222 canvas scaled to fit (JS sets --msc). */
.mock {
  --mp: #fafaf7; --ms2: #fbfbf9; --mf: #000; --mf2: #2e2e2c; --mf3: #6f6f6a; --ml: #dcdcd7; --mr: #000; --mix: #f3efe6;
  --msb: #fff; --msl: #1f1f1f; --msel: #efedf7; --mact: #fb6a37; --mactf: #000; --mnote: #dcd6fd; --mnotef: #000;
  --mdp: #f1f4fc; --mbtn: #000; --mbtnf: #fafaf7; --msheet: #fff; --mhw: 680; --mlogo: none;
  --m-lu: underline; --m-du: none; --m-lc: #000; --m-dc: #6f6f6a; --mcf: #c24e28;
  position: absolute; left: 0; top: 0; width: 1648px; height: 1222px; transform-origin: 0 0; transform: scale(var(--msc, .6));
  background: var(--mp); color: var(--mf); padding: 0 40px; font-size: 13.2px; line-height: 1.4; transition: background-color .45s, color .45s;
}
@media (prefers-color-scheme: dark) {
  :root:not(:has(> head > meta[name="color-scheme"][content="light"])) .mock:not([data-scheme="light"]) {
    --mp: #0e0e0f; --ms2: #141415; --mf: #efe8d8; --mf2: #cdc6b6; --mf3: #8e887c; --ml: rgba(239,232,216,.13); --mr: rgba(239,232,216,.45); --mix: #141413;
    --msb: #141414; --msl: rgba(239,232,216,.42); --msel: #24231f; --mact: #ff4fd8; --mactf: #000; --mnote: #1d1c22; --mnotef: #efe8d8;
    --mdp: #1a1d2b; --mbtn: #efe8d8; --mbtnf: #121211; --msheet: #1a1a18; --mhw: 600; --mlogo: invert(1);
    --m-lu: none; --m-du: underline; --m-lc: #8e887c; --m-dc: #efe8d8; --mcf: #e8643c;
  }
  :root:not(:has(> head > meta[name="color-scheme"][content="light"])) .mock:not([data-scheme="light"]) .m-img__bg { background-image: var(--sd); }
}
:root:has(> head > meta[name="color-scheme"][content="dark"]) .mock:not([data-scheme="light"]), .mock[data-scheme="dark"] {
  --mp: #0e0e0f; --ms2: #141415; --mf: #efe8d8; --mf2: #cdc6b6; --mf3: #8e887c; --ml: rgba(239,232,216,.13); --mr: rgba(239,232,216,.45); --mix: #141413;
  --msb: #141414; --msl: rgba(239,232,216,.42); --msel: #24231f; --mact: #ff4fd8; --mactf: #000; --mnote: #1d1c22; --mnotef: #efe8d8;
  --mdp: #1a1d2b; --mbtn: #efe8d8; --mbtnf: #121211; --msheet: #1a1a18; --mhw: 600; --mlogo: invert(1);
  --m-lu: none; --m-du: underline; --m-lc: #8e887c; --m-dc: #efe8d8; --mcf: #e8643c;
}
:root:has(> head > meta[name="color-scheme"][content="dark"]) .mock:not([data-scheme="light"]) .m-img__bg, .mock[data-scheme="dark"] .m-img__bg { background-image: var(--sd); }

.m-top { height: 60px; display: grid; grid-template-columns: 318px 1fr; align-items: center; }
.m-brand { font-family: var(--serif); font-weight: 600; font-size: 26.4px; letter-spacing: -.035em; line-height: 1.1; }
.m-top__right { display: flex; align-items: center; justify-content: space-between; }
.m-nav { display: flex; gap: 29px; font-size: 10px; letter-spacing: .22em; font-weight: 560; }
.m-appear { display: flex; align-items: center; gap: 2px; font-size: 11px; letter-spacing: .12em; }
.m-tbtn { background: none; border: 0; padding: 4px 10px; min-height: 36px; text-underline-offset: 5px; }
.m-tbtn--light { color: var(--m-lc); text-decoration: var(--m-lu); }
.m-tbtn--dark { color: var(--m-dc); text-decoration: var(--m-du); }
.m-appear__label { padding: 4px 10px 4px 20px; }

.m-grid { display: grid; grid-template-columns: 350px 16px 833px 123px 16px 230px; grid-template-rows: 354px 51px 194px; }
.m-mood { grid-column: 1; grid-row: 1 / 3; border-top: 1px solid var(--mr); }
.m-kicker { display: flex; gap: 19px; margin: 30px 0 0; font-size: 10.5px; letter-spacing: .2em; font-weight: 560; line-height: 1.45; }
.m-kicker__rule { width: 25px; height: 1px; background: currentColor; margin-top: .7em; flex: none; }
.m-mood__words { margin: 11px 0 0; font-family: var(--serif); font-weight: var(--mhw); font-size: 70px; line-height: .862; letter-spacing: -.04em; font-variation-settings: 'opsz' 36; }
.m-mood__words span { display: block; }
.m-mood__sub { margin: 13px 0 0; font-family: var(--serif); font-size: 15px; line-height: 1.5; max-width: 22em; }

.m-hero { grid-column: 3; grid-row: 1; padding-bottom: 21px; }
.m-img { margin: 0; height: 250px; background: #1550e0; position: relative; overflow: hidden; }
.m-img__bg { position: absolute; inset: -10px; background-size: cover; background-position: center; background-image: var(--sl); }
.m-img__bg[data-scene="courtyard"] { --sl: url("/assets/img/scenes/courtyard-light.f9e0e9336b.webp"); --sd: url("/assets/img/scenes/courtyard-dark.cbe2de6e94.webp"); }
.m-img__bg[data-scene="ripple-wall"] { --sl: url("/assets/img/scenes/ripple-wall-light.d1c1aba020.webp"); --sd: url("/assets/img/scenes/ripple-wall-dark.ce7ab185c3.webp"); }
.m-img__bg[data-scene="sun-court"] { --sl: url("/assets/img/scenes/sun-court-light.04be0f269d.webp"); --sd: url("/assets/img/scenes/sun-court-dark.bb354b5bbd.webp"); }
.m-img__bg[data-scene="sea-terrace"] { --sl: url("/assets/img/scenes/sea-terrace-light.e4012564f9.webp"); --sd: url("/assets/img/scenes/sea-terrace-dark.5ebbfa26c6.webp"); }
.m-img__bg[data-scene="arcade"] { --sl: url("/assets/img/scenes/arcade-light.b8fcdbc8c9.webp"); --sd: url("/assets/img/scenes/arcade-dark.5701c64de1.webp"); }
.m-img__cap { position: absolute; top: 19px; left: 20px; padding: 13px 16px 12px; background: color-mix(in oklab, var(--mp) 92%, transparent); font-size: 10.5px; letter-spacing: .3em; font-weight: 560; line-height: 1.6; }
.m-img__cap span { display: block; }
.m-img__rule { width: 18px; height: 1px; background: currentColor; margin-top: 9px; }
.m-img__next { position: absolute; right: 14px; bottom: 12px; width: 30px; height: 30px; border: 0; background: none; color: #fff; display: grid; place-items: center; padding: 0; }

.m-cmd { position: relative; z-index: 20; margin: 25px 19px 0 18px; }
.m-cmd__bar { height: 58px; border: 1px solid var(--msl); border-radius: 999px; background: var(--msb); display: flex; align-items: center; gap: 14px; padding: 0 20px 0 22px; transition: box-shadow .26s; }
.m-cmd__bar:focus-within { box-shadow: 0 0 0 3px color-mix(in oklab, #1550e0 18%, transparent); }
.m-cmd__input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 16.4px; letter-spacing: -.005em; color: var(--mf); }
.m-cmd__kbd { font-size: 11px; letter-spacing: .08em; color: var(--mf2); }
.m-cmd__menu { position: absolute; z-index: 5; left: 0; right: 0; top: 66px; background: var(--msb); border: 1px solid var(--ml); box-shadow: 0 22px 50px -24px rgba(0,0,0,.4); }
.m-cmd__menu[hidden] { display: none; }
.m-cmd__list { padding: 6px 6px 8px; max-height: 404px; overflow: hidden; }
.m-cmd__group { padding: 14px 8px 6px; font-size: 10px; letter-spacing: .2em; font-weight: 560; }
.m-cmd__group--res { padding-top: 12px; }
.m-cmd__row { display: flex; align-items: center; gap: 12px; padding: 7px 10px; }
.m-cmd__row--res { padding: 8px 10px; }
.m-cmd__row.is-sel { background: var(--msel); }
.m-cmd__txt { flex: 1; display: grid; }
.m-cmd__main { font-size: 14.5px; }
.m-cmd__sub { font-size: 11.5px; color: var(--mf3); }
.m-cmd__ret { font-size: 11px; color: var(--mf3); }
.m-cmd__row:not(.is-sel) .m-cmd__ret { visibility: hidden; }
.m-dest__ico { width: 18px; height: 18px; flex: none; display: grid; place-items: center; font-family: var(--serif); font-weight: 640; font-size: 10px; color: #e8643c; }
.m-dest__logo { display: block; width: 18px; height: 18px; background-position: center; background-size: contain; background-repeat: no-repeat; }
.m-dest__logo.is-mono { filter: var(--mlogo); }
.m-cmd__foot { display: flex; gap: 16px; align-items: center; padding: 8px 12px; border-top: 1px solid var(--ml); font-size: 10.5px; color: var(--mf2); white-space: nowrap; overflow: hidden; }
.m-cmd__fine { margin-left: auto; }

.m-ideas { grid-column: 4; grid-row: 1; background: var(--mix); padding: 38px 14px 0; transition: background-color .45s; }
.m-ideas__list { display: grid; gap: 5px; font-size: 9px; letter-spacing: .11em; font-weight: 560; }
.m-rule { display: block; height: 1px; background: currentColor; }
.m-rule--17 { width: 17px; margin-top: 16px; }
.m-rule--20 { width: 20px; margin-top: 16px; }

.m-feat { grid-column: 6; grid-row: 1; background: #e6fb45; color: #000; padding: 24px 26px 26px; display: flex; flex-direction: column; }
.m-feat__head { border-bottom: 1px solid rgba(0,0,0,.32); padding-bottom: 12px; }
.m-feat__row { display: flex; justify-content: space-between; align-items: flex-start; }
.m-feat__time { font-family: var(--serif); font-size: 30px; font-weight: 560; letter-spacing: -.02em; line-height: 1; }
.m-feat__ic { margin-top: 6px; }
.m-feat__date { margin-top: 9px; font-size: 9.5px; letter-spacing: .2em; font-weight: 620; }
.m-feat__words { margin-top: 18px; font-size: 12.5px; letter-spacing: .3em; font-weight: 620; line-height: 1.6; }
.m-feat__words [data-feat-words], .m-feat__words [data-feat-words] > span { display: block; }
.m-feat__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.m-feat__foot .tnum { font-size: 10px; letter-spacing: .2em; font-weight: 620; }
.m-feat__nav { display: flex; gap: 4px; }
.m-feat__nav button { width: 30px; height: 30px; border: 0; background: none; display: grid; place-items: center; padding: 0; color: #000; }

.m-chips { grid-column: 3 / 7; grid-row: 2; display: flex; gap: 8px; padding: 0 0 0 21px; margin-top: -5px; }
.m-chip { height: 32px; padding: 0 14px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--ml); background: var(--ms2); color: var(--mf); font-size: 10.5px; letter-spacing: .2em; font-weight: 570; white-space: nowrap; }
.m-chip[aria-pressed="true"] { border-color: var(--mf); background: var(--mf); color: var(--mp); }
.m-chip__dot { width: 7px; height: 7px; border-radius: 50%; }
.m-chip__dot--blue { background: #1550e0; } .m-chip__dot--coral { background: #fb6a37; }
.m-chip__dot--lilac { background: #dcd6fd; } .m-chip__dot--lime { background: #e6fb45; }

.m-tiles { grid-column: 1 / -1; grid-row: 3; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.m-tile { height: 194px; border: 1px solid var(--ml); background: var(--ms2); display: flex; flex-direction: column; align-items: center; padding: 41px 10px 17px; text-align: center; transition: opacity .35s, border-color .14s, transform .26s cubic-bezier(.22,1,.36,1); }
.m-tile.is-dim { opacity: .22; }
.m-tile__logo { display: block; width: 41px; height: 41px; background-position: center; background-size: contain; background-repeat: no-repeat; }
.m-tile__logo.is-mono { filter: var(--mlogo); }
.m-tile__name { margin-top: 12px; font-size: 18.6px; font-weight: 500; letter-spacing: -.012em; line-height: 1.1; }
.m-tile__tag { margin-top: 6px; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; font-weight: 550; color: var(--mf2); line-height: 1.65; max-width: 16em; }
.m-tile__arrow { margin-top: auto; }

.m-lower { margin-top: 16px; height: 512px; display: grid; grid-template-columns: 301fr 432fr 438fr 363fr; gap: 11px; }
.m-card { border: 1px solid var(--ml); background: var(--ms2); }
.m-row-sb { display: flex; justify-content: space-between; align-items: center; }
.m-label { font-size: 10px; letter-spacing: .2em; font-weight: 560; }
.m-quick { padding: 18px 17px 16px; display: flex; flex-direction: column; }
.m-quick__ics { display: flex; gap: 18px; }
.m-quick__item { margin-top: 24px; display: flex; align-items: center; gap: 12px; }
.m-quick__item > span:last-child { font-size: 13.5px; }
.m-quick__foot { margin-top: auto; }
.m-cf { font-family: var(--serif); font-weight: 640; color: var(--mcf); }
.m-cf--14 { font-size: 14px; width: 22px; }
.m-cf--10 { font-size: 10px; }

.m-today { padding: 11px 15px 16px; display: flex; flex-direction: column; }
.m-pri { background: var(--mdp); border-left: 3px solid #1550e0; padding: 13px 12px 12px 13px; display: grid; gap: 9px; transition: background-color .45s; }
.m-pri__head { display: flex; justify-content: space-between; align-items: baseline; }
.m-pri__title { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.m-pri__sub { font-size: 9.5px; letter-spacing: .08em; font-weight: 650; color: var(--mf2); }
.m-pri__hint { font-size: 11.5px; color: var(--mf2); }
.m-pri__items { display: contents; }
.m-pri__item { display: flex; align-items: center; gap: 10px; min-height: 30px; }
.m-pri__box { width: 18px; height: 18px; border: 1px solid var(--mf); background: transparent; display: grid; place-items: center; padding: 0; }
.m-pri__box .ic { width: 12px; height: 12px; color: var(--mp); display: none; }
.m-pri__box[aria-pressed="true"] { background: var(--mf); }
.m-pri__box[aria-pressed="true"] .ic { display: block; }
.m-pri__text { font-size: 13.5px; }
.m-pri__item.is-done .m-pri__text { text-decoration: line-through; opacity: .55; }
.m-pri__add { display: flex; align-items: center; gap: 12px; }
.m-pri__add[hidden] { display: none; }
.m-pri__n { font-size: 9px; color: var(--mf3); width: 8px; }
.m-pri__input { flex: 1; border: 0; border-bottom: 1px dashed var(--mf); outline: 0; background: transparent; padding: 6px 0; font-size: 13.5px; color: var(--mf); }
.m-pri__input:focus-visible { border-bottom-style: solid; }
.m-todo { margin-top: 4px; height: 44px; border: 1px solid var(--mf); display: flex; align-items: center; gap: 12px; padding: 0 12px; }
.m-todo__label { font-size: 12.5px; letter-spacing: .12em; font-weight: 650; flex: 1; }
.m-todo__hint { font-size: 11px; }
.m-continue { margin-top: 10px; border-top: 1px solid var(--ml); padding-top: 12px; }
.m-recent { margin-top: 14px; display: grid; gap: 12px; }
.m-recent__row { display: flex; gap: 11px; align-items: center; }
.m-recent__ico { width: 26px; height: 26px; border: 1px solid var(--ml); display: grid; place-items: center; }
.m-mono-img { width: 16px; height: 16px; filter: var(--mlogo); }
.m-recent__txt { display: grid; }
.m-recent__name { font-size: 13px; }
.m-recent__meta { font-size: 10.5px; color: var(--mf3); }

.m-col3 { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.m-weather { display: flex; justify-content: space-between; align-items: flex-start; height: 49px; }
.m-weather__now { display: flex; gap: 14px; align-items: center; }
.m-weather__txt { display: grid; }
.m-weather__city { font-size: 13px; }
.m-weather__deg { font-family: var(--serif); font-size: 27px; line-height: 1; }
.m-weather__fc { text-align: right; font-size: 11px; line-height: 1.45; margin-top: 6px; }
.m-pair { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 11px; min-height: 0; }
.m-cardtitle { display: flex; gap: 7px; align-items: center; font-size: 13px; }
.m-cal { padding: 14px 12px; }
.m-cal__empty { margin: 26px 0 0; font-size: 11px; color: var(--mf3); }
.m-cal__add { font-size: 11px; color: var(--mf3); text-decoration: underline; }
.m-timer { padding: 14px 12px 10px; display: flex; flex-direction: column; }
.m-timer__time { margin: auto auto 0; font-size: 23px; letter-spacing: .02em; padding: 0 28px 6px; border-bottom: 1px solid var(--mf3); }
.m-timer__btn { margin-top: auto; height: 24px; border: 0; background: var(--mbtn); color: var(--mbtnf); font-size: 11px; }
.m-notes { background: var(--mnote); color: var(--mnotef); padding: 12px; transition: background-color .45s; }
.m-notes__head { display: flex; gap: 8px; align-items: center; font-size: 13px; }
.m-notes__count { font-size: 10px; opacity: .7; }
.m-notes__last { margin-left: auto; font-size: 11px; opacity: .7; max-width: 150px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-notes__ic { margin-left: 14px; }
.m-notes__out { margin-left: 22px; font-size: 14px; line-height: 1; }
.m-notes__field { margin-top: 10px; height: 46px; border: 1px solid color-mix(in oklab, currentColor 30%, transparent); display: flex; align-items: center; padding: 0 10px; }
.m-notes__field:focus-within { border-color: currentColor; }
.m-notes__input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 12.5px; color: inherit; }

.m-actions { background: var(--mact); color: var(--mactf); padding: 16px 17px 14px; display: flex; flex-direction: column; transition: background-color .45s; }
.m-actions__label { margin-bottom: 9px; }
.m-act { display: flex; align-items: center; gap: 17px; padding: 3.5px 0; }
.m-act:hover { background: rgba(0,0,0,.05); }
.m-act__name { flex: 1; font-size: 13px; }
.m-act__badge { font-size: 10.5px; opacity: .7; }
.m-actions__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; border-top: 1px solid rgba(0,0,0,.25); padding-top: 11px; }
.m-actions__foot .m-label { line-height: 1.45; }

.m-foot { display: grid; grid-template-columns: auto 232px auto 1fr 292px auto; align-items: center; gap: 15px; padding: 12px 0; font-size: 9px; letter-spacing: .24em; font-weight: 560; }
.m-foot__line { height: 1px; background: var(--mr); opacity: .6; }

.m-banner { position: absolute; right: 40px; bottom: 22px; width: 460px; display: flex; gap: 14px; padding: 12px; background: var(--msheet); border: 1px solid var(--ml); box-shadow: 0 22px 50px -24px rgba(0,0,0,.45); }
.m-banner[hidden] { display: none; }
.m-banner__art { width: 92px; height: 108px; flex: none; background: #dcd6fd; color: #000; padding: 6px; }
.m-banner__art svg { display: block; width: 100%; height: 100%; }
.m-banner__body { display: flex; flex-direction: column; min-width: 0; }
.m-banner__title { font-family: var(--serif); font-size: 20px; font-weight: 500; letter-spacing: -.01em; }
.m-banner__text { margin-top: 3px; font-size: 12.5px; line-height: 1.4; color: var(--mf2); }
.m-banner__btns { margin-top: auto; display: flex; gap: 6px; }
.m-btn { height: 26px; padding: 0 13px; border: 1px solid var(--ml); background: transparent; font-size: 12.5px; }
.m-btn--solid { padding: 0 14px; border-color: var(--mbtn); background: var(--mbtn); color: var(--mbtnf); }
.m-toast { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); background: var(--mf); color: var(--mp); padding: 12px 18px; font-size: 14px; font-weight: 500; }
.m-toast[hidden] { display: none; }

/* ---------- Interludes ---------- */
.interlude { margin-top: var(--sec-gap); height: 150vh; position: relative; }
.interlude__stick { position: sticky; top: 64px; height: calc(100vh - 64px); overflow: hidden; }
.interlude__clip { position: absolute; inset: 0; overflow: hidden; clip-path: inset(14% 22% 14% 22%); }
.interlude__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.2); }
.interlude__cap { margin: 0; position: absolute; left: var(--gut); right: var(--gut); bottom: clamp(20px, 3vw, 44px); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 20px; color: #fff; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; font-weight: 560; mix-blend-mode: difference; }

/* ---------- N° 02 Contents (tour) ---------- */
.tour { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); margin-top: clamp(40px, 5vw, 80px); align-items: start; }
.tour__list { order: 2; position: relative; z-index: 1; background: var(--bg); }
.tour__stage { position: sticky; top: 72px; order: 1; z-index: 2; }
.tour__panels { position: relative; aspect-ratio: 4 / 3.3; max-height: calc(100vh - 130px); width: 100%; overflow: hidden; }
/* Inactive rows: the design fades them to 28% opacity (≈2:1 contrast, fails WCAG AA).
   Here they turn the secondary text colour instead (≥4.5:1). To restore the design exactly,
   use `.tour__row:not(.is-active) { opacity: .28; color: inherit; }`. */
.tour__row { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px 16px; width: 100%; text-align: left; border-top: 1px solid var(--fg); padding: 26px 0 clamp(60px, 9vh, 120px); transition: color .5s, opacity .5s; cursor: pointer; }
.tour__row:not(.is-active) { color: var(--fg3); }
.tour__num { font-family: var(--serif); font-size: 16px; padding-top: 12px; font-variant-numeric: tabular-nums; }
.tour__body { display: grid; gap: 16px; }
.tour__name { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(38px, 4.4vw, 76px); line-height: .95; letter-spacing: -.04em; }
.tour__name button { font: inherit; letter-spacing: inherit; line-height: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; text-align: left; }
.tour__desc { margin: 0; font-size: clamp(16px, 1.2vw, 19px); line-height: 1.5; max-width: 40ch; text-wrap: pretty; }
.tour__tags { margin: 0; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 560; color: var(--fg3); }
.tour__panel { position: absolute; inset: 0; padding: clamp(20px, 3vw, 44px); display: flex; flex-direction: column; justify-content: space-between; z-index: 1; }
.tour__panel.is-prev { z-index: 2; }
.tour__panel.is-active { z-index: 3; }
.tour__panel--blue { background: #1550e0; color: #fff; }
.tour__panel--lilac { background: #dcd6fd; color: #000; }
.tour__panel--lime { background: #e6fb45; color: #000; }
.tour__panel--coral { background: #fb6a37; color: #000; }
.tour__label { font-size: 11px; letter-spacing: .2em; font-weight: 560; }
.tour__caption { margin: 0; font-family: var(--serif); font-size: clamp(22px, 2vw, 30px); letter-spacing: -.02em; line-height: 1.15; max-width: 18ch; }
.tour__caption--wide { max-width: 20ch; }

.tp-cap { font-size: 9.5px; letter-spacing: .2em; font-weight: 620; }
.tp-cap--gap { margin-top: 4px; }
.tp-tags { display: flex; flex-wrap: wrap; gap: 5px; font-size: 10.5px; }
.tp-tag { display: inline-flex; gap: 5px; align-items: center; padding: 4px 8px; }
.tp-tag:not(.tp-tag--ink) { border: 1px solid #dcdcd7; }
.tp-tag--ink { background: #000; color: #fff; }
.tp-tag img { width: 12px; height: 12px; }
.tp-tag img.inv { filter: invert(1); }
.tp-spaces { background: #fff; color: #000; display: grid; grid-template-columns: 150px minmax(0, 1fr); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.tp-spaces__head { grid-column: 1 / -1; padding: 16px 18px 12px; border-bottom: 1px solid #dcdcd7; }
.tp-spaces__title { font-family: var(--serif); font-size: 22px; letter-spacing: -.01em; }
.tp-spaces__sub { font-size: 12px; color: #2e2e2c; margin-top: 3px; }
.tp-spaces__list { padding: 10px; border-right: 1px solid #dcdcd7; display: grid; gap: 2px; align-content: start; font-size: 13px; }
.tp-spaces__list span { padding: 6px 8px; }
.tp-spaces__list .is-sel { background: #efedf7; }
.tp-spaces__detail { padding: 14px 16px; display: grid; gap: 10px; min-width: 0; }
.tp-seg { display: flex; flex-wrap: wrap; gap: 4px; font-size: 9.5px; letter-spacing: .16em; font-weight: 620; }
.tp-seg span { padding: 6px 10px; border: 1px solid #dcdcd7; }
.tp-seg .is-on { background: #000; color: #fff; border: 0; }
.tp-open { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.tp-open__btn { padding: 8px 12px; background: #000; color: #fff; font-size: 12px; }
.tp-open__n { font-size: 11px; color: #6f6f6a; }
.tp-today { display: grid; gap: 12px; }
.tp-today__pri { background: #fbfbf9; border-left: 3px solid #1550e0; padding: 16px 16px 14px; display: grid; gap: 10px; box-shadow: 0 30px 60px -34px rgba(0,0,0,.5); }
.tp-today__head { display: flex; justify-content: space-between; align-items: baseline; }
.tp-today__title { font-size: 17px; font-weight: 700; }
.tp-today__sub { font-size: 10px; letter-spacing: .08em; font-weight: 650; color: #2e2e2c; }
.tp-today__count { font-size: 12px; color: #2e2e2c; }
.tp-today__item { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.tp-box { width: 18px; height: 18px; border: 1px solid #000; }
.tp-box--on { background: #000; color: #fff; display: grid; place-items: center; border: 0; }
.tp-done { text-decoration: line-through; opacity: .55; }
.tp-today__notes { background: #fff; padding: 14px 16px; display: grid; gap: 8px; font-size: 13.5px; box-shadow: 0 30px 60px -34px rgba(0,0,0,.5); }
.tp-today__notes > span:not(.tp-today__nh) { color: #2e2e2c; }
.tp-today__nh { display: flex; gap: 8px; align-items: center; }
.tp-today__nc { font-size: 10px; opacity: .6; }
.tp-prompts { background: #fff; box-shadow: 0 30px 60px -34px rgba(0,0,0,.5); }
.tp-prompts__head { padding: 14px 16px; border-bottom: 1px solid #dcdcd7; display: flex; justify-content: space-between; align-items: baseline; }
.tp-prompts__title { font-family: var(--serif); font-size: 21px; }
.tp-prompts__n { font-size: 10px; letter-spacing: .2em; font-weight: 620; }
.tp-prompts__row { padding: 12px 16px; border-bottom: 1px solid #dcdcd7; display: flex; gap: 12px; align-items: center; }
.tp-prompts__txt { flex: 1; display: grid; gap: 2px; }
.tp-prompts__name { font-size: 14px; font-weight: 600; }
.tp-prompts__pv { font-size: 12px; color: #6f6f6a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-copy { font-size: 11px; padding: 5px 9px; border: 1px solid #dcdcd7; }
.tp-copy--ink { background: #000; color: #fff; border: 0; }
.tp-prompts__ask { padding: 12px 16px; display: grid; gap: 8px; }
.tp-focus__time { font-family: var(--serif); font-weight: 600; font-size: clamp(90px, 11vw, 190px); line-height: .85; letter-spacing: -.05em; }
.tp-focus__seg { display: flex; gap: 4px; margin-top: 22px; font-size: 10.5px; letter-spacing: .16em; font-weight: 620; }
.tp-focus__seg span { padding: 9px 14px; border: 1px solid #000; }
.tp-focus__seg .is-on { background: #000; color: #fb6a37; border: 0; }
.tp-focus__start { margin-left: auto; }

/* ---------- N° 03 Tools ---------- */
.tools-sec { overflow-x: clip; } /* clip the 3D flip-in of the cards */
.tools { margin: clamp(40px, 5vw, 72px) 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--ln); border-top: 1px solid var(--ln); border-bottom: 1px solid var(--ln); }
.tools > li { display: grid; }
.tool { display: block; text-decoration: none; }
.tool__card { height: 100%; min-height: clamp(200px, 17vw, 250px); background: var(--bg); display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(34px, 3vw, 48px) 12px 20px; transition: background-color .2s; will-change: transform; }
.tool:hover .tool__card { background: var(--sf); }
.tool__logo { display: block; width: 48px; height: 48px; background-position: center; background-size: contain; background-repeat: no-repeat; }
.tool__logo.is-mono { filter: var(--plogo); }
.tool__name { margin-top: 16px; font-size: clamp(19px, 1.5vw, 23px); font-weight: 500; letter-spacing: -.012em; }
.tool__tag { margin-top: 8px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; font-weight: 550; color: var(--fg2); line-height: 1.65; max-width: 13em; }
.tool__arrow { margin-top: auto; }
.byo { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: clamp(28px, 4vw, 72px); align-items: center; }
.byo__copy { display: grid; gap: 18px; max-width: 560px; }
.byo__title { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 2.6vw, 42px); letter-spacing: -.03em; line-height: 1.02; }
.code-chip { font-family: var(--mono); font-size: .9em; padding: 1px 5px; border: 1px solid var(--ln); }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.swatch { width: 26px; height: 26px; border-radius: 50%; border: 0; background: var(--sw); padding: 0; }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--fg); }
.swatch:nth-child(1) { --sw: #000000; } .swatch:nth-child(2) { --sw: #1550e0; } .swatch:nth-child(3) { --sw: #4867f5; }
.swatch:nth-child(4) { --sw: #127a5f; } .swatch:nth-child(5) { --sw: #1d5c63; } .swatch:nth-child(6) { --sw: #e8643c; }
.swatch:nth-child(7) { --sw: #c8321e; } .swatch:nth-child(8) { --sw: #8b5cf6; } .swatch:nth-child(9) { --sw: #b8901a; }
.byo__demo { display: flex; justify-content: center; }
.byo__card { --mark: #127a5f; width: min(100%, 300px); border: 1px solid var(--ln); background: var(--sf); display: flex; flex-direction: column; align-items: center; padding: 46px 16px 22px; text-align: center; box-shadow: 0 40px 80px -50px rgba(0,0,0,.5); }
.byo__mark { font-family: var(--serif); font-weight: 640; font-size: 46px; letter-spacing: -.04em; line-height: 1; color: var(--mark); transition: color .3s; }
.byo__name { margin-top: 14px; font-size: 21px; font-weight: 500; }
.byo__tag { margin-top: 7px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; font-weight: 550; color: var(--fg2); }
.byo__arrow { margin-top: 34px; }

/* ---------- N° 04 Command bar ---------- */
.cmd-sec { --focus: #e6fb45; margin-top: var(--sec-gap); background: #121211; color: #efe8d8; padding: clamp(90px, 10vw, 170px) var(--gut); }
.sec-head--dark { border-top-color: rgba(239,232,216,.45); }
.cmd-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(28px, 4vw, 72px); margin-top: clamp(48px, 6vw, 96px); align-items: start; }
.cmd-copy { display: grid; gap: 26px; max-width: 480px; }
.cmd-lede { margin: 0; font-family: var(--serif); font-size: clamp(19px, 1.5vw, 24px); line-height: 1.4; text-wrap: pretty; }
.cmd-examples { display: grid; border-top: 1px solid rgba(239,232,216,.2); margin: 0; }
.cmd-ex { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(239,232,216,.2); font-size: 15px; }
.cmd-ex dt, .cmd-ex dd { margin: 0; }
.cmd-ex code { font-family: var(--mono); font-size: 13.5px; }
.cmd-ex dd { color: #8e887c; }
.cmd-bar { border: 1px solid rgba(239,232,216,.5); border-radius: 999px; height: clamp(58px, 5vw, 74px); display: flex; align-items: center; gap: 14px; padding: 0 clamp(18px, 2vw, 28px); background: #161614; }
.cmd-chip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px 5px 7px; background: #1550e0; color: #fff; font-size: 12px; font-weight: 600; border-radius: 999px; white-space: nowrap; }
.cmd-chip img { width: 16px; height: 16px; border-radius: 3px; }
.cmd-typed { flex: 1; min-width: 0; font-size: clamp(17px, 1.4vw, 22px); white-space: nowrap; overflow: hidden; }
.cmd-caret { display: inline-block; width: 2px; height: 1.1em; background: #e6fb45; vertical-align: -.18em; margin-left: 2px; }
.cmd-results { margin: 10px clamp(18px, 2vw, 28px) 0; border: 1px solid rgba(239,232,216,.25); background: #161614; }
.cmd-res { display: flex; align-items: center; gap: 16px; padding: 14px 20px; border-top: 1px solid rgba(239,232,216,.1); }
.cmd-res--hi { padding: 16px 20px; background: #24231f; border-top: 0; }
.cmd-kind { font-size: 10px; letter-spacing: .2em; font-weight: 620; color: #e6fb45; min-width: 92px; }
.cmd-kind--dim { color: #8e887c; }
.cmd-result { flex: 1; font-size: clamp(17px, 1.3vw, 20px); }
.cmd-enter { font-size: 12px; color: #8e887c; }
.cmd-alt { flex: 1; font-size: 15px; color: #cdc6b6; }

/* ---------- N° 05 Breaks + mood ---------- */
.breaks { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(20px, 3vw, 56px); margin-top: clamp(40px, 5vw, 80px); }
.breaks__left { display: grid; gap: 16px; }
.breaks__copy { max-width: 46ch; }
.kind-card { position: relative; aspect-ratio: 1 / 1; background: var(--kind-bg); color: var(--kind-fg); transition: background-color .5s, color .5s; overflow: hidden; }
.kind-card[data-kind="move"] { --kind-bg: #e6fb45; --kind-fg: #000; --kind-head: #fb6a37; }
.kind-card[data-kind="stretch"] { --kind-bg: #dcd6fd; --kind-fg: #000; --kind-head: #fb6a37; }
.kind-card[data-kind="breathe"] { --kind-bg: #1550e0; --kind-fg: #fff; --kind-head: #e6fb45; }
.kind-card[data-kind="eyes"] { --kind-bg: #141413; --kind-fg: #efe8d8; --kind-head: #e6fb45; }
.kind-fig { position: absolute; inset: 8% 14% 4%; width: 72%; height: 88%; }
.kind-fig__head { fill: var(--kind-head); }
.kind-card__top { position: absolute; left: clamp(18px, 2.4vw, 34px); top: clamp(18px, 2.4vw, 34px); right: clamp(18px, 2.4vw, 34px); display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 560; }
.kind-card__title { position: absolute; left: clamp(18px, 2.4vw, 34px); bottom: clamp(18px, 2.4vw, 34px); font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 3.6vw, 60px); letter-spacing: -.04em; line-height: .95; }
.pill-row { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--ln); background: transparent; color: var(--fg); }
.pill[aria-pressed="true"] { border-color: var(--fg); background: var(--fg); color: var(--bg); }
.pill--kind { height: 38px; padding: 0 16px; font-size: 11px; letter-spacing: .2em; font-weight: 570; }
.pill--mood { height: 34px; padding: 0 13px; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 570; }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dot); outline: 1px solid rgba(0,0,0,.2); }
[data-kind-pick="move"] { --dot: #e6fb45; } [data-kind-pick="stretch"] { --dot: #dcd6fd; }
[data-kind-pick="breathe"] { --dot: #1550e0; } [data-kind-pick="eyes"] { --dot: #141413; }
.mood { border-top: 1px solid var(--fg); padding: clamp(18px, 2vw, 28px) 0 0; display: flex; flex-direction: column; gap: 22px; min-height: 100%; }
.mood__live { display: flex; flex-direction: column; gap: 22px; }
.mood__words { margin: 0; font-family: var(--serif); font-weight: 680; font-variation-settings: 'opsz' 48; font-size: clamp(60px, 7.6vw, 132px); line-height: .862; letter-spacing: -.045em; }
.mood__sub { margin: 0; font-family: var(--serif); font-size: clamp(17px, 1.3vw, 21px); line-height: 1.45; max-width: 30ch; }
.mood__controls { margin-top: auto; display: grid; gap: 14px; }
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: none; border: 0; border-top: 1px solid var(--ln); padding: 14px 0 0; text-align: left; }
.switch-row__txt { display: grid; gap: 3px; }
.switch-row__title { font-size: 15px; }
.switch-row__desc { font-size: 12.5px; color: var(--fg3); }
.switch { width: 34px; height: 20px; border-radius: 999px; background: var(--ln); position: relative; flex: none; transition: background-color .2s; }
.switch__knob { position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--fg); transition: left .2s; }
.switch-row[aria-checked="true"] .switch { background: var(--fg); }
.switch-row[aria-checked="true"] .switch__knob { left: 17px; background: var(--bg); }

/* ---------- N° 06 Shelf ---------- */
.shelf-sec { margin-top: var(--sec-gap); background: var(--desk); padding: clamp(90px, 10vw, 170px) var(--gut); transition: background-color .5s; }
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 80px); align-items: start; }
.split__aside { display: grid; position: sticky; top: 110px; }
.shelf-aside { gap: 26px; }
.faq-aside { gap: 22px; }
.shelf-copy { display: grid; gap: 12px; max-width: 52ch; font-size: clamp(16px, 1.15vw, 18px); line-height: 1.5; color: var(--fg2); }
.shelf-copy p { margin: 0; }
.shelf-copy b { color: var(--fg); font-weight: 600; }
.shelf-note { margin: 0; font-size: 13px; color: color-mix(in oklab, var(--fg3) 85%, var(--fg)); max-width: 52ch; } /* fg3 is 4.44:1 on --desk; nudged to pass AA */
.shelf { list-style: none; margin: 0; padding: 18px 0 0; }
.folder-item:nth-child(1) { --fc: #a4c1ee; --tab-x: 28px; }
.folder-item:nth-child(2) { --fc: #f59b7c; --tab-x: 76px; }
.folder-item:nth-child(3) { --fc: #e9e989; --tab-x: 124px; }
.folder-item:nth-child(4) { --fc: #c7ddad; --tab-x: 172px; }
.folder-item:nth-child(5) { --fc: #d4c8ee; --tab-x: 220px; }
.folder-item + .folder-item { margin-top: -19px; }
.folder-item.is-open + .folder-item { margin-top: 22px; }
.folder-h { margin: 0; font: inherit; }
.folder { position: relative; display: block; width: 100%; margin: 0; padding: 24px 0 0; isolation: isolate; color: #171819; background: none; border: 0; text-align: left; }
.folder__tab { position: absolute; top: 0; left: var(--tab-x); z-index: -1; height: 26px; min-width: 102px; padding: 0 18px; background: var(--fc); border-radius: 5px 5px 0 0; font-size: 11px; font-weight: 500; line-height: 26px; }
.folder__ear { position: absolute; right: -8px; top: 0; width: 18px; height: 100%; background: var(--fc); transform: skewX(23deg); transform-origin: left bottom; border-radius: 0 4px 0 0; z-index: -1; }
.folder__body { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 22px; min-height: 145px; padding: 29px clamp(22px, 3vw, 42px) 33px; background: var(--fc); border-radius: 4px 7px 4px 4px; box-shadow: 0 10px 18px -19px rgba(0,0,0,.6); transition: transform 130ms cubic-bezier(.16,1,.3,1); }
.folder__main { display: grid; gap: 17px; min-width: 0; }
.folder__name { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 52px); font-weight: 500; letter-spacing: -.03em; line-height: 1.06; }
.folder__meta { display: flex; gap: 24px; font-size: 11px; font-variant-numeric: tabular-nums; }
.folder__ico { width: 44px; height: 44px; display: grid; place-items: center; opacity: .75; color: #171819; }
.folder:focus-visible { outline-color: var(--fg); }
.folder__entries { list-style: none; margin: -4px 0 0; padding: 6px 0; background: var(--paper); border-radius: 0 0 12px 12px; box-shadow: 0 22px 40px -28px rgba(0,0,0,.45); }
.folder__entries[hidden] { display: none; }
.entry { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 16px; align-items: start; padding: 14px clamp(18px, 2.4vw, 28px); }
.entry + .entry { border-top: 1px solid var(--ln); }
.entry__k { min-height: 22px; display: grid; place-items: center; border: 1px solid var(--fg3); color: var(--fg3); border-radius: 3px; font-size: 11px; font-weight: 700; letter-spacing: .03em; }
.entry__k--web { border-color: var(--web); color: var(--web); }
.entry__txt { display: grid; gap: 2px; min-width: 0; }
.entry__name { font-weight: 600; font-size: 16px; line-height: 1.3; }
.entry__loc { font-family: var(--mono); font-size: 12.5px; color: var(--fg3); overflow-wrap: anywhere; }
.entry__date { font-size: 13px; color: var(--fg3); padding-top: 3px; white-space: nowrap; }

/* ---------- N° 07 FAQ ---------- */
.faq-sec { padding-bottom: var(--sec-gap); }
.faq { border-bottom: 1px solid var(--fg); }
.faq__item { border-top: 1px solid var(--fg); }
.faq__q { margin: 0; font: inherit; }
.faq__q button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; background: none; border: 0; padding: 24px 0; text-align: left; }
.faq__q button > span { font-family: var(--serif); font-size: clamp(22px, 1.9vw, 30px); letter-spacing: -.02em; line-height: 1.15; }
.faq__ic { transition: transform .4s cubic-bezier(.22,1,.36,1); }
.faq__item.is-open .faq__ic { transform: rotate(45deg); }
.faq__a { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .5s cubic-bezier(.22,1,.36,1); }
.faq__a > div { overflow: hidden; visibility: visible; transition: visibility 0s; }
.faq__a p { margin: 0; padding: 0 0 26px; max-width: 60ch; font-size: clamp(16px, 1.15vw, 18px); line-height: 1.55; color: var(--fg2); text-wrap: pretty; }
.app .faq__item:not(.is-open) .faq__a { grid-template-rows: 0fr; }
.app .faq__item:not(.is-open) .faq__a > div { visibility: hidden; transition: visibility 0s .5s; }

/* ---------- N° 08 Install ---------- */
.cta { --focus: #e6fb45; position: relative; min-height: 100vh; overflow: hidden; color: #efe8d8; background: #0d1530; display: flex; flex-direction: column; justify-content: flex-end; }
.cta__img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; }
.cta__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta__tag { position: absolute; z-index: 1; top: clamp(24px, 3vw, 48px); right: var(--gut); margin: 0; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 560; text-align: right; line-height: 1.6; }
.cta__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,21,48,0) 30%, rgba(13,13,12,.78) 100%); }
.cta__content { position: relative; padding: clamp(24px, 3vw, 48px) var(--gut) clamp(28px, 3.4vw, 56px); display: grid; gap: clamp(28px, 3vw, 44px); }
.cta__title { margin: 0; font-family: var(--serif); font-weight: 680; font-variation-settings: 'opsz' 60; font-size: clamp(60px, 10vw, 184px); line-height: .85; letter-spacing: -.05em; }
.cta__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 24px; align-items: end; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cta__fine { opacity: .8; }
/* Where the design had a newsletter form: the store status, in the same shape (label, underlined line). */
.cta__soon { display: grid; gap: 10px; justify-self: end; width: min(100%, 460px); }
.cta__status { margin: 0; min-height: 53px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid #efe8d8; font-family: var(--serif); font-size: 20px; line-height: 1.25; }
.cta__dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #e6fb45; }
.cta__note { margin: 0; font-size: 14px; line-height: 1.5; text-wrap: pretty; }
html:not(.app) .hero__clock { display: none; } /* needs JS: the clock would show a stale time */

/* ---------- Footer ---------- */
.site-foot { padding: 0 var(--gut) 26px; }
.site-foot__rule { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 16px 0; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; font-weight: 560; }
.site-foot__line { flex: 1 1 40px; height: 1px; background: var(--fg); opacity: .6; }
.site-foot__gap { flex: 3 1 0; }
.site-foot__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--fg3); }
.site-foot__meta p { margin: 0; }
.site-foot__nav { display: flex; gap: 20px; }

/* ---------- 404 ---------- */
.nf { min-height: calc(100vh - 64px); min-height: calc(100svh - 64px); padding: clamp(22px, 2.4vw, 36px) var(--gut) clamp(40px, 5vw, 80px); display: grid; grid-template-rows: auto 1fr auto; gap: 40px; }
.nf__title { align-self: center; margin: 0; font-family: var(--serif); font-weight: 680; font-variation-settings: 'opsz' 60; font-size: clamp(64px, 12vw, 220px); line-height: .84; letter-spacing: -.045em; }
.nf__hl { position: relative; display: inline-block; padding: 0 .06em; margin-left: -.06em; background: #e6fb45; color: #000; }
.nf__foot { display: grid; gap: 22px; max-width: 520px; }

/* ---------- Privacy ---------- */
.pv { padding: clamp(22px, 2.4vw, 36px) var(--gut) var(--sec-gap); }
.pv__head { display: grid; gap: clamp(28px, 3vw, 44px); padding-bottom: clamp(56px, 7vw, 120px); }
.pv__title { margin: 0; font-family: var(--serif); font-weight: 680; font-variation-settings: 'opsz' 60; font-size: clamp(56px, 10vw, 184px); line-height: .86; letter-spacing: -.045em; }
.pv__lede { max-width: 620px; }
.pv-sec { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px clamp(16px, 2vw, 32px); border-top: 1px solid var(--fg); padding: 18px 0 clamp(56px, 6vw, 104px); }
.pv-sec__title { margin: 0; font-family: var(--serif); font-weight: 640; font-size: clamp(32px, 3.6vw, 60px); line-height: .95; letter-spacing: -.035em; }
.pv-sec__aside { display: grid; gap: 18px; align-content: start; }
.pv-list { list-style: none; margin: 0; padding: 0; display: grid; }
.pv-list > li { display: grid; gap: 6px; padding: 18px 0 20px; border-top: 1px solid var(--ln); }
.pv-list > li:first-child { border-top: 0; padding-top: 0; }
.pv-list h3 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(20px, 1.6vw, 26px); letter-spacing: -.02em; line-height: 1.2; }
.pv-list p, .pv-copy { margin: 0; max-width: 64ch; font-size: clamp(16px, 1.15vw, 18px); line-height: 1.55; color: var(--fg2); text-wrap: pretty; }
.pv-perm { margin: 0; display: grid; }
.pv-perm__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px 24px; padding: 18px 0 20px; border-top: 1px solid var(--ln); }
.pv-perm__row:first-child { border-top: 0; padding-top: 0; }
.pv-perm dt { display: flex; flex-wrap: wrap; gap: 6px; align-content: start; }
.pv-perm dd { margin: 0; display: grid; gap: 4px; font-size: clamp(15px, 1.05vw, 17px); line-height: 1.5; color: var(--fg2); }
.pv-perm__when { font-weight: 600; color: var(--fg); }
.pv-perm .code-chip { color: var(--fg); overflow-wrap: anywhere; }
.pv__note { margin: 0; max-width: 64ch; font-size: 13px; line-height: 1.5; color: var(--fg3); }

/* ---------- Breakpoints (mirrors the design's JS breakpoints) ---------- */
@media (max-width: 380px) {
  /* Narrow phones: the design's header and folder tabs are a few px wider than 320px. */
  .masthead__bar { gap: 10px; }
  .brand { font-size: 22px; }
  .btn-chrome { margin-left: 2px; padding: 0 10px; letter-spacing: .08em; }
  .theme-toggle { padding: 4px 6px; }
  .folder-item:nth-child(2) { --tab-x: 62px; }
  .folder-item:nth-child(3) { --tab-x: 96px; }
  .folder-item:nth-child(4) { --tab-x: 130px; }
  .folder-item:nth-child(5) { --tab-x: 164px; }
}
@media (max-width: 759px) {
  .m-feat__nav { gap: 18px; } /* replica runs at 50% here: keep the two targets ≥24px apart (WCAG 2.5.8) */
}
@media (min-width: 560px) {
  .theme-toggle { display: none; }
  .theme-pair { display: flex; }
}
@media (min-width: 640px) {
  .tools { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 760px) {
  .sec-head { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); }
  .mockbox { --msc: .6; aspect-ratio: 1648 / 1222; height: auto; overflow-x: hidden; }
  .tour { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
  .tour__stage { top: 96px; order: 3; }
  .tour__panels { aspect-ratio: 4 / 4.4; }
  .breaks { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .pv-sec { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .pv-sec__aside { position: sticky; top: 96px; }
}
@media (min-width: 1024px) {
  .pv-perm__row { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
}
@media (min-width: 1180px) {
  .thread { display: block; }
  .mainnav { display: flex; }
}
@media (min-width: 1280px) {
  .tools { grid-template-columns: repeat(8, minmax(0, 1fr)); }
}
@media (hover: hover) {
  .m-tile:hover { border-color: var(--mf); transform: translateY(-2px); }
  .folder:hover .folder__body { transform: translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) {
  .js .loader { display: none; }
}
@media print {
  .loader, .cursor, .thread, .skip-link { display: none !important; }
  .masthead { position: static; }
  .interlude { height: auto; }
  .interlude__stick { position: static; height: 60vh; }
}
