:root {
  --bg: #050a18;
  --bg-deep: #02050e;
  --surface: #091225;
  --surface-raised: #0c1830;
  --text: #e8f4f8;
  --muted: #8ba3b8;
  --cyan: #22d3ee;
  --cyan-bright: #67e8f9;
  --magenta: #d946ef;
  --green: #5eead4;
  --danger: #fb7185;
  --amber: #fbbf24;
  --line: rgba(34, 211, 238, 0.4);
  --line-soft: rgba(139, 163, 184, 0.2);
  --glow: 0 0 24px rgba(34, 211, 238, 0.25);
  --glow-strong: 0 0 36px rgba(34, 211, 238, 0.34);
  --font-heading: "Space Grotesk", "IBM Plex Sans", sans-serif;
  --font-body: "IBM Plex Sans", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --container: 1240px;
  --header-height: 58px;
  --section-space: clamp(5rem, 10vw, 9rem);
  --radius: 3px;
}

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

html {
  scroll-behavior: auto;
  scroll-padding-top: calc(var(--header-height) + 1.5rem);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip; /* avoid body becoming a scroll container (Safari scroll clamp) */
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.07) 1px, transparent 1px);
  background-size: 36px 36px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 78% 4%, rgba(217, 70, 239, 0.1), transparent 28rem),
    linear-gradient(180deg, transparent, rgba(2, 5, 14, 0.55) 80%);
  content: "";
  pointer-events: none;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-underline-offset: 0.22em;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

:focus-visible {
  outline: 2px solid var(--cyan-bright);
  outline-offset: 4px;
  box-shadow: 0 0 0 5px rgba(34, 211, 238, 0.18);
}

::selection {
  background: var(--cyan);
  color: var(--bg-deep);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  background: var(--cyan);
  color: var(--bg-deep);
  font-family: var(--font-mono);
  font-weight: 700;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: var(--section-space);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  border: 0;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  padding: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 10, 24, 0.94);
  box-shadow: 0 8px 32px rgba(2, 5, 14, 0.45);
  backdrop-filter: blur(16px);
}

.terminal-bar {
  display: grid;
  min-height: var(--header-height);
  grid-template-columns: auto 1fr auto;
  align-items: center;
  max-width: 1440px;
  margin-inline: auto;
  padding-left: 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.1rem;
  height: 2.1rem;
  place-items: center;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  box-shadow: inset 0 0 12px rgba(34, 211, 238, 0.16), var(--glow);
}

.brand-name {
  display: none;
}

.online-status {
  display: flex;
  align-items: center;
  justify-self: start;
  gap: 0.45rem;
  margin: 0 0 0 0.7rem;
  color: var(--green);
  font-size: 0.56rem;
  letter-spacing: 0.1em;
}

.status-dot {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

.nav-toggle {
  grid-column: 3;
  min-height: 2.8rem;
  padding: 0.5rem 0.75rem;
  border: 0;
  background: transparent;
  color: var(--cyan-bright);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  cursor: pointer;
}

.site-nav {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  width: 100%;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 10, 24, 0.98);
  box-shadow: var(--glow);
}

.site-nav.is-open {
  display: grid;
}

.site-nav a {
  padding: 0.9rem;
  border-bottom: 1px solid rgba(139, 163, 184, 0.14);
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--cyan-bright);
}

.header-cta {
  display: none;
  min-height: var(--header-height);
  align-items: center;
  align-self: stretch;
  padding-inline: 1.1rem;
  background: var(--cyan);
  color: #031018;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.4);
}

.header-cta:hover {
  background: var(--cyan-bright);
}

.hero {
  display: flex;
  min-height: calc(100svh - var(--header-height));
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}

.hero-grid {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.ambient-glow {
  position: absolute;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  opacity: 0.22;
  filter: blur(100px);
  pointer-events: none;
}

.ambient-glow--cyan {
  top: 8%;
  right: 10%;
  background: var(--cyan);
}

.ambient-glow--magenta {
  right: -10%;
  bottom: -8%;
  background: var(--magenta);
}

.eyebrow {
  margin: 0 0 1.2rem;
  color: var(--cyan-bright);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.4;
}

.eyebrow span {
  color: var(--magenta);
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
}

.hero h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(3rem, 10.8vw, 7.35rem);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.hero h1 span,
.hosting-header h2 span {
  color: var(--cyan);
  background: linear-gradient(110deg, var(--cyan) 8%, var(--cyan-bright) 42%, var(--magenta) 92%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lede {
  max-width: 42rem;
  margin: 1.75rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 3.4rem;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.9rem 1.2rem;
  border: 1px solid var(--cyan);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.button--primary {
  background: var(--cyan);
  color: #031018;
  box-shadow: var(--glow);
}

.button--primary:hover {
  background: var(--cyan-bright);
  box-shadow: var(--glow-strong);
}

.button--ghost {
  background: rgba(5, 10, 24, 0.6);
  color: var(--text);
}

.button--ghost:hover {
  background: rgba(34, 211, 238, 0.1);
}

.capability-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0;
  margin: 2rem 0 0;
  list-style: none;
}

.capability-list li {
  padding: 0.4rem 0.58rem;
  border: 1px solid rgba(139, 163, 184, 0.22);
  background: rgba(9, 18, 37, 0.65);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.61rem;
  letter-spacing: 0.05em;
}

.command-card,
.session-terminal {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(3, 8, 20, 0.92);
  box-shadow: var(--glow);
}

.command-card::after {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(34, 211, 238, 0.018) 4px);
  content: "";
  pointer-events: none;
}

.terminal-titlebar {
  display: grid;
  min-height: 2.75rem;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-inline: 0.85rem;
  border-bottom: 1px solid rgba(139, 163, 184, 0.2);
  background: rgba(12, 24, 48, 0.85);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-align: center;
}

.terminal-titlebar > :last-child {
  justify-self: end;
}

.traffic-lights {
  display: flex;
  gap: 0.36rem;
  justify-self: start;
}

.traffic-lights span {
  width: 0.56rem;
  height: 0.56rem;
  border-radius: 50%;
  background: var(--danger);
}

.traffic-lights span:nth-child(2) {
  background: var(--amber);
}

.traffic-lights span:nth-child(3) {
  background: var(--green);
}

.command-screen {
  min-height: 20rem;
  padding: clamp(1.25rem, 5vw, 2.4rem);
  font-family: var(--font-mono);
}

.terminal-meta {
  margin: 0 0 1rem;
  color: #647d92;
  font-size: 0.68rem;
}

.typed-command {
  min-height: 2.25rem;
  margin: 0;
  color: var(--text);
  font-size: clamp(0.8rem, 2.5vw, 1.05rem);
  white-space: nowrap;
}

.prompt {
  margin-right: 0.5rem;
  color: var(--cyan);
  text-shadow: 0 0 8px var(--cyan);
}

.cursor {
  display: inline-block;
  width: 0.55em;
  height: 1.12em;
  margin-left: 0.16em;
  background: var(--cyan);
  vertical-align: -0.18em;
}

.command-output {
  padding: 1rem 0;
  margin-top: 1rem;
  border-block: 1px solid rgba(139, 163, 184, 0.12);
}

.command-output p {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.45rem 0;
  color: #647d92;
  font-size: 0.65rem;
}

.command-output strong {
  color: var(--text);
  font-weight: 500;
}

.command-output .success {
  color: var(--green);
}

.system-meter {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 0.28rem;
  margin-top: 1.25rem;
}

.system-meter span {
  height: 0.35rem;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(34, 211, 238, 0.65);
}

.system-meter span:nth-last-child(-n + 3) {
  background: var(--magenta);
  box-shadow: 0 0 8px rgba(217, 70, 239, 0.65);
}

.command-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem;
  border-top: 1px solid rgba(139, 163, 184, 0.15);
  color: #647d92;
  font-family: var(--font-mono);
  font-size: 0.52rem;
}

.command-footer span:first-child {
  color: var(--green);
}

.command-footer i,
.status-card__header h3 span {
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.35rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 9px var(--green);
}

.section-heading {
  display: grid;
  gap: 1.5rem;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.section-title {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 5.25rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.section-title--wide {
  max-width: 18ch;
}

.section-intro {
  max-width: 39rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.8vw, 1.12rem);
}

.process-section {
  background: linear-gradient(180deg, rgba(2, 5, 14, 0.72), rgba(5, 10, 24, 0.65));
}

.session-terminal {
  max-width: 1110px;
  margin-inline: auto;
}

.session-body {
  min-height: 24rem;
  padding: clamp(1.2rem, 5vw, 3.1rem);
  font-family: var(--font-mono);
}

.session-boot {
  margin: 0 0 2rem;
  color: #647d92;
  font-size: 0.64rem;
}

.session-lines {
  padding: 0;
  margin: 0;
  list-style: none;
}

.session-lines li {
  display: grid;
  min-height: 4.4rem;
  grid-template-columns: 1.6rem 1.2rem 1fr auto;
  gap: 0.45rem;
  align-items: center;
  border-bottom: 1px solid rgba(139, 163, 184, 0.12);
  font-size: clamp(0.72rem, 2.4vw, 1rem);
}

.line-number {
  color: #455a70;
  font-size: 0.54rem;
}

.session-prompt {
  color: var(--cyan);
  font-weight: 700;
  text-shadow: 0 0 8px var(--cyan);
}

.session-check {
  color: var(--green);
  opacity: 1;
  text-shadow: 0 0 9px var(--green);
}

.session-ready {
  margin: 2rem 0 0;
  color: var(--green);
  font-size: 0.68rem;
}

.hosting-section {
  overflow: hidden;
  border-block: 1px solid var(--line-soft);
  background: rgba(2, 5, 14, 0.86);
}

.hosting-glow {
  position: absolute;
  top: 35%;
  left: 50%;
  width: 55rem;
  height: 24rem;
  background: radial-gradient(ellipse, rgba(34, 211, 238, 0.18), rgba(217, 70, 239, 0.08) 50%, transparent 72%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hosting-header {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
  justify-items: center;
  margin-bottom: 3rem;
  text-align: center;
}

.hosting-header .section-intro {
  margin-inline: auto;
}

.server-diagram-card {
  position: relative;
  overflow-x: auto;
  padding: clamp(0.75rem, 2.5vw, 1.5rem);
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(34, 211, 238, 0.025), rgba(217, 70, 239, 0.03)),
    rgba(3, 8, 20, 0.94);
  box-shadow: var(--glow-strong);
}

.server-diagram {
  width: 100%;
  min-height: 16rem;
}

.diagram-grid path {
  fill: none;
  stroke: rgba(34, 211, 238, 0.05);
  stroke-width: 1;
}

.connector-line {
  fill: none;
  stroke: url("#connectorGradient");
  stroke-dasharray: 8 10;
  stroke-width: 2;
}

.connector-pulse {
  fill: var(--cyan-bright);
  filter: url("#softGlow");
}

.connector-pulse--two {
  fill: var(--magenta);
}

.diagram-node rect {
  fill: rgba(9, 18, 37, 0.95);
  stroke: rgba(34, 211, 238, 0.65);
  stroke-width: 1.5;
}

.diagram-node--two rect {
  fill: rgba(12, 24, 48, 0.98);
  stroke: url("#connectorGradient");
  stroke-width: 2;
}

.diagram-node text {
  fill: var(--text);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
}

.diagram-node .node-meta {
  fill: var(--muted);
  font-size: 9px;
  font-weight: 400;
}

.node-icon,
.cloud-icon,
.cloud-lines {
  fill: none;
  stroke: var(--cyan);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.cloud-icon {
  fill: rgba(34, 211, 238, 0.06);
  filter: url("#softGlow");
}

.cloud-lines {
  stroke: var(--magenta);
  stroke-width: 2;
}

.diagram-node .price-zero {
  fill: var(--cyan-bright);
  font-family: var(--font-heading);
  font-size: 72px;
  font-weight: 700;
  letter-spacing: -5px;
  filter: url("#softGlow");
}

.hosting-benefits {
  display: grid;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(139, 163, 184, 0.16);
  list-style: none;
}

.hosting-benefits li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  padding: 1rem 0.5rem;
  border-bottom: 1px solid rgba(139, 163, 184, 0.12);
}

.hosting-benefits li > span {
  color: var(--magenta);
  font-family: var(--font-mono);
  font-size: 0.65rem;
}

.hosting-benefits strong,
.hosting-benefits small {
  display: block;
}

.hosting-benefits strong {
  margin-bottom: 0.2rem;
  font-family: var(--font-heading);
  font-size: 0.92rem;
}

.hosting-benefits small {
  color: var(--muted);
  font-size: 0.76rem;
}

.work-section {
  background: linear-gradient(180deg, rgba(5, 10, 24, 0.7), rgba(2, 5, 14, 0.7));
}

.work-tabs {
  border: 1px solid var(--line-soft);
  background: rgba(3, 8, 20, 0.9);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.tab-list {
  display: flex;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  scrollbar-width: thin;
}

.tab-list button {
  flex: 1 0 auto;
  min-width: 9rem;
  padding: 1rem;
  border: 0;
  border-right: 1px solid var(--line-soft);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  cursor: pointer;
}

.tab-list button:hover {
  color: var(--text);
}

.tab-list button[aria-selected="true"] {
  background: rgba(34, 211, 238, 0.1);
  color: var(--cyan-bright);
  box-shadow: inset 0 -2px var(--cyan), 0 0 18px rgba(34, 211, 238, 0.1);
}

.work-panel {
  display: grid;
}

.work-panel[hidden] {
  display: none;
}

.site-preview {
  display: grid;
  min-height: 23rem;
  place-items: center;
  overflow: hidden;
  padding: clamp(1rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 75% 30%, rgba(34, 211, 238, 0.14), transparent 40%),
    #060d1b;
}

.preview-browser {
  width: min(100%, 37rem);
  border: 1px solid rgba(103, 232, 249, 0.42);
  background: #0a1324;
  box-shadow: 1rem 1rem 0 rgba(217, 70, 239, 0.08), var(--glow);
  transform: perspective(900px) rotateY(-4deg) rotateX(1deg);
}

.preview-bar {
  display: flex;
  height: 1.65rem;
  align-items: center;
  gap: 0.3rem;
  padding-inline: 0.55rem;
  border-bottom: 1px solid rgba(139, 163, 184, 0.18);
  font-family: var(--font-mono);
  font-size: 0.43rem;
}

.preview-bar i {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--danger);
}

.preview-bar i:nth-child(2) {
  background: var(--amber);
}

.preview-bar i:nth-child(3) {
  background: var(--green);
}

.preview-bar span {
  margin-left: auto;
  color: #647d92;
}

.preview-page {
  position: relative;
  min-height: 17rem;
  padding: 1.2rem;
  overflow: hidden;
}

.preview-logo {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 700;
}

.preview-nav {
  position: absolute;
  top: 1.4rem;
  right: 1.2rem;
  width: 4rem;
  height: 0.2rem;
  background: linear-gradient(90deg, var(--muted) 0 18%, transparent 18% 28%, var(--muted) 28% 54%, transparent 54% 64%, var(--muted) 64%);
  opacity: 0.65;
}

.preview-page > strong {
  position: absolute;
  z-index: 2;
  top: 34%;
  left: 1.2rem;
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 6vw, 2.5rem);
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.preview-copy {
  position: absolute;
  top: 64%;
  left: 1.2rem;
  width: 29%;
  height: 1.35rem;
  background: repeating-linear-gradient(180deg, var(--muted) 0 2px, transparent 2px 7px);
  opacity: 0.5;
}

.preview-button {
  position: absolute;
  top: 78%;
  left: 1.2rem;
  width: 4.5rem;
  height: 1.1rem;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.4);
}

.preview-chart {
  position: absolute;
  right: 7%;
  bottom: 12%;
  display: flex;
  width: 42%;
  height: 58%;
  align-items: end;
  gap: 6%;
  border-left: 1px solid rgba(139, 163, 184, 0.18);
  border-bottom: 1px solid rgba(139, 163, 184, 0.18);
}

.preview-chart i {
  width: 15%;
  height: 30%;
  background: linear-gradient(180deg, var(--magenta), rgba(217, 70, 239, 0.1));
}

.preview-chart i:nth-child(2) { height: 43%; }
.preview-chart i:nth-child(3) { height: 62%; }
.preview-chart i:nth-child(4) { height: 74%; }
.preview-chart i:nth-child(5) { height: 92%; background: linear-gradient(180deg, var(--cyan), rgba(34, 211, 238, 0.1)); }

.site-preview--vertex {
  background: radial-gradient(circle at 70% 30%, rgba(251, 191, 36, 0.12), transparent 45%), #0e0d0b;
}

.site-preview--vertex .preview-browser {
  border-color: rgba(251, 191, 36, 0.45);
  background: #171410;
  box-shadow: 1rem 1rem 0 rgba(251, 191, 36, 0.06), 0 0 24px rgba(251, 191, 36, 0.16);
}

.site-preview--vertex .preview-logo,
.site-preview--vertex .preview-page > strong {
  color: #fde68a;
}

.site-preview--vertex .preview-button {
  background: #fbbf24;
}

.preview-building {
  position: absolute;
  right: 7%;
  bottom: 0;
  display: flex;
  width: 44%;
  height: 78%;
  align-items: end;
  gap: 4%;
}

.preview-building i {
  width: 31%;
  height: 65%;
  border: 1px solid rgba(253, 230, 138, 0.5);
  background: repeating-linear-gradient(180deg, rgba(253, 230, 138, 0.09) 0 10px, transparent 10px 14px);
}

.preview-building i:nth-child(2) { height: 100%; }
.preview-building i:nth-child(3) { height: 82%; }

.site-preview--luma {
  background: radial-gradient(circle at 70% 35%, rgba(167, 139, 250, 0.18), transparent 45%), #0b0b20;
}

.site-preview--luma .preview-browser {
  border-color: rgba(196, 181, 253, 0.5);
  background: #11102a;
  box-shadow: 1rem 1rem 0 rgba(167, 139, 250, 0.08), 0 0 24px rgba(167, 139, 250, 0.2);
}

.site-preview--luma .preview-logo {
  color: #c4b5fd;
}

.site-preview--luma .preview-button {
  background: #a78bfa;
}

.preview-orbit {
  position: absolute;
  right: 5%;
  bottom: 8%;
  width: 48%;
  aspect-ratio: 1;
  border: 1px solid rgba(196, 181, 253, 0.55);
  border-radius: 50%;
  box-shadow: inset 0 0 45px rgba(167, 139, 250, 0.12), 0 0 25px rgba(167, 139, 250, 0.1);
}

.preview-orbit::before,
.preview-orbit::after {
  position: absolute;
  border: 1px solid rgba(196, 181, 253, 0.32);
  border-radius: 50%;
  content: "";
}

.preview-orbit::before { inset: 17%; }
.preview-orbit::after { inset: 37%; background: #c4b5fd; box-shadow: 0 0 22px #a78bfa; }

.project-copy {
  padding: clamp(1.5rem, 6vw, 3.75rem);
}

.project-code {
  margin: 0 0 0.75rem;
  color: var(--magenta);
  font-family: var(--font-mono);
  font-size: 0.64rem;
}

.project-copy h3 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.5rem);
  letter-spacing: -0.05em;
  line-height: 1;
}

.project-copy > p:not(.project-code) {
  max-width: 35rem;
  margin: 1.2rem 0;
  color: var(--muted);
}

.project-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-block: 1rem;
  margin: 1.4rem 0;
  border-block: 1px solid var(--line-soft);
}

.project-stats div {
  min-width: 0;
  padding-right: 0.4rem;
}

.project-stats dt {
  color: var(--cyan-bright);
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 5vw, 1.65rem);
  font-weight: 700;
}

.project-stats dd {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.52rem;
}

.project-copy > a {
  color: var(--cyan-bright);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
}

.pricing-section {
  border-block: 1px solid var(--line-soft);
  background: rgba(2, 5, 14, 0.78);
}

.spec-table-wrap {
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(3, 8, 20, 0.94);
  box-shadow: var(--glow);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.spec-table th,
.spec-table td {
  display: block;
  padding: 0.45rem 1rem;
  text-align: left;
}

.spec-table thead {
  display: none;
}

.spec-table tbody tr {
  display: block;
  padding-block: 0.8rem;
  border-bottom: 1px solid var(--line-soft);
}

.spec-table tbody tr:hover {
  background: rgba(34, 211, 238, 0.08);
  box-shadow: inset 3px 0 var(--cyan), 0 0 25px rgba(34, 211, 238, 0.1);
}

.spec-table tbody th {
  color: var(--text);
  font-weight: 500;
}

.spec-table tbody th span {
  display: inline-block;
  min-width: 4.6rem;
  color: var(--cyan);
}

.spec-table tbody td:nth-child(2) {
  color: var(--muted);
}

.spec-table tbody td:last-child {
  color: var(--cyan-bright);
  font-size: 0.86rem;
  font-weight: 700;
}

.spec-table em {
  display: inline-block;
  padding: 0.12rem 0.34rem;
  margin-left: 0.35rem;
  background: var(--magenta);
  color: #17031c;
  font-size: 0.5rem;
  font-style: normal;
  font-weight: 700;
}

.spec-footer {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1rem;
  background: rgba(12, 24, 48, 0.7);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.61rem;
}

.spec-footer a {
  color: var(--cyan);
  font-weight: 700;
}

.faq-grid {
  display: grid;
  gap: 3rem;
}

.faq-grid .section-intro {
  margin-top: 1.5rem;
}

.accordion {
  border-top: 1px solid var(--line);
}

.accordion-item {
  border-bottom: 1px solid var(--line-soft);
}

.accordion-item h3 {
  margin: 0;
}

.accordion-item button {
  display: flex;
  width: 100%;
  min-height: 4.8rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: clamp(0.75rem, 2vw, 0.9rem);
  text-align: left;
  cursor: pointer;
}

.accordion-item button:hover {
  color: var(--cyan-bright);
}

.accordion-item i {
  margin-right: 0.65rem;
  color: var(--magenta);
  font-size: 0.58rem;
  font-style: normal;
}

.accordion-item b {
  position: relative;
  flex: 0 0 1rem;
  width: 1rem;
  height: 1rem;
}

.accordion-item b::before,
.accordion-item b::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.75rem;
  height: 1px;
  background: var(--cyan);
  content: "";
  transform: translate(-50%, -50%);
}

.accordion-item b::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.accordion-item button[aria-expanded="true"] b::after {
  transform: translate(-50%, -50%) rotate(0);
}

.accordion-panel {
  padding: 0 1rem 1.35rem 2.3rem;
}

.accordion-panel[hidden] {
  display: none;
}

.accordion-panel p {
  max-width: 43rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-section {
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 10% 70%, rgba(217, 70, 239, 0.08), transparent 30rem),
    rgba(2, 5, 14, 0.88);
}

.contact-grid {
  display: grid;
  gap: 3rem;
}

.contact-copy > .section-intro {
  margin-top: 1.5rem;
}

.status-card {
  max-width: 34rem;
  margin-top: 2.25rem;
  border: 1px solid var(--line);
  background: rgba(5, 10, 24, 0.75);
  box-shadow: var(--glow);
}

.status-card__header {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(12, 24, 48, 0.65);
  font-family: var(--font-mono);
}

.status-card__header h3,
.status-card__header strong {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.58rem;
}

.status-card__header strong {
  color: var(--green);
}

.status-card dl {
  margin: 0;
  padding: 0.6rem 1rem;
  font-family: var(--font-mono);
}

.status-card dl div {
  display: grid;
  gap: 0.35rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(139, 163, 184, 0.1);
}

.status-card dl div:last-child {
  border-bottom: 0;
}

.status-card dt {
  color: #647d92;
  font-size: 0.53rem;
}

.status-card dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 0.65rem;
}

.contact-form {
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(5, 10, 24, 0.92);
  box-shadow: var(--glow-strong);
}

.form-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(12, 24, 48, 0.72);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.55rem;
}

.form-header span:last-child {
  color: var(--green);
}

.form-body {
  display: grid;
  gap: 1.1rem;
  padding: clamp(1rem, 5vw, 2.3rem);
}

.field-row {
  display: grid;
  gap: 1.1rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field label {
  color: var(--cyan-bright);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 600;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(139, 163, 184, 0.28);
  border-radius: 0;
  background: rgba(2, 5, 14, 0.72);
  color: var(--text);
  font-size: 0.9rem;
}

.field input,
.field select {
  min-height: 3.2rem;
  padding: 0.7rem 0.8rem;
}

.field textarea {
  min-height: 9rem;
  padding: 0.8rem;
  resize: vertical;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: rgba(34, 211, 238, 0.65);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--cyan);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.16), var(--glow);
}

.field textarea::placeholder {
  color: #647d92;
}

.form-submit {
  width: 100%;
  margin-top: 0.25rem;
}

.form-status {
  min-height: 1.5em;
  margin: 0;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 0.66rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-block: 1.5rem;
  color: #647d92;
  font-family: var(--font-mono);
  font-size: 0.55rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.footer-inner a:hover {
  color: var(--cyan);
}

@media (min-width: 520px) {
  .brand-name {
    display: inline;
  }

  .hero-actions {
    flex-direction: row;
  }

  .hosting-benefits {
    grid-template-columns: repeat(3, 1fr);
  }

  .hosting-benefits li {
    border-right: 1px solid rgba(139, 163, 184, 0.12);
    border-bottom: 0;
  }

  .hosting-benefits li:last-child {
    border-right: 0;
  }

  .spec-footer,
  .status-card__header,
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .status-card dl div {
    grid-template-columns: 5.3rem 1fr;
    align-items: center;
  }

  .field-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 519px) {
  .server-diagram {
    width: 42rem;
    max-width: none;
  }
}

@media (min-width: 760px) {
  .terminal-bar {
    grid-template-columns: auto auto 1fr auto;
    gap: 1.35rem;
  }

  .online-status {
    justify-self: auto;
    margin-left: 0;
    font-size: 0.66rem;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    width: auto;
    justify-content: flex-end;
    gap: 0.2rem;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-nav a {
    padding: 0.6rem 0.42rem;
    border: 0;
  }

  .header-cta {
    display: flex;
  }

  .section-heading {
    grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
    align-items: end;
  }

  .work-panel {
    grid-template-columns: minmax(0, 1.22fr) minmax(20rem, 0.78fr);
  }

  .site-preview {
    min-height: 34rem;
    border-right: 1px solid var(--line-soft);
    border-bottom: 0;
  }

  .preview-page {
    min-height: 23rem;
  }

  .spec-table {
    font-size: 0.72rem;
  }

  .spec-table th,
  .spec-table td {
    display: table-cell;
    padding: 1.25rem 1rem;
  }

  .spec-table thead {
    display: table-header-group;
  }

  .spec-table thead tr {
    border-bottom: 1px solid var(--line);
    background: rgba(12, 24, 48, 0.75);
    color: #647d92;
    font-size: 0.57rem;
    letter-spacing: 0.08em;
  }

  .spec-table thead th:last-child,
  .spec-table tbody td:last-child {
    text-align: right;
  }

  .spec-table tbody tr {
    display: table-row;
    padding: 0;
  }

  .spec-table tbody th {
    width: 38%;
  }

  .spec-table tbody td:nth-child(2) {
    width: 42%;
  }

  .faq-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(26rem, 1.2fr);
    gap: clamp(3rem, 8vw, 7rem);
  }
}

@media (min-width: 980px) {
  .terminal-bar {
    padding-left: 1.5rem;
    font-size: 0.75rem;
  }

  .site-nav {
    gap: 0.9rem;
  }

  .site-nav a {
    padding-inline: 0.55rem;
  }

  .header-cta {
    padding-inline: 1.65rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.14fr) minmax(27rem, 0.86fr);
    gap: clamp(3rem, 7vw, 7rem);
  }

  .command-card {
    transform: translateY(1.5rem);
  }

  .session-lines li {
    min-height: 5.5rem;
    grid-template-columns: 2.5rem 1.5rem 1fr auto;
  }

  .hosting-benefits li {
    padding: 1.4rem 1.25rem;
  }
}

@media (min-width: 1380px) {
  .terminal-bar {
    padding-left: 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .spec-table tbody tr {
    transition: background-color 160ms ease, box-shadow 160ms ease;
  }

  .status-dot,
  .command-footer i,
  .status-card__header h3 span {
    animation: status-pulse 2s ease-in-out infinite;
  }

  .cursor {
    animation: cursor-blink 0.8s steps(1) infinite;
  }

  .system-meter span {
    animation: meter-breathe 2.4s ease-in-out infinite alternate;
    animation-delay: calc(var(--meter-index, 0) * 90ms);
  }

  .system-meter span:nth-child(2) { --meter-index: 1; }
  .system-meter span:nth-child(3) { --meter-index: 2; }
  .system-meter span:nth-child(4) { --meter-index: 3; }
  .system-meter span:nth-child(5) { --meter-index: 4; }
  .system-meter span:nth-child(6) { --meter-index: 5; }
  .system-meter span:nth-child(7) { --meter-index: 6; }
  .system-meter span:nth-child(8) { --meter-index: 7; }
  .system-meter span:nth-child(9) { --meter-index: 8; }
  .system-meter span:nth-child(10) { --meter-index: 9; }

  .connector-pulse--one {
    animation: pulse-path-one 2.6s linear infinite;
  }

  .connector-pulse--two {
    animation: pulse-path-two 2.6s linear infinite 0.7s;
  }

  .motion-ready .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
      opacity 650ms ease calc(var(--reveal-delay, 0) * 100ms),
      transform 650ms cubic-bezier(0.22, 1, 0.36, 1) calc(var(--reveal-delay, 0) * 100ms);
  }

  .motion-ready .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .motion-ready [data-process-line] .session-check {
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 250ms ease, transform 250ms ease;
  }

  .motion-ready [data-process-line].is-complete .session-check {
    opacity: 1;
    transform: scale(1);
  }

  @keyframes status-pulse {
    0%,
    100% { opacity: 0.55; box-shadow: 0 0 5px currentColor; }
    50% { opacity: 1; box-shadow: 0 0 14px currentColor; }
  }

  @keyframes cursor-blink {
    0%,
    48% { opacity: 1; }
    49%,
    100% { opacity: 0; }
  }

  @keyframes meter-breathe {
    from { opacity: 0.3; transform: scaleY(0.65); }
    to { opacity: 1; transform: scaleY(1); }
  }

  @keyframes pulse-path-one {
    0% { transform: translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateX(164px); opacity: 0; }
  }

  @keyframes pulse-path-two {
    0% { transform: translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateX(164px); opacity: 0; }
  }
}

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

/* Standard: back-to-top button with scroll-progress ring */
.btt-button {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 900;
  width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(17, 17, 17, 0.85); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  display: grid; place-items: center;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.btt-button.btt-visible { opacity: 1; visibility: visible; transform: none; }
.btt-button:focus-visible { outline: 3px solid #22d3ee; outline-offset: 3px; }
.btt-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.btt-ring circle { fill: none; stroke-width: 3; }
.btt-ring-track { stroke: rgba(255, 255, 255, 0.22); }
.btt-ring-fill { stroke: #22d3ee; stroke-dasharray: 125.66; stroke-dashoffset: 125.66; stroke-linecap: round; }
.btt-arrow { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: reduce) { .btt-button { transition: none; } }
