/* =============================================================
   Opsifera AI — main theme stylesheet
   ============================================================= */

:root {
  --bg: #ffffff;
  --bg-soft: #fafaf9;
  --bg-tint: #f4f5f3;
  --ink: #0b0d0c;
  --ink-2: #1a1d1c;
  --muted: #6b7280;
  --muted-2: #9ca3af;
  --line: #e7e7e4;
  --line-2: #ececea;
  --accent: #00d4a8;
  --accent-ink: #003d30;
  --accent-soft: #e6faf3;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --container: 1200px;
  --shadow-sm: 0 1px 0 rgba(10,13,12,.04), 0 1px 2px rgba(10,13,12,.04);
  --shadow-md: 0 8px 24px -12px rgba(10,13,12,.12), 0 2px 6px -2px rgba(10,13,12,.05);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Geist', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.mono { font-family: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.02em; font-weight: 600; color: var(--ink); }
h1 { font-size: 72px; line-height: 1.02; letter-spacing: -0.035em; font-weight: 500; }
h2 { font-size: 44px; line-height: 1.08; letter-spacing: -0.03em; font-weight: 500; }
h3 { font-size: 20px; line-height: 1.3; letter-spacing: -0.015em; }
p { margin: 0; color: var(--muted); }

/* ---------- nav ---------- */
.nav-wrap {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.brand-suffix { color: var(--muted-2); font-weight: 400; }
.brand-mark {
  width: 22px; height: 22px;
  display: inline-block; flex-shrink: 0;
}
.nav-links { display: flex; gap: 32px; font-size: 14px; }
.nav-links a { color: var(--muted); transition: color .15s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

/* WP-generated nav menu fallback */
.nav-links ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 32px; }
.nav-links li a { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer; user-select: none;
  transition: all .15s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; }
.btn-ghost { color: var(--ink); border-color: var(--line); background: #fff; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-lg { padding: 14px 24px; font-size: 15px; }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(2px); }

/* ---------- shared ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Geist Mono', monospace;
  font-size: 12px; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--muted);
  padding: 6px 12px; border-radius: 999px;
  background: var(--bg-tint); border: 1px solid var(--line);
}
.eyebrow.eyebrow-dark {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
  color: rgba(255,255,255,.7);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,212,168,.18);
}
section { padding: 110px 0; border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head p { margin-top: 18px; font-size: 18px; color: var(--muted); }

/* ---------- hero ---------- */
.hero { padding: 120px 0 110px; text-align: center; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.hero .eyebrow { margin-bottom: 32px; }
.hero h1 { max-width: 980px; margin: 0 auto 28px; }
.hero h1 em { font-style: normal; color: var(--muted-2); }
.hero .lead { max-width: 620px; margin: 0 auto 40px; font-size: 19px; color: var(--muted); line-height: 1.55; }
.hero-cta { display: flex; gap: 12px; justify-content: center; margin-bottom: 64px; flex-wrap: wrap; }
.hero-art {
  margin: 0 auto; max-width: 1040px; height: 360px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(60% 80% at 20% 30%, rgba(0,212,168,.55), transparent 60%),
    radial-gradient(50% 70% at 85% 70%, rgba(0,212,168,.25), transparent 60%),
    radial-gradient(40% 60% at 60% 20%, rgba(170,255,225,.6), transparent 60%),
    linear-gradient(135deg, #f4fbf8 0%, #ecf6f2 100%);
  position: relative; overflow: hidden;
  border: 1px solid var(--line);
}
.hero-art::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(11,13,12,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,13,12,.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.hero-art-label {
  position: absolute; left: 24px; bottom: 20px;
  font-family: 'Geist Mono', monospace; font-size: 11px;
  color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase;
}
.hero-art-orb {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 220px; height: 220px; border-radius: 50%;
  background: conic-gradient(from 180deg, var(--accent), #aaffe1, var(--accent), #007a62, var(--accent));
  filter: blur(2px);
  box-shadow: 0 30px 80px -20px rgba(0,212,168,.45);
}
.hero-art-orb::after {
  content: ""; position: absolute; inset: 8px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, transparent 60%), #0b0d0c;
}

/* ---------- features ---------- */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
}
.feature {
  background: #fff; padding: 36px 32px 40px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 280px;
  transition: background .2s ease, color .2s ease;
}
.feature-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--bg-tint); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink); margin-bottom: 8px;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 { margin-bottom: 2px; transition: color .2s ease; }
.feature p { font-size: 15px; line-height: 1.55; transition: color .2s ease; }
.feature .tag {
  font-family: 'Geist Mono', monospace; font-size: 11px;
  color: var(--accent); letter-spacing: 0.06em; text-transform: uppercase;
  font-weight: 600;
  transition: color .2s ease;
  margin: -4px 0 -2px;
}
.feature:hover,
.feature.feature-accent { background: var(--ink); color: #fff; }
.feature:hover h3,
.feature.feature-accent h3 { color: #fff; }
.feature:hover p,
.feature.feature-accent p { color: rgba(255,255,255,.65); }
.feature:hover .feature-icon,
.feature.feature-accent .feature-icon { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: var(--accent); }
.feature:hover .tag,
.feature.feature-accent .tag { color: var(--accent); }

/* ---------- process / steps ---------- */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  background: #fff;
  position: relative;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 320px;
}
.step-num {
  font-family: 'Geist Mono', monospace;
  font-size: 13px; color: var(--accent-ink);
  background: var(--accent-soft);
  border: 1px solid rgba(0,212,168,.25);
  width: fit-content; padding: 4px 10px; border-radius: 999px;
  letter-spacing: 0.04em;
}
.step h3 { margin-top: 6px; font-size: 22px; }
.step p { font-size: 15px; line-height: 1.6; }
.step-art {
  margin-top: auto; height: 96px; border-radius: 10px;
  border: 1px dashed var(--line-2);
  background:
    repeating-linear-gradient(135deg, transparent 0 10px, rgba(11,13,12,.025) 10px 11px),
    var(--bg-soft);
  position: relative; overflow: hidden;
}
.step-art::after {
  content: attr(data-label);
  position: absolute; left: 12px; bottom: 8px;
  font-family: 'Geist Mono', monospace; font-size: 10px;
  color: var(--muted-2); letter-spacing: 0.06em; text-transform: uppercase;
}
.step-art-image {
  border: 1px solid var(--line); border-style: solid; background: var(--bg-soft);
  height: 160px; margin: 0; margin-top: auto;
}
.step-art-image img {
  width: 100%; height: 100%; display: block;
  object-fit: cover; border-radius: 10px;
}
.step-art-image::after { content: none; }

/* ---------- integrations ---------- */
.integrations-section { background: var(--bg-soft); }
.integrations-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
}
.integration {
  aspect-ratio: 1 / 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px;
  transition: all .15s ease;
}
.integration:hover { border-color: var(--ink); transform: translateY(-2px); }
.integration .iglyph {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 600;
  font-family: 'Geist Mono', monospace; font-size: 16px;
}
.integration .iname {
  font-size: 13px; color: var(--muted); font-weight: 500;
}
.integration:hover .iname { color: var(--ink); }
.ig-1  { background: linear-gradient(135deg,#0b0d0c,#3a3a3a); }
.ig-2  { background: linear-gradient(135deg,var(--accent),#007a62); }
.ig-3  { background: linear-gradient(135deg,#f97316,#fb923c); }
.ig-4  { background: linear-gradient(135deg,#8b5cf6,#a78bfa); }
.ig-5  { background: linear-gradient(135deg,#3b82f6,#60a5fa); }
.ig-6  { background: linear-gradient(135deg,#ec4899,#f472b6); }
.ig-7  { background: linear-gradient(135deg,#10b981,#34d399); }
.ig-8  { background: linear-gradient(135deg,#0b0d0c,#525252); }
.ig-9  { background: linear-gradient(135deg,#ef4444,#f87171); }
.ig-10 { background: linear-gradient(135deg,#0ea5e9,#38bdf8); }
.ig-11 { background: linear-gradient(135deg,#eab308,#fde047); color:#0b0d0c; }
.ig-12 { background: linear-gradient(135deg,#14b8a6,#5eead4); }

/* ---------- testimonials ---------- */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.quote {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; background: #fff;
  display: flex; flex-direction: column; gap: 24px;
  min-height: 280px;
}
.quote-mark {
  font-family: 'Geist Mono', monospace;
  color: var(--accent); font-size: 32px; line-height: 1;
  font-weight: 500;
}
.quote-text {
  font-size: 17px; line-height: 1.5; color: var(--ink);
  letter-spacing: -0.005em; flex: 1;
}
.quote-person {
  display: flex; align-items: center; gap: 12px;
  border-top: 1px solid var(--line); padding-top: 20px;
}
.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #007a62);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600;
  flex-shrink: 0; overflow: hidden;
}
.avatar.av-2 { background: linear-gradient(135deg,#0b0d0c,#3a3a3a); }
.avatar.av-3 { background: linear-gradient(135deg,#8b5cf6,#3b82f6); }
.avatar.av-4 { background: linear-gradient(135deg,#f97316,#fb923c); }
.avatar.av-5 { background: linear-gradient(135deg,#3b82f6,#60a5fa); }
.avatar.av-6 { background: linear-gradient(135deg,#ec4899,#f472b6); }
.person-name { font-size: 14px; font-weight: 500; color: var(--ink); }
.person-role { font-size: 13px; color: var(--muted); }

/* ---------- testimonial slider (3-up paged) ---------- */
.t-slider {
  position: relative; margin: 0 auto;
  --t-gap: 20px;
  --t-per-view: 3;
}
.t-viewport { overflow: hidden; }
.t-track {
  display: flex;
  gap: var(--t-gap);
  transition: transform .5s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.t-track > .quote {
  flex: 0 0 calc((100% - var(--t-gap) * (var(--t-per-view) - 1)) / var(--t-per-view));
  min-height: 280px;
}
@media (max-width: 1024px) {
  .t-slider { --t-per-view: 3; }
}
@media (max-width: 700px) {
  .t-slider { --t-per-view: 1; }
}

/* =============================================================
   Blog / page templates
   ============================================================= */
.container-narrow { max-width: 760px; }

.page-hero {
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--line);
}
.page-hero.page-hero-center { text-align: center; }
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero h1 {
  font-size: 56px; line-height: 1.05; letter-spacing: -0.03em;
  font-weight: 500; max-width: 880px; margin: 0;
}
.page-hero .lead { margin-top: 18px; font-size: 18px; color: var(--muted); max-width: 640px; }
.page-hero.page-hero-center h1, .page-hero.page-hero-center .lead { margin-left: auto; margin-right: auto; }

.entry-meta {
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
  margin-top: 20px; font-size: 14px; color: var(--muted);
  font-family: 'Geist Mono', monospace; letter-spacing: 0.02em;
}
.entry-meta-sep { color: var(--muted-2); }

.page-content { padding: 64px 0 96px; }
.entry-thumb {
  margin: 0 0 32px; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line);
}
.entry-thumb img { width: 100%; height: auto; display: block; }
.entry-prose { font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.entry-prose > * + * { margin-top: 1.1em; }
.entry-prose h2 { font-size: 30px; line-height: 1.15; margin-top: 1.5em; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); }
.entry-prose h3 { font-size: 22px; line-height: 1.25; margin-top: 1.3em; font-weight: 500; color: var(--ink); }
.entry-prose p { color: var(--ink-2); }
.entry-prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.entry-prose a:hover { color: var(--accent-ink); }
.entry-prose blockquote {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 20px; margin: 1.4em 0;
  color: var(--ink); font-style: italic;
}
.entry-prose code {
  background: var(--bg-tint); padding: 2px 6px; border-radius: 5px;
  font-family: 'Geist Mono', monospace; font-size: .9em;
}
.entry-prose pre {
  background: var(--ink); color: #f4f5f3; padding: 18px 20px;
  border-radius: var(--radius); overflow-x: auto;
  font-family: 'Geist Mono', monospace; font-size: 14px; line-height: 1.55;
}
.entry-prose pre code { background: transparent; padding: 0; color: inherit; }
.entry-prose ul, .entry-prose ol { padding-left: 22px; }
.entry-prose li + li { margin-top: 0.4em; }
.entry-prose img { max-width: 100%; height: auto; border-radius: var(--radius); }
.entry-prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }

.entry-tags {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line);
}
.tag-pill {
  font-family: 'Geist Mono', monospace; font-size: 12px;
  color: var(--muted); padding: 4px 10px; border-radius: 999px;
  background: var(--bg-tint); border: 1px solid var(--line);
}
.tag-pill:hover { color: var(--ink); border-color: var(--ink); }

.post-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line);
}
.post-nav-link {
  display: flex; flex-direction: column; gap: 4px;
  padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .15s ease;
}
.post-nav-link.next { text-align: right; grid-column: 2; }
.post-nav-link.prev:only-child { grid-column: 1 / span 2; }
.post-nav-link:hover { border-color: var(--ink); }
.post-nav-dir { font-size: 12px; color: var(--muted); font-family: 'Geist Mono', monospace; letter-spacing: 0.04em; text-transform: uppercase; }
.post-nav-title { font-size: 16px; color: var(--ink); font-weight: 500; }

.entry-comments { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }

/* ---------- post grid (archive / category / search) ---------- */
.post-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.post-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.post-card:hover {
  border-color: var(--ink); transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.post-card-link { display: block; height: 100%; }
.post-card-thumb {
  margin: 0; aspect-ratio: 16 / 10; overflow: hidden;
  background: var(--bg-soft);
}
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card-thumb-empty {
  position: relative;
  background:
    radial-gradient(60% 80% at 30% 30%, rgba(0,212,168,.4), transparent 60%),
    radial-gradient(50% 70% at 80% 70%, rgba(0,212,168,.15), transparent 60%),
    linear-gradient(135deg, #f4fbf8, #ecf6f2);
}
.post-card-orb {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 80px; height: 80px; border-radius: 50%;
  background: conic-gradient(from 180deg, var(--accent), #aaffe1, var(--accent));
  filter: blur(2px); opacity: .85;
}
.post-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.post-card-cat {
  font-family: 'Geist Mono', monospace; font-size: 11px;
  color: var(--accent); font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.post-card-title {
  font-size: 19px; font-weight: 500; line-height: 1.25;
  color: var(--ink); margin: 0;
  letter-spacing: -0.015em;
}
.post-card-excerpt { font-size: 14px; color: var(--muted); line-height: 1.5; }
.post-card-meta {
  font-family: 'Geist Mono', monospace; font-size: 11px;
  color: var(--muted-2); letter-spacing: 0.04em;
  margin-top: 4px;
}

.pagination-wrap { margin-top: 56px; display: flex; justify-content: center; }
.pagination-wrap .page-numbers {
  display: inline-block; padding: 8px 14px; border: 1px solid var(--line);
  border-radius: 8px; margin: 0 4px; font-size: 14px; color: var(--ink);
}
.pagination-wrap .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination-wrap a.page-numbers:hover { border-color: var(--ink); }

.search-form { display: flex; gap: 8px; margin-top: 20px; max-width: 480px; }
.search-form .search-field { flex: 1; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; font: inherit; }
.search-form .search-field:focus { border-color: var(--ink); outline: 0; }

.empty-state { text-align: center; padding: 64px 0; color: var(--muted); }

@media (max-width: 1024px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .page-hero h1 { font-size: 44px; }
}
@media (max-width: 640px) {
  .post-grid { grid-template-columns: 1fr; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav-link.next, .post-nav-link.prev { grid-column: 1; text-align: left; }
  .page-hero { padding: 56px 0 40px; }
  .page-hero h1 { font-size: 34px; }
  .entry-prose { font-size: 16px; }
  .entry-prose h2 { font-size: 24px; }
}
.t-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 20px; margin-top: 28px;
}
.t-nav {
  width: 40px; height: 40px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--ink);
  transition: all .15s ease;
}
.t-nav:hover { border-color: var(--ink); transform: translateY(-1px); }
.t-nav:disabled { opacity: .35; cursor: not-allowed; transform: none; }
.t-nav svg { width: 18px; height: 18px; }
.t-dots { display: flex; align-items: center; gap: 8px; }
.t-dot {
  width: 8px; height: 8px; border-radius: 50%;
  border: 0; background: var(--line-2); cursor: pointer; padding: 0;
  transition: all .15s ease;
}
.t-dot:hover { background: var(--muted-2); }
.t-dot.is-active {
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,212,168,.18);
  width: 24px; border-radius: 999px;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  padding: 100px 0; text-align: center;
  background: var(--ink); color: #fff;
  border-bottom: none;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(40% 60% at 20% 30%, rgba(0,212,168,.18), transparent 60%),
    radial-gradient(40% 60% at 80% 70%, rgba(0,212,168,.12), transparent 60%);
}
.cta-banner > .container { position: relative; }
.cta-banner h2 { color: #fff; max-width: 720px; margin: 0 auto 18px; }
.cta-banner p { color: rgba(255,255,255,.6); max-width: 520px; margin: 0 auto 32px; font-size: 18px; }
.cta-banner .btn-primary { background: var(--accent); color: var(--accent-ink); }
.cta-banner .btn-primary:hover { background: #aaffe1; }
.cta-banner .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.2); }
.cta-banner .btn-ghost:hover { border-color: #fff; }

/* ---------- footer ---------- */
footer { padding: 56px 0 40px; background: #fff; }
.foot {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding-bottom: 28px; border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.foot-links {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 32px;
}
.foot-links a { font-size: 14px; color: var(--ink-2); }
.foot-links a:hover { color: var(--accent-ink); }
.foot-bottom {
  display: flex; justify-content: space-between; padding-top: 24px;
  font-size: 13px; color: var(--muted);
}
.foot-bottom .mono { font-size: 12px; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  h1 { font-size: 56px; }
  h2 { font-size: 36px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps, .testimonials-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  h1 { font-size: 40px; }
  h2 { font-size: 30px; }
  section { padding: 72px 0; }
  .hero { padding: 72px 0; }
  .hero-art { height: 240px; }
  .nav-links { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .foot { flex-direction: column; align-items: flex-start; gap: 20px; }
  .foot-links { flex-wrap: wrap; gap: 18px; }
  .foot-bottom { flex-direction: column; gap: 8px; }
}
