/* Two phones, one booking (block DEMO-TWO-PHONES-20261017).
   Frame and left phone: Anna's accepted language (paper to sand to ink, thin serif display with Jost, hairlines, pill buttons, glass).
   Right phone: the owner app's beauty design (mulberry glass, Geist, the white pill "Potwierdź wizytę").
   Only transform and opacity move. Reduced motion means fades only. */

:root {
  color-scheme: light;
  --c0: #F9F6F1; --c1: #F3ECE1; --c2: #E6D8C7; --c3: #CCB6A0; --c4: #6B533E;
  --ink: #1F1A17; --ink-soft: #4A3F38; --paper: #FAF7F1; --card: #FFFDF9; --muted: #655D54; --line: #DDD5CB;
  --serif: "Noto Serif Display", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: Jost, "Avenir Next", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --geist: Geist, system-ui, -apple-system, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-nav: cubic-bezier(.16, 1, .3, 1);
  --s: 1;
  --gut: clamp(16px, 4vw, 40px);
  --sbh: 54px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-width: 320px; color: var(--ink); font: 400 16px/1.55 var(--sans);
  background: radial-gradient(1100px 480px at 50% -10%, #FBF8F3 0%, rgba(251, 248, 243, 0) 72%), var(--c1);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
[hidden] { display: none !important; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; text-align: inherit; }
h1, h2, h3, h4, p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 12px; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 18px; background: var(--ink); color: var(--c0); text-decoration: none; border-radius: 12px; }
.skip:focus { top: 12px; }
.num { font-variant-numeric: tabular-nums; }

/* ── header ────────────────────────────────────────────────────────────── */
.top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 24px; align-items: start; padding: 26px var(--gut) 10px; max-width: 1480px; margin: 0 auto; }
.top-copy { display: grid; grid-template-areas: "eyebrow" "title" "lead"; gap: 8px; min-width: 0; }
.eyebrow { grid-area: eyebrow; font: 500 .72rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.title { grid-area: title; font: 300 clamp(2rem, 1.35rem + 2vw, 3rem) / 1.06 var(--serif); letter-spacing: -.02em; text-wrap: balance; }
.lead { grid-area: lead; max-width: 58ch; color: var(--ink-soft); font-size: .98rem; line-height: 1.5; text-wrap: pretty; }
.lead strong { font-weight: 500; color: var(--ink); }
.lang { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: rgba(249, 246, 241, .7); }
.lang-btn { min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: 999px; font: 500 .72rem/1 var(--sans); letter-spacing: .16em; color: var(--ink-soft); text-align: center; transition: background-color .22s ease, color .22s ease, transform 110ms var(--ease-out); }
.lang-btn:active { transform: scale(.97); }
.lang-btn[aria-pressed="true"] { background: var(--ink); color: var(--c0); }

@media (min-width: 1100px) {
  .top-copy { grid-template-columns: auto minmax(0, 56ch); grid-template-areas: "eyebrow lead" "title lead"; column-gap: 64px; align-items: end; }
  .lead { align-self: end; padding-bottom: 6px; }
}

/* ── tabs (phones only) ────────────────────────────────────────────────── */
.tabs { display: none; }

/* ── stage ─────────────────────────────────────────────────────────────── */
.stage { display: grid; grid-template-columns: auto clamp(160px, 18vw, 300px) auto; justify-content: center; align-items: start; column-gap: clamp(8px, 2vw, 28px); padding: 4px var(--gut) 18px; }
.unit { display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 0; }
.unit-head { display: flex; align-items: center; flex-wrap: nowrap; gap: 10px; width: calc((390px + 22px) * var(--s)); height: 28px; }
.unit-n { display: inline-grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--ink); border-radius: 50%; font: 500 .72rem/1 var(--sans); }
.unit-title { font: 500 .78rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.unit-sub { min-width: 0; font-size: .88rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.unit-link { margin-left: auto; font: 500 .72rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: underline; text-decoration-color: var(--c3); text-underline-offset: .5em; min-height: 44px; transition: text-decoration-color .22s ease; }
.unit-link:hover { text-decoration-color: var(--ink); }

.phone-slot { position: relative; width: calc((390px + 22px) * var(--s)); height: calc((844px + 22px) * var(--s)); }
.phone {
  position: absolute; left: calc(11px * var(--s)); top: calc(11px * var(--s)); width: 390px; height: 844px;
  transform: scale(var(--s)); transform-origin: 0 0; border-radius: 48px; overflow: hidden; isolation: isolate; background: #0b0809;
  box-shadow: 0 0 0 10px #1a1517, 0 0 0 11px rgba(255, 255, 255, .16), 0 44px 80px -24px rgba(31, 26, 23, .45);
}
.phone-screen { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }
.island { position: absolute; top: 11px; left: 50%; width: 112px; height: 32px; margin-left: -56px; border-radius: 20px; background: #0b0809; z-index: 30; }
.sb { position: absolute; top: 0; left: 0; right: 0; height: var(--sbh); padding: 19px 30px 0 36px; display: flex; justify-content: space-between; align-items: flex-start; font: 600 16px/1 var(--geist); z-index: 25; pointer-events: none; }
.phone-client .sb { color: var(--ink); }
.phone-salon .sb { color: #fff; }
.sb-r { display: flex; gap: 6px; align-items: center; margin-top: 2px; }
.sb-sig { display: flex; gap: 2px; align-items: flex-end; height: 11px; }
.sb-sig b { width: 3px; border-radius: 1px; background: currentColor; }
.sb-sig b:nth-child(1) { height: 4px; } .sb-sig b:nth-child(2) { height: 6px; } .sb-sig b:nth-child(3) { height: 8px; } .sb-sig b:nth-child(4) { height: 11px; }
.sb-bat { width: 25px; height: 12px; border-radius: 4px; border: 1px solid currentColor; position: relative; padding: 1px; opacity: .95; }
.sb-bat::before { content: ""; display: block; height: 100%; width: 78%; border-radius: 2px; background: currentColor; }
.sb-bat::after { content: ""; position: absolute; right: -4px; top: 3px; width: 2px; height: 4px; border-radius: 0 1px 1px 0; background: currentColor; opacity: .7; }

/* the middle: what to do next, and the wire between the phones */
.mid { grid-column: 2; grid-row: 1; align-self: stretch; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding-top: 40px; min-width: 0; }
.coach { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; max-width: 250px; padding: 16px 16px 18px; border: 1px solid var(--line); border-radius: 22px; background: rgba(251, 248, 243, .94); text-align: center; box-shadow: 0 16px 40px -24px rgba(31, 26, 23, .45); }
.coach-k { font: 500 .66rem/1 var(--sans); letter-spacing: .2em; text-indent: .2em; text-transform: uppercase; color: var(--muted); }
.coach-t { font: 300 1.2rem / 1.25 var(--serif); letter-spacing: -.005em; text-wrap: balance; }
.coach-b { margin-top: 6px; min-height: 44px; padding: 0 20px 0 calc(20px - .12em); border: 1.5px solid var(--ink); border-radius: 999px; font: 500 .72rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; transition: transform 110ms var(--ease-out), background-color .22s ease, color .22s ease; }
.coach-b:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .coach-b:hover { background: var(--ink); color: var(--c0); } }
.mid-link { font: 500 .7rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; text-align: center; text-decoration: underline; text-decoration-color: var(--c3); text-underline-offset: .5em; min-height: 44px; transition: text-decoration-color .22s ease; }
.mid-link:hover { text-decoration-color: var(--ink); }
.bridge { position: relative; width: 100%; height: 44px; flex: none; }
.bridge-line { position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: linear-gradient(90deg, var(--line), var(--c3) 50%, var(--line)); }
.bridge-dot { position: absolute; left: 0; top: 16px; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); opacity: 0; }
.bridge-chip { position: absolute; left: 50%; top: 32px; transform: translateX(-50%); font: 500 .66rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; opacity: 0; }

/* ── LEFT PHONE: Anna's site ───────────────────────────────────────────── */
.client { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; text-align: center; padding: calc(var(--sbh) + 20px) 26px 112px; background: linear-gradient(180deg, var(--c0) 0%, var(--c1) 56%, var(--c2) 100%); color: var(--ink); overflow: hidden; }
.c-wall { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(90deg, transparent calc(13% - .5px), rgba(31, 26, 23, .07) calc(13% - .5px), rgba(31, 26, 23, .07) calc(13% + .5px), transparent calc(13% + .5px), transparent calc(87% - .5px), rgba(31, 26, 23, .07) calc(87% - .5px), rgba(31, 26, 23, .07) calc(87% + .5px), transparent calc(87% + .5px)),
  radial-gradient(70% 36% at 50% 18%, rgba(255, 253, 249, .85), transparent 72%); }
.c-hero { position: relative; display: flex; flex-direction: column; align-items: center; width: 100%; margin-block: auto; }
.c-city { position: relative; font: 500 .72rem/1 var(--sans); letter-spacing: .34em; text-indent: .34em; text-transform: uppercase; color: var(--ink-soft); }
.c-mark { display: block; width: 146px; height: auto; }
.c-words { display: block; width: 264px; height: auto; margin-top: 18px; }
.c-by { margin-top: 12px; font: 500 .66rem/1 var(--sans); letter-spacing: .34em; text-indent: .34em; text-transform: uppercase; color: var(--ink-soft); }
.c-sign { display: block; width: 226px; aspect-ratio: 580 / 130; margin: 30px auto 2px; background: var(--ink); opacity: .9; -webkit-mask: url(assets/anna-signature.svg) center / contain no-repeat; mask: url(assets/anna-signature.svg) center / contain no-repeat; }
.c-head { margin-top: 26px; font: 300 2.85rem / 1.04 var(--serif); letter-spacing: -.02em; }
.c-head em { display: block; font-style: italic; }
.c-sub { margin-top: 16px; max-width: 24ch; font-size: .98rem; line-height: 1.5; color: var(--ink-soft); }
.c-bar { position: absolute; left: 14px; right: 14px; bottom: 18px; padding: 6px; border-radius: 999px; background: rgba(249, 246, 241, .74); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); border: 1px solid rgba(31, 26, 23, .1); box-shadow: 0 12px 32px -14px rgba(31, 26, 23, .3), inset 0 1px 0 rgba(255, 255, 255, .75); }
.c-pill { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; border-radius: 999px; background: var(--ink); color: var(--c0); font: 500 .84rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-align: center; padding-left: .14em; transition: transform 110ms var(--ease-out), background-color .22s ease; }
.c-pill:active { transform: scale(.97); }
/* light text on an ink pill: opacity just under 1 gives grayscale antialiasing (no colour fringes with Windows ClearType) */
.c-pill, .pill-ink { opacity: .999; }
@media (hover: hover) and (pointer: fine) { .c-pill:hover { background: #3A312B; } }
.c-chip { position: absolute; left: 20px; right: 20px; bottom: 94px; display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); text-align: left; box-shadow: 0 10px 28px -16px rgba(31, 26, 23, .3); transition: transform 110ms var(--ease-out); }
.c-chip:active { transform: scale(.98); }
.c-chip-k { font: 500 .66rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.c-chip-v { flex: 1; font-weight: 500; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.scrim { position: absolute; inset: 0; background: rgba(31, 26, 23, .3); opacity: 0; transition: opacity 320ms var(--ease-nav); z-index: 20; }
.scrim.is-open { opacity: 1; }
/* the booking sheet: the accepted Anna sheet (ANNA-SHEET-20261017) in demo size, same tokens, same rhythm */
.sheet {
  --edge: rgba(31, 26, 23, .52); --hair: rgba(31, 26, 23, .14); --glass: rgba(250, 247, 241, .72); --ok: #3C5232; --ok-bg: #E3EADA; --wait: #6A5128; --wait-bg: #F1E6D3;
  position: absolute; left: 0; right: 0; bottom: 0; top: 48px; display: flex; flex-direction: column; background: var(--paper); color: var(--ink);
  border-radius: 28px 28px 0 0; box-shadow: 0 -22px 60px rgba(31, 26, 23, .2); transform: translateY(100%); transition: transform 260ms var(--ease-nav); z-index: 21; overflow: hidden; text-align: left;
}
.sheet.is-open { transform: translateY(var(--shift, 0px)); transition-duration: 440ms; }
.sheet-grab { position: absolute; top: 8px; left: 50%; width: 40px; height: 5px; margin-left: -20px; border-radius: 3px; background: rgba(31, 26, 23, .2); z-index: 2; }
.sheet-head { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 68px; padding: 14px 20px 0; flex: none; background: var(--glass); -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%); }
.sheet-back { grid-column: 1; justify-self: start; display: grid; place-items: center; width: 44px; height: 44px; margin-left: -12px; border-radius: 50%; transition: background-color .2s ease, transform 110ms var(--ease-out); }
.sheet-mark { grid-column: 1; justify-self: start; display: block; width: 44px; height: auto; }
.sheet-bartitle { grid-column: 2; font: 500 1.06rem/1 var(--sans); letter-spacing: .005em; white-space: nowrap; }
.sheet-close { grid-column: 3; justify-self: end; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-right: -8px; padding: 0 8px 0 12px; border-radius: 22px; font: 500 1.02rem/1 var(--sans); transition: background-color .2s ease, transform 110ms var(--ease-out); }
.sheet-x { display: inline-grid; place-items: center; }
.sheet-back:active, .sheet-close:active { transform: scale(.95); }
@media (hover: hover) and (pointer: fine) { .sheet-back:hover, .sheet-close:hover { background: rgba(31, 26, 23, .06); } }
.sheet-progress { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 20px; flex: none; background: var(--glass); -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%); border-bottom: 1px solid rgba(255, 255, 255, .7); box-shadow: 0 10px 22px -16px rgba(31, 26, 23, .32); }
.sheet-progress i { display: block; height: 3px; border-radius: 2px; background: rgba(31, 26, 23, .2); transition: background-color .3s ease; }
.sheet-progress i.is-on { background: var(--ink); }
.sheet[data-step="sent"] .sheet-head { border-bottom: 1px solid var(--hair); }
.sheet-body { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; padding: 24px 20px 28px; scrollbar-width: none; overscroll-behavior: contain; }
.sheet-body::-webkit-scrollbar { display: none; }
.sheet-body { -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 26px), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - 26px), transparent); }
.sheet-bar { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 18px 22px 20px; background: var(--glass); -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%); border-top: 1px solid var(--hair); }
.s-bar-sum { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.s-bar-sum b { font: 500 1rem/1.25 var(--sans); white-space: nowrap; }
.s-bar-sum span { font-size: .94rem; color: var(--muted); white-space: nowrap; }
.sx { display: block; }
.s-title { font: 300 2.125rem / 1.06 var(--serif); letter-spacing: -.015em; outline: none; }
.s-sub { margin: 12px 0 18px; color: var(--muted); font-size: 1.06rem; line-height: 1.45; }
.s-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }
.s-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 28px; align-items: center; column-gap: 14px; width: 100%; padding: 14px 2px; border-bottom: 1px solid var(--hair); transition: transform 110ms var(--ease-out), background-color .2s ease; }
.s-list li:last-child .s-row { border-bottom: 0; }
.s-row:active { transform: scale(.985); }
@media (hover: hover) and (pointer: fine) { .s-row:hover { background: rgba(31, 26, 23, .03); } }
.s-row-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.s-row-name { font: 500 1.19rem / 1.22 var(--serif); letter-spacing: -.003em; overflow-wrap: break-word; }
.s-row-meta { font-size: .96rem; color: var(--muted); }
.s-row-price { align-self: start; padding-top: 3px; font: 500 1rem/1.25 var(--sans); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.s-radio { display: grid; place-items: center; width: 26px; height: 26px; border: 1.5px solid var(--edge); border-radius: 50%; transition: border-color .18s ease; }
.s-radio::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); transform: scale(0); transition: transform .2s var(--ease-out); }
.s-row.is-picked .s-radio { border-color: var(--ink); }
.s-row.is-picked .s-radio::after { transform: scale(1); }

.s-chip { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 0 0; padding: 14px 0; border-block: 1px solid var(--hair); }
.s-chip-t { display: flex; flex-direction: column; min-width: 0; }
.s-chip-t b { font: 500 1.19rem / 1.25 var(--sans); }
.s-chip-t small { font-size: 1rem; color: var(--muted); }
.s-link { font: 500 1rem/1 var(--sans); text-decoration: underline; text-decoration-color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: .42em; min-height: 44px; padding: 0 2px; white-space: nowrap; transition: opacity .2s ease; }
.s-link:hover { opacity: .7; }
.s-link-block { display: block; margin: 6px auto 0; text-align: center; }
.s-label { margin: 28px 0 12px; font: 500 1.06rem/1.2 var(--sans); }
.s-nf-row { display: flex; flex-wrap: wrap; gap: 10px; }
.s-nf-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 46px; padding: 0 20px; border: 1px solid var(--edge); border-radius: 999px; background: transparent; font: 400 1.04rem/1 var(--sans); font-variant-numeric: tabular-nums; white-space: nowrap; transition: transform 110ms var(--ease-out), background-color .2s ease, color .2s ease; }
.s-nf-chip b { font-weight: 500; }
.s-nf-chip:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .s-nf-chip:hover { background: var(--ink); color: var(--c1); } .s-nf-chip:hover b { color: var(--c0); } }
.s-days { display: flex; gap: 8px; overflow-x: auto; margin: 0 -20px; padding: 4px 20px 10px; scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding-inline: 20px; }
.s-days::-webkit-scrollbar { display: none; }
.s-day { flex: none; width: 58px; min-height: 78px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 1px solid var(--edge); border-radius: 18px; background: rgba(255, 253, 249, .55); scroll-snap-align: start; text-align: center; transition: transform 110ms var(--ease-out), background-color .2s ease, color .2s ease, border-color .2s ease; }
.s-day:active:not(:disabled) { transform: scale(.96); }
.s-day-w { font: 500 .8rem/1 var(--sans); color: var(--ink-soft); }
.s-day-n { font: 500 1.5rem/1 var(--serif); font-variant-numeric: lining-nums; }
.s-day-s { font-size: .8rem; color: var(--ink-soft); }
.s-day.is-on { background: var(--ink); border-color: var(--ink); color: var(--c0); }
.s-day.is-on .s-day-w, .s-day.is-on .s-day-s { color: var(--c2); }
.s-day.is-full { border-color: var(--hair); background: transparent; color: #8e857b; cursor: default; }
.s-day.is-full .s-day-w, .s-day.is-full .s-day-s { color: #8e857b; }
.s-group .s-label { margin-top: 24px; }
.s-times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.s-time { min-height: 46px; border: 1px solid var(--edge); border-radius: 999px; background: transparent; font: 400 1.04rem/1 var(--sans); font-variant-numeric: tabular-nums; text-align: center; transition: transform 110ms var(--ease-out), background-color .2s ease, color .2s ease, border-color .2s ease; }
.s-time:active { transform: scale(.96); }
.s-time.is-on { background: var(--ink); border-color: var(--ink); color: var(--c0); }
@media (hover: hover) and (pointer: fine) { .s-time:hover:not(.is-on) { background: rgba(31, 26, 23, .05); } }
.s-skel-row, .s-skel-grid { display: flex; gap: 10px; margin: 18px 0; }
.s-skel-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.s-skel-row i, .s-skel-grid i { display: block; flex: 1; height: 52px; border-radius: 999px; background: linear-gradient(90deg, #efe8dd 0%, #f7f2ea 50%, #efe8dd 100%); background-size: 220% 100%; animation: shimmer 1.5s linear infinite; }
.s-skel-grid i { height: 46px; }
.s-note { margin: 16px 0; padding: 14px 16px; border-radius: 16px; background: #f3ece1; font-size: .98rem; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.s-note.is-bad { background: #f5e2de; color: #6f2a22; }
.s-card { margin: 22px 0 20px; padding: 24px 22px 22px; border-radius: 28px; background: var(--card); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), 0 0 0 1px rgba(31, 26, 23, .05), 0 22px 44px -28px rgba(31, 26, 23, .42); }
.s-card-name { font: 500 1.65rem / 1.1 var(--serif); letter-spacing: -.01em; text-wrap: balance; }
.s-card-when { margin-top: 14px; font: 500 1.1rem/1.3 var(--sans); }
.s-card-meta { margin-top: 4px; font-size: 1.02rem; color: var(--muted); }
.s-checks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 12px; }
.s-checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 14px; align-items: start; color: var(--ink-soft); font-size: 1.04rem; line-height: 1.4; }
.s-ck { display: grid; place-items: center; width: 22px; height: 24px; color: var(--ink); }
.s-ck svg { width: 20px; height: 20px; }
.s-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 calc(30px - .14em) 0 30px; border-radius: 999px; background: var(--ink); color: var(--c0); font: 500 .84rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; transition: transform 110ms var(--ease-out), background-color .22s ease, opacity .2s ease; }
.s-btn:active:not(:disabled) { transform: scale(.97); }
.s-btn:disabled { opacity: .72; cursor: default; }
.s-btn-block { display: flex; width: 100%; }
.s-badge { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 22px; border: 1.5px solid var(--ink); border-radius: 50%; color: var(--ink); }
.s-badge svg { width: 24px; height: 24px; }
.s-badge.is-ok path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw .5s .1s var(--ease-out) forwards; }
.s-sent { position: relative; margin: 22px 0 20px; padding: 22px 22px 22px; border-radius: 28px; background: var(--card); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), 0 0 0 1px rgba(31, 26, 23, .05), 0 22px 44px -28px rgba(31, 26, 23, .42); }
.s-sent-when { font: 500 1.1rem/1.3 var(--sans); }
.s-sent-name { margin-top: 8px; font: 500 1.65rem / 1.1 var(--serif); letter-spacing: -.01em; text-wrap: balance; }
.s-sent-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 14px; margin-top: 14px; font-size: 1.02rem; color: var(--muted); }
.s-ref { font-size: .98rem; color: var(--muted); }
.s-ref b { color: var(--ink); font-weight: 500; letter-spacing: .06em; }
.s-sent .s-status { margin-top: 16px; }
.s-sent-note { margin-top: 14px; font-size: .96rem; color: var(--muted); }
.s-status { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 14px 0 12px; border-radius: 999px; font-size: .94rem; font-weight: 500; white-space: nowrap; transition: background-color .35s ease, color .35s ease; }
.s-status i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.s-status.is-wait { background: var(--wait-bg, #F1E6D3); color: var(--wait, #6A5128); }
.s-status.is-wait i { animation: breathe 1.8s ease-in-out infinite; }
.s-status.is-ok { background: var(--ok-bg, #E3EADA); color: var(--ok, #3C5232); }
.s-status.is-bad { background: #f1dcd8; color: #7b2f27; }
.s-actions { display: flex; flex-direction: column; gap: 14px; margin-top: 6px; }
.s-sign-out { display: block; width: 128px; aspect-ratio: 580 / 130; margin: 2px 0 -6px auto; background: var(--ink); opacity: .88; -webkit-mask: url(assets/anna-signature.svg) center / contain no-repeat; mask: url(assets/anna-signature.svg) center / contain no-repeat; animation: sign 1.1s .2s var(--ease-out) both; }

/* ── RIGHT PHONE: the owner app ────────────────────────────────────────── */
.phone-salon {
  --fg: #fff; --fg2: rgba(255, 255, 255, .78); --fg3: rgba(255, 255, 255, .6);
  --glass: rgba(255, 255, 255, .13); --card: rgba(255, 255, 255, .12); --card2: rgba(255, 255, 255, .08);
  --rim: inset 0 1px 0 rgba(255, 255, 255, .16);
  --pill: #fff; --on-pill: #17101a; --ok: #9be7c4; --ok-bg: rgba(95, 208, 163, .16); --bad: #ffabb4; --warn: #ffd479;
}
.salon { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; padding: calc(var(--sbh) + 14px) 16px 28px; color: var(--fg); font-family: var(--geist); font-size: 15px; line-height: 1.45; scrollbar-width: none;
  background-color: #170d19;
  background-image: radial-gradient(70% 32% at 90% 3%, rgba(214, 87, 120, .32), transparent 72%), linear-gradient(180deg, #6f2b66 0%, #53204f 15%, #371638 34%, #240f27 52%, #190b1b 72%, #130813 100%); }
@supports (color: oklch(.5 .1 10)) {
  .salon { background-image: radial-gradient(70% 32% at 90% 3%, oklch(.64 .15 8 / .34), transparent 72%), linear-gradient(180deg, oklch(.47 .135 340) 0%, oklch(.38 .115 340) 15%, oklch(.29 .09 338) 34%, oklch(.22 .06 336) 52%, oklch(.185 .04 334) 72%, oklch(.155 .03 332) 100%); }
}
.salon::-webkit-scrollbar { display: none; }
.o-top { display: flex; align-items: center; gap: 10px; }
.o-demo { font: 700 13px/1 var(--geist); letter-spacing: .06em; color: var(--warn); background: rgba(255, 196, 84, .18); padding: 6px 10px; border-radius: 8px; }
.o-av { width: 44px; height: 44px; border-radius: 22px; background: #f3e6e4 url(assets/logo-raa-mark.webp) 50% 54% / 70% auto no-repeat; box-shadow: 0 0 0 1px rgba(255, 255, 255, .35) inset; }
.o-head { margin-top: 22px; }
.o-date { font-size: 13px; font-weight: 500; color: var(--fg2); }
.o-hello { margin-top: 2px; font: 700 34px/41px var(--geist); letter-spacing: -.6px; }
.o-sub { margin-top: 6px; font-size: 17px; line-height: 24px; color: var(--fg2); }
.o-body { margin-top: 22px; }
.o-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 30px 24px 32px; border-radius: 28px; background: var(--card2); box-shadow: var(--rim); text-align: center; }
.o-empty-i { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 28px; background: var(--glass); color: var(--fg); margin-bottom: 6px; }
.o-empty-t { font: 700 20px/25px var(--geist); letter-spacing: -.2px; }
.o-empty-d { font-size: 15px; line-height: 21px; color: var(--fg2); max-width: 26ch; }
.o-card { display: flex; flex-direction: column; gap: 16px; padding: 18px; border-radius: 28px; background: var(--card); box-shadow: var(--rim); }
.o-who { display: flex; align-items: center; gap: 12px; }
.o-ini { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 22px; background: #b8625a; font: 700 16px/1 var(--geist); letter-spacing: .02em; }
.o-nm { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.o-name { font: 600 17px/22px var(--geist); letter-spacing: -.1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.o-ref { font-size: 14px; line-height: 19px; color: var(--fg2); }
.o-src { flex: none; font-size: 12px; line-height: 14px; font-weight: 600; color: var(--fg2); background: var(--card); border-radius: 7px; padding: 4px 8px; }
.o-tr { display: flex; align-items: flex-start; gap: 12px; }
.o-dot { flex: none; width: 12px; height: 12px; margin-top: 7px; border-radius: 6px; background: #6ec1ff; }
.o-tr > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.o-tn { font: 600 17px/22px var(--geist); letter-spacing: -.1px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.o-tm { font-size: 15px; line-height: 20px; color: var(--fg2); }
.o-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 56px; border-radius: 28px; background: var(--pill); color: var(--on-pill); font: 600 17px/1 var(--geist); letter-spacing: -.1px; transition: transform 140ms var(--ease-out), opacity .2s ease; }
.o-btn:active:not(:disabled) { transform: scale(.97); }
.o-btn:disabled { cursor: default; }
.o-btn.is-busy { opacity: .88; }
.o-btn-soft { margin-top: 16px; background: var(--card); color: var(--fg); }
.o-spin { display: block; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(23, 16, 26, .18); border-top-color: #17101a; animation: spin .7s linear infinite; }
.o-note { font-size: 14px; line-height: 19px; color: var(--fg2); }
.o-note.is-bad { color: var(--bad); }
.o-retry { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.o-skel { display: block; background: rgba(255, 255, 255, .14); border-radius: 8px; animation: breathe 1.6s ease-in-out infinite; }
.o-card-skel .o-ini { background: rgba(255, 255, 255, .14); }
.o-skel-l { width: 58%; height: 16px; } .o-skel-s { width: 38%; height: 12px; margin-top: 8px; }
.o-ok { padding: 30px 22px 22px; border-radius: 28px; background: var(--card); box-shadow: var(--rim); text-align: center; }
.o-check { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 16px; border-radius: 34px; background: rgba(70, 214, 158, .3); color: var(--ok); box-shadow: inset 0 0 0 1px rgba(155, 231, 196, .5); }
.o-check path { stroke-dasharray: 26; stroke-dashoffset: 26; animation: draw .5s .15s var(--ease-out) forwards; }
.o-okt { font: 700 28px/34px var(--geist); letter-spacing: -.4px; }
.o-okd { margin-top: 6px; font-size: 17px; line-height: 24px; color: var(--fg2); }
.o-stack { display: flex; flex-direction: column; gap: 16px; }
.o-calc { padding: 14px 14px 16px; border-radius: 24px; background: var(--card2); box-shadow: var(--rim); text-align: left; }
.o-ok .o-calc { margin-top: 22px; background: rgba(255, 255, 255, .07); box-shadow: none; }
.o-cal-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; font-size: 15px; }
.o-cal-h b { font-weight: 600; }
.o-cal-s { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--warn); transition: color .4s ease; }
.o-cal-s.is-solid { color: var(--ok); }
.o-tl { position: relative; margin-left: 28px; }
.o-line { position: absolute; left: 0; right: 0; height: 1px; background: var(--hair, rgba(255, 255, 255, .1)); }
.o-hr { position: absolute; left: -28px; width: 22px; text-align: right; font-size: 11px; line-height: 12px; color: var(--fg3); transform: translateY(-6px); font-variant-numeric: tabular-nums; }
.o-blk { position: absolute; left: 8px; right: 0; display: flex; align-items: flex-start; gap: 8px; padding: 3px 10px; border-radius: 10px; font-size: 13px; line-height: 16px; background: rgba(110, 193, 255, .1); overflow: hidden; transition: background-color .5s ease; }
.o-blk::after { content: ""; position: absolute; inset: 0; border-radius: 10px; border: 1.5px dashed rgba(110, 193, 255, .9); pointer-events: none; transition: opacity .4s ease; }
.o-blk b { font-weight: 600; flex: none; }
.o-blk span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--fg2); }
.o-blk.is-solid { background: rgba(110, 193, 255, .3); }
.o-blk.is-solid::after { opacity: 0; }

/* ── story, call to action ─────────────────────────────────────────────── */
.story { max-width: 1240px; margin: 0 auto; padding: 22px var(--gut) 6px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.step { display: grid; grid-template-columns: 30px 1fr; column-gap: 12px; row-gap: 4px; opacity: .52; transition: opacity .35s ease; }
.step-n { grid-row: span 2; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--ink); border-radius: 50%; font: 500 .76rem/1 var(--sans); transition: background-color .3s ease, color .3s ease; }
.step h3 { font: 300 1.3rem / 1.15 var(--serif); letter-spacing: -.01em; }
.step p { color: var(--ink-soft); font-size: .95rem; line-height: 1.45; }
.step.is-active, .step.is-done { opacity: 1; }
.step.is-active .step-n { background: var(--ink); color: var(--c0); }
.step.is-done .step-n { background: var(--c4); border-color: var(--c4); color: var(--c0); font-size: 0; }
.step.is-done .step-n::after { content: ""; width: 10px; height: 6px; margin-top: -2px; border-left: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(-45deg); }
.cta { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 30px var(--gut) 56px; text-align: center; }
.cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 calc(34px - .14em) 0 34px; border-radius: 999px; font: 500 .84rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform 110ms var(--ease-out), background-color .22s ease, color .22s ease; }
.pill:active { transform: scale(.97); }
.pill-ink { background: var(--ink); color: var(--c0); }
.pill-line { border: 1.5px solid var(--ink); color: var(--ink); background: transparent; }
@media (hover: hover) and (pointer: fine) { .pill-ink:hover { background: #3A312B; } .pill-line:hover { background: var(--ink); color: var(--c0); } }
body.is-done .pill-ink { animation: ring 1.4s .5s var(--ease-out) 1; }
.honest { font-size: .86rem; color: var(--muted); }
.privacy { max-width: 52ch; margin-top: -8px; font-size: .78rem; line-height: 1.45; color: var(--muted); text-wrap: balance; }
.text-link { min-height: 44px; padding: 0 4px; font: 500 .82rem/1 var(--sans); letter-spacing: .06em; text-decoration: underline; text-decoration-color: var(--c3); text-decoration-thickness: 1.5px; text-underline-offset: .5em; color: var(--ink-soft); transition: text-decoration-color .22s ease; }
.text-link:hover { text-decoration-color: var(--ink); }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 100; max-width: min(92vw, 440px); padding: 12px 18px; border-radius: 14px; background: var(--ink); color: var(--c0); font-size: .92rem; text-align: center; opacity: 0; transform: translate(-50%, 12px); transition: opacity .24s ease, transform .24s var(--ease-out); box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .5); }
.toast.is-in { opacity: 1; transform: translate(-50%, 0); }
.noscript { padding: 24px; text-align: center; }

/* ── phones and narrow windows: one phone at a time ────────────────────── */
@media (max-width: 900px) {
  :root { --sbh: 0px; }
  .top { grid-template-columns: minmax(0, 1fr) auto; padding-top: 18px; padding-bottom: 6px; gap: 8px 12px; }
  .eyebrow { font-size: .64rem; letter-spacing: .18em; }
  .title { font-size: clamp(1.7rem, 1.1rem + 3.4vw, 2.2rem); }
  .lead > span { display: none; }
  body.coach-on .lead { display: none; }
  .lead { font-size: .96rem; }
  .tabs { display: grid; grid-template-columns: 1fr 1fr; position: sticky; top: 0; z-index: 40; width: min(520px, calc(100% - 2 * var(--gut))); margin: 8px auto 0; padding: 4px; border-radius: 999px; background: rgba(249, 246, 241, .82); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border: 1px solid var(--line); box-shadow: 0 10px 24px -16px rgba(31, 26, 23, .35); }
  .tabs-thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--ink); transition: transform 320ms var(--ease-nav); }
  .tabs[data-view="salon"] .tabs-thumb { transform: translateX(100%); }
  .tab { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 999px; font: 500 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); transition: color .25s ease; }
  .tab[aria-pressed="true"] { color: var(--c0); }
  .tab-dot { display: none; width: 8px; height: 8px; border-radius: 50%; background: #d9534f; box-shadow: 0 0 0 2px var(--c1); }
  .tab.has-dot .tab-dot { display: block; }
  .stage { display: flex; flex-direction: column; align-items: center; padding: 12px var(--gut) 8px; }
  .stage > .unit, .stage > .mid { width: 100%; max-width: 520px; }
  .stage[data-view="client"] .unit-salon, .stage[data-view="salon"] .unit-client { display: none; }
  .mid { order: -1; padding-top: 0; gap: 0; min-height: 0; align-items: stretch; }
  .mid .bridge, .mid .mid-link { display: none; }
  .coach { max-width: none; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px; margin-bottom: 12px; padding: 12px 16px; text-align: left; border-radius: 20px; }
  .coach-k { flex: none; text-indent: 0; }
  .coach-t { flex: 1 1 150px; font: 400 .98rem/1.3 var(--sans); }
  .coach-b { flex: none; margin: 0; }
  .unit-head { width: auto; height: auto; justify-content: flex-end; margin-bottom: 0; }
  .unit-head > :not(.unit-link) { display: none; }
  .unit-head:not(:has(.unit-link:not([hidden]))) { display: none; }
  .unit { gap: 6px; align-items: stretch; }
  .phone-slot { width: 100%; height: clamp(540px, calc(100dvh - 236px), 780px); }
  .phone { left: 0; top: 0; width: 100%; height: 100%; transform: none; border-radius: 30px; background: transparent; box-shadow: 0 22px 50px -24px rgba(31, 26, 23, .5), 0 0 0 1px rgba(31, 26, 23, .1); }
  .island, .sb { display: none; }
  .client { padding-top: 38px; padding-bottom: 108px; }
  .s-badge { width: 46px; height: 46px; margin-bottom: 16px; }
  .s-sent { margin: 16px 0 16px; padding: 20px; }
  .c-head { font-size: 2.35rem; }
  .salon { padding-top: 22px; }
  .steps { grid-template-columns: 1fr; gap: 18px; }
  .story { padding-top: 18px; }
  .pill { min-height: 52px; padding: 0 calc(26px - .14em) 0 26px; }
}
@media (max-width: 380px) {
  .c-head { font-size: 2.1rem; }
  .c-words { width: 224px; }
  .s-title { font-size: 1.9rem; }
  .o-hello { font-size: 30px; line-height: 36px; }
}
@media (max-height: 700px) and (max-width: 900px) {
  .c-mark { width: 104px; }
  .c-sign { margin-top: 16px; }
  .c-head { margin-top: 14px; font-size: 2.05rem; }
  .c-city { margin-bottom: 16px; }
}

/* ── stage mode (?stage=1): only the two phones, for filming ───────────── */
body.is-stage { background: #EFE6D8; }
body.is-stage .top, body.is-stage .tabs, body.is-stage .story, body.is-stage .cta, body.is-stage .unit-head, body.is-stage .coach, body.is-stage .mid-link { display: none !important; }
body.is-stage .stage { padding: 20px 24px; min-height: 100vh; align-content: center; align-items: center; }
body.is-stage .mid { padding-top: 0; }

/* ── motion ────────────────────────────────────────────────────────────── */
@keyframes shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
@keyframes breathe { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes sign { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes lift { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes ring { from { box-shadow: 0 0 0 0 rgba(31, 26, 23, .3); } to { box-shadow: 0 0 0 16px rgba(31, 26, 23, 0); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .s-skel-row i, .s-skel-grid i { animation: none; }
  .sheet { transition: opacity .2s ease; transform: none; opacity: 0; }
  .sheet.is-open { opacity: 1; transform: translateY(var(--shift, 0px)); }
}
@media (prefers-reduced-transparency: reduce) {
  .c-bar, .tabs { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--c0); }
  .sheet { --glass: var(--paper); }
  .sheet-head, .sheet-progress, .sheet-bar { -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  .s-day, .s-time, .s-row, .s-chip, .s-card { border-color: var(--ink); }
  .step { opacity: 1; }
}
