/* ============================================================
   Miś Dev v2 — modern overrides on top of tokens.css
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--zn-font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--zn-fg);
  background: var(--zn-cream-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
a { color: inherit; }
::selection { background: var(--zn-terracotta-500); color: var(--zn-cream-50); }

/* ---------- layout ---------- */
.shell {
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 56px);
}
.section { padding-block: clamp(72px, 9vw, 140px); }

/* ---------- section markers (// like auto.mpai) ---------- */
.marker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--zn-font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--zn-terracotta-600);
  text-transform: lowercase;
}
.marker::before {
  content: "//";
  color: var(--zn-ink-300);
}

/* ---------- typography ---------- */
.h-display {
  font-family: var(--zn-font-display);
  font-weight: 500;
  font-size: clamp(56px, 9vw, 140px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  margin: 0;
}
.h-display em {
  font-style: italic;
  font-weight: 400;
  color: var(--zn-terracotta-500);
}
.h-section {
  font-family: var(--zn-font-display);
  font-weight: 500;
  font-size: clamp(40px, 5.6vw, 84px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin: 0;
}
.h-section em {
  font-style: italic;
  font-weight: 400;
  color: var(--zn-terracotta-500);
}
.h-section .muted { color: var(--zn-fg-muted); }

.lede {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.5;
  color: var(--zn-fg-secondary);
  max-width: 56ch;
}
.mono {
  font-family: var(--zn-font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--zn-fg-tertiary);
  text-transform: lowercase;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background 200ms var(--zn-ease-out),
              color 200ms var(--zn-ease-out),
              border-color 200ms var(--zn-ease-out),
              transform 120ms var(--zn-ease-out);
}
.btn .arrow {
  width: 16px; height: 16px;
  transition: transform 200ms var(--zn-ease-out);
}
.btn:hover .arrow { transform: translateX(3px); }
.btn:active { transform: scale(0.98); }

.btn-primary  { background: var(--zn-terracotta-600); color: var(--zn-cream-50); }
.btn-primary:hover { background: var(--zn-terracotta-700); }

.btn-light    { background: var(--zn-cream-50); color: var(--zn-forest-900); }
.btn-light:hover { background: var(--zn-cream-100); }

.btn-dark     { background: var(--zn-forest-900); color: var(--zn-cream-50); }
.btn-dark:hover { background: #000; }

.btn-ghost-dark {
  background: transparent;
  color: var(--zn-cream-50);
  border-color: rgba(250, 246, 238, 0.25);
}
.btn-ghost-dark:hover { background: rgba(250, 246, 238, 0.08); border-color: rgba(250, 246, 238, 0.5); }

.btn-ghost {
  background: transparent;
  color: var(--zn-fg);
  border-color: var(--zn-ink-200);
}
.btn-ghost:hover { background: var(--zn-cream-100); }

/* ---------- live pulse badge ---------- */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--zn-font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 500;
}
.live-badge .dot {
  position: relative;
  width: 8px; height: 8px;
  background: var(--zn-success);
  border-radius: 50%;
}
.live-badge .dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--zn-success);
  animation: ping 1.8s var(--zn-ease-out) infinite;
}
@keyframes ping {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 238, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--zn-ease-out);
}
.nav.scrolled { border-bottom-color: var(--zn-border-subtle); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px;
}
.logo {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--zn-fg);
  font-family: var(--zn-font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.025em;
  white-space: nowrap;
}
.logo-dot {
  width: 10px; height: 10px;
  background: var(--zn-terracotta-600);
  border-radius: 2px;
  transform: rotate(45deg);
}
.logo .dim { color: var(--zn-fg-muted); }

.nav-links {
  display: flex; gap: 4px; list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--zn-fg-secondary);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 200ms, background 200ms;
}
.nav-links a:hover { color: var(--zn-fg); background: var(--zn-cream-100); }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 1px solid var(--zn-border);
  background: transparent;
  display: grid; place-items: center;
  color: var(--zn-fg);
  text-decoration: none;
  transition: background 200ms, border-color 200ms;
}
.icon-btn:hover { background: var(--zn-cream-100); border-color: var(--zn-ink-300); }
.menu-toggle { display: none; }

@media (max-width: 1080px) {
  .nav-links { display: none; }
}
@media (max-width: 720px) {
  .nav-cta .btn { display: none; }
  .menu-toggle { display: inline-grid; }
}

/* ============================================================
   HERO (dark forest-900, big editorial)
   ============================================================ */
.hero {
  position: relative;
  background: var(--zn-forest-900);
  color: var(--zn-cream-50);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(250, 246, 238, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(250, 246, 238, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black, transparent 75%);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  width: 700px; height: 700px;
  right: -200px; top: -200px;
  background: radial-gradient(circle, rgba(204, 90, 54, 0.45), transparent 60%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}
.hero > * { position: relative; z-index: 1; }

.hero-inner {
  padding-block: clamp(56px, 8vw, 120px) clamp(40px, 6vw, 80px);
}
.hero-meta-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(40px, 6vw, 72px);
  font-family: var(--zn-font-mono);
  font-size: 12px;
  color: rgba(250, 246, 238, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.hero-meta-row .live-badge { color: rgba(250, 246, 238, 0.85); }
.hero-meta-row .ts { color: rgba(250, 246, 238, 0.5); }

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } }

.hero h1 { color: var(--zn-cream-50); margin-bottom: 36px; }
.hero h1 em { color: var(--zn-terracotta-500); }
.hero h1 .alt {
  font-family: var(--zn-font-display);
  font-style: italic;
  font-weight: 400;
  color: rgba(250, 246, 238, 0.55);
}

.hero-lede {
  color: rgba(250, 246, 238, 0.75);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.5;
  max-width: 44ch;
  margin: 0 0 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* hero side: vertical ticker of running automations */
.ticker {
  border: 1px solid rgba(250, 246, 238, 0.12);
  border-radius: 18px;
  padding: 22px;
  background: rgba(250, 246, 238, 0.03);
  display: flex; flex-direction: column;
  gap: 14px;
}
.ticker-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(250, 246, 238, 0.1);
  font-family: var(--zn-font-mono);
  font-size: 11px;
  color: rgba(250, 246, 238, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.ticker-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.ticker-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(250, 246, 238, 0.04);
  font-size: 14px;
  color: var(--zn-cream-200);
  animation: ticker-in 600ms var(--zn-ease-out) backwards;
}
.ticker-item:nth-child(1) { animation-delay: 0ms; }
.ticker-item:nth-child(2) { animation-delay: 120ms; }
.ticker-item:nth-child(3) { animation-delay: 240ms; }
.ticker-item:nth-child(4) { animation-delay: 360ms; }
.ticker-item:nth-child(5) { animation-delay: 480ms; }
@keyframes ticker-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.ticker-item .time {
  font-family: var(--zn-font-mono);
  font-size: 11px;
  color: rgba(250, 246, 238, 0.45);
}
.ticker-item .desc {
  color: var(--zn-cream-50);
}
.ticker-item .desc strong { color: var(--zn-terracotta-500); font-weight: 600; }
.ticker-item .ok {
  width: 22px; height: 22px;
  background: var(--zn-success);
  color: var(--zn-forest-900);
  border-radius: 50%;
  display: grid; place-items: center;
}

/* hero big number strip */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: clamp(60px, 7vw, 96px);
  border-top: 1px solid rgba(250, 246, 238, 0.12);
}
.hero-stat {
  padding: 32px 0 0;
  display: flex; flex-direction: column; gap: 6px;
}
.hero-stat + .hero-stat {
  padding-left: 32px;
  border-left: 1px solid rgba(250, 246, 238, 0.12);
}
.hero-stat .num {
  font-family: var(--zn-font-display);
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--zn-cream-50);
}
.hero-stat .num em {
  font-style: normal;
  color: var(--zn-terracotta-500);
}
.hero-stat .label {
  font-family: var(--zn-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250, 246, 238, 0.55);
}
@media (max-width: 720px) {
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stat + .hero-stat { padding-left: 0; border-left: 0; border-top: 1px solid rgba(250, 246, 238, 0.12); padding-top: 24px; margin-top: 8px; }
}

/* ============================================================
   BENTO — automations
   ============================================================ */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}
@media (max-width: 900px) { .section-head { grid-template-columns: 1fr; } }
.section-head .left { display: flex; flex-direction: column; gap: 18px; }
.section-head .right { padding-bottom: 8px; }

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 16px;
}
.cell {
  position: relative;
  background: var(--zn-bg-elevated);
  border: 1px solid var(--zn-border-subtle);
  border-radius: 20px;
  padding: 28px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 200ms var(--zn-ease-out), box-shadow 200ms var(--zn-ease-out);
}
.cell:hover {
  transform: translateY(-2px);
  box-shadow: var(--zn-shadow-md);
}
.cell .head {
  font-family: var(--zn-font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--zn-fg-tertiary);
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.cell h3 {
  font-family: var(--zn-font-display);
  font-weight: 500;
  font-size: clamp(22px, 1.8vw, 28px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--zn-fg);
}
.cell p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--zn-fg-secondary);
  margin: 8px 0 0;
}
.cell .delta {
  font-family: var(--zn-font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--zn-terracotta-600);
  margin-top: auto;
  letter-spacing: 0.01em;
}
.cell .delta::before { content: "→ "; opacity: 0.6; }

/* spans */
.span-3 { grid-column: span 3; }
.span-2 { grid-column: span 2; }
.span-4 { grid-column: span 4; }
.row-2 { grid-row: span 2; }

@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(4, 1fr); }
  .span-3, .span-4 { grid-column: span 2; }
  .span-2 { grid-column: span 2; }
}
@media (max-width: 700px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .span-3, .span-4, .span-2, .row-2 { grid-column: span 2; grid-row: auto; }
  .cell { padding: 22px; }
}

/* dark cell */
.cell.dark {
  background: var(--zn-forest-900);
  color: var(--zn-cream-50);
  border-color: var(--zn-forest-800);
}
.cell.dark h3 { color: var(--zn-cream-50); }
.cell.dark p { color: rgba(250, 246, 238, 0.7); }
.cell.dark .head { color: rgba(250, 246, 238, 0.55); }
.cell.dark .delta { color: var(--zn-terracotta-500); }

/* terracotta cell */
.cell.terra {
  background: var(--zn-terracotta-600);
  color: var(--zn-cream-50);
  border-color: var(--zn-terracotta-700);
}
.cell.terra h3 { color: var(--zn-cream-50); }
.cell.terra p { color: rgba(250, 246, 238, 0.85); }
.cell.terra .head { color: rgba(250, 246, 238, 0.65); }
.cell.terra .delta { color: var(--zn-cream-50); }

/* cream cell */
.cell.cream {
  background: var(--zn-cream-100);
  border-color: var(--zn-cream-200);
}

/* cell visuals */
.cell-vis {
  margin-top: 16px;
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.cell-vis svg { max-height: 100%; width: 100%; }

/* huge number cell */
.cell-num .num {
  font-family: var(--zn-font-display);
  font-size: clamp(72px, 9vw, 144px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.05em;
  margin: 14px 0 4px;
}
.cell-num .num em {
  font-style: normal;
  color: var(--zn-terracotta-500);
}

/* ============================================================
   AUTO SPECIALIZATION — software · devops · hardware for workshops
   ============================================================ */
.auto-spec {
  background: var(--zn-cream-100);
  border-top: 1px solid var(--zn-border-subtle);
}
.auto-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 980px) { .auto-grid { grid-template-columns: 1fr; } }

.auto-card {
  position: relative;
  background: var(--zn-bg-elevated);
  border: 1px solid var(--zn-border-subtle);
  border-radius: 20px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  transition: transform 200ms var(--zn-ease-out), box-shadow 200ms var(--zn-ease-out);
}
.auto-card:hover { transform: translateY(-2px); box-shadow: var(--zn-shadow-md); }

.auto-card .ico {
  width: 46px; height: 46px;
  border-radius: 13px;
  display: grid; place-items: center;
  background: var(--zn-forest-900);
  color: var(--zn-cream-50);
  flex: none;
}
.auto-card.terra .ico { background: var(--zn-terracotta-600); }
.auto-card.sand  .ico { background: var(--zn-sand-500); color: var(--zn-forest-900); }

.auto-card .kicker {
  font-family: var(--zn-font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--zn-fg-tertiary);
}
.auto-card h3 {
  font-family: var(--zn-font-display);
  font-weight: 500;
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: -4px 0 0;
  color: var(--zn-fg);
}
.auto-card > p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--zn-fg-secondary);
  margin: 0;
}
.auto-list {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.auto-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--zn-fg);
}
.auto-list li svg {
  flex: none;
  width: 16px; height: 16px;
  margin-top: 3px;
  color: var(--zn-terracotta-600);
}

/* protocol / hardware tag strip */
.auto-protocols {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 22px 26px;
  border: 1px dashed var(--zn-cream-200);
  border-radius: 16px;
  background: var(--zn-cream-50);
}
.auto-protocols .lbl {
  font-family: var(--zn-font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--zn-fg-tertiary);
  margin-right: 6px;
}
.auto-protocols .chip {
  font-family: var(--zn-font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--zn-forest-800);
  padding: 6px 12px;
  background: var(--zn-bg-elevated);
  border: 1px solid var(--zn-border-subtle);
  border-radius: 999px;
}
.auto-protocols .chip strong { color: var(--zn-terracotta-600); font-weight: 600; }

/* ============================================================
   CASE STUDIES / portfolio — "co zrobiliśmy"
   ============================================================ */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .cases-grid { grid-template-columns: 1fr; } }

.case {
  background: var(--zn-bg-elevated);
  border: 1px solid var(--zn-border-subtle);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 200ms var(--zn-ease-out), box-shadow 200ms var(--zn-ease-out);
}
.case:hover { transform: translateY(-2px); box-shadow: var(--zn-shadow-md); }

.case-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.case-tag {
  font-family: var(--zn-font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--zn-fg-tertiary);
  text-transform: lowercase;
}
.case-tag b { color: var(--zn-terracotta-600); font-weight: 600; }
.case-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--zn-font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--zn-success);
  white-space: nowrap;
}
.case-status::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--zn-success);
  box-shadow: 0 0 0 3px var(--zn-success-bg);
}
.case h3 {
  font-family: var(--zn-font-display);
  font-weight: 500;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: -2px 0 0;
  color: var(--zn-fg);
}
.case > p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--zn-fg-secondary);
  margin: 0;
}
.case-quote {
  font-size: 14px;
  font-style: italic;
  line-height: 1.5;
  color: var(--zn-fg);
  margin: 0;
  padding-left: 16px;
  border-left: 2px solid var(--zn-terracotta-500);
}
.case-quote span {
  display: block;
  font-style: normal;
  font-size: 12px;
  color: var(--zn-fg-tertiary);
  margin-top: 6px;
  letter-spacing: 0.01em;
}
.case-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.case-stack span {
  font-family: var(--zn-font-mono);
  font-size: 12px;
  color: var(--zn-forest-800);
  padding: 5px 10px;
  border: 1px solid var(--zn-border-subtle);
  border-radius: 999px;
  background: var(--zn-cream-50);
}
.case-foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--zn-border-subtle);
  display: flex;
  gap: 36px;
}
.case-metric .n {
  font-family: var(--zn-font-display);
  font-weight: 500;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--zn-terracotta-600);
  display: block;
}
.case-metric .l {
  font-size: 12px;
  color: var(--zn-fg-tertiary);
  margin-top: 6px;
  display: block;
  max-width: 22ch;
  line-height: 1.35;
}

/* ============================================================
   AI FLOW — substantive "how AI automation actually works"
   ============================================================ */
.aiflow {
  background: var(--zn-forest-900);
  color: var(--zn-cream-50);
  border-top: 1px solid var(--zn-forest-800);
  border-bottom: 1px solid var(--zn-forest-800);
}
.aiflow .marker { color: var(--zn-terracotta-500); }
.aiflow .marker::before { color: rgba(250, 246, 238, 0.4); }
.aiflow h2 { color: var(--zn-cream-50); }
.aiflow h2 em { color: var(--zn-terracotta-500); }
.aiflow .lede { color: rgba(250, 246, 238, 0.72); }

/* pipeline */
.pipeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid rgba(250, 246, 238, 0.12);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(250, 246, 238, 0.02);
}
@media (max-width: 1100px) { .pipeline { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .pipeline { grid-template-columns: 1fr; } }

.pipe-stage {
  position: relative;
  padding: 28px 24px 30px;
  border-right: 1px solid rgba(250, 246, 238, 0.1);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 280px;
}
.pipe-stage:last-child { border-right: 0; }
@media (max-width: 1100px) {
  .pipe-stage:nth-child(2n) { border-right: 0; }
  .pipe-stage { border-bottom: 1px solid rgba(250, 246, 238, 0.1); }
}
@media (max-width: 600px) {
  .pipe-stage { border-right: 0; }
}

/* connector arrow between stages */
.pipe-stage:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -7px; top: 54px;
  width: 12px; height: 12px;
  border-top: 1px solid var(--zn-terracotta-500);
  border-right: 1px solid var(--zn-terracotta-500);
  transform: rotate(45deg);
  background: var(--zn-forest-900);
  z-index: 2;
}
@media (max-width: 1100px) { .pipe-stage::after { display: none; } }

.pipe-stage .step-n {
  font-family: var(--zn-font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250, 246, 238, 0.45);
}
.pipe-stage .ico {
  width: 40px; height: 40px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(250, 246, 238, 0.06);
  color: var(--zn-terracotta-500);
  border: 1px solid rgba(250, 246, 238, 0.1);
}
.pipe-stage h3 {
  font-family: var(--zn-font-sans);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--zn-cream-50);
  margin: 2px 0 0;
}
.pipe-stage p {
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(250, 246, 238, 0.68);
  margin: 0;
}
.pipe-stage .tags {
  margin-top: auto;
  display: flex; flex-wrap: wrap; gap: 6px;
  padding-top: 14px;
}
.pipe-stage .tags span {
  font-family: var(--zn-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.02em;
  color: rgba(250, 246, 238, 0.6);
  padding: 3px 8px;
  border: 1px solid rgba(250, 246, 238, 0.14);
  border-radius: 999px;
}

/* engineering principles */
.principles {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .principles { grid-template-columns: 1fr; } }
.principle {
  display: flex;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(250, 246, 238, 0.1);
  border-radius: 14px;
  background: rgba(250, 246, 238, 0.025);
}
.principle .pico {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 8px;
  display: grid; place-items: center;
  background: rgba(204, 90, 54, 0.16);
  color: var(--zn-terracotta-500);
}
.principle .ptxt { display: flex; flex-direction: column; gap: 3px; }
.principle .ptxt b {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--zn-cream-50);
}
.principle .ptxt span {
  font-size: 13px;
  line-height: 1.45;
  color: rgba(250, 246, 238, 0.65);
}

.aiflow-note {
  margin-top: 24px;
  font-family: var(--zn-font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: rgba(250, 246, 238, 0.5);
  display: flex; align-items: center; gap: 10px;
}
.aiflow-note::before {
  content: "//";
  color: var(--zn-terracotta-500);
}

/* ============================================================
   COMPARE — manual vs auto by industry
   ============================================================ */
.compare {
  background: var(--zn-forest-900);
  color: var(--zn-cream-50);
  border-top: 1px solid var(--zn-forest-800);
  border-bottom: 1px solid var(--zn-forest-800);
}
.compare .marker { color: var(--zn-terracotta-500); }
.compare .marker::before { color: rgba(250, 246, 238, 0.4); }
.compare h2 { color: var(--zn-cream-50); }
.compare h2 em { color: var(--zn-terracotta-500); }
.compare .lede { color: rgba(250, 246, 238, 0.7); }

.industry-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.industry-tab {
  font-family: var(--zn-font-sans);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(250, 246, 238, 0.05);
  color: rgba(250, 246, 238, 0.65);
  border: 1px solid rgba(250, 246, 238, 0.1);
  transition: all 200ms var(--zn-ease-out);
}
.industry-tab:hover { color: var(--zn-cream-50); border-color: rgba(250, 246, 238, 0.3); }
.industry-tab.active {
  background: var(--zn-cream-50);
  color: var(--zn-forest-900);
  border-color: var(--zn-cream-50);
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0;
  border: 1px solid rgba(250, 246, 238, 0.12);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(250, 246, 238, 0.02);
}
@media (max-width: 900px) {
  .compare-grid { grid-template-columns: 1fr; }
  .compare-divider { display: none; }
}
.compare-col { padding: 36px clamp(20px, 3vw, 40px); }
.compare-col .col-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(250, 246, 238, 0.12);
  margin-bottom: 24px;
}
.compare-col .col-title {
  font-family: var(--zn-font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(250, 246, 238, 0.55);
}
.compare-col.manual .col-title::before { content: "● "; color: var(--zn-danger); }
.compare-col.auto   .col-title::before { content: "● "; color: var(--zn-success); }
.col-total {
  font-family: var(--zn-font-display);
  font-size: 28px;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.compare-col.manual .col-total { color: #f7a08f; }
.compare-col.auto   .col-total { color: #8ad6ad; }

.compare-divider {
  background: linear-gradient(180deg, transparent, rgba(250, 246, 238, 0.2), transparent);
}

.event-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.event {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: start;
}
.event .time {
  font-family: var(--zn-font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(250, 246, 238, 0.45);
  padding-top: 2px;
}
.event .body {
  border-left: 1px solid rgba(250, 246, 238, 0.12);
  padding-left: 16px;
  padding-bottom: 4px;
}
.event .body .ttl {
  font-weight: 600;
  color: var(--zn-cream-50);
  font-size: 15px;
  margin: 0 0 4px;
}
.event .body .meta {
  font-size: 13px;
  color: rgba(250, 246, 238, 0.6);
  margin: 0 0 6px;
  line-height: 1.45;
}
.event .body .tag {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--zn-font-mono);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.event.bad .tag  { background: rgba(178, 59, 46, 0.2); color: #f7a08f; }
.event.good .tag { background: rgba(42, 115, 85, 0.25); color: #8ad6ad; }

/* ============================================================
   TESTIMONIAL ROW — quote + giant stat
   ============================================================ */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .testimonial-grid { grid-template-columns: 1fr; } }

.testimonial {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--zn-cream-100);
  border: 1px solid var(--zn-cream-200);
  border-radius: 20px;
  overflow: hidden;
}
.testimonial .quote {
  padding: 32px;
  font-family: var(--zn-font-display);
  font-weight: 400;
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--zn-fg);
}
.testimonial .quote::before {
  content: "\201C";
  font-size: 64px;
  line-height: 0.6;
  color: var(--zn-terracotta-600);
  margin-right: 4px;
  vertical-align: -12px;
}
.testimonial .author {
  display: flex; align-items: center; gap: 12px;
  padding: 0 32px 16px;
  font-size: 14px;
}
.testimonial .author .avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--zn-forest-700);
  color: var(--zn-cream-50);
  display: grid; place-items: center;
  font-family: var(--zn-font-display);
  font-weight: 600;
  font-size: 18px;
}
.testimonial .author .name { font-weight: 600; color: var(--zn-fg); }
.testimonial .author .role { color: var(--zn-fg-secondary); font-size: 13px; }
.testimonial .stat {
  padding: 24px 32px 32px;
  border-top: 1px dashed var(--zn-cream-200);
  display: flex; flex-direction: column; gap: 4px;
}
.testimonial .stat .num {
  font-family: var(--zn-font-display);
  font-weight: 500;
  font-size: clamp(38px, 3.2vw, 56px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--zn-terracotta-600);
}
.testimonial .stat .label {
  font-family: var(--zn-font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--zn-fg-tertiary);
}

/* ============================================================
   CALCULATOR
   ============================================================ */
.calc {
  background: var(--zn-cream-100);
}
.calc-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: stretch;
}
@media (max-width: 980px) { .calc-wrap { grid-template-columns: 1fr; } }

.calc-controls {
  display: flex; flex-direction: column; gap: 28px;
}
.field {
  display: flex; flex-direction: column; gap: 12px;
}
.field-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 14px;
}
.field-label {
  font-size: 15px;
  color: var(--zn-fg);
  font-weight: 500;
  line-height: 1.35;
}
.field-value {
  font-family: var(--zn-font-display);
  font-weight: 600;
  font-size: 32px;
  letter-spacing: -0.02em;
  color: var(--zn-forest-900);
  white-space: nowrap;
}
.field-value .unit {
  font-size: 14px;
  font-family: var(--zn-font-sans);
  color: var(--zn-fg-tertiary);
  font-weight: 500;
  margin-left: 4px;
}

input[type="range"].slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: var(--zn-cream-200);
  border-radius: 999px;
  outline: none;
  cursor: pointer;
}
input[type="range"].slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px; height: 24px;
  background: var(--zn-forest-700);
  border-radius: 50%;
  border: 4px solid var(--zn-cream-50);
  box-shadow: 0 2px 8px rgba(28, 86, 64, 0.3);
  transition: transform 120ms var(--zn-ease-out);
}
input[type="range"].slider::-webkit-slider-thumb:hover { transform: scale(1.12); }
input[type="range"].slider::-moz-range-thumb {
  width: 24px; height: 24px;
  background: var(--zn-forest-700);
  border-radius: 50%;
  border: 4px solid var(--zn-cream-50);
  box-shadow: 0 2px 8px rgba(28, 86, 64, 0.3);
}

.calc-result {
  background: var(--zn-forest-900);
  color: var(--zn-cream-50);
  border-radius: 24px;
  padding: clamp(28px, 3.5vw, 48px);
  display: flex; flex-direction: column; gap: 24px;
  position: relative;
  overflow: hidden;
}
.calc-result::before {
  content: "";
  position: absolute;
  inset: -50% -20% auto auto;
  width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(204, 90, 54, 0.4), transparent 60%);
  filter: blur(40px);
  z-index: 0;
}
.calc-result > * { position: relative; }

.calc-result .lose-label {
  font-family: var(--zn-font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(250, 246, 238, 0.6);
}
.calc-result .big-num {
  font-family: var(--zn-font-display);
  font-size: clamp(56px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 500;
  color: var(--zn-terracotta-500);
}
.calc-result .big-num .unit {
  font-size: 0.45em;
  color: rgba(250, 246, 238, 0.65);
  margin-left: 8px;
  font-family: var(--zn-font-sans);
  font-weight: 500;
  letter-spacing: 0;
}
.calc-result .sub {
  color: rgba(250, 246, 238, 0.7);
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
}
.calc-divider {
  height: 1px;
  background: rgba(250, 246, 238, 0.15);
  margin: 4px 0;
}
.calc-result .year {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: end;
}
.calc-result .year .yearlbl {
  font-family: var(--zn-font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(250, 246, 238, 0.6);
  margin-bottom: 6px;
}
.calc-result .year .yearnum {
  font-family: var(--zn-font-display);
  font-size: clamp(38px, 4.2vw, 56px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}

/* ============================================================
   TECH MARQUEE (logos as wordmarks)
   ============================================================ */
.tech-marquee {
  padding-block: 56px;
  border-block: 1px solid var(--zn-border-subtle);
  background: var(--zn-cream-100);
  overflow: hidden;
}
.tech-marquee-track {
  display: flex; gap: 56px;
  width: max-content;
  animation: scroll-x 50s linear infinite;
}
.tech-marquee-track:hover { animation-play-state: paused; }
.tech-item {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--zn-font-display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--zn-ink-500);
  white-space: nowrap;
  opacity: 0.7;
  transition: opacity 200ms;
}
.tech-item:hover { opacity: 1; color: var(--zn-forest-700); }
.tech-item .glyph {
  width: 26px; height: 26px;
  border-radius: 6px;
  background: var(--zn-forest-700);
  color: var(--zn-cream-50);
  display: grid; place-items: center;
  font-family: var(--zn-font-sans);
  font-size: 13px;
  font-weight: 700;
}
.tech-item .glyph.terra { background: var(--zn-terracotta-600); }
.tech-item .glyph.sand { background: var(--zn-sand-500); color: var(--zn-forest-900); }
.tech-item .glyph.ink { background: var(--zn-ink-700); }
@keyframes scroll-x {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   PROCESS / steps
   ============================================================ */
.process-rail {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 8px;
}
@media (max-width: 1080px) { .process-rail { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-rail { grid-template-columns: 1fr; } }
.step {
  background: var(--zn-bg-elevated);
  border: 1px solid var(--zn-border-subtle);
  border-radius: 18px;
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 280px;
  position: relative;
  transition: transform 200ms, box-shadow 200ms;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--zn-shadow-md); }
.step .num {
  font-family: var(--zn-font-display);
  font-weight: 500;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--zn-terracotta-600);
}
.step h4 {
  font-family: var(--zn-font-sans);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  margin: 0;
}
.step p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--zn-fg-secondary);
  margin: 0;
}
.step .meta {
  margin-top: auto;
  font-family: var(--zn-font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--zn-fg-tertiary);
  padding-top: 12px;
  border-top: 1px solid var(--zn-border-subtle);
}

/* ============================================================
   FAQ — terminal/list style
   ============================================================ */
.faq-list {
  border-top: 1px solid var(--zn-border-subtle);
}
.faq-item {
  border-bottom: 1px solid var(--zn-border-subtle);
}
.faq-q {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  font-family: var(--zn-font-display);
  font-weight: 500;
  font-size: clamp(22px, 2vw, 32px);
  letter-spacing: -0.02em;
  color: var(--zn-fg);
  cursor: pointer;
  transition: color 200ms;
}
.faq-q:hover { color: var(--zn-terracotta-600); }
.faq-q .plus {
  flex: none;
  position: relative;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--zn-cream-100);
  display: grid; place-items: center;
}
.faq-q .plus::before, .faq-q .plus::after {
  content: ""; position: absolute;
  background: var(--zn-fg);
  transition: transform 200ms, background 200ms;
}
.faq-q .plus::before { width: 12px; height: 2px; }
.faq-q .plus::after  { width: 2px; height: 12px; }
.faq-item.open .faq-q .plus { background: var(--zn-terracotta-600); }
.faq-item.open .faq-q .plus::before,
.faq-item.open .faq-q .plus::after { background: var(--zn-cream-50); }
.faq-item.open .faq-q .plus::after { transform: scaleY(0); }
.faq-a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 360ms var(--zn-ease-out);
}
.faq-a > div { overflow: hidden; }
.faq-a-inner {
  padding: 0 0 28px;
  max-width: 70ch;
  font-size: 16px;
  line-height: 1.6;
  color: var(--zn-fg-secondary);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }

/* ============================================================
   FOUNDER strip
   ============================================================ */
.founder {
  background: var(--zn-forest-900);
  color: var(--zn-cream-50);
  border-radius: 28px;
  padding: clamp(40px, 5vw, 80px);
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.founder::before {
  content: "";
  position: absolute;
  width: 80%; height: 80%;
  bottom: -30%; left: -20%;
  background: radial-gradient(circle, rgba(204, 90, 54, 0.35), transparent 60%);
  filter: blur(40px);
  z-index: 0;
}
.founder > * { position: relative; z-index: 1; }
@media (max-width: 900px) {
  .founder { grid-template-columns: 1fr; padding: 40px 28px; }
}

.founder-portrait {
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  background: var(--zn-forest-700);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(250, 246, 238, 0.12);
  max-width: 320px;
}
.founder-portrait .initials {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--zn-font-display);
  font-weight: 500;
  font-size: clamp(100px, 12vw, 180px);
  color: var(--zn-cream-50);
  letter-spacing: -0.04em;
  opacity: 0.92;
}
.founder-portrait .badge-corner {
  position: absolute;
  top: 14px; left: 14px;
  font-family: var(--zn-font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: rgba(250, 246, 238, 0.15);
  color: var(--zn-cream-50);
  padding: 5px 10px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.founder-text .marker { color: var(--zn-terracotta-500); }
.founder-text .marker::before { color: rgba(250, 246, 238, 0.4); }
.founder-text h2 {
  font-family: var(--zn-font-display);
  font-weight: 500;
  font-size: clamp(36px, 4.5vw, 64px);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--zn-cream-50);
  margin: 16px 0 24px;
}
.founder-text p {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(250, 246, 238, 0.75);
  margin: 0 0 16px;
  max-width: 52ch;
}
.founder-text p strong { color: var(--zn-cream-50); font-weight: 600; }
.founder-text .actions { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   CTA giant
   ============================================================ */
.cta-strip {
  padding-block: clamp(96px, 12vw, 180px);
  text-align: center;
}
.cta-strip h2 {
  font-family: var(--zn-font-display);
  font-weight: 500;
  font-size: clamp(56px, 9vw, 144px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  margin: 0 0 24px;
}
.cta-strip h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--zn-terracotta-600);
}
.cta-strip p {
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--zn-fg-secondary);
  max-width: 56ch;
  margin: 0 auto 36px;
  line-height: 1.5;
}
.cta-strip .actions {
  display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center;
}
.cta-strip .reassure {
  margin-top: 16px;
  font-family: var(--zn-font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--zn-fg-tertiary);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--zn-forest-900);
  color: var(--zn-cream-50);
  padding-block: 64px 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(250, 246, 238, 0.12);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.footer-grid p { font-size: 14px; line-height: 1.55; color: rgba(250, 246, 238, 0.65); max-width: 38ch; margin: 16px 0 0; }
.footer-col h5 {
  font-family: var(--zn-font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(250, 246, 238, 0.5);
  margin: 0 0 16px;
  font-weight: 500;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--zn-cream-50); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 200ms; }
.footer-col a:hover { color: var(--zn-terracotta-500); }
.footer .logo { color: var(--zn-cream-50); }
.footer .logo .dim { color: rgba(250, 246, 238, 0.5); }
.footer-bottom {
  padding-top: 24px;
  display: flex; justify-content: space-between; gap: 16px;
  font-size: 12px;
  font-family: var(--zn-font-mono);
  letter-spacing: 0.06em;
  color: rgba(250, 246, 238, 0.45);
  text-transform: lowercase;
}
@media (max-width: 600px) { .footer-bottom { flex-direction: column; } }

/* ============================================================
   utility
   ============================================================ */
.center { text-align: center; }
.muted { color: var(--zn-fg-tertiary); }
.acc { color: var(--zn-terracotta-600); }

/* ============================================================
   CONTACT FORM (FormSubmit)
   ============================================================ */
.contact-form {
  max-width: 560px;
  margin: 8px auto 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-form .cf-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.contact-form .cf-row .cf-input { flex: 1 1 200px; }
.contact-form .cf-input {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--zn-fg);
  background: var(--zn-bg-elevated);
  border: 1px solid var(--zn-border);
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-form .cf-input::placeholder { color: var(--zn-fg-muted); }
.contact-form .cf-input:focus {
  outline: none;
  border-color: var(--zn-terracotta-500);
  box-shadow: 0 0 0 3px var(--zn-terracotta-100);
}
.contact-form textarea.cf-input { resize: vertical; min-height: 120px; }
.contact-form button[type="submit"] {
  align-self: flex-start;
  margin-top: 4px;
  cursor: pointer;
  border: none;
}
.contact-form .cf-status,
.cta-strip .cf-status {
  max-width: 560px;
  margin: 18px auto 0;
  padding: 16px 18px;
  border-radius: 12px;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
}
.cf-status--ok {
  color: var(--zn-fg-brand);
  background: color-mix(in srgb, var(--zn-fg-brand) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--zn-fg-brand) 30%, transparent);
}
.cf-status--err {
  color: var(--zn-terracotta-700);
  background: var(--zn-terracotta-100);
  border: 1px solid var(--zn-terracotta-500);
}
