/* —— Landing sections —— */
.page-pad {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 2rem 1.25rem 3.5rem;
}

.hero-bleed {
  background: var(--bg-hero);
  border-bottom: 1px solid var(--border);
}

.hero-bleed__inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: clamp(3.5rem, 10vw, 6.5rem) 1.25rem clamp(3rem, 8vw, 5.5rem);
  text-align: center;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero-bleed h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--text);
}

.hero-bleed .lead {
  margin: 0 auto 1.75rem;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.55rem;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 24px rgba(26, 122, 255, 0.25);
}

.btn:hover {
  background: var(--accent-hover);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-ghost {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: none;
}

.btn-ghost:hover {
  background: #fff;
  color: var(--text);
}

.btn-download {
  background: #e11d48;
  color: #fff;
  border: none;
  box-shadow: 0 8px 24px rgba(225, 29, 72, 0.25);
}

.btn-download:hover {
  background: #be123c;
  color: #fff;
}

.btn-disabled,
.btn-disabled:hover {
  background: #c4c4c8;
  color: #fff;
  border: none;
  box-shadow: none;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
  opacity: 0.85;
}

.section {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  margin: 0 0 0.5rem;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  margin: 0 auto 2rem;
  max-width: 32rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.15rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s, border-color 0.2s;
  color: inherit;
  display: block;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(26, 122, 255, 0.25);
  text-decoration: none;
  color: inherit;
}

.feature-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  margin-bottom: 0.9rem;
}

.feature-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, border-color 0.2s;
  color: inherit;
  display: block;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(26, 122, 255, 0.28);
  text-decoration: none;
  color: inherit;
}

.product-card .cover {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: linear-gradient(135deg, #ffe4e6, #e0f2fe);
  margin: 0;
  border-radius: 0;
}

.product-card__body {
  padding: 1.15rem 1.25rem 1.35rem;
}

.product-card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-weight: 750;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.content-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow);
}

.md-body {
  color: var(--text);
  line-height: 1.8;
}

.md-body h1,
.md-body h2,
.md-body h3 {
  font-family: var(--font-display);
  margin-top: 1.5rem;
  letter-spacing: -0.02em;
}

.md-body pre {
  background: #0f1217;
  color: #e8eef4;
  padding: 1rem;
  border-radius: 10px;
  overflow: auto;
  font-family: var(--font-mono);
}

.md-body code {
  font-family: var(--font-mono);
}

.cta-band {
  background: linear-gradient(120deg, #1a1d24, #2a1520);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  text-align: center;
  margin-top: 2rem;
}

.cta-band h2 {
  font-family: var(--font-display);
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
}

.cta-band p {
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.7);
}

.muted {
  color: var(--muted);
}

.empty {
  color: var(--muted);
  padding: 2.5rem 0;
  text-align: center;
}

.tpl-placeholder { max-width: 40rem; margin: 4rem auto; text-align: center; }

.tpl-placeholder__title { font-size: 1.75rem; font-weight: 700; margin: 0 0 0.75rem; }

.tpl-placeholder__desc { color: #6b7280; line-height: 1.7; margin: 0 0 1.5rem; }

.tpl-placeholder__link { color: #1a7aff; }
