/* ==========================================================================
   teqqr: shared stylesheet
   Used by index.html, every migration-*.html page and logo-explorations.html
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Fonts (self-hosted, Latin subset; SIL Open Font License, see fonts/OFL.txt)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 100 700; /* variable font: one file covers every weight */
  font-display: swap;
  src: url("fonts/ibm-plex-sans-latin-var.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-latin-400.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-latin-500.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-latin-600.woff2") format("woff2");
}

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --font-sans: "IBM Plex Sans", Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.19, 1, 0.22, 1);

  /* light surfaces */
  --bg: oklch(0.965 0.006 255);
  --bg-alt: oklch(0.945 0.008 255);
  --surface: oklch(0.985 0.003 255);
  --surface-2: oklch(0.975 0.004 255);
  --line: oklch(0.86 0.012 255);
  --line-2: oklch(0.88 0.012 255);
  --line-3: oklch(0.89 0.01 255);

  /* text on light */
  --ink: oklch(0.22 0.025 255);
  --ink-strong: oklch(0.2 0.025 255);
  --text-2: oklch(0.3 0.02 255);
  --text-3: oklch(0.34 0.02 255);
  --text-4: oklch(0.38 0.02 255);
  --text-5: oklch(0.42 0.02 255);
  --muted: oklch(0.5 0.02 255);

  /* accents */
  --accent: oklch(0.5 0.16 255);
  --accent-ink: oklch(0.42 0.15 253);
  --accent-soft: oklch(0.955 0.02 255);
  --accent-line: oklch(0.6 0.12 255);
  --link: oklch(0.45 0.15 255);
  --link-hover: oklch(0.33 0.12 255);
  --focus: oklch(0.62 0.17 250);
  --go: oklch(0.62 0.16 150);

  /* dark surfaces */
  --dark: oklch(0.155 0.03 258);
  --dark-ink: oklch(0.15 0.03 258);
  --dark-line: oklch(0.3 0.03 258);
  --on-dark: oklch(0.96 0.006 255);
  --bright: oklch(0.72 0.15 250);
  --bright-2: oklch(0.78 0.16 250);
  --bright-hover: oklch(0.8 0.15 250);
  --dim-on-dark: oklch(0.7 0.045 252);

  --header-h: 68px;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  /* keep anchor targets and focused elements clear of the sticky header */
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}

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

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
::selection { background: oklch(0.88 0.15 145); color: oklch(0.2 0.03 258); }

strong { font-weight: 600; }

summary::-webkit-details-marker { display: none; }

@keyframes lineUp { from { transform: translateY(110%); } to { transform: translateY(0); } }
@keyframes caretBlink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes pulseDot { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 oklch(0.62 0.16 150 / 0.5); }
  70% { box-shadow: 0 0 0 7px oklch(0.62 0.16 150 / 0); }
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes flow { from { background-position: 0 0; } to { background-position: 24px 0; } }
@keyframes sweep { from { top: 0; opacity: 1; } to { top: 100%; opacity: 0; } }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* --------------------------------------------------------------------------
   3. Accessibility helpers
   -------------------------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--bright);
  color: var(--dark-ink);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 160ms var(--ease-out);
}
.skip-link:focus,
.skip-link:hover { color: var(--dark-ink); transform: translateY(0); }

/* --------------------------------------------------------------------------
   4. Layout primitives
   -------------------------------------------------------------------------- */
.page { min-height: 100vh; display: flex; flex-direction: column; }
.page__main { flex: 1; }
.page__main:focus { outline: none; }

.container {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.container--pb-78 { padding-bottom: 78px; }
.container--pb-84 { padding-bottom: 84px; }
.container--pb-88 { padding-bottom: 88px; }

.section { position: relative; border-bottom: 1px solid var(--line); }
.section--alt { background: var(--bg-alt); }
.section--clip { overflow: hidden; }
.section--dark {
  overflow: hidden;
  background: var(--dark);
  color: var(--on-dark);
  border-bottom: 0;
}

.stack { display: grid; gap: 20px; align-content: start; }

.split {
  display: grid;
  gap: 40px 64px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  align-items: center;
}
.split--pt { padding-top: 54px; }

/* --------------------------------------------------------------------------
   5. Typography components
   -------------------------------------------------------------------------- */
.mono { font-family: var(--font-mono); }

.eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.eyebrow--on-dark { color: oklch(0.78 0.09 255); }

.section-head { display: grid; gap: 12px; }
.section-head--track { padding: 48px 0 6px; }
.section-head--pillars { padding-top: 46px; padding-bottom: 22px; gap: 14px; }
.section-head--process { padding: 46px 0 34px; }
.section-head--lg { padding: 54px 0 36px; }

.section-title {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.024em;
  font-weight: 600;
}
.section-title--sm { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.1; }
.section-title--md { font-size: clamp(28px, 3.8vw, 40px); }
.section-title--case { font-size: clamp(26px, 3.6vw, 38px); }
.section-title--faq { font-size: clamp(28px, 3.8vw, 40px); line-height: 1.06; }
.section-title--w14 { max-width: 14ch; }
.section-title--w20 { max-width: 20ch; }
.section-title--w24 { max-width: 24ch; }
.section-title--w26 { max-width: 26ch; }
.section-title--w30 { max-width: 30ch; }

.body-text { margin: 0; font-size: 16.5px; line-height: 1.62; color: var(--text-2); }
.body-text--58 { max-width: 58ch; }

/* The "§01 / label ---- ■" rule at the top of each section */
.section-mark { display: flex; align-items: center; gap: 12px; padding-top: 18px; }
.section-mark__rule {
  height: 1px;
  flex: 1 1 auto;
  background: var(--line);
  transform-origin: left center;
  transition: transform 900ms var(--ease-out);
}
.section-mark__rule.is-pending { transform: scaleX(0); }
.section-mark__label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  white-space: nowrap;
  color: var(--muted);
}
.section-mark__dot { width: 5px; height: 5px; background: var(--accent); }
.section-mark--on-dark .section-mark__rule { background: oklch(0.72 0.15 250 / 0.35); }
.section-mark--on-dark .section-mark__label { color: oklch(0.7 0.05 252); }
.section-mark--on-dark .section-mark__dot { background: var(--bright); }

/* --------------------------------------------------------------------------
   6. Buttons & links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 30px;
  font-size: 15.5px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 160ms var(--ease-out), background 160ms linear, box-shadow 200ms ease-out;
}
.btn--wide { padding: 17px 32px; }
.btn__arrow { font-family: var(--font-mono); transition: transform 200ms var(--ease-out); }
.btn:hover .btn__arrow,
.btn:focus-visible .btn__arrow { transform: translateX(5px); }

.btn--bright { background: var(--bright); border-color: var(--bright); color: var(--dark-ink); }
.btn--bright:hover,
.btn--bright:focus-visible {
  color: var(--dark-ink);
  background: var(--bright-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px oklch(0.72 0.15 250 / 0.24);
}

.btn--dark {
  background: var(--ink);
  border-color: var(--ink);
  color: oklch(0.97 0.005 255);
  letter-spacing: -0.005em;
}
.btn--dark:hover,
.btn--dark:focus-visible {
  color: oklch(0.97 0.005 255);
  background: var(--accent-ink);
  transform: translateY(-3px);
  box-shadow: 0 22px 46px -26px oklch(0.4 0.12 258 / 0.9);
}

.text-link {
  justify-self: start;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  transition: color 160ms linear;
}
.text-link--lg { font-size: 14px; padding-bottom: 3px; }
.text-link:hover,
.text-link:focus-visible { color: var(--accent-ink); }

/* --------------------------------------------------------------------------
   7. Site header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--dark);
  color: var(--on-dark);
  border-bottom: 1px solid var(--dark-line);
  transition: background 260ms linear, color 260ms linear, border-color 260ms linear;
}
.site-header__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-header__actions { display: flex; align-items: center; gap: 24px; }

.brand {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: inherit;
  text-decoration: none;
}
.brand:hover { color: inherit; }
.brand__prompt { color: var(--bright); margin-right: 4px; }
.brand__caret {
  display: inline-block;
  width: 8px;
  height: 15px;
  margin-left: 3px;
  align-self: center;
  background: var(--bright);
  animation: caretBlink 1.1s steps(1) infinite;
}

.site-nav { display: none; }
.site-nav__list {
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
}
@media (min-width: 760px) {
  .site-nav { display: block; }
}

.header-link {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: inherit;
  opacity: 0.72;
  text-decoration: none;
}
.header-link:hover,
.header-link:focus-visible,
.header-link[aria-current="page"] { opacity: 1; color: var(--bright); }

/* Inner pages put "All migrations" straight in the header. On narrow phones it
   wraps onto two lines, so drop it there (the logo still links home). */
@media (max-width: 439.98px) {
  .site-header__actions > .header-link { display: none; }
}

.header-cta {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: inherit;
  text-decoration: none;
  border: 1px solid var(--bright);
  padding: 8px 14px;
  transition: background 140ms linear, color 140ms linear;
  white-space: nowrap;
}
.header-cta:hover,
.header-cta:focus-visible { background: var(--bright); color: var(--dark-ink); }

.scroll-progress { position: relative; height: 2px; overflow: hidden; background: var(--dark-line); }
.scroll-progress__bar { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--bright); }

/* header flips to light once the dark hero has scrolled past (index only) */
.site-header--light {
  background: oklch(0.965 0.006 255 / 0.92);
  color: var(--ink);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.site-header--light .brand__prompt { color: var(--accent); }
.site-header--light .brand__caret { background: var(--accent); }
.site-header--light .header-cta { border-color: var(--accent); }
.site-header--light .header-cta:hover,
.site-header--light .header-cta:focus-visible { background: var(--accent); color: oklch(0.99 0 0); }
.site-header--light .header-link:hover,
.site-header--light .header-link:focus-visible { color: var(--accent); }

/* --------------------------------------------------------------------------
   8. Decorative background layers
   -------------------------------------------------------------------------- */
.bg-grid,
.bg-dots,
.bg-lines {
  position: absolute;
  pointer-events: none;
  will-change: transform;
}
.bg-grid {
  inset: -12%;
  opacity: 0.5;
  background-image:
    repeating-linear-gradient(to right, oklch(0.72 0.15 250 / 0.13) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(to bottom, oklch(0.72 0.15 250 / 0.13) 0 1px, transparent 1px 72px);
}
.bg-grid--cta {
  background-image:
    repeating-linear-gradient(to right, oklch(0.72 0.15 250 / 0.12) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(to bottom, oklch(0.72 0.15 250 / 0.12) 0 1px, transparent 1px 72px);
  -webkit-mask-image: radial-gradient(120% 90% at 20% 0%, black, transparent 72%);
  mask-image: radial-gradient(120% 90% at 20% 0%, black, transparent 72%);
}
.bg-dots {
  inset: -12%;
  opacity: 0.6;
  background-image: radial-gradient(oklch(0.72 0.15 250 / 0.5) 1px, transparent 1.4px);
  background-size: 24px 24px;
}
.bg-lines--track {
  top: -40px;
  left: 0;
  right: 0;
  height: 320px;
  background-image: repeating-linear-gradient(to right, oklch(0.5 0.16 255 / 0.1) 0 1px, transparent 1px 72px);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 78%);
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}
.bg-lines--contact {
  inset: -10% 0 auto 0;
  height: 130%;
  background-image:
    repeating-linear-gradient(to right, oklch(0.5 0.16 255 / 0.07) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(to bottom, oklch(0.5 0.16 255 / 0.05) 0 1px, transparent 1px 72px);
  -webkit-mask-image: radial-gradient(120% 80% at 20% 0%, black, transparent 72%);
  mask-image: radial-gradient(120% 80% at 20% 0%, black, transparent 72%);
}

/* Icon masks (Lucide, ISC license, see icons/LICENSE.txt) */
.icon {
  display: block;
  flex: 0 0 auto;
  background: var(--accent);
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
.icon--plane { --icon: url("icons/plane.svg"); }
.icon--bot { --icon: url("icons/bot.svg"); }
.icon--shield { --icon: url("icons/shield-check.svg"); }
.icon--stethoscope { --icon: url("icons/stethoscope.svg"); }
.icon--sparkles { --icon: url("icons/sparkles.svg"); }

/* --------------------------------------------------------------------------
   9. Scroll reveal (classes are added by main.js, so no-JS shows everything)
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 760ms var(--ease-out), transform 760ms var(--ease-out);
}
.reveal--left { transform: translateX(-34px); }
.reveal--right { transform: translateX(34px); }
.reveal.is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   10. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: var(--on-dark);
  border-bottom: 1px solid var(--dark-line);
}
.hero__spot {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 400ms linear;
  background: radial-gradient(420px 420px at var(--spot-x, 50%) var(--spot-y, 50%), oklch(0.62 0.17 250 / 0.3), transparent 70%);
}
.hero__spot.is-on { opacity: 1; }

.hero__inner { position: relative; max-width: 1180px; margin: 0 auto; padding: 88px 24px 0; }
.hero__cols {
  display: grid;
  gap: 46px 56px;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}
@media (min-width: 940px) {
  .hero__cols { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
}

.hero__copy { display: grid; gap: 30px; min-width: 0; }
.hero__kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: oklch(0.82 0.06 250);
}
.pulse-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bright-2);
  animation: pulseDot 2.4s ease-in-out infinite;
}

.hero__title {
  margin: 0;
  font-size: clamp(34px, 5.4vw, 60px);
  line-height: 0.98;
  letter-spacing: -0.036em;
  font-weight: 600;
  max-width: 17ch;
}
.hero__line { display: block; overflow: hidden; padding-bottom: 0.16em; margin-bottom: -0.12em; }
.hero__line > span { display: block; animation: lineUp 820ms var(--ease-expo) both; }
.hero__line:nth-child(1) > span { animation-delay: 60ms; }
.hero__line:nth-child(2) > span { animation-delay: 170ms; }
.hero__line:nth-child(3) > span { animation-delay: 280ms; }
.hero__line:nth-child(4) > span { animation-delay: 360ms; }
.hero__line:nth-child(5) > span { animation-delay: 440ms; }
.hero__line--dim > span { color: var(--dim-on-dark); }
.hero__punct { color: var(--bright-2); }

.hero__lede {
  margin: 0;
  max-width: 58ch;
  font-size: clamp(16.5px, 1.9vw, 19px);
  line-height: 1.6;
  color: oklch(0.84 0.015 255);
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.hero__note { margin: 0; font-family: var(--font-mono); font-size: 12.5px; color: oklch(0.74 0.02 255); }

/* Migration-page hero variant */
.hero--migration .hero__inner,
.hero--404 .hero__inner,
.hero--legal .hero__inner {
  padding: 84px 24px 80px;
  display: grid;
  gap: 48px 56px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  align-items: center;
}
.hero--migration .hero__copy,
.hero--404 .hero__copy,
.hero--legal .hero__copy { gap: 28px; }
.hero--migration .hero__title,
.hero--404 .hero__title,
.hero--legal .hero__title { font-size: clamp(34px, 5.2vw, 58px); max-width: none; }
.hero--migration .hero__lede,
.hero--404 .hero__lede,
.hero--legal .hero__lede { max-width: 54ch; }
.hero--migration .bg-dots,
.hero--404 .bg-dots,
.hero--legal .bg-dots { opacity: 0.55; }

/* 404 page */
.hero--404 { border-bottom: 0; }
.hero__path {
  font-family: var(--font-mono);
  font-size: 0.92em;
  color: var(--bright-2);
  overflow-wrap: anywhere;
}
.hero__link {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--on-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--bright);
  padding-bottom: 3px;
}
.hero__link:hover,
.hero__link:focus-visible { color: var(--bright); }

/* Dark "editor window" card used in both heroes */
.code-card {
  position: relative;
  min-width: 0;
  margin: 0;
  border: 1px solid oklch(0.4 0.06 255);
  background: oklch(0.175 0.028 258 / 0.92);
  box-shadow: 0 28px 70px oklch(0.1 0.04 258 / 0.55);
}
.code-card--tilt { will-change: transform; transition: transform 220ms ease-out; }
.code-card__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid oklch(0.32 0.04 258);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: oklch(0.7 0.045 250);
}
.code-card__lights { display: flex; gap: 6px; }
.code-card__lights span { width: 7px; height: 7px; border: 1px solid oklch(0.5 0.06 255); }
.code-card__lights span:last-child { border: 0; background: var(--bright); }
.code-card__body { padding: 18px 18px 20px; display: grid; gap: 2px; }
.code-card__foot {
  border-top: 1px solid oklch(0.32 0.04 258);
  padding: 12px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: oklch(0.66 0.035 252);
}

.code-line { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; align-items: baseline; }
.code-line__n { font-family: var(--font-mono); font-size: 11px; color: oklch(0.58 0.03 255); }
.code-line__c {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.75;
  color: oklch(0.93 0.012 255);
  white-space: pre-wrap;
  word-break: break-word;
}
.code-caret {
  display: inline-block;
  width: 8px;
  height: 15px;
  margin-left: 6px;
  vertical-align: -2px;
  background: var(--bright-2);
  animation: caretBlink 1.1s step-end infinite;
}

.tok-key { color: var(--bright-2); }
.tok-comment { color: oklch(0.6 0.05 160); }
.tok-ok { color: oklch(0.8 0.14 150); }
.tok-warn { color: oklch(0.85 0.15 90); }

/* Scrolling platform marquee */
.marquee {
  margin: 52px -24px 0;
  padding: 14px 0 15px;
  overflow: hidden;
  border-top: 1px solid var(--dark-line);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: oklch(0.7 0.035 252);
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 14px; padding-right: 14px; }
.marquee__item::after { content: ""; width: 4px; height: 4px; background: var(--bright); }

/* --------------------------------------------------------------------------
   11. Lists
   -------------------------------------------------------------------------- */
.plus-list { margin: 0; padding: 0; list-style: none; display: grid; }
.plus-list > li {
  position: relative;
  padding: 10px 0 10px 20px;
  border-top: 1px solid var(--line-3);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-4);
}
.plus-list > li::before {
  content: "+";
  content: "+" / "";
  position: absolute;
  left: 0;
  top: 9px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.55;
  color: var(--accent);
}

/* services lists on the homepage */
.plus-list--hover > li {
  padding: 11px 0 11px 20px;
  font-size: 15.5px;
  max-width: 72ch;
  transition: padding-left 180ms var(--ease-out), color 180ms linear, background 180ms linear;
}
.plus-list--hover > li::before { top: 10px; opacity: 0.85; }
.plus-list--hover > li:hover {
  padding-left: 28px;
  color: var(--ink-strong);
  background: oklch(0.96 0.008 255);
}

/* migration-page tooling list */
.plus-list--roomy > li {
  padding: 12px 0 12px 22px;
  font-size: 15.5px;
  color: var(--text-3);
}
.plus-list--roomy > li:last-child { border-bottom: 1px solid var(--line-3); }
.plus-list--roomy > li::before { top: 12px; line-height: inherit; }
.plus-list--roomy strong { color: var(--ink); }

/* dash / plus list used in the before/after cards */
.mark-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.mark-list > li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-3);
}
.mark-list > li::before {
  content: "–";
  content: "–" / "";
  font-family: var(--font-mono);
  color: oklch(0.6 0.02 255);
}
.mark-list--plus > li { color: oklch(0.28 0.02 255); }
.mark-list--plus > li::before { content: "+"; content: "+" / ""; color: var(--accent); }

/* --------------------------------------------------------------------------
   12. Homepage: track record
   -------------------------------------------------------------------------- */
/* 1 → 2 → 4 column grid with rules only between items */
.rule-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  --rule: oklch(0.87 0.012 255);
  --pad-top: 30px;
  --pad-bottom: 32px;
}
.rule-grid > li {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: var(--pad-top) 0 var(--pad-bottom);
}
.rule-grid > li + li { border-top: 1px solid var(--rule); }

@media (min-width: 640px) {
  .rule-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rule-grid > li + li { border-top: 0; }
  .rule-grid > li:nth-child(n + 3) { border-top: 1px solid var(--rule); }
  .rule-grid > li:nth-child(odd) { padding-right: 24px; }
  .rule-grid > li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--rule); }
}
@media (min-width: 1000px) {
  .rule-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rule-grid > li:nth-child(n) { padding: var(--pad-top) 24px var(--pad-bottom); border-left: 1px solid var(--rule); border-top: 0; }
  .rule-grid > li:nth-child(4n + 1) { padding-left: 0; border-left: 0; }
  .rule-grid > li:nth-child(4n) { padding-right: 0; }
  .rule-grid > li:nth-child(n + 5) { border-top: 1px solid var(--rule); }
}

.record__head { display: flex; align-items: center; gap: 10px; }
.record__icon { width: 28px; height: 28px; }
.record__num { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--accent); }
.record__text { margin: 0; font-size: 15.5px; line-height: 1.5; max-width: 34ch; }

/* --------------------------------------------------------------------------
   13. Homepage: services timeline
   -------------------------------------------------------------------------- */
.timeline { position: relative; padding-bottom: 76px; }
.timeline__texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(to right, oklch(0.5 0.16 255 / 0.05) 0 1px, transparent 1px 96px);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 12%, black 88%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 12%, black 88%, transparent);
}
.timeline__spine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 24px;
  width: 1px;
  background: oklch(0.87 0.012 255);
}
.timeline__fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 0;
  background: var(--accent);
  transition: height 120ms linear;
}
.timeline__fill.is-full { height: 100%; transition: height 900ms var(--ease-out); }
.timeline__ticks { position: absolute; inset: 0; }
.tick { position: absolute; left: 1px; width: 5px; height: 1px; background: var(--line); }
.tick--major { width: 9px; }
.tick-label {
  position: absolute;
  left: 14px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: oklch(0.8 0.015 255);
}

.pin-track { position: relative; }
.pin-panel { position: relative; }
.pin-art { display: none; position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.pin-mark {
  position: absolute;
  right: -4%;
  top: 50%;
  width: 46vh;
  height: 46vh;
  opacity: 0;
  background: oklch(0.5 0.16 255 / 0.085);
  transform: translateY(-50%) scale(0.9) rotate(-6deg);
  transition: opacity 620ms var(--ease-out), transform 900ms var(--ease-out);
}
.pin-mark.is-past { transform: translateY(-50%) scale(0.9) rotate(8deg); }
.pin-mark.is-active { opacity: 1; transform: translateY(-50%) scale(1) rotate(0deg); }
.pin-ghost {
  position: absolute;
  left: -2%;
  bottom: 0;
  font-family: var(--font-mono);
  font-size: 30vh;
  line-height: 0.78;
  letter-spacing: -0.05em;
  color: oklch(0.905 0.018 255 / 0.55);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms var(--ease-out), transform 900ms var(--ease-out);
}
.pin-ghost.is-shown { opacity: 1; transform: translateY(0); }
.pin-sweep {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  opacity: 0;
  background: linear-gradient(to right, transparent, oklch(0.5 0.16 255 / 0.5), transparent);
}
.pin-sweep.is-sweeping { animation: sweep 760ms var(--ease-out) both; }

.pin-nav { display: none; gap: 10px; align-items: center; justify-content: center; padding-bottom: 8px; }
.pin-nav__btn {
  appearance: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  transition: color 200ms linear, border-color 200ms linear, background 200ms linear;
}
.pin-nav__btn::before {
  content: "";
  width: 5px;
  height: 5px;
  background: oklch(0.82 0.02 255);
  transition: background 200ms linear;
}
.pin-nav__btn[aria-current="true"] { color: var(--ink); border-color: var(--accent-line); background: var(--accent-soft); }
.pin-nav__btn[aria-current="true"]::before { background: var(--accent); }

/* Pinned ("sticky slideshow") mode, toggled by main.js on wide screens */
.timeline.is-pinned .timeline__spine { display: none; }
.timeline.is-pinned .pin-track { height: 300vh; }
.timeline.is-pinned .pin-panel {
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: center;
  overflow: hidden;
}
.timeline.is-pinned .pin-nav { display: flex; }
.timeline.is-pinned .pin-art { display: block; grid-area: 1 / 1 / -1 / -1; }
.timeline.is-pinned .stage {
  grid-area: 2 / 1;
  align-self: center;
  max-height: 100%;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(22px);
  transition: opacity 520ms var(--ease-out), transform 520ms var(--ease-out);
}
.timeline.is-pinned .stage.is-past { transform: translateY(-22px); }
.timeline.is-pinned .stage.is-active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.timeline.is-pinned .stage .reveal { opacity: 1; transform: none; }
.timeline.is-pinned .stage__inner { padding: 4px 0 8px; }

.stage__inner {
  position: relative;
  padding: 30px 0 46px;
  display: grid;
  gap: 26px 0;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}
.stage__node {
  position: absolute;
  top: 30px;
  left: -18px;
  z-index: 2;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid oklch(0.8 0.035 255);
  background: var(--surface);
  transition: border-color 300ms ease, box-shadow 300ms ease, background 300ms ease;
}
.stage__glyph { width: 17px; height: 17px; background: oklch(0.66 0.04 255); transition: background 300ms ease; }
.stage__node.is-lit { border-color: var(--accent); box-shadow: 0 0 0 6px oklch(0.5 0.16 255 / 0.12); }
.stage__node.is-lit .stage__glyph { background: var(--accent); }
.stage__stub { display: none; position: absolute; top: 48px; width: 22px; height: 1px; background: var(--line); }
.stage__stub--left { left: calc(50% - 40px); }
.stage__stub--right { left: calc(50% + 18px); }

.stage__side { display: grid; gap: 14px; align-content: start; padding-left: 30px; }
.stage__side--detail { gap: 20px; }
.stage__num-row { display: flex; align-items: baseline; gap: 12px; }
.stage__num {
  font-family: var(--font-mono);
  font-size: 54px;
  line-height: 0.85;
  letter-spacing: -0.03em;
  color: oklch(0.905 0.018 255);
}
.stage__status { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--accent); }
.stage__label { margin: 0; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--accent); }
.stage__title {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.14;
  letter-spacing: -0.02em;
  font-weight: 600;
  max-width: 18ch;
}
.stage__lede { margin: 0; font-size: 16.5px; line-height: 1.62; color: var(--text-2); max-width: 70ch; }

@media (min-width: 900px) {
  .timeline__spine { left: calc(50% - 0.5px); }
  .stage__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 76px; }
  .stage__node { left: calc(50% - 18px); }
  .stage__stub { display: block; }
  .stage__side { padding-left: 0; }
  .stage__side--summary { text-align: right; justify-items: end; }
  .stage__side--summary .stage__title { margin-left: auto; }
}

/* small terminal card under each service */
.term-card {
  width: 100%;
  max-width: 330px;
  margin-top: 6px;
  padding: 12px 14px;
  display: grid;
  gap: 5px;
  border: 1px solid oklch(0.885 0.012 255);
  background: var(--surface-2);
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--text-5);
  text-align: left;
}
.term-card__comment { color: oklch(0.55 0.02 255); }
.term-card__prompt { color: var(--accent); }
.term-card__indent { padding-left: 2ch; }
.type-caret {
  display: inline-block;
  width: 7px;
  height: 12px;
  margin-left: 2px;
  vertical-align: -1px;
  background: var(--accent);
  animation: caretBlink 0.92s steps(1) infinite;
}

/* "Where are you migrating?" picker */
.picker {
  max-width: 640px;
  padding: 18px 18px 16px;
  display: grid;
  gap: 14px;
  border: 1px solid oklch(0.86 0.014 255);
  background: var(--surface);
}
.picker__title { margin: 0; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; color: var(--muted); }
.picker__row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: end; }
.picker__field { display: grid; gap: 6px; min-width: 0; }
.picker__label { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.picker__select {
  width: 100%;
  min-width: 0;
  -webkit-appearance: none;
  appearance: none;
  padding: 11px 32px 11px 12px;
  border: 1px dashed oklch(0.6 0.03 255);
  border-radius: 0;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23667'/%3E%3C/svg%3E") no-repeat right 12px center;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}
.picker__select--to { border: 1px solid var(--accent); background-color: oklch(0.5 0.16 255 / 0.05); }
.picker__arrow { padding-bottom: 12px; font-family: var(--font-mono); font-size: 15px; color: var(--accent); }
.picker__go {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--ink);
  color: oklch(0.97 0.005 255);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background 140ms linear, transform 140ms ease-out;
}
.picker__go:hover,
.picker__go:focus-visible { background: var(--accent); color: oklch(0.99 0 0); transform: translateY(-2px); }

/* --------------------------------------------------------------------------
   14. Homepage: case study
   -------------------------------------------------------------------------- */
.case { display: grid; gap: 40px 64px; padding-top: 46px; align-items: start; }
.case__aside { gap: 14px; }
@media (min-width: 900px) {
  .case { grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.85fr); }
}

.phase-tabs { display: none; gap: 8px; }
.phase-tabs.is-enhanced { display: grid; }
@media (min-width: 560px) {
  .phase-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.phase-tab {
  appearance: none;
  cursor: pointer;
  display: grid;
  gap: 4px;
  justify-items: start;
  padding: 12px 16px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  font: inherit;
  text-align: left;
  transition: border-color 200ms linear, background 200ms linear, color 200ms linear;
}
.phase-tab__n {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
  transition: color 200ms linear;
}
.phase-tab__t {
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-5);
  transition: color 200ms linear;
}
.phase-tab[aria-selected="true"] { border-color: var(--accent-line); background: var(--accent-soft); }
.phase-tab[aria-selected="true"] .phase-tab__n { color: var(--accent-ink); }
.phase-tab[aria-selected="true"] .phase-tab__t { color: var(--ink-strong); }

.phase-stack { display: grid; gap: 28px; }
.phase-stack.is-enhanced { gap: 0; }
.phase-panel { display: grid; gap: 14px; }
.phase-panel__title { margin: 0; font-family: var(--font-mono); font-size: 10.5px; font-weight: 400; letter-spacing: 0.1em; color: var(--muted); }
.phase-stack.is-enhanced .phase-panel__title { display: none; }
.phase-stack.is-enhanced .phase-panel {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out), visibility 0s linear 420ms;
}
.phase-stack.is-enhanced .phase-panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out), visibility 0s;
}
.phase-panel__lede { margin: 0; max-width: 58ch; font-size: 16px; line-height: 1.62; color: oklch(0.32 0.02 255); }

.metrics {
  display: grid;
  gap: 1px;
  margin: 0;
  background: var(--line-2);
  border: 1px solid var(--line-2);
}
@media (min-width: 560px) {
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.metric { display: grid; gap: 6px; padding: 20px 22px; background: var(--surface); }
.metric dt { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; color: var(--muted); }
.metric dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.log {
  display: grid;
  gap: 10px;
  padding: 18px 20px 20px;
  border: 1px solid var(--line-2);
  background: var(--surface-2);
}
.log__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-3);
}
.log__title { margin: 0; font-family: var(--font-mono); font-size: 10.5px; font-weight: 400; letter-spacing: 0.12em; color: var(--muted); }
.log__replay {
  appearance: none;
  cursor: pointer;
  padding: 4px 10px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--accent-ink);
  transition: border-color 160ms linear, background 160ms linear;
}
.log__replay:hover,
.log__replay:focus-visible { border-color: var(--accent-line); background: var(--accent-soft); }
.log__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.log__line {
  display: flex;
  gap: 14px;
  align-items: baseline;
  transition: opacity 320ms ease-out, transform 320ms var(--ease-out);
}
.log__line.is-hidden { opacity: 0; transform: translateY(6px); }
.log__time { flex: 0 0 auto; font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.log__msg { font-family: var(--font-mono); font-size: 11.5px; line-height: 1.5; color: oklch(0.36 0.02 255); }
.log__msg--ok { color: var(--accent-ink); }

.quote-card {
  margin: 0;
  padding: 20px 22px;
  display: grid;
  gap: 12px;
  border: 1px solid var(--line-2);
  background: var(--surface);
}
.quote-card blockquote { margin: 0; }
.quote-card blockquote p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--text-2); }
.quote-card figcaption { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--muted); }

/* --------------------------------------------------------------------------
   15. Homepage: why work with me (dark)
   -------------------------------------------------------------------------- */
.section--why {
  overflow: hidden;
  background: oklch(0.215 0.028 258);
  color: oklch(0.955 0.006 255);
  border-bottom: 0;
}
.why__texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(to right, oklch(0.72 0.15 250 / 0.07) 0 1px, transparent 1px 96px);
}
.why__inner { display: grid; gap: 40px; }
.why__head { display: grid; gap: 18px; }
.why__lede { margin: 0; max-width: 52ch; font-size: clamp(16px, 2vw, 17.5px); line-height: 1.62; color: oklch(0.84 0.012 255); }
.why__meta { margin: 0; font-family: var(--font-mono); font-size: 13px; line-height: 1.7; color: oklch(0.72 0.02 255); }

.rule-grid--why { --rule: oklch(0.34 0.02 258); --pad-top: 24px; --pad-bottom: 26px; }
.why__n { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em; color: oklch(0.78 0.09 255); }
.why__text { margin: 0; max-width: 44ch; font-size: 15.5px; line-height: 1.6; color: oklch(0.86 0.01 255); }

/* Agency vs direct comparison (an ARIA table laid out on a CSS grid) */
.compare { position: relative; margin-top: 18px; }
.compare__panel { display: none; position: absolute; top: 0; bottom: 0; width: calc(50% - 100px); }
.compare__panel--a {
  left: 0;
  border: 1px dashed oklch(0.34 0.022 258);
  background-color: oklch(0.192 0.022 258);
  background-image: repeating-linear-gradient(135deg, oklch(0.26 0.02 258 / 0.45) 0 1px, transparent 1px 7px);
}
.compare__panel--b {
  top: -10px;
  bottom: -10px;
  right: 0;
  border: 1px solid oklch(0.56 0.14 255);
  background: linear-gradient(160deg, oklch(0.3 0.06 258), oklch(0.235 0.04 258) 55%);
  box-shadow: 0 0 0 1px oklch(0.56 0.14 255 / 0.25), 0 26px 70px -30px oklch(0.55 0.18 258 / 0.85);
}
.compare__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); }
.compare__row { display: contents; }

.cmp-cell {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  text-align: left;
  transition: background 200ms linear, opacity 200ms linear;
}
.cmp-cell--a { background: oklch(0.192 0.022 258); border: 1px solid oklch(0.32 0.022 258); }
.cmp-cell--b { background: oklch(0.26 0.045 258); border: 1px solid oklch(0.5 0.12 255); border-top-width: 0; margin-bottom: 12px; }
.cmp-cell--head,
.cmp-cell--foot { display: grid; gap: 8px; justify-items: start; }

.cmp-axis { display: grid; place-items: center; padding: 20px 8px; }
.cmp-axis--head { padding: 22px 8px 16px; }
.cmp-axis--foot { padding: 24px 8px 30px; }
.cmp-axis__key {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  line-height: 1.45;
  text-align: center;
  color: oklch(0.84 0.025 258);
  transition: color 200ms linear;
}
.cmp-axis__dot { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: oklch(0.6 0.05 258); }
.cmp-vs {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 1px solid oklch(0.62 0.14 255);
  background: oklch(0.2 0.03 258);
  box-shadow: 0 0 0 7px oklch(0.55 0.16 258 / 0.12), 0 0 34px -6px oklch(0.6 0.18 258 / 0.7);
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: oklch(0.88 0.11 255);
}

/* on small screens the axis column is collapsed but stays available to screen readers */
@media (max-width: 859.98px) {
  .cmp-axis {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

.cmp-head-label { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.16em; }
.cmp-head-title { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.05; letter-spacing: -0.02em; font-weight: 600; }
.cmp-cell--a .cmp-head-label { color: oklch(0.66 0.018 258); }
.cmp-cell--a .cmp-head-title { color: oklch(0.55 0.016 258); }
.cmp-cell--b .cmp-head-label { color: oklch(0.86 0.1 255); }
.cmp-cell--b .cmp-head-title { color: oklch(0.985 0.005 255); }

.cmp-key {
  order: -1;
  width: 100%;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
}
.cmp-cell--a .cmp-key { color: oklch(0.62 0.02 258); }
.cmp-cell--b .cmp-key { color: oklch(0.74 0.06 255); }

.cmp-text { font-size: 16px; line-height: 1.5; color: oklch(0.67 0.016 255); }
.cmp-cell--b .cmp-text { font-size: 17px; font-weight: 500; color: oklch(0.98 0.005 255); }
.cmp-mark { font-family: var(--font-mono); font-size: 14px; line-height: 1.5; }
.cmp-mark--no { color: oklch(0.58 0.09 25); }
.cmp-mark--yes { color: oklch(0.82 0.12 255); }
.cmp-foot { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em; }
.cmp-cell--a .cmp-foot { color: oklch(0.62 0.018 258); }
.cmp-cell--b .cmp-foot { color: oklch(0.86 0.1 255); }

.compare__row:hover .cmp-axis__key { color: oklch(0.9 0.1 255); }

@media (min-width: 860px) {
  .compare__panel { display: block; }
  .compare__grid { grid-template-columns: minmax(0, 1fr) 208px minmax(0, 1fr); }
  .cmp-cell { flex-wrap: nowrap; padding: 20px 30px; margin: 0; border: 0; background: transparent; }
  .cmp-cell--a { justify-content: flex-end; justify-items: end; text-align: right; }
  .cmp-cell--head { padding: 30px 30px 24px; }
  .cmp-cell--foot { padding: 24px 30px 30px; }
  .cmp-key { display: none; }
  .compare__row--data .cmp-cell--a { opacity: 0.88; }
  .compare__row--data:hover .cmp-cell--a { opacity: 1; background: oklch(0.225 0.025 258); }
  .compare__row--data:hover .cmp-cell--b { background: oklch(0.31 0.062 258); }
}

/* --------------------------------------------------------------------------
   16. Homepage: process steps
   -------------------------------------------------------------------------- */
.steps {
  position: relative;
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps::before {
  content: "";
  display: none;
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
  transform-origin: left center;
  transition: transform 1100ms var(--ease-out);
}
.steps.is-pending::before { transform: scaleX(0); }
@media (min-width: 620px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps::before { display: block; }
  .step::before { display: block; }
}

.step {
  position: relative;
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 26px 22px 28px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  transition: transform 240ms var(--ease-out), border-color 240ms linear, box-shadow 240ms ease-out;
}
.step::before {
  content: "";
  display: none;
  position: absolute;
  top: -5px;
  left: 22px;
  width: 9px;
  height: 9px;
  background: var(--accent);
}
.step:hover {
  transform: translateY(-5px);
  border-color: var(--accent-line);
  box-shadow: 0 18px 40px -26px oklch(0.4 0.12 258 / 0.8);
}
.step__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.step__n { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; color: var(--accent); }
.step__time { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; color: oklch(0.52 0.02 255); }
.step__title { margin: 0; font-size: 21px; line-height: 1.15; letter-spacing: -0.018em; font-weight: 600; }
.step__text { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-4); }

/* --------------------------------------------------------------------------
   17. Homepage: FAQ
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: 34px 64px; padding-top: 46px; align-items: start; }
.faq__aside { display: grid; gap: 16px; align-content: start; }
.faq__intro { margin: 0; max-width: 40ch; font-size: 15.5px; line-height: 1.62; color: var(--text-4); }
.faq__list { display: grid; border-bottom: 1px solid var(--line); }

.note-card {
  display: grid;
  gap: 10px;
  margin-top: 4px;
  padding: 20px 20px 22px;
  border: 1px solid var(--line-2);
  background: var(--surface-2);
}
.note-card__label { margin: 0; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; color: var(--accent); }
.note-card__text { margin: 0; font-size: 15px; line-height: 1.55; color: oklch(0.32 0.02 255); }

.faq-item {
  border-top: 1px solid var(--line);
  /* the 2px accent bar on the left grows in when the item opens */
  background: linear-gradient(var(--accent), var(--accent)) no-repeat left top / 2px 0 transparent;
  transition: background-size 300ms var(--ease-out), background-color 200ms linear;
}
.faq-item[open] { background-size: 2px 100%; background-color: oklch(0.972 0.005 255); }

.faq-item__summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 26px;
  gap: 4px 18px;
  align-items: baseline;
  padding: 22px 18px 22px 22px;
  transition: background 180ms linear;
}
.faq-item__summary:hover { background: var(--bg); }
.faq-item[open] > .faq-item__summary { padding-bottom: 14px; }

.faq-item__num,
.faq-item__tag { display: none; }
.faq-item__num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--accent); }
.faq-item__q { font-size: 17.5px; line-height: 1.38; font-weight: 500; letter-spacing: -0.012em; color: var(--ink-strong); }
.faq-item__tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-align: right;
  white-space: nowrap;
  color: var(--muted);
}
.faq-item__mark {
  justify-self: end;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid oklch(0.85 0.015 255);
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1;
  color: var(--accent-ink);
  transition: transform 300ms var(--ease-out), border-color 200ms linear, background 200ms linear;
}
.faq-item[open] .faq-item__mark {
  transform: rotate(135deg);
  border-color: oklch(0.55 0.14 255);
  background: oklch(0.93 0.035 255);
}
.faq-item__body { display: grid; gap: 12px; padding: 0 22px 24px; }
.faq-item__body p { margin: 0; max-width: 64ch; font-size: 15.5px; line-height: 1.66; color: oklch(0.36 0.02 255); }
.faq-item__body .faq-item__note { max-width: none; font-family: var(--font-mono); font-size: 11px; line-height: 1.5; letter-spacing: 0.05em; color: var(--muted); }

@media (min-width: 900px) {
  .faq { grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.5fr); }
  .faq__aside { position: sticky; top: 96px; }
  .faq-item__summary { grid-template-columns: 58px minmax(0, 1fr) auto 26px; }
  .faq-item__num,
  .faq-item__tag { display: block; }
  /* line the answer up with the question: summary padding + Q-number column + column gap */
  .faq-item__body { padding-left: calc(22px + 58px + 18px); }
}

/* --------------------------------------------------------------------------
   18. Contact / CTA
   -------------------------------------------------------------------------- */
.cta { display: grid; gap: 44px 72px; padding-top: 54px; align-items: start; }
@media (min-width: 900px) {
  .cta { grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr); }
}
.cta__main { display: grid; gap: 22px; align-content: start; }
.cta__title {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(30px, 4.6vw, 50px);
  line-height: 1.02;
  letter-spacing: -0.028em;
  font-weight: 600;
}
.cta__lede { margin: 0; max-width: 50ch; font-size: clamp(16px, 2vw, 18px); line-height: 1.62; color: var(--text-4); }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 4px; }
.cta__aside { display: grid; gap: 14px; align-content: start; }

/* dark CTA at the bottom of migration pages */
.cta--dark {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 84px 24px;
  gap: 36px 64px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  align-items: end;
}
.cta--dark .cta__main { gap: 20px; }
.cta--dark .cta__title { font-size: clamp(30px, 4.4vw, 48px); }
.cta--dark .cta__lede { color: oklch(0.82 0.015 255); }
.cta__side { display: grid; gap: 16px; justify-items: start; }

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--text-5);
}
.status-row--dark { gap: 10px 24px; margin: 0; color: oklch(0.74 0.03 252); }
.status-row__live { display: flex; align-items: center; gap: 8px; }
.status-row__live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--go);
  animation: ctaPulse 2.6s ease-out infinite;
}

.info-card {
  display: grid;
  gap: 12px;
  padding: 24px 26px 26px;
  border: 1px solid var(--line-2);
  background: var(--surface);
}
.info-card__label { margin: 0; font-family: var(--font-mono); font-size: 10.5px; font-weight: 400; letter-spacing: 0.12em; color: var(--accent-ink); }
.info-card .mark-list { gap: 8px; }
.info-card__text { margin: 0; font-size: 15.5px; line-height: 1.6; color: oklch(0.32 0.02 255); }

.tag-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 18px;
  margin: 0;
  padding: 14px 18px;
  list-style: none;
  border: 1px solid var(--line-2);
  background: var(--surface-2);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-5);
}

/* --------------------------------------------------------------------------
   19. Footer & cross-links
   -------------------------------------------------------------------------- */
.site-footer {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 24px 24px 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.site-footer p { margin: 0; }
.site-footer a { color: inherit; text-underline-offset: 3px; }
.site-footer a:hover,
.site-footer a:focus-visible { color: var(--link); }

.more-links {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 32px 24px 0;
  display: grid;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
}
.more-links__title { margin: 0; font-size: 10.5px; font-weight: 400; letter-spacing: 0.14em; color: var(--muted); }
.more-links__list { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; }
.more-links__list a { color: var(--text-5); text-decoration: none; }
.more-links__list a:hover,
.more-links__list a:focus-visible { color: var(--link); text-decoration: underline; }

/* --------------------------------------------------------------------------
   20. Migration pages
   -------------------------------------------------------------------------- */
.platform-map__route {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
  align-items: stretch;
  padding: 22px 18px 8px;
}
.route-box { margin: 0; display: grid; gap: 4px; padding: 14px; border: 1px dashed oklch(0.52 0.04 258); }
.route-box--to { border: 1px solid var(--bright); background: oklch(0.72 0.15 250 / 0.14); }
.route-box__label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; color: oklch(0.66 0.03 255); }
.route-box--to .route-box__label { color: oklch(0.8 0.1 250); }
.route-box__name { font-size: 17px; font-weight: 600; }
.route-flow {
  align-self: center;
  height: 1px;
  background-image: repeating-linear-gradient(to right, var(--bright) 0 6px, transparent 6px 12px);
  background-size: 24px 1px;
  animation: flow 900ms linear infinite;
}
.platform-map__rows { margin: 0; padding: 10px 18px 18px; list-style: none; display: grid; }
.map-row {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 20px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  padding: 9px 0;
  border-top: 1px solid oklch(0.28 0.035 258);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
}
.map-row__key { color: oklch(0.62 0.03 255); }
.map-row__from { color: oklch(0.72 0.03 255); text-decoration: line-through; text-decoration-color: oklch(0.5 0.03 255); }
.map-row__arrow { color: var(--bright-2); }
.map-row__to { color: oklch(0.93 0.012 255); }

/* Screenshot frame with corner brackets */
.media-frame {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  background: var(--bg-alt);
}
.media-frame::before,
.media-frame::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 0 solid var(--accent);
}
.media-frame::before { left: -1px; top: -1px; border-left-width: 2px; border-top-width: 2px; }
.media-frame::after { right: -1px; bottom: -1px; border-right-width: 2px; border-bottom-width: 2px; }
.media-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.contrast-cards {
  display: grid;
  gap: 16px;
  margin-top: 56px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.contrast-card { display: grid; gap: 12px; align-content: start; padding: 22px 24px; border: 1px dashed oklch(0.78 0.02 255); }
.contrast-card--new { border: 1px solid oklch(0.5 0.16 255 / 0.5); background: oklch(0.5 0.16 255 / 0.05); }
.contrast-card__title { margin: 0; font-family: var(--font-mono); font-size: 10.5px; font-weight: 400; letter-spacing: 0.12em; color: var(--muted); }
.contrast-card--new .contrast-card__title { color: var(--link); }



.quotes { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.quote {
  margin: 0;
  padding: 26px 26px 22px;
  display: grid;
  gap: 22px;
  align-content: space-between;
  border: 1px solid var(--line-2);
  background: var(--surface);
  transition: transform 200ms var(--ease-out), border-color 200ms linear;
}
.quote:hover { transform: translateY(-3px); border-color: oklch(0.5 0.16 255 / 0.6); }
.quote blockquote { margin: 0; }
.quote blockquote p { margin: 0; font-size: 17px; line-height: 1.55; color: oklch(0.26 0.02 255); }
.quote figcaption { display: grid; gap: 3px; padding-top: 14px; border-top: 1px solid oklch(0.9 0.01 255); }
.quote__name { font-size: 14.5px; font-weight: 600; }
.quote__role { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); }

/* --------------------------------------------------------------------------
   20b. Legal pages (privacy, terms)
   -------------------------------------------------------------------------- */
.legal {
  padding-top: 56px;
  padding-bottom: 84px;
  display: grid;
  gap: 14px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-2);
}
.legal > * { max-width: 72ch; }
.legal h2 {
  margin: 26px 0 0;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 600;
  color: var(--ink-strong);
}
.legal p,
.legal ul { margin: 0; }
.legal ul { padding-left: 1.2em; display: grid; gap: 6px; }
.legal a { color: var(--link); text-underline-offset: 3px; }
.legal a:hover,
.legal a:focus-visible { color: var(--link-hover); }
.legal__updated { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); }

/* --------------------------------------------------------------------------
   21. Logo explorations (internal design board)
   -------------------------------------------------------------------------- */
.logo-board { background: oklch(0.93 0.008 255); }
.logo-board__header { padding: 48px 48px 0; display: grid; gap: 6px; }
.logo-board__title { margin: 0; font-size: 32px; font-weight: 600; letter-spacing: -0.02em; }
.logo-board__section { padding: 40px 48px 8px; display: grid; gap: 24px; }
.logo-board__section:last-child { padding-bottom: 48px; }
.logo-board__kicker { margin: 0; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--muted); }
.logo-board__h2 { margin: 0; font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
.logo-board__heading { display: grid; gap: 6px; }

.logo-sheet {
  position: relative;
  width: 1368px;
  max-width: 100%;
  padding: 28px;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--surface);
}
@media (max-width: 900px) {
  .logo-sheet { grid-template-columns: minmax(0, 1fr); }
  .logo-sheet .logo-block--wide { grid-column: auto; }
}
.logo-badge {
  position: absolute;
  top: -11px;
  left: 16px;
  padding: 3px 7px;
  background: var(--bright);
  color: var(--dark-ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
}
.logo-badge--inset { top: 12px; left: 12px; }

.logo-block { display: grid; gap: 10px; align-content: start; }
.logo-block--wide { grid-column: span 2; }
.logo-block__label { margin: 0; font-family: var(--font-mono); font-size: 11px; font-weight: 400; letter-spacing: 0.1em; color: var(--muted); }
.logo-block__note { margin: 0; font-size: 13px; line-height: 1.5; color: var(--text-5); }

.logo-pair { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-2); }
.logo-stage { height: 220px; display: grid; place-items: center; }
.logo-stage--dark { background: var(--dark); }
.logo-stage--light { background: var(--surface); }
.logo-stage--white { border: 1px solid var(--line-2); background: oklch(1 0 0); }

/* ❯_ boxed lockup */
.lockup { display: flex; align-items: center; gap: 18px; }
.lockup__box {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1.5px solid currentColor;
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 600;
}
.lockup__glyph { display: flex; align-items: center; gap: 2px; }
.lockup__underscore { width: 12px; height: 3px; margin-top: 16px; background: currentColor; }
.lockup__word { font-family: var(--font-mono); font-size: 40px; font-weight: 500; letter-spacing: 0.02em; }
.lockup--on-dark .lockup__box { color: var(--bright); }
.lockup--on-dark .lockup__word { color: var(--on-dark); }
.lockup--on-light .lockup__box { color: var(--accent); }
.lockup--on-light .lockup__word { color: var(--ink); }
.lockup--mono { gap: 14px; color: oklch(0.12 0 0); }
.lockup--mono .lockup__box { width: 52px; height: 52px; border-width: 2px; font-size: 21px; }
.lockup--mono .lockup__underscore { width: 10px; margin-top: 13px; }
.lockup--mono .lockup__word { font-size: 32px; }

.header-mock { display: grid; border: 1px solid var(--line-2); }
.header-mock__bar { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; }
.header-mock__bar--dark { background: var(--dark); color: var(--on-dark); }
.header-mock__bar--light { background: var(--surface); border-top: 1px solid oklch(0.9 0.01 255); }
.header-mock__brand { display: flex; align-items: center; gap: 2px; font-family: var(--font-mono); font-size: 16px; font-weight: 500; }
.header-mock__prompt { margin-right: 8px; color: var(--bright); }
.header-mock__caret { width: 8px; height: 16px; margin-left: 2px; background: var(--bright); animation: caretBlink 1.1s steps(1) infinite; }
.header-mock__bar--light .header-mock__prompt { color: var(--accent); }
.header-mock__bar--light .header-mock__caret { background: var(--accent); }
.header-mock__cta { padding: 6px 10px; border: 1px solid var(--bright); font-family: var(--font-mono); font-size: 11.5px; color: var(--bright); }
.header-mock__link { font-family: var(--font-mono); font-size: 11.5px; color: oklch(0.45 0.02 255); }

.icon-row {
  height: 128px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  border: 1px solid var(--line-2);
  background: var(--bg-alt);
}
.app-icon {
  display: grid;
  place-items: center;
  background: var(--dark);
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--bright);
}
.app-icon--72 { width: 72px; height: 72px; font-size: 28px; }
.app-icon--72 .lockup__underscore { width: 13px; margin-top: 17px; }
.app-icon--40 { width: 40px; height: 40px; border-radius: 50%; font-size: 16px; }
.app-icon--40 .lockup__glyph { gap: 1px; }
.app-icon--40 .lockup__underscore { width: 7px; height: 2px; margin-top: 10px; }
.app-icon--32 { width: 32px; height: 32px; font-size: 14px; }
.app-icon--16 { width: 16px; height: 16px; font-size: 9px; }

.card-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.biz-card { aspect-ratio: 3.5 / 2; }
.biz-card--front { display: grid; place-items: center; background: var(--dark); box-shadow: 0 8px 20px oklch(0.2 0.03 258 / 0.25); }
.biz-card--back {
  display: grid;
  align-content: space-between;
  padding: 10px 12px;
  border: 1px solid oklch(0.9 0.01 255);
  background: oklch(0.99 0.002 255);
  box-shadow: 0 8px 20px oklch(0.2 0.03 258 / 0.12);
}
.biz-card__lockup { display: flex; align-items: center; gap: 7px; }
.biz-card__box {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--bright);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--bright);
}
.biz-card__word { font-family: var(--font-mono); font-size: 14px; font-weight: 500; color: var(--on-dark); }
.biz-card__who,
.biz-card__contact { display: grid; gap: 1px; }
.biz-card__name { font-size: 9.5px; font-weight: 600; }
.biz-card__role { font-family: var(--font-mono); font-size: 6.5px; color: var(--muted); }
.biz-card__contact { font-family: var(--font-mono); font-size: 6.5px; color: oklch(0.4 0.02 255); }
.biz-card__contact span::before { content: "❯ "; content: "❯ " / ""; color: var(--accent); }

.concepts { display: flex; flex-wrap: wrap; gap: 24px; margin: 0; padding: 0; list-style: none; }
.concept { width: 440px; max-width: 100%; display: grid; border: 1px solid var(--line); background: var(--surface); }
.concept__hero { position: relative; height: 200px; display: grid; place-items: center; background: var(--dark); }
.concept__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid oklch(0.9 0.01 255);
}
.concept__body { padding: 14px 20px 18px; display: grid; gap: 4px; }
.concept__name { margin: 0; font-size: 15px; font-weight: 600; }
.concept__desc { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--text-5); }

.wordmark { font-family: var(--font-mono); font-weight: 500; }
.wordmark--xl { font-size: 46px; letter-spacing: -0.02em; color: var(--on-dark); }
.wordmark--sm { font-size: 16px; }
.wordmark--flex { display: flex; align-items: center; gap: 2px; }
.wm-dim { color: oklch(0.58 0.04 258); }
.wm-accent { color: var(--bright); }
.wordmark--sm .wm-dim { color: oklch(0.6 0.03 255); }
.wordmark--sm .wm-accent { color: var(--accent); }
.wm-cursor { width: 0.55em; height: 0.95em; margin-left: 4px; background: var(--bright); animation: caretBlink 1.1s steps(1) infinite; }
.wordmark--sm .wm-cursor { width: 8px; height: 16px; margin-left: 0; background: var(--accent); }
.wm-prompt { margin-right: 14px; }
.wordmark--sm .wm-prompt { margin-right: 6px; }

.favicon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: var(--dark);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--bright);
}
.favicon--on { color: var(--on-dark); }
.favicon--lg { font-size: 15px; }
.favicon--plus { font-size: 18px; color: oklch(0.78 0.15 150); }
.favicon--outline { font-size: 12px; border: 1px solid var(--bright); }

.diff-mark { display: grid; gap: 2px; font-family: var(--font-mono); font-size: 26px; line-height: 1.25; font-weight: 500; }
.diff-mark__del { color: oklch(0.62 0.14 25); }
.diff-mark__add { color: oklch(0.78 0.15 150); }
.diff-mark__sign { display: inline-block; width: 1.2em; }
.diff-mark__word { color: var(--on-dark); }
.diff-chip { padding: 2px 5px; font-size: 12px; font-weight: 600; background: oklch(0.62 0.16 150 / 0.14); color: oklch(0.45 0.14 150); }
.diff-inline { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 16px; font-weight: 500; }

.shell-lockup { display: flex; align-items: center; gap: 18px; }
.shell-lockup__box {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1.5px solid var(--bright);
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--bright);
}
.shell-lockup__word { font-family: var(--font-mono); font-size: 40px; font-weight: 500; letter-spacing: 0.02em; color: var(--on-dark); }
.shell-lockup--sm { gap: 10px; }
.shell-lockup--sm .shell-lockup__box { width: 24px; height: 24px; border-width: 1px; border-color: var(--accent); font-size: 10.5px; color: var(--accent); }
.shell-lockup--sm .shell-lockup__word { font-size: 16px; letter-spacing: 0; color: inherit; }

/* --------------------------------------------------------------------------
   22. Uppercase labels
   Source text is written in sentence case (screen readers can otherwise spell
   all-caps words out letter by letter); the caps are purely presentational.
   -------------------------------------------------------------------------- */
.picker__title,
.metric dt,
.log__title,
.note-card__label,
.info-card__label,
.cmp-head-label,
.contrast-card__title,
.more-links__title,
.route-box__label,
.logo-block__label,
.logo-board__kicker { text-transform: uppercase; }

/* Brand names that must keep their own casing inside uppercase labels (e.g. amazee.io) */
.brand-name { text-transform: none; }

/* --------------------------------------------------------------------------
   23. Booking dialog (Cal.com calendar, opened by [data-cal-open] buttons)
   -------------------------------------------------------------------------- */
html:has(.cal-dialog[open]) { overflow: hidden; }

.cal-dialog {
  width: min(1000px, calc(100vw - 32px));
  height: min(780px, calc(100dvh - 32px));
  max-width: none;
  max-height: none;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 30px 80px oklch(0.1 0.04 258 / 0.45);
}
.cal-dialog[open] { display: flex; flex-direction: column; }
.cal-dialog::backdrop {
  background: oklch(0.155 0.03 258 / 0.72);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.cal-dialog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px 12px 20px;
  border-bottom: 1px solid var(--line-2);
}
.cal-dialog__title { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.cal-dialog__close {
  appearance: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 20px;
  line-height: 1;
  transition: border-color 140ms linear, background 140ms linear;
}
.cal-dialog__close:hover,
.cal-dialog__close:focus-visible { border-color: var(--accent-line); background: var(--accent-soft); }

.cal-dialog__body { position: relative; flex: 1; min-height: 0; overflow: auto; }
.cal-dialog__embed { width: 100%; height: 100%; }
.cal-dialog__loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  pointer-events: none;
}
.cal-dialog.is-ready .cal-dialog__loading { display: none; }

.cal-dialog__fallback {
  margin: 0;
  padding: 10px 20px;
  border-top: 1px solid var(--line-2);
  font-size: 13px;
  color: var(--text-5);
}

/* full screen on phones */
@media (max-width: 600px) {
  .cal-dialog {
    width: 100vw;
    height: 100dvh;
    border: 0;
  }
}
