/* ==========================================================================
   Northlink Solutions — Design System
   A premium, dark-first design system for the public site + internal CRM.
   No external dependencies. Inter variable font. CSS custom properties.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("/fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
}

:root {
  /* Brand */
  --brand: #4f7cff;
  --brand-strong: #3b62e0;
  --brand-soft: rgba(79, 124, 255, 0.14);
  --brand-glow: rgba(79, 124, 255, 0.35);
  --accent: #22d3aa;

  /* Surfaces (dark) */
  --bg: #0a0e1a;
  --bg-grad-1: #0c1122;
  --bg-grad-2: #0a0e1a;
  --surface: #111726;
  --surface-2: #161d30;
  --surface-3: #1c2540;
  --elevated: #19203400;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);

  /* Text */
  --text: #eef2fb;
  --text-2: #aeb8d0;
  --text-3: #7a86a3;
  --text-inv: #0a0e1a;

  /* Status */
  --ok: #34d399;
  --ok-soft: rgba(52, 211, 153, 0.14);
  --warn: #fbbf24;
  --warn-soft: rgba(251, 191, 36, 0.14);
  --bad: #f87171;
  --bad-soft: rgba(248, 113, 113, 0.14);
  --info: #60a5fa;
  --info-soft: rgba(96, 165, 250, 0.14);
  --purple: #a78bfa;
  --purple-soft: rgba(167, 139, 250, 0.14);

  /* Radius / shadow */
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, 0.7);

  --maxw: 1240px;
  --nav-h: 66px;
  --sidebar-w: 248px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background:
    radial-gradient(1200px 800px at 85% -10%, rgba(79, 124, 255, 0.10), transparent 60%),
    radial-gradient(900px 700px at 5% 5%, rgba(34, 211, 170, 0.06), transparent 55%),
    linear-gradient(180deg, var(--bg-grad-1), var(--bg-grad-2));
  background-attachment: fixed;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
::selection { background: var(--brand-glow); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 20px; border: 3px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background: #2a3556; background-clip: content-box; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 650; letter-spacing: -0.02em; color: var(--text); }
h1 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.05; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.12; }
h3 { font-size: 1.15rem; }
p { margin: 0; color: var(--text-2); }
.muted { color: var(--text-3); }
.tabular { font-variant-numeric: tabular-nums; }
.mono { font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-soft); padding: 6px 12px; border-radius: 999px;
  border: 1px solid rgba(79,124,255,0.2);
}

/* ---------- Layout ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(56px, 9vw, 120px) 0; }
.grid { display: grid; gap: 20px; }
.row { display: flex; gap: 14px; align-items: center; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.wrap { flex-wrap: wrap; }
.spacer { flex: 1; }
.center { text-align: center; }
.hide { display: none !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: var(--r-sm); font-weight: 600; font-size: 0.94rem;
  border: 1px solid transparent; cursor: pointer; transition: all 0.16s ease;
  background: var(--surface-2); color: var(--text); border-color: var(--line);
  white-space: nowrap;
}
.btn:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: linear-gradient(180deg, var(--brand), var(--brand-strong)); color: #fff; border: none; box-shadow: 0 8px 24px -8px var(--brand-glow); }
.btn-primary:hover { box-shadow: 0 12px 30px -8px var(--brand-glow); filter: brightness(1.05); }
.btn-ghost { background: transparent; border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-sm { padding: 7px 13px; font-size: 0.85rem; }
.btn-danger { background: var(--bad-soft); color: var(--bad); border-color: rgba(248,113,113,0.25); }
.btn-danger:hover { background: rgba(248,113,113,0.2); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.btn-block { width: 100%; }

/* ---------- Cards ---------- */
.card {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow);
}
.card-pad { padding: 20px; }
.card-hover { transition: transform 0.18s ease, border-color 0.18s ease; }
.card-hover:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.card-title { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-3); }

/* Stat card */
.stat { padding: 18px; }
.stat .label { font-size: 0.8rem; color: var(--text-3); font-weight: 550; display:flex; align-items:center; gap:8px; }
.stat .value { font-size: 1.9rem; font-weight: 700; letter-spacing: -0.03em; margin-top: 6px; line-height: 1; }
.stat .sub { font-size: 0.82rem; color: var(--text-3); margin-top: 8px; }
.stat .ico { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.trend-up { color: var(--ok); } .trend-down { color: var(--bad); }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px;
  font-size: 0.76rem; font-weight: 600; border: 1px solid transparent; white-space: nowrap;
}
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.b-ok { background: var(--ok-soft); color: var(--ok); }
.b-warn { background: var(--warn-soft); color: var(--warn); }
.b-bad { background: var(--bad-soft); color: var(--bad); }
.b-info { background: var(--info-soft); color: var(--info); }
.b-purple { background: var(--purple-soft); color: var(--purple); }
.b-muted { background: var(--surface-3); color: var(--text-2); }
.b-brand { background: var(--brand-soft); color: var(--brand); }

/* ---------- Avatar ---------- */
.avatar {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 650; font-size: 0.85rem; color: #fff; flex-shrink: 0; letter-spacing: -0.02em;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
}
.avatar-sm { width: 28px; height: 28px; font-size: 0.72rem; }
.avatar-lg { width: 72px; height: 72px; font-size: 1.5rem; }

/* ---------- Progress ---------- */
.progress { height: 8px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.progress > i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--brand), var(--accent)); transition: width 0.6s cubic-bezier(.2,.8,.2,1); }
.progress.thin { height: 5px; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); }
table.tbl { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 640px; }
.tbl thead th {
  text-align: left; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--text-3); padding: 13px 16px; background: var(--surface); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; white-space: nowrap;
}
.tbl thead th.sortable { cursor: pointer; user-select: none; }
.tbl thead th.sortable:hover { color: var(--text-2); }
.tbl tbody td { padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--text-2); vertical-align: middle; }
.tbl tbody tr { transition: background 0.12s ease; }
.tbl tbody tr:hover { background: rgba(255,255,255,0.025); }
.tbl tbody tr.clickable { cursor: pointer; }
.tbl tbody tr:last-child td { border-bottom: none; }
.td-strong { color: var(--text); font-weight: 600; }
.num { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 0.82rem; font-weight: 550; color: var(--text-2); }
.input, .select, textarea.input {
  width: 100%; padding: 11px 13px; border-radius: var(--r-sm); background: var(--surface);
  border: 1px solid var(--line); color: var(--text); font-size: 0.92rem; font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input:focus, .select:focus, textarea.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.input::placeholder { color: var(--text-3); }
select.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237a86a3' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; cursor: pointer; }

/* ---------- Tabs / segmented ---------- */
.segmented { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 4px; gap: 2px; }
.segmented button { border: none; background: transparent; color: var(--text-3); padding: 7px 14px; border-radius: 7px; font-weight: 600; font-size: 0.85rem; cursor: pointer; transition: all 0.14s; }
.segmented button.active { background: var(--surface-3); color: var(--text); box-shadow: var(--shadow); }

/* ---------- Public nav ---------- */
.pubnav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  backdrop-filter: blur(14px); background: rgba(10,14,26,0.72); border-bottom: 1px solid var(--line);
}
.pubnav .inner { max-width: var(--maxw); margin: 0 auto; height: 100%; padding: 0 24px; display: flex; align-items: center; gap: 28px; }
.pubnav nav { display: flex; gap: 26px; }
.pubnav nav a { color: var(--text-2); font-size: 0.92rem; font-weight: 500; transition: color 0.14s; }
.pubnav nav a:hover { color: var(--text); }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.02em; font-size: 1.12rem; color: var(--text); }
.brand .mark { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(140deg, var(--brand), var(--accent)); display: grid; place-items: center; box-shadow: 0 6px 18px -6px var(--brand-glow); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(60px, 10vw, 130px) 0 clamp(40px,7vw,90px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 span.g { background: linear-gradient(120deg, #fff 20%, var(--brand) 60%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.18rem; margin-top: 22px; max-width: 540px; color: var(--text-2); }

.glass {
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
  border: 1px solid var(--line-strong); border-radius: var(--r-lg); backdrop-filter: blur(8px);
  box-shadow: var(--shadow-lg);
}

/* logo strip / marquee */
.logostrip { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; opacity: 0.6; }
.logostrip .lg { font-weight: 700; font-size: 1.15rem; color: var(--text-2); letter-spacing: -0.02em; }

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 26px; }
.feature .fico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 16px; }
.feature h3 { margin-bottom: 8px; }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { padding: 24px; position: relative; }
.step .n { font-size: 0.8rem; font-weight: 700; color: var(--brand); background: var(--brand-soft); width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; margin-bottom: 14px; }

/* Metrics band */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.metric .big { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 750; letter-spacing: -0.03em; background: linear-gradient(120deg, #fff, var(--brand)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.metric .cap { color: var(--text-3); font-size: 0.92rem; margin-top: 4px; }

/* Pricing / plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan { padding: 28px; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--brand); box-shadow: 0 20px 50px -20px var(--brand-glow); }
.plan .price { font-size: 2.2rem; font-weight: 750; letter-spacing: -0.03em; margin: 10px 0; }
.plan ul { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 11px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: var(--text-2); }
.plan li svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(40px,6vw,72px); text-align: center;
  background: radial-gradient(900px 400px at 50% -30%, rgba(79,124,255,0.35), transparent 60%), linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--line-strong); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 56px 0 40px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-3); margin-bottom: 14px; }
.footer a { display: block; color: var(--text-2); font-size: 0.9rem; padding: 4px 0; }
.footer a:hover { color: var(--text); }

/* ---------- App shell (internal platform) ---------- */
.app-shell { display: grid; grid-template-columns: var(--sidebar-w) 1fr; min-height: 100vh; }
.sidebar {
  background: linear-gradient(180deg, rgba(17,23,38,0.9), rgba(10,14,26,0.9));
  border-right: 1px solid var(--line); padding: 18px 14px; position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column; gap: 4px; overflow-y: auto;
}
.sidebar .nav-group { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-3); padding: 16px 12px 6px; font-weight: 650; }
.navlink { display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: 9px; color: var(--text-2); font-size: 0.92rem; font-weight: 500; cursor: pointer; transition: all 0.13s; }
.navlink:hover { background: var(--surface-2); color: var(--text); }
.navlink.active { background: var(--brand-soft); color: var(--text); box-shadow: inset 0 0 0 1px rgba(79,124,255,0.25); }
.navlink.active svg { color: var(--brand); }
.navlink svg { width: 18px; height: 18px; color: var(--text-3); flex-shrink: 0; }
.navlink .badge { margin-left: auto; }

.topbar { height: var(--nav-h); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 16px; padding: 0 28px; position: sticky; top: 0; z-index: 30; background: rgba(10,14,26,0.75); backdrop-filter: blur(12px); }
.main-scroll { padding: 28px; max-width: 1400px; }
.page-head { margin-bottom: 24px; }
.page-head h1 { font-size: 1.7rem; }

/* Layout grids for dashboards */
.g2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.g4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.span2 { grid-column: span 2; }

/* Funnel */
.funnel-row { display: flex; align-items: center; gap: 14px; padding: 10px 0; }
.funnel-bar { height: 40px; border-radius: 9px; display: flex; align-items: center; padding: 0 14px; color: #fff; font-weight: 650; font-size: 0.9rem; min-width: 60px; box-shadow: var(--shadow); transition: width 0.6s cubic-bezier(.2,.8,.2,1); }
.funnel-label { width: 130px; flex-shrink: 0; font-size: 0.9rem; color: var(--text-2); font-weight: 550; }
.funnel-meta { font-size: 0.82rem; color: var(--text-3); width: 120px; text-align: right; flex-shrink: 0; }

/* Leaderboard rank */
.rank { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-weight: 700; font-size: 0.82rem; background: var(--surface-3); color: var(--text-2); }
.rank.r1 { background: linear-gradient(140deg, #ffd76b, #f0a500); color: #3a2a00; }
.rank.r2 { background: linear-gradient(140deg, #dfe6f0, #a9b6c9); color: #2a2f38; }
.rank.r3 { background: linear-gradient(140deg, #e6a86b, #c47a34); color: #3a2200; }

/* Notification dropdown rows. This used to be an inline onmouseover/onmouseout pair,
   which the Content-Security-Policy (script-src 'self', no 'unsafe-inline') silently
   refused to run — the hover did nothing and every open logged a CSP violation. */
.notif-item:hover { background: var(--surface); }

/* ---------- Manus (säljscript) ---------- */
.manus-section { scroll-margin-top: 132px; margin-bottom: 26px; }
.manus-nav { display: flex; width: fit-content; max-width: 100%; position: sticky; top: calc(var(--nav-h) + 10px); z-index: 20; margin-bottom: 18px; flex-wrap: wrap; box-shadow: var(--shadow); }
.manus-quote { font-size: 1rem; line-height: 1.6; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: 0 10px 10px 0; padding: 14px 18px; }
.objection { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.objection .q { display: flex; gap: 8px; align-items: flex-start; font-weight: 650; color: var(--text); font-size: 0.92rem; }
.objection .q svg { flex-shrink: 0; margin-top: 3px; color: var(--text-3); }
.objection .a { margin-top: 8px; color: var(--text-2); font-size: 0.9rem; line-height: 1.5; }

/* Toast */
.toast-wrap { position: fixed; bottom: 24px; right: 24px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.toast { background: var(--surface-3); border: 1px solid var(--line-strong); color: var(--text); padding: 12px 16px; border-radius: 10px; box-shadow: var(--shadow-lg); font-size: 0.9rem; display: flex; gap: 10px; align-items: center; animation: toastIn 0.25s ease; }
.toast.ok { border-color: rgba(52,211,153,0.4); }
.toast.bad { border-color: rgba(248,113,113,0.4); }
@keyframes toastIn { from { transform: translateY(10px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* Modal */
.modal-back { position: fixed; inset: 0; background: rgba(4,6,12,0.7); backdrop-filter: blur(6px); z-index: 150; display: grid; place-items: center; padding: 24px; animation: fadeIn 0.15s ease; }
.modal { width: 100%; max-width: 560px; max-height: 88vh; overflow-y: auto; animation: modalIn 0.2s ease; }
.modal.wide { max-width: 820px; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn { from { transform: translateY(16px) scale(0.98); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }

/* Chips / filter bar */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 0.84rem; color: var(--text-2); cursor: pointer; transition: all 0.13s; font-weight: 550; }
.chip:hover { border-color: var(--line-strong); }
.chip.active { background: var(--brand-soft); color: var(--text); border-color: rgba(79,124,255,0.35); }

/* Misc */
.divider { height: 1px; background: var(--line); margin: 20px 0; border: none; }
.kpi-inline { display: flex; gap: 6px; align-items: baseline; }
.dot-legend { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; color: var(--text-3); }
.dot-legend .d { width: 9px; height: 9px; border-radius: 3px; }
.empty { text-align: center; padding: 48px 20px; color: var(--text-3); }
.empty svg { color: var(--text-3); opacity: 0.5; margin-bottom: 12px; }
.link { color: var(--brand); cursor: pointer; font-weight: 550; }
.link:hover { text-decoration: underline; }
.gdpr-note { font-size: 0.82rem; color: var(--text-3); background: var(--surface); border: 1px dashed var(--line-strong); border-radius: 10px; padding: 12px 14px; display: flex; gap: 10px; }
.backend-tag { font-size: 0.7rem; font-weight: 600; color: var(--warn); background: var(--warn-soft); padding: 2px 7px; border-radius: 5px; border: 1px solid rgba(251,191,36,0.25); letter-spacing: 0.02em; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .features, .steps, .plans, .metrics { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .pubnav nav { display: none; }
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: 0; top: 0; z-index: 120; transform: translateX(-100%); transition: transform 0.22s ease; width: 260px; box-shadow: var(--shadow-lg); }
  .sidebar.open { transform: translateX(0); }
  .g2, .g3, .span2 { grid-template-columns: 1fr; grid-column: auto; }
  .menu-btn { display: inline-flex !important; }
}
@media (min-width: 861px) { .menu-btn { display: none; } }
@media (max-width: 560px) {
  .features, .steps, .plans, .metrics, .g4, .g3, .footer-grid { grid-template-columns: 1fr; }
  .main-scroll { padding: 16px; }
  .container { padding: 0 16px; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) { * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }
