/* Landing /new — BoText's own look.
   Idea: the page speaks in chat. Every container is a message bubble with one tight
   "tail" corner, section labels are small messages led by a typing indicator, and the
   palette is warm ivory, paper-toned message surfaces and black for anything that talks.
   Accent variants: black by default; <body data-accent="violet"> brings back the quiet violet. */
:root {
  /* Color */
  --bg: #FAF9F5;         /* warm ivory, page ground */
  --band: #F4F2EC;       /* alternate section band, barely darker */
  --surface: #ECE9E0;    /* message surfaces, always a step darker than the ground */
  --chip: #DFDACC;       /* marks on a surface: chips, bubbles, step numbers */
  --ink: #141413;        /* headlines, primary buttons */
  --ink-2: #3D3D3A;      /* body text */
  --muted: #6B6A64;      /* captions, helper text */
  --accent: #141413;     /* the one accent, black: blocks, numbers, badges */
  --accent-deep: #141413;/* accent used as text / focus */
  --accent-tint: #E9E6DD;/* soft fill behind accent marks */
  --accent-shadow: rgba(20, 20, 19, 0.4);
  --on-ink: #FAF9F5;
  --on-ink-muted: #B7B5AC;
  --live: #3FA66B;       /* "online" dot only */
  --line: rgba(20, 20, 19, 0.1);

  /* Type */
  --font-display: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --font-body: "Hanken Grotesk", "Onest", "Segoe UI", system-ui, sans-serif; /* Onest only fills in Cyrillic */
  --font-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --font-brand: "Rubik", var(--font-body);

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.375rem, 1.15rem + 0.7vw, 1.625rem);  /* sub-headings, 22–26px */
  --step-3: clamp(1.75rem, 1.1rem + 1.6vw, 2.375rem);    /* section titles, 28–38px */
  --step-4: clamp(2.125rem, 1rem + 1.9vw, 2.75rem);      /* page titles, 34–44px */

  /* Shape: a message bubble with one tail corner */
  --tail: 6px;
  --r: 22px;
  --r-lg: 30px;
  --bubble-l: var(--r) var(--r) var(--r) var(--tail);
  --bubble-r: var(--r) var(--r) var(--tail) var(--r);
  --bubble-lg-l: var(--r-lg) var(--r-lg) var(--r-lg) var(--tail);
  --bubble-lg-r: var(--r-lg) var(--r-lg) var(--tail) var(--r-lg);

  /* Layout */
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Saved variant: quiet dark violet accents */
[data-accent="violet"] {
  --accent: #4B3D6E;
  --accent-deep: #3A2F57;
  --accent-tint: #ECE8F2;
  --accent-shadow: rgba(25, 15, 45, 0.5);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body.n-page {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.n-page h1, .n-page h2, .n-page h3 { color: var(--ink); margin: 0; text-wrap: balance; }
.n-page p { margin: 0; }
.n-page a { color: inherit; }
.n-page :focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 3px; border-radius: 8px; }

.n-wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.n-section { padding-block: clamp(56px, 8vw, 104px); scroll-margin-top: 80px; }
.n-band { background: var(--band); }

/* Section label = a short message, led by a typing indicator */
.n-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; width: fit-content;
  padding: 7px 14px 7px 12px; border-radius: 14px 14px 14px 4px;
  background: transparent; box-shadow: inset 0 0 0 1px rgba(20, 20, 19, 0.2);
  font-size: var(--step--1); font-weight: 500; color: var(--ink);
}
.n-eyebrow::before {
  content: ""; width: 24px; height: 6px; flex-shrink: 0; /* three 8px tiles, so the last dot is whole */
  background: radial-gradient(circle, var(--accent) 2.6px, transparent 3.2px) 0 50% / 8px 6px repeat-x;
}

.n-h1 {
  font-family: var(--font-display); font-weight: 600; font-size: var(--step-4);
  font-variation-settings: "opsz" 24;
  line-height: 1.04; letter-spacing: -0.025em;
}
.n-h2 {
  font-family: var(--font-display); font-weight: 600; font-size: var(--step-3);
  font-variation-settings: "opsz" 24;
  line-height: 1.08; letter-spacing: -0.02em;
}
.n-h3 { font-family: var(--font-body); font-weight: 600; font-size: var(--step-1); line-height: 1.35; }
.n-lead { font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem); line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.n-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }

/* ---------- Buttons ---------- */
.n-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 24px; border-radius: 16px 16px 16px 4px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--on-ink) !important;
  font: 600 1.0625rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background 0.2s ease, transform 0.2s var(--ease), border-radius 0.25s var(--ease);
}
.n-btn:hover { background: #2E2D2A; transform: translateY(-1px); border-radius: 16px; }
.n-btn:active { transform: translateY(1px); }
.n-btn svg { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.n-btn:hover svg { transform: translateX(3px); }
.n-btn--ghost { background: transparent; color: var(--ink) !important; border-color: rgba(20, 20, 19, 0.25); }
.n-btn--ghost:hover { background: rgba(20, 20, 19, 0.05); }
.n-btn--light { background: var(--bg); border-color: var(--bg); color: var(--ink) !important; }
.n-btn--light:hover { background: #FFFFFF; }
.n-btn--sm { padding: 11px 18px; font-size: 0.9375rem; border-radius: 13px 13px 13px 4px; }
.n-btn--sm:hover { border-radius: 13px; }

.n-badge {
  display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 8px 8px 8px 2px;
  background: var(--accent); color: var(--on-ink);
  font: 700 0.625rem/1.2 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase;
}

/* ---------- Header ---------- */
.n-header {
  position: sticky; top: 0; z-index: 45;
  background: rgba(250, 249, 245, 0.86);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.n-header.is-scrolled { border-bottom-color: var(--line); }
/* as wide as the hero, so the longer languages fit on one line */
.n-header .n-wrap { max-width: 1360px; }
.n-header-row { display: flex; align-items: center; justify-content: space-between; gap: clamp(16px, 2.4vw, 40px); min-height: 72px; }
.n-header-row > * { flex-shrink: 0; }
.n-logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.n-logo img { height: 40px; width: auto; }
.n-logo span { font: 700 1.625rem/1 var(--font-brand); color: var(--ink); letter-spacing: -0.01em; }
.n-nav { display: none; align-items: center; gap: clamp(16px, 1.7vw, 28px); }
.n-nav a { text-decoration: none; font-size: 0.9375rem; font-weight: 500; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.n-nav a:hover { color: var(--ink); }
.n-nav-actions { display: none; align-items: center; gap: 10px; }
.n-signin { text-decoration: none; font-weight: 500; color: var(--ink-2); padding: 10px 12px; white-space: nowrap; }
.n-nav-actions .n-btn { white-space: nowrap; }
.n-signin:hover { color: var(--ink); }
.n-header-end { display: flex; align-items: center; gap: 12px; }
/* language menu: the current language's code, opening a list of the languages in their own names */
.n-lang { position: relative; }
.n-lang summary {
  display: inline-flex; align-items: center; gap: 6px; list-style: none; cursor: pointer;
  padding: 8px 10px 8px 11px; border-radius: 11px 11px 11px 3px; box-shadow: inset 0 0 0 1px var(--line);
  font: 600 0.75rem/1 var(--font-mono); letter-spacing: 0.04em; color: var(--ink);
}
.n-lang summary::-webkit-details-marker { display: none; }
.n-lang summary svg { width: 12px; height: 12px; transition: transform 0.2s var(--ease); }
.n-lang[open] summary svg { transform: rotate(180deg); }
.n-lang ul {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 172px;
  margin: 0; padding: 6px; list-style: none; border-radius: 14px 4px 14px 14px;
  background: var(--bg); box-shadow: 0 0 0 1px var(--line), 0 18px 40px -20px rgba(20, 20, 19, 0.35);
}
.n-lang a {
  display: block; padding: 8px 12px; border-radius: 9px; text-decoration: none;
  font-size: 0.9375rem; font-weight: 500; color: var(--ink-2);
}
.n-lang a:hover { background: rgba(20, 20, 19, 0.06); color: var(--ink); }
.n-lang a[aria-current="page"] { background: var(--ink); color: var(--on-ink); }

.n-burger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border: 0; border-radius: 12px; background: transparent; color: var(--ink); cursor: pointer;
}
.n-burger:hover { background: rgba(20, 20, 19, 0.05); }
.n-burger svg { width: 22px; height: 22px; fill: currentColor; pointer-events: none; }

/* burger animation (ids shared with landing.js) */
.burger-line { transform-origin: center; transition: transform 300ms ease; }
#burger-line-1 { transform: translateY(-5px) translateX(7px); }
#burger-line-3 { transform: translateY(5px); }
.burger-btn[aria-pressed="true"] #burger-line-1 { transform: rotate(315deg); }
.burger-btn[aria-pressed="true"] #burger-line-2 { transform: rotate(45deg); }
.burger-btn[aria-pressed="true"] #burger-line-3 { transform: rotate(135deg); }

@media (min-width: 1100px) {
  .n-nav, .n-nav-actions { display: flex; }
  .n-burger { display: none; }
  /* landing.js: when the menu does not fit on one line (long languages), the burger takes over */
  .n-compact-header .n-nav, .n-compact-header .n-nav-actions { display: none; }
  .n-compact-header .n-burger { display: inline-flex; }
}

/* Mobile drawer: .hidden is toggled by landing.js */
.n-drawer { position: fixed; inset: 0; z-index: 50; background: rgba(20, 20, 19, 0.32); backdrop-filter: blur(3px); }
.n-drawer.hidden { display: none; }
.n-drawer-panel {
  margin-left: auto; height: 100%; width: 320px; max-width: 86vw;
  display: flex; flex-direction: column; overflow-y: auto;
  background: var(--bg); border-left: 1px solid var(--line);
  box-shadow: -24px 0 48px -24px rgba(20, 20, 19, 0.3);
}
.n-drawer-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.n-drawer-top .n-logo img { height: 32px; }
.n-drawer-top .n-logo span { font-size: 1.375rem; }
.n-drawer-close { border: 0; background: transparent; padding: 8px; border-radius: 10px; cursor: pointer; color: var(--ink); }
.n-drawer-close:hover { background: rgba(20, 20, 19, 0.05); }
.n-drawer-close svg { width: 22px; height: 22px; }
.n-drawer-link {
  display: flex; align-items: center; gap: 8px; padding: 16px 24px;
  text-decoration: none; font-size: 1.0625rem; font-weight: 500; color: var(--ink-2);
  border-bottom: 1px solid var(--line);
}
.n-drawer-link:hover { background: rgba(20, 20, 19, 0.05); color: var(--ink); }
.n-drawer-actions { margin-top: auto; display: grid; gap: 10px; padding: 24px; }
@media (min-width: 1100px) { body:not(.n-compact-header) .n-drawer { display: none !important; } }

/* ---------- Hero ---------- */
.n-hero { padding-block: clamp(36px, 6vw, 80px) clamp(48px, 7vw, 96px); }
.n-hero-grid { display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; }
.n-hero-copy { display: grid; gap: 24px; min-width: 0; justify-items: start; }
.n-hero-copy .n-lead + .n-lead { margin-top: -8px; }
.n-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 8px; }
.n-hero-note { display: inline-flex; align-items: center; gap: 8px; font-size: var(--step--1); color: var(--muted); }
.n-hero-note svg { width: 18px; height: 18px; color: var(--accent-deep); flex-shrink: 0; }

/* The tour film sits straight on the page: its canvas is the page's own colour, so it needs no frame */
.n-hero-visual { position: relative; min-width: 0; width: 100%; aspect-ratio: 16 / 10; }
.n-video { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 960px) {
  .n-hero .n-wrap { max-width: 1360px; }
  .n-hero-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 3vw, 48px); }
}

/* ---------- Partners ---------- */
.n-partners { border-block: 1px solid var(--line); }
.n-partners-row {
  padding-block: 28px;
}
.n-partners-logos {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-evenly; gap: 18px clamp(28px, 4vw, 52px);
  list-style: none; margin: 0; padding: 0; color: var(--ink);
}
.n-partners-logos li { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.n-logo-baza { display: block; height: 30px; width: auto; }
.n-logo-qcmc img { display: block; height: 34px; width: auto; filter: grayscale(1) contrast(1.15) brightness(0.55); }
.n-logo-qcmc span { font: 700 1.375rem/1 var(--font-body); letter-spacing: 0.04em; }
.n-logo-simple { font: 700 1.375rem/1 var(--font-body); letter-spacing: -0.02em; }
.n-logo-lbc { font: 600 0.9375rem/1.1 "Unbounded", var(--font-body); letter-spacing: 0.04em; text-transform: uppercase; }

/* ---------- Why ---------- */
.n-cards { display: grid; gap: 16px; }
.n-card {
  display: grid; align-content: start; gap: 14px;
  padding: 28px; border-radius: var(--bubble-l);
  background: transparent; box-shadow: inset 0 0 0 1px rgba(20, 20, 19, 0.14);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.n-card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(20, 20, 19, 0.22), 0 18px 36px -24px rgba(20, 20, 19, 0.35); }
.n-card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 14px 14px 14px 4px;
  background: var(--accent); color: var(--on-ink); margin-bottom: 10px;
}
.n-card-icon svg { width: 22px; height: 22px; }
.n-card p { color: var(--ink-2); font-size: 1rem; line-height: 1.65; }
@media (min-width: 720px) { .n-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- How (class names shared with landing.js) ---------- */
.landing-steps-showcase { display: grid; gap: 24px; }
.landing-steps-tabs {
  display: flex; gap: 6px; overflow-x: auto; padding: 5px; margin: 0 auto;
  max-width: 100%; border-radius: 18px 18px 18px 5px; background: transparent;
  box-shadow: inset 0 0 0 1px rgba(20, 20, 19, 0.14);
  scrollbar-width: none;
}
.landing-steps-tabs::-webkit-scrollbar { display: none; }
.landing-step-tab {
  display: inline-flex; flex: 0 0 auto; align-items: center; gap: 8px;
  padding: 10px 16px; border: 0; border-radius: 13px;
  background: transparent; color: var(--ink-2);
  font: 600 0.9375rem/1.2 var(--font-body); white-space: nowrap; cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.landing-step-tab:hover:not(.is-active) { color: var(--ink); background: rgba(20, 20, 19, 0.06); }
.landing-step-tab.is-active { background: var(--ink); color: var(--on-ink); }
.landing-step-tab-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 7px 7px 7px 2px;
  background: rgba(20, 20, 19, 0.08); color: var(--ink-2);
  font: 600 0.75rem/1 var(--font-mono);
}
.landing-step-tab.is-active .landing-step-tab-num { background: rgba(250, 249, 245, 0.16); color: var(--on-ink); }
.landing-step-image-frame { overflow: hidden; }
.landing-step-image { display: block; width: 100%; height: auto; border-radius: 14px; transition: opacity 0.2s ease; }
/* A tab's film fills a 16:9 stage; an image tab sits centred in the same stage, so the frame keeps its height */
.landing-step-media { display: grid; place-items: center; aspect-ratio: 16 / 9; }
.landing-step-video {
  display: block; width: 100%; height: 100%; object-fit: cover;
  background: var(--band); transition: opacity 0.2s ease;
}
.landing-step-media > [hidden] { display: none; }
.landing-step-panel { max-width: 640px; margin-inline: auto; text-align: center; display: grid; gap: 10px; }
.landing-step-panel-title { font-family: var(--font-display); font-weight: 600; font-variation-settings: "opsz" 24; font-size: var(--step-2); line-height: 1.2; color: var(--ink); transition: opacity 0.2s ease; }
.landing-step-panel-text { color: var(--ink-2); transition: opacity 0.2s ease; }
.landing-step-panel.is-updating .landing-step-panel-title,
.landing-step-panel.is-updating .landing-step-panel-text { opacity: 0; }
@media (min-width: 768px) { .landing-steps-tabs { justify-content: center; width: fit-content; } }

/* ---------- CRM ---------- */
.n-kicker {
  display: inline-flex; align-items: center; gap: 10px; width: fit-content;
  padding: 5px 14px 5px 5px; border-radius: 14px 14px 14px 4px;
  background: transparent; box-shadow: inset 0 0 0 1px rgba(20, 20, 19, 0.2);
  font-size: var(--step--1); font-weight: 500; color: var(--ink-2);
}
.n-crm-layout { display: grid; gap: clamp(28px, 4vw, 48px); align-items: start; }
.n-crm-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; min-width: 0; }
.n-crm-steps li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; padding-bottom: 32px; }
.n-crm-steps li:last-child { padding-bottom: 0; }
.n-crm-steps li:not(:last-child)::before {
  content: ""; position: absolute; left: 21px; top: 52px; bottom: 6px; width: 2px;
  background: repeating-linear-gradient(to bottom, rgba(20, 20, 19, 0.22) 0 2px, transparent 2px 8px);
}
.n-crm-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 14px 14px 14px 4px;
  background: var(--accent); color: var(--on-ink);
  font: 600 1.125rem/1 var(--font-display);
}
.n-crm-steps h3 { margin: 9px 0 6px; }
.n-crm-steps p { color: var(--ink-2); }

/* The CRM film sits straight on the page, like the hero's */
.n-crm-stage { min-width: 0; aspect-ratio: 16 / 10; }

.n-points { display: grid; gap: 16px; list-style: none; margin: clamp(40px, 6vw, 64px) 0 0; padding: 0; }
.n-points li { display: grid; gap: 8px; padding-top: 18px; border-top: 2px solid var(--ink); }
.n-points p { color: var(--ink-2); }
.n-crm-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: clamp(36px, 5vw, 56px); }
.n-crm-cta p { color: var(--muted); font-size: 0.9375rem; }
.n-crm-cta p a { color: var(--ink); font-weight: 600; text-decoration-color: var(--accent); text-underline-offset: 0.2em; text-decoration-thickness: 2px; }
@media (min-width: 760px) { .n-points { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }
@media (min-width: 960px) {
  #crm .n-wrap { max-width: 1360px; }
  .n-crm-layout { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; }
}

/* ---------- Demo ---------- */
.n-demo-grid { display: grid; gap: 20px; }
.n-team { position: relative; overflow: hidden; border-radius: var(--bubble-lg-l); background: var(--chip); aspect-ratio: 4 / 5; max-width: 100%; }
.n-team article { position: absolute; inset: 0; }
.n-team img { width: 100%; height: 100%; object-fit: cover; display: block; }
.n-team-card {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  padding: 14px 16px; border-radius: 16px 16px 16px 4px;
  background: rgba(236, 233, 224, 0.94); backdrop-filter: blur(8px);
}
.n-team-card h3 { font-size: 1.0625rem; }
.n-team-card p { font-size: var(--step--1); color: var(--muted); }

.n-contact {
  display: flex; flex-direction: column; gap: 20px; min-width: 0;
  padding: clamp(24px, 4vw, 44px); border-radius: var(--bubble-lg-r);
  background: var(--ink); color: var(--on-ink);
}
.n-contact h3 { color: var(--on-ink); font-family: var(--font-display); font-weight: 600; font-variation-settings: "opsz" 24; font-size: var(--step-2); line-height: 1.2; }
.n-contact p { color: var(--on-ink-muted); }
.n-seg { display: inline-flex; width: fit-content; padding: 4px; gap: 4px; border-radius: 14px 14px 14px 4px; background: rgba(250, 249, 245, 0.08); }
/* contact tabs: landing.js toggles tailwind classes; aria-selected drives the look here */
.n-seg button {
  border: 0; cursor: pointer; padding: 8px 18px; border-radius: 10px;
  background: transparent !important; color: var(--on-ink-muted) !important; box-shadow: none !important;
  font: 600 0.875rem/1.2 var(--font-body);
}
.n-seg button[aria-selected="true"] { background: var(--bg) !important; color: var(--ink) !important; }
.n-contact-panel { flex-direction: column; align-items: flex-start; gap: 14px; }
.n-contact-panel:not(.hidden) { display: flex; }
.n-contact-panel.hidden { display: none; }
.n-contact-panel .n-btn { margin-top: 8px; }

@media (min-width: 900px) {
  .n-demo-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: stretch; }
  .n-team { aspect-ratio: auto; min-height: 520px; }
}

/* ---------- Final CTA: one big message ---------- */
.n-final {
  display: grid; gap: 28px; align-items: end;
  margin-block: clamp(48px, 7vw, 96px);
  padding: clamp(28px, 5vw, 64px);
  border-radius: var(--bubble-lg-l);
  background: var(--accent); color: var(--on-ink-muted);
}
.n-final .n-h2 { max-width: 16ch; color: var(--on-ink); }
.n-final .n-lead { color: var(--on-ink-muted); }
.n-final .n-btn { background: var(--bg); border-color: var(--bg); color: var(--ink) !important; }
.n-final .n-btn:hover { background: #FFFFFF; }
.n-final-side { display: grid; gap: 22px; justify-items: start; }
@media (min-width: 900px) { .n-final { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); } }

/* ---------- Footer ---------- */
.n-footer { background: var(--ink); color: var(--on-ink-muted); }
.n-footer-grid { display: grid; gap: 36px; padding-block: 64px 48px; }
.n-footer-brand { display: grid; gap: 14px; align-content: start; }
.n-footer-brand img { height: 38px; width: auto; }
.n-footer-brand p { max-width: 30ch; font-size: 0.9375rem; }
.n-footer h4 { margin: 0 0 14px; font: 600 0.8125rem/1.2 var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-ink); }
.n-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 0.9375rem; }
.n-footer a { text-decoration: none; color: var(--on-ink-muted); transition: color 0.2s ease; }
.n-footer a:hover { color: var(--on-ink); }
/* LinkedIn sits in the middle, away from the support bot's button in the bottom-right corner;
   on phones the row stacks and leaves room under it for that button */
.n-footer-bottom {
  display: grid; justify-items: center; align-items: center; gap: 14px; text-align: center;
  padding-block: 24px 96px; border-top: 1px solid rgba(250, 249, 245, 0.12); font-size: var(--step--1);
}
.n-footer-bottom svg { width: 28px; height: 28px; }
.n-footer-bottom a { display: inline-flex; }
@media (min-width: 700px) {
  .n-footer-bottom { grid-template-columns: 1fr auto 1fr; justify-items: start; text-align: left; padding-block: 24px; }
  .n-footer-bottom a { grid-column: 2; }
}
@media (min-width: 700px) { .n-footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }

/* ---------- Inner pages: shared pieces ---------- */
.n-nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.n-drawer-link[aria-current="page"] { color: var(--ink); background: rgba(20, 20, 19, 0.05); }
.n-page-top { padding-top: clamp(32px, 5vw, 64px); }
.n-head--center { margin-inline: auto; justify-items: center; text-align: center; }
.n-head--center .n-lead { margin-inline: auto; }
.n-h1--sm { font-size: var(--step-3); }
.n-h2--sm { font-size: var(--step-2); }
.n-split { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 900px) { .n-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.n-photo { margin: 0; overflow: hidden; border-radius: var(--bubble-lg-r); background: var(--chip); }
.n-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.n-photo--hero img { aspect-ratio: 3 / 2; }
.n-checks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.n-checks li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink); }
.n-checks svg { width: 18px; height: 18px; flex-shrink: 0; padding: 3px; border-radius: 7px 7px 7px 2px; background: var(--ink); color: var(--on-ink); box-sizing: content-box; }

/* ---------- Pricing ---------- */
.n-billing {
  display: inline-flex; gap: 4px; padding: 4px; margin-top: 8px;
  border-radius: 16px 16px 16px 4px; box-shadow: inset 0 0 0 1px rgba(20, 20, 19, 0.16);
}
.n-billing button {
  border: 0; cursor: pointer; padding: 10px 22px; border-radius: 12px;
  background: transparent; color: var(--ink-2); font: 600 0.9375rem/1.2 var(--font-body);
  transition: background 0.2s ease, color 0.2s ease;
}
.n-billing button:hover { color: var(--ink); background: rgba(20, 20, 19, 0.06); }
.n-billing button[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }
/* a wrapping row, so landing.js can slide the cards when the free plan leaves for yearly billing */
.n-plans { display: flex; flex-wrap: wrap; align-items: stretch; gap: 16px; }
.n-plan {
  position: relative; min-width: 0; flex: 1 1 100%;
  display: flex; flex-direction: column; gap: 22px; padding: 26px;
  border-radius: var(--bubble-l); box-shadow: inset 0 0 0 1px rgba(20, 20, 19, 0.14);
}
.n-plan.is-gone { display: none; }
.n-plan-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.n-plan-name { font: 600 1.375rem/1.2 var(--font-display); font-variation-settings: "opsz" 24; }
.n-plan-tag {
  display: inline-flex; padding: 4px 10px; border-radius: 9px 9px 9px 3px;
  box-shadow: inset 0 0 0 1px rgba(20, 20, 19, 0.2); font: 600 0.75rem/1.2 var(--font-body); color: var(--ink);
}
.n-plan-features { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: 0.9375rem; color: var(--ink-2); }
.n-plan-features li { padding-left: 18px; position: relative; }
.n-plan-features li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 7px; height: 7px; border-radius: 3px 3px 3px 1px; background: currentColor; opacity: 0.55; }
.n-plan-foot { margin-top: auto; display: grid; gap: 4px; }
.n-plan-price { font: 600 1.75rem/1.15 var(--font-display); font-variation-settings: "opsz" 24; color: var(--ink); }
.n-plan-period { font-size: var(--step--1); color: var(--muted); margin-bottom: 14px !important; }
.n-plan .n-btn { width: 100%; }
.n-plan--popular { background: var(--ink); box-shadow: none; color: var(--on-ink-muted); }
.n-plan--popular .n-plan-name, .n-plan--popular .n-plan-price { color: var(--on-ink); }
.n-plan--popular .n-plan-features, .n-plan--popular .n-plan-period { color: var(--on-ink-muted); }
.n-plan--popular .n-plan-tag { background: var(--bg); box-shadow: none; color: var(--ink); }
.n-plan--popular .n-btn { background: var(--bg); border-color: var(--bg); color: var(--ink) !important; }
.n-plan--popular .n-btn:hover { background: #FFFFFF; }
@media (min-width: 760px) and (max-width: 1159px) { .n-plan { flex-basis: calc(50% - 8px); max-width: calc(50% - 8px); } }
@media (min-width: 1160px) {
  .n-wrap--wide { max-width: 1360px; }
  .n-plan { flex: 1 1 0px; padding: 24px 22px; }
}
/* dedicated server note: a hover / focus bubble */
.n-plan-features .n-tip { display: flex; align-items: flex-start; gap: 6px; cursor: help; outline-offset: 4px; }
.n-tip small, .n-plan-extra small { display: block; font-size: 0.8125rem; color: var(--muted); }
.n-tip > svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; }
.n-tip-bubble {
  position: absolute; left: -6px; right: -6px; bottom: calc(100% + 8px); z-index: 20;
  padding: 12px 14px; border-radius: 14px 14px 14px 4px; background: var(--ink); color: var(--on-ink);
  font-size: 0.8125rem; line-height: 1.5; box-shadow: 0 18px 36px -18px rgba(20, 20, 19, 0.5);
  opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.n-tip-bubble a { display: block; margin-top: 6px; color: var(--on-ink); text-underline-offset: 3px; }
.n-tip:hover .n-tip-bubble, .n-tip:focus-within .n-tip-bubble, .n-tip:focus .n-tip-bubble { opacity: 1; visibility: visible; transform: none; }
.n-custom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px;
  margin-top: 24px; padding: 26px 28px; border-radius: var(--bubble-l); box-shadow: inset 0 0 0 1px rgba(20, 20, 19, 0.14);
}
.n-custom > div { display: grid; gap: 6px; max-width: 70ch; }
.n-custom p { color: var(--ink-2); }

/* ---------- Partners ---------- */
.n-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.n-steps li { display: grid; gap: 12px; align-content: start; }
.n-steps .n-photo { margin-bottom: 6px; }
.n-step-label { display: inline-flex; align-items: center; gap: 10px; font: 600 0.8125rem/1 var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.n-step-label .n-crm-num { width: 30px; height: 30px; font-size: 0.875rem; border-radius: 10px 10px 10px 3px; }
.n-steps p { color: var(--ink-2); }
@media (min-width: 760px) { .n-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.n-page .n-benefits-title { margin-bottom: clamp(32px, 5vw, 56px); max-width: 22ch; }
.n-benefit + .n-benefit { margin-top: clamp(40px, 6vw, 72px); }
.n-benefit-copy { display: grid; gap: 18px; justify-items: start; }
@media (min-width: 900px) { .n-benefit--flip .n-photo { order: 2; } }

.n-earn {
  display: grid; gap: 28px; padding: clamp(24px, 4vw, 44px);
  border-radius: var(--bubble-lg-l); background: var(--ink); color: var(--on-ink-muted);
}
.n-earn-label { display: inline-flex; align-items: center; gap: 10px; font-size: var(--step--1); font-weight: 500; color: var(--on-ink); }
.n-earn-label svg { width: 20px; height: 20px; }
.n-earn-bars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 3vw, 28px); align-items: end; }
.n-earn-bars li { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; min-width: 0; height: 100%; }
.n-earn-bars .n-plan-tag { align-self: flex-start; background: var(--bg); box-shadow: none; color: var(--ink); }
.n-earn-range { font: 600 clamp(1.0625rem, 0.8rem + 1.2vw, 1.625rem)/1.15 var(--font-display); font-variation-settings: "opsz" 24; color: var(--on-ink); overflow-wrap: anywhere; }
.n-earn-range span { font: 500 0.8125rem/1 var(--font-body); color: var(--on-ink-muted); margin-left: 2px; }
.n-earn-bar { display: block; height: calc(var(--h) * 1.8px); min-height: 40px; border-radius: 14px 14px 4px 4px; background: rgba(250, 249, 245, calc(0.18 + var(--h) * 0.006)); }
.n-earn-clients { font-weight: 600; color: var(--on-ink); font-size: 0.9375rem; }
.n-earn-who { font-size: 0.8125rem; }
.n-earn-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; padding-top: 22px; border-top: 1px solid rgba(250, 249, 245, 0.14); }
.n-earn-foot p { max-width: 62ch; font-size: 0.9375rem; }
.n-disclaimer { margin-top: 20px !important; max-width: 90ch; font-size: 0.8125rem; line-height: 1.6; color: var(--muted); }
.n-disclaimer a { color: var(--ink); text-underline-offset: 3px; }

.n-faq-wrap { max-width: 880px; }
.n-faq { display: grid; gap: 10px; }
.n-faq details { border-radius: var(--bubble-l); box-shadow: inset 0 0 0 1px rgba(20, 20, 19, 0.14); background: var(--bg); }
.n-faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none; cursor: pointer;
  padding: 18px 22px; font-weight: 600; color: var(--ink);
}
.n-faq summary::-webkit-details-marker { display: none; }
.n-faq summary svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform 0.2s var(--ease); }
.n-faq details[open] summary svg { transform: rotate(180deg); }
.n-faq details p { padding: 0 22px 20px; color: var(--ink-2); }

/* ---------- Support form ---------- */
.n-form-wrap { max-width: 820px; }
.n-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; text-decoration: none; font-weight: 500; color: var(--ink-2); }
.n-back:hover { color: var(--ink); }
.n-back svg { width: 18px; height: 18px; }
.n-form {
  display: grid; gap: 20px; padding: clamp(22px, 4vw, 36px);
  border-radius: var(--bubble-lg-l); box-shadow: inset 0 0 0 1px rgba(20, 20, 19, 0.14);
}
.n-field { display: grid; gap: 8px; min-width: 0; }
.n-field.hidden { display: none; }
.n-field-row { display: grid; gap: 20px; }
@media (min-width: 640px) { .n-field-row { grid-template-columns: 1fr 1fr; } }
.n-field label { font-weight: 600; font-size: 0.9375rem; color: var(--ink); }
.n-field label span { font-weight: 400; color: var(--muted); }
.n-field input, .n-field select, .n-field textarea {
  width: 100%; box-sizing: border-box; padding: 12px 14px; border: 0; border-radius: 12px;
  background: var(--bg); box-shadow: inset 0 0 0 1px rgba(20, 20, 19, 0.2);
  font: 400 1rem/1.5 var(--font-body); color: var(--ink);
}
.n-field textarea { resize: vertical; min-height: 150px; }
.n-field input[type="file"] { padding: 10px; }
.n-field input:focus, .n-field select:focus, .n-field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
.n-field-help { font-size: var(--step--1); color: var(--muted); }
.n-field-error { font-size: var(--step--1); color: #A3341F; }
.n-field-error.hidden { display: none; }
.n-form-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; padding-top: 4px; }
.n-form-actions .n-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.n-alert { margin-bottom: 18px !important; padding: 14px 18px; border-radius: 14px 14px 14px 4px; font-weight: 500; }
.n-alert--ok { background: var(--ink); color: var(--on-ink); }
.n-alert--error { box-shadow: inset 0 0 0 1px #A3341F; color: #A3341F; display: grid; gap: 4px; }

/* ---------- Legal documents (their own markup, no classes) ---------- */
.n-doc { max-width: 860px; color: var(--ink-2); }
.n-doc > section > div > div > div:first-child { display: grid; gap: 18px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.n-doc > section > div > div > div:first-child > p:last-child { font-size: 1.125rem; }
.n-doc article { padding-block: 26px; border-bottom: 1px solid var(--line); }
.n-doc article:last-child { border-bottom: 0; }
.n-doc h2 { font: 600 var(--step-2)/1.2 var(--font-display); font-variation-settings: "opsz" 24; margin-bottom: 14px; }
.n-doc h3 { font: 600 1.0625rem/1.4 var(--font-body); margin: 18px 0 8px; }
.n-doc p + p { margin-top: 12px; }
.n-doc ul { margin: 12px 0; padding-left: 22px; display: grid; gap: 8px; list-style: disc; }
.n-doc ol { margin: 12px 0; padding-left: 22px; display: grid; gap: 8px; list-style: decimal; }
.n-doc li::marker { color: var(--muted); }
.n-doc a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(20, 20, 19, 0.35); }
.n-doc a:hover { text-decoration-color: var(--ink); }
.n-doc table { width: 100%; margin-top: 14px; border-collapse: collapse; font-size: 0.9375rem; display: block; overflow-x: auto; }
.n-doc th, .n-doc td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.n-doc th { font-weight: 600; color: var(--ink); background: var(--band); }

/* ---------- Coming soon ---------- */
.n-soon { max-width: 640px; display: grid; gap: 28px; justify-items: center; text-align: center; padding-block: clamp(32px, 6vw, 72px); }
.n-social { display: flex; gap: 14px; }
.n-social a { display: inline-flex; padding: 12px; border-radius: 14px 14px 14px 4px; box-shadow: inset 0 0 0 1px rgba(20, 20, 19, 0.14); color: var(--ink); }
.n-social a:hover { background: rgba(20, 20, 19, 0.05); }
.n-social svg { width: 24px; height: 24px; }

/* ---------- Motion (classes added by landing-animations.js) ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .n-btn, .n-card, .landing-step-image, .landing-step-video, .landing-step-panel-title, .landing-step-panel-text { transition: none !important; }
}
