:root {
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --bg-app: #fafafa;
  --bg-card: #ffffff;
  --bg-dark: #18181b;
  --border: rgba(24, 24, 27, 0.1);
  --text: #18181b;
  --muted: #71717a;
  --accent: #6551e8;
  --accent-dark: #5140c9;
  --accent-soft: #eeebff;
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

section {
  border: 0 !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg-app);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.content-shell,
.header-container,
.footer-container,
.hero-inner {
  width: min(1080px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  min-height: 68px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  background: rgba(250, 250, 250, 0.9);
  backdrop-filter: blur(16px);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}

.site-logo {
  display: flex;
}

.site-logo img {
  width: 84px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--text);
}

.hero {
  overflow: hidden;
  color: #f4f4f5;
  background-color: var(--bg-dark);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
}

.hero-inner {
  min-height: 610px;
  padding-block: 105px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 85px;
}

.eyebrow,
.section-label {
  margin: 0;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #b7adff;
}

.eyebrow span {
  width: 7px;
  height: 7px;
  margin-right: 9px;
  display: inline-block;
  border-radius: 50%;
  background: #8d7dff;
  box-shadow: 0 0 0 5px rgba(141, 125, 255, 0.13);
}

.hero h1 {
  max-width: 650px;
  margin: 24px 0;
  font-size: clamp(52px, 6.3vw, 84px);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.98;
  text-wrap: balance;
}

.lede {
  max-width: 590px;
  margin: 0;
  color: #a1a1aa;
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  margin-top: 35px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.button {
  min-height: 45px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

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

.button-primary {
  color: white;
  background: var(--accent);
}

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

.text-link {
  color: #d4d4d8;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.text-link span {
  margin-left: 5px;
  color: #8d7dff;
}

.hero-demo {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(10, 10, 12, 0.84);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.demo-bar {
  height: 42px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.demo-bar > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3f3f46;
}

.demo-bar small {
  margin-left: auto;
  color: #71717a;
  font-family: var(--font-mono);
  font-size: 9px;
}

.demo-body {
  min-height: 220px;
  padding: 35px 30px;
}

.demo-body p {
  margin: 0 0 15px;
  font-family: var(--font-mono);
  font-size: 12px;
}

.prompt,
.success {
  color: #8d7dff;
}

.demo-muted {
  color: #71717a;
}

.demo-body strong {
  color: #b7adff;
  font-weight: 500;
}

.demo-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.demo-stats div {
  padding: 17px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.demo-stats div:last-child {
  border: 0;
}

.demo-stats strong,
.demo-stats span {
  display: block;
}

.demo-stats strong {
  font-size: 15px;
}

.demo-stats span {
  margin-top: 3px;
  color: #71717a;
  font-family: var(--font-mono);
  font-size: 8px;
  text-transform: uppercase;
}

.intro {
  padding: 110px 0;
  border-bottom: 1px solid var(--border);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: 80px;
}

.intro h2,
.section-heading h2,
.tau-section h2,
.start-section h2 {
  margin: 0;
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.04;
  text-wrap: balance;
}

.intro h2 {
  max-width: 790px;
}

.intro-grid > div > p {
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.feature-section,
.workflow-section,
.start-section {
  padding: 120px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: 80px;
  align-items: start;
}

.feature-grid {
  margin-top: 75px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.feature-grid article {
  min-height: 310px;
  padding: 34px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}

.feature-number {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10px;
}

.feature-grid h3 {
  margin: 0 0 16px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.feature-grid p,
.tau-section > div > div > p,
.workflow p,
.detail-grid p,
.start-section p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.tau-section {
  padding: 120px 0;
  color: #f4f4f5;
  background: var(--bg-dark);
}

.tau-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 100px;
}

.tau-section h2 {
  margin-top: 20px;
}

.tau-section > div > div > p {
  margin-top: 25px;
  color: #a1a1aa;
}

.check-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 10px 0;
  color: #d4d4d8;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

.check-list li::before {
  content: "✓";
  margin-right: 10px;
  color: #8d7dff;
}

.code-window {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: #0f0f11;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.code-title {
  padding: 13px 18px;
  color: #71717a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 9px;
}

.code-window pre {
  margin: 0;
  padding: 34px;
  overflow-x: auto;
  color: #d4d4d8;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.9;
}

.syntax {
  color: #a99bff;
}

.value {
  color: #c4b5fd;
}

.section-heading.compact h2 {
  max-width: 720px;
}

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

.workflow li {
  min-height: 145px;
  padding: 30px 0;
  display: grid;
  grid-template-columns: 65px 1fr 0.8fr;
  align-items: center;
  gap: 45px;
  border-bottom: 1px solid var(--border);
}

.workflow li > span {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 11px;
}

.workflow h3 {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.workflow code {
  padding: 14px 16px;
  overflow-x: auto;
  color: #d4d4d8;
  border-radius: 6px;
  background: var(--bg-dark);
  font-family: var(--font-mono);
  font-size: 10px;
  white-space: nowrap;
}

.detail-band {
  padding: 65px 0;
  border-block: 1px solid var(--border);
  background: var(--bg-card);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 45px;
}

.detail-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
}

.detail-grid p {
  font-size: 12px;
}

.start-section {
  background: var(--accent-soft);
}

.start-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: center;
  gap: 100px;
}

.start-section h2 {
  margin-top: 20px;
}

.start-section p {
  max-width: 590px;
  margin-top: 25px;
}

.install-card {
  padding: 30px;
  border: 1px solid #dcd6ff;
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 18px 50px rgba(72, 55, 150, 0.08);
}

.install-card small {
  color: var(--muted);
  font-size: 11px;
}

.copy-command {
  width: 100%;
  margin: 10px 0 16px;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #e4e4e7;
  border: 0;
  border-radius: 6px;
  background: var(--bg-dark);
  cursor: pointer;
}

.copy-command code {
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-command span {
  color: #a99bff;
  font-size: 10px;
}

.install-card .button {
  width: 100%;
}

.site-footer {
  padding: 55px 0;
  color: #a1a1aa;
  background: var(--bg-dark);
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 30px;
}

.footer-container img {
  width: 72px;
  filter: brightness(0) invert(1);
}

.footer-container p {
  margin: 8px 0 0;
  font-size: 11px;
}

.footer-container > p {
  justify-self: end;
}

.footer-links {
  display: flex;
  gap: 22px;
}

.footer-links a {
  font-size: 11px;
  text-decoration: none;
}

@media (max-width: 850px) {
  .site-nav a:nth-child(-n + 3) {
    display: none;
  }

  .hero-inner,
  .tau-grid,
  .start-grid {
    grid-template-columns: 1fr;
    gap: 65px;
  }

  .hero-inner {
    padding-block: 85px;
  }

  .intro-grid,
  .section-heading {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .workflow li {
    grid-template-columns: 45px 1fr;
  }

  .workflow code {
    grid-column: 2;
  }

  .footer-container {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-container > p {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .content-shell,
  .header-container,
  .footer-container,
  .hero-inner {
    width: calc(100% - 32px);
  }

  .site-header {
    min-height: 62px;
  }

  .site-nav {
    gap: 16px;
  }

  .site-nav a {
    font-size: 11px;
  }

  .site-logo img {
    width: 75px;
  }

  .hero h1 {
    font-size: 52px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .demo-stats {
    grid-template-columns: 1fr;
  }

  .demo-stats div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .intro,
  .feature-section,
  .tau-section,
  .workflow-section,
  .start-section {
    padding-block: 85px;
  }

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

  .feature-grid article {
    min-height: 270px;
  }

  .workflow li {
    grid-template-columns: 32px 1fr;
    gap: 18px;
  }

  .workflow code {
    max-width: calc(100vw - 82px);
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

/* Editorial icon system -------------------------------------------------- */
.site-icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  color: var(--accent);
  fill: currentColor;
  stroke: none;
}

.feature-grid .site-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 16px;
}

.feature-number {
  display: block;
}

.workflow li > span {
  display: flex;
  align-items: center;
  justify-content: center;
}

.workflow .site-icon {
  width: 21px;
  height: 21px;
}

.detail-grid .site-icon {
  width: 22px;
  height: 22px;
  margin-bottom: 18px;
}

.detail-grid strong {
  display: block;
}

.copy-command span::before {
  content: "⧉";
  margin-right: 6px;
  font-size: 11px;
}

/* Final centered composition (kept last to override the editorial layer). */
body {
  font-size: 14px;
}

.header-container {
  justify-content: center;
}

.site-logo {
  position: absolute;
  left: max(24px, calc((100vw - 1080px) / 2));
}

.hero-inner,
.hero-copy,
.intro-grid,
.section-heading,
.tau-grid,
.start-grid,
.detail-grid article,
.feature-grid article {
  text-align: center;
}

.hero-copy,
.hero h1,
.lede,
.hero-demo,
.intro h2,
.intro-grid > div > p,
.section-heading h2,
.tau-section h2,
.tau-section > div > div > p,
.start-section h2,
.start-section p {
  margin-inline: auto;
}

.hero-inner {
  justify-items: center;
  padding-block: clamp(80px, 9vw, 125px);
  gap: 65px;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(54px, 7.2vw, 94px);
  line-height: 0.92;
}

.lede {
  max-width: 560px;
  font-size: 16px;
}

.hero-actions {
  justify-content: center;
}

.copy-command.hero-command {
  max-width: 470px;
  margin: 30px auto 0;
  padding: 18px 20px;
  color: white;
  border-color: var(--text);
  background: var(--text);
}

.hero-command code {
  font-size: 12px;
}

.hero-command span {
  color: #b8adff;
}

.hero-demo {
  width: min(760px, 100%);
}

.intro-grid,
.section-heading {
  display: block;
}

.intro-grid .section-label,
.section-heading .section-label {
  margin-bottom: 22px;
}

.intro h2,
.section-heading h2,
.tau-section h2,
.start-section h2 {
  max-width: 680px;
  font-size: clamp(38px, 4.8vw, 60px);
}

.intro-grid > div > p {
  max-width: 590px;
  font-size: 15px;
}

.feature-grid,
.workflow {
  width: min(900px, 100%);
  margin-inline: auto;
}

.feature-grid article,
.feature-grid article:nth-child(odd),
.feature-grid article:nth-child(even) {
  padding-inline: 38px;
}

.feature-grid h3 {
  font-size: 23px;
}

.feature-grid p,
.tau-section > div > div > p,
.workflow p,
.detail-grid p,
.start-section p {
  font-size: 13px;
}

.tau-grid,
.start-grid {
  justify-items: center;
}

.tau-grid > div:first-child {
  max-width: 620px;
}

.check-list {
  max-width: 440px;
  margin-inline: auto;
  text-align: left;
}

.code-window {
  width: min(700px, 100%);
  text-align: left;
}

.workflow li {
  grid-template-columns: 45px 1fr 0.8fr;
  text-align: left;
}

.install-card {
  width: min(520px, 100%);
}

.site-footer {
  text-align: center;
}

.footer-container {
  justify-items: center;
  grid-template-columns: 1fr;
}

.footer-container > p {
  justify-self: center;
}

@media (max-width: 850px) {
  .site-logo {
    position: static;
    margin-right: auto;
  }

  .header-container {
    justify-content: space-between;
  }

  .workflow li {
    grid-template-columns: 35px 1fr;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: clamp(48px, 14vw, 62px);
  }

  .copy-command.hero-command {
    width: 100%;
  }

  .hero-command code {
    font-size: 10px;
  }

  .feature-grid article,
  .feature-grid article:nth-child(odd),
  .feature-grid article:nth-child(even) {
    padding-inline: 0;
  }

  .workflow li {
    text-align: center;
  }
}

/* Centered, compact presentation ----------------------------------------- */
body {
  font-size: 14px;
}

.header-container {
  justify-content: center;
}

.site-logo {
  position: absolute;
  left: max(24px, calc((100vw - 1080px) / 2));
}

.hero-inner,
.hero-copy,
.intro-grid,
.section-heading,
.tau-grid,
.start-grid {
  text-align: center;
}

.hero-copy,
.hero h1,
.lede,
.hero-demo,
.intro h2,
.intro-grid > div > p,
.section-heading h2,
.tau-section h2,
.tau-section > div > div > p,
.start-section h2,
.start-section p {
  margin-inline: auto;
}

.hero-inner {
  justify-items: center;
  padding-block: clamp(80px, 9vw, 125px);
  gap: 65px;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(54px, 7.2vw, 94px);
  line-height: 0.92;
}

.lede {
  max-width: 560px;
  font-size: 16px;
}

.hero-actions {
  justify-content: center;
}

.hero-command {
  max-width: 470px;
  margin: 30px auto 0;
  padding: 18px 20px;
  color: white;
  border-color: var(--text);
  background: var(--text);
}

.hero-command code {
  font-size: 12px;
}

.hero-command span {
  color: #b8adff;
}

.hero-demo {
  width: min(760px, 100%);
}

.intro-grid,
.section-heading {
  display: block;
}

.intro-grid .section-label,
.section-heading .section-label {
  margin-bottom: 22px;
}

.intro h2,
.section-heading h2,
.tau-section h2,
.start-section h2 {
  max-width: 680px;
  font-size: clamp(38px, 4.8vw, 60px);
}

.intro-grid > div > p {
  max-width: 590px;
  font-size: 15px;
}

.feature-grid {
  width: min(900px, 100%);
  margin-inline: auto;
}

.feature-grid article,
.feature-grid article:nth-child(odd),
.feature-grid article:nth-child(even) {
  padding-inline: 38px;
  text-align: center;
}

.feature-grid h3 {
  font-size: 23px;
}

.feature-grid p,
.tau-section > div > div > p,
.workflow p,
.detail-grid p,
.start-section p {
  font-size: 13px;
}

.tau-grid {
  justify-items: center;
}

.tau-grid > div:first-child {
  max-width: 620px;
}

.check-list {
  max-width: 440px;
  margin-inline: auto;
  text-align: left;
}

.code-window {
  width: min(700px, 100%);
  text-align: left;
}

.workflow {
  width: min(900px, 100%);
  margin-inline: auto;
}

.workflow li {
  grid-template-columns: 45px 1fr 0.8fr;
  text-align: left;
}

.detail-grid article {
  text-align: center;
}

.start-grid {
  justify-items: center;
}

.install-card {
  width: min(520px, 100%);
}

.site-footer {
  text-align: center;
}

.footer-container {
  justify-items: center;
  grid-template-columns: 1fr;
}

.footer-container > p {
  justify-self: center;
}

@media (max-width: 850px) {
  .site-logo {
    position: static;
    margin-right: auto;
  }

  .header-container {
    justify-content: space-between;
  }

  .workflow li {
    grid-template-columns: 35px 1fr;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: clamp(48px, 14vw, 62px);
  }

  .hero-command {
    width: 100%;
  }

  .hero-command code {
    font-size: 10px;
  }

  .feature-grid article,
  .feature-grid article:nth-child(odd),
  .feature-grid article:nth-child(even) {
    padding-inline: 0;
  }

  .workflow li {
    text-align: center;
  }
}

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

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

/* Editorial direction ----------------------------------------------------- */
:root {
  --bg-app: #f3f0e8;
  --bg-card: #f3f0e8;
  --bg-dark: #f3f0e8;
  --border: rgba(24, 24, 27, 0.18);
  --text: #171619;
  --muted: #68646a;
  --accent: #5d49d8;
  --accent-dark: #4937b7;
  --accent-soft: #f3f0e8;
}

body {
  background: var(--bg-app);
}

.site-header {
  position: static;
  background: var(--bg-app);
  backdrop-filter: none;
}

.hero {
  color: var(--text);
  background: var(--bg-app);
  background-image: none;
}

.hero-inner {
  min-height: auto;
  padding-block: clamp(90px, 12vw, 155px);
  grid-template-columns: 1fr;
  gap: 85px;
}

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

.hero .eyebrow {
  color: var(--accent);
}

.hero h1,
.intro h2,
.section-heading h2,
.tau-section h2,
.start-section h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero h1 {
  max-width: 900px;
  margin-block: 30px;
  font-size: clamp(68px, 9.3vw, 126px);
  letter-spacing: -0.065em;
  line-height: 0.87;
}

.lede {
  max-width: 620px;
  color: var(--muted);
  font-size: 19px;
}

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

.button {
  border-radius: 0;
}

.hero-demo {
  max-width: 900px;
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  overflow: visible;
  color: var(--text);
  border: 0;
  border-block: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.demo-bar {
  display: none;
}

.demo-body {
  min-height: 0;
  padding: 30px 0;
}

.demo-body p {
  font-size: 11px;
}

.demo-muted {
  color: var(--muted);
}

.demo-stats {
  border-top: 0;
  border-left: 1px solid var(--border);
}

.demo-stats div {
  padding: 28px 12px;
  border-color: var(--border);
}

.demo-stats span {
  color: var(--muted);
}

.intro,
.feature-section,
.tau-section,
.workflow-section,
.detail-band,
.start-section {
  color: var(--text);
  border-color: var(--border);
  background: var(--bg-app);
}

.intro {
  border-top: 1px solid var(--border);
}

.intro-grid,
.section-heading {
  grid-template-columns: 0.24fr 1fr;
  gap: 65px;
}

.intro h2,
.section-heading h2,
.tau-section h2,
.start-section h2 {
  max-width: 790px;
  font-size: clamp(45px, 5.7vw, 74px);
  line-height: 0.98;
}

.intro-grid > div > p {
  max-width: 660px;
}

.feature-grid {
  grid-template-columns: repeat(2, 1fr);
  border-left: 0;
}

.feature-grid article {
  min-height: 280px;
  padding: 38px 55px 38px 0;
  background: transparent;
}

.feature-grid article:nth-child(odd) {
  padding-right: 65px;
}

.feature-grid article:nth-child(even) {
  padding-left: 55px;
  border-right: 0;
}

.feature-grid h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 400;
}

.tau-grid {
  grid-template-columns: 0.85fr 1.15fr;
}

.tau-logo {
  width: 132px;
  height: auto;
  margin: 0 auto 30px;
  display: block;
}

.tau-section > div > div > p,
.check-list li,
.code-window pre {
  color: var(--muted);
}

.check-list li {
  border-color: var(--border);
}

.code-window {
  border: 0;
  border-block: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.code-title {
  color: var(--muted);
  border-color: var(--border);
}

.syntax,
.value {
  color: var(--accent);
}

.workflow code {
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
}

.detail-band {
  border-inline: 0;
}

.install-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.copy-command {
  border: 1px solid var(--border);
  border-radius: 0;
  color: var(--text);
  background: transparent;
}

.site-footer {
  color: var(--muted);
  border-top: 1px solid var(--border);
  background: var(--bg-app);
}

.footer-container img {
  filter: none;
}

@media (max-width: 850px) {
  .intro-grid,
  .section-heading,
  .tau-grid,
  .start-grid {
    grid-template-columns: 1fr;
  }

  .hero-demo {
    grid-template-columns: 1fr;
  }

  .demo-stats {
    border-top: 1px solid var(--border);
    border-left: 0;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: clamp(56px, 17vw, 72px);
  }

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

  .feature-grid article,
  .feature-grid article:nth-child(odd),
  .feature-grid article:nth-child(even) {
    min-height: 0;
    padding: 36px 0;
    border-right: 0;
  }
}

/* Centering and type scale must remain the final cascade layer. */
.hero-inner,
.tau-grid,
.start-grid {
  justify-items: center;
  text-align: center;
}

.hero h1 {
  max-width: 760px;
  margin-inline: auto;
  font-size: clamp(54px, 7.2vw, 94px);
  line-height: 0.92;
}

.lede {
  max-width: 560px;
  margin-inline: auto;
  font-size: 16px;
}

.intro h2,
.section-heading h2,
.tau-section h2,
.start-section h2 {
  max-width: 680px;
  margin-inline: auto;
  font-size: clamp(38px, 4.8vw, 60px);
}

.copy-command.hero-command {
  max-width: 470px;
  margin: 30px auto 0;
  padding: 18px 20px;
  color: white;
  border-color: var(--text);
  background: var(--text);
}

.hero-command code {
  font-size: 12px;
}

.hero-command span {
  color: #b8adff;
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: clamp(48px, 14vw, 62px);
  }

  .copy-command.hero-command {
    width: 100%;
  }

  .hero-command code {
    font-size: 10px;
  }
}

/* Build story, plugin policy, and color themes --------------------------- */
.theme-toggle {
  width: 42px;
  height: 42px;
  padding: 0;
  position: fixed;
  z-index: 20;
  top: 20px;
  right: 20px;
  display: grid;
  place-items: center;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg-app);
  cursor: pointer;
}

.theme-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.theme-icon-sun {
  display: none;
}

.build-flow {
  width: min(680px, 100%);
  margin: 52px auto 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 22px;
}

.build-flow > div {
  min-height: 130px;
  padding: 22px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-block: 1px solid var(--border);
}

.build-flow b {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 400;
}

.build-flow .site-icon,
.build-flow img {
  width: 28px;
  height: 28px;
  margin-bottom: 13px;
}

.build-flow img {
  object-fit: contain;
}

.build-flow strong,
.build-flow span {
  display: block;
}

.build-flow strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  font-weight: 400;
}

.build-flow span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
}

.feature-grid article code {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10px;
}

.plugin-section {
  padding: 120px 0;
  border-block: 1px solid var(--border);
  background: var(--bg-app);
}

.plugin-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 100px;
}

.plugin-inner > div:first-child {
  text-align: center;
}

.plugin-mark {
  width: 34px;
  height: 34px;
  margin-bottom: 24px;
}

.plugin-section h2 {
  max-width: 540px;
  margin: 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 4.8vw, 60px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.plugin-inner > div:first-child > p {
  max-width: 540px;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: 13px;
}

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

.policy-list article {
  padding: 30px 0;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 24px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.policy-list strong {
  display: block;
  margin-bottom: 7px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 400;
}

.policy-list p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

:root[data-theme="dark"] {
  --bg-app: #171619;
  --bg-card: #171619;
  --bg-dark: #171619;
  --border: rgba(244, 241, 233, 0.18);
  --text: #f1eee6;
  --muted: #aaa5ad;
  --accent: #a99bff;
  --accent-dark: #bcafff;
  --accent-soft: #171619;
}

:root[data-theme="dark"] .theme-icon-moon {
  display: none;
}

:root[data-theme="dark"] .theme-icon-sun {
  display: block;
}

:root[data-theme="dark"] .hero-copy > img,
:root[data-theme="dark"] .build-flow img,
:root[data-theme="dark"] .footer-container img {
  filter: brightness(0) invert(1);
}

:root[data-theme="dark"] .copy-command.hero-command {
  color: #171619;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg-app: #171619;
    --bg-card: #171619;
    --bg-dark: #171619;
    --border: rgba(244, 241, 233, 0.18);
    --text: #f1eee6;
    --muted: #aaa5ad;
    --accent: #a99bff;
    --accent-dark: #bcafff;
    --accent-soft: #171619;
  }

  :root:not([data-theme]) .theme-icon-moon {
    display: none;
  }

  :root:not([data-theme]) .theme-icon-sun {
    display: block;
  }

  :root:not([data-theme]) .hero-copy > img,
  :root:not([data-theme]) .build-flow img,
  :root:not([data-theme]) .footer-container img {
    filter: brightness(0) invert(1);
  }

  :root:not([data-theme]) .copy-command.hero-command {
    color: #171619;
  }
}

@media (max-width: 850px) {
  .plugin-inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

@media (max-width: 560px) {
  .theme-toggle {
    width: 38px;
    height: 38px;
    top: 14px;
    right: 14px;
  }

  .build-flow {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .build-flow b {
    padding: 5px 0;
    transform: rotate(90deg);
  }

  .build-flow > div {
    min-height: 110px;
  }

  .plugin-section {
    padding-block: 85px;
  }
}

/* Simplified hero and official theme gallery ----------------------------- */
.hero-inner {
  min-height: auto;
  padding-block: clamp(64px, 8vw, 96px);
  gap: 0;
}

.hero-copy > img {
  width: 80px;
  height: auto;
}

.hero h1 {
  max-width: 720px;
  margin-block: 28px 22px;
  font-size: clamp(52px, 6.5vw, 82px);
}

.hero .lede {
  max-width: 540px;
}

.copy-command.hero-command {
  margin-top: 28px;
}

.hero-link {
  margin-top: 18px;
  display: inline-block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  text-decoration: none;
}

.hero-link span {
  margin-left: 4px;
  color: var(--accent);
}

.themes-section {
  padding: 120px 0;
  border-block: 1px solid var(--border);
  background: var(--bg-app);
}

.themes-heading {
  max-width: 680px;
  margin: 0 auto 65px;
  text-align: center;
}

.themes-heading > .site-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 22px;
}

.themes-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 4.8vw, 60px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.themes-heading p {
  max-width: 570px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 13px;
}

.theme-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.theme-entry {
  min-width: 0;
}

.theme-preview {
  width: 100%;
  min-height: 360px;
  padding: 0;
  position: static;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--bg-app);
  box-shadow: none;
  transform: none;
}

.theme-preview-minimal {
  padding: 28px;
}

.preview-top {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--muted);
  font-size: 8px;
}

.preview-top i {
  width: 38px;
  height: 5px;
  margin-right: auto;
  background: var(--text);
}

.preview-article {
  width: 72%;
  margin: 70px auto 0;
}

.preview-article small,
.docs-page small {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.11em;
}

.preview-article strong,
.docs-page strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.preview-article strong {
  margin: 12px 0;
  font-size: 30px;
  line-height: 1;
}

.preview-article p,
.docs-page p {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.6;
}

.preview-article b,
.docs-page b,
.docs-side b {
  height: 3px;
  margin-top: 9px;
  display: block;
  background: var(--border);
}

.preview-article b:nth-of-type(2) {
  width: 90%;
}

.preview-article b:nth-of-type(3) {
  width: 65%;
}

.theme-preview-docs {
  display: grid;
  grid-template-columns: 0.33fr 1fr;
}

.docs-side {
  padding: 30px 22px;
  border-right: 1px solid var(--border);
}

.docs-side i {
  width: 42px;
  height: 6px;
  margin-bottom: 35px;
  display: block;
  background: var(--text);
}

.docs-side b {
  width: 78%;
  margin-top: 16px;
}

.docs-side b:nth-of-type(2) {
  width: 92%;
}

.docs-page {
  padding: 65px 42px;
}

.docs-page strong {
  margin: 12px 0;
  font-size: 25px;
  line-height: 1.05;
}

.docs-page pre {
  margin-top: 24px;
  padding: 10px;
  color: var(--text);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 7px;
}

.theme-meta {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  border-bottom: 1px solid var(--border);
}

.theme-meta h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.theme-meta p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.theme-meta code {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 8px;
  white-space: nowrap;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .theme-preview {
    background: var(--bg-app);
  }
}

@media (max-width: 850px) {
  .theme-showcase {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero-inner {
    padding-block: 55px 70px;
  }

  .hero h1 {
    font-size: clamp(46px, 13vw, 58px);
  }

  .themes-section {
    padding-block: 85px;
  }

  .theme-preview {
    min-height: 310px;
  }

  .preview-article {
    width: 88%;
    margin-top: 55px;
  }

  .docs-page {
    padding: 55px 25px;
  }

  .theme-meta {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Cover-style hero and speed illustration -------------------------------- */
.hero {
  min-height: 680px;
  position: relative;
  isolation: isolate;
}

.hero::before {
  content: "";
  width: min(700px, 62vw);
  height: min(390px, 36vw);
  position: absolute;
  z-index: -2;
  top: 50%;
  left: 50%;
  border-radius: 43% 57% 62% 38% / 52% 39% 61% 48%;
  background: radial-gradient(
    ellipse at 48% 48%,
    #8068ff 0%,
    #684ce0 45%,
    rgba(104, 76, 224, 0.3) 2%,
    transparent 100%
  );
  filter: blur(72px);
  opacity: 0.1;
  transform: translate(-50%, -50%) rotate(-4deg);
}

.hero::after {
  content: "";
  width: min(900px, calc(100% - 48px));
  height: 1px;
  position: absolute;
  z-index: -1;
  bottom: 0;
  left: 50%;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.65;
  transform: translateX(-50%);
}

.hero-watermark {
  display: none;
}

.hero-meta {
  position: absolute;
  top: 50%;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  line-height: 1.8;
  text-transform: uppercase;
  transform: translateY(-50%);
}

.hero-meta-left {
  left: max(24px, calc((100vw - 1080px) / 2));
  text-align: left;
}

.hero-meta-right {
  right: max(24px, calc((100vw - 1080px) / 2));
  text-align: right;
}

.hero-inner {
  min-height: 680px;
  padding-block: 70px;
}

.hero h1 {
  text-shadow: 0 0 45px var(--bg-app);
}

.speed-section {
  padding: 120px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--bg-app);
}

.speed-heading {
  max-width: 780px;
  margin: 0 auto 75px;
  text-align: center;
}

.speed-heading > .site-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 18px;
}

.speed-heading > p {
  margin: 0 0 22px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.speed-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5.5vw, 68px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.speed-illustration {
  min-height: 330px;
  padding: 55px 45px;
  display: grid;
  grid-template-columns: 150px 1fr 135px 0.85fr;
  align-items: center;
  gap: 34px;
  border-block: 1px solid var(--border);
}

.page-stack {
  width: 105px;
  height: 135px;
  position: relative;
}

.page-stack i {
  width: 78px;
  height: 100px;
  position: absolute;
  top: 0;
  left: 0;
  border: 1px solid var(--border);
  background: var(--bg-app);
}

.page-stack i:nth-child(2) {
  transform: translate(6px, 6px);
}

.page-stack i:nth-child(3) {
  transform: translate(12px, 12px);
}

.page-stack i:nth-child(4) {
  transform: translate(18px, 18px);
}

.page-stack i:nth-child(5) {
  transform: translate(24px, 24px);
}

.page-stack i:last-of-type::before,
.page-stack i:last-of-type::after {
  content: "";
  height: 2px;
  position: absolute;
  right: 15px;
  left: 15px;
  background: var(--border);
}

.page-stack i:last-of-type::before {
  top: 25px;
}

.page-stack i:last-of-type::after {
  top: 35px;
}

.page-stack span {
  position: absolute;
  right: -2px;
  bottom: -2px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 8px;
}

.speed-track {
  height: 70px;
  position: relative;
}

.speed-track::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  border-top: 1px solid var(--border);
}

.speed-track::after {
  content: "›";
  position: absolute;
  top: calc(50% - 15px);
  right: -2px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 20px;
}

.speed-track span {
  height: 1px;
  position: absolute;
  right: 20%;
  background: var(--accent);
  opacity: 0.45;
}

.speed-track span:nth-child(1) {
  width: 55%;
  top: 18px;
}

.speed-track span:nth-child(2) {
  width: 70%;
  top: 50%;
}

.speed-track span:nth-child(3) {
  width: 42%;
  bottom: 17px;
}

.speed-track b {
  padding: 4px 7px;
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  color: var(--bg-app);
  background: var(--text);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 500;
  transform: translate(-50%, -50%);
}

.built-page {
  width: 104px;
  height: 130px;
  padding: 20px 15px;
  border: 1px solid var(--accent);
}

.built-page div {
  width: 22px;
  height: 3px;
  margin-bottom: 19px;
  background: var(--accent);
}

.built-page strong {
  display: block;
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 400;
}

.built-page i {
  height: 2px;
  margin-top: 8px;
  display: block;
  background: var(--border);
}

.built-page i:last-child {
  width: 65%;
}

.speed-time {
  padding-left: 35px;
  border-left: 1px solid var(--border);
}

.speed-time strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(66px, 8vw, 100px);
  font-weight: 400;
  letter-spacing: -0.08em;
  line-height: 0.8;
}

.speed-time > span {
  margin-left: 7px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
}

.speed-time p {
  max-width: 180px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.speed-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--border);
}

.speed-stats article {
  padding: 28px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.speed-stats article:last-child {
  border-right: 0;
}

.speed-stats strong,
.speed-stats span {
  display: block;
}

.speed-stats strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 400;
}

.speed-stats span {
  margin: 4px 0 10px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.speed-stats p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .hero::before {
    opacity: 0.45;
  }

  :root:not([data-theme]) .tau-logo {
    filter: brightness(0) invert(1);
  }
}

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

  .speed-illustration {
    grid-template-columns: 120px 1fr 110px;
  }

  .speed-time {
    padding: 30px 0 0;
    grid-column: 1 / -1;
    text-align: center;
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .speed-time p {
    margin-inline: auto;
  }
}

@media (max-width: 560px) {
  .hero,
  .hero-inner {
    min-height: 600px;
  }

  .hero-watermark {
    display: none;
  }

  .hero::before {
    width: 115vw;
    height: 72vw;
    filter: blur(55px);
    opacity: 0.54;
  }

  .speed-section {
    padding-block: 85px;
  }

  .speed-heading {
    margin-bottom: 55px;
  }

  .speed-illustration {
    padding: 42px 18px;
    grid-template-columns: 82px 1fr 82px;
    gap: 12px;
  }

  .page-stack {
    width: 67px;
    height: 95px;
  }

  .page-stack i {
    width: 52px;
    height: 70px;
  }

  .page-stack i:nth-child(2) {
    transform: translate(4px, 4px);
  }

  .page-stack i:nth-child(3) {
    transform: translate(8px, 8px);
  }

  .page-stack i:nth-child(4) {
    transform: translate(12px, 12px);
  }

  .page-stack i:nth-child(5) {
    transform: translate(16px, 16px);
  }

  .page-stack span {
    font-size: 7px;
  }

  .built-page {
    width: 70px;
    height: 92px;
    padding: 14px 10px;
  }

  .built-page div {
    margin-bottom: 10px;
  }

  .built-page strong {
    margin-bottom: 8px;
    font-size: 14px;
  }

  .speed-time strong {
    font-size: 70px;
  }

  .speed-stats {
    grid-template-columns: 1fr;
  }

  .speed-stats article {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
}
