:root {
  --bg: hsl(36 55% 97%);
  --surface: hsl(38 70% 99%);
  --canvas: hsl(35 50% 96%);
  --input: hsl(38 70% 99%);
  --subtle: hsl(33 38% 93%);
  --line: hsl(32 24% 84%);
  --text: hsl(28 28% 14%);
  --soft: hsl(28 18% 30%);
  --muted: hsl(28 14% 42%);
  --dim: hsl(28 12% 55%);
  --brand: #2a72f0;
  --brand-hover: #1d58c8;
  --brand-soft: #1d58c8;
  --brand-mid: #1d58c8;
  --emerald: #059669;
  --header-bg: rgba(248, 244, 237, 0.84);
  --brand-mark-bg: #fff;
  --quote-bg: rgba(255, 252, 247, 0.94);
  --quote-tail: rgb(255, 252, 247);
  --control-hover: rgba(28, 24, 20, 0.06);
  --serif: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --sans: Inter, ui-sans-serif, system-ui, sans-serif;
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: hsl(222 64% 9%);
  --surface: hsl(220 56% 11%);
  --canvas: hsl(221 60% 10%);
  --input: hsl(219 58% 12%);
  --subtle: hsl(219 52% 13%);
  --line: hsl(218 43% 16%);
  --text: hsl(214 38% 89%);
  --soft: hsl(216 24% 73%);
  --muted: hsl(216 15% 54%);
  --dim: hsl(216 18% 39%);
  --brand: #438aff;
  --brand-hover: #72adff;
  --brand-soft: #72adff;
  --brand-mid: #72adff;
  --emerald: #34d399;
  --header-bg: rgba(8, 17, 38, 0.84);
  --brand-mark-bg: hsl(220 52% 16%);
  --quote-bg: rgba(11, 21, 40, 0.94);
  --quote-tail: rgb(11, 21, 40);
  --control-hover: rgba(255, 255, 255, 0.07);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  min-height: 100%;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
}

img {
  max-width: 100%;
}

button,
a {
  font: inherit;
}

button {
  margin: 0;
  padding: 0;
  color: inherit;
  background: none;
  border: 0;
}

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: 16px;
  top: 8px;
  z-index: 80;
  transform: translateY(-140%);
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  padding: 8px 12px;
  text-decoration: none;
}

.skip:focus {
  transform: none;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  display: block;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.icon-12 { width: 12px; height: 12px; }
.icon-14 { width: 14px; height: 14px; }
.icon-16 { width: 16px; height: 16px; }
.icon-20 { width: 20px; height: 20px; }
.icon-24 { width: 24px; height: 24px; }

.site-header {
  position: relative;
  z-index: 40;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1200px, calc(100% - 40px));
  min-height: 84px;
  margin: 0 auto;
}

.shell {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 80px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand__mark {
  display: block;
  width: 48px;
}

.brand__logo {
  display: block;
  width: 48px;
  height: auto;
}

.brand__logo--dark,
[data-theme="dark"] .brand__logo--light {
  display: none;
}

[data-theme="dark"] .brand__logo--dark {
  display: block;
}

.brand__name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.header-controls {
  display: flex;
  align-items: center;
}

.header-controls {
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: 0 12px 28px -22px rgba(0, 0, 0, 0.65);
}

.language-menu summary,
.theme-toggle {
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
}

.language-menu {
  position: relative;
}

.language-menu summary {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 86px;
  padding: 0 9px 0 10px;
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.language-menu summary::-webkit-details-marker {
  display: none;
}

.language-menu summary:focus-visible,
.theme-toggle:focus-visible {
  outline: 2px solid var(--brand-mid);
  outline-offset: 1px;
}

.language-menu__current {
  display: none;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}

html[lang="ru"] .language-menu__current--ru,
html[lang="kk"] .language-menu__current--kk,
html[lang="en"] .language-menu__current--en {
  display: inline;
}

.language-menu__chevron {
  margin-left: auto;
  transition: transform 160ms ease;
}

.language-menu[open] .language-menu__chevron {
  transform: rotate(180deg);
}

.language-menu__popover {
  position: absolute;
  top: calc(100% + 12px);
  right: -42px;
  z-index: 90;
  display: grid;
  width: 208px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 22px 55px -24px rgba(0, 0, 0, 0.55);
}

.language-menu:not([open]) .language-menu__popover {
  display: none;
}

.language-menu__popover button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  border-radius: 10px;
  padding: 0 10px 0 12px;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.language-menu__popover button:hover,
.language-menu__popover button:focus-visible {
  outline: 0;
  background: var(--subtle);
}

.language-menu__code {
  color: var(--dim);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.language-menu__check {
  visibility: hidden;
  color: var(--brand-soft);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

html[lang="ru"] [data-language="ru"] .language-menu__check,
html[lang="kk"] [data-language="kk"] .language-menu__check,
html[lang="en"] [data-language="en"] .language-menu__check {
  visibility: visible;
}

.theme-toggle {
  display: grid;
  place-items: center;
  width: 36px;
  cursor: pointer;
}

.theme-toggle:hover,
.language-menu summary:hover,
.language-menu[open] summary {
  background: var(--subtle);
}

.theme-toggle__sun,
[data-theme="dark"] .theme-toggle__moon {
  display: none;
}

[data-theme="dark"] .theme-toggle__sun {
  display: block;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  gap: 48px;
  min-height: 620px;
  padding: 36px 0 56px;
}

.hero__glow {
  pointer-events: none;
  position: absolute;
  left: -14rem;
  top: 0;
  width: 28rem;
  height: 28rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(43, 121, 255, 0.16) 0%, rgba(43, 121, 255, 0.07) 42%, transparent 72%);
  filter: blur(32px);
}

.hero__copy,
.card-wrap {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 6px 14px;
  background: rgba(67, 138, 255, 0.12);
  color: #72adff;
  border: 1px solid rgba(67, 138, 255, 0.25);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.title {
  margin: 26px 0 0;
  max-width: 56rem;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.title__accent {
  font-style: italic;
  font-weight: 300;
  background: linear-gradient(120deg, #72adff, #438aff, #a9ceff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  margin: 24px 0 0;
  max-width: 42rem;
  color: var(--soft);
  font-size: 16px;
  line-height: 1.75;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 18px 30px -16px rgba(42, 114, 240, 0.6);
}

.btn--primary:hover {
  background: var(--brand-hover);
  transform: translateY(-1px);
}

.btn--ghost {
  background: var(--input);
  color: var(--text);
  border: 1px solid var(--line);
}

.btn--ghost:hover {
  border-color: rgba(67, 138, 255, 0.45);
  background: var(--subtle);
}

.card-wrap {
  width: min(100%, 28rem);
  margin: 0 auto;
}

.card-wrap__glow {
  position: absolute;
  inset: -40px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(67, 138, 255, 0.18), transparent 65%);
}

.card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.65);
}

.card__cover {
  position: relative;
  height: 176px;
}

.card__cover-image,
.card__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.card__cover-image {
  object-fit: cover;
}

.card__shade {
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.1), rgba(2, 6, 23, 0.05) 45%, rgba(2, 6, 23, 0.45));
}

.card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(2, 6, 23, 0.3);
  color: #fff;
  padding: 4px 10px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.card__photo {
  position: absolute;
  left: 24px;
  bottom: -48px;
  z-index: 2;
  width: 112px;
  height: 112px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  object-fit: cover;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.28);
  outline: 4px solid rgba(255, 255, 255, 0.85);
}

.card__body {
  position: relative;
  z-index: 1;
  padding: 64px 24px 24px;
}

.kicker {
  margin: 0;
  color: var(--dim);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card__name {
  margin: 8px 0 0;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.card__role {
  margin: 4px 0 0;
  color: var(--brand-soft);
  font-size: 12px;
  font-weight: 600;
}

.card__text {
  margin: 16px 0 0;
  color: var(--soft);
  font-size: 12px;
  line-height: 1.7;
}

.card__actions {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.card__btn {
  display: inline-flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  border-radius: 12px;
  border: 0;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.card__btn--primary {
  background: var(--brand);
  color: #fff;
}

.card__btn--primary:hover {
  background: var(--brand-hover);
}

.card__btn--ghost {
  border: 1px solid var(--line);
  background: var(--input);
  color: var(--muted);
}

.card__btn--ghost:hover {
  border-color: rgba(67, 138, 255, 0.4);
  color: var(--brand-soft);
}

.section {
  margin-top: 96px;
}

.section--rule {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 64px 0;
}

.label {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.h2 {
  margin: 14px 0 0;
  max-width: 48rem;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 40px;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.h2__accent {
  color: var(--brand-soft);
}

.prose {
  margin: 24px 0 0;
  max-width: 42rem;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.75;
}

.after {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
}

.after__icon,
.benefit__icon,
.place__icon,
.step__icon,
.message__icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.after__icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 12px 24px -12px rgba(42, 114, 240, 0.7);
}

.after__label {
  margin: 0;
  color: var(--brand-soft);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.after__title,
.benefit__title {
  margin: 4px 0 0;
  font-size: 18px;
  font-weight: 600;
}

.benefits {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.benefit {
  border-radius: 24px;
  padding: 20px;
  background: var(--surface);
  box-shadow: 0 16px 30px -22px rgba(0, 0, 0, 0.7);
}

.benefit--blue {
  border: 1px solid rgba(67, 138, 255, 0.25);
  background:
    radial-gradient(circle at 0% 0%, rgba(67, 138, 255, 0.15), transparent 48%),
    var(--surface);
}

.benefit--indigo {
  border: 1px solid rgba(129, 140, 248, 0.2);
  background:
    radial-gradient(circle at 0% 0%, rgba(99, 102, 241, 0.14), transparent 48%),
    var(--surface);
}

.benefit--green {
  border: 1px solid rgba(52, 211, 153, 0.2);
  background:
    radial-gradient(circle at 0% 0%, rgba(52, 211, 153, 0.13), transparent 48%),
    var(--surface);
}

.benefit__icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
}

.benefit--blue .benefit__icon {
  background: rgba(42, 114, 240, 0.15);
  color: var(--brand-soft);
  box-shadow: inset 0 0 0 1px rgba(67, 138, 255, 0.25);
}

.benefit--indigo .benefit__icon {
  background: rgba(99, 102, 241, 0.12);
  color: #4f46e5;
  box-shadow: inset 0 0 0 1px rgba(99, 102, 241, 0.25);
}

.benefit--green .benefit__icon {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald);
  box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.25);
}

.checks {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.checks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--soft);
  font-size: 12px;
  line-height: 1.45;
}

.checks li + li {
  margin-top: 12px;
}

.check {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.1);
  color: var(--emerald);
  flex: 0 0 auto;
}

.places {
  display: grid;
  gap: 12px;
  margin-top: 36px;
}

.place {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 16px;
  transition: border-color 160ms ease;
}

.place:hover {
  border-color: rgba(67, 138, 255, 0.35);
}

a.place {
  color: inherit;
  text-decoration: none;
}

.place__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(42, 114, 240, 0.1);
  color: var(--brand-soft);
  box-shadow: inset 0 0 0 1px rgba(67, 138, 255, 0.2);
}

.place h3,
.step h3,
.message h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.place p,
.step p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.steps {
  display: grid;
  gap: 40px;
  align-items: center;
}

.steps__list {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 16px;
}

.step__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(42, 114, 240, 0.1);
  color: var(--brand-soft);
  box-shadow: inset 0 0 0 1px rgba(67, 138, 255, 0.2);
}

.step__label {
  margin: 0;
  color: var(--brand-soft);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.step h3 {
  margin-top: 4px;
}

.steps .btn {
  margin-top: 24px;
}

.ready-wrap {
  position: relative;
  width: min(100%, 24rem);
  margin: 0 auto;
}

.ready-wrap__glow {
  position: absolute;
  inset: -32px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(67, 138, 255, 0.16), transparent 68%);
}

.ready {
  position: relative;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 20px;
  box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.7);
}

.ready__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ready__person {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.ready__person img {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: inset 0 0 0 1px rgba(67, 138, 255, 0.25);
}

.ready__person p {
  margin: 0;
}

.ready__person p:first-child {
  font-size: 14px;
  font-weight: 600;
}

.ready__person p:last-child {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.ready__status {
  border-radius: 999px;
  border: 1px solid rgba(5, 150, 105, 0.25);
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  padding: 4px 8px;
  font-size: 9px;
  font-weight: 600;
}

.ready__list {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.ready__list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--canvas);
  padding: 12px;
  color: var(--soft);
  font-size: 12px;
}

.ready__ok {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.1);
  color: var(--emerald);
}

.ready__bar {
  height: 8px;
  margin-top: 20px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--input);
}

.ready__bar span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--emerald));
}

.ready__meta {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  color: var(--dim);
  font-size: 10px;
}

.ready__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  margin-top: 20px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 12px 24px -12px rgba(42, 114, 240, 0.7);
}

.ready__link:hover {
  background: var(--brand-hover);
}

.templates__intro .h2 {
  max-width: none;
}

.messages {
  display: grid;
  gap: 16px;
  margin-top: 40px;
}

.message {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 20px;
  box-shadow: 0 18px 32px -22px rgba(0, 0, 0, 0.5);
  transition: transform 160ms ease, border-color 160ms ease;
}

.message:hover {
  transform: translateY(-2px);
  border-color: rgba(67, 138, 255, 0.4);
}

.message__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.message__title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.message__icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(67, 138, 255, 0.2);
  background: rgba(42, 114, 240, 0.1);
  color: var(--brand-soft);
}

.copy {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--input);
  color: var(--muted);
  cursor: pointer;
}

.copy:hover {
  border-color: rgba(67, 138, 255, 0.35);
  color: var(--text);
}

.copy__done {
  display: none;
  color: var(--emerald);
}

.copy.is-copied .copy__idle {
  display: none;
}

.copy.is-copied .copy__done {
  display: block;
}

.message blockquote {
  flex: 1;
  margin: 16px 0 0;
  border-left: 2px solid rgba(67, 138, 255, 0.35);
  padding-left: 16px;
  color: var(--soft);
  font-size: 12px;
  line-height: 1.7;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.exchange {
  display: grid;
  gap: 32px;
  align-items: center;
}

.exchange__visual {
  position: relative;
  height: 420px;
}

.exchange__photo {
  pointer-events: none;
  position: absolute;
  z-index: 0;
  left: -2.5rem;
  bottom: -3rem;
  height: 112%;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: left bottom;
  opacity: 1;
  mix-blend-mode: normal;
}

.exchange__quote {
  position: relative;
  z-index: 1;
  margin: 24px 0 0;
  border-radius: 16px 16px 16px 4px;
  border: 1px solid var(--line);
  background: var(--quote-bg);
  padding: 12px 16px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
  box-shadow: 0 16px 30px -18px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
}

.exchange__quote::after {
  content: "";
  position: absolute;
  left: 20px;
  bottom: -8px;
  width: 16px;
  height: 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--quote-tail);
  transform: rotate(45deg);
}

.finale {
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid rgba(67, 138, 255, 0.25);
  background:
    radial-gradient(circle at 20% 0%, rgba(67, 138, 255, 0.25), transparent 42%),
    radial-gradient(circle at 90% 90%, rgba(168, 85, 247, 0.16), transparent 36%),
    var(--surface);
  padding: 48px 24px;
  text-align: center;
}

.finale__icon {
  margin: 0 auto;
  color: var(--brand-hover);
}

.finale__label {
  margin: 20px 0 0;
  color: var(--brand-soft);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.finale h2 {
  max-width: 56rem;
  margin: 16px auto 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.finale p:last-of-type {
  max-width: 42rem;
  margin: 24px auto 0;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.75;
}

.finale .btn {
  margin-top: 32px;
}

.share {
  display: none;
}

.share:target {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.share__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(12px);
}

.share__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 28rem);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.share__head,
.share__foot {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
}

.share__head {
  border-bottom: 1px solid var(--line);
  background: var(--subtle);
}

.share__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.share__brand-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(42, 114, 240, 0.12);
  color: var(--brand-soft);
  box-shadow: inset 0 0 0 1px rgba(67, 138, 255, 0.25);
}

.share__head h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.share__head p,
.share__note,
.share__field-label,
.share__foot p {
  margin: 0;
  color: var(--dim);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.share__head p {
  margin-top: 2px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  font-size: 12px;
}

.share__close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  color: var(--muted);
  text-decoration: none;
}

.share__close:hover {
  background: var(--control-hover);
  color: var(--text);
}

.share__preview {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.share__qr {
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px;
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.08);
}

.share__qr img {
  display: block;
  width: 104px;
  height: 104px;
  margin: 0 auto;
}

.share__mini {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--subtle);
  padding: 12px;
}

.share__mini-row {
  display: flex;
  gap: 12px;
}

.share__mini img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.share__mini h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.share__mini .card__role {
  font-size: 11px;
}

.share__mini .card__text {
  display: -webkit-box;
  margin-top: 4px;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 11px;
  line-height: 1.35;
}

.share__note {
  margin-top: 12px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.share__link {
  padding: 0 20px 16px;
}

.share__row {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}

.share__row input {
  min-width: 0;
  flex: 1;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--input);
  color: var(--text);
  padding: 0 12px;
  font-size: 12px;
}

.share__copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: auto;
  min-width: 7.5rem;
  height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(42, 114, 240, 0.35);
  background: rgba(42, 114, 240, 0.1);
  color: var(--brand-soft);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.share__copy.is-copied {
  border-color: rgba(5, 150, 105, 0.35);
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
}

.share__copy .copy__done,
.share__copy.is-copied .copy__idle {
  display: none;
}

.share__copy.is-copied .copy__done {
  display: inline;
}

.share__foot {
  display: block;
  border-top: 1px solid var(--line);
  background: var(--subtle);
}

.messengers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 8px;
}

.messengers a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 8px;
  color: var(--soft);
  font-size: 10px;
  font-weight: 500;
  text-decoration: none;
}

.messengers a:hover {
  border-color: var(--line);
  color: var(--text);
}

.messengers span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
}

.msg--tg { background: rgba(14, 165, 233, 0.12); color: #0369a1; box-shadow: inset 0 0 0 1px rgba(14, 165, 233, 0.28); }
.msg--wa { background: rgba(16, 185, 129, 0.12); color: #047857; box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.28); }
.msg--vk { background: rgba(99, 102, 241, 0.12); color: #4338ca; box-shadow: inset 0 0 0 1px rgba(99, 102, 241, 0.28); }
.msg--vb { background: rgba(192, 38, 211, 0.12); color: #a21caf; box-shadow: inset 0 0 0 1px rgba(192, 38, 211, 0.28); }
.msg--mail { background: rgba(217, 119, 6, 0.12); color: #b45309; box-shadow: inset 0 0 0 1px rgba(217, 119, 6, 0.28); }
.msg--x { background: rgba(28, 24, 20, 0.06); color: var(--text); box-shadow: inset 0 0 0 1px rgba(28, 24, 20, 0.12); }

[data-theme="dark"] .benefit--indigo .benefit__icon { color: #a5b4fc; }
[data-theme="dark"] .ready__status,
[data-theme="dark"] .share__copy.is-copied { color: #6ee7b7; }
[data-theme="dark"] .msg--tg { color: #7dd3fc; }
[data-theme="dark"] .msg--wa { color: #6ee7b7; }
[data-theme="dark"] .msg--vk { color: #a5b4fc; }
[data-theme="dark"] .msg--vb { color: #f0abfc; }
[data-theme="dark"] .msg--mail { color: #fcd34d; }
[data-theme="dark"] .msg--x {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

:focus-visible {
  outline: 2px solid var(--brand-mid);
  outline-offset: 2px;
}

@media (max-width: 379px) {
  .brand__name {
    display: none;
  }
}

@media (min-width: 640px) {
  .site-header__inner,
  .landing-nav__inner,
  .shell {
    width: min(1200px, calc(100% - 64px));
  }

  .shell {
    padding-bottom: 96px;
  }

  .title {
    font-size: 72px;
  }

  .lede {
    font-size: 18px;
  }

  .actions {
    flex-direction: row;
  }

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

  .exchange__quote {
    max-width: 68%;
    margin-left: auto;
    margin-top: 40px;
  }

  .finale {
    padding: 64px 40px;
  }

  .finale h2 {
    font-size: 48px;
  }

  .share__preview {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .messengers {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (min-width: 768px) {
  .h2 {
    font-size: 56px;
  }
}

.landing-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  backdrop-filter: blur(16px);
}

.landing-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1200px, calc(100% - 40px));
  min-height: 64px;
  margin: 0 auto;
}

.landing-nav__links {
  position: relative;
  min-width: 0;
}

.landing-nav__toggle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  list-style: none;
}

.landing-nav__icon--close,
.landing-nav.is-open .landing-nav__icon--menu {
  display: none;
}

.landing-nav.is-open .landing-nav__icon--close {
  display: block;
}

.landing-nav__links {
  display: none;
}

.landing-nav.is-open .landing-nav__links {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 2;
  display: grid;
  min-width: min(280px, calc(100vw - 40px));
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.55);
}

.landing-nav__links a {
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
}

.landing-nav__links a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
}

.landing-nav__links a:hover,
.landing-nav__links a:focus-visible {
  background: var(--input);
  color: var(--text);
}

.landing-nav__links a[aria-current="page"] {
  background: color-mix(in srgb, var(--brand) 14%, transparent);
  color: var(--brand);
}

.landing-section {
  scroll-margin-top: 88px;
}

.landing-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.landing-chips li {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.landing-note {
  max-width: 46rem;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.landing-kicker {
  margin: 0 0 8px;
  color: var(--brand-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  padding: 40px 20px;
  color: var(--text);
}

.site-footer__inner {
  display: grid;
  gap: 32px;
  width: min(1280px, 100%);
  margin: 0 auto;
}

.site-footer__mark {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}

.site-footer p,
.site-footer a {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  text-decoration: none;
}

.site-footer p {
  max-width: 24rem;
  margin: 12px 0 0;
}

.site-footer h2 {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
}

.site-footer ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--brand);
}

.site-footer p.site-footer__copy {
  width: min(1280px, 100%);
  max-width: none;
  margin: 32px auto 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 12px;
}

@media (min-width: 640px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .landing-nav__inner {
    width: min(1200px, calc(100% - 96px));
  }

  .landing-nav__links {
    display: flex;
    flex: 1;
  }

  .landing-nav__toggle {
    display: none;
  }

  .landing-nav .landing-nav__links,
  .landing-nav.is-open .landing-nav__links {
    position: static;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .landing-nav__links a {
    padding: 8px 12px;
    font-size: 12px;
  }

  .site-footer__inner {
    grid-template-columns: 1.4fr 0.8fr 1fr;
    gap: 48px;
  }
}

@media (min-width: 1024px) {
  .site-header__inner,
  .shell {
    width: min(1200px, calc(100% - 96px));
  }

  .shell {
    padding-bottom: 120px;
  }

  .hero {
    grid-template-columns: 1.08fr 0.92fr;
    padding: 48px 0 80px;
  }

  .hero.hero--copy {
    grid-template-columns: minmax(0, 52rem);
    min-height: 0;
    padding-bottom: 24px;
  }

  .title {
    font-size: 88px;
  }

  .card-wrap {
    margin-right: 0;
  }

  .benefits,
  .places {
    grid-template-columns: repeat(3, 1fr);
  }

  .benefits--2 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .places--2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps,
  .exchange {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .steps {
    grid-template-columns: 1.3fr 0.7fr;
  }
}

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

  .templates__intro .h2 {
    white-space: nowrap;
  }
}

@media (min-width: 768px) and (max-width: 1279px) {
  .messages {
    grid-template-columns: repeat(2, 1fr);
  }
}

.portrait {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  border-radius: 16px;
  object-fit: cover;
}

.portrait--sm {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.flow {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.flow__card {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  text-align: center;
}

.flow__card img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
}

.flow__card figcaption {
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}

.network,
.cluster,
.media {
  position: relative;
  z-index: 1;
}

.network {
  display: grid;
  gap: 12px;
  padding: 8px 0 12px;
}

.network__task,
.network__result {
  justify-self: center;
  margin: 0;
  padding: 10px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  text-align: center;
  box-shadow: 0 12px 30px -20px rgba(43, 121, 255, 0.45);
}

.network__task span,
.network__result span {
  display: block;
  margin-bottom: 4px;
  color: var(--brand-soft);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.network__task,
.network__result {
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
}

.network__result {
  border-color: rgba(52, 211, 153, 0.35);
  font-size: 13px;
}

.network__result span {
  color: #059669;
}

.network__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.network__node {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
}

.network__node img,
.network__center img,
.cluster img {
  object-fit: cover;
  background: var(--surface);
}

.network__node img {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 12px;
}

.network__node strong,
.network__center strong {
  display: block;
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
}

.network__node small,
.network__center small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.3;
}

.network__node--wide {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(240px, 100%);
}

.network__center {
  display: grid;
  justify-items: center;
  gap: 6px;
  width: min(180px, 100%);
  margin: 4px auto;
  padding: 16px;
  border-radius: 28px;
  border: 1px solid color-mix(in srgb, var(--brand) 35%, var(--line));
  background: var(--surface);
  text-align: center;
  box-shadow: 0 18px 40px -24px rgba(43, 121, 255, 0.7);
}

.network__center img {
  width: 64px;
  height: 64px;
  border-radius: 18px;
}

.media {
  margin: 0;
}

.media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 32px;
}

.media figcaption {
  width: fit-content;
  margin: -14px auto 0;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--brand-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.media--scene {
  margin-top: 28px;
}

.media--scene img {
  aspect-ratio: 4 / 5;
  max-height: 520px;
  border: 1px solid var(--line);
}

.media__bubble {
  position: absolute;
  left: 24px;
  top: 28%;
  width: min(18rem, calc(100% - 48px));
  margin: 0;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  backdrop-filter: blur(8px);
}

.cluster {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: center;
  justify-items: center;
  padding: 12px 0;
}

.cluster img {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: 0 16px 30px -22px rgba(43, 121, 255, 0.8);
}

.cluster__center {
  width: 104px;
  height: 104px;
  border-radius: 32px;
  border-color: color-mix(in srgb, var(--brand) 40%, var(--line));
}

.places--6 {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .flow--2,
  .flow--4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (min-width: 1024px) {
  .flow--4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .places--6 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.eco-stage {
  position: relative;
  z-index: 1;
  height: 520px;
}

.eco-canvas {
  position: absolute;
  inset: 0;
}

.eco-task,
.eco-result {
  position: absolute;
  left: 50%;
  z-index: 20;
  width: max-content;
  max-width: calc(100% - 24px);
  margin: 0;
  padding: 10px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  text-align: center;
  box-shadow: 0 12px 30px -18px rgba(43, 121, 255, 0.55);
}

.eco-task {
  top: 19%;
  transform: translateX(-50%);
  animation: eco-float 4.5s ease-in-out infinite;
}

.eco-result {
  bottom: 1%;
  z-index: 30;
  border-color: rgba(16, 185, 129, 0.35);
  animation: eco-result 0.7s 1.1s ease both;
}

.eco-task span,
.eco-result span {
  display: block;
  margin-bottom: 4px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eco-task span { color: var(--brand-soft); }
.eco-result span { color: #059669; }
.eco-task,
.eco-result { color: var(--text); font-size: 12px; font-weight: 600; }

.eco-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.eco-line {
  fill: none;
  stroke: rgba(43, 121, 255, 0.36);
  stroke-width: 1.5;
  stroke-dasharray: 7 8;
  animation: eco-dash 3.2s linear infinite;
}

.eco-line--1 { animation-delay: -0.6s; }
.eco-line--2 { animation-delay: -1.2s; }
.eco-line--3 { animation-delay: -1.8s; }
.eco-line--4 { animation-delay: -2.4s; }
.eco-line--result { stroke: rgba(16, 185, 129, 0.45); }

.eco-node {
  position: absolute;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 148px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 95%, transparent);
  box-shadow: 0 16px 30px -18px rgba(0, 0, 0, 0.45);
  opacity: 0;
  animation: eco-arrive 0.65s ease forwards;
}

.eco-node--expert { left: 2%; top: 12%; }
.eco-node--lawyer { right: 1%; top: 10%; }
.eco-node--analyst { left: -1%; bottom: 13%; }
.eco-node--company { right: 0; bottom: 12%; }
.eco-node--marketer { left: 50%; top: 1%; transform: translateX(-50%); }

.eco-node img,
.eco-center img,
.demo-card img,
.demo-expert img,
.demo-owner img,
.demo-person img {
  object-fit: cover;
}

.eco-node img {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 12px;
}

.eco-node strong,
.eco-center strong { display: block; color: var(--text); font-size: 11px; font-weight: 600; }
.eco-node small,
.eco-center small { display: block; margin-top: 2px; color: var(--muted); font-size: 8px; line-height: 1.3; }

.eco-center {
  position: absolute;
  left: 50%;
  top: 52%;
  z-index: 30;
  width: 160px;
  padding: 16px;
  border-radius: 32px;
  border: 1px solid color-mix(in srgb, var(--brand) 35%, var(--line));
  background: var(--surface);
  text-align: center;
  transform: translate(-50%, -50%);
  animation: eco-pulse 4s ease-in-out infinite;
}

.eco-center img {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 12%, transparent);
}

.demo-flow {
  position: relative;
  margin-top: 48px;
}

.demo-flow__row {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding-bottom: 28px;
}

.demo-card {
  display: flex;
  width: min(100%, 220px);
  min-height: 144px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  text-align: center;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.demo-card p,
.demo-card figcaption {
  margin: 0;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

.demo-card img { width: 56px; height: 56px; border-radius: 16px; }
.demo-card--owner { border-color: rgba(43, 121, 255, 0.28); animation: eco-pulse 4s ease-in-out infinite; }
.demo-card--owner img { border-radius: 16px; }
.demo-card--avatar { border-color: rgba(43, 121, 255, 0.35); background: color-mix(in srgb, var(--brand) 8%, var(--surface)); }
.demo-card--knowledge { width: min(100%, 280px); gap: 16px; }
.demo-icons { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.demo-icons span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg, var(--surface));
  color: var(--brand-soft);
}

.demo-earth {
  position: relative;
  display: block;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border-radius: 999px;
  background-image: url("assets/images/earth-texture-nasa.jpg");
  background-repeat: repeat-x;
  background-position: 0 center;
  background-size: auto 100%;
  box-shadow: inset -12px -5px 16px rgba(2, 6, 23, 0.72), inset 7px 5px 10px rgba(255, 255, 255, 0.2), 0 8px 18px rgba(43, 121, 255, 0.28);
  animation: eco-earth 12s linear infinite;
}

.demo-earth::after {
  position: absolute;
  inset: 0;
  content: "";
  border-radius: inherit;
  background: radial-gradient(circle at 31% 25%, rgba(255, 255, 255, 0.34), transparent 23%), linear-gradient(105deg, transparent 46%, rgba(2, 6, 23, 0.42) 78%, rgba(2, 6, 23, 0.68));
  box-shadow: inset 0 0 0 1px rgba(147, 197, 253, 0.28);
}

.demo-chevron { width: 20px; height: 20px; color: #60a5fa; transform: rotate(90deg); }

.demo-exchange {
  display: flex;
  width: min(100%, 220px);
  height: 96px;
  flex-direction: row;
  justify-content: center;
  gap: 56px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(43, 121, 255, 0.75);
  cursor: pointer;
}

.demo-lane {
  position: relative;
  display: block;
  width: 2px;
  height: 100%;
  border-radius: 999px;
  background: repeating-linear-gradient(to bottom, currentColor 0 6px, transparent 6px 12px);
}

.demo-lane::after {
  position: absolute;
  left: 50%;
  width: 7px;
  height: 7px;
  content: "";
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
}

.demo-lane--out::after { bottom: 0; transform: translateX(-50%) rotate(135deg); }
.demo-lane--back::after { top: 0; transform: translateX(-50%) rotate(-45deg); }

.demo-lane__label {
  position: absolute;
  top: 50%;
  width: 6.5rem;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.35;
}

.demo-lane--out .demo-lane__label { right: calc(100% + 9px); transform: translateY(-50%); text-align: right; }
.demo-lane--back .demo-lane__label { left: calc(100% + 9px); transform: translateY(-50%); text-align: left; }

.demo-particle {
  position: absolute;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #2b79ff;
  box-shadow: 0 0 8px rgba(43, 121, 255, 0.7);
  transform: translateX(-50%);
}

.demo-lane--out .demo-particle { animation: eco-down 2.2s ease-in-out infinite; }
.demo-lane--back .demo-particle { animation: eco-up 2.2s 0.6s ease-in-out infinite; }
.demo-exchange.is-active .demo-lane__label,
.demo-exchange:hover .demo-lane__label { color: var(--text); }

.demo-feedback,
.demo-feedback-mobile { display: none; }

.demo-interact {
  display: grid;
  gap: 20px;
  margin-top: 48px;
}

.demo-scenarios { display: grid; gap: 12px; }

.demo-scenarios button {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.demo-scenarios button.is-on {
  border-color: rgba(43, 121, 255, 0.4);
  background: color-mix(in srgb, var(--brand) 10%, var(--surface));
  box-shadow: 0 12px 30px -22px rgba(43, 121, 255, 0.8);
}

.demo-scenarios button span.demo-ico,
.demo-team__foot svg {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  color: var(--brand-soft);
}

.demo-scenarios strong { display: block; font-size: 14px; }
.demo-scenarios em { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; font-style: normal; line-height: 1.45; }

.demo-summary {
  margin: 8px 0 0;
  padding: 8px 12px;
  border: 1px solid rgba(43, 121, 255, 0.2);
  border-radius: 12px;
  background: color-mix(in srgb, var(--brand) 6%, var(--surface));
}

.demo-summary strong { display: block; font-size: 11px; }
.demo-summary span { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; line-height: 1.4; }

.demo-canvas {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  border-radius: 24px;
  background: color-mix(in srgb, var(--surface) 30%, transparent);
}

.demo-canvas svg.demo-wires { position: absolute; inset: 0; width: 100%; height: 100%; }
.demo-wire { fill: none; stroke: rgba(148, 163, 184, 0.28); stroke-width: 2; stroke-dasharray: 6 8; vector-effect: non-scaling-stroke; }
.demo-wire.is-active { stroke: rgba(43, 121, 255, 0.72); stroke-width: 3; animation: eco-dash 1.8s linear infinite; }

.demo-me {
  position: absolute;
  left: 50%;
  top: 48%;
  z-index: 20;
  width: 160px;
  padding: 16px;
  border: 1px solid rgba(43, 121, 255, 0.35);
  border-radius: 24px;
  background: var(--surface);
  text-align: center;
  box-shadow: 0 18px 40px -20px rgba(43, 121, 255, 0.55);
  transform: translate(-50%, -50%);
}

.demo-me img { width: 56px; height: 56px; border-radius: 16px; }
.demo-me p { margin: 12px 0 0; font-size: 12px; font-weight: 600; }
.demo-me small {
  display: flex;
  justify-content: center;
  margin-top: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  color: var(--brand-soft);
  font-size: 8px;
  font-weight: 700;
}

.demo-expert {
  position: absolute;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  color: var(--text);
  font-size: 10px;
  font-weight: 600;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
  transform: translate(-50%, -50%);
}

.demo-expert img { width: 36px; height: 36px; border-radius: 11px; }
.demo-expert--expert { top: 17%; left: 18%; }
.demo-expert--lawyer { top: 17%; left: 82%; }
.demo-expert--analyst { top: 76%; left: 18%; }
.demo-expert--company { top: 76%; left: 82%; }

.demo-owner-flow {
  position: absolute;
  z-index: 10;
  top: calc(50% + 5rem);
  bottom: 4.3rem;
  left: 50%;
  width: 28px;
  transform: translateX(-50%);
}

.demo-owner-flow span {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: repeating-linear-gradient(to bottom, rgba(43, 121, 255, 0.65) 0 5px, transparent 5px 11px);
}

.demo-owner-flow span:first-child { left: 7px; animation: eco-dash-down 1.2s linear infinite; }
.demo-owner-flow span:last-child { right: 7px; animation: eco-dash-up 1.2s linear infinite; }
.demo-owner-flow span::after {
  position: absolute;
  left: -2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2b79ff;
  box-shadow: 0 0 8px rgba(43, 121, 255, 0.8);
  content: "";
}
.demo-owner-flow span:first-child::after { animation: eco-down 2s ease-in-out infinite; }
.demo-owner-flow span:last-child::after { animation: eco-up 2s 0.5s ease-in-out infinite; }

.demo-owner {
  position: absolute;
  bottom: 16px;
  left: 50%;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(43, 121, 255, 0.3);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 12px 24px -16px rgba(43, 121, 255, 0.7);
  transform: translateX(-50%);
}

.demo-owner img { width: 36px; height: 36px; border-radius: 12px; }
.demo-owner span { color: var(--text); font-size: 10px; font-weight: 600; white-space: nowrap; }

.demo-team {
  margin-top: 48px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--surface);
  box-shadow: 0 24px 50px -32px rgba(0, 0, 0, 0.55);
}

.demo-team__head {
  padding: 28px 24px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at 50% 0%, rgba(43, 121, 255, 0.16), transparent 58%);
  text-align: center;
}

.demo-team__meter { display: flex; align-items: center; gap: 8px; max-width: 28rem; margin: 20px auto 0; }
.demo-team__track { height: 6px; flex: 1; overflow: hidden; border-radius: 999px; background: color-mix(in srgb, var(--text) 8%, transparent); }
.demo-team__track span { display: block; height: 100%; border-radius: inherit; background: var(--brand, #2b79ff); transition: width 0.5s ease; }
.demo-team__meter b { color: var(--muted); font-size: 9px; }
.demo-team__grid { display: grid; gap: 12px; padding: 28px 20px; }
.demo-team__card {
  position: relative;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--bg, var(--surface)) 80%, transparent);
  text-align: center;
  text-decoration: none;
  color: inherit;
  opacity: 0.45;
  transition: opacity 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}
.demo-team__card.is-on {
  border-color: rgba(43, 121, 255, 0.35);
  background: color-mix(in srgb, var(--brand) 8%, var(--surface));
  opacity: 1;
  box-shadow: 0 12px 28px -18px rgba(43, 121, 255, 0.7);
}
.demo-team__card img { width: 56px; height: 56px; border-radius: 16px; }
.demo-team__card h3 { margin: 12px 0 0; font-size: 12px; }
.demo-team__card p { margin: 4px 0 0; color: var(--muted); font-size: 9px; line-height: 1.4; }
.demo-team__check {
  position: absolute;
  top: 8px;
  right: 8px;
  display: none;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 999px;
  background: #10b981;
  color: white;
}
.demo-team__card.is-on .demo-team__check { display: grid; }
.demo-team__foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}
.demo-team__foot span { color: var(--muted); }

#business.demo-biz-section > .demo-panel { margin-top: 36px; }

.demo-panel {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--bg, var(--surface));
}

.demo-panel__brand,
.demo-panel__people,
.demo-panel__systems {
  position: relative;
  z-index: 1;
  border-radius: 16px;
}

.demo-panel__brand {
  padding: 16px;
  border: 1px solid rgba(43, 121, 255, 0.3);
  background: color-mix(in srgb, var(--brand) 10%, var(--surface));
  text-align: center;
  box-shadow: 0 16px 32px -24px rgba(43, 121, 255, 0.8);
}

.demo-panel__brand p { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; font-size: 14px; font-weight: 700; letter-spacing: 0.08em; }
.demo-panel__brand small { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 8px; color: var(--brand-soft); font-size: 11px; font-weight: 600; }
.demo-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 12px;
  background: var(--brand, #2b79ff);
  color: white;
}

.demo-vflow {
  position: relative;
  height: 48px;
  margin: 12px auto;
}

.demo-vflow i {
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  background: repeating-linear-gradient(to bottom, rgba(43, 121, 255, 0.64) 0 5px, transparent 5px 10px);
  transform: translateX(-50%);
  animation: eco-dash-down 1.6s linear infinite;
}

.demo-vflow b {
  position: absolute;
  left: calc(50% + 12px);
  top: 50%;
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translateY(-50%);
}

.demo-dot {
  position: absolute;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #2b79ff;
  box-shadow: 0 0 7px rgba(43, 121, 255, 0.65);
  transform: translateX(-50%);
}
.demo-dot--up { animation: eco-up 2s ease-in-out infinite; }
.demo-dot--down { animation: eco-down 2s 0.7s ease-in-out infinite; }

.demo-panel__people {
  padding: 12px;
  border: 1px solid rgba(43, 121, 255, 0.2);
  background: color-mix(in srgb, var(--brand) 5%, var(--surface));
}

.demo-panel__people > p,
.demo-panel__systems > p {
  margin: 0;
  color: var(--text);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.demo-people,
.demo-systems { display: grid; gap: 8px; margin-top: 16px; }
.demo-people { grid-template-columns: repeat(2, 1fr); }
.demo-person,
.demo-system {
  padding: 10px;
  border: 1px solid rgba(43, 121, 255, 0.3);
  border-radius: 16px;
  background: var(--surface);
  text-align: center;
}
.demo-person { animation: eco-corp 3.6s ease-in-out infinite; }
.demo-person img { width: 40px; height: 40px; border-radius: 12px; }
.demo-person p,
.demo-system p { margin: 8px 0 0; color: var(--muted); font-size: 9px; font-weight: 700; }
.demo-system { border-color: var(--line); }
.demo-system span {
  display: grid;
  width: 28px;
  height: 28px;
  margin: 0 auto;
  place-items: center;
  border-radius: 8px;
  background: color-mix(in srgb, var(--text) 6%, transparent);
  color: var(--muted);
}

.demo-panel__systems { margin-top: 0; padding: 12px; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 70%, transparent); }
.demo-systems { grid-template-columns: repeat(2, 1fr); }
.demo-panel__note {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.4;
  text-align: center;
}
.demo-panel__note svg { flex: 0 0 auto; color: #10b981; }

@media (min-width: 640px) {
  .demo-people { grid-template-columns: repeat(3, 1fr); }
  .demo-systems { grid-template-columns: repeat(5, 1fr); }
  .demo-team__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .demo-flow__row {
    grid-template-columns: 0.7fr auto 1.2fr auto 0.8fr minmax(8rem, 0.55fr) 1fr;
    align-items: center;
    padding-bottom: 80px;
  }
  .demo-card,
  .demo-card--knowledge,
  .demo-exchange { width: 100%; }
  .demo-chevron { transform: none; }
  .demo-exchange { height: 96px; flex-direction: column; gap: 20px; }
  .demo-lane { width: 100%; height: 2px; background: repeating-linear-gradient(90deg, currentColor 0 6px, transparent 6px 12px); }
  .demo-lane--out::after { top: 50%; right: 0; bottom: auto; left: auto; transform: translateY(-50%) rotate(45deg); }
  .demo-lane--back::after { top: 50%; left: 0; transform: translateY(-50%) rotate(-135deg); }
  .demo-lane__label { left: 50%; width: max-content; max-width: 8rem; transform: translateX(-50%); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .demo-lane--out .demo-lane__label { right: auto; bottom: 7px; top: auto; text-align: center; }
  .demo-lane--back .demo-lane__label { left: 50%; top: 7px; text-align: center; }
  .demo-particle { top: 50%; left: 0; transform: none; }
  .demo-lane--out .demo-particle { animation: eco-right 2.2s ease-in-out infinite; }
  .demo-lane--back .demo-particle { animation: eco-left 2.2s 0.6s ease-in-out infinite; }
  .demo-feedback {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    height: 80px;
    color: rgba(43, 121, 255, 0.7);
  }
  .demo-feedback svg { width: 100%; height: 100%; overflow: visible; }
  .demo-feedback path { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 7 8; animation: eco-dash 2.4s linear infinite; }
  .demo-feedback span {
    position: absolute;
    bottom: 8px;
    left: 35%;
    padding: 4px 12px;
    border: 1px solid rgba(43, 121, 255, 0.3);
    border-radius: 999px;
    background: var(--surface);
    color: var(--brand-soft);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transform: translateX(-50%);
  }
  .demo-summary { display: none; }
  .demo-canvas { min-height: 430px; border: 0; border-radius: 0; background: transparent; }
  .demo-interact { grid-template-columns: 0.82fr 1.18fr; align-items: center; }
  .demo-team__grid { grid-template-columns: repeat(5, 1fr); }
  #business.demo-biz-section {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    column-gap: 48px;
    align-items: center;
  }
  #business.demo-biz-section > .label,
  #business.demo-biz-section > .h2,
  #business.demo-biz-section > .prose { grid-column: 1; }
  #business.demo-biz-section > .h2,
  #business.demo-biz-section > .prose { margin-top: 16px; }
  #business.demo-biz-section > .demo-panel { grid-column: 2; grid-row: 1 / span 4; margin-top: 0; }
}

@keyframes eco-dash { to { stroke-dashoffset: -30; } }
@keyframes eco-arrive { from { opacity: 0; margin-top: 10px; } to { opacity: 1; margin-top: 0; } }
@keyframes eco-pulse { 0%, 100% { box-shadow: 0 20px 40px rgba(43, 121, 255, 0.14); } 50% { box-shadow: 0 24px 54px rgba(43, 121, 255, 0.24); } }
@keyframes eco-float { 0%, 100% { margin-top: 0; } 50% { margin-top: -5px; } }
@keyframes eco-result { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes eco-earth { to { background-position: -7rem center; } }
@keyframes eco-down { 0% { top: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { top: calc(100% - 6px); opacity: 0; } }
@keyframes eco-up { 0% { top: calc(100% - 6px); opacity: 0; } 15%, 85% { opacity: 1; } 100% { top: 0; opacity: 0; } }
@keyframes eco-right { 0% { left: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { left: calc(100% - 6px); opacity: 0; } }
@keyframes eco-left { 0% { right: 0; left: auto; opacity: 0; } 15%, 85% { opacity: 1; } 100% { right: calc(100% - 6px); left: auto; opacity: 0; } }
@keyframes eco-dash-down { to { background-position: 0 11px; } }
@keyframes eco-dash-up { to { background-position: 0 -11px; } }
@keyframes eco-corp { 0%, 10%, 34%, 100% { border-color: rgba(43, 121, 255, 0.3); box-shadow: 0 8px 20px rgba(43, 121, 255, 0.1); } 20%, 25% { border-color: rgba(96, 165, 250, 0.64); box-shadow: 0 14px 34px rgba(43, 121, 255, 0.3); } }

@media (max-width: 1023px) {
  .demo-flow { overflow-x: hidden; }
  .demo-flow__row {
    grid-template-columns: 12% minmax(0, 1fr) 12%;
    grid-template-areas:
      "feedback owner ."
      "feedback arrow1 ."
      "feedback knowledge ."
      "feedback arrow2 ."
      "feedback avatar ."
      ". exchange ."
      ". ecosystem .";
    align-items: center;
    justify-items: stretch;
    column-gap: 0;
    row-gap: 8px;
    padding-bottom: 0;
  }

  .demo-feedback-mobile {
    position: relative;
    display: block;
    grid-area: feedback;
    align-self: stretch;
    min-height: 0;
    color: rgba(43, 121, 255, 0.7);
  }

  .demo-feedback-mobile__path {
    position: absolute;
    top: 2.65rem;
    left: 0;
    display: block;
    width: 100%;
    height: calc(100% - 5.3rem);
    overflow: visible;
  }

  .demo-feedback-mobile__arrow {
    position: absolute;
    top: calc(2.65rem - 6px);
    right: -2px;
    width: 8px;
    height: 12px;
    overflow: visible;
  }

  .demo-feedback-mobile span {
    position: absolute;
    top: 50%;
    left: 20%;
    display: block;
    width: max-content;
    padding: 3px 9px;
    border: 1px solid rgba(43, 121, 255, 0.28);
    border-radius: 999px;
    background: var(--surface);
    color: var(--brand-soft);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
    transform: translate(-50%, -50%) rotate(-90deg);
  }

  .demo-flow__row > article:nth-of-type(1) { grid-area: owner; }
  .demo-flow__row > svg:nth-of-type(1) { grid-area: arrow1; justify-self: center; }
  .demo-flow__row > article:nth-of-type(2) { grid-area: knowledge; }
  .demo-flow__row > svg:nth-of-type(2) { grid-area: arrow2; justify-self: center; }
  .demo-flow__row > article:nth-of-type(3) { grid-area: avatar; }
  .demo-flow__row > button { grid-area: exchange; width: 100%; padding-inline: 16px; }
  .demo-flow__row > article:nth-of-type(4) { grid-area: ecosystem; }

  .demo-flow__row .demo-card {
    width: 100%;
    min-height: 0;
    gap: 6px;
    padding: 11px 16px;
    border-radius: 18px;
  }

  .demo-flow__row .demo-card p { font-size: 11px; }
  .demo-flow__row .demo-card img,
  .demo-flow__row .demo-earth { width: 40px; height: 40px; }
  .demo-flow__row .demo-card img { border-radius: 12px; }
  .demo-icons span { width: 32px; height: 32px; }

  .demo-scenarios { grid-template-columns: 1fr 1fr; gap: 8px; }
  .demo-scenarios button { align-items: center; gap: 8px; min-height: 56px; padding: 8px 12px; border-radius: 12px; }
  .demo-scenarios em { display: none; }
  .demo-scenarios strong { font-size: 10px; line-height: 1.3; }
  .demo-scenarios button span.demo-ico { width: 32px; height: 32px; border-radius: 8px; }
  .demo-canvas { margin-top: 12px; }

  .hero.landing-section .title,
  .hero:has(> .media) .title,
  .hero:has(> .cluster) .title {
    font-size: 2.7rem;
    line-height: 0.98;
    letter-spacing: -0.055em;
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .hero.landing-section .title,
  .hero:has(> .media) .title,
  .hero:has(> .cluster) .title { font-size: 3.375rem; }
}

@media (max-width: 639px) {
  .eco-stage { height: auto; }
  .eco-canvas { position: relative; height: 420px; }
  .eco-node--marketer,
  .eco-line--4,
  .eco-line--result { display: none; }
  .eco-task,
  .eco-result { position: static; transform: none; width: auto; margin: 0 auto 16px; animation: none; }
  .eco-result { margin: 16px auto 0; }
  .demo-expert { gap: 5px; padding: 6px 8px; font-size: 9px; }
  .demo-expert img { width: 30px; height: 30px; border-radius: 9px; }
  .demo-owner-flow { top: calc(48% + 4.2rem); bottom: 4rem; }
  .demo-vflow b { max-width: 46%; white-space: normal; line-height: 1.3; }
  .demo-team__foot { flex-wrap: wrap; }
  .demo-panel__brand small { flex-wrap: wrap; text-align: center; }
}

@media (max-width: 520px) {
  .eco-node { width: 116px; padding: 7px; }
  .eco-node img { width: 32px; height: 32px; }
  .eco-center { width: 132px; padding: 12px; }
  .eco-center img { width: 52px; height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  .eco-line,
  .eco-node,
  .eco-center,
  .eco-task,
  .eco-result,
  .demo-earth,
  .demo-particle,
  .demo-owner-flow span,
  .demo-owner-flow span::after,
  .demo-vflow i,
  .demo-dot,
  .demo-person,
  .demo-feedback path,
  .demo-wire.is-active,
  .demo-card--owner { animation: none; }
  .eco-node,
  .eco-result { opacity: 1; }
  .trust-link b { animation: none; opacity: 1; }
}

.page-story .h2 {
  max-width: 56rem;
  font-size: 2.65rem;
  line-height: 1;
  letter-spacing: -0.045em;
}

.page-story .prose { max-width: 45rem; font-size: 14px; line-height: 1.75; }

@media (min-width: 640px) {
  .page-story .h2 { font-size: clamp(2.8rem, 5vw, 4.5rem); }
  .page-story .prose { font-size: 16px; line-height: 1.85; }
}

.page-story .finale h2 { font-size: 2.2rem; line-height: 1.04; }
@media (min-width: 640px) {
  .page-story .finale h2 { font-size: 3.4rem; }
}

.split {
  display: grid;
  gap: 24px;
  margin-top: 40px;
  align-items: stretch;
}

.principle-list { display: grid; gap: 12px; }

.principle {
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
}

.principle__icon,
.trust-node__icon,
.asset__icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  color: var(--brand-soft);
}

.principle h3 { margin: 6px 0 0; font-size: 16px; font-weight: 600; }
.principle p { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }

.trust-board {
  position: relative;
  display: flex;
  min-height: 0;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  margin: 0;
  padding: 20px;
  border-radius: 32px;
  background: radial-gradient(circle at 50% 42%, rgba(43, 121, 255, 0.15), transparent 55%), var(--surface);
}

.trust-board__ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18rem;
  height: 18rem;
  border: 1px solid rgba(43, 121, 255, 0.1);
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.trust-board > .landing-kicker { position: relative; margin: 0; text-align: center; }

.trust-flow {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.trust-node {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(43, 121, 255, 0.35);
  border-radius: 21px;
  background: var(--bg);
  text-align: center;
}

.trust-node--avatar {
  border-color: rgba(43, 121, 255, 0.5);
  background: color-mix(in srgb, var(--brand) 9%, var(--surface));
  box-shadow: 0 16px 30px -18px rgba(43, 121, 255, 0.45);
}

.trust-node__icon { width: 48px; height: 48px; border-radius: 16px; }
.trust-node__icon--solid { background: var(--brand); color: #fff; box-shadow: 0 12px 24px -12px rgba(43, 121, 255, 0.7); }
.trust-node strong { display: block; margin-top: 12px; font-size: 14px; }
.trust-node em { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; font-style: normal; line-height: 1.3; }

.trust-link { position: relative; width: 1px; height: 32px; flex: 0 0 auto; }
.trust-link i { position: absolute; inset: 0; background: repeating-linear-gradient(to bottom, rgba(43, 121, 255, 0.55) 0 4px, transparent 4px 9px); }
.trust-link b {
  position: absolute;
  left: -2.5px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #60a5fa;
  box-shadow: 0 0 9px rgba(43, 121, 255, 0.75);
  animation: trust-flow-y 2s ease-in-out infinite;
}

.trust-board figcaption {
  position: relative;
  width: auto;
  max-width: 28rem;
  margin: 28px auto 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.5;
  text-align: center;
  text-transform: none;
}

.fair-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(43, 121, 255, 0.3);
  border-radius: 32px;
  background: radial-gradient(circle at 50% 10%, rgba(43, 121, 255, 0.12), transparent 60%), var(--surface);
}

.fair-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #e8effb;
}

[data-theme="dark"] .fair-row { background: #183354; }
.fair-row h3 { margin: 0; font-size: 14px; }
.fair-row p { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }

.fair-end {
  margin-top: auto;
  padding: 16px;
  border: 1px solid rgba(43, 121, 255, 0.3);
  border-radius: 16px;
  background: color-mix(in srgb, var(--brand) 8%, transparent);
}

.fair-end strong { display: block; font-family: var(--serif); font-size: 24px; font-weight: 400; line-height: 1.2; }
.fair-end span { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.45; }

.split .media--scene {
  position: relative;
  min-height: 360px;
  margin-top: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px;
}

.split .media--scene img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
}

.split .media--scene::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to bottom, color-mix(in srgb, var(--surface) 75%, transparent), transparent 42%, color-mix(in srgb, var(--surface) 10%, transparent));
  pointer-events: none;
}

.asset-grid { display: grid; gap: 16px; margin-top: 40px; }

.asset {
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--bg);
  text-align: left;
}

.asset--featured {
  border-color: rgba(43, 121, 255, 0.3);
  background: radial-gradient(circle at 50% 0%, rgba(43, 121, 255, 0.13), transparent 70%), var(--bg);
  box-shadow: 0 16px 30px -20px rgba(43, 121, 255, 0.4);
}

.asset__icon--solid { background: var(--brand); color: #fff; }
.asset h3 { margin: 24px 0 0; font-size: 18px; }
.asset p { margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

.section--center { text-align: center; }
.section--center .h2,
.section--center .prose,
.section--center .landing-note { margin-right: auto; margin-left: auto; }

.story { display: grid; gap: 36px; align-items: center; }
.story__visual { min-width: 0; }
.story__visual .places,
.story__visual .flow,
.story__visual .landing-chips { margin-top: 16px; }
.story__visual .places,
.story__visual .places--4,
.story__visual .flow--2 { grid-template-columns: 1fr; }

.story-close { margin-top: 96px; }
.story-quote {
  max-width: 52rem;
  margin-top: 28px;
  padding-left: 20px;
  border-left: 2px solid rgba(114, 173, 255, 0.6);
  color: var(--soft);
  font-size: 16px;
  line-height: 1.75;
}

@media (min-width: 640px) {
  .principle { gap: 20px; padding: 24px; }
  .principle p { font-size: 14px; }
  .trust-board { min-height: 450px; padding: 32px; }
  .trust-flow { flex-direction: row; align-items: stretch; gap: 8px; }
  .trust-node { min-height: 185px; min-width: 0; flex: 1; }
  .trust-link { width: 28px; height: auto; }
  .trust-link i { top: 50%; right: 0; bottom: auto; left: 0; height: 1px; background: repeating-linear-gradient(to right, rgba(43, 121, 255, 0.55) 0 4px, transparent 4px 9px); }
  .trust-link b { top: calc(50% - 3px); left: 0; animation-name: trust-flow-x; }
  .fair-card { padding: 32px; }
  .fair-row { padding: 20px; }
  .split .media--scene { min-height: 430px; }
  .story__visual .flow--2,
  .story__visual .places--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-quote { margin-top: 40px; padding-left: 28px; font-size: 18px; line-height: 1.8; }
}

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

@media (max-width: 1023px) {
  #applications .places { grid-template-columns: 1fr; }
}

@media (min-width: 1024px) {
  .split--trust { grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr); gap: 32px; }
  .split--fair { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 32px; }
  .story { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
  .story__visual .places { grid-template-columns: 1fr; }
  .story__visual .places--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #applications .places { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@keyframes trust-flow-y {
  0% { top: 0; opacity: 0; }
  15%, 85% { opacity: 1; }
  100% { top: calc(100% - 6px); opacity: 0; }
}

@keyframes trust-flow-x {
  0% { left: 0; opacity: 0; }
  15%, 85% { opacity: 1; }
  100% { left: calc(100% - 6px); opacity: 0; }
}

.hero--hive { overflow: visible; }
.hero--hive > * { min-width: 0; max-width: 100%; }
.hero--hive::after {
  position: absolute;
  inset: 0;
  content: "";
  background-image: radial-gradient(circle, rgba(48, 79, 120, 0.16) 1px, transparent 1.5px);
  background-size: 30px 30px;
  mask-image: radial-gradient(ellipse 55% 76% at 73% 48%, #000 6%, transparent 100%);
  pointer-events: none;
}
[data-theme="dark"] .hero--hive::after { background-image: radial-gradient(circle, rgba(131, 180, 255, 0.33) 1px, transparent 1.5px); }

.hive { width: 100%; max-width: 620px; min-width: 0; margin: 0 auto; }
.hive-stage { min-width: 0; max-width: 100%; background: radial-gradient(ellipse at center, rgba(192, 213, 238, 0.5), transparent 68%); }
[data-theme="dark"] .hive-stage { background: radial-gradient(ellipse at center, rgba(43, 121, 255, 0.12), transparent 68%); }
.hive svg { display: block; width: 100%; max-width: 100%; height: auto; }
.hive-depth polygon { fill: rgba(99, 125, 157, 0.12); stroke: rgba(68, 96, 129, 0.12); stroke-width: 1; }
.hive-cell { fill: #f0f4f9; stroke: rgba(48, 79, 115, 0.5); stroke-width: 1.3; stroke-linejoin: round; }
.hive-cell--filled { fill: #cbd8e7; }
.hive-source { fill: #a9c1df; stroke: #4e749f; stroke-width: 1.5; }
.hive-awaken { fill: #2a72f0; opacity: 0; animation: hive-awaken 8s ease-in-out infinite; }
.hive-track { fill: none; stroke: rgba(41, 72, 110, 0.42); stroke-width: 1; stroke-dasharray: 3 5; }
.hive-signal { fill: none; stroke: #1269e8; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 12 112; opacity: 0; animation: hive-travel 8s linear infinite; }
.hive-node { fill: #174f9d; }
.hive-center { fill: none; stroke: #1558bc; stroke-width: 1.8; animation: hive-center 8s ease-in-out infinite; }
.hive-caption {
  width: fit-content;
  margin: 8px auto 0;
  padding: 8px 20px;
  border: 1px solid rgba(29, 88, 200, 0.5);
  border-radius: 999px;
  background: #fff;
  color: #1d58c8;
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: -0.02em;
  text-align: center;
  text-transform: none;
  box-shadow: 0 12px 32px rgba(21, 72, 166, 0.16);
}
[data-theme="dark"] .hive-depth polygon { fill: rgba(32, 67, 106, 0.5); stroke: rgba(119, 171, 232, 0.12); }
[data-theme="dark"] .hive-cell { fill: rgba(17, 42, 73, 0.82); stroke: rgba(130, 182, 246, 0.48); }
[data-theme="dark"] .hive-cell--filled { fill: rgba(44, 83, 131, 0.75); }
[data-theme="dark"] .hive-source { fill: #234b78; stroke: rgba(154, 205, 255, 0.7); }
[data-theme="dark"] .hive-awaken { fill: #75bdff; }
[data-theme="dark"] .hive-track { stroke: rgba(170, 206, 247, 0.25); }
[data-theme="dark"] .hive-signal { stroke: #a6e6ff; stroke-width: 2.5; }
[data-theme="dark"] .hive-node { fill: #abdfff; }
[data-theme="dark"] .hive-center { stroke: #a6d7ff; }
[data-theme="dark"] .hive-caption { border-color: rgba(143, 192, 255, 0.55); background: #102a4d; color: #c3e1ff; box-shadow: 0 12px 34px rgba(0, 10, 35, 0.36); }
.hive:not(.is-on) .hive-awaken,
.hive:not(.is-on) .hive-signal,
.hive:not(.is-on) .hive-center { animation-play-state: paused; }
@media (min-width: 640px) { .hive-caption { font-size: 20px; } }
@media (min-width: 1024px) {
  .hero.hero--hive {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 56px;
  }

  .hero.hero--hive .hive { justify-self: center; }
}

.kb { width: min(100%, 620px); margin: 0 auto; }
.kb-tabs { display: flex; width: fit-content; max-width: 100%; gap: 4px; margin: 0 auto 20px; padding: 4px; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.kb-tabs button { flex: 0 0 auto; padding: 8px 12px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font: inherit; font-size: 11px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.kb-tabs button.is-on { background: var(--brand); color: #fff; box-shadow: 0 4px 12px rgba(43, 121, 255, 0.25); }
.kb-scroll { max-width: 100%; overflow-x: auto; }
.kb-stage { position: relative; height: 520px; min-width: 580px; background: radial-gradient(circle at 50% 47%, rgba(43, 121, 255, 0.16), transparent 62%); }
.kb-stage[hidden] { display: none; }
.kb-stage::before { position: absolute; left: 50%; top: 48%; width: 20rem; height: 20rem; border: 1px solid rgba(147, 197, 253, 0.12); border-radius: 999px; content: ""; transform: translate(-50%, -50%); }
.kb-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.kb-line { fill: none; stroke: rgba(29, 88, 200, 0.75); stroke-width: 1.6; stroke-dasharray: 7 8; animation: eco-dash 3.2s linear infinite; transition: opacity 0.3s ease; }
.kb-line--owner { stroke: rgba(29, 88, 200, 0.65); }
.kb-line--shared { stroke: rgba(0, 112, 91, 0.78); }
[data-theme="dark"] .kb-line,
[data-theme="dark"] .kb-line--owner { stroke: rgba(127, 179, 244, 0.55); }
[data-theme="dark"] .kb-line--shared { stroke: rgba(144, 211, 194, 0.68); }
.kb-line.is-dim { opacity: 0.1; }
.kb-card {
  position: absolute;
  z-index: 2;
  display: flex;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 95%, transparent);
  box-shadow: 0 16px 30px -18px rgba(0, 0, 0, 0.45);
  color: inherit;
  cursor: pointer;
  transition: opacity 0.3s ease, box-shadow 0.3s ease;
}
.kb-card.is-dim { opacity: 0.3; }
.kb-card.is-on { box-shadow: 0 0 0 2px var(--brand), 0 16px 30px -12px rgba(43, 121, 255, 0.45); }
.kb-owner { top: 3%; width: 176px; flex-direction: column; align-items: center; gap: 4px; padding: 12px; text-align: center; transform: translateX(-50%); }
.kb-owner[disabled] { cursor: default; }
.kb-ico { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid rgba(43, 121, 255, 0.25); border-radius: 999px; background: color-mix(in srgb, var(--brand) 10%, transparent); color: var(--brand-soft); }
.kb-source .kb-ico { width: 36px; height: 36px; border: 0; border-radius: 12px; }
.kb-owner strong, .kb-source strong { font-size: 11px; line-height: 1.3; }
.kb-owner small, .kb-avatar small { display: block; margin-top: 4px; color: var(--dim); font-size: 9px; line-height: 1.3; }
.kb-source { top: 30%; width: 28%; height: 102px; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 8px; text-align: center; transform: translateX(-50%); }
.kb-source em, .kb-badge { font-size: 9px; font-style: normal; font-weight: 600; line-height: 1.3; }
.kb-source em { color: var(--brand-soft); }
.kb-source em.is-granted, .kb-badge { color: #047857; }
[data-theme="dark"] .kb-source em.is-granted, [data-theme="dark"] .kb-badge { color: #6ee7b7; }
.kb-badge { display: none; }
.kb-stage.is-filtering .kb-card:not(.is-dim) .kb-badge { display: block; }
.kb-avatar { top: 71%; width: 158px; align-items: center; gap: 10px; padding: 10px; text-align: left; transform: translateX(-50%); }
.kb-avatar img { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 12px; object-fit: cover; }
.kb-avatar strong { display: block; font-size: 11px; line-height: 1.3; }
.kb-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.wf { width: min(100%, 640px); margin: 0 auto; }
.wf-head, .wf-status { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 8px 12px; }
.wf-head span, .wf-status p { margin: 0; color: var(--brand-soft); font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.wf-head button { display: grid; width: 36px; height: 36px; place-items: center; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; }
.wf-stage { display: grid; gap: 12px; padding: 16px 0; background: radial-gradient(ellipse at 50% 45%, rgba(43, 121, 255, 0.08), transparent 65%); }
.wf-request, .wf-answer { max-width: 560px; margin: 0 auto; padding: 16px; border-radius: 16px; }
.wf-request { background: color-mix(in srgb, var(--brand) 8%, transparent); animation: wf-arrive 0.5s ease-out both; }
.wf-request p, .wf-answer p { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.5; }
.wf-kicker { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--brand-soft); font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.wf-kicker b { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 8px; background: color-mix(in srgb, var(--brand) 12%, transparent); }
.wf-answer { background: rgba(16, 185, 129, 0.1); }
.wf-answer .wf-kicker { color: #047857; }
[data-theme="dark"] .wf-answer .wf-kicker { color: #a7f3d0; }
.wf-gap { height: 28px; }
.wf-gap svg { display: block; margin: 0 auto; overflow: visible; }
.wf-branch > svg { display: block; width: 100%; height: 40px; overflow: visible; }
.wf-person, .wf-pair { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.wf-person img, .wf-pair img { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; }
.wf-person strong, .wf-pair strong { font-size: 14px; }
.wf-person em, .wf-pair em { color: var(--soft); font-size: 12px; font-style: normal; }
.wf-person em { color: var(--brand-soft); }
.wf-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 440px; margin: 0 auto; }
.wf-pair > div { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.wf-step { opacity: 0; }
.wf-step.is-on { animation: wf-card 0.5s ease 0.8s both; }
.wf-wire { visibility: hidden; }
.wf-wire.is-on { visibility: visible; }
.wf-reveal { fill: none; stroke: #fff; stroke-width: 8; stroke-dasharray: 100 100; stroke-dashoffset: 100; }
.wf-wire.is-on .wf-reveal { animation: wf-reveal 0.8s linear both; }
.wf.is-paused .wf-icon--pause,
.wf-icon--play { display: none; }
.wf.is-paused .wf-icon--play { display: block; }
.wf-track { fill: none; stroke: rgba(40, 68, 103, 0.8); stroke-width: 1.7; stroke-linecap: round; stroke-dasharray: 5 5; }
.wf-pulse { fill: none; stroke: #2a72f0; stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 12 300; filter: drop-shadow(0 0 4px rgba(42, 114, 240, 0.7)); }
[data-theme="dark"] .wf-track { stroke: rgba(144, 211, 194, 0.42); stroke-dasharray: 5 7; }
[data-theme="dark"] .wf-pulse { stroke: #a8f3db; filter: drop-shadow(0 0 4px #54dfba); }
.wf-wire.is-on .wf-pulse--short { animation: wf-short 0.8s linear both; }
.wf-wire.is-on .wf-pulse--branch { animation: wf-branch 0.8s linear both; }
.wf.is-paused .wf-pulse,
.wf.is-paused .wf-reveal,
.wf.is-paused .wf-step,
.wf.is-paused .wf-request { animation-play-state: paused; }
.wf-status { display: block; max-width: 560px; margin: 0 auto; padding-top: 16px; text-align: center; }
.wf-status strong { display: block; margin-top: 4px; color: var(--text); font-size: 14px; letter-spacing: 0; text-transform: none; }
@media (min-width: 640px) {
  .wf-head, .wf-stage { padding-right: 16px; padding-left: 16px; }
  .wf-request, .wf-answer { padding: 20px; }
  .wf-request p, .wf-answer p { font-size: 16px; }
  .wf-person img, .wf-pair img { width: 80px; height: 80px; }
  .wf-pair { gap: 20px; }
  .kb-tabs button { padding: 8px 16px; font-size: 12px; }
}
@keyframes hive-awaken { 0%, 35%, 100% { opacity: 0; } 7%, 17% { opacity: 0.5; } }
@keyframes hive-travel { 0% { stroke-dashoffset: 12; opacity: 0; } 8%, 26% { opacity: 1; } 32%, 100% { stroke-dashoffset: -100; opacity: 0; } }
@keyframes hive-center { 0%, 65%, 100% { stroke-width: 1.8; } 75%, 90% { stroke-width: 3; } }
@keyframes wf-arrive { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes wf-card { from { opacity: 0; transform: translateY(9px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes wf-reveal { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes wf-short { from { stroke-dashoffset: 12; } to { stroke-dashoffset: -28; } }
@keyframes wf-branch { from { stroke-dashoffset: 12; } to { stroke-dashoffset: -150; } }
@media (prefers-reduced-motion: reduce) {
  .hive-awaken, .hive-signal, .hive-center, .kb-line, .wf-pulse, .wf-reveal, .wf-step, .wf-request { animation: none; }
  .hive-awaken, .hive-signal, .wf-pulse { display: none; }
  .wf-reveal { stroke-dashoffset: 0; }
  .wf-wire { visibility: visible; }
  .wf-step { opacity: 1; }
}
