/* Acuity marketing site.
   Built on the CirrusHQ Brand Guide v1 (September 2025).

   Core     Energy  #A4D233 (Pantone 2299 CP)  ·  Carbon  #454142 (Pantone 4287 CP)
   Neutral  Jet     #101820 (Pantone Black 6)  ·  Ice     #FFFFFF
   Accent   Zeal    #FF9E1B (Pantone 1375 CP)  ·  Balance #00857D (Pantone 7717 CP)

   Core carries the page. Neutral handles text and ground, per the guide's note
   that Neutral is used where Core is not appropriate, such as in text. Accent
   appears only on status, polarity and highlights.

   Energy and Zeal are too light to read as text on white (1.77:1 and 2.07:1),
   so they carry fills, blocks and the logo only. Balance clears body text at
   4.52:1, so every coloured word, link, tick and highlight on the site is that
   exact brand value. Single committed light theme with Jet chrome, matching
   the app's Cloudscape light mode. */

:root {
  /* Brand, exact values */
  --energy:  #A4D233;
  --carbon:  #454142;
  --jet:     #101820;
  --ice:     #FFFFFF;
  --zeal:    #FF9E1B;
  --balance: #00857D;

  /* Legible steps, used only where a pure brand value cannot carry the job.
     Energy needed no such step in the end: it sits on fills, never on text. */
  --zeal-ink:    #C47100;
  --balance-ink: #00918A;

  /* Tints, for soft backgrounds behind labelled content */
  --energy-soft:  #EDF6D6;
  --zeal-soft:    #FFEFD6;
  --balance-soft: #D9EFED;

  /* Surfaces, Jet tinted toward Ice */
  --surface:      #FFFFFF;
  --paper:        #FAFAFB;
  --surface-sunk: #F1F2F3;
  --line:         #DDDFE2;
  --line-soft:    #EBECEE;

  /* Text. Body copy sits at 80% black per the guide. */
  --text:        #101820;
  --text-body:   #41464D;
  --text-muted:  #5C6268;
  --text-faint:  #8A9096;

  /* Sequential ramp, Balance hue, dark to light. Magnitude and parts of a
     whole. Verified monotonic; step 3 is the exact brand value. */
  --seq-1: #013B37;
  --seq-2: #00605A;
  --seq-3: #00857D;
  --seq-4: #4FAFA7;
  --seq-5: #9BD3CE;

  /* Polarity. Validated pair, CVD delta-E 13.2 protan, 22.4 normal vision. */
  --up:   #C47100;
  --down: #00918A;

  /* Ordered severity, Zeal hue, darkest is worst. Always shipped with a label. */
  --sev-critical: #7A3D00;
  --sev-high:     #C47100;
  --sev-medium:   #E9A23C;
  --sev-low:      #F7CE95;
  --sev-resolved: #00918A;

  --grid:       #E7E8EA;
  --chart-surf: #FFFFFF;

  /* Jet chrome: masthead, closing band, footer */
  --on-jet-text:  #F2F3F4;
  --on-jet-muted: #9BA1A8;
  --on-jet-line:  #2E3843;
  --on-jet-sunk:  #0A1016;

  --radius:   4px;
  --radius-l: 8px;
  --maxw:     1120px;

  /* Futura Now Headline is licensed; Jost is the closest metric substitute
     available to a browser, with Futura and the system stack behind it. */
  --font-display: 'Futura Now Headline', 'Jost', 'Futura', 'Century Gothic', sans-serif;
  --font-body:    Arial, Helvetica, sans-serif;
  --font-data:    Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  text-wrap: balance;
  margin: 0;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--balance);
  outline-offset: 2px;
  border-radius: 2px;
}

.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 20px;
}

.eyebrow {
  font-family: var(--font-data);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0;
}

.num { font-variant-numeric: tabular-nums; }

/* ---------- Header: the Jet bar ---------- */

.masthead {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: var(--jet);
  border-bottom: 1px solid var(--jet);
}

/* Masthead height is shared with anything that sticks beneath it, such as the
   pricing table header. */
:root { --mast-h: 74px; }

/* Anchor targets land below the sticky masthead rather than under it. */
[id], [data-tabs] { scroll-margin-top: calc(var(--mast-h) + 16px); }

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ice);
  color: var(--jet);
  font-weight: 600;
  border-radius: 6px;
}
.skip:focus { top: 12px; }

.masthead-in { display: flex; align-items: center; gap: 28px; height: var(--mast-h); }

.wordmark {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  margin-right: auto;
  color: var(--on-jet-text);
}

.wordmark .mark { height: 38px; width: auto; display: block; flex: none; }

/* Two links side by side: the CirrusHQ logo goes to cirrushq.com, the
   Acuity name to this site's home page. */
.wordmark a { color: inherit; text-decoration: none; display: block; flex: none; }

.wordmark-rule {
  width: 1px;
  height: 32px;
  background: var(--on-jet-line);
  flex: none;
}

.wordmark-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 27px;
  letter-spacing: -0.02em;
}

.nav { display: flex; gap: 22px; font-size: 14.5px; }

.nav a {
  text-decoration: none;
  color: var(--on-jet-muted);
  padding-block: 4px;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}

.nav a:hover { color: var(--on-jet-text); border-bottom-color: var(--energy); }
.nav a[aria-current="page"] { color: var(--on-jet-text); border-bottom-color: var(--energy); }

.auth { display: flex; align-items: center; gap: 12px; }

/* Phone menu. Hidden on desktop; below 900px it replaces the inline nav. */
.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--on-jet-line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--on-jet-text);
  cursor: pointer;
}
.menu-btn .menu-close { display: none; }
.masthead.is-open .menu-btn .menu-open { display: none; }
.masthead.is-open .menu-btn .menu-close { display: inline; }
.nav-login, .nav-signup { display: none; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  padding: 9px 17px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s, transform .1s;
}

.btn:active { transform: translateY(1px); }

/* Energy is Core, so the primary action carries it. Jet text on Energy is
   about 11:1, far past the threshold, and it is the most on-brand pairing. */
.btn-primary { background: var(--energy); color: var(--jet); }
.btn-primary:hover { background: color-mix(in srgb, var(--energy) 84%, var(--jet)); }

.btn-ghost { color: var(--on-jet-muted); }
.btn-ghost:hover { color: var(--on-jet-text); }

.btn-outline { border-color: var(--line); color: var(--text); background: var(--surface); }
.btn-outline:hover { border-color: var(--carbon); background: var(--surface-sunk); }

.btn-lg { padding: 13px 24px; font-size: 16px; }

.btn-on-dark { border-color: var(--on-jet-line); color: var(--on-jet-text); background: transparent; }
.btn-on-dark:hover { border-color: var(--energy); background: rgba(164, 210, 51, .1); }

/* ---------- Page hero (feature pages), light ---------- */

.phero { background: var(--surface); border-bottom: 1px solid var(--line); }

/* Full width, stacked: the headline runs the whole container and the argument
   sits under it. The container is uncapped so the headline is not boxed into a
   column, but the paragraph keeps a measure of its own, because 1080px of
   unbroken prose is about 120 characters a line. */
.phero-in { padding-block: 40px 56px; }

.phero .eyebrow { color: var(--balance); }

.phero h1 {
  font-size: clamp(32px, 4.6vw, 50px);
  font-weight: 700;
  margin-block: 16px 20px;
}

.phero p {
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 74ch;
  margin: 0;
}

.phero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.crumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-family: var(--font-data);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--text-faint);
  padding-top: 26px;
}

.crumb a { text-decoration: none; color: var(--text-muted); }
.crumb a:hover { color: var(--balance); text-decoration: underline; }

/* ---------- Sections ---------- */

section { padding-block: 72px; }
.rule-top { border-top: 1px solid var(--line-soft); }

.section-head { max-width: 62ch; margin-bottom: 40px; }

.section-head h2 {
  font-size: clamp(26px, 3.3vw, 34px);
  font-weight: 700;
  margin-block: 12px 14px;
}

.section-head p { font-size: 17px; color: var(--text-muted); margin: 0; }

/* ---------- Figure / chart shell ---------- */

.figure {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 22px 22px 20px;
}

.figure-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.figure-title { font-family: var(--font-display); font-size: 17px; font-weight: 700; }

.figure-note {
  font-family: var(--font-data);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-faint);
  border: 1px solid var(--line);
  padding: 2px 7px;
  border-radius: 999px;
  white-space: nowrap;
}

.figure-sub { font-size: 13.8px; color: var(--text-muted); margin: 0 0 18px; }

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-muted);
}

.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 9px; height: 9px; border-radius: 2px; flex: none; }

/* Stacked bar */

.stack { display: flex; gap: 2px; height: 46px; border-radius: var(--radius); overflow: hidden; }
.stack > span { display: block; position: relative; transition: filter .15s; cursor: default; }
.stack > span:hover { filter: brightness(1.1); }

.stack-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-data);
  font-size: 11px;
  color: var(--text-faint);
  margin-top: 7px;
}

/* Ranked bars */

.ranked { display: flex; flex-direction: column; gap: 12px; }

.ranked-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 62px;
  gap: 14px;
  align-items: center;
}

.ranked-label { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; }
.ranked-label i { width: 9px; height: 9px; border-radius: 2px; flex: none; }

.ranked-track { background: var(--surface-sunk); border-radius: 3px; height: 16px; overflow: hidden; }
.ranked-fill { height: 100%; border-radius: 0 3px 3px 0; transition: filter .15s; }
.ranked-row:hover .ranked-fill { filter: brightness(1.1); }

.ranked-val {
  font-family: var(--font-data);
  font-size: 13.5px;
  font-variant-numeric: tabular-nums;
  text-align: right;
  color: var(--text);
}

/* Stat tiles */

.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

.tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tile-label {
  font-family: var(--font-data);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.tile-figure {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text);
}

.tile-note { font-size: 13.5px; color: var(--text-muted); margin: 0; }

.meter { height: 6px; background: var(--surface-sunk); border-radius: 999px; overflow: hidden; }
.meter > span { display: block; height: 100%; border-radius: 999px; }

/* ---------- Capability list ---------- */

.caps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 44px; }

.cap { display: flex; flex-direction: column; gap: 9px; }

.cap h3 { font-size: 18px; font-weight: 700; display: flex; align-items: baseline; gap: 9px; }

.cap h3::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 1px;
  background: var(--energy);
  flex: none;
  transform: translateY(-2px);
}

.cap p { margin: 0; font-size: 14.8px; color: var(--text-muted); }

/* ---------- Data table ---------- */

.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-l); }

table { border-collapse: collapse; width: 100%; min-width: 620px; background: var(--surface); }

th {
  text-align: left;
  font-family: var(--font-data);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 700;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14.2px;
  vertical-align: top;
}

tbody tr:last-child td { border-bottom: none; }
td.mono { font-family: var(--font-data); font-variant-numeric: tabular-nums; letter-spacing: .02em; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-data);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  white-space: nowrap;
  border: 1px solid transparent;
}

.pill i { width: 7px; height: 7px; border-radius: 50%; flex: none; }

/* ---------- Workflow pipeline ---------- */

.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }

.flow-step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 15px 16px 17px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  position: relative;
}

.flow-step::after {
  content: "";
  position: absolute;
  right: -7px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-top: 1.5px solid var(--line);
  border-right: 1.5px solid var(--line);
  transform: translateY(-50%) rotate(45deg);
  z-index: 2;
}

.flow-step:last-child::after { display: none; }

.flow-name { font-family: var(--font-display); font-size: 16px; font-weight: 700; }
.flow-step p { margin: 0; font-size: 13.4px; color: var(--text-muted); }

.flow-bar { height: 3px; border-radius: 2px; }

/* ---------- Callout ---------- */

.callout {
  display: flex;
  gap: 13px;
  padding: 18px 20px;
  background: var(--surface-sunk);
  border-left: 3px solid var(--energy);
  border-radius: var(--radius);
  font-size: 15px;
  color: var(--text-muted);
}

.callout svg { flex: none; color: var(--balance); margin-top: 3px; }
.callout strong { color: var(--text); font-weight: 700; }

/* ---------- Cross-links ---------- */

.crosslinks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

.xlink {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  text-decoration: none;
  transition: border-color .15s, transform .15s;
}

.xlink:hover { border-color: var(--energy); transform: translateY(-2px); }
.xlink .eyebrow { color: var(--balance); }
.xlink h3 { font-size: 19px; font-weight: 700; }
.xlink p { margin: 0; font-size: 14.2px; color: var(--text-muted); }

/* ---------- Jet chrome: closing band and footer ---------- */

.closer { background: var(--jet); color: var(--on-jet-text); }

.closer-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: 56px;
}

.closer h2 { font-size: clamp(25px, 3.4vw, 36px); font-weight: 700; color: var(--on-jet-text); }
.closer p { margin: 12px 0 0; color: var(--on-jet-muted); font-size: 16.5px; max-width: 48ch; }

footer {
  background: var(--carbon);
  color: var(--on-jet-muted);
  padding-block: 36px;
  font-size: 14px;
}

.foot-in {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  justify-content: space-between;
  align-items: center;
}

footer a { color: var(--on-jet-muted); text-decoration: none; }
footer a:hover { color: var(--on-jet-text); text-decoration: underline; }
.foot-links { display: flex; flex-wrap: wrap; gap: 20px; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ---------- Page opening ----------

   The statement each platform page opens on, run across the full container
   rather than the 62ch column .section-head imposes. Two columns rather than
   one long line: 1080px of unbroken prose is about 120 characters a line,
   which is past the point anyone tracks comfortably. The headline takes the
   left, the argument the right, and both bottom-align so they read as one
   block rather than two stacked things. */

.intro { border-bottom: 1px solid var(--line); }

/* The band already supplies the separation, so the section after it does not
   need a full section's worth of padding on top as well. */
.intro + section { padding-top: 34px; }

.intro-in { padding-block: 54px 56px; }

.intro .eyebrow { color: var(--balance); }

.intro h2 {
  font-size: clamp(29px, 3.9vw, 44px);
  font-weight: 700;
  margin: 14px 0 20px;
}

.intro p {
  margin: 0;
  font-size: 17.2px;
  line-height: 1.62;
  color: var(--text-muted);
  max-width: 78ch;
}

/* ---------- Capability tabs ----------

   The strip and the one-at-a-time behaviour only exist once tabs.js has run.
   Before that every panel is visible and there is no strip, so the page works
   without JavaScript and every capability is in the HTML for search either
   way. [hidden] is set by the script, never in the markup. */

.tabs { margin-top: 30px; }

.tablist {
  display: none;
  gap: 6px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

[data-tabs-ready] .tablist { display: flex; }

.tab {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 15px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: none;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}

.tab:hover { color: var(--text); background: var(--surface-sunk); }

.tab[aria-selected="true"] {
  background: var(--jet);
  border-color: var(--jet);
  color: var(--on-jet-text);
}

/* A panel is focusable so the keyboard lands somewhere after the strip, but it
   is not a focus ring around a whole section of the page. */
.tabpanel:focus { outline: none; }
.tabpanel:focus-visible { outline: 2px solid var(--balance); outline-offset: 4px; }

/* Inside a panel the section has already been introduced by the tab, so the
   top rule and the padding that separated stacked sections both go. */
.tabpanel .feature { border-top: 0; padding-block: 34px 8px; }

/* ---------- Feature sections ----------

   One section per capability: what it is worth on one side, the screen that
   proves it on the other. Alternating sides stops a long page reading as a
   list, and pairing them halves the screenshot's width, which is what keeps a
   full dashboard from dominating a section that is making a single point. */

.feature {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding-block: 54px;
  border-top: 1px solid var(--line-soft);
}

/* The screenshots run out of the container into the gutter, because a 2.0:1
   dashboard confined to half a 1120px container is a five-fold reduction and
   nothing in it can be read. They stop short of the viewport edge rather than
   reaching it: flush against the edge the image reads as cropped, as though
   the page continues past it. Capped so it does not keep growing on a very
   wide display, and it falls to nothing once there is no gutter to borrow. */
.feature .shot { --bleed: min(140px, max(0px, calc((100vw - var(--maxw)) / 2 - 20px))); }
.feature:not(.feature-flip) .shot { margin-right: calc(-1 * var(--bleed)); }
.feature-flip .shot { margin-left: calc(-1 * var(--bleed)); }

.feature:first-of-type { border-top: 0; padding-top: 10px; }

/* Even sections put the screenshot on the left instead. The track sizes swap
   with it: ordering alone leaves the screenshot in the narrow column and the
   images come out two different widths down the page. */
.feature-flip { grid-template-columns: minmax(0, 1fr) minmax(0, 360px); }
.feature-flip .feature-copy { order: 2; }

.feature-copy h2 { font-size: clamp(21px, 2.5vw, 28px); font-weight: 700; margin: 10px 0 14px; }
.feature-copy > p { margin: 0 0 16px; font-size: 15.6px; line-height: 1.62; color: var(--text-muted); max-width: 48ch; }

/* The concrete case. A claim on its own is a brochure; this is the number. */
.feature-eg {
  margin: 0;
  padding: 14px 16px;
  background: var(--surface-sunk);
  border-left: 3px solid var(--balance);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14.4px;
  line-height: 1.56;
  color: var(--text-body);
  max-width: 48ch;
}

.feature-eg b { color: var(--text); font-weight: 600; }

/* A capability with no screenshot yet still gets a section; it just runs the
   full width rather than leaving a hole where the image would be. */
.feature-wide { grid-template-columns: minmax(0, 1fr); }
.feature-wide .feature-copy > p, .feature-wide .feature-eg { max-width: 68ch; }

/* ---------- SVG figures ----------

   These size from their viewBox, and the height has to come from CSS. As an
   SVG attribute, height="auto" is not a length: the browser drops it, falls
   back to intrinsic sizing, and the element comes out at whatever it likes.
   On the home page that made the hero chart 668px tall instead of 163px,
   which pushed the console far taller than its grid row. Centred, it then
   overflowed both ways and painted over the masthead above and the section
   below. The only visible warning was a console message naming the attribute
   rather than the damage. */

.plot { display: block; width: 100%; height: auto; }

/* ---------- Product screenshots ----------

   Every other illustration on this site is drawn in CSS from representative
   numbers and labelled as such. These are the real interface, so they are
   framed rather than bled to the edge, and each carries a caption naming the
   screen. The width and height attributes on the img are load-bearing: without
   them the page reflows as each one arrives, which is worst on the slow
   connections that most need the reserved space. */

.shot {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: 0 18px 40px -28px rgba(22, 33, 46, .45);
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--line-soft);
  background: var(--surface-sunk);
}

.shot-cap { padding: 13px 16px 15px; font-size: 13.4px; line-height: 1.5; color: var(--text-muted); }
.shot-cap b { color: var(--text); font-weight: 600; }

/* Two screenshots side by side, stacking below the breakpoint. */
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .shots { grid-template-columns: minmax(0, 1fr); }
  .intro-in { padding-block: 40px 42px; }
  .feature, .feature-flip { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-block: 40px; }
  .feature .shot { margin-inline: 0 !important; }
  .feature-flip .feature-copy { order: 0; }
  .caps { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .flow { grid-template-columns: minmax(0, 1fr); }
  .flow-step::after { display: none; }
  .crosslinks { grid-template-columns: minmax(0, 1fr); }
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .masthead.is-open .nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 4px 24px 16px;
    background: var(--jet);
    border-top: 1px solid var(--on-jet-line);
    box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .5);
  }
  .masthead.is-open .nav a {
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--on-jet-line);
  }
  .masthead.is-open .nav a:last-child { border-bottom: 0; }
  .masthead.is-open .nav a[aria-current="page"] { color: var(--energy); }
  .nav-login { display: block; }
  section { padding-block: 54px; }
  .ranked-row { grid-template-columns: 92px minmax(0, 1fr) 56px; gap: 10px; }
}

/* The smallest phones (iPhone SE, 320px) need the logo, Start free and the
   menu button to share 288px. */
@media (max-width: 380px) {
  .masthead-in { gap: 8px; }
  .wordmark { gap: 8px; }
  .wordmark .mark { height: 24px; }
  .wordmark-rule { height: 22px; }
  .wordmark-name { font-size: 18px; }
  .auth { gap: 8px; }
  .auth .btn-primary { display: none; }
  .masthead.is-open .nav .nav-signup { display: block; color: var(--energy); font-weight: 700; }
}

@media (max-width: 560px) {
  :root { --mast-h: 64px; }
  .masthead-in { gap: 12px; }
  .wordmark { gap: 12px; }
  .wordmark .mark { height: 30px; }
  .wordmark-rule { height: 26px; }
  .wordmark-name { font-size: 22px; }
  .auth .btn-ghost { display: none; }
  .masthead.is-open .nav { padding-inline: 16px; }
  .wrap { padding-inline: 16px; }
  .tile-figure { font-size: 29px; }
}

/* ---------- Legal pages ----------

   Privacy, terms, DPA, cookies and company details. Long-form text, so every
   block keeps a reading measure while the column stays aligned with the page
   hero above it. Tables drop the data-table minimum width: these are short
   key and value rows that have to wrap on a phone rather than scroll. */

.legal { padding-block: 40px 72px; }
.legal > * { max-width: 76ch; }
.legal h2 { font-size: 24px; font-weight: 700; margin: 40px 0 12px; }
.legal h3 { font-size: 19px; font-weight: 700; margin: 32px 0 12px; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--balance); }
.legal .table-scroll { margin: 8px 0 20px; }
.legal table { min-width: 0; }
.legal td { overflow-wrap: anywhere; }
.legal th[scope="row"] {
  width: 32%;
  font-family: var(--font-body);
  font-size: 14.2px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
  white-space: normal;
  vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
}

.foot-legal { flex-basis: 100%; gap: 16px; font-size: 13.5px; }

/* "Cookie settings" is a button (it opens the banner, it goes nowhere) dressed
   as one of the footer links beside it. */
.foot-btn {
  font: inherit;
  color: var(--on-jet-muted);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.foot-btn:hover { color: var(--on-jet-text); text-decoration: underline; }

/* ---------- Analytics consent banner ----------
   Only present on production builds (src/layouts/consent.html). A full-width
   Jet bar so it is hard to miss. Accept and Reject are deliberately the same
   button: the ICO treats a louder Accept than Reject as nudging, so the bar
   can be as prominent as we like but the two choices must stay equal. Not
   modal, and the site works without a choice (no cookie wall). */

.consent {
  position: fixed;
  z-index: 50;
  left: 0;
  right: 0;
  bottom: 0;
  padding-block: 20px;
  background: var(--jet);
  color: var(--on-jet-text);
  border-top: 4px solid var(--energy);
  box-shadow: 0 -8px 28px rgba(16, 24, 32, .25);
  font-size: 15.5px;
  line-height: 1.5;
}
.consent[hidden] { display: none; }
.consent-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}
.consent p { margin: 0; flex: 1 1 420px; max-width: 70ch; }
.consent strong {
  display: block;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--ice);
  margin-bottom: 4px;
}
/* Energy on Jet is about 11:1; Balance, the usual link colour, is too dark. */
.consent a { color: var(--energy); }
.consent-actions { display: flex; gap: 12px; }
.consent-actions .btn { min-width: 120px; }

@media (max-width: 560px) {
  .consent { padding-block: 16px; }
  .consent-actions { width: 100%; }
  .consent-actions .btn { flex: 1; min-width: 0; }
}

/* --------------------------------------------------------------- blog */
/* Post bodies are rendered from markdown in the Acuity application, so they
   are styled by element rather than by class. */

.phero .eyebrow a { color: inherit; text-decoration: none; }
.phero .eyebrow a:hover { text-decoration: underline; }

.posts { padding-block: 40px 72px; display: grid; gap: 28px; }
.posts > * { max-width: 76ch; }
.post-card { padding-bottom: 28px; border-bottom: 1px solid var(--line-soft); }
.post-card h2 { font-size: 24px; font-weight: 700; margin: 4px 0 8px; }
.post-card h2 a { text-decoration: none; }
.post-card h2 a:hover { color: var(--balance); }
.post-card p { margin: 0; }
.post-date { font-size: 14px; color: var(--text-muted); }

.post { padding-block: 40px 72px; }
.post > * { max-width: 76ch; }
.post h2 { font-size: 24px; font-weight: 700; margin: 40px 0 12px; }
.post h3 { font-size: 19px; font-weight: 700; margin: 32px 0 12px; }
.post p { margin: 0 0 14px; }
.post ul, .post ol { margin: 0 0 14px; padding-left: 22px; }
.post li { margin-bottom: 6px; }
.post a { color: var(--balance); }
.post img { max-width: 100%; height: auto; border-radius: var(--radius-l); }
.post .post-banner { display: block; margin-bottom: 28px; }
.post blockquote { margin: 0 0 14px; padding: 4px 16px; border-left: 3px solid var(--energy); color: var(--text-muted); }
.post code { font-size: 0.92em; background: var(--surface-sunk); padding: 1px 5px; border-radius: var(--radius); }
.post pre { background: var(--surface-sunk); padding: 14px 16px; border-radius: var(--radius); overflow-x: auto; }
.post pre code { background: none; padding: 0; }
.post table { min-width: 0; margin: 8px 0 20px; }
.post-embed { position: relative; aspect-ratio: 16 / 10; margin: 20px 0 24px; }
.post-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: var(--radius-l); }
.post-cta { margin: 24px 0; }
.post .post-cta a { color: var(--jet); text-decoration: none; }
.post-back { margin-top: 40px; }
