.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

.hero {
  position: relative;
  min-height: calc(100vh - 62px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  border-bottom: 1px solid var(--border);
}

.hero-banner {
  isolation: isolate;
  min-height: calc(100svh - 62px);
  margin-top: -36px;
  padding-top: calc(clamp(3rem, 7vw, 5.5rem) + 36px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.96), rgba(5, 7, 10, 0.74), rgba(5, 7, 10, 0.9)),
    var(--hero-bg, radial-gradient(circle at 68% 55%, rgba(255, 122, 24, 0.28), transparent 24rem));
  background-size: cover;
  background-position: center;
}

.hero-banner::before {
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.86) 0%, rgba(5, 7, 10, 0.56) 42%, rgba(5, 7, 10, 0.18) 70%, rgba(5, 7, 10, 0.46) 100%),
    linear-gradient(180deg, rgba(5, 7, 10, 0.12) 0%, rgba(5, 7, 10, 0.38) 100%),
    var(--hero-bg);
  background-size: cover;
  background-position: center top;
}

.hero-banner::after {
  content: "";
  position: absolute;
  right: max(-3rem, calc(50% - 50vw + 4vw));
  bottom: clamp(1rem, 3.5vw, 3rem);
  z-index: 1;
  width: min(48vw, 660px);
  aspect-ratio: 1;
  pointer-events: none;
  background: url('/site/assets/pages/home/home-system-machine.avif') center / contain no-repeat;
  mix-blend-mode: screen;
  opacity: 0.94;
  filter: saturate(1.08) contrast(1.05) drop-shadow(0 34px 82px rgba(0, 0, 0, 0.62));
}

.hero-banner .hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(3.1rem, 8vw, 7.35rem);
  line-height: 0.88;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 550px;
  margin: 1.2rem 0 0;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 1.6;
}

.hero-actions,
.button-group,
.link-row,
.chip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
}

.hero-actions {
  margin-top: 1.65rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 1.35rem;
  color: var(--text-muted);
  font-size: 0.84rem;
}

.hero-point {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-point::before {
  content: "";
  display: inline-block;
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  background-color: var(--accent);
  mask: var(--point-icon) center / contain no-repeat;
}

.hero-point.native {
  --point-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='14' x='2' y='3' rx='2'/%3E%3Cpath d='M8 21h8'/%3E%3Cpath d='M12 17v4'/%3E%3C/svg%3E");
}

.hero-point.system {
  --point-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='16' height='16' x='4' y='4' rx='2'/%3E%3Crect width='6' height='6' x='9' y='9' rx='1'/%3E%3Cpath d='M15 2v2'/%3E%3Cpath d='M15 20v2'/%3E%3Cpath d='M2 15h2'/%3E%3Cpath d='M2 9h2'/%3E%3Cpath d='M20 15h2'/%3E%3Cpath d='M20 9h2'/%3E%3Cpath d='M9 2v2'/%3E%3Cpath d='M9 20v2'/%3E%3C/svg%3E");
}

.hero-point.local {
  --point-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='22' x2='2' y1='12' y2='12'/%3E%3Cpath d='M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z'/%3E%3Cline x1='6' x2='6.01' y1='16' y2='16'/%3E%3Cline x1='10' x2='10.01' y1='16' y2='16'/%3E%3C/svg%3E");
}

.hero-machine {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
}

.hero-banner .hero-machine {
  display: none;
}

.hero-machine img {
  width: min(100%, 440px);
  height: auto;
  filter: drop-shadow(0 30px 70px rgba(0, 0, 0, 0.55));
}

.studio-bridge {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2rem);
  margin-top: clamp(1rem, 3vw, 2rem);
  padding: clamp(1.1rem, 2.5vw, 1.5rem);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 92% 18%, rgba(67, 209, 122, 0.09), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.014)),
    var(--surface);
}

.studio-bridge h2,
.studio-bridge p {
  margin: 0;
}

.studio-bridge-copy {
  max-width: 680px;
}

.studio-bridge-copy p:not(.eyebrow) {
  color: var(--text-soft);
  line-height: 1.6;
}

.studio-bridge-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.7rem;
}

.button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.62rem 0.9rem;
  border: 1px solid var(--button-border);
  border-radius: var(--radius-sm);
  background: var(--button-bg);
  color: var(--button-text);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}

.content a:not(.button):not(.app-store-badge-link):not(.topbar-brand):not(.topbar-link):not(.topbar-status):not(.footer-link):not(.card-link-row):not(.more-card-target):not(.home-tool-card) {
  color: var(--accent);
}

.button:hover {
  border-color: var(--accent);
  background: var(--button-hover-bg);
}

.button.primary {
  color: #170b02;
  border-color: var(--accent);
  background: var(--accent);
}

.button.primary:hover {
  background: var(--accent-strong);
}

.button.secondary {
  background: transparent;
}

.button-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  display: block;
  object-fit: contain;
}

.github-button {
  min-height: 40px;
  height: 40px;
  padding-inline: 0.85rem;
}

.github-button-icon {
  max-width: 18px;
  max-height: 18px;
  opacity: 0.9;
}

.reveal-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 720ms ease, transform 720ms ease;
  will-change: opacity, transform;
}

.reveal-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.panel,
.app-card,
.product-card,
.tool-card,
.lab-card,
.support-card,
.terminal-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
    var(--surface);
  box-shadow: none;
}

.panel {
  padding: clamp(1rem, 2vw, 1.4rem);
}

.panel h2,
.panel h3 {
  margin: 0 0 0.75rem;
}

.panel h2 {
  font-size: 1.12rem;
}

.panel h3 {
  color: var(--text-soft);
  font-size: 0.94rem;
}

.panel p,
.panel li {
  color: var(--text-soft);
  line-height: 1.65;
  font-size: 0.95rem;
}

.panel p {
  margin: 0 0 0.8rem;
}

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

.panel ul,
.panel ol {
  margin: 0;
  padding-left: 1.1rem;
}

.product-card,
.tool-card,
.lab-card,
.app-card,
.support-card {
  position: relative;
  min-height: 100%;
  padding: 1rem;
  display: grid;
  align-content: start;
  gap: 0.85rem;
  overflow: hidden;
}

.product-card {
  grid-column: span 3;
}

.product-card.featured {
  grid-column: span 6;
}

.home-product-grid {
  align-items: stretch;
}

.home-product-card {
  min-height: 340px;
  align-content: stretch;
  grid-template-rows: auto minmax(140px, 1fr) auto;
  gap: 1rem;
}

.home-product-card .card-topline {
  align-items: flex-start;
  justify-content: flex-start;
}

.home-product-card .card-topline > div {
  display: grid;
  gap: 0.3rem;
}

.home-product-card h3,
.home-product-card p {
  margin: 0;
}

.product-preview {
  min-height: 140px;
  align-content: start;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018)),
    #080a0e;
}

.promptvault-icon {
  border-color: rgba(161, 77, 255, 0.38);
  background:
    radial-gradient(circle at 68% 28%, rgba(255, 122, 24, 0.6), transparent 34%),
    linear-gradient(135deg, #7428ff, #cf4bff 52%, #ff7a18);
  color: transparent;
  text-transform: uppercase;
}

.more-card {
  grid-template-rows: auto minmax(140px, 1fr) auto;
}

.more-icon {
  color: var(--green);
  border-color: rgba(67, 209, 122, 0.28);
  background: rgba(67, 209, 122, 0.08);
  font-size: 1.35rem;
}

.more-card-target {
  min-height: 140px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  background:
    radial-gradient(circle at center, rgba(255, 122, 24, 0.08), transparent 32%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    #07090c;
  background-size: auto, 40px 40px, 40px 40px, auto;
  color: var(--accent);
  font-size: 2rem;
}

.card-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 34px;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--text-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.82rem;
  font-weight: 700;
}

.card-link-row:hover,
.more-card-target:hover + .card-link-row,
.home-tool-card:hover .card-arrow {
  color: var(--accent);
}

.tool-card {
  grid-column: span 4;
}

.home-tools-main .tool-card {
  grid-column: span 4;
}

.home-tool-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(280px, 0.92fr);
  grid-template-rows: repeat(2, minmax(170px, auto));
  align-items: stretch;
}

.home-tool-card {
  min-height: 0;
  grid-column: span 1;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr;
  align-content: start;
  gap: 0.45rem 1rem;
  padding: clamp(1.05rem, 2.2vw, 1.45rem) clamp(1rem, 2vw, 1.35rem);
  color: var(--text);
}

.home-tool-card.is-placeholder {
  background:
    linear-gradient(180deg, rgba(67, 209, 122, 0.035), rgba(255, 255, 255, 0.014)),
    var(--surface);
}

.home-tool-card.home-tool-more {
  border-color: rgba(255, 122, 24, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 122, 24, 0.085), rgba(255, 255, 255, 0.014)),
    var(--surface);
}

.home-tool-card.home-tool-more .tool-command-name,
.home-tool-card.home-tool-more .tool-command-name span {
  color: var(--accent);
}

.home-tool-card > span:not(.tool-command-name):not(.card-arrow) {
  max-width: 18rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.tool-command-name {
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 800;
}

.tool-command-name span {
  color: var(--green);
}

.card-arrow {
  grid-row: 1 / -1;
  grid-column: 2;
  align-self: center;
  color: var(--text-muted);
  font-size: 1.5rem;
}

.lab-card,
.support-card,
.app-card {
  grid-column: span 4;
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.product-icon,
.tool-icon {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--accent);
  background: rgba(255, 122, 24, 0.08);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 800;
}

.product-icon.image {
  padding: 0;
  overflow: hidden;
  color: inherit;
  background: transparent;
}

.product-icon.image picture {
  width: 100%;
  height: 100%;
  display: block;
}

.product-icon.image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.app-hero-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.app-hero-icon {
  width: clamp(64px, 9vw, 96px);
  height: clamp(64px, 9vw, 96px);
  flex: 0 0 auto;
  border-radius: 22%;
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.38);
}

.app-hero-title picture {
  flex: 0 0 auto;
  line-height: 0;
}

.tool-icon {
  color: var(--green);
  border-color: rgba(67, 209, 122, 0.22);
  background: rgba(67, 209, 122, 0.08);
}

.product-card h2,
.product-card h3,
.tool-card h2,
.tool-card h3,
.lab-card h2,
.lab-card h3,
.lab-card h4,
.app-card h2,
.app-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.product-card p,
.tool-card p,
.lab-card p,
.app-card p,
.support-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.55;
  font-size: 0.9rem;
}

.lab-post-card time {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.lab-post-card h3 a,
.lab-post-card h4 a {
  color: inherit;
  text-decoration: none;
}

.lab-post-card h3 a:hover,
.lab-post-card h4 a:hover {
  color: var(--accent);
}

.lab-library {
  display: grid;
  gap: var(--space-5);
}

.lab-library-section {
  display: grid;
  gap: var(--space-3);
}

.lab-library .section-heading {
  align-items: start;
}

.lab-library .section-heading > div {
  display: grid;
  gap: 0.35rem;
}

.lab-library .section-heading .eyebrow {
  color: var(--accent);
}

.lab-feature-layout {
  display: grid;
  gap: var(--space-3);
}

.lab-feature-layout > .lab-card {
  grid-column: auto;
}

.lab-featured-card {
  min-height: 260px;
  align-content: end;
  padding: 1.4rem;
  border-color: rgba(255, 122, 24, 0.42);
  background:
    linear-gradient(110deg, rgba(255, 122, 24, 0.16), transparent 48%),
    var(--surface);
}

.lab-featured-card h3 {
  max-width: 850px;
  font-size: 1.75rem;
  line-height: 1.08;
}

.lab-featured-card p {
  max-width: 760px;
  font-size: 1rem;
}

.lab-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.lab-index {
  display: grid;
  gap: var(--space-3);
}

.lab-index-controls {
  display: grid;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 2px solid var(--text);
  border-bottom: 1px solid var(--border);
}

.lab-subject-filter {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
}

.lab-subject-filter button {
  min-height: 36px;
  flex: 0 0 auto;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-muted);
  padding: 0.48rem 0.72rem;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

.lab-subject-filter button:hover,
.lab-subject-filter button[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent);
  color: #080a0d;
}

.lab-index-toolbar {
  display: grid;
  gap: 0.75rem;
}

.lab-search-field,
.lab-time-filter {
  display: grid;
  gap: 0.4rem;
}

.lab-search-field > span,
.lab-time-filter > span {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.lab-search-field input,
.lab-time-filter select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: #07090c;
  color: var(--text);
  padding: 0.65rem 0.75rem;
  font: inherit;
  font-size: 0.9rem;
}

.lab-search-field input:focus,
.lab-time-filter select:focus {
  border-color: var(--accent);
  outline: 2px solid rgba(255, 122, 24, 0.2);
  outline-offset: 1px;
}

.lab-index-status {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.lab-index-status p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.lab-clear-filters {
  border: 0;
  background: transparent;
  color: var(--accent);
  padding: 0.3rem 0;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

.lab-index-results {
  border-top: 1px solid var(--border-strong);
}

.lab-index-row {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.8rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border);
}

.lab-index-number {
  padding-top: 0.15rem;
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 800;
}

.lab-index-copy {
  display: grid;
  gap: 0.6rem;
}

.lab-index-copy h3 {
  margin: 0;
  max-width: 900px;
  font-size: 1.15rem;
  line-height: 1.18;
}

.lab-index-copy h3 a {
  color: inherit;
  text-decoration: none;
}

.lab-index-copy h3 a:hover {
  color: var(--accent);
}

.lab-index-copy p {
  margin: 0;
  max-width: 850px;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.lab-index-arrow {
  min-width: 32px;
  min-height: 32px;
  display: grid;
  place-items: center;
  align-self: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  text-decoration: none;
}

.lab-index-arrow:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #080a0d;
}

.lab-index-empty {
  margin: 0;
  padding: 2rem 0;
  color: var(--text-muted);
}

.post-article {
  max-width: 820px;
  display: grid;
  gap: 1.4rem;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.post-article h2 {
  margin: 1.2rem 0 0;
  font-size: clamp(1.2rem, 2.3vw, 1.55rem);
}

.post-article p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.78;
}

.tool-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, 0.85fr);
  gap: var(--space-3);
  align-items: start;
}

.tool-detail-main {
  display: grid;
  gap: var(--space-3);
}

.tool-detail-panel {
  display: grid;
  gap: 1rem;
}

.tool-detail-panel p {
  margin: 0;
}

.tool-command-list {
  display: grid;
  gap: 0.75rem;
}

.tool-command {
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  background: #07090c;
  color: var(--code);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.tool-command strong {
  display: block;
  color: var(--accent);
  font-size: 0.82rem;
}

.tool-command span {
  display: block;
  margin-top: 0.25rem;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.github-log-panel {
  min-height: 100%;
  padding: 1rem;
  border: 1px solid rgba(67, 209, 122, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(67, 209, 122, 0.055), rgba(255, 255, 255, 0.015)),
    #07090c;
  color: var(--code);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.doers-panel {
  position: relative;
  min-height: 100%;
  display: grid;
  align-content: space-between;
  overflow: hidden;
  padding: clamp(1.25rem, 2.8vw, 2rem) clamp(1rem, 2.4vw, 1.65rem) 0;
}

.home-tool-card.doers-panel {
  grid-column: 4;
  grid-row: 1 / -1;
  min-height: 0;
  align-content: stretch;
  padding: clamp(1.35rem, 2.5vw, 2.1rem) clamp(1.15rem, 2.2vw, 1.7rem) 0;
}

.doers-copy {
  position: relative;
  z-index: 1;
}

.doers-panel h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(2.25rem, 5vw, 3.8rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.home-tool-card.doers-panel h2 {
  font-size: clamp(2.4rem, 4.4vw, 4.1rem);
}

.doers-panel h2 span {
  color: var(--accent);
}

.doers-panel p:not(.eyebrow) {
  max-width: 250px;
  margin: 1.25rem 0 0;
  color: var(--text-soft);
  line-height: 1.55;
  font-size: 0.92rem;
}

.home-tool-card.doers-panel p:not(.eyebrow) {
  max-width: 210px;
  margin-top: 1.1rem;
  font-size: 0.9rem;
}

.doers-panel img {
  width: min(142%, 420px);
  max-width: none;
  justify-self: center;
  margin: clamp(1rem, 3vw, 2rem) 0 -36%;
  opacity: 0.82;
  filter: drop-shadow(0 -18px 42px rgba(255, 122, 24, 0.15));
}

.home-tool-card.doers-panel img {
  position: absolute;
  left: 50%;
  bottom: -34%;
  width: 380px;
  height: 380px;
  object-fit: contain;
  margin: 0;
  transform: translateX(-50%);
  opacity: 0.54;
}

.github-log-header {
  display: grid;
  gap: 0.2rem;
  padding-bottom: 0.85rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.github-command {
  color: var(--green);
  font-weight: 800;
}

.github-flag {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.github-log-list {
  display: grid;
  gap: 0.8rem;
}

.github-log-entry {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.2rem 0.65rem;
  align-items: baseline;
}

.commit-sha {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0;
}

.commit-repo {
  grid-column: 1 / -1;
  color: var(--green);
  font-size: 0.72rem;
}

.commit-message {
  color: var(--text-soft);
  font-size: 0.82rem;
  line-height: 1.35;
}

.commit-time {
  grid-column: 2;
  color: var(--text-muted);
  font-size: 0.72rem;
}

.badge,
.card-status,
.tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.2rem 0.5rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
}

.card-status.live {
  color: #98ffc1;
  border-color: rgba(67, 209, 122, 0.22);
  background: rgba(67, 209, 122, 0.07);
}

.terminal-preview,
.terminal-panel {
  padding: 0.8rem;
  border-radius: var(--radius-sm);
  background: #07090c;
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--code);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  line-height: 1.55;
  overflow: hidden;
}

.feature-main {
  grid-column: span 7;
}

.feature-side {
  grid-column: span 5;
}

.terminal-preview span,
.terminal-panel span {
  display: block;
  color: var(--text-muted);
}

.terminal-preview strong,
.terminal-panel strong {
  color: var(--accent);
  font-weight: 700;
}

.tools-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.tools-page .tool-grid {
  gap: 0.8rem;
}

.tools-page .tool-card {
  min-height: 0;
  display: grid;
  gap: 0.7rem;
  padding: 0.95rem 1rem;
}

.tools-page .card-topline {
  align-items: center;
}

.tools-page .tool-icon {
  width: 28px;
  height: 28px;
  font-size: 0.78rem;
}

.tools-page .tool-card h2 {
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1rem;
}

.tools-page .tool-title-link {
  color: inherit;
  text-decoration: none;
}

.tools-page .tool-title-link:hover,
.tools-page .tool-title-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.tools-page .tool-card p {
  max-width: 22rem;
  line-height: 1.45;
  font-size: 0.82rem;
}

.tools-page .terminal-preview {
  display: none;
}

.tools-page .link-row {
  margin-top: 0.15rem;
}

.tools-page .button {
  min-height: 32px;
  padding: 0.45rem 0.65rem;
  font-size: 0.78rem;
}

.tools-principles {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.1rem;
  padding: 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    var(--surface);
}

.tools-principles-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  color: var(--text-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 800;
}

.tools-principles h2 {
  margin: 0;
  font-size: 1rem;
}

.tools-principles p {
  margin: 0.25rem 0 0;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.tools-principles-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.2rem;
  margin-top: 0.8rem;
  color: var(--text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.8rem;
}

.tools-principles-list span::before {
  content: "✓";
  margin-right: 0.4rem;
  color: var(--accent);
}

.tools-principles-link {
  justify-self: end;
}

.segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.segmented button {
  min-height: 32px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-muted);
  padding: 0.4rem 0.65rem;
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
}

.segmented button.active,
.segmented button:hover {
  color: var(--text);
  border-color: var(--border);
  background: var(--surface-soft);
}

.search-field,
#app-selector {
  min-height: 34px;
  width: min(100%, 260px);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #07090c;
  color: var(--text);
  padding: 0.45rem 0.65rem;
  font: inherit;
  font-size: 0.86rem;
}

.app-store-badge-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.app-store-badge {
  display: block;
  width: auto;
  height: 40px;
}

.hero-artifact {
  margin: 0;
}

.hero-artifact-image {
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.about-list {
  list-style: none;
  padding-left: 0;
}

.about-list li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.45rem;
}

.about-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--accent);
}

.footer-note,
.status-text {
  color: var(--text-muted);
  font-size: 0.86rem;
}

.email-pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border: 1px solid var(--border-strong);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 0.38rem 0.75rem;
  font-weight: 700;
  color: var(--text);
}

.email-panel {
  display: grid;
  gap: 0.75rem;
}

.issue-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.9rem;
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-banner {
    min-height: calc(100svh - 58px);
  }

  .hero-banner::before {
    background-position: 62% top;
  }

  .hero-banner::after {
    right: -5rem;
    bottom: 1.5rem;
    width: min(70vw, 520px);
    opacity: 0.7;
  }

  .home-tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 132px;
  }

  .home-tool-card,
  .home-tool-card.doers-panel {
    grid-column: span 1;
  }

  .home-tool-card.doers-panel {
    grid-row: span 2;
  }

  .hero-machine {
    min-height: 280px;
  }

  .product-card,
  .product-card.featured,
  .tool-card:not(.home-tool-card),
  .home-tools-main .tool-card,
  .lab-card,
  .app-card,
  .support-card,
  .feature-main,
  .feature-side {
    grid-column: span 6;
  }

  .tool-detail-layout {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) {
  .lab-featured-card h3 {
    font-size: 2.55rem;
  }

  .lab-index-toolbar {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.35fr);
  }

  .lab-index-row {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 1.15rem;
    padding: 1.45rem 0;
  }

  .lab-index-copy h3 {
    font-size: 1.5rem;
  }

  .lab-index-copy p {
    font-size: 0.95rem;
  }
}

@media (max-width: 640px) {
  .hero-banner {
    min-height: calc(100svh - 58px);
    align-items: start;
    padding-bottom: 3rem;
  }

  .hero-banner::before {
    background:
      linear-gradient(180deg, rgba(5, 7, 10, 0.78) 0%, rgba(5, 7, 10, 0.7) 44%, rgba(5, 7, 10, 0.2) 100%),
      var(--hero-bg);
    background-size: cover;
    background-position: 68% top;
  }

  .hero-banner::after {
    display: none;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .button {
    flex: 1 1 180px;
  }

  .hero-points {
    gap: 0.55rem 0.8rem;
  }

  .home-tool-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .home-tool-card,
  .home-tool-card.doers-panel {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 132px;
  }

  .home-tool-card.doers-panel {
    min-height: 360px;
  }

  .studio-bridge {
    grid-template-columns: 1fr;
  }

  .studio-bridge-actions {
    justify-content: stretch;
  }

  .studio-bridge-actions .button {
    flex: 1 1 100%;
  }

  .hero-copy h1,
  .page-header h1,
  .subpage-hero h1 {
    font-size: clamp(2.55rem, 16vw, 4rem);
  }

  .post-header {
    min-height: calc(100svh - 58px);
    padding-top: clamp(2.25rem, 12vw, 4rem);
    padding-bottom: clamp(2.25rem, 12vw, 4rem);
  }

  .post-header h1 {
    max-width: 100%;
    font-size: clamp(2.3rem, 11vw, 3.5rem);
    line-height: 0.94;
  }

  .product-card,
  .product-card.featured,
  .tool-card:not(.home-tool-card),
  .lab-card,
  .app-card,
  .support-card,
  .feature-main,
  .feature-side {
    grid-column: 1 / -1;
  }

  .tools-toolbar {
    align-items: stretch;
  }

  .tools-principles {
    grid-template-columns: 1fr;
  }

  .tools-principles-link {
    justify-self: stretch;
  }

  .search-field {
    width: 100%;
  }

  .doers-panel {
    min-height: 360px;
  }

  .doers-panel img {
    width: min(130%, 360px);
    margin-bottom: -34%;
  }
}
