/* Tailwind CSS v4.3.3 preflight (MIT), with its --theme() calls replaced by their fallbacks. The landing page was
   built on it, so the site keeps it as the base layer under site.css. */
@layer base {
/*
  1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
  2. Remove default margins and padding
  3. Reset all borders.
*/

*,
::after,
::before,
::backdrop,
::file-selector-button {
  box-sizing: border-box; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 2 */
  border: 0 solid; /* 3 */
}

/*
  1. Use a consistent sensible line-height in all browsers.
  2. Prevent adjustments of font size after orientation changes in iOS.
  3. Use a more readable tab size.
  4. Use the user's configured `sans` font-family by default.
  5. Use the user's configured `sans` font-feature-settings by default.
  6. Use the user's configured `sans` font-variation-settings by default.
  7. Disable tap highlights on iOS.
*/

html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  tab-size: 4; /* 3 */
  font-family: -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    'Helvetica Neue',
    'Noto Sans',
    Arial,
    sans-serif,
    'Apple Color Emoji',
    'Segoe UI Emoji',
    'Segoe UI Symbol',
    'Noto Color Emoji'; /* 4 */
  font-feature-settings: normal; /* 5 */
  font-variation-settings: normal; /* 6 */
  -webkit-tap-highlight-color: transparent; /* 7 */
}

/*
  1. Add the correct height in Firefox.
  2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
  3. Reset the default border style to a 1px solid border.
*/

hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}

/*
  Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}

/*
  Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
  Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  -webkit-text-decoration: inherit;
  text-decoration: inherit;
}

/*
  Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
  1. Use the user's configured `mono` font-family by default.
  2. Use the user's configured `mono` font-feature-settings by default.
  3. Use the user's configured `mono` font-variation-settings by default.
  4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    'Liberation Mono',
    'Courier New',
    monospace; /* 1 */
  font-feature-settings: normal; /* 2 */
  font-variation-settings: normal; /* 3 */
  font-size: 1em; /* 4 */
}

/*
  Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
  Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
  1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
  2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
  3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}

/*
  Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring:where(:not(iframe)) {
  outline: auto;
}

/*
  Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
  Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
  Make lists unstyled by default.
*/

ol,
ul,
menu {
  list-style: none;
}

/*
  1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
  2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
      This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}

/*
  Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/*
  1. Inherit font styles in all browsers.
  2. Remove border radius in all browsers.
  3. Remove background color in all browsers.
  4. Ensure consistent opacity for disabled states in all browsers.
*/

button,
input,
select,
optgroup,
textarea,
::file-selector-button {
  font: inherit; /* 1 */
  font-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  letter-spacing: inherit; /* 1 */
  color: inherit; /* 1 */
  border-radius: 0; /* 2 */
  background-color: transparent; /* 3 */
  opacity: 1; /* 4 */
}

/*
  Restore default font weight.
*/

:where(select:is([multiple], [size])) optgroup {
  font-weight: bolder;
}

/*
  Restore indentation.
*/

:where(select:is([multiple], [size])) optgroup option {
  padding-inline-start: 20px;
}

/*
  Restore space after button.
*/

::file-selector-button {
  margin-inline-end: 4px;
}

/*
  Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
*/

::placeholder {
  opacity: 1;
}

/*
  Set the default placeholder color to a semi-transparent version of the current text color in browsers that do not
  crash when using `color-mix(…)` with `currentcolor`. (https://github.com/tailwindlabs/tailwindcss/issues/17194)
*/

@supports (not (-webkit-appearance: -apple-pay-button)) /* Not Safari */ or
  (contain-intrinsic-size: 1px) /* Safari 17+ */ {
  ::placeholder {
    color: color-mix(in oklab, currentcolor 50%, transparent);
  }
}

/*
  Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
  Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
  1. Ensure date/time inputs have the same height when empty in iOS Safari.
  2. Ensure text alignment can be changed on date/time inputs in iOS Safari.
*/

::-webkit-date-and-time-value {
  min-height: 1lh; /* 1 */
  text-align: inherit; /* 2 */
}

/*
  Prevent height from changing on date/time inputs in macOS Safari when the input is set to `display: block`.
*/

::-webkit-datetime-edit {
  display: inline-flex;
}

/*
  Remove excess padding from pseudo-elements in date/time inputs to ensure consistent height across browsers.
*/

::-webkit-datetime-edit-fields-wrapper {
  padding: 0;
}

::-webkit-datetime-edit,
::-webkit-datetime-edit-year-field,
::-webkit-datetime-edit-month-field,
::-webkit-datetime-edit-day-field,
::-webkit-datetime-edit-hour-field,
::-webkit-datetime-edit-minute-field,
::-webkit-datetime-edit-second-field,
::-webkit-datetime-edit-millisecond-field,
::-webkit-datetime-edit-meridiem-field {
  padding-block: 0;
}

/*
  Center dropdown marker shown on inputs with paired `<datalist>`s in Chrome. (https://github.com/tailwindlabs/tailwindcss/issues/18499)
*/

::-webkit-calendar-picker-indicator {
  line-height: 1;
}

/*
  Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
  Correct the inability to style the border radius in iOS Safari.
*/

button,
input:where([type='button'], [type='reset'], [type='submit']),
::file-selector-button {
  appearance: button;
}

/*
  Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
  Make elements with the HTML hidden attribute stay hidden by default.
*/

[hidden]:where(:not([hidden='until-found'])) {
  display: none !important;
}

}
/* Served from /fonts instead of Google Fonts: no extra origin, no render-blocking stylesheet. Latin subsets only,
   taken from Google Fonts (both families are OFL). Inter Tight is one variable file for 500 and 600. */
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url(/fonts/inter-tight-latin.woff2) format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/plex-mono-400-latin.woff2) format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/plex-mono-600-latin.woff2) format("woff2");
}
/* The site stylesheet, ported from sopops-landing (TanStack Start) as it was; the blog adds blog.css on top. */
/* Raster: after Josef Müller-Brockmann, "Grid Systems in Graphic Design".
   One modular grid. 12 columns (4 on phones), a 24px gutter (16px on phones), 48px margins (16px on phones),
   an 8px baseline (--bl). Every line height, padding and gap is a multiple of --bl. Fields of flat colour, square corners.
   Press g to show the raster.

   Two faces: Inter Tight (grotesk, heads) and IBM Plex Mono (all body copy).
   Six type styles, the only ones on the page:
     1 display  Inter Tight 600  72/72  (phones 44/48)  tracking -0.045em
     2 head     Inter Tight 600  32/40  (phones 26/32)  tracking -0.03em
     3 lead     Inter Tight 500  20/24                  tracking -0.015em
     4 body     Plex Mono   400  16/24                  tracking -0.02em
     5 small    Plex Mono   400  13/16                  tracking -0.01em
     6 label    Plex Mono   600  13/16                  tracking  0.04em, capitals
   Line length: body is held to 46ch, under ten words a line; heads are held in em to the same count. */
:root {
  --paper: oklch(0.975 0.003 175);
  --surface: oklch(1 0 0);
  --tone: oklch(0.94 0.01 178);
  --ink: oklch(0.2 0.02 180);
  --muted: oklch(0.46 0.02 180);
  --line: oklch(0.86 0.01 175);
  --brand: oklch(0.48 0.09 184);
  --brand-ink: oklch(1 0 0);
  --brand-soft: oklch(0.93 0.035 178);
  --brand-light: oklch(0.8 0.1 178);
  --miss: oklch(0.53 0.17 42);
  --miss-soft: oklch(0.95 0.035 55);
  --night: oklch(0.22 0.02 182);
  --night-2: oklch(0.28 0.02 182);
  --rule-dark: oklch(1 0 0 / 0.14);

  --grotesk: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* the raster */
  --bl: 8px;
  --cols: 12;
  --gut: calc(3 * var(--bl));
  --mar: calc(6 * var(--bl));
  --nav: calc(8 * var(--bl));
  --measure: 46ch;

  /* the six type styles */
  --t-display: 600 72px / calc(9 * var(--bl)) var(--grotesk);
  --t-head: 600 32px / calc(5 * var(--bl)) var(--grotesk);
  --t-lead: 500 20px / calc(3 * var(--bl)) var(--grotesk);
  --t-body: 400 16px / calc(3 * var(--bl)) var(--mono);
  --t-small: 400 13px / calc(2 * var(--bl)) var(--mono);
  --t-label: 600 13px / calc(2 * var(--bl)) var(--mono);
  --tr-display: -0.045em;
  --tr-head: -0.03em;
  --tr-lead: -0.015em;
  --tr-body: -0.02em;
  --tr-small: -0.01em;
  --tr-label: 0.04em;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* type, applied only through these */
.t-display, .hero-h1, .price, .start-copy h2 { font: var(--t-display); letter-spacing: var(--tr-display); }
.t-head, h2, .statement, .verdict-ui button { font: var(--t-head); letter-spacing: var(--tr-head); }
.t-lead, h3, .say, .mark, .try-title, .dialog-title, .ptable tbody th { font: var(--t-lead); letter-spacing: var(--tr-lead); }
.t-small, .ui, .ui-log, .reel-cap, .name-note, .chart-note, .note, .term, .dots-cap, .soon, .ptable thead th, .tag, .copy, .seg button, .dialog-note, .call pre, .dialog-code pre, .foot, .plan-inc em, .ui-meta, .vu-title { font: var(--t-small); letter-spacing: var(--tr-small); }
.t-label, .btn, .link, .ui-head b, .ui-btn, .reel-cap b, .ptable td b, .plat, .bar-r, .ui-turn span, .live-call .who, .say::before, .dialog-btn, .price-per, .navlinks, .ui-verdicts kbd { font: var(--t-label); letter-spacing: var(--tr-label); text-transform: uppercase; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { background: var(--paper); color: var(--ink); font: var(--t-body); letter-spacing: var(--tr-body); margin: 0; -webkit-font-smoothing: antialiased; font-kerning: normal; font-optical-sizing: auto; font-feature-settings: "kern", "calt"; text-rendering: optimizeLegibility; overflow-x: clip; }
h1, h2, h3 { margin: 0; text-wrap: balance; font-feature-settings: "kern", "calt", "ss02"; }
p { margin: 0; text-wrap: pretty; }
p, li, h3 { max-width: var(--measure); }
a { color: inherit; }
b, strong { font-weight: inherit; }
code, pre, kbd { font-family: var(--mono); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* the grid every section sits on */
.grid { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--gut); padding-inline: var(--mar); }
.grid > * { min-width: 0; }
.sub { display: grid; grid-template-columns: subgrid; }

/* raster overlay: columns and baseline */
.raster { position: fixed; inset: 0; z-index: 100; pointer-events: none; background: repeating-linear-gradient(to bottom, oklch(0.6 0.2 25 / 0.18) 0 1px, transparent 1px var(--bl)); }
.raster i { background: oklch(0.6 0.2 25 / 0.08); box-shadow: inset 1px 0 oklch(0.6 0.2 25 / 0.35), inset -1px 0 oklch(0.6 0.2 25 / 0.35); }

/* buttons: one shape, flat, square */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; height: calc(6 * var(--bl)); padding: 0 calc(3 * var(--bl)); background: var(--ink); color: var(--paper); text-decoration: none; transition: background .2s; }
.btn:hover { background: var(--brand); }
.btn-small { height: calc(5 * var(--bl)); padding: 0 calc(2 * var(--bl)); }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--brand-soft); }
.link { text-underline-offset: 4px; }
.link:hover { color: var(--brand); }

/* nav: one row of the raster, a rule beneath */
.navbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--paper); box-shadow: inset 0 -1px var(--ink); }
.nav { height: var(--nav); align-items: center; }
.mark { grid-column: 1 / 4; display: flex; align-items: center; gap: var(--bl); text-decoration: none; }
.navlinks { grid-column: 5 / -1; display: flex; align-items: center; justify-content: flex-end; gap: calc(4 * var(--bl)); }
.navlinks a:not(.btn) { text-decoration: none; color: var(--ink); }
.navlinks a:not(.btn):hover { color: var(--brand); }

/* fragments of the product (data-ui): hairline boxes on the baseline */
.ui { background: var(--surface); border: 1px solid var(--ink); overflow: hidden; text-align: left; }
.ui-head { display: flex; justify-content: space-between; gap: calc(2 * var(--bl)); padding: var(--bl) calc(2 * var(--bl)); border-bottom: 1px solid var(--line); color: var(--muted); }
.ui-head b { color: var(--ink); }
.live { display: inline-flex; align-items: center; gap: var(--bl); }
.live i { width: var(--bl); height: var(--bl); border-radius: 50%; background: var(--brand); animation: ping 1.8s ease-out infinite; }
@keyframes ping { 50% { box-shadow: 0 0 0 5px oklch(0.48 0.09 184 / 0); } 0% { box-shadow: 0 0 0 0 oklch(0.48 0.09 184 / .45); } }
.ui-turns { display: grid; gap: var(--bl); padding: calc(2 * var(--bl)); }
.ui-turn { display: grid; grid-template-columns: calc(8 * var(--bl)) 1fr; gap: var(--bl); align-items: baseline; }
.ui-turn span { color: var(--muted); }
.ui-turn.flag p { background: var(--miss-soft); box-shadow: inset 2px 0 0 var(--miss); margin-left: calc(-1 * var(--bl)); padding: 0 var(--bl); }
.ui-foot { padding: var(--bl) calc(2 * var(--bl)); border-top: 1px solid var(--line); color: var(--miss); }
.ui-rows { display: grid; }
.ui-row { display: flex; justify-content: space-between; align-items: baseline; gap: calc(2 * var(--bl)); padding: var(--bl) calc(2 * var(--bl)); border-bottom: 1px solid var(--line); }
.ui-row:last-child { border-bottom: 0; }
.tag { padding: 0 var(--bl); white-space: nowrap; }
.tag-ok { background: var(--brand-soft); color: var(--brand); }
.tag-miss { background: var(--miss); color: var(--surface); }
.tag-na { color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.ui-body { display: grid; gap: var(--bl); padding: calc(2 * var(--bl)); }
.ui-title { color: var(--ink); }
.ui-quote { padding: 0 var(--bl); border-left: 2px solid var(--miss); color: var(--muted); }
.ui-verdicts { display: flex; flex-wrap: wrap; gap: var(--bl); }
.ui-verdicts span { padding: 0 var(--bl); border: 1px solid var(--line); }
.ui-verdicts span.on { border-color: var(--miss); background: var(--miss); color: var(--surface); }
.ui-verdicts kbd, .verdict-ui kbd { opacity: .6; margin-right: var(--bl); }
.verdict-ui kbd { font: inherit; letter-spacing: inherit; min-width: 1.25em; opacity: .45; }
.ui-diff { margin: 0; padding: var(--bl) 0; overflow-x: auto; font: inherit; }
.ui-diff code { display: grid; width: max-content; min-width: 100%; font: inherit; }
.ui-diff span { padding: calc(var(--bl) / 2) calc(2 * var(--bl)); white-space: pre; }
.ui-diff .add { background: var(--brand-soft); color: var(--brand); }
.ui-publish { display: flex; justify-content: space-between; align-items: center; gap: calc(2 * var(--bl)); flex-wrap: wrap; padding: var(--bl) calc(2 * var(--bl)); border-top: 1px solid var(--line); color: var(--muted); }
.ui-btn { background: var(--brand); color: var(--brand-ink); padding: calc(var(--bl) / 2) var(--bl); }
.ui-log { padding: var(--bl) calc(2 * var(--bl)); color: var(--muted); border-bottom: 1px solid var(--line); }
.ui-log:last-child { border-bottom: 0; }
.ui-log span { color: var(--brand); margin-right: var(--bl); }
.ui-log b { color: var(--ink); }

/* The copy and card pile hold in place while page scrolling swipes through the four cards. */
.hero { padding-block: calc(12 * var(--bl)) calc(16 * var(--bl)); row-gap: calc(6 * var(--bl)); align-items: start; }
.hero-copy { grid-column: 1 / 6; position: sticky; top: calc(var(--nav) + 4 * var(--bl)); display: grid; gap: calc(5 * var(--bl)); }
.hero-h1 { max-width: 10.4em; text-wrap: pretty; }
.h-b { color: var(--brand); }
.hero-side { display: grid; gap: calc(6 * var(--bl)); }
.hero-foot { display: grid; gap: calc(3 * var(--bl)); }
.name-definition { position: relative; display: inline-block; }
.name-trigger { padding: 0; border: 0; background: none; color: var(--brand); font: inherit; letter-spacing: inherit; text-decoration: underline dotted; text-underline-offset: 4px; cursor: help; }
.name-trigger:hover, .name-trigger[aria-expanded="true"] { text-decoration-style: solid; }
.name-trigger:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }
.name-info { display: inline-block; margin-left: 4px; font-size: .75em; text-decoration: none; }
.name-note { position: absolute; top: 100%; left: 0; z-index: 10; width: min(320px, calc(100vw - 64px)); padding: calc(2 * var(--bl)); border: 1px solid var(--line); background: var(--surface); color: var(--muted); font: var(--t-body); box-shadow: 0 8px 24px oklch(0.2 0.02 180 / .12); }
.name-note b { color: var(--ink); }
.try { display: grid; gap: calc(2 * var(--bl)); grid-template-columns: minmax(0, 1fr); border-top: 2px solid var(--ink); padding-top: calc(2 * var(--bl)); }
.try-title { display: grid; gap: 0; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: calc(1 * var(--bl)) calc(2 * var(--bl)); }
.review-invite { max-width: 42ch; color: var(--muted); font: var(--t-small); }
.hero-cta { gap: calc(2 * var(--bl)) calc(3 * var(--bl)); }
.hero-cta .btn { background: var(--brand); }
.hero-cta .btn:hover { background: var(--ink); }
.start-demo { justify-self: start; color: var(--paper); box-shadow: inset 0 0 0 2px var(--paper); }
.start-demo:hover { background: var(--paper); color: var(--ink); }
.try-title span { font: var(--t-small); letter-spacing: var(--tr-small); color: var(--muted); }
.try .seg button { display: inline-flex; align-items: center; justify-content: center; gap: var(--bl); }
.agent-logo { width: calc(2 * var(--bl)); height: calc(2 * var(--bl)); flex: none; }
.try-code pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.reel-track { grid-column: 7 / -1; height: calc(140svh + 400px); }
.reel-stage { position: sticky; top: calc(var(--nav) + 8 * var(--bl)); padding: 0 calc(3 * var(--bl)) 0 var(--bl); }
.reel { list-style: none; margin: 0; padding: 0; display: grid; isolation: isolate; clip-path: inset(-80px -40px -64px -16px); }
.reel-item { grid-area: 1 / 1; display: grid; grid-template-rows: auto 1fr; gap: calc(3 * var(--bl)); max-width: none; padding: calc(3 * var(--bl)); background: var(--surface); border: 1px solid var(--ink); box-shadow: 0 12px 32px oklch(0.2 0.02 180 / .08); transform-origin: 50% 85%; will-change: transform, opacity; }
.reel-item:nth-child(1) { z-index: 4; }
.reel-item:nth-child(2) { z-index: 3; transform: translateY(14px) rotate(1.5deg) scale(.965); }
.reel-item:nth-child(3) { z-index: 2; transform: translateY(28px) rotate(3deg) scale(.93); }
.reel-item:nth-child(4) { z-index: 1; transform: translateY(42px) rotate(4.5deg) scale(.895); }
.reel-item .ui { align-self: start; min-width: 0; }
.reel-item .ui-diff code { width: auto; }
.reel-item .ui-diff span { white-space: pre-wrap; overflow-wrap: anywhere; }
.reel-cap { order: -1; font: var(--t-label); letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--brand); max-width: none; }
.reel-cap b { color: var(--brand); }
.reel-controls { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--bl); margin-top: calc(9 * var(--bl)); color: var(--muted); font: var(--t-small); }
.reel-steps { display: flex; gap: var(--bl); }
.reel-steps button { padding-inline: var(--bl); min-width: 44px; min-height: 44px; border: 1px solid var(--line); background: var(--paper); color: var(--muted); cursor: pointer; }
.reel-steps button[aria-current], .reel-steps button:hover { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.reel-steps button:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
@media (max-height: 800px) and (min-width: 1001px) {
  .hero-copy { gap: calc(3 * var(--bl)); }
  .hero-side { gap: calc(3 * var(--bl)); }
}

/* The instruction stays visible above the transcript it applies to. */
.call-rule { padding: calc(2 * var(--bl)); background: var(--brand-soft); }
.call-rule span { color: var(--brand); font: var(--t-small); }
.call-rule blockquote { margin: var(--bl) 0 0; font: var(--t-head); letter-spacing: var(--tr-head); }
.review-booking { grid-column: 8 / -1; display: grid; align-self: center; gap: calc(2 * var(--bl)); justify-items: start; }
.pr-oss .try { width: 100%; margin-block: var(--bl); }
@media (max-width: 1000px) {
  .review-booking { grid-column: 1 / -1; }
}

/* problems: a heading over six columns, then four pictures, three columns each */
.problems { padding-block: calc(16 * var(--bl)); row-gap: calc(6 * var(--bl)); }
.problems-h { grid-column: 1 / 7; max-width: 14em; }
.probs { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; row-gap: calc(6 * var(--bl)); }
.prob { grid-column: span 3; display: grid; grid-template-rows: auto auto 1fr; gap: calc(2 * var(--bl)); align-content: start; }
.prob h3 { margin-top: var(--bl); }
.prob p { color: var(--muted); }
.pv { height: calc(22 * var(--bl)); background: var(--tone); padding: calc(2 * var(--bl)); display: grid; align-content: center; }
.review { display: grid; gap: var(--bl); }
.review span { font: var(--t-small); letter-spacing: var(--tr-small); color: var(--muted); }
.stars { display: flex; gap: 4px; }
.stars svg { width: calc(2 * var(--bl)); height: calc(2 * var(--bl)); fill: var(--line); }
.stars svg.on { fill: var(--miss); }
.mini-bars { display: grid; grid-template-columns: 1fr 1fr; gap: calc(3 * var(--bl)); height: calc(17 * var(--bl)); align-items: end; }
.mini-bars div { display: grid; grid-template-rows: 1fr auto auto; height: 100%; justify-items: start; font: var(--t-small); letter-spacing: var(--tr-small); }
.mini-bars i { align-self: end; width: 100%; background: var(--miss); transform-origin: bottom; }
.mini-bars .now i { background: var(--brand); }
.mini-bars span { color: var(--muted); padding-top: var(--bl); }
.mini-bars b { font-variant-numeric: tabular-nums; }
.mini-bars .now b { color: var(--brand); }
/* 5 rows of square cells plus the caption have to fit the box: (22-2-2)*8px of room, caption 32, gaps 16,
   so a cell is at most ~19px and the grid at most ~272px. Wider than that and it spilled onto the heading. */
.dots { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; width: 100%; max-width: 272px; justify-self: center; }
.dots i { aspect-ratio: 1; background: var(--brand); opacity: .3; }
.dots i.a { background: var(--miss); opacity: 1; }
.dots i.b { background: oklch(0.7 0.14 70); opacity: 1; }
.dots-cap { color: var(--muted); margin-top: calc(2 * var(--bl)); }
.pv.team-chat { height: auto; min-height: calc(22 * var(--bl)); align-content: start; gap: 6px; padding: 10px 12px; background: var(--surface); border: 1px solid var(--line); font: 13px/1.2 var(--grotesk); }
.channel-name { padding-bottom: 5px; border-bottom: 1px solid var(--line); font-weight: 650; }
.chat-message { display: grid; grid-template-columns: 20px 1fr; gap: 7px; }
.chat-avatar { display: grid; place-items: center; height: 20px; border-radius: 4px; background: #e2d5ea; color: #512c64; font-weight: 650; }
.chat-avatar.sam { background: #d5e8df; color: #214e3b; }
.chat-message strong { font-weight: 650; }
.chat-message p { color: var(--ink); }
.chat-reaction { display: inline-block; margin-top: 2px; padding: 1px 6px; border: 1px solid #bdcbe1; border-radius: 12px; background: #eef3fa; font-size: 12px; }

/* how it works: the heading hangs in the first three columns; the exchange runs through columns 5 to 12 */
.how { padding-block: calc(16 * var(--bl)); counter-reset: step; align-items: start; }
.how-h { grid-column: 1 / 4; position: sticky; top: calc(var(--nav) + 3 * var(--bl)); }
.how-body { grid-column: 5 / -1; display: grid; grid-template-columns: subgrid; row-gap: calc(12 * var(--bl)); }
.xchg { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; row-gap: calc(3 * var(--bl)); }
.xchg > * { min-width: 0; grid-column: 1 / 8; }
.say { display: grid; grid-template-columns: calc(5 * var(--bl)) 1fr; align-items: baseline; }
.say::before { counter-increment: step; content: "0" counter(step); color: var(--brand); }
.call { position: relative; background: var(--tone); }
.call pre { margin: 0; padding: calc(2 * var(--bl)); padding-right: calc(10 * var(--bl)); overflow-x: auto; }
.call pre code { font: inherit; }
.copy { position: absolute; top: var(--bl); right: var(--bl); padding: var(--bl) var(--bl); border: 0; background: var(--surface); color: var(--ink); cursor: pointer; }
.copy:hover { background: var(--brand-soft); }
.xchg > .resp { grid-column: 2 / -1; }
.xchg > .resp.flush { grid-column: 1 / 8; }
.ui-meta { color: var(--muted); white-space: nowrap; }
.term { background: var(--night); color: oklch(0.85 0.02 180); padding: calc(2 * var(--bl)); display: grid; gap: 0; }
.term-in { color: var(--paper); }
.term-in span { color: var(--brand-light); margin-right: var(--bl); }
.xchg > .note { grid-column: 2 / 6; color: var(--muted); }
.xchg > .note.snip { grid-column: 1 / 8; display: grid; gap: calc(1.5 * var(--bl)); }
.xchg > .note .cap { display: flex; flex-wrap: wrap; align-items: center; gap: var(--bl); }
.xchg > .note .logo { width: calc(2 * var(--bl)); height: calc(2 * var(--bl)); flex: none; }
.say-logo { display: inline-block; width: .9em; height: .9em; vertical-align: -.1em; margin: 0 .25em 0 .1em; }
.xchg > .resp.wide { grid-column: 1 / -1; }
.chart .bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: calc(3 * var(--bl)); align-items: end; height: calc(28 * var(--bl)); padding: calc(3 * var(--bl)) calc(3 * var(--bl)) 0; }
.bar { display: grid; grid-template-rows: auto 1fr auto; justify-items: start; height: 100%; }
.bar i { align-self: end; width: 100%; background: var(--line); transform-origin: bottom; }
.bar.now i { background: var(--brand); }
.bar-v { align-self: end; font-variant-numeric: tabular-nums; color: var(--muted); }
.bar.now .bar-v { color: var(--brand); }
.bar-r { color: var(--muted); padding-top: var(--bl); }
.chart-note { padding: calc(2 * var(--bl)) calc(3 * var(--bl)); color: var(--muted); }

/* verdicts: one control, blown up, on a flat field that changes with it */
.verdict-field { padding-block: calc(16 * var(--bl)); align-items: start; background: var(--brand); color: var(--brand-ink); transition: background-color .4s; }
.verdict-field.dark { background: var(--night); }
.verdict-copy { grid-column: 1 / 6; display: grid; gap: calc(3 * var(--bl)); }
.verdict-copy h2, .verdict-copy > p:first-of-type { animation: swap .45s var(--ease); }
.verdict-ctx { opacity: .8; }
.verdict-ui { grid-column: 7 / -1; display: grid; gap: var(--bl); }
.vu-title { opacity: .85; margin-bottom: var(--bl); }
.verdict-ui button { display: flex; align-items: baseline; padding: var(--bl) calc(2 * var(--bl)); border: 0; box-shadow: inset 0 0 0 2px oklch(1 0 0 / .35); background: transparent; color: inherit; text-align: left; cursor: pointer; transition: background .2s, box-shadow .2s; }
.verdict-ui button:hover { box-shadow: inset 0 0 0 2px oklch(1 0 0 / .85); }
.verdict-ui button.on { background: var(--paper); color: var(--ink); box-shadow: none; }
.verdict-ui button:focus-visible { outline-color: var(--paper); }

/* runtime: the nudge, on a dark field */
.runtime { padding-block: calc(16 * var(--bl)); align-items: start; background: var(--night); color: var(--paper); }
.runtime-copy { grid-column: 1 / 6; display: grid; gap: calc(3 * var(--bl)); }
.runtime-copy > p:nth-of-type(1) { opacity: .85; }
.soon { color: var(--brand-light); }
.live-call { grid-column: 7 / -1; background: var(--night-2); border-color: var(--rule-dark); color: var(--paper); }
.live-call .ui-head { border-color: var(--rule-dark); color: oklch(0.75 0.02 180); }
.live-call .ui-head b { color: var(--paper); }
.live-call ol { list-style: none; margin: 0; padding: calc(2 * var(--bl)); display: grid; gap: calc(2 * var(--bl)); }
.live-call li { display: grid; grid-template-columns: calc(5 * var(--bl)) calc(9 * var(--bl)) 1fr; gap: var(--bl); align-items: baseline; max-width: none; }
.live-call .t { color: oklch(0.7 0.02 180); font-variant-numeric: tabular-nums; }
.live-call .who { color: oklch(0.75 0.02 180); }
.live-call li.nudge p { padding: var(--bl) calc(2 * var(--bl)); background: oklch(0.72 0.12 178 / 0.16); box-shadow: inset 2px 0 var(--brand-light); color: oklch(0.88 0.08 178); }
.live-call li.nudge .who { color: var(--brand-light); }

/* platforms: a statement over eight columns, then the table across all twelve */
.platforms { padding-block: calc(16 * var(--bl)); row-gap: calc(9 * var(--bl)); }
.platform-intro { grid-column: 1 / 9; display: grid; gap: calc(2 * var(--bl)); }
.platform-name { white-space: nowrap; }
.platform-intro h2 { max-width: 20em; }
.slot { display: inline-grid; place-items: center; height: 0.74em; width: 1.24em; vertical-align: baseline; margin-inline: 0.06em; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.slot .logo { display: block; width: .54em; height: .54em; }
.platforms > .ptable { grid-column: 1 / -1; }
.ptable { width: 100%; border-collapse: collapse; table-layout: fixed; }
.ptable th, .ptable td { text-align: left; vertical-align: top; padding: calc(2 * var(--bl)) var(--gut) calc(2 * var(--bl)) 0; border-bottom: 1px solid var(--line); }
.ptable thead th { color: var(--muted); padding-block: 0 var(--bl); border-bottom: 2px solid var(--ink); }
.ptable td b { display: block; color: var(--brand); }
.ptable td b.code { color: var(--miss); }
.ptable td span { color: var(--muted); }
.plat { display: inline-flex; align-items: center; gap: var(--bl); font: var(--t-lead); letter-spacing: var(--tr-lead); text-transform: none; }
.plat .logo { width: calc(3 * var(--bl)); height: calc(3 * var(--bl)); }
.platforms > .pfoot { grid-column: 7 / -1; display: grid; gap: calc(2 * var(--bl)); justify-items: start; }
.pfoot code { font: inherit; background: var(--tone); padding: 0 4px; }

/* pricing: four plans side by side, Pro on the dark field; everything every plan gets, and open source, below */
.pricing { background: var(--tone); padding: calc(14 * var(--bl)) var(--mar); display: grid; gap: calc(5 * var(--bl)); }
.pr-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: var(--gut); row-gap: var(--bl); }
.pr-head .t-head { grid-column: 1; }
.pr-sub { grid-column: 1; color: var(--muted); }
.pr-toggle { grid-column: 2; grid-row: 1 / span 2; align-self: end; }
.pr-toggle button { padding-inline: calc(2 * var(--bl)); }
.pr-plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gut); }
.pr-plan { min-width: 0; background: var(--paper); padding: calc(3 * var(--bl)); display: grid; grid-template-rows: auto auto auto auto 1fr; gap: calc(1.5 * var(--bl)); align-content: start; }
.pr-plan.pr-pick { background: var(--night); color: var(--paper); }
.pr-name { display: flex; align-items: center; justify-content: space-between; gap: var(--bl); }
.pr-name h3 { font: var(--t-lead); letter-spacing: var(--tr-lead); font-weight: 600; }
.pr-tag { font: var(--t-small); letter-spacing: var(--tr-small); padding: 0 var(--bl); background: oklch(0.72 0.12 178 / 0.18); color: var(--brand); white-space: nowrap; }
.pr-pick .pr-tag { color: var(--brand-light); }
.pr-for { color: var(--muted); }
.pr-pick .pr-for { color: oklch(0.85 0.02 180); }
.pr-price { padding-block: var(--bl); }
.pr-price p { margin: 0; max-width: none; display: grid; gap: calc(0.5 * var(--bl)); }
.pr-price p[hidden], .pr-btn[hidden] { display: none; }
.pr-price p { grid-auto-flow: column; justify-content: start; align-items: baseline; gap: var(--bl); }
.pr-price b { font: var(--t-head); letter-spacing: var(--tr-head); white-space: nowrap; }
.pr-price span { font: var(--t-small); letter-spacing: var(--tr-small); opacity: .7; }
.pr-save { font: var(--t-small); letter-spacing: var(--tr-small); font-style: normal; color: var(--brand); white-space: nowrap; }
.pr-pick .pr-save { color: var(--brand-soft); }
.pr-btn { width: 100%; }
.pr-pick .pr-btn { background: var(--paper); color: var(--ink); }
.pr-pick .pr-btn:hover { background: var(--brand-soft); }
.pr-inc { list-style: none; margin: 0; padding: calc(1.5 * var(--bl)) 0 0; display: grid; gap: var(--bl); align-content: start; border-top: 1px solid var(--line); }
.pr-pick .pr-inc { border-color: var(--rule-dark); }
.pr-inc li:first-child { font-weight: 600; }
.pr-inc li + li { color: var(--muted); }
.pr-pick .pr-inc li + li { color: oklch(0.85 0.02 180); }
.pr-foot { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gut); }
.pr-all, .pr-oss { display: grid; gap: calc(1.5 * var(--bl)); align-content: start; padding: calc(3 * var(--bl)); }
.pr-all { background: var(--paper); }
.pr-oss { background: var(--paper); justify-items: start; }
.pr-oss .pr-name { width: 100%; }
.pr-all h3, .pr-oss h3 { font: var(--t-lead); letter-spacing: var(--tr-lead); font-weight: 600; }
.pr-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gut); }
.pr-list-one { grid-template-columns: minmax(0, 1fr); width: 100%; }
.pr-list li { max-width: none; display: grid; grid-template-columns: calc(3 * var(--bl)) 1fr; align-items: baseline; padding-block: calc(0.75 * var(--bl)); border-bottom: 1px solid var(--line); }
.pr-list li::before { content: "+"; color: var(--brand); }
.pr-list em { grid-column: 2; justify-self: start; font: var(--t-small); letter-spacing: var(--tr-small); font-style: normal; padding: 0 var(--bl); margin-top: calc(0.5 * var(--bl)); background: oklch(0.72 0.12 178 / 0.18); color: var(--brand); }

/* start: the first step, already open, on a flat brand field */
.start { background: var(--brand); color: var(--brand-ink); padding-block: calc(16 * var(--bl)); align-items: start; }
.start-copy { grid-column: 1 / 7; display: grid; gap: calc(3 * var(--bl)); }
.dialog { grid-column: 8 / -1; min-width: 0; grid-template-columns: minmax(0, 1fr); background: var(--surface); color: var(--ink); padding: calc(3 * var(--bl)); display: grid; gap: calc(2 * var(--bl)); }
.seg { display: grid; grid-template-columns: 1fr 1fr; box-shadow: inset 0 0 0 1px var(--ink); }
.seg button { padding: var(--bl); border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.seg button.on { background: var(--ink); color: var(--paper); }
.seg.seg-dark { box-shadow: inset 0 0 0 1px var(--paper); }
.seg.seg-dark button { color: var(--paper); padding-inline: calc(2 * var(--bl)); }
.seg.seg-dark button.on { background: var(--paper); color: var(--ink); }
.dialog > * { min-width: 0; }
.dialog-code { position: relative; background: var(--tone); }
.dialog-code pre { margin: 0; padding: calc(2 * var(--bl)); padding-right: calc(10 * var(--bl)); overflow-x: auto; }
.dialog-code code { font: inherit; }
.dialog-note { color: var(--muted); }
.dialog-btn { display: flex; align-items: center; justify-content: center; height: calc(6 * var(--bl)); background: var(--ink); color: var(--paper); text-decoration: none; transition: background .2s; }
.dialog-btn:hover { background: var(--brand); }

/* footer: one line, three fields of four columns */
.foot { padding-block: calc(24 * var(--bl)) calc(4 * var(--bl)); color: var(--muted); align-items: baseline; }
.foot > span:first-child { grid-column: 1 / 5; }
.foot-links { grid-column: 5 / 9; display: flex; gap: calc(3 * var(--bl)); }
.foot-links a { color: var(--ink); text-decoration: none; }
.foot-links a:hover { color: var(--brand); }
.foot-end { grid-column: 9 / -1; justify-self: end; }

/* section breaks: 20 baselines (10em of body) of mezzotint, three layers at three scales in three analogous
   colours (the section's hue and its neighbours 28 degrees either side). Each layer drifts with the scroll at its
   own speed (--v), so the three grains slide over each other and beat into moiré. */
.mezzo { --d: 0; position: relative; height: calc(20 * var(--bl)); overflow: hidden; background: var(--paper); }
.mezzo i { position: absolute; inset: -200px 0; transform: translate3d(0, calc(var(--d) * var(--v) * -1px), 0); will-change: transform;
  -webkit-mask-image: var(--mezzo); mask-image: var(--mezzo); -webkit-mask-size: calc(96px * var(--k)); mask-size: calc(96px * var(--k)); }
.mezzo i:nth-child(1) { background: oklch(0.62 0.1 calc(var(--h) - 28)); }
.mezzo i:nth-child(2) { background: oklch(0.5 0.1 var(--h)); opacity: .8; }
.mezzo i:nth-child(3) { background: oklch(0.36 0.07 calc(var(--h) + 28)); opacity: .7; }

/* entrances: parts of each section rise in as it enters; without scroll timelines they simply show */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .rise { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
    .xchg .resp { animation-range: entry 8% entry 63%; }
    .xchg .note { animation-range: entry 16% entry 71%; }
    .bar i { animation: grow linear both; animation-timeline: view(); animation-range: entry 20% cover 45%; }
    .mini-bars i { animation: fill linear both; animation-timeline: view(); animation-range: entry 10% cover 40%; }
    .dots i.a, .dots i.b { animation: pop linear both; animation-timeline: view(); animation-range: entry 20% cover 45%; }
    .live-call li { animation: rise linear both; animation-timeline: view(); animation-range: entry 10% cover 40%; }
    .live-call li:nth-child(2) { animation-range: entry 25% cover 45%; }
    .live-call li:nth-child(3) { animation-range: entry 40% cover 50%; }
    .live-call li:nth-child(4) { animation-range: entry 55% cover 55%; }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(var(--gut)); } }
@keyframes swap { from { opacity: 0; transform: translateY(var(--bl)); } }
@keyframes pop { from { opacity: 0; transform: scale(.7); } }
@keyframes fill { from { transform: scaleY(0); } }
@keyframes grow { from { transform: scaleY(0); } }
@keyframes appear { from { opacity: 0; transform: translateY(var(--bl)); } }
@media (prefers-reduced-motion: no-preference) {
  .reel-item:first-child .ui-turn { animation: appear .5s var(--ease) backwards; }
  .reel-item:first-child .ui-turn:nth-child(2) { animation-delay: .35s; }
  .reel-item:first-child .ui-turn:nth-child(3) { animation-delay: .7s; }
  .reel-item:first-child .ui-turn:nth-child(4) { animation-delay: 1.05s; }
  .reel-item:first-child .ui-turn.flag p { animation: flag .6s ease 1.6s backwards; }
  .reel-item:first-child .ui-foot { animation: appear .5s var(--ease) 1.9s backwards; }
}
@keyframes flag { from { background: transparent; box-shadow: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* tablet and phone: the same raster folded to four columns */
@media (max-width: 1000px) {
  :root { --cols: 4; --gut: calc(2 * var(--bl)); --mar: calc(2 * var(--bl)); --t-display: 600 44px / calc(6 * var(--bl)) var(--grotesk); --t-head: 600 26px / calc(4 * var(--bl)) var(--grotesk); }
  .raster i:nth-child(n + 5) { display: none; }
  .hide-sm { display: none; }
  .mark { grid-column: 1 / 3; }
  .navlinks { grid-column: 3 / -1; gap: calc(2 * var(--bl)); }
  .hero, .problems, .how, .verdict-field, .runtime, .platforms, .start { padding-block: calc(9 * var(--bl)); row-gap: calc(6 * var(--bl)); }
  .hero-copy, .hero-h1, .hero-side, .problems-h, .probs, .how-h, .how-body, .verdict-copy, .verdict-ui, .runtime-copy, .live-call,
  .platform-intro, .platforms > .ptable, .platforms > .pfoot, .start-copy, .dialog { grid-column: 1 / -1; }
  .hero { grid-template-rows: none; }
  .hero-copy { position: static; }
  .reel-track { grid-column: 1 / -1; }
  .reel-stage { top: calc(var(--nav) + 4 * var(--bl)); }
  .reel-item { padding: calc(2 * var(--bl)); gap: calc(2 * var(--bl)); }
  .reel-controls { margin-top: calc(7 * var(--bl)); }
  .reel-item .ui-head { flex-wrap: wrap; }
  .reel-item .ui-turn { grid-template-columns: calc(6 * var(--bl)) 1fr; }
  .prob { grid-column: span 2; }
  .how-h { position: static; }
  .xchg > *, .xchg > .resp, .xchg > .resp.flush, .xchg > .note { grid-column: 1 / -1; }
  .how-body { row-gap: calc(9 * var(--bl)); }
  .pricing { padding-block: calc(10 * var(--bl)); }
  .pr-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pr-foot { grid-template-columns: minmax(0, 1fr); }
  .foot { padding-block: calc(12 * var(--bl)) calc(3 * var(--bl)); row-gap: var(--bl); }
  .foot > span:first-child, .foot-links, .foot-end { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 640px) {
  .prob { grid-column: 1 / -1; }
  .ptable thead { display: none; }
  .ptable, .ptable tbody, .ptable tr, .ptable th, .ptable td { display: block; }
  .ptable tr { padding-block: calc(2 * var(--bl)); border-bottom: 1px solid var(--line); }
  .ptable th, .ptable td { border: 0; padding: var(--bl) 0 0; }
  .ptable td::before { content: attr(data-col); display: block; font: var(--t-label); letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--muted); }
  .pr-plans, .pr-list { grid-template-columns: minmax(0, 1fr); }
  .pr-head { grid-template-columns: minmax(0, 1fr); }
  .pr-toggle { grid-column: 1; grid-row: auto; justify-self: start; margin-top: var(--bl); }
  .pr-for { min-height: 0; }
  /* phone nav: Docs + Open app; the booking CTA stays in the closing section and footer */
  .hide-xs { display: none; }
  .mark, .navlinks { grid-row: 1; }
  .navlinks { grid-column: 2 / -1; }
}
.ui-head > span:last-child { white-space: nowrap; flex: none; }

/* Astro port: the Start dialog's two panes are both in the HTML now, each wrapped so one can be hidden. The wrapper
   keeps the dialog's own spacing. */
.dialog-pane { display: grid; grid-template-columns: minmax(0, 1fr); gap: calc(2 * var(--bl)); min-width: 0; }
/* nav, with Blog added: a link never breaks inside its label. Between the phone layout and a wide screen the row
   starts a column earlier and tightens, and GitHub shrinks to its mark. */
.navlinks a { white-space: nowrap; }
.gh { display: inline-flex; align-items: center; gap: var(--bl); }
.gh svg { width: calc(2 * var(--bl)); height: calc(2 * var(--bl)); flex: none; }
/* the arrow is a flex item here, so the gap already spaces it: take that back to match the other links */
.gh.out::after { margin-left: calc(0.35em - var(--bl)); }
@media (min-width: 1001px) {
  .navlinks { grid-column: 4 / -1; }
}
@media (min-width: 1001px) and (max-width: 1279px) {
  .navlinks { gap: calc(3 * var(--bl)); }
}
@media (max-width: 1279px) {
  .gh .gh-label { display: none; }
  .gh.out::after { display: none; }
}
/* a link that leaves this page (Blog, Docs, GitHub): an arrow after the label, in the link's colour */
.out::after {
  content: ""; display: inline-block; width: 0.75em; height: 0.75em; margin-left: 0.35em; vertical-align: baseline;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3.5 2.5h6v6M9.5 2.5l-7 7' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='square'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3.5 2.5h6v6M9.5 2.5l-7 7' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='square'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* the section you're in (Blog, on the blog) */
.navlinks a[aria-current]:not(.btn) { color: var(--brand); }
