/* Homepage layout — colours from theme.css */

.page-home {
  --header-h: 152px;
}

.page-home .hero {
  min-height: auto;
  padding: calc(var(--header-h) + 40px) 0 56px;
}

.page-home .hero-grid {
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
}

.page-home .hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.03em;
}

.page-home .section {
  padding: 80px 0;
}

/* Trust strip — single container */
.page-home .value-strip {
  padding: 0 0 48px;
  background: transparent;
  border: none;
}

.page-home .value-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.page-home .value-strip-item {
  padding: 20px 22px;
  background: transparent;
  border: none;
  border-right: 1px solid var(--border-default);
  border-radius: 0;
}

.page-home .value-strip-item:last-child {
  border-right: none;
}

/* Clarity section */
.page-home .clarity-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.page-home .clarity-steps {
  list-style: none;
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.page-home .clarity-steps li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border-radius: var(--radius);
}

.page-home .clarity-steps .step-label {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cobalt), var(--teal));
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8rem;
}

/* Invoice showcase */
.page-home .invoice-showcase {
  padding: 64px 0;
}

/* Four feature cards */
.page-home .feature-cards-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.page-home .feature-card-light {
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}

.page-home .feature-card-light:hover {
  transform: translateY(-4px);
}

.page-home .feature-card-light .feature-card-shot {
  margin-bottom: 20px;
  border-radius: var(--radius);
  overflow: hidden;
}

.page-home .feature-card-light .feature-card-shot img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: top center;
}

.page-home .feature-card-light h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.page-home .feature-card-light p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.page-home .feature-card-light ul {
  list-style: none;
  font-size: 0.82rem;
}

.page-home .feature-card-light li {
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}

.page-home .feature-card-light li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--teal);
}

.page-home .country-currency-list {
  list-style: none;
  margin: 20px 0 24px;
  display: grid;
  gap: 8px;
}

.page-home .country-currency-list li {
  font-size: 0.92rem;
  padding-left: 18px;
  position: relative;
}

.page-home .country-currency-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

/* Security strip */
.page-home .trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.page-home .trust-strip-card {
  padding: 24px;
  border-radius: var(--radius);
}

.page-home .trust-strip-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.page-home .trust-strip-card p {
  font-size: 0.85rem;
  line-height: 1.55;
}

.page-home .section-header.centered {
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.page-home .section-header.centered .section-lead {
  margin-left: auto;
  margin-right: auto;
}

.page-home .trust-cta {
  text-align: center;
  margin-top: 8px;
}

@media (max-width: 1024px) {
  .page-home .hero-grid,
  .page-home .clarity-grid,
  .page-home .caribbean-inner {
    grid-template-columns: 1fr;
  }

  .page-home .value-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home .value-strip-item:nth-child(2) {
    border-right: none;
  }

  .page-home .value-strip-item:nth-child(1),
  .page-home .value-strip-item:nth-child(2) {
    border-bottom: 1px solid var(--border-default);
  }

  .page-home .feature-cards-4 {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .page-home {
    --header-h: 124px;
  }

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

  .page-home .value-strip-item {
    border-right: none;
    border-bottom: 1px solid var(--border-default);
  }

  .page-home .value-strip-item:last-child {
    border-bottom: none;
  }
}
