:root {
  --ink: #11150d;
  --ink-soft: #1c2118;
  --panel: #292f24;
  --paper: #ded6bb;
  --paper-light: #f6efd8;
  --paper-dark: #a49d82;
  --acid: #a8ff28;
  --acid-soft: #89cb2d;
  --cyan: #51d8bd;
  --amber: #ffc354;
  --danger: #a64b3b;
  --line: #626956;
  --shadow: #080a06;
  --page-pad: clamp(20px, 5vw, 78px);
  --pixel-shadow: 6px 6px 0 var(--shadow);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  color: var(--paper-light);
  background: var(--ink);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--paper-light);
  background:
    linear-gradient(rgba(168, 255, 40, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 255, 40, 0.025) 1px, transparent 1px),
    var(--ink);
  background-size: 24px 24px;
}

body::before {
  position: fixed;
  z-index: 20;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

::selection {
  color: var(--ink);
  background: var(--acid);
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--acid);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 68px;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--page-pad);
  border-bottom: 1px solid rgba(222, 214, 187, 0.16);
  background: rgba(17, 21, 13, 0.88);
  backdrop-filter: blur(12px);
  transition: height 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  height: 58px;
  background: rgba(17, 21, 13, 0.97);
}

.brand,
.site-footer > div:first-child {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--paper-light);
  font: 700 12px/1 "Courier New", monospace;
  letter-spacing: 0.18em;
  text-decoration: none;
}

.brand-light {
  width: 11px;
  height: 11px;
  border: 2px solid var(--ink);
  outline: 1px solid var(--acid);
  background: var(--acid);
  box-shadow: 0 0 12px rgba(168, 255, 40, 0.7);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  font-size: 13px;
}

.site-nav a {
  color: var(--paper-dark);
  text-decoration: none;
  transition: color 150ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--acid);
}

.site-nav .nav-download {
  padding: 8px 13px;
  border: 1px solid var(--acid);
  color: var(--acid);
  box-shadow: 3px 3px 0 rgba(168, 255, 40, 0.2);
}

.hero {
  position: relative;
  display: grid;
  min-height: 760px;
  height: min(920px, 100svh);
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
  align-items: center;
  gap: clamp(30px, 5vw, 90px);
  padding: 112px var(--page-pad) 80px;
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  z-index: -2;
  right: -18%;
  bottom: -45%;
  width: 70vw;
  height: 70vw;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, rgba(168, 255, 40, 0.15), rgba(168, 255, 40, 0) 66%);
}

.hero::after {
  position: absolute;
  z-index: -1;
  top: 68px;
  right: 0;
  width: 51%;
  height: calc(100% - 68px);
  border-left: 1px solid rgba(222, 214, 187, 0.12);
  content: "";
  background:
    linear-gradient(rgba(168, 255, 40, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 255, 40, 0.04) 1px, transparent 1px);
  background-size: 18px 18px;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-noise {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.5;
  background: linear-gradient(110deg, transparent 0 52%, rgba(255, 195, 84, 0.03) 52%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
  color: var(--acid);
  font: 700 11px/1.5 "Courier New", monospace;
  letter-spacing: 0.17em;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--acid);
  box-shadow: 0 0 14px var(--acid);
  animation: blink 1.8s steps(2, end) infinite;
}

.hero h1 {
  margin: 0;
  color: var(--paper-light);
  font-size: clamp(54px, 7.1vw, 114px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.hero h1 span {
  display: inline-block;
  color: var(--acid);
  font-family: "Courier New", monospace;
  letter-spacing: -0.09em;
  text-shadow: 5px 5px 0 #335213;
}

.hero-lead {
  max-width: 580px;
  margin: 30px 0 0;
  color: #bbb79f;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 36px;
}

.pixel-button {
  position: relative;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 22px;
  border: 2px solid;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 120ms ease, box-shadow 120ms ease, color 120ms ease;
}

.pixel-button--primary {
  border-color: var(--ink);
  outline: 2px solid var(--acid);
  color: var(--ink);
  background: var(--acid);
  box-shadow: 6px 6px 0 #3b5f16;
}

.pixel-button--primary:hover,
.pixel-button--primary:focus-visible {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 #3b5f16;
}

.pixel-button--ghost {
  border-color: #5d6452;
  color: var(--paper-light);
  background: #1b2017;
  box-shadow: 6px 6px 0 #090b07;
}

.pixel-button--ghost:hover,
.pixel-button--ghost:focus-visible {
  border-color: var(--paper-light);
  color: var(--acid);
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 #090b07;
}

.button-icon {
  font: 700 23px/1 "Courier New", monospace;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 22px;
  margin: 28px 0 0;
  padding: 0;
  color: #777c6c;
  font: 700 10px/1.3 "Courier New", monospace;
  letter-spacing: 0.08em;
  list-style: none;
}

.hero-meta li::before {
  margin-right: 8px;
  color: var(--acid);
  content: "■";
  font-size: 6px;
  vertical-align: 2px;
}

.hero-machine {
  position: relative;
  display: grid;
  min-height: 670px;
  place-items: center;
}

.machine-shot {
  position: relative;
  z-index: 2;
  width: min(54%, 330px);
  margin: 0;
  filter: drop-shadow(18px 24px 0 rgba(0, 0, 0, 0.44));
  animation: machine-float 5s ease-in-out infinite;
}

.machine-shot::before {
  position: absolute;
  inset: 2.5% 10% 45%;
  pointer-events: none;
  border-radius: 28px;
  content: "";
  box-shadow: inset 0 0 40px rgba(168, 255, 40, 0.13);
}

.machine-shot img {
  width: 100%;
  height: auto;
}

.machine-glow {
  position: absolute;
  z-index: 0;
  top: 12%;
  left: 50%;
  width: min(54vw, 590px);
  aspect-ratio: 1;
  border: 1px solid rgba(168, 255, 40, 0.1);
  background: repeating-radial-gradient(
    circle,
    rgba(168, 255, 40, 0.055) 0 1px,
    transparent 1px 18px
  );
  transform: translateX(-50%) rotate(8deg);
}

.machine-cable {
  position: absolute;
  z-index: 1;
  right: -10%;
  width: 59%;
  height: 8px;
  border: 2px solid #000;
  background: #b2ac91;
  box-shadow: inset 0 -2px 0 #696652;
}

.cable-one {
  top: 30%;
}

.cable-two {
  top: 49%;
}

.hero-stamp {
  position: absolute;
  z-index: 3;
  top: 18%;
  left: 6%;
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  border: 2px solid var(--amber);
  color: var(--amber);
  font: 700 10px/1.1 "Courier New", monospace;
  letter-spacing: 0.13em;
  text-align: center;
  transform: rotate(-9deg);
  box-shadow: inset 0 0 0 5px var(--ink), inset 0 0 0 7px var(--amber);
}

.hero-stamp strong {
  display: block;
  margin-top: -24px;
  font-size: 23px;
  letter-spacing: 0;
}

.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: var(--page-pad);
  display: flex;
  align-items: center;
  gap: 14px;
  color: #5f6656;
  font: 700 9px/1 "Courier New", monospace;
  letter-spacing: 0.16em;
}

.scroll-cue i {
  display: block;
  width: 68px;
  height: 1px;
  background: #4a5143;
}

.ticker {
  overflow: hidden;
  border-block: 3px solid var(--ink);
  color: var(--ink);
  background: var(--acid);
  box-shadow: inset 0 3px 0 #d9ff9f, inset 0 -3px 0 #5b8d17;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 28s linear infinite;
}

.ticker span {
  padding: 14px 32px;
  font: 900 13px/1 "Courier New", monospace;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.section-shell {
  width: min(1500px, 100%);
  margin-inline: auto;
  padding-inline: var(--page-pad);
}

.feature-section,
.workflow-section {
  padding-top: clamp(90px, 11vw, 160px);
  padding-bottom: clamp(100px, 12vw, 170px);
}

.section-kicker {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 44px;
  color: var(--paper-dark);
  font: 700 10px/1 "Courier New", monospace;
  letter-spacing: 0.16em;
}

.section-kicker::after {
  height: 1px;
  content: "";
  background: #353b30;
}

.section-kicker span {
  color: var(--acid);
  font-size: 15px;
}

.section-kicker p {
  display: contents;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 10vw;
  align-items: end;
  margin-bottom: 70px;
}

.section-heading h2,
.gallery-heading h2,
.workflow-layout h2,
.privacy-copy h2,
.download-copy h2 {
  margin: 0;
  font-size: clamp(40px, 5vw, 78px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.section-heading > p {
  max-width: 500px;
  margin: 0 0 7px;
  color: #979b88;
  line-height: 1.85;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}

.feature-card {
  position: relative;
  display: flex;
  min-height: 430px;
  flex-direction: column;
  padding: 28px;
  border: 2px solid;
  overflow: hidden;
}

.feature-card:nth-child(1),
.feature-card:nth-child(4) {
  grid-column: span 5;
}

.feature-card:nth-child(2),
.feature-card:nth-child(3) {
  grid-column: span 7;
}

.feature-card h3 {
  margin: auto 0 12px;
  font-size: clamp(23px, 2vw, 32px);
  line-height: 1.2;
}

.feature-card p {
  max-width: 590px;
  margin: 0;
  line-height: 1.75;
}

.card-index {
  font: 700 10px/1 "Courier New", monospace;
  letter-spacing: 0.12em;
}

.feature-card--acid {
  border-color: #6ba51d;
  color: var(--ink);
  background: var(--acid);
  box-shadow: var(--pixel-shadow);
}

.feature-card--paper {
  border-color: #7e7864;
  color: var(--ink);
  background: var(--paper);
  box-shadow: var(--pixel-shadow);
}

.feature-card--dark {
  border-color: #525a49;
  background: var(--panel);
  box-shadow: var(--pixel-shadow);
}

.feature-card--outline {
  border-color: #545b4c;
  background:
    linear-gradient(rgba(168, 255, 40, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 255, 40, 0.035) 1px, transparent 1px),
    #161b13;
  background-size: 15px 15px;
  box-shadow: var(--pixel-shadow);
}

.mini-crt {
  width: min(330px, 90%);
  margin: 32px auto 22px;
  padding: 18px 20px;
  border: 12px solid #2c3228;
  outline: 4px solid #12160e;
  border-radius: 22px;
  color: var(--acid);
  background:
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(168, 255, 40, 0.08) 3px 4px),
    #092015;
  box-shadow: inset 0 0 20px rgba(168, 255, 40, 0.2), 8px 8px 0 rgba(17, 21, 13, 0.3);
  font-family: "Courier New", monospace;
}

.mini-crt-label {
  font-size: 10px;
  font-weight: 700;
}

.mini-crt strong {
  display: block;
  font-size: 66px;
  line-height: 1;
  text-shadow: 0 0 12px rgba(168, 255, 40, 0.68);
}

.mini-crt small {
  font-size: 20px;
}

.mini-bars {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 3px;
}

.mini-bars i {
  height: 8px;
  background: var(--acid);
}

.mini-bars i:nth-last-child(-n + 3) {
  opacity: 0.16;
}

.mini-receipt {
  position: absolute;
  top: -20px;
  right: 8%;
  display: flex;
  width: 210px;
  min-height: 252px;
  flex-direction: column;
  align-items: center;
  padding: 54px 20px 22px;
  border-inline: 1px solid #8c856d;
  background:
    repeating-linear-gradient(0deg, transparent 0 19px, rgba(93, 85, 65, 0.08) 19px 20px),
    var(--paper-light);
  box-shadow: 10px 12px 0 rgba(0, 0, 0, 0.24);
  transform: rotate(4deg);
}

.mini-receipt::before {
  position: absolute;
  top: 14px;
  left: 0;
  width: 100%;
  height: 8px;
  content: "";
  background: radial-gradient(circle, var(--paper) 3px, transparent 4px) 0 0 / 16px 8px;
}

.mini-receipt span {
  font: 700 8px/1 "Courier New", monospace;
  letter-spacing: 0.2em;
}

.mini-receipt strong {
  margin-top: 12px;
}

.mini-receipt i {
  width: 100%;
  margin: 24px 0;
  border-top: 2px dashed #79715c;
}

.mini-receipt b {
  font: 700 13px/1.4 "Courier New", monospace;
}

.mini-chart {
  display: flex;
  height: 180px;
  align-items: flex-end;
  gap: 8px;
  margin: 32px 0 24px;
  padding: 20px;
  border-left: 1px solid #555d4e;
  border-bottom: 1px solid #555d4e;
}

.mini-chart i {
  width: 12%;
  background: repeating-linear-gradient(to top, var(--acid) 0 5px, transparent 5px 8px);
  filter: drop-shadow(3px 0 0 rgba(168, 255, 40, 0.16));
}

.mini-chart i:nth-child(1) { height: 18%; }
.mini-chart i:nth-child(2) { height: 22%; }
.mini-chart i:nth-child(3) { height: 20%; }
.mini-chart i:nth-child(4) { height: 62%; }
.mini-chart i:nth-child(5) { height: 100%; }
.mini-chart i:nth-child(6) { height: 70%; }
.mini-chart i:nth-child(7) { height: 46%; }

.window-layers {
  position: relative;
  height: 190px;
  margin: 32px auto 15px;
  width: min(310px, 90%);
  font: 700 10px/1 "Courier New", monospace;
  letter-spacing: 0.1em;
}

.window-layers span {
  position: absolute;
  display: grid;
  width: 74%;
  height: 95px;
  place-items: center;
  border: 2px solid;
  background: #1d2319;
  box-shadow: 8px 8px 0 #070906;
}

.window-layers span:nth-child(1) {
  z-index: 3;
  top: 0;
  left: 0;
  border-color: var(--acid);
  color: var(--acid);
}

.window-layers span:nth-child(2) {
  z-index: 2;
  top: 42px;
  left: 13%;
  border-color: var(--paper);
  color: var(--paper);
}

.window-layers span:nth-child(3) {
  z-index: 1;
  top: 84px;
  left: 26%;
  border-color: #68705e;
  color: #858b7b;
}

.gallery-section {
  padding: clamp(90px, 11vw, 160px) 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(17, 21, 13, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 21, 13, 0.05) 1px, transparent 1px),
    var(--paper);
  background-size: 20px 20px;
}

.section-kicker--light {
  color: #665f4f;
}

.section-kicker--light::after {
  background: #a9a189;
}

.section-kicker--light span {
  color: #3f5e16;
}

.gallery-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 70px;
}

.gallery-heading p {
  max-width: 330px;
  margin: 0 0 8px;
  color: #716b59;
  line-height: 1.7;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 28px;
}

.gallery-item {
  margin: 0;
}

.gallery-item--wide {
  grid-column: 1 / -1;
}

.shot-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font: 800 13px/1 "Courier New", "Microsoft YaHei", monospace;
  letter-spacing: 0.06em;
}

.shot-label span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--paper-light);
  background: var(--ink);
}

.image-frame {
  position: relative;
  padding: clamp(8px, 1.2vw, 16px);
  border: 2px solid var(--ink);
  background: #727769;
  box-shadow: 10px 10px 0 rgba(17, 21, 13, 0.24);
  overflow: hidden;
}

.image-frame::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(17, 21, 13, 0.06) 3px 4px);
}

.image-frame img {
  width: 100%;
  height: auto;
}

.image-frame--compact,
.image-frame--receipt {
  display: grid;
  min-height: 720px;
  place-items: center;
  background:
    linear-gradient(rgba(17, 21, 13, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 21, 13, 0.07) 1px, transparent 1px),
    #abb2b0;
  background-size: 18px 18px;
}

.image-frame--compact img {
  width: min(65%, 360px);
  box-shadow: 18px 22px 0 rgba(17, 21, 13, 0.18);
}

.image-frame--receipt img {
  width: min(60%, 330px);
  filter: drop-shadow(18px 22px 0 rgba(17, 21, 13, 0.18));
}

.gallery-item figcaption {
  margin-top: 17px;
  padding-right: 8%;
  color: #5f5a4c;
  font-size: 14px;
  line-height: 1.75;
}

.web-register {
  position: relative;
  z-index: 2;
  width: 320px;
  color: var(--ink);
  font-family: "Courier New", "Microsoft YaHei", monospace;
}

.register-body {
  position: relative;
  padding: 18px 16px 22px;
  border: 4px solid #11140e;
  border-radius: 7px;
  background:
    linear-gradient(90deg, transparent 0 94%, rgba(34, 36, 28, 0.18) 94%),
    #d7d1b6;
  box-shadow:
    inset 4px 0 0 #f3ecd0,
    inset -5px 0 0 #898572,
    9px 11px 0 rgba(8, 10, 6, 0.76);
}

.register-body::before {
  position: absolute;
  inset: 7px;
  pointer-events: none;
  border: 2px solid #777563;
  content: "";
}

.register-crt {
  position: relative;
  z-index: 1;
  min-height: 222px;
  padding: 25px 24px 20px;
  border: 12px solid #363a30;
  border-radius: 26px;
  color: var(--acid);
  background: #062116;
  box-shadow:
    inset 0 0 0 4px #0d110b,
    inset 0 0 30px rgba(168, 255, 40, 0.22),
    0 5px 0 #151811;
  overflow: hidden;
}

.crt-scanlines {
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  opacity: 0.44;
  background:
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(168, 255, 40, 0.12) 3px 4px),
    radial-gradient(circle at center, rgba(168, 255, 40, 0.06), transparent 70%);
}

.register-crt > *:not(.crt-scanlines) {
  position: relative;
  z-index: 1;
}

.crt-status {
  display: flex;
  justify-content: space-between;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.crt-status b {
  font-size: 7px;
}

.crt-label {
  margin: 17px 0 3px;
  font: 700 12px/1 "Microsoft YaHei", sans-serif;
  letter-spacing: 0.08em;
}

.crt-value {
  display: block;
  font-size: 72px;
  line-height: 0.95;
  letter-spacing: -0.1em;
  text-shadow: 0 0 15px rgba(168, 255, 40, 0.8);
}

.crt-value small {
  margin-left: 4px;
  font-size: 22px;
  letter-spacing: 0;
}

.crt-value .dual-value {
  display: block;
  font-size: 25px;
  line-height: 1.35;
  letter-spacing: 0;
}

.crt-meter {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 3px;
  margin-top: 12px;
}

.crt-meter i {
  height: 7px;
  background: var(--acid);
  box-shadow: 0 0 6px rgba(168, 255, 40, 0.35);
}

.crt-meter i.is-empty {
  opacity: 0.13;
  box-shadow: none;
}

.crt-reset {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  margin-top: 13px;
  font-size: 7px;
}

.crt-reset span {
  color: #83c837;
  line-height: 1.4;
}

.crt-reset strong {
  font: 700 15px/1 "Microsoft YaHei", sans-serif;
  white-space: nowrap;
}

.register-slot {
  position: relative;
  z-index: 1;
  height: 54px;
  margin-top: 14px;
  border: 3px solid #262a22;
  background: #c8c2a9;
  box-shadow: inset 0 0 0 4px #ece5ca;
}

.register-slot i {
  position: absolute;
  top: 18px;
  right: 10px;
  left: 10px;
  height: 9px;
  border: 3px solid #13160f;
  background: var(--acid);
  box-shadow: inset 0 2px 0 #405c20;
}

.web-register--hero {
  width: min(68%, 350px);
  margin-top: -80px;
  animation: machine-float 5s ease-in-out infinite;
}

.web-register--hero .printed-receipt {
  position: absolute;
  z-index: -1;
  top: 304px;
  left: 12%;
  width: 76%;
  min-height: 370px;
  padding: 38px 19px 26px;
  animation: hero-print 1.2s 280ms both cubic-bezier(0.22, 0.8, 0.28, 1);
}

.printed-receipt,
.demo-ticket {
  color: #1c1b14;
  background:
    repeating-linear-gradient(0deg, transparent 0 18px, rgba(90, 82, 61, 0.055) 18px 19px),
    var(--paper-light);
  box-shadow: 9px 10px 0 rgba(0, 0, 0, 0.3);
  font-family: "Courier New", "Microsoft YaHei", monospace;
}

.printed-receipt::after,
.demo-ticket::after {
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 11px;
  content: "";
  background: linear-gradient(135deg, var(--paper-light) 7px, transparent 0) 0 0 / 14px 14px repeat-x;
}

.receipt-pinholes {
  position: absolute;
  top: 13px;
  left: 12px;
  width: calc(100% - 24px);
  height: 7px;
  background: radial-gradient(circle, #aaa48e 2px, transparent 3px) 0 0 / 13px 7px;
}

.printed-receipt h3,
.demo-ticket h3 {
  margin: 6px 0;
  font-size: 16px;
  text-align: center;
}

.receipt-micro {
  margin: 0;
  font-size: 6px;
  letter-spacing: 0.19em;
  text-align: center;
}

.printed-receipt .receipt-number,
.demo-ticket .receipt-number {
  margin: 0;
  font-size: 6px;
}

.receipt-dash {
  margin: 15px 0;
  border-top: 1px dashed #696250;
}

.printed-receipt dl,
.demo-ticket dl {
  display: grid;
  gap: 5px;
  margin: 0;
  font-size: 7px;
}

.printed-receipt dl div,
.demo-ticket dl div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.printed-receipt dd,
.demo-ticket dd {
  margin: 0;
  text-align: right;
}

.receipt-quote {
  margin: 13px 0;
  padding: 8px;
  border-left: 2px solid #26261d;
  background: rgba(180, 170, 139, 0.18);
  font-size: 7px;
  line-height: 1.45;
}

.receipt-total {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 2px solid #29281e;
  font-size: 8px;
  font-weight: 700;
}

.receipt-total strong {
  font-size: 20px;
}

.printed-receipt .receipt-thanks,
.demo-ticket .receipt-thanks {
  margin-top: 20px;
  font-size: 5px;
}

.interface-showcase {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 28px;
}

.interface-demo {
  min-width: 0;
}

.interface-demo--wide {
  grid-column: 1 / -1;
}

.shot-label b {
  margin-left: auto;
  color: #625d4d;
  font: 700 8px/1 "Courier New", monospace;
  letter-spacing: 0.12em;
}

.demo-stage {
  position: relative;
  display: grid;
  min-height: 670px;
  place-items: center;
  padding: 42px 24px;
  border: 2px solid var(--ink);
  background:
    linear-gradient(rgba(17, 21, 13, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 21, 13, 0.065) 1px, transparent 1px),
    #aab1af;
  background-size: 18px 18px;
  box-shadow: 10px 10px 0 rgba(17, 21, 13, 0.24);
  overflow: hidden;
}

.demo-stage--register {
  align-content: center;
  gap: 38px;
}

.web-register--compact {
  width: min(78%, 350px);
}

.demo-controls {
  display: inline-flex;
  padding: 4px;
  border: 2px solid var(--ink);
  background: #8f9691;
  box-shadow: 5px 5px 0 rgba(17, 21, 13, 0.3);
}

.demo-controls button,
.demo-action,
.segment-control button {
  min-height: 34px;
  padding: 0 13px;
  border: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font: 800 11px/1 "Microsoft YaHei", sans-serif;
}

.demo-controls button.is-active,
.segment-control button.is-active {
  color: var(--ink);
  background: var(--acid);
  box-shadow: inset 0 0 0 2px #27331a;
}

.demo-caption {
  margin: 17px 0 0;
  color: #5f5a4c;
  font-size: 14px;
  line-height: 1.75;
}

.demo-stage--receipt {
  align-content: center;
  gap: 28px;
  background:
    linear-gradient(rgba(17, 21, 13, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 21, 13, 0.06) 1px, transparent 1px),
    #8e9792;
  background-size: 18px 18px;
}

.receipt-printer {
  position: relative;
  width: min(74%, 330px);
  min-height: 505px;
  padding-top: 36px;
}

.printer-slot {
  position: relative;
  z-index: 3;
  height: 68px;
  border: 4px solid #141711;
  background: #d3ccb1;
  box-shadow: inset 0 0 0 6px #898675, 8px 8px 0 rgba(0, 0, 0, 0.3);
}

.printer-slot i {
  position: absolute;
  top: 24px;
  right: 14px;
  left: 14px;
  height: 11px;
  border: 3px solid #0b0d09;
  background: #080a07;
}

.demo-ticket {
  position: relative;
  z-index: 2;
  width: 78%;
  min-height: 400px;
  margin: -9px auto 0;
  padding: 40px 20px 27px;
  transform-origin: top;
}

.demo-ticket.is-printing {
  animation: ticket-print 1.25s both cubic-bezier(0.2, 0.75, 0.25, 1);
}

.demo-action {
  min-height: 40px;
  border: 2px solid var(--ink);
  background: var(--amber);
  box-shadow: 4px 4px 0 #65501d;
}

.demo-action:hover,
.demo-action:focus-visible {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #65501d;
}

.app-window {
  border: 3px solid #11140e;
  color: var(--paper-light);
  background: #151a12;
  box-shadow: 12px 12px 0 rgba(17, 21, 13, 0.3);
  font-family: "Courier New", "Microsoft YaHei", monospace;
  overflow: hidden;
}

.app-titlebar {
  position: relative;
  display: grid;
  min-height: 64px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 10px 18px;
  border-bottom: 2px solid #2c3228;
  background: #1a1f17;
}

.app-titlebar > div {
  display: grid;
  gap: 6px;
  text-align: center;
}

.app-titlebar small {
  color: #6f7567;
  font-size: 7px;
  letter-spacing: 0.18em;
}

.app-titlebar strong {
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 20px;
  letter-spacing: 0.13em;
}

.app-titlebar button,
.app-titlebar > span {
  justify-self: start;
  border: 1px solid #59604f;
  padding: 8px 10px;
  color: var(--paper);
  background: #262c22;
  font: 700 9px/1 "Microsoft YaHei", sans-serif;
}

.app-titlebar > span:last-child {
  justify-self: end;
}

.ledger-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
  padding: 15px;
}

.ledger-summary > div {
  display: grid;
  gap: 8px;
  padding: 13px;
  border-left: 6px solid var(--acid);
  background: #292f24;
  box-shadow: 4px 4px 0 #090b07;
}

.ledger-summary > div:nth-child(2) { border-color: var(--amber); }
.ledger-summary > div:nth-child(3) { border-color: var(--cyan); }
.ledger-summary > div:nth-child(4) { border-color: var(--paper-light); }

.ledger-summary small {
  color: #848a79;
  font-size: 7px;
}

.ledger-summary strong {
  font-size: clamp(14px, 2vw, 25px);
}

.ledger-workspace {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr 0.85fr;
  gap: 10px;
  padding: 0 15px 15px;
}

.ledger-workspace > section {
  min-width: 0;
  border: 2px solid #080a07;
  background: #252b21;
}

.ledger-workspace h3 {
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 14px;
  font: 700 11px/1 "Microsoft YaHei", sans-serif;
}

.ledger-workspace h3 small {
  color: #666d5f;
  font: 700 6px/1 "Courier New", monospace;
  letter-spacing: 0.12em;
}

.demo-bars {
  display: flex;
  height: 190px;
  align-items: end;
  justify-content: space-around;
  gap: 5px;
  padding: 20px 12px 28px;
  border-bottom: 1px solid #4a5143;
}

.demo-bars i {
  position: relative;
  width: 11%;
  height: 18%;
  background: repeating-linear-gradient(to top, var(--acid) 0 4px, transparent 4px 7px);
}

.demo-bars i:nth-child(2) { height: 16%; }
.demo-bars i:nth-child(3) { height: 20%; }
.demo-bars i:nth-child(4) { height: 57%; }
.demo-bars i:nth-child(5) { height: 96%; }
.demo-bars i:nth-child(6) { height: 66%; }
.demo-bars i:nth-child(7) { height: 42%; }

.demo-bars span {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  color: #777e6d;
  font-size: 6px;
  font-style: normal;
  transform: translateX(-50%);
}

.token-breakdown {
  display: grid;
  gap: 10px;
  padding: 17px 12px;
}

.token-breakdown p {
  display: grid;
  grid-template-columns: 31px 1fr auto;
  align-items: center;
  gap: 7px;
  margin: 0;
  font-size: 7px;
}

.token-breakdown p i {
  height: 6px;
  background: var(--acid);
}

.token-breakdown p:nth-child(2) i { width: 92%; background: var(--cyan); }
.token-breakdown p:nth-child(3) i { width: 18%; background: var(--amber); }
.token-breakdown p:nth-child(4) i { width: 8%; background: #c86c52; }

.ledger-records {
  display: flex;
  flex-direction: column;
}

.ledger-row {
  display: grid;
  min-height: 70px;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 0;
  border-top: 1px solid #41483b;
  color: var(--paper);
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.ledger-row:hover,
.ledger-row:focus-visible {
  background: #31392b;
}

.ledger-row.is-active {
  border-left: 5px solid var(--acid);
  background: #353d2f;
}

.ledger-row span {
  display: grid;
  gap: 5px;
}

.ledger-row b {
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 9px;
}

.ledger-row small,
.ledger-row em {
  color: #737a6a;
  font-size: 6px;
  font-style: normal;
}

.ledger-row strong {
  color: var(--acid);
  font-size: 10px;
}

.ledger-receipt-panel {
  padding-bottom: 18px;
}

.ledger-ticket {
  width: 77%;
  margin: 6px auto 0;
  padding: 22px 13px 25px;
  color: #252219;
  background:
    repeating-linear-gradient(0deg, transparent 0 15px, rgba(90, 82, 61, 0.06) 15px 16px),
    var(--paper-light);
  text-align: center;
}

.ledger-ticket > p {
  margin: 0;
  font-size: 6px;
  letter-spacing: 0.15em;
}

.ledger-ticket h4 {
  margin: 8px 0;
  font: 700 12px/1.2 "Microsoft YaHei", sans-serif;
}

.ledger-ticket > div {
  margin: 15px 0;
  border-top: 1px dashed #5f5949;
}

.ledger-ticket dl {
  display: grid;
  gap: 7px;
  margin: 0;
  font-size: 6px;
}

.ledger-ticket dl span {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.ledger-ticket dd {
  margin: 0;
  text-align: right;
}

.ledger-ticket > strong {
  display: block;
  font-size: 23px;
  text-align: right;
}

.ledger-ticket > small {
  display: block;
  margin-top: 22px;
  font-size: 5px;
}

.settings-demo {
  background:
    linear-gradient(rgba(168, 255, 40, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 255, 40, 0.035) 1px, transparent 1px),
    #10140d;
  background-size: 14px 14px;
}

.settings-paper {
  width: 78%;
  margin: 30px auto;
  padding: 24px 20px;
  border: 3px solid #0d100a;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.4);
}

.setting-row {
  display: grid;
  min-height: 76px;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 14px;
  border-bottom: 2px dashed #89826e;
}

.setting-row:last-child {
  border-bottom: 0;
}

.setting-row > b {
  color: #9b947f;
  font-size: 16px;
}

.setting-row > span {
  display: grid;
  gap: 5px;
}

.setting-row > span strong {
  font: 700 12px/1.2 "Microsoft YaHei", sans-serif;
}

.setting-row > span small {
  color: #66604e;
  font-size: 7px;
}

.setting-row.is-muted {
  opacity: 0.45;
}

.demo-switch {
  position: relative;
  display: block;
  width: 45px;
  height: 24px;
  cursor: pointer;
}

.demo-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.demo-switch i {
  position: absolute;
  inset: 0;
  border: 3px solid var(--ink);
  background: #ece5ca;
  box-shadow: inset 0 0 0 2px #8b846f;
}

.demo-switch i::after {
  position: absolute;
  top: 4px;
  left: 5px;
  width: 10px;
  height: 10px;
  content: "";
  background: #6f755f;
  transition: transform 120ms steps(2, end), background 120ms ease;
}

.demo-switch input:checked + i {
  background: var(--acid);
}

.demo-switch input:checked + i::after {
  background: #253018;
  transform: translateX(20px);
}

.demo-switch input:focus-visible + i {
  outline: 3px solid #385d12;
  outline-offset: 2px;
}

.demo-switch em {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.segment-control {
  display: flex;
  border: 3px solid var(--ink);
}

.segment-control button {
  min-height: 34px;
  padding-inline: 9px;
  font-size: 8px;
}

.setting-row select {
  min-height: 36px;
  padding: 0 30px 0 10px;
  border: 3px solid var(--ink);
  border-radius: 0;
  color: var(--ink);
  background: var(--paper-light);
  font: 700 9px/1 "Microsoft YaHei", sans-serif;
}

@keyframes hero-print {
  from {
    clip-path: inset(0 0 88% 0);
    transform: translateY(-130px);
  }
  to {
    clip-path: inset(0);
    transform: translateY(0);
  }
}

@keyframes ticket-print {
  from {
    clip-path: inset(0 0 93% 0);
    transform: translateY(-270px);
  }
  to {
    clip-path: inset(0);
    transform: translateY(0);
  }
}

.workflow-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 8vw;
}

.workflow-intro {
  max-width: 400px;
  color: #969b87;
  line-height: 1.8;
}

.workflow-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-list li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 30px 0;
  border-top: 1px solid #3a4034;
}

.workflow-list li:last-child {
  border-bottom: 1px solid #3a4034;
}

.workflow-list > li > span {
  color: var(--acid);
  font: 700 15px/1.5 "Courier New", monospace;
}

.workflow-list h3 {
  margin: 0 0 9px;
  font-size: 23px;
}

.workflow-list p {
  margin: 0;
  color: #929785;
  line-height: 1.7;
}

.privacy-section {
  border-block: 4px solid var(--acid);
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.17), transparent 50%),
    var(--acid);
}

.privacy-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 8vw;
  padding-top: clamp(80px, 9vw, 130px);
  padding-bottom: clamp(80px, 9vw, 130px);
}

.section-kicker--acid {
  color: #3d5c17;
}

.section-kicker--acid::after {
  background: rgba(17, 21, 13, 0.32);
}

.section-kicker--acid span {
  color: var(--ink);
}

.privacy-copy > p {
  max-width: 600px;
  margin: 30px 0 0;
  color: #314615;
  line-height: 1.85;
}

.privacy-list {
  align-self: end;
  margin: 0;
  padding: 0;
  border: 3px solid var(--ink);
  background: rgba(225, 255, 185, 0.36);
  box-shadow: 9px 9px 0 rgba(17, 21, 13, 0.4);
  list-style: none;
}

.privacy-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  padding: 18px 20px;
  border-bottom: 1px dashed rgba(17, 21, 13, 0.55);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.privacy-list li:last-child {
  border: 0;
}

.privacy-list span {
  font: 900 19px/1 "Courier New", monospace;
}

.download-section {
  padding: clamp(100px, 12vw, 180px) 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 24% 50%, rgba(168, 255, 40, 0.1), transparent 30%),
    var(--ink);
}

.download-machine {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  align-items: center;
  gap: 8vw;
}

.download-machine::before {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: -10%;
  width: 60%;
  height: 72%;
  border: 2px solid #343a2f;
  content: "";
  background:
    linear-gradient(rgba(168, 255, 40, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 255, 40, 0.04) 1px, transparent 1px),
    #1a1f16;
  background-size: 16px 16px;
  transform: translateY(-50%);
  box-shadow: 12px 12px 0 #090b07;
}

.download-copy {
  position: relative;
  z-index: 1;
}

.download-copy > p:last-child {
  color: #9ba08c;
  line-height: 1.7;
}

.download-receipt {
  position: relative;
  z-index: 2;
  width: min(100%, 420px);
  justify-self: center;
  padding: 52px 36px 46px;
  color: #171810;
  background:
    repeating-linear-gradient(0deg, transparent 0 24px, rgba(91, 84, 64, 0.07) 24px 25px),
    var(--paper-light);
  box-shadow: 16px 18px 0 rgba(0, 0, 0, 0.4);
}

.download-receipt::after {
  position: absolute;
  right: 0;
  bottom: -12px;
  left: 0;
  height: 13px;
  content: "";
  background: linear-gradient(135deg, var(--paper-light) 8px, transparent 0) 0 0 / 16px 16px repeat-x;
}

.receipt-holes {
  position: absolute;
  top: 18px;
  left: 18px;
  width: calc(100% - 36px);
  height: 8px;
  background: radial-gradient(circle, #bbb49d 3px, transparent 4px) 0 0 / 18px 8px;
}

.receipt-brand,
.receipt-number,
.receipt-thanks {
  font-family: "Courier New", monospace;
  text-align: center;
}

.receipt-brand {
  margin: 0 0 12px;
  font-size: 10px;
  letter-spacing: 0.22em;
}

.download-receipt h3 {
  margin: 0;
  font-size: 25px;
  text-align: center;
}

.receipt-number {
  margin: 8px 0 0;
  color: #736d5a;
  font-size: 9px;
}

.receipt-divider {
  margin: 24px 0;
  border-top: 2px dashed #6e6754;
}

.download-receipt dl {
  display: grid;
  gap: 12px;
  margin: 0;
  font: 700 13px/1.4 "Courier New", "Microsoft YaHei", monospace;
}

.download-receipt dl div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.download-receipt dd {
  margin: 0;
  text-align: right;
}

.receipt-download {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--ink);
  color: var(--ink);
  background: var(--amber);
  box-shadow: 5px 5px 0 #795b20;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.receipt-download:hover,
.receipt-download:focus-visible {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 #795b20;
}

.receipt-thanks {
  margin: 30px 0 0;
  font-size: 8px;
  letter-spacing: 0.14em;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: 28px var(--page-pad);
  border-top: 1px solid #363c31;
  color: #747a69;
  background: #0d100a;
  font-size: 11px;
}

.site-footer p {
  margin: 0;
}

.download-toast {
  position: fixed;
  z-index: 60;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border: 2px solid var(--ink);
  color: var(--ink);
  background: var(--acid);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.48);
  font-size: 13px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(24px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.download-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes machine-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

@keyframes blink {
  0%,
  46% {
    opacity: 1;
  }
  47%,
  55% {
    opacity: 0.25;
  }
  56%,
  100% {
    opacity: 1;
  }
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1040px) {
  .hero {
    height: auto;
    min-height: 930px;
    grid-template-columns: 1fr 0.8fr;
  }

  .hero h1 {
    font-size: clamp(54px, 8.5vw, 82px);
  }

  .hero-machine {
    min-height: 620px;
  }

  .machine-shot {
    width: min(72%, 315px);
  }

  .web-register--hero {
    width: min(82%, 330px);
  }

  .hero-stamp {
    left: -2%;
  }

  .feature-card:nth-child(n) {
    grid-column: span 6;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .app-titlebar strong {
    font-size: 17px;
  }

  .ledger-workspace {
    grid-template-columns: 0.9fr 1.15fr 0.85fr;
  }

  .settings-paper {
    width: 88%;
  }

  .image-frame--compact,
  .image-frame--receipt {
    min-height: 620px;
  }
}

@media (max-width: 760px) {
  :root {
    --page-pad: 20px;
  }

  html {
    scroll-padding-top: 58px;
  }

  .site-header,
  .site-header.is-scrolled {
    height: 58px;
  }

  .site-nav a:not(.nav-download) {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 112px;
    padding-bottom: 90px;
  }

  .hero::after {
    top: 56%;
    width: 100%;
    height: 44%;
    clip-path: none;
  }

  .hero h1 {
    font-size: clamp(49px, 15vw, 72px);
  }

  .hero-lead {
    line-height: 1.7;
  }

  .hero-actions {
    display: grid;
  }

  .hero-machine {
    min-height: 760px;
  }

  .machine-shot {
    width: min(70%, 284px);
  }

  .web-register--hero {
    width: min(82%, 300px);
    margin-top: -100px;
  }

  .web-register--hero .printed-receipt {
    width: 78%;
    left: 11%;
  }

  .machine-cable {
    right: -30%;
    width: 70%;
  }

  .hero-stamp {
    top: 14%;
    left: 2%;
    width: 78px;
    height: 78px;
  }

  .hero-stamp strong {
    font-size: 18px;
  }

  .scroll-cue {
    display: none;
  }

  .section-heading,
  .workflow-layout,
  .privacy-grid,
  .download-machine {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 24px;
    margin-bottom: 48px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card:nth-child(n) {
    grid-column: auto;
    min-height: 410px;
  }

  .mini-receipt {
    right: 7%;
  }

  .gallery-heading {
    align-items: start;
    flex-direction: column;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .interface-showcase {
    grid-template-columns: 1fr;
  }

  .interface-demo--wide {
    grid-column: auto;
  }

  .demo-stage {
    min-height: 600px;
    padding-inline: 18px;
  }

  .web-register--compact {
    width: min(90%, 320px);
  }

  .receipt-printer {
    width: min(88%, 320px);
  }

  .app-titlebar {
    grid-template-columns: 1fr auto 1fr;
    min-height: 58px;
    padding-inline: 10px;
  }

  .app-titlebar strong {
    font-size: 13px;
    letter-spacing: 0.06em;
  }

  .app-titlebar > span,
  .app-titlebar button {
    padding: 7px;
    font-size: 7px;
  }

  .ledger-summary {
    grid-template-columns: 1fr 1fr;
  }

  .ledger-summary strong {
    font-size: 20px;
  }

  .ledger-workspace {
    grid-template-columns: 1fr;
  }

  .ledger-ticket {
    width: min(62%, 240px);
  }

  .settings-paper {
    width: 94%;
    padding-inline: 14px;
  }

  .setting-row {
    grid-template-columns: 32px 1fr;
    padding-block: 15px;
  }

  .setting-row > :last-child {
    grid-column: 2;
    justify-self: start;
  }

  .gallery-item--wide {
    grid-column: auto;
  }

  .image-frame--compact,
  .image-frame--receipt {
    min-height: 540px;
  }

  .image-frame--compact img {
    width: min(65%, 280px);
  }

  .image-frame--receipt img {
    width: min(63%, 275px);
  }

  .workflow-layout {
    gap: 50px;
  }

  .privacy-grid {
    gap: 50px;
  }

  .download-machine {
    gap: 70px;
  }

  .download-machine::before {
    right: -30%;
    bottom: -8%;
    top: auto;
    width: 140%;
    height: 57%;
    transform: none;
  }

  .download-receipt {
    padding-inline: 26px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 390px) {
  .brand {
    font-size: 10px;
  }

  .site-nav .nav-download {
    padding-inline: 10px;
  }

  .hero h1 {
    font-size: 47px;
  }

  .web-register--hero {
    width: 275px;
  }

  .web-register--hero .printed-receipt {
    top: 292px;
    width: 80%;
    left: 10%;
    padding-inline: 15px;
  }

  .hero-meta {
    gap: 9px 12px;
  }

  .feature-card {
    padding: 22px;
  }

  .demo-stage {
    min-height: 560px;
    padding-inline: 10px;
  }

  .register-crt {
    min-height: 205px;
    padding-inline: 18px;
  }

  .crt-value {
    font-size: 64px;
  }

  .demo-controls button {
    padding-inline: 10px;
    font-size: 10px;
  }

  .receipt-printer {
    width: 96%;
  }

  .ledger-summary {
    gap: 6px;
    padding: 10px;
  }

  .ledger-summary > div {
    padding: 10px;
  }

  .ledger-summary strong {
    font-size: 17px;
  }

  .ledger-workspace {
    padding-inline: 10px;
  }

  .ledger-row {
    grid-template-columns: 1fr auto;
  }

  .ledger-row em {
    display: none;
  }

  .ledger-ticket {
    width: 76%;
  }

  .settings-paper {
    width: 96%;
    margin-block: 16px;
  }

  .setting-row {
    gap: 8px;
  }

  .segment-control {
    flex-wrap: wrap;
  }

  .mini-receipt {
    right: 3%;
    width: 190px;
  }

  .image-frame--compact,
  .image-frame--receipt {
    min-height: 470px;
  }

  .download-toast {
    right: 14px;
    bottom: 14px;
    left: 14px;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
