:root {
  color-scheme: dark;
  --black: #050505;
  --black-soft: #090909;
  --panel: #0d0d0d;
  --panel-raised: #121212;
  --line: #272727;
  --line-soft: #1a1a1a;
  --white: #f4f4f1;
  --soft: #c9c9c4;
  --muted: #858580;
  --dim: #555551;
  --good: #8ef0b2;
  --warn: #f1d589;
  --bad: #ff9999;
  --radius: 16px;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Public Cloud Host website */
html {
  scroll-behavior: smooth;
}

.marketing-body {
  background: #050505;
}

.marketing-body::selection {
  background: #f3f3ef;
  color: #070707;
}

.marketing-grid {
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000 0, transparent 78%);
}

.marketing-orb {
  position: fixed;
  z-index: -2;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.55;
  pointer-events: none;
}

.orb-one {
  top: -280px;
  right: -220px;
  width: 760px;
  height: 760px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.13), transparent 66%);
  animation: marketing-float-one 13s ease-in-out infinite alternate;
}

.orb-two {
  bottom: -400px;
  left: -280px;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(150, 150, 150, 0.08), transparent 67%);
  animation: marketing-float-two 16s ease-in-out infinite alternate;
}

@keyframes marketing-float-one {
  to {
    transform: translate(-80px, 100px) scale(1.08);
  }
}

@keyframes marketing-float-two {
  to {
    transform: translate(100px, -70px) scale(0.92);
  }
}

.marketing-header,
.marketing-hero,
.capability-strip,
.marketing-section,
.final-cta,
.marketing-footer {
  width: min(1280px, calc(100% - 56px));
  margin-inline: auto;
}

.marketing-header {
  position: sticky;
  top: 14px;
  z-index: 50;
  display: grid;
  min-height: 66px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-top: 14px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 18px;
  padding: 0 14px 0 22px;
  background: rgba(8, 8, 8, 0.78);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(22px);
}

.marketing-brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 15px;
  font-weight: 820;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.marketing-brand sup {
  margin-left: 3px;
  color: #777;
  font: 7px/1 var(--mono);
}

.brand-pulse {
  position: relative;
  width: 10px;
  height: 10px;
  border: 2px solid #e8e8e3;
  border-radius: 50%;
}

.brand-pulse::after {
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: inherit;
  content: "";
  animation: brand-radar 2.5s ease-out infinite;
}

@keyframes brand-radar {
  75%,
  100% {
    opacity: 0;
    transform: scale(1.8);
  }
}

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

.marketing-nav a {
  border-radius: 10px;
  padding: 10px 14px;
  color: #777773;
  font-size: 11px;
  font-weight: 650;
  text-decoration: none;
  transition: 170ms ease;
}

.marketing-nav a:hover {
  background: #151515;
  color: var(--white);
}

.marketing-header > .marketing-login {
  justify-self: end;
}

.marketing-login,
.marketing-secondary {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 1px solid #e2e2dd;
  border-radius: 13px;
  padding: 0 18px;
  background: linear-gradient(180deg, #f8f8f5, #cfcfca);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.8),
    0 0 0 rgba(255, 255, 255, 0);
  color: #090909;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  transition: 190ms ease;
}

.marketing-login.compact {
  min-height: 40px;
  border-radius: 11px;
  padding-inline: 14px;
  font-size: 10px;
}

.discord-mark {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 7px;
  background: #111;
  color: #f5f5f2;
  font: 800 9px/1 var(--mono);
}

.marketing-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 45px rgba(255, 255, 255, 0.18);
}

.marketing-secondary {
  border-color: #333;
  background: rgba(13, 13, 13, 0.75);
  box-shadow: none;
  color: #b9b9b4;
}

.marketing-secondary:hover {
  border-color: #666;
  color: var(--white);
  transform: translateY(-2px);
}

.marketing-secondary span {
  margin-left: 6px;
  color: #666;
}

.auth-notice {
  width: min(1280px, calc(100% - 56px));
  margin: 36px auto -30px;
  border: 1px solid #3b3b3b;
  border-radius: 13px;
  padding: 14px 18px;
  background: rgba(18, 18, 18, 0.92);
  color: #bdbdb8;
  font-size: 12px;
  line-height: 1.5;
  animation: toast-in 220ms ease both;
}

.auth-notice.error {
  border-color: #5e3030;
  color: var(--bad);
}

.auth-notice.success {
  border-color: #29513a;
  color: var(--good);
}

.marketing-hero {
  --hero-x: 0;
  --hero-y: 0;
  display: grid;
  min-height: min(850px, calc(100vh - 82px));
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  align-items: center;
  gap: clamp(50px, 7vw, 110px);
  padding: 80px 0 95px;
}

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

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #5c5c58;
  font: 650 9px/1 var(--mono);
  letter-spacing: 0.12em;
}

.live-signal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #303030;
  border-radius: 999px;
  padding: 8px 11px;
  background: rgba(13, 13, 13, 0.72);
  color: #9c9c97;
  font: 650 9px/1 var(--mono);
  letter-spacing: 0.07em;
}

.live-signal i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 18px rgba(142, 240, 178, 0.55);
  animation: live-blink 1.8s ease-in-out infinite;
}

.live-signal.degraded i {
  background: var(--warn);
  box-shadow: 0 0 18px rgba(241, 213, 137, 0.45);
}

@keyframes live-blink {
  50% {
    opacity: 0.45;
    transform: scale(0.72);
  }
}

.marketing-hero h1 {
  margin: 28px 0 30px;
  max-width: 790px;
  font-size: clamp(62px, 7.3vw, 106px);
  line-height: 0.88;
  letter-spacing: -0.078em;
}

.marketing-hero h1 span,
.marketing-section-head h2 span,
.security-copy h2 span,
.final-cta h2 span {
  color: #777773;
}

.marketing-hero .hero-copy > p {
  max-width: 690px;
  margin: 0;
  color: #8c8c87;
  font-size: 15px;
  line-height: 1.78;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 38px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 27px;
  color: #62625e;
  font: 9px/1.4 var(--mono);
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-trust i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #aaa;
}

.hero-console {
  position: relative;
  z-index: 1;
  border: 1px solid #343434;
  border-radius: 24px;
  padding: 12px;
  background: rgba(8, 8, 8, 0.88);
  box-shadow:
    0 55px 120px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  transform:
    perspective(1100px)
    rotateY(calc(var(--hero-x) * 4deg))
    rotateX(calc(var(--hero-y) * -4deg))
    translate3d(calc(var(--hero-x) * 8px), calc(var(--hero-y) * 8px), 0);
  transition: transform 180ms ease-out;
}

.console-glow {
  position: absolute;
  z-index: -1;
  inset: 10% -12% -12% 15%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(80px);
}

.preview-head {
  display: grid;
  min-height: 46px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid #222;
  padding: 0 8px;
}

.preview-head > div {
  display: flex;
  gap: 5px;
}

.preview-head i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #383838;
}

.preview-head span,
.preview-head b {
  color: #5c5c58;
  font: 650 8px/1 var(--mono);
  letter-spacing: 0.12em;
}

.preview-head b {
  justify-self: end;
  color: var(--good);
}

.preview-account {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
  border: 1px solid #262626;
  border-radius: 14px;
  padding: 15px;
  background: linear-gradient(120deg, #151515, #0c0c0c);
}

.preview-avatar {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 1px solid #4a4a4a;
  border-radius: 13px;
  background: linear-gradient(145deg, #eee, #888);
  color: #090909;
  font: 850 10px/1 var(--mono);
}

.preview-account small {
  display: block;
  color: #595955;
  font: 650 7px/1.2 var(--mono);
  letter-spacing: 0.1em;
}

.preview-account strong {
  display: block;
  margin-top: 5px;
  font-size: 12px;
}

.preview-verified {
  border: 1px solid #2c4b38;
  border-radius: 999px;
  padding: 6px 8px;
  color: var(--good);
  font: 650 7px/1 var(--mono);
}

.preview-services {
  display: grid;
  gap: 6px;
}

.preview-services article {
  display: grid;
  grid-template-columns: 35px 1fr 7px;
  align-items: center;
  gap: 10px;
  border: 1px solid #202020;
  border-radius: 12px;
  padding: 10px;
  background: #0a0a0a;
  transition: 170ms ease;
}

.preview-services article:hover {
  border-color: #3c3c3c;
  transform: translateX(3px);
}

.preview-runtime {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #303030;
  border-radius: 9px;
  background: #151515;
  color: #bbb;
  font: 700 7px/1 var(--mono);
}

.preview-services strong,
.preview-services small {
  display: block;
}

.preview-services strong {
  font-size: 10px;
}

.preview-services small {
  margin-top: 4px;
  color: #555;
  font: 8px/1 var(--mono);
}

.preview-services .online {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 13px rgba(142, 240, 178, 0.4);
}

.preview-terminal {
  margin-top: 8px;
  border: 1px solid #202020;
  border-radius: 12px;
  padding: 13px;
  background: #070707;
  color: #777;
  font: 8px/2 var(--mono);
}

.preview-terminal span {
  margin-right: 10px;
  color: #3f3f3d;
}

.preview-terminal b {
  display: inline-block;
  width: 52px;
  color: #b9b9b4;
}

.preview-terminal i {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-left: 5px;
  border-radius: 50%;
  background: var(--good);
}

.capability-strip {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #232323;
  border-bottom: 1px solid #232323;
  color: #646460;
  font: 650 8px/1 var(--mono);
  letter-spacing: 0.14em;
}

.capability-strip i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #3c3c39;
}

.marketing-section {
  padding: 150px 0 30px;
  scroll-margin-top: 90px;
}

.marketing-section-head {
  display: grid;
  grid-template-columns: minmax(150px, 0.38fr) minmax(420px, 1fr) minmax(250px, 0.62fr);
  align-items: end;
  gap: 45px;
  margin-bottom: 65px;
}

.marketing-section-head > div p,
.security-label {
  margin: 11px 0 0;
  color: #5d5d59;
  font: 650 8px/1.2 var(--mono);
  letter-spacing: 0.14em;
}

.section-number {
  display: inline-grid;
  min-width: 34px;
  height: 25px;
  place-items: center;
  border: 1px solid #303030;
  color: #91918c;
  font: 650 8px/1 var(--mono);
}

.marketing-section-head h2,
.security-copy h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(48px, 5.7vw, 78px);
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.marketing-section-head > p,
.security-copy > p {
  margin: 0;
  color: #7b7b76;
  font-size: 13px;
  line-height: 1.75;
}

.service-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #262626;
  border-left: 1px solid #262626;
}

.marketing-card {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border-right: 1px solid #262626;
  border-bottom: 1px solid #262626;
  padding: 35px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 255, 255, 0.04), transparent 45%),
    #090909;
  transition: 220ms ease;
}

.marketing-card::after {
  position: absolute;
  right: -70px;
  bottom: -100px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  content: "";
  transition: 350ms ease;
}

.marketing-card:hover {
  z-index: 2;
  border-color: #545454;
  background-color: #0d0d0d;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
  transform: translateY(-5px);
}

.marketing-card:hover::after {
  border-color: rgba(255, 255, 255, 0.13);
  transform: scale(1.35);
}

.marketing-card.featured {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), transparent 55%),
    #0b0b0b;
}

.card-top {
  display: flex;
  justify-content: space-between;
  color: #595955;
  font: 650 8px/1 var(--mono);
  letter-spacing: 0.12em;
}

.card-top b {
  color: #777;
}

.marketing-card h3 {
  margin: 75px 0 20px;
  font-size: 38px;
  letter-spacing: -0.045em;
}

.marketing-card > p {
  max-width: 510px;
  color: #7b7b76;
  font-size: 12px;
  line-height: 1.75;
}

.marketing-card ul {
  display: grid;
  gap: 9px;
  margin: 26px 0 0;
  padding: 0;
  color: #a1a19c;
  font-size: 10px;
  list-style: none;
}

.marketing-card li::before {
  margin-right: 9px;
  color: #565652;
  content: "—";
}

.card-arrow {
  position: absolute;
  right: 34px;
  bottom: 31px;
  color: #777;
  font-size: 20px;
  transition: 180ms ease;
}

.marketing-card:hover .card-arrow {
  color: var(--white);
  transform: translate(4px, -4px);
}

.process-section {
  padding-bottom: 80px;
}

.process-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #2a2a2a;
}

.process-rail::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 25%;
  height: 1px;
  background: #ddd;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.45);
  content: "";
  animation: process-line 7s ease-in-out infinite alternate;
}

@keyframes process-line {
  to {
    left: 75%;
  }
}

.process-step {
  min-height: 330px;
  border-right: 1px solid #222;
  padding: 31px 26px;
}

.process-step:last-child {
  border-right: 0;
}

.process-step > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid #343434;
  color: #777;
  font: 650 8px/1 var(--mono);
}

.process-step > div {
  margin-top: 90px;
}

.process-step small {
  color: #545450;
  font: 650 8px/1 var(--mono);
  letter-spacing: 0.12em;
}

.process-step h3 {
  margin: 13px 0 14px;
  font-size: 17px;
}

.process-step p {
  margin: 0;
  color: #777773;
  font-size: 11px;
  line-height: 1.7;
}

.security-showcase {
  display: grid;
  grid-template-columns: minmax(340px, 0.78fr) minmax(520px, 1.22fr);
  gap: 90px;
  align-items: center;
  padding-bottom: 100px;
}

.security-copy h2 {
  margin: 25px 0 28px;
}

.security-copy .marketing-secondary {
  margin-top: 32px;
}

.security-stack {
  border-top: 1px solid #292929;
}

.security-stack article {
  position: relative;
  display: grid;
  min-height: 120px;
  grid-template-columns: 105px 1fr 1.15fr 35px;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid #292929;
  padding: 20px 15px;
  transition: 190ms ease;
}

.security-stack article:hover {
  background: #0d0d0d;
  padding-left: 22px;
}

.security-stack article > span,
.security-stack article > b {
  color: #555551;
  font: 650 8px/1 var(--mono);
  letter-spacing: 0.1em;
}

.security-stack article strong {
  font-size: 15px;
}

.security-stack article p {
  margin: 0;
  color: #74746f;
  font-size: 10px;
  line-height: 1.6;
}

.security-stack article > b {
  justify-self: end;
  color: #777;
}

.faq-section {
  padding-bottom: 120px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #282828;
  border-left: 1px solid #282828;
}

.faq-grid details {
  min-height: 120px;
  border-right: 1px solid #282828;
  border-bottom: 1px solid #282828;
  padding: 0 25px;
  background: rgba(8, 8, 8, 0.7);
}

.faq-grid summary {
  display: flex;
  min-height: 118px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #c2c2bd;
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
  list-style: none;
}

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

.faq-grid summary span {
  color: #666;
  font: 16px/1 var(--mono);
  transition: 180ms ease;
}

.faq-grid details[open] summary span {
  transform: rotate(45deg);
}

.faq-grid details p {
  margin: -20px 0 28px;
  max-width: 520px;
  color: #767671;
  font-size: 11px;
  line-height: 1.75;
}

.faq-grid code {
  color: #bbb;
  font-family: var(--mono);
}

.final-cta {
  display: flex;
  min-height: 430px;
  align-items: center;
  justify-content: space-between;
  gap: 55px;
  border: 1px solid #303030;
  border-radius: 24px;
  padding: clamp(35px, 6vw, 78px);
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.09), transparent 30%),
    linear-gradient(135deg, #101010, #080808);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.55);
}

.final-cta h2 {
  margin-top: 25px;
}

.marketing-footer {
  display: grid;
  min-height: 170px;
  grid-template-columns: 1fr 1.2fr auto auto;
  align-items: center;
  gap: 35px;
  margin-top: 80px;
  border-top: 1px solid #242424;
  color: #555551;
  font-size: 9px;
}

.marketing-footer p {
  margin: 0;
}

.marketing-footer > div {
  display: flex;
  gap: 17px;
}

.marketing-footer > div a {
  color: #6d6d69;
  text-decoration: none;
}

.marketing-footer > div a:hover {
  color: var(--white);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 650ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 650ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Livelier private workspace while keeping the monochrome system */
body:not(.marketing-body)::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 75% 10%, #000, transparent 68%);
  content: "";
  pointer-events: none;
}

.stat-card,
.detail-card,
.license-card,
.security-grid article,
.fact {
  transition:
    border-color 190ms ease,
    background-color 190ms ease,
    transform 190ms ease,
    box-shadow 190ms ease;
}

.stat-card:hover,
.detail-card:hover,
.license-card:hover,
.security-grid article:hover {
  z-index: 2;
  border-color: #444;
  background-color: #111;
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.4);
  transform: translateY(-3px);
}

.button.primary,
.deploy-button {
  position: relative;
  overflow: hidden;
}

.button.primary::after,
.deploy-button::after {
  position: absolute;
  top: -70%;
  left: -35%;
  width: 25%;
  height: 240%;
  background: rgba(255, 255, 255, 0.6);
  content: "";
  filter: blur(7px);
  opacity: 0;
  transform: rotate(20deg);
}

.button.primary:hover::after,
.deploy-button:hover::after {
  opacity: 0.45;
  animation: button-sheen 700ms ease;
}

@keyframes button-sheen {
  to {
    left: 125%;
  }
}

@media (max-width: 1050px) {
  .marketing-nav {
    display: none;
  }

  .marketing-header {
    grid-template-columns: 1fr auto;
  }

  .marketing-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 120px;
  }

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

  .hero-console {
    width: min(680px, 100%);
    justify-self: center;
  }

  .marketing-section-head {
    grid-template-columns: 160px 1fr;
  }

  .marketing-section-head > p {
    grid-column: 2;
  }

  .security-showcase {
    grid-template-columns: 1fr;
  }

  .security-copy {
    max-width: 750px;
  }
}

@media (max-width: 720px) {
  .marketing-header,
  .marketing-hero,
  .capability-strip,
  .marketing-section,
  .final-cta,
  .marketing-footer,
  .auth-notice {
    width: min(100% - 28px, 1280px);
  }

  .marketing-header {
    top: 8px;
    min-height: 58px;
    margin-top: 8px;
    padding: 0 9px 0 15px;
  }

  .marketing-login.compact {
    width: 42px;
    min-height: 40px;
    padding: 0;
  }

  .marketing-login.compact [data-login-label] {
    display: none;
  }

  .marketing-hero {
    gap: 65px;
    padding: 100px 0 70px;
  }

  .hero-kicker > span:last-child {
    display: none;
  }

  .marketing-hero h1 {
    font-size: clamp(52px, 16vw, 76px);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .hero-trust {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-console {
    border-radius: 17px;
  }

  .preview-account {
    grid-template-columns: 42px 1fr;
  }

  .preview-verified {
    display: none;
  }

  .capability-strip {
    gap: 24px;
    justify-content: flex-start;
    overflow: hidden;
    white-space: nowrap;
  }

  .marketing-section {
    padding-top: 105px;
  }

  .marketing-section-head {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 42px;
  }

  .marketing-section-head > p {
    grid-column: 1;
  }

  .marketing-section-head h2,
  .security-copy h2,
  .final-cta h2 {
    font-size: 50px;
  }

  .service-showcase,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .marketing-card {
    min-height: 365px;
    padding: 26px;
  }

  .marketing-card h3 {
    margin-top: 60px;
  }

  .process-rail {
    grid-template-columns: 1fr;
  }

  .process-rail::before {
    display: none;
  }

  .process-step {
    display: grid;
    min-height: auto;
    grid-template-columns: 42px 1fr;
    gap: 18px;
    border-right: 0;
    border-bottom: 1px solid #252525;
    padding: 25px 0;
  }

  .process-step > div {
    margin-top: 0;
  }

  .security-showcase {
    gap: 55px;
  }

  .security-stack article {
    min-height: 135px;
    grid-template-columns: 70px 1fr 25px;
  }

  .security-stack article p {
    grid-column: 2;
  }

  .security-stack article > b {
    grid-column: 3;
    grid-row: 1;
  }

  .final-cta {
    min-height: 420px;
    align-items: stretch;
    flex-direction: column;
    justify-content: center;
  }

  .final-cta .marketing-login {
    width: 100%;
  }

  .marketing-footer {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 45px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

* {
  box-sizing: border-box;
}

html {
  background: var(--black);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% -18%, rgba(255, 255, 255, 0.08), transparent 31rem),
    var(--black);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
}

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

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.hidden {
  display: none !important;
}

.mobile-only {
  display: none !important;
}

.eyebrow,
.section-kicker,
.nav-label {
  margin: 0;
  color: var(--dim);
  font: 650 10px/1.2 var(--mono);
  letter-spacing: 0.17em;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--white);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.wordmark-glyph {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #4a4a4a;
  border-radius: 11px;
  background: linear-gradient(145deg, #fafafa, #9d9d9d);
  box-shadow: inset 0 1px 1px #fff, 0 0 34px rgba(255, 255, 255, 0.08);
  color: #090909;
  font: 900 15px/1 var(--mono);
}

.app-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 280px minmax(0, 1fr);
}

.sidebar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  height: 100vh;
  min-height: 640px;
  flex-direction: column;
  border-right: 1px solid var(--line-soft);
  background: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(22px);
}

.sidebar-head {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  border-bottom: 1px solid var(--line-soft);
}

.primary-nav {
  padding: 25px 14px 18px;
}

.nav-label {
  padding: 0 12px 10px;
}

.nav-item {
  display: grid;
  width: 100%;
  min-height: 44px;
  grid-template-columns: 30px 1fr;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: #70706d;
  cursor: pointer;
  text-align: left;
  transition: 160ms ease;
}

.nav-item span {
  color: #4c4c49;
  font: 600 9px/1 var(--mono);
  text-align: center;
}

.nav-item strong {
  font-size: 13px;
  font-weight: 650;
}

.nav-item:hover {
  background: #0c0c0c;
  color: var(--soft);
}

.nav-item.active {
  border-color: #292929;
  background: linear-gradient(100deg, #171717, #0c0c0c);
  box-shadow: 0 10px 34px #000;
  color: var(--white);
}

.nav-item.active span {
  color: var(--white);
}

.service-explorer {
  min-height: 0;
  flex: 1;
  border-top: 1px solid var(--line-soft);
  padding: 20px 14px;
}

.explorer-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.explorer-heading span {
  min-width: 22px;
  border: 1px solid #282828;
  border-radius: 999px;
  color: #777;
  font: 600 9px/20px var(--mono);
  text-align: center;
}

.service-tree {
  display: grid;
  gap: 5px;
  margin-top: 11px;
}

.tree-service {
  display: grid;
  width: 100%;
  grid-template-columns: 30px minmax(0, 1fr) 8px;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 11px;
  padding: 9px 10px;
  background: transparent;
  color: #8a8a86;
  cursor: pointer;
  text-align: left;
  transition: 160ms ease;
}

.tree-service:hover,
.tree-service.active {
  border-color: #292929;
  background: #0e0e0e;
  color: var(--white);
}

.tree-service .tree-runtime {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 1px solid #303030;
  border-radius: 8px;
  background: #151515;
  color: #aaa;
  font: 700 8px/1 var(--mono);
}

.tree-service strong {
  display: block;
  overflow: hidden;
  font-size: 12px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tree-service small {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: #52524f;
  font: 9px/1 var(--mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-dot,
.tree-service > i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #686868;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.16);
}

.status-dot.running,
.tree-service > i.running {
  background: var(--good);
  box-shadow: 0 0 14px rgba(142, 240, 178, 0.42);
}

.status-dot.error,
.status-dot.crashed,
.tree-service > i.error,
.tree-service > i.crashed {
  background: var(--bad);
  box-shadow: 0 0 14px rgba(255, 153, 153, 0.34);
}

.tree-skeleton {
  height: 47px;
  border-radius: 10px;
  background: linear-gradient(90deg, #0a0a0a, #121212, #0a0a0a);
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
}

.tree-skeleton.short {
  width: 76%;
}

@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

.sidebar-foot {
  padding: 14px;
  border-top: 1px solid var(--line-soft);
}

.deploy-button {
  display: flex;
  width: 100%;
  height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #dbdbd7;
  border-radius: 11px;
  background: linear-gradient(180deg, #f7f7f3, #cfcfca);
  box-shadow: 0 0 0 rgba(255, 255, 255, 0);
  color: #080808;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  transition: 180ms ease;
}

.deploy-button:hover,
.button.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.identity-card {
  display: grid;
  grid-template-columns: 8px 1fr;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 10px 8px 4px;
}

.identity-card i,
.live-pill i,
.secure-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 18px rgba(142, 240, 178, 0.52);
}

.identity-card small {
  display: block;
  color: #4f4f4c;
  font: 600 8px/1 var(--mono);
  letter-spacing: 0.12em;
}

.identity-card strong {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: #8d8d88;
  font: 10px/1.2 var(--mono);
  text-overflow: ellipsis;
}

.workspace {
  min-width: 0;
  padding: 0 4vw 90px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(5, 5, 5, 0.86);
  backdrop-filter: blur(20px);
}

.topbar h1 {
  margin: 5px 0 0;
  font-size: 18px;
  letter-spacing: -0.025em;
}

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

.live-pill,
.secure-pill,
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #292929;
  border-radius: 999px;
  padding: 8px 11px;
  background: rgba(15, 15, 15, 0.7);
  color: #a2a29e;
  font: 600 10px/1 var(--mono);
}

.button,
.icon-button,
.text-button {
  appearance: none;
  border: 0;
  cursor: pointer;
}

.button {
  min-height: 38px;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 0 15px;
  font-size: 11px;
  font-weight: 750;
  transition: 170ms ease;
}

.button.primary {
  border-color: #e4e4df;
  background: linear-gradient(180deg, #fafaf7, #cecec9);
  color: #080808;
}

.button.ghost {
  background: #0d0d0d;
  color: #a4a49f;
}

.button.ghost:hover {
  border-color: #555;
  color: var(--white);
}

.button.danger {
  border-color: #4f2929;
  background: #170c0c;
  color: var(--bad);
}

.button:disabled {
  cursor: wait;
  opacity: 0.45;
  transform: none !important;
}

.icon-button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #303030;
  border-radius: 9px;
  background: #0e0e0e;
  color: #a1a19d;
  font-size: 18px;
}

.text-button {
  padding: 5px;
  background: transparent;
  color: #aaa;
  font-size: 11px;
}

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

.view {
  display: none;
  animation: view-in 220ms ease both;
}

.view.active {
  display: block;
}

@keyframes view-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

.intro-row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 8vw;
  align-items: end;
  padding: clamp(55px, 8vw, 105px) 0 62px;
}

.intro-row h2,
.page-heading h2,
.explorer-empty h2 {
  margin: 16px 0 0;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.intro-row h2 span {
  color: #777773;
}

.intro-row > p,
.page-heading > p:last-child {
  max-width: 530px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #080808;
  box-shadow: 0 28px 85px rgba(0, 0, 0, 0.42);
}

.stat-card {
  position: relative;
  min-height: 190px;
  padding: 24px;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(circle at 90% 0, rgba(255, 255, 255, 0.05), transparent 45%),
    linear-gradient(145deg, #101010, #090909);
}

.stat-card:last-child {
  border-right: 0;
}

.stat-index {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #464643;
  font: 600 9px/1 var(--mono);
}

.stat-card small {
  display: block;
  color: #666662;
  font: 650 9px/1 var(--mono);
  letter-spacing: 0.11em;
}

.stat-card strong {
  display: block;
  margin-top: 35px;
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.055em;
}

.stat-card p {
  margin: 13px 0 0;
  color: #666662;
  font-size: 11px;
  line-height: 1.5;
}

.section-block {
  margin-top: 70px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 17px;
}

.section-header h3 {
  margin: 7px 0 0;
  font-size: 25px;
  letter-spacing: -0.04em;
}

.service-table-wrap {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #090909;
}

.service-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.service-table th {
  height: 47px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  color: #565652;
  font: 650 8px/1 var(--mono);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.service-table td {
  height: 74px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line-soft);
  color: #94948f;
  font-size: 11px;
}

.service-table tr:last-child td {
  border-bottom: 0;
}

.service-table tbody tr {
  cursor: pointer;
  transition: 150ms ease;
}

.service-table tbody tr:hover {
  background: #0e0e0e;
}

.service-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.runtime-glyph {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #343434;
  border-radius: 11px;
  background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
  color: #d0d0cb;
  font: 800 9px/1 var(--mono);
}

.service-cell strong {
  display: block;
  color: var(--white);
  font-size: 12px;
}

.service-cell small {
  display: block;
  margin-top: 5px;
  color: #51514e;
  font: 9px/1 var(--mono);
}

.status-badge {
  padding: 6px 9px;
  color: #a3a39f;
  text-transform: uppercase;
}

.status-badge.running,
.status-badge.active,
.status-badge.deployed {
  border-color: #28523a;
  color: var(--good);
}

.status-badge.error,
.status-badge.crashed,
.status-badge.expired,
.status-badge.revoked {
  border-color: #542d2d;
  color: var(--bad);
}

.status-badge.stopped,
.status-badge.suspended {
  border-color: #524827;
  color: var(--warn);
}

.table-arrow {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 1px solid #2d2d2d;
  border-radius: 8px;
  color: #777;
}

.empty-state,
.explorer-empty {
  display: grid;
  min-height: 360px;
  place-items: center;
  align-content: center;
  padding: 50px;
  text-align: center;
}

.empty-state > span,
.explorer-empty > span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid #343434;
  color: #666;
  font: 600 10px/1 var(--mono);
}

.empty-state h3 {
  margin: 20px 0 4px;
}

.empty-state p,
.explorer-empty p {
  max-width: 520px;
  color: var(--muted);
  line-height: 1.7;
}

.empty-state .button {
  margin-top: 15px;
}

.explorer-empty {
  min-height: calc(100vh - 160px);
}

.explorer-empty h2 {
  margin-top: 25px;
  font-size: clamp(38px, 5vw, 64px);
}

.service-workspace {
  padding-top: 55px;
}

.service-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.service-title {
  display: flex;
  align-items: center;
  gap: 17px;
}

.service-title .runtime-glyph {
  width: 58px;
  height: 58px;
  border-radius: 15px;
  font-size: 12px;
}

.title-line {
  display: flex;
  align-items: center;
  gap: 12px;
}

.title-line h2 {
  margin: 0;
  font-size: clamp(27px, 4vw, 42px);
  letter-spacing: -0.055em;
}

.service-title p {
  margin: 8px 0 0;
  color: #62625e;
  font: 10px/1.3 var(--mono);
}

.service-controls {
  display: flex;
  gap: 8px;
}

.service-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.fact {
  min-height: 98px;
  padding: 20px;
  border-right: 1px solid var(--line);
  background: linear-gradient(145deg, #101010, #0a0a0a);
}

.fact:last-child {
  border-right: 0;
}

.fact small {
  color: #595956;
  font: 650 8px/1 var(--mono);
  letter-spacing: 0.12em;
}

.fact strong {
  display: block;
  margin-top: 13px;
  font-size: 14px;
  font-weight: 650;
}

.fact p {
  margin: 5px 0 0;
  color: #5e5e5a;
  font-size: 10px;
}

.tab-bar {
  display: flex;
  gap: 5px;
  margin-top: 42px;
  border-bottom: 1px solid var(--line);
}

.tab {
  position: relative;
  min-height: 46px;
  border: 0;
  padding: 0 15px;
  background: transparent;
  color: #696965;
  cursor: pointer;
  font-size: 11px;
  font-weight: 650;
}

.tab::after {
  position: absolute;
  right: 13px;
  bottom: -1px;
  left: 13px;
  height: 1px;
  background: transparent;
  content: "";
}

.tab:hover,
.tab.active {
  color: var(--white);
}

.tab.active::after {
  background: var(--white);
  box-shadow: 0 -2px 15px rgba(255, 255, 255, 0.45);
}

.service-tab-panel {
  display: none;
  padding-top: 26px;
  animation: view-in 180ms ease both;
}

.service-tab-panel.active {
  display: block;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.detail-card,
.deployment-panel {
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 255, 255, 0.045), transparent 46%),
    linear-gradient(145deg, #101010, #090909);
}

.detail-card.span-two {
  min-height: 190px;
  grid-column: 1 / -1;
}

.detail-card h3,
.deployment-panel h3,
.files-intro h3 {
  margin: 10px 0 22px;
  font-size: 20px;
  letter-spacing: -0.035em;
}

.detail-card dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 13px 25px;
  margin: 0;
  font-size: 11px;
}

.detail-card dt {
  color: #5c5c58;
}

.detail-card dd {
  margin: 0;
  overflow: hidden;
  color: #b5b5b0;
  font-family: var(--mono);
  text-align: right;
  text-overflow: ellipsis;
}

.meter-group {
  display: grid;
  gap: 18px;
}

.meter-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: #777773;
  font: 10px/1 var(--mono);
}

.meter {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #202020;
}

.meter i {
  display: block;
  height: 100%;
  max-width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #767676, #f4f4ef);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.25);
}

.security-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 32px;
  border-top: 1px solid var(--line);
}

.security-steps span {
  padding: 22px 15px 0;
  border-right: 1px solid var(--line-soft);
  color: #858580;
  font-size: 11px;
  line-height: 1.5;
}

.security-steps span:first-child {
  padding-left: 0;
}

.security-steps span:last-child {
  border-right: 0;
}

.security-steps b {
  display: block;
  margin-bottom: 11px;
  color: #4f4f4c;
  font: 650 9px/1 var(--mono);
}

.console-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #050505;
  box-shadow: 0 30px 80px #000;
}

.console-head,
.console-foot {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  padding: 0 17px;
  border-bottom: 1px solid var(--line);
  background: #0d0d0d;
  color: #666662;
  font: 9px/1 var(--mono);
}

.console-head > div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.console-head i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 14px rgba(142, 240, 178, 0.45);
}

.console-output {
  min-height: 420px;
  max-height: 58vh;
  margin: 0;
  overflow: auto;
  padding: 22px;
  color: #a5a5a0;
  font: 11px/1.72 var(--mono);
  white-space: pre-wrap;
  word-break: break-word;
}

.console-foot {
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.files-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.38fr) minmax(0, 0.62fr);
  gap: 12px;
}

.files-intro,
.file-browser {
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #101010, #080808);
}

.files-intro {
  padding: 27px;
}

.files-intro > p:not(.section-kicker) {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.72;
}

.manifest-stats {
  display: grid;
  gap: 10px;
  margin-top: 35px;
}

.manifest-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 13px;
  color: #6d6d69;
  font: 10px/1 var(--mono);
}

.manifest-stat strong {
  color: #bbb;
  font-weight: 600;
}

.file-browser {
  overflow: hidden;
}

.file-browser-head {
  display: flex;
  height: 49px;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  color: #aaa;
  font: 10px/1 var(--mono);
}

.file-browser-head small {
  color: #52524f;
  font-size: 8px;
  letter-spacing: 0.12em;
}

.file-tree {
  max-height: 470px;
  overflow: auto;
  padding: 14px;
  font: 10px/1.4 var(--mono);
}

.file-tree details {
  margin-left: 12px;
}

.file-tree summary {
  display: flex;
  min-height: 29px;
  align-items: center;
  gap: 8px;
  border-radius: 6px;
  padding: 0 7px;
  color: #a1a19d;
  cursor: pointer;
  list-style: none;
}

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

.file-tree summary:hover,
.file-row:hover {
  background: #141414;
}

.tree-chevron {
  display: inline-block;
  width: 8px;
  color: #51514e;
}

details[open] > summary .tree-chevron {
  transform: rotate(90deg);
}

.file-row {
  display: grid;
  min-height: 29px;
  grid-template-columns: 16px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  margin-left: 26px;
  border-radius: 6px;
  padding: 0 7px;
  color: #898985;
}

.file-kind {
  color: #5e5e5a;
  font-size: 7px;
  text-transform: uppercase;
}

.file-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-size {
  color: #4f4f4c;
}

.muted {
  color: var(--muted);
}

.deployment-panel {
  min-height: 340px;
}

.deployment-panel > p:not(.section-kicker) {
  max-width: 650px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.deployment-panel code {
  color: #ddd;
  font-family: var(--mono);
}

.deployment-panel .button {
  margin-top: 28px;
}

.page-heading {
  max-width: 760px;
  padding: clamp(60px, 8vw, 110px) 0 55px;
}

.page-heading > p:last-child {
  margin-top: 25px;
}

.license-grid,
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.license-card,
.security-grid article {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 255, 255, 0.06), transparent 48%),
    linear-gradient(145deg, #111, #090909);
}

.license-card h3,
.security-grid h3 {
  margin: 30px 0 10px;
  font-size: 19px;
  letter-spacing: -0.035em;
}

.license-card p,
.security-grid p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.license-meta {
  position: absolute;
  right: 26px;
  bottom: 24px;
  left: 26px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 15px;
  color: #62625e;
  font: 9px/1 var(--mono);
}

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

.security-grid article {
  min-height: 240px;
}

.security-grid article > span {
  color: #535350;
  font: 650 9px/1 var(--mono);
}

.security-note {
  display: grid;
  grid-template-columns: 0.35fr 0.65fr;
  gap: 50px;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: #0b0b0b;
}

.security-note p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.deploy-dialog {
  width: min(760px, calc(100% - 30px));
  max-height: calc(100vh - 30px);
  overflow: auto;
  border: 1px solid #373737;
  border-radius: 19px;
  padding: 0;
  background: #0b0b0b;
  box-shadow: 0 45px 150px #000;
  color: var(--white);
}

.deploy-dialog::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
}

.deploy-dialog form {
  padding: 28px;
}

.dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.dialog-head h2 {
  margin: 7px 0 0;
  font-size: 29px;
  letter-spacing: -0.05em;
}

.dialog-lead {
  max-width: 630px;
  margin: 22px 0 25px;
  color: #888883;
  font-size: 12px;
  line-height: 1.65;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: #858580;
  font-size: 11px;
}

input,
select {
  width: 100%;
  height: 44px;
  border: 1px solid #303030;
  border-radius: 10px;
  padding: 0 12px;
  background: #070707;
  color: var(--white);
  outline: none;
}

input:focus,
select:focus {
  border-color: #777;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.04);
}

.upload-zone {
  min-height: 145px;
  place-items: center;
  align-content: center;
  gap: 6px;
  margin-top: 15px;
  border: 1px dashed #3c3c3c;
  border-radius: 13px;
  background: #080808;
  cursor: pointer;
  text-align: center;
  transition: 160ms ease;
}

.upload-zone:hover {
  border-color: #888;
  background: #0d0d0d;
}

.upload-zone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.upload-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #373737;
  border-radius: 9px;
  color: #aaa;
  font-size: 18px;
}

.upload-zone strong {
  margin-top: 4px;
  color: var(--soft);
  font-size: 12px;
}

.upload-zone small {
  color: #595956;
  font: 9px/1.3 var(--mono);
}

.dialog-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
}

.dialog-actions p {
  margin: 0;
  color: #696965;
  font-size: 10px;
  line-height: 1.5;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  max-width: min(410px, calc(100% - 30px));
  border: 1px solid #3c3c3c;
  border-radius: 12px;
  padding: 14px 17px;
  background: rgba(18, 18, 18, 0.96);
  box-shadow: 0 25px 70px #000;
  color: var(--soft);
  font-size: 11px;
  line-height: 1.5;
  animation: toast-in 180ms ease both;
}

.toast.error {
  border-color: #512d2d;
  color: var(--bad);
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  align-content: center;
  background: #050505;
  transition: 300ms ease;
}

.loading-screen.done {
  visibility: hidden;
  opacity: 0;
}

.loading-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid #555;
  border-radius: 14px;
  background: linear-gradient(145deg, #f5f5f2, #a5a5a1);
  box-shadow: 0 0 44px rgba(255, 255, 255, 0.13);
  color: #080808;
  font: 900 16px/1 var(--mono);
  animation: loading-pulse 1.3s ease-in-out infinite;
}

.loading-screen p {
  margin-top: 18px;
  color: #5d5d59;
  font: 9px/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@keyframes loading-pulse {
  50% {
    transform: translateY(-3px);
    box-shadow: 0 0 65px rgba(255, 255, 255, 0.2);
  }
}

/* One-time access gate */
.gate-body {
  display: grid;
  min-height: 100vh;
  place-items: stretch;
  background:
    linear-gradient(90deg, transparent 49.9%, rgba(255, 255, 255, 0.025) 50%, transparent 50.1%),
    radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.09), transparent 30rem),
    #050505;
}

.access-gate {
  display: grid;
  width: min(1180px, calc(100% - 48px));
  min-height: 100vh;
  margin: 0 auto;
  grid-template-rows: 105px 1fr 85px;
}

.gate-topline,
.gate-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.gate-copy {
  display: grid;
  align-content: center;
  max-width: 900px;
  padding: 60px 0;
}

.gate-copy h1 {
  margin: 22px 0 28px;
  font-size: clamp(52px, 8vw, 104px);
  line-height: 0.91;
  letter-spacing: -0.075em;
}

.gate-copy h1 span {
  color: #777773;
}

.gate-lead {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.gate-command {
  display: grid;
  width: min(470px, 100%);
  grid-template-columns: 55px 1fr;
  align-items: center;
  margin-top: 48px;
  border: 1px solid #353535;
  border-radius: 14px;
  padding: 15px;
  background: linear-gradient(145deg, #121212, #090909);
  box-shadow: 0 25px 70px #000;
}

.gate-command > span {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 1px solid #3a3a3a;
  color: #777;
  font: 650 9px/1 var(--mono);
}

.gate-command small {
  display: block;
  color: #565652;
  font: 650 8px/1 var(--mono);
  letter-spacing: 0.11em;
}

.gate-command code {
  display: block;
  margin-top: 6px;
  color: var(--white);
  font: 650 15px/1 var(--mono);
}

.gate-footer {
  justify-content: flex-start;
  gap: 35px;
  border-top: 1px solid var(--line);
  border-bottom: 0;
  color: #555551;
  font: 9px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

  .stat-card:nth-child(2) {
    border-right: 0;
  }

  .stat-card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

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

@media (max-width: 860px) {
  .mobile-only {
    display: grid !important;
  }

  .app-shell {
    display: block;
  }

  .sidebar {
    position: fixed;
    width: min(300px, calc(100% - 35px));
    transform: translateX(-105%);
    box-shadow: 25px 0 90px #000;
    transition: 220ms ease;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .workspace {
    padding: 0 20px 70px;
  }

  .topbar {
    gap: 14px;
  }

  .topbar > div:nth-child(2) {
    flex: 1;
  }

  .topbar-actions .live-pill,
  .topbar-actions .ghost {
    display: none;
  }

  .intro-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .service-facts {
    grid-template-columns: 1fr 1fr;
  }

  .fact:nth-child(2) {
    border-right: 0;
  }

  .fact:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .detail-grid,
  .files-layout {
    grid-template-columns: 1fr;
  }

  .security-steps {
    grid-template-columns: 1fr 1fr;
  }

  .security-steps span:nth-child(2) {
    border-right: 0;
  }

  .service-table th:nth-child(3),
  .service-table td:nth-child(3),
  .service-table th:nth-child(4),
  .service-table td:nth-child(4) {
    display: none;
  }
}

@media (max-width: 620px) {
  .workspace {
    padding-right: 14px;
    padding-left: 14px;
  }

  .topbar-actions .primary {
    display: none;
  }

  .intro-row h2,
  .page-heading h2 {
    font-size: 45px;
  }

  .stat-grid,
  .license-grid,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    min-height: 155px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat-card:last-child {
    border-bottom: 0;
  }

  .service-table th:nth-child(5),
  .service-table td:nth-child(5) {
    display: none;
  }

  .service-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-controls {
    width: 100%;
  }

  .service-controls .button {
    flex: 1;
  }

  .title-line {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-facts {
    grid-template-columns: 1fr;
  }

  .fact {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .fact:last-child {
    border-bottom: 0;
  }

  .tab-bar {
    overflow-x: auto;
  }

  .tab {
    white-space: nowrap;
  }

  .security-steps {
    grid-template-columns: 1fr;
  }

  .security-steps span {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
    padding-left: 0;
  }

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

  .dialog-actions,
  .security-note {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .dialog-actions {
    flex-direction: column;
  }

  .dialog-actions .button {
    width: 100%;
  }

  .gate-topline .secure-pill {
    display: none;
  }

  .access-gate {
    width: min(100% - 28px, 1180px);
  }

  .gate-copy h1 {
    font-size: 51px;
  }

  .gate-footer {
    gap: 15px;
    overflow: hidden;
    white-space: nowrap;
  }
}

.workspace-ambient {
  position: fixed;
  z-index: -2;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.workspace-ambient i {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.045);
  filter: blur(90px);
  animation: workspace-drift 14s ease-in-out infinite alternate;
}

.workspace-ambient i:first-child {
  top: -18%;
  right: 3%;
  width: 480px;
  height: 480px;
}

.workspace-ambient i:last-child {
  bottom: -20%;
  left: 25%;
  width: 420px;
  height: 420px;
  animation-delay: -6s;
}

@keyframes workspace-drift {
  to {
    opacity: 0.45;
    transform: translate(70px, 55px) scale(1.12);
  }
}

.identity-card span {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: #4f4f4c;
  font: 8px/1.2 var(--mono);
  text-overflow: ellipsis;
}

.logout-button {
  color: #777;
  text-decoration: none;
}

.activation-card {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 0.8fr) auto;
  align-items: center;
  gap: 24px;
  margin: 0 0 24px;
  border: 1px solid #2d2d2d;
  border-radius: 16px;
  padding: 24px;
  background:
    radial-gradient(circle at 90% 0, rgba(255, 255, 255, 0.055), transparent 35%),
    #0c0c0c;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
}

.activation-card h3 {
  margin: 9px 0 8px;
  font-size: 18px;
}

.activation-card > div > p:last-child,
.activation-status {
  margin: 0;
  color: #72726e;
  font-size: 10px;
  line-height: 1.5;
}

.activation-card label span {
  display: block;
  margin-bottom: 8px;
  color: #777773;
  font: 8px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.activation-card input {
  width: 100%;
  height: 43px;
  border: 1px solid #343434;
  border-radius: 10px;
  padding: 0 13px;
  background: #080808;
  color: var(--white);
  font: 11px/1 var(--mono);
}

.activation-card input:focus {
  border-color: #777;
}

.activation-status {
  grid-column: 2 / -1;
  min-height: 15px;
  text-align: right;
}

@media (max-width: 960px) {
  .activation-card {
    grid-template-columns: 1fr;
  }

  .activation-status {
    grid-column: 1;
    text-align: left;
  }
}

@media (max-width: 620px) {
  .logout-button {
    display: none;
  }
}
