/* home.css: the homepage layout (front-page.php), loaded after site.css and polish.css on the front page only. */

/* Hero: a shorter headline, set to fit in three lines at most. */
.hero { min-height: 82svh; }
.hero h1 { max-width: 15ch; font-size: clamp(3rem, 1.2rem + 5.6vw, 6.75rem); line-height: .96; letter-spacing: -.02em; text-wrap: balance; }
.hero-subhead { max-width: 46rem; font-size: clamp(1.1rem, .95rem + .55vw, 1.4rem); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.hero-facts li { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 14px; border: 1px solid rgba(246, 240, 228, .14); border-radius: 999px; background: rgba(5, 6, 8, .5); backdrop-filter: blur(12px); color: rgba(246, 240, 228, .82); font-size: 13px; text-shadow: none; }
.hero-facts li::before { content: ""; inline-size: 6px; block-size: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

/* Prices: ready-made and from-scratch as two labelled groups, add-ons under them. */
.price-groups { display: grid; gap: 36px; margin-top: 34px; }
.price-group__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 0 0 14px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--paper); }
.price-group__title span { font-size: 13px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--quiet); }
.price-groups .package-grid { margin-top: 0; }
.package-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.wordpress-band .upgrade-grid { margin-top: 36px; }

/* The apps monitor follows the app grid; tighten the gap between them. */
#products { padding-bottom: 24px; }
.alcor-demo-section { padding-top: 0 !important; }

/* Apps: three across with even, shorter screenshots, so eight apps don't run a whole screen each. */
#products .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#products .product-visual { aspect-ratio: 16 / 10; overflow: hidden; }
#products .product-visual img { inline-size: 100%; block-size: 100%; object-fit: cover; object-position: top left; }
#products .product-copy p { font-size: 15px; }
@media (max-width: 1000px) { #products .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  #products .product-grid { grid-template-columns: minmax(0, 1fr); }
  /* On phones the app cards go text-only: eight full-width screenshots made the page a scroll marathon. */
  #products .product-visual { display: none; }
}

/* About: heading left, copy right. */
.about-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.about-grid h2 { font-size: clamp(2.1rem, 1.4rem + 2vw, 3.3rem); }
.about-note { color: var(--quiet) !important; font-size: 17px !important; }
.about-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 6px 0 0; padding: 0; list-style: none; background: rgba(246, 240, 228, .12); border: 1px solid rgba(246, 240, 228, .12); }
.about-facts li { display: grid; gap: 6px; padding: 18px 20px; background: rgba(5, 6, 8, .92); }
.about-facts strong { font-size: 40px; line-height: 1; color: var(--paper); }
.about-facts span { color: var(--muted); font-size: 14px; line-height: 1.4; }
@media (max-width: 560px) { .about-facts { grid-template-columns: minmax(0, 1fr); } }

@media (max-width: 900px) {
  .package-grid--two { grid-template-columns: minmax(0, 1fr) !important; }
  .about-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .hero-facts li { font-size: 12px; min-height: 36px; }
}

/* Overhaul pass (owner 2026-09-28: "Still some funkyness. Do a full overhaul"). */
.hero { padding-bottom: clamp(48px, 8vh, 96px); }

/* Price cards: price, copy and list line up across a row (subgrid), and the link sits at the foot. */
.price-groups .package { grid-row: span 3; grid-template-rows: subgrid; align-content: normal; row-gap: 20px; min-height: 0; }
.price-groups .package .feature-list { align-self: start; margin: 0; }
.price-groups .package .package-cta { align-self: end; justify-self: start; }
/* Add-ons read as the same kind of panel as the packages above them. */
.wordpress-band .upgrade-grid { gap: 1px; background: rgba(246, 240, 228, .12); }
.wordpress-band .upgrade { border: 0; min-height: 0; }
.wordpress-band .upgrade-price { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }

/* Apps: eight apps as two even rows of four on wide screens. */
@media (min-width: 1200px) { #products .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } #products .product-copy { padding: 20px; } #products .product-copy h3 { font-size: 21px; } }

/* Showcase band: the two buttons are one width. */
.amd-showcase__actions a { flex: 1 1 12rem; justify-content: center; text-align: center; }

/* Audience cards: the sentence reads as body copy, not a shouted headline. */
.audience-card strong { font-size: 1rem; font-weight: 400; line-height: 1.5; color: rgba(246, 240, 228, .88); }
.audience-card::after { content: "\2192"; color: var(--cyan); font-size: 1.1rem; transition: transform .16s ease; }
.audience-card:hover::after, .audience-card:focus-visible::after { transform: translateX(4px); }
.audience-card { justify-content: flex-start; }
.audience-card strong { flex: 1; }
