/* ============================================================
   For You & Family — /for-you/ cluster styles
   Scoped: body.fy-page. Reuses ug-brand.css tokens/components.
   Dark-only. No theme machinery. Reduced-motion safe.
   ============================================================ */

/* ── Hero ─────────────────────────────────────────────────── */
.fy-hero {
  position: relative;
  padding: clamp(96px, 14vw, 190px) 0 clamp(56px, 7vw, 110px);
  background-color: var(--bg-0);
  /* Layered fallback: radial glow + dotted grid look complete on their own.
     When /images/for-you/hero-bg.webp lands it sits on top and enriches
     the scene; the dark base keeps text legible either way. */
  background-image:
    linear-gradient(90deg, rgba(11,11,12,.94) 0%, rgba(11,11,12,.72) 42%, rgba(11,11,12,.38) 100%),
    radial-gradient(60% 90% at 78% 40%, rgba(60,219,192,.10) 0%, rgba(11,11,12,0) 70%),
    radial-gradient(rgba(255,255,255,.055) 1px, transparent 1.4px),
    url(/images/for-you/hero-bg.webp);
  background-size: auto, auto, 22px 22px, cover;
  background-position: center, center, 0 0, center 30%;
  background-repeat: no-repeat, no-repeat, repeat, no-repeat;
  overflow: hidden;
}
.fy-hero__inner { position: relative; z-index: 1; max-width: 640px; }
.fy-hero .eyebrow { margin-bottom: 18px; }
.fy-hero h1 {
  font-size: clamp(2.1rem, 5.4vw, 3.6rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
  color: var(--text-hi);
}
.fy-hero h1 .accent { color: var(--accent); }
.fy-hero .lead {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: var(--text-body);
  max-width: 34em;
  margin: 0 0 32px;
}
.fy-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.fy-hero__note { margin-top: 18px; font-size: .85rem; color: var(--text-mute); }

/* WhatsApp glyph (canonical bubble, aligned) */
.fy-wa { display: inline-flex; align-items: center; gap: 9px; }
.fy-wa svg { width: 18px; height: 18px; display: block; flex: none; }

/* ── Tool cards row ───────────────────────────────────────── */
.fy-tools {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}
.fy-tool {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}
.fy-tool:hover, .fy-tool:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(60,219,192,.45);
  box-shadow: var(--shadow-hover);
}
.fy-tool__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
}
.fy-tool__icon img { width: 32px; height: 32px; object-fit: contain; }
.fy-tool h3 { margin: 0; font-size: 1.05rem; color: var(--text-hi); }
.fy-tool p { margin: 0; font-size: .9rem; color: var(--text-body); flex: 1; }
.fy-tool__go {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}
.fy-tool__free {
  position: absolute; top: 14px; right: 14px;
  font-family: var(--font-mono); font-size: .75rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(60,219,192,.35);
  border-radius: 4px; /* brand tag style, not a pill */
  padding: 3px 9px;
}

/* ── Bento: what usually goes wrong ───────────────────────── */
.fy-bento {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}
.fy-bad {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 24px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-decoration: none; color: inherit;
  transition: transform var(--transition-base), border-color var(--transition-base);
}
.fy-bad:hover, .fy-bad:focus-visible { transform: translateY(-3px); border-color: rgba(60,219,192,.45); }
.fy-bad__icon {
  flex: none;
  width: 44px; height: 44px;
  display: grid; place-items: center;
}
.fy-bad__icon img { width: 32px; height: 32px; object-fit: contain; }
.fy-bad h3 { margin: 0 0 6px; font-size: 1.02rem; color: var(--text-hi); }
.fy-bad p { margin: 0 0 10px; font-size: .9rem; color: var(--text-body); }
.fy-bad__go { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }

/* ── Checklist ────────────────────────────────────────────── */
.fy-check {
  margin-top: 30px;
  padding: clamp(22px, 3vw, 40px);
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.fy-check__head { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.fy-check__count { font-family: var(--font-mono); font-size: .8rem; color: var(--text-mute); }
.fy-check__bar { height: 4px; background: rgba(255,255,255,.07); border-radius: var(--radius-pill); overflow: hidden; margin: 14px 0 24px; }
.fy-check__bar span { display: block; height: 100%; width: 0%; background: var(--accent); transition: width 300ms ease; }
.fy-q {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}
.fy-q:first-of-type { border-top: 0; }
.fy-q__text { margin: 0; font-size: .96rem; color: var(--text-body); }
.fy-q__opts { display: flex; gap: 8px; }
.fy-q__opts button {
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .08em;
  padding: 8px 16px;
  border-radius: 6px; /* brand button radius, no pill buttons */
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-body);
  cursor: pointer;
  transition: background var(--transition-base), color var(--transition-base), border-color var(--transition-base);
}
.fy-q__opts button:hover { border-color: rgba(60,219,192,.5); color: var(--text-hi); }
/* Responsive remediation 2026-09-15 (W1): 44px touch targets */
@media (pointer: coarse) {
  .fy-q__opts button { min-height: 44px; padding: 10px 18px; }
}
.fy-q__opts button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 700; }
.fy-q__opts button.fy-q__yes[aria-pressed="true"] { background: #E5484D; border-color: #E5484D; color: #fff; }
.fy-result {
  display: none;
  margin-top: 26px;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.fy-result.is-on { display: block; }
.fy-result h3 { margin: 0 0 8px; font-size: 1.15rem; color: var(--text-hi); display: flex; align-items: center; gap: 10px; }
.fy-result h3 img { width: 24px; height: 24px; }
.fy-result p { margin: 0 0 16px; color: var(--text-body); font-size: .95rem; }
.fy-result__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.fy-result--fine { border-color: rgba(60,219,192,.4); }
.fy-result--tidy { border-color: rgba(255,196,87,.45); }
.fy-result--act { border-color: rgba(229,72,77,.55); }
.fy-check__privacy { margin: 18px 0 0; font-size: .8rem; color: var(--text-mute); display: flex; align-items: center; gap: 8px; }
.fy-check__privacy img { width: 15px; height: 15px; opacity: .7; }

/* ── Urgent (incident) band ───────────────────────────────── */
.fy-urgent {
  margin-top: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 26px;
  padding: clamp(24px, 3vw, 40px);
  background: linear-gradient(135deg, rgba(229,72,77,.10), rgba(11,11,12,0) 55%), var(--bg-1);
  border: 1px solid rgba(229,72,77,.35);
  border-radius: var(--radius-lg);
}
.fy-urgent h3 { margin: 0 0 14px; color: var(--text-hi); font-size: 1.2rem; }
.fy-urgent ol { margin: 0; padding-left: 20px; color: var(--text-body); font-size: .95rem; }
.fy-urgent ol li { margin-bottom: 8px; }
.fy-urgent ol a { color: var(--accent); }
.fy-urgent__side { display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.fy-urgent__phone {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--text-hi);
  text-decoration: none;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  transition: border-color var(--transition-base);
}
.fy-urgent__phone:hover { border-color: rgba(60,219,192,.5); }
.fy-urgent__phone img { width: 24px; height: 24px; }
.fy-urgent__phone small { display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-mute); }

/* ── Story band ───────────────────────────────────────────── */
.fy-story {
  margin-top: clamp(56px, 8vw, 96px);
  padding: clamp(32px, 5vw, 64px);
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  position: relative;
}
.fy-story::before {
  content: "\201C";
  position: absolute;
  top: 6px; left: 22px;
  font-size: 5rem;
  line-height: 1;
  color: rgba(60,219,192,.25);
  font-family: Georgia, serif;
}
.fy-story blockquote { margin: 0; font-size: clamp(1.05rem, 2vw, 1.35rem); line-height: 1.5; color: var(--text-hi); max-width: 46em; }
.fy-story blockquote em { color: var(--accent); font-style: normal; }
.fy-story figcaption { margin-top: 16px; font-family: var(--font-mono); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-mute); }

/* ── Coming soon strip ────────────────────────────────────── */
.fy-soon {
  margin-top: 26px;
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  border: 1px dashed rgba(60,219,192,.4);
  border-radius: var(--radius-lg);
  background: rgba(60,219,192,.05);
}
.fy-soon strong { color: var(--text-hi); font-weight: 600; }
.fy-soon p { margin: 0; font-size: .92rem; color: var(--text-body); max-width: 46em; }

/* ── Final CTA ────────────────────────────────────────────── */
.fy-cta {
  margin-top: clamp(56px, 8vw, 96px);
  text-align: center;
  padding: clamp(40px, 6vw, 72px) 24px;
  background:
    radial-gradient(50% 120% at 50% 0%, rgba(60,219,192,.12) 0%, rgba(11,11,12,0) 70%),
    var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.fy-cta h2 { margin: 0 0 12px; color: var(--text-hi); font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
.fy-cta p { margin: 0 auto 26px; max-width: 36em; color: var(--text-body); }
.fy-cta__row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 960px) {
  .fy-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fy-urgent { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .fy-tools { grid-template-columns: 1fr; }
  .fy-bento { grid-template-columns: 1fr; }
  .fy-q { grid-template-columns: 1fr; }
  .fy-hero { background-position: center, center, 0 0, center 20%; }
}
@media (prefers-reduced-motion: reduce) {
  .fy-tool, .fy-bad, .fy-check__bar span { transition: none; }
}
