/* =========================================================
   Agent Naksha — site styles
   Edit the tokens in :root to re-theme the whole site.
   ========================================================= */

:root {
  /* Effileap brand */
  --paper: #ffffff;
  --paper-2: #f5f4f8;
  --card: #ffffff;
  --ink: #1d1b2e;
  --ink-2: #373f53;          /* Effileap slate */
  --muted: #69727d;          /* Effileap grey */
  --line: rgba(29, 27, 46, 0.10);
  --line-strong: rgba(29, 27, 46, 0.20);
  --accent: #cc3366;         /* Effileap magenta */
  --accent-hover: #b52a58;
  --accent-ink: #a3214d;
  --accent-soft: #fbe6ee;
  --route: #4b0082;          /* Effileap indigo */
  --route-soft: #efe6f7;
  --night: #1a0f33;          /* deep indigo */
  --night-2: #251a48;
  --night-3: #2f2358;
  --night-line: rgba(255, 255, 255, 0.10);
  --on-night: #e9e5f2;
  --on-night-muted: #b3abc8;
  --on-night-accent: #f49ab8;
  --brand-gradient: linear-gradient(135deg, #570197 0%, #380062 60%, #22003d 100%);

  --font-display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-body: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;

  --radius: 10px;
  --radius-lg: 14px;
  --shadow: 0 1px 2px rgba(29, 27, 46, 0.05), 0 10px 30px rgba(29, 27, 46, 0.08);
  --container: 1200px;
  --gutter: 24px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

/* ---------- Eyebrows, labels ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent-ink);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft);
}
.section-dark .eyebrow { color: var(--on-night-accent); }
.section-dark .eyebrow::before { box-shadow: 0 0 0 4px rgba(204, 51, 102, 0.25); }

.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 640px; }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 0.98rem/1 var(--font-body);
  padding: 14px 22px; border-radius: 999px;
  border: 1px solid transparent; text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--ink-2); }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.section-dark .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.section-dark .btn-ghost:hover { border-color: #fff; }
.btn .arrow { transition: transform 0.15s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(16, 19, 26, 0.94);
  color: #fff;
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header.scrolled { border-bottom-color: var(--night-line); }
.site-header .brand-name { color: #fff; }
.site-header .brand-name span { color: var(--accent); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; letter-spacing: -0.02em; }
.brand-name span { color: var(--accent-ink); }
.section-dark .brand-name span, .site-footer .brand-name span { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: 999px;
  text-decoration: none; font-size: 0.95rem; font-weight: 500; color: #d9d3ea;
  transition: background 0.15s ease;
}
.nav-links a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.nav-links a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.site-header .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.3); }
.site-header .btn-ghost:hover { border-color: #fff; }
.site-header .btn-primary { background: var(--accent); color: var(--ink); }
.site-header .btn-primary:hover { background: var(--accent-hover); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { padding: 11px 18px; font-size: 0.92rem; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.3); background: transparent; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px;
  position: relative; transition: transform 0.2s ease, background 0.2s ease;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: fixed; inset: 72px 0 auto 0; background: var(--night);
    border-bottom: 1px solid var(--night-line); padding: 12px var(--gutter) 24px;
    display: none; flex-direction: column; gap: 16px;
    max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .nav-open .nav-menu { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; }
  .nav-links a { padding: 14px 12px; font-size: 1.05rem; border-radius: 10px; }
  .nav-links a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); }
  .nav-cta { flex-direction: column; align-items: stretch; }
  .nav-cta .btn { padding: 14px 18px; }
}
@media (min-width: 941px) {
  .nav-menu { display: flex; align-items: center; gap: 20px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-tight { padding: clamp(48px, 7vw, 80px) 0; }
.section-alt { background: var(--paper-2); }
.section-dark { background: var(--night); color: var(--on-night); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lead, .section-dark .muted { color: var(--on-night-muted); }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

/* Map grid backdrop */
.grid-bg {
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: -1px -1px;
}
.section-dark.grid-bg {
  background-image:
    linear-gradient(var(--night-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--night-line) 1px, transparent 1px);
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 9vw, 112px); overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 160px;
  background: linear-gradient(to bottom, transparent, var(--paper)); pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 em { font-style: normal; color: var(--accent-ink); }
.hero .lead { margin-bottom: 32px; }
.hero-note { margin-top: 18px; font-size: 0.88rem; color: var(--muted); }
.hero-visual {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 14px; position: relative;
}
.hero-visual .window-bar { display: flex; align-items: center; gap: 6px; padding: 4px 6px 12px; }
.hero-visual .window-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--paper-2); }
.hero-visual .window-bar .title { margin-left: 8px; font: 500 0.75rem var(--font-mono); color: var(--muted); }
.naksha-canvas { border-radius: 12px; background: var(--paper); overflow: hidden; }
.naksha-canvas svg { width: 100%; height: auto; }

.page-hero { padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 7vw, 96px); background-color: var(--night); color: var(--on-night); }
.page-hero h1 { color: #fff; max-width: 900px; }
.page-hero .lead { color: var(--on-night-muted); }
.page-hero .eyebrow { color: var(--on-night-accent); }
.page-hero .eyebrow::before { box-shadow: 0 0 0 4px rgba(204, 51, 102, 0.25); }
.page-hero.grid-bg { background-image: linear-gradient(var(--night-line) 1px, transparent 1px), linear-gradient(90deg, var(--night-line) 1px, transparent 1px); }
.page-hero .lead { margin-bottom: 0; }

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* Animated routes in the SVG map */
.route-anim { stroke-dasharray: 6 8; animation: route-flow 2.4s linear infinite; }
@keyframes route-flow { to { stroke-dashoffset: -28; } }
.pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { opacity: 0.6; transform: scale(1); } 100% { opacity: 0; transform: scale(2.6); } }

/* ---------- Integrations strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; }
.strip-inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: space-between; }
.strip-label { font: 500 0.78rem var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.strip-items { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.strip-items span { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink-2); opacity: 0.75; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 940px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { box-shadow: var(--shadow); border-color: var(--line-strong); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; font-size: 0.98rem; }
a.card { text-decoration: none; display: block; }
a.card:hover { transform: translateY(-3px); }
.card .card-link { display: inline-flex; gap: 6px; margin-top: 18px; font-weight: 600; font-size: 0.95rem; color: var(--ink); }

.section-dark .card { background: var(--night-2); border-color: var(--night-line); }
.section-dark .card p { color: var(--on-night-muted); }

.icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 20px;
}
.icon svg { width: 22px; height: 22px; }
.icon.teal { background: var(--route-soft); color: var(--route); }
.section-dark .icon { background: rgba(204, 51, 102, 0.15); color: var(--on-night-accent); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; position: relative; }
.step { position: relative; padding: 28px; border-radius: var(--radius); background: var(--night-2); border: 1px solid var(--night-line); }
.step-num {
  font: 500 0.8rem var(--font-mono); color: var(--on-night-accent); letter-spacing: 0.08em;
  display: flex; align-items: center; gap: 10px; margin-bottom: 22px;
}
.step-num::after { content: ""; flex: 1; height: 1px; background: repeating-linear-gradient(90deg, rgba(244, 154, 184, 0.5) 0 6px, transparent 6px 12px); }
.step p { color: var(--on-night-muted); margin: 0; }
@media (max-width: 940px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Split feature rows ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.feature-row + .feature-row { margin-top: clamp(64px, 9vw, 112px); }
.feature-row.reverse .feature-copy { order: 2; }
.feature-copy ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.feature-copy li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.feature-copy li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%;
  background: var(--route-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b0082' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat;
}
.feature-panel {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 20px; box-shadow: var(--shadow); min-width: 0;
}
@media (max-width: 940px) {
  .feature-row { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-copy { order: 0; }
}

/* Trace / log mock */
.trace { font: 0.82rem/1.7 var(--font-mono); background: var(--night); color: #d9d3ea; border-radius: 12px; padding: 18px; overflow-x: auto; }
.trace .t-row { display: grid; grid-template-columns: 64px 1fr; gap: 12px; white-space: nowrap; }
.trace .t-time { color: #8d84a8; }
.trace .ok { color: #7fd1b9; }
.trace .warn { color: var(--on-night-accent); }
.trace .key { color: #9ab8ff; }

/* Mini list mock */
.mock-list { display: grid; gap: 10px; }
.mock-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper);
  font-size: 0.94rem;
}
.mock-item strong { font-weight: 600; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
  font: 500 0.74rem var(--font-mono); white-space: nowrap;
}
.pill-ok { background: var(--route-soft); color: var(--route); }
.pill-wait { background: var(--accent-soft); color: var(--accent-ink); }
.pill-off { background: var(--paper-2); color: var(--muted); }

/* ---------- Quote / naksha definition ---------- */
.definition {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 64px); align-items: start;
  border-top: 1px solid var(--line-strong); padding-top: 40px;
}
.definition .word { font-family: var(--font-display); font-size: clamp(2.6rem, 7vw, 5.5rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.definition .word small { display: block; font: 500 0.85rem var(--font-mono); letter-spacing: 0.04em; color: var(--muted); margin-top: 12px; }
.definition p { font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.5; color: var(--ink-2); margin: 0; font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; }
@media (max-width: 720px) { .definition { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { border-radius: var(--radius-lg); padding: clamp(40px, 7vw, 80px); position: relative; overflow: hidden; }
.cta-band h2 { max-width: 640px; }
.cta-band .lead { margin-bottom: 32px; }
.cta-band .cta-map { position: absolute; right: -40px; bottom: -40px; width: 420px; opacity: 0.5; pointer-events: none; }
@media (max-width: 720px) { .cta-band .cta-map { width: 260px; opacity: 0.25; } }

/* ---------- Use cases ---------- */
.usecase {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px, 5vw, 64px);
  padding: clamp(36px, 5vw, 56px) 0; border-top: 1px solid var(--line);
}
.usecase:last-child { border-bottom: 1px solid var(--line); }
.usecase .tag { font: 500 0.78rem var(--font-mono); color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 12px; display: block; }
.route-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.route-steps li { position: relative; padding: 0 0 22px 36px; color: var(--ink-2); }
.route-steps li:last-child { padding-bottom: 0; }
.route-steps li::before {
  content: ""; position: absolute; left: 6px; top: 6px; width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid var(--route); background: var(--paper);
}
.route-steps li::after {
  content: ""; position: absolute; left: 11px; top: 22px; bottom: 0; width: 2px;
  background: repeating-linear-gradient(to bottom, var(--route) 0 4px, transparent 4px 9px); opacity: 0.6;
}
.route-steps li:last-child::after { display: none; }
.route-steps li:last-child::before { background: var(--accent); border-color: var(--accent); }
.route-steps strong { color: var(--ink); }
.outcome { margin-top: 20px; display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-size: 0.9rem; font-weight: 600; }
@media (max-width: 860px) { .usecase { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.billing-toggle {
  display: inline-flex; padding: 4px; border-radius: 999px; background: var(--paper-2);
  border: 1px solid var(--line); margin-bottom: 40px;
}
.billing-toggle button {
  font: 600 0.92rem var(--font-body); padding: 10px 18px; border-radius: 999px; border: 0;
  background: transparent; color: var(--muted); cursor: pointer;
}
.billing-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.billing-toggle .save { font: 500 0.72rem var(--font-mono); color: var(--accent-ink); margin-left: 6px; }
.billing-toggle button[aria-pressed="true"] .save { color: var(--on-night-accent); }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; }
.plan.featured { background: var(--night); color: var(--on-night); border-color: var(--night); position: relative; }
.plan.featured h3 { color: #fff; }
.plan .badge { position: absolute; top: 20px; right: 20px; }
.plan-desc { color: var(--muted); font-size: 0.95rem; min-height: 3.2em; }
.plan.featured .plan-desc { color: var(--on-night-muted); }
.price { font-family: var(--font-display); font-size: 3rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; margin: 20px 0 6px; }
.price small { font: 500 0.95rem var(--font-body); color: var(--muted); letter-spacing: 0; }
.plan.featured .price small { color: var(--on-night-muted); }
.price-note { font-size: 0.85rem; color: var(--muted); min-height: 1.4em; margin-bottom: 24px; }
.plan.featured .price-note { color: var(--on-night-muted); }
.plan ul { list-style: none; margin: 24px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: 0.95rem; }
.plan.featured ul { border-top-color: var(--night-line); }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: "→"; color: var(--accent); font-weight: 700; }
.plan .btn { width: 100%; }
@media (max-width: 940px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.compare { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 620px; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--font-display); font-size: 1rem; background: var(--paper-2); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; }
.compare .group td { background: var(--paper); font: 500 0.75rem var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.yes { color: var(--route); font-weight: 700; }
.no { color: var(--line-strong); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 24px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; font-size: 1.04rem;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.5rem/1 var(--font-body); color: var(--accent-ink); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* ---------- About ---------- */
.values { counter-reset: v; }
.value { padding: 28px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 80px 1fr 1.4fr; gap: 24px; align-items: baseline; }
.value::before { counter-increment: v; content: "0" counter(v); font: 500 0.85rem var(--font-mono); color: var(--accent-ink); }
.value h3 { margin: 0; }
.value p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .value { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 0.9rem; font-weight: 600; color: var(--ink-2); }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem var(--font-body); color: var(--ink);
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 13px 14px; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--route); box-shadow: 0 0 0 4px var(--route-soft);
}
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 10px; font-size: 0.95rem; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: var(--route-soft); color: var(--route); }
.form-status.err { background: #f9dcd6; color: #8a2a17; }
.form .btn[disabled] { opacity: 0.6; cursor: progress; }
.contact-side { display: grid; gap: 16px; }
.contact-side .card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.contact-side a { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--accent); }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--on-night-muted); padding: 72px 0 32px; font-size: 0.95rem; }
.site-footer .brand-name { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer-grid h4 { font: 500 0.78rem var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: #8d84a8; margin-bottom: 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { text-decoration: none; color: #d9d3ea; }
.footer-grid a:hover { color: #fff; }
.footer-about p { max-width: 320px; margin-top: 16px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--night-line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.85rem; }
.footer-bottom .coords { font-family: var(--font-mono); color: #8d84a8; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }

/* ---------- 404 ---------- */
.lost { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.lost .code { font: 500 0.9rem var(--font-mono); color: var(--accent-ink); letter-spacing: 0.1em; margin-bottom: 16px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 600px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .card, .step, .plan { padding: 24px; }
}

/* ---------- Product imagery ---------- */
.shot { border-radius: 12px; overflow: hidden; background: linear-gradient(#b7c4d4, #eef1f5); border: 1px solid var(--line); }
.shot img { width: 100%; height: auto; }
.shot.dark { background: #15121f; }
figure { margin: 0; }
figcaption { font: 500 0.78rem var(--font-mono); color: var(--muted); margin-top: 10px; letter-spacing: 0.02em; }

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pair figure { position: relative; }
.pair .label {
  position: absolute; top: 10px; left: 10px; z-index: 1;
  font: 600 0.72rem var(--font-mono); padding: 5px 9px; border-radius: 999px;
  background: rgba(18, 21, 28, 0.82); color: #fff; letter-spacing: 0.02em;
}
.pair .label.accent { background: var(--accent); color: var(--ink); }
.readout { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.readout div { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.readout span { display: block; font: 500 0.7rem var(--font-mono); color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.readout strong { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: -0.01em; }
.readout-foot { margin: 10px 2px 2px; font-size: 0.82rem; color: var(--muted); }

/* ---------- Format chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font: 500 0.82rem var(--font-mono); padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--card); color: var(--ink-2); white-space: nowrap;
}
.section-dark .chip { background: var(--night-2); border-color: var(--night-line); color: #d9d3ea; }

/* ---------- Data tables (solvers, validation) ---------- */
.data { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 560px; }
.data th, .data td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.data thead th { font: 500 0.75rem var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); background: var(--paper-2); }
.data tbody tr:last-child td { border-bottom: 0; }
.data td.num { font-family: var(--font-mono); white-space: nowrap; }
.data .good { color: var(--route); font-weight: 600; }
.data .work { color: var(--accent-ink); font-weight: 600; }
.table-note { font-size: 0.88rem; color: var(--muted); margin-top: 14px; max-width: 760px; }

/* ---------- Two-column lists ---------- */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks li::before { content: "✓"; color: var(--route); font-weight: 700; flex: none; }
.ticks.cross li::before { content: "—"; color: var(--muted); }

.notice { font-size: 0.85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 20px; margin-top: 48px; }
.credits { columns: 2; column-gap: 40px; list-style: none; margin: 0; padding: 0; }
.credits li { break-inside: avoid; padding: 12px 0; border-bottom: 1px solid var(--line); }
.credits li strong { display: block; }
.credits li span { color: var(--muted); font-size: 0.9rem; }
@media (max-width: 700px) { .credits { columns: 1; } }

@media (max-width: 520px) {
  .pair { grid-template-columns: 1fr 1fr; gap: 6px; }
  .readout strong { font-size: 1.05rem; }
}

/* =========================================================
   Product-page layout (dark hero, sub-nav, tabs)
   ========================================================= */

/* Big dark hero */
.hero-xl {
  position: relative; background: var(--night); color: var(--on-night); text-align: center;
  padding: clamp(72px, 10vw, 128px) 0 0; overflow: hidden;
}
.hero-xl::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(204, 51, 102, 0.18), transparent 70%),
    linear-gradient(var(--night-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--night-line) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  mask-image: linear-gradient(#000 40%, transparent 95%);
  -webkit-mask-image: linear-gradient(#000 40%, transparent 95%);
}
.hero-xl .container { position: relative; }
.hero-xl .eyebrow { color: var(--on-night-accent); justify-content: center; }
.hero-xl .eyebrow::before { box-shadow: 0 0 0 4px rgba(204, 51, 102, 0.25); }
.hero-xl h1 { color: #fff; max-width: 980px; margin: 0 auto 22px; font-size: clamp(2.6rem, 6.4vw, 5rem); }
.hero-xl h1 em { font-style: normal; color: var(--accent); }
.hero-xl .lead { color: var(--on-night-muted); margin: 0 auto 36px; max-width: 700px; }
.hero-xl .btn-row { justify-content: center; }
.hero-xl .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.hero-xl .btn-ghost:hover { border-color: #fff; }
.hero-xl .hero-note { color: var(--on-night-muted); margin-top: 18px; }

.hero-stage {
  position: relative; margin: clamp(48px, 7vw, 80px) auto 0; max-width: 1040px;
  background: var(--night-2); border: 1px solid var(--night-line); border-bottom: 0;
  border-radius: 18px 18px 0 0; padding: 14px 14px 0;
  box-shadow: 0 -20px 80px rgba(204, 51, 102, 0.12);
}
.hero-stage .window-bar { display: flex; align-items: center; gap: 6px; padding: 2px 4px 12px; text-align: left; }
.hero-stage .window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #4a3d7a; }
.hero-stage .window-bar .title { margin-left: 8px; font: 500 0.75rem var(--font-mono); color: var(--on-night-muted); }
.hero-stage .pair { gap: 12px; }
.hero-stage .readout { margin: 0; padding: 12px 0 14px; }
.hero-stage .readout div { background: var(--night-3); border-color: var(--night-line); text-align: left; }
.hero-stage .readout span { color: var(--on-night-muted); }
.hero-stage .readout strong { color: #fff; }

/* Sticky product sub-nav */
.subnav {
  position: sticky; top: 72px; z-index: 40; background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.subnav .container { display: flex; align-items: center; gap: 24px; height: 60px; }
.subnav-title { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; white-space: nowrap; }
.subnav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; flex: 1; }
.subnav-links::-webkit-scrollbar { display: none; }
.subnav-links a {
  display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none; white-space: nowrap;
  font-size: 0.92rem; font-weight: 500; color: var(--muted); border: 1px solid transparent;
}
.subnav-links a:hover { color: var(--ink); }
.subnav-links a.active { color: var(--ink); border-color: var(--line-strong); background: var(--paper-2); }
.subnav .btn { padding: 10px 18px; font-size: 0.9rem; }
@media (max-width: 720px) {
  .subnav-title, .subnav .btn { display: none; }
  .subnav .container { height: 54px; }
}
[id] { scroll-margin-top: 150px; }

/* Value props */
.props { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); }
.prop .icon { background: transparent; color: var(--accent); width: auto; height: auto; margin-bottom: 18px; place-items: start; }
.prop .icon svg { width: 34px; height: 34px; }
.prop h3 { font-size: 1.45rem; margin-bottom: 10px; }
.prop p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .props { grid-template-columns: 1fr; } }

/* Applications tabs */
.tabs { display: grid; grid-template-columns: 280px 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.tab-list { display: grid; gap: 4px; border-left: 2px solid var(--line); }
.tab-list button {
  text-align: left; font: 600 1.02rem var(--font-body); color: var(--muted); background: none;
  border: 0; border-left: 3px solid transparent; margin-left: -2px; padding: 14px 18px; cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.tab-list button:hover { color: var(--ink); }
.tab-list button[aria-selected="true"] { color: var(--ink); border-left-color: var(--accent); background: var(--paper-2); }
.tab-panel { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(20px, 3vw, 40px); align-items: center; min-width: 0; }
.tab-panel[hidden] { display: none; }
.tab-panel h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 14px; }
.tab-panel p { color: var(--muted); }
.tab-panel .shot { box-shadow: var(--shadow); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.link-arrow:hover { color: var(--accent-ink); }
@media (max-width: 1000px) { .tab-panel { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  .tabs { grid-template-columns: 1fr; }
  .tab-list { display: flex; overflow-x: auto; border-left: 0; border-bottom: 2px solid var(--line); gap: 0; scrollbar-width: none; }
  .tab-list::-webkit-scrollbar { display: none; }
  .tab-list button { border-left: 0; margin: 0 0 -2px; border-bottom: 3px solid transparent; white-space: nowrap; padding: 12px 14px; font-size: 0.95rem; }
  .tab-list button[aria-selected="true"] { border-bottom-color: var(--accent); background: none; }
}

/* "What is" split */
.whatis { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.whatis h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.whatis .shot { box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35); }
@media (max-width: 900px) { .whatis { grid-template-columns: 1fr; } }

/* Industry tiles */
.tile {
  display: flex; flex-direction: column; justify-content: space-between; min-height: 240px;
  padding: 28px; border-radius: var(--radius); text-decoration: none; color: #fff;
  background: linear-gradient(160deg, var(--night-2), var(--night)); border: 1px solid var(--night-line);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.tile:hover { transform: translateY(-3px); border-color: rgba(204, 51, 102, 0.6); }
.tile .num { font: 500 0.78rem var(--font-mono); color: var(--on-night-accent); letter-spacing: 0.08em; }
.tile h3 { color: #fff; margin: 24px 0 8px; }
.tile p { color: var(--on-night-muted); font-size: 0.95rem; margin: 0 0 18px; }
.tile .go { font-weight: 700; color: var(--accent); }

/* Resource cards */
.resource { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; padding: 32px; border-radius: var(--radius-lg); background: var(--paper-2); text-decoration: none; transition: background 0.2s ease; }
.resource:hover { background: #ece9f3; }
.resource .eyebrow { margin-bottom: 12px; }
.resource h3 { font-size: 1.6rem; margin-bottom: 8px; }
.resource p { color: var(--muted); margin: 0; }
.resource .go { width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 1.3rem; }
@media (max-width: 560px) { .resource { grid-template-columns: 1fr; } }

.site-header .brand-mark, .site-footer .brand-mark { border-radius: 9px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22); }

/* =========================================================
   Corporate / Effileap brand layer
   ========================================================= */

/* Type: Montserrat, calmer tracking */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.015em; line-height: 1.15; }
h1 { letter-spacing: -0.02em; }
.hero-xl h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); }
.lead { line-height: 1.7; }
body { font-size: 16.5px; color: var(--ink-2); }

.eyebrow {
  font: 600 0.74rem var(--font-body); letter-spacing: 0.16em; color: var(--accent);
  gap: 12px;
}
.eyebrow::before { width: 28px; height: 2px; border-radius: 2px; background: currentColor; box-shadow: none; }
.section-dark .eyebrow, .hero-xl .eyebrow, .page-hero .eyebrow { color: var(--on-night-accent); }
.section-dark .eyebrow::before, .hero-xl .eyebrow::before, .page-hero .eyebrow::before { box-shadow: none; }
.hero-xl .eyebrow::before { display: none; }

/* No decorative grid on the corporate site */
.grid-bg, .section-dark.grid-bg, .page-hero.grid-bg { background-image: none; }

/* Buttons: squarer, brand colours */
.btn { border-radius: 6px; font-weight: 600; padding: 14px 24px; letter-spacing: 0.01em; }
.btn-primary { background: var(--route); color: #fff; }
.btn-primary:hover { background: #3c0069; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); }

/* Effileap strip */
.brand-strip { background: #22003d; color: #d9cfee; font-size: 0.8rem; }
.brand-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 36px; }
.brand-strip a { color: #fff; text-decoration: none; font-weight: 600; }
.brand-strip a:hover { text-decoration: underline; }
.brand-strip .strip-left { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.brand-strip .strip-left img { height: 14px; width: auto; }
@media (max-width: 600px) { .brand-strip .strip-right { display: none; } }

/* Header: white, corporate */
.site-header { background: rgba(255, 255, 255, 0.97); color: var(--ink); border-bottom: 1px solid var(--line); }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(29, 27, 46, 0.06); }
.site-header .brand-name { color: var(--ink); }
.site-header .brand-name span { color: var(--accent); }
.nav-links a { color: var(--ink-2); border-radius: 6px; font-weight: 500; }
.nav-links a:hover { background: var(--paper-2); color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--route); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; background: none; }
.site-header .btn-ghost { color: var(--ink); border-color: var(--line-strong); }
.site-header .btn-ghost:hover { border-color: var(--route); color: var(--route); }
.site-header .btn-primary { background: var(--accent); color: #fff; }
.site-header .btn-primary:hover { background: var(--accent-hover); }
.nav-toggle { border-color: var(--line-strong); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { background: var(--ink); }
.site-header .brand-mark { box-shadow: none; border-radius: 8px; }
@media (max-width: 940px) {
  .nav-menu { background: #fff; border-bottom: 1px solid var(--line); }
  .nav-links a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); }
}

/* Lockup: [mark] naksha | by Effileap */
.lockup { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.lockup .brand-mark { width: 36px; height: 36px; }
.lockup .brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.01em; color: var(--ink); }
.lockup .by { display: inline-flex; align-items: center; gap: 7px; padding-left: 12px; border-left: 1px solid var(--line-strong); font-size: 0.72rem; font-weight: 500; color: var(--muted); letter-spacing: 0.04em; }
.lockup .by img { height: 15px; width: auto; }
.site-footer .lockup .brand-name { color: #fff; }
.site-footer .lockup .by { color: var(--on-night-muted); border-left-color: rgba(255, 255, 255, 0.25); }
@media (max-width: 420px) { .lockup .by { display: none; } }

/* Heroes: Effileap gradient */
.hero-xl { background: var(--brand-gradient); }
.hero-xl::before {
  background: radial-gradient(50% 60% at 85% 10%, rgba(204, 51, 102, 0.28), transparent 70%),
              radial-gradient(40% 50% at 10% 90%, rgba(120, 60, 200, 0.25), transparent 70%);
  mask-image: none; -webkit-mask-image: none;
}
.hero-xl .lead { color: #d9cfee; }
.hero-xl .hero-note { color: #b9a9da; }
.hero-stage { background: rgba(20, 8, 40, 0.55); border-color: rgba(255, 255, 255, 0.14); box-shadow: 0 30px 80px rgba(10, 0, 30, 0.45); border-radius: 12px 12px 0 0; }
.hero-stage .readout div { background: rgba(255, 255, 255, 0.06); }
.page-hero { background: var(--brand-gradient); }
.page-hero .lead { color: #d9cfee; }

/* Sections and surfaces */
.section-dark { background: var(--night); }
.section-alt { background: var(--paper-2); }
.card { border-radius: var(--radius); }
.card:hover { box-shadow: var(--shadow); }
.icon { border-radius: 8px; background: var(--route-soft); color: var(--route); }
.icon.teal { background: var(--accent-soft); color: var(--accent-ink); }
.section-dark .icon { background: rgba(204, 51, 102, 0.16); color: var(--on-night-accent); }
.prop .icon { background: transparent; color: var(--accent); }
.pair .label { border-radius: 4px; font-family: var(--font-body); font-weight: 600; }
.pair .label.accent { background: var(--accent); color: #fff; }
.tile { border-radius: var(--radius); background: linear-gradient(160deg, var(--night-3), var(--night)); }
.tile .num { font-family: var(--font-body); font-weight: 600; }
.resource { border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.resource:hover { background: var(--paper-2); }
.resource .go { background: var(--route); }
.cta-band { border-radius: var(--radius-lg); background: var(--brand-gradient); }
.tab-list button[aria-selected="true"] { border-left-color: var(--accent); background: #fff; color: var(--route); }
.subnav-title { font-weight: 700; color: var(--route); }
.subnav-links a { border-radius: 6px; }
.subnav-links a.active { color: var(--route); background: var(--route-soft); border-color: transparent; }
.link-arrow { color: var(--route); }
.faq details { border-radius: var(--radius); }
.faq summary::after { color: var(--accent); }
.data thead th, .compare .group td, .strip-label, .usecase .tag, .step-num, figcaption, .value::before, .definition .word small, .footer-grid h4 {
  font-family: var(--font-body); font-weight: 600; letter-spacing: 0.1em;
}
.step { border-radius: var(--radius); }
.step-num::after { background: rgba(244, 154, 184, 0.35); }
.plan { border-radius: var(--radius-lg); }
.plan.featured { background: var(--brand-gradient); border-color: transparent; }
.plan li::before { color: var(--accent); }
.outcome { border-radius: 6px; }
.route-steps li::before { border-color: var(--route); }
.route-steps li::after { background: repeating-linear-gradient(to bottom, var(--route) 0 4px, transparent 4px 9px); }
.form { border-radius: var(--radius-lg); }
.field input, .field select, .field textarea { border-radius: 6px; background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--route); box-shadow: 0 0 0 4px var(--route-soft); }

/* Footer: Effileap block */
.site-footer { background: #140a28; }
.footer-company { margin-top: 56px; padding: 28px 0 0; border-top: 1px solid var(--night-line); display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-company img { height: 28px; width: auto; }
.footer-company p { margin: 0; max-width: 640px; font-size: 0.9rem; color: var(--on-night-muted); }
.footer-company a { color: #fff; }
.footer-bottom { margin-top: 28px; }

/* Trust bar under hero */
.trustbar { background: #fff; border-bottom: 1px solid var(--line); }
.trustbar .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.trustbar div { padding: 26px 20px; border-right: 1px solid var(--line); }
.trustbar div:last-child { border-right: 0; }
.trustbar strong { display: block; font-size: 1.6rem; font-weight: 700; color: var(--route); letter-spacing: -0.01em; }
.trustbar span { font-size: 0.86rem; color: var(--muted); }
@media (max-width: 760px) {
  .trustbar .container { grid-template-columns: 1fr 1fr; }
  .trustbar div:nth-child(2) { border-right: 0; }
  .trustbar div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

.hero-xl h1 em { color: var(--on-night-accent); }
.readout span, .window-bar .title, .hero-stage .window-bar .title, .tile .num { font-family: var(--font-body); font-weight: 600; letter-spacing: 0.08em; }
.footer-bottom .coords { font-family: var(--font-body); color: var(--on-night-muted); }
.page-hero.grid-bg, .cta-band.grid-bg, .page-hero, .cta-band { background-image: var(--brand-gradient); background-color: #380062; }
.pill { font-family: var(--font-body); font-weight: 600; border-radius: 4px; }

/* Effileap Naksha lockup (from branding/naksha) */
.lockup-img { display: block; height: 42px; width: auto; }
.site-footer .lockup-img { height: 48px; }
@media (max-width: 420px) { .lockup-img { height: 36px; } }

/* Plan lists: inherited-tier line and excluded features */
.plan li.includes { font-weight: 700; color: var(--ink); }
.plan.featured li.includes { color: #fff; }
.plan li.includes::before { content: "+"; }
.plan li.excluded { color: var(--muted); opacity: 0.75; }
.plan li.excluded::before { content: "\2715"; color: var(--muted); font-weight: 400; }
.plan.featured li.excluded { color: var(--on-night-muted); }
.plan ul { align-content: start; }
.tag-pro { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 4px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; vertical-align: middle; background: var(--accent); color: #fff; }

/* Real app screenshots (from the Naksha 0.5.07 recordings) */
.app-shot { background: #f3f4f6; border-radius: 8px; overflow: hidden; }
.app-shot img { width: 100%; height: auto; display: block; }
.hero-stage .app-shot { border: 1px solid rgba(255, 255, 255, 0.12); }
.readout-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 560px) {
  .readout-3 { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .readout-3 strong { font-size: 0.95rem; }
  .readout-3 span { font-size: 0.6rem; }
}
figcaption .tag-pro { font-size: 0.62rem; padding: 1px 6px; }
