/* ==========================================================================
   DARKLIGHT FX — core stylesheet (mobile-first)
   Breakpoint enhancements live in responsive.css
   ========================================================================== */

:root {
  /* Brand */
  --bg: #1D1D1D;
  --bg-deep: #171717;
  --card: #262626;
  --card-2: #2C2C2C;
  --border: #383838;
  --border-soft: #2E2E2E;
  --text: #FFFFFF;
  --text-2: #A3A3A3;
  --text-3: #959595;
  --green: #39FF14;
  --green-ink: #0F1A0B;
  --green-soft: rgba(57, 255, 20, .10);
  --green-line: rgba(57, 255, 20, .35);

  /* UI states used in mockups */
  --amber: #F5B544;
  --red: #FF6B6B;
  --blue: #6CB2FF;

  /* Type */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;

  /* Rhythm */
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 24px;
  --gutter: 16px;
  --section: 96px;
  --max: 1200px;
  --header-h: 56px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-apple: cubic-bezier(.28, .11, .32, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--green); color: var(--green-ink); }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 200;
  background: var(--green); color: var(--green-ink);
  padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: 820px; }
.section { padding: var(--section) 0; position: relative; }
.section + .section { border-top: 1px solid var(--border-soft); }
.section--deep { background: var(--bg-deep); }
.section--flush-top { padding-top: 0; }

.grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
.split { display: grid; gap: 40px; align-items: center; grid-template-columns: minmax(0, 1fr); }
.stack > * + * { margin-top: 16px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.1; letter-spacing: -0.025em; color: var(--text); }
h1 { font-size: clamp(2.5rem, 1.5rem + 4.4vw, 5rem); letter-spacing: -0.04em; line-height: 1.04; }
h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.5rem); letter-spacing: -0.035em; line-height: 1.07; }
h3 { font-size: 1.25rem; letter-spacing: -0.02em; }
h4 { font-size: 1rem; letter-spacing: -0.005em; }
p { color: var(--text-2); }
strong { color: var(--text); font-weight: 600; }
.lead { font-size: clamp(1.1rem, 1rem + .45vw, 1.35rem); line-height: 1.5; color: var(--text-2); max-width: 60ch; letter-spacing: -0.015em; }
.mono { font-family: var(--mono); }
.text-green { color: var(--green); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: .75rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--green);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }

.section-head { max-width: 860px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head p { margin: 18px auto 0; font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); max-width: 62ch; }
.split .section-head, .section-head__row { text-align: left; margin-left: 0; }
.section-head__row .eyebrow { justify-content: flex-start; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head__row { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; justify-content: space-between; }

.prose { max-width: 72ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }
.prose ul, .prose ol { color: var(--text-2); padding-left: 1.3em; }
.prose li + li { margin-top: .5em; }
.prose li::marker { color: var(--green); }
.prose a, .link { color: var(--green); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover, .link:hover { text-decoration-thickness: 2px; }
.prose blockquote { border-left: 2px solid var(--green); padding: 4px 0 4px 18px; color: var(--text); }
.prose table { font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.prose th { color: var(--text); font-weight: 600; }
.prose td { color: var(--text-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px; border-radius: 980px;
  font-weight: 700; font-size: .95rem; letter-spacing: -.005em; white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--primary { background: var(--green); color: var(--green-ink); }
.btn--primary:hover { background: #5BFF3E; transform: translateY(-1px); }
.btn--ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn--ghost:hover { border-color: var(--text-2); background: rgba(255,255,255,.03); }
.btn--sm { min-height: 34px; padding: 0 16px; font-size: .82rem; border-radius: 980px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--text); font-weight: 600; font-size: .95rem;
}
.text-link svg { width: 15px; height: 15px; transition: transform .2s var(--ease); color: var(--green); }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(22, 22, 22, .72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--border-soft); }
.header-bar { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }

.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 118px; height: auto; }
.brand__fx {
  font-family: var(--mono); font-weight: 500; font-size: .72rem; letter-spacing: .12em;
  color: var(--green-ink); background: var(--green); border-radius: 5px; padding: 3px 6px 2px; line-height: 1;
}

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--border);
  background: transparent;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px;
  position: relative; transition: transform .25s var(--ease), background-color .2s;
}
.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-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobile nav panel (JS enhanced). Without JS the menu renders as a static list. */
.site-nav { display: block; }
.js .site-nav {
  position: fixed; inset: var(--header-h) 0 0 0;
  background: var(--bg); overflow-y: auto; overscroll-behavior: contain;
  padding: 12px var(--gutter) 32px;
  border-top: 1px solid var(--border-soft);
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
}
.js .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.no-js .nav-toggle { display: none; }
.no-js .header-bar { height: auto; padding: 14px 0; flex-wrap: wrap; }
.no-js .site-nav { width: 100%; }

.nav-list { list-style: none; padding: 0; }
.nav-item { border-bottom: 1px solid var(--border-soft); }
.nav-link, .nav-trigger {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 8px;
  padding: 16px 2px; background: none; border: 0; text-align: left;
  font-weight: 600; font-size: 1.05rem; color: var(--text);
}
.nav-link[aria-current="page"], .nav-item.is-active > .nav-trigger { color: var(--green); }
.nav-trigger svg { width: 16px; height: 16px; transition: transform .2s var(--ease); color: var(--text-2); }
.nav-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }

.dropdown { padding: 0 0 14px; }
.js .dropdown { display: none; }
.js .nav-trigger[aria-expanded="true"] + .dropdown { display: block; }
.dropdown__grid { display: grid; gap: 2px; }
.dropdown__link {
  display: grid; grid-template-columns: 34px 1fr; gap: 2px 12px; align-items: start;
  padding: 10px 8px; border-radius: 10px;
}
.dropdown__link:hover, .dropdown__link[aria-current="page"] { background: var(--card); }
.dropdown__icon {
  grid-row: span 2; width: 34px; height: 34px; border-radius: 9px;
  display: grid; place-items: center; background: var(--card); border: 1px solid var(--border); color: var(--green);
}
.dropdown__icon svg { width: 17px; height: 17px; }
.dropdown__title { font-weight: 600; font-size: .95rem; color: var(--text); line-height: 1.3; }
.dropdown__desc { font-size: .82rem; color: var(--text-2); line-height: 1.45; }
.dropdown__foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 8px 0; font-size: .85rem; }

.nav-cta { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; }
.header-cta { display: none; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding: 20px 0 0; }
.breadcrumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .82rem; color: var(--text-3); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; color: var(--border); }
.breadcrumbs a { color: var(--text-2); }
.breadcrumbs a:hover { color: var(--text); }
.breadcrumbs [aria-current="page"] { color: var(--text); }

/* ---------- Hero ---------- */
.hero { padding: 48px 0 var(--section); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(700px 360px at 85% -10%, rgba(57,255,20,.07), transparent 70%),
    linear-gradient(to bottom, transparent 70%, var(--bg));
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 0%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 60% at 70% 0%, #000 10%, transparent 70%);
}
.hero > .container { position: relative; z-index: 1; }
.hero h1 { max-width: 15ch; }
.hero .lead { margin-top: 20px; }
.hero .btn-row { margin-top: 28px; }
.hero__meta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .85rem; color: var(--text-2); }
.hero__meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta svg { width: 15px; height: 15px; color: var(--green); }
.hero__visual { margin-top: 44px; }

.page-hero { padding: 36px 0 56px; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 300px at 90% 0%, rgba(57,255,20,.06), transparent 70%);
}
.page-hero > .container { position: relative; }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { margin-top: 18px; }
.page-hero .btn-row { margin-top: 28px; }
.page-hero__grid { display: grid; gap: 40px; align-items: center; margin-top: 24px; grid-template-columns: minmax(0, 1fr); }
.page-hero--simple h1 { max-width: 24ch; }

/* ---------- Cards & lists ---------- */
.card {
  background: var(--card); border: 1px solid var(--border-soft); border-radius: var(--r-lg);
  padding: 28px; position: relative;
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: .95rem; }
.card--link { transition: border-color .2s var(--ease), transform .2s var(--ease), background-color .2s; display: flex; flex-direction: column; }
.card--link:hover { border-color: #4a4a4a; background: var(--card-2); }
.card--link .text-link { margin-top: auto; padding-top: 18px; }
.card__icon {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: var(--bg); border: 1px solid var(--border); color: var(--green); margin-bottom: 18px;
}
.card__icon svg { width: 20px; height: 20px; }
.card__kicker { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 10px; display: block; }

/* Product ecosystem: first card spans wider at desktop */
.eco-grid { display: grid; gap: 16px; }
.eco-card { min-height: 220px; }
.eco-card ul { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .75rem; font-weight: 600; color: var(--text-2);
  padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border); background: rgba(0,0,0,.15);
}
.chip--green { color: var(--green); border-color: var(--green-line); background: var(--green-soft); }

.check-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.check-list li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; color: var(--text-2); font-size: .97rem; }
.check-list li::before {
  content: ""; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2339FF14' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
  border: 1px solid var(--green-line);
}
.check-list strong { display: block; color: var(--text); font-weight: 600; }

.feature-grid { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.feature { background: var(--bg); padding: 26px 24px; }
.section--deep .feature { background: var(--bg-deep); }
.feature__num { font-family: var(--mono); font-size: .75rem; color: var(--green); display: block; margin-bottom: 14px; }
.feature h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature p { font-size: .93rem; }

/* Problem / outcome comparison */
.contrast { display: grid; gap: 16px; }
.contrast__col { border-radius: var(--r-lg); padding: 26px; border: 1px solid var(--border); }
.contrast__col--before { background: transparent; }
.contrast__col--after { background: var(--card); border-color: var(--green-line); }
.contrast__col h3 { font-size: 1rem; display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.contrast__col ul { padding-left: 1.1em; display: grid; gap: 10px; color: var(--text-2); font-size: .95rem; }
.contrast__col--before li::marker { color: var(--text-3); }
.contrast__col--after li::marker { color: var(--green); }

/* Integration requirements */
.req-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.req-list li { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--r); background: var(--card); }
.req-list .req-tag { font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; height: fit-content; border: 1px solid var(--border); color: var(--text-2); }
.req-list .req-tag--you { color: var(--amber); border-color: rgba(245,181,68,.35); }
.req-list .req-tag--us { color: var(--green); border-color: var(--green-line); }
.req-list h3 { font-size: .98rem; margin-bottom: 4px; }
.req-list p { font-size: .9rem; }

/* Metric-free "fact" strip */
.facts { display: grid; gap: 1px; background: var(--border-soft); border-block: 1px solid var(--border-soft); }
.fact { background: var(--bg); padding: 22px var(--gutter); }
.fact dt { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.fact dd { margin-top: 6px; color: var(--text); font-weight: 600; }

/* ---------- Tabs (CRM showcase) ---------- */
.tabs__list { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 28px; scrollbar-width: thin; }
.no-js .tabs__list { display: none; }
.tabs__tab {
  flex: none; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--border);
  background: transparent; font-size: .87rem; font-weight: 600; color: var(--text-2);
  transition: color .2s, border-color .2s, background-color .2s;
}
.tabs__tab:hover { color: var(--text); border-color: #4a4a4a; }
.tabs__tab[aria-selected="true"] { color: var(--green-ink); background: var(--green); border-color: var(--green); }
.tabs__panel { display: grid; gap: 32px; align-items: center; grid-template-columns: minmax(0, 1fr); }
.js .tabs__panel[hidden] { display: none; }
.no-js .tabs__panel + .tabs__panel { margin-top: 56px; }
.tabs__panel h3 { font-size: 1.45rem; margin-bottom: 12px; }
.tabs__panel .check-list { margin-top: 20px; }

/* ---------- Architecture diagram ---------- */
.arch { display: grid; gap: 14px; }
.arch__tier { border: 1px solid var(--border); border-radius: var(--r-lg); padding: 18px; background: var(--card); }
.arch__tier--core { border-color: var(--green-line); background: linear-gradient(180deg, rgba(57,255,20,.06), transparent 70%), var(--card); }
.arch__label { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; display: flex; justify-content: space-between; gap: 10px; }
.arch__label span:last-child { color: var(--green); }
.arch__nodes { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.arch__node { border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; font-size: .85rem; font-weight: 600; background: var(--bg); display: flex; align-items: center; gap: 8px; color: var(--text); }
.arch__node::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--green); flex: none; }
.arch__node--ext::before { background: var(--text-3); }
.arch__node--opt { border-style: dashed; color: var(--text-2); }
.arch__node--opt::before { background: transparent; border: 1px solid var(--green); }
.arch__link { display: flex; justify-content: center; color: var(--text-3); }
.arch__link svg { width: 18px; height: 18px; }
.arch__legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: .8rem; color: var(--text-2); margin-top: 6px; }
.arch__legend span { display: inline-flex; align-items: center; gap: 6px; }
.arch__legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

/* ---------- Process ---------- */
.process { list-style: none; padding: 0; display: grid; gap: 14px; counter-reset: step; }
.process li { counter-increment: step; position: relative; padding: 22px 22px 22px 70px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--card); }
.process li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 20px; top: 22px; font-family: var(--mono); font-size: .85rem; color: var(--green);
  width: 34px; height: 34px; border: 1px solid var(--green-line); border-radius: 9px; display: grid; place-items: center; background: var(--bg);
}
.process h3 { font-size: 1.02rem; margin-bottom: 6px; }
.process p { font-size: .92rem; }
.note { font-size: .85rem; color: var(--text-3); margin-top: 18px; }

/* ---------- Pricing ---------- */
.pricing { border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: var(--bg); }
.pricing-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pricing table { min-width: 560px; }
.pricing caption { text-align: left; padding: 0; }
.pricing th, .pricing td { padding: 16px 18px; border-bottom: 1px solid var(--border-soft); text-align: center; font-size: .94rem; }
.pricing tbody th { text-align: left; font-weight: 600; color: var(--text); }
.pricing tbody th small { display: block; font-weight: 400; color: var(--text-3); font-size: .8rem; margin-top: 2px; }
.pricing td { color: var(--text); }
.pricing thead th { vertical-align: top; padding: 28px 18px 22px; }
.pricing thead th:first-child { text-align: left; vertical-align: bottom; color: var(--text-2); font-weight: 500; font-size: .85rem; }
.pricing .is-featured { background: rgba(57,255,20,.035); }
.plan-name { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 1.15rem; font-weight: 700; }
.plan-tag { font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--green-ink); background: var(--green); padding: 3px 7px; border-radius: 5px; }
.plan-desc { display: block; margin-top: 6px; font-size: .85rem; color: var(--text-2); font-weight: 400; }
.plan-price { display: block; margin-top: 14px; font-size: 2rem; font-weight: 800; letter-spacing: -.03em; color: var(--text); }
.plan-price small { font-size: .85rem; font-weight: 500; color: var(--text-2); letter-spacing: 0; }
.pricing tfoot td { padding: 22px 18px; border-bottom: 0; }
.yes, .no { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; }
.yes { background: var(--green-soft); border: 1px solid var(--green-line); color: var(--green); }
.no { border: 1px solid var(--border); color: var(--text-3); }
.yes svg, .no svg { width: 12px; height: 12px; }
.pricing-note { margin-top: 16px; font-size: .88rem; color: var(--text-2); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; align-items: center;
  padding: 20px 2px; font-weight: 600; font-size: 1.02rem; color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--border);
  background:
    linear-gradient(var(--text-2), var(--text-2)) center / 10px 1.5px no-repeat,
    linear-gradient(var(--text-2), var(--text-2)) center / 1.5px 10px no-repeat;
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); border-color: var(--green-line); }
.faq summary:hover { color: var(--green); }
.faq__answer { padding: 0 2px 22px; max-width: 74ch; }
.faq__answer p + p { margin-top: 10px; }
.faq__group + .faq__group { margin-top: 48px; }
.faq__group h2 { font-size: 1.25rem; margin-bottom: 14px; }

/* ---------- CTA band ---------- */
.cta-band { padding: var(--section) 0; }
.cta-band__inner {
  position: relative; overflow: hidden; border-radius: 24px; border: 1px solid var(--border);
  background:
    radial-gradient(520px 260px at 100% 0%, rgba(57,255,20,.10), transparent 70%),
    var(--card);
  padding: 40px 24px;
}
.cta-band__inner::after {
  content: ""; position: absolute; right: -40px; bottom: -40px; width: 260px; height: 260px; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(circle at 70% 70%, #000, transparent 70%);
  mask-image: radial-gradient(circle at 70% 70%, #000, transparent 70%);
}
.cta-band h2 { max-width: 18ch; position: relative; z-index: 1; }
.cta-band p { margin-top: 14px; max-width: 54ch; position: relative; z-index: 1; }
.cta-band .btn-row { margin-top: 26px; position: relative; z-index: 1; }

/* ---------- Related products ---------- */
.related { display: grid; gap: 14px; }
.related a { display: flex; gap: 14px; align-items: center; padding: 18px; border: 1px solid var(--border); border-radius: var(--r); background: var(--card); transition: border-color .2s; }
.related a:hover { border-color: #4a4a4a; }
.related .card__icon { margin: 0; flex: none; }
.related strong { display: block; font-size: .98rem; }
.related span { font-size: .85rem; color: var(--text-2); }

/* ---------- Forms ---------- */
.form-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; }
.form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label, .field legend { font-size: .85rem; font-weight: 600; color: var(--text); }
.field .optional { color: var(--text-3); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 10px;
  background: var(--bg); border: 1px solid var(--border); color: var(--text); font-size: .97rem;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.55; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A3A3A3' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 16px no-repeat; }
.field input::placeholder, .field textarea::placeholder { color: #8F8F8F; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #4a4a4a; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(57,255,20,.15); }
.field [aria-invalid="true"] { border-color: var(--red); }
.field__error { font-size: .82rem; color: var(--red); min-height: 0; }
.field__error:empty { display: none; }
.field__hint { font-size: .8rem; color: var(--text-3); }
fieldset.field { border: 0; padding: 0; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; margin-top: 4px; }
.choice { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg); font-size: .9rem; color: var(--text-2); cursor: pointer; }
.choice:hover { border-color: #4a4a4a; }
.choice input { accent-color: var(--green); width: 16px; height: 16px; flex: none; }
.choice:has(input:checked) { border-color: var(--green-line); color: var(--text); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: 10px; padding: 12px 14px; font-size: .92rem; display: none; }
.form-status.is-visible { display: block; }
.form-status--success { background: var(--green-soft); border: 1px solid var(--green-line); color: #CFFFC2; }
.form-status--error { background: rgba(255,107,107,.08); border: 1px solid rgba(255,107,107,.4); color: #FFD0D0; }
.form-legal { font-size: .8rem; color: var(--text-3); }
.form-legal a { color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; }

.contact-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.contact-list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; }
.contact-list .card__icon { margin: 0; }
.contact-list small { display: block; font-size: .75rem; font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.contact-list a, .contact-list span { color: var(--text); font-weight: 600; }
.contact-list a:hover { color: var(--green); }

/* ---------- Blog ---------- */
.post-card { display: grid; gap: 0; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: var(--card); transition: border-color .2s; }
.post-card:hover { border-color: #4a4a4a; }
.post-card__art { aspect-ratio: 16/8; background: var(--bg-deep); border-bottom: 1px solid var(--border); display: grid; place-items: center; overflow: hidden; }
.post-card__body { padding: 24px; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .8rem; color: var(--text-3); margin-bottom: 12px; font-family: var(--mono); }
.post-card h2, .post-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.topic-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.topic-list li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 18px; border: 1px dashed var(--border); border-radius: var(--r); font-weight: 600; font-size: .95rem; }
.topic-list li span { color: var(--text-3); font-weight: 500; font-size: .8rem; font-family: var(--mono); white-space: nowrap; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }

.article-header { max-width: 820px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; font-size: .85rem; color: var(--text-2); font-family: var(--mono); }
.article-layout { display: grid; gap: 40px; }
.toc { border: 1px solid var(--border); border-radius: var(--r); padding: 20px; background: var(--card); font-size: .9rem; }
.toc h2 { font-size: .75rem; font-family: var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.toc ol { padding-left: 1.2em; display: grid; gap: 8px; color: var(--text-2); }
.toc a:hover { color: var(--green); }
.callout { border: 1px solid var(--green-line); background: var(--green-soft); border-radius: var(--r); padding: 18px 20px; }
.callout p { color: var(--text); }

/* ---------- Legal ---------- */
.legal { display: grid; gap: 40px; }
.legal-meta { font-family: var(--mono); font-size: .8rem; color: var(--text-3); margin-top: 14px; }

/* ---------- Jobs ---------- */
.job { border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--card); padding: 22px; }
.job__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 14px; align-items: baseline; margin-bottom: 10px; }
.job h3 { font-size: 1.1rem; }
.job + .job { margin-top: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-deep); border-top: 1px solid var(--border-soft); padding: 56px 0 28px; font-size: .92rem; }
.footer-grid { display: grid; gap: 36px; }
.footer-brand p { margin-top: 16px; max-width: 34ch; font-size: .9rem; }
.footer-brand .brand img { width: 150px; }
.footer-col h2 { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; font-weight: 500; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--text-2); transition: color .15s; }
.footer-col a:hover { color: var(--text); }
.footer-contact { margin-top: 20px; display: grid; gap: 6px; }
.footer-contact a { color: var(--text); font-weight: 600; }
.footer-contact a:hover { color: var(--green); }
.social { display: flex; gap: 8px; margin-top: 18px; }
.social a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border); display: grid; place-items: center; color: var(--text-2); transition: color .15s, border-color .15s; }
.social a:hover { color: var(--green); border-color: var(--green-line); }
.social svg { width: 17px; height: 17px; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--border-soft); display: grid; gap: 14px; font-size: .8rem; color: var(--text-3); }
.footer-bottom ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-bottom a { color: var(--text-2); }
.footer-bottom a:hover { color: var(--text); }
.footer-disclaimer { font-size: .78rem; line-height: 1.6; color: var(--text-3); max-width: 110ch; }

/* ---------- 404 ---------- */
.error-code { font-family: var(--mono); font-size: clamp(4rem, 3rem + 6vw, 8rem); font-weight: 500; line-height: 1; color: var(--green); letter-spacing: -.04em; }

/* ---------- Reveal (only with JS & motion allowed) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Illustrative product UI (HTML/CSS mockups)
   ========================================================================== */
.ui {
  --ui-bg: #181818; --ui-panel: #212121; --ui-line: #333;
  position: relative; border-radius: 20px; border: 1px solid var(--border);
  background: var(--ui-bg); overflow: hidden; font-size: 12px; line-height: 1.4; color: var(--text);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.02);
  user-select: none;
}
.ui::before { content: ""; position: absolute; left: 10%; right: 10%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--green-line), transparent); }
.ui-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--ui-line); background: #1b1b1b; }
.ui-bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a3a3a; display: block; }
.ui-url { margin-left: 10px; font-family: var(--mono); font-size: 10.5px; color: var(--text-3); background: var(--ui-bg); border: 1px solid var(--ui-line); border-radius: 6px; padding: 3px 10px; flex: 1; max-width: 300px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-figure { position: relative; min-width: 0; }
.ui-body { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 100%; }
.ui-side { display: none; background: #1b1b1b; border-right: 1px solid var(--ui-line); padding: 14px 10px; }
.ui-side__brand { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 11px; letter-spacing: .04em; padding: 2px 8px 14px; }
.ui-side__brand b { width: 14px; height: 14px; border-radius: 4px; background: var(--green); display: block; }
.ui-side ul { list-style: none; padding: 0; display: grid; gap: 2px; }
.ui-side li { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 7px; color: var(--text-2); font-size: 11px; font-weight: 600; }
.ui-side li::before { content: ""; width: 12px; height: 12px; border-radius: 3px; border: 1.5px solid currentColor; opacity: .6; flex: none; }
.ui-side li.is-on { background: var(--ui-panel); color: var(--text); }
.ui-side li.is-on::before { border-color: var(--green); background: var(--green-soft); opacity: 1; }
.ui-side li em { margin-left: auto; font-style: normal; font-family: var(--mono); font-size: 9.5px; color: var(--green-ink); background: var(--green); border-radius: 4px; padding: 0 5px; }
.ui-main { padding: 14px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.ui-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ui-title { font-size: 14px; font-weight: 700; letter-spacing: -.01em; }
.ui-title small { display: block; font-size: 10.5px; font-weight: 500; color: var(--text-3); letter-spacing: 0; }
.ui-search { flex: 1; max-width: 200px; height: 26px; border-radius: 7px; border: 1px solid var(--ui-line); background: var(--ui-panel); display: none; }
.ui-avatar { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, #3a3a3a, #2a2a2a); border: 1px solid var(--ui-line); flex: none; }
.ui-btn { font-size: 10.5px; font-weight: 700; padding: 5px 10px; border-radius: 6px; background: var(--green); color: var(--green-ink); white-space: nowrap; }
.ui-btn--ghost { background: transparent; color: var(--text-2); border: 1px solid var(--ui-line); }
.ui-kpis { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.ui-kpi { background: var(--ui-panel); border: 1px solid var(--ui-line); border-radius: 10px; padding: 10px 12px; min-width: 0; }
.ui-kpi span { display: block; color: var(--text-3); font-size: 10px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-kpi strong { display: block; font-size: 17px; font-weight: 800; letter-spacing: -.02em; margin-top: 3px; }
.ui-kpi em { font-style: normal; font-size: 10px; color: var(--green); font-family: var(--mono); }
.ui-kpi em.down { color: var(--red); }
.ui-kpi em.neutral { color: var(--text-3); }
.ui-grid { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
.ui-card { background: var(--ui-panel); border: 1px solid var(--ui-line); border-radius: 10px; padding: 12px; min-width: 0; overflow: hidden; }
.ui-card__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.ui-card__head b { font-size: 11.5px; }
.ui-card__head span { font-size: 10px; color: var(--text-3); font-family: var(--mono); }
.ui-chart svg { width: 100%; height: auto; }
.ui-table { width: 100%; font-size: 10.5px; }
.ui-table th { text-align: left; color: var(--text-3); font-weight: 600; font-size: 9.5px; text-transform: uppercase; letter-spacing: .05em; padding: 0 6px 7px; border-bottom: 1px solid var(--ui-line); white-space: nowrap; }
.ui-table td { padding: 7px 6px; border-bottom: 1px solid rgba(255,255,255,.04); white-space: nowrap; color: var(--text); }
.ui-table tr:last-child td { border-bottom: 0; }
.ui-table .muted { color: var(--text-3); }
.ui-table .num { font-family: var(--mono); text-align: right; }
.ui-table th.num { text-align: right; }
.ui-table .hide-sm { display: none; }
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px; border-radius: 999px; font-size: 9.5px; font-weight: 700; white-space: nowrap; }
.pill::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.pill--ok { color: var(--green); background: rgba(57,255,20,.1); }
.pill--wait { color: var(--amber); background: rgba(245,181,68,.12); }
.pill--bad { color: var(--red); background: rgba(255,107,107,.12); }
.pill--info { color: var(--blue); background: rgba(108,178,255,.12); }
.ui-feed { list-style: none; padding: 0; display: grid; gap: 9px; }
.ui-feed li { display: grid; grid-template-columns: 8px 1fr; gap: 9px; font-size: 10.5px; }
.ui-feed li::before { content: ""; width: 6px; height: 6px; border-radius: 2px; margin-top: 4px; background: var(--green); }
.ui-feed li.amber::before { background: var(--amber); }
.ui-feed li.blue::before { background: var(--blue); }
.ui-feed small { display: block; color: var(--text-3); font-family: var(--mono); font-size: 9.5px; }
.ui-bars { display: grid; gap: 8px; }
.ui-bars div { display: grid; grid-template-columns: 64px 1fr 44px; gap: 8px; align-items: center; font-size: 10px; }
.ui-bars span { color: var(--text-2); font-family: var(--mono); }
.ui-bars i { height: 6px; border-radius: 3px; background: var(--ui-line); position: relative; overflow: hidden; display: block; }
.ui-bars i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w, 50%); background: var(--c, var(--green)); border-radius: 3px; }
.ui-bars b { text-align: right; font-family: var(--mono); font-weight: 500; }
.ui-tree { display: grid; gap: 6px; font-size: 10.5px; }
.ui-tree div { display: flex; align-items: center; gap: 8px; padding: 7px 9px; border: 1px solid var(--ui-line); border-radius: 8px; background: var(--ui-bg); }
.ui-tree .l2 { margin-left: 18px; }
.ui-tree .l3 { margin-left: 36px; }
.ui-tree b { font-weight: 700; }
.ui-tree span { margin-left: auto; color: var(--green); font-family: var(--mono); }
.ui-tree small { color: var(--text-3); }
.ui-doc { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ui-doc div { aspect-ratio: 1.58; border-radius: 8px; border: 1px dashed #444; background: repeating-linear-gradient(135deg, #222 0 8px, #262626 8px 16px); display: grid; place-items: center; font-size: 9.5px; color: var(--text-3); font-family: var(--mono); }
.ui-field { display: grid; gap: 4px; font-size: 10px; color: var(--text-3); }
.ui-field b { height: 26px; border-radius: 6px; border: 1px solid var(--ui-line); background: var(--ui-bg); display: flex; align-items: center; padding: 0 8px; color: var(--text); font-weight: 500; font-size: 10.5px; }
.ui-swatches { display: flex; gap: 6px; }
.ui-swatches i { width: 22px; height: 22px; border-radius: 6px; display: block; border: 1px solid var(--ui-line); }
.ui-toggle { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.05); font-size: 10.5px; }
.ui-toggle:last-child { border-bottom: 0; }
.ui-toggle i { width: 26px; height: 14px; border-radius: 999px; background: #3a3a3a; position: relative; display: block; flex: none; }
.ui-toggle i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 10px; height: 10px; border-radius: 50%; background: #888; }
.ui-toggle i.on { background: var(--green); }
.ui-toggle i.on::after { left: 14px; background: var(--green-ink); }
.ui-code { font-family: var(--mono); font-size: 10.5px; line-height: 1.7; background: #141414; border: 1px solid var(--ui-line); border-radius: 10px; padding: 12px 14px; overflow: hidden; white-space: pre; color: #d4d4d4; }
.ui-code .k { color: var(--blue); }
.ui-code .s { color: #B8F5A6; }
.ui-code .c { color: #6f6f6f; }
.ui-code .g { color: var(--green); }
.ui-flow { display: grid; gap: 6px; }
.ui-flow div { display: grid; grid-template-columns: 22px 1fr auto; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--ui-line); background: var(--ui-bg); font-size: 10.5px; }
.ui-flow div > i { width: 22px; height: 22px; border-radius: 6px; border: 1px solid var(--green-line); background: var(--green-soft); display: block; position: relative; }
.ui-flow div > i::after { content: ""; position: absolute; inset: 7px; border-radius: 2px; background: var(--green); }
.ui-flow small { color: var(--text-3); display: block; font-size: 9.5px; }
.ui-flow .arrow { justify-self: center; height: 10px; width: 1px; background: var(--ui-line); border: 0; padding: 0; display: block; }
.ui-caption { font-size: .78rem; color: var(--text-3); margin-top: 12px; display: flex; align-items: center; gap: 8px; }
.ui-caption::before { content: ""; width: 6px; height: 6px; border-radius: 50%; border: 1px solid var(--text-3); }
.ui-float { display: none; }
.chat-bubble { max-width: 85%; padding: 8px 10px; border-radius: 10px; background: var(--ui-bg); border: 1px solid var(--ui-line); font-size: 10.5px; }
.chat-bubble.me { margin-left: auto; background: rgba(57,255,20,.08); border-color: var(--green-line); }
.voice { display: flex; align-items: center; gap: 6px; }
.voice b { width: 18px; height: 18px; border-radius: 50%; background: var(--green); display: block; flex: none; }
.voice i { display: block; width: 2px; background: var(--green); border-radius: 1px; }

/* Phone mockup */
.phone-figure { display: grid; justify-items: center; }
.phone {
  width: min(300px, 100%); border-radius: 40px; padding: 12px; background: #111; border: 1px solid var(--border);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.8), inset 0 0 0 2px #222; position: relative; font-size: 12px; line-height: 1.4; user-select: none;
}
.phone__notch { width: 90px; height: 22px; border-radius: 0 0 14px 14px; background: #111; margin: 0 auto -22px; position: relative; z-index: 1; }
.phone__screen { --ui-bg: #181818; --ui-panel: #212121; --ui-line: #333; background: var(--ui-bg); border-radius: 30px; padding: 34px 14px 14px; min-height: 520px; display: flex; flex-direction: column; }
.phone__tabs { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-around; }
.phone__tabs i { width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid #555; display: block; }
.phone__tabs i.on { border-color: var(--green); background: var(--green-soft); }
.phone .ui-card { --ui-panel: #212121; --ui-line: #333; }

/* Kanban mockup */
.kanban { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.kanban__col { background: var(--ui-panel); border: 1px solid var(--ui-line); border-radius: 10px; padding: 10px; display: grid; gap: 6px; align-content: start; min-width: 0; }
.kanban__col .ui-card__head { margin-bottom: 2px; }
.kanban__card { background: var(--ui-bg); border: 1px solid var(--ui-line); border-radius: 8px; padding: 8px; display: grid; gap: 4px; font-size: 10.5px; }
.kanban__card small { color: var(--text-3); }
.kanban__card .pill { justify-self: start; }

/* Service roadmap */
.roadmap { list-style: none; padding: 0; display: grid; gap: 0; counter-reset: phase; border-left: 1px solid var(--border); margin-left: 16px; }
.roadmap li { counter-increment: phase; position: relative; padding: 0 0 28px 34px; }
.roadmap li:last-child { padding-bottom: 0; }
.roadmap li::before {
  content: counter(phase); position: absolute; left: -16px; top: 0; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: var(--bg); border: 1px solid var(--green-line); color: var(--green);
  font-family: var(--mono); font-size: .82rem;
}
.roadmap h3 { font-size: 1.05rem; margin-bottom: 6px; padding-top: 4px; }
.roadmap p { font-size: .94rem; }
.roadmap .chip { margin: 10px 6px 0 0; }
.nav-group-title { grid-column: 1 / -1; font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); padding: 10px 8px 4px; }

/* ---------- Broker setup cost calculator ---------- */
.calc__layout { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); align-items: start; }
.calc__nav-steps ol { list-style: none; padding: 0; display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 24px; scrollbar-width: thin; }
.no-js .calc__nav-steps, .no-js .calc__pager, .no-js .calc__tabs { display: none; }
.calc__step {
  flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px;
  border: 1px solid var(--border); background: transparent; color: var(--text-2); font-size: .82rem; font-weight: 600; white-space: nowrap;
}
.calc__step span { font-family: var(--mono); font-size: .72rem; color: var(--text-3); }
.calc__step:hover { color: var(--text); border-color: #4a4a4a; }
.calc__step.is-done { border-color: var(--green-line); }
.calc__step.is-done span { color: var(--green); }
.calc__step[aria-current="step"] { background: var(--green); border-color: var(--green); color: var(--green-ink); }
.calc__step[aria-current="step"] span { color: var(--green-ink); }
.calc__panel + .calc__panel { margin-top: 48px; }
.calc--enhanced .calc__panel + .calc__panel { margin-top: 0; }
.calc__panel[hidden] { display: none; }
.calc__count { font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--green); margin-bottom: 8px; }
.calc__panel h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); }
.calc__panel h2:focus { outline: none; }
.calc__intro { margin: 8px 0 20px; max-width: 64ch; }
.calc__tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.calc__tabs .tabs__tab[aria-pressed="true"] { color: var(--green-ink); background: var(--green); border-color: var(--green); }
.calc__group[hidden] { display: none; }
.calc__group-title { font-size: .95rem; color: var(--text-2); margin: 4px 0 12px; }
.calc--enhanced .calc__group-title { display: none; }
.no-js .calc__group + .calc__group { margin-top: 24px; }
.calc__options { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
.calc-opt {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 26px; gap: 12px; align-items: start;
  padding: 16px; border-radius: var(--r); border: 1px solid var(--border); background: var(--card); cursor: pointer;
  transition: border-color .15s, background-color .15s;
}
.calc-opt:hover { border-color: #4a4a4a; }
.calc-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.calc-opt:has(input:focus-visible) { outline: 2px solid var(--green); outline-offset: 2px; }
.calc-opt:has(input:checked) { border-color: var(--green); background: linear-gradient(180deg, rgba(57,255,20,.06), transparent), var(--card); }
.calc-opt__body strong { display: block; font-size: 1rem; margin-bottom: 8px; }
.calc-opt__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9rem; color: var(--text); font-weight: 600; }
.calc-opt__meta small { display: block; font-size: .68rem; font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); font-weight: 500; }
.calc-opt__note { display: block; margin-top: 8px; font-style: normal; font-size: .8rem; color: var(--text-2); }
.calc-opt__tick { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; color: transparent; }
.calc-opt__tick svg { width: 13px; height: 13px; }
.calc-opt:has(input:checked) .calc-opt__tick { background: var(--green); border-color: var(--green); color: var(--green-ink); }
.calc__pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.calc__summary { display: grid; gap: 16px; }
.calc__card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px; }
.calc__card h2 { font-size: 1.15rem; margin-bottom: 14px; }
.calc__totals { display: grid; gap: 8px; }
.calc__totals div { display: flex; justify-content: space-between; gap: 12px; font-size: .92rem; }
.calc__totals dt { color: var(--text-2); }
.calc__totals dt small { color: var(--text-3); }
.calc__totals dd { margin: 0; font-weight: 700; font-family: var(--mono); }
.calc__grand { border-top: 1px solid var(--border); padding-top: 12px; margin-top: 4px; align-items: baseline; }
.calc__grand dt { color: var(--text); font-weight: 700; }
.calc__grand dd { font-size: 1.6rem; color: var(--green); letter-spacing: -.02em; }
.calc__empty { font-size: .88rem; margin-top: 14px; }
.calc__selected { list-style: none; padding: 0; margin-top: 14px; display: grid; gap: 6px; max-height: 260px; overflow-y: auto; }
.calc__selected li { display: flex; justify-content: space-between; gap: 10px; font-size: .84rem; padding: 7px 0; border-bottom: 1px solid var(--border-soft); color: var(--text-2); }
.calc__selected b { color: var(--text); font-weight: 600; white-space: nowrap; font-family: var(--mono); font-size: .8rem; }
.calc__quote-note, .calc__disclaimer { font-size: .78rem; color: var(--text-3); margin-top: 12px; }
