/* ============================================================
   SYR Onboarding — Methods visual skin + SYR brand/voice
   White-first · orchid accent · gradient CTA · General Sans
   ============================================================ */

:root {
  /* ── Accent — orchid (the ONE brand colour) ── */
  --accent-tint:   #FDF3FF;
  --accent-100:    #F6E7F7;
  --accent-300:    #E6BCE7; /* rating stars */
  --accent-400:    #DC9FDD; /* gradient top */
  --accent-500:    #C979C9; /* PRIMARY */
  --accent-600:    #BD6BBE; /* gradient bottom */
  --accent-700:    #A957AA;

  --btn-gradient: linear-gradient(180deg, #DC9FDD 0%, #C979C9 58%, #BD6BBE 100%);

  /* ── Text ── */
  --text-primary:   #0A0A0A;
  --text-secondary: #4D4D4D;
  --text-tertiary:  #B8B8B8;
  --text-on-accent: #FFFFFF;

  /* ── Surfaces & lines ── */
  --bg-base:        #FFFFFF;
  --bg-wash-top:    #F3DEF3; /* lavender hero wash */
  --surface-card:   #FFFFFF;
  --surface-muted:  #F5F4F6;
  --surface-input:  #E8E7EA;
  --overlay-dim:    #BEABBE;
  --border-hairline:#E6E4E8;

  /* ── Radius ── */
  --radius-pill:    999px;
  --radius-card:    20px;
  --radius-tile:    18px;
  --radius-control: 16px;

  /* ── Type ── */
  --font: "General Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---- Phone screen shell ---- */
.scr {
  width: 375px;
  height: 812px;
  background: var(--bg-base);
  font-family: var(--font);
  color: var(--text-primary);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.scr.wash {
  background: linear-gradient(180deg, var(--bg-wash-top) 0%, #FBF3FB 32%, var(--bg-base) 64%);
}

/* status bar */
.statusbar {
  height: 54px;
  flex: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 24px 6px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.statusbar .dots { display: flex; gap: 5px; align-items: center; }
.statusbar .dots span { width: 16px; height: 11px; border-radius: 2px; background: var(--text-primary); display: inline-block; }
.statusbar .dots .bat { width: 23px; height: 11px; border: 1.5px solid var(--text-primary); border-radius: 3px; background: none; position: relative; }
.statusbar .dots .bat::after { content:""; position:absolute; left:1.5px; top:1.5px; bottom:1.5px; right:6px; background: var(--text-primary); border-radius: 1px; }

/* top bar: back + progress */
.topbar { flex: none; display: flex; align-items: center; gap: 14px; padding: 6px 22px 0; }
.backbtn {
  width: 44px; height: 44px; flex: none; border-radius: 999px;
  background: var(--surface-card); border: 1px solid var(--border-hairline);
  box-shadow: 0 2px 8px rgba(10,10,10,0.06);
  display: flex; align-items: center; justify-content: center;
}
.backbtn svg { width: 18px; height: 18px; stroke: var(--text-primary); stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.progress { flex: 1; height: 6px; border-radius: 999px; background: #EFEDF0; overflow: hidden; }
.progress > i { display: block; height: 100%; border-radius: 999px; background: var(--accent-500); }

/* content body */
.body { flex: 1; display: flex; flex-direction: column; padding: 28px 24px 0; min-height: 0; }
.body.center { justify-content: center; }

/* headline stack */
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent-500); margin: 0 0 14px; }
h1.display {
  font-size: 33px; line-height: 1.06; font-weight: 700; letter-spacing: -0.02em;
  color: var(--text-primary); margin: 0; text-wrap: balance;
}
h1.display.big { font-size: 38px; }
.sub { font-size: 16.5px; line-height: 1.45; font-weight: 400; color: var(--text-secondary); margin: 14px 0 0; max-width: 30ch; text-wrap: pretty; }
.sub b, .display b { font-weight: 700; color: var(--text-primary); }

/* bottom CTA dock */
.dock { flex: none; padding: 16px 18px calc(20px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 12px; }
.cta {
  height: 57px; border-radius: var(--radius-pill); border: none;
  background: var(--btn-gradient); color: var(--text-on-accent);
  font-family: var(--font); font-size: 17.5px; font-weight: 600; letter-spacing: -0.01em;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 10px 22px -8px rgba(201,121,201,0.55), 0 2px 6px rgba(189,107,190,0.25);
  cursor: pointer;
}
.cta .chev { font-size: 19px; font-weight: 500; opacity: 0.92; margin-left: 2px; }
.cta.disabled { opacity: 0.4; }
.ghost { background: none; border: none; color: var(--accent-500); font-family: var(--font); font-size: 15.5px; font-weight: 600; text-align: center; padding: 4px; cursor: pointer; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; align-content: flex-start; }
.chip {
  display: inline-flex; align-items: center; height: 46px; padding: 0 19px;
  border-radius: var(--radius-pill); background: var(--bg-base);
  border: 1.5px solid var(--border-hairline); color: var(--text-primary);
  font-size: 15.5px; font-weight: 500; letter-spacing: -0.01em; cursor: pointer;
}
.chip.sel { background: var(--accent-tint); border-color: var(--accent-500); color: var(--accent-500); font-weight: 600; }

/* proof: testimonial card */
.tcard { background: var(--surface-card); border: 1px solid var(--border-hairline); border-radius: var(--radius-card); padding: 18px 18px 20px; box-shadow: 0 8px 24px -14px rgba(10,10,10,0.18); }
.tcard .who { display: flex; align-items: center; gap: 11px; }
.tcard .nm { font-size: 15px; font-weight: 600; line-height: 1.2; }
.tcard .hd { font-size: 13px; color: var(--text-tertiary); }
.stars { display: flex; gap: 3px; margin: 13px 0 9px; }
.stars svg { width: 16px; height: 16px; fill: var(--accent-300); }
.quote { font-size: 15.5px; line-height: 1.45; color: var(--text-secondary); margin: 0; }

/* social proof avatar cluster */
.cluster { display: flex; align-items: center; gap: 12px; }
.avstack { display: flex; }
.avstack > * { width: 38px; height: 38px; border-radius: 999px; border: 2.5px solid var(--bg-base); margin-left: -12px; }
.avstack > *:first-child { margin-left: 0; }
.cluster .cnt { font-size: 14px; color: var(--text-secondary); }
.cluster .cnt b { color: var(--text-primary); font-weight: 700; }

/* reward / payout-style card (repurposed: a "moment" card) */
.mcard { background: var(--surface-muted); border-radius: var(--radius-card); padding: 18px; box-shadow: 0 8px 24px -16px rgba(10,10,10,0.2); }

/* input field */
.field {
  display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 18px;
  background: var(--surface-input); border-radius: var(--radius-control); color: var(--text-primary);
  font-size: 16px;
}
.field .ph { color: var(--text-tertiary); }
.field svg { width: 20px; height: 20px; stroke: var(--text-secondary); stroke-width: 1.8; fill: none; }

/* generic rounded image placeholder (striped) */
.ph-img {
  background-color: var(--surface-muted);
  background-image: repeating-linear-gradient(135deg, rgba(201,121,201,0.10) 0 9px, rgba(201,121,201,0.02) 9px 18px);
  border: 1px dashed rgba(201,121,201,0.45);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-600); font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px; letter-spacing: 0.02em; text-align: center; line-height: 1.4; padding: 8px;
}
.ph-circ { border-radius: 999px; }

/* requirement / reflection row */
.qrow { display: flex; gap: 13px; align-items: flex-start; }
.qrow .ic { width: 26px; height: 26px; flex: none; border-radius: 999px; border: 1.6px solid var(--accent-300); display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.qrow .ic svg { width: 13px; height: 13px; stroke: var(--accent-500); stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.qrow p { margin: 0; font-size: 15.5px; line-height: 1.4; color: var(--text-secondary); }

/* mini chat demo bubbles */
.bubble { max-width: 78%; padding: 12px 15px; border-radius: 18px; font-size: 15px; line-height: 1.4; }
.bubble.self { align-self: flex-end; background: var(--text-primary); color: #fff; border-bottom-right-radius: 7px; }
.bubble.partner { align-self: flex-start; background: var(--surface-muted); color: var(--text-primary); border-bottom-left-radius: 7px; }
.bubble.xlat { align-self: flex-end; background: var(--accent-tint); border: 1px solid var(--accent-300); color: var(--accent-700); border-bottom-right-radius: 7px; }
.xlat-label { align-self: flex-end; font-size: 11.5px; font-weight: 600; color: var(--accent-500); letter-spacing: 0.02em; margin-bottom: -4px; }

/* lock / privacy line */
.lockline { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-secondary); }
.lockline svg { width: 15px; height: 15px; stroke: var(--accent-500); fill: none; stroke-width: 1.8; }

/* ============ Hero composition (Methods hook layout) ============ */
.hero { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 8px 24px 0; min-height: 0; }

/* floating media card with overlapping pill badges */
.hero-stage { position: relative; width: 100%; display: flex; justify-content: center; margin-top: 6px; }
.hero-card {
  width: 252px; border-radius: 30px; overflow: hidden;
  background: var(--surface-card); box-shadow: 0 24px 48px -22px rgba(120,70,120,0.40), 0 4px 14px rgba(10,10,10,0.06);
}
/* a "screen capture" of the translation demo, living inside the hero card */
.hero-demo { background: var(--bg-base); padding: 58px 16px 20px; display: flex; flex-direction: column; gap: 9px; min-height: 318px; justify-content: flex-start; }
.hero-demo .cap { font-size: 12px; font-weight: 600; color: var(--text-tertiary); text-align: center; margin: 0 0 4px; }

/* floating notification pills overlapping the card edges */
.hero-pill {
  position: absolute; display: inline-flex; align-items: center; gap: 9px;
  background: var(--surface-card); border-radius: var(--radius-pill);
  padding: 11px 17px 11px 13px; box-shadow: 0 12px 26px -10px rgba(120,70,120,0.42), 0 2px 6px rgba(10,10,10,0.08);
  font-size: 14.5px; font-weight: 600; color: var(--text-primary); white-space: nowrap;
}
.hero-pill .pic { width: 26px; height: 26px; flex: none; border-radius: 999px; background: var(--accent-tint); display: flex; align-items: center; justify-content: center; }
.hero-pill .pic svg { width: 15px; height: 15px; stroke: var(--accent-600); fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.hero-pill.tl { top: 16px; left: -14px; }
.hero-pill.mr { top: 50%; right: -28px; transform: translateY(-50%); }
.hero-pill.bl { bottom: 28px; left: -18px; }
.hero-pill.br { bottom: 30px; right: -12px; }

/* centered app-icon tile (calm motif) */
.hero-tile {
  width: 84px; height: 84px; border-radius: 22px; margin: 26px 0 4px;
  background: var(--surface-card); box-shadow: 0 14px 30px -14px rgba(120,70,120,0.40), 0 2px 6px rgba(10,10,10,0.06);
  display: flex; align-items: center; justify-content: center; padding: 12px;
}

/* big centered headline for the hook */
.hero h1.display { text-align: center; font-size: 40px; line-height: 1.02; }
.hero .sub { text-align: center; max-width: 28ch; }
