:root {
  --ink: #0b1220;
  --ink2: #1c2536;
  --text: #3b4556;
  --muted: #6b7486;
  --line: #e6e9ef;
  --soft: #f5f7f6;
  --white: #fff;
  --green: #22c55e;
  --green-d: #15803d;
  --green-dd: #0f5f30;
  --green-l: #eafbf0;
  --sage: #00d639;
  --blue: #2563eb;
  --amber: #f59e0b;
  --display: "Righteous", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --r: 22px;
  --gut: clamp(16px, 4vw, 32px);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--text); font: 16px/1.65 var(--body); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--green-d); }
h1, h2, h3 { color: var(--ink); margin: 0 0 .5em; line-height: 1.08; letter-spacing: -.02em; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.01em; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 1.2rem + 3vw, 3.1rem); }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gut); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.fine { font-size: .82rem; color: var(--muted); }
.mono { font-family: var(--mono); }
.g { color: var(--green-d); }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; font: 600 .78rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--green-d); }
.kicker::before { content: ""; width: 18px; height: 2px; background: var(--green); border-radius: 2px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; font-weight: 700; }
.skip-link:focus { left: 8px; top: 8px; }
[hidden] { display: none !important; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 12px 22px; border-radius: 12px; border: 1.5px solid transparent; font: 700 .97rem var(--body); text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, box-shadow .25s, transform .2s, color .2s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-green { background: var(--green-d); color: #fff; box-shadow: 0 10px 24px -12px rgba(21,128,61,.7); }
.btn-green:hover { background: var(--green-dd); box-shadow: 0 14px 30px -12px rgba(21,128,61,.85); }
.btn-green:disabled { background: #b8c2bc; box-shadow: none; cursor: not-allowed; }
.btn-line { background: #fff; color: var(--ink); border-color: #d3d8e0; }
.btn-line:hover { border-color: var(--ink); }
.btn-ghostw { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghostw:hover { border-color: #fff; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .9rem; border-radius: 10px; }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* header */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.hdr.scrolled { border-color: var(--line); box-shadow: 0 8px 30px -20px rgba(11,18,32,.35); }
.hdr-in { display: flex; align-items: center; gap: 20px; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 36px; height: 36px; }
.brand-name { font: 400 1.4rem/1 var(--display); color: var(--green-d); }
.brand-name.sm { font-size: 1.05rem; }
.brand-tag { padding-left: 12px; border-left: 1px solid #d3d8e0; color: var(--muted); font-size: .82rem; white-space: nowrap; }
.menu { display: flex; gap: 2px; margin-left: auto; }
.menu a { padding: 8px 12px; border-radius: 10px; color: var(--text); font-weight: 600; font-size: .93rem; text-decoration: none; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--green-d); background: var(--green-l); }
.hdr-cta { display: flex; align-items: center; gap: 14px; }
.link { color: var(--ink); font-weight: 600; font-size: .93rem; text-decoration: none; }
.burger { display: none; width: 44px; height: 44px; padding: 12px 10px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; }
.burger span { display: block; height: 2px; margin: 5px 0; background: var(--ink); border-radius: 2px; transition: transform .3s; }
.hdr.open .burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.hdr.open .burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.reveal.seen { opacity: 1; transform: none; }

/* hero */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(#d9e2dc 1px, transparent 1px); background-size: 22px 22px; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%); }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.b1 { width: 520px; height: 520px; background: #b7f5cd; right: -120px; top: -80px; }
.b2 { width: 380px; height: 380px; background: #c9f2ff; right: 22%; bottom: -160px; animation-delay: -6s; }
.b3 { width: 300px; height: 300px; background: #fff1c2; left: -120px; top: 40%; animation-delay: -12s; opacity: .45; }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.08); } }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 7px 14px; border: 1px solid #c6efd4; border-radius: 999px; background: rgba(234,251,240,.9); color: var(--green-dd); font-size: .82rem; font-weight: 700; }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.hero h1 { margin: 18px 0 18px; font-size: clamp(2.7rem, 1.4rem + 5.6vw, 5.4rem); line-height: .98; }
.swash { position: relative; display: inline-block; color: var(--green-d); }
.swash::after { content: ""; position: absolute; left: 2%; right: -2%; bottom: .02em; height: .16em; border-radius: 99px; background: linear-gradient(90deg, var(--green), #a7f3c4); z-index: -1; transform-origin: left; animation: swash 1.2s .5s cubic-bezier(.2,.8,.2,1) both; }
@keyframes swash { from { transform: scaleX(0); } }
.lead { max-width: 36rem; font-size: clamp(1.03rem, .95rem + .4vw, 1.2rem); color: var(--text); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.actions.center { justify-content: center; }
.ticks { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 18px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .9rem; }
.ticks li::before { content: "✓"; margin-right: 6px; color: var(--green-d); font-weight: 800; }
.partner { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .85rem; }
.hero .partner { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); max-width: 36rem; }
.sage { flex: none; width: 46px; height: 26px; color: var(--sage); }
.sage-w { color: #fff; width: 30px; height: 18px; }

/* hero art */
.hero-art { position: relative; min-height: 470px; perspective: 1400px; }
.till { position: absolute; top: 4%; right: 4%; width: min(400px, 92%); border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 50px 80px -40px rgba(11,18,32,.45), 0 2px 6px rgba(11,18,32,.06); transform: rotateY(-12deg) rotateX(6deg); transform-style: preserve-3d; transition: transform .25s ease-out; overflow: hidden; }
.till-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; background: var(--ink); }
.till-top .brand-name { color: var(--green); }
.till-tabs { display: flex; gap: 4px; font-size: .7rem; color: #9aa4b5; }
.till-tabs > * { padding: 3px 8px; border-radius: 6px; }
.till-tabs b { background: var(--blue); color: #fff; font-weight: 600; }
.till-body { padding: 14px 16px 16px; }
.till-lines { min-height: 150px; }
.tline { display: grid; grid-template-columns: 64px 1fr 30px 76px; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .9rem; color: var(--ink); animation: lineIn .45s cubic-bezier(.2,.8,.2,1); }
.tline .mono { color: var(--text); font-size: .85rem; }
@keyframes lineIn { from { opacity: 0; transform: translateX(-14px); } }
.till-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; color: var(--ink); font-weight: 700; }
.till-total strong { font: 600 1.5rem var(--mono); }
.till-pay { display: flex; gap: 6px; margin-top: 12px; }
.till-pay span { flex: 1; text-align: center; padding: 8px; border: 1px solid var(--line); border-radius: 8px; font-size: .8rem; font-weight: 600; }
.till-pay .on { background: var(--blue); border-color: var(--blue); color: #fff; }
.stamp { position: absolute; top: 46%; left: 50%; padding: 6px 18px; border: 4px solid var(--green-d); border-radius: 10px; color: var(--green-d); font: 400 2rem var(--display); letter-spacing: .1em; background: rgba(255,255,255,.85); transform: translate(-50%, -50%) rotate(-12deg) scale(2.2); opacity: 0; pointer-events: none; }
.stamp.show { animation: stamp .5s cubic-bezier(.2,1.4,.4,1) forwards; }
@keyframes stamp { to { opacity: 1; transform: translate(-50%, -50%) rotate(-12deg) scale(1); } }
.slip { position: absolute; left: 2%; bottom: 0; width: 200px; transform: rotate(-5deg); filter: drop-shadow(0 24px 30px rgba(11,18,32,.22)); }
.slip-in { --zig: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 14px 100%; max-height: 0; overflow: hidden; padding: 0 18px; background: #fff; -webkit-mask: var(--zig); mask: var(--zig); font: 500 .72rem var(--mono); color: var(--ink); transition: max-height 1.4s steps(18), padding 0s; }
.slip.print .slip-in { max-height: 320px; padding: 16px 18px 26px; }
.slip-in b { display: block; text-align: center; font: 400 1.05rem var(--display); color: var(--green-d); }
.slip-in small { display: block; text-align: center; letter-spacing: .14em; color: var(--muted); margin-bottom: 8px; }
.slip-lines div { display: flex; justify-content: space-between; gap: 8px; padding: 2px 0; }
.slip-total { display: flex; justify-content: space-between; margin-top: 6px; padding-top: 6px; border-top: 1px dashed #c9ced8; font-weight: 600; }
.barcode { height: 30px; margin-top: 10px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px); }
.sagecard { position: absolute; right: 0; bottom: 6%; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px; background: var(--ink); color: #fff; box-shadow: 0 30px 50px -24px rgba(11,18,32,.6); opacity: .35; transform: translateY(10px); transition: opacity .5s, transform .5s; }
.sagecard.on { opacity: 1; transform: none; }
.sagecard b { display: block; font-size: .92rem; }
.sagecard small { color: #9aa4b5; font: 500 .74rem var(--mono); }
.sage-dot { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--sage); flex: none; }
.okc { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: var(--ink); }
.okc svg { width: 14px; height: 14px; }
.flyer { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 6px rgba(34,197,94,.25), 0 0 20px var(--green); opacity: 0; pointer-events: none; }

/* marquee band */
.band { border-block: 1px solid var(--line); background: var(--soft); }
.marquee { overflow: hidden; padding: 16px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq-track { display: flex; width: max-content; animation: mq 38s linear infinite; }
.mq-track span { padding: 0 26px; font: 400 1.05rem var(--display); color: #8b94a5; white-space: nowrap; }
.mq-track span::after { content: "✦"; margin-left: 52px; color: var(--green); font-size: .8em; }
@keyframes mq { to { transform: translateX(-50%); } }

/* sections */
.sec { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.sec-soft { background: var(--soft); }
.sec-ink { background: radial-gradient(900px 500px at 80% 0%, rgba(34,197,94,.18), transparent 60%), var(--ink); color: #c4ccd8; }
.sec-ink h2, .sec-ink h3 { color: #fff; }
.sec-ink .kicker { color: var(--green); }
.sec-ink .fine { color: #8b94a5; margin-top: 18px; }
.head { max-width: 760px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.head p:not(.kicker) { font-size: 1.08rem; margin: 0; }
.big { font-size: 1.1rem; }

/* flow */
.flow3 { display: grid; grid-template-columns: 1fr 60px 1fr 60px 1fr; align-items: stretch; }
.f3 { padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: 0 20px 40px -32px rgba(11,18,32,.4); }
.f3 p { margin: 0; font-size: .96rem; }
.f3-ico, .f-ico { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 16px; border-radius: 14px; background: var(--green-l); color: var(--green-d); }
.f3-ico svg, .f-ico svg { width: 24px; height: 24px; }
.f3-arrow { position: relative; align-self: center; height: 2px; margin: 0 8px; background: repeating-linear-gradient(90deg, #c9d2cc 0 6px, transparent 6px 11px); }
.f3-arrow i { position: absolute; top: -5px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); animation: hop 2.2s ease-in-out infinite; }
@keyframes hop { 0% { left: 0; opacity: 0; } 20%, 80% { opacity: 1; } 100% { left: calc(100% - 12px); opacity: 0; } }

.paper { width: 100%; max-width: 230px; filter: drop-shadow(0 20px 30px rgba(0,0,0,.45)); }
.paper-in { --zig: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 14px 100%; max-height: 0; overflow: hidden; background: #fff; color: var(--ink); font: 500 .74rem/1.55 var(--mono); padding: 0 16px; -webkit-mask: var(--zig); mask: var(--zig); transition: max-height 1.6s steps(22); }
.paper.print .paper-in { max-height: 560px; padding: 16px 16px 28px; }
.paper-in .ph { text-align: center; }
.paper-in .ph b { display: block; font: 400 1.15rem var(--display); color: var(--green-d); }
.paper-in .row { display: flex; justify-content: space-between; gap: 6px; }
.paper-in hr { border: 0; border-top: 1px dashed #c9ced8; margin: 8px 0; }
.paper-in .tot { font-weight: 700; font-size: .85rem; }
.paper-in .thanks { text-align: center; margin-top: 8px; color: var(--muted); }
.paper:not(.print)::before { content: "Your slip prints here"; display: grid; place-items: center; height: 140px; border: 2px dashed rgba(255,255,255,.2); border-radius: 14px; color: #8b94a5; font-size: .85rem; }
.synced { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 230px; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(34,197,94,.5); color: #fff; animation: lineIn .5s; }
.synced b { display: block; font-size: .9rem; }
.synced small { color: #9aa4b5; font: 500 .72rem var(--mono); }

/* features */
.fgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.fcard { position: relative; padding: 26px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; isolation: isolate; }
.fcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(34,197,94,.13), transparent 50%); opacity: 0; transition: opacity .25s; }
.fcard:hover { transform: translateY(-4px); border-color: #bfeccf; box-shadow: 0 24px 40px -28px rgba(21,128,61,.5); }
.fcard:hover::before { opacity: 1; }
.fcard p { margin: 0; font-size: .95rem; }

/* speed / keys */
.speed { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.keyinfo { display: grid; gap: 4px; margin-top: 22px; padding: 16px 18px; border-left: 4px solid var(--green); border-radius: 0 14px 14px 0; background: #fff; box-shadow: 0 16px 30px -26px rgba(11,18,32,.5); min-height: 84px; }
.keyinfo b { color: var(--ink); }
.keys { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.key { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; aspect-ratio: 1 / .9; padding: 12px; border: 1px solid #cfd5de; border-bottom-width: 5px; border-radius: 14px; background: linear-gradient(#fff, #f1f3f6); text-align: left; cursor: pointer; font: inherit; transition: transform .12s, border-color .2s, background .2s; }
.key kbd { font: 600 1.1rem var(--mono); color: var(--ink); }
.key span { font-size: .78rem; font-weight: 600; color: var(--muted); line-height: 1.2; }
.key:hover { border-color: #9fdcb5; }
.key.on { transform: translateY(3px); border-bottom-width: 2px; border-color: var(--green-d); background: linear-gradient(var(--green-l), #d5f7e2); }
.key.on kbd, .key.on span { color: var(--green-dd); }

/* dashboard */
.dash { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.dash-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: 0 40px 70px -46px rgba(11,18,32,.5); }
.dash-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; color: var(--ink); }
.lg { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--muted); }
.lg i { width: 14px; height: 4px; border-radius: 2px; margin-left: 8px; }
.l1 { background: var(--blue); } .l2 { background: var(--amber); }
.chart { width: 100%; height: 200px; margin: 16px 0 10px; }
.chart .grid line { stroke: #eef1f5; stroke-width: 1; }
.chart .line { fill: none; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1200; stroke-dashoffset: 1200; vector-effect: non-scaling-stroke; }
.chart .l-inv { stroke: var(--blue); }
.chart .l-pen { stroke: var(--amber); }
.chart .area { fill: url(#none); fill: rgba(37,99,235,.08); opacity: 0; transition: opacity 1s 1s; }
.dash-card.seen .line { animation: draw 2s cubic-bezier(.4,0,.2,1) forwards; }
.dash-card.seen .l-pen { animation-delay: .3s; }
.dash-card.seen .area { opacity: 1; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.tx { display: grid; font-size: .84rem; }
.tx-row { display: grid; grid-template-columns: 1.1fr 1fr .9fr .7fr; gap: 8px; align-items: center; padding: 9px 4px; border-top: 1px solid var(--line); color: var(--ink); }
.tx-row.th { color: var(--muted); font-weight: 600; font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; }
.chip { display: inline-block; padding: 2px 9px; border-radius: 99px; background: #e8efff; color: var(--blue); font-style: normal; font-size: .74rem; font-weight: 600; white-space: nowrap; }
.chip.ok { background: #eef1f5; color: var(--ink); }
.dash-card .fine { margin: 8px 0 0; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.checks svg { flex: none; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--green-l); color: var(--green-d); margin-top: 2px; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 26px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: transform .25s, box-shadow .25s; }
.plan:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -34px rgba(11,18,32,.45); }
.plan.featured { border: 2px solid var(--green); background: linear-gradient(180deg, #f3fdf6, #fff 40%); box-shadow: 0 30px 60px -34px rgba(21,128,61,.55); }
.ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 4px 14px; border-radius: 99px; background: var(--green-d); color: #fff; font-size: .75rem; font-weight: 800; letter-spacing: .04em; white-space: nowrap; }
.ptag { margin: 0 0 4px; color: var(--green-d); font: 600 .74rem var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.plan.featured h3 { margin-top: 6px; }
.plan h3 { font-size: 1.35rem; margin-bottom: 8px; }
.price { margin: 0 0 8px; font: 400 2.5rem/1.05 var(--display); color: var(--ink); }
.price small { font: 600 .9rem var(--body); color: var(--muted); }
.pblurb { color: var(--muted); font-size: .95rem; min-height: 3em; }
.plan ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--ink); }
.plan li svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--green-d); }
.plan .btn { margin-top: auto; }

.quote { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px; align-items: center; margin-top: 28px; padding: clamp(22px, 3vw, 34px); border-radius: var(--r); background: var(--ink); color: #c4ccd8; }
.quote h3 { color: #fff; font: 400 1.7rem var(--display); }
.quote p { margin: 0; }
.qform { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.step, .tog span { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 56px; padding: 10px 14px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: #fff; font-weight: 600; font-size: .92rem; }
.stepper { display: flex; align-items: center; gap: 8px; }
.stepper button { width: 34px; height: 34px; border: 0; border-radius: 10px; background: rgba(255,255,255,.12); color: #fff; font-size: 1.1rem; cursor: pointer; }
.stepper button:hover { background: var(--green-d); }
.stepper output { min-width: 26px; text-align: center; font: 600 1.05rem var(--mono); }
.tog { position: relative; cursor: pointer; }
.tog input { position: absolute; opacity: 0; }
.tog span { justify-content: flex-start; transition: background .2s, border-color .2s; }
.tog span svg { width: 20px; height: 20px; flex: none; color: var(--green); }
.tog input:checked + span { background: rgba(34,197,94,.18); border-color: var(--green); }
.tog input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }
.qsum { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 6px; }
.qsum span { color: #fff; font-weight: 600; }
.sec-soft > .wrap > .fine.center { margin-top: 18px; }

/* start */
.start { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 5vw, 56px); align-items: center; max-width: 920px; margin: 0 auto; padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: 0 40px 70px -50px rgba(11,18,32,.5); }
.start h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); }
.qr-wrap { position: relative; width: 196px; padding: 8px; border: 1px solid var(--line); border-radius: 18px; background: #fff; overflow: hidden; }
.qr-wrap img { width: 100%; height: auto; }
.scanline { position: absolute; left: 8px; right: 8px; height: 3px; top: 10%; border-radius: 3px; background: var(--green); box-shadow: 0 0 14px 2px rgba(34,197,94,.7); animation: scan 2.6s ease-in-out infinite; }
@keyframes scan { 50% { top: 88%; } }
.nsteps { list-style: none; padding: 0; margin: 0 0 6px; display: grid; gap: 10px; }
.nsteps li { display: flex; gap: 12px; align-items: center; }
.nsteps b { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--green-l); color: var(--green-dd); font-size: .85rem; }

/* faq */
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: border-color .25s, box-shadow .25s; }
.faq details[open] { border-color: #bfeccf; box-shadow: 0 16px 30px -26px rgba(21,128,61,.5); }
.faq summary { position: relative; padding: 18px 54px 18px 20px; color: var(--ink); font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; width: 28px; height: 28px; margin-top: -14px; display: grid; place-items: center; border-radius: 50%; background: var(--green-l); color: var(--green-d); font-size: 1.2rem; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 20px 18px; }
.more { margin-top: 22px; font-weight: 700; }

/* finale */
.finale { position: relative; overflow: hidden; padding: clamp(70px, 10vw, 130px) 0; background: var(--ink); color: #c4ccd8; text-align: center; isolation: isolate; }
.finale-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 50% 110%, rgba(34,197,94,.45), transparent 70%), conic-gradient(from 180deg at 50% 120%, transparent, rgba(34,197,94,.12), transparent 30%); }
.finale h2 { color: #fff; max-width: 820px; margin-inline: auto; }
.finale p { font-size: 1.1rem; }

/* sub pages */
.phero { position: relative; overflow: hidden; padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); background: var(--soft); border-bottom: 1px solid var(--line); isolation: isolate; }
.phero-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px 300px at 85% 0%, #c8f5d8, transparent 70%), radial-gradient(#d9e2dc 1px, transparent 1px) 0 0 / 22px 22px; }
.phero h1 { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.8rem); }
.phero .lead { margin: 0; color: var(--muted); }
.page { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 9vw, 110px); }
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ccard { display: block; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; color: inherit; text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s; }
a.ccard:hover { border-color: var(--green); transform: translateY(-3px); box-shadow: 0 20px 30px -24px rgba(21,128,61,.5); }
.ccard svg { width: 24px; height: 24px; color: var(--green-d); }
.ccard strong { display: block; margin-top: 14px; color: var(--ink); }
.ccard span { display: block; color: var(--muted); font-size: .92rem; overflow-wrap: anywhere; }
.note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 36px; padding: 22px 24px; border-radius: 18px; background: var(--green-l); border: 1px solid #c6efd4; }
.note p { margin: 0; color: var(--ink); font-weight: 600; }
.legal section + section { margin-top: 28px; }
.legal h2 { font: 700 1.15rem var(--body); letter-spacing: 0; }
.legal ul { padding-left: 1.2rem; }

/* footer */
.ftr { padding: 64px 0 28px; background: var(--ink); color: #9aa4b5; font-size: .92rem; }
.ftr-top { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.ftr .brand-name { color: var(--green); }
.ftr-brand p { max-width: 22rem; margin: 14px 0 18px; }
.ftr .partner { color: #c4ccd8; }
.ftr h2 { margin: 0 0 12px; font: 700 .76rem var(--body); letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ftr a { color: #c4ccd8; text-decoration: none; overflow-wrap: anywhere; }
.ftr a:hover { color: var(--green); }
.ftr-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .8rem; }
.ftr-bottom p { margin: 0; }
.powered { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.powered img { width: 22px; height: 22px; }

/* ---------- responsive ---------- */
@media (max-width: 1140px) {
  .menu a { padding: 8px 9px; }
}
@media (max-width: 1020px) {
  .brand-tag { display: none; }
}
@media (max-width: 960px) {
  .hero-grid, .speed, .dash, .quote { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { text-align: center; }
  .hero-copy .lead, .hero .partner { margin-inline: auto; }
  .actions, .ticks, .hero .partner { justify-content: center; }
  .hero-art { min-height: 440px; max-width: 520px; width: 100%; margin: 0 auto; }
  .flow3 { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .f3-arrow { width: 2px; height: 34px; margin: 0 auto; background: repeating-linear-gradient(180deg, #c9d2cc 0 6px, transparent 6px 11px); }
  .f3-arrow i { left: -5px; animation-name: hopv; }
  @keyframes hopv { 0% { top: 0; opacity: 0; } 20%, 80% { opacity: 1; } 100% { top: calc(100% - 12px); opacity: 0; } }
  .fgrid, .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans .plan:last-child { grid-column: 1 / -1; }
  .dash > div:last-child { order: -1; }
  .ftr-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ftr-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .menu { position: fixed; top: 70px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 10px var(--gut) 18px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(11,18,32,.35); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s; }
  .menu a { padding: 14px 6px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
  .menu a:last-child { border-bottom: 0; }
  .hdr.open .menu { opacity: 1; visibility: visible; transform: none; }
  .hdr-cta { margin-left: auto; gap: 8px; }
  .burger { display: block; }
  .cards3 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .hdr-in { min-height: 62px; gap: 10px; }
  .menu { top: 62px; }
  .link { display: none; }
  .brand img { width: 32px; height: 32px; }
  .hero-art { min-height: 400px; }
  .till { right: 0; width: 100%; max-width: 360px; transform: none !important; }
  .slip { width: 160px; left: 0; bottom: -10px; }
  .sagecard { right: 0; bottom: 2%; padding: 10px 12px 10px 10px; }
  .sagecard b { font-size: .84rem; }
  .actions .btn { flex: 1 1 100%; }
  .fgrid, .plans { grid-template-columns: minmax(0, 1fr); }
  .plans .plan:last-child { grid-column: auto; }
  .plans { gap: 26px; }
  .keys { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .key { padding: 8px; aspect-ratio: auto; min-height: 76px; }
  .key span { font-size: .7rem; }
  .tx-row { grid-template-columns: 1.2fr 1fr .9fr; }
  .tx-row > :nth-child(4) { display: none; }
  .qform { grid-template-columns: minmax(0, 1fr); }
  .qsum .btn { flex: 1 1 100%; }
  .start { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .start .nsteps { justify-items: start; text-align: left; max-width: 340px; margin-inline: auto; }
  .start .actions { justify-content: center; }
  .note { flex-direction: column; align-items: stretch; text-align: center; }
  .ftr-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .ftr-bottom { flex-direction: column; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 2.4rem; }
  .hero-art { min-height: 380px; }
  .slip { width: 140px; }
  .sagecard small { display: none; }
  .keys { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr-top { grid-template-columns: minmax(0, 1fr); }
  .hdr-cta .btn { padding: 8px 12px; }
}
@media (hover: none) { .fcard:hover, .plan:hover { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .chart .line { stroke-dashoffset: 0; }
}
.powered .cx { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- line-item POS demo (mirrors the real POS X screen) ---------- */
.till-th { display: grid; grid-template-columns: 64px 1fr 30px 76px; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.till-th span:nth-child(n+3), .tline > :nth-child(n+3) { text-align: right; }
.tline .code { font: 600 .74rem var(--mono); color: var(--blue); }
.till-lines { min-height: 130px; }

.demo-grid { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 22px; align-items: start; }
.pa { position: relative; border-radius: 18px; overflow: hidden; background: #e4e7eb; color: var(--ink); box-shadow: 0 50px 90px -40px rgba(0,0,0,.8); font-size: .88rem; }
.pa button, .pa input, .pa select, .pa textarea { font: inherit; color: inherit; }
.pa-nav { display: flex; align-items: stretch; justify-content: space-between; background: #fff; border-bottom: 1px solid #d5d9df; }
.pa-links { display: flex; gap: 18px; align-items: center; padding: 0 18px; font-weight: 600; font-size: .82rem; overflow: hidden; white-space: nowrap; }
.pa-pos { display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; background: #0ea84a; color: #fff; font-weight: 800; }
.pa-pos svg { width: 16px; height: 16px; }
.pa-body { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 12px; padding: 12px; }
.pa-main { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.pa-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.pa-head h3 { margin: 0; font: 700 1.25rem var(--body); letter-spacing: -.01em; }
.pa-tabs { display: flex; background: #fff; border-radius: 8px; overflow: hidden; }
.pa-tabs button { padding: 8px 14px; border: 0; background: transparent; cursor: pointer; }
.pa-tabs button.on { background: #dbe7ff; color: var(--blue); font-weight: 600; }
.pa-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 12px; border-radius: 10px; background: #eef4ff; }
.pa-fields label { display: grid; gap: 4px; font-size: .74rem; font-weight: 600; color: var(--text); }
.pa-fields input, .pa-fields select { width: 100%; min-height: 38px; padding: 6px 10px; border: 1px solid #cfd5de; border-radius: 6px; background: #fff; font-size: .86rem; }
.pa-table { border-radius: 10px; background: #eef4ff; padding: 0 12px 12px; }
.pa-tr { display: grid; grid-template-columns: 74px minmax(0, 1.6fr) 52px 70px 72px 62px 64px 80px 34px; gap: 6px; align-items: center; padding: 8px 6px; border-bottom: 1px solid #d9e2f3; background: #fff; }
.pa-tr > :nth-child(n+4):not(:last-child) { text-align: right; }
.pa-th { background: #dbe7ff; font-weight: 700; font-size: .76rem; border-radius: 8px 8px 0 0; margin-top: 12px; }
.pa-tr .code { font: 600 .8rem var(--mono); color: var(--blue); }
.pa-tr .desc { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pa-tr .unit { color: var(--muted); font-size: .8rem; }
.pa-tr input { width: 100%; min-height: 32px; padding: 4px 6px; border: 1px solid #cfd5de; border-radius: 6px; text-align: right; font-family: var(--mono); font-size: 16px; background: #fff; }
.pa-tr .num { font-family: var(--mono); font-size: .82rem; }
.pa-tr .tot { font-family: var(--mono); font-weight: 700; }
.pa-del { width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: #dc2626 !important; cursor: pointer; font-size: 1.1rem; line-height: 1; }
.pa-del:hover { background: #fee2e2; }
.pa-row-new { animation: rowIn .6s cubic-bezier(.2,.8,.2,1); }
@keyframes rowIn { from { background: #c9f5d9; transform: translateX(-8px); opacity: 0; } 40% { background: #c9f5d9; opacity: 1; } }
.pa-entry { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 6px; background: #fff; border-radius: 0 0 8px 8px; }
.pa-entry input { width: 140px; min-height: 38px; padding: 6px 10px; border: 2px dashed #9db8ec; border-radius: 6px; font: 600 16px var(--mono); text-transform: uppercase; }
.pa-entry input:focus { border-style: solid; border-color: var(--blue); outline: none; }
.pa-entry .hint { flex: 1; min-width: 140px; color: var(--muted); font-size: .8rem; }
.pa-entry .hint.err { color: #dc2626; }
.pa-entry .btn { color: #fff; }
.pa-entry .btn svg { width: 16px; height: 16px; }
.pa-keys { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 10px; border-radius: 10px; background: #fff; }
.pk { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 46px; padding: 6px 44px 6px 10px; border: 1px solid #d5d9df; border-radius: 6px; background: #f6f7f9; text-align: left; cursor: pointer; font-size: .8rem; font-weight: 600; transition: transform .1s, background .2s; }
.pk.dark { background: #334155; border-color: #334155; color: #fff !important; }
.pk small { font-size: .62rem; font-weight: 500; opacity: .8; text-transform: uppercase; }
.pk kbd { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); padding: 2px 6px; border: 1px solid currentColor; border-radius: 4px; font: 600 .68rem var(--mono); }
.pk.dark kbd { color: #4ade80; border-color: #4ade80; background: rgba(74,222,128,.1); }
.pk.hit { transform: translateY(2px); background: var(--green-l); border-color: var(--green); color: var(--green-dd); }
.pk.dark.hit { background: #14532d; }
.pa-side { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 10px; background: #fff; }
.pa-side h4 { margin: 0; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 1rem; }
.pa-ov { list-style: none; margin: 0; padding: 0; flex: 1; min-height: 110px; max-height: 210px; overflow: auto; font-size: .8rem; }
.pa-ov li { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; border-bottom: 1px dashed var(--line); }
.pa-ov li span:last-child { font-family: var(--mono); white-space: nowrap; }
.pa-ov .empty { justify-content: center; border: 0; padding-top: 34px; color: var(--muted); }
.pa-sums { display: grid; gap: 6px; margin: 0 -14px; padding: 12px 14px; background: #f6f7f9; }
.pa-sums div { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pa-sums dd { margin: 0; font-family: var(--mono); font-weight: 600; white-space: nowrap; }
.pa-sums input { width: 58px; min-height: 30px; padding: 2px 6px; border: 1px solid #cfd5de; border-radius: 6px; text-align: right; font-family: var(--mono); font-size: 16px; }
.pa-pay { font-weight: 800; font-size: 1.02rem; }
.pa-complete { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border: 0; border-radius: 6px; background: #0ea84a; color: #fff !important; font-weight: 700 !important; cursor: pointer; transition: background .2s; }
.pa-complete svg { width: 20px; height: 20px; padding: 2px; border: 2px solid #fff; border-radius: 50%; }
.pa-complete:hover:not(:disabled) { background: #0b8a3c; }
.pa-complete:disabled { background: #a7b4ad; cursor: not-allowed; }
.pa-modal { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; padding: 16px; background: rgba(51,65,85,.65); animation: fadeIn .2s; }
@keyframes fadeIn { from { opacity: 0; } }
.pa-dialog { width: min(440px, 100%); max-height: 100%; overflow: auto; border-radius: 16px; background: #fff; box-shadow: 0 40px 80px rgba(0,0,0,.45); animation: popIn .3s cubic-bezier(.2,1.2,.4,1); }
@keyframes popIn { from { transform: scale(.92); opacity: 0; } }
.pa-dtop { display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: #334155; color: #fff; }
.pa-dtop .brand-name { color: #22c55e; }
.pa-dsub { padding-left: 10px; border-left: 1px solid #64748b; font-size: .82rem; }
.pa-dck { margin-left: auto; color: #60a5fa; font-weight: 700; font-size: .74rem; letter-spacing: .05em; }
.pa-dbody { padding: 18px; }
.pa-dintro { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #f8fafc; }
.pa-dintro h4 { margin: 0 0 2px; font-size: 1.1rem; }
.pa-dintro p { margin: 0; color: var(--muted); font-size: .8rem; }
.pa-lbl { margin: 14px 0 6px; font-weight: 600; }
.pa-methods { display: flex; flex-wrap: wrap; gap: 8px; }
.pa-methods button { min-width: 74px; min-height: 40px; padding: 8px 14px; border: 1.5px solid #d5d9df; border-radius: 6px; background: #fff; cursor: pointer; font-weight: 500; }
.pa-methods button.on { background: #2f80ff; border-color: #2f80ff; color: #fff !important; }
.pa-dbody textarea { width: 100%; padding: 8px 10px; border: 1px solid #cfd5de; border-radius: 6px; resize: vertical; font-size: 16px; }
.pa-dact { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
.pa-cancel, .pa-transact { min-height: 42px; padding: 8px 18px; border: 0; border-radius: 6px; font-weight: 700; cursor: pointer; }
.pa-cancel { background: #6b7280; color: #fff !important; }
.pa-transact { background: #0ea84a; color: #fff !important; letter-spacing: .03em; }
.pa-transact:disabled { opacity: .7; cursor: progress; }
.pos-out { display: flex; flex-direction: column; gap: 14px; align-items: center; }

@media (max-width: 1180px) {
  .demo-grid { grid-template-columns: minmax(0, 1fr); }
  .pos-out { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: flex-start; }
  .pos-out > * { flex: 0 1 240px; }
  .pos-out .paper:not(.print) { display: none; }
}
@media (max-width: 1000px) {
  .pa-body { grid-template-columns: minmax(0, 1fr); }
  .pa-ov { max-height: 140px; min-height: 0; }
  .pa-ov .empty { padding: 8px 0; }
}
@media (max-width: 760px) {
  .pa-links { display: none; }
  .pa-nav { justify-content: flex-end; }
  .pa-fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pa-fields label:first-child { display: none; }
  .pa-th { display: none; }
  /* each line becomes a compact card */
  .pa-tr { grid-template-columns: minmax(0, 1fr) 70px 70px 30px; grid-template-areas: "code code tot del" "desc desc desc desc" "qty disc tax tax"; row-gap: 4px; margin-top: 8px; border: 1px solid #d9e2f3; border-radius: 8px; }
  .pa-tr .code { grid-area: code; }
  .pa-tr .desc { grid-area: desc; white-space: normal; }
  .pa-tr .unit, .pa-tr .price { display: none; }
  .pa-tr .qty { grid-area: qty; }
  .pa-tr .disc { grid-area: disc; }
  .pa-tr .tax { grid-area: tax; }
  .pa-tr .tot { grid-area: tot; }
  .pa-tr .pa-del { grid-area: del; }
  .pa-tr .qty::before { content: "Qty"; }
  .pa-tr .disc::before { content: "Disc %"; }
  .pa-tr .tax::before { content: "Tax "; color: var(--muted); font-size: .72rem; }
  .pa-tr .qty::before, .pa-tr .disc::before { display: block; text-align: left; color: var(--muted); font-size: .68rem; font-family: var(--body); }
  .pa-entry { margin-top: 8px; border-radius: 8px; }
  .pa-keys { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .pa-body { padding: 8px; }
  .pa-fields { grid-template-columns: minmax(0, 1fr); }
  .pa-head h3 { font-size: 1.1rem; }
  .pa-tabs button { padding: 6px 9px; font-size: .8rem; }
  .pa-entry input { width: 100%; }
  .pa-entry .btn { width: 100%; }
  .pk { padding-right: 38px; font-size: .74rem; }
  .pa-dsub { display: none; }
  .pa-methods button { flex: 1 1 30%; }
  .till-th, .tline { grid-template-columns: 54px 1fr 24px 66px; gap: 6px; }
}

/* hero art stacks cleanly on phones */
@media (max-width: 640px) {
  .hero-art { min-height: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; perspective: none; }
  .till { position: relative; top: auto; right: auto; }
  .slip { display: none; }
  .sagecard { position: relative; right: auto; bottom: auto; width: 100%; max-width: 360px; }
  .flyer { display: none; }
  .pill { font-size: .76rem; }
}

/* demo: full width so every column of the line table fits */
.demo-grid { grid-template-columns: minmax(0, 1fr); max-width: 1100px; margin-inline: auto; }
.pos-out { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: flex-start; }
.pos-out > * { flex: 0 1 260px; }
.pos-out .paper:not(.print) { display: none; }
.pa h3, .pa h4 { color: var(--ink); }
@media (min-width: 1001px) { .pa-body { grid-template-columns: minmax(0, 1fr) 270px; } }
@media (min-width: 761px) { .pa-tr { grid-template-columns: 70px minmax(110px, 1fr) 50px 64px 70px 60px 62px 82px 30px; } }
