/* Content pages of qrok.uz (uzqr, tips, pricing). Same tokens as the landing page:
   ishkor teal on a cool grey ground, Unbounded for headings, Golos Text for the rest. */
:root {
  --ground: #F2F5F4; --card: #FFFFFF; --line: #D2DDDB; --line-soft: #E4EBEA;
  --ink: #0E1A1C; --dim: #5C7072; --faint: #8A9A9B;
  --accent: #12787E; --accent-soft: #12787E14; --accent-ink: #FFFFFF;
  --shadow: 0 1px 2px rgba(14, 26, 28, .05), 0 18px 50px -28px rgba(14, 26, 28, .4);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #08100F; --card: #101A1A; --line: #213130; --line-soft: #1A2626;
    --ink: #E6EEEC; --dim: #8CA3A2; --faint: #6A8180;
    --accent: #43B0AE; --accent-soft: #43B0AE1c; --accent-ink: #052120;
    --shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 20px 55px -30px rgba(0, 0, 0, .9);
    color-scheme: dark;
  }
}

* { box-sizing: border-box }
html { background: var(--ground) }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 400 16px/1.6 "Golos Text", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(60% 45% at 50% 0%, var(--accent-soft), transparent 70%);
  background-repeat: no-repeat;
}
.wrap { max-width: 760px; margin: 0 auto; padding: calc(20px + env(safe-area-inset-top, 0px)) 18px calc(48px + env(safe-area-inset-bottom, 0px)) }

.topbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 6px 0 26px }
.brand { display: inline-flex; align-items: center; gap: 9px; font: 600 18px/1 "Unbounded", "Golos Text", sans-serif; color: var(--ink); text-decoration: none }
.brand .logo { width: 28px; height: 28px; flex: none; display: block }
.brand .tick { color: var(--accent) }

h1 { font: 600 clamp(26px, 5vw, 34px)/1.18 "Unbounded", "Golos Text", sans-serif; margin: 0 0 14px; letter-spacing: -.01em; text-wrap: balance }
h2 { font: 600 clamp(19px, 3.4vw, 23px)/1.25 "Unbounded", "Golos Text", sans-serif; margin: 0 0 12px; text-wrap: balance }
.lede { font-size: clamp(17px, 2.4vw, 19px); color: var(--dim); margin: 0 0 8px }
section { background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 22px 22px 24px; margin: 22px 0 0 }
section p { margin: 0 0 12px }
section p:last-child { margin-bottom: 0 }
ul, ol { margin: 0 0 12px; padding-left: 22px }
li { margin: 0 0 8px }
b { font-weight: 600 }

.steps { list-style: none; counter-reset: s; padding: 0 }
/* The number sits in the gutter, so a step's bold title and its text flow as one paragraph. */
.steps li { counter-increment: s; position: relative; padding-left: 40px; min-height: 28px; margin-bottom: 12px }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -1px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 600; font-size: 14px;
}

/* The list only: the section that holds it is also class="faq" and keeps its own gap. */
dl.faq { margin: 0 }
.faq dt { font-weight: 600; margin-top: 14px }
.faq dt:first-child { margin-top: 0 }
.faq dd { margin: 4px 0 0; color: var(--dim) }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px;
  border-radius: 12px; background: var(--accent); color: var(--accent-ink);
  font: 600 17px/1 "Golos Text", sans-serif; text-decoration: none; border: 0; cursor: pointer;
}
.btn:hover { filter: brightness(1.06) }
.btn.small { min-height: 40px; padding: 0 14px; font-size: 15px }
.btn.ghost { background: transparent; color: var(--accent); border: 1px solid var(--accent) }
.cta { margin: 18px 0 0 }

.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 0 }
.price { border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: grid; gap: 6px; align-content: start }
.price.pick { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent) }
.price b { font: 600 17px/1.2 "Unbounded", "Golos Text", sans-serif }
.price .sum { font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums }
.price span { color: var(--dim); font-size: 14.5px }

a { color: var(--accent) }
.foot { color: var(--faint); font-size: 14px; margin-top: 26px; text-align: center }
.foot a { color: var(--dim) }

.head-links { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: flex-end }
.head-links .tg { font-weight: 500; text-decoration: none }
.head-links .tg:hover { text-decoration: underline }
.cta { display: flex; gap: 10px; flex-wrap: wrap }
.crumbs { margin: 0 0 10px; font-size: 14px; color: var(--faint) }
.crumbs a { color: var(--dim) }
.sources ul { font-size: 14.5px; color: var(--dim) }
.sources .note { font-size: 14px; color: var(--faint) }
.lang-links { display: inline-flex; gap: 2px; font-size: 13px; font-weight: 500 }
.lang-links a { padding: 4px 7px; border-radius: 7px; color: var(--dim); text-decoration: none }
.lang-links a:hover { color: var(--ink); background: var(--accent-soft) }
.lang-links a[aria-current="true"] { color: var(--accent); background: var(--accent-soft) }
/* Phones: brand, languages and the connect button on one row; the bot link lives in the footer. */
@media (max-width: 480px) {
  .topbar { gap: 8px }
  .head-links { gap: 8px; flex-wrap: nowrap }
  .head-links .tg { display: none }
  .head-links .btn.small { padding: 0 11px; font-size: 14px; min-height: 38px; white-space: nowrap }
  .brand { font-size: 16px; gap: 7px }
  .brand .logo { width: 24px; height: 24px }
  .lang-links a { padding: 4px 5px }
  .head-links .btn .long { display: none }
  .head-links .btn .short { display: inline }
}

.btn .short { display: none }

/* Tables in legal pages scroll inside their card, never the page. */
section table { display: block; overflow-x: auto; border-collapse: collapse; margin: 0 0 12px; font-size: 15px }
section th, section td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top }
section th { background: var(--accent-soft); font-weight: 600 }
.price .soon-note { margin-top: 4px; padding-top: 8px; border-top: 1px dashed var(--line); color: var(--dim); font-size: 14px }
.price .soon-note b { color: var(--accent); font-weight: 600; font-family: inherit; font-size: inherit }

/* ---------- /demo/: the slip and the live guest screens, side by side ---------- */
/* Bottoms aligned, so the two captions share a line whatever the heights above them. */
.demo-stage { display: flex; flex-wrap: wrap; gap: 22px 28px; justify-content: center; align-items: flex-end; margin: 18px 0 16px }
.demo-stage figure { margin: 0; display: grid; gap: 10px; justify-items: center }
.demo-stage figcaption { font-size: 13px; color: var(--dim); text-align: center; max-width: 30ch; text-wrap: balance }
/* Thermal paper stays white in the dark theme too: it is an object, not part of the page. */
/* The picture is the print area edge to edge; the padding is the paper's own margin, which
   the printer leaves and a screenshot of the render does not. */
.demo-slip img { display: block; width: 250px; height: auto; background: #fff; border-radius: 3px; padding: 18px 8px 12px; box-sizing: content-box;
  box-shadow: 0 1px 2px rgba(14, 26, 28, .12), 0 14px 34px -18px rgba(14, 26, 28, .55) }
/* 390 px inside the bezel: the width of a real phone. Narrower, and the guest screens are
   shown at a size they never run at — card numbers clip, buttons spill. */
.phone { width: 408px; max-width: 100%; border-radius: 40px; padding: 9px; background: #15201F;
  box-shadow: 0 1px 2px rgba(14, 26, 28, .2), 0 22px 50px -24px rgba(14, 26, 28, .7) }
.phone iframe { display: block; width: 100%; height: 760px; border: 0; border-radius: 31px; background: #fff }
.demo-stage.one .phone iframe { height: 640px }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px }
@media (max-width: 460px) { .phone { border-radius: 30px; padding: 7px } .phone iframe { border-radius: 23px; height: 700px } .demo-stage.one .phone iframe { height: 620px } }

/* Help pages (/help/waiter/, /help/poster/): code tiles, phrases to say, Poster screenshots. */
.codes, .modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin: 4px 0 0 }
.codes > div, .modes > div { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px }
.codes b, .modes b { display: block; margin-bottom: 6px }
.codes span { color: var(--dim); font-size: 15px }
.modes b { font-size: 17px }
.modes p { margin: 0 0 8px; color: var(--dim); font-size: 15px }
.modes p:last-child { margin: 0; color: var(--ink) }
.say { margin: 0; padding: 12px 16px; border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: 0 10px 10px 0; font-size: 17px }
.say + .say { margin-top: 8px }
.note { padding: 12px 16px; border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: 0 10px 10px 0; margin: 12px 0 0 }
code.cmd { font: 500 15px/1.4 ui-monospace, "SF Mono", Menlo, monospace; background: var(--ground); border: 1px solid var(--line-soft); padding: 1px 6px; border-radius: 6px; white-space: nowrap }
.shot { margin: 12px 0 4px; display: grid; gap: 6px }
.shot img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line) }
.shot figcaption { font-size: 14px; color: var(--dim) }
.path { font-weight: 600 }
.toc { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 8px 0 0; font-size: 15px }
@media print {
  .topbar .head-links, .foot { display: none }
  section { box-shadow: none; break-inside: avoid }
}
