/* Timaroo — Claude concept stylesheet
   Ledger-inspired static site. Palette and tone follow website/WEBSITE-BRIEF.md. */

@font-face {
  font-family: 'Ubuntu';
  src: url('../fonts/ubuntu-latin-400-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Ubuntu';
  src: url('../fonts/ubuntu-latin-500-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Ubuntu';
  src: url('../fonts/ubuntu-latin-700-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #f4f7f6;
  --surface: #ffffff;
  --surface-soft: #edf5f2;
  --ink: #172126;
  --muted: #536167;
  --primary: #0b6f68;
  --primary-dark: #075c56;
  --lime: #bfd744;
  --amber: #f5b941;
  --border: rgba(23, 33, 38, 0.13);
  --border-strong: rgba(23, 33, 38, 0.24);
  --shadow-flat: 0 1px 0 rgba(23, 33, 38, 0.05);
  --radius-sm: 6px;
  --radius: 10px;
  --font: 'Ubuntu', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --measure: 1120px;
  --measure-wide: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.lightbox-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary-dark);
}

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

code {
  font-family: var(--mono);
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.1em 0.4em;
  font-size: 0.9em;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  z-index: 100;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
  top: 0;
}

.container {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 24px;
}
.wide-container {
  max-width: var(--measure-wide);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 247, 246, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-shell {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 72px;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--ink);
}
.wordmark-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  font-size: 0.95rem;
}

.header-support {
  display: flex;
  align-items: center;
  border: 1px solid rgba(11, 111, 104, 0.24);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
}
.header-support-copy {
  display: none;
  color: var(--muted);
  font-size: 0.8rem;
  white-space: nowrap;
}
.header-support-link {
  display: inline-flex;
  width: 40px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 5px;
  background: var(--amber);
  color: #30250f;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.header-support-link:hover {
  background: #f7c85f;
}
.header-support-link:focus-visible {
  outline: 3px solid rgba(11, 111, 104, 0.28);
  outline-offset: 2px;
}
.header-support-link svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}
.header-support-link-label {
  display: none;
}

.live-clock {
  display: none;
  margin-left: auto;
  align-items: baseline;
  gap: 6px;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 12px;
  white-space: nowrap;
}
.live-clock strong {
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0.02em;
}
/* Expands only once five nav links, the CTA, and the full sentence fit together. */
@media (min-width: 1060px) {
  .header-support {
    gap: 10px;
    padding-left: 11px;
  }
  .header-support-copy,
  .header-support-link-label {
    display: inline;
  }
  .header-support-link {
    width: auto;
    min-height: 34px;
    padding: 7px 10px;
  }
}

.menu-button {
  margin-left: auto;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  border-radius: var(--radius-sm);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.menu-icon,
.menu-icon::before,
.menu-icon::after {
  content: '';
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
}
.menu-icon::before {
  position: absolute;
  top: -6px;
}
.menu-icon::after {
  position: absolute;
  top: 6px;
}

.site-nav {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 28px;
}
.nav-link {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.nav-link:hover,
.nav-link[aria-current='page'] {
  border-bottom-color: var(--lime);
}
.nav-cta {
  text-decoration: none;
  background: var(--primary);
  color: #fff;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
}
.nav-cta:hover {
  background: var(--primary-dark);
}

@media (min-width: 860px) {
  .menu-button {
    display: none;
  }
  .site-nav {
    display: flex;
  }
}

@media (min-width: 1440px) {
  .live-clock {
    display: flex;
  }
  .site-nav {
    margin-left: 0;
  }
}

.site-nav[data-open='true'] {
  display: flex;
}
@media (max-width: 859px) {
  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 18px;
  }
  .site-nav .nav-link {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }
  .site-nav .nav-cta {
    margin-top: 12px;
    text-align: center;
  }
}

/* ---------- Kicker / eyebrow tag ---------- */

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-dark);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 18px;
}
.kicker::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
}
.kicker-light {
  color: #dff2ee;
  border-color: rgba(255, 255, 255, 0.3);
}
.kicker-light::before {
  background: var(--amber);
}

/* ---------- Sections ---------- */

.section {
  padding: 88px 0;
}
.section-tight {
  padding: 56px 0;
}
.section-soft {
  background: var(--surface-soft);
}
.section-white {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-dark {
  background: var(--ink);
  color: #e7edec;
}
.section-dark .muted {
  color: #a9b6b3;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}
.section-head > div:first-child {
  max-width: 560px;
}
.section-title {
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.15rem);
  margin-top: 6px;
}
.section-lead {
  max-width: 420px;
  color: var(--muted);
  font-size: 1.02rem;
}
.section-dark .section-lead {
  color: #b7c3c0;
}

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition:
    transform 0.15s ease,
    background 0.15s ease;
}
.button-primary {
  background: var(--primary);
  color: #fff;
}
.button-primary:hover {
  background: var(--primary-dark);
}
.button-dark {
  background: var(--ink);
  color: #fff;
}
.button-dark:hover {
  background: #0a1215;
}
.button-quiet {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
}
.button-quiet:hover {
  border-color: var(--ink);
}
.button-arrow {
  transition: transform 0.15s ease;
}
.button:hover .button-arrow {
  transform: translateX(3px);
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

/* ---------- Home hero ---------- */

.home-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 56px 0 76px;
  background:
    radial-gradient(ellipse at 78% 43%, rgba(191, 215, 68, 0.2), transparent 25rem),
    linear-gradient(122deg, #f4f7f6 0%, #f4f7f6 53%, #eaf3ef 53%, #edf5f2 100%);
}
.home-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.3;
  background-image: radial-gradient(rgba(11, 111, 104, 0.28) 0.75px, transparent 0.75px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent 0%, transparent 48%, #000 72%, transparent 100%);
  content: '';
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.hero-title {
  font-size: clamp(2.4rem, 1.9rem + 2.2vw, 3.6rem);
  letter-spacing: -0.055em;
}
.hero-title mark {
  background: linear-gradient(180deg, transparent 62%, var(--lime) 62%);
  color: var(--ink);
  padding: 0 2px;
}
.hero-tagline {
  margin-top: 18px;
  font-size: 1.2rem;
  color: var(--ink);
  max-width: 44ch;
}
.hero-intro {
  margin-top: 16px;
  color: var(--muted);
  max-width: 52ch;
  font-size: 1.02rem;
}
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
}
.hero-proof li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--muted);
}
.proof-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  display: inline-block;
}

/* Product screenshot framed by light vector artwork. */
.hero-visual {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 560px;
  place-items: center;
}
.hero-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(58vw, 720px);
  max-width: none;
  transform: translate(-50%, -50%);
}
.hero-window {
  position: relative;
  z-index: 1;
  width: min(100%, 630px);
  overflow: hidden;
  border: 1px solid rgba(23, 33, 38, 0.16);
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 28px 72px rgba(23, 33, 38, 0.2), 0 5px 16px rgba(23, 33, 38, 0.08);
  transform: rotate(-1.3deg);
}
.hero-windowbar {
  display: flex;
  height: 29px;
  align-items: center;
  gap: 5px;
  padding-inline: 11px;
  border-bottom: 1px solid #e6ebe9;
  background: #fff;
}
.hero-windowbar span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d4ddda;
}
.hero-windowbar i {
  display: block;
  width: 12px;
  height: 4px;
  margin-left: auto;
  border-radius: 4px;
  background: #e6ebe9;
}
.hero-windowbar i + i {
  margin-left: 2px;
}
.hero-window img {
  display: block;
  width: 100%;
  height: auto;
}
.hero-orbit-dot {
  position: absolute;
  z-index: 2;
  width: 17px;
  height: 17px;
  border: 4px solid white;
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(23, 33, 38, 0.12);
}
.hero-orbit-dot-one {
  top: 15%;
  right: 14%;
  background: var(--amber);
}
.hero-orbit-dot-two {
  bottom: 15%;
  left: 11%;
  background: var(--primary);
}

@media (max-width: 1050px) and (min-width: 980px) {
  .hero-grid {
    gap: 24px;
  }
  .hero-visual {
    min-height: 500px;
  }
  .hero-orbit {
    width: 66vw;
  }
}
@media (max-width: 979px) {
  .hero-visual {
    width: min(100%, 760px);
    min-height: 0;
    aspect-ratio: 1.2;
    margin: 0 auto;
  }
  .hero-orbit {
    width: 100%;
  }
  .hero-window {
    width: 90%;
  }
}
@media (max-width: 620px) {
  .hero-visual {
    width: calc(100% + 28px);
    aspect-ratio: 1.08;
    margin-left: -14px;
  }
  .hero-window {
    width: 94%;
    border-radius: 7px;
    transform: rotate(-0.8deg);
  }
  .hero-windowbar {
    height: 19px;
    gap: 3px;
    padding-inline: 7px;
  }
  .hero-windowbar span {
    width: 4px;
    height: 4px;
  }
  .hero-windowbar i {
    width: 8px;
    height: 3px;
  }
}

/* ---------- Feature ledger list ---------- */

.feature-list {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 760px) {
  .feature-list {
    grid-template-columns: 1fr 1fr;
  }
}
.feature-row {
  background: var(--surface);
  padding: 28px 26px;
  display: flex;
  gap: 18px;
}
.feature-num {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--primary);
  flex-shrink: 0;
  padding-top: 3px;
}
.feature-row h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.feature-row p {
  color: var(--muted);
  font-size: 0.94rem;
}
.feature-row a {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--primary-dark);
}
.feature-row a:hover {
  text-decoration: underline;
}

/* ---------- Principle / requirement cards ---------- */

.principle-grid {
  display: grid;
  gap: 18px;
}
@media (min-width: 760px) {
  .principle-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.principle-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  background: var(--surface);
}
.section-dark .principle-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.14);
}
.principle-tag {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--lime);
}
.principle-card h3 {
  margin-top: 12px;
  font-size: 1.05rem;
}
.principle-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.93rem;
}
.section-dark .principle-card p {
  color: #b7c3c0;
}

/* ---------- Audience strip ---------- */

.audience-strip {
  display: grid;
  gap: 28px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  background: var(--surface);
}
@media (min-width: 860px) {
  .audience-strip {
    grid-template-columns: 1.2fr 1fr;
  }
}
.audience-strip h2 {
  font-size: 1.5rem;
  margin-top: 10px;
}
.audience-strip p {
  margin-top: 12px;
  color: var(--muted);
}
.audience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.audience-tags span {
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.88rem;
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--primary);
  color: #fff;
}
.cta-inner {
  padding: 56px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
}
.cta-inner h2 {
  font-size: 1.5rem;
}
.cta-inner p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 46ch;
}
.cta-inner .button-dark {
  background: var(--ink);
}

/* ---------- Page hero (secondary pages) ---------- */

.page-hero {
  padding: 64px 0 20px;
}
.page-hero-grid {
  display: grid;
  gap: 32px;
  align-items: start;
}
@media (min-width: 900px) {
  .page-hero-grid {
    grid-template-columns: 1.3fr 1fr;
  }
}
.page-title {
  font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.6rem);
  margin-top: 10px;
}
.page-lead {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 56ch;
}
.page-aside {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--surface);
  font-size: 0.92rem;
  color: var(--muted);
}
.page-aside strong {
  display: block;
  color: var(--ink);
  margin-bottom: 6px;
  font-size: 0.98rem;
}

/* ---------- Status band (Get page) ---------- */

.status-band {
  display: grid;
  gap: 28px;
  align-items: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 36px;
}
@media (min-width: 860px) {
  .status-band {
    grid-template-columns: 1.4fr 1fr;
  }
}
.status-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-dark);
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 12px;
}
.status-band h2 {
  font-size: 1.4rem;
}
.status-band p {
  margin-top: 12px;
  color: var(--muted);
}
.version-stamp {
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
}
.version-stamp span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.version-stamp strong {
  display: block;
  font-family: var(--mono);
  font-size: 1.8rem;
  margin: 6px 0;
  color: var(--ink);
}

.release-list {
  display: grid;
  gap: 24px;
}
.release-loading,
.release-error {
  color: var(--muted);
}
.release-card {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(24px, 5vw, 38px);
  box-shadow: var(--shadow-flat);
}
.release-card-head {
  display: grid;
  gap: 22px;
  align-items: center;
}
@media (min-width: 760px) {
  .release-card-head {
    grid-template-columns: 1fr auto;
  }
}
.release-card-head h3 {
  font-size: clamp(1.35rem, 1.15rem + 0.7vw, 1.6rem);
}
.release-card .version-stamp {
  min-width: min(100%, 280px);
}
.release-summary {
  max-width: 74ch;
  margin-top: 22px;
  color: var(--muted);
}
.release-meta {
  display: grid;
  gap: 1px;
  margin: 26px 0 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--border);
}
@media (min-width: 760px) {
  .release-meta {
    grid-template-columns: repeat(4, 1fr);
  }
}
.release-meta-item {
  min-width: 0;
  padding: 14px 16px;
  background: var(--surface-soft);
}
.release-meta-item span,
.release-meta-item strong {
  display: block;
}
.release-meta-item span {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.release-meta-item strong {
  margin-top: 4px;
  overflow-wrap: anywhere;
  font-size: 0.86rem;
}
.release-card button {
  cursor: pointer;
}
.release-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.release-builds {
  margin-top: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  overflow: hidden;
}
.release-builds-summary {
  display: flex;
  gap: 18px;
  align-items: center;
  min-height: 64px;
  padding: 14px 18px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.release-builds-summary::-webkit-details-marker {
  display: none;
}
.release-builds-summary::after {
  content: '';
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-left: auto;
  border-right: 2px solid var(--primary-dark);
  border-bottom: 2px solid var(--primary-dark);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 160ms ease;
}
.release-builds[open] .release-builds-summary::after {
  transform: rotate(225deg) translate(-2px, -2px);
}
.release-builds-summary:hover {
  background: var(--surface);
}
.release-builds-summary:focus-visible {
  outline: 3px solid rgba(11, 111, 104, 0.28);
  outline-offset: -3px;
}
.release-builds-summary-copy,
.release-builds-summary-copy strong,
.release-builds-summary-copy span {
  display: block;
}
.release-builds-summary-copy span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.8rem;
}
.release-builds-content {
  padding: 0 18px 18px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.release-builds-help {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.86rem;
}
.release-artifacts {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.release-artifact {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
@media (min-width: 620px) {
  .release-artifact {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px 24px;
    align-items: center;
  }
}
.release-artifact-info {
  display: grid;
  gap: 10px;
  min-width: 0;
}
.release-artifact-name strong,
.release-artifact-name span {
  display: block;
}
.release-artifact-name span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.8rem;
}
.release-artifact-filename,
.release-checksum code {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.release-artifact-filename {
  justify-self: start;
}
.release-checksum {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 0.76rem;
}
.release-checksum code {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
}
.release-artifact-action {
  justify-self: start;
}
@media (min-width: 620px) {
  .release-artifact-action {
    justify-self: end;
    white-space: nowrap;
  }
}
.release-artifact-action .button {
  padding: 9px 15px;
  font-size: 0.86rem;
}
.release-pending {
  display: inline-block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
}
.release-notice {
  margin-top: 24px;
  padding: 14px 16px;
  border-left: 3px solid var(--amber);
  background: #fff8e6;
  color: #574718;
  font-size: 0.88rem;
}
.release-dialog {
  width: min(780px, calc(100% - 32px));
  max-width: none;
  max-height: min(820px, calc(100% - 32px));
  margin: auto;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 16px 44px rgba(20, 37, 36, 0.18);
}
.release-dialog::backdrop {
  background: rgba(20, 37, 36, 0.58);
}
.release-dialog-card {
  padding: clamp(24px, 5vw, 40px);
}
.release-dialog-head {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: start;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.release-dialog-head h2 {
  font-size: clamp(1.45rem, 4vw, 2rem);
}
.release-dialog-body {
  display: grid;
  gap: 28px;
  margin-top: 26px;
}
.release-note-section h3 {
  font-size: 1.05rem;
}
.release-note-section p {
  margin-top: 10px;
  color: var(--muted);
}
.release-note-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}
.release-note-list li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
}
.release-note-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
}

.install-steps {
  display: grid;
  gap: 18px;
}
@media (min-width: 700px) {
  .install-steps {
    grid-template-columns: repeat(5, 1fr);
  }
}
.install-step {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--surface);
  position: relative;
}
.install-step .feature-num {
  display: block;
  margin-bottom: 10px;
}
.install-step h3 {
  font-size: 0.98rem;
}
.install-step p {
  margin-top: 8px;
  font-size: 0.88rem;
  color: var(--muted);
}

.checklist-layout {
  display: grid;
  gap: 28px;
}
@media (min-width: 860px) {
  .checklist-layout {
    grid-template-columns: 1fr 1.3fr;
  }
}
.check-list li {
  position: relative;
  padding: 12px 0 12px 28px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.96rem;
}
.check-list li:last-child {
  border-bottom: none;
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 19px;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--lime);
}

.legal-link-grid {
  display: grid;
  gap: 18px;
}
@media (min-width: 760px) {
  .legal-link-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.legal-link {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--surface);
}
.legal-link h2 {
  font-size: 1.02rem;
}
.legal-link p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}
.legal-link a {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
}
.legal-link a:hover {
  text-decoration: underline;
}

/* ---------- Support page ---------- */

.support-form-layout {
  display: grid;
  gap: 42px;
  align-items: start;
}
@media (min-width: 900px) {
  .support-form-layout {
    grid-template-columns: 0.78fr 1.35fr;
  }
  .support-form-intro {
    position: sticky;
    top: 104px;
  }
}
.support-form-intro > p {
  margin-top: 18px;
  color: var(--muted);
}
.support-form-intro .legal-notice {
  margin-top: 24px;
}
.support-form {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px 18px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 28px;
  box-shadow: var(--shadow-flat);
}
.support-form-status-link {
  justify-self: end;
  color: var(--primary-dark);
  font-size: 0.84rem;
  font-weight: 500;
  text-decoration: none;
}
.support-form-status-link:hover {
  text-decoration: underline;
}
@media (min-width: 680px) {
  .support-form {
    grid-template-columns: 1fr 1fr;
  }
}
.form-field {
  min-width: 0;
}
.form-field-wide {
  grid-column: 1 / -1;
}
.form-field label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
}
.form-field input[type='text'],
.form-field input[type='search'],
.form-field textarea,
.form-field select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}
.form-field textarea {
  min-height: 168px;
  resize: vertical;
}
.form-field input:focus-visible,
.form-field textarea:focus-visible,
.form-field select:focus-visible,
.button:focus-visible,
.support-form a:focus-visible {
  outline: 3px solid rgba(11, 111, 104, 0.28);
  outline-offset: 2px;
  border-color: var(--primary);
}
.support-form-status-link:focus-visible,
.ticket-status-card a:focus-visible {
  outline: 3px solid rgba(11, 111, 104, 0.28);
  outline-offset: 3px;
}
.form-field [aria-invalid='true'] {
  border-color: #a13c32;
}
.field-hint,
.field-error,
.optional {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 400;
}
.optional {
  display: inline;
  margin-left: 5px;
}
.field-error {
  color: #872d25;
  min-height: 1.2em;
}
.field-warning {
  margin: 0 0 10px;
  padding: 10px 12px;
  border-left: 3px solid var(--amber);
  background: #fff8e6;
  color: #574718;
  font-size: 0.86rem;
}
.acknowledgement {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 0 10px;
  align-items: start;
}
.acknowledgement input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--primary);
}
.acknowledgement label {
  margin: 0;
  font-weight: 400;
}
.acknowledgement .field-error {
  grid-column: 2;
}
.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.form-actions button {
  cursor: pointer;
}
.form-actions button:disabled {
  cursor: wait;
  opacity: 0.65;
}
.form-status,
.form-fallback {
  color: var(--muted);
  font-size: 0.88rem;
}
.form-status {
  flex: 1 1 280px;
}
.form-fallback {
  grid-column: 1 / -1;
  border-left: 3px solid var(--amber);
  padding-left: 12px;
}

.reference-dialog {
  width: min(560px, calc(100% - 32px));
  max-width: none;
  margin: auto;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(20, 37, 36, 0.28);
}
.reference-dialog::backdrop {
  background: rgba(20, 37, 36, 0.58);
  backdrop-filter: blur(2px);
}
.reference-dialog-card {
  padding: clamp(26px, 5vw, 42px);
}
.reference-dialog-card h2 {
  margin-top: 12px;
  font-size: clamp(1.6rem, 4vw, 2.25rem);
}
.reference-dialog-card > p {
  margin-top: 14px;
  color: var(--muted);
}
.reference-value {
  display: grid;
  gap: 12px;
  margin: 26px 0;
  padding: 18px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
}
.reference-value code {
  overflow-wrap: anywhere;
  color: var(--primary-dark);
  font-size: clamp(0.8rem, 2.5vw, 0.98rem);
  font-weight: 700;
  text-align: center;
}
.reference-value .button {
  justify-self: center;
}
.reference-dialog-card form {
  display: flex;
  justify-content: flex-end;
}
.reference-dialog .button:focus-visible {
  outline: 3px solid rgba(11, 111, 104, 0.28);
  outline-offset: 2px;
}

.ticket-status-layout {
  display: grid;
  gap: 32px;
  align-items: start;
}
@media (min-width: 860px) {
  .ticket-status-layout {
    grid-template-columns: 0.9fr 1.1fr;
  }
}
.ticket-status-lead {
  margin-top: 16px;
  color: var(--muted);
}
#ticket-status-title {
  scroll-margin-top: 96px;
}
.ticket-status-card {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-flat);
}
.ticket-status-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ticket-status-actions button:disabled {
  cursor: wait;
  opacity: 0.65;
}
.ticket-status-message {
  min-height: 1.35em;
  color: var(--muted);
  font-size: 0.88rem;
}
.ticket-status-result {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.ticket-status-result[hidden] {
  display: none;
}
.ticket-status-result > span {
  color: var(--muted);
  font-size: 0.84rem;
}
.ticket-status-result > strong {
  color: var(--ink);
  text-align: right;
}
.ticket-status-result > span:last-child {
  display: contents;
}
.ticket-status-result > span:last-child[hidden] {
  display: none;
}
.ticket-status-result a {
  justify-self: end;
  color: var(--primary-dark);
  font-family: var(--mono);
  font-weight: 700;
}

.section-lead-spaced {
  margin-top: 18px;
}
.legal-notice-spaced {
  margin-top: 28px;
}
.shot-frame-spaced {
  margin-top: 22px;
}

.issue-controls {
  display: grid;
  gap: 18px;
  margin-bottom: 24px;
}
@media (min-width: 700px) {
  .issue-controls {
    grid-template-columns: minmax(260px, 1fr) 240px;
  }
}
.issue-list {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.issue-row {
  padding: 24px 26px;
  border-bottom: 1px solid var(--border);
}
.issue-row:last-child {
  border-bottom: 0;
}
.issue-row h3 {
  margin-top: 12px;
  font-size: 1.03rem;
}
.issue-row > p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.92rem;
}
.issue-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 14px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.76rem;
}
.issue-id {
  color: var(--primary-dark);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
}
.issue-status {
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 4px 9px;
  color: var(--ink);
  font-family: var(--font);
  font-weight: 500;
}
.issue-status-reported {
  border-color: #b98624;
  background: #fff8e6;
}
.issue-status-planned {
  border-color: var(--primary);
  background: var(--surface-soft);
}
.issue-status-in_progress {
  border-color: var(--primary-dark);
  background: var(--primary-dark);
  color: #fff;
}
.issue-status-resolved {
  border-color: #b8c5c2;
  background: #edf1f0;
  color: #40504d;
}
.issue-message {
  padding: 26px;
  color: var(--muted);
}
.issue-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
}
.issue-pagination[hidden] {
  display: none;
}
.issue-pagination span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.82rem;
}
.issue-pagination .button {
  cursor: pointer;
  padding: 9px 16px;
}
.issue-pagination .button:disabled {
  cursor: default;
  opacity: 0.45;
}

.support-grid {
  display: grid;
  gap: 18px;
}
@media (min-width: 760px) {
  .support-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.support-card {
  border: 1px solid var(--border);
  border-top: 3px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 26px;
  background: var(--surface);
}
.support-card-primary {
  border-top-color: var(--primary);
}
.support-card-policy {
  border-top-color: var(--amber);
}
.support-card-publisher {
  border-top-color: var(--muted);
}
.support-card h2 {
  font-size: 1.05rem;
}
.support-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}
.support-card a {
  display: inline-block;
  margin-top: 14px;
  font-weight: 500;
  font-size: 0.92rem;
  text-decoration: none;
}
.support-card a:hover {
  text-decoration: underline;
}

.advanced-layout {
  display: grid;
  gap: 32px;
}
@media (min-width: 900px) {
  .advanced-layout {
    grid-template-columns: 0.9fr 1.4fr;
  }
}
.code-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--ink);
  color: #dff2ee;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin: 10px 0 18px;
}
.code-block code {
  min-width: 0;
  background: transparent;
  border: none;
  color: #dff2ee;
  padding: 0;
  font-size: 0.88rem;
  overflow-wrap: anywhere;
}
.copy-button {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.78rem;
  cursor: pointer;
}
.copy-button:hover {
  background: rgba(255, 255, 255, 0.18);
}
.env-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}
.env-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  background: var(--surface);
}
.env-item > code {
  display: inline-block;
  margin-bottom: 6px;
}
.env-item p {
  color: var(--muted);
  font-size: 0.9rem;
}
.env-item .code-block {
  margin: 12px 0 0;
}
.legal-notice {
  border-left: 3px solid var(--amber);
  padding: 12px 16px;
  background: var(--surface-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.88rem;
  color: var(--muted);
}

/* ---------- Product tour page ---------- */

.tour-layout {
  display: grid;
  gap: 40px;
}
@media (min-width: 960px) {
  .tour-layout {
    grid-template-columns: 220px 1fr;
  }
}
.tour-nav {
  align-self: start;
  position: sticky;
  top: 96px;
  display: none;
}
@media (min-width: 960px) {
  .tour-nav {
    display: block;
  }
}
.tour-nav-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 12px;
}
.tour-nav a {
  display: block;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
  border-left: 2px solid var(--border);
  padding-left: 14px;
}
.tour-nav a:hover,
.tour-nav a.is-active {
  color: var(--ink);
  border-left-color: var(--primary);
}

.tour-section {
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 64px;
  scroll-margin-top: 96px;
}
.tour-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.tour-section-head {
  max-width: 640px;
  margin-bottom: 24px;
}
.tour-index {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--primary);
}
.tour-section h2 {
  font-size: 1.4rem;
  margin-top: 8px;
}
.tour-section p {
  margin-top: 10px;
  color: var(--muted);
}

.shot-frame {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-flat);
  cursor: zoom-in;
}
.shot-frame img {
  width: 100%;
  height: auto;
}
.shot-caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  padding: 14px 18px;
  border-top: 1px solid var(--border);
  font-size: 0.86rem;
  color: var(--muted);
}
.shot-caption strong {
  color: var(--ink);
  font-weight: 500;
}

.video-frame {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-flat);
}
.video-frame video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: var(--ink);
}
.video-frame video:focus-visible {
  outline: 3px solid rgba(11, 111, 104, 0.28);
  outline-offset: -3px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(9, 15, 17, 0.86);
}
.lightbox[data-open='true'] {
  display: flex;
}
.lightbox-inner {
  max-width: min(1100px, 92vw);
  max-height: 88vh;
}
.lightbox-inner img {
  max-height: 88vh;
  width: auto;
  margin: 0 auto;
  border-radius: var(--radius-sm);
}
.lightbox-caption {
  color: #dfe7e5;
  text-align: center;
  margin-top: 14px;
  font-size: 0.9rem;
}
.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  cursor: pointer;
  font-size: 0.85rem;
}

/* ---------- Legal page ---------- */

.legal-shell {
  display: grid;
  gap: 40px;
}
@media (min-width: 960px) {
  .legal-shell {
    grid-template-columns: 220px 1fr;
  }
}
.legal-nav {
  align-self: start;
  position: sticky;
  top: 96px;
}
.legal-nav a {
  display: block;
  padding: 8px 0 8px 14px;
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
  border-left: 2px solid var(--border);
}
.legal-nav a:hover {
  color: var(--ink);
  border-left-color: var(--primary);
}
.legal-doc {
  scroll-margin-top: 96px;
  margin-bottom: 72px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}
.legal-doc:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.legal-doc-head h2 {
  font-size: 1.6rem;
}
.legal-meta {
  margin-top: 8px;
  font-size: 0.86rem;
  color: var(--muted);
  font-family: var(--mono);
}
.legal-intro {
  margin-top: 18px;
  color: var(--muted);
  max-width: 70ch;
}
.legal-section {
  margin-top: 32px;
}
.legal-section h3 {
  font-size: 1.05rem;
}
.legal-section p {
  margin-top: 10px;
  color: var(--muted);
  max-width: 72ch;
}
.legal-section ul {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}
.legal-section ul li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  max-width: 72ch;
  font-size: 0.95rem;
}
.legal-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: #cbd6d3;
}
.footer-main {
  display: grid;
  gap: 32px;
  padding: 56px 0 36px;
}
@media (min-width: 760px) {
  .footer-main {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }
}
.footer-brand .wordmark {
  color: #fff;
}
.footer-brand .wordmark-mark {
  background: #fff;
  color: var(--ink);
}
.footer-brand p {
  margin-top: 12px;
  font-size: 0.9rem;
  max-width: 32ch;
  color: #9fadaa;
}
.footer-heading {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8b9996;
  margin-bottom: 14px;
}
.footer-links {
  display: grid;
  gap: 10px;
}
.footer-links a {
  color: #cbd6d3;
  text-decoration: none;
  font-size: 0.92rem;
}
.footer-links a:hover {
  color: #fff;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  color: #8b9996;
}
.footer-font-license {
  color: #cbd6d3;
  text-underline-offset: 0.18em;
}
.footer-font-license:hover {
  color: #fff;
}
.footer-font-license:focus-visible,
.font-license-close:focus-visible {
  outline: 3px solid rgba(191, 215, 68, 0.72);
  outline-offset: 3px;
}

.font-license-dialog {
  width: min(680px, calc(100% - 32px));
  max-width: none;
  max-height: min(85dvh, 760px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(20, 37, 36, 0.28);
}
.font-license-dialog[open] {
  display: flex;
  flex-direction: column;
}
.font-license-dialog::backdrop {
  background: rgba(20, 37, 36, 0.58);
  backdrop-filter: blur(2px);
}
.font-license-dialog-card {
  display: flex;
  min-height: 0;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 14px;
  padding: clamp(22px, 5vw, 38px);
}
.font-license-dialog-card h2 {
  margin: 0;
  font-size: clamp(1.45rem, 4vw, 1.9rem);
}
.font-license-dialog-card > p {
  margin: 0;
  color: var(--muted);
}
.font-license-dialog-text {
  min-height: 8rem;
  flex: 1 1 auto;
  margin: 0;
  padding: 16px;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.font-license-dialog-card > a {
  color: var(--primary-dark);
}
.font-license-dialog-actions {
  display: flex;
  justify-content: flex-end;
}
.font-license-close {
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
.font-license-close:hover {
  background: var(--surface-soft);
}

/* ---------- Roadmap timeline ---------- */

.roadmap-timeline {
  display: grid;
  max-width: 740px;
}
.roadmap-stop {
  --stop-fade: 0.26;
  position: relative;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 0 22px;
  padding-bottom: 42px;
}
.roadmap-stop:nth-child(1) {
  --stop-fade: 1;
}
.roadmap-stop:nth-child(2) {
  --stop-fade: 0.72;
}
.roadmap-stop:nth-child(3) {
  --stop-fade: 0.52;
}
.roadmap-stop:nth-child(4) {
  --stop-fade: 0.36;
}
.roadmap-stop:nth-child(5) {
  --stop-fade: 0.3;
}
.roadmap-stop:last-child {
  padding-bottom: 0;
}
.roadmap-stop::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 28px;
  bottom: 2px;
  border-left: 2px solid var(--primary);
  opacity: var(--stop-fade);
}
.roadmap-stop:nth-child(n + 3)::before {
  border-left-style: dashed;
}
.roadmap-stop:last-child::before {
  display: none;
}
.roadmap-marker {
  align-self: start;
  margin-top: 6px;
  width: 20px;
  height: 20px;
  border: 3px solid var(--primary);
  border-radius: 50%;
  background: var(--bg);
  opacity: var(--stop-fade);
}
.roadmap-stop:nth-child(1) .roadmap-marker {
  border-color: var(--primary-dark);
  background: var(--primary-dark);
}
.roadmap-state {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--primary-dark);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.roadmap-stop:nth-child(n + 3) .roadmap-state {
  color: var(--muted);
}
.roadmap-body h3 {
  font-size: 1.15rem;
}
.roadmap-body p {
  max-width: 62ch;
  margin-top: 8px;
  color: var(--muted);
}
/* Text recedes with distance too, but stops at the AA contrast floor: the
   strong part of the fade is carried by the marker and connector above. */
.roadmap-stop:nth-child(3) .roadmap-body h3 {
  color: #3a474d;
}
.roadmap-stop:nth-child(n + 4) .roadmap-body h3 {
  color: var(--muted);
}
.roadmap-stop:nth-child(n + 3) .roadmap-body p {
  color: #5d6b71;
}
.roadmap-stop:nth-child(n + 3) .roadmap-state {
  border-color: rgba(23, 33, 38, 0.09);
}

/* ---------- Roadmap idea cloud ---------- */

/* The road does not stop dead at the last stop: its connector carries on and
   dissolves into the cloud, so both belong to one block. */
.roadmap-stop:last-child {
  padding-bottom: 40px;
}
.roadmap-stop:last-child::before {
  display: block;
  bottom: 0;
  border-left-style: dotted;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent);
  mask-image: linear-gradient(to bottom, #000, transparent);
}
.roadmap-beyond {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.roadmap-beyond-title {
  font-size: 1.05rem;
  color: var(--muted);
  font-weight: 500;
}
.roadmap-beyond-lead {
  max-width: 54ch;
  margin: 8px auto 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.idea-cloud {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2px 0;
  max-width: 720px;
  margin-top: 30px;
  text-align: center;
}
.idea {
  padding: 0 13px;
  line-height: 1.22;
  color: var(--muted);
}
.idea-xl {
  font-size: 2.05rem;
  font-weight: 700;
  color: var(--ink);
}
.idea-lg {
  font-size: 1.5rem;
  font-weight: 700;
  color: #29363c;
}
.idea-md {
  font-size: 1.15rem;
  font-weight: 500;
  color: #3f4d53;
}
.idea-sm {
  font-size: 0.98rem;
}
.idea-xs {
  font-size: 0.88rem;
  color: #5d6b71;
}
.idea-note {
  max-width: 58ch;
  margin: 32px auto 0;
  color: var(--muted);
}
@media (max-width: 560px) {
  .idea {
    padding: 0 9px;
  }
  .idea-xl {
    font-size: 1.6rem;
  }
  .idea-lg {
    font-size: 1.28rem;
  }
  .idea-md {
    font-size: 1.05rem;
  }
}

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 1;
  transform: none;
}

/* ---------- Print (legal page) ---------- */

@media print {
  .site-header,
  .site-footer,
  .legal-nav,
  .cta-band {
    display: none !important;
  }
  .legal-doc {
    border-bottom: none;
    page-break-after: always;
  }
}
