/*
 * Author: Hariram S <ramhari4090@gmail.com>
 *
 * Extra pieces for the three product hub pages (Cleaning, Data visualization,
 * Forms), the new feature pages and the home page's "three areas" section:
 * the area cards, a screenshot placeholder frame and the Forms comparison
 * callout. Everything else on those pages comes from site.css, so type, colour
 * and spacing stay the site's own. Colours are the site.css tokens only.
 *
 * Used by:
 *     landing/cleaning.html, landing/data-visualization.html, landing/forms.html,
 *     landing/index.html, landing/features/*.html (the new pages)
 *
 * Depends on:
 *     landing/assets/site.css (--surface, --line, --accent, --muted, --r, .bands)
 */

.areas { list-style: none; padding: 0; margin: clamp(32px, 4vw, 48px) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.areas > li { display: flex; }
.area {
  display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 28px 26px;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--surface);
  transition: transform .3s var(--ease), border-color .3s ease, background-color .3s ease;
}
.area:hover { transform: translateY(-3px); border-color: rgba(124, 92, 255, .5); background: var(--surface-2); }
.area .area-tag { font: 500 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--accent-ink); }
.area h3 { font-size: 26px; letter-spacing: -0.03em; line-height: 1.15; }
.area h3 a { color: #fff; text-decoration: none; }
.area h3 a::after { content: ""; position: absolute; inset: 0; }
.area { position: relative; }
.area p { margin: 0; font-size: var(--t5); line-height: 1.6; color: var(--muted); }
.area ul { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 4px; font-size: var(--t5); color: #d4d4d8; }
.area ul li::before { content: "›"; color: var(--accent-ink); margin-right: 8px; }
.area .area-go { margin-top: auto; padding-top: 12px; font-size: var(--t5); font-weight: 600; color: #fff; }

.shot-ph { margin: 0; }
.shot-ph .shot-box {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center;
  min-height: 220px; padding: 28px 20px; border: 1px dashed var(--line-2); border-radius: var(--r);
  background: radial-gradient(60% 80% at 50% 0%, rgba(124, 92, 255, .12), transparent 70%), var(--surface);
  color: var(--muted); font-size: var(--t5);
}
.shot-ph .shot-box svg { width: 28px; height: 28px; fill: var(--accent-ink); }
.shot-ph figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }

.vs-card {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center;
  padding: clamp(24px, 3vw, 36px); border: 1px solid rgba(124, 92, 255, .45); border-radius: var(--r);
  background: radial-gradient(70% 120% at 0% 0%, rgba(124, 92, 255, .18), transparent 70%), var(--surface);
}
.vs-card h3 { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.03em; }
.vs-card p { margin: 10px 0 0; color: var(--muted); max-width: 62ch; }

@media (max-width: 900px) {
  .areas { grid-template-columns: 1fr; }
  .vs-card { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .area { transition: none; } }

.textpage .main.body > p + p { margin-top: 16px; }
