/*!
 * KATERIX — Tailwind CSS build (offline)
 * ------------------------------------------------------------
 * Скомпилированный статический CSS темы: без CDN, без npm и без
 * внешних шрифтов. Слои повторяют Tailwind: base → components → utilities.
 * Все цвета берутся из CSS-переменных, которые печатает PHP
 * (см. inc/theme-options.php) — поэтому палитра переключается в админке.
 * ------------------------------------------------------------
 */

/* ============================================================
   1. BASE / PREFLIGHT
   ============================================================ */

:root {
  --font-sans: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 16px 38px -24px rgba(15, 23, 42, 0.3);
  --shadow-lg: 0 44px 90px -46px rgba(15, 23, 42, 0.4);

  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f7f9fc;
  --surface-3: #edf2f8;
  --ink: #0b1526;
  --ink-soft: #3a4a61;
  --muted: #61708a;
  --line: #e5ebf3;
  --line-strong: #d2dce9;
  --header-bg: rgba(255, 255, 255, 0.86);

  --brand-50: #eff6ff;
  --brand-100: #dbeafe;
  --brand-200: #bfdbfe;
  --brand-300: #93c5fd;
  --brand-400: #60a5fa;
  --brand-500: #3b82f6;
  --brand-600: #2563eb;
  --brand-700: #1d4ed8;
  --brand-800: #1e40af;
  --brand-900: #1e3a8a;

  --accent: #06b6d4;
  --accent-soft: rgba(6, 182, 212, 0.16);
  --link: #1d4ed8;
  --btn-ink: #ffffff;

  --hero-1: #040b1e;
  --hero-2: #0a1b45;
  --hero-glow: rgba(6, 182, 212, 0.45);
  --brand-glow: rgba(37, 99, 235, 0.32);

  --success: #0d9f6e;
  --danger: #d64545;
  --success-ink: #07714f;
  --danger-ink: #a52a2a;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: var(--line);
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd,
pre {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--link);
  text-decoration: none;
  transition: color 0.18s ease, opacity 0.18s ease;
}

a:hover {
  color: var(--brand-600);
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  margin: 0;
}

button {
  background: none;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  width: 100%;
}

strong,
b {
  font-weight: 700;
}

::selection {
  background: var(--brand-200);
  color: var(--brand-900);
}

:focus-visible {
  outline: 2px solid var(--brand-600);
  outline-offset: 3px;
  border-radius: 4px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 1000;
  padding: 12px 20px;
  border-radius: 0 0 12px 12px;
  background: var(--brand-600);
  color: var(--btn-ink);
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
  color: var(--btn-ink);
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   2. LAYOUT
   ============================================================ */

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
}

.container--narrow {
  max-width: 840px;
}

.container--wide {
  max-width: 1320px;
}

.section {
  padding-block: clamp(3.5rem, 7vw, 6rem);
  position: relative;
}

.section--tight {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.section--tint {
  background: var(--surface-2);
}

.section--flush-top {
  padding-top: 0;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 700px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    gap: 24px;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.stack > * + * {
  margin-top: 1rem;
}

.divider {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--link);
  margin: 0;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.86);
}

.eyebrow--light::before {
  background: var(--accent);
}

.section-head {
  max-width: 780px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.section-title {
  margin-top: 14px;
  font-size: clamp(1.65rem, 3.4vw, 2.55rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--ink);
  text-wrap: balance;
}

.section-sub {
  margin-top: 16px;
  font-size: 1.03rem;
  line-height: 1.65;
  color: var(--muted);
}

.lede {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.text-muted {
  color: var(--muted);
}

.text-soft {
  color: var(--ink-soft);
}

.text-brand {
  color: var(--link);
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   4. HEADER / NAVIGATION
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px -24px rgba(9, 20, 38, 0.55);
}

.admin-bar .site-header {
  top: 32px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  flex: none;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: var(--btn-ink);
  background: linear-gradient(145deg, var(--brand-500), var(--brand-700));
  box-shadow: 0 10px 20px -12px var(--brand-glow);
}

.brand-mark svg {
  width: 26px;
  height: 26px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-tagline {
  margin-top: 3px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list li {
  position: relative;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 550;
  color: var(--ink-soft);
  white-space: nowrap;
}

.nav-list a:hover {
  color: var(--ink);
  background: var(--surface-2);
}

.nav-list .current-menu-item > a,
.nav-list .current_page_item > a,
.nav-list .current-menu-ancestor > a,
.nav-list .current-menu-parent > a,
.nav-list .current_page_parent > a,
.nav-list .current-page-ancestor > a {
  color: var(--link);
  background: var(--brand-50);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.header-phone svg {
  width: 16px;
  height: 16px;
  color: var(--brand-600);
}

.header-phone:hover {
  color: var(--brand-600);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 14px 20px 24px;
  box-shadow: var(--shadow-md);
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav .nav-list {
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
}

.mobile-nav .nav-list a {
  padding: 13px 14px;
  border-radius: 12px;
  font-size: 1rem;
}

.mobile-nav__foot {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
}

.mobile-nav__phone {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink);
}

.mobile-nav__note {
  font-size: 0.8rem;
  color: var(--muted);
}

body.nav-open {
  overflow: hidden;
}

@media (max-width: 1280px) {
  .site-nav,
  .header-phone {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 600px) {
  .header-actions .btn {
    display: none;
  }

  .header-inner {
    min-height: 66px;
  }
}

/* ============================================================
   5. BUTTONS / BADGES
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 24px;
  border-radius: 13px;
  border: 1px solid transparent;
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.005em;
  cursor: pointer;
  text-align: center;
  transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, color 0.16s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn--primary {
  background: var(--brand-600);
  color: var(--btn-ink);
  box-shadow: 0 14px 30px -16px var(--brand-glow);
}

.btn--primary:hover {
  background: var(--brand-700);
  color: var(--btn-ink);
  transform: translateY(-1px);
  box-shadow: 0 18px 34px -16px var(--brand-glow);
}

.btn--secondary {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.btn--secondary:hover {
  border-color: var(--brand-300);
  color: var(--brand-700);
  transform: translateY(-1px);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  backdrop-filter: blur(6px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
}

.btn--link {
  padding: 0;
  background: none;
  color: var(--link);
  border: 0;
  gap: 6px;
  font-weight: 650;
}

.btn--link:hover {
  color: var(--brand-700);
  gap: 9px;
}

.btn--sm {
  padding: 10px 16px;
  font-size: 0.85rem;
  border-radius: 11px;
}

.btn--lg {
  padding: 17px 30px;
  font-size: 1rem;
  border-radius: 14px;
}

.btn--block {
  width: 100%;
}

.btn:disabled,
.btn[disabled] {
  opacity: 0.62;
  cursor: progress;
  transform: none !important;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--brand-50);
  color: var(--link);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid var(--brand-100);
}

.badge--glass {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
}

.badge--accent {
  background: var(--accent-soft);
  border-color: transparent;
  color: var(--link);
}

.badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

/* ============================================================
   6. HERO
   ============================================================ */

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(3rem, 6vw, 5.5rem) clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(900px 520px at 8% -12%, var(--hero-glow), transparent 62%),
    radial-gradient(760px 460px at 96% 2%, rgba(255, 255, 255, 0.09), transparent 58%),
    linear-gradient(155deg, var(--hero-1) 0%, var(--hero-2) 100%);
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 62px 62px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 15%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 15%, transparent 78%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.hero__title {
  margin-top: 20px;
  font-size: clamp(2rem, 3.7vw, 2.95rem);
  line-height: 1.08;
  letter-spacing: -0.038em;
  font-weight: 800;
  max-width: 100%;
  text-wrap: balance;
}

.hero__sub {
  margin-top: 20px;
  max-width: 56ch;
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  line-height: 1.68;
  color: rgba(225, 235, 253, 0.78);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero__micro {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 22px;
  font-size: 0.82rem;
  color: rgba(213, 227, 250, 0.72);
}

.hero__micro span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero__micro svg {
  width: 15px;
  height: 15px;
  color: var(--accent);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

@media (min-width: 640px) {
  .hero__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
}

.hero__stat-value {
  display: block;
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero__stat-label {
  display: block;
  margin-top: 5px;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(203, 219, 246, 0.62);
}

.hero__media {
  position: relative;
}

.hero__glow {
  position: absolute;
  inset: -18% -12% -22% -12%;
  background: radial-gradient(closest-side, var(--hero-glow), transparent 72%);
  filter: blur(18px);
  z-index: -1;
}

@media (min-width: 980px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: 56px;
  }
}

/* Карточка мониторинга — «продукт» на первом экране */
.monitor {
  position: relative;
  border-radius: 22px;
  padding: 20px;
  background: rgba(9, 19, 38, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 50px 100px -50px rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.monitor__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.monitor__host {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(226, 236, 255, 0.82);
  font-family: var(--font-mono);
}

.monitor__dots {
  display: flex;
  gap: 5px;
}

.monitor__dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.monitor__dots span:first-child {
  background: #ff5f57;
}

.monitor__dots span:nth-child(2) {
  background: #febc2e;
}

.monitor__dots span:nth-child(3) {
  background: #28c840;
}

.monitor__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #6ee7b7;
}

.monitor__status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.16);
  animation: sp-pulse 2.4s ease-in-out infinite;
}

@keyframes sp-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.16);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(52, 211, 153, 0.04);
  }
}

.monitor__rows {
  display: grid;
  gap: 2px;
  padding: 12px 0;
}

.monitor__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  font-size: 0.85rem;
  color: rgba(226, 236, 255, 0.86);
}

.monitor__row svg {
  width: 17px;
  height: 17px;
  flex: none;
  color: #34d399;
}

.monitor__row small {
  margin-left: auto;
  font-size: 0.72rem;
  color: rgba(196, 214, 244, 0.55);
  font-family: var(--font-mono);
}

.monitor__chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 72px;
  padding: 14px 12px 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.monitor__bar {
  flex: 1;
  height: var(--h, 50%);
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--accent), rgba(56, 189, 248, 0.18));
  opacity: 0.9;
}

.monitor__foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.72rem;
  color: rgba(203, 219, 246, 0.6);
}

.monitor__foot strong {
  display: block;
  font-size: 1.02rem;
  color: #fff;
  letter-spacing: -0.02em;
}

.hero__float {
  position: absolute;
  right: -10px;
  bottom: -22px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  font-size: 0.78rem;
  max-width: 250px;
}

.hero__float svg {
  width: 20px;
  height: 20px;
  color: var(--brand-600);
  flex: none;
}

.hero__float strong {
  display: block;
  font-size: 0.82rem;
}

.hero__float span {
  color: var(--muted);
  font-size: 0.74rem;
}

@media (max-width: 640px) {
  .hero__float {
    display: none;
  }
}

/* ============================================================
   7. TRUST / LOGOS
   ============================================================ */

.trust {
  padding-block: 22px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.trust__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
}

.trust__inner--center {
  justify-content: center;
  text-align: center;
}

.trust__label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.trust__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 30px;
}

.trust__logo {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink-soft);
  opacity: 0.62;
  transition: opacity 0.18s ease;
}

.trust__logo:hover {
  opacity: 1;
}

/* ============================================================
   8. CARDS
   ============================================================ */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 2.4vw, 28px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card--hover:hover {
  transform: translateY(-3px);
  border-color: var(--brand-200);
  box-shadow: var(--shadow-md);
}

.card--flush {
  padding: 0;
  overflow: hidden;
}

.card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--brand-50);
  color: var(--brand-600);
  margin-bottom: 18px;
}

.card__icon svg {
  width: 23px;
  height: 23px;
}

.card__title {
  font-size: 1.09rem;
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 8px;
}

.card__text {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--muted);
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 16px;
  font-size: 0.87rem;
  font-weight: 650;
  color: var(--link);
}

.card__link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.18s ease;
}

.card__link:hover svg {
  transform: translateX(3px);
}

.card__tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: 18px;
  padding: 5px 10px;
  border-radius: 7px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.pain-card {
  padding-top: clamp(22px, 2.6vw, 30px);
}

.pain-card__num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-400);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

/* ============================================================
   9. STEPS
   ============================================================ */

.steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 26px 24px 24px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}

.step__num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand-700);
  font-weight: 800;
  font-size: 0.95rem;
  border: 1px solid var(--brand-100);
}

.step__title {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 7px;
}

.step__text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}

@media (min-width: 700px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .step::after {
    content: "";
    position: absolute;
    top: 46px;
    left: calc(100% + 6px);
    width: 8px;
    height: 2px;
    border-radius: 2px;
    background: var(--line-strong);
  }

  .step:last-child::after {
    display: none;
  }
}

/* ============================================================
   10. PRICING
   ============================================================ */

.pricing {
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.6vw, 30px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.plan:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-200);
}

.plan--featured {
  background:
    radial-gradient(620px 320px at 100% 0%, var(--hero-glow), transparent 62%),
    linear-gradient(155deg, var(--hero-1), var(--hero-2));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 40px 80px -50px rgba(4, 12, 30, 0.75);
}

.plan--featured:hover {
  border-color: transparent;
  box-shadow: 0 46px 90px -46px rgba(4, 12, 30, 0.8);
}

.plan--featured .plan__summary,
.plan--featured .plan__note,
.plan--featured .plan__list li {
  color: rgba(226, 236, 255, 0.78);
}

.plan--featured .plan__name {
  color: #fff;
}

.plan--featured .plan__price {
  color: #fff;
}

.plan--featured .plan__list svg {
  color: var(--accent);
}

.plan--featured .plan__rule {
  background: rgba(255, 255, 255, 0.12);
}

.plan__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: #04121f;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 8px 20px -8px var(--accent);
}

.plan__name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--link);
}

.plan__summary {
  margin-top: 6px;
  min-height: 42px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
}

.plan__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
  color: var(--ink);
  font-size: clamp(1.9rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.plan__price small {
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--muted);
}

.plan--featured .plan__price small {
  color: rgba(203, 219, 246, 0.6);
}

.plan__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--muted);
}

.plan__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.plan__meta svg {
  width: 15px;
  height: 15px;
  color: var(--brand-500);
}

.plan__rule {
  height: 1px;
  margin: 20px 0 18px;
  background: var(--line);
}

.plan__list {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}

.plan__list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.885rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.plan__list svg {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 2px;
  color: var(--brand-600);
}

.plan__cta {
  margin-top: auto;
}

.plan__note {
  margin-top: 12px;
  font-size: 0.74rem;
  text-align: center;
  color: var(--muted);
}

.pricing__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 22px;
  margin-top: 30px;
  font-size: 0.85rem;
  color: var(--muted);
}

.pricing__foot span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.pricing__foot svg {
  width: 16px;
  height: 16px;
  color: var(--brand-600);
}

/* ============================================================
   11. DARK BAND / GUARANTEES
   ============================================================ */

.dark-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(3.5rem, 7vw, 6rem);
  background:
    radial-gradient(820px 420px at 88% -10%, var(--hero-glow), transparent 60%),
    linear-gradient(155deg, var(--hero-1), var(--hero-2));
  color: #fff;
}

.dark-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 100% 0%, #000, transparent 70%);
  mask-image: radial-gradient(ellipse 80% 70% at 100% 0%, #000, transparent 70%);
  pointer-events: none;
}

.dark-band .section-title {
  color: #fff;
}

.dark-band .section-sub {
  color: rgba(214, 228, 250, 0.72);
}

.dark-band .eyebrow {
  color: rgba(255, 255, 255, 0.85);
}

.glass {
  padding: clamp(20px, 2.4vw, 26px);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.glass__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent);
}

.glass__icon svg {
  width: 22px;
  height: 22px;
}

.glass__title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 7px;
}

.glass__text {
  font-size: 0.88rem;
  line-height: 1.62;
  color: rgba(212, 226, 248, 0.72);
}

/* Статистика */
.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 18px;
}

.stat__value {
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--ink);
}

.dark-band .stat__value {
  color: #fff;
}

.stat__value span {
  color: var(--accent);
}

.stat__label {
  margin-top: 8px;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--muted);
}

.dark-band .stat__label {
  color: rgba(191, 209, 238, 0.66);
}

@media (min-width: 900px) {
  .stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ============================================================
   12. TESTIMONIALS
   ============================================================ */

.quote {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(22px, 2.6vw, 28px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.quote__stars {
  display: flex;
  gap: 3px;
  color: #f5a623;
}

.quote__stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  stroke: none;
}

.quote__text {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.quote__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 6px;
}

.avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--brand-100), var(--brand-50));
  color: var(--brand-700);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.avatar--lg {
  width: 64px;
  height: 64px;
  font-size: 1.1rem;
}

.quote__name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.quote__role {
  font-size: 0.78rem;
  color: var(--muted);
}

/* ============================================================
   13. FAQ
   ============================================================ */

.faq-layout {
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr);
}

.faq {
  display: grid;
  gap: 10px;
}

.faq__item {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.faq__item[open] {
  border-color: var(--brand-200);
  box-shadow: var(--shadow-sm);
}

.faq__q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 20px;
  cursor: pointer;
  font-size: 0.97rem;
  font-weight: 650;
  color: var(--ink);
  list-style: none;
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--brand-50);
  color: var(--brand-700);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq__item[open] .faq__q::after {
  content: "−";
}

.faq__a {
  padding: 0 20px 18px;
  font-size: 0.92rem;
  line-height: 1.68;
  color: var(--muted);
}

.faq__a p + p {
  margin-top: 10px;
}

@media (min-width: 960px) {
  .faq-layout {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 56px;
    align-items: start;
  }

  .faq-layout .section-head {
    position: sticky;
    top: 110px;
    margin-bottom: 0;
  }
}

/* ============================================================
   14. FORMS
   ============================================================ */

.lead-section {
  position: relative;
  scroll-margin-top: 96px;
  background: var(--surface-2);
  border-top: 1px solid var(--line);
}

.lead-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

@media (min-width: 980px) {
  .lead-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 60px;
  }
}

.lead-aside {
  display: grid;
  gap: 18px;
}

.lead-perks {
  display: grid;
  gap: 12px;
}

.lead-perks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.lead-perks svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 2px;
  color: var(--brand-600);
}

.lead-channels {
  display: grid;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
}

.lead-channel {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.lead-channel svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--brand-600);
}

.lead-channel a {
  font-weight: 650;
  color: var(--ink);
}

.lead-channel a:hover {
  color: var(--brand-600);
}

.form-card {
  padding: clamp(22px, 3vw, 34px);
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.form-card__head {
  margin-bottom: 20px;
}

.form-card__title {
  font-size: 1.28rem;
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.form-card__note {
  margin-top: 6px;
  font-size: 0.84rem;
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

@media (min-width: 620px) {
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.field--full {
  grid-column: 1 / -1;
}

.label {
  font-size: 0.79rem;
  font-weight: 650;
  color: var(--ink-soft);
}

.label span {
  color: var(--danger);
}

.input,
.select,
.textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 11px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.93rem;
  line-height: 1.4;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
  appearance: none;
}

.textarea {
  min-height: 104px;
  resize: vertical;
}

.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2361708a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 40px;
}

.input::placeholder,
.textarea::placeholder {
  color: var(--muted);
  opacity: 0.75;
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.83rem;
  line-height: 1.6;
  color: var(--muted);
  cursor: pointer;
}

.checkbox input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  display: grid;
  place-content: center;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: none;
  border: 1.5px solid var(--line-strong);
  border-radius: 5px;
  background: var(--surface);
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.checkbox input[type="checkbox"]::after {
  content: "";
  width: 9px;
  height: 5px;
  margin-top: -2px;
  border-left: 2px solid var(--btn-ink);
  border-bottom: 2px solid var(--btn-ink);
  transform: rotate(-45deg) scale(0);
  transition: transform 0.12s ease;
}

.checkbox input[type="checkbox"]:checked {
  background: var(--brand-600);
  border-color: var(--brand-600);
}

.checkbox input[type="checkbox"]:checked::after {
  transform: rotate(-45deg) scale(1);
}

.checkbox input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--brand-600);
  outline-offset: 2px;
}

.checkbox a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-actions {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.form-note {
  font-size: 0.76rem;
  color: var(--muted);
  text-align: center;
}

.form-alert {
  display: none;
  padding: 12px 15px;
  border-radius: 11px;
  font-size: 0.87rem;
  line-height: 1.5;
  margin-bottom: 16px;
  border: 1px solid transparent;
}

.form-alert.is-visible {
  display: block;
}

.form-alert--ok {
  background: rgba(13, 159, 110, 0.09);
  border-color: rgba(13, 159, 110, 0.28);
  color: var(--success-ink);
}

.form-alert--err {
  background: rgba(214, 69, 69, 0.08);
  border-color: rgba(214, 69, 69, 0.28);
  color: var(--danger-ink);
}

.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
}

/* ============================================================
   15. BLOG CARDS / POSTS
   ============================================================ */

.posts-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}

@media (min-width: 700px) {
  .posts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .posts-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  height: 100%;
}

.post-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-200);
  box-shadow: var(--shadow-md);
}

.post-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-3);
}

.post-thumb__img,
.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.post-card:hover .post-thumb img {
  transform: scale(1.04);
}

.post-thumb--placeholder {
  display: grid;
  place-items: center;
  background:
    radial-gradient(420px 220px at 20% 0%, var(--hero-glow), transparent 65%),
    linear-gradient(150deg, var(--hero-1), var(--brand-800));
  color: rgba(255, 255, 255, 0.92);
}

.post-thumb__pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000, transparent 78%);
  mask-image: radial-gradient(ellipse at 60% 40%, #000, transparent 78%);
}

.post-thumb__label {
  position: relative;
  padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
  text-align: center;
  box-shadow: 0 14px 30px -18px rgba(0, 0, 0, 0.6);
}

.post-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 9px;
  padding: 20px 22px 24px;
}

.post-title {
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.38;
  letter-spacing: -0.018em;
  color: var(--ink);
  transition: color 0.16s ease;
}

.post-card:hover .post-title {
  color: var(--brand-700);
}

.post-title a {
  color: inherit;
}

.post-excerpt {
  font-size: 0.89rem;
  line-height: 1.62;
  color: var(--muted);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 8px;
  font-size: 0.76rem;
  color: var(--muted);
}

.post-cat {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--brand-50);
  color: var(--link);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.post-cat:hover {
  background: var(--brand-100);
  color: var(--brand-700);
}

.dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--line-strong);
}

/* Список записей в архиве */
.blog-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 32px;
}

.blog-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-cats a {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 600;
}

.blog-cats a:hover,
.blog-cats a.is-active {
  border-color: var(--brand-300);
  background: var(--brand-50);
  color: var(--brand-700);
}

/* ============================================================
   15b. ПОРТФОЛИО
   ============================================================ */

.portfolio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}

@media (min-width: 700px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.project {
  display: flex;
  flex-direction: column;
  padding: 14px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.project:hover {
  transform: translateY(-3px);
  border-color: var(--brand-200);
  box-shadow: var(--shadow-md);
}

.project__preview {
  position: relative;
  isolation: isolate;
  aspect-ratio: 16 / 9;
  padding: 13px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
}

.project__preview::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 20%, #000, transparent 78%);
  mask-image: radial-gradient(ellipse at 50% 20%, #000, transparent 78%);
  pointer-events: none;
}

.project__preview::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(4, 12, 30, 0.06) 20%, rgba(4, 12, 30, 0.55) 100%);
  pointer-events: none;
}

.project__preview--1 {
  background: linear-gradient(145deg, var(--hero-1), var(--brand-700));
}

.project__preview--2 {
  background: linear-gradient(145deg, var(--brand-800), var(--accent));
}

.project__preview--3 {
  background: linear-gradient(145deg, var(--hero-2), var(--brand-500));
}

.project__preview--4 {
  background: linear-gradient(145deg, var(--brand-700), var(--accent));
}

.project__preview--5 {
  background: linear-gradient(145deg, var(--hero-1), #0e7490);
}

.project__preview--6 {
  background: linear-gradient(145deg, var(--brand-900), var(--brand-500));
}

.project__chrome {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.58);
}

.project__chrome span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.project__chrome span:first-child {
  background: #ff5f57;
}

.project__chrome span:nth-child(2) {
  background: #febc2e;
}

.project__chrome span:nth-child(3) {
  background: #28c840;
}

.project__chrome em {
  margin-left: auto;
  font-style: normal;
}

.project__screen {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: calc(100% - 18px);
  text-align: center;
}

.project__kicker {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.project__mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.project__lines {
  display: grid;
  gap: 4px;
  width: 44%;
}

.project__lines i {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
}

.project__lines i:nth-child(2) {
  width: 74%;
}

.project__lines i:nth-child(3) {
  width: 52%;
}

.project__body {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
  padding: 16px 6px 8px;
}

.project__tag {
  align-self: flex-start;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--link);
}

.project__title {
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--ink);
}

.project__text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--muted);
}

.project__result {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-700);
}

.project__result::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.portfolio__note {
  margin-top: 24px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
}

.project-card__result {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-700);
}

.project-card__result::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.project-detail__preview {
  aspect-ratio: 16 / 9;
  margin-bottom: 40px;
}

@media (min-width: 900px) {
  .project-detail__preview {
    aspect-ratio: 21 / 9;
  }
}

.project-detail__preview .project__mark {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  font-size: 2rem;
}

.project-detail__preview .project__kicker {
  font-size: 0.68rem;
}

.project-facts {
  display: grid;
  gap: 9px;
  margin: 14px 0 18px;
}

.project-facts li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-size: 0.84rem;
  line-height: 1.45;
}

.project-facts span {
  flex: none;
  color: var(--muted);
}

.project-facts strong {
  color: var(--ink);
  font-weight: 650;
  text-align: right;
}

/* ============================================================
   16. SINGLE POST / PAGE
   ============================================================ */

.entry {
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

.entry--narrow {
  max-width: 780px;
  margin-inline: auto;
}

.entry__header {
  margin-bottom: 30px;
}

.entry__title {
  margin-top: 14px;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: var(--ink);
}

.entry__lead {
  margin-top: 16px;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.entry__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 0.82rem;
  color: var(--muted);
}

.entry__meta .avatar {
  width: 32px;
  height: 32px;
  font-size: 0.68rem;
}

.entry__hero {
  margin-block: 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.entry__hero img {
  width: 100%;
}

/* Ритм типографики */
.prose {
  font-size: 1.02rem;
  line-height: 1.78;
  color: var(--ink-soft);
}

.prose > * + * {
  margin-top: 1.1em;
}

.prose h2 {
  margin-top: 2em;
  margin-bottom: 0.6em;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
  font-weight: 750;
  color: var(--ink);
}

.prose h3 {
  margin-top: 1.7em;
  margin-bottom: 0.5em;
  font-size: 1.16rem;
  line-height: 1.35;
  letter-spacing: -0.015em;
  font-weight: 700;
  color: var(--ink);
}

.prose h4 {
  margin-top: 1.4em;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

.prose p {
  margin-bottom: 0;
}

.prose a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-color: var(--brand-300);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.prose a:hover {
  text-decoration-color: var(--brand-600);
}

.prose ul,
.prose ol {
  padding-left: 1.45em;
  display: grid;
  gap: 0.45em;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li::marker {
  color: var(--brand-500);
}

.prose strong {
  color: var(--ink);
  font-weight: 700;
}

.prose blockquote {
  margin-block: 1.6em;
  padding: 20px 22px;
  border-left: 3px solid var(--brand-500);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--surface-2);
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink);
}

.prose blockquote p:last-child {
  margin-bottom: 0;
}

.prose table {
  margin-block: 1.6em;
  font-size: 0.91rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
}

.prose th,
.prose td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.prose th {
  background: var(--surface-2);
  font-weight: 700;
  color: var(--ink);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.prose tr:last-child td {
  border-bottom: 0;
}

.prose img,
.prose figure img {
  border-radius: var(--radius);
  width: 100%;
}

.prose figcaption {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

.prose hr {
  margin-block: 2em;
  border: 0;
  height: 1px;
  background: var(--line);
}

.prose code {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.86em;
  color: var(--brand-700);
}

.prose pre {
  padding: 18px;
  border-radius: var(--radius);
  background: var(--hero-1);
  color: #e7efff;
  overflow-x: auto;
  font-size: 0.86rem;
}

.prose pre code {
  background: none;
  border: 0;
  color: inherit;
  padding: 0;
}

.prose .wp-block-image,
.prose .wp-block-gallery {
  margin-block: 1.6em;
}

.prose .alignwide {
  max-width: 1040px;
  margin-inline: auto;
}

.alignwide {
  width: min(1040px, calc(100vw - 40px));
  margin-inline: auto;
}

.alignfull {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.alignleft {
  float: left;
  margin: 0 20px 16px 0;
}

.alignright {
  float: right;
  margin: 0 0 16px 20px;
}

.aligncenter {
  display: block;
  margin-inline: auto;
}

/* Автор и связанные записи */
.author-box {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.author-box__name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

.author-box__text {
  margin-top: 4px;
  font-size: 0.87rem;
  line-height: 1.6;
  color: var(--muted);
}

.related {
  margin-top: 56px;
}

.related__title {
  font-size: 1.3rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

/* Хлебные крошки */
.breadcrumbs {
  margin-bottom: 18px;
  font-size: 0.78rem;
  color: var(--muted);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.breadcrumbs li + li::before {
  content: "/";
  color: var(--line-strong);
}

.breadcrumbs a {
  color: inherit;
}

.breadcrumbs a:hover {
  color: var(--brand-600);
}

.page-hero .breadcrumbs {
  color: rgba(206, 221, 246, 0.6);
}

.page-hero .breadcrumbs a:hover {
  color: #fff;
}

.page-hero .breadcrumbs li + li::before {
  color: rgba(255, 255, 255, 0.25);
}

/* Шапка внутренней страницы */
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(2.4rem, 5vw, 4rem) clamp(2.6rem, 5vw, 4.2rem);
  background:
    radial-gradient(700px 340px at 12% -20%, var(--hero-glow), transparent 65%),
    linear-gradient(155deg, var(--hero-1), var(--hero-2));
  color: #fff;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 80% 0%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 80% 0%, #000, transparent 75%);
  pointer-events: none;
}

.page-hero__title {
  max-width: 22ch;
  margin-top: 14px;
  font-size: clamp(1.9rem, 4.4vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 800;
  text-wrap: balance;
}

.page-hero__sub {
  max-width: 62ch;
  margin-top: 16px;
  font-size: clamp(0.98rem, 1.5vw, 1.1rem);
  line-height: 1.66;
  color: rgba(214, 228, 250, 0.74);
}

.page-hero__extra {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ============================================================
   17. CTA BAND
   ============================================================ */

.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 4.6vw, 52px);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(520px 260px at 92% 0%, var(--hero-glow), transparent 62%),
    linear-gradient(135deg, var(--hero-1) 0%, var(--hero-2) 62%, var(--brand-800) 130%);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.cta-band__title {
  max-width: 20ch;
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.cta-band__sub {
  max-width: 54ch;
  margin-top: 12px;
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(214, 228, 250, 0.76);
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.cta-band__inner {
  display: grid;
  gap: 26px;
  align-items: center;
}

@media (min-width: 900px) {
  .cta-band__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 40px;
  }
}

/* ============================================================
   18. FOOTER
   ============================================================ */

.site-footer {
  margin-top: 0;
  padding-top: clamp(2.8rem, 5vw, 4.2rem);
  background:
    radial-gradient(620px 300px at 8% 0%, rgba(255, 255, 255, 0.06), transparent 65%),
    linear-gradient(170deg, var(--hero-1), #030814);
  color: rgba(203, 219, 246, 0.7);
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 34px;
  padding-bottom: 40px;
}

.footer-brand .brand {
  color: #fff;
}

.footer-brand .brand-tagline {
  color: rgba(170, 192, 226, 0.6);
}

.footer-about {
  max-width: 34ch;
  margin-top: 16px;
  line-height: 1.65;
}

.footer-title {
  margin-bottom: 14px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.footer-list {
  display: grid;
  gap: 9px;
}

.footer-list a,
.footer-contact a {
  color: rgba(219, 231, 250, 0.82);
}

.footer-list a:hover,
.footer-contact a:hover {
  color: #fff;
}

.footer-contact {
  display: grid;
  gap: 9px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 3px;
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  color: rgba(170, 192, 226, 0.58);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-legal a {
  color: inherit;
}

.footer-legal a:hover {
  color: #fff;
}

.footer-requisites {
  margin-top: 6px;
  font-size: 0.74rem;
  color: rgba(150, 174, 212, 0.5);
}

.socials {
  display: flex;
  gap: 8px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(226, 236, 255, 0.85);
}

.socials a:hover {
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
}

.socials svg {
  width: 17px;
  height: 17px;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr) minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 48px;
  }
}

/* ============================================================
   19. PAGINATION / WORDPRESS BITS
   ============================================================ */

.sp-pagination {
  margin-top: 42px;
}

.sp-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.sp-pagination .page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding-inline: 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 600;
}

.sp-pagination .page-numbers:hover {
  border-color: var(--brand-300);
  color: var(--brand-700);
}

.sp-pagination .page-numbers.current {
  background: var(--brand-600);
  border-color: var(--brand-600);
  color: var(--btn-ink);
}

.sp-pagination .page-numbers.dots {
  border-color: transparent;
  background: none;
}

.sp-pagination .nav-links .prev,
.sp-pagination .nav-links .next {
  padding-inline: 16px;
}

.screen-reader-text {
  clip-path: inset(50%);
}

.wp-block-image img {
  border-radius: var(--radius);
}

.wp-block-quote {
  margin-block: 1.6em;
  padding-left: 20px;
  border-left: 3px solid var(--brand-500);
}

.edit-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.78rem;
}

.comments-area {
  margin-top: 48px;
}

.comments-title {
  font-size: 1.25rem;
  font-weight: 750;
  margin-bottom: 18px;
}

.comment-list {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

.comment-body {
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}

.comment-meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.comment-form {
  display: grid;
  gap: 12px;
}

.comment-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
}

.comment-form .submit {
  justify-self: start;
  padding: 12px 22px;
  border-radius: 11px;
  background: var(--brand-600);
  color: var(--btn-ink);
  border: 0;
  font-weight: 650;
  cursor: pointer;
}

.search-form {
  display: flex;
  gap: 8px;
}

.search-form .search-field {
  flex: 1;
  padding: 11px 14px;
  border-radius: 11px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
}

.search-form .search-submit {
  padding: 11px 18px;
  border-radius: 11px;
  border: 0;
  background: var(--brand-600);
  color: var(--btn-ink);
  font-weight: 650;
  cursor: pointer;
}

/* 404 */
.not-found {
  padding-block: clamp(4rem, 9vw, 8rem);
  text-align: center;
}

.not-found__code {
  font-size: clamp(4rem, 14vw, 9rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
  background: linear-gradient(135deg, var(--brand-500), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.not-found__title {
  margin-top: 10px;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.not-found__text {
  max-width: 46ch;
  margin: 12px auto 0;
  color: var(--muted);
}

.not-found__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 26px;
}

/* ============================================================
   20. REVEAL / MOTION
   ============================================================ */

html.js .reveal {
  animation: sp-rise 0.6s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

@keyframes sp-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  html.js .reveal {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ============================================================
   20b. ДОПОЛНИТЕЛЬНЫЕ КОМПОНЕНТЫ
   ============================================================ */

.page-hero__glow {
  position: absolute;
  inset: -40% -10% auto auto;
  width: 60%;
  height: 100%;
  background: radial-gradient(closest-side, var(--hero-glow), transparent 72%);
  filter: blur(10px);
  z-index: -1;
  pointer-events: none;
}

.icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: none;
  vertical-align: -0.16em;
}

.badge .icon {
  width: 14px;
  height: 14px;
}

.check-list {
  display: grid;
  gap: 10px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.check-list svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 3px;
  color: var(--brand-600);
}

.check-list--numbered {
  counter-reset: none;
}

.check-list__num {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  color: var(--brand-700);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  margin-top: 1px;
}

.footer-legal li {
  display: inline-flex;
}

.blog-head .search-form {
  max-width: 320px;
  width: 100%;
}

#lead,
#dev-lead,
#pricing,
#services,
#faq,
#contacts,
#blog,
#how,
#cases,
#guarantees,
#pains,
article[id] {
  scroll-margin-top: 92px;
}

/* ============================================================
   21. UTILITIES (подмножество Tailwind, которое использует тема)
   ============================================================ */

.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.block { display: block; }
.inline-block { display: inline-block; }
.hidden { display: none; }
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.grow { flex-grow: 1; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.mx-auto { margin-inline: auto; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mt-10 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mt-auto { margin-top: auto; }
.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-5 { gap: 20px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.p-4 { padding: 16px; }
.p-6 { padding: 24px; }
.py-2 { padding-block: 8px; }
.py-4 { padding-block: 16px; }
.py-6 { padding-block: 24px; }
.px-4 { padding-inline: 16px; }
.px-6 { padding-inline: 24px; }
.pt-4 { padding-top: 16px; }
.pb-4 { padding-bottom: 16px; }
.max-w-sm { max-width: 420px; }
.max-w-md { max-width: 560px; }
.max-w-lg { max-width: 720px; }
.max-w-xl { max-width: 900px; }
.max-w-full { max-width: 100%; }
.text-xs { font-size: 0.75rem; line-height: 1.4; }
.text-sm { font-size: 0.875rem; line-height: 1.5; }
.text-base { font-size: 1rem; line-height: 1.6; }
.text-lg { font-size: 1.125rem; line-height: 1.55; }
.text-xl { font-size: 1.25rem; line-height: 1.4; }
.text-2xl { font-size: 1.5rem; line-height: 1.3; }
.text-3xl { font-size: 1.875rem; line-height: 1.2; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.uppercase { text-transform: uppercase; }
.tracking-tight { letter-spacing: -0.02em; }
.leading-tight { line-height: 1.2; }
.leading-relaxed { line-height: 1.7; }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: 999px; }
.border { border: 1px solid var(--line); }
.border-t { border-top: 1px solid var(--line); }
.bg-surface { background: var(--surface); }
.bg-soft { background: var(--surface-2); }
.bg-brand { background: var(--brand-50); }
.bg-primary { background: var(--brand-600); color: var(--btn-ink); }
.text-white { color: #fff; }
.text-ink { color: var(--ink); }
.text-brand-500 { color: var(--brand-500); }
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.opacity-70 { opacity: 0.7; }
.cursor-pointer { cursor: pointer; }

@media (min-width: 700px) {
  .sm\:flex { display: flex; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:text-left { text-align: left; }
}

@media (min-width: 1000px) {
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:text-left { text-align: left; }
}

@media (max-width: 1280px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

@media print {
  .site-header,
  .site-footer,
  .mobile-nav,
  .btn {
    display: none !important;
  }

  body {
    color: #000;
  }
}
