/* Lucabos site: one stylesheet for every page. Navy on near-white, one brass rule. See docs/site.md. */
:root {
  --page: #f5f6f8;       /* clean stock */
  --ink: #13284b;        /* navy */
  --ink-soft: #4b5a73;   /* secondary text */
  --hide: #777b82;       /* the elephant: gray */
  --shade: #5d6168;      /* its far-side legs and the crease of the ear, in shadow */
  --tusk: #efe9da;
  --eye: #26292e;
  --line: #a8894a;       /* one brass rule */
  --hair: #d7dbe3;       /* quiet dividers */
  --gutter: clamp(1.5rem, 8vw, 7.5rem);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  display: flex; flex-direction: column; min-height: 100vh;
  overflow-x: hidden;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
/* The bar at the top of every page: the name on the left, the pages on the right. */
header {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 2rem;
  padding: 2rem var(--gutter) 0;
}
header .name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink); text-decoration: none;
}
header nav { display: flex; gap: clamp(1rem, 2.2vw, 2.25rem); }
header nav a {
  padding: 0.35rem 0;
  font-size: 1rem; color: var(--ink-soft); text-decoration: none;
  border-bottom: 1px solid transparent;
}
header nav a:hover { color: var(--ink); }
header nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--line); }
header a:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
header nav a.cta { padding: 0.5rem 1.05rem; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--page); font-weight: 600; }
header nav a.cta:hover { background: #1d3963; color: #fff; } header nav a.cta[aria-current="page"] { border-color: var(--ink); }
header nav { align-items: baseline; flex-wrap: wrap; row-gap: 0.25rem; }
/* "Agentic commerce" opens a menu of the seven frameworks. Hover and keyboard focus open it; the small button does on touch screens. */
.menu { position: relative; display: flex; align-items: baseline; }
.menu-btn { width: 1.5rem; height: 1.5rem; margin-left: 0.1rem; padding: 0; background: none; border: 0; cursor: pointer; }
.menu-btn::before { content: ""; display: block; width: 0.42rem; height: 0.42rem; margin: 0 auto 0.2rem; border-right: 1.5px solid var(--ink-soft); border-bottom: 1.5px solid var(--ink-soft); transform: rotate(45deg); transition: transform 0.2s; }
.menu.open .menu-btn::before, .menu:hover .menu-btn::before { transform: translateY(0.2rem) rotate(225deg); }
.menu-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
.menu-panel { position: absolute; z-index: 20; top: 100%; right: -1rem; width: max-content; min-width: 16rem; padding: 0.5rem; background: #fff; border: 1px solid var(--hair); border-radius: 12px; box-shadow: 0 18px 40px -20px rgba(19, 40, 75, .35);
  opacity: 0; visibility: hidden; transform: translateY(-0.3rem); transition: opacity 0.18s, transform 0.18s, visibility 0s 0.18s; }
.menu:hover .menu-panel, .menu:focus-within .menu-panel, .menu.open .menu-panel { opacity: 1; visibility: visible; transform: none; transition: opacity 0.18s, transform 0.18s; }
header nav .menu-panel a { display: block; padding: 0.55rem 0.75rem; border: 0; border-radius: 8px; font-size: 0.95rem; color: var(--ink); white-space: nowrap; }
header nav .menu-panel a:hover, header nav .menu-panel a:focus-visible { background: #eef1f6; outline: none; }
header nav .menu-panel a[aria-current="page"] { font-weight: 600; }
.nav-btn { display: none; }
/* Narrower than the bar needs for its links: the name and one Menu button. The pages open beneath as a plain list, every row the same height. */
@media (max-width: 89.5rem) {
  header { align-items: center; row-gap: 0; padding-top: 1.25rem; }
  header .name { display: inline-flex; align-items: center; min-height: 2.75rem; }
  .nav-btn { display: block; position: relative; width: 2.75rem; height: 2.75rem; margin-right: -0.75rem; padding: 0; background: none; border: 0; border-radius: 8px; cursor: pointer; }
  .nav-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
  .nav-btn span, .nav-btn span::before, .nav-btn span::after { position: absolute; left: 50%; width: 1.25rem; height: 1.5px; margin-left: -0.625rem; background: var(--ink); transition: transform 0.2s, opacity 0.2s; }
  .nav-btn span { top: 50%; margin-top: -0.75px; }
  .nav-btn span::before, .nav-btn span::after { content: ""; left: 0; margin-left: 0; }
  .nav-btn span::before { top: -0.4rem; } .nav-btn span::after { top: 0.4rem; }
  header.open .nav-btn span { background: transparent; }
  header.open .nav-btn span::before { transform: translateY(0.4rem) rotate(45deg); } header.open .nav-btn span::after { transform: translateY(-0.4rem) rotate(-45deg); }
  header nav { flex: 0 0 100%; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0; margin-top: 0.75rem; border-top: 1px solid var(--hair); }
  html.js header nav { display: none; } html.js header.open nav { display: flex; }
  header nav > a, header nav .menu > a { display: flex; align-items: center; min-height: 3rem; padding: 0; border: 0; font-size: 1.0625rem; color: var(--ink); }
  header nav > a, header nav .menu { border-bottom: 1px solid var(--hair); }
  header nav a[aria-current="page"] { font-weight: 600; border-bottom-color: var(--hair); }
  header nav a.cta { justify-content: center; min-height: 3rem; margin: 1rem 0 0.25rem; border: 1px solid var(--ink); color: var(--page); }
  .menu { position: static; display: grid; grid-template-columns: minmax(0, 1fr) 3rem; align-items: center; }
  .menu-btn { justify-self: end; width: 3rem; height: 3rem; margin: 0 -0.95rem 0 0; }
  .menu-btn::before { margin-bottom: 0.25rem; }
  .menu:hover .menu-btn::before { transform: rotate(45deg); } .menu.open .menu-btn::before { transform: translateY(0.25rem) rotate(225deg); }
  .menu-panel, .menu:hover .menu-panel, .menu:focus-within .menu-panel { display: none; position: static; grid-column: 1 / -1; width: auto; min-width: 0; padding: 0 0 0.5rem; background: none; border: 0; border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; transition: none; }
  html:not(.js) .menu-panel, .menu.open .menu-panel { display: block; }
  header nav .menu-panel a { display: flex; align-items: center; min-height: 2.75rem; padding: 0 0 0 1rem; border-radius: 0; font-size: 1rem; color: var(--ink-soft); white-space: normal; }
  header nav .menu-panel a[aria-current="page"] { color: var(--ink); box-shadow: inset 2px 0 0 var(--line); }
  header nav .menu-panel a:hover, header nav .menu-panel a:focus-visible { background: none; color: var(--ink); }
}
main {
  flex: 1 0 auto;   /* never squeezed shorter than its words, so they cannot run under the elephant */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem var(--gutter) 2rem;
}
h1 {
  margin: 0;
  max-width: 21ch;
  text-wrap: balance;   /* no single word left alone on the last line */
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 4.8vw, 3.75rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
}
main p {
  margin: 1.5rem 0 0;
  max-width: 33rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* The elephant walks along the one rule on the page. */
.stage {
  flex: none;   /* keeps its height when the words above are long */
  position: relative;
  height: clamp(5.5rem, 11vw, 8.5rem);
  border-bottom: 1px solid var(--line);
}
.walker {
  position: absolute;
  right: var(--gutter);       /* where it stands if scripts are off */
  bottom: -1px;
  width: clamp(6.5rem, 12vw, 10rem);
  will-change: transform;
}
.walker.walking { right: auto; left: 0; }
.walker svg { display: block; width: 100%; height: auto; overflow: visible; }
.solid { fill: var(--hide); }
.limb { stroke-width: 5; stroke-linejoin: round; }
.near .limb, .near .foot path { fill: var(--hide); stroke: var(--hide); }
.farleg .limb, .farleg .foot path { fill: var(--shade); stroke: var(--shade); }
.foot path { stroke-width: 2; stroke-linejoin: round; }
.nail { fill: #a4a8ae; }
.tuft { fill: #3f4349; }
.tusk { fill: var(--tusk); stroke: #cbc1a8; stroke-width: 1; stroke-linejoin: round; }
.farleg ellipse { fill: var(--shade); }
.farleg line { stroke: var(--shade); stroke-width: 31; stroke-linecap: round; }

.block {
  flex: 1; align-content: start;
  display: grid;
  grid-template-columns: minmax(11rem, 1fr) 2.2fr;
  gap: 1.5rem 4rem;
  padding: clamp(3rem, 9vh, 6rem) var(--gutter) 4.5rem;
  border-bottom: 1px solid var(--line);
}
.block h1 {
  max-width: none;
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.block p { margin: 0 0 1rem; max-width: 36rem; font-size: 1.0625rem; line-height: 1.6; color: var(--ink-soft); }
.block dl { margin: 0; }
.block dt { font-weight: 600; font-size: 1.0625rem; }
.block dd { margin: 0.35rem 0 1.9rem; max-width: 36rem; font-size: 1.0625rem; line-height: 1.6; color: var(--ink-soft); }
.block dd:last-child { margin-bottom: 0; }
.block table { width: 100%; max-width: 40rem; border-collapse: collapse; font-size: 1.0625rem; line-height: 1.5; }
.block th, .block td { padding: 0.9rem 0; border-top: 1px solid var(--hair); text-align: left; vertical-align: top; }
.block tr:last-child th, .block tr:last-child td { border-bottom: 1px solid var(--hair); }
.block th { width: 9.5rem; padding-right: 1.5rem; font-weight: 600; }
.block td { color: var(--ink-soft); }
form { max-width: 26rem; margin-top: 1.75rem; }
form label { display: block; margin: 1.1rem 0 0.35rem; font-size: 0.95rem; font-weight: 600; }
form input {
  display: block; width: 100%;
  padding: 0.7rem 1.15rem;
  font: inherit; font-size: 1.0625rem; color: var(--ink);
  background: #fff;
  border: 1px solid #97a2b6; border-radius: 999px;
}
form input:focus-visible, form button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
form input[aria-invalid="true"] { border-color: #9b2c1f; }
form button {
  margin-top: 1.6rem;
  padding: 0.8rem 1.3rem;
  font: inherit; font-size: 1.0625rem; font-weight: 600;
  color: var(--page); background: var(--ink);
  border: 1px solid var(--ink); border-radius: 999px;
  cursor: pointer;
}
form button[disabled] { opacity: 0.6; cursor: default; }
form textarea {
  display: block; width: 100%; min-height: 9rem; resize: vertical;
  padding: 0.8rem 1.15rem;
  font: inherit; font-size: 1.0625rem; line-height: 1.5; color: var(--ink);
  background: #fff;
  border: 1px solid #97a2b6; border-radius: 18px;
}
form textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
form textarea[aria-invalid="true"] { border-color: #9b2c1f; }
/* The consulting page ends in one button, which leads to the call page. */
.ct-go { margin: 1.5rem 0 0; }
.ct-btn { display: inline-flex; align-items: center; min-height: 2.9rem; padding: 0 1.3rem; border-radius: 999px; background: var(--ink); color: var(--page); font-size: 1.0625rem; font-weight: 600; text-decoration: none; }
.ct-btn:hover { background: #1d3963; color: #fff; } .ct-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.trap { position: absolute; left: -200vw; width: 1px; height: 1px; overflow: hidden; }
.block #signup-status { margin: 1.1rem 0 0; min-height: 1.6em; color: var(--ink); font-weight: 600; }
.block #signup-status.problem { color: #9b2c1f; }
.block .fine { margin: 0.4rem 0 0; font-size: 0.9rem; }

@media (max-width: 46rem) {
  .block { grid-template-columns: 1fr; padding: 3rem var(--gutter); }
  .block th { width: 7rem; }
}

footer {
  padding: 1.1rem var(--gutter) 1.6rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
}
footer a { display: inline-block; margin-left: 1.25rem; padding: 0.9rem 0; color: inherit; text-underline-offset: 3px; }

/* ---- "What you get": three things, each with a small animation. See docs/site.md. */
.tour { flex: 1; padding: clamp(3rem, 9vh, 6rem) var(--gutter) 4.5rem; border-bottom: 1px solid var(--line); }
.tour h1 { max-width: none; font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1.15; letter-spacing: -0.01em; }
.tour-grid { display: grid; grid-template-columns: minmax(17rem, 22rem) minmax(0, 1fr); gap: 2rem clamp(2rem, 4vw, 4rem); align-items: start; margin-top: 2.75rem; max-width: 92rem; }
.tabs { display: grid; }
.tabs button {
  position: relative; display: block; width: 100%; padding: 1.15rem 0 1.25rem; text-align: left;
  font: inherit; color: var(--ink-soft); background: none; border: 0; border-top: 1px solid var(--hair); cursor: pointer;
}
.tabs button:last-child { border-bottom: 1px solid var(--hair); }
.tabs button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.tabs .t { display: block; font-size: 1.0625rem; font-weight: 600; }
.tabs .d { display: block; margin-top: 0.4rem; font-size: 1.0625rem; line-height: 1.6; color: var(--ink-soft); }
.tabs button:hover .t, .tabs button[aria-selected="true"] .t { color: var(--ink); }
.tabs .bar { position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--line); }
.tour.js .tabs button[aria-selected="false"] .d { display: none; }
.tour.js .tabs button[aria-selected="true"] .bar { width: 100%; transition: width var(--run, 0s) linear; }
.scene { display: none; position: relative; min-height: 46rem; background: #fff; border: 1px solid var(--hair); border-radius: 2px; overflow: hidden; }
.tour.js .scene { display: block; }
.view { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem; padding: 2rem;
  opacity: 0; visibility: hidden; transition: opacity 0.35s ease, visibility 0s 0.35s; }
.view.on { opacity: 1; visibility: visible; transition: opacity 0.35s ease; }
/* States set by the script are written "-name", so they never collide with the fixed classes. */
.scene { --ok: #2a6a4b; --no: #9b2c1f; --okbg: #e9f2ec; --nobg: #f7e9e6; --move: cubic-bezier(.5, 0, .2, 1); }
.slip { margin: 0; min-height: 3.2em; max-width: 30rem; text-align: center; font-size: 1.0625rem; line-height: 1.6; color: var(--ink-soft); }
.chip { display: inline-flex; align-items: baseline; gap: 0.5rem; padding: 0.5rem 0.85rem; border: 1px solid var(--ink); border-radius: 999px; background: #fff; font-size: 0.95rem; line-height: 1.3; color: var(--ink-soft); white-space: nowrap; }
.chip b { font-weight: 600; color: var(--ink); }

/* 1. two phones side by side: the Shapes, and the controls inside one. Nothing on a screen wraps, and every switch sits on the right edge. */
.pair { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: center; gap: 2rem; }
.unit { display: flex; flex-direction: column; align-items: center; gap: 0.9rem; }
.cap { margin: 0; text-align: center; white-space: nowrap; }
.cap b { display: block; font-size: 1rem; font-weight: 600; color: var(--ink); }
.cap span { display: block; margin-top: 0.15rem; font-size: 0.9rem; color: var(--ink-soft); }
.iphone { --b: var(--ink); position: relative; flex: none; width: 15.5rem; aspect-ratio: 1318 / 2717; }
.iphone .bezel { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; user-select: none; filter: drop-shadow(0 22px 34px rgba(19, 40, 75, .28)); }
.iphone .screen { position: absolute; left: 4.25%; top: 1.77%; width: 91.5%; height: 96.5%; border-radius: 11% / 5.4%; overflow: hidden;
  background: #f5f6f8; color: #1c2430; font-family: -apple-system, "SF Pro Text", "Helvetica Neue", Arial, sans-serif; font-size: 0.72rem; line-height: 1.3; white-space: nowrap; }
.iphone .top { display: flex; align-items: center; gap: 0.4rem; padding: 2.75rem 0.9rem 0.7rem; background: var(--b); color: #fff; font-size: 0.8rem; font-weight: 600; }
.iphone .mark { flex: none; width: 1.6rem; height: 1.18rem; margin: -0.25rem 0; fill: #fff; color: #fff; }
.iphone .pb { padding: 0.75rem 0.9rem 0; }
.iphone .pt { margin-bottom: 0.55rem; font-size: 1rem; font-weight: 700; }
/* the top row of each screen, as in the ShapeCard app: a search field with a square button beside it (filter on the list, back inside a Shape) */
.iphone .bar { display: grid; gap: 0.4rem; height: 1.9rem; margin: -0.1rem 0 0.85rem; }
.iphone .bar.a { grid-template-columns: minmax(0, 1fr) 1.9rem; } .iphone .bar.b { grid-template-columns: 1.9rem minmax(0, 1fr); }
.iphone .find, .iphone .sq { display: flex; align-items: center; border-radius: 8px; background: #e4e8ef; color: #55627a; }
.iphone .find { gap: 0.4rem; min-width: 0; padding: 0 0.6rem; font-size: 0.66rem; font-weight: 600; }
.iphone .find span { overflow: hidden; text-overflow: ellipsis; }
.iphone .sq { justify-content: center; }
.iphone .bar svg { flex: none; width: 0.85rem; height: 0.85rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.iphone .sq svg { color: #1c2430; }
.iphone .meta { margin: -0.3rem 0 0.5rem; font-size: 0.62rem; font-weight: 600; color: #6b778c; }
.iphone .row { display: grid; align-items: center; column-gap: 0.55rem; height: 2.4rem; margin: 0 -0.35rem; padding: 0 0.35rem; border-bottom: 1px solid #e1e5ec; border-radius: 6px; transition: background 0.3s; }
.iphone .row.shape { grid-template-columns: 1.7rem minmax(0, 1fr) 0.9rem; }
.iphone .row.rule { grid-template-columns: minmax(0, 1fr) 1.85rem 0.9rem; }
.iphone .row.clause { grid-template-columns: minmax(0, 1fr) 0.9rem; }
.iphone .row.head { grid-template-columns: 1.7rem 0.9rem minmax(0, 1fr) 1.85rem; border-bottom: 0; }
.iphone .row.head .st { justify-self: end; font-size: 0.6rem; font-weight: 600; color: #6b778c; }
/* the three dots that open a row's menu */
.iphone .more { justify-self: center; width: 3px; height: 3px; border-radius: 50%; background: #8a94a6; box-shadow: -5px 0 0 #8a94a6, 5px 0 0 #8a94a6; }
.iphone .row:last-child { border-bottom: 0; }
.iphone .row.-picked { background: #e6eaf2; }
.iphone .txt { display: grid; row-gap: 0.1rem; min-width: 0; }
.iphone .txt b, .iphone .txt small { overflow: hidden; text-overflow: ellipsis; }
.iphone .txt b { font-size: 0.7rem; font-weight: 600; letter-spacing: -0.005em; }
.iphone .txt small { font-size: 0.6rem; font-weight: 500; color: #6b778c; }
.iphone .cover { width: 1.7rem; height: 1.7rem; border-radius: 6px; }
.iphone .cover.pin { position: relative; background: #dfe4ec; }
.iphone .cover.plus { position: relative; background: none; border: 1.5px solid var(--b); }
.iphone .cover.plus::before, .iphone .cover.plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 0.7rem; height: 1.5px; margin: -0.75px 0 0 -0.35rem; background: var(--b); }
.iphone .cover.plus::after { transform: rotate(90deg); }
.iphone .cover.pin::before { content: ""; position: absolute; left: 50%; top: 50%; width: 0.5rem; height: 0.5rem; margin: -0.25rem 0 0 -0.25rem; border-radius: 50%; background: #55627a; }
.iphone .go { justify-self: end; width: 0.4rem; height: 0.4rem; margin-right: 0.2rem; border-right: 1.5px solid #8a94a6; border-top: 1.5px solid #8a94a6; transform: rotate(45deg); }
.iphone .new .txt b { font-weight: 500; }
/* the second phone is dimmed until a Shape is opened on the first */
#b-body, #c-body { opacity: 0.28; transition: opacity 0.45s; } #b-body.-open, #c-body.-open { opacity: 1; }
/* the third phone: the form for a new condition */
.iphone .where { align-self: center; padding-left: 0.2rem; font-size: 0.68rem; font-weight: 600; color: #55627a; overflow: hidden; text-overflow: ellipsis; }
.iphone .fld { margin-top: 0.15rem; }
.iphone .fld small, .iphone .sec, .iphone .sofar small { display: block; margin-bottom: 0.3rem; font-size: 0.6rem; font-weight: 600; color: #6b778c; }
.iphone .inp { display: flex; align-items: center; height: 1.9rem; padding: 0 0.6rem; border: 1px solid #c3cad6; border-radius: 8px; background: #fff; font-size: 0.7rem; font-weight: 600; }
.iphone .caret { width: 1px; height: 0.95rem; margin-left: 1px; background: var(--b); opacity: 0; } .iphone .caret.-on { animation: caret 0.9s steps(1) infinite; }
@keyframes caret { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }
.iphone .sec { margin-top: 0.65rem; margin-bottom: 0; }
.iphone .clause { opacity: 0; transform: translateY(0.3rem); transition: opacity 0.3s, transform 0.3s var(--move); } .iphone .clause.-in { opacity: 1; transform: none; }
.iphone .seg3 { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 0.35rem; padding: 2px; border-radius: 8px; background: #e4e8ef; }
.iphone .seg3 span { display: flex; align-items: center; justify-content: center; height: 1.6rem; border-radius: 6px; font-size: 0.66rem; font-weight: 600; color: #55627a; transition: background 0.25s, color 0.25s; }
.iphone .seg3 span.-on { background: #fff; color: var(--b); box-shadow: 0 1px 2px rgba(0, 0, 0, .12); }
.iphone .sofar { margin-top: 0.65rem; opacity: 0; transition: opacity 0.35s; } .iphone .sofar.-in { opacity: 1; }
#c-verb { display: inline-block; transition: opacity 0.16s, transform 0.16s; } #c-verb.-swap { opacity: 0; transform: translateY(0.2rem); }
.iphone .sofar p { margin: 0; font-size: 0.72rem; font-weight: 600; line-height: 1.35; white-space: normal; }
.iphone .cta { display: flex; align-items: center; justify-content: center; height: 2.1rem; margin-top: 0.65rem; border-radius: 999px; background: var(--b); color: #fff; font-size: 0.72rem; font-weight: 600; transition: background 0.25s; }
.iphone .cta.-done { background: var(--ok); }
.dot { display: inline-block; width: 0.42rem; height: 0.42rem; margin-left: 0.3rem; border-radius: 50%; background: #ff6a00; vertical-align: 0.04em; }   /* bright orange, so it is not missed */
.slip .dot { width: 0.6rem; height: 0.6rem; margin: 0 0.1rem; }
.sw { position: relative; justify-self: end; width: 1.85rem; height: 1.1rem; border-radius: 999px; background: #b8c0cf; transition: background 0.3s; }
.sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: calc(1.1rem - 4px); height: calc(1.1rem - 4px); border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform 0.3s var(--move); }
.sw.is { background: var(--b); } .sw.is::after { transform: translateX(0.75rem); }
/* a cardholder's finger, one per phone */
.tap { position: absolute; left: 50%; top: 60%; width: 1.7rem; height: 1.7rem; margin: -0.85rem 0 0 -0.85rem; border-radius: 50%; background: rgba(19, 40, 75, .16); border: 1px solid rgba(19, 40, 75, .35); opacity: 0; pointer-events: none;
  transition: left 0.6s var(--move), top 0.6s var(--move), opacity 0.25s, transform 0.15s; }
.tap.-show { opacity: 1; } .tap.-down { transform: scale(0.72); background: rgba(19, 40, 75, .3); }

/* 2. two sets of rules, and a purchase has to pass every one */
.chip.buy { opacity: 0; transform: translateY(-0.6rem); transition: opacity 0.35s, transform 0.45s var(--move); }
.chip.buy.-show { opacity: 1; transform: none; }
.layers { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; width: 100%; max-width: 38rem; }
.layer { padding: 1rem 1rem 0.5rem; border: 1px solid var(--hair); border-radius: 2px; transition: border-color 0.3s, background 0.3s; }
.layer.-ok { border-color: var(--ok); } .layer.-no { border-color: var(--no); background: var(--nobg); }
.layer h2 { margin: 0 0 0.5rem; font: 600 0.95rem var(--sans); color: var(--ink); }
.layer ul { margin: 0; padding: 0; list-style: none; }
.layer li { display: flex; justify-content: space-between; gap: 0.75rem; margin: 0 -0.5rem; padding: 0.5rem; border-top: 1px solid var(--hair); font-size: 0.95rem; line-height: 1.4; color: var(--ink-soft); transition: background 0.25s, color 0.25s; }
.layer li.look { background: #eef1f6; color: var(--ink); }
.layer li i { flex: none; width: 1.2em; text-align: center; font-style: normal; font-weight: 700; opacity: 0; transform: scale(0.4); transition: opacity 0.2s, transform 0.3s cubic-bezier(.3, 1.6, .5, 1); }
.layer li.ok i, .layer li.no i { opacity: 1; transform: none; }
.layer li.ok i { color: var(--ok); } .layer li.no i, .layer li.no { color: var(--no); }
.verdict { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.4rem 0.75rem; min-height: 2.4rem; font-size: 1.0625rem; color: var(--ink-soft); opacity: 0; transform: scale(0.94); transition: opacity 0.3s, transform 0.35s cubic-bezier(.3, 1.5, .5, 1); }
.verdict.-show { opacity: 1; transform: none; }
.verdict b { padding: 0.35rem 0.9rem; border-radius: 999px; font-weight: 600; color: #fff; }
.verdict.-ok b { background: var(--ok); } .verdict.-no b { background: var(--no); }
.count { display: flex; gap: 0.4rem; }
.count span { width: 1.4rem; height: 2px; background: var(--hair); transition: background 0.3s; } .count span.on { background: var(--ink); }

/* 3. a purchase goes to Lucabos and a decision comes back. Two boxes of one size, two lanes between them. */
.wire { display: grid; grid-template-columns: 15.5rem minmax(10rem, 1fr) 15.5rem; align-items: stretch; width: 100%; max-width: 54rem; font-size: 1.0625rem; }
.box { min-height: 12rem; padding: 1.3rem 1.4rem; border: 1px solid var(--ink); border-radius: 2px; display: flex; flex-direction: column; gap: 0.6rem; }
.box.dark { background: var(--ink); color: #fff; }
.box .lbl { font-weight: 600; }
.box .buyline { min-height: 1.4em; font-size: 0.95rem; line-height: 1.4; color: var(--ink-soft); white-space: nowrap; opacity: 0; transform: translateY(-0.3rem); transition: opacity 0.3s, transform 0.3s; }
.box .buyline b { font-weight: 600; color: var(--ink); margin-right: 0.3em; } .box .buyline.-show { opacity: 1; transform: none; }
.box .out { margin-top: auto; min-height: 1.5em; font-size: 1.0625rem; font-weight: 600; opacity: 0; transform: translateY(0.3rem); transition: opacity 0.3s, transform 0.3s; }
.box .out.-show { opacity: 1; transform: none; } .box .out.-ok { color: var(--ok); } .box .out.-no { color: var(--no); }
.checks { display: grid; gap: 0.45rem; margin-top: auto; padding-top: 0.7rem; border-top: 1px solid rgba(255, 255, 255, 0.22); font-size: 0.95rem; color: #aab4c8; }
.checks span { display: flex; justify-content: space-between; gap: 0.5rem; min-height: 1.3em; white-space: nowrap; transition: color 0.25s; }
.checks span.-look, .checks span.-ok, .checks span.-no { color: #fff; }
.checks i { font-style: normal; font-weight: 700; } .checks .-ok i { color: #8fd3ad; } .checks .-no i { color: #f0a59a; }
.track { position: relative; min-height: 12rem; }
.lane { position: absolute; left: 0.45rem; right: 0.45rem; border-top: 1px dashed #97a2b6; }
.lane.go { top: 32%; } .lane.back { top: 68%; }
.lane::after { content: ""; position: absolute; top: -5.5px; border: 5px solid transparent; }
.lane.go::after { right: -0.3rem; border-left-color: #97a2b6; border-right-width: 0; }
.lane.back::after { left: -0.3rem; border-right-color: #97a2b6; border-left-width: 0; }
.lane em { position: absolute; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 0.85rem; line-height: 1; color: var(--ink-soft); white-space: nowrap; }
.lane.go em { bottom: 1.45rem; } .lane.back em { top: 1.45rem; }
.track .chip { position: absolute; opacity: 0; font-size: 0.95rem; padding: 0.4rem 0.8rem; transition: left 1.2s var(--move), top 1.2s var(--move), transform 1.2s var(--move), opacity 0.25s; }
.track .chip.-show { opacity: 1; }
.chip.ask { top: 32%; left: 0; transform: translate(0.9rem, -50%); } .chip.ask.-there { left: 100%; transform: translate(calc(-100% - 0.9rem), -50%); }
.chip.answer { top: 68%; left: 0; transform: translate(0.9rem, -50%); border-color: transparent; }
.chip.answer.-there { left: 100%; transform: translate(calc(-100% - 0.9rem), -50%); }
.chip.answer b { color: #fff; } .chip.answer.-ok { background: var(--ok); } .chip.answer.-no { background: var(--no); }
#e-slip { max-width: 34rem; min-height: 1.6em; margin-top: 0.75rem; font-size: 1.125rem; text-wrap: balance; }

@media (max-width: 60rem) {
  .tour-grid { grid-template-columns: 1fr; }
  .scene { min-height: 0; } .view { position: static; display: none; padding: 1.5rem 1.25rem; gap: 1.25rem; opacity: 1; visibility: visible; transition: none; } .view.on { display: flex; transition: none; }
  .pair { flex-direction: column; align-items: center; gap: 1.75rem; }
  .layers { grid-template-columns: 1fr; gap: 0.75rem; }
  .wire { grid-template-columns: 1fr; max-width: 17rem; }
  .box { min-height: 7rem; }
  .track { min-height: 7rem; }
  .lane em { display: none; }
  .wire { font-size: 1rem; }
  #e-slip { min-height: 3.2em; }
  .lane { left: auto; right: auto; top: 0 !important; bottom: 0; border-top: 0; border-left: 1px dashed #97a2b6; }
  .lane.go { left: 22%; } .lane.back { left: 78%; }
  .lane::after { display: none; }
  .chip.ask { left: 22%; top: 0; transform: translate(-22%, 0.3rem); } .chip.ask.-there { left: 22%; top: 100%; transform: translate(-22%, calc(-100% - 0.3rem)); }
  .chip.answer { left: 78%; top: 0; transform: translate(-78%, 0.3rem); } .chip.answer.-there { left: 78%; top: 100%; transform: translate(-78%, calc(-100% - 0.3rem)); }
}
@media (prefers-reduced-motion: reduce) { .view, .view *, .tabs .bar { transition: none !important; } }

/* ---- the sandbox page: what it is, an example of calling it, and the form. See docs/site.md. */
.sb { flex: 1; align-content: start; display: grid; grid-template-columns: minmax(0, 26rem) minmax(0, 38rem); grid-template-areas: "head code" "form code";
  gap: 0 clamp(2rem, 6vw, 6rem); padding: clamp(3rem, 9vh, 6rem) var(--gutter) 4.5rem; border-bottom: 1px solid var(--line); }
.sb-head { grid-area: head; } .sb-code { grid-area: code; } .sb-form { grid-area: form; }
.sb h1 { max-width: none; margin-bottom: 1.5rem; font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1.15; letter-spacing: -0.01em; }
.sb-head p, .sb-head li { margin: 0 0 0.9rem; font-size: 1.0625rem; line-height: 1.6; color: var(--ink-soft); text-wrap: balance; }
.sb-head ul { margin: 0; padding-left: 1.2rem; } .sb-head li { margin-bottom: 0.35rem; padding-left: 0.2rem; } .sb-head li::marker { color: var(--line); }
.sb-form { display: flex; align-self: stretch; } .sb-form form { display: flex; flex-direction: column; flex: 1; width: 100%; margin-top: 1rem; }
.sb-form form button { align-self: flex-start; margin-top: auto; }
.sb-form label { padding-left: 1.15rem; }
.sb-form #signup-status { margin: 0.6rem 0 1.1rem; min-height: 1.6em; padding-left: 1.15rem; font-weight: 600; color: var(--ink); }
.sb-form #signup-status.problem { color: #9b2c1f; }
.sb-form .fine { text-wrap: balance; margin: 1.1rem 0 0; padding-left: 1.15rem; font-size: 0.9rem; line-height: 1.5; color: var(--ink-soft); }
.sb-code { display: flex; flex-direction: column; margin: 0; background: var(--ink); color: #dfe5f0; border-radius: 14px; overflow: hidden; }
.sb-code figcaption { margin-top: auto; }
/* both examples occupy the same space, so switching between them never changes the panel's height */
.sb-code.js .sb-panes { display: grid; } .sb-code.js .sb-pane { grid-area: 1 / 1; min-width: 0; visibility: hidden; } .sb-code.js .sb-pane.on { visibility: visible; }
.sb-tabs .run { margin-left: auto; align-self: center; min-height: 2rem; margin-bottom: 0.4rem; padding: 0 0.85rem; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; font-size: 0.85rem; color: #dfe5f0; }
.sb-tabs .run:hover { border-color: #fff; color: #fff; } .sb-tabs .run[hidden] { display: none; }
.sb-code pre.typing::after { content: ""; display: inline-block; width: 0.5em; height: 1.05em; margin-left: 1px; vertical-align: -0.18em; background: #dfe5f0; animation: caret 0.9s steps(1) infinite; }
.sb-label.res { transition: opacity 0.3s; } .sb-label.res.idle { opacity: 0.35; }
.sb-label .wait { display: none; margin-left: 0.5rem; } .sb-label.waiting .wait { display: inline-block; width: 1.2rem; height: 0.35rem; border-radius: 999px; background: linear-gradient(90deg, #dfe5f0 0 33%, rgba(223, 229, 240, .3) 33% 100%); background-size: 300% 100%; animation: wait 0.7s linear infinite; }
@keyframes wait { from { background-position: 100% 0; } to { background-position: 0 0; } }
.sb-tabs { display: flex; gap: 0.25rem; padding: 0.6rem 0.6rem 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.sb-tabs button { min-height: 2.75rem; padding: 0.55rem 0.9rem 0.7rem; font: inherit; font-size: 0.95rem; color: #aab4c8; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; }
.sb-tabs button:hover { color: #fff; }
.sb-tabs button[aria-selected="true"] { color: #fff; border-bottom-color: var(--line); }
.sb-tabs button:focus-visible { outline: 2px solid #fff; outline-offset: -2px; border-radius: 6px; }
.sb-pane { padding: 0.25rem 1.25rem 0.5rem; }
.sb-label { margin: 1rem 0 0.4rem; font-size: 0.8rem; font-weight: 600; color: #aab4c8; }
.sb-code pre { margin: 0; padding: 0.9rem 1rem; overflow-x: auto; background: rgba(255, 255, 255, .06); border-radius: 10px;
  font: 0.84rem/1.6 ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace; color: #dfe5f0; tab-size: 2; }
.sb-code .c { color: #8e9ab3; } .sb-code .k { color: #a9c7f2; } .sb-code .s { color: #e3cf9a; } .sb-code .n { color: #9fd8bd; }
.sb-code figcaption { padding: 0.75rem 1.25rem 1.1rem; font-size: 0.85rem; line-height: 1.5; color: #aab4c8; }
@media (max-width: 60rem) {
  .sb { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "code" "form"; row-gap: 1.5rem; padding-top: 3rem; }
  .sb-pane { padding: 0.25rem 0.8rem 0.5rem; } .sb-code pre { font-size: 0.78rem; padding: 0.8rem; }
}

/* ---- the agentic commerce page: seven frameworks, each one opening in place. See docs/site.md. */
.ac { flex: 1; align-content: start; display: grid; grid-template-columns: minmax(0, 24rem) minmax(0, 44rem); gap: 2rem clamp(2rem, 6vw, 6rem); padding: clamp(3rem, 9vh, 6rem) var(--gutter) 4.5rem; border-bottom: 1px solid var(--line); }
.ac h1 { max-width: none; margin-bottom: 1.5rem; font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1.15; letter-spacing: -0.01em; }
.ac-head p { margin: 0 0 0.9rem; font-size: 1.0625rem; line-height: 1.6; color: var(--ink-soft); }
.ac-group + .ac-group { margin-top: 2.25rem; }
.ac-group h2 { margin: 0; font: 600 1.0625rem var(--sans); color: var(--ink); }
.ac-group .job { margin: 0.2rem 0 0.75rem; font-size: 0.95rem; color: var(--ink-soft); }
.ac-row { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr) 1rem; align-items: baseline; column-gap: 0.75rem; padding: 0.95rem 0; border-top: 1px solid var(--hair); color: var(--ink); text-decoration: none; }
.ac-row:last-child { border-bottom: 1px solid var(--hair); }
.ac-row b { font-size: 1.0625rem; font-weight: 600; }
.ac-row::after { content: ""; align-self: center; width: 0.42rem; height: 0.42rem; border-right: 1.5px solid var(--ink-soft); border-top: 1.5px solid var(--ink-soft); transform: rotate(45deg); transition: transform 0.2s; }
.ac-row:hover::after { transform: translateX(0.2rem) rotate(45deg); }
.ac-row:focus-visible, .pager a:focus-visible, .crumb a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.ac .num { font-size: 0.95rem; color: var(--line); font-weight: 600; font-variant-numeric: tabular-nums; }
/* one framework's own page */
.crumb { margin: 0 0 0.9rem; font-size: 0.95rem; } .crumb a { color: var(--ink-soft); text-underline-offset: 3px; }
.ac .abbr { color: var(--ink-soft); white-space: nowrap; }
.facts { margin: 0; }
.facts dt { padding-top: 1rem; border-top: 1px solid var(--hair); font-size: 0.95rem; font-weight: 600; color: var(--ink); }
.facts dd { margin: 0.3rem 0 1rem; max-width: 38rem; font-size: 1.0625rem; line-height: 1.6; color: var(--ink-soft); }
.facts dd a { color: var(--ink); text-underline-offset: 3px; }
.ac.one .ac-note { margin: 0; padding-top: 1rem; border-top: 1px solid var(--hair); }
/* Previous and Next under a framework, an organization or a service: two small boxes, each as wide as its
   own words, one at each end of the row (owner, 2026-11-25: they were half the row each). Still 44 pixels
   tall, the least a finger needs. */
.pager { display: flex; justify-content: space-between; align-items: stretch; gap: 1rem; margin-top: 2.25rem; }
.pager a { display: grid; align-content: center; gap: 0.05rem; min-height: 2.75rem; padding: 0.35rem 0.8rem; border: 1px solid var(--hair); border-radius: 10px; color: var(--ink); text-decoration: none; }
.pager a:hover { border-color: var(--ink-soft); } .pager a.next { margin-left: auto; text-align: right; }
.pager span { font-size: 0.75rem; line-height: 1.2; color: var(--ink-soft); } .pager b { font-size: 0.875rem; line-height: 1.25; font-weight: 600; }
.ac-note { margin: 0; font-size: 0.9rem; line-height: 1.5; color: var(--ink-soft); }
@media (max-width: 60rem) {
  .ac { grid-template-columns: minmax(0, 1fr); padding-top: 3rem; }
  .pager { flex-wrap: wrap; } .pager > span { display: none; }
}

/* ---- "Talk to our team": what the call is, and a three-step request for a time. See docs/site.md. */
.bk { flex: 1; align-content: start; display: grid; grid-template-columns: minmax(0, 26rem) minmax(0, 34rem); gap: 2rem clamp(2rem, 6vw, 6rem); padding: clamp(3rem, 9vh, 6rem) var(--gutter) 4.5rem; border-bottom: 1px solid var(--line); }
.bk h1 { max-width: none; margin-bottom: 1.5rem; font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1.15; letter-spacing: -0.01em; }
.bk-head > p { margin: 0 0 1.5rem; font-size: 1.0625rem; line-height: 1.6; color: var(--ink-soft); text-wrap: balance; }
.bk-facts { margin: 0; }
.bk-facts dt { padding-top: 1rem; border-top: 1px solid var(--hair); font-size: 0.95rem; font-weight: 600; }
.bk-facts dd { margin: 0.3rem 0 1rem; font-size: 1.0625rem; line-height: 1.6; color: var(--ink-soft); text-wrap: pretty; }
.bk-card { align-self: start; max-width: none; margin: 0; padding: 1.5rem; background: #fff; border: 1px solid var(--hair); border-radius: 14px; }
.bk-card:not(.js) .bk-steps, .bk-card:not(.js) .bk-pane { display: none; }
.bk-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.bk-steps li { display: flex; align-items: center; gap: 0.5rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--hair); font-size: 0.95rem; font-weight: 600; color: var(--ink-soft); transition: border-color 0.25s, color 0.25s; }
.bk-steps li span { display: inline-flex; align-items: center; justify-content: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--wash, #eef1f6); font-size: 0.8rem; transition: background 0.25s, color 0.25s; }
.bk-steps li.on { color: var(--ink); border-bottom-color: var(--line); } .bk-steps li.on span { background: var(--ink); color: #fff; }
.bk-steps li.done { color: var(--ink); border-bottom-color: var(--ink); } .bk-steps li.done span { background: var(--ink); color: #fff; }
.bk-pane { display: none; min-width: 0; margin: 0; padding: 0; border: 0; }
.bk-pane.on { display: block; animation: bk-in 0.3s cubic-bezier(.5, 0, .2, 1); }
@keyframes bk-in { from { opacity: 0; transform: translateY(0.4rem); } to { opacity: 1; transform: none; } }
.bk-pane legend, .bk-done h2 { margin: 0 0 1rem; padding: 0; font: 600 1.0625rem var(--sans); color: var(--ink); }
.bk-days p, .bk-zone, .bk-wait { margin: 0 0 0.6rem; font-size: 0.9rem; color: var(--ink-soft); }
.bk-week { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.5rem; margin-bottom: 1.25rem; }
.bk-times { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; margin: 0.4rem 0 1.25rem; }
.bk-card button.bk-day, .bk-card button.bk-time { margin: 0; padding: 0; min-height: 2.75rem; font: inherit; font-size: 0.95rem; font-weight: 600; color: var(--ink); background: #fff; border: 1px solid #c3cad6; border-radius: 10px; cursor: pointer; transition: border-color 0.15s, background 0.15s, transform 0.15s; }
.bk-card button.bk-day { display: grid; gap: 0.1rem; justify-items: center; align-content: center; min-height: 4rem; }
.bk-day span { font-size: 0.8rem; font-weight: 500; color: var(--ink-soft); } .bk-day b { font-size: 1.25rem; font-weight: 600; }
.bk-card button.bk-day:hover, .bk-card button.bk-time:hover { border-color: var(--ink); background: #f5f6f8; transform: translateY(-1px); }
.bk-card button.bk-back { margin: 0; padding: 0; min-height: 2.75rem; font: inherit; font-size: 0.95rem; font-weight: 500; color: var(--ink-soft); background: none; border: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.bk-card button.bk-back:hover { color: var(--ink); }
.bk-pick { margin: 0 0 0.5rem; padding: 0.75rem 1rem; border-radius: 10px; background: #eef1f6; font-size: 0.95rem; font-weight: 600; }
.bk-card label { padding-left: 1.15rem; } .bk-card .opt { font-weight: 400; color: var(--ink-soft); }
.bk-card textarea { display: block; width: 100%; padding: 0.7rem 1.15rem; font: inherit; font-size: 1.0625rem; color: var(--ink); background: #fff; border: 1px solid #97a2b6; border-radius: 18px; resize: vertical; }
.bk-card textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
#bk-status { margin: 0.9rem 0 0; min-height: 1.6em; padding-left: 1.15rem; font-weight: 600; } #bk-status.problem { color: #9b2c1f; }
/* The reasons for a call: a row that opens a list of tick boxes, so more than one can be chosen. */
.bk-label { display: block; margin: 1.1rem 0 0.35rem; padding-left: 1.15rem; font-size: 0.95rem; font-weight: 600; }
.bk-reasons { position: relative; }
.bk-reasons summary { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; min-height: 2.9rem; padding: 0.55rem 1.15rem; font-size: 1.0625rem; color: var(--ink); background: #fff; border: 1px solid #97a2b6; border-radius: 999px; cursor: pointer; list-style: none; }
.bk-reasons summary::-webkit-details-marker { display: none; }
.bk-reasons summary::after { content: ""; flex: none; width: 0.42rem; height: 0.42rem; margin-top: -0.2rem; border-right: 1.5px solid var(--ink-soft); border-bottom: 1.5px solid var(--ink-soft); transform: rotate(45deg); }
.bk-reasons[open] summary::after { margin-top: 0.2rem; transform: rotate(225deg); }
.bk-reasons summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.bk-reasons.bad summary { border-color: #9b2c1f; }
.bk-reason-list { position: absolute; z-index: 10; top: calc(100% + 0.35rem); left: 0; right: 0; padding: 0.4rem; background: #fff; border: 1px solid var(--hair); border-radius: 14px; box-shadow: 0 10px 30px rgba(16, 32, 60, .12); }
.bk-card .bk-reason-list label { display: flex; align-items: center; gap: 0.7rem; min-height: 2.75rem; margin: 0; padding: 0 0.75rem; border-radius: 8px; font-size: 1rem; font-weight: 500; cursor: pointer; }
.bk-card .bk-reason-list label:hover { background: #eef1f6; }
.bk-reason-list input { display: inline-block; flex: none; width: 1.15rem; height: 1.15rem; margin: 0; padding: 0; border-radius: 4px; accent-color: var(--ink); }
.bk-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 0.5rem; } .bk-row button[type="submit"] { margin: 0; }
.bk-done p { margin: 0 0 0.75rem; font-size: 1.0625rem; line-height: 1.6; color: var(--ink-soft); } .bk-done:focus { outline: none; }
.bk-done #bk-done-line { color: var(--ink); font-weight: 600; }
@media (max-width: 60rem) {
  .bk { grid-template-columns: minmax(0, 1fr); padding-top: 3rem; }
  .bk-card { padding: 1.25rem 1rem; } .bk-times { grid-template-columns: repeat(3, 1fr); }
  .bk-row { flex-direction: column-reverse; align-items: stretch; gap: 0.25rem; } .bk-row button[type="submit"] { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .bk-pane.on { animation: none; } }

/* The picture under the title of a framework page or a service page. Drawn by scripts/site-pictures.py. */
.pic { margin: 2rem 0 0; }
.pic svg { display: block; width: 100%; height: auto; background: #fff; border: 1px solid var(--hair); border-radius: 12px; }
.pic figcaption { margin-top: 0.6rem; font-size: 0.85rem; line-height: 1.45; color: var(--ink-soft); }
.pic text { font: 400 12px var(--sans); fill: var(--ink); }
.pic text.s { fill: var(--ink-soft); } .pic text.b { font-weight: 600; } .pic text.t { font-size: 11px; font-weight: 600; }
.pic text.big { font: 600 30px var(--sans); } .pic text.on-btn { font-weight: 600; fill: #fff; } .pic text.ok { font-weight: 600; fill: #2a6a4b; }
.pic .n { fill: #fff; stroke: var(--ink-soft); stroke-width: 1.25; } .pic .n.k { stroke: var(--line); stroke-width: 1.75; } .pic .n.d { stroke-dasharray: 4 3; }
.pic .a { fill: none; stroke: var(--ink); stroke-width: 1.25; marker-end: url(#ah); } .pic .a.dash { stroke-dasharray: 4 3; }
.pic .h { fill: none; stroke: var(--hair); } .pic .j { fill: none; stroke: var(--ink-soft); stroke-width: 1; }
.pic .x { fill: none; stroke: #9b2c1f; stroke-width: 1.75; stroke-linecap: round; }
.pic .tag { fill: var(--ink); } .pic .tag + text { fill: #fff; } .pic .tag.maybe { fill: #fff; stroke: var(--ink-soft); stroke-dasharray: 3 2.5; } .pic .tag.maybe + text { fill: var(--ink); }
.pic .btn { fill: var(--ink); } .pic .sw-on { fill: var(--ink); } .pic .sw-off { fill: #c9ced8; } .pic .knob { fill: #fff; }
.pic .track { fill: #e6e9ef; } .pic .fill { fill: var(--ink); }
.ac-head .points { margin: 0 0 1.25rem; padding: 0; list-style: none; }
.ac-head .points li { position: relative; padding: 0.55rem 0 0.55rem 1.25rem; border-top: 1px solid var(--hair); font-size: 1.0625rem; line-height: 1.45; color: var(--ink); }
.ac-head .points li:last-child { border-bottom: 1px solid var(--hair); }
.ac-head .points li::before { content: ""; position: absolute; left: 0.1rem; top: 1.15rem; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--line); }
main p { text-wrap: pretty; } main p + p { margin-top: 0.9rem; } main p a { color: var(--ink); text-underline-offset: 3px; }
/* The purchase feed picture rolls upward by itself; it stands still for a visitor who asked for less motion. */
.pic .roll { animation: pic-roll var(--secs, 30s) linear infinite; }
@keyframes pic-roll { to { transform: translateY(var(--far)); } }
@media (prefers-reduced-motion: reduce) { .pic .roll { animation: none; } }
.ac-note a { color: inherit; text-underline-offset: 3px; }

/* ---- Cookie choices: the banner at the foot of the page, the preferences dialog and the footer's
   button. The look is ShapeCard's, copied at the owner's request (2026-11-24) from its
   .home-nav-glass, .consent-glass and .home-nav-glass-btn recipes (light theme) and from the
   sizes of its CookieConsentBanner and CookiePreferencesDialog; the ink and the surface are
   Lucabos's. site/consent.js builds all three. See docs/site.md, "Cookies". */
.consent-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 0 16px 16px; font-family: var(--sans); }
.consent-card {
  position: relative; isolation: isolate; box-sizing: border-box;
  display: flex; flex-direction: column; gap: 16px;
  max-width: 1700px; margin: 0 auto; padding: 16px 20px;
  border: 1px solid transparent; border-radius: 16px; color: var(--ink);
  background:
    linear-gradient(-75deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.12)),
    color-mix(in srgb, var(--page) 82%, transparent);
  box-shadow:
    inset 0 0.125em 0.125em rgba(0, 0, 0, 0.05),
    inset 0 -0.125em 0.125em rgba(255, 255, 255, 0.5),
    0 0.25em 0.125em -0.125em rgba(0, 0, 0, 0.2),
    0 0 0.1em 0.25em inset rgba(255, 255, 255, 0.2),
    0 12px 40px -16px rgba(0, 0, 0, 0.35);
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .consent-card {
    background:
      linear-gradient(-75deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.12)),
      color-mix(in srgb, var(--page) 90%, transparent);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    backdrop-filter: blur(20px) saturate(1.4);
  }
}
.consent-card::after {
  content: ""; position: absolute; z-index: -1; inset: 0; border-radius: inherit; padding: 1px;
  box-sizing: border-box; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(19, 40, 75, 0.28));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude; -webkit-mask-composite: xor;
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.5);
}
.consent-text { min-width: 0; }
.consent-card h2 { margin: 0; font: 600 18px/28px var(--sans); letter-spacing: 0; color: var(--ink); }
.consent-card p { margin: 4px 0 0; max-width: none; font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.consent-card p button { padding: 0; border: 0; border-radius: 2px; background: none; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.consent-card p button:hover { opacity: 0.7; }
.consent-actions { display: flex; flex-shrink: 0; gap: 12px; }
.consent-btn {
  position: relative; isolation: isolate; flex: 1; height: 44px; padding: 0 12px;
  border: 0; border-radius: 9999px; font: 600 16px/24px var(--sans); color: var(--page); cursor: pointer;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  background: linear-gradient(-75deg, rgba(84, 88, 95, 0.95), rgba(84, 88, 95, 0.85), rgba(84, 88, 95, 0.95));
  box-shadow:
    inset 0 0.125em 0.125em rgba(0, 0, 0, 0.05),
    inset 0 -0.125em 0.125em rgba(255, 255, 255, 0.5),
    0 0.25em 0.125em -0.125em rgba(0, 0, 0, 0.2),
    0 0 0.1em 0.25em inset rgba(255, 255, 255, 0.2),
    0 0 0 0 rgba(255, 255, 255, 1);
  -webkit-backdrop-filter: blur(clamp(1px, 0.125em, 4px)); backdrop-filter: blur(clamp(1px, 0.125em, 4px));
  transition: transform 400ms cubic-bezier(0.25, 1, 0.5, 1), box-shadow 400ms cubic-bezier(0.25, 1, 0.5, 1),
    text-shadow 400ms cubic-bezier(0.25, 1, 0.5, 1), backdrop-filter 400ms cubic-bezier(0.25, 1, 0.5, 1);
}
.consent-btn:hover {
  transform: scale(0.975); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(0.01em); backdrop-filter: blur(0.01em);
  box-shadow:
    inset 0 0.125em 0.125em rgba(0, 0, 0, 0.05),
    inset 0 -0.125em 0.125em rgba(255, 255, 255, 0.5),
    0 0.15em 0.05em -0.1em rgba(0, 0, 0, 0.25),
    0 0 0.05em 0.1em inset rgba(255, 255, 255, 0.5),
    0 0 0 0 rgba(255, 255, 255, 1);
}
.consent-btn::after {
  content: ""; position: absolute; z-index: -1; inset: -1px; border-radius: 999vw; padding: 1px;
  box-sizing: border-box; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(19, 40, 75, 0.28));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude; -webkit-mask-composite: xor;
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.5);
}
.consent-btn:focus-visible, .consent-card p button:focus-visible, .consent-dialog button:focus-visible, footer .cookie-prefs:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (min-width: 640px) {
  .consent-bar { padding: 0 24px 24px; }
  .consent-card { padding: 20px 28px; }
  .consent-btn { flex: none; width: 140px; }
}
@media (min-width: 1024px) {
  .consent-card { flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; }
}
@media (prefers-reduced-motion: reduce) { .consent-btn, .consent-btn::after { transition: none; } .consent-btn:hover { transform: none; } }

.consent-scrim { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgb(0 0 0 / 0.45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); font-family: var(--sans); }
.consent-dialog { position: relative; box-sizing: border-box; width: 100%; max-width: 512px; max-height: 90vh; overflow-y: auto; padding: 24px; border: 1px solid var(--hair); border-radius: 16px; background: var(--page); box-shadow: 0 24px 80px -24px rgba(0, 0, 0, 0.5); }
.consent-dialog h2 { margin: 0; font: 600 18px/28px var(--sans); letter-spacing: 0; color: var(--ink); }
.consent-dialog p { margin: 0; max-width: none; }
.consent-dialog .lead { margin-top: 8px; font-size: 14px; line-height: 1.625; color: var(--ink-soft); }
.consent-rows { display: grid; gap: 16px; margin-top: 20px; }
.consent-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 16px; border: 1px solid var(--hair); border-radius: 12px; background: color-mix(in srgb, var(--ink) 3%, var(--page)); }
.consent-row .name { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ink); }
.consent-row .what { margin-top: 4px; font-size: 12px; line-height: 1.625; color: var(--ink-soft); }
.consent-switch { position: relative; display: inline-flex; align-items: center; flex-shrink: 0; width: 44px; height: 24px; padding: 0; border: 0; border-radius: 9999px; background: var(--hair); cursor: pointer; transition: background-color 150ms; }
.consent-switch span { display: inline-block; width: 20px; height: 20px; border-radius: 9999px; background: var(--page); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); transform: translateX(2px); transition: transform 150ms; }
.consent-switch[aria-checked="true"] { background: var(--ink); }
.consent-switch[aria-checked="true"] span { transform: translateX(22px); }
.consent-switch[disabled] { opacity: 0.6; cursor: default; }
.consent-dialog .more { margin-top: 16px; font-size: 12px; line-height: 16px; color: var(--ink-soft); }
.consent-dialog .more a { color: var(--ink); }
.consent-dialog .more a:hover { opacity: 0.7; }
.consent-ends { display: flex; flex-direction: column-reverse; gap: 8px; margin-top: 20px; }
.consent-ends button { padding: 10px 16px; border: 1px solid var(--hair); border-radius: 12px; background: color-mix(in srgb, var(--ink) 3%, var(--page)); font: 500 14px/20px var(--sans); color: var(--ink); cursor: pointer; }
.consent-ends button.save { border-color: var(--ink); background: var(--ink); color: var(--page); }
@media (min-width: 640px) { .consent-dialog { padding: 28px; } .consent-ends { flex-direction: row; justify-content: flex-end; } }

/* The footer's "Cookie preferences" button reads as one of its links. Shown only once consent.js runs. */
footer .cookie-prefs { display: none; margin-left: 1.25rem; padding: 0.9rem 0; border: 0; background: none; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.has-consent footer .cookie-prefs { display: inline-block; }

/* The cookie policy's table. */
.cookie-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; text-align: left; }
.cookie-table th, .cookie-table td { padding: 0.5rem 1rem 0.5rem 0; border-bottom: 1px solid var(--hair); vertical-align: top; }
.cookie-table th { font-weight: 600; } .cookie-table code { font-size: 0.8rem; }
.cookie-scroll { overflow-x: auto; }

/* ---- Glass on the bar's dropdowns and on the site's buttons (owner, 2026-11-25). The recipe is the one
   the cookie banner already uses, ShapeCard's: a clear pill with a sheen, a soft lip of shadow and a
   one-pixel rim that turns on hover, and for a panel the banner's card. The ink is Lucabos's.
   The pills are gray glass with near-white text (owner, 2026-11-25). The gray is deeper than the
   elephant's, rgb(84, 88, 95), because near-white text needs it: on the elephant's own gray the text
   fell under the 4.5 to 1 contrast that small text needs. The dropdown's pages keep a light gray and navy text.
   The rim is an even hairline, light above and darker below; ShapeCard's turning highlight showed as
   broken dark strokes along a wide card and was taken out at the owner's request.
   Buttons: the bar's "Talk to our team", the consulting page's button, and the forms' send buttons.
   The day and time tiles of the call form, its Back link and the sandbox example's "Run again" are
   not pills and keep their own look. See docs/site.md, "Glass". */
header nav a.cta, .ct-btn, form button:not(.bk-day):not(.bk-time):not(.bk-back) {
  position: relative; isolation: isolate;
  border: 0; color: var(--page);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  background: linear-gradient(-75deg, rgba(84, 88, 95, 0.95), rgba(84, 88, 95, 0.85), rgba(84, 88, 95, 0.95));
  box-shadow:
    inset 0 0.125em 0.125em rgba(0, 0, 0, 0.05),
    inset 0 -0.125em 0.125em rgba(255, 255, 255, 0.5),
    0 0.25em 0.125em -0.125em rgba(0, 0, 0, 0.2),
    0 0 0.1em 0.25em inset rgba(255, 255, 255, 0.2),
    0 0 0 0 rgba(255, 255, 255, 1);
  -webkit-backdrop-filter: blur(clamp(1px, 0.125em, 4px)); backdrop-filter: blur(clamp(1px, 0.125em, 4px));
  transition: transform 400ms cubic-bezier(0.25, 1, 0.5, 1), box-shadow 400ms cubic-bezier(0.25, 1, 0.5, 1),
    text-shadow 400ms cubic-bezier(0.25, 1, 0.5, 1), backdrop-filter 400ms cubic-bezier(0.25, 1, 0.5, 1);
}
header nav a.cta:hover, .ct-btn:hover, form button:not(.bk-day):not(.bk-time):not(.bk-back):not([disabled]):hover {
  color: var(--page); transform: scale(0.975); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  background: linear-gradient(-75deg, rgba(84, 88, 95, 0.95), rgba(84, 88, 95, 0.85), rgba(84, 88, 95, 0.95));
  -webkit-backdrop-filter: blur(0.01em); backdrop-filter: blur(0.01em);
  box-shadow:
    inset 0 0.125em 0.125em rgba(0, 0, 0, 0.05),
    inset 0 -0.125em 0.125em rgba(255, 255, 255, 0.5),
    0 0.15em 0.05em -0.1em rgba(0, 0, 0, 0.25),
    0 0 0.05em 0.1em inset rgba(255, 255, 255, 0.5),
    0 0 0 0 rgba(255, 255, 255, 1);
}
header nav a.cta::after, .ct-btn::after, form button:not(.bk-day):not(.bk-time):not(.bk-back)::after {
  content: ""; position: absolute; z-index: -1; inset: -1px; border-radius: 999vw; padding: 1px;
  box-sizing: border-box; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(19, 40, 75, 0.28));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude; -webkit-mask-composite: xor;
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.5);
}
header nav a.cta:focus-visible, .ct-btn:focus-visible, form button:not(.bk-day):not(.bk-time):not(.bk-back):focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* The dropdowns under "Agentic commerce", "Standards" and "Other services", on a screen wide enough for
   the bar: the panel is the banner's glass card, and each page in it is a pill that takes the glass
   when pointed at. Below that width the pages are a plain list (above), and stay one. */
@media not all and (max-width: 89.5rem) {
  .menu-panel {
    isolation: isolate; padding: 0.5rem; border: 1px solid transparent; border-radius: 16px;
    background:
      linear-gradient(-75deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.12)),
      color-mix(in srgb, var(--page) 82%, transparent);
    box-shadow:
      inset 0 0.125em 0.125em rgba(0, 0, 0, 0.05),
      inset 0 -0.125em 0.125em rgba(255, 255, 255, 0.5),
      0 0.25em 0.125em -0.125em rgba(0, 0, 0, 0.2),
      0 0 0.1em 0.25em inset rgba(255, 255, 255, 0.2),
      0 12px 40px -16px rgba(0, 0, 0, 0.35);
  }
  @supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
    .menu-panel {
      background:
        linear-gradient(-75deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.12)),
        color-mix(in srgb, var(--page) 90%, transparent);
      -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4);
    }
  }
  .menu-panel::after {
    content: ""; position: absolute; z-index: -1; inset: 0; border-radius: inherit; padding: 1px;
    box-sizing: border-box; pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(19, 40, 75, 0.28));
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude; -webkit-mask-composite: xor;
    box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.5);
  }
  header nav .menu-panel a { padding: 0.55rem 0.95rem; border-radius: 999px; transition: box-shadow 400ms cubic-bezier(0.25, 1, 0.5, 1), background 400ms cubic-bezier(0.25, 1, 0.5, 1); }
  header nav .menu-panel a:hover, header nav .menu-panel a:focus-visible {
    background: linear-gradient(-75deg, rgba(119, 123, 130, 0.22), rgba(119, 123, 130, 0.38), rgba(119, 123, 130, 0.22));
    box-shadow:
      inset 0 0.125em 0.125em rgba(0, 0, 0, 0.05),
      inset 0 -0.125em 0.125em rgba(255, 255, 255, 0.5),
      0 0.25em 0.125em -0.125em rgba(0, 0, 0, 0.2),
      0 0 0.1em 0.25em inset rgba(255, 255, 255, 0.2);
    outline: none;
  }
  header nav .menu-panel a:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
  header nav .menu-panel a[aria-current="page"] { box-shadow: inset 0 0 0 1px var(--hair); }
}
/* For people who ask for less motion: no shrinking and no turning rim. The selectors repeat the ones
   above in full, :not() parts included, because a shorter one would lose to them. */
@media (prefers-reduced-motion: reduce) {
  header nav a.cta, .ct-btn, form button:not(.bk-day):not(.bk-time):not(.bk-back),
  header nav a.cta::after, .ct-btn::after, form button:not(.bk-day):not(.bk-time):not(.bk-back)::after,
  header nav .menu-panel a { transition: none; }
  header nav a.cta:hover, .ct-btn:hover, form button:not(.bk-day):not(.bk-time):not(.bk-back):not([disabled]):hover { transform: none; }
}
/* Forced colors (Windows high contrast) drop gradients and shadows, which is all the glass is made of:
   the pills and the dropdown get a real border in the system's colors, so they still read as controls. */
@media (forced-colors: active) {
  header nav a.cta, .ct-btn, form button:not(.bk-day):not(.bk-time):not(.bk-back), .consent-btn { border: 1px solid ButtonText; }
  header nav a.cta::after, .ct-btn::after, form button:not(.bk-day):not(.bk-time):not(.bk-back)::after, .consent-btn::after, .menu-panel::after, .consent-card::after { display: none; }
  .consent-card, .consent-dialog { border: 1px solid CanvasText; }
  /* The dropdown only where it is a dropdown. On a narrow screen the pages are a plain list with no
     border, and one that came and went with the pointer would shift the rows under it. */
  @media not all and (max-width: 89.5rem) {
    .menu-panel { border: 1px solid CanvasText; }
    header nav .menu-panel a:hover, header nav .menu-panel a:focus-visible { outline: 1px solid Highlight; outline-offset: -1px; }
  }
}

/* ---- The pills as liquid glass (owner, 2026-11-25): the look of the round blue buttons in the owner's
   Repetitio app, in gray. Those are Apple's Liquid Glass, drawn by iOS with a blue tint at 55%; a web
   page cannot use it, so this is the look rebuilt: a see-through gray tint over a blur of whatever is
   behind, a bright edge where light catches the top, a fainter one along the bottom, a glow inside
   the top and depth inside the bottom, and a soft shadow under it. White text. These rules come last
   and replace the fill, the shadows and the rim that the two sections above give the pills. The tint
   was first as light as white text allows; the owner then asked for it more see-through, which puts
   white text under the usual contrast for its size. A dark edge around the letters makes up some of
   it. See docs/site.md, "Glass", for what was measured. */
.consent-btn, header nav a.cta, .ct-btn, form button:not(.bk-day):not(.bk-time):not(.bk-back) {
  color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45), 0 0 1px rgba(0, 0, 0, 0.4);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.03) 38%, rgba(255, 255, 255, 0) 55%, rgba(0, 0, 0, 0.07) 100%),
    rgba(50, 54, 62, 0.54);
  -webkit-backdrop-filter: blur(12px) saturate(1.8); backdrop-filter: blur(12px) saturate(1.8);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    inset 0 1.5px 0.5px rgba(255, 255, 255, 0.7),
    inset 0 -1.5px 1px rgba(255, 255, 255, 0.2),
    inset 0 9px 10px -9px rgba(255, 255, 255, 0.4),
    inset 0 -7px 10px -7px rgba(0, 0, 0, 0.3),
    0 8px 18px -8px rgba(14, 17, 22, 0.4),
    0 1px 2px rgba(14, 17, 22, 0.2);
}
.consent-btn:hover, header nav a.cta:hover, .ct-btn:hover, form button:not(.bk-day):not(.bk-time):not(.bk-back):not([disabled]):hover {
  color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 0 1px rgba(0, 0, 0, 0.45);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.05) 38%, rgba(255, 255, 255, 0) 55%, rgba(0, 0, 0, 0.07) 100%),
    rgba(50, 54, 62, 0.62);
  -webkit-backdrop-filter: blur(12px) saturate(1.8); backdrop-filter: blur(12px) saturate(1.8);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.3),
    inset 0 1.5px 0.5px rgba(255, 255, 255, 0.85),
    inset 0 -1.5px 1px rgba(255, 255, 255, 0.26),
    inset 0 9px 10px -9px rgba(255, 255, 255, 0.5),
    inset 0 -7px 10px -7px rgba(0, 0, 0, 0.3),
    0 4px 10px -5px rgba(14, 17, 22, 0.45),
    0 1px 2px rgba(14, 17, 22, 0.22);
}
.consent-btn::after, header nav a.cta::after, .ct-btn::after, form button:not(.bk-day):not(.bk-time):not(.bk-back)::after { content: none; }
/* One height for every pill, 44 pixels, the cookie banner's: the bar's button was 34 and the forms' 51. */
header nav a.cta, .ct-btn, form button:not(.bk-day):not(.bk-time):not(.bk-back) {
  display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
  height: 2.75rem; min-height: 2.75rem; padding-top: 0; padding-bottom: 0; line-height: 1.2;
}

/* ---- More glass in the gray pills (owner, 2026-11-25: "make the gray more glassy"). On a pale, even page
   there is nothing behind a pill for the blur to bend, so the glass has to come from light on its own
   surface, as on the app's buttons: a crisp reflection across the top third, ending just above the letters, a crisp bright rim, a faint
   light pooled along the bottom edge where light passes through, and the tint left see-through. These
   rules replace the fill and the shadows of the section above. */
.consent-btn, header nav a.cta, .ct-btn, form button:not(.bk-day):not(.bk-time):not(.bk-back) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.46) 0%, rgba(255, 255, 255, 0.2) 26%, rgba(255, 255, 255, 0.08) 33%, rgba(255, 255, 255, 0) 35%),
    radial-gradient(70% 40% at 50% 112%, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, rgba(40, 44, 52, 0.5) 0%, rgba(40, 44, 52, 0.6) 100%);
  -webkit-backdrop-filter: blur(14px) saturate(1.9) brightness(1.04); backdrop-filter: blur(14px) saturate(1.9) brightness(1.04);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -10px 14px -10px rgba(10, 12, 18, 0.35),
    0 10px 22px -10px rgba(14, 17, 22, 0.45),
    0 1px 2px rgba(14, 17, 22, 0.18);
}
.consent-btn:hover, header nav a.cta:hover, .ct-btn:hover, form button:not(.bk-day):not(.bk-time):not(.bk-back):not([disabled]):hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.56) 0%, rgba(255, 255, 255, 0.24) 26%, rgba(255, 255, 255, 0.1) 33%, rgba(255, 255, 255, 0) 35%),
    radial-gradient(70% 40% at 50% 112%, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, rgba(40, 44, 52, 0.56) 0%, rgba(40, 44, 52, 0.66) 100%);
  -webkit-backdrop-filter: blur(14px) saturate(1.9) brightness(1.04); backdrop-filter: blur(14px) saturate(1.9) brightness(1.04);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -10px 14px -10px rgba(10, 12, 18, 0.35),
    0 6px 14px -7px rgba(14, 17, 22, 0.5),
    0 1px 2px rgba(14, 17, 22, 0.2);
}
