.grainient-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.grainient-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

/* agent session card for the page hero, same palette and frame as the other cards with the transcript on the right */
.as {
  --as-lime: #c2ff26;
  --as-amber: #f2a33a;
  --as-text: #e6efe9;
  --as-muted: #9fb5ad;
  --as-line: rgba(255, 255, 255, 0.1);
  --as-mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: 36px;
  margin: 0;
  padding: 28px;
  border: 1px solid var(--as-line);
  border-radius: 20px;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(33, 163, 0, 0.09), transparent 60%),
    #0a1411;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.8);
  color: var(--as-text);
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 14px;
  text-align: left;
}

:where(.as) :where(p, dl, dd) {
  margin: 0;
  padding: 0;
}

.as strong {
  color: var(--as-text);
  font-weight: 600;
}

/* summary column */
.as__live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--as-muted);
  font-family: var(--as-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.as__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--as-lime);
  box-shadow: 0 0 8px rgba(194, 255, 38, 0.7);
}

.as__title {
  margin-top: 18px;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.as__title em {
  color: var(--as-lime);
  font-style: normal;
}

.as__lead {
  margin-top: 16px;
  color: var(--as-muted);
  font-family: var(--as-mono);
  font-size: 13px;
  line-height: 1.65;
}

.as__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 22px;
  border-top: 1px solid var(--as-line);
}

.as__stats div {
  display: flex;
  flex-direction: column-reverse;
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px solid var(--as-line);
}

.as__stats div:nth-child(odd) {
  padding-right: 14px;
  border-right: 1px solid var(--as-line);
}

.as__stats div:nth-child(even) {
  padding-left: 14px;
}

.as__stats dt {
  color: var(--as-muted);
  font-family: var(--as-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.as__stats dd {
  font-size: 26px;
  font-weight: 500;
  line-height: 1.1;
}

.as__stats .is-accent dd {
  color: var(--as-lime);
}

.as__client {
  margin-top: 16px;
  color: var(--as-muted);
  font-family: var(--as-mono);
  font-size: 11px;
}

/* the static build card drops the summary column and gets more air between blocks since it sits beside copy */
.as--single {
  grid-template-columns: minmax(0, 1fr);
  padding: 28px;
}

.as--single .as__log {
  gap: 20px;
}

.as--single .as__reply {
  line-height: 1.75;
}

.as :not(pre) > code {
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--as-text);
  font-family: var(--as-mono);
  font-size: 0.95em;
}

/* transcript, in the played version every piece is in the layout from the start and fades in when its beat is reached */
.as__log {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.as--play :is(.as__prompt, .as__reply, .as__panel, .as__row, .as__tags) {
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.as--play .as__log .is-in {
  opacity: 1;
  transform: none;
}

.as__prompt {
  display: flex;
  gap: 10px;
  padding: 12px 16px;
  border-left: 2px solid var(--as-lime);
  border-radius: 0 10px 10px 0;
  background: rgba(194, 255, 38, 0.05);
  font-family: var(--as-mono);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

.as__chevron {
  color: var(--as-lime);
}

.as__ghost {
  color: transparent;
}

.as__caret {
  display: inline-block;
  width: 7px;
  height: 1.1em;
  margin-left: 1px;
  vertical-align: text-bottom;
  background: var(--as-lime);
}

.as__reply {
  position: relative;
  padding-left: 22px;
  color: var(--as-muted);
  font-family: var(--as-mono);
  font-size: 13px;
  line-height: 1.65;
}

.as__reply::before {
  content: '';
  position: absolute;
  top: 0.62em;
  left: 4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--as-lime);
}

.as__hl {
  color: var(--as-lime);
}

.as__panel {
  margin-left: 22px;
  overflow: hidden;
  border: 1px solid var(--as-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  font-family: var(--as-mono);
  font-size: 12.5px;
}

.as__panel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--as-line);
  color: var(--as-muted);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.as__kv div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 12px;
  padding: 9px 14px;
  border-top: 1px solid var(--as-line);
}

.as__kv div:first-child {
  border-top: 0;
}

.as__kv dt {
  color: var(--as-muted);
}

.as__kv dd {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.as__ok {
  color: var(--as-lime);
}

.as__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.6fr) 88px;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  border-top: 1px solid var(--as-line);
}

.as__grid > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.as__grid--head {
  border-top: 0;
  color: var(--as-muted);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.as__shape {
  color: var(--as-muted);
}

.as__row.is-hub {
  background: rgba(194, 255, 38, 0.05);
}

.as__row.is-hub .as__entity {
  color: var(--as-lime);
}

.as__bronze {
  justify-self: start;
  padding: 1px 7px;
  border: 1px solid var(--as-line);
  border-radius: 4px;
  color: var(--as-muted);
  font-size: 11px;
}

.as__bronze.is-append {
  border-color: rgba(242, 163, 58, 0.6);
  color: var(--as-amber);
}

.as__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-left: 22px;
  font-family: var(--as-mono);
  font-size: 11px;
}

.as__tags span {
  padding: 3px 8px;
  border: 1px solid var(--as-line);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
}

.as__tags .as__tags-label {
  padding: 0 4px 0 0;
  border: 0;
  background: none;
  color: var(--as-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.as__tags .is-warn {
  border-color: rgba(242, 163, 58, 0.6);
  color: var(--as-amber);
}

/* generated code, scrolls sideways inside its panel rather than widening the card */
.as__code {
  margin: 0;
  padding: 14px;
  overflow-x: auto;
  color: var(--as-text);
  font-family: var(--as-mono);
  font-size: 12px;
  line-height: 1.65;
}

.as__tok-k {
  color: var(--as-lime);
}

.as__tok-t {
  color: #8fd3b6;
}

.as__tok-f {
  font-weight: 600;
}

.as__tok-s {
  color: #b8d4a8;
}

.as__layers div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-top: 1px solid var(--as-line);
}

.as__layers div:first-child {
  border-top: 0;
}

.as__layers span:first-child {
  padding-left: 10px;
  border-left: 2px solid rgba(255, 255, 255, 0.25);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.as__layers span:last-child {
  color: var(--as-muted);
  font-size: 11px;
  text-align: right;
}

.as__layers .is-live span:first-child {
  border-left-color: var(--as-lime);
}

.as__layers .is-live span:last-child {
  color: var(--as-lime);
}

@media (prefers-reduced-motion: reduce) {
  .as__prompt,
  .as__reply,
  .as__panel,
  .as__row,
  .as__tags {
    transition: none;
  }
}

/* narrower screens put the summary above the transcript */
@media (max-width: 900px) {
  .as {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* phones drop the pk and shape columns so entity names keep their room */
@media (max-width: 640px) {
  .as {
    padding: 16px;
    border-radius: 16px;
  }

  .as__title {
    font-size: 26px;
  }

  .as__prompt {
    padding: 10px 12px;
    font-size: 12.5px;
  }

  .as__reply {
    font-size: 12px;
  }

  .as__panel,
  .as__tags {
    margin-left: 0;
  }

  .as__kv div {
    grid-template-columns: 96px minmax(0, 1fr);
  }

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

  .as__pk,
  .as__shape {
    display: none;
  }
}

.floating-lines-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.floating-lines-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

/* design tokens for the dark-first rebuild, lime and green come from the site's brand variables */
.td-section {
  --td-bg: #021a16;
  --td-bg-2: #01332a;
  --td-green: #21a300;
  --td-lime: #c2ff26;
  --td-lime-soft: rgba(194, 255, 38, 0.12);
  --td-text: #e6efe9;
  --td-muted: #9fb5ad;
  --td-faint: rgba(230, 239, 233, 0.5);
  --td-line: rgba(255, 255, 255, 0.08);
  --td-line-strong: rgba(255, 255, 255, 0.14);
  --td-radius: 20px;
  --td-mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  position: relative;
  isolation: isolate;
  overflow: hidden;
  /* --td-section-bg goes transparent when a page level grainient sits behind everything */
  background: var(--td-section-bg, var(--td-bg));
  color: var(--td-text);
  font-family: inherit;
  /* every section pads both edges, so two in a row stack into double this, kept modest so the stacked gap doesn't read as dead space */
  padding: clamp(48px, 5.5vw, 80px) 0;
  -webkit-font-smoothing: antialiased;
}

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

.td-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* absolute layer for animated backgrounds, sits under the container */
.td-bg-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* faint lime grid that fades out from the center through a radial mask */
.td-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(194, 255, 38, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(194, 255, 38, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 100%);
}

/* top and bottom fades so neighboring sections blend into each other */
.td-fade-edges::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, var(--td-fade-bg, var(--td-bg)) 0%, transparent 18%, transparent 82%, var(--td-fade-bg, var(--td-bg)) 100%);
}

/* section header */
.td-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  max-width: 760px;
}

.td-header--center {
  align-items: center;
  text-align: center;
  margin: 0 auto;
}

.td-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border: 1px solid rgba(194, 255, 38, 0.25);
  border-radius: 999px;
  background: rgba(194, 255, 38, 0.06);
  color: var(--td-lime);
  font-family: var(--td-mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.td-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--td-lime);
  box-shadow: 0 0 12px var(--td-lime);
}

.td-h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 1.25rem + 3vw, 3.5rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.td-header--center .td-h2 {
  justify-content: center;
}

.td-lead {
  margin: 0;
  color: var(--td-muted);
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.6;
}

.td-mono-label {
  font-family: var(--td-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--td-lime);
}

/* buttons */
.td-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.td-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.td-btn:hover {
  transform: translateY(-1px);
}

.td-btn--primary {
  background: var(--td-lime);
  color: #021a16;
  box-shadow:
    0 0 0 1px rgba(194, 255, 38, 0.5),
    0 10px 40px -10px rgba(194, 255, 38, 0.7);
}

.td-btn--primary:hover {
  background: #d4ff63;
  box-shadow:
    0 0 0 1px rgba(194, 255, 38, 0.7),
    0 14px 48px -10px rgba(194, 255, 38, 0.9);
}

.td-btn--ghost {
  border: 1px solid var(--td-line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
}

.td-btn--ghost:hover {
  border-color: rgba(194, 255, 38, 0.4);
  background: rgba(194, 255, 38, 0.06);
}

.td-btn svg {
  transition: transform 0.2s ease;
}

.td-btn:hover svg {
  transform: translateX(3px);
}

/* glass card with a cursor-following spotlight, position comes from --mx and --my set by useSpotlight */
.td-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--td-line);
  border-radius: var(--td-radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  transition:
    border-color 0.3s ease,
    transform 0.3s ease;
}

.td-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(194, 255, 38, 0.12), transparent 45%);
  transition: opacity 0.3s ease;
}

.td-card:hover {
  border-color: rgba(194, 255, 38, 0.3);
}

.td-card:hover::before {
  opacity: 1;
}

.td-card > * {
  position: relative;
  z-index: 1;
}

.td-icon-tile {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(194, 255, 38, 0.25);
  border-radius: 12px;
  background: rgba(194, 255, 38, 0.07);
  color: var(--td-lime);
}

/* rotating conic beam around a frame, done with a spinning pseudo element since @property is ignored in shadow roots */
.td-beam-frame {
  position: relative;
  padding: 1px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--td-line-strong);
}

.td-beam-frame::before {
  content: '';
  position: absolute;
  inset: -60%;
  background: conic-gradient(from 0deg, transparent 0deg 290deg, rgba(194, 255, 38, 0.15) 310deg, var(--td-lime) 350deg, transparent 360deg);
  animation: td-spin 7s linear infinite;
}

.td-beam-frame__inner {
  position: relative;
  border-radius: 17px;
  overflow: hidden;
  background: var(--td-bg);
}

.td-beam-frame__inner img {
  display: block;
  width: 100%;
  height: auto;
}

@keyframes td-spin {
  to {
    transform: rotate(1turn);
  }
}

/* scroll reveal toggled by useReveal */
/* reveals start just before content reaches the screen, a shorter fade and stagger delays at 40% of what components pass keep the order but stop content from waiting on screen */
.td-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--td-delay, 0ms) * 0.4);
}

.td-reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .td-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .td-beam-frame::before {
    animation: none;
  }
}

/* large screens step the layout up instead of leaving a small column in the middle of a wide monitor,
   text measure stays capped by the header and lead max-widths, backgrounds were already full bleed */
@media (min-width: 1680px) {
  .td-container {
    max-width: 1360px;
  }

  .td-header {
    max-width: 840px;
  }

  .td-h2 {
    font-size: 3.9rem;
  }

  .td-lead {
    font-size: 1.35rem;
  }
}

@media (min-width: 1920px) {
  .td-container {
    max-width: 1440px;
  }

  .td-h2 {
    font-size: 4.2rem;
  }
}

/* system stack card, same frame as the medallion view so the two read as one set */
.sd {
  --sd-lime: #c2ff26;
  --sd-green: #21a300;
  --sd-text: #e6efe9;
  --sd-muted: #9fb5ad;
  --sd-line: rgba(255, 255, 255, 0.1);
  --sd-mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --sd-pad: 22px;
  --sd-gap: 12px;
  margin: 0;
  padding: 24px;
  border: 1px solid var(--sd-line);
  border-radius: 20px;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(33, 163, 0, 0.09), transparent 60%),
    #0a1411;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.8);
  color: var(--sd-text);
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  text-align: left;
}

:where(.sd) :where(ul, p) {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* one band per layer, the middle one carries the lime edge since it is the product */
.sd__layer {
  padding: var(--sd-pad);
  border: 1px solid var(--sd-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.sd__layer--agent {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
}

.sd__layer--core {
  border-color: rgba(194, 255, 38, 0.45);
  background:
    linear-gradient(180deg, rgba(33, 163, 0, 0.16), rgba(33, 163, 0, 0.04)),
    #0b1d17;
  box-shadow:
    0 0 0 4px rgba(194, 255, 38, 0.05),
    0 30px 70px -40px rgba(194, 255, 38, 0.35);
}

.sd__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
}

.sd__tag {
  color: var(--sd-muted);
  font-family: var(--sd-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sd__layer--core .sd__tag {
  color: var(--sd-lime);
}

.sd__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sd__chips li {
  padding: 6px 12px;
  border: 1px solid var(--sd-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--sd-text);
  font-family: var(--sd-mono);
  font-size: 13px;
}

/* the three context cells inside tabsdata */
.sd__cells {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sd-gap);
  margin-top: 18px;
}

.sd__cell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: start;
  column-gap: 14px;
  padding: 18px;
  border: 1px solid var(--sd-line);
  border-radius: 12px;
  background: #0d211b;
}

.sd__cell .sd__icon {
  grid-row: span 3;
}

.sd__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(194, 255, 38, 0.1);
  color: var(--sd-lime);
}

.sd__icon--muted {
  background: rgba(255, 255, 255, 0.05);
  color: var(--sd-muted);
}

.sd__ask {
  color: var(--sd-lime);
  font-family: var(--sd-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sd__name {
  margin-top: 4px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
}

.sd__note {
  margin-top: 4px;
  color: var(--sd-muted);
  font-size: 14px;
  line-height: 1.45;
}

/* connector rows, same columns and gap as the ends so each arrow sits over its end */
.sd__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sd-gap);
  padding: 0 calc(var(--sd-pad) + 1px);
}

/* arrow always sits in the middle column, so it lines up whether or not a label sits beside it */
.sd__link {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 10px;
  min-width: 0;
}

.sd__arrow {
  grid-column: 2;
  width: 12px;
  height: 52px;
  fill: none;
  stroke: var(--sd-green);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sd__label {
  grid-column: 3;
  justify-self: start;
  color: var(--sd-muted);
  font-family: var(--sd-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* sources and destinations at the bottom */
.sd__ends {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sd-gap);
  margin-top: 16px;
}

.sd__end {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 14px;
  border: 1px solid var(--sd-line);
  border-radius: 12px;
  text-align: center;
}

.sd__end .sd__name {
  margin-top: 10px;
}

@media (max-width: 640px) {
  .sd {
    --sd-pad: 14px;
    --sd-gap: 10px;
    padding: 12px;
    border-radius: 16px;
  }

  .sd__layer {
    border-radius: 12px;
  }

  .sd__cells {
    grid-template-columns: 1fr;
    margin-top: 14px;
  }

  .sd__cell {
    padding: 14px;
  }

  .sd__name {
    font-size: 16px;
  }

  .sd__note {
    font-size: 13px;
  }

  .sd__arrow {
    height: 44px;
  }

  .sd__label {
    font-size: 11px;
  }

  .sd__end {
    padding: 14px 8px;
  }
}

.td-page-hero {
  padding-top: clamp(140px, 14vw, 190px);
  padding-bottom: clamp(72px, 8vw, 112px);
}

.td-page-hero__bg {
  -webkit-mask-image: var(--td-own-grain-mask, none);
  mask-image: var(--td-own-grain-mask, none);
  opacity: 0.8;
}

.td-page-hero__lines {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 20%, #000 55%, transparent 92%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 20%, #000 55%, transparent 92%);
}

.td-page-hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, transparent 0%, rgba(2, 26, 22, 0.5) 75%, rgba(2, 26, 22, 0.85) 100%),
    linear-gradient(to bottom, transparent 60%, var(--td-fade-bg, var(--td-bg)) 100%);
  -webkit-mask-image: var(--td-vignette-mask, none);
  mask-image: var(--td-vignette-mask, none);
}

.td-page-hero__layout {
  display: grid;
  gap: clamp(48px, 6vw, 80px);
  align-items: center;
}

.td-page-hero.has-side-image .td-page-hero__layout {
  grid-template-columns: 1.05fr 1fr;
}

.td-page-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.td-page-hero.is-center .td-page-hero__copy {
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.td-page-hero__title {
  margin: 24px 0 0;
  color: #fff;
  font-size: clamp(2.5rem, 1.4rem + 4.2vw, 4.75rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.td-page-hero__accent {
  color: var(--td-lime);
  text-shadow: 0 0 40px rgba(194, 255, 38, 0.3);
}

.td-page-hero__tagline {
  margin: 22px 0 0;
  color: var(--td-lime);
  font-family: var(--td-mono);
  font-size: clamp(0.9rem, 0.85rem + 0.2vw, 1rem);
  letter-spacing: 0.04em;
}

.td-page-hero__body {
  max-width: 720px;
  margin-top: 22px;
}

.td-page-hero__actions {
  margin-top: 36px;
}

.td-page-hero.is-center .td-page-hero__actions {
  justify-content: center;
}

.td-page-hero__note {
  margin: 16px 0 0;
  color: var(--td-faint);
  font-size: 14px;
}

.td-page-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.td-page-hero.is-center .td-page-hero__badges {
  justify-content: center;
}

.td-page-hero__badges li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--td-line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--td-text);
  font-size: 14px;
}

.td-page-hero__badges svg {
  color: var(--td-lime);
}

.td-page-hero__media {
  position: relative;
  width: 100%;
}

.td-page-hero.is-center .td-page-hero__media {
  max-width: 1040px;
  margin: 0 auto;
}

.td-page-hero__glow {
  position: absolute;
  inset: 10% 8% -6%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(194, 255, 38, 0.24), rgba(33, 163, 0, 0.1) 55%, transparent);
  filter: blur(40px);
}

/* quick link cards under the hero, used for install, docs and contact shortcuts */
.td-page-hero__links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: clamp(48px, 6vw, 72px);
}

.td-page-hero__link {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  padding: 24px 26px;
  text-decoration: none;
}

.td-page-hero__link-text {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 500;
}

.td-page-hero__link-text svg {
  color: var(--td-lime);
}

@media (max-width: 960px) {
  .td-page-hero.has-side-image .td-page-hero__layout {
    grid-template-columns: 1fr;
  }
}

/* the header grid keeps its full strength down to the bottom edge, the default radial fade would die out right where the next section's grid starts and leave a gap.
   the side fade stays, and a bottom fade only in the last 8% so the seam into the next section is invisible */
.td-page-hero > .td-grid {
  -webkit-mask-image:
    radial-gradient(ellipse 70% 100% at 50% 40%, #000 30%, transparent 100%),
    linear-gradient(to bottom, #000 92%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    radial-gradient(ellipse 70% 100% at 50% 40%, #000 30%, transparent 100%),
    linear-gradient(to bottom, #000 92%, transparent 100%);
  mask-composite: intersect;
}

