/* Allveltro — hero with the product mock-up, and the facts strip. */

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 9vw, 112px) clamp(64px, 9vw, 120px);
}
.hero-arch {
  position: absolute;
  z-index: -1;
  right: -6%;
  top: 4%;
  width: min(62vw, 820px);
  height: auto;
  color: var(--bone);
  opacity: 0.06;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
}
.hero-copy {
  display: grid;
  gap: 26px;
  justify-items: start;
}
.hero-copy .lead {
  max-width: 560px;
}
.hero-copy .actions {
  margin-top: 8px;
}
.hero-visual {
  position: relative;
  padding: 0 0 56px 0;
}
/* Mock ticket — an illustration of the product, invented data only */
.mock-ticket {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: var(--radius-l);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--raised) 0%, var(--surface) 100%);
  box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.65), 0 0 0 1px rgb(0 0 0 / 0.25);
}
.mock-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.mock-key {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.8125rem;
  color: var(--muted);
  margin-right: auto;
}
.mock-title {
  font-family: var(--font-display);
  font-size: 1.3125rem;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.mock-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  font-size: 0.875rem;
}
.mock-meta dt {
  color: var(--muted);
}
.mock-sla {
  display: grid;
  gap: 8px;
  font-size: 0.8438rem;
}
.mock-sla-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.mock-sla-label {
  color: var(--status-warn);
  font-weight: 600;
}
.mock-bar {
  height: 6px;
  border-radius: 6px;
  background: rgb(224 222 212 / 0.08);
  overflow: hidden;
}
.mock-bar span {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--status-ok), var(--status-warn));
  transform-origin: left;
  transform: scaleX(0.78);
}
.js .hero .mock-bar span {
  animation: bar-fill 1.6s var(--ease) 0.4s both;
}
@keyframes bar-fill {
  from {
    transform: scaleX(0.05);
  }
}
.mock-ai {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: var(--radius-m);
  background: color-mix(in srgb, var(--accent) 9%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
}
.mock-ai-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
}
.mock-ai p {
  font-size: 0.9375rem;
  line-height: 1.55;
}
/* Floating card overlapping the ticket: adds depth and shows the process engine */
.mock-float {
  position: absolute;
  left: -28px;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-m);
  border: 1px solid var(--line-strong);
  background: var(--ink);
  box-shadow: 0 24px 48px -20px rgb(0 0 0 / 0.7);
  font-size: 0.8438rem;
}
.mock-float-steps {
  display: flex;
  align-items: center;
  gap: 6px;
}
.mock-float-steps span {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--line-strong);
}
.mock-float-steps span.is-done {
  background: var(--stone);
}
.mock-float-steps span.is-llm {
  background: var(--terracotta);
  box-shadow: 0 0 0 4px rgb(208 142 113 / 0.18);
}
/* ---------- Facts strip ---------- */

.facts {
  border-block: 1px solid var(--line);
}
.facts-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.facts-list li {
  display: grid;
  gap: 6px;
  align-content: start;
  padding: clamp(28px, 4vw, 44px) clamp(16px, 2.4vw, 32px);
  border-left: 1px solid var(--line);
}
.facts-list li:first-child {
  border-left: 0;
  padding-left: 0;
}
.fact-value {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.6vw, 3.5rem);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.03em;
}
.fact-value em {
  font-style: normal;
  color: var(--accent);
}
.fact-label {
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--muted);
  max-width: 240px;
}
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: 40px;
  }
  .mock-float {
    left: 12px;
  }
  .facts-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .facts-list li:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }
  .facts-list li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-visual {
    max-width: 620px;
  }
}
@media (max-width: 640px) {
  .hero {
    padding-top: 40px;
  }
  .hero-copy {
    gap: 18px;
  }
  .hero .lead {
    font-size: 1.0312rem;
    line-height: 1.5;
  }
  .hero-visual {
    padding-bottom: 72px;
  }
  .mock-ticket {
    padding: 18px;
  }
  .facts-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .facts-list li,
  .facts-list li:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }
  .facts-list li + li {
    border-top: 1px solid var(--line);
  }
}
@media (max-width: 400px) {
  .mock-sla-hint {
    display: none;
  }
  .mock-key {
    flex-basis: 100%;
  }
}
