/* Modern product-led home page. Kept separate from tool styles. */
.site-home {
  --home-ink: #101828;
  --home-muted: #596579;
  --home-line: #d9e0ea;
  --home-blue: #245be7;
  --home-blue-dark: #1646c5;
  --home-green: #16845b;
  --home-surface: #ffffff;
  background: #f5f7fa;
  color: var(--home-ink);
}

.site-home .home-shell {
  width: min(1500px, calc(100% - 48px));
  padding: 54px 0 64px;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(430px, 0.82fr) minmax(560px, 1.18fr);
  align-items: center;
  gap: clamp(42px, 6vw, 96px);
  min-height: min(650px, calc(100vh - 150px));
  padding: 24px 0 48px;
}

.home-hero-copy {
  max-width: 680px;
}

.home-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 21px;
  color: var(--home-blue);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-kicker::before {
  width: 26px;
  height: 2px;
  background: var(--home-blue);
  content: "";
}

.home-hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--home-ink);
  font-family: "Segoe UI Variable Display", "Aptos Display", "Segoe UI", Arial, sans-serif;
  font-size: clamp(3.15rem, 4.7vw, 5.5rem);
  font-weight: 760;
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

.home-lede {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--home-muted);
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.62;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.home-action {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--home-line);
  border-radius: 7px;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.home-action:hover {
  transform: translateY(-1px);
}

.home-action.primary {
  border-color: var(--home-blue);
  background: var(--home-blue);
  color: #fff;
}

.home-action.primary:hover {
  border-color: var(--home-blue-dark);
  background: var(--home-blue-dark);
}

.home-action.secondary {
  background: #fff;
  color: var(--home-ink);
}

.home-action.secondary:hover {
  border-color: #aab7c9;
  background: #f9fafc;
}

.home-hero-note {
  margin: 16px 0 0;
  color: #768196;
  font-size: 0.82rem;
  font-weight: 650;
}

.home-product-visual {
  min-width: 0;
  margin: 0;
  border: 1px solid #ccd5e2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(34, 51, 84, 0.14);
  overflow: hidden;
}

.home-product-toolbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border-bottom: 1px solid #e0e5ed;
  color: #364152;
  font-size: 0.78rem;
  font-weight: 780;
}

.home-product-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--home-blue);
  box-shadow: 14px 0 0 #36a276, 28px 0 0 #f0b44a;
  margin-right: 28px;
}

.home-product-live {
  padding: 4px 8px;
  border-radius: 999px;
  background: #eaf8f1;
  color: #12714b;
  font-size: 0.7rem;
}

.home-product-frame {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eef1f5;
}

.home-product-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

.home-product-visual figcaption {
  padding: 12px 15px 14px;
  color: #6b7588;
  font-size: 0.78rem;
}

.home-value-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--home-line);
}

.home-value-strip article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  min-width: 0;
  padding: 30px clamp(20px, 3vw, 44px);
}

.home-value-strip article + article {
  border-left: 1px solid var(--home-line);
}

.home-value-strip article > span {
  color: var(--home-blue);
  font-size: 0.75rem;
  font-weight: 900;
}

.home-value-strip h2 {
  margin: 0 0 7px;
  color: var(--home-ink);
  font-size: 1.05rem;
  line-height: 1.25;
}

.home-value-strip p {
  margin: 0;
  color: var(--home-muted);
  font-size: 0.9rem;
  line-height: 1.52;
}

.site-home .home-modules {
  margin: 0;
  padding: 96px 0 76px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.site-home .home-modules .module-hub-head {
  display: flex;
  align-items: end;
  margin-bottom: 30px;
}

.site-home .home-modules .module-hub-head h2 {
  max-width: 720px;
  margin-top: 8px;
  color: var(--home-ink);
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.02;
}

.site-home .home-modules .module-hub-head > p {
  display: block;
  max-width: 520px;
  color: var(--home-muted);
  line-height: 1.55;
}

.site-home .module-grid {
  gap: 16px;
}

.site-home .module-card {
  min-height: 320px;
  padding: 24px;
  border-color: var(--home-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.site-home .module-card:hover {
  border-color: #aebbd0;
  box-shadow: 0 18px 40px rgba(34, 51, 84, 0.09);
  transform: translateY(-2px);
}

.site-home .module-card.planned {
  filter: none;
  background: #eef1f5;
}

.site-home .module-icon {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  filter: none;
}

.site-home .module-card h3 {
  margin-top: 12px;
  font-size: 1.35rem;
}

.site-home .module-card p {
  font-size: 0.95rem;
  line-height: 1.58;
}

.site-home .module-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  margin-top: auto;
  color: var(--home-blue);
  text-decoration: none;
}

.site-home .module-link::after {
  margin-left: 8px;
  content: "→";
}

.site-home .module-link.disabled::after {
  content: "";
}

.site-home .module-status {
  border-radius: 5px;
}

.site-home .seo-entry.home-planner-entry {
  margin: 0;
  padding: 38px 0;
  border: 0;
  border-block: 1px solid var(--home-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.site-home .home-planner-entry h2 {
  font-size: clamp(1.7rem, 3vw, 2.8rem);
}

.site-home .home-pricing-band {
  margin-top: 74px;
  padding: 50px clamp(26px, 5vw, 70px);
  border: 1px solid #cfd8e6;
  border-radius: 8px;
  background: #edf3ff;
}

.site-home .home-pricing-band h2 {
  max-width: 780px;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.08;
}

@media (max-width: 1100px) {
  .home-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 30px;
  }

  .home-hero-copy {
    max-width: 850px;
  }

  .home-product-visual {
    width: 100%;
  }
}

@media (max-width: 820px) {
  .site-home .home-shell {
    width: calc(100% - 24px);
    padding-top: 28px;
  }

  .home-hero {
    gap: 34px;
    padding: 18px 0 48px;
  }

  .home-hero h1 {
    font-size: clamp(2.65rem, 13vw, 4.2rem);
  }

  .home-value-strip {
    grid-template-columns: 1fr;
  }

  .home-value-strip article + article {
    border-top: 1px solid var(--home-line);
    border-left: 0;
  }

  .site-home .home-modules {
    padding: 64px 0 52px;
  }

  .site-home .home-modules .module-hub-head,
  .site-home .seo-entry.home-planner-entry,
  .site-home .home-pricing-band {
    display: grid;
    align-items: start;
  }

  .site-home .module-card {
    min-height: 270px;
  }

  .site-home .home-commercial-actions,
  .home-hero-actions {
    width: 100%;
  }

  .home-action,
  .site-home .home-commercial-actions a {
    flex: 1 1 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-action,
  .site-home .module-card {
    transition: none;
  }
}
