/* Dotz and Zeros — dotzandzeros.com */

:root {
  --teal: #4E9F98;
  --teal-d: #2F7F79;
  --sky: #7AB5DF;
  --sky-d: #4A8FC4;
  --ink: #0C2630;
  --ink-2: #4B656E;
  --paper: #F3F9F9;
  --white: #fff;
  --night: #081A21;
  --amber: #FFB648;
  --coral: #F2714F;
  --line: rgba(12, 38, 48, .12);

  --display: "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --gut: clamp(20px, 5vw, 72px);
  --cx: 67%;          /* horizontal centre of the device and the receipt */
  --rw: 380px;        /* receipt width */
}
@media (max-width: 899px) {
  :root { --cx: 50%; --rw: min(340px, 84vw); }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--sky-d); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1280px, 100% - var(--gut) * 2); margin-inline: auto; }

/* ------------------------------------------------------------ type */
.display {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(44px, 7.2vw, 118px);
  line-height: .96;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.display span { color: var(--sky-d); }
.display.huge { font-size: clamp(56px, 11.5vw, 190px); }
.kicker {
  display: flex; align-items: center; gap: .7em;
  font: 500 12px/1 var(--mono);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 22px;
}
.kicker b { color: var(--teal); font-weight: 500; }
.lede { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; color: var(--ink-2); max-width: 34em; }
.eyebrow { font: 500 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }

/* ------------------------------------------------------------ buttons */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: .8em;
  padding: 1em 1.7em 1em 1.4em;
  border-radius: 99px;
  background: var(--ink); color: #fff;
  font-weight: 600; line-height: 1;
  box-shadow: 0 14px 34px -14px rgba(47, 127, 121, .85);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.btn::before {
  content: ""; width: .62em; height: .62em; border-radius: 50%;
  background: var(--teal); flex: none;
  box-shadow: 0 0 0 0 rgba(78, 159, 152, .6);
  animation: beacon 2.4s ease-out infinite;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(122, 181, 223, .45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease-out);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -16px rgba(47, 127, 121, .95); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-small { padding: .8em 1.2em .8em 1em; font-size: 14px; }
.btn-big { font-size: clamp(18px, 1.9vw, 26px); padding: 1.15em 1.9em 1.15em 1.5em; }
.btn-big em {
  font: 400 .72em/1 var(--mono); font-style: normal;
  padding-left: 1.1em; margin-left: .3em;
  border-left: 1px solid rgba(255, 255, 255, .28);
  color: #BFE3DF;
}
.link-arrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-weight: 600; border-bottom: 2px solid var(--sky);
  padding-bottom: 3px;
  transition: gap .3s var(--ease-out), border-color .3s;
}
.link-arrow::after { content: "→"; transition: transform .3s var(--ease-out); }
.link-arrow:hover { border-color: var(--teal); }
.link-arrow:hover::after { transform: translateX(4px); }
@keyframes beacon {
  0% { box-shadow: 0 0 0 0 rgba(78, 159, 152, .6); }
  70%, 100% { box-shadow: 0 0 0 .7em rgba(78, 159, 152, 0); }
}

/* ------------------------------------------------------------ header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: 72px; padding: 0 var(--gut);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  color: var(--ink);
  transition: color .5s, background-color .5s, backdrop-filter .5s;
}
.site-header.solid { background: rgba(243, 249, 249, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.site-header.dark { color: #fff; }
.site-header.dark.solid { background: rgba(8, 26, 33, .72); }
.site-header.dark .btn { background: #fff; color: var(--ink); }
.brand img { height: 40px; width: auto; }
.site-nav { display: flex; gap: clamp(18px, 2.6vw, 40px); font-size: 15px; font-weight: 500; }
.site-nav a { position: relative; padding: 6px 0; }
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--teal); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.site-nav a:hover::after { transform: scaleX(1); }
@media (max-width: 899px) {
  .site-header { height: 64px; }
  .site-nav { display: none; }
  .brand img { height: 34px; }
}

/* ------------------------------------------------------------ film */
.film { position: relative; height: 980vh; background: var(--paper); transition: background-color .7s ease; }
body.night .film { background: var(--night); }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
#dots { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.hero-copy {
  position: absolute; left: 0; right: 0; top: 56%;
  padding: 0 var(--gut);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px;
}
.hero-title {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(34px, 5.2vw, 76px); line-height: 1; letter-spacing: -.035em;
}
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.hero-title .c { display: inline-block; }
.hero-sub { font-size: clamp(16px, 1.4vw, 20px); color: var(--ink-2); max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 28px; margin-top: 8px; }
.stage.no-gl::before {
  content: ""; position: absolute; left: 50%; top: 31%;
  width: min(60vw, 620px); aspect-ratio: 548 / 196; transform: translate(-50%, -50%);
  background: url(../assets/logo.png) center / contain no-repeat;
}

.beats { position: absolute; left: var(--gut); top: 0; bottom: 0; width: min(36vw, 500px); pointer-events: none; }
.beat { position: absolute; left: 0; right: 0; top: 52%; visibility: hidden; transition: color .6s; }
.beat h2 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(30px, 3.9vw, 60px); line-height: 1; letter-spacing: -.03em;
  text-wrap: balance; margin-bottom: 18px;
}
.beat p:not(.kicker) { font-size: clamp(16px, 1.35vw, 20px); color: var(--ink-2); max-width: 26em; transition: color .6s; }
.beat-big h2 { font-size: clamp(34px, 4.9vw, 78px); }
.beat-big h2 span { color: var(--amber); display: block; }
body.night .beat { color: #fff; }
body.night .beat p:not(.kicker) { color: #B7CBD1; }
.kicker-alert { color: var(--amber); }
.wifi { width: 46px; height: 37px; flex: none; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; }
.wifi .base { fill: currentColor; stroke: none; }
.wifi .slash { stroke: var(--coral); stroke-dasharray: 42; stroke-dashoffset: 42; }
body.night .wifi .arc { animation: arcdrop 2.6s ease-in-out infinite; }
body.night .wifi .a2 { animation-delay: .2s; }
body.night .wifi .a3 { animation-delay: .4s; }
body.night .wifi .slash { animation: slashin .5s .3s var(--ease-out) forwards; }
@keyframes arcdrop { 0%, 100% { opacity: .22; } 45% { opacity: .7; } }
@keyframes slashin { to { stroke-dashoffset: 0; } }

@media (max-width: 899px) {
  .beats { left: var(--gut); right: var(--gut); width: auto; }
  .beat { top: 84px; }
  .beat h2 { font-size: clamp(27px, 7.6vw, 38px); margin-bottom: 10px; }
  .beat-big h2 { font-size: clamp(29px, 8.4vw, 42px); }
  .beat p:not(.kicker) { font-size: 15px; line-height: 1.45; }
  .beat .kicker { margin-bottom: 12px; }
  .beat-desk { display: none; }
}

/* the device rig: one frame that reshapes from browser to phone to till */
.rig { position: absolute; visibility: hidden; --bar: 34px; --r: 14px; --bz: 1px; --bza: .14; --bzc: 12 38 48; --notch: 0; --slot: 0; }
body.night .rig { --bzc: 36 72 84; }
.rig::before {
  content: ""; position: absolute; inset: -30% -18%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(78, 159, 152, .8), rgba(122, 181, 223, .28) 55%, transparent 74%);
  opacity: 0; transition: opacity .8s;
}
body.night .rig::before { opacity: 1; }
.device {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border-radius: var(--r);
  box-shadow: 0 0 0 var(--bz) rgb(var(--bzc) / var(--bza)), 0 40px 90px -30px rgba(12, 38, 48, .35);
}
.device-bar {
  flex: none; height: var(--bar); overflow: hidden;
  display: flex; align-items: center; gap: 14px; padding: 0 14px;
  background: #E9F1F1; color: var(--ink-2);
  font: 400 11px/1 var(--mono);
}
.device-bar .lights { display: flex; gap: 6px; }
.device-bar .lights i { width: 9px; height: 9px; border-radius: 50%; background: #C3D3D5; }
.device-bar .url { flex: 1; max-width: 300px; background: #fff; border-radius: 99px; padding: 6px 14px; }
.device-notch {
  position: absolute; z-index: 3; top: 9px; left: 50%; translate: -50% 0;
  width: 28%; height: 16px; border-radius: 99px; background: var(--ink);
  opacity: var(--notch);
}
.screens { position: relative; flex: 1; min-height: 0; }
.screen { position: absolute; inset: 0; overflow: hidden; container-type: size; }
.slot {
  position: absolute; z-index: 3; left: 50%; bottom: 0; translate: -50% 0;
  width: 54%; height: 5px; border-radius: 4px 4px 0 0; background: var(--ink);
  opacity: var(--slot);
}

/* mock website */
.screen-web { background: #fff; }
.w-scroll { padding: 0 4cqw 4cqw; }
.w-nav { display: flex; align-items: center; justify-content: space-between; height: 11cqw; font-size: 2.3cqw; font-weight: 600; }
.w-logo { display: flex; align-items: center; gap: 1.4cqw; font-family: var(--display); font-weight: 800; font-size: 3.1cqw; letter-spacing: -.02em; }
.w-logo i { width: 3cqw; height: 3cqw; border-radius: 50%; background: var(--teal); }
.w-links { display: flex; gap: 3cqw; }
.w-links i { width: 8cqw; height: 1.4cqw; border-radius: 1cqw; background: #C9D8DA; }
.w-btn { background: var(--ink); color: #fff; padding: 1.7cqw 3cqw; border-radius: 99px; font-size: 2.1cqw; }
.w-hero {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 4cqw; align-items: center;
  padding: 5cqw; border-radius: 3cqw;
  background-color: #D6EDE9; background-image: linear-gradient(135deg, #DCF0EC, #CFE5F5);
}
.w-copy small { display: inline-block; background-color: var(--amber); padding: .9cqw 2.2cqw; border-radius: 99px; font-size: 1.9cqw; font-weight: 600; }
.w-copy h4 { font-family: var(--display); font-weight: 800; font-size: 5.8cqw; line-height: 1; letter-spacing: -.03em; margin: 2.2cqw 0; }
.w-copy p { font-size: 2.3cqw; line-height: 1.4; color: var(--ink-2); margin-bottom: 3cqw; }
.w-cta { display: inline-block; background-color: var(--coral); color: #fff; padding: 1.9cqw 3.8cqw; border-radius: 99px; font-size: 2.3cqw; font-weight: 600; }
.w-plate { position: relative; aspect-ratio: 1; border-radius: 50%; background-color: var(--teal); display: grid; place-items: center; }
.w-plate i { width: 70%; height: 70%; border-radius: 50%; background-color: #fff; }
.w-plate b { position: absolute; width: 40%; height: 40%; border-radius: 50%; background-color: #7B5340; }
.w-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4cqw; margin-top: 2.4cqw; }
.w-card { border-radius: 2.4cqw; padding: 3cqw; min-height: 16cqw; display: flex; flex-direction: column; justify-content: flex-end; }
.w-card b { font-family: var(--display); font-size: 3.3cqw; line-height: 1.1; }
.w-card span { font-size: 2cqw; opacity: .8; }
.w-card.c1 { background-color: #F2C14E; }
.w-card.c2 { background-color: var(--sky); }
.w-card.c3 { background-color: #EC9477; }
.w-strip { margin-top: 2.4cqw; background-color: var(--ink); color: #fff; border-radius: 2.4cqw; padding: 3.4cqw 4cqw; display: flex; justify-content: space-between; align-items: center; font-size: 2.6cqw; font-weight: 600; }
.w-strip-btn { background-color: var(--teal); padding: 1.5cqw 3cqw; border-radius: 99px; font-size: 2.1cqw; }

/* mock phone app */
.screen-app { background: #F4F9F9; }
.a-body { position: absolute; inset: 0; padding: 11cqw 6cqw 0; display: flex; flex-direction: column; gap: 3.6cqw; font-size: 4.1cqw; line-height: 1.3; }
.a-status { display: flex; justify-content: space-between; align-items: center; font: 500 3.3cqw/1 var(--mono); color: var(--ink-2); }
.a-status i { width: 9cqw; height: 3cqw; border-radius: 2cqw; background: var(--ink-2); opacity: .5; }
.a-head small { display: block; color: var(--ink-2); font-size: 3.6cqw; }
.a-head b { display: block; font-family: var(--display); font-weight: 800; font-size: 8.6cqw; line-height: 1.05; letter-spacing: -.03em; }
.a-card { background: var(--teal); color: #fff; border-radius: 5cqw; padding: 5cqw; display: grid; gap: 1.4cqw; }
.a-card span { font-size: 3.2cqw; opacity: .85; }
.a-card b { font-family: var(--display); font-weight: 700; font-size: 5.2cqw; line-height: 1.1; }
.a-card em { font-style: normal; font-size: 3.1cqw; justify-self: start; background: rgba(255, 255, 255, .22); padding: 1.2cqw 2.8cqw; border-radius: 99px; margin-top: 1cqw; }
.a-list { display: grid; gap: 2.2cqw; }
.a-list li { display: flex; align-items: center; gap: 3.4cqw; background: #fff; border-radius: 4cqw; padding: 2.6cqw 3.6cqw; box-shadow: 0 1px 0 var(--line); }
.a-list i { width: 9cqw; height: 9cqw; border-radius: 50%; background: var(--c); flex: none; }
.a-list span { flex: 1; font-weight: 600; }
.a-list b { font: 500 3.6cqw/1 var(--mono); }
.a-cta { margin-top: auto; background: var(--ink); color: #fff; text-align: center; padding: 4.2cqw; border-radius: 99px; font-weight: 600; }
.a-tabs { display: flex; justify-content: space-around; padding: 2.4cqw 0 5cqw; }
.a-tabs i { width: 5.4cqw; height: 5.4cqw; border-radius: 50%; border: 1.2cqw solid #C9D8DA; }
.a-tabs i.on { background: var(--teal); border-color: var(--teal); }

/* the till (film and live demo share this) */
.till {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  background: #EFF5F5; color: var(--ink);
  font-family: var(--body); font-size: clamp(9px, 1.8cqw, 16px); line-height: 1.3;
}
.till-top { display: flex; justify-content: space-between; align-items: center; gap: 1em; padding: 1.5cqw 2.2cqw; background: #fff; border-bottom: 1px solid var(--line); }
.till-name { display: flex; align-items: center; gap: .55em; font-family: var(--display); font-weight: 800; font-size: 1.22em; letter-spacing: -.02em; white-space: nowrap; }
.till-name i { width: .7em; height: .7em; border-radius: 50%; background: var(--teal); }
.till-name em { font: 400 .68em/1 var(--mono); font-style: normal; color: var(--ink-2); letter-spacing: 0; }
.net-pill {
  display: flex; align-items: center; gap: .5em; padding: .42em .95em; border-radius: 99px;
  background: #E1F1EF; color: var(--teal-d); font-weight: 600; font-size: .9em; white-space: nowrap;
  transition: background-color .4s, color .4s;
}
.net-pill i { width: .6em; height: .6em; border-radius: 50%; background: currentColor; }
.till[data-net="off"] .net-pill { background: var(--amber); color: #3B2500; }
.till[data-net="off"] .net-pill i { animation: blink 1s steps(2, jump-none) infinite; }
.till[data-net="sync"] .net-pill { background: #DCEBFA; color: #2E6FA3; }
@keyframes blink { 50% { opacity: .25; } }
.till-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.5cqw; padding: 1.5cqw; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(3, 1fr); gap: 1.1cqw; min-height: 0; }
.tile {
  position: relative; overflow: hidden; min-width: 0; min-height: 0;
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
  padding: 1.2cqw; border: 0; border-radius: 1.5cqw; background: #fff; text-align: left;
  box-shadow: 0 1px 0 var(--line);
}
button.tile { cursor: pointer; transition: transform .15s, box-shadow .2s; }
button.tile:hover { box-shadow: 0 0 0 2px var(--sky); }
button.tile:active { transform: scale(.96); }
.tile i { width: 1.5em; height: 1.5em; border-radius: 50%; background: var(--c); flex: none; }
.tile span { font-weight: 600; line-height: 1.1; }
.tile em { font: 400 .82em/1 var(--mono); font-style: normal; color: var(--ink-2); }
.tile::after {
  content: ""; position: absolute; left: 1.2cqw; top: 1.2cqw; width: 1.5em; height: 1.5em;
  border-radius: 50%; border: 2px solid var(--c); opacity: 0; pointer-events: none;
}
.tile.hit { animation: tap .45s var(--ease-out); }
.tile.hit::after { animation: ripple .8s var(--ease-out); }
@keyframes tap { 30% { transform: scale(.93); background: #E1F1EF; } }
@keyframes ripple { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(7); } }
.order { display: flex; flex-direction: column; min-height: 0; padding: 1.5cqw; background: #fff; border-radius: 1.6cqw; box-shadow: 0 1px 0 var(--line); }
.order-head { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; padding-bottom: .6em; border-bottom: 1px dashed var(--line); }
.order-no { font: 500 .88em/1 var(--mono); color: var(--ink-2); }
.lines { flex: 1; min-height: 0; overflow: hidden; display: grid; align-content: start; gap: .5em; padding: .7em 0; }
.lines li { display: flex; justify-content: space-between; gap: 1em; animation: linein .4s var(--ease-out) both; }
.lines li:nth-child(2) { animation-delay: .06s; }
.lines li:nth-child(3) { animation-delay: .12s; }
.lines li b { font: 400 .92em/1.3 var(--mono); }
.lines .empty { color: var(--ink-2); font-size: .92em; }
@keyframes linein { from { opacity: 0; transform: translateX(-8px); } }
.order-total { display: flex; justify-content: space-between; align-items: baseline; padding: .55em 0; border-top: 1px dashed var(--line); font-weight: 600; }
.order-total b { font: 500 1.7em/1 var(--mono); letter-spacing: -.03em; }
.charge { display: block; width: 100%; padding: .8em; border: 0; border-radius: 1.2cqw; background: var(--teal); color: #fff; font-weight: 600; font-size: 1.05em; text-align: center; transition: background-color .25s, transform .15s; }
button.charge { cursor: pointer; }
button.charge:hover { background: var(--teal-d); }
button.charge:active { transform: scale(.97); }
.charge.paid { background: var(--ink); }
.takings { display: flex; justify-content: space-between; margin-top: .7em; font-size: .85em; color: var(--ink-2); }
.takings b { font: 500 1em/1.3 var(--mono); color: var(--ink); }
@container (max-width: 520px) {
  .till { font-size: clamp(9px, 3.1cqw, 13px); }
  .till-top { padding: 2.4cqw 3cqw; }
  .till-body { grid-template-columns: 1fr; grid-template-rows: 1.15fr 1fr; gap: 2cqw; padding: 2cqw; }
  .tiles { gap: 1.6cqw; }
  .tile { padding: 1.8cqw; border-radius: 2.2cqw; }
  .tile em { display: none; }
  .tile i { width: 1.2em; height: 1.2em; }
  .tile::after { left: 1.8cqw; top: 1.8cqw; width: 1.2em; height: 1.2em; }
  .order { padding: 2.4cqw 3cqw; border-radius: 2.4cqw; }
  .order-head { padding-bottom: .4em; }
  .lines { padding: .4em 0; gap: .25em; }
  .order-total { padding: .35em 0; }
  .order-total b { font-size: 1.4em; }
  .charge { padding: .6em; border-radius: 2cqw; }
  .takings { margin-top: .45em; }
}

/* cloud, wire and the tray of sales saved on the till */
.rig-extras { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s; }
.rig-extras.show { opacity: 1; }
.cloud {
  position: absolute; right: 5%; bottom: calc(100% + 62px);
  display: flex; align-items: center; gap: 9px; padding: 8px 14px 8px 11px;
  border-radius: 99px; background: #fff; color: var(--ink);
  box-shadow: 0 8px 26px -10px rgba(12, 38, 48, .3), 0 0 0 1px var(--line);
  font: 500 12px/1 var(--mono); white-space: nowrap;
  transition: background-color .5s, color .5s, box-shadow .5s;
}
.cloud svg { width: 26px; height: 18px; flex: none; }
.cloud svg path { fill: var(--sky); transition: fill .5s; }
.cloud svg .x { fill: none; stroke: var(--coral); stroke-width: 2.4; stroke-linecap: round; opacity: 0; transition: opacity .4s; }
.cloud b { font-weight: 500; }
.cloud span { color: var(--ink-2); transition: color .5s; }
.cloud.bump { animation: bump .5s var(--ease-out); }
@keyframes bump { 35% { transform: scale(1.12); } }
[data-net="off"] .cloud { background: #12303B; color: #8FA6AE; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); }
[data-net="off"] .cloud svg path { fill: #4B656E; }
[data-net="off"] .cloud svg .x { opacity: 1; fill: none; }
[data-net="off"] .cloud span { color: #6F8A93; }
.wire { position: absolute; right: calc(5% + 52px); bottom: 100%; width: 8px; height: 62px; --wc: var(--teal); }
.wire::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle, var(--wc) 0 2.4px, transparent 3px) center 0 / 8px 11px repeat-y;
  animation: flow .55s linear infinite;
  transition: clip-path .6s var(--ease-out);
  clip-path: inset(0);
}
.wire::after {
  content: "×"; position: absolute; left: 50%; top: 22%; translate: -50% -50%;
  font: 500 18px/1 var(--mono); color: var(--coral); opacity: 0; transition: opacity .4s;
}
[data-net="off"] .wire { --wc: var(--amber); }
[data-net="off"] .wire::after { opacity: 1; }
[data-net="off"] .wire::before { animation-play-state: paused; clip-path: inset(52% 0 0 0); }
[data-net="sync"] .wire::before { animation-duration: .2s; }
@keyframes flow { from { background-position: center 11px; } to { background-position: center 0; } }
.tray {
  position: absolute; left: 0; bottom: calc(100% + 14px);
  display: flex; align-items: center; gap: 10px; padding: 7px 14px 7px 11px;
  border-radius: 99px; border: 1px solid rgba(255, 182, 72, .55); background: rgba(255, 182, 72, .14); color: var(--amber);
  font: 500 12px/1 var(--mono); white-space: nowrap;
  opacity: 0; transform: translateY(10px);
  transition: opacity .4s, transform .5s var(--ease-out), border-color .4s, background-color .4s, color .4s;
}
.tray.show { opacity: 1; transform: none; }
.tray-dots { display: flex; gap: 5px; }
.tray-dots:empty { display: none; }
.tray-dots i {
  width: 10px; height: 10px; border-radius: 50%; background: var(--amber);
  animation: pop .45s var(--ease-out) both;
  transition: transform .75s cubic-bezier(.5, 0, .2, 1), opacity .75s, background-color .3s;
}
.tray.flush { border-color: rgba(78, 159, 152, .55); background: rgba(78, 159, 152, .14); color: var(--teal); }
.tray.flush .tray-dots i { transform: translate(var(--dx, 0), var(--dy, 0)) scale(.5); opacity: 0; background: var(--teal); }
@keyframes pop { from { transform: scale(0); } 60% { transform: scale(1.35); } }
@media (max-width: 899px) {
  .cloud { bottom: calc(100% + 46px); padding: 6px 11px 6px 9px; font-size: 11px; }
  .cloud b { display: none; }
  .wire { height: 46px; right: calc(5% + 40px); }
  .tray { font-size: 11px; padding: 6px 11px 6px 9px; }
  .tray-dots i { width: 8px; height: 8px; }
}

/* the receipt that prints out of the till and becomes the page */
.printer {
  position: absolute; left: calc(var(--cx) - var(--rw) / 2); width: var(--rw);
  top: var(--slot-y, 100%); bottom: 0;
  clip-path: inset(0 -70px 0 -70px);
  visibility: hidden;
}
.paper, .receipt { background: #fff; box-shadow: 0 0 60px rgba(12, 38, 48, .13), 0 0 0 1px rgba(12, 38, 48, .05); font: 400 13px/1.5 var(--mono); color: var(--ink); }
.paper { position: absolute; inset: 0; padding: 30px 28px 20px; display: flex; flex-direction: column; justify-content: space-between; }
.paper-order { display: grid; gap: 4px; }
.r-title { font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1.1; letter-spacing: -.02em; }
.r-meta { color: var(--ink-2); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.r-rule { display: block; height: 0; border-top: 1px dashed rgba(12, 38, 48, .3); margin: 10px 0; }
.r-line { display: flex; justify-content: space-between; gap: 1em; }
.r-line i { font-style: normal; }
.r-total { font-weight: 500; font-size: 15px; }
.binary { display: flex; gap: 6px; align-items: center; justify-content: center; padding: 14px 0 4px; }
.binary i { width: 9px; height: 9px; border-radius: 50%; background: var(--ink); flex: none; }
.binary i.o { background: none; border: 2px solid var(--ink); }

/* ------------------------------------------------------------ readout + cue */
.readout {
  position: absolute; left: var(--gut); bottom: 22px;
  display: flex; align-items: center; gap: 16px;
  font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2);
  transition: color .6s;
}
.readout-res { color: var(--teal-d); min-width: 9ch; transition: color .6s; }
.readout-bar { width: 120px; height: 2px; background: var(--line); transition: background-color .6s; }
.readout-bar i { display: block; height: 100%; background: var(--teal); transform-origin: left; transform: scaleX(0); }
body.night .readout { color: #8FA6AE; }
body.night .readout-res { color: var(--amber); }
body.night .readout-bar { background: rgba(255, 255, 255, .16); }
.cue { position: absolute; left: 50%; bottom: 24px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid var(--ink); border-radius: 99px; opacity: .55; }
.cue i { position: absolute; left: 50%; top: 7px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--teal); animation: cue 1.8s var(--ease-out) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70%, 100% { transform: translateY(18px); opacity: 0; } }
@media (max-width: 899px) {
  .readout { bottom: 14px; gap: 10px; font-size: 10px; }
  .readout-bar { width: 64px; }
  .cue { display: none; }
}

/* ------------------------------------------------------------ sections */
.section { position: relative; }
.rise { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.in .rise { opacity: 1; transform: none; }
.static .rise { transition: none; }

/* services */
.services { min-height: 100vh; padding-bottom: 16vh; background: var(--paper); }
.receipt { position: relative; z-index: 2; width: var(--rw); margin-left: calc(var(--cx) - var(--rw) / 2); clip-path: inset(0 -70px -90px -70px); }
.receipt-inner { padding: 6px 28px 30px; display: grid; gap: 4px; }
.r-tear { display: block; border-top: 2px dashed rgba(12, 38, 48, .22); margin: 0 -28px 26px; }
.r-items { display: grid; gap: 20px; padding: 8px 0; }
.r-items li { display: grid; grid-template-columns: 34px 1fr; }
.r-no { color: var(--teal-d); }
.r-items h3 { font-family: var(--display); font-weight: 700; font-size: 21px; line-height: 1.15; letter-spacing: -.02em; }
.r-items p { font-family: var(--body); font-size: 14.5px; line-height: 1.45; color: var(--ink-2); margin-top: 3px; }
.r-mail { justify-self: center; margin-top: 6px; border-bottom: 1px solid var(--teal); }
.r-zig {
  position: absolute; left: 0; right: 0; top: 100%; height: 10px;
  background:
    linear-gradient(135deg, #fff 33%, transparent 34%) 0 0 / 14px 20px,
    linear-gradient(225deg, #fff 33%, transparent 34%) 0 0 / 14px 20px;
}
.svc-head { position: absolute; left: var(--gut); top: 0; bottom: 0; width: min(40vw, 540px); }
.svc-head-inner { position: sticky; top: 22vh; padding-bottom: 12vh; }
.svc-head .lede { margin: 26px 0 28px; }
.svc-deco { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.svc-deco .ring { position: absolute; right: -9vw; top: 30%; width: 26vw; aspect-ratio: 1; border-radius: 50%; border: 3.4vw solid rgba(122, 181, 223, .2); }
.svc-deco .blob { position: absolute; left: 34%; bottom: 8%; width: 7vw; aspect-ratio: 1; border-radius: 50%; background: rgba(78, 159, 152, .16); }
@media (max-width: 899px) {
  .services { display: flex; flex-direction: column; padding-bottom: 10vh; }
  .svc-head { order: 2; position: static; width: auto; padding: 9vh var(--gut) 0; }
  .svc-head-inner { position: static; padding: 0; }
  .svc-head .kicker, .svc-head .display { display: none; }
  .svc-head .lede { margin-top: 0; }
  .svc-deco { display: none; }
}

/* marquee */
.marquee { overflow: hidden; padding: 5vh 0; background: #fff; border-block: 1px solid var(--line); }
.marquee-row { display: flex; align-items: center; gap: 3.4vw; width: max-content; will-change: transform; }
.marquee-row span { font-family: var(--display); font-weight: 800; font-size: clamp(36px, 6.4vw, 104px); line-height: 1; letter-spacing: -.035em; white-space: nowrap; }
.marquee-row i { width: clamp(18px, 2.6vw, 42px); aspect-ratio: 1; border-radius: 50%; background: var(--teal); flex: none; }
.marquee-row i.o { background: none; border: clamp(5px, .7vw, 11px) solid var(--sky); }

/* work */
.work { background: var(--night); color: #fff; padding: 18vh 0 16vh; overflow: hidden; }
.work-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.work .kicker { color: #8FA6AE; }
.work .display span, .work .display { color: #fff; }
.work .lede { color: #B7CBD1; margin-top: 26px; }
.feature-list { display: grid; gap: 26px; margin-top: 46px; }
.feature-list li { display: grid; grid-template-columns: 22px 1fr; gap: 16px; }
.feature-list li > i { width: 14px; height: 14px; margin-top: 7px; border-radius: 50%; background: var(--teal); }
.feature-list li > i.o { background: none; border: 3px solid var(--sky); }
.feature-list h3 { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -.02em; }
.feature-list p { color: #B7CBD1; font-size: 16px; max-width: 30em; }
.demo-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 15px; color: #B7CBD1; }
.demo-bar b { color: #fff; }
.net-switch { display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 16px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; font: 500 13px/1 var(--mono); transition: border-color .3s, background-color .3s; }
.net-switch:hover { border-color: var(--sky); }
.net-switch-track { position: relative; width: 46px; height: 26px; border-radius: 99px; background: var(--teal); transition: background-color .3s; }
.net-switch-track i { position: absolute; top: 3px; left: 23px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: left .35s var(--ease-out); }
.net-switch[aria-checked="false"] .net-switch-track { background: var(--amber); }
.net-switch[aria-checked="false"] .net-switch-track i { left: 3px; }
.net-switch-state { min-width: 3ch; text-align: left; }
.demo-rig { position: relative; margin-top: 124px; aspect-ratio: 1 / .64; }
.demo-rig::before { content: ""; position: absolute; inset: -12%; border-radius: 50%; background: radial-gradient(closest-side, rgba(78, 159, 152, .34), rgba(122, 181, 223, .1) 60%, transparent 75%); }
.device-static { --r: 20px; --bz: 10px; --bza: 1; box-shadow: 0 0 0 var(--bz) #17323D, 0 0 0 calc(var(--bz) + 1px) rgba(255, 255, 255, .12), 0 40px 90px -30px rgba(0, 0, 0, .6); }
.demo-note { margin-top: 30px; font: 400 13px/1.5 var(--mono); color: var(--amber); min-height: 1.5em; }
@media (max-width: 899px) {
  .work { padding: 12vh 0; }
  .work-grid { grid-template-columns: 1fr; gap: 56px; }
  .demo-rig { aspect-ratio: 1 / 1.06; margin-top: 96px; }
  .device-static { --bz: 7px; --r: 16px; }
}

/* process */
.process { background: #fff; padding: 16vh 0 14vh; overflow: hidden; }
.process-head { margin-bottom: 7vh; }
.process-track { display: flex; gap: clamp(28px, 4vw, 72px); padding: 0 var(--gut); width: max-content; will-change: transform; }
.step { position: relative; width: clamp(320px, 31vw, 480px); padding: 34px 34px 40px; border-radius: 28px; background: var(--paper); }
.step .glyph { width: clamp(120px, 12vw, 180px); height: auto; aspect-ratio: 1; display: block; margin-bottom: 30px; }
.step-no { font: 500 12px/1 var(--mono); letter-spacing: .14em; color: var(--teal-d); }
.step h3 { font-family: var(--display); font-weight: 800; font-size: clamp(38px, 4.4vw, 68px); line-height: 1; letter-spacing: -.035em; margin: 10px 0 14px; }
.step p { color: var(--ink-2); max-width: 24em; }
@media (min-width: 900px) {
  .process { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 12vh 0 8vh; }
}
@media (max-width: 899px) {
  .process { padding: 12vh 0; }
  .process-track { flex-direction: column; width: auto; }
  .step { width: auto; padding: 26px 24px 30px; }
}

/* why */
.why { background: var(--paper); padding: 18vh 0; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); margin-top: 9vh; }
.why-col { padding-top: 30px; border-top: 2px solid var(--ink); }
.why-mark { display: block; width: 54px; height: 54px; border-radius: 50%; background: var(--teal); margin-bottom: 26px; }
.why-mark.o { background: none; border: 13px solid var(--sky); }
.why-col h3 { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 3.2vw, 46px); letter-spacing: -.03em; line-height: 1; margin-bottom: 18px; }
.why-col p { color: var(--ink-2); font-size: clamp(17px, 1.4vw, 20px); max-width: 28em; }
.grow { display: flex; margin: 30px 0 12px; font-family: var(--display); font-weight: 800; font-size: clamp(46px, 6.4vw, 100px); line-height: 1; letter-spacing: -.03em; color: var(--sky-d); font-variant-numeric: tabular-nums; }
.grow b { font-weight: inherit; color: var(--ink); }
.grow i { display: inline-block; font-style: normal; opacity: 0; transform: translateY(.35em) scale(.5); transition: opacity .55s var(--ease-out), transform .55s var(--ease-out); transition-delay: calc(var(--i, 0) * 130ms); }
.grow.in i { opacity: 1; transform: none; }
.static .grow i { transition: none; }
.grow-label { font-family: var(--display); font-weight: 700; font-size: clamp(20px, 2vw, 28px); letter-spacing: -.02em; color: var(--ink) !important; max-width: none !important; }
@media (max-width: 899px) {
  .why { padding: 12vh 0; }
  .why-grid { grid-template-columns: 1fr; margin-top: 7vh; gap: 56px; }
}

/* contact */
.contact { background: #fff; padding: 20vh 0 18vh; overflow: hidden; min-height: min(92vh, 900px); display: flex; align-items: center; }
.contact .wrap { position: relative; z-index: 1; }
.contact .lede { margin: 30px 0 44px; }
.contact-deco { position: absolute; inset: 0; pointer-events: none; }
.contact-deco .ring { position: absolute; right: -8vw; top: 10%; width: 44vw; aspect-ratio: 1; border-radius: 50%; border: 6vw solid rgba(122, 181, 223, .22); animation: drift 14s ease-in-out infinite alternate; }
.contact-deco .ring.small { right: auto; left: 46%; top: auto; bottom: 9%; width: 9vw; border-width: 1.6vw; border-color: rgba(122, 181, 223, .4); animation-duration: 9s; }
.contact-deco .blob { position: absolute; right: 26vw; bottom: 12%; width: 14vw; aspect-ratio: 1; border-radius: 50%; background: rgba(78, 159, 152, .22); animation: drift 11s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translate3d(0, -14px, 0); } to { transform: translate3d(0, 18px, 0); } }
@media (max-width: 899px) {
  .contact { padding: 14vh 0; }
  .btn-big { flex-direction: column; align-items: flex-start; border-radius: 26px; gap: .7em; }
  .btn-big::before { display: none; }
  .btn-big em { border: 0; padding: 0; margin: 0; }
}

/* footer */
.site-footer { background: var(--night); color: #B7CBD1; padding: 9vh var(--gut) 6vh; display: grid; gap: 30px; justify-items: start; font-size: 15px; }
.site-footer img { height: 60px; width: auto; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 12px 30px; color: #fff; }
.site-footer nav a:hover { color: var(--sky); }
.site-footer p { font: 400 12px/1.5 var(--mono); letter-spacing: .06em; color: #6F8A93; }

/* ------------------------------------------------------------ reduced motion */
@media (prefers-reduced-motion: reduce) {
  .rise { transform: none; transition: opacity .4s; }
  .grow i { transition: none; }
  .btn::before, .cue i, .contact-deco i, .wire::before, .tile.hit, .tile.hit::after, .net-pill i { animation: none !important; }
  .film, .beat, .rig::before { transition: none; }
}
