/*
 * The landing page and the legal pages. Static, no build and no framework: they are read once by
 * somebody deciding whether to try the product, and every byte they cost is paid by an advert.
 * No webfont for the guest app's reason -- a render-blocking request on the screen that has to
 * appear fastest.
 */
:root {
  /* Agave and lime: what a margarita looks like, and what "cool, fresh, easy" looks like on a page
     a publican opens on a phone. Deep green carries the words and the buttons (7:1 on white), the
     lime is only ever a background behind dark text -- lime text on white would be 1.4:1. */
  --bg: #f6faf4; --surface: #ffffff; --ink: #11231b; --ink-muted: #4a5c53;
  --edge: #d9e5dc; --accent: #17603f; --accent-ink: #ffffff; --lime: #d6f36b; --lime-soft: #eef9cf;
  --field-edge: #6b7f75; --radius: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
/* Named for a screen reader, not drawn: the comparison table's empty corner cell. */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink); line-height: 1.55;
  font: 17px/1.55 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
}
a { color: var(--accent); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
header.bar { display: flex; align-items: center; gap: 8px 14px; padding: 14px 0; }
header.bar .name {
  font-weight: 800; font-size: 1.25rem; text-decoration: none; color: var(--ink); letter-spacing: -0.01em;
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
}
header.bar .name svg { flex: none; }
header.bar .spacer { flex: 1; }
header.bar nav { display: flex; gap: 4px 14px; }
header.bar a.link, header.bar a.signin {
  font-weight: 600; text-decoration: none; padding: 0 4px; color: var(--ink);
  display: inline-flex; align-items: center; min-height: 44px;
}
header.bar .cta { padding: 10px 16px; min-height: 44px; }
/* On a phone the header keeps the name, sign-in and the button; the section links are further down. */
@media (max-width: 640px) { header.bar nav { display: none; } }
/* Narrower still, the button goes too: the hero's own form is a thumb's length below it. */
@media (max-width: 440px) { header.bar .cta { display: none; } }

.hero {
  display: grid; gap: 28px 40px; align-items: center; padding: 28px 0 24px;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}
@media (max-width: 820px) { .hero { grid-template-columns: minmax(0, 1fr); } }
.hero .kicker {
  display: inline-block; background: var(--lime); color: var(--ink); font-weight: 700; font-size: 0.9rem;
  padding: 4px 12px; border-radius: 99px; margin: 0 0 14px;
}
.hero h1 { font-size: clamp(2.1rem, 6.4vw, 3.5rem); line-height: 1.05; margin: 0 0 16px; letter-spacing: -0.03em; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--lime) 62%); }
.hero p.lead { font-size: 1.15rem; color: var(--ink-muted); max-width: 34em; margin: 0 0 22px; }

/* "What is your venue called?" -- the first thing the product asks, asked here, so the button that
   follows it has already started the setup rather than opening a form that asks it again. */
form.start {
  display: flex; gap: 8px; flex-wrap: wrap; background: var(--surface); padding: 8px;
  border: 1px solid var(--edge); border-radius: calc(var(--radius) + 4px); max-width: 520px;
  box-shadow: 0 8px 30px -18px rgba(17, 35, 27, 0.45);
}
form.start label { flex: 1 1 150px; display: flex; min-width: 0; }
form.start input {
  flex: 1; min-width: 0; font: inherit; color: var(--ink); background: var(--surface);
  border: 1.5px solid var(--field-edge); border-radius: var(--radius); padding: 12px 14px; min-height: 48px;
}
form.start input:focus-visible { outline: 3px solid var(--lime); outline-offset: 1px; border-color: var(--accent); }
form.start button { flex: 0 0 auto; border: 0; font: inherit; cursor: pointer; }
.or { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 14px 0 0; color: var(--ink-muted); }
.or a { font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; }
.note { display: block; margin-top: 6px; color: var(--ink-muted); font-size: 0.95rem; }
/* The offer to set a venue up by hand sits in this note, and a link in running text is a target
   the height of one line -- too small to press on the phone somebody reads it on. */
.note a { display: inline-flex; align-items: center; min-height: 44px; }

.cta {
  display: inline-flex; align-items: center; justify-content: center; background: var(--accent);
  color: var(--accent-ink); text-decoration: none; font-weight: 700; padding: 14px 22px;
  border-radius: var(--radius); min-height: 48px;
}
.cta:hover { background: #0f4d31; }
/* The demo is the second door, so it looks like one: outlined. */
.cta.quiet { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
.cta.quiet:hover { background: var(--lime-soft); }

/* The hero's picture: a round crossing from a phone to the bar, drawn rather than photographed --
   no image request, and it shows the product rather than a stock bartender. Decoration only. */
.scene { position: relative; min-height: 300px; display: flex; align-items: center; justify-content: center; }
.scene::before {
  content: ""; position: absolute; inset: 8% 4%; border-radius: 40% 60% 55% 45%; background: var(--lime);
  transform: rotate(-6deg);
}
.scene .ph, .scene .tk { position: relative; background: var(--surface); border-radius: 22px; box-shadow: 0 18px 40px -20px rgba(17, 35, 27, 0.55); }
.scene .ph { width: 260px; padding: 16px 14px; border: 6px solid var(--ink); transform: rotate(-4deg); }
.scene .tk { width: 210px; padding: 14px; margin-left: -18px; margin-top: 200px; background: #14181d; color: #eef1f4; border-radius: 16px; transform: rotate(3deg); }
.scene b, .scene small { display: block; }
.scene small { color: var(--ink-muted); font-size: 0.8rem; }
.scene .tk small { color: #c3ccd5; }
.scene .row { display: flex; justify-content: space-between; gap: 8px; font-size: 0.82rem; white-space: nowrap; padding: 6px 0; border-bottom: 1px solid var(--edge); }
.scene .tk .row { border-color: #333b45; }
.scene .go { margin-top: 10px; background: var(--accent); color: #fff; text-align: center; border-radius: 10px; padding: 8px; font-weight: 700; font-size: 0.92rem; }
.scene .new { display: inline-block; background: var(--lime); color: var(--ink); font-weight: 800; font-size: 0.75rem; border-radius: 99px; padding: 2px 8px; margin-bottom: 6px; }
@media (max-width: 820px) { .scene { min-height: 260px; } }
/* A phone is too narrow for the two side by side: the ticket hangs below the basket instead. */
@media (max-width: 480px) {
  .scene { flex-direction: column; align-items: flex-start; padding: 0 0 0 4%; }
  .scene .ph { width: min(240px, 78vw); }
  .scene .tk { width: min(220px, 70vw); margin: -22px 0 0 auto; }
}

/* Four facts in a row under the hero, each a thing a competitor makes you ask a salesperson. */
ul.facts {
  list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
ul.facts li { background: var(--surface); border: 1px solid var(--edge); border-radius: var(--radius); padding: 12px 16px; min-width: 0; }
ul.facts b { display: block; font-size: 1.25rem; letter-spacing: -0.01em; }
ul.facts span { color: var(--ink-muted); font-size: 0.95rem; }

section { padding: 36px 0; }
section h2 { font-size: clamp(1.5rem, 4vw, 2rem); line-height: 1.15; margin: 0 0 10px; letter-spacing: -0.02em; }
section > p.lead { color: var(--ink-muted); max-width: 40em; margin: 0 0 20px; font-size: 1.05rem; }
.cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--edge); border-radius: var(--radius);
  padding: 18px 20px; min-width: 0;
}
.card h3 { margin: 0 0 6px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--ink-muted); }

/* The three steps, numbered big: how long each takes is the point of them. */
ol.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: step; }
ol.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--edge); border-radius: var(--radius); padding: 18px 20px; min-width: 0; }
ol.steps li::before {
  content: counter(step); display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%; background: var(--lime); font-weight: 800; margin-bottom: 10px;
}
ol.steps b { display: block; margin-bottom: 4px; }
ol.steps p { margin: 0; color: var(--ink-muted); }
ol.steps .time { display: inline-block; margin-top: 8px; font-size: 0.9rem; font-weight: 700; color: var(--accent); }

/* Margarita beside "most QR ordering systems": the questions a publican would otherwise have to ask
   a salesperson, answered as a table. No competitor named -- a claim about a category is one we can
   stand behind, a claim about a company is one that is out of date the day it changes its page. */
.compare { overflow-x: auto; }
.compare table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--edge); border-radius: var(--radius); overflow: hidden; min-width: 0; }
.compare th, .compare td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--edge); vertical-align: top; }
.compare thead th { font-size: 0.95rem; }
.compare thead th:nth-child(2) { background: var(--lime); }
.compare td:nth-child(2) { background: var(--lime-soft); font-weight: 600; }
.compare td:nth-child(3) { color: var(--ink-muted); }
.compare tr:last-child td { border-bottom: 0; }
/* On a phone three columns are three slivers, so each question becomes a small card of its own:
   the question, then the two answers, each saying whose it is. */
@media (max-width: 560px) {
  .compare table, .compare tbody, .compare tr, .compare th, .compare td { display: block; }
  .compare table { background: none; border: 0; }
  .compare thead { display: none; }
  .compare tr { background: var(--surface); border: 1px solid var(--edge); border-radius: var(--radius); margin-bottom: 10px; overflow: hidden; }
  .compare th, .compare td { border: 0; padding: 8px 14px; }
  .compare th { padding-top: 12px; }
  .compare td::before { content: attr(data-l); display: block; font-size: 0.8rem; font-weight: 700; color: var(--ink-muted); }
  .compare tr td:last-child { padding-bottom: 12px; }
}

/* The price, as a price: a number on the page is the cheapest trust there is. */
.price { display: grid; gap: 20px 32px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
@media (max-width: 760px) { .price { grid-template-columns: minmax(0, 1fr); } }
.price .tag { background: var(--ink); color: #fff; border-radius: calc(var(--radius) + 6px); padding: 24px 26px; }
.price .tag .big { font-size: 3.4rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.price .tag p { margin: 8px 0 0; color: #d3dfd8; }
.price .tag ul { margin: 14px 0 18px; padding-left: 1.2em; }
.price .tag .cta { background: var(--lime); color: var(--ink); }
.price .tag .cta:hover { background: #c4e655; }

/* The last thing on the page is the first thing again. */
.again { background: var(--accent); color: #fff; border-radius: calc(var(--radius) + 8px); padding: 32px 28px; margin: 24px 0 8px; text-align: center; }
.again h2 { color: #fff; }
.again p { color: #d9ece2; margin: 0 auto 18px; max-width: 34em; }
.again .cta { background: var(--lime); color: var(--ink); }
.again .cta:hover { background: #c4e655; }
.again a.plain { color: #fff; font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; margin-left: 14px; }

footer { border-top: 1px solid var(--edge); margin-top: 32px; padding: 20px 0 40px; color: var(--ink-muted); font-size: 0.95rem; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer nav a { display: inline-flex; align-items: center; min-height: 44px; }

/* The legal pages: a readable measure, and a banner nobody can miss while they are drafts. */
.doc { max-width: 46em; padding-bottom: 20px; }
.doc h1 { font-size: 2rem; line-height: 1.2; margin: 24px 0 8px; }

/* Hungarian compounds are long -- "Adatfeldolgozási" at 2rem is wider than a 320px phone -- so a
   heading may hyphenate (lang="hu" on every page gives the browser the rules) and, failing that,
   break inside the word rather than push the page sideways. */
h1, h2, h3 { hyphens: auto; overflow-wrap: break-word; }
.doc h2 { font-size: 1.25rem; margin: 28px 0 8px; }
.doc .meta { color: var(--ink-muted); margin: 0 0 18px; }
.draft {
  border: 2px dashed var(--accent); border-radius: var(--radius); padding: 12px 16px; margin: 16px 0;
  background: #fff5f4; color: #7a1712; font-weight: 600;
}
.fill { background: #fff3c4; color: #5a4300; padding: 0 3px; border-radius: 4px; }

/* The terms' "Kiemelt feltételek": the clauses Ptk. 6:78 says have to be pointed out rather than
   left in the body, so they are the first thing on the page and the sign-up box names them again. */
.key {
  background: var(--surface); border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 4px 20px 8px; margin: 18px 0 8px;
}
.key h2 { margin-top: 14px; }
.key li { margin-bottom: 6px; }

/* "Ki csinálja?": a person rather than a company, because that is what this is -- and for somebody
   who met that person in their bar an afternoon ago, the thing they are looking for on this page. */
.about { display: flex; gap: 18px; align-items: flex-start; }
.about img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; flex: none; }
.about p { margin: 0 0 8px; max-width: 40em; }
.about .signed { color: var(--ink-muted); }
.about .signed a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 480px) { .about { flex-direction: column; } }

/* The questions a publican asks before trying it -- the till, the guests who will not scan -- each
   answered here rather than discovered, because a limit said first reads as honesty and the same
   limit found later reads as a trick. <details>, so the page stays short and needs no script. */
.faq details { background: var(--surface); border: 1px solid var(--edge); border-radius: var(--radius); margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 13px 18px; min-height: 48px; }
.faq details p { margin: 0; padding: 0 18px 14px; color: var(--ink-muted); }
