/* ЦРМ Точка — фирменный стиль + интерактив */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Onest:wght@500;600;700;800&display=swap");

:root {
  --ink: #0d1520;
  --ink-soft: #314540;
  --muted: #6b7a76;
  --paper: #f4f7f6;
  --panel: #ffffff;
  --line: rgba(13, 21, 32, 0.1);
  --mark: #e31c23;
  --mark-soft: rgba(227, 28, 35, 0.14);
  --accent: #409eff;
  --accent-deep: #2b7fd4;
  --accent-soft: rgba(64, 158, 255, 0.16);
  --mint: #9fd6c4;
  --peach: #f3c9b4;
  --lilac: #d4c7f0;
  --sky: #b7d8f5;
  --shadow: 0 20px 50px rgba(22, 53, 47, 0.08);
  --shadow-lg: 0 30px 80px rgba(13, 21, 32, 0.14);
  --radius: 20px;
  --nav-h: 74px;
  --font-display: "Onest", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --mx: 50%;
  --my: 40%;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}

body.has-spot {
  cursor: none;
}

img {
  max-width: 100%;
  display: block;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1140px, calc(100% - 2.5rem));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

/* Ambient brand mesh (как на login demo) */
.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 12% 18%, rgba(159, 214, 196, 0.55), transparent 55%),
    radial-gradient(ellipse 55% 50% at 88% 12%, rgba(243, 201, 180, 0.5), transparent 50%),
    radial-gradient(ellipse 50% 45% at 70% 78%, rgba(212, 199, 240, 0.45), transparent 55%),
    radial-gradient(ellipse 45% 40% at 18% 82%, rgba(183, 216, 245, 0.42), transparent 50%),
    linear-gradient(180deg, #f7faf9 0%, #eef3f1 45%, #f5f2ef 100%);
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
  will-change: transform;
  mix-blend-mode: multiply;
}

.ambient-orb.a {
  width: 420px;
  height: 420px;
  left: -80px;
  top: 10%;
  background: var(--mint);
}

.ambient-orb.b {
  width: 360px;
  height: 360px;
  right: -60px;
  top: 5%;
  background: var(--peach);
}

.ambient-orb.c {
  width: 480px;
  height: 480px;
  left: 35%;
  bottom: -120px;
  background: var(--lilac);
}

.spotlight {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    520px circle at var(--mx) var(--my),
    rgba(64, 158, 255, 0.12),
    transparent 45%
  );
  transition: opacity 0.4s ease;
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: multiply;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--mark);
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(13, 21, 32, 0.35);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.25s ease;
}

body.is-hovering .cursor-ring {
  width: 56px;
  height: 56px;
  border-color: var(--accent);
}

@media (pointer: coarse), (max-width: 900px) {
  body.has-spot {
    cursor: auto;
  }

  .cursor-dot,
  .cursor-ring {
    display: none !important;
  }
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 100;
  background: linear-gradient(90deg, var(--mark), var(--accent));
  transform-origin: left;
}

/* Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px) saturate(1.2);
  background: rgba(244, 247, 246, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 30px rgba(13, 21, 32, 0.04);
}

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -0.03em;
}

.logo-mark {
  width: 38px;
  height: 38px;
  display: block;
  flex-shrink: 0;
  transition: transform 0.45s var(--ease);
}

.logo:hover .logo-mark {
  transform: rotate(90deg) scale(1.06);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-links a:not(.nav-cta):hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.2rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 10px 24px rgba(64, 158, 255, 0.28);
  transition: transform 0.25s var(--ease), background 0.25s ease, box-shadow 0.25s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  background: var(--accent-deep);
  box-shadow: 0 14px 30px rgba(64, 158, 255, 0.35);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  place-items: center;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  margin: 3px 0;
  transition: 0.25s var(--ease);
}

/* Hero */
.hero {
  position: relative;
  padding: 1.35rem 0 1.1rem;
  overflow: hidden;
}

.hero-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 4;
  min-height: 280px;
  max-height: 520px;
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 24px 60px rgba(13, 21, 32, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.bg-slideshow {
  position: absolute;
  inset: 0;
}

.bg-slideshow__slide {
  position: absolute;
  inset: -8%;
  margin: 0;
  opacity: 0;
  transition: opacity 1.5s var(--ease);
  will-change: opacity, transform;
}

.bg-slideshow__slide.is-active {
  opacity: 1;
  z-index: 1;
  animation: kenburns 9s ease-out forwards;
}

.bg-slideshow__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.02) brightness(1.02);
}

.bg-slideshow__veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(13, 21, 32, 0.08) 0%, transparent 35%, rgba(13, 21, 32, 0.28) 100%),
    radial-gradient(ellipse at 70% 25%, rgba(64, 158, 255, 0.14), transparent 55%);
}

.bg-slideshow__grain {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero-stage-caption {
  position: absolute;
  left: 1.1rem;
  bottom: 1.1rem;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  box-shadow: 0 10px 28px rgba(13, 21, 32, 0.08);
}

.hero-stage-caption::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mark);
  box-shadow: 0 0 0 3px var(--mark-soft);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: center;
}

.hero-copy {
  max-width: 36rem;
}

.hero-logo-wrap {
  position: relative;
  width: clamp(64px, 8vw, 88px);
  height: clamp(64px, 8vw, 88px);
  margin-bottom: 0.95rem;
}

.hero-logo-wrap::before,
.hero-logo-wrap::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1.5px dashed rgba(13, 21, 32, 0.18);
  animation: spin 18s linear infinite;
}

.hero-logo-wrap::after {
  inset: -22px;
  border-style: solid;
  border-color: transparent;
  border-top-color: rgba(227, 28, 35, 0.45);
  border-right-color: rgba(64, 158, 255, 0.35);
  animation-duration: 10s;
  animation-direction: reverse;
}

.hero-logo {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 16px 30px rgba(227, 28, 35, 0.18));
  animation: floaty 5s ease-in-out infinite;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.8rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  margin: 0 0 0.9rem;
  font-weight: 800;
}

.hero-brand span {
  display: block;
  color: var(--accent);
  font-size: 0.34em;
  letter-spacing: 0.08em;
  margin-bottom: 0.4em;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 34rem;
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  color: var(--ink-soft);
  margin: 0 0 1.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.15rem;
}

.chip-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--ink-soft);
  backdrop-filter: blur(8px);
  transition: transform 0.3s var(--ease), border-color 0.3s ease, background 0.3s ease,
    box-shadow 0.3s ease;
  cursor: pointer;
}

button.chip-live {
  font: inherit;
  appearance: none;
}

.chip-live:hover {
  transform: translateY(-3px);
  border-color: rgba(64, 158, 255, 0.35);
  background: #fff;
}

.chip-live.is-on {
  background: #fff;
  border-color: rgba(64, 158, 255, 0.45);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(64, 158, 255, 0.16);
}

.chip-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mark);
  box-shadow: 0 0 0 3px var(--mark-soft);
  animation: pulse 1.8s ease-in-out infinite;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s ease, border-color 0.25s ease,
    box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.35) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.6s var(--ease);
}

.btn:hover::after {
  transform: translateX(120%);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary,
.btn-signal {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 28px rgba(64, 158, 255, 0.28);
}

.btn-primary:hover,
.btn-signal:hover {
  background: var(--accent-deep);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  background: #fff;
  border-color: rgba(64, 158, 255, 0.35);
}

.btn-ink {
  background: var(--ink);
  color: #fff;
}

.magnetic {
  display: inline-flex;
}

/* Sections */
.section {
  padding: 2.75rem 0;
  position: relative;
  z-index: 1;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 1.25rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 0.8rem;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mark);
  box-shadow: 0 0 0 4px var(--mark-soft);
}

.section h2,
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.4vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin: 0 0 0.85rem;
  font-weight: 800;
}

.section-head p,
.lede {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Directions with tilt */
.directions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  perspective: 1200px;
}

.direction {
  position: relative;
  min-height: 220px;
  padding: 1.45rem 1.35rem 1.25rem;
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  transform-style: preserve-3d;
  transition: transform 0.2s ease, box-shadow 0.35s var(--ease);
  box-shadow: var(--shadow);
  will-change: transform;
}

.direction .shine {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    420px circle at var(--tx, 50%) var(--ty, 30%),
    rgba(255, 255, 255, 0.22),
    transparent 45%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 0;
  pointer-events: none;
}

.direction:hover .shine {
  opacity: 1;
}

.direction > * {
  position: relative;
  z-index: 1;
  transform: translateZ(28px);
}

.direction::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
}

.direction::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 8%, rgba(8, 12, 18, 0.72) 100%);
}

.direction.build::before {
  background:
    radial-gradient(circle at 85% 10%, rgba(64, 158, 255, 0.45), transparent 40%),
    linear-gradient(145deg, #1a3558, #0d1520 60%, #16324f);
}

.direction.jkh::before {
  background:
    radial-gradient(circle at 15% 20%, rgba(159, 214, 196, 0.4), transparent 40%),
    linear-gradient(160deg, #18443c, #0d1520 60%, #1b4a42);
}

.direction.dent::before {
  background:
    radial-gradient(circle at 75% 15%, rgba(212, 199, 240, 0.45), transparent 40%),
    linear-gradient(150deg, #2a3568, #0d1520 60%, #2f3a6e);
}

.direction.agro::before {
  background:
    radial-gradient(circle at 20% 15%, rgba(103, 194, 58, 0.28), transparent 40%),
    linear-gradient(155deg, #1c4a28, #0d1520 55%, #245533);
}

.direction-tag {
  position: absolute;
  top: 1.25rem;
  left: 1.4rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
  transform: translateZ(40px);
}

.direction h3 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  margin: 0 0 0.45rem;
  letter-spacing: -0.025em;
}

.direction p {
  margin: 0 0 1rem;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.98rem;
}

.direction-link {
  font-weight: 800;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.direction-link::after {
  content: "→";
  transition: transform 0.25s var(--ease);
}

.direction:hover .direction-link::after {
  transform: translateX(5px);
}

/* Flow interactive */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
  counter-reset: step;
}

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

.flow-item {
  padding: 1.15rem 1.1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  min-height: 140px;
  backdrop-filter: blur(10px);
  transition: transform 0.35s var(--ease), border-color 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}

.flow-item::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 0.9rem;
  font-weight: 700;
}

.flow-item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--mark), var(--accent));
  transition: width 0.45s var(--ease);
}

.flow-item:hover,
.flow-item.is-active {
  transform: translateY(-6px);
  border-color: rgba(64, 158, 255, 0.35);
  box-shadow: var(--shadow);
}

.flow-item:hover::after,
.flow-item.is-active::after {
  width: 100%;
}

.flow-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1.08rem;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.flow-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.panel {
  border-radius: 24px;
  background: linear-gradient(155deg, #0d1520, #16324f 55%, #1a4a62);
  color: #e8f2f0;
  padding: 1.9rem;
  min-height: 260px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.panel::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -70px;
  top: -90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 28, 35, 0.35), transparent 65%);
}

.panel::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  left: -60px;
  bottom: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(64, 158, 255, 0.3), transparent 65%);
}

.panel h3 {
  position: relative;
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0 0 1rem;
}

.panel ul {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.panel li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  color: rgba(232, 242, 240, 0.9);
  font-size: 0.98rem;
}

.panel li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 0.4rem;
  border-radius: 50%;
  background: var(--mark);
  box-shadow: 0 0 0 4px rgba(227, 28, 35, 0.2);
}

/* Marquee */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  margin: 0.25rem 0 0.5rem;
  position: relative;
  z-index: 1;
}

.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  z-index: 2;
  pointer-events: none;
}

.marquee::before {
  left: 0;
  background: linear-gradient(90deg, rgba(244, 247, 246, 0.95), transparent);
}

.marquee::after {
  right: 0;
  background: linear-gradient(270deg, rgba(244, 247, 246, 0.95), transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  padding: 1.05rem 0 1.15rem;
  color: var(--ink-soft);
  will-change: transform;
  animation: marquee var(--marquee-duration, 28s) linear infinite;
  transform: translate3d(0, 0, 0);
}

.marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 1.75rem;
  padding-right: 1.75rem;
}

.marquee-item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-width: 8.2rem;
  white-space: nowrap;
  flex-shrink: 0;
  margin: 0;
  padding: 0.35rem 0.5rem;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  border-radius: 18px;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}

.marquee-item:hover,
.marquee-item:focus-visible {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.72);
  outline: none;
}

.marquee-item:focus-visible {
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.marquee-item:hover .marquee-ico,
.marquee-item:focus-visible .marquee-ico {
  transform: scale(1.06);
  box-shadow: 0 14px 28px rgba(13, 21, 32, 0.1);
}

.marquee-ico {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(13, 21, 32, 0.08);
  color: var(--accent-deep);
  box-shadow: 0 10px 22px rgba(13, 21, 32, 0.06);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.marquee-ico svg {
  width: 30px;
  height: 30px;
  display: block;
}

.marquee-item:nth-child(7n + 1) .marquee-ico {
  color: var(--mark);
}

.marquee-item:nth-child(7n + 2) .marquee-ico {
  color: #2f8f5b;
}

.marquee-item:nth-child(7n + 3) .marquee-ico {
  color: var(--accent-deep);
}

.marquee-item:nth-child(7n + 4) .marquee-ico {
  color: #1f6f66;
}

.marquee-item:nth-child(7n + 5) .marquee-ico {
  color: #5b6cff;
}

.marquee-item:nth-child(7n + 6) .marquee-ico {
  color: #3d8b4a;
}

.marquee-item:nth-child(7n + 7) .marquee-ico {
  color: var(--ink);
}

.marquee-item:nth-child(9n + 8) .marquee-ico {
  color: var(--mark);
}

.marquee-item:nth-child(9n + 9) .marquee-ico {
  color: #1a3558;
}

.marquee-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: -0.02em;
}

/* Page hero */
.page-hero {
  padding: 3.25rem 0 2rem;
  position: relative;
  z-index: 1;
}

.page-hero .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-weight: 700;
  font-size: 0.8rem;
}

.content-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
}

.stack {
  display: grid;
  gap: 0.9rem;
}

.block {
  padding: 1.35rem 1.3rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}

.block:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.block h3 {
  margin: 0 0 0.45rem;
  font-size: 1.12rem;
  font-family: var(--font-display);
}

.block p,
.block li {
  color: var(--muted);
  font-size: 0.96rem;
}

.block ul {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
}

.timeline {
  display: grid;
  gap: 0.75rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 1rem;
  padding: 1.1rem 1.15rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), border-color 0.3s ease;
}

.timeline-item:hover {
  transform: translateX(4px);
  border-color: rgba(64, 158, 255, 0.35);
}

.timeline-item time {
  font-family: var(--font-display);
  font-size: 0.78rem;
  color: var(--accent-deep);
  font-weight: 700;
}

.timeline-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.speaker {
  display: inline-block;
  margin-top: 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.guide-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.75rem;
  align-items: start;
}

.toc {
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.toc h2 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.toc ol {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.45rem;
}

.toc a {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 600;
}

.toc a:hover {
  color: var(--accent-deep);
}

.guide-body h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 2rem 0 0.75rem;
  scroll-margin-top: calc(var(--nav-h) + 1rem);
}

.guide-body h2:first-child {
  margin-top: 0;
}

.guide-body p,
.guide-body li {
  color: var(--ink-soft);
}

.guide-body .callout {
  margin: 1rem 0;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(64, 158, 255, 0.12), rgba(227, 28, 35, 0.08));
  border: 1px solid rgba(64, 158, 255, 0.2);
  color: var(--ink);
  font-weight: 600;
}

.form-shell {
  max-width: 680px;
  margin: 0 auto;
  padding: 1.85rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

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

.field label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  transform: translateY(-1px);
}

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

.form-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.form-success {
  display: none;
  padding: 1rem 1.1rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: rgba(64, 158, 255, 0.12);
  color: var(--accent-deep);
  font-weight: 700;
}

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

.form-success.is-error {
  background: rgba(227, 28, 35, 0.12);
  color: #b8141a;
}

.cta-band {
  margin: 0.5rem 0 2.75rem;
  padding: 1.75rem 1.9rem;
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 18%, rgba(227, 28, 35, 0.28), transparent 30%),
    radial-gradient(circle at 10% 80%, rgba(64, 158, 255, 0.3), transparent 35%),
    linear-gradient(125deg, #0d1520, #16324f 50%, #1a4a62);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 2.05rem);
  margin: 0 0 0.4rem;
  letter-spacing: -0.025em;
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  max-width: 36rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.25rem 0 2.75rem;
  color: var(--muted);
  font-size: 0.92rem;
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.4);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
}

.footer-links a:hover {
  color: var(--accent-deep);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0ms);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.hero-logo-wrap,
.hero-brand,
.hero-lead,
.hero-actions,
.hero-chips {
  animation: rise 0.95s var(--ease) both;
}

.hero-brand {
  animation-delay: 0.08s;
}

.hero-lead {
  animation-delay: 0.16s;
}

.hero-actions {
  animation-delay: 0.24s;
}

.hero-chips {
  animation-delay: 0.32s;
}

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

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px var(--mark-soft);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(227, 28, 35, 0.08);
  }
}

@keyframes marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(calc(-1 * var(--marquee-shift, 50%)), 0, 0);
  }
}

/* Capabilities / own AI */
.ai-hero {
  position: relative;
  margin-bottom: 1.25rem;
  padding: 1.6rem 1.5rem 1.5rem;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 12% 0%, rgba(227, 28, 35, 0.16), transparent 42%),
    radial-gradient(ellipse at 90% 100%, rgba(64, 158, 255, 0.18), transparent 45%),
    linear-gradient(145deg, #101822 0%, #162433 55%, #0d1520 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg);
}

.ai-hero__badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(227, 28, 35, 0.92);
  box-shadow: 0 8px 20px rgba(227, 28, 35, 0.28);
}

.ai-hero__grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 1.5rem;
  align-items: center;
}

.ai-hero__copy h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.ai-hero__copy > p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 48ch;
}

.ai-hero__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.ai-hero__list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.4;
}

.ai-hero__list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.4rem;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--mark);
  box-shadow: 0 0 0 4px rgba(227, 28, 35, 0.22);
}

.ai-hero__visual {
  display: grid;
  place-items: center;
  gap: 0.85rem;
  min-height: 220px;
}

.ai-orb {
  position: relative;
  width: 168px;
  height: 168px;
  display: grid;
  place-items: center;
}

.ai-orb__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  animation: ai-spin 18s linear infinite;
  background:
    radial-gradient(circle at 30% 30%, rgba(64, 158, 255, 0.25), transparent 45%),
    radial-gradient(circle at 70% 70%, rgba(227, 28, 35, 0.22), transparent 40%);
}

.ai-orb__ring::before,
.ai-orb__ring::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.ai-orb__ring::before {
  inset: 18px;
}

.ai-orb__ring::after {
  inset: 36px;
  border-style: dashed;
}

.ai-orb__core {
  position: relative;
  z-index: 1;
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(160deg, var(--mark), #b8141a 55%, #8f1015);
  box-shadow:
    0 0 0 8px rgba(227, 28, 35, 0.18),
    0 16px 36px rgba(0, 0, 0, 0.35);
}

.ai-hero__caption {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.capability-card {
  padding: 1.2rem 1.1rem 1.15rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(13, 21, 32, 0.04);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.capability-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(13, 21, 32, 0.08);
}

.capability-card__ico {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
  border-radius: 14px;
  color: var(--accent-deep);
  background: #fff;
  border: 1px solid rgba(13, 21, 32, 0.08);
  box-shadow: 0 8px 18px rgba(13, 21, 32, 0.05);
}

.capability-card:nth-child(1) .capability-card__ico {
  color: var(--mark);
}

.capability-card:nth-child(2) .capability-card__ico {
  color: #2f8f5b;
}

.capability-card:nth-child(3) .capability-card__ico {
  color: var(--accent-deep);
}

.capability-card:nth-child(4) .capability-card__ico {
  color: #1a3558;
}

.capability-card__ico svg {
  width: 24px;
  height: 24px;
}

.capability-card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.capability-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.45;
}

/* Construction vision / стройконтроль */
.vision-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.4rem;
  align-items: center;
  padding: 1.5rem;
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(64, 158, 255, 0.16), transparent 40%),
    linear-gradient(160deg, #fff 0%, #f3f7fb 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.vision-band__copy h2 {
  margin: 0.35rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.vision-band__copy p {
  margin: 0 0 0.85rem;
  color: var(--ink-soft);
  max-width: 48ch;
}

.vision-band .ai-hero__list li {
  color: var(--ink);
}

.vision-band .ai-hero__list li::before {
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.vision-band__stage {
  min-height: 260px;
}

.vision-frame {
  height: 100%;
  min-height: 260px;
  border-radius: 22px;
  overflow: hidden;
  background: #0d1520;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 50px rgba(13, 21, 32, 0.18);
}

.vision-frame__bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 0.9rem;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
}

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

.vision-frame__bar span:first-child {
  background: #e31c23;
}

.vision-frame__bar span:nth-child(2) {
  background: #f0b429;
}

.vision-frame__bar span:nth-child(3) {
  background: #3ecf8e;
}

.vision-frame__bar strong {
  margin-left: auto;
  font-weight: 700;
}

.vision-frame__view {
  position: relative;
  height: calc(100% - 42px);
  min-height: 210px;
  background:
    linear-gradient(180deg, transparent 55%, rgba(13, 21, 32, 0.55)),
    linear-gradient(135deg, #24364d 0%, #152033 45%, #1c3a58 100%);
  overflow: hidden;
}

.vision-scan {
  position: absolute;
  inset: 12% 10% auto;
  height: 42%;
  border-radius: 14px;
  border: 1px solid rgba(64, 158, 255, 0.45);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  background:
    repeating-linear-gradient(
      180deg,
      rgba(64, 158, 255, 0.05) 0 2px,
      transparent 2px 8px
    );
}

.vision-scan::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #409eff, transparent);
  animation: vision-scan 2.8s var(--ease) infinite;
}

.vision-tag {
  position: absolute;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  background: rgba(13, 21, 32, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
}

.vision-tag.t1 {
  left: 12%;
  top: 18%;
}

.vision-tag.t2 {
  right: 10%;
  top: 42%;
  color: #dff5ff;
  border-color: rgba(64, 158, 255, 0.35);
}

.vision-tag.t3 {
  left: 18%;
  bottom: 14%;
  background: rgba(227, 28, 35, 0.88);
}

@keyframes ai-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes vision-scan {
  0% {
    top: 8%;
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
  100% {
    top: 78%;
    opacity: 0.3;
  }
}

/* Topic modal */
.topic-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}

.topic-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.topic-modal[hidden] {
  display: none;
}

.topic-modal.is-open[hidden] {
  display: grid;
}

.topic-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(64, 158, 255, 0.18), transparent 45%),
    radial-gradient(ellipse at 80% 80%, rgba(227, 28, 35, 0.12), transparent 40%),
    rgba(13, 21, 32, 0.48);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
}

.topic-modal__dialog {
  position: relative;
  width: min(440px, 100%);
  padding: 1.75rem 1.6rem 1.5rem;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 250, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 30px 80px rgba(13, 21, 32, 0.22);
  overflow: hidden;
  transform: translateY(18px) scale(0.96);
  opacity: 0;
  transition: transform 0.45s var(--ease), opacity 0.35s var(--ease);
}

.topic-modal.is-open .topic-modal__dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.topic-modal__glow {
  position: absolute;
  inset: -40% auto auto 50%;
  width: 280px;
  height: 180px;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--topic-glow, var(--accent-soft)), transparent 70%);
  pointer-events: none;
  opacity: 0.95;
}

.topic-modal__close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

.topic-modal__close:hover,
.topic-modal__close:focus-visible {
  background: #fff;
  color: var(--ink);
  transform: rotate(90deg);
  outline: none;
}

.topic-modal__close svg {
  width: 18px;
  height: 18px;
}

.topic-modal__icon {
  position: relative;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  border-radius: 22px;
  color: var(--topic-color, var(--accent-deep));
  background: linear-gradient(160deg, #fff, rgba(255, 255, 255, 0.7));
  border: 1px solid rgba(13, 21, 32, 0.08);
  box-shadow:
    0 12px 28px rgba(13, 21, 32, 0.08),
    0 0 0 6px var(--topic-soft, var(--accent-soft));
  animation: topic-pop 0.55s var(--ease) both;
}

.topic-modal__icon svg {
  width: 34px;
  height: 34px;
}

.topic-modal__eyebrow {
  position: relative;
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--topic-color, var(--accent-deep));
}

.topic-modal__title {
  position: relative;
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.4vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
}

.topic-modal__text {
  position: relative;
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.55;
}

.topic-modal__points {
  position: relative;
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.topic-modal__points li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.7rem 0.8rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(13, 21, 32, 0.06);
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.4;
}

.topic-modal__points li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.4rem;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--topic-color, var(--accent));
  box-shadow: 0 0 0 4px var(--topic-soft, var(--accent-soft));
}

.topic-modal__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.topic-modal__actions .btn {
  min-height: 44px;
}

body.topic-modal-open {
  overflow: hidden;
}

@keyframes topic-pop {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes kenburns {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.14) translate3d(-2%, -1%, 0);
  }
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .hero-stage {
    order: -1;
    max-height: 340px;
    aspect-ratio: 16 / 10;
    min-height: 220px;
  }

  .hero-copy {
    max-width: none;
  }

  .ai-hero__grid,
  .vision-band,
  .capability-grid,
  .flow--six {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .directions,
  .flow,
  .flow--six,
  .split,
  .content-grid,
  .guide-layout,
  .form-grid,
  .ai-hero__grid,
  .vision-band,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: grid;
  }

  .nav-links {
    position: fixed;
    inset: var(--nav-h) 1rem auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-cta {
    width: 100%;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .toc {
    position: static;
  }

  .hero {
    padding-top: 1.25rem;
  }

  .direction {
    min-height: 200px;
  }

  .section {
    padding: 2.5rem 0;
  }
}

@media (max-width: 640px) {
  .directions {
    grid-template-columns: 1fr;
  }

  .container {
    width: min(1140px, calc(100% - 1.5rem));
  }

  .cta-band,
  .form-shell {
    padding: 1.25rem;
  }

  .marquee-ico {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .marquee-ico svg {
    width: 22px;
    height: 22px;
  }

  .marquee-text {
    font-size: 0.8rem;
  }

  .hero-stage {
    border-radius: 22px;
    max-height: 260px;
  }

  .hero-brand {
    font-size: clamp(2.4rem, 12vw, 3.4rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
