:root {
  color-scheme: dark;
  --space: #060a15;
  --void: #0b1224;
  --panel: #131c33;
  --panel-soft: #1c2745;
  --line: #2a3757;
  --line-strong: #5d72a6;
  --text: #f2f5ff;
  --muted: #a9b6d6;
  --disabled: #8391b6;
  --blue: #4c8dff;
  --cyan: #38e1f0;
  --purple: #a98bff;
  --amber: #ffa24d;
  --rose: #ff7a8f;
  --shell: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--space);
  color: var(--text);
  font-family: "Microsoft JhengHei", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

a {
  color: inherit;
}

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

.horizon {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  display: grid;
  width: 100%;
  height: 3px;
  grid-template-columns: 2fr 1fr 1fr;
}

.horizon span:nth-child(1) { background: var(--blue); }
.horizon span:nth-child(2) { background: var(--cyan); }
.horizon span:nth-child(3) { background: var(--purple); }

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 3px;
  display: flex;
  width: var(--shell);
  margin-inline: auto;
  padding: 18px 0;
  align-items: center;
  justify-content: space-between;
  background: rgba(6, 10, 21, 0.94);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--space);
  background: var(--cyan);
  border: 2px solid var(--cyan);
  border-radius: 9px;
  font-size: 14px;
  font-weight: 900;
}

.header-contact {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-underline-offset: 5px;
}

.hero {
  display: grid;
  min-height: 680px;
  padding: 84px 0 72px;
  align-items: center;
  gap: 54px;
  grid-template-columns: minmax(0, 0.86fr) minmax(520px, 1.14fr);
}

.eyebrow,
.screen-number {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(2.5rem, 5.8vw, 5.35rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.85rem, 3.5vw, 3.2rem);
  line-height: 1.18;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  line-height: 1.35;
}

.hero-lede,
.section-heading > p:last-child,
.screen-copy p,
.contact p,
.disclaimer p {
  color: var(--muted);
}

.hero-lede {
  max-width: 650px;
  margin-bottom: 30px;
  font-size: 1.08rem;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 12px 20px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 140ms ease, border-color 140ms ease, background-color 140ms ease;
}

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

.button:focus-visible,
a:focus-visible,
video:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}

.button-primary {
  color: var(--space);
  background: var(--cyan);
  border-color: var(--cyan);
}

.button-primary:hover {
  background: #7aedf5;
}

.button-secondary {
  background: var(--panel);
}

.button-secondary:hover {
  border-color: var(--blue);
}

.fine-print {
  margin-top: 18px;
  color: var(--disabled);
  font-size: 13px;
}

.product-frame {
  margin: 0;
  overflow: hidden;
  background: var(--void);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
}

.hero-frame {
  transform: rotate(1.2deg);
}

.frame-bar {
  display: flex;
  min-height: 34px;
  padding: 8px 12px;
  align-items: center;
  gap: 6px;
  background: var(--panel-soft);
  border-bottom: 1px solid var(--line);
}

.frame-bar span {
  width: 8px;
  height: 8px;
  background: var(--line-strong);
  border-radius: 50%;
}

.frame-bar span:nth-child(1) { background: var(--rose); }
.frame-bar span:nth-child(2) { background: var(--amber); }
.frame-bar span:nth-child(3) { background: var(--cyan); }

.frame-bar b {
  margin-left: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.product-frame figcaption {
  padding: 12px 14px;
  border-top: 1px solid var(--line);
}

.demo-label {
  display: inline-block;
  color: var(--text);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.03em;
}

.benefits,
.screens,
.video-section {
  padding: 96px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 44px;
}

.benefit-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, 1fr);
  background: var(--line);
  border: 1px solid var(--line);
}

.benefit-card {
  min-height: 260px;
  padding: 28px;
  background: var(--panel);
}

.benefit-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.card-index {
  display: block;
  margin-bottom: 56px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
}

.screen-row {
  display: grid;
  margin-top: 76px;
  align-items: center;
  gap: 64px;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
}

.screen-row-reverse {
  grid-template-columns: minmax(0, 1.14fr) minmax(250px, 0.86fr);
}

.screen-row-reverse .screen-copy {
  order: 2;
}

.email-frame {
  max-height: 720px;
  overflow-y: auto;
}

.video-frame {
  padding: clamp(12px, 2vw, 24px);
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
}

.video-frame video {
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-frame p {
  margin: 14px 2px 0;
}

.contact {
  display: grid;
  margin-top: 24px;
  padding: 52px;
  align-items: center;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) auto;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--cyan);
}

.contact h2 {
  max-width: 780px;
}

.contact p {
  max-width: 720px;
  margin-bottom: 0;
}

.contact-button {
  white-space: nowrap;
}

.disclaimer {
  margin-top: 26px;
  padding: 28px 32px;
  background: var(--void);
  border: 1px solid var(--line);
}

.disclaimer h2 {
  margin-bottom: 8px;
  font-size: 1rem;
  letter-spacing: 0;
}

.disclaimer p {
  margin-bottom: 0;
  font-size: 14px;
}

.site-footer {
  display: flex;
  padding: 38px 0 54px;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer a {
  color: var(--cyan);
  text-underline-offset: 4px;
}

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

  .hero-frame {
    transform: none;
  }

  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .screen-row,
  .screen-row-reverse {
    gap: 32px;
    grid-template-columns: 1fr;
  }

  .screen-row-reverse .screen-copy {
    order: initial;
  }

  .contact {
    padding: 38px;
    grid-template-columns: 1fr;
  }

  .contact-button {
    justify-self: start;
  }
}

@media (max-width: 600px) {
  :root {
    --shell: min(100% - 28px, 1180px);
  }

  .site-header {
    padding: 14px 0;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .hero,
  .benefits,
  .screens,
  .video-section {
    padding: 62px 0;
  }

  h1 {
    font-size: clamp(2.35rem, 13vw, 3.6rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

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

  .benefit-card {
    min-height: 0;
  }

  .card-index {
    margin-bottom: 26px;
  }

  .contact {
    padding: 28px 22px;
  }

  .site-footer {
    flex-direction: column;
  }
}

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

  .button {
    transition: none;
  }
}

.header-links {
  display: flex;
  gap: 18px;
}

.screens-more {
  margin-top: 64px;
}

@media (max-width: 600px) {
  .header-links .page-link {
    display: none;
  }
}
