/* RESTOPS website — one palette, one font, one layout logic for every screen height. */
@font-face { font-family: "Heebo"; src: url("fonts/heebo-hebrew.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Heebo"; src: url("fonts/heebo-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: dark;
  --bg: #141233; --bg-2: #1b1846; --navy: #231f57;
  --violet: #8328fc; --violet-2: #6d20d8; --lilac: #c9adff;
  --paper: #f7f4fd; --cream: #fff5e9; --amber: #f2b872;
  --ink: #f6f4fb; --muted: #cfcbe2; --line: #ffffff24;
  --app-ink: #231f57; --app-muted: #5a557a; --app-line: #dcd7ee;
  --bar-h: 60px; --ch-h: 260svh;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: "Heebo", Arial, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
/* No scroll snapping on purpose: in testing it swallowed small mouse-wheel movements. The pinned stage gives the "locked" feel. */
html { scroll-behavior: smooth; scroll-padding-top: var(--bar-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; overflow-x: clip; }
h1, h2, h3, h4, h5, p, ol, ul, dl, dd, figure, blockquote, fieldset { margin: 0; padding: 0; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; font-weight: 800; text-wrap: balance; }
h2 { font-size: clamp(28px, 4.2vw, 46px); }
h3 { font-size: clamp(20px, 2.2vw, 24px); }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button, a, input { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
.phone-screen :focus-visible { outline-color: var(--app-ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip, .skip-link { position: fixed; top: 6px; right: 10px; z-index: 100; background: var(--cream); color: var(--navy); padding: 10px 14px; border-radius: 10px; font-weight: 700; transform: translateY(-200%); }
.skip:focus, .skip-link:focus { transform: none; }
.wrap { max-width: 1120px; margin-inline: auto; padding-inline: clamp(16px, 5vw, 40px); }
.eyebrow { color: var(--lilac); font-size: 14px; font-weight: 600; letter-spacing: .02em; margin-bottom: 10px; }
.muted { color: var(--muted); font-size: 17px; line-height: 1.75; margin-top: 14px; max-width: 46em; }
.small { font-size: 13px; color: #b9b4d0; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 11px 22px; border-radius: 14px; border: 1px solid transparent; font-weight: 700; font-size: 16px; line-height: 1.3; text-align: center; transition: background .2s, transform .15s var(--ease), box-shadow .2s; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--violet); color: #fff; box-shadow: 0 8px 26px #8328fc59; }
.btn-primary:hover { background: var(--violet-2); }
.btn-ghost { background: #14123399; border-color: #c9adffb0; color: #efe6ff; backdrop-filter: blur(8px); }
.btn-ghost:hover { background: var(--navy); }
.btn-whatsapp { background: var(--cream); color: var(--navy); }
.btn-whatsapp:hover { background: #ffe9cf; }
.btn-whatsapp svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; flex: 0 0 auto; }
.btn-small { min-height: 40px; padding: 7px 14px; font-size: 14px; border-radius: 12px; box-shadow: none; }
.btn-big { min-height: 54px; font-size: 17px; }
.btn-text { background: none; border: 0; color: var(--lilac); font-size: 14px; min-height: 40px; padding: 6px 10px; text-decoration: underline; text-underline-offset: 4px; }
.btn:disabled { opacity: .7; cursor: wait; }

/* ---------- top bar: always one row ---------- */
.bar { position: fixed; inset: 0 0 auto; height: var(--bar-h); z-index: 50; display: flex; align-items: center; gap: 12px; padding: 0 clamp(12px, 4vw, 40px); background: #141233d9; backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 9px; min-height: 44px; font-weight: 800; font-size: 20px; letter-spacing: -.03em; flex: 0 0 auto; }
.logo-mark, .brand-mark { display: inline-grid; place-items: center; flex: 0 0 auto; width: 40px; height: 30px; padding: 4px; border-radius: 9px; background: var(--paper); }
.logo-mark img, .brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-word { font-weight: 800; }
.bar-chapters { display: none; margin-inline: auto; gap: 2px; }
.bar-chapters a { font-size: 14px; color: var(--muted); padding: 8px 12px; border-radius: 20px; white-space: nowrap; transition: background .2s, color .2s; }
.bar-chapters a:hover { color: #fff; }
.bar-chapters a[aria-current] { background: #ffffff17; color: #fff; }
.bar-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; background: transparent; border: 1px solid var(--line); border-radius: 12px; }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.bar-progress { position: absolute; inset: auto 0 -1px; height: 2px; overflow: hidden; }
.bar-progress i { display: block; height: 100%; background: linear-gradient(270deg, var(--violet), var(--lilac)); transform-origin: right center; transform: scaleX(var(--progress, 0)); }
.menu { position: fixed; top: calc(var(--bar-h) + 8px); inset-inline-end: clamp(12px, 4vw, 40px); z-index: 60; width: min(300px, calc(100vw - 24px)); max-height: calc(100svh - var(--bar-h) - 20px); overflow-y: auto; background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 14px; box-shadow: 0 20px 60px #000a; }
.menu-title { font-size: 13px; color: var(--lilac); margin: 6px 4px; }
.menu nav { display: grid; margin-bottom: 8px; }
.menu a { min-height: 44px; display: flex; align-items: center; padding: 6px 10px; border-radius: 10px; font-size: 15px; }
.menu a:hover, .menu a[aria-current] { background: #ffffff14; }
.menu-toggle { width: 100%; min-height: 44px; border-radius: 10px; border: 1px solid var(--line); background: transparent; font-size: 15px; }
.menu-toggle[aria-pressed="true"] { background: var(--violet); border-color: var(--violet); }
@media (min-width: 1100px) { .bar-chapters { display: flex; } #menuChapters, .menu > .menu-title:first-child { display: none; } }
@media (max-width: 359px) { .logo-word { display: none; } }

/* ---------- hero (proposal 4) ---------- */
.hero { position: relative; isolation: isolate; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding-top: var(--bar-h); overflow: clip; }
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #0d0b22; }
.hero-media img { position: absolute; top: 0; right: 0; width: 200%; max-width: none; height: 100%; object-fit: cover; object-position: 100% 52%; transform-origin: 78% 58%; animation: kenburns 26s ease-in-out infinite alternate; }
.hero-glow { position: absolute; inset: 0; background: radial-gradient(42% 36% at 46% 52%, #ffb45c38, transparent 70%); mix-blend-mode: screen; animation: glow 5.5s ease-in-out infinite alternate; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, #141233b3 0%, #14123326 26%, #141233d1 58%, var(--bg) 92%); }
.hero-inner { padding: 0 clamp(16px, 5vw, 72px) 8px; }
.hero-copy { max-width: 560px; }
.hero h1 { font-size: clamp(31px, 8.6vw, 68px); margin-bottom: 12px; }
.hero h1 .rise { display: block; }
.lead { font-size: clamp(15px, 1.5vw, 19px); color: #e9e5f6; max-width: 34em; }
.hero-cta { display: grid; gap: 10px; margin-top: 18px; }
.hero-note { font-size: 13px; color: var(--muted); margin-top: 12px; }
.hero-phone { display: none; }
.scroll-hint { align-self: center; display: inline-flex; flex-direction: column; align-items: center; min-height: 48px; justify-content: center; padding: 8px 14px 10px; font-size: 13px; color: var(--lilac); }
.scroll-hint svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; animation: nudge 1.8s ease-in-out infinite; }
.rise { opacity: 0; transform: translateY(22px); animation: rise .9s var(--ease) .1s forwards; }
.rise-2 { animation-delay: .22s; } .rise-3 { animation-delay: .38s; } .rise-4 { animation-delay: .52s; } .rise-5 { animation-delay: .66s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.12) translate(-1.2%, -1%); } }
@keyframes glow { from { opacity: .55; } to { opacity: 1; } }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@media (min-width: 860px) {
  .hero { justify-content: center; }
  .hero-shade { background: linear-gradient(270deg, #141233f2 0%, #141233c7 34%, #14123340 62%, #14123373 100%), linear-gradient(180deg, transparent 70%, var(--bg) 100%); }
  .hero-inner { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); align-items: center; gap: 40px; padding-block: 24px; }
  .hero-cta { grid-template-columns: repeat(2, minmax(0, max-content)); }
  .hero-phone { display: grid; place-items: center; }
  .hero-phone .phone { transform: rotate(-5deg); animation: float 7s ease-in-out infinite; }
  .scroll-hint { position: absolute; bottom: 10px; inset-inline: 0; margin-inline: auto; width: max-content; }
}
@keyframes float { 0%, 100% { transform: rotate(-5deg) translateY(0); } 50% { transform: rotate(-4deg) translateY(-14px); } }

/* ---------- phone mockup (proposal 3) ---------- */
.phone { position: relative; display: flex; flex-direction: column; width: 300px; height: min(610px, calc(100svh - var(--bar-h) - 48px)); padding: 9px; border-radius: 44px; background: #0b0a1a; box-shadow: 0 0 0 2px #3b3770, 0 0 0 3px #0b0a1a, 0 34px 90px #000000b3, 0 0 80px #8328fc33; }
.phone-status { flex: 0 0 30px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; color: #fff; font-size: 12px; font-weight: 600; }
.phone-island { width: 78px; height: 20px; border-radius: 12px; background: #000; box-shadow: inset 0 0 0 1px #1f1d3a; }
.phone-dots { display: flex; gap: 3px; align-items: flex-end; }
.phone-dots i { width: 3px; background: #fff; border-radius: 1px; } .phone-dots i:nth-child(1) { height: 5px; } .phone-dots i:nth-child(2) { height: 8px; } .phone-dots i:nth-child(3) { height: 11px; }
.phone-screen { position: relative; flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 9px; padding: 14px 14px 16px; border-radius: 22px 22px 36px 36px; background: var(--paper); color: var(--app-ink); color-scheme: light; overflow-y: auto; scrollbar-width: thin; font-size: 14px; line-height: 1.45; }
.phone-toast { position: absolute; top: 46px; inset-inline: 18px; z-index: 6; padding: 10px 12px; border-radius: 14px; background: var(--navy); color: #fff; font-size: 13px; line-height: 1.4; box-shadow: 0 12px 34px #0009; opacity: 0; transform: translateY(-130%); transition: transform .5s var(--ease), opacity .3s; pointer-events: none; }
.phone-toast::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-inline-end: 8px; border-radius: 50%; background: var(--amber); }
.phone-toast.show { opacity: 1; transform: none; }

.app-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 8px; border-bottom: 1px solid var(--app-line); }
.app-brand { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; letter-spacing: -.03em; }
.app-brand img { width: 30px; height: 18px; object-fit: contain; }
.chip { font-size: 12px; padding: 2px 9px; border-radius: 12px; background: #e6e0f6; color: #4a4470; }
.app-kicker { font-size: 12px; color: var(--app-muted); }
.app-name { font-size: 18px; font-weight: 800; line-height: 1.25; outline: none; }
.phone-screen h5 { font-size: 13px; font-weight: 700; margin-top: 2px; }
.app-progress-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--app-muted); margin-bottom: 4px; }
.app-bar { height: 6px; border-radius: 6px; background: #e1dbf2; overflow: hidden; }
.app-bar i, .mini-bar b { display: block; height: 100%; border-radius: inherit; background: linear-gradient(270deg, var(--violet), #a56bff); transform-origin: right center; transform: scaleX(var(--fill, 0)); transition: transform .5s var(--ease); }
.app-hint { font-size: 12.5px; color: var(--app-muted); }
.app-hint.strong { background: #e9e0ff; color: #3b2a78; font-weight: 700; padding: 9px 11px; border-radius: 10px; }
.app-action { width: 100%; min-height: 44px; padding: 9px 14px; border: 0; border-radius: 12px; background: var(--app-ink); color: #fff; font-size: 14px; font-weight: 700; transition: transform .15s var(--ease), background .2s; }
.app-action:active { transform: scale(.97); }
.app-action.clock { background: var(--violet); box-shadow: 0 8px 22px #8328fc59; }
.app-action.ghost { background: transparent; color: var(--app-ink); border: 1px solid #b9b1d8; }
.app-action:disabled { background: #d9cff5; color: #3b2a78; cursor: default; }
.link-button { background: none; border: 0; min-height: 36px; padding: 4px 6px; font-size: 13px; color: #5a2fd0; text-decoration: underline; text-underline-offset: 3px; align-self: flex-start; }

.tasks { display: grid; gap: 7px; }
.task { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 46px; padding: 8px 12px; text-align: start; background: #fff; border: 1px solid var(--app-line); border-radius: 12px; color: var(--app-ink); font-size: 14px; line-height: 1.35; transition: background .2s, border-color .2s, transform .15s var(--ease); }
.task:active { transform: scale(.98); }
.check { flex: 0 0 22px; width: 22px; height: 22px; display: grid; place-items: center; border: 1.5px solid #b5aed3; border-radius: 7px; color: transparent; font-size: 14px; line-height: 1; transition: background .2s, border-color .2s; }
.task[aria-pressed="true"] { background: #efe9ff; border-color: #c4b3f5; }
.task[aria-pressed="true"] .check, .topics .is-done .check { background: var(--violet); border-color: var(--violet); color: #fff; }
.task.pop .check, .topics .pop .check { animation: pop .45s var(--ease); }
@keyframes pop { 0% { transform: scale(.5); } 60% { transform: scale(1.3); } 100% { transform: scale(1); } }
.done-card { position: relative; display: grid; gap: 3px; padding: 11px 12px; border-radius: 12px; background: #e9e0ff; font-size: 13px; animation: cardIn .5s var(--ease); }
.done-card strong { font-size: 15px; }
.done-card .app-action { margin-top: 7px; }
@keyframes cardIn { from { opacity: 0; transform: translateY(12px) scale(.97); } }
.confetti { position: absolute; top: 18px; inset-inline-start: 50%; pointer-events: none; }
.confetti i { position: absolute; width: 7px; height: 7px; border-radius: 2px; background: var(--violet); opacity: 0; animation: burst .9s var(--ease) forwards; }
.confetti .c1 { background: var(--amber); }
.confetti .c2 { background: #37c997; border-radius: 50%; }
@keyframes burst { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(220deg); } }

.shift-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.shift-steps li { padding: 4px 1px; border-bottom: 2px solid #d6d0ea; color: var(--app-muted); font-size: 12px; line-height: 1.35; }
.shift-steps li[aria-current] { border-color: var(--violet); color: var(--app-ink); font-weight: 700; }
.workers { display: grid; gap: 8px; }
.worker { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; text-align: start; min-height: 58px; padding: 9px 12px; background: #fff; border: 1px solid var(--app-line); border-radius: 14px; color: var(--app-ink); transition: border-color .2s, transform .15s var(--ease), box-shadow .2s; }
.worker:hover { border-color: var(--violet); box-shadow: 0 6px 18px #8328fc26; }
.worker:active { transform: scale(.98); }
.worker .avatar { grid-row: 1 / 3; }
.worker strong { font-size: 15px; } .worker span:last-child { font-size: 12px; color: var(--app-muted); }
.avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #d9c8ff, #f5d9b5); color: var(--app-ink); font-weight: 800; }
.avatar.big { width: 54px; height: 54px; font-size: 22px; margin-inline: auto; }
.clock-card { display: grid; gap: 6px; justify-items: center; text-align: center; padding: 16px 14px; background: #fff; border: 1px solid var(--app-line); border-radius: 16px; }
.clock-card strong { font-size: 17px; } .clock-card p { font-size: 12px; color: var(--app-muted); }
.clock-card .app-action { margin-top: 6px; }
.receipt { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 3px 4px 3px 10px; border-radius: 10px; background: #e3f6ee; color: #14553c; font-size: 13px; font-weight: 600; }
.receipt .link-button { align-self: center; white-space: nowrap; font-size: 12px; }

.roster { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.roster p { display: grid; padding: 6px 9px; border-radius: 10px; background: #ece6fa; font-size: 12.5px; line-height: 1.35; }
.roster small { font-size: 11.5px; color: #14553c; font-weight: 600; }
.departments { display: grid; gap: 6px; }
.department { display: grid; grid-template-columns: 1fr auto auto; grid-template-areas: "name count chev" "bar bar chev"; align-items: center; gap: 4px 8px; min-height: 46px; padding: 7px 12px; text-align: start; background: #fff; border: 1px solid var(--app-line); border-radius: 12px; color: var(--app-ink); transition: border-color .2s, transform .15s var(--ease); }
.department:hover { border-color: var(--violet); } .department:active { transform: scale(.98); }
.department strong { grid-area: name; font-size: 14px; } .department .count { grid-area: count; font-size: 12.5px; font-weight: 700; color: var(--app-muted); }
.department .chevron { grid-area: chev; font-size: 20px; color: #8f87b5; }
.mini-bar { grid-area: bar; display: block; height: 4px; border-radius: 4px; background: #e1dbf2; overflow: hidden; }
.photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.photo { display: grid; gap: 3px; padding: 0 0 5px; overflow: hidden; background: #fff; border: 1px solid var(--app-line); border-radius: 10px; color: var(--app-ink); font-size: 11.5px; line-height: 1.3; text-align: center; }
.photo img { width: 100%; height: 54px; object-fit: cover; }
.photo span { padding-inline: 3px; }
.photo-view { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; gap: 10px; padding: 14px; background: var(--paper); border-radius: inherit; animation: cardIn .35s var(--ease); }
.photo-view img { width: 100%; flex: 1 1 auto; min-height: 0; object-fit: cover; border-radius: 14px; }
.photo-view p { font-size: 13px; }
.rows { display: grid; }
.rows li { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--app-line); font-size: 13px; }
.rows small { font-size: 11.5px; color: var(--app-muted); white-space: nowrap; }
.rows .is-pending span { font-weight: 700; } .rows .is-pending small { color: #9a4a12; font-weight: 600; }
.back-row { margin-bottom: -4px; }

.topics { display: grid; gap: 6px; }
.topics li { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 6px 12px; background: #fff; border: 1px solid var(--app-line); border-radius: 12px; }
.topics .is-done { background: #efe9ff; border-color: #c4b3f5; }
.language-chips { display: flex; gap: 6px; overflow-x: auto; padding: 2px; scrollbar-width: none; overscroll-behavior-x: contain; flex: 0 0 auto; }
.language-chips button { flex: 0 0 auto; min-height: 40px; padding: 5px 12px; border: 1px solid #b9b1d8; border-radius: 22px; background: #fff; color: var(--app-ink); font-size: 13px; white-space: nowrap; font-family: var(--font), "Nirmala UI", "Ebrima", sans-serif; }
.language-chips button[aria-pressed="true"] { background: var(--app-ink); border-color: var(--app-ink); color: #fff; font-weight: 700; }
.language-chips .more { border-style: dashed; }
.tasks[lang] .task { font-family: var(--font), "Nirmala UI", "Ebrima", sans-serif; overflow-wrap: anywhere; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: #e6e0f6; }
.tabs button { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; border: 0; border-radius: 10px; background: transparent; color: var(--app-ink); font-size: 13.5px; }
.tabs button[aria-selected="true"] { background: #fff; font-weight: 700; box-shadow: 0 2px 8px #231f571f; }
.badge { padding: 1px 6px; border-radius: 6px; background: var(--amber); color: #3b2500; font-size: 11px; font-weight: 700; }
.tabpanel { display: grid; gap: 8px; animation: cardIn .35s var(--ease); }
.report { display: grid; grid-template-columns: auto 1fr; }
.report dt, .report dd { padding: 7px 0; border-bottom: 1px solid var(--app-line); font-size: 13px; }
.report dt { color: var(--app-muted); padding-inline-end: 14px; } .report dd { font-weight: 700; }
.insight { display: grid; gap: 4px; padding: 10px 12px; background: #fff; border: 1px solid var(--app-line); border-radius: 12px; font-size: 13px; }
.insight small { font-size: 11.5px; color: var(--app-muted); }
.insight.is-action { background: #fff6e6; border-color: #f0d7a8; }
.insight .app-action { margin-top: 4px; }

/* hero's self-playing phone */
.phone-auto { height: 470px; pointer-events: none; }
.phone-auto .app-name { margin-bottom: 2px; }
.auto-receipt { padding: 5px 10px; border-radius: 10px; background: #e3f6ee; color: #14553c; font-size: 13px; font-weight: 600; }
.auto-bar { height: 6px; border-radius: 6px; background: #e1dbf2; overflow: hidden; }
.auto-bar i { display: block; height: 100%; width: 0; background: linear-gradient(270deg, var(--violet), #a56bff); animation: autoBar 10s infinite; }
.auto-task { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; background: #fff; border: 1px solid var(--app-line); border-radius: 12px; font-size: 13.5px; }
.auto-task.t1 .check { animation: tick1 10s infinite; } .auto-task.t2 .check { animation: tick2 10s infinite; } .auto-task.t3 .check { animation: tick3 10s infinite; }
.auto-done { display: grid; padding: 10px 12px; border-radius: 12px; background: #e9e0ff; font-size: 12.5px; opacity: 0; animation: autoDone 10s infinite; }
.auto-done b { font-size: 14px; }
@keyframes tick1 { 0%, 14% { background: transparent; color: transparent; border-color: #b5aed3; transform: scale(1); } 16% { transform: scale(1.3); } 18%, 95% { background: var(--violet); color: #fff; border-color: var(--violet); transform: scale(1); } 100% { background: transparent; color: transparent; border-color: #b5aed3; } }
@keyframes tick2 { 0%, 29% { background: transparent; color: transparent; border-color: #b5aed3; transform: scale(1); } 31% { transform: scale(1.3); } 33%, 95% { background: var(--violet); color: #fff; border-color: var(--violet); transform: scale(1); } 100% { background: transparent; color: transparent; border-color: #b5aed3; } }
@keyframes tick3 { 0%, 44% { background: transparent; color: transparent; border-color: #b5aed3; transform: scale(1); } 46% { transform: scale(1.3); } 48%, 95% { background: var(--violet); color: #fff; border-color: var(--violet); transform: scale(1); } 100% { background: transparent; color: transparent; border-color: #b5aed3; } }
@keyframes autoBar { 0%, 14% { width: 0; } 18%, 29% { width: 33%; } 33%, 44% { width: 66%; } 48%, 95% { width: 100%; } 100% { width: 0; } }
@keyframes autoDone { 0%, 52% { opacity: 0; transform: translateY(8px); } 57%, 95% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* ---------- personalisation (proposal 5) ---------- */
.personal, .features, .how { padding-block: clamp(56px, 9vw, 104px); scroll-snap-align: none; }
.personal { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.personal-grid { display: grid; gap: 24px; align-items: center; }
.personal-card { display: grid; gap: 16px; padding: clamp(18px, 3vw, 28px); background: #141233; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 24px 70px #0006; }
.field { display: grid; gap: 6px; font-size: 15px; font-weight: 600; }
.field input { width: 100%; min-height: 50px; padding: 10px 14px; background: #0e0d26; border: 1px solid #ffffff38; border-radius: 12px; font-size: 16px; font-weight: 400; color: var(--ink); }
.field input::placeholder { color: #9d98bd; }
.field input:focus-visible { outline-offset: 1px; }
.field input[aria-invalid="true"] { border-color: #ffb38a; }
.field-error { color: #ffc9a8; font-size: 14px; font-weight: 400; }
.chips-field legend { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-check { position: relative; }
.chip-check input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip-check span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border: 1px solid #ffffff45; border-radius: 24px; font-size: 15px; transition: background .2s, border-color .2s; }
.chip-check input:checked + span { background: var(--violet); border-color: var(--violet); color: #fff; font-weight: 700; }
.chip-check input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 3px; }
.personal-preview { font-size: 14px; color: var(--muted); }
.personal-preview strong { display: block; color: var(--cream); font-size: 16px; }
@media (min-width: 860px) { .personal-grid { grid-template-columns: 1fr minmax(0, 440px); gap: 56px; } }

/* ---------- chapters: one sticky stage, driven by scroll (proposals 1, 2) ---------- */
.chapter { position: relative; height: var(--ch-h); background: var(--bg); }
/* Resting places of the tour steps. They matter only on touch screens: app.js switches strict snapping on while the tour
   fills the screen (html.snap-on) and moves one step per swipe. With a mouse wheel, snapping swallowed small movements, so it stays off there. */
#chapters { position: relative; }
.snap { position: absolute; inset-inline-start: 0; top: calc(var(--at) * (var(--ch-h) - 100svh) + var(--bar-h)); width: 1px; height: 1px; pointer-events: none; scroll-snap-align: start; scroll-snap-stop: always; }
.snap-before { top: calc(-100svh + var(--bar-h)); }
.snap-after { top: 100%; }
html.snap-on { scroll-snap-type: y mandatory; }
/* The app sheet is a scroll container of its own, so it needs the rule too: otherwise a flick that starts on it
   would chain to the page as a native, gliding scroll. app.js scrolls the sheet by hand when it is taller than its space. */
.touch-steps .stage, .touch-steps .phone-screen { touch-action: pinch-zoom; }
.touch-steps .language-chips { touch-action: pan-x pinch-zoom; }
.stage { position: sticky; top: 0; height: 100svh; overflow: clip; isolation: isolate; display: flex; flex-direction: column; padding-top: var(--bar-h); }
.scene { position: relative; flex: 1 1 0; min-height: 110px; overflow: hidden; background: #0d0b22; }
.scene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--focal, center); }
.scene-before { transform: scale(calc(1.1 - var(--p, 0) * .1)); transition: filter .5s; }
.scene-after { clip-path: inset(0 0 0 calc((1 - var(--wipe, 0)) * 100%)); }
.scene-edge { position: absolute; top: 0; bottom: 0; left: calc((1 - var(--wipe, 0)) * 100%); width: 3px; margin-left: -1px; background: var(--cream); box-shadow: 0 0 26px 7px #c9adff99; opacity: var(--edge, 0); }
.scene-shade { position: absolute; inset: 0; background: linear-gradient(180deg, #14123366, transparent 30%, transparent 70%, #141233b3); transition: background .5s; }
.scene-tag { position: absolute; bottom: 12px; inset-inline-end: 12px; padding: 4px 12px; border-radius: 20px; background: #141233d9; border: 1px solid var(--line); font-size: 13px; font-weight: 600; transition: opacity .4s; }
.tag-after { background: var(--cream); color: var(--navy); border-color: transparent; opacity: 0; }
.chapter[data-phase="result"] .tag-after { opacity: 1; } .chapter[data-phase="result"] .tag-before, .chapter[data-phase="solution"] .tag-before { opacity: 0; }

.story { flex: 0 0 auto; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "kicker kicker" "panels panels" "next next"; gap: 8px 10px; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); }
.kicker { grid-area: kicker; display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--lilac); font-weight: 600; min-width: 0; }
.kicker .num { padding-inline-end: 10px; border-inline-end: 1px solid #ffffff3d; white-space: nowrap; }
.kicker-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kicker-phase { padding: 1px 9px; border-radius: 10px; background: #ffffff17; color: #fff; font-size: 12.5px; white-space: nowrap; }
.phase-steps { display: none; }
.panels { grid-area: panels; position: relative; min-width: 0; }
.panel:not(.active) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.panel.active { animation: panelIn .55s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } }
.panel :is(h2, h3) { font-size: clamp(23px, 6.4vw, 30px); line-height: 1.18; font-weight: 800; }
.panel blockquote { margin-top: 8px; padding-inline-start: 12px; border-inline-start: 3px solid var(--amber); font-size: 16px; line-height: 1.45; color: var(--cream); }
.panel p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.story-actions { grid-area: next; display: flex; flex-direction: column; gap: 2px; margin-top: 2px; }
.story-actions .next { width: 100%; }
.story-actions .back { align-self: center; }

.phone-wrap { display: none; }
.chapter[data-phase="solution"] .phone-wrap { display: flex; flex: 1 1 0; min-height: 0; padding: 0 12px calc(12px + env(safe-area-inset-bottom)); }
.chapter[data-phase="solution"] .phone { animation: sheetUp .6s var(--ease); }
@keyframes sheetUp { from { opacity: 0; transform: translateY(60px); } }
.phone-wrap { align-items: flex-start; }
.phone-wrap .phone { width: 100%; height: auto; max-height: 100%; padding: 0; border-radius: 22px; background: transparent; box-shadow: 0 20px 60px #000000a6, 0 0 0 1px #ffffff2e; }
.phone-wrap .phone-status { display: none; }
.phone-wrap .phone-screen { border-radius: 22px; padding: 11px 13px 13px; gap: 7px; }
.phone-wrap .app-head { padding-bottom: 5px; }
.phone-wrap .task { min-height: 42px; padding-block: 6px; }
.phone-wrap .phone-screen.complete > .app-hint, .phone-wrap .owner-hint { display: none; }
.phone-wrap .phone-toast { top: 10px; inset-inline: 12px; }
/* phone-sized screens: in the solution the photo becomes a backdrop and the app takes the screen */
.chapter[data-phase="solution"] .scene { position: absolute; inset: 0; flex: none; z-index: -1; }
.chapter[data-phase="solution"] .scene-before { filter: blur(7px) brightness(.5); }
.chapter[data-phase="solution"] .scene-shade { background: #141233b8; }
.chapter[data-phase="solution"] .story { grid-template-areas: "kicker next" "panels panels"; padding: 10px 14px 8px; background: transparent; border: 0; }
.chapter[data-phase="solution"] .panel p { display: none; }
.chapter[data-phase="solution"] .panel :is(h2, h3) { font-size: clamp(19px, 5.4vw, 24px); }
.chapter[data-phase="solution"] .story-actions { margin: 0; }
.chapter[data-phase="solution"] .next { min-height: 40px; padding: 6px 14px; font-size: 14px; border-radius: 12px; box-shadow: none; white-space: nowrap; }
.chapter[data-phase="solution"] .kicker-phase { display: none; }

@media (min-width: 860px) {
  .stage { display: grid; grid-template-columns: minmax(280px, 420px) minmax(0, 1fr) auto; align-items: center; column-gap: clamp(20px, 3vw, 48px); padding: calc(var(--bar-h) + 14px) clamp(20px, 5vw, 80px) 18px; }
  .scene, .chapter[data-phase="solution"] .scene { position: absolute; inset: 0; z-index: -1; flex: none; }
  .scene img { object-position: 60% center; }
  .chapter[data-phase="solution"] .scene-before { filter: brightness(.6); }
  .scene-shade, .chapter[data-phase="solution"] .scene-shade { background: linear-gradient(270deg, #141233d9 0%, #14123380 38%, transparent 62%), linear-gradient(180deg, #14123380, transparent 22%, transparent 78%, #141233a6); }
  .scene-tag { bottom: 60px; inset-inline-end: clamp(20px, 5vw, 80px); font-size: 14px; }
  .story, .chapter[data-phase="solution"] .story { grid-column: 1; display: flex; flex-direction: column; gap: 14px; padding: clamp(20px, 2.4vw, 30px); background: #141233e0; backdrop-filter: blur(16px); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 30px 80px #00000080; }
  .kicker-phase, .chapter[data-phase="solution"] .kicker-phase { display: none; }
  .phase-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .phase-steps button { min-height: 36px; padding: 4px 8px; background: transparent; border: 0; border-bottom: 3px solid #ffffff2e; color: var(--muted); font-size: 13.5px; text-align: start; transition: border-color .3s, color .3s; }
  .phase-steps button:hover { color: #fff; }
  .phase-steps button[aria-current] { border-color: var(--violet); color: #fff; font-weight: 700; }
  .panel :is(h2, h3), .chapter[data-phase="solution"] .panel :is(h2, h3) { font-size: clamp(27px, 2.7vw, 40px); }
  .panel blockquote { font-size: 18px; margin-top: 12px; } .panel p, .chapter[data-phase="solution"] .panel p { display: block; font-size: 17px; margin-top: 12px; }
  .chapter[data-phase="solution"] .next { min-height: 48px; padding: 11px 22px; font-size: 16px; border-radius: 14px; box-shadow: 0 8px 26px #8328fc59; }
  .phone-wrap, .chapter[data-phase="solution"] .phone-wrap { grid-column: 3; display: flex; padding: 0; opacity: 0; transform: translateY(40px) scale(.96); transition: opacity .5s, transform .7s var(--ease); pointer-events: none; }
  .chapter[data-phase="solution"] .phone-wrap { opacity: 1; transform: none; pointer-events: auto; }
  .chapter[data-phase="solution"] .phone { animation: none; }
  .phone-wrap .phone-screen.complete > .app-hint, .phone-wrap .owner-hint { display: block; }
  .phone-wrap .task { min-height: 46px; padding-block: 8px; }
  .phone-wrap .phone { width: 300px; height: min(610px, calc(100svh - var(--bar-h) - 44px)); max-height: none; padding: 9px; border-radius: 44px; background: #0b0a1a; box-shadow: 0 0 0 2px #3b3770, 0 0 0 3px #0b0a1a, 0 34px 90px #000000b3, 0 0 80px #8328fc33; }
  .phone-wrap .phone-status { display: flex; }
  .phone-wrap .phone-screen { border-radius: 22px 22px 36px 36px; padding: 14px 14px 16px; gap: 9px; }
  .phone-wrap .phone-toast { top: 46px; inset-inline: 18px; }
}
/* very short screens (a phone on its side): plain reading order, nothing pinned, nothing clipped */
@media (max-height: 479px) {
  .hero { min-height: 0; padding-bottom: 12px; }
  .touch-steps .stage, .touch-steps .phone-screen, .touch-steps .language-chips { touch-action: auto; }
  .chapter { height: auto; }
  .stage { position: relative; height: auto; display: block; padding: calc(var(--bar-h) + 12px) 16px 24px; overflow: visible; }
  .scene, .chapter[data-phase] .scene { position: relative; inset: auto; height: 62svh; min-height: 180px; border-radius: 16px; z-index: 0; }
  .scene-after, .scene-edge, .tag-after { display: none; }
  .chapter[data-phase] .scene-before { filter: none; }
  .story, .chapter[data-phase] .story { display: block; padding: 16px 0; background: transparent; border: 0; box-shadow: none; backdrop-filter: none; }
  .panel:not(.active), .panel { position: static; width: auto; height: auto; clip-path: none; white-space: normal; margin-top: 14px; }
  .chapter[data-phase] .panel p { display: block; }
  .story-actions, .phase-steps, .kicker-phase { display: none !important; }
  .phone-wrap, .chapter[data-phase] .phone-wrap { display: flex; opacity: 1; transform: none; pointer-events: auto; padding: 0; justify-content: center; }
  .phone-wrap .phone { width: min(100%, 420px); height: auto; min-height: 380px; }
}

/* ---------- features, how, trust ---------- */
.features { background: var(--bg-2); }
.features h2 { text-align: center; margin-bottom: 28px; }
.feature-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.feature { flex: 1 1 150px; max-width: 250px; display: grid; gap: 8px; align-content: start; min-height: 120px; padding: 16px; background: #141233; border: 1px solid var(--line); border-radius: 18px; font-size: 16px; font-weight: 600; transition: transform .25s var(--ease), border-color .2s, opacity .7s var(--ease); }
.feature:hover, .js .feature.in:hover { transform: translateY(-4px); border-color: var(--lilac); }
.feature svg { width: 28px; height: 28px; fill: none; stroke: var(--lilac); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feature small { font-size: 13px; font-weight: 400; color: var(--lilac); }
.steps { display: grid; gap: 14px; margin-top: 30px; counter-reset: none; }
.steps li { padding: 22px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; }
.step-number { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 14px; border-radius: 12px; background: #8328fc33; color: var(--lilac); font-weight: 700; }
.steps h3 { margin-bottom: 8px; } .steps p { color: var(--muted); font-size: 15.5px; line-height: 1.7; }
.faq { max-width: 780px; margin-top: 44px; } .faq h3 { margin-bottom: 12px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 14px 0; font-size: 17px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 auto; color: var(--lilac); font-size: 26px; font-weight: 400; line-height: 1; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 18px; color: var(--muted); font-size: 16px; line-height: 1.75; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }


/* ---------- contact ---------- */
.contact { position: relative; isolation: isolate; padding-block: clamp(64px, 9vw, 110px); overflow: clip; background: var(--bg); }
.contact-media { position: absolute; inset: 0; z-index: -1; }
.contact-media img { position: absolute; top: 0; right: 0; width: 200%; max-width: none; height: 100%; object-fit: cover; object-position: 100% center; opacity: .3; }
.contact-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg-2) 0%, #14123399 30%, var(--bg) 100%); }
.contact-grid { display: grid; gap: 24px; }
.contact-copy h2 { outline: none; }
.contact-copy .btn { width: 100%; margin-top: 22px; }
.contact-phone { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; margin-top: 8px; font-size: 17px; color: var(--cream); }
.contact-card { display: grid; gap: 14px; padding: clamp(18px, 3vw, 28px); background: #141233f2; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 24px 70px #0006; }
.contact-card form { display: grid; gap: 14px; }
.contact-card .btn { width: 100%; }
.honey { display: none; }
.form-note, .privacy-note { font-size: 13.5px; color: #c4bfd9; line-height: 1.7; }
.privacy-note a { color: var(--lilac); text-decoration: underline; text-underline-offset: 3px; }
.response-time { font-size: 14px; color: var(--lilac); text-align: center; }
.form-error { display: grid; gap: 8px; padding: 14px; border: 1px solid #ffb38a; border-radius: 12px; background: #3a1f17; color: #fff0e6; font-size: 15px; }
.form-error-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.contact-card .form-error .btn { width: auto; }
.form-success { display: grid; gap: 10px; font-size: 19px; line-height: 1.6; color: var(--cream); outline: none; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1fr minmax(0, 460px); gap: 64px; align-items: start; } .contact-copy { padding-top: 24px; } .contact-copy .btn { width: auto; } .contact-phone { justify-content: flex-start; } }

/* ---------- footer ---------- */
.footer, .business-footer { padding: 34px 0 84px; background: #0e0d26; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.8; color: #d6d2e8; }
.business-footer { padding-inline: clamp(16px, 5vw, 40px); }
.footer .wrap { display: grid; gap: 12px; }
.seo-description { color: #b9b4d0; max-width: 60em; }
.footer nav, .business-footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer a, .business-footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--lilac); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- legal pages and 404 ---------- */
.legal-page { line-height: 1.85; }
.legal-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 14px clamp(16px, 5vw, 40px); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.legal-header > a { display: flex; align-items: center; gap: 9px; font-size: 20px; min-height: 44px; }
.legal-header nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.legal-header nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
.legal-content { max-width: 820px; margin-inline: auto; padding: 36px clamp(16px, 5vw, 40px) 72px; overflow-wrap: anywhere; }
.legal-content h1 { font-size: clamp(30px, 5vw, 44px); margin-bottom: 14px; }
.legal-content h2 { font-size: 23px; margin: 32px 0 10px; }
.legal-content p { font-size: 17px; margin-bottom: 10px; color: #e7e3f4; }
.legal-content a { color: var(--lilac); text-decoration: underline; text-underline-offset: 3px; }
.notfound { min-height: 100svh; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 24px; text-align: center; }
.notfound b { font-size: clamp(72px, 20vw, 150px); line-height: 1; color: var(--lilac); letter-spacing: -.04em; }

/* ---------- less motion: by system setting or by the menu switch ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rise, .js .reveal { opacity: 1; transform: none; }
  .scene-before { transform: none; }
}
html[data-reduce-motion="true"] { scroll-behavior: auto; }
html[data-reduce-motion="true"] *, html[data-reduce-motion="true"] *::before, html[data-reduce-motion="true"] *::after { animation: none !important; transition: none !important; }
html[data-reduce-motion="true"] .rise, html[data-reduce-motion="true"].js .reveal { opacity: 1; transform: none; }
html[data-reduce-motion="true"] .scene-before { transform: none; }
