/* HomeHubb · next version (17)
   Layout and product cards from Akash's reimagined version; colour, type and shapes from the HomeHubb
   Brand Guidelines v1.0 (Landing page kit): Linen, Paper, Onyx, Antique Gold, Graphite, a speck of Sunflower.
   Every section has its own full-width background and no 2 neighbours share one; Linen is used once.
   Everything rests on its finished state. site.js adds .anim (motion allowed) and plays each screen from the start. */

/* self-hosted fonts (latin subsets from Google Fonts, SIL Open Font Licence): no third-party request before the first paint */
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/dm-sans-latin.woff2) format('woff2'); }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 500 800; font-display: swap; src: url(fonts/bricolage-grotesque-latin.woff2) format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500 600; font-display: swap; src: url(fonts/cormorant-garamond-latin.woff2) format('woff2'); }

:root {
  --linen: #F3EEE7;
  --paper: #FCFBF8;
  --white: #FFFFFF;
  --onyx: #1C1C1C;
  --onyx-2: #262523;
  --onyx-hover: #333230;
  --graphite: #4B4B4B;
  --muted: #6B675F;
  --gold: #916E27;
  --gold-text: #7E5F1F;
  --pale-gold: #CEB781;
  --sun: #FDBB30;
  --line: #E6DFD4;
  --line-2: #CFC7B9;
  --tint: #F4F1EC;
  --gold-soft: #EFE4CC;
  --green: #2E6B4E;
  --green-soft: #E6EFE9;
  --hold: #865A0A;
  --hold-soft: #FBF1DC;
  --on-dark: #F3EEE7;
  --on-dark-2: rgb(243 238 231 / .74);
  --dark-line: rgb(243 238 231 / .14);

  --font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --logo: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;

  /* one type scale: 6 page sizes, 3 product-card sizes (the 14 is shared) */
  --fs-h1: clamp(44px, 5.4vw, 80px);
  --fs-h2: clamp(32px, 3.4vw, 48px);
  --fs-h3: clamp(26px, 2.3vw, 34px);
  --fs-title: clamp(19px, 1.5vw, 22px);
  --fs-lede: clamp(17px, 1.3vw, 19px);
  --fs-body: 16px;
  --fs-small: 14px;
  --fs-ui: 13px;
  --fs-meta: 12px;

  /* 4 radii, 4 shadows (card, window, a small lift, the folding page), one 4px spacing grid */
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --sh-card: 0 1px 2px rgb(0 0 0 / .06), 0 24px 48px -24px rgb(0 0 0 / .45);
  --sh-win: 0 1px 2px rgb(28 28 28 / .05), 0 40px 80px -40px rgb(28 28 28 / .32);
  --sh-lift: 0 1px 3px rgb(28 28 28 / .16);
  --sh-fold: 0 -24px 60px -24px rgb(0 0 0 / .65);
  --sp-head: clamp(40px, 5vw, 64px);
  --sp-block: clamp(32px, 4vw, 48px);
  --ease: cubic-bezier(.2, 0, 0, 1);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  /* 4 durations: press and hover, small state changes, fades and entrances, scene hand-offs. Travel is 8px or 16px. */
  --t-quick: 160ms;
  --t-base: 280ms;
  --t-slow: 520ms;
  --t-scene: 760ms;

  --max: 1280px;
  --gutter: max(clamp(20px, 5vw, 64px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));   /* clear of the notch on phones held sideways */
  --sec: clamp(64px, 7vw, 104px);
  --head-h: 72px;
  --head-pad: var(--head-h);   /* the room kept for the header at the top of pinned blocks; fixed, so nothing shifts when it hides */
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--onyx); font: 400 var(--fs-body)/1.6 var(--font); font-optical-sizing: auto; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
img { max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--onyx); outline-offset: 2px; box-shadow: 0 0 0 6px rgb(253 187 48 / .45); border-radius: var(--r-sm); }
.sec-onyx :focus-visible, .hero :focus-visible, .close :focus-visible, .foot :focus-visible { outline-color: var(--linen); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 12px 16px; border-radius: var(--r-sm); background: var(--onyx); color: var(--linen); text-decoration: none; }
.skip:focus { top: 12px; }
.nw { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wrap { width: min(var(--max), 100% - var(--gutter) * 2); margin-inline: auto; }
.h1, .h2, .h3, .close-h { font-weight: 500; letter-spacing: -.028em; text-wrap: balance; }
.h1 { font-size: var(--fs-h1); line-height: 1.02; }
.h2 { font-size: var(--fs-h2); line-height: 1.05; }
.h3 { font-size: var(--fs-h3); line-height: 1.12; letter-spacing: -.02em; }
p, li { text-wrap: pretty; }
/* the accent rule: 1 to 3 words at the end of a heading, Cormorant upright at 110%, gold, never under 28px */
.ac { font-family: var(--logo); font-weight: 560; font-size: 1em; letter-spacing: -.035em; line-height: inherit; color: var(--gold); white-space: nowrap; }
.h1 .ac { white-space: normal; }
.hero .ac, .sec-onyx .ac, .close .ac { color: var(--pale-gold); }
.lede { font-size: var(--fs-lede); line-height: 1.5; color: var(--graphite); }

/* buttons: Onyx primary, Linen on dark, radius 8, sentence case */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 24px; border: 1px solid var(--onyx); border-radius: var(--r-sm); background: var(--onyx); color: var(--linen); font: 600 var(--fs-body)/1 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color var(--t-quick) var(--ease), color var(--t-quick) var(--ease), border-color var(--t-quick) var(--ease), transform var(--t-quick) var(--ease-out); -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.btn:active { transform: scale(.97); }
.btn-sm { height: 40px; padding: 0 16px; font-size: var(--fs-small); }
.btn-linen { background: var(--linen); border-color: var(--linen); color: var(--onyx); }
.btn-ghost { background: transparent; border-color: rgb(243 238 231 / .6); color: var(--linen); }
@media (hover: hover) {
  .btn:hover { background: var(--onyx-hover); border-color: var(--onyx-hover); }
  .btn-linen:hover { background: var(--white); border-color: var(--white); }
  .btn-ghost:hover { background: rgb(243 238 231 / .12); border-color: var(--linen); }
}
.btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.link { font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
@media (hover: hover) { .link:hover { text-decoration-color: currentColor; } }

/* ---------- header: Linen over the hero photo, Paper once you scroll ---------- */
.head { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--head-h); color: var(--linen); transition: background-color var(--t-base) var(--ease), color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), transform var(--t-base) var(--ease-out); }
.head.is-hidden { transform: translateY(-100%); box-shadow: none; }
.head-in { display: flex; align-items: center; gap: 32px; height: 100%; }
.wordmark { font: 800 26px/1 var(--logo); letter-spacing: -.045em; color: inherit; text-decoration: none; }
.stop { color: var(--pale-gold); }
.nav { display: flex; gap: 32px; margin-left: auto; }
.nav a { position: relative; font-size: var(--fs-small); font-weight: 500; text-decoration: none; opacity: .92; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--t-base) var(--ease-out); }
@media (hover: hover) { .nav a:hover::after { transform: none; } }
.nav a { white-space: nowrap; }
/* small laptops and tablets held sideways: 6 links and the button still fit on one line */
@media (min-width: 901px) and (max-width: 1023px) { .head-in { gap: 24px; } .nav { gap: 20px; } .foot ul a { overflow-wrap: anywhere; } }
.head-cta { background: var(--linen); border-color: var(--linen); color: var(--onyx); }
.head.is-solid { background: rgb(252 251 248 / .97); color: var(--onyx); box-shadow: 0 1px 0 var(--line); }
.head.is-solid .stop { color: var(--gold); }
.head.is-solid .head-cta { background: var(--onyx); border-color: var(--onyx); color: var(--linen); }
.menu-btn { display: none; align-items: center; gap: 12px; height: 44px; margin-left: auto; padding: 0 4px; border: 0; background: none; font-weight: 600; cursor: pointer; }
.menu-btn i { position: relative; width: 20px; height: 1.5px; background: currentColor; transition: background-color var(--t-quick); }
.menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 0; width: 20px; height: 1.5px; background: currentColor; transition: transform var(--t-base) var(--ease-out); }
.menu-btn i::before { top: -6px; } .menu-btn i::after { top: 6px; }
.menu-btn[aria-expanded="true"] i { background: transparent; }
.menu-btn[aria-expanded="true"] i::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i::after { transform: translateY(-6px) rotate(-45deg); }
.sheet { position: fixed; inset: var(--head-h) 0 0; z-index: 49; display: grid; align-content: start; gap: 24px; padding: 24px var(--gutter) calc(40px + env(safe-area-inset-bottom, 0px)); background: var(--paper); overflow-y: auto; }
.sheet[hidden] { display: none; }
.sheet-nav { display: grid; }
.sheet-nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-title); font-weight: 500; letter-spacing: -.01em; text-decoration: none; }
.sheet .btn { width: 100%; height: 52px; }
.sheet-tel { justify-self: center; font-weight: 600; text-decoration: none; }

/* ---------- 1 · hero: one still photo of the bay ---------- */
.hero { position: relative; isolation: isolate; display: grid; align-items: end; min-height: max(640px, 100svh); max-height: 1100px; overflow: hidden; background: var(--onyx); color: var(--linen); }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
  linear-gradient(180deg, rgb(18 18 18 / .42) 0%, rgb(18 18 18 / 0) 24%),
  linear-gradient(90deg, rgb(18 18 18 / .55) 0%, rgb(18 18 18 / .3) 42%, rgb(18 18 18 / 0) 68%),
  linear-gradient(0deg, rgb(18 18 18 / .6) 0%, rgb(18 18 18 / 0) 50%); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px 48px; padding-block: calc(var(--head-h) + 96px) clamp(48px, 6vw, 80px); }
.hero-copy { max-width: 780px; }
.hero-sub { max-width: 34em; margin: 24px 0 40px; font-size: var(--fs-lede); line-height: 1.5; color: rgb(243 238 231 / .92); }
.partner { display: grid; justify-items: center; gap: 12px; padding-bottom: 8px; text-align: center; }
.partner span { font-size: var(--fs-small); font-weight: 500; letter-spacing: .01em; color: rgb(243 238 231 / .8); }
.partner img { display: block; width: 150px; height: auto; }

/* ---------- sections ---------- */
.sec { padding-block: var(--sec); }
.sec-paper { background: var(--paper); }
.sec-linen { background: var(--linen); }
.sec-onyx { background: var(--onyx); color: var(--linen); }
.sec-onyx .lede { color: var(--on-dark-2); }
.intro { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 16px; margin-bottom: var(--sp-head); text-align: center; }
.intro .lede { max-width: 30em; }

/* booking sites drifting (Akash's strip) */
#system { padding-top: 0; }
.sites { padding-block: clamp(30px, 3.6vw, 44px); margin-bottom: clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--line); background: var(--white); }
.sites-label { margin-bottom: 16px; text-align: center; font-size: var(--fs-small); font-weight: 500; color: var(--muted); }
.sites-mask { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.sites-track { display: flex; width: max-content; animation: drift 52s linear infinite; }
.sites-track span { display: inline-flex; align-items: center; gap: 12px; margin-right: 48px; font-size: var(--fs-body); font-weight: 500; color: var(--graphite); white-space: nowrap; }
.sites-track img { width: 22px; height: 22px; object-fit: contain; }
@media (hover: hover) { .sites:hover .sites-track { animation-play-state: paused; } }
@keyframes drift { to { transform: translateX(-50%); } }

/* ticks */
.ticks { list-style: none; display: grid; gap: 12px; padding: 0; margin-top: 4px; }
.ticks li { position: relative; padding-left: 32px; font-size: var(--fs-body); line-height: 1.45; color: var(--onyx); }
.ticks li::before { content: ""; position: absolute; left: 1px; top: 3px; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 8.6l3.6 3.4L13.5 4' fill='none' stroke='%23916E27' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }

/* ---------- 2 · still here: one pinned stage that fills the screen, 4 parts ----------
   The heading runs across the top on one line, the 4 parts sit in a row under it, and the part you're on takes the
   rest of the screen: its title large on the left, its product filling the right. Scrolling moves through the parts
   in place. Phones, short screens and reduced motion get the 4 parts one after another. */
.wrap-still { --max: 1520px; }   /* wider than the page column, so the product reads at full size on large screens */
.still { position: relative; height: 420svh; }
.still-stage { position: sticky; top: 0; display: flex; flex-direction: column; height: 100svh; padding: calc(var(--head-pad) + 24px) 0 24px; }
.still-top { text-align: center; }
.still-top .h2 { font-size: var(--fs-h2); white-space: nowrap; }
.still-top .lede { max-width: 25em; font-size: var(--fs-body); line-height: 1.5; }
.still-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.8vw, 28px); margin-top: 24px; }
.st-tab { position: relative; display: block; padding: 16px 0 2px; border: 0; background: none; text-align: left; font: 500 var(--fs-body)/1.3 var(--font); color: var(--muted); cursor: pointer; transition: color var(--t-base) var(--ease); -webkit-tap-highlight-color: transparent; }
@media (hover: hover) { .st-tab:hover { color: var(--onyx); } }
.st-tab.is-on { color: var(--onyx); font-weight: 600; }
@media (hover: hover) { .st-tab:hover .st-bar { background: var(--line-2); } }
.st-bar { position: absolute; left: 0; right: 0; top: 0; height: 3px; overflow: hidden; border-radius: 999px; background: var(--line); }
.st-bar i { display: block; height: 100%; border-radius: inherit; background: var(--onyx); transform-origin: left; transform: scaleX(var(--lp, 0)); }
.still-main { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 4.5fr) minmax(0, 7.5fr); align-items: center; gap: clamp(40px, 6vw, 112px); margin-top: 32px; }
.still-copy { display: grid; align-items: center; }
.sc { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity var(--t-quick) var(--ease), transform var(--t-slow) var(--ease-out), visibility 0s linear var(--t-quick); }
/* words never overlap words: the incoming part starts once the outgoing one has gone */
.sc.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity var(--t-slow) var(--ease) var(--t-quick), transform var(--t-scene) var(--ease-out) var(--t-quick), visibility 0s; }
.sc-t { margin-bottom: 16px; font: 500 clamp(28px, 2.6vw, 40px)/1.05 var(--font); letter-spacing: -.03em; text-wrap: balance; }
.sc > p { max-width: 28em; font-size: var(--fs-lede); line-height: 1.55; color: var(--graphite); }
.sc > p.page-sub { margin: -4px 0 16px; font-size: var(--fs-body); font-weight: 600; line-height: 1.3; color: var(--gold-text); }
/* the ticks sit between fine lines */
.sc .ticks { gap: 0; max-width: 32em; margin-top: 24px; border-bottom: 1px solid var(--line); }
.sc .page-sub + .ticks { margin-top: 8px; }
.sc .ticks li { padding-block: 14px; border-top: 1px solid var(--line); font-size: var(--fs-body); }
.sc .ticks li::before { top: 17px; }

.still-vis { position: relative; display: grid; height: min(100%, 780px); min-height: 0; }
.sv { grid-area: 1 / 1; position: relative; min-height: 0; opacity: 0; visibility: hidden; transform: translateY(8px) scale(.992); transition: opacity var(--t-slow) var(--ease), transform var(--t-scene) var(--ease-out), visibility 0s linear var(--t-slow); }
.sv.is-on { z-index: 1; opacity: 1; visibility: visible; transform: none; transition: opacity var(--t-slow) var(--ease), transform var(--t-scene) var(--ease-out), visibility 0s; }
.sv-app .appwin { position: absolute; left: 50%; top: 50%; width: 820px; transform: translate(-50%, -50%) scale(var(--fit, 1)); transform-origin: 50% 50%; }
/* the window takes exactly the space the photos take in the other parts, so the calendar matches them; it lists as
   many of the 8 homes as fit (at least 5) and only scales down if even 5 can't */
.sv-app .appwin.is-fit { display: flex; flex-direction: column; width: var(--aw-w); height: var(--aw-h); }
.appwin.is-fit .aw-body { flex: 1; min-height: 0; }
.appwin.is-fit .aw-side { display: flex; flex-direction: column; }
.appwin.is-fit .aw-site { flex: 1 1 auto; max-height: 76px; }
.appwin.is-fit .aw-more { margin-top: auto; }
.appwin.is-fit .aw-cal { display: flex; flex-direction: column; min-height: 0; }
.appwin.is-fit .aw-row { flex: 1 1 auto; max-height: 80px; }
.appwin.is-fit .aw-foot { margin-top: auto; }
.aw-row.is-off { display: none; }
.sv-photo > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-xl); }
.sv-photo::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-xl); background: linear-gradient(180deg, rgb(18 18 18 / 0) 50%, rgb(18 18 18 / .22) 100%); pointer-events: none; }
@media (min-width: 1300px) and (min-height: 960px) { .sv .fc, .sv .toast { zoom: 1.16; } }

/* bookings: one colour, the booking site's logo on a white chip says which site */
.bk { --g: var(--onyx-2); }

/* the app window */
.appwin { width: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--sh-win); font: 500 var(--fs-ui)/1.35 var(--font); }

.aw-body { display: grid; grid-template-columns: 232px minmax(0, 1fr); }
.aw-side { display: grid; align-content: start; gap: 2px; padding: 16px 12px 12px; border-right: 1px solid var(--line); background: var(--paper); }
.aw-k { display: grid; gap: 2px; padding: 2px 12px 12px; }
.aw-k b { font-size: var(--fs-ui); font-weight: 600; }
.aw-k span { font-size: var(--fs-meta); color: var(--muted); }
.aw-site, .aw-more { display: grid; grid-template-columns: 32px minmax(0, 1fr) 36px; gap: 12px; align-items: center; min-height: 52px; padding: 8px 12px; border-radius: var(--r); transition: background-color var(--t-scene) var(--ease); }
.aw-site.just { background: var(--green-soft); transition-duration: var(--t-quick); }
.aw-more { grid-template-columns: 32px minmax(0, 1fr); margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 var(--r) var(--r); }
.aw-site .logo, .aw-more .logo-stack { width: 32px; height: 32px; }
.aw-site .logo { padding: 8px; border-radius: var(--r-sm); background: var(--white); box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgb(28 28 28 / .05); transition: opacity var(--t-base), filter var(--t-base); }
.logo-web { color: var(--onyx); }
.logo-web svg { width: 100%; height: 100%; }
.aw-n { min-width: 0; }
.aw-n b { display: block; overflow: hidden; font-size: var(--fs-small); font-weight: 600; line-height: 1.2; white-space: nowrap; text-overflow: ellipsis; transition: color var(--t-base); }
.aw-n small { display: inline-grid; margin-top: 2px; font-size: var(--fs-meta); font-weight: 600; line-height: 1.2; }
.aw-n small > span { grid-area: 1 / 1; transition: opacity var(--t-base) var(--ease); }
.aw-n .off { opacity: 0; color: var(--muted); }
.aw-n .on { color: var(--green); }
.aw-more small { color: var(--gold-text); }
.anim .aw-site:not(.on) .off { opacity: 1; }
.anim .aw-site:not(.on) .on { opacity: 0; }
.anim .aw-site:not(.on) .logo { opacity: .55; filter: grayscale(1); }
.anim .aw-site:not(.on) b { color: var(--muted); }

.tog { position: relative; width: 36px; height: 21px; border-radius: 999px; background: var(--green); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .04); transition: background-color var(--t-base) var(--ease); }
.tog i { position: absolute; top: 2.5px; left: 2.5px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); box-shadow: var(--sh-lift), 0 0 0 .5px rgb(0 0 0 / .04); transform: translateX(15px); transition: transform var(--t-base) var(--ease-out); }
.anim .aw-site:not(.on) .tog { background: var(--line-2); }
.anim .aw-site:not(.on) .tog i { transform: none; }

.aw-cal { display: grid; align-content: start; min-width: 0; padding: 16px 16px 0; }
.aw-calh { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 12px; }
.aw-calh b { font-size: var(--fs-small); font-weight: 600; }
.aw-wk { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-meta); font-weight: 500; color: var(--muted); white-space: nowrap; }
.aw-wk svg { width: 12px; height: 12px; }
.aw-days, .aw-row { display: grid; grid-template-columns: 148px minmax(0, 1fr); align-items: center; }
.aw-days { grid-template-columns: 148px repeat(7, minmax(0, 1fr)); padding-bottom: 8px; border-bottom: 1px solid var(--line); font: 600 var(--fs-ui)/1.1 var(--font); font-variant-numeric: tabular-nums; }
.aw-days span { padding-left: 8px; }
.aw-days i { display: block; margin-bottom: 3px; font-size: var(--fs-meta); font-weight: 500; font-style: normal; color: var(--muted); }
.aw-days .is-today { color: var(--green); }
.aw-days .is-today i { color: var(--green); }
.aw-row { min-height: 54px; border-bottom: 1px solid var(--line); }
/* with the room, the home names show whole: the name column grows with the window, the booking sites column gives a little */
.appwin.wide { container-type: inline-size; }
@media (min-width: 901px) { .appwin.wide .aw-body { grid-template-columns: clamp(212px, 30cqi, 232px) minmax(0, 1fr); } }   /* tablets keep the booking sites above the calendar */
.appwin.wide .aw-row { grid-template-columns: clamp(150px, 29cqi, 188px) minmax(0, 1fr); }
.appwin.wide .aw-days { grid-template-columns: clamp(150px, 29cqi, 188px) repeat(7, minmax(0, 1fr)); }
.appwin.wide .aw-home span { display: block; }
/* the parts one after another on tablets and up (and reduced motion, short laptops): the window sizes to its content, so a fixed column */
.appwin.names .aw-row { grid-template-columns: 188px minmax(0, 1fr); }
.appwin.names .aw-days { grid-template-columns: 188px repeat(7, minmax(0, 1fr)); }
.appwin.names .aw-home span { display: block; }
.aw-home { display: flex; align-items: center; gap: 12px; min-width: 0; padding-right: 8px; font: 600 var(--fs-ui)/1.2 var(--font); }
.aw-home img { flex: none; width: 30px; height: 30px; border-radius: var(--r-sm); object-fit: cover; }
.aw-home span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.aw-track { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); align-items: center; align-self: stretch; background: linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / calc(100% / 7) 100%; }
.bk { display: flex; align-items: center; gap: 8px; height: 34px; margin: 0 3px; padding: 0 12px 0 8px; overflow: hidden; border-radius: var(--r-sm); background: var(--g); color: var(--white); font: 600 var(--fs-meta)/1 var(--font); font-style: normal; white-space: nowrap; clip-path: inset(0 0 0 0 round 8px); transition: clip-path var(--t-scene) var(--ease-out), opacity var(--t-base) var(--ease); }
.bk img, .bk svg { flex: none; width: 20px; height: 20px; padding: 3px; border-radius: var(--r-sm); background: var(--white); object-fit: contain; color: var(--onyx); }
.bk-own { background: var(--gold-soft); color: var(--gold-text); padding-left: 12px; }
.anim .bk[data-site]:not(.on) { clip-path: inset(0 100% 0 0 round 8px); opacity: 0; }
.aw-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0 16px; font-size: var(--fs-meta); font-weight: 500; color: var(--muted); }
.aw-legend { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.lg-own { width: 18px; height: 10px; border-radius: calc(var(--r-sm) / 2); background: var(--gold-soft); }

/* floating cards on the photos */
.fc { position: absolute; z-index: 2; left: clamp(16px, 2.2vw, 32px); bottom: clamp(16px, 2.2vw, 32px); width: min(360px, 56%); display: grid; gap: 12px; padding: 16px; border-radius: var(--r-lg); background: rgb(255 255 255 / .97); color: var(--onyx); box-shadow: var(--sh-card); font: 500 var(--fs-ui)/1.35 var(--font); }
.fc p { margin: 0; }
.fc-h { display: flex; align-items: center; gap: 12px; }
.fc-h > img { flex: none; width: 36px; height: 36px; border-radius: var(--r-sm); object-fit: cover; }
.fc-h b { display: block; font-size: var(--fs-small); font-weight: 600; line-height: 1.2; }
.fc-h small { display: block; margin-top: 2px; font-size: var(--fs-meta); color: var(--muted); }
.anim [data-play]:not(.is-in) .fc, .anim [data-play]:not(.is-in) > .toast { opacity: 0; transform: translateY(16px); }
.fc, .toast { transition: opacity var(--t-slow) var(--ease-out) var(--t-quick), transform var(--t-scene) var(--ease-out) var(--t-quick); }

/* owners */
.mcal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.mcal i { padding-bottom: 2px; font: 600 var(--fs-meta)/1 var(--font); font-style: normal; color: var(--muted); }
.mcal b { display: grid; place-items: center; height: 32px; border-radius: var(--r-sm); background: var(--tint); font: 600 var(--fs-meta)/1 var(--font); font-variant-numeric: tabular-nums; transition: background var(--t-base) var(--ease), color var(--t-base) var(--ease), transform var(--t-slow) var(--ease-out); }
.mcal b.bkd { background: var(--onyx-2); color: var(--white); }
.mcal b.own { background: var(--gold-soft); color: var(--gold-text); }
.anim .mcal b.own:not(.is-on) { background: var(--tint); color: var(--onyx); transform: scale(.94); }
.fc-legend { display: flex; gap: 16px; font-size: var(--fs-meta); color: var(--muted); }
.fc-legend span { display: inline-flex; align-items: center; gap: 8px; }
.fc-legend i { width: 10px; height: 10px; border-radius: calc(var(--r-sm) / 2); }
.lg-bk { background: var(--onyx-2); }
.lg-ow { background: var(--gold-soft); }
.fc-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 12px; border-radius: var(--r-sm); background: var(--tint); font: 600 var(--fs-ui)/1.25 var(--font); }
.fc-row small { display: block; margin-top: 1px; font-size: var(--fs-meta); font-weight: 500; color: var(--muted); }
.toast { position: absolute; z-index: 3; right: clamp(16px, 2.2vw, 32px); top: clamp(16px, 2.2vw, 32px); display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px 12px 12px; border-radius: 999px; background: rgb(255 255 255 / .97); box-shadow: var(--sh-card); font: 600 var(--fs-ui)/1 var(--font); }
.toast-i { width: 22px; height: 22px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2l2 2 4-4.4' fill='none' stroke='%23FFFFFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
.anim .toast[data-s]:not(.is-on) { opacity: 0; transform: translateY(-8px); }

/* Connected trust accounting */
.fc-trust { width: min(380px, 58%); gap: 4px; }

/* cleaners */
.fc-job { width: min(320px, 52%); gap: 8px; }
.fc-job .fc-h { padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.fc-job .ov-btn { margin-top: 4px; }
.chk { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: var(--fs-ui); font-weight: 500; }

/* shared bits */
.tick { display: inline-block; flex: none; width: 18px; height: 18px; border-radius: var(--r-sm); background: var(--onyx) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2l2 2 4-4.4' fill='none' stroke='%23FFFFFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat; transition: background-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease); }
.anim .tick[data-s]:not(.is-on) { background-color: var(--white); background-image: none; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.pill { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px; font: 600 var(--fs-meta)/1 var(--font); font-style: normal; white-space: nowrap; transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease-out); }
.pill-ok { background: var(--green-soft); color: var(--green); }
.anim .pill[data-s]:not(.is-on) { opacity: 0; transform: scale(.9); }
.logo-stack { position: relative; }
.logo-stack .logo { position: absolute; display: grid; place-items: center; width: 22px; height: 22px; padding: 4px; border-radius: var(--r-sm); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.logo-stack .logo img { width: 100%; height: 100%; object-fit: contain; }
.logo-stack .logo:first-child { left: 0; top: 0; }
.logo-stack .logo:last-child { right: 0; bottom: 0; }
.logo img { width: 100%; height: 100%; object-fit: contain; }
.st { display: inline-grid; justify-items: end; }
.st > span { grid-area: 1 / 1; padding: 0; font: 600 var(--fs-meta)/1 var(--font); white-space: nowrap; transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease-out); }
.st > span:first-child { opacity: 0; color: var(--muted); }
.st .ok { color: var(--green); }
.st .hold { color: var(--hold); }
.anim .st > span:first-child { opacity: 1; }
.anim .st:has(> .is-on) > span:first-child { opacity: 0; }
.anim .st > span[data-s]:not(.is-on) { opacity: 0; transform: scale(.92); }
.ov-btn { display: grid; padding: 12px; border-radius: var(--r-sm); background: var(--green); color: var(--white); text-align: center; font: 600 var(--fs-ui)/1.2 var(--font); transition: background-color var(--t-base) var(--ease); }
.ov-btn > span { grid-area: 1 / 1; transition: opacity var(--t-base); }
.ov-btn .a { opacity: 0; }
.ov-btn .b::before { content: "\2713\00a0"; }
.anim .ov-btn:not(:has(.is-on)) { background: var(--onyx); }
.anim .ov-btn:not(:has(.is-on)) .a { opacity: 1; }
.anim .ov-btn .b:not(.is-on) { opacity: 0; }

/* ---------- 3 · features: the pages fold over each other ---------- */
.wrap-new { --max: 1600px; }
.fold { display: grid; gap: 48px; }
.page { position: sticky; top: calc(var(--head-pad) + clamp(16px, 3vh, 32px)); display: grid; grid-template-columns: minmax(0, clamp(380px, 45%, 616px)) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); width: 100%; height: clamp(480px, calc(100svh - var(--head-h) - 112px), 700px); margin-inline: auto; padding: clamp(16px, 1.8vw, 24px); border-radius: var(--r-xl); background: var(--paper); color: var(--onyx); box-shadow: var(--sh-fold); transform: scale(calc(1 - var(--k, 0) * .05)); transform-origin: 50% 0; }
.page::after { content: ""; position: absolute; inset: 0; z-index: 5; border-radius: inherit; background: var(--onyx); opacity: calc(var(--k, 0) * .55); pointer-events: none; }
.page-copy { display: grid; align-content: center; justify-items: start; gap: 16px; padding: clamp(16px, 3vw, 48px) clamp(12px, 2vw, 48px); }
.page-copy .h3 { font-size: var(--fs-h3); }
.page-copy > * { max-width: 520px; }
.page-sub { margin-top: -4px; font-size: var(--fs-body); font-weight: 600; line-height: 1.3; color: var(--gold-text); }
.page-copy > p:not(.page-sub):not(.today) { font-size: var(--fs-lede); line-height: 1.55; color: var(--graphite); }
.page-copy .ticks li { font-size: 17px; }
.page .shot { position: relative; min-height: 0; container-type: size; overflow: hidden; border-radius: var(--r); background: var(--onyx-2); }
.page .shot > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.page .shot::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgb(18 18 18 / 0) 46%, rgb(18 18 18 / .28) 100%); pointer-events: none; }

/* guest app */
.fc-app { width: min(440px, 58%); gap: 0; padding: 0; overflow: hidden; }
.gapp-top { padding: 16px 16px 0; background: var(--white); }
.gapp-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; margin: 0; padding: 4px; border-radius: 999px; background: var(--tint); }
.gapp-tabs span { padding: 8px 12px; border-radius: 999px; text-align: center; font: 600 var(--fs-ui)/1 var(--font); white-space: nowrap; color: var(--muted); }
.gapp-tabs .t1 { background: var(--white); color: var(--onyx); box-shadow: var(--sh-lift); }
.gapp-panes { display: grid; padding: 16px; background: var(--white); }
.gapp-cards { grid-area: 1 / 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gapp-cards.c2 { opacity: 0; transform: translateX(16px); pointer-events: none; }
.gu { display: grid; gap: 4px; align-content: start; padding: 8px 8px 12px; border-radius: var(--r); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.gu-img { display: block; aspect-ratio: 4 / 3; margin-bottom: 8px; border-radius: var(--r-sm); background: center / cover no-repeat var(--tint); }
.gu b { padding: 0 4px; font-size: var(--fs-body); font-weight: 600; line-height: 1.2; letter-spacing: -.005em; }
.gu small { margin-bottom: 8px; padding: 0 4px; font-size: var(--fs-ui); line-height: 1.35; color: var(--muted); }
.buy { justify-self: start; display: inline-grid; margin: 0 4px; padding: 8px 12px; border-radius: 999px; background: transparent; box-shadow: inset 0 0 0 1.5px var(--onyx); color: var(--onyx); font: 600 var(--fs-ui)/1 var(--font); font-style: normal; white-space: nowrap; transition: background-color var(--t-base) var(--ease), color var(--t-base) var(--ease), box-shadow var(--t-base); }
.buy > span { grid-area: 1 / 1; text-align: center; transition: opacity var(--t-quick); }
.buy .b::before { content: "\2713\00a0"; }
.buy[data-s] { background: var(--green); box-shadow: none; color: var(--white); }
.buy[data-s] .a { opacity: 0; }
.anim .buy[data-s]:not(.is-on) { background: transparent; box-shadow: inset 0 0 0 1.5px var(--onyx); color: var(--onyx); }
.anim .buy[data-s]:not(.is-on) .a { opacity: 1; }
.anim .buy[data-s]:not(.is-on) .b { opacity: 0; }
.earn { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); background: var(--white); font: 600 var(--fs-small)/1.3 var(--font); transition: opacity var(--t-base) var(--ease); }
.earn em { flex: none; padding: 8px 12px; border-radius: 999px; background: var(--green-soft); color: var(--green); font: 600 var(--fs-small)/1 var(--font); font-style: normal; font-variant-numeric: tabular-nums; }
.earn em::before { content: ""; }
.anim .earn:not(.is-on) { opacity: 0; }
.anim .shot.is-in .gapp-cards.c1 { animation: gapp-a 8s var(--ease-out) 1800ms infinite; }
.anim .shot.is-in .gapp-cards.c2 { animation: gapp-b 8s var(--ease-out) 1800ms infinite; }
.anim .shot.is-in .gapp-tabs .t1 { animation: gapp-t1 8s ease 1800ms infinite; }
.anim .shot.is-in .gapp-tabs .t2 { animation: gapp-t2 8s ease 1800ms infinite; }
@keyframes gapp-a { 0%, 40% { opacity: 1; transform: none; } 46%, 94% { opacity: 0; transform: translateX(-16px); } 100% { opacity: 1; transform: none; } }
@keyframes gapp-b { 0%, 40% { opacity: 0; transform: translateX(16px); } 46%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateX(16px); } }
@keyframes gapp-t1 { 0%, 40% { background: var(--white); color: var(--onyx); box-shadow: var(--sh-lift); } 46%, 94% { background: transparent; color: var(--muted); box-shadow: none; } 100% { background: var(--white); color: var(--onyx); box-shadow: var(--sh-lift); } }
@keyframes gapp-t2 { 0%, 40% { background: transparent; color: var(--muted); box-shadow: none; } 46%, 94% { background: var(--white); color: var(--onyx); box-shadow: var(--sh-lift); } 100% { background: transparent; color: var(--muted); box-shadow: none; } }

/* conversation */
.typing i { width: 6px; height: 6px; border-radius: 50%; background: rgb(243 238 231 / .75); animation: blink 1.1s infinite both; }
.typing i:nth-child(2) { animation-delay: .18s; } .typing i:nth-child(3) { animation-delay: .36s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
/* a live chat: each line opens its own space as it arrives, so the card grows, and the bubble pops in */
.cw { display: grid; grid-template-rows: 1fr; transition: grid-template-rows var(--t-slow) var(--ease-out); }
.ci { display: grid; min-height: 0; overflow: hidden; }
.ci > * { margin-top: 8px; transition: opacity var(--t-base) var(--ease), transform var(--t-slow) cubic-bezier(.34, 1.5, .64, 1); }
.ci .msg.g { transform-origin: 0 100%; }
.ci .msg.a, .ci .typing, .ci .meta-a { transform-origin: 100% 100%; }
.anim .cw:not(.is-on) .ci > *, .anim .ci > [data-s]:not(.is-on) { opacity: 0; transform: translateY(8px) scale(.9); }
.anim .fc-chat:has(.cw-a.is-on) .cw-t .ci > * { opacity: 0; transform: scale(.9); }
/* the card grows only where it floats over the photo; on phones it sits in the page, so its space is kept and nothing below moves */
@media (min-width: 901px) {
  .anim .cw:not(.is-on), .anim .fc-chat:has(.cw-a.is-on) .cw-t { grid-template-rows: 0fr; }
}

/* invoices */
.fc-inv { width: min(360px, 56%); gap: 0; padding: 16px; }
.fc-h-plain { justify-content: space-between; padding-bottom: 12px; }
.inv-r { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); font: 600 var(--fs-ui)/1.25 var(--font); }
.inv-r small { display: block; margin-top: 1px; font-size: var(--fs-meta); font-weight: 500; color: var(--muted); }
.inv-f { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line); font: 600 var(--fs-ui)/1 var(--font); transition: opacity var(--t-base) var(--ease); }
.inv-f em { padding: 8px 12px; border-radius: var(--r-sm); background: var(--onyx); color: var(--linen); font-style: normal; }
.anim .inv-f:not(.is-on) { opacity: 0; }

/* your own website and app: the brand guide lands, then the site and the app take on its colours */
.stores { display: flex; gap: 8px; }
/* the store badges keep their official proportions, so they sit outside the type scale */
.badge { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: var(--r-sm); background: #000000; color: var(--white); }
.badge svg { flex: none; width: 20px; height: 20px; }
.badge span { display: grid; min-width: 0; }
.badge small { font-size: 9px; line-height: 1.1; opacity: .85; white-space: nowrap; }
.badge b { font-size: 14px; font-weight: 600; line-height: 1.1; white-space: nowrap; }

/* ---------- 4 · compare (Paper) ---------- */
.cmp-wrap { max-width: 960px; margin-inline: auto; }
.cmp-switch { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; margin-top: 32px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--linen); }
.cmp-switch h3 { font-size: var(--fs-title); font-weight: 600; line-height: 1.2; }
.cmp-switch p { margin-top: 4px; line-height: 1.45; color: var(--graphite); }
.cmp-switch .link { padding-block: 10px; font-size: var(--fs-small); white-space: nowrap; }
.cmp-picker { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 24px; padding: 12px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--linen); }
.cmp-picker-title { font-weight: 600; line-height: 1.35; }
.cmp-picker-current { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.cmp-picker-logos { display: grid; justify-items: end; }
.cmp-picker-logos img { display: block; width: auto; height: 26px; max-width: 116px; object-fit: contain; object-position: right center; }
.cmp-picker-menu { position: relative; }
.cmp-picker-menu summary { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--paper); font-size: var(--fs-small); font-weight: 600; line-height: 1.2; list-style: none; cursor: pointer; }
.cmp-picker-menu summary::-webkit-details-marker { display: none; }
.cmp-picker-chevron { width: 7px; height: 7px; margin-top: -3px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.cmp-picker-menu[open] .cmp-picker-chevron { margin-top: 3px; transform: rotate(225deg); }
.cmp-picker-options { position: absolute; z-index: 3; inset: calc(100% + 8px) 0 auto auto; display: grid; width: 172px; padding: 4px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--paper); box-shadow: var(--sh-card); }
.cmp-picker-options button { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 0 10px; border: 0; border-radius: 4px; background: transparent; font-size: var(--fs-small); text-align: left; cursor: pointer; }
.cmp-picker-options button[aria-pressed="true"] { background: var(--linen); color: var(--gold-text); font-weight: 700; }
.cmp-picker-options button[aria-pressed="true"]::after { content: ""; width: 6px; height: 10px; margin-right: 2px; margin-top: -2px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.cmp-picker-menu[hidden], .cmp-wrap [data-competitor][hidden] { display: none; }
@media (hover: hover) {
  .cmp-picker-menu summary:hover { border-color: var(--gold); }
  .cmp-picker-options button:hover { background: var(--tint); }
}

.cmp { width: 100%; margin-top: 24px; table-layout: fixed; border-collapse: separate; border-spacing: 0; }
.cmp-feat { width: 42%; }
.cmp th, .cmp td { padding: 15px 24px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; line-height: 1.4; }
.cmp tr > :not(:first-child) { text-align: center; }
.cmp thead th { border-bottom-color: var(--line-2); font-weight: 600; color: var(--graphite); }
.cmp tr > :first-child { padding-left: 0; }
.cmp tbody th { font-weight: 600; }
.cmp td { font-size: var(--fs-small); font-weight: 500; color: var(--graphite); }
.cmp .hh { background: var(--onyx); color: var(--linen); border-bottom-color: var(--dark-line); }
.cmp thead .hh { border-radius: var(--r-lg) var(--r-lg) 0 0; }
.cmp tbody tr:last-child > * { border-bottom-color: transparent; }
.cmp tbody tr:last-child .hh { border-radius: 0 0 var(--r-lg) var(--r-lg); }
.cmp-brand { font: 800 23px/1 var(--logo); letter-spacing: -.045em; }
.cmp-brand .stop { color: var(--pale-gold); }
.cmp thead img { display: block; width: auto; height: 26px; margin-inline: auto; object-fit: contain; }
.cmp-yes { display: inline-grid; width: 26px; height: 26px; place-items: center; border-radius: 50%; background: var(--tint); color: var(--onyx); font-size: 16px; line-height: 1; vertical-align: middle; }
.hh .cmp-yes { background: var(--pale-gold); }
.cmp-unconfirmed { color: var(--muted); font-size: 20px; line-height: 1; vertical-align: middle; }
.cmp-note { margin-top: 20px; font-size: var(--fs-meta); line-height: 1.5; color: var(--muted); }

@media (max-width: 700px) {
  .cmp-picker { gap: 12px; padding: 10px 12px; }
  .cmp-picker-title { font-size: var(--fs-small); }
  .cmp-picker-current { gap: 10px; }
  .cmp-picker-logos img { height: 22px; max-width: 92px; }
  .cmp-switch { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 18px; }
  .cmp-switch p { font-size: var(--fs-small); }
  .cmp-switch .link { justify-self: start; }
  .cmp th, .cmp td { padding: 12px 8px; font-size: var(--fs-ui); overflow-wrap: anywhere; }
  .cmp thead img { height: 20px; }
  .cmp-brand { font-size: 15px; }
}

@media (max-width: 360px) {
  .cmp-picker-current { flex-direction: column; align-items: flex-end; gap: 6px; }
}

/* ---------- 4b · support (Onyx): not just a platform; the admin we take on with you ----------
   Six areas of work as quiet cards on the dark band, then the founding partner as the proof and the terms. */
.help { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1120px; margin: 0 auto; padding: 0; }
.help li { display: grid; align-content: start; gap: 8px; padding: clamp(24px, 2.4vw, 32px); border-radius: var(--r-lg); background: var(--onyx-2); box-shadow: inset 0 0 0 1px var(--dark-line); }
.help b { font-size: var(--fs-title); font-weight: 500; line-height: 1.2; letter-spacing: -.015em; color: var(--linen); }
.help b::before { content: ""; display: block; width: 24px; height: 2px; margin-bottom: 20px; border-radius: 1px; background: var(--pale-gold); }
.help span { font-size: var(--fs-body); line-height: 1.55; color: var(--on-dark-2); }
.help-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 48px; max-width: 1120px; margin: var(--sp-block) auto 0; padding-top: var(--sp-block); border-top: 1px solid var(--dark-line); }
.help-proof { display: flex; align-items: center; gap: 24px; font-size: var(--fs-body); font-weight: 500; color: var(--linen); }
.help-proof img { flex: none; width: 132px; height: auto; }
.help-terms { max-width: 30em; font-size: var(--fs-small); line-height: 1.5; color: var(--on-dark-2); }
@media (max-width: 900px) {
  .help { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .help { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .help b::before { margin-bottom: 16px; }
  .help-proof { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ---------- 5 · switching (Linen): we come to you; the steps and the buttons, the 3 terms as cards beside them ---------- */
.sw-main { display: grid; align-content: center; gap: var(--sp-block); }
.terms { display: grid; align-content: start; gap: 16px; margin: 0; }
.terms > div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 8px 24px; padding: clamp(20px, 2vw, 28px) clamp(20px, 2.4vw, 32px); border-radius: var(--r-lg); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.terms dt { font-size: var(--fs-h3); font-weight: 500; line-height: 1.05; letter-spacing: -.025em; white-space: nowrap; }
.terms dd { margin: 0; font-size: var(--fs-small); line-height: 1.4; color: var(--graphite); }
.terms dd b { display: block; margin-bottom: 2px; font-size: var(--fs-body); font-weight: 600; line-height: 1.3; color: var(--onyx); }

/* ---------- 6 · closing: the bay behind the slogan ---------- */
.close { position: relative; isolation: isolate; display: grid; overflow: hidden; background: var(--onyx); color: var(--linen); }
.close-media { position: absolute; inset: 0; z-index: -2; }
.close-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; filter: brightness(1.08) saturate(1.04); }
.close::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
  radial-gradient(ellipse 56% 32% at 50% 26%, rgb(18 18 18 / .64), rgb(18 18 18 / 0) 100%),
  linear-gradient(180deg, rgb(18 18 18 / .45) 0%, rgb(18 18 18 / .2) 30%, rgb(18 18 18 / .55) 58%, rgb(18 18 18 / .82) 100%); }
.close-in { display: flex; flex-direction: column; gap: var(--sp-head); padding-block: var(--sec); }
.close-h { font-size: var(--fs-h2); line-height: 1.04; letter-spacing: -.03em; text-align: center; align-self: center; text-shadow: 0 1px 2px rgb(0 0 0 / .3), 0 2px 30px rgb(0 0 0 / .3); }
.close-h .l { display: block; }
.close-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 40px; align-items: end; padding-top: 32px; border-top: 1px solid rgb(243 238 231 / .3); }
.close-team { display: flex; align-items: center; gap: 16px; }
.duo { display: flex; flex: none; }
.duo img { width: 52px; height: 52px; border: 2px solid var(--linen); border-radius: 50%; object-fit: cover; }
.duo img + img { margin-left: -12px; }
.close-team p, .close-partner p { font-size: var(--fs-small); line-height: 1.45; color: rgb(243 238 231 / .86); }
.close-team b { display: block; font-weight: 600; color: var(--linen); }
.close-partner { display: grid; justify-items: center; gap: 8px; text-align: center; }
.close-partner .k { font-size: var(--fs-small); font-weight: 500; color: rgb(243 238 231 / .78); }
.close-partner img { display: block; width: 150px; height: auto; }
.close-cta { display: grid; justify-items: end; gap: 12px; }
.close-cta p { font-size: var(--fs-body); }
.close-cta a:not(.btn) { text-decoration: none; }
@media (hover: hover) { .close-cta a:not(.btn):hover { text-decoration: underline; text-underline-offset: 4px; } }

/* ---------- footer (Onyx) ---------- */
.foot { padding: 72px 0 calc(40px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--dark-line); background: var(--onyx); color: var(--on-dark-2); font-size: var(--fs-small); }
.foot-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--dark-line); }
.foot .wordmark { color: var(--linen); }
.foot-brand p { max-width: 26em; margin-top: 16px; }
.foot h2 { margin-bottom: 16px; font-size: var(--fs-small); font-weight: 600; color: var(--pale-gold); }
.foot ul { list-style: none; display: grid; gap: 12px; padding: 0; }
.foot a { text-decoration: none; }
@media (hover: hover) { .foot a:hover { color: var(--linen); } }
.ack { display: grid; gap: 12px; max-width: 72em; padding: 32px 0; font-size: var(--fs-meta); line-height: 1.55; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: var(--fs-meta); }
.legal a { display: inline-block; padding-block: 12px; margin-block: -12px; }   /* a finger-sized target without moving the line */

/* ---------- privacy and terms: a plain reading page on Paper, then the footer ---------- */
.doc-head { border-bottom: 1px solid var(--line); background: var(--paper); }
.doc-head-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--head-h); }
.doc-head .stop { color: var(--gold); }
.doc { padding-block: var(--sp-head) var(--sec); }
.doc-in { max-width: 42rem; }
.doc-date { margin-top: 16px; font-size: var(--fs-small); color: var(--muted); }
.doc .lede { margin-top: 32px; }
.doc h2 { margin-top: 40px; font-size: var(--fs-title); font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.doc p:not(.lede):not(.doc-date), .doc ul { margin-top: 12px; color: var(--graphite); }
.doc ul { padding-left: 20px; }
.doc li + li { margin-top: 8px; }
.doc strong { font-weight: 600; color: var(--onyx); }
.doc a { font-weight: 500; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1.5px; text-underline-offset: 4px; overflow-wrap: anywhere; }
@media (hover: hover) { .doc a:hover { text-decoration-color: currentColor; } }

/* ---------- widths ---------- */
@media (max-width: 1240px) {
  .aw-body { grid-template-columns: 212px minmax(0, 1fr); }
  .aw-days, .aw-row { grid-template-columns: 128px minmax(0, 1fr); }
  .aw-days { grid-template-columns: 128px repeat(7, minmax(0, 1fr)); }
  .fc-inv { width: min(400px, 70%); }
  .fc-app { width: min(420px, 66%); }
}
@media (max-width: 1080px) {
  .still-main { grid-template-columns: minmax(0, 4.4fr) minmax(0, 7.6fr); gap: 40px; }
  .aw-home span { display: none; }
  .aw-site, .aw-more { gap: 8px; padding-inline: 8px; }
  .aw-days, .aw-row { grid-template-columns: 42px minmax(0, 1fr); }
  .aw-days { grid-template-columns: 42px repeat(7, minmax(0, 1fr)); }
  .page { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
}

/* the still-here parts, one after another: phones, portrait tablets, short screens and reduced motion */
@media (max-width: 900px), (max-width: 1100px) and (orientation: portrait), (max-height: 680px), (prefers-reduced-motion: reduce) {
  .still { height: auto; }
  .still-stage { position: relative; top: auto; display: block; height: auto; padding: 0; }
  .still-top { text-align: left; }
  .still-top .h2 { white-space: normal; }
  .still-top .lede { margin-top: 16px; }
  .still-tabs { display: none; }
  .still-main { display: flex; flex-direction: column; gap: 0; margin-top: var(--sp-head); }
  .still-copy, .still-vis { display: contents; height: auto; }
  .sc[data-i="0"] { order: 1; } .sv[data-i="0"] { order: 2; }
  .sc[data-i="1"] { order: 3; } .sv[data-i="1"] { order: 4; }
  .sc[data-i="2"] { order: 5; } .sv[data-i="2"] { order: 6; }
  .sc[data-i="3"] { order: 7; } .sv[data-i="3"] { order: 8; }
  .sc { opacity: 1; visibility: visible; transform: none; transition: none; }
  .sc:not([data-i="0"]) { margin-top: clamp(32px, 5vw, 48px); padding-top: clamp(32px, 5vw, 48px); border-top: 1px solid var(--line); }
  .sc-t { margin-bottom: 12px; font-size: var(--fs-h3); }
  .sc .ticks { margin: 16px 0 0; }
  .sv { opacity: 1; visibility: visible; transform: none; transition: none; margin-top: 16px; }
  .sv-app .appwin { position: relative; left: auto; top: auto; width: 100%; transform: none; }
  .sv-photo { display: grid; }
  .sv-photo > img { position: relative; inset: auto; aspect-ratio: 4 / 3; height: auto; border-radius: var(--r-lg); }
  .sv-photo::after { display: none; }
  .sv-photo .fc { position: relative; left: auto; bottom: auto; width: auto; max-width: 440px; margin: -56px 12px 0; }
  .toast { right: 12px; top: 12px; }
}
@media (max-width: 900px) {
  :root { --head-h: 64px; }
  .nav, .head-cta { display: none; }
  .menu-ready .menu-btn { display: inline-flex; }
  /* once you've scrolled past the hero, Book a chat rides in the header beside the menu (not while the menu is open) */
  .menu-ready .head.is-solid:not(.is-menu) .head-cta { display: inline-flex; margin-left: auto; padding: 0 12px; }
  .menu-ready .head.is-solid:not(.is-menu) .menu-btn { margin-left: 0; }
  .js .head:not(.is-solid) { text-shadow: 0 1px 14px rgb(0 0 0 / .32); }
  .head-in { gap: 12px; }
  /* photos never taller than the screen, so a phone held sideways still sees each one whole */
  .sv-photo > img, .page .shot > img, .shot-brand { max-height: 78svh; }
}
@media (min-width: 360px) and (max-width: 440px) {
  /* beside the button the menu is its icon alone; its name stays for screen readers */
  .menu-ready .head.is-solid:not(.is-menu) .menu-btn { justify-content: center; min-width: 44px; }
  .menu-ready .head.is-solid:not(.is-menu) .menu-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (max-width: 359px) {
  .menu-ready .head.is-solid:not(.is-menu) .head-cta { display: none; }
  .menu-ready .head.is-solid:not(.is-menu) .menu-btn { margin-left: auto; }
}
@media (max-width: 900px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); padding-top: calc(var(--head-h) + 72px); }
  .partner { justify-self: start; }
  .intro { justify-items: start; text-align: left; }
  .close-h { text-align: left; align-self: start; }
  .intro { align-items: start; }
  .aw-body { grid-template-columns: minmax(0, 1fr); }
  .aw-side { grid-template-columns: repeat(2, minmax(0, 1fr)); border-right: 0; border-bottom: 1px solid var(--line); }
  .aw-k, .aw-more { grid-column: 1 / -1; }
  .page { position: relative; top: auto; grid-template-columns: minmax(0, 1fr); gap: 8px; width: auto; height: auto; aspect-ratio: auto; min-height: 0; transform: none; box-shadow: none; }
  .page .shot { container-type: normal; }
  .page::after { display: none; }
  .page .shot { order: -1; min-height: 0; display: grid; overflow: visible; background: none; }
  .page .shot > img { position: relative; inset: auto; aspect-ratio: 4 / 3; height: auto; border-radius: var(--r); }
  .page .shot::after { display: none; }
  .page .shot .fc { position: relative; left: auto; top: auto; bottom: auto; width: auto; max-width: 440px; margin: -56px 12px 0; }
  .page-copy { padding: 16px 8px 12px; }
  .close-row { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .close-cta { justify-items: start; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
/* large tablets upright (e.g. 1024 by 1366): the parts stack as on smaller tablets, under the centred heading */
@media (min-width: 901px) and (max-width: 1100px) and (orientation: portrait) {
  .still-top { text-align: center; }
  .still-main { align-items: stretch; }
  .sc > p, .sc .ticks { max-width: 36em; }
  .sv-photo > img { aspect-ratio: 16 / 10; }
}
/* touch screens with the full header (tablets held sideways): every header link at least 44px tall */
@media (min-width: 901px) and (pointer: coarse) {
  .nav a { padding-block: 13px; }
  .nav a::after { bottom: 7px; }
  .head-cta { height: 44px; }
}
@media (max-height: 680px) and (min-width: 901px) {
  /* short screens: the pages stop folding and grow to fit their card, so nothing is cut off or scaled down */
  .page { position: relative; top: auto; transform: none; width: 100%; height: auto; aspect-ratio: auto; min-height: 520px; }
  .page::after { display: none; }
}
@media (max-width: 600px) {
  .gapp-top { padding: 12px 12px 0; }
  .gapp-panes { padding: 12px; }
  .gapp-cards { gap: 8px; }
  .gu { padding: 4px 4px 12px; }
  .gu b { font-size: var(--fs-small); }
  .gu small { font-size: var(--fs-meta); }
  :root { --gutter: 20px; --fs-h3: 24px; }   /* phones: part titles a clear step below the 32px section heading */
  .hero { min-height: max(600px, 92svh); }
  /* the sky is pale at the top of the phone photo: a deeper shade under the menu and the first lines of the heading */
  .hero::after { background: linear-gradient(180deg, rgb(18 18 18 / .56) 0%, rgb(18 18 18 / .3) 16%, rgb(18 18 18 / .36) 30%, rgb(18 18 18 / .54) 54%, rgb(18 18 18 / .82) 100%); }
  .hero .h1 { text-shadow: 0 2px 28px rgb(0 0 0 / .22); }
  .hero-sub { margin: 16px 0 32px; }
  .hero .btns .btn { flex: 1 1 auto; height: 52px; }
  .partner img { width: 124px; }
  .aw-side { grid-template-columns: minmax(0, 1fr); }
  .aw-cal { padding-inline: 12px; }
  .aw-days, .aw-row { grid-template-columns: 34px minmax(0, 1fr); }
  .aw-days { grid-template-columns: 34px repeat(7, minmax(0, 1fr)); font-size: var(--fs-meta); }
  .aw-days span { padding-left: 3px; }
  .aw-home img { width: 26px; height: 26px; }
  .bk { gap: 4px; height: 30px; margin: 0 2px; padding: 0 8px 0 4px; font-size: var(--fs-meta); }
  .bk img, .bk svg { width: 17px; height: 17px; padding: 2.5px; }
  .aw-foot { flex-direction: column; align-items: flex-start; }
  #switching .btns .btn { width: 100%; height: 52px; }
  .terms dt { font-size: 28px; }
  .close-in { gap: 48px; }
  .foot-top { grid-template-columns: 1fr; }
}

/* reduced motion: the page is simply complete (site.js never adds .anim) */
@media (prefers-reduced-motion: reduce) {
  .sites-track, .typing i { animation: none; }
  .sites-mask { overflow-x: auto; }
  *, *::before, *::after { transition-duration: 0ms !important; }
}

/* ---------- Akash's pass (19 Oct): quieter, real-looking product pieces ---------- */
.ava-img { flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }

/* Trust accounting activity log */
.fc-trust { width: min(380px, 58%); gap: 0; padding: 16px 16px 8px; }
.fc-trust .fc-h { padding-bottom: 12px; }
.led { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); transition: opacity var(--t-base) var(--ease), transform var(--t-slow) var(--ease-out); }
.led time { font: 500 var(--fs-meta)/1 var(--font); font-variant-numeric: tabular-nums; color: var(--muted); }
.led b { display: block; font-size: var(--fs-ui); font-weight: 600; line-height: 1.25; }
.led small { display: block; margin-top: 2px; font-size: var(--fs-meta); color: var(--muted); }
.led em { display: inline-flex; align-items: center; gap: 4px; font: 600 var(--fs-meta)/1 var(--font); font-style: normal; color: var(--green); white-space: nowrap; }
.led em::before { content: ""; width: 12px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 8.6l3.6 3.4L13.5 4' fill='none' stroke='%232E6B4E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.anim .led[data-s]:not(.is-on) { opacity: 0; transform: translateY(8px); }

/* the conversation: a real inbox thread, her face, the time under each message, a composer at the foot */
.fc-chat { top: clamp(16px, 2.2vw, 32px); bottom: auto; width: min(400px, 58%); display: flex; flex-direction: column; gap: 0; padding: 0; overflow: hidden; }
.chat-h { flex: none; display: flex; align-items: center; gap: 12px; padding: 16px 16px; border-bottom: 1px solid var(--line); }
.chat-h b { display: block; font-size: var(--fs-small); font-weight: 600; line-height: 1.2; }
.chat-h small { display: block; margin-top: 2px; font-size: var(--fs-meta); color: var(--muted); }
.chat-ch { margin-left: auto; width: 18px; height: 18px; }
.chat-body { display: flex; flex-direction: column; padding: 4px 16px 16px; background: var(--paper); }
.msg { max-width: 84%; padding: 12px 12px; border-radius: var(--r-lg); font: 400 var(--fs-small)/1.42 var(--font); }
.msg.g { justify-self: start; border-bottom-left-radius: var(--r-sm); background: var(--tint); color: var(--onyx); }
.msg.a { justify-self: end; border-bottom-right-radius: var(--r-sm); background: var(--onyx); color: var(--white); }
.meta { margin-top: 4px !important; padding: 0 4px; font: 500 var(--fs-meta)/1.2 var(--font); color: var(--muted); }
.meta-a { justify-self: end; text-align: right; }
.typing { justify-self: end; display: flex; gap: 4px; padding: 12px 16px; border-radius: var(--r-lg); border-bottom-right-radius: var(--r-sm); background: var(--onyx); }

/* your own app and website: said in words; the picture is their name on a good photo, and the store badges */
.shot-brand::after { background: linear-gradient(180deg, rgb(18 18 18 / .38) 0%, rgb(18 18 18 / .08) 38%, rgb(18 18 18 / .1) 62%, rgb(18 18 18 / .5) 100%) !important; }
.bm { position: absolute; z-index: 2; left: clamp(20px, 3vw, 40px); top: clamp(20px, 3vw, 40px); display: grid; gap: 8px; color: var(--white); }
.bm-logo { font: 500 var(--fs-h3)/1 var(--serif); letter-spacing: .01em; text-shadow: 0 2px 18px rgb(0 0 0 / .25); }
.bm-url { font: 500 var(--fs-ui)/1 var(--font); letter-spacing: .02em; color: rgb(255 255 255 / .86); }
.shot-brand .stores { position: absolute; z-index: 2; left: clamp(20px, 3vw, 40px); bottom: clamp(20px, 3vw, 40px); }

/* switching: what happens before, on and after switch day */
.sw { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 88px); align-items: stretch; }
.sw-steps { list-style: none; display: grid; align-content: center; margin: 0; padding: 0; }
.sw-steps li { display: grid; grid-template-columns: minmax(96px, 2fr) minmax(0, 7fr); grid-template-rows: auto auto; gap: 6px clamp(16px, 2.4vw, 40px); padding: clamp(16px, 1.6vw, 24px) 0; border-top: 1px solid var(--line-2); }
.sw-steps li:last-child { border-bottom: 1px solid var(--line-2); }
.sw-k { grid-row: span 2; padding-top: 4px; font: 600 var(--fs-small)/1.2 var(--font); color: var(--gold-text); }
.sw-steps b { font-size: var(--fs-title); font-weight: 500; line-height: 1.2; letter-spacing: -.015em; }
.sw-steps li > span:last-child { max-width: 32em; font-size: var(--fs-body); line-height: 1.55; color: var(--graphite); }

@media (max-width: 900px) {
  .fc-chat { position: relative; top: auto; bottom: auto; height: auto; }
  .chat-body { display: grid; align-content: start; }
  .cw-t, .cw-a { grid-area: 2 / 1; }   /* the dots sit where the reply will land */
  .shot-brand { display: block !important; aspect-ratio: 4 / 3; overflow: hidden !important; border-radius: var(--r); }
  .shot-brand > img { position: absolute !important; inset: 0; height: 100% !important; aspect-ratio: auto !important; }
  .sw { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  /* phones and tablets: the steps, then the terms, then the buttons */
  .sw-main { display: contents; }
  .sw-steps { order: 1; } .terms { order: 2; } .sw-main .btns { order: 3; margin-top: 8px; }
}
@media (max-width: 600px) {
  .sw-steps li { grid-template-columns: minmax(0, 1fr); }
  .sw-k { grid-row: auto; padding-top: 0; }
  .stores .badge small { display: none; }
}


/* questions: the heading and Sam's number, then one plain list. The question, a thin plus, a hairline between */
.faq-intro { gap: 12px; }
.faq-call { font-size: var(--fs-small); line-height: 1.5; color: var(--muted); }
.faq-call a { display: inline-block; margin-block: -12px; padding-block: 12px; font-weight: 600; color: var(--onyx); text-decoration: none; white-space: nowrap; }
@media (hover: hover) { .faq-call a:hover { text-decoration: underline; text-underline-offset: 4px; } }
.faq { border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 88px; padding: 24px 0; list-style: none; cursor: pointer; font-size: var(--fs-title); font-weight: 400; line-height: 1.3; letter-spacing: -.01em; color: var(--onyx); -webkit-tap-highlight-color: transparent; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 20px; height: 20px; background: linear-gradient(var(--onyx), var(--onyx)) center / 16px 1.5px no-repeat, linear-gradient(var(--onyx), var(--onyx)) center / 1.5px 16px no-repeat; transition: transform var(--t-base) var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
@media (hover: hover) { .faq summary:hover { color: var(--gold-text); } }
.faq details p { max-width: 44em; padding: 0 48px 28px 0; font-size: var(--fs-body); line-height: 1.6; color: var(--graphite); }
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content { height: 0; overflow: clip; transition: height var(--t-base) var(--ease-out), content-visibility var(--t-base) allow-discrete; }
  .faq details[open]::details-content { height: auto; }
}
@media (max-width: 600px) {
  .faq summary { min-height: 72px; padding: 20px 0; }
  .faq details p { padding-right: 0; }
}

/* layout grid overlay (the wireframe): add ?grid to the address or press G. 12 columns, 32px gutters, on the page width; 4 columns on phones */
:root { --cols: 12; --col-gap: 32px; }
.grid-ov { position: fixed; inset: 0; z-index: 99; display: none; pointer-events: none; background: repeating-linear-gradient(180deg, transparent 0 7px, rgb(232 67 67 / .07) 7px 8px); }
.show-grid .grid-ov { display: block; }
.grid-ov > div { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: var(--col-gap); width: min(var(--max), 100% - var(--gutter) * 2); height: 100%; margin-inline: auto; }
.grid-ov i { background: rgb(232 67 67 / .08); box-shadow: inset 1px 0 rgb(232 67 67 / .35), inset -1px 0 rgb(232 67 67 / .35); }
@media (max-width: 600px) { :root { --cols: 4; --col-gap: 16px; } .grid-ov i:nth-child(n+5) { display: none; } }

/* the grid pass: on desktop every block starts and ends on one of the 12 columns */
@media (min-width: 901px) {
  .still-tabs { gap: var(--col-gap); }
  .still-main { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--col-gap); }
  .still-copy { grid-column: 1 / 5; }
  .still-vis { grid-column: 6 / 13; }
  .fold { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
  .page { grid-column: 1 / 13; justify-self: center; }
  .sw { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--col-gap); }
  .sw-main { grid-column: 1 / 7; }
  .terms { grid-column: 8 / 13; }
  .sw-steps li { grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: var(--col-gap); }
  .sw-k { grid-column: 1 / 3; }
  .sw-steps li > b, .sw-steps li > span:last-child { grid-column: 3 / 7; }
  .close-row { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
  .close-team { grid-column: 1 / 5; }
  .close-partner { grid-column: 5 / 9; }
  .close-cta { grid-column: 9 / 13; }
  .foot-top { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
  .foot-brand { grid-column: 1 / 6; }
  .foot-top > div:nth-child(2) { grid-column: 7 / 9; }
  .foot-top > div:nth-child(3) { grid-column: 9 / 11; }
  .foot-top > div:nth-child(4) { grid-column: 11 / 13; }
}
@media (min-width: 901px) and (max-width: 1240px) {
  .still-copy { grid-column: 1 / 5; }
  .still-vis { grid-column: 5 / 13; }
  .page { grid-column: 1 / 13; }
}

/* ---------- phones and tablets ---------- */
/* every link you tap is at least 44px tall */
.foot ul { gap: 0; }
.foot ul a { display: inline-block; padding-block: 12px; }
.close-cta p a, .sw-main .link { display: inline-block; padding-block: 12px; }

/* tablets and phones: the words come first, then the picture, as in the still-here parts */
@media (max-width: 900px) {
  .page .shot { order: 0; margin-top: 8px; }
  .still-main { align-items: stretch; }
  .page-copy { padding: 16px 8px 8px; }
  .page-copy > *, .sc > p, .sc .ticks { max-width: 36em; }
}
/* tablets: wider, shorter photos so each part fits the screen */
@media (min-width: 601px) and (max-width: 900px) {
  :root { --fs-h1: clamp(44px, 7.4vw, 64px); }
  .close::after { background:
    radial-gradient(ellipse 70% 32% at 30% 20%, rgb(18 18 18 / .62), rgb(18 18 18 / 0) 100%),
    linear-gradient(180deg, rgb(18 18 18 / .45) 0%, rgb(18 18 18 / .2) 30%, rgb(18 18 18 / .55) 58%, rgb(18 18 18 / .82) 100%); }   /* a tablet's hero is a whole screen tall: a larger heading holds it */
  .sv-photo > img, .page .shot > img { aspect-ratio: 16 / 10; }
  .foot-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .terms { grid-template-columns: repeat(3, minmax(0, 1fr)); }   /* the 3 terms side by side */
  .terms > div { grid-template-columns: minmax(0, 1fr); align-content: start; }
  .close-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .close-partner { grid-column: 1 / -1; grid-row: 1; justify-items: start; text-align: left; }
  .close-cta { justify-items: end; }
}
/* phones */
@media (max-width: 600px) {
  /* booking sites as one row of logos; they still switch on in turn */
  .aw-side { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 12px 16px; }
  .aw-k { width: 100%; padding: 0 0 4px; }
  .aw-site { display: block; min-height: 0; padding: 0; border-radius: var(--r-sm); }
  .aw-site .aw-n, .aw-site .tog { display: none; }
  .aw-site .logo { display: block; width: 40px; height: 40px; padding: 9px; }
  .aw-more { display: block; min-height: 0; margin: 0 0 0 4px; padding: 0; border: 0; }
  .aw-more .logo-stack, .aw-more small { display: none; }
  .aw-more b { font-size: var(--fs-ui); color: var(--gold-text); }
  /* the closing section: a deeper shade at the foot so the words read over the water */
  .close::after { background: linear-gradient(180deg, rgb(18 18 18 / .48) 0%, rgb(18 18 18 / .34) 26%, rgb(18 18 18 / .6) 50%, rgb(18 18 18 / .86) 100%); }
  .close-partner { justify-items: start; text-align: left; }
  .close-team, .close-partner p { text-shadow: 0 1px 12px rgb(0 0 0 / .4); }
  /* footer: product and company side by side */
  .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .foot-brand, .foot-top > div:nth-child(4) { grid-column: 1 / -1; }
}
.wordmark { display: inline-block; padding-block: 9px; }

/* Progressive enhancement: all four parts remain readable if the main script fails. */
  html:not(.anim) .still { height: auto; }
  html:not(.anim) .still-stage { position: relative; top: auto; display: block; height: auto; padding: 0; }
  html:not(.anim) .still-top { text-align: left; }
  html:not(.anim) .still-top .h2 { white-space: normal; }
  html:not(.anim) .still-top .lede { margin-top: 16px; }
  html:not(.anim) .still-tabs { display: none; }
  html:not(.anim) .still-main { display: flex; flex-direction: column; gap: 0; margin-top: var(--sp-head); }
  html:not(.anim) .still-copy, html:not(.anim) .still-vis { display: contents; height: auto; }
  html:not(.anim) .sc[data-i="0"] { order: 1; } html:not(.anim) .sv[data-i="0"] { order: 2; }
  html:not(.anim) .sc[data-i="1"] { order: 3; } html:not(.anim) .sv[data-i="1"] { order: 4; }
  html:not(.anim) .sc[data-i="2"] { order: 5; } html:not(.anim) .sv[data-i="2"] { order: 6; }
  html:not(.anim) .sc[data-i="3"] { order: 7; } html:not(.anim) .sv[data-i="3"] { order: 8; }
  html:not(.anim) .sc { opacity: 1; visibility: visible; transform: none; transition: none; }
  html:not(.anim) .sc:not([data-i="0"]) { margin-top: clamp(32px, 5vw, 48px); padding-top: clamp(32px, 5vw, 48px); border-top: 1px solid var(--line); }
  html:not(.anim) .sc-t { margin-bottom: 12px; font-size: var(--fs-h3); }
  html:not(.anim) .sc .ticks { margin: 16px 0 0; }
  html:not(.anim) .sv { opacity: 1; visibility: visible; transform: none; transition: none; margin-top: 16px; }
  html:not(.anim) .sv-app .appwin { position: relative; left: auto; top: auto; width: 100%; transform: none; }
  html:not(.anim) .sv-photo { display: grid; }
  html:not(.anim) .sv-photo > img { position: relative; inset: auto; aspect-ratio: 4 / 3; height: auto; border-radius: var(--r-lg); }
  html:not(.anim) .sv-photo::after { display: none; }
  html:not(.anim) .sv-photo .fc { position: relative; left: auto; bottom: auto; width: auto; max-width: 440px; margin: -56px 12px 0; }
  html:not(.anim) .toast { right: 12px; top: 12px; }

html:not(.js) .head { background: var(--paper); color: var(--onyx); }
