:root {
  color-scheme: dark;
  --bg: #080808;
  --panel: #121212;
  --panel-soft: #171717;
  --panel-lift: #202020;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f5f5f5;
  --muted: #b8b8b8;
  --soft: #7f7f7f;
  --accent: #e9e9e9;
  --warm: #8b5e4d;
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.55);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 320px),
    #050505;
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-position:
    15% 8%,
    80% 16%;
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, transparent, black 18%, black 82%, transparent);
  opacity: 0.28;
}

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

button {
  color: inherit;
  font: inherit;
}

.site-header,
.hero,
.features-section,
.integration-section,
.operations-section,
.cta-section,
.site-footer {
  position: relative;
  z-index: 1;
  width: min(1360px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 30px;
  z-index: 20;
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 64px;
  padding: 7px 10px 7px 18px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(26, 26, 26, 0.88);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 118px;
}

.brand img {
  display: block;
  width: 100%;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 20px;
  color: #eeeeee;
  font-size: 0.9rem;
  font-weight: 700;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  outline: none;
}

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

.language-switch {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.language-switch button {
  min-width: 36px;
  height: 30px;
  border: 0;
  border-radius: 15px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
}

.language-switch button.is-active {
  background: #eeeeee;
  color: #101010;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  font-weight: 800;
  white-space: nowrap;
}

.header-cta {
  min-height: 48px;
  padding: 0 22px;
  background: linear-gradient(180deg, #3a3a3a, #242424);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #202020;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  overflow: hidden;
  padding: 78px 0 68px;
}

.dot-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.17) 1px, transparent 1px);
  background-position:
    left top,
    right 16px;
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, black, transparent 42%);
  opacity: 0.28;
}

.hero-copy,
.section-center {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.section-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin: 0 0 24px;
  padding: 0 22px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.055);
  color: #eeeeee;
  font-size: 0.88rem;
  font-weight: 800;
}

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

h1 {
  max-width: 820px;
  margin: 0 auto 22px;
  color: #f4f4f4;
  font-size: clamp(2.75rem, 5vw, 4.65rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: #eeeeee;
  font-size: clamp(2.1rem, 4vw, 3.7rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.08rem;
  letter-spacing: 0;
}

.hero-lede,
.section-heading p,
.feature-copy p,
.process-grid p,
.operations-list p,
.site-footer {
  color: var(--muted);
  line-height: 1.65;
}

.hero-lede {
  max-width: 560px;
  margin: 0 auto 34px;
  font-size: 1.04rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 72px;
}

.button {
  min-height: 52px;
  padding: 0 28px;
  background: transparent;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.button:hover,
.button:focus-visible,
.header-cta:hover,
.header-cta:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button-primary {
  background: linear-gradient(180deg, #3c3c3c, #232323);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 12px 40px rgba(0, 0, 0, 0.34);
}

.button-link {
  border-color: transparent;
  color: #f3f3f3;
}

.product-stage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(260px, 1fr));
  gap: 18px;
  width: min(1480px, calc(100% + 160px));
  margin: 0 0 56px 50%;
  transform: translateX(-50%);
}

.product-stage::before,
.product-stage::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 220px;
  pointer-events: none;
}

.product-stage::before {
  left: 0;
  background: linear-gradient(90deg, #050505, transparent);
}

.product-stage::after {
  right: 0;
  background: linear-gradient(270deg, #050505, transparent);
}

.preview-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01)),
    var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.preview-card-dim {
  opacity: 0.52;
  filter: saturate(0.65);
}

.preview-card-main {
  min-height: 254px;
}

.card-tabs,
.card-title,
.transaction-row,
.metric-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.card-tabs {
  width: 100%;
  padding: 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-weight: 700;
}

.transaction-row {
  margin-top: 16px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
}

.transaction-row strong,
.metric-line strong,
.preview-card strong {
  color: #f4f4f4;
  font-weight: 800;
}

.card-stack {
  position: relative;
  width: 126px;
  height: 128px;
  margin: 12px auto 20px;
}

.card-stack span {
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: linear-gradient(145deg, #4e4e4e, #151515 70%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.42);
  transform: rotate(8deg) translateX(10px);
}

.card-stack span:nth-child(2) {
  transform: rotate(5deg) translate(3px, 12px);
  opacity: 0.82;
}

.card-stack span:nth-child(3) {
  transform: rotate(2deg) translate(-6px, 24px);
  opacity: 0.66;
}

.preview-card p {
  margin: 0;
  color: var(--muted);
  text-align: center;
}

.card-title {
  margin-bottom: 28px;
}

.card-title span {
  font-size: 1.2rem;
  font-weight: 800;
}

.card-title small,
.metric-line small {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #f0f0f0;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 8px;
}

.metric-line {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--muted);
}

.metric-line strong {
  margin-left: auto;
  font-size: 1.1rem;
}

.floating-note {
  width: 230px;
  margin: 24px auto 24px;
  padding: 16px;
  border-radius: 10px;
  background: #2e2e2e;
  text-align: center;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
}

.floating-note span {
  display: block;
  margin-bottom: 5px;
  font-size: 1.18rem;
  font-weight: 900;
}

.floating-note small,
.preview-card span {
  color: var(--muted);
}

.mini-cycle {
  display: flex;
  justify-content: center;
  gap: 10px;
  color: var(--soft);
  font-size: 1.3rem;
}

.receipt-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 24px;
  border-radius: 14px;
  background: #343434;
  color: #f0f0f0;
  font-size: 1.7rem;
}

.preview-card-dim strong {
  display: block;
  margin-top: 12px;
  font-size: 1.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
}

.hero-stats div {
  padding: 0 36px;
  text-align: center;
}

.hero-stats div + div {
  border-left: 1px solid var(--line);
}

.hero-stats dt {
  margin-bottom: 14px;
  color: #ffffff;
  font-size: 1.82rem;
  font-weight: 900;
}

.hero-stats dd {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 760;
}

.features-section,
.integration-section,
.operations-section,
.cta-section {
  padding-top: 100px;
}

.section-center {
  margin-bottom: 68px;
}

.features-section .section-center h2 {
  max-width: 780px;
  margin-right: auto;
  margin-left: auto;
}

.feature-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-bottom: 24px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 36px;
  background: #141414;
}

.feature-tabs button {
  min-height: 54px;
  border: 0;
  border-radius: 28px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 850;
}

.feature-tabs button.is-active {
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, #4a4a4a, #252525);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.feature-showcase {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(420px, 1fr);
  gap: 48px;
  align-items: center;
  min-height: 430px;
  padding: 40px;
  border-radius: 24px;
  background: #151515;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.feature-copy {
  max-width: 480px;
}

.feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-weight: 800;
}

.feature-badge span {
  padding: 4px 8px;
  border-radius: 7px;
  background: var(--warm);
}

.feature-copy h3 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.2vw, 3.1rem);
  line-height: 1.12;
}

.feature-copy ul {
  display: grid;
  gap: 16px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.feature-copy li {
  position: relative;
  padding-left: 28px;
  color: #efefef;
  font-weight: 760;
}

.feature-copy li::before {
  content: "⌁";
  position: absolute;
  left: 0;
  color: #ffffff;
}

.chart-panel {
  display: flex;
  justify-content: center;
}

.chart-window {
  position: relative;
  width: min(540px, 100%);
  min-height: 330px;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
    #1a1a1a;
  overflow: hidden;
}

.chart-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.chart-tabs span {
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: #f0f0f0;
  font-size: 0.86rem;
  font-weight: 760;
}

.chart-window > strong {
  display: block;
  margin-bottom: 22px;
  font-size: 1.55rem;
}

.bar-chart {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  align-items: end;
  gap: 12px;
  height: 170px;
}

.bar-chart span {
  height: var(--h);
  min-height: 24px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #4c4c4c, #242424 70%, #bfbfbf);
}

.chart-note {
  position: absolute;
  width: 244px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #242424;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.34);
}

.chart-note span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.8rem;
}

.chart-note strong {
  font-size: 1rem;
}

.chart-note-top {
  top: 8px;
  right: 28px;
}

.chart-note-bottom {
  bottom: 24px;
  left: 24px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.process-grid,
.operations-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.process-grid article,
.operations-list article {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #141414;
}

.process-grid span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 30px;
  border-radius: 12px;
  background: #2b2b2b;
  color: #ffffff;
  font-weight: 900;
}

.process-grid p,
.operations-list p {
  margin-bottom: 0;
}

.operations-section {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 56px;
  align-items: start;
}

.operations-copy {
  position: sticky;
  top: 130px;
}

.operations-list {
  grid-template-columns: 1fr;
}

.operations-list article {
  min-height: auto;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 100px;
  margin-bottom: 28px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.07), transparent 46%),
    #151515;
}

.cta-section h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(2rem, 3vw, 3.1rem);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 48px;
  border-top: 1px solid var(--line);
}

.site-footer span:first-child {
  color: #ffffff;
  font-weight: 900;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 150px 1fr auto;
  }

  .site-nav {
    gap: 4px;
  }

  .site-nav a {
    padding: 0 10px;
  }

  .product-stage {
    grid-template-columns: repeat(3, minmax(240px, 1fr));
    width: min(980px, 100%);
  }

  .preview-card-dim:nth-child(1),
  .preview-card-dim:nth-child(5) {
    display: none;
  }
}

@media (max-width: 920px) {
  .site-header {
    top: 14px;
    grid-template-columns: 130px auto;
    width: min(100% - 24px, 1360px);
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: none;
    width: min(320px, calc(100vw - 24px));
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #171717;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    justify-content: center;
    min-height: 44px;
  }

  .header-actions {
    grid-column: 1 / -1;
    justify-content: space-between;
  }

  .header-cta {
    min-height: 42px;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-actions {
    margin-bottom: 48px;
  }

  .product-stage {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .product-stage::before,
  .product-stage::after {
    display: none;
  }

  .preview-card:not(.preview-card-main):nth-child(2),
  .preview-card:not(.preview-card-main):nth-child(4) {
    display: none;
  }

  .hero-stats,
  .feature-tabs,
  .feature-showcase,
  .process-grid,
  .operations-section,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .hero-stats div {
    padding: 24px 0;
  }

  .hero-stats div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .feature-showcase {
    padding: 28px;
  }

  .operations-copy {
    position: static;
  }

  .cta-section {
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .site-header,
  .hero,
  .features-section,
  .integration-section,
  .operations-section,
  .cta-section,
  .site-footer {
    width: min(100% - 24px, 1360px);
  }

  h1 {
    font-size: clamp(2.3rem, 13vw, 3.25rem);
  }

  h2 {
    font-size: clamp(2rem, 11vw, 2.7rem);
  }

  .hero {
    padding-bottom: 48px;
  }

  .button,
  .header-cta {
    width: 100%;
  }

  .hero-actions,
  .header-actions,
  .site-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .language-switch {
    justify-content: center;
  }

  .metric-line,
  .card-title,
  .transaction-row,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .metric-line strong {
    margin-left: 0;
  }

  .chart-note {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .bar-chart {
    height: 145px;
  }
}
