/* ============================================================
   freezr — home.css
   Styles specific to home.html (front page only).
   Requires common.css to be loaded first.
   ============================================================ */

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  padding: 80px 0 72px;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--c-ink-4);
  margin-bottom: 22px;
}

.hero-h1 {
  font-size: 42px;
  font-weight: 500;
  color: var(--c-ink);
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
}
.hero-h1 em {
  font-style: normal;
  color: var(--c-ink-3);
}

.hero-sub {
  font-size: 17px;
  color: var(--c-ink-3);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  font-size: 14px;
  padding: 10px 22px;
  background: var(--c-ink);
  color: var(--c-surface);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s;
}
.btn-primary:hover { opacity: 0.82; text-decoration: none; }

/* ── Two-column intro ────────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
}

.col-head {
  font-size: 21px;
  font-weight: 500;
  color: var(--c-ink);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.col-body {
  font-size: 15px;
  color: var(--c-ink-3);
  line-height: 1.75;
}

/* ── Mobile "Learn more" nav ─────────────────────────────── */
/* Hidden by default; only shown when the top nav links disappear */
.mobile-learn-more {
  display: none;
  padding: 32px 0 28px;
}

.mobile-learn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mobile-learn-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px 12px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  color: var(--c-ink-2);
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.mobile-learn-btn:hover {
  background: var(--c-blue-bg);
  color: var(--c-blue-deep);
  border-color: var(--c-blue-pale);
  text-decoration: none;
}

/* The extra divider after the section is also hidden on desktop */
.mobile-learn-divider {
  display: none;
}

/* ── Feature grid ────────────────────────────────────────── */
.features-section {
  padding: 48px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--c-border);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.feature-cell {
  background: var(--c-surface);
  padding: 28px 26px;
}

.feature-icon {
  width: 26px;
  height: 26px;
  margin-bottom: 16px;
  color: var(--c-ink-3);
}

.feature-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--c-ink);
  margin-bottom: 7px;
}

.feature-body {
  font-size: 13px;
  color: var(--c-ink-3);
  line-height: 1.65;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 700px) {
  .hero { padding: 52px 0 48px; }
  .hero-h1 { font-size: 30px; }
  .hero-sub { font-size: 15px; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .feature-grid { grid-template-columns: 1fr; }
  .features-section { padding: 32px 0; }

  /* Show the mobile learn-more section */
  .mobile-learn-more { display: block; }
  .mobile-learn-divider { display: block; }
}