/* ╔══════════════════════════════════════════════════════════════════╗
   ║                                                                  ║
   ║           F O R G E  /  Marketing Site  /  v5                    ║
   ║                                                                  ║
   ║   Industrial-blueprint aesthetic for the home page —             ║
   ║   pure typography & grid, Instrument Serif italic for display,   ║
   ║   Geist Mono for technical chrome, zero color.                   ║
   ║                                                                  ║
   ║   The home page (body[data-page="home"]) uses an entirely new    ║
   ║   stylesheet module defined first below. Sub-pages keep using    ║
   ║   the legacy modules further down.                               ║
   ║                                                                  ║
   ╚══════════════════════════════════════════════════════════════════╝ */

/* Forge wordmark — Space Grotesk SemiBold (bundled, identical to the app) */
@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/SpaceGrotesk-SemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Overused Grotesk";
  src:
    url("https://cdn.jsdelivr.net/gh/RandomMaerks/Overused-Grotesk@v0.5-alpha.2/fonts/variable/OverusedGrotesk-VF.woff2")
      format("woff2-variations"),
    url("https://cdn.jsdelivr.net/gh/RandomMaerks/Overused-Grotesk@v0.5-alpha.2/fonts/variable/OverusedGrotesk-VF.woff2")
      format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

/* ─────────────────── v6 — Home page (clean dark SaaS) ─────────────────── */

body[data-page="home"] {
  --bg:       #111111;
  --bg-2:     #161616;
  --bg-3:     #1c1c1c;
  --line:     rgba(255, 255, 255, 0.08);
  --line-2:   rgba(255, 255, 255, 0.14);
  --ink:      #fafafa;
  --ink-2:    #c4c4c4;
  --ink-3:    #8a8a8a;
  --ink-4:    #5a5a5a;

  --font-sans: "Overused Grotesk", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --font-word: "Space Grotesk", var(--font-sans);

  --maxw:   1500px;
  --pad:    max(20px, 2.2vw);
  --ease:   cubic-bezier(0.2, 0.8, 0.2, 1);

  background: #111111;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  overflow-x: hidden;
}

body[data-page="home"] *,
body[data-page="home"] *::before,
body[data-page="home"] *::after {
  box-sizing: border-box;
}

body[data-page="home"] img,
body[data-page="home"] svg {
  display: block;
  max-width: 100%;
}

body[data-page="home"] a {
  color: inherit;
  text-decoration: none;
}

body[data-page="home"] button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ─── v6 module appended below ─── */

body[data-page="home"] ::selection {
  background: var(--ink);
  color: var(--bg);
}

body[data-page="home"] :focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

body[data-page="home"] .skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 200;
  background: var(--bg-3);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 13px;
  transition: top 0.18s var(--ease);
}
body[data-page="home"] .skip:focus { top: 16px; }

body[data-page="home"] .container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* Brand wordmark */
body[data-page="home"] .brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
body[data-page="home"] .nav .brand {
  position: relative;
  flex: 0 0 125px;
  width: 125px;
  height: 52px;
}
body[data-page="home"] .nav .brand__word {
  font-size: 32px;
  min-width: 70px;
}
body[data-page="home"] .brand__mark {
  width: 20px;
  height: 20px;
  border-radius: 5px;
}
body[data-page="home"] .brand__word {
  position: relative;
  z-index: 1;
  display: inline-block;
  min-width: 50px;
  font-family: var(--font-word);
  font-weight: 600;
  font-size: 22px;
  line-height: 1;
  color: var(--ink);
  text-rendering: geometricPrecision;
  transition: opacity 0.24s var(--ease);
}
body[data-page="home"] .brand__shader {
  width: 350px;
  height: 85px;
}
body[data-page="home"] .nav .brand__shader {
  position: absolute;
  top: 50%;
  left: -118px;
  z-index: 2;
  display: block;
  width: 350px;
  height: 85px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
  transition: opacity 0.24s var(--ease);
}
body[data-page="home"] .nav .brand--shader .brand__shader {
  opacity: 1;
}
body[data-page="home"] .nav .brand--shader-pending .brand__word,
body[data-page="home"] .nav .brand--shader .brand__word {
  display: inline-block;
  opacity: 0;
}
@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .nav .brand__shader {
    display: none;
  }
  body[data-page="home"] .nav .brand--shader-pending .brand__word {
    opacity: 1;
  }
}

/* Buttons */
body[data-page="home"] .primary,
body[data-page="home"] .ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 13px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s var(--ease), color 0.18s var(--ease),
    border-color 0.18s var(--ease), box-shadow 0.18s var(--ease),
    transform 0.16s var(--ease);
}
body[data-page="home"] .primary {
  background: #ffffff;
  color: #101010;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
}
body[data-page="home"] .primary:hover {
  background: #f0f0f0;
  border-color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.32);
  transform: translateY(-1px);
}
body[data-page="home"] .primary--lg {
  min-height: 42px;
  padding: 9px 18px;
  font-size: 16px;
  border-radius: 10px;
}
body[data-page="home"] .primary--block,
body[data-page="home"] .ghost--block {
  min-height: 44px;
  width: 100%;
}
/* Legacy etched button (pricing banner) — keep its style, match the new scale */
body[data-page="home"] .btn {
  padding: 8px 15px;
  font-size: 15px;
}
body[data-page="home"] .btn--lg {
  padding: 11px 20px;
  font-size: 16px;
}
body[data-page="home"] .ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}
body[data-page="home"] .ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.22);
  transform: translateY(-1px);
}
body[data-page="home"] .link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  padding: 10px 6px;
  transition: color 0.16s var(--ease);
}
body[data-page="home"] .link:hover {
  color: var(--ink);
}

/* Download page */
body[data-page="home"] .dl-page {
  position: relative;
  padding: clamp(80px, 11vw, 130px) 0 clamp(80px, 12vw, 120px);
  text-align: center;
  min-height: calc(100vh - 60px - 220px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
body[data-page="home"] .dl-page__glow {
  display: none;
}
body[data-page="home"] .dl-page > .container {
  position: relative;
  z-index: 1;
  width: 100%;
}
body[data-page="home"] .dl-page__inner {
  max-width: 480px;
  margin: 0 auto;
}
body[data-page="home"] .dl-page__kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 24px;
}
body[data-page="home"] .dl-page__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.08);
}
body[data-page="home"] .dl-page__title {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1;
  letter-spacing: -0.035em;
  margin: 0 0 14px;
  color: var(--ink);
}
body[data-page="home"] .dl-page__version {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-3);
  margin: 0 0 clamp(36px, 5vw, 52px);
  min-height: 1.4em;
}

/* Primary download — raised card feel */
body[data-page="home"] .dl-page__primary {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 20px 24px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 14px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.1) inset,
    0 -1px 0 rgba(0,0,0,0.2) inset,
    0 4px 24px rgba(255,255,255,0.06),
    0 1px 3px rgba(0,0,0,0.4);
  text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
body[data-page="home"] .dl-page__primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.12) inset,
    0 -1px 0 rgba(0,0,0,0.2) inset,
    0 8px 32px rgba(255,255,255,0.08),
    0 2px 6px rgba(0,0,0,0.4);
}
body[data-page="home"] .dl-page__primary:active {
  transform: translateY(0);
}
body[data-page="home"] .dl-page__primary-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 11px;
  background: rgba(0,0,0,0.15);
  flex: none;
  color: var(--bg);
}
body[data-page="home"] .dl-page__primary-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  flex: 1;
  text-align: left;
}
body[data-page="home"] .dl-page__primary-text strong {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
body[data-page="home"] .dl-page__primary-text span {
  font-size: 13px;
  opacity: 0.5;
}
body[data-page="home"] .dl-page__primary-arrow {
  display: flex;
  align-items: center;
  opacity: 0.35;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
}
body[data-page="home"] .dl-page__primary:hover .dl-page__primary-arrow {
  opacity: 0.6;
  transform: translateX(2px);
}

/* Platform grid */
body[data-page="home"] .dl-page__alts {
  margin-top: clamp(36px, 5vw, 52px);
}
body[data-page="home"] .dl-page__alts-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-4);
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
body[data-page="home"] .dl-page__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
body[data-page="home"] .dl-page__alt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink-2);
  text-align: left;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease), transform 0.14s var(--ease);
}
body[data-page="home"] .dl-page__alt:hover {
  background: var(--bg-3);
  border-color: var(--line-2);
  transform: translateY(-1px);
}
body[data-page="home"] .dl-page__alt.is-detected {
  border-color: var(--line-2);
  background: var(--bg-3);
}
body[data-page="home"] .dl-page__alt-icon {
  flex: none;
  color: var(--ink-3);
  opacity: 0.7;
}
body[data-page="home"] .dl-page__alt:hover .dl-page__alt-icon {
  opacity: 1;
  color: var(--ink-2);
}
body[data-page="home"] .dl-page__alt-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
body[data-page="home"] .dl-page__alt-text strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
body[data-page="home"] .dl-page__alt-text span {
  font-size: 12px;
  color: var(--ink-3);
}
body[data-page="home"] .dl-page__note {
  margin-top: clamp(36px, 5vw, 48px);
  font-size: 12.5px;
  color: var(--ink-4);
  letter-spacing: 0.01em;
}

/* Staggered entrance */
body[data-page="home"] .dl-page__kicker,
body[data-page="home"] .dl-page__title,
body[data-page="home"] .dl-page__version,
body[data-page="home"] .dl-page__primary,
body[data-page="home"] .dl-page__alts,
body[data-page="home"] .dl-page__note {
  animation: forge-rise 0.72s cubic-bezier(0.16, 1, 0.3, 1) both;
}
body[data-page="home"] .dl-page__kicker  { animation-delay: 0.04s; }
body[data-page="home"] .dl-page__title   { animation-delay: 0.08s; }
body[data-page="home"] .dl-page__version { animation-delay: 0.12s; }
body[data-page="home"] .dl-page__primary { animation-delay: 0.16s; }
body[data-page="home"] .dl-page__alts    { animation-delay: 0.22s; }
body[data-page="home"] .dl-page__note    { animation-delay: 0.28s; }

@media (max-width: 520px) {
  body[data-page="home"] .dl-page__grid {
    grid-template-columns: 1fr;
  }
  body[data-page="home"] .dl-page__primary {
    padding: 18px 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .dl-page__kicker,
  body[data-page="home"] .dl-page__title,
  body[data-page="home"] .dl-page__version,
  body[data-page="home"] .dl-page__primary,
  body[data-page="home"] .dl-page__alts,
  body[data-page="home"] .dl-page__note {
    animation: none;
  }
}

/* Nav */
body[data-page="home"] .nav {
  position: relative;
  z-index: 10;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body[data-page="home"] .nav__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  height: 60px;
}
body[data-page="home"] .nav__inner .brand {
  margin-left: 0;
}
body[data-page="home"] .nav .container {
  padding-inline: max(14px, 1.1vw);
}
body[data-page="home"] .nav__links {
  display: inline-flex;
  gap: 2px;
  font-size: 14px;
  color: var(--ink-2);
  margin-left: auto;
}
/* Nav tabs styled as secondary buttons (matches the hero .ghost button) */
body[data-page="home"] .nav__links a {
  display: inline-flex;
  align-items: center;
  padding: 7px 8px;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease),
    color 0.16s var(--ease), transform 0.16s var(--ease);
}
body[data-page="home"] .nav__links a:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--ink);
  transform: translateY(-1px);
}
body[data-page="home"] .nav__links a.primary {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  padding: 7px 14px;
}
@media (max-width: 800px) {
  body[data-page="home"] .nav__links { display: none; }
}

/* Hero */
/* Loading splash — big metallic F for ~4s, then reveals the page */
body[data-page="home"] .loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: var(--bg);
  animation: loader-out 0.55s var(--ease) 3.45s forwards;
}
body[data-page="home"] .loader.is-done {
  display: none;
}
body[data-page="home"] .loader::before {
  display: none;
}
body[data-page="home"] .loader__mark {
  width: clamp(96px, 16vw, 132px);
  height: auto;
  border-radius: clamp(20px, 3vw, 30px);
  filter: drop-shadow(0 20px 48px rgba(0, 0, 0, 0.55));
  animation:
    loader-in 0.6s cubic-bezier(0.2, 0.8, 0.25, 1) both,
    loader-breathe 1.8s ease-in-out 0.6s infinite;
}
body[data-page="home"] .loader__mark--shader {
  width: clamp(440px, 76vw, 960px);
  height: clamp(112px, 19vw, 240px);
  border-radius: 0;
  filter: none;
  animation: loader-fade 0.5s ease both;
}
@keyframes loader-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes loader-in {
  0%   { opacity: 0; transform: translateY(12px) scale(0.92); }
  100% { opacity: 1; transform: none; }
}
@keyframes loader-breathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.045); }
}
@keyframes loader-glow {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.12); }
}
@keyframes loader-out {
  to { opacity: 0; visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .loader__mark,
  body[data-page="home"] .loader::before {
    animation: none;
  }
}

body[data-page="home"] .hero {
  position: relative;
  padding: clamp(72px, 10vw, 130px) 0 0;
  text-align: center;
  overflow: hidden;
}
body[data-page="home"] .hero::before {
  display: none;
}
body[data-page="home"] .hero__inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
}
body[data-page="home"] .hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
body[data-page="home"] .hero__col {
  min-width: 0;
}
body[data-page="home"] .hero__col--cta {
  display: flex;
  justify-content: flex-end;
}
@media (max-width: 920px) {
  body[data-page="home"] .hero__grid {
    grid-template-columns: 1fr;
    gap: clamp(40px, 8vw, 64px);
  }
}
body[data-page="home"] .hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 clamp(20px, 2.5vw, 28px);
  padding: 7px 15px 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-2);
}
body[data-page="home"] .hero__badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}
body[data-page="home"] .hero__h1 {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(40px, 6.5vw, 86px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin: 0 0 14px;
  color: var(--ink);
  text-align: center;
}
body[data-page="home"] .hero__h1-em {
  display: block;
  color: var(--ink);
}
body[data-page="home"] .hero__lede {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 44ch;
  margin: 0 auto 0;
  text-align: center;
}
body[data-page="home"] .hero__cta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}
body[data-page="home"] .hero__meta {
  font-size: 13px;
  color: var(--ink-3);
  margin: 0;
}

body[data-page="home"] .hero__shot {
  width: 100%;
  margin: 0;
  position: relative;
}
body[data-page="home"] .hero__shot::before {
  content: "";
  position: absolute;
  inset: -40px -10% 50%;
  background: radial-gradient(ellipse at top, rgba(255, 255, 255, 0.06), transparent 70%);
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
}

/* Tanker display headlines */
body[data-page="home"] .hero__h1,
body[data-page="home"] .section__h,
.hero h1,
.page-header h1,
.section h2 {
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
}

/* Calm entrance on load */
@keyframes forge-rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
body[data-page="home"] .nav__links,
body[data-page="home"] .nav__actions,
body[data-page="home"] .hero__badge,
body[data-page="home"] .hero__h1,
body[data-page="home"] .hero__lede,
body[data-page="home"] .hero__cta,
body[data-page="home"] .hero__meta,
body[data-page="home"] .hero__shot,
body[data-page="home"] .hero__col--cta,
body[data-page="home"] .app-stage,
body[data-page="home"] .section__head,
body[data-page="home"] .card,
body[data-page="home"] .flow,
body[data-page="home"] .tier,
body[data-page="home"] .faq__q,
body[data-page="home"] .cta__h,
body[data-page="home"] .cta__p,
body[data-page="home"] .cta .primary,
body[data-page="home"] .footer__brand,
body[data-page="home"] .footer__cols,
body[data-page="home"] .footer__base {
  animation: forge-rise 0.72s cubic-bezier(0.16, 1, 0.3, 1) both;
}
body[data-page="home"] .nav__links { animation-delay: 0.02s; }
body[data-page="home"] .nav__actions { animation-delay: 0.06s; }
body[data-page="home"] .hero__h1 { animation-delay: 0.08s; }
body[data-page="home"] .hero__lede { animation-delay: 0.12s; }
body[data-page="home"] .hero__cta,
body[data-page="home"] .hero__col--cta { animation-delay: 0.16s; }
body[data-page="home"] .hero__meta { animation-delay: 0.2s; }
body[data-page="home"] .hero__shot,
body[data-page="home"] .app-stage { animation-delay: 0.26s; }
body[data-page="home"] .section__head { animation-delay: 0.08s; }
body[data-page="home"] .card:nth-child(1),
body[data-page="home"] .flow:nth-child(1),
body[data-page="home"] .tier:nth-child(1),
body[data-page="home"] .faq__q:nth-child(1) { animation-delay: 0.1s; }
body[data-page="home"] .card:nth-child(2),
body[data-page="home"] .flow:nth-child(2),
body[data-page="home"] .tier:nth-child(2),
body[data-page="home"] .faq__q:nth-child(2) { animation-delay: 0.16s; }
body[data-page="home"] .card:nth-child(3),
body[data-page="home"] .flow:nth-child(3),
body[data-page="home"] .tier:nth-child(3),
body[data-page="home"] .faq__q:nth-child(3) { animation-delay: 0.22s; }
body[data-page="home"] .flow:nth-child(4),
body[data-page="home"] .faq__q:nth-child(4) { animation-delay: 0.28s; }
body[data-page="home"] .flow:nth-child(5),
body[data-page="home"] .faq__q:nth-child(5) { animation-delay: 0.34s; }
body[data-page="home"] .flow:nth-child(6) { animation-delay: 0.4s; }
body[data-page="home"] .flow:nth-child(7) { animation-delay: 0.46s; }
body[data-page="home"] .flow:nth-child(8) { animation-delay: 0.52s; }
body[data-page="home"] .cta__h { animation-delay: 0.08s; }
body[data-page="home"] .cta__p { animation-delay: 0.14s; }
body[data-page="home"] .cta .primary { animation-delay: 0.2s; }
body[data-page="home"] .footer__brand { animation-delay: 0.08s; }
body[data-page="home"] .footer__cols { animation-delay: 0.14s; }
body[data-page="home"] .footer__base { animation-delay: 0.18s; }
@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .nav__links,
  body[data-page="home"] .nav__actions,
  body[data-page="home"] .hero__badge,
  body[data-page="home"] .hero__h1,
  body[data-page="home"] .hero__lede,
  body[data-page="home"] .hero__cta,
  body[data-page="home"] .hero__meta,
  body[data-page="home"] .hero__shot,
  body[data-page="home"] .hero__col--cta,
  body[data-page="home"] .app-stage,
  body[data-page="home"] .section__head,
  body[data-page="home"] .card,
  body[data-page="home"] .flow,
  body[data-page="home"] .tier,
  body[data-page="home"] .faq__q,
  body[data-page="home"] .cta__h,
  body[data-page="home"] .cta__p,
  body[data-page="home"] .cta .primary,
  body[data-page="home"] .footer__brand,
  body[data-page="home"] .footer__cols,
  body[data-page="home"] .footer__base {
    animation: none;
  }
}

/* Section common */
body[data-page="home"] .section {
  padding: clamp(80px, 11vw, 140px) 0;
}
body[data-page="home"] .section--alt {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}
body[data-page="home"] .section__head {
  max-width: 720px;
  margin-bottom: clamp(48px, 6vw, 80px);
}
body[data-page="home"] .section__head--center {
  margin-inline: auto;
  text-align: center;
}
body[data-page="home"] .section__h {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 16px;
}
body[data-page="home"] .section__sub {
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 56ch;
  margin: 0;
}
body[data-page="home"] .section__head--center .section__sub {
  margin-inline: auto;
}

/* Features (3 cards) */
body[data-page="home"] .features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
body[data-page="home"] .card {
  padding: 32px 28px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease);
}
body[data-page="home"] .card:hover {
  border-color: var(--line-2);
  background: var(--bg-3);
}
body[data-page="home"] .card__h {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
body[data-page="home"] .card__p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 6px;
}
body[data-page="home"] .card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
body[data-page="home"] .card__list li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-3);
}
body[data-page="home"] .card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 1px;
  background: var(--ink-3);
}

/* Workflows grid */
body[data-page="home"] .flows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
body[data-page="home"] .flow {
  padding: 24px 22px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease);
  min-height: 160px;
}
body[data-page="home"] .flow:hover {
  border-color: var(--line-2);
  background: var(--bg-3);
}
body[data-page="home"] .flow__n {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
body[data-page="home"] .flow__h {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}
body[data-page="home"] .flow__p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-3);
  margin: auto 0 0;
}
body[data-page="home"] .flow__p code {
  font-family: var(--font-mono);
  font-size: 0.92em;
  color: var(--ink-2);
}

/* Pricing tiers */
body[data-page="home"] .tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
body[data-page="home"] .tier {
  position: relative;
  padding: 36px 30px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
}
body[data-page="home"] .tier--feat {
  background: var(--bg-3);
  border-color: var(--line-2);
}
body[data-page="home"] .tier__tag {
  position: absolute;
  top: 18px;
  right: 18px;
  margin: 0;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--ink);
  border-radius: 999px;
}
body[data-page="home"] .tier__h {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-2);
  margin: 0 0 14px;
  letter-spacing: -0.005em;
}
body[data-page="home"] .tier__price {
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 6px;
  line-height: 1;
}
body[data-page="home"] .tier__price span {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-3);
  letter-spacing: 0;
  margin-left: 4px;
}
body[data-page="home"] .tier__for {
  font-size: 13.5px;
  color: var(--ink-3);
  margin: 0 0 28px;
}
body[data-page="home"] .tier__list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
body[data-page="home"] .tier__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--ink-2);
}
body[data-page="home"] .tier__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 6px;
  border-left: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: rotate(-45deg);
}

/* FAQ */
body[data-page="home"] .faq-wrap { max-width: 760px; margin-inline: auto; }
body[data-page="home"] .faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
body[data-page="home"] .faq__q {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease);
}
body[data-page="home"] .faq__q[open] {
  background: var(--bg-3);
  border-color: var(--line-2);
}
body[data-page="home"] .faq__q summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}
body[data-page="home"] .faq__q summary::-webkit-details-marker { display: none; }
body[data-page="home"] .faq__c {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--ink-3);
  transition: transform 0.25s var(--ease);
  width: 18px;
  text-align: center;
  flex: none;
}
body[data-page="home"] .faq__q[open] .faq__c {
  transform: rotate(45deg);
  color: var(--ink);
}
body[data-page="home"] .faq__q p {
  margin: 0;
  padding: 0 22px 20px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 64ch;
}
body[data-page="home"] .faq__q code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  color: var(--ink);
  background: var(--bg-2);
  padding: 1px 6px;
  border-radius: 4px;
}

/* Final CTA */
body[data-page="home"] .cta {
  padding: clamp(80px, 12vw, 140px) 0;
  text-align: center;
  border-top: 1px solid var(--line);
}
body[data-page="home"] .cta__h {
  font-size: clamp(32px, 4.8vw, 56px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 16px;
  color: var(--ink);
}
body[data-page="home"] .cta__p {
  font-size: 17px;
  color: var(--ink-2);
  margin: 0 0 32px;
}

/* Footer */
body[data-page="home"] .footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding-top: 60px;
}
body[data-page="home"] .footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 48px;
  padding-bottom: 48px;
}
body[data-page="home"] .footer__brand p {
  margin: 14px 0 0;
  font-size: 13.5px;
  color: var(--ink-3);
  max-width: 32ch;
}
body[data-page="home"] .footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
body[data-page="home"] .footer__cols h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 14px;
  letter-spacing: -0.005em;
}
body[data-page="home"] .footer__cols a {
  display: block;
  font-size: 13.5px;
  color: var(--ink-3);
  margin-bottom: 10px;
  transition: color 0.15s var(--ease);
}
body[data-page="home"] .footer__cols a:hover {
  color: var(--ink);
}
body[data-page="home"] .footer__base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-4);
}

/* App mockup keeps its existing CSS (defined elsewhere in this file).
   Just give it the right shadow on the new canvas. */
body[data-page="home"] .app-shot {
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 0 1px var(--line),
    0 30px 60px rgba(0, 0, 0, 0.5),
    0 80px 140px -40px rgba(0, 0, 0, 0.7);
}

/* Full-width app mockup section under the hero */
body[data-page="home"] .app-stage {
  padding: clamp(24px, 2.5vw, 36px) 0 clamp(48px, 7vw, 110px);
}
body[data-page="home"] .app-stage .app-shot {
  /* Size to its own three-row grid (toolbar / body / status) rather than a
     fixed aspect ratio, so the 2×2 agent grid has real room at full width. */
  aspect-ratio: auto;
  grid-template-rows: 40px minmax(400px, 1fr) 26px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 1024px) {
  body[data-page="home"] .features {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin-inline: auto;
  }
  body[data-page="home"] .flows {
    grid-template-columns: repeat(2, 1fr);
  }
  body[data-page="home"] .tiers {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }
  body[data-page="home"] .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
@media (max-width: 560px) {
  body[data-page="home"] .flows {
    grid-template-columns: 1fr;
  }
  body[data-page="home"] .footer__cols {
    grid-template-columns: repeat(2, 1fr);
  }
  body[data-page="home"] .hero__cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  body[data-page="home"] .hero__cta .primary--lg {
    width: 100%;
  }
  body[data-page="home"] .nav__actions .ghost {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}



:root {
  /* — surfaces (neutral charcoal — verbatim from the app's default theme) — */
  --bg-app: #0a0a0a;
  --surface-1: #141414;
  --surface-2: #1c1c1c;
  --surface-3: #262626;
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.20);
  --border-muted: rgba(255, 255, 255, 0.07);

  /* — text — */
  --text: #fafafa;
  --text-muted: #d4d4d4;
  --text-dim: #a0a0a0;

  /* — neutral accent: bright off-white spark (no blue) — */
  --accent: #fafafa;
  --accent-glow: rgba(255, 255, 255, 0.16);
  --accent-soft: rgba(255, 255, 255, 0.07);
  --accent-contrast: #0a0a0a;

  --status-ok: #86efac;
  --status-warn: #fcd34d;
  --status-err: #fca5a5;

  /* — etched recipe (verbatim from the app, neutral) — */
  --etch-up:
    0 1px 0 rgba(255, 255, 255, 0.09) inset,
    0 -1px 0 rgba(0, 0, 0, 0.50) inset,
    0 1.5px 0 #000,
    0 5px 12px rgba(0, 0, 0, 0.55);
  --etch-up-primary:
    0 1px 0 rgba(255, 255, 255, 0.16) inset,
    0 -1px 0 rgba(0, 0, 0, 0.60) inset,
    0 1.5px 0 #000,
    0 6px 14px rgba(0, 0, 0, 0.60);
  --etch-press:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 -1px 0 rgba(0, 0, 0, 0.40) inset,
    0 0 0 #000,
    0 1px 4px rgba(0, 0, 0, 0.45);
  --etch-inset:
    0 1px 0 rgba(255, 255, 255, 0.03) inset,
    0 2px 4px rgba(0, 0, 0, 0.30) inset;

  --btn-primary-bg: linear-gradient(180deg, #262626 0%, #141414 100%);
  --btn-primary-hover: linear-gradient(180deg, #2e2e2e 0%, #1a1a1a 100%);
  --btn-secondary-bg: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
  --btn-secondary-hover: linear-gradient(180deg, #222222 0%, #131313 100%);

  --radius-panel: 7px;
  --radius-card: 6px;
  --radius-button: 6px;
  --radius-pill: 999px;
  --shadow-float: 0 18px 40px rgba(0, 0, 0, 0.55);
  --easing: cubic-bezier(0.2, 0.8, 0.2, 1);

  --font-sans: "Overused Grotesk", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: "Geist Mono", "JetBrains Mono", ui-monospace, Menlo, monospace;
  --font-word: "Space Grotesk", var(--font-sans);

  --maxw: 1500px;
}

/* ───────────────────────────── Reset ───────────────────────────── */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: #141414;
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* atmospheric layers: a faint machined dot-grid + film grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.016) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(ellipse 85% 55% at 50% 0%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 85% 55% at 50% 0%, #000 0%, transparent 70%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

::selection {
  background: var(--accent-soft);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 200;
  background: var(--surface-2);
  color: var(--text);
  padding: 10px 16px;
  border-radius: var(--radius-button);
  box-shadow: var(--etch-up);
  transition: top 0.18s var(--easing);
}
.skip-link:focus {
  top: 16px;
}

/* ───────────────────────────── Brand ───────────────────────────── */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand__logo {
  width: auto;
  height: 24px;
  display: block;
  border-radius: 6px;
}
.footer .brand__logo {
  height: 22px;
}

.brand__word {
  font-family: var(--font-word);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: 0.01em;
  color: var(--text);
}

.brand__shader {
  width: 296px;
  height: 72px;
  display: block;
  flex: none;
}
.brand--shader .brand__word {
  display: none;
}

/* ───────────────────────────── Buttons ───────────────────────────── */
/* Same etched recipe as the app: buttons get depth, not color. */

.btn {
  --bg: var(--btn-secondary-bg);
  --bgh: var(--btn-secondary-hover);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--text);
  background: var(--bg);
  border-radius: var(--radius-button);
  box-shadow: var(--etch-up);
  transition:
    transform 0.12s var(--easing),
    box-shadow 0.12s var(--easing),
    background 0.18s var(--easing),
    filter 0.18s var(--easing);
  white-space: nowrap;
}
.btn:hover {
  background: var(--bgh);
  transform: translateY(-1px);
  filter: brightness(1.06);
}
.btn:active {
  transform: translateY(1.5px);
  box-shadow: var(--etch-press);
}

.btn--primary {
  --bg: var(--btn-primary-bg);
  --bgh: var(--btn-primary-hover);
  box-shadow: var(--etch-up-primary);
  color: #fff;
}
.btn--primary::after {
  /* faint steel sheen along the top edge */
  content: "";
  position: absolute;
}

.btn--secondary {
  --bg: var(--btn-secondary-bg);
  --bgh: var(--btn-secondary-hover);
}

.btn--ghost {
  background: transparent;
  box-shadow: none;
  color: var(--text-muted);
}
.btn--ghost:hover {
  background: var(--surface-1);
  color: var(--text);
  box-shadow: var(--etch-up);
  filter: none;
}

.btn--lg {
  padding: 14px 26px;
  font-size: 15px;
}

.btn--block {
  width: 100%;
}

/* ───────────────────────────── Nav ───────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  background: rgba(10, 10, 10, 0.6);
  border-bottom: 1px solid transparent;
  transition: background 0.25s var(--easing), border-color 0.25s var(--easing);
}
.nav.is-stuck {
  background: rgba(10, 10, 10, 0.86);
  border-bottom-color: var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__links {
  display: flex;
  gap: 30px;
  font-size: 14px;
  color: var(--text-muted);
}
.nav__links a {
  position: relative;
  padding: 4px 0;
  transition: color 0.16s var(--easing);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.22s var(--easing);
}
.nav__links a:hover {
  color: var(--text);
}
.nav__links a:hover::after {
  width: 100%;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}
.nav__burger span {
  width: 20px;
  height: 1.5px;
  background: var(--text);
  transition: 0.2s var(--easing);
}

/* ───────────────────────────── Hero ───────────────────────────── */

.hero {
  position: relative;
  padding: clamp(64px, 11vw, 140px) 0 clamp(56px, 8vw, 110px);
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  top: -30%;
  left: 50%;
  width: 1100px;
  height: 800px;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse at center,
    var(--accent-glow) 0%,
    rgba(255, 255, 255, 0.05) 35%,
    transparent 70%
  );
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: var(--surface-1);
  box-shadow: var(--etch-inset);
  margin-bottom: 26px;
}
.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--status-ok);
  box-shadow: 0 0 8px var(--status-ok);
  animation: pulse 2.4s var(--easing) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.hero h1 {
  font-family: var(--font-word);
  font-weight: 600;
  font-size: clamp(44px, 6.4vw, 86px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
}
.hl {
  background: linear-gradient(120deg, #fff 0%, var(--accent) 55%, #a8a8a8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--text-muted);
  max-width: 32em;
  margin-bottom: 36px;
}
.lede strong {
  color: var(--text);
  font-weight: 600;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}

.hero__meta {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-dim);
  letter-spacing: 0.01em;
}

/* — Faux app window — */

.window {
  border-radius: var(--radius-panel);
  background: var(--surface-1);
  box-shadow:
    0 0 0 1px var(--border),
    var(--shadow-float),
    0 60px 120px -40px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  transform: perspective(1600px) rotateY(-7deg) rotateX(2deg);
  transition: transform 0.6s var(--easing);
}
.window:hover {
  transform: perspective(1600px) rotateY(-2deg) rotateX(1deg);
}

.window__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.tl {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #3a3d44;
}
.tl--r { background: #4a3236; }
.tl--y { background: #4a4632; }
.tl--g { background: #324a38; }
.window__title {
  margin-left: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-dim);
}

.window__body {
  display: flex;
  min-height: 420px;
}

.w-activity {
  width: 46px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  background: var(--bg-app);
  border-right: 1px solid var(--border);
}
.w-ico {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: var(--surface-3);
  opacity: 0.5;
}
.w-ico.is-on {
  opacity: 1;
  background: var(--surface-3);
  box-shadow: inset 0 0 0 1px var(--border-strong), -2px 0 0 -1px var(--accent);
}
.w-ico--b {
  margin-top: auto;
  background: linear-gradient(140deg, #fff, var(--accent));
  opacity: 0.85;
}

.w-main {
  flex: 1;
  display: grid;
  grid-template-columns: 150px 1fr;
}

.w-tree {
  border-right: 1px solid var(--border);
  padding: 14px 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.008);
}
.w-row {
  padding: 4px 6px;
  border-radius: 4px;
  display: flex;
  gap: 6px;
}
.w-row--in {
  padding-left: 18px;
}
.w-fold {
  color: var(--text-dim);
}
.w-row.is-edit {
  color: var(--accent);
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  gap: 6px;
}
.w-lock {
  margin-left: auto;
  font-size: 11px;
  color: var(--status-warn);
  opacity: 0.85;
}

.w-agent {
  display: flex;
  flex-direction: column;
  padding: 14px;
  gap: 12px;
}
.w-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-muted);
}
.w-spin {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  border-top-color: var(--accent);
  animation: spin 0.9s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.w-status__d {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 11.5px;
}
.w-clock {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}

.w-tools {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.w-tool {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  padding: 7px 10px;
  border-radius: 5px;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--border);
}
.w-tool span {
  font-size: 11px;
  width: 12px;
  text-align: center;
}
.w-tool.ok span { color: var(--status-ok); }
.w-tool.run span { color: var(--accent); }
.w-tool em {
  margin-left: auto;
  font-style: normal;
  color: var(--text-dim);
  font-size: 11px;
}

.w-input {
  margin-top: auto;
  padding: 11px 13px;
  border-radius: 6px;
  background: var(--bg-app);
  box-shadow: var(--etch-inset);
  font-size: 12.5px;
  color: var(--text-dim);
}

/* Tiny history strip inside the hero window — mirrors the real History view */
.w-history {
  margin-top: 8px;
  border-top: 1px dashed var(--border);
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.w-history__h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 4px;
}
.w-history__c {
  color: var(--accent);
}
.w-history__row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 8px;
  border-radius: 5px;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--border);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-muted);
}
.w-history__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--status-ok);
  box-shadow: 0 0 6px var(--status-ok);
  flex: none;
}
.w-history__t {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.w-history__rev {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--accent-soft);
  transition: background 0.18s var(--easing);
}
.w-history__rev:hover {
  background: rgba(255, 255, 255, 0.16);
}

.window__status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}
.window__status .sep {
  width: 1px;
  height: 11px;
  background: var(--border-strong);
}
.w-status__right {
  margin-left: auto;
  color: var(--accent);
}

/* ──────────────────────────── Strip ──────────────────────────── */

.strip {
  border-block: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.008);
}
.strip__inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 36px;
  padding: 24px 28px;
}
.strip__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.strip__items {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.strip__items .sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--border-strong);
}

/* ──────────────────────────── Sections ──────────────────────────── */

.section {
  padding: clamp(72px, 11vw, 140px) 0;
}
.section--alt {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 40%);
  border-block: 1px solid var(--border);
}

.section__head {
  max-width: 680px;
  margin-bottom: 64px;
}

.kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

h2 {
  font-family: var(--font-word);
  font-weight: 600;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.section__sub {
  margin-top: 22px;
  font-size: 17px;
  color: var(--text-muted);
  max-width: 56ch;
}

/* — feature grid — */

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  padding: 30px 26px;
  border-radius: var(--radius-card);
  background: var(--surface-1);
  box-shadow: 0 0 0 1px var(--border), 0 2px 8px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.22s var(--easing),
    box-shadow 0.22s var(--easing),
    background 0.22s var(--easing);
}
.card:hover {
  transform: translateY(-4px);
  background: var(--surface-2);
  box-shadow:
    0 0 0 1px var(--border-strong),
    var(--shadow-float),
    0 0 28px -10px var(--accent-glow);
}
.card__ico {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--surface-3);
  box-shadow: var(--etch-up);
  margin-bottom: 22px;
  color: var(--accent);
}
.card__ico svg {
  width: 20px;
  height: 20px;
}
.card h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* — steps — */

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--radius-card);
  background: var(--surface-1);
  box-shadow: 0 0 0 1px var(--border);
}
.step__n {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
}
.step h3 {
  margin: 16px 0 10px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.step p {
  font-size: 14.5px;
  color: var(--text-muted);
}
.step code {
  font-family: var(--font-mono);
  font-size: 0.86em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 1px 6px;
  border-radius: 4px;
}

/* — engines — */

.engines {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.engines__picker {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border-radius: var(--radius-panel);
  background: var(--surface-1);
  box-shadow: 0 0 0 1px var(--border), var(--shadow-float);
}
.eng {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  text-align: left;
  padding: 16px 18px;
  border-radius: var(--radius-card);
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--border);
  transition: 0.18s var(--easing);
}
.eng:hover {
  background: var(--surface-3);
}
.eng.is-on {
  background: var(--surface-3);
  box-shadow:
    inset 0 0 0 1px var(--border-strong),
    -3px 0 0 -1px var(--accent),
    0 0 24px -12px var(--accent-glow);
}
.eng__name {
  font-size: 15px;
  font-weight: 600;
}
.eng.is-on .eng__name {
  color: var(--accent);
}
.eng__hint {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
}

/* — pricing — */

.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 30px;
  border-radius: var(--radius-card);
  background: var(--surface-1);
  box-shadow: 0 0 0 1px var(--border);
}
.tier--feat {
  background: var(--surface-2);
  box-shadow:
    0 0 0 1px var(--border-strong),
    var(--shadow-float),
    0 0 40px -16px var(--accent-glow);
}
.tier__tag {
  position: absolute;
  top: -11px;
  left: 30px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-contrast, #0c0d10);
  background: var(--accent);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-weight: 600;
}
.tier h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}
.tier__price {
  font-family: var(--font-word);
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 14px 0 24px;
}
.tier__price span {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 400;
  color: var(--text-dim);
  letter-spacing: 0;
}
.tier ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
  flex: 1;
}
.tier li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  color: var(--text-muted);
}
.tier li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 7px;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}

/* ──────────────────────────── CTA ──────────────────────────── */

.cta {
  position: relative;
  padding: clamp(80px, 12vw, 150px) 0;
  text-align: center;
  overflow: hidden;
  border-top: 1px solid var(--border);
}
.cta__glow {
  position: absolute;
  bottom: -50%;
  left: 50%;
  width: 900px;
  height: 700px;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse at center,
    var(--accent-glow) 0%,
    transparent 65%
  );
  filter: blur(50px);
  z-index: -1;
}
.cta__inner h2 {
  margin-bottom: 16px;
}
.cta__inner > p {
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 36px;
}
.cta__form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.cta__form input {
  width: min(360px, 80vw);
  padding: 14px 18px;
  font-size: 15px;
  color: var(--text);
  background: var(--bg-app);
  border-radius: var(--radius-button);
  box-shadow: var(--etch-inset);
  border: none;
}
.cta__form input::placeholder {
  color: var(--text-dim);
}
.cta__form input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.cta__fine {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
}

/* ──────────────────────────── Footer ──────────────────────────── */

.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-app);
  padding-top: 64px;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  padding-bottom: 56px;
}
.footer__brand {
  max-width: 280px;
}
.footer__brand p {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--text-dim);
}
.footer__cols {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}
.footer__cols h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.footer__cols a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 11px;
  transition: color 0.15s var(--easing);
}
.footer__cols a:hover {
  color: var(--accent);
}
.footer__base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-block: 24px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
}

/* ──────────────────────────── Toast ──────────────────────────── */

.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 140%);
  z-index: 300;
  padding: 13px 22px;
  border-radius: var(--radius-button);
  background: var(--surface-2);
  box-shadow: var(--etch-up), var(--shadow-float);
  font-size: 14px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.4s var(--easing);
  pointer-events: none;
}
.toast.is-show {
  transform: translate(-50%, 0);
}
.toast::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

/* ─────────────────────── Reveal animation ─────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s var(--easing),
    transform 0.7s var(--easing);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }

/* ─────────────────────────── Responsive ─────────────────────────── */

@media (max-width: 940px) {
  .hero__grid,
  .engines {
    grid-template-columns: 1fr;
  }
  .window {
    transform: none;
    order: -1;
  }
  .window:hover {
    transform: none;
  }
  .grid,
  .steps,
  .tiers {
    grid-template-columns: 1fr;
  }
  .nav__links {
    position: fixed;
    inset: 64px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
    transform: translateY(-130%);
    transition: transform 0.3s var(--easing);
  }
  .nav__links.is-open {
    transform: none;
  }
  .nav__links a {
    padding: 14px 28px;
  }
  .nav__burger {
    display: flex;
  }
  .nav__actions .btn--ghost {
    display: none;
  }
}

@media (max-width: 560px) {
  .container {
    padding-inline: 20px;
  }
  .hero__cta .btn {
    width: 100%;
  }
  .footer__inner {
    flex-direction: column;
    gap: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .window {
    transform: none;
  }
}

/* ─────────────────────── Why Forge band ─────────────────────── */

.why {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.why__punch {
  margin-top: 20px;
  font-size: 17px;
  color: var(--text);
  font-weight: 500;
  max-width: 52ch;
  border-left: 2px solid var(--accent);
  padding-left: 16px;
}
.why__props {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.why__props > div {
  flex: 1 1 160px;
  padding: 16px 18px;
  border-radius: var(--radius-card);
  background: var(--surface-1);
  box-shadow: 0 0 0 1px var(--border);
}
.why__props strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.why__props span {
  font-size: 13px;
  color: var(--text-dim);
}

.why__art {
  padding: 22px;
  border-radius: var(--radius-panel);
  background: var(--surface-1);
  box-shadow: 0 0 0 1px var(--border), var(--shadow-float);
}
.art-snap {
  width: 100%;
  height: auto;
  display: block;
}
.snap-t {
  font-family: var(--font-mono);
  font-size: 12px;
  fill: var(--text-muted);
}
.snap-x {
  fill: var(--status-err);
  text-decoration: line-through;
}
.snap-undo {
  font-family: var(--font-mono);
  font-size: 11px;
  fill: var(--accent);
  text-anchor: end;
}
.snap-node {
  opacity: 0;
  animation: snapIn 0.5s var(--easing) forwards;
}
.snap-node:nth-child(2) { animation-delay: 0.15s; }
.snap-node:nth-child(3) { animation-delay: 0.3s; }
.snap-node:nth-child(4) { animation-delay: 0.45s; }
.snap-node:nth-child(5) { animation-delay: 0.62s; }
@keyframes snapIn {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: none; }
}

/* ──────────────────── Feature "more" rail ──────────────────── */

.more {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 18px;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--border);
  background: var(--border);
}
.more li {
  background: var(--surface-1);
  padding: 18px 20px;
  font-size: 13.5px;
  color: var(--text-muted);
  transition: background 0.18s var(--easing);
}
.more li:hover {
  background: var(--surface-2);
}
.more li span {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 5px;
}

/* ──────────────────── Engines illustration ─────────────────── */

.engines__art {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.art-route {
  width: 100%;
  height: auto;
  background: var(--surface-1);
  border-radius: var(--radius-panel);
  box-shadow: 0 0 0 1px var(--border);
  padding: 8px;
}
.rt-c {
  font-family: var(--font-mono);
  font-size: 13px;
  fill: var(--accent);
  text-anchor: middle;
  font-weight: 600;
}
.rt-s {
  font-family: var(--font-mono);
  font-size: 11.5px;
  fill: var(--text-muted);
  text-anchor: middle;
}
.rt-f {
  font-family: var(--font-mono);
  font-size: 10.5px;
  fill: var(--text-dim);
  text-anchor: middle;
  letter-spacing: 0.04em;
}
.rt-leaf { opacity: 0; animation: snapIn 0.5s var(--easing) 0.2s forwards; }
.rt-leaf:nth-of-type(3) { animation-delay: 0.32s; }
.rt-leaf:nth-of-type(4) { animation-delay: 0.44s; }

@media (max-width: 940px) {
  .why {
    grid-template-columns: 1fr;
  }
  .more {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .more {
    grid-template-columns: 1fr;
  }
  .why__props > div {
    flex-basis: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .snap-node,
  .rt-leaf {
    opacity: 1 !important;
    animation: none !important;
  }
}

/* ─────────────────────── Comparison table ─────────────────────── */

.compare {
  border-radius: var(--radius-panel);
  background: var(--surface-1);
  box-shadow: 0 0 0 1px var(--border), var(--shadow-float);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto;
}

.compare__head,
.compare__row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.1fr;
  align-items: stretch;
}

.compare__head {
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

.compare__col {
  padding: 18px 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  border-left: 1px solid var(--border-muted);
}
.compare__col--us {
  color: var(--accent);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 80%);
  position: relative;
}
.compare__us-mark {
  display: inline-block;
  margin-right: 6px;
  transform: translateY(-1px);
}

.compare__row {
  border-top: 1px solid var(--border-muted);
  transition: background 0.18s var(--easing);
}
.compare__row:hover {
  background: rgba(255, 255, 255, 0.012);
}

.compare__label {
  padding: 18px 22px;
  font-size: 14.5px;
  color: var(--text);
  font-weight: 500;
  display: flex;
  align-items: center;
}

.compare__cell {
  padding: 18px 22px;
  font-size: 13.5px;
  color: var(--text-dim);
  border-left: 1px solid var(--border-muted);
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.45;
}
.compare__cell--us {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012) 100%);
  color: var(--text);
  font-weight: 500;
  position: relative;
}
.compare__cell--us::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--accent-glow), transparent);
}

.cmp-ok {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  flex: none;
}
.cmp-x {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 600;
  flex: none;
}

@media (max-width: 940px) {
  .compare__head { display: none; }
  .compare__row {
    grid-template-columns: 1fr;
    padding: 14px 0;
    border-top: 1px solid var(--border-muted);
  }
  .compare__row:first-of-type { border-top: none; }
  .compare__label {
    padding: 0 22px 4px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-dim);
  }
  .compare__cell {
    border-left: none;
    padding: 6px 22px 4px;
  }
  .compare__cell--us {
    background: none;
  }
  .compare__cell--us::before { display: none; }
  .compare__cell:nth-child(2),
  .compare__cell:nth-child(3) {
    display: none;
  }
}

/* ───────────────────────────── FAQ ──────────────────────────── */

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 880px;
}

.faq__q {
  border-radius: var(--radius-card);
  background: var(--surface-1);
  box-shadow: 0 0 0 1px var(--border);
  overflow: hidden;
  transition: box-shadow 0.22s var(--easing), background 0.22s var(--easing);
}
.faq__q[open] {
  background: var(--surface-2);
  box-shadow:
    0 0 0 1px var(--border-strong),
    0 0 24px -12px var(--accent-glow);
}

.faq__q summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
  transition: color 0.16s var(--easing);
}
.faq__q summary::-webkit-details-marker { display: none; }
.faq__q:hover summary { color: var(--accent); }

.faq__caret {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--text-dim);
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-2);
  box-shadow: var(--etch-inset);
  transition: transform 0.25s var(--easing), color 0.18s var(--easing);
  flex: none;
}
.faq__q[open] .faq__caret {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq__q p {
  padding: 0 24px 22px;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 64ch;
}
.faq__q code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 1px 6px;
  border-radius: 4px;
}

/* ─────────────────────── Tier byline ─────────────────────── */

.tier__byline {
  margin: -14px 0 22px;
  font-size: 13px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  letter-spacing: 0.01em;
}

/* ─────────────────────── Misc polish ─────────────────────── */

.why__punch em {
  color: var(--accent);
  font-style: normal;
  font-weight: 600;
}

/* "more" rail now 4 cols stays balanced when items wrap text */
.more li span {
  letter-spacing: 0.02em;
}

/* Slightly tighter window perspective for the larger body */
@media (min-width: 941px) {
  .window {
    transform: perspective(1800px) rotateY(-6deg) rotateX(1.5deg);
  }
  .window:hover {
    transform: perspective(1800px) rotateY(-1.5deg) rotateX(0.5deg);
  }
}

/* ─────────────────────── Trust-strip proof line ─────────────────────── */

.strip__proof {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: var(--surface-1);
  box-shadow: var(--etch-up);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  transition: color 0.18s var(--easing), background 0.18s var(--easing), transform 0.12s var(--easing);
}
.strip__proof:hover {
  color: var(--text);
  background: var(--surface-2);
  transform: translateY(-1px);
}
.strip__proof-mark {
  color: var(--accent);
}
.strip__proof-arrow {
  color: var(--accent);
  transition: transform 0.18s var(--easing);
}
.strip__proof:hover .strip__proof-arrow {
  transform: translateX(2px);
}

/* ─────────────────────── Forge Cloud pill (pricing) ─────────────────────── */

.cloud-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  vertical-align: 1px;
}

/* ─────────────────────── Final CTA row (alt to email form) ─────────────────────── */

.cta__row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 18px;
}

/* ─────────────────────── Footer social row ─────────────────────── */

.footer__social {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}
.footer__social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  background: var(--surface-1);
  box-shadow: inset 0 0 0 1px var(--border);
  color: var(--text-muted);
  transition: color 0.16s var(--easing), background 0.16s var(--easing);
}
.footer__social a:hover {
  color: var(--accent);
  background: var(--surface-2);
}
.footer__status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--status-ok);
  box-shadow: 0 0 8px var(--status-ok);
}
.footer__status-text {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.02em;
}

/* ─────────────────────── aria-current="page" nav state ─────────────────────── */

.nav__links a[aria-current="page"] {
  color: var(--accent);
}
.nav__links a[aria-current="page"]::after {
  width: 100%;
}

/* ─────────────────────── Sub-page header strip ─────────────────────── */

.page-header {
  position: relative;
  padding: clamp(56px, 8vw, 96px) 0 clamp(32px, 4vw, 56px);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.page-header__glow {
  position: absolute;
  top: -40%;
  left: 50%;
  width: 900px;
  height: 540px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 65%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}
.page-header h1 {
  font-family: var(--font-word);
  font-weight: 600;
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin-top: 14px;
  margin-bottom: 18px;
}
.page-header .section__sub {
  margin-top: 0;
}
.page-header__meta {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}
.page-header__meta b {
  color: var(--text-muted);
  font-weight: 500;
  margin-right: 6px;
}

/* ─────────────────────── Sub-page section wrapper ─────────────────────── */

.subpage {
  padding: clamp(56px, 8vw, 96px) 0;
}
.subpage--alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 40%);
  border-block: 1px solid var(--border);
}
.subpage__grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 1023px) {
  .subpage__grid {
    grid-template-columns: 1fr;
  }
}

/* ─────────────────────── Long-form prose ─────────────────────── */

.prose {
  max-width: 64ch;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.72;
}
.prose > * + * {
  margin-top: 18px;
}
.prose h2 {
  font-family: var(--font-word);
  font-weight: 600;
  font-size: clamp(24px, 2.4vw, 32px);
  letter-spacing: -0.02em;
  color: var(--text);
  margin-top: 56px;
  margin-bottom: 12px;
  scroll-margin-top: 88px;
  line-height: 1.18;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--text);
  margin-top: 36px;
  margin-bottom: 8px;
  scroll-margin-top: 88px;
}
.prose p {
  color: var(--text-muted);
}
.prose strong {
  color: var(--text);
  font-weight: 600;
}
.prose a {
  color: var(--accent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: border-color 0.16s var(--easing);
}
.prose a:hover {
  border-bottom-color: var(--accent);
}
.prose ul,
.prose ol {
  padding-left: 22px;
}
.prose li + li {
  margin-top: 8px;
}
.prose li::marker {
  color: var(--text-dim);
}
.prose hr {
  border: none;
  height: 1px;
  background: var(--border);
  margin-block: 36px;
}

/* ─────────────────────── Inline + block code ─────────────────────── */

code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 1px 6px;
  border-radius: 4px;
}

pre.code {
  position: relative;
  display: block;
  padding: 18px 20px;
  border-radius: var(--radius-card);
  background: #0a0b0e;
  box-shadow: inset 0 0 0 1px var(--border);
  border-left: 2px solid var(--accent-soft);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
  overflow-x: auto;
  white-space: pre;
  tab-size: 2;
}
pre.code code {
  color: inherit;
  background: none;
  padding: 0;
  font-size: inherit;
}
.code__file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 16px;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--border);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.code__file + pre.code {
  border-radius: 0 0 var(--radius-card) var(--radius-card);
  margin-top: -1px;
}

/* ─────────────────────── Sticky docs TOC ─────────────────────── */

.toc {
  position: sticky;
  top: 88px;
  align-self: start;
  padding: 18px;
  border-radius: var(--radius-panel);
  background: var(--surface-1);
  box-shadow: 0 0 0 1px var(--border);
  max-height: calc(100vh - 110px);
  overflow-y: auto;
}
.toc h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.toc ol {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  counter-reset: tocstep;
}
.toc li {
  counter-increment: tocstep;
}
.toc a {
  display: block;
  position: relative;
  padding: 6px 10px 6px 28px;
  font-size: 13.5px;
  color: var(--text-muted);
  border-radius: 4px;
  transition: color 0.16s var(--easing), background 0.16s var(--easing);
}
.toc a::before {
  content: counter(tocstep, decimal-leading-zero);
  position: absolute;
  left: 8px;
  top: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}
.toc a:hover {
  color: var(--text);
  background: var(--surface-2);
}
.toc a.is-active {
  color: var(--accent);
  background: var(--accent-soft);
}
.toc a.is-active::before {
  color: var(--accent);
}

.toc-top {
  display: none;
  margin-bottom: 28px;
  padding: 14px 16px;
  border-radius: var(--radius-card);
  background: var(--surface-1);
  box-shadow: 0 0 0 1px var(--border);
}
.toc-top h4 {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.toc-top ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 13px;
}
.toc-top a {
  color: var(--text-muted);
}
.toc-top a:hover { color: var(--accent); }

@media (max-width: 1023px) {
  .toc { display: none; }
  .toc-top { display: block; }
}

/* ─────────────────────── Callout ─────────────────────── */

.callout {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-card);
  background: var(--surface-1);
  box-shadow: 0 0 0 1px var(--border);
  border-left: 2px solid var(--accent);
  font-size: 14.5px;
  color: var(--text-muted);
}
.callout--warn {
  border-left-color: var(--status-warn);
}
.callout--warn .callout__mark { color: var(--status-warn); }
.callout__mark {
  flex: none;
  width: 18px;
  text-align: center;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--accent);
}
.callout strong {
  color: var(--text);
}

/* ─────────────────────── Shortcut + spec tables ─────────────────────── */

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-card);
  box-shadow: 0 0 0 1px var(--border);
}
table.spec {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface-1);
  font-size: 14px;
}
table.spec th,
table.spec td {
  text-align: left;
  padding: 12px 18px;
  border-top: 1px solid var(--border-muted);
  vertical-align: top;
}
table.spec thead th {
  border-top: none;
  background: var(--surface-2);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 500;
}
table.spec td:first-child {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--accent);
  white-space: nowrap;
  width: 1%;
}
table.spec td:first-child kbd,
.kbd {
  display: inline-block;
  padding: 2px 7px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text);
  background: var(--surface-2);
  border-radius: 4px;
  box-shadow: var(--etch-up);
}

/* ─────────────────────── Numbered quickstart steps ─────────────────────── */

.quickstart {
  list-style: none;
  counter-reset: qs;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.quickstart > li {
  counter-increment: qs;
  position: relative;
  padding: 22px 24px 24px 78px;
  border-radius: var(--radius-card);
  background: var(--surface-1);
  box-shadow: 0 0 0 1px var(--border);
}
.quickstart > li::before {
  content: counter(qs, decimal-leading-zero);
  position: absolute;
  top: 22px;
  left: 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
}
.quickstart h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.quickstart p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 12px;
}
.quickstart p:last-child { margin-bottom: 0; }

/* ─────────────────────── Changelog entries ─────────────────────── */

.changelog {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.changelog-entry {
  position: relative;
  padding: 28px 32px;
  border-radius: var(--radius-panel);
  background: var(--surface-1);
  box-shadow: 0 0 0 1px var(--border);
  scroll-margin-top: 88px;
}
.changelog-entry__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px 18px;
  margin-bottom: 6px;
}
.changelog-entry__ver {
  font-family: var(--font-word);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.changelog-entry__date {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}
.changelog-entry__tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent);
}
.changelog-entry__summary {
  font-size: 15.5px;
  color: var(--accent);
  margin-bottom: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.changelog-entry__groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
.changelog-entry__group h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 10px;
}
.changelog-entry__group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.changelog-entry__group li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}
.changelog-entry__group li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 1px;
  background: var(--accent);
}

/* ─────────────────────── Manifesto editorial ─────────────────────── */

.editorial {
  max-width: 64ch;
  margin-inline: auto;
  padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 100px);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-muted);
}
.editorial > p,
.editorial > h2,
.editorial > h3,
.editorial > blockquote,
.editorial > hr {
  margin-block: 22px;
}
.editorial > p:first-of-type::first-letter {
  font-family: var(--font-word);
  font-weight: 600;
  font-size: 4.6em;
  line-height: 0.85;
  float: left;
  padding: 6px 14px 0 0;
  color: var(--text);
}
.editorial h2 {
  font-family: var(--font-word);
  font-weight: 600;
  font-size: clamp(24px, 2.8vw, 34px);
  letter-spacing: -0.02em;
  color: var(--text);
  margin-top: 56px;
  line-height: 1.18;
}
.editorial strong {
  color: var(--text);
  font-weight: 600;
}
.editorial em {
  color: var(--text);
  font-style: italic;
}
.editorial blockquote {
  font-family: var(--font-word);
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--text);
  border-left: 2px solid var(--accent);
  padding-left: 22px;
  margin-block: 44px;
}
.editorial hr {
  border: none;
  height: 1px;
  background: var(--border);
  margin-block: 44px;
}
.editorial__sign-off {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.editorial__sig {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}

/* ─────────────────────── Download summary card ─────────────────────── */

.download-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: center;
  padding: 28px;
  border-radius: var(--radius-panel);
  background: var(--surface-1);
  box-shadow: 0 0 0 1px var(--border), var(--shadow-float);
  margin-top: 28px;
}
@media (max-width: 720px) {
  .download-card { grid-template-columns: 1fr; }
}
.download-card__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.download-card__cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.download-card__cta .btn { width: 100%; }
.dl-alts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 4px;
}
.dl-alts a {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.dl-alts a:hover {
  color: var(--text-muted);
  border-bottom-color: var(--border);
}
.dl-alts a.is-detected {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.download-card__hash {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-dim);
  word-break: break-all;
  background: var(--bg-app);
  padding: 8px 12px;
  border-radius: 4px;
  box-shadow: var(--etch-inset);
}

/* ─────────────────────── Two-column subgrid for specs ─────────────────────── */

.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.spec-grid > div {
  padding: 22px;
  border-radius: var(--radius-card);
  background: var(--surface-1);
  box-shadow: 0 0 0 1px var(--border);
}
.spec-grid h3 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 10px;
}
.spec-grid p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
}
.spec-grid code {
  display: inline-block;
  margin-top: 4px;
}

/* ─────────────────────── Section header (sub-pages, inside .subpage) ─────────────────────── */

.subpage h2 {
  font-family: var(--font-word);
  font-weight: 600;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
  scroll-margin-top: 88px;
}
.subpage > .container > .kicker {
  margin-bottom: 6px;
}

/* ─────────────────────── Bottom-of-page CTA strip ─────────────────────── */

.endcap {
  padding: clamp(48px, 8vw, 80px) 0;
  text-align: center;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 70%);
}
.endcap h2 {
  font-family: var(--font-word);
  font-weight: 600;
  font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.endcap p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ─────────────────────── Responsive tweaks for sub-page bits ─────────────────────── */

@media (max-width: 560px) {
  .changelog-entry { padding: 22px 20px; }
  .quickstart > li { padding: 22px 20px 22px 64px; }
  .quickstart > li::before { left: 20px; }
  .footer__social { flex-wrap: wrap; }
}

/* ╔══════════════════════════════════════════════════════════════════╗
   ║  v4 — Prime-Intellect inspired                                    ║
   ║  Numbered nav, "Lab." opener bands, sub-numbered points (1.1),    ║
   ║  uppercase btn-pill CTAs, FIG labels.                             ║
   ║  Forge dark / neutral charcoal palette · zero blue.               ║
   ╚══════════════════════════════════════════════════════════════════╝ */

/* ── Nav (Prime style) ──────────────────────────────────────────── */

.nav--pi .nav__inner {
  height: 60px;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 32px;
  align-items: center;
}

.nav__sections {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
}
.nav__sections a {
  position: relative;
  color: var(--text);
  padding: 4px 0;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  transition: color 0.16s var(--easing);
}
.nav__sections a:hover {
  color: var(--text-dim);
}
.nav__sections sup {
  font-size: 9px;
  color: var(--text-dim);
  letter-spacing: 0;
  margin-left: 3px;
  top: -0.5em;
  font-weight: 500;
}

.nav--pi .nav__links {
  justify-self: end;
  font-size: 13px;
  color: var(--text-muted);
}
.nav--pi .nav__links a:hover {
  color: var(--text);
}
.nav--pi .nav__links a::after {
  display: none;
}

/* Pill CTA — uppercase mono, sharp etched feel */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-contrast);
  background: var(--accent);
  border-radius: 999px;
  text-decoration: none;
  transition:
    background 0.18s var(--easing),
    transform 0.18s var(--easing),
    color 0.18s var(--easing);
}
.btn-pill:hover {
  background: #fff;
  color: var(--accent-contrast);
  transform: translateY(-1px);
}
.btn-pill--primary {
  background: var(--accent);
  color: var(--accent-contrast);
}
.btn-pill--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-pill--ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-color: var(--text-dim);
}

/* ── Hero — Backed-by row (Prime pattern) ───────────────────────── */

.hero__backed {
  margin: 26px auto 0;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}
.hero__backed-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-dim);
}
.hero__backed-names {
  color: var(--text-muted);
}
.hero__backed-names .sep {
  margin: 0 6px;
  color: var(--text-dim);
  opacity: 0.5;
}

/* ── Tagline "bands" — Prime's "Lab. Post-train..." pattern ───── */

.band {
  padding: clamp(80px, 12vw, 130px) 0 0;
  border-top: 1px solid var(--border-muted);
}
.band--alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent 80%);
}
.band__inner {
  text-align: left;
  max-width: 1100px;
}
.band__num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.band__num::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--text-dim);
  opacity: 0.45;
}
.band__h {
  font-family: var(--font-word);
  font-weight: 600;
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0 0 32px;
  max-width: 22ch;
}
.band__h span {
  color: var(--text);
}
.band__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

/* ── Block index — "01 Snapshots" (Prime pattern) ──────────────── */

.block__index {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 22px;
}
.block__index-n {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}
.block__index-name {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--text);
  text-transform: none;
}

/* Sub-numbered point list (1.1, 1.2, 1.3) */
.block__pts {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}
.block__pts li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.block__pts li::before {
  display: none;
}
.block__pt-n {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  padding-top: 1px;
}
.block__pt-t {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.5;
}
.block__pt-t strong {
  color: var(--text);
  font-weight: 600;
}
.block__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--text-dim);
  padding-bottom: 4px;
  transition: border-color 0.18s var(--easing), color 0.18s var(--easing);
}
.block__more:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* The numbered .block sections should not have heavy top border now —
   the .band above them owns the section break. Pull the top gap up. */
.block:not(.band + .block) {
  padding-top: clamp(72px, 11vw, 140px);
}
.band + .block {
  padding-top: clamp(48px, 7vw, 96px);
  border-top: 0;
}
.band + .block + .block,
.band + .block + .block + .block {
  border-top: 1px solid var(--border-muted);
}

/* Pricing & FAQ section padding — also tighten when preceded by a band */
.band + .section--workflows,
.band + .section--pricing {
  padding-top: clamp(48px, 7vw, 96px);
  border-top: 0;
}

/* ╔══════════════════════════════════════════════════════════════════╗
   ║  v3 — Technical-documentation aesthetic (kept below)              ║
   ╚══════════════════════════════════════════════════════════════════╝ */

/* §01-style numbered section markers — uppercase mono with strong tracking */
.block__num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.block__num::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--text-dim);
  opacity: 0.45;
}
.block__num--center {
  justify-content: center;
}
.block__num--center::before {
  display: none;
}

/* Hero — split treatment: dim first line, bold second line */
.hero__h1-sub {
  color: var(--text-dim);
  font-weight: 500;
}

/* FIG. X.Y labels on every product visual — tech-doc tradition */
.fig-label {
  position: absolute;
  top: -10px;
  left: 18px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 4px 10px;
  background: var(--bg-app);
  border: 1px solid var(--border);
  border-radius: 4px;
}

/* ───────────────────── §04 — Workflows grid ────────────────────── */

.section--workflows {
  padding: clamp(96px, 14vw, 180px) 0;
  border-top: 1px solid var(--border-muted);
}

.flows {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--border);
  box-shadow: 0 0 0 1px var(--border);
}
.flow {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 26px 22px 24px;
  background: var(--surface-1);
  text-decoration: none;
  color: var(--text);
  transition:
    background 0.18s var(--easing),
    transform 0.18s var(--easing);
  position: relative;
  cursor: pointer;
}
.flow:hover {
  background: var(--surface-2);
}
.flow__n {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--text-dim);
}
.flow__name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-top: 2px;
}
.flow__hint {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-dim);
  line-height: 1.5;
}
.flow::after {
  content: "→";
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 14px;
  color: var(--text-dim);
  opacity: 0;
  transition: opacity 0.18s var(--easing), transform 0.18s var(--easing);
}
.flow:hover::after {
  opacity: 1;
  transform: translateX(2px);
}

/* ───────────────────────── §06 — FAQ ──────────────────────────── */

.section--faq {
  padding: clamp(96px, 14vw, 160px) 0;
  border-top: 1px solid var(--border-muted);
}
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}
.faq-q {
  border-bottom: 1px solid var(--border);
}
.faq-q summary {
  list-style: none;
  cursor: pointer;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  transition: color 0.16s var(--easing);
}
.faq-q summary::-webkit-details-marker { display: none; }
.faq-q:hover summary { color: var(--accent); }
.faq-q__caret {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 300;
  color: var(--text-dim);
  width: 28px;
  text-align: center;
  transition: transform 0.25s var(--easing);
  flex: none;
}
.faq-q[open] .faq-q__caret {
  transform: rotate(45deg);
  color: var(--text);
}
.faq-q p {
  padding: 0 0 28px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 60ch;
}
.faq-q code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  color: var(--text);
  background: var(--surface-2);
  padding: 1px 6px;
  border-radius: 4px;
}

/* ╔══════════════════════════════════════════════════════════════════╗
   ║  v2 — Clean modern simple selling                                 ║
   ║  Overrides + new patterns for the simplified landing.             ║
   ╚══════════════════════════════════════════════════════════════════╝ */

:root {
  --maxw: 1500px;
}

/* Buttons — etched DNA from the app: charcoal gradient + soft top
   highlight + crisp 1.5px base shadow. Same recipe used in src/index.css. */
.btn {
  font-weight: 500;
  letter-spacing: -0.005em;
  padding: 11px 20px;
  border-radius: 999px;
  box-shadow: var(--etch-up);
}
.btn--primary {
  background: var(--btn-primary-bg);
  color: var(--text);
  box-shadow: var(--etch-up-primary);
}
.btn--primary:hover {
  background: var(--btn-primary-hover);
  filter: none;
}
.btn--secondary {
  background: var(--btn-secondary-bg);
  color: var(--text);
  box-shadow: var(--etch-up);
}
.btn--secondary:hover {
  background: var(--btn-secondary-hover);
}
.btn--xl {
  padding: 16px 30px;
  font-size: 15px;
  border-radius: 999px;
}
.btn--link {
  padding: 11px 6px;
  background: none;
  box-shadow: none;
  color: var(--text-muted);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn--link:hover {
  background: none;
  color: var(--accent);
  transform: none;
  filter: none;
}
.btn--ghost {
  border-radius: 8px;
}

/* Nav v2 — slimmer */
.nav__inner {
  height: 68px;
}
.nav__links {
  gap: 36px;
  font-size: 14.5px;
}
.nav__links a[aria-current="page"] {
  color: var(--text);
}
.nav__links a[aria-current="page"]::after {
  width: 100%;
}

/* ───────────────────────── Hero (clean) ───────────────────────── */

.hero--clean {
  padding: clamp(80px, 12vw, 160px) 0 0;
  text-align: center;
  overflow: visible;
}
.hero--clean .eyebrow {
  margin: 0 auto 28px;
}
.hero__h1 {
  font-family: var(--font-word);
  font-weight: 600;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  max-width: 14ch;
  margin: 0 auto 28px;
}
.hero__lede {
  font-size: clamp(18px, 1.7vw, 22px);
  color: var(--text-muted);
  max-width: 36ch;
  margin: 0 auto 40px;
  line-height: 1.5;
}
.hero--clean .hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
  justify-content: center;
}
.hero--clean .hero__meta {
  text-align: center;
  margin-bottom: 0;
  font-size: 13px;
  color: var(--text-dim);
}

.hero__glow {
  top: -10%;
  width: 1400px;
  height: 1000px;
  background: radial-gradient(
    ellipse at center,
    var(--accent-glow) 0%,
    rgba(255, 255, 255, 0.04) 30%,
    transparent 60%
  );
  filter: blur(60px);
  opacity: 0.7;
}

.hero__shot {
  margin: clamp(64px, 8vw, 110px) auto 0;
  max-width: 1080px;
  position: relative;
}
.hero__shot::before {
  content: "";
  position: absolute;
  inset: -40px -10% 60%;
  background: radial-gradient(ellipse at top, var(--accent-glow), transparent 70%);
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.6;
}
.window--hero {
  transform: none !important;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow:
    0 0 0 1px var(--border),
    0 40px 80px rgba(0, 0, 0, 0.55),
    0 80px 160px -40px rgba(0, 0, 0, 0.8);
}

/* ─────────────────────── Trust line (slim) ─────────────────────── */

.trust {
  padding: 36px 0 12px;
  text-align: center;
}
.trust__inner {
  display: flex;
  justify-content: center;
}
.trust__proof {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 0 0 1px var(--border);
  transition: color 0.18s var(--easing), background 0.18s var(--easing);
}
.trust__proof:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}
.trust__mark {
  color: var(--accent);
  font-size: 13px;
}
.trust__sep {
  color: var(--text-dim);
  opacity: 0.5;
}
.trust__cli {
  color: var(--text-muted);
}
.trust__arrow {
  color: var(--accent);
  transition: transform 0.18s var(--easing);
}
.trust__proof:hover .trust__arrow {
  transform: translateX(2px);
}

/* ───────────────────────── Feature blocks ───────────────────────── */

.block {
  padding: clamp(96px, 14vw, 180px) 0;
  position: relative;
}
.block--b {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.014), transparent 70%);
  border-block: 1px solid var(--border-muted);
}

.block__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(48px, 8vw, 110px);
  align-items: center;
}
.block__grid--flip > .block__copy {
  order: 2;
}
.block__grid--flip > .block__art {
  order: 1;
}

.block__copy {
  max-width: 44ch;
}
.block__h2 {
  font-family: var(--font-word);
  font-weight: 600;
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 14px 0 22px;
}
.block__lede {
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 32px;
}
.block__pts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.block__pts li {
  padding-left: 22px;
  position: relative;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.55;
}
.block__pts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}
.block__pts strong {
  color: var(--text);
  font-weight: 600;
}

.block__art {
  position: relative;
  padding: 28px;
  border-radius: 14px;
  background:
    radial-gradient(ellipse at top, rgba(255, 255, 255, 0.04), transparent 65%),
    var(--surface-1);
  box-shadow:
    0 0 0 1px var(--border),
    0 30px 60px rgba(0, 0, 0, 0.45),
    0 60px 120px -40px rgba(0, 0, 0, 0.65);
}
.block__art::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 30%);
  pointer-events: none;
  -webkit-mask: linear-gradient(#000, transparent 30%);
  mask: linear-gradient(#000, transparent 30%);
}

/* — Snapshot art (block 1) — */
.snap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
}
.snap__head {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.snap__count {
  color: var(--accent);
}
.snap__node {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--border);
}
.snap__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--status-ok);
  box-shadow: 0 0 8px var(--status-ok);
  flex: none;
}
.snap__t {
  flex: 1;
  color: var(--text);
  font-weight: 500;
}
.snap__f {
  font-size: 11.5px;
  color: var(--text-dim);
}
.snap__node--bad {
  background: rgba(252, 165, 165, 0.05);
  box-shadow: inset 0 0 0 1px rgba(252, 165, 165, 0.25);
}
.snap__node--bad .snap__dot {
  background: var(--status-err);
  box-shadow: 0 0 8px var(--status-err);
}
.snap__node--bad .snap__t {
  color: var(--status-err);
  text-decoration: line-through;
  text-decoration-color: rgba(252, 165, 165, 0.5);
}
.snap__rev {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--accent);
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  transition: background 0.18s var(--easing);
}
.snap__rev:hover {
  background: rgba(255, 255, 255, 0.16);
}
.snap__node--new {
  animation: snapSlideIn 0.6s var(--easing) 0.4s both;
}
@keyframes snapSlideIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* — Panes art (block 2) — */
.panes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.pane {
  border-radius: 9px;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--border);
  overflow: hidden;
}
.pane__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--surface-3);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.pane__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: none;
}
.pane__dot.ok {
  background: var(--status-ok);
  box-shadow: 0 0 6px var(--status-ok);
}
.pane__dot.warn {
  background: var(--status-warn);
  box-shadow: 0 0 6px var(--status-warn);
}
.pane__name {
  flex: 1;
}
.pane__time {
  color: var(--text-dim);
  font-size: 11px;
}
.pane__lines {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}
.pane__l--mute {
  color: var(--text-dim);
  font-size: 11.5px;
  padding-left: 14px;
}
.pane--c {
  box-shadow: inset 0 0 0 1px rgba(252, 211, 77, 0.18);
}

/* — Engines card art (block 3) — */
.engines-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-sans);
}
.engines-card__h {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 4px;
}
.engines-card__c {
  color: var(--status-ok);
}
.engines-card__row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 9px;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--border);
  text-align: left;
  position: relative;
  transition: background 0.18s var(--easing);
}
.engines-card__row:hover {
  background: var(--surface-3);
}
.engines-card__row.is-on {
  background: var(--surface-3);
  box-shadow:
    inset 0 0 0 1px var(--border-strong),
    -3px 0 0 -1px var(--accent),
    0 0 30px -12px var(--accent-glow);
}
.engines-card__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  flex: 1;
}
.engines-card__row.is-on .engines-card__name {
  color: var(--accent);
}
.engines-card__hint {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-dim);
}
.engines-card__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 2s var(--easing) infinite;
}
.engines-card__f {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  padding: 14px 0 0;
}

/* ───────────────────────── Pricing v2 ───────────────────────── */

.section--pricing {
  padding: clamp(96px, 14vw, 180px) 0;
}
.section__h2 {
  font-family: var(--font-word);
  font-weight: 600;
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.section__head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  max-width: 760px;
  margin-bottom: 72px;
}
.section__head--center .kicker {
  justify-content: center;
}
.section__head--center .section__sub {
  margin-left: auto;
  margin-right: auto;
}

.tiers--clean {
  gap: 20px;
}
.tiers--clean .tier {
  padding: 40px 34px;
  border-radius: 12px;
  background:
    radial-gradient(ellipse at top, rgba(255, 255, 255, 0.015), transparent 60%),
    var(--surface-1);
}
.tiers--clean .tier__price {
  font-size: 52px;
  margin: 10px 0 6px;
}
.tiers--clean .tier__byline {
  margin: 0 0 28px;
}
.tiers--clean .tier li {
  padding-left: 26px;
}

.cloud-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: 2px;
}

/* ───────────────────────── Final CTA v2 ───────────────────────── */

.cta--big {
  padding: clamp(100px, 14vw, 180px) 0;
  border-top: 1px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta__h2 {
  font-family: var(--font-word);
  font-weight: 600;
  font-size: clamp(44px, 6.4vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: 26px;
}
.cta__sub {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
}
.cta__buttons {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}
.cta--big .cta__glow {
  bottom: -40%;
  width: 1200px;
  height: 900px;
  opacity: 0.7;
}

/* ───────────────────────── Footer (slim) ───────────────────────── */

.footer--slim {
  padding-top: 80px;
  border-top: 1px solid var(--border);
}
.footer--slim .footer__inner {
  padding-bottom: 60px;
  align-items: flex-start;
}
.footer--slim .footer__brand p {
  margin-top: 16px;
  max-width: 32ch;
}
.footer--slim .footer__cols {
  gap: 80px;
}
.footer--slim .footer__cols h4 {
  margin-bottom: 18px;
}
.footer--slim .footer__cols a {
  margin-bottom: 12px;
  font-size: 14.5px;
}

/* ───────────────────────── Responsive (v2) ───────────────────────── */

@media (max-width: 1100px) {
  .flows {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .flows {
    grid-template-columns: 1fr;
  }
  .faq-q summary {
    font-size: 16px;
    padding: 22px 0;
  }
}

@media (max-width: 940px) {
  .nav__links {
    gap: 0;
  }
  .hero--clean .hero__cta {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
    gap: 12px;
  }
  .hero--clean .btn--xl {
    width: 100%;
  }
  .hero--clean .btn--link {
    justify-content: center;
  }
  .block__grid,
  .block__grid--flip {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .block__grid--flip > .block__copy { order: 0; }
  .block__grid--flip > .block__art { order: 0; }
  .block__copy {
    max-width: none;
  }
  .footer--slim .footer__cols {
    gap: 36px;
  }
  .cta__buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .cta__buttons .btn--xl {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .hero__h1 {
    font-size: clamp(40px, 12vw, 60px);
  }
  .block__art {
    padding: 18px;
  }
  .trust__proof {
    font-size: 11.5px;
    padding: 9px 14px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .trust__cli {
    display: none;
  }
}

/* ╔══════════════════════════════════════════════════════════════════╗
   ║  App-shell mockup — verbatim of the real Forge window             ║
   ║  Grid: rail · toolbar  /  rail · body  /  rail · status           ║
   ╚══════════════════════════════════════════════════════════════════╝ */

.app-shot {
  display: grid;
  grid-template-columns: 42px 1fr;
  grid-template-rows: 40px minmax(440px, 1fr) 24px;
  grid-template-areas:
    "rail toolbar"
    "rail body"
    "rail status";
  border-radius: 11px;
  background: var(--bg-app);
  overflow: hidden;
  font-family: var(--font-sans);
  color: var(--text);
  /* Subtle inner highlight on top edge — matches macOS window look */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 0 1px var(--border),
    0 40px 80px rgba(0, 0, 0, 0.55),
    0 80px 160px -40px rgba(0, 0, 0, 0.8);
}

/* ── Rail (activity bar) ─────────────────────────────────────────── */

.as-rail {
  grid-area: rail;
  background: var(--bg-app);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0 0 10px;
}
.as-rail__logo {
  display: grid;
  place-items: center;
  width: 100%;
  padding: 10px 0 6px;
  flex-shrink: 0;
}
.as-rail__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 6px 6px 4px;
}
.as-rail__ws {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}
.as-rail__ws.is-active {
  color: var(--text);
  background: var(--surface-3);
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 0 12px var(--accent-glow);
}
.as-rail__btn {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: var(--text-dim);
  background: transparent;
  border: 1px solid transparent;
}
.as-rail__btn--add {
  border: 1px dashed rgba(255, 255, 255, 0.18);
  color: var(--text-muted);
}
.as-rail__btn.is-active {
  color: var(--accent);
  background: var(--surface-2);
  border-color: var(--border-strong);
}
.as-rail__divider {
  width: 22px;
  height: 1px;
  background: var(--border);
  margin: 4px 0;
}
.as-rail__spacer {
  flex: 1;
}

/* ── Toolbar (40px) ──────────────────────────────────────────────── */

.as-toolbar {
  grid-area: toolbar;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0)),
    var(--bg-app);
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 8px;
}
.as-tl {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex: none;
}
.as-tl--r { background: #ff5f56; }
.as-tl--y { background: #ffbd2e; }
.as-tl--g { background: #27c93f; }

.as-tabs {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 26px;
  padding: 2px;
  border: 1px solid var(--border-muted);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.018);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.035) inset,
    0 4px 12px rgba(0, 0, 0, 0.16);
}
.as-tab {
  height: 20px;
  min-width: 0;
  padding: 0 10px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.005em;
  color: var(--text-dim);
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.as-tab.is-active {
  color: var(--text);
  font-weight: 600;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  border-color: var(--border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.045) inset;
}
.as-tab--icon {
  width: 24px;
  min-width: 24px;
  padding: 0;
  color: var(--text-dim);
}

.as-toolbar__right {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.as-runpill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--accent);
  text-decoration: none;
}
.as-runpill__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
}
.as-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(140deg, #f4f4f5, var(--accent));
  color: #0a0a0a;
  font-size: 9.5px;
  font-weight: 700;
  display: grid;
  place-items: center;
  letter-spacing: 0.04em;
}

/* ── Body — three floating panels on a charcoal canvas ────────────
   Mirrors .main-workbench / .main-sidebar / .main-center / .main-rail
   from src/components/mainWorkbench.css verbatim:
   - 8px padding around the body
   - 8px gap between panels
   - sidebar + rail items are surface-1 cards with border + etched-inset
   - center is borderless, just sits on bg-app
*/
.as-body {
  grid-area: body;
  display: grid;
  grid-template-columns: 200px 1fr 218px;
  gap: 8px;
  padding: 8px;
  background: var(--bg-app);
  min-height: 0;
}

/* A reusable etched-pane card — same recipe as .main-sidebar / .main-rail__item */
.as-pane {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--etch-inset);
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

/* Pane head (used by rail item cards) */
.as-pane__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border-muted);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: var(--text);
}
.as-pane__chev {
  color: var(--text-dim);
  font-size: 9px;
}
.as-pane__body {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
}
.as-pane__body--compact {
  padding: 8px 10px 10px;
  gap: 5px;
}
.as-pane__foot {
  border-top: 1px solid var(--border-muted);
  padding: 6px 10px;
  display: flex;
  align-items: center;
  font-size: 11px;
  color: var(--text-muted);
}
.as-cost {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
}

/* ── Left sidebar pane ──────────────────────────────────────────── */
.as-pane--sidebar {
  /* nothing extra; uses .as-pane recipe */
}
/* The modes pill — three small icon buttons across the top */
.as-modes {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 3px;
  padding: 5px;
  border-bottom: 1px solid var(--border-muted);
}
.as-mode {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  border-radius: 5px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-dim);
}
.as-mode:hover {
  color: var(--text);
  background: var(--surface-2);
}
.as-mode.is-active {
  color: var(--text);
  background: var(--surface-3);
  border-color: var(--border-strong);
  box-shadow: var(--etch-inset);
}
.as-mode.is-active svg {
  color: var(--accent);
}

/* New session CTA — split button (matches .main-sidebar__cta) */
.as-newcta {
  display: grid;
  grid-template-columns: 1fr 26px;
  align-items: center;
  height: 28px;
  margin-bottom: 6px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0)),
    var(--btn-secondary-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 -1px 0 rgba(0, 0, 0, 0.45) inset,
    0 3px 8px rgba(0, 0, 0, 0.3);
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
}
.as-newcta > span:first-child {
  padding-left: 11px;
  border-right: 1px solid var(--border-muted);
  line-height: 28px;
}
.as-newcta__chev {
  text-align: center;
  color: var(--text-muted);
  font-size: 9px;
}

/* Section headers inside sidebar body */
.as-sec-h {
  font-family: var(--font-sans);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 8px 8px 4px;
}

/* Session row */
.as-sess {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 8px;
  border-radius: 5px;
  font-size: 11.5px;
  color: var(--text-muted);
}
.as-sess.is-active {
  background: var(--surface-2);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--border-muted);
}
.as-sess__name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.as-sess__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}
.as-sess__dot.ok {
  background: var(--status-ok);
  box-shadow: 0 0 5px var(--status-ok);
}
.as-sess__dot.run {
  background: var(--accent);
  box-shadow: 0 0 5px var(--accent);
  animation: as-pulse 1.4s ease-in-out infinite;
}
@keyframes as-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

/* Engine marks */
.as-mark {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  flex: none;
  display: inline-block;
}
.as-mark--claude {
  background: linear-gradient(140deg, #d97757, #b85d3e);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.as-mark--codex {
  background: linear-gradient(140deg, #1a1a1a, #2c2c2c);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}
.as-mark--forge {
  background: linear-gradient(140deg, #f4f4f5, var(--accent));
  box-shadow: 0 0 6px var(--accent-glow);
}

/* Recents */
.as-rec {
  font-size: 11.5px;
  color: var(--text-muted);
  padding: 4px 8px;
  border-radius: 5px;
}
.as-rec:hover {
  background: var(--surface-2);
}

/* Files tree */
.as-tree {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding-top: 2px;
}
.as-row {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 4px;
}
.as-row--in { padding-left: 22px; }
.as-fold { color: var(--text-dim); }
.as-row.is-edit {
  background: var(--accent-soft);
  color: var(--accent);
}
.as-lock {
  margin-left: auto;
  color: var(--status-warn);
  font-size: 10px;
}

/* ── Center canvas — 2×2 grid of agent windows (mirrors .agent-panel.layout-4) ── */

.as-canvas {
  min-width: 0;
  min-height: 0;
  background: var(--bg-app);
  border-radius: 8px;
  overflow: hidden;
}
.as-grid {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
}

/* A floating window on the canvas (mirrors .canvas-window) */
.as-win {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}
.as-win__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 28px;
  flex: none;
  padding: 0 8px 0 10px;
  border-bottom: 1px solid var(--border-muted);
  background: linear-gradient(to bottom, var(--hilight-overlay), transparent);
}
.as-win__title {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  font-weight: 500;
}
.as-win__model {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--text-dim);
  padding: 1px 6px;
  border: 1px solid var(--border-muted);
  border-radius: 999px;
}
.as-win__spacer { flex: 1; }
.as-win__clock {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--text-dim);
}
.as-win__x {
  color: var(--text-dim);
  font-size: 10px;
  opacity: 0.7;
}

/* Terminal body — mono, streamed agent output */
.as-term {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.65;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.as-term__say {
  color: var(--text);
  margin: 0 0 6px;
  line-height: 1.5;
}
.as-term__user {
  color: var(--accent);
  margin: 0 0 6px;
}
.as-term__tool {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text);
}
.as-term__arg { color: var(--text-dim); }
.as-term__sub {
  padding-left: 14px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 6px;
}
.as-term__sub.ok { color: var(--status-ok); }

/* Engine bullet markers */
.as-b { display: inline-block; width: 12px; }
.as-b--claude { color: #d97757; }
.as-b--codex { color: var(--text); }
.as-b--forge { color: var(--accent); }

/* Thinking line — pinned to bottom, animated dots */
.as-term__think {
  margin: 6px 0 0;
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text);
}
.as-term__hint {
  font-size: 9.5px;
  color: var(--text-dim);
}
.as-glint {
  color: var(--accent);
  animation: as-glint 1.4s ease-in-out infinite;
}
@keyframes as-glint {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}
.as-dots::after {
  content: "";
  animation: as-dots 1.4s steps(4, end) infinite;
}
@keyframes as-dots {
  0% { content: ""; }
  25% { content: "."; }
  50% { content: ".."; }
  75% { content: "..."; }
}

/* Spinner — reused by terminal "running…" rows */
.as-spin {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  border-top-color: var(--accent);
  animation: spin 0.9s linear infinite;
  flex: none;
}

/* ── Right rail (stack of cards) ────────────────────────────────── */

.as-rail-r {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: transparent;
  min-height: 0;
  overflow: hidden;
}
.as-rail-r__toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px 0;
  height: 24px;
}
.as-rail-r__title {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.as-rail-r__count {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
}
.as-rail-r__add {
  margin-left: auto;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 5px;
  color: var(--text-dim);
  font-size: 12px;
  line-height: 1;
}

/* Rail item content */
.as-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 9px;
  border-radius: 5px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-muted);
}
.as-chip__ico {
  font-size: 9px;
  opacity: 0.6;
}
.as-recap {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
  padding: 2px;
}
.as-action {
  text-align: left;
  font-family: var(--font-sans);
  font-size: 11.5px;
  color: var(--text);
  padding: 7px 10px;
  border-radius: 5px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.as-action:hover {
  background: var(--surface-3);
  border-color: var(--border-strong);
}

/* ── Status bar (22px) ───────────────────────────────────────────── */

.as-status {
  grid-area: status;
  background: var(--bg-app);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 14px;
  font-size: 10.5px;
  color: var(--text-muted);
}
.as-status__cell {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.as-status__sub-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--status-ok);
  box-shadow: 0 0 6px rgba(134, 239, 172, 0.4);
}
.as-status__sep {
  width: 1px;
  height: 11px;
  background: var(--border);
}
.as-status__cell--right {
  margin-left: auto;
  color: var(--accent);
  font-family: var(--font-mono);
}

/* Hide the right rail on narrower viewports, then the left sidebar too */
@media (max-width: 1100px) {
  .as-body {
    grid-template-columns: 200px 1fr;
  }
  .as-rail-r {
    display: none;
  }
}
@media (max-width: 760px) {
  .app-shot {
    grid-template-columns: 38px 1fr;
    grid-template-rows: 38px minmax(380px, 1fr) 22px;
  }
  .as-body {
    grid-template-columns: 1fr;
  }
  .as-pane--sidebar {
    display: none;
  }
  .as-tabs .as-tab:nth-child(3),
  .as-tabs .as-tab:nth-child(4) {
    display: none;
  }
}

/* ─────────────────── Current Forge screenshot mockup ─────────────────── */

body[data-page="home"] .app-stage .container {
  max-width: var(--maxw);
}

body[data-page="home"] .app-stage .app-shot {
  --bg-app: #0a0a0a;
  --surface-1: #141414;
  --surface-2: #1c1c1c;
  --surface-3: #262626;
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.2);
  --border-muted: rgba(255, 255, 255, 0.07);
  --text: #fafafa;
  --text-muted: #d4d4d4;
  --text-dim: #a0a0a0;
  --accent: #b8d0ff;
  --accent-soft: rgba(184, 208, 255, 0.1);
  --accent-glow: rgba(184, 208, 255, 0.2);
  --accent-button: #f4f4f5;
  --accent-contrast: #0a0a0a;
  --status-ok: #86efac;
  --status-warn: #fcd34d;
  --status-err: #fca5a5;
  --btn-secondary-bg: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
  --btn-secondary-hover: linear-gradient(180deg, #222222 0%, #131313 100%);
  --etch-inset:
    0 1px 0 rgba(255, 255, 255, 0.03) inset,
    0 2px 4px rgba(0, 0, 0, 0.3) inset;
  --main-pane-radius: 8px;
  --main-control-radius: 5px;
  --radius-card: 6px;
  --radius-pill: 999px;
  --easing: cubic-bezier(0.2, 0.8, 0.2, 1);

  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 40px minmax(0, 1fr);
  grid-template-areas: none;
  aspect-ratio: 2048 / 1332;
  max-width: 100%;
  min-height: 0;
  margin: 0 auto;
  background: var(--bg-app);
  color: var(--text);
  font-family: "Geist", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.35;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 30px 60px rgba(0, 0, 0, 0.5),
    0 80px 140px -40px rgba(0, 0, 0, 0.7);
}

body[data-page="home"] .shot-toolbar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 0 12px;
  border-bottom: 1px solid var(--border-muted);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0)),
    var(--bg-app);
}

body[data-page="home"] .shot-tabs {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 1px;
  height: 28px;
  padding: 2px;
  border: 1px solid var(--border-muted);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.018);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.035) inset,
    0 4px 12px rgba(0, 0, 0, 0.16);
}

body[data-page="home"] .shot-tab,
body[data-page="home"] .shot-search {
  height: 22px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--text-dim);
}

body[data-page="home"] .shot-tab {
  min-width: 58px;
  padding: 0 11px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.005em;
}

body[data-page="home"] .shot-tab.is-active {
  color: var(--text);
  font-weight: 600;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  border-color: var(--border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.045) inset;
}

body[data-page="home"] .shot-search {
  width: 26px;
  display: inline-grid;
  place-items: center;
}

body[data-page="home"] .shot-toolbar__right {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: var(--text-muted);
}

body[data-page="home"] .shot-avatar {
  width: 25px;
  height: 25px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-size: 10px;
  font-weight: 700;
  margin-right: 7px;
}

body[data-page="home"] .shot-profile {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

body[data-page="home"] .shot-traffic {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

body[data-page="home"] .shot-tl {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.25);
}
body[data-page="home"] .shot-tl--r { background: #ff5f56; }
body[data-page="home"] .shot-tl--y { background: #ffbd2e; }
body[data-page="home"] .shot-tl--g { background: #27c93f; }

body[data-page="home"] .shot-tools {
  position: relative;
  flex: none;
}

body[data-page="home"] .shot-tools__trigger {
  height: 24px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 9px;
  border: 1px solid var(--border-muted);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.018);
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}

body[data-page="home"] .shot-tools:hover .shot-tools__trigger,
body[data-page="home"] .shot-tools:focus-within .shot-tools__trigger {
  color: var(--text);
  border-color: var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
}

body[data-page="home"] .shot-tools__chev {
  transition: transform 0.15s ease;
}
body[data-page="home"] .shot-tools:hover .shot-tools__chev,
body[data-page="home"] .shot-tools:focus-within .shot-tools__chev {
  transform: rotate(180deg);
}

body[data-page="home"] .shot-tools__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 168px;
  padding: 5px;
  display: grid;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-2);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 14px 34px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  z-index: 6;
}

body[data-page="home"] .shot-tools:hover .shot-tools__menu,
body[data-page="home"] .shot-tools:focus-within .shot-tools__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

body[data-page="home"] .shot-tools__item {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  height: 30px;
  padding: 0 9px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

body[data-page="home"] .shot-tools__item svg {
  color: var(--text-dim);
  flex: none;
}

body[data-page="home"] .shot-tools__item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}
body[data-page="home"] .shot-tools__item:hover svg {
  color: var(--text);
}

body[data-page="home"] .shot-workbench {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 8px;
  min-height: 0;
  padding: 8px;
  background: var(--bg-app);
}

body[data-page="home"] .shot-sidebar {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.03) inset,
    0 2px 4px rgba(0, 0, 0, 0.3) inset;
}

body[data-page="home"] .shot-side-section {
  padding: 18px 14px 12px;
}

body[data-page="home"] .shot-side-section + .shot-side-section {
  border-top: 1px solid var(--border-muted);
  padding-top: 16px;
}

body[data-page="home"] .shot-side-section--sessions {
  min-height: 0;
  overflow: hidden;
  flex: 1;
}

body[data-page="home"] .shot-side-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 5px 11px;
}

body[data-page="home"] .shot-side-title {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-dim);
}

body[data-page="home"] .shot-side-count {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
}

body[data-page="home"] .shot-new {
  margin-left: auto;
  height: 26px;
  min-width: 62px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--surface-1);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 650;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 3px 8px rgba(0, 0, 0, 0.18);
}

body[data-page="home"] .shot-project {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 7px 30px 7px 10px;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--text);
}

body[data-page="home"] .shot-project.is-active {
  background: var(--surface-2);
  border-color: var(--border);
}

body[data-page="home"] .shot-project__name {
  font-size: 12.75px;
  font-weight: 650;
  line-height: 1.15;
}

body[data-page="home"] .shot-project__path {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.2;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body[data-page="home"] .shot-copy {
  position: absolute;
  right: 12px;
  bottom: 11px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  opacity: 0.7;
}

body[data-page="home"] .shot-copy::before {
  content: "";
  position: absolute;
  right: 3px;
  bottom: 3px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  background: var(--surface-1);
}

body[data-page="home"] .shot-session-group {
  margin-top: 2px;
}

body[data-page="home"] .shot-group-head {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  align-items: center;
  gap: 6px;
  padding: 5px 6px;
  color: var(--text);
}

body[data-page="home"] .shot-group-head b {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body[data-page="home"] .shot-group-head em {
  min-width: 21px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 10px;
  font-style: normal;
  color: var(--text-dim);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
}

body[data-page="home"] .shot-group-head.is-collapsed {
  color: var(--text-muted);
}

body[data-page="home"] .shot-session-list {
  margin: 3px 0 7px 13px;
  padding-left: 12px;
  border-left: 1px solid var(--border-muted);
}

body[data-page="home"] .shot-session-list--tail {
  max-height: 168px;
  overflow: hidden;
}

body[data-page="home"] .shot-session {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  padding: 3px 8px;
  color: var(--text-muted);
  font-size: 12.5px;
  line-height: 1;
}

body[data-page="home"] .shot-session.is-active {
  color: var(--text);
  background: var(--surface-2);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.7);
}

body[data-page="home"] .shot-session__label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-page="home"] .shot-engine {
  width: 14px;
  height: 14px;
  display: inline-grid;
  place-items: center;
  flex: none;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

body[data-page="home"] .shot-engine--claude {
  background-image: url("claude-code.svg");
}

body[data-page="home"] .shot-engine--codex {
  background-image: url("codex.svg");
}

body[data-page="home"] .shot-engine--forge {
  background-image: url("forge-app-logo.png");
}

body[data-page="home"] .shot-cli {
  display: inline-flex;
  align-items: center;
  height: 14px;
  padding: 0 5px;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: var(--surface-2);
  color: var(--text-dim);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

body[data-page="home"] .shot-quick {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 8px 14px;
  border-top: 1px solid var(--border-muted);
}

body[data-page="home"] .shot-quick button {
  min-width: 0;
  height: 31px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--surface-2);
  color: var(--text);
  font-size: 11.5px;
  font-weight: 500;
}

body[data-page="home"] .shot-files {
  flex-shrink: 0;
  height: 34px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 18px;
  border-top: 1px solid var(--border-muted);
  background: transparent;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body[data-page="home"] .shot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  gap: 6px;
  min-width: 0;
  min-height: 0;
}

body[data-page="home"] .shot-pane {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: var(--bg-app);
  border: 1px solid var(--border);
  border-radius: var(--main-pane-radius);
}

body[data-page="home"] .shot-pane.is-focused {
  border-color: #fff;
  box-shadow:
    inset 0 0 0 1px #fff,
    0 0 0 1px rgba(255, 255, 255, 0.2);
}

body[data-page="home"] .shot-pane-controls {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  display: inline-flex;
  gap: 4px;
}

body[data-page="home"] .shot-mini {
  position: relative;
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--surface-3);
  color: var(--text-muted);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 120ms var(--easing), background 120ms var(--easing), color 120ms var(--easing), border-color 120ms var(--easing);
}

body[data-page="home"] .shot-pane:hover .shot-mini,
body[data-page="home"] .shot-pane.is-focused .shot-mini {
  opacity: 1;
  pointer-events: auto;
}

body[data-page="home"] .shot-mini:hover {
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08)), var(--surface-3);
  border-color: var(--border-strong);
  color: var(--text);
}

body[data-page="home"] .shot-mini svg {
  display: block;
}

body[data-page="home"] .shot-mini--coffee:empty::before {
  content: "";
  width: 12px;
  height: 8px;
  border: 1.5px solid currentColor;
  border-top: 0;
  border-radius: 0 0 4px 4px;
  transform: translate(-1px, 2px);
}

body[data-page="home"] .shot-mini--coffee:empty::after {
  content: "";
  position: absolute;
  right: 5px;
  top: 11px;
  width: 4px;
  height: 5px;
  border: 1.5px solid currentColor;
  border-left: 0;
  border-radius: 0 5px 5px 0;
}

body[data-page="home"] .shot-mini--grip:empty::before {
  content: "";
  width: 11px;
  height: 15px;
  background:
    radial-gradient(circle, currentColor 1.1px, transparent 1.45px) 0 0 / 5px 5px repeat-y,
    radial-gradient(circle, currentColor 1.1px, transparent 1.45px) 6px 0 / 5px 5px repeat-y;
  opacity: 0.75;
}

body[data-page="home"] .shot-mini--close:empty::before,
body[data-page="home"] .shot-mini--close:empty::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
}

body[data-page="home"] .shot-mini--close:empty::before {
  transform: rotate(45deg);
}

body[data-page="home"] .shot-mini--close:empty::after {
  transform: rotate(-45deg);
}

body[data-page="home"] .shot-cli-session {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  height: 100%;
  padding: 6px 10px 10px;
  background: var(--surface-1);
}

body[data-page="home"] .shot-term {
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  padding: 10px 14px 8px;
  overflow: hidden;
  white-space: pre-wrap;
  color: var(--text-muted);
  font-family: "Geist Mono", ui-monospace, Menlo, monospace;
  font-size: 13px;
  line-height: 1.42;
  background: transparent;
}

body[data-page="home"] .shot-term b {
  color: var(--text);
  font-weight: 700;
}

body[data-page="home"] .shot-term--code {
  padding-top: 14px;
}

body[data-page="home"] .shot-term--codex {
  padding-top: 18px;
  font-size: 12.5px;
  line-height: 1.45;
}

body[data-page="home"] .shot-cli-input {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  background: transparent;
  font-family: "Geist Mono", ui-monospace, Menlo, monospace;
  font-size: 12.5px;
  color: var(--text-muted);
}

body[data-page="home"] .shot-cli-input__rule {
  display: block;
  height: 1px;
  background: var(--text-dim);
  opacity: 0.7;
}

body[data-page="home"] .shot-cli-input__prompt {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
  line-height: 1.35;
}

body[data-page="home"] .shot-cli-input__chev {
  color: var(--text);
  font-weight: 700;
}

body[data-page="home"] .shot-cli-input__status {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.35;
}

body[data-page="home"] .shot-cli-input__perm {
  color: #ff8cc5;
  font-weight: 650;
}

body[data-page="home"] .shot-cli-input__hint,
body[data-page="home"] .shot-cli-input__agents {
  color: var(--text-dim);
}

body[data-page="home"] .shot-codex-input {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: "Geist Mono", ui-monospace, Menlo, monospace;
  font-size: 12px;
}

body[data-page="home"] .shot-codex-input__field {
  display: block;
  min-width: 0;
  padding: 8px 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: #343434;
  color: var(--text-dim);
  line-height: 1.35;
}

body[data-page="home"] .shot-codex-input__chev {
  color: var(--text);
  font-weight: 700;
}

body[data-page="home"] .shot-codex-input__status {
  display: block;
  padding-left: 10px;
  color: #f5df9e;
  line-height: 1.35;
}

body[data-page="home"] .shot-red {
  display: block;
  margin: -4px 48px 0 36px;
  padding-left: 8px;
  color: #f1b1aa;
  background: rgba(154, 31, 25, 0.72);
}

body[data-page="home"] .shot-green { color: #a7e98a; }
body[data-page="home"] .shot-blue { color: #9ec5ff; }
body[data-page="home"] .shot-cyan { color: #2bbec4; }
body[data-page="home"] .shot-dim { color: var(--text-dim); }

body[data-page="home"] .shot-input {
  display: inline-block;
  min-width: min(520px, 82%);
  padding: 8px 10px;
  background: #343434;
  color: var(--text-dim);
}

body[data-page="home"] .shot-forge {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  min-height: 0;
  background: transparent;
  color: var(--text);
  font-family: "Geist", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

body[data-page="home"] .shot-forge__scroll {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 24px max(24px, calc((100% - 860px) / 2)) 6px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

body[data-page="home"] .shot-forge__turn {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

body[data-page="home"] .shot-forge__turn--user {
  align-items: flex-end;
}

body[data-page="home"] .shot-forge__bubble {
  max-width: 84%;
  width: fit-content;
  background: var(--surface-2);
  color: var(--text);
  padding: 9px 12px;
  border-radius: 12px 12px 4px 12px;
  font-size: 13px;
  line-height: 1.5;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 -1px 0 rgba(0, 0, 0, 0.2) inset;
}

body[data-page="home"] .shot-forge__bubble--ai {
  max-width: 100%;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text);
}

body[data-page="home"] .shot-forge__meta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}

body[data-page="home"] .shot-forge__streaming {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  animation: forge-ai-pulse 900ms ease-in-out infinite;
}

body[data-page="home"] .shot-forge__model-label {
  color: var(--text-muted);
}

body[data-page="home"] .shot-forge__router-reason {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 400;
  color: var(--text-dim);
}

@keyframes forge-ai-pulse {
  0%, 100% { opacity: 0.35; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1); }
}

body[data-page="home"] .shot-forge__tools {
  list-style: none;
  margin: 2px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

body[data-page="home"] .shot-forge__tool {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  max-width: 100%;
  padding: 5px 9px;
  background: var(--surface-1);
  border: 1px solid var(--border-muted);
  border-radius: 6px;
  color: var(--text-muted);
  font-family: "Geist Mono", ui-monospace, Menlo, monospace;
  font-size: 11.5px;
  line-height: 1;
}

body[data-page="home"] .shot-forge__tool-name {
  flex: 0 0 auto;
  color: var(--text);
  font-weight: 600;
}

body[data-page="home"] .shot-forge__tool-detail {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-dim);
  font-size: 11px;
}

body[data-page="home"] .shot-forge__tool-status {
  color: var(--text-dim);
  font-size: 11px;
}

body[data-page="home"] .shot-forge__tool--ok .shot-forge__tool-status {
  color: var(--status-ok);
}

body[data-page="home"] .shot-forge__rollup {
  margin-top: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface-1);
  overflow: hidden;
}

body[data-page="home"] .shot-forge__rollup-hd,
body[data-page="home"] .shot-forge__rollup-row {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text-muted);
  font-size: 12px;
}

body[data-page="home"] .shot-forge__rollup-hd {
  padding: 9px 12px;
}

body[data-page="home"] .shot-forge__rollup-tot {
  margin-left: auto;
  display: flex;
  gap: 8px;
  color: var(--text-dim);
  font-family: "Geist Mono", ui-monospace, Menlo, monospace;
  font-size: 11px;
}

body[data-page="home"] .shot-forge__rollup-row {
  padding: 7px 12px;
  border-top: 1px solid var(--border-muted);
}

body[data-page="home"] .shot-forge__rollup-badge {
  width: 16px;
  padding: 2px 0;
  text-align: center;
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 9px;
  font-weight: 700;
}

body[data-page="home"] .shot-forge__rollup-path {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: "Geist Mono", ui-monospace, Menlo, monospace;
  font-size: 11px;
}

body[data-page="home"] .shot-forge__rollup-delta {
  display: flex;
  gap: 7px;
  font-family: "Geist Mono", ui-monospace, Menlo, monospace;
  font-size: 11px;
}

body[data-page="home"] .fa-add { color: var(--status-ok); }
body[data-page="home"] .fa-del { color: var(--status-err); }

body[data-page="home"] .shot-forge__stats {
  display: flex;
  gap: 14px;
  margin-top: 8px;
  color: var(--text-dim);
  font-family: "Geist Mono", ui-monospace, Menlo, monospace;
  font-size: 11px;
}

body[data-page="home"] .shot-forge__compose {
  flex-shrink: 0;
  padding: 6px 8px 8px;
  background: transparent;
  border-top: 0;
}

body[data-page="home"] .shot-forge__compose-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 6px 6px 6px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-2);
  box-shadow:
    var(--etch-inset),
    0 6px 18px rgba(0, 0, 0, 0.25);
}

body[data-page="home"] .shot-forge__compose-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 8px;
}

body[data-page="home"] .shot-forge__textarea {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 3px 0;
  color: var(--text);
  font-size: 13.5px;
  line-height: 1.5;
}

body[data-page="home"] .shot-forge__send {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--text);
  border-radius: 999px;
  background: var(--text);
  color: var(--bg-app);
}

body[data-page="home"] .shot-forge__compose-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 0;
  padding: 8px 0 0;
  border-top: 0;
}

body[data-page="home"] .shot-forge__model-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 500;
}

body[data-page="home"] .shot-forge__model-trigger.is-active {
  background: rgba(255, 159, 64, 0.14);
  border-color: rgba(255, 159, 64, 0.45);
  color: #ffb070;
}

body[data-page="home"] .shot-forge__model-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

@media (max-width: 1100px) {
  body[data-page="home"] .app-stage .app-shot {
    aspect-ratio: 16 / 11;
  }

  body[data-page="home"] .shot-workbench {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  body[data-page="home"] .shot-term {
    font-size: 11px;
    padding: 14px 16px;
  }
}

@media (max-width: 760px) {
  body[data-page="home"] .app-stage .app-shot {
    grid-template-columns: 1fr;
    grid-template-rows: 40px minmax(0, 1fr);
    aspect-ratio: 4 / 5;
    min-height: 560px;
  }

  body[data-page="home"] .shot-tab:nth-child(3),
  body[data-page="home"] .shot-search,
  body[data-page="home"] .shot-toolbar__right,
  body[data-page="home"] .shot-profile {
    display: none;
  }

  body[data-page="home"] .shot-tabs {
    left: 50%;
  }

  body[data-page="home"] .shot-tab {
    min-width: 48px;
    padding: 0 8px;
  }

  body[data-page="home"] .shot-workbench {
    grid-template-columns: 1fr;
    padding: 6px;
  }

  body[data-page="home"] .shot-sidebar {
    display: none;
  }

  body[data-page="home"] .shot-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, minmax(0, 1fr));
  }

  body[data-page="home"] .shot-term {
    font-size: 10px;
    line-height: 1.35;
  }
}

/* ─────────── Animated shader layers (mockup border + glass panel) ─────────── */

/* App mockup: thick animated glass border ring */
body[data-page="home"] .app-stage .app-frame {
  position: relative;
  padding: 3px;
  max-width: none;
  margin: 0 auto;
  border-radius: 15px;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.55),
    0 80px 160px -40px rgba(0, 0, 0, 0.8);
}
body[data-page="home"] .app-stage .app-frame__shader {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  border-radius: 15px;
  pointer-events: none;
}
/* Mockup sits on top of the canvas, inset by the frame padding, so only the
   ring shows. It carries no drop shadow here — the frame does. */
body[data-page="home"] .app-stage .app-frame .app-shot {
  position: relative;
  z-index: 1;
  max-width: none;
  margin: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 0 1px var(--line);
}

/* ─────────────────────── App frame (shader border) ─────────────────────── */

.app-frame {
  position: relative;
  border-radius: 14px;
}
.app-frame__shader {
  position: absolute;
  inset: -3px;
  width: calc(100% + 6px);
  height: calc(100% + 6px);
  border-radius: 15px;
  pointer-events: none;
  z-index: 2;
}

/* ─────────────────────── Feature blocks (alternating) ─────────────────────── */

.feats {
  padding: clamp(80px, 11vw, 140px) 0;
  display: flex;
  flex-direction: column;
  gap: clamp(80px, 12vw, 160px);
}

.feat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.feat--flip .feat__visual { order: -1; }

.feat__kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.feat__kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.feat__text h2 {
  font-family: var(--font-word);
  font-weight: 600;
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.feat__desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 48ch;
}

.feat-frame {
  position: relative;
  border-radius: 12px;
}

.feat-frame__shader {
  position: absolute;
  inset: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  border-radius: 13px;
  pointer-events: none;
  z-index: 2;
  opacity: 0.6;
}

.feat__visual {
  border-radius: 11px;
  background: var(--surface-1);
  box-shadow:
    0 0 0 1px var(--border),
    var(--shadow-float);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.feat__placeholder {
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background-image: radial-gradient(rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 22px 22px;
}

@media (max-width: 860px) {
  .feat {
    grid-template-columns: 1fr;
    gap: clamp(28px, 5vw, 48px);
  }
  .feat--flip .feat__visual { order: 0; }
}

/* ─────────────────────── Minor features ─────────────────────── */

.minor-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.minor-card {
  padding: 30px 28px;
  border-radius: var(--radius-card);
  background: var(--surface-1);
  box-shadow: 0 0 0 1px var(--border);
  transition:
    background 0.22s var(--easing),
    box-shadow 0.22s var(--easing);
}

.minor-card:hover {
  background: var(--surface-2);
  box-shadow: 0 0 0 1px var(--border-strong), 0 0 24px -10px var(--accent-glow);
}

.minor-card__kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.minor-card h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}

.minor-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

@media (max-width: 640px) {
  .minor-cards { grid-template-columns: 1fr; }
}

/* ─────────────────────── Why Forge ─────────────────────── */

.why__punch {
  margin-top: 24px;
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  max-width: 52ch;
  border-left: 2px solid var(--accent);
  padding-left: 18px;
  line-height: 1.55;
}
.why__punch em {
  color: var(--accent);
  font-style: normal;
}

/* ─────────────────────── Pricing banner ─────────────────────── */

.pricing-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding: clamp(36px, 4vw, 52px) clamp(32px, 4vw, 52px);
  border-radius: var(--radius-panel);
  background: var(--surface-1);
  box-shadow:
    0 0 0 1px var(--border-strong),
    var(--shadow-float),
    0 0 60px -24px var(--accent-glow);
}

.pricing-banner__price {
  font-family: var(--font-word);
  font-size: clamp(56px, 8vw, 88px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
  margin-bottom: 12px;
}

.pricing-banner__sub {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 50ch;
  line-height: 1.65;
}

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

.pricing-banner__coming {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}

.pricing-banner__coming::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1.5px solid var(--text-dim);
  flex: none;
}

.pricing-banner__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  flex: none;
}

.pricing-banner__meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-dim);
}

@media (max-width: 720px) {
  .pricing-banner {
    grid-template-columns: 1fr;
  }
}

/* ─────────────────────── Unified background (home page) ─────────────────────── */

body[data-page="home"] .section--alt {
  background: transparent;
  border-block: 1px solid var(--line);
}

body[data-page="home"] .footer {
  background: transparent;
  border-top: 1px solid var(--line);
}

/* ─────────────────────── Feature tabs ─────────────────────── */

.feat-tabs {
  padding: clamp(80px, 11vw, 140px) 0;
}

.feat-tabs__nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius-panel);
  overflow: hidden;
  margin-bottom: clamp(40px, 5vw, 60px);
}

.feat-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 20px 22px 24px;
  text-align: left;
  background: transparent;
  border-right: 1px solid var(--border);
  overflow: hidden;
  transition: background 0.2s var(--easing);
}
.feat-tab:last-child { border-right: none; }
.feat-tab:hover { background: rgba(255,255,255,0.02); }
.feat-tab.is-active { background: var(--surface-1); }

.feat-tab__kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.2s var(--easing);
}
.feat-tab.is-active .feat-tab__kicker { color: var(--accent); }

.feat-tab__title {
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text-muted);
  line-height: 1.3;
  transition: color 0.2s var(--easing);
}
.feat-tab.is-active .feat-tab__title { color: var(--text); }

.feat-tab__bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--accent);
}
.feat-tab.is-active .feat-tab__bar {
  animation: tab-fill 4s linear forwards;
}
@keyframes tab-fill {
  from { width: 0; }
  to   { width: 100%; }
}

/* Panels — stacked in one grid cell, opacity-faded */
.feat-tabs__panels {
  display: grid;
}

.feat-panel {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--easing);
}
.feat-panel.is-active {
  opacity: 1;
  pointer-events: auto;
}

.feat-panel__text h2 {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.feat-panel__text p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 44ch;
}

/* Visual: solid black inside, shader border outside */
.feat-panel .feat-frame {
  border-radius: 12px;
}
.feat-panel .feat__visual {
  aspect-ratio: 16 / 10;
  min-height: 0;
  background: #0a0a0a;
  border-radius: 11px;
  box-shadow: 0 0 0 1px var(--border), var(--shadow-float);
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.feat-panel .feat__placeholder {
  min-height: 0;
  height: 100%;
  background: #0a0a0a;
  background-image: none;
}

@media (max-width: 860px) {
  .feat-tabs__nav {
    grid-template-columns: repeat(2, 1fr);
  }
  .feat-tab:nth-child(2) { border-right: none; }
  .feat-tab:nth-child(3) {
    border-right: 1px solid var(--border);
    border-top: 1px solid var(--border);
  }
  .feat-tab:nth-child(4) {
    border-right: none;
    border-top: 1px solid var(--border);
  }
  .feat-panel {
    grid-template-columns: 1fr;
    gap: clamp(24px, 4vw, 40px);
  }
}
@media (max-width: 480px) {
  .feat-tab { padding: 16px 16px 20px; }
  .feat-tab__title { display: none; }
}

/* ─────────────────────── Features Bento ─────────────────────── */

.features-bento {
  padding: clamp(80px, 11vw, 140px) 0;
}

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

.bento-card {
  padding: 28px;
  border-radius: 12px;
  background: var(--surface-1);
  box-shadow: 0 0 0 1px var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.22s var(--easing), box-shadow 0.22s var(--easing);
}

.bento-card:hover {
  background: var(--surface-2);
  box-shadow: 0 0 0 1px var(--border-strong), 0 0 28px -10px var(--accent-glow);
}

.bento-card--major {
  grid-column: span 2;
}

.bento-card__kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}

.bento-card__h {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.2;
  color: var(--text);
  margin: 0;
}

.bento-card--major .bento-card__h {
  font-size: clamp(20px, 2vw, 26px);
}

.bento-card__p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

.bento-card__visual {
  flex: 1;
  min-height: 160px;
  margin-top: 6px;
  border-radius: 8px;
  background: var(--bg-app);
  box-shadow: inset 0 0 0 1px var(--border-muted);
}

@media (max-width: 900px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-card--major {
    grid-column: span 2;
  }
}

@media (max-width: 560px) {
  .bento {
    grid-template-columns: 1fr;
  }
  .bento-card--major {
    grid-column: span 1;
  }
}

/* ╔══════════════════════════════════════════════════════════════════╗
   ║                                                                  ║
   ║   v7 — Premium Redesign Override                                 ║
   ║                                                                  ║
   ║   Inspired by linear.app, paper.design, blacksmith.sh            ║
   ║   Dramatically improved spacing, typography, and visual polish.  ║
   ║   All rules scoped to body[data-page="home"].                    ║
   ║                                                                  ║
   ╚══════════════════════════════════════════════════════════════════╝ */

/* ─── Background & Body ─── */

body[data-page="home"] {
  --bg:       #111111;
  --bg-2:     #161616;
  --bg-3:     #1c1c1c;
  --line:     rgba(255, 255, 255, 0.08);
  --line-2:   rgba(255, 255, 255, 0.14);
  --ink:      #f0f0f0;
  --ink-2:    #a8a8a8;
  --ink-3:    #7c7c7c;
  --ink-4:    #5c5c5c;
  --pad:      max(24px, 3vw);
  --maxw:     1320px;

  background: #111111;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

/* ─── Nav ─── */

body[data-page="home"] .nav {
  background: rgba(17, 17, 17, 0.7);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

body[data-page="home"] .nav__inner {
  height: 64px;
}

body[data-page="home"] .nav__links {
  gap: 6px;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-3);
}

body[data-page="home"] .nav__links a::after {
  display: none;
}
body[data-page="home"] .nav__links a:hover {
  color: var(--ink);
}

body[data-page="home"] .nav__actions .primary {
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 9px;
}

/* ─── Hero ─── */

body[data-page="home"] .hero {
  padding: clamp(48px, 6vw, 80px) 0 0;
}

body[data-page="home"] .hero::before {
  display: none;
}

body[data-page="home"] .hero__inner {
  max-width: 920px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

body[data-page="home"] .hero__h1 {
  font-size: clamp(24px, 4vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0;
  font-weight: 400;
  color: #ffffff;
  text-align: center;
  max-width: none;
}

body[data-page="home"] .hero__h1-line {
  display: block;
  white-space: nowrap;
}

body[data-page="home"] .hero__h1-em {
  display: block;
  color: #ffffff;
  font-weight: 500;
  text-align: center;
}

body[data-page="home"] .hero__lede {
  font-size: clamp(18px, 1.8vw, 26px);
  line-height: 1.3;
  color: var(--ink-2);
  margin: 26px 0 0;
  text-align: center;
  white-space: nowrap;
}

body[data-page="home"] .hero__cta {
  margin-top: 26px;
}

body[data-page="home"] .hero__meta {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-4);
  letter-spacing: 0.02em;
}

/* ─── App Stage ─── */

body[data-page="home"] .app-stage {
  padding: clamp(32px, 3.5vw, 48px) 0 clamp(80px, 11vw, 160px);
}

/* ─── Section Common (v7 overrides) ─── */

body[data-page="home"] .section {
  padding: clamp(100px, 14vw, 200px) 0;
}

body[data-page="home"] .section--alt {
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  border-block: 1px solid var(--line);
}

body[data-page="home"] .section__head {
  max-width: 760px;
  margin-bottom: clamp(56px, 7vw, 96px);
}

body[data-page="home"] .section__head--center {
  margin-inline: auto;
  text-align: center;
  max-width: 760px;
}

body[data-page="home"] .section__head--center .kicker {
  justify-content: center;
}

body[data-page="home"] .section__head--center .kicker::before {
  display: none;
}

body[data-page="home"] .section__head--center .section__sub {
  margin-inline: auto;
}

body[data-page="home"] h2 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--ink);
}

body[data-page="home"] .kicker {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 20px;
}

body[data-page="home"] .kicker::before {
  width: 24px;
  background: var(--ink-4);
}

body[data-page="home"] .section__sub {
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-3);
  max-width: 52ch;
}

/* ─── Features Bento (v7) ─── */

body[data-page="home"] .features-bento {
  padding: clamp(100px, 14vw, 200px) 0;
}

body[data-page="home"] .bento {
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--line);
  box-shadow: 0 0 0 1px var(--line);
}

body[data-page="home"] .bento-card {
  padding: clamp(28px, 3vw, 40px);
  border-radius: 0;
  background: var(--bg);
  box-shadow: none;
  gap: 12px;
  transition: background 0.3s var(--ease);
}

body[data-page="home"] .bento-card:hover {
  background: var(--bg-2);
  box-shadow: none;
}

body[data-page="home"] .bento-card__kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

body[data-page="home"] .bento-card__h {
  font-size: 19px;
  font-weight: 550;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
}

body[data-page="home"] .bento-card--major .bento-card__h {
  font-size: clamp(21px, 2.2vw, 28px);
}

body[data-page="home"] .bento-card__p {
  font-size: 14.5px;
  color: var(--ink-3);
  line-height: 1.65;
}

body[data-page="home"] .bento-card__visual {
  min-height: 180px;
  margin-top: 8px;
  border-radius: 10px;
  background: var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--line);
}

/* Bento responsive */
@media (max-width: 900px) {
  body[data-page="home"] .bento {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  body[data-page="home"] .bento {
    grid-template-columns: 1fr;
  }
  body[data-page="home"] .bento-card--major {
    grid-column: span 1;
  }
}

/* ─── Why Forge (v7) ─── */

body[data-page="home"] .why {
  padding: clamp(80px, 12vw, 160px) 0;
}

body[data-page="home"] .why__statement {
  font-family: var(--font-sans);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0;
  max-width: 18ch;
}

body[data-page="home"] .why__dim {
  color: var(--ink-3);
}

/* ─── How It Works / Steps (v7) ─── */

body[data-page="home"] .steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--line);
  box-shadow: 0 0 0 1px var(--line);
  counter-reset: step;
}

body[data-page="home"] .step {
  padding: clamp(28px, 3.5vw, 44px);
  border-radius: 0;
  background: var(--bg);
  box-shadow: none;
  transition: background 0.3s var(--ease);
}

body[data-page="home"] .step:hover {
  background: var(--bg-2);
}

body[data-page="home"] .step__n {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-4);
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

body[data-page="home"] .step h3 {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 550;
  letter-spacing: -0.02em;
  margin: 16px 0 14px;
  color: var(--ink);
}

body[data-page="home"] .step p {
  font-size: 14.5px;
  color: var(--ink-3);
  line-height: 1.65;
}

body[data-page="home"] .step code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  color: var(--ink-2);
  background: var(--bg-3);
  padding: 2px 7px;
  border-radius: 4px;
}

@media (max-width: 800px) {
  body[data-page="home"] .steps {
    grid-template-columns: 1fr;
  }
}

/* ─── Pricing Banner (v7) ─── */

body[data-page="home"] .pricing-banner {
  padding: clamp(40px, 5vw, 64px) clamp(36px, 5vw, 64px);
  border-radius: 16px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  box-shadow:
    0 0 0 1px var(--line),
    0 40px 80px -20px rgba(0, 0, 0, 0.6);
  max-width: 960px;
  margin-inline: auto;
}

body[data-page="home"] .pricing-banner__price {
  font-family: var(--font-sans);
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}

body[data-page="home"] .pricing-banner__sub {
  font-size: 15.5px;
  color: var(--ink-3);
  max-width: 48ch;
  line-height: 1.65;
}

body[data-page="home"] .pricing-banner__sub strong {
  color: var(--ink-2);
}

body[data-page="home"] .pricing-banner__coming {
  color: var(--ink-4);
}

body[data-page="home"] .pricing-banner__coming::before {
  border-color: var(--ink-4);
}

body[data-page="home"] .pricing-banner__meta {
  color: var(--ink-4);
}

/* ─── FAQ (v7) ─── */

body[data-page="home"] .faq__list {
  max-width: 760px;
  margin-inline: auto;
  gap: 8px;
}

body[data-page="home"] .faq__q {
  border-radius: 12px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

body[data-page="home"] .faq__q[open] {
  background: var(--bg-3);
  border-color: var(--line-2);
}

body[data-page="home"] .faq__q summary {
  padding: 22px 26px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}

body[data-page="home"] .faq__caret {
  font-size: 18px;
  color: var(--ink-4);
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--bg-3);
  box-shadow: none;
}

body[data-page="home"] .faq__q[open] .faq__caret {
  color: var(--ink-2);
}

body[data-page="home"] .faq__q p {
  padding: 0 26px 24px;
  font-size: 15px;
  color: var(--ink-3);
  line-height: 1.65;
}

/* ─── CTA (v7) ─── */

body[data-page="home"] .cta {
  padding: clamp(120px, 16vw, 240px) 0;
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

body[data-page="home"] .cta__glow {
  display: none;
}

body[data-page="home"] .cta__inner {
  position: relative;
  z-index: 1;
}

body[data-page="home"] .cta .cta__h2,
body[data-page="home"] .cta h2 {
  font-family: var(--font-sans);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.0;
  margin: 0 0 20px;
  color: var(--ink);
}

body[data-page="home"] .cta .cta__sub,
body[data-page="home"] .cta__inner > p {
  font-size: 18px;
  color: var(--ink-3);
  margin: 0 0 40px;
}

body[data-page="home"] .cta__meta {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-4);
  letter-spacing: 0.02em;
}

body[data-page="home"] .cta__row {
  margin-bottom: 0;
}

/* ─── Buttons (v7) ─── */

body[data-page="home"] .primary {
  background: var(--ink);
  color: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  font-weight: 500;
  font-size: 14px;
  padding: 10px 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: all 0.2s var(--ease);
}

body[data-page="home"] .primary:hover {
  background: #e4e4e4;
  border-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transform: translateY(-1px);
}

body[data-page="home"] .primary--lg {
  min-height: unset;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 9px;
}

/* ─── Footer (v7) ─── */

body[data-page="home"] .footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding-top: 72px;
}

body[data-page="home"] .footer__inner {
  padding-bottom: 56px;
}

body[data-page="home"] .footer__brand p {
  color: var(--ink-4);
  font-size: 14px;
}

body[data-page="home"] .footer__cols h4 {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: 0.01em;
  text-transform: none;
  margin-bottom: 16px;
}

body[data-page="home"] .footer__cols a {
  font-size: 14px;
  color: var(--ink-4);
}

body[data-page="home"] .footer__cols a:hover {
  color: var(--ink);
}

body[data-page="home"] .footer__base {
  font-size: 12.5px;
  color: var(--ink-4);
  padding: 22px 0;
}

/* ─── Ghost button (v7) ─── */

body[data-page="home"] .ghost {
  background: transparent;
  color: var(--ink-2);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  font-weight: 500;
  font-size: 14px;
  padding: 10px 20px;
  box-shadow: none;
  transition: all 0.2s var(--ease);
}

body[data-page="home"] .ghost:hover {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-1px);
}

body[data-page="home"] .ghost--lg {
  min-height: unset;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 9px;
}

/* ─── Features section ─── */

body[data-page="home"] .features-section {
  padding: clamp(60px, 8vw, 120px) 0;
}

body[data-page="home"] .features-title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 0 0 clamp(24px, 3vw, 36px);
}

/* ─── Feature grid (2x2, 1col on mobile) ─── */

body[data-page="home"] .feat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

body[data-page="home"] .feat-card {
  padding: clamp(20px, 2.5vw, 28px);
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

body[data-page="home"] .feat-card:hover {
  background: var(--bg-2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}

body[data-page="home"] .feat-card__ico {
  width: 80px;
  height: 80px;
  margin-bottom: 12px;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

body[data-page="home"] .feat-card__shader {
  width: 100%;
  height: 100%;
  display: block;
}

body[data-page="home"] .feat-card__ico--grid {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='1' y='1' width='10' height='10' rx='2' fill='white'/%3E%3Crect x='13' y='1' width='10' height='10' rx='2' fill='white'/%3E%3Crect x='1' y='13' width='10' height='10' rx='2' fill='white'/%3E%3Crect x='13' y='13' width='10' height='10' rx='2' fill='white'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='1' y='1' width='10' height='10' rx='2' fill='white'/%3E%3Crect x='13' y='1' width='10' height='10' rx='2' fill='white'/%3E%3Crect x='1' y='13' width='10' height='10' rx='2' fill='white'/%3E%3Crect x='13' y='13' width='10' height='10' rx='2' fill='white'/%3E%3C/svg%3E");
}

body[data-page="home"] .feat-card__ico--moon {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z' fill='white'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z' fill='white'/%3E%3C/svg%3E");
}

body[data-page="home"] .feat-card__ico--eye {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 12s3-7 10-7 10 7 10 7-3 7-10 7S2 12 2 12Z' fill='white'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 12s3-7 10-7 10 7 10 7-3 7-10 7S2 12 2 12Z' fill='white'/%3E%3C/svg%3E");
}

body[data-page="home"] .feat-card__ico--layers {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 2 7l10 5 10-5L12 2z' fill='white'/%3E%3Cpath d='M2 12l10 5 10-5' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M2 17l10 5 10-5' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 2 7l10 5 10-5L12 2z' fill='white'/%3E%3Cpath d='M2 12l10 5 10-5' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M2 17l10 5 10-5' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

body[data-page="home"] .feat-card__shot {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 16px;
}

body[data-page="home"] .feat-card__h {
  font-size: 24px;
  font-weight: 550;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
  margin: 0;
}

body[data-page="home"] .feat-card__p {
  font-size: 17px;
  color: var(--ink-3);
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 960px) {
  body[data-page="home"] .feat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  body[data-page="home"] .feat-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── Scroll entrance (v7 — slower, more subtle) ─── */

@keyframes forge-rise-v7 {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

body[data-page="home"] .hero__h1,
body[data-page="home"] .hero__lede,
body[data-page="home"] .hero__cta,
body[data-page="home"] .app-stage {
  animation-name: forge-rise-v7;
  animation-duration: 0.9s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  animation-fill-mode: both;
}

body[data-page="home"] .hero__h1 { animation-delay: 0.05s; }
body[data-page="home"] .hero__lede { animation-delay: 0.12s; }
body[data-page="home"] .hero__cta { animation-delay: 0.18s; }
body[data-page="home"] .app-stage { animation-delay: 0.26s; }

/* ─── Responsive (v7) ─── */

@media (max-width: 800px) {
  body[data-page="home"] .nav__links { display: none; }

  body[data-page="home"] .hero {
    padding: clamp(72px, 12vw, 140px) 0 0;
  }

  body[data-page="home"] .hero__h1 {
    font-size: clamp(26px, 7vw, 40px);
  }

  body[data-page="home"] .hero__lede {
    font-size: 16px;
    max-width: 100%;
  }

  body[data-page="home"] .section {
    padding: clamp(72px, 12vw, 140px) 0;
  }

  body[data-page="home"] h2 {
    font-size: clamp(26px, 6vw, 40px);
  }

  body[data-page="home"] .cta .cta__h2,
  body[data-page="home"] .cta h2 {
    font-size: clamp(32px, 8vw, 48px);
  }

  body[data-page="home"] .pricing-banner {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .pricing-banner__price {
    font-size: clamp(40px, 10vw, 64px);
  }
}

@media (max-width: 560px) {
  body[data-page="home"] .container {
    padding-inline: 20px;
  }

  body[data-page="home"] .hero__cta {
    flex-direction: column;
    align-items: stretch;
  }

  body[data-page="home"] .hero__cta .primary--lg {
    width: 100%;
  }

  body[data-page="home"] .why__statement {
    padding: 24px 20px;
  }

  body[data-page="home"] .why__statement p {
    font-size: 16px;
  }

  body[data-page="home"] .footer__cols {
    grid-template-columns: repeat(2, 1fr);
  }

  body[data-page="home"] .section__head {
    margin-bottom: clamp(40px, 6vw, 64px);
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .hero__h1,
  body[data-page="home"] .hero__lede,
  body[data-page="home"] .hero__cta,
  body[data-page="home"] .app-stage {
    animation: none;
  }
  body[data-page="home"] .feat-card__icon {
    animation: none;
  }
}
