:root {
  --bg: #181825;
  --bg-elevated: rgba(24, 24, 37, 0.28);
  --bg-soft: rgba(40, 42, 54, 0.32);
  --line: rgba(205, 214, 244, 0.08);
  --line-strong: rgba(189, 147, 249, 0.22);
  --text: #cdd6f4;
  --muted: #bac2de;
  --lavender: #b4befe;
  --mauve: #cba6f7;
  --blue: #89b4fa;
  --pink: #f5c2e7;
  --peach: #fab387;
  --green: #50fa7b;
  --gold: #f9e2af;
  --rose: #f38ba8;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --max: 920px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, rgba(189, 147, 249, 0.08), transparent 30%),
    radial-gradient(circle at bottom right, rgba(139, 233, 253, 0.05), transparent 24%),
    linear-gradient(180deg, #10131c 0%, var(--bg) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(249, 226, 175, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(249, 226, 175, 0.12) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: 0.9;
}

.shell {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.shell-tight {
  padding: 6rem 0 5rem;
}

.hero-card,
.services-card {
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-xl);
  box-shadow: none;
  backdrop-filter: none;
}

.hero-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: center;
  padding: 1.55rem 1.7rem 1.45rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: none;
}

.hero-copy {
  width: min(100%, 680px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.sigil {
  width: 136px;
  height: 136px;
  filter:
    drop-shadow(0 0 32px rgba(249, 226, 175, 0.3))
    drop-shadow(0 0 16px rgba(250, 179, 135, 0.2));
}

.sigil-ring {
  fill: rgba(24, 24, 37, 0.7);
  stroke: url(#lockGlow);
  stroke-width: 3;
}

.sigil-body {
  fill: rgba(17, 17, 27, 0.86);
  stroke: rgba(203, 166, 247, 0.6);
  stroke-width: 2.5;
}

.sigil-line {
  fill: none;
  stroke: url(#lockGlow);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.sigil-core {
  fill: var(--peach);
}

.denied-sigil {
  filter:
    drop-shadow(0 0 32px rgba(243, 139, 168, 0.3))
    drop-shadow(0 0 16px rgba(250, 179, 135, 0.2));
}

.denied-ring {
  stroke: url(#denyGlow);
}

.denied-body {
  stroke: rgba(243, 139, 168, 0.58);
}

.denied-line {
  stroke: url(#denyGlow);
}

.hero-title {
  margin: 0;
  width: 100%;
  font-size: clamp(1.9rem, 4.6vw, 3.7rem);
  line-height: 0.98;
  letter-spacing: 0.18em;
  font-weight: 800;
  text-shadow: 0 0 18px rgba(189, 147, 249, 0.12);
  text-align: center;
}

.hero-subtitle {
  display: inline-flex;
  gap: 0.9rem;
  align-items: flex-start;
  margin: 0.35rem 0 0;
  width: min(100%, 620px);
  padding: 0.82rem 0.95rem;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(17, 17, 27, 0.8), rgba(24, 24, 37, 0.72));
  border: 1px solid rgba(80, 250, 123, 0.12);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(248, 248, 242, 0.03);
}

.prompt-mark {
  color: var(--green);
  font-family: "IBM Plex Mono", "Consolas", monospace;
  font-weight: 700;
  line-height: 1.4;
}

.prompt-warn {
  color: var(--peach);
}

.prompt-copy {
  display: block;
}

.services-card {
  margin-top: 1rem;
  padding: 1.15rem;
  background: transparent;
}

.section-label {
  margin: 0 0 1rem;
  color: var(--lavender);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.82rem;
  font-weight: 700;
}

.service-links {
  display: grid;
  gap: 0.75rem;
}

.service-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(205, 214, 244, 0.06);
  background: rgba(24, 24, 37, 0.28);
  backdrop-filter: blur(8px);
  color: var(--text);
  text-decoration: none;
  transition:
    transform 140ms ease,
    border-color 140ms ease,
    background 140ms ease,
    box-shadow 140ms ease;
}

.static-link {
  cursor: default;
}

.static-link:hover,
.static-link:focus-visible {
  transform: none;
  box-shadow: none;
}

.service-link:hover,
.service-link:focus-visible {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  background: rgba(49, 50, 68, 0.46);
  box-shadow: inset 0 0 0 1px rgba(139, 233, 253, 0.06);
  outline: none;
}

.service-host {
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #f8f8f2;
}

.service-note {
  color: var(--blue);
  font-size: 0.95rem;
  white-space: nowrap;
}

.denied-page {
  background:
    radial-gradient(circle at top, rgba(243, 139, 168, 0.12), transparent 32%),
    radial-gradient(circle at bottom right, rgba(250, 179, 135, 0.1), transparent 26%),
    linear-gradient(180deg, #11111b 0%, #181825 100%);
}

.denied-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(243, 139, 168, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 139, 168, 0.12) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: 0.92;
}

@media (max-width: 760px) {
  .shell-tight {
    padding: 2rem 0 3rem;
  }

  .hero-card {
    padding: 1.5rem;
  }

  .sigil {
    width: 116px;
    height: 116px;
  }

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

  .service-note {
    white-space: normal;
  }

  .hero-subtitle {
    gap: 0.65rem;
    padding: 0.82rem;
    width: 100%;
  }
}
