/* Phéroïa site, « Le poste de nuit » (see business/direction-site.md).
   Night by default; [data-theme="day"] only swaps the light. html.anim = visitor accepts motion, html.js = main.js ran. */

:root,
:root[data-theme="night"] {
  --bg: #0f0c22;
  --surface: #1b1638;
  --surface-2: #262050;
  --text: #f6efe4;
  --text-soft: rgba(246, 239, 228, 0.7);
  --line: rgba(246, 239, 228, 0.11);
  --accent: #ff9f2e;
  --accent-text: #ffb24f;
  --accent-ink: #1b1638;
  --ok: #2fbf9f;
  --shade: 5, 3, 20;
  --glow: 0.16;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --max: 1240px;
}
:root[data-theme="day"] {
  --bg: #f6efe4;
  --surface: #fffaf2;
  --surface-2: #efe5d4;
  --text: #1b1638;
  --text-soft: rgba(27, 22, 56, 0.72);
  --line: rgba(27, 22, 56, 0.12);
  --accent: #ff9f2e;
  --accent-text: #a5520a;
  --accent-ink: #1b1638;
  --ok: #0f6b56;
  --shade: 60, 40, 20;
  --glow: 0.22;
}

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { overflow-x: clip; font-size: 17px; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 3px; border-radius: 10px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.skip { position: fixed; left: 16px; top: -60px; z-index: 70; padding: 10px 16px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 700; text-decoration: none; transition: top 0.3s var(--ease); }
.skip:focus { top: 16px; }
.grain { position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0.05; 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"); }
[data-theme="day"] .grain { opacity: 0.035; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 26px; border: 0; border-radius: 999px; font: 600 16px/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: transform 0.5s var(--spring), translate 0.5s var(--ease), background-color 0.3s var(--ease), box-shadow 0.4s var(--ease); }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 16px 36px -16px rgba(255, 159, 46, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn-primary:hover { background: #ffad4a; box-shadow: 0 20px 44px -16px rgba(255, 159, 46, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn-arrow { padding-right: 7px; }
.btn-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(27, 22, 56, 0.13); font-size: 17px; transition: transform 0.5s var(--spring); }
.btn-arrow:hover .btn-ico { transform: translate(2px, -2px) scale(1.06); }
.btn-small { height: 42px; padding: 0 18px; font-size: 14px; }
.btn-link { height: 54px; padding: 0 6px; background: none; color: var(--text); text-decoration: underline; text-decoration-color: var(--line); text-decoration-thickness: 2px; text-underline-offset: 7px; }
.btn-link:hover { text-decoration-color: var(--accent); }

/* Top bar: a floating island */
.topbar { position: fixed; top: 12px; left: 0; right: 0; z-index: 40; pointer-events: none; }
.island { position: relative; isolation: isolate; pointer-events: auto; display: flex; align-items: center; gap: 8px; width: min(1180px, calc(100% - 24px)); margin: 0 auto; padding: 7px 7px 7px 18px; }
/* The glass lives on a pseudo-element: a backdrop-filter on .island itself would trap the fixed mobile menu inside it. */
.island::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 999px; background: color-mix(in srgb, var(--surface) 70%, transparent); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 22px 44px -26px rgba(var(--shade), 0.7); }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; color: var(--text); font: 800 21px var(--font-title); letter-spacing: -0.02em; text-decoration: none; }
.nav { display: flex; gap: 2px; margin-right: 8px; }
.nav a { white-space: nowrap; padding: 10px 14px; border-radius: 999px; color: var(--text-soft); font-size: 15px; font-weight: 500; text-decoration: none; transition: color 0.25s, background-color 0.25s; }
.nav a:hover, .nav a[aria-current] { color: var(--text); background: var(--line); }
.menu-btn { display: none; position: relative; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--line); cursor: pointer; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--text); transition: transform 0.45s var(--spring); }
.menu-btn span:first-child { transform: translateY(-4px); }
.menu-btn span:last-child { transform: translateY(4px); }
.menu-btn[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

/* Hero */
.hero { position: relative; display: flex; align-items: center; min-height: 100vh; min-height: 100dvh; padding: 120px 0 72px; background: radial-gradient(55% 55% at 82% 32%, rgba(255, 159, 46, var(--glow)), transparent 70%), radial-gradient(45% 45% at 0% 100%, rgba(120, 104, 255, 0.07), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: clamp(32px, 5vw, 80px); width: 100%; }
.clock { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px; padding: 8px 16px 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 60%, transparent); font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(47, 191, 159, 0.5); }
.anim .live { animation: live 2.4s var(--ease) infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 9px rgba(47, 191, 159, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 191, 159, 0); } }
.hero h1 { margin: 0; font-size: clamp(46px, 6vw, 92px); line-height: 0.98; letter-spacing: -0.028em; max-width: 11ch; }
.hero h1 em, .final h2 { font-style: normal; color: var(--accent-text); }
.sub { text-wrap: pretty; max-width: 34ch; margin: 28px 0 38px; color: var(--text-soft); font-size: clamp(18px, 1.55vw, 21px); line-height: 1.5; }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }

.reassure { margin-top: 18px !important; color: var(--text-soft); font-size: 14px; }
.hero-visual { position: relative; justify-self: end; width: 100%; max-width: 500px; aspect-ratio: 5 / 6; }
.hero .mirmo { position: absolute; top: -2%; right: 4%; width: 40%; filter: drop-shadow(0 30px 40px rgba(255, 159, 46, 0.28)); }
.beam { position: absolute; left: 76%; top: 11.7%; width: 82%; height: 64%; transform-origin: 0 0; transform: rotate(121deg) translateY(-50%); clip-path: polygon(0 50%, 100% 4%, 100% 96%); background: linear-gradient(90deg, rgba(255, 232, 170, 0.7), rgba(255, 190, 90, 0.22) 55%, transparent 100%); pointer-events: none; }
[data-theme="day"] .beam { opacity: 0.45; }
.log { position: absolute; left: 0; bottom: 0; width: 84%; display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.note { position: relative; padding: 16px 18px 16px; border-radius: 20px; background: var(--surface); box-shadow: 0 0 0 5px color-mix(in srgb, var(--surface-2) 55%, transparent), 0 0 0 6px var(--line), inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 34px 60px -30px rgba(var(--shade), 0.85); transform: translateX(calc(var(--n) * 8%)) rotate(calc(-1.6deg + var(--n) * 1.5deg)); }
.note p { font-size: 15px; line-height: 1.45; }
.note-top { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px !important; color: var(--text-soft); font-size: 13px !important; }
.note-top time { color: var(--accent-text); font: 800 21px var(--font-title); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.tag { position: absolute; top: 16px; right: 16px; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent-text); font-size: 12px; font-weight: 700; }
[data-theme="night"] .note:first-child { box-shadow: 0 0 0 5px color-mix(in srgb, var(--surface-2) 55%, transparent), 0 0 0 6px rgba(255, 200, 120, 0.28), inset 0 1px 0 rgba(255, 225, 160, 0.3), 0 -10px 60px -20px rgba(255, 180, 80, 0.35), 0 34px 60px -30px rgba(var(--shade), 0.85); }
.note-done .tag { background: color-mix(in srgb, var(--ok) 20%, transparent); color: var(--ok); }
.anim .hero .mirmo { animation: float 7s ease-in-out infinite; }
.anim .antennae { transform-origin: 100px 60px; animation: sway 5s ease-in-out infinite; }
.anim .beam { animation: beam 7s ease-in-out infinite, fade-in 1.4s 0.3s var(--ease) both; }
.anim .note { animation: rise 0.9s calc(0.5s + var(--n) * 0.45s) var(--ease) both; }
@keyframes float { 50% { translate: 0 -10px; } }
@keyframes sway { 50% { transform: rotate(-3deg); } }
@keyframes beam { 50% { opacity: 0.8; } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; translate: 0 26px; } }

/* Sections */
.section { padding: clamp(80px, 9vw, 128px) 0; }
.section h2, .floors h2 { margin: 0 0 22px; font-size: clamp(38px, 5vw, 68px); line-height: 1; letter-spacing: -0.035em; max-width: 16ch; }
.lead { max-width: 52ch; color: var(--text-soft); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; }
.eyebrow { display: inline-block; margin-bottom: 22px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--accent-text); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }

/* The anthill, floor by floor: the tower lights up as the reader climbs */
.floors { padding: clamp(96px, 11vw, 150px) 0 clamp(60px, 8vw, 110px); }
.floors-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); margin-top: clamp(48px, 7vw, 96px); }
.tower { position: sticky; top: 104px; align-self: start; display: flex; flex-direction: column; gap: 8px; padding: clamp(22px, 2.6vw, 32px); border-radius: 32px; background: radial-gradient(120% 70% at 50% 0%, rgba(255, 159, 46, calc(var(--glow) * 0.8)), transparent 65%), var(--surface); box-shadow: 0 0 0 6px color-mix(in srgb, var(--surface-2) 45%, transparent), 0 0 0 7px var(--line), inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 40px 80px -40px rgba(var(--shade), 0.8); }
.tower-count { display: flex; align-items: baseline; gap: 6px; margin-bottom: 14px !important; color: var(--text-soft); font-size: 15px; font-variant-numeric: tabular-nums; }
.tower-count b { color: var(--text); font: 800 40px/1 var(--font-title); letter-spacing: -0.03em; }
.tower-count span { margin-left: auto; color: var(--accent-text); font-weight: 600; }
.roof, .lvl { display: flex; align-items: center; border-radius: 16px; transition: background-color 0.5s var(--ease), border-color 0.5s var(--ease), color 0.5s var(--ease); }
.roof { justify-content: center; height: 64px; margin: 0 9%; border-radius: 26px 26px 12px 12px; background: var(--accent); color: var(--accent-ink); font: 800 18px var(--font-title); }
.lvl { gap: 14px; height: 54px; padding: 0 10px 0 18px; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); background: color-mix(in srgb, var(--accent) 20%, var(--surface)); color: var(--text); box-shadow: inset 0 1px 0 rgba(255, 230, 170, 0.18), 0 10px 30px -18px rgba(255, 159, 46, 0.6); }
.lvl-n { width: 1.2em; color: var(--accent-text); font: 800 22px var(--font-title); font-variant-numeric: tabular-nums; }
.lvl-name { font-weight: 600; }
.lvl-mirmo { width: 38px; margin-left: auto; transition: opacity 0.4s var(--ease), transform 0.6s var(--spring); }
.ground { height: 6px; margin: 6px -10px 0; border-radius: 6px; background: var(--line); }
/* With JS, floors start empty and light up; without it, the whole building is shown. */
.js .lvl:not(.on) { border-style: dashed; border-color: var(--line); background: transparent; color: var(--text-soft); }
.js .lvl:not(.on) .lvl-n { color: var(--text-soft); }
.js .lvl:not(.on) .lvl-mirmo { opacity: 0; transform: translateY(10px) scale(0.6); }
.js .roof:not(.on) { background: transparent; color: var(--text-soft); box-shadow: inset 0 0 0 1px var(--line); }
.storeys { margin: 0; padding: 0; list-style: none; }
.storey { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 50vh; padding: 48px 0; border-top: 1px solid var(--line); }
.storey:first-child { min-height: 40vh; padding-top: 0; border-top: 0; justify-content: flex-start; }
.storey::before { content: ""; position: absolute; left: clamp(-32px, -2.4vw, -14px); top: 48px; bottom: 48px; width: 3px; border-radius: 3px; background: var(--accent); transform: scaleY(0); transform-origin: 50% 0; transition: transform 0.8s var(--ease); }
.storey:first-child::before { top: 0; }
.storey.now::before { transform: scaleY(1); }
.js .storey h3 { transition: color 0.5s var(--ease); }
.js .storey:not(.now) h3 { color: var(--text-soft); }
.storey-st { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 16px !important; }
.storey-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 14px !important; color: var(--text-soft); font-size: 15px; }
.storey-meta b { color: var(--accent-text); font: 800 22px var(--font-title); letter-spacing: -0.01em; }
.storey h3 { margin: 0 0 14px; font-size: clamp(28px, 3vw, 42px); line-height: 1.05; letter-spacing: -0.03em; max-width: 18ch; }
.storey > p:not(.storey-meta):not(.chip) { max-width: 46ch; color: var(--text-soft); font-size: 18px; line-height: 1.55; }
.storey-top h3 { color: var(--accent-text) !important; }
.chip { display: inline-flex; flex-wrap: wrap; align-items: center; align-self: flex-start; gap: 12px; margin-top: 26px !important; padding: 9px 9px 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 15px; font-weight: 500; }
.chip:has(.tick) { padding-left: 10px; padding-right: 18px; }
.tick { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ok); color: var(--bg); font-size: 13px; font-weight: 800; }
.ok { padding: 7px 13px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 13px; font-weight: 700; }

.storey-cta { margin: 30px 0 18px !important; color: var(--text); font-size: 18px; font-weight: 600; }

/* Trades: the one marquee, who it is for */
.trades { overflow: hidden; padding: 28px 0; border-block: 1px solid var(--line); }
.trades-track { display: flex; width: max-content; }
.trades span { padding: 0 28px; font: 800 clamp(28px, 4vw, 54px)/1.1 var(--font-title); letter-spacing: -0.03em; white-space: nowrap; }
.trades span:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px var(--text-soft); }
.anim .trades-track { animation: marquee 48s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Parcours: one appointment, start to finish */
.flow { list-style: none; display: grid; align-items: start; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin: clamp(48px, 6vw, 80px) 0 0; padding: 0; }
.flow li:nth-child(2) { margin-top: 56px; }
.flow li:nth-child(3) { margin-top: 112px; }
.shell { position: relative; padding: 7px; border-radius: 30px; background: color-mix(in srgb, var(--surface-2) 60%, transparent); box-shadow: inset 0 0 0 1px var(--line), 0 44px 80px -44px rgba(var(--shade), 0.9); }
.core { position: relative; display: flex; flex-direction: column; gap: 12px; min-height: 410px; padding: 18px; border-radius: 24px; background: #fffaf2; color: #1b1638; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8); }
.flow-head { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.flow-head time { margin-left: auto; font: 800 17px var(--font-title); color: #5f5486; font-variant-numeric: tabular-nums; }
.flow-n { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #1b1638; color: #f6efe4; font-size: 12px; }
.flow-chat { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.flow .msg { max-width: 92%; padding: 9px 13px; border-radius: 16px; font-size: 14px; line-height: 1.45; }
.flow .msg.bot { align-self: flex-start; background: #fff; border: 1px solid rgba(27, 22, 56, 0.09); border-bottom-left-radius: 6px; }
.flow .msg.me { align-self: flex-end; background: #ff9f2e; color: #1b1638; border-bottom-right-radius: 6px; }
.flow-input { min-height: 42px; padding: 10px 13px; border-radius: 14px; background: #fff; border: 1px solid rgba(27, 22, 56, 0.14); font-size: 14px; }
.flow-input span::after { content: ""; display: inline-block; width: 1.5px; height: 1em; margin-left: 1px; vertical-align: -2px; background: #1b1638; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.ask, .mail { margin: auto 0; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid rgba(27, 22, 56, 0.08); box-shadow: 0 22px 40px -26px rgba(27, 22, 56, 0.5); }
.ask p, .mail p { margin: 0 0 6px; font-size: 14px; }
.ask-label { color: #5f5486; font-size: 11px !important; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.ask-when { font: 800 28px var(--font-title) !important; letter-spacing: -0.02em; }
.ask-q { color: #5f5486; }
.ask-btn { position: relative; display: grid; margin-top: 12px; padding: 12px; border-radius: 999px; background: #ff9f2e; color: #1b1638; font-weight: 700; text-align: center; overflow: hidden; }
.ask-btn > span { grid-area: 1 / 1; transition: transform 0.5s var(--spring), opacity 0.3s; }
.ask-ok { transform: translateY(120%); opacity: 0; }
.ask-btn.on > span:first-child { transform: translateY(-120%); opacity: 0; }
.ask-btn.on .ask-ok { transform: none; opacity: 1; }
.mail-from { display: grid; padding-bottom: 8px; margin-bottom: 10px !important; border-bottom: 1px solid rgba(27, 22, 56, 0.1); }
.mail-from span { color: #5f5486; font-size: 13px; }
.mail-foot { color: #5f5486; font-size: 12px !important; }
.mail-sent { display: inline-block; margin-top: 6px; padding: 4px 10px; border-radius: 999px; background: #17866d; color: #fff; font-size: 12px; font-weight: 700; }
.wait { position: absolute; inset: 56px 18px 18px; display: grid; place-items: center; text-align: center; color: #5f5486; font-size: 14px; opacity: 0; pointer-events: none; }
.wait.on { opacity: 1; }
.flow[data-step] [data-at] { transition: opacity 0.45s var(--ease), transform 0.6s var(--spring); }
.flow[data-step] [data-at]:not(.on):not(.ask-btn):not(.wait) { opacity: 0; transform: translateY(12px) scale(0.96); }
.flow[data-step] .mail:not(.on) { transform: translate(-30px, 10px) rotate(-3deg) scale(0.94); }
.flow .msg.me[data-at] { transform-origin: 100% 100%; }
.flow .msg.bot[data-at] { transform-origin: 0 100%; }
.flow .is-typing { position: relative; color: transparent !important; }
.flow .is-typing::after { content: "• • •"; position: absolute; left: 13px; top: 9px; color: #5f5486; letter-spacing: 2px; }
.replay { display: block; margin: 40px auto 0; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--text); font: 600 15px var(--font-body); cursor: pointer; transition: background-color 0.3s, transform 0.4s var(--spring); }
.replay:hover { background: var(--line); }
.replay:active { transform: scale(0.96); }

/* Demo */
.demo-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: clamp(40px, 7vw, 110px); }
.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-top: 34px; padding: 5px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.tabs button { padding: 11px 18px; border: 0; border-radius: 999px; background: transparent; color: var(--text-soft); font: 600 15px var(--font-body); cursor: pointer; transition: background-color 0.3s var(--ease), color 0.3s, transform 0.4s var(--spring); }
.tabs button:hover { color: var(--text); }
.tabs button:active { transform: scale(0.96); }
.tabs button[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); }
.demo-note { margin-top: 18px !important; color: var(--text-soft); font-size: 14px; }
.phone { display: flex; flex-direction: column; height: 600px; max-width: 470px; justify-self: end; width: 100%; padding: 9px; border-radius: 40px; background: linear-gradient(160deg, #2b2456, #120f28); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 60px 110px -50px rgba(var(--shade), 0.95); }
.phone-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px 16px; color: #f6efe4; }
.phone-head strong { display: block; font: 800 18px var(--font-title); }
.phone-head span:not(.avatar) { display: block; color: rgba(246, 239, 228, 0.66); font-size: 12px; }
.avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 14px; background: #ff9f2e; color: #1b1638; font-size: 13px; font-weight: 800; }
.phone .chat-log { background: #f6efe4; border-radius: 30px 30px 0 0; }
.phone .msg.bot { background: #fff; color: #1b1638; border-color: rgba(27, 22, 56, 0.08); }
.phone .msg.me { background: #ff9f2e; color: #1b1638; }
.phone .msg.typing { color: #5f5486; }
.phone .chat-suggest, .phone .chat-error, .phone .chat-form { background: #f6efe4; }
.phone .chat-suggest button { color: #1b1638; border-color: rgba(27, 22, 56, 0.2); }
.phone .chat-form { border-radius: 0 0 30px 30px; border-top-color: rgba(27, 22, 56, 0.1); }
.phone .chat-form textarea { background: #fff; color: #1b1638; border-color: rgba(27, 22, 56, 0.2); }
.phone .chat-form textarea::placeholder { color: #6b6185; }
.phone .chat-form button { background: #1b1638; color: #f6efe4; }
.phone .chat-error { margin: 0; padding-top: 6px; color: #a32a17; }

/* Time calculator: the visitor's own numbers, shown as an estimate */
.calc h2 { max-width: none; }
.calc-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: clamp(40px, 7vw, 110px); }
.calc-card { display: grid; gap: 26px; padding: clamp(24px, 3vw, 38px); border-radius: 32px; background: var(--surface); box-shadow: 0 0 0 6px color-mix(in srgb, var(--surface-2) 45%, transparent), 0 0 0 7px var(--line), inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 40px 80px -40px rgba(var(--shade), 0.8); }
.calc-field label { display: grid; gap: 2px; font-weight: 600; }
.calc-help { color: var(--text-soft); font-size: 14px; font-weight: 400; }
.calc-row { display: flex; align-items: center; gap: 18px; margin-top: 12px; }
.calc-row input { flex: 1; height: 28px; accent-color: var(--accent); cursor: pointer; }
.calc-row output { min-width: 4.2em; padding: 6px 12px; border-radius: 999px; background: var(--surface-2); text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.calc-result { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--text-soft); }
.calc-result b { color: var(--accent-text); font: 800 clamp(44px, 5vw, 64px)/1 var(--font-title); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.calc-note { color: var(--text-soft); font-size: 13.5px; line-height: 1.5; }

/* Method: three steps, climbing */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin: clamp(48px, 6vw, 80px) 0 0; padding: 0; list-style: none; }
.steps li { display: grid; gap: 18px; align-content: start; padding-top: 26px; border-top: 2px solid var(--line); }
.steps li:nth-child(2) { margin-top: 64px; }
.steps li:nth-child(3) { margin-top: 128px; border-top-color: var(--accent); }
.step-n { font: 800 clamp(84px, 10vw, 150px)/0.8 var(--font-title); color: transparent; -webkit-text-stroke: 2px var(--accent-text); letter-spacing: -0.06em; }
.steps h3 { margin: 0 0 10px; font-size: clamp(24px, 2.2vw, 30px); letter-spacing: -0.02em; }
.steps p { color: var(--text-soft); max-width: 34ch; }

/* Offers */
.ronde-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: clamp(40px, 5vw, 64px); padding: 28px 34px; border-radius: 28px; border: 1px dashed color-mix(in srgb, var(--accent) 60%, transparent); }
.ronde-band h3 { margin: 0 0 6px; font-size: 26px; }
.ronde-band p:not(.price) { max-width: 62ch; color: var(--text-soft); }
.ronde-band .price { color: var(--accent-text); }
.price { font: 800 clamp(38px, 3.6vw, 50px)/1 var(--font-title); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price small { font-size: 0.4em; letter-spacing: 0; opacity: 0.7; }
.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.offer { position: relative; display: flex; flex-direction: column; padding: 34px 30px; border-radius: 28px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, 0.05); }
.offer h3 { margin: 0 0 8px; font-size: 26px; letter-spacing: -0.02em; }
.for { min-height: 3.2em; color: var(--text-soft); font-size: 16px; }
.offer .price { margin-top: 26px; }
.monthly { margin: 8px 0 26px !important; color: var(--text-soft); font-size: 15px; }
.offer ul { display: grid; gap: 10px; margin: auto 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); list-style: none; font-size: 15px; }
.offer li { display: flex; gap: 10px; }
.offer li::before { content: "✓"; color: var(--accent-text); font-weight: 800; }
.offer.featured { background: var(--accent); color: var(--accent-ink); box-shadow: 0 40px 80px -40px rgba(255, 159, 46, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.offer.featured .for, .offer.featured .monthly { color: rgba(27, 22, 56, 0.78); }
.offer.featured ul { border-top-color: rgba(27, 22, 56, 0.18); }
.offer.featured li::before { color: var(--accent-ink); }
.badge { position: absolute; top: 22px; right: 22px; padding: 5px 11px; border-radius: 999px; background: #1b1638; color: #f6efe4; font-size: 12px; font-weight: 700; }
.founders { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 18px; padding: 24px 24px 24px 34px; border-radius: 28px; background: radial-gradient(80% 140% at 0% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%), var(--surface-2); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent); }
.founders p { max-width: 64ch; color: var(--text-soft); }
.founders strong { color: var(--text); }
.owned { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 18px 48px; margin-top: clamp(64px, 8vw, 110px); }
.owned h3 { margin: 0; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.02; letter-spacing: -0.03em; }
.owned ul { grid-row: span 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.owned li { display: grid; gap: 6px; align-content: start; min-height: 150px; padding: 24px; border-radius: 24px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--text-soft); font-size: 15px; }
.owned li:first-child { background: radial-gradient(120% 120% at 100% 0%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 60%), var(--surface); }
.owned li:last-child { background: linear-gradient(160deg, var(--surface-2), var(--surface)); }
.owned li b { color: var(--text); font: 800 20px var(--font-title); letter-spacing: -0.01em; }
.owned > p { align-self: start; color: var(--text-soft); max-width: 40ch; }
.owned { grid-template-rows: auto 1fr; }
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: clamp(48px, 6vw, 72px) 0 0; padding: 0; list-style: none; }
.trust li { display: grid; gap: 6px; align-content: start; padding: 22px 0 0; border-top: 2px solid var(--accent); color: var(--text-soft); font-size: 15px; line-height: 1.5; }
.trust b { color: var(--text); font: 700 18px var(--font-title); }
.ht { margin-top: 40px !important; color: var(--text-soft); font-size: 14px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.faq-grid h2 { position: sticky; top: 120px; align-self: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; display: block; padding: 26px 56px 26px 0; font: 700 clamp(19px, 1.7vw, 23px)/1.3 var(--font-title); letter-spacing: -0.01em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 12px; top: 50%; width: 18px; height: 2px; border-radius: 2px; background: var(--accent-text); transition: transform 0.45s var(--spring); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details p { max-width: 58ch; padding: 0 56px 28px 0; color: var(--text-soft); }
.anim .faq details[open] p { animation: rise 0.6s var(--ease); }

/* Final call: dawn */
.final { position: relative; overflow: hidden; padding: clamp(110px, 14vw, 190px) 0 clamp(100px, 12vw, 160px); text-align: center; background: radial-gradient(70% 60% at 50% 115%, rgba(255, 159, 46, calc(var(--glow) * 2)), transparent 70%); }
.final-inner { display: flex; flex-direction: column; align-items: center; }
.mirmo-final { width: clamp(110px, 12vw, 160px); margin-bottom: 26px; filter: drop-shadow(0 24px 34px rgba(255, 159, 46, 0.3)); }
.final h2 { margin: 0 0 24px; font-size: clamp(56px, 10vw, 150px); line-height: 0.94; letter-spacing: -0.035em; max-width: 12ch; }
.final .lead { margin-bottom: 40px; }
.final .ctas { justify-content: center; }

.footer { border-top: 1px solid var(--line); padding: 36px 0 110px; color: var(--text-soft); font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--text); font: 800 18px var(--font-title); }
.footer a { color: var(--text-soft); text-underline-offset: 4px; }
.footer a + a { margin-left: 20px; }
.footer a:hover { color: var(--text); }

/* Chat */
.chat-launcher { position: fixed; right: 18px; bottom: 18px; z-index: 45; display: flex; align-items: center; gap: 10px; padding: 7px 18px 7px 7px; border: 0; border-radius: 999px; background: var(--surface); color: var(--text); font: 600 15px var(--font-body); cursor: pointer; box-shadow: inset 0 0 0 1px var(--line), 0 22px 44px -18px rgba(var(--shade), 0.75); transition: transform 0.5s var(--spring); }
.chat-launcher:hover { transform: translateY(-2px); }
.chat-launcher:active { transform: scale(0.97); }
.chat-panel { position: fixed; right: 18px; bottom: 18px; z-index: 46; display: flex; flex-direction: column; width: min(390px, calc(100vw - 24px)); height: min(600px, calc(100dvh - 36px)); border-radius: 26px; overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), 0 40px 90px -24px rgba(var(--shade), 0.85); }
.anim .chat-panel:not([hidden]) { animation: rise 0.5s var(--ease); }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.chat-head .who { flex: 1; line-height: 1.3; }
.chat-head strong { display: block; font: 800 18px var(--font-title); }
.chat-head span { color: var(--text-soft); font-size: 12px; }
.chat-close { padding: 4px 10px; border: 0; border-radius: 10px; background: none; color: var(--text-soft); font-size: 26px; line-height: 1; cursor: pointer; }
.chat-close:hover { background: var(--line); color: var(--text); }
.chat-log { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 16px; overflow-y: auto; }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 15px; line-height: 1.5; white-space: pre-wrap; }
.msg.bot { align-self: flex-start; background: var(--bg); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.msg.me { align-self: flex-end; background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: 6px; }
.msg.typing { color: var(--text-soft); font-style: italic; }
.chat-suggest { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px; }
.chat-suggest button { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--text); font: 500 13px var(--font-body); cursor: pointer; transition: background-color 0.3s, transform 0.4s var(--spring); }
.chat-suggest button:hover { background: color-mix(in srgb, var(--accent) 14%, transparent); }
.chat-suggest button:active { transform: scale(0.95); }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-form textarea { flex: 1; height: 46px; max-height: 120px; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: 15px var(--font-body); resize: none; }
.chat-form textarea::placeholder { color: var(--text-soft); }
.chat-form button { padding: 0 18px; border: 0; border-radius: 16px; background: var(--accent); color: var(--accent-ink); font: 700 15px var(--font-body); cursor: pointer; }
.chat-form button:disabled { opacity: 0.5; cursor: wait; }
.chat-note { padding: 0 16px 12px; color: var(--text-soft); font-size: 12px; }
.chat-error { padding: 0 16px 8px; color: #ff8a7a; font-size: 13px; }
[data-theme="day"] .chat-error:not(.phone *) { color: #a32a17; }

/* Sticky booking bar on phones, once the hero is gone (state set by main.js from positions) */
.sticky-cta { display: none; }
@media (max-width: 820px) {
  .sticky-cta { position: fixed; left: 12px; right: 72px; bottom: 12px; z-index: 44; display: flex; align-items: center; justify-content: center; gap: 10px; height: 52px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 700; text-decoration: none; box-shadow: 0 16px 36px -14px rgba(255, 159, 46, 0.8); translate: 0 90px; transition: translate 0.5s var(--ease); }
  .sticky-cta.show { translate: 0 0; }
  .footer { padding-bottom: 96px; }
}

/* Every axis of the business: what runs today, what we build to measure */
.axes-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 0 clamp(32px, 5vw, 80px); align-items: end; }
.axes-head h2 { grid-row: span 2; }
.axes-head .lead { margin: 0; }
.axes-legend { display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--text-soft); font-size: 15px; line-height: 1.45; }
.axes-legend li { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); align-items: baseline; gap: 12px; }
.axes-legend .axe-st { justify-self: start; }
.axe-st { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap; }
.axe-st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.axe-st.ready { color: var(--ok); background: color-mix(in srgb, var(--ok) 14%, transparent); }
.axe-st.made { color: var(--accent-text); background: color-mix(in srgb, var(--accent) 14%, transparent); }
[data-theme="day"] .axe-st.made { color: color-mix(in srgb, var(--accent-text) 82%, #000); } /* AA on the tinted storey background too */
.axe-st.test { color: var(--text); background: color-mix(in srgb, var(--text) 9%, transparent); }
.axe-st.test::before { background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 25%, transparent); }
.axes-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; list-style: none; }
.axe { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 24px 22px 26px; border-radius: 22px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 0.4s var(--ease), translate 0.4s var(--ease); }
.axe:has(.ready) { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ok) 40%, var(--line)); }
.axe:hover { translate: 0 -3px; }
.axe h3 { margin: 4px 0 0; font-size: 21px; line-height: 1.15; letter-spacing: -0.02em; }
.axe p { margin: 0; color: var(--text-soft); font-size: 15px; line-height: 1.5; }
.axes-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin-top: clamp(32px, 4vw, 48px); padding-top: 28px; border-top: 1px solid var(--line); }
.axes-end p { max-width: 56ch; margin: 0; color: var(--text-soft); }
@media (max-width: 1100px) { .axes-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 980px) { .axes-head { grid-template-columns: 1fr; } .axes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .axes-grid { grid-template-columns: 1fr; } .axes-grid { gap: 10px; } .axe { gap: 8px; padding: 18px 18px 20px; border-radius: 18px; } .axe h3 { font-size: 19px; } .axes-legend li { grid-template-columns: 1fr; gap: 6px; } }
@media (prefers-reduced-motion: reduce) { .axe:hover { translate: none; } }

/* Scroll reveal (once): only when JS runs and motion is welcome */
.anim.js .reveal { opacity: 0; translate: 0 32px; transition: opacity 0.9s var(--ease), translate 1.1s var(--ease); }
.anim.js .reveal.in { opacity: 1; translate: 0 0; }

/* Tablet and phone */
@media (max-width: 980px) {
  .hero-grid, .floors-grid, .demo-grid, .faq-grid, .owned { grid-template-columns: 1fr; }
  .hero { min-height: 0; padding-top: 112px; }
  .hero-visual { justify-self: center; max-width: 480px; aspect-ratio: auto; padding-top: 150px; }
  .hero .mirmo { width: 150px; right: 6%; top: 0; }
  .beam { left: calc(94% - 75px); top: 50px; width: 70%; height: 300px; transform: rotate(124deg) translateY(-50%); }
  .log { position: relative; width: 100%; }
  .note { transform: translateX(calc(var(--n) * 3%)) rotate(calc(-1deg + var(--n) * 1deg)); }
  .tower { top: 82px; z-index: 5; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; padding: 14px 16px 16px; border-radius: 22px; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); background: color-mix(in srgb, var(--surface) 90%, transparent); }
  .tower-count { grid-column: 1 / -1; margin-bottom: 4px !important; font-size: 14px; }
  .tower-count b { font-size: 28px; }
  .roof, .ground, .lvl-name, .lvl-mirmo { display: none; }
  .lvl { order: var(--o); justify-content: center; height: 30px; padding: 0; border-radius: 10px; }
  .lvl-n { width: auto; font-size: 15px; }
  .storey, .storey:first-child { min-height: 0; padding: 48px 0; }
  .flow, .steps, .offers { grid-template-columns: 1fr; }
  .flow li:nth-child(n), .steps li:nth-child(n) { margin-top: 0; }
  .flow { max-width: 460px; margin-inline: auto; }
  .phone { justify-self: stretch; max-width: none; height: 560px; }
  .faq-grid h2 { position: static; }
  .owned ul { grid-row: auto; }
  .founders, .ronde-band { flex-direction: column; align-items: flex-start; }
  .calc-grid { grid-template-columns: 1fr; }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav { position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; justify-content: center; gap: 6px; margin: 0; padding: 0 28px; background: color-mix(in srgb, var(--bg) 94%, transparent); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0s 0.4s; }
  .nav a { padding: 12px 0; background: none !important; color: var(--text); font: 800 40px var(--font-title); letter-spacing: -0.03em; translate: 0 24px; opacity: 0; transition: translate 0.6s var(--ease), opacity 0.5s var(--ease); }
  .topbar.open .nav { opacity: 1; visibility: visible; transition: opacity 0.4s var(--ease); }
  .topbar.open .nav a { translate: 0 0; opacity: 1; }
  .topbar.open .nav a:nth-child(2) { transition-delay: 0.05s; }
  .topbar.open .nav a:nth-child(3) { transition-delay: 0.1s; }
  .topbar.open .nav a:nth-child(4) { transition-delay: 0.15s; }
  .topbar.open .nav a:nth-child(5) { transition-delay: 0.2s; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .island { padding-left: 14px; }
  .brand { font-size: 19px; }
  .btn-small { padding: 0 14px; }
  .hero h1 { font-size: clamp(42px, 12.5vw, 60px); }
  .clock { font-size: 12.5px; padding: 7px 12px 7px 10px; gap: 8px; }
  .chip { border-radius: 20px; }
  .chat-launcher { padding: 6px; }
  .chat-launcher .lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .btn { height: 52px; }
  .chat-launcher { right: 12px; bottom: 12px; }
  .chat-panel { right: 12px; bottom: 12px; }
  .owned ul { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; }
  .calc-row { gap: 12px; }
  .owned li { min-height: 0; }
  .ronde-band, .founders { padding: 24px; }
  .footer a + a { margin-left: 0; }
  .footer p:last-child { display: grid; gap: 6px; }
}
@media (max-width: 359px) {
  .topbar .btn-small { display: none; }
}

/* The tower at work: windows glow, ouvrières carry requests up to the roof, the patron gets pinged.
   transform/opacity only; paused off-screen or in a hidden tab (.tower.idle), absent without html.anim. */
.lvl { position: relative; }
.tower-live { margin-top: 10px !important; color: var(--text-soft); font-size: 14px; font-variant-numeric: tabular-nums; }
.tower-live b { display: inline-block; min-width: 2ch; color: var(--accent-text); text-align: right; }
.courier, .ping { display: none; }
.anim .lvl.on::after { content: ""; position: absolute; right: 62px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 2px; box-shadow: -14px 0 0 0 color-mix(in srgb, var(--accent) 70%, #fff), -28px 0 0 0 color-mix(in srgb, var(--accent) 70%, #fff); background: color-mix(in srgb, var(--accent) 70%, #fff); opacity: 0.15; animation: window 3.2s calc(var(--o) * -0.7s) ease-in-out infinite; }
.anim .tower.alive .courier { display: block; position: absolute; left: 3px; top: 92px; bottom: 34px; width: 20px; pointer-events: none; animation: climb 6.4s var(--d) cubic-bezier(0.45, 0, 0.3, 1) infinite; }
.courier svg { position: absolute; bottom: 0; left: 0; width: 20px; }
.courier i { position: absolute; bottom: 17px; left: 12px; width: 10px; height: 7px; border-radius: 2px; background: #fffaf2; box-shadow: 0 0 0 1.5px #ff9f2e; }
.anim .tower.alive .ping { display: block; position: absolute; top: 60px; left: 50%; padding: 4px 10px; border-radius: 999px; background: var(--ok); color: var(--bg); font-size: 12px; font-weight: 800; white-space: nowrap; translate: -50% 0; animation: ping 6.4s 2.6s var(--ease) infinite both; }
.tower.idle *, .tower.idle *::after { animation-play-state: paused !important; }
@keyframes window { 50% { opacity: 0.85; } }
@keyframes climb { 0% { transform: translateY(0); opacity: 0; } 8% { opacity: 1; } 78% { opacity: 1; } 92%, 100% { transform: translateY(-88%); opacity: 0; } }
@keyframes ping { 0%, 60% { opacity: 0; transform: translateY(14px); } 70%, 88% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(-10px); } }
@media (max-width: 980px) { .tower-live, .anim .tower.alive .courier, .anim .tower.alive .ping { display: none; } .anim .lvl.on::after { left: 50%; right: auto; width: 18px; margin: 0 0 0 -9px; top: auto; bottom: 4px; height: 3px; box-shadow: none; } }
