:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #101214;
  color: #f3f1ea;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #101214;
}

body.lightbox-open {
  overflow: hidden;
}

a {
  color: inherit;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 0 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand {
  font-weight: 700;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 18px;
}

nav a {
  color: rgba(243, 241, 234, 0.78);
  text-decoration: none;
}

.hero,
.product-hero,
.feature-band,
.panel {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  display: grid;
  align-items: center;
  min-height: calc(100vh - 58px);
}

.panel {
  padding: 56px 0;
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(520px, 1.22fr);
  gap: 44px;
  align-items: center;
  min-height: calc(100vh - 58px);
  padding: 46px 0 30px;
}

.hero-copy {
  min-width: 0;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: #9cc9d8;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(46px, 5vw, 72px);
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: normal;
}

.lead {
  max-width: 620px;
  color: rgba(243, 241, 234, 0.76);
  font-size: 20px;
  line-height: 1.5;
}

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

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 6px;
  background: #d7f36b;
  color: #151712;
  font-weight: 800;
  padding: 10px 18px;
  text-decoration: none;
}

.button-link.secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #202b30;
  color: #f3f1ea;
}

.checkout-form,
.stack {
  display: grid;
  gap: 14px;
  max-width: 560px;
  margin-top: 28px;
}

.steps {
  display: grid;
  gap: 10px;
  max-width: 680px;
  margin: 26px 0 0;
  padding-left: 22px;
  color: rgba(243, 241, 234, 0.8);
  line-height: 1.5;
}

.steps.compact {
  margin-top: 6px;
}

.instruction-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0;
}

.instruction-grid > div {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #15191d;
  padding: 18px;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #d7f36b;
  color: #151712;
  font-weight: 800;
}

h2 {
  margin: 14px 0 8px;
  font-size: 20px;
  letter-spacing: 0;
}

.instruction-grid p,
.panel p {
  color: rgba(243, 241, 234, 0.76);
  line-height: 1.55;
}

label {
  display: grid;
  gap: 8px;
  color: rgba(243, 241, 234, 0.84);
  font-size: 14px;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: #171b1f;
  color: #f3f1ea;
  font: inherit;
  padding: 12px;
}

textarea {
  resize: vertical;
  min-height: 180px;
}

button {
  width: fit-content;
  border: 0;
  border-radius: 6px;
  background: #d7f36b;
  color: #151712;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 12px 18px;
}

.showcase {
  min-width: 0;
  position: relative;
  z-index: 0;
}

.showcase-stage {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: #080a0b;
  aspect-ratio: 16 / 9;
}

.showcase-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 280ms ease;
  cursor: zoom-in;
}

.showcase-image.is-active {
  opacity: 1;
}

.showcase-fallback {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  gap: 8px;
  padding: 26px;
  text-align: center;
  color: rgba(243, 241, 234, 0.7);
}

.showcase-fallback strong,
.showcase-fallback span {
  display: block;
}

.showcase.is-empty .showcase-fallback {
  display: grid;
}

.showcase-controls {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
}

.showcase-controls h2 {
  margin: 0 0 3px;
}

.showcase-controls p {
  min-height: 24px;
  margin: 0;
  color: rgba(243, 241, 234, 0.7);
  line-height: 1.45;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: #202b30;
  color: #f3f1ea;
  font-size: 28px;
  line-height: 1;
  padding: 0;
}

.showcase-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.showcase-dots button {
  width: 24px;
  height: 6px;
  border-radius: 999px;
  background: rgba(243, 241, 234, 0.24);
  padding: 0;
}

.showcase-dots button.is-active {
  background: #d7f36b;
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 8px 0 48px;
}

.feature-band h2 {
  margin-top: 0;
}

.feature-band p {
  margin: 0;
  color: rgba(243, 241, 234, 0.72);
  line-height: 1.5;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.86);
  padding: 62px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-image {
  max-width: min(96vw, 1500px);
  max-height: 86vh;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  object-fit: contain;
  background: #050607;
}

.lightbox-close,
.lightbox-nav {
  position: fixed;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: #202b30;
  color: #f3f1ea;
  padding: 0;
}

.lightbox-close {
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  font-size: 30px;
}

.lightbox-nav {
  top: 50%;
  width: 48px;
  height: 58px;
  transform: translateY(-50%);
  font-size: 38px;
}

.lightbox-prev {
  left: 18px;
}

.lightbox-next {
  right: 18px;
}

.status {
  min-height: 22px;
  color: #9cc9d8;
}

.result-box {
  min-height: 90px;
  margin: 0;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: #15191d;
  color: rgba(243, 241, 234, 0.88);
  padding: 12px;
  white-space: pre-wrap;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(243, 241, 234, 0.62);
  font-size: 13px;
}

.site-footer a {
  color: rgba(243, 241, 234, 0.8);
  text-decoration: none;
}

@media (max-width: 1060px) {
  .product-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 34px;
  }

  .showcase {
    width: min(100%, 860px);
  }
}

@media (max-width: 680px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 16px 20px;
  }

  nav {
    flex-wrap: wrap;
  }

  h1 {
    font-size: 42px;
  }

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

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

  .showcase-controls {
    grid-template-columns: 38px 1fr 38px;
  }

  .icon-button {
    width: 38px;
    height: 38px;
  }

  .lightbox {
    padding: 62px 12px;
  }

  .lightbox-nav {
    top: auto;
    bottom: 12px;
    transform: none;
  }
}
