/* ========== ButIA — site styles ========== */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --orange: #E8700A;
  --orange-soft: rgba(232, 112, 10, 0.12);
  --orange-line: rgba(232, 112, 10, 0.28);
  --bg: #0a0a0a;
  --bg-1: #0e0e0e;
  --bg-2: #141414;
  --bg-3: #1a1a1a;
  --line: #1f1f1f;
  --line-2: #2a2a2a;
  --text: #f2f2f2;
  --text-2: #b8b8b8;
  --muted: #7a7a7a;
  --muted-2: #525252;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Menlo", monospace;
  --maxw: 1240px;
  --pad: clamp(20px, 4vw, 56px);
}

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}
body { overflow-x: hidden; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

::selection { background: var(--orange); color: #000; }

/* Subtle grid overlay - extremely faint */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.012) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 1;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 90%);
}

/* ===== Container ===== */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  position: relative;
  z-index: 2;
}

/* ===== Display type ===== */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 18px; height: 1px;
  background: var(--orange);
  display: inline-block;
}
.h-display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: #fafafa;
  text-wrap: balance;
}
.h-section {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-size: clamp(32px, 4.5vw, 56px);
  text-wrap: balance;
}
.h-orange { color: var(--orange); }
.t-muted { color: var(--text-2); }
.t-mono { font-family: var(--font-mono); }

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, background 0.25s;
}
.nav.scrolled {
  border-bottom-color: var(--line);
  background: rgba(10, 10, 10, 0.88);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.nav-logo .nl-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav-logo .nl-mark img { display: block; height: 32px; width: auto; }
.nav-logo .nl-mark svg { width: 30px; height: 30px; }
.nav-logo .nl-text { color: #fff; }
.nav-logo .nl-text em { color: var(--orange); font-style: normal; }
.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  font-size: 14px;
  color: var(--text-2);
  transition: color 0.18s;
  position: relative;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--orange);
  color: #0a0a0a;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.15s, box-shadow 0.18s;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -8px rgba(232,112,10,0.55);
}
.nav-burger {
  display: none;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  color: var(--text);
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: inline-flex; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  border-radius: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  transition: transform 0.15s, box-shadow 0.18s, background 0.18s, border-color 0.18s, color 0.18s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: #0a0a0a;
  box-shadow: 0 6px 24px -10px rgba(232,112,10,0.55), inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px -10px rgba(232,112,10,0.65), inset 0 1px 0 rgba(255,255,255,0.22);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-2);
}
.btn-ghost:hover {
  border-color: var(--orange-line);
  color: var(--orange);
}
.btn-arrow {
  transition: transform 0.18s;
}
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ===== Sections ===== */
section { position: relative; }
.section-pad {
  padding: clamp(64px, 9vw, 120px) 0;
}

/* ===== HERO ===== */
.hero {
  padding: clamp(72px, 11vw, 140px) 0 clamp(72px, 9vw, 110px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 80%;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(232,112,10,0.14), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(232,112,10,0.06), transparent 25%),
    radial-gradient(circle at 80% 70%, rgba(232,112,10,0.05), transparent 30%);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-family: var(--font-mono);
  background: rgba(232,112,10,0.08);
  border: 1px solid var(--orange-line);
  color: var(--orange);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 24px;
}
.hero-badge .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(232,112,10,0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(232,112,10,0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(232,112,10,0); }
  100% { box-shadow: 0 0 0 0 rgba(232,112,10,0); }
}

.hero h1 {
  font-size: clamp(40px, 6.4vw, 76px);
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: normal;
  color: var(--orange);
  background: linear-gradient(180deg, #f7a55a 0%, var(--orange) 60%, #b65508 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p.lead {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--text-2);
  max-width: 540px;
  margin-bottom: 36px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta {
  margin-top: 44px;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-meta .meta {
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  display: flex; align-items: center; gap: 8px;
}
.hero-meta .meta .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange);
}

/* ===== Hero panel (chat demo) ===== */
.demo-panel {
  background: linear-gradient(180deg, #131313 0%, #0d0d0d 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 30px 80px -20px rgba(0,0,0,0.5),
    0 0 0 1px rgba(232,112,10,0.04);
}
.demo-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, var(--orange-line), transparent 40%, transparent 60%, var(--orange-line));
  border-radius: 18px;
  z-index: 0;
  opacity: 0.6;
  pointer-events: none;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  padding: 1px;
}
.demo-head {
  display: flex; align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.012);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}
.demo-head .dots { display: flex; gap: 6px; margin-right: 6px; }
.demo-head .dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: #2a2a2a;
}
.demo-head .dots span:nth-child(1) { background: #ff5f57; }
.demo-head .dots span:nth-child(2) { background: #ffbd2e; }
.demo-head .dots span:nth-child(3) { background: #28ca41; }

.demo-body {
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 380px;
}
.bubble {
  max-width: 86%;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
  animation: bubbleIn 0.4s ease both;
}
@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.bubble.user {
  align-self: flex-end;
  background: rgba(232,112,10,0.13);
  border: 1px solid var(--orange-line);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.bubble.bot {
  align-self: flex-start;
  background: var(--bg-3);
  border: 1px solid var(--line);
  color: var(--text);
  border-bottom-left-radius: 4px;
}
.bubble.bot .bot-row {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 6px;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--orange);
}
.bubble.bot .bot-avatar {
  width: 18px; height: 18px;
  border-radius: 5px;
  background: rgba(232,112,10,0.18);
  display: grid; place-items: center;
  border: 1px solid var(--orange-line);
}
.bubble.bot .bot-avatar svg { width: 11px; height: 11px; }
.typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--muted);
  animation: typing 1.2s infinite;
}
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}
.demo-tools {
  display: flex; gap: 6px; padding: 10px 16px 14px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.demo-tool {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 8px;
  display: inline-flex; align-items: center; gap: 5px;
}
.demo-tool .ind {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--orange);
  animation: pulse-dot 1.6s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 0.4; } 50% { opacity: 1; }
}

/* Floating cards around demo */
.demo-wrap {
  position: relative;
}
.float-card {
  position: absolute;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-2);
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 14px 32px -12px rgba(0,0,0,0.6);
  animation: floaty 6s ease-in-out infinite;
  z-index: 3;
}
.float-card .fc-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--orange-soft);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.float-card .fc-icon svg { width: 14px; height: 14px; color: var(--orange); }
.float-card .fc-meta { display: flex; flex-direction: column; line-height: 1.3; }
.float-card .fc-meta .lbl { color: var(--muted); font-size: 10px; }
.float-card .fc-meta .val { color: var(--text); font-size: 13px; }

.float-card.one { top: -14px; left: -28px; animation-delay: 0s; }
.float-card.two { bottom: 24px; right: -38px; animation-delay: 1.5s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (max-width: 1100px) {
  .float-card.one, .float-card.two { display: none; }
}

/* ===== Hero inline stats ===== */
.hero-stats-inline {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 28px 36px;
  align-items: start;
}
@media (max-width: 600px) {
  .hero-stats-inline { grid-template-columns: 1fr 1fr; gap: 20px; }
}
.hs-item { min-width: 0; }
.hs-num {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 500;
  color: var(--orange);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.hs-lbl {
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.4;
  max-width: 180px;
}

/* ===== Problem stat (inside svc-card) ===== */
.problem-stat {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--orange);
}

/* ===== Services number ===== */
.svc-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 14px;
  letter-spacing: 0.08em;
}

/* ===== Rubros ===== */
.rubros-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 800px) { .rubros-grid { grid-template-columns: 1fr; } }
.rubro {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 28px;
  transition: border-color 0.2s, transform 0.25s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rubro:hover { border-color: var(--orange-line); transform: translateY(-3px); }
.rubro h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.rubro p {
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.55;
  flex: 1;
}
.rubro-save {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
}
.rubro-save .rs-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  width: 100%;
}
.rubro-save .rs-value {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--orange);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.rubro-save .rs-kind {
  font-size: 13.5px;
  color: var(--text-2);
}

/* ===== Logo strip ===== */
.logos {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  background: rgba(255,255,255,0.01);
}
.logos-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.logos-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.logos-row {
  display: flex; align-items: center; gap: 38px;
  flex-wrap: wrap;
}
.logos-row .lg {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  color: var(--muted);
  opacity: 0.7;
  letter-spacing: -0.01em;
  display: inline-flex; align-items: center; gap: 8px;
}
.logos-row .lg .marker {
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--muted-2);
}

/* ===== Section header ===== */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.section-head .left { max-width: 640px; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head p {
  margin-top: 16px;
  color: var(--text-2);
  font-size: 16px;
  max-width: 520px;
}

/* ===== Services / cards grid ===== */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) {
  .svc-grid { grid-template-columns: 1fr; }
}
.svc-card {
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-1) 100%);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
}
.svc-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  transition: width 0.4s;
}
.svc-card:hover {
  border-color: var(--orange-line);
  transform: translateY(-4px);
}
.svc-card:hover::before { width: 100%; }
.svc-card .ic {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--orange-soft);
  border: 1px solid var(--orange-line);
  display: grid; place-items: center;
  margin-bottom: 22px;
  color: var(--orange);
}
.svc-card .ic svg { width: 22px; height: 22px; }
.svc-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.svc-card p {
  font-size: 14.5px;
  color: var(--text-2);
  margin-bottom: 18px;
  line-height: 1.6;
}
.svc-card ul {
  list-style: none;
  display: flex; flex-direction: column; gap: 8px;
}
.svc-card ul li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px;
  color: var(--text-2);
  font-family: var(--font-mono);
}
.svc-card ul li::before {
  content: "→";
  color: var(--orange);
  font-family: var(--font-mono);
  flex-shrink: 0;
}

/* ===== Tabs ===== */
.tabs {
  display: inline-flex;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 4px;
  gap: 2px;
  margin-bottom: 36px;
}
.tab {
  background: transparent;
  border: none;
  color: var(--text-2);
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 7px;
  font-weight: 500;
  transition: all 0.18s;
}
.tab.active {
  background: var(--orange);
  color: #0a0a0a;
  font-weight: 600;
}
.tab:not(.active):hover { color: var(--text); }

/* ===== Use cases ===== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 800px) { .cases-grid { grid-template-columns: 1fr; } }
.case {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  min-height: 320px;
  transition: border-color 0.2s, transform 0.25s;
}
.case:hover { border-color: var(--orange-line); transform: translateY(-3px); }
.case .case-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
}
.case .case-status {
  position: absolute;
  top: 22px;
  right: 22px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d8c27a;
  background: rgba(216, 194, 122, 0.08);
  border: 1px solid rgba(216, 194, 122, 0.28);
  padding: 5px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.case .case-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #d8c27a;
  box-shadow: 0 0 0 0 rgba(216, 194, 122, 0.55);
  animation: pulseAmber 2s ease-out infinite;
}
@keyframes pulseAmber {
  0%   { box-shadow: 0 0 0 0 rgba(216, 194, 122, 0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(216, 194, 122, 0); }
  100% { box-shadow: 0 0 0 0 rgba(216, 194, 122, 0); }
}
.case h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.case p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.55;
  flex: 1;
}
.case .case-stat {
  display: flex; align-items: baseline; gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.case .case-stat .num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  color: var(--orange);
  letter-spacing: -0.02em;
}
.case .case-stat .lbl {
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
}
.case.feature {
  background: linear-gradient(135deg, rgba(232,112,10,0.07), rgba(232,112,10,0.02) 60%, transparent), var(--bg-2);
  grid-row: span 1;
}
.case.feature .case-graphic {
  margin-top: auto;
}

/* Code preview block (inside feature case) */
.codepreview {
  background: #0a0a0a;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 14px;
  margin-top: 16px;
  color: var(--text-2);
  line-height: 1.7;
  overflow: hidden;
}
.codepreview .ln { color: var(--muted-2); margin-right: 12px; user-select: none; }
.codepreview .kw { color: #f0a06a; }
.codepreview .str { color: #8fce8a; }
.codepreview .com { color: var(--muted-2); }

/* ===== Process timeline ===== */
.process {
  background: linear-gradient(180deg, var(--bg-1), var(--bg));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

.step {
  position: relative;
  padding: 28px 22px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color 0.2s;
}
.step:hover { border-color: var(--orange-line); }
.step .step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--orange);
  margin-bottom: 14px;
}
.step h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.step p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.5;
}
.step .step-icon {
  position: absolute;
  top: 22px; right: 22px;
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--orange-soft);
  display: grid; place-items: center;
  color: var(--orange);
}
.step .step-icon svg { width: 14px; height: 14px; }

/* ===== Stats band ===== */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-2);
}
@media (max-width: 800px) { .stats-band { grid-template-columns: repeat(2, 1fr); } }
.stat-cell {
  padding: 36px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-band .stat-cell:nth-child(4n) { border-right: 0; }
.stats-band .stat-cell:nth-last-child(-n+1),
.stats-band .stat-cell:nth-last-child(2),
.stats-band .stat-cell:nth-last-child(3),
.stats-band .stat-cell:nth-last-child(4) { border-bottom: 0; }
.stat-cell .num {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-cell .lbl {
  font-size: 13px;
  color: var(--text-2);
  font-family: var(--font-body);
}

/* ===== FAQ ===== */
.faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: var(--orange-line); }
.faq-q {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q .faq-plus {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: transform 0.25s, border-color 0.2s, background 0.2s;
  font-size: 16px;
  color: var(--text-2);
}
.faq-item.open .faq-q .faq-plus {
  transform: rotate(45deg);
  background: var(--orange);
  color: #0a0a0a;
  border-color: var(--orange);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a-inner {
  padding: 0 24px 22px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.6;
  max-width: 720px;
}

/* ===== CTA ===== */
.cta {
  background:
    radial-gradient(ellipse 60% 80% at 50% 100%, rgba(232,112,10,0.18), transparent 70%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  border: 1px solid var(--orange-line);
  border-radius: 22px;
  padding: clamp(48px, 7vw, 88px) clamp(28px, 5vw, 72px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232,112,10,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,112,10,0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 30%, transparent 80%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 2; }
.cta h2 {
  font-size: clamp(34px, 5vw, 56px);
}
.cta p {
  margin: 18px auto 32px;
  font-size: 17px;
  color: var(--text-2);
  max-width: 560px;
}
.cta-actions {
  display: flex; justify-content: center; gap: 12px; flex-wrap: wrap;
}
.cta-mail {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
}
.cta-mail a { color: var(--orange); }

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--line);
  padding: 52px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand p {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--text-2);
  max-width: 320px;
  line-height: 1.55;
}
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 14px;
  color: var(--text-2);
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-bottom p {
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
}

/* ===== Mobile menu ===== */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.96);
  backdrop-filter: blur(16px);
  z-index: 200;
  padding: 80px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transform: translateX(100%);
  transition: transform 0.3s;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--text);
}
.mobile-menu .close {
  position: absolute;
  top: 22px; right: 22px;
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--text);
  border-radius: 8px;
  width: 40px; height: 40px;
  display: grid; place-items: center;
}

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
