/* Career Badger · product cards, homepage product block, app badges and the
 * /universities/ enquiry form. Shared by /, /products/, /about/ and
 * /universities/. Cards are modelled on .plan in pricing.css so they read as
 * the same family. Card markup lives in scripts/partials/cards-*.html. */

/* ── Homepage sections (heading style = live .faqs__heading) ── */
.home-block { padding: var(--sp-9) var(--sp-5) var(--sp-8); }
.home-block__inner { max-width: 1160px; margin: 0 auto; }
.home-block__heading { margin: 0 0 var(--sp-6); font-size: 28px; font-weight: 700; letter-spacing: -0.02em; text-align: center; color: var(--text); }
.home-block__more { text-align: center; margin: var(--sp-5) 0 0; font-size: 15px; }
.home-block__more a { color: var(--magenta); text-decoration: none; font-weight: 600; }
.home-block__more a:hover { text-decoration: underline; }

/* Product cards, modelled on .plan (pricing.css) */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }
.product-card { padding: var(--sp-6) var(--sp-5) var(--sp-5); background: var(--surface-raised); border: 1px solid var(--border-subtle); border-radius: 16px; display: flex; flex-direction: column; gap: var(--sp-3); }
.product-card__name { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--magenta); }
.product-card p { margin: 0 0 var(--sp-4); font-size: 16px; line-height: 1.5; color: rgba(245, 245, 245, 0.88); }
.product-card__cta { margin-top: auto; display: flex; align-items: center; justify-content: center; height: 48px; border-radius: 8px; background: var(--magenta); color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; }
.product-card__cta:hover { background: #d2197d; }
.product-card--link { text-decoration: none; color: inherit; transition: border-color 120ms ease; }
.product-card--link:hover { border-color: var(--magenta); }
.product-card--link p { margin-bottom: 0; }
.product-card__points { list-style: none; margin: 0 0 var(--sp-5); padding: 0; }
.product-card__points li { position: relative; padding: 4px 0 4px 22px; font-size: 14.5px; line-height: 1.5; color: rgba(245, 245, 245, 0.72); }
.product-card__points li::before { content: ''; position: absolute; left: 3px; top: 10px; width: 5px; height: 9px; border-right: 2px solid var(--magenta); border-bottom: 2px solid var(--magenta); transform: rotate(45deg); }
.about-section .products-grid { margin-top: var(--sp-5); }
/* Keep cards identical inside about-section pages (its link + p styles win otherwise) */
.products-grid .product-card p { max-width: none; font-size: 16px; color: rgba(245, 245, 245, 0.88); }
.products-grid .product-card__cta, .products-grid .product-card__cta:hover { color: #fff; text-decoration: none; }
.products-grid .product-card--link:hover { text-decoration: none; }
@media (max-width: 1000px) { .products-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .products-grid { grid-template-columns: 1fr; } }


/* App store badges (products page) */
.app-badges { display: flex; gap: var(--sp-3); flex-wrap: wrap; align-items: center; margin-top: var(--sp-4); }
.app-badges img { height: 44px; width: auto; display: block; }
.app-badges button { background: none; border: 0; padding: 0; cursor: pointer; }


/* ── /universities/ enquiry form ── */
.enquiry { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); max-width: 720px; margin-top: var(--sp-5); }
.enquiry__field { display: grid; gap: 6px; }
.enquiry__field--full { grid-column: 1 / -1; }
.enquiry label { font-size: 14px; font-weight: 600; color: var(--text); }
.enquiry label small { font-weight: 400; color: var(--muted); }
.enquiry input, .enquiry select, .enquiry textarea { font: inherit; font-size: 16px; padding: 12px 14px; border-radius: 8px; border: 1px solid var(--border-default); background: var(--surface-raised); color: var(--text); }
.enquiry input:focus, .enquiry select:focus, .enquiry textarea:focus { outline: 2px solid var(--magenta); outline-offset: 1px; }
.enquiry textarea { min-height: 110px; resize: vertical; }
.enquiry__hp { position: absolute; left: -9999px; }
.enquiry__foot { grid-column: 1 / -1; display: flex; gap: var(--sp-4); align-items: center; flex-wrap: wrap; }
.enquiry__foot small { color: var(--muted); font-size: 13px; }
.enquiry button { height: 48px; padding: 0 var(--sp-6); border: 0; border-radius: 8px; background: var(--magenta); color: #fff; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.enquiry button:hover { background: #d2197d; }
@media (max-width: 560px) { .enquiry { grid-template-columns: 1fr; } }

.enquiry [hidden] { display: none; }
.enquiry__status { grid-column: 1 / -1; margin: 0; font-size: 15px; }
.enquiry__status[data-state="error"] { color: #FF6DB8; }
.enquiry button[disabled] { opacity: 0.6; cursor: wait; }
