:root {
  --bg: #f0ebe3;
  --ink: #1a1a2e;
  --muted: #8c7e6e;
  --line: #c4b8a8;
  --line-light: #e8dfd3;
  --card: #faf7f2;
  --sand: #e8dfd3;
  --dark: #1a1a2e;
  --cream: #f0ebe3;
  --green: #16a34a;
  --border: #e8dfd3;
}

* { box-sizing: border-box; }
html { margin: 0; padding: 0; scroll-behavior: smooth; }
body { margin: 0; padding: 0; font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.55; }
a { color: inherit; }
img { max-width: 100%; height: auto; }

.container { width: min(1120px, 92vw); margin: 0 auto; }
.container-sm { width: min(800px, 92vw); margin: 0 auto; }
.container-lg { width: min(1280px, 94vw); margin: 0 auto; }

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-32px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(32px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes dash {
  to { stroke-dashoffset: 0; }
}
@keyframes countUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }
.animate-on-scroll.delay-5 { transition-delay: 0.5s; }

/* ── Navbar ── */
.navbar-spacer { height: 64px; }

.navbar-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 0;
  transition: padding 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.navbar-wrapper.navbar--floating {
  padding: 10px 20px 0;
}

.topbar {
  width: 100%;
  background: var(--card);
  border-bottom: 2px solid var(--ink);
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.topbar.topbar--floating {
  max-width: 780px;
  border: 2px solid var(--ink);
  backdrop-filter: blur(16px);
  background: rgba(250, 247, 242, 0.94);
  box-shadow: 0 8px 32px rgba(26, 26, 46, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 0 24px;
  transition: min-height 0.5s cubic-bezier(0.22, 1, 0.36, 1), padding 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.topbar--floating .nav-inner {
  min-height: 48px;
  padding: 0 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; }
.brand-mark svg { width: 24px; height: 24px; fill: var(--ink); }
.brand-text { font-weight: 800; font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase; }

.nav-center {
  display: flex;
  align-items: center;
  gap: 2px;
  position: relative;
}

.nav-center > a,
.nav-drop > .nav-drop-trigger {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  white-space: nowrap;
  position: relative;
  transition: color 0.15s ease;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-center > a:hover,
.nav-drop > .nav-drop-trigger:hover,
.nav-drop.open > .nav-drop-trigger {
  color: var(--ink);
}

.nav-center > a::before,
.nav-drop > .nav-drop-trigger::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 4px;
  background: var(--sand);
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: -1;
}

.nav-center > a:hover::before,
.nav-drop > .nav-drop-trigger:hover::before,
.nav-drop.open > .nav-drop-trigger::before {
  opacity: 1;
}

.nav-drop-arrow {
  width: 10px;
  height: 10px;
  transition: transform 0.2s ease;
}
.nav-drop.open .nav-drop-arrow { transform: rotate(180deg); }

/* Dropdown wrapper */
.nav-drop { position: relative; }

/* Mega menu panel */
.mega-menu {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--card);
  border-bottom: 2px solid var(--ink);
  box-shadow: 0 16px 48px rgba(26,26,46,0.08);
  z-index: 49;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}
.mega-menu.mega-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mega-inner {
  width: min(1120px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 240px;
  gap: 0;
  padding: 32px 0;
}
.mega-col {
  padding: 0 24px;
  border-right: 1px solid var(--line-light);
}
.mega-col:last-child { border-right: none; }
.mega-col-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0 0 14px;
}
.mega-col a {
  display: block;
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  padding: 7px 0;
  transition: color 0.15s ease;
}
.mega-col a:hover { color: var(--muted); }

/* Sidebar links with icons */
.mega-sidebar-link {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 10px 0 !important;
}
.mega-sidebar-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 2px solid var(--line-light);
  flex-shrink: 0;
}
.mega-sidebar-icon svg { width: 16px; height: 16px; color: var(--ink); }
.mega-sidebar-label { font-size: 13px !important; }

/* Mega menu header row */
.mega-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px 16px;
  border-bottom: 1px solid var(--line-light);
  margin-bottom: 20px;
  grid-column: 1 / -1;
}
.mega-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.mega-highlight {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.mega-highlight-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fbbf24;
  display: grid;
  place-items: center;
}
.mega-highlight-dot svg { width: 14px; height: 14px; }

/* Overlay */
.mega-overlay {
  position: fixed;
  inset: 0;
  z-index: 48;
  display: none;
}
.mega-overlay.show { display: block; }

.nav-cta {
  flex-shrink: 0;
}

.nav-cta .btn {
  padding: 8px 18px;
  font-size: 11px;
  transition: all 0.3s ease;
}

.topbar--floating .nav-cta .btn {
  padding: 6px 14px;
  font-size: 10px;
}

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--ink);
}

.nav-mobile-toggle svg { width: 22px; height: 22px; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  padding: 12px 24px;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: transform 0.12s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--card); }
.btn-primary:hover { background: #2a2a42; }
.btn-soft { background: var(--sand); color: var(--ink); border-color: var(--line); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--sand); }
.btn-lg { padding: 16px 32px; font-size: 14px; }
.btn-sm { padding: 8px 16px; font-size: 11px; }

/* ── Hero ── */
.hero { padding: 48px 0 60px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.hero-copy {
  animation: slideInLeft 0.8s ease both;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.hero-copy h1 span { color: var(--muted); font-weight: 600; }

.eyebrow, .section-kicker {
  margin: 0 0 10px;
  display: inline-block;
  background: var(--sand);
  padding: 4px 10px;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink);
}

.lead { margin: 18px 0 0; max-width: 48ch; color: var(--muted); font-size: clamp(16px, 2vw, 19px); }
.cta-row { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }

.hero-panel {
  border: 2px solid var(--ink);
  background: var(--card);
  padding: 0;
  animation: slideInRight 0.8s ease 0.2s both;
}

.hero-panel-header {
  background: var(--ink);
  color: var(--card);
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hero-panel-header span { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.hero-panel-header .dim { opacity: 0.5; }
.hero-panel-body { padding: 18px; }

/* Hero badges */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--card);
  border: 2px solid var(--line);
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}
.hero-badge svg { width: 14px; height: 14px; flex-shrink: 0; }
.hero-badge-green { color: var(--green); }

/* ── Logos bar ── */
.logos-section {
  padding: 40px 0;
  border-bottom: 2px solid var(--ink);
}
.logos-label {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0 0 24px;
}
.logos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 32px 48px;
}
.logos-grid span {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  opacity: 0.5;
  transition: opacity 0.3s ease;
}
.logos-grid span:hover { opacity: 1; }
.logos-grid .logo-img {
  height: 32px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  opacity: 0.7;
  filter: grayscale(1);
  border-radius: 4px;
  transition: opacity 0.3s ease, filter 0.3s ease;
}
.logos-grid .logo-img:hover { opacity: 1; filter: grayscale(0); }
.logos-grid .logo-img.logo-invert {
  filter: grayscale(1) invert(1);
}
.logos-grid .logo-img.logo-invert:hover { filter: invert(1); }

/* ── Tracker (hero) ── */
.tracker-status {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 2px solid rgba(22, 163, 74, 0.2);
  background: rgba(22, 163, 74, 0.05);
  margin-bottom: 14px;
}
.tracker-status-icon {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: rgba(22, 163, 74, 0.1);
  color: #16a34a;
  animation: float 3s ease-in-out infinite;
}
.tracker-status strong { display: block; font-size: 14px; }
.tracker-status p { margin: 2px 0 0; font-size: 12px; color: var(--muted); }
.tracker-badge { margin-left: auto; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 3px 8px; white-space: nowrap; }
.tracker-badge--success { background: rgba(22, 163, 74, 0.1); color: #16a34a; border: 1px solid rgba(22, 163, 74, 0.3); animation: pulse 2s ease infinite; }
.tracker-info { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px; background: var(--bg); }
.tracker-label { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 4px; }
.tracker-value { font-size: 13px; font-weight: 600; }
.tracker-value--mono { font-family: 'Courier New', monospace; }
.tracker-divider { border: none; border-top: 2px dashed var(--line); margin: 14px 0; }

.tracker-timeline { display: flex; flex-direction: column; }
.tracker-event { display: flex; gap: 12px; position: relative; }
.tracker-dot { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; flex-shrink: 0; position: relative; z-index: 1; }
.tracker-dot--success { background: rgba(22, 163, 74, 0.1); border: 2px solid rgba(22, 163, 74, 0.4); color: #16a34a; }
.tracker-dot--active { background: rgba(26, 26, 46, 0.08); border: 2px solid rgba(26, 26, 46, 0.3); color: var(--ink); }
.tracker-dot--done { background: rgba(22, 163, 74, 0.06); border: 2px solid rgba(22, 163, 74, 0.2); color: #16a34a; }
.tracker-line { position: absolute; left: 13px; top: 28px; width: 2px; height: calc(100% - 4px); background: var(--line-light); }
.tracker-event:last-child .tracker-line { display: none; }
.tracker-event-body { flex: 1; display: flex; justify-content: space-between; gap: 8px; padding-bottom: 16px; }
.tracker-event:last-child .tracker-event-body { padding-bottom: 0; }
.tracker-event-body strong { font-size: 13px; display: block; }
.tracker-event-body p { margin: 2px 0 0; font-size: 11px; color: var(--muted); }
.tracker-event-time { text-align: right; font-size: 11px; color: var(--muted); white-space: nowrap; flex-shrink: 0; }
.tracker-event-time span { display: block; }

/* ── Sections ── */
.section { padding: 64px 0; }
.section-lg { padding: 80px 0; }
.section-head { margin-bottom: 24px; }
.section-head h2, .faq-layout h2, .cta-box h2 { margin: 0; font-size: clamp(28px, 4vw, 46px); letter-spacing: -0.03em; font-weight: 800; }
.section-head p { margin: 8px 0 0; color: var(--muted); font-size: 16px; max-width: 56ch; }
.section-head-center { text-align: center; }
.section-head-center p { margin-left: auto; margin-right: auto; }

/* ── Showcase (alternating left/right) ── */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.showcase-reverse { direction: rtl; }
.showcase-reverse > * { direction: ltr; }
.showcase-copy {}
.showcase-copy .section-kicker { margin-bottom: 12px; }
.showcase-copy h3 {
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.showcase-copy p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
  max-width: 44ch;
}
.showcase-copy .btn { margin-top: 20px; }
.showcase-visual {
  border: 2px solid var(--ink);
  background: var(--card);
  padding: 24px;
  position: relative;
}
.showcase-visual-dark {
  background: var(--ink);
  color: var(--card);
}

/* Mini mockup cards inside showcases */
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--bg);
  border: 2px solid var(--line);
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 600;
}
.mockup-bar-dark {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  color: var(--card);
}
.mockup-dot { width: 8px; height: 8px; border-radius: 50%; }
.mockup-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}
.mockup-block {
  height: 8px;
  border-radius: 2px;
  background: var(--line-light);
}
.mockup-block-dark { background: rgba(255,255,255,0.08); }
.mockup-metric {
  text-align: center;
  padding: 16px;
}
.mockup-metric-num {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
.mockup-metric-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: 4px;
}

/* ── Stats row ── */
.stats-section {
  background: var(--ink);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  padding: 56px 0;
  color: var(--card);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 2px solid rgba(232,223,211,0.15);
}
.stat-card {
  padding: 28px 24px;
  border-right: 2px solid rgba(232,223,211,0.15);
  text-align: center;
}
.stat-card:last-child { border-right: none; }
.stat-num {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--card);
}
.stat-num span { color: var(--green); }
.stat-label {
  margin-top: 8px;
  font-size: 13px;
  color: #a89d8e;
  line-height: 1.4;
}

/* ── Feature grid ── */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 2px solid var(--ink); }
.feature-card { padding: 24px; background: var(--card); border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transition: background 0.2s ease; }
.feature-card:hover { background: var(--sand); }
.feature-card:nth-child(3n) { border-right: none; }
.feature-card:nth-last-child(-n+3) { border-bottom: none; }
.feature-card h3 { margin: 0 0 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.feature-card p { margin: 0; color: var(--muted); font-size: 15px; }

/* feature-card icon */
.feature-card-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 2px solid var(--line);
  margin-bottom: 12px;
  color: var(--ink);
}
.feature-card-icon svg { width: 20px; height: 20px; }

/* ── Use cases / Industries ── */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 2px solid var(--ink);
}
.usecase-card {
  padding: 32px 24px;
  background: var(--card);
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transition: background 0.2s ease;
  text-decoration: none;
  color: inherit;
}
.usecase-card:hover { background: var(--sand); }
.usecase-card:nth-child(3n) { border-right: none; }
.usecase-card:nth-last-child(-n+3) { border-bottom: none; }
.usecase-icon {
  font-size: 28px;
  margin-bottom: 12px;
  display: block;
}
.usecase-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.usecase-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

/* ── Dark section ── */
.section-dark { background: var(--ink); color: #e8dfd3; }
.section-dark .section-kicker { background: rgba(232, 223, 211, 0.15); color: #e8dfd3; }
.section-dark h2 { color: var(--card); }
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 2px solid rgba(232, 223, 211, 0.2); }
.step-card { padding: 24px; border-right: 2px solid rgba(232, 223, 211, 0.2); }
.step-card:last-child { border-right: none; }
.step-card .step-num { width: 36px; height: 36px; display: inline-grid; place-items: center; font-weight: 800; font-size: 14px; border: 2px solid var(--card); color: var(--card); transition: background 0.3s ease, color 0.3s ease; }
.step-card:hover .step-num { background: var(--card); color: var(--ink); }
.step-card h3 { margin: 14px 0 8px; font-size: 18px; color: var(--card); }
.step-card p { margin: 0; color: #a89d8e; }

/* ── Testimonial ── */
.testimonial-section {
  padding: 64px 0;
  background: var(--card);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.testimonial-card {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.testimonial-quote {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.01em;
  margin: 0;
}
.testimonial-quote::before { content: '\201C'; }
.testimonial-quote::after { content: '\201D'; }
.testimonial-author {
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted);
}
.testimonial-author strong { color: var(--ink); display: block; font-size: 15px; }

/* ── Newsletter form ── */
.newsletter-section {
  padding: 64px 0;
  background: var(--ink);
  color: var(--card);
}
.newsletter-box {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}
.newsletter-box h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--card);
}
.newsletter-box p {
  margin: 8px 0 0;
  font-size: 15px;
  color: #a89d8e;
}
.newsletter-form {
  margin-top: 24px;
  display: flex;
  gap: 0;
  border: 2px solid rgba(232,223,211,0.2);
}
.newsletter-form input[type="email"] {
  flex: 1;
  padding: 14px 16px;
  border: none;
  background: rgba(255,255,255,0.06);
  color: var(--card);
  font-size: 14px;
  font-family: inherit;
  outline: none;
}
.newsletter-form input[type="email"]::placeholder { color: #6b5f52; }
.newsletter-form input[type="email"]:focus { background: rgba(255,255,255,0.1); }
.newsletter-form button {
  padding: 14px 24px;
  background: var(--card);
  color: var(--ink);
  border: none;
  font-family: inherit;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.15s ease;
  white-space: nowrap;
}
.newsletter-form button:hover { background: var(--sand); }
.newsletter-legal {
  margin-top: 12px;
  font-size: 11px;
  color: #6b5f52;
}
.newsletter-legal a { color: #a89d8e; text-decoration: underline; }
.newsletter-success {
  margin-top: 16px;
  padding: 12px;
  background: rgba(22, 163, 74, 0.1);
  border: 1px solid rgba(22, 163, 74, 0.3);
  color: #4ade80;
  font-size: 14px;
  font-weight: 600;
  display: none;
}
.newsletter-success.show { display: block; }

/* ── Pricing ── */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; border: 2px solid var(--ink); }
.price-card { padding: 24px; background: var(--card); border-right: 2px solid var(--ink); display: flex; flex-direction: column; }
.price-card:last-child { border-right: none; }
.price-card.featured { background: var(--ink); color: var(--card); }
.price-name { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 12px; }
.price-amount { font-size: 36px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.price-amount small { font-size: 14px; font-weight: 500; opacity: 0.6; }
.price-desc { margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.price-card.featured .price-desc { color: #a89d8e; }
.price-divider { margin: 16px 0; border: none; border-top: 2px dashed var(--line); }
.price-card.featured .price-divider { border-color: rgba(232, 223, 211, 0.2); }
.price-features { list-style: none; padding: 0; margin: 0; flex: 1; display: grid; gap: 6px; font-size: 13px; }
.price-features li::before { content: "—"; margin-right: 6px; opacity: 0.4; }
.price-cta { margin-top: 20px; }
.price-cta .btn { width: 100%; font-size: 12px; padding: 10px 16px; }
.price-card.featured .btn-primary { background: var(--card); color: var(--ink); border-color: var(--card); }

/* Custom plan card */
.price-card-custom { background: var(--bg); border-left: 2px dashed var(--line); }

/* Contact form */
.contact-box {
  max-width: 640px;
  margin: 0 auto;
  border: 2px solid var(--ink);
  background: var(--card);
  padding: 32px;
}
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-field { display: flex; flex-direction: column; gap: 4px; }
.contact-field label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.contact-field input,
.contact-field select,
.contact-field textarea {
  padding: 12px 14px;
  border: 2px solid var(--line);
  background: var(--bg);
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s ease;
}
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus { border-color: var(--ink); }
.contact-field textarea { resize: vertical; min-height: 100px; }

/* ── Compliance ── */
.compliance-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 2px solid var(--ink); }
.compliance-card { padding: 24px; background: var(--card); border-right: 2px solid var(--ink); }
.compliance-card:last-child { border-right: none; }
.compliance-card h3 { margin: 0 0 12px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.compliance-card ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--muted); }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px; }

/* ── FAQ ── */
.section-faq { background: var(--card); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.faq-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 32px; }
.faq-list { border-top: 2px dashed var(--line); }
.faq-list details { border-bottom: 2px dashed var(--line); padding: 18px 0; }
.faq-list summary { cursor: pointer; list-style: none; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; transition: color 0.15s; }
.faq-list summary:hover { color: var(--muted); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list details[open] summary { margin-bottom: 4px; }
.faq-list p { margin: 10px 0 0; color: var(--muted); animation: fadeIn 0.3s ease; }

/* ── CTA ── */
.section-cta { padding-top: 32px; padding-bottom: 80px; }
.cta-box { border: 2px solid var(--ink); padding: clamp(28px, 4vw, 44px); background: var(--card); text-align: center; }
.cta-box p { margin: 12px auto 0; max-width: 52ch; color: var(--muted); }
.cta-box .cta-row { justify-content: center; }

/* ── Marquee ── */
.marquee-section { overflow: hidden; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); background: var(--ink); padding: 14px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee-track span { white-space: nowrap; padding: 0 32px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--card); opacity: 0.5; }
.marquee-track .dot { opacity: 0.2; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Footer (new) ── */
.site-footer {
  border-top: 2px solid var(--ink);
  background: var(--ink);
  color: #a89d8e;
  padding: 40px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 32px;
}
.footer-grid strong {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--card);
  margin-bottom: 12px;
}
.footer-grid a {
  display: block;
  text-decoration: none;
  font-size: 13px;
  color: #a89d8e;
  padding: 3px 0;
  transition: color 0.15s ease;
}
.footer-grid a:hover { color: var(--card); }

/* Old footer compat */
.footer { border-top: 2px solid var(--ink); background: var(--ink); color: #a89d8e; padding: 28px 0 36px; }
.footer-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.brand-foot { margin: 0 0 6px; font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--card); }
.footer p { margin: 0; font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { text-decoration: none; color: #a89d8e; font-size: 14px; transition: color 0.15s; }
.footer-links a:hover { color: var(--card); }

/* ── Legal pages ── */
.legal-body { background: var(--bg); }
.legal-main { width: min(900px, 92vw); margin: 0 auto; padding: 32px 0 60px; }
.legal-header { margin-bottom: 24px; }
.legal-card { background: var(--card); border: 2px solid var(--ink); padding: 28px; }
.legal-card h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -0.02em; }
.legal-card h2 { margin-top: 24px; margin-bottom: 10px; font-size: clamp(18px, 2.5vw, 24px); font-weight: 700; }
.legal-card p, .legal-card li { color: var(--muted); line-height: 1.7; }
.legal-card a { text-decoration: underline; text-underline-offset: 2px; }
.legal-card ul { padding-left: 20px; }
.legal-back { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); transition: color 0.15s; }
.legal-back:hover { color: var(--ink); }

/* code blocks for API pages */
.code-block {
  background: var(--ink);
  color: #e8dfd3;
  padding: 16px 20px;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.6;
  overflow-x: auto;
  border: 2px solid var(--ink);
  margin: 12px 0;
}

/* ── Mobile menu (hidden by default) ── */
.mobile-menu { display: none; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-grid, .faq-layout { grid-template-columns: 1fr; }
  .showcase { grid-template-columns: 1fr; }
  .showcase-reverse { direction: ltr; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { border-right: none !important; border-bottom: 2px solid var(--ink); }
  .feature-card:last-child { border-bottom: none; }
  .usecase-grid { grid-template-columns: 1fr; }
  .usecase-card { border-right: none !important; border-bottom: 2px solid var(--ink); }
  .usecase-card:last-child { border-bottom: none; }
  .compliance-grid { grid-template-columns: 1fr; }
  .compliance-card { border-right: none !important; border-bottom: 2px solid var(--ink); }
  .compliance-card:last-child { border-bottom: none; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card { border-right: none !important; border-bottom: 2px solid rgba(232, 223, 211, 0.2); }
  .step-card:last-child { border-bottom: none; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .price-card { border-bottom: 2px solid var(--ink); }
  .price-card:nth-child(even) { border-right: none; }
  .price-card:last-child { border-bottom: none; }
  .price-card:nth-last-child(2):nth-child(odd) { border-bottom: none; }
  .hero { padding-top: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-card:nth-child(2) { border-right: none; }
  .stat-card:nth-child(1), .stat-card:nth-child(2) { border-bottom: 2px solid rgba(232,223,211,0.15); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card { border-right: none !important; border-bottom: 2px solid var(--ink); }
  .price-card:last-child { border-bottom: none; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-card { border-right: none !important; border-bottom: 2px solid rgba(232,223,211,0.15); }
  .stat-card:last-child { border-bottom: none; }
  .newsletter-form { flex-direction: column; }
  .contact-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* Hide mega on floating */
.topbar--floating .mega-menu { display: none; }

@media (max-width: 860px) {
  .nav-center { display: none; }
  .mega-menu { display: none !important; }
  .mega-overlay { display: none !important; }
  .nav-mobile-toggle { display: block; }
  .nav-inner { min-height: 56px; }
  .faq-list summary { font-size: 16px; }

  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: var(--card);
    display: flex;
    flex-direction: column;
    padding: 20px 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
  }
  .mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
  }
  .mobile-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--ink);
  }
  .mobile-menu-close svg { width: 24px; height: 24px; }
  .mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .mobile-menu-links a {
    display: block;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    padding: 16px 0;
    border-bottom: 2px dashed var(--line-light);
    color: var(--ink);
  }
  .mobile-menu-cta {
    margin-top: auto;
    padding-top: 24px;
  }
  .mobile-menu-cta .btn { width: 100%; }
}
