/**
 * @file aimeat-os.css
 * @description Landing page styles for AIMEAT-OS app builder guide.
 *   Clean, centered layout with hero, 3-step cards, and CTA buttons.
 * @version-history
 *   v2.0.0 — 2026-03-17 — Rewrite: landing page layout replacing reference page styles
 *   v3.0.0 — 2026-03-18 — Full redesign: proper theme variables, polished cards
 */

/* ── Layout ─────────────────────────────────────── */
.os-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
  text-align: center;
}

/* ── Hero ────────────────────────────────────────── */
.os-hero {
  margin-bottom: 3.5rem;
}

.os-hero h1 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.os-hero p {
  font-size: 1.05rem;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto;
}

/* ── Steps ───────────────────────────────────────── */
.os-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
  text-align: left;
}

.os-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.os-step:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.os-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-full);
  background: var(--accent-subtle);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.os-step h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.os-step p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.55;
  margin: 0;
}

/* ── CTA Buttons ─────────────────────────────────── */
.os-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.os-download-btn {
  padding: 0.85rem 2rem;
  font-size: 1rem;
}

.os-download-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 460px;
  line-height: 1.5;
  margin: 0;
}

.os-add-btn {
  margin-top: 0.25rem;
}

/* ── Generator hint ──────────────────────────────── */
.os-generator-hint {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.os-generator-hint a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.os-generator-hint a:hover {
  text-decoration: underline;
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 640px) {
  .os-wrap {
    padding: 2.5rem 1rem 3rem;
  }

  .os-hero h1 {
    font-size: 1.65rem;
  }

  .os-hero p {
    font-size: 0.95rem;
  }

  .os-steps {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}
