/* Home / Today — header, the streak strip, the week's question, and the stack
 * of cards that are all buttons. Every hover the design declares has an
 * :active one step further along the ramp.
 */

.ro-home {
  background: var(--color-bg);
  padding: 66px 18px 14px;
  gap: 14px;
}

/* — header: brand, circle name, you — */
.ro-home-head { display: flex; align-items: center; gap: 12px; }
.ro-home-brand { flex: 1; min-width: 0; }
.ro-home-word { font-size: 23px; line-height: 1; }
.ro-home-sub {
  font-size: 11.5px;
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
  margin-top: 4px;
}

.ro-home-me {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 999px;
  background: var(--color-accent-300);
  color: var(--color-accent-900);
  display: grid;
  place-items: center;
  font: 600 14px var(--font-body);
}
.ro-home-me:hover { background: var(--color-accent-400); }
.ro-home-me:active { background: var(--color-accent-500); }

/* — eleven weeks, one of them missed — */
.ro-home-streak {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--color-surface);
  border-radius: 999px;
  padding: 9px 14px;
}
.ro-home-bars { display: flex; gap: 4px; flex: 1; }
.ro-home-bars i { flex: 1; height: 8px; border-radius: 999px; }
.ro-home-weeks {
  font: 600 11px var(--font-body);
  color: var(--color-neutral-700);
  flex: none;
}

/* — the week's question — */
.ro-home-q {
  background: var(--color-accent-200);
  border-radius: 32px;
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ro-home-qtop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.ro-home-closes { font-size: 11px; color: var(--color-accent-800); opacity: .75; }
.ro-home-prompt {
  font-size: 26px;
  line-height: 1.16;
  color: var(--color-accent-900);
  text-wrap: pretty;
}

.ro-home-answered { display: flex; align-items: center; gap: 8px; }
.ro-home-faces { display: flex; }
.ro-home-faces > * + * { margin-left: -8px; }
/* The seat nobody has taken yet. */
.ro-home-seat {
  border: 1.5px dashed var(--color-accent-600);
  box-shadow: 0 0 0 2px var(--color-accent-200);
}
.ro-home-count { font-size: 11.5px; color: var(--color-accent-800); }

.ro-home-acts { display: flex; gap: 9px; }
.ro-home-answer { height: 48px; flex: 1; font-size: 15px; }
.ro-home-listen {
  height: 48px;
  padding-inline: 18px;
  border-color: var(--color-accent-600);
  color: var(--color-accent-900);
}

/* — the reach-out nudge — */
.ro-home-nudge {
  background: var(--color-accent-2-100);
  border-radius: 26px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ro-home-nudgerow { display: flex; align-items: flex-start; gap: 11px; }
.ro-home-nudgetext { flex: 1; min-width: 0; }
.ro-home-nudgeline {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-accent-2-900);
  line-height: 1.35;
}
.ro-home-nudgenote {
  font-size: 12px;
  color: var(--color-accent-2-800);
  opacity: .8;
  margin-top: 2px;
}
.ro-home-nudgeacts { display: flex; gap: 8px; }
.ro-home-send {
  height: 40px;
  flex: 1;
  background: var(--color-accent-2-600);
  color: var(--color-bg);
  font-size: 13.5px;
  gap: 8px;
}
.ro-home-send:hover { background: var(--color-accent-2-700); }
.ro-home-send:active { background: var(--color-accent-2-800); }
.ro-home-notnow {
  height: 40px;
  padding-inline: 14px;
  color: var(--color-accent-2-800);
  font-size: 13px;
}

/* — the three cards below are buttons: the whole card is the target — */
.ro-home-card {
  border-radius: 26px;
  padding: 17px 18px;
  display: flex;
}
.ro-home-cardtext { flex: 1; min-width: 0; }

.ro-home-reset {
  align-items: center;
  gap: 14px;
  background: var(--color-accent-2-100);
}
.ro-home-reset:hover { background: var(--color-accent-2-200); }
.ro-home-reset:active { background: var(--color-accent-2-300); }
.ro-home-halo {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  flex: none;
  background: var(--color-accent-2-400);
  animation: halo 3.4s ease-in-out infinite;
}
.ro-home-resettitle { font-size: 16px; color: var(--color-accent-2-900); }
.ro-home-resetnote {
  font-size: 11.5px;
  color: var(--color-accent-2-800);
  opacity: .85;
  margin-top: 2px;
}

.ro-home-goal {
  flex-direction: column;
  gap: 11px;
  background: var(--color-surface);
}
.ro-home-goal:hover { background: var(--color-neutral-300); }
.ro-home-goal:active { background: var(--color-neutral-400); }
.ro-home-goaltop { display: flex; align-items: baseline; gap: 8px; }
.ro-home-goaltitle { font-size: 16px; flex: 1; }
.ro-home-goalcount {
  font: 600 12px var(--font-body);
  color: var(--color-accent-700);
  flex: none;
}
.ro-home-goalnote { font-size: 11.5px; color: var(--color-neutral-700); }

.ro-home-recap {
  align-items: center;
  gap: 13px;
  background: var(--color-neutral-200);
}
.ro-home-recap:hover { background: var(--color-neutral-300); }
.ro-home-recap:active { background: var(--color-neutral-400); }
.ro-home-recaptitle { font-size: 16px; color: var(--color-neutral-900); }
.ro-home-recapnote {
  font-size: 11.5px;
  color: var(--color-neutral-800);
  margin-top: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .ro-home-halo { animation: none; }
}

/* — the daily verse, only once a tradition is chosen — */
.ro-home-verse {
  background: var(--color-accent-2-100);
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}
.ro-home-verse:hover { background: var(--color-accent-2-200); }
.ro-home-verse:active { background: var(--color-accent-2-300); }
.ro-home-versekicker { color: var(--color-accent-2-800); }
/* The whole verse, never a clipped one. The size steps down with the length
   instead — see the `fit` tier in store.js. */
.ro-home-versetext {
  font-size: 15.5px;
  line-height: 1.4;
  color: var(--color-accent-2-900);
  text-wrap: pretty;
}
.ro-home-versetext.is-short { font-size: 16.5px; line-height: 1.38; }
.ro-home-versetext.is-mid { font-size: 15px; line-height: 1.4; }
.ro-home-versetext.is-long { font-size: 13.5px; line-height: 1.45; }
.ro-home-versetext.is-xlong { font-size: 12.5px; line-height: 1.48; }

/* Nothing read yet: the verse card is an invitation, in body type. */
.ro-home-verse.is-empty { background: var(--color-surface); }
.ro-home-verse.is-empty:hover { background: var(--color-neutral-300); }
.ro-home-verse.is-empty .ro-home-versekicker { color: var(--color-neutral-700); }
.ro-home-verse.is-empty .ro-home-versetext {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--color-neutral-800);
}

/* — a new verse each day, marked until it is read — */
.ro-home-verserow {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ro-home-versenew {
  flex: none;
  font: 600 9.5px var(--font-body);
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--color-accent-700);
  color: var(--color-accent-100);
}

/* — the gap between "this phone has a circle" and "the circle has loaded" —
   Its own card rather than the sample question, because the alternative is
   showing a real member six men who are not theirs. */
.ro-home-q--waiting {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.ro-home-waitnote {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--color-neutral-700);
}
.ro-home-retry {
  min-height: 44px;
  padding: 0 18px;
  font-size: 14px;
}

/* — the sample circle saying so, and offering the real one —
   Terracotta rather than sage or cream: it has to read as a notice, not as
   another card of content, or it becomes invisible like the row under You did. */
.ro-home-demo {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 15px 16px 16px;
  border-radius: 26px;
  background: var(--color-accent-200);
  border: 1.5px solid var(--color-accent-400);
}
.ro-home-demorow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.ro-home-demokicker { color: var(--color-accent-800); }
.ro-home-demotag {
  flex: none;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--color-accent-700);
  color: var(--color-accent-100);
}
.ro-home-demonote {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--color-accent-900);
}
.ro-home-demobtn {
  margin-top: 3px;
  min-height: 48px;
  font-size: 15px;
  background: var(--color-accent-800);
  color: var(--color-accent-100);
}
.ro-home-demobtn:hover { background: var(--color-accent-900); }
