/* The public commercial pages (spec next-public-site): the product page and the model credits. The home itself is the
   Standard inspector and styles itself with demo.css. Colours come from demo.css (light and dark). */
.landing-body {
  padding-block: 40px 64px;
}

/* Plain text pages that reuse this sheet (the model credits) keep a boxed column. */
.landing.wrap {
  padding-block: 40px 64px;
}

.site-header .brand a {
  color: inherit;
  text-decoration: none;
}

.product-hero h1 {
  margin: 0 0 12px;
  max-width: 22ch;
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1.15;
}

.landing-lead {
  max-width: 62ch;
  margin: 0 0 24px;
  font-size: 1.15rem;
  color: var(--muted);
}

.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 16px;
}

.landing-body .button {
  display: inline-block;
  padding: 12px 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.landing-body .button-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-contrast);
}

.landing-body .button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.landing-note {
  margin: 0;
  color: var(--muted);
}

.landing-section {
  margin-top: 56px;
}

.landing-section h2 {
  margin: 0 0 12px;
  font-size: 1.5rem;
}

.landing-section p {
  max-width: 70ch;
  color: var(--muted);
}

.landing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.landing-grid li {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
}

.landing-grid h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.landing-grid p {
  margin: 0;
}

.landing-section .pricing-amount {
  margin: 0 0 4px;
  color: var(--text);
  font-size: 1.4rem;
  font-weight: 700;
}

.landing-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 20px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
}

.landing-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.landing-card h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.landing-code {
  max-width: 100%;
  margin: 0;
  padding: 16px;
  overflow-x: auto;
  border-radius: 8px;
  background: var(--code-bg);
  color: var(--code-text);
}

.landing-footer {
  padding-block: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.landing-footer p {
  margin: 0;
}
