/* My Brain Score: one page for steps, dates and results. Single column on phones, two columns on a computer. */
.me-app { align-items: stretch; }
.me-grid { display: grid; gap: 20px; width: 100%; grid-template-columns: minmax(0, 1fr); }
.me-card { text-align: left; }
.me-card h1 { font-size: 24px; margin: 0 0 6px; }
.me-sub { font-family: var(--font-subtitle); font-size: 15px; margin: 0 0 8px; color: rgba(65, 65, 46, 0.82); }
.me-offer { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--sand); }
.me-offer p { font-family: var(--font-subtitle); font-size: 15px; line-height: 1.5; margin: 0 0 10px; }
.me-offer .actions { justify-content: center; }
.me-foot { font-family: var(--font-subtitle); font-size: 12px; line-height: 1.5; color: rgba(240, 232, 217, 0.7); text-align: center; max-width: 560px; margin: 22px auto 0; }

/* results */
.me-hero { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin: 4px 0 6px; }
.me-score { font-family: var(--font-headline); font-size: 68px; line-height: 1; letter-spacing: -0.03em; color: var(--ink); }
.me-score small { display: block; font-family: var(--font-body); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(65, 65, 46, 0.82); margin-top: 6px; }
.me-hero-text { flex: 1 1 220px; min-width: 0; }
.me-hero-text p { font-family: var(--font-subtitle); font-size: 15px; line-height: 1.5; margin: 8px 0 0; }
.me-match { font-family: var(--font-headline); font-size: 22px; color: var(--accent); margin: 18px 0 4px; }
.me-heading { font-family: var(--font-subtitle); font-weight: 600; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tan); margin: 26px 0 8px; padding-top: 18px; border-top: 1px solid var(--sand); }
.me-note { font-family: var(--font-subtitle); font-size: 14px; line-height: 1.5; margin: 0 0 10px; }
.me-area { padding: 12px 0; border-top: 1px dashed var(--sand); }
.me-area:first-of-type { border-top: 0; }
.me-area-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.me-area-name { font-family: var(--font-subtitle); font-weight: 600; font-size: 16px; }
.me-area-result { font-family: var(--font-subtitle); font-size: 13px; color: rgba(65, 65, 46, 0.82); }
.me-bar { position: relative; height: 10px; border-radius: 999px; margin: 10px 0 2px; display: flex; overflow: visible; background: var(--sand); }
.me-bar i { display: block; height: 100%; }
/* prov-3 (2026-11-18): labels change at z 1.0 = 16% and 84% on this bar (pct is phi(z)) */
.me-bar i:nth-child(1) { width: 16%; background: #AA9476; border-radius: 999px 0 0 999px; }
.me-bar i:nth-child(2) { width: 68%; background: #D7C7A9; }
.me-bar i:nth-child(3) { width: 16%; background: #9E9E7D; border-radius: 0 999px 999px 0; }
.me-dot { position: absolute; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--accent); border: 3px solid #F0E8D9; box-shadow: 0 1px 4px rgba(27, 27, 26, 0.3); }
.me-legend { display: flex; justify-content: space-between; font-family: var(--font-subtitle); font-size: 11px; color: var(--tan); }
.me-chip { display: inline-block; font-family: var(--font-subtitle); font-weight: 600; font-size: 12px; padding: 3px 10px; border-radius: 999px; background: var(--sand); color: var(--accent); }
.me-chip.above { background: rgba(158, 158, 125, 0.35); color: #41412E; box-shadow: inset 0 0 0 1px #9E9E7D; }
.me-chip.below { background: rgba(170, 148, 118, 0.2); color: #41412E; box-shadow: inset 0 0 0 1px #AA9476; }
@media (min-width: 980px) {
  body.app-mode .me-app { max-width: 1120px; }
  .me-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px; align-items: start; }
}

.me-purpose { margin-bottom: 20px; }
.me-purpose h1 { font-size: 22px; }
.me-three { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 14px; }
.me-three div { background: rgba(215, 199, 169, 0.3); border: 1px solid var(--sand); border-radius: 14px; padding: 14px 16px; }
.me-three b { display: block; font-family: var(--font-subtitle); font-size: 15px; color: var(--accent); margin-bottom: 4px; }
.me-three span { font-family: var(--font-subtitle); font-size: 14px; line-height: 1.45; color: #41412E; }
@media (min-width: 760px) { .me-three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 980px) { body.app-mode .me-purpose { max-width: 1120px; width: 100%; } }
.faq-item { border-top: 1px solid var(--sand); padding: 4px 0; text-align: left; }
.faq-item:first-of-type { border-top: 0; }
.faq-item summary { cursor: pointer; font-family: var(--font-subtitle); font-weight: 600; font-size: 17px; line-height: 1.4; padding: 14px 28px 14px 0; list-style: none; position: relative; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 4px; top: 12px; font-size: 22px; color: var(--tan); }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { font-family: var(--font-subtitle); font-size: 15px; line-height: 1.6; margin: 0 0 14px; color: #41412E; }

/* Text alignment, same rule as the test screens: each card's kicker and title centered, buttons and one line notes
   centered, all reading text in between (the lede, tiles, steps, results, the offer text) left aligned. */
.me-card > .am-kicker, .me-card > h1, #me-results-card > .am-kicker { text-align: center; }
#me-purpose > .me-sub:last-child { text-align: center; }
.me-card .mission-cta { text-align: center; }
.me-offer .results-sub { text-align: center; }

/* NeuroHaven Age card: the results screen's .nha-card (app-mode.css), sized for the results column here. */
.me-nha-card { margin: 4px 0 18px; box-shadow: 0 24px 48px -30px rgba(27,27,26,0.55); }
.me-nha-card .nha-age { font-size: clamp(84px, 22vw, 116px); }
.me-nha-card .nha-pill { margin-top: 12px; }
@media (prefers-reduced-motion: reduce) { .me-nha-card { animation: none !important; } }
