@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Space+Grotesk:wght@500;600&display=swap");

:root {
  --bg: #000;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f5f5f5;
  --muted: #8a8a8a;
  --lime: #d8ff4a;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; background: #000; }
body {
  margin: 0;
  background: #000;
  color: var(--text);
  font-family: Manrope, Arial, sans-serif;
  overflow-x: hidden;
}
::selection { background: var(--lime); color: #111; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { display: block; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin: auto; }

.topbar.wrap {
  width: 100%;
  max-width: none;
  height: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding-inline: max(24px, calc((100% - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(18px);
}
.topbar.wrap:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: calc(var(--scroll, 0) * 100%);
  background: var(--lime);
  pointer-events: none;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 500 15px "Space Grotesk", sans-serif;
  letter-spacing: -0.03em;
}
.brand img { width: 28px; height: 28px; border-radius: 8px; }
.nav {
  display: flex;
  gap: 22px;
  justify-content: center;
  color: #9a9a9a;
  font-size: 13px;
  font-weight: 500;
}
.nav a:hover { color: #fff; }
.nav-drop { position: relative; }
.nav-drop > button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.nav-drop > button:hover,
.nav-drop.is-open > button { color: #fff; }
.nav-drop > button:after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  transform: translateY(1px);
}
.nav-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  margin-top: 14px;
  padding: 10px;
  background: #0c0c0e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}
.nav-drop.is-open .nav-menu,
.nav-drop:focus-within .nav-menu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 6px;
}
.nav-col { display: grid; align-content: start; min-width: 168px; }
.nav-col + .nav-col { border-left: 1px solid rgba(255, 255, 255, 0.08); padding-left: 6px; }
.nav-menu a {
  padding: 8px 12px;
  border-radius: 8px;
  color: #d4d4d8;
  white-space: nowrap;
}
.nav-menu a:hover { background: rgba(255, 255, 255, 0.04); color: #fff; }
.nav-actions { justify-self: end; display: flex; align-items: center; gap: 16px; font-size: 13px; font-weight: 500; color: #9a9a9a; }
.nav-actions a:hover { color: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 0;
  background: var(--lime);
  color: #111;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  box-shadow: none;
  transition: background 0.15s ease;
}
.btn:hover { background: #e7ff86; transform: none; box-shadow: 0 10px 32px rgba(216, 255, 74, 0.28); }
.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.btn.ghost:hover { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.28); box-shadow: none; }
.nav-actions .btn { height: 34px; padding: 0 14px; }
.nav-actions .btn:hover { color: #111; }
.socs { display: flex; align-items: center; gap: 10px; }
.soc {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.soc svg { width: 28px; height: 28px; display: block; }
.soc:hover { opacity: 0.82; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #8a8a8a;
  font-size: 13px;
  font-weight: 500;
}
.eyebrow:before { content: ""; width: 16px; height: 1px; background: var(--lime); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Space Grotesk", Manrope, sans-serif; font-weight: 500; letter-spacing: -0.045em; }
h1 { font-size: clamp(52px, 6.4vw, 78px); line-height: 0.94; margin: 18px 0 0; }
h2 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.02; margin: 14px 0; }
h3 { font-size: 20px; letter-spacing: -0.03em; }
.lime { color: var(--lime); }
.muted { color: var(--muted); }
.lead { font-size: 16px; line-height: 1.65; color: #a1a1aa; max-width: 46ch; }

.hero {
  min-height: calc(100svh - 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 0;
  position: relative;
  box-sizing: border-box;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 100% 72px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 72px 100%;
  mask-image: radial-gradient(ellipse at 72% 40%, #000 10%, transparent 70%);
  opacity: 0.7;
}
.wind {
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  overflow: hidden;
  pointer-events: none;
}
.portal {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 8px;
  height: 118px;
  transform: translateY(-50%);
  border-radius: 3px;
  opacity: 0.55;
  background: linear-gradient(90deg, #5b21b6 0%, #7c3aed 38%, #1a0a2e 50%, #6d28d9 62%, #5b21b6 100%);
  box-shadow: none;
}
.portal:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 10px;
  bottom: 10px;
  width: 2px;
  transform: translateX(-50%);
  border-radius: 99px;
  background: #12081f;
}
.portal.is-live { filter: brightness(1.35); }
.portal-left { left: max(18px, calc((100% - min(1240px, 100% - 48px)) / 2 - 40px)); }
.portal-right { right: max(18px, calc((100% - min(1240px, 100% - 48px)) / 2 - 40px)); }
.gust {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  display: block;
  opacity: 0;
  color: #f4f4f5;
  pointer-events: none;
  transform-origin: center center;
}
.gust svg { display: block; width: 100%; height: auto; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr); gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(46px, 4.8vw, 64px); line-height: 0.98; }
.hero-copy { position: relative; z-index: 1; }
.hero-copy .lead { margin: 22px 0 18px; }
.hero-cred {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 42ch;
  margin: 0 0 26px;
  color: #d4d4d8;
  font-size: 14px;
  line-height: 1.45;
}
.hero-cred i {
  flex: none;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(216, 255, 74, 0.1);
  color: var(--lime);
  font-style: normal;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.04em;
}
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.micro-proof { display: flex; gap: 18px; margin-top: 28px; color: #737373; font-size: 12px; font-weight: 500; }
.micro-proof span { display: inline-flex; align-items: center; }
.micro-proof span:before {
  content: "";
  width: 5px;
  height: 5px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--lime);
}

.mock-window {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: #070707;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}
.chart .line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 2s cubic-bezier(0.22, 0.8, 0.2, 1) 0.45s forwards;
}
.mini-line i { transform-origin: left; animation: grow 1.1s ease 0.8s both; }
.window-head {
  height: 40px;
  background: #0a0a0a;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 6px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #2a2a2a; }
.window-title { margin-left: auto; color: #5c5c5c; font-size: 11px; letter-spacing: 0.06em; }
.dashboard { display: grid; grid-template-columns: 148px 1fr; min-height: 420px; }
.side { background: #070707; border-right: 1px solid var(--line); padding: 18px 12px; }
.side-logo { font: 500 12px "Space Grotesk", sans-serif; margin-bottom: 18px; color: #d4d4d4; letter-spacing: 0.04em; }
.side-item { display: flex; align-items: center; gap: 8px; padding: 8px 10px; margin: 2px 0; border-radius: 8px; color: #737373; font-size: 12px; }
.side-item .ico { width: 14px; height: 14px; }
.side-item.active { background: transparent; color: var(--lime); box-shadow: inset 2px 0 0 var(--lime); border-radius: 0 8px 8px 0; }
.dash-main { padding: 22px; }
.dash-title { font: 500 18px "Space Grotesk", sans-serif; margin-bottom: 4px; letter-spacing: -0.03em; }
.dash-sub { font-size: 12px; color: #737373; }
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 20px 0 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.stat { background: transparent; border: 0; border-right: 1px solid var(--line); padding: 14px 14px 12px; }
.stat:last-child { border-right: 0; }
.stat small { font-size: 11px; color: #737373; }
.stat b { display: block; font: 500 20px "Space Grotesk", sans-serif; margin-top: 6px; letter-spacing: -0.03em; white-space: nowrap; }
.chart { height: 120px; background: transparent; border: 0; border-radius: 0; padding: 8px 0 0; }
.chart svg { width: 100%; height: 100%; }
.dash-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.mini { background: transparent; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.mini b { font-size: 12px; font-weight: 500; }
.mini-line { height: 3px; border-radius: 10px; background: #1f1f1f; margin-top: 12px; overflow: hidden; }
.mini-line i { display: block; height: 100%; background: var(--lime); border-radius: 10px; }
.hero .mock-window { min-height: 641px; display: flex; flex-direction: column; }
.hero-dash { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 14px; background: #000; color: #f4f4f5; font-family: "Segoe UI", ui-sans-serif, system-ui, sans-serif; }
.hero-dash .chart { flex: 1; height: auto; min-height: 110px; }
.hero-dash .chart svg { height: 100%; }
.hero-an .an-top { flex-direction: row; align-items: center; justify-content: space-between; }
.hero-go { height: 22px; padding: 0 8px; border-radius: 99px; background: #141c0a; color: #d8ff4a; font-size: 11px; font-weight: 600; display: inline-flex; align-items: center; }
.hero-live { position: relative; overflow: hidden; margin-top: 10px; min-height: 28px; }
.hero-dots { position: relative; display: flex; align-items: center; gap: 14px; width: fit-content; max-width: 100%; min-height: 28px; }
.hero-dots:before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(216, 255, 74, .42); transform: translateY(-50%); }
.hero-live .hero-dots i { position: relative; z-index: 1; width: 10px; height: 10px; flex: none; background: #d8ff4a; box-shadow: 0 0 8px rgba(216, 255, 74, .7); }
.hero-live .hero-dots i.soft { background: #f5a524; box-shadow: 0 0 8px rgba(245, 165, 36, .65); }
.hero-live .hero-dots i.bad { background: #fb7185; box-shadow: 0 0 10px rgba(251, 113, 133, .8); }
.hero-live .hero-dots i.is-latest { box-shadow: 0 0 0 4px rgba(216, 255, 74, .24), 0 0 14px rgba(216, 255, 74, .8); }
.hero-live .hero-dots i.soft.is-latest { box-shadow: 0 0 0 4px rgba(245, 165, 36, .28), 0 0 14px rgba(245, 165, 36, .8); }
.hero-live .hero-dots i.bad.is-latest { box-shadow: 0 0 0 4px rgba(251, 113, 133, .28), 0 0 14px rgba(251, 113, 133, .8); }
.hero-live .hero-dots i.is-new { animation: live-send-in 450ms ease-out; }
.hero-live .hero-dots i.bad.is-new { animation: live-send-in 450ms ease-out, live-bad-pulse 700ms ease-out; }
.hero-impulse { position: absolute; z-index: 2; top: 50%; left: 0; width: 14px; height: 14px; border-radius: 50%; opacity: 0; pointer-events: none; transform: translate(-50%, -50%); }
.hero-impulse.is-ok { background: #d8ff4a; box-shadow: 0 0 10px 3px rgba(216, 255, 74, .75); animation: live-impulse 500ms linear forwards; }
.hero-impulse.is-wait { width: 16px; height: 16px; background: #ffb020; box-shadow: 0 0 8px 2px #ffb020, 0 0 20px 7px rgba(255, 150, 16, .95); animation: live-impulse 500ms linear forwards; }
.hero-impulse.is-bad { width: 16px; height: 16px; background: #fb7185; box-shadow: 0 0 8px 2px #fb7185, 0 0 20px 7px rgba(251, 113, 133, .92); animation: live-impulse 500ms linear forwards; }
.hero-dash .chart { flex: 1; height: auto; min-height: 110px; padding: 0; }
.hero-dash .chart svg { display: block; width: 100%; height: 100%; }
.hero-dash .live-top { flex-wrap: wrap; }
.hero-dash .live-legend { width: 100%; margin: 6px 0 0; justify-content: flex-start; }

.section { padding: 96px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
#database,
#servers,
#letters,
#campaigns,
#analytics,
#tracking,
#rules,
#ai { padding: 120px 0; }
#database .visual-card,
#servers .visual-card,
#letters .visual-card,
#tracking .visual-card,
#rules .visual-card { min-height: 641px; }
#campaigns .visual-card,
#analytics .visual-card,
#ai .visual-card { min-height: 500px; }
.section.alt { background: #070707; }
.section-head { max-width: none; margin-bottom: 40px; }
.section-head.center {
  display: block;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head.center h2 { margin: 0; }
.section-head.center p { margin: 12px auto 0; }
.section-head p {
  color: #8a8a8a;
  line-height: 1.6;
  font-size: 14.5px;
  font-style: italic;
  max-width: 52ch;
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
}
.feature {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0;
  background: transparent;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  padding: 28px 24px 32px;
  overflow: hidden;
  transition: background 0.2s ease, box-shadow 0.25s ease;
}
.feature:hover { background: rgba(255, 255, 255, 0.03); box-shadow: inset 2px 0 0 var(--lime); }
.sprite { position: absolute; width: 0; height: 0; }
.ico { width: 22px; height: 22px; display: block; overflow: visible; }
.ico path, .ico rect, .ico circle {
  fill: none;
  stroke: url(#ig);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature-icon .ico path,
.feature-icon .ico rect,
.feature-icon .ico circle,
.metric .ico path,
.metric .ico rect,
.metric .ico circle,
.price-card > .ico path,
.price-card > .ico rect,
.price-card > .ico circle,
.side-item .ico path,
.side-item .ico rect,
.side-item .ico circle { stroke: #d8ff4a; }
.feature-icon .ico { width: 28px; height: 28px; filter: none; }
.feature-icon {
  width: auto;
  height: auto;
  margin: 0 0 20px;
  border: 0;
  border-radius: 0;
  display: block;
  background: none;
  box-shadow: none;
}
.ico-ghost { display: none; }
.ico-ghost path, .ico-ghost circle, .ico-ghost rect { fill: none; stroke: url(#ig); stroke-width: 1.2; }
.feature h3, .feature p, .feature-icon { position: relative; z-index: 1; }
.price-card > .ico { width: 22px; height: 22px; margin-bottom: 16px; }
.feature h3 { font-size: 18px; margin: 0 0 8px; }
.feature p { font-size: 14px; line-height: 1.6; color: #8d8d8d; margin: 0; max-width: 36ch; }

.split { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: 64px; align-items: stretch; }
.split:has(> .visual-card:first-child) { grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr); }
.split > .reveal:not(.visual-card) { align-self: center; }
.split h2 { font-size: clamp(32px, 3vw, 44px); }
.visual-card {
  min-height: 0;
  border-radius: 12px;
  background: #070707;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}
.placeholder:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 32%, rgba(216, 255, 74, 0.07) 48%, transparent 64%);
  transform: translateX(-70%);
  animation: sheen 6.5s ease-in-out infinite;
  pointer-events: none;
}
.placeholder {
  height: 100%;
  min-height: 384px;
  border: 0;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  text-align: left;
  color: #737373;
  gap: 6px;
  padding: 22px;
  position: relative;
  background:
    radial-gradient(circle at 80% 0%, rgba(123, 63, 242, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(216, 255, 74, 0.05), transparent 36%),
    #0c0c0c;
}
.placeholder strong {
  position: absolute;
  top: 18px;
  left: 22px;
  font: 500 12px "Space Grotesk", sans-serif;
  letter-spacing: 0.08em;
  color: var(--lime);
  line-height: 1;
}
.placeholder strong:before { content: "0"; }
.placeholder span { font-size: 11px; letter-spacing: 0.14em; font-weight: 600; color: #6b6b6b; }
.placeholder small { color: #d4d4d4; font-size: 14px; letter-spacing: 0; font-weight: 500; position: relative; z-index: 1; }
.placeholder span { position: relative; z-index: 1; }
.placeholder:after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 54px;
  height: 196px;
  pointer-events: none;
  background:
    linear-gradient(#2a2a2a, #2a2a2a) 0 0 / 92px 8px no-repeat,
    linear-gradient(#1c1c1c, #1c1c1c) 0 22px / 58% 8px no-repeat,
    linear-gradient(#161616, #161616) 0 52px / 100% 86px no-repeat,
    linear-gradient(#d8ff4a, #d8ff4a) 0 156px / 22% 6px no-repeat,
    linear-gradient(#242424, #242424) 26% 156px / 16% 6px no-repeat,
    linear-gradient(#242424, #242424) 46% 156px / 16% 6px no-repeat;
}
#servers .placeholder:after,
#analytics .placeholder:after {
  background:
    linear-gradient(#2a2a2a, #2a2a2a) 0 0 / 40% 72px no-repeat,
    linear-gradient(#1a1a1a, #1a1a1a) 44% 0 / 56% 72px no-repeat,
    linear-gradient(#161616, #161616) 0 88px / 100% 10px no-repeat,
    linear-gradient(#161616, #161616) 0 110px / 82% 10px no-repeat,
    linear-gradient(#d8ff4a, #d8ff4a) 0 142px / 36% 6px no-repeat;
}
#letters .placeholder:after,
#ai .placeholder:after {
  background:
    linear-gradient(#1c1c1c, #1c1c1c) 0 8px / 100% 28px no-repeat,
    linear-gradient(#161616, #161616) 0 48px / 100% 10px no-repeat,
    linear-gradient(#161616, #161616) 0 68px / 92% 10px no-repeat,
    linear-gradient(#161616, #161616) 0 88px / 74% 10px no-repeat,
    linear-gradient(#d8ff4a, #d8ff4a) 0 124px / 28% 28px no-repeat;
}
.visual-card:has(.shot) { min-height: 0; height: 100%; }
.visual-card:has(img) .placeholder,
.visual-card:has(.shot) .placeholder { display: none; }
.shot {
  height: 100%;
  min-height: 0;
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  background: #000;
  color: #f4f4f5;
  font-family: "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  line-height: 1.3;
}
.shot-emails, .shot-servers, .shot-campaigns { grid-template-columns: 132px 1fr; }
.shot-lists {
  display: flex;
  flex-direction: column;
  border-right: 1px solid #1c1c1c;
  padding: 14px 10px 12px;
  background: #000;
}
.shot-lists-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 4px 14px;
  color: #737373;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.shot-lists-head i {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: #d8ff4a;
  color: #111;
  font-style: normal;
  font-weight: 600;
  display: grid;
  place-items: center;
  font-size: 13px;
}
.shot-label {
  margin: 16px 4px 6px;
  color: #737373;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.shot-list {
  height: 30px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 8px;
  color: #a3a3a3;
  font-size: 13px;
}
.shot-list.on { background: #141c0a; color: #c8ff00; }
.shot-main { display: flex; flex-direction: column; min-width: 0; height: 100%; padding: 16px 14px 12px; }
.shot-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px 10px; margin-bottom: 10px; flex-wrap: wrap; }
.shot-head b { display: block; font-size: 18px; font-weight: 600; letter-spacing: -0.03em; }
.shot-head small { display: block; margin-top: 3px; color: #737373; font-size: 11px; white-space: nowrap; }
.shot-tools { display: flex; gap: 6px; flex: none; }
.shot-tools span {
  height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  background: #111;
  border: 1px solid #262626;
  color: #f4f4f5;
}
.shot-tools .accent { background: #d8ff4a; color: #111; border-color: #d8ff4a; font-weight: 600; }
.shot table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.shot th, .shot td {
  padding: 9px 4px;
  text-align: left;
  border-bottom: 1px solid #1c1c1c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 400;
  font-size: 11px;
}
.shot th { color: #737373; font-size: 10px; }
.shot-emails th:nth-child(1), .shot-emails td:nth-child(1) { width: 92px; }
.shot-emails th:nth-child(3), .shot-emails td:nth-child(3) { width: 72px; }
.shot-emails th:nth-child(4), .shot-emails td:nth-child(4) { width: 88px; }
.shot-emails th:nth-child(5), .shot-emails td:nth-child(5) { width: 68px; }
.shot-servers th:nth-child(1), .shot-servers td:nth-child(1) { width: 42px; }
.shot-servers th:nth-child(2), .shot-servers td:nth-child(2) { width: 22%; }
.shot-servers th:nth-child(4), .shot-servers td:nth-child(4) { width: 52px; }
.shot-servers th:nth-child(5), .shot-servers td:nth-child(5) { width: 68px; }
.shot-servers th:nth-child(6), .shot-servers td:nth-child(6) { width: 64px; }
.shot-campaigns th:nth-child(1), .shot-campaigns td:nth-child(1) { width: 36px; }
.shot-campaigns th:nth-child(3), .shot-campaigns td:nth-child(3) { width: 62px; }
.shot-campaigns th:nth-child(4), .shot-campaigns td:nth-child(4),
.shot-campaigns th:nth-child(5), .shot-campaigns td:nth-child(5),
.shot-campaigns th:nth-child(6), .shot-campaigns td:nth-child(6),
.shot-campaigns th:nth-child(7), .shot-campaigns td:nth-child(7) { width: 58px; }
.shot-campaigns th:nth-child(8), .shot-campaigns td:nth-child(8) { width: 72px; }
.shot-campaigns .shot-head small { white-space: normal; }
.periods { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 8px; }
.periods span {
  height: 18px;
  padding: 0 7px;
  border-radius: 99px;
  background: #161616;
  color: #a3a3a3;
  font-size: 10px;
  display: inline-flex;
  align-items: center;
}
.periods .on { background: #d8ff4a; color: #111; font-weight: 600; }
.shot em.go { background: transparent; color: #d8ff4a; padding: 0; height: auto; font-size: 11px; font-weight: 500; }
.cbar { display: flex; width: 64px; height: 14px; overflow: hidden; background: #2a2a2a; }
.cbar i, .cbar b { display: block; height: 100%; }
.cbar i {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 3px;
  background: #7cb342;
  color: #fff;
  font-style: normal;
  font-size: 9px;
  font-weight: 600;
}
.cbar b { background: #ffb300; }
.cbar.w92 i { width: 92%; } .cbar.w92 b { width: 8%; }
.cbar.w95 i { width: 95%; } .cbar.w95 b { width: 5%; }
.cbar.w96 i { width: 96%; } .cbar.w96 b { width: 4%; }
.cbar.w91 i { width: 91%; } .cbar.w91 b { width: 9%; }
.cbar.w88 i { width: 88%; } .cbar.w88 b { width: 12%; }
.shot tr.on td { background: #141c0a; }
.sw { position: relative; display: inline-block; width: 22px; height: 12px; border-radius: 99px; background: #1c1c1c; }
.sw.on { background: #3a4a10; }
.sw i { position: absolute; top: 2px; left: 2px; width: 8px; height: 8px; border-radius: 99px; background: #525252; }
.sw.on i { left: 12px; background: #d8ff4a; }
.shot .dot { display: inline-block; width: 8px; height: 8px; border-radius: 99px; background: #4ade80; }
.shot .dot.bad { background: #fb7185; }
.shot .dot.gray { background: #525252; }
.stage { position: relative; height: 100%; min-height: 0; }
.stage-view { position: relative; height: 100%; border-radius: 14px; overflow: hidden; }
.stage-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(18px);
  transition: opacity .45s ease, transform .45s ease;
  pointer-events: none;
}
.stage-slide.is-on { opacity: 1; transform: none; pointer-events: auto; z-index: 1; }
.stage-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 26px;
  height: 26px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #141414;
  box-shadow: none;
  outline: none;
  color: #d8ff4a;
  transform: translateY(-50%);
}
.stage-nav.prev { left: 8px; }
.stage-nav.next { right: 8px; }
.stage-nav:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
}
.stage-nav.prev:before { transform: translate(-35%, -50%) rotate(135deg); }
.stage-nav.next:before { transform: translate(-65%, -50%) rotate(-45deg); }
.stage-nav:hover,
.stage-nav:focus,
.stage-nav:focus-visible { color: #fff; outline: none; box-shadow: none; }
#tracking .visual-card { height: 100%; min-height: 641px; }
.track-setup {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  padding: 14px 40px 12px;
  background: #000;
  color: #f4f4f5;
  font-family: "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  overflow: hidden;
}
.tr-top b { display: block; font-size: 16px; font-weight: 600; }
.tr-top small, .tr-card p, .tr-hint, .tr-host { display: block; margin: 4px 0 0; color: #8a8a8a; font-size: 11px; line-height: 1.4; }
.tr-tabs, .tr-seg, .tr-pills { display: flex; flex-wrap: wrap; gap: 4px; }
.tr-tabs { margin: 12px 0; }
.tr-tabs span, .tr-seg span, .tr-pills span {
  height: 22px;
  padding: 0 8px;
  border-radius: 99px;
  background: #161616;
  color: #a3a3a3;
  font-size: 10px;
  display: inline-flex;
  align-items: center;
}
.tr-tabs .on, .tr-seg .on, .tr-pills .on { background: #1c1c1c; color: #f4f4f5; border: 1px solid #333; }
.tr-pills .on { background: #d8ff4a; color: #111; border-color: #d8ff4a; font-weight: 600; }
.tr-card { flex: 1; min-height: 0; padding: 12px; border: 1px solid #222; border-radius: 12px; background: #0c0c0c; }
.tr-card-head { display: flex; align-items: center; gap: 6px; }
.tr-card-head b { font-size: 13px; }
.tr-card-head i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid #333;
  color: #737373;
  font-style: normal;
  font-size: 10px;
  display: grid;
  place-items: center;
}
.tr-switch { display: flex; align-items: center; gap: 8px; margin-top: 10px; color: #d4d4d4; }
.tr-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.tr-fields div { display: grid; grid-template-columns: 1fr 18px; gap: 4px 6px; color: #a3a3a3; font-size: 11px; }
.tr-fields span { grid-column: 1 / -1; }
.tr-fields input {
  grid-column: 1;
  height: 28px;
  padding: 0 8px;
  border: 1px solid #262626;
  border-radius: 8px;
  background: #111;
  color: #f4f4f5;
  font: inherit;
  font-size: 11px;
}
.tr-fields b { grid-column: 2; align-self: center; width: 16px; height: 16px; border-radius: 50%; border: 1px solid #333; color: #737373; font-weight: 500; display: grid; place-items: center; }
.tr-sub { display: flex; align-items: center; gap: 8px; margin-top: 10px; color: #a3a3a3; font-size: 11px; }
.tr-sub b { height: 24px; padding: 0 10px; border: 1px solid #262626; border-radius: 8px; background: #111; color: #f4f4f5; font-weight: 500; display: inline-flex; align-items: center; }
.tr-host span { color: #f4f4f5; }
.tr-file { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 8px; border: 1px solid #222; border-radius: 12px; }
.tr-zip { width: 36px; height: 28px; border-radius: 6px; background: #1c1c1c; color: #d8ff4a; font-size: 10px; font-weight: 700; display: grid; place-items: center; }
.tr-btn, .tr-ok { height: 26px; padding: 0 10px; border-radius: 99px; border: 1px solid #333; display: inline-flex; align-items: center; font-size: 11px; }
.tr-ok { color: #d8ff4a; border-color: #3a4a10; }
.tr-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; }
.tr-foot span { height: 28px; padding: 0 12px; border-radius: 8px; background: #161616; display: inline-flex; align-items: center; font-size: 12px; }
.tr-foot .save { background: #1c1c1c; }
.tr-seg { margin: 0 0 8px; }
.tr-pills { margin: 0 0 8px; }
.shot-export .shot-main { padding-left: 40px; padding-right: 40px; }
.shot-export th:nth-child(3), .shot-export td:nth-child(3) { width: 58px; }
.shot-export th:nth-child(4), .shot-export td:nth-child(4) { width: 72px; }
.shot-export th:nth-child(5), .shot-export td:nth-child(5) { width: 78px; }
.shot-export th:nth-child(6), .shot-export td:nth-child(6) { width: 92px; }
.shot .box { display: inline-block; width: 12px; height: 12px; border: 1px solid #333; border-radius: 3px; }
#rules .visual-card { height: 100%; min-height: 641px; }
.rule-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  padding: 14px 40px 12px;
  background: #000;
  color: #f4f4f5;
  font-family: "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  overflow: hidden;
}
.rule-panel .tr-top { display: flex; align-items: center; gap: 6px; }
.rule-panel .q, .rule-fold { color: #737373; }
.rule-fold { display: flex; align-items: center; justify-content: space-between; margin: 12px 0 8px; padding-bottom: 8px; border-bottom: 1px solid #1c1c1c; }
.rule-block { margin-top: 8px; border: 1px solid #222; border-radius: 12px; background: #0c0c0c; overflow: hidden; }
.rule-block pre { margin: 0; padding: 8px 10px; color: #d4d4d4; font: inherit; font-size: 12px; line-height: 1.45; white-space: pre-wrap; }
.rule-block div { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-top: 1px solid #1c1c1c; }
.rule-block b { flex: 1; height: 26px; padding: 0 10px; border: 1px solid #262626; border-radius: 8px; background: #111; font-weight: 500; display: flex; align-items: center; }
.rule-block span { color: #a3a3a3; font-size: 11px; }
.rule-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 10px; }
.tr-save { height: 28px; padding: 0 14px; border-radius: 99px; background: #d8ff4a; color: #111; font-weight: 600; display: inline-flex; align-items: center; }
.rule-count { display: grid; gap: 4px; margin-top: 12px; color: #a3a3a3; font-size: 11px; }
.rule-count input { height: 28px; padding: 0 8px; border: 1px solid #262626; border-radius: 8px; background: #111; color: #f4f4f5; font: inherit; font-size: 12px; }
.shot-analytics { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px 10px; overflow: hidden; }
.an-top { display: flex; flex-direction: column; gap: 8px; }
.an-top b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -0.03em; }
.an-top small, .pm-head small, .an-note { display: block; margin-top: 2px; color: #737373; font-size: 10px; }
.an-tools { display: flex; flex-wrap: wrap; gap: 5px; }
.an-tools span {
  height: 22px;
  padding: 0 8px;
  border: 1px solid #262626;
  border-radius: 999px;
  background: #111;
  color: #a3a3a3;
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.an-tools svg { width: 11px; height: 11px; flex: none; }
.an-card { background: #111; border: 1px solid #262626; border-radius: 12px; padding: 8px 10px; }
.pm-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.pm-head div { min-width: 0; flex: 1; }
.pm-head b { display: block; font-size: 12px; font-weight: 600; }
.mailru { width: 18px; height: 18px; border-radius: 5px; background: #168de2; display: grid; place-items: center; flex: none; }
.mailru svg { width: 12px; height: 12px; }
.pm-head .chev, .pm-head .q, .pm-head .rf { flex: none; color: #737373; font-style: normal; font-size: 11px; }
.pm-head .chev { width: 6px; height: 6px; border-right: 1.4px solid #737373; border-bottom: 1.4px solid #737373; transform: rotate(45deg); }
.pm-head .q { width: 14px; height: 14px; border-radius: 50%; border: 1px solid #333; display: grid; place-items: center; font-size: 9px; }
.pm-head .rf { width: 12px; height: 12px; border: 1.4px solid #737373; border-radius: 50%; border-right-color: transparent; }
.shot-analytics .pm, .shot-analytics .camp { width: 100%; border-collapse: collapse; table-layout: fixed; }
.shot-analytics .pm th, .shot-analytics .pm td,
.shot-analytics .camp th, .shot-analytics .camp td { padding: 3px 3px; border-bottom: 0; font-size: 9px; font-weight: 500; }
.shot-analytics .pm th, .shot-analytics .camp th { color: #737373; font-weight: 500; }
.shot-analytics .camp th:nth-child(1),
.shot-analytics .camp td:nth-child(1) { width: 38%; }
.shot-analytics .pm td.up { color: #e53935; }
.pm-bar { display: flex; height: 16px; overflow: hidden; background: #2a2a2a; }
.pm-bar i, .pm-bar b, .pm-bar s { display: flex; align-items: center; justify-content: center; font-style: normal; text-decoration: none; color: #fff; font-size: 9px; font-weight: 600; }
.pm-bar i { width: 92%; background: #7cb342; }
.pm-bar b { width: 5%; background: #ffb300; }
.pm-bar s { width: 3%; background: #e53935; }
.an-label { margin: 0 0 6px; color: #a3a3a3; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.kpis.k3 { grid-template-columns: repeat(3, 1fr); }
.kpis div { position: relative; background: #0a0a0a; border-radius: 8px; padding: 6px 7px 7px; }
.kpis small { display: block; color: #737373; font-size: 9px; padding-right: 16px; }
.kpis b { display: block; margin-top: 4px; font-size: 12px; font-weight: 600; letter-spacing: -0.02em; }
.kpis i { position: absolute; top: 6px; right: 6px; width: 16px; height: 16px; border-radius: 5px; display: grid; place-items: center; }
.kpis i svg { width: 11px; height: 11px; }
.kpis i.ok { color: #4ade80; background: rgba(74, 222, 128, .14); }
.kpis i.speed { color: #93c5fd; background: rgba(147, 197, 253, .14); }
.kpis i.soft { color: #fbbf24; background: rgba(251, 191, 36, .14); }
.kpis i.bad { color: #fb7185; background: rgba(251, 113, 133, .14); }
.an-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 8px; min-height: 0; margin-top: auto; flex: 1; }
.an-split .an-card { display: flex; flex-direction: column; min-height: 0; }
.an-chart { width: 100%; height: 52px; flex: 1; display: block; margin-top: 4px; }
.an-note { margin: -4px 0 4px; }
.live-top { display: flex; align-items: center; gap: 8px; }
.live-top b { display: block; font-size: 12px; font-weight: 600; }
.live-top small { display: block; margin-top: 1px; color: #737373; font-size: 10px; }
.live-ico { width: 18px; height: 18px; border-radius: 5px; background: rgba(74, 222, 128, .14); color: #4ade80; display: grid; place-items: center; flex: none; }
.live-ico svg { width: 12px; height: 12px; }
.live-legend { margin-left: auto; display: flex; align-items: center; gap: 8px; color: #a3a3a3; font-size: 9px; }
.live-legend i, .pulses i { width: 6px; height: 6px; border-radius: 99px; background: #d8ff4a; display: inline-block; }
.live-legend i.soft, .pulses i.soft { background: #fbbf24; }
.live-legend i.bad, .pulses i.bad { background: #fb7185; }
.pulses { display: flex; gap: 5px; margin-top: 8px; }
.kpis .val { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; }
.kpis .val b { margin-top: 0; }
.kpis .badge { height: 14px; padding: 0 5px; border-radius: 99px; border: 1px solid #262626; background: #161616; color: #a3a3a3; font-size: 9px; font-weight: 600; display: inline-flex; align-items: center; }
.kpis .hint { display: block; margin-top: 3px; color: #737373; font-size: 9px; }
.shot-analytics .camp td.bad { color: #fb7185; }
.shot td:nth-child(2) { color: #f4f4f5; }
.shot em, .shot u {
  font-style: normal;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
}
.shot em.open { background: #0c1e33; color: #7dd3fc; }
.shot em.click { background: #2a1d05; color: #fbbf24; }
.shot em.view { background: #1e1033; color: #d8b4fe; }
.shot em.new, .shot em.unk { background: #1c1c1c; color: #a3a3a3; }
.shot em.good { background: #052e16; color: #4ade80; }
.shot em.bad { background: #3f0a14; color: #fb7185; }
.shot u { background: #1a2208; color: #d8ff4a; }
.shot u.t2 { background: #172554; color: #93c5fd; }
.shot u.t3 { background: #4c0519; color: #fda4af; }
.shot u.t5 { background: #042f2e; color: #5eead4; }
.shot s {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: #fb7185;
  text-decoration: none;
}
.shot footer { margin-top: auto; padding-top: 10px; color: #737373; font-size: 11px; }
.visual-card img { width: 100%; height: 100%; min-height: 384px; object-fit: cover; border-radius: 14px; }
#letters .visual-card { height: 100%; min-height: 641px; }
.studio {
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  color: #f4f4f5;
  font-family: "Segoe UI", ui-sans-serif, system-ui, sans-serif;
}
.studio-chat { display: flex; flex-direction: column; min-width: 0; border-right: 1px solid #1c1c1c; }
.studio-log { position: relative; flex: 1; min-height: 0; padding: 16px 14px; }
.studio-empty { position: absolute; inset: 16px 14px auto; text-align: center; padding-top: 28%; }
.studio-empty b { display: block; font-size: 14px; font-weight: 600; }
.studio-empty span { display: block; margin-top: 6px; color: #737373; font-size: 11px; }
.studio.is-sent .studio-empty { display: none; }
.studio-msg { display: none; margin: 0 0 8px; max-width: 92%; font-size: 12px; line-height: 1.4; }
.studio.is-sent .studio-msg.user, .studio.is-reply .studio-msg.bot { display: block; }
.studio-msg.user { margin-left: auto; padding: 8px 10px; border-radius: 12px 12px 4px 12px; background: #141c0a; color: #f4f4f5; }
.studio-msg.bot b { display: block; font-size: 14px; }
.studio-msg .status { display: block; margin-top: 2px; color: #a3a3a3; font-size: 11px; }
.studio-msg .status:after { content: ""; display: inline-block; width: 1.1em; text-align: left; }
.studio.is-reply:not(.is-done) .status:after { content: "…"; animation: studio-dots 1s steps(3, end) infinite; }
.studio-compose { margin: 8px; padding: 8px 8px 6px; border: 1px solid #262626; border-radius: 14px; background: #0c0c0c; }
.studio-draft { display: block; min-height: 16px; color: #f4f4f5; font-size: 12px; line-height: 1.35; }
.studio.is-typing .studio-draft:after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 12px;
  margin-left: 1px;
  background: #d8ff4a;
  vertical-align: -1px;
  animation: studio-caret .8s steps(1) infinite;
}
.studio-bar { display: flex; align-items: center; gap: 8px; margin-top: 8px; color: #737373; font-size: 11px; }
.studio-bar i, .studio-bar em { font-style: normal; }
.studio-bar .mic { width: 13px; height: 13px; }
.studio-bar b {
  margin-left: auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #d8ff4a;
  color: #111;
  display: grid;
  place-items: center;
}
.studio-bar b svg { width: 12px; height: 12px; }
.studio-preview { min-width: 0; padding: 14px; display: flex; background: #111; }
.mail {
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  border-radius: 12px;
  background: transparent;
  color: #1a1a1a;
}
.mail:has(.part.show),
.studio.is-done .mail {
  min-height: 100%;
  padding: 16px 16px 18px;
  background: #fff;
}
.mail header small { display: block; color: #737373; font-size: 10px; }
.mail header b { display: block; margin-top: 3px; font-size: 16px; letter-spacing: -0.03em; }
.mail p { margin: 10px 0 0; font-size: 12px; line-height: 1.45; }
.mail-btn {
  display: inline-flex;
  margin-top: 14px;
  height: 28px;
  padding: 0 12px;
  border-radius: 8px;
  background: #172033;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  align-items: center;
}
.mail .part { opacity: 0; transform: translateY(8px); }
.mail .part.show, .studio.is-done .mail .part { opacity: 1; transform: none; transition: opacity .35s ease, transform .35s ease; }
@keyframes studio-caret { 50% { opacity: 0; } }
@keyframes studio-dots { 0% { content: ""; } 33% { content: "."; } 66% { content: ".."; } }
@media (prefers-reduced-motion: reduce) {
  .mail .part, .agent-msg.bot .part { opacity: 1; transform: none; }
  .tg-log .out, .tg-log .in, .tg-shot { display: block; }
}
#ai .visual-card { height: 100%; min-height: 500px; }
#telegram .visual-card { height: 100%; min-height: 0; }
.tg {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  color: #f4f4f5;
  font-family: "Segoe UI", ui-sans-serif, system-ui, sans-serif;
}
.tg-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid #1c1c1c; }
.tg-mark { width: 32px; height: 32px; border-radius: 50%; background: #229ed9; color: #fff; display: grid; place-items: center; flex: none; }
.tg-mark svg { width: 18px; height: 18px; }
.tg-head b { display: block; font-size: 14px; font-weight: 600; }
.tg-head small { display: block; margin-top: 1px; color: #737373; font-size: 11px; }
.tg-log { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 16px 14px; }
.tg-log p { margin: 0; max-width: 88%; padding: 8px 10px; font-size: 13px; line-height: 1.45; }
.tg-log .in { align-self: flex-start; background: #161616; border-radius: 4px 12px 12px 12px; }
.tg-log .out { align-self: flex-end; background: #1a2208; border-radius: 12px 12px 4px 12px; }
.tg-log .out, .tg-log .in, .tg-shot { display: none; }
.tg.is-sent .tg-log .out, .tg .in.show, .tg .tg-shot.show { display: block; }
.tg-shot { align-self: flex-start; width: min(92%, 460px); padding: 4px; background: #161616; border-radius: 4px 12px 12px 12px; }
.tg-photo { background: #0a0a0a; border: 1px solid #222; border-radius: 3px 10px 10px 10px; padding: 8px 10px 8px; }
.tg-ph { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.tg-ph b { font-size: 12px; font-weight: 600; }
.tg-ph span { color: #d8ff4a; font-size: 11px; }
.tg-pk { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 6px; }
.tg-pk div { background: #111; border: 1px solid #1c1c1c; border-radius: 8px; padding: 6px 8px; }
.tg-pk small { display: block; color: #737373; font-size: 10px; }
.tg-pk b { display: block; margin-top: 2px; font-size: 13px; font-weight: 600; }
.tg-pk i { margin-left: 6px; color: #d8ff4a; font-style: normal; font-size: 10px; }
.tg-photo svg { display: block; width: 100%; height: 36px; margin-top: 2px; }
.tg-compose { display: flex; align-items: center; gap: 8px; margin: 8px; padding: 8px 8px 8px 12px; border: 1px solid #262626; border-radius: 14px; background: #0c0c0c; color: #737373; font-size: 12px; }
.tg-draft { flex: 1; min-height: 16px; color: #f4f4f5; font-size: 12px; line-height: 1.35; }
.tg-draft:empty:before { content: "Написать агенту"; color: #737373; }
.tg.is-typing .tg-draft:after { content: ""; display: inline-block; width: 1px; height: 12px; margin-left: 1px; background: #d8ff4a; vertical-align: -1px; animation: studio-caret .8s steps(1) infinite; }
.tg-compose b { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; background: #d8ff4a; color: #111; display: grid; place-items: center; }
.tg-compose b svg { width: 12px; height: 12px; }
.agent {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  color: #f4f4f5;
  font-family: "Segoe UI", ui-sans-serif, system-ui, sans-serif;
}
.agent-head { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid #1c1c1c; }
.agent-head b { display: block; font-size: 13px; font-weight: 600; }
.agent-head small { display: block; margin-top: 1px; color: #737373; font-size: 10px; }
.ava { width: 28px; height: 28px; border-radius: 50%; background: #1a2208; color: #d8ff4a; display: grid; place-items: center; flex: none; }
.ava svg { width: 16px; height: 16px; }
.agent-log { flex: 1; min-height: 0; overflow: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.agent-msg.user { display: none; align-self: flex-end; max-width: 88%; margin: 0; padding: 8px 10px; border-radius: 12px 12px 4px 12px; background: #1a2208; font-size: 12px; line-height: 1.4; }
.agent.is-sent .agent-msg.user { display: block; }
.agent-msg.bot { display: none; margin: 0; padding: 10px 12px; border-radius: 12px; background: #141414; border: 1px solid #222; font-size: 12px; line-height: 1.45; }
.agent.is-reply .agent-msg.bot { display: block; }
.agent-msg.bot p { margin: 0 0 8px; }
.agent-msg.bot .part { opacity: 0; transform: translateY(6px); }
.agent-msg.bot .part.show, .agent.is-done .agent-msg.bot .part { opacity: 1; transform: none; transition: opacity .35s ease, transform .35s ease; }
.abars { margin: 0 0 8px; padding: 8px 10px 6px; border-radius: 10px; background: #0c0c0c; border: 1px solid #222; }
.abars b { display: block; margin-bottom: 8px; color: #a3a3a3; font-size: 10px; font-weight: 500; }
.abar-plot { display: flex; align-items: flex-end; justify-content: space-around; height: 78px; }
.abar-plot span { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; color: #737373; font-size: 9px; }
.abar-plot i { display: block; width: 22px; border-radius: 3px 3px 0 0; background: #d8ff4a; }
.abar-plot .h1 { height: 100%; }
.abar-plot .h2 { height: 18%; }
.abar-plot .h3 { height: 8%; }
.agent-compose { margin: 8px; padding: 8px 8px 6px; border: 1px solid #3a4a10; border-radius: 14px; background: #0c0c0c; }
.agent-draft { display: block; min-height: 16px; font-size: 12px; line-height: 1.35; }
.agent.is-typing .agent-draft:after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 12px;
  margin-left: 1px;
  background: #d8ff4a;
  vertical-align: -1px;
  animation: studio-caret .8s steps(1) infinite;
}

.bullets {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  border: 0;
}
.bullet {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #a1a1aa;
  font-size: 15px;
  line-height: 1.45;
  padding: 0;
  border: 0;
  border-radius: 0;
}
.bullet:hover { color: #fff; }
.check {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--lime) 38%, transparent 42%);
  border: 1px solid var(--lime);
  box-shadow: none;
  color: transparent;
  font-size: 0;
}
.check:after { content: none; }

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  color: #8a8a8a;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  width: fit-content;
  align-self: flex-start;
}

.wide-band {
  position: relative;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  padding: 36px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 64px;
}
.wide-band h3 { max-width: 22ch; }
.wide-band h3 { font-size: 26px; margin: 0 0 6px; }
.wide-band p { font-size: 13.5px; font-style: italic; color: #8a8a8a; margin: 0; max-width: 42ch; }

.campaign-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
  margin-bottom: 36px;
}
.campaign-head h2 { margin: 0; }
.campaign-head .lead { margin: 0; max-width: 42ch; font-size: 16px; font-style: normal; line-height: 1.65; color: #a1a1aa; }
.campaign-split { align-items: center; }
.campaign-split .btn { margin-top: 28px; }
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 40px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
}
.metric {
  position: relative;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  padding: 28px 24px 30px;
  background: transparent;
  transition: background 0.2s ease;
}
.metric:last-child { border-right: 0; }
.metric:hover { background: rgba(255, 255, 255, 0.03); }
.metric:hover span { color: var(--lime); }
.metric-icon {
  width: auto;
  height: auto;
  margin: 0 0 18px;
  border: 0;
  display: block;
  background: none;
  box-shadow: none;
}
.metric-icon .ico {
  width: 22px;
  height: 22px;
  margin: 0;
  filter: none;
}
.metric b { display: none; }
.metric span {
  display: block;
  max-width: 16ch;
  font: 500 16px "Space Grotesk", sans-serif;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0;
}

.models {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
}
.model {
  position: relative;
  overflow: hidden;
  min-height: 0;
  padding: 28px 26px 30px;
  border-radius: 0;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  transition: background 0.2s ease;
}
.model:last-child { border-right: 0; }
.model:hover { background: rgba(255, 255, 255, 0.03); }
.model:hover h3 { color: var(--lime); }
.model-mark { width: 36px; height: 36px; display: block; }
.model h3 { margin: 20px 0 8px; font-size: 18px; }
.model p { margin: 0; color: #8d8d8d; font-size: 14px; line-height: 1.5; }
.models-note { max-width: 62ch; margin: 28px auto 0; text-align: center; color: #8d8d8d; font-size: 15px; line-height: 1.6; }
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
}
.pricing .price { font-size: 32px; }
.price-card li.off { color: #8a8a8a; }
.price-card li.off:before { background: #3f3f3f; box-shadow: none; }
.price-card .soon { color: #8a8a8a; }
.price-card {
  display: flex;
  flex-direction: column;
  background: transparent;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  padding: 32px 28px;
  position: relative;
  transition: background 0.2s ease;
}
.price-card:last-child { border-right: 0; }
.price-card:hover { background: rgba(255, 255, 255, 0.03); }
.price-card.featured {
  background: #0c0c0c;
  box-shadow: inset 0 2px 0 var(--lime);
}
.price-card.featured:hover { background: #101010; }
.price-card.featured .pill,
.price-card.featured .price { color: var(--lime); }
.price-card.featured .price small { color: #8a8a8a; }
.price-card ul { flex: 1; }
.price-card .btn { margin-top: auto; }
.price-card h3 { font-size: 18px; margin: 18px 0 0; }
.price { font: 500 40px "Space Grotesk", sans-serif; letter-spacing: -0.04em; margin: 16px 0 4px; }
.price small { font: 500 13px Manrope, sans-serif; color: var(--muted); letter-spacing: 0; }
.price-card p { font-size: 14px; color: var(--muted); line-height: 1.6; min-height: 48px; }
.price-card ul { list-style: none; padding: 8px 0 0; margin: 12px 0 24px; display: grid; gap: 0; color: #e7e7e7; font-size: 14px; border: 0; border-top: 1px solid rgba(255, 255, 255, 0.08); border-radius: 0; background: transparent; }
.price-card li { display: flex; align-items: center; gap: 10px; padding: 9px 0; }
.price-card li:before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  margin: 0;
  border-radius: 50%;
  background: #d8ff4a;
  box-shadow: none;
  transform: none;
}
.price-card .btn { width: 100%; }
.pricing-note { font-size: 12px; text-align: center; margin-top: 18px; }

.faq {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
}
.faq details {
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  padding: 0 24px;
  background: transparent;
}
.faq details[open] { background: transparent; }
.faq details[open] summary { color: #fff; }
.faq details[open] p { animation: answer 0.35s ease; }
.faq summary {
  cursor: pointer;
  font-weight: 500;
  font-size: 17px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
}
.faq summary:hover { color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:after { content: "+"; color: #8a8a8a; font-size: 18px; font-weight: 400; }
.faq details[open] summary:after { content: "–"; }
.faq details p { color: var(--muted); font-size: 14.5px; line-height: 1.65; margin: 0 0 18px; max-width: 64ch; }

.seo { max-width: 760px; }
.seo h2 { font-size: clamp(32px, 4vw, 48px); max-width: 16em; margin-bottom: 22px; }
.seo h3 {
  margin: 42px 0 12px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 22px;
  letter-spacing: -0.03em;
}
.seo p { margin: 0 0 14px; color: #a1a1aa; font-size: 15.5px; line-height: 1.7; }

.final-cta {
  padding: 110px 0;
  background: radial-gradient(520px 200px at 50% 0, rgba(216, 255, 74, 0.07), transparent 70%);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.final-cta .wrap { position: relative; overflow: visible; border: 0; border-radius: 0; padding: 0; background: none; display: block; }
.final-cta h2 { max-width: 14em; margin: 0 auto 16px; font-size: clamp(36px, 4.4vw, 56px); }
.keep { white-space: nowrap; }
.final-cta p { color: #a1a1aa; font-size: 16px; font-style: normal; line-height: 1.65; max-width: 46ch; margin: 0 auto 28px; }

.footer {
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #6b6b6b;
  font-size: 13px;
  align-items: center;
}
.footer .brand { font-size: 15px; }
.footer .brand img { width: 24px; height: 24px; }
.footer-links { display: flex; gap: 18px; }
.footer a:hover { color: #fff; }

.reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.show { opacity: 1; transform: none; }

@keyframes lime-glow {
  0%, 100% { text-shadow: 0 0 16px rgba(216, 255, 74, 0.18); }
  50% { text-shadow: 0 0 34px rgba(216, 255, 74, 0.5); }
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(70px, -36px, 0); }
}
@keyframes sweep {
  from { transform: translateX(-130%); }
  to { transform: translateX(130%); }
}
@keyframes live-impulse {
  0% { left: 5px; opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { left: calc(100% - 5px); opacity: 0; }
}
@keyframes live-send-in {
  0% { transform: scale(0); }
  33% { transform: scale(1.45); }
  66% { transform: scale(1.05); }
  100% { transform: scale(1); }
}
@keyframes live-bad-pulse {
  0% { box-shadow: 0 0 0 0 rgba(251, 113, 133, 0); }
  40% { box-shadow: 0 0 0 7px rgba(251, 113, 133, .28), 0 0 16px #fb7185; }
  100% { box-shadow: 0 0 10px rgba(251, 113, 133, .8); }
}
@keyframes answer { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes sheen {
  0% { transform: translateX(-80%); }
  55%, 100% { transform: translateX(80%); }
}
@keyframes cta-glow {
  from { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04); }
  to { box-shadow: inset 0 0 80px rgba(123, 63, 242, 0.18); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .chart .line, .mini-line i, .hero-impulse, .hero-dots i, .placeholder:before, .faq details p {
    animation: none;
  }
  .wind { display: none; }
  .stage-slide { transition: none; }
  .chart .line { stroke-dashoffset: 0; }
}
.menu-btn {
  display: none;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: white;
  border-radius: 999px;
  padding: 0;
}
.shot-emails td { padding-top: 26px; padding-bottom: 26px; }

@media (max-width: 980px) {
  .nav { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .nav.open {
    display: flex;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    margin: 0;
    justify-content: flex-start;
    background: rgba(0, 0, 0, 0.96);
    padding: 16px 24px 20px;
    flex-direction: column;
    gap: 14px;
    border-bottom: 1px solid var(--line);
  }
  .nav.open .nav-drop { width: 100%; }
  .nav.open .nav-menu {
    position: static;
    transform: none;
    min-width: 0;
    margin-top: 8px;
    background: transparent;
    border: 0;
    padding: 0 0 0 8px;
    grid-template-columns: 1fr 1fr;
  }
  .hero-grid, .split, .split:has(> .visual-card:first-child), .campaign-head, .section-head.center { grid-template-columns: 1fr; gap: 40px; }
  .section-head.center h2 { margin: 0 0 12px; }
  .final-cta h2 { margin: 0 auto 16px; }
  .final-cta p { margin: 0 auto 28px; }
  .price-card, .model { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .price-card:last-child, .model:last-child { border-bottom: 0; }
  .models { grid-template-columns: 1fr 1fr; }
  .campaign-head { gap: 14px; align-items: start; }
  .campaign-head .lead { margin: 0; }
  .hero { min-height: 0; padding: 48px 0 32px; }
  .hero .mock-window { min-height: 0; }
  .wind { display: none; }
  #database .visual-card,
  #servers .visual-card,
  #letters .visual-card,
  #campaigns .visual-card,
  #analytics .visual-card,
  #tracking .visual-card,
  #rules .visual-card,
  #ai .visual-card { min-height: 280px; }
  .shot-emails td { padding-top: 9px; padding-bottom: 9px; }
  .grid3 { grid-template-columns: 1fr 1fr; }
  .metrics { grid-template-columns: 1fr 1fr; gap: 22px; }
  .pricing { grid-template-columns: 1fr; max-width: 460px; margin: auto; }
  .wide-band { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 640px) {
  .nav.open .nav-menu { grid-template-columns: 1fr; }
  .nav.open .nav-col + .nav-col { border-left: 0; padding-left: 0; }
  .wrap { width: min(100% - 32px, var(--max)); }
  .topbar.wrap { height: 60px; padding-inline: 16px; }
  .nav-actions > a:first-child { display: none; }
  .hero h1 { font-size: 44px; }
  .lead { font-size: 15px; }
  .micro-proof { gap: 10px 16px; flex-wrap: wrap; }
  .dashboard { grid-template-columns: 1fr; min-height: 0; }
  .side { display: none; }
  .section { padding: 72px 0; }
  .grid3, .models { grid-template-columns: 1fr; }
  .feature { grid-column: auto; }
  .visual-card, .placeholder, .visual-card img { min-height: 280px; }
  .placeholder:after { height: 110px; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .pricing { grid-template-columns: 1fr; max-width: 460px; margin: auto; }
  .wide-band { padding: 22px; }
  .footer { flex-direction: column; align-items: flex-start; }
  .footer-links { flex-wrap: wrap; }
  h2 { letter-spacing: -0.04em; }
  .nav.open { top: 60px; }
}

.blog-page { padding: 36px 0 96px; }
.blog-hero {
  margin: 0 0 22px;
  padding: 52px 36px 40px;
  text-align: center;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(460px 180px at 50% 0%, rgba(123, 63, 242, 0.38), transparent 72%),
    linear-gradient(180deg, #17131f 0%, #0c0c0e 100%);
}
.blog-pill {
  display: inline-flex;
  margin: 0 0 16px;
  padding: 6px 12px;
  border: 1px solid rgba(216, 255, 74, 0.35);
  border-radius: 999px;
  color: #d4d4d8;
  font-size: 13px;
}
.blog-hero h1 { max-width: none; margin: 0 0 12px; font-size: clamp(40px, 5vw, 64px); }
.blog-hero .blog-lead { max-width: 38em; margin: 0 auto; }
.blog-lead { max-width: 46em; margin: 0 0 28px; color: #a1a1aa; font-size: 17px; line-height: 1.65; }
.blog-stats { display: flex; justify-content: center; gap: 56px; margin-top: 28px; }
.blog-stats b { display: block; font-size: 36px; font-weight: 560; letter-spacing: -0.04em; }
.blog-stats span { display: block; margin-top: 4px; color: #8a8a8a; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.blog-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 18px; }
.blog-filters button {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #111;
  color: #e4e4e7;
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.blog-filters button span { margin-left: 6px; color: #8a8a8a; }
.blog-filters button.is-on { background: var(--lime); color: #111; border-color: transparent; }
.blog-filters button.is-on span { color: #111; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  padding: 22px 20px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: #0c0c0e;
}
.blog-card[hidden] { display: none !important; }
.blog-card:hover { border-color: rgba(216, 255, 74, 0.45); }
.blog-ico {
  width: 64px;
  height: 64px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(216, 255, 74, 0.08);
  color: var(--lime);
}
.blog-ico svg { width: 32px; height: 32px; display: block; }
.blog-card-body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.blog-card-foot { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.blog-card .cat {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  max-width: calc(100% - 108px);
  padding: 6px 12px;
  border: 1px solid rgba(216, 255, 74, 0.35);
  border-radius: 999px;
  background: #0c0c0e;
  color: #d4d4d8;
  font-size: 13px;
  line-height: 1.2;
}
.blog-card .mins, .blog-card-foot { color: #8a8a8a; font-size: 13px; }
.blog-card-foot { margin-top: auto; padding-top: 16px; }
.blog-card .more { color: var(--lime); margin-left: auto; }
.blog-card h2 { margin: 10px 0 8px; font-size: 20px; letter-spacing: -0.03em; }
.blog-card p {
  margin: 0;
  color: #a1a1aa;
  font-size: 14.5px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 0 0 12px; color: #8a8a8a; font-size: 13px; }
.blog-meta .cat { color: var(--lime); }
article.blog-page.wrap { width: min(1120px, calc(100% - 48px)); }
article.blog-page .article-head,
article.blog-page .prose,
article.blog-page .related,
article.blog-page .crumbs { max-width: none; }
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 240px;
  column-gap: 56px;
  align-items: start;
  justify-content: space-between;
}
.article-layout .article-head { grid-column: 1; grid-row: 1; }
.article-layout .prose:not(.article-toc) { grid-column: 1; grid-row: 2; }
.article-layout .article-author { grid-column: 1; grid-row: 3; }
.article-layout .article-toc {
  grid-column: 2;
  grid-row: 1 / span 2;
  position: sticky;
  top: 88px;
  align-self: start;
  max-width: none;
  min-width: 0;
  max-height: calc(100vh - 104px);
  overflow: auto;
}
.prose { max-width: 760px; }
.prose h2 { margin: 42px 0 12px; font-size: 28px; scroll-margin-top: 88px; }
.article-toc.prose h2 { margin-top: 0; }
.prose h3 { margin: 28px 0 10px; font-size: 20px; scroll-margin-top: 88px; }
article.blog-page .article-head h1 { margin: 14px 0 56px; }
article.blog-page .prose:not(.article-toc) h2 {
  margin: 84px 0 32px;
  padding: 0;
  border: 0;
  font-size: 28px;
  line-height: 1.25;
  color: #fff;
}
article.blog-page .prose:not(.article-toc) h3 {
  margin: 48px 0 12px;
  padding: 0;
  border: 0;
  font-size: 20px;
  line-height: 1.35;
  color: #fff;
}
.prose p, .prose li { color: #c4c4c8; font-size: 16.5px; line-height: 1.75; }
.prose p { margin: 0 0 14px; }
article.blog-page .prose:not(.article-toc) p {
  margin: 0 0 32px;
  color: #e7e9ea;
  font-size: 16.5px;
  line-height: 1.75;
}
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 1.2em; }
article.blog-page .prose:not(.article-toc) ul,
article.blog-page .prose:not(.article-toc) ol { margin: 4px 0 36px; }
.prose li { margin: 0 0 6px; }
article.blog-page .prose:not(.article-toc) li {
  margin: 0 0 12px;
  color: #e7e9ea;
  font-size: 16.5px;
  line-height: 1.75;
}
article.blog-page .prose:not(.article-toc) pre,
article.blog-page .prose:not(.article-toc) blockquote,
article.blog-page .prose:not(.article-toc) .table-wrap,
article.blog-page .prose:not(.article-toc) .prose-fig { margin: 8px 0 40px; }
article.blog-page .prose:not(.article-toc) .prose-fig img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}
article.blog-page .prose:not(.article-toc) .prose-fig figcaption {
  margin-top: 10px;
  color: #8b8b90;
  font-size: 14px;
  line-height: 1.45;
}
article.blog-page .prose:not(.article-toc) blockquote p { margin: 0; }
.prose a { color: var(--lime); }
.prose a:hover { color: #fff; }
article.blog-page .prose:not(.article-toc) a:not(.btn) {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
article.blog-page .prose:not(.article-toc) a:not(.btn):hover { text-decoration-color: #fff; }
.prose a.btn { color: #111; margin: 8px 0 18px; }
.prose a.btn:hover { color: #111; }
.prose strong { color: #f4f4f5; font-weight: 650; }
.prose code { font-family: Consolas, ui-monospace, monospace; font-size: 0.92em; color: #f4f4f5; background: #161616; padding: 1px 6px; border-radius: 6px; }
.prose pre { margin: 0 0 16px; padding: 14px 16px; overflow: auto; background: #111; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px; }
.prose pre code { display: block; padding: 0; background: transparent; color: #e4e4e7; font-size: 13px; line-height: 1.55; white-space: pre; }
.prose blockquote { margin: 0 0 16px; padding-left: 16px; border-left: 2px solid var(--lime); }
.prose blockquote p { margin: 0; color: #d4d4d8; }
.table-wrap { overflow-x: auto; margin: 0 0 18px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-top: 1px solid rgba(255, 255, 255, 0.08); vertical-align: top; }
.prose th { color: #8a8a8a; font-weight: 600; font-size: 12.5px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 22px; color: #8a8a8a; font-size: 13px; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current="page"] { color: #d4d4d8; }
.article-author {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 760px;
  margin: 36px 0 0;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: #0c0c0e;
  color: var(--text);
}
.article-author-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(216, 255, 74, 0.08);
  color: var(--lime);
  font: 600 15px "Space Grotesk", sans-serif;
  letter-spacing: -0.03em;
}
.article-author-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.article-author-name {
  font: 600 16px "Space Grotesk", sans-serif;
  letter-spacing: -0.03em;
  line-height: 1.3;
}
.article-author-name span { font: 500 14px Manrope, sans-serif; letter-spacing: 0; color: var(--muted); }
.article-author-dates { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.related { max-width: 760px; margin-top: 56px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.related h2 { margin: 22px 0 16px; font-size: 22px; }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.related-card { display: block; padding: 18px 18px 20px; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px; }
.related-card:hover { border-color: rgba(216, 255, 74, 0.45); }
.related-card .cat { margin: 0 0 8px; color: var(--lime); font-size: 12px; }
.related-card h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -0.03em; }
.related-card p { margin: 0; color: #a1a1aa; font-size: 14px; line-height: 1.55; }
.related .back { margin: 18px 0 0; }
.related .back a { color: var(--lime); font-size: 15px; }
.related .back a:hover { color: #fff; }

.feature-page { padding: 36px 0 64px; }
article.feature-page.wrap { width: min(760px, calc(100% - 48px)); }
article.feature-page .article-head,
article.feature-page .prose,
article.feature-page .crumbs { max-width: none; }
.feature-faq { padding: 72px 0 96px; }

@media (max-width: 980px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { display: block; }
  .article-layout .article-toc {
    position: static;
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 640px) {
  .blog-page { padding: 28px 0 72px; }
  article.blog-page.wrap { width: min(1120px, calc(100% - 32px)); }
  .feature-page { padding: 28px 0 48px; }
  article.feature-page.wrap { width: min(760px, calc(100% - 32px)); }
  .feature-faq { padding: 56px 0 72px; }
  .blog-hero { padding: 36px 18px 28px; }
  .blog-stats { gap: 22px; }
  .blog-stats b { font-size: 28px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card { padding: 18px 16px 16px; }
  .related-grid { grid-template-columns: 1fr; }
}
