:root {
  --bg: #182431;
  --text: #f4f7fb;
  --muted: #8f9aa8;
  --blue: #1f9cf5;
  --cyan: #2fb4ff;
  --lime: #d5ff43;
  --red: #ff785f;
  --shadow: 0 24px 70px rgba(4, 12, 22, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 92% 4%, rgba(42, 133, 209, 0.2), transparent 28%),
    radial-gradient(circle at 28% 100%, rgba(45, 174, 255, 0.24), transparent 34%),
    linear-gradient(135deg, #1c2734 0%, #15202d 45%, #111925 100%);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
}

a,
button {
  font: inherit;
  color: inherit;
}

a {
  text-decoration: none;
}

button {
  cursor: pointer;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 16px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(20, 31, 43, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-mark {
  position: relative;
  width: 28px;
  height: 24px;
}

.brand-mark i {
  position: absolute;
  width: 8px;
  height: 20px;
  border-radius: 999px;
  background: linear-gradient(180deg, #45b9ff, #167bd8);
  transform: rotate(-28deg);
}

.brand-mark i:first-child {
  left: 3px;
}

.brand-mark i:last-child {
  right: 3px;
  height: 13px;
  background: linear-gradient(180deg, #54c9ff, #2366c9);
}

.site-nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}

.site-nav a {
  color: rgba(244, 247, 251, 0.72);
  font-size: 0.9rem;
  font-weight: 700;
}

.site-nav a:hover {
  color: #ffffff;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-demo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 800;
  padding: 0 18px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-demo:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.btn-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  background: var(--lime);
  color: #102019;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 0 18px;
  box-shadow: 0 14px 28px rgba(213, 255, 67, 0.18);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn-buy:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 800;
  padding: 0 18px;
}

.hero,
.section,
.buy-band,
.site-footer {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  padding: 72px 0 20px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: #8bd6ff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  letter-spacing: -0.05em;
}

h1 {
  max-width: 16em;
  margin: 0 auto;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
}

.lede,
.section-copy p,
.buy-band p {
  color: rgba(244, 247, 251, 0.66);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
}

.lede {
  margin: 18px auto 0;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-shot {
  margin: 48px 0 0;
}

.hero-shot img,
.hero-shot video,
.shot-card img {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-shot video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3360 / 2520;
  object-fit: contain;
  object-position: center;
  background: #111925;
}

.hero-shot figcaption,
.shot-card figcaption,
.preview-note {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.78rem;
  font-weight: 700;
}

.preview-note code {
  color: #8bd6ff;
}

.shot-open {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
}

.section,
.buy-band {
  scroll-margin-top: 88px;
}

.section {
  padding: 84px 0 20px;
}

.section-copy {
  max-width: 640px;
  margin-bottom: 32px;
}

.section-copy h2,
.buy-band h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.section-copy p {
  margin: 12px 0 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  min-height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), transparent 58%),
    rgba(39, 54, 70, 0.62);
  padding: 22px;
  box-shadow: var(--shadow);
}

.feature-card h3 {
  margin: 16px 0 8px;
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
  color: rgba(244, 247, 251, 0.58);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.5;
}

.dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.blue { background: var(--blue); }
.dot.lime { background: var(--lime); }
.dot.red { background: var(--red); }
.dot.cyan { background: var(--cyan); }

.theme-pair,
.shot-grid,
.shot-trio {
  display: grid;
  gap: 16px;
}

.theme-pair {
  grid-template-columns: 1fr 1fr;
  margin-bottom: 16px;
}

.shot-grid {
  grid-template-columns: 1.2fr 0.8fr;
}

.shot-trio {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}

.shot-trio .shot-open {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
}

.shot-trio img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.shot-wide {
  grid-column: 1 / -1;
}

.shot-tall {
  display: flex;
  grid-row: span 2;
  flex-direction: column;
  min-height: 0;
}

.shot-tall .shot-open {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
}

.shot-tall img {
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.live-frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  background: rgba(20, 31, 43, 0.86);
  box-shadow: var(--shadow);
}

.live-bar {
  display: flex;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.live-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.live-bar span:first-child { background: #ff785f; }
.live-bar span:nth-child(2) { background: #f9c74f; }
.live-bar span:last-child { background: #d5ff43; }

.product-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  background: #111925;
}

.phone-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  justify-items: center;
}

.phone-shot {
  margin: 0;
  width: min(320px, 100%);
}

.phone-bezel {
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 40%),
    #0c141c;
  box-shadow: var(--shadow);
}

.phone-bezel img {
  border: 0;
  border-radius: 26px;
  box-shadow: none;
}

.phone-shot figcaption,
.ide-shot figcaption {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
}

.mobile-points,
.label-points {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.mobile-points li,
.label-points li {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(244, 247, 251, 0.68);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 14px 16px;
}

.label-points {
  margin: 0 0 28px;
}

.label-points code {
  color: #8bd6ff;
}

.ide-shot {
  margin: 0;
}

.ide-shot img {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.file-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.file-list li {
  display: grid;
  grid-template-columns: minmax(180px, 260px) 1fr;
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  padding: 14px 16px;
  color: rgba(244, 247, 251, 0.62);
  font-size: 0.88rem;
  font-weight: 600;
}

.file-list code {
  color: #8bd6ff;
  font-size: 0.84rem;
}

.buy-band {
  margin: 72px auto 40px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 98%, rgba(41, 156, 240, 0.22), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), transparent 38%),
    rgba(39, 54, 70, 0.74);
  padding: 48px clamp(22px, 4vw, 48px);
  text-align: center;
  box-shadow: var(--shadow);
}

.buy-band p {
  max-width: 52ch;
  margin: 14px auto 26px;
}

.purchase-agreement {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  max-width: 620px;
  margin: 18px auto 0;
  color: rgba(244, 247, 251, 0.68);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}

.purchase-agreement input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--lime);
}

.purchase-agreement a {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: rgba(213, 255, 67, 0.58);
  text-underline-offset: 3px;
}

.purchase-agreement a:hover {
  color: var(--lime);
}

.license-page {
  width: min(920px, calc(100% - 36px));
  margin: 0 auto;
  padding: 72px 0 96px;
}

.license-hero {
  margin-bottom: 28px;
  text-align: center;
}

.license-hero h1 {
  max-width: none;
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.license-hero p {
  margin: 16px auto 0;
  color: rgba(244, 247, 251, 0.66);
  font-weight: 600;
  line-height: 1.65;
}

.license-card {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), transparent 38%),
    rgba(39, 54, 70, 0.74);
  padding: clamp(24px, 5vw, 52px);
  box-shadow: var(--shadow);
}

.license-card section + section {
  margin-top: 32px;
}

.license-card h2 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.license-card p,
.license-card li {
  color: rgba(244, 247, 251, 0.7);
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1.75;
}

.license-card p {
  margin: 0;
}

.license-card p + p {
  margin-top: 12px;
}

.license-card ol {
  margin: 12px 0 0;
  padding-left: 22px;
}

.license-card a {
  color: #8bd6ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.license-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: #8bd6ff;
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 40px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.78rem;
  font-weight: 700;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background: rgba(8, 14, 22, 0.86);
  padding: 28px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  width: min(1200px, 100%);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-size: 2rem;
}

@media (max-width: 860px) {
  .site-header {
    flex-wrap: wrap;
  }

  .header-actions {
    gap: 8px;
  }

  .header-actions .btn-demo,
  .header-actions .btn-buy {
    padding-inline: 14px;
  }

  .site-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    padding-top: 4px;
  }

  .feature-grid,
  .theme-pair,
  .shot-grid,
  .shot-trio,
  .phone-pair,
  .file-list li {
    grid-template-columns: 1fr;
  }

  .shot-tall {
    grid-row: auto;
  }

  .hero {
    padding-top: 42px;
    text-align: left;
  }

  h1 {
    margin: 0;
  }

  .lede,
  .hero-actions {
    justify-content: flex-start;
    margin-left: 0;
  }

}
