/* Homepage content only. The shared shell and original hero keep style.css. */
.home .intro-content h2 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  text-wrap: pretty;
}

.home .intro-content h2 strong {
  color: var(--accent-ink);
  font-weight: 650;
}

.home .intro-diagram {
  box-shadow: var(--shadow-md);
}

.home .home-text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--accent-ink);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  text-underline-offset: 5px;
}

.home .home-text-link:hover {
  text-decoration: underline;
}

.home .intro-content > .home-text-link {
  margin-top: 10px;
}

.home .feature-text p {
  max-width: 42ch;
  font-size: 15px;
  line-height: 1.75;
}

.home .feature-text h3 {
  font-size: 18px;
}

.home .feature-text .home-text-link {
  margin-top: 5px;
}

.home .feature-list {
  align-items: stretch;
}

.home .stat-label {
  color: #c3ccd9;
  font-size: 14px;
}

.home .home-spec-note {
  margin: 0;
  padding: 0 16px 24px;
  color: #bdc8d7;
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}

.home .home-services {
  padding: var(--section-padding) 0;
}

.home .home-section-heading {
  margin-bottom: 36px;
  max-width: 760px;
}

.home .home-section-heading .section-kicker {
  margin-bottom: 16px;
}

.home .home-section-heading h2 {
  margin: 0 0 16px;
  font-size: var(--title-section);
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.035em;
  text-wrap: pretty;
}

.home .home-section-heading p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.75;
}

.home .home-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.home .home-product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-card);
  background: var(--surface-card);
  color: var(--text-dark);
  text-decoration: none;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.home .home-product-copy {
  display: flex;
  flex-direction: column;
  padding: 32px 24px 28px 28px;
}

.home .home-product-category {
  display: block;
  margin-bottom: 14px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.6;
}

.home .home-product h3 {
  margin: 0 0 14px;
  font-size: clamp(21px, 2vw, 26px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.home .home-product p {
  margin: 0 0 24px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.75;
}

.home .home-product p br {
  display: none;
}

.home .home-product-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  color: var(--accent-ink);
  font-size: 14px;
  font-weight: 650;
}

.home .home-product img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  object-position: 75% center;
}

.home .home-product:hover,
.home .home-product:focus-visible {
  border-color: var(--accent-ink);
  box-shadow: var(--shadow-md);
}

.home .home-service-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  column-gap: 24px;
  margin: 40px 0 12px;
}

.home .home-service-heading h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 650;
}

.home .home-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.home .home-service-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-control);
  background: var(--surface-card);
  color: var(--text-dark);
  text-decoration: none;
  transition: border-color 200ms ease, background-color 200ms ease;
}

.home .home-service-link strong {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
  font-weight: 650;
}

.home .home-service-link > span > span {
  display: block;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.6;
}

.home .home-link-arrow {
  flex: 0 0 auto;
  color: var(--accent-ink);
  font-size: 21px;
  transition: transform 200ms ease;
}

.home .home-service-link:hover,
.home .home-service-link:focus-visible {
  border-color: var(--accent-ink);
  background: #f3fbf8;
}

.home .home-service-link:hover .home-link-arrow {
  transform: translate(2px, -2px);
}

.home .home-process {
  padding: var(--section-padding) 0;
  background: var(--surface-card);
}

.home .home-process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: adoption;
}

.home .home-process-list li {
  min-width: 0;
  padding-top: 22px;
  border-top: 2px solid #c9e4dc;
  counter-increment: adoption;
}

.home .home-process-list li::before {
  content: counter(adoption, decimal-leading-zero);
  display: block;
  margin-bottom: 20px;
  color: var(--accent-ink);
  font-size: 15px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.home .home-process-list h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.home .home-process-list p {
  margin: 0 0 12px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.75;
}

.home .home-faq-item {
  border-bottom: 1px solid var(--border-default);
}

.home .home-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 22px 4px;
  color: var(--text-dark);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.6;
  list-style: none;
  cursor: pointer;
}

.home .home-faq-item summary::-webkit-details-marker {
  display: none;
}

.home .home-faq-item summary:hover,
.home .home-faq-item[open] summary {
  color: var(--accent-ink);
}

.home .home-faq-symbol {
  position: relative;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
}

.home .home-faq-symbol::before,
.home .home-faq-symbol::after {
  content: '';
  position: absolute;
  background: currentColor;
}

.home .home-faq-symbol::before {
  left: 2px;
  top: 8px;
  width: 14px;
  height: 2px;
}

.home .home-faq-symbol::after {
  left: 8px;
  top: 2px;
  width: 2px;
  height: 14px;
}

.home .home-faq-item[open] .home-faq-symbol::after {
  display: none;
}

.home .home-faq-answer p {
  margin: 0;
  padding: 0 36px 24px 4px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
}

.home .home-faq-answer a {
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.home .home-text-link:focus-visible,
.home .home-product:focus-visible,
.home .home-service-link:focus-visible,
.home .home-faq-item summary:focus-visible,
.home .home-faq-answer a:focus-visible {
  outline: 2px solid var(--accent-ink);
  outline-offset: 5px;
}

@media (max-width: 1024px) {
  .home .home-product-grid { gap: 16px; }
  .home .home-product { grid-template-columns: minmax(0, 1fr) 24%; }
  .home .home-product-copy { padding: 26px 22px; }
  .home .home-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home .home-process-list { gap: 24px; }
}

@media (max-width: 768px) {
  .home .home-product-grid { grid-template-columns: minmax(0, 1fr); }
  .home .home-product { grid-template-columns: minmax(0, 1fr) 28%; }
  .home .home-product img { min-height: 220px; }
  .home .home-process-list { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .home .home-process-list li { padding-top: 20px; }
  .home .home-process-list li::before { margin-bottom: 12px; }
  .home .home-section-heading br { display: none; }
  .home .home-section-heading h2 { font-size: 30px; }
  .home .home-faq-item summary { gap: 16px; font-size: 15px; }
  .home .home-faq-answer p { padding-right: 12px; }
}

@media (max-width: 480px) {
  .home .home-product { grid-template-columns: minmax(0, 1fr); }
  .home .home-product img { grid-row: 1; height: 88px; min-height: 0; object-position: 75% 55%; }
  .home .home-product-copy { padding: 24px 20px; }
  .home .home-product h3 { font-size: 22px; }
  .home .home-service-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .home .home-service-link { padding: 18px 20px; }
  .home .home-service-heading { margin-top: 28px; }
  .home .home-spec-note { padding: 16px 8px 24px; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .home .home-product,
  .home .home-service-link,
  .home .home-link-arrow { transition: none; }
  .home .home-service-link:hover .home-link-arrow { transform: none; }
}
