/* SUNDAY POS website – colours follow the app theme (lib/theme.dart):
   navy #011E60, periwinkle #6A7FC0, amber #F7B700, off-white #F2F0F1 */
:root {
  --navy: #011E60;
  --navy-2: #0A2C7A;
  --peri: #6A7FC0;
  --amber: #F7B700;
  --amber-dark: #D99A00;
  --paper: #F2F0F1;
  --white: #fff;
  --ink: #12172B;
  --muted: #5B6178;
  --line: #E3E1E6;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(1, 30, 96, .10);
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section.alt { background: var(--paper); }
.section.dark { background: var(--navy); color: var(--white); }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--amber-dark); margin-bottom: 14px;
}
.dark .eyebrow { color: var(--amber); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.dark .lead { color: #C9D1EE; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .98rem;
  padding: 14px 24px; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s, background .15s, box-shadow .15s; font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn-amber { background: var(--amber); color: var(--navy); box-shadow: 0 6px 18px rgba(247, 183, 0, .35); }
.btn-amber:hover { background: #ffc61a; }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* header */
.topbar { background: var(--navy); color: #C9D1EE; font-size: .85rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a:hover { color: var(--amber); }
.topbar .tb-right { display: flex; gap: 20px; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--navy); }
.brand img { height: 30px; width: auto; }
.brand span { font-size: .78rem; background: var(--navy); color: var(--amber); padding: 3px 8px; border-radius: 6px; letter-spacing: .08em; }
.nav { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: .96rem; }
.nav a { position: relative; color: var(--navy); }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 3px; border-radius: 3px;
  background: var(--amber); transform: scaleX(0); transition: transform .2s;
}
.nav a:not(.btn):hover::after, .nav a.active::after { transform: scaleX(1); }
.nav .btn { padding: 10px 20px; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy); }

/* hero */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(106, 127, 192, .45), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(247, 183, 0, .18), transparent 60%),
    var(--navy);
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 96px; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero .lead { color: #D3DAF3; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; padding: 0; list-style: none; color: #D3DAF3; font-size: .95rem; }
.hero-points li::before { content: "✓"; color: var(--amber); font-weight: 800; margin-right: 8px; }
.page-hero { background: var(--navy); color: var(--white); padding: 72px 0 64px; position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 183, 0, .35), transparent 65%);
}
.page-hero .lead { color: #D3DAF3; }

/* tablet mock-up of the POS screen (pure HTML/CSS) */
.device {
  background: #0B1430; border-radius: 28px; padding: 14px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
  border: 1px solid rgba(255, 255, 255, .08); transform: rotate(-1.5deg);
}
.screen { background: var(--paper); border-radius: 16px; overflow: hidden; display: grid; grid-template-columns: 1.6fr 1fr; min-height: 340px; color: var(--ink); font-size: 12px; }
.scr-menu { padding: 12px; }
.scr-bar { display: flex; gap: 6px; margin-bottom: 10px; }
.scr-bar b { background: var(--white); border-radius: 999px; padding: 4px 10px; font-weight: 600; color: var(--muted); }
.scr-bar b.on { background: var(--navy); color: var(--white); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tile { background: var(--white); border-radius: 10px; overflow: hidden; box-shadow: 0 2px 6px rgba(0, 0, 0, .05); }
.tile img { height: 62px; width: 100%; object-fit: cover; }
.tile div { padding: 5px 7px; font-weight: 600; line-height: 1.25; }
.tile small { display: block; color: var(--muted); font-weight: 500; }
.scr-bill { background: var(--white); padding: 12px; display: flex; flex-direction: column; border-left: 1px solid var(--line); }
.scr-bill h4 { margin: 0 0 8px; font-size: 13px; color: var(--navy); }
.bl { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px dashed var(--line); }
.bl small { color: var(--muted); display: block; }
.scr-total { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; font-weight: 800; font-size: 14px; color: var(--navy); }
.scr-pay { margin-top: 8px; background: var(--amber); color: var(--navy); text-align: center; font-weight: 800; border-radius: 10px; padding: 9px; }
.floaty {
  position: absolute; background: var(--white); color: var(--ink); border-radius: 14px; padding: 10px 14px;
  box-shadow: var(--shadow); font-size: .82rem; font-weight: 600; display: flex; gap: 10px; align-items: center;
}
.floaty i { font-style: normal; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--amber); color: var(--navy); font-weight: 800; }
.mock-wrap { position: relative; }
.mock-wrap .f1 { left: -26px; bottom: 30px; }
.mock-wrap .f2 { right: -14px; top: -44px; }

/* logos / trust strip */
.strip { padding: 28px 0; border-bottom: 1px solid var(--line); }
.strip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 40px; color: var(--muted); font-weight: 700; }
.strip .lbl { font-weight: 600; font-size: .9rem; }
.strip .chip { color: var(--navy); opacity: .75; font-size: 1.05rem; }

/* feature rows (alternating) */
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.row + .row { margin-top: 96px; }
.row.flip > :first-child { order: 2; }
.subfeats { display: grid; gap: 18px; margin-top: 22px; }
.subfeat { display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.subfeat .ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(247, 183, 0, .18); color: var(--navy); display: grid; place-items: center; }
.subfeat h3 { margin-bottom: 4px; font-size: 1.05rem; }
.subfeat p { margin: 0; color: var(--muted); font-size: .96rem; }
.panel { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; border: 1px solid var(--line); }
.panel h4 { margin: 0 0 14px; color: var(--navy); }

/* table map panel */
.tables { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tbl { aspect-ratio: 1; border-radius: 14px; display: grid; place-items: center; font-weight: 800; color: var(--navy); background: var(--paper); border: 2px solid var(--line); position: relative; }
.tbl.busy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.tbl.bill { background: var(--amber); border-color: var(--amber); }
.tbl small { position: absolute; bottom: 6px; font-size: .62rem; font-weight: 600; opacity: .8; }
.legend { display: flex; gap: 16px; margin-top: 14px; font-size: .82rem; color: var(--muted); }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; background: var(--paper); border: 1px solid var(--line); }
.legend .l2::before { background: var(--navy); }
.legend .l3::before { background: var(--amber); }

/* report panel */
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.kpi { background: var(--paper); border-radius: 12px; padding: 10px 12px; }
.kpi small { color: var(--muted); font-size: .75rem; display: block; }
.kpi b { font-size: 1.15rem; color: var(--navy); }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 130px; padding-top: 6px; border-bottom: 1px solid var(--line); }
.bars div { flex: 1; background: var(--peri); border-radius: 6px 6px 0 0; }
.bars div.hi { background: var(--amber); }
.days { display: flex; gap: 8px; font-size: .72rem; color: var(--muted); margin-top: 6px; }
.days span { flex: 1; text-align: center; }

/* order channels panel */
.channels { display: grid; gap: 10px; }
.chan { display: flex; align-items: center; justify-content: space-between; background: var(--paper); border-radius: 12px; padding: 12px 14px; font-weight: 600; }
.chan em { font-style: normal; font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--navy); color: var(--white); }
.chan em.new { background: var(--amber); color: var(--navy); }

/* feature grid */
.grid { display: grid; gap: 22px; }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card .ic { width: 50px; height: 50px; border-radius: 14px; background: var(--navy); color: var(--amber); display: grid; place-items: center; margin-bottom: 18px; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }
.dark .card { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); }
.dark .card p { color: #C9D1EE; }
.dark .card .ic { background: var(--amber); color: var(--navy); }
.head { margin-bottom: 48px; }

/* products */
.prod { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.prod .ph { height: 150px; background: linear-gradient(135deg, var(--navy), var(--peri)); display: grid; place-items: center; color: var(--amber); }
.prod .ph svg { width: 64px; height: 64px; stroke-width: 1.5; }
.prod .ph.amber { background: linear-gradient(135deg, var(--amber), #FFD45C); color: var(--navy); }
.prod .ph.peri { background: linear-gradient(135deg, var(--peri), #A9B6E4); color: var(--white); }
.prod .bd { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.prod .bd p { flex: 1; margin-bottom: 18px; }
.prod .more { font-weight: 700; color: var(--navy); display: inline-flex; gap: 6px; align-items: center; }
.prod .more:hover { color: var(--amber-dark); }

/* integrations */
.pills { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.pill { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 10px 20px; font-weight: 700; color: var(--navy); }
.pill small { color: var(--muted); font-weight: 500; margin-left: 6px; }

/* steps */
.steps { counter-reset: s; }
.step { position: relative; padding-top: 58px; }
.step::before {
  counter-increment: s; content: counter(s); position: absolute; top: 0; left: 0; width: 42px; height: 42px; border-radius: 12px;
  background: var(--amber); color: var(--navy); font-weight: 800; display: grid; place-items: center;
}

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--amber-dark); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 6px; }

/* CTA band */
.cta { background: var(--amber); color: var(--navy); border-radius: 28px; padding: 56px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -60px; bottom: -90px; width: 300px; height: 300px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .25); }
.cta h2 { margin-bottom: 10px; }
.cta p { margin: 0; font-size: 1.08rem; }
.cta .btn-row { justify-content: flex-end; margin: 0; position: relative; z-index: 1; }

/* pricing */
.toggle { display: inline-flex; background: var(--paper); border-radius: 999px; padding: 5px; margin-top: 18px; }
.toggle button { border: 0; background: none; padding: 10px 20px; border-radius: 999px; font-weight: 700; cursor: pointer; color: var(--muted); font-family: inherit; font-size: .95rem; }
.toggle button.on { background: var(--navy); color: var(--white); }
.toggle .save { color: var(--amber-dark); font-size: .78rem; margin-left: 4px; }
.toggle button.on .save { color: var(--amber); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; margin-top: 44px; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 32px; display: flex; flex-direction: column; position: relative; }
.plan.pop { background: var(--navy); color: var(--white); border-color: var(--navy); box-shadow: 0 24px 50px rgba(1, 30, 96, .3); transform: translateY(-10px); }
.plan .tag { position: absolute; top: -13px; left: 32px; background: var(--amber); color: var(--navy); font-size: .75rem; font-weight: 800; padding: 5px 12px; border-radius: 999px; letter-spacing: .05em; text-transform: uppercase; }
.plan .who { color: var(--muted); font-size: .95rem; min-height: 48px; }
.plan.pop .who { color: #C9D1EE; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 14px 0 4px; }
.price .cur { font-weight: 700; font-size: 1.1rem; }
.price .amt { font-size: 3rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.price .per { color: var(--muted); font-weight: 600; }
.plan.pop .price .per, .plan.pop .note { color: #C9D1EE; }
.note { font-size: .82rem; color: var(--muted); min-height: 20px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; flex: 1; }
.plan li { padding-left: 28px; position: relative; font-size: .95rem; }
.plan li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: rgba(247, 183, 0, .25) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23011E60' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat; }
.plan.pop li::before { background-color: var(--amber); }
.plan .btn { justify-content: center; }
.addons { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.addons th, .addons td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.addons th { background: var(--navy); color: var(--white); font-size: .9rem; }
.addons td:last-child { font-weight: 700; color: var(--navy); white-space: nowrap; }
.addons tr:last-child td { border-bottom: 0; }
.compare { width: 100%; border-collapse: collapse; font-size: .95rem; }
.compare th, .compare td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { color: var(--navy); font-size: 1rem; }
.compare .y { color: #1A9A5B; font-weight: 800; }
.compare .n { color: #B6B3BC; }
.table-scroll { overflow-x: auto; }
.placeholder-note { background: #FFF6D6; border: 1px dashed var(--amber-dark); color: #6B4E00; border-radius: 12px; padding: 12px 16px; font-size: .9rem; margin-top: 28px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: start; }
.info-list { display: grid; gap: 16px; margin-top: 28px; }
.info { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; background: var(--paper); border-radius: 16px; padding: 16px; }
.info .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--navy); color: var(--amber); display: grid; place-items: center; }
.info small { display: block; color: var(--muted); font-size: .82rem; }
.info b { color: var(--navy); }
form.card:hover { transform: none; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9rem; color: var(--navy); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--peri); box-shadow: 0 0 0 4px rgba(106, 127, 192, .18); }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { display: inline-flex; align-items: center; gap: 6px; background: var(--paper); border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: .88rem; cursor: pointer; color: var(--ink); }
.checks input { accent-color: var(--navy); width: auto; }
.form-ok { display: none; background: #E6F6EE; color: #11603A; border-radius: 12px; padding: 14px 16px; font-weight: 600; margin-top: 16px; }
.form-ok.show { display: block; }

/* footer */
.footer { background: #00143F; color: #B9C2E3; padding: 72px 0 0; font-size: .94rem; }
.footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer h5 { color: var(--white); font-size: .95rem; margin: 0 0 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--amber); }
.footer .brand { color: var(--white); margin-bottom: 16px; }
.footer .bottom { margin-top: 56px; border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }

/* platforms + hardware */
.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plat { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 24px; display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: center; }
.plat .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--amber); color: var(--navy); display: grid; place-items: center; }
.plat h3 { margin: 0 0 2px; color: var(--white); }
.plat p { margin: 0; color: #C9D1EE; font-size: .92rem; }
.light-plats .brand-chip { border-color: var(--line); color: var(--navy); background: var(--white); }
.light-plats .plat { background: var(--white); border-color: var(--line); }
.light-plats .plat h3 { color: var(--navy); }
.light-plats .plat p { color: var(--muted); }
.brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.brand-chip { border: 1.5px solid rgba(255, 255, 255, .25); border-radius: 999px; padding: 8px 18px; font-weight: 700; color: var(--white); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 36px; }
.tabs button { border: 1.5px solid var(--line); background: var(--white); color: var(--navy); font-family: inherit; font-weight: 700; font-size: .92rem; padding: 9px 18px; border-radius: 999px; cursor: pointer; }
.tabs button.on { background: var(--navy); border-color: var(--navy); color: var(--white); }
.dev { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.dev[hidden] { display: none; }
.dev .art { height: 140px; display: grid; place-items: center; background: linear-gradient(160deg, var(--paper), #E4E8F6); color: var(--navy); position: relative; }
.dev .art { height: 180px; padding: 18px 14px 6px; }
.dev .art [data-art] { width: 100%; height: 100%; display: block; }
.dev .art .devart { width: 100%; height: 100%; transition: transform .35s ease; }
.dev:hover .art .devart { transform: translateY(-4px) scale(1.04); }
.dev .art { overflow: hidden; }
.dev .art .mk { z-index: 1; }
.dev .art .devphoto { position: absolute; top: 18px; left: 14px; width: calc(100% - 28px); height: calc(100% - 26px); object-fit: contain; transition: transform .35s ease; filter: drop-shadow(0 10px 14px rgba(1, 30, 96, .15)); }
.dev:hover .art .devphoto { transform: translateY(-4px) scale(1.05); }
.dev .art[data-photo] { background: linear-gradient(160deg, #fff, var(--paper)); }
.dev:hover .paper { animation: feed 1.2s ease-in-out infinite alternate; }
.dev:hover .beam { animation: blink .5s steps(2) infinite; }
.dev:hover .cash { animation: lift .8s ease-in-out infinite alternate; }
@keyframes feed { to { transform: translateY(-5px); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes lift { to { transform: translateY(-4px); } }
.dev .art .mk { position: absolute; top: 12px; left: 12px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--navy); color: var(--amber); padding: 4px 9px; border-radius: 6px; }
.dev .bd { padding: 18px 20px 22px; }
.dev h3 { margin-bottom: 6px; }
.dev .specs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.dev .specs span { font-size: .75rem; font-weight: 700; background: rgba(247, 183, 0, .18); color: #7A5A00; padding: 3px 9px; border-radius: 999px; }

/* ---------- landing page animation ---------- */
/* hero: text rises in one line after another */
.hero .wrap > div:first-child > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero .wrap > div:first-child > :nth-child(2) { animation-delay: .1s; }
.hero .wrap > div:first-child > :nth-child(3) { animation-delay: .2s; }
.hero .wrap > div:first-child > :nth-child(4) { animation-delay: .3s; }
.hero .wrap > div:first-child > :nth-child(5) { animation-delay: .4s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
/* "one bright POS" gets an amber underline that draws itself */
.hero h1 em { background: linear-gradient(var(--amber), var(--amber)) left 92% / 0 6px no-repeat; animation: underline 1s .9s ease forwards; padding-bottom: 4px; }
@keyframes underline { to { background-size: 100% 6px; } }
/* hero glow drifts slowly */
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(10px); pointer-events: none; }
.hero::before { width: 420px; height: 420px; right: -80px; top: -120px; background: radial-gradient(circle, rgba(247, 183, 0, .28), transparent 65%); animation: drift 14s ease-in-out infinite alternate; }
.hero::after { width: 520px; height: 520px; left: -160px; bottom: -260px; background: radial-gradient(circle, rgba(106, 127, 192, .4), transparent 65%); animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(-60px, 50px) scale(1.15); } }
.hero .wrap { position: relative; z-index: 1; }
/* the tablet floats, badges pop in then bob */
.mock-wrap.reveal { opacity: 1; transform: none; }
.device { animation: rise 1s .3s both, float 6s 1.3s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: rotate(-1.5deg) translateY(0); } 50% { transform: rotate(-1.5deg) translateY(-10px); } }
.floaty { animation: pop .6s cubic-bezier(.3, 1.6, .5, 1) both, bob 4s ease-in-out infinite; }
.mock-wrap .f1 { animation-delay: 1.4s, 2s; }
.mock-wrap .f2 { animation-delay: 1.9s, 2.5s; }
@keyframes pop { from { opacity: 0; transform: scale(.6) translateY(10px); } }
@keyframes bob { 50% { transform: translateY(-6px); } }
.floaty i { animation: ping 2.4s 2.5s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(247, 183, 0, .6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(247, 183, 0, 0); } }
/* menu tiles get "tapped" in turn, bill lines slide in */
.tile { animation: tap 7.2s ease-in-out infinite; }
.tile:nth-child(1) { animation-delay: 1.2s; } .tile:nth-child(3) { animation-delay: 2.4s; } .tile:nth-child(4) { animation-delay: 3.6s; }
.tile:nth-child(2) { animation-delay: 4.8s; } .tile:nth-child(5) { animation-delay: 6s; } .tile:nth-child(6) { animation-name: none; }
@keyframes tap { 0%, 8%, 100% { transform: none; box-shadow: 0 2px 6px rgba(0, 0, 0, .05); } 3% { transform: scale(.94); box-shadow: 0 0 0 3px var(--amber); } }
.scr-bill .bl { animation: slidein .5s both; }
.scr-bill .bl:nth-of-type(1) { animation-delay: 1s; } .scr-bill .bl:nth-of-type(2) { animation-delay: 1.3s; } .scr-bill .bl:nth-of-type(3) { animation-delay: 1.6s; }
@keyframes slidein { from { opacity: 0; transform: translateX(14px); } }
.scr-pay { animation: glow 2.4s 2s ease-in-out infinite; }
@keyframes glow { 50% { box-shadow: 0 0 0 4px rgba(247, 183, 0, .35); } }
/* food truck drives across the bottom of the hero once, right → left */
.truck { position: absolute; z-index: 2; bottom: 6px; left: 100%; width: 300px; pointer-events: none;
  animation: drive 8s 1.2s cubic-bezier(.45, .05, .55, .95) forwards; }
.truck svg { display: block; width: 100%; overflow: visible; }
@keyframes drive { to { transform: translateX(calc(-100vw - 320px)); } }
.truck .wheel { transform-box: fill-box; transform-origin: center; animation: spin .45s linear 20 1.2s; }
@keyframes spin { to { transform: rotate(-360deg); } }
.truck .truck-body { animation: rumble .22s ease-in-out 40 alternate 1.2s; }
@keyframes rumble { to { transform: translateY(-1.5px); } }
.truck .puff { opacity: 0; transform-box: fill-box; transform-origin: center; animation: puff 1s ease-out 8 1.2s; }
.truck .p2 { animation-delay: 1.55s; } .truck .p3 { animation-delay: 1.9s; }
@keyframes puff { 0% { opacity: .8; transform: translate(0, 0) scale(.6); } 100% { opacity: 0; transform: translate(26px, -10px) scale(2.4); } }
.truck .steam { animation: steam 1.2s ease-in-out infinite; }
@keyframes steam { 50% { opacity: .3; transform: translateY(-2px); } }
.truck .beam { animation: steam 1.6s ease-in-out infinite; }
.hero .wrap { padding-bottom: 190px; }
@media (max-width: 860px) { .hero .wrap { padding-bottom: 160px; } }
@media (max-width: 600px) { .truck { width: 195px; bottom: 4px; } .hero .wrap { padding-bottom: 124px; } }

/* "Ready for" strip scrolls sideways */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: marquee 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track .chip { white-space: nowrap; }
.marquee-track .chip::before { content: "●"; color: var(--amber); margin-right: 12px; font-size: .7em; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }
/* panels come alive when they scroll in */
.reveal .bars div { transform-origin: bottom; transform: scaleY(0); transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.in .bars div { transform: scaleY(1); }
.bars div:nth-child(2) { transition-delay: .08s !important; } .bars div:nth-child(3) { transition-delay: .16s !important; } .bars div:nth-child(4) { transition-delay: .24s !important; }
.bars div:nth-child(5) { transition-delay: .32s !important; } .bars div:nth-child(6) { transition-delay: .4s !important; } .bars div:nth-child(7) { transition-delay: .48s !important; }
.reveal .chan { opacity: 0; transform: translateX(16px); transition: opacity .5s, transform .5s; }
.reveal.in .chan { opacity: 1; transform: none; }
.reveal.in .chan:nth-child(2) { transition-delay: .12s; } .reveal.in .chan:nth-child(3) { transition-delay: .24s; } .reveal.in .chan:nth-child(4) { transition-delay: .36s; }
.chan em.new { animation: ping 2s ease-out infinite; }
.reveal .tbl { opacity: 0; transform: scale(.7); transition: opacity .4s, transform .4s cubic-bezier(.3, 1.5, .5, 1); }
.reveal.in .tbl { opacity: 1; transform: none; }
.tbl.bill { animation: ping 2s 1s ease-out infinite; }
/* staggered grids */
.grid > .reveal:nth-child(2) { transition-delay: .08s; } .grid > .reveal:nth-child(3) { transition-delay: .16s; } .grid > .reveal:nth-child(4) { transition-delay: .24s; }
.grid > .reveal:nth-child(6) { transition-delay: .08s; } .grid > .reveal:nth-child(7) { transition-delay: .16s; } .grid > .reveal:nth-child(8) { transition-delay: .24s; }
.card:hover .ic { animation: wiggle .5s ease; }
@keyframes wiggle { 30% { transform: rotate(-8deg) scale(1.08); } 60% { transform: rotate(6deg); } }
.step.reveal.in::before { animation: pop .6s cubic-bezier(.3, 1.6, .5, 1) both; }
/* device line-up on the home page */
.lineup { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 36px; }
.lineup figure { margin: 0; text-align: center; }
.lineup [data-art] { display: block; height: 150px; }
.lineup .devart { width: 100%; height: 100%; animation: float2 5s ease-in-out infinite; }
.lineup figure:nth-child(2) .devart { animation-delay: -1.2s; } .lineup figure:nth-child(3) .devart { animation-delay: -2.4s; } .lineup figure:nth-child(4) .devart { animation-delay: -3.6s; }
.lineup figcaption { font-weight: 700; color: var(--navy); font-size: .92rem; margin-top: 6px; }
@keyframes float2 { 50% { transform: translateY(-8px); } }
.lineup .t { animation: blinktile 4s ease-in-out infinite; }
.lineup .t2 { animation-delay: .7s; } .lineup .t4 { animation-delay: 1.4s; } .lineup .t6 { animation-delay: 2.1s; }
@keyframes blinktile { 0%, 20%, 100% { opacity: .85; } 10% { opacity: .3; } }
/* e-invoice */
.einv-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; position: relative; }
.einv-step { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px; position: relative; }
.einv-step b { display: block; color: var(--navy); margin: 10px 0 4px; }
.einv-step p { margin: 0; color: var(--muted); font-size: .9rem; }
.einv-step .ic { width: 42px; height: 42px; border-radius: 12px; background: rgba(247, 183, 0, .2); color: var(--navy); display: grid; place-items: center; }
.einv-step:not(:last-child)::after { content: "→"; position: absolute; right: -13px; top: 28px; color: var(--amber-dark); font-weight: 800; z-index: 1; }
.einv-step .soon { position: absolute; top: 14px; right: 14px; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; background: var(--paper); color: var(--muted); padding: 3px 8px; border-radius: 999px; }
@media (max-width: 860px) { .einv-flow { grid-template-columns: 1fr 1fr; } .einv-step::after { display: none; } .lineup { grid-template-columns: 1fr 1fr; } }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal .chan, .reveal .tbl { opacity: 1; transform: none; }
  .reveal .bars div { transform: none; }
  .hero h1 em { background-size: 100% 6px; }
  html { scroll-behavior: auto; }
}

/* responsive */
@media (max-width: 1000px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3, .plans { grid-template-columns: 1fr 1fr; }
  .platforms { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 20px 20px; border-bottom: 1px solid var(--line); display: none; box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 14px; justify-content: center; border-bottom: 0; }
  .hero .wrap, .row, .contact-grid, .cta { grid-template-columns: 1fr; }
  .hero .wrap { padding-top: 56px; padding-bottom: 72px; gap: 48px; }
  .row { gap: 36px; }
  .row.flip > :first-child { order: 0; }
  .cta { padding: 36px 28px; }
  .cta .btn-row { justify-content: flex-start; }
  .plan.pop { transform: none; }
  .topbar .tb-left { display: none; }
  .topbar .wrap { justify-content: center; }
  .section { padding: 64px 0; }
}
@media (max-width: 600px) {
  .g4, .g3, .g2, .plans, .form-grid { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 1fr; }
  .screen { grid-template-columns: 1fr; }
  .scr-bill { border-left: 0; border-top: 1px solid var(--line); }
  .mock-wrap .f1, .mock-wrap .f2 { display: none; }
  .wrap { padding: 0 16px; }
}
