/* /painting/book — the winter landing page (2026-10-30, round 5 2026-11-02).
   Designed at 390px for a ~50-year-old owner on his phone at 7 pm. One column, 16px gutters.
   One electric blue, sampled from the founder's reference button (#1863F0 → #1440EF), and it is
   the only colour that means "tap here / this matters". Headings in Poppins like his reference,
   body in Inter for easy reading. White, high contrast: readable in a truck in daylight. Desktop
   just centres the same 440px column. */

/* Poppins, self-hosted (OFL, latin only, ~8 KB each): the heavy rounded headings of his reference. */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("/painting/assets/fonts/poppins-latin-700.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 800; font-display: swap; src: url("/painting/assets/fonts/poppins-latin-800.woff2") format("woff2"); }

:root {
  --bg: #FFFFFF;
  --card: #FFFFFF;
  --line: #E4E8F2;
  --ink: #0E1015;
  --mid: #3A3F4B;
  --low: #6B7183;
  --accent: #1A47EF;
  --accent-hover: #1238C9;
  --accent-grad: linear-gradient(90deg, #1863F0 0%, #1440EF 100%);
  --accent-soft: #E8EEFE;
  --accent-tint: #F3F6FF;
  --navy: #0B1240;
  --green: #0E8F63;
  --red: #D92D20;
  --red-soft: #FDECEC;
  --shadow: 0 1px 2px rgba(14, 16, 21, 0.04), 0 10px 28px -14px rgba(26, 53, 140, 0.22);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Poppins", "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --col: 440px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 18px/1.45 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.has-sticky { padding-bottom: 84px; }
img, svg, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }

/* ---- layout ---- */
main > section, .bar { width: 100%; max-width: var(--col); margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.sec { padding-top: 56px; padding-bottom: 56px; }
.sec__h {
  font-family: var(--display);
  font-size: 26px; line-height: 1.2; font-weight: 800; letter-spacing: -0.02em;
  text-wrap: balance;
}
.sec__h--c { text-align: center; }

/* Sections rise in as they come on screen (book.js adds .rv, then .is-in). Without JS, or with
   reduced motion, nothing is hidden. */
.rv { opacity: 0; transform: translateY(12px); transition: opacity 600ms ease, transform 700ms var(--ease); }
.rv.is-in { opacity: 1; transform: none; }

/* ---- the one button: his reference's gradient, an arrow that says "go" ---- */
.btn {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 58px; padding: 0 20px;
  border: 0; border-radius: 14px;
  background: var(--accent-grad); color: #fff;
  font: 700 clamp(14.5px, 4.6vw, 17.5px)/1.2 var(--display); letter-spacing: -0.005em; text-decoration: none; white-space: nowrap;
  box-shadow: 0 14px 28px -14px rgba(20, 64, 239, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: filter 160ms, transform 160ms var(--ease), box-shadow 160ms;
  cursor: pointer;
}
.btn[data-book]::after {
  content: ""; flex: none; width: 18px; height: 18px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 200ms var(--ease);
}
.btn:hover { filter: brightness(1.06); }
.btn:hover::after, .btn:active::after { transform: translateX(3px); }
.btn:active { transform: scale(0.985); }
.btn:disabled { filter: saturate(0.6); cursor: default; }
.btn:focus-visible, .qf__link:focus-visible, .qf__time:focus-visible, .vsl__sound:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 3px;
}

/* ---- 1. logo bar ---- */
.bar { display: flex; align-items: center; justify-content: center; height: 72px; }
/* the website's own logo (public/painting/styles.css .logo / .logo-text): the bare W1 mark and
   "WEEK ONE AI" in Space Grotesk 600, 0.09em tracking, no divider. Site sizes are 26px mark / 15.2px
   text; the header here is that logo at x1.25 so it still reads centred in the hero. */
.bar__logo { display: inline-flex; align-items: center; gap: 0.6em; font: 600 15.2px/1 "Space Grotesk", var(--font); letter-spacing: 0.09em; }
.bar__logo b { color: #3B66E0; /* the site logo's own "AI" blue (--accent-cobalt), not the button blue */ font-weight: 600; }
.bar__logo img { width: 1.7em; height: 1.7em; object-fit: contain; }
.bar .bar__logo { font-size: 19px; }

/* ---- 2. hero: centred, like his reference ---- */
/* a faint blue glow behind the top of the hero */
.hero::before {
  content: ""; position: absolute; inset: -52px 0 auto 0; /* never wider than the hero: a wider glow widens the whole page on a phone */ height: 520px; z-index: -1; pointer-events: none;
  background: radial-gradient(70% 60% at 50% 0%, rgba(26, 71, 239, 0.10) 0%, rgba(26, 71, 239, 0) 70%);
}
.hero { position: relative; padding-top: 30px; padding-bottom: 44px; text-align: center; }
/* who it's for: the first thing he reads, in the brand blue */
.hero__eye { display: inline-block; padding: 9px 16px; border-radius: 999px; background: #EEF2FF; font: 700 15.5px/1.3 var(--display); color: var(--accent); }
.hero__h {
  margin-top: 24px;
  font: 800 34px/1.14 var(--display); letter-spacing: -0.025em;
  /* round 13: the longest unbreakable phrase ("Your Winter Calendar") is ~10.8 font-sizes wide, so the
     size follows the column (20px gutters) and that phrase always fits: 34px from 430 up, ~32 at 390 */
  font-size: min(34px, calc((100vw - 40px) / 10.9));
  text-wrap: balance;
}
.hero__sub { margin: 20px auto 0; max-width: 34ch; font-size: 17px; line-height: 1.5; color: var(--ink); text-wrap: pretty; }
/* a phrase that never splits: the H1 breaks between its ideas, and never before the dash */
.nb { white-space: nowrap; }
/* the hero button under the film (book-desktop.css restyles it for laptops) */
.hero .btn { margin-top: 44px; width: calc(100% + 8px); margin-left: -4px; }
/* desktop-only pieces (the pay section's lock-screen phone); book-desktop.css shows them at 1024px+ */
.d-only { display: none; }

.vsl {
  position: relative; margin-top: 32px;
  aspect-ratio: 19 / 10; border-radius: 14px; overflow: hidden;
  background: #101216;
  box-shadow: 0 28px 56px -30px rgba(11, 18, 64, 0.6), 0 0 0 1px rgba(11, 18, 64, 0.06);
}
.vsl__video, .vsl__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vsl__video { opacity: 0; transition: opacity 240ms; }
.vsl.is-live .vsl__video { opacity: 1; }
.vsl.is-live .vsl__poster { opacity: 0; transition: opacity 240ms; }
.vsl__badge {
  position: absolute; top: 12px; left: 12px; padding: 6px 10px;
  border-radius: 999px; background: rgba(0, 0, 0, 0.55); color: #fff;
  font: 700 13px/1 var(--font); letter-spacing: 0.02em;
}
/* the round play button in the middle, like his reference */
.vsl__play {
  position: absolute; inset: 0; margin: auto; z-index: 2;
  display: grid; place-items: center; width: 64px; height: 64px; padding: 0;
  border: 0; border-radius: 50%; background: rgba(20, 22, 30, 0.55); color: #fff;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.5); cursor: pointer;
}
.vsl__play svg { width: 30px; height: 30px; margin-left: 4px; }
.vsl.is-playing .vsl__play { display: none; }
/* "Click for Sound": small, bottom-right, like his reference */
.vsl__sound {
  position: absolute; right: 10px; bottom: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 32px; padding: 0 12px; border: 0; border-radius: 999px;
  background: rgba(14, 16, 21, 0.72); color: #fff; font: 600 12.5px/1 var(--font);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); cursor: pointer;
}
.vsl__sound svg { width: 15px; height: 15px; }
.vsl:not(.has-film) .vsl__play, .vsl:not(.has-film) .vsl__sound { pointer-events: none; }
.vsl__replay {
  position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; z-index: 3;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: var(--ink); cursor: pointer;
}
.vsl__replay svg { width: 34px; height: 34px; margin: auto; }
.vsl__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, 0.25); }
.vsl__bar span { display: block; height: 100%; width: 0; background: #fff; }
.vsl:not(.has-film) .vsl__badge, .vsl:not(.has-film) .vsl__bar { display: none; }

/* ---- 4. how you pay: his card reference, green → our blue ---- */
.pay__h { font-size: 28px; line-height: 1.18; }
/* a highlighter stroke behind the two words that matter */
.hl { padding: 0 0.12em; border-radius: 0.28em; background: var(--accent-soft); color: var(--ink); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.pay__list { margin-top: 24px; display: grid; gap: 14px; }
.pay__list li {
  display: grid; grid-template-columns: 40px 1px minmax(0, 1fr); align-items: start; gap: 14px;
  padding: 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.pay__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; font-size: 18px; font-weight: 800; line-height: 1; }
.pay__no .pay__ico { background: var(--red-soft); color: var(--red); }
.pay__rule { align-self: stretch; width: 1px; background: var(--line); }
.pay__yes { border: 1.5px solid var(--accent); background: var(--accent-tint); box-shadow: 0 16px 34px -18px rgba(26, 71, 239, 0.45); }
.pay__yes .pay__ico { background: var(--accent-grad); color: #fff; }
.pay__yes .pay__rule { background: rgba(26, 71, 239, 0.25); }
.pay__list b { display: block; font: 700 15.5px/1.25 var(--display); letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink); }
.pay__list p { margin-top: 4px; font-size: 16px; line-height: 1.45; color: var(--mid); }
.pay__pill { display: block; margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: #DCE5FD; font: 700 16px/1.3 var(--display); color: var(--ink); }

/* ---- 5. FAQ: each question its own card, "+" in a blue circle turns into "×" ---- */
.faq { background: linear-gradient(180deg, #FFFFFF 0%, var(--accent-tint) 100%); max-width: none; }
.faq > * { max-width: calc(var(--col) - 40px); margin-left: auto; margin-right: auto; }
.faq__list { margin-top: 24px; display: grid; gap: 12px; }
.faq__item { border-radius: 14px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.faq__item summary {
  position: relative; display: block; padding: 17px 56px 17px 16px; cursor: pointer; list-style: none;
  font: 700 16px/1.35 var(--display); color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 14px; top: 50%; width: 30px; height: 30px; margin-top: -15px;
  display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent);
  font: 500 22px/1 var(--font); transition: transform 220ms var(--ease), background-color 200ms, color 200ms;
}
.faq__item[open] summary::after { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq__item summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 14px; }
.faq__item p { padding: 0 16px 18px; font-size: 16.5px; line-height: 1.55; color: var(--mid); }

/* ---- 3. the phone: a real iPhone ringing ----
   iPhone 15 proportions, titanium bezel, side buttons, Dynamic Island, a wallpaper, his live
   status bar. Three views (incoming, in call, lock screen) cross-fade inside one screen. Sizes
   are px off a 300px-wide device; the 360px media query shrinks it. */
/* the section sits on a soft blue band that ends in a gentle wave */
.ring { position: relative; max-width: none; padding-top: 44px; padding-bottom: 64px; text-align: center; background: linear-gradient(180deg, #FFFFFF 0%, var(--accent-tint) 22%, #EDF2FF 100%); }
.ring > *:not(.ring__wave) { max-width: calc(var(--col) - 40px); margin-left: auto; margin-right: auto; }
.ring .sec__h { font-size: 22px; line-height: 1.2; font-weight: 700; letter-spacing: -0.015em; }
.ring__sub { margin-top: 10px; font: 700 18px/1.3 var(--display); color: var(--accent); }
/* "next", underlined by hand */
.ring__next { position: relative; display: inline-block; }
.ring__next svg { position: absolute; left: -4%; right: -4%; bottom: -9px; width: 108%; height: 10px; overflow: visible; }
.ring__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 44px; color: #FFFFFF; }
.iph-wrap { margin-top: 22px; text-align: center; }
.iph {
  /* drawn at ~300px and zoomed to ~214px, and shorter than a real iPhone (9 / 17, about the 1.87 : 1 of the
     founder's reference): every inner size stays in proportion and the whole section fits one screen */
  zoom: 0.71;
  position: relative; width: min(300px, 80vw); aspect-ratio: 9 / 17; margin: 0 auto;
  border-radius: 50px; padding: 11px;
  background: linear-gradient(145deg, #4a4d53 0%, #1f2124 35%, #2e3034 70%, #191a1d 100%);
  box-shadow: inset 0 0 0 1.5px #6a6d73, inset 0 0 0 4px #0b0b0c, 0 34px 60px -26px rgba(16, 21, 31, 0.6), 0 10px 22px -12px rgba(16, 21, 31, 0.45);
}
/* side buttons: action + volume on the left, power on the right */
.iph::before {
  content: ""; position: absolute; left: -3px; top: 104px; width: 3px; height: 24px; border-radius: 2px 0 0 2px;
  background: #2c2e32; box-shadow: 0 44px 0 0 #2c2e32, 0 92px 0 0 #2c2e32;
}
.iph::after { content: ""; position: absolute; right: -3px; top: 150px; width: 3px; height: 74px; border-radius: 0 2px 2px 0; background: #2c2e32; }
.iph.is-buzzing { animation: iph-buzz 1.6s linear infinite; }
@keyframes iph-buzz {
  0%, 24%, 100% { transform: none; }
  2% { transform: translateX(-2px) rotate(-0.6deg); } 4% { transform: translateX(2px) rotate(0.6deg); }
  6% { transform: translateX(-2px) rotate(-0.6deg); } 8% { transform: translateX(2px) rotate(0.6deg); }
  10% { transform: translateX(-2px) rotate(-0.5deg); } 12% { transform: translateX(2px) rotate(0.5deg); }
  14% { transform: translateX(-1.5px) rotate(-0.4deg); } 16% { transform: translateX(1.5px) rotate(0.4deg); }
  18% { transform: translateX(-1px); } 20% { transform: translateX(1px); } 22% { transform: translateX(-0.5px); }
}

.iph__screen {
  position: absolute; inset: 11px; border-radius: 40px; overflow: hidden; overflow: clip; /* clip, not just hidden: a hidden box can still be scrolled by focus, which shifted the whole screen */ background: #000; color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; text-align: center;
  /* Safari can let a blurred or backdrop-filtered child escape a rounded overflow box: clip the screen hard */
  clip-path: inset(0 round 40px); isolation: isolate;
}
/* the wallpaper: iPhone blue-violet (deep indigo, violet, a soft pink glow low on one side),
   dimmed the way iOS dims it behind a call. Dark enough that white text stays readable. */
.iph__wall {
  position: absolute; inset: -20px;
  background:
    radial-gradient(75% 45% at 15% 0%, #4a5fd6 0%, rgba(74, 95, 214, 0) 70%),
    radial-gradient(65% 45% at 95% 50%, #8a4fd8 0%, rgba(138, 79, 216, 0) 70%),
    radial-gradient(70% 40% at 10% 98%, #d8669f 0%, rgba(216, 102, 159, 0) 70%),
    linear-gradient(180deg, #1c2366 0%, #3a2a8c 50%, #4b2475 80%, #2a1446 100%);
  filter: blur(6px) saturate(1.1);
  transition: filter 500ms, transform 500ms;
}
.iph__wall::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.22); transition: background-color 500ms; }
.iph-wrap[data-path="ai"] .iph__wall { filter: blur(16px) saturate(1.1); transform: scale(1.05); }
.iph-wrap[data-path="ai"] .iph__wall::after { background: rgba(0, 0, 0, 0.5); }

.iph__island { position: absolute; z-index: 6; top: 10px; left: 50%; transform: translateX(-50%); width: 30%; height: 27px; border-radius: 20px; background: #000; }
.iph__cam { position: absolute; right: 9px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #2c3550 0%, #0b0d14 70%); }

.iph__status {
  position: absolute; z-index: 5; top: 0; left: 0; right: 0; height: 47px;
  display: flex; align-items: center; justify-content: space-between; padding: 2px 18px 0 28px;
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums;
}
.iph__right { display: inline-flex; align-items: center; gap: 4px; }
.iph__sig { width: 17px; height: 11px; fill: #fff; }
.iph__5g { font-size: 13px; font-weight: 700; }
.iph__bat {
  position: relative; display: grid; place-items: center; width: 25px; height: 12px; border-radius: 4px;
  background: rgba(255, 255, 255, 0.38);
}
.iph__bat::after { content: ""; position: absolute; right: -3.5px; top: 4px; width: 2px; height: 4px; border-radius: 0 1px 1px 0; background: rgba(255, 255, 255, 0.38); }
.iph__batfill { position: absolute; left: 0; top: 0; bottom: 0; width: 23%; border-radius: 4px 0 0 4px; background: #fff; }
.iph__bat b { position: relative; display: block; font-size: 9px; font-weight: 800; line-height: 12px; color: #000; letter-spacing: 0; }

.iph__view {
  position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column;
  padding: 54px 18px 34px;
  opacity: 0; visibility: hidden; transform: scale(0.98);
  transition: opacity 300ms ease, transform 400ms var(--ease), visibility 0s linear 300ms;
}
.iph__view.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity 360ms ease, transform 460ms var(--ease), visibility 0s; }

/* 1. incoming call */
.iph__date { font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, 0.82); }
.iph__caller { margin-top: 20px; }
.iph__num { font-size: 29px; font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.iph__from { margin-top: 6px; font-size: 15px; color: rgba(255, 255, 255, 0.78); }
.iph__minor { margin-top: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); opacity: 0.92; }
.iph__minor span { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; }
.iph__minor i, .iph__grid i {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.iph__minor svg { width: 21px; height: 21px; }
.iph__answer { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.iph__btn {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 0; border: 0; background: none; color: #fff; cursor: pointer; font: inherit;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.iph__circle { position: relative; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; transition: transform 140ms var(--ease); }
.iph__circle svg { position: relative; z-index: 1; width: 30px; height: 30px; color: #fff; }
.iph__btn--no .iph__circle { background: #EB4E3D; }
.iph__btn--yes .iph__circle { background: #34C759; }
.iph__btn:active .iph__circle { transform: scale(0.92); }
.iph__btn:focus-visible { outline: none; }
.iph__btn:focus-visible .iph__circle { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--accent); }
.iph__lbl { font-size: 15.5px; font-weight: 600; line-height: 1.15; }
/* the green button breathes the way iOS draws the eye to it */
.iph__btn--yes .iph__circle::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: #34C759;
  animation: iph-pulse 1.6s ease-out infinite;
}
@keyframes iph-pulse { from { transform: scale(1); opacity: 0.55; } to { transform: scale(1.55); opacity: 0; } }

/* 2. in call */
.iph__caller--sm { margin-top: 12px; }
.iph__caller--sm .iph__num { font-size: 24px; }
.iph__timer { margin-top: 4px; font-size: 15px; color: rgba(255, 255, 255, 0.8); font-variant-numeric: tabular-nums; }
.iph__tag { display: inline-block; margin-top: 8px; padding: 4px 11px; border-radius: 999px; background: rgba(52, 199, 89, 0.22); color: #8BE6A5; font-size: 12px; font-weight: 700; }
.iph__captions { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; min-height: 0; }
.cap {
  max-width: 92%; padding: 8px 11px; border-radius: 16px; text-align: left;
  font-size: 13.5px; line-height: 1.32; background: rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  opacity: 0; transform: translateY(8px); transition: opacity 320ms ease, transform 420ms var(--ease);
}
.cap b { display: block; margin-bottom: 1px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.7; }
.cap--ai { align-self: flex-end; background: rgba(10, 132, 255, 0.55); }
.cap--her { align-self: flex-start; }
.cap.is-shown { opacity: 1; transform: none; }
/* the in-call button grid stays hidden (round 6): it made the call view taller than the screen in Safari */
.iph__grid { display: none; margin-top: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); opacity: 0.6; }
.iph__grid span { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 11.5px; }
.iph__grid i { width: 50px; height: 50px; }
.iph__grid svg { width: 23px; height: 23px; }
.iph__end { display: grid; place-items: center; flex: none; width: 62px; height: 62px; margin: auto auto 0; border-radius: 50%; background: #EB4E3D; }
.iph__end svg { width: 28px; height: 28px; }
.iph__call { padding-bottom: 40px; } /* the end-call button clears the home bar */

/* 3. lock screen with notifications */
.iph__ldate { margin-top: 4px; font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, 0.9); }
.iph__lclock { font-size: 74px; font-weight: 600; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.iph__notes { margin-top: 22px; display: flex; flex-direction: column; gap: 8px; }
.note {
  display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; align-items: start;
  padding: 10px 12px; border-radius: 20px; text-align: left; color: #111;
  background: rgba(245, 245, 248, 0.8); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  animation: note-in 520ms var(--ease) both;
}
@keyframes note-in { from { opacity: 0; transform: translateY(-18px) scale(0.96); } to { opacity: 1; transform: none; } }
.note__ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; color: #fff; }
.note__ico svg { width: 19px; height: 19px; }
.note__ico--phone, .note__ico--msg { background: #34C759; }
.note__ico--cal { display: flex; flex-direction: column; justify-content: center; gap: 1px; background: #fff; color: #EB4E3D; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.15); }
.note__ico--cal small { font-size: 6.5px; font-weight: 800; line-height: 1; letter-spacing: 0.04em; }
.note__ico--cal span { font-size: 15px; font-weight: 400; line-height: 1; color: #111; }
.note__top { display: flex; justify-content: space-between; gap: 6px; font-size: 11px; font-weight: 600; color: rgba(0, 0, 0, 0.5); text-transform: uppercase; letter-spacing: 0.02em; }
.note__top span:last-child { text-transform: none; font-weight: 500; }
.note b { display: block; margin-top: 1px; font-size: 14px; font-weight: 700; line-height: 1.2; }
.note p { font-size: 13.5px; line-height: 1.28; color: #222; }

.iph__home { position: absolute; z-index: 6; left: 50%; bottom: 8px; width: 36%; height: 5px; margin-left: -18%; border-radius: 3px; background: rgba(255, 255, 255, 0.85); }

.iph__cap { margin-top: 12px; font-size: 13px; color: var(--low); }
.chz__out { margin-top: 10px; font-size: 20px; font-weight: 800; }
.chz__out.is-loss { color: var(--red); }
.chz__out.is-win { color: var(--green); }
.iph__again { margin-top: 6px; min-height: 44px; padding: 0 12px; border: 0; background: none; color: var(--accent); font-weight: 700; font-size: 16px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ring .btn { margin-top: 22px; }

/* ---- the booking popup: a full-height sheet on a phone, a centred card on desktop ---- */
body.pop-open { overflow: hidden; }
.pop { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; }
.pop__scrim { position: absolute; inset: 0; background: rgba(20, 18, 14, 0.5); animation: pop-fade 220ms ease both; }
.pop__sheet {
  position: relative; width: 100%; max-width: var(--col); height: calc(100% - 24px); max-height: 100%;
  display: flex; flex-direction: column;
  background: var(--bg); border-radius: 20px 20px 0 0;
  box-shadow: 0 -12px 40px -16px rgba(20, 18, 14, 0.5);
  animation: pop-up 340ms var(--ease) both;
}
@keyframes pop-fade { from { opacity: 0; } }
@keyframes pop-up { from { transform: translateY(100%); } }
.pop__head { display: flex; align-items: center; gap: 12px; padding: 14px 12px 10px 16px; border-bottom: 1px solid var(--line); }
.pop__title { flex: 1; font: 700 17px/1.2 var(--display); }
.pop__x { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #EFEDE8; color: var(--ink); cursor: pointer; }
.pop__x svg { width: 20px; height: 20px; }
.pop__x:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (min-width: 600px) {
  .pop { align-items: center; padding: 24px; }
  .pop__sheet { height: auto; max-height: min(760px, 100%); border-radius: 20px; animation-name: pop-rise; }
  @keyframes pop-rise { from { opacity: 0; transform: translateY(16px); } }
}

.qf { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 16px 16px calc(24px + env(safe-area-inset-bottom)); }
.qf__prog { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--low); }
.qf__prog i { flex: 1; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.qf__prog i::after { content: ""; display: block; height: 100%; width: var(--p, 33%); background: var(--accent); transition: width 300ms var(--ease); }
.qf__q { margin-top: 12px; font-family: var(--display); font-size: 22px; line-height: 1.25; font-weight: 800; letter-spacing: -0.015em; outline: none; }
.qf__form { margin-top: 14px; display: grid; gap: 12px; }
.qf__f label { display: block; font-size: 14px; font-weight: 700; color: var(--mid); margin-bottom: 6px; }
.qf__f input, .qf__f select {
  width: 100%; min-height: 54px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--bg); font: 500 18px/1.2 var(--font); color: var(--ink);
}
.qf__f input:focus, .qf__f select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.qf__phone { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 8px; }
.qf__err { margin-top: 6px; color: var(--red); font-size: 15px; font-weight: 600; }
.qf__err:empty { display: none; }
.qf__back { margin-top: 14px; min-height: 44px; border: 0; background: none; color: var(--low); font-weight: 600; cursor: pointer; }
.qf__muted { margin-top: 12px; font-size: 15px; color: var(--low); }
.qf__pending { display: flex; align-items: center; gap: 10px; margin-top: 16px; color: var(--low); }
.qf__spin { width: 20px; height: 20px; border: 3px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
/* step 2, the calendar: the next five open days in one row like a phone's calendar, no boxes; then the
   day's times as one quiet list grouped by part of the day. Thin lines, 600 not 800. */
.qf__month { margin-top: 18px; font-size: 15px; font-weight: 600; color: var(--ink); }
.qf__week { margin-top: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.qf__day { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; min-height: 66px; padding: 2px 0 8px; border: 0; background: none; color: var(--ink); font: inherit; cursor: pointer; }
.qf__day small { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--low); }
.qf__day span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; transition: background 150ms, color 150ms; }
.qf__day:hover:not(.is-chosen) span { background: var(--accent-tint); color: var(--accent); }
.qf__day.is-chosen small { color: var(--accent); }
.qf__day.is-chosen span { background: var(--accent); color: #fff; }
.qf__day.is-today::after { content: ""; position: absolute; bottom: 0; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--accent); }
.qf__day:focus-visible { outline: none; }
.qf__day:focus-visible span { outline: 3px solid var(--accent); outline-offset: 2px; }
.qf__dayname { margin-top: 16px; font-size: 15px; font-weight: 600; color: var(--ink); }
.qf__grp { margin-top: 14px; }
.qf__grpname { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--low); }
.qf__times { margin-top: 8px; display: grid; gap: 8px; }
.qf__time { display: flex; align-items: center; width: 100%; min-height: 48px; padding: 0 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); font: 500 16px/1 var(--font); font-variant-numeric: tabular-nums; text-align: left; cursor: pointer; transition: border-color 150ms, background 150ms; }
.qf__time:hover { border-color: var(--accent); background: var(--accent-tint); }
.qf__time.is-chosen { border-color: var(--accent); background: var(--accent-tint); color: var(--accent); font-weight: 600; }
.qf__when { margin-top: 12px; padding: 14px; border-radius: 12px; background: var(--accent-soft); font-weight: 700; font-size: 18px; }
.qf__when small { display: block; font-weight: 500; font-size: 14px; color: var(--mid); margin-top: 2px; }
.qf__done { text-align: center; padding: 16px 0 6px; }
.qf__tick { width: 56px; height: 56px; margin: 0 auto 10px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; }
.qf__tick svg { width: 30px; height: 30px; }
.qf .btn { margin-top: 6px; }
.qf__sub { margin-top: 6px; font-size: 15px; line-height: 1.4; color: var(--low); }
.qf__f label { text-transform: uppercase; letter-spacing: 0.06em; font-size: 12.5px; }
.qf__f textarea {
  width: 100%; min-height: 96px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--card); font: 400 17px/1.4 var(--font); color: var(--ink); resize: vertical;
}
.qf__f textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.qf__f--note label { text-transform: none; letter-spacing: 0; font-size: 16px; line-height: 1.35; color: var(--ink); }
.qf__f label small { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--low); }
.qf__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.qf__link { flex: none; min-height: 32px; padding: 0 2px; border: 0; background: none; color: var(--accent); font-weight: 700; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.qf__who { margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); font-size: 15px; line-height: 1.4; color: var(--mid); overflow-wrap: anywhere; }
.qf__who b { color: var(--ink); }

/* ---- 6. footer: a dark band so the page has an end ---- */
.foot { position: relative; background: var(--navy); color: #fff; text-align: center; overflow: hidden; }
/* a faint blue glow at the top of the band */
.foot::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 260px; pointer-events: none; background: radial-gradient(60% 100% at 50% 0%, rgba(24, 99, 240, 0.35) 0%, rgba(24, 99, 240, 0) 70%); }
.foot__in { position: relative; }
.foot__in { max-width: var(--col); margin: 0 auto; padding: 56px 20px calc(36px + env(safe-area-inset-bottom)); }
.foot__logo { color: #fff; }
.foot__logo b { color: #8FB0FF; }
.foot__h { margin-top: 24px; font: 800 26px/1.2 var(--display); letter-spacing: -0.02em; text-wrap: balance; }
.foot .btn { margin-top: 28px; box-shadow: 0 14px 30px -12px rgba(24, 99, 240, 0.7); }
.foot__legal { margin-top: 36px; font-size: 13px; color: rgba(255, 255, 255, 0.6); }
.foot__legal a { color: rgba(255, 255, 255, 0.75); }
.foot__c { display: block; margin-top: 6px; }

/* ---- sticky button ---- */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(250, 249, 246, 0.92); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform 260ms var(--ease);
}
.sticky.is-on { transform: none; }
.sticky .btn { max-width: var(--col); margin: 0 auto; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
@media (max-width: 360px) {
  .btn { padding: 0 14px; gap: 8px; }
  .hero__eye { font-size: 15px; }
  .pay__h { font-size: 25px; }
  .iph { width: 300px; zoom: 0.68; }
}

/* pause / resume: bottom-left, always reachable while a film is loaded */
.vsl__pause {
  position: absolute; left: 10px; bottom: 12px; z-index: 2; display: none; place-items: center;
  width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(14, 16, 21, 0.72); color: #fff; cursor: pointer;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.vsl__pause svg { width: 16px; height: 16px; }
.vsl.has-film .vsl__pause { display: grid; }
.vsl__pause .ic-play { display: block; margin-left: 2px; }
.vsl__pause .ic-pause { display: none; }
.vsl.is-playing .vsl__pause .ic-pause { display: block; }
.vsl.is-playing .vsl__pause .ic-play { display: none; }
.vsl.is-ended .vsl__pause { display: none; }
@media (min-width: 1024px) { .vsl__pause { left: 14px; bottom: 16px; width: 40px; height: 40px; } .vsl__pause svg { width: 18px; height: 18px; } }
