:root {
  color-scheme: dark;
  --bg: #080a09;
  --surface: #0e110f;
  --surface-2: #141815;
  --line: #282e29;
  --line-bright: #3b443c;
  --text: #f2f5ef;
  --muted: #919b92;
  --muted-light: #bec6be;
  --acid: #c7ff2f;
  --acid-soft: rgba(199, 255, 47, 0.12);
  --max: 1240px;
  --mono: "SFMono-Regular", "Cascadia Code", "Roboto Mono", Consolas, monospace;
  --sans: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    var(--bg);
  background-size: 72px 72px;
  font-family: var(--sans);
  line-height: 1.6;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background: radial-gradient(circle at 75% 12%, rgba(199, 255, 47, 0.05), transparent 26rem);
  content: "";
  pointer-events: none;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
}

.skip-link:focus {
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: #000;
  background: var(--acid);
}

.site-header,
.hero,
.signal-strip,
.section,
.article-shell,
.site-footer {
  width: min(calc(100% - 3rem), var(--max));
  margin-inline: auto;
}

.site-header {
  min-height: 82px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wordmark {
  display: inline-flex;
  width: max-content;
  min-height: 44px;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.83rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.1;
  text-decoration: none;
  text-transform: uppercase;
}

.wordmark em {
  display: block;
  color: var(--muted);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.015em;
}

.wordmark-mark {
  width: 32px;
  height: 32px;
}

.nav-list {
  display: flex;
  gap: 1.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a,
.site-footer nav a {
  color: var(--muted-light);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-list a:hover,
.site-footer nav a:hover {
  color: var(--acid);
}

.mobile-menu {
  display: none;
}

.header-status {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted-light);
  font-family: var(--mono);
  font-size: 0.67rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.header-status span,
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 14px rgba(199, 255, 47, 0.65);
}

.hero {
  min-height: 720px;
  padding: 7rem 0 5.5rem;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 4.5rem;
  align-items: center;
}

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

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.35rem;
  color: var(--acid);
  font-family: var(--mono);
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 1.6rem;
  font-family: var(--mono);
  font-size: clamp(3rem, 5.3vw, 5.25rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

h1 span {
  color: var(--acid);
}

h2 {
  max-width: 850px;
  margin-bottom: 1.2rem;
  font-size: clamp(2rem, 3.8vw, 3.7rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.055em;
}

h3 {
  font-size: 1.2rem;
  line-height: 1.25;
}

.lede {
  max-width: 650px;
  color: var(--muted-light);
  font-size: clamp(1.02rem, 1.45vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2.1rem 0 1.2rem;
}

.button {
  display: inline-flex;
  min-height: 50px;
  padding: 0.75rem 1.1rem;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-bright);
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.055em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #090b09;
  background: var(--acid);
  border-color: var(--acid);
}

.button-primary:hover {
  background: #d4ff5c;
}

.button-secondary:hover {
  border-color: var(--acid);
}

.microcopy,
.article-meta,
.fine-print {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.67rem;
}

.hero-visual {
  position: relative;
  border: 1px solid var(--line-bright);
  background: #050605;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45);
}

.hero-visual::before,
.hero-visual::after {
  position: absolute;
  z-index: 2;
  width: 34px;
  height: 34px;
  content: "";
  pointer-events: none;
}

.hero-visual::before {
  top: -8px;
  left: -8px;
  border-top: 1px solid var(--acid);
  border-left: 1px solid var(--acid);
}

.hero-visual::after {
  right: -8px;
  bottom: -8px;
  border-right: 1px solid var(--acid);
  border-bottom: 1px solid var(--acid);
}

.hero-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.hero-index,
.hero-readout {
  position: absolute;
  z-index: 3;
  color: var(--acid);
  background: rgba(5, 6, 5, 0.86);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}

.hero-index {
  top: 0;
  left: 0;
  padding: 0.55rem 0.7rem;
}

.hero-readout {
  right: 0;
  bottom: 0;
  padding: 0.6rem 0.75rem;
  display: flex;
  gap: 1.2rem;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.signal-strip div {
  padding: 1.15rem 1.35rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 0.8rem;
  border-right: 1px solid var(--line);
}

.signal-strip div:last-child {
  border: 0;
}

.signal-strip span {
  grid-row: 1 / 3;
  color: var(--acid);
  font-family: var(--mono);
  font-size: 0.6rem;
}

.signal-strip strong,
.signal-strip small {
  line-height: 1.35;
}

.signal-strip strong {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.signal-strip small {
  color: var(--muted);
  font-size: 0.78rem;
}

.section {
  padding: 7rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

#product,
#how-it-works {
  scroll-margin-top: 2rem;
}

.section-heading {
  margin-bottom: 3rem;
}

.section-intro {
  max-width: 680px;
  color: var(--muted-light);
  font-size: 1rem;
}

.feature-grid,
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.feature-card,
.resource-card {
  position: relative;
  min-height: 310px;
  padding: 1.65rem;
  background: rgba(14, 17, 15, 0.98);
}

.feature-card::after,
.resource-card::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--acid);
  content: "";
  transition: width 220ms ease;
}

.feature-card:hover::after,
.resource-card:hover::after {
  width: 100%;
}

.feature-card p,
.resource-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.feature-number,
.resource-card > span:first-child {
  display: block;
  color: var(--acid);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.terminal-icon {
  width: max-content;
  margin: 3.4rem 0 1.5rem;
  color: var(--acid);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.workflow-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 6rem;
}

.workflow-copy {
  align-self: center;
}

.text-link {
  display: inline-flex;
  gap: 1rem;
  margin-top: 1rem;
  color: var(--acid);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
}

.workflow-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.workflow-list li {
  min-height: 128px;
  padding: 1.75rem 0;
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: start;
  border-bottom: 1px solid var(--line);
}

.workflow-list li > span {
  color: var(--acid);
  font-family: var(--mono);
  font-size: 0.68rem;
}

.workflow-list strong {
  display: block;
  font-family: var(--mono);
  font-size: 1.15rem;
  font-weight: 500;
  text-transform: uppercase;
}

.workflow-list p {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.split-heading {
  display: flex;
  gap: 2rem;
  align-items: end;
  justify-content: space-between;
}

.resource-card {
  min-height: 390px;
  color: inherit;
  text-decoration: none;
}

.resource-icon {
  margin: 4rem 0 2rem;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--line-bright);
}

.resource-card h3 {
  max-width: 280px;
  font-size: 1.35rem;
}

.resource-card b {
  position: absolute;
  bottom: 1.6rem;
  left: 1.65rem;
  color: var(--muted-light);
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.resource-card:hover b {
  color: var(--acid);
}

.privacy-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.privacy-panel {
  position: relative;
  min-height: 430px;
  padding: 1.5rem;
  border: 1px solid var(--line-bright);
  background:
    linear-gradient(rgba(199, 255, 47, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(199, 255, 47, 0.025) 1px, transparent 1px),
    #090c09;
  background-size: 28px 28px;
  box-shadow: inset 0 0 80px rgba(199, 255, 47, 0.025);
}

.privacy-panel::before,
.privacy-panel::after {
  position: absolute;
  width: 28px;
  height: 28px;
  content: "";
}

.privacy-panel::before {
  top: -7px;
  left: -7px;
  border-top: 1px solid var(--acid);
  border-left: 1px solid var(--acid);
}

.privacy-panel::after {
  right: -7px;
  bottom: -7px;
  border-right: 1px solid var(--acid);
  border-bottom: 1px solid var(--acid);
}

.privacy-panel-head,
.privacy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  letter-spacing: 0.06em;
}

.privacy-panel-head {
  padding-bottom: 2rem;
  color: var(--acid);
  font-size: 0.62rem;
}

.privacy-row {
  min-height: 70px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
}

.privacy-row strong {
  color: var(--text);
  font-weight: 500;
}

.privacy-cursor {
  width: 10px;
  height: 18px;
  margin-top: 1.6rem;
  background: var(--acid);
  animation: blink 1.2s steps(1) infinite;
}

@keyframes blink {
  50% {
    opacity: 0.15;
  }
}

.privacy-copy > p:not(.eyebrow),
.boundary-copy p {
  color: var(--muted-light);
}

.check-list {
  margin: 1.6rem 0 1.8rem;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.check-list li {
  position: relative;
  padding: 0.8rem 0 0.8rem 1.7rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted-light);
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--acid);
  content: "✓";
  font-family: var(--mono);
}

.boundary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
}

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

.boundary-list {
  border-top: 1px solid var(--line);
}

.boundary-list div {
  min-height: 80px;
  padding: 1.2rem 0;
  display: grid;
  grid-template-columns: 85px 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.boundary-list span {
  color: var(--acid);
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.08em;
}

.boundary-list div:not(:first-child) span {
  color: #ff936a;
}

.boundary-list p {
  margin: 0;
  color: var(--muted-light);
}

.faq-section {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 6rem;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  padding: 1.45rem 0;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.86rem;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  color: var(--acid);
  font-size: 1.25rem;
  transition: transform 160ms ease;
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 680px;
  margin-top: 0.4rem;
  padding: 0 2.5rem 1.5rem 0;
  color: var(--muted);
}

.closing-section {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 5rem;
  align-items: end;
}

.closing-section p {
  color: var(--muted-light);
}

.article-shell {
  max-width: 860px;
  padding: 7rem 0 8rem;
}

.article-header {
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}

.article-body {
  padding-top: 2.5rem;
  color: #c9d0c9;
  font-size: 1.05rem;
}

.article-body h2 {
  margin-top: 3.5rem;
  font-size: 2rem;
}

.article-body h3 {
  margin-top: 2.5rem;
}

.article-body a {
  color: var(--acid);
}

a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 4px;
}

.site-footer {
  padding: 3.5rem 0 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
}

.wordmark-footer {
  margin-bottom: 0.9rem;
}

.site-footer nav {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 0.75rem 1.5rem;
}

.fine-print {
  grid-column: 1 / -1;
}

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

  .desktop-nav,
  .header-status {
    display: none;
  }

  .mobile-menu {
    position: relative;
    z-index: 20;
    display: block;
    justify-self: end;
  }

  .mobile-menu summary {
    min-height: 44px;
    padding: 0.55rem 0.7rem;
    display: flex;
    align-items: center;
    border: 1px solid var(--line-bright);
    color: var(--muted-light);
    cursor: pointer;
    font-family: var(--mono);
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    list-style: none;
    text-transform: uppercase;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu[open] summary {
    color: #080a09;
    background: var(--acid);
    border-color: var(--acid);
  }

  .mobile-menu nav {
    position: absolute;
    top: calc(100% + 0.6rem);
    right: 0;
    width: min(78vw, 280px);
    border: 1px solid var(--line-bright);
    background: #0a0d0b;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  }

  .mobile-menu ul {
    margin: 0;
    padding: 0.5rem;
    list-style: none;
  }

  .mobile-menu li + li {
    border-top: 1px solid var(--line);
  }

  .mobile-menu a {
    display: block;
    padding: 0.85rem;
    color: var(--text);
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
  }

  .hero {
    padding-top: 5.5rem;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    max-width: 760px;
  }

  .workflow-section,
  .privacy-section,
  .boundary-grid,
  .faq-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .privacy-panel {
    max-width: 720px;
  }
}

@media (max-width: 760px) {
  .site-header,
  .hero,
  .signal-strip,
  .section,
  .article-shell,
  .site-footer {
    width: min(calc(100% - 2rem), var(--max));
  }

  .hero {
    min-height: auto;
    padding: 4.5rem 0;
    gap: 3rem;
  }

  .signal-strip {
    grid-template-columns: 1fr;
  }

  .signal-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature-grid,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 270px;
  }

  .split-heading,
  .closing-section {
    display: block;
  }

  .resource-card {
    min-height: 350px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .fine-print {
    grid-column: auto;
  }
}

@media (max-width: 480px) {
  .site-header {
    min-height: 72px;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 3.5rem);
  }

  .hero-readout {
    gap: 0.6rem;
  }

  .hero-actions .button {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* Homepage visual system */
.hero-prompt {
  position: absolute;
  z-index: 3;
  right: 1rem;
  bottom: 3.25rem;
  left: 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(6, 8, 7, 0.82);
  backdrop-filter: blur(12px);
}

.hero-prompt span {
  color: var(--acid);
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
}

.hero-prompt p {
  overflow: hidden;
  margin: 0.25rem 0 0;
  color: var(--muted-light);
  font-family: var(--mono);
  font-size: 0.68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compare-section {
  padding-block: 8rem;
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(520px, 1.38fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.compare-copy > p:not(.eyebrow, .microcopy) {
  color: var(--muted-light);
}

.compare-key {
  margin: 2rem 0 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  color: var(--muted-light);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.compare-key span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.key-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 10px rgba(199, 255, 47, 0.5);
}

.key-dot-muted {
  background: #747b75;
  box-shadow: none;
}

.image-comparison {
  position: relative;
  border: 1px solid var(--line-bright);
  background: #050605;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45);
}

.image-comparison::before,
.image-comparison::after {
  position: absolute;
  z-index: 4;
  width: 30px;
  height: 30px;
  content: "";
  pointer-events: none;
}

.image-comparison::before {
  top: -7px;
  left: -7px;
  border-top: 1px solid var(--acid);
  border-left: 1px solid var(--acid);
}

.image-comparison::after {
  right: -7px;
  bottom: -7px;
  border-right: 1px solid var(--acid);
  border-bottom: 1px solid var(--acid);
}

.compare-stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.3 / 1;
  background: #050605;
  isolation: isolate;
}

.compare-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 21%;
  user-select: none;
}

.compare-reveal {
  position: absolute;
  z-index: 1;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--compare-position)) 0 0);
}

.compare-divider {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  left: var(--compare-position);
  width: 1px;
  background: var(--acid);
  box-shadow: 0 0 24px rgba(199, 255, 47, 0.5);
  pointer-events: none;
  transform: translateX(-50%);
}

.compare-divider span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--acid);
  border-radius: 50%;
  color: #070907;
  background: var(--acid);
  font-family: var(--mono);
  font-size: 1.1rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  transform: translate(-50%, -50%);
}

.compare-label {
  position: absolute;
  z-index: 2;
  top: 1rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--text);
  background: rgba(4, 5, 4, 0.78);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.compare-label-left {
  left: 1rem;
}

.compare-label-right {
  right: 1rem;
  color: var(--acid);
  border-color: rgba(199, 255, 47, 0.5);
}

.compare-range {
  position: absolute;
  z-index: 5;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.image-comparison:focus-within {
  outline: 2px solid var(--acid);
  outline-offset: 5px;
}

.compare-foot {
  min-height: 44px;
  padding: 0.75rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
}

.feature-signal,
.feature-pills,
.feature-rule {
  position: absolute;
  right: 1.65rem;
  bottom: 1.5rem;
  left: 1.65rem;
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.06em;
}

.feature-signal span {
  width: 8px;
  height: 8px;
  border: 1px solid var(--line-bright);
  background: var(--acid);
}

.feature-signal span:nth-child(2) {
  opacity: 0.5;
}

.feature-signal span:nth-child(3) {
  opacity: 0.2;
}

.feature-signal b,
.feature-rule b {
  margin-left: auto;
  color: var(--acid);
  font-weight: 500;
}

.feature-pills span {
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--line-bright);
}

.feature-pills span:nth-child(2) {
  color: #090b09;
  background: var(--acid);
  border-color: var(--acid);
}

.feature-rule {
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.feature-rule i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
}

.workflow-section {
  grid-template-columns: 0.72fr 1.28fr;
  gap: 4.5rem 6rem;
}

.app-preview {
  overflow: hidden;
  border: 1px solid var(--line-bright);
  background: #090b0a;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.38);
}

.app-preview-head {
  min-height: 48px;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
}

.app-preview-head span:first-child {
  color: var(--text);
}

.app-preview-head i {
  width: 6px;
  height: 6px;
  display: inline-block;
  margin-right: 0.4rem;
  border-radius: 50%;
  background: var(--acid);
}

.app-preview-body {
  padding: 1rem;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 1rem;
}

.app-output {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  border: 1px solid var(--line);
  background: #050605;
}

.app-output img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: saturate(0.82);
}

.app-output > span {
  position: absolute;
  bottom: 0.6rem;
  left: 0.6rem;
  padding: 0.35rem 0.5rem;
  color: var(--acid);
  background: rgba(5, 6, 5, 0.8);
  font-family: var(--mono);
  font-size: 0.52rem;
  letter-spacing: 0.08em;
}

.app-controls {
  display: flex;
  flex-direction: column;
}

.app-controls label,
.app-options small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.53rem;
  letter-spacing: 0.08em;
}

.app-controls > p {
  min-height: 118px;
  margin: 0.45rem 0 0.8rem;
  padding: 0.8rem;
  border: 1px solid var(--line);
  color: var(--muted-light);
  background: #060806;
  font-family: var(--mono);
  font-size: 0.64rem;
  line-height: 1.55;
}

.app-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.app-options div {
  padding: 0.65rem;
  border: 1px solid var(--line);
}

.app-options small,
.app-options strong {
  display: block;
}

.app-options strong {
  margin-top: 0.25rem;
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
}

.app-generate {
  margin-top: auto;
  min-height: 46px;
  padding: 0 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #080a08;
  background: var(--acid);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.07em;
}

.workflow-list {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.workflow-list li {
  min-height: 150px;
  padding: 1.75rem;
  grid-template-columns: 42px 1fr;
  border-right: 1px solid var(--line);
}

.workflow-list li:last-child {
  border-right: 0;
}

.style-section .split-heading > .section-intro {
  max-width: 430px;
}

.style-showcase {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-bright);
  background: #050605;
}

.style-showcase::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(4, 5, 4, 0.82));
  content: "";
  pointer-events: none;
}

.style-showcase img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7.7;
  object-fit: cover;
  transition: transform 700ms ease;
}

.style-showcase:hover img {
  transform: scale(1.015);
}

.style-showcase figcaption {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1rem 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}

.style-showcase figcaption span:nth-child(2) {
  text-align: center;
}

.style-showcase figcaption span:last-child {
  text-align: right;
}

@media (max-width: 980px) {
  .compare-section,
  .workflow-section {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .compare-copy {
    max-width: 680px;
  }
}

@media (max-width: 760px) {
  .compare-section {
    padding-block: 5rem;
  }

  .compare-stage {
    aspect-ratio: 0.9 / 1;
  }

  .compare-foot span:last-child {
    display: none;
  }

  .app-preview-body {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .app-output {
    min-height: 270px;
  }

  .workflow-list {
    grid-template-columns: 1fr;
  }

  .workflow-list li {
    min-height: auto;
    padding-inline: 0;
    border-right: 0;
  }

  .style-showcase img {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 520px) {
  .hero-prompt {
    display: none;
  }

  .compare-label {
    top: 0.65rem;
  }

  .compare-label-left {
    left: 0.65rem;
  }

  .compare-label-right {
    right: 0.65rem;
  }

  .compare-divider span {
    width: 42px;
    height: 42px;
  }

  .app-preview-body {
    grid-template-columns: 1fr;
  }

  .app-output {
    min-height: 310px;
  }

  .app-controls > p {
    min-height: 90px;
  }

  .style-showcase figcaption {
    padding-inline: 0.65rem;
    font-size: 0.48rem;
  }
}
