/*
  Home page sections: AI demo, 30-day timeline, CTA band.
  Structural only; colors and type come from tokens.css.
*/

/* Services: six pillars, shown inside the ink band on home */
.svc-grid {
  list-style: none;
  padding: 0;
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 48px;
}

.svc {
  border-top: 1px solid var(--edge);
  padding-top: 18px;
}

.band-ink .svc {
  border-top-color: var(--band-edge);
}

.svc h3 {
  font-size: 1.3rem;
  font-weight: 600;
}

.svc p {
  color: var(--text-2);
  font-size: 0.95rem;
  margin-top: 8px;
}

.band-ink .svc p {
  color: var(--band-muted);
}

.svc .tag {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-2);
}

.band-ink .svc .tag {
  color: var(--brass-on-ink);
}

.band-link,
.ai-link {
  margin-top: 28px;
}

.band-link a,
.ai-link a {
  color: inherit;
  font-weight: 600;
}

.band-ink .band-link a {
  color: var(--brass-on-ink);
}

.ai-link a {
  color: var(--accent);
}

.ai-tools {
  margin-top: 40px;
}

.demo-inline {
  margin-top: 32px;
}

.guide-teaser {
  max-width: none;
}

.guide-teaser-link {
  margin-top: 18px;
}

/* AI demo */
.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 44px;
}

.demo-card {
  background: var(--surface-1);
  border: 1px solid var(--edge);
  border-radius: var(--radius-m);
  padding: 32px;
}

.demo-card-phone {
  background: var(--tint-bg);
  border-color: var(--tint-edge);
}

.demo-card h3 {
  font-size: 1.35rem;
  font-weight: 600;
}

.demo-card p {
  color: var(--text-2);
  font-size: 0.98rem;
  margin-top: 10px;
  max-width: 46ch;
}

.demo-card .btn {
  margin-top: 22px;
}

.demo-placeholder {
  display: inline-block;
  margin-top: 22px;
  padding: 10px 14px;
  border: 1px dashed var(--edge);
  border-radius: var(--radius-s);
  color: var(--text-2);
  font-size: 0.88rem;
}

/* 30-day timeline */
.timeline-list {
  list-style: none;
  padding: 0;
  margin-top: 44px;
  display: grid;
  gap: 0;
  max-width: 720px;
}

.timeline-list li {
  position: relative;
  padding: 0 0 36px 34px;
  border-left: 2px solid var(--edge);
}

.timeline-list li:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.timeline-list li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--surface-0);
  border: 2px solid var(--accent);
}

.timeline-list h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

.timeline-list p {
  color: var(--text-2);
  font-size: 0.95rem;
  margin-top: 6px;
  max-width: 56ch;
}

/* CTA band: lives inside a clay tint band */
.cta-band {
  text-align: center;
}

.cta-band h2,
.cta-band .section-sub {
  margin-inline: auto;
}

.cta-band .hero-ctas {
  justify-content: center;
  margin-top: 30px;
}

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

  .svc-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Home: "One team, the whole engine" on the page background. Each service
   is a light card with a green top edge that links to its section on
   /services; on hover (or keyboard focus) it turns solid green. */
.services-feature .section-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 12px;
}

.services-feature .svc-grid {
  gap: 18px;
}

.services-feature .svc {
  border-top: 0;
  padding-top: 0;
}

.svc-card {
  display: block;
  height: 100%;
  padding: 22px 22px 20px;
  background: var(--surface-0);
  border: 1px solid var(--edge);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-1);
  color: var(--text-1);
  text-decoration: none;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.svc-card p,
.svc-card .tag {
  transition: color 0.25s var(--ease);
}

.svc-card .tag::after {
  content: " \2192";
}

.svc-card:focus-visible {
  outline-offset: 3px;
}

@media (hover: hover) {
  .svc-card:hover {
    background: var(--band-bg);
    border-color: var(--band-bg);
    color: var(--band-text);
    box-shadow: var(--shadow-2);
    transform: translateY(-2px);
  }

  .svc-card:hover p {
    color: var(--band-muted);
  }

  .svc-card:hover .tag {
    color: var(--brass-on-ink);
  }
}

.svc-card:focus-visible {
  background: var(--band-bg);
  border-color: var(--band-bg);
  color: var(--band-text);
}

.svc-card:focus-visible p {
  color: var(--band-muted);
}

.svc-card:focus-visible .tag {
  color: var(--brass-on-ink);
}

@media (prefers-reduced-motion: reduce) {
  .svc-card,
  .svc-card:hover {
    transition: none;
    transform: none;
  }
}
