/* Ghost Koenig card width classes (required by gscan) */
.kg-width-wide {
  position: relative;
  width: 85vw;
  min-width: 100%;
  margin-left: calc(50% - 50vw * 0.85);
  margin-right: calc(50% - 50vw * 0.85);
}

.kg-width-full {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.kg-width-full img,
.kg-width-wide img {
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #000;
  color: #fff;
  font-family: Barlow, "Helvetica Neue", Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #fff;
  text-decoration: none;
}

a:hover {
  color: #F5821F;
}

* {
  box-sizing: border-box;
}

input[type=range] {
  accent-color: #F5821F;
}

@keyframes sx-spin {
  to { transform: rotate(360deg); }
}

.sx-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #000;
}

/* Buttons with hover fill */
.sx-btn {
  display: inline-block;
  border: 2px solid #fff;
  padding: 16px 34px;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.2em;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.sx-btn:hover {
  background: #fff;
  color: #000;
}

.sx-btn--orange {
  background: #F5821F;
  border-color: #F5821F;
  color: #000;
}

.sx-btn--orange:hover {
  background: #fff;
  border-color: #fff;
  color: #000;
}

.sx-btn--ghost {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  padding: 14px 30px;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.2em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.sx-btn--ghost:hover {
  background: #fff;
  color: #000;
}

.sx-btn--lg {
  font-size: 16px;
}

/* Header */
.sx-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
}

.sx-header__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.sx-header__logo {
  display: flex;
}

.sx-header__logo img {
  height: 30px;
  width: auto;
  display: block;
}

.sx-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.16em;
}

.sx-nav a {
  white-space: nowrap;
}

/* Hero */
.sx-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.sx-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

.sx-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.85) 100%);
}

.sx-hero__content {
  position: relative;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0 32px 88px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.sx-hero__title {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: clamp(56px, 10vw, 150px);
  line-height: 0.88;
  letter-spacing: -0.005em;
  margin: 0;
  text-transform: uppercase;
}

.sx-hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 14px;
}

/* Mission */
.sx-mission {
  padding: clamp(100px, 16vw, 200px) 32px;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}

.sx-label {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.3em;
  color: #8A8A8A;
}

.sx-label--accent {
  color: #F5A25F;
}

.sx-mission__title {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: clamp(44px, 7vw, 108px);
  line-height: 0.95;
  margin: 24px 0 0;
  text-transform: uppercase;
  max-width: 1200px;
  text-wrap: balance;
}

.sx-accent {
  color: #F5821F;
}

/* Stats */
.sx-stats {
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
}

.sx-stats__grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.sx-stat {
  padding: 56px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sx-stat + .sx-stat {
  border-left: 1px solid #222;
}

.sx-stat__value {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: clamp(72px, 9vw, 128px);
  line-height: 0.85;
}

.sx-stat__unit {
  font-size: 0.4em;
  color: #F5821F;
  margin-left: 6px;
}

.sx-stat__label {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.2em;
  color: #A0A0A0;
}

.sx-stat__label sub {
  font-size: 0.7em;
  vertical-align: baseline;
  position: relative;
  bottom: -0.15em;
}

/* Middle-dot separator via CSS — avoids UTF-8 encoding issues in HTML */
.sx-sep::before {
  content: "\00b7";
}

/* Technology */
.sx-tech {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  padding: clamp(100px, 14vw, 180px) 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
  gap: 72px;
  align-items: center;
}

.sx-tech__copy {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.sx-tech__title {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: clamp(48px, 6.4vw, 96px);
  line-height: 0.9;
  margin: 0;
  text-transform: uppercase;
}

.sx-tech__body {
  font-size: 19px;
  line-height: 1.6;
  color: #B5B5B5;
  margin: 0;
  max-width: 480px;
}

.sx-steps {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #2A2A2A;
}

.sx-step {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid #2A2A2A;
}

.sx-step__num {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.12em;
}

.sx-step__num--active {
  color: #F5821F;
}

.sx-step__desc {
  color: #8A8A8A;
  font-size: 16px;
  text-align: right;
}

.sx-orbit-wrap {
  width: 100%;
  max-width: 540px;
  justify-self: center;
  padding: 70px;
}

.sx-orbit {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
}

.sx-orbit__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid #2A2A2A;
}

.sx-orbit__ring--inner {
  inset: 12%;
  border: 1px dashed #222;
}

.sx-orbit__spinner {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: #F5821F;
  animation: sx-spin 6s linear infinite;
}

.sx-orbit__core {
  position: absolute;
  inset: 26%;
  border-radius: 50%;
  background: #000;
  border: 1px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8%;
  box-shadow: 0 0 80px rgba(245, 130, 31, 0.3);
}

.sx-orbit__core img {
  width: 100%;
  height: auto;
  display: block;
}

.sx-orbit__node {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #0D0D0D;
  border: 1px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
}

.sx-orbit__node span {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.16em;
}

.sx-orbit__node--capture {
  left: 50%;
  top: 0%;
}

.sx-orbit__node--store {
  left: 93.3%;
  top: 75%;
}

.sx-orbit__node--release {
  left: 6.7%;
  top: 75%;
  background: #F5821F;
  color: #000;
  border: none;
}

.sx-orbit__node--release span {
  font-weight: 700;
}

/* Time-shift */
.sx-timeshift {
  background: #0A0A0A;
  border-top: 1px solid #1A1A1A;
  border-bottom: 1px solid #1A1A1A;
}

.sx-timeshift__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(100px, 12vw, 160px) 32px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.sx-timeshift__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}

.sx-timeshift__intro {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sx-timeshift__title {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: clamp(48px, 6.4vw, 96px);
  line-height: 0.9;
  margin: 0;
  text-transform: uppercase;
}

.sx-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  border-top: 1px solid #2A2A2A;
  border-bottom: 1px solid #2A2A2A;
}

.sx-metric {
  padding: 24px;
  border-left: 1px solid #2A2A2A;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sx-metric:first-child {
  padding-left: 0;
  border-left: none;
}

.sx-metric__label {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: #8A8A8A;
}

.sx-metric__value {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 56px;
  line-height: 1;
}

.sx-metric__value--accent {
  color: #F5821F;
}

.sx-chart {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sx-chart__bars {
  position: relative;
  height: 240px;
  display: grid;
  grid-template-columns: repeat(24, minmax(0, 1fr));
  gap: 3px;
  align-items: end;
}

.sx-bar {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  position: relative;
  border: none;
  background: transparent;
  padding: 0;
}

.sx-bar__store {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.08);
}

.sx-bar__sun {
  position: relative;
  background: #F5821F;
  opacity: 0.35;
}

.sx-bar.is-active .sx-bar__sun {
  opacity: 1;
}

.sx-bar.is-active .sx-bar__store {
  background: rgba(255, 255, 255, 0.3);
}

.sx-chart__output-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 34%;
  border-top: 2px solid #fff;
  pointer-events: none;
}

.sx-chart__output-label {
  position: absolute;
  right: 0;
  bottom: calc(34% + 8px);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.2em;
  background: #0A0A0A;
  padding: 2px 8px;
}

.sx-chart__axis {
  display: flex;
  justify-content: space-between;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #8A8A8A;
}

.sx-chart__slider {
  width: 100%;
  margin-top: 6px;
}

/* Outputs */
.sx-outputs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.sx-output {
  min-height: 70vh;
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  border-right: 1px solid #1A1A1A;
}

.sx-output:last-child {
  border-right: none;
}

.sx-output__num {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.3em;
  color: #8A8A8A;
}

.sx-output__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sx-output__unit {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: clamp(80px, 9vw, 140px);
  line-height: 1;
  padding-bottom: 0.12em;
  color: #F5821F;
}

.sx-output__unit small {
  font-size: 0.55em;
  vertical-align: baseline;
}

.sx-output__name {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 32px;
  letter-spacing: 0.06em;
}

.sx-output__desc {
  color: #A0A0A0;
  font-size: 17px;
}

/* Markets */
.sx-markets {
  border-top: 1px solid #1A1A1A;
}

.sx-markets__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(100px, 12vw, 160px) 32px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.sx-markets__list {
  display: flex;
  flex-direction: column;
}

.sx-market {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid #2A2A2A;
  flex-wrap: wrap;
}

.sx-market:last-child {
  border-bottom: 1px solid #2A2A2A;
}

.sx-market__name {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.95;
}

.sx-market__tag {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: #8A8A8A;
}

/* Trusted */
.sx-trusted {
  border-top: 1px solid #1A1A1A;
}

.sx-trusted__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 72px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.sx-trusted__label {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.3em;
  color: #8A8A8A;
  white-space: nowrap;
}

.sx-trusted__logos {
  display: flex;
  gap: clamp(28px, 5vw, 72px);
  flex-wrap: wrap;
  align-items: center;
}

.sx-trusted__logos span {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

/* Contact */
.sx-contact {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.sx-contact__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 85% 30%;
}

.sx-contact__shade {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
}

.sx-contact__content {
  position: relative;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: 100%;
}

.sx-contact__title {
  width: 100%;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: clamp(56px, 10vw, 150px);
  line-height: 0.88;
  margin: 0;
  text-transform: uppercase;
}

/* Footer */
.sx-footer {
  border-top: 1px solid #1A1A1A;
}

.sx-footer__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: #8A8A8A;
}

.sx-footer__inner span {
  white-space: nowrap;
}

@media (max-width: 720px) {
  .sx-nav {
    gap: 18px;
    font-size: 12px;
  }

  .sx-header__inner,
  .sx-hero__content,
  .sx-mission,
  .sx-tech,
  .sx-timeshift__inner,
  .sx-markets__inner,
  .sx-trusted__inner,
  .sx-footer__inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .sx-orbit-wrap {
    padding: 24px;
  }

  .sx-orbit__node {
    width: 88px;
    height: 88px;
  }

  .sx-orbit__node span {
    font-size: 12px;
  }

  .sx-stat + .sx-stat {
    border-left: none;
    border-top: 1px solid #222;
  }
}
