/* יומני היקר — marketing site ("/" + legal pages)
   Concept: "יומני היקר," — a diary page. Paper, ruled lines, a red margin, marker highlights,
   a bookmark ribbon whose notch is a heart. Mobile first; animations use transform/opacity only. */

/* ------------------------------------------------------------------ fonts (self-hosted) */
@font-face { font-family: 'Rubik'; font-style: normal; font-weight: 600 900; font-display: swap; src: url('../fonts/rubik-hebrew.woff2') format('woff2'); unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+FB1D-FB4F; }
@font-face { font-family: 'Rubik'; font-style: normal; font-weight: 600 900; font-display: swap; src: url('../fonts/rubik-latin.woff2') format('woff2'); unicode-range: U+0020-007E, U+00A0, U+00B7, U+2013-2014, U+2018-201D, U+2026; }
@font-face { font-family: 'Heebo'; font-style: normal; font-weight: 300 900; font-display: swap; src: url('../fonts/heebo-hebrew.woff2') format('woff2'); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: 'Heebo'; font-style: normal; font-weight: 300 900; font-display: swap; src: url('../fonts/heebo-latin-mk.woff2') format('woff2'); unicode-range: U+0020-007E, U+00A0, U+00B7, U+00D7, U+2013-2014, U+2018-201D, U+2022, U+2026, U+2190, U+2192; }
@font-face { font-family: 'Playpen Sans Hebrew'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/playpen-hebrew.woff2') format('woff2'); unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+FB1D-FB4F; }
@font-face { font-family: 'Playpen Sans Hebrew'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/playpen-latin.woff2') format('woff2'); unicode-range: U+0020-0040, U+00A0, U+2013-2014, U+2026; }

/* ------------------------------------------------------------------ tokens */
:root {
  --paper: #FBF6F1;
  --paper-2: #F4EBE3;
  --card: #FFFFFF;
  --ink: #2A1F24;
  --ink-2: #5E4C53;
  --ink-3: #6E5C64;
  --rule: #EADCD3;
  --rule-2: #DCC9BE;
  --rose: #C7607A;
  --rose-ink: #A3415B;
  --btn: #A3415B;
  --btn-text: #FFFFFF;
  --btn-hover: #8E3550;
  --blush: #F7E1E7;
  --marker: #F6D46B;
  --margin: #E7A3B3;
  --focus: #1F5FBF;
  --shadow-1: 0 1px 2px rgba(42, 31, 36, .05), 0 8px 24px rgba(42, 31, 36, .07);
  --shadow-2: 0 24px 60px rgba(42, 31, 36, .16);
  --shadow-phone: 0 40px 80px -20px rgba(42, 31, 36, .35), 0 12px 24px -8px rgba(42, 31, 36, .18);

  /* product UI (mirrors assets/css/tokens.css "רך ואלגנטי") */
  --ui-bg: #FAF6F3;
  --ui-surface: #FFFFFF;
  --ui-surface-2: #F5EDE8;
  --ui-surface-3: #EDE2DB;
  --ui-text: #2A1F24;
  --ui-text-2: #6E5C64;
  --ui-text-3: #7A6B70;
  --ui-border: #EDE2DC;
  --ui-border-2: #DFCFC8;
  --ui-accent: #C7607A;
  --ui-accent-btn: #A8455F;
  --ui-accent-ink: #A8455F;
  --ui-accent-soft: #F7E1E7;
  --ui-ok: #286B50; --ui-ok-soft: #E3F2EA;
  --ui-warn: #8A5A0E; --ui-warn-soft: #FBF0DC;
  --ui-info: #3D6A9A; --ui-info-soft: #E3ECF7;
  --ui-danger: #B0402F; --ui-danger-soft: #FBE6E2;
  --ui-wa: #107C41;

  --f-display: 'Rubik', 'Heebo', -apple-system, 'Segoe UI', Arial, sans-serif;
  --f-body: 'Heebo', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Arial Hebrew', Arial, sans-serif;
  --f-hand: 'Playpen Sans Hebrew', 'Heebo', sans-serif;

  --gutter: 16px;
  --maxw: 1200px;
  --header-h: 64px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --safe-b: env(safe-area-inset-bottom, 0px);
  color-scheme: light only;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
html.a11y-text-1 { font-size: 112.5%; }
html.a11y-text-2 { font-size: 125%; }
body {
  margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--rose-ink); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: var(--btn-hover); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--marker); color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nowrap { white-space: nowrap; }
.muted { color: var(--ink-2); }
mark.todo { background: #FFE07A; color: #3B2A00; padding: .05em .4em; border-radius: 6px; font-family: var(--f-body); font-size: .9em; font-weight: 700; outline: 1px dashed #B88A00; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed; top: 10px; inset-inline-start: 10px; z-index: 1000; background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 12px;
  font-weight: 700; text-decoration: none; transform: translateY(-160%); transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; color: var(--paper); }

.container { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container.narrow { max-width: 760px; }
@media (min-width: 600px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 40px; --header-h: 72px; } }

/* ------------------------------------------------------------------ type */
.section { padding-block: clamp(72px, 12vw, 140px); position: relative; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 6vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow { font-family: var(--f-hand); color: var(--rose-ink); font-size: 1.15rem; margin-bottom: 10px; font-weight: 500; }
h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.85rem, 4.8vw + .6rem, 3.1rem); line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; }
h2 .nowrap { display: inline-block; }
h3 { font-size: 1.2rem; line-height: 1.3; font-weight: 800; }
.section-lead { margin-top: 18px; font-size: clamp(1.08rem, .6vw + 1rem, 1.25rem); color: var(--ink-2); text-wrap: pretty; }
.marker { font-style: normal; position: relative; display: inline-block; z-index: 0; color: var(--rose-ink); }
.marker::before {
  content: ""; position: absolute; z-index: -1; inset-inline: -.08em; bottom: .04em; height: .36em; background: var(--marker); border-radius: .2em .4em .3em .5em;
  transform-origin: 100% 50%; transform: rotate(-.6deg);
}

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 14px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 1rem; text-decoration: none; line-height: 1.2; white-space: nowrap; background: transparent; color: var(--ink);
  transition: transform .18s var(--ease), background-color .2s, border-color .2s, color .2s, box-shadow .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn .icon { width: 1.2em; height: 1.2em; }
.btn-lg { min-height: 56px; padding: 0 26px; font-size: 1.08rem; border-radius: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--btn); color: var(--btn-text); box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--btn) 70%, transparent); }
.btn-primary:hover { background: var(--btn-hover); color: var(--btn-text); }
.btn-primary .icon { transition: transform .25s var(--ease); }
.btn-primary:hover .icon[class] { transform: translateX(-3px); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-quiet { color: var(--ink); }
.btn-quiet:hover { background: var(--paper-2); color: var(--ink); }
.btn-icon { width: 48px; padding: 0; }
.link-btn { background: none; border: 0; padding: 0; color: var(--rose-ink); text-decoration: underline; text-underline-offset: .18em; min-height: 32px; }

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--rule); }
.header-inner { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-height: 44px; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 20px; height: 40px; color: var(--rose); margin-top: -14px; }
.brand-name { font-family: var(--f-display); font-weight: 800; font-size: 1.45rem; letter-spacing: -.01em; line-height: 1; }
.main-nav { display: none; }
.header-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 4px; }
.btn-login { padding: 0 12px; min-height: 44px; font-size: .95rem; }
.btn-login .icon { width: 1.1em; height: 1.1em; }
.btn-join { display: none; min-height: 44px; padding: 0 18px; }
.hide-sm { display: none; }
.menu-btn { width: 44px; min-height: 44px; }
.menu-btn .icon { width: 1.5em; height: 1.5em; }
@media (min-width: 600px) { .hide-sm { display: inline; } .btn-join { display: inline-flex; } }
@media (min-width: 1024px) {
  .main-nav { display: block; margin-inline-start: 28px; }
  .main-nav ul { display: flex; gap: 4px; }
  .main-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; }
  .main-nav a:hover { background: var(--paper-2); }
  .menu-btn { display: none; }
  .brand-mark { width: 22px; height: 44px; margin-top: -18px; }
  .brand-name { font-size: 1.6rem; }
}

/* ------------------------------------------------------------------ paper texture */
.paper-lines {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: repeating-linear-gradient(to bottom, transparent 0 39px, var(--rule) 39px 40px);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 70%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 70%, transparent);
  opacity: .7;
}
.paper-lines::after { content: ""; position: absolute; top: 0; bottom: 0; inset-inline-start: max(10px, calc((100vw - var(--maxw)) / 2 - 18px)); width: 2px; background: var(--margin); opacity: .8; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; padding-block: clamp(28px, 6vw, 72px) clamp(56px, 9vw, 110px); overflow: clip; }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 40px; align-items: center; }
.salut { font-family: var(--f-hand); color: var(--rose-ink); font-size: clamp(1.35rem, 2vw + 1rem, 1.9rem); margin-bottom: 10px; line-height: 1.2; }
.salut span { display: inline-block; }
.hero h1 { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.9rem, 8.2vw + .1rem, 4.6rem); line-height: 1.06; letter-spacing: -.02em; }
.hero h1 .kicker { display: block; font-family: var(--f-body); font-size: clamp(.95rem, .5vw + .85rem, 1.1rem); font-weight: 700; letter-spacing: 0; line-height: 1.4; color: var(--ink-2); margin-bottom: 14px; }
.h1-line { display: block; }
.hero .lead { margin-top: 22px; font-size: clamp(1.1rem, .7vw + 1rem, 1.3rem); color: var(--ink-2); max-width: 36em; text-wrap: pretty; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta-row .btn { flex: 1 1 auto; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 20px; font-size: .95rem; color: var(--ink-2); }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--rose); }
.hero-facts strong { color: var(--ink); }
@media (min-width: 600px) { .cta-row .btn { flex: 0 0 auto; } }
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; }
  .hero h1 { font-size: clamp(3rem, 4.9vw, 4.1rem); }
}

/* ------------------------------------------------------------------ phone frame + product UI mock */
.phone {
  --pw: 280px; position: relative; width: var(--pw); aspect-ratio: 9 / 19.2; border-radius: calc(var(--pw) * .15); padding: calc(var(--pw) * .032);
  background: linear-gradient(145deg, #3A2E33, #120D0F 40%, #241B1F); box-shadow: var(--shadow-phone), inset 0 0 0 1.5px rgba(255, 255, 255, .08); container-type: inline-size; flex: none;
}
.phone::before { content: ""; position: absolute; top: calc(var(--pw) * .055); inset-inline-start: 50%; translate: 50% 0; width: 28%; height: calc(var(--pw) * .065); background: #0B0809; border-radius: 99px; z-index: 5; }
.ui {
  position: relative; height: 100%; overflow: hidden; border-radius: calc(var(--pw) * .12); background: var(--ui-bg); color: var(--ui-text); font-family: 'Heebo', sans-serif;
  font-size: calc(100cqw / 23.4); line-height: 1.35; display: flex; flex-direction: column; text-align: right; isolation: isolate;
}
.ui .icon { width: 1.25em; height: 1.25em; }
.u-sbar { flex: none; height: 2.6em; display: flex; align-items: flex-end; justify-content: space-between; padding: 0 1.6em .35em; font-size: .72em; font-weight: 700; }
.u-sbar-i { display: flex; gap: .25em; align-items: flex-end; }
.u-sbar-i i { width: .32em; background: currentColor; border-radius: 1px; height: .55em; }
.u-sbar-i i:nth-child(2) { height: .8em; }
.u-sbar-i i:nth-child(3) { height: 1.05em; }
.u-header { flex: none; display: flex; align-items: center; gap: .6em; padding: .45em 1em; min-height: 3.4em; border-bottom: 1px solid var(--ui-border); background: var(--ui-surface); }
.u-header b { font-size: .95em; }
.u-logo { width: 2.2em; height: 2.2em; border-radius: .75em; background: var(--ui-accent-btn); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: .9em; }
.u-hicons { margin-inline-start: auto; display: flex; gap: .9em; color: var(--ui-text-2); }
.u-title { display: flex; align-items: center; gap: .6em; margin: .9em 1em .6em; }
.u-title > b { font-size: 1.35em; font-weight: 800; }
.u-count { font-size: .72em; font-weight: 700; padding: .1em .7em; border-radius: 99px; background: var(--ui-surface-2); color: var(--ui-text-2); }
.u-seg { margin-inline-start: auto; display: inline-flex; background: var(--ui-surface-2); border-radius: .75em; padding: .18em; gap: .1em; }
.u-seg span { padding: 0 .7em; height: 2.3em; display: inline-flex; align-items: center; border-radius: .6em; font-weight: 600; font-size: .8em; color: var(--ui-text-2); }
.u-seg span.on { background: var(--ui-surface); color: var(--ui-text); box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 2px 8px rgba(0, 0, 0, .06); }
.u-seg.wide { margin: .8em 0 .2em; display: flex; }
.u-seg.wide span { flex: 1; justify-content: center; }
.u-datenav { display: flex; align-items: center; gap: .45em; margin: 0 1em .7em; color: var(--ui-text-2); }
.u-chip { font-size: .75em; font-weight: 600; padding: .3em .75em; border-radius: .65em; background: var(--ui-surface-2); color: var(--ui-text); }
.u-dt { flex: 1; text-align: center; font-weight: 700; font-size: .9em; color: var(--ui-text); line-height: 1.25; }
.u-dt small { display: block; font-weight: 500; font-size: .8em; color: var(--ui-text-2); }
.u-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5em; margin: 0 1em .8em; }
.u-stat { background: var(--ui-surface); border: 1px solid var(--ui-border); border-radius: 1em; padding: .55em .7em; }
.u-v { font-size: 1.4em; font-weight: 800; line-height: 1.1; }
.u-v.accent { color: var(--ui-accent-ink); }
.u-k { font-size: .66em; color: var(--ui-text-2); line-height: 1.3; }
.swap { display: grid; }
.swap > span { grid-area: 1 / 1; }
.swap .was { opacity: 0; }
.u-agenda { padding: 0 1em; display: flex; flex-direction: column; gap: .5em; }
.u-appt { height: 3.9em; display: flex; gap: .7em; align-items: stretch; background: var(--ui-surface); border: 1px solid var(--ui-border); border-radius: 1.3em; padding: .6em .8em; flex: none; }
.u-appt.done { opacity: .72; }
.u-time { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 3.2em; padding-inline-end: .7em; border-inline-end: 3px solid var(--ui-accent); line-height: 1.15; }
.u-time b { font-size: 1em; font-weight: 800; }
.u-time small { font-size: .7em; color: var(--ui-text-2); }
.u-body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.u-name { font-weight: 700; font-size: .9em; display: flex; align-items: center; gap: .4em; white-space: nowrap; }
.u-sub { font-size: .74em; color: var(--ui-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.u-sub i { display: inline-block; width: .65em; height: .65em; border-radius: 50%; background: var(--c); margin-inline-end: .3em; vertical-align: -.02em; }
.u-badge { display: inline-flex; align-items: center; gap: .25em; font-size: .68rem; font-size: .7em; font-weight: 700; padding: .05em .65em; border-radius: 99px; line-height: 1.55; background: var(--ui-surface-2); color: var(--ui-text-2); white-space: nowrap; }
.u-badge .icon { width: 1em; height: 1em; }
.u-badge.new { background: var(--ui-accent-btn); color: #fff; }
.u-badge.ok { background: var(--ui-ok-soft); color: var(--ui-ok); }
.u-badge.warn { background: var(--ui-warn-soft); color: var(--ui-warn); }
.u-badge.info { background: var(--ui-info-soft); color: var(--ui-info); }
.u-appt .u-badge.ok { align-self: center; }
.u-wa { width: 2.1em; height: 2.1em; border-radius: .7em; background: var(--ui-wa); color: #fff; display: inline-flex; align-items: center; justify-content: center; align-self: center; flex: none; }
.u-wa .icon { width: 1.1em; height: 1.1em; }
.u-tel { width: 2.1em; height: 2.1em; border-radius: .7em; display: inline-flex; align-items: center; justify-content: center; color: var(--ui-text-2); flex: none; }
.u-now { display: flex; align-items: center; gap: .5em; font-size: .68em; font-weight: 700; color: var(--ui-accent-ink); margin: -.1em 0; }
.u-now::before, .u-now::after { content: ""; flex: 1; height: 2px; background: var(--ui-accent); border-radius: 2px; }
.u-after { display: flex; flex-direction: column; gap: .5em; }
.u-bnav { position: absolute; inset-inline: 0; bottom: 0; height: 4.6em; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; background: color-mix(in srgb, var(--ui-surface) 94%, transparent); border-top: 1px solid var(--ui-border); z-index: 4; padding-bottom: .5em; }
.u-bnav > span { display: flex; flex-direction: column; align-items: center; gap: .15em; font-size: .64em; font-weight: 600; color: var(--ui-text-2); }
.u-bnav > span .icon { width: 1.9em; height: 1.9em; }
.u-bnav > span.on { color: var(--ui-accent-ink); }
.u-fab b { width: 3.3em; height: 3.3em; margin-top: -1.9em; border-radius: 50%; background: var(--ui-accent-btn); color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 .5em 1.2em color-mix(in srgb, var(--ui-accent) 45%, transparent); }
.u-fab b .icon { width: 1.6em; height: 1.6em; }

/* customer booking mock */
.c-screen { position: absolute; inset: 2.6em 0 0; padding: .8em 1em 0; display: flex; flex-direction: column; }
.c-bhead { display: flex; align-items: center; gap: .7em; padding: .75em .9em; background: var(--ui-surface); border: 1px solid var(--ui-border); border-radius: 1.3em; box-shadow: 0 1px 2px rgba(42, 31, 36, .05), 0 6px 20px rgba(42, 31, 36, .06); }
.c-bhead b { display: block; font-size: 1em; }
.c-bhead small { display: block; font-size: .72em; color: var(--ui-text-2); }
.c-ic { width: 2.6em; height: 2.6em; border-radius: .85em; background: var(--ui-accent-soft); color: var(--ui-accent-ink); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.c-stepper { display: flex; gap: .35em; margin: .9em 0 1em; }
.c-stepper i { flex: 1; height: .32em; border-radius: .2em; background: var(--ui-border); }
.c-stepper i.d, .c-stepper i.a { background: var(--ui-accent); }
.c-h { font-size: 1.2em; font-weight: 800; margin-bottom: .6em; display: block; }
.c-days { display: flex; gap: .45em; margin-bottom: .8em; }
.c-days span { flex: 1; display: flex; flex-direction: column; align-items: center; padding: .45em 0; border: 1px solid var(--ui-border); border-radius: .9em; background: var(--ui-surface); line-height: 1.2; }
.c-days small { font-size: .62em; color: var(--ui-text-2); }
.c-days b { font-size: 1.1em; }
.c-days .sel { background: var(--ui-accent-btn); border-color: var(--ui-accent-btn); color: #fff; }
.c-days .sel small { color: #fff; }
.c-group { display: block; font-size: .72em; font-weight: 600; color: var(--ui-text-2); margin: .2em 0 .45em; }
.c-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45em; margin-bottom: .7em; }
.c-slots span { position: relative; height: 2.75em; display: flex; align-items: center; justify-content: center; border: 1px solid var(--ui-border-2); border-radius: .75em; background: var(--ui-surface); font-weight: 600; font-size: .88em; font-variant-numeric: tabular-nums; }
.c-slots span em { position: absolute; inset: -1px; border-radius: inherit; background: var(--ui-accent-btn); color: #fff; display: flex; align-items: center; justify-content: center; font-style: normal; }
.c-cta { position: absolute; inset-inline: 0; bottom: 0; padding: .7em 1em 1.3em; display: flex; gap: .5em; background: color-mix(in srgb, var(--ui-surface) 94%, transparent); border-top: 1px solid var(--ui-border); }
.c-back { width: 3.4em; height: 3.4em; border-radius: 1em; border: 1px solid var(--ui-border-2); display: inline-flex; align-items: center; justify-content: center; }
.c-next { flex: 1; height: 3.4em; border-radius: 1em; background: var(--ui-accent-btn); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; position: relative; }
.c-done { align-items: center; text-align: center; padding-top: 2.2em; }
.c-check { width: 4.6em; height: 4.6em; border-radius: 50%; background: var(--ui-ok-soft); color: var(--ui-ok); display: inline-flex; align-items: center; justify-content: center; margin-bottom: .8em; }
.c-check .icon { width: 2.4em; height: 2.4em; }
.c-card { width: 100%; text-align: right; background: var(--ui-surface); border: 1px solid var(--ui-border); border-radius: 1.3em; padding: .9em 1em; margin: .6em 0 1em; box-shadow: 0 1px 2px rgba(42, 31, 36, .05), 0 6px 20px rgba(42, 31, 36, .06); }
.c-card > small { font-size: .74em; color: var(--ui-text-2); }
.c-big { display: flex; align-items: center; justify-content: space-between; font-size: 2em; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; margin-bottom: .2em; }
.c-emoji { width: 1.6em; height: 1.6em; border-radius: .5em; background: #FBE0E8; display: inline-flex; align-items: center; justify-content: center; font-size: .8em; }
.c-kv { display: flex; gap: .5em; align-items: center; padding: .45em 0; border-top: 1px dashed var(--ui-border); font-size: .8em; }
.c-kv .icon { color: var(--ui-text-3); }
.c-wa { width: 100%; height: 3.3em; border-radius: 1em; background: var(--ui-wa); color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: .4em; font-weight: 700; font-size: .9em; }
.tap { position: absolute; width: 3em; height: 3em; border-radius: 50%; background: color-mix(in srgb, var(--ui-accent) 45%, transparent); border: 2px solid var(--ui-accent); opacity: 0; pointer-events: none; z-index: 6; }

/* ------------------------------------------------------------------ hero demo */
.hero-demo { position: relative; }
.hd-stage { position: relative; height: clamp(560px, 158vw, 680px); }
.hero-demo .phone-owner { --pw: min(66vw, 280px); position: absolute; top: 0; inset-inline-start: 0; }
.hero-demo .phone-client { --pw: min(44vw, 200px); position: absolute; bottom: 0; inset-inline-end: 0; rotate: -4deg; }
.fly {
  position: absolute; z-index: 8; top: 62%; inset-inline-end: 18%; padding: 8px 14px; border-radius: 14px; background: var(--card); color: var(--ink); font-weight: 700; font-size: .9rem;
  box-shadow: var(--shadow-2); border: 1px solid var(--rule); opacity: 0; white-space: nowrap; pointer-events: none;
}
@media (min-width: 600px) {
  .hd-stage { height: 660px; }
  .hero-demo .phone-owner { --pw: 290px; inset-inline-start: 6%; }
  .hero-demo .phone-client { --pw: 230px; inset-inline-end: 6%; }
}
@media (min-width: 1024px) {
  .hd-stage { height: 660px; }
  .hero-demo .phone-owner { --pw: 300px; inset-inline-start: auto; inset-inline-end: 4%; top: 0; }
  .hero-demo .phone-client { --pw: 228px; inset-inline-end: auto; inset-inline-start: 0; bottom: 0; }
  .fly { inset-inline-end: auto; inset-inline-start: 26%; top: 58%; }
}

/* the loop: the customer taps 11:30 → "התור נקבע!" → the appointment flies into the owner's day */
.hero-demo { --loop: 11s; }
.hero-demo .c-slots span em, .hero-demo .tap, .hero-demo .c-time, .hero-demo .c-done, .hero-demo .c-check, .hero-demo .fly, .hero-demo .is-new,
.hero-demo .u-after, .hero-demo .swap .was, .hero-demo .swap .now, .hero-demo .u-badge.new, .hero-demo .c-next {
  animation-duration: var(--loop); animation-iteration-count: infinite; animation-timing-function: var(--ease); animation-fill-mode: both;
}
.hero-demo .c-slots span em { animation-name: hd-slot; }
.hero-demo .tap { top: 13.7em; inset-inline-start: 1.6em; animation-name: hd-tap; }
.hero-demo .c-next { animation-name: hd-press; }
.hero-demo .c-time { animation-name: hd-time; }
.hero-demo .c-done { animation-name: hd-done; }
.hero-demo .c-check { animation-name: hd-pop; }
.hero-demo .fly { animation-name: hd-fly; }
.hero-demo .is-new { animation-name: hd-new; }
.hero-demo .u-after { animation-name: hd-after; }
.hero-demo .swap .was { animation-name: hd-was; }
.hero-demo .swap .now { animation-name: hd-now; }
.hero-demo .u-badge.new { animation-name: hd-badge; }
@keyframes hd-slot { 0%, 9% { opacity: 0; } 11%, 92% { opacity: 1; } 96%, 100% { opacity: 0; } }
@keyframes hd-tap {
  0%, 7% { opacity: 0; transform: translate(0, 0) scale(.4); }
  9% { opacity: .9; transform: translate(0, 0) scale(1); }
  12% { opacity: 0; transform: translate(0, 0) scale(1.6); }
  13% { opacity: 0; transform: translate(-3.2em, 12.6em) scale(.4); }
  16% { opacity: .9; transform: translate(-3.2em, 12.6em) scale(1); }
  19%, 100% { opacity: 0; transform: translate(-3.2em, 12.6em) scale(1.6); }
}
@keyframes hd-press { 0%, 15% { transform: scale(1); } 16.5% { transform: scale(.95); } 18%, 100% { transform: scale(1); } }
@keyframes hd-time { 0%, 19% { opacity: 1; transform: translateX(0); } 23%, 91% { opacity: 0; transform: translateX(-12%); } 95%, 100% { opacity: 1; transform: translateX(0); } }
@keyframes hd-done { 0%, 20% { opacity: 0; transform: translateX(12%); } 24%, 88% { opacity: 1; transform: translateX(0); } 92%, 100% { opacity: 0; transform: translateX(12%); } }
@keyframes hd-pop { 0%, 22% { transform: scale(.5); } 27% { transform: scale(1.08); } 30%, 100% { transform: scale(1); } }
@keyframes hd-fly {
  0%, 27% { opacity: 0; transform: translate(0, 0) scale(.85); }
  30% { opacity: 1; transform: translate(0, 0) scale(1); }
  38% { opacity: 1; transform: translate(var(--fly-x, 34%), var(--fly-y, -150%)) scale(1); }
  41%, 100% { opacity: 0; transform: translate(var(--fly-x, 34%), var(--fly-y, -150%)) scale(.9); }
}
@keyframes hd-new { 0%, 37% { opacity: 0; transform: scale(.94); } 41%, 90% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: scale(.98); } }
@keyframes hd-after { 0%, 36% { transform: translateY(-4.4em); } 40%, 91% { transform: none; } 96%, 100% { transform: translateY(-4.4em); } }
@keyframes hd-was { 0%, 39% { opacity: 1; transform: none; } 42%, 92% { opacity: 0; transform: translateY(-.5em); } 96%, 100% { opacity: 1; transform: none; } }
@keyframes hd-now { 0%, 39% { opacity: 0; transform: translateY(.5em); } 42%, 92% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(.5em); } }
@keyframes hd-badge { 0%, 42% { transform: scale(1); } 45% { transform: scale(1.15); } 48%, 100% { transform: scale(1); } }
.hero-demo .fly { --fly-x: -30%; --fly-y: -260%; }
@media (min-width: 1024px) { .hero-demo .fly { --fly-x: 70%; --fly-y: -330%; } }
/* static (= final) state when motion is off: base styles already show the booked appointment */
.hero-demo .c-time { opacity: 0; }

/* paused / off-screen / reduced motion */
.is-paused *, .is-paused, .is-offscreen *, .is-offscreen { animation-play-state: paused !important; }

.demo-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.demo-toggle {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 18px; border-radius: 999px; border: 1.5px solid var(--rule-2); background: var(--card);
  font-weight: 700; font-size: .92rem; color: var(--ink); transition: border-color .2s, transform .15s var(--ease);
}
.demo-toggle:hover { border-color: var(--ink); }
.demo-toggle:active { transform: scale(.97); }
.i-pause { width: 12px; height: 12px; position: relative; flex: none; }
.i-pause::before, .i-pause::after { content: ""; position: absolute; top: 0; bottom: 0; width: 4px; border-radius: 1px; background: currentColor; }
.i-pause::before { inset-inline-start: 1px; }
.i-pause::after { inset-inline-end: 1px; }
.demo-toggle[aria-pressed="true"] .i-pause::before { inset-inline-start: 2px; width: 0; height: 0; background: none; border-radius: 0; border-block: 6px solid transparent; border-inline-end: 10px solid currentColor; }
.demo-toggle[aria-pressed="true"] .i-pause::after { display: none; }
.demo-toggle .lbl-pause, .demo-toggle[aria-pressed="true"] .lbl-play { display: none; }
.demo-toggle[aria-pressed="true"] .lbl-pause { display: inline; }
.demo-caption { font-size: .88rem; color: var(--ink-3); }

/* ------------------------------------------------------------------ pain (diary page) */
.pain { background: var(--paper-2); }
.pain-grid { display: grid; gap: 36px; }
.diary {
  position: relative; background: var(--card); border-radius: 6px 22px 22px 6px; padding: 30px 22px 34px; padding-inline-start: 54px; box-shadow: var(--shadow-2);
  background-image: repeating-linear-gradient(to bottom, transparent 0 35px, var(--rule) 35px 36px); background-position: 0 66px; rotate: .6deg;
}
.diary::before { content: ""; position: absolute; top: 0; bottom: 0; inset-inline-start: 38px; width: 2px; background: var(--margin); }
.diary-salut { font-family: var(--f-hand); font-size: 1.5rem; color: var(--rose-ink); margin-bottom: 14px; line-height: 1.4; }
.entries { display: grid; gap: 22px; }
.entry { position: relative; font-family: var(--f-hand); font-size: 1.08rem; line-height: 36px; color: var(--ink); }
.entry time { position: absolute; inset-inline-start: -50px; top: 0; width: 44px; font-size: .78rem; font-weight: 500; color: var(--ink-3); text-align: end; font-variant-numeric: tabular-nums; unicode-bidi: isolate; }
.entry p { text-wrap: pretty; }
.entry s { text-decoration: none; position: relative; color: var(--ink-3); }
.entry s::after { content: ""; position: absolute; inset-inline: -2px; top: 54%; height: 2px; background: var(--rose); border-radius: 2px; transform-origin: 100% 50%; transform: rotate(-2deg); }
.note { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-family: var(--f-body); font-size: .82rem; font-weight: 700; line-height: 1.3; padding: 6px 12px; border-radius: 999px; }
.note .icon { width: 1em; height: 1em; }
.note-missed { background: #FBE6E2; color: #A23A2A; }
.note-chat { background: #E3F5E9; color: #146B3A; }
.diary-sign { margin-top: 22px; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.7rem, 4vw + .8rem, 2.4rem); line-height: 1.1; }
.diary-sign span { color: var(--rose-ink); }
@media (min-width: 1024px) {
  .pain-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
  .diary { padding: 40px 40px 44px; padding-inline-start: 96px; }
  .diary::before { inset-inline-start: 72px; }
  .entry time { inset-inline-start: -86px; width: 64px; font-size: .9rem; }
  .entry { font-size: 1.22rem; }
}

/* ------------------------------------------------------------------ features (bento) */
.bento { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.tile {
  position: relative; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 24px 22px; overflow: hidden;
  display: flex; flex-direction: column; gap: 18px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-1); border-color: var(--rule-2); }
.tile h3 { font-size: 1.28rem; margin-bottom: 8px; }
.tile p { color: var(--ink-2); font-size: 1rem; }
.tile p strong { color: var(--ink); }
.tile-site { background: var(--blush); border-color: transparent; }
.tile-wa { background: #E6F4EA; border-color: transparent; }
.tile-sync { background: var(--paper-2); }
.mini-steps { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.mini-steps li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--rule); font-weight: 700; font-size: .92rem; }
.mini-steps span { width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--paper); display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; }

.wa-bubble { position: relative; align-self: flex-start; max-width: 300px; background: #D9FDD3; color: #111B21; border-radius: 14px 4px 14px 14px; padding: 10px 14px 22px; font-size: .95rem; line-height: 1.5; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); margin-top: auto; }
.wa-meta { position: absolute; bottom: 4px; inset-inline-end: 10px; font-size: .72rem; color: #4B5B63; display: inline-flex; align-items: center; gap: 3px; direction: ltr; }
.wa-meta .icon { width: 1.15em; height: 1.15em; color: #1D8FD1; }

.remind-list { display: grid; gap: 8px; margin-top: auto; }
.remind-list li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--paper); border: 1px solid var(--rule); }
.remind-list b { display: block; font-size: .95rem; }
.remind-list small { display: block; font-size: .8rem; color: var(--ink-3); }
.grow { flex: 1; min-width: 0; }
.avatar-s { width: 34px; height: 34px; border-radius: 50%; background: var(--c); color: #fff; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex: none; font-size: .9rem; }
.avatar-s[style*="#C7607A"] { background: #A8455F; }
.avatar-s[style*="#4E9A7B"] { background: #2F7356; }
.pill { display: inline-flex; align-items: center; gap: 5px; font-size: .8rem; font-weight: 700; padding: 6px 10px; border-radius: 10px; white-space: nowrap; }
.pill .icon { width: 1.05em; height: 1.05em; }
.pill-ok { background: #E3F2EA; color: #286B50; }
.pill-wa { background: #107C41; color: #fff; }
.team-dots { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.team-dots span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--rule-2); font-weight: 700; font-size: .92rem; background: var(--paper); }
.team-dots span::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
.team-dots .any { border-style: dashed; }
.team-dots .any::before { background: conic-gradient(#C7607A 0 33%, #7B6CB2 0 66%, #4E9A7B 0); }

.crm-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.crm-chips span { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--rule-2); font-size: .88rem; font-weight: 600; background: var(--paper); }
.crm-chips .on { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.sync-logos { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.sync-logos span { padding: 8px 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--rule); font-weight: 700; font-size: .9rem; direction: ltr; }

@media (min-width: 720px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-site { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
  .tile { padding: 30px 28px; }
  .tile-site { grid-column: span 4; grid-row: span 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 28px; }
  .tile-book { grid-column: span 2; }
  .tile-wa { grid-column: span 2; }
  .tile-remind { grid-column: span 3; }
  .tile-team { grid-column: span 3; }
  .tile-crm { grid-column: span 2; }
  .tile-cancel { grid-column: span 2; }
  .tile-sync { grid-column: span 2; }
}

/* the booking page in the 4 real templates */
.site-mock { --s-bg: #FAF6F3; --s-surface: #FFFFFF; --s-surface-2: #F5EDE8; --s-text: #2A1F24; --s-text-2: #6E5C64; --s-border: #EDE2DC; --s-accent: #C7607A; --s-accent-btn: #A8455F; --s-r: 22px; --s-shadow: 0 1px 2px rgba(42, 31, 36, .05), 0 6px 20px rgba(42, 31, 36, .06); }
.site-mock[data-tpl="minimal"] { --s-bg: #FFFFFF; --s-surface: #FFFFFF; --s-surface-2: #F4F4F4; --s-text: #161616; --s-text-2: #5E5E5E; --s-border: #E5E5E5; --s-r: 12px; --s-shadow: none; }
.site-mock[data-tpl="bold"] { --s-bg: #FFF4F6; --s-surface: #FFFFFF; --s-surface-2: #FFE9EE; --s-border: #FFD9E2; --s-r: 26px; }
.site-mock[data-tpl="night"] { --s-bg: #15101A; --s-surface: #1F1824; --s-surface-2: #2A2130; --s-text: #F6EEF2; --s-text-2: #BFAFB8; --s-border: #372C3E; --s-accent-btn: #A8455F; --s-shadow: 0 8px 24px rgba(0, 0, 0, .35); }
.tpl-switch { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tpl-switch button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--rule-2); background: var(--card); font-weight: 700; font-size: .9rem; transition: border-color .2s, background-color .2s; }
.tpl-switch button[aria-checked="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.sw { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid rgba(0, 0, 0, .15); }
.sw-soft { background: linear-gradient(135deg, #F7E1E7 50%, #C7607A 50%); }
.sw-minimal { background: linear-gradient(135deg, #FFFFFF 50%, #161616 50%); }
.sw-bold { background: linear-gradient(135deg, #FFD9E2 50%, #D9467A 50%); }
.sw-night { background: linear-gradient(135deg, #15101A 50%, #E58FA5 50%); }
.sm-page {
  max-width: 340px; margin-inline: auto; background: var(--s-bg); color: var(--s-text); border-radius: 26px; overflow: hidden; border: 1px solid var(--s-border); box-shadow: var(--shadow-2);
  padding-bottom: 14px; transition: background-color .4s, color .4s, border-color .4s; font-family: 'Heebo', sans-serif;
}
.sm-cover { position: relative; height: 92px; background: linear-gradient(135deg, #F1CBD6 0%, #F7E1E7 55%, var(--s-bg) 100%); }
.site-mock[data-tpl="minimal"] .sm-cover { background: var(--s-surface-2); }
.site-mock[data-tpl="bold"] .sm-cover { height: 104px; background: linear-gradient(135deg, var(--s-accent) 0%, #F1CBD6 100%); }
.site-mock[data-tpl="night"] .sm-cover { background: linear-gradient(135deg, #4E2F39 0%, #2A2130 60%, var(--s-bg) 100%); }
.sm-share { position: absolute; top: 10px; inset-inline-end: 10px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .85); color: #2A1F24; display: flex; align-items: center; justify-content: center; }
.sm-share .icon { width: 16px; height: 16px; }
.sm-hero { text-align: center; padding: 0 14px; margin-top: -34px; position: relative; display: flex; flex-direction: column; align-items: center; }
.sm-logo { width: 68px; height: 68px; border-radius: 50%; background: var(--s-surface); border: 3px solid var(--s-bg); box-shadow: var(--s-shadow); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.7rem; color: var(--s-accent); }
.site-mock[data-tpl="minimal"] .sm-logo { border-radius: 14px; border: 1px solid var(--s-border); }
.site-mock[data-tpl="bold"] .sm-logo { border-radius: 24px; }
.site-mock[data-tpl="night"] .sm-logo { background: #fff; }
.sm-name { font-size: 1.2rem; margin-top: 6px; }
.sm-addr { display: inline-flex; gap: 4px; align-items: center; font-size: .78rem; color: var(--s-text-2); }
.sm-addr .icon { width: 14px; height: 14px; color: var(--s-accent); }
.sm-actions { display: flex; gap: 18px; margin: 10px 0 8px; }
.sm-actions span { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: .72rem; font-weight: 600; color: var(--s-text-2); }
.sm-actions i { width: 42px; height: 42px; border-radius: 50%; background: var(--s-surface); border: 1px solid var(--s-border); box-shadow: var(--s-shadow); color: var(--s-accent); display: flex; align-items: center; justify-content: center; }
.sm-actions .icon { width: 18px; height: 18px; }
.site-mock[data-tpl="bold"] .sm-actions i { background: var(--s-accent-btn); color: #fff; border-color: transparent; }
.site-mock[data-tpl="night"] .sm-actions i { background: var(--s-surface-2); color: #E9A1B4; }
.sm-hours { display: inline-flex; align-items: center; gap: 5px; font-size: .72rem; color: var(--s-text-2); padding: 5px 11px; border-radius: 999px; background: var(--s-surface); border: 1px solid var(--s-border); }
.sm-hours .icon { width: 13px; height: 13px; color: var(--s-accent); }
.sm-book, .sm-service { display: flex; align-items: center; gap: 10px; margin: 12px 14px 0; padding: 11px 12px; border-radius: var(--s-r); background: var(--s-surface); border: 1px solid var(--s-border); box-shadow: var(--s-shadow); }
.sm-book b, .sm-service b { display: block; font-size: .95rem; }
.sm-book small, .sm-service small { display: flex; align-items: center; gap: 4px; font-size: .75rem; color: var(--s-text-2); }
.sm-book small .icon, .sm-service small .icon { width: 12px; height: 12px; }
.sm-ic { width: 38px; height: 38px; border-radius: 12px; background: color-mix(in srgb, var(--s-accent) 15%, var(--s-surface)); color: var(--s-accent); display: flex; align-items: center; justify-content: center; flex: none; }
.site-mock[data-tpl="bold"] .sm-book { background: var(--s-accent-btn); color: #fff; border-color: transparent; }
.site-mock[data-tpl="bold"] .sm-book small { color: #fff; }
.site-mock[data-tpl="bold"] .sm-ic { background: rgba(255, 255, 255, .28); color: #fff; }
.sm-emoji { width: 38px; height: 38px; border-radius: 12px; background: #F3E6FA; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex: none; }

/* "וגם": small tiles, 2 per row on mobile */
.also { margin-top: 40px; }
.also-title { font-family: var(--f-display); font-size: 1.7rem; font-weight: 800; margin-bottom: 14px; }
.also-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.also-grid li { display: flex; flex-direction: column; gap: 4px; padding: 14px 14px 16px; border-radius: 18px; background: var(--card); border: 1px solid var(--rule); }
.also-ic { width: 36px; height: 36px; border-radius: 12px; background: var(--blush); color: var(--rose-ink); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.also-ic .icon { width: 19px; height: 19px; }
.also-grid b { font-size: .98rem; line-height: 1.3; }
.also-d { font-size: .88rem; line-height: 1.45; color: var(--ink-2); }
@media (min-width: 720px) { .also-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .also-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; } .also-grid li { padding: 18px 18px 20px; } }

/* ------------------------------------------------------------------ app demo (scroll-driven) */
.demo { background: var(--ink); color: var(--paper); }
.demo .section-lead { color: color-mix(in srgb, var(--paper) 78%, transparent); }
.demo .eyebrow { color: #F0A8BA; }
.app-demo { position: relative; display: grid; }
.app-stage {
  position: sticky; top: calc(var(--header-h) + 8px); z-index: 2; height: min(64svh, 600px); display: flex; justify-content: center; align-items: flex-start;
  background: linear-gradient(to bottom, var(--demo-bg, #2A1F24) 88%, transparent);
  padding-bottom: 20px;
}
.demo .app-stage { --demo-bg: var(--ink); }
.phone-app { --pw: min(calc((64svh - 28px) * 9 / 19.2), 78vw, 290px); }
.app-dots { position: absolute; inset-inline-end: 0; top: 50%; translate: 0 -50%; display: grid; gap: 8px; }
.app-dots li { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .28); transition: transform .3s, background-color .3s; }
.app-steps { position: relative; z-index: 1; display: grid; }
.app-step { min-height: 52svh; display: flex; align-items: flex-start; padding-top: 4svh; }
.app-step:last-child { min-height: 40svh; }
.app-step-card { max-width: 30em; padding: 20px 22px; border-radius: 20px; background: color-mix(in srgb, var(--paper) 7%, transparent); border: 1px solid rgba(255, 255, 255, .12); transition: transform .35s var(--ease), border-color .35s; transform: scale(.97); transform-origin: right center; }
.app-step.is-active .app-step-card { transform: none; border-color: rgba(240, 168, 186, .55); }
.app-step-n { font-family: var(--f-display); font-weight: 800; font-size: 1rem; color: #F3B8C6; display: block; margin-bottom: 4px; }
.app-step h3 { font-size: 1.35rem; margin-bottom: 6px; }
.app-step p { color: color-mix(in srgb, var(--paper) 80%, transparent); }
@media (min-width: 900px) {
  .app-demo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
  .app-stage { order: 2; top: calc(var(--header-h) + (100svh - var(--header-h) - 600px) / 2); height: 600px; background: none; padding: 0; align-items: center; }
  .phone-app { --pw: 280px; }
  .app-steps { order: 1; }
  .app-step { min-height: 78svh; align-items: center; padding: 0; }
  .app-step:first-child { min-height: 60svh; align-items: flex-start; padding-top: 40px; }
  .app-step:last-child { min-height: 70svh; }
  .app-step h3 { font-size: 1.7rem; }
  .app-step p { font-size: 1.1rem; }
  .app-step-card { background: none; border: 0; padding: 0; }
  .app-step-n { font-size: 1.2rem; }
}

/* owner app layers */
.u-content { position: relative; flex: 1; overflow: hidden; }
.layer { position: absolute; inset: 0; padding-bottom: 4.8em; opacity: 0; visibility: hidden; transform: translateY(1em); transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s linear .45s; }
.app-demo:is([data-step="1"], [data-step="3"], [data-step="4"], [data-step="5"]) .l-day,
.app-demo[data-step="2"] .l-week, .app-demo[data-step="6"] .l-customers, .app-demo[data-step="7"] .l-design { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.app-demo:is([data-step="1"], [data-step="2"], [data-step="3"], [data-step="4"], [data-step="5"]) .b-cal,
.app-demo[data-step="6"] .b-cust, .app-demo[data-step="7"] .b-set { color: var(--ui-accent-ink); }

.u-cal { margin: 0 1em; display: grid; grid-template-columns: 3em 1fr; background: var(--ui-surface); border: 1px solid var(--ui-border); border-radius: 1.2em; overflow: hidden; height: calc(8 * 3.1em + 1.2em); padding: .6em 0; }
.u-hours { position: relative; border-inline-end: 1px solid var(--ui-border); }
.u-hours span { position: absolute; inset-inline: 0; text-align: center; font-size: .62em; color: var(--ui-text-3); transform: translateY(-50%); font-variant-numeric: tabular-nums; }
.u-hours span[style] { top: calc(var(--y, 0) / .62); }
.u-col { position: relative; background: repeating-linear-gradient(to bottom, var(--ui-border) 0 1px, transparent 1px var(--hh)); }
.u-off { position: absolute; inset-inline: 0; background: repeating-linear-gradient(135deg, var(--ui-surface-2) 0 .38em, var(--ui-surface-3) .38em .5em); opacity: .9; }
.u-block { position: absolute; inset-inline: .25em; border-radius: .6em; padding: .25em .5em; border-inline-start: .25em solid var(--c); background: color-mix(in srgb, var(--c) 18%, var(--ui-surface)); overflow: hidden; line-height: 1.2; z-index: 1; }
.u-block b, .u-block span, .u-block small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.u-block b { font-size: .66em; font-weight: 700; font-variant-numeric: tabular-nums; }
.u-block span { font-size: .7em; font-weight: 700; }
.u-block small { font-size: .62em; color: var(--ui-text-2); }
.u-block.l1 { inset-inline-end: 50%; }
.u-block.l2 { inset-inline-start: calc(50% + .1em); }
.u-block.new::after { content: "חדש"; position: absolute; top: .3em; inset-inline-end: .35em; background: var(--ui-accent-btn); color: #fff; font-size: .5em; padding: .05em .5em; border-radius: 99px; font-weight: 700; }
.u-nowline { position: absolute; inset-inline: 0; height: 2px; background: var(--ui-accent); z-index: 2; }
.u-nowline::before { content: ""; position: absolute; inset-inline-start: -.3em; top: -.25em; width: .55em; height: .55em; border-radius: 50%; background: var(--ui-accent); }
.mover { z-index: 3; box-shadow: 0 0 0 0 transparent; transition: transform .9s var(--ease-out) .5s, box-shadow .3s; }
.mover .t2 { display: none; }
.app-demo:is([data-step="3"], [data-step="4"], [data-step="5"]) .mover { transform: translateY(9.3em); }
.app-demo:is([data-step="3"], [data-step="4"], [data-step="5"]) .mover .t1 { display: none; }
.app-demo:is([data-step="3"], [data-step="4"], [data-step="5"]) .mover .t2 { display: block; }
.app-demo[data-step="3"] .mover { box-shadow: 0 .6em 1.6em rgba(42, 31, 36, .25); }

.u-week { margin: 0 1em; display: grid; grid-template-columns: 3em 1fr; background: var(--ui-surface); border: 1px solid var(--ui-border); border-radius: 1.2em; overflow: hidden; height: calc(8 * 3.1em + 3.4em); }
.u-week .u-hours span[style] { top: calc(var(--y, 0) / .62); }
.u-week-view { overflow: hidden; position: relative; }
.u-week-track { display: flex; width: max-content; transition: transform 2.4s var(--ease) .5s; }
.app-demo[data-step="2"] .u-week-track { transform: translateX(24.6em); }
.u-wcol { width: 6.2em; border-inline-end: 1px solid var(--ui-border); }
.u-whead { height: 2.6em; display: flex; flex-direction: column; align-items: center; justify-content: center; border-bottom: 1px solid var(--ui-border); font-size: .7em; height: calc(2.6em / .7); color: var(--ui-text-2); font-weight: 600; line-height: 1.2; }
.u-whead b { font-size: 1.35em; color: var(--ui-text); font-weight: 800; }
.u-wcol.today { background: color-mix(in srgb, var(--ui-accent-soft) 45%, transparent); }
.u-wcol.today .u-whead, .u-wcol.today .u-whead b { color: var(--ui-accent-ink); }
.u-wbody { position: relative; height: calc(8 * var(--hh)); margin-top: .6em; background: repeating-linear-gradient(to bottom, var(--ui-border) 0 1px, transparent 1px var(--hh)); }

.u-search { display: flex; align-items: center; gap: .5em; margin: 0 1em .6em; height: 2.9em; padding: 0 .8em; border-radius: .8em; border: 1px solid var(--ui-border-2); background: var(--ui-surface); color: var(--ui-text-2); font-size: .82em; }
.u-filters { display: flex; gap: .4em; padding: 0 1em; margin-bottom: .8em; overflow: hidden; }
.u-filters span { white-space: nowrap; font-size: .7em; font-weight: 600; padding: .45em .85em; border-radius: 99px; border: 1px solid var(--ui-border-2); background: var(--ui-surface); }
.u-filters span.on { background: var(--ui-text); color: var(--ui-bg); border-color: var(--ui-text); }
.u-filters i { font-style: normal; opacity: .75; }
.u-li { display: flex; align-items: center; gap: .65em; margin: 0 1em .45em; padding: .6em .75em; border-radius: 1em; background: var(--ui-surface); border: 1px solid var(--ui-border); }
.u-li b { display: flex; align-items: center; flex-wrap: wrap; gap: .3em; font-size: .85em; }
.u-li small { display: block; font-size: .68em; color: var(--ui-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.u-av { width: 2.5em; height: 2.5em; border-radius: 50%; background: var(--ui-accent-btn); color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; }

.u-card { margin: 0 1em; background: var(--ui-surface); border: 1px solid var(--ui-border); border-radius: 1.3em; padding: .9em; }
.u-h { display: flex; align-items: center; gap: .4em; font-size: .92em; margin-bottom: .7em; }
.u-tpls { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: .5em; }
.u-tpl { display: flex; flex-direction: column; gap: .35em; padding: .4em; border: 1.5px solid var(--ui-border); border-radius: .9em; font-size: .68em; font-weight: 700; text-align: center; transition: border-color .3s, background-color .3s; }
.u-tpl i { display: block; height: 4.2em; border-radius: .6em; position: relative; overflow: hidden; background: #FAF6F3; border: 1px solid var(--ui-border); }
.u-tpl i em { position: absolute; inset-inline: 22%; height: .45em; border-radius: 99px; background: #DCC9BE; }
.u-tpl i em:nth-child(1) { top: .5em; height: 1.2em; inset-inline: 0; border-radius: 0; background: linear-gradient(135deg, #F1CBD6, #F7E1E7); }
.u-tpl i em:nth-child(2) { top: 2em; }
.u-tpl i em:nth-child(3) { top: 2.9em; inset-inline: 32%; background: #C7607A; }
.u-tpl.t-minimal i { background: #fff; }
.u-tpl.t-minimal i em:nth-child(1) { background: #F4F4F4; }
.u-tpl.t-minimal i em:nth-child(3) { background: #161616; border-radius: .15em; }
.u-tpl.t-bold i { background: #FFF4F6; }
.u-tpl.t-bold i em:nth-child(1) { background: linear-gradient(135deg, #C7607A, #F1CBD6); height: 1.5em; }
.u-tpl.t-night i { background: #15101A; border-color: #372C3E; }
.u-tpl.t-night i em:nth-child(1) { background: linear-gradient(135deg, #4E2F39, #2A2130); }
.u-tpl.t-night i em:nth-child(2) { background: #4A3C52; }
.u-tpl.t-night i em:nth-child(3) { background: #E58FA5; }
.u-tpl.t-soft { border-color: var(--ui-accent); background: var(--ui-accent-soft); }
.app-demo[data-step="7"] .u-tpl.t-soft { border-color: var(--ui-border); background: transparent; transition-delay: .9s; }
.app-demo[data-step="7"] .u-tpl.t-bold { border-color: var(--ui-accent); background: var(--ui-accent-soft); transition-delay: .9s; }
.u-swatches { display: flex; gap: .45em; margin: .7em 0; }
.u-swatches i { width: 1.6em; height: 1.6em; border-radius: 50%; }
.u-swatches i:first-child { box-shadow: 0 0 0 .15em var(--ui-surface), 0 0 0 .3em var(--ui-text); }
.u-preview { position: relative; height: 7.4em; border-radius: .9em; border: 1px solid var(--ui-border); background: #FAF6F3; overflow: hidden; transition: background-color .5s .9s; }
.u-preview .pv-cover { position: absolute; inset: 0 0 auto; height: 2.6em; background: linear-gradient(135deg, #F1CBD6, #F7E1E7); transition: opacity .5s .9s; }
.u-preview .pv-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, #C7607A, #F1CBD6); opacity: 0; transition: opacity .5s .9s; }
.app-demo[data-step="7"] .u-preview { background: #FFF4F6; }
.app-demo[data-step="7"] .u-preview .pv-cover::after { opacity: 1; }
.u-preview .pv-logo { position: absolute; top: 1.7em; inset-inline-start: 50%; translate: 50% 0; width: 2em; height: 2em; border-radius: 50%; background: #fff; border: 2px solid #FAF6F3; transition: border-radius .5s .9s; }
.app-demo[data-step="7"] .u-preview .pv-logo { border-radius: .7em; }
.u-preview .pv-line { position: absolute; top: 4.2em; inset-inline: 30%; height: .45em; border-radius: 99px; background: #DCC9BE; }
.u-preview .pv-line.s { top: 5em; inset-inline: 38%; }
.u-preview .pv-btn { position: absolute; bottom: .6em; inset-inline: 18%; height: 1em; border-radius: .4em; background: #A8455F; transition: border-radius .5s .9s; }
.app-demo[data-step="7"] .u-preview .pv-btn { border-radius: 99px; }

/* overlays (toast / sheets) */
.u-dim { position: absolute; inset: 0; background: rgba(28, 14, 20, .45); opacity: 0; z-index: 5; transition: opacity .35s; pointer-events: none; }
.u-toast {
  position: absolute; z-index: 7; top: .8em; inset-inline: 1em; display: flex; align-items: center; gap: .5em; padding: .75em .9em; border-radius: .9em; background: #2A1F24; color: #FAF6F3;
  font-size: .8em; font-weight: 600; box-shadow: 0 .8em 2em rgba(0, 0, 0, .25); opacity: 0; transform: translateY(-140%); transition: transform .45s var(--ease-out), opacity .3s;
}
.u-toast .icon { color: #6BBF9B; }
.u-sheet {
  position: absolute; z-index: 6; inset-inline: 0; bottom: 0; background: var(--ui-surface); border-radius: 1.5em 1.5em 0 0; padding: .55em 1em 5.4em; box-shadow: 0 -1em 3em rgba(0, 0, 0, .18);
  transform: translateY(105%); transition: transform .55s var(--ease-out);
}
.u-grab { display: block; width: 2.6em; height: .3em; border-radius: 99px; background: var(--ui-border-2); margin: 0 auto .75em; }
.u-sh-title { display: block; font-size: .95em; margin-bottom: .2em; }
.u-sh-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .3em; }
.u-sh-head b { font-size: 1.1em; }
.u-kv { display: flex; gap: .5em; align-items: center; padding: .45em 0; border-top: 1px dashed var(--ui-border); font-size: .76em; }
.u-kv .icon { color: var(--ui-text-3); }
.u-row { display: flex; gap: .45em; margin-top: .7em; }
.u-btn { flex: 1; height: 2.7em; border-radius: .8em; display: inline-flex; align-items: center; justify-content: center; gap: .3em; font-size: .74em; font-weight: 700; background: var(--ui-surface-2); color: var(--ui-text); white-space: nowrap; }
.u-btn .icon { width: 1.15em; height: 1.15em; }
.u-btn.wa { background: var(--ui-wa); color: #fff; }
.u-btn.danger { background: var(--ui-danger-soft); color: var(--ui-danger); }
.u-btn.ghost { background: transparent; border: 1px solid var(--ui-border-2); }
.u-pills { display: flex; align-items: center; gap: .4em; margin-top: .75em; }
.u-pills small { font-size: .7em; color: var(--ui-text-2); }
.u-pill { display: inline-flex; align-items: center; gap: .3em; font-size: .72em; font-weight: 600; padding: .45em .8em; border-radius: .75em; border: 1px solid var(--ui-border-2); background: var(--ui-surface); position: relative; overflow: hidden; }
.u-pill .icon { width: 1.1em; height: 1.1em; }
.u-pill.p-ok::before { content: ""; position: absolute; inset: 0; background: var(--ui-accent-btn); opacity: 0; transition: opacity .3s 1.2s; z-index: -1; }
.u-pill.p-ok { isolation: isolate; transition: color .3s 1.2s; }
.app-demo[data-step="4"] .u-pill.p-ok { color: #fff; border-color: var(--ui-accent-btn); }
.app-demo[data-step="4"] .u-pill.p-ok::before { opacity: 1; }
.u-notes { margin-top: .6em; border: 1px solid var(--ui-border-2); border-radius: .75em; padding: .5em .7em; font-size: .72em; }
.u-hist { display: flex; gap: .7em; margin-top: .55em; font-size: .64em; color: var(--ui-text-2); }
.u-hist span::before { content: "• "; color: var(--ui-accent); }
.u-tplist { display: grid; gap: .35em; margin-top: .45em; }
.u-tplist span { display: flex; align-items: center; gap: .5em; padding: .62em .75em; border-radius: .8em; background: var(--ui-surface-2); font-size: .76em; font-weight: 600; position: relative; }
.u-tplist span .icon:first-child { color: var(--ui-wa); }
.u-tplist span .icon:last-child { margin-inline-start: auto; color: var(--ui-text-3); }
.u-tplist span.hl::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 2px var(--ui-accent); opacity: 0; transition: opacity .3s .8s; }
.app-demo[data-step="5"] .u-tplist span.hl::after { opacity: 1; }
.u-wa-msg {
  position: absolute; z-index: 8; inset-inline: 1.2em; bottom: 5.6em; background: #D9FDD3; color: #111B21; border-radius: 1em .3em 1em 1em; padding: .7em .85em; font-size: .74em; line-height: 1.45;
  box-shadow: 0 .8em 2em rgba(0, 0, 0, .25); opacity: 0; transform: translateY(1.5em) scale(.96); transition: opacity .4s, transform .5s var(--ease-out);
}
.app-demo[data-step="3"] .u-toast { opacity: 1; transform: none; transition-delay: 1.3s; }
.app-demo[data-step="3"] .o-offer { transform: none; transition-delay: 2.1s; }
.app-demo[data-step="3"] .u-dim { opacity: 1; transition-delay: 2.1s; }
.app-demo:is([data-step="4"], [data-step="5"]) .u-dim { opacity: 1; }
.app-demo[data-step="4"] .o-detail { transform: none; transition-delay: .2s; }
.app-demo[data-step="5"] .o-wa { transform: none; transition-delay: .2s; }
.app-demo[data-step="5"] .u-wa-msg { opacity: 1; transform: none; transition-delay: 1.5s; }
.app-demo[data-step] .app-dots li { background: rgba(255, 255, 255, .28); }
.app-demo[data-step="1"] [data-dot="1"], .app-demo[data-step="2"] [data-dot="2"], .app-demo[data-step="3"] [data-dot="3"], .app-demo[data-step="4"] [data-dot="4"],
.app-demo[data-step="5"] [data-dot="5"], .app-demo[data-step="6"] [data-dot="6"], .app-demo[data-step="7"] [data-dot="7"] { background: #F0A8BA; transform: scale(1.5); }

/* ------------------------------------------------------------------ customer demo */
.customer-grid { display: grid; gap: 8px; }
.booking-demo { display: grid; gap: 22px; }
.bd-steps { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-snap-type: x proximity; }
.bd-steps::-webkit-scrollbar { display: none; }
.bd-steps li { flex: none; scroll-snap-align: start; }
.bd-steps button {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px 0 18px; border-radius: 999px; border: 1.5px solid var(--rule-2); background: var(--card);
  font-weight: 700; font-size: .95rem; color: var(--ink-2); transition: border-color .25s, background-color .25s, color .25s;
}
.bd-n { width: 26px; height: 26px; border-radius: 50%; background: var(--paper-2); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; font-size: .82rem; transition: background-color .25s, color .25s; }
.bd-steps button[aria-current="step"] { border-color: var(--ink); color: var(--ink); }
.bd-steps button[aria-current="step"] .bd-n { background: var(--btn); color: var(--btn-text); }
.bd-stage { display: grid; gap: 28px; justify-items: center; }
.phone-book { --pw: min(76vw, 290px); }
.b-scroll { position: absolute; inset: 2.6em 0 0; padding: 0 1em; }
.b-biz { display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; margin: 0 -1em .8em; padding-bottom: .2em; }
.b-cover { width: 100%; height: 3.6em; background: linear-gradient(135deg, #F1CBD6 0%, #F7E1E7 55%, var(--ui-bg) 100%); }
.b-logo { width: 3.6em; height: 3.6em; margin-top: -1.8em; border-radius: 50%; background: var(--ui-surface); border: .2em solid var(--ui-bg); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1em; color: var(--ui-accent-ink); box-shadow: 0 .3em 1em rgba(42, 31, 36, .1); }
.b-biz b { font-size: 1.05em; margin-top: .25em; }
.b-biz small { display: inline-flex; gap: .25em; align-items: center; font-size: .7em; color: var(--ui-text-2); }
.b-biz small .icon { color: var(--ui-accent); }
.b-screens { position: relative; height: 23em; }
.b-scr { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateX(-14%); transition: opacity .45s var(--ease), transform .5s var(--ease), visibility 0s .5s; }
.booking-demo[data-step="0"] .s0, .booking-demo[data-step="1"] .s1, .booking-demo[data-step="2"] .s2, .booking-demo[data-step="3"] .s3, .booking-demo[data-step="4"] .s4 { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.b-tabs { display: flex; gap: .35em; margin-bottom: .7em; overflow: hidden; }
.b-tabs span { white-space: nowrap; font-size: .72em; font-weight: 600; padding: .45em .8em; border-radius: 99px; border: 1px solid var(--ui-border-2); background: var(--ui-surface); }
.b-tabs span.on { background: var(--ui-accent-btn); border-color: var(--ui-accent-btn); color: #fff; }
.b-svc { position: relative; display: flex; align-items: center; gap: .65em; padding: .65em .75em; margin-bottom: .5em; border-radius: 1.1em; background: var(--ui-surface); border: 1.5px solid var(--ui-border); }
.b-svc b { display: block; font-size: .9em; }
.b-svc small { display: flex; gap: .3em; align-items: center; font-size: .7em; color: var(--ui-text-2); }
.b-svc small em { font-style: normal; font-weight: 700; color: var(--ui-accent-ink); }
.b-svc > .icon { color: var(--ui-text-3); }
.b-em { width: 2.6em; height: 2.6em; border-radius: .85em; display: inline-flex; align-items: center; justify-content: center; flex: none; font-size: 1.05em; }
.pick { position: relative; }
.pick::after { content: ""; position: absolute; inset: -1.5px; border-radius: inherit; border: 2px solid var(--ui-accent); background: color-mix(in srgb, var(--ui-accent) 12%, transparent); opacity: 0; transition: opacity .3s; pointer-events: none; }
.booking-demo .is-picked .pick::after, html:not(.js) .booking-demo .pick::after, .booking-demo.is-static .pick::after { opacity: 1; }
.b-staff { display: grid; grid-template-columns: 1fr 1fr; gap: .55em; }
.b-staff span { display: flex; flex-direction: column; align-items: center; gap: .5em; padding: 1em .5em; border-radius: 1.3em; border: 1.5px solid var(--ui-border); background: var(--ui-surface); font-weight: 700; font-size: .85em; }
.b-staff i { width: 2.8em; height: 2.8em; border-radius: 50%; background: var(--c, var(--ui-surface-2)); color: #fff; font-style: normal; display: inline-flex; align-items: center; justify-content: center; font-size: 1.1em; }
.b-staff i[style*="#C7607A"] { background: #A8455F; }
.b-staff i[style*="#7B6CB2"] { background: #65579B; }
.b-staff .any { grid-column: 1 / -1; flex-direction: row; justify-content: center; border-style: dashed; }
.b-staff .any i { width: 2em; height: 2em; background: var(--ui-surface-2); }
.b-scr .c-slots span.pick em { opacity: 0; transition: opacity .3s; }
.booking-demo .is-picked .c-slots span.pick em, html:not(.js) .booking-demo .c-slots span.pick em, .booking-demo.is-static .c-slots span.pick em { opacity: 1; }
.b-sum { display: flex; align-items: center; gap: .6em; padding: .6em .75em; border-radius: 1em; background: var(--ui-surface-2); margin-bottom: .8em; }
.b-sum b { display: block; font-size: .85em; }
.b-sum small { display: block; font-size: .68em; color: var(--ui-text-2); }
.b-field { margin-bottom: .6em; }
.b-field small { display: block; font-size: .72em; font-weight: 600; margin-bottom: .25em; }
.b-input { position: relative; display: flex; align-items: center; height: 2.9em; padding: 0 .8em; border-radius: .8em; border: 1px solid var(--ui-border-2); background: var(--ui-surface); font-size: .85em; overflow: hidden; }
.b-input[dir="ltr"] { justify-content: flex-end; }
.typed { position: relative; display: inline-block; white-space: nowrap; }
.typed::after { content: ""; position: absolute; inset: 0 -2px; background: var(--ui-surface); transform-origin: left center; transition: transform .9s steps(9, end) .5s; }
.b-input[dir="ltr"] .typed::after { transform-origin: right center; }
.booking-demo[data-step="3"] .typed::after, .booking-demo[data-step="4"] .typed::after { transform: scaleX(0); }
.booking-demo[data-step="3"] .t-phone::after { transition-delay: 1.5s; transition-duration: 1s; transition-timing-function: steps(12, end); }
.b-cal { display: grid; grid-template-columns: 1fr 1fr; gap: .4em; width: 100%; margin-bottom: .5em; }
.b-cal span { display: flex; align-items: center; justify-content: center; gap: .3em; height: 2.7em; border-radius: .8em; background: var(--ui-surface-2); font-size: .68em; font-weight: 600; white-space: nowrap; }
.s4 { display: flex; flex-direction: column; align-items: center; text-align: center; }
.s4 .c-check { width: 3.6em; height: 3.6em; margin-bottom: .4em; }
.s4 .c-check .icon { width: 1.9em; height: 1.9em; }
.s4 .c-card { margin: .3em 0 .7em; padding: .7em .9em; }
.s4 .c-big { font-size: 1.7em; }
.phone-book .c-stepper i { transition: background-color .3s; }
.booking-demo[data-step="0"] .phone-book .c-stepper i:nth-child(-n+1),
.booking-demo[data-step="1"] .phone-book .c-stepper i:nth-child(-n+2),
.booking-demo[data-step="2"] .phone-book .c-stepper i:nth-child(-n+3),
.booking-demo:is([data-step="3"], [data-step="4"]) .phone-book .c-stepper i { background: var(--ui-accent); }
.phone-book .c-cta { z-index: 3; transition: transform .4s var(--ease); }
.booking-demo[data-step="4"] .phone-book .c-cta { transform: translateY(110%); }
.phone-book .c-next { display: grid; }
.phone-book .c-next > span { grid-area: 1 / 1; transition: opacity .25s; }
.phone-book .c-next .n1 { opacity: 0; }
.booking-demo[data-step="3"] .phone-book .c-next .n0 { opacity: 0; }
.booking-demo[data-step="3"] .phone-book .c-next .n1 { opacity: 1; }
.phone-book .tap { top: 0; left: 0; right: auto; inset-inline-start: auto; }
.booking-demo .tapping .tap { animation: bd-tap .9s var(--ease) both; }
@keyframes bd-tap { 0% { opacity: 0; transform: translate(var(--tx), var(--ty)) scale(.4); } 30% { opacity: .9; transform: translate(var(--tx), var(--ty)) scale(1); } 100% { opacity: 0; transform: translate(var(--tx), var(--ty)) scale(1.7); } }

.wa-chat { width: 100%; max-width: 420px; }
.wa-chat-title { font-family: var(--f-hand); color: var(--rose-ink); font-size: 1.15rem; margin-bottom: 10px; text-align: center; }
.wa-thread { background: #EFE7DE; border-radius: 22px; padding: 0 14px 16px; overflow: hidden; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow-1); color: #111B21; }
.wa-head { display: flex; align-items: center; gap: 10px; margin: 0 -14px 4px; padding: 10px 14px; background: #075E54; color: #fff; }
.wa-av { width: 32px; height: 32px; border-radius: 50%; background: #A8455F; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.wa-msg { position: relative; max-width: 88%; padding: 8px 12px 20px; border-radius: 12px; font-size: .93rem; line-height: 1.5; box-shadow: 0 1px 1px rgba(0, 0, 0, .1); transition: opacity .4s, transform .45s var(--ease-out); }
.wa-msg u { color: #0A5E84; text-decoration: none; direction: ltr; unicode-bidi: isolate; }
.wa-msg.out { align-self: flex-start; background: #D9FDD3; border-start-start-radius: 3px; color: #111B21; }
.wa-msg.in { align-self: flex-end; background: #FFFFFF; border-start-end-radius: 3px; color: #111B21; }
.wa-day { align-self: center; font-size: .75rem; font-weight: 600; background: #FFFFFF; color: #54656F; padding: 3px 10px; border-radius: 8px; margin: 4px 0; }
.booking-demo[data-step="4"] .wa-msg { animation: wa-in .5s var(--ease-out) both; }
.booking-demo[data-step="4"] .wa-msg.m1 { animation-delay: .8s; }
.booking-demo[data-step="4"] .wa-msg.m2 { animation-delay: 1.6s; }
.booking-demo[data-step="4"] .wa-msg.m3 { animation-delay: 2.3s; }
.booking-demo.is-static .wa-msg { animation: none; }
@keyframes wa-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.wa-note { font-size: .92rem; color: var(--ink-2); margin-top: 12px; }
@media (min-width: 900px) {
  .customer-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
  .customer-grid .section-head { position: sticky; top: calc(var(--header-h) + 40px); }
  .booking-demo { grid-template-columns: auto minmax(0, 1fr); align-items: start; }
  .bd-steps { grid-column: 1 / -1; flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
  .bd-stage { grid-column: 1 / -1; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 40px; justify-items: start; }
  .phone-book { --pw: 300px; }
  .booking-demo .demo-bar { grid-column: 1 / -1; }
}

/* ------------------------------------------------------------------ how */
.how { background: var(--paper-2); }
.how-steps {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 8px; scroll-padding-inline: var(--gutter);
}
.how-steps::-webkit-scrollbar { display: none; }
.how-steps:focus-visible { outline-offset: -3px; }
.how-steps .how-step { flex: 0 0 84%; scroll-snap-align: start; }
.how-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.how-dots i { width: 8px; height: 8px; border-radius: 99px; background: var(--rule-2); transition: width .3s var(--ease), background-color .3s; }
.how-dots i.on { width: 24px; background: var(--rose-ink); }
.how-step { position: relative; background: var(--card); border-radius: var(--r-lg); padding: 26px 24px 28px; border: 1px solid var(--rule); }
.how-n { display: block; font-family: var(--f-display); font-weight: 800; font-size: 4.2rem; line-height: .9; color: var(--rose); margin-bottom: 12px; }
.how-step h3 { font-size: 1.35rem; margin-bottom: 8px; }
.how-step p { color: var(--ink-2); }
@media (min-width: 900px) {
  .how-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; overflow: visible; margin: 0; padding: 0; }
  .how-steps .how-step { flex: none; }
  .how-dots { display: none; }
  .how-step:nth-child(2) { translate: 0 28px; }
  .how-step:nth-child(3) { translate: 0 56px; }
  .how { padding-bottom: clamp(120px, 14vw, 190px); }
}

/* ------------------------------------------------------------------ who */
.who-wall { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 6px; max-width: 1000px; margin-inline: auto; }
.who-wall li {
  font-family: var(--f-display); font-weight: 800; font-size: clamp(1.45rem, 3.6vw + .6rem, 2.8rem); line-height: 1.25; color: var(--ink);
  padding: 0 .2em; transition: color .4s;
}
.who-wall li:nth-child(3n+2) { color: var(--rose-ink); }
.who-wall li:nth-child(4n+3) { font-family: var(--f-hand); font-weight: 500; font-size: clamp(1.3rem, 3vw + .5rem, 2.5rem); color: var(--ink-2); }
.who-wall li::after { content: "·"; margin-inline-start: .3em; color: var(--rule-2); font-family: var(--f-body); }
.who-wall li:last-child::after { content: none; }

/* ------------------------------------------------------------------ pricing */
.pricing-grid { display: grid; gap: 10px; }
.price-card { position: relative; background: var(--card); border-radius: var(--r-xl); padding: 34px 24px 28px; box-shadow: var(--shadow-2); border: 1px solid var(--rule); max-width: 560px; width: 100%; margin-inline: auto; }
.price-ribbon { position: absolute; top: -2px; inset-inline-end: 28px; width: 34px; height: 68px; color: var(--rose); }
.price-name { font-family: var(--f-hand); color: var(--rose-ink); font-size: 1.25rem; }
.price-amount { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; line-height: 1; }
.price-amount .num { font-family: var(--f-display); font-weight: 800; font-size: clamp(4.4rem, 16vw, 6.4rem); letter-spacing: -.03em; }
.price-amount .cur { font-family: var(--f-display); font-weight: 700; font-size: 2.2rem; }
.price-amount .per { font-size: 1.15rem; font-weight: 700; color: var(--ink-2); }
.price-vat { font-weight: 700; color: var(--ink-2); margin-top: 6px; }
.price-list { display: grid; gap: 10px; margin: 22px 0 26px; }
.price-list li { display: flex; gap: 10px; align-items: flex-start; }
.price-list .icon { color: var(--rose-ink); margin-top: .3em; stroke-width: 3; }
.fine { margin-top: 26px; padding-top: 22px; border-top: 2px dashed var(--rule-2); }
.fine h3 { font-family: var(--f-hand); font-weight: 500; font-size: 1.25rem; color: var(--rose-ink); margin-bottom: 10px; }
.fine ul { display: grid; gap: 10px; margin-bottom: 12px; }
.fine li { color: var(--ink-2); font-size: .98rem; }
.fine b { color: var(--ink); }
.fine p { font-size: .95rem; }
@media (min-width: 900px) {
  .pricing-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
  .price-card { padding: 44px 44px 36px; }
}

/* ------------------------------------------------------------------ faq */
.faq { background: var(--paper-2); }
.faq-grid { display: grid; gap: 8px; }
.faq-list { display: grid; gap: 10px; }
.faq-item { background: var(--card); border: 1px solid var(--rule); border-radius: 18px; transition: border-color .25s, box-shadow .25s; }
.faq-item[open] { border-color: var(--rule-2); box-shadow: var(--shadow-1); }
.faq-item summary { list-style: none; display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 14px 20px; cursor: pointer; border-radius: 18px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { flex: 1; font-size: 1.08rem; font-weight: 700; line-height: 1.4; }
.faq-icon { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--paper-2); flex: none; transition: transform .3s var(--ease), background-color .25s; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; inset-inline-start: 50%; top: 50%; width: 12px; height: 2px; margin: -1px -6px 0 0; background: var(--ink); border-radius: 2px; }
.faq-icon::after { transform: rotate(90deg); transition: transform .3s var(--ease); }
.faq-item[open] .faq-icon { background: var(--btn); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: var(--btn-text); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-a { padding: 0 20px 20px; color: var(--ink-2); }
.faq-a p + p { margin-top: 10px; }
.faq-item[open] .faq-a { animation: faq-in .35s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (min-width: 900px) {
  .faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
  .faq-grid .section-head { position: sticky; top: calc(var(--header-h) + 40px); }
}

/* ------------------------------------------------------------------ join */
.join { overflow: clip; }
.join-grid { position: relative; z-index: 1; display: grid; gap: 30px; }
.join h2 { font-size: clamp(2rem, 5.4vw + .4rem, 3.4rem); }
.join-price { margin-top: 18px; color: var(--ink-2); }
.join-price strong { color: var(--ink); }
.join-form { background: var(--card); border-radius: var(--r-xl); padding: 26px 20px 22px; box-shadow: var(--shadow-2); border: 1px solid var(--rule); display: grid; gap: 16px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field input, .field select {
  width: 100%; min-height: 52px; padding: 0 14px; border-radius: 14px; border: 1.5px solid var(--rule-2); background: var(--paper); color: var(--ink); font-size: 1.05rem;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field input::placeholder { color: var(--ink-3); opacity: 1; }
.field input:hover, .field select:hover { border-color: var(--ink-3); }
.field input:focus, .field select:focus { outline: none; border-color: var(--rose-ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--rose) 22%, transparent); background: var(--card); }
.field input[aria-invalid="true"] { border-color: #B0402F; }
.field-error { color: #A23A2A; font-size: .9rem; font-weight: 600; margin-top: 6px; }
.opt { font-weight: 400; color: var(--ink-3); font-size: .92em; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--ink-2); cursor: pointer; min-height: 44px; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--btn); flex: none; }
.form-note { font-size: .88rem; color: var(--ink-3); }
.join-form .btn-primary { margin-top: 4px; }
@media (min-width: 900px) {
  .join-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
  .join-form { padding: 34px 32px 28px; }
}
.join-fallback h1 { font-family: var(--f-display); font-size: clamp(2rem, 5vw + .5rem, 3rem); line-height: 1.1; }
.lead-preview { white-space: pre-wrap; font-family: var(--f-body); background: var(--card); border: 1px solid var(--rule); border-radius: 16px; padding: 18px; margin: 20px 0; }
.join-fallback .btn { margin-bottom: 16px; }

/* ------------------------------------------------------------------ footer */
.site-footer { background: var(--ink); color: var(--paper); padding-top: 56px; padding-bottom: calc(96px + var(--safe-b)); }
.site-footer a { color: inherit; }
.site-footer .brand { color: inherit; }
.site-footer .brand-mark { color: #F0A8BA; }
.footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
.footer-brand, .footer-contact { grid-column: 1 / -1; }
.footer-contact .contact-list { display: flex; flex-wrap: wrap; gap: 0 22px; }
.footer-brand p { margin-top: 12px; max-width: 30em; opacity: .85; }
.footer-price { font-size: .95rem; }
.footer-col h2 { font-family: var(--f-body); font-size: .95rem; font-weight: 800; letter-spacing: .02em; margin-bottom: 10px; color: var(--footer-dim, #D9C9CF); }
.footer-col ul { display: grid; gap: 2px; }
.footer-col a, .footer-col .link-btn { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: inherit; font-size: .98rem; }
.footer-col a:hover, .footer-col .link-btn:hover { text-decoration: underline; }
.contact-list li { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.contact-list a { gap: 6px; }
.contact-list .icon { opacity: .75; }
.site-footer mark.todo { font-size: .82rem; }
.legal-entity { margin-top: 12px; font-size: .9rem; opacity: .9; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .88rem; opacity: .85; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; } .footer-brand, .footer-contact { grid-column: auto; } .footer-contact .contact-list { display: grid; } .site-footer { padding-bottom: 40px; } }

/* ------------------------------------------------------------------ sticky CTA (mobile) */
.sticky-cta {
  position: fixed; z-index: 40; inset-inline: 0; bottom: 0; padding: 10px var(--gutter) calc(10px + var(--safe-b)); background: color-mix(in srgb, var(--paper) 90%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--rule); transform: translateY(110%); transition: transform .35s var(--ease);
}
.sticky-cta.is-shown { transform: none; }
.sticky-cta .btn { width: 100%; justify-content: space-between; padding-inline: 22px 18px; }
.sticky-price { font-weight: 600; font-size: .92rem; opacity: .9; }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* ------------------------------------------------------------------ accessibility button + sheets */
.a11y-fab {
  position: fixed; z-index: 45; inset-inline-end: 12px; bottom: calc(16px + var(--safe-b)); width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: #1F4FA3; color: #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, .25); display: flex; align-items: center; justify-content: center; transition: transform .2s var(--ease), bottom .35s var(--ease);
}
.a11y-fab svg { width: 28px; height: 28px; }
.a11y-fab svg circle { fill: currentColor; }
.a11y-fab:hover { transform: scale(1.06); }
.sticky-cta.is-shown ~ .a11y-fab { bottom: calc(88px + var(--safe-b)); }
@media (min-width: 900px) { .a11y-fab { bottom: 24px; inset-inline-end: 24px; } }
.sheet {
  border: 0; padding: 0; margin: auto auto 0; width: 100%; max-width: 560px; max-height: 88svh; background: var(--card); color: var(--ink); border-radius: 26px 26px 0 0;
  box-shadow: var(--shadow-2); overflow: auto;
}
.sheet::backdrop { background: rgba(28, 14, 20, .5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.sheet[open] { animation: sheet-in .35s var(--ease-out); }
@keyframes sheet-in { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 600px) { .sheet { margin: auto; border-radius: 26px; } }
.sheet-inner { padding: 22px var(--gutter) calc(18px + var(--safe-b)); display: grid; gap: 14px; }
.sheet h2 { font-family: var(--f-display); font-size: 1.5rem; line-height: 1.15; }
.sheet-nav { display: grid; }
.sheet-nav a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; font-size: 1.2rem; font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule); }
.sheet-nav a .icon { color: var(--ink-3); }
.sheet-actions { display: grid; gap: 10px; margin-top: 4px; }
.sheet-close { justify-self: stretch; }
.sheet-row { display: flex; flex-wrap: wrap; gap: 10px; }
.sheet-row .btn { flex: 1 1 auto; }
.a11y-group { display: grid; gap: 8px; }
.a11y-label { font-weight: 700; }
.seg { display: flex; background: var(--paper-2); border-radius: 14px; padding: 4px; gap: 4px; }
.seg button { flex: 1; min-height: 44px; border: 0; border-radius: 11px; background: transparent; font-weight: 700; color: var(--ink-2); }
.seg button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: var(--shadow-1); }
.a11y-toggles { display: grid; gap: 6px; }
.toggle { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 52px; padding: 0 14px; border-radius: 14px; border: 1.5px solid var(--rule); background: var(--paper); font-weight: 700; text-align: start; color: var(--ink); }
.toggle small { font-weight: 500; color: var(--ink-3); }
.toggle:disabled { opacity: .6; cursor: not-allowed; }
.toggle.is-locked { cursor: default; }
.track { position: relative; width: 44px; height: 26px; border-radius: 99px; background: var(--rule-2); flex: none; transition: background-color .2s; }
.track::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .25s var(--ease); }
.toggle[aria-pressed="true"] .track, .track.on { background: var(--btn); }
.toggle[aria-pressed="true"] .track::after, .track.on::after { transform: translateX(-18px); }
.consent-bar {
  position: fixed; z-index: 60; inset-inline: 8px; bottom: calc(8px + var(--safe-b)); max-width: 640px; margin-inline: auto; background: var(--card); color: var(--ink); border: 1px solid var(--rule-2);
  border-radius: 20px; box-shadow: var(--shadow-2); padding: 16px; display: grid; gap: 12px; font-size: .95rem;
}
.consent-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.consent-actions .btn { flex: 1 1 auto; min-height: 44px; }

/* ------------------------------------------------------------------ legal pages */
.legal { padding-block: 32px 80px; max-width: 860px; }
.legal-head { margin-bottom: 26px; }
.crumbs { font-size: .92rem; color: var(--ink-3); margin-bottom: 14px; }
.crumbs a { color: inherit; }
.legal h1 { font-family: var(--f-display); font-weight: 800; font-size: clamp(2rem, 5vw + .5rem, 3.2rem); line-height: 1.1; letter-spacing: -.01em; }
.legal-meta { margin-top: 10px; color: var(--ink-3); font-size: .95rem; }
.legal-body { font-size: 1.04rem; }
.legal-body h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.4rem, 2vw + .8rem, 1.8rem); margin: 40px 0 12px; line-height: 1.2; }
.legal-body h3 { font-size: 1.15rem; margin: 24px 0 8px; }
.legal-body p, .legal-body ul, .legal-body ol { margin-bottom: 12px; }
.legal-body ul { list-style: disc; padding-inline-start: 1.3em; }
.legal-body ol { list-style: decimal; padding-inline-start: 1.4em; }
.legal-body li { margin-bottom: 6px; }
.legal-body li::marker { color: var(--rose-ink); }
.legal-summary { background: var(--blush); border-radius: 20px; padding: 20px 22px; margin-bottom: 22px; }
.legal-summary h2 { margin: 0 0 8px; font-size: 1.4rem; }
.legal-summary ul { margin: 0; }
.legal-toc { border: 1px solid var(--rule); border-radius: 18px; padding: 16px 20px; margin-bottom: 10px; background: var(--card); }
.legal-toc ol { margin: 0; columns: 1; }
.legal-toc a { display: inline-block; min-height: 32px; padding-block: 3px; }
@media (min-width: 720px) { .legal-toc ol { columns: 2; column-gap: 32px; } }
.legal-body section { scroll-margin-top: calc(var(--header-h) + 16px); }
.table-wrap { overflow-x: auto; margin: 14px 0 18px; border: 1px solid var(--rule); border-radius: 14px; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; }
.table-wrap caption { text-align: start; font-weight: 700; padding: 12px 14px 4px; }
.table-wrap th, .table-wrap td { text-align: start; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--rule); }
.table-wrap th { background: var(--paper-2); font-weight: 800; }
.table-wrap tr:last-child td { border-bottom: 0; }
.callout { background: var(--paper-2); border-inline-start: 4px solid var(--rose); border-radius: 12px; padding: 14px 18px; margin: 16px 0; }
.legal-other { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--rule); }
.legal-other h2 { font-family: var(--f-body); font-size: 1rem; font-weight: 800; margin-bottom: 8px; }
.legal-other ul { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.legal-other a { display: inline-flex; min-height: 44px; align-items: center; }

/* ------------------------------------------------------------------ rendering: skip work for sections far below the fold */
.features, .customer, .how, .who, .pricing, .faq, .join { content-visibility: auto; contain-intrinsic-size: auto 1400px; }
.how, .who { contain-intrinsic-size: auto 900px; }

/* ------------------------------------------------------------------ reveal on scroll (JS adds .js to <html>) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .bento .reveal:nth-child(2n) { transition-delay: .08s; }
.js .how-step.reveal:nth-child(2) { transition-delay: .12s; }
.js .how-step.reveal:nth-child(3) { transition-delay: .24s; }
.js .diary .entry { opacity: 0; transform: translateX(-12px); transition: opacity .6s var(--ease-out), transform .7s var(--ease-out); }
.js .diary.is-in .entry { opacity: 1; transform: none; }
.js .diary.is-in .entry:nth-child(2) { transition-delay: .35s; }
.js .diary.is-in .entry:nth-child(3) { transition-delay: .7s; }
.js .diary.is-in .entry:nth-child(4) { transition-delay: 1.05s; }
.js .diary .entry s::after { transform: rotate(-2deg) scaleX(0); transition: transform .5s var(--ease) 1.4s; }
.js .diary.is-in .entry s::after { transform: rotate(-2deg) scaleX(1); }
.js .diary-sign { opacity: 0; transform: scale(.96); transition: opacity .7s, transform .8s var(--ease-out); transition-delay: 1.6s; }
.js .diary.is-in .diary-sign { opacity: 1; transform: none; }

/* hero entrance (CSS only, no JS needed) */
@media (prefers-reduced-motion: no-preference) {
  .salut span { animation: write-in .9s var(--ease-out) .1s both; }
  .hero .marker::before { animation: marker-in .7s var(--ease-out) .6s both; }
  .hero-demo .hd-stage { animation: rise .9s var(--ease-out) .2s both; }
  .who-wall li { animation: none; }
  @supports (animation-timeline: view()) {
    .who-wall li { animation: wall-in linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
    .phone-owner .ui { animation: none; }
    .hero-demo .phone-client { animation: parallax linear both; animation-timeline: scroll(root); animation-range: 0 600px; }
    .diary { animation: tilt linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  }
}
@keyframes write-in { from { opacity: 0; transform: translateX(14px); clip-path: inset(0 0 0 100%); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }
@keyframes marker-in { from { transform: rotate(-.6deg) scaleX(0); } to { transform: rotate(-.6deg) scaleX(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes wall-in { from { transform: translateY(18px) scale(.94); } to { transform: none; } }
@keyframes parallax { from { transform: translateY(0); } to { transform: translateY(-60px); } }
@keyframes tilt { from { transform: translateY(30px) rotate(1.4deg); } to { transform: translateY(-30px) rotate(-.6deg); } }

/* ------------------------------------------------------------------ motion off: system preference or the a11y menu */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .hero-demo .hd-stage * { animation: none !important; }
  .js .reveal, .js .diary .entry, .js .diary-sign { opacity: 1; transform: none; }
  .js .diary .entry s::after { transform: rotate(-2deg); }
  .demo-toggle[data-toggle-loop="#hero-demo"], .booking-demo .demo-toggle { display: none; }
}
.a11y-still { scroll-behavior: auto; }
.a11y-still *, .a11y-still *::before, .a11y-still *::after { animation: none !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
.a11y-still .js .reveal, .a11y-still .reveal, .a11y-still .diary .entry, .a11y-still .diary-sign { opacity: 1 !important; transform: none !important; }
.a11y-still .diary .entry s::after { transform: rotate(-2deg) !important; }
.a11y-still .demo-toggle { display: none; }

/* high contrast */
.a11y-contrast {
  --paper: #FFFFFF; --paper-2: #FFFFFF; --card: #FFFFFF; --ink: #000000; --ink-2: #000000; --ink-3: #1A1A1A; --rule: #000000; --rule-2: #000000;
  --rose: #7A1F38; --rose-ink: #7A1F38; --btn: #000000; --btn-text: #FFFFFF; --btn-hover: #333333; --blush: #FFFFFF; --marker: #FFE14D; --margin: #7A1F38;
}
.a11y-contrast .paper-lines { display: none; }
.a11y-contrast .tile, .a11y-contrast .faq-item, .a11y-contrast .how-step, .a11y-contrast .price-card, .a11y-contrast .join-form, .a11y-contrast .diary { border: 2px solid var(--ink); box-shadow: none; }
.a11y-contrast .demo, .a11y-contrast .site-footer { background: #000; color: #fff; }
.a11y-contrast .demo .app-stage { --demo-bg: #000; }
.a11y-contrast .app-step-card { opacity: 1 !important; }
/* highlight links */
.a11y-links a:not(.btn) { text-decoration: underline !important; text-decoration-thickness: 2px !important; background: #FFF3A6; color: #000 !important; }
.a11y-links .btn { outline: 2px dashed currentColor; outline-offset: 2px; }
/* readable font */
.a11y-font { --f-display: 'Heebo', Arial, sans-serif; --f-hand: 'Heebo', Arial, sans-serif; }
.a11y-font body { letter-spacing: .01em; }

/* confirmation screen extras (public/appointment.php "remember-card") */
.c-remember { width: 100%; margin-top: .8em; padding: .8em .9em; border-radius: 1.2em; background: var(--ui-accent-soft); text-align: right; }
.c-remember b { display: block; font-size: .85em; }
.c-remember small { display: block; font-size: .68em; color: var(--ui-text-2); margin: .2em 0 .6em; }
.c-remember span { display: flex; align-items: center; justify-content: center; gap: .3em; height: 2.8em; border-radius: .9em; background: var(--ui-accent-btn); color: #fff; font-size: .78em; font-weight: 700; }
