/* ===============================================================
   ENCY  —  "Sim looked perfect. The machine disagreed."
   Production-style landing CSS.
   Industrial dark aesthetic. No gradients on UI.
   No glow. No SaaS shimmer. Mobile-first.
   =============================================================== */

/* ---------------------------------------------------------------
   1. TOKENS
   --------------------------------------------------------------- */
:root {
  /* COOL palette  —  digital / UI / sim */
  --oily-black:      #1A1815;
  --ink:             #1A1D21;
  --graphite:        #22272D;
  --graphite-2:      #2E3338;
  --mid-gray:        #6E7479;
  --fog:             #B7BBC0;
  --paper:           #F4F2EE;
  --paper-soft:      #E6E2DA;

  /* WARM palette  —  physical / floor */
  --steel:           #3A332D;
  --shop-leather:    #8C5A2A;
  --amber:           #BF7B2E;
  --hot-chip:        #D9591F;
  --coolant:         #4F7A6A;

  /* Brand */
  --ency:            #4FB7C4;
  --ency-deep:       #2C7E89;

  /* Functional */
  --line:            rgba(244, 242, 238, 0.08);
  --line-strong:     rgba(244, 242, 238, 0.18);
  --line-warm:       rgba(191, 123, 46, 0.45);
  --line-cool:       rgba(79, 183, 196, 0.45);

  /* Typography */
  --ff-display:      "Barlow Condensed", "Oswald", Impact, sans-serif;
  --ff-body:         "Inter Tight", system-ui, -apple-system, sans-serif;
  --ff-mono:         "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --fs-hero:         clamp(2.6rem, 9vw, 8.25rem);
  --fs-h2:           clamp(1.85rem, 5vw, 4.25rem);
  --fs-h3:           clamp(1.35rem, 2.4vw, 2rem);
  --fs-quote:        clamp(1.5rem, 3vw, 2.5rem);
  --fs-body:         1rem;
  --fs-body-l:       1.125rem;
  --fs-body-s:       0.9375rem;
  --fs-mono:         0.8125rem;
  --fs-mono-s:       0.6875rem;

  --lh-tight:        0.95;
  --lh-snug:         1.15;
  --lh-body:         1.55;

  /* Space */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --sp-10: 9rem;

  /* Layout */
  --max-w: 1320px;
  --gutter: clamp(1.25rem, 4vw, 4rem);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
  --d-fast: 140ms;
  --d-base: 240ms;
}

/* ---------------------------------------------------------------
   2. RESET / BASE
   --------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--paper);
  background: var(--oily-black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

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

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--ff-display);
  font-weight: 700;
  line-height: var(--lh-tight);
  letter-spacing: -0.01em;
}

p { margin: 0; }

::selection {
  background: var(--hot-chip);
  color: var(--paper);
}

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

.mono {
  font-family: var(--ff-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.04em;
}

/* ---------------------------------------------------------------
   3. GLOBAL UTILITIES
   --------------------------------------------------------------- */
.section-head {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  max-width: 60rem;
  padding-bottom: var(--sp-7);
}

.section-tag {
  font-family: var(--ff-mono);
  font-size: var(--fs-mono-s);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}

.section-title {
  font-size: var(--fs-h2);
  letter-spacing: -0.015em;
}

/* Buttons --------------------------------------------------------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--paper);
  --btn-bd: var(--paper);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 0.95rem 1.4rem;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: 0;
  cursor: pointer;
  transition: transform var(--d-fast) var(--ease),
              background-color var(--d-fast) var(--ease),
              color var(--d-fast) var(--ease),
              border-color var(--d-fast) var(--ease);
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  --btn-bg: var(--hot-chip);
  --btn-fg: var(--paper);
  --btn-bd: var(--hot-chip);
}
.btn-primary:hover {
  --btn-bg: var(--paper);
  --btn-fg: var(--oily-black);
  --btn-bd: var(--paper);
}

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--paper);
  --btn-bd: var(--line-strong);
}
.btn-ghost:hover {
  --btn-bd: var(--paper);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.btn-arrow {
  display: inline-block;
  transition: transform var(--d-fast) var(--ease);
}
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ---------------------------------------------------------------
   4. SITE HEADER
   --------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-4) var(--gutter);
  background: rgba(26, 24, 21, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1;
}

.brand-mark {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 1.65rem;
  letter-spacing: 0.04em;
  color: var(--paper);
}

.brand-tag {
  font-family: var(--ff-mono);
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  color: var(--mid-gray);
}

.site-nav {
  display: none;
  gap: var(--sp-6);
}

.site-nav a {
  font-family: var(--ff-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fog);
  padding: var(--sp-2) 0;
  border-bottom: 1px solid transparent;
  transition: color var(--d-fast) var(--ease),
              border-color var(--d-fast) var(--ease);
}
.site-nav a:hover {
  color: var(--paper);
  border-bottom-color: var(--hot-chip);
}

@media (min-width: 768px) {
  .site-nav { display: flex; }
}

/* ---------------------------------------------------------------
   5. HERO  —  campaign signature
   --------------------------------------------------------------- */
.hero {
  position: relative;
  padding: var(--sp-7) var(--gutter) var(--sp-9);
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  /* faint blueprint dot pattern */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(244, 242, 238, 0.05) 1px,
    transparent 0
  );
  background-size: 32px 32px;
  background-position: 0 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
}

@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-1);
    aspect-ratio: 16 / 7;
  }
}

.hero-panel {
  margin: 0;
  position: relative;
  min-height: 320px;
}

.hero-panel--sim   { background: var(--ink); }
.hero-panel--machine { background: var(--steel); }

/* Hero copy ------------------------------------------------------- */
.hero-copy {
  position: relative;
  max-width: 78rem;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--ff-mono);
  font-size: var(--fs-mono-s);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: var(--sp-5);
}
.hero-eyebrow .dot {
  width: 8px; height: 8px;
  background: var(--hot-chip);
  display: inline-block;
}

.hero-title {
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: column;
  gap: 0.05em;
  margin-bottom: var(--sp-6);
}

.hero-title-line {
  display: block;
}
.hero-title-line--cool { color: var(--paper); }
.hero-title-line--warm {
  color: var(--paper);
  text-shadow: 0 0 0 transparent;
  position: relative;
}
.hero-title-line--warm::before {
  content: "";
  display: inline-block;
  width: 0.6em;
  height: 0.06em;
  background: var(--hot-chip);
  margin-right: 0.25em;
  vertical-align: 0.22em;
}

.hero-sub {
  max-width: 48rem;
  font-size: clamp(1.0625rem, 1.4vw, 1.3125rem);
  color: var(--paper-soft);
  line-height: 1.5;
  margin-bottom: var(--sp-7);
}
.hero-sub em {
  font-style: normal;
  color: var(--ency);
  font-weight: 500;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}

.hero-foot .mono {
  color: var(--mid-gray);
  letter-spacing: 0.12em;
}

/* Hero G-code strip --------------------------------------------- */
.gcode-strip {
  margin-top: var(--sp-9);
  padding: var(--sp-3) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--mid-gray);
  white-space: nowrap;
  overflow: hidden;
}

/* ---------------------------------------------------------------
   6. ART-FRAME  —  intentional placeholder image blocks
       Used in hero panels, pain cards, machine-aware rows.
   --------------------------------------------------------------- */
.art-frame {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 280px;
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  background-image: repeating-linear-gradient(
    -45deg,
    transparent 0 11px,
    rgba(244, 242, 238, 0.025) 11px 12px
  );
  background-color: var(--graphite);
  border: 1px dashed var(--line-strong);
}

.art-frame--cool {
  background-color: #1B2024;
  border-color: var(--line-cool);
}

.art-frame--warm {
  background-color: #28201B;
  border-color: var(--line-warm);
}

.art-frame--tall { min-height: 360px; }

.art-frame-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--ff-mono);
  font-size: var(--fs-mono-s);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid-gray);
  border-bottom: 1px solid var(--line);
  padding-bottom: var(--sp-2);
}

.art-frame--cool .art-frame-meta { color: var(--ency); }
.art-frame--warm .art-frame-meta { color: var(--amber); }

.art-frame-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.art-frame-label {
  font-family: var(--ff-mono);
  font-size: var(--fs-mono-s);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fog);
  margin: 0;
}

.art-frame-text {
  font-size: var(--fs-body-s);
  color: var(--paper-soft);
  max-width: 36ch;
  line-height: 1.45;
}

.art-codeblock {
  margin: 0;
  padding: var(--sp-3);
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--fog);
  background: rgba(0, 0, 0, 0.35);
  border-left: 2px solid var(--ency);
  white-space: pre;
  overflow: hidden;
}

.art-frame-status {
  align-self: flex-start;
  margin-top: auto;
  padding: 0.25rem 0.6rem;
  font-family: var(--ff-mono);
  font-size: var(--fs-mono-s);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid currentColor;
}
.art-frame-status--ok    { color: var(--ency); }
.art-frame-status--scrap { color: var(--hot-chip); }

/* CSS-drawn "gouge" inside the warm hero panel */
.art-frame-gouge {
  position: relative;
  height: 78px;
  background: var(--steel);
  border: 1px solid rgba(140, 90, 42, 0.4);
  overflow: hidden;
  margin-top: auto;
}
.art-frame-gouge::before,
.art-frame-gouge::after {
  content: "";
  position: absolute;
  background: var(--hot-chip);
}
.art-frame-gouge::before {
  width: 60%;
  height: 4px;
  top: 38px;
  left: 18%;
  transform: rotate(-3deg);
  box-shadow: 0 14px 0 rgba(217, 89, 31, 0.4),
              0 -10px 0 rgba(140, 90, 42, 0.3);
}
.art-frame-gouge::after {
  width: 14px;
  height: 14px;
  top: 32px;
  left: 22%;
  transform: rotate(45deg);
  background: var(--shop-leather);
}

/* ---------------------------------------------------------------
   7. PAIN SECTION
   --------------------------------------------------------------- */
.pain {
  padding: var(--sp-9) var(--gutter);
  background: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
  max-width: var(--max-w);
  margin: 0 auto;
}

@media (min-width: 880px) {
  .pain-grid { grid-template-columns: repeat(3, 1fr); }
}

.pain-card {
  position: relative;
  padding: var(--sp-6);
  background: var(--graphite);
  border-top: 2px solid var(--hot-chip);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  transition: transform var(--d-base) var(--ease),
              border-color var(--d-base) var(--ease);
}
.pain-card:hover {
  transform: translateY(-3px);
  border-top-color: var(--paper);
}

.pain-num {
  font-family: var(--ff-mono);
  font-size: var(--fs-mono-s);
  letter-spacing: 0.2em;
  color: var(--mid-gray);
}

.pain-quote {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: var(--fs-quote);
  line-height: var(--lh-snug);
  letter-spacing: -0.01em;
  color: var(--paper);
}

.pain-tag {
  font-family: var(--ff-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}

.pain-art {
  padding: var(--sp-4);
  background: var(--ink);
  border: 1px dashed var(--line);
  flex: 1;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.pain-art .art-frame-label { color: var(--amber); }
.pain-art .art-frame-text {
  font-size: 0.875rem;
  color: var(--fog);
  max-width: 30ch;
}

.pain-cost {
  font-size: var(--fs-body-s);
  color: var(--paper-soft);
  border-top: 1px solid var(--line);
  padding-top: var(--sp-3);
  margin-top: auto;
}

/* ---------------------------------------------------------------
   8. HIDDEN COSTS
   --------------------------------------------------------------- */
.hidden-costs {
  position: relative;
  padding: var(--sp-9) var(--gutter);
  background: var(--oily-black);
  overflow: hidden;
  isolation: isolate;
}

.hc-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent 0 31px,
      rgba(244, 242, 238, 0.03) 31px 32px
    );
  background-size: 100% 32px;
}

.hidden-costs .section-head { max-width: var(--max-w); margin: 0 auto var(--sp-7); padding-bottom: 0; }

.hc-list {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.hc-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--sp-4);
  padding: var(--sp-5) 0;
  border-top: 1px solid var(--line);
  align-items: center;
}
.hc-list li:last-child { border-bottom: 1px solid var(--line); }

.hc-num {
  font-family: var(--ff-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.18em;
  color: var(--amber);
}

.hc-text {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  line-height: 1.18;
  letter-spacing: -0.005em;
  color: var(--paper);
}
.hc-text em {
  font-style: italic;
  color: var(--ency);
}

.hc-closer {
  margin: var(--sp-8) auto 0;
  max-width: 62rem;
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
  color: var(--paper-soft);
}
.hc-closer strong {
  font-weight: 800;
  color: var(--paper);
  display: inline-block;
  border-bottom: 4px solid var(--hot-chip);
  padding-bottom: 0.05em;
}

/* ---------------------------------------------------------------
   9. MACHINE-AWARE EXPLANATION
   --------------------------------------------------------------- */
.machine-aware {
  padding: var(--sp-10) var(--gutter);
  background: var(--ink);
  border-top: 1px solid var(--line);
}

.machine-aware .section-head {
  max-width: var(--max-w);
  margin: 0 auto var(--sp-9);
}

.ma-row {
  max-width: var(--max-w);
  margin: 0 auto var(--sp-9);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  align-items: stretch;
}
.ma-row:last-child { margin-bottom: 0; }

@media (min-width: 880px) {
  .ma-row {
    grid-template-columns: 5fr 6fr;
    gap: var(--sp-8);
  }
  .ma-row--reverse > .ma-row-text { order: 2; }
  .ma-row--reverse > .ma-row-art  { order: 1; }
}

.ma-row-text {
  padding: var(--sp-6) 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.ma-row-pain {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.1;
  color: var(--paper);
  border-left: 3px solid var(--hot-chip);
  padding-left: var(--sp-4);
}

.ma-row-answer {
  font-size: var(--fs-body-l);
  color: var(--paper-soft);
  line-height: 1.55;
  max-width: 38rem;
}
.ma-row-answer em {
  font-style: normal;
  color: var(--ency);
  font-weight: 500;
}

.ma-row-proof {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  border-top: 1px solid var(--line);
  padding-top: var(--sp-4);
  margin-top: var(--sp-2);
}
.ma-row-proof li {
  position: relative;
  padding-left: 1.5rem;
  font-family: var(--ff-mono);
  font-size: var(--fs-mono);
  color: var(--fog);
  letter-spacing: 0.04em;
}
.ma-row-proof li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--amber);
}

.ma-row-art {
  display: block;
  margin: 0;
  min-height: 320px;
}

/* ---------------------------------------------------------------
   10. PROOF SHELF
   --------------------------------------------------------------- */
.proof {
  padding: var(--sp-9) var(--gutter);
  background: var(--oily-black);
  border-top: 1px solid var(--line);
}

.proof .section-head { max-width: var(--max-w); margin: 0 auto var(--sp-7); }

.proof-logos {
  max-width: var(--max-w);
  margin: 0 auto var(--sp-9);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--line);
}

@media (min-width: 720px) {
  .proof-logos { grid-template-columns: repeat(5, 1fr); }
}

.proof-logos li {
  padding: var(--sp-5) var(--sp-4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  min-height: 130px;
}
.proof-logos li:last-child { border-right: 0; }

@media (min-width: 720px) {
  .proof-logos li { border-bottom: 0; }
}

.logo-mark {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper);
}

.logo-sub {
  font-family: var(--ff-mono);
  font-size: var(--fs-mono-s);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid-gray);
}

/* Cases ---------------------------------------------------------- */
.cases {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}
@media (min-width: 880px) {
  .cases { grid-template-columns: repeat(3, 1fr); }
}

.case-card {
  padding: var(--sp-6);
  background: var(--graphite);
  border-left: 2px solid var(--ency);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.case-quote {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  line-height: 1.25;
  color: var(--paper);
}

.case-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--line);
  padding-top: var(--sp-3);
}
.case-name {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--paper);
}
.case-loc {
  font-family: var(--ff-mono);
  font-size: var(--fs-mono-s);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid-gray);
}

.case-out {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.case-out li {
  font-size: var(--fs-body-s);
  color: var(--paper-soft);
  padding-left: 1rem;
  position: relative;
}
.case-out li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--amber);
  font-weight: 700;
}

.case-link {
  margin-top: auto;
  align-self: flex-start;
  font-family: var(--ff-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ency);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: color var(--d-fast) var(--ease);
}
.case-link:hover { color: var(--paper); }

/* ---------------------------------------------------------------
   11. DEMO CTA SECTION
   --------------------------------------------------------------- */
.demo-cta {
  padding: var(--sp-10) var(--gutter);
  background: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.demo-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(191, 123, 46, 0.08) 1px,
    transparent 0
  );
  background-size: 24px 24px;
}

.demo-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-7);
  align-items: start;
}
@media (min-width: 880px) {
  .demo-grid { grid-template-columns: 5fr 6fr; gap: var(--sp-9); }
}

.demo-text { display: flex; flex-direction: column; gap: var(--sp-5); }

.demo-title {
  font-size: clamp(2rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: var(--lh-tight);
  color: var(--paper);
}
.demo-title-warm {
  display: block;
  color: var(--paper);
  border-bottom: 4px solid var(--hot-chip);
  padding-bottom: 0.05em;
}

.demo-sub {
  max-width: 36rem;
  font-size: var(--fs-body-l);
  color: var(--paper-soft);
}

.demo-bullets { display: flex; flex-direction: column; gap: var(--sp-3); }
.demo-bullets li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: var(--sp-3);
  align-items: baseline;
  font-size: var(--fs-body);
  color: var(--paper-soft);
}
.demo-bullets .mono {
  color: var(--amber);
  font-weight: 500;
}

/* Form ----------------------------------------------------------- */
.demo-form {
  background: var(--graphite);
  border: 1px solid var(--line);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.form-row { display: flex; flex-direction: column; gap: var(--sp-2); }

.form-row label {
  font-family: var(--ff-mono);
  font-size: var(--fs-mono-s);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}

.form-row input {
  background: var(--oily-black);
  border: 1px solid var(--line-strong);
  border-radius: 0;
  padding: 0.85rem 0.95rem;
  color: var(--paper);
  font-size: var(--fs-body);
  transition: border-color var(--d-fast) var(--ease);
}
.form-row input:hover  { border-color: var(--mid-gray); }
.form-row input:focus  {
  outline: 0;
  border-color: var(--ency);
}
.form-row input::placeholder {
  color: var(--mid-gray);
  font-family: var(--ff-mono);
  font-size: var(--fs-body-s);
  letter-spacing: 0.02em;
}
.form-row input[type="file"] {
  padding: 0.7rem 0.95rem;
  font-family: var(--ff-mono);
  font-size: var(--fs-mono);
  color: var(--fog);
}
.form-row input[type="file"]::file-selector-button {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--paper);
  font-family: var(--ff-mono);
  font-size: var(--fs-mono);
  padding: 0.4rem 0.7rem;
  margin-right: var(--sp-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: border-color var(--d-fast) var(--ease);
}
.form-row input[type="file"]::file-selector-button:hover {
  border-color: var(--paper);
}

.form-hint  { color: var(--mid-gray); }
.form-foot  { color: var(--mid-gray); margin-top: var(--sp-2); }

/* ---------------------------------------------------------------
   12. FAQ
   --------------------------------------------------------------- */
.faq {
  padding: var(--sp-9) var(--gutter);
  background: var(--oily-black);
}

.faq .section-head { max-width: var(--max-w); margin: 0 auto var(--sp-7); }

.faq-list {
  max-width: 64rem;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

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

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: var(--sp-5) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  transition: color var(--d-fast) var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--ency); }

.faq-q {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: clamp(1.125rem, 1.8vw, 1.5rem);
  line-height: 1.25;
  color: inherit;
}

.faq-marker {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
}
.faq-marker::before,
.faq-marker::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--paper);
}
.faq-marker::before { width: 14px; height: 1.5px; transform: translate(-50%, -50%); }
.faq-marker::after  { width: 1.5px; height: 14px; transform: translate(-50%, -50%);
  transition: transform var(--d-fast) var(--ease); }

.faq-item[open] .faq-marker::after { transform: translate(-50%, -50%) scaleY(0); }

.faq-a {
  padding: 0 0 var(--sp-6);
  max-width: 56rem;
}
.faq-a p {
  font-size: var(--fs-body-l);
  color: var(--paper-soft);
  line-height: 1.55;
}

/* ---------------------------------------------------------------
   13. STICKY CTA  —  mobile only
   --------------------------------------------------------------- */
.sticky-cta {
  position: fixed;
  left: var(--gutter);
  right: var(--gutter);
  bottom: var(--sp-4);
  z-index: 60;
  padding: 1rem 1.2rem;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--hot-chip);
  border: 1px solid var(--hot-chip);
  box-shadow: 0 6px 0 0 var(--oily-black);
  transition: transform var(--d-base) var(--ease),
              opacity var(--d-base) var(--ease);
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}

.sticky-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 767px) {
  .sticky-cta { display: flex; }
}

/* ---------------------------------------------------------------
   14. FOOTER
   --------------------------------------------------------------- */
.site-footer {
  padding: var(--sp-9) var(--gutter) var(--sp-6);
  background: var(--oily-black);
  border-top: 1px solid var(--line-strong);
}

.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto var(--sp-8);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-7);
}
@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 2.4fr 1fr 1fr 1fr;
    gap: var(--sp-8);
  }
}

.footer-brand { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-mark {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 2.4rem;
  letter-spacing: 0.04em;
  color: var(--paper);
  line-height: 1;
}
.footer-tag {
  font-family: var(--ff-mono);
  font-size: var(--fs-mono-s);
  letter-spacing: 0.18em;
  color: var(--amber);
}
.footer-line {
  font-size: var(--fs-body-s);
  color: var(--fog);
  max-width: 30rem;
  line-height: 1.55;
}

.footer-col h3 {
  font-family: var(--ff-mono);
  font-size: var(--fs-mono-s);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: var(--sp-4);
}

.footer-col ul { display: flex; flex-direction: column; gap: var(--sp-2); }
.footer-col a {
  font-size: var(--fs-body-s);
  color: var(--paper-soft);
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: border-color var(--d-fast) var(--ease),
              color var(--d-fast) var(--ease);
}
.footer-col a:hover {
  color: var(--paper);
  border-bottom-color: var(--hot-chip);
}

.footer-base {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  justify-content: space-between;
}
@media (min-width: 720px) { .footer-base { flex-direction: row; align-items: center; } }

.footer-copy { color: var(--mid-gray); }
.footer-legal {
  font-family: var(--ff-mono);
  font-size: var(--fs-mono-s);
  color: var(--mid-gray);
  letter-spacing: 0.12em;
}
.footer-legal a:hover { color: var(--paper); }

/* ---------------------------------------------------------------
   15. ACCESSIBILITY  —  reduced motion
   --------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0ms !important;
    scroll-behavior: auto !important;
  }
}
