:root {
  --ink: #090c0c;
  --cream: #fff5df;
  --gold: #efc277;
  --muted: rgba(255, 245, 223, 0.68);
  --line: rgba(239, 194, 119, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--cream);
  background:
    linear-gradient(90deg, rgba(239, 194, 119, 0.06) 1px, transparent 1px) 0 0 / 58px 58px,
    linear-gradient(rgba(239, 194, 119, 0.05) 1px, transparent 1px) 0 0 / 58px 58px,
    radial-gradient(circle at 18% 10%, rgba(239, 194, 119, 0.22), transparent 28vw),
    radial-gradient(circle at 82% 22%, rgba(25, 216, 189, 0.12), transparent 26vw),
    #090c0c;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.product-header,
.product-main,
.product-footer {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

.product-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
}

.brand img {
  width: 58px;
  height: 42px;
  border-radius: 8px;
  object-fit: contain;
  filter: brightness(1.05);
}

.back-link,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 900;
}

.button {
  border-color: rgba(239, 194, 119, 0.72);
  color: #120f0a;
  background: linear-gradient(135deg, #f6ddb0, #bd8840);
}

.hero-page {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.78fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
  padding: clamp(54px, 9vw, 110px) 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.lead {
  max-width: 740px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  line-height: 1.55;
  font-weight: 650;
}

.hero-art,
.panel,
.guide-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.32);
}

.hero-art {
  padding: 12px;
}

.hero-art img {
  display: block;
  width: 100%;
  border-radius: 8px;
}

.panel {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 16px;
}

.panel input,
.panel textarea,
.panel select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--cream);
  background: rgba(0, 0, 0, 0.32);
  font: inherit;
}

.panel textarea {
  resize: vertical;
}

.beta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.beta-actions button {
  cursor: pointer;
}

.beta-shell {
  padding-bottom: 86px;
}

.beta-shell-bar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.beta-route-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 14px;
}

.beta-route-tabs button {
  min-height: 46px;
  border: 1px solid rgba(239, 194, 119, 0.2);
  border-radius: 8px;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.055);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.beta-route-tabs button:hover {
  border-color: rgba(239, 194, 119, 0.72);
  color: #120f0a;
  background: linear-gradient(135deg, #f6ddb0, #bd8840);
  transform: translateY(-1px);
}

.beta-launch-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.beta-launch-grid a {
  position: relative;
  display: grid;
  min-height: 210px;
  align-content: end;
  border: 1px solid rgba(239, 194, 119, 0.18);
  border-radius: 8px;
  padding: 18px;
  color: var(--cream);
  background:
    radial-gradient(circle at 20% 0%, rgba(239, 194, 119, 0.16), transparent 14rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(20, 15, 10, 0.78);
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.26);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.beta-launch-grid a::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(110deg, transparent, rgba(255, 246, 231, 0.16), transparent);
  opacity: 0;
  transform: translateX(-60%);
  transition: opacity 0.22s ease, transform 0.56s ease;
}

.beta-launch-grid a:hover {
  border-color: rgba(239, 194, 119, 0.58);
  transform: translateY(-4px);
  box-shadow: 0 34px 100px rgba(189, 136, 64, 0.18);
}

.beta-launch-grid a:hover::before {
  opacity: 1;
  transform: translateX(60%);
}

.beta-launch-grid span {
  position: absolute;
  top: 16px;
  left: 18px;
  color: rgba(239, 194, 119, 0.72);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.beta-launch-grid strong {
  position: relative;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1;
}

.beta-launch-grid small {
  position: relative;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.45;
}

.beta-shell-bar h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3.4rem);
  line-height: 1;
}

.beta-frame {
  display: block;
  width: 100%;
  min-height: 840px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #090c0c;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-bottom: 80px;
}

.guide-card {
  min-height: 350px;
  padding: 14px;
}

.guide-shot {
  display: grid;
  min-height: 180px;
  place-items: center;
  margin-bottom: 18px;
  border: 1px dashed rgba(239, 194, 119, 0.36);
  border-radius: 8px;
  color: rgba(255, 245, 223, 0.54);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.guide-card span {
  color: var(--gold);
  font-weight: 900;
}

.guide-card h2 {
  margin: 16px 0 0;
  font-size: clamp(1.4rem, 2.1vw, 2.1rem);
  line-height: 1;
}

.guide-card p {
  color: var(--muted);
  font-weight: 650;
  line-height: 1.5;
}

.product-footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 800;
}

@media (max-width: 900px) {
  .hero-page,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .hero-page {
    padding-top: 36px;
  }

  .hero-art {
    max-width: 720px;
  }

  .beta-shell-bar {
    align-items: start;
    flex-direction: column;
  }

  .beta-route-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .beta-launch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .beta-frame {
    min-height: 780px;
  }

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

@media (max-width: 560px) {
  .product-header,
  .product-main,
  .product-footer {
    width: min(100% - 28px, 1180px);
  }

  .product-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand {
    align-items: flex-start;
  }

  .brand img {
    width: 48px;
    height: 36px;
  }

  h1 {
    font-size: clamp(2.45rem, 15vw, 4.2rem);
  }

  .button,
  .back-link {
    width: 100%;
  }

  .beta-actions {
    gap: 10px;
  }

  .hero-art,
  .panel,
  .guide-card {
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  }

  .hero-page {
    gap: 28px;
    padding-top: 24px;
    padding-bottom: 54px;
  }

  .lead {
    font-size: 1rem;
    line-height: 1.45;
  }

  .panel {
    padding: 12px;
  }

  .hero-art {
    padding: 8px;
  }

  .beta-frame {
    min-height: 720px;
    border-radius: 8px;
  }

  .beta-route-tabs {
    grid-template-columns: 1fr;
  }

  .beta-launch-grid {
    grid-template-columns: 1fr;
  }

  .beta-launch-grid a {
    min-height: 170px;
  }

  .guide-grid {
    grid-template-columns: 1fr;
    padding-bottom: 54px;
  }

  .guide-card {
    min-height: auto;
  }

  .guide-shot {
    min-height: 150px;
  }
}
