/* Hisaabdaar: hisaabdaar.com
   Direction: "The product performs" (taste-skill), brand palette and type kept.
   The page is built from real pieces of the app (marked data-ui), shown at true size.
   Type steps: 14 (small), 17 (body), 20 (lead), 28 (item), 48 (heading), display clamp(52px, 5.2vw, 80px).
   Money is set in Instrument Serif, as in the app. */
:root {
  --emerald: #0b6e4f;
  --emerald-2: #0d7a58;
  --deep: #0a4f3a;
  --deeper: #073d2d;
  --tint: #e7f2ec;
  --tint-2: #d6e9de;
  --gold: #c2963a;
  --ground: #f4f6f4;
  --paper: #fbfcfb;
  --surface: #ffffff;
  --well: #f0f3f1;
  --ink: #141a17;
  --ink-2: #2b332f;
  --muted: #56605b;
  --line: rgba(20, 26, 23, 0.08);
  --line-2: rgba(20, 26, 23, 0.13);
  --neg: #b42318;
  --sans: "Manrope", "Segoe UI", system-ui, sans-serif;
  --money: "Instrument Serif", "Times New Roman", serif;
  --m: 40px;
  --max: 1360px;
  --gap: 24px;
  --r: 16px;
  --s-small: 14px;
  --s-body: 17px;
  --s-lead: 20px;
  --s-item: 28px;
  --s-head: 48px;
  --s-display: clamp(52px, 5.2vw, 80px);
  --sh-1: 0 1px 1px rgba(16, 32, 26, .04), 0 2px 4px rgba(16, 32, 26, .04);
  --sh-2: 0 1px 1px rgba(16, 32, 26, .04), 0 6px 16px -4px rgba(16, 40, 30, .10), 0 24px 48px -16px rgba(16, 40, 30, .16);
  --sh-3: 0 1px 1px rgba(16, 32, 26, .05), 0 12px 28px -8px rgba(10, 40, 28, .18), 0 48px 96px -32px rgba(10, 40, 28, .28);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (pointer: fine) { html { overscroll-behavior: none; } }
body { margin: 0; background: var(--ground); color: var(--ink); font: 500 var(--s-body)/1.55 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; touch-action: manipulation; -webkit-tap-highlight-color: rgba(11, 110, 79, .14); overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 0.07em; }
h1, h2, h3 { text-wrap: balance; scroll-margin-top: 24px; }
p { text-wrap: pretty; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--emerald); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible { outline-color: #fff; }
.skip { position: absolute; left: var(--m); top: -100px; z-index: 50; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: min(100% - 2 * var(--m), var(--max)); margin-inline: auto; }
.money { font-family: var(--money); font-weight: 400; letter-spacing: 0; line-height: 1; }

/* ---------- buttons and links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; background: var(--emerald); color: #fff; font: 700 16px/1 var(--sans); text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; transition: transform 140ms var(--ease-out), background-color 180ms ease, color 180ms ease; }
.btn:active { transform: scale(0.97); }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn.ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line-2); }
.btn.light { background: #fff; color: var(--deep); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--deep); }
  .btn.ghost:hover { background: var(--well); }
  .btn.light:hover { background: var(--tint); }
}
.meta { display: flex; flex-wrap: wrap; gap: 6px 20px; padding: 0; margin: 0; list-style: none; font-size: 15px; color: var(--muted); }
.meta li { display: inline-flex; align-items: center; gap: 8px; }
.meta li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--emerald); }

/* ---------- header ---------- */
.head { position: relative; z-index: 6; }
.head .wrap { display: flex; align-items: center; gap: 28px; min-height: 92px; }
.wordmark { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; letter-spacing: -0.03em; font-size: 22px; text-decoration: none; color: var(--ink); min-height: 44px; }
.wordmark img { width: 24px; height: 26px; }
.nav { margin-left: auto; display: flex; gap: 4px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-weight: 600; font-size: 15.5px; color: var(--ink-2); text-decoration: none; border-radius: 10px; transition: background-color 180ms ease, color 180ms ease; }
@media (hover: hover) and (pointer: fine) { .nav a:hover { background: var(--well); color: var(--ink); } }
.head .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }

/* ---------- hero: the app on a shaped stage ---------- */
.hero { position: relative; min-height: min(max(100svh - 92px, 760px), 980px); overflow: clip; }
.hero-copy { position: relative; z-index: 3; padding-top: 44px; }
.hero h1 { margin: 0 0 22px; font-size: var(--s-display); line-height: 1.02; letter-spacing: -0.04em; font-weight: 700; max-width: 9.5em; }
.hero h1 .line { display: block; }
.lede { margin: 0 0 30px; max-width: 34ch; font-size: 18px; color: var(--ink-2); }
.acts { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.stage { position: absolute; left: max(var(--m) + 470px, (100% - var(--max)) / 2 + 520px); right: 0; top: 296px; bottom: 0; background: var(--emerald); clip-path: polygon(0 0, 236px 0, 262px 44px, 100% 44px, 100% 100%, 0 100%); }
.stage-tab { position: absolute; left: 22px; top: 12px; display: flex; align-items: center; gap: 9px; color: #fff; font-weight: 700; font-size: 14px; }
.stage-tab::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #7fe0b4; box-shadow: 0 0 0 3px rgba(127, 224, 180, .25); } /* taste-skill-ignore: status dot halo, as in the app */
.stage-app { position: absolute; left: 56px; top: 96px; width: 880px; }
.float { position: absolute; z-index: 4; width: 380px; left: max(var(--m), (100% - var(--max)) / 2 + 80px); top: 540px; }

/* ---------- section frame ---------- */
.sec { padding-top: 160px; }
.sec-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; margin-bottom: 64px; }
.sec-head h2 { grid-column: 1 / 8; margin: 0; font-size: var(--s-head); line-height: 1.06; letter-spacing: -0.035em; font-weight: 700; }
.sec-head p { grid-column: 8 / 13; margin: 0; color: var(--ink-2); max-width: 46ch; }
.soft-line { color: var(--muted); }

/* ---------- the story: one panel, four parts of the day ---------- */
.story-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.ssteps { grid-column: 1 / 6; list-style: none; margin: 0; padding: 0; }
.sstep { padding: 26px 28px; border-radius: var(--r); transition: background-color 300ms ease; }
.sstep h3 { margin: 0 0 8px; font-size: var(--s-item); line-height: 1.15; letter-spacing: -0.025em; font-weight: 700; display: flex; align-items: baseline; gap: 14px; }
.sstep h3 .n { font-size: var(--s-small); font-weight: 700; color: var(--muted); letter-spacing: 0; }
.sstep p { margin: 0 0 14px; color: var(--ink-2); max-width: 44ch; }
.sstep ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 15.5px; color: var(--ink-2); }
.sstep ul li { display: flex; gap: 10px; }
.sstep ul li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 0.62em; border-radius: 50%; background: var(--emerald); }
.st-fig { margin-top: 28px; }
.pin { grid-column: 7 / 13; display: none; }
/* desktop with script: the panel is pinned beside the steps and changes as they pass */
@media (min-width: 1100px) {
  .js .ssteps { padding-block: 12vh 18vh; }
  .js .sstep { margin-bottom: 30vh; }
  .js .sstep:last-child { margin-bottom: 0; }
  .js .st-fig { display: none; }
  .js .pin { display: block; }
  .js .sstep.is-on { background: var(--surface); outline: 1px solid var(--line); outline-offset: -1px; }
  .js .sstep:not(.is-on) h3 { color: var(--muted); }
}
.pin-stage { position: sticky; top: max(56px, 50vh - 320px); height: 640px; border-radius: 22px; background: var(--tint); overflow: hidden; }
.pin-count { position: absolute; left: 24px; top: 20px; z-index: 3; font-size: var(--s-small); font-weight: 700; color: var(--deep); }
.pin-dots { position: absolute; right: 24px; top: 22px; z-index: 3; display: flex; gap: 6px; }
.pin-dots i { width: 22px; height: 4px; border-radius: 4px; background: rgba(10, 79, 58, .18); transition: background-color 300ms ease; }
.pin-dots i.on { background: var(--emerald); }
.pin-panel { position: absolute; inset: 56px 32px 32px; display: grid; place-items: center; }
.js .pin-panel { opacity: 0; visibility: hidden; transform: translateY(20px); transition: opacity 420ms var(--ease-out), transform 520ms var(--ease-out), visibility 0s linear 520ms; }
.js .pin-panel.on { opacity: 1; visibility: visible; transform: none; transition: opacity 420ms var(--ease-out), transform 520ms var(--ease-out), visibility 0s; }

/* ---------- Ask Hisaabdaar ---------- */
.ask-sec .grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.ask-copy { grid-column: 1 / 6; padding-top: 12px; }
.ask-copy h2 { margin: 0 0 18px; font-size: var(--s-head); line-height: 1.06; letter-spacing: -0.035em; font-weight: 700; }
.ask-copy > p { margin: 0 0 28px; color: var(--ink-2); max-width: 42ch; }
.ex { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.ex button { min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); font-weight: 700; font-size: 15px; cursor: pointer; transition: background-color 180ms ease, color 180ms ease, transform 140ms var(--ease-out); } /* taste-skill-ignore: a 1px edge drawn as an inset shadow; the owner asked for subtle borders */
.ex button:active { transform: scale(0.97); }
.ex button[aria-pressed="true"] { background: var(--emerald); color: #fff; border-color: var(--emerald); }
@media (hover: hover) and (pointer: fine) { .ex button:not([aria-pressed="true"]):hover { background: var(--well); } }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.facts li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
.facts .ic { width: 36px; height: 36px; border-radius: 10px; background: var(--tint); color: var(--deep); display: grid; place-items: center; }
.facts .ic svg { width: 18px; height: 18px; }
.facts b { display: block; font-size: 17px; }
.facts span { font-size: 15.5px; color: var(--ink-2); }
.ask-stage { grid-column: 7 / 13; position: relative; height: 700px; border-radius: 22px; background: var(--deep); overflow: hidden; }
.ask-live { position: absolute; left: 44px; right: 44px; top: 44px; z-index: 3; }
.ask-back { position: absolute; z-index: 1; width: 280px; }
.ask-back.b1 { right: -36px; top: 590px; }
.ask-back.b2 { left: 28px; top: 612px; width: 220px; }

/* ---------- switches ---------- */
.bands { margin-top: 0; }
.band { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; min-height: 148px; padding-block: 24px; transition: background-color 360ms ease; }
.band .wrap { display: contents; }
.band-in { width: min(100% - 2 * var(--m), var(--max)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; }
.band h3 { margin: 0; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; letter-spacing: -0.03em; font-weight: 700; color: var(--muted); transition: color 300ms ease; }
.band .then { margin: 8px 0 0; font-size: var(--s-body); color: var(--ink-2); max-width: 64ch; }
.band:nth-child(odd) { background: var(--ground); }
.band:nth-child(even) { background: var(--paper); }
.band.is-on h3 { color: var(--ink); }
.band.is-on:nth-child(1) { background: var(--tint); }
.band.is-on:nth-child(2) { background: #f3ecdc; }
.band.is-on:nth-child(3) { background: var(--tint-2); }
.band.is-on:nth-child(4) { background: #e8eef0; }
.band.is-on:nth-child(5) { background: var(--tint); }
.js .band:not(.is-on) .then { opacity: .7; }
.switch { position: relative; width: 64px; height: 38px; border-radius: 999px; border: 0; padding: 0; cursor: pointer; background: #cfd6d2; transition: background-color 240ms ease; flex: none; }
.switch::after { content: ""; position: absolute; left: 4px; top: 4px; width: 30px; height: 30px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(16, 32, 26, .25), 0 2px 6px rgba(16, 32, 26, .12); transition: transform 260ms var(--ease-out); } /* taste-skill-ignore: the switch's own knob, as in the app */
.switch[aria-checked="true"] { background: var(--emerald); }
.switch[aria-checked="true"]::after { transform: translateX(26px); }
.switch-wrap { display: grid; place-items: center; width: 64px; min-height: 44px; }

/* ---------- film ---------- */
.film-frame { position: relative; border-radius: 22px; overflow: hidden; background: var(--deeper); aspect-ratio: 16 / 9; }
.film-frame video { width: 100%; height: 100%; object-fit: cover; }
.film[hidden] { display: none; }

/* ---------- kinds of shop ---------- */
.kinds-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 56px; }
.kinds-head h2 { margin: 0; font-size: var(--s-head); line-height: 1.06; letter-spacing: -0.035em; font-weight: 700; }
.kinds { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; }
.ktabs { display: grid; gap: 6px; align-content: start; }
.ktabs button { display: flex; align-items: center; justify-content: space-between; min-height: 60px; padding: 0 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface);  font-weight: 700; font-size: 16px; text-align: left; cursor: pointer; transition: background-color 180ms ease, color 180ms ease; } /* taste-skill-ignore: a 1px edge drawn as an inset shadow; the owner asked for subtle borders */
.ktabs button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .ktabs button:not([aria-selected="true"]):hover { background: var(--well); } }
.kpanel { display: grid; gap: 4px; align-content: start; }
.kpanel[hidden] { display: none; }
.krow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; min-height: 80px; padding: 14px 24px; border-radius: 12px; }
.krow:nth-child(odd) { background: var(--surface); }
.krow:nth-child(even) { background: var(--paper); }
.krow b { display: block; font-size: 18px; font-weight: 700; }
.krow span { font-size: 15px; color: var(--muted); }
.krow em { font-style: normal; font-weight: 700; font-size: 14px; color: var(--deep); background: var(--tint); padding: 6px 12px; border-radius: 999px; white-space: nowrap; }

/* ---------- prices ---------- */
.ptable { width: 100%; border-collapse: separate; border-spacing: 0; font-variant-numeric: tabular-nums; }
.ptable th, .ptable td { padding: 18px 24px; text-align: left; font-size: 19px; vertical-align: middle; }
.ptable thead th { padding-top: 28px; padding-bottom: 24px; vertical-align: bottom; }
.ptable thead th:first-child { font-size: var(--s-head); line-height: 1.06; letter-spacing: -0.035em; font-weight: 700; width: 34%; }
.ptable .pname { display: block; font-size: var(--s-item); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 10px; }
.ptable .pprice .money { font-size: 52px; color: var(--deep); }
.ptable .pprice small { font-size: 15px; font-weight: 600; color: var(--muted); margin-left: 6px; }
.ptable tbody th { font-weight: 600; color: var(--ink-2); }
.ptable tbody tr:nth-child(odd) th, .ptable tbody tr:nth-child(odd) td { background: var(--paper); }
.ptable .rec { background: var(--tint) !important; }
.ptable thead .rec { border-radius: 18px 18px 0 0; }
.ptable tfoot .rec { border-radius: 0 0 18px 18px; }
.ptable tfoot td { padding-top: 24px; padding-bottom: 28px; }
.ptable .tag-rec { display: inline-block; margin-left: 10px; vertical-align: middle; font-size: 12.5px; font-weight: 700; color: var(--deep); background: #fff; padding: 4px 10px; border-radius: 999px; letter-spacing: 0; }
.plans-ph { display: none; }
.price-note { margin: 28px 0 0; color: var(--muted); font-size: 15.5px; }

/* ---------- questions ---------- */
.faq-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.faq-grid > h2 { grid-column: 1 / 5; position: sticky; top: 96px; margin: 0; font-size: var(--s-head); line-height: 1.06; letter-spacing: -0.035em; font-weight: 700; }
.acc { grid-column: 5 / 13; display: grid; gap: 8px; }
.acc details { border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: background-color 240ms ease; } /* taste-skill-ignore: a 1px edge drawn as an inset shadow; the owner asked for subtle borders */
.acc summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; padding: 0 24px; font-weight: 700; font-size: 19px; cursor: pointer; }
.acc summary::-webkit-details-marker { display: none; }
.acc .pm { position: relative; width: 16px; height: 16px; flex: none; }
.acc .pm::before, .acc .pm::after { content: ""; position: absolute; left: 0; top: 6.5px; width: 16px; height: 3px; border-radius: 2px; background: currentColor; transition: transform 240ms var(--ease-out); }
.acc .pm::after { transform: rotate(90deg); }
.acc details[open] { background: var(--emerald); color: #fff; box-shadow: none; } /* taste-skill-ignore: resets the edge above */
.acc details[open] .pm::after { transform: rotate(0deg); }
.acc details p { margin: 0; padding: 0 24px 24px; max-width: 60ch; font-size: var(--s-body); color: var(--tint); }
.acc details p a { color: #fff; }
@media (hover: hover) and (pointer: fine) { .acc details:not([open]) summary:hover { background: var(--well); border-radius: 14px; } }

/* ---------- close: the download already open ---------- */
.close { margin-top: 160px; background: var(--emerald); color: #fff; min-height: 90svh; display: flex; align-items: stretch; }
.close .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; padding-block: 96px; }
.close-copy { grid-column: 1 / 6; align-self: end; }
.close h2 { margin: 0 0 18px; font-size: clamp(52px, 6vw, 96px); line-height: .96; letter-spacing: -0.045em; font-weight: 700; }
.close-copy p { margin: 0; max-width: 40ch; color: var(--tint); font-size: 18px; }
.close-dlg { grid-column: 8 / 13; }

/* ---------- footer: a board of tiles ---------- */
.foot { padding: 8px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.tile { border-radius: 16px; padding: 24px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); } /* taste-skill-ignore: a 1px edge drawn as an inset shadow; the owner asked for subtle borders */
.t-state { grid-column: 1 / 5; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.t-state p { margin: 0; font-size: 22px; line-height: 1.35; letter-spacing: -0.015em; font-weight: 600; max-width: 26ch; }
.t-state small { font-size: 13px; color: var(--muted); line-height: 1.5; }
.t-state small a { color: var(--muted); }
.t-nav { grid-column: 5 / 8; }
.t-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.t-nav a { display: inline-flex; min-height: 34px; align-items: center; text-decoration: none; font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .t-nav a:hover { text-decoration: underline; } }
.t-runs { grid-column: 8 / 10; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.t-runs b { font-size: 20px; }
.t-runs span { color: var(--muted); font-size: 15px; }
.t-mail { grid-column: 10 / 13; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.t-mail span { color: var(--muted); font-size: 15px; }
.t-mail a { font-size: 20px; font-weight: 700; }
.t-word { grid-column: 1 / 9; min-height: 320px; background: var(--ink); color: #fff; display: grid; place-items: center; box-shadow: none; overflow: hidden; } /* taste-skill-ignore: resets the edge above */
.t-word span { font-weight: 800; letter-spacing: -0.05em; font-size: clamp(64px, 9vw, 150px); line-height: 1; }
.t-cta { grid-column: 9 / 13; min-height: 320px; background: var(--emerald); color: #fff; box-shadow: none; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; transition: background-color 200ms ease; } /* taste-skill-ignore: resets the edge above */
.t-cta b { font-size: var(--s-item); letter-spacing: -0.02em; line-height: 1.15; max-width: 12ch; }
.t-cta svg { align-self: flex-end; width: 56px; height: 56px; transition: transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .t-cta:hover { background: var(--deep); } .t-cta:hover svg { transform: translateX(6px); } }

/* ================= app fragments: the product's own interface ================= */
[data-ui] { font: 500 14px/1.4 var(--sans); color: var(--ink); letter-spacing: 0; font-variant-numeric: tabular-nums; text-align: left; }
[data-ui] .money { font-family: var(--money); font-weight: 400; line-height: 1; }
[data-ui] .soft { color: var(--muted); }
[data-ui] .kbd { display: inline-grid; place-items: center; min-width: 22px; height: 20px; padding: 0 5px; border-radius: 5px; background: var(--well); box-shadow: inset 0 -1px 0 var(--line-2); color: var(--muted); font: 700 11px/1 var(--sans); }
.win[data-ui] { background: var(--surface); border-radius: 14px; box-shadow: 0 0 0 1px var(--line), var(--sh-3); overflow: hidden; }
.card[data-ui], [data-ui] .card { background: var(--surface); border-radius: 14px; box-shadow: 0 0 0 1px var(--line), var(--sh-2); }
[data-ui] .tb { display: flex; align-items: center; gap: 14px; height: 52px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--paper); }
[data-ui] .tb .logo { width: 28px; height: 28px; border-radius: 8px; background: var(--emerald); display: grid; place-items: center; flex: none; }
[data-ui] .tb .logo img { width: 15px; height: 16px; }
[data-ui] .tb .shop { font-weight: 700; font-size: 13.5px; white-space: nowrap; }
[data-ui] .tb .shop small { display: block; font-weight: 600; font-size: 11.5px; color: var(--muted); }
[data-ui] .tabs { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--well); margin-left: 6px; }
[data-ui] .tabs span { padding: 6px 13px; border-radius: 999px; font-weight: 600; font-size: 13px; color: var(--ink-2); white-space: nowrap; }
[data-ui] .tabs .on { background: var(--emerald); color: #fff; }
[data-ui] .tb .right { margin-left: auto; display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
[data-ui] .sync { display: inline-flex; align-items: center; gap: 6px; }
[data-ui] .sync::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2fae7d; box-shadow: 0 0 0 3px rgba(47, 174, 125, .18); }
[data-ui] .av { width: 30px; height: 30px; border-radius: 50%; background: var(--tint); color: var(--deep); display: grid; place-items: center; font: 700 11.5px var(--sans); flex: none; }
[data-ui] .sell { display: grid; grid-template-columns: minmax(0, 1fr) 316px; gap: 14px; padding: 14px; background: var(--ground); }
[data-ui] .search { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 12px; border-radius: 11px; background: var(--surface); box-shadow: 0 0 0 1.5px var(--emerald), 0 0 0 5px rgba(11, 110, 79, .10); color: var(--muted); font-size: 14px; }
[data-ui] .search svg { width: 17px; height: 17px; color: var(--ink-2); }
[data-ui] .search .kbd { margin-left: auto; }
[data-ui] .quick { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin: 12px 0; }
[data-ui] .qt { display: block; width: 100%; border: 0; text-align: left; cursor: pointer; background: var(--surface); border-radius: 10px; padding: 4px; border: 1px solid var(--line); transition: transform 160ms var(--ease-out), border-color 200ms ease; }
[data-ui] .qt img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: 6px; }
[data-ui] .qt span { display: block; padding: 5px 3px 1px; font-weight: 600; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
[data-ui] .qt:active { transform: scale(0.95); }
@media (hover: hover) and (pointer: fine) { [data-ui] .qt:hover { border-color: var(--emerald); transform: translateY(-2px); } }
[data-ui] .table { background: var(--surface); border-radius: 12px; box-shadow: 0 0 0 1px var(--line), var(--sh-1); overflow: hidden; }
[data-ui] .th, [data-ui] .tr { display: grid; grid-template-columns: minmax(0, 1fr) 108px 84px 88px; align-items: center; gap: 10px; padding: 0 16px; }
[data-ui] .th { height: 36px; font-size: 12px; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line); background: var(--paper); }
[data-ui] .th span:nth-child(n+3) { text-align: right; }
[data-ui] .tr { height: 58px; border-bottom: 1px solid var(--line); transition: background-color 900ms ease; }
[data-ui] .tr:last-child { border-bottom: 0; }
[data-ui] .tr.hl { background: #eef7f2; transition: none; }
[data-ui] .item { display: flex; align-items: center; gap: 11px; min-width: 0; font-weight: 600; }
[data-ui] .item img, [data-ui] .item .ph { width: 38px; height: 38px; border-radius: 8px; object-fit: cover; flex: none; }
[data-ui] .item .ph { display: grid; place-items: center; background: var(--well); color: var(--deep); font: 800 10px var(--sans); }
[data-ui] .item b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
[data-ui] .item > span { min-width: 0; }
[data-ui] .item small { display: block; font-size: 12px; color: var(--muted); font-weight: 500; }
[data-ui] .step { display: inline-flex; align-items: center; justify-content: space-between; width: 100px; height: 32px; border-radius: 999px; background: var(--well); padding: 0 4px; font-weight: 700; font-size: 13px; }
[data-ui] .step i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; color: var(--ink-2); font-weight: 700; }
[data-ui] .rate { color: var(--muted); font-size: 13px; text-align: right; }
[data-ui] .amt { font-weight: 700; text-align: right; white-space: nowrap; }
[data-ui] .pay { background: var(--surface); border-radius: 14px; box-shadow: 0 0 0 1px var(--line), var(--sh-2); padding: 14px; display: grid; gap: 12px; align-content: start; }
[data-ui] .total { background: var(--tint); border-radius: 11px; padding: 14px 16px 16px; }
[data-ui] .total small { display: block; font-size: 12.5px; color: var(--deep); font-weight: 600; margin-bottom: 4px; }
[data-ui] .total .money { font-size: 62px; color: var(--deep); display: block; }
[data-ui] .cust { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 11px; box-shadow: 0 0 0 1px var(--line); }
[data-ui] .cust b { display: block; font-size: 13.5px; }
[data-ui] .cust small { color: var(--muted); font-size: 12px; }
[data-ui] .cust .link { margin-left: auto; color: var(--emerald); font-weight: 700; font-size: 12.5px; }
[data-ui] .methods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
[data-ui] .methods span { display: grid; place-items: center; gap: 4px; height: 58px; border-radius: 10px; background: var(--well); font-weight: 700; font-size: 12px; }
[data-ui] .methods svg { width: 18px; height: 18px; }
[data-ui] .methods .on { background: var(--tint); color: var(--deep); box-shadow: inset 0 0 0 1.5px var(--emerald); }
[data-ui] .recv { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
[data-ui] .recv div { padding: 9px 11px; border-radius: 10px; background: var(--well); }
[data-ui] .recv small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 600; }
[data-ui] .recv b { font-size: 16px; }
[data-ui] .recv .chg { background: var(--tint); color: var(--deep); }
[data-ui] .paybtn { display: flex; align-items: center; justify-content: space-between; height: 54px; padding: 0 16px; border-radius: 12px; background: var(--emerald); color: #fff; font-weight: 700; font-size: 17px; }
[data-ui] .paybtn .kbd { background: rgba(255, 255, 255, .16); color: #fff; box-shadow: none; }
[data-ui].ask, [data-ui] .ask { padding: 16px; display: grid; gap: 12px; }
[data-ui] .ask-h { display: flex; align-items: center; gap: 10px; }
[data-ui] .ask-h .logo { width: 30px; height: 30px; border-radius: 9px; background: var(--emerald); display: grid; place-items: center; flex: none; }
[data-ui] .ask-h .logo img { width: 15px; height: 16px; }
[data-ui] .ask-h b { display: block; font-size: 15px; font-weight: 800; }
[data-ui] .ask-h small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
[data-ui] .badge { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--tint); color: var(--deep); font-weight: 700; font-size: 12px; white-space: nowrap; }
[data-ui] .badge svg { width: 12px; height: 12px; }
[data-ui] .q { justify-self: end; max-width: 85%; padding: 10px 14px; border-radius: 14px 14px 4px 14px; background: var(--emerald); color: #fff; font-weight: 600; font-size: 14.5px; }
[data-ui] .a { padding: 14px 16px; border-radius: 14px 14px 14px 4px; background: var(--ground); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 8px; }
[data-ui] .a .money { font-size: 46px; color: var(--deep); }
[data-ui] .a p { margin: 0; font-size: 14.5px; }
[data-ui] .up { color: var(--emerald); font-weight: 700; }
[data-ui] .bar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; gap: 2px; margin-top: 4px; }
[data-ui] .bar i { display: block; transform-origin: left; }
[data-ui] .legend { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 16px; font-size: 12.5px; }
[data-ui] .legend span { display: flex; align-items: center; gap: 6px; color: var(--muted); }
[data-ui] .legend span b { margin-left: auto; color: var(--ink); font-weight: 700; white-space: nowrap; }
[data-ui] .legend i { width: 8px; height: 8px; border-radius: 2px; flex: none; }
[data-ui] .src { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
[data-ui] .chips { display: flex; flex-wrap: wrap; gap: 6px; }
[data-ui] .chips span { height: 30px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--line-2); font-weight: 600; font-size: 12.5px; }
[data-ui] .inp { display: flex; align-items: center; gap: 8px; height: 50px; padding: 0 6px 0 14px; border-radius: 12px; background: var(--surface); box-shadow: 0 0 0 1px var(--line-2), var(--sh-1); color: var(--muted); font-size: 14px; }
[data-ui] .inp input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; font: 600 16px var(--sans); color: var(--ink); outline: none; }
[data-ui] .inp:focus-within { box-shadow: 0 0 0 2px var(--emerald), 0 0 0 6px rgba(11, 110, 79, .12); }
[data-ui] .mic, [data-ui] .send { margin-left: auto; width: 38px; height: 38px; border-radius: 10px; border: 0; background: var(--emerald); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; transition: transform 140ms var(--ease-out), background-color 180ms ease; }
[data-ui] .send { background: var(--emerald); color: #fff; margin-left: 0; }
[data-ui] .mic:active, [data-ui] .send:active { transform: scale(0.94); }
[data-ui] .mic svg, [data-ui] .send svg { width: 17px; height: 17px; }
[data-ui].list, [data-ui] .list { padding: 16px; display: grid; gap: 4px; }
[data-ui] .lh { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
[data-ui] .lh b { font-size: 15px; font-weight: 800; }
[data-ui] .row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 11px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); }
[data-ui] .row .av, [data-ui] .row img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
[data-ui] .row b { font-weight: 700; font-size: 14px; }
[data-ui] .row small { display: block; font-size: 12px; color: var(--muted); }
[data-ui] .tag { height: 24px; display: inline-flex; align-items: center; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #fdeceb; color: var(--neg); white-space: nowrap; }
[data-ui] .tag.ok { background: var(--tint); color: var(--deep); }
[data-ui] .tag.warn { background: #f8efdc; color: #7a5410; }
[data-ui] .kpi small { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; }
[data-ui] .kpi .money { font-size: 44px; color: var(--deep); }
[data-ui] .mini-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 9px; background: var(--emerald); color: #fff; font-weight: 700; font-size: 12.5px; white-space: nowrap; }
[data-ui] .mini-btn.alt { background: var(--well); color: var(--ink); }
[data-ui] .mini-btn svg { width: 14px; height: 14px; }
/* a printed receipt */
[data-ui].receipt { width: 300px; padding: 22px 20px 26px; background: #ffffff; border-radius: 6px; box-shadow: 0 0 0 1px var(--line), var(--sh-2); font-size: 13px; }
[data-ui] .rc-head { text-align: center; margin-bottom: 12px; }
[data-ui] .rc-head b { display: block; font-size: 15px; font-weight: 800; }
[data-ui] .rc-head small { color: var(--muted); font-size: 12px; }
[data-ui] .rc-line { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; }
[data-ui] .rc-line span:first-child { color: var(--ink-2); }
[data-ui] .rc-sep { height: 0; border-top: 1.5px dashed var(--line-2); margin: 8px 0; }
[data-ui] .rc-total { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 0; }
[data-ui] .rc-total .money { font-size: 32px; color: var(--deep); }
[data-ui] .rc-foot { text-align: center; color: var(--muted); font-size: 12px; margin-top: 10px; }
/* the download dialog */
[data-ui].dlg { width: 100%; max-width: 460px; padding: 24px; background: var(--surface); color: var(--ink); border-radius: 18px; box-shadow: 0 0 0 1px var(--line), 0 24px 60px -12px rgba(4, 30, 21, .5), 0 8px 20px -6px rgba(4, 30, 21, .3); display: grid; gap: 18px; }
[data-ui] .dlg-h { display: flex; align-items: center; gap: 12px; }
[data-ui] .dlg-h .logo { width: 40px; height: 40px; border-radius: 11px; background: var(--emerald); display: grid; place-items: center; flex: none; }
[data-ui] .dlg-h .logo img { width: 20px; height: 22px; }
[data-ui] .dlg-h b { display: block; font-size: 17px; font-weight: 800; }
[data-ui] .dlg-h small { display: block; color: var(--muted); font-size: 13px; }
[data-ui] .seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; gap: 4px; border-radius: 12px; background: var(--well); }
[data-ui] .seg button { min-height: 44px; border: 1px solid transparent; border-radius: 9px; background: transparent; font-weight: 700; font-size: 14px; color: var(--muted); cursor: pointer; transition: background-color 180ms ease, color 180ms ease; }
[data-ui] .seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
[data-ui] .dl-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; counter-reset: s; }
[data-ui] .dl-steps li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; font-size: 14px; color: var(--ink-2); counter-increment: s; }
[data-ui] .dl-steps li::before { content: counter(s); width: 26px; height: 26px; border-radius: 50%; background: var(--tint); color: var(--deep); display: grid; place-items: center; font-weight: 800; font-size: 12.5px; }
[data-ui] .dl-go { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; border-radius: 12px; background: var(--emerald); color: #fff; font-weight: 800; font-size: 16px; text-decoration: none; transition: background-color 180ms ease, transform 140ms var(--ease-out); }
[data-ui] .dl-go:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { [data-ui] .dl-go:hover { background: var(--deep); } }
[data-ui] .dl-go svg { width: 18px; height: 18px; }
[data-ui] .dl-more { text-align: center; font-size: 13.5px; color: var(--muted); }
[data-ui] .dl-more a { color: var(--deep); font-weight: 700; }

/* ================= motion: all behind no-preference; reduced = the finished state ================= */
@media (prefers-reduced-motion: no-preference) {
  .js .hero h1 .line { opacity: 0; transform: translateY(24px); animation: rise-in 900ms var(--ease-expo) forwards; animation-delay: calc(var(--i, 0) * 110ms + 80ms); }
  .js .hero .lede, .js .hero .acts, .js .hero .meta { opacity: 0; animation: fade-up 700ms var(--ease-out) 380ms forwards; }
  .js .stage { animation: stage-in 1100ms var(--ease-expo) 120ms both; }
  .js .stage-app { animation: app-in 1100ms var(--ease-expo) 260ms both; }
  .js .float-in { animation: app-in 1000ms var(--ease-expo) 620ms both; }
  .js [data-print] > * { opacity: 0; animation: print-in 420ms var(--ease-out) forwards; animation-delay: calc(700ms + var(--p, 0) * 90ms); }
  .js .printing > * { opacity: 0; animation: print-in 380ms var(--ease-out) forwards; animation-delay: calc(var(--p, 0) * 80ms); }
  [data-ui] .tr.new { animation: row-in 420ms var(--ease-out); }
  [data-ui] .a.typed > * { animation: print-in 380ms var(--ease-out) both; }
  [data-ui] .a.typed > :nth-child(2) { animation-delay: 70ms; }
  [data-ui] .a.typed > :nth-child(3) { animation-delay: 140ms; }
  [data-ui] .a.typed > :nth-child(n+4) { animation-delay: 210ms; }
  [data-ui] .a.typed .bar i { animation: grow 700ms var(--ease-expo) 150ms both; }
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-expo); transition-delay: var(--d, 0ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .kpanel:not([hidden]) .krow { animation: print-in 360ms var(--ease-out) both; }
  .js .kpanel:not([hidden]) .krow:nth-child(2) { animation-delay: 50ms; }
  .js .kpanel:not([hidden]) .krow:nth-child(3) { animation-delay: 100ms; }
  .js .kpanel:not([hidden]) .krow:nth-child(n+4) { animation-delay: 150ms; }
  .acc details[open] p { animation: print-in 320ms var(--ease-out); }
}
@keyframes rise-in { to { opacity: 1; transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes stage-in { from { opacity: 0; transform: translateY(48px); } to { opacity: 1; transform: none; } }
@keyframes app-in { from { opacity: 0; transform: translateY(40px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes print-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes row-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: none; } }

/* ================= laptop: the app is shown a little smaller so the whole bill stays in view ================= */
@media (min-width: 1280px) and (max-width: 1519px) { .stage-app { zoom: 0.88; } }
@media (max-width: 1279px) {
  .hero { min-height: 0; }
  .stage { position: relative; left: auto; top: auto; margin-top: 44px; margin-left: var(--m); height: 600px; }
  .float { display: none; }
}

/* ================= tablet ================= */
@media (max-width: 1099px) {
  :root { --m: 32px; }
  .nav { display: none; }
  .head .btn { margin-left: auto; }
  .hero { min-height: 0; padding-bottom: 0; }
  .hero-copy { padding-top: 24px; }
  .stage { position: relative; left: auto; top: auto; margin-top: 44px; margin-left: var(--m); height: 560px; }
  .stage-app { width: 880px; left: 24px; zoom: 0.8; }
  .float { display: none; }
  .sec-head h2, .sec-head p { grid-column: 1 / -1; }
  .sec-head p { margin-top: 16px; }
  .ssteps { grid-column: 1 / -1; display: grid; gap: 56px; }
  .sstep { padding: 0; }
  .ask-copy, .ask-stage { grid-column: 1 / -1; }
  .ask-stage { margin-top: 48px; }
  .kinds { grid-template-columns: 1fr; }
  .ptable { display: none; }
  .plans-ph { display: grid; gap: 10px; }
  .plan-card { border-radius: 16px; padding: 22px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); } /* taste-skill-ignore: a 1px edge drawn as an inset shadow; the owner asked for subtle borders */
  .plan-card.rec { background: var(--tint); box-shadow: none; } /* taste-skill-ignore: resets the edge above */
  .plan-card h3 { margin: 0 0 6px; font-size: 24px; }
  .plan-card .money { font-size: 46px; color: var(--deep); }
  .plan-card .money + small { font-size: 15px; color: var(--muted); font-weight: 600; margin-left: 6px; }
  .plan-card dl { margin: 18px 0; display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; }
  .plan-card dt { color: var(--muted); }
  .plan-card dd { margin: 0; font-weight: 700; text-align: right; }
  .plan-card .btn { width: 100%; }
  .ktabs { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .ktabs button { min-height: 48px; }
  .faq-grid > h2 { grid-column: 1 / -1; position: static; margin-bottom: 32px; }
  .acc { grid-column: 1 / -1; }
  .close-copy, .close-dlg { grid-column: 1 / -1; }
  .close-dlg { margin-top: 48px; }
  .close-copy { align-self: start; }
  .t-state, .t-nav, .t-runs, .t-mail { grid-column: span 6; }
  .t-word, .t-cta { grid-column: 1 / -1; min-height: 200px; }
}

/* ================= phone ================= */
@media (max-width: 760px) {
  :root { --m: 20px; --s-head: 34px; --s-item: 24px; --s-lead: 18px; --s-body: 16.5px; --gap: 16px; }
  .head .wrap { min-height: 72px; }
  .wordmark { font-size: 20px; }
  .head .btn { padding: 0 14px; font-size: 14.5px; }
  .hero h1 { font-size: 11vw; margin-bottom: 16px; }
  .lede { font-size: 16.5px; margin-bottom: 22px; }
  .acts .ghost { display: none; }
  .meta { font-size: 14px; }
  .stage { margin-left: 0; height: 520px; clip-path: polygon(0 0, 150px 0, 172px 40px, 100% 40px, 100% 100%, 0 100%); }
  .stage-app { display: none; }
  .stage-pay { display: block !important; position: absolute; left: 16px; right: 16px; top: 64px; }
  .sec { padding-top: 104px; }
  .sec-head { margin-bottom: 40px; }
  .sstep h3 { font-size: 24px; }
  .st-fig [data-ui] { max-width: 100%; }
  .ask-stage { height: 640px; border-radius: 18px; }
  .ask-live { left: 14px; right: 14px; top: 14px; }
  .ask-back { display: none; }
  .band { min-height: 132px; }
  .band-in { gap: 16px; }
  .band h3 { font-size: 22px; }
  .band .then { font-size: 15px; }
  .film-frame { border-radius: 14px; }
  .kinds-head { flex-direction: column; align-items: stretch; margin-bottom: 32px; }
  .krow { grid-template-columns: 1fr; gap: 8px; padding: 16px; }
  .krow em { justify-self: start; }
  .acc summary { min-height: 64px; font-size: 17px; padding: 14px 20px; }
  .acc details p { padding: 0 20px 20px; }
  .close { margin-top: 104px; min-height: 0; }
  .close .wrap { padding-block: 72px; }
  .close h2 { font-size: 13vw; }
  .foot { grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; }
  .t-word { grid-column: 1 / -1; min-height: 160px; order: -2; }
  .t-cta { grid-column: 1 / -1; min-height: 160px; order: -1; }
  .t-nav, .t-mail { grid-column: span 1; }
  .t-runs, .t-state { grid-column: 1 / -1; }
  .t-word span { font-size: 17vw; }
  .tile { padding: 20px; }
}
.stage-pay { display: none; }
.xs-only { display: none; }
@media (max-width: 359px) { .xs-hide { display: none; } .xs-only { display: inline; } }
@media (max-width: 760px) { .t-nav a { min-height: 44px; } }
