/* src/client/pages/Home.css */
.home {
  display: flex;
  flex-direction: column;
  font-family: Plus Jakarta Sans, -apple-system, sans-serif;
}

.hero {
  position: relative;
  display: flex;
  margin-top: calc(-1 * var(--header-height));
  padding: calc(3rem + var(--header-height)) var(--page-padding-x) 3rem;
  overflow: hidden;
  background: radial-gradient(120% 100% at 0 0, #262626 0%, #131313 50%, #0a0a0a 75%, #000 100%), #000;
  flex-direction: column;
  align-items:  center;
  gap: 3.5rem;
}

.hero-inner {
  display: flex;
  text-align: center;
  flex-direction: column;
  align-items:  center;
  gap: 2rem;
  width: 100%;
  max-width: 960px;
  padding: 1rem 0;
}

.hero-title {
  letter-spacing: -.026em;
  color: #ffffffd9;
  margin: 0;
  font-family: Plus Jakarta Sans, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.16;
}

.hero-title-accent {
  background: radial-gradient(#ffaa69 0%, #ff9440 35%, #fe892c 55%, #fe7e17 80%, #fe6b17 100%);
  -webkit-text-fill-color: transparent;
  color: #0000;
  -webkit-background-clip: text;
  background-clip: text;
  font-weight: 700;
}

.hero-statements {
  display: flex;
  flex-direction: column;
  align-items:  center;
  gap: 2rem;
  width: 100%;
  max-width: 600px;
}

.hero-statement-stack {
  display: grid;
  width: 100%;
}

.hero-statement {
  grid-area: 1 / 1;
  color: #ffffffe6;
  opacity: 0;
  pointer-events: none;
  margin: 0;
  transition: opacity .5s cubic-bezier(.22,1,.36,1), transform .5s cubic-bezier(.22,1,.36,1);
  font-family: Plus Jakarta Sans, sans-serif;
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 400;
  line-height: 2rem;
  transform: translateY(8px);
}

.hero-statement.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .hero-statement {
    transition: none;
    transform: none;
  }
}

.hero-dots {
  display: flex;
  align-items:  center;
  gap: 8px;
}

.hero-dot {
  appearance: none;
  cursor: pointer;
  background: #fff3;
  border: none;
  border-radius: 99px;
  width: 8px;
  height: 8px;
  padding: 0;
  transition: background .16s, width .16s;
}

.hero-dot:hover:not(.is-active) {
  background: #fff6;
}

.hero-dot:focus-visible {
  outline: 2px solid var(--brand-orange);
  outline-offset: 2px;
}

.hero-dot.is-active {
  background: #fff;
  width: 16px;
}

.hero-sub {
  color: #fffc;
  margin: 0;
  font-family: Plus Jakarta Sans, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 2rem;
}

@media (width >= 1024px) {
  .hero {
    padding: calc(4.5rem + var(--header-height)) 64px 3rem;
    gap: 4rem;
  }

  .hero-title {
    font-size: 3rem;
    line-height: 4rem;
  }
}

.trust {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 1248px;
  margin: 1rem auto 0;
}

.trust-eyebrow {
  text-align: center;
  color: #fff9;
  margin: 0;
  font-family: Plus Jakarta Sans, sans-serif;
  font-size: .75rem;
  font-weight: 500;
  line-height: 2.25rem;
}

.trust-logos {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items:  center;
  gap: 24px;
  margin: 0 auto;
  padding: 0;
}

.trust-logo {
  display: flex;
  flex: 0 0 calc(25% - 18px);
  justify-content: center;
  align-items:  center;
  height: 80px;
}

@media (width >= 1000px) {
  .trust-logo {
    flex: 0 0 calc(16.6667% - 20px);
  }
}

.trust-logo-img {
  display: block;
  object-fit: contain;
  opacity: .66;
  filter: brightness(0) invert(1);
  max-width: 100%;
  height: auto;
  max-height: 80%;
}

.workflows {
  background: radial-gradient(circle at top, #ffffff0f 0%, #fff0 60%), #000;
  padding: 6rem 0 4rem;
}

.workflows-title {
  padding: 0 var(--page-padding-x);
  text-align: center;
  color: #fffc;
  max-width: 1312px;
  margin: 0 auto 4rem;
  font-family: Plus Jakarta Sans, sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 1.75rem);
  font-weight: 600;
  line-height: 2.5rem;
}

.workflows-title-accent {
  background: linear-gradient(90deg, #ffaa69 0%, #ff9440 30%, #fe892c 50%, #fe7e17 70%, #fe6b17 100%);
  -webkit-text-fill-color: transparent;
  color: #0000;
  -webkit-background-clip: text;
  background-clip: text;
}

.workflows-scroller {
  display: grid;
  grid-template-columns: 1fr;
  padding: 0 var(--page-padding-x);
  gap: 1.5rem;
  max-width: 1312px;
  margin: 0 auto;
}

@media (width >= 640px) {
  .workflows-scroller {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (width >= 1024px) {
  .workflows-scroller {
    grid-template-columns: repeat(3, 1fr);
    padding: 0 64px;
  }
}

.card {
  display: grid;
  grid-template-rows: 1fr auto;
  background: radial-gradient(120% 100% at 30% 100%, #ffffff0d 0%, #fff0 60%), #1a1a1a80;
  border-radius: 20px;
  gap: 1.5rem;
  height: 286px;
  padding: 40px 32px;
}

.card-title {
  letter-spacing: -.025em;
  color: #fff;
  align-self:  end;
  margin: 0;
  font-family: Plus Jakarta Sans, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.15;
}

.card-body {
  letter-spacing: -.025em;
  color: #fffc;
  margin: 0;
  font-family: Plus Jakarta Sans, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

.closing {
  padding: 3rem var(--page-padding-x);
  background: #000;
}

.closing-card {
  display: flex;
  background: #1a1a1a;
  border-radius: 32px;
  flex-direction: column;
  justify-content: center;
  align-items:  center;
  gap: 2rem;
  max-width: 1312px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.closing-copy {
  display: flex;
  text-align: center;
  flex-direction: column;
  align-items:  center;
  gap: 1.25rem;
  max-width: 720px;
}

.closing-title {
  letter-spacing: -.026em;
  color: #fff;
  margin: 0;
  font-family: Plus Jakarta Sans, sans-serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.15;
}

.closing-sub {
  color: #fffc;
  max-width: 800px;
  margin: 0;
  font-family: Plus Jakarta Sans, sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 2rem;
}

.closing-cta {
  display: inline-flex;
  color: #000;
  letter-spacing: -.02em;
  text-decoration: none;
  background: #fff;
  border-radius: 9999px;
  justify-content: center;
  align-items:  center;
  height: 48px;
  padding: 12px 24px;
  transition: background .12s, transform .12s;
  font-family: Inter, Plus Jakarta Sans, sans-serif;
  font-size: 1rem;
  font-weight: 500;
}

.closing-cta:hover {
  background: #f4f4f4;
}

.closing-cta:active {
  transform: translateY(1px);
}
