/* Homepage presentation only. Ritual states and shared portal styles stay intact. */
.home-refined {
  --home-ink: #100c18;
  --home-surface: #1b1427;
  --home-line: rgba(223, 198, 145, .22);
  --home-cream: #f3ead8;
  --home-muted: #c4bacd;
  --home-gold: #dec38d;
  background: radial-gradient(ellipse at 10% 0%, #33291f 0, transparent 28%),
    radial-gradient(ellipse at 90% 14%, #2b1d3c 0, transparent 32%), #100c18;
  color: var(--home-cream);
}
.home-refined .ambient-glow { opacity: .3; }
.home-refined .shell { width: min(1280px, calc(100% - 64px)); }
.home-refined .hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  grid-template-areas: "intro motif" "quick motif" "actions motif" "trust motif" "live live";
  align-items: start;
  align-content: start;
  justify-items: stretch;
  gap: 20px 64px;
  padding: 64px 0 48px;
  margin: 0;
  text-align: left;
}
.home-refined .hero > * { min-width: 0; }
.home-refined .hero-intro {
  grid-area: intro;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
  max-height: none;
  overflow: visible;
}
.home-refined .hero-intro.is-hidden { max-height: 0; overflow: hidden; }
.home-refined .hero-copy { order: 0; width: 100%; max-width: none; text-align: left; justify-items: start; gap: 18px; }
.home-refined .home-eyebrow { font: 700 11px/1.5 'Philosopher', sans-serif; letter-spacing: .22em; color: var(--home-gold); }
.home-refined .hero h1 {
  margin: 0;
  max-width: none;
  font-family: 'Philosopher', serif;
  font-size: clamp(38px, 3.7vw, 54px);
  line-height: 1.12;
  font-weight: 400;
  font-variant: normal;
  letter-spacing: -.035em;
  text-transform: none;
  text-align: left;
  color: var(--home-cream);
  text-shadow: none;
}
.home-refined .hero h1 span { display: block; margin: 0; }
.home-refined .hero h1 span + span { color: var(--home-gold); }
.home-refined .hero h1 span + span::before { content: none; }
.home-refined .hero-copy > p { max-width: 47ch; margin: 0; font-size: 17px; line-height: 1.7; color: var(--home-muted); text-align: left; }
.home-refined .hero-banner { order: 1; width: 100%; margin: 0; aspect-ratio: 2.9; border-radius: 16px; border-color: var(--home-line); box-shadow: 0 16px 40px #0003; }
.home-refined .hero-banner-media { object-position: center 30%; filter: saturate(.8) brightness(.92); }
.home-refined .hero-banner-voice__badge { top: 10px; left: 8px; right: 8px; min-height: 22px; font-size: 9px; }
.home-refined .hero-banner-voice__name { bottom: 10px; left: 8px; right: 8px; min-height: 22px; font-size: 10px; }
.home-refined .hero-motif-guardian--intro { display: none; }
.home-refined .hero-quick-picks { grid-area: quick; width: 100%; margin: 0; }
.home-refined .hero-quick-picks__lead { display: none; }
.home-refined .hero-quick-picks__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.home-refined .hero-quick-picks__link { display: flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid var(--home-line); border-radius: 10px; background: #ffffff04; font-size: 14px; }
.home-refined .hero-actions { grid-area: actions; display: flex; flex-wrap: wrap; gap: 12px; margin: 0; width: 100%; }
.home-refined .hero-cta { min-height: 48px; padding: 14px 20px; border-radius: 12px; font: 700 15px/1.3 'Philosopher', sans-serif; text-transform: none; box-shadow: none; }
.home-refined .hero-cta--primary { background: linear-gradient(110deg, #ead6a9, #d0ae76); color: #231a18; border: 1px solid #ead6a9; }
.home-refined .hero-cta--secondary { background: transparent; border: 1px solid var(--home-line); color: var(--home-cream); }
.home-refined .hero-trust-signals { grid-area: trust; width: 100%; max-width: none; padding: 14px 0 0; border: 0; border-top: 1px solid var(--home-line); border-radius: 0; background: none; box-shadow: none; }
.home-refined .hero-social-proof__marks,
.home-refined .hero-trust-signals__dynamic,
.home-refined .hero-flow-note,
.home-refined .hero-scroll-hint { display: none; }
.home-refined .hero-social-proof { display: block; }
.home-refined .hero-social-proof__copy strong { font: 400 14px/1.5 'Philosopher', sans-serif; color: var(--home-cream); text-transform: none; }
.home-refined .hero-social-proof__copy small { font-size: 13px; color: var(--home-muted); line-height: 1.5; }
.home-refined .hero-live { grid-area: live; margin: 0; min-height: 0; }
.home-refined .hero-live:empty { display: none; }
.home-refined .hero-motif {
  grid-area: motif;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 28px;
  border: 1px solid var(--home-line);
  border-radius: 24px;
  background: radial-gradient(ellipse at 80% 0%, #69507a33, transparent 65%), linear-gradient(150deg, #292032, #181120);
  box-shadow: 0 24px 70px #0004, inset 0 1px #ffffff0d;
  gap: 16px;
}
.home-refined .hero-motif-kicker { text-align: left; color: var(--home-gold); font-size: 10px; letter-spacing: .2em; }
.home-refined .hero-motif-head { display: flex; gap: 12px; align-items: center; }
.home-refined .hero-motif-title { max-width: none; font: 700 25px/1.25 'Philosopher', serif; text-transform: none; text-align: left; color: var(--home-cream); }
.home-refined .hero-motif-icon { flex-shrink: 0; width: 32px; height: 32px; font-size: 15px; }
.home-refined .hero-motif-body { max-width: none; margin: 0; font-size: 15px; line-height: 1.6; color: var(--home-muted); text-align: left; }
.home-refined .hero-motif-progress { gap: 6px; }
.home-refined .hero-motif-progress__dot { min-height: 4px; height: 4px; box-shadow: none; }
.home-refined .hero-motif-ritual-start {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "orb" "copy" "status" "benefits";
  justify-items: center;
  gap: 16px;
  min-height: 0;
  padding: 28px 20px 18px;
  border: 0;
  border-radius: 18px;
  background: radial-gradient(ellipse at 50% 25%, #704f9426, transparent 65%), #130e1b80;
  overflow: hidden;
}
.home-refined .hero-motif-ritual-start__orb { grid-area: orb; width: 124px; margin: 14px 0; }
.home-refined .hero-motif-ritual-start__orb::before { width: 154px; height: 154px; }
.home-refined .hero-motif-ritual-start__orb::after { width: 180px; height: 180px; }
.home-refined .hero-motif-ritual-start__copy { grid-area: copy; text-align: center; }
.home-refined .hero-motif-ritual-start__copy strong,
.home-refined .hero-motif-ritual-start__eyebrow,
.home-refined .hero-motif-ritual-start__tap:not(.is-pending) { display: none; }
.home-refined .hero-motif-ritual-start__copy span { font: 400 14px/1.6 'Philosopher', sans-serif; color: var(--home-muted); max-width: 34ch; }
.home-refined .hero-motif-ritual-start__status { grid-area: status; justify-self: center; }
.home-refined .hero-motif-ritual-start__benefits { grid-area: benefits; justify-content: center; gap: 6px; }
.home-refined .hero-motif-ritual-start__benefits b { font: 400 10px/1.4 'Philosopher', sans-serif; padding: 5px 8px; }
.home-refined .hero-motif-cta { min-height: 50px; border-radius: 12px; font: 700 16px/1.3 'Philosopher', sans-serif; text-transform: none; background: linear-gradient(110deg, #ead6a9, #c6ac81); color: #241a2a; box-shadow: none; }
.home-refined .hero-motif-hint { font-size: 12px; line-height: 1.5; color: var(--home-muted); text-align: center; }
.home-refined .speech-bubble { display: none; }
.home-refined .speech-bubble.show { position: relative; inset: auto; width: 100%; height: auto; max-height: none; min-height: 44px; margin: 0 0 24px; transform: none; border-radius: 12px; font-size: 13px; }
.home-refined .cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 24px 0 48px; }
.home-refined .cards-intro { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 12px 40px; padding: 28px 0; border: 0; border-top: 1px solid var(--home-line); border-radius: 0; background: none; box-shadow: none; }
.home-refined .cards-intro__kicker { grid-column: 1; grid-row: 1; font-size: 10px; letter-spacing: .2em; color: var(--home-gold); }
.home-refined .cards-intro h2 { grid-column: 1; grid-row: 2; font: 400 clamp(28px, 3vw, 38px)/1.2 'Philosopher', serif; margin: 0; max-width: none; color: var(--home-cream); }
.home-refined .cards-intro p { grid-column: 2; grid-row: 2; margin: 0; max-width: 48ch; color: var(--home-muted); font-size: 16px; line-height: 1.6; }
.home-refined .cards .choice-card { display: flex; flex-direction: column; min-height: 0; border: 1px solid var(--home-line); border-radius: 20px; background: linear-gradient(160deg, #21182d, #15101c); box-shadow: none; transform: none; overflow: hidden; }
.home-refined .cards .choice-card:hover { border-color: #dec38d80; transform: translateY(-4px); box-shadow: 0 16px 32px #0003; }
.home-refined .cards .card-image { width: 100%; height: auto; min-height: 0; aspect-ratio: 2 / 3; background: #17111f; }
.home-refined .cards .card-image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.home-refined .cards .card-image::after { inset: auto 0 0; width: 100%; height: 60px; background: linear-gradient(transparent, #21182d); }
.home-refined .cards .card-body { display: grid; grid-template-rows: 60px 24px 72px 38px 48px 30px 40px; flex: 1; gap: 12px; padding: 20px; }
.home-refined .cards .card-body h2 { min-height: 60px; margin: 0; font: 700 26px/1.25 'Philosopher', serif; text-transform: none; }
.home-refined .cards .card-title-icon { width: 28px; height: 28px; font-size: 14px; }
.home-refined .cards .card-body > p { min-height: 72px; margin: 0; font: 400 15px/1.6 'Philosopher', sans-serif; color: var(--home-muted); }
.home-refined .cards .card-role-tag { align-self: flex-start; font-size: 10px; }
.home-refined .cards .card-signals { min-height: 38px; margin-top: 0; }
.home-refined .cards .card-action { width: 100%; min-height: 48px; padding: 12px; border-radius: 12px; font: 700 14px/1.35 'Philosopher', sans-serif; text-transform: none; }
.home-refined .cards .card-helper { min-height: 30px; font-size: 10px; line-height: 1.5; color: var(--home-muted); }
.home-refined .cards .card-helper-links { min-height: 40px; gap: 8px; font-size: 11px; line-height: 1.5; }
.home-refined .home-portal-stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.home-refined .home-daily-signal,
.home-refined .home-discovery,
.home-refined .trust,
.home-refined .home-faq { width: 100%; max-width: none; margin: 0; padding: 32px; border-radius: 20px; border-color: var(--home-line); background: #1c1525a6; box-shadow: none; }
.home-refined .home-section-head h2,
.home-refined .trust h2 { font: 400 30px/1.3 'Philosopher', serif; color: var(--home-cream); }
.home-refined .home-section-head p,
.home-refined .trust-intro { max-width: 64ch; font-size: 16px; line-height: 1.65; color: var(--home-muted); }
.home-refined .trust-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.home-refined .trust-list li { padding: 20px 20px 20px 30px; }
.home-refined .trust-list strong { font: 700 16px/1.4 'Philosopher', sans-serif; }
.home-refined .trust-list span { font-size: 14px; line-height: 1.6; color: var(--home-muted); }
.home-refined .home-faq-item summary { min-height: 56px; padding: 16px 18px; font-size: 17px; }
.home-refined .home-faq-item p { font-size: 15px; line-height: 1.7; color: var(--home-muted); }
.home-refined #dailyReturnHookMount { width: 100%; max-width: none; margin: 0 0 32px; }
.home-refined #dailyReturnHookMount .daily-engagement-panel { width: 100%; padding: 28px; border: 1px solid var(--home-line); border-radius: 20px; background: #1c1525a6; box-shadow: none; }
.home-refined #dailyReturnHookMount .daily-engagement-title { font: 400 30px/1.3 'Philosopher', serif; text-transform: none; }
.home-refined #dailyReturnHookMount .daily-engagement-home-main__copy h3 { font: 700 25px/1.3 'Philosopher', serif; text-transform: none; }
.home-refined #dailyReturnHookMount .daily-personalization-card__copy strong,
.home-refined #dailyReturnHookMount .daily-personalization-card__copy span { display: block; }
.home-refined #dailyReturnHookMount .daily-personalization-card__copy span { margin-top: 6px; line-height: 1.6; color: var(--home-muted); }
.home-refined :is(a, button, summary, input):focus-visible { outline: 2px solid #f1dcae; outline-offset: 4px; }
.home-refined :is(a, button, summary) { -webkit-tap-highlight-color: transparent; }
@media (max-width: 1099px) {
  .home-refined .shell { width: calc(100% - 40px); }
  .home-refined .hero { gap: 16px 28px; padding: 40px 0 32px; }
  .home-refined .hero h1 { font-size: 38px; }
  .home-refined .hero-copy > p { font-size: 16px; }
  .home-refined .hero-motif { padding: 22px; }
  .home-refined .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-refined .cards .card-image { aspect-ratio: 2 / 3; }
  .home-refined .trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .home-refined #portalNavMount .portal-nav-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto auto !important;
    gap: 6px 10px !important;
    padding: 10px 16px !important;
  }
  .home-refined #portalNavMount .portal-logo {
    grid-column: 1 / 3;
    grid-row: 1;
    max-width: none !important;
    font-size: 24px !important;
    overflow: visible !important;
  }
  .home-refined #portalNavMount .portal-nav-mobile-action { grid-column: 3; grid-row: 1; }
  .home-refined #portalNavMount .portal-nav-mobile-status { grid-column: 1; grid-row: 2; justify-self: start; max-width: none !important; }
  .home-refined #portalNavMount .portal-nav-mobile-ranking { grid-column: 2; grid-row: 2; }
  .home-refined #portalNavMount .portal-nav-mobile-crystals { grid-column: 3; grid-row: 2; }
  .home-refined #portalNavMount :is(.portal-nav-mobile-action, .portal-nav-mobile-status, .portal-nav-mobile-ranking, .portal-nav-mobile-crystals) {
    min-height: 44px !important;
    font-size: 11px !important;
    padding-inline: 12px !important;
    border-radius: 10px;
  }
  .home-refined .shell { width: calc(100% - 32px); }
  .home-refined .hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "quick" "motif" "actions" "trust" "live"; gap: 18px; padding: 28px 0; }
  .home-refined .hero-intro { gap: 20px; }
  .home-refined .hero-copy { gap: 12px; }
  .home-refined .home-eyebrow { font-size: 9px; letter-spacing: .18em; }
  .home-refined .hero h1 { font-size: clamp(31px, 8.2vw, 42px); line-height: 1.14; }
  .home-refined .hero-copy > p { font-size: 15px; line-height: 1.6; }
  .home-refined .hero-banner { aspect-ratio: 2.8; border-radius: 12px; }
  .home-refined .hero-banner-voice__badge { top: 6px; left: 3px; right: 3px; min-height: 18px; font-size: 8px; }
  .home-refined .hero-banner-voice__name { bottom: 6px; left: 3px; right: 3px; min-height: 18px; font-size: 8px; }
  .home-refined .hero-quick-picks__link { font-size: 13px; }
  .home-refined .hero-motif { grid-template-columns: minmax(0, 1fr); padding: 20px 16px; border-radius: 20px; gap: 12px; }
  .home-refined .hero-motif :is(.hero-motif-extra, .hero-motif-complete-stack, .hero-motif-reward-showcase, .hero-motif-profile-card, .hero-motif-profile-card__fields, .hero-motif-profile-card__copy, .hero-motif-reward-summary__copy) { min-width: 0; max-width: 100%; }
  .home-refined .hero-motif > * { min-width: 0; max-width: 100%; }
  .home-refined .hero-motif-extra { width: 100%; grid-template-columns: minmax(0, 1fr); }
  .home-refined .hero-motif-title, .home-refined .hero-motif-body { display: block; -webkit-line-clamp: unset; max-height: none; overflow: visible; overflow-wrap: anywhere; }
  .home-refined .hero-motif-profile-card input { min-width: 0; max-width: 100%; min-height: 48px; font-size: 16px; }
  .home-refined .hero-motif-profile-card__submit { white-space: normal; min-height: 44px; line-height: 1.4; }
  .home-refined .hero-motif-nav__btn { min-width: 44px; min-height: 44px; }
  .home-refined .hero-motif-cta { min-width: 0; padding: 12px; overflow-wrap: anywhere; letter-spacing: .02em; }
  .home-refined .hero-motif-cta.is-ritual-start { animation: none; box-shadow: none; }
  .home-refined .hero-motif-cta.is-ritual-start::before,
  .home-refined .hero-motif-cta.is-ritual-start::after { display: none; }
  .home-refined .hero-motif:has(.hero-motif-ritual-start) { display: flex; flex-direction: column; }
  .home-refined .hero-motif:has(.hero-motif-ritual-start) .hero-motif-actions { order: 1; width: 100%; }
  .home-refined .hero-motif:has(.hero-motif-ritual-start) .hero-motif-extra { order: 2; }
  .home-refined .hero-motif:has(.hero-motif-ritual-start) .hero-motif-hint { order: 3; }
  .home-refined .hero-motif-title { font-size: 22px; }
  .home-refined .hero-motif-body { font-size: 14px; }
  .home-refined .hero-motif-ritual-start { grid-template-columns: minmax(0, 1fr); padding: 18px 12px 12px; gap: 10px; overflow: hidden; }
  .home-refined .hero-motif-ritual-start__orb { width: 104px; margin: 12px 0; }
  .home-refined .hero-motif-ritual-start__orb::before { width: 130px; height: 130px; }
  .home-refined .hero-motif-ritual-start__orb::after { width: 150px; height: 150px; }
  .home-refined .hero-motif-ritual-start__copy span { font-size: 13px; }
  .home-refined .hero-actions { display: grid; grid-template-columns: 1fr; }
  .home-refined .hero-cta { text-align: center; justify-content: center; }
  .home-refined .cards { gap: 18px; margin: 12px 0 32px; }
  .home-refined .cards-intro { grid-template-columns: 1fr; gap: 12px; padding: 24px 0 8px; }
  .home-refined .cards-intro h2 { font-size: 30px; }
  .home-refined .cards-intro p { font-size: 15px; }
  .home-refined .cards-intro p { grid-column: 1; grid-row: 3; }
  .home-refined .cards { grid-template-columns: 1fr; }
  .home-refined .cards .card-image { aspect-ratio: 2 / 3; }
  .home-refined .cards .card-body { display: flex; padding: 22px; }
  .home-refined .cards .card-body h2 { min-height: 0; }
  .home-refined .cards .card-body > p { min-height: 0; }
  .home-refined .cards .card-signals { min-height: 0; }
  .home-refined .cards .card-helper-links { min-height: 0; }
  .home-refined .cards .card-helper-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; padding: 4px 6px; }
  .home-refined .home-faq-item summary { padding: 16px 12px; font-family: 'Philosopher', sans-serif; font-size: 16px; line-height: 1.5; }
  .home-refined .home-portal-stack { gap: 20px; }
  .home-refined :is(.home-daily-signal, .home-discovery, .trust, .home-faq) { padding: 22px 18px; border-radius: 16px; }
  .home-refined .home-section-head h2, .home-refined .trust h2 { font-size: 26px; }
  .home-refined .home-section-head p, .home-refined .trust-intro { font-size: 15px; }
  .home-refined .trust-list { grid-template-columns: 1fr; }
  .home-refined .trust-paths a { padding: 10px 12px; }
  .home-refined #dailyReturnHookMount .daily-engagement-panel { padding: 20px 16px; }
  .home-refined #dailyReturnHookMount .daily-engagement-title { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-refined *, .home-refined *::before, .home-refined *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
