/* ============================================================
   screens/home.css — the Home / Introduction screen.
   Scoped entirely under .screen--home. Reuses brand tokens and
   base classes (.btn, .label, .blue-rule) from brand.css/app.css.
   Editorial: generous vertical rhythm, one blue accent, whitespace.
   ============================================================ */

/* ---- Hero ----------------------------------------------- */

.screen--home .home-hero {
  max-width: 760px;
}

.screen--home .home-hero__title {
  font-family: var(--athera-display);
  font-weight: 300;
  font-size: clamp(40px, 6.4vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  margin: 0 0 var(--sp-3);
}

.screen--home .home-hero__lead {
  max-width: 600px;
  font-size: 19px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--charcoal-light);
  margin: 0 0 var(--sp-5);
}

.screen--home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
}

/* ---- Behaviours band ------------------------------------ */

.screen--home .home-behaviors {
  margin-top: var(--sp-8);
}

.screen--home .home-behaviors__rule {
  margin: 0 0 var(--sp-5);
}

.screen--home .home-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}

/* ---- Behaviour card ------------------------------------- */

.screen--home .home-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--sp-4) var(--sp-3) var(--sp-3);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.screen--home .home-card:hover {
  border-color: var(--athera-blue);
  box-shadow: var(--shadow);
}

/* Quiet blue rule along the top edge of each card. */
.screen--home .home-card__rule {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--athera-blue);
}

.screen--home .home-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-3);
}

.screen--home .home-card__icon {
  color: var(--blue-deep);
}

.screen--home .home-card__num {
  font-family: var(--athera-mono);
  font-size: 12px;
  color: var(--grey-light);
}

.screen--home .home-card__title {
  font-family: var(--athera-display);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.2;
  color: var(--charcoal);
  margin: 0 0 var(--sp-1);
}

.screen--home .home-card__copy {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--charcoal-light);
  margin: 0;
}

/* ---- Principle line ------------------------------------- */

.screen--home .home-principle {
  margin-top: var(--sp-6);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line-light);
}

.screen--home .home-principle__text {
  max-width: 620px;
  font-family: var(--athera-display);
  font-weight: 400;
  font-size: clamp(20px, 2.6vw, 26px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--charcoal);
  margin: 0;
}

/* ============================================================
   Responsive — cards stack on narrow viewports
   ============================================================ */

@media (max-width: 860px) {
  .screen--home .home-behaviors { margin-top: var(--sp-7); }
  .screen--home .home-cards {
    grid-template-columns: 1fr;
    gap: var(--sp-2);
  }
}

@media (max-width: 560px) {
  .screen--home .home-hero__lead { font-size: 17px; }
  .screen--home .home-hero__actions { gap: var(--sp-1); }
  .screen--home .home-hero__actions .btn { flex: 1 1 auto; }
}
