/* DirectBnB. Page styles. scrollcraft.css is the scroll engine's and is unchanged.
   Two layouts share one document:
     default   stacked and still. Used with no script, with reduced motion, and by ?flat=1.
     html.mo   the pinned sequence, driven by app.js from the act's progress. */

@font-face {
  font-family: "Satoshi";
  src: url("assets/Satoshi-Variable.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #14171A;
  --paper: #FFFFFF;
  --chalk: #F6F4EE;
  --slate: #4B5560;
  --yellow: #FFC72C;
  --night: #0F1113;

  --sc-canvas: #0F1113;
  --sc-surface: #1A1E22;
  --sc-ink: #F6F4EE;
  --sc-ink-soft: #C3BFB5;
  --sc-accent: #FFC72C;
  --sc-accent-ink: #14171A;
  --sc-font-display: "Satoshi", ui-sans-serif, system-ui, sans-serif;
  --sc-font-text: "Satoshi", ui-sans-serif, system-ui, sans-serif;
  --sc-font-mono: "Satoshi", ui-sans-serif, system-ui, sans-serif;
  /* one body size per width, for every line of running text, label, link and button: 18px on a phone to 21px */
  --sc-t-base: clamp(1.125rem, 1.02rem + 0.42vw, 1.3125rem);
  --sc-t-lg: var(--sc-t-base);
  /* one heading size per width, for every headline on the page: 36px on a phone to 70px. The only other size is
     the figures of the sum. So no screen can hold more than body, heading and one display size. */
  --sc-t-head: clamp(2.25rem, 1.1rem + 3.6vw, 4.4rem);
  --sc-maxw: 88rem;
  --sc-shadow-color: 210 30% 3%;
  --r: 14px;
  --row: var(--sc-t-head);
  /* The page's one left and right edge: where .sc-wrap puts its content. The bar, both pinned scenes and the
     footer use it too, so nothing has a margin of its own. Percentages resolve against the full-width box it is
     used in. */
  --edge: calc(max(0px, (100% - var(--sc-maxw)) / 2) + var(--sc-gutter));
  /* the logo file has clear space round the mark: 0.148 of its height. It is pulled back so the mark, not the
     file, sits on the edge. */
  --logo-h: clamp(1.75rem, 1.4rem + 0.8vw, 2.2rem);
  /* the column of words beside a product panel: the same in the door scene and in the tour */
  --words: calc(var(--sc-t-head) * 5.25);
}

/* "bare": set by the page's first script when the scroll engine has not started after five seconds. Nothing waits
   on a reveal then. With no script at all, the <noscript> rule in the page does the same. */
html.bare [data-sc-in], html.bare [data-sc-stagger] > *, html.bare [data-sc-cue] { opacity: 1 !important; transform: none !important; }
/* A block still waiting on its reveal shows itself the moment the keyboard reaches into it: focus never lands on
   something that cannot be seen. */
[data-sc-in]:focus-within, [data-sc-stagger]:focus-within > * { opacity: 1 !important; transform: none !important; }

/* Jumps are instant by default; app.js eases in-page links itself. A stylesheet-level smooth scroll also eases
   every scripted scrollTo, which makes a long pinned page slow to cross and hides entry reveals from any tool that
   scrolls the page to load it. */
html { scroll-behavior: auto; }
body { font-weight: 450; }
h1, h2, h3, p, figure { margin: 0; }
.sc-display { font-weight: 700; letter-spacing: -0.04em; line-height: 0.98; }
.sc-display--xl, .sc-display--lg { font-size: var(--sc-t-head); }
.sc-lede { color: var(--sc-ink); font-weight: 450; max-width: 34ch; }
a { color: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.skip { position: fixed; left: 1rem; top: -4rem; z-index: 100; padding: 0.75rem 1rem; border-radius: 999px; background: var(--yellow); color: var(--ink); font-weight: 700; text-decoration: none; }
.skip:focus { top: 1rem; }

/* ---------------------------------------------------------------- button */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.4rem; padding: 0 1.6rem;
  border-radius: 999px; border: 0;
  background: var(--yellow); color: var(--ink);
  font-size: var(--sc-t-base); font-weight: 700; letter-spacing: -0.01em; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 160ms var(--sc-ease-out), transform 140ms var(--sc-ease-out), box-shadow 160ms var(--sc-ease-out), color 160ms var(--sc-ease-out);
}
.btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: #FFD65E; } }

/* The button is the way on. A call is a plain link, and it appears only after the plans: never in the bar or on the
   first screen, so an owner reads what they get before anyone asks them to talk. */
.acts { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.75rem; }
.call { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.3em; padding: 0.5rem 0; }
q { quotes: '"' '"'; }
@media (hover: hover) and (pointer: fine) { .call:hover { text-decoration-thickness: 3px; } }

.arrow-link {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.3em;
}
.arrow-link svg { width: 1.15em; height: 1.15em; transition: transform 180ms var(--sc-ease-out); }
@media (hover: hover) and (pointer: fine) { .arrow-link:hover svg { transform: translateX(4px); } }

/* ------------------------------------------------------------------- bar
   Always on screen. It carries the ground of the section under it, and a solid yellow button.
   Only over the first screen, where the hero has its own yellow button, is it clear with an outline button. */
:root { --bar-h: clamp(4.25rem, 3.6rem + 1.4vw, 5rem); }
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--bar-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0 var(--edge);
  background: var(--night); color: var(--chalk);
  box-shadow: 0 1px 0 color-mix(in oklab, var(--chalk) 14%, transparent);
  transition: background-color 260ms var(--sc-ease-out), color 260ms var(--sc-ease-out), box-shadow 260ms var(--sc-ease-out);
}
.bar-logo { display: block; flex: none; margin-left: calc(var(--logo-h) * -0.148); }
.bar-logo img { height: var(--logo-h); width: auto; }
.bar-logo-light { display: none; }
.bar nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.4vw, 2.4rem); }
.bar nav a:not(.btn) { font-weight: 600; text-decoration: none; padding: 0.4rem 0; }
@media (hover: hover) and (pointer: fine) { .bar nav a:not(.btn):hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.35em; } }
.bar .btn { min-height: 2.85rem; padding: 0 1.25rem; }
.bar.is-light { background: var(--chalk); color: var(--ink); box-shadow: 0 1px 0 color-mix(in oklab, var(--ink) 14%, transparent); }
.bar.is-light .bar-logo-dark { display: none; }
.bar.is-light .bar-logo-light { display: block; }
.bar.is-light :focus-visible { outline-color: var(--ink); }
.bar.is-clear { background: transparent; box-shadow: none; }
.bar[inert] { visibility: hidden; }   /* the calendar is open over the page: its own close button has the corner */
.bar.is-clear .btn { background: transparent; color: var(--chalk); box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--chalk) 75%, transparent); }
@media (hover: hover) and (pointer: fine) { .bar.is-clear .btn:hover { background: var(--chalk); color: var(--ink); } }
/* Until app.js has placed it, the moving page's bar is what it will be at the top: clear, with nothing to fade from. */
html.mo .bar:not(.is-set) { background: transparent; box-shadow: none; transition: none; }
html.mo .bar:not(.is-set) .btn { background: transparent; color: var(--chalk); box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--chalk) 75%, transparent); transition: none; }
@media (max-width: 560px) { .bar nav a:not(.btn) { display: none; } }
.what, .sum, .plans, .questions { scroll-margin-top: calc(var(--bar-h) + 1.5rem); }

/* ============================================================ 1. BREAKOUT */
.bo { position: relative; background: var(--night); }
.bo-stage {
  --slot-x: 36%; --slot-y: 50%;
  --tw: clamp(5.75rem, 8.2vw, 9.75rem);
  --tg: calc(var(--tw) * 0.1);
  --th: calc(var(--tw) / 1.6);
  --scol: 5; --srow: 6;
  --tr: calc(var(--tw) * 0.06);
  --chrome: 2.5rem;
  --ww: min(58vw, calc((100svh - 12rem) * 1.6), calc(100vw - 2 * var(--sc-gutter) - var(--words) - 5rem));
  background: var(--night);
}
html:not(.mo) .bo-stage { position: relative; }

/* the wall: one sprite of 107 real photographs, each a different place, in grey, as anonymous listings. They are
   other people's photographs under free licences: credits.html names every one. */
.bo-grid {
  position: absolute;
  display: grid;
  grid-template-columns: repeat(10, var(--tw));
  grid-auto-rows: var(--th);
  gap: var(--tg);
  grid-auto-flow: dense;
  left: calc(var(--slot-x) - (var(--scol) - 1) * (var(--tw) + var(--tg)) - var(--tw) / 2);
  top: calc(var(--slot-y) - (var(--srow) - 1) * (var(--th) + var(--tg)) - var(--th) / 2);
}
.bo-tile, .bo-slot { display: block; border-radius: var(--tr); }
.bo-tile {
  background-image: url("assets/wall.webp");
  background-size: 1200% 900%;
  background-position: calc(var(--c) / 11 * 100%) calc(var(--r) / 8 * 100%);
  opacity: var(--o, 0.5);
}
.bo-slot { grid-column: var(--scol); grid-row: var(--srow); }

/* the window: a real capture of the real site, in a plain browser frame */
.bo-window { position: relative; width: var(--ww); }
.bo-window::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: var(--r);
  box-shadow: 0 6px 14px hsl(var(--sc-shadow-color) / 0.3), 0 40px 80px -18px hsl(var(--sc-shadow-color) / 0.7), 0 90px 140px -40px hsl(var(--sc-shadow-color) / 0.6);
  opacity: var(--bo-sh, 1);
}
.bo-chrome {
  height: var(--chrome);
  display: grid; grid-template-columns: 1fr minmax(0, auto) 1fr; align-items: center; gap: 0.75rem;
  padding: 0 1rem;
  background: #E7E4DB; color: var(--ink);
  border-radius: var(--r) var(--r) 0 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.bo-dots { display: flex; gap: 0.38rem; }
.bo-dots i { width: 0.62rem; height: 0.62rem; border-radius: 50%; background: #BFBBAF; }
.bo-url {
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-width: min(20rem, 46vw); height: 1.7rem; padding: 0 1rem;
  background: var(--paper); border-radius: 999px;
  font-size: 1rem; font-weight: 600; letter-spacing: -0.005em; line-height: 1; white-space: nowrap;
}
.bo-url svg { width: 1em; height: 1em; flex: none; stroke-width: 2.2; color: var(--slate); }
.bo-view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #1B1F23; border-radius: 0 0 var(--r) var(--r); }
.bo-view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bo-view__photo { opacity: 0; }

.bo-line { font-size: var(--sc-t-head); letter-spacing: -0.04em; line-height: 1.02; }
.bo-copy > * + * { margin-top: 1.25rem; }
.bo-copy--hero .acts { margin-top: 2rem; }
.bo-copy--hero .sc-lede { max-width: 32ch; margin-top: 1.5rem; }

/* ---- default: stacked and still ---------------------------------------- */
.bo-stage { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; column-gap: clamp(1.5rem, 4vw, 4.5rem); }
.bo-scene { display: contents; }
.bo-photo { grid-column: 1 / -1; grid-row: 1; position: relative; height: 100svh; min-height: 34rem; overflow: hidden; }
.bo-photo img { width: 100%; height: 100%; object-fit: cover; }
.bo-photo--a img { object-position: 50% 78%; }   /* the still page keeps the sun in the band, as app.js does when it moves */
.bo-shade { grid-column: 1 / -1; grid-row: 1; align-self: start; height: 9rem; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, color-mix(in oklab, var(--night) 62%, transparent), transparent); }
.bo-scrim { grid-column: 1 / -1; grid-row: 1; align-self: stretch; z-index: 1; pointer-events: none;
  background: linear-gradient(to top right, color-mix(in oklab, var(--night) 92%, transparent) 0%, color-mix(in oklab, var(--night) 66%, transparent) 30%, color-mix(in oklab, var(--night) 22%, transparent) 52%, transparent 70%); }
.bo-copy--hero { grid-column: 1 / -1; grid-row: 1; align-self: end; z-index: 2; padding: 0 var(--sc-gutter) clamp(2.5rem, 9svh, 6.5rem); max-width: 62rem; }
.bo-wall { grid-column: 1; grid-row: 2; position: relative; height: min(78svh, 46rem); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, #000 60%, transparent 98%); mask-image: linear-gradient(90deg, #000 60%, transparent 98%); }
.bo-copy--wall { grid-column: 2; grid-row: 2; padding-right: var(--sc-gutter); }
.bo-window { grid-column: 1; grid-row: 3; margin: clamp(3rem, 8vw, 7rem) 0 clamp(4rem, 9vw, 8rem) var(--sc-gutter); }
.bo-copy--door { grid-column: 2; grid-row: 3; padding-right: var(--sc-gutter); }
.bo-ring { display: none; }
html:not(.mo) .bo-stage { --slot-x: 52%; --ww: min(52vw, 46rem); }
html:not(.mo) .bo-slot { background: url("assets/sunset-760.webp") 50% 76% / cover; box-shadow: 0 0 0 2px var(--night), 0 0 0 4px var(--yellow); }

/* ---- html.mo: the pinned sequence -------------------------------------- */
html.mo .bo-stage { display: block; perspective: 1700px; perspective-origin: 50% 50%; }
html.mo .bo-scene { display: block; position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
html.mo .bo-wall {
  position: absolute; inset: 0; height: auto; overflow: visible; will-change: transform, opacity;
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 44%, transparent 67%);
  mask-image: linear-gradient(90deg, #000 0, #000 44%, transparent 67%);
}
html.mo .bo-photo { position: absolute; inset: 0; height: auto; min-height: 0; overflow: visible; transform-origin: 0 0; will-change: transform, clip-path; }
html.mo .bo-photo img { position: absolute; inset: 0; max-width: none; }
html.mo .bo-ring { display: block; position: absolute; border-radius: calc(var(--tr) + 5px); box-shadow: 0 0 0 2px var(--yellow); opacity: 0; pointer-events: none; }
html.mo .bo-window {
  position: absolute; margin: 0;
  left: var(--edge);
  top: calc(50% - (var(--ww) / 1.6 + var(--chrome)) / 2);
  transform-origin: 0 0; visibility: hidden; will-change: transform;
}
html.mo .bo-view { border-radius: var(--bo-rt, 0px) var(--bo-rt, 0px) var(--bo-r, 14px) var(--bo-r, 14px); }
html.mo .bo-view__photo { opacity: 1; }
html.mo .bo-chrome { opacity: 0; }
html.mo .bo-stage::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(60% 55% at 32% 62%, rgba(255, 199, 44, 0.07), transparent 70%);
  opacity: var(--bo-lit, 0);
}
html.mo .bo-shade { position: absolute; inset: 0 0 auto 0; }
html.mo .bo-scrim { position: absolute; inset: 0; }
html.mo .bo-copy { position: absolute; z-index: 5; padding: 0; will-change: opacity, transform; }
html.mo .bo-copy--hero { left: var(--sc-gutter); right: var(--sc-gutter); bottom: clamp(2.5rem, 9svh, 6.5rem); max-width: 62rem; }
html.mo .bo-copy--wall { right: var(--edge); top: 50%; translate: 0 -50%; width: min(31rem, 33vw); opacity: 0; }
/* The wall's words are text only and wait, unseen, over the first screen. They must never take a press meant
   for the button under them (on a short phone they lie right across it). */
html.mo .bo-copy--wall { pointer-events: none; }
html.mo .bo-copy--door { left: auto; right: var(--edge); width: var(--words); top: 50%; translate: 0 -50%; opacity: 0; }

@media (max-width: 900px) {
  .bo-stage {
    --slot-x: 50%; --slot-y: 29%;
    --tw: min(27vw, 11rem); --scol: 3; --srow: 3;
    --chrome: 2.5rem;
    --ww: calc(100vw - 2 * var(--sc-gutter));
    grid-template-columns: minmax(0, 1fr);
  }
  .bo-grid { grid-template-columns: repeat(5, var(--tw)); }
  .bo-url { min-width: 0; }
  .bo-scrim { background: linear-gradient(to top, color-mix(in oklab, var(--night) 94%, transparent) 0%, color-mix(in oklab, var(--night) 78%, transparent) 30%, color-mix(in oklab, var(--night) 30%, transparent) 54%, transparent 70%); }
  /* still */
  .bo-wall { grid-column: 1; height: 64svh; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 96%); mask-image: linear-gradient(180deg, #000 55%, transparent 96%); }
  .bo-copy--wall { grid-column: 1; grid-row: 3; padding: 0 var(--sc-gutter); }
  .bo-window { grid-column: 1; grid-row: 4; margin: 3.5rem var(--sc-gutter) 0; }
  .bo-copy--door { grid-column: 1; grid-row: 5; padding: 2rem var(--sc-gutter) 4rem; }
  html:not(.mo) .bo-stage { --slot-x: 50%; --slot-y: 42%; --ww: calc(100vw - 2 * var(--sc-gutter)); }
  /* moving */
  html.mo .bo-wall { -webkit-mask-image: linear-gradient(180deg, #000 0, #000 44%, transparent 66%); mask-image: linear-gradient(180deg, #000 0, #000 44%, transparent 66%); }
  html.mo .bo-window { top: 19svh; }
  html.mo .bo-copy--wall { left: var(--sc-gutter); right: var(--sc-gutter); top: auto; bottom: 8svh; width: auto; translate: none; }
  html.mo .bo-copy--door { left: var(--sc-gutter); right: var(--sc-gutter); width: auto; top: calc(19svh + var(--ww) / 1.6 + var(--chrome) + 2.25rem); translate: none; }
}

/* ================================================================ 2. TOUR
   One pinned stage. The panel holds still and the page on it changes. At the third stop the same booking stands
   in front of it on a phone, at the phone's own size: nothing is enlarged, so nothing is soft. */
.tour { position: relative; }
.tour-stage {
  /* the words column is never narrower than the longest pair of words it has to hold on one line */
  display: grid; grid-template-columns: minmax(0, 1fr) var(--words); align-items: center;
  column-gap: clamp(1.75rem, 3.5vw, 4.5rem);
  padding: var(--bar-h) var(--edge) 0;
}
.tour-shot { position: relative; perspective: 1800px; perspective-origin: 34% 50%; }
.tour-plane { position: relative; width: min(100%, calc((100svh - var(--bar-h) - 5rem) * 1.6)); margin-inline: auto; transform: rotateY(7deg) rotateX(1.5deg); transform-origin: 0 50%; transform-style: preserve-3d; will-change: transform; }
.tour-page {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 12px; background: var(--sc-surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 3px 8px hsl(var(--sc-shadow-color) / 0.4), 0 34px 60px -14px hsl(var(--sc-shadow-color) / 0.75), 0 80px 120px -40px hsl(var(--sc-shadow-color) / 0.7);
}
.tour-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tour-page picture { display: contents; }
.tour-img--b { clip-path: inset(var(--tb, 100%) 0 0 0); }
.tour-img--c { display: none; clip-path: inset(var(--tc, 100%) 0 0 0); }
.tour-dim { position: absolute; inset: 0; background: var(--night); opacity: 0; pointer-events: none; }
/* The phone: a real capture of the booking on a phone, shown at half its pixel size so it is sharp. It stands
   taller than the page behind it and rises into place; app.js moves it, and only up and down. */
.tour-phone {
  position: absolute; right: 2.5%; top: 50%; z-index: 2;
  height: min(134%, calc(100svh - var(--bar-h) - 3rem)); aspect-ratio: 585 / 1266;
  translate: 0 -50%; opacity: 0; will-change: transform, opacity;
  border: 0.55rem solid #23282D; border-radius: 2.2rem; background: #23282D; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 30px 60px -12px hsl(var(--sc-shadow-color) / 0.8), 0 70px 110px -30px hsl(var(--sc-shadow-color) / 0.7);
}
.tour-phone img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 1.65rem; }
.tour-words { display: grid; align-items: center; }
.tour-stop { grid-area: 1 / 1; }
.tour-stop h3 { font-size: var(--sc-t-head); letter-spacing: -0.04em; line-height: 1; }
.tour-stop p { margin-top: 1.25rem; max-width: 30ch; }

/* still: each stop is a row, the page beside its words */
html:not(.mo) .tour { padding-block: var(--sc-section); }
html:not(.mo) .tour-stage { align-items: center; gap: clamp(3rem, 7vw, 7rem) clamp(2rem, 5vw, 6rem); padding-top: 0; max-width: var(--sc-maxw); margin-inline: auto; }
html:not(.mo) .tour-shot, html:not(.mo) .tour-plane, html:not(.mo) .tour-page, html:not(.mo) .tour-words { display: contents; }
html:not(.mo) .tour-img--c { display: none; }
html:not(.mo) .tour-img { position: static; height: auto; border-radius: 12px; clip-path: none; box-shadow: 0 34px 60px -14px hsl(var(--sc-shadow-color) / 0.75); }
html:not(.mo) .tour-img--a { grid-area: 1 / 1; }
html:not(.mo) .tour-stop--a { grid-area: 1 / 2; }
html:not(.mo) .tour-img--b { grid-area: 2 / 1; }
html:not(.mo) .tour-stop--b { grid-area: 2 / 2; }
html:not(.mo) .tour-phone { position: static; grid-area: 3 / 1; justify-self: center; translate: none; height: auto; width: min(17rem, 70%); opacity: 1; }
html:not(.mo) .tour-stop--c { grid-area: 3 / 2; }
html:not(.mo) .tour-dim { display: none; }
html:not(.mo) .tour-stop { opacity: 1; }

@media (max-width: 900px) {
  .tour-stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); align-items: start; row-gap: 1.75rem; padding: calc(var(--bar-h) + 1.5rem) var(--sc-gutter) 1.75rem; }
  .tour-plane { transform: none; width: 100%; }
  .tour-words { align-items: start; height: 100%; }
  .tour-stop--c { align-self: end; }
  html:not(.mo) .tour-stage { grid-template-rows: none; row-gap: 2rem; padding-top: 0; }
  html:not(.mo) .tour-page { border: 0; }
  html:not(.mo) .tour-img--a, html:not(.mo) .tour-stop--a, html:not(.mo) .tour-img--b, html:not(.mo) .tour-stop--b,
  html:not(.mo) .tour-phone, html:not(.mo) .tour-stop--c { grid-area: auto; }
  html:not(.mo) .tour-stop--a { order: 1; } html:not(.mo) .tour-img--a { order: 0; }
  html:not(.mo) .tour-img--b { order: 2; margin-top: 2rem; } html:not(.mo) .tour-stop--b { order: 3; }
  html:not(.mo) .tour-phone { order: 4; margin-top: 2rem; } html:not(.mo) .tour-stop--c { order: 5; align-self: start; }
}

/* a tablet has room to spare under the panel: the panel and its words sit together in the middle of the stage */
@media (min-width: 761px) and (max-width: 900px) {
  .tour-phone { height: 108%; right: 5%; }
  html.mo .tour-stage { grid-template-rows: auto auto; align-content: center; padding-bottom: 0; }
  html.mo .tour-words { height: auto; min-height: 10rem; }
}

/* ----------------------------------------------------- 2b. what you get --
   Where the first screen's button lands. Three short cards on paper: what we do, what guests can do, where the plans
   differ. One column on a phone, so the whole of it reads top to bottom with the thumb. Then the three ways on. */
.what-head p { margin-top: 1.3rem; max-width: 42ch; font-weight: 500; text-wrap: pretty; }
.what-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 1.5vw, 1.5rem); margin-top: clamp(2rem, 4vw, 3.5rem); }
.what-card { display: flex; flex-direction: column; min-width: 0; padding: clamp(1.4rem, 2.4vw, 2.4rem); background: var(--paper); border-radius: calc(var(--r) * 2); }
.what-card h3 { font-size: var(--sc-t-base); font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
.what-list { list-style: none; display: grid; gap: 0.75rem; margin: 1.2rem 0 0; padding: 0; color: var(--slate); }
.what-list li { position: relative; padding-left: 1.55rem; text-wrap: pretty; }
.what-list li::before { content: ""; position: absolute; left: 0.1rem; top: 0.52em; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--ink); }
.what-list b { color: var(--ink); font-weight: 750; }
.what-card .fine { margin-top: auto; padding-top: 1.2rem; font-size: 1rem; }
.what-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.25rem; margin-top: clamp(2rem, 3.5vw, 3rem); }
.what-acts .btn { margin-left: auto; }
@media (max-width: 900px) { .what-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .what-acts { flex-direction: column; align-items: stretch; gap: 0.9rem; }
  .what-acts .btn { margin-left: 0; }
}

/* ================================================================ 3. OURS
   One screen. The headline, the line and the link sit on the real photograph, on its sky, in ink.
   The photograph starts where the plain words end and dissolves into paper at its foot: the hand-off is the picture. */
.ours {
  position: relative; overflow: hidden; min-height: max(100svh, 38rem);
  background: var(--chalk); color: var(--ink);
  --sc-ink: var(--ink); --sc-ink-soft: var(--ink);
}
.ours-photo {
  position: absolute; inset: 0; overflow: hidden; background: #b7b09f;
  -webkit-mask-image: linear-gradient(180deg, #000 64%, transparent 100%); mask-image: linear-gradient(180deg, #000 64%, transparent 100%);
}
.ours-photo img { position: absolute; left: 0; top: -70px; width: 100%; height: calc(100% + 140px); max-width: none; object-fit: cover; object-position: 50% 50%; }
.ours-copy { position: relative; padding-top: calc(var(--bar-h) + clamp(1.75rem, 6svh, 4.5rem)); }
.ours-copy > * + * { margin-top: 1.3rem; }
.ours-copy .sc-lede { max-width: 28ch; font-weight: 500; }
.ours :focus-visible { outline-color: var(--ink); }

/* ------------------------------------------------------------ 4. care --
   What DirectBnB does for an owner. Stacked, it is a column: each point, then its picture. On a wide screen with
   motion welcome (app.js adds is-live) the section holds still while scroll steps through the four points: the
   one in turn opens, a yellow rule fills along its top, and its picture stands on the right. */
.care { background: var(--night); color: var(--chalk); scroll-margin-top: var(--bar-h); padding-block: var(--sc-section); }
.care-words > .sc-lede { margin-top: 1.3rem; max-width: 34ch; }
.care-list { margin-top: clamp(2rem, 4vw, 3rem); }
.care-item { padding: 0 0 2.5rem; }
.care-bar { display: block; position: relative; height: 1px; background: color-mix(in oklab, var(--chalk) 24%, transparent); }
.care-bar::after { content: ""; position: absolute; inset: -0.5px 0; background: var(--yellow); transform: scaleX(var(--k, 0)); transform-origin: 0 50%; }
.care-item h3 { margin-top: 1.4rem; font-size: var(--sc-t-base); font-weight: 800; letter-spacing: -0.01em; line-height: 1.25; }
.care-body p { margin-top: 0.5rem; max-width: 46ch; color: color-mix(in oklab, var(--chalk) 80%, transparent); text-wrap: pretty; }
.care-shot { margin-top: 1.5rem; border-radius: var(--r); overflow: hidden; background: var(--paper); box-shadow: 0 30px 70px -30px #000; }
.care-shot img { display: block; width: 100%; height: auto; }

/* the agent's point: three questions a guest might ask, and what the agent says back */
.care-chat { display: grid; align-content: center; gap: 1.25rem; padding: clamp(1.4rem, 3vw, 2.75rem); background: var(--chalk); color: var(--ink); }
.chat-head { font-weight: 800; letter-spacing: -0.01em; }
.chat-qs { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chat-q { min-height: 3rem; padding: 0 1.1rem; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-weight: 600; box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--ink) 55%, transparent); cursor: pointer; transition: background-color 160ms var(--sc-ease-out), color 160ms var(--sc-ease-out); }
.chat-q.is-on { background: var(--ink); color: var(--chalk); box-shadow: none; }
.chat-q:active { transform: scale(0.97); }
.chat-q:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.chat-log { display: grid; gap: 0.6rem; min-height: 9.5em; align-content: start; }
.chat-msg { max-width: 30ch; padding: 0.8rem 1.1rem; border-radius: 1.2rem; text-wrap: pretty; }
.chat-msg--q { justify-self: end; background: var(--ink); color: var(--chalk); border-bottom-right-radius: 0.3rem; }
.chat-msg--a { justify-self: start; background: var(--paper); border-bottom-left-radius: 0.3rem; box-shadow: 0 1px 0 color-mix(in oklab, var(--ink) 10%, transparent); }
.chat-log.is-new .chat-msg { animation: chat-in 360ms var(--sc-ease-out) both; }
.chat-log.is-new .chat-msg--a { animation-delay: 240ms; }
@keyframes chat-in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .chat-log.is-new .chat-msg { animation: none; } }

/* live: pinned, one point open at a time */
.care-track.is-live { height: 290svh; }
.care:has(.is-live) { padding-block: 0 var(--sc-section); }
.is-live .care-pin { position: sticky; top: 0; height: 100svh; padding-top: var(--bar-h); display: grid; align-items: center; }
.is-live .care-pin > .sc-wrap { width: 100%; }
.is-live .care-grid { position: relative; }
.is-live .care-words { width: 43%; }
.is-live .care-words > h2 { font-size: min(var(--sc-t-head), 7.4svh); }
.is-live .care-words > .sc-lede { margin-top: min(1.3rem, 2svh); }
/* on a short window the four points need the room the opening line takes */
@media (max-height: 800px) { .is-live .care-words > .sc-lede { display: none; } }
.is-live .care-list { margin-top: clamp(1rem, 3svh, 2.5rem); }
.is-live .care-item { padding: 0 0 min(0.9rem, 1.6svh); cursor: pointer; }
.is-live .care-item.is-on { cursor: default; }
.is-live .care-item h3 { margin-top: min(0.9rem, 1.6svh); opacity: 0.55; transition: opacity 240ms var(--sc-ease-out); }
.is-live .care-item.is-on h3 { opacity: 1; }
.is-live .care-body { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 320ms var(--sc-ease-out), opacity 240ms var(--sc-ease-out); }
.is-live .care-body > p { min-height: 0; overflow: hidden; }
.is-live .care-item.is-on .care-body { grid-template-rows: 1fr; opacity: 1; }
.is-live .care-shot { position: absolute; right: 0; top: 50%; width: 52%; aspect-ratio: 16 / 10; margin: 0; opacity: 0; visibility: hidden; transform: translate3d(0, calc(-50% + 18px), 0) scale(0.985); transition: opacity 320ms var(--sc-ease-out), transform 420ms var(--sc-ease-out), visibility 0s 320ms; }
.is-live .care-chat { aspect-ratio: auto; min-height: min(26rem, 60svh); }
.is-live .care-item.is-on .care-shot { opacity: 1; visibility: visible; transform: translate3d(0, -50%, 0); transition: opacity 320ms var(--sc-ease-out), transform 420ms var(--sc-ease-out), visibility 0s; }
@media (max-width: 900px) {
  .care-body p { max-width: none; }
}

/* =============================================================== light run */
.light {
  background: var(--chalk); color: var(--ink);
  --sc-ink: var(--ink); --sc-ink-soft: var(--slate);
  --sc-hairline: color-mix(in oklab, var(--ink) 16%, transparent);
}
.light :focus-visible { outline-color: var(--ink); }
.light ::selection { background: var(--ink); color: var(--chalk); }
.fine { color: var(--slate); max-width: 50ch; }

/* ----------------------------------------------------------- 4. the sum --
   One panel. The levers on the left and the working on the right, with nothing ruled between them. Every figure
   stands in the same right-hand column of its half, and each one follows from the line above it. */
.sum { padding-top: clamp(4rem, 7vw, 7rem); }
.calc {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center;
  column-gap: clamp(2.5rem, 6vw, 6.5rem);
  margin-top: clamp(2rem, 4vw, 3.5rem); padding: clamp(2rem, 3.6vw, 3.75rem);
  background: var(--paper); border-radius: calc(var(--r) * 2);
  box-shadow: 0 1px 0 color-mix(in oklab, var(--ink) 8%, transparent), 0 30px 70px -40px color-mix(in oklab, var(--ink) 38%, transparent);
  --num: clamp(3rem, 1.6rem + 4.2vw, 5.6rem);
}
.calc-in { display: grid; row-gap: clamp(1.4rem, 2.4vw, 2.1rem); min-width: 0; }
.ctl { display: grid; grid-template-rows: auto 2.75rem; row-gap: 0.35rem; align-items: center; min-width: 0; }
.ctl-label { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-weight: 600; line-height: 1.3; }
.ctl-label output { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ctl--pick { grid-template-rows: auto; grid-template-columns: auto minmax(0, 1fr); column-gap: 1.25rem; }
.seg { display: flex; align-items: center; justify-content: flex-end; gap: 0.6rem; min-width: 0; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; height: 2.9rem; padding: 0 1.1rem; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--ink); font-weight: 600; white-space: nowrap; transition: background-color 160ms var(--sc-ease-out), color 160ms var(--sc-ease-out); }
.seg input:checked + span { background: var(--ink); color: var(--chalk); }
.seg input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.seg { flex-wrap: wrap; }
/* the owner's own host fee, shown only while "Use my rate" is pressed */
.ctl[hidden] { display: none; }
.ctl--own { grid-template-rows: auto; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1.25rem; row-gap: 0.35rem; }
.own-field { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; }
.own-field input { width: 6.5rem; height: 2.9rem; padding: 0 1rem; border: 0; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--ink); background: var(--paper); color: var(--ink); font: inherit; font-size: max(1rem, 16px); font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.own-field input:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.own-field input[aria-invalid="true"] { box-shadow: inset 0 0 0 2.5px var(--ink); }
.own-help { grid-column: 1 / -1; margin: 0; color: var(--slate); font-size: 0.9em; }
.ctl--own:has([aria-invalid="true"]) .own-help { color: var(--ink); font-weight: 600; }
.ctl input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 2.75rem; margin: 0; background: transparent; cursor: pointer; --fill: 50%; }
.ctl input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--ink) var(--fill), color-mix(in oklab, var(--ink) 18%, transparent) var(--fill)); }
.ctl input[type="range"]::-moz-range-track { height: 6px; border-radius: 999px; background: color-mix(in oklab, var(--ink) 18%, transparent); }
.ctl input[type="range"]::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--ink); }
.ctl input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 1.75rem; height: 1.75rem; margin-top: calc(3px - 0.875rem); border-radius: 50%; background: var(--paper); border: 3px solid var(--ink); box-shadow: 0 2px 6px rgba(20, 23, 26, 0.25); transition: transform 140ms var(--sc-ease-out), background-color 140ms var(--sc-ease-out); }
.ctl input[type="range"]::-moz-range-thumb { width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--paper); border: 3px solid var(--ink); box-shadow: 0 2px 6px rgba(20, 23, 26, 0.25); }
.ctl input[type="range"]:active::-moz-range-thumb, .ctl input[type="range"]:focus-visible::-moz-range-thumb { background: var(--yellow); }
.ctl input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); background: var(--yellow); }
.ctl input[type="range"]:focus-visible::-webkit-slider-thumb { background: var(--yellow); }
.ctl input[type="range"]:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 999px; }
/* the working: three lines and what is left, as a sum is written on paper */
.calc-out { display: grid; margin: 0; min-width: 0; }
.row { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; padding: clamp(0.5rem, 1vw, 0.8rem) 0; }
.row dt { font-weight: 600; }
.row dd { margin: 0; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.row:first-child { color: var(--slate); }
.row--kept { align-items: flex-end; margin-top: clamp(0.5rem, 1vw, 0.9rem); padding-top: clamp(1.1rem, 2vw, 1.75rem); border-top: 2px solid var(--ink); }
.row--kept dt { font-weight: 700; max-width: 11em; line-height: 1.25; text-wrap: balance; }
.row--kept dd { font-size: var(--num); line-height: 0.82; letter-spacing: -0.06em; }
/* under the panel: what it comes to in a sentence, and the small print */
.sum-notes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: start; gap: 1.25rem clamp(2.5rem, 6vw, 6.5rem); margin-top: clamp(1.75rem, 3vw, 2.5rem); padding-inline: clamp(2rem, 3.6vw, 3.75rem); }
.verdict { font-weight: 700; max-width: 46ch; text-wrap: pretty; }
.sum .fine { max-width: 54ch; text-wrap: pretty; }

/* ------------------------------------------------------------- 5. plans --
   Three cards side by side. Each names its price, the five things that matter most on it, and the way in. The
   middle card is the dark one. Everything else each plan holds is in the comparison underneath. */
.plans { padding-top: 0; }
.plans-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem 3rem; }
.plans-head p { font-weight: 600; max-width: 30ch; }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: clamp(1rem, 1.5vw, 1.5rem); margin-top: clamp(2.25rem, 4.5vw, 4rem); }
.tier { display: flex; flex-direction: column; min-width: 0; padding: clamp(1.6rem, 2.4vw, 2.6rem); background: var(--paper); border-radius: calc(var(--r) * 2); }
.tier h3 { font-size: var(--sc-t-base); font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
.tier-price { display: flex; align-items: flex-end; gap: 0.9rem; margin-top: 1.4rem; }
.tier-num { font-size: var(--sc-t-head); font-weight: 300; letter-spacing: -0.05em; line-height: 0.82; font-variant-numeric: tabular-nums; }
.tier-per { font-weight: 600; line-height: 1.3; white-space: nowrap; }
.tier-line { margin-top: 1.6rem; font-weight: 700; text-wrap: balance; }
.tier-list { list-style: none; display: grid; gap: 0.75rem; margin: 1.3rem 0 2.25rem; padding: 0; color: var(--slate); }
.tier-list li { position: relative; padding-left: 1.55rem; text-wrap: pretty; }
.tier-list li::before { content: ""; position: absolute; left: 0.1rem; top: 0.52em; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--ink); }
.tier .btn { margin-top: auto; }
.tier--mid { background: var(--ink); color: var(--chalk); }
.tier--mid .tier-list { color: color-mix(in oklab, var(--chalk) 80%, transparent); }
.tier--mid .tier-list li::before { background: var(--yellow); }
.tier--mid :focus-visible { outline-color: var(--chalk); }
/* after the cards: everything in each plan on the left, the call on the right */
.plans-foot { position: relative; margin-top: clamp(1.75rem, 3vw, 2.5rem); }
.plans-cta { position: absolute; right: 0; top: 0; display: flex; align-items: center; min-height: 3.4rem; }
.plans-foot .compare { margin-top: 0; }
.plans-foot .compare > summary { min-height: 3.4rem; }

.compare { margin-top: clamp(1.75rem, 3vw, 2.5rem); }
.compare > summary, .faq summary { list-style: none; cursor: pointer; }
.compare > summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.compare > summary { display: inline-flex; align-items: center; gap: 0.9rem; font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
.compare > summary::after, .faq summary::after {
  content: ""; flex: none; width: 1.1rem; height: 1.1rem;
  background: linear-gradient(currentColor, currentColor) 50% 50% / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) 50% 50% / 2px 100% no-repeat;
  transition: transform 240ms var(--sc-ease-out);
}
.compare[open] > summary::after, .faq details[open] summary::after { transform: rotate(45deg); }
/* where a link to the comparison lands (#compare-plans): its heading, with the phone's plan choice right under it */
.compare-head { margin-top: 2rem; font-size: var(--sc-t-base); font-weight: 800; letter-spacing: -0.01em; scroll-margin-top: calc(var(--bar-h) + 1rem); }
.compare-head:focus { outline: none; }
.table-wrap { position: relative; margin-top: 2rem; }
@media (max-width: 700px) { .table-wrap { overflow-x: auto; } }
.feat { width: 100%; min-width: 40rem; border-collapse: collapse; }
.feat th, .feat td { padding: 0.9rem 0.75rem 0.9rem 0; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--sc-hairline); font-weight: 450; }
/* the plan names stay in view under the bar while the rows scroll, so a column is never unnamed */
.feat thead th, .feat thead td { position: sticky; top: var(--bar-h); z-index: 2; background: var(--chalk); border-bottom: 0; box-shadow: 0 1px 0 var(--ink); }
.feat thead th { font-weight: 800; text-align: center; }
.feat .grp th { padding-top: 2.25rem; font-weight: 800; letter-spacing: -0.015em; border-bottom: 1px solid var(--ink); }
.feat .mark { width: 8.5rem; text-align: center; }
.feat .mark::before { content: ""; display: inline-block; vertical-align: middle; }
.feat .mark.yes::before { width: 0.85rem; height: 0.85rem; border-radius: 50%; background: var(--ink); }
.feat .mark.no::before { width: 0.95rem; height: 2px; background: color-mix(in oklab, var(--ink) 62%, transparent); }
/* Chris, 2026-12-03: an included feature whose real delivery is not yet verified reads "In pilot" under its mark. */
.feat .mark .pilot, .cmp .mark .pilot { display: block; margin-top: 0.35rem; font-size: 1rem; font-weight: 600; line-height: 1.2; color: var(--slate); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.compare .fine { margin-top: 1.5rem; }
.plan-key { margin-top: .5rem; font-size: 1rem; }
.sales .feat thead th, .sales .feat thead td { top: 0; }
@media (forced-colors: active) {
  .feat .mark.yes::before, .feat .mark.no::before { background: CanvasText; forced-color-adjust: none; }
  .feat .chosen-plan { text-decoration: underline; }
}
.feat .chosen-plan { box-shadow: inset 0 -3px 0 currentColor; }
@media (max-width: 700px) {
  .sales .compare .table-wrap { overflow: visible; max-width: none; margin: 1rem -.75rem 0; }
  .feat { min-width: 0; table-layout: fixed; }
  .feat thead td { width: 35%; }
  .feat thead th:nth-child(3) { width: 22%; }
  .feat thead th:last-child { width: 25%; }
  .feat thead th { font-size: 1rem; padding-inline: 0; line-height: 1.2; letter-spacing: -.025em; overflow-wrap: normal; }
  .feat tbody th { font-size: 1rem; padding-right: .25rem; line-height: 1.35; }
  .feat .mark { width: auto; padding-inline: 0; }
}

/* --------------------------------------------------------- 6. questions --
   Full-width rows under the heading, like the plans: one column, so the rules stay in register. */
.questions { padding-top: 0; padding-bottom: clamp(3.5rem, 6vw, 6.5rem); }
.faq { margin-top: clamp(2rem, 4vw, 3.5rem); border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--sc-hairline); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.4rem 0; font-weight: 700; letter-spacing: -0.015em; line-height: 1.3; text-wrap: balance; }
.faq details p { padding: 0 2rem 1.6rem 0; max-width: 48ch; color: var(--slate); }

/* ================================================================ 7. CLOSE
   One line on the moving river, then the button to sign up, the call for anyone with a question, and the email
   address. The call opens its calendar over the page (booking.js), so nothing of anyone else's is set here. */
.close { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; min-height: max(92svh, 34rem); padding-top: var(--bar-h); background: var(--night); color: var(--chalk); }
.close-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.close-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--night) 0%, color-mix(in oklab, var(--night) 72%, transparent) 26%, color-mix(in oklab, var(--night) 78%, transparent) 66%, var(--night) 94%); }
.close-in { flex: 1 0 auto; display: flex; flex-direction: column; justify-content: center; padding-block: clamp(3.5rem, 9vw, 7rem) clamp(3rem, 7vw, 6rem); }
.close-lede { margin-top: 1.3rem; max-width: 38ch; text-wrap: pretty; }
.close-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.75rem 3rem; margin-top: clamp(2rem, 4vw, 3.25rem); }
.contact { display: grid; justify-items: end; gap: 0.35rem; font-style: normal; font-weight: 600; text-align: right; }
.contact a { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.3em; }
/* the notes are quiet and clearly below the close */
.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 2.5rem; padding-block: 0 2.25rem; color: color-mix(in oklab, var(--chalk) 62%, transparent); font-size: 1rem; }
.foot::before { content: ""; flex: 0 0 100%; height: 1px; margin-bottom: 1.25rem; background: color-mix(in oklab, var(--chalk) 16%, transparent); }
.foot img { height: 1.6rem; width: auto; margin-left: -0.237rem; }
.foot a:first-child { margin-right: auto; }

/* ---------------------------------------------------------------- narrow */
/* A tablet has no room for three columns of words: each card is one row, its price on the left and its list on
   the right. */
@media (min-width: 701px) and (max-width: 1040px) {
  .tiers { grid-template-columns: minmax(0, 1fr); }
  .tier { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); grid-template-rows: auto auto auto 1fr; column-gap: 2.5rem; align-items: start; }
  .tier-list { grid-column: 2; grid-row: 1 / -1; margin: 0; }
  .tier .btn { margin-top: 1.75rem; justify-self: start; align-self: end; }
}
@media (max-width: 700px) {
  .tiers { grid-template-columns: minmax(0, 1fr); }
  .tier .btn { align-self: flex-start; }
}
@media (max-width: 960px) {
  .plans-cta { position: static; min-height: 0; margin-top: 1.25rem; }
}
/* On a phone or a tablet the sum is one column, and on a phone the whole of it is one screen: two sliders, the
   platform, three lines and what is left. */
@media (max-width: 900px) {
  .calc { grid-template-columns: minmax(0, 1fr); row-gap: 0.7rem; margin-top: 1.1rem; padding: 0.95rem 1.15rem 1.05rem; border-radius: 1.4rem; --num: clamp(2.6rem, 14vw, 3.5rem); }
  .calc-in { row-gap: 0.4rem; }
  .ctl { grid-template-rows: auto 2.5rem; row-gap: 0; }
  .ctl input[type="range"] { height: 2.5rem; }
  .ctl--pick { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; }
  .ctl--pick .ctl-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .seg { justify-content: stretch; gap: 0.5rem; }
  .seg label { flex: 1 1 0; }
  .seg span { display: flex; justify-content: center; height: 2.75rem; padding: 0 0.5rem; }
  .seg label:last-child { flex-basis: 100%; }
  .ctl--own { padding-top: 0.4rem; }
  .row { padding: 0.32rem 0; gap: 1rem; }
  .row--kept { margin-top: 0.3rem; padding-top: 0.8rem; }
  .sum-notes { grid-template-columns: minmax(0, 1fr); padding-inline: 0; }
}
@media (min-width: 761px) and (max-width: 900px) {
  .calc { row-gap: 1.4rem; padding: 1.75rem 2rem 1.9rem; --num: 4.25rem; }
  .calc-in { row-gap: 0.9rem; }
  .row { padding: 0.5rem 0; }
}
@media (max-width: 760px) {
  .sum { padding-top: 3rem; }
  .faq details p { padding-right: 0; }
  .contact { justify-items: start; text-align: left; }
  .foot a:first-child { flex-basis: 100%; }
}

/* ============================================================ C3: two front doors
   The first screen is two real photographs, a cottage and a city, with the real site rising between them.
   Both photographs fall into the wall as lit tiles; the cottage breaks out into its site.
   The visitor can then name their own place. */

.bo-stage { --scol-b: 3; --srow-b: 4; --scol-c: 4; --srow-c: 7; }
.bo-slot--b { grid-column: var(--scol-b); grid-row: var(--srow-b); }
/* The third place in the wall is Wasaga Getaway: the photograph its own site opens on. It sits grey among the
   others (the last cell of the sprite) until it is its turn. Then the same photograph in colour fades in over it
   and it grows into that site. The picture never changes on the way. A cross-fade, not a filter: a filtered tile
   inside the masked, turning wall cost frames on every step of the scroll. */
.bo-slot--c {
  grid-column: var(--scol-c); grid-row: var(--srow-c); position: relative; overflow: hidden;
  background: url("assets/wall.webp") 100% 100% / 1200% 900%; opacity: 0.5;
}
.bo-slot--c::after { content: ""; position: absolute; inset: 0; background: url("assets/site-plate.webp") 50% 50% / cover; opacity: var(--lit, 0); }
html:not(.mo) .bo-slot--c { background: url("assets/site-plate.webp") 50% 50% / cover; opacity: 1; }
html:not(.mo) .bo-slot--c::after { content: none; }
html:not(.mo) .bo-slot--b { background: url("assets/city-1000.webp") 42% 50% / cover; box-shadow: 0 0 0 2px var(--night), 0 0 0 4px var(--yellow); }

/* the pair of photographs */
.bo-pair { grid-column: 1 / -1; grid-row: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; height: 100svh; min-height: 34rem; background: var(--night); }
.bo--split .bo-photo { grid-column: auto; grid-row: auto; height: auto; min-height: 0; }
html.mo .bo-pair { display: block; position: absolute; inset: 0; height: auto; min-height: 0; background: none; }
html.mo .bo-photo--a { inset: 0 calc(50% + 1.5px) 0 0; }
html.mo .bo-photo--b { inset: 0 0 0 calc(50% + 1.5px); }
/* the fold: a soft shadow where the photographs meet, so the seam reads as a crease and not a cut */
.bo--split .bo-scrim { background: linear-gradient(90deg, transparent calc(50% - 9vw), color-mix(in oklab, var(--night) 46%, transparent) 50%, transparent calc(50% + 9vw)); }

/* the first screen: words above, the real site rising from the bottom edge across the seam */
.bo-hero {
  grid-column: 1 / -1; grid-row: 1; align-self: stretch; z-index: 2;
  height: 100svh; min-height: 34rem; overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
  padding-top: calc(var(--bar-h) + clamp(1rem, 5svh, 3.5rem));
  perspective: 1500px; perspective-origin: 50% 100%;
}
html.mo .bo-hero { position: absolute; inset: 0; height: auto; min-height: 0; z-index: 5; }
.bo--split .bo-copy--hero, html.mo .bo--split .bo-copy--hero {
  position: relative; inset: auto; translate: none; z-index: auto; isolation: isolate; flex: none;
  width: 100%; max-width: none; padding: 0 var(--sc-gutter);
  display: grid; justify-items: center; text-align: center;
}
/* a soft dusk only behind the words */
.hero-pool { position: absolute; z-index: -1; inset: -1.25rem max(4%, calc(50% - 36rem)) -1.75rem; border-radius: 3rem; background: rgba(15, 17, 19, 0.62); filter: blur(38px); pointer-events: none; }
.h1-split { display: grid; grid-template-columns: 1fr 1fr; width: 100%; font-size: var(--sc-t-head); line-height: 1.05; white-space: nowrap; text-wrap: nowrap; }
.h1-top { grid-column: 1 / -1; text-align: center; }
.h1-l { text-align: right; }
.h1-r { text-align: left; }
/* The last line of the headline turns: cottage, condo, cabin, loft, chalet, townhouse. The still page, and a page
   with no script, keep the plain sentence (.h1-st) and never show the turning line. One line box holds every
   word, so nothing around it moves; it is clipped with room for a descender. */
.h1-turn { display: none; }
.h1-split .h1-st { display: inline; }
html.mo .h1-st { display: none; }
html.mo .h1-split .h1-turn { display: grid; overflow: hidden; padding-block: 0.14em; margin-block: -0.14em; color: var(--yellow); }
html.mo .h1-split .h1-turn > span { grid-area: 1 / 1; display: block; opacity: 0; transform: translate3d(0, 108%, 0); transition: transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1), opacity 420ms var(--sc-ease-out); }
html.mo .h1-split .h1-turn > .is-on { opacity: 1; transform: none; }
html.mo .h1-split .h1-turn > .is-out { opacity: 0; transform: translate3d(0, -108%, 0); }
/* exactly one word space at the seam: half of it on each photograph */
.h1-l::after, .h1-r::before { content: "\00a0"; font-size: 50%; letter-spacing: -0.04em; }
.bo--split .bo-copy--hero .sc-lede { max-width: 36ch; margin-top: 1.3rem; }
.bo--split .bo-copy--hero .acts { margin-top: 1.6rem; }

/* On a desktop nothing is set across the seam. The words stand on the cottage photograph, on the page's own left
   edge, over a shade that belongs to that photograph alone. The city photograph is left clean. */
@media (min-width: 901px) {
  .bo--split .bo-copy--hero, html.mo .bo--split .bo-copy--hero { justify-items: start; text-align: left; padding: 0 var(--edge); }
  .h1-split { display: block; white-space: normal; text-wrap: balance; max-width: calc(50vw - var(--edge) - 2rem); }
  .h1-split > span { display: block; text-align: left; }
  .h1-l::after, .h1-r::before { content: none; }
  .hero-pool { display: none; }
  .bo--split .bo-copy--hero .sc-lede { max-width: min(41ch, calc(50vw - var(--edge) - 2rem)); text-wrap: pretty; }
  /* the shade lies on the cottage photograph only, edge to seam, and only behind the words: it ends above the
     horizon, so the sun keeps its light. It lifts as the words leave. */
  .bo--split .bo-scrim { background:
    linear-gradient(180deg, color-mix(in oklab, var(--night) 34%, transparent) 0, color-mix(in oklab, var(--night) 34%, transparent) calc(var(--bar-h) + 21rem), transparent calc(var(--bar-h) + 28rem)) left top / calc(50% - 1.5px) 100% no-repeat,
    linear-gradient(180deg, color-mix(in oklab, var(--night) 30%, transparent) 0%, transparent 20%); }
  .bo--split .bo-copy--hero h1, .bo--split .bo-copy--hero .sc-lede { text-shadow: 0 0 1.75rem color-mix(in oklab, var(--night) 55%, transparent); }
}

/* the site as an object in the scene */
.hero-site { flex: none; width: min(56vw, 52rem); margin-top: clamp(1.75rem, 6.5svh, 4rem); will-change: transform, opacity; }
.hero-site-in {
  border-radius: var(--r); background: #1B1F23; transform: rotateX(12deg); transform-origin: 50% 100%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4), 0 -4px 14px rgba(6, 7, 8, 0.4), 0 -14px 40px rgba(6, 7, 8, 0.36);
}
.hero-site-in img { display: block; width: 100%; height: auto; border-radius: 0 0 var(--r) var(--r); }
html.mo .hero-chrome, .hero-chrome { opacity: 1; }

/* the window gains a title */
.bo-tab { display: flex; align-items: center; gap: 0.85rem; min-width: 0; }
.bo-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.5; }
.bo-url span { overflow: hidden; text-overflow: ellipsis; line-height: 1.5; }

.bo-copy--door .sc-lede { margin-top: 1.4rem; }

@media (min-width: 901px) {
  /* title first, then the address takes the rest of the bar */
  .bo--split .bo-chrome { display: flex; gap: 1.1rem; }
  .bo--split .bo-tab { flex: 0 1 auto; max-width: 46%; }
  .bo--split .bo-url { flex: 1 1 auto; min-width: 0; justify-content: flex-start; }
}
@media (max-width: 900px) {
  .bo-stage { --scol-b: 4; --srow-b: 2; --scol-c: 2; --srow-c: 4; }
  .bo--split .bo-stage { --chrome: 4.7rem; }
  /* stacked halves: the cottage above, the city below */
  .bo-pair { grid-template-columns: 1fr; grid-template-rows: 40fr 60fr; }
  html.mo .bo-photo--a { inset: 0 0 calc(60% + 1.5px) 0; }
  html.mo .bo-photo--b { inset: calc(40% + 1.5px) 0 0 0; }
  .bo--split .bo-scrim { background: linear-gradient(180deg, transparent calc(40% - 11svh), color-mix(in oklab, var(--night) 46%, transparent) 40%, transparent calc(40% + 11svh)); }
  /* two lines of the headline sit above the seam, the third below it */
  .bo-hero { padding-top: 40svh; }
  .bo--split .bo-copy--hero { --h1: var(--sc-t-head); }
  .h1-split { display: block; font-size: var(--h1); line-height: 1; margin-top: -2.04em; }
  .h1-split > span { display: block; text-align: center; }
  .h1-l::after, .h1-r::before { content: none; }
  .hero-pool { inset: calc(var(--h1) * -2.04 - 1.1rem) 2% -1.3rem; background: rgba(15, 17, 19, 0.8); filter: blur(26px); }
  .bo--split .bo-copy--hero .sc-lede { margin-top: 1rem; }
  .bo--split .bo-copy--hero .acts { margin-top: 1.25rem; flex-direction: column; gap: 0.6rem; }
  .hero-site { width: min(74vw, 40rem); margin-top: clamp(1.5rem, 4svh, 2.75rem); }
  /* a title row and an address row */
  .bo--split .bo-window .bo-chrome { grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr 1fr; justify-items: center; gap: 0; padding: 0.45rem 0.8rem 0.55rem; }
  .bo--split .bo-window .bo-dots { display: none; }
  .bo--split .bo-window .bo-tab { max-width: 100%; }
  .bo--split .bo-window .bo-url { width: 100%; }
  html.mo .bo--split .bo-window { top: calc(var(--bar-h) + 3svh); }
  html.mo .bo--split .bo-copy--door { top: calc(var(--bar-h) + 3svh + var(--ww) / 1.6 + var(--chrome) + 1.75rem); }
  .name { margin-top: 1.1rem; }
}
@media (max-width: 760px) {
  /* on a phone the product peeks up as a phone */
  .hero-site { width: 46vw; }
  .hero-site-in { border: 0.5rem solid #1c2024; border-bottom: 0; border-radius: 2rem 2rem 0 0; transform: rotateX(8deg); }
  .hero-site-in img { border-radius: 1.5rem 1.5rem 0 0; }
  .hero-chrome { display: none; }
}
.hero-chrome { height: 2.9rem; }
.hero-chrome .bo-title, .hero-chrome .bo-url { font-size: 1.2rem; }
.hero-chrome .bo-url { height: 2rem; }
/* the words stay above the site's shadow; the site tilts in real perspective */
.bo--split .bo-copy--hero, html.mo .bo--split .bo-copy--hero { z-index: 2; }
.hero-site { position: relative; z-index: 1; perspective: 1300px; perspective-origin: 50% 100%; }

/* the tour on a phone: the page is the site on a phone, tall enough to fill the stage. Three captures: the
   gallery, the calendar, the price summary. */
@media (max-width: 760px) {
  .tour-stage { row-gap: 1.25rem; padding-top: calc(var(--bar-h) + 1rem); padding-bottom: 1.5rem; }
  html.mo .tour-page { aspect-ratio: 585 / 1266; width: min(62vw, 16rem, calc((100svh - var(--bar-h) - 14.5rem) * 0.462)); margin-inline: auto; border: 0.5rem solid #23282D; border-radius: 2rem; }
  html.mo .tour-img--c { display: block; }
  html:not(.mo) .tour-img { width: min(62%, 15rem); justify-self: center; border-radius: 1.4rem; }
  html.mo .tour-phone { display: none; }
  html:not(.mo) .tour-phone { width: min(62%, 15rem); border-width: 0.45rem; border-radius: 1.8rem; }
  html:not(.mo) .tour-phone img { border-radius: 1.35rem; }
}
/* the hero's browser bar: title first, then the address, at every width that shows it (a phone shows a phone) */
@media (min-width: 761px) {
  .hero-chrome { display: flex; gap: 1rem; }
  .hero-chrome .bo-tab { flex: 0 1 auto; max-width: 52%; }
  .hero-chrome .bo-url { flex: 1 1 auto; min-width: 0; justify-content: flex-start; }
}

/* the footer notes share one left edge beside the logo, and stack under it when the row is short */
.foot-notes { display: grid; gap: 0.35rem; max-width: 100%; }
.nb { white-space: nowrap; }
/* the hand-off between the two pinned acts: the tour starts under the last, empty band of the breakout */
@media (min-width: 901px) {
  html.mo .tour { margin-top: calc(-1 * min(12vh, 6rem)); margin-top: calc(-1 * min(12svh, 6rem)); pointer-events: none; }
  html.mo .tour-shot, html.mo .tour-words { pointer-events: auto; }
}
/* ============================================================ the first screen arrives
   Once, on load: the headline line by line, the line and the button, then the site rising from the fold. One
   direction, no loop, done in about a second. It moves with `translate`, so it never fights the transforms that
   app.js and the button's own states set. The still page has no hidden state: every rule here needs html.mo. */
html.mo .h1-split > span, html.mo .bo-copy--hero > .sc-lede {
  transition: opacity 600ms var(--sc-ease-out), translate 800ms var(--sc-ease-out);
}
html.mo .h1-l { transition-delay: 70ms; }
html.mo .h1-r { transition-delay: 140ms; }
html.mo .bo-copy--hero > .sc-lede { transition-delay: 240ms; }
html.mo .bo-copy--hero > .acts { transition: opacity 600ms var(--sc-ease-out) 320ms, translate 800ms var(--sc-ease-out) 320ms; }
html.mo .hero-pool { transition: opacity 700ms var(--sc-ease-out); }
html.mo .hero-site-in { transition: opacity 500ms var(--sc-ease-out) 200ms, translate 900ms var(--sc-ease-out) 200ms; }
html.mo:not(.in) .h1-split > span, html.mo:not(.in) .bo-copy--hero > .sc-lede, html.mo:not(.in) .bo-copy--hero > .acts { opacity: 0; translate: 0 0.5em; }
html.mo:not(.in) .hero-pool { opacity: 0; }
html.mo:not(.in) .hero-site-in { opacity: 0; translate: 0 16%; }

/* ============================================================ the sign-up page (signup.html)
   A light page: the words on the left, the form in one white panel on the right, like the sum. With no script the
   form posts and the endpoint sends the visitor back to #done or #problem, which the two :target rules show. */
.join-page { background: var(--chalk); }
.join { min-height: 100svh; display: flex; flex-direction: column; padding-top: calc(var(--bar-h) + clamp(2.25rem, 6vw, 5.5rem)); }
.join-grid { flex: 1 0 auto; display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr); align-items: start; gap: clamp(2rem, 6vw, 6.5rem); padding-bottom: clamp(3rem, 6vw, 6rem); }
.join-intro { position: sticky; top: calc(var(--bar-h) + 2.5rem); }
.join-intro .sc-lede { margin-top: 1.4rem; max-width: 26ch; font-weight: 500; }
.join-call { margin-top: 1.75rem; font-weight: 600; }
#saved-build-order { margin-top: 1.1rem; }
#resume-build-order { min-height: 44px; }
.join-form {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding: clamp(1.4rem, 3.2vw, 3.25rem);
  background: var(--paper); border-radius: calc(var(--r) * 2);
  box-shadow: 0 1px 0 color-mix(in oklab, var(--ink) 8%, transparent), 0 30px 70px -40px color-mix(in oklab, var(--ink) 38%, transparent);
}
.join-plans { display: grid; gap: 0.6rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.join-plans legend, .field label { padding: 0; font-weight: 700; }
.join-plans legend { margin-bottom: 0.7rem; }
.join-plan { position: relative; display: block; cursor: pointer; }
.join-plan input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.join-plan > span {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.1rem 1.25rem;
  padding: 0.95rem 1.2rem; border-radius: 1rem;
  box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--ink) 26%, transparent);
  transition: background-color 160ms var(--sc-ease-out), color 160ms var(--sc-ease-out), box-shadow 160ms var(--sc-ease-out);
}
.join-plan b { font-weight: 800; }
.join-plan input:checked + span { background: var(--ink); color: var(--chalk); box-shadow: inset 0 0 0 1.5px var(--ink); }
.join-plan input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .join-plan input:not(:checked) + span:hover { box-shadow: inset 0 0 0 1.5px var(--ink); } }
.field-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem 1.1rem; }
.field { display: grid; align-content: start; gap: 0.5rem; min-width: 0; }
.field label span { font-weight: 450; color: var(--slate); }
.field input {
  width: 100%; height: 3.4rem; padding: 0 1.1rem; border: 0; border-radius: 0.9rem;
  background: var(--chalk); box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--ink) 20%, transparent);
  color: var(--ink); font-family: inherit; font-size: var(--sc-t-base); font-weight: 600;
  transition: box-shadow 160ms var(--sc-ease-out), background-color 160ms var(--sc-ease-out);
}
.field input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink); }
.field input[aria-invalid="true"] { background: var(--paper); box-shadow: inset 0 0 0 2.5px var(--ink); }
.field-note { font-weight: 700; }
/* a trap for scripts that fill every field: off the page, out of the tab order, hidden from a screen reader */
.hp { position: absolute; left: -200vw; width: 1px; height: 1px; overflow: hidden; }
.join-send { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.join-send #signup-check:empty { display: none; }
.join-send .btn { min-width: min(11rem, 100%); max-width: 100%; white-space: normal; text-align: center; }
#build-call-order { padding: 1rem; border-radius: .8rem; background: var(--chalk); }
#build-call-order p { font-weight: 650; }
#build-call-order label { display: block; align-content: center; min-height: 44px; margin-top: .35rem; cursor: pointer; }
#build-accept { width: 1.15rem; height: 1.15rem; vertical-align: middle; accent-color: var(--ink); }
.join-send .btn[disabled] { opacity: 0.7; cursor: default; }
.join-problem { display: none; flex: 1 1 16rem; font-weight: 700; }
.join-problem:target, .is-problem .join-problem { display: block; }
.join-problem a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
.join-done { display: none; grid-column: 1 / -1; padding-block: clamp(1rem, 6vw, 5rem); }
.join-done > * + * { margin-top: 1.4rem; }
.join-done .sc-lede { max-width: 34ch; font-weight: 500; }
.join-done:target, .is-done .join-done { display: block; }
.join-grid:has(.join-done:target) > :not(.join-done), .is-done > :not(.join-done) { display: none; }
.join-page .bar nav a:not(.btn) { display: inline; }   /* the way back to What you get stays in reach on a phone: this page has no button in its bar */
.foot--light { color: var(--slate); }
.foot--light::before { background: color-mix(in oklab, var(--ink) 16%, transparent); }
@media (max-width: 900px) {
  .join-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .join-intro { position: static; }
  .join-intro .sc-lede { max-width: 34ch; }
}
@media (max-width: 560px) {
  .field-pair { grid-template-columns: minmax(0, 1fr); }
  .join-page .bar nav a[href="./#plans"] { display: none; }
}

/* ============================================================ the credits page (credits.html)
   Who took the photographs in the wall of listings. A licence condition, set as plainly as the rest. */
.credits { min-height: 100svh; display: flex; flex-direction: column; padding-top: calc(var(--bar-h) + clamp(2.25rem, 6vw, 5.5rem)); }
.credits > .sc-wrap:first-child { flex: 1 0 auto; padding-bottom: clamp(3rem, 6vw, 6rem); }
.credits .sc-lede { margin-top: 1.4rem; max-width: 58ch; font-weight: 500; }
.credits h2 { margin-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: 0.9rem; border-bottom: 1px solid var(--ink); font-size: var(--sc-t-base); font-weight: 800; letter-spacing: -0.01em; }
.credit-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: clamp(2rem, 5vw, 5rem); color: var(--slate); }
.credit-list li { break-inside: avoid; padding: 0.7rem 0; border-bottom: 1px solid var(--sc-hairline); overflow-wrap: anywhere; }
.credit-list a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.25em; }
.credit-list--few { columns: 1; max-width: 58ch; }
.join-page .bar .btn { display: inline-flex; }
@media (max-width: 900px) { .credit-list { columns: 1; } }

.domain-picker {
  display: grid; gap: 1rem; min-width: 0; margin: 0; padding: 1.2rem 0 0;
  border: 0; border-top: 1px solid color-mix(in oklab, var(--ink) 22%, transparent);
}
.domain-picker legend { padding-right: .6rem; font-weight: 750; }
.domain-picker legend span { color: var(--slate); font-weight: 450; }
.domain-picker select {
  min-width: 0; width: 100%; height: 3.4rem; border: 1px solid var(--slate);
  border-radius: .9rem; padding: 0 .8rem; background: var(--paper); color: var(--ink); font: inherit;
}
.domain-section, .domain-results { display: grid; gap: .8rem; min-width: 0; }
.domain-picker [hidden], .domain-results:empty, #domain-status:empty { display: none; }
.domain-action, .domain-option {
  justify-self: start; padding: .65rem 1rem; min-height: 44px; border: 1px solid var(--ink);
  border-radius: .8rem; background: var(--paper); color: var(--ink); font: inherit;
  font-weight: 650; text-align: left; cursor: pointer;
}
.domain-action { background: var(--ink); color: var(--chalk); }
.domain-option { width: 100%; overflow-wrap: anywhere; }
.domain-option[aria-pressed="true"] { border-inline-start: .35rem solid var(--ink); background: var(--yellow); }
.domain-picker [aria-disabled="true"] { cursor: progress; }
.domain-option small { display: block; color: var(--slate); font-weight: 500; }
.domain-ending { display: grid; gap: .4rem; min-width: 0; }
.domain-ending p { margin: 0; overflow-wrap: anywhere; }
.domain-picker :focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.planner-step, .planner-step .join-plans, .planner-tools { display: grid; gap: 1rem; min-width: 0; }
.join-form [hidden], #checkout-link[hidden] { display: none; }
.planner-progress { font-size: 1rem; font-weight: 700; color: var(--slate); }
.planner-step h2 { font-size: clamp(1.65rem, 4vw, 2.65rem); line-height: 1.03; letter-spacing: -.035em; overflow-wrap: anywhere; scroll-margin-top: calc(var(--bar-h) + 1.5rem); }
.planner-step h2:focus { outline: none; }
.planner-step select { width: 100%; min-height: 3rem; padding: .5rem .7rem; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--slate); border-radius: .6rem; }
.feature-list { margin: 0; padding: 0; border: 0; min-width: 0; }
.feature-list legend, .fee-card strong { font-weight: 750; }
.feature-list label { display: flex; align-items: baseline; gap: .8rem; padding: .85rem 0; border-bottom: 1px solid #d8d7cf; cursor: pointer; }
.feature-list input { flex: none; width: 1.2rem; height: 1.2rem; accent-color: var(--ink); }
.feature-list small { display: block; color: var(--slate); }
.fee-card, #site-brief { background: var(--chalk); border-radius: .8rem; padding: 1.15rem; display: grid; gap: .5rem; }
.fee-card a, .fee-compare a { text-decoration: underline; text-underline-offset: .2em; font-size: .95rem; }
.fee-compare summary { cursor: pointer; font-weight: 700; }
/* DBP-488. The payment comparison: two real columns at every width, the option (name, then how and plans) and the fee
   on a $500 CAD booking (amount, then rate), so each name and its fee share a line. Ruled rows, headers always shown. */
.fee-compare #processor-comparison { container-type: inline-size; display: grid; gap: .8rem; margin-top: .8rem; min-width: 0; }
.fee-table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: left; line-height: 1.35; }
.fee-table .fee-caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.fee-table th, .fee-table td { vertical-align: top; padding: .6rem 0; border-top: 1px solid #d8d7cf; font-weight: inherit; overflow-wrap: break-word; }
.fee-table thead th { padding-top: 0; border-top: 0; color: var(--slate); font-weight: 650; }
.fee-table th:first-child { padding-right: .9rem; }
.fee-table th:last-child, .fee-table td { width: 42%; text-align: right; }
.fee-table tbody th a { font-weight: 750; font-size: 1rem; color: var(--ink); }
.fee-table b { font-size: 1rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.fee-table .fee-sub { display: block; color: var(--slate); }
.fee-table td .fee-sub { font-variant-numeric: tabular-nums; }
.fee-compare .fee-foot { margin: 0; color: var(--slate); }
@container (min-width: 34rem) { .fee-table th:last-child, .fee-table td { width: 34%; } }
#site-brief dl { display: grid; grid-template-columns: minmax(6rem, .6fr) minmax(0, 1fr); gap: .65rem; margin: 0; }
#site-brief dt { color: var(--slate); } #site-brief dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
.join-plan:has(input:disabled) { opacity: .48; }
.planner-tools, .planner-nav { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; }
.planner-nav .btn { margin-left: auto; }
.planner-tools button, #planner-back { background: none; border: 0; color: var(--ink); font: inherit; text-decoration: underline; text-underline-offset: .22em; cursor: pointer; min-height: 44px; }
#copy-status, #export-status { overflow-wrap: anywhere; min-width: 0; }
.planner-tools button[aria-disabled="true"], .planner-tools button[aria-busy="true"] { color: var(--slate); text-decoration: none; cursor: progress; }

@media (max-width: 900px) {
  .join-intro .join-call { display: none; }
}

/* The owner's priced proposal also supplies the printable brief. */
.proposal { border-top: 4px solid var(--yellow); min-width: 0; }
.proposal-print-logo { display: none; }
.proposal-plans summary { width: fit-content; min-height: 44px; padding-block: .6rem; font-weight: 700; cursor: pointer; }
.proposal-plans[open] .join-plans { margin-top: .5rem; }
.proposal-price { background: var(--ink); color: var(--paper); padding: clamp(1rem, 3vw, 1.6rem); }
.proposal-price h3 { font-size: 1rem; }
.proposal-price dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin: 1.2rem 0; }
.proposal-price dt, .proposal-price p { font-size: 1rem; }
.proposal-price dd { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: .15em 0 0; font-weight: 750; line-height: 1; letter-spacing: -.045em; }
.proposal #site-brief { background: transparent; border-radius: 0; padding: 0; gap: 0; }
.proposal #site-brief section { padding: .75rem 0 1rem; border-bottom: 1px solid #c9c7be; }
.proposal-section-head { display: flex; justify-content: space-between; align-items: center; gap: .75rem; }
.proposal-section-head h3 { font-size: 1rem; }
.proposal-section-head button { min-height: 44px; min-width: 44px; font: inherit; color: inherit; background: transparent; border: 0; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.proposal #site-brief > p { margin-top: .7rem; }
/* A reviewed choice with its own Edit: the value reads first, the 44px edit button sits to its right. */
.proposal #site-brief dd.proposal-editable { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; }
.proposal #site-brief dd.proposal-editable > span { min-width: 0; }
.proposal-editable .proposal-edit { flex: none; min-height: 44px; min-width: 44px; align-self: flex-start; padding: 0 .1rem; font: inherit; font-weight: 500; color: inherit; background: transparent; border: 0; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.proposal-edit:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (max-width: 430px) {
  .proposal #site-brief dl { display: block; }
  .proposal #site-brief dt:not(:first-child) { margin-top: .6rem; }
}
/* ============================================================ the site brief (DBP-440)
   The sign-up page reads as a brief being written, not a form being filled. Beside the form stands an example
   title page: a real dusk photograph taken near Wasaga Getaway, said to be an example, carrying the owner's own
   place, town and address as they are typed, and under it each choice as it is made. On a phone the heading and
   the first field come first and the title page follows the form. Every rule here is scoped to the sign-up page. */
.join-page .join { padding-top: calc(var(--bar-h) + clamp(1.25rem, 5vw, 4.5rem)); }
/* the title leads with the promise, sized to sit in the column on one or two lines, not the page's display size */
.join-page .join-head h1 { font-size: clamp(2rem, 1.15rem + 2.1vw, 3.1rem); line-height: 1.02; text-wrap: balance; }
.join-page .join-intro .sc-lede { max-width: 30ch; }
.join-page .planner-step > p { max-width: 52ch; text-wrap: pretty; }
.join-page .step-lede { color: var(--slate); }
/* above the prices: the one sentence saying what the selected plan gets the owner */
.join-form .proposal-gets { margin-top: .7rem; font-weight: 600; max-width: 48ch; text-wrap: pretty; color: color-mix(in oklab, var(--paper) 88%, transparent); }

.specimen { margin-top: 1.8rem; max-width: 36rem; overflow: hidden; border-radius: calc(var(--r) * 1.5); background: var(--ink); color: var(--chalk); box-shadow: 0 30px 70px -40px color-mix(in oklab, var(--ink) 60%, transparent); }
.specimen [hidden] { display: none; }
.specimen-plate { position: relative; isolation: isolate; display: grid; align-content: space-between; gap: 2rem; aspect-ratio: 16 / 10; min-height: 13rem; width: 100%; padding: 1.1rem 1.25rem 1.3rem; }
.specimen-plate img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; }
.specimen-plate::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, color-mix(in oklab, var(--night) 50%, transparent) 0%, color-mix(in oklab, var(--night) 8%, transparent) 40%, color-mix(in oklab, var(--night) 86%, transparent) 100%); }
.specimen-address { justify-self: start; display: inline-flex; align-items: center; gap: .5rem; max-width: 100%; min-height: 2.2rem; padding: 0 .95rem; border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 1rem; font-weight: 650; line-height: 1.2; }
.specimen-address svg { flex: none; width: 1em; height: 1em; color: var(--slate); }
.specimen-address span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.specimen-title { display: grid; gap: .4rem; min-width: 0; }
#specimen-name { font-size: clamp(1.65rem, 4vw, 2.65rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.03; overflow-wrap: anywhere; text-wrap: balance; }
#specimen-town { font-weight: 600; overflow-wrap: anywhere; }
.specimen-brief { display: grid; grid-template-columns: minmax(6.5rem, .5fr) minmax(0, 1fr); gap: .55rem 1rem; margin: 0; padding: 1.1rem 1.25rem 1.2rem; border-top: 3px solid var(--yellow); font-size: 1rem; }
.specimen-brief dt { color: color-mix(in oklab, var(--chalk) 68%, transparent); }
.specimen-brief dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
.specimen figcaption { padding: .9rem 1.25rem 1.1rem; border-top: 1px solid color-mix(in oklab, var(--chalk) 16%, transparent); color: color-mix(in oklab, var(--chalk) 74%, transparent); font-size: 1rem; text-wrap: pretty; }
/* a short window cannot hold the whole column still: it scrolls with the form */
@media (min-width: 901px) and (max-height: 1100px) { .join-page .join-intro { position: static; } }

/* what you get, before the first field: every plan in one line, then the three tiers labelled, the one in play marked */
.plan-brief { margin-top: 1.8rem; max-width: 36rem; }
.plan-brief h2 { font-size: var(--sc-t-base); font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
/* The plan overview is folded away so the feature menu is the first task; the summary is its only line until opened. */
.plan-brief-fold > summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; cursor: pointer; list-style: none; }
.plan-brief-fold > summary::-webkit-details-marker { display: none; }
.plan-brief-fold > summary::after { content: "+"; font-size: 1.4rem; font-weight: 700; line-height: 1; }
.plan-brief-fold[open] > summary::after { content: "\2212"; }
.plan-brief-fold > summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.join-page .join-planner-intro { margin-top: .9rem; max-width: 40ch; font-weight: 600; text-wrap: pretty; }
.join-page .join-planner-intro[hidden] { display: none; }
.join-form .property-recap:not([hidden]) { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .75rem; font-weight: 650; overflow-wrap: anywhere; }
.join-form .property-recap button { min-height: 44px; min-width: 44px; font: inherit; color: inherit; background: transparent; border: 0; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.join-form .property-recap:has(#property-recap-line:empty) { display: none; }.plan-brief-lede { margin-top: 0.6rem; color: var(--slate); text-wrap: pretty; }
.plan-brief-tiers { display: grid; gap: 0.6rem; margin-top: 1.1rem; }
.plan-brief-tier { padding: 0.85rem 1.1rem; border-radius: 1rem; background: var(--paper); box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--ink) 18%, transparent); }
.plan-brief-tier h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.7rem; font-size: 1rem; font-weight: 800; letter-spacing: -0.01em; }
.plan-brief-tier h3 span { color: var(--slate); font-weight: 600; }
.plan-brief-tier p { margin-top: 0.35rem; font-size: 1rem; color: var(--slate); text-wrap: pretty; }
.plan-brief-tier.is-chosen { box-shadow: inset 0 0 0 2px var(--ink); border-left: 0.4rem solid var(--yellow); }
.plan-brief-tiers:has(.is-chosen) > :not(.is-chosen) { display: none; }
.plan-brief .fine { margin-top: 0.9rem; font-size: 1rem; }
.plan-brief .fine a { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.25em; font-weight: 600; }

.join-head:has(#planner-intro:not([hidden])) .sc-lede { display: none; }
.feature-menu #feature-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: .65rem; }
.feature-menu #feature-options label { align-items: flex-start; gap: .65rem; margin: 0; padding: .9rem; border: 1px solid #b9b8b0; border-radius: .8rem; }
.feature-menu #feature-options label:has(:checked) { border-color: var(--ink); background: #fff7dc; }
.feature-menu #feature-options label:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; }
.feature-menu #feature-options input { flex: none; margin-top: .2rem; }
.included-features { margin: .25rem 0 .75rem; }
/* the owner's own assistant: a folded extra at the foot of the last step, and plain steps on the done screen */
.ai-fold { min-width: 0; border-top: 1px solid color-mix(in oklab, var(--ink) 22%, transparent); }
.ai-fold > summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.4rem; padding-block: 0.5rem; font-weight: 750; list-style: none; cursor: pointer; }
.ai-fold > summary::-webkit-details-marker { display: none; }
.ai-fold > summary span span { color: var(--slate); font-weight: 450; }
.ai-fold > summary::after {
  content: ""; flex: none; width: 1.1rem; height: 1.1rem;
  background: linear-gradient(currentColor, currentColor) 50% 50% / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) 50% 50% / 2px 100% no-repeat;
  transition: transform 240ms var(--sc-ease-out);
}
.ai-fold[open] > summary::after { transform: rotate(45deg); }
.ai-fold > summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 0.4rem; }
.ai-fold-lede { margin-bottom: 1rem; max-width: 52ch; }
/* DBP-488. The assistant offer after a saved plan: quiet, below the plan's next step. */
.join-done .ai-optin { max-width: 44rem; }
.ai-optin > :not(summary) + * { margin-top: 1rem; }
.ai-optin .fine { max-width: 56ch; font-size: 1rem; text-wrap: pretty; }
.ai-optin-drafts { display: flex; align-items: flex-start; gap: .8rem; cursor: pointer; }
.ai-optin-drafts input { flex: none; width: 1.2rem; height: 1.2rem; margin-top: .25rem; accent-color: var(--ink); }
.ai-optin-drafts b { display: block; font-weight: 750; }
.ai-optin-drafts small { display: block; color: var(--slate); font-size: 1rem; }
.ai-optin .domain-action[aria-disabled="true"] { opacity: .6; cursor: progress; }
.ai-optin[open] { padding-bottom: 1.4rem; }
.ai-steps { margin: 0.8rem 0 1.2rem; padding-left: 1.3rem; display: grid; gap: 0.5rem; max-width: 52ch; text-wrap: pretty; }
.ai-tech { margin-top: 1rem; max-width: 56ch; }
.ai-tech summary { min-height: 44px; padding-block: 0.6rem; font-weight: 700; cursor: pointer; }
.ai-tech p { color: var(--slate); overflow-wrap: anywhere; }
.ai-tech code { font: inherit; font-weight: 700; color: var(--ink); }
/* the owner's saved assistant permissions: one folded white panel above the footer, for the confirmation and for a
   return visit. Each request states itself in the line under the buttons, and a draft shows its colour as a swatch. */
.ai-access { display: grid; gap: 1rem; padding-bottom: clamp(2rem, 5vw, 4rem); }
.ai-access [hidden] { display: none; }
.ai-access .ai-manage { max-width: 44rem; padding: 0 clamp(1rem, 2.5vw, 1.6rem); border-top: 0; border-radius: calc(var(--r) * 1.5); background: var(--paper); box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--ink) 18%, transparent); }
.ai-manage-in { display: grid; gap: 1rem; min-width: 0; padding-bottom: 1.4rem; }
.ai-manage-in .fine { max-width: 56ch; font-size: 1rem; text-wrap: pretty; }
.ai-manage-in select { width: 100%; min-height: 3rem; padding: .5rem .7rem; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--slate); border-radius: .6rem; }
.ai-manage-in select:disabled { opacity: .6; cursor: progress; }
.ai-manage-in :focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
#ai-property { max-width: 56ch; text-wrap: pretty; }
.ai-actions { display: flex; flex-wrap: wrap; gap: .6rem 1rem; }
.ai-actions .ai-quiet { background: var(--paper); color: var(--ink); }
.ai-manage-in .domain-action[aria-disabled="true"] { opacity: .6; cursor: progress; }
.ai-state { padding: .75rem 1rem; border-radius: .8rem; background: var(--chalk); font-weight: 650; overflow-wrap: anywhere; text-wrap: pretty; }
.ai-state:empty { display: none; }
.ai-state[data-kind="error"] { background: var(--paper); box-shadow: inset 0 0 0 2px var(--ink); }
.ai-state[data-kind="busy"]::before { content: ""; display: inline-block; width: .85em; height: .85em; margin-right: .6em; vertical-align: -.1em; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: ai-turn 800ms linear infinite; }
@keyframes ai-turn { to { transform: rotate(1turn); } }
.ai-draft { display: grid; gap: .6rem; padding: 1rem 1.1rem; border-radius: .8rem; box-shadow: inset 0 0 0 1.5px var(--ink); overflow-wrap: anywhere; }
.ai-draft-label { font-size: 1rem; font-weight: 750; color: var(--slate); }
.ai-draft-swatch { display: inline-block; width: 1.4rem; height: 1.4rem; margin-right: .6rem; vertical-align: -.3rem; border-radius: .35rem; box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--ink) 30%, transparent); }
.ai-notice { max-width: 44rem; padding: .85rem 1.1rem; border-radius: .8rem; background: var(--ink); color: var(--chalk); font-weight: 650; overflow-wrap: anywhere; }
.ai-notice:empty { display: none; }
.ai-notice:focus { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .ai-fold > summary::after { transition: none; } .ai-state[data-kind="busy"]::before { animation: none; } }

/* the four steps: done in ink, the current one in yellow, the rest waiting */
.planner-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; margin: 0; padding: 0; list-style: none; }
.planner-steps li { padding-top: .7rem; border-top: 4px solid color-mix(in oklab, var(--ink) 14%, transparent); color: var(--slate); font-size: 1rem; font-weight: 600; line-height: 1.2; transition: border-color 200ms var(--sc-ease-out), color 200ms var(--sc-ease-out); }
.planner-steps li.is-complete { border-top-color: var(--ink); color: var(--ink); }
.planner-steps li.is-now { border-top-color: var(--yellow); color: var(--ink); font-weight: 800; }
@media (min-width: 561px) { .join-page .planner-progress { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } }
@media (max-width: 560px) {
  .planner-steps li { padding-top: 0; }
  .planner-steps li span { display: none; }
  .join-page .planner-progress { margin-top: -.75rem; }
}
.brief-line { display: none; }

/* the web address choices, folded until wanted */
.domain-fold { min-width: 0; border-top: 1px solid color-mix(in oklab, var(--ink) 22%, transparent); }
.domain-fold > summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.4rem; padding-block: .5rem; font-weight: 750; list-style: none; cursor: pointer; }
.domain-fold > summary::-webkit-details-marker { display: none; }
.domain-fold > summary span span { color: var(--slate); font-weight: 450; }
.domain-fold > summary::after {
  content: ""; flex: none; width: 1.1rem; height: 1.1rem;
  background: linear-gradient(currentColor, currentColor) 50% 50% / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) 50% 50% / 2px 100% no-repeat;
  transition: transform 240ms var(--sc-ease-out);
}
.domain-fold[open] > summary::after { transform: rotate(45deg); }
.domain-fold > summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: .4rem; }
.domain-fold .domain-picker { padding: .25rem 0 .5rem; border-top: 0; }
/* Help me find a name, once names are shown: the brief is folded under the list as "Refine these names". */
#domain-brief.domain-moved { display: none; }
.domain-refine { min-width: 0; }
.domain-refine > summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 2.75rem; font-weight: 750; list-style: none; cursor: pointer; border-top: 1px solid color-mix(in oklab, var(--ink) 22%, transparent); }
.domain-refine > summary::-webkit-details-marker { display: none; }
.domain-refine > summary::after { content: "+"; flex: none; font-weight: 450; }
.domain-refine[open] > summary::after { content: "\2212"; }
.domain-refine[open] > summary:not([hidden]) + .domain-section { margin-top: .6rem; }

/* choices as cards: the whole row is the control, and a chosen one is plainly chosen */
.join-form .feature-list:not([hidden]), .join-form #feature-options { display: grid; gap: .6rem; }
.join-form .feature-list legend { margin-bottom: .7rem; padding: 0; }
.join-form .feature-list legend span { color: var(--slate); font-weight: 450; }
.join-form .feature-list label { align-items: flex-start; gap: .9rem; padding: .95rem 1.1rem; border: 0; border-radius: 1rem; box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--ink) 22%, transparent); transition: background-color 160ms var(--sc-ease-out), box-shadow 160ms var(--sc-ease-out); }
.join-form .feature-list label > span { min-width: 0; }
.join-form .feature-list input { margin-top: .25rem; }
.join-form .feature-list b { display: block; font-weight: 750; }
.join-form .feature-list small { margin-top: .15rem; font-size: 1rem; text-wrap: pretty; }
.join-form .feature-list label:has(input:checked) { background: var(--chalk); box-shadow: inset 0 0 0 2px var(--ink); }
.join-form .feature-list label:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .join-form .feature-list label:hover { box-shadow: inset 0 0 0 1.5px var(--ink); } .join-form .feature-list label:has(input:checked):hover { box-shadow: inset 0 0 0 2px var(--ink); } }
.join-form .fee-card small, .join-form #call-zone { font-size: 1rem; color: var(--slate); }
.join-form .planner-nav .btn { max-width: 100%; padding-block: .6rem; line-height: 1.15; white-space: normal; text-align: center; }

/* the plan as a statement: what it is, what it costs, what it covers and where it stops */
.join-form .proposal { overflow: hidden; border-top: 0; border-radius: 1rem; box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--ink) 18%, transparent); }
.join-form .proposal-price { border-top: 4px solid var(--yellow); }
.join-form .proposal-price h3 { font-size: clamp(1.65rem, 4vw, 2.65rem); letter-spacing: -.035em; line-height: 1.03; }
.join-form .proposal-price p { max-width: 48ch; text-wrap: pretty; }
.join-form #proposal-year { margin-bottom: .5rem; font-weight: 700; }
.join-form .proposal #site-brief { padding: .35rem clamp(1rem, 3vw, 1.6rem) 1.1rem; }
.join-form .proposal #site-brief section:last-of-type { border-bottom: 0; }
.join-form .proposal-section-head { min-height: 44px; }
.join-form #site-brief ul { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.join-form #site-brief li { position: relative; padding-left: 1.5rem; text-wrap: pretty; }
.join-form #site-brief li::before { content: ""; position: absolute; left: .1rem; top: .55em; width: .55rem; height: .55rem; border-radius: 50%; background: var(--ink); }
/* the last line is the plan's boundary: a dash, as in the plan comparison, and quieter */
.join-form #site-brief li:last-child { color: var(--slate); }
.join-form #site-brief li:last-child::before { top: .72em; width: .8rem; height: 2px; border-radius: 0; background: color-mix(in oklab, var(--ink) 62%, transparent); }

/* On a phone and a tablet: a compact photographic masthead under the bar, then the form. The title page beside the
   form on a desktop is not repeated here: the one line above the fields carries the brief so far, and the masthead
   carries the photograph. The photograph is decorative, so it is a background with its credit in one small line. */
@media (max-width: 900px) {
  .join-page .join { padding-top: var(--bar-h); }
  .join-page .join-grid { gap: 1.25rem; }
  .join-page .join-intro { display: contents; }
  .join-page .join-grid.is-done > .join-intro { display: none; }   /* a sent brief shows only its confirmation */
  .join-page .join-head {
    position: relative; isolation: isolate; order: 0;
    margin: 0 calc(-1 * var(--sc-gutter)); padding: 1.1rem var(--sc-gutter) 1rem;
    border-radius: 0 0 calc(var(--r) * 1.5) calc(var(--r) * 1.5); overflow: hidden;
    background: var(--night) url("assets/sunset-760.webp") 50% 72% / cover no-repeat;
    color: var(--chalk); --sc-ink: var(--chalk);
  }
  /* a dusk band over the sun, dark enough for white words; the horizon stays lit at the top edge */
  .join-page .join-head::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, color-mix(in oklab, var(--night) 42%, transparent) 0%, color-mix(in oklab, var(--night) 70%, transparent) 45%, color-mix(in oklab, var(--night) 90%, transparent) 100%); }
  .join-page .join-head h1 { font-size: clamp(1.7rem, 1.2rem + 2.6vw, 2.2rem); color: var(--chalk); text-shadow: 0 1px 12px color-mix(in oklab, var(--night) 60%, transparent); }
  .join-page .join-head .sc-lede { margin-top: .6rem; max-width: 36ch; font-size: 1rem; line-height: 1.45; color: var(--chalk); text-shadow: 0 1px 10px color-mix(in oklab, var(--night) 70%, transparent); }
  .join-page #saved-build-order { margin-top: 0; }
  .join-page .plan-brief { order: 2; margin-top: 0; max-width: none; }   /* the feature menu comes first; the plan overview waits below the planner */
  .join-page .join-form { order: 1; }
  .join-page .specimen { display: none; }
  .join-page .join-done { order: 3; }
  .join-form .brief-line:not([hidden]) { display: block; padding: .75rem 1rem; border-radius: .8rem; background: var(--ink); color: var(--chalk); font-weight: 650; overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) { .planner-steps li, .domain-fold > summary::after { transition: none; } }

@media print {
  .join-form .proposal { border-radius: 0; box-shadow: none; }
  .join-form .proposal-price { border-top: 1px solid #999; }
  .join-form .proposal-gets { color: inherit; }
  .join-form .proposal #site-brief { padding-inline: 0; }
  .join-page:has(#signup[data-planner] #summary-step:not([hidden])) { background: white; }
  .join-page:has(#signup[data-planner] #summary-step:not([hidden])) :is(
    body > :not(#top), #top > :not(#join), #join > :not(#signup),
    #signup > :not(#summary-step), #summary-step > :not(h2, #site-proposal),
    .proposal-section-head button, .proposal-edit
  ) { display: none !important; }
  .join-page:has(#signup[data-planner] #summary-step:not([hidden])) :is(.join, .join-grid, .join-form) { display: block; min-height: 0; width: 100%; max-width: none; margin: 0; padding: 0; box-shadow: none; background: white; color: #14171a; }
  #summary-step:not([hidden]) { display: block; }
  .proposal { margin-top: 1rem; }
  .proposal-print-logo { display: block; width: 8rem; height: auto; margin: 1rem 0; }
  .proposal-price { background: white; color: #14171a; border-block: 1px solid #999; padding-inline: 0; }
  .proposal-price, .proposal #site-brief section { break-inside: avoid; }
}

/* A single hosting decision, with the price and included plans at the point of choice. */
.join-form:has(#features-step:not([hidden])) #brief-line,
.join-form:has(#features-step:not([hidden])) .planner-nav { display: none; }
.join-form .consult-kicker { display:flex; align-items:center; gap:1rem; color:#654d16; font-size:1rem; font-weight:700; }
#interview-meter { height:4px; flex:1; background:linear-gradient(to right,#99650c var(--progress),#e8e5dc var(--progress)); }
#question-title { margin:0; font-size:clamp(1.65rem,3.2vw,2.75rem); letter-spacing:-.04em; line-height:1.04; text-wrap:balance; }
.consult-example { color:#444943; font-size:1rem; line-height:1.5; }
.consult-answers { display:grid; gap:.6rem; margin:.35rem 0; padding:0; border:0; min-width:0; }
#features-step #feature-options { display:none; }
.consult-answers label { display:grid; grid-template-columns:1.1rem 1fr; gap:.85rem; align-items:start; padding:1rem; border:1px solid #b6b6aa; border-radius:.65rem; cursor:pointer; background:#fff; }
.consult-answers label:hover { border-color:#786633; }
.consult-answers label:has(:checked) { border:2px solid #553f10; padding:calc(1rem - 1px); background:#fff7d9; }
.consult-answers label:focus-within { outline:2px solid #58450e; outline-offset:2px; }
.consult-answers input { width:1.05rem; height:1.05rem; margin:.24rem 0; accent-color:#312b18; }
.consult-answers b,.consult-answers small,.consult-answers em { display:block; }
.consult-answers b { font-size:1.05rem; line-height:1.35; }
.consult-answers small { margin:.25rem 0 .45rem; font-size:1rem; line-height:1.4; color:#41463e; }
.consult-answers em { font-size:1rem; font-style:normal; font-weight:700; color:#645422; }
/* A quiet secondary action: clears this question's answer back to still to choose. */
.consult-clear { justify-self:start; min-height:44px; padding:0 .1rem; font:inherit; font-size:1rem; color:#41463e; background:transparent; border:0; text-decoration:underline; text-underline-offset:.2em; cursor:pointer; }
.consult-clear:hover { color:#1f231d; }
.consult-clear:focus-visible { outline:2px solid #58450e; outline-offset:2px; }
.consult-clear[hidden] { display:none; }
.consult-actions { display:flex; align-items:center; justify-content:space-between; gap:.7rem; flex-wrap:wrap; }
.consult-actions button,.consult-receipt button { cursor:pointer; min-height:44px; font:inherit; }
.consult-actions #question-prev,.consult-receipt #planner-next { color:inherit; border:0; background:transparent; padding:0; text-decoration:underline; text-underline-offset:.2em; font-weight:650; }
.consult-actions #question-next { margin-left:auto; }
/* DBP-472. The running quote sits after the answers and before Next, ruled off above. */
.consult-receipt { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:.5rem; margin:0; padding:.8rem 0 0; border-top:1px solid #c6c6b9; }
.consult-receipt b,.consult-receipt span { display:block; }
.consult-receipt span { font-size:1rem; color:#55594d; }
/* Questions 5 to 7: the booking, payment and photo ID controls, each under the one question title. */
#features-step .consult-native em { display:block; margin-top:.35rem; font-size:1rem; font-style:normal; font-weight:700; color:#645422; }
#features-step .consult-native label:has(:checked) em::before { content:"✓ "; }
#payment-choice:not([hidden]) { display:grid; gap:.65rem; min-width:0; }
#payment-choice .fee-card { overflow-wrap:anywhere; }
/* Tier details sit below the interview navigation so exploring a plan never slows the next answer. */
.tier-outcome { min-width:0; margin-top:.65rem; padding-top:1rem; border-top:2px solid var(--ink); font-size:1rem; line-height:1.4; }
.tier-outcome h3 { margin:0 0 .65rem; font-size:1.3rem; letter-spacing:-.025em; }
.tier-outcome > p { margin:0 0 .65rem; color:var(--slate); }
.tier-outcome ul { margin:0; padding:0; list-style:none; }
.tier-outcome li { padding:.75rem 1rem; border-top:1px solid #d8d7cf; }
.tier-outcome li[aria-current="true"] { background:#fbf4db; box-shadow:inset 3px 0 var(--yellow,#ffc72c); }
.tier-outcome h4 { margin:0 0 .2rem; font-size:1rem; }
.tier-outcome h4 span { font-weight:500; white-space:nowrap; }
.tier-outcome li p { margin:.15rem 0 0; color:var(--slate); }
.tier-outcome li p b { color:var(--ink); }
.tier-outcome .tier-now { color:#655014; font-weight:700; }
.tier-outcome [hidden] { display:none; }
.consult-footer { display: grid; gap: .65rem; }

/* Keep optional comparisons within reach, with the decision and price first. */
.tier-outcome { margin-top: 0; padding-top: 0; }
.tier-outcome summary { min-height: 44px; align-content: center; cursor: pointer; }
.tier-outcome summary h3 { display: inline; font-size: 1rem; }
@media screen and (min-width: 901px) {
  .join:has(#features-step:not([hidden])) { padding-top: calc(var(--bar-h) + 1rem); }
  .join-grid:has(#features-step:not([hidden])) {
    grid-template-columns: minmax(0, .58fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 3vw, 3rem);
    padding-bottom: 1rem;
  }
  .join-form:has(#features-step:not([hidden])) { padding: 1.25rem 1.5rem; gap: .75rem; }
  #features-step { row-gap: .45rem; }
  .consult-footer { grid-template-columns: minmax(0, 1fr) auto; align-items: center; border-top: 1px solid #c6c6b9; padding-top: .5rem; }
  .consult-footer .consult-receipt { padding: 0; border: 0; }
  .consult-footer:has(#question-prev:not([hidden])) .consult-receipt { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .consult-footer:has(#question-prev:not([hidden])) #planner-next { text-align: left; }
  #booking-preference:not([hidden]) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #booking-preference label { padding: .65rem .75rem; gap: .5rem; }
  #booking-preference, #guest-photo-id { font-size: 1rem; line-height: 1.35; }
  #booking-id-hint { grid-column: 1 / -1; }
  #booking-preference label:not(:has(:checked)) :is(small, em) { display: none; }
  #booking-preference label { min-height: 44px; align-items: center; }
  #features-step:has(#booking-preference:not([hidden])) { row-gap: .35rem; }
  #question-title { font-size: clamp(1.65rem, 2.5vw, 2.25rem); }
  #feature-answer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #feature-answer label { padding: .75rem; gap: .55rem; }
  #feature-answer label:has(:checked) { padding: calc(.75rem - 1px); }
  #feature-answer small { margin-block: .15rem .25rem; }
  .join-grid:has(#features-step:not([hidden])) .specimen-plate {
    aspect-ratio: auto;
    min-height: clamp(9rem, 23vh, 15rem);
  }
  .join-grid:has(#features-step:not([hidden])) .specimen { margin-top: 1rem; }
  .join-grid:has(#features-step:not([hidden])) .specimen :is(figcaption, .specimen-brief) { padding-block: .65rem; }
  .join-grid:has(#features-step:not([hidden])) .plan-brief { margin-top: .5rem; }
}
@media(min-width:600px) {
  .tier-outcome li[data-plan] { display:grid; grid-template-columns:minmax(8rem,.65fr) minmax(0,1.5fr); column-gap:1.2rem; align-content:start; }
  .tier-outcome li[data-plan] h4 { grid-row:1; grid-column:1; }
  .tier-outcome li[data-plan] h4 span { display:block; }
  .tier-outcome li[data-plan] p { grid-column:2; }
  .tier-outcome li[data-plan] .tier-now { grid-column:1; grid-row:2; }
  .tier-outcome li[data-plan] .tier-now + p { grid-row:1; }
}
@media(max-width:900px) {
  .join-page .join-head { padding-block:.85rem; }
  .join-page .join-grid { gap:.65rem; }
  .join-form:has(#features-step:not([hidden])) #planner-progress { position:absolute; clip-path:inset(50%); }
  .join-form:has(#features-step:not([hidden])) #planner-steps { display:none; }
  /* DBP-472. A shorter masthead and form inset, so the first question and its first answer fit the first screen. */
  .join-page .join-planner-intro { margin-top:.45rem; max-width:none; }
}
@media(max-width:480px) {
  .join-page .join-head { padding-block:.7rem; }
  .join-form:has(#features-step:not([hidden])) { padding-top:1.1rem; }
}

#quote-action #planner-next { min-height:44px; border:0; background:transparent; color:var(--ink); padding:.3rem 0; box-shadow:none; text-decoration:underline; text-underline-offset:.2em; font-size:1rem; }

#features-step { gap:.65rem; }
#features-step .consult-receipt b { font-size:clamp(1rem,2vw,1.3rem); }
#features-step .consult-receipt span { line-height:1.4; }
#features-step .consult-answers label:has(:checked) em::before { content:"✓ "; }
@media(max-width:480px) {
  #features-step .consult-receipt { align-items:start; }
  #quote-action #planner-next { font-size:1rem; width:7rem; text-align:right; line-height:1.3; }
  #features-step .consult-answers label { padding:.85rem; }
  #features-step .consult-answers label:has(:checked) { padding:calc(.85rem - 1px); }
}

.consult-demo summary { width:fit-content; min-height:44px; align-content:center; cursor:pointer; font-weight:650; font-size:1rem; color:#514119; }
.consult-demo figure { margin:.25rem 0 .6rem; overflow:hidden; border-radius:.65rem; background:#f5f2e9; }
.consult-demo img { display:block; width:100%; height:auto; }
.consult-demo img[hidden] { display:none; }
.consult-demo figcaption { padding:.85rem 1.1rem; line-height:1.45; }
.consult-demo figcaption b,.consult-demo figcaption span { display:block; }
.consult-demo figcaption span { margin-top:.2rem; font-size:1rem; }
.booking-stories { display:grid; gap:.5rem; margin:.25rem 0 .6rem; }
.booking-stories p { margin:0; font-size:1rem; line-height:1.45; color:#444943; }
.booking-story { padding:.75rem 1rem; border-radius:.65rem; background:#f5f2e9; }
.booking-story[hidden] { display:none; }
.booking-story h3 { margin:0 0 .25rem; font-size:1rem; font-weight:700; }
.booking-story dl { display:grid; grid-template-columns:auto 1fr; gap:.2rem .75rem; margin:0; font-size:1rem; line-height:1.45; }
.booking-story dt { font-weight:650; }
.booking-story dd { margin:0; }
.booking-after { padding:.75rem 0 0; border-top:1px solid #e4dfd2; }
.booking-after h3 { margin:0 0 .25rem; font-size:1rem; font-weight:700; }
.booking-after p + p { margin-top:.6rem; }
@media(max-width:480px) {
  .booking-story { padding:.65rem .8rem; }
  .booking-story dl { grid-template-columns:1fr; gap:0; }
  .booking-story dd + dt { margin-top:.3rem; }
}

#interview-reason { grid-column:1 / -1; color:var(--slate); line-height:1.45; }
#quote-action #planner-next { white-space:normal; }

/* ------------------------------------------------- plan comparison dialog --
   plan-comparison.mjs opens the homepage's full comparison in place on the signup page. Chalk panel, ink type and
   rules, one signal-yellow edge on the plan being looked at. On a phone it fills the screen and scrolls inside. */
.join-form .compare-open { margin: 0; font-size: 1rem; }
.compare-open a { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.25em; }
.proposal-price .compare-open { margin-top: 0.9rem; }
.proposal-price .compare-open a:focus-visible { outline-color: var(--paper); }
@media print { .compare-open, .cmp { display: none !important; } }

.cmp { width: min(60rem, calc(100% - 2rem)); max-width: none; max-height: calc(100dvh - 3rem); margin: auto; padding: 0; border: 0; border-radius: var(--r); background: var(--chalk); color: var(--ink); box-shadow: 0 30px 80px -30px rgb(15 17 19 / 0.6); --sc-hairline: color-mix(in oklab, var(--ink) 16%, transparent); }
.cmp[open] { display: flex; }
.cmp::backdrop { background: rgb(15 17 19 / 0.6); }
.cmp :focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.cmp-in { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; width: 100%; }
.cmp-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.9rem clamp(1rem, 3vw, 1.75rem); border-bottom: 1px solid var(--ink); }
.cmp-head h2 { font-size: var(--sc-t-base); font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
.cmp-close { min-height: 44px; min-width: 44px; padding: 0 1rem; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-size: 1rem; font-weight: 700; box-shadow: inset 0 0 0 1.5px var(--ink); cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .cmp-close:hover { background: var(--ink); color: var(--chalk); } }
.cmp-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 0 clamp(1rem, 3vw, 1.75rem) clamp(1.25rem, 3vw, 2rem); }
.cmp-body:focus { outline: none; }
.cmp-body:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }

.cmp-pick { position: sticky; top: 0; z-index: 3; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; margin: 0 calc(-1 * clamp(1rem, 3vw, 1.75rem)); padding: 0.9rem clamp(1rem, 3vw, 1.75rem) 0.7rem; border: 0; background: var(--chalk); min-width: 0; }
.cmp-pick label { position: relative; display: block; min-width: 0; cursor: pointer; }
.cmp-pick input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.cmp-pick label > span { display: grid; gap: 0.1rem; height: 100%; padding: 0.6rem 0.8rem; border-radius: 0.9rem; background: var(--paper); box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--ink) 18%, transparent); font-size: 0.95rem; line-height: 1.25; }
.cmp-pick b { font-size: 1rem; font-weight: 800; letter-spacing: -0.01em; }
.cmp-pick label > span > span { color: var(--slate); font-weight: 600; font-variant-numeric: tabular-nums; }
.cmp-pick input:checked + span { background: var(--ink); color: var(--chalk); box-shadow: inset 0 -4px 0 var(--yellow); }
.cmp-pick input:checked + span > span { color: color-mix(in oklab, var(--chalk) 82%, transparent); }
.cmp-pick input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .cmp-pick input:not(:checked) + span:hover { box-shadow: inset 0 0 0 1.5px var(--ink); } }
.cmp-fees { margin-top: 0.4rem; font-size: 1rem; font-weight: 700; text-wrap: pretty; }
.cmp-note { margin-top: 0.2rem; font-size: 1rem; color: var(--slate); }
.cmp-status { margin-top: 1.25rem; font-size: 1rem; font-weight: 600; }
.cmp-status[hidden] { display: none; }
.cmp-status a { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.25em; }

.cmp-legend { display: flex; gap: 1.5rem; margin-top: 1rem; font-size: 0.95rem; color: var(--slate); }
.cmp-legend .mark { display: inline-flex; align-items: center; gap: 0.5rem; }
.cmp .mark::before { content: ""; display: inline-block; vertical-align: middle; }
.cmp .mark.yes::before { width: 0.8rem; height: 0.8rem; border-radius: 50%; background: var(--ink); }
.cmp .mark.no::before { width: 0.9rem; height: 2px; background: color-mix(in oklab, var(--ink) 62%, transparent); }
.cmp-table { width: 100%; margin-top: 0.4rem; border-collapse: collapse; font-size: 1rem; }
.cmp-table th, .cmp-table td { padding: 0.65rem 0.6rem 0.65rem 0; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--sc-hairline); font-weight: 450; line-height: 1.35; }
.cmp-table thead th, .cmp-table thead td { position: sticky; top: 0; z-index: 2; background: var(--chalk); border-bottom: 0; box-shadow: 0 1px 0 var(--ink); font-weight: 800; text-align: center; }
.cmp-table .grp th { padding-top: 1.6rem; font-weight: 800; letter-spacing: -0.01em; border-bottom: 1px solid var(--ink); }
.cmp-table .mark { width: 7.5rem; padding-right: 0; text-align: center; }
.cmp-table .is-on { background: color-mix(in oklab, var(--yellow) 14%, var(--chalk)); }
.cmp-table thead .is-on { box-shadow: inset 0 -3px 0 var(--yellow), 0 1px 0 var(--ink); }

/* On wide screens the picker sits in normal flow so the column names can stay pinned under the panel's heading. */
@media (min-width: 701px) { .cmp-pick { position: static; } }
/* On a phone: the whole screen, the picker pinned at the top of the scroll, and only the chosen plan's marks. */
@media (max-width: 700px) {
  .cmp { width: 100%; height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .cmp-pick label > span { padding: 0.5rem 0.55rem; font-size: 0.85rem; }
  .cmp-pick b { font-size: 0.95rem; }
  .cmp-table thead { display: none; }
  .cmp-table tbody th[scope="row"] { width: 100%; }
  .cmp-table .mark { width: 2.5rem; text-align: right; padding-right: 0.3rem; }
  .cmp-table .is-on { background: transparent; }
  .cmp[data-show="own"] .cmp-table tr > :nth-child(3), .cmp[data-show="own"] .cmp-table tr > :nth-child(4),
  .cmp[data-show="booking"] .cmp-table tr > :nth-child(2), .cmp[data-show="booking"] .cmp-table tr > :nth-child(4),
  .cmp[data-show="managed"] .cmp-table tr > :nth-child(2), .cmp[data-show="managed"] .cmp-table tr > :nth-child(3) { display: none; }
}

@media print { .compare-open, .cmp { display: none !important; } }

/* ============================================================ the sign-up welcome (DBP-488)
   A first-time owner meets this before the interview: what we build, what guests and the owner gain, what the
   planner asks, what it hands back, and the prices. The script in signup.html's head sets data-entry="welcome" for a
   first visit only; site-planner.mjs clears it when the owner starts. With no script the welcome stands above the
   form and its button jumps to it. One heading size (the interview's), one body size, one accent. */
html.js:not([data-entry="welcome"]) .welcome { display: none; }
html[data-entry="welcome"] .ai-access { display: none; }
/* Until the planner runs, a jump to the form (the button, the skip link) still reaches it. */
html[data-entry="welcome"] .join-grid:not(:has(#signup:target)) { display: none; }
/* A form sent with no script returns to #done or #problem: the welcome steps aside for the answer. */
.join:has(#signup:target, #done:target, #problem:target) .welcome { display: none; }
.welcome {
  display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr); align-items: center;
  gap: clamp(2rem, 5vw, 5.5rem) clamp(2rem, 5vw, 5rem); padding-bottom: clamp(3rem, 6vw, 6rem);
}
.welcome-words { display: grid; gap: 1.4rem; }
.welcome h1 { font-size: clamp(2rem, 1.15rem + 2.1vw, 3.1rem); line-height: 1.02; text-wrap: balance; max-width: 16ch; }
.welcome h1:focus { outline: none; }
.welcome-lede { max-width: 34ch; font-weight: 500; text-wrap: pretty; }
.welcome-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; padding-top: 0.3rem; }
.welcome-acts .btn:focus-visible, .welcome-acts .arrow-link:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.welcome-shot { display: grid; gap: 0.8rem; min-width: 0; }
.welcome-shot img {
  display: block; width: 100%; height: auto; border-radius: var(--r);
  box-shadow: 0 0 0 1px color-mix(in oklab, var(--ink) 12%, transparent), 0 30px 70px -45px color-mix(in oklab, var(--ink) 70%, transparent);
}
.welcome-shot figcaption { color: var(--slate); max-width: 46ch; }
.welcome-more {
  grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem clamp(1.5rem, 4vw, 4rem);
  padding-top: clamp(1.5rem, 3vw, 2.25rem); border-top: 2px solid var(--ink);
}
.welcome-more section { display: grid; align-content: start; gap: 0.6rem; min-width: 0; }
.welcome-more h2 { font-size: var(--sc-t-base); font-weight: 800; letter-spacing: -0.01em; }
.welcome-more p { max-width: 38ch; text-wrap: pretty; }
.welcome-plans { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.welcome-plans th, .welcome-plans td { padding: 0.45rem 0.5rem; text-align: right; border-bottom: 1px solid color-mix(in oklab, var(--ink) 16%, transparent); line-height: 1.25; }
.welcome-plans thead th { padding-top: 0; font-weight: 500; color: var(--slate); }
.welcome-plans tbody th { padding-left: 0; text-align: left; font-weight: 700; }
.welcome-plans tbody td { font-weight: 600; }
.welcome-plans tr.is-chosen > * { background: color-mix(in oklab, var(--yellow) 38%, var(--chalk)); font-weight: 800; }
.welcome-plans tr.is-chosen > th { padding-left: 0.5rem; }
.welcome-note { color: var(--slate); }
@media (max-width: 900px) {
  .welcome { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .welcome-more { grid-template-columns: minmax(0, 1fr); }
  .welcome-shot { max-width: 30rem; }
}
@media (max-width: 760px) {
  /* The phone shows the booking card itself, under its own pixel size, so its prices stay readable. */
  .welcome-shot { max-width: 22rem; }
  .welcome { row-gap: 2rem; }
}
@media print { .welcome { display: none !important; } }

.loft-study { background: var(--chalk, #f6f4ee); color: var(--ink, #14171a); }
.loft-study-inner { display: grid; grid-template-columns: 1fr 1.65fr; align-items: center; gap: clamp(2rem, 5vw, 6rem); padding-block: clamp(3rem, 7vw, 7rem); }
#loft-study-title { scroll-margin-top: calc(var(--bar-h) + 1rem); }
.loft-study-inner .sc-lede { color: var(--slate, #4b5560); margin-block-start: 1rem; }
.loft-study picture { display: block; border: 1px solid #d1cec6; background: #faf9f6; }
.loft-study img { display: block; width: 100%; height: auto; }
@media (max-width: 760px) {
  .loft-study-inner { grid-template-columns: 1fr; }
  .loft-study picture { width: min(100%, 34rem); margin-inline: auto; }
}
@media (max-width: 560px) {
  .loft-study picture { max-width: 22rem; }
}

.loft-rates { margin-top: 1.5rem; border-block: 1px solid #c8c5bc; }
.owner-preview.loft-rates { margin-top: 0; border-top: 0; }
.owner-preview figure { margin: 1rem 0; }
.owner-preview figure img { display: block; width: 100%; max-width: 24.375rem; height: auto; border: 1px solid #c8c5bc; }
.owner-preview figcaption { margin-top: .5rem; color: var(--slate); }
.loft-rates summary { padding-block: .9rem; color: var(--ink); font-weight: 650; cursor: pointer; }
.loft-rates summary:focus-visible, .loft-rates button:focus-visible, .loft-rates input:focus-visible {
  outline: 2px solid var(--ink, #14171a); outline-offset: 3px;
}
.loft-rates > p { line-height: 1.55; }
.loft-rates label { display: block; margin: 1.1rem 0 .4rem; font-weight: 600; }
.loft-rate-controls { display: flex; flex-wrap: wrap; gap: .5rem; }
.loft-rate-controls input, .loft-rate-controls button { min-height: 44px; border-radius: .35rem; font: inherit; padding: .5rem .8rem; }
.loft-rate-controls input { width: 7rem; color: var(--ink); background: white; border: 1px solid #817f76; }
.loft-rate-controls button { color: white; background: var(--ink); border: 1px solid var(--ink); cursor: pointer; }
.loft-quote { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: .3rem .75rem; margin: 1rem 0; }
.loft-quote strong { font-variant-numeric: tabular-nums; }
.loft-quote small { grid-column: 1 / -1; color: var(--slate); }

.welcome-intake { max-width:32rem; }
.welcome-intake summary { padding:.55rem 0; font-weight:650; cursor:pointer; }
.welcome-fields { display:grid; gap:.35rem; padding:.55rem 0; }
.welcome-intake label { color:var(--ink); font-weight:650; }
.welcome-intake label span { font-weight:400; }
.welcome-intake input { font:inherit; background:white; color:var(--ink); border:1px solid #727971; border-radius:4px; min-height:46px; padding:.55rem .7rem; margin-bottom:.45rem; }
/* Keep the interview navigation within thumb reach while longer answers scroll. */
@media screen and (max-width: 600px) and (min-height: 32rem) {
  .consult-footer { display: contents; }
  .consult-actions {
    position: sticky;
    bottom: 0;
    z-index: 2;
    padding-block: .5rem max(.5rem, env(safe-area-inset-bottom));
    border-top: 1px solid #c6c6b9;
    background: white;
  }
  html:has(#features-step:not([hidden])) { scroll-padding-bottom: 6.5rem; }
}
