/* ai-page.css — /ai only (2026-10-02).
 *
 * Loaded after store-mgmt.css, whose .smp tokens, type, buttons, track,
 * FAQ and phone rules this page shares. This file adds the section grounds
 * (store-mgmt.css keys those to its own #sm-* ids) and the two shapes only
 * /ai has: the build rows and the two-ways split. No :root, reset or body{}.
 */

/* ── Section grounds ───────────────────────────────────────────────── */
.smp #ai-hero { background: var(--sm-cream); padding: 8.5rem 0 4.5rem; overflow: hidden; }
.smp #ai-ways,
.smp #ai-cta { background: var(--sm-dark); color: #F5F2ED; }
.smp #ai-steps,
.smp #ai-faq { background: var(--sm-cream); }

/* The board here is Brassdeck's light canvas, so the window chrome is
   light too. */
.smp .ai-board { background: #E9E2D6; }
.smp .ai-board .sm-board-bar { background: #DDD5C7; }
.smp .ai-board .sm-board-bar span { background: #C9BFAE; }

/* ── What we build: one row per kind ───────────────────────────────── */
.smp .ai-builds { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--sm-line); }
.smp .ai-builds li {
  display: grid;
  grid-template-columns: 64px minmax(0, 0.9fr) minmax(0, 1.6fr) minmax(0, 0.7fr);
  gap: 28px;
  align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid var(--sm-line);
}
.smp .ai-n { font-family: 'Sora', sans-serif; font-size: 1.6rem; letter-spacing: -0.03em; line-height: 1.1; color: var(--sm-accent); }
.smp .ai-title { font-size: 1.3rem; font-weight: 500; letter-spacing: -0.02em; margin: 0; }
.smp .ai-body p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--sm-body); }
.smp .ai-tools { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px !important; }
.smp .ai-tools span { padding: 4px 10px; border-radius: 999px; background: var(--sm-cream); font-size: 13px; line-height: 1.3; color: var(--sm-ink); }
.smp .ai-links { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.smp .ai-links a { font-size: 15px; font-weight: 500; color: var(--sm-accent); text-decoration: none; }
.smp .ai-links a:hover { color: var(--sm-accent-hover); text-decoration: underline; text-underline-offset: 3px; }

/* ── Two ways: split on the dark band ──────────────────────────────── */
.smp .ai-ways { display: grid; grid-template-columns: 1fr 1fr; margin-top: 40px; border-top: 1px solid var(--sm-dark-line); }
.smp .ai-ways > div { padding: 28px 40px 0 0; }
.smp .ai-ways > div + div { padding-left: 40px; border-left: 1px solid var(--sm-dark-line); }
.smp .ai-ways .sm-h3 { font-size: 1.3rem; font-weight: 500; margin-bottom: 10px; }
.smp .ai-ways p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--sm-dark-body); max-width: 32em; }
.smp .ai-ways .ai-price { margin-top: 14px; color: #F5F2ED; font-weight: 500; }
.smp .ai-way-link { display: inline-block; margin-top: 10px; font-size: 15px; color: var(--sm-amber); text-decoration: none; }
.smp .ai-way-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ── Proof: one figure, then the two tools ─────────────────────────── */
.smp .ai-stat { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 40px; align-items: center; margin-top: 36px; padding: 32px 0; border-top: 1px solid var(--sm-line); border-bottom: 1px solid var(--sm-line); }
.smp .ai-stat-n { margin: 0; font-family: 'Sora', sans-serif; font-size: clamp(3.2rem, 6vw, 5rem); letter-spacing: -0.045em; line-height: 1; }
.smp .ai-stat-t { margin: 0; font-size: 17px; line-height: 1.6; color: var(--sm-body); max-width: 38em; }
.smp .ai-own { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 40px; }
.smp .ai-own-card { display: block; color: inherit; text-decoration: none; }
.smp .ai-own-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: left top; border-radius: 12px; box-shadow: 0 0 0 1px var(--sm-line); transition: transform .3s ease; }
.smp .ai-own-card:hover img { transform: translateY(-3px); }
.smp .ai-own-name { display: block; margin-top: 14px; font-family: 'Sora', sans-serif; font-size: 1.2rem; letter-spacing: -0.02em; }
.smp .ai-own-what { display: block; margin-top: 4px; font-size: 15.5px; line-height: 1.55; color: var(--sm-body); max-width: 34em; }

@media (prefers-reduced-motion: reduce) {
  .smp .ai-own-card img { transition: none; }
}

@media (max-width: 1024px) {
  .smp .ai-builds li { grid-template-columns: 48px minmax(0, 1fr); gap: 8px 18px; }
  .smp .ai-builds li > .ai-body,
  .smp .ai-builds li > .ai-links { grid-column: 2; }
  .smp .ai-links { flex-direction: row; flex-wrap: wrap; gap: 6px 20px; }
}

@media (max-width: 768px) {
  .smp #ai-hero { padding-top: 6.5rem !important; padding-bottom: 2.25rem !important; }
  .smp #ai-hero .sm-split { display: none; }
  .smp #ai-hero .sm-cta { margin-top: 18px; }
  .smp .ai-builds { margin-top: 18px; }
  .smp .ai-builds li { grid-template-columns: 36px minmax(0, 1fr); padding: 18px 0; }
  .smp .ai-n { font-size: 1.15rem; }
  .smp .ai-title { font-size: 1.1rem; }
  .smp .ai-body p { font-size: 15px; line-height: 1.55; }
  .smp .ai-tools span { font-size: 12.5px; padding: 3px 9px; }
  .smp .ai-ways { grid-template-columns: 1fr; margin-top: 18px; }
  .smp .ai-ways > div,
  .smp .ai-ways > div + div { padding: 16px 0; border-left: 0; border-bottom: 1px solid var(--sm-dark-line); }
  .smp .ai-ways p { font-size: 15px; }
  .smp #ai-ways .sm-cta { display: none; }
  .smp .ai-stat { grid-template-columns: 1fr; gap: 10px; margin-top: 18px; padding: 20px 0; }
  .smp .ai-stat-n { font-size: 2.8rem; }
  .smp .ai-stat-t { font-size: 15px; }
  .smp .ai-own { grid-template-columns: 1fr; gap: 22px; margin-top: 22px; }
  .smp .ai-own-name { font-size: 1.05rem; margin-top: 10px; }
  .smp .ai-own-what { font-size: 14.5px; }
}
