/*
  Product pages (/apps/, /still/, /ledger/, …). Generated from apps/apps.json by
  scripts/build-apps.py; this stylesheet is shared by every page it writes.

  Same three theme states as the home page: no data-theme follows the system,
  data-theme=light|dark is an explicit choice. Every token is set on bare :root
  first so nothing is undefined when a media query does not apply.
*/
@font-face {
  font-family: "Meslo";
  src: url("/fonts/meslo-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --fg: #111111;
  --muted: #6b6b6b;
  --line: #e4e4e4;
  --card: #f5f5f5;
  --card-2: #ebebeb;
  --accent: #111111;
  --accent-fg: #ffffff;
  --ok: #1d8a4b;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
  --mono: "Meslo", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000;
    --fg: #ededed;
    --muted: #8a8a8a;
    --line: #232323;
    --card: #0d0d0d;
    --card-2: #161616;
    --accent: #ffffff;
    --accent-fg: #000000;
    --ok: #4cd080;
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
  }
}

:root[data-theme="dark"] {
  --bg: #000000;
  --fg: #ededed;
  --muted: #8a8a8a;
  --line: #232323;
  --card: #0d0d0d;
  --card-2: #161616;
  --accent: #ffffff;
  --accent-fg: #000000;
  --ok: #4cd080;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}

* { box-sizing: border-box; }

html { height: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 120ms linear, color 120ms linear;
}

a { color: inherit; }

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

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- header ------------------------------------------------------------ */

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 0 0;
}

.top .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  line-height: 0;
}

.top .brand img {
  height: 32px;
  width: auto;
  filter: invert(1);
  transition: filter 120ms linear;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .top .brand img { filter: none; }
}

:root[data-theme="dark"] .top .brand img { filter: none; }
:root[data-theme="light"] .top .brand img { filter: invert(1); }

.top nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.top nav a { text-decoration: none; color: var(--muted); }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--fg); }

#theme {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
}

#theme:hover { color: var(--fg); border-color: var(--fg); }

/* ---- type -------------------------------------------------------------- */

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
}

.eyebrow b { color: var(--fg); font-weight: 700; }

.eyebrow .soon {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 10px;
  margin-left: 10px;
  color: var(--fg);
}

h1 {
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 0 0 22px;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 750;
  margin: 0 0 14px;
  text-wrap: balance;
}

h3 {
  font-size: 1.05rem;
  margin: 0 0 8px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.lede {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 34rem;
  margin: 0 0 30px;
}

.lede strong { color: var(--fg); font-weight: 600; }

p { margin: 0 0 1em; }

.muted { color: var(--muted); }

code, kbd {
  font-family: var(--mono);
  font-size: 0.82em;
  background: var(--card-2);
  border-radius: 5px;
  padding: 2px 6px;
}

/* ---- hero -------------------------------------------------------------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
  gap: 56px;
  align-items: center;
  padding: 72px 0 64px;
}

.hero.phone-hero { grid-template-columns: minmax(0, 12fr) minmax(0, 7fr); }
.hero.wide-hero { grid-template-columns: minmax(0, 9fr) minmax(0, 11fr); gap: 48px; }

.hero .visual { min-width: 0; }

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 22px;
  border: 1px solid var(--fg);
  color: var(--fg);
  background: transparent;
  cursor: pointer;
  transition: transform 120ms ease, background-color 120ms linear, color 120ms linear;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn.primary {
  background: var(--accent);
  color: var(--accent-fg);
  border-color: var(--accent);
}

.btn.primary .was {
  opacity: 0.55;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

.btn:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }

.fine {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin: 0;
}

.fine b { color: var(--fg); font-weight: 700; }

/* ---- device frames ----------------------------------------------------- */

.mac {
  background: #0b0b0b;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  color: #e6e6e6;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.4;
}

.mac .bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  background: #161616;
  border-bottom: 1px solid #262626;
  position: relative;
}

.mac .bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #3a3a3a;
  display: inline-block;
}

.mac .bar i:nth-child(1) { background: #ff5f57; }
.mac .bar i:nth-child(2) { background: #febc2e; }
.mac .bar i:nth-child(3) { background: #28c840; }

.mac .bar span {
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 12px;
  color: #8d8d8d;
  pointer-events: none;
}

.mac img { width: 100%; }

.phone {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  aspect-ratio: 9 / 19.5;
  border-radius: 44px;
  padding: 10px;
  background: #0b0b0b;
  border: 1px solid #2c2c2c;
  box-shadow: var(--shadow);
  position: relative;
}

.phone::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 26px;
  border-radius: 999px;
  background: #000;
}

.phone .screen {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: #000;
}

.phone .screen img { width: 100%; height: 100%; object-fit: cover; }

/* ---- sections ---------------------------------------------------------- */

section { padding: 64px 0; border-top: 1px solid var(--line); }

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 40px;
  margin-top: 36px;
}

.feature .n {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 14px;
}

.feature p { margin: 0; color: var(--muted); font-size: 0.98rem; }

.feature p b { color: var(--fg); font-weight: 600; }

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 36px;
  align-items: start;
}

.gallery figure { margin: 0; }

.gallery figcaption {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-top: 12px;
}

/* ---- pricing ----------------------------------------------------------- */

.pricing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.price-card {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 20px;
  padding: 30px 32px 28px;
}

.price-card .eyebrow { margin-bottom: 10px; }

.price {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 4px 0 6px;
}

.price .now {
  font-family: var(--mono);
  font-size: 3rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.price .later {
  font-family: var(--mono);
  font-size: 1rem;
  color: var(--muted);
  text-decoration: line-through;
}

.price .per {
  font-family: var(--mono);
  font-size: 1rem;
  color: var(--muted);
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
}

.price-card li { padding-left: 22px; position: relative; }

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--fg);
}

.price-card .btn { width: 100%; justify-content: center; }

.price-card .fine { margin-top: 12px; text-align: center; }

/* ---- waitlist form ----------------------------------------------------- */

.waitlist {
  display: flex;
  gap: 8px;
  max-width: 440px;
  margin: 0 0 10px;
}

.waitlist input {
  flex: 1 1 auto;
  min-width: 0;
  font: inherit;
  font-size: 15px;
  padding: 13px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--fg);
}

.waitlist input:focus { outline: 2px solid var(--fg); outline-offset: 1px; border-color: transparent; }

.waitlist input::placeholder { color: var(--muted); }

.waitlist .btn { padding: 13px 18px; }

.waitlist.done { display: none; }

.thanks {
  display: none;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ok);
  margin: 0 0 10px;
}

.thanks.on { display: block; }

/* ---- faq ----------------------------------------------------------------- */

.faq { max-width: 44rem; }

.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--muted); }
.faq details[open] summary::after { content: "–"; }

.faq details p { color: var(--muted); margin: 0 0 18px; max-width: 40rem; }

/* ---- index cards ------------------------------------------------------- */

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 40px;
}

.card {
  display: block;
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 20px;
  padding: 26px 26px 24px;
  transition: transform 140ms ease, border-color 120ms linear;
}

.card:hover { transform: translateY(-2px); border-color: var(--fg); }

.card .eyebrow { margin-bottom: 14px; }

.card h2 { font-size: 1.6rem; margin-bottom: 8px; }

.card p { color: var(--muted); margin: 0 0 18px; min-height: 3.2em; }

.card .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.card .row b { font-size: 15px; }

.card .thumb {
  margin: 0 -26px 22px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--card-2);
  border-bottom: 1px solid var(--line);
  border-radius: 20px 20px 0 0;
  position: relative;
}

.card .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, top); }

.card .thumb .mock-mini {
  position: absolute;
  inset: 24px 24px -40px;
}

.card:first-child .thumb { margin-top: -26px; }

.card .thumb { margin-top: -26px; }

/* ---- footer ------------------------------------------------------------ */

footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 48px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: var(--fg); }

/* ---- next ---------------------------------------------------------------- */

.next { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

.next a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--muted);
}

.next a:hover { color: var(--fg); border-color: var(--fg); }

/* ---- mocks (CSS stand-ins where no screenshot can be shown) ------------- */

.mock { font-family: var(--mono); font-size: 11px; letter-spacing: 0.02em; color: #c9c9c9; }

.mock .m { color: #7a7a7a; }
.mock .w { color: #ffffff; }

/* Still: a dark frame with the control bar */
.still-frame { background: #000; aspect-ratio: 16 / 10; position: relative; overflow: hidden; }

.still-frame .pic {
  position: absolute;
  inset: 0 0 56px;
  background:
    radial-gradient(38% 30% at 58% 46%, rgba(255, 221, 170, 0.55), rgba(255, 200, 140, 0.12) 55%, transparent 75%),
    radial-gradient(70% 45% at 40% 70%, rgba(120, 150, 190, 0.25), transparent 70%),
    radial-gradient(30% 40% at 78% 28%, rgba(255, 255, 255, 0.10), transparent 70%),
    linear-gradient(180deg, #1a1d22 0%, #0b0c0e 60%, #050505 100%);
}

.still-frame .pic::before {
  content: "";
  position: absolute;
  left: 44%;
  top: 30%;
  width: 24%;
  height: 34%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.28);
}

.still-frame .pic::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 7px);
  opacity: 0.6;
}

.still-frame .grid {
  position: absolute;
  inset: 0 0 56px;
  background:
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px) 0 0 / 100% 25%,
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px) 0 0 / 25% 100%;
}

.still-frame .hud {
  position: absolute;
  top: 14px;
  left: 16px;
  font-family: var(--mono);
  font-size: 11px;
  color: #bdbdbd;
  background: rgba(0,0,0,0.5);
  padding: 6px 9px;
  border-radius: 6px;
}

.still-frame .ctl {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 56px;
  background: #0e0e0e;
  border-top: 1px solid #222;
  display: grid;
  grid-template-rows: 14px 1fr;
}

.still-frame .track { position: relative; margin: 6px 14px 0; height: 2px; background: #2c2c2c; }
.still-frame .track i { position: absolute; left: 0; top: 0; height: 100%; width: 37%; background: #fff; }
.still-frame .track i::after { content: ""; position: absolute; right: -4px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: #fff; }

.still-frame .keys {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: #9a9a9a;
  white-space: nowrap;
  overflow: hidden;
}

.still-frame .keys b { color: #fff; font-weight: 700; }
.still-frame .keys .opt { display: none; }
@media (min-width: 1100px) { .still-frame .keys .opt { display: inline; } }
.still-frame .keys .sp { flex: 1; }

/* Ledger: four columns of cards */
.ledger-board {
  background: #0a0a0a;
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.ledger-board .col { background: #111; border: 1px solid #1f1f1f; border-radius: 8px; overflow: hidden; }

.ledger-board .h {
  display: flex;
  justify-content: space-between;
  padding: 9px 10px;
  border-bottom: 1px solid #1f1f1f;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  color: #ddd;
}

.ledger-board .h i { color: #777; font-style: normal; white-space: nowrap; font-size: 9.5px; }

.ledger-board .it { padding: 8px 10px; border-bottom: 1px solid #1a1a1a; font-family: var(--sans); font-size: 10.5px; line-height: 1.35; color: #cfcfcf; letter-spacing: 0; }
.ledger-board .it .m { display: block; margin-top: 4px; font-family: var(--mono); font-size: 9px; }
.ledger-board .it .m b { color: #e9a76a; font-weight: 400; }

.ledger-top {
  background: #0a0a0a;
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid #1c1c1c;
  font-size: 10px;
  color: #9a9a9a;
  white-space: nowrap;
  overflow: hidden;
}

.ledger-top b { color: #fff; }
.ledger-top .pill { border: 1px solid #2a2a2a; border-radius: 999px; padding: 2px 8px; color: #ddd; }
.ledger-top .sp { flex: 1; }

/* Capture: watch + phone ack */
.capture-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: end;
}

.watch {
  width: 150px;
  aspect-ratio: 1 / 1.2;
  border-radius: 36px;
  background: #0b0b0b;
  border: 1px solid #2c2c2c;
  box-shadow: var(--shadow);
  margin: 0 auto;
  padding: 10px;
  position: relative;
}

.watch::after { content: ""; position: absolute; right: -6px; top: 36%; width: 6px; height: 28px; border-radius: 0 3px 3px 0; background: #2a2a2a; }

.watch .face {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  background: #000;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
  padding: 10px;
}

.watch .rec {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  display: grid;
  place-items: center;
  font-size: 10px;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  box-shadow: 0 0 0 6px rgba(255,255,255,0.12);
}

.watch .face small { color: #8a8a8a; font-size: 9.5px; display: block; margin-top: 2px; }

.chat {
  background: #0b0b0b;
  border: 1px solid #2a2a2a;
  border-radius: 20px;
  padding: 16px;
  box-shadow: var(--shadow);
  font-family: var(--sans);
  font-size: 13px;
  display: grid;
  gap: 10px;
}

.chat .b { max-width: 88%; padding: 9px 12px; border-radius: 14px; line-height: 1.35; }
.chat .me { background: #fff; color: #000; justify-self: end; border-bottom-right-radius: 4px; }
.chat .ack { background: #1b1b1b; color: #e4e4e4; border-bottom-left-radius: 4px; }
.chat .ack b { font-family: var(--mono); font-size: 10.5px; color: #8a8a8a; display: block; margin-bottom: 3px; font-weight: 400; }

/* Stitch: rows of tiles */
.stitch { background: #07090d; aspect-ratio: 16 / 10; padding: 16px 18px; overflow: hidden; color: #cfd6e0; font-family: var(--sans); }
.stitch .t { font-size: 13px; font-weight: 600; margin: 6px 0 8px; }
.stitch .row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 12px; }
.stitch .tile { aspect-ratio: 16 / 9; border-radius: 6px; background: linear-gradient(135deg, #1b2230, #0f141c); position: relative; overflow: hidden; }
.stitch .tile::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; background: #ff7a3d; width: var(--p, 0%); }
.stitch .tile.a { background: linear-gradient(135deg, #2a3a52, #141b26); }
.stitch .tile.b { background: linear-gradient(135deg, #3a2a22, #1b1410); }
.stitch .tile.c { background: linear-gradient(135deg, #23402f, #0f1b14); }
.stitch .tile.d { background: linear-gradient(135deg, #402a3c, #1b1018); }
.stitch .cap { font-size: 9.5px; color: #8a94a3; margin-top: 4px; }

/* Front Desk: a chat widget on a plain site */
.site-mock { background: #f4f4f1; color: #222; aspect-ratio: 16 / 10; position: relative; overflow: hidden; font-family: var(--sans); }
.site-mock .nav { display: flex; gap: 16px; padding: 14px 18px; font-size: 11px; color: #555; border-bottom: 1px solid #e3e3df; }
.site-mock .nav b { color: #111; }
.site-mock .h { padding: 26px 18px 0; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; max-width: 60%; line-height: 1.15; }
.site-mock .l { padding: 8px 18px; font-size: 11px; color: #666; max-width: 55%; }
.site-mock .l i { display: block; height: 7px; background: #dcdcd7; border-radius: 4px; margin: 6px 0; }
.site-mock .widget {
  position: absolute; right: 16px; bottom: 16px; width: 54%; max-width: 250px;
  background: #fff; border-radius: 14px; box-shadow: 0 14px 40px rgba(0,0,0,0.18);
  font-size: 11px; overflow: hidden;
}
.site-mock .widget .wh { background: #111; color: #fff; padding: 9px 12px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; }
.site-mock .widget .m2 { padding: 10px 12px; display: grid; gap: 7px; }
.site-mock .widget .q { background: #eee; border-radius: 10px; padding: 7px 9px; justify-self: end; max-width: 85%; }
.site-mock .widget .a { background: #f7f7f4; border: 1px solid #e6e6e2; border-radius: 10px; padding: 7px 9px; max-width: 90%; line-height: 1.35; }

/* ---- responsive -------------------------------------------------------- */

@media (max-width: 860px) {
  .hero, .hero.phone-hero { grid-template-columns: 1fr; gap: 40px; padding: 48px 0 40px; }
  .hero .visual { order: 2; }
  .features { grid-template-columns: 1fr 1fr; gap: 28px; }
  .pricing { grid-template-columns: 1fr; gap: 32px; }
  .gallery { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .capture-stage { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .top { padding-top: 18px; }
  .top nav { gap: 14px; }
  .top nav .hide-sm { display: none; }
  .features { grid-template-columns: 1fr; }
  section { padding: 44px 0; }
  .price-card { padding: 24px 20px; }
  .price .now { font-size: 2.6rem; }
  .ledger-board { grid-template-columns: 1fr 1fr; }
  .ledger-board .col:nth-child(n+3) { display: none; }
  .waitlist { flex-direction: column; }
  .waitlist .btn { justify-content: center; }
  .btn { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  html { scroll-behavior: auto; }
}
