:root {
  --rosso: #f0a23a;
  --rosso-active: #c77718;
  --accent-rgb: 240, 162, 58;
  --canvas: #181818;
  --canvas-elevated: #303030;
  --ink: #ffffff;
  --body: #969696;
  --muted: #666666;
  --hairline: #303030;
  --max: 1280px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 0 48px;
  background: rgba(24, 24, 24, 0.76);
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}
.brand, .nav-links, .header-actions, .language-switcher { display: flex; align-items: center; }
.brand {
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.65px;
  text-transform: uppercase;
}
.brand-mark {
  width: 28px;
  height: 32px;
  display: grid;
  place-items: center;
  background: var(--rosso);
  color: #161616;
  font-weight: 800;
}
.nav-links { gap: 32px; justify-content: center; }
.nav-links a, .lang-button {
  color: currentColor;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.65px;
  text-transform: uppercase;
}
.nav-links a {
  max-width: 150px;
  overflow-wrap: anywhere;
  text-align: center;
}
.nav-links a { opacity: 0.86; }
.header-actions { justify-content: flex-end; gap: 18px; }
.header-quote {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}
.header-quote:hover {
  color: #161616;
  border-color: var(--rosso);
  background: var(--rosso);
}
.language-switcher { height: 32px; border: 1px solid currentColor; }
.lang-button, .icon-button { border: 0; background: transparent; color: currentColor; cursor: pointer; }
.lang-button { min-width: 38px; height: 30px; opacity: 0.62; }
.lang-button.is-active {
  background: var(--rosso);
  color: #161616;
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #181818;
}
.hero-image, .hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-image {
  object-fit: cover;
  object-position: var(--hero-x, center) calc(50% + var(--hero-y-offset, 0px));
  transform: scale(1.02);
  transform-origin: center;
  animation: heroDrift 18s ease-in-out infinite alternate;
  filter: brightness(1.16) contrast(1.05) saturate(1.05);
}
.hero-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.16) 58%, rgba(0, 0, 0, 0.18)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(24, 24, 24, 0.62));
}
.hero-chat {
  position: relative;
  z-index: 0;
  width: 100%;
  height: clamp(457px, 37.3vw, 530px);
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: clamp(10px, 1.1vw, 14px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    radial-gradient(circle at 18% 0%, rgba(var(--accent-rgb), 0.16), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012)),
    rgba(18, 18, 18, 0.86);
  backdrop-filter: blur(20px);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.08), 0 28px 80px rgba(0, 0, 0, 0.38);
  transform: translateY(0);
  animation: chatFloat 14s ease-in-out infinite;
}
.chat-header {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.chat-header div {
  min-width: 0;
}
.chat-header small {
  display: block;
  margin-bottom: 1px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}
.chat-header strong {
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.chat-header span {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.46);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.chat-body {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  gap: 5px;
  align-content: start;
  overflow: hidden;
  scroll-behavior: smooth;
  padding: 8px 2px 10px 0;
}
.chat-body.has-overflow {
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 24px), transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 24px), transparent 100%);
}
.chat-message {
  display: none;
  max-width: min(84%, 460px);
  padding: 6px 8px 7px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 520ms ease, transform 520ms ease;
}
.hero-chat.is-running .user-message,
.chat-message.is-visible {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.chat-message.is-pop {
  animation: messagePop 460ms cubic-bezier(0.18, 0.82, 0.28, 1) both;
}
.chat-message > span,
.tool-call small {
  display: block;
  margin-bottom: 2px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}
.chat-message p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  line-height: 1.24;
}
.user-message {
  justify-self: end;
  background:
    linear-gradient(135deg, rgba(110, 136, 164, 0.22), rgba(255, 255, 255, 0.055)),
    rgba(34, 38, 42, 0.84);
  border-color: rgba(150, 174, 198, 0.26);
}
.assistant-message {
  justify-self: start;
  background:
    linear-gradient(90deg, rgba(var(--accent-rgb), 0.18), rgba(255, 255, 255, 0.04)),
    rgba(38, 31, 22, 0.82);
  border-color: rgba(var(--accent-rgb), 0.3);
}
.final-message {
  background:
    linear-gradient(90deg, rgba(210, 218, 222, 0.12), rgba(var(--accent-rgb), 0.08)),
    rgba(30, 32, 32, 0.88);
  border-color: rgba(255, 255, 255, 0.16);
}
.typing-caret {
  width: 1px;
  height: 1.1em;
  display: inline-block;
  margin-left: 2px;
  vertical-align: -0.16em;
  background: rgba(255, 255, 255, 0.86);
  animation: caretBlink 900ms steps(1) infinite;
}
.chat-message.is-typed .typing-caret {
  display: none;
}
.chat-message.is-streaming p::after {
  content: "";
  width: 1px;
  height: 1.05em;
  display: inline-block;
  margin-left: 3px;
  vertical-align: -0.14em;
  background: rgba(255, 255, 255, 0.78);
  animation: caretBlink 900ms steps(1) infinite;
}
.chat-thinking {
  display: none;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 5px 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 360ms ease, transform 360ms ease;
}
.chat-thinking.is-visible {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}
.chat-thinking span:first-child {
  width: 32px;
  height: 1px;
  display: inline-block;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
}
.chat-thinking span:first-child::before {
  content: "";
  width: 14px;
  height: 1px;
  display: block;
  background: var(--rosso);
  animation: thinkingScan 950ms ease-in-out infinite;
}
.tool-stack {
  display: grid;
  gap: 5px;
  margin-top: 0;
}
.tool-call {
  --tool-duration: 2200ms;
  display: none;
  gap: 3px;
  padding: 5px 7px;
  background:
    linear-gradient(90deg, rgba(109, 128, 124, 0.12), transparent 48%),
    rgba(7, 9, 10, 0.46);
  border: 1px solid rgba(180, 199, 190, 0.12);
  border-left-color: rgba(var(--accent-rgb), 0.48);
  border-radius: 4px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 460ms ease, transform 460ms ease, border-color 460ms ease, background 460ms ease;
}
.tool-call.is-visible {
  display: grid;
  opacity: 1;
  transform: translateY(0);
}
.tool-call.is-active {
  border-color: rgba(var(--accent-rgb), 0.36);
  border-left-color: var(--rosso);
  background:
    linear-gradient(100deg, rgba(var(--accent-rgb), 0.16), transparent 54%),
    rgba(10, 11, 11, 0.54);
}
.tool-call.is-complete {
  border-color: rgba(180, 199, 190, 0.16);
  border-left-color: rgba(var(--accent-rgb), 0.58);
}
.tool-meta,
.tool-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  min-width: 0;
}
.tool-meta > div {
  min-width: 0;
}
.tool-meta code {
  display: block;
  min-width: 0;
  color: rgba(255, 255, 255, 0.78);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
.tool-state {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.46);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  transition: color 300ms ease;
}
.tool-call.is-active .tool-state {
  color: #ffffff;
}
.tool-call.is-complete .tool-state {
  color: rgba(255, 255, 255, 0.72);
}
.tool-call p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 11px;
  line-height: 1.14;
}
.tool-result {
  padding-top: 2px;
  border-top: 0;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 420ms ease, transform 420ms ease;
}
.tool-call.is-complete .tool-result {
  opacity: 1;
  transform: translateY(0);
}
.tool-result span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}
.tool-call strong {
  color: #ffffff;
  font-size: 10.5px;
  line-height: 1.15;
  text-align: right;
}
.tool-progress {
  height: 2px;
  display: block;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}
.tool-progress b {
  width: 0;
  height: 100%;
  display: block;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.34), var(--rosso));
  transition: width var(--tool-duration) cubic-bezier(0.2, 0.74, 0.24, 1);
}
.tool-call.is-active .tool-progress b,
.tool-call.is-complete .tool-progress b {
  width: 100%;
}
.hero-content {
  position: relative;
  z-index: 3;
  width: min(760px, calc(100% - 48px));
  margin: 0 0 88px 48px;
  color: #ffffff;
  animation: contentRise 900ms ease-out both;
}
.eyebrow, .section-kicker {
  margin: 0 0 16px;
  color: currentColor;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.1px;
  line-height: 1.4;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(38px, 5.4vw, 66px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.05;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.hero-copy {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border: 1px solid currentColor;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.4px;
  line-height: 1;
  text-transform: uppercase;
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
}
.button-primary { border-color: var(--rosso); background: var(--rosso); color: #161616; }
.button-primary:active { background: var(--rosso-active); border-color: var(--rosso-active); }
.button-outline { background: transparent; color: currentColor; }
.button {
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}
.button::after {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.28) 45%, transparent 62%);
  transform: translateX(-120%);
  transition: transform 500ms ease;
}
.button:hover {
  transform: translateY(-2px);
}
.button:hover::after {
  transform: translateX(120%);
}

.intro-band, .social-proof, .agent-section, .method-section, .outcomes-section, .case-study-section, .contact-section { padding: 72px 48px; }
.intro-grid, .social-proof-inner, .section-heading, .agent-grid, .timeline, .outcomes-section, .case-study-card, .site-footer {
  width: min(var(--max), 100%);
  margin: 0 auto;
}
.social-proof {
  padding-top: 46px;
  padding-bottom: 46px;
  background:
    linear-gradient(180deg, rgba(24, 24, 24, 0.94), rgba(24, 24, 24, 1)),
    radial-gradient(circle at 78% 0%, rgba(var(--accent-rgb), 0.12), transparent 32%);
  border-bottom: 1px solid var(--hairline);
}
.social-proof-inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.social-proof-copy h2 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 500;
  line-height: 1.08;
  text-wrap: balance;
}
.social-proof-copy p:last-child {
  max-width: 500px;
  margin: 16px 0 0;
  color: var(--body);
  font-size: 13px;
}
.logo-cloud {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}
.logo-cloud a {
  min-height: 74px;
  display: grid;
  place-items: center;
  gap: 4px;
  padding: 14px 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.01);
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}
.logo-cloud span {
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(12px, 1.1vw, 15px);
  font-weight: 800;
  letter-spacing: 0;
  text-align: center;
  overflow-wrap: anywhere;
}
.logo-cloud small {
  color: rgba(var(--accent-rgb), 0.72);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}
.logo-cloud a:hover {
  color: #ffffff;
  border-color: rgba(var(--accent-rgb), 0.28);
  background: rgba(var(--accent-rgb), 0.08);
}
.logo-cloud a:hover span {
  color: #ffffff;
}
.intro-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}
.intro-copy-block {
  display: grid;
  grid-template-columns: minmax(110px, 0.35fr) minmax(0, 1fr);
  gap: 22px 42px;
  align-items: start;
}
.intro-copy-block .section-kicker {
  grid-row: 1 / span 3;
}
.intro-copy-block h2 {
  max-width: 560px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.08;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.intro-copy-text {
  display: grid;
  gap: 13px;
  max-width: 500px;
}
.intro-copy-text p {
  margin: 0;
  color: var(--body);
  font-size: 13px;
  line-height: 1.55;
}
.intro-proof-list {
  display: grid;
  gap: 0;
  margin-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.intro-proof-list p {
  min-height: 36px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.intro-grid h2, .section-heading h2, .red-band h2, .outcomes-copy h2, .contact-section h2 {
  margin: 0;
  font-size: clamp(30px, 4.4vw, 56px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.1;
}
.intro-grid .intro-copy-block h2 {
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.08;
}
.timeline-row p, .agent-card p, .outcomes-copy { color: var(--body); }
.testimonial-section {
  overflow: hidden;
  padding: 34px 0 66px;
  background:
    radial-gradient(circle at 10% 20%, rgba(var(--accent-rgb), 0.1), transparent 26%),
    rgba(24, 24, 24, 1);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.testimonial-heading {
  width: min(var(--max), calc(100% - 96px));
  margin: 0 auto 26px;
  display: grid;
  grid-template-columns: minmax(150px, 0.42fr) minmax(0, 0.58fr);
  gap: 40px;
  align-items: end;
}
.testimonial-heading h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.08;
  text-wrap: balance;
}
.testimonial-marquee {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: testimonialMarquee 54s linear infinite;
}
.testimonial-marquee:hover {
  animation-play-state: paused;
}
.testimonial-track {
  display: flex;
  gap: 14px;
  min-width: max-content;
}
.testimonial-card {
  width: clamp(280px, 28vw, 380px);
  min-height: 250px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.014)),
    rgba(22, 22, 22, 0.94);
}
.testimonial-card img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(var(--accent-rgb), 0.38);
}
.testimonial-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.5;
}
.testimonial-card div {
  display: grid;
  gap: 3px;
}
.testimonial-card strong {
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.testimonial-card span {
  color: var(--body);
  font-size: 12px;
}
.section-heading {
  display: grid;
  grid-template-columns: 0.74fr 1.26fr;
  gap: 48px;
  margin-bottom: 36px;
}
.agent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.agent-card {
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  grid-template-areas:
    "number title"
    "number tag"
    "number copy"
    "number list";
  gap: 8px 22px;
  padding: clamp(18px, 2vw, 24px);
  border: 1px solid var(--hairline);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(24, 24, 24, 0.92);
  overflow: hidden;
  transition: transform 220ms ease, background-color 220ms ease, border-color 220ms ease;
}
.agent-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--rosso), rgba(var(--accent-rgb), 0.12));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 280ms ease;
}
.agent-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(var(--accent-rgb), 0.14), transparent 28%);
  opacity: 0;
  transition: opacity 220ms ease;
}
.agent-card:hover {
  transform: translateY(-5px);
  background: color-mix(in srgb, var(--canvas-elevated) 72%, var(--canvas));
  border-color: rgba(var(--accent-rgb), 0.26);
}
.agent-card:hover::before {
  transform: scaleY(1);
}
.agent-card:hover::after {
  opacity: 1;
}
.agent-card > * {
  position: relative;
  z-index: 1;
}
.agent-number {
  grid-area: number;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--rosso);
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  background: rgba(var(--accent-rgb), 0.06);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.6px;
  line-height: 1;
}
.agent-card h3 {
  grid-area: title;
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}
.agent-card > strong {
  grid-area: tag;
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.agent-card p, .timeline-row p { margin: 0; }
.agent-card p {
  grid-area: copy;
  max-width: 620px;
  font-size: 13px;
}
.agent-card ul {
  grid-area: list;
  display: grid;
  gap: 0;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.agent-card li {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.78);
  font-size: 12.5px;
  line-height: 1.35;
}
.agent-card li::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  background: var(--rosso);
}
.timeline-row h3 { margin: 0 0 12px; font-size: 18px; line-height: 1.2; }
.red-band { padding: 96px 48px; background: linear-gradient(135deg, #f0a23a, #c77718); color: #161616; }
.red-band {
  position: relative;
  overflow: hidden;
}
.red-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, transparent 0 24px, rgba(255, 255, 255, 0.08) 24px 25px);
  opacity: 0.4;
  transform: translateX(-32px);
  animation: stripeMove 12s linear infinite;
}
.red-band > div { width: min(980px, 100%); margin: 0 auto; }
.red-band > div {
  position: relative;
  z-index: 1;
}
.timeline { border-top: 1px solid var(--hairline); }
.timeline-row {
  display: grid;
  grid-template-columns: 96px 1fr 1.4fr;
  gap: 32px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--hairline);
}
.timeline-row span { color: var(--rosso); font-weight: 800; letter-spacing: 1.1px; }
.outcomes-section {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: end;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--hairline);
  border-left: 1px solid var(--hairline);
}
.metric {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.metric strong { color: var(--rosso); font-size: clamp(48px, 6vw, 80px); line-height: 1; }
.metric strong::after {
  content: attr(data-suffix);
}
.metric span {
  margin-top: 12px;
  color: var(--body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}
.case-study-section { padding-top: 20px; }
.case-study-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: stretch;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 0% 0%, rgba(var(--accent-rgb), 0.13), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)),
    rgba(22, 22, 22, 0.96);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}
.case-study-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}
.case-study-copy h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.08;
  text-wrap: balance;
}
.case-study-copy blockquote {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.55;
}
.case-study-copy div {
  display: grid;
  gap: 3px;
}
.case-study-copy strong {
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.case-study-copy span {
  color: var(--body);
  font-size: 13px;
}
.case-study-metrics {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.case-study-metrics div {
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 128px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.case-study-metrics strong {
  color: var(--rosso);
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.92;
}
.case-study-metrics span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}
.contact-section { text-align: center; }
.contact-section h2 { max-width: 860px; margin: 0 auto 32px; }
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 48px;
  color: var(--body);
  border-top: 1px solid var(--hairline);
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal .agent-card,
.reveal .timeline-row,
.reveal .metric {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms ease;
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal.is-visible .agent-card,
.reveal.is-visible .timeline-row,
.reveal.is-visible .metric {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroDrift {
  from { transform: scale(1.02) translate3d(-0.35%, -0.18%, 0); }
  to { transform: scale(1.045) translate3d(0.45%, 0.28%, 0); }
}
@keyframes contentRise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes stripeMove {
  to { transform: translateX(32px); }
}
@keyframes testimonialMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 7px)); }
}
@keyframes chatFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
@keyframes messagePop {
  0% { opacity: 0; transform: translateY(10px) scale(0.975); }
  64% { opacity: 1; transform: translateY(-1px) scale(1.004); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes caretBlink {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: 0; }
}
@keyframes thinkingScan {
  0% { transform: translateX(-16px); }
  100% { transform: translateX(36px); }
}

:lang(hy) .nav-links { gap: 22px; }
:lang(hy) .nav-links a { font-size: 11px; max-width: 130px; }
:lang(hy) .hero h1 {
  max-width: 660px;
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.12;
}
:lang(hy) .hero-copy { max-width: 600px; font-size: 15px; }
:lang(hy) .button { font-size: 13px; letter-spacing: 1px; }
:lang(hy) .intro-grid .intro-copy-block h2 { font-size: clamp(25px, 2.8vw, 38px); line-height: 1.14; }
:lang(ru) .intro-grid .intro-copy-block h2 { font-size: clamp(26px, 3vw, 40px); line-height: 1.1; }
:lang(ru) .hero h1 {
  font-size: clamp(34px, 4.8vw, 58px);
}

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; padding: 0 24px; }
  .nav-links { display: none; }
  .intro-grid, .social-proof-inner, .intro-copy-block, .section-heading, .testimonial-heading, .outcomes-section, .case-study-card { grid-template-columns: 1fr; }
  .intro-copy-block .section-kicker { grid-row: auto; }
  .intro-copy-text { max-width: 680px; }
  .logo-cloud { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .agent-grid, .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline-row { grid-template-columns: 64px 1fr; }
  .timeline-row p { grid-column: 2; }
}
@media (max-width: 640px) {
  .site-header { height: auto; min-height: 70px; align-items: start; padding: 16px; }
  .brand { padding-top: 3px; }
  .brand span:last-child { display: none; }
  .header-actions { gap: 8px; }
  .header-quote { display: none; }
  .language-switcher { height: 30px; }
  .lang-button { min-width: 34px; height: 28px; }
  .icon-button { width: 34px; height: 34px; }
  .hero { min-height: 100svh; padding-top: 78px; }
  .hero-image {
    --hero-x: 70%;
    --hero-y-offset: 0px;
    transform: scale(1.01);
    animation: none;
  }
  .hero-content { width: calc(100% - 32px); margin: 0 16px 64px; }
  .hero h1 { font-size: clamp(32px, 9.2vw, 40px); line-height: 1.08; }
  :lang(hy) .hero h1 { font-size: clamp(27px, 7.4vw, 32px); line-height: 1.16; }
  :lang(ru) .hero h1 { font-size: clamp(28px, 7.8vw, 34px); }
  .hero-copy { font-size: 14px; }
  .button { width: 100%; padding-left: 18px; padding-right: 18px; text-align: center; }
  .intro-band, .social-proof, .agent-section, .method-section, .outcomes-section, .case-study-section, .contact-section, .red-band { padding: 52px 16px; }
  .social-proof { padding-top: 40px; padding-bottom: 40px; }
  .testimonial-section { padding: 38px 0 52px; }
  .testimonial-heading { width: calc(100% - 32px); gap: 8px; margin-bottom: 22px; }
  .logo-cloud { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-cloud a { min-height: 62px; }
  .intro-grid { gap: 40px; }
  .hero-chat { height: min(546px, 74svh); padding: 9px; }
  .chat-message { max-width: 100%; }
  .tool-call { grid-template-columns: 1fr; gap: 4px; }
  .tool-state, .tool-call strong { text-align: right; }
  .agent-grid, .metric-grid { grid-template-columns: 1fr; }
  .agent-card { grid-template-columns: 1fr; grid-template-areas: "number" "title" "tag" "copy" "list"; }
  .timeline-row { grid-template-columns: 1fr; gap: 8px; }
  .timeline-row p { grid-column: auto; }
  .case-study-card { padding: 22px; }
  .case-study-metrics div { min-height: 108px; }
  .site-footer { flex-direction: column; padding: 32px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
  .reveal,
  .reveal .agent-card,
  .reveal .timeline-row,
  .reveal .metric {
    opacity: 1;
    transform: none;
  }
  .testimonial-marquee {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    animation: none;
    padding: 0 16px 8px;
  }
  .testimonial-marquee::-webkit-scrollbar {
    display: none;
  }
  .testimonial-track[aria-hidden="true"] {
    display: none;
  }
}
