/* ===========================================================================
   Upkind Brand CSS — pairs with Bootstrap 5.3
   ---------------------------------------------------------------------------
   Loaded AFTER bootstrap.min.css so our tokens win.
   Owns: tokens, type, custom buttons, brand components (watermarks, phone
   illustrations, hand-drawn highlight, sticker cards), section accents.
   =========================================================================== */

:root {
  /* Brand palette */
  --blue:   #4A6FA5;
  --orange: #F4A261;
  --green:  #7FB069;
  --yellow: #E9C46A;
  --grey:   #F1F3F5;
  --navy:   #1D2D44;
  --cream:  #FBF9F4;

  /* Semantic */
  --ink:       #1D2D44;
  --ink-2:     #3C4A66;
  --ink-3:     #6B7895;
  --line:      rgba(29,45,68,0.10);
  --bg:        #FBF9F4;
  --surface:   #FFFFFF;
  --surface-2: #F1F3F5;

  /* Bootstrap overrides via its CSS vars */
  --bs-body-font-family: 'Quicksand', ui-rounded, -apple-system, system-ui, sans-serif;
  --bs-body-font-weight: 500;
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--bg);
  --bs-primary: var(--blue);
  --bs-secondary: var(--orange);
  --bs-success: var(--green);
  --bs-warning: var(--yellow);
  --bs-info: var(--blue);
  --bs-dark: var(--navy);
  --bs-link-color: var(--blue);
  --bs-link-hover-color: var(--navy);
  --bs-border-color: var(--line);
}

* { box-sizing: border-box; }
html, body { background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
body { font-family: 'Quicksand', ui-rounded, sans-serif; font-weight: 500; line-height: 1.55; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }

/* Display font for headings */
.display, h1, h2, h3, h4, h5, h6 {
  font-family: 'Baloo 2', sans-serif;
  letter-spacing: -0.015em;
  line-height: 1.1;
  color: var(--ink);
}

/* ============ Navigation ============ */
.up-nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.up-nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.up-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Baloo 2', sans-serif; font-weight: 900; font-size: 22px;
  letter-spacing: -0.015em; color: var(--navy); text-decoration: none;
}
.up-brand:hover { color: var(--navy); }
.up-brand .mark { width: 85px; height: 76px; color: var(--navy); }
.up-nav-links { display: flex; gap: 30px; align-items: center; list-style: none; padding: 0; margin: 0; }
.up-nav-links a { font-weight: 500; color: var(--ink-2); font-size: 14.5px; text-decoration: none; }
.up-nav-links a:hover { color: var(--ink); }
@media (max-width: 880px) { .up-nav-links { display: none; } }

/* ============ Sticker Buttons ============ */
/* Override Bootstrap .btn to give it the lotto-style outline + hard shadow */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; font-family: 'Baloo 2', sans-serif; font-weight: 700;
  letter-spacing: -0.01em; white-space: nowrap;
  border: 2.5px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease, background .14s ease;
}
.btn:hover { transform: translate(-1px,-1px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--ink); }
.btn:focus { box-shadow: 4px 4px 0 var(--ink), 0 0 0 4px color-mix(in srgb, var(--orange) 60%, transparent); outline: 0; }

.btn-lg-pill { height: 52px; padding: 0 22px; font-size: 15px; }
.btn-sm-pill { height: 40px; padding: 0 16px; font-size: 13.5px; box-shadow: 3px 3px 0 var(--ink); }
.btn-sm-pill:hover { box-shadow: 4px 4px 0 var(--ink); }
.btn-sm-pill:active { box-shadow: 1px 1px 0 var(--ink); }

.btn-up-primary { background: #fff; color: var(--navy); }
.btn-up-primary:hover { background: var(--surface-2); color: var(--navy); }
.btn-up-orange { background: var(--orange); color: #3a1d05; }
.btn-up-orange:hover { background: #f0913f; color: #3a1d05; }
.btn-up-ghost { background: var(--surface); color: var(--ink); }
.btn-up-ghost:hover { background: var(--surface-2); color: var(--ink); }
.btn-up-navy { background: var(--navy); color: #fff; box-shadow: 4px 4px 0 var(--orange); border-color: var(--ink); }
.btn-up-navy:hover { background: #15243a; color: #fff; box-shadow: 5px 5px 0 var(--orange); }
.btn-up-navy:active { box-shadow: 2px 2px 0 var(--orange); }

/* ============ Layout helpers ============ */
.container-up { max-width: 1240px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }
@media (max-width: 720px) { .container-up { padding: 0 20px; } }
.section-up { padding: 96px 0; position: relative; overflow: hidden; }
.section-tight { padding: 72px 0; }

/* ============ Sections: heads, eyebrows, titles, ledes ============ */
.sec-head {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 18px; margin-bottom: 56px;
}
.sec-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 12.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-3);
}
.sec-eyebrow .pip { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.sec-title {
  font-family: 'Baloo 2', sans-serif; font-weight: 900;
  letter-spacing: -0.018em; line-height: 1.0;
  font-size: clamp(36px, 4.8vw, 60px);
  color: var(--ink); margin: 0; max-width: 820px; text-wrap: pretty;
}
.sec-lede {
  font-size: 17.5px; color: var(--ink-2); max-width: 560px;
  font-weight: 500; line-height: 1.55; text-align: center;
}

/* Hand-drawn highlight under one word in each heading */
.mark {
  position: relative; display: inline-block; white-space: nowrap; isolation: isolate;
  background-color: transparent;
  color: inherit;
}
.mark::after {
  content: ""; position: absolute;
  left: -4px; right: -4px; bottom: -6%; height: 38%;
  background: var(--yellow); z-index: -1;
  border-radius: 6px; transform: rotate(-1deg);
}

/* ============ Hero ============ */
.hero { padding: 60px 0 90px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 8px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 999px;
  font-weight: 600; font-size: 12.5px; color: var(--ink-2); letter-spacing: 0.02em;
}
.eyebrow .dot {
  width: 18px; height: 18px; border-radius: 50%; background: var(--green);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 10px;
}

.h1 {
  font-family: 'Baloo 2', sans-serif; font-weight: 900;
  letter-spacing: -0.02em; line-height: 0.95;
  font-size: clamp(48px, 7.6vw, 96px);
  margin: 22px 0 24px; color: var(--ink);
}
.h1 .l1, .h1 .l2, .h1 .l3 { display: block; }
.h1 .l1 { color: var(--blue); }
.h1 .l2 { color: var(--green); }
.h1 .l3 { color: var(--orange); }
.sub {
  font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5;
  color: var(--ink-2); max-width: 540px; font-weight: 500;
}
.hero-cta { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.hero-meta {
  display: flex; align-items: center; gap: 14px; margin-top: 36px;
  color: var(--ink-3); font-size: 13px; font-weight: 500;
}
.avatars { display: flex; }
.avatars > div {
  width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid var(--bg); margin-left: -8px;
}
.avatars > div:first-child { margin-left: 0; }

/* Hero background blobs */
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: -1; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.32; }
.blob-1 { width: 340px; height: 340px; background: var(--blue);   top: -80px; right: -60px; }
.blob-2 { width: 280px; height: 280px; background: var(--orange); bottom: -40px; left: -80px; opacity: 0.22; }

/* ============ iPhone illustration (used in hero + WhyMatters) ============ */
.up-phone-stage {
  position: relative; display: flex; justify-content: center; align-items: center;
  min-height: 620px;
}
.up-phone {
  position: relative; width: 300px; background: #0e1929;
  border: 4px solid var(--ink); border-radius: 48px; padding: 9px;
  box-shadow: 10px 12px 0 var(--ink), 0 24px 60px -30px rgba(29,45,68,.4);
  transform: rotate(-3deg);
}
.up-phone-screen {
  background: var(--surface); border-radius: 38px;
  overflow: hidden; position: relative; padding-top: 44px;
  aspect-ratio: 9 / 19.5;
}
.up-phone-notch {
  position: absolute; top: 13px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 24px; background: var(--ink); border-radius: 14px; z-index: 2;
}
.up-phone-status {
  position: absolute; top: 18px; left: 0; right: 0; padding: 0 26px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 12px;
  color: var(--ink); z-index: 3;
}
.up-phone-status .right { display: inline-flex; gap: 5px; align-items: center; }
.up-phone-status .signal { display: inline-flex; align-items: flex-end; gap: 1.5px; }
.up-phone-status .signal i { width: 2.5px; background: var(--ink); border-radius: 1px; }
.up-phone-status .signal i:nth-child(1) { height: 4px; }
.up-phone-status .signal i:nth-child(2) { height: 6px; }
.up-phone-status .signal i:nth-child(3) { height: 8px; }
.up-phone-status .signal i:nth-child(4) { height: 10px; }
.up-phone-status .battery {
  width: 18px; height: 9px; border: 1.4px solid var(--ink);
  border-radius: 2px; position: relative; padding: 1px;
}
.up-phone-status .battery::after {
  content: ""; position: absolute; right: -3.5px; top: 2px;
  width: 2px; height: 3px; background: var(--ink); border-radius: 1px;
}
.up-phone-status .battery i { display: block; width: 100%; height: 100%; background: var(--green); border-radius: 1px; }
.up-phone-home {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  width: 104px; height: 4px; border-radius: 3px; background: var(--ink);
  opacity: .85; z-index: 2;
}

/* Profile card content inside hero phone */
.pc { padding: 8px 14px 16px; }
.pc-head { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.pc-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  position: relative; flex-shrink: 0; overflow: hidden;
}
.pc-avatar::after {
  content: "MJ"; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: #3a1d05; font-size: 14px;
}
.pc-name { font-family: 'Baloo 2', sans-serif; font-weight: 800; color: var(--ink); font-size: 15px; letter-spacing: -0.02em; }
.pc-meta { color: var(--ink-3); font-size: 11px; font-weight: 500; margin-top: 1px; }
.pc-verified {
  margin-left: auto; background: var(--green); color: #fff;
  border-radius: 999px; font-weight: 700; font-size: 10px;
  padding: 4px 8px; display: inline-flex; align-items: center; gap: 4px;
}
.pc-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; margin-top: 12px; }
.pc-stat { background: var(--surface-2); border-radius: 10px; padding: 6px 5px; text-align: center; }
.pc-stat b { display: block; font-family: 'Baloo 2', sans-serif; font-size: 16px; font-weight: 900; color: var(--ink); letter-spacing: -0.035em; line-height: 1; }
.pc-stat span { display: block; font-size: 8.5px; font-weight: 600; color: var(--ink-3); letter-spacing: 0.04em; text-transform: uppercase; margin-top: 2px; }
.pc-section { margin-top: 12px; }
.pc-section-title { font-weight: 700; font-size: 9.5px; color: var(--ink-3); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px; display: flex; justify-content: space-between; }
.pc-activity { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px dashed var(--line); }
.pc-activity:first-of-type { border-top: 0; padding-top: 0; }
.pc-act-ic { width: 26px; height: 26px; border-radius: 7px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pc-act-ic svg { width: 14px; height: 14px; }
.pc-act-txt { flex: 1; min-width: 0; }
.pc-act-title { font-weight: 700; font-size: 11px; color: var(--ink); letter-spacing: -0.005em; line-height: 1.2; }
.pc-act-meta { font-size: 9.5px; color: var(--ink-3); font-weight: 500; margin-top: 1px; }
.pc-act-pts { font-weight: 800; color: var(--green); font-size: 10.5px; background: color-mix(in srgb, var(--green) 14%, transparent); padding: 3px 7px; border-radius: 999px; }

/* Floating cards around the hero phone */
.float-card {
  position: absolute; background: var(--surface);
  border-radius: 18px; border: 1px solid var(--line);
  box-shadow: 0 18px 40px -22px rgba(29,45,68,.25);
  padding: 14px 16px; display: flex; align-items: center; gap: 10px;
}
.fc-1 { top: 18px; left: -30px; transform: rotate(-6deg); }
.fc-2 { bottom: 80px; right: -30px; transform: rotate(5deg); }
.fc-3 { bottom: -10px; left: 30px; transform: rotate(3deg); }
.fc-emoji { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fc-text { font-weight: 700; color: var(--ink); font-size: 13px; line-height: 1.25; }
.fc-sub { font-weight: 500; color: var(--ink-3); font-size: 11px; margin-top: 1px; }

/* ============ Problem section ============ */
.problem { background: var(--grey); padding: 96px 0; position: relative; overflow: hidden; }
.problem-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 980px) { .problem-grid { grid-template-columns: 1fr; } }
.problem .sec-lede { text-align: left; max-width: none; }

.report-card {
  background: var(--surface); border-radius: 24px;
  border: 1px solid var(--line); padding: 28px;
  box-shadow: 0 20px 40px -28px rgba(29,45,68,.2);
  position: relative; overflow: hidden;
}
.rc-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.rc-title { font-family: 'Baloo 2', sans-serif; font-weight: 800; letter-spacing: -0.015em; color: var(--ink); font-size: 16px; }
.rc-stamp { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.rc-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.rc-row:last-of-type { border-bottom: 0; }
.rc-subj { display: flex; align-items: center; gap: 12px; }
.rc-subj-ic { width: 30px; height: 30px; border-radius: 8px; background: var(--surface-2); display: flex; align-items: center; justify-content: center; font-size: 14px; }
.rc-subj-name { font-weight: 600; color: var(--ink); font-size: 14px; }
.rc-grade { font-family: 'Baloo 2', sans-serif; font-weight: 800; color: var(--ink); font-size: 18px; font-variant-numeric: tabular-nums; }
.rc-strike { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: color-mix(in srgb, var(--orange) 14%, transparent); border: 1px dashed color-mix(in srgb, var(--orange) 50%, transparent); font-size: 13.5px; color: var(--ink-2); font-weight: 500; line-height: 1.5; }
.rc-strike b { color: var(--ink); font-weight: 800; }
.unseen { position: absolute; right: -18px; top: 36px; background: var(--navy); color: #fff; font-size: 11px; font-weight: 800; padding: 8px 14px; border-radius: 999px; transform: rotate(6deg); letter-spacing: 0.04em; box-shadow: 0 8px 18px -8px rgba(0,0,0,.4); }

.stats-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 36px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.stat b { display: block; font-family: 'Baloo 2', sans-serif; font-size: 38px; font-weight: 900; letter-spacing: -0.028em; line-height: 1; color: var(--ink); }
.stat span { display: block; font-size: 13px; color: var(--ink-3); font-weight: 500; line-height: 1.4; margin-top: 4px; }

/* ============ Solution cards ============ */
.sol-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 18px; }
.sol-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; min-height: 230px; transition: transform .2s ease, box-shadow .2s ease; position: relative; overflow: hidden; }
.sol-card:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -28px rgba(29,45,68,.25); }
.sol-card.lg { grid-column: span 3; }
.sol-card.sm { grid-column: span 3; }
.sol-card.wide { grid-column: span 6; min-height: auto; flex-direction: row; align-items: center; gap: 36px; }
@media (max-width: 920px) { .sol-grid { grid-template-columns: 1fr 1fr; } .sol-card.lg,.sol-card.sm { grid-column: span 1; } .sol-card.wide { grid-column: span 2; flex-direction: column; align-items: flex-start; gap: 20px; } }
@media (max-width: 600px) { .sol-grid { grid-template-columns: 1fr; } .sol-card.wide { grid-column: span 1; } }

.sol-ic { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; color: #fff; flex-shrink: 0; }
.sol-ic.blue   { background: var(--blue); }
.sol-ic.orange { background: var(--orange); color: #3a1d05; }
.sol-ic.green  { background: var(--green); color: #1f3914; }
.sol-ic.yellow { background: var(--yellow); color: #4a3a05; }
.sol-ic.navy   { background: var(--navy); color: #fff; }
.sol-title { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 21px; letter-spacing: -0.015em; color: var(--ink); line-height: 1.1; }
.sol-body { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; margin-top: 8px; font-weight: 500; }
.sol-card.wide .sol-ic { margin-bottom: 0; width: 64px; height: 64px; border-radius: 18px; }
.sol-card.wide .sol-title { font-size: 26px; letter-spacing: -0.018em; }

.qr-block { margin-left: auto; display: flex; align-items: center; gap: 14px; background: var(--surface-2); border-radius: 18px; padding: 14px 18px; flex-shrink: 0; }
.qr { width: 64px; height: 64px; border-radius: 10px; background: repeating-conic-gradient(var(--navy) 0% 25%, transparent 0% 50%) 50% / 8px 8px, var(--surface); position: relative; }
.qr::before, .qr::after { content: ""; position: absolute; width: 18px; height: 18px; border: 4px solid var(--navy); background: var(--surface); }
.qr::before { top: 4px; left: 4px; }
.qr::after { bottom: 4px; right: 4px; }
@media (max-width: 920px) { .qr-block { margin-left: 0; } }

/* ============ How it works (dark section) ============ */
.how { background: var(--navy); color: #fff; padding: 96px 0; position: relative; overflow: hidden; }
.how .sec-title { color: #fff; }
.how .sec-eyebrow { color: #A8B5CC; }
.how .sec-lede { color: #C5CFE0; }
.how-bg { position: absolute; inset: 0; pointer-events: none; opacity: .5; }
.how-bg::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: var(--blue); filter: blur(80px); opacity: .32; top: -100px; right: -80px; }
.how-bg::after { content: ""; position: absolute; width: 400px; height: 400px; border-radius: 50%; background: var(--orange); filter: blur(80px); opacity: .16; bottom: -120px; left: -60px; }
.steps { position: relative; display: grid; grid-template-columns: repeat(5,1fr); gap: 18px; margin-top: 8px; }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10); border-radius: 22px; padding: 24px 22px; position: relative; display: flex; flex-direction: column; }
.step-num { font-weight: 800; font-size: 13px; color: #A8B5CC; letter-spacing: 0.1em; }
.step-ic { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin: 14px 0 18px; background: rgba(255,255,255,0.08); color: #fff; }
.step-ic.blue   { background: color-mix(in srgb, var(--blue) 70%, transparent); }
.step-ic.green  { background: color-mix(in srgb, var(--green) 70%, transparent); }
.step-ic.yellow { background: color-mix(in srgb, var(--yellow) 70%, transparent); }
.step-ic.orange { background: color-mix(in srgb, var(--orange) 70%, transparent); }
.step-ic.cream  { background: rgba(251,249,244,0.92); color: var(--navy); }
.step-title { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 19px; letter-spacing: -0.015em; color: #fff; line-height: 1.15; }
.step-body { font-size: 13.5px; color: #C5CFE0; line-height: 1.5; margin-top: 8px; font-weight: 500; flex: 1; }
.step-arrow { position: absolute; top: 38px; right: -22px; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; color: #A8B5CC; z-index: 2; }
@media (max-width: 980px) { .step-arrow { display: none; } }

/* ============ Why Upkind Matters ============ */
.quote-section { background: var(--surface); padding: 96px 0; position: relative; overflow: hidden; }
.quote-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: center; }
@media (max-width: 920px) { .quote-wrap { grid-template-columns: 1fr; } }
.quote-img { position: relative; display: flex; align-items: center; justify-content: center; padding: 24px 0; }
.quote-img .up-phone { transform: rotate(-4deg); }
.pull-quote { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.25; color: var(--ink); letter-spacing: -0.018em; text-wrap: pretty; }
.pull-quote .accent { color: var(--orange); }
.pull-attr { margin-top: 24px; display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-size: 14px; font-weight: 600; }
.pull-attr .pa-av { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--blue)); }

/* QR share screen inside the WhyMatters phone */
.qr-screen { padding: 6px 14px 18px; text-align: center; }
.qrs-eyebrow { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-top: 6px; }
.qrs-name { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; color: var(--ink); margin-top: 4px; line-height: 1.05; }
.qrs-sub { font-size: 11px; color: var(--ink-3); font-weight: 500; margin-top: 2px; }
.qrs-qr { margin: 14px auto 0; width: 148px; height: 148px; border-radius: 14px; border: 2px solid var(--ink); background: var(--surface); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.qrs-qr svg { width: 120px; height: 120px; color: var(--ink); }
.qrs-handle { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 5px 11px; border: 2px solid var(--ink); border-radius: 999px; font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 11px; color: var(--ink); background: var(--surface-2); }
.qrs-handle .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.qrs-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; margin-top: 14px; text-align: center; }
.qrs-stat { background: var(--surface-2); border-radius: 9px; padding: 6px 4px; }
.qrs-stat b { display: block; font-family: 'Baloo 2', sans-serif; font-weight: 900; font-size: 15px; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.qrs-stat span { display: block; font-size: 8px; letter-spacing: 0.05em; text-transform: uppercase; font-weight: 700; color: var(--ink-3); margin-top: 3px; }
.qrs-cta { margin-top: 14px; background: var(--green); color: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: 8px 14px; font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 12px; display: inline-flex; align-items: center; gap: 6px; box-shadow: 3px 3px 0 var(--ink); }

/* ============ CTA dual cards ============ */
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 880px) { .cta-grid { grid-template-columns: 1fr; } }
.cta-card { border-radius: 28px; padding: 44px; display: flex; flex-direction: column; justify-content: space-between; min-height: 340px; position: relative; overflow: hidden; }
.cta-blue { background: var(--blue); color: #fff; }
.cta-orange { background: var(--orange); color: #3a1d05; }
.cta-top { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; opacity: .85; }
.cta-h { font-family: 'Baloo 2', sans-serif; font-weight: 900; letter-spacing: -0.028em; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.05; margin: 18px 0 12px; text-wrap: pretty; }
.cta-body { font-size: 15.5px; line-height: 1.55; font-weight: 500; opacity: .92; max-width: 380px; }
.cta-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-top: 32px; }
.cta-bullets { font-size: 13px; font-weight: 600; display: flex; flex-direction: column; gap: 6px; opacity: .9; }
.cta-bullets div { display: flex; align-items: center; gap: 8px; }
.cta-bullets .check { width: 18px; height: 18px; border-radius: 50%; background: rgba(255,255,255,0.22); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; }
.cta-orange .cta-bullets .check { background: rgba(58,29,5,0.18); }
.cta-deco { position: absolute; right: -40px; bottom: -40px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,0.10); pointer-events: none; }
.cta-deco-2 { position: absolute; right: 60px; top: -30px; width: 90px; height: 90px; border-radius: 50%; background: rgba(255,255,255,0.08); pointer-events: none; }

/* ============ Contact section ============ */
.contact-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 20px; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px 26px; }
.contact-lbl { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; margin-bottom: 8px; }
.contact-val { display: block; font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 20px; letter-spacing: -0.015em; color: var(--ink); text-decoration: none; }
.contact-val:hover { color: var(--blue); }
.contact-sub { margin-top: 6px; font-size: 13px; color: var(--ink-3); font-weight: 500; }
.company-card { background: var(--surface-2); border: 1px solid var(--line); border-radius: 20px; padding: 28px 30px; }
.company-row { display: grid; grid-template-columns: 1.1fr 1.4fr 1fr 1.8fr 1fr; gap: 24px; align-items: flex-start; }
@media (max-width: 980px) { .company-row { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 560px) { .company-row { grid-template-columns: 1fr 1fr; gap: 20px; } }
.company-val { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 16px; letter-spacing: -0.01em; color: var(--ink); line-height: 1.35; }

/* ============ Watermarks (hand-drawn brand mark texture) ============ */
.wm { position: absolute; pointer-events: none; color: var(--ink); opacity: .06; z-index: 0; }
.wm svg { display: block; width: 100%; height: 100%; }
.wm-lg { width: 520px; height: 520px; }
.wm-md { width: 340px; height: 340px; }
.wm-sm { width: 180px; height: 180px; }
.wm-tr { top: -80px; right: -80px; }
.wm-tl { top: -80px; left: -80px; }
.wm-br { bottom: -80px; right: -80px; }
.wm-bl { bottom: -80px; left: -80px; }
.wm-on-dark   { color: #fff; opacity: .07; }
.wm-on-blue   { color: #fff; opacity: .13; }
.wm-on-orange { color: #3a1d05; opacity: .16; }
.wm-rot-1 { transform: rotate(-12deg); }
.wm-rot-2 { transform: rotate(18deg); }
.wm-rot-3 { transform: rotate(-6deg); }
.wm-rot-4 { transform: rotate(8deg); }

.scatter {
  position: absolute; inset: 0; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160' fill='%231D2D44'%3E%3Cg transform='translate(20 30) rotate(-14) scale(0.4)'%3E%3Cpath d='M 39.82,79.164 C 18.695,65.609 15.984,63.867 12.711,59.016 6.1251,49.2269 7.8829,33.328 16.5469,24.289 c 8.2344,-8.5938 20.812,-9.5234 28.961,-3.3438 7.5781,-11.258 27.516,-12.695 37.828,1.2969 6.6719,9.0469 6.8125,21.211 0.38281,33.359 -6.7031,12.656 -17.961,21.016 -28.516,32.688 -0.64844,0.71875 -0.33594,0.53906 -15.391,-9.1172 z M 33.1716,18.5 c -19.031,0 -29,25.016 -19.164,39.648 3.6719,5.4609 6.8125,6.8828 40.484,28.602 10.453,-11.438 21.383,-19.656 27.852,-31.875 12.906,-24.383 -4.3281,-44.344 -23.188,-40.773 -5.8125,1.1016 -10.219,4.3047 -12.438,7.8516 3.9141,3.5312 7.9375,11.523 4.1797,15.219 -2.2969,2.25 -6.6562,1.2891 -7.8516,-4.1562 -0.78906,-3.5859 -0.20312,-7.3438 1.6484,-10.719 -3.3281,-2.5781 -7.4766,-3.7891 -11.523,-3.7891 z m 12.734,4.8203 c -2.625,5.0312 -1.9688,12.266 1.5469,13.312 4.25,1.25 5.0469,-7.125 -1.5469,-13.312 z'/%3E%3C/g%3E%3Cg transform='translate(105 95) rotate(22) scale(0.32)'%3E%3Cpath d='M 39.82,79.164 C 18.695,65.609 15.984,63.867 12.711,59.016 6.1251,49.2269 7.8829,33.328 16.5469,24.289 c 8.2344,-8.5938 20.812,-9.5234 28.961,-3.3438 7.5781,-11.258 27.516,-12.695 37.828,1.2969 6.6719,9.0469 6.8125,21.211 0.38281,33.359 -6.7031,12.656 -17.961,21.016 -28.516,32.688 -0.64844,0.71875 -0.33594,0.53906 -15.391,-9.1172 z M 33.1716,18.5 c -19.031,0 -29,25.016 -19.164,39.648 3.6719,5.4609 6.8125,6.8828 40.484,28.602 10.453,-11.438 21.383,-19.656 27.852,-31.875 12.906,-24.383 -4.3281,-44.344 -23.188,-40.773 -5.8125,1.1016 -10.219,4.3047 -12.438,7.8516 3.9141,3.5312 7.9375,11.523 4.1797,15.219 -2.2969,2.25 -6.6562,1.2891 -7.8516,-4.1562 -0.78906,-3.5859 -0.20312,-7.3438 1.6484,-10.719 -3.3281,-2.5781 -7.4766,-3.7891 -11.523,-3.7891 z m 12.734,4.8203 c -2.625,5.0312 -1.9688,12.266 1.5469,13.312 4.25,1.25 5.0469,-7.125 -1.5469,-13.312 z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ============ Footer ============ */
.footer { border-top: 1px solid var(--line); padding: 48px 0 36px; color: var(--ink-3); font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot-col h5 { font-family: 'Baloo 2', sans-serif; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); margin: 0 0 14px; font-weight: 800; }
.foot-col a { display: block; padding: 5px 0; color: var(--ink-3); font-weight: 500; font-size: 14px; text-decoration: none; }
.foot-col a:hover { color: var(--ink); }
.foot-brand { max-width: 320px; }
.foot-brand p { margin: 14px 0 0; line-height: 1.55; color: var(--ink-3); font-size: 14px; font-weight: 500; }
.foot-bottom { display: flex; justify-content: space-between; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-3); flex-wrap: wrap; gap: 10px; }
.foot-bottom a { color: var(--ink-2); text-decoration: none; font-weight: 500; }
.foot-bottom a:hover { color: var(--ink); }

/* ============ Legal pages (Privacy + Terms) ============ */
.legal-hero { padding: 72px 0 40px; border-bottom: 1px solid var(--line); }
.legal-hero .lede { font-size: 18px; color: var(--ink-2); max-width: 680px; line-height: 1.5; font-weight: 500; }
.legal-hero .meta { display: flex; gap: 24px; margin-top: 24px; flex-wrap: wrap; }
.legal-hero .meta div { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.legal-hero .meta b { display: block; font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 15px; color: var(--ink); margin-top: 2px; letter-spacing: -0.005em; }
.legal-hero h1 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.0; font-size: clamp(40px, 5vw, 64px); color: var(--ink); margin: 14px 0 12px; }

.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 64px; padding: 48px 0 96px; }
@media (max-width: 880px) { .legal-layout { grid-template-columns: 1fr; gap: 24px; padding-top: 32px; } }
.legal-toc { position: sticky; top: 96px; align-self: start; font-size: 13.5px; line-height: 1.55; }
.legal-toc h5 { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px; }
.legal-toc ol { list-style: none; padding: 0; margin: 0; counter-reset: tocnum; }
.legal-toc li { counter-increment: tocnum; padding: 6px 0; border-top: 1px solid var(--line); }
.legal-toc li:first-child { border-top: 0; padding-top: 0; }
.legal-toc a { color: var(--ink-2); text-decoration: none; font-weight: 600; display: flex; gap: 10px; align-items: baseline; }
.legal-toc a:hover { color: var(--navy); }
.legal-toc a::before { content: counter(tocnum, decimal-leading-zero); color: var(--ink-3); font-variant-numeric: tabular-nums; font-size: 11.5px; font-weight: 700; }
@media (max-width: 880px) { .legal-toc { position: static; border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; background: var(--surface); } }
.legal-content { max-width: 720px; }
.legal-content section { padding: 32px 0; border-top: 1px solid var(--line); }
.legal-content section:first-of-type { border-top: 0; padding-top: 0; }
.legal-content h2 { font-weight: 800; font-size: 28px; letter-spacing: -0.015em; line-height: 1.15; color: var(--ink); margin: 0 0 16px; display: flex; align-items: baseline; gap: 14px; }
.legal-content h2 .n { font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; font-weight: 700; letter-spacing: 0.06em; }
.legal-content h3 { font-weight: 800; font-size: 17px; letter-spacing: -0.005em; color: var(--ink); margin: 24px 0 8px; }
.legal-content p { margin: 0 0 14px; color: var(--ink-2); font-size: 16px; line-height: 1.65; }
.legal-content ul { margin: 0 0 14px; padding: 0 0 0 20px; color: var(--ink-2); font-size: 16px; line-height: 1.65; }
.legal-content ul li { margin-bottom: 6px; }
.legal-content strong { color: var(--ink); font-weight: 700; }
.legal-content a { color: var(--blue); }
.legal-content a:hover { color: var(--navy); }
.callout { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; margin: 14px 0; font-size: 15px; }
.callout b { color: var(--ink); font-family: 'Baloo 2', sans-serif; font-weight: 700; }
.legal-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.legal-eyebrow .pip { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.legal-eyebrow.green .pip { background: var(--green); }
.back-link { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 14px; color: var(--ink-2); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.back-link:hover { color: var(--navy); }
