:root {
  --bg: #0a0a0a;
  --panel: #141414;
  --panel2: #1c1c1c;

  --amber: #e8c84a;
  --amber-dim: #8a7520;

  --red: #c0392b;
  --green: #27ae60;

  --text: #efefef;
  --dim: #777;

  --mono: 'Share Tech Mono', monospace;
  --head: 'Barlow Condensed', sans-serif;
  --body: 'Barlow', sans-serif;
}


/* =========================================================
   RESET
   ========================================================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
}


/* =========================================================
   HEADER / NAVIGATION
   ========================================================= */

header {
  padding: 52px 48px;
  background: var(--panel);
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;

  height: 80px;
  padding: 0 40px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: rgba(8, 8, 8, 0.92);
  border-bottom: 2px solid var(--amber);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

nav > a {
  flex-shrink: 0;
}

.nav-logo {
  display: block;
  width: auto;
  height: 80px;
}


/* Product navigation */

.product-links {
  display: flex;
  align-items: center;
  justify-content: flex-start;

  gap: 28px;
  margin-left: 24px;
  margin-right: auto;

  padding: 10px 0;

  border-bottom: 1px solid #222;
}

.product-links a {
  color: var(--amber);
  font-family: var(--head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.product-links a:hover {
  color: #fff;
}

.product-links a.active {
  color: #fff;
  border-bottom: 2px solid var(--amber);
}


/* Section navigation */

.nav-links {
  display: flex;
  align-items: center;

  gap: 32px;

  list-style: none;

  padding-top: 20px;

  border-top: 1px solid #222;
}

.nav-links a {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-decoration: none;
  text-transform: uppercase;

  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--amber);
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 48px 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-label {
  margin-bottom: 16px;

  color: var(--amber);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 24px;

  font-family: var(--head);
  font-size: clamp(52px, 8vw, 88px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.hero h1 span {
  color: var(--amber);
}

.hero-sub {
  max-width: 560px;
  margin-bottom: 40px;

  color: var(--dim);
  font-size: 18px;
  line-height: 1.7;
}

.hero-sub strong {
  color: var(--text);
}


/* Product model number */

.hero-title {
  margin-bottom: 8px;

  color: var(--text);
  font-family: var(--head);
  font-size: clamp(64px, 8vw, 110px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 3px;
}

.hero-title .code {
  display: block;

  margin-bottom: 4px;

  color: var(--amber);
  font-size: 0.38em;
  letter-spacing: 8px;
}


/* Hero tags */

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  padding: 5px 12px;

  color: var(--amber);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;

  border: 1px solid var(--amber-dim);
}

.tag.red {
  color: var(--red);
  border-color: #7a1f1f;
}

.tag.green {
  color: var(--green);
  border-color: #1a5e35;
}


/* =========================================================
   HERO IMAGE
   ========================================================= */

.hero-image {
  padding: 8px;

  background: var(--panel);
  border: 1px solid #262626;
}

.hero-image img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-image .cap {
  padding: 10px 4px 2px;

  color: var(--dim);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}


/* =========================================================
   LED DISPLAY
   ========================================================= */

.led-strip {
  display: flex;
  align-items: center;
  gap: 12px;

  margin: 32px 0;
}

.led {
  width: 14px;
  height: 14px;

  flex-shrink: 0;

  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 50%;
}

.led.amber {
  background: var(--amber);
  box-shadow: 0 0 8px var(--amber);
  animation: pulse-amber 2s infinite;
}

.led.red {
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
  animation: pulse-red 1.2s infinite;
}

.led.green {
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

.led.off {
  background: #1a1a1a;
}

.led-label {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}

@keyframes pulse-amber {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

@keyframes pulse-red {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}


/* =========================================================
   DIVIDER
   ========================================================= */

.divider {
  margin: 0 48px;

  border: 0;
  border-top: 1px solid #222;
}


/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 48px;
}

#mechanic,
#specs,
#system,
#pricing,
#contact {
  scroll-margin-top: 100px;
}

.section-label {
  margin-bottom: 40px;

  color: var(--amber);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}


/* =========================================================
   FULL-WIDTH IMAGE
   ========================================================= */

.full-bleed {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px 64px;
}

.full-bleed img {
  display: block;
  width: 100%;
  height: auto;

  border: 1px solid #262626;
}

.full-bleed .cap {
  margin-top: 12px;

  color: var(--dim);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.full-bleed .cap strong {
  color: var(--amber);
}


/* =========================================================
   PUZZLE STEPS
   ========================================================= */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2px;
}

.step {
  padding: 32px 24px;

  background: var(--panel);
  border-top: 3px solid transparent;

  transition: border-color 0.2s ease;
}

.step:hover {
  border-color: var(--amber);
}

.step-num {
  margin-bottom: 12px;

  color: #522;
  font-family: var(--mono);
  font-size: 42px;
  font-weight: bold;
  line-height: 1;
}

.step-title {
  margin-bottom: 10px;

  color: var(--amber);
  font-family: var(--head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.step p {
  color: var(--dim);
  font-size: 14px;
  line-height: 1.6;
}

.step p strong {
  color: var(--text);
}

.step-img {
  margin-top: 18px;

  border: 1px solid #262626;
}

.step-img img {
  display: block;
  width: 100%;
  height: auto;
}


/* =========================================================
   SYSTEM / SELLING POINTS
   ========================================================= */

.sell-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.sell-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;

  padding: 28px;

  background: var(--panel);
}

.sell-icon {
  flex-shrink: 0;

  margin-top: 2px;

  font-size: 28px;
  line-height: 1;
}

.sell-item h3 {
  margin-bottom: 6px;

  color: var(--text);
  font-family: var(--head);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.sell-item p {
  color: var(--dim);
  font-size: 14px;
  line-height: 1.6;
}


/* =========================================================
   ANNOTATED DIAGRAM
   ========================================================= */

.annotate-section {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}

.annotate-wrap {
  position: relative;

  line-height: 0;

  border: 1px solid #262626;
}

.annotate-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

.annotate-marker {
  position: absolute;

  width: 26px;
  height: 26px;

  display: flex;
  align-items: center;
  justify-content: center;

  transform: translate(-50%, -50%);

  background: var(--amber);
  color: #000;

  border-radius: 50%;

  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;

  box-shadow:
    0 0 0 3px rgba(0, 0, 0, 0.55),
    0 0 10px rgba(232, 200, 74, 0.7);
}

.annotate-legend {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.annotate-legend-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.annotate-legend-num {
  flex-shrink: 0;

  width: 26px;
  height: 26px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--amber);
  color: #000;

  border-radius: 50%;

  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
}

.annotate-legend-item h4 {
  margin-bottom: 2px;

  color: var(--text);
  font-family: var(--head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.annotate-legend-item p {
  color: var(--dim);
  font-size: 13px;
}

.annotate-note {
  margin-top: 28px;
  padding-top: 16px;

  color: var(--dim);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.7;

  border-top: 1px solid #1e1e1e;
}


/* =========================================================
   SPECS TABLE
   ========================================================= */

.specs-table {
  width: 100%;

  border-collapse: collapse;

  font-size: 14px;
}

.specs-table tr:nth-child(even) td {
  background: var(--panel);
}

.specs-table tr:nth-child(odd) td {
  background: var(--panel2);
}

.specs-table td {
  padding: 12px 16px;

  border-bottom: 1px solid #1e1e1e;
}

.specs-table td:first-child {
  width: 40%;

  color: var(--dim);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
}

.specs-table td:last-child {
  color: var(--text);
  font-weight: 500;
}


/* =========================================================
   PRICING
   ========================================================= */

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.price-card {
  position: relative;

  padding: 36px 28px;

  background: var(--panel);
}

.price-card.featured {
  background: var(--panel2);
  outline: 2px solid var(--amber);
}

.price-tier {
  margin-bottom: 8px;

  color: var(--text);
  font-family: var(--head);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.price-amount {
  margin-bottom: 16px;

  color: var(--amber);
  font-family: var(--head);
  font-size: 52px;
  font-weight: 900;
  line-height: 1;
}

.price-note {
  margin-bottom: 32px;

  color: var(--dim);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 1px;
}

.price-desc {
  margin-bottom: 24px;

  color: var(--dim);
  font-size: 13px;
  line-height: 1.7;
}

.price-includes {
  list-style: none;

  font-size: 13px;
}

.price-includes li {
  display: flex;
  gap: 8px;

  padding: 5px 0;

  color: var(--dim);

  border-bottom: 1px solid #1e1e1e;
}

.price-includes li::before {
  flex-shrink: 0;

  content: '—';

  color: var(--amber-dim);
}


/* =========================================================
   CTA
   ========================================================= */

.cta-block {
  padding: 56px 48px;

  background: var(--panel);

  border-top: 2px solid var(--amber);

  text-align: center;
}

.cta-block h2 {
  margin-bottom: 12px;

  font-family: var(--head);
  font-size: 40px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.cta-block p {
  margin-bottom: 32px;

  color: var(--dim);
  font-size: 15px;
}

.cta-btn {
  display: inline-block;

  margin: 0 8px 8px;
  padding: 16px 48px;

  background: var(--amber);
  color: #000;

  font-family: var(--head);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;

  transition: opacity 0.2s ease;
}

.cta-btn:hover {
  opacity: 0.85;
}

.cta-btn.outline {
  background: transparent;
  color: var(--amber);

  border: 2px solid var(--amber);
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact-content {
  margin: 0;
  padding: 0;
}

.contact-content p {
  margin: 0;

  color: var(--dim);
  font-size: 14px;
  line-height: 1.6;
}

.contact-content strong {
  color: var(--text);
}

.contact-content a {
  color: var(--amber);
  text-decoration: none;
}

.contact-content a:hover {
  text-decoration: underline;
}


/* =========================================================
   GALLERY
   ========================================================= */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.gallery-item {
  overflow: hidden;

  background: var(--panel);
}

.gallery-item img {
  display: block;

  width: 100%;
  height: 260px;

  object-fit: cover;

  filter: grayscale(15%);

  transition:
    filter 0.2s ease,
    transform 0.2s ease;
}

.gallery-item:hover img {
  filter: grayscale(0%);
  transform: scale(1.03);
}

.gallery-item .cap {
  padding: 10px 14px;

  color: var(--dim);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}


/* =========================================================
   OTHER IMAGE COMPONENTS
   ========================================================= */

.lifestyle-photo {
  border: 1px solid #262626;
}

.lifestyle-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.img-placeholder {
  padding: 48px 20px;

  background: var(--panel);
  color: var(--dim);

  border: 1px dashed var(--amber-dim);

  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-align: center;
}

.img-placeholder strong {
  display: block;

  margin-bottom: 6px;

  color: var(--amber);
  font-size: 13px;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 24px 48px;

  background: var(--panel);

  border-top: 1px solid #1e1e1e;

  color: var(--dim);
  font-family: var(--mono);
  font-size: 11px;
}

footer a {
  color: var(--amber);
  text-decoration: none;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {
  nav {
    padding: 0 24px;
  }

  .product-links {
    gap: 18px;
    margin-left: 18px;
  }

  .nav-links {
    gap: 18px;
  }
}

@media (max-width: 780px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .annotate-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 100px;
  }
}

@media (max-width: 680px) {
  nav {
    position: relative;

    height: auto;
    min-height: 80px;

    flex-wrap: wrap;

    padding: 8px 16px;
  }

  nav > a {
    width: 100%;
  }

  .nav-logo {
    height: 60px;
  }

  .product-links {
    width: 100%;

    margin: 0;

    gap: 16px;

    overflow-x: auto;
  }

  .product-links a {
    white-space: nowrap;
  }

  .nav-links {
    width: 100%;

    gap: 14px;

    padding-top: 10px;

    overflow-x: auto;
  }

  .nav-links a {
    white-space: nowrap;
  }

  .hero {
    padding: 48px 24px;
  }

  .hero h1 {
    font-size: clamp(46px, 15vw, 72px);
  }

  .hero-sub {
    font-size: 16px;
  }

  .section {
    padding: 48px 24px;
  }

  .full-bleed {
    padding: 0 24px 48px;
  }

  .divider {
    margin: 0 24px;
  }

  .sell-grid {
    grid-template-columns: 1fr;
  }

  .price-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .cta-block {
    padding: 48px 24px;
  }

  .cta-block h2 {
    font-size: 32px;
  }

  footer {
    padding: 20px 24px;
  }

  .specs-table {
    font-size: 13px;
  }

  .specs-table td {
    padding: 10px;
  }

  .specs-table td:first-child {
    width: 42%;
    font-size: 11px;
  }
}