/* SincA ERP landing page: premium, clean visual system */

:root {
  --red: #ed1c24;
  --red-hover: #d3121a;
  --red-text: #d3121a;
  --red-soft: rgba(237, 28, 36, .07);
  --red-line: rgba(237, 28, 36, .28);
  --green: #1a8f4c;
  --amber: #a8650a;
  --paper: #fbfaf5;
  --ink: #131314;

  --bg: #ffffff;
  --bg-alt: #f7f7f5;
  --surface: #ffffff;
  --surface-2: #f2f2ef;
  --border: #e7e6e2;
  --text: #0c0c0d;
  --text-2: #3d3d42;
  --muted: #75757c;
  --nav-bg: rgba(255, 255, 255, .78);
  --shadow: 0 1px 2px rgba(12, 12, 13, .04), 0 14px 34px -10px rgba(12, 12, 13, .10);
  --shadow-lg: 0 2px 6px rgba(12, 12, 13, .04), 0 44px 90px -28px rgba(12, 12, 13, .24);

  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

:root[data-theme="dark"] {
  --red-text: #ff5d63;
  --red-soft: rgba(237, 28, 36, .13);
  --red-line: rgba(237, 28, 36, .4);
  --green: #35c476;
  --amber: #f0a63a;
  --paper: #f5f2e9;

  --bg: #09090b;
  --bg-alt: #0e0e11;
  --surface: #141417;
  --surface-2: #1c1c20;
  --border: #27272c;
  --text: #f5f5f7;
  --text-2: #c8c8ce;
  --muted: #8d8d95;
  --nav-bg: rgba(9, 9, 11, .74);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 14px 34px -10px rgba(0, 0, 0, .5);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, .3), 0 44px 90px -28px rgba(0, 0, 0, .8);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.7; color: var(--text-2); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: background-color .3s, color .3s; }
h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3, h4 { color: var(--text); line-height: 1.15; font-weight: 600; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--red); color: #fff; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--red); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font-weight: 500; font-size: 15px; line-height: 1.2; border: 1px solid transparent; white-space: nowrap; transition: transform .25s var(--ease), background-color .25s, border-color .25s, box-shadow .25s, color .25s; }
.btn svg { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.btn:hover svg:last-child { transform: translateX(3px); }
.btn--primary, .btn--ink { background: var(--red); color: #fff; box-shadow: 0 8px 22px -10px rgba(237, 28, 36, .65); }
.btn--primary:hover, .btn--ink:hover { background: var(--red-hover); transform: translateY(-1px); box-shadow: 0 12px 26px -10px rgba(237, 28, 36, .7); }
.btn--ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--text); transform: translateY(-1px); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid var(--border); background: var(--surface); color: var(--text); transition: border-color .25s; }
.icon-btn:hover { border-color: var(--text); }
.icon-btn svg { grid-area: 1 / 1; width: 18px; height: 18px; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s; }
.nav.is-stuck { background: var(--nav-bg); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border-bottom-color: var(--border); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 70px; }
.nav__logo { display: inline-flex; color: var(--text); }
.nav__logo svg { width: 98px; height: 36px; stroke: none; }
.nav__links { display: flex; align-items: center; gap: 34px; font-size: 14.5px; color: var(--muted); }
.nav__links a:not(.btn) { transition: color .2s; }
.nav__links a:not(.btn):hover { color: var(--text); }
.nav__links i { display: none; }
.nav__act { display: flex; align-items: center; gap: 10px; }
.nav__burger, .nav__cta-m { display: none; }
.i-moon, :root[data-theme="dark"] .i-moon { display: none; }
.i-sun { display: none; }
:root[data-theme="dark"] .i-sun { display: block; }
:root:not([data-theme="dark"]) .i-moon { display: block; }
.i-close, .nav.is-open .i-open { display: none; }
.nav.is-open .i-close { display: block; }

/* Hero */
.hero { position: relative; padding: 168px 0 150px; overflow: hidden; background: radial-gradient(70% 46% at 50% 0%, var(--red-soft), transparent 70%); }
.hero__star { position: absolute; left: 50%; top: 40px; width: min(96vw, 1100px); height: auto; aspect-ratio: 162 / 167; margin-left: calc(min(96vw, 1100px) / -2); fill: none; stroke: var(--red); stroke-width: .25; opacity: .09; transform: rotate(calc(8deg + var(--r, 0deg))); transform-origin: 50% 55%; pointer-events: none; }
.hero__in { position: relative; display: grid; gap: 72px; justify-items: center; }
.hero__copy { max-width: 860px; text-align: center; }
.kicker { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 14px; padding: 6px 16px 6px 6px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-size: 13px; color: var(--muted); box-shadow: var(--shadow); }
.kicker b { background: var(--red-soft); color: var(--red-text); padding: 3px 12px; border-radius: 999px; font-weight: 500; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.75rem); font-weight: 600; line-height: 1.04; letter-spacing: -.045em; margin: 28px 0 24px; }
.hero h1 em { font-style: normal; color: var(--red); }
.lead { font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 640px; margin-inline: auto; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 36px 0 16px; }
.hero__note { font-size: 13px; color: var(--muted); }
.platforms { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 26px; margin-top: 34px; font-size: 14px; color: var(--text-2); }
.platforms__l { color: var(--muted); }
.platforms span:not(.platforms__l) { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.platforms svg { width: 17px; height: 17px; color: var(--muted); }

/* Hero mock: mirrors the SincA Web dashboard */
.hero__visual { position: relative; perspective: 1400px; }
.mock {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow); transform: rotateY(-9deg) rotateX(4deg); transform-style: preserve-3d;
  transition: transform .5s var(--ease); will-change: transform; font-size: 11px; line-height: 1.35;
}
.mock small { font-size: 9.5px; color: var(--muted); }
.mock__bar { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.mock__logo { width: 46px; height: 17px; stroke: none; color: var(--text); }
.mock__tab { padding: 3px 10px; border-radius: 99px; font-size: 10px; font-weight: 600; color: var(--red-text); background: var(--red-soft); border: 1px solid var(--red-line); }
.mock__search, .mock__store { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; color: var(--muted); }
.mock__search { margin-left: auto; padding: 4px 10px; border-radius: 99px; border: 1px solid var(--border); background: var(--bg); min-width: 110px; }
.mock__store { color: var(--text-2); font-weight: 500; }
.mock__bar svg:not(.mock__logo) { width: 11px; height: 11px; }
.mock__body { display: grid; grid-template-columns: 100px minmax(0, 1fr); }
.mock__side { display: grid; align-content: start; gap: 2px; padding: 10px 8px; border-right: 1px solid var(--border); }
.mock__side b { display: flex; align-items: center; gap: 7px; padding: 5px 8px; border-radius: 99px; font-size: 10.5px; font-weight: 500; color: var(--muted); border: 1px solid transparent; }
.mock__side b.on { color: var(--text); background: var(--red-soft); border-color: var(--red-line); }
.mock__side b.on svg { color: var(--red); }
.mock__side svg { width: 13px; height: 13px; }
.mock__main { padding: 10px; display: grid; gap: 8px; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); grid-template-areas: "acts used" "week status"; }
.mk { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 10px; min-width: 0; }
.mk--acts { grid-area: acts; } .mk--used { grid-area: used; } .mk--week { grid-area: week; } .mk--status { grid-area: status; }
.mk__h { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; margin-bottom: 8px; }
.mk__h span { font-size: 11px; font-weight: 600; color: var(--text); white-space: nowrap; }
.mk__h small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
.acts > div { display: grid; grid-template-columns: 1fr auto; gap: 1px 6px; padding: 6px 8px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); opacity: 0; }
.is-in .acts > div { animation: rowIn .5s var(--ease) forwards; }
@keyframes rowIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.acts > div:nth-child(1) { animation-delay: .3s } .acts > div:nth-child(2) { animation-delay: .38s } .acts > div:nth-child(3) { animation-delay: .46s }
.acts > div:nth-child(4) { animation-delay: .54s } .acts > div:nth-child(5) { animation-delay: .62s } .acts > div:nth-child(6) { animation-delay: .7s }
.acts > div { grid-template-columns: minmax(0, 1fr) auto; }
.acts p { display: flex; align-items: center; gap: 4px; margin: 0; min-width: 0; white-space: nowrap; overflow: hidden; }
.acts b { font-weight: 600; color: var(--text); font-size: 10px; }
.acts i { font-style: normal; font-size: 8.5px; font-weight: 600; padding: 1px 6px; border-radius: 99px; background: #3b82f6; color: #fff; }
.acts strong { font-size: 10.5px; font-weight: 600; color: var(--text); text-align: right; font-variant-numeric: tabular-nums; }
.acts small { grid-column: 1 / -1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk--used ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
.mk--used li { display: grid; gap: 4px; padding: 7px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); font-size: 9.5px; font-weight: 500; color: var(--text); line-height: 1.2; }
.mk--used li svg { width: 14px; height: 14px; color: var(--amber); }
.mk--used dl { display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; margin-top: 9px; font-size: 10px; }
.mk--used dt { color: var(--muted); }
.mk--used dd { color: var(--text); font-weight: 600; }
.area { display: block; width: 100%; height: 74px; stroke: none; }
.area__fill { fill: url(#mkGrad); stroke: none; opacity: 0; }
.area__line { fill: none; stroke: #3b82f6; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.is-in .area__line { animation: draw 1.6s .5s var(--ease) forwards; }
.is-in .area__fill { animation: fadeIn 1s 1.2s ease forwards; }
.donut { display: flex; align-items: center; gap: 10px; }
.donut svg { width: 62px; height: 62px; flex: none; transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 11; stroke-linecap: butt; }
.donut__t { stroke: var(--border); }
.donut__v { stroke: #3b82f6; stroke-dasharray: 1; stroke-dashoffset: 1; }
.is-in .donut__v { animation: draw 1.4s .7s var(--ease) forwards; }
.donut dl { flex: 1; min-width: 0; display: grid; grid-template-columns: 1fr auto; gap: 3px 6px; font-size: 9.5px; }
.donut dt { display: flex; align-items: center; gap: 5px; color: var(--muted); }
.donut dt i { width: 6px; height: 6px; border-radius: 50%; background: #3b82f6; }
.donut dt i.e { background: var(--green); } .donut dt i.p { background: var(--red); }
.donut dd { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.mock__status { display: flex; align-items: center; gap: 12px; padding: 6px 12px; border-top: 1px solid var(--border); background: var(--surface-2); font-size: 9.5px; color: var(--muted); }
.mock__status .demo { padding: 2px 8px; border-radius: 99px; background: rgba(245, 158, 11, .16); color: var(--amber); font-weight: 600; }
.mock__status span:nth-child(2) { margin-left: auto; color: var(--red-text); }
.up, .ok { color: var(--green); }
.warn, .due { color: var(--amber); }


/* Mock presentation */
.hero__visual { position: relative; width: 100%; max-width: 1000px; perspective: none; }
.mock { zoom: 1.36; border-radius: 14px; border: 1px solid var(--border); box-shadow: var(--shadow-lg); transform: none; }
.mock .mk { border-radius: 10px; }
.mock .acts > div, .mock .mk--used li { border-radius: 7px; }

/* Printed slip under the mock */
.slip { position: absolute; right: 7%; top: calc(100% - 4px); width: 236px; padding: 16px 16px 14px; background: var(--paper); color: var(--ink); font-size: 11.5px; line-height: 1.45; clip-path: inset(0 0 100% 0); filter: drop-shadow(0 18px 22px rgba(12, 12, 13, .16)); }
.is-in .slip { animation: print 1.5s 1s steps(14) forwards; }
.slip::after, .receipt::after, .ticket::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 7px; background: linear-gradient(135deg, var(--paper) 5px, transparent 0) 0 0 / 14px 7px, linear-gradient(-135deg, var(--paper) 5px, transparent 0) 0 0 / 14px 7px; }
.slip__h { font-weight: 600; text-align: center; padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px dashed rgba(19, 19, 20, .4); letter-spacing: .08em; text-transform: uppercase; font-size: 10.5px; }
.slip li { display: flex; justify-content: space-between; gap: 10px; padding: 2px 0; }
.slip li b { font-weight: 600; color: #1a8f4c; }
.barcode { display: block; height: 30px; margin-top: 12px; opacity: .85; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 5px, var(--ink) 5px 6px, transparent 6px 10px, var(--ink) 10px 14px, transparent 14px 16px, var(--ink) 16px 17px, transparent 17px 21px); }

/* Stats row */
.ticker { border-block: 1px solid var(--border); background: var(--bg); }
.ticker__track { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.ticker ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ticker ul[aria-hidden] { display: none; }
.ticker li { display: grid; gap: 4px; padding: 34px 20px; font-size: 13.5px; line-height: 1.45; color: var(--muted); border-left: 1px solid var(--border); }
.ticker li:first-child { border-left: 0; padding-left: 0; }
.ticker b { font-size: clamp(1.7rem, 2.8vw, 2.3rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; color: var(--text); }

/* Sections */
.section { padding: 128px 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.shead { max-width: 720px; margin-bottom: 64px; }
.split .shead { margin-bottom: 0; }
.shead--stick { position: sticky; top: 120px; }
.idx { display: inline-block; font-size: 13px; font-weight: 500; color: var(--red-text); margin-right: 10px; font-variant-numeric: tabular-nums; }
.label { display: inline-block; font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.shead h2 { font-size: clamp(1.9rem, 3.8vw, 3.1rem); letter-spacing: -.035em; line-height: 1.08; margin-bottom: 18px; }
.sub { color: var(--muted); font-size: 1.08rem; max-width: 560px; }
.sub a { color: var(--red-text); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.shead .btn { margin-top: 30px; }
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 80px; align-items: start; }
.split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }

/* Receipt */
.receipt { position: relative; background: var(--paper); color: var(--ink); padding: 44px 44px 36px; transform: rotate(.6deg); filter: drop-shadow(0 30px 50px rgba(12, 12, 13, .16)) drop-shadow(0 2px 4px rgba(12, 12, 13, .06)); margin-bottom: 12px; }
.receipt::before { content: ''; position: absolute; left: 0; right: 0; bottom: 100%; height: 7px; background: linear-gradient(45deg, var(--paper) 5px, transparent 0) 0 100% / 14px 7px, linear-gradient(-45deg, var(--paper) 5px, transparent 0) 0 100% / 14px 7px; }
.receipt h3, .receipt p, .receipt strong { color: var(--ink); }
.receipt__top { text-align: center; padding-bottom: 22px; border-bottom: 1px dashed rgba(19, 19, 20, .45); font-size: 11.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.receipt__logo { width: 124px; height: 45px; stroke: none; color: var(--ink); margin-bottom: 6px; }
.receipt__meta { display: flex; justify-content: space-between; margin-top: 14px; font-size: 10.5px; color: #6d6c68; }
.receipt__items > li { padding: 22px 0; border-bottom: 1px dashed rgba(19, 19, 20, .3); }
.ri { display: flex; align-items: baseline; gap: 12px; }
.ri__no { font-size: 11.5px; font-weight: 500; color: var(--red); font-variant-numeric: tabular-nums; }
.ri h3 { font-size: 1.1rem; font-weight: 600; letter-spacing: -.01em; }
.ri i { flex: 1; min-width: 16px; border-bottom: 1px dotted rgba(19, 19, 20, .45); transform: translateY(-4px); }
.ri b { font-size: 12.5px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; color: #4b4a47; }
.receipt__items p { font-size: .92rem; margin: 6px 0 0 30px; color: #4b4a47; }
.receipt__items ul { margin: 8px 0 0 30px; font-size: 12.5px; color: #7b7a75; line-height: 1.75; }
.receipt__items ul li { display: inline; }
.receipt__items ul li + li::before { content: ' · '; color: var(--red); font-weight: 700; }
.receipt__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 22px 0 14px; border-bottom: 1px solid var(--ink); font-weight: 600; }
.receipt__total strong span { font-variant-numeric: tabular-nums; }
.receipt__total > span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.receipt__total strong { font-size: clamp(1.1rem, 2vw, 1.45rem); letter-spacing: -.02em; text-align: right; font-weight: 600; }
.receipt__note { font-size: .88rem; margin-top: 14px; color: #4b4a47; }
.receipt .barcode { height: 46px; margin-top: 24px; }
.receipt__thanks { text-align: center; margin-top: 12px; font-size: 10.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: #6d6c68; }

/* Highlights */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; margin-bottom: 28px; border-radius: 999px; background: var(--surface-2); max-width: 100%; }
.tab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted); transition: background-color .25s, color .25s, box-shadow .25s; }
.tab svg { width: 16px; height: 16px; }
.tab:hover { color: var(--text); }
.tab.is-on { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.tab.is-on svg { color: var(--red); }
.panels { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.panel[hidden] { display: none; }
.panel.is-on .panel__copy > *, .panel.is-on .panel__art > * { animation: fadeUp .5s var(--ease) both; }
.panel.is-on .panel__copy > :nth-child(2) { animation-delay: .06s; }
.panel.is-on .panel__copy > :nth-child(3) { animation-delay: .12s; }
.panel.is-on .panel__art > * { animation-delay: .15s; }
.panel__copy { padding: 60px 56px; }
.panel__copy h3 { font-size: clamp(1.4rem, 2.3vw, 1.9rem); letter-spacing: -.03em; margin-bottom: 14px; }
.panel__copy p { color: var(--muted); margin-bottom: 26px; }
.panel__btn { margin-top: 30px; }
.panel__art { display: grid; place-items: center; padding: 56px 40px 64px; min-height: 360px; background: var(--bg-alt); border-left: 1px solid var(--border); }
.ticks { display: grid; gap: 13px; }
.ticks li { display: flex; gap: 12px; font-size: .97rem; color: var(--text-2); }
.ticks svg { width: 18px; height: 18px; margin-top: 4px; color: var(--red); stroke-width: 2.4; }

.ticket { position: relative; width: 100%; max-width: 350px; background: var(--paper); color: var(--ink); padding: 24px 22px 20px; transform: rotate(-1.2deg); filter: drop-shadow(0 22px 34px rgba(12, 12, 13, .16)); }
.ticket__h { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px dashed rgba(19, 19, 20, .4); }
.ticket__h b { font-weight: 600; font-size: 14.5px; }
.ticket__h em { font-style: normal; font-size: 11.5px; font-weight: 500; padding: 3px 10px; border-radius: 99px; background: rgba(19, 19, 20, .06); }
.ticket .due { color: #a8650a; } .ticket .ok { color: #1a8f4c; }
.ticket dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 13px; }
.ticket dt { color: #7b7a75; }
.ticket dd { text-align: right; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 20px; }
.steps i { height: 5px; border-radius: 99px; background: rgba(19, 19, 20, .12); }
.steps i.done { background: var(--red); }
.steps i.now { background: linear-gradient(90deg, var(--red) 50%, rgba(19, 19, 20, .12) 50%); background-size: 200% 100%; animation: progress 1.8s ease-in-out infinite alternate; }
.steps__l { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 7px; font-size: 10.5px; color: #7b7a75; text-align: center; }
.lines { display: grid; gap: 10px; font-size: 13.5px; }
.lines li { display: flex; justify-content: space-between; gap: 10px; }
.lines b { font-weight: 500; font-size: 12px; color: #7b7a75; }
.chat { width: 100%; max-width: 350px; display: grid; gap: 10px; }
.chat p { font-size: 13.5px; line-height: 1.5; padding: 11px 15px; border-radius: 18px; max-width: 86%; margin: 0; }
.chat .in { background: var(--surface); color: var(--text); border: 1px solid var(--border); border-bottom-left-radius: 5px; }
.chat .out { justify-self: end; background: #1fa855; color: #fff; border-bottom-right-radius: 5px; box-shadow: 0 10px 22px -12px rgba(31, 168, 85, .8); }
.chat small { display: block; margin-top: 4px; font-size: 11px; opacity: .85; }
.sync { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; flex-wrap: wrap; }
.sync span, .tree span { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); font-size: 13px; font-weight: 500; color: var(--text); box-shadow: var(--shadow); }
.sync span svg { width: 24px; height: 24px; color: var(--muted); }
.sync .mid { background: var(--red); border-color: var(--red); color: #fff; }
.sync .mid svg { color: #fff; }
.sync i { flex: 0 1 48px; height: 1px; background: repeating-linear-gradient(90deg, var(--muted) 0 5px, transparent 5px 10px); background-size: 10px 1px; animation: dash 1s linear infinite; }
.tree { display: grid; gap: 34px; justify-items: center; width: 100%; }
.tree > div { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; position: relative; }
.tree > div::before { content: ''; position: absolute; top: -34px; left: 50%; width: 1px; height: 34px; background: var(--border); }
.tree .root { flex-direction: row; background: var(--red); border-color: var(--red); color: #fff; }
.tree .root svg { width: 18px; height: 18px; }

/* Industries */
.indlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; }
.indlist li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 2px 20px; align-items: center; padding: 26px 14px; border-top: 1px solid var(--border); border-radius: 0; transition: background-color .3s, padding .3s var(--ease), opacity .8s var(--ease), transform .8s var(--ease); }
.indlist li:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
.indlist span { grid-row: span 2; font-size: 12.5px; color: var(--muted); align-self: start; padding-top: 5px; font-variant-numeric: tabular-nums; }
.indlist h3 { font-size: clamp(1.08rem, 1.6vw, 1.3rem); letter-spacing: -.02em; }
.indlist p { grid-column: 2; font-size: .93rem; color: var(--muted); }
.indlist svg { grid-column: 3; grid-row: 1 / span 2; width: 28px; height: 28px; stroke-width: 1.3; color: var(--muted); transition: transform .4s var(--ease), color .3s; }
.indlist li:hover { background: var(--bg-alt); padding-left: 22px; }
.indlist li:hover svg { color: var(--red); transform: scale(1.1); }

/* Integrations marquee */
.bigmq { overflow: hidden; margin: -8px 0 72px; display: grid; gap: 14px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.bigmq__track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.bigmq__track--rev { animation-direction: reverse; }
.bigmq:hover .bigmq__track { animation-play-state: paused; }
.bigmq span { display: inline-flex; align-items: center; margin-right: 14px; padding: 14px 30px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-size: clamp(1.05rem, 1.8vw, 1.4rem); font-weight: 500; letter-spacing: -.02em; white-space: nowrap; color: var(--text); }
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.cols3 article { border-top: 1px solid var(--border); padding-top: 26px; }
.cols3 svg { width: 26px; height: 26px; color: var(--red); margin-bottom: 16px; stroke-width: 1.4; }
.cols3 h3 { font-size: 1.15rem; letter-spacing: -.02em; margin-bottom: 8px; }
.cols3 p { font-size: .95rem; color: var(--muted); }

/* Compliance */
.stamps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.stamp { padding: 30px 28px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); transition: box-shadow .35s, transform .35s var(--ease), opacity .8s var(--ease); }
.stamp:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.stamp__mark { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.stamp__mark b { font-size: 1.6rem; font-weight: 600; letter-spacing: -.03em; color: var(--text); }
.stamp__mark small { white-space: nowrap; font-size: 12px; font-weight: 500; padding: 4px 12px; border-radius: 999px; background: var(--red-soft); color: var(--red-text); }
.stamp p { font-size: .93rem; color: var(--muted); }

/* FAQ */
.faq__list { border-top: 1px solid var(--border); }
details { border-bottom: 1px solid var(--border); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 4px; cursor: pointer; list-style: none; font-weight: 500; color: var(--text); font-size: 1.06rem; letter-spacing: -.01em; }
summary::-webkit-details-marker { display: none; }
summary svg { width: 32px; height: 32px; padding: 7px; border-radius: 50%; border: 1px solid var(--border); color: var(--text); transition: transform .35s var(--ease), background-color .25s, color .25s, border-color .25s; }
summary:hover svg { border-color: var(--text); }
details[open] summary svg { transform: rotate(45deg); background: var(--red-soft); border-color: transparent; color: var(--red-text); }
details p { padding: 0 60px 26px 4px; color: var(--muted); font-size: .98rem; animation: fadeUp .4s var(--ease); }
details p a { color: var(--red-text); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

/* CTA */
.cta { padding: 128px 0; }
.cta__star { display: none; }
.cta__in { position: relative; max-width: 1104px; width: calc(100% - 56px); padding: 96px 56px; border-radius: 32px; text-align: center; color: #c8c8ce; background: radial-gradient(70% 90% at 50% 0%, rgba(237, 28, 36, .34), transparent 62%), #0c0c0d; border: 1px solid #27272c; }
.cta .label { color: #8d8d95; }
.cta h2 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.6rem); letter-spacing: -.04em; line-height: 1.06; max-width: 760px; margin: 0 auto 20px; }
.cta__sub { max-width: 580px; margin: 0 auto 36px; font-size: 1.08rem; }
.cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 44px; }
.btn--line { border-color: rgba(255, 255, 255, .22); color: #fff; }
.btn--line:hover { border-color: #fff; transform: translateY(-1px); }
.cta__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 32px; font-size: 14px; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, .1); }
.cta__meta li { display: flex; align-items: center; gap: 8px; }
.cta__meta svg { width: 16px; height: 16px; color: #8d8d95; }
.cta__meta a { transition: color .2s; }
.cta__meta a:hover { color: #fff; }
.cta :focus-visible { outline-color: #fff; }

/* Footer */
.foot { border-top: 1px solid var(--border); padding-top: 72px; font-size: 14.5px; overflow: hidden; }
.foot__in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 24px; }
.foot__brand p { color: var(--muted); max-width: 330px; }
.foot h4 { font-size: 13px; font-weight: 500; color: var(--text); margin-bottom: 16px; }
.foot nav, .foot address { display: grid; gap: 10px; align-content: start; font-style: normal; color: var(--muted); }
.foot nav a, .foot address a { width: fit-content; transition: color .2s; }
.foot nav a:hover, .foot address a:hover { color: var(--text); }
.foot__mega { display: block; width: 100%; height: auto; aspect-ratio: 454.51 / 166.23; stroke: none; color: var(--text); opacity: .07; margin: 0 0 20px; }
.foot__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-block: 22px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.receipt.reveal { transform: translateY(24px) rotate(.6deg); }
.receipt.reveal.is-in { transform: rotate(.6deg); }

/* Scroll-driven bill: lines print as they pass, the till counts along */
.receipt__items > li { position: relative; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.receipt__items > li::before { content: ''; position: absolute; left: -44px; top: 22px; bottom: 22px; width: 3px; background: var(--red); transform: scaleY(0); transform-origin: top; transition: transform .45s var(--ease); }
.receipt.js-bill .receipt__items > li:not(.is-on) { opacity: .16; transform: translateX(10px); }
.receipt.js-bill .receipt__items > li.is-now::before { transform: scaleY(1); }
.receipt.js-bill .receipt__total, .receipt.js-bill .receipt__note, .receipt.js-bill .receipt__thanks { transition: opacity .5s var(--ease); }
.receipt.js-bill:not(.is-done) .receipt__note, .receipt.js-bill:not(.is-done) .receipt__thanks { opacity: .16; }
.receipt .barcode { position: relative; overflow: hidden; }
.receipt .barcode::after { content: ''; position: absolute; top: 0; bottom: 0; left: -12%; width: 12%; background: linear-gradient(90deg, transparent, rgba(237, 28, 36, .85), transparent); opacity: 0; }
.receipt.is-done .barcode::after { animation: scan 1.6s .2s ease-in-out 2; }

.till { margin-top: 34px; padding: 26px 28px 24px; border-radius: 22px; background: #0c0c0d; color: #c8c8ce; border: 1px solid #27272c; box-shadow: var(--shadow-lg); max-width: 400px; }
.till__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #8d8d95; }
.till__row i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: blink 1.4s ease-in-out infinite; }
.till__name { display: block; margin-top: 10px; min-height: 1.5em; font-size: 1.15rem; font-weight: 500; color: #fff; letter-spacing: -.02em; }
.till__num { display: flex; align-items: baseline; gap: 12px; margin: 14px 0 18px; }
.till__num strong { font-size: clamp(3rem, 5.4vw, 4.4rem); font-weight: 600; line-height: 1; letter-spacing: -.05em; color: #fff; font-variant-numeric: tabular-nums; min-width: 2.1ch; }
.till__num span { font-size: 14px; color: #8d8d95; }
.till__bar { height: 4px; border-radius: 99px; background: #27272c; overflow: hidden; }
.till__bar i { display: block; height: 100%; width: 100%; border-radius: 99px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.till__dots { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; margin-top: 16px; }
.till__dots i { height: 26px; border-radius: 7px; background: #1a1a1e; border: 1px solid #27272c; display: grid; place-items: center; font-style: normal; font-size: 10.5px; color: #5b5b63; transition: background-color .35s, color .35s, border-color .35s, transform .35s var(--ease); }
.till__dots i.is-on { background: rgba(237, 28, 36, .16); border-color: rgba(237, 28, 36, .5); color: #ff8a8f; }
.till__dots i.is-now { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-3px); }
.till__done { margin-top: 16px; font-size: 13px; color: #35c476; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s var(--ease); }
.till.is-done .till__done { opacity: 1; transform: none; }
.till.is-done .till__row i { background: #35c476; animation: none; }
@keyframes scan { 0% { left: -12%; opacity: 1; } 100% { left: 100%; opacity: 1; } }
@keyframes blink { 50% { opacity: .25; } }

@keyframes print { to { clip-path: inset(0 0 -10px 0); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes progress { to { background-position: -100% 0; } }
@keyframes dash { to { background-position: 10px 0; } }

/* Responsive */
@media (max-width: 1080px) {
  .mock { zoom: 1.15; }
  .split, .split--even { grid-template-columns: 1fr; gap: 48px; }
  .shead--stick { position: static; }
  .foot__in { grid-template-columns: 1fr 1fr; }
  .ticker ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ticker li:nth-child(4) { border-left: 0; padding-left: 0; }
  .ticker li:nth-child(n+4) { border-top: 1px solid var(--border); }
}
@media (max-width: 900px) {
  .nav__burger { display: inline-grid; }
  .nav__cta { display: none; }
  .nav__cta-m { display: inline-flex; margin-top: 18px; }
  .nav__links { position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 28px 28px; background: var(--bg); border-bottom: 1px solid var(--border); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
  .nav.is-open { background: var(--bg); }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; }
  .nav__links a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--border); font-size: 16px; color: var(--text); }
  .mock { zoom: 1; }
  .panel { grid-template-columns: 1fr; }
  .panel__art { border-left: 0; border-top: 1px solid var(--border); min-height: 0; }
  .panel__copy { padding: 40px 30px; }
  .indlist { grid-template-columns: 1fr; }
  .indlist li:nth-last-child(2) { border-bottom: 0; }
  .cols3 { grid-template-columns: 1fr; gap: 32px; }
  .section, .cta { padding: 96px 0; }
}
@media (max-width: 620px) {
  .container { padding: 0 20px; }
  .hero { padding: 120px 0 170px; }
  .hero__in { gap: 52px; }
  .kicker span { display: none; }
  .kicker { padding-right: 6px; }
  .hero__cta .btn, .cta__btns .btn { flex: 1 1 100%; }
  .mock__body { grid-template-columns: 38px minmax(0, 1fr); }
  .mock__side { padding: 8px 5px; }
  .mock__side b { justify-content: center; padding: 6px 0; }
  .mock__side b span, .mock__search, .mk--used { display: none; }
  .mock__store { margin-left: auto; }
  .mock__main { grid-template-columns: minmax(0, 1fr); grid-template-areas: "acts" "week" "status"; }
  .slip { right: 6%; width: 214px; }
  .ticker__track { padding: 0 20px; }
  .ticker ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ticker li { padding: 22px 14px; border-top: 1px solid var(--border); }
  .ticker li:nth-child(4) { border-left: 1px solid var(--border); padding-left: 14px; }
  .ticker li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .ticker li:nth-child(-n+2) { border-top: 0; }
  .ticker li:last-child { grid-column: 1 / -1; }
  .section, .cta { padding: 76px 0; }
  .shead { margin-bottom: 44px; }
  .receipt { padding: 32px 22px 28px; transform: none; }
  .receipt.reveal.is-in { transform: none; }
  .receipt__items > li::before { left: -22px; }
  .till { position: sticky; top: 78px; z-index: 5; max-width: none; margin-top: 26px; padding: 16px 18px; border-radius: 18px; }
  .till__name { margin-top: 4px; font-size: 1rem; }
  .till__num { margin: 6px 0 10px; }
  .till__num strong { font-size: 2.2rem; }
  .till__dots, .till__done { display: none; }
  #modules .shead { display: contents; }
  #modules .split { display: block; }
  #modules .shead .btn { display: none; }
  #modules .receipt { margin-top: 30px; }
  .receipt__items p, .receipt__items ul { margin-left: 0; }
  .ri { flex-wrap: wrap; }
  .tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; border-radius: 16px; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; padding: 10px 14px; }
  .panel__art { padding: 40px 20px 48px; }
  .stamps { grid-template-columns: 1fr; }
  details p { padding-right: 8px; }
  .cta__in { width: calc(100% - 32px); padding: 64px 24px; border-radius: 24px; }
  .foot__in { grid-template-columns: 1fr; gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .receipt.js-bill .receipt__items > li:not(.is-on) { opacity: 1; transform: none; }
  .slip { clip-path: none; }
  .acts > div { opacity: 1; }
  .area__fill { opacity: 1; }
  .area__line, .donut__v { stroke-dashoffset: 0; }
  .bigmq__track { animation: none !important; }
}
