/* Meet: a running river for a banner, bubble tiles and bubbles that spring out of the tap.
   No page scroll at 1440 or 390. The sky (sky.css) sits behind; every surface
   is nano glass (glass.css). Text colors come from the Atlas palette (html
   data-cloud-theme="atlas"); the one accent is crystal blue. Secondary text
   uses --ink-2, never --muted, because --muted does not hold AA on glass. */

:root {
  /* Crystal blue, The Cloud's primary blue (ruling 2026-10-08): every primary
     action, the active chip and the focus ring. */
  --crystal: #0a84ff;
  --accent: #0a84ff;
  --on-crystal: #ffffff;
  --text: var(--ink, #20272b);
  --text-2: var(--ink-2, #3d484e);
  --hair: rgb(15 40 80 / 0.1);
  --fill: rgb(15 40 80 / 0.06);
  --fill-2: rgb(15 40 80 / 0.1);
  --radius: 30px;
  --radius-sm: 22px;
  --gap: 20px;
  --gutter: 32px;
  --pad: 26px;
  --display: 24px;
  --body: 16px;
  --small: 14px;
  --bar: 56px;
  --banner: 236px;
  --max: 1280px;
  /* Bubbles spring: a quick overshoot out, a quicker fall back in. */
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --spring-ms: 280ms;
  /* Embeds. Every framed surface (the booking pages, the open-in-app sheet,
     the form well) sits --embed-inset inside its glass frame, so its radius is
     the frame's minus that inset and the two curves stay concentric. */
  --embed-inset: 10px;
  --embed-radius: calc(var(--radius) - var(--embed-inset));
  --embed-bg: #fafafa;
}
:root[data-theme="dark"] {
  --accent: #0a84ff;
  --hair: rgb(255 255 255 / 0.1);
  --fill: rgb(255 255 255 / 0.08);
  --fill-2: rgb(255 255 255 / 0.13);
  --text: var(--ink, #edf1f2);
  --text-2: var(--ink-2, #c7d0d4);
}

* { box-sizing: border-box; }

html,
body {
  min-height: 100%;
  margin: 0;
  overflow-x: clip;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, sans-serif;
  font-size: var(--body);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

button { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--crystal); outline-offset: 2px; }

.app {
  min-height: 100dvh;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: calc(12px + env(safe-area-inset-top)) calc(var(--gutter) + env(safe-area-inset-right)) 0 calc(var(--gutter) + env(safe-area-inset-left));
  display: grid;
  grid-template-rows: var(--bar) auto;
  row-gap: var(--gap);
}

/* Header layout lives in features/header/header.css. */
.toggle {
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background-color 0.2s ease, transform 0.2s var(--spring);
}
.toggle:hover { background: var(--fill); }
.toggle:active { transform: scale(0.9); }
.toggle:focus-visible { outline: 3px solid var(--crystal); outline-offset: 0; }
.toggle svg { display: block; overflow: visible; }
.toggle-bite { transform: translate(13px, -10px); transition: transform 0.3s ease; }
:root[data-theme="dark"] .toggle-bite { transform: translate(4.2px, -3.4px); }

/* ---------- the frame: banner over the tiles; the page scrolls when they need it ---------- */
.frame {
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-rows: var(--banner) auto auto;
  row-gap: var(--gap);
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
}

/* ---------- banner: the running river, Teka's emblem, the word ---------- */
.banner {
  position: relative;
  min-width: 0;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  clip-path: inset(0 round var(--radius));
  /* The photograph's own sky, until it loads. */
  background: #c9c6c0;
  box-shadow: inset 0 0 0 0.5px var(--nano-hair), 0 0 0 0.5px var(--nano-edge), var(--nano-shadow);
  color: #1d1f24;
}
.banner-photo,
.banner-river {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 58%;
  display: block;
}
/* The moving water (banner.js) fades in over the still, its poster. */
.banner-river { opacity: 0; transition: opacity 0.8s ease; pointer-events: none; }
.banner-river.is-on { opacity: 1; }
.banner-photo, .banner-river { transition: filter 900ms ease, opacity 800ms ease; }
:root[data-theme="dark"] .banner-photo,
:root[data-theme="dark"] .banner-river { filter: brightness(0.58) saturate(0.62); }
.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(155deg, rgb(28 58 106 / 0.55), rgb(12 22 48 / 0.3) 60%, rgb(41 62 91 / 0.45));
  opacity: 0;
  transition: opacity 900ms ease;
}
:root[data-theme="dark"] .banner::before { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .banner-photo, .banner-river, .banner::before { transition: none; }
}
/* A soft shade over the photograph, deepest behind the emblem, so the white
   mark and the word read without greying the river. */
.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 46% 78% at 50% 44%, rgb(8 14 22 / 0.3), rgb(8 14 22 / 0.12) 70%, rgb(8 14 22 / 0) 100%),
    linear-gradient(rgb(8 14 22 / 0.12), rgb(8 14 22 / 0.18));
}
/* Teka's emblem with "Colorado" small below: one group, centred on the
   banner both ways. */
.banner-mark {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  pointer-events: none;
}
.banner-title {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #fff;
  text-shadow: 0 1px 10px rgb(0 0 0 / 0.3);
}
/* Teka's emblem: the logo file framed to its first 153 of 766 px, so only the
   helix shows. White with a soft shadow by day; the night file's own ink. */
.teka {
  display: block;
  height: 60px;
  aspect-ratio: 153 / 232;
  overflow: hidden;
}
.teka img { display: block; height: 100%; width: auto; max-width: none; }
.teka-day { filter: brightness(0) invert(1) drop-shadow(0 1px 8px rgb(0 0 0 / 0.3)); }
.teka-night { display: none; }
:root[data-theme="dark"] .teka-day { display: none; }
:root[data-theme="dark"] .teka-night { display: block; filter: drop-shadow(0 1px 8px rgb(0 0 0 / 0.4)); }

/* ---------- tiles ---------- */
/* Book with Message under it, the form, Highlights. Every tile is as tall as
   what it holds and starts at the top of its row, never stretched to match a
   neighbour. */
.grid {
  min-height: 0;
  display: grid;
  gap: var(--gap);
  align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr) minmax(0, 1.12fr);
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "book write highlights"
    "message write highlights";
}

.tile {
  position: relative;
  min-width: 0;
  min-height: 0;
  border-radius: var(--radius);
  padding: var(--pad);
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  transition: transform 0.25s var(--spring);
}
.tile[data-tile="book"] { grid-area: book; }
.tile[data-tile="write"] { grid-area: write; }
.tile[data-tile="message"] { grid-area: message; }
.tile[data-tile="highlights"] { grid-area: highlights; }

/* The hit button covers the whole tile, so a compact tile is one tap. At
   desktop Products is open in place, so its hit button hides. */
.tile-hit {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  cursor: pointer;
}
.tile-hit:focus-visible { outline: 3px solid var(--crystal); outline-offset: -3px; }
.tile:has(> .tile-hit:hover) { transform: scale(1.012); }
.tile:has(> .tile-hit:active) { transform: scale(0.985); }

.tile-head { display: flex; flex-direction: column; gap: 2px; }
.tile-title { margin: 0; font-size: var(--display); line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
.tile-body { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 14px; }
.tile-small { display: none; position: relative; z-index: 2; gap: 8px; margin-top: auto; }
/* Write to Daniel: the form, always open in its tile. */
.tile[data-tile="write"] .tile-body { flex: none; }

/* Message: the title over one row of the channel buttons, each its own
   link. The row moves only when the visitor scrolls it: touch, trackpad, a
   mouse drag, or the arrow keys once focused. Soft fades mark the edges. */
.tile-bubble { gap: 12px; padding: 20px var(--pad) 18px; }
.tile-bubble .tile-body { flex: none; }
.ch-run {
  position: relative;
  z-index: 2;
  margin: 0 calc(-1 * var(--pad));
  padding: 2px var(--pad);
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding: 0 var(--pad);
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  touch-action: pan-x;
  cursor: grab;
}
.ch-run::-webkit-scrollbar { display: none; }
.ch-run:focus-visible { outline: 3px solid var(--crystal); outline-offset: -3px; border-radius: 999px; }
.ch-run[data-drag] { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.ch-run[data-drag] .ch-pill { pointer-events: none; }
.ch-run[data-fade~="left"] { -webkit-mask-image: linear-gradient(to right, transparent, #000 28px); mask-image: linear-gradient(to right, transparent, #000 28px); }
.ch-run[data-fade~="right"] { -webkit-mask-image: linear-gradient(to left, transparent, #000 28px); mask-image: linear-gradient(to left, transparent, #000 28px); }
.ch-run[data-fade~="left"][data-fade~="right"] {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 28px, #000 calc(100% - 28px), transparent);
  mask-image: linear-gradient(to right, transparent, #000 28px, #000 calc(100% - 28px), transparent);
}
.ch-pill {
  flex: none;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--fill);
  color: var(--text);
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.22s var(--spring), background-color 0.2s ease, filter 0.2s ease;
}
.ch-pill:hover { background: var(--fill-2); transform: scale(1.04); }
.ch-pill:active { transform: scale(0.94); }
.ch-primary { background: var(--crystal); color: var(--on-crystal); }
.ch-primary:hover { background: var(--crystal); filter: brightness(1.07); }
a.opt { text-decoration: none; }

/* Options are bubbles: pill-round, no arrows, a springy press. */
.opts { display: flex; flex-direction: column; gap: 10px; }
.opt {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1px;
  min-height: 64px;
  width: 100%;
  padding: 10px 22px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--fill);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: transform 0.22s var(--spring), background-color 0.2s ease, filter 0.2s ease;
}
.opt strong { font-size: 17px; font-weight: 650; }
.opt-meta { font-size: 14px; opacity: 0.85; }
.opt:hover { background: var(--fill-2); transform: scale(1.02); }
.opt:active { transform: scale(0.96); }
.opt-primary { background: var(--crystal); color: var(--on-crystal); box-shadow: 0 8px 20px rgb(10 132 255 / 0.28); }
.opt-primary:hover { background: var(--crystal); filter: brightness(1.07); }
.opts-tight .opt { min-height: 54px; }

.btn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.22s var(--spring), filter 0.2s ease, background-color 0.2s ease;
}
.btn:active { transform: scale(0.95); }
.btn-primary { background: var(--crystal); color: var(--on-crystal); }
.btn-primary:hover { filter: brightness(1.07); }
.btn-quiet { background: var(--fill); color: var(--text); }
.btn-quiet:hover { background: var(--fill-2); }

/* ---------- Where it stands: a chip carousel, then the lines ---------- */
.chips-wrap { position: relative; margin: 0 calc(-1 * var(--pad)); }
.chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--pad);
  padding: 2px var(--pad);
}
.chips::-webkit-scrollbar { display: none; }
.chips-wrap[data-fade~="left"] .chips { -webkit-mask-image: linear-gradient(to right, transparent, #000 32px); mask-image: linear-gradient(to right, transparent, #000 32px); }
.chips-wrap[data-fade~="right"] .chips { -webkit-mask-image: linear-gradient(to left, transparent, #000 32px); mask-image: linear-gradient(to left, transparent, #000 32px); }
.chips-wrap[data-fade~="left"][data-fade~="right"] .chips {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 32px, #000 calc(100% - 32px), transparent);
  mask-image: linear-gradient(to right, transparent, #000 32px, #000 calc(100% - 32px), transparent);
}
.chip {
  flex: none;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--fill);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  scroll-snap-align: start;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.22s var(--spring);
}
.chip:hover { background: var(--fill-2); }
.chip:active { transform: scale(0.94); }
.chip[aria-selected="true"] { background: var(--crystal); color: var(--on-crystal); }

.stands { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.stands::-webkit-scrollbar { display: none; }
.stands > li {
  position: relative;
  padding: 15px 0 15px 20px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: var(--text);
  animation: rise 0.32s var(--spring) both;
}
.stands > li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: calc(15px + 0.675em - 3.5px);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--crystal);
}
.stands > li:first-child { padding-top: 4px; }
.stands > li:first-child::before { top: calc(4px + 0.675em - 3.5px); }
.stands > li + li { box-shadow: 0 -0.5px 0 var(--hair); }
.stands > li:nth-child(2) { animation-delay: 30ms; }
.stands > li:nth-child(3) { animation-delay: 60ms; }
.stands > li:nth-child(4) { animation-delay: 90ms; }
.stands > li:nth-child(5) { animation-delay: 120ms; }
.stands > li:nth-child(6) { animation-delay: 150ms; }
@keyframes rise { from { opacity: 0; transform: translateY(6px) scale(0.98); } to { opacity: 1; transform: none; } }

/* ---------- Highlights: the points, then the products ---------- */
.tile[data-tile="highlights"] .tile-body { flex: none; gap: 22px; }
.hl-points { display: flex; flex-direction: column; gap: 10px; }
.hl-products { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; box-shadow: 0 -0.5px 0 var(--hair); }
/* The two products are a matched pair: name, picture, one line, the same
   type and the same rhythm in each. */
.products { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 28px; }
.product { display: flex; flex-direction: column; gap: 10px; }
.product-name { display: flex; align-items: center; min-height: 30px; }
.product-line { margin: 0; font-size: 15px; line-height: 1.4; color: var(--text-2); text-wrap: balance; }
/* The Cloud's lockup, the mark and the word as one unit like the Apple mark
   beside "Apple": the mark's ink (69% of its square, centred) stands about
   1.16 times the word's capitals and sits on the word's centre line; the margins
   trim the file's empty edge so the one gap is measured ink to letter. */
.lockup { display: inline-flex; align-items: center; gap: 7px; }
.lockup-mark { display: block; width: 27px; height: 27px; margin: 0 -4.3px 0 -4px; }
.lockup-word { font-size: 22px; line-height: 1; font-weight: 650; letter-spacing: -0.015em; }
:root[data-theme="dark"] .lockup-mark { filter: invert(1); }
.nib-night { border-radius: 5px; }
/* Nimbus: its name, its still in the same 4:3 slot as The Cloud's preview,
   then the sequence word under it, centred, never over the box. */
.product[data-product="nimbus"] { flex-direction: column; align-items: stretch; gap: 10px; }
.nimbus-stage { display: flex; flex-direction: column; gap: 6px; }
.nimbus-view { position: relative; flex: 1; min-width: 0; min-height: 150px; }
/* The render lane's stills: the day file by day, the night file by night. */
.still { display: block; }
.still img { display: block; width: 100%; height: auto; border-radius: 18px; }
.still .still-night { display: none; }
:root[data-theme="dark"] .still .still-day { display: none; }
:root[data-theme="dark"] .still .still-night { display: block; }
/* The Cloud's preview: real frames in turn, same 4:3 slot as Nimbus, each
   with its label; the whole slot opens the larger view. */
.cloud-pic { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: #e9eef6; box-shadow: inset 0 0 0 0.5px var(--hair); }
.cloud-frame { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 0.9s ease; }
/* The terminal GIF keeps its whole width, letterboxed on its own #202020. */
.cloud-frame.is-feed { background: #202020; display: grid; place-items: center; }
.cloud-frame.is-feed .cloud-shot { height: auto; object-fit: contain; }
.cloud-frame.is-on { opacity: 1; }
.cloud-shot { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
/* Three dots under the slot, each a 44 px target with its word; the
   caption under them follows the frame. */
.cloud-cycle { display: flex; flex-direction: column; gap: 2px; }
.cloud-dots { display: flex; justify-content: center; gap: 2px; margin-top: 4px; }
.cloud-dot { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; min-width: 44px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent; color: var(--text-2); font-size: 13px; font-weight: 600; cursor: pointer; transition: color 0.2s ease, background-color 0.2s ease; }
.cloud-dot:hover { background: var(--fill); }
.cloud-dot-mark { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: 0.45; transition: opacity 0.2s ease, transform 0.2s ease; }
.cloud-dot[aria-pressed="true"] { color: var(--text); }
.cloud-dot[aria-pressed="true"] .cloud-dot-mark { background: var(--crystal); opacity: 1; transform: scale(1.15); }
.cloud-caption { margin: 0; text-align: center; font-size: 15px; font-weight: 600; color: var(--text); }
.cloud-open { position: absolute; inset: 0; z-index: 2; margin: 0; padding: 0; border: 0; background: transparent; cursor: zoom-in; border-radius: inherit; }
.cloud-open:focus-visible { outline: 3px solid var(--crystal); outline-offset: -3px; }
.bubble[data-bubble="cloud"] .bubble-body { gap: 28px; padding-bottom: 40px; }
.cx-frame { margin: 0; }
.cx-frame.is-feed .cx-shot { background: #202020; }
.cx-shot { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 1px 2px rgb(15 40 80 / 0.08), 0 16px 40px rgb(15 40 80 / 0.16); }
.cx-label { margin-top: 10px; font-size: 15px; font-weight: 600; color: var(--text-2); }
.nimbus-pic { position: relative; flex: 1; min-width: 0; align-self: center; border-radius: 18px; background: #f5f5f7; overflow: hidden; transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
:root[data-theme="dark"] .nimbus-pic { background: #0c0d10; }
/* The guided tour sits on the still's card, in the render's own backdrop,
   and takes the still's place once the model is drawn. */
.nimbus-pic .nimbus-tour { position: absolute; inset: 0; min-height: 0; opacity: 0; transition: opacity 0.6s ease; }
.nimbus-pic .nimbus-tour[data-ready] { opacity: 1; }
.nimbus-pic .still { transition: opacity 0.6s ease; }
.nimbus-pic:has(.nimbus-tour[data-ready]) .still { opacity: 0; }
.product .nimbus-pic { flex: none; align-self: stretch; }
.product .nimbus-seq { width: 100%; height: 34px; }
.product .seq-item { align-items: center; text-align: center; }
.product .nimbus-seq[data-step="all"] { height: auto; flex-direction: row; flex-wrap: wrap; justify-content: center; column-gap: 14px; }
.nimbus-view canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.nimbus-seq { position: relative; flex: none; width: 108px; margin: 0; padding: 0; list-style: none; }
.seq-item {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  display: flex;
  flex-direction: column;
  gap: 3px;
  opacity: 0;
  transform: translateY(calc(-50% + 8px));
  transition: opacity 0.35s ease, transform 0.45s var(--spring);
}
.seq-item.is-on { opacity: 1; transform: translateY(-50%); }
.seq-word { font-size: 24px; line-height: 1.05; font-weight: 700; letter-spacing: -0.02em; color: var(--text); }
.seq-item[data-part]:not([data-part="agents"]) .seq-word { color: var(--crystal); }
/* Reduced motion: one still with every step listed. */
.nimbus-seq[data-step="all"] { display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.nimbus-seq[data-step="all"] .seq-item { position: static; opacity: 1; transform: none; gap: 0; }
.nimbus-seq[data-step="all"] .seq-word { font-size: 15px; }
/* Tapping the Nimbus opens its close-up. The control covers the stage. */
.nimbus-stage { position: relative; }
.nimbus-open { position: absolute; inset: 0; z-index: 1; margin: 0; padding: 0; border: 0; border-radius: 22px; background: transparent; cursor: pointer; }
.nimbus-open:focus-visible { outline: 3px solid var(--crystal); outline-offset: -3px; }
@media (hover: hover) {
  .nimbus-stage:has(.nimbus-open:hover) .nimbus-pic { transform: scale(1.02); }
}
.nimbus-view { transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
.bubble .nimbus-view { min-height: 300px; }

/* ---------- Nimbus, close up: one object, one line at a time ---------- */
.bubble-xl { width: min(1180px, 100%); height: 100%; }
.bubble[data-bubble="nimbus"] .bubble-body { padding: 0; gap: 0; }
.nx-hero { margin: 0; padding: 0 40px; display: grid; place-items: center; }
.nx-model { width: min(760px, 100%); height: min(58vh, 520px); flex: none; outline-offset: -3px; border-radius: 22px; }
.nx-intro { margin: 4px auto 0; padding: 0 40px; max-width: 24ch; text-align: center; font-size: 30px; line-height: 1.2; font-weight: 650; letter-spacing: -0.02em; text-wrap: balance; }
.nx-inside, .nx-feed { margin: 48px auto 0; padding: 0 40px; width: min(960px, 100%); box-sizing: border-box; }
.nx-inside .still img { border-radius: 24px; }
.nx-feed { width: min(680px, 100%); padding-bottom: 48px; margin-top: 0; }
.nx-feed img { display: block; width: 100%; height: auto; border-radius: 18px; box-shadow: 0 1px 2px rgb(15 40 80 / 0.08), 0 16px 40px rgb(15 40 80 / 0.16); }
.nx-story { padding: 8px 64px 0; }
.nx-heading { margin: 8px 0 0; text-align: center; font-size: 48px; line-height: 1.08; font-weight: 700; letter-spacing: -0.03em; }
.nx-track { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.nx-figure { position: sticky; top: 0; height: min(560px, 70vh); display: grid; place-items: center; }
.nx-lines { margin: 0; padding: 12vh 0 34vh; list-style: none; }
.nx-line { min-height: 34vh; display: flex; align-items: center; }
.nx-line p {
  margin: 0;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: var(--text);
  opacity: 0.2;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.nx-line.is-on p { opacity: 1; transform: none; }
.nx-still-mode .nx-lines { padding: 24px 0 48px; }
.nx-still-mode .nx-line { min-height: 0; padding: 10px 0; }

/* The figure: three boxes, then what each holds, step by step. */
.mx { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 26px; }
.mx-lead { position: relative; display: flex; justify-content: center; }
.mx-lead-pill { display: inline-flex; align-items: center; min-height: 40px; padding: 0 20px; border-radius: 999px; background: var(--crystal); color: var(--on-crystal); font-size: 15px; font-weight: 650; }
.mx-lead::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 26px; margin-left: -1px; background: var(--crystal); }
.mx-boxes { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mx-box { display: flex; flex-direction: column; gap: 10px; padding: 16px 14px; border-radius: 22px; background: var(--fill); box-shadow: inset 0 0 0 1px var(--hair); transition: box-shadow 0.5s ease; }
.mx-art { display: block; width: 64px; height: 40px; color: var(--text); }
.mx-art svg { display: block; width: 100%; height: 100%; }
.mx-name { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.mx-line { font-size: 13px; line-height: 1.35; color: var(--text-2); }
.mx-count { font-size: 13px; font-weight: 650; color: var(--crystal); }
.mx-box[data-machine="nimbus"] .mx-count { color: var(--text-2); }
.mx-sync { font-size: 13px; font-weight: 600; color: var(--text-2); }
.mx-seats { display: flex; flex-direction: column; gap: 10px; }
.mx-seat { display: flex; flex-direction: column; gap: 5px; }
.mx-seat-name { font-size: 13px; font-weight: 600; }
.mx-lanes { display: flex; flex-direction: column; gap: 4px; }
.mx-lane { position: relative; height: 6px; border-radius: 3px; background: var(--fill-2); overflow: hidden; transition: background-color 0.5s ease; }
.mx-lane::before { content: ""; position: absolute; inset: 0; width: 40%; border-radius: inherit; background: linear-gradient(90deg, transparent, var(--crystal), transparent); opacity: 0; transform: translateX(-100%); }
.mx-pr { position: absolute; right: 0; top: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--crystal); opacity: 0; transition: opacity 0.4s ease; }
/* Hidden until their step; each comes in calmly. */
.mx-lead, .mx-sync, .mx-seats, .mx-lanes { opacity: 0; transform: translateY(6px); transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.mx:not([data-step="0"]) .mx-sync,
.mx:is([data-step="2"], [data-step="3"], [data-step="4"], [data-step="5"], [data-step="6"]) .mx-seats,
.mx:is([data-step="3"], [data-step="4"], [data-step="5"], [data-step="6"]) .mx-lanes,
.mx:is([data-step="3"], [data-step="4"], [data-step="5"], [data-step="6"]) .mx-lead { opacity: 1; transform: none; }
.mx:is([data-step="3"], [data-step="4"], [data-step="5"], [data-step="6"]) .mx-box { box-shadow: inset 0 0 0 1.5px var(--crystal); }
.mx:is([data-step="5"], [data-step="6"]) .mx-lane::before { opacity: 1; animation: lane-run 2.4s ease-in-out infinite; }
.mx-seat:nth-child(2) .mx-lane::before { animation-delay: 0.5s; }
.mx-seat:nth-child(3) .mx-lane::before { animation-delay: 1s; }
.mx-lane:nth-child(2)::before { animation-delay: 1.3s; }
/* From "every lane is a branch and a pull request" on, each lane ends in its
   pull request's dot. */
.mx:is([data-step="4"], [data-step="5"], [data-step="6"]) .mx-pr { opacity: 1; }
@keyframes lane-run { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
.bubble .nimbus-seq { width: 132px; }
.bubble .seq-word { font-size: 30px; }

/* ---------- the form: only ever in the Write bubble ---------- */
.bubble[data-bubble="write"] { height: auto; }
.form-home { display: flex; flex-direction: column; }
.form { display: flex; flex-direction: column; }
.cf-form { display: flex; flex-direction: column; gap: 14px; }
.cf-group { display: flex; flex-direction: column; gap: 6px; }
.cf-label { font-size: 14px; font-weight: 650; color: var(--text-2); }
.cf-input {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 0;
  border-radius: 16px;
  background: var(--fill);
  box-shadow: inset 0 0 0 0.5px var(--hair);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}
.cf-input::placeholder { color: var(--text-2); opacity: 0.8; }
.cf-input:focus { outline: none; background: var(--nano-tint-strong); box-shadow: inset 0 0 0 2px var(--crystal); }
.cf-input:user-invalid,
.cf-input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #ff453a; }
/* At least four lines of message. */
textarea.cf-input { min-height: calc(4 * 1.45em + 24px); line-height: 1.45; resize: none; }
/* The human check: its own row under the message. The line and the hint over
   the icon tiles and the target circle, side by side, never over a field. */
.cloud-human-check {
  margin: 2px 0 0;
  padding: 0;
  border: 0;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
}
.cloud-human-check > legend {
  float: left;
  width: 100%;
  padding: 0;
  font-size: 14px;
  font-weight: 650;
  color: var(--text-2);
}
.cloud-human-check > .cf-note,
.cf-form .cloud-human-check > .cf-note {
  width: 100%;
  margin: 0 0 6px;
  padding: 0;
  background: none;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 400;
}
.cloud-human-check-tiles { flex: none; flex-wrap: wrap; }
.cloud-human-check-tile,
.cloud-human-check-circle button {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: var(--fill);
  box-shadow: inset 0 0 0 0.5px var(--hair);
  display: grid;
  place-items: center;
  font-size: 20px;
  cursor: grab;
}
.cloud-human-check-tile[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--crystal); }
.cloud-human-check-tile img,
.cloud-human-check-circle img {
  width: 26px;
  height: 26px;
  display: block;
  box-sizing: content-box;
  padding: 4px;
  border-radius: 50%;
  /* A soft shaded disc so the white Cloud mark reads on a light page. */
  background: radial-gradient(circle, rgba(16, 32, 64, 0.42) 0%, rgba(16, 32, 64, 0.28) 62%, rgba(16, 32, 64, 0) 100%);
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.22));
}
.cloud-human-check-circle { flex: none; margin: 0 !important; color: var(--text-2); }
.cloud-human-check-circle[data-placed] { color: var(--crystal); }
.cloud-human-check-circle button { background: transparent; box-shadow: none; border-radius: 50%; cursor: pointer; }
.cf-button {
  align-self: stretch;
  min-height: 50px;
  margin-top: 4px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--crystal);
  color: var(--on-crystal);
  font-weight: 650;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.22s var(--spring), filter 0.2s ease;
}
.cf-button:hover { filter: brightness(1.07); }
.cf-button:active { transform: scale(0.96); }
.cf-note {
  margin: 0;
  padding: 16px 18px;
  border-radius: 20px;
  background: var(--fill);
  color: var(--text);
  font-size: 15px;
  line-height: 1.45;
}
/* An error inside the form is the only red line. */
.cf-form > .cf-note,
.cf-form .cf-group > .cf-note { padding: 0; background: none; color: #d70015; font-size: 14px; }
:root[data-theme="dark"] .cf-form > .cf-note,
:root[data-theme="dark"] .cf-form .cf-group > .cf-note { color: #ff6961; }
.form[data-sent] > .cf-note {
  background: var(--crystal);
  color: var(--on-crystal);
  font-weight: 650;
  animation: land var(--spring-ms) var(--spring) both;
}
@keyframes land { from { transform: scale(0.6); opacity: 0; } to { transform: none; opacity: 1; } }

/* The success line ends with the branded link, a full-size tap target. */
.cf-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--crystal); font-weight: 600; text-decoration: none; }
.cf-link:hover { text-decoration: underline; }

/* ---------- bubbles ---------- */
.bubbles {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: calc(16px + env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom));
}
.bubbles[hidden] { display: none; }
.bubbles > * { grid-area: 1 / 1; }
.bubble-scrim { position: fixed; inset: 0; background: rgb(10 20 40 / 0.2); animation: fade 0.2s ease both; }
:root[data-theme="dark"] .bubble-scrim { background: rgb(0 0 0 / 0.4); }
.bubbles.is-closing .bubble-scrim { opacity: 0; transition: opacity 0.2s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.bubble {
  position: relative;
  max-height: 100%;
  border-radius: 34px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform var(--spring-ms) var(--spring), opacity 0.18s ease, background-color 0.9s ease;
}
.bubble[hidden] { display: none; }
.bubble.is-from { transform: scale(0.06); opacity: 0; transition: none; }
.bubble.is-leaving { transform: scale(0.3); opacity: 0; transition: transform 0.2s cubic-bezier(0.5, 0, 0.75, 0), opacity 0.18s ease; }
.bubble-xs { width: min(380px, 100%); }
.bubble-sm { width: min(440px, 100%); }
.bubble-md { width: min(560px, 100%); height: min(640px, 100%); }
.bubble-lg { width: min(1180px, 100%); height: min(860px, 100%); --radius: 34px; }
.bubble-head { flex: none; display: flex; align-items: center; gap: 14px; padding: 18px 18px 12px 28px; }
.bubble-title { flex: 1; margin: 0; font-size: 26px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.bubble-lg .bubble-title { flex: none; }
.bubble-close {
  flex: none;
  min-width: 44px;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--fill);
  color: var(--text);
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
  transition: transform 0.22s var(--spring), background-color 0.2s ease;
}
.bubble-lg .bubble-close { margin-left: auto; }
.bubble-close:hover { background: var(--fill-2); }
.bubble-close:active { transform: scale(0.92); }
.bubble-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px 28px 28px; display: flex; flex-direction: column; gap: 14px; }
.big-value { margin: 0; font-size: 28px; font-weight: 700; letter-spacing: -0.01em; }
.bubble-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.bubble-actions .btn { flex: 1; }

/* The two bookings, side by side in the head. */
.switch { display: flex; gap: 6px; padding: 4px; border-radius: 999px; background: var(--fill); min-width: 0; }
.switch-btn {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-size: 15px;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.22s var(--spring), background-color 0.2s ease;
}
.switch-btn:hover { background: var(--fill); }
.switch-btn:active { transform: scale(0.95); }
.switch-btn[aria-pressed="true"] { background: var(--crystal); color: var(--on-crystal); }
.switch-meta { font-weight: 400; opacity: 0.85; }

/* The booking stage fills the bubble under the head, inset by --embed-inset. */
.book-stage { flex: 1; min-height: 0; display: flex; padding: 0 var(--embed-inset) var(--embed-inset); }
.book-stage > .embed-surface { flex: 1; min-height: 0; }

/* ---------- embeds: one class for every framed surface ---------- */
.embed-surface {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--embed-radius);
  /* clip-path also clips an out-of-process iframe's compositor layer, which a
     radius with overflow alone can leave square for a frame or two. */
  clip-path: inset(0 round var(--embed-radius));
  background: var(--embed-bg);
  /* The frame sits 0.3 radius in from the curve: a square corner at that inset
     falls inside the rounded edge, so even a compositor that does not clip an
     out-of-process frame shows only --embed-bg there. */
  padding: calc(var(--embed-radius) * 0.3);
}
.embed-surface > iframe {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: calc(var(--embed-radius) * 0.7);
  background: transparent;
  /* The booking pages are light only; a matching scheme keeps the browser
     from painting an opaque backdrop of its own behind them. */
  color-scheme: light;
}
.embed-surface[hidden] { display: none; }
.embed-wait {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  margin: 0;
  color: #3d484e;
  font-size: 15px;
}

/* ---------- credit: one small line at the foot ---------- */
.credit { margin: -6px 0 0; min-height: 16px; font-size: 12px; line-height: 16px; text-align: center; color: var(--text-2); }
/* The link stays one quiet line but its target is 44 px tall. */
.credit-link { display: inline-block; padding: 14px 6px; margin: -14px 0; text-decoration: none; opacity: 0.85; }
.credit-link:hover { text-decoration: underline; opacity: 1; }

/* ---------- open in app (open-in-app.js) ---------- */
.open-layer { position: fixed; inset: 0; z-index: 50; }
.open-layer[hidden] { display: none; }
.open-scrim { position: absolute; inset: 0; background: rgb(10 20 40 / 0.25); opacity: 0; transition: opacity 0.25s ease; }
:root[data-theme="dark"] .open-scrim { background: rgb(0 0 0 / 0.45); }
.open-sheet {
  position: absolute;
  top: calc(16px + env(safe-area-inset-top));
  bottom: 16px;
  left: 50%;
  width: min(1180px, calc(100% - 2 * var(--gutter)));
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translate(-50%, 24px) scale(0.92);
  opacity: 0;
  transition: transform var(--spring-ms) var(--spring), opacity 0.2s ease, background-color 0.9s ease;
}
.open-layer.is-open .open-scrim { opacity: 1; }
.open-layer.is-open .open-sheet { transform: translate(-50%, 0) scale(1); opacity: 1; }
.open-head { flex: none; display: flex; align-items: center; gap: 12px; padding: 14px 14px 10px 24px; }
.open-title { flex: 1; min-width: 0; margin: 0; font-size: 20px; font-weight: 650; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.open-newtab { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--crystal); font-weight: 650; font-size: 15px; text-decoration: none; }
.open-close { flex: none; min-width: 44px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--fill); color: var(--text); font-size: 15px; font-weight: 650; cursor: pointer; }
.open-close:hover { background: var(--fill-2); }
.open-body { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 0 var(--embed-inset) var(--embed-inset); }
.open-body > .embed-surface { flex: 1; min-height: 0; }
.open-note { margin: 12px; color: var(--text); }

/* ---------- under 1100: two columns, the grid may scroll inside the frame ---------- */
/* ---------- under 1100: Book and Message beside the form, Highlights across ---------- */
@media (max-width: 1100px) and (min-width: 721px) {
  /* Highlights runs the full width here, so the two products sit side by side. */
  .products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
}
@media (max-width: 1100px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
      "book write"
      "message write"
      "highlights highlights";
  }
}

/* ---------- phone: compact bubble tiles, each opens its bubble ---------- */
@media (max-width: 720px) {
  :root {
    --gutter: 12px;
    --gap: 10px;
    --pad: 16px;
    --display: 18px;
    --body: 14.5px;
    --small: 13px;
    --radius: 24px;
    --radius-sm: 18px;
    --bar: 52px;
    --banner: 188px;
    --embed-inset: 8px;
  }
  .app { padding-top: calc(8px + env(safe-area-inset-top)); }
  .banner-mark { gap: 9px; }
  .banner-title { font-size: 14px; }
  .teka { height: 48px; }

  /* One column: Book, the form, Highlights, Message. */
  .grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-template-areas:
      "book"
      "write"
      "highlights"
      "message";
  }
  .tile { gap: 10px; }
  .tile:has(> .tile-hit:hover) { transform: none; }
  .tile[data-tile="book"] { flex-direction: row; align-items: center; justify-content: space-between; padding: 12px 12px 12px var(--pad); }
  .tile[data-tile="book"] .tile-body { display: none; }
  .tile[data-tile="book"] .tile-small { display: flex; margin: 0; }
  .tile[data-tile="book"] .opt { min-height: 46px; width: auto; padding: 0 18px; border-radius: 999px; align-items: center; white-space: nowrap; }
  .tile[data-tile="book"] .opt strong { font-size: 15px; }
  .tile[data-tile="highlights"] .tile-body { gap: 16px; }
  .products { gap: 24px; }
  .lockup-word { font-size: 20px; }
  .lockup-mark { width: 25px; height: 25px; margin: 0 -4px 0 -3.7px; }
  .product-line { font-size: 14.5px; }
  .cx-label { font-size: 14px; }
  .cloud-caption { font-size: 14.5px; }
  .hl-products { padding-top: 16px; }
  .nimbus-stage { height: auto; }
  /* Message: one pill row, the title then the buttons, scrolled by hand. */
  .tile[data-tile="message"] { flex-direction: row; align-items: center; gap: 4px; padding: 7px 0 7px var(--pad); border-radius: 999px; }
  .tile[data-tile="message"] .tile-head { flex: none; }
  .tile[data-tile="message"] .tile-title { font-size: 15px; white-space: nowrap; }
  .tile[data-tile="message"] .tile-body { flex: 1; min-width: 0; }
  .tile[data-tile="message"] .ch-run { margin: 0; padding: 0 22px 0 8px; scroll-padding: 0 8px; }
  .ch-pill { font-size: 14px; padding: 0 15px; }
  .stands > li { padding: 10px 0 10px 18px; font-size: 15px; line-height: 1.32; }
  .stands > li::before { top: calc(10px + 0.66em - 3px); width: 6px; height: 6px; }
  .stands > li:first-child { padding-top: 2px; }
  .stands > li:first-child::before { top: calc(2px + 0.66em - 3px); }
  .credit { margin-top: -4px; font-size: 12px; }
  .chips-wrap { margin-top: -2px; }

  .bubbles { padding: calc(10px + env(safe-area-inset-top)) 8px calc(8px + env(safe-area-inset-bottom)); }
  .bubble { border-radius: 28px; }
  .bubble-lg { height: 100%; --radius: 28px; }
  .bubble-md { height: auto; max-height: 100%; }
  .bubble-head { padding: 12px 12px 10px 20px; flex-wrap: wrap; row-gap: 10px; }
  .bubble-title { font-size: 22px; }
  .bubble-lg .switch { order: 3; flex: 1 0 100%; }
  .switch-btn { flex: 1; justify-content: center; padding: 0 10px; }
  .switch-meta { display: none; }
  .bubble-body { padding: 4px 20px 22px; }
  .bubble .nimbus-view { min-height: 260px; }
  .nx-hero { padding: 0 12px; }
  .nx-model { height: min(44vh, 360px); }
  .nx-intro { padding: 0 20px; font-size: 24px; }
  .nx-inside, .nx-feed { padding: 0 16px; margin-top: 32px; }
  .nx-feed { margin-top: 0; padding-bottom: 32px; }
  .mx-art { width: 48px; height: 30px; }
  .mx-line, .mx-count { font-size: 12px; }
  .nx-story { padding: 0 20px; }
  .nx-heading { font-size: 34px; }
  .nx-track { grid-template-columns: minmax(0, 1fr); gap: 0; }
  /* The figure stays at the top while the lines pass under it. */
  .nx-figure { position: static; height: auto; padding: 24px 0 8px; }
  .nx-lines { padding: 6vh 0 30vh; }
  .nx-line { min-height: 26vh; }
  .nx-line p { font-size: 26px; }
  .mx { gap: 18px; }
  .mx-lead::after { height: 18px; }
  .mx-boxes { gap: 8px; }
  .mx-box { padding: 12px 10px; gap: 8px; border-radius: 18px; }
  .mx-name { font-size: 14px; }
  .mx-sync, .mx-seat-name { font-size: 12px; }
  .mx-seats { gap: 7px; }
  .bubble .nimbus-seq { width: 112px; }
  .bubble .seq-word { font-size: 26px; }
  .open-sheet {
    top: calc(8px + env(safe-area-inset-top));
    bottom: 0;
    left: 0;
    width: 100%;
    border-radius: 24px 24px 0 0;
    transform: translateY(40px);
  }
  .open-layer.is-open .open-sheet { transform: translateY(0); }
  .open-head { padding: 10px 10px 8px 18px; }
  .open-title { font-size: 17px; }
  .open-body { padding: 0 var(--embed-inset) calc(var(--embed-inset) + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  .bubble, .open-sheet, .open-scrim, .toggle-bite, .chip, .opt, .tile, .stands > li, .form[data-sent] > .cf-note, .seq-item, .ch-pill { transition-duration: 0.01s !important; animation-duration: 0.01s !important; }
  .ch-run { scroll-behavior: auto; }
  .nx-line p, .mx-lead, .mx-sync, .mx-seats, .mx-lanes, .mx-box, .mx-lane, .mx-pr, .nimbus-view { transition: none !important; }
  .mx-lane::before { animation: none !important; opacity: 0 !important; }
  .cloud-frame, .cloud-dot-mark { transition: none !important; }
}
