:root {
  --ink: #101614;
  --ink-soft: #35413d;
  --forest: #06271f;
  --green: #087a62;
  --mint: #c9f4e5;
  --mint-soft: #eaf9f3;
  --sun: #ffc85b;
  --white: #ffffff;
  --fog: #f3f5f3;
  --line: #d7ddd9;
  --max: 1400px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow-compact: 0 6px 8px rgba(6, 39, 31, .09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

html[dir="rtl"] body {
  font-family: "Cairo", "Manrope", sans-serif;
}

body.drawer-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: -.035em;
  line-height: 1.02;
  text-wrap: balance;
}

p {
  color: var(--ink-soft);
  text-wrap: pretty;
}

.shell {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 60;
  padding: 10px 14px;
  color: var(--white);
  background: var(--forest);
  border-radius: 8px;
  transform: translateY(-150%);
  transition: transform .2s;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 11px;
  corner-shape: squircle;
  font-size: .94rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button:focus-visible,
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
}

.button-dark {
  color: var(--white);
  background: var(--ink);
}

.button-dark:hover {
  background: var(--green);
}

.button-light {
  color: var(--ink);
  background: var(--white);
}

.button-light:hover {
  color: var(--white);
  background: var(--green);
}

.button-ink {
  color: var(--white);
  background: rgba(16, 22, 20, .92);
}

.button-ink:hover {
  color: var(--ink);
  background: var(--sun);
}

.button-outline {
  color: var(--ink);
  background: transparent;
  border-color: #bfc8c3;
}

.button-outline:hover {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.button-large {
  min-height: 54px;
  padding-inline: 25px;
  font-size: 1rem;
}

.soft-label {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  padding: 8px 14px;
  color: var(--forest);
  background: var(--mint);
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.1;
}

.founder-announcement {
  color: var(--white);
  background: var(--forest);
}

.announcement-row {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: .76rem;
  font-weight: 700;
}

.announcement-row > span {
  display: flex;
  align-items: center;
  gap: 9px;
}

.announcement-row > span i {
  width: 7px;
  height: 7px;
  background: var(--sun);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 200, 91, .15);
}

.announcement-row a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--sun);
}

.announcement-row a svg {
  width: 15px;
  transition: transform .2s;
}

.announcement-row a:hover svg {
  transform: translateX(3px);
}

html[dir="rtl"] .announcement-row a:hover svg {
  transform: translateX(-3px) scaleX(-1);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, .95);
  border-bottom: 1px solid transparent;
  backdrop-filter: saturate(150%) blur(12px);
  transition: border-color .25s, box-shadow .25s;
}

.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 3px 6px rgba(16, 22, 20, .05);
}

.header-row {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 36px;
}

.logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-size: 1.38rem;
  font-weight: 900;
  letter-spacing: -.04em;
}

.logo-lockup img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-inline-end: auto;
}

.desktop-nav a,
.header-login {
  position: relative;
  font-size: .9rem;
  font-weight: 700;
}

.desktop-nav a::after,
.header-login::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transition: transform .2s var(--ease);
}

.desktop-nav a:hover::after,
.header-login:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.button-header {
  min-height: 46px;
}

.lang-picker {
  position: relative;
}

.lang-trigger {
  display: flex;
  height: 42px;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-size: .8rem;
  font-weight: 800;
}

.lang-trigger:hover {
  background: var(--fog);
}

.lang-trigger svg {
  width: 18px;
}

.lang-trigger .chevron {
  width: 13px;
  transition: transform .2s;
}

.lang-picker.open .chevron {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 5;
  width: 210px;
  padding: 7px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 8px rgba(16, 22, 20, .1);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .2s, transform .2s var(--ease);
}

html[dir="rtl"] .lang-menu {
  right: auto;
  left: 0;
}

.lang-picker.open .lang-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.lang-menu form {
  margin: 0;
}

.lang-menu button {
  width: 100%;
  display: grid;
  grid-template-columns: 36px 1fr 20px;
  align-items: center;
  gap: 8px;
  padding: 10px;
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  text-align: start;
}

.lang-menu button:hover,
.lang-menu button.is-current {
  background: var(--mint-soft);
}

.lang-menu button b {
  font-size: .72rem;
}

.lang-menu button span {
  font-size: .86rem;
  font-weight: 600;
}

.lang-menu button svg {
  width: 17px;
  color: var(--green);
}

.drawer-toggle {
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 9px;
  cursor: pointer;
}

.drawer-toggle span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform .2s, opacity .2s;
}

.drawer-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.drawer-toggle.active span:nth-child(2) {
  opacity: 0;
}

.drawer-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 39;
  background: rgba(6, 39, 31, .52);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  width: min(390px, 92vw);
  display: flex;
  flex-direction: column;
  padding: 22px;
  background: var(--white);
  transform: translateX(103%);
  transition: transform .4s var(--ease);
}

html[dir="rtl"] .mobile-drawer {
  right: auto;
  left: 0;
  transform: translateX(-103%);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.drawer-close {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  background: var(--fog);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.drawer-close svg {
  width: 20px;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  padding-block: 16px;
}

.drawer-nav a {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 1.05rem;
  font-weight: 800;
}

.drawer-nav svg {
  width: 18px;
}

html[dir="rtl"] .drawer-nav svg,
html[dir="rtl"] .announcement-row svg {
  transform: scaleX(-1);
}

.drawer-languages {
  display: flex;
  gap: 6px;
  padding-block: 18px;
}

.drawer-languages form {
  flex: 1;
}

.drawer-languages button {
  width: 100%;
  padding: 9px 6px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-size: .78rem;
  font-weight: 700;
}

.drawer-languages button.is-current {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
}

.drawer-actions {
  display: grid;
  gap: 9px;
  margin-top: auto;
}

.drawer-actions p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 7px 0 0;
  font-size: .76rem;
}

.drawer-actions p svg {
  width: 16px;
  color: var(--green);
}

.hero {
  padding: 30px 0 0;
}

.hero-stage {
  position: relative;
  min-height: 550px;
  overflow: hidden;
  isolation: isolate;
  border-radius: 20px;
  background: #0b2c23;
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.js .hero-photo {
  opacity: .72;
  transform: scale(1.075);
  transition: opacity .8s var(--ease), transform 1.1s var(--ease);
}

.js.motion-ready .hero-photo {
  opacity: 1;
  transform: scale(1);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 33, 26, .78) 0%, rgba(5, 33, 26, .48) 34%, rgba(5, 33, 26, .08) 64%, transparent 78%),
    linear-gradient(0deg, rgba(5, 33, 26, .28), transparent 34%);
}

.js .hero-shade {
  clip-path: inset(0 100% 0 0);
  transition: clip-path .9s var(--ease);
}

html[dir="rtl"].js .hero-shade {
  clip-path: inset(0 0 0 100%);
}

.js.motion-ready .hero-shade,
html[dir="rtl"].js.motion-ready .hero-shade {
  clip-path: inset(0);
}

html[dir="rtl"] .hero-shade {
  background:
    linear-gradient(270deg, rgba(5, 33, 26, .78) 0%, rgba(5, 33, 26, .48) 34%, rgba(5, 33, 26, .08) 64%, transparent 78%),
    linear-gradient(0deg, rgba(5, 33, 26, .28), transparent 34%);
}

.hero-copy {
  width: min(560px, 49%);
  padding: clamp(58px, 6vw, 82px) 0 145px clamp(42px, 5vw, 72px);
  color: var(--white);
}

html[dir="rtl"] .hero-copy {
  padding-right: clamp(42px, 5vw, 72px);
  padding-left: 0;
}

.hero-badge {
  width: max-content;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  padding: 8px 13px;
  color: var(--forest);
  background: var(--mint);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 800;
}

.hero-badge span {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: livePulse 2.2s infinite;
}

@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(8, 122, 98, .15); }
  50% { box-shadow: 0 0 0 6px rgba(8, 122, 98, .22); }
}

.hero-copy h1 {
  max-width: 11.5ch;
  margin-bottom: 16px;
  font-size: clamp(2.4rem, 3.6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: .94;
}

.hero-copy h1 em {
  color: var(--sun);
  font-style: normal;
}

html[dir="rtl"] .hero-copy h1 {
  max-width: 12ch;
  line-height: 1.02;
}

.hero-copy p {
  max-width: 48ch;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(.9rem, 1.05vw, 1rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.continuity-ribbon {
  position: absolute;
  right: clamp(24px, 4vw, 56px);
  bottom: 22px;
  left: clamp(24px, 4vw, 56px);
  display: grid;
  grid-template-columns: minmax(230px, 1fr) minmax(100px, .6fr) minmax(230px, 1fr);
  align-items: center;
  gap: 18px;
  padding: 12px 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, .95);
  border-radius: 14px;
  box-shadow: var(--shadow-compact);
}

.js .continuity-ribbon {
  opacity: 0;
  transform: translateY(24px) scale(.98);
  transition: opacity .55s .42s var(--ease), transform .7s .42s var(--ease);
}

.js.motion-ready .continuity-ribbon {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.connection-state {
  display: flex;
  align-items: center;
  gap: 13px;
}

.connection-state:last-child {
  justify-content: flex-end;
}

.connection-state .state-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 10px;
}

.connection-state .state-icon svg {
  width: 22px;
}

.connection-state.is-weak .state-icon {
  color: #7b4d00;
  background: #fff0c9;
}

.connection-state.is-synced .state-icon {
  color: var(--green);
  background: var(--mint-soft);
}

.connection-state div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.connection-state small {
  color: #5c6763;
  font-size: .69rem;
}

.connection-state b {
  overflow: hidden;
  font-size: .8rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ribbon-track {
  position: relative;
  height: 2px;
  background: #b9c3be;
}

.ribbon-track::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 38%;
  height: 6px;
  background: var(--green);
  border-radius: 999px;
  animation: syncFlow 3s var(--ease) infinite;
}

.ribbon-track i {
  position: absolute;
  top: -4px;
  width: 10px;
  height: 10px;
  background: var(--white);
  border: 2px solid var(--green);
  border-radius: 50%;
}

.ribbon-track i:first-child { left: 0; }
.ribbon-track i:nth-child(2) { left: 50%; transform: translateX(-50%); }
.ribbon-track i:last-child { right: 0; }

@keyframes syncFlow {
  0% { left: 0; width: 8%; }
  55% { left: 35%; width: 35%; }
  100% { left: 92%; width: 8%; }
}

.promise-strip {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.promise-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.promise-row > div {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 8px clamp(18px, 3vw, 40px);
  border-inline-end: 1px solid var(--line);
}

.promise-row > div:first-child {
  padding-inline-start: 0;
}

.promise-row > div:last-child {
  padding-inline-end: 0;
  border-inline-end: 0;
}

.promise-row svg {
  width: 26px;
  flex: 0 0 auto;
  color: var(--green);
}

.promise-row span {
  min-width: 0;
  display: flex;
  flex-direction: column;
  color: #59645f;
  font-size: .76rem;
  line-height: 1.45;
}

.promise-row b {
  margin-bottom: 3px;
  color: var(--ink);
  font-size: .88rem;
}

.trade-intro {
  padding: clamp(92px, 11vw, 160px) 0;
}

.intro-copy {
  max-width: 850px;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.intro-copy h2,
.pricing-heading h2,
.mobile-heading h2,
.setup-heading h2 {
  margin-bottom: 20px;
  font-size: clamp(2.65rem, 5.2vw, 5rem);
  font-weight: 800;
  letter-spacing: -.04em;
}

.intro-copy p,
.pricing-heading p,
.mobile-heading p,
.setup-heading p {
  max-width: 68ch;
  margin-bottom: 0;
  font-size: 1.08rem;
  line-height: 1.7;
}

.trade-grid {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  grid-template-rows: auto auto;
  gap: 18px;
}

.trade-tile {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 16px;
}

.tile-sales {
  min-height: 680px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  grid-row: 1 / 3;
  padding: clamp(28px, 4.5vw, 64px);
  background: #bfeee0;
}

.tile-stock,
.tile-profit {
  min-height: 330px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(150px, .9fr);
  align-items: center;
  gap: 24px;
  padding: clamp(25px, 3.3vw, 46px);
}

.tile-stock {
  color: var(--white);
  background: var(--forest);
}

.tile-profit {
  background: var(--sun);
}

.tile-copy {
  position: relative;
  z-index: 2;
}

.tile-copy h3 {
  max-width: 17ch;
  margin: 18px 0 14px;
  font-size: clamp(1.85rem, 3vw, 3.2rem);
  font-weight: 800;
}

.tile-copy p {
  max-width: 56ch;
  margin-bottom: 20px;
  line-height: 1.65;
}

.tile-stock .tile-copy p {
  color: rgba(255, 255, 255, .76);
}

.tile-copy > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  font-weight: 800;
}

.tile-copy > a svg {
  width: 17px;
  transition: transform .2s;
}

.tile-copy > a:hover svg {
  transform: translateX(4px);
}

html[dir="rtl"] .tile-copy > a svg {
  transform: scaleX(-1);
}

.pos-ui {
  width: min(100%, 790px);
  margin: 40px auto -86px;
  overflow: hidden;
  color: var(--ink);
  background: var(--white);
  border-radius: 14px 14px 0 0;
  box-shadow: 0 6px 8px rgba(6, 39, 31, .13);
  transform: perspective(1200px) rotateX(2deg) rotateZ(-1deg);
}

html[dir="rtl"] .pos-ui {
  transform: perspective(1200px) rotateX(2deg) rotateZ(1deg);
}

.pos-top {
  height: 50px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 18px;
  background: #eef2ef;
  border-bottom: 1px solid #dce2de;
}

.pos-top > span {
  width: 8px;
  height: 8px;
  background: #bdc7c1;
  border-radius: 50%;
}

.pos-top b {
  margin-inline-start: auto;
  color: var(--green);
  font-size: .75rem;
}

.pos-body {
  display: grid;
  grid-template-columns: 1.5fr .7fr;
  min-height: 330px;
}

.pos-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 18px;
}

.pos-products i {
  position: relative;
  min-height: 112px;
  overflow: hidden;
  background:
    linear-gradient(140deg, transparent 55%, rgba(6, 39, 31, .08) 56%),
    linear-gradient(45deg, #dfe9e4, #f6f8f7);
  border-radius: 10px;
}

.pos-products i::before {
  content: "";
  position: absolute;
  width: 48px;
  height: 48px;
  top: 50%;
  left: 50%;
  background: var(--green);
  border-radius: 50%;
  opacity: .15;
  transform: translate(-50%, -50%);
}

.pos-products i b {
  position: absolute;
  right: 8px;
  bottom: 6px;
  color: #66716c;
  font-size: .62rem;
  font-style: normal;
}

.pos-bill {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  background: #f7f9f8;
  border-inline-start: 1px solid #dce2de;
}

.pos-bill > span {
  height: 30px;
  background: var(--white);
  border-radius: 6px;
}

.pos-bill strong {
  margin-top: auto;
  font-size: 1.35rem;
}

.pos-bill button {
  min-height: 44px;
  color: var(--white);
  background: var(--green);
  border: 0;
  border-radius: 8px;
  font-size: .72rem;
  font-weight: 800;
}

.stock-visual {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 22px;
}

.stock-ring {
  width: 150px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 16px solid rgba(255, 255, 255, .12);
  border-top-color: var(--mint);
  border-right-color: var(--mint);
  border-radius: 50%;
  transform: rotate(10deg);
}

.stock-ring strong,
.stock-ring span {
  transform: rotate(-10deg);
}

.stock-ring strong {
  font-size: 1.75rem;
}

.stock-ring span {
  color: rgba(255, 255, 255, .66);
  font-size: .65rem;
}

.stock-list {
  width: 100%;
  display: grid;
  gap: 8px;
}

.stock-list i {
  width: var(--w);
  height: 7px;
  background: rgba(201, 244, 229, .72);
  border-radius: 999px;
}

.profit-bars {
  height: 160px;
  display: flex;
  align-items: end;
  gap: 8px;
  padding-top: 16px;
  border-bottom: 2px solid rgba(16, 22, 20, .45);
}

.profit-bars i {
  width: 14px;
  height: var(--h);
  background: var(--forest);
  border-radius: 4px 4px 0 0;
}

.story {
  padding: clamp(90px, 12vw, 170px) 0;
}

.story-light {
  background: var(--fog);
}

.story-dark {
  color: var(--white);
  background: #180f19;
}

.story-document {
  background: var(--white);
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .7fr);
  align-items: center;
  gap: clamp(50px, 8vw, 125px);
}

.story-grid-reverse .story-media {
  order: 2;
}

.story-grid-reverse .story-copy {
  order: 1;
}

.story-media {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.story-media > img {
  width: 100%;
  min-height: 540px;
  object-fit: cover;
  border-radius: 16px;
  transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) scale(1.01);
  transform-origin: center;
  transition: transform .45s var(--ease);
}

.story-media.is-tilting > img {
  transition-duration: .1s;
  will-change: transform;
}

.story-copy h2 {
  margin: 22px 0 20px;
  font-size: clamp(2.45rem, 4.4vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -.04em;
}

.story-copy > p {
  max-width: 60ch;
  margin-bottom: 28px;
  font-size: 1.04rem;
  line-height: 1.7;
}

.story-dark .story-copy > p {
  color: rgba(255, 255, 255, .76);
}

.story-dark .soft-label {
  color: var(--ink);
  background: #ffd4f2;
}

.sync-toast {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, .96);
  border-radius: 12px;
  box-shadow: var(--shadow-compact);
}

html[dir="rtl"] .sync-toast {
  right: auto;
  left: 22px;
}

.sync-toast > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--green);
  background: var(--mint-soft);
  border-radius: 9px;
}

.sync-toast svg {
  width: 21px;
}

.sync-toast div {
  display: flex;
  flex-direction: column;
}

.sync-toast small {
  color: #65716b;
  font-size: .68rem;
}

.sync-toast b {
  font-size: .78rem;
}

.check-list {
  display: grid;
  gap: 11px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .91rem;
  font-weight: 700;
}

.check-list svg {
  width: 21px;
  height: 21px;
  padding: 3px;
  flex: 0 0 auto;
  color: var(--green);
  background: var(--mint);
  border-radius: 50%;
  stroke-width: 2.5;
}

.story-dark .check-list svg {
  color: var(--ink);
  background: #ffd4f2;
}

.scan-progress {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 9px 20px;
  padding: 14px 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, .96);
  border-radius: 11px;
}

.scan-progress i {
  position: relative;
  height: 5px;
  grid-column: 1 / -1;
  overflow: hidden;
  background: #dfe6e2;
  border-radius: 999px;
}

.scan-progress i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--green);
  transform-origin: left;
  animation: scanProgress 2.8s var(--ease) infinite;
}

@keyframes scanProgress {
  0% { transform: scaleX(.08); }
  75%, 100% { transform: scaleX(1); }
}

.scan-progress span {
  overflow: hidden;
  font-size: .76rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scan-progress b {
  font-size: .78rem;
}

.document-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 30px;
}

.document-chips span {
  padding: 8px 11px;
  background: var(--fog);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
}

.motion-story {
  position: relative;
  height: 440vh;
  min-height: 3200px;
  color: var(--forest);
  background: #c6eee2;
}

.motion-stage {
  --motion-p: 0;
  --motion-energy: 0;
  --receipt-reveal: 0;
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 720px;
  overflow: hidden;
  isolation: isolate;
  background: #c6eee2;
  perspective: 1800px;
  perspective-origin: 50% 48%;
  transition: color .55s ease, background-color .7s var(--ease);
  contain: paint;
}

.motion-stage[data-step="1"] {
  background-color: #f7f8f7;
}

.motion-stage[data-step="2"] {
  background-color: #b8b1b7;
}

.motion-stage[data-step="3"] {
  color: var(--white);
  background-color: #112a23;
}

.motion-stage::before,
.motion-stage::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.motion-stage::before {
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, .78) 0 8%, rgba(255, 255, 255, .2) 31%, rgba(255, 255, 255, 0) 58%);
  opacity: calc(.9 - var(--motion-p) * .35);
}

.motion-stage::after {
  display: none;
}

.motion-aura {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}

.motion-aura-one {
  top: -23vw;
  left: -17vw;
  width: 57vw;
  height: 57vw;
  background: rgba(255, 255, 255, .45);
  transform: translate3d(calc(var(--motion-p) * 14vw), calc(var(--motion-p) * 8vw), 0);
}

.motion-aura-two {
  right: -20vw;
  bottom: -25vw;
  width: 60vw;
  height: 60vw;
  background: rgba(11, 150, 119, .18);
  transform: translate3d(calc(var(--motion-p) * -16vw), calc(var(--motion-p) * -9vw), 0);
}

.motion-visual {
  position: absolute;
  inset: 0;
  z-index: 3;
  transform-style: preserve-3d;
}

.motion-paper {
  --card-x: 0vw;
  --card-y: 0px;
  --card-z: -80px;
  --card-rx: 0deg;
  --card-ry: 0deg;
  --card-rz: 0deg;
  --card-scale: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  overflow: hidden;
  color: #17342c;
  background: #fffef8;
  border: 1px solid rgba(37, 64, 55, .12);
  box-shadow: 0 20px 45px rgba(5, 25, 19, .18);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  transform:
    translate3d(calc(-50% + var(--card-x)), calc(-50% + var(--card-y)), var(--card-z))
    rotateX(var(--card-rx))
    rotateY(var(--card-ry))
    rotateZ(var(--card-rz))
    scale(var(--card-scale));
  transform-style: preserve-3d;
  will-change: transform;
}

.motion-receipt {
  z-index: 2;
  width: clamp(176px, 14vw, 226px);
  min-height: 330px;
  padding: 22px 18px 27px;
  opacity: calc(.34 + var(--receipt-reveal) * .66);
  clip-path: polygon(0 0, 100% 0, 100% 97%, 96% 100%, 91% 97%, 86% 100%, 81% 97%, 76% 100%, 71% 97%, 66% 100%, 61% 97%, 56% 100%, 51% 97%, 46% 100%, 41% 97%, 36% 100%, 31% 97%, 26% 100%, 21% 97%, 16% 100%, 11% 97%, 6% 100%, 0 97%);
  background:
    linear-gradient(90deg, rgba(15, 77, 61, .025) 1px, transparent 1px),
    #fffef8;
  background-size: 7px 100%;
  filter: saturate(calc(.7 + var(--receipt-reveal) * .3));
}

.receipt-sync-badge {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  padding: 4px 7px;
  color: #06765e;
  background: #dcf8ee;
  border: 1px solid rgba(6, 118, 94, .12);
  border-radius: 999px;
  font-family: var(--font);
  font-size: .43rem;
  font-weight: 900;
  letter-spacing: .04em;
}

.motion-delivery-slip {
  width: clamp(210px, 18vw, 285px);
  min-height: 270px;
  padding: 24px 21px;
  overflow: hidden;
  border-radius: 18px;
  corner-shape: squircle;
  background:
    linear-gradient(135deg, rgba(166, 233, 211, .45), transparent 46%),
    #f7fbf9;
}

.motion-paper::after {
  position: absolute;
  inset: -35%;
  background: linear-gradient(115deg, transparent 36%, rgba(255, 255, 255, .3) 48%, transparent 60%);
  content: "";
  transform: translate3d(calc(var(--motion-p) * 55%), 0, 0);
}

.receipt-brand,
.slip-top {
  display: flex;
  align-items: center;
  gap: 9px;
}

.receipt-brand > b,
.slip-top > b {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 9px;
  corner-shape: squircle;
  font-family: inherit;
  font-size: .88rem;
}

.receipt-brand span {
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-weight: 800;
}

.receipt-brand small {
  margin-top: 1px;
  color: #789087;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: .43rem;
  letter-spacing: .13em;
}

.receipt-rule {
  display: block;
  margin: 16px 0 12px;
  border-top: 1px dashed #aab8b3;
}

.receipt-meta,
.receipt-total,
.receipt-lines span {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.receipt-meta {
  color: #70837c;
  font-size: .48rem;
}

.receipt-lines {
  display: grid;
  gap: 13px;
  margin-top: 19px;
}

.receipt-lines i {
  width: 55%;
  height: 5px;
  border-radius: 999px;
  background: #dbe4e0;
}

.receipt-lines b {
  font-size: .57rem;
}

.receipt-total {
  align-items: flex-end;
  gap: 10px;
  font-size: .54rem;
}

.receipt-total strong {
  font-size: .82rem;
}

.receipt-code {
  display: flex;
  justify-content: center;
  gap: 3px;
  height: 34px;
  margin-top: 23px;
}

.receipt-code i {
  width: 3px;
  background: #17342c;
}

.receipt-code i:nth-child(2n) { width: 6px; }
.receipt-code i:nth-child(3n) { width: 2px; }

.slip-top {
  padding-bottom: 17px;
  border-bottom: 1px solid #d8e3df;
  font-family: var(--font);
  font-size: .68rem;
  font-weight: 800;
}

.motion-delivery-slip > strong {
  display: block;
  margin: 18px 0;
  font-size: 1.2rem;
  letter-spacing: .04em;
}

.slip-row {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  align-items: center;
  gap: 9px;
  margin: 12px 0;
}

.slip-row i {
  width: 14px;
  height: 14px;
  border: 1px solid #86a69a;
  border-radius: 4px;
}

.slip-row span {
  height: 5px;
  border-radius: 999px;
  background: #d4e2dd;
}

.slip-row b {
  font-size: .59rem;
}

.slip-check {
  margin-top: 20px;
  padding: 9px;
  color: #087a62;
  background: #dff7ef;
  border-radius: 8px;
  font-family: var(--font);
  font-size: .57rem;
  font-weight: 800;
  text-align: center;
}

.motion-device {
  --device-x: 8vw;
  --device-y: 0px;
  --device-z: 0px;
  --device-rx: 0deg;
  --device-ry: -3deg;
  --device-rz: -1deg;
  --device-scale: .94;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: clamp(310px, 25.5vw, 365px);
  aspect-ratio: .4626;
  transform:
    translate3d(calc(-50% + var(--device-x)), calc(-50% + var(--device-y)), var(--device-z))
    rotateX(var(--device-rx))
    rotateY(var(--device-ry))
    rotateZ(var(--device-rz))
    scale(var(--device-scale));
  transform-style: preserve-3d;
  will-change: transform;
}

.motion-device-glow {
  position: absolute;
  right: 7%;
  bottom: 4%;
  left: 7%;
  z-index: 0;
  height: 10%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(18, 50, 41, .38) 0, rgba(18, 50, 41, .17) 46%, transparent 72%);
  filter: none;
  transform: translate3d(0, 20px, -35px) scale(.92);
}

.phone-composite-stack,
.terminal-composite-stack {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.phone-composite,
.terminal-composite {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(.985);
  transition: opacity .55s ease, transform .8s var(--ease);
  will-change: opacity, transform;
}

.phone-composite.is-active,
.terminal-composite.is-active {
  opacity: 1;
  transform: scale(1);
}

/* The fitted screen is baked into each complete device image. */
.motion-device > .device-screen-stack,
.motion-device > .device-hardware,
.motion-device > .motion-device-highlight,
.motion-device > .device-receipt-slot {
  display: none;
}

.device-screen-stack {
  position: absolute;
  /* Match the illuminated glass in phone-chassis-v2.png. */
  top: 11.05%;
  left: 15.55%;
  z-index: 2;
  width: 79.55%;
  height: 77.15%;
  overflow: hidden;
  border-radius: 8.5% / 4.2%;
  corner-shape: squircle;
  background: #f3f8f6;
  transform: translateZ(3px);
  contain: strict;
}

.device-screen-stack::before {
  position: absolute;
  top: 1.05%;
  left: 50%;
  z-index: 20;
  width: 25%;
  height: 2.2%;
  min-height: 5px;
  background: #0a0d0c;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .8);
  content: "";
  pointer-events: none;
  transform: translateX(-50%);
}

.device-screen {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  opacity: 1;
  background: #e9f5f1;
  transform: translate3d(0, 100%, 0);
  will-change: transform;
}

.device-screen.is-active {
  transform: translate3d(0, 0, 0);
}

.device-screen-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.device-screen > :not(.device-screen-art),
.device-screen::after {
  display: none;
}

.device-screen::after {
  position: absolute;
  top: 28%;
  right: 0;
  left: 0;
  z-index: 2;
  height: 18%;
  background: linear-gradient(transparent, rgba(246, 250, 248, .98));
  content: "";
  pointer-events: none;
}

.device-scene-stock .device-screen-art,
.device-scene-scan .device-screen-art,
.device-scene-docs .device-screen-art {
  object-position: center;
}

.device-topbar {
  position: absolute;
  top: 9px;
  right: 10px;
  left: 10px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 7px;
  text-shadow: 0 1px 5px rgba(4, 24, 18, .45);
}

.device-topbar > b {
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  color: var(--forest);
  background: rgba(235, 255, 248, .94);
  border-radius: 5px;
  corner-shape: squircle;
  font-size: 7px;
  text-shadow: none;
}

.device-topbar > span {
  font-weight: 800;
}

.device-topbar > i {
  margin-inline-start: auto;
  font-style: normal;
  letter-spacing: 1px;
}

.device-live-panel {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 4;
  height: 65%;
  overflow: hidden;
  padding: 14px 11px 9px;
  color: #17342c;
  background: #f8fbfa;
  border-radius: 15px 15px 0 0;
  corner-shape: squircle;
  box-shadow: 0 -8px 18px rgba(7, 39, 31, .18);
  font-size: 6px;
}

.device-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
}

.device-panel-head > span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.device-panel-head small {
  color: #769087;
  font-size: 5px;
}

.device-panel-head b {
  font-size: 8px;
  letter-spacing: -.02em;
}

.device-panel-head > em {
  padding: 3px 5px;
  color: #8d5d11;
  background: #fff0cd;
  border-radius: 99px;
  font-size: 4.5px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .04em;
}

.device-panel-head > em.is-online {
  color: #087a62;
  background: #dff7ef;
}

.device-kpis {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 6px;
}

.device-kpis article {
  position: relative;
  min-height: 46px;
  padding: 8px;
  background: #edf4f1;
  border: 1px solid #e0eae6;
  border-radius: 9px;
  corner-shape: squircle;
}

.device-kpis small,
.device-kpis strong,
.device-kpis span,
.device-kpis em {
  display: block;
}

.device-kpis small {
  margin-bottom: 3px;
  color: #789087;
  font-size: 5px;
}

.device-kpis strong {
  font-size: 12px;
  letter-spacing: -.04em;
}

.device-kpis span {
  color: #71877f;
  font-size: 4px;
}

.device-kpis em {
  margin-top: 3px;
  color: #087a62;
  font-size: 5px;
  font-style: normal;
  font-weight: 800;
}

.device-chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 38px;
  margin: 8px 0 7px;
  padding: 6px 8px;
  background:
    linear-gradient(rgba(12, 75, 59, .06) 1px, transparent 1px) 0 0 / 100% 11px,
    #fff;
  border: 1px solid #e3ebe8;
  border-radius: 8px;
}

.device-chart i {
  flex: 1;
  height: var(--v);
  min-height: 5px;
  border-radius: 99px 99px 2px 2px;
  background: linear-gradient(#24b99a, #087a62);
}

.device-activity,
.device-stock-list,
.device-doc-list {
  display: grid;
  gap: 4px;
}

.device-activity > span,
.device-stock-list > span,
.device-doc-list > span {
  display: flex;
  align-items: center;
  min-height: 27px;
  gap: 6px;
  padding: 5px 6px;
  background: #fff;
  border: 1px solid #e6eeeb;
  border-radius: 7px;
}

.device-activity i {
  display: grid;
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  place-items: center;
  color: #087a62;
  background: #dff7ef;
  border-radius: 6px;
  font-size: 5px;
  font-style: normal;
  font-weight: 900;
}

.device-activity b,
.device-stock-list b {
  font-size: 5px;
}

.device-activity strong,
.device-activity em,
.device-stock-list em {
  margin-inline-start: auto;
  font-size: 4.5px;
  font-style: normal;
}

.device-activity em {
  color: #8d5d11;
}

.device-nav {
  position: absolute;
  right: 10px;
  bottom: 5px;
  left: 10px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 19px;
  padding-top: 4px;
  border-top: 1px solid #e2ebe7;
  color: #82958e;
  font-size: 7px;
}

.device-nav b {
  color: #087a62;
}

.device-stock-summary {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
  padding: 8px;
  color: #fff;
  background: linear-gradient(135deg, #087a62, #0fa98a);
  border-radius: 10px;
  corner-shape: squircle;
}

.device-stock-summary > strong {
  font-size: 18px;
}

.device-stock-summary > span {
  display: flex;
  flex: 1;
  flex-direction: column;
  font-size: 5px;
  font-weight: 700;
}

.device-stock-summary small {
  margin-top: 2px;
  color: rgba(255, 255, 255, .7);
  font-size: 4px;
}

.device-stock-summary > b {
  padding: 3px 5px;
  color: #087a62;
  background: #dff7ef;
  border-radius: 99px;
  font-size: 5px;
}

.device-stock-list i {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 3px;
  background: #b9e3d5;
}

.device-stock-list .stock-dot-two { background: #f1d49a; }
.device-stock-list .stock-dot-three { background: #bdd8ee; }

.device-primary-action {
  width: 100%;
  height: 24px;
  margin-top: 6px;
  color: #fff;
  background: #087a62;
  border: 0;
  border-radius: 7px;
  font-family: inherit;
  font-size: 5px;
  font-weight: 800;
}

.motion-scan-beam {
  position: absolute;
  top: 15%;
  right: 7%;
  left: 7%;
  z-index: 6;
  height: 2px;
  background: #43ffd0;
  box-shadow: 0 0 8px #43ffd0, 0 0 18px rgba(67, 255, 208, .65);
  opacity: 0;
  transform: translateY(0);
}

.motion-stage[data-step="2"] .motion-scan-beam {
  opacity: .95;
  animation: receiptScan 1.9s cubic-bezier(.4, 0, .2, 1) infinite;
}

@keyframes receiptScan {
  0%, 100% { transform: translateY(0); opacity: .15; }
  14%, 82% { opacity: .95; }
  86% { transform: translateY(135px); opacity: .95; }
}

.device-ocr-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 8px;
  margin-bottom: 7px;
  padding: 7px;
  background: #fff;
  border: 1px solid #e0e9e6;
  border-radius: 9px;
}

.device-mini-receipt {
  min-height: 79px;
  padding: 7px 6px;
  background: #fffdf4;
  border: 1px solid #ede7d3;
  border-radius: 5px;
}

.device-mini-receipt i {
  display: block;
  width: 100%;
  height: 3px;
  margin-bottom: 7px;
  background: #d8d8ce;
}

.device-mini-receipt i:nth-child(2) { width: 75%; }
.device-mini-receipt i:nth-child(3) { width: 88%; }

.device-mini-receipt strong,
.device-mini-receipt small {
  display: block;
  margin-top: 7px;
  font-size: 8px;
}

.device-mini-receipt small {
  margin-top: 0;
  color: #7a8d86;
  font-size: 4px;
}

.device-ocr-card > div:last-child {
  display: grid;
  gap: 4px;
}

.device-ocr-card > div:last-child span {
  display: flex;
  justify-content: space-between;
  padding-bottom: 4px;
  border-bottom: 1px solid #e5edea;
  color: #738780;
  font-size: 4.5px;
}

.device-ocr-card > div:last-child b {
  color: #17342c;
  font-size: 5px;
}

.device-extract-tags {
  display: flex;
  gap: 4px;
}

.device-extract-tags span {
  flex: 1;
  padding: 4px;
  color: #087a62;
  background: #e4f7f0;
  border-radius: 5px;
  font-size: 4.5px;
  font-weight: 800;
  text-align: center;
}

.device-doc-list > span {
  min-height: 38px;
}

.device-doc-list > span > i {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  place-items: center;
  color: #087a62;
  background: #dff7ef;
  border-radius: 7px;
  font-size: 5px;
  font-style: normal;
  font-weight: 900;
}

.device-doc-list > span > b {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
  font-size: 5.5px;
}

.device-doc-list small {
  color: #768a83;
  font-size: 4px;
  font-weight: 500;
}

.device-doc-list > span > em {
  color: #087a62;
  font-size: 8px;
  font-style: normal;
}

.device-share-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 7px;
  padding: 7px;
  color: #fff;
  background: #173f35;
  border-radius: 9px;
}

.device-share-row span {
  display: flex;
  flex-direction: column;
}

.device-share-row b {
  font-size: 11px;
}

.device-share-row small {
  color: rgba(255, 255, 255, .65);
  font-size: 4px;
}

.device-share-row button {
  padding: 6px 8px;
  color: #17342c;
  background: #c9f4e6;
  border: 0;
  border-radius: 6px;
  font-family: inherit;
  font-size: 4.5px;
  font-weight: 800;
}

.device-hardware {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  filter: none;
  transform: translateZ(1px);
}

.device-receipt-slot {
  position: absolute;
  top: 77.6%;
  inset-inline-end: -1.5%;
  z-index: 4;
  width: 24%;
  height: 10px;
  overflow: hidden;
  background: #111b18;
  border: 2px solid rgba(215, 224, 220, .85);
  border-radius: 999px;
  box-shadow: 0 7px 12px rgba(2, 18, 13, .24);
  opacity: calc(.2 + var(--receipt-reveal) * .8);
  transform: translateZ(20px) rotate(calc(-7deg * var(--receipt-reveal)));
}

.device-receipt-slot i {
  position: absolute;
  inset: 2px 8px;
  background: linear-gradient(90deg, transparent, rgba(210, 255, 240, .65), transparent);
  border-radius: inherit;
  transform: translateX(calc((var(--receipt-reveal) - .5) * 120%));
}

.motion-device-highlight {
  position: absolute;
  top: 13%;
  left: 18%;
  z-index: 5;
  width: 3px;
  height: 62%;
  border-radius: 999px;
  background: linear-gradient(transparent, rgba(255, 255, 255, .52), transparent);
  opacity: .55;
  transform: translateZ(18px);
}

.motion-copy-stack {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.motion-step {
  position: absolute;
  top: 50%;
  width: min(30vw, 430px);
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, calc(-50% + 44px), 70px);
  transition:
    opacity .28s ease,
    transform .58s var(--ease);
}

.motion-step-start {
  inset-inline-start: max(5vw, calc((100vw - var(--max)) / 2 + 18px));
  text-align: start;
}

.motion-step-end {
  inset-inline-end: max(5vw, calc((100vw - var(--max)) / 2 + 18px));
  text-align: start;
}

.motion-step.is-active {
  opacity: var(--copy-visibility, 1);
  pointer-events: auto;
  transform: translate3d(0, -50%, 70px);
}

.motion-stage.is-copy-hidden .motion-step {
  pointer-events: none;
}

.motion-step > span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 14px;
  color: var(--forest);
  background: rgba(228, 255, 246, .88);
  border-radius: 999px;
  corner-shape: squircle;
  font-size: .78rem;
  font-weight: 800;
}

.motion-step h2 {
  max-width: 12ch;
  margin-bottom: 18px;
  font-size: clamp(2.45rem, 3.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  text-wrap: balance;
}

.motion-step p {
  max-width: 43ch;
  margin-bottom: 22px;
  color: #3f5951;
  font-size: .9rem;
  line-height: 1.62;
  text-wrap: pretty;
}

.motion-cta {
  min-height: 44px;
  padding: 10px 17px;
  pointer-events: auto;
}

html[dir="rtl"] .motion-step h2 {
  max-width: 14ch;
  font-size: clamp(2.3rem, 3.1vw, 3.55rem);
  letter-spacing: -.025em;
  line-height: 1.12;
}

html[dir="rtl"] .motion-step p {
  max-width: 48ch;
  line-height: 1.78;
}

.motion-stage[data-step="3"] .motion-step p,
.motion-stage[data-step="3"] .motion-scroll-hint {
  color: rgba(255, 255, 255, .74);
}

.motion-stage[data-step="3"] .motion-step > span {
  color: #09261f;
  background: #c5f4e4;
}

.motion-progress {
  position: absolute;
  bottom: 34px;
  left: 50%;
  z-index: 7;
  display: flex;
  align-items: center;
  gap: 9px;
  transform: translateX(-50%);
}

.motion-progress i {
  width: 28px;
  height: 8px;
  background: currentColor;
  border-radius: 999px;
  opacity: .24;
  transform: scaleX(.285);
  transition: transform .3s var(--ease), opacity .3s;
}

.motion-progress i.is-active {
  color: var(--green);
  opacity: 1;
  transform: scaleX(1);
}

.motion-scroll-hint {
  position: absolute;
  bottom: 29px;
  left: 28px;
  z-index: 7;
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(6, 39, 31, .65);
  font-size: .68rem;
  font-weight: 800;
  transition: color .4s, opacity .3s;
}

html[dir="rtl"] .motion-scroll-hint {
  right: 28px;
  left: auto;
}

.motion-scroll-hint span {
  width: 19px;
  height: 30px;
  position: relative;
  border: 1px solid rgba(6, 39, 31, .45);
  border-radius: 999px;
}

.motion-scroll-hint span::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 3px;
  height: 6px;
  background: var(--green);
  border-radius: 999px;
  transform: translateX(-50%);
  animation: scrollHint 1.6s var(--ease) infinite;
}

.motion-stage[data-step="1"] .motion-scroll-hint,
.motion-stage[data-step="2"] .motion-scroll-hint,
.motion-stage[data-step="3"] .motion-scroll-hint {
  opacity: 0;
}

@keyframes scrollHint {
  0% { opacity: 0; transform: translate(-50%, 0); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 9px); }
}

.setup-section {
  padding: clamp(100px, 12vw, 170px) 0;
  background: var(--white);
}

.setup-heading {
  max-width: 820px;
  margin-bottom: 70px;
}

.setup-heading h2 {
  margin-top: 20px;
}

.setup-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  counter-reset: setup;
  list-style: none;
}

.setup-flow li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 28px 25px 28px 0;
  border-top: 1px solid var(--ink);
}

html[dir="rtl"] .setup-flow li {
  padding: 28px 0 28px 25px;
}

.setup-flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: -4px;
  right: 0;
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
}

html[dir="rtl"] .setup-flow li:not(:last-child)::after {
  right: auto;
  left: 0;
}

.setup-flow li > b {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--white);
  background: var(--forest);
  border-radius: 50%;
  font-size: .76rem;
}

.setup-flow h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.25;
}

.setup-flow p {
  margin-bottom: 0;
  font-size: .78rem;
  line-height: 1.6;
}

.pricing-section {
  padding: clamp(100px, 12vw, 170px) 0;
  background: var(--fog);
}

.pricing-heading {
  max-width: 900px;
  margin-bottom: 60px;
}

.pricing-heading h2 {
  margin-top: 20px;
}

.founder-offer {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  margin-bottom: 75px;
  padding: clamp(36px, 6vw, 90px);
  color: var(--white);
  border-radius: 18px;
  background: var(--forest);
}

.founder-offer > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.founder-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(6, 39, 31, .98) 0%, rgba(6, 39, 31, .9) 42%, rgba(6, 39, 31, .2) 76%);
}

html[dir="rtl"] .founder-shade {
  background: linear-gradient(270deg, rgba(6, 39, 31, .98) 0%, rgba(6, 39, 31, .9) 42%, rgba(6, 39, 31, .2) 76%);
}

.founder-copy {
  max-width: 620px;
}

.founder-copy > span {
  display: inline-flex;
  padding: 8px 13px;
  color: var(--ink);
  background: var(--sun);
  border-radius: 999px;
  font-size: .77rem;
  font-weight: 800;
}

.founder-copy h3 {
  margin: 22px 0 17px;
  font-size: clamp(2.6rem, 4.6vw, 4.7rem);
  font-weight: 800;
  letter-spacing: -.04em;
}

.founder-copy > p {
  max-width: 59ch;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, .82);
  line-height: 1.7;
}

.founder-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 28px;
}

.founder-price strong {
  font-size: clamp(3.3rem, 6vw, 5.7rem);
  letter-spacing: -.04em;
  line-height: 1;
}

.founder-price small {
  color: var(--mint);
  font-weight: 700;
}

.plans-intro {
  max-width: 770px;
  margin-bottom: 36px;
}

.plans-intro h3 {
  margin-bottom: 10px;
  font-size: clamp(1.5rem, 2.6vw, 2.4rem);
  font-weight: 800;
}

.plans-intro p {
  margin-bottom: 0;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.plan {
  display: flex;
  min-height: 500px;
  flex-direction: column;
  padding: clamp(26px, 3vw, 38px);
  background: var(--white);
  border-radius: 14px;
}

.plan-featured {
  color: var(--white);
  background: var(--forest);
}

.plan header span {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 9px;
  color: var(--green);
  background: var(--mint-soft);
  border-radius: 999px;
  font-size: .69rem;
  font-weight: 800;
}

.plan-featured header span {
  color: var(--forest);
  background: var(--sun);
}

.plan h3 {
  margin-bottom: 26px;
  font-size: 1.65rem;
  font-weight: 800;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.plan-featured .plan-price {
  border-color: rgba(255, 255, 255, .18);
}

.plan-price strong {
  font-size: clamp(2.5rem, 4vw, 4rem);
  letter-spacing: -.04em;
}

.plan-price small {
  color: #64706a;
  font-size: .72rem;
  font-weight: 700;
}

.plan-featured .plan-price small {
  color: rgba(255, 255, 255, .7);
}

.plan ul {
  display: grid;
  gap: 13px;
  margin: 26px 0 32px;
  padding: 0;
  list-style: none;
}

.plan li {
  position: relative;
  padding-inline-start: 24px;
  font-size: .84rem;
  font-weight: 650;
}

.plan li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  color: var(--green);
  font-weight: 900;
}

.plan-featured li::before {
  color: var(--mint);
}

.plan .button {
  width: 100%;
  margin-top: auto;
}

.plan-featured .button-dark {
  color: var(--ink);
  background: var(--white);
}

.faq-section {
  padding: clamp(100px, 12vw, 170px) 0;
  background: var(--white);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(260px, .65fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(50px, 9vw, 130px);
}

.faq-heading {
  position: sticky;
  top: 130px;
}

.faq-heading h2 {
  margin: 22px 0 18px;
  font-size: clamp(2.7rem, 4.8vw, 4.7rem);
  font-weight: 800;
}

.faq-heading p {
  margin-bottom: 28px;
  line-height: 1.65;
}

.faq-list {
  border-top: 1px solid var(--ink);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 4px;
  cursor: pointer;
  font-size: clamp(1rem, 1.5vw, 1.28rem);
  font-weight: 800;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  position: relative;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border: 1px solid #aeb8b2;
  border-radius: 50%;
}

.faq-list summary span::before,
.faq-list summary span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1.5px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform .25s;
}

.faq-list summary span::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-list details[open] summary span::after {
  transform: translate(-50%, -50%) rotate(0);
}

.faq-list details p {
  max-width: 70ch;
  margin: -4px 0 0;
  padding: 0 52px 27px 4px;
  line-height: 1.7;
}

html[dir="rtl"] .faq-list details p {
  padding-right: 4px;
  padding-left: 52px;
}

.final-section {
  padding: 0 0 26px;
}

.final-panel {
  position: relative;
  display: flex;
  min-height: 610px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
  padding: 80px 24px;
  color: var(--white);
  background:
    radial-gradient(circle at 15% 120%, rgba(255, 200, 91, .3), transparent 35%),
    radial-gradient(circle at 86% -20%, rgba(201, 244, 229, .2), transparent 38%),
    var(--forest);
  border-radius: 18px;
  text-align: center;
}

.final-panel > img {
  width: 58px;
  height: 58px;
  margin-bottom: 24px;
  padding: 9px;
  background: var(--white);
  border-radius: 12px;
}

.final-panel > span {
  color: var(--mint);
  font-size: .78rem;
  font-weight: 800;
}

.final-panel h2 {
  max-width: 14ch;
  margin: 22px 0 18px;
  font-size: clamp(2.8rem, 5.6vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -.04em;
}

.final-panel p {
  max-width: 60ch;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, .76);
  font-size: 1.02rem;
  line-height: 1.7;
}

footer {
  padding: 72px 0 28px;
  color: var(--white);
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 50px;
  padding-bottom: 58px;
}

.footer-brand .logo-lockup {
  margin-bottom: 18px;
}

.footer-brand .logo-lockup img {
  padding: 5px;
  background: var(--white);
  border-radius: 8px;
}

.footer-brand p {
  max-width: 50ch;
  margin-bottom: 0;
  color: rgba(255, 255, 255, .62);
  font-size: .84rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 26px;
}

.footer-links a {
  color: rgba(255, 255, 255, .78);
  font-size: .8rem;
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--mint);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  color: rgba(255, 255, 255, .48);
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: .72rem;
}

.mobile-conversion-bar {
  position: fixed;
  right: 10px;
  bottom: 10px;
  left: 10px;
  z-index: 28;
  display: none;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: 0 6px 8px rgba(6, 39, 31, .14);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(100% + 24px));
  transition: opacity .25s, transform .35s var(--ease);
}

.mobile-conversion-bar.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-conversion-bar.is-story-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(100% + 24px));
}

.mobile-conversion-bar > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.mobile-conversion-bar b,
.mobile-conversion-bar span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-conversion-bar b {
  font-size: .76rem;
}

.mobile-conversion-bar span {
  color: #68736d;
  font-size: .64rem;
}

.mobile-conversion-bar .button {
  min-height: 42px;
  padding: 10px 14px;
  font-size: .73rem;
}

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

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}

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

.terminal-story {
  position: relative;
  height: 410vh;
  min-height: 2900px;
  background: #f7f8f7;
}

.terminal-stage {
  --terminal-bg: #f7f8f7;
  --terminal-build: 1;
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 720px;
  overflow: hidden;
  color: var(--ink);
  background: var(--terminal-bg);
  perspective: 1500px;
  transition: background-color .12s linear, color .45s ease;
  isolation: isolate;
}

.terminal-stage::before,
.terminal-stage::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.terminal-stage::before {
  inset: 0;
  z-index: -2;
  background: rgba(255, 255, 255, calc(.52 - var(--terminal-dark, 0) * .52));
}

.terminal-stage::after {
  right: 9%;
  bottom: 10%;
  z-index: -1;
  width: 18vw;
  height: 18vw;
  max-width: 280px;
  max-height: 280px;
  border: 1px solid rgba(8, 122, 98, .16);
  border-radius: 50%;
  opacity: calc(.2 + var(--terminal-dark, 0) * .28);
  transform: translate3d(calc(var(--terminal-p, 0) * -8vw), calc(var(--terminal-p, 0) * -4vh), 0);
}

.terminal-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: calc(.34 - var(--terminal-dark, 0) * .2);
  background-image:
    linear-gradient(rgba(16, 22, 20, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 22, 20, .055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, transparent, #000 24%, #000 78%, transparent);
}

.terminal-copy {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: min(32vw, 460px);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, calc(-50% + 34px), 80px);
  transition: opacity .2s ease, transform .52s var(--ease), color .3s ease;
}

.terminal-copy-left {
  left: max(4vw, calc((100vw - var(--max)) / 2 + 12px));
}

.terminal-copy-right {
  right: max(4vw, calc((100vw - var(--max)) / 2 + 12px));
}

.terminal-copy.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, -50%, 80px);
}

.terminal-copy > span {
  display: inline-flex;
  margin-bottom: 17px;
  padding: 8px 13px;
  color: #075b49;
  background: var(--mint);
  border-radius: 999px;
  corner-shape: squircle;
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .02em;
}

.terminal-copy h2 {
  max-width: 15ch;
  margin-bottom: 18px;
  /* Capped so long French/English headlines stay inside the copy column instead
     of spilling across the device. */
  font-size: clamp(2rem, 2.9vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -.02em;
  overflow-wrap: break-word;
}

html[dir="rtl"] .terminal-copy h2 {
  width: 100%;
  max-width: none;
  font-size: clamp(2.35rem, 3vw, 3.6rem);
  letter-spacing: -.02em;
  line-height: 1.12;
}

html[dir="rtl"] .terminal-copy {
  width: min(30vw, 440px);
}

.terminal-copy p {
  max-width: 37ch;
  margin-bottom: 24px;
  font-size: .92rem;
  line-height: 1.62;
  transition: color .45s ease;
}

.terminal-stage[data-step="2"] {
  color: var(--white);
}

.terminal-stage[data-step="2"] .terminal-copy p {
  color: rgba(255, 255, 255, .75);
}

.terminal-stage[data-step="2"] .terminal-copy > span {
  color: #072a22;
  background: #bff4e1;
}

.terminal-scene {
  --terminal-x: 0vw;
  --terminal-y: 54px;
  --terminal-z: -170px;
  --terminal-rx: 7deg;
  --terminal-ry: -16deg;
  --terminal-rz: -4deg;
  --terminal-scale: .8;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: min(47vw, 680px);
  aspect-ratio: 1.14;
  transform-style: preserve-3d;
  transform:
    translate3d(calc(-50% + var(--terminal-x)), calc(-50% + var(--terminal-y)), var(--terminal-z))
    rotateX(var(--terminal-rx))
    rotateY(var(--terminal-ry))
    rotateZ(var(--terminal-rz))
    scale(var(--terminal-scale));
  will-change: transform;
}

.terminal-floor-shadow {
  position: absolute;
  right: 7%;
  bottom: 3%;
  left: 7%;
  height: 12%;
  background: radial-gradient(ellipse, rgba(8, 13, 12, .28) 0, rgba(8, 13, 12, .14) 48%, transparent 72%);
  border-radius: 50%;
  filter: none;
  opacity: calc(.55 + var(--terminal-dark, 0) * .23);
  transform: translateZ(-80px) rotateX(74deg);
}

@media (max-width: 1400px) {
  .motion-receipt {
    display: none;
  }
}

.terminal-device {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.terminal-composite-stack {
  transform: translateZ(12px);
}

.terminal-device > .terminal-hardware,
.terminal-device > .terminal-backplate,
.terminal-device > .terminal-head,
.terminal-device > .terminal-neck,
.terminal-device > .terminal-base {
  display: none;
}

.terminal-head {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100%;
  height: 67%;
  padding: 2.5% 2.5% 6.5%;
  background: rgba(228, 231, 229, var(--terminal-build));
  border: 1px solid rgba(183, 189, 185, var(--terminal-build));
  border-radius: 3.2% 3.2% 2.5% 2.5%;
  box-shadow:
    0 3px 0 rgba(170, 176, 172, var(--terminal-build)),
    0 20px 38px rgba(10, 20, 16, calc(.16 * var(--terminal-build))),
    inset 0 2px 0 rgba(255, 255, 255, calc(.94 * var(--terminal-build))),
    inset 0 -3px 10px rgba(55, 67, 62, calc(.1 * var(--terminal-build)));
  transform: translateX(-50%) translateZ(28px);
  transform-style: preserve-3d;
}

.terminal-backplate {
  position: absolute;
  top: 1.4%;
  left: 50%;
  width: 97%;
  height: 66%;
  background: #979e9a;
  border-radius: 3%;
  box-shadow: 20px 15px 24px rgba(5, 12, 10, .16);
  opacity: var(--terminal-build);
  transform: translateX(-50%) translateZ(-10px) translateY(calc(7px + (1 - var(--terminal-build)) * 38px));
}

.terminal-camera {
  position: absolute;
  top: 1.3%;
  left: 50%;
  z-index: 4;
  width: 4px;
  height: 4px;
  background: #646a67;
  border-radius: 50%;
  opacity: var(--terminal-build);
  transform: translateX(-50%);
}

.terminal-screen-stack {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: #f9faf9;
  border: 1px solid #8f9692;
  border-radius: 1%;
  box-shadow: inset 0 0 0 1px #fff;
}

.terminal-screen {
  position: absolute;
  inset: 0;
  overflow: hidden;
  color: var(--ink);
  background: #f7f9f8;
  opacity: 0;
  transform: scale(.965) translateY(14px);
  transition: opacity .24s ease, transform .52s var(--ease);
}

.terminal-screen.is-active {
  z-index: 2;
  opacity: 1;
  transform: scale(1) translateY(0);
}

.terminal-generated-dashboard {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #f7faf8;
}

.terminal-screen-reports > :not(.terminal-generated-dashboard) {
  display: none;
}

.terminal-screen-pos > :not(.terminal-generated-dashboard),
.terminal-screen-stock > :not(.terminal-generated-dashboard) {
  display: none;
}

.terminal-appbar {
  height: 12%;
  display: flex;
  align-items: center;
  gap: 3%;
  padding: 0 2.4%;
  background: #fff;
  border-bottom: 1px solid #e5e9e6;
}

.terminal-appbrand {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-inline-end: auto;
  font-size: clamp(.42rem, .72vw, .68rem);
}

.terminal-appbrand img {
  width: clamp(12px, 1.35vw, 20px);
  height: clamp(12px, 1.35vw, 20px);
}

.terminal-appnav {
  display: flex;
  gap: 5px;
}

.terminal-appnav i {
  width: 18px;
  height: 4px;
  background: #d6ded9;
  border-radius: 999px;
}

.terminal-appnav i:first-child {
  width: 28px;
  background: var(--green);
}

.terminal-user {
  width: clamp(13px, 1.4vw, 21px);
  aspect-ratio: 1;
  background: var(--forest);
  border: 2px solid #d5f5e8;
  border-radius: 50%;
}

.terminal-pos-body {
  height: 88%;
  display: grid;
  grid-template-columns: 1.55fr .72fr;
}

.terminal-catalogue {
  padding: 2.8%;
}

.terminal-tabs {
  display: flex;
  gap: 4%;
  padding-bottom: 2.4%;
  border-bottom: 1px solid #dce2de;
  color: #6f7b76;
  font-size: clamp(.32rem, .49vw, .48rem);
}

.terminal-tabs b {
  color: var(--green);
}

.terminal-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3%;
  padding-top: 3%;
}

.terminal-products i {
  min-height: clamp(46px, 5.6vw, 82px);
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  padding: 8%;
  color: #18342d;
  background: #e8f0ed;
  border: 1px solid rgba(12, 68, 54, .08);
  border-radius: 6px;
  font-style: normal;
}

.terminal-products i > b {
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  margin-bottom: auto;
  color: rgba(6, 39, 31, .55);
  background: rgba(255, 255, 255, .7);
  border-radius: 50%;
  font-size: clamp(.28rem, .42vw, .42rem);
}

.terminal-products i > span {
  font-size: clamp(.36rem, .59vw, .58rem);
  font-weight: 800;
}

.terminal-products i > small {
  color: rgba(6, 39, 31, .62);
  font-size: clamp(.27rem, .42vw, .41rem);
}

.terminal-products .product-sand {
  background: #f7edd4;
}

.terminal-products .product-blue {
  background: #deedf4;
}

.terminal-products .product-rose {
  background: #f5e2df;
}

.terminal-products .product-violet {
  background: #ece5f4;
}

.terminal-products .product-green {
  background: #dff2df;
}

.terminal-cart {
  display: flex;
  flex-direction: column;
  padding: 5%;
  background: #fff;
  border-inline-start: 1px solid #e1e5e2;
}

.terminal-cart-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 7%;
  font-size: clamp(.34rem, .55vw, .54rem);
}

.terminal-cart-title span {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
  font-size: .42rem;
}

.terminal-cart-line {
  display: grid;
  grid-template-columns: 16px 1fr auto;
  align-items: center;
  gap: 6px;
  padding-block: 6%;
  border-bottom: 1px solid #edf0ee;
  font-size: clamp(.3rem, .46vw, .46rem);
}

.terminal-cart-line > i {
  width: 14px;
  height: 14px;
  background: var(--mint);
  border-radius: 4px;
}

.terminal-cart-line > span {
  display: flex;
  flex-direction: column;
  font-weight: 700;
}

.terminal-cart-line small {
  color: #7f8b86;
  font-size: .85em;
  font-weight: 500;
}

.terminal-total {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-block: 8%;
  font-size: clamp(.34rem, .54vw, .52rem);
}

.terminal-total strong {
  font-size: 1.35em;
}

.terminal-cart button,
.stock-heading button {
  border: 0;
  color: var(--white);
  background: var(--green);
  border-radius: 5px;
  font-size: clamp(.32rem, .51vw, .5rem);
  font-weight: 800;
}

.terminal-cart button {
  min-height: clamp(22px, 2.5vw, 36px);
}

.terminal-report-body,
.terminal-stock-body {
  height: 88%;
  padding: 3%;
}

.report-heading,
.stock-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 2.5%;
}

.report-heading small,
.stock-heading small {
  display: block;
  margin-bottom: 3px;
  color: var(--green);
  font-size: clamp(.29rem, .43vw, .42rem);
  font-weight: 800;
}

.report-heading h3,
.stock-heading h3 {
  margin: 0;
  font-size: clamp(.58rem, 1.05vw, 1rem);
}

.report-heading > span {
  padding: 1.1% 2%;
  border: 1px solid #dbe1dd;
  border-radius: 5px;
  color: #58645f;
  background: #fff;
  font-size: clamp(.28rem, .42vw, .41rem);
}

.report-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2%;
}

.report-metrics article {
  padding: 3.5%;
  background: #fff;
  border: 1px solid #e3e8e5;
  border-radius: 6px;
  box-shadow: 0 3px 8px rgba(13, 37, 29, .04);
}

.report-metrics small,
.report-metrics strong,
.report-metrics em {
  display: block;
}

.report-metrics small {
  color: #79837f;
  font-size: clamp(.27rem, .42vw, .41rem);
}

.report-metrics strong {
  margin-block: 2%;
  font-size: clamp(.4rem, .72vw, .7rem);
}

.report-metrics em {
  color: var(--green);
  font-size: clamp(.26rem, .38vw, .37rem);
  font-style: normal;
  font-weight: 800;
}

.report-panels {
  height: 58%;
  display: grid;
  grid-template-columns: 1.55fr .7fr;
  gap: 2%;
  margin-top: 2%;
}

.report-panels article {
  background: #fff;
  border: 1px solid #e3e8e5;
  border-radius: 6px;
}

.report-chart {
  display: flex;
  flex-direction: column;
  padding: 3.5% 4%;
}

.report-chart > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: clamp(.3rem, .47vw, .46rem);
}

.report-chart small {
  color: #84908b;
  font-size: .82em;
}

.terminal-bars {
  height: 100%;
  display: flex;
  align-items: flex-end;
  gap: 5%;
  padding-top: 8%;
  border-bottom: 1px solid #dce2de;
}

.terminal-bars i {
  width: 8%;
  height: var(--h);
  min-height: 6%;
  background: var(--green);
  border-radius: 3px 3px 0 0;
  box-shadow: inset 0 -10px 14px rgba(6, 39, 31, .17);
}

.report-donut {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 6%;
  font-size: clamp(.3rem, .48vw, .46rem);
}

.report-donut > b {
  align-self: stretch;
}

.report-donut > i {
  width: min(7vw, 98px);
  max-width: 70%;
  display: grid;
  place-items: center;
  flex: 1;
  aspect-ratio: 1;
  margin-block: 4%;
  background: conic-gradient(var(--green) 0 68%, #dce6e1 68% 100%);
  border-radius: 50%;
  font-style: normal;
}

.report-donut > i::before {
  position: absolute;
  width: 55%;
  aspect-ratio: 1;
  background: #fff;
  border-radius: 50%;
  content: "";
}

.report-donut > i {
  position: relative;
}

.report-donut > i span {
  z-index: 1;
  font-size: 1.4em;
  font-weight: 900;
}

.report-donut > small {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #68746f;
  font-size: .8em;
}

.report-donut > small em {
  width: 5px;
  height: 5px;
  background: var(--green);
  border-radius: 50%;
}

.stock-heading button {
  min-height: clamp(20px, 2vw, 30px);
  padding-inline: 2.8%;
}

.stock-alert {
  display: flex;
  align-items: center;
  gap: 2%;
  margin-bottom: 2%;
  padding: 1.6% 2%;
  color: #614207;
  background: #fff4d9;
  border: 1px solid #f3d895;
  border-radius: 5px;
}

.stock-alert > i {
  width: clamp(15px, 1.7vw, 25px);
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  color: #fff;
  background: #bd8215;
  border-radius: 50%;
  font-size: clamp(.3rem, .48vw, .46rem);
  font-style: normal;
  font-weight: 900;
}

.stock-alert > span {
  display: flex;
  flex-direction: column;
  font-size: clamp(.29rem, .45vw, .44rem);
}

.stock-alert small {
  opacity: .78;
  font-size: .86em;
}

.stock-table {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e1e7e3;
  border-radius: 6px;
}

.stock-table > div {
  min-height: clamp(29px, 3.3vw, 48px);
  display: grid;
  grid-template-columns: 1.5fr 1fr .5fr .7fr;
  align-items: center;
  gap: 2%;
  padding-inline: 2.2%;
  border-bottom: 1px solid #edf0ee;
  font-size: clamp(.29rem, .46vw, .45rem);
}

.stock-table > div:last-child {
  border-bottom: 0;
}

.stock-table .stock-table-head {
  min-height: clamp(21px, 2.3vw, 34px);
  color: #75807b;
  background: #f3f6f4;
  font-size: clamp(.27rem, .39vw, .38rem);
  font-weight: 800;
}

.stock-table > div > span:first-child {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

.stock-swatch {
  width: clamp(12px, 1.6vw, 23px);
  display: block;
  aspect-ratio: 1;
  flex: 0 0 auto;
  background: var(--mint);
  border-radius: 4px;
}

.stock-swatch-two {
  background: #e1ecf4;
}

.stock-swatch-three {
  background: #f9e6ca;
}

.stock-swatch-four {
  background: #eae2f4;
}

.stock-table em {
  justify-self: start;
  padding: 2px 6px;
  border-radius: 999px;
  font-size: .82em;
  font-style: normal;
  font-weight: 800;
}

.stock-good {
  color: #07644f;
  background: #dff5ec;
}

.stock-low {
  color: #8f5d00;
  background: #fff0cc;
}

.terminal-mark {
  position: absolute;
  right: 0;
  bottom: 1.4%;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #6d7571;
  font-size: clamp(.36rem, .55vw, .53rem);
  opacity: var(--terminal-build);
}

.terminal-mark img {
  width: clamp(12px, 1.2vw, 17px);
  height: clamp(12px, 1.2vw, 17px);
  filter: grayscale(1);
  opacity: .72;
}

.terminal-neck {
  position: absolute;
  top: 63%;
  left: 50%;
  width: 22%;
  height: 23%;
  background: #d5d9d7;
  border: 1px solid #aeb5b1;
  box-shadow: inset 10px 0 16px rgba(255, 255, 255, .32), inset -10px 0 20px rgba(61, 72, 67, .08);
  clip-path: polygon(19% 0, 81% 0, 93% 100%, 7% 100%);
  opacity: var(--terminal-build);
  transform: translateX(-50%) translateZ(10px) translateY(calc((1 - var(--terminal-build)) * -55px));
}

.terminal-neck i {
  position: absolute;
  inset: 5% 16% 0;
  background: rgba(255, 255, 255, .36);
  clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%);
}

.terminal-base {
  position: absolute;
  bottom: 5%;
  left: 50%;
  width: 52%;
  height: 10%;
  background: #d9dddb;
  border: 1px solid #aab1ad;
  border-radius: 8px 8px 16px 16px;
  box-shadow: 0 9px 12px rgba(12, 25, 20, .17), inset 0 4px 0 rgba(255, 255, 255, .65);
  opacity: var(--terminal-build);
  transform: translateX(-50%) translateZ(22px) translateY(calc((1 - var(--terminal-build)) * -90px)) rotateX(62deg);
  transform-origin: center bottom;
}

.terminal-base i {
  position: absolute;
  inset: 13% 8% 24%;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 5px;
}

.terminal-scroll-cue {
  position: absolute;
  right: 50%;
  bottom: 3.5vh;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(16, 22, 20, .55);
  font-size: .65rem;
  font-weight: 800;
  transform: translateX(50%);
  transition: color .45s ease, opacity .3s ease;
}

.terminal-scroll-cue i {
  position: relative;
  width: 17px;
  height: 28px;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.terminal-scroll-cue i::after {
  position: absolute;
  top: 5px;
  left: 50%;
  width: 3px;
  height: 6px;
  background: currentColor;
  border-radius: 999px;
  content: "";
  transform: translateX(-50%);
  animation: terminal-scroll 1.8s ease-in-out infinite;
}

.terminal-stage[data-step="2"] .terminal-scroll-cue {
  color: rgba(255, 255, 255, .6);
}

.terminal-progress {
  position: absolute;
  right: 2.5vw;
  top: 50%;
  z-index: 7;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transform: translateY(-50%);
}

html[dir="rtl"] .terminal-progress {
  right: auto;
  left: 2.5vw;
}

.terminal-progress i {
  width: 7px;
  height: 7px;
  background: rgba(16, 22, 20, .2);
  border-radius: 50%;
  transform-origin: center;
  transition: transform .35s var(--ease), background-color .35s ease, border-radius .35s;
}

.terminal-progress i.is-active {
  background: var(--green);
  border-radius: 999px;
  transform: scaleY(4);
}

.terminal-stage[data-step="2"] .terminal-progress i:not(.is-active) {
  background: rgba(255, 255, 255, .25);
}

@keyframes terminal-scroll {
  0%,
  100% {
    opacity: .2;
    transform: translate(-50%, 0);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, 8px);
  }
}

.terminal-scene {
  width: min(50vw, 760px);
  aspect-ratio: 1.5;
  transform-origin: 50% 54%;
}

.terminal-hardware {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: var(--terminal-build);
  filter: none;
  transform: translateZ(12px);
  backface-visibility: hidden;
}

.terminal-head {
  /* Calibrated against the transparent 1536 × 1024 register chassis. */
  top: 6.85%;
  z-index: 3;
  width: 60.75%;
  height: 51.55%;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 3% / 5%;
  box-shadow: none;
  /* Glass and bezel share a plane, so turning the register cannot expose a
     displaced strip beside the display. */
  transform: translateX(-50%) translateZ(12px);
  transform-style: preserve-3d;
}

.terminal-head::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #555e59;
  border-radius: inherit;
  content: "";
  transform: translate3d(var(--terminal-edge-x, 0), 1px, -10px);
}

.terminal-screen-stack {
  position: relative;
  border: 0;
  border-radius: inherit;
  corner-shape: squircle;
  box-shadow: none;
  isolation: isolate;
  backface-visibility: hidden;
}

.terminal-screen-stack::after {
  position: absolute;
  inset: -24% -42%;
  z-index: 5;
  background: linear-gradient(108deg, transparent 38%, rgba(255, 255, 255, .3) 50%, transparent 62%);
  content: "";
  opacity: var(--terminal-glint, 0);
  pointer-events: none;
  transform: translate3d(var(--terminal-glint-x, -65%), 0, 1px);
  will-change: transform, opacity;
}

.terminal-backplate,
.terminal-camera,
.terminal-mark,
.terminal-neck,
.terminal-base {
  display: none;
}

.terminal-floor-shadow {
  right: 15%;
  bottom: 0;
  left: 15%;
  height: 10%;
  filter: none;
}

@media (max-width: 1120px) {
  .desktop-nav {
    gap: 20px;
  }

  .header-login {
    display: none;
  }

  .hero-stage {
    min-height: 565px;
  }

  .hero-copy {
    width: 54%;
  }

  .continuity-ribbon {
    grid-template-columns: 1fr 130px 1fr;
  }

  .trade-grid {
    grid-template-columns: 1.15fr .85fr;
  }

  .tile-stock,
  .tile-profit {
    grid-template-columns: 1fr;
  }

  .stock-visual {
    display: none;
  }

  .story-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr);
    gap: 55px;
  }

  .story-media > img {
    min-height: 470px;
  }

  .terminal-scene {
    width: min(60vw, 720px);
  }

  .terminal-copy {
    width: min(25vw, 330px);
  }

  .terminal-copy h2 {
    font-size: clamp(2.2rem, 3.4vw, 3.8rem);
  }
}

/* ==========================================================================
   BLACK TERMINAL — full 360-degree showroom build
   The dashboard remains an independent, clipped layer. The front glass hides
   on the rear half of the orbit, where the graphite back shell takes over.
   ========================================================================== */
.terminal-device .terminal-composite-stack {
  display: none;
}

.terminal-scene {
  width: min(57vw, 820px);
}

.terminal-device > .terminal-hardware {
  display: none;
}

.terminal-device > .terminal-head,
.terminal-device > .terminal-backplate,
.terminal-device > .terminal-neck,
.terminal-device > .terminal-base,
.terminal-device .terminal-camera,
.terminal-device .terminal-mark {
  display: block;
}

.terminal-device > .terminal-head {
  background:
    linear-gradient(145deg, rgba(255,255,255,.11), transparent 20%),
    linear-gradient(160deg, #353a39 0%, #171b1a 48%, #080a0a 100%);
  border-color: rgba(255,255,255,.16);
  box-shadow:
    0 3px 0 #050706,
    0 26px 46px rgba(0,0,0,.34),
    inset 0 2px 0 rgba(255,255,255,.16),
    inset 0 -4px 14px rgba(0,0,0,.55);
  backface-visibility: hidden;
}

.terminal-device > .terminal-backplate {
  z-index: -1;
  background:
    radial-gradient(circle at 50% 30%, rgba(255,255,255,.08), transparent 28%),
    linear-gradient(145deg, #252a28, #090b0a 74%);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow:
    22px 16px 34px rgba(0,0,0,.35),
    inset 0 1px rgba(255,255,255,.13),
    inset 0 -16px 28px rgba(0,0,0,.42);
  transform: translateX(-50%) translateZ(-18px) translateY(7px) rotateY(180deg);
  backface-visibility: hidden;
}

.terminal-device > .terminal-backplate::before {
  position: absolute;
  inset: 10% 12%;
  content: "";
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 18px;
  background:
    linear-gradient(90deg, transparent 48%, rgba(255,255,255,.055) 50%, transparent 52%),
    linear-gradient(#111513, #090b0a);
  box-shadow: inset 0 12px 24px rgba(255,255,255,.025);
}

.terminal-device > .terminal-backplate::after {
  position: absolute;
  right: 38%;
  bottom: 15%;
  left: 38%;
  height: 3px;
  content: "";
  border-radius: 99px;
  background: #48c7a6;
  box-shadow: 0 0 12px rgba(72,199,166,.38);
}

.terminal-device .terminal-screen-stack {
  border-color: #050706;
  border-radius: 1.3%;
  box-shadow:
    0 0 0 2px #060807,
    inset 0 0 0 1px rgba(255,255,255,.12);
  backface-visibility: hidden;
}

.terminal-device .terminal-mark {
  color: rgba(255,255,255,.78);
  backface-visibility: hidden;
}

.terminal-device .terminal-mark img {
  filter: grayscale(1) brightness(3);
  opacity: .85;
}

.terminal-device > .terminal-neck {
  background: linear-gradient(90deg, #090b0a, #303533 48%, #080a09);
  border-color: rgba(255,255,255,.12);
  box-shadow:
    inset 10px 0 18px rgba(255,255,255,.05),
    inset -12px 0 22px rgba(0,0,0,.5);
}

.terminal-device > .terminal-neck i {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
}

.terminal-device > .terminal-base {
  background: linear-gradient(180deg, #303532, #090b0a);
  border-color: rgba(255,255,255,.13);
  box-shadow:
    0 13px 20px rgba(0,0,0,.36),
    inset 0 4px 0 rgba(255,255,255,.11),
    inset 0 -6px 14px rgba(0,0,0,.5);
}

.terminal-device > .terminal-base i {
  border-color: rgba(255,255,255,.11);
  background: linear-gradient(180deg, #080a09, #161a18);
}

.terminal-device .terminal-camera {
  background: #050706;
  box-shadow: 0 0 0 1px rgba(255,255,255,.18);
}

@media (max-width: 900px) {
  .shell {
    width: min(calc(100% - 32px), var(--max));
  }

  .desktop-nav,
  .button-header {
    display: none;
  }

  .header-row {
    min-height: 68px;
  }

  .header-actions {
    margin-inline-start: auto;
  }

  .drawer-toggle {
    display: flex;
  }

  .hero {
    padding-top: 20px;
  }

  .hero-stage {
    min-height: 600px;
  }

  .hero-photo {
    object-position: 48% center;
  }

  .hero-shade,
  html[dir="rtl"] .hero-shade {
    background: linear-gradient(0deg, rgba(5, 33, 26, .88) 0%, rgba(5, 33, 26, .28) 52%, transparent 76%);
  }

  .hero-copy,
  html[dir="rtl"] .hero-copy {
    position: absolute;
    right: 24px;
    bottom: 112px;
    left: 24px;
    width: auto;
    padding: 0;
  }

  .hero-copy h1 {
    max-width: 11ch;
    font-size: clamp(2.5rem, 7vw, 3.8rem);
  }

  .continuity-ribbon {
    right: 14px;
    bottom: 14px;
    left: 14px;
    grid-template-columns: 1fr 80px 1fr;
    gap: 9px;
  }

  .connection-state .state-icon {
    width: 35px;
    height: 35px;
  }

  .connection-state small {
    font-size: .6rem;
  }

  .connection-state b {
    font-size: .7rem;
  }

  .promise-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .promise-row > div,
  .promise-row > div:first-child,
  .promise-row > div:last-child {
    padding: 17px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .promise-row > div:last-child {
    border-bottom: 0;
  }

  .trade-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .tile-sales {
    min-height: 620px;
    grid-row: auto;
  }

  .tile-stock,
  .tile-profit {
    min-height: 320px;
    grid-template-columns: 1.2fr .8fr;
  }

  .stock-visual {
    display: flex;
  }

  .story-grid,
  .story-grid-reverse {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .story-grid-reverse .story-media,
  .story-grid-reverse .story-copy {
    order: initial;
  }

  .story-media > img {
    min-height: 430px;
  }

  .terminal-story {
    height: 380vh;
  }

  .terminal-stage {
    min-height: 700px;
  }

  .terminal-scene {
    top: 61%;
    width: min(72vw, 650px);
  }

  .terminal-copy {
    top: 21%;
    right: auto;
    left: 50%;
    width: min(620px, calc(100vw - 64px));
    text-align: center;
    transform: translate3d(-50%, calc(-50% + 24px), 80px);
  }

  html[dir="rtl"] .terminal-copy {
    width: min(620px, calc(100vw - 64px));
  }

  .terminal-copy.is-active {
    transform: translate3d(-50%, -50%, 80px);
  }

  .terminal-copy h2,
  .terminal-copy p {
    margin-inline: auto;
  }

  .terminal-copy h2 {
    max-width: 13ch;
    margin-bottom: 11px;
    font-size: clamp(2rem, 4.7vw, 3rem);
  }

  .terminal-copy p {
    max-width: 48ch;
    margin-bottom: 14px;
    font-size: .78rem;
  }

  .terminal-copy > span {
    margin-bottom: 10px;
  }

  .terminal-copy .button {
    min-height: 42px;
    padding: 10px 16px;
    font-size: .78rem;
  }

  .motion-device {
    width: clamp(250px, 34vw, 310px);
  }

  .motion-paper {
    width: clamp(180px, 25vw, 230px);
  }

  .motion-step {
    width: min(36vw, 320px);
  }

  .motion-step h2 {
    max-width: 13ch;
    font-size: clamp(2.1rem, 4.6vw, 3rem);
  }

  .motion-step p {
    max-width: 40ch;
    font-size: .78rem;
  }

  html[dir="rtl"] .motion-step h2 {
    max-width: 15ch;
    font-size: clamp(2rem, 4.2vw, 2.75rem);
  }

  .setup-flow {
    grid-template-columns: 1fr 1fr;
  }

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

  .plan {
    min-height: auto;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .faq-heading {
    position: static;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 82px;
  }

  body {
    padding-bottom: 78px;
  }

  .shell {
    width: min(calc(100% - 24px), var(--max));
  }

  .announcement-row {
    min-height: 34px;
    justify-content: space-between;
    gap: 10px;
    font-size: .64rem;
  }

  .announcement-row > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .announcement-row > span i {
    display: none;
  }

  .announcement-row a {
    flex: 0 0 auto;
  }

  .logo-lockup {
    font-size: 1.15rem;
  }

  .logo-lockup img {
    width: 32px;
    height: 32px;
  }

  .header-actions {
    gap: 7px;
  }

  .lang-trigger {
    padding: 0 7px;
  }

  .lang-trigger > svg:first-child {
    display: none;
  }

  .hero-stage {
    min-height: 480px;
    border-radius: 14px;
    background: var(--forest);
  }

  .hero-photo {
    height: 185px;
    object-position: 38% 45%;
  }

  .hero-shade,
  html[dir="rtl"] .hero-shade {
    display: none;
  }

  .hero-copy,
  html[dir="rtl"] .hero-copy {
    right: 20px;
    top: 198px;
    bottom: auto;
    left: 20px;
  }

  .hero-badge {
    margin-bottom: 12px;
    padding: 6px 10px;
    font-size: .64rem;
  }

  .hero-copy h1 {
    max-width: 10ch;
    margin-bottom: 12px;
    font-size: clamp(1.82rem, 8.8vw, 2.3rem);
    line-height: .96;
  }

  .hero-copy p {
    max-width: 42ch;
    margin-bottom: 15px;
    font-size: .72rem;
    line-height: 1.5;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero-actions .button {
    min-height: 42px;
    min-width: 0;
    padding-inline: 12px;
    font-size: .7rem;
  }

  .continuity-ribbon {
    right: 9px;
    bottom: 9px;
    left: 9px;
    grid-template-columns: 1fr auto 1fr;
    padding: 8px 9px;
  }

  .connection-state {
    gap: 7px;
  }

  .connection-state .state-icon {
    display: none;
  }

  .connection-state b {
    max-width: 115px;
    font-size: .54rem;
  }

  .connection-state small {
    font-size: .48rem;
  }

  .ribbon-track {
    width: 34px;
  }

  .ribbon-track i:nth-child(2) {
    display: none;
  }

  .trade-intro,
  .story,
  .setup-section,
  .pricing-section,
  .faq-section {
    padding-block: 84px;
  }

  .intro-copy h2,
  .pricing-heading h2,
  .setup-heading h2 {
    font-size: clamp(2.35rem, 11vw, 3.45rem);
  }

  .intro-copy p,
  .pricing-heading p,
  .setup-heading p {
    font-size: .92rem;
  }

  .intro-copy {
    margin-bottom: 38px;
  }

  .tile-sales {
    min-height: 560px;
    padding: 26px 20px;
  }

  .tile-stock,
  .tile-profit {
    min-height: 370px;
    grid-template-columns: 1fr;
    padding: 26px 20px;
  }

  .tile-copy h3 {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  .pos-ui {
    margin-bottom: -70px;
  }

  .pos-body {
    grid-template-columns: 1fr;
    min-height: 285px;
  }

  .pos-bill {
    display: none;
  }

  .pos-products {
    grid-template-columns: repeat(3, 1fr);
  }

  .pos-products i {
    min-height: 92px;
  }

  .stock-visual {
    align-items: flex-start;
    flex-direction: row;
  }

  .stock-ring {
    width: 120px;
    border-width: 12px;
  }

  .story-grid {
    gap: 34px;
  }

  .story-media > img {
    min-height: 330px;
  }

  .story-copy h2 {
    font-size: clamp(2.25rem, 10vw, 3.35rem);
  }

  .story-copy > p {
    font-size: .92rem;
  }

  .sync-toast {
    right: 10px;
    bottom: 10px;
    padding: 9px 10px;
  }

  html[dir="rtl"] .sync-toast {
    left: 10px;
  }

  .sync-toast > span {
    width: 34px;
    height: 34px;
  }

  .scan-progress {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }

  .terminal-story {
    height: 340vh;
    min-height: 2200px;
  }

  .terminal-stage {
    min-height: 680px;
    perspective: 1050px;
  }

  .terminal-grid {
    background-size: 42px 42px;
  }

  .terminal-stage::after {
    right: -10%;
    bottom: 6%;
    width: 52vw;
    height: 52vw;
  }

  .terminal-copy {
    top: 24%;
    width: calc(100% - 34px);
  }

  html[dir="rtl"] .terminal-copy {
    width: calc(100% - 34px);
  }

  .terminal-copy > span {
    margin-bottom: 8px;
    padding: 6px 10px;
    font-size: .6rem;
  }

  .terminal-copy h2 {
    max-width: 14ch;
    margin-bottom: 9px;
    font-size: clamp(1.8rem, 8.5vw, 2.65rem);
  }

  .terminal-copy p {
    max-width: 42ch;
    margin-bottom: 10px;
    font-size: .67rem;
    line-height: 1.45;
  }

  .terminal-copy .button {
    min-height: 36px;
    padding: 8px 13px;
    font-size: .67rem;
  }

  .terminal-scene {
    top: 59%;
    width: min(116vw, 620px);
  }

  .terminal-appnav {
    display: none;
  }

  .terminal-progress {
    top: auto;
    right: 50%;
    bottom: 17px;
    flex-direction: row;
    gap: 18px;
    transform: translateX(50%);
  }

  html[dir="rtl"] .terminal-progress {
    right: 50%;
    left: auto;
  }

  .terminal-progress i {
    width: 7px;
    height: 7px;
  }

  .terminal-progress i.is-active {
    transform: scaleX(4);
  }

  .terminal-scroll-cue {
    display: none;
  }

  .motion-story {
    height: 370vh;
    min-height: 2480px;
  }

  .motion-stage {
    min-height: 700px;
    perspective: 1100px;
  }

  .motion-stage::before {
    inset: 0;
    height: auto;
  }

  .motion-device {
    top: 64%;
    width: clamp(220px, 58vw, 240px);
  }

  .motion-paper {
    top: 64%;
    width: clamp(138px, 39vw, 165px);
  }

  .motion-receipt {
    min-height: 245px;
    padding: 15px 12px 20px;
  }

  .motion-delivery-slip {
    width: clamp(155px, 43vw, 182px);
    min-height: 205px;
    padding: 15px 13px;
    border-radius: 14px;
  }

  .device-screen-stack {
    border-radius: 11% / 5%;
  }

  .motion-step,
  .motion-step-start,
  .motion-step-end {
    top: 24%;
    right: 18px;
    left: 18px;
    width: auto;
    align-items: center;
    text-align: center;
  }

  .motion-step > span {
    margin-bottom: 10px;
    padding: 7px 11px;
    font-size: .67rem;
  }

  .motion-step h2 {
    max-width: 13ch;
    margin-bottom: 11px;
    font-size: clamp(2rem, 9.2vw, 2.8rem);
  }

  .motion-step p {
    max-width: 44ch;
    margin-bottom: 13px;
    font-size: .74rem;
    line-height: 1.55;
  }

  html[dir="rtl"] .motion-step h2 {
    max-width: 15ch;
    font-size: clamp(1.85rem, 8vw, 2.55rem);
    line-height: 1.14;
  }

  html[dir="rtl"] .motion-step p {
    max-width: 44ch;
    line-height: 1.65;
  }

  .motion-cta {
    min-height: 38px;
    padding: 8px 13px;
    font-size: .7rem;
  }

  html[dir="rtl"] .terminal-copy h2 {
    width: 100%;
    max-width: none;
    line-height: 1.14;
  }

  .motion-progress {
    bottom: 16px;
  }

  .motion-scroll-hint {
    display: none;
  }

  html[dir="rtl"] .motion-scroll-hint {
    display: none;
  }

  .setup-heading {
    margin-bottom: 42px;
  }

  .setup-flow {
    grid-template-columns: 1fr;
  }

  .setup-flow li,
  html[dir="rtl"] .setup-flow li {
    padding: 22px 0;
  }

  .setup-flow li:not(:last-child)::after {
    display: none;
  }

  .founder-offer {
    min-height: 650px;
    align-items: flex-end;
    padding: 28px 22px;
  }

  .founder-offer > img {
    height: 50%;
    object-position: center top;
  }

  .founder-shade,
  html[dir="rtl"] .founder-shade {
    background: linear-gradient(0deg, rgba(6, 39, 31, 1) 0%, rgba(6, 39, 31, .98) 56%, rgba(6, 39, 31, .12) 88%);
  }

  .founder-copy h3 {
    font-size: clamp(2.25rem, 10vw, 3.3rem);
  }

  .founder-copy > p {
    font-size: .84rem;
  }

  .founder-price strong {
    font-size: 3.2rem;
  }

  .plan {
    padding: 25px 20px;
  }

  .faq-list summary {
    min-height: 72px;
    font-size: .94rem;
  }

  .faq-list details p,
  html[dir="rtl"] .faq-list details p {
    padding-inline: 4px 34px;
    font-size: .84rem;
  }

  .final-section {
    padding-bottom: 12px;
  }

  .final-panel {
    min-height: 540px;
    border-radius: 14px;
  }

  .final-panel h2 {
    font-size: clamp(2.45rem, 12vw, 4rem);
  }

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

  .footer-links {
    justify-content: flex-start;
  }

  html[dir="rtl"] .footer-links {
    justify-content: flex-start;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-conversion-bar {
    display: grid;
  }
}

@media (max-width: 390px) {
  .hero-copy h1 {
    font-size: 1.9rem;
  }

  .hero-stage {
    min-height: 480px;
  }

  .hero-actions {
    grid-template-columns: 1fr 1fr;
  }

  .continuity-ribbon {
    bottom: 9px;
  }

  .motion-device {
    width: 230px;
  }

  .motion-copy-stack {
    top: 0;
  }

  .motion-step,
  .motion-step-start,
  .motion-step-end {
    top: 22%;
  }

  .terminal-copy {
    top: 23%;
  }

  .terminal-scene {
    top: 65%;
    width: 118vw;
  }
}

.hero-stage {
  min-height: 0;
  max-height: 550px;
  aspect-ratio: 1923 / 818;
}

@media (max-width: 900px) {
  .hero-stage {
    min-height: 0;
    max-height: none;
    aspect-ratio: 1923 / 818;
  }

  .hero-photo {
    height: 100%;
    object-position: center;
  }

  .hero-shade,
  html[dir="rtl"] .hero-shade {
    display: block;
    background: linear-gradient(270deg, rgba(3, 38, 29, .96) 0 35%, rgba(3, 38, 29, .7) 49%, transparent 70%);
  }

  .hero-copy,
  html[dir="rtl"] .hero-copy {
    right: 4%;
    top: 13%;
    bottom: auto;
    left: auto;
    width: 45%;
    padding: 0;
  }

  .hero-copy h1,
  html[dir="rtl"] .hero-copy h1 {
    max-width: 12ch;
    margin-bottom: 9px;
    font-size: clamp(1.55rem, 4.6vw, 2.45rem);
  }

  .hero-copy p {
    max-width: 40ch;
    margin-bottom: 12px;
    font-size: clamp(.64rem, 1.55vw, .78rem);
    line-height: 1.45;
  }

  .hero-badge {
    margin-bottom: 8px;
  }

  .hero-actions .button {
    min-height: 36px;
    padding: 8px 12px;
    font-size: .66rem;
  }

  .continuity-ribbon {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 12px;
  }

  .hero-stage {
    min-height: 0;
    border-radius: 14px;
    aspect-ratio: 1923 / 818;
  }

  .hero-copy,
  html[dir="rtl"] .hero-copy {
    right: 2.8%;
    top: 8%;
    left: auto;
    width: 47%;
  }

  .hero-badge {
    gap: 4px;
    margin-bottom: 5px;
    padding: 3px 6px;
    font-size: .46rem;
  }

  .hero-badge span {
    width: 5px;
    height: 5px;
  }

  .hero-copy h1,
  html[dir="rtl"] .hero-copy h1 {
    max-width: 11ch;
    margin-bottom: 7px;
    font-size: clamp(1.02rem, 5vw, 1.32rem);
    letter-spacing: -.03em;
    line-height: 1.02;
  }

  .hero-copy p {
    display: none;
  }

  .hero-actions {
    display: block;
  }

  .hero-actions .button {
    width: 100%;
    min-height: 28px;
    padding: 5px 7px;
    font-size: .52rem;
  }

  .hero-actions .button + .button {
    display: none;
  }
}

@media (max-width: 390px) {
  .hero-copy h1,
  html[dir="rtl"] .hero-copy h1 {
    font-size: .98rem;
  }

  .hero-badge {
    font-size: .42rem;
  }
}

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

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

  .motion-story {
    height: auto;
    min-height: 0;
  }

  .terminal-story {
    height: auto;
    min-height: 0;
  }

  .terminal-stage {
    --terminal-build: 1 !important;
    position: relative;
    min-height: 900px;
    color: var(--ink);
    background: #eef7f3;
  }

  .terminal-scene {
    --terminal-x: 0 !important;
    --terminal-y: 0 !important;
    --terminal-z: 0 !important;
    --terminal-rx: 2deg !important;
    --terminal-ry: -8deg !important;
    --terminal-rz: -2deg !important;
    --terminal-scale: .92 !important;
    will-change: auto;
  }

  .terminal-copy[data-terminal-step]:not([data-terminal-step="0"]),
  .terminal-screen:not(:first-child),
  .terminal-progress,
  .terminal-scroll-cue {
    display: none;
  }

  .motion-stage {
    position: relative;
    min-height: 820px;
  }

  .motion-device {
    --device-x: 0 !important;
    --device-y: 0 !important;
    --device-z: 0 !important;
    --device-rx: 0deg !important;
    --device-ry: 0deg !important;
    --device-rz: 0deg !important;
    --device-scale: 1 !important;
    will-change: auto;
  }

  .motion-paper {
    --card-x: 0 !important;
    --card-y: 12px !important;
    --card-z: -80px !important;
    --card-rx: 0deg !important;
    --card-ry: 0deg !important;
    --card-rz: -12deg !important;
    --card-scale: .9 !important;
    will-change: auto;
  }

  .motion-step:not(:first-child),
  .device-screen:not(:first-child),
  .motion-progress,
  .motion-scroll-hint {
    display: none;
  }
}

/* Generated black terminal is the production device asset. */
.terminal-device .terminal-composite-stack {
  display: block;
  transform-style: preserve-3d;
}

.terminal-scene {
  aspect-ratio: 1.7;
}

.terminal-device .terminal-composite {
  object-fit: cover;
  backface-visibility: visible;
  filter: none;
}

.terminal-device .terminal-composite-stack::after {
  display: none;
  content: none;
}

.terminal-device > .terminal-head,
.terminal-device > .terminal-backplate,
.terminal-device > .terminal-neck,
.terminal-device > .terminal-base,
.terminal-device > .terminal-hardware,
.terminal-device .terminal-camera,
.terminal-device .terminal-mark {
  display: none;
}

/* Restore the original three-device presentation. */
.terminal-scene {
  width: min(47vw, 680px);
  aspect-ratio: 1.14;
}

.terminal-device .terminal-composite-stack {
  display: block;
  transform: translateZ(12px);
}

.terminal-device .terminal-composite {
  object-fit: contain;
  backface-visibility: visible;
  filter: none;
}
