/* Anchor Systems — Marketing Homepage 2026 */
:root {
  --navy-950: #0d1147;
  --navy-900: #1a237e;
  --navy-800: #283593;
  --navy-700: #303f9f;
  --navy-100: #c5cae9;
  --navy-50: #e8eaf6;
  --ink: #0f172a;
  --ink-2: #334155;
  --ink-3: #64748b;
  --line: rgba(26, 35, 126, 0.1);
  --line-strong: rgba(26, 35, 126, 0.18);
  --canvas: #ffffff;
  --canvas-2: #f4f6fb;
  --canvas-3: #eef1f8;
  --accent: #2563eb;
  --ok: #059669;
  --ok-bg: #ecfdf5;
  --warn: #d97706;
  --warn-bg: #fffbeb;
  --danger: #dc2626;
  --sh-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(26, 35, 126, 0.06);
  --sh-md: 0 8px 30px rgba(26, 35, 126, 0.1);
  --sh-lg: 0 24px 60px rgba(15, 23, 42, 0.14);
  --radius: 14px;
  --nav-h: 68px;
  --font: "Heebo", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--canvas);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
ul { list-style: none; }
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; top: -48px; inset-inline-start: 1rem;
  background: var(--navy-900); color: #fff;
  padding: 0.55rem 1rem; z-index: 1000; border-radius: 0 0 8px 8px;
  text-decoration: none; font-weight: 700;
}
.skip-link:focus { top: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-stage[data-animate="1"] .stage-doc,
  .hero-stage[data-animate="1"] .stage-scan,
  .hero-stage[data-animate="1"] .stage-field,
  .hero-stage[data-animate="1"] .stage-kpi span {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ─── Shell ─── */
.site-header {
  position: sticky; top: 0; z-index: 200;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}
.lang-row {
  display: flex; justify-content: flex-end; gap: 0.35rem;
  padding: 0.35rem clamp(1.25rem, 4vw, 3.5rem) 0;
}
.lang-btn {
  border: 1px solid transparent; background: transparent;
  color: var(--ink-3); padding: 0.2rem 0.65rem; border-radius: 999px;
  font-size: 0.75rem; font-weight: 600; cursor: pointer;
}
.lang-btn.on, .lang-btn:hover {
  color: var(--navy-900); border-color: var(--line); background: var(--canvas-2);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: var(--nav-h);
  padding: 0 clamp(1.25rem, 4vw, 3.5rem);
}
.brand {
  display: inline-flex; align-items: center; gap: 0.65rem;
  text-decoration: none; font-weight: 800; color: var(--navy-900);
  letter-spacing: -0.02em; font-size: 1.05rem;
}
.brand img { width: 34px; height: 34px; }
.nav-links {
  display: flex; align-items: center; gap: 0.15rem 1.35rem;
}
.nav-links a {
  text-decoration: none; color: var(--ink-2); font-size: 0.9rem; font-weight: 500;
  padding: 0.35rem 0; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--navy-900); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--navy-900) !important; color: #fff !important;
  padding: 0.55rem 1.1rem !important; border-radius: 10px !important;
  font-weight: 700 !important; font-size: 0.88rem !important;
  text-decoration: none; transition: transform 0.2s var(--ease), background 0.2s;
}
.nav-cta:hover { background: var(--navy-950) !important; transform: translateY(-1px); }
.nav-ghost {
  color: var(--ink-2) !important; font-weight: 600 !important;
}
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.hamburger span {
  display: block; width: 22px; height: 2px; background: var(--navy-900); border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  padding: 0.85rem 1.45rem; border-radius: 12px; font-weight: 800;
  font-size: 0.95rem; text-decoration: none; border: none; cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s, border-color 0.2s;
  letter-spacing: -0.01em;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--navy-900); color: #fff;
  box-shadow: 0 10px 24px rgba(26, 35, 126, 0.25);
}
.btn-primary:hover { background: var(--navy-950); }
.btn-secondary {
  background: transparent; color: var(--navy-900);
  border: 1.5px solid var(--line-strong);
}
.btn-secondary:hover { background: var(--navy-50); border-color: var(--navy-100); }
.btn-on-dark {
  background: #fff; color: var(--navy-900);
}
.btn-on-dark:hover { background: var(--navy-50); }
.btn-ghost-dark {
  background: transparent; color: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.22);
}
.btn-ghost-dark:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.4); }
.btn-lg { padding: 1rem 1.7rem; font-size: 1rem; }
.microcopy {
  display: flex; flex-wrap: wrap; gap: 0.35rem 1rem;
  color: var(--ink-3); font-size: 0.8rem; font-weight: 500; margin-top: 1rem;
}
.microcopy span { display: inline-flex; align-items: center; gap: 0.35rem; }
.microcopy span::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ok);
}
.microcopy.on-dark { color: rgba(255,255,255,0.55); }
.microcopy.on-dark span::before { background: #34d399; }

/* ─── Layout helpers ─── */
.wrap {
  width: min(1160px, calc(100% - 2.5rem));
  margin-inline: auto;
}
.section { padding: clamp(4.5rem, 8vw, 7.5rem) 0; }
.section-tight { padding: clamp(3rem, 5vw, 4.5rem) 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--navy-800); font-size: 0.75rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.85rem;
}
.eyebrow::before {
  content: ""; width: 16px; height: 2px; background: var(--navy-800); border-radius: 2px;
}
.h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem); font-weight: 900;
  letter-spacing: -0.035em; line-height: 1.12; color: var(--ink); margin-bottom: 0.85rem;
}
.lead {
  font-size: 1.05rem; color: var(--ink-2); line-height: 1.7;
  max-width: 36rem; font-weight: 400;
}
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.rev {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.rev.on { opacity: 1; transform: none; }
[dir="ltr"] .eyebrow::before { order: 0; }

/* ─── Hero ─── */
.hero {
  position: relative;
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5.5rem);
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 55% at 85% 0%, rgba(37, 99, 235, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 20%, rgba(26, 35, 126, 0.06), transparent 50%),
    linear-gradient(180deg, #fbfcfe 0%, #f4f6fb 55%, #ffffff 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(26, 35, 126, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 35, 126, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000 30%, transparent 95%);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-copy { max-width: 34rem; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #fff; border: 1px solid var(--line);
  padding: 0.35rem 0.85rem; border-radius: 999px;
  font-size: 0.8rem; font-weight: 600; color: var(--ink-2);
  margin-bottom: 1.35rem; box-shadow: var(--sh-sm);
}
.hero-pill i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--ok);
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.15);
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; } 50% { opacity: 0.45; }
}
.hero h1 {
  font-size: clamp(2.35rem, 5vw, 3.85rem); font-weight: 900;
  letter-spacing: -0.04em; line-height: 1.05; color: var(--ink);
  margin-bottom: 1.15rem;
}
.hero h1 .accent { color: var(--navy-900); }
.hero-sub {
  font-size: 1.08rem; color: var(--ink-2); line-height: 1.65;
  margin-bottom: 1.75rem; max-width: 32rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Product stage */
.hero-stage {
  position: relative; min-height: 420px;
  perspective: 1200px;
}
.stage-frame {
  position: relative; background: #fff;
  border: 1px solid var(--line-strong); border-radius: 18px;
  box-shadow: var(--sh-lg); overflow: hidden;
  transform: rotateY(-4deg) rotateX(3deg);
  transition: transform 0.6s var(--ease);
}
[dir="ltr"] .stage-frame { transform: rotateY(4deg) rotateX(3deg); }
.hero-stage:hover .stage-frame { transform: rotateY(0) rotateX(0); }
.stage-chrome {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.7rem 1rem; background: var(--canvas-2);
  border-bottom: 1px solid var(--line);
}
.stage-dot { width: 9px; height: 9px; border-radius: 50%; }
.stage-dot.r { background: #ff5f57; }
.stage-dot.y { background: #febc2e; }
.stage-dot.g { background: #28c840; }
.stage-title {
  margin-inline-start: auto; font-family: var(--mono);
  font-size: 0.68rem; color: var(--ink-3);
}
.stage-body { padding: 1rem; display: grid; gap: 0.75rem; }
.stage-kpis {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.55rem;
}
.stage-kpi {
  background: var(--canvas-2); border: 1px solid var(--line);
  border-radius: 10px; padding: 0.7rem 0.75rem;
}
.stage-kpi label {
  display: block; font-size: 0.68rem; color: var(--ink-3); font-weight: 600; margin-bottom: 0.2rem;
}
.stage-kpi span {
  font-family: var(--mono); font-size: 1rem; font-weight: 600; color: var(--ink);
}
.stage-rows { display: grid; gap: 0.45rem; }
.stage-row {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding: 0.65rem 0.75rem; border-radius: 10px;
  background: #fff; border: 1px solid var(--line);
}
.stage-row .name { font-size: 0.82rem; font-weight: 700; color: var(--ink); }
.stage-row .meta { font-size: 0.68rem; color: var(--ink-3); font-family: var(--mono); }
.stage-row .amt { font-family: var(--mono); font-size: 0.84rem; font-weight: 600; }
.chip {
  font-size: 0.66rem; font-weight: 800; padding: 0.18rem 0.5rem;
  border-radius: 999px; white-space: nowrap;
}
.chip-ok { background: var(--ok-bg); color: var(--ok); }
.chip-warn { background: var(--warn-bg); color: var(--warn); }
.chip-info { background: var(--navy-50); color: var(--navy-800); }

.stage-float {
  position: absolute; z-index: 3;
  background: #fff; border: 1px solid var(--line-strong);
  border-radius: 14px; box-shadow: var(--sh-md);
  padding: 0.9rem; width: min(220px, 52%);
}
.stage-doc {
  inset-inline-start: -8%; bottom: 4%;
  opacity: 0; transform: translateY(24px) scale(0.96);
}
.stage-ai {
  inset-inline-end: -8%; top: 10%;
  width: min(200px, 48%);
  opacity: 0; transform: translateY(-16px);
}
.hero-stage[data-animate="1"] .stage-doc {
  animation: float-in 0.8s var(--ease) 0.35s forwards;
}
.hero-stage[data-animate="1"] .stage-ai {
  animation: float-in 0.8s var(--ease) 0.7s forwards;
}
@keyframes float-in {
  to { opacity: 1; transform: none; }
}
.doc-label {
  font-size: 0.7rem; font-weight: 800; color: var(--navy-800);
  margin-bottom: 0.55rem; letter-spacing: 0.04em; text-transform: uppercase;
}
.doc-lines { display: grid; gap: 0.35rem; }
.doc-line {
  height: 8px; border-radius: 4px; background: var(--canvas-3);
  position: relative; overflow: hidden;
}
.doc-line.w60 { width: 60%; } .doc-line.w80 { width: 80%; } .doc-line.w45 { width: 45%; }
.stage-scan {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, transparent, rgba(37, 99, 235, 0.18), transparent);
  height: 28%;
}
.hero-stage[data-animate="1"] .stage-scan {
  animation: scan-move 2.2s var(--ease) 1.1s 1 forwards;
}
@keyframes scan-move {
  0% { opacity: 0; top: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { opacity: 0; top: 72%; }
}
.ai-fields { display: grid; gap: 0.4rem; }
.ai-field {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.72rem; padding: 0.35rem 0.45rem;
  border-radius: 7px; background: var(--canvas-2); border: 1px solid transparent;
  opacity: 0; transform: translateX(8px);
}
[dir="ltr"] .ai-field { transform: translateX(-8px); }
.hero-stage[data-animate="1"] .ai-field {
  animation: field-in 0.45s var(--ease) forwards;
}
.hero-stage[data-animate="1"] .ai-field:nth-child(1) { animation-delay: 1.5s; }
.hero-stage[data-animate="1"] .ai-field:nth-child(2) { animation-delay: 1.75s; }
.hero-stage[data-animate="1"] .ai-field:nth-child(3) { animation-delay: 2s; }
.hero-stage[data-animate="1"] .ai-field:nth-child(4) { animation-delay: 2.25s; }
.hero-stage[data-animate="1"] .ai-field:nth-child(5) { animation-delay: 2.5s; }
@keyframes field-in {
  to { opacity: 1; transform: none; border-color: var(--line); }
}
.ai-field strong { font-family: var(--mono); font-weight: 600; color: var(--ink); }
.ai-status {
  margin-top: 0.55rem; display: flex; flex-wrap: wrap; gap: 0.3rem;
  opacity: 0;
}
.hero-stage[data-animate="1"] .ai-status {
  animation: field-in 0.4s var(--ease) 2.8s forwards;
}

/* ─── Value strip ─── */
.value-strip {
  border-block: 1px solid var(--line);
  background: var(--canvas);
}
.value-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line);
}
.value-item {
  background: var(--canvas); padding: 1.6rem 1.4rem;
  transition: background 0.25s;
}
.value-item:hover { background: var(--canvas-2); }
.value-item strong {
  display: block; font-size: 1.05rem; font-weight: 800;
  letter-spacing: -0.02em; color: var(--ink); margin-bottom: 0.3rem;
}
.value-item p { font-size: 0.88rem; color: var(--ink-3); line-height: 1.5; }

/* ─── Before / After ─── */
.compare {
  background: var(--canvas-2);
}
.compare-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 2.5rem;
}
.compare-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 1.6rem; min-height: 320px; position: relative; overflow: hidden;
}
.compare-card.before { border-color: rgba(220, 38, 38, 0.15); }
.compare-card.after {
  border-color: rgba(5, 150, 105, 0.2);
  background: linear-gradient(180deg, #fff 0%, #f0fdf8 100%);
}
.compare-label {
  display: inline-flex; font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.28rem 0.65rem; border-radius: 999px; margin-bottom: 1rem;
}
.compare-card.before .compare-label { background: #fef2f2; color: var(--danger); }
.compare-card.after .compare-label { background: var(--ok-bg); color: var(--ok); }
.compare-list { display: grid; gap: 0.7rem; }
.compare-list li {
  display: flex; gap: 0.65rem; align-items: flex-start;
  font-size: 0.92rem; color: var(--ink-2); font-weight: 500;
}
.compare-list .mark {
  width: 22px; height: 22px; border-radius: 6px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 0.7rem; font-weight: 800;
}
.compare-card.before .mark { background: #fee2e2; color: var(--danger); }
.compare-card.after .mark { background: #d1fae5; color: var(--ok); }

/* ─── Product stories ─── */
.story {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.story.reverse .story-visual { order: -1; }
.story + .story { margin-top: clamp(4rem, 8vw, 6.5rem); }
.story-visual {
  background: var(--canvas-2); border: 1px solid var(--line);
  border-radius: 20px; padding: 1.25rem; box-shadow: var(--sh-sm);
  min-height: 280px; position: relative; overflow: hidden;
}
.story-panel {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 1rem; box-shadow: var(--sh-sm);
}
.story-cta { margin-top: 1.4rem; }

/* AI interactive demo */
.demo-shell {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 1rem;
}
.demo-invoice {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 1rem; position: relative; overflow: hidden; min-height: 240px;
}
.demo-invoice h4 {
  font-size: 0.78rem; font-weight: 800; color: var(--navy-800);
  margin-bottom: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em;
}
.demo-scanline {
  position: absolute; left: 0; right: 0; height: 2px;
  background: var(--accent); opacity: 0; box-shadow: 0 0 12px rgba(37,99,235,0.6);
}
.demo-shell.is-running .demo-scanline {
  animation: demo-scan 2s var(--ease) infinite;
  opacity: 1;
}
@keyframes demo-scan {
  from { top: 12%; } to { top: 88%; }
}
.demo-fields { display: grid; gap: 0.5rem; }
.demo-field {
  display: grid; grid-template-columns: 1fr auto; gap: 0.5rem;
  align-items: center; padding: 0.55rem 0.7rem;
  border-radius: 9px; border: 1px solid var(--line); background: #fff;
  opacity: 0.35; transition: opacity 0.35s, border-color 0.35s, background 0.35s;
}
.demo-field.filled {
  opacity: 1; border-color: rgba(5, 150, 105, 0.35); background: #f7fffb;
}
.demo-field .k { font-size: 0.75rem; color: var(--ink-3); font-weight: 600; }
.demo-field .v { font-family: var(--mono); font-size: 0.82rem; font-weight: 600; }
.demo-steps {
  display: flex; gap: 0.45rem; flex-wrap: wrap; margin-top: 1rem;
}
.demo-step {
  font-size: 0.72rem; font-weight: 800; padding: 0.3rem 0.65rem;
  border-radius: 999px; background: var(--canvas-3); color: var(--ink-3);
  transition: background 0.3s, color 0.3s;
}
.demo-step.done { background: var(--ok-bg); color: var(--ok); }
.demo-note {
  margin-top: 0.85rem; font-size: 0.75rem; color: var(--ink-3);
}
.demo-controls { margin-top: 1.25rem; display: flex; gap: 0.6rem; flex-wrap: wrap; }

/* Audience switch */
.audience {
  background: var(--canvas-2);
}
.audience-tabs {
  display: inline-flex; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 0.25rem; gap: 0.2rem; margin: 1.5rem 0 2rem;
  box-shadow: var(--sh-sm);
}
.audience-tab {
  border: none; background: transparent; cursor: pointer;
  padding: 0.6rem 1.2rem; border-radius: 999px;
  font-weight: 700; font-size: 0.9rem; color: var(--ink-3);
  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}
.audience-tab[aria-selected="true"] {
  background: var(--navy-900); color: #fff;
  box-shadow: 0 6px 16px rgba(26, 35, 126, 0.25);
}
.audience-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.audience-benefits { display: grid; gap: 0.85rem; margin-top: 1.25rem; }
.audience-benefits li {
  display: flex; gap: 0.7rem; align-items: flex-start;
  font-size: 0.95rem; color: var(--ink-2); font-weight: 500;
}
.audience-benefits li::before {
  content: ""; width: 8px; height: 8px; margin-top: 0.45rem;
  border-radius: 50%; background: var(--navy-800); flex-shrink: 0;
}
.audience-visual {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 1.25rem; box-shadow: var(--sh-sm); min-height: 280px;
}
.panel-hidden { display: none; }
.biz-list, .acc-list { display: grid; gap: 0.55rem; }
.biz-item, .acc-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.75rem 0.85rem; border-radius: 10px; border: 1px solid var(--line);
  background: var(--canvas-2);
}
.biz-item strong, .acc-item strong { font-size: 0.88rem; }
.biz-item span, .acc-item span { font-size: 0.75rem; color: var(--ink-3); font-family: var(--mono); }

/* Compliance */
.compliance {
  background:
    radial-gradient(ellipse 70% 60% at 100% 0%, rgba(37, 99, 235, 0.12), transparent 50%),
    var(--navy-950);
  color: #fff;
}
.compliance .eyebrow { color: #93c5fd; }
.compliance .eyebrow::before { background: #93c5fd; }
.compliance .h2 { color: #fff; }
.compliance .lead { color: rgba(255,255,255,0.62); }
.comp-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem;
  margin-top: 2.5rem; align-items: stretch;
}
.comp-points { display: grid; gap: 0.85rem; }
.comp-point {
  display: flex; gap: 0.85rem; padding: 1rem;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
}
.comp-point .ico {
  width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0;
  display: grid; place-items: center;
  background: rgba(147, 197, 253, 0.12); color: #93c5fd; font-weight: 800;
}
.comp-point strong { display: block; font-size: 0.92rem; margin-bottom: 0.2rem; }
.comp-point p { font-size: 0.82rem; color: rgba(255,255,255,0.5); line-height: 1.5; }
.comp-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px; padding: 1.35rem;
}
.comp-card h3 { font-size: 0.95rem; margin-bottom: 0.35rem; }
.comp-card .sub { font-size: 0.75rem; color: rgba(255,255,255,0.4); margin-bottom: 1rem; }
.comp-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.7rem 0.8rem; border-radius: 9px; margin-bottom: 0.45rem;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
}
.comp-row .n { font-size: 0.85rem; font-weight: 600; }
.comp-disclaimer {
  margin-top: 1.5rem; font-size: 0.78rem; color: rgba(255,255,255,0.4); line-height: 1.55;
  max-width: 52rem;
}

/* Security */
.security {
  background: linear-gradient(180deg, #0b1028 0%, #12183a 100%);
  color: #fff;
}
.security .eyebrow { color: #a5b4fc; }
.security .eyebrow::before { background: #a5b4fc; }
.security .h2 { color: #fff; }
.security .lead { color: rgba(255,255,255,0.58); }
.sec-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem;
}
.sec-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09);
  border-radius: 16px; padding: 1.4rem; transition: border-color 0.25s, transform 0.25s;
}
.sec-card:hover { border-color: rgba(165, 180, 252, 0.35); transform: translateY(-2px); }
.sec-card h3 { font-size: 1rem; margin-bottom: 0.45rem; letter-spacing: -0.01em; }
.sec-card p { font-size: 0.88rem; color: rgba(255,255,255,0.5); line-height: 1.55; }

/* Devices */
.devices-stage {
  margin-top: 2.5rem;
  display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 1.25rem; align-items: end;
}
.device-desktop {
  background: var(--canvas-2); border: 1px solid var(--line); border-radius: 18px;
  padding: 1rem 1rem 0; overflow: hidden;
}
.device-desktop .screen {
  background: #fff; border: 1px solid var(--line); border-radius: 12px 12px 0 0;
  padding: 1rem; min-height: 220px;
}
.device-phone {
  background: #111827; border-radius: 28px; padding: 0.7rem;
  border: 1px solid #374151; box-shadow: var(--sh-lg);
  aspect-ratio: 9/16; max-width: 220px; margin-inline: auto;
}
.device-phone .notch {
  width: 40%; height: 8px; background: #1f2937; border-radius: 999px;
  margin: 0.2rem auto 0.7rem;
}
.device-phone .screen {
  background: #fff; border-radius: 20px; height: calc(100% - 24px);
  padding: 0.85rem; display: grid; gap: 0.5rem; align-content: start;
}
.device-links {
  display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem;
}

/* Bento */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem; margin-top: 2.5rem;
}
.bento-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 1.35rem; overflow: hidden; position: relative;
  transition: box-shadow 0.25s, transform 0.25s;
}
.bento-card:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.bento-card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 0.4rem; letter-spacing: -0.02em; }
.bento-card p { font-size: 0.88rem; color: var(--ink-3); line-height: 1.55; }
.bento-card.wide { grid-column: span 7; }
.bento-card.tall { grid-column: span 5; }
.bento-card.mid { grid-column: span 4; }
.bento-card.sm { grid-column: span 4; }
.bento-mini {
  margin-top: 1rem; display: grid; gap: 0.4rem;
}
.bento-mini .row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.5rem 0.65rem; border-radius: 8px; background: var(--canvas-2);
  font-size: 0.78rem; font-weight: 600;
}

/* Pricing */
.pricing { background: var(--canvas-2); }
.price-toggle-wrap {
  display: flex; align-items: center; justify-content: center;
  gap: 0.85rem; margin: 2rem 0 2.5rem; flex-wrap: wrap;
}
.price-toggle {
  display: inline-flex; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 0.25rem; gap: 0.15rem;
}
.pt-btn {
  border: none; background: transparent; cursor: pointer;
  font-weight: 700; font-size: 0.88rem; color: var(--ink-3);
  padding: 0.45rem 1.1rem; border-radius: 999px; transition: all 0.2s;
}
.pt-btn.active {
  background: var(--navy-900); color: #fff;
  box-shadow: 0 6px 16px rgba(26, 35, 126, 0.22);
}
.pt-save {
  background: var(--ok-bg); color: var(--ok); font-size: 0.78rem;
  font-weight: 800; padding: 0.3rem 0.75rem; border-radius: 999px;
  border: 1px solid rgba(5, 150, 105, 0.2);
}
.price-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.pc {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 1.75rem; position: relative; transition: transform 0.25s, box-shadow 0.25s;
}
.pc:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.pc.feat {
  background: var(--navy-900); color: #fff; border-color: var(--navy-900);
  transform: scale(1.03); box-shadow: var(--sh-lg);
}
.pc.feat:hover { transform: scale(1.03) translateY(-3px); }
.pc-badge {
  position: absolute; top: -11px; inset-inline-start: 50%;
  transform: translateX(-50%);
  background: #93c5fd; color: var(--navy-950);
  font-size: 0.68rem; font-weight: 800; padding: 0.22rem 0.8rem;
  border-radius: 999px; white-space: nowrap;
}
[dir="rtl"] .pc-badge { transform: translateX(50%); }
.pc-tier {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 0.5rem;
}
.pc.feat .pc-tier { color: rgba(255,255,255,0.45); }
.pc-price, .pc-price-monthly, .pc-price-yearly {
  font-size: 2.45rem; font-weight: 900; letter-spacing: -0.03em;
  line-height: 1; margin-bottom: 0.2rem; color: var(--ink);
}
.pc.feat .pc-price, .pc.feat .pc-price-monthly, .pc.feat .pc-price-yearly { color: #fff; }
.pc-price-yearly { display: none; }
body.yearly .pc-price-monthly { display: none; }
body.yearly .pc-price-yearly { display: block; }
.pc-yearly-note {
  display: none; font-size: 0.75rem; color: var(--ok); font-weight: 700; margin-bottom: 0.35rem;
}
.pc.feat .pc-yearly-note { color: #93c5fd; }
body.yearly .pc-yearly-note { display: block; }
.pc-mo { color: var(--ink-3); font-size: 0.8rem; margin-bottom: 0.85rem; }
.pc.feat .pc-mo { color: rgba(255,255,255,0.4); }
.pc-docs {
  font-size: 0.95rem; font-weight: 800; color: var(--navy-900);
  padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line);
}
.pc.feat .pc-docs { color: #93c5fd; border-color: rgba(255,255,255,0.12); }
.pc-note { font-size: 0.82rem; color: var(--ink-3); margin-bottom: 1.25rem; }
.pc.feat .pc-note { color: rgba(255,255,255,0.55); }
.pc-feats { display: grid; gap: 0.5rem; margin-bottom: 1.5rem; }
.pc-feats li {
  font-size: 0.84rem; color: var(--ink-2);
  display: flex; gap: 0.45rem; align-items: center;
}
.pc-feats li::before { content: "✓"; color: var(--navy-800); font-weight: 800; }
.pc.feat .pc-feats li { color: rgba(255,255,255,0.65); }
.pc.feat .pc-feats li::before { color: #93c5fd; }
.pbtn {
  display: block; width: 100%; text-align: center; text-decoration: none;
  padding: 0.85rem; border-radius: 11px; font-weight: 800; font-size: 0.92rem;
  transition: background 0.2s, transform 0.2s;
}
.pb-navy { background: var(--navy-900); color: #fff; }
.pb-navy:hover { background: var(--navy-950); }
.pb-white { background: #fff; color: var(--navy-900); }
.pb-white:hover { background: var(--navy-50); }
.pb-out {
  background: transparent; color: var(--navy-900);
  border: 1.5px solid var(--line-strong);
}
.price-ent {
  margin-top: 1rem; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 1.4rem 1.6rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
}
.price-ent h3 { font-size: 1rem; font-weight: 800; margin-bottom: 0.2rem; }
.price-ent p { font-size: 0.88rem; color: var(--ink-3); }
.shared-features {
  margin-top: 1.75rem; text-align: center; font-size: 0.88rem; color: var(--ink-3);
}

/* FAQ */
.faq-list { max-width: 760px; margin: 2.5rem auto 0; display: grid; gap: 0.65rem; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
}
.faq-q {
  width: 100%; text-align: start; background: transparent; border: none;
  padding: 1.1rem 1.25rem; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-weight: 700; font-size: 0.98rem; color: var(--ink);
}
.faq-q .chev {
  width: 20px; height: 20px; flex-shrink: 0;
  transition: transform 0.3s var(--ease); color: var(--ink-3);
}
.faq-item.is-open .faq-q .chev { transform: rotate(180deg); }
.faq-a {
  display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--ease);
}
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div {
  overflow: hidden; padding: 0 1.25rem;
  font-size: 0.92rem; color: var(--ink-2); line-height: 1.65;
}
.faq-item.is-open .faq-a > div { padding-bottom: 1.15rem; }

/* Final CTA */
.final-cta {
  background:
    radial-gradient(ellipse 60% 80% at 50% 120%, rgba(37, 99, 235, 0.35), transparent 60%),
    var(--navy-900);
  color: #fff; text-align: center;
}
.final-cta .h2 { color: #fff; }
.final-cta .lead { color: rgba(255,255,255,0.6); margin-inline: auto; margin-bottom: 1.75rem; }
.final-actions {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 0.75rem;
}

/* Contact */
.contact {
  background: var(--canvas);
}
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.contact-rows { display: grid; gap: 0.75rem; margin-top: 1.5rem; }
.contact-row {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.92rem; color: var(--ink-2);
}
.contact-row a { text-decoration: none; font-weight: 600; color: var(--navy-900); }
.contact-row a:hover { text-decoration: underline; }
.cform {
  background: var(--canvas-2); border: 1px solid var(--line);
  border-radius: 18px; padding: 1.5rem;
}
.fg { margin-bottom: 0.9rem; }
.fg label {
  display: block; font-size: 0.78rem; font-weight: 700;
  color: var(--ink-2); margin-bottom: 0.3rem;
}
.fg input, .fg textarea, .fg select {
  width: 100%; padding: 0.7rem 0.9rem;
  border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink);
}
.fg input:focus, .fg textarea:focus, .fg select:focus {
  outline: none; border-color: var(--navy-800);
  box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.12);
}
.fg textarea { min-height: 90px; resize: vertical; }

/* Footer */
.site-footer {
  background: var(--navy-950); color: rgba(255,255,255,0.55);
  padding: 3.5rem 0 2rem;
}
.foot-grid {
  display: grid; grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 2rem; margin-bottom: 2.5rem;
}
.foot-brand { color: #fff; font-weight: 800; font-size: 1.05rem; margin-bottom: 0.6rem; }
.foot-brand img { display: inline-block; vertical-align: middle; width: 28px; height: 28px; margin-inline-end: 0.45rem; }
.foot-desc { font-size: 0.85rem; line-height: 1.6; max-width: 16rem; }
.foot-col .foot-h {
  color: #fff; font-size: 0.78rem; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.9rem;
}
.foot-col a {
  display: block; text-decoration: none; font-size: 0.85rem;
  padding: 0.28rem 0; transition: color 0.2s;
}
.foot-col a:hover { color: #fff; }
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.25rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: 0.78rem;
}
.foot-bottom a { color: rgba(255,255,255,0.55); text-decoration: none; }
.foot-bottom a:hover { color: #fff; }

/* Mobile sticky CTA */
.mobile-cta {
  display: none; position: fixed; bottom: 0; inset-inline: 0; z-index: 180;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.94); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(15,23,42,0.08);
}
.mobile-cta .btn { width: 100%; }

/* Responsive */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: calc(100% - 0.25rem); inset-inline: 0;
    background: rgba(255,255,255,0.98); backdrop-filter: blur(16px);
    padding: 0.75rem 1.25rem 1.25rem; border-bottom: 1px solid var(--line);
    gap: 0.25rem; box-shadow: var(--sh-md);
  }
  .nav-links.open li { width: 100%; }
  .nav-links.open a { display: block; padding: 0.75rem 0.25rem; }
  .nav-links.open .nav-cta { text-align: center; justify-content: center; margin-top: 0.35rem; }
  .hamburger { display: flex; }
  .hero-grid, .story, .compare-grid, .comp-grid, .audience-panels,
  .contact-grid, .demo-shell, .devices-stage { grid-template-columns: 1fr; }
  .hero-stage { min-height: 0; margin-top: 1rem; }
  .stage-frame { transform: none !important; }
  .stage-float { position: relative; inset: auto; width: 100%; margin-top: 0.75rem; opacity: 1; transform: none; }
  .stage-doc, .stage-ai { animation: none !important; opacity: 1 !important; transform: none !important; }
  .value-grid { grid-template-columns: 1fr 1fr; }
  .price-grid, .sec-grid { grid-template-columns: 1fr; }
  .pc.feat { transform: none; }
  .pc.feat:hover { transform: translateY(-3px); }
  .bento-card.wide, .bento-card.tall, .bento-card.mid, .bento-card.sm { grid-column: span 12; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .story.reverse .story-visual { order: 0; }
}
@media (max-width: 640px) {
  .value-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.15rem; }
  .stage-kpis { grid-template-columns: 1fr 1fr; }
  .mobile-cta { display: block; }
  body.has-mobile-cta { padding-bottom: 76px; }
  .lang-row { padding-top: 0.5rem; }
}
