@font-face { font-family: "Barlow"; src: url(fonts/barlow-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url(fonts/barlow-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url(fonts/barlow-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url(fonts/barlowc-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url(fonts/barlowc-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ink: #141718;      /* the app's own background */
  --panel: #1f2325;
  --line: #2e3437;
  --red: #d8342a;      /* the app's brand red */
  --red-dark: #b5261d;
  --gold: #e8a923;     /* "Running" tables in the app */
  --paper: #ffffff;    /* thermal receipt */
  --page: #f3f4f4;
  --text: #1b1f21;
  --mut: #5d6669;
  --mut-d: #9aa3a6;
  --fc: "Barlow Condensed", "Arial Narrow", sans-serif;
  --fb: "Barlow", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.6 var(--fb); color: var(--text); background: var(--page); }
img { max-width: 100%; display: block; }
a { color: var(--red-dark); text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1120px, 100% - 40px); margin: 0 auto; }

/* top bar */
.top { background: var(--ink); color: #fff; }
.top .wrap { display: flex; align-items: center; gap: 14px; padding: 16px 0; }
.brand { display: flex; align-items: center; gap: 11px; color: #fff; text-decoration: none; font: 700 22px/1 var(--fc); letter-spacing: .2px; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.brand:hover { color: #fff; }
.top nav { margin-left: auto; display: flex; gap: 22px; font-size: 15px; }
.top nav a { color: var(--mut-d); text-decoration: none; }
.top nav a:hover, .top nav a[aria-current] { color: #fff; }

/* hero: dark, like the app */
.hero { background: var(--ink); color: #fff; padding: 46px 0 0; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: end; }
.hero h1 { font: 700 clamp(44px, 7vw, 76px)/.95 var(--fc); margin: 0 0 20px; letter-spacing: -.5px; }
.hero p.lead { font-size: 19px; color: #c9d0d2; max-width: 34em; margin: 0 0 30px; }
.hero .copy { padding-bottom: 70px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: 12px; font: 600 21px/1 var(--fc); text-decoration: none; letter-spacing: .3px; border: 0; cursor: pointer; }
.btn svg { width: 20px; height: 20px; }
.btn.red { background: var(--red); color: #fff; box-shadow: 0 3px 0 var(--red-dark); }
.btn.red:hover { background: #e23a30; color: #fff; }
.btn.red:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--red-dark); }
.btn.line { color: #fff; box-shadow: inset 0 0 0 1.5px #4a5357; }
.btn.line:hover { color: #fff; box-shadow: inset 0 0 0 1.5px #8a9396; }
.small { font-size: 14px; color: var(--mut-d); margin-top: 14px; }

/* the phone and the printed receipt */
.stage { position: relative; height: 560px; }
.phone { position: absolute; right: 120px; bottom: -40px; width: 270px; border-radius: 34px; padding: 9px; background: #050606; box-shadow: 0 0 0 1px #2d3335, 0 30px 60px rgba(0,0,0,.45); }
.phone img { border-radius: 26px; }
.receipt { position: absolute; right: 0; bottom: 60px; width: 230px; background: var(--paper); color: #111; font: 500 13.5px/1.45 var(--fb); padding: 20px 18px 26px; transform: rotate(3deg); box-shadow: 0 18px 40px rgba(0,0,0,.35);
  --z: 8px; -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--z)) 100%; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--z)) 100%; }
.receipt .r-head { text-align: center; font: 700 19px/1.1 var(--fc); }
.receipt .r-sub { text-align: center; font-size: 12px; color: #555; margin-bottom: 10px; }
.receipt hr { border: 0; border-top: 1.5px dashed #999; margin: 9px 0; }
.receipt .r-row { display: flex; justify-content: space-between; gap: 10px; }
.receipt .r-row b { font-weight: 600; }
.receipt .r-total { font: 700 18px/1.2 var(--fc); }
.receipt .r-foot { text-align: center; font-size: 12px; color: #555; margin-top: 10px; }

/* sections */
section { padding: 84px 0; }
h2 { font: 700 clamp(32px, 4.2vw, 46px)/1 var(--fc); margin: 0 0 14px; letter-spacing: -.2px; }
h3 { font: 600 24px/1.15 var(--fc); margin: 0 0 6px; }
.intro { max-width: 40em; color: var(--mut); margin: 0 0 40px; }

.features { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.feat { background: #fff; border-radius: 16px; padding: 24px 24px 22px; border: 1px solid #e2e5e6; }
.feat p { margin: 0; color: var(--mut); font-size: 16px; }
.f-a { grid-column: span 7; } .f-b { grid-column: span 5; } .f-c { grid-column: span 4; } .f-d { grid-column: span 4; } .f-e { grid-column: span 4; }
.feat .pays { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.feat .pays span { font: 600 14px/1 var(--fb); padding: 7px 10px; border-radius: 8px; background: var(--page); }

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.shots figure { margin: 0; }
.shots img { border-radius: 22px; border: 6px solid var(--ink); background: var(--ink); }
.shots figcaption { margin-top: 12px; font-size: 15px; color: var(--mut); }
.shots figcaption b { color: var(--text); display: block; font-weight: 600; }

.google { background: #fff; border-top: 1px solid #e2e5e6; border-bottom: 1px solid #e2e5e6; }
.google .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.google ul { padding-left: 20px; margin: 0; }
.google li { margin-bottom: 10px; }
.scope { font: 500 14px/1.4 ui-monospace, Menlo, monospace; background: var(--page); padding: 2px 6px; border-radius: 5px; word-break: break-all; }

.install { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.install ol { margin: 0; padding-left: 22px; }
.install li { margin-bottom: 12px; padding-left: 4px; }
.dl-card { background: var(--ink); color: #fff; border-radius: 18px; padding: 28px; }
.dl-card dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: 0 0 24px; font-size: 15px; }
.dl-card dt { color: var(--mut-d); }
.dl-card dd { margin: 0; }
.dl-card .sha { font: 12px/1.4 ui-monospace, Menlo, monospace; word-break: break-all; color: var(--mut-d); }

footer { background: var(--ink); color: var(--mut-d); font-size: 15px; padding: 40px 0; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; }
footer a { color: #fff; text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }
footer .grow { flex: 1; min-width: 220px; }

/* policy pages */
.doc { padding: 56px 0 90px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font: 700 clamp(40px, 6vw, 58px)/1 var(--fc); margin: 0 0 10px; }
.doc .meta { color: var(--mut); margin: 0 0 36px; font-size: 15px; }
.doc h2 { font-size: 30px; margin: 44px 0 12px; }
.doc h3 { font-size: 21px; margin: 26px 0 6px; }
.doc p, .doc li { max-width: 68ch; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc .box { background: #fff; border-left: 4px solid var(--red); padding: 16px 20px; border-radius: 0 12px 12px 0; margin: 22px 0; }
.doc table { border-collapse: collapse; width: 100%; font-size: 15.5px; background: #fff; border-radius: 12px; overflow: hidden; margin: 14px 0; }
.doc th, .doc td { text-align: left; padding: 11px 14px; border-bottom: 1px solid #e6e8e9; vertical-align: top; }
.doc th { font-weight: 600; background: #fafbfb; }
.doc td:first-child { width: 38%; overflow-wrap: anywhere; font-size: 14.5px; }

@media (max-width: 900px) {
  .hero .wrap, .google .cols, .install { grid-template-columns: 1fr; }
  .hero .copy { padding-bottom: 10px; }
  .stage { height: 470px; margin-top: 30px; }
  .phone { right: auto; left: 50%; margin-left: -175px; width: 230px; }
  .receipt { right: 50%; margin-right: -190px; width: 200px; bottom: 40px; }
  .features > * { grid-column: span 12 !important; }
  .shots { grid-template-columns: 1fr; max-width: 340px; }
  .top nav { gap: 16px; font-size: 14px; }
  section { padding: 64px 0; }
}
@media (max-width: 420px) {
  .top nav a.hide-s { display: none; }
  .phone { margin-left: -160px; width: 210px; }
  .receipt { margin-right: -170px; width: 180px; font-size: 12.5px; }
}

/* ---------- richer home page ---------- */
.hero { position: relative; padding-top: 54px;
  background:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.055) 1px, transparent 1.4px) 0 0 / 22px 22px,
    var(--ink); }
.hero-icon { width: 88px; height: 88px; border-radius: 22px; margin-bottom: 26px; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.facts { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line); max-width: 560px; }
.facts li { flex: 1 1 25%; min-width: 120px; padding: 14px 16px 0 0; font-size: 13.5px; color: var(--mut-d); }
.facts b { display: block; font: 700 26px/1.1 var(--fc); color: #fff; }

.printer { position: absolute; right: -14px; bottom: 412px; width: 262px; height: 34px; border-radius: 10px; background: #2a3033; box-shadow: inset 0 -2px 0 #1b1f21, 0 10px 24px rgba(0,0,0,.4); z-index: 2; transform: rotate(3deg); }
.printer i { position: absolute; left: 14px; right: 14px; bottom: 8px; height: 5px; border-radius: 3px; background: #0b0d0e; }
.receipt { z-index: 1; bottom: 40px; }
.r-pay img { width: 18px; height: 18px; border-radius: 4px; display: inline-block; vertical-align: -4px; margin-right: 6px; }

.feat-sec { padding-top: 96px; }
.feat { position: relative; transition: border-color .2s; }
.feat .ic { width: 30px; height: 30px; color: var(--red); margin-bottom: 14px; }
.feat.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.feat.dark p { color: var(--mut-d); }
.f-a { grid-column: span 7; } .f-b { grid-column: span 5; } .f-c { grid-column: span 5; grid-row: span 2; display: flex; flex-direction: column; } .f-d { grid-column: span 7; } .f-e { grid-column: span 7; }
.otabs-demo { display: inline-flex; gap: 4px; margin-top: 18px; padding: 4px; border-radius: 12px; background: var(--page); }
.otabs-demo span { padding: 8px 14px; border-radius: 9px; font: 600 15px/1 var(--fb); color: var(--mut); }
.otabs-demo .on { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(20,23,24,.14); }
.bars { margin-top: auto; padding-top: 28px; height: 190px; display: flex; align-items: flex-end; gap: 10px; }
.bars i { flex: 1; border-radius: 6px 6px 2px 2px; background: var(--gold); }
.bars i:nth-child(5) { background: var(--red); }

.pays-sec { padding: 20px 0 90px; }
.pays-head { display: flex; flex-wrap: wrap; align-items: end; gap: 10px 40px; margin-bottom: 26px; }
.pays-head h2 { margin: 0; }
.pays-head p { margin: 0; color: var(--mut); max-width: 30em; }
.marks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.marks li { display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 14px; background: #fff; border: 1px solid #e2e5e6; font: 600 17px/1 var(--fb); }
.marks img { width: 44px; height: 44px; border-radius: 10px; }
.marks .cash { width: 44px; height: 44px; border-radius: 10px; background: #1f7a4a; color: #fff; display: grid; place-items: center; font: 700 18px/1 var(--fc); }

.day { background: #fff; border-top: 1px solid #e2e5e6; border-bottom: 1px solid #e2e5e6; }
.day-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; margin-top: 34px; align-items: start; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 28px 64px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 42px; height: 42px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; font: 700 22px/1 var(--fc); }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 20px; top: 46px; bottom: 6px; width: 2px; background: #e2e5e6; }
.steps p { margin: 0; color: var(--mut); }
.tickets { position: sticky; top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.ticket { background: var(--paper); border: 1px solid #e4e6e7; padding: 18px 16px 24px; font: 500 13.5px/1.5 var(--fb); box-shadow: 0 14px 30px rgba(20,23,24,.1);
  --z: 7px; -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--z)) 100%; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--z)) 100%; }
.ticket.kot { transform: rotate(-2deg); }
.ticket.zrep { transform: rotate(2deg) translateY(40px); }
.ticket hr { border: 0; border-top: 1.5px dashed #a5a5a5; margin: 9px 0; }
.t-head { font: 700 13px/1 var(--fc); letter-spacing: 2px; color: #777; text-align: center; }
.t-big { font: 700 34px/1.1 var(--fc); text-align: center; margin-top: 6px; }
.t-sub { text-align: center; color: #666; font-size: 12.5px; }
.t-row b { display: inline-block; min-width: 22px; font: 700 17px/1 var(--fc); }
.t-note { font-style: italic; color: #555; }
.ticket .r-row { display: flex; justify-content: space-between; }
.ticket .r-total { font: 700 18px/1.3 var(--fc); }

.shots-sec { background: var(--ink); color: #fff; padding-bottom: 110px;
  background: radial-gradient(circle at 1px 1px, rgba(255,255,255,.05) 1px, transparent 1.4px) 0 0 / 22px 22px, var(--ink); }
.shots-sec .shots { margin-top: 40px; align-items: start; }
.shots img { border: 8px solid #050606; border-radius: 30px; box-shadow: 0 0 0 1px #2d3335, 0 24px 50px rgba(0,0,0,.45); }
.shots .mid { transform: translateY(36px); }
.shots-sec figcaption { color: var(--mut-d); }
.shots-sec figcaption b { color: #fff; }

.dl-top { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.dl-top img { width: 64px; height: 64px; border-radius: 16px; }
.dl-top b { display: block; font: 700 24px/1.1 var(--fc); }
.dl-top span { color: var(--mut-d); font-size: 14.5px; }
.btn.wide { width: 100%; justify-content: center; }
.dl-card a:not(.btn) { color: #fff; }

footer .brand { font-size: 19px; }
footer .brand img { width: 32px; height: 32px; border-radius: 8px; }

@media (max-width: 900px) {
  .features > * { grid-row: auto !important; }
  .bars { height: 140px; }
  .day-grid { grid-template-columns: 1fr; gap: 40px; }
  .tickets { position: static; max-width: 440px; }
  .shots .mid { transform: none; }
  .printer { right: 50%; margin-right: -200px; width: 230px; bottom: 362px; }
  .receipt { bottom: 20px; }
  .hero-icon { width: 72px; height: 72px; border-radius: 18px; margin-bottom: 20px; }
}
@media (max-width: 420px) {
  .printer { margin-right: -180px; width: 210px; bottom: 340px; }
  .tickets { gap: 12px; } .ticket { font-size: 12px; padding: 14px 12px 20px; } .t-big { font-size: 28px; }
}
@media (prefers-reduced-motion: no-preference) {
  .receipt { animation: print 1.3s cubic-bezier(.2,.8,.2,1) .3s both; }
  @keyframes print { from { clip-path: inset(0 0 100% 0); transform: rotate(3deg) translateY(-60px); } to { clip-path: inset(0 0 -20px 0); transform: rotate(3deg); } }
  .btn, .feat, .marks li { transition: transform .15s, background .15s, box-shadow .15s; }
}

/* printer and receipt move together */
.printout { position: absolute; right: -6px; bottom: 34px; width: 254px; transform: rotate(3deg); z-index: 2; }
.printout .printer { position: relative; right: auto; bottom: auto; width: 100%; margin: 0; transform: none; }
.printout .receipt { position: relative; right: auto; bottom: auto; width: calc(100% - 26px); margin: -10px auto 0; transform: none; }
@media (max-width: 900px) { .printout { right: 50%; margin-right: -196px; width: 220px; bottom: 16px; } .printout .printer, .printout .receipt { margin-right: auto; } }
@media (max-width: 420px) { .printout { margin-right: -172px; width: 196px; } }
@media (prefers-reduced-motion: no-preference) {
  .printout .receipt { animation: print2 1.3s cubic-bezier(.2,.8,.2,1) .3s both; }
  @keyframes print2 { from { clip-path: inset(0 0 100% 0); transform: translateY(-70%); } to { clip-path: inset(0 0 -20px 0); transform: none; } }
}
.shots figure { max-width: 290px; margin: 0 auto; width: 100%; }
