/* ─── Archetype: Builder ───────────────────────────────────────────────────
 * Loaded by App.razor when Realm.Archetype = Builder.
 * Defines the typography, density, motion, and shared component CSS for the
 * Builder visual language: technical mono, dense, dark-by-default, code-aware.
 * See .superpowers/brainstorm/1582-1777063571/content/builder-spec-v4.html
 * for the authoritative visual reference.
 * ────────────────────────────────────────────────────────────────────── */

:root {
  --archetype-font-sans:   "Inter", ui-sans-serif, system-ui, sans-serif;
  --archetype-font-mono:   "JetBrains Mono", "Fira Code", ui-monospace, monospace;
  --archetype-font-serif:  unset;     /* not used in Builder */
  --archetype-density:     0.92;
  --archetype-radius-sm:   3px;
  --archetype-radius-md:   4px;
  --archetype-radius-lg:   6px;
  --archetype-transition:  150ms ease-out;
  --archetype-grid-line:   rgba(255, 255, 255, 0.022);  /* 40×40 grid bg overlay (dark) */
  --archetype-accent-h:    var(--realm-hue);
  --archetype-accent-fg:   oklch(0.78 0.20 var(--archetype-accent-h));
}

html.dark {
  --archetype-grid-line:   rgba(255, 255, 255, 0.022);
}

html:not(.dark) {
  --archetype-grid-line:   rgba(0, 0, 0, 0.04);
}

/* Body font in Builder */
body {
  font-family: var(--archetype-font-sans);
}

/* ─── Animated scan-bar sweep (used at top + bottom of marketing pages) ─── */
@keyframes archetype-builder-scan {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.archetype-scan-bar {
  position: relative;
  height: 2px;
  background: oklch(0.14 0.02 var(--realm-hue));
  overflow: hidden;
}
.archetype-scan-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 30%;
  background: linear-gradient(
    90deg,
    transparent,
    oklch(0.78 0.20 var(--realm-hue)),
    transparent
  );
  animation: archetype-builder-scan 2.4s linear infinite;
}

/* ─── Subtle 40×40 grid background ──────────────────────────────────────── */
.archetype-grid-bg {
  background:
    repeating-linear-gradient(0deg,  transparent 0 39px, var(--archetype-grid-line) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, var(--archetype-grid-line) 39px 40px);
}

/* ─── Cursor that blinks at the end of a headline ───────────────────────── */
@keyframes archetype-builder-blink { 50% { opacity: 0; } }
.archetype-cursor {
  display: inline-block;
  width: 7px;
  height: 0.85em;
  background: oklch(0.78 0.20 var(--realm-hue));
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: archetype-builder-blink 1.1s step-end infinite;
}

/* ─── Hero ──────────────────────────────────────────────────────────────── */
.archetype-hero {
  padding: 88px 40px 76px;
  max-width: 960px;
}
.archetype-hero__breadcrumb {
  font-family: var(--archetype-font-mono);
  font-size: 11px;
  color: oklch(0.5 0.02 var(--realm-hue));
  margin-bottom: 26px;
  letter-spacing: 0.02em;
}
.archetype-hero__breadcrumb .hash { color: oklch(0.78 0.20 var(--realm-hue)); }
.archetype-hero__h1 {
  font-size: 60px;
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin: 0 0 24px;
  max-width: 16ch;
}
.archetype-hero__h1 code {
  font-family: var(--archetype-font-mono);
  font-size: 0.82em;
  color: oklch(0.85 0.20 var(--realm-hue));
  background: oklch(0.22 0.08 var(--realm-hue));
  padding: 4px 14px;
  border-radius: var(--archetype-radius-md);
  letter-spacing: -0.01em;
  font-weight: 500;
}
.archetype-hero__lead {
  font-size: 16.5px;
  line-height: 1.6;
  color: oklch(0.72 0.02 var(--realm-hue));
  max-width: 58ch;
  margin: 0 0 32px;
}

/* ─── Hero CTAs ─────────────────────────────────────────────────────────── */
.archetype-cta-row { display: flex; gap: 10px; align-items: center; }
.archetype-cta-primary {
  background: oklch(0.78 0.20 var(--realm-hue));
  color: #0a0a0a;
  padding: 11px 22px;
  border-radius: var(--archetype-radius-md);
  font-size: 13.5px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--archetype-transition);
}
.archetype-cta-primary:hover { background: oklch(0.85 0.20 var(--realm-hue)); }
.archetype-cta-primary .archetype-kbd {
  font-family: var(--archetype-font-mono);
  font-size: 10.5px;
  background: rgba(0, 0, 0, 0.25);
  padding: 1px 5px;
  border-radius: 2px;
}
.archetype-cta-secondary {
  padding: 11px 22px;
  border: 1px solid oklch(0.30 0.03 var(--realm-hue));
  border-radius: var(--archetype-radius-md);
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--archetype-transition);
}
.archetype-cta-secondary:hover { border-color: oklch(0.45 0.05 var(--realm-hue)); }
.archetype-cta-secondary .archetype-kbd {
  font-family: var(--archetype-font-mono);
  font-size: 10.5px;
  color: oklch(0.5 0.02 var(--realm-hue));
  border: 1px solid oklch(0.25 0.02 var(--realm-hue));
  padding: 1px 5px;
  border-radius: 2px;
}

/* ─── Features section ─────────────────────────────────────────────────── */
.archetype-features {
  padding: 72px 40px;
  border-top: 1px solid oklch(0.20 0.02 var(--realm-hue));
}
.archetype-section-head {
  margin-bottom: 48px;
  max-width: 700px;
}
.archetype-section-label {
  font-family: var(--archetype-font-mono);
  font-size: 11px;
  color: oklch(0.55 0.02 var(--realm-hue));
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.archetype-section-label .hash {
  color: oklch(0.78 0.20 var(--realm-hue));
}
.archetype-h2 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 14px;
}
.archetype-section-sub {
  font-size: 15px;
  color: oklch(0.68 0.02 var(--realm-hue));
  line-height: 1.6;
  margin: 0;
}

.archetype-feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: oklch(0.20 0.02 var(--realm-hue));
  border: 1px solid oklch(0.20 0.02 var(--realm-hue));
  border-radius: var(--archetype-radius-md);
  overflow: hidden;
}
.archetype-feat {
  padding: 28px 26px 24px;
  background: oklch(0.08 0.012 var(--realm-hue));
}
html:not(.dark) .archetype-feat {
  background: oklch(0.99 0.005 var(--realm-hue));
}
html:not(.dark) .archetype-feat-grid {
  background: oklch(0.90 0.01 var(--realm-hue));
  border-color: oklch(0.90 0.01 var(--realm-hue));
}
.archetype-feat-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.archetype-feat-num {
  font-family: var(--archetype-font-mono);
  font-size: 11px;
  color: oklch(0.78 0.20 var(--realm-hue));
  letter-spacing: 0.06em;
}
.archetype-feat-status {
  font-family: var(--archetype-font-mono);
  font-size: 10px;
  color: oklch(0.5 0.02 var(--realm-hue));
  padding: 2px 7px;
  border: 1px solid oklch(0.22 0.02 var(--realm-hue));
  border-radius: 2px;
}
.archetype-feat-status.is-beta {
  color: oklch(0.7 0.15 var(--realm-hue));
  border-color: oklch(0.35 0.12 var(--realm-hue));
}
.archetype-feat-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.archetype-feat-body {
  font-size: 13.5px;
  line-height: 1.65;
  color: oklch(0.65 0.02 var(--realm-hue));
  margin: 0 0 20px;
}
.archetype-feat-code {
  font-family: var(--archetype-font-mono);
  font-size: 11.5px;
  color: oklch(0.6 0.10 var(--realm-hue));
  border-top: 1px dashed oklch(0.22 0.02 var(--realm-hue));
  padding-top: 14px;
}
.archetype-feat-code .prompt {
  color: oklch(0.78 0.20 var(--realm-hue));
  margin-right: 6px;
}

/* ─── Pricing section ──────────────────────────────────────────────────── */
.archetype-pricing {
  padding: 68px 40px;
  border-top: 1px solid oklch(0.20 0.02 var(--realm-hue));
}
.archetype-plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 860px;
}
.archetype-plan {
  border: 1px solid oklch(0.22 0.02 var(--realm-hue));
  border-radius: var(--archetype-radius-lg);
  padding: 32px;
  background: oklch(0.08 0.012 var(--realm-hue));
}
html:not(.dark) .archetype-plan {
  background: oklch(0.99 0.005 var(--realm-hue));
  border-color: oklch(0.88 0.01 var(--realm-hue));
}
.archetype-plan.is-highlight {
  border-color: oklch(0.50 0.20 var(--realm-hue));
  box-shadow: 0 0 0 1px oklch(0.50 0.20 var(--realm-hue));
}
.archetype-plan-name {
  font-family: var(--archetype-font-mono);
  font-size: 12px;
  color: oklch(0.78 0.20 var(--realm-hue));
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.archetype-plan-badge {
  font-size: 10px;
  margin-left: 8px;
  text-transform: none;
}
.archetype-plan-desc {
  font-size: 13px;
  color: oklch(0.6 0.02 var(--realm-hue));
  line-height: 1.5;
  margin-bottom: 26px;
}
.archetype-plan-price {
  font-family: var(--archetype-font-mono);
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: oklch(0.92 0.01 var(--realm-hue));
}
html:not(.dark) .archetype-plan-price {
  color: oklch(0.16 0.020 var(--realm-hue));
}
.archetype-plan-price .unit {
  font-size: 14px;
  color: oklch(0.55 0.02 var(--realm-hue));
  margin-left: 8px;
  letter-spacing: 0;
}
.archetype-plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
.archetype-plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  font-size: 13.5px;
  color: oklch(0.75 0.02 var(--realm-hue));
}
html:not(.dark) .archetype-plan-features li {
  color: oklch(0.30 0.02 var(--realm-hue));
}
.archetype-plan-features .arrow {
  color: oklch(0.6 0.20 var(--realm-hue));
  font-family: var(--archetype-font-mono);
  flex-shrink: 0;
}
.archetype-plan-cta {
  display: block;
  text-align: center;
  padding: 10px;
  border-radius: var(--archetype-radius-md);
  font-size: 13.5px;
  cursor: pointer;
  transition: var(--archetype-transition);
}
.archetype-plan-cta.is-solid {
  background: oklch(0.78 0.20 var(--realm-hue));
  color: #0a0a0a;
  font-weight: 500;
}
.archetype-plan-cta.is-solid:hover {
  background: oklch(0.85 0.20 var(--realm-hue));
}
.archetype-plan-cta.is-outline {
  border: 1px solid oklch(0.30 0.03 var(--realm-hue));
  color: oklch(0.85 0.02 var(--realm-hue));
}
html:not(.dark) .archetype-plan-cta.is-outline {
  border-color: oklch(0.78 0.02 var(--realm-hue));
  color: oklch(0.20 0.020 var(--realm-hue));
}
.archetype-plan-cta.is-outline:hover {
  border-color: oklch(0.45 0.05 var(--realm-hue));
}

/* ─── Status strip ─────────────────────────────────────────────────────── */
@keyframes archetype-strip-pulse { 0%,100% { opacity: 0.5; } 50% { opacity: 1; } }
.archetype-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 40px;
  background: oklch(0.05 0.008 var(--realm-hue));
  border-bottom: 1px solid oklch(0.18 0.02 var(--realm-hue));
  font-family: var(--archetype-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: oklch(0.55 0.02 var(--realm-hue));
}
html:not(.dark) .archetype-strip {
  background: oklch(0.96 0.005 var(--realm-hue));
  border-bottom-color: oklch(0.88 0.01 var(--realm-hue));
  color: oklch(0.45 0.02 var(--realm-hue));
}
.archetype-strip-left, .archetype-strip-right { display: flex; gap: 22px; align-items: center; }
.archetype-strip a { color: inherit; }
.archetype-strip .tick { color: oklch(0.78 0.20 var(--realm-hue)); }
.archetype-live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  margin-right: 6px;
  box-shadow: 0 0 6px #4ade80;
  animation: archetype-strip-pulse 2s ease-in-out infinite;
}

/* ─── Header ───────────────────────────────────────────────────────────── */
.archetype-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
  border-bottom: 1px solid oklch(0.20 0.02 var(--realm-hue));
  background: oklch(0.08 0.012 var(--realm-hue));
}
html:not(.dark) .archetype-header {
  background: oklch(0.99 0.005 var(--realm-hue));
  border-bottom-color: oklch(0.90 0.01 var(--realm-hue));
}
.archetype-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}
.archetype-ascii {
  font-family: var(--archetype-font-mono);
  font-size: 8.5px;
  line-height: 1;
  color: oklch(0.78 0.20 var(--realm-hue));
  white-space: pre;
  margin: 0;
}
.archetype-brand-name {
  font-family: var(--archetype-font-mono);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.03em;
}
.archetype-prompt-bar {
  flex: 1;
  max-width: 520px;
  margin: 0 32px;
  background: oklch(0.04 0.006 var(--realm-hue));
  border: 1px solid oklch(0.22 0.02 var(--realm-hue));
  border-radius: var(--archetype-radius-md);
  padding: 6px 14px;
  font-family: var(--archetype-font-mono);
  font-size: 12.5px;
  color: oklch(0.7 0.02 var(--realm-hue));
  display: flex;
  align-items: center;
  gap: 10px;
}
html:not(.dark) .archetype-prompt-bar {
  background: oklch(0.97 0.005 var(--realm-hue));
  border-color: oklch(0.88 0.01 var(--realm-hue));
  color: oklch(0.40 0.02 var(--realm-hue));
}
.archetype-prompt-bar .p {
  color: oklch(0.78 0.20 var(--realm-hue));
}
.archetype-prompt-bar .suggestions {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.archetype-prompt-nav {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  white-space: nowrap;
}
.archetype-prompt-nav a {
  color: inherit;
  text-decoration: none;
  transition: var(--archetype-transition);
}
.archetype-prompt-nav a:hover {
  color: oklch(0.92 0.02 var(--realm-hue));
}
html:not(.dark) .archetype-prompt-nav a:hover {
  color: oklch(0.10 0.02 var(--realm-hue));
}
.archetype-prompt-nav .sep {
  color: oklch(0.40 0.02 var(--realm-hue));
}
.archetype-prompt-bar .kbd-hint {
  margin-left: auto;
  font-size: 10.5px;
  color: oklch(0.5 0.02 var(--realm-hue));
  border: 1px solid oklch(0.22 0.02 var(--realm-hue));
  padding: 1px 6px;
  border-radius: 2px;
  flex-shrink: 0;
}
.archetype-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.archetype-cta-solid {
  padding: 7px 14px;
  background: oklch(0.78 0.20 var(--realm-hue));
  color: #0a0a0a;
  border-radius: var(--archetype-radius-md);
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
  transition: var(--archetype-transition);
}
.archetype-cta-solid:hover {
  background: oklch(0.85 0.20 var(--realm-hue));
}

/* ─── Footer ───────────────────────────────────────────────────────────── */
.archetype-footer {
  padding: 36px 40px 22px;
  border-top: 1px solid oklch(0.20 0.02 var(--realm-hue));
  font-size: 12.5px;
  background: oklch(0.06 0.010 var(--realm-hue));
}
html:not(.dark) .archetype-footer {
  background: oklch(0.97 0.005 var(--realm-hue));
  border-top-color: oklch(0.90 0.01 var(--realm-hue));
}
.archetype-footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 28px;
}
.archetype-footer-tagline {
  font-size: 12.5px;
  line-height: 1.6;
  color: oklch(0.68 0.02 var(--realm-hue));
  margin: 10px 0 0;
}
html:not(.dark) .archetype-footer-tagline {
  color: oklch(0.40 0.02 var(--realm-hue));
}
.archetype-footer-col-label {
  font-family: var(--archetype-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: oklch(0.5 0.02 var(--realm-hue));
  margin-bottom: 14px;
}
.archetype-footer a {
  display: block;
  color: oklch(0.78 0.02 var(--realm-hue));
  padding: 4px 0;
  text-decoration: none;
}
html:not(.dark) .archetype-footer a {
  color: oklch(0.30 0.02 var(--realm-hue));
}
.archetype-footer a:hover {
  color: oklch(0.78 0.20 var(--realm-hue));
}
.archetype-footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid oklch(0.20 0.02 var(--realm-hue));
  font-family: var(--archetype-font-mono);
  font-size: 11px;
  color: oklch(0.5 0.02 var(--realm-hue));
}
html:not(.dark) .archetype-footer-bottom {
  border-top-color: oklch(0.90 0.01 var(--realm-hue));
}

/* ─── Blog list ────────────────────────────────────────────────────────── */
.archetype-blog-list {
  padding: 72px 40px;
  border-top: 1px solid oklch(0.20 0.02 var(--realm-hue));
}
.archetype-blog-rows {
  max-width: 880px;
  border-top: 1px solid oklch(0.20 0.02 var(--realm-hue));
}
html:not(.dark) .archetype-blog-rows {
  border-top-color: oklch(0.88 0.01 var(--realm-hue));
}
.archetype-blog-row {
  display: grid;
  grid-template-columns: 120px 1fr 32px;
  gap: 28px;
  align-items: flex-start;
  padding: 24px 8px;
  border-bottom: 1px solid oklch(0.20 0.02 var(--realm-hue));
  text-decoration: none;
  color: inherit;
  transition: var(--archetype-transition);
}
html:not(.dark) .archetype-blog-row {
  border-bottom-color: oklch(0.88 0.01 var(--realm-hue));
}
.archetype-blog-row:hover {
  background: oklch(0.10 0.015 var(--realm-hue));
}
html:not(.dark) .archetype-blog-row:hover {
  background: oklch(0.97 0.005 var(--realm-hue));
}
.archetype-blog-date {
  font-family: var(--archetype-font-mono);
  font-size: 12px;
  color: oklch(0.55 0.02 var(--realm-hue));
  letter-spacing: 0.02em;
  padding-top: 4px;
}
.archetype-blog-meta { min-width: 0; }
.archetype-blog-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 6px;
  color: oklch(0.92 0.01 var(--realm-hue));
}
html:not(.dark) .archetype-blog-title {
  color: oklch(0.10 0.020 var(--realm-hue));
}
.archetype-blog-row:hover .archetype-blog-title {
  color: oklch(0.78 0.20 var(--realm-hue));
}
.archetype-blog-summary {
  font-size: 14px;
  line-height: 1.55;
  color: oklch(0.65 0.02 var(--realm-hue));
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.archetype-blog-arrow {
  font-family: var(--archetype-font-mono);
  font-size: 18px;
  color: oklch(0.40 0.05 var(--realm-hue));
  transition: var(--archetype-transition);
}
.archetype-blog-row:hover .archetype-blog-arrow {
  color: oklch(0.78 0.20 var(--realm-hue));
  transform: translateX(3px);
}
.archetype-blog-empty {
  padding: 60px 8px;
  text-align: center;
  color: oklch(0.55 0.02 var(--realm-hue));
  font-size: 14px;
}
.archetype-blog-empty p { margin-top: 10px; }

/* ─── Blog post ────────────────────────────────────────────────────────── */
.archetype-blog-post {
  max-width: 720px;
  padding: 80px 40px 100px;
  margin: 0 auto;
}
.archetype-blog-post-breadcrumb {
  font-family: var(--archetype-font-mono);
  font-size: 11px;
  color: oklch(0.55 0.02 var(--realm-hue));
  margin-bottom: 36px;
  letter-spacing: 0.02em;
}
.archetype-blog-post-breadcrumb .hash { color: oklch(0.78 0.20 var(--realm-hue)); }
.archetype-blog-post-breadcrumb .sep { color: oklch(0.40 0.02 var(--realm-hue)); }
.archetype-blog-post-breadcrumb a { color: inherit; text-decoration: none; }
.archetype-blog-post-breadcrumb a:hover { color: oklch(0.78 0.20 var(--realm-hue)); }
.archetype-blog-post-date {
  font-family: var(--archetype-font-mono);
  font-size: 12px;
  display: inline-block;
  border: 1px solid oklch(0.22 0.02 var(--realm-hue));
  padding: 4px 10px;
  border-radius: 3px;
  color: oklch(0.78 0.20 var(--realm-hue));
  margin-bottom: 22px;
}
.archetype-blog-post-title {
  font-size: 56px;
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin: 0 0 40px;
}
.archetype-blog-post-body {
  font-size: 16px;
  line-height: 1.7;
  color: oklch(0.78 0.02 var(--realm-hue));
}
html:not(.dark) .archetype-blog-post-body {
  color: oklch(0.20 0.02 var(--realm-hue));
}
.archetype-blog-post-back {
  display: inline-block;
  margin-top: 56px;
  font-family: var(--archetype-font-mono);
  font-size: 13px;
  color: oklch(0.78 0.20 var(--realm-hue));
  text-decoration: none;
  padding-top: 24px;
  border-top: 1px solid oklch(0.22 0.02 var(--realm-hue));
  width: 100%;
}
.archetype-blog-post-back:hover {
  color: oklch(0.85 0.20 var(--realm-hue));
}
.archetype-blog-post-missing-msg {
  color: oklch(0.65 0.02 var(--realm-hue));
  font-size: 16px;
  margin-bottom: 32px;
}

/* ─── Mobile (≤768px) ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Status strip — wrap, hide secondary metadata */
  .archetype-strip {
    padding: 6px 20px;
    font-size: 9.5px;
    flex-wrap: wrap;
    gap: 8px 14px;
  }
  .archetype-strip-left, .archetype-strip-right {
    gap: 14px;
  }
  /* Drop the deploy hash and uptime on narrow viewports */
  .archetype-strip-right > :not(:last-child) { display: none; }

  /* Header — drop the prompt bar and ASCII mark, keep brand text + CTA */
  .archetype-header {
    padding: 12px 20px;
  }
  .archetype-prompt-bar {
    display: none;
  }
  .archetype-ascii {
    display: none;
  }
  .archetype-brand {
    gap: 0;
  }
  .archetype-brand-name {
    font-size: 14px;
  }
  .archetype-cta-solid {
    padding: 6px 12px;
    font-size: 12px;
  }

  /* Hero — scale headline, reduce padding */
  .archetype-hero {
    padding: 56px 20px 48px;
  }
  .archetype-hero__h1 {
    font-size: 38px;
    max-width: none;
  }
  .archetype-hero__lead {
    font-size: 15.5px;
    max-width: none;
  }
  .archetype-cta-row {
    flex-wrap: wrap;
  }
  .archetype-hero__breadcrumb {
    font-size: 10px;
  }

  /* Features — single column */
  .archetype-features {
    padding: 56px 20px;
  }
  .archetype-feat-grid {
    grid-template-columns: 1fr;
  }
  .archetype-h2 {
    font-size: 26px;
  }

  /* Pricing — single column */
  .archetype-pricing {
    padding: 56px 20px;
  }
  .archetype-plans {
    grid-template-columns: 1fr;
  }

  /* Blog list — collapse the date-meta-arrow row */
  .archetype-blog-list {
    padding: 56px 20px;
  }
  .archetype-blog-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .archetype-blog-arrow {
    display: none;
  }

  /* Blog post */
  .archetype-blog-post {
    padding: 56px 20px 80px;
  }
  .archetype-blog-post-title {
    font-size: 36px;
  }

  /* Footer — 2 columns, then stack the brand on its own row */
  .archetype-footer {
    padding: 32px 20px 18px;
  }
  .archetype-footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .archetype-footer-top > :first-child {
    grid-column: 1 / -1;
  }
  .archetype-footer-bottom {
    flex-direction: column;
    gap: 8px;
    font-size: 10.5px;
  }
}
