/* ==========================================================================
   DigiVort — Genesis Engine design system
   Direction: "blueprint precision" — ink surfaces with a faint engineering grid,
   crisp white content, one electric-blue accent, a small amber signal colour.
   Logical properties throughout so RTL languages work with the same stylesheet.
   ========================================================================== */

@font-face { font-family: "Inter"; src: url("../fonts/inter.woff") format("woff"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("../fonts/inter-tight.woff") format("woff"); font-weight: 600 800; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono.woff") format("woff"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "Vazirmatn"; src: url("../fonts/vazirmatn.woff") format("woff"); font-weight: 100 900; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }

:root {
  --ink-950: #070b14;
  --ink-900: #0b1220;
  --ink-800: #121b2e;
  --ink-700: #1c2740;
  --ink-600: #2a3756;
  --slate-500: #5b6680;
  --slate-400: #8590a8;
  --slate-300: #b8c0d2;
  --slate-200: #dde2ec;
  --slate-100: #eef1f6;
  --slate-50: #f6f8fb;

  --blue-700: #1d4fd8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --blue-100: #dbe8fe;
  --blue-50: #eff5ff;
  --amber-500: #f5a524;
  --amber-100: #fdf0d5;
  --green-600: #16a34a;
  --green-100: #dcfce7;
  --red-600: #dc2626;
  --red-100: #fee2e2;
  --violet-600: #7c3aed;

  --bg: #ffffff;
  --bg-soft: var(--slate-50);
  --surface: #ffffff;
  --surface-2: var(--slate-100);
  --border: var(--slate-200);
  --border-strong: var(--slate-300);
  --text: var(--ink-900);
  --text-muted: var(--slate-500);
  --heading: var(--ink-950);
  --primary: var(--blue-600);
  --primary-hover: var(--blue-700);
  --primary-soft: var(--blue-50);
  --on-primary: #fff;
  --accent: var(--amber-500);
  --focus: 0 0 0 3px rgba(37, 99, 235, .35);

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Vazirmatn", sans-serif;
  --font-display: "Inter Tight", "Inter", ui-sans-serif, system-ui, "Vazirmatn", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, .06), 0 1px 1px rgba(11, 18, 32, .04);
  --shadow-md: 0 8px 24px -8px rgba(11, 18, 32, .14), 0 2px 6px rgba(11, 18, 32, .05);
  --shadow-lg: 0 30px 60px -20px rgba(11, 18, 32, .28);
  --container: 1240px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

[data-theme="dark"] {
  --bg: var(--ink-950);
  --bg-soft: #0a101c;
  --surface: var(--ink-900);
  --surface-2: var(--ink-800);
  --border: #1f2a42;
  --border-strong: #2c3a5a;
  --text: #dbe2f0;
  --text-muted: #8e9ab3;
  --heading: #f5f7fb;
  --primary: var(--blue-500);
  --primary-hover: var(--blue-400);
  --primary-soft: rgba(59, 130, 246, .12);
  --shadow-md: 0 8px 24px -8px rgba(0, 0, 0, .6);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .7);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-sans);
  font-size: 16.5px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01";
}
[dir="rtl"] body { line-height: 1.9; }
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-hover); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); color: var(--heading); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5vw, 4rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); letter-spacing: -.03em; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.08rem; }
p { margin: 0 0 1em; }
small { font-size: .85em; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }
::selection { background: var(--blue-100); color: var(--ink-950); }

.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.icon-lg { width: 1.5rem; height: 1.5rem; }
.icon-xl { width: 2rem; height: 2rem; }
[dir="rtl"] .flip-rtl { transform: scaleX(-1); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.container-narrow { max-width: 820px; }
.container-mid { max-width: 1040px; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-sm { padding-block: clamp(40px, 6vw, 72px); }
.section-soft { background: var(--bg-soft); border-block: 1px solid var(--border); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; color: #fff; }
.muted { color: var(--text-muted); }
.mono { font-family: var(--font-mono); }
.center { text-align: center; }
.mt-0 { margin-top: 0 } .mb-0 { margin-bottom: 0 } .mt-1 { margin-top: .5rem } .mt-2 { margin-top: 1rem } .mt-3 { margin-top: 1.5rem } .mt-4 { margin-top: 2rem } .mt-6 { margin-top: 3rem }
.mb-1 { margin-bottom: .5rem } .mb-2 { margin-bottom: 1rem } .mb-3 { margin-bottom: 1.5rem } .mb-4 { margin-bottom: 2rem } .mb-6 { margin-bottom: 3rem }
.flex { display: flex; } .items-center { align-items: center; } .items-start { align-items: flex-start; } .justify-between { justify-content: space-between; } .gap-1 { gap: .5rem } .gap-2 { gap: 1rem } .gap-3 { gap: 1.5rem } .wrap { flex-wrap: wrap; }
.grow { flex: 1 1 auto; }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-mono); font-size: .76rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--primary); font-weight: 500; margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow.on-dark { color: var(--blue-400); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; }
.section-head p { font-size: 1.12rem; color: var(--text-muted); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--text-muted); line-height: 1.6; }
.text-gradient { background: linear-gradient(100deg, var(--blue-400), #93c5fd 45%, #fff); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--primary); --btn-fg: var(--on-primary); --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .78rem 1.25rem;
  border-radius: 999px; border: 1px solid var(--btn-bd); background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: .96rem; line-height: 1.2; cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--ease), background .18s, box-shadow .18s, border-color .18s, color .18s; text-decoration: none; font-family: inherit;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); background: var(--primary-hover); box-shadow: 0 10px 24px -10px rgba(37, 99, 235, .6); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.05em; height: 1.05em; }
.btn-lg { padding: .98rem 1.6rem; font-size: 1.02rem; }
.btn-sm { padding: .5rem .9rem; font-size: .86rem; }
.btn-block { width: 100%; }
.btn-secondary { --btn-bg: var(--surface); --btn-fg: var(--heading); --btn-bd: var(--border-strong); }
.btn-secondary:hover { background: var(--surface-2); box-shadow: none; color: var(--heading); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--heading); --btn-bd: transparent; }
.btn-ghost:hover { background: var(--surface-2); box-shadow: none; color: var(--heading); }
.btn-light { --btn-bg: #fff; --btn-fg: var(--ink-950); }
.btn-light:hover { background: var(--slate-100); color: var(--ink-950); box-shadow: 0 10px 24px -10px rgba(255,255,255,.35); }
.btn-outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .28); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: none; }
.btn-danger { --btn-bg: var(--red-600); }
.btn-danger:hover { background: #b91c1c; box-shadow: none; }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; }
.link-arrow .icon { transition: transform .18s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }
[dir="rtl"] .link-arrow:hover .icon { transform: translateX(-3px) scaleX(-1); }

/* ---------- Header ---------- */
.announcement { background: var(--ink-950); color: var(--slate-300); font-size: .86rem; text-align: center; padding: .5rem 1rem; }
.announcement a { color: #fff; text-decoration: underline; }
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, background .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--border); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--heading); font-family: var(--font-display); font-weight: 800; font-size: 1.28rem; letter-spacing: -.03em; }
.brand:hover { color: var(--heading); }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand img { max-height: 36px; width: auto; }
.nav { display: flex; align-items: center; gap: .15rem; margin-inline-start: auto; }
.nav > a, .nav-drop > button {
  display: inline-flex; align-items: center; gap: .3rem; padding: .55rem .8rem; border-radius: 999px; color: var(--text);
  font-weight: 500; font-size: .95rem; background: none; border: 0; cursor: pointer; font-family: inherit;
}
.nav > a:hover, .nav-drop > button:hover, .nav > a.is-active, .nav-drop.is-active > button { background: var(--surface-2); color: var(--heading); }
.nav-drop { position: relative; }
.nav-drop .icon { width: .95em; transition: transform .2s; }
.nav-drop[data-open] > button .icon { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 12px); inset-inline-start: 50%; transform: translateX(-50%) translateY(6px);
  width: min(760px, 92vw); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); padding: 14px; opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s var(--ease), visibility .18s;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
}
[dir="rtl"] .mega { transform: translateX(50%) translateY(6px); }
.nav-drop[data-open] .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
[dir="rtl"] .nav-drop[data-open] .mega { transform: translateX(50%) translateY(0); }
.mega-item { display: flex; gap: .85rem; padding: .8rem; border-radius: var(--r-md); color: var(--text); align-items: flex-start; }
.mega-item:hover { background: var(--surface-2); color: var(--text); }
.mega-item .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); flex: none; }
.mega-item strong { display: block; color: var(--heading); font-size: .95rem; font-weight: 600; }
.mega-item span { display: block; color: var(--text-muted); font-size: .84rem; line-height: 1.45; }
.mega-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; margin-top: 6px; padding: .8rem 1rem; border-radius: var(--r-md); background: var(--bg-soft); font-size: .9rem; }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.icon-btn { width: 40px; height: 40px; border-radius: 999px; display: inline-grid; place-items: center; border: 1px solid transparent; background: none; color: var(--text); cursor: pointer; }
.icon-btn:hover { background: var(--surface-2); color: var(--heading); }
.nav-toggle { display: none; }
.lang-switch select { border: 1px solid var(--border); background: var(--surface); color: var(--text); border-radius: 999px; padding: .4rem .7rem; font: inherit; font-size: .85rem; }

@media (max-width: 1080px) {
  .nav { position: fixed; inset: var(--header-h) 0 0 0; flex-direction: column; align-items: stretch; gap: 0; padding: 16px 20px 40px; background: var(--bg); overflow-y: auto; transform: translateX(100%); transition: transform .25s var(--ease), visibility .25s; margin: 0; visibility: hidden; }
  [dir="rtl"] .nav { transform: translateX(-100%); }
  body.nav-open .nav { transform: none; visibility: visible; }
  body.nav-open { overflow: hidden; }
  .nav > a, .nav-drop > button { width: 100%; justify-content: space-between; padding: .9rem .4rem; border-radius: 0; border-bottom: 1px solid var(--border); font-size: 1.05rem; }
  .mega { position: static; transform: none !important; width: 100%; box-shadow: none; border: 0; padding: 4px 0 12px; display: none; opacity: 1; visibility: visible; grid-template-columns: 1fr; }
  .nav-drop[data-open] .mega { display: grid; }
  .nav-toggle { display: inline-grid; }
  .header-actions .btn-start { display: none; }
  .nav .nav-cta { display: flex !important; margin-top: 1rem; }
}
.nav .nav-cta { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #cfd8ea; background: var(--ink-950);
  padding-block: clamp(72px, 10vw, 128px) clamp(64px, 8vw, 112px);
}
.hero::before, .grid-bg::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(148, 163, 184, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 184, .07) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 40%, transparent 85%);
}
.hero::after {
  content: ""; position: absolute; width: 900px; height: 900px; inset-inline-end: -260px; top: -420px; pointer-events: none;
  background: radial-gradient(circle, rgba(37, 99, 235, .38), rgba(37, 99, 235, 0) 62%);
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero .lead { color: #a9b5cc; max-width: 54ch; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 2rem; }
.hero-meta { display: flex; gap: 1.6rem; flex-wrap: wrap; margin-top: 2.4rem; font-size: .9rem; color: #8b98b2; }
.hero-meta span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-meta .icon { color: var(--blue-400); }
.page-hero { padding-block: clamp(64px, 8vw, 104px) clamp(48px, 6vw, 80px); }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); max-width: 20ch; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }

/* Hero visual: console + offices card */
.console {
  position: relative; background: linear-gradient(180deg, #0f182b, #0b1322); border: 1px solid #1d2a45; border-radius: var(--r-lg);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .04); overflow: hidden;
}
.console-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid #1a2640; }
.console-bar i { width: 10px; height: 10px; border-radius: 50%; background: #26334f; display: block; }
.console-bar span { margin-inline-start: auto; font-family: var(--font-mono); font-size: .72rem; color: #5f6d8a; }
.console-body { padding: 20px 22px 22px; font-family: var(--font-mono); font-size: .82rem; line-height: 1.85; color: #9fb0cf; direction: ltr; text-align: left; }
.console-body .k { color: #7aa7ff; } .console-body .s { color: #9be3b4; } .console-body .c { color: #4f5d7a; } .console-body .n { color: #f5c06b; }
.console-metrics { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #1a2640; }
.console-metrics div { padding: 14px 16px; border-inline-end: 1px solid #1a2640; }
.console-metrics div:last-child { border-inline-end: 0; }
.console-metrics b { display: block; color: #fff; font-family: var(--font-display); font-size: 1.3rem; letter-spacing: -.02em; }
.console-metrics small { color: #6f7d99; font-size: .74rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .05em; }
.offices-float { position: relative; margin-top: 16px; margin-inline-start: auto; width: min(360px, 92%); z-index: 2; }
.clock-card { background: rgba(255,255,255,.98); color: var(--ink-900); border-radius: var(--r-md); padding: 14px 16px; box-shadow: var(--shadow-lg); display: grid; gap: 10px; }
[data-theme="dark"] .clock-card { background: var(--ink-800); color: var(--text); border: 1px solid var(--border); }
.clock-row { display: flex; align-items: center; gap: 12px; }
.clock-row .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--slate-300); box-shadow: 0 0 0 4px var(--slate-100); flex: none; }
.clock-row .dot.on { background: var(--green-600); box-shadow: 0 0 0 4px var(--green-100); }
.clock-row strong { font-size: .92rem; display: block; color: var(--heading); }
.clock-row small { color: var(--text-muted); font-size: .78rem; }
.clock-row time { margin-inline-start: auto; font-family: var(--font-mono); font-weight: 600; font-size: 1.02rem; color: var(--heading); }

/* ---------- Trust strip / stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.stat { padding: 28px 26px; border-inline-end: 1px solid var(--border); }
.stat:last-child { border-inline-end: 0; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 2.7rem); color: var(--heading); letter-spacing: -.04em; line-height: 1; margin-bottom: .45rem; }
.stat span { color: var(--text-muted); font-size: .94rem; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-inline-end: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); } }
.stats-overlap { margin-top: -54px; position: relative; z-index: 2; box-shadow: var(--shadow-md); }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-wide { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: start; }
@media (max-width: 900px) { .split, .split-wide { grid-template-columns: 1fr; } }

.card {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(22px, 2.4vw, 30px);
  transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); color: var(--text);
}
a.card:hover, .card.is-link:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); transform: translateY(-2px); color: var(--text); }
.card h3 { font-size: 1.18rem; margin-bottom: .45rem; }
.card p { color: var(--text-muted); font-size: .97rem; margin-bottom: 0; }
.card .ic {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 1.15rem;
  background: var(--primary-soft); color: var(--primary); border: 1px solid color-mix(in srgb, var(--primary) 18%, transparent);
}
.card .ic .icon { width: 22px; height: 22px; }
.card .card-foot { margin-top: 1.2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.card-service { display: flex; flex-direction: column; }
.card-service .price { font-family: var(--font-mono); font-size: .8rem; color: var(--text-muted); }
.card-dark { background: var(--ink-900); border-color: #1d2942; color: #b9c4da; }
.card-dark h3 { color: #fff; }
.card-dark p { color: #93a0bb; }
.card-flat { background: var(--bg-soft); }

.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.feature-list li { display: flex; gap: .65rem; align-items: flex-start; }
.feature-list .icon { color: var(--primary); margin-top: .22em; }
.feature-list.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .feature-list.two { grid-template-columns: 1fr; } }

.badge { display: inline-flex; align-items: center; gap: .35rem; padding: .22rem .62rem; border-radius: 999px; font-size: .76rem; font-weight: 600; background: var(--surface-2); color: var(--text); border: 1px solid var(--border); white-space: nowrap; }
.badge-blue { background: var(--primary-soft); color: var(--primary); border-color: transparent; }
.badge-green { background: var(--green-100); color: #15803d; border-color: transparent; }
.badge-amber { background: var(--amber-100); color: #a16207; border-color: transparent; }
.badge-red { background: var(--red-100); color: #b91c1c; border-color: transparent; }
.badge-dark { background: var(--ink-800); color: #cbd5e1; border-color: #273454; }
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
[data-theme="dark"] .badge-green { background: rgba(22, 163, 74, .15); color: #4ade80; }
[data-theme="dark"] .badge-amber { background: rgba(245, 165, 36, .15); color: #fbbf24; }
[data-theme="dark"] .badge-red { background: rgba(220, 38, 38, .15); color: #f87171; }

.tag-list { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { font-family: var(--font-mono); font-size: .76rem; padding: .32rem .66rem; border-radius: 8px; background: var(--surface-2); color: var(--text); border: 1px solid var(--border); }

/* Product cards */
.product-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.product-card .thumb { aspect-ratio: 16 / 9; background: var(--ink-900); overflow: hidden; border-bottom: 1px solid var(--border); }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product-card:hover .thumb img { transform: scale(1.03); }
.product-card .body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.product-card .kind { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--text-muted); }
.product-card h3 { margin: .35rem 0 .4rem; }

/* Process steps */
.steps { counter-reset: step; display: grid; gap: 0; border-inline-start: 1px dashed var(--border-strong); margin-inline-start: 18px; }
.step { position: relative; padding: 0 0 2.2rem 2.2rem; padding-inline-start: 2.4rem; padding-inline-end: 0; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; inset-inline-start: -19px; top: -2px;
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border-strong);
  font-family: var(--font-mono); font-size: .78rem; color: var(--primary); font-weight: 600;
}
.step h3 { font-size: 1.15rem; margin-bottom: .3rem; display: flex; gap: .8rem; align-items: baseline; flex-wrap: wrap; }
.step h3 small { font-family: var(--font-mono); font-size: .75rem; color: var(--text-muted); font-weight: 500; }
.step p { color: var(--text-muted); }
.process-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.process-row .p { padding: 18px; border-radius: var(--r-md); border: 1px solid #1d2942; background: rgba(255,255,255,.02); }
.process-row .p b { display: block; font-family: var(--font-mono); font-size: .74rem; color: var(--blue-400); margin-bottom: .6rem; }
.process-row .p strong { color: #fff; display: block; font-size: .98rem; margin-bottom: .25rem; }
.process-row .p span { font-size: .85rem; color: #8b98b2; }
@media (max-width: 1024px) { .process-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .process-row { grid-template-columns: 1fr 1fr; } }

/* Dark band */
.band-dark { position: relative; overflow: hidden; background: var(--ink-950); color: #b8c3d9; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .lead, .band-dark .section-head p { color: #93a0bb; }
.band-dark .container { position: relative; z-index: 1; }
.grid-bg { position: relative; }

/* Pricing */
.pricing-tabs { display: inline-flex; padding: 5px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); gap: 4px; flex-wrap: wrap; }
.pricing-tabs button { border: 0; background: none; padding: .55rem 1rem; border-radius: 999px; font: inherit; font-weight: 600; font-size: .9rem; color: var(--text-muted); cursor: pointer; }
.pricing-tabs button[aria-selected="true"] { background: var(--ink-900); color: #fff; }
[data-theme="dark"] .pricing-tabs button[aria-selected="true"] { background: var(--primary); }
.price-card { display: flex; flex-direction: column; }
.price-card.is-highlighted { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary), var(--shadow-md); }
.price-card .ribbon { position: absolute; top: -12px; inset-inline-start: 24px; }
.price-card .amount { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; color: var(--heading); letter-spacing: -.04em; line-height: 1; margin: 1rem 0 .3rem; }
.price-card .amount small { font-family: var(--font-sans); font-size: .9rem; font-weight: 500; color: var(--text-muted); letter-spacing: 0; }
.price-card .from { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; color: var(--text-muted); letter-spacing: .06em; }
.price-card .feature-list { margin: 1.4rem 0 1.6rem; font-size: .94rem; }
.price-card .btn { margin-top: auto; }

/* Content (prose) */
.prose { font-size: 1.06rem; line-height: 1.78; color: var(--text); }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); margin: 2.4em 0 .7em; }
.prose h3 { font-size: 1.25rem; margin: 1.9em 0 .6em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.25em; }
.prose ul, .prose ol { padding-inline-start: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--primary); }
.prose a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--primary) 45%, transparent); }
.prose a:hover { text-decoration-color: var(--primary); }
.prose strong { color: var(--heading); font-weight: 650; }
.prose blockquote { margin: 1.8em 0; padding: 1.1em 1.4em; border-inline-start: 3px solid var(--primary); background: var(--primary-soft); border-radius: 0 var(--r-md) var(--r-md) 0; color: var(--heading); }
[dir="rtl"] .prose blockquote { border-radius: var(--r-md) 0 0 var(--r-md); }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose code { font-family: var(--font-mono); font-size: .88em; padding: .12em .38em; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--border); }
.prose pre { background: var(--ink-900); color: #d6deee; padding: 1.1em 1.3em; border-radius: var(--r-md); overflow-x: auto; font-size: .88rem; direction: ltr; text-align: left; }
.prose pre code { background: none; border: 0; padding: 0; color: inherit; }
.prose img { border-radius: var(--r-md); margin: 1.6em 0; }
.prose hr { margin: 2.5em 0; }
.table-wrap { overflow-x: auto; margin: 1.6em 0; border: 1px solid var(--border); border-radius: var(--r-md); }
.prose table, .table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { padding: .75em 1em; border-bottom: 1px solid var(--border); text-align: start; vertical-align: top; }
.prose th { background: var(--bg-soft); font-weight: 650; color: var(--heading); font-size: .88rem; }
.prose tr:last-child td { border-bottom: 0; }

/* Article layout */
.article-head { padding-block: clamp(48px, 6vw, 80px) 32px; }
.article-head h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); max-width: 22ch; }
.article-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; color: var(--text-muted); font-size: .9rem; align-items: center; }
.article-meta span { display: inline-flex; gap: .4rem; align-items: center; }
.article-cover { border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 16 / 8; background: var(--ink-900); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr) 260px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.article-layout .prose { max-width: 720px; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: .88rem; }
.toc h4, .aside-box h4 { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: .8rem; font-weight: 500; }
.toc ol { list-style: none; padding: 0; margin: 0; border-inline-start: 1px solid var(--border); }
.toc a { display: block; padding: .32rem .9rem; color: var(--text-muted); border-inline-start: 2px solid transparent; margin-inline-start: -1px; line-height: 1.4; }
.toc a:hover { color: var(--heading); }
.toc a.is-active { color: var(--primary); border-inline-start-color: var(--primary); font-weight: 600; }
.toc .lvl-3 a { padding-inline-start: 1.7rem; font-size: .84rem; }
.aside-sticky { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.aside-box { border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px; background: var(--surface); }
.aside-cta { background: var(--ink-950); color: #b8c3d9; border-color: #1d2942; }
.aside-cta h3 { color: #fff; font-size: 1.1rem; }
.aside-cta p { font-size: .9rem; color: #93a0bb; }
@media (max-width: 1180px) { .article-layout { grid-template-columns: minmax(0, 1fr) 260px; } .article-layout .toc-col { display: none; } }
@media (max-width: 860px) { .article-layout { grid-template-columns: 1fr; } .aside-sticky { position: static; } }
.share { display: flex; gap: .4rem; }
.share a, .share button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; color: var(--text); background: var(--surface); cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--primary); color: var(--primary); }
.share .icon { width: 16px; height: 16px; }

/* Blog cards */
.post-card { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); background: var(--surface); color: var(--text); transition: box-shadow .2s, transform .2s var(--ease), border-color .2s; height: 100%; }
.post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--border-strong); color: var(--text); }
.post-card .thumb { aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-900); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .thumb img { transform: scale(1.04); }
.post-card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.post-card .cat { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--primary); margin-bottom: .55rem; }
.post-card h3 { font-size: 1.12rem; line-height: 1.3; margin-bottom: .5rem; }
.post-card p { color: var(--text-muted); font-size: .93rem; margin-bottom: 1rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card .meta { margin-top: auto; font-size: .82rem; color: var(--text-muted); display: flex; gap: 1rem; }
.post-card.is-wide { display: grid; grid-template-columns: 1.15fr 1fr; }
.post-card.is-wide .thumb { aspect-ratio: auto; min-height: 100%; }
.post-card.is-wide h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
@media (max-width: 860px) { .post-card.is-wide { grid-template-columns: 1fr; } .post-card.is-wide .thumb { aspect-ratio: 16/9; } }
.cat-nav { display: flex; gap: .5rem; flex-wrap: wrap; }
.cat-nav a { padding: .45rem .95rem; border-radius: 999px; border: 1px solid var(--border); font-size: .88rem; font-weight: 500; color: var(--text); background: var(--surface); }
.cat-nav a:hover { border-color: var(--border-strong); color: var(--heading); }
.cat-nav a.is-active { background: var(--ink-900); color: #fff; border-color: var(--ink-900); }
[data-theme="dark"] .cat-nav a.is-active { background: var(--primary); border-color: var(--primary); }

/* Breadcrumbs */
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; font-size: .85rem; color: var(--text-muted); margin-bottom: 1.2rem; list-style: none; padding: 0; }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--heading); }
.breadcrumbs .icon { width: 14px; height: 14px; opacity: .6; }
.hero .breadcrumbs, .hero .breadcrumbs a { color: #7f8ca8; }
.hero .breadcrumbs a:hover { color: #fff; }

/* FAQ / accordion */
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; padding: 1.15rem 0; display: flex; justify-content: space-between; gap: 1.5rem; font-weight: 600; color: var(--heading); font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s; color: var(--text-muted); margin-top: .15em; }
.faq details[open] summary .icon { transform: rotate(45deg); color: var(--primary); }
.faq .answer { padding: 0 0 1.3rem; color: var(--text-muted); max-width: 70ch; }
.faq .answer p:last-child { margin-bottom: 0; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--ink-950); color: #b8c3d9; padding: clamp(40px, 6vw, 72px); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 85% 0%, rgba(37, 99, 235, .45), transparent 70%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; max-width: 20ch; }
.cta-band p { color: #9aa7c2; max-width: 52ch; font-size: 1.08rem; }
.cta-band .row { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }

/* Forms */
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 18px; }
.form-grid > * { min-width: 0; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: .4rem; }
.field label, .label { font-weight: 600; font-size: .9rem; color: var(--heading); }
.field .hint { font-size: .82rem; color: var(--text-muted); }
.input, .select, .textarea { min-width: 0;
  width: 100%; padding: .78rem .95rem; border-radius: var(--r-sm); border: 1px solid var(--border-strong); background: var(--surface);
  color: var(--text); font: inherit; font-size: .97rem; transition: border-color .15s, box-shadow .15s;
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--primary); box-shadow: var(--focus); }
.textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%236b7280' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; padding-inline-end: 2.4rem; }
[dir="rtl"] .select { background-position: left .8rem center; }
.input.is-invalid, .select.is-invalid, .textarea.is-invalid { border-color: var(--red-600); }
.error { color: var(--red-600); font-size: .84rem; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .94rem; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: .2em; accent-color: var(--primary); flex: none; }
.hp-field { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; pointer-events: none; }
.choice label { display: flex; gap: .7rem; align-items: flex-start; padding: 14px 15px; border: 1px solid var(--border-strong); border-radius: var(--r-md); cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; height: 100%; font-weight: 500; font-size: .93rem; color: var(--text); }
.choice label .icon { color: var(--text-muted); margin-top: .1em; }
.choice label small { display: block; color: var(--text-muted); font-weight: 400; font-size: .8rem; margin-top: .15rem; }
.choice label:hover { border-color: var(--primary); }
.choice input:checked + label { border-color: var(--primary); background: var(--primary-soft); box-shadow: 0 0 0 1px var(--primary); }
.choice input:checked + label .icon { color: var(--primary); }
.choice input:focus-visible + label { box-shadow: var(--focus); }
.choice-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-pills .choice label { padding: .55rem .95rem; border-radius: 999px; }

/* Alerts / toasts */
.alert { display: flex; gap: .8rem; padding: 14px 16px; border-radius: var(--r-md); border: 1px solid var(--border); background: var(--surface); font-size: .95rem; align-items: flex-start; }
.alert .icon { margin-top: .15em; }
.alert-success { background: var(--green-100); border-color: #bbf7d0; color: #14532d; }
.alert-error { background: var(--red-100); border-color: #fecaca; color: #7f1d1d; }
.alert-info { background: var(--primary-soft); border-color: transparent; color: var(--heading); }
[data-theme="dark"] .alert-success { background: rgba(22,163,74,.12); border-color: rgba(22,163,74,.3); color: #86efac; }
[data-theme="dark"] .alert-error { background: rgba(220,38,38,.12); border-color: rgba(220,38,38,.3); color: #fca5a5; }
.toast-wrap { position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 90; display: grid; gap: 10px; max-width: min(420px, calc(100vw - 40px)); }
.toast-wrap .alert { box-shadow: var(--shadow-lg); animation: toast-in .3s var(--ease); }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }

/* Wizard */
.wizard { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.wizard-steps { position: sticky; top: calc(var(--header-h) + 24px); list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.wizard-steps li { display: flex; gap: .85rem; align-items: center; padding: .7rem .8rem; border-radius: var(--r-md); color: var(--text-muted); font-weight: 500; font-size: .95rem; }
.wizard-steps li b { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border-strong); font-family: var(--font-mono); font-size: .78rem; flex: none; background: var(--surface); }
.wizard-steps li.is-current { background: var(--surface-2); color: var(--heading); }
.wizard-steps li.is-current b { border-color: var(--primary); color: var(--primary); }
.wizard-steps li.is-done b { background: var(--primary); border-color: var(--primary); color: #fff; }
.wizard-panel { display: none; }
.wizard-panel.is-current { display: block; animation: fade-up .3s var(--ease); }
@keyframes fade-up { from { opacity: 0; transform: translateY(8px); } }
.wizard-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: clamp(22px, 3.4vw, 40px); box-shadow: var(--shadow-sm); }
.wizard-card h2 { font-size: 1.6rem; }
.wizard-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.progress { height: 6px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), var(--blue-400)); border-radius: inherit; transition: width .3s var(--ease); }
.summary-list { display: grid; gap: .6rem; font-size: .95rem; }
.summary-list div { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .6rem; border-bottom: 1px dashed var(--border); }
.summary-list dt { color: var(--text-muted); }
.summary-list dd { margin: 0; font-weight: 600; color: var(--heading); text-align: end; }
@media (max-width: 900px) { .wizard { grid-template-columns: 1fr; } .wizard-steps { position: static; grid-auto-flow: column; overflow-x: auto; } .wizard-steps li span { display: none; } }

/* Locations */
.office-card { display: grid; gap: 1rem; }
.office-card .head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.office-card .clock { font-family: var(--font-mono); font-size: 1.8rem; font-weight: 600; color: var(--heading); letter-spacing: -.02em; }
.office-card dl { margin: 0; display: grid; gap: .55rem; font-size: .95rem; }
.office-card dl div { display: flex; gap: .7rem; align-items: flex-start; }
.office-card dt .icon { color: var(--primary); margin-top: .2em; }
.office-card dd { margin: 0; }
.tz-bar { position: relative; height: 48px; border-radius: var(--r-md); background: var(--surface-2); overflow: hidden; border: 1px solid var(--border); }
.tz-bar span { position: absolute; top: 0; bottom: 0; background: color-mix(in srgb, var(--primary) 22%, transparent); border-inline: 2px solid var(--primary); }
.tz-bar span.b { background: color-mix(in srgb, var(--accent) 28%, transparent); border-color: var(--accent); }
.tz-legend { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: .72rem; color: var(--text-muted); margin-top: .4rem; direction: ltr; }

/* Footer */
.site-footer { background: var(--ink-950); color: #8f9bb5; padding-top: clamp(56px, 7vw, 88px); font-size: .94rem; }
.site-footer a { color: #b6c1d7; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; }
.footer-grid h4 { color: #fff; font-size: .82rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; font-weight: 500; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-brand .brand { color: #fff; }
.footer-brand p { margin-top: 1rem; max-width: 34ch; }
.footer-offices { display: grid; gap: .9rem; margin-top: 1.4rem; }
.footer-offices div { display: flex; gap: .6rem; }
.footer-offices .icon { color: var(--blue-400); margin-top: .25em; }
.footer-offices strong { color: #dfe6f3; display: block; font-weight: 600; }
.newsletter { display: flex; gap: 8px; margin-top: 1rem; }
.newsletter .input { background: #0f172a; border-color: #243250; color: #fff; border-radius: 999px; padding: .65rem 1rem; }
.footer-bottom { margin-top: 56px; border-top: 1px solid #172238; padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .85rem; }
.footer-bottom nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.socials { display: flex; gap: .5rem; margin-top: 1.2rem; }
.socials a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid #1f2b44; color: #b6c1d7; }
.socials a:hover { border-color: var(--blue-500); color: #fff; }
.socials .icon { width: 16px; height: 16px; }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Pagination */
.pagination { display: flex; gap: .4rem; justify-content: center; flex-wrap: wrap; margin-top: 3rem; list-style: none; padding: 0; }
.pagination a, .pagination span { min-width: 40px; height: 40px; padding: 0 .8rem; display: inline-grid; place-items: center; border-radius: 999px; border: 1px solid var(--border); color: var(--text); font-size: .92rem; background: var(--surface); }
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .is-current { background: var(--ink-900); color: #fff; border-color: var(--ink-900); }
.pagination .is-disabled { opacity: .45; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Logo wall / tech strip */
.tech-strip { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; align-items: center; justify-content: center; font-family: var(--font-mono); color: var(--text-muted); font-size: .86rem; }
.tech-strip span { display: inline-flex; gap: .45rem; align-items: center; }
.tech-strip .icon { color: var(--primary); width: 15px; }

/* Misc */
.kbd-list { display: grid; gap: 10px; }
.kbd-list div { display: flex; gap: .8rem; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); align-items: flex-start; }
.kbd-list .icon { color: var(--green-600); margin-top: .2em; }
.empty { text-align: center; padding: 56px 20px; color: var(--text-muted); border: 1px dashed var(--border-strong); border-radius: var(--r-lg); }
.empty .icon { width: 36px; height: 36px; color: var(--slate-400); margin: 0 auto 1rem; display: block; }
.search-box { position: relative; }
.search-box .icon { position: absolute; inset-inline-start: 14px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.search-box .input { padding-inline-start: 2.6rem; border-radius: 999px; }
.mockup-frame { border-radius: var(--r-lg); border: 1px solid var(--border); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--ink-900); }
.mockup-frame img { width: 100%; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: var(--slate-400); }
.status-live { background: var(--green-600); } .status-beta { background: var(--amber-500); } .status-coming-soon { background: var(--violet-600); }
.inline-list { display: flex; flex-wrap: wrap; gap: .4rem 1rem; list-style: none; padding: 0; margin: 0; }
.notice-bar { position: fixed; bottom: 16px; inset-inline-start: 16px; z-index: 80; max-width: 420px; }
.divider-dot { color: var(--slate-300); }

/* Print (invoices) */
@media print {
  .site-header, .site-footer, .no-print, .announcement, .toast-wrap { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .card { border: 0; box-shadow: none; padding: 0; }
}
@media (max-width: 600px) { .console { display: none; } .offices-float { width: 100%; margin-top: 0; } .hero-actions .btn { width: 100%; } }
