/* Page-specific layout (grids and containers; the cards themselves are components). */

/* Products — landing section + signed-in home (component: _ProductCards) */
html { scroll-behavior: smooth; }
.products { padding: 2rem 0 6rem; }
.products-title { margin: 0.5rem 0 1.75rem; font-size: 1.875rem; font-weight: 700; letter-spacing: -0.02em; }
.product-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(max(min(100%, 260px), calc((100% - 2rem) / 3)), 1fr)); gap: 1rem; }
.product-card {
    height: 100%; display: flex; flex-direction: column; gap: 0.75rem; padding: 1.5rem;
    border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel);
    transition: border-color 0.15s ease, transform 0.15s ease;
}
.product-card:hover { border-color: color-mix(in srgb, var(--surge) 45%, transparent); transform: translateY(-2px); }
.product-icon { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: 0.8rem; color: var(--on-charge); background: var(--charge); }
.product-icon svg { width: 1.4rem; height: 1.4rem; }
.product-name { margin-top: 0.25rem; font-size: 1.25rem; font-weight: 600; color: var(--halo); }
.product-desc { color: var(--foge); font-size: 0.95rem; line-height: 1.6; }
.product-go { margin-top: auto; padding-top: 0.5rem; font-size: 0.9rem; font-weight: 600; color: var(--surge); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .product-card:hover { transform: none; } }

/* SignIn */
.auth-wrap { display: flex; min-height: 100vh; align-items: center; justify-content: center; padding: 4rem 1.5rem; }
.auth-panel { width: 100%; max-width: 24rem; }
.auth-title { margin-top: 2rem; font-size: 1.5rem; font-weight: 600; letter-spacing: -0.01em; }
.auth-sub { margin-top: 0.35rem; font-size: 0.875rem; color: var(--tide); }
.auth-card { margin-top: 1.5rem; padding: 1.25rem; }
.auth-or { display: flex; align-items: center; gap: 0.75rem; margin: 1rem 0; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--tide); }
.auth-or span { flex: 1; height: 1px; background: var(--line); }
.auth-fields { display: flex; flex-direction: column; gap: 0.75rem; }
.auth-msg { margin-top: 1rem; font-size: 0.875rem; }
.auth-foot { margin-top: 1rem; text-align: center; font-size: 0.75rem; color: var(--tide); }
.text-ok { color: var(--surge); }
.text-err { color: var(--danger); }

