/* W1 website fix release (Oct 2026): crisis lines, footer disclaimer, merged app button, audience
   line, feedback age paths and tap targets. Loaded last on every page; keeps the live look. */

/* Header: one app button ("Open Breemaia") instead of Open App + Try Breemaia. */
.vision .site-head .nav-actions > a.w1-open { display: inline-flex; align-items: center; }

/* Hero (home): honest age line under the main button, film link below it. */
.m-hero-content .w1-age-note { margin: 0 0 6px; max-width: 470px; }
.m-hero-content .w1-film-line { margin: 0; }
.m-hero-content .w1-film-line a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; font-weight: 700; text-underline-offset: 3px; }
.w1-promise { font-weight: 800; font-size: 1.15em; }

/* Crisis and support lines: the app's "unknown region" list (Canada and the US). Teal, not red;
   emergency gets the app's amber accent. */
.w1-crisis { display: grid; gap: 10px; width: 100%; }
.w1-crisis-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.w1-crisis-list li { margin: 0; padding: 0; }
.w1-crisis-list li::before { content: none !important; display: none !important; }
:is(#help-now, #terms-urgent, body) .w1-crisis a.w1-crisis-line { margin: 0; text-decoration: none; line-height: 1.35; display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 56px; padding: 10px 16px; background: #fffefa; color: #104e5c !important; border: 1px solid #70a8ad; border-left: 5px solid #2aa8a0; border-radius: 10px; text-decoration: none; }
:is(#help-now, #terms-urgent, body) .w1-crisis a.w1-crisis-line strong { font-size: 17px; line-height: 1.25; color: #0b3f4a; }
:is(#help-now, #terms-urgent, body) .w1-crisis a.w1-crisis-line span { font-size: 14.5px; line-height: 1.35; color: #285b66; }
:is(#help-now, #terms-urgent, body) .w1-crisis a.w1-crisis-line:hover strong, :is(#help-now, #terms-urgent, body) .w1-crisis a.w1-crisis-line:focus-visible strong { text-decoration: underline; text-underline-offset: 3px; }
:is(#help-now, #terms-urgent, body) .w1-crisis a.w1-crisis-line.w1-crisis-emergency { border-left-color: #e3961c; background: #fffaf0; }
:is(#help-now, #terms-urgent, body) .w1-crisis .w1-crisis-else, .w1-crisis-else { margin: 2px 0 0; font-weight: 700; }
#terms-urgent .w1-crisis { align-self: start; }
:is(#help-now, #terms-urgent, body) .w1-crisis a.w1-crisis-line::after { content: none; }

/* Footer: four link groups (adds "For supporters") and a clear disclaimer on every page. */
@media (min-width: 900px) { .site-foot .foot-grid.w1-foot-grid { grid-template-columns: 1.6fr repeat(4, 1fr); } }
.site-foot p.w1-disclaimer { margin: 28px 0 0; padding: 14px 16px; border: 1px solid rgba(255, 253, 247, 0.35); border-radius: 10px; font-size: 15px; line-height: 1.5; color: #fffdf7; max-width: 900px; }
.site-foot p.w1-disclaimer a { color: #fffdf7; text-decoration: underline; text-underline-offset: 3px; display: inline-block; padding-block: 2px; }
.site-foot .foot-grid a { min-height: 24px; }

/* Legal pages: last-updated line and readable lists. */
.w1-updated { font-size: 15px; opacity: 0.85; }
.w1-reading-list { max-width: 820px; }
.w1-reading-list li { margin-bottom: 10px; line-height: 1.55; }

/* Tap targets (audit P2-3): standalone text links at least 44px tall; inline links are unaffected. */
main a:not(.btn):not(p a):not(li a):not(dd a):not(.w1-crisis-line):not(:has(img, picture, video, h2, h3, article, div)) { display: inline-flex; align-items: center; min-height: 44px; }
main p > a:only-child:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; }
.w1-access-link { display: inline-flex; align-items: center; min-height: 44px; }
.request-form input[type="checkbox"], .feedback-form input[type="checkbox"] { width: 24px; height: 24px; flex: 0 0 24px; }

/* Feedback: under-13 and 13-17 paths. */
.w1-minor-note { margin: 4px 0 12px; padding: 12px 14px; border-radius: 10px; background: rgba(42, 168, 160, 0.1); border: 1px solid rgba(42, 168, 160, 0.35); }
.w1-minor-note p { margin: 0 0 8px; }
.w1-minor-note .w1-check { display: flex; gap: 10px; align-items: center; min-height: 44px; }

/* 404 */
.w1-404 { min-height: 50vh; box-sizing: border-box; width: min(1100px, 100%); margin: 0 auto; padding: 48px 20px; }
.w1-404 .actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0; }

/* W2 (Nov 2026): Bree at the top of the home hero, so people arriving from Bree's videos know they are in
   the right place. The image is a real rig render (media/w2/bree-hello.webp), only ever scaled evenly. */
.m-hero-content > .w2-bree { margin: 0 0 14px; line-height: 0; }
.m-hero-content > .w2-bree img { display: block; width: clamp(150px, 13vw, 200px); height: auto; }
@media (max-width: 650px) {
  .whole-app.home .m-hero { padding-top: calc(126vw - 36px); }
  .m-hero-content > .w2-bree { position: absolute; top: -72px; right: 0; margin: 0; }
  .m-hero-content > .w2-bree img { width: 156px; }
}

/* W2: /try, the short page for social bios and captions. Bree large, one line, one button. */
.w2-try { background: radial-gradient(ellipse at 50% 20%, #156173 0%, #0b4756 40%, #073d49 75%); color: #fff; }
.w2-try-hero { padding: 16px 20px 44px; }
.w2-try-inner { max-width: 560px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.w2-try-bree { line-height: 0; margin: 0 0 4px; }
.w2-try-bree img { display: block; width: min(270px, 70vw); height: auto; }
@media (prefers-reduced-motion: no-preference) { .w2-try-bree img { animation: w2-float 6s ease-in-out infinite; } }
@keyframes w2-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.whole-app main.w2-try h1 { color: #fff; font-size: clamp(28px, 7.2vw, 46px); line-height: 1.12; margin: 0 0 18px; max-width: 19ch; }
.w2-try-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; width: 100%; text-align: left; }
.whole-app main.w2-try .w2-try-list li { position: relative; margin: 0; padding: 10px 14px 10px 40px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(132, 226, 240, 0.3); border-radius: 14px; font-size: 16px; line-height: 1.4; color: #e3f4f6; }
.w2-try-list li::before { content: ''; position: absolute; left: 16px; top: 17px; width: 10px; height: 10px; border-radius: 50%; background: #5fe3f0; box-shadow: 0 0 10px #5fe3f0; }
.w2-try-list strong { color: #fff; }
.w2-try-actions { margin: 0 0 14px; }
.w2-try-actions .btn { font-size: 18px; min-height: 54px; padding: 14px 26px; }
.whole-app main.w2-try .w2-try-age { margin: 0 0 10px; font-size: 15px; line-height: 1.45; color: #d4edf0; max-width: 36ch; }
.w2-try-help { margin: 0; }
main .w2-try-help a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: #c62828; color: #fff; font-weight: 800; font-size: 15px; text-decoration: none; }
main .w2-try-help a:hover, main .w2-try-help a:focus-visible { background: #a51f1f; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 900px) { .w2-try-hero { padding: 32px 20px 72px; } .w2-try-bree img { width: 360px; } }

/* W4 (Nov 2026): clear-cut fixes from the owner audit. */
/* /try: one quiet line under the button, so the email step is expected. */
.whole-app main.w2-try .w4-try-code { margin: -4px 0 12px; font-size: 14px; line-height: 1.4; color: #bfe3e8; }
/* 404: the help link is the same red pill as on /try. */
.w1-404 .w2-try-help { margin: 0 0 18px; }
/* Watch & listen: the section that lost its left half keeps one readable column. */
.split.w4-split-one { grid-template-columns: minmax(0, 1fr); max-width: 640px; }

/* W4, part B: /try shows the real app. A short silent loop of the app (Release 8.9) in a plain phone outline,
   next to the three lines, so the picture and the button share the first screen on a phone. */
.w4-try .w2-try-bree img { width: min(150px, 40vw); }
.whole-app main.w2-try.w4-try h1 { font-size: clamp(25px, 6.6vw, 46px); margin: 0 0 8px; }
.whole-app main.w2-try .w4-try-what { margin: 0 0 12px; font-size: 15px; line-height: 1.4; color: #e3f4f6; max-width: 34ch; }
.w4-try-show { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 12px; align-items: center; width: 100%; margin: 0 0 14px; }
.w4-try-show .w2-try-list { margin: 0; gap: 8px; }
.whole-app main.w2-try .w4-try-show .w2-try-list li { padding: 8px 10px 8px 28px; font-size: 14.5px; line-height: 1.35; }
.w4-try-show .w2-try-list li::before { left: 11px; top: 14px; width: 8px; height: 8px; }
.w4-phone { margin: 0; padding: 4px; border-radius: 20px; background: #06242c; border: 1px solid rgba(132, 226, 240, 0.55); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35); }
.w4-phone-screen { border-radius: 16px; overflow: hidden; aspect-ratio: 360 / 780; background: #0b4756; line-height: 0; }
.w4-phone video { display: block; width: 100%; height: 100%; object-fit: cover; }
.w4-try .w2-try-actions { margin: 0 0 10px; }
.whole-app main.w2-try.w4-try .w4-try-code { margin: 0 0 6px; }
.whole-app main.w2-try.w4-try .w2-try-age { margin: 0 0 8px; }
@media (min-width: 900px) {
  /* Wide screens: the words on the left, the phone on the right, both in the first screen. */
  .w4-try .w2-try-inner { max-width: 900px; display: grid; grid-template-columns: minmax(0, 1fr) 250px; column-gap: 56px; justify-items: center; align-items: center; }
  .w4-try .w2-try-inner > * { grid-column: 1; }
  .w4-try-show { display: contents; }
  .w4-try-show .w4-phone { grid-column: 2; grid-row: 1 / span 9; width: 250px; padding: 6px; border-radius: 30px; }
  .w4-try-show .w4-phone .w4-phone-screen { border-radius: 24px; }
  .w4-try-show .w2-try-list { grid-column: 1; margin: 0 0 22px; gap: 10px; }
  .whole-app main.w2-try .w4-try-show .w2-try-list li { padding: 10px 14px 10px 40px; font-size: 16px; line-height: 1.4; }
  .w4-try-show .w2-try-list li::before { left: 16px; top: 17px; width: 10px; height: 10px; }
  .w4-try .w2-try-hero { padding-top: 24px; }
  .w4-try .w2-try-bree img { width: 200px; }
  .whole-app main.w2-try.w4-try .w2-try-age { max-width: none; }
  .whole-app main.w2-try .w4-try-what { font-size: 17px; margin: 0 0 18px; }
  .whole-app main.w2-try.w4-try h1 { margin: 0 0 12px; }
}

/* "Follow Bree": plain links to the public profiles, on /try and in every footer. */
.w4-follow { display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; margin: 0; font-size: 15px; }
.w4-follow strong { font-weight: 800; }
.w4-follow a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.whole-app main.w2-try .w4-follow { justify-content: center; margin: 12px 0 0; color: #d4edf0; }
.whole-app main.w2-try .w4-follow a { color: #fff; }
.site-foot .w4-follow { margin: 22px 0 0; color: #fffdf7; }
