/* ============================================================
   EFUA APP: "Effortless sales"
   One action per screen, lots of air, and a single Efua orange accent that only
   ever marks the next thing to do. The serif is reserved for the few moments
   that matter (the promise, a greeting, a number worth reading).
   ============================================================ */

:root {
  /* Efua brand, from the Efua logo (25 Sep 2026). --brand fills buttons,
     the logo and the pulse. --brand-text is the same orange darkened just
     enough to read as small text on white (5:1 contrast). */
  --brand: #FF3D00;
  --brand-press: #E63700;
  --brand-text: #D13200;
  --blush: #FFEDE6;
  --ink: #000000;
  --ink-soft: #5B5659;
  --paper: #FFFFFF;
  --mist: #F6F4F5;
  --line: #E9E5E7;
  --ok: #0B7A55;

  --display: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --body: "Figtree", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --tabbar: 68px;

  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root {
    --blush: #3A1404;
    --brand-text: #FF5A26;
    --ink: #FFFFFF;
    --ink-soft: #B8B2B5;
    --paper: #000000;
    --mist: #141214;
    --line: #2B2729;
  }
}

*, *::before, *::after { box-sizing: inherit; }
html, body { height: 100%; margin: 0; }
html { scroll-padding-top: env(safe-area-inset-top, 0px); -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.5 var(--body);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
button, input, select { font: inherit; color: inherit; }
a { color: inherit; }
.back, .tab, .btn, .mark { text-decoration: none; }
.small a { color: var(--brand-text); font-weight: 600; text-decoration: none; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

/* Safety net: nothing can widen the screen. clip (not hidden) so the page
   itself stays the scroller and iOS keeps its normal scrolling. */
#app { overflow-x: clip; }
@supports not (overflow-x: clip) { #app { overflow-x: hidden; } }
body { overflow-wrap: break-word; }
h1, h2, h3, p, li, dd, dt, span, a, button { overflow-wrap: anywhere; }
/* Flex children default to min-width:auto and refuse to shrink below their
   longest word or email address, which pushed whole screens sideways. */
.rows li > *, .client-top > *, .plan-head > *, .event-top > *, .sheet-head > *,
.figure, .hello, .msg, .quote, .next-box > * { min-width: 0; }
.rows .k { flex: 0 0 auto; max-width: 48%; }
.rows .v { flex: 1 1 auto; }
#app {
  max-width: 520px;
  min-height: 100%;
  margin: 0 auto;
  position: relative;
}

/* ---------- boot ---------- */
.boot { min-height: 100dvh; display: grid; place-items: center; }
.boot-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--brand); animation: breathe 1.4s var(--ease) infinite; }

/* ---------- screens ---------- */
.screen {
  min-height: 100dvh;
  padding: 28px clamp(16px, 6vw, 24px) 32px;
  display: flex;
  flex-direction: column;
  animation: enter .42s var(--ease) both;
}
.screen.with-tabs { padding-bottom: calc(var(--tabbar) + 32px + env(safe-area-inset-bottom, 0px)); min-height: auto; }
.screen-top { display: flex; align-items: center; justify-content: space-between; min-height: 44px; }
.back {
  border: 0; background: none; padding: 10px 12px 10px 0; cursor: pointer;
  font-weight: 600; color: var(--ink-soft);
}
.grow { flex: 1; }

.logo { display: inline-block; color: var(--brand); line-height: 0; }
.logo svg { height: 22px; width: auto; }

/* ---------- type ---------- */
.promise {
  font: 400 clamp(56px, 17vw, 84px)/.92 var(--display);
  letter-spacing: -.02em;
  margin: 0 0 22px;
}
.title { font: 400 clamp(32px, 10vw, 40px)/1.04 var(--display); letter-spacing: -.01em; margin: 0 0 12px; }
.lede { font-size: 18px; color: var(--ink-soft); margin: 0 0 28px; max-width: 34ch; }
.small { font-size: 14px; color: var(--ink-soft); }
.center { text-align: center; }

/* ---------- welcome ---------- */
.welcome-wrap { background: var(--brand); min-height: 100dvh; }
.welcome { position: relative; overflow: hidden; color: #fff; }
.welcome .logo { color: #fff; }
.welcome .logo svg { height: 26px; }
.welcome::before {
  /* the only ambient motion in the app: a slow warm glow behind the promise */
  content: ""; position: absolute; width: 520px; height: 520px; right: -260px; top: 14%;
  background: radial-gradient(closest-side, rgb(255 255 255 / .16), transparent);
  animation: drift 14s ease-in-out infinite alternate;
  pointer-events: none;
}
.welcome .lede, .welcome .hook-lead, .welcome .for-who, .welcome .small { color: rgb(255 255 255 / .9); }
.welcome .btn-primary { background: #fff; color: var(--brand-text); }
.welcome .btn-primary:hover { background: #FFF3EE; }
.welcome .btn-text { color: #fff; }
.welcome-body { margin-top: auto; padding-top: 8vh; }
.welcome-actions { display: grid; gap: 12px; margin-top: 8px; }

/* ---------- buttons ---------- */
.btn {
  appearance: none; border: 0; cursor: pointer; text-decoration: none; text-align: center;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 58px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 17px;
  transition: transform .18s var(--ease), background-color .18s var(--ease), opacity .18s;
}
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn-primary { background: var(--brand); color: #fff; font-size: 19px; font-weight: 700; }
.btn-primary:hover { background: var(--brand-press); }
.btn-quiet { background: var(--mist); color: var(--ink); }
.btn-text { background: none; color: var(--ink); min-height: 48px; }
.btn-block { width: 100%; }
.btn .wa { width: 22px; height: 22px; flex: none; }

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; margin-bottom: 24px; }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 7px; }
.field .hint { font-weight: 400; color: var(--ink-soft); }
.input {
  width: 100%; min-height: 56px; padding: 0 18px; border-radius: var(--r-sm);
  border: 1.5px solid var(--line); background: var(--paper); font-size: 17px;
  transition: border-color .18s var(--ease);
}
.input:focus { outline: none; border-color: var(--ink); }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%), linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%); background-position: calc(100% - 22px) 25px, calc(100% - 16px) 25px; background-size: 6px 6px; background-repeat: no-repeat; }
.error { color: var(--brand-text); font-weight: 600; font-size: 15px; margin: -8px 0 16px; min-height: 1em; }

/* ---------- verify: the signature moment ---------- */
.verify-stage { display: grid; place-items: center; margin: 12px 0 28px; }
.pulse {
  position: relative; width: 132px; height: 132px; border-radius: 50%;
  background: var(--blush); display: grid; place-items: center;
}
.pulse::before, .pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--brand); opacity: 0;
  animation: ring 2.4s var(--ease) infinite;
}
.pulse::after { animation-delay: 1.2s; }
.pulse .core {
  width: 64px; height: 64px; border-radius: 50%; background: var(--brand); color: #fff;
  display: grid; place-items: center; transition: transform .5s var(--ease), background-color .5s;
}
.pulse .core .wa { width: 30px; height: 30px; color: #fff; }
.pulse .core { font: 600 26px/1 var(--body); }
.pulse.idle::before, .pulse.idle::after { animation: none; }
.pulse.done { background: color-mix(in srgb, var(--ok) 14%, transparent); }
.pulse.done::before, .pulse.done::after { animation: none; }
.pulse.done .core { background: var(--ok); transform: scale(1.12); }
.check path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .5s .15s var(--ease) forwards; }
.code-chip {
  display: inline-block; margin-top: 10px; padding: 8px 14px; border-radius: 999px;
  background: var(--mist); font-weight: 600; letter-spacing: .04em; user-select: all;
}

/* ---------- home ---------- */
.hello { margin: 10px 0 22px; }
.hello .title { margin-bottom: 6px; }
.status-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px;
  background: var(--mist); font-size: 14px; font-weight: 600;
}
.status-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.status-pill.warn .dot { background: var(--brand); }

.figure-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
@media (max-width: 340px) { .figure-row.three { grid-template-columns: 1fr 1fr; } }
.figure { background: var(--mist); border-radius: var(--r-md); padding: 18px; }
.figure .num { font: 400 48px/1 var(--display); display: block; margin-bottom: 6px; }
.figure .of { font-size: 15px; color: var(--ink-soft); }
.figure.hot { background: var(--blush); }

.panel { background: var(--mist); border-radius: var(--r-lg); padding: 22px; margin-bottom: 14px; }
.panel h3 { margin: 0 0 6px; font-size: 19px; }
.panel p { margin: 0 0 16px; color: var(--ink-soft); }
.panel .btn-quiet { background: var(--paper); }
.soon { padding: 34px 24px; text-align: center; }
.soon .title { font-size: 32px; }

.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.rows li:last-child { border-bottom: 0; }
.rows .k { color: var(--ink-soft); }
.rows .v { font-weight: 600; text-align: right; }

/* ---------- tab bar ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px);
  border-top: 1px solid var(--line);
}
.tabbar nav { max-width: 520px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); height: var(--tabbar); }
.tab {
  border: 0; background: none; cursor: pointer; display: grid; place-items: center; align-content: center; gap: 3px;
  font-size: 12px; font-weight: 600; color: var(--ink-soft); transition: color .18s var(--ease);
}
.tab svg { width: 24px; height: 24px; }
.tab[aria-current="page"] { color: var(--brand-text); }

/* ---------- plans ---------- */
.cycle {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 18px;
  background: var(--mist); border-radius: 999px;
}
.cycle button { border: 0; border-radius: 999px; min-height: 44px; background: none; font-weight: 600; cursor: pointer; font-size: 15px; }
.cycle button[aria-pressed="true"] { background: var(--paper); box-shadow: 0 1px 0 var(--line), 0 0 0 1px var(--line); }
.plan {
  border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 22px; margin-bottom: 12px;
  transition: border-color .18s var(--ease), transform .18s var(--ease);
}
.plan.featured { border-color: var(--brand-text); }
.plan-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.plan-name { font-size: 20px; font-weight: 700; margin: 0; }
.plan-flag { font-size: 13px; font-weight: 700; color: var(--brand-text); }
.plan-price { font: 400 clamp(34px, 11vw, 44px)/1 var(--display); margin: 12px 0 2px; }
.plan-price small { font: 500 15px/1 var(--body); color: var(--ink-soft); margin-left: 4px; }
.plan-save { font-size: 14px; color: var(--ok); font-weight: 600; margin: 4px 0 0; min-height: 1.3em; }
.plan-tag { color: var(--ink-soft); margin: 10px 0 14px; }
.plan ul { margin: 0 0 18px; padding: 0; list-style: none; display: grid; gap: 8px; }
.plan li { padding-left: 26px; position: relative; font-size: 16px; }
.plan li::before {
  content: ""; position: absolute; left: 3px; top: 7px; width: 12px; height: 7px;
  border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg);
}
.guarantee { text-align: center; color: var(--ink-soft); font-size: 15px; margin: 18px 8px 0; }

/* ---------- sheet ---------- */
.sheet-backdrop {
  position: fixed; inset: 0; z-index: 30; background: rgb(0 0 0 / .4);
  display: flex; align-items: flex-end; justify-content: center; animation: fade .2s ease both;
}
.sheet {
  width: 100%; max-width: 520px; background: var(--paper); border-radius: var(--r-lg) var(--r-lg) 0 0;
  padding: 26px 24px calc(26px + env(safe-area-inset-bottom, 0px)); animation: rise .34s var(--ease) both;
}
.sheet .title { font-size: 32px; }
.steps { margin: 0 0 22px; padding-left: 22px; display: grid; gap: 10px; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--tabbar) + 18px + env(safe-area-inset-bottom, 0px)); z-index: 40;
  transform: translateX(-50%); background: var(--ink); color: var(--paper);
  padding: 12px 18px; border-radius: 999px; font-weight: 600; font-size: 15px;
  animation: rise .3s var(--ease) both; max-width: calc(100% - 32px);
}

/* ---------- motion ---------- */
@keyframes enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes breathe { 0%, 100% { transform: scale(.8); opacity: .5; } 50% { transform: scale(1.15); opacity: 1; } }
@keyframes ring { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(-80px, 60px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .check path { stroke-dashoffset: 0; }
}

/* ============================================================
   v36: WhatsApp choice, pipeline, chat
   ============================================================ */
.ask { text-align: center; font-weight: 600; margin: 0 0 10px; }
.wa-choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.wa-choice .btn { padding: 0 12px; font-size: 15px; }
button.code-chip { border: 0; cursor: pointer; font: 600 15px/1.2 var(--body); color: var(--ink); }
.warn-panel { background: var(--blush); }
.warn-panel a { color: var(--brand-text); font-weight: 600; text-decoration: none; }

.figure-row.three { grid-template-columns: repeat(3, 1fr); gap: 10px; }
.figure-row.three .figure { padding: 14px; }
.figure-row.three .num { font-size: clamp(30px, 9vw, 40px); }
.figure-row.three .of { font-size: 14px; }

.search { margin: 4px 0 12px; min-height: 50px; border-radius: 999px; background: var(--mist); border-color: transparent; }
.search:focus { background: var(--paper); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin: 0 0 10px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; border: 1.5px solid var(--line); background: var(--paper); border-radius: 999px;
  min-height: 40px; padding: 0 14px; font-weight: 600; font-size: 14px; cursor: pointer;
}
.chip span { color: var(--ink-soft); font-weight: 500; margin-left: 2px; }
.chip[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip[aria-selected="true"] span { color: inherit; opacity: .7; }

.cards { display: grid; gap: 10px; }
.client {
  display: grid; gap: 4px; width: 100%; text-align: left; cursor: pointer;
  border: 0; background: var(--mist); border-radius: var(--r-md); padding: 16px 18px;
  transition: transform .15s var(--ease);
}
.client:active { transform: scale(.99); }
.client-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.client-name { font-weight: 700; font-size: 17px; }
.client-wants { color: var(--ink-soft); font-size: 15px; }
.client-next { font-size: 15px; margin-top: 4px; }
.client-next b { font-weight: 700; }
.client-next.overdue b, .client-next.today b { color: var(--brand-text); }
.client-next.none { color: var(--ink-soft); }
.stage { flex: none; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--paper); }
.stage-hot { background: var(--brand); color: #fff; }
.stage-warm { background: var(--blush); color: var(--brand-text); }
.stage-cold { background: var(--paper); color: var(--ink-soft); border: 1px solid var(--line); }
.stage-closed { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }
.empty { color: var(--ink-soft); text-align: center; padding: 28px 12px; }

.sheet.tall { max-height: 88dvh; overflow-y: auto; overscroll-behavior: contain; }
.sheet-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.sheet-head .title { margin-bottom: 14px; }
.next-box { display: grid; gap: 2px; border-radius: var(--r-md); padding: 14px 16px; background: var(--mist); margin-bottom: 14px; }
.next-box.overdue, .next-box.today { background: var(--blush); }
.next-box .k { font-size: 14px; font-weight: 700; color: var(--ink-soft); }
.next-box.overdue .k, .next-box.today .k { color: var(--brand-text); }
.next-box .v { font: 400 26px/1.1 var(--display); }
.next-box .a { color: var(--ink-soft); }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin-bottom: 14px; }
.sub { font-size: 17px; margin: 18px 0 8px; }
.timeline { list-style: none; margin: 0 0 14px; padding: 0 0 0 14px; border-left: 2px solid var(--line); display: grid; gap: 12px; }
.timeline li { display: grid; gap: 2px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -20px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.timeline .d { font-size: 13px; color: var(--ink-soft); font-weight: 600; }

/* chat */
.chat-screen { padding-bottom: calc(var(--tabbar) + 124px + env(safe-area-inset-bottom, 0px)); }
.chat-title { margin: 6px 0 14px; }
.thread { display: grid; gap: 6px; }
.earlier { margin-bottom: 8px; min-height: 46px; font-size: 15px; }
.day { justify-self: center; margin: 14px 0 6px; font-size: 13px; font-weight: 600; color: var(--ink-soft); background: var(--mist); padding: 4px 12px; border-radius: 999px; }
.sys { justify-self: center; text-align: center; max-width: 90%; font-size: 13px; color: var(--ink-soft); margin: 4px 0; }
.sys span { opacity: .7; margin-left: 4px; }
.msg { max-width: 84%; padding: 10px 14px 6px; border-radius: 20px; font-size: 16px; line-height: 1.45; overflow-wrap: anywhere; }
.msg.efua { justify-self: start; background: var(--mist); border-bottom-left-radius: 6px; }
.msg.you { justify-self: end; background: var(--ink); color: var(--paper); border-bottom-right-radius: 6px; }
.msg.you a { color: inherit; }
.msg.efua a { color: var(--brand-text); }
.msg.held { background: var(--paper); border: 1.5px dashed var(--line); }
.msg .meta { display: flex; justify-content: flex-end; gap: 8px; font-size: 12px; opacity: .65; margin-top: 4px; }
.msg .note { font-style: italic; }
.quote { font-size: 14px; border-left: 3px solid var(--brand); padding: 4px 10px; margin-bottom: 6px; border-radius: 6px; background: color-mix(in srgb, var(--paper) 18%, transparent); opacity: .9; }
.quote b { display: block; font-size: 13px; }
.replybar {
  position: fixed; left: 0; right: 0; z-index: 9; box-sizing: border-box;
  bottom: calc(var(--tabbar) + env(safe-area-inset-bottom, 0px));
  padding: 12px clamp(16px, 6vw, 24px); max-width: 520px; margin: 0 auto;
  background: linear-gradient(to top, var(--paper) 70%, transparent);
}

/* ============================================================
   v37: welcome copy and events
   ============================================================ */
.hook { font-size: 19px; font-weight: 600; line-height: 1.35; margin: 0 0 18px; max-width: 30ch; text-wrap: balance; }
.hook-lead { font-size: 18px; color: var(--ink-soft); margin: 0 0 2px; }
.for-who { font-size: 15px; color: var(--ink-soft); margin: -12px 0 24px; max-width: 38ch; }
.fine { margin-top: 14px; }

.section-title { margin: 4px 0 8px; }
.event { border-radius: var(--r-lg); background: var(--mist); padding: 20px; margin-bottom: 12px; }
.event.going { background: var(--paper); border: 1.5px solid var(--ok); }
.event.past { opacity: .6; }
.event-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.event-when { font-weight: 700; color: var(--brand-text); font-size: 15px; }
.event-name { font: 400 28px/1.1 var(--display); margin: 8px 0 6px; }
.event-where { color: var(--ink-soft); margin: 0 0 12px; }
.dotsep { display: block; }
.event-line { margin: 0 0 10px; font-size: 16px; }
.event .btn { margin-top: 6px; }

/* ============================================================
   v38: Efua brand
   ============================================================ */
body.on-brand { background: var(--brand); }
.small-logo { display: block; margin-bottom: 18px; }
.small-logo svg { height: 16px; }
.screen-top .logo svg { height: 18px; }
.rows.stacked li { display: grid; gap: 2px; }
.rows.stacked .k { max-width: none; font-size: 14px; }
.rows.stacked .v { text-align: left; }

/* ============================================================
   v40: intro pages, stacked offer, Efua for teams
   ============================================================ */
.intro { min-height: 100dvh; }
.intro-body { display: flex; flex-direction: column; flex: 1; justify-content: flex-end; padding-top: 6vh; animation: enter .38s var(--ease) both; }
.skip { border: 0; background: none; color: #fff; font-weight: 600; font-size: 16px; padding: 10px 0 10px 12px; cursor: pointer; }
.promise-md { font-size: clamp(40px, 11vw, 60px); line-height: 1; }
.intro-steps { list-style: none; counter-reset: s; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.intro-steps li { counter-increment: s; display: flex; gap: 12px; align-items: center; font-size: 18px; font-weight: 600; }
.intro-steps li::before {
  content: counter(s); flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: #fff; color: var(--brand-text); display: grid; place-items: center; font-size: 15px; font-weight: 700;
}
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgb(255 255 255 / .45); cursor: pointer; transition: width .25s var(--ease), background .25s; }
.dot[aria-selected="true"] { width: 26px; background: #fff; }
.on-brand-link { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.kicker { font-weight: 700; color: var(--brand-text); margin: 6px 0 4px; font-size: 15px; }
.plan { position: relative; }
.plan.featured { border-width: 2px; }
.plan-ribbon {
  margin: -22px -22px 16px; padding: 10px 22px; border-radius: calc(var(--r-lg) - 2px) calc(var(--r-lg) - 2px) 0 0;
  background: var(--brand); color: #fff; font-weight: 700; font-size: 14px;
}
.plan-promise { font: 400 24px/1.15 var(--display); margin: 6px 0 12px; }
.plan-per { color: var(--ink-soft); font-size: 14px; margin: 4px 0 0; }
.plan-save { color: var(--ok); font-weight: 600; font-size: 15px; margin: 8px 0 0; min-height: 0; }
.plan-plus { font-weight: 700; margin: 16px 0 8px; font-size: 15px; }
.plan ul { margin-top: 12px; }
.plan-size { font-size: 13px; font-weight: 600; color: var(--ink-soft); }

.team-teaser {
  display: grid; gap: 4px; text-decoration: none; margin: 4px 0 12px;
  background: var(--ink); color: var(--paper); border-radius: var(--r-lg); padding: 20px 22px;
}
.team-teaser .k { font-weight: 700; color: var(--brand); font-size: 14px; }
.team-teaser .v { font: 400 22px/1.2 var(--display); }
.team-teaser .go { font-weight: 700; margin-top: 6px; }
.team-teaser .go::after { content: " \2192"; }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 3px; top: 7px; width: 12px; height: 7px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }

.value-pair { display: grid; gap: 12px; margin: 10px 0 18px; }
.value { background: var(--mist); border-radius: var(--r-lg); padding: 20px; }
.value .num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; margin-bottom: 10px; }
.value h2 { font: 400 26px/1.1 var(--display); margin: 0 0 8px; }
.value p { margin: 0; color: var(--ink-soft); }
.pilot { background: var(--blush); }
.welcome .small a.on-brand-link { color: #fff; }
.plan-price small { display: inline-block; line-height: 1.3; }

/* ============================================================
   v41: clients tools, call list, cycles, teams, scripts
   ============================================================ */
.toolrow { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; }
.tool { min-height: 42px; font-size: 14px; padding: 0 16px; flex: 1 1 auto; }
.why { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.why span { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--paper); color: var(--brand-text); }

.cycle button { display: grid; place-items: center; line-height: 1.15; padding: 6px 4px; }
.cycle button small { font-size: 11px; font-weight: 700; color: var(--ok); }
.cycle button[disabled] { opacity: .4; }
.cycle.three { grid-template-columns: repeat(3, 1fr); }
.cycle.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 360px) { .cycle.four { grid-template-columns: repeat(2, 1fr); border-radius: 20px; } .cycle.four button { border-radius: 16px; } }
.sub-ticks { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 4px; }
.plan .sub-ticks li { padding-left: 14px; font-size: 15px; color: var(--ink-soft); }
.plan .sub-ticks li::before { width: 6px; height: 6px; border: 0; border-radius: 50%; background: var(--brand); transform: none; top: 9px; left: 2px; }
.how { margin: 0 0 18px; }

.team-head .title { margin-bottom: 6px; }
.code-chip.big { font-size: 22px; letter-spacing: .12em; padding: 10px 18px; margin: 4px 0 14px; }
.lb-row {
  display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: start; width: 100%;
  text-align: left; background: var(--paper); border: 0; border-radius: var(--r-md); padding: 14px; margin-top: 8px; cursor: pointer;
}
.lb-row .rank { font: 400 26px/1 var(--display); color: var(--brand-text); }
.lb-row .who { display: grid; gap: 4px; min-width: 0; }
.lb-row .nums { font-size: 14px; color: var(--ink-soft); }
.lb-row .late { font-size: 12px; font-weight: 700; color: var(--brand-text); background: var(--blush); padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.bar { display: block; height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--ok); border-radius: 999px; }

.script { background: var(--paper); border-radius: var(--r-md); padding: 14px; margin-top: 10px; }
.panel .script { background: var(--paper); }
.screen > .script, .pack .script { background: var(--mist); }
.script p { margin: 4px 0 10px; color: var(--ink); }
.script .copy { min-height: 40px; font-size: 14px; padding: 0 18px; }
textarea.input.area { min-height: 110px; padding: 14px 18px; resize: vertical; line-height: 1.45; }
.pack { border-bottom: 1px solid var(--line); padding: 6px 0 12px; }
.pack summary { cursor: pointer; font-weight: 700; font-size: 17px; padding: 12px 0; list-style: none; display: flex; justify-content: space-between; }
.pack summary::-webkit-details-marker { display: none; }
.pack summary span { color: var(--ink-soft); font-weight: 600; }
.danger { color: var(--brand-text); }
.pay-sum { text-align: center; margin-top: 16px; }

.lb-row { grid-template-columns: 28px 1fr; }
.lb-row .late { grid-column: 2; justify-self: start; }
.mini { display: flex; flex-wrap: wrap; gap: 6px; }
.mini span { font-size: 13px; font-weight: 600; background: var(--mist); padding: 3px 9px; border-radius: 999px; }

/* v42: new version available */
.update-bar {
  /* centred with margins, not transform, because the entry animation uses transform */
  position: fixed; z-index: 50; left: 12px; right: 12px; margin: 0 auto; max-width: 520px; box-sizing: border-box;
  top: calc(12px + env(safe-area-inset-top, 0px));
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--ink); color: var(--paper); border-radius: 18px; padding: 10px 10px 10px 16px;
  box-shadow: 0 8px 30px rgb(0 0 0 / .18); animation: rise .3s var(--ease) both; font-weight: 600; font-size: 15px;
}
.update-bar .btn { min-height: 42px; padding: 0 18px; font-size: 15px; background: var(--brand); color: #fff; flex: none; }

/* v53 Batch 3: install + notification nudge bars, anchored at the bottom so
   they never collide with the update bar at the top. */
.nudge-bar {
  position: fixed; z-index: 49; left: 12px; right: 12px; margin: 0 auto; max-width: 520px; box-sizing: border-box;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--paper); border-radius: 18px; padding: 12px 10px 12px 16px;
  box-shadow: 0 8px 30px rgb(0 0 0 / .18); animation: rise .3s var(--ease) both; font-weight: 600; font-size: 14px; line-height: 1.3;
}
.nudge-bar span { flex: 1; }
.nudge-bar .btn { min-height: 40px; padding: 0 16px; font-size: 14px; background: var(--brand); color: #fff; flex: none; }
.nudge-bar .x { flex: none; background: none; border: none; color: var(--paper); opacity: .7; font-size: 22px; line-height: 1; padding: 4px 6px; cursor: pointer; }
.nudge-bar .x:hover { opacity: 1; }

/* v43: bundles and wallet */
.bundle-amount, .wallet { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 4px; }
.bundle-amount .big, .wallet .big { font: 400 clamp(44px, 13vw, 56px)/1 var(--display); color: var(--ink); }
.bundle-amount span:last-child, .wallet span:last-child { color: var(--ink-soft); font-weight: 600; }
.plan.bundle .plan-per { font: 400 26px/1.1 var(--display); color: var(--ink); margin-top: 10px; }

/* v44: naira-charged note under a USD price */
.charged { color: var(--ink-soft); font-size: 13px; text-align: center; margin: 6px 0 0; }
.plan-per .charged { display: inline; font-size: 13px; }

/* v52 Batch 2: stored value + streak card */
.stored-value { margin: 0 0 16px; padding: 16px; border-radius: 16px; background: linear-gradient(135deg, var(--brand, #FF3D00), var(--brand-press, #D13200)); color: #fff; }
.sv-top { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; opacity: .85; margin-bottom: 10px; }
.sv-figs { display: flex; flex-wrap: wrap; gap: 18px; }
.sv-fig { font-size: 14px; opacity: .92; }
.sv-fig b { font-size: 22px; font-weight: 800; display: inline-block; margin-right: 4px; }
.sv-streak { margin-top: 12px; font-size: 13px; font-weight: 700; background: rgba(255,255,255,.18); display: inline-block; padding: 6px 12px; border-radius: 999px; }
/* v52 Batch 2: leaderboard movement arrows */
.rank .mv { display: block; font-size: 10px; font-weight: 800; line-height: 1; margin-top: 2px; }
.rank .mv.up { color: #138a59; }
.rank .mv.down { color: #c0392b; }
