/* EasyPOS website. One stylesheet: tokens, layout, sections, product scenes, motion. */

@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/assets/fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #0b1220;
  --ink-2: #364152;
  --muted: #677285;
  --line: #e7e9ee;
  --line-2: #d9dde4;
  --bg: #ffffff;
  --soft: #f6f7f9;
  --brand: #0a66e4;
  --brand-2: #0052c2;
  --brand-tint: #e9f1fe;
  --ok: #128a4a;
  --ok-tint: #e5f5ec;
  --night: #0a0f1a;
  --night-2: #121a2a;
  --night-line: #1f2a3d;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-1: 0 1px 2px rgb(11 18 32 / 6%), 0 1px 1px rgb(11 18 32 / 4%);
  --shadow-2: 0 2px 4px rgb(11 18 32 / 4%), 0 12px 32px -8px rgb(11 18 32 / 14%);
  --shadow-3: 0 4px 8px rgb(11 18 32 / 4%), 0 32px 64px -16px rgb(11 18 32 / 22%);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --wrap: 1180px;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font: 400 17px/1.6 "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }

/* ------------------------------------------------------------------ type */
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); margin-bottom: 18px; }
.eyebrow-light { color: #7fb2ff; }
h1 { font-size: clamp(40px, 4.6vw, 60px); letter-spacing: -0.036em; }
h2 { font-size: clamp(32px, 3.8vw, 48px); letter-spacing: -0.032em; }
h3 { font-size: 18px; letter-spacing: -0.012em; line-height: 1.3; }
.ink-soft { color: var(--muted); }
.lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--ink-2); max-width: 34em; margin-top: 24px; }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-size: 15px; font-weight: 550; letter-spacing: -0.005em; white-space: nowrap;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 16px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 1px 0 rgb(255 255 255 / 18%) inset, 0 1px 2px rgb(10 102 228 / 30%); }
.btn-primary:hover { background: var(--brand-2); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: #b9c0cc; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #eef1f6; }
.btn-outline-light { border-color: rgb(255 255 255 / 28%); color: #fff; }
.btn-outline-light:hover { border-color: rgb(255 255 255 / 60%); }
.arrow { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s var(--ease); }
.link-quiet { font-size: 15px; font-weight: 500; color: var(--ink-2); }
.link-quiet:hover { color: var(--ink); }

/* ------------------------------------------------------------------ nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / 0%); border-bottom: 1px solid transparent; transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s; }
.nav.is-scrolled { background: rgb(255 255 255 / 86%); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom-color: var(--line); }
.nav-inner { height: 68px; display: flex; align-items: center; gap: 40px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 18px; letter-spacing: -0.02em; }
.brand img { border-radius: 7px; }
.nav-links { display: flex; gap: 28px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.nav-links a { position: relative; padding: 6px 0; transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.nav-toggle { display: none; margin-left: auto; width: 40px; height: 40px; border: 0; background: none; padding: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 1.6px; background: var(--ink); margin: 5px auto; border-radius: 2px; transition: transform 0.3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.3px) rotate(-45deg); }
.nav-sheet[hidden] { display: none; }
.nav-sheet { display: grid; gap: 4px; padding: 8px 24px 24px; background: #fff; border-bottom: 1px solid var(--line); }
.nav-sheet a:not(.btn) { padding: 12px 0; font-size: 17px; font-weight: 500; border-bottom: 1px solid var(--line); }
.nav-sheet .btn { margin-top: 16px; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; isolation: isolate; }
/* A quiet grid that fades out: depth without decoration. */
.hero::before {
  content: ""; position: absolute; inset: -1px 0 auto; height: 760px; z-index: -1;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center top;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 10%, transparent 70%);
  opacity: 0.55;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.12fr; gap: 56px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--muted); }

.hero-stage { position: relative; }
.device { position: relative; background: #fff; border: 1px solid var(--line-2); border-radius: 18px; box-shadow: var(--shadow-3); overflow: hidden; }
.device-bar { height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #fbfbfc; }
.device-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e1e4e9; }
.device-bar span { margin-left: 14px; font-size: 12px; color: var(--muted); font-family: var(--mono); background: #f0f2f5; padding: 3px 10px; border-radius: 6px; }

.till { display: grid; grid-template-columns: 1.45fr 1fr; min-height: 372px; font-size: 13px; }
.till-side { padding: 16px; border-right: 1px solid var(--line); background: #fafbfc; }
.till-search { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--muted); }
.till-search svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.till-chips { display: flex; gap: 6px; margin: 12px 0; }
.till-chips > * { padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 500; background: #eef0f3; color: var(--ink-2); }
.till-chips b { background: var(--ink); color: #fff; }
.till-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tile { display: grid; gap: 14px; align-content: space-between; min-height: 82px; padding: 11px; background: #fff; border: 1px solid var(--line); border-radius: 11px; transition: transform 0.18s var(--ease), border-color 0.18s, box-shadow 0.18s; }
.tile strong { font-weight: 550; line-height: 1.25; }
.tile em { font-style: normal; color: var(--muted); font-family: var(--mono); font-size: 11.5px; }
.tile.is-tap { transform: scale(0.96); border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }

.till-cart { display: flex; flex-direction: column; padding: 16px; }
.cart-head { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.cart-head small { font-weight: 450; color: var(--muted); font-size: 12px; }
.cart-lines { flex: 1; display: flex; flex-direction: column; gap: 2px; padding: 8px 0; }
.cart-lines li { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; border-bottom: 1px dashed var(--line); animation: line-in 0.38s var(--ease) both; }
.cart-lines li span { color: var(--ink-2); }
.cart-lines li b { font-weight: 500; font-family: var(--mono); font-size: 12px; }
.cart-lines li i { font-style: normal; color: var(--muted); margin-right: 4px; }
@keyframes line-in { from { opacity: 0; transform: translateY(-6px); } }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; font-weight: 600; }
.cart-total strong { font-size: 18px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.cart-pay { height: 40px; display: grid; place-items: center; border-radius: 10px; background: #c7d9f8; color: #fff; font-weight: 600; transition: background 0.3s, transform 0.18s var(--ease); }
.cart-pay.is-ready { background: var(--brand); }
.cart-pay.is-tap { transform: scale(0.97); }

.pay-sheet { position: absolute; left: 50%; bottom: 22px; width: min(320px, 80%); translate: -50% 0; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-3); opacity: 0; transform: translateY(16px) scale(0.98); transition: opacity 0.35s var(--ease), transform 0.45s var(--ease); pointer-events: none; }
.pay-sheet.is-open { opacity: 1; transform: none; }
.pay-row { display: flex; justify-content: space-between; font-weight: 600; font-size: 14px; }
.pay-row strong { font-family: var(--mono); font-weight: 550; }
.pay-wait { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.pay-wait i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--brand); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }

.notice { position: absolute; right: -18px; top: 56px; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-3); opacity: 0; transform: translateY(-10px) scale(0.97); transition: opacity 0.35s var(--ease), transform 0.5s var(--ease); }
.notice.is-in { opacity: 1; transform: none; }
.notice strong { display: block; font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.notice small { display: block; font-size: 12.5px; color: var(--muted); }
.notice-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; background: var(--ok-tint); }
.notice-icon svg { width: 16px; height: 16px; fill: none; stroke: var(--ok); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.made-for { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 36px; margin-top: 88px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.made-for ul { display: flex; flex-wrap: wrap; gap: 10px 32px; }
.made-for li { color: var(--ink-2); font-weight: 500; display: flex; align-items: center; gap: 10px; }
.made-for li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }

/* ------------------------------------------------------------------ bands */
.band { padding: 128px 0; }
.band-soft { background: var(--soft); }
.band-dark { background: var(--night); color: #e8ecf3; }
.band-dark h2 { color: #fff; }
.band-dark p:not(.eyebrow) { color: #a9b3c4; }
.split { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 88px; align-items: center; }
.split-reverse .split-copy { order: 2; }
.split-copy h2 { margin-bottom: 22px; }
.split-copy > p:not(.eyebrow) { color: var(--ink-2); font-size: 18px; }
.band-dark .split-copy > p:not(.eyebrow) { color: #a9b3c4; }
.ticks { display: grid; gap: 12px; margin-top: 30px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--ink-2); }
.band-dark .ticks li { color: #d3d9e4; }
.ticks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--brand-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.3 2.3 2.3 4.7-5.2' fill='none' stroke='%230a66e4' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.band-dark .ticks li::before { background-color: rgb(127 178 255 / 14%); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.3 2.3 2.3 4.7-5.2' fill='none' stroke='%237fb2ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.section-head { max-width: 640px; margin: 0 auto 64px; text-align: center; }
.section-head p:not(.eyebrow) { margin-top: 18px; color: var(--ink-2); font-size: 18px; }
.section-head-left { margin: 0; text-align: left; }

/* ------------------------------------------------------------------ transfers scene */
.match { display: grid; grid-template-columns: 1fr 64px 1fr; align-items: stretch; padding: 28px; border: 1px solid var(--night-line); border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--night-2), var(--night)); }
.match-col { display: grid; gap: 14px; align-content: start; }
.match-label { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #6f7d94 !important; margin-bottom: 2px; }
.txn, .order { display: grid; gap: 2px; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--night-line); background: #0e1523; font-size: 13px; min-height: 66px; transition: border-color 0.4s, background 0.4s, opacity 0.4s, transform 0.5s var(--ease); }
.txn { grid-template-columns: auto 1fr; column-gap: 10px; opacity: 0.35; transform: translateX(-8px); }
.txn b { grid-row: span 2; align-self: center; font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em; padding: 4px 6px; border-radius: 6px; background: #1b2638; color: #9fb4d6; }
.txn span { color: #8b97ab; }
.txn strong, .order strong { color: #fff; font-weight: 550; font-family: var(--mono); font-size: 13px; }
.txn.is-in { opacity: 1; transform: none; border-color: #2b3a54; }
.order { position: relative; }
.order span { color: #8b97ab; }
.order em { position: absolute; right: 12px; top: 12px; font-style: normal; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: rgb(48 196 115 / 14%); color: #5ee09a; opacity: 0; transform: scale(0.8); transition: opacity 0.3s, transform 0.4s var(--ease); }
.order.is-paid { border-color: rgb(48 196 115 / 45%); background: #0f1d1a; }
.order.is-paid em { opacity: 1; transform: none; }
.match-wires { width: 100%; height: 100%; padding-top: 30px; overflow: visible; }
.match-wires path { fill: none; stroke: #5ee09a; stroke-width: 1.5; stroke-dasharray: 80; stroke-dashoffset: 80; transition: stroke-dashoffset 0.6s var(--ease); vector-effect: non-scaling-stroke; }
.match-wires path.is-on { stroke-dashoffset: 0; }

/* ------------------------------------------------------------------ store scene */
.store-scene { position: relative; display: grid; place-items: center start; padding-left: 9%; min-height: 520px; border-radius: var(--radius-lg); background: radial-gradient(120% 90% at 30% 10%, #eef4ff 0%, #f6f8fb 55%, #f6f7f9 100%); border: 1px solid var(--line); }
.phone { position: relative; width: 262px; height: 520px; margin: 36px 0 -2px; padding: 12px; border-radius: 42px 42px 0 0; background: #0b1220; box-shadow: var(--shadow-3); align-self: end; }
.phone-notch { position: absolute; top: 18px; left: 50%; translate: -50% 0; width: 78px; height: 22px; border-radius: 12px; background: #0b1220; z-index: 2; }
.shop { height: 100%; border-radius: 31px 31px 0 0; background: #fff; overflow: hidden; font-size: 13px; }
.shop-cover { padding: 60px 18px 18px; background: linear-gradient(160deg, #0a66e4 0%, #0b3f8f 100%); color: #fff; }
.shop-cover span { display: block; font-size: 19px; font-weight: 650; letter-spacing: -0.02em; }
.shop-cover small { opacity: 0.82; }
.shop-item { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.shop-item span { font-weight: 550; }
.shop-item small { display: block; font-weight: 400; color: var(--muted); font-family: var(--mono); font-size: 11.5px; }
.ph { width: 44px; height: 44px; border-radius: 11px; }
.ph-a { background: linear-gradient(150deg, #d8b48a, #8a5a35); }
.ph-b { background: linear-gradient(150deg, #ffcf5a, #f08a24); }
.ph-c { background: linear-gradient(150deg, #e9d6b0, #b98b4e); }
.add { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); font-weight: 500; color: var(--brand); transition: background 0.2s, color 0.2s, transform 0.2s var(--ease); }
.add.is-tap { background: var(--brand); color: #fff; transform: scale(0.9); }
.shop-bar { margin: 16px; display: flex; justify-content: space-between; align-items: center; padding: 13px 16px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 13px; opacity: 0; transform: translateY(12px); transition: opacity 0.3s, transform 0.4s var(--ease); }
.shop-bar.is-in { opacity: 1; transform: none; }
.order-card { position: absolute; z-index: 3; right: 24px; top: 44%; width: 236px; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-3); font-size: 13px; opacity: 0; transform: translateX(16px); transition: opacity 0.4s var(--ease), transform 0.55s var(--ease); }
.order-card.is-in { opacity: 1; transform: none; }
.order-card p { display: flex; align-items: center; gap: 8px; color: var(--ok); font-weight: 600; font-size: 12px; margin-bottom: 8px; }
.order-card strong { display: block; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.order-card > span { color: var(--muted); }
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgb(18 138 74 / 40%); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgb(18 138 74 / 0%); } 100% { box-shadow: 0 0 0 0 rgb(18 138 74 / 0%); } }
.order-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: 14px; }
.order-steps i { height: 4px; border-radius: 4px; background: var(--line); transition: background 0.5s; }
.order-steps i.on { background: var(--ok); }

/* ------------------------------------------------------------------ panels (stock, GST) */
.panel { padding: 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-2); font-size: 14px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 18px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.panel-head strong { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.panel-head span { font-size: 13px; color: var(--muted); }
.stock-row { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 18px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); }
.stock-row span { font-weight: 500; }
.stock-row em { font-style: normal; font-size: 12.5px; color: var(--muted); min-width: 108px; text-align: right; font-variant-numeric: tabular-nums; }
.meter { height: 6px; border-radius: 6px; background: #eef0f3; overflow: hidden; }
.meter i { display: block; height: 100%; width: 100%; border-radius: inherit; background: var(--brand); transform-origin: left; transform: scaleX(1); transition: transform 1.4s var(--ease), background 0.6s; }
.meter i.is-low { background: #e0663a; }
.panel-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; font-size: 13px; color: var(--muted); }
.chip-btn { padding: 8px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 550; transition: transform 0.2s var(--ease), background 0.3s; }
.chip-btn.is-done { background: var(--ok); }

.ok-pill { padding: 4px 10px; border-radius: 999px; background: var(--ok-tint); color: var(--ok) !important; font-weight: 600; font-size: 12px !important; }
.gst-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 18px 0 22px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.gst-figs > div { display: grid; gap: 4px; padding: 18px; background: #fff; }
.gst-figs span { font-size: 13px; color: var(--muted); }
.gst-figs strong { font-family: var(--mono); font-weight: 500; font-size: 22px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.gst-figs strong::before { content: "MVR "; font-size: 13px; color: var(--muted); }
.gst-due { background: var(--brand-tint) !important; }
.gst-due strong { color: var(--brand-2); }
.gst-files { display: flex; flex-wrap: wrap; gap: 10px; }
.file { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px 9px 9px; border: 1px solid var(--line); border-radius: 11px; font-weight: 500; font-size: 13px; }
.file b { padding: 4px 7px; border-radius: 6px; background: #e3f3e8; color: #157a40; font-size: 10.5px; letter-spacing: 0.03em; text-transform: uppercase; }

/* ------------------------------------------------------------------ bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cell { padding: 30px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s; }
.cell:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--line-2); }
.cell h3 { margin: 22px 0 8px; }
.cell p { color: var(--muted); font-size: 15.5px; }
.cell-wide { grid-column: span 2; display: grid; grid-template-columns: 1fr; }
.ic { width: 40px; height: 40px; padding: 9px; border-radius: 11px; background: var(--brand-tint); fill: none; stroke: var(--brand); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.offline { display: flex; align-items: center; gap: 22px; padding: 20px; border-radius: 16px; background: var(--soft); border: 1px solid var(--line); }
.net { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; background: var(--ok-tint); color: var(--ok); font-size: 13px; font-weight: 600; min-width: 98px; transition: background 0.4s, color 0.4s; }
.net i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.net.is-off { background: #fdeee7; color: #c4521f; }
.queue { display: flex; gap: 8px; flex-wrap: wrap; }
.queue span { padding: 7px 11px; border-radius: 9px; background: #fff; border: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--ink-2); opacity: 0; transform: translateY(6px); transition: opacity 0.35s, transform 0.45s var(--ease), border-color 0.4s, color 0.4s, background 0.4s; }
.queue span.is-in { opacity: 1; transform: none; }
.queue span.is-sent { border-color: rgb(18 138 74 / 35%); color: var(--ok); background: var(--ok-tint); }

/* ------------------------------------------------------------------ add-on */
.addon { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 48px; padding: 64px; border-radius: 28px; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.addon::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 90% at 85% 50%, rgb(10 102 228 / 45%), transparent 70%); }
.addon .eyebrow { color: #7fb2ff; }
.addon h2 { color: #fff; }
.addon p:not(.eyebrow) { color: #a9b3c4; margin: 18px 0 32px; font-size: 18px; max-width: 30em; }
.addon:hover .arrow { transform: translateX(3px); }
.addon-art { position: relative; height: 260px; }
.addon-art > span { position: absolute; border-radius: 22px; border: 1px solid rgb(255 255 255 / 12%); background: rgb(255 255 255 / 4%); transition: transform 0.6s var(--ease); }
.tile-a { inset: 10% 38% 38% 6%; }
.tile-b { inset: 38% 6% 6% 38%; background: rgb(10 102 228 / 22%) !important; border-color: rgb(127 178 255 / 40%) !important; }
.tile-c { inset: 6% 6% 66% 66%; }
.plug { left: 50%; top: 50%; width: 56px; height: 56px; translate: -50% -50%; display: grid; place-items: center; background: #fff !important; border: 0 !important; box-shadow: 0 12px 32px rgb(0 0 0 / 35%); }
.plug svg { width: 24px; height: 24px; fill: none; stroke: var(--brand); stroke-width: 2.2; stroke-linecap: round; }
.addon:hover .tile-a { transform: translate(-6px, -6px); }
.addon:hover .tile-b { transform: translate(6px, 6px); }
.addon:hover .tile-c { transform: translate(6px, -6px); }

/* ------------------------------------------------------------------ pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.plan h3 { font-size: 20px; }
.plan-for { margin-top: 6px; color: var(--muted); font-size: 15px; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 26px 0 26px; padding-top: 26px; border-top: 1px solid var(--line); }
.price strong { font-size: 40px; font-weight: 600; letter-spacing: -0.035em; }
.price span { color: var(--muted); font-size: 15px; }
.plan ul { display: grid; gap: 12px; margin-bottom: 32px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-2); }
.plan li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 4px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 8.3 2.8 2.8 6.2-6.6' fill='none' stroke='%230a66e4' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.plan .btn { width: 100%; }
.plan-pro { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow-2); }
.plan-badge { position: absolute; top: -12px; left: 32px; padding: 4px 11px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 600; }

/* ------------------------------------------------------------------ download */
.download { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.stores { display: grid; gap: 12px; }
.store { display: flex; align-items: center; gap: 18px; padding: 20px 24px; border-radius: 18px; border: 1px solid var(--line); background: #fff; transition: border-color 0.25s, transform 0.3s var(--ease), box-shadow 0.3s; }
.store:hover { border-color: var(--line-2); transform: translateY(-2px); box-shadow: var(--shadow-2); }
.store svg { width: 34px; height: 34px; fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.store span { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; }
.store small { display: block; font-size: 13px; font-weight: 450; color: var(--muted); letter-spacing: 0; }

/* ------------------------------------------------------------------ FAQ */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-size: 17px; font-weight: 550; letter-spacing: -0.01em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; background: linear-gradient(currentColor, currentColor) center / 12px 1.6px no-repeat, linear-gradient(currentColor, currentColor) center / 1.6px 12px no-repeat; transition: transform 0.3s var(--ease); color: var(--muted); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 40px 24px 0; color: var(--ink-2); }

/* ------------------------------------------------------------------ closing & footer */
.closing { padding: 120px 0; }
.closing-inner { padding: 88px 48px; border-radius: 28px; text-align: center; color: #fff; background: radial-gradient(80% 120% at 50% 0%, #1a73ec 0%, #0a4fb6 55%, #083d8d 100%); }
.closing-inner h2 { color: #fff; }
.closing-inner p { margin-top: 14px; color: rgb(255 255 255 / 78%); font-size: 18px; }
.closing-inner .hero-actions { justify-content: center; }
.footer { border-top: 1px solid var(--line); padding: 64px 0 32px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-note { margin-top: 14px; color: var(--muted); max-width: 22em; }
.footer nav { display: grid; gap: 10px; align-content: start; }
.footer nav strong { font-weight: 600; margin-bottom: 4px; }
.footer nav a { color: var(--muted); transition: color 0.2s; }
.footer nav a:hover { color: var(--ink); }
.footer-base { display: flex; justify-content: space-between; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }

/* ------------------------------------------------------------------ motion: reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1080px) {
  .hero-grid, .split, .download, .faq-grid { grid-template-columns: 1fr; gap: 56px; }
  .split-reverse .split-copy { order: 0; }
  .hero { padding-top: 48px; }
  .notice { right: 12px; }
  .addon { grid-template-columns: 1fr; padding: 48px; }
  .addon-art { display: none; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .band { padding: 88px 0; }
  .bento, .plans { grid-template-columns: 1fr; }
  .cell-wide { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .made-for { margin-top: 56px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 40px); }
  .till { grid-template-columns: 1fr; }
  .till-cart { border-top: 1px solid var(--line); }
  .till-grid { grid-template-columns: repeat(2, 1fr); }
  .tile[data-tile="4"], .tile[data-tile="5"] { display: none; }
  .notice { left: 12px; right: 12px; top: 46px; }
  .match { padding: 16px; }
  .txn b { display: none; }
  .txn { grid-template-columns: 1fr; }
  .stock-row { grid-template-columns: 1fr auto; }
  .stock-row .meter { grid-column: 1 / -1; grid-row: 2; }
  .order-card { right: 12px; top: auto; bottom: 28px; width: 220px; }
  .txn, .order { min-height: 104px; align-content: start; }
  .order em { top: auto; bottom: 10px; right: 10px; }
  .match { grid-template-columns: 1fr 1fr; gap: 12px; }
  .match-wires { display: none; }
  .addon { padding: 36px 28px; }
  .store-scene { place-items: center; padding-left: 0; }
  .closing-inner { padding: 64px 24px; }
  .footer-base { flex-direction: column; gap: 6px; }
  .offline { flex-direction: column; align-items: flex-start; }
}

/* ------------------------------------------------------------------ 404 */
.notfound { min-height: 100vh; display: grid; align-content: center; justify-items: start; gap: 22px; width: min(640px, 100% - 48px); margin-inline: auto; }
.notfound h1 { margin-top: 24px; }
.notfound p { color: var(--ink-2); font-size: 18px; }
.notfound .hero-actions { margin-top: 12px; }
