:root {
  --bg: #FAF7F2;
  --ink: #262524;
  --ink-2: #4F4C48;
  --line: #E7E0D5;
  --accent: #1E5C3F;
  --accent-dark: #164A32;
  --accent-2: #86AE76;
  --dark: #123526;
  --btn-d: #2C7A52;
  --hi: #F3DFB4;
  --wood: #A27B52;
  --on-ink: #F6F4EF;
  --on-ink-2: #DDE3DA;
  --ok: #1F9D5B;
  --red: #C8472F;
  --t1: #E3ECDC; --t1-ink: #3D6236;
  --t2: #F2E8DA; --t2-ink: #6B5131;
  --t4: #E6EED8; --t4-ink: #43682A;
  --sky: #E3EAF2; --sky-ink: #34557D;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sh-1: 0 1px 2px rgb(38 37 36 / .06), 0 6px 16px -6px rgb(38 37 36 / .14);
  --sh-2: 0 2px 4px rgb(18 53 38 / .08), 0 24px 48px -20px rgb(18 53 38 / .35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
html.in-call { overflow: hidden; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.4;
  color: var(--ink);
  background:
    radial-gradient(60rem 34rem at 110% -6%, #E7EFDD 0%, transparent 62%),
    radial-gradient(46rem 30rem at -12% 18%, #F6E9CF 0%, transparent 60%),
    radial-gradient(52rem 34rem at 105% 62%, #F2E8DA 0%, transparent 60%),
    var(--bg);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
.ic { display: block; flex: none; width: 1em; height: 1em; }
:focus-visible { outline: 3px solid var(--ok); outline-offset: 3px; }

.page { max-width: 1160px; margin: 0 auto; padding: 16px 16px 112px; }

/* ---------- top ---------- */
.top { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; align-items: start; }
.name { font-weight: 800; font-size: clamp(27px, 7.8vw, 54px); line-height: 1.02; letter-spacing: -.03em; }
.role { margin-top: 4px; font-size: clamp(15.5px, 4.2vw, 21px); font-weight: 600; color: var(--ink-2); }
.brand { display: flex; align-items: center; gap: 8px; padding-top: 5px; }
.brand svg { width: 30px; height: 28px; }
.brand span { font-weight: 700; font-size: 19px; line-height: 1; letter-spacing: -.01em; }
.reach { display: none; }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 18px 0 8px;
  border-radius: 13px;
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--ink);
  font-size: 16.5px; font-weight: 700; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease;
}
.pill:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 2px var(--ink), 0 10px 18px -10px rgb(38 37 36 / .4); }
.pill .dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #fff; font-size: 18px; }
.pill.mail .dot { background: var(--accent); }
.pill small { font-size: 16.5px; font-weight: 600; color: var(--ink-2); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 14px;
  display: flex;
  flex-direction: column-reverse;
  gap: 18px;
  padding: 20px 20px 22px;
  border-radius: 28px;
  color: var(--on-ink);
  background:
    radial-gradient(90% 70% at 92% 0%, #2C7A52 0%, transparent 62%),
    radial-gradient(80% 60% at 0% 100%, #1E5C3F 0%, transparent 70%),
    var(--dark);
  box-shadow: var(--sh-2);
}
.stairs { display: none; position: absolute; z-index: -1; fill: #F6F4EF; height: auto; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--on-ink-2); }
.status i { width: 9px; height: 9px; border-radius: 50%; background: #55D08E; box-shadow: 0 0 0 0 rgb(85 208 142 / .6); animation: ping 2s ease-out infinite; }
.status .rest { color: var(--hi); }
.status:has(.rest) i { background: var(--hi); animation: none; }
h1 { margin-top: 6px; font-weight: 800; font-size: clamp(36px, 10.4vw, 72px); line-height: 1.06; letter-spacing: -.025em; }
.mark {
  background: linear-gradient(transparent 60%, var(--btn-d) 60%, var(--btn-d) 92%, transparent 92%);
  padding: 0 .08em; margin: 0 -.08em; white-space: nowrap;
}
.lede { margin-top: 8px; font-size: clamp(17px, 4.6vw, 23px); line-height: 1.3; color: var(--on-ink-2); }

.talk {
  position: relative;
  margin-top: 16px;
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  height: 68px; padding: 0 24px;
  border-radius: 20px;
  background: var(--bg);
  color: var(--ink);
  font-size: 23px; font-weight: 800; letter-spacing: -.01em;
  box-shadow: 0 16px 30px -14px rgb(0 0 0 / .6);
  transition: transform .18s ease, box-shadow .18s ease;
}
.talk::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 0 0 rgb(246 244 239 / .4);
  animation: ring 2.4s ease-out infinite;
}
.talk .ic { font-size: 25px; color: var(--accent); }
.talk:hover { transform: translateY(-2px); box-shadow: 0 22px 34px -14px rgb(0 0 0 / .7); }
.talk:active { transform: translateY(1px) scale(.99); }
.before { margin-top: 12px; font-size: 13.5px; line-height: 1.42; color: var(--on-ink-2); }
#ts { display: none; }
#ts.open { display: block; margin-top: 12px; padding: 8px; border-radius: 16px; background: #fff; box-shadow: var(--sh-1); }
/* the check sits above the call screen, so it can still be ticked once the call has started */
.in-call #ts.open { position: fixed; z-index: 20; left: 16px; right: 16px; bottom: calc(150px + env(safe-area-inset-bottom)); max-width: 460px; margin: 0 auto; }

.wave { flex: none; display: flex; align-items: center; justify-content: center; gap: 6px; height: 92px; }
.wave i { display: block; width: 7px; height: var(--h); min-height: 7px; border-radius: 4px; background: var(--accent-2); animation: talk 1.5s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -.21s); transform-origin: center; }
.wave i.b { background: var(--hi); }
.disc {
  flex: none; width: 64px; height: 64px; margin: 0 10px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg); color: var(--accent);
  box-shadow: 0 0 0 10px rgb(255 255 255 / .09), 0 0 0 20px rgb(255 255 255 / .05);
  font-size: 30px;
}

/* ---------- asked about ---------- */
.chips { display: flex; gap: 10px; margin: 12px -16px 0; padding: 6px 16px 10px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips li {
  flex: none; scroll-snap-align: start;
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 16px;
  border-radius: 13px;
  background: #fff; box-shadow: inset 0 0 0 2px var(--ink);
  font-size: 15.5px; font-weight: 700; white-space: nowrap;
}
.chips li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }

/* ---------- sections ---------- */
.sec { margin-top: 34px; }
.sec-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.tile { flex: none; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: #fff; color: var(--accent); box-shadow: var(--sh-1); font-size: 23px; }
h2 { font-weight: 800; font-size: clamp(26px, 6.8vw, 40px); line-height: 1.08; letter-spacing: -.02em; }
.rule { flex: 1; height: 0; border-top: 2px dashed var(--line); display: none; }

.asks { display: grid; gap: 12px; }
.ask { position: relative; min-height: 124px; padding: 18px 64px 18px 18px; border-radius: 22px; transition: transform .2s ease, box-shadow .2s ease; }
.ask:hover { transform: translateY(-3px); box-shadow: var(--sh-1); }
.ask h3 { font-weight: 700; font-size: 22px; line-height: 1.16; letter-spacing: -.01em; }
.ask p { margin-top: 6px; font-size: 16px; color: var(--ink-2); }
.ask .ico { position: absolute; right: 14px; bottom: 14px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #fff; font-size: 21px; box-shadow: var(--sh-1); }
.t1 { background: var(--t1); } .t1 .ico { color: var(--t1-ink); }
.t2 { background: var(--t2); } .t2 .ico { color: var(--t2-ink); }
.t4 { background: var(--t4); } .t4 .ico { color: var(--t4-ink); }
.sky { background: var(--sky); } .sky .ico { color: var(--sky-ink); }
.hi { background: #F7E8C8; } .hi .ico { color: var(--t2-ink); }

.steps { display: grid; gap: 12px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 22px; background: #fff; box-shadow: var(--sh-1); }
.steps b { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--dark); color: var(--on-ink); font-size: 23px; font-weight: 800; }
.steps h3 { font-size: 20px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.steps p { margin-top: 3px; font-size: 16px; color: var(--ink-2); }

.two { display: grid; gap: 12px; }
.big { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 16px; padding: 22px 20px 0; border-radius: 26px; }
.big h3 { font-size: 28px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.big p { margin-top: 8px; font-size: 17px; color: var(--ink-2); }
.big.app { background: var(--t2); }
.big.app .shot { align-self: center; width: min(330px, 92%); height: 300px; overflow: hidden; border-radius: 22px 22px 0 0; background: #fff; box-shadow: 0 -2px 30px -10px rgb(38 37 36 / .3); }
.big.app .card-shot { position: absolute; left: 12px; right: 12px; bottom: 14px; padding: 6px; border-radius: 14px; background: #fff; box-shadow: var(--sh-2); }
.big.app .card-shot img { border-radius: 9px; }
.big.crm { background: var(--t1); padding-bottom: 20px; }
.pains { display: grid; gap: 8px; }
.pains li { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 16px; border-radius: 15px; background: #fff; font-size: 18px; font-weight: 700; box-shadow: var(--sh-1); }
.pains li::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { height: 40px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: 12px; background: var(--dark); color: var(--on-ink); font-size: 16px; font-weight: 700; }

.last { margin-top: 34px; display: flex; flex-direction: column; gap: 16px; padding: 22px 20px; border-radius: 24px; color: var(--on-ink); background: var(--dark); }
.last h2 { font-size: clamp(25px, 6.4vw, 34px); }
.last p { margin-top: 4px; color: var(--on-ink-2); }
.last .links { display: flex; flex-wrap: wrap; gap: 10px; }
.last .pill { background: var(--bg); color: var(--ink); box-shadow: none; }
.foot { margin-top: 18px; text-align: center; font-size: 14px; color: var(--ink-2); }

/* the small button once the big one has scrolled away */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 5;
  display: flex; justify-content: center;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  pointer-events: none;
  transform: translateY(120%); transition: transform .28s cubic-bezier(.2, .8, .2, 1);
}
.dock.on { transform: none; }
.dock button {
  pointer-events: auto;
  width: 100%; max-width: 420px; height: 58px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 18px;
  background: var(--dark); color: var(--on-ink);
  font-size: 20px; font-weight: 800;
  box-shadow: 0 16px 34px -12px rgb(18 53 38 / .7);
}
.dock .ic { font-size: 22px; color: var(--accent-2); }

/* ---------- the call ---------- */
.call {
  position: fixed; inset: 0; z-index: 10;
  display: flex; flex-direction: column;
  color: var(--on-ink);
  background:
    radial-gradient(90% 46% at 90% 0%, #2C7A52 0%, transparent 62%),
    radial-gradient(80% 40% at 0% 100%, #1E5C3F 0%, transparent 70%),
    var(--dark);
  animation: rise .28s cubic-bezier(.2, .8, .2, 1);
}
.v { display: none; }
.call[data-view="live"] .v-live, .call[data-view="notice"] .v-notice, .call[data-view="ended"] .v-ended { display: flex; }
.v-live {
  position: relative;
  flex: 1; min-height: 0; flex-direction: column;
  width: 100%; max-width: 620px; margin: 0 auto;
  padding: calc(14px + env(safe-area-inset-top)) 16px calc(14px + env(safe-area-inset-bottom));
}
.call-top { display: flex; align-items: flex-start; justify-content: space-between; }
.call-name { font-size: 22px; font-weight: 800; letter-spacing: -.01em; line-height: 1.1; }
.call-sub { margin-top: 2px; font-size: 14.5px; color: var(--on-ink-2); }
.call-time { font-size: 19px; font-weight: 700; color: var(--on-ink-2); }

.stage { flex: none; display: flex; flex-direction: column; align-items: center; padding: 18px 0 8px; text-align: center; }
.meter { display: flex; align-items: center; justify-content: center; gap: 5px; height: 128px; }
.meter .bar { display: block; width: 7px; height: 118px; border-radius: 4px; background: var(--accent-2); transform: scaleY(.08); transform-origin: center; will-change: transform; }
.meter .bar.b { background: var(--hi); }
.meter .disc { width: 72px; height: 72px; margin: 0 12px; font-size: 32px; transition: box-shadow .3s ease, background .3s ease, color .3s ease; }
.stage[data-state="listening"] .disc { background: var(--ok); color: #fff; box-shadow: 0 0 0 10px rgb(85 208 142 / .18), 0 0 0 20px rgb(85 208 142 / .08); }
.stage[data-state="speaking"] .disc { background: var(--hi); color: var(--dark); box-shadow: 0 0 0 10px rgb(243 223 180 / .18), 0 0 0 20px rgb(243 223 180 / .08); }
.stage[data-state="thinking"] .disc { animation: breathe 1.1s ease-in-out infinite alternate; }
.stage[data-state="connecting"] .disc { animation: breathe 1.6s ease-in-out infinite alternate; }
.state { margin-top: 14px; font-size: 26px; font-weight: 800; letter-spacing: -.01em; line-height: 1.15; }
.hint { min-height: 21px; margin-top: 2px; font-size: 15px; color: var(--on-ink-2); }

.captions {
  flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 8px; padding: 6px 2px;
  -webkit-mask-image: linear-gradient(transparent, #000 22px); mask-image: linear-gradient(transparent, #000 22px);
}
.captions::before { content: ""; margin-top: auto; }
.cap { max-width: 92%; font-size: 21px; line-height: 1.28; font-weight: 600; }
.cap.ai { align-self: flex-start; }
.cap.you { align-self: flex-end; padding: 8px 13px; border-radius: 15px 15px 4px 15px; background: rgb(255 255 255 / .1); font-size: 17.5px; font-weight: 500; color: var(--on-ink-2); }
.cap.draft { opacity: .72; }

.call-foot { flex: none; display: flex; flex-direction: column; gap: 10px; padding-top: 10px; }
.minor { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.ghost { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 13px; border-radius: 12px; background: rgb(255 255 255 / .09); font-size: 14.5px; font-weight: 600; color: var(--on-ink-2); }
.ghost[aria-pressed="false"] { opacity: .75; }
.ghost .ic { font-size: 18px; }
.hangup {
  width: 100%; height: 62px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 19px;
  background: var(--red); color: #fff;
  font-size: 21px; font-weight: 800;
  box-shadow: 0 16px 30px -14px rgb(0 0 0 / .6);
}
.hangup .ic { font-size: 26px; }
.wake { position: absolute; inset: auto 16px 110px; height: 62px; border-radius: 19px; background: var(--hi); color: var(--ink); font-size: 20px; font-weight: 800; box-shadow: 0 16px 30px -10px rgb(0 0 0 / .6); }

/* notices and the end of a call */
.v-notice, .v-ended { flex: 1; min-height: 0; align-items: center; justify-content: center; padding: calc(16px + env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom)); overflow-y: auto; }
.sheet { width: 100%; max-width: 460px; max-height: 100%; overflow-y: auto; padding: 24px 20px 20px; border-radius: 26px; color: var(--ink); background: var(--bg); box-shadow: var(--sh-2); }
.sheet h2 { margin-top: 12px; font-size: 29px; outline: none; }
.sheet > p { margin-top: 8px; font-size: 17.5px; color: var(--ink-2); }
.sheet-acts { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.solid { width: 100%; height: 56px; display: flex; align-items: center; justify-content: center; gap: 9px; border-radius: 16px; background: var(--dark); color: var(--on-ink); font-size: 18.5px; font-weight: 800; }
.solid .ic { font-size: 22px; }
.solid.wa { background: var(--ok); color: #fff; }
.solid.line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.plain { height: 44px; font-size: 16.5px; font-weight: 700; color: var(--ink-2); }
details { margin-top: 12px; border-top: 2px dashed var(--line); padding-top: 12px; }
summary { font-weight: 700; cursor: pointer; }
#ended-lines { display: grid; gap: 8px; margin-top: 10px; font-size: 16px; color: var(--ink-2); }
#ended-lines b { color: var(--ink); }

@keyframes talk { from { transform: scaleY(.55); } to { transform: scaleY(1.08); } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgb(246 244 239 / .34); } 70%, 100% { box-shadow: 0 0 0 14px rgb(246 244 239 / 0); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgb(85 208 142 / .55); } 80%, 100% { box-shadow: 0 0 0 9px rgb(85 208 142 / 0); } }
@keyframes breathe { from { box-shadow: 0 0 0 8px rgb(255 255 255 / .08), 0 0 0 16px rgb(255 255 255 / .04); } to { box-shadow: 0 0 0 14px rgb(255 255 255 / .12), 0 0 0 26px rgb(255 255 255 / .05); } }
@keyframes rise { from { transform: translateY(18px); } to { transform: none; } }

/* ---------- bigger screens ---------- */
@media (min-width: 620px) {
  .page { padding: 24px 24px 56px; }
  .asks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps li { flex-direction: column; }
  .rule { display: block; }
  .last { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 900px) {
  body { font-size: 18px; }
  .page { padding: 36px 32px 48px; }
  .top { grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 28px; align-items: center; }
  .reach { display: flex; gap: 10px; justify-content: flex-end; grid-column: 2; grid-row: 1; }
  .brand { grid-column: 3; grid-row: 1; padding-top: 0; }
  .brand svg { width: 38px; height: 36px; }
  .brand span { font-size: 23px; }
  .hero { margin-top: 26px; flex-direction: row; align-items: center; justify-content: space-between; gap: 40px; padding: 56px 52px 72px 60px; border-radius: 36px; }
  .hero-copy { max-width: 600px; }
  .talk { width: auto; min-width: 280px; height: 76px; margin-top: 26px; padding: 0 34px; font-size: 26px; border-radius: 22px; }
  .before { max-width: 560px; margin-top: 18px; font-size: 14.5px; }
  .stairs { display: block; right: -40px; bottom: -70px; width: 520px; opacity: .045; }
  .wave { height: 300px; gap: 9px; }
  .wave i { width: 10px; border-radius: 5px; }
  .wave .disc { width: 112px; height: 112px; margin: 0 16px; font-size: 48px; box-shadow: 0 0 0 16px rgb(255 255 255 / .09), 0 0 0 32px rgb(255 255 255 / .05); }
  .chips { position: relative; z-index: 2; justify-content: center; gap: 8px; margin: -26px 0 0; padding: 0; overflow: visible; }
  .chips li { height: 52px; padding: 0 15px; font-size: 16px; box-shadow: inset 0 0 0 2px var(--ink), var(--sh-1); }
  #ts.open + .chips { margin-top: 14px; }
  .chips li:nth-child(odd) { transform: rotate(-1.2deg); }
  .chips li:nth-child(even) { transform: rotate(1deg) translateY(4px); }
  .sec { margin-top: 56px; }
  .sec-head { margin-bottom: 20px; }
  .tile { width: 52px; height: 52px; font-size: 26px; border-radius: 15px; }
  .asks { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .ask { min-height: 176px; padding: 24px 72px 24px 24px; border-radius: 26px; }
  .ask h3 { font-size: 26px; }
  .ask p { font-size: 17px; }
  .ask .ico { right: 18px; bottom: 18px; width: 48px; height: 48px; font-size: 24px; }
  .steps { gap: 16px; }
  .steps li { padding: 24px; border-radius: 26px; }
  .steps h3 { font-size: 24px; }
  .steps p { font-size: 17px; }
  .two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .big { padding: 32px 32px 0; border-radius: 30px; }
  .big h3 { font-size: 34px; }
  .big p { font-size: 18.5px; }
  .big.crm { padding-bottom: 32px; justify-content: space-between; }
  .big.app .shot { height: 340px; }
  .big.app .card-shot { left: 32px; right: 32px; bottom: 22px; }
  .pains { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .last { margin-top: 56px; padding: 30px 36px; border-radius: 30px; }
  .dock { display: none; }
}

@media (max-height: 640px) {
  .stage { padding: 8px 0 2px; }
  .meter { height: 84px; }
  .meter .bar { height: 76px; }
  .meter .disc { width: 56px; height: 56px; font-size: 26px; }
  .state { margin-top: 6px; font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .wave i { transform: none; }
}
