@import url("/tokens.css");

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

.page-grid {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.page-grid__rule {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--grid-rule);
}

.page-grid__rule--left {
  left: max(32px, calc(50% - 640px));
}

.page-grid__rule--center {
  left: calc(50% + 28px);
}

.page-grid__rule--right {
  left: min(calc(100% - 32px), calc(50% + 640px));
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
p,
ol,
ul {
  margin: 0;
}

.top-stripe {
  position: relative;
  z-index: 2;
  height: 4px;
  background: var(--brand);
}

.shell {
  width: min(calc(100% - 64px), var(--shell));
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.site-header__inner,
.site-footer__inner,
.hero__inner,
.section > .shell {
  position: relative;
  z-index: 2;
}

.site-header__inner,
.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}

.brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius-sm);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand__wordmark {
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  margin-right: 8px;
}

.site-nav a,
.site-menu-link {
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
}

.site-nav a:hover,
.site-menu-link:hover {
  color: var(--brand-2);
}

.site-menu-link {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 49px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  transition:
    background-color 140ms ease,
    border-color 140ms ease,
    color 140ms ease,
    transform 140ms ease;
}

.btn:hover,
.replay-btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow:
    0 1px 0 rgba(11, 18, 32, 0.06),
    0 4px 12px rgba(14, 58, 107, 0.14);
}

.btn-primary:hover {
  background: var(--brand-2);
}

.btn-secondary {
  border-color: var(--border-strong);
  background: var(--bg);
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: var(--brand-2);
  color: var(--brand-2);
}

.hero,
.section {
  position: relative;
  padding: 72px 0;
  border-top: 1px solid var(--border);
}

.hero::after,
.section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--grid-rule);
}

.hero {
  border-top: 0;
}

.section--alt,
.flow-section {
  background: var(--bg-soft);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: start;
}

.hero__copy {
  max-width: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}

.eyebrow--tight {
  margin-bottom: 4px;
}

h1 {
  margin-top: 16px;
  color: var(--ink);
  font-size: clamp(36px, 4.6vw, 48px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

h2 {
  color: var(--ink);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  max-width: 15ch;
}

h3 {
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.005em;
}

h4 {
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.005em;
}

.hero__lede,
.flow-lede {
  margin-top: 18px;
  color: var(--text);
  font-size: 18px;
  font-weight: 400;
  max-width: 38ch;
}

.entry-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.entry-card {
  display: grid;
  grid-template-rows: auto auto minmax(5.5em, auto) minmax(82px, auto) minmax(2.9em, auto) minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  height: 100%;
  padding: 24px;
  border: 1px solid var(--border);
  border-top: 2px solid var(--brand);
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  box-shadow: var(--shadow);
}

.entry-card--action {
  cursor: pointer;
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease;
}

.entry-card--action:hover {
  border-color: var(--border-strong);
  box-shadow:
    0 1px 0 rgba(11, 18, 32, 0.05),
    0 4px 10px rgba(11, 18, 32, 0.08);
}

.entry-card__eyebrow {
  color: var(--brand);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.entry-card__body,
.entry-card__note,
.hero__microcopy {
  color: var(--muted);
}

.entry-card__body {
  font-size: 14.5px;
  line-height: 1.5;
  min-height: 0;
}

.entry-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  min-height: 82px;
  margin-top: 2px;
  padding: 16px 18px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--bg);
  color: var(--ink);
}

.entry-card .entry-link {
  margin-top: 4px;
  align-self: start;
  width: 100%;
}

.entry-link__value-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.entry-link__arrow {
  flex: 0 0 auto;
  color: var(--ink);
  opacity: 0.6;
  font-family: "IBM Plex Mono", monospace;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  transition: opacity 150ms ease;
}

.entry-link__kicker {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.entry-link__value {
  display: block;
  max-width: 100%;
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(16px, 1.32vw, 19px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.entry-link--sms .entry-link__value {
  font-size: clamp(16px, 1.35vw, 19px);
}

.entry-link--email .entry-link__value {
  font-size: clamp(14px, 1.08vw, 16px);
  letter-spacing: -0.03em;
}

.entry-card--action:hover .entry-link__arrow {
  opacity: 1;
}

.entry-card__note {
  font-size: 12px;
  line-height: 1.45;
  min-height: 2.9em;
}

.sms-disclosure {
  align-self: end;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.45;
}

.sms-disclosure a {
  color: var(--brand);
  font-weight: 600;
}

.sms-disclosure--placeholder {
  visibility: hidden;
}

.sms-disclosure--contact {
  max-width: 760px;
  margin-top: 12px;
  padding: 0;
  border-top: 0;
}

.hero__microcopy {
  display: inline-flex;
  flex-wrap: wrap;
  max-width: 100%;
  margin-top: 18px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-panel);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
}

.scan-card,
.card,
.phone-demo__frame {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  box-shadow: var(--shadow);
}

.scan-card {
  overflow: hidden;
}

.scan-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border);
}

.scan-card__header h3 {
  margin-top: 2px;
}

.pill,
.count-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 24px;
  padding: 4px 9px;
  border-radius: var(--radius-sm);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pill-ok {
  background: var(--ok-bg);
  color: var(--ok);
}

.pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.meta-table {
  padding: 0 20px;
}

.meta-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border);
}

.meta-row:last-child {
  border-bottom: 0;
}

.meta-key,
.meta-value.mono,
.section-label {
  font-family: "IBM Plex Mono", monospace;
}

.meta-key {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.meta-value {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  text-align: right;
}

.meta-value.mono {
  letter-spacing: -0.01em;
}

.scan-section {
  padding: 18px 20px 20px;
  border-top: 1px solid var(--border);
}

.scan-section--pay {
  background: linear-gradient(
    180deg,
    rgba(185, 69, 22, 0.045) 0%,
    rgba(185, 69, 22, 0.015) 100%
  );
}

.scan-section--pay .section-label {
  color: var(--warn);
}

.scan-section--pay .risk-icon {
  background: #fff0e6;
  box-shadow: inset 0 0 0 1px rgba(185, 69, 22, 0.14);
}

.scan-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.section-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.count-pill {
  color: var(--ok);
  background: var(--ok-bg);
}

.count-pill--warn {
  color: var(--warn);
  background: var(--warn-bg);
}

.risk-list {
  display: grid;
  gap: 12px;
}

.risk-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
}

.risk-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: var(--radius-sm);
  background: var(--warn-bg);
  color: var(--warn);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 700;
}

.risk-icon--soft {
  background: var(--bg-panel);
  color: var(--brand);
}

.risk-text {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
}

.risk-sub {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 56px;
  align-items: start;
}

.section-heading__main {
  min-width: 0;
}

.section-copy {
  margin-top: 14px;
  max-width: 40rem;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.section-spec {
  margin-top: 0;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  max-width: none;
}

.section-spec__label {
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-spec__list {
  margin-top: 10px;
  border-top: 1px dashed var(--border);
}

.section-spec__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  color: var(--ink);
  font-size: 14.5px;
}

.section-spec__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 22px;
  padding: 0 8px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: var(--bg-panel);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 22px 24px;
}

.card h3 {
  margin-bottom: 2px;
}

.card p,
.contact-copy,
.site-footer {
  color: var(--muted);
}

.card-intro {
  min-height: 4.5em;
  font-size: 15px;
  line-height: 1.5;
}

.card-stat {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.card-stat__value {
  color: var(--ink);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
}

.card-stat__text::before {
  content: "·";
  margin-right: 6px;
  color: var(--muted);
}

.card-list {
  display: grid;
  gap: 0;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
}

.card-list li {
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.4;
}

.flow-grid {
  display: flex;
  align-items: stretch;
  gap: 56px;
}

.flow-copy {
  flex: 1 1 0;
  min-width: 0;
}

.beats {
  margin-top: 28px;
  padding: 0;
  list-style: none;
}

.beats li {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 0;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  transition: background-color 180ms ease;
}

.beats li:last-child {
  border-bottom: 1px solid var(--border);
}

.beats li.is-active {
  background: rgba(24, 86, 168, 0.04);
}

.beats li.is-complete {
  color: var(--text);
}

.beat-num {
  color: var(--brand);
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.beats h4 {
  margin-bottom: 6px;
}

.beats p {
  color: var(--muted);
  max-width: 42ch;
}

.kw {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-panel);
  color: var(--ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
}

.phone-pane {
  flex: 0 0 544px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.replay-btn {
  flex: 0 0 auto;
  min-height: 39px;
  padding: 0 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition:
    border-color 140ms ease,
    color 140ms ease,
    transform 140ms ease;
}

.replay-btn--rail {
  align-self: center;
}

.replay-btn:hover {
  border-color: var(--brand-2);
  color: var(--brand-2);
}

.phone-demo {
  width: 100%;
  max-width: 360px;
}

.phone-demo__frame {
  border-radius: var(--phone-radius);
  background: var(--bg);
  overflow: hidden;
}

.phone-demo__screen {
  min-height: 720px;
  background: var(--bg);
}

.phone-demo__statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 12px;
  color: var(--ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 500;
}

.phone-demo__status-icons {
  letter-spacing: 0.03em;
}

.phone-demo__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 16px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.thread-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.thread-title {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.thread-subtitle {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.thread-shell {
  position: relative;
  height: 602px;
}

.thread-fade {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
  pointer-events: none;
}

.thread-fade--top {
  top: 0;
  height: 54px;
  background: linear-gradient(
    180deg,
    var(--bg) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}

.thread-fade--bottom {
  bottom: 0;
  height: 48px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    var(--bg) 100%
  );
}

.sms-thread {
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
  padding: 18px 16px 24px;
  overflow-y: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.sms-thread::-webkit-scrollbar {
  display: none;
}

.sms-cluster {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 78%;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 220ms ease,
    transform 260ms ease;
}

.sms-cluster.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.sms-cluster--incoming {
  align-self: flex-start;
}

.sms-cluster--outgoing {
  align-self: flex-end;
  align-items: flex-end;
}

.sms-label {
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.sms-bubble {
  padding: 14px 16px;
  border-radius: 18px;
  line-height: 1.48;
  white-space: pre-line;
}

.sms-cluster--incoming .sms-bubble {
  border-radius: 4px 18px 18px 18px;
  background: #f0f1f4;
  color: var(--ink);
}

.sms-cluster--outgoing .sms-bubble {
  border-radius: 18px 4px 18px 18px;
  background: var(--sms-blue);
  color: #fff;
}

.sms-bubble--media {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 16px;
}

.sms-file-icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: currentColor;
  opacity: 0.75;
}

.sms-file-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sms-file-name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
}

.sms-file-meta {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.03em;
  opacity: 0.82;
}

.contact-copy {
  max-width: 34rem;
}

.proof-preview {
  max-width: 32rem;
  margin-top: 18px;
  padding: 16px 18px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  box-shadow: var(--shadow);
}

.proof-preview__label {
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.proof-preview__list {
  display: grid;
  gap: 0;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
}

.proof-preview__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.35;
}

.proof-preview__list li::before {
  content: "✓";
  color: var(--ok);
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 600;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.contact-trust {
  display: inline-flex;
  flex-wrap: wrap;
  max-width: 100%;
  margin-top: 16px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-panel);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
}

.site-footer {
  position: relative;
  z-index: 2;
  background: var(--bg);
  padding: 24px 0 32px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer__support {
  max-width: 560px;
  margin-top: 4px;
}

.site-footer__support a,
.site-footer__links a {
  color: var(--brand);
  font-weight: 600;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.legal-main {
  position: relative;
  z-index: 2;
  padding: 56px 0 72px;
  border-top: 1px solid var(--border);
}

.legal-shell {
  width: min(calc(100% - 64px), 860px);
  margin: 0 auto;
}

.legal-card {
  border: 1px solid var(--border);
  background: var(--bg-panel);
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 48px);
}

.legal-card h1 {
  margin-bottom: 10px;
  font-size: clamp(34px, 5vw, 54px);
}

.legal-meta {
  display: grid;
  gap: 4px;
  margin-bottom: 32px;
  color: var(--muted);
}

.legal-card h2 {
  margin-top: 32px;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 22px;
  letter-spacing: -0.02em;
}

.legal-card p,
.legal-card li {
  color: var(--text);
}

.legal-card p + p {
  margin-top: 12px;
}

.legal-card ul {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
  padding-left: 22px;
}

.legal-card strong {
  color: var(--ink);
}

.legal-card a {
  color: var(--brand);
  font-weight: 600;
}

.legal-contact {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

@media (max-width: 1080px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__copy,
  .scan-card {
    max-width: 760px;
  }

  .section-heading--split {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-spec {
    max-width: 30rem;
  }
}

@media (max-width: 960px) {
  .page-grid {
    display: none;
  }

  .shell {
    width: min(calc(100% - 48px), var(--shell));
  }

  .site-header__inner {
    min-height: 70px;
  }

  .site-nav {
    display: none;
  }

  .site-menu-link {
    display: inline-flex;
    margin-left: auto;
  }

  .hero,
  .section {
    padding: 56px 0;
  }

  h1 {
    font-size: 36px;
  }
}

@media (max-width: 900px) {
  .flow-grid {
    flex-direction: column;
    gap: 40px;
  }

  .phone-pane {
    order: 2;
    flex: none;
    justify-content: flex-start;
    padding-left: 0;
    border-left: 0;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .site-header__inner {
    flex-wrap: wrap;
    gap: 14px 18px;
    padding: 14px 0;
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-menu-link {
    order: 2;
    margin-left: 0;
  }

  .btn-nav {
    order: 3;
    margin-left: auto;
  }

  .grid--3 {
    grid-template-columns: 1fr;
  }

  .beats li {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .replay-btn--rail {
    align-self: flex-start;
  }

  .phone-demo {
    max-width: 100%;
  }
}

@media (max-width: 700px) {
  .entry-band {
    grid-template-columns: 1fr;
  }

  .entry-card {
    grid-template-rows: auto auto auto auto auto auto;
  }

  .entry-link {
    min-height: 0;
  }

  .hero__microcopy,
  .contact-trust {
    display: flex;
  }
}

@media (max-width: 420px) {
  .meta-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .meta-value {
    text-align: left;
  }

  .phone-demo__frame {
    border-radius: 22px;
  }

  .thread-shell {
    height: 560px;
  }

  .sms-cluster {
    max-width: 84%;
  }
}
