/* Shared production reskin for the four primary landing pages. */
.home-landing,
.product-landing {
  color: #111311;
  background: #ffffff;
  letter-spacing: -0.01em;
}

.home-landing {
  --ink: #111311;
  --muted: #626863;
  --line: #d9dcda;
  --soft: #f7f7f6;
  --green: #111311;
}

.product-landing {
  --black: #111311;
  --white: #ffffff;
  --card-border: #d9dcda;
  --control-border: #d9dcda;
  --inner-border: #e3e5e3;
}

.home-landing .site-header,
.product-landing .site-header {
  min-height: 68px;
  padding: 0 max(22px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid #d9dcda;
  background: #ffffff;
  backdrop-filter: blur(16px);
}

.home-landing .site-header {
  width: 100%;
  max-width: none;
}

.home-landing .site-header::after {
  display: none;
}

.home-landing .brand,
.product-landing .brand {
  gap: 10px;
  font-size: 16px;
}

.product-landing .brand-trail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  white-space: nowrap;
}

.product-landing .brand-path {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.product-landing .brand-path a {
  color: #626863;
  font-weight: 700;
  text-decoration: none;
}

.product-landing .brand-path a:hover,
.product-landing .brand-path a:focus-visible,
.product-landing .brand-path [aria-current="page"] {
  color: #111311;
}

.product-landing .brand-path [aria-current="page"] {
  font-weight: 820;
}

.product-landing .brand-separator {
  color: #9da39e;
  font-weight: 500;
}

.product-landing .header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid #111311;
  border-radius: 10px;
  color: #ffffff;
  background: #111311;
  font-size: 13px;
  font-weight: 760;
  text-decoration: none;
  white-space: nowrap;
}

.product-landing .header-action:hover,
.product-landing .header-action:focus-visible {
  background: #303330;
}
.home-landing .brand img,
.product-landing .brand-icon {
  width: 40px;
  height: 40px;
}

.home-landing .nav,
.product-landing .nav {
  gap: 18px;
  color: #626863;
  font-size: 13px;
}

.home-landing .nav a,
.product-landing .nav a {
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

.home-landing .nav a:hover,
.home-landing .nav a:focus-visible,
.product-landing .nav a:hover,
.product-landing .nav a:focus-visible,
.home-landing .nav a[aria-current="page"],
.product-landing .nav a[aria-current="page"] {
  color: #111311;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.home-landing #comet-effect-root {
  opacity: 0.22;
}

.home-landing .hero,
.product-landing .hero {
  width: min(1180px, calc(100% - 44px));
  min-height: 0;
  margin-inline: auto;
  padding: clamp(70px, 9vw, 104px) 0 clamp(54px, 7vw, 76px);
}

.home-landing .hero {
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.72fr);
  gap: clamp(42px, 7vw, 78px);
}

.product-landing .hero {
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: clamp(42px, 7vw, 72px);
}

.home-landing h1,
.product-landing .hero h1 {
  max-width: 820px;
  font-size: clamp(48px, 6.4vw, 72px);
  letter-spacing: -0.055em;
  line-height: 0.99;
}

.home-landing .hero-copy,
.product-landing .lede {
  max-width: 720px;
  color: #626863;
  font-size: 18px;
  line-height: 1.6;
}

.home-landing .eyebrow,
.product-landing .eyebrow {
  color: #626863;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.home-landing .button,
.product-landing .button {
  min-height: 46px;
  padding-inline: 17px;
  border-color: #a5aaa6;
  border-radius: 11px;
  box-shadow: none;
}

.home-landing .button.primary,
.product-landing .button.primary {
  color: #ffffff;
  border-color: #111311;
  background: #111311;
}

.home-landing .button:hover,
.home-landing .button:focus-visible,
.product-landing .button:hover,
.product-landing .button:focus-visible {
  color: #111311;
  border-color: #111311;
  background: #eef0ee;
  box-shadow: none;
  transform: translateY(-2px);
}

.home-landing .button.primary:hover,
.home-landing .button.primary:focus-visible,
.product-landing .button.primary:hover,
.product-landing .button.primary:focus-visible {
  color: #ffffff;
  background: #2c302d;
}

.home-landing .trust-row span,
.product-landing .trust-line span,
.product-landing .chips span {
  border-color: #d9dcda;
  border-radius: 999px;
  color: #4e5551;
  background: #ffffff;
}

.home-landing .trust-row span:hover,
.product-landing .trust-line span:hover,
.product-landing .chips span:hover {
  color: #111311;
  border-color: #a5aaa6;
  background: #f2f3f2;
  box-shadow: none;
}

.home-landing .family-card,
.product-landing .product-panel {
  overflow: hidden;
  border: 1px solid #d9dcda;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 20px 54px rgba(17, 19, 17, 0.08);
}

.home-landing .card-top,
.product-landing .panel-top {
  border-color: #d9dcda;
  background: #f4f5f4;
}

.product-landing .preview-icon {
  width: 118px;
  height: 118px;
}

.home-landing .family-list li,
.product-landing .rule-list div,
.product-landing .tool-family-item,
.product-landing .source-pill,
.product-landing .context-workspace,
.product-landing .context-sources,
.product-landing .context-output {
  border-color: #e0e3e1;
  border-radius: 10px;
}

.home-landing .section,
.product-landing .section {
  border-top-color: #d9dcda;
}

.product-landing .page-section {
  width: min(1180px, calc(100% - 44px));
  margin-inline: auto;
  padding: clamp(56px, 7vw, 78px) 0;
}

.home-landing .section-inner {
  padding-block: clamp(56px, 7vw, 78px);
}

.home-landing .section h2,
.product-landing .section h2 {
  font-size: clamp(34px, 4.2vw, 50px);
  letter-spacing: -0.045em;
}

.home-landing .products {
  display: grid;
  gap: 16px;
  border: 0;
}

.home-landing .product {
  gap: clamp(30px, 5vw, 58px);
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid #d9dcda;
  border-radius: 22px;
  background: #ffffff;
}

.home-landing .product-visual,
.home-landing .tools-preview {
  overflow: hidden;
  border-color: #d9dcda;
  border-radius: 16px;
  background: #f7f7f6;
}

.home-landing .principles,
.product-landing .features,
.product-landing .trust-grid,
.product-landing .limits-grid {
  gap: 12px;
}

.home-landing .principle,
.product-landing .features article,
.product-landing .trust-grid section,
.product-landing .works-row,
.product-landing .limit-card {
  border-color: #d9dcda;
  border-radius: 16px;
  background: #f7f7f6;
}

.home-landing .principle::before,
.product-landing .features article::before,
.product-landing .features article::after,
.product-landing .trust-grid section::before,
.product-landing .trust-grid section::after,
.product-landing .works-row::before,
.product-landing .works-row::after {
  display: none;
}

.product-landing .features:hover article,
.product-landing .trust-grid:hover section {
  opacity: 1;
}

.home-landing .principle:hover,
.home-landing .principle:focus-within,
.product-landing .features article:hover,
.product-landing .features article:focus-within,
.product-landing .trust-grid section:hover,
.product-landing .trust-grid section:focus-within,
.product-landing .works-row:hover,
.product-landing .works-row:focus-within,
.product-landing .limit-card:hover,
.product-landing .limit-card:focus-within {
  border-color: #aeb3af;
  box-shadow: none;
  opacity: 1;
  transform: translateY(-2px);
}

.product-landing .features p,
.product-landing .trust-grid p,
.product-landing .works-row p,
.product-landing .limit-card p {
  color: #626863;
}

.context-pack-landing .features {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.aiblock-landing .trust-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.context-pack-landing .trust-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-landing .note-preview {
  padding: 22px;
  border: 1px solid #d9dcda;
  border-radius: 15px;
  background: #f7f7f6;
}

.product-landing .faq-list {
  border-top-color: #d9dcda;
}

.product-landing .faq-list details {
  border-bottom-color: #d9dcda;
}

.home-landing .site-footer,
.product-landing .site-footer {
  width: 100%;
  max-width: none;
  min-height: 68px;
  margin: 0;
  padding: 0 max(22px, calc((100vw - 1180px) / 2));
  border-top: 1px solid #d9dcda;
  color: #626863;
  background: #ffffff;
  gap: 6px 18px;
  font-size: 13px;
}

.home-landing .site-footer .footer-brand,
.product-landing .site-footer .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: #111311;
  font-size: 16px;
  font-weight: 820;
  white-space: nowrap;
}

.home-landing .site-footer .footer-brand::before,
.product-landing .site-footer .footer-brand::before {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  background: url("/assets/first-step.svg?v=1") center / contain no-repeat;
  content: "";
}

.home-landing .site-footer a,
.product-landing .site-footer a {
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

.home-landing .site-footer a:hover,
.home-landing .site-footer a:focus-visible,
.product-landing .site-footer a:hover,
.product-landing .site-footer a:focus-visible,
.home-landing .site-footer a[aria-current="page"],
.product-landing .site-footer a[aria-current="page"] {
  color: #111311;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.home-landing .site-footer::before {
  display: none;
}

.home-landing .site-footer .heart,
.product-landing .site-footer .heart,
.product-landing .heart {
  color: #df1f2d;
}

@media (max-width: 980px) {
  .home-landing .hero,
  .product-landing .hero {
    grid-template-columns: 1fr;
  }

  .home-landing .family-card,
  .product-landing .product-panel {
    width: min(100%, 600px);
    justify-self: start;
  }

  .product-landing .features,
  .product-landing .trust-grid,
  .product-landing .limits-grid,
  .aiblock-landing .trust-grid,
  .context-pack-landing .features,
  .context-pack-landing .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .product-landing .header-action {
    display: none;
  }

  .product-landing .brand-trail {
    width: 100%;
    margin-right: 0;
  }

  .product-landing .brand-path {
    flex-wrap: wrap;
    white-space: normal;
  }
}

@media (max-width: 700px) {
  .home-landing .site-header,
  .product-landing .site-header {
    position: relative;
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
    padding-block: 12px;
  }

  .home-landing .nav,
  .product-landing .nav {
    width: 100%;
    justify-content: flex-start;
    gap: 4px 16px;
    overflow-x: visible;
    flex-wrap: wrap;
  }

  .home-landing .nav a,
  .product-landing .nav a {
    flex: 0 0 auto;
  }

  .home-landing .hero,
  .product-landing .hero,
  .product-landing .page-section {
    width: min(1180px, calc(100% - 30px));
  }

  .home-landing .hero,
  .product-landing .hero {
    padding-top: 56px;
  }

  .home-landing .product {
    padding: 22px;
  }

  .product-landing .features,
  .product-landing .trust-grid,
  .product-landing .limits-grid,
  .aiblock-landing .trust-grid,
  .context-pack-landing .features,
  .context-pack-landing .trust-grid {
    grid-template-columns: 1fr;
  }

.home-landing .site-footer,
  .product-landing .site-footer {
    min-height: auto;
    padding-block: 14px;
  }

  .home-landing .site-footer .footer-brand,
  .product-landing .site-footer .footer-brand {
    flex-basis: 100%;
    margin-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-landing *,
  .home-landing *::before,
  .home-landing *::after,
  .product-landing *,
  .product-landing *::before,
  .product-landing *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
