:root {
  --bg-0: #04070f;
  --bg-1: #071427;
  --bg-2: #0a1f36;
  --panel: rgba(10, 20, 39, 0.76);
  --panel-strong: rgba(9, 18, 34, 0.92);
  --border: rgba(94, 196, 255, 0.22);
  --line: rgba(255, 255, 255, 0.12);
  --text: #ecf2ff;
  --text-dim: #adc0de;
  --accent: #ffd046;
  --accent-2: #34d5ff;
  --success: #4cd473;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(950px 560px at 5% 0%, rgba(255, 170, 60, 0.22), transparent 58%),
    radial-gradient(820px 620px at 96% 4%, rgba(36, 145, 255, 0.24), transparent 55%),
    linear-gradient(135deg, var(--bg-0), var(--bg-1), var(--bg-2));
}

.aurora,
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.aurora {
  background:
    radial-gradient(40% 24% at 20% 26%, rgba(255, 186, 68, 0.14), transparent),
    radial-gradient(38% 22% at 80% 72%, rgba(25, 163, 255, 0.12), transparent);
  z-index: 0;
}

.noise {
  opacity: 0.08;
  z-index: 1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.6) 0.4px, transparent 0.4px);
  background-size: 2px 2px;
}

.layout {
  position: relative;
  z-index: 2;
  width: min(1220px, calc(100% - 40px));
  margin: 20px auto;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(6, 16, 32, 0.75), rgba(6, 13, 25, 0.88));
  backdrop-filter: blur(7px);
  box-shadow: var(--shadow);
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 10px 18px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  width: 82px;
  height: 82px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 1.08rem;
  letter-spacing: 0.2px;
}

.brand-copy small {
  color: var(--text-dim);
  font-size: 0.8rem;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.top-nav a {
  text-decoration: none;
  color: var(--text-dim);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.top-nav a:hover {
  color: var(--accent);
  border-color: var(--border);
  background: rgba(31, 62, 101, 0.35);
}

main {
  padding: 20px 10px 10px;
}

.tag {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1.7px;
  font-size: 0.76rem;
  color: var(--accent-2);
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: stretch;
}

.hero-copy {
  padding: 20px 10px 12px;
}

.hero-copy h1 {
  margin: 10px 0 12px;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(2rem, 3.3vw, 3.4rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.hero-copy p {
  margin: 0;
  max-width: 56ch;
  color: var(--text-dim);
  font-size: clamp(1rem, 1.45vw, 1.1rem);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 11px 16px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-solid {
  color: #121212;
  background: linear-gradient(125deg, var(--accent), #ffb432);
  box-shadow: 0 16px 26px rgba(255, 171, 60, 0.26);
}

.btn-ghost {
  color: var(--text);
  background: rgba(21, 42, 72, 0.52);
  border-color: var(--border);
}

.chip-row {
  margin-top: 22px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chip-row span {
  padding: 8px 11px;
  border-radius: 999px;
  font-size: 0.81rem;
  border: 1px solid var(--border);
  color: #cde5ff;
  background: rgba(16, 35, 61, 0.56);
}

.hero-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, rgba(9, 22, 46, 0.95), rgba(6, 12, 24, 0.95));
  overflow: hidden;
}

.panel-top {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.panel-top span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.panel-top p {
  margin: 0 0 0 auto;
  color: #93afd1;
  font-size: 0.75rem;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
}

.panel-grid article {
  border: 1px solid rgba(82, 146, 206, 0.38);
  border-radius: 14px;
  padding: 12px;
  background: rgba(9, 22, 42, 0.72);
}

.panel-grid h3 {
  margin: 0;
  color: var(--accent);
  font-size: 0.95rem;
}

.panel-grid p {
  margin: 8px 0 0;
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.35;
}

.hero-screen-slot {
  margin: 2px 12px 12px;
  min-height: 140px;
  border-radius: 16px;
  border: 1px dashed rgba(91, 197, 255, 0.52);
  background: rgba(5, 12, 24, 0.76);
  display: grid;
  place-content: center;
  gap: 6px;
  text-align: center;
}

.hero-screen-slot span {
  font-weight: 800;
  color: #d7e9ff;
}

.hero-screen-slot small {
  color: var(--text-dim);
}

.impact-strip {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.impact-strip article {
  border-radius: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(8, 22, 43, 0.82), rgba(5, 11, 22, 0.85));
}

.impact-strip strong {
  display: block;
  margin: 0;
  font-size: 0.93rem;
  color: var(--accent);
}

.impact-strip p {
  margin: 7px 0 0;
  color: var(--text-dim);
  font-size: 0.87rem;
  line-height: 1.35;
}

.section {
  margin-top: 26px;
}

.section-head {
  margin-bottom: 14px;
}

.section-head h2 {
  margin: 8px 0 0;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(1.5rem, 2.2vw, 2.25rem);
  line-height: 1.1;
  color: #f9f2df;
}

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

.feature-grid article {
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--panel-strong);
}

.feature-grid h3 {
  margin: 0;
  font-size: 1rem;
  color: #ffe27e;
}

.feature-grid p {
  margin: 8px 0 0;
  color: var(--text-dim);
  font-size: 0.91rem;
  line-height: 1.45;
}

.showcase {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 12px;
}

.showcase-copy,
.showcase-media {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 18px;
}

.showcase-copy h2 {
  margin: 8px 0 10px;
  font-family: "Space Grotesk", "Manrope", sans-serif;
}

.showcase-copy ol {
  margin: 0;
  padding-left: 18px;
  color: var(--text-dim);
  display: grid;
  gap: 10px;
  line-height: 1.35;
}

.showcase-copy strong {
  color: #fff;
}

.showcase-media {
  display: grid;
  gap: 10px;
}

.media-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.media-slot {
  border-radius: 16px;
  border: 1px dashed rgba(100, 180, 255, 0.45);
  background: rgba(7, 18, 36, 0.78);
  min-height: 150px;
  padding: 14px;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 6px;
}

.media-slot.tall {
  min-height: 190px;
}

.media-slot span {
  color: #e7f2ff;
  font-weight: 700;
}

.media-slot small {
  color: var(--text-dim);
}

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

.screen-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(6, 17, 34, 0.82), rgba(4, 10, 21, 0.84));
  padding: 16px;
}

.screen-card h3 {
  margin: 0;
  color: #ffe27e;
  font-size: 1.02rem;
}

.screen-card p {
  margin: 7px 0 0;
  color: var(--text-dim);
}

.frame {
  margin-top: 12px;
  border-radius: 14px;
  border: 1px dashed rgba(112, 196, 255, 0.58);
  min-height: 190px;
  display: grid;
  place-content: center;
  gap: 6px;
  text-align: center;
  color: var(--text-dim);
  background: rgba(8, 18, 34, 0.75);
}

.frame span {
  color: #d2e8ff;
  font-weight: 800;
}

.help-card,
.contact-panel {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(8, 21, 42, 0.9), rgba(4, 10, 22, 0.86));
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.help-logo {
  width: clamp(100px, 18vw, 170px);
  height: auto;
  object-fit: contain;
}

.help-card h2,
.contact-panel h2 {
  margin: 8px 0;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  line-height: 1.08;
}

.help-card p,
.contact-panel p {
  margin: 0;
  color: var(--text-dim);
}

.contact-panel .btn {
  white-space: nowrap;
}

.site-footer {
  margin-top: 28px;
  padding: 16px 10px 10px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.footer-logo {
  width: clamp(86px, 12vw, 140px);
  height: auto;
  object-fit: contain;
}

.site-footer p {
  margin: 0;
  color: #c2d4ee;
  font-size: 0.88rem;
  text-align: center;
}

@media (max-width: 1140px) {
  .hero,
  .showcase,
  .feature-grid,
  .impact-strip {
    grid-template-columns: 1fr 1fr;
  }

  .feature-grid article:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 860px) {
  .layout {
    width: calc(100% - 18px);
    margin: 10px auto;
    padding: 10px;
    border-radius: 22px;
  }

  .masthead {
    flex-wrap: wrap;
    gap: 10px;
  }

  .brand-logo {
    width: 72px;
    height: 72px;
  }

  .hero,
  .impact-strip,
  .feature-grid,
  .showcase,
  .screen-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid article:last-child {
    grid-column: auto;
  }

  .hero-copy {
    padding: 10px 4px;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1 1 180px;
  }

  .media-row {
    grid-template-columns: 1fr;
  }

  .help-card,
  .contact-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer {
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 560px) {
  .top-nav {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .top-nav a {
    flex: 0 0 auto;
  }

  .btn {
    width: 100%;
  }

  .chip-row span {
    font-size: 0.77rem;
  }

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