:root {
  --bg: #071915;
  --bg-deep: #04100d;
  --card: rgba(11, 31, 26, 0.88);
  --card-soft: rgba(12, 43, 35, 0.7);
  --line: rgba(155, 255, 223, 0.16);
  --text: #ebfff7;
  --muted: #a6d7c6;
  --lime: #87f76b;
  --cyan: #66f0ff;
  --gold: #ffd27f;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(102, 240, 255, 0.16), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(135, 247, 107, 0.14), transparent 22%),
    linear-gradient(180deg, #0a231d 0%, #061612 55%, #04100d 100%);
  font-family: "Trebuchet MS", "Avenir Next", "Segoe UI Variable", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 92%);
}

.page-shell {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 28px 0 40px;
}

.hero {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(10, 34, 28, 0.94), rgba(6, 19, 16, 0.94));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(135, 247, 107, 0.18), transparent 68%);
}

.topbar,
.hero-grid,
.section-grid,
.download-strip,
.tutorial-wrap,
.feature-board,
.footer {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 42px;
}

.topbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 0 24px rgba(135, 247, 107, 0.22);
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-tag,
.eyebrow,
.card-kicker,
.path-label,
.screen-label {
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.ghost-link,
.secondary-btn,
.primary-btn,
.copy-btn {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ghost-link {
  color: var(--text);
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.ghost-link:hover,
.secondary-btn:hover,
.primary-btn:hover,
.copy-btn:hover {
  transform: translateY(-2px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr);
  gap: 24px;
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(2.35rem, 4vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero-text {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.hero-actions,
.meta-row,
.download-actions,
.path-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 22px;
}

.primary-btn,
.secondary-btn,
.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.primary-btn {
  color: #03211a;
  background: linear-gradient(135deg, var(--lime), #d5ff88);
  box-shadow: 0 16px 36px rgba(135, 247, 107, 0.24);
}

.secondary-btn,
.copy-btn {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.meta-row {
  margin-top: 18px;
}

.meta-pill {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.9rem;
}

.panel-card,
.info-card,
.tutorial-card,
.feature-card,
.download-strip {
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
}

.panel-card {
  padding: 18px;
  border-radius: 28px;
  transform: rotate(1.1deg);
}

.panel-head {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.panel-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ff7f7f;
}

.panel-dot--cyan {
  background: var(--cyan);
}

.panel-dot--lime {
  background: var(--lime);
}

.panel-screen {
  padding: 22px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(14, 49, 40, 0.94), rgba(10, 27, 23, 0.94)),
    linear-gradient(135deg, rgba(102, 240, 255, 0.12), transparent 50%);
}

.site-list,
.feature-list,
.steps {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--text);
}

.site-list li,
.feature-list li,
.steps li {
  margin: 10px 0;
  line-height: 1.6;
}

.screen-divider {
  height: 1px;
  margin: 18px 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.info-card,
.feature-card,
.tutorial-card {
  border-radius: 24px;
  padding: 24px;
}

.accent-card {
  background:
    radial-gradient(circle at top right, rgba(102, 240, 255, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(13, 47, 39, 0.92), rgba(9, 26, 22, 0.92));
}

.info-card h2,
.download-strip h2,
.tutorial-copy h2,
.board-head h2 {
  margin: 8px 0 12px;
  font-size: clamp(1.45rem, 2vw, 2.25rem);
  line-height: 1.15;
}

.info-card p,
.download-strip p,
.tutorial-copy,
.feature-card p,
.tiny-note {
  color: var(--muted);
  line-height: 1.72;
}

.download-strip {
  margin-top: 22px;
  padding: 26px;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background:
    linear-gradient(135deg, rgba(102, 240, 255, 0.16), transparent 45%),
    linear-gradient(180deg, rgba(9, 34, 28, 0.95), rgba(6, 17, 15, 0.95));
}

.tutorial-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 18px;
  margin-top: 22px;
}

.path-box {
  margin-top: 10px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--gold);
  font-family: Consolas, Monaco, monospace;
  font-size: 0.93rem;
  line-height: 1.7;
  word-break: break-all;
}

.path-actions {
  margin-top: 16px;
}

.tiny-note {
  margin-top: 14px;
  font-size: 0.9rem;
}

.feature-board {
  margin-top: 22px;
  padding: 26px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--card-soft);
  box-shadow: var(--shadow);
}

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

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding: 18px 4px 4px;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 960px) {
  .hero-grid,
  .section-grid,
  .tutorial-wrap,
  .feature-grid,
  .download-strip {
    grid-template-columns: 1fr;
  }

  .download-strip,
  .footer,
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding: 20px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100vw - 18px, 100%);
    padding-top: 14px;
  }

  .hero-copy h1 {
    font-size: 2.15rem;
  }

  .panel-card,
  .info-card,
  .tutorial-card,
  .feature-card,
  .download-strip,
  .feature-board {
    border-radius: 22px;
  }
}
