/* Evenroo landing page (Persuade). Shared tokens and chrome: /site/site.css. OWNER: the lead.
   Every size is a token from site.css (type --t-*, radii --r-*), so the page stays on the
   DESIGN.md scale; the drawn app screens use the app's own ramp at the app's own sizes. */

.ic {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.cap {
  margin-top: var(--s-4);
  font-size: var(--t-xs);
  line-height: 1.45;
  color: var(--text-2);
  max-width: 52ch;
}

/* ======================= Hero ======================= */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(32px, 5vw, 64px) var(--gutter) var(--s-8);
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}
.hero__h {
  font: 700 var(--t-display)/1.03 var(--font-num);
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero__q {
  display: inline-block;
  margin-left: 0.12em;
  vertical-align: 0.14em;
}
.hero__q .stamp {
  font-size: 0.74em;
  padding: 0.1em 0.26em 0.04em;
  border-width: 4px;
  --r: -7deg;
  box-shadow:
    inset 0 0 0 3px var(--surface),
    inset 0 0 0 5px var(--c);
}
.hero__lead {
  margin-top: var(--s-5);
  font-size: var(--t-lead);
  line-height: 1.55;
  color: var(--text-2);
  max-width: 31em;
}
.hero__go {
  display: flex;
  align-items: center;
  gap: var(--s-4) var(--s-5);
  flex-wrap: wrap;
  margin-top: var(--s-6);
}
.hero__free {
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--text-2);
}
.facts {
  margin-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--border);
  max-width: 520px;
}
.facts div {
  display: flex;
  justify-content: space-between;
  gap: var(--s-4);
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  font-size: var(--t-sm);
}
.facts dt {
  font-weight: 600;
  white-space: nowrap;
}
.facts dt a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-underline-offset: 3px;
}
.facts dt a:hover {
  text-decoration-color: currentColor;
}
.facts dd {
  color: var(--text-2);
  text-align: right;
}

.hero__stage {
  position: relative;
}
.hero__stage .cap {
  max-width: 372px;
}

/* ---- The phone ---- */
.phone {
  position: relative;
  width: 372px;
  border: 10px solid var(--bezel);
  border-radius: var(--r-device);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-phone);
}
.phone::before {
  content: '';
  position: absolute;
  z-index: 3;
  top: 9px;
  left: 50%;
  width: 92px;
  height: 26px;
  margin-left: -46px;
  border-radius: var(--r-full);
  background: var(--bezel);
}
.phone--hero {
  height: 740px;
}
.phone__screen {
  position: relative;
  height: 100%;
  padding-top: 44px;
}

/* ---- App UI drawn live (the app's Ink stamp look, the app's ramp) ---- */
.app {
  color: var(--text);
  font-family: var(--font-ui);
}
.app p {
  margin: 0;
}
.app__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 14px 0;
  height: 44px;
  color: var(--text);
}
.app__bar-t {
  font: 600 var(--t-md)/1 var(--font-ui);
}
.app__bar .ic {
  width: 22px;
  height: 22px;
  stroke-width: 2;
}
.app__group {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
  padding: 10px 20px 0;
}
.app__title {
  font: 700 var(--t-title)/1.1 var(--font-num);
  letter-spacing: -0.02em;
}
.app__title--sm {
  font-size: var(--t-lg);
  padding: 14px 16px 6px;
}
.app__meta {
  font-size: var(--t-xs);
  font-weight: 500;
  color: var(--text-2);
  margin-top: 6px !important;
}
.app__stamps {
  display: flex;
  gap: 6px;
  padding-bottom: 2px;
}
.app__stamps .st {
  --s: 30px;
}
.app__bal {
  padding: 22px 20px 0;
}
.app__k {
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--text-2);
}
.app__v {
  font: 700 var(--t-2xl)/1.1 var(--font-num);
  letter-spacing: -0.025em;
  color: var(--pos);
  margin-top: 4px !important;
}
.app__v small,
.slip__amt small,
.fx__amt small,
.desk__v small {
  font-size: 0.5em;
  font-weight: 600;
  letter-spacing: 0;
  margin-left: 4px;
}
.app__s {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--t-sm);
  font-weight: 500;
  margin-top: 12px !important;
}
.app__s b {
  color: var(--pos);
  font-weight: 600;
}
.app__acts {
  display: flex;
  gap: 8px;
  padding: 18px 20px 0;
}
.app__acts span {
  white-space: nowrap;
  height: 36px;
  padding: 0 14px;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  font-size: var(--t-xs);
  font-weight: 600;
  border: 1.5px solid var(--border);
}
.app__acts .is-p {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--on-brand);
}
.app__mon {
  font-size: var(--t-xs);
  font-weight: 600;
  color: var(--text-2);
  padding: 22px 20px 4px;
}
.app__fab {
  position: absolute;
  right: 16px;
  bottom: 20px;
  z-index: 2;
  height: 52px;
  padding: 0 22px 0 16px;
  border-radius: var(--r-full);
  background: var(--brand);
  color: var(--on-brand);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: var(--t-md);
  box-shadow: var(--shadow-fab);
}
.app__fab .ic {
  width: 22px;
  height: 22px;
  stroke-width: 2.2;
}

.row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 18px 9px 14px;
}
.row__dt {
  width: 30px;
  text-align: center;
  flex: none;
  color: var(--text-2);
}
.row__dt small {
  display: block;
  font-size: var(--t-2xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.row__dt b {
  display: block;
  font: 600 var(--t-ml)/1.15 var(--font-num);
}
.row__ci {
  color: var(--text-2);
}
.row__tx {
  flex: 1;
  min-width: 0;
}
.row__tt {
  font-size: var(--t-sm);
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.row__wh {
  font-size: var(--t-xs);
  line-height: 1.3;
  color: var(--text-2);
  margin-top: 2px !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.row__am {
  text-align: right;
  flex: none;
}
.row__am small {
  display: block;
  font-size: var(--t-2xs);
  font-weight: 500;
  color: var(--text-2);
}
.row__am b {
  display: block;
  font: 700 var(--t-sm)/1.3 var(--font-num);
  letter-spacing: -0.02em;
}
.is-lent,
.is-lent b {
  color: var(--pos);
}
.is-borrowed b {
  color: var(--neg);
}
.row__paid {
  font-size: var(--t-md);
  padding: 4px 8px 3px;
  border-width: 2px;
  box-shadow: none;
  margin-right: 4px;
}

/* ---- The settle-up slip beside the hero phone ---- */
.slip {
  position: absolute;
  left: max(260px, calc(100% - 300px));
  top: 330px;
  z-index: 4;
  width: 300px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-4);
  padding: 22px 22px 24px;
  box-shadow: var(--shadow-2);
}
.slip__h {
  font-size: var(--t-xs);
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 14px;
}
.slip__pr {
  display: flex;
  align-items: center;
  gap: 12px;
}
.slip__arr {
  color: var(--text-2);
  width: 20px;
  height: 20px;
}
.slip__amt {
  font: 700 var(--t-2xl)/1 var(--font-num);
  letter-spacing: -0.025em;
  margin-top: 18px;
}
.slip__note {
  font-size: var(--t-xs);
  line-height: 1.45;
  color: var(--text-2);
  margin-top: 8px;
}
.slip__stamp {
  position: absolute;
  right: 22px;
  top: 28px;
  --r: -11deg;
  font-size: var(--t-title);
  animation: press 520ms var(--ease-out) 700ms both;
}
@keyframes press {
  0% {
    opacity: 0;
    transform: rotate(-4deg) scale(1.9);
  }
  60% {
    opacity: 1;
    transform: rotate(var(--r)) scale(0.94);
  }
  100% {
    opacity: 1;
    transform: rotate(var(--r)) scale(1);
  }
}

/* ======================= How it works ======================= */
.how {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) var(--s-8);
}
.how--after {
  padding-top: var(--s-6);
}
.panel {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  padding: clamp(40px, 5vw, 64px) 0;
}
.panel__h {
  font: 700 var(--t-h3)/1.06 var(--font-num);
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.panel__text p {
  margin-top: var(--s-4);
  font-size: var(--t-lead);
  line-height: 1.55;
  color: var(--text-2);
  max-width: 30em;
}
.panel__demo {
  min-width: 0;
}
.panel__demo > .phone {
  margin: 0 auto;
}

/* The mat: the phone rises out of a tinted stage and is cut by its bottom edge. */
.phone--crop {
  height: 520px;
  width: 340px;
}
.mat {
  display: grid;
  justify-items: center;
}
.mat::before {
  content: '';
  grid-row: 1;
  grid-column: 1;
  justify-self: stretch;
  background: var(--surface-2);
  border-radius: var(--r-4);
}
.mat--brand::before {
  background: var(--brand-soft);
}
.mat > .phone--crop {
  grid-row: 1;
  grid-column: 1;
  margin: 48px 0 0;
  border-bottom: 0;
  border-radius: var(--r-device) var(--r-device) 0 0;
  box-shadow: none;
}
.mat > .cap {
  grid-row: 2;
  justify-self: start;
}

/* Two features side by side: a different rhythm from the panel above. */
.pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(24px, 3vw, 40px) 0 clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--border);
}
.pair__item {
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  min-width: 0;
}
.pair__h {
  font: 700 var(--t-title)/1.1 var(--font-num);
  letter-spacing: -0.025em;
  padding-top: var(--s-5);
}
.pair__item > p {
  margin-top: var(--s-3);
  font-size: var(--t-md);
  line-height: 1.55;
  color: var(--text-2);
  max-width: 34em;
}
.pair__demo {
  margin-top: var(--s-5);
  min-width: 0;
  align-self: end;
}

/* Balances */
.bals {
  list-style: none;
  margin: 6px 0 0;
}
.bals li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px;
  border-bottom: 1px solid var(--border);
}
.bals__n {
  flex: 1;
  font-weight: 600;
  font-size: var(--t-sm);
}
.bals__n small {
  font-weight: 500;
  color: var(--text-2);
  margin-left: 4px;
  font-size: var(--t-xs);
}
.bals__a {
  text-align: right;
}
.bals__a small {
  display: block;
  font-size: var(--t-2xs);
  color: var(--text-2);
  font-weight: 500;
}
.bals__a b {
  font: 700 var(--t-md)/1.3 var(--font-num);
}
.bals__sum {
  display: flex;
  justify-content: space-between;
  padding: 12px 20px;
  font-size: var(--t-xs);
  color: var(--text-2);
  font-weight: 600;
}
.bals__sum b {
  color: var(--text);
  font-family: var(--font-num);
}
.words {
  margin: 14px 16px 0;
  padding: 14px;
  border-radius: var(--r-3);
  background: var(--surface-2);
  display: grid;
  gap: 12px;
}
.words p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--t-sm);
  font-weight: 500;
}
.words b {
  font-weight: 700;
}

/* Add expense sheet: the app's sheet (header with Save, kind, amount, title, sentence, toolbar). */
.app--sheet {
  background: color-mix(in srgb, var(--text) 32%, var(--surface));
}
.sheet {
  position: absolute;
  inset: 64px 0 0;
  background: var(--surface);
  border-radius: var(--r-4) var(--r-4) 0 0;
  padding: 8px 16px 0;
}
.sheet__grab {
  width: 40px;
  height: 5px;
  border-radius: var(--r-full);
  background: var(--border-strong);
  margin: 0 auto 8px;
}
.sheet__top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0 12px;
  margin: 0 -16px;
  padding-inline: 16px;
  border-bottom: 1px solid var(--border);
}
.sheet__t {
  flex: 1;
  font: 700 var(--t-lg)/1.2 var(--font-num);
}
.sheet__save {
  padding: 7px 14px;
  border-radius: var(--r-1);
  background: var(--brand);
  color: var(--on-brand);
  font-weight: 700;
  font-size: var(--t-sm);
}
.sheet__x {
  width: 22px;
  height: 22px;
  color: var(--brand-text);
  stroke-width: 2;
}
.seg {
  display: flex;
  margin-top: 14px;
  padding: 3px;
  border-radius: var(--r-2);
  border: 1px solid var(--border);
  background: var(--surface-2);
}
.seg span {
  flex: 1;
  text-align: center;
  padding: 7px 0;
  font-size: var(--t-xs);
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--r-1);
}
.seg .is-on {
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(16, 24, 20, 0.14);
}
.amt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 2px 10px;
}
.amt__cur {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 10px 7px 14px;
  border-radius: var(--r-full);
  border: 1px solid var(--border);
  background: var(--surface-2);
  font-weight: 700;
  font-size: var(--t-sm);
}
.amt__cur .ic {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}
.amt__big {
  flex: 1;
  text-align: center;
  font: 700 var(--t-2xl)/1 var(--font-num);
  letter-spacing: -0.03em;
}
.what {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
}
.what__ci {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-full);
  border: 1px solid var(--border-strong);
  flex: none;
}
.what__ci .ic {
  width: 20px;
  height: 20px;
}
.what__v {
  flex: 1;
  padding: 8px 0;
  border-bottom: 2px solid var(--brand-text);
  font-size: var(--t-md);
  font-weight: 600;
}
.sentence {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px !important;
  padding: 10px 12px 10px 14px;
  border-radius: var(--r-3);
  border: 1px solid var(--border);
  background: var(--surface-2);
  font-size: var(--t-xs);
  line-height: 1.4;
}
.sentence > span {
  flex: 1;
}
.sentence b {
  color: var(--brand-text);
  font-weight: 700;
}
.sentence .num {
  color: var(--text-2);
}
.sentence .ic {
  width: 16px;
  height: 16px;
  color: var(--text-2);
}
.tools {
  display: flex;
  gap: 6px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.tools span {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 7px 0;
  border-radius: var(--r-full);
  border: 1px solid var(--border);
  font-size: var(--t-2xs);
  font-weight: 600;
  color: var(--text);
}
.tools .ic {
  width: 15px;
  height: 15px;
}

/* Currency */
.fx {
  padding: 12px 20px 0;
}
.fx__ci {
  width: 48px;
  height: 48px;
  padding: 10px;
  border-radius: var(--r-2);
  background: var(--brand-soft);
  color: var(--brand-text);
}
.fx__t {
  font: 700 var(--t-lg)/1.2 var(--font-num);
  margin-top: 14px !important;
}
.fx__amt {
  font: 700 var(--t-2xl)/1.05 var(--font-num);
  letter-spacing: -0.025em;
  margin-top: 6px !important;
}
.fx__base {
  font: 600 var(--t-md)/1.3 var(--font-num);
  color: var(--text-2);
}
.fx__rate {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: var(--r-3);
  background: var(--surface-2);
  font-size: var(--t-xs);
  color: var(--text-2);
  position: relative;
}
.fx__rate .num {
  color: var(--text);
  font-weight: 600;
  font-size: var(--t-sm);
}
.fx__chg {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  color: var(--brand-text);
  font-size: var(--t-xs);
}
.tree {
  list-style: none;
  margin-top: 16px;
}
.tree li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--t-sm);
  padding: 5px 0;
}
.tree li b {
  font-family: var(--font-num);
}
.tree__sub {
  justify-content: space-between;
  margin-left: 13px;
  padding-left: 24px !important;
  border-left: 1.5px solid var(--border-strong);
  color: var(--text-2);
}
.tree__sub b {
  color: var(--neg);
}

/* ======================= Settle up: full width, the stamp presses ======================= */
.settle {
  background: var(--canvas);
  border-block: 1px solid var(--border);
  overflow-x: clip;
}
.settle__in {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(56px, 7vw, 112px) var(--gutter);
  display: grid;
  justify-items: center;
  text-align: center;
}
.settle__text {
  max-width: 40rem;
}
.settle__h {
  font: 700 var(--t-h2)/1.04 var(--font-num);
  letter-spacing: -0.032em;
  text-wrap: balance;
}
.settle__text p {
  margin: var(--s-4) auto 0;
  font-size: var(--t-lead);
  line-height: 1.55;
  color: var(--text-2);
  max-width: 34em;
}
.settle__demo {
  width: min(100%, 60rem);
  margin-top: clamp(32px, 4vw, 56px);
  text-align: start;
}
.settle__demo .cap {
  margin-inline: auto;
  text-align: center;
}
.board {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-4);
  box-shadow: var(--shadow-2);
  padding: clamp(20px, 3vw, 36px) clamp(20px, 3.5vw, 44px) clamp(16px, 2vw, 24px);
}
.board__h {
  display: flex;
  gap: 6px;
  align-items: baseline;
  font: 700 var(--t-lg)/1.2 var(--font-num);
}
.board__n {
  color: var(--text-2);
}
.board__lead {
  margin-top: 4px;
  font-size: var(--t-sm);
  color: var(--text-2);
}
.board__list {
  list-style: none;
  margin-top: var(--s-4);
}
.board__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto minmax(12rem, auto);
  align-items: center;
  gap: var(--s-4) var(--s-5);
  padding: var(--s-5) 0;
  border-top: 1px solid var(--border);
  min-height: 112px;
}
.board__pr {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-2);
}
.board__pr .ic {
  width: 18px;
  height: 18px;
}
.board__w {
  font-size: var(--t-ml);
  font-weight: 600;
}
.board__w small {
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--text-2);
  margin-inline: 2px;
}
.board__amt {
  font: 700 var(--t-title)/1 var(--font-num);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
/* A paid row steps back without losing contrast: the stamps fade, the words go secondary. */
.board__row.is-paid .board__pr {
  opacity: 0.6;
}
.board__row.is-paid .board__w,
.board__row.is-paid .board__amt {
  color: var(--text-2);
}
.board__act {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: var(--s-2);
}
.board__quiet {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  border-radius: var(--r-full);
  color: var(--brand-text);
  font-weight: 600;
  font-size: var(--t-sm);
}
.board__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--r-full);
  background: var(--brand);
  color: var(--on-brand);
  font-weight: 700;
  font-size: var(--t-sm);
}
.board__quiet .ic,
.board__btn .ic {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}
.board__stamp {
  --r: -7deg;
  display: inline-grid;
  justify-items: center;
  gap: 2px;
  font-size: var(--t-2xl);
  padding: 8px 18px 6px;
  border-width: 4px;
  box-shadow:
    inset 0 0 0 3px var(--surface),
    inset 0 0 0 5px var(--c);
  margin-inline-end: var(--s-3);
}
.board__stamp small {
  font: 700 var(--t-xs)/1 var(--font-num);
  letter-spacing: 0.02em;
}
.board__stamp.is-armed {
  opacity: 0;
  transform: rotate(-4deg) scale(1.9);
}
.board__stamp.is-armed.is-pressed {
  animation: press 420ms var(--ease-out) both;
}
.board__note {
  padding-top: var(--s-4);
  border-top: 1px solid var(--border);
  font-size: var(--t-xs);
  color: var(--text-2);
  line-height: 1.45;
}

/* Devices */
.panel--wide {
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-6);
}
.panel--wide .panel__text {
  max-width: 760px;
}
.devices__stage {
  position: relative;
  padding: 48px 48px 0;
  border-radius: var(--r-4);
  background: var(--surface-2);
  overflow: hidden;
}
.laptop {
  width: min(820px, calc(100% - 220px));
  border: 1px solid var(--border-strong);
  border-bottom: 0;
  border-radius: var(--r-3) var(--r-3) 0 0;
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-2);
}
.laptop__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.laptop__bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
}
.laptop__bar span {
  margin: 0 auto;
  font-size: var(--t-2xs);
  color: var(--text-2);
  padding: 3px 40px;
  border-radius: var(--r-1);
  background: var(--surface);
}
.laptop__screen {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 220px;
  height: 360px;
}
.desk__rail {
  border-right: 1px solid var(--border);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: var(--t-xs);
  font-weight: 600;
  color: var(--text-2);
}
.wm-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 700 var(--t-md)/1 var(--font-num);
  color: var(--text);
  letter-spacing: -0.02em;
  padding: 0 8px 14px;
}
.wm-mini .wm__mark {
  width: 22px;
  height: 22px;
}
.desk__rail > span:not(.wm-mini):not(.desk__new) {
  padding: 8px;
  border-radius: var(--r-2);
}
.desk__rail .is-on {
  background: var(--brand-soft);
  color: var(--brand-text);
}
.desk__new {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  border-radius: var(--r-full);
  background: var(--brand);
  color: var(--on-brand);
  font-weight: 700;
}
.desk__new .ic {
  width: 16px;
  height: 16px;
  stroke-width: 2.2;
}
.desk__list {
  padding: 12px 0;
  min-width: 0;
}
.desk__h {
  font: 700 var(--t-lg)/1.2 var(--font-num);
  padding: 4px 18px 8px;
}
.desk__panel {
  border-left: 1px solid var(--border);
  padding: 20px 18px;
}
.desk__v {
  font: 700 var(--t-title)/1.1 var(--font-num);
  color: var(--pos);
  letter-spacing: -0.025em;
  margin-top: 4px;
}
.desk__s {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--t-xs);
  font-weight: 500;
  margin-top: 10px;
}
.desk__btn {
  display: inline-flex;
  margin-top: 18px;
  height: 36px;
  align-items: center;
  padding: 0 16px;
  border-radius: var(--r-full);
  background: var(--brand);
  color: var(--on-brand);
  font-weight: 700;
  font-size: var(--t-xs);
}
.phone--mini {
  position: absolute;
  right: 56px;
  bottom: -40px;
  width: 280px;
  height: 400px;
  border-width: 9px;
  border-radius: var(--r-device);
  z-index: 2;
}
.phone--mini .phone__screen {
  padding-top: 40px;
}
.offline {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0 12px !important;
  padding: 10px 12px;
  border-radius: var(--r-2);
  background: var(--surface-2);
  font-size: var(--t-xs);
  line-height: 1.35;
  color: var(--text-2);
}
.offline b {
  color: var(--text);
}
.offline .ic {
  width: 18px;
  height: 18px;
  margin-top: 1px;
}

/* ======================= Agents ======================= */
.agents {
  background: var(--band);
  color: var(--on-band);
}
.agents__in {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(64px, 8vw, 128px) var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.agents__h {
  font: 700 var(--t-h2)/1.04 var(--font-num);
  letter-spacing: -0.032em;
  text-wrap: balance;
}
.agents__lead {
  margin-top: var(--s-5);
  font-size: var(--t-lead);
  line-height: 1.55;
  color: var(--on-band-2);
  max-width: 34em;
}
.agents__list {
  list-style: none;
  margin-top: var(--s-6);
  display: grid;
  gap: 0;
  max-width: 36em;
}
.agents__list li {
  padding: 12px 0;
  border-top: 1px solid var(--band-line);
  color: var(--on-band-2);
  font-size: var(--t-md);
}
.agents__list li:last-child {
  border-bottom: 1px solid var(--band-line);
}
.agents__list b {
  color: var(--on-band);
  font-weight: 600;
}
.agents__tools-h {
  margin-top: var(--s-6);
  font-weight: 600;
  font-size: var(--t-sm);
}
.agents__tools {
  list-style: none;
  margin-top: var(--s-3);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 36em;
}
.agents__tools code {
  display: inline-block;
  padding: 5px 10px;
  border-radius: var(--r-1);
  border: 1px solid var(--band-line);
  background: var(--band-2);
  color: var(--on-band);
  font-size: var(--t-xs);
}
.agents__go {
  margin-top: var(--s-6);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-4) var(--s-5);
}
.btn--band {
  background: var(--on-band);
  color: var(--band);
}
.btn--band:hover {
  background: color-mix(in srgb, var(--on-band) 88%, var(--band));
}
.agents__more {
  color: var(--on-band);
  font-weight: 600;
}

.chat {
  min-width: 0;
}
.chat__body {
  background: var(--surface);
  color: var(--text);
  border-radius: var(--r-4);
  padding: clamp(18px, 2.5vw, 28px);
  box-shadow: var(--shadow-band);
  display: grid;
  gap: 16px;
}
.chat__you {
  justify-self: end;
  max-width: 85%;
  background: var(--brand-soft);
  color: var(--text);
  padding: 12px 16px;
  border-radius: var(--r-3) var(--r-3) var(--r-1) var(--r-3);
  font-size: var(--t-sm);
  line-height: 1.45;
}
.chat__call {
  border: 1px solid var(--border);
  border-radius: var(--r-3);
  overflow: hidden;
}
.chat__tool {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: var(--t-xs);
  font-weight: 600;
  color: var(--text-2);
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.chat__tool code {
  color: var(--text);
  font-size: var(--t-xs);
}
.chat__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pos);
}
.chat pre {
  padding: 14px 16px;
  font-size: var(--t-xs);
  line-height: 1.6;
  overflow-x: auto;
  color: var(--text);
}
.chat__bot {
  max-width: 92%;
  font-size: var(--t-sm);
  line-height: 1.5;
}
.chat__hist {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: var(--t-xs);
  color: var(--text-2);
}
.chat__hist b {
  color: var(--text);
  font-weight: 600;
}
.chat__hist .st {
  --c: var(--m1) !important;
}
.cap--band {
  color: var(--on-band-2);
}
.cap--band code {
  color: var(--on-band);
}

/* ======================= Free ======================= */
.free {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 9vw, 128px) var(--gutter) var(--s-8);
}
.free__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s-5) var(--s-8);
  align-items: end;
}
.free__h {
  font: 700 var(--t-h2)/1.04 var(--font-num);
  letter-spacing: -0.032em;
  text-wrap: balance;
}
.free__lead {
  font-size: var(--t-lead);
  line-height: 1.55;
  color: var(--text-2);
  max-width: 32em;
}
.free__grid {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-6) var(--s-5);
}
.free__col h3 {
  font: 700 var(--t-ml)/1.2 var(--font-num);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--text);
}
.free__col ul {
  list-style: none;
}
.free__col li {
  padding: 11px 0 11px 26px;
  border-bottom: 1px solid var(--border);
  font-size: var(--t-sm);
  line-height: 1.4;
  position: relative;
}
.free__col li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 18px;
  height: 18px;
  background: var(--pos);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.next {
  margin-top: clamp(48px, 6vw, 72px);
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--r-4);
  border: 1.5px dashed var(--border-strong);
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: var(--s-3) var(--s-6);
}
.next__h {
  font: 700 var(--t-lg)/1.2 var(--font-num);
}
.next__note {
  grid-column: 1;
  font-size: var(--t-sm);
  color: var(--text-2);
}
.next__list {
  grid-column: 2;
  grid-row: 1 / span 2;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: start;
}
.next__list li {
  padding: 7px 14px;
  border-radius: var(--r-full);
  background: var(--surface-2);
  color: var(--text-2);
  font-size: var(--t-sm);
}

/* ======================= Close ======================= */
.close {
  max-width: 880px;
  margin: 0 auto;
  padding: var(--s-8) var(--gutter) clamp(80px, 10vw, 140px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.close__stamp {
  font-size: var(--t-3xl);
  padding: 0.1em 0.3em 0.04em;
  border-width: 4px;
  --r: -6deg;
  box-shadow:
    inset 0 0 0 3px var(--surface),
    inset 0 0 0 5px var(--c);
}
.close__h {
  margin-top: var(--s-6);
  font: 700 var(--t-h2)/1.04 var(--font-num);
  letter-spacing: -0.034em;
  text-wrap: balance;
}
.close__p {
  margin: var(--s-4) 0 var(--s-6);
  font-size: var(--t-lead);
  color: var(--text-2);
  max-width: 32em;
}

/* ======================= Responsive ======================= */
@media (max-width: 1360px) and (min-width: 1061px) {
  .hero {
    grid-template-columns: minmax(0, 500px) minmax(0, 1fr);
  }
}
@media (max-width: 1180px) {
  .free__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .laptop__screen {
    grid-template-columns: 150px minmax(0, 1fr) 190px;
  }
  .phone--mini {
    right: 32px;
  }
}
@media (max-width: 1060px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero {
    gap: 0;
  }
  .hero__copy {
    display: contents;
  }
  .hero__h,
  .hero__lead,
  .hero__go {
    max-width: 640px;
  }
  .hero__stage {
    order: 1;
    margin-top: var(--s-7);
    display: grid;
    justify-items: center;
  }
  .facts {
    order: 2;
    max-width: 640px;
  }
  .hero__stage .cap {
    text-align: center;
  }
  .slip {
    position: relative;
    left: auto;
    top: auto;
    margin: -170px 0 0 min(160px, 30vw);
    width: 280px;
  }
  .phone--hero {
    height: 640px;
  }
  .agents__in {
    grid-template-columns: minmax(0, 1fr);
  }
  .chat {
    max-width: 640px;
  }
}
@media (max-width: 860px) {
  .panel {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s-5);
  }
  .pair {
    grid-template-columns: minmax(0, 1fr);
  }
  .board__row {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }
  .board__act {
    grid-column: 1 / -1;
  }
  .free__head {
    grid-template-columns: minmax(0, 1fr);
  }
  .next {
    grid-template-columns: minmax(0, 1fr);
  }
  .next__list {
    grid-column: 1;
    grid-row: auto;
  }
  .laptop {
    display: none;
  }
  .devices__stage {
    display: grid;
    justify-items: center;
  }
  .phone--mini {
    position: relative;
    right: auto;
    bottom: auto;
    width: 320px;
    height: 400px;
    margin-bottom: -40px;
  }
}
@media (max-width: 560px) {
  .phone,
  .phone--crop {
    width: min(340px, 100%);
  }
  .phone--hero {
    height: 600px;
  }
  .slip {
    width: min(270px, 80%);
    margin: -150px 10px 0 auto;
    padding: 18px 18px 20px;
  }
  .slip__stamp {
    font-size: var(--t-xl);
    right: 16px;
    top: 22px;
  }
  .slip__amt {
    font-size: var(--t-title);
  }
  .facts div {
    flex-direction: column;
    gap: 2px;
    padding: 11px 0;
  }
  .facts dd {
    text-align: left;
  }
  .free__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero__go .btn {
    flex: 1 1 100%;
  }
  .hero__free {
    width: 100%;
    text-align: center;
  }
  .mat > .phone--crop {
    margin-top: 32px;
    height: 480px;
  }
  .devices__stage {
    padding: 32px 16px 0;
  }
  .phone--mini {
    width: min(320px, 100%);
  }
  .agents__go .btn {
    flex: 1 1 100%;
  }
  .settle__text,
  .settle__in {
    text-align: start;
    justify-items: stretch;
  }
  .settle__demo .cap {
    text-align: start;
  }
  .board__row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--s-2) var(--s-3);
    min-height: 0;
  }
  .board__pr {
    grid-column: 1 / -1;
  }
  .board__amt {
    font-size: var(--t-lg);
  }
  .board__stamp {
    font-size: var(--t-title);
  }
  .board__act {
    justify-content: flex-start;
  }
  /* The paid row keeps its stamp beside the pair of stamps, on the right. */
  .board__row.is-paid .board__pr {
    grid-column: 1;
    grid-row: 1;
  }
  .board__row.is-paid .board__act {
    grid-column: 2;
    grid-row: 1;
    justify-content: flex-end;
  }
  .board__row.is-paid .board__stamp {
    margin-inline-end: var(--s-1);
  }
}

/* Free here, paid elsewhere: the extras other apps charge for. */
.edge {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(56px, 7vw, 104px) var(--gutter) 0;
}
.edge__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s-5) var(--s-8);
  align-items: end;
}
.edge__h {
  font: 700 var(--t-h2)/1.04 var(--font-num);
  letter-spacing: -0.032em;
  text-wrap: balance;
}
.edge__lead {
  font-size: var(--t-lead);
  line-height: 1.55;
  color: var(--text-2);
  max-width: 32em;
}
.edge__grid {
  list-style: none;
  margin-top: clamp(32px, 4vw, 56px);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--s-5);
}
.edge__card {
  position: relative;
  padding: var(--s-6) var(--s-5) var(--s-5);
  border: 1px solid var(--border);
  border-radius: var(--r-2);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.edge__card h3 {
  font: 700 var(--t-ml)/1.2 var(--font-num);
  letter-spacing: -0.01em;
}
.edge__card p {
  font-size: var(--t-sm);
  line-height: 1.45;
  color: var(--text-2);
}
.edge__card .edge__else {
  margin-top: auto;
  padding-top: var(--s-3);
  border-top: 1px solid var(--border);
  font-size: var(--t-xs);
}
.edge__else a {
  color: var(--text);
  font-weight: 600;
}
.edge__stamp {
  --r: -6deg;
  position: absolute;
  top: -13px;
  right: 14px;
  font-size: var(--t-sm);
  background: var(--surface);
}
@media (max-width: 1180px) {
  .edge__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 860px) {
  .edge__head {
    grid-template-columns: minmax(0, 1fr);
  }
  .edge__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .edge__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
