/*
  The public roadmap. Colours and type come from the Bluefort brand (spec 7): the brand blue, the sky
  accent, Inter, near-square corners. The look is the roadmap's own and not the company website's: a
  night-blue frame and a Now / Next / Later timeline. The perspective journey is an optional view.
  No inline styles: the content security policy allows only this file, our two scripts and our logo.
*/

@font-face {
  font-family: "Inter";
  src: url("InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;

  /* Brand */
  --blue: #024ea3;
  --blue-deep: #013a80;
  --electric: #0b22d6;
  --navy: #050d2e;
  --sky: #3acdff;
  --violet: #6b3fe0;
  --magenta: #e052c8;
  --peach: #ffb08a;

  /* Surfaces and text */
  --ink: #1c1c1c;
  --grey: #444444;
  --muted: #667085;
  --surface: #f8f8f8;
  --divider: #e8e8e8;
  --card: #ffffff;
  --field-border: #7d8aa0;
  --focus-ring: #024ea3;
  --link: #024ea3;
  --accent: #024ea3;
  --on-accent: #ffffff;
  --shadow: 0 22px 48px -24px rgba(2, 50, 130, 0.38);

  /* Status colours stay apart from the brand colours, so blue never doubles as a status. */
  --status-exploring: #6f42c1;
  --status-planned: #8a5a00;
  --status-development: #0a7e6e;
  --status-preview: #b02a78;
  --status-released: #1a7f37;
  --danger: #b42318;

  /* One colour per product line: the drawing, the legend and the cards all use the same order. */
  --line-0: #1aa7dd;
  --line-1: #7c5ce6;
  --line-2: #ec8a4f;
  --line-3: #14b8a6;
  --line-4: #d75fb6;
  --line-5: #cf9b00;

  --radius: 4px;
  --wrap: 1180px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eef2fb;
    --grey: #b9c3da;
    --muted: #8f9bb8;
    --surface: #060b1d;
    --divider: #1d2948;
    --card: #0d1630;
    --field-border: #5a6b8e;
    --focus-ring: #3acdff;
    --link: #7fd6ff;
    --accent: #3acdff;
    --on-accent: #04122e;
    --shadow: 0 22px 48px -24px rgba(0, 0, 0, 0.7);
    --status-exploring: #b79cff;
    --status-planned: #e3b341;
    --status-development: #4fd1bd;
    --status-preview: #f28cc1;
    --status-released: #56d364;
    --danger: #ff8a7a;
    --line-0: #3acdff;
    --line-1: #b79cff;
    --line-2: #ffb08a;
    --line-3: #5eead4;
    --line-4: #f3a6dd;
    --line-5: #ffe08a;
  }
}

.line-0 {
  --line: var(--line-0);
}

.line-1 {
  --line: var(--line-1);
}

.line-2 {
  --line: var(--line-2);
}

.line-3 {
  --line: var(--line-3);
}

.line-4 {
  --line: var(--line-4);
}

.line-5 {
  --line: var(--line-5);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss03";
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

.wrap {
  width: min(100% - 48px, var(--wrap));
  margin-inline: auto;
}

a {
  color: var(--link);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: 2px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 10;
  padding: 10px 16px;
  background: #ffffff;
  color: #04122e;
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
}

/* ---- header ---------------------------------------------------------------------------------- */

.site-header {
  background: var(--navy);
  color: #ffffff;
  position: relative;
  z-index: 3;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bar {
  display: flex;
  align-items: center;
  gap: 16px 40px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #ffffff;
  text-decoration: none;
  flex: none;
}

.brand-logo {
  display: block;
  width: auto;
  height: 28px;
}

.brand-sub {
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.32);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.82);
}

.site-nav {
  margin-left: auto;
  min-width: 0;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 3px;
  position: relative;
  transition:
    background-color 160ms var(--ease),
    color 160ms var(--ease);
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.site-nav a[aria-current="page"] {
  color: #ffffff;
}

.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--sky);
}

.site-nav .nav-cta {
  margin-left: 12px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #ffffff;
  gap: 10px;
}

.site-nav .nav-cta::after {
  content: "\2192";
  transition: transform 180ms var(--ease);
}

.site-nav .nav-cta:hover {
  background: #ffffff;
  color: var(--navy);
}

.site-nav .nav-cta:hover::after {
  transform: translateX(3px);
}

/* ---- page heading ------------------------------------------------------------------------------- */

.page-head {
  padding: 52px 0 4px;
}

/* A page that is only its heading (signed out, an answer to a form) keeps clear of the footer. */
.page-head:last-child {
  padding-bottom: 88px;
}

/* The small label above a heading: a short line of the accent, then the words. */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  flex: none;
  width: 28px;
  height: 2px;
  background: var(--sky);
}

h1 {
  max-width: 22ch;
  font-size: clamp(2.125rem, 4.2vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.lede {
  max-width: 44rem;
  margin: 18px 0 0;
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  line-height: 1.6;
  color: var(--grey);
}

.hero-note {
  max-width: 44rem;
  margin: 14px 0 0;
  color: var(--muted);
}

.hero-status {
  margin: 0 0 16px;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin: 0 0 26px;
  font-size: 0.875rem;
  color: var(--muted);
}

.crumb-sep {
  opacity: 0.6;
}

/* ---- the stage: the roadmap drawn as a journey ------------------------------------------------- */

/*
  Where a website would put a banner, this site puts the roadmap. The script draws it on the canvas; the
  background here is the same night scene standing still, so the panel is whole before the script runs
  and where it never does.
*/
.stage {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  height: 440px;
  margin-top: 36px;
  color: #ffffff;
  background:
    radial-gradient(60% 70% at 50% 26%, rgba(58, 205, 255, 0.4) 0%, rgba(60, 90, 240, 0.16) 42%, rgba(58, 205, 255, 0) 72%),
    linear-gradient(180deg, #030a22 0%, #0b2a8c 26%, #081a5c 26%, #040d2c 100%);
}

.stage-tall {
  height: min(68vh, 600px);
  min-height: 480px;
  margin-top: 0;
}

/* With nothing to draw (no release yet) the panel is only as tall as its heading. */
.stage:not([data-route]) {
  height: auto;
  min-height: 0;
}

.stage:not([data-route]) .stage-inner {
  padding-bottom: 44px;
}

.stage:focus-visible {
  outline-offset: -4px;
}

.stage-canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  touch-action: pan-x pinch-zoom;
  cursor: grab;
}

.stage-canvas[data-over="station"] {
  cursor: pointer;
}

/* What is written over the picture lets the pointer through, except its own links and buttons. */
.stage-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px 40px;
  height: 100%;
  padding: 44px 0 0;
  pointer-events: none;
}

.stage-inner a,
.stage-inner button {
  pointer-events: auto;
}

.stage-head {
  max-width: 34rem;
}

.stage .eyebrow {
  color: var(--sky);
}

.stage h1 {
  font-size: clamp(2.5rem, 5.4vw, 4rem);
  line-height: 1;
}

.stage .lede {
  color: rgba(255, 255, 255, 0.86);
}

.stage-foot {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  margin-left: auto;
}

/* The key to the route, built by the script: a button per product, and a note for a line with nothing ahead. */
.route-key-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.route-key-item {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  color: #ffffff;
  font-size: 0.875rem;
}

.route-key-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: rgba(4, 13, 44, 0.6);
  color: #ffffff;
  font: inherit;
  cursor: pointer;
}

.route-key-button[aria-pressed="true"] {
  border-color: #ffffff;
  font-weight: 650;
}

.route-key-button:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 2px;
}

.route-key-mark {
  width: 18px;
  height: 4px;
  border-radius: 2px;
  background: var(--line, var(--accent));
}

.route-key-empty a {
  color: #ffffff;
}

.stage-play {
  min-width: 96px;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 3px;
  background: rgba(4, 13, 44, 0.6);
  color: #ffffff;
  font: inherit;
  font-weight: 550;
  cursor: pointer;
  transition:
    background-color 180ms var(--ease),
    color 180ms var(--ease);
}

.stage-play:hover {
  background: #ffffff;
  color: var(--navy);
}

.route-travel {
  display: grid;
  gap: 3px;
  width: min(100%, 340px);
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  background: rgba(4, 13, 44, 0.66);
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 600;
  pointer-events: auto;
}

.route-travel input {
  width: 100%;
  min-height: 28px;
  accent-color: var(--sky);
  cursor: pointer;
}

/* Route controls become available only once the drawing has started. */
.stage:not([data-route="on"]) .stage-play,
.stage:not([data-route="on"]) .route-travel {
  display: none;
}

/* ---- actions --------------------------------------------------------------------------------- */

.roadmap-views {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 24px 0 0;
  padding: 5px;
  border: 1px solid var(--divider);
  border-radius: 6px;
  background: var(--card);
  box-shadow: 0 8px 24px -20px rgba(2, 50, 130, 0.55);
}

.roadmap-views-label {
  padding: 0 10px;
  color: var(--grey);
  font-size: 0.875rem;
  font-weight: 600;
}

.roadmap-views a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 7px 14px;
  border-radius: 4px;
  color: var(--link);
  font-weight: 650;
  text-decoration: none;
}

.roadmap-views a:hover {
  background: color-mix(in srgb, var(--accent) 10%, var(--card));
}

.roadmap-views a[aria-current="page"] {
  background: var(--navy);
  color: #ffffff;
}

.roadmap-release {
  margin: -2px 0 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
}

.action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 3px;
  font: inherit;
  font-weight: 550;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 180ms var(--ease),
    color 180ms var(--ease),
    border-color 180ms var(--ease),
    transform 180ms var(--ease);
}

.action::after,
.button::after {
  content: "\2192";
  transition: transform 180ms var(--ease);
}

.action:hover::after,
.button:not(:disabled):hover::after {
  transform: translateX(4px);
}

.action-solid,
.button {
  background: var(--accent);
  color: var(--on-accent);
}

.action-solid:hover,
.button:not(:disabled):hover {
  background: var(--blue-deep);
  color: #ffffff;
}

.action-ghost,
.action-outline {
  border-color: var(--accent);
  color: var(--accent);
}

.action-ghost:hover,
.action-outline:hover {
  background: var(--accent);
  color: var(--on-accent);
}

.action-back {
  padding-left: 0;
  color: var(--link);
}

.action-back::after {
  content: none;
}

.action-back::before {
  content: "\2190";
  transition: transform 180ms var(--ease);
}

.action-back:hover::before {
  transform: translateX(-4px);
}

.button:disabled {
  background: var(--divider);
  color: var(--muted);
  cursor: not-allowed;
}

/* ---- Now, Next and Later: three stops on one line ------------------------------------------------ */

.track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.stop {
  position: relative;
  padding: 30px 16px 0 0;
}

/* The line from this stop to the next. It thins and fades towards Later: further out, less certain. */
.stop::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
}

.stop-next::before {
  opacity: 0.6;
}

.stop-later::before {
  height: 0;
  border-top: 2px dashed currentColor;
  background: none;
  opacity: 0.45;
  -webkit-mask-image: linear-gradient(90deg, #000 20%, transparent);
  mask-image: linear-gradient(90deg, #000 20%, transparent);
}

.stop-mark {
  position: absolute;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: currentColor;
}

.stop-next .stop-mark {
  background: var(--sky);
}

.stop-later .stop-mark {
  background: transparent;
  border: 2px solid currentColor;
  opacity: 0.6;
}

.stop-name {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.stop-figure {
  display: block;
  font-size: 0.9375rem;
  opacity: 0.82;
}

.stage .track {
  width: 340px;
  max-width: 100%;
  padding: 20px 22px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(4, 13, 44, 0.62);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.stage .stop {
  padding-top: 26px;
}

.stage .stop-name {
  font-size: 1rem;
}

.stage .stop-figure {
  font-size: 0.8125rem;
}

.release-note {
  margin: 0;
  font-size: 0.875rem;
}

.release-note a {
  color: rgba(255, 255, 255, 0.86);
}

/* In the page body the track shows where one item sits; the other stops step back. */
.page-body .track {
  color: var(--accent);
  margin: 6px 0 26px;
}

.track-pick .stop:not([aria-current]) .stop-name {
  font-weight: 500;
  color: var(--muted);
}

.track-pick .stop:not([aria-current]) .stop-mark {
  background: var(--card);
  border: 2px solid var(--field-border);
}

.track-pick .stop[aria-current] .stop-mark {
  background: var(--accent);
  border: 0;
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 22%, transparent);
}

.track-pick .stop[aria-current] .stop-name {
  color: var(--ink);
}

.track-pick .stop::before {
  background: var(--divider);
  opacity: 1;
}

/* ---- page body ----------------------------------------------------------------------------- */

.page-body {
  padding: 44px 0 104px;
}

.page-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
}

.disclaimer {
  display: flex;
  gap: 12px;
  margin: 0 0 44px;
  padding: 14px 18px;
  border-left: 3px solid var(--sky);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: color-mix(in srgb, var(--accent) 7%, var(--card));
  font-size: 0.9375rem;
  color: var(--grey);
}

.disclaimer::before {
  content: "i";
  flex: none;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.75rem;
  font-weight: 700;
}

.notice {
  max-width: 640px;
  padding: 32px 36px;
  border: 1px solid var(--divider);
  border-top: 3px solid var(--sky);
  border-radius: var(--radius);
  background: var(--card);
}

.notice h2 {
  margin-bottom: 12px;
}

.notice p:last-child {
  margin-bottom: 0;
}

.panel {
  padding: 32px 36px;
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  background: var(--card);
}

.panel > h2 {
  margin-bottom: 18px;
  font-size: 1.25rem;
}

.panel > :last-child {
  margin-bottom: 0;
}

.plain {
  margin: 0;
  padding-left: 1.2em;
}

.plain li + li {
  margin-top: 8px;
}

/* ---- landing: the whole roadmap, then the products ------------------------------------------------- */

.page-body > section + section {
  margin-top: 88px;
}

.page-body > section > h2 {
  font-size: clamp(1.625rem, 2.6vw, 2.125rem);
}

.section-note {
  max-width: 44rem;
  margin: 10px 0 0;
  color: var(--grey);
}

/* The key to the drawing: each product with the colour of its line. */
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 32px;
  padding: 0;
  list-style: none;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--divider);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 550;
  text-decoration: none;
  transition:
    border-color 180ms var(--ease),
    transform 180ms var(--ease);
}

.legend-item:hover {
  border-color: var(--line);
  transform: translateY(-2px);
}

.legend-mark {
  flex: none;
  width: 18px;
  height: 4px;
  border-radius: 2px;
  background: var(--line, var(--accent));
}

.legend-count {
  min-width: 24px;
  padding: 1px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--muted) 14%, transparent);
  color: var(--grey);
  font-size: 0.8125rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.more {
  margin: 14px 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.pillars > h2 {
  margin-bottom: 8px;
}

/* Each group is a row: its name on the left, its products beside it. */
.pillar {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 20px 40px;
  align-items: start;
  padding: 36px 0;
  border-top: 1px solid var(--divider);
}

.pillars > h2 + .pillar {
  border-top: 0;
}

.pillar-name {
  position: sticky;
  top: 24px;
  padding-top: 6px;
  font-size: 1.25rem;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 28px 24px;
  border: 1px solid var(--divider);
  border-top: 3px solid var(--line, var(--accent));
  border-radius: var(--radius);
  background: var(--card);
  transition:
    transform 220ms var(--ease),
    box-shadow 220ms var(--ease),
    border-color 220ms var(--ease);
}

.tile:hover,
.tile:focus-within {
  transform: translateY(-4px);
  border-color: var(--line, var(--accent));
  box-shadow: var(--shadow);
}

.tile-platform {
  margin: 0 0 10px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
}

.tile h4 {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.tile h4 a {
  color: var(--ink);
  text-decoration: none;
}

/* The whole card is the link; the heading keeps the name. */
.tile h4 a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
}

.tile h4 a:focus-visible {
  outline: none;
}

.tile h4 a:focus-visible::after {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

.tile-summary {
  flex: 1;
  margin: 10px 0 22px;
  color: var(--grey);
}

.counts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 20px;
}

.counts div {
  padding-top: 10px;
  border-top: 2px solid var(--line, var(--accent));
}

.counts div:nth-child(2) {
  border-top-color: color-mix(in srgb, var(--line, var(--accent)) 55%, transparent);
}

.counts div:nth-child(3) {
  border-top: 2px dashed color-mix(in srgb, var(--line, var(--accent)) 45%, transparent);
}

.counts dt {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
}

.counts dd {
  margin: 0;
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.tile-more {
  display: inline-flex;
  gap: 10px;
  font-weight: 600;
  color: var(--link);
}

.tile-more::after {
  content: "\2192";
  transition: transform 180ms var(--ease);
}

.tile:hover .tile-more::after {
  transform: translateX(4px);
}

.take-part {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.invite {
  padding: 36px;
  border-radius: var(--radius);
  border-left: 3px solid var(--sky);
  background: var(--navy);
  color: #ffffff;
}

.invite h2 {
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.invite p {
  max-width: 30rem;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.84);
}

.invite .action {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--navy);
}

.invite .action:hover {
  background: var(--sky);
  border-color: var(--sky);
}

/* ---- product: facts and the board --------------------------------------------------------------- */

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
  margin: 0 0 20px;
}

.facts dt {
  font-size: 0.8125rem;
  color: var(--muted);
}

.facts dd {
  margin: 0;
  font-weight: 600;
}

.page-head .facts {
  gap: 10px;
  margin: 26px 0 0;
}

.page-head .facts div {
  padding: 8px 14px;
  border: 1px solid var(--divider);
  border-radius: 3px;
  background: var(--card);
}

.board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.horizon-timeline {
  gap: 0;
  overflow: hidden;
  margin-top: 24px;
  border: 1px solid var(--divider);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 60%, var(--card));
  box-shadow: var(--shadow);
  counter-reset: horizon;
}

.horizon-timeline .column {
  min-width: 0;
  padding: 24px 20px 28px;
  counter-increment: horizon;
}

.horizon-timeline .column + .column {
  border-left: 1px solid var(--divider);
}

.horizon-timeline .column h2 {
  position: relative;
  min-height: 60px;
  margin-bottom: 24px;
  padding: 0 0 22px;
  border-bottom-width: 3px;
}

.horizon-timeline .column h2::before {
  content: "0" counter(horizon);
  flex: none;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.horizon-timeline .card {
  min-height: 112px;
  border-radius: 6px;
  box-shadow: 0 8px 22px -18px rgba(2, 50, 130, 0.42);
}

.horizon-timeline .column-later {
  background: color-mix(in srgb, var(--card) 35%, transparent);
}

.coming .stage {
  height: 340px;
  margin: 18px 0 28px;
  border-radius: 8px;
}

.coming .stage-inner {
  padding: 30px 24px;
}

.column {
  color: var(--accent);
}

.column h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  padding-bottom: 16px;
  border-bottom: 2px solid currentColor;
  font-size: 1.375rem;
}

.column .stop-mark {
  position: static;
  flex: none;
}

.column-name {
  color: var(--ink);
}

.column-next h2 {
  border-bottom-color: var(--sky);
}

.column-next .stop-mark {
  background: var(--sky);
}

.column-later h2 {
  border-bottom: 2px dashed var(--field-border);
}

.column-later .stop-mark {
  background: transparent;
  border: 2px solid var(--muted);
}

.count {
  margin-left: auto;
  min-width: 30px;
  padding: 2px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.cards {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card {
  --status: var(--status-released);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 18px 20px 18px 22px;
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--ink);
  transition:
    transform 200ms var(--ease),
    box-shadow 200ms var(--ease),
    border-color 200ms var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  inset: -1px auto -1px -1px;
  width: 4px;
  border-radius: var(--radius) 0 0 var(--radius);
  background: var(--status);
}

.card:hover,
.card:focus-within {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--status) 55%, var(--divider));
  box-shadow: var(--shadow);
}

/* Further out, less certain: the Later column sits a little further back. */
.column-later .card {
  border-style: dashed;
  background: color-mix(in srgb, var(--card) 72%, transparent);
}

.card.status-exploring,
.status-exploring {
  --status: var(--status-exploring);
}

.card.status-planned,
.status-planned {
  --status: var(--status-planned);
}

.card.status-development,
.status-development {
  --status: var(--status-development);
}

.card.status-preview,
.status-preview {
  --status: var(--status-preview);
}

.card.status-released,
.status-released {
  --status: var(--status-released);
}

.card-title {
  font-size: 1.0625rem;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}

.card-title::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
}

.card-title:focus-visible {
  outline: none;
}

.card-title:focus-visible::after {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

/* The status reads first, the title stays first for assistive technology. */
.card-status {
  order: -1;
  margin: 0 0 10px;
}

.card-meta {
  margin: 8px 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 11px 3px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--status) 12%, transparent);
  color: var(--status);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}

/* On the landing board a card says which product it belongs to, with that product's line colour. */
.card-product {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 0;
  font-size: 0.875rem;
  color: var(--grey);
}

.icon {
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon .solid {
  fill: currentColor;
  stroke: none;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.tags li {
  padding: 2px 9px;
  border-radius: 2px;
  background: color-mix(in srgb, var(--muted) 14%, transparent);
  color: var(--grey);
  font-size: 0.8125rem;
}

.empty {
  margin: 0;
  padding: 22px 20px;
  border: 1px dashed var(--field-border);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.9375rem;
}

.board-help {
  margin: 40px 0 0;
  font-size: 0.9375rem;
}

/* ---- item page ------------------------------------------------------------------------------ */

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.timeline,
.releases {
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  padding: 0 0 22px 28px;
  border-left: 2px solid var(--divider);
}

.timeline li:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.timeline li::before {
  content: "";
  position: absolute;
  top: 4px;
  left: -7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--card);
}

.timeline p {
  margin: 0;
  color: var(--grey);
}

.timeline-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
}

.timeline-head a {
  font-weight: 650;
}

.timeline-head time {
  font-size: 0.875rem;
  color: var(--muted);
}

/* ---- what's new ----------------------------------------------------------------------------- */

.releases {
  max-width: 880px;
}

.release {
  position: relative;
  padding: 0 0 48px 44px;
  border-left: 2px solid var(--divider);
  scroll-margin-top: 24px;
}

.release:last-child {
  border-left-color: transparent;
}

.release::before {
  content: "";
  position: absolute;
  top: 3px;
  left: -11px;
  width: 20px;
  height: 20px;
  border: 4px solid var(--surface);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 2px var(--accent);
}

.release h2 {
  font-size: 1.625rem;
}

.release-date {
  margin: 4px 0 18px;
  font-size: 0.9375rem;
  color: var(--muted);
}

.changes {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  background: var(--card);
}

.change {
  --mark: var(--status-planned);
  position: relative;
  display: grid;
  grid-template-columns: minmax(120px, 190px) minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 2px 24px;
  padding: 16px 20px 16px 44px;
}

.change + .change {
  border-top: 1px solid var(--divider);
}

/* A small mark per kind of change. The words beside it always say what happened. */
.change::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 20px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mark);
}

.change-added {
  --mark: var(--status-released);
}

.change-removed::before {
  background: transparent;
  border: 2px solid var(--muted);
}

.change-moved {
  --mark: var(--sky);
}

.change-moved::before {
  border-radius: 0;
  transform: rotate(45deg);
}

.change-status {
  --mark: var(--status-exploring);
}

.change-status::before {
  border-radius: 2px;
}

.change-product {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
}

.change-title {
  font-weight: 650;
}

.change-detail {
  font-size: 0.875rem;
  color: var(--grey);
  text-align: right;
}

.pager {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  max-width: 880px;
  margin-top: 8px;
}

.link-list {
  display: grid;
  gap: 12px;
  max-width: 640px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.link-list a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  background: var(--card);
  font-weight: 600;
  text-decoration: none;
  transition:
    border-color 180ms var(--ease),
    transform 180ms var(--ease);
}

.link-list a::after {
  content: "\2197";
}

.link-list a:hover {
  border-color: var(--accent);
  transform: translateX(4px);
}

/* ---- guide ------------------------------------------------------------------------------------ */

.guide {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
}

.guide .panel {
  grid-column: span 2;
}

.guide .panel:nth-child(-n + 2) {
  grid-column: span 3;
}

.terms {
  display: grid;
  gap: 14px;
  margin: 0;
}

.terms div {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
}

.terms dt {
  font-weight: 650;
}

.terms dd {
  margin: 0;
  color: var(--grey);
}

/* ---- forms ------------------------------------------------------------------------------------ */

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.form-card {
  padding: 40px;
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.field {
  margin: 0 0 24px;
}

.field > label,
legend {
  display: block;
  margin-bottom: 4px;
  padding: 0;
  font-weight: 600;
}

.hint {
  display: block;
  margin: 0 0 8px;
  font-size: 0.875rem;
  color: var(--muted);
}

input[type="text"],
input[type="email"],
textarea,
select {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--field-border);
  border-radius: 3px;
  background: var(--card);
  color: var(--ink);
  font: inherit;
  transition:
    border-color 160ms var(--ease),
    box-shadow 160ms var(--ease);
}

textarea {
  min-height: 168px;
  resize: vertical;
}

input[type="text"]:hover,
input[type="email"]:hover,
textarea:hover,
select:hover {
  border-color: var(--accent);
}

input[type="text"]:focus-visible,
input[type="email"]:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--sky) 55%, transparent);
}

fieldset {
  margin: 0 0 24px;
  padding: 0;
  border: 0;
}

.choice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 6px 0;
}

.choice input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 3px 0 0;
  accent-color: var(--accent);
}

.choice label {
  font-weight: 400;
}

/* A field for programs, not people (spec 18): kept out of sight and out of the tab order. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.error {
  margin: 8px 0 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--danger);
}

.error-summary {
  margin: 0 0 28px;
  padding: 14px 18px;
  border-left: 3px solid var(--danger);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: color-mix(in srgb, var(--danger) 9%, var(--card));
  font-weight: 500;
}

.status-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 28px 0 16px;
  font-size: 0.9375rem;
  color: var(--muted);
}

.status-line::before {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--field-border);
}

.status-line[data-state="working"]::before {
  border-top-color: var(--accent);
  animation: spin 800ms linear infinite;
}

.status-line[data-state="ready"] {
  color: var(--status-released);
}

.status-line[data-state="ready"]::before {
  border-color: var(--status-released);
  background: var(--status-released);
}

.status-line[data-state="failed"] {
  color: var(--danger);
}

.status-line[data-state="failed"]::before {
  border-color: var(--danger);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.form-plain {
  margin-top: 28px;
}

.form-aside {
  padding-top: 8px;
}

.form-aside h2 {
  margin: 0 0 16px;
  font-size: 1.125rem;
}

.form-aside p {
  font-size: 0.9375rem;
  color: var(--grey);
}

.steps {
  display: grid;
  gap: 16px;
  margin: 0 0 40px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding-left: 48px;
  min-height: 32px;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -3px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--accent);
  font-weight: 700;
}

/* ---- footer ----------------------------------------------------------------------------------- */

.site-footer {
  background: var(--navy);
  color: #b9c5e6;
  font-size: 0.9375rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
  gap: 40px;
  padding: 64px 0 48px;
}


.footer-brand p {
  max-width: 26rem;
  margin: 16px 0 0;
}

.site-footer h2 {
  margin-bottom: 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7f8fbd;
}

.site-footer ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: #ffffff;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-base {
  padding: 20px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.875rem;
}

/* ---- smaller screens ---------------------------------------------------------------------------- */

@media (max-width: 960px) {
  .board,
  .split,
  .guide,
  .form-layout,
  .take-part,
  .pillar {
    grid-template-columns: minmax(0, 1fr);
  }

  .pillar-name {
    position: static;
  }

  .horizon-timeline .column + .column {
    border-top: 1px solid var(--divider);
    border-left: 0;
  }

  .guide .panel,
  .guide .panel:nth-child(-n + 2) {
    grid-column: auto;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  /* The picture needs the room: what was beside the heading moves under it. */
  .stage-inner {
    flex-direction: column;
    gap: 20px;
  }

  .stage-foot {
    align-items: flex-start;
    margin-left: 0;
  }

  /* Once the journey is drawn it says all the summary did, and the picture needs the space. */
  .stage[data-route="on"] .track,
  .stage[data-route="on"] .release-note {
    display: none;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: min(100% - 32px, var(--wrap));
  }

  .bar {
    flex-wrap: wrap;
    padding: 14px 0 6px;
    min-height: 0;
  }

  .site-nav {
    flex-basis: 100%;
    margin: 0 -16px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .site-nav ul {
    padding: 0 6px 6px;
  }

  /* Sign in stays in view beside the name while the other links scroll. */
  .site-header .bar {
    position: relative;
  }

  .site-nav li:last-child {
    position: absolute;
    top: 9px;
    right: 0;
  }

  .site-nav .nav-cta {
    margin-left: 0;
    height: 38px;
  }

  .page-head {
    padding-top: 36px;
  }

  .stage-inner {
    padding-top: 28px;
  }

  .stage .track {
    width: 100%;
  }

  .page-body {
    padding: 36px 0 72px;
  }

  .page-body > section + section {
    margin-top: 64px;
  }

  .tiles {
    grid-template-columns: minmax(0, 1fr);
  }

  .tile,
  .panel,
  .notice,
  .invite {
    padding: 24px;
  }

  .form-card {
    padding: 24px 20px;
  }

  .change {
    grid-template-columns: minmax(0, 1fr);
  }

  .change-detail {
    text-align: left;
  }

  .release {
    padding-left: 28px;
  }

  .terms div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .action,
  .button {
    width: 100%;
    justify-content: space-between;
  }

  .action-back {
    width: auto;
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .roadmap-views {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 4px;
  }

  .roadmap-views-label {
    grid-column: 1 / -1;
    padding: 6px 8px 2px;
  }

  .roadmap-views a {
    justify-content: center;
    padding-inline: 6px;
  }
}

@media (max-width: 380px) {
  .brand-sub {
    display: none;
  }
}

/* ---- motion and print ----------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .stage,
  .actions,
  .take-part {
    display: none;
  }
}

/* Available now: features already in the product */
.available { margin-top: 2.5rem; }
.available-area { margin: 28px 0 12px; font-size: 1.0625rem; }
.available-month { margin-left: 0.5rem; color: var(--muted); font-size: 0.8125rem; font-weight: 500; }

/*
  Feature cards: used under Available now on a product page and in the catalogue. A grid that fills the width with
  cards of at least 280px, and one column on a phone. The green edge is the Released status colour.
*/
.feature-grid,
.available-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-card,
.available-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 18px 20px;
  border: 1px solid var(--divider);
  border-left: 3px solid var(--status-released);
  border-radius: var(--radius);
  background: var(--card);
}

.feature-card h3,
.feature-card h4 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}

.feature-card h3 a,
.feature-card h4 a,
.available-title {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.feature-card h3 a:hover,
.feature-card h4 a:hover,
.available-title:hover {
  color: var(--link);
  text-decoration: underline;
}

.feature-summary,
.available-summary {
  margin: 0;
  color: var(--grey);
  font-size: 0.9375rem;
  overflow-wrap: anywhere;
}

.feature-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin: auto 0 0;
  color: var(--muted);
  font-size: 0.8125rem;
}

.feature-meta:empty {
  display: none;
}

.feature-tag {
  padding: 1px 8px;
  border: 1px solid var(--divider);
  border-radius: 999px;
}

/* Links published with a feature, such as its guide on the learning portal. The arrow says it leaves this site. */
.feature-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  font-weight: 600;
}

.feature-links a::after {
  content: " 97";
}

.learn-heading {
  margin: 24px 0 8px;
  font-size: 1rem;
}

/* The catalogue: every feature in the product today, by product and area. */
.catalogue-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 36px;
}

.catalogue-jump ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.catalogue-jump a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--divider);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}

.catalogue-jump a:hover {
  border-color: var(--accent);
}

/* The chosen product is filled and underlined, so it is not told apart by colour alone. */
.catalogue-jump a[aria-current="true"] {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--on-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.catalogue-jump .count {
  margin-left: 0;
  min-width: 0;
  padding: 0 8px;
}

.catalogue-jump a[aria-current="true"] .count {
  background: color-mix(in srgb, var(--on-accent) 18%, transparent);
  color: var(--on-accent);
}

.catalogue-search {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  align-items: center;
}

.catalogue-search label {
  width: 100%;
  color: var(--grey);
  font-size: 0.8125rem;
  font-weight: 600;
}

.catalogue-search input {
  width: 16rem;
  min-width: 0;
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--field-border);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--ink);
  font: inherit;
}

.catalogue-search button {
  padding: 10px 18px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--on-accent);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.catalogue-product {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 3px solid var(--accent);
}

.catalogue-tools + .catalogue-product {
  margin-top: 0;
}

.catalogue-head {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: start;
  justify-content: space-between;
}

.catalogue-head h2 {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 0 0 8px;
}

.catalogue-head h2 a {
  color: inherit;
  text-decoration: none;
}

.catalogue-head h2 a:hover {
  text-decoration: underline;
}

.catalogue-head .count,
.catalogue-area .count {
  margin-left: 0;
}

.catalogue-summary {
  max-width: 44rem;
  margin: 0 0 6px;
  color: var(--grey);
}

.catalogue-platform {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.catalogue-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
}

.catalogue-area {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin: 0;
  font-size: 1.0625rem;
}

/*
  An area folds without script. The summary is the whole row, so it is an easy target on a phone, and it carries its
  own marker: a chevron that turns when the area is open.
*/
.catalogue-fold {
  margin-top: 12px;
  border-top: 1px solid var(--divider);
}

.catalogue-head + .catalogue-fold {
  margin-top: 24px;
}

.catalogue-fold > summary {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 6px 0;
  cursor: pointer;
  list-style: none;
}

.catalogue-fold > summary::-webkit-details-marker {
  display: none;
}

.catalogue-fold > summary::before {
  flex: none;
  width: 8px;
  height: 8px;
  margin: 0 6px 0 2px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  content: "";
  transform: rotate(-45deg);
}

.catalogue-fold[open] > summary::before {
  transform: rotate(45deg);
}

.catalogue-fold > summary:hover .catalogue-area {
  color: var(--link);
}

.catalogue-fold > summary:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 2px;
}

.catalogue-fold > .feature-grid {
  margin: 4px 0 20px;
}

.catalogue-head + .feature-grid {
  margin-top: 24px;
}

@media (max-width: 640px) {
  .catalogue-search,
  .catalogue-search input {
    width: 100%;
  }

  .catalogue-search input {
    flex: 1 1 8rem;
    width: auto;
  }
}

/* Landing product cards: what it does today, what is next, what changed last (spec 7). */
.tile-today,
.tile-label,
.tile-release {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
}

.tile-label {
  font-weight: 600;
  margin-bottom: 0;
}

.tile-next {
  margin: 0.15rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
}

/* The card's own link covers the whole card; these links sit above it so they can be used. */
.tile-today a,
.tile-next a,
.tile-release a {
  position: relative;
  z-index: 1;
}

/* The four parts of a product page share one heading size. */
.part-heading {
  margin-top: 2rem;
}

.whats-new .changes {
  margin-top: 0.5rem;
}

.change-date {
  color: var(--grey);
  font-size: 0.9rem;
}

/* The public Timeline in quarters: one table, a column per quarter. Words and icons carry status; colour never does alone. */
.tl-note {
  margin: 0 0 24px;
  padding: 12px 16px;
  border-left: 3px solid var(--sky);
  background: color-mix(in srgb, var(--accent) 7%, var(--card));
  color: var(--grey);
  font-size: 0.9375rem;
  font-weight: 600;
}

.tl-product {
  margin-bottom: 48px;
}

.tl-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.tl-scroll {
  overflow-x: auto;
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  background: var(--card);
}

.tl-grid {
  width: 100%;
  min-width: 960px;
  border-collapse: collapse;
  table-layout: fixed;
}

.tl-grid th,
.tl-grid td {
  padding: 12px;
  border-right: 1px solid var(--divider);
  vertical-align: top;
  text-align: left;
}

.tl-grid th:last-child,
.tl-grid td:last-child {
  border-right: 0;
}

.tl-grid th {
  border-bottom: 2px solid var(--divider);
  font-size: 0.875rem;
  font-weight: 700;
}

.tl-grid .tl-current {
  background: color-mix(in srgb, var(--sky) 12%, var(--card));
}

.tl-current-mark {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--grey);
}

.tl-items {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tl-item {
  display: grid;
  gap: 6px;
  justify-items: start;
}

.tl-title {
  font-weight: 600;
  overflow-wrap: anywhere;
}

.tl-empty {
  color: var(--muted);
  font-size: 0.875rem;
}

.tl-unscheduled {
  margin-top: 24px;
}

.tl-unscheduled h4 {
  margin: 16px 0 8px;
  font-size: 1rem;
}

/* ---- focus on the dark frame ---------------------------------------------------------------------
   The ring colour is dark blue on light surfaces; on the navy header, footer and stage it must be light. */

.site-header :focus-visible,
.site-footer :focus-visible,
.stage:focus-visible,
.skip-link:focus-visible {
  outline-color: var(--sky);
}
