.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  align-items: center;
  gap: 24px;
  padding-block: 40px 32px;
}

.hero-copy { position: relative; z-index: 1; }
.hero-copy .eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 16px var(--ancillary);
}

.hero h1 {
  max-width: 680px;
  margin-top: 16px;
  font-size: clamp(2.25rem, 4.25vw, 3.75rem);
  line-height: 1.03;
  letter-spacing: -.055em;
}

.hero-lead {
  max-width: 55ch;
  margin-top: 24px;
  color: var(--sub);
  font-size: 18px;
  line-height: 28px;
}

.hero-action { margin-top: 32px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; }
.hero-action p { margin-top: 12px; color: var(--sub); font-size: 14px; }
.landing-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
}
.landing-link:hover { text-decoration-color: currentColor; }

.hero-art {
  isolation: isolate;
  position: relative;
  width: 100%;
  aspect-ratio: 1.12;
}

.art-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(#b7a17914 1px, transparent 1px), linear-gradient(90deg, #b7a17914 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: center;
  mask-image: radial-gradient(ellipse, #000 20%, transparent 82%);
}

.art-halo {
  position: absolute;
  inset: 8% 10% 9%;
  border: 1px solid #a88e5b38;
  border-radius: 50%;
  transform: rotate(-19deg);
  box-shadow: 0 0 100px #ad7e3026 inset;
}

.art-halo::before, .art-halo::after {
  position: absolute;
  content: "";
  inset: 8%;
  border: 1px solid #b49a6240;
  border-radius: 50%;
}

.art-halo::after { inset: 18%; border-style: dashed; opacity: .6; }
.art-cross { position: absolute; color: #bc9b63; font-size: 20px; font-weight: 400; }
.art-cross-top { top: 10%; left: 12%; }
.art-cross-bottom { bottom: 15%; right: 12%; }

.goose {
  position: absolute;
  bottom: 0;
  left: 2%;
  width: 89%;
  max-width: none;
  filter: drop-shadow(0 18px 28px #100e0da6);
  mask-image: linear-gradient(#000 87%, transparent);
}

.orb {
  position: absolute;
  z-index: 1;
  top: 16.1%;
  left: 72.2%;
  width: 32%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orb-canvas { display: block; width: 100%; height: 100%; }
.orb-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 24%;
  aspect-ratio: 1;
  border: 1px solid #ffe0a875;
  border-radius: 50%;
  box-shadow: 0 2px 14px #0007;
}
.orb-logo img { width: 55%; }
.orb-chatgpt { background: #f8f2e7; transform: translate(-142%, -63%); }
.orb-google { background: #f8f2e7; transform: translate(26%, -119%); }
.orb-yandex { background: #f8f2e7; transform: translate(-20%, 33%); }
.orb-yandex img { width: 65%; }

.motion-control { position: absolute; z-index: 2; right: 12px; bottom: 44px; }
.motion-toggle { color: #f7ead0; background: #1c1c18; border-color: #75674a; }
.motion-toggle:hover { background: #353225; }
.motion-toggle .play-icon, .motion-toggle[data-paused] .pause-icon { display: none; }
.motion-toggle[data-paused] .play-icon { display: block; }

.sources-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  min-height: 76px;
  padding-block: 16px;
  border-block: 1px solid var(--line);
}

.sources-band p { color: var(--sub); font-size: 14px; }
.sources-band ul { display: flex; flex-wrap: wrap; gap: 8px 32px; padding: 0; list-style: none; }
.sources-band li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.source-mark { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 50%; background: #f8f2e7; }
.source-mark img { width: 15px; }
.source-yandex img { width: 19px; }

.section-space { padding-block: 80px; scroll-margin-top: 12px; }
.section-copy { max-width: 600px; }
.section-copy .eyebrow + h2 { margin-top: 12px; }
.section-copy h2, .final-inner h2 { font-size: clamp(1.875rem, 3.35vw, 3rem); line-height: 1.12; }
.section-copy h2 + p, .final-inner h2 + p { margin-top: 16px; color: var(--sub); }
.section-copy > .landing-link, .section-copy > .button { margin-top: 16px; }
.example, .start, .faq {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.example-card { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); }
.example-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--sub);
  font-size: 14px;
}
.example-dots { display: flex; gap: 4px; }
.example-dots i { width: 6px; height: 6px; background: var(--field-line); border-radius: 50%; }
.example-inner { padding: 24px; }
.example-label, .panel-label { color: var(--ancillary); font-size: 14px; font-weight: 700; }
.example-inner h3 { margin: 4px 0 16px; font-size: 20px; line-height: 28px; text-wrap: pretty; }
.example-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 12px; }
.example-tabs button {
  min-height: 44px;
  padding: 6px 12px;
  background: transparent;
  color: var(--sub);
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}
.example-tabs button[aria-selected="true"], .example-tabs button:hover { background: var(--raised); color: var(--ink); }
.example-tabs button[aria-selected="true"] { border-color: var(--field-line); }
.example-panel { min-height: 114px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--sub); font-size: 14px; }
.example-panel + .example-panel { margin-top: 8px; }
.panel-label { margin-bottom: 4px; }
.example-panel mark { padding-inline: 2px; background: var(--raised); color: var(--ink); border-radius: 3px; }

.how { border-block: 1px solid var(--line); background: var(--surface); }
.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  padding: 0;
  margin-top: 32px;
  counter-reset: steps;
}
.steps li { position: relative; counter-increment: steps; padding-top: 24px; border-top: 1px solid var(--line); }
.steps li::before {
  content: counter(steps);
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--raised);
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
}
.steps h3 { margin-top: 16px; font-size: 20px; line-height: 28px; }
.steps p { margin-top: 8px; color: var(--sub); font-size: 14px; line-height: 22px; }

.case-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.case-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.case-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.case-nav a:hover { background: var(--raised); }
.case-chapter {
  display: grid;
  grid-template-columns: minmax(0, .83fr) minmax(0, 1.25fr);
  align-items: center;
  gap: 48px;
  padding-block: 48px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 16px;
}
.case-chapter:first-of-type { margin-top: 24px; border-top: 1px solid var(--line); }
.case-chapter:last-child { padding-bottom: 0; border-bottom: 0; }
.case-chapter-reverse { grid-template-columns: minmax(0, 1.25fr) minmax(0, .83fr); }
.case-chapter-reverse .case-figure { grid-area: 1 / 1; }
.case-copy h3 { margin-top: 12px; font-size: clamp(1.5rem, 2.7vw, 2.25rem); line-height: 1.15; }
.case-copy h3 + p { margin-top: 16px; color: var(--sub); }
.case-copy .landing-link { position: relative; }
.case-mascot {
  width: min(100%, 340px);
  height: 196px;
  margin: 8px 0 0 auto;
  object-fit: contain;
  object-position: right center;
}
.case-figure { min-width: 0; margin: 0; }
.case-figure figcaption { margin-top: 12px; color: var(--sub); font-size: 14px; }
.case-screen {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--field-line);
  border-radius: 14px;
  background: #242823;
  box-shadow: 0 12px 32px #0002;
}
.case-screen img { width: 100%; height: auto; }
.screen-zoom {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding-inline: 12px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--field-line);
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
}
.case-screen:hover .screen-zoom { color: var(--button-ink); background: var(--accent); }

.control { border-block: 1px solid var(--line); background: var(--surface); }
.control .wrap, .agency-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: 48px; align-items: center; }
.info-grid, .info-list { margin: 0; }
.info-grid { display: grid; gap: 12px; }
.info-grid div { padding: 20px; border: 1px solid var(--line); border-radius: 12px; }
.info-grid dt, .info-list dt { font-size: 18px; line-height: 26px; font-weight: 800; }
.info-grid dd, .info-list dd { margin: 6px 0 0; color: var(--sub); }
.info-list div { padding: 16px 0; border-top: 1px solid var(--line); }
.info-list div:last-child { border-bottom: 1px solid var(--line); }

.agency-inner {
  padding: 32px;
  border: 1px solid #634152;
  border-radius: 16px;
  background: #2a1d23;
  color: #faf0e4;
}
.agency-inner .eyebrow { color: #dec5a0; }
.agency-list { margin: 0; padding-left: 24px; color: #ead9ca; }
.agency-list li + li { margin-top: 12px; }
.agency-list li::marker { color: #dfae72; }

.sample-dialog {
  width: min(1080px, calc(100% - 32px));
  max-width: none;
  max-height: min(90dvh, 1040px);
  padding: 0;
  border: 1px solid var(--field-line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  overscroll-behavior: contain;
}
.sample-dialog::backdrop { background: #100c0cbd; }
.sample-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
.sample-heading h2 { font-size: clamp(1rem, 2vw, 1.375rem); line-height: 1.3; }
.sample-hint { display: none; padding: 8px 16px; color: var(--sub); font-size: 14px; }
.sample-image { overflow: auto; max-height: calc(90dvh - 80px); }
.sample-image img { width: max(100%, 740px); height: auto; max-width: none; }
.sample-image:focus-visible { outline-offset: -3px; }

.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding-block: 12px;
  list-style: none;
  cursor: pointer;
  font-weight: 700;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--gold); font-size: 22px; font-weight: 500; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding-bottom: 16px; max-width: 65ch; color: var(--sub); }

.final-cta { padding-bottom: 48px; }
.final-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.final-inner .button { flex: none; }

@media (max-width: 1024px) {
  .hero { gap: 16px; }
  .hero-lead { font-size: 16px; line-height: 24px; }
  .hero-action { margin-top: 24px; }
  .section-space { padding-block: 64px; }
  .example, .start, .faq, .case-chapter, .control .wrap, .agency-inner { gap: 32px; }
  .case-mascot { height: 160px; }
}

@media (max-width: 760px) {
  .hero, .example, .start, .faq, .steps, .case-chapter, .control .wrap, .agency-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero { padding-block: 24px 16px; gap: 20px; }
  .hero h1 { margin-top: 12px; font-size: clamp(1.875rem, 8.2vw, 3rem); }
  .hero-lead { margin-top: 12px; }
  .hero-action { margin-top: 16px; }
  .hero-action p { margin-top: 8px; }
  .motion-control { bottom: 24px; right: 8px; }
  .sources-band ul { gap: 8px 16px; }
  .section-space { padding-block: 48px; }
  .example, .start, .faq { gap: 24px; }
  .example-inner { padding: 16px; }
  .example-tabs { gap: 2px; }
  .example-tabs button { padding-inline: 8px; }
  .steps { gap: 0; margin-top: 24px; }
  .steps li { padding: 16px 0 16px 48px; }
  .steps li::before { position: absolute; left: 0; top: 16px; }
  .steps h3 { margin-top: 0; }
  .steps p { margin-top: 4px; }
  .case-head { display: grid; gap: 16px; }
  .case-chapter { gap: 16px; padding-block: 28px; }
  .case-chapter-reverse .case-figure { grid-area: auto; }
  .case-mascot { width: 78%; height: 148px; }
  .control .wrap, .agency-inner { gap: 24px; }
  .agency-inner { padding: 24px; }
  .sample-hint { display: block; }
  .sample-image { max-height: calc(90dvh - 132px); }
  .final-cta { padding-bottom: 32px; }
  .final-inner { align-items: flex-start; flex-direction: column; padding: 24px; }
}
