/* atlasgg.com
 *
 * The rules this page follows, so a later edit can follow them rather than guess:
 *
 * 1. The palette is the dashboard's dark palette, token for token. Someone who clicks "Open
 *    dashboard" should not feel they have gone to a different company's product. This is the one
 *    place where matching an existing system beats inventing a nicer one.
 *
 * 2. Dark only, on purpose. The dashboard supports both themes because people work in it all day
 *    in whatever light they have. A landing page is a single composed surface, and committing to
 *    one lets the ember accent sit at the intensity it was picked for.
 *
 * 3. Monospace means "this is data" — the dashboard's house rule, inherited. Node names, ports,
 *    versions, player counts, commands. It never means "this is a label I want to look technical".
 *
 * 4. Section headings are left-aligned under a short gradient rule. Centring every heading over a
 *    centred paragraph is the single most recognisable shape of a generated landing page, and this
 *    audience recognises it.
 */

:root {
  /* Straight from dashboard/app.css. Do not drift these independently. */
  --ground: #0a0c10;
  --ground-2: #0d1016;
  --surface: #14171e;
  --surface-2: #1b1f28;
  --surface-3: #232833;

  --line: #262b36;
  --line-soft: #1e222b;

  --ink: #e9ecf1;
  --ink-2: #a0a9b8;
  --ink-3: #868f9f;

  /* Two heats, and they are not interchangeable. --ember is the logo: it belongs to the mark and to
     the start of the gradient. --accent is the dashboard's interactive colour and carries every
     button, link and focus ring. Keeping them apart is what stops the page turning into one orange. */
  --ember: #ef5734;
  --accent: #f0954e;
  --accent-ink: #1a0f07;
  --accent-soft: #f0954e1c;
  --accent-line: #f0954e3d;

  --ok: #3dbb84;
  --ok-soft: #3dbb841c;
  --warn: #e0a33a;
  --warn-soft: #e0a33a1c;

  /* The gradient the product itself ships: it is the default MOTD every new network gets. */
  --heat: linear-gradient(100deg, var(--ember), var(--accent));

  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 14px;
  --radius-sm: 10px;
  --radius-xs: 7px;

  --container: 1140px;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);

  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* The sticky header is 68px; without this an anchor lands with its heading underneath it. */
  scroll-padding-top: 88px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

p {
  margin: 0;
}

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

img,
svg {
  display: block;
  max-width: 100%;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

/* Visible to a screen reader and to Google, not to the eye. Used for the one heading the layout
   does not need but the document outline does. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.16s var(--ease), border-color 0.16s var(--ease),
    transform 0.16s var(--ease), box-shadow 0.16s var(--ease);
}

.btn-lg {
  height: 50px;
  padding: 0 26px;
  font-size: 16px;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 8px 24px -12px var(--ember);
}

.btn-primary:hover {
  background: #f6a768;
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.22) inset, 0 14px 30px -14px var(--ember);
}

.btn-ghost {
  background: var(--surface-2);
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--accent-line);
  background: var(--surface-3);
  transform: translateY(-1px);
}

.btn svg {
  width: 16px;
  height: 16px;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.site-header.is-stuck {
  background: rgba(10, 12, 16, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 750;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 26px;
  height: 26px;
  color: var(--ember);
  flex: none;
  /* The mark carries its own light. Small enough that a drop shadow would just look dirty. */
  filter: drop-shadow(0 0 10px rgba(239, 87, 52, 0.45));
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* :not(.btn) is load-bearing. `.nav a` outranks `.btn-primary` on specificity, so without it the
   header's primary button inherits the muted link colour and renders grey on orange — which is what
   it did until an audit measured it at 1.03:1. Scoping by what these rules are *for* keeps any
   future button variant out of the collision too. */
.nav a:not(.btn) {
  padding: 8px 13px;
  border-radius: var(--radius-xs);
  font-size: 14.5px;
  font-weight: 550;
  color: var(--ink-2);
  transition: color 0.14s, background 0.14s;
}

.nav a:not(.btn):hover {
  color: var(--ink);
  background: var(--surface-2);
}

.nav .btn {
  height: 38px;
  padding: 0 16px;
  font-size: 14.5px;
  margin-left: 8px;
}

.nav .btn:hover {
  background: #f6a768;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 84px 0 96px;
  overflow: hidden;
}

/* One wash of heat behind the headline, off to the left where the copy is, rather than a symmetric
   blob under a centred hero. It anchors the asymmetry instead of fighting it. */
.hero::before {
  content: "";
  position: absolute;
  top: -260px;
  left: -180px;
  width: 900px;
  height: 640px;
  background: radial-gradient(closest-side, rgba(239, 87, 52, 0.16), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  /* The copy column is the wider of the two. A 64px headline in an even split wraps to five lines
     and pushes the buttons below the fold; the panel loses nothing by being the narrower side. */
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
  gap: 56px;
}

.tagline {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  padding: 6px 13px 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink-2);
}

.tagline b {
  color: var(--accent);
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(38px, 4.6vw, 57px);
  font-weight: 800;
  letter-spacing: -0.038em;
  line-height: 1.05;
}

.hero h1 em {
  font-style: normal;
  background: var(--heat);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  margin-top: 20px;
  max-width: 52ch;
  font-size: clamp(16.5px, 1.5vw, 18.5px);
  color: var(--ink-2);
}

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

.hero-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--ink-3);
}

.hero-note b {
  color: var(--ink-2);
  font-weight: 600;
}

/* ---------- the network panel in the hero ---------- */

/* This is the thesis of the page: not a screenshot and not an illustration, but a small live thing
   that looks like the product because it is built the way the product is. */
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--ground-2));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 40px 80px -40px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(239, 87, 52, 0.06);
  overflow: hidden;
}

.panel-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}

.panel-bar .dot-row {
  display: flex;
  gap: 6px;
  margin-right: 4px;
}

.panel-bar .dot-row i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--surface-3);
}

.panel-title {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-2);
}

.panel-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ok);
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 var(--ok);
  animation: pulse 2.4s var(--ease) infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(61, 187, 132, 0.5);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(61, 187, 132, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(61, 187, 132, 0);
  }
}

.panel-section {
  padding: 14px 16px 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.rows {
  padding: 0 8px 8px;
}

.row {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: var(--radius-xs);
  transition: background 0.16s;
}

.row + .row {
  box-shadow: 0 -1px 0 var(--line-soft);
}

.row:hover {
  background: var(--surface-2);
}

.row .state {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
}

.row.is-starting .state {
  background: var(--warn);
  animation: blink 1.4s steps(2, end) infinite;
}

@keyframes blink {
  50% {
    opacity: 0.25;
  }
}

.row .name {
  font-family: var(--mono);
  font-size: 13.5px;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.row .kind {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-3);
}

.row .count {
  font-family: var(--mono);
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
  min-width: 46px;
  text-align: right;
}

.row.is-starting .count {
  color: var(--warn);
}

.panel-foot {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 15px 18px;
  border-top: 1px solid var(--line);
  background: var(--surface-2);
}

.panel-foot .big {
  font-family: var(--mono);
  font-size: 21px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.panel-foot .cap {
  font-size: 13.5px;
  color: var(--ink-3);
}

.panel-foot .delta {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ok);
}

/* ---------- sections ---------- */

.section {
  padding: 96px 0;
}

.section-tint {
  background: var(--ground-2);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.section-head {
  max-width: 62ch;
  margin-bottom: 52px;
}

/* The short gradient rule instead of a pill. It is the same heat as the mark, it marks the start of
   a section without adding another rounded chip to the page, and it reads at a glance in a scroll. */
.section-head::before {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  border-radius: 3px;
  background: var(--heat);
  margin-bottom: 20px;
}

.kicker {
  display: block;
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-head h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
}

.section-head p {
  margin-top: 16px;
  font-size: 17px;
  color: var(--ink-2);
}

/* ---------- features ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
}

/* A hairline grid rather than six floating rounded cards with icon tiles. It reads as a spec sheet,
   which is what this audience is actually shopping with. */
.feature {
  padding: 30px 28px;
  background: var(--ground);
  transition: background 0.18s var(--ease);
}

.section-tint .feature {
  background: var(--ground-2);
}

.feature:hover {
  background: var(--surface);
}

.feature h3 {
  font-size: 17.5px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature p {
  font-size: 14.8px;
  color: var(--ink-2);
}

.feature .tag {
  display: inline-block;
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.feature code {
  font-family: var(--mono);
  font-size: 0.92em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 1px 5px;
  border-radius: 4px;
}

/* ---------- how it works ---------- */

.steps-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.steps {
  display: grid;
  gap: 4px;
}

.step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
}

.step + .step {
  border-top: 1px solid var(--line-soft);
}

/* The rail is a real sequence marker: three steps that genuinely happen in order, on a connected
   line, rather than decorative 01/02/03 chips on unordered cards. */
.step-rail {
  position: relative;
  width: 11px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.step-rail::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  z-index: 1;
}

.step:not(:last-child) .step-rail::after {
  content: "";
  position: absolute;
  top: 16px;
  bottom: -22px;
  width: 1px;
  background: var(--line);
}

.step h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.step p {
  font-size: 15px;
  color: var(--ink-2);
}

.terminal {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ground-2);
  overflow: hidden;
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.9);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
}

.terminal-body {
  padding: 20px 18px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.85;
  color: var(--ink-2);
  white-space: pre;
  tab-size: 2;
}

.terminal-body .c {
  color: var(--ink-3);
}

.terminal-body .p {
  color: var(--ember);
  user-select: none;
}

.terminal-body .k {
  color: var(--accent);
}

.terminal-body .ok {
  color: var(--ok);
}

/* ---------- pricing ---------- */

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 860px;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.plan-featured {
  border-color: var(--accent-line);
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  box-shadow: 0 0 0 1px rgba(240, 149, 78, 0.06), 0 30px 70px -45px var(--ember);
}

.plan h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.plan .price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 14px 0 4px;
}

.plan .amount {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.plan .per {
  font-size: 14.5px;
  color: var(--ink-3);
}

.plan .sub {
  font-size: 14.5px;
  color: var(--ink-2);
  min-height: 44px;
}

.plan ul {
  display: grid;
  gap: 11px;
  margin: 22px 0 26px;
}

.plan li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.8px;
  color: var(--ink-2);
}

.plan li svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 4px;
  color: var(--accent);
}

.plan .btn {
  width: 100%;
  margin-top: auto;
}

.plan-note {
  margin-top: 22px;
  font-size: 14px;
  color: var(--ink-3);
  max-width: 62ch;
}

/* ---------- faq ---------- */

.faq {
  display: grid;
  gap: 10px;
  max-width: 800px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  transition: border-color 0.16s var(--ease);
}

.faq details[open] {
  border-color: var(--accent-line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  font-size: 15.5px;
  font-weight: 620;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.2s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(225deg) translate(-2px, -2px);
}

.faq .answer {
  padding: 0 20px 18px;
  font-size: 15px;
  color: var(--ink-2);
  max-width: 68ch;
}

.faq .answer a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- closing cta ---------- */

.cta {
  position: relative;
  overflow: hidden;
  padding: 64px 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--surface-2), var(--ground-2));
  text-align: center;
}

.cta::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto;
  height: 2px;
  background: var(--heat);
}

.cta h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 800;
}

.cta p {
  margin: 16px auto 0;
  max-width: 52ch;
  font-size: 17px;
  color: var(--ink-2);
}

.cta .hero-actions {
  justify-content: center;
  margin-top: 28px;
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 34px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-nav a {
  font-size: 14px;
  color: var(--ink-3);
  transition: color 0.14s;
}

.footer-nav a:hover {
  color: var(--ink);
}

.footer-legal {
  font-size: 13.5px;
  color: var(--ink-3);
}

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .hero-grid,
  .steps-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .hero {
    padding: 56px 0 72px;
  }

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

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px 24px 20px;
    background: rgba(10, 12, 16, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 12px 13px;
  }

  .nav .btn {
    margin: 6px 0 0;
    height: 44px;
  }
}

@media (max-width: 680px) {
  .section {
    padding: 68px 0;
  }

  .features,
  .plans {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta {
    padding: 48px 24px;
  }

  .hero-actions .btn {
    width: 100%;
  }
}
