
* {
  box-sizing: border-box;
}

:root {
  --bg: #07090f;
  --panel: rgba(13, 17, 26, 0.72);
  --panel-border: rgba(255, 255, 255, 0.1);
  --text: #eef2ff;
  --muted: #b5bfd6;
  --community: #28c2ff;
  --pro: #e5e7eb;
  --enterprise: #f7c458;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);

  --bg-1: #090b12;
  --bg-2: #131722;
  --steel-1: #181c26;
  --steel-2: #232936;
  --steel-3: #0b0f17;
  --line: rgba(255, 255, 255, 0.08);
  --steel-text: #eef3fb;
  --steel-muted: #c2cad7;
}

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(53, 74, 125, 0.24), transparent 38%),
    linear-gradient(180deg, #0a0d14 0%, #05070b 100%);
}

.desktop-site {
  display: none;
}

.mobile-site {
  display: block;
}

/* Desktop / larger tablet version */
.site-shell {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3rem 0 4rem;
}

.hero {
  text-align: center;
  padding: 1rem 0 2.5rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: #9fb0d3;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 4rem);
  line-height: 1.05;
  font-weight: 800;
}

.hero h1 span {
  display: inline-block;
  color: white;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.1);
}

.status {
  margin: 1rem 0 0;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 700;
}

.subcopy {
  width: min(760px, 100%);
  margin: 1rem auto 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
}

.edition-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.edition-card,
.note-panel {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.edition-card {
  display: flex;
  flex-direction: column;
}

.card-image {
  aspect-ratio: 3 / 4;
  background-image: linear-gradient(to bottom, rgba(0,0,0,0.08), rgba(0,0,0,0.14)), url('assets/ara-editions.png');
  background-size: 300% auto;
  background-repeat: no-repeat;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.community .card-image {
  background-position: left center;
}

.pro .card-image {
  background-position: center center;
}

.enterprise .card-image {
  background-position: right center;
}

.card-copy {
  padding: 1.25rem 1.25rem 1.5rem;
}

.card-copy h2 {
  margin: 0 0 0.65rem;
  font-size: 1.55rem;
  font-weight: 800;
}

.community h2 { color: var(--community); }
.pro h2 { color: var(--pro); }
.enterprise h2 { color: var(--enterprise); }

.card-copy p,
.note-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.construction-note {
  margin-top: 1.25rem;
}

.note-panel {
  padding: 1.2rem 1.35rem;
  text-align: center;
}

.note-label {
  margin: 0 0 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: #9fb0d3;
}

/* Mobile steel-wall version */
.steel-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: var(--steel-text);
  background:
    linear-gradient(90deg,
      rgba(255,255,255,0.04) 0%,
      rgba(255,255,255,0.01) 12%,
      rgba(0,0,0,0.14) 18%,
      rgba(255,255,255,0.035) 34%,
      rgba(0,0,0,0.18) 50%,
      rgba(255,255,255,0.035) 66%,
      rgba(0,0,0,0.16) 82%,
      rgba(255,255,255,0.02) 100%
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent calc(33.333% - 1px),
      rgba(255,255,255,0.045) calc(33.333% - 1px),
      rgba(0,0,0,0.3) calc(33.333% + 1px),
      transparent calc(33.333% + 2px),
      transparent 33.333%
    ),
    radial-gradient(circle at center, rgba(255,255,255,0.045), transparent 52%),
    linear-gradient(180deg, var(--steel-2), var(--steel-1) 34%, var(--steel-3) 100%);
}

.steel-shell::before,
.steel-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.steel-shell::before {
  background:
    radial-gradient(circle at 16% 16%, rgba(255,255,255,0.08), transparent 14%),
    radial-gradient(circle at 50% 14%, rgba(255,255,255,0.05), transparent 16%),
    radial-gradient(circle at 84% 15%, rgba(255,255,255,0.06), transparent 14%),
    radial-gradient(circle at 18% 76%, rgba(255,255,255,0.035), transparent 14%),
    radial-gradient(circle at 78% 72%, rgba(255,255,255,0.03), transparent 16%);
  opacity: 0.65;
}

.steel-shell::after {
  background-image:
    radial-gradient(rgba(255,255,255,0.06) 0.7px, transparent 0.7px);
  background-size: 14px 14px;
  opacity: 0.09;
}

.mobile-hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto auto;
  align-content: center;
  gap: 1rem;
  padding: 3.25rem 1rem 3.25rem;
}

.mobile-logo-panel {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  display: block;
  width: min(100%, 760px);
  height: auto;
  filter:
    drop-shadow(0 10px 22px rgba(0, 0, 0, 0.48))
    drop-shadow(0 0 24px rgba(255, 215, 100, 0.05));
}

.mobile-message-panel {
  width: min(100%, 660px);
  margin: 0 auto;
  text-align: center;
  padding: 0.9rem 0.5rem 0;
}

.mobile-eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #d5a63d;
}

.mobile-title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.9rem, 8vw, 2.7rem);
  line-height: 1.06;
  font-weight: 800;
  text-wrap: balance;
}

.mobile-title span {
  color: #ffffff;
  text-shadow: 0 0 18px rgba(255, 219, 109, 0.12);
}

.mobile-lead {
  margin: 0;
  font-size: clamp(1.02rem, 4.2vw, 1.2rem);
  line-height: 1.5;
  font-weight: 700;
  color: #f4f7fd;
}

.bolt-row {
  position: absolute;
  left: 0;
  width: 100%;
  height: 22px;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, #9ea8b6 0, #4f5662 33%, #121720 58%, transparent 60%);
  background-size: 84px 22px;
  background-position: center;
  background-repeat: repeat-x;
  opacity: 0.72;
  mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}

.bolt-row-top { top: 14px; }
.bolt-row-bottom { bottom: 14px; }

@media (max-width: 980px) {
  .edition-grid {
    grid-template-columns: 1fr;
  }

  .card-image {
    aspect-ratio: 16 / 9;
  }

  .community .card-image { background-position: left 16% center; }
  .pro .card-image { background-position: center center; }
  .enterprise .card-image { background-position: right 84% center; }
}

@media (min-width: 821px) and (min-height: 700px) and (hover: hover) and (pointer: fine) {
  .desktop-site {
    display: block;
  }

  .mobile-site {
    display: none;
  }

  body {
    background:
      radial-gradient(circle at top, rgba(53, 74, 125, 0.24), transparent 38%),
      linear-gradient(180deg, #0a0d14 0%, #05070b 100%);
  }
}

@media (hover: none) and (pointer: coarse) {
  body {
    background:
      radial-gradient(circle at top center, rgba(255, 255, 255, 0.06), transparent 26%),
      linear-gradient(180deg, #06080d 0%, var(--bg-1) 25%, var(--bg-2) 100%);
  }
}

@media (max-width: 400px) {
  .mobile-hero {
    padding-left: 0.7rem;
    padding-right: 0.7rem;
  }

  .mobile-eyebrow {
    letter-spacing: 0.14em;
  }

  .bolt-row {
    background-size: 68px 20px;
    height: 20px;
    opacity: 0.64;
  }
}
