/* Sold Live SaaS site. Night bands carry the live; day bands carry the back office after it.
   One face throughout: Instrument Sans, the dashboard's own. */

@font-face {
  font-family: 'Instrument Sans';
  src: url('../fonts/instrument-sans.woff2') format('woff2');
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('../fonts/instrument-sans-ext.woff2') format('woff2');
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --night: #140c0a;
  --night-2: #23150f;
  --night-line: #3d2a21;
  --night-ink: #f7f3ef;
  --night-mute: #cdb6a4;
  --day: #fcfbfc;
  --day-2: #efedeb;
  --marigold: #f2a516;
  --day-line: #e6ddd4;
  --ink: #1b1521;
  --mute: #675d6f;
  --live: #e3336c;
  --live-deep: #c21f57;
  --sold: #0d7a5a;
  --sold-soft: #dff3ea;
  --wait: #a35c00;
  --wait-soft: #fdf0dc;
  --late: #b4232f;
  --late-soft: #fde4e6;
  --slip: #fff7e4;
  --slip-ink: #3b2a12;
  --wa-bg: #efe7de;
  --wa-out: #d9fdd3;
  --wa-head: #075e54;
  --font: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 14px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--night);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-stretch: 88%; font-weight: 650; letter-spacing: -0.02em; line-height: 1.04; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.2vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); }
h3 { font-size: 1.35rem; line-height: 1.15; }
p { margin: 0; }
code { font-family: var(--font); font-feature-settings: 'tnum'; font-weight: 600; letter-spacing: 0.01em; }
.num, .tabular { font-variant-numeric: tabular-nums; }
.muted { color: var(--mute); font-size: 13px; }

.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--live); outline-offset: 2px; }

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.night { background: var(--night); color: var(--night-ink); }
.day { background: var(--day); color: var(--ink); }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.22rem); max-width: 36em; }
.night .lede { color: var(--night-mute); }
.day .lede { color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0;
  font: 600 1rem/1 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:active { transform: scale(.97); }
.btn-live { background: var(--live); color: #fff; }
.btn-live:hover { background: var(--live-deep); }
.btn-ghost { background: var(--night-2); color: var(--night-ink); }
.btn-ghost:hover { background: var(--night-line); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ghost-ink { background: var(--day-2); color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .92rem; }
.btn-xs { min-height: 32px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.link-btn { background: none; border: 0; color: inherit; font: 600 14px var(--font); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 8px; min-height: 40px; }

/* Nav */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 12px max(20px, env(safe-area-inset-right, 0px)) 12px max(20px, env(safe-area-inset-left, 0px));
  background: color-mix(in srgb, var(--night) 88%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: var(--night-ink);
}
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; font-size: 1.05rem; }
.brand-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--live); }
.nav-links { display: flex; gap: 22px; font-size: .95rem; }
.nav .btn { margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--night-mute); padding: 8px 0; }
.nav-links a:hover { color: var(--night-ink); }
@media (max-width: 860px) { .nav-links { display: none; } .nav .btn { margin-left: auto; } }

/* The world: the 3D shop stays behind the story and the story's copy rides over it */
.world { position: fixed; inset: 0; z-index: 0; pointer-events: none; display: none; }
html.webgl .world { display: block; }
html.webgl.world-off .world { visibility: hidden; }
.world-gl { width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 0.9s ease; }
html.world-ready .world-gl { opacity: 1; }
main, .foot { position: relative; z-index: 1; }
.night.solid, .demo, .day, .join, .foot { position: relative; z-index: 2; }
html.webgl .join { background: transparent; }
html.webgl .join-grid > div { background: color-mix(in srgb, var(--night) 80%, transparent); padding: clamp(20px, 2.4vw, 32px); border-radius: 22px; }

.story { position: relative; background: var(--night); }
html.webgl .story { background: transparent; }
.beat { min-height: 100svh; display: flex; align-items: center; padding-block: 96px; }
.beat .beat-card, .scroll-hint { margin-left: max(20px, env(safe-area-inset-left, 0px), calc((100vw - 1240px) / 2 + 20px)); margin-right: max(20px, env(safe-area-inset-right, 0px)); }
.beat-card { max-width: 580px; display: grid; gap: 20px; color: var(--night-ink); }
.beat-card p { font-size: 1.12rem; color: var(--night-ink); max-width: 30em; }
.beat-card .lede { color: var(--night-ink); }
.beat-card h2 { font-size: clamp(2.1rem, 4.2vw, 3.5rem); }
.beat-hero { position: relative; align-items: center; }
.beat-hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.8rem); }
.beat-hero .beat-card { max-width: 700px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.fineprint { color: var(--night-mute) !important; font-size: .98rem !important; }
.scroll-hint { position: absolute; bottom: 28px; left: 0; color: var(--night-mute); font-size: 14px; font-weight: 600; transition: opacity .4s ease; }
html.scrolled .scroll-hint { opacity: 0; }
html.webgl .beat-card { background: color-mix(in srgb, var(--night) 84%, transparent); padding: clamp(20px, 2.4vw, 32px); border-radius: 22px; }
html.webgl .beat-hero .beat-card { background: color-mix(in srgb, var(--night) 70%, transparent); }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--live); animation: pulse 1.6s ease-in-out infinite; flex: none; }
@keyframes pulse { 50% { opacity: .35; } }
@media (max-width: 760px) {
  .beat { align-items: flex-end; padding-block: 88px 40px; }
  .beat-card { background: color-mix(in srgb, var(--night) 88%, transparent); padding: 20px; border-radius: 18px; }
  html:not(.webgl) .beat-card { background: none; padding: 0; }
  .beat-hero { align-items: flex-end; padding-bottom: 28px; }
  /* The shop sits in the top of the phone screen; the hero copy goes under it, on the night sky. */
  html.webgl .beat-hero .beat-card { background: linear-gradient(to bottom, transparent, var(--night) 18%); padding: 32px 0 0; border-radius: 0; gap: 16px; margin-inline: 20px; }
  .beat-hero h1 { font-size: 2.45rem; }
  .beat-hero .lede { font-size: 1.02rem; }
  .beat-hero .cta-row { flex-wrap: nowrap; gap: 10px; }
  .beat-hero .cta-row .btn { padding-inline: 18px; }
  .beat-hero .fineprint { font-size: .9rem !important; }
  .scroll-hint { display: none; }
}

/* Clock in the nav: the time of the live the story is at */
.clock { display: none; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--night-ink); background: var(--night-2); border-radius: 999px; padding: 8px 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
html.webgl .clock { display: inline-flex; }
html.webgl.world-off .clock { display: none; }
/* Below 1081px the nav has no room for it, and a floating clock would sit on the story's copy. */
@media (max-width: 1080px) { html.webgl .clock { display: none; } }
@media (min-width: 1081px) { .clock { margin-left: auto; } html.webgl:not(.world-off):not(.world-end) .nav .clock + .btn { margin-left: 0; } }

/* Telemetry: the sample live's running numbers */
.hud { position: absolute; right: max(20px, env(safe-area-inset-right, 0px)); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); color: var(--night-ink); background: color-mix(in srgb, var(--night) 86%, transparent); border-radius: 16px; padding: 14px 16px; min-width: 220px; }
.hud-note { font-size: 12.5px; color: var(--night-mute); margin-bottom: 6px; }
.hud dl { margin: 0; display: grid; gap: 4px; }
.hud dl div { display: flex; justify-content: space-between; gap: 18px; font-size: 14px; }
.hud dt { color: var(--night-mute); }
.hud dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .hud { display: none; } }

/* Who said it first */
.who { padding-block: clamp(80px, 10vw, 160px); }
.who-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.who-copy { display: grid; gap: 18px; min-width: 0; }
.who-chat { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.who-chat button {
  width: 100%; text-align: left; display: grid; gap: 2px; min-height: 64px;
  background: var(--night-2); color: var(--night-ink); border-radius: 12px;
  padding: 10px 14px; font: inherit; cursor: pointer; transition: background-color .15s ease, border-color .15s ease;
}
.who-chat button:hover { border-color: var(--night-mute); } /* taste-skill-ignore: real product UI */
.who-chat b { font-size: 15px; }
.who-chat .m { color: var(--night-mute); font-size: 14px; display: flex; justify-content: space-between; gap: 8px; }
.who-chat .rank { display: none; font-weight: 700; color: var(--slip-ink); background: var(--slip); border-radius: 6px; padding: 0 8px; font-size: 13px; } /* taste-skill-ignore: real product UI */
.who-chat.revealed .rank { display: inline-block; }
.who-chat.revealed button[data-first] { border-color: var(--live); } /* taste-skill-ignore: real product UI */
.who-result { font-size: 1.15rem; min-height: 3.2em; max-width: 32em; }
.who-result b { color: #fff; }
@media (max-width: 860px) { .who-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .who-chat { grid-template-columns: 1fr; } }

/* Demo */
.demo { padding-block: clamp(80px, 10vw, 160px); background: var(--night-2); }
.demo-head { display: grid; gap: 14px; margin-bottom: 28px; }
.coach {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: var(--slip); color: var(--slip-ink); border-radius: 12px; padding: 10px 10px 10px 12px; margin-bottom: 16px;
}
.coach p { flex: 1 1 260px; min-width: 0; font-size: 15.5px; }
.coach-step { width: 32px; height: 32px; border-radius: 50%; background: var(--slip-ink); color: var(--slip); display: grid; place-items: center; font-weight: 700; flex: none; } /* taste-skill-ignore: real product UI */
.coach.done .coach-step { background: var(--sold); }

.demo-stage { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.stage-switch { display: none; }
@media (max-width: 1080px) {
  .demo-stage { grid-template-columns: 1fr; }
  .buyer-side { max-width: 420px; width: 100%; margin: 0 auto; }
  .stage-switch { display: flex; gap: 4px; padding: 4px; margin-bottom: 12px; border-radius: 999px; background: var(--night-2); position: sticky; top: calc(env(safe-area-inset-top, 0px) + 64px); z-index: 20; }
  .stage-switch button { flex: 1; min-height: 42px; border: 0; border-radius: 999px; background: none; color: var(--night-mute); font: 600 15px var(--font); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; justify-content: center; }
  .stage-switch button[aria-pressed="true"] { background: var(--night-ink); color: var(--night); }
  .stage-switch .unread { width: 8px; height: 8px; border-radius: 50%; background: #25d366; }
  .demo-stage[data-show="dash"] .buyer-side, .demo-stage[data-show="phone"] .dash { display: none; }
}
@media (max-width: 600px) {
  .row { grid-template-columns: 22px minmax(0, 1fr); row-gap: 6px; }
  .row .acts { grid-column: 1 / -1; justify-content: flex-start; padding-left: 30px; }
  .row .acts { gap: 4px; }
  .row .acts button { min-height: 36px; padding: 0 9px; }
  .dash-body { padding: 10px; }
}

/* The dashboard, mirrored from the product: light, dense, plain words */
.dash { background: #fff; color: var(--ink); border-radius: var(--radius); overflow: hidden; font-size: 13px; line-height: 1.4; min-width: 0; } /* taste-skill-ignore: real product UI */
.dash-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid #ece8ee; } /* taste-skill-ignore: real product UI */
.dash-brand { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; }
.dash-brand .brand-dot { width: 8px; height: 8px; box-shadow: none; } /* taste-skill-ignore: real product UI */
.pill-live { color: var(--live); border: 1px solid var(--live); border-radius: 999px; padding: 1px 8px; font-size: 11px; font-weight: 700; } /* taste-skill-ignore: real product UI */
.dash-title { font-weight: 600; }
.dash-spacer { flex: 1; }
.dash-status { display: inline-flex; gap: 6px; align-items: center; color: var(--mute); font-size: 12px; }
.ok-dot { width: 7px; height: 7px; border-radius: 50%; background: #22a06b; }
.dash-tabs { display: flex; gap: 2px; padding: 0 10px; border-bottom: 1px solid #ece8ee; overflow-x: auto; } /* taste-skill-ignore: real product UI */
.dash-tabs button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 10px; min-height: 40px; font: 500 13px var(--font); color: var(--mute); cursor: pointer; white-space: nowrap; } /* taste-skill-ignore: real product UI */
.dash-tabs button[aria-selected="true"] { color: var(--ink); border-color: var(--ink); font-weight: 600; } /* taste-skill-ignore: real product UI */
.tab-badge { background: var(--live); color: #fff; border-radius: 999px; padding: 0 6px; font-size: 11px; margin-left: 2px; }
.dash-body { padding: 14px; min-height: 520px; background: #faf9fb; }
.live-cols { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 14px; align-items: start; }
@media (max-width: 760px) { .live-cols { grid-template-columns: 1fr; } }
.live-main { display: grid; gap: 12px; min-width: 0; }

.add-item { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; background: #fff; border: 1px solid #ece8ee; border-radius: 10px; padding: 10px; } /* taste-skill-ignore: real product UI */
.add-item label { display: grid; gap: 3px; font-size: 11px; color: var(--mute); }
.add-item label.grow { flex: 1 1 140px; }
.add-item input { font: 13px var(--font); border: 1px solid #ddd6e0; border-radius: 6px; padding: 6px 8px; min-height: 32px; width: 100%; background: #fff; color: var(--ink); } /* taste-skill-ignore: real product UI */
.add-item input#ai-code { width: 52px; } .add-item input#ai-price { width: 74px; } .add-item input#ai-qty { width: 48px; }
.add-item .btn:disabled { opacity: .4; cursor: default; }

.items { display: grid; gap: 12px; }
.item { background: #fff; border: 1px solid #ece8ee; border-radius: 10px; overflow: hidden; } /* taste-skill-ignore: real product UI */
.item-head { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; }
.swatch { width: 36px; height: 44px; border-radius: 5px; }
.item-head b { font-size: 15px; } .item-head .code { font-size: 18px; font-weight: 700; margin-right: 4px; }
.item-head small { display: block; color: var(--mute); }
.status { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--sold-soft); color: var(--sold); text-align: right; } /* taste-skill-ignore: real product UI */
.status.out { background: #f1eef2; color: var(--mute); }
.line-count { font-size: 11px; color: var(--mute); text-align: right; display: block; margin-top: 3px; }
.rows { border-top: 1px solid #f1eef2; } /* taste-skill-ignore: real product UI */
.row { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 7px 12px; border-bottom: 1px solid #f6f4f7; transition: background-color .3s ease; } /* taste-skill-ignore: real product UI */
.row:last-child { border-bottom: 0; } /* taste-skill-ignore: real product UI */
.row.first { background: #fff8f0; }
.row.flash { background: #fff1c9; }
.row .pos { font-weight: 700; color: var(--mute); text-align: center; }
.row b { font-size: 13px; }
.row small { display: block; color: var(--mute); font-size: 11px; }
.row small .proof { color: var(--wait); font-weight: 700; }
.row small .qr { color: var(--live); font-weight: 700; }
.acts { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.acts button { font: 600 12px var(--font); border-radius: 6px; padding: 0 9px; min-height: 30px; cursor: pointer; border: 1px solid #ddd6e0; background: #fff; color: var(--ink); } /* taste-skill-ignore: real product UI */
.acts .a-qr { border-color: var(--live); color: var(--live); } /* taste-skill-ignore: real product UI */
.acts .a-qr.hot { background: var(--live); color: #fff; }
.acts .a-sold { background: var(--sold); border-color: var(--sold); color: #fff; } /* taste-skill-ignore: real product UI */
.acts .a-sold.hot { box-shadow: 0 0 0 3px color-mix(in srgb, var(--sold) 35%, transparent); } /* taste-skill-ignore: real product UI */
.acts button:disabled { opacity: .35; cursor: default; }
.empty-line { padding: 10px 12px; color: var(--mute); font-size: 12px; }
.sold-rows .row { opacity: .6; }

.inbox { background: #fff; border: 1px solid #ece8ee; border-radius: 10px; padding: 10px; display: grid; gap: 10px; min-width: 0; } /* taste-skill-ignore: real product UI */
.inbox-tabs { font-size: 13px; }
.need { border: 1px solid #f1e3c4; background: #fffaf0; border-radius: 8px; padding: 8px; display: grid; gap: 6px; } /* taste-skill-ignore: real product UI */
.need small { color: var(--mute); }
.need .tagline { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.need textarea { font: 12.5px var(--font); border: 1px solid #e6dcc6; border-radius: 6px; padding: 6px; resize: vertical; min-height: 52px; width: 100%; background: #fff; color: var(--ink); } /* taste-skill-ignore: real product UI */
.need .need-acts { display: flex; gap: 6px; flex-wrap: wrap; }
.need .need-acts button { font: 600 12px var(--font); border-radius: 6px; padding: 0 10px; min-height: 30px; border: 1px solid #ddd6e0; background: #fff; cursor: pointer; color: var(--ink); } /* taste-skill-ignore: real product UI */
.need .need-acts .primary { background: var(--ink); color: #fff; border-color: var(--ink); } /* taste-skill-ignore: real product UI */

/* Orders, customers, inventory panels inside the demo */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.stat { background: #fff; border: 1px solid #ece8ee; border-radius: 10px; padding: 10px 12px; } /* taste-skill-ignore: real product UI */
.stat small { color: var(--mute); font-size: 11px; }
.stat b { display: block; font-size: 18px; font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid #ece8ee; border-radius: 10px; } /* taste-skill-ignore: real product UI */
.dash table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; } /* taste-skill-ignore: real product UI */
.dash th, .dash td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #f3f0f4; white-space: nowrap; } /* taste-skill-ignore: real product UI */
.dash th { font-weight: 500; color: var(--mute); font-size: 11.5px; }
.dash td.num, .dash th.num { text-align: right; }
.dash tr.new td { animation: newrow 1.6s ease; }
@keyframes newrow { from { background: #fff1c9; } }
.panel-note { color: var(--mute); font-size: 12px; margin: 10px 2px 0; }

.tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #efecf1; color: var(--mute); white-space: nowrap; }
.tag-paid { background: var(--sold-soft); color: var(--sold); }
.tag-emi { background: #ece6ff; color: #5b3fc4; }
.tag-wait { background: var(--wait-soft); color: var(--wait); }
.tag-late { background: var(--late-soft); color: var(--late); }

/* Buyer phone */
.phone { width: 300px; max-width: 100%; border-radius: 34px; padding: 10px; background: #0d0812; } /* taste-skill-ignore: real product UI */
.phone > * { background: #fff; color: var(--ink); }
.wa-top { display: flex; gap: 10px; align-items: center; padding: 16px 14px 12px; border-radius: 24px 24px 0 0; background: var(--wa-head) !important; color: #fff !important; }
.wa-top small { display: block; font-size: 13px; opacity: .85; }
.wa-top b { font-size: 15px; display: block; }
.wa-avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #f2c14e; color: #4a2c00; font-weight: 700; font-size: 13px; flex: none; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.buyer-side { display: grid; gap: 10px; min-width: 0; }
.buyer-pick { display: flex; gap: 6px; flex-wrap: wrap; }
.buyer-pick button { font: 600 13px var(--font); border-radius: 999px; min-height: 36px; padding: 0 12px; border: 1px solid var(--night-line); background: var(--night-2); color: var(--night-mute); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; } /* taste-skill-ignore: real product UI */
.buyer-pick button[aria-pressed="true"] { background: var(--night-ink); color: var(--night); border-color: var(--night-ink); } /* taste-skill-ignore: real product UI */
.buyer-pick .unread { width: 7px; height: 7px; border-radius: 50%; background: #25d366; } /* taste-skill-ignore: real product UI */
.phone-demo { width: 100%; }
.wa-chat { height: 440px; overflow-y: auto; background: var(--wa-bg) !important; padding: 12px 10px; display: flex; flex-direction: column; gap: 6px; scroll-behavior: smooth; }
.bubble { max-width: 86%; padding: 6px 9px 4px; border-radius: 8px; font-size: 13.5px; line-height: 1.38; white-space: pre-line; box-shadow: 0 1px 0 #0001; animation: rise .25s ease both; color: #111; } /* taste-skill-ignore: real product UI */
.bubble.in { align-self: flex-end; background: var(--wa-out); }
.bubble.out { align-self: flex-start; background: #fff; }
.bubble time { display: block; text-align: right; font-size: 10px; color: #667; margin-top: 2px; }
.bubble img.qrimg { width: 150px; height: 150px; background: #fff; border-radius: 4px; margin-bottom: 4px; } /* taste-skill-ignore: real product UI */
.bubble .shot { width: 140px; height: 190px; border-radius: 6px; background: #f5f6f8; display: grid; place-items: center; text-align: center; font-size: 12px; color: #333; margin-bottom: 4px; } /* taste-skill-ignore: real product UI */
.bubble .shot b { display: block; font-size: 20px; color: #111; }
.bubble .shot .tick { width: 30px; height: 30px; border-radius: 50%; background: #22a06b; color: #fff; display: grid; place-items: center; margin: 0 auto 4px; font-size: 16px; } /* taste-skill-ignore: real product UI */
.wa-btns { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.wa-btns button { flex: 1; font: 600 13px var(--font); color: #027eb5; background: #fff; border: 1px solid #e3e3e3; border-radius: 8px; min-height: 36px; cursor: pointer; } /* taste-skill-ignore: real product UI */
.wa-btns button:disabled { color: #9aa; cursor: default; }
.wa-sys { align-self: center; background: #fff8d6; color: #5b4a12; font-size: 11.5px; padding: 4px 10px; border-radius: 6px; text-align: center; } /* taste-skill-ignore: real product UI */
.wa-input { display: flex; gap: 6px; padding: 8px; border-radius: 0 0 24px 24px; background: #f0f0f0 !important; } /* taste-skill-ignore: real product UI */
.wa-input input { flex: 1; min-width: 0; border: 0; border-radius: 999px; padding: 0 14px; min-height: 40px; font: 14px var(--font); background: #fff; color: #111; } /* taste-skill-ignore: real product UI */
.wa-input button { min-width: 40px; height: 40px; padding: 0 14px; border-radius: 999px; font-weight: 600; border: 0; background: var(--wa-head); color: #fff; cursor: pointer; font-size: 15px; } /* taste-skill-ignore: real product UI */

/* Day: after the live */
.after { padding-block: clamp(64px, 9vw, 130px); }
.after-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 64px); }
.day-line { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(36px, 5vw, 64px); }
.day-row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.day-copy { display: grid; gap: 10px; min-width: 0; max-width: 30em; }
.day-copy time { font-weight: 700; color: var(--live); font-variant-numeric: tabular-nums; }
.day-copy p { color: var(--ink); }
.ui-card { background: #fff; border-radius: var(--radius); padding: 14px; font-size: 13px; min-width: 0; } /* taste-skill-ignore: product UI on a tone ground */
.mini-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; } /* taste-skill-ignore: real product UI */
.ui-card { overflow-x: auto; }
.mini-table th, .mini-table td { text-align: left; padding: 8px; border-bottom: 1px solid #f2eff3; white-space: nowrap; } /* taste-skill-ignore: real product UI */
.mini-table th { color: var(--mute); font-weight: 500; font-size: 12px; }
.mini-table .num { text-align: right; }
.label-card { display: grid; place-items: center; background: var(--day-2); }
.label { width: min(100%, 300px); aspect-ratio: 4 / 6; max-height: 400px; background: #fff; border: 2px solid #111; border-radius: 4px; padding: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: #111; } /* taste-skill-ignore: real product UI */
.label-to { font-weight: 700; font-size: 11px; letter-spacing: .08em; }
.label-name { font-size: 22px; font-weight: 700; line-height: 1.1; }
.label-foot { margin-top: auto; border-top: 2px solid #111; padding-top: 10px; display: grid; gap: 2px; font-weight: 700; font-variant-numeric: tabular-nums; } /* taste-skill-ignore: real product UI */
.label-from { font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.query-card { display: grid; gap: 10px; background: #fffaf0; border-color: #f1e3c4; } /* taste-skill-ignore: real product UI */
.q-head { display: flex; gap: 8px; align-items: center; font-weight: 600; }
.q-msg { font-size: 15px; }
.q-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.q-or { color: var(--mute); }
.emi-card { display: grid; gap: 8px; }
.emi-strip { background: var(--late-soft); color: var(--late); font-weight: 700; padding: 6px 10px; border-radius: 8px; }
.emi-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 10px; align-items: center; padding: 6px 2px; border-bottom: 1px solid #f2eff3; } /* taste-skill-ignore: real product UI */
.emi-row:last-child { border-bottom: 0; } /* taste-skill-ignore: real product UI */
.cust-card { display: grid; gap: 0; }
.cust-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 4px; border-bottom: 1px solid #f2eff3; } /* taste-skill-ignore: real product UI */
.cust-row:last-child { border-bottom: 0; } /* taste-skill-ignore: real product UI */
.cust-row small { display: block; color: var(--mute); }
.trust { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.trust-high { background: var(--sold-soft); color: var(--sold); }
.trust-med { background: #e6efff; color: #2a5bb8; }
.trust-low { background: var(--late-soft); color: var(--late); }
@media (max-width: 860px) {
  .day-row { grid-template-columns: 1fr; }
  .emi-row { grid-template-columns: minmax(0, 1fr) auto; }
}

.truth { padding-block: clamp(56px, 8vw, 110px); background: var(--day-2); }
.truth-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); }
.truth-grid > div { display: grid; gap: 16px; align-content: start; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; font-size: 1.05rem; color: var(--mute); }
.facts b { color: var(--ink); display: block; font-size: 1.15rem; }
@media (max-width: 860px) { .truth-grid { grid-template-columns: 1fr; } }

.soon { padding-block: clamp(56px, 8vw, 110px); display: block; }
.soon .wrap { display: grid; gap: 16px; }
.soon-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 12px; }
.soon-grid article { border-top: 2px solid var(--ink); padding-top: 14px; display: grid; gap: 8px; align-content: start; }
.soon-grid article .tag { justify-self: start; }
.soon-grid p { color: var(--mute); }
@media (max-width: 760px) { .soon-grid { grid-template-columns: 1fr; } }

.pricing { padding-block: clamp(80px, 10vw, 160px); background: var(--day-2); }
.pricing-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(28px, 5vw, 72px); align-items: start; }
.pricing-grid > div { display: grid; gap: 16px; }
.plan { background: var(--night); color: var(--night-ink); border-radius: 20px; padding: 28px; display: grid; gap: 16px; }
.plan-name { font-weight: 700; color: var(--night-mute); }
.plan-price { font-size: 3rem; font-weight: 700; font-stretch: 85%; line-height: 1; }
.plan-price span { font-size: 1rem; font-weight: 500; color: var(--night-mute); }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.plan li { padding-left: 26px; position: relative; }
.plan li::before { content: ''; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 2px solid var(--live); border-bottom: 2px solid var(--live); transform: rotate(-45deg); }
@media (max-width: 860px) { .pricing-grid { grid-template-columns: 1fr; } }

.faq { padding-block: clamp(80px, 10vw, 160px); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); }
.faq-list { display: grid; }
.faq-list { gap: 8px; }
.faq details { background: var(--day-2); border-radius: 14px; padding-inline: 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-weight: 600; font-size: 1.1rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 14px; font-size: 1.5rem; font-weight: 400; color: var(--mute); }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 0 18px; color: var(--mute); max-width: 40em; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

.join { padding-block: clamp(64px, 9vw, 130px); }
.join-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(28px, 5vw, 72px); align-items: start; }
.join-grid > div { display: grid; gap: 16px; }
.join-mail { display: grid; gap: 16px; background: var(--night-2); border-radius: 20px; padding: 24px; color: var(--night-mute); }
.join-mail .btn { justify-self: start; overflow-wrap: anywhere; }
@media (max-width: 860px) { .join-grid { grid-template-columns: 1fr; } }

.foot { padding-block: 28px calc(28px + env(safe-area-inset-bottom, 0px)); color: var(--night-mute); font-size: 14px; }
.foot-row { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; }
.foot .brand { color: var(--night-ink); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
html.world-end .hud, html.world-end .clock { display: none !important; }

/* The demo's Ads, Logistics and Money Buddy tabs, drawn like the dashboard's own pages:
   white cards on slate lines, the product's green for what's picked. */
.soon-try { justify-self: start; font-weight: 600; color: var(--ink); text-underline-offset: 3px; }
.app-panel { --app: #0e7c66; --app-soft: #e3f4ef; --app-line: #e2e8f0; --app-mute: #64748b; display: grid; gap: 12px; } /* taste-skill-ignore: real product UI */
.app-panel[hidden] { display: none; }
.app-panel h3 { font-size: 14px; font-weight: 600; letter-spacing: 0; }
.app-panel small { display: block; }
.app-num { font-variant-numeric: tabular-nums; }
.app-quiet { color: var(--app-mute); font-weight: 400; }
.app-sub { color: var(--app-mute); font-size: 12px; }
.app-demo-note { background: #fffbeb; color: #78350f; border: 1px solid #fde68a; border-radius: 8px; padding: 8px 12px; font-size: 12.5px; } /* taste-skill-ignore: real product UI */
.app-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.app-cols-ship { grid-template-columns: minmax(0, 330px) minmax(0, 1fr); }
.app-cols-mb { grid-template-columns: minmax(0, 1fr) minmax(0, 330px); }
.app-stack { display: grid; gap: 12px; min-width: 0; }
.app-card { background: #fff; border: 1px solid var(--app-line); border-radius: 12px; padding: 14px; display: grid; gap: 10px; min-width: 0; align-content: start; } /* taste-skill-ignore: real product UI */
.app-card[hidden] { display: none; }
.app-card.app-flush { padding: 0; gap: 0; }
.app-card-hot { border-color: color-mix(in srgb, var(--app) 40%, transparent); }
.app-pad { padding: 12px 14px; }
.app-rule { border-bottom: 1px solid var(--app-line); }
.app-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.app-head-acts { display: flex; gap: 10px; }
.app-list { list-style: none; margin: 0; padding: 0; }
.app-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid #f1f5f9; } /* taste-skill-ignore: real product UI */
.app-list li:first-child { border-top: 0; }
.app-list small { color: var(--app-mute); }
.app-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.app-fields label span { color: #475569; font-size: 12.5px; } /* taste-skill-ignore: real product UI */
.app-fields input, .mb-add select { width: 100%; margin-top: 4px; border: 1px solid #cbd5e1; border-radius: 8px; padding: 6px 10px; font: 500 13px var(--font); color: var(--ink); background: #fff; font-variant-numeric: tabular-nums; } /* taste-skill-ignore: real product UI */
.app-fields input:focus, .mb-add select:focus { outline: none; border-color: var(--app); }
.app-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid #f1f5f9; padding-top: 10px; } /* taste-skill-ignore: real product UI */
.app-foot b { color: var(--ink); }
.app-btn { background: var(--app); color: #fff; border: 0; border-radius: 8px; padding: 8px 14px; font: 600 13px var(--font); cursor: pointer; min-height: 36px; }
.app-btn:disabled { opacity: .45; cursor: default; }
.app-link { background: none; border: 0; padding: 4px 0; font: 600 12px var(--font); color: var(--app-mute); cursor: pointer; }
.app-link:hover { text-decoration: underline; }
.app-link-brand { color: var(--app); }
.app-pill { display: inline-block; border-radius: 999px; padding: 2px 8px; font-size: 11.5px; font-weight: 600; background: var(--app-soft); color: var(--app); white-space: nowrap; }
.app-pill-demo { background: #fef3c7; color: #78350f; } /* taste-skill-ignore: real product UI */
.app-pill-fast { background: #e0f2fe; color: #075985; } /* taste-skill-ignore: real product UI */
.app-empty { border: 1px dashed #cbd5e1; border-radius: 12px; background: #fff; padding: 28px; text-align: center; color: var(--app-mute); } /* taste-skill-ignore: real product UI */
.app-panel .grow { flex: 1; min-width: 0; }
.app-panel .mark { flex: none; display: block; }

.ad-surfaces { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ad-surface { display: flex; align-items: center; gap: 10px; text-align: left; background: #fff; border: 0; box-shadow: inset 0 0 0 1px var(--app-line); border-radius: 8px; padding: 10px; font: inherit; color: inherit; cursor: pointer; min-width: 0; }
.ad-surface:hover { box-shadow: inset 0 0 0 1px #94a3b8; } /* taste-skill-ignore: real product UI */
.ad-surface[aria-pressed="true"] { background: var(--app-soft); box-shadow: inset 0 0 0 1px var(--app); }
.ad-surface > span:not(.ad-dot) { flex: 1; min-width: 0; }
.ad-surface small { color: var(--app-mute); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ad-dot { width: 14px; height: 14px; flex: none; border-radius: 50%; border: 2px solid #cbd5e1; } /* taste-skill-ignore: real product UI */
.ad-surface[aria-pressed="true"] .ad-dot { border-color: var(--app); background: var(--app); }
.ad-live { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ad-live li { display: flex; align-items: center; gap: 8px; border: 1px solid var(--app-line); border-radius: 8px; padding: 10px; }
.ad-live b { flex: 1; }

.ship-list { list-style: none; margin: 0; padding: 0; }
.ship-list li + li { border-top: 1px solid #f1f5f9; } /* taste-skill-ignore: real product UI */
.ship-list label { display: flex; align-items: center; gap: 10px; padding: 8px 14px; cursor: pointer; }
.ship-list label:hover { background: #f8fafc; } /* taste-skill-ignore: real product UI */
.ship-list input { width: 16px; height: 16px; accent-color: var(--app); flex: none; }
.ship-list b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.ship-list small { color: var(--app-mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ship-val { text-align: right; font-size: 12px; }
.ship-val .app-num { display: block; }
.ship-val .cod { color: #b45309; } /* taste-skill-ignore: real product UI */
.ship-right { display: grid; gap: 10px; min-width: 0; align-content: start; }
.quotes { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.quote { background: #fff; border: 1px solid var(--app-line); border-radius: 12px; overflow: hidden; }
.quote.cheapest { border-color: var(--app); box-shadow: 0 0 0 1px var(--app); }
.quote.fastest { border-color: #0ea5e9; box-shadow: 0 0 0 1px #0ea5e9; } /* taste-skill-ignore: real product UI */
.quote > button { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; width: 100%; background: none; border: 0; padding: 10px 14px; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.courier-mark { width: 38px; height: 38px; flex: none; border-radius: 8px; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 13px; }
.quote-name { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.quote small { color: var(--app-mute); font-size: 11.5px; }
.quote-cost { text-align: right; margin-left: auto; }
.quote-cost b { display: block; font-size: 16px; }
.quote-cost .saved { color: var(--app); font-weight: 600; }
.quote-break { border-top: 1px solid #f1f5f9; } /* taste-skill-ignore: real product UI */
.quote-break td { padding: 6px 14px; }
.quote-break .where { color: var(--app-mute); }

.mb-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.mb-top .grow { flex: 1 1 11rem; }
.mb-mark { width: 32px; height: 32px; flex: none; border-radius: 8px; background: #4f46e5; color: #fff; font-weight: 700; display: grid; place-items: center; } /* taste-skill-ignore: real product UI */
.mb-ad { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; background: #eef2ff; border: 1px solid #e0e7ff; border-radius: 8px; padding: 10px 12px; } /* taste-skill-ignore: real product UI */
.mb-ad p { flex: 1; min-width: 15rem; color: #1e1b4b; font-size: 12.5px; } /* taste-skill-ignore: real product UI */
.mb-get { flex: none; background: #4f46e5; color: #fff; border-radius: 8px; padding: 6px 12px; font-size: 12px; font-weight: 600; } /* taste-skill-ignore: real product UI */
.mb-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.mb-tile { background: #fff; border: 1px solid var(--app-line); border-radius: 12px; padding: 10px 14px; min-width: 0; }
.mb-tile.strong { border-color: var(--app); box-shadow: 0 0 0 1px var(--app); }
.mb-tile small { color: var(--app-mute); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mb-tile small:first-child { font-weight: 600; }
.mb-tile b { display: block; font-size: 18px; font-weight: 600; }
.mb-tile.strong b { color: var(--app); }
.mb-bars { list-style: none; margin: 0; padding: 8px; display: grid; gap: 2px; }
.mb-bars button { display: grid; grid-template-columns: 110px minmax(0, 1fr) 70px; align-items: center; gap: 10px; width: 100%; background: none; border: 0; border-radius: 8px; padding: 6px 8px; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.mb-bars button:hover { background: #f8fafc; } /* taste-skill-ignore: real product UI */
.mb-bars button[aria-pressed="true"] { background: #f1f5f9; } /* taste-skill-ignore: real product UI */
.mb-bar-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mb-bar { height: 10px; border-radius: 999px; background: #f1f5f9; overflow: hidden; } /* taste-skill-ignore: real product UI */
.mb-bar span { display: block; height: 100%; border-radius: 999px; }
.mb-bars .app-num { text-align: right; }
.mb-table { border: 0; border-radius: 0; }
.mb-table small { color: var(--app-mute); font-size: 11.5px; }
.mb-profit { color: var(--app); font-weight: 600; }
.mb-over td { color: var(--app-mute); }
.mb-chips { list-style: none; margin: 0; padding: 12px 14px 0; display: flex; flex-wrap: wrap; gap: 6px; }
.mb-chips li { display: flex; align-items: center; gap: 6px; border: 1px solid var(--app-line); border-radius: 999px; padding: 3px 4px 3px 10px; }
.mb-chips button { background: none; border: 0; border-radius: 999px; padding: 0 6px; color: #94a3b8; font: 500 15px var(--font); cursor: pointer; min-height: 24px; } /* taste-skill-ignore: real product UI */
.mb-chips button:hover { background: #f1f5f9; color: #334155; } /* taste-skill-ignore: real product UI */
.mb-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.mb-add { display: flex; gap: 8px; padding: 12px 14px; align-items: end; }
.mb-add select { margin: 0; flex: 1; min-width: 0; }
.mb-note { border-top: 1px solid #f1f5f9; padding: 8px 14px; color: var(--app-mute); font-size: 12px; } /* taste-skill-ignore: real product UI */
.mb-spends { list-style: none; margin: 0; padding: 0; }
.mb-spends li { display: flex; align-items: center; gap: 10px; padding: 8px 14px; }
.mb-spends li + li { border-top: 1px solid #f1f5f9; } /* taste-skill-ignore: real product UI */
.mb-spends b { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mb-spends small { color: var(--app-mute); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mb-amt { text-align: right; }
.mb-amt small { color: #94a3b8; } /* taste-skill-ignore: real product UI */
@media (max-width: 900px) {
  .app-cols, .app-cols-ship, .app-cols-mb { grid-template-columns: minmax(0, 1fr); }
  .mb-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ad-live { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .ad-surfaces, .app-fields { grid-template-columns: 1fr; }
  .mb-table .wide { display: none; }
  .quote-break .where { display: none; }
  .ad-live { grid-template-columns: 1fr; }
}
