/*
 * BlameTrev marketing site — www.blametrev.com/, /terms, /privacy.
 *
 * Colours and type are the app's own (apps/mobile/theme/index.ts): the navy
 * canvas, the orange CTA, cream/blue/green surfaces, Plus Jakarta Sans for
 * everything and Baloo 2 for the wordmark only. The mood scale colours appear
 * only where the page shows the mood feature.
 */
:root {
  --navy: #001a66;
  --navy-top: #002498;
  --navy-bottom: #001244;
  --navy-1: #0a2380;
  --navy-2: #13318f;
  --navy-3: #1d3fa3;
  --navy-line: #3a5bc0;
  --navy-footer: #000e3a;
  --orange: #ef8354;
  --orange-deep: #de6b39;
  --orange-soft: #f4a07a;
  --blue: #2e6fb0;
  --blue-deep: #23588f;
  --blue-soft: #4f8ac6;
  --on-blue-body: #eaf2fd;
  --on-blue-muted: #cde0f6;
  --ink: #1e2f35;
  --brand-ink: #214e58;
  --text: #55656c;
  --text-strong: #3f4f56;
  --muted: #8c9ba0;
  --cream: #fbeee0;
  --cream-2: #f3d9bf;
  --cream-ink: #5b4632;
  --green: #e6f0e4;
  --green-2: #c9dec5;
  --green-ink: #5c8a5b;
  --green-text: #3f5540;
  --grey: #f1f3f6;
  --support: #fbe7e0;
  --support-ink: #b14a2d;
  --support-dark: #8e3820;
  --radius: 26px;
  --pad: clamp(16px, 8.3vw, 120px);
  --section: clamp(64px, 8vw, 112px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-deep); }
a:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p { margin: 0; }
svg.i { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: #fff; padding: 10px 16px; border-radius: 10px; }

/* ---------- buttons (pill, as in the app) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font-weight: 800; font-size: 16px; white-space: nowrap;
  transition: transform 0.12s ease, background 0.12s ease;
}
.btn:active { transform: scale(0.97); }
.btn-orange { background: var(--orange); color: var(--navy); }
.btn-orange:hover { background: var(--orange-deep); color: var(--navy); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--on-blue-body); color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); color: #fff; }
.btn-lg { min-height: 58px; padding: 0 32px; font-size: 17px; }

/* ---------- header ---------- */
.nav {
  background: var(--navy); height: 80px; padding: 0 clamp(16px, 4vw, 60px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand:hover { color: #fff; }
.brand img { width: 40px; height: 40px; border-radius: 7px; }
.wordmark { font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 28px; letter-spacing: -0.3px; line-height: 1; }
.wordmark span { color: var(--orange); }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: 15px; font-weight: 600; }
.nav-links a, .nav-signin { color: #fff; }
.nav-links a:hover, .nav-signin:hover { color: var(--orange); }
.nav-left { display: flex; align-items: center; gap: 44px; }
.nav-right { display: flex; align-items: center; gap: 24px; font-size: 15px; font-weight: 600; }
.nav-right .btn { min-height: 46px; padding: 0 22px; font-size: 15px; }

/* ---------- hero ---------- */
.hero { background: var(--navy); color: #fff; text-align: center; }
.hero-copy { padding: clamp(48px, 6vw, 72px) var(--pad) 56px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.hero h1 { font-size: clamp(48px, 7.2vw, 96px); line-height: 1; font-weight: 800; letter-spacing: -0.035em; }
.hero h1 span { color: var(--orange); }
.hero-sub { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.55; font-weight: 600; color: var(--on-blue-body); max-width: 640px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero-band { position: relative; height: 440px; overflow: hidden; }
.mosaic {
  position: absolute; left: 50%; top: 80px; transform: translateX(-50%);
  display: grid; grid-template-columns: repeat(8, 180px); grid-auto-rows: 180px;
}
.tile { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.tile svg.i { width: 92px; height: 92px; color: var(--navy-line); stroke-width: 1.8; }
.tile .face { width: 132px; height: 132px; border-radius: 999px; border: 4px solid var(--orange); }
.t1 { background: var(--navy-1); } .t2 { background: var(--navy-2); } .t0 { background: var(--navy); }
.t-orange { background: var(--orange); }
.shape { position: absolute; background: var(--navy-3); }
.q-br { inset: 0; border-radius: 0 0 100% 0; }
.q-tl { inset: 0; border-radius: 100% 0 0 0; }
.tri { inset: 0; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.half { left: 0; right: 0; bottom: 0; height: 50%; border-radius: 999px 999px 0 0; }
.dots { display: grid; grid-template-columns: repeat(2, 60px); gap: 20px; }
.dots span { width: 60px; height: 60px; border-radius: 999px; background: var(--navy-3); }
.dots span:last-child { background: var(--orange); }

/* phone mock (chat) */
.phone {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: 380px; height: 520px; padding: 12px 12px 0;
  background: #0b1233; border-radius: 52px 52px 0 0; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.screen { height: 100%; border-radius: 42px 42px 0 0; overflow: hidden; background: linear-gradient(180deg, var(--navy-top), var(--navy-bottom)); text-align: left; }
.chat-head { padding: 40px 22px 14px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.chat-head img { width: 42px; height: 42px; border-radius: 999px; border: 2px solid var(--orange); }
.chat-head strong { display: block; font-size: 16px; }
.chat-head small { font-size: 12px; color: var(--on-blue-muted); }
.chat { padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.5; }
.bubble { max-width: 260px; padding: 11px 14px; border-radius: 18px 18px 18px 6px; background: #fff; color: var(--ink); align-self: flex-start; }
.bubble.me { align-self: flex-end; max-width: 250px; border-radius: 18px 18px 6px 18px; background: var(--orange); color: var(--navy); font-weight: 600; }

/* ---------- shared section bits ---------- */
.section { padding: var(--section) var(--pad); }
.wrap { max-width: 1200px; margin: 0 auto; }
.head { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; margin-bottom: 48px; }
.head h2, .h2 { font-size: clamp(34px, 3.8vw, 52px); line-height: 1.08; font-weight: 800; letter-spacing: -0.035em; }
.head p { font-size: 18px; color: var(--text); }
.h2-sm { font-size: clamp(30px, 3.1vw, 44px); line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; }
.lead { font-size: 18px; line-height: 1.7; color: var(--text-strong); }
.link-strong { font-size: 16px; font-weight: 800; }

/* promises */
.promises { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.promise { display: flex; gap: 16px; align-items: flex-start; }
.badge { width: 48px; height: 48px; flex-shrink: 0; border-radius: 999px; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; }
.badge svg { width: 22px; height: 22px; }
.promise strong { display: block; font-size: 18px; margin-bottom: 4px; }
.promise div > span { font-size: 15px; line-height: 1.5; color: var(--text); }

/* what is */
.about { background: var(--grey); }
.about .wrap { display: flex; align-items: center; gap: 72px; }
.trio { width: 520px; max-width: 100%; aspect-ratio: 520 / 340; flex-shrink: 0; border-radius: var(--radius); background: var(--navy); display: flex; align-items: center; justify-content: center; }
.trio img { width: 33%; aspect-ratio: 1; border-radius: 999px; border: 6px solid var(--orange); }
.trio img:nth-child(2) { width: 39%; margin: 0 -6.5%; position: relative; z-index: 1; }
.about-copy { display: flex; flex-direction: column; gap: 20px; }
.about-copy strong { color: var(--ink); }

/* why grid */
.blocks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.block { min-height: 400px; border-radius: var(--radius); display: flex; flex-direction: column; overflow: hidden; color: var(--navy); }
.block-copy { padding: 32px 32px 24px; display: flex; flex-direction: column; gap: 14px; }
.block h3 { font-size: 30px; line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; }
.block p { font-size: 16px; line-height: 1.6; }
.strip { margin-top: auto; display: flex; }
.strip > div { flex: 1; height: 120px; display: flex; align-items: center; justify-content: center; }
.strip svg { width: 56px; height: 56px; stroke-width: 1.8; }
.b-orange { background: var(--orange); }
.b-sky { background: var(--on-blue-body); } .b-sky p { color: var(--brand-ink); }
.b-navy { background: var(--navy); color: #fff; } .b-navy p { color: var(--on-blue-muted); }
.b-blue { background: var(--blue); color: #fff; } .b-blue p { color: var(--on-blue-body); }
.b-cream { background: var(--cream); } .b-cream p { color: var(--cream-ink); }
.b-green { background: var(--green); } .b-green p { color: var(--green-text); }
.block .solo { margin-top: auto; align-self: center; padding-bottom: 28px; }
.block .solo img { width: 150px; height: 150px; border-radius: 999px; border: 5px solid var(--orange); }

/* feature list */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 48px; row-gap: 40px; }
.feature { display: flex; gap: 16px; }
.feature svg { width: 26px; height: 26px; color: var(--orange); stroke-width: 2.2; }
.feature strong { display: block; font-size: 17px; margin-bottom: 4px; }
.feature span { font-size: 15px; line-height: 1.55; color: var(--text); }

/* who it's for */
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; border-radius: var(--radius); overflow: hidden; }
.person { min-height: 440px; padding: 30px 28px 0; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.person h3 { font-size: 28px; line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; }
.person p { font-size: 15px; line-height: 1.55; }
.person > img { margin-top: auto; align-self: center; width: 220px; height: 220px; border-radius: 110px 110px 0 0; }
.p-orange { background: var(--orange); color: var(--navy); }
.p-blue { background: var(--blue); color: #fff; } .p-blue p { color: var(--on-blue-body); }
.p-cream { background: var(--cream); color: var(--navy); } .p-cream p { color: var(--cream-ink); }
.p-navy { background: var(--navy); color: #fff; } .p-navy p { color: var(--on-blue-muted); }
.p-navy a { color: var(--orange); font-weight: 800; font-size: 15px; }
.p-navy a:hover { color: var(--orange-soft); }
.minigrid { margin: auto -28px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 96px; }

/* plans */
.plans .wrap { display: flex; gap: 40px; align-items: flex-start; }
.plans-intro { width: 340px; flex-shrink: 0; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.plans-intro p { font-size: 17px; line-height: 1.6; color: var(--text); }
.plan-cards { flex-grow: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.plan { padding: 36px; border-radius: var(--radius); display: flex; flex-direction: column; gap: 18px; }
.plan-title { font-size: 24px; font-weight: 800; }
.plan p { font-size: 16px; line-height: 1.55; }
.plan ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; font-weight: 600; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { width: 18px; height: 18px; margin-top: 2px; stroke-width: 2.8; }
.plan-free { background: var(--on-blue-body); color: var(--navy); } .plan-free p { color: var(--brand-ink); } .plan-free li svg { color: var(--blue); }
.plan-own { background: var(--navy); color: #fff; } .plan-own p { color: var(--on-blue-muted); } .plan-own li svg { color: var(--orange); }
.soon { color: var(--orange); }

/* charity */
.charity { border-radius: var(--radius); background: var(--green); display: flex; overflow: hidden; }
.charity-copy { padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; gap: 14px; flex-grow: 1; }
.charity-copy h2 { font-size: clamp(28px, 2.8vw, 40px); line-height: 1.12; font-weight: 800; letter-spacing: -0.03em; }
.charity-copy p { font-size: 17px; line-height: 1.6; color: var(--green-text); max-width: 620px; }
.charity-art { width: 360px; flex-shrink: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 120px; }
.charity-art .tile svg.i { width: 54px; height: 54px; color: var(--green); }

/* mobile */
.apps .wrap { display: flex; align-items: center; justify-content: space-between; gap: 64px; }
.apps-copy { display: flex; flex-direction: column; gap: 18px; max-width: 700px; }
.kicker { font-size: 26px; font-weight: 500; color: var(--text-strong); letter-spacing: -0.02em; }
.apps-copy .h2 { margin-top: -10px; font-size: clamp(34px, 3.4vw, 48px); }
.apps-copy > p { font-size: 17px; line-height: 1.65; color: var(--text); }
.app-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; row-gap: 20px; margin-top: 12px; }
.app-points div { display: flex; gap: 14px; align-items: flex-start; font-size: 18px; font-weight: 700; line-height: 1.35; }
.app-points svg { width: 26px; height: 26px; color: var(--orange); stroke-width: 2.2; }
.stores { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.store { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 16px; border-radius: 12px; background: #000; color: #fff; }
.store svg { width: 26px; height: 26px; flex-shrink: 0; }
.store span { display: flex; flex-direction: column; font-size: 19px; font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; }
.store small { font-size: 11px; font-weight: 600; letter-spacing: 0.01em; opacity: 0.85; }
.phone2-wrap { position: relative; width: 340px; height: 620px; flex-shrink: 0; }
.phone2 { width: 300px; height: 600px; margin-left: 40px; padding: 11px; border-radius: 46px; background: #0b1233; }
.phone2 .screen2 { height: 100%; border-radius: 36px; overflow: hidden; background: linear-gradient(180deg, var(--navy-top), var(--navy-bottom)); padding: 48px 22px 22px; display: flex; flex-direction: column; gap: 18px; color: #fff; }
.screen2 > img { align-self: center; width: 110px; height: 110px; border-radius: 999px; border: 4px solid var(--orange); }
.screen2 > strong { font-size: 22px; line-height: 1.2; text-align: center; }
.moods { background: #fff; border-radius: 18px; padding: 18px 14px; display: flex; justify-content: space-between; }
.moods span { width: 38px; height: 38px; border-radius: 999px; }
.moods .picked { box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--navy); }
.week { background: #fff; color: var(--ink); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.week small { font-size: 12px; font-weight: 800; color: var(--muted); }
.bars { height: 90px; display: flex; align-items: flex-end; gap: 10px; }
.bars span { flex-grow: 1; border-radius: 6px; }
.phone2-wrap > img { position: absolute; left: 0; bottom: 0; width: 104px; height: 104px; border-radius: 22px; box-shadow: 0 16px 36px rgba(0, 26, 102, 0.3); }

/* safety */
.safety { background: var(--grey); }
.safety .wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
.safety-copy { display: flex; flex-direction: column; gap: 18px; }
.safety-copy p { font-size: 17px; line-height: 1.65; color: var(--text-strong); }
.safety-copy .fine { font-size: 14px; line-height: 1.6; color: var(--text); }
.helplines { padding: 32px; border-radius: var(--radius); background: var(--support); display: flex; flex-direction: column; gap: 14px; }
.helplines > strong { font-size: 20px; color: var(--support-dark); }
.helplines > p { font-size: 15px; line-height: 1.6; color: #6e3a2a; }
.line { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 14px; background: #fff; color: var(--ink); }
.line:hover { color: var(--ink); background: #fffaf8; }
.line span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.line strong { font-size: 16px; }
.line small { font-size: 13px; color: var(--text); }
.line b { color: var(--support-ink); font-size: 16px; white-space: nowrap; }

/* faq */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; row-gap: 32px; }
.faq div { padding-top: 22px; border-top: 2px solid var(--navy); display: flex; flex-direction: column; gap: 8px; }
.faq h3 { font-size: 19px; font-weight: 800; }
.faq p { font-size: 16px; line-height: 1.6; color: var(--text); }

/* go on */
.goon { border-radius: var(--radius); background: var(--navy); display: flex; overflow: hidden; }
.goon-copy { padding: clamp(40px, 5vw, 72px) clamp(24px, 4vw, 56px); display: flex; flex-direction: column; gap: 18px; flex-grow: 1; color: #fff; }
.goon h2 { font-size: clamp(38px, 3.8vw, 52px); line-height: 1.05; font-weight: 800; letter-spacing: -0.03em; }
.goon h2 span { color: var(--orange); }
.goon p { font-size: 18px; line-height: 1.6; color: var(--on-blue-body); max-width: 500px; }
.goon .cta-row { justify-content: flex-start; margin-top: 8px; }
.goon-art { width: 420px; flex-shrink: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 140px; }
.goon-art .tile svg.i { width: 64px; height: 64px; }
.goon-art .face { width: 104px; height: 104px; border: 4px solid #fff; }

/* ---------- footer ---------- */
.footer { background: var(--navy-footer); color: var(--on-blue-muted); padding: 72px var(--pad) 40px; }
.footer-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; max-width: 320px; }
.footer-brand p { font-size: 15px; line-height: 1.6; }
.footer-brand .mail { font-size: 16px; font-weight: 700; color: #fff; }
.footer-cols { display: flex; gap: 72px; flex-wrap: wrap; font-size: 15px; }
.footer-cols div { display: flex; flex-direction: column; gap: 12px; }
.footer-cols strong { color: #fff; }
.footer a { color: var(--on-blue-muted); }
.footer .brand, .footer .brand:hover { color: #fff; }
.footer a:hover { color: #fff; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.14); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.footer-bottom nav { display: flex; gap: 24px; flex-wrap: wrap; }

/* ---------- legal pages ---------- */
.legal-hero { background: var(--navy); color: #fff; padding: 72px var(--pad) 80px; }
.legal-hero .wrap { display: flex; flex-direction: column; gap: 14px; }
.legal-hero a { color: var(--on-blue-muted); font-size: 15px; font-weight: 700; }
.legal-hero h1 { font-size: clamp(40px, 4.6vw, 64px); line-height: 1.05; font-weight: 800; letter-spacing: -0.035em; }
.legal-hero p { font-size: 17px; color: var(--on-blue-muted); }
.legal-body { padding: 72px var(--pad) 112px; }
.legal-body .wrap { max-width: 760px; margin: 0; display: flex; flex-direction: column; gap: 24px; }
.legal-body p { font-size: 18px; line-height: 1.7; color: var(--text-strong); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about .wrap { flex-direction: column; align-items: stretch; gap: 40px; }
  .trio { width: 100%; }
  .blocks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans .wrap { flex-direction: column; }
  .plans-intro { width: auto; }
  .plan-cards { width: 100%; }
  .charity-art { display: none; }
  .apps .wrap { flex-direction: column; align-items: stretch; }
  .phone2-wrap { align-self: center; }
  .safety .wrap { grid-template-columns: minmax(0, 1fr); }
  .goon-art { display: none; }
}
@media (max-width: 720px) {
  .nav { height: 68px; }
  .nav-signin { display: none; }
  .brand img { width: 34px; height: 34px; }
  .wordmark { font-size: 24px; }
  .hero-band { height: 380px; }
  .mosaic { top: 70px; grid-template-columns: repeat(8, 150px); grid-auto-rows: 150px; }
  .tile svg.i { width: 70px; height: 70px; }
  .tile .face { width: 104px; height: 104px; }
  .dots { grid-template-columns: repeat(2, 48px); gap: 14px; }
  .dots span { width: 48px; height: 48px; }
  .phone { width: 320px; height: 460px; }
  .promises, .blocks, .features, .people, .plan-cards, .faq, .app-points { grid-template-columns: 1fr; }
  .block { min-height: 0; }
  .person { min-height: 380px; }
  .plan { padding: 28px; }
  .phone2-wrap { width: 300px; height: 560px; }
  .phone2 { width: 270px; height: 540px; margin-left: 30px; }
  .moods span { width: 32px; height: 32px; }
  .phone2-wrap > img { width: 84px; height: 84px; }
  .footer-cols { gap: 40px; }
  .line { flex-direction: column; align-items: flex-start; gap: 6px; }
}
@media (max-width: 380px) {
  .nav { gap: 12px; }
  .brand { gap: 8px; }
  .wordmark { font-size: 22px; }
  .nav-right .btn { min-height: 42px; padding: 0 16px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
