:root {
  --bg: #070b12;
  --panel: rgba(11, 18, 29, 0.78);
  --panel-strong: rgba(15, 24, 38, 0.94);
  --ink: #f5fbff;
  --muted: #9eb3c7;
  --line: rgba(147, 226, 255, 0.18);
  --blue: #19a7ff;
  --cyan: #5ee7ff;
  --teal: #12e6b8;
  --lime: #a8ff3e;
  --violet: #8e67ff;
  --danger: #ff5e9d;
  --shadow: 0 30px 110px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 16%, rgba(25, 167, 255, 0.34), transparent 25rem),
    radial-gradient(circle at 78% 18%, rgba(18, 230, 184, 0.22), transparent 27rem),
    linear-gradient(145deg, #05070d 0%, #0a101b 45%, #061315 100%);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(rgba(94, 231, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 231, 255, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 78%);
  content: "";
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0 42%, rgba(168, 255, 62, 0.08) 42% 43%, transparent 43% 100%);
  content: "";
}

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

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

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

.mesh-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.72;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  min-height: 76px;
  padding: 0.75rem clamp(1rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 8, 15, 0.72);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  font-weight: 900;
}

.brand img {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(94, 231, 255, 0.35);
  border-radius: 8px;
  object-fit: cover;
  object-position: top center;
  box-shadow: 0 0 30px rgba(25, 167, 255, 0.25);
}

.brand span {
  white-space: nowrap;
}

.app-nav {
  display: flex;
  justify-content: center;
  gap: clamp(0.8rem, 2vw, 1.6rem);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 800;
}

.app-nav a {
  position: relative;
  padding: 0.45rem 0;
}

.app-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--lime));
  content: "";
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity 160ms ease, transform 160ms ease;
}

.app-nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.wallet-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid rgba(94, 231, 255, 0.34);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
}

.wallet-button {
  gap: 0.6rem;
  padding: 0 1rem;
  background: rgba(94, 231, 255, 0.08);
  box-shadow: inset 0 0 24px rgba(94, 231, 255, 0.08);
}

.wallet-dot {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 99px;
  background: var(--lime);
  box-shadow: 0 0 18px var(--lime);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  align-items: start;
  gap: clamp(2rem, 4vw, 4rem);
  min-height: calc(100vh - 76px);
  padding: clamp(5.5rem, 8vw, 7.5rem) clamp(1rem, 4vw, 3.5rem) clamp(2rem, 4vw, 3rem);
}

.hero-copy {
  max-width: 820px;
}

.status-chip,
.section-kicker,
.console-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.status-chip {
  margin-bottom: 1.2rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(168, 255, 62, 0.22);
  border-radius: 8px;
  background: rgba(168, 255, 62, 0.07);
}

.status-chip span,
.console-status span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 99px;
  background: currentColor;
  box-shadow: 0 0 18px currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 13ch;
  margin-bottom: 1.25rem;
  font-size: clamp(2.9rem, 5.55vw, 5.2rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  max-width: 13ch;
  margin-bottom: 0;
  font-size: clamp(2.2rem, 4.7vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.2rem;
  line-height: 1.18;
}

.hero-copy p,
.section-top p,
.brief-panel p {
  max-width: 64ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 2rem 0 1.35rem;
}

.button {
  padding: 0.85rem 1.1rem;
}

.button.primary {
  color: #041017;
  background: linear-gradient(135deg, var(--cyan), var(--lime));
  box-shadow: 0 22px 50px rgba(94, 231, 255, 0.18);
}

.button.ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
}

.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.signal-row span {
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #c6d8e6;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.86rem;
  font-weight: 900;
}

.hero-showcase {
  min-height: clamp(430px, 52vw, 640px);
}

.showcase-window {
  overflow: hidden;
  border: 1px solid rgba(94, 231, 255, 0.26);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(25, 167, 255, 0.1), rgba(18, 230, 184, 0.05)),
    rgba(7, 13, 22, 0.8);
  box-shadow: var(--shadow), inset 0 0 80px rgba(94, 231, 255, 0.08);
}

.showcase-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 50px;
  padding: 0 1rem;
  border-bottom: 1px solid rgba(94, 231, 255, 0.16);
  background: rgba(255, 255, 255, 0.055);
}

.showcase-bar span {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 99px;
  background: var(--cyan);
}

.showcase-bar span:nth-child(2) {
  background: var(--lime);
}

.showcase-bar span:nth-child(3) {
  background: var(--violet);
}

.showcase-bar strong {
  margin-left: 0.5rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.showcase-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 1.5rem);
}

.showcase-site,
.showcase-panel,
.showcase-metrics div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.showcase-site {
  min-height: 360px;
  padding: 1rem;
  background:
    linear-gradient(135deg, rgba(25, 167, 255, 0.18), rgba(18, 230, 184, 0.08)),
    rgba(255, 255, 255, 0.045);
}

.site-top {
  height: 38px;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(5, 8, 15, 0.56);
}

.site-hero {
  width: 82%;
  height: 145px;
  margin-bottom: 1rem;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0 28%, transparent 28% 35%, rgba(255, 255, 255, 0.52) 35%),
    rgba(255, 255, 255, 0.13);
}

.site-line {
  width: 60%;
  height: 14px;
  margin-bottom: 0.7rem;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.62);
}

.site-line.wide {
  width: 78%;
}

.site-buttons {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.3rem;
}

.site-buttons i {
  width: 118px;
  height: 42px;
  border-radius: 8px;
  background: var(--lime);
}

.site-buttons i:last-child {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
}

.showcase-panel {
  padding: 1rem;
}

.showcase-panel span,
.showcase-metrics span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.showcase-panel strong {
  display: block;
  margin: 1rem 0 0.6rem;
  color: var(--lime);
  font-size: 2.6rem;
  line-height: 1;
}

.showcase-panel p {
  color: var(--muted);
  line-height: 1.55;
}

.showcase-metrics {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.showcase-metrics div {
  min-height: 96px;
  padding: 1rem;
}

.showcase-metrics strong {
  display: block;
  margin-top: 0.45rem;
  font-size: 1.65rem;
}

.orbital-shell {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(430px, 52vw, 680px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(25, 167, 255, 0.09), rgba(18, 230, 184, 0.04)),
    rgba(7, 13, 22, 0.64);
  box-shadow: var(--shadow), inset 0 0 80px rgba(94, 231, 255, 0.08);
  overflow: hidden;
}

.orbital-shell::before,
.orbital-shell::after {
  position: absolute;
  inset: 9%;
  border: 1px solid rgba(94, 231, 255, 0.18);
  content: "";
  transform: rotate(8deg);
}

.orbital-shell::after {
  inset: 20%;
  border-color: rgba(168, 255, 62, 0.24);
  transform: rotate(-18deg);
}

.frame-core {
  position: relative;
  z-index: 4;
  display: grid;
  place-items: center;
  width: min(48vw, 310px);
  aspect-ratio: 1;
  border: 1px solid rgba(94, 231, 255, 0.34);
  border-radius: 8px;
  background: rgba(4, 10, 18, 0.72);
  box-shadow: 0 0 70px rgba(25, 167, 255, 0.23), inset 0 0 60px rgba(18, 230, 184, 0.08);
  transform: perspective(900px) rotateX(58deg) rotateZ(-34deg);
}

.frame-core img {
  width: 42%;
  border-radius: 8px;
  transform: rotateZ(34deg) rotateX(-58deg);
}

.frame-core span {
  position: absolute;
  bottom: 18%;
  left: 50%;
  width: max-content;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 900;
  transform: translateX(-50%) rotateZ(34deg) rotateX(-58deg);
}

.orbit {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 1px solid rgba(94, 231, 255, 0.34);
  border-radius: 999px;
  animation: spin 14s linear infinite;
}

.orbit span {
  display: grid;
  place-items: center;
  min-width: 60px;
  min-height: 36px;
  border: 1px solid rgba(168, 255, 62, 0.32);
  border-radius: 8px;
  color: var(--lime);
  background: rgba(5, 8, 15, 0.86);
  font-size: 0.8rem;
  font-weight: 900;
  transform: translateY(-50%);
}

.orbit-one {
  width: 70%;
  aspect-ratio: 1;
}

.orbit-two {
  width: 52%;
  aspect-ratio: 1;
  animation-duration: 19s;
  animation-direction: reverse;
}

.orbit-three {
  width: 86%;
  aspect-ratio: 1;
  animation-duration: 25s;
}

.node {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 99px;
  background: var(--cyan);
  box-shadow: 0 0 30px var(--cyan);
}

.n1 {
  top: 21%;
  left: 20%;
}

.n2 {
  top: 18%;
  right: 18%;
  background: var(--lime);
  box-shadow: 0 0 30px var(--lime);
}

.n3 {
  right: 15%;
  bottom: 22%;
}

.n4 {
  bottom: 17%;
  left: 24%;
  background: var(--teal);
  box-shadow: 0 0 30px var(--teal);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.ticker {
  border-block: 1px solid var(--line);
  background: rgba(5, 8, 15, 0.46);
  overflow: hidden;
}

.ticker div {
  display: flex;
  width: max-content;
  gap: 0.8rem;
  padding: 1rem 0;
  animation: ticker 26s linear infinite;
}

.ticker span {
  min-width: max-content;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #dcecf5;
  background: rgba(255, 255, 255, 0.04);
  font-weight: 900;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.section {
  padding: clamp(3.8rem, 7vw, 6.5rem) clamp(1rem, 4vw, 3.5rem);
}

.section-top {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.72fr);
  align-items: end;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin: 0 0 clamp(1.5rem, 4vw, 2.5rem);
}

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

.stack-card {
  position: relative;
  min-height: 310px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.stack-card::before {
  position: absolute;
  inset: -1px;
  background: linear-gradient(150deg, rgba(94, 231, 255, 0.22), transparent 48%, rgba(168, 255, 62, 0.18));
  content: "";
  opacity: 0;
  transition: opacity 180ms ease;
}

.stack-card > * {
  position: relative;
  z-index: 1;
}

.stack-card span {
  display: inline-flex;
  margin-bottom: 4.8rem;
  color: var(--lime);
  font-weight: 900;
}

.stack-card p,
.proof-panel p {
  color: var(--muted);
  line-height: 1.62;
}

.stack-card:hover,
.stack-card.active {
  border-color: rgba(94, 231, 255, 0.55);
  background: var(--panel-strong);
  transform: translateY(-6px);
}

.stack-card:hover::before,
.stack-card.active::before {
  opacity: 1;
}

.command {
  padding-inline: clamp(0.75rem, 3vw, 2rem);
}

.console {
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid rgba(94, 231, 255, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(25, 167, 255, 0.1), transparent 36%),
    rgba(4, 8, 15, 0.82);
  box-shadow: var(--shadow), inset 0 0 80px rgba(94, 231, 255, 0.05);
}

.console-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.console-status {
  min-width: max-content;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(168, 255, 62, 0.22);
  border-radius: 8px;
  background: rgba(168, 255, 62, 0.07);
}

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

.metric-card,
.pipeline-card,
.feed-card,
.proof-panel,
.brief-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.24);
}

.metric-card {
  grid-column: span 3;
  min-height: 180px;
  padding: 1rem;
}

.metric-card span,
.metric-card small {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.metric-card strong {
  display: block;
  margin: 1.25rem 0 0.25rem;
  color: var(--cyan);
  font-size: clamp(3rem, 7vw, 5.4rem);
  line-height: 0.9;
}

.pipeline-card {
  grid-column: span 5;
  display: grid;
  gap: 1.05rem;
  padding: 1rem;
}

.pipeline-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: center;
  gap: 1rem;
  color: #d9edf7;
  font-size: 0.9rem;
  font-weight: 900;
}

.pipeline-row div {
  height: 12px;
  border: 1px solid rgba(94, 231, 255, 0.22);
  border-radius: 99px;
  background: rgba(94, 231, 255, 0.08);
  overflow: hidden;
}

.pipeline-row i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--teal), var(--lime));
}

.feed-card {
  grid-column: span 7;
  padding: 1rem;
}

.feed-card ul {
  display: grid;
  gap: 0.8rem;
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}

.feed-card li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  padding: 0.75rem;
  border: 1px solid rgba(94, 231, 255, 0.13);
  border-radius: 8px;
  color: #dcebf4;
  background: rgba(255, 255, 255, 0.035);
}

.feed-card li span {
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: var(--teal);
  box-shadow: 0 0 18px var(--teal);
}

.portfolio {
  background:
    linear-gradient(180deg, rgba(25, 167, 255, 0.04), rgba(18, 230, 184, 0.06)),
    rgba(4, 8, 15, 0.3);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

.portfolio-card {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 20px 72px rgba(0, 0, 0, 0.28);
}

.portfolio-card.featured {
  grid-row: span 2;
}

.site-window {
  overflow: hidden;
  min-height: 360px;
  border: 1px solid rgba(94, 231, 255, 0.22);
  border-radius: 8px;
  background: rgba(5, 8, 15, 0.72);
}

.site-window.compact {
  min-height: 220px;
}

.site-window-bar {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  min-height: 40px;
  padding: 0 0.8rem;
  border-bottom: 1px solid rgba(94, 231, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
}

.site-window-bar span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 99px;
  background: var(--cyan);
}

.site-window-bar span:nth-child(2) {
  background: var(--lime);
}

.site-window-bar span:nth-child(3) {
  background: var(--violet);
}

.site-preview {
  position: relative;
  min-height: calc(100% - 40px);
  padding: 1rem;
  overflow: hidden;
}

.portfolio-shot {
  width: 100%;
  height: calc(100% - 40px);
  min-height: 320px;
  object-fit: cover;
  object-position: top center;
}

.compact .portfolio-shot {
  min-height: 220px;
  height: 220px;
}

.portfolio-fallback {
  display: grid;
  align-content: end;
  min-height: 360px;
  padding: 1.4rem;
  background:
    linear-gradient(135deg, rgba(25, 167, 255, 0.28), rgba(18, 230, 184, 0.12)),
    radial-gradient(circle at 78% 20%, rgba(168, 255, 62, 0.24), transparent 18rem),
    #07111d;
}

.portfolio-fallback strong {
  max-width: 10ch;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 0.95;
}

.portfolio-fallback span {
  margin-top: 1rem;
  color: var(--lime);
  font-weight: 900;
  text-transform: uppercase;
}

.site-preview::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  content: "";
  opacity: 0.5;
}

.home-service {
  background: linear-gradient(135deg, rgba(25, 167, 255, 0.32), rgba(18, 230, 184, 0.18));
}

.wellness {
  background: linear-gradient(135deg, rgba(142, 103, 255, 0.34), rgba(94, 231, 255, 0.16));
}

.trades {
  background: linear-gradient(135deg, rgba(168, 255, 62, 0.22), rgba(25, 167, 255, 0.18));
}

.lawncare {
  background: linear-gradient(135deg, rgba(18, 230, 120, 0.24), rgba(168, 255, 62, 0.16));
}

.beauty {
  background: linear-gradient(135deg, rgba(255, 94, 157, 0.24), rgba(142, 103, 255, 0.2));
}

.blueprint {
  background: linear-gradient(135deg, rgba(94, 231, 255, 0.22), rgba(25, 167, 255, 0.28));
}

.preview-nav,
.preview-hero,
.preview-lines,
.preview-grid {
  position: relative;
  z-index: 1;
}

.preview-nav {
  width: 100%;
  height: 34px;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(5, 8, 15, 0.58);
}

.preview-hero {
  width: min(78%, 560px);
  height: 132px;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0 24%, transparent 24% 30%, rgba(255, 255, 255, 0.55) 30% 100%),
    rgba(255, 255, 255, 0.14);
}

.compact .preview-hero {
  height: 84px;
}

.preview-lines {
  display: grid;
  gap: 0.7rem;
  width: 72%;
}

.preview-lines i {
  display: block;
  height: 13px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.7);
}

.preview-lines i:nth-child(2) {
  width: 72%;
}

.preview-lines i:nth-child(3) {
  width: 45%;
  background: var(--lime);
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}

.preview-grid::before,
.preview-grid::after,
.preview-grid {
  min-height: 58px;
}

.preview-grid::before,
.preview-grid::after {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  content: "";
}

.preview-grid {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.portfolio-copy span {
  display: inline-flex;
  margin-bottom: 0.65rem;
  color: var(--lime);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.portfolio-copy p {
  color: var(--muted);
  line-height: 1.65;
}

.portfolio-copy a {
  display: inline-flex;
  margin-top: 0.35rem;
  color: var(--cyan);
  font-weight: 900;
}

.proof-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-auto-rows: minmax(190px, auto);
  gap: 1rem;
}

.proof-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 210px;
  padding: 1.25rem;
  overflow: hidden;
}

.proof-panel::after {
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(94, 231, 255, 0.22);
  border-radius: 999px;
  content: "";
}

.proof-panel.large {
  grid-row: span 2;
  min-height: 420px;
  background:
    linear-gradient(135deg, rgba(142, 103, 255, 0.18), transparent 48%),
    linear-gradient(315deg, rgba(18, 230, 184, 0.16), transparent 42%),
    rgba(255, 255, 255, 0.045);
}

.proof-panel span {
  color: var(--lime);
  font-weight: 900;
}

.proof-panel h3 {
  max-width: 18ch;
  margin-bottom: 0;
  font-size: clamp(1.45rem, 3vw, 2.6rem);
}

.brief-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1rem, 3vw, 2rem);
  background:
    linear-gradient(135deg, rgba(25, 167, 255, 0.14), transparent 42%),
    rgba(8, 14, 24, 0.84);
}

.brief-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.brief-form label {
  display: grid;
  gap: 0.45rem;
  color: #d7e9f2;
  font-size: 0.9rem;
  font-weight: 900;
}

.brief-form .full {
  grid-column: 1 / -1;
}

.brief-form input,
.brief-form select,
.brief-form textarea {
  width: 100%;
  border: 1px solid rgba(94, 231, 255, 0.2);
  border-radius: 8px;
  padding: 0.9rem;
  color: #07111d;
  background: rgba(246, 253, 255, 0.94);
  outline: none;
}

.brief-form input::placeholder,
.brief-form textarea::placeholder {
  color: #647587;
}

.brief-form button:disabled {
  cursor: default;
  opacity: 0.78;
}

.brief-form input:focus,
.brief-form select:focus,
.brief-form textarea:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 4px rgba(168, 255, 62, 0.14);
}

.app-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem clamp(1rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: rgba(5, 8, 15, 0.9);
}

.app-footer span:first-child {
  color: var(--ink);
  font-weight: 900;
}

@media (max-width: 1100px) {
  .stack-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .portfolio-card.featured {
    grid-row: auto;
  }

  .stack-card {
    min-height: 240px;
  }
}

@media (max-width: 940px) {
  .app-header {
    grid-template-columns: 1fr auto;
  }

  .app-nav {
    display: none;
  }

  .hero,
  .section-top,
  .brief-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    max-width: 12ch;
  }

  .metric-card,
  .pipeline-card,
  .feed-card {
    grid-column: span 12;
  }
}

@media (max-width: 680px) {
  .app-header {
    min-height: 68px;
  }

  .brand span {
    display: none;
  }

  .wallet-button {
    min-height: 40px;
    padding-inline: 0.8rem;
  }

  .hero {
    padding-top: 2.5rem;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.8rem, 14vw, 4rem);
  }

  h2 {
    max-width: 100%;
  }

  .orbital-shell {
    min-height: 390px;
  }

  .hero-showcase {
    min-height: auto;
  }

  .showcase-body,
  .showcase-metrics {
    grid-template-columns: 1fr;
  }

  .showcase-site {
    min-height: 280px;
  }

  .site-hero {
    width: 100%;
    height: 110px;
  }

  .frame-core {
    width: min(68vw, 260px);
  }

  .stack-grid,
  .portfolio-grid,
  .proof-grid,
  .brief-form {
    grid-template-columns: 1fr;
  }

  .proof-panel.large {
    min-height: 280px;
  }

  .console-header,
  .app-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .pipeline-row {
    grid-template-columns: 76px 1fr;
  }
}

@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;
  }
}
