/* The small product pictures inside the sections: the built-in tiles, the two ways to bring AI,
   the phone's one question, the open receipt and the open-source cards. Only tokens. */

.tile {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-8);
  border: var(--border) solid var(--line);
  border-radius: var(--radius-window);
  background: var(--surface);
  min-width: 0;
}
.tile h3 {
  font-size: var(--size-h4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.tile p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: var(--leading-ui);
}

/* Built in */
.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-16);
}
.bento .tile {
  min-height: 320px;
}
.t-signin,
.t-admin,
.t-devices {
  grid-column: span 2;
}
.mini {
  margin-top: auto;
  padding: var(--space-5);
  border: var(--border) solid var(--line);
  border-radius: var(--radius-card);
  background: var(--bg-raised);
  font-size: var(--size-small);
}
.signin {
  display: grid;
  gap: var(--space-3);
  max-width: 340px;
  width: 100%;
  margin-inline: auto;
  background: var(--surface);
}
.signin b {
  color: var(--text-strong);
  font-size: 18px;
  font-weight: var(--weight-semibold);
}
.field-m {
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 var(--space-3);
  border: var(--border) solid var(--line-strong);
  border-radius: var(--radius-control);
  color: var(--text-muted);
}
.mbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: 44px;
  padding: 0 var(--space-4);
  border-radius: var(--radius-control);
  border: var(--border) solid var(--line-strong);
  color: var(--text-strong);
  font-weight: var(--weight-medium);
}
.mbtn .icon {
  width: 18px;
  height: 18px;
}
.mbtn.dark {
  background: var(--text-strong);
  border-color: var(--text-strong);
  color: var(--bg-canvas);
}
.pay {
  display: grid;
  gap: var(--space-2);
}
.pay .amt {
  font-size: 40px;
  line-height: 1.1;
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-display);
  color: var(--text-strong);
}
.paid {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  width: fit-content;
  height: 28px;
  padding: 0 var(--space-3);
  border-radius: var(--radius-pill);
  background: var(--ok-tint);
  color: var(--ok);
  font-weight: var(--weight-medium);
}
.paid .icon {
  width: 16px;
  height: 16px;
}
.pay small,
.msg small {
  color: var(--text-muted);
  font-size: 13px;
}
.msg {
  display: grid;
  gap: var(--space-2);
}
.bubble {
  padding: var(--space-3) var(--space-4);
  border-radius: 18px 18px 18px 6px;
  background: var(--surface-3);
  color: var(--text-strong);
  font-size: 15px;
  line-height: 1.4;
}
.admin {
  display: grid;
  padding: var(--space-2) var(--space-5);
  background: var(--surface);
}
.admin .r {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: var(--space-4);
  padding: var(--space-3) 0;
  border-bottom: var(--border) solid var(--line);
  color: var(--text-strong);
  font-size: 15px;
}
.admin .r:last-child {
  border-bottom: 0;
}
.admin .r.h {
  font-family: var(--font-mono);
  font-size: var(--size-label);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--text-muted);
}
.admin .ok {
  color: var(--ok);
  font-weight: var(--weight-medium);
}
.devices {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: var(--space-4);
  padding-block: var(--space-6) 0;
  overflow: hidden;
  background: var(--bg-raised);
}
.devices i {
  display: block;
  border: 2px solid var(--line-strong);
  border-bottom: 0;
  background:
    linear-gradient(var(--surface-3), var(--surface-3)) 12px 28px / 40% 10px no-repeat,
    linear-gradient(var(--line), var(--line)) 12px 48px / calc(100% - 24px) 44px no-repeat,
    linear-gradient(var(--text-subtle), var(--text-subtle)) 12px calc(100% - 18px) / 34% 14px
    no-repeat,
    var(--surface);
}
.d-web {
  width: 260px;
  height: 140px;
  border-radius: 12px 12px 0 0;
}
.d-phone {
  width: 72px;
  height: 128px;
  border-radius: 16px 16px 0 0;
}
.d-phone.alt {
  height: 112px;
}
.more {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-10);
  color: var(--text-muted);
  font-size: var(--size-small);
}
.more ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}
.more li {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  height: 32px;
  padding: 0 var(--space-3);
  border: var(--border) solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--text);
}
.more li .icon {
  width: 14px;
  height: 14px;
}

/* Your AI */
.choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}
.choice {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-6);
  border: var(--border) solid var(--line);
  border-radius: var(--radius-window);
  background: var(--surface);
}
.choice header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.agents {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-2);
}
.agents li {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: var(--space-3);
  align-items: center;
  padding: var(--space-2);
  border-radius: var(--radius-card);
  background: var(--bg-raised);
  color: var(--text-strong);
  font-weight: var(--weight-medium);
  font-size: 15px;
}
.wallet {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: var(--space-1) var(--space-4);
  padding: var(--space-4);
  border-radius: var(--radius-card);
  background: var(--bg-raised);
}
.wallet strong {
  grid-row: 2;
  font-size: 36px;
  line-height: 1.1;
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-display);
  color: var(--text-strong);
}
.wallet .btn {
  grid-row: 1 / 3;
  grid-column: 2;
  align-self: center;
}
.wline {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: var(--border) solid var(--line);
  font-size: 15px;
  color: var(--text-muted);
}
.wline b {
  color: var(--text-strong);
  font-weight: var(--weight-medium);
}
.choice .foot {
  margin-top: auto;
  color: var(--text-muted);
  font-size: var(--size-small);
  line-height: var(--leading-ui);
}

/* You decide: the phone's one question */
.lock {
  display: grid;
  place-items: center;
}
.lock-phone {
  width: min(100%, 360px);
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-16) var(--space-4) var(--space-8);
  border-radius: 52px;
  border: 10px solid var(--sun-night);
  background: var(--bg-canvas);
  color: var(--text);
  box-shadow: var(--shadow-window);
}
.lock-time {
  font-size: 72px;
  line-height: 1;
  font-weight: var(--weight-medium);
  letter-spacing: -0.04em;
  color: var(--text-strong);
}
.lock-date {
  margin-bottom: var(--space-10);
  font-size: 15px;
  color: var(--text-muted);
}
.notice {
  width: 100%;
  display: grid;
  gap: var(--space-1);
  padding: var(--space-4);
  border-radius: 20px;
  background: var(--surface-2);
  border: var(--border) solid var(--line);
}
.n-head {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-1);
  font-size: 13px;
  color: var(--text-muted);
}
.n-head img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
}
.n-head b {
  color: var(--text);
  font-weight: var(--weight-medium);
}
.n-head span {
  margin-inline-start: auto;
}
.n-title {
  color: var(--text-strong);
  font-weight: var(--weight-semibold);
  font-size: 15px;
}
.n-body {
  font-size: 14px;
  color: var(--text);
}
.n-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
  margin-top: var(--space-3);
}
.n-actions .mbtn {
  border-color: var(--line-strong);
}
.n-actions .yes {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text-on-accent);
}
.quiet-n {
  opacity: 0.7;
}

/* The open receipt */
.receipt {
  margin: 0;
  padding: var(--space-8) var(--space-8) var(--space-10);
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  box-shadow: var(--shadow-overlay);
  rotate: 1.2deg;
  font-size: 15px;
  -webkit-mask:
    radial-gradient(circle at 10px 100%, transparent 8px, #000 8.5px) -10px 100% / 20px 100%
    repeat-x;
  mask:
    radial-gradient(circle at 10px 100%, transparent 8px, #000 8.5px) -10px 100% / 20px 100%
    repeat-x;
}
.receipt figcaption {
  display: grid;
  gap: var(--space-1);
  padding-bottom: var(--space-5);
  margin-bottom: var(--space-2);
  border-bottom: 2px solid var(--text-strong);
}
.receipt figcaption b {
  color: var(--text-strong);
  font-size: 20px;
  font-weight: var(--weight-semibold);
  letter-spacing: -0.03em;
}
.receipt figcaption span {
  font-family: var(--font-mono);
  font-size: var(--size-label);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--text-muted);
}
.rl {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-4);
  padding: var(--space-3) 0;
  border-bottom: var(--border) dashed var(--line-strong);
  color: var(--text-strong);
}
.rl small {
  display: block;
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 13px;
}
.rl b {
  font-family: var(--font-mono);
  font-weight: var(--weight-medium);
}
.rl.total {
  border-bottom: 0;
  padding-top: var(--space-4);
  font-size: 20px;
  font-weight: var(--weight-semibold);
}
.rfoot {
  margin-top: var(--space-3);
  font-size: 13px;
  color: var(--text-muted);
}

/* Open source */
.opens {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-16);
}
.opens .tile {
  min-height: 240px;
  gap: var(--space-3);
}
.opens .chip {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: var(--space-4);
  border-radius: var(--radius-card);
  border: var(--border) solid var(--line);
  background: var(--bg-raised);
  color: var(--text-strong);
}
.mission {
  max-width: 880px;
  margin: var(--space-24) auto 0;
  text-align: center;
}
.mission blockquote {
  margin: 0;
}
.mission p {
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.25;
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-heading);
  color: var(--text-strong);
}
/* Its label sits above it, as every section's eyebrow does. */
.mission figcaption {
  margin-bottom: var(--space-5);
  font-family: var(--font-mono);
  font-size: var(--size-label);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (max-width: 1080px) {
  .bento,
  .opens {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .t-signin,
  .t-admin,
  .t-devices {
    grid-column: span 2;
  }
}
@media (max-width: 720px) {
  .bento,
  .opens,
  .choices {
    grid-template-columns: 1fr;
  }
  .t-signin,
  .t-admin,
  .t-devices {
    grid-column: auto;
  }
  .bento .tile {
    min-height: 0;
    padding: var(--space-6);
  }
  .mini {
    margin-top: var(--space-4);
  }
  .opens .tile {
    min-height: 0;
  }
  .d-web {
    width: 180px;
    height: 110px;
  }
  .receipt {
    rotate: 0deg;
    padding: var(--space-6) var(--space-5) var(--space-8);
  }
  .lock-phone {
    min-height: 540px;
  }
  .lock-time {
    font-size: 60px;
  }
}
