@font-face { font-family: "Fraunces"; src: url("fonts/fraunces.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("fonts/fraunces-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/jetbrains-mono.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("fonts/playfair.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("fonts/playfair-italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }

:root {
  /* preset Rose noire */
  --night: #0b0204; --bg: #1a0609; --card: #14050a; --sel: #3d0f16; --border: #5a3422;
  --fg: #f3e6d8; --muted: #b59a8c; --accent: #c9a36a; --tint: #c8102e;
  --serif: "Fraunces", Georgia, serif; --sans: "Inter", system-ui, sans-serif; --mono: "JetBrains Mono", ui-monospace, monospace;
  --pad: clamp(20px, 3.9vw, 56px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--night); scroll-behavior: smooth; }
body { margin: 0; color: var(--fg); background: var(--night); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }

/* film grain over everything */
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 60; opacity: .07; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* type */
.display { font-family: var(--serif); font-weight: 300; line-height: .95; letter-spacing: -.03em; font-variation-settings: "opsz" 144; }
.display em { display: block; font-style: italic; color: var(--tint); }
.eyebrow, .mono { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--muted); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 26px; border-radius: 999px; font: 500 16px/1 var(--sans); transition: transform .3s cubic-bezier(.2,.8,.2,1), background .3s, border-color .3s, box-shadow .4s; }
.btn--rubis { background: var(--tint); color: var(--fg); }
.btn--ghost { border: 1px solid rgb(201 163 106 / .6); color: var(--fg); }
.btn--ghost:hover { border-color: var(--accent); }
.btn--sm { padding: 12px 22px; font-size: 14px; }
/* premium finish: light sweep, glow, lift */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgb(255 240 220 / .35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn--rubis { background: linear-gradient(180deg, #e01a3a, var(--tint)); box-shadow: inset 0 1px 0 rgb(255 255 255 / .25), 0 10px 30px -12px rgb(200 16 46 / .9); }
.btn--rubis:hover { box-shadow: inset 0 1px 0 rgb(255 255 255 / .3), 0 16px 50px -10px rgb(200 16 46 / 1), 0 0 0 4px rgb(200 16 46 / .15); }
.btn--ghost { backdrop-filter: blur(8px); background: rgb(243 230 216 / .03); }
.btn--ghost:hover { background: rgb(201 163 106 / .1); box-shadow: 0 0 30px -8px rgb(201 163 106 / .5); }
.btn__arrow { display: inline-block; transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.btn:hover .btn__arrow { transform: translateY(3px); }

/* nav */
.nav { position: absolute; top: 0; left: 0; right: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; padding: 22px var(--pad); }
.logo { font: 400 28px/1 var(--serif); letter-spacing: -.02em; }
.nav__links { display: flex; gap: 36px; font-size: 14px; color: var(--muted); }
.nav__links a:hover { color: var(--fg); }
.nav__menu { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgb(201 163 106 / .5); background: none; color: var(--fg); cursor: pointer; }
.nav__menu span { display: block; width: 16px; height: 1.5px; margin: 4px auto; background: currentColor; }

/* sections and atmosphere */
.sec { position: relative; min-height: 100svh; overflow: clip; isolation: isolate; }
.sec::before, .foot::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at center, transparent 55%, rgb(0 0 0 / .6) 100%); }
.glow { position: absolute; z-index: -2; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, var(--c, var(--tint)), transparent); opacity: var(--o, .4); }
.cone { position: absolute; z-index: -2; top: 0; left: 50%; width: var(--w2, 900px); height: 100%; transform: translateX(-50%); pointer-events: none;
  clip-path: polygon(calc(50% - var(--w1, 90px)) 0, calc(50% + var(--w1, 90px)) 0, 100% 100%, 0 100%);
  background: linear-gradient(rgb(201 163 106 / var(--o, .18)), transparent 85%); filter: blur(30px); }
.atmo { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.lueur { position: absolute; width: 24px; height: 24px; border-radius: 50%; background: radial-gradient(closest-side, var(--fg) 0 2px, rgb(201 163 106 / .6) 3px, transparent); animation: drift var(--d, 9s) ease-in-out infinite alternate; }
.petale { position: absolute; width: 14px; height: 10px; color: var(--tint); animation: fall var(--d, 9s) linear infinite; animation-delay: var(--delay, 0s); opacity: 0; }
@keyframes drift { to { transform: translate(var(--dx, 10px), var(--dy, -14px)); opacity: .45; } }
@keyframes fall { 0% { transform: translate(0, -60px); opacity: 0; } 15%, 80% { opacity: .8; } 100% { transform: translate(24px, 160px); opacity: 0; } }

.sprite { overflow: visible; image-rendering: pixelated; shape-rendering: crispEdges; }
.sprite .halo { shape-rendering: auto; }

/* bubble */
.bubble { position: absolute; z-index: 5; white-space: nowrap; padding: 10px 16px; border-radius: 4px; background: var(--fg); color: var(--bg); font: 500 15px/1.2 var(--sans); }
.bubble::before, .bubble::after { content: ""; position: absolute; width: 8px; height: 8px; background: var(--fg); }
.bubble::before { left: 16px; bottom: -8px; }
.bubble::after { left: 8px; bottom: -16px; }
.bubble--left::before { left: auto; right: 16px; } .bubble--left::after { left: auto; right: 8px; }
/* tail sits just above the head: the head spans ~50-90% of a mood sprite, ~70-100% of a flight sprite */
.perch > .bubble { left: 62%; bottom: calc(80% + 14px); }
.perch > .bubble--left { left: auto; right: calc(42% - 20px); }
.perch[data-mood="vol"] > .bubble { left: 76%; bottom: calc(93% + 14px); }
.perch[data-mood="vol"] > .bubble--left { left: auto; right: calc(22% - 20px); }

/* hero */
.hero { display: grid; place-items: center; align-content: center; text-align: center; padding: 120px var(--pad) 40px; }
.hero__eyebrow { position: absolute; top: 118px; left: var(--pad); }
.hero h1 { font-size: clamp(54px, 9.2vw, 132px); }
.hero .bar { margin-top: 12px; }
.hero__sub { margin-top: 8px; color: var(--muted); font-size: 17px; }
.hero__cta { margin-top: 26px; padding: 18px 34px; font-size: 17px; box-shadow: 0 0 60px -10px rgb(200 16 46 / .7); }
.hero__cta:hover { transform: translateY(-2px); }
.scroll { margin-top: 28px; font-family: var(--mono); font-size: 11px; letter-spacing: .2em; color: var(--muted); }
.rose { position: absolute; z-index: -1; color: var(--tint); }

/* launcher bar, preset Rose noire (sizes in units of the 980 px Figma frame) */
.bar { container-type: inline-size; position: relative; width: min(735px, 100%); aspect-ratio: 980 / 568; margin-inline: auto; text-align: left; font-family: "Playfair Display", serif; }
.bar * { --u: calc(100cqw / 980); }
.bar__orn { position: absolute; inset: 0; width: 100%; height: auto; pointer-events: none; }
.bar__box { position: absolute; left: calc(80 * var(--u)); top: calc(90 * var(--u)); width: calc(820 * var(--u)); height: calc(342 * var(--u)); border: 1.5px solid var(--accent); border-radius: calc(10 * var(--u)); overflow: hidden;
  background: linear-gradient(rgb(74 13 22 / .55), transparent), var(--bg); box-shadow: 0 calc(28 * var(--u)) calc(80 * var(--u)) rgb(0 0 0 / .55); }
.bar__field { display: flex; align-items: center; gap: calc(14 * var(--u)); height: calc(83 * var(--u)); padding: 0 calc(22 * var(--u)) 0 calc(18 * var(--u)); border-bottom: 1px solid var(--accent); }
.bar__field .sprite { width: calc(58 * var(--u)); height: calc(58 * var(--u)); flex: none; }
.bar__q { flex: 1; font-size: calc(22 * var(--u)); color: var(--fg); white-space: nowrap; overflow: hidden; }
.caret { display: inline-block; width: 1px; height: 1.1em; margin-left: 2px; vertical-align: -.15em; background: var(--fg); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.bar__chip { padding: calc(3 * var(--u)) calc(12 * var(--u)); border: 1px solid var(--accent); border-radius: 999px; font-style: italic; font-size: calc(12 * var(--u)); color: var(--accent); }
.bar__body { display: flex; height: calc(256 * var(--u)); }
.bar__list { width: calc(505 * var(--u)); padding: calc(10 * var(--u)); display: grid; gap: calc(4 * var(--u)); align-content: start; }
.bar__row { position: relative; display: flex; align-items: center; gap: calc(12 * var(--u)); height: calc(56 * var(--u)); padding: 0 calc(12 * var(--u)) 0 calc(14 * var(--u)); border-radius: calc(6 * var(--u)); transition: background .25s; }
.bar__row.is-on { background: linear-gradient(90deg, rgb(200 16 46 / .35), transparent), var(--sel); }
.bar__row.is-on::before { content: ""; position: absolute; left: calc(2 * var(--u)); width: calc(6 * var(--u)); height: calc(6 * var(--u)); background: var(--accent); transform: rotate(45deg); }
.bar__ico { display: grid; place-items: center; width: calc(30 * var(--u)); height: calc(30 * var(--u)); flex: none; border: 1px solid var(--accent); border-radius: 50%; font-style: italic; font-size: calc(15 * var(--u)); color: var(--accent); }
.bar__txt { flex: 1; min-width: 0; line-height: 1.3; }
.bar__txt b { display: block; font-weight: 400; font-size: calc(16 * var(--u)); color: var(--fg); }
.bar__row.is-on .bar__txt b { font-weight: 600; }
.bar__txt small { display: block; font-size: calc(12 * var(--u)); color: var(--muted); }
.bar__kind { font-style: italic; font-size: calc(11 * var(--u)); color: var(--muted); }
.bar__preview { flex: 1; padding: calc(24 * var(--u)); border-left: 1px solid var(--accent); line-height: 1.4; }
.bar__preview b { display: block; font-weight: 600; font-size: calc(22 * var(--u)); }
.bar__preview p { margin-top: calc(6 * var(--u)); font-size: calc(13 * var(--u)); color: var(--muted); }
.bar__preview small { display: block; margin-top: calc(6 * var(--u)); font-style: italic; font-size: calc(11 * var(--u)); color: var(--muted); }
.bar__result { position: absolute; left: 0; right: 0; top: calc(84 * var(--u)); bottom: 0; padding: calc(30 * var(--u)) calc(40 * var(--u)); background: var(--bg); opacity: 0; transition: opacity .35s; }
.bar__result strong { display: block; font: 300 calc(120 * var(--u))/1 var(--serif); letter-spacing: -.03em; color: var(--tint); }
.bar__result span { display: block; margin-top: calc(16 * var(--u)); font-family: var(--mono); font-size: calc(12 * var(--u)); letter-spacing: .06em; color: var(--muted); }
.bar.is-result .bar__result { opacity: 1; }

/* pinned scenes */
.pin { position: relative; height: var(--len, 300vh); }
.pin > .sec { position: sticky; top: 0; height: 100svh; min-height: 0; }

/* demo */
.demo { display: grid; place-items: center; align-content: center; gap: 20px; padding: 80px var(--pad); }
.demo__q { font: italic 300 clamp(48px, 8.3vw, 120px)/1.1 var(--serif); letter-spacing: -.02em; min-height: 1.1em; text-align: center; }
.demo__q .caret { width: 3px; background: var(--tint); }
.demo.has-result .demo__q { font-size: clamp(36px, 5vw, 72px); }
.demo .bar { width: min(690px, 100%); }
.steps { position: absolute; right: calc(var(--pad) + 60px); top: 50%; transform: translateY(-50%); display: grid; gap: 22px; padding-left: 20px; border-left: 1px solid rgb(181 154 140 / .3); }
.steps::before { content: ""; position: absolute; left: -1px; top: 0; width: 1px; height: calc(var(--step, 1) / 3 * 100%); background: var(--tint); transition: height .4s; }
.steps li { font: italic 300 28px/1 var(--serif); color: var(--muted); opacity: .4; transition: all .4s; }
.steps li.is-on { font-size: 40px; color: var(--fg); opacity: 1; }

/* gestures: sticky title, scrolling column */
.gestes { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.5fr); gap: 72px; padding: 96px var(--pad) 120px; }
.gestes__side { position: sticky; z-index: 2; top: 0; height: 100svh; display: grid; align-content: center; }
.gestes h2 { font-size: clamp(46px, 5.6vw, 88px); }
.gestes__perch { position: relative; height: 170px; margin-top: 24px; }
.cats { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 36px; font: italic 300 22px/1.3 var(--serif); }
.cats a { color: rgb(181 154 140 / .55); transition: color .3s; }
.cats a:hover, .cats a.is-on { color: var(--fg); }
.cats a.is-on { text-decoration: underline 1px var(--tint); text-underline-offset: 6px; }
.cats sup { margin-left: 3px; font: 10px var(--mono); color: var(--tint); }
.gestes__list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; padding-block: 12vh; interpolate-size: allow-keywords; }
.geste { position: relative; border: 1px solid var(--border); border-radius: 16px; background: linear-gradient(160deg, rgb(200 16 46 / .06), transparent 45%), var(--card); scroll-margin-top: 30px; overflow: clip; transition: border-color .5s, box-shadow .6s, transform .6s cubic-bezier(.2,.8,.2,1); }
.geste:nth-child(4n+2), .geste:nth-child(4n+3) { background: linear-gradient(200deg, rgb(201 163 106 / .07), transparent 50%), var(--card); }
.geste:hover { transform: translateY(-3px); border-color: rgb(201 163 106 / .5); }
.geste:has(details[open]) { border-color: rgb(201 163 106 / .7); box-shadow: 0 30px 80px -30px rgb(200 16 46 / .45), inset 0 1px 0 rgb(243 230 216 / .06); }
.geste.is-on { border-color: var(--accent); }
.geste summary { position: relative; display: grid; padding: 26px 64px 24px 26px; cursor: pointer; list-style: none; }
.geste summary::-webkit-details-marker { display: none; }
.geste__n { letter-spacing: .1em; color: var(--tint); }
.geste h3 { margin-top: 8px; font: 300 clamp(34px, 3.2vw, 46px)/1 var(--serif); letter-spacing: -.03em; transition: color .3s; }
.geste summary:hover h3 { color: #fff; }
.geste summary > p { margin-top: 8px; font: italic 300 17px/1.35 var(--serif); color: var(--muted); }
.geste__x { position: absolute; top: 24px; right: 22px; width: 30px; height: 30px; border: 1px solid rgb(201 163 106 / .5); border-radius: 50%; transition: transform .5s cubic-bezier(.2,.8,.2,1), background .3s; }
.geste__x::before, .geste__x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1px; background: var(--accent); translate: -50% -50%; }
.geste__x::after { rotate: 90deg; transition: rotate .5s cubic-bezier(.2,.8,.2,1); }
details[open] .geste__x { transform: rotate(180deg); background: rgb(200 16 46 / .25); }
details[open] .geste__x::after { rotate: 0deg; }
.geste details::details-content { height: 0; overflow: clip; transition: height .55s cubic-bezier(.2,.8,.2,1), content-visibility .55s allow-discrete; }
.geste details[open]::details-content { height: auto; }
.geste ul { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 26px 26px; }
.geste ul li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 8px 7px 14px; border: 1px solid rgb(90 52 34 / .8); border-radius: 999px; background: rgb(11 2 4 / .5); font-size: 14px; line-height: 1.2; color: var(--fg); transition: border-color .3s; }
.geste ul li:not(:has(kbd)) { padding-right: 14px; }
.geste ul li:hover { border-color: var(--accent); }
details[open] ul li { animation: rise .6s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i, 0) * 45ms + 80ms); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } }
.geste kbd { padding: 3px 9px; border: 0; background: rgb(201 163 106 / .12); border-radius: 999px; font: 12px/1.4 var(--mono); color: var(--accent); white-space: nowrap; transition: background .3s, color .3s; }
.geste ul li:hover kbd { background: var(--tint); border-color: var(--tint); color: var(--fg); }
.fleuron { position: absolute; top: 28px; right: 36px; width: 26px; height: 28px; color: var(--accent); }

/* moods */
.humeurs { display: grid; place-items: center; align-content: center; padding: 80px var(--pad); }
.humeurs__ghost { position: absolute; top: 6%; left: 0; right: 0; text-align: center; font: italic 300 clamp(170px, 26vw, 380px)/1 var(--serif); letter-spacing: -.04em; color: rgb(200 16 46 / .32); transition: opacity .3s; }
.humeurs__stage { position: relative; width: min(416px, 70vw, 52svh); aspect-ratio: 1; margin-top: 2vh; }
.humeurs__stage .sprite { width: 100%; height: 100%; }
.humeurs__floor { position: absolute; left: 50%; bottom: 14%; width: min(700px, 90vw); height: 120px; transform: translateX(-50%); --c: var(--accent); --o: .25; }
.moods { position: absolute; left: var(--pad); right: var(--pad); bottom: 7%; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 6px 28px; margin-top: 4vh; font: italic 300 24px/1.2 var(--serif); color: var(--muted); }
.moods li { opacity: .4; transition: all .35s; }
.moods li.is-on { font-size: 40px; color: var(--fg); opacity: 1; }

/* presets */
.presets { display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; gap: 48px; padding: 80px 0; text-align: center; }
.presets .track { justify-self: start; }
.presets h2 { font-size: clamp(46px, 7.6vw, 110px); padding-inline: var(--pad); }
.track { display: flex; align-items: center; gap: 48px; width: max-content; padding-inline: calc(50vw - 300px); transform: translateX(calc(var(--p, .5) * -1 * var(--shift, 0px))); will-change: transform; }
.preset { width: 430px; opacity: .45; transition: opacity .4s, transform .4s; }
.preset img { width: 100%; height: auto; }
.preset figcaption { margin-top: 10px; font: italic 300 22px/1 var(--serif); color: var(--muted); }
.preset.is-on { opacity: 1; transform: scale(1.4); }
.preset.is-on figcaption { color: var(--fg); }

/* install */
.installer { padding: 170px var(--pad) 90px; }
.keys { display: flex; align-items: center; gap: 22px; }
.key { display: block; height: 150px; padding: 22px 28px; border: 1px solid rgb(201 163 106 / .6); border-radius: 18px; background: var(--card); font: 400 44px/1 var(--serif);
  box-shadow: 0 10px 0 rgb(200 16 46 / .35), inset 0 2px 0 rgb(255 255 255 / .06); transition: transform .25s, box-shadow .25s; }
.key:nth-child(1) { width: 200px; } .key:nth-child(3) { width: 170px; } .key:nth-child(5) { width: 420px; }
.installer.is-in .key { animation: press .5s ease both; }
.installer.is-in .key:nth-child(3) { animation-delay: .25s; } .installer.is-in .key:nth-child(5) { animation-delay: .5s; }
@keyframes press { 50% { transform: translateY(10px); box-shadow: 0 0 0 rgb(200 16 46 / .35), inset 0 2px 0 rgb(255 255 255 / .06); } }
.keys .plus { font: italic 300 56px/1 var(--serif); color: var(--tint); }
.installer h2 { margin-top: 100px; font-size: clamp(50px, 8.3vw, 120px); }
.guide { position: relative; z-index: 1; max-width: 760px; margin-top: 56px; }
.guide__tabs { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--border); border-radius: 999px; background: rgb(11 2 4 / .6); backdrop-filter: blur(10px); }
.guide__tabs button { padding: 10px 20px; border: 0; border-radius: 999px; background: none; color: var(--muted); font: 500 14px/1 var(--sans); cursor: pointer; transition: background .35s, color .35s; }
.guide__tabs button:hover { color: var(--fg); }
.guide__tabs button.is-on { background: var(--tint); color: var(--fg); box-shadow: 0 6px 20px -8px rgb(200 16 46 / .9); }
.guide__panel { margin-top: 28px; animation: rise .5s cubic-bezier(.2,.8,.2,1); }
.steps-i { counter-reset: s; display: grid; grid-template-columns: minmax(0, 1fr); }
.steps-i > li { counter-increment: s; position: relative; padding: 0 0 30px 64px; }
.steps-i > li::before { content: counter(s); position: absolute; left: 0; top: -4px; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--accent); border-radius: 50%; font: italic 300 20px/1 var(--serif); color: var(--accent); background: var(--night); }
.steps-i > li:not(:last-child)::after { content: ""; position: absolute; left: 20px; top: 40px; bottom: 0; width: 1px; background: linear-gradient(var(--accent), rgb(201 163 106 / .1)); }
.steps-i h3 { font: 400 26px/1.2 var(--serif); }
.steps-i p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.steps-i b { color: var(--fg); font-weight: 500; }
.steps-i code, .steps-i kbd { font: 13px var(--mono); color: var(--accent); }
.steps-i kbd { padding: 4px 9px; border: 1px solid var(--border); border-bottom-width: 3px; border-radius: 6px; color: var(--fg); }
.guide__acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.cmd { display: flex; align-items: center; gap: 12px; margin-top: 8px; padding: 10px 10px 10px 16px; border: 1px solid var(--border); border-radius: 10px; background: rgb(11 2 4 / .7); }
.cmd code { flex: 1; min-width: 0; scrollbar-width: none; overflow-x: auto; white-space: nowrap; color: var(--fg) !important; }
.cmd code::before { content: "$ "; color: var(--tint); }
.cmd__copy { flex: none; padding: 7px 14px; border: 1px solid rgb(201 163 106 / .5); border-radius: 999px; background: none; color: var(--accent); font: 12px var(--mono); cursor: pointer; transition: background .3s, color .3s; }
.cmd__copy:hover { background: var(--accent); color: var(--night); }
.guide > .mono { margin-top: 10px; font-size: 12px; letter-spacing: .06em; opacity: .7; }
.installer__perch { position: absolute; right: 8%; top: 40%; width: 352px; height: 352px; }

/* trust */
.confiance { display: grid; justify-items: center; align-content: start; padding: 150px var(--pad) 60px; text-align: center; min-height: 900px; }
.confiance h2 { font-size: clamp(50px, 8.3vw, 120px); }
.confiance .mono { margin-top: 56px; font-size: 13px; letter-spacing: .1em; }
.confiance__bed { position: relative; width: 420px; height: 300px; margin-top: 40px; }

/* footer */
.foot { position: relative; isolation: isolate; padding: 40px var(--pad) 0; overflow: clip; }
.foot__sep { width: min(820px, 100%); margin: 0 auto 70px; }
.foot__grid { display: flex; gap: 120px; align-items: flex-start; }
.foot__grid h2 { font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .12em; color: rgb(181 154 140 / .6); text-transform: uppercase; margin-bottom: 14px; }
.foot__grid li { line-height: 30px; }
.foot__grid a:hover { color: var(--accent); }
.foot__grid .btn { margin-left: auto; }
.foot__copy { margin-top: 40px; font-size: 12px; letter-spacing: .06em; opacity: .7; }
.wordmark { font: italic 300 clamp(140px, 26vw, 380px)/.8 var(--serif); letter-spacing: -.04em; text-align: center; opacity: .92; margin-top: -10px; transform: translateY(12%); }
.foot__perch { position: absolute; right: 8%; top: 300px; width: 96px; height: 96px; }

/* companion perches and the travelling Landry */
.perch { position: absolute; }
.perch .sprite { width: 100%; height: 100%; }
.perch .bubble { transition: opacity .3s; }
.has-companion .perch > .sprite { visibility: hidden; }
.has-companion .perch > .bubble { opacity: 0; }
.has-companion .perch.is-here > .bubble { opacity: 1; }
#landry { position: fixed; left: 0; top: 0; z-index: 20; width: 160px; height: 160px; pointer-events: none; transform-origin: 0 0; display: none; }
.has-companion #landry { display: block; }
#landry .sprite { width: 100%; height: 100%; }
#landry.is-flying .sprite { animation: bob .8s ease-in-out infinite alternate; }
@keyframes bob { to { transform: translateY(-6px); } }
.sprite .aile { transform-box: fill-box; transform-origin: 80% 90%; animation: wing 1.5s ease-in-out infinite alternate; }
.sprite .queue { transform-box: fill-box; transform-origin: 0 0; animation: tail 2s ease-in-out infinite alternate; }
.sprite .corps, .sprite .tete { animation: breathe 3s ease-in-out infinite alternate; }
.sprite .halo { animation: pulse 3s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
@keyframes wing { from { transform: rotate(-6deg); } to { transform: rotate(6deg); } }
@keyframes tail { from { transform: rotate(-5deg); } to { transform: rotate(5deg); } }
@keyframes breathe { to { transform: translateY(3px); } }
@keyframes pulse { to { transform: scale(1.08); opacity: .7; } }

/* hero loop: same pose at both ends so it never jumps */
.hero__flyer { position: absolute; right: 13%; top: 30%; width: 256px; height: 179px; animation: fly 4s ease-in-out infinite; }
.hero__flyer svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__flyer .vol-b { animation: flap .4s steps(1) infinite; }
@keyframes flap { 50% { opacity: 0; } }
@keyframes fly { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(5px, -14px); } 50% { transform: translate(10px, 0); } 75% { transform: translate(5px, -10px); } }
.glow.breathe { animation: breathe-glow 4s ease-in-out infinite; }
@keyframes breathe-glow { 50% { transform: scale(1.06); opacity: calc(var(--o) + .18); } }

/* legal pages */
.doc-head { position: relative; padding: 140px var(--pad) 60px; }
.doc-head h1 { font-size: clamp(60px, 8.3vw, 120px); }
.doc-head .perch { right: 14%; top: 180px; width: 192px; height: 192px; }
.doc { display: grid; grid-template-columns: 300px 1fr; gap: 120px; padding: 40px var(--pad) 80px; }
.toc { position: sticky; top: 40px; align-self: start; display: grid; gap: 14px; font: italic 300 22px/1.2 var(--serif); color: rgb(181 154 140 / .55); }
.toc a:hover { color: var(--fg); }
.toc .mono { font-style: normal; color: rgb(181 154 140 / .6); }
.doc article { padding: 36px 0; border-top: 1px solid var(--border); scroll-margin-top: 24px; }
.doc article h2 { font: 400 32px/1.2 var(--serif); }
.doc article p, .doc article pre { margin-top: 14px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.doc article pre { white-space: pre-wrap; font: 14px/1.7 var(--mono); }
.doc article a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.doc-foot { display: flex; justify-content: space-between; align-items: flex-end; padding: 60px var(--pad) 50px; }
.doc-foot .wordmark { font-size: 96px; text-align: left; transform: none; margin: 0; }
.back { font-size: 14px; color: var(--muted); }

/* tablet and phone */
@media (max-width: 1100px) {
  .gestes__list { grid-template-columns: 1fr; }
  .gestes { grid-template-columns: 1fr; gap: 0; }
  .gestes__side { position: relative; height: auto; padding-bottom: 20px; }
  .gestes__list { padding-block: 20px; }
  .steps { position: static; transform: none; display: flex; gap: 24px; border: 0; border-bottom: 1px solid rgb(181 154 140 / .3); padding: 0 0 12px; margin-top: 24px; }
  .steps::before { top: auto; bottom: -1px; height: 1px; width: calc(var(--step, 1) / 3 * 100%); }
  .steps li { font-size: 20px; } .steps li.is-on { font-size: 30px; }
  .installer__perch { right: 4%; top: auto; bottom: 6%; width: 160px; height: 160px; }
}
@media (max-width: 760px) {
  .nav__links, .nav > .btn { display: none; }
  .nav__menu { display: block; }
  .nav.is-open .nav__links { display: grid; position: fixed; inset: 0; z-index: -1; place-content: center; gap: 22px; text-align: center; background: rgb(11 2 4 / .97); font: italic 300 40px/1.2 var(--serif); color: var(--fg); }
  .hero { padding-top: 130px; text-align: left; place-items: start; align-content: start; }
  .hero .rose { width: 64px !important; height: 72px !important; bottom: 1% !important; }
  .hero__eyebrow { top: 90px; font-size: 10px; }
  .hero .bar { margin-top: 70px; }
  .hero__sub { font-size: 15px; max-width: 300px; }
  .hero__cta { display: flex; width: 100%; margin-top: 30px; }
  .scroll { display: none; }
  .hero__flyer { right: 20px; top: 250px; width: 128px; height: 90px; }
  .bubble { font-size: 13px; padding: 8px 12px; }
  .pin { height: auto !important; }
  .pin > .sec { position: relative; height: auto; min-height: 100svh; }
  .gestes__list { grid-template-columns: 1fr; padding-block: 20px; }
  .geste summary { padding: 22px 58px 20px 20px; } .geste ul { padding: 0 20px 18px; }
  .gestes__perch { height: 90px; }
  .moods { position: static; margin-top: 4vh; flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; max-width: 100%; font-size: 18px; scroll-snap-type: x mandatory; }
  .moods li.is-on { font-size: 30px; }
  .track { overflow-x: auto; width: 100%; padding-inline: var(--pad); scroll-snap-type: x mandatory; transform: none; }
  .preset { flex: 0 0 82vw; scroll-snap-align: center; opacity: 1; } .preset.is-on { transform: none; }
  .keys { gap: 8px; } .key { height: 76px; padding: 12px 14px; font-size: 22px; border-radius: 12px; box-shadow: 0 6px 0 rgb(200 16 46 / .35); }
  .key:nth-child(1) { width: 88px; } .key:nth-child(3) { width: 72px; } .key:nth-child(5) { width: 128px; }
  .keys .plus { font-size: 26px; }
  .installer { padding-top: 90px; padding-bottom: 220px; } .installer h2 { margin-top: 50px; }
  .guide__acts .btn { width: 100%; } .steps-i > li { padding-left: 52px; } .guide__tabs button { padding: 10px 14px; }
  .confiance { min-height: 0; padding-top: 90px; } .confiance .mono { font-size: 11px; line-height: 1.9; }
  .confiance__bed { width: 280px; height: 200px; }
  .foot__grid { flex-direction: column; gap: 28px; } .foot__grid .btn { margin-left: 0; }
  .foot__perch { display: none; }
  .doc { grid-template-columns: 1fr; gap: 0; } .toc { display: none; }
  .doc-head .perch { right: 6%; top: 250px; width: 96px; height: 96px; }
  .doc article h2 { font-size: 24px; } .doc article p { font-size: 15px; }
  .doc-foot .wordmark { font-size: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .perch > .bubble { display: none; }
  .hero__flyer .vol-b { display: none; }
}
.bypass { margin-top: 10px; padding-left: 18px; list-style: decimal; color: var(--muted); font-size: 15px; }
.bypass li { margin-top: 6px; }
.bypass b { color: var(--fg); font-weight: 500; }
.callout { margin-top: 14px; padding: 10px 14px; border-left: 2px solid var(--accent); color: var(--muted); font-size: 14px; }
.shot { margin-top: 16px; max-width: 420px; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.shot img { display: block; width: 100%; height: auto; }
.guide__alt { margin-top: 8px; color: var(--muted); font-size: 15px; }
