:root {
  --bg: #07111f;
  --bg-soft: #0c1830;
  --card: rgba(255, 255, 255, 0.08);
  --card-border: rgba(255, 255, 255, 0.14);
  --text: #f7fbff;
  --muted: #bfd2ea;
  --accent: #74c0ff;
  --accent-2: #8b5cf6;
  --success: #22c55e;
  --danger: #ef4444;
  --glow: 0 20px 60px rgba(116, 192, 255, 0.16);
  --radius: 24px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background-color: #07101d;
  background:
    radial-gradient(circle at 15% 20%, rgba(116, 192, 255, 0.2), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(139, 92, 246, 0.18), transparent 24%),
    radial-gradient(circle at 50% 80%, rgba(34, 197, 94, 0.08), transparent 20%),
    linear-gradient(180deg, #08111f 0%, #091426 45%, #07101d 100%);
  min-height: 100vh;
}

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

button,
input,
textarea {
  font: inherit;
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  background: rgba(7, 17, 31, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 52px;
  width: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(116, 192, 255, 0.95), rgba(139, 92, 246, 0.9));
  display: grid;
  place-items: center;
  color: white;
  box-shadow: var(--glow);
}

.site-header {
  position: relative;
}

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

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

.invite-page {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.2), transparent 32%),
    radial-gradient(circle at bottom center, rgba(16, 185, 129, 0.14), transparent 30%),
    linear-gradient(135deg, #04101f 0%, #07162b 45%, #0b1230 100%);
  color: #ffffff;
}

.invite-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px 24px;
}

.invite-card {
  width: 100%;
  max-width: 720px;
  padding: 48px 40px;
  border-radius: 28px;

  background: linear-gradient(
    145deg,
    rgba(18, 30, 60, 0.85),
    rgba(9, 18, 38, 0.85)
  );

  border: 1px solid rgba(255, 255, 255, 0.12);

  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(116, 192, 255, 0.08);

  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);

  text-align: center;
}

.invite-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(88, 101, 242, 0.16);
  border: 1px solid rgba(88, 101, 242, 0.35);
  color: #dbe7ff;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.invite-card h1 {
  margin: 0 0 14px;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.invite-card p {
  margin: 0 auto;
  max-width: 580px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

.invite-actions {
  margin-top: 28px;
}

.invite-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 16px 28px;
  border-radius: 16px;

  background: linear-gradient(135deg, #5865f2, #7c8cff);
  color: white;

  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;

  box-shadow:
    0 12px 40px rgba(88, 101, 242, 0.45);

  transition: all 0.2s ease;
}

.invite-button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 18px 50px rgba(88, 101, 242, 0.6);
}

.invite-note {
  margin-top: 22px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.66);
}

.invite-note a {
  color: #c9d4ff;
  text-decoration: none;
}

.invite-wrapper {
  position: relative;
}

.invite-wrapper::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(116, 192, 255, 0.18), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(40px);
  z-index: 0;
}

.invite-card {
  position: relative;
  z-index: 1;
}

.invite-note a:hover {
  text-decoration: underline;
}

.small-hero {
  padding: 80px 0 40px;
}

.partner-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 16px;
}

.partner-card p {
  margin: 8px 0;
}

.callout-section {
  padding: 40px 0 80px;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

.nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  will-change: transform, opacity;
}

.nav a,
.button,
.resource-link,
.footer-links a {
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
}

.nav a:hover,
.nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.hero {
  padding: 80px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.hero-panel,
.visual-panel {
  width: 100%;
}

.visual-panel {
  padding: 22px;
  display: flex;
  align-items: stretch;
}

.hero-panel,
.visual-panel,
.section-card,
.resource-card,
.contact-card,
.legal-card,
.form-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--glow);
}

.hero-panel {
  padding: 38px;
  position: relative;
  overflow: hidden;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #d9edff;
  background: rgba(116, 192, 255, 0.12);
  border: 1px solid rgba(116, 192, 255, 0.24);
  font-size: 0.9rem;
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.9rem);
  line-height: 0.95;
  margin: 0;
  letter-spacing: -0.04em;
}

.hero-title {
  max-width: 10ch;
}

.rotating-line {
  display: block;
  margin-top: 10px;
  line-height: 1.1;
  min-height: 1.2em;
}

.word-rotator {
  position: relative;
  display: inline-block;
  min-width: 7ch;
  height: 1.2em;
  vertical-align: top;
  color: var(--accent);
}

.word-rotator span {
  position: absolute;
  inset: 0 auto auto 0;
  opacity: 0;
  transform: translateY(16px);
  animation: rotateWords 9s infinite;
  white-space: nowrap;
}

.word-rotator span:nth-child(1) { animation-delay: 0s; }
.word-rotator span:nth-child(2) { animation-delay: 3s; }
.word-rotator span:nth-child(3) { animation-delay: 6s; }

@keyframes rotateWords {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }
  8%, 28% {
    opacity: 1;
    transform: translateY(0);
  }
  36%, 100% {
    opacity: 0;
    transform: translateY(-16px);
  }
}

.hero-copy {
  max-width: 58ch;
  margin: 18px 0 28px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
}

.button.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--text);
}

.button:hover,
.button:focus-visible,
.resource-link:hover,
.resource-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
}

.button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.mini-stat {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mini-stat strong {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.mini-stat span {
  color: var(--muted);
  font-size: 0.94rem;
}

.visual-panel {
  padding: 22px;
  display: flex;
  align-items: stretch;
}

.constellation {
  min-height: 520px;
  width: 100%;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 20%, rgba(116, 192, 255, 0.25), transparent 30%),
    radial-gradient(circle at 30% 80%, rgba(139, 92, 246, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.orbit.one {
  width: 340px;
  height: 340px;
}

.orbit.two {
  width: 220px;
  height: 220px;
}

.node {
  position: absolute;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(9, 18, 34, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #eef7ff;
  font-size: 0.92rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  white-space: nowrap;
}

.node.main {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, rgba(116, 192, 255, 0.18), rgba(139, 92, 246, 0.18));
  font-weight: 800;
  z-index: 2;
}

.node.top {
  left: 50%;
  top: calc(50% - 170px);
  transform: translate(-50%, -50%);
}

.node.right {
  left: calc(50% + 170px);
  top: 50%;
  transform: translate(-50%, -50%);
}

.node.bottom {
  left: 50%;
  top: calc(50% + 170px);
  transform: translate(-50%, -50%);
}

.node.left {
  left: calc(50% - 170px);
  top: 50%;
  transform: translate(-50%, -50%);
}

section {
  padding: 26px 0;
}

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

.section-header h2,
.page-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin: 0 0 8px;
}

.section-header p,
.page-subtitle {
  margin: 0;
  color: var(--muted);
  max-width: 62ch;
  line-height: 1.7;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.resource-card {
  padding: 20px;
}

.resource-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(116, 192, 255, 0.2), rgba(139, 92, 246, 0.16));
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 1.2rem;
}

.resource-card h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.resource-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
}

.resource-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 700;
}

.section-card,
.contact-card,
.legal-card,
.form-card {
  padding: 26px;
}

.pathway-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pathway-step {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pathway-step strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1rem;
}

.pathway-step p,
.legal-card p,
.legal-card li,
.contact-card p,
.form-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.page-section {
  padding: 80px 0 40px;
}

.legal-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.legal-card ul {
  padding-left: 18px;
  margin: 14px 0 0;
}

.form-grid {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

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

label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-radius: 16px;
  padding: 14px 16px;
  outline: none;
}

input::placeholder,
textarea::placeholder {
  color: rgba(191, 210, 234, 0.7);
}

input:focus,
textarea:focus {
  border-color: rgba(116, 192, 255, 0.7);
  box-shadow: 0 0 0 3px rgba(116, 192, 255, 0.12);
}

textarea {
  min-height: 160px;
  resize: vertical;
}

.form-message {
  display: none;
  margin-top: 0;
  margin-bottom: 6px;
  padding: 14px 16px;
  border-radius: 16px;
  line-height: 1.6;
  font-weight: 600;
}

.form-message.success,
.form-message.error,
.form-message.info {
  display: block;
}

.form-message.success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.28);
  color: #d9ffe6;
}

.form-message.error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.28);
  color: #ffdede;
}

.form-message.info {
  background: rgba(116, 192, 255, 0.12);
  border: 1px solid rgba(116, 192, 255, 0.28);
  color: #dff1ff;
}

.footer {
  padding: 28px 0 42px;
  color: var(--muted);
}

.footer-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-links a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
}

@media (max-width: 1024px) {
  .resource-grid,
  .pathway-grid,
  .legal-layout,
  .contact-layout {
    grid-template-columns: 1fr 1fr;
  }

  .constellation {
    min-height: 460px;
  }

  .orbit.one {
    width: 280px;
    height: 280px;
  }

  .orbit.two {
    width: 180px;
    height: 180px;
  }

  .node.top {
    top: calc(50% - 140px);
  }

  .node.right {
    left: calc(50% + 140px);
  }

  .node.bottom {
    top: calc(50% + 140px);
  }

  .node.left {
    left: calc(50% - 140px);
  }
}

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border: none;
    background: transparent;
    color: white;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    position: relative;
    z-index: 4005;
  }

  .nav {
    position: fixed;
    top: 77px; /* sits below header so logo stays visible */
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px 22px;
    background: rgba(7, 17, 31, 0.82);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0 0 28px 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.34);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-16px);
    transition:
      opacity 0.24s ease,
      transform 0.24s ease,
      visibility 0s linear 0.24s;
    z-index: 4001;
    max-height: calc(100vh - 77px);
    overflow-y: auto;
  }

  .nav.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition:
      opacity 0.24s ease,
      transform 0.24s ease,
      visibility 0s linear 0s;
  }

  .nav a {
    width: 100%;
    display: block;
    padding: 18px 0;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 1.08rem;
    color: var(--text);
    background: transparent;
    position: relative;
    z-index: 4002;
  }

  .nav a:last-child {
    border-bottom: none;
  }

  body.menu-open {
    overflow: hidden;
    touch-action: none;
  }

  body.menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(2, 8, 18, 0.42);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 3999;
  }

  .brand {
    min-width: 0;
    flex: 1;
    position: relative;
    z-index: 4004;
  }

  .brand-logo {
    height: 44px;
    width: auto;
  }

  .invite-card {
    padding: 30px 22px;
    border-radius: 20px;
  }

  .invite-card h1 {
    font-size: 2.5rem;
  }
  
  .topbar {
    position: sticky;
    top: 0;
    z-index: 4002;
    overflow: visible;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .topbar-inner {
    position: relative;
    z-index: 4003;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-header,
  .hero-grid,
  .resource-grid,
  .pathway-grid,
  .mini-stats,
  .legal-layout,
  .contact-layout,
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-card {
    grid-column: 1;
    grid-row: 1;
  }

  .form-card {
    grid-column: 1;
    grid-row: 2;
  }
  
  .footer-line {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    white-space: nowrap;
  }

  .footer-links a {
    display: inline-block;
    padding: 8px 10px;
    font-size: 0.95rem;
    white-space: nowrap;
  }

  .brand span:last-child {
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .hero {
    padding-top: 42px;
  }

  .page-section {
    padding-top: 42px;
  }
  
  .hero-grid,
  .resource-grid,
  .pathway-grid,
  .mini-stats,
  .legal-layout,
  .contact-layout,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-panel,
  .section-card,
  .resource-card,
  .contact-card,
  .legal-card,
  .form-card {
    padding: 22px;
  }

  .hero-title {
    max-width: 100%;
  }

  h1 {
    font-size: clamp(2.2rem, 11vw, 3.4rem);
    line-height: 1;
  }

  .rotating-line {
    min-height: 1.3em;
  }
  
  .word-rotator {
    min-width: 6.5ch;
    height: 1.3em;
  }

  .constellation {
    min-height: 430px;
    position: relative;
  }

  .orbit.one {
    width: min(62vw, 280px);
    height: min(62vw, 280px);
  }

  .orbit.two {
    width: min(38vw, 170px);
    height: min(38vw, 170px);
  }

  .node {
    font-size: 0.88rem;
    padding: 9px 14px;
    max-width: 32vw;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .node.main {
    max-width: 42vw;
    min-width: 0;
    text-align: center;
    padding: 10px 16px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .node.top {
    left: 50%;
    top: calc(50% - min(31vw, 140px));
    transform: translate(-50%, -50%);
  }

  .node.right {
    left: calc(50% + min(31vw, 140px));
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .node.bottom {
    left: 50%;
    top: calc(50% + min(31vw, 140px));
    transform: translate(-50%, -50%);
  }

  .node.left {
    left: calc(50% - min(31vw, 140px));
    top: 50%;
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 480px) {
  .menu-toggle {
    width: 44px;
    height: 44px;
    font-size: 30px;
  }

  .brand-logo {
    height: 38px;
  }

  .nav {
    top: 69px;
    max-height: calc(100vh - 69px);
    padding: 8px 20px 18px;
  }

  .nav a {
    font-size: 1rem;
    padding: 16px 0;
  }
  
  .footer-links {
    gap: 4px;
  }

  .footer-links a {
    padding: 6px 8px;
    font-size: 0.86rem;
  }

  .constellation {
    min-height: 360px;
  }

  .orbit.one {
    width: min(58vw, 210px);
    height: min(58vw, 210px);
  }

  .orbit.two {
    width: min(34vw, 120px);
    height: min(34vw, 120px);
  }

  .node {
    font-size: 0.76rem;
    padding: 7px 10px;
    max-width: 30vw;
    border-radius: 999px;
  }

  .node.main {
    max-width: 46vw;
    font-size: 0.72rem;
    padding: 8px 12px;
  }

  .node.top {
    top: calc(50% - min(29vw, 104px));
  }

  .node.right {
    left: calc(50% + min(29vw, 104px));
  }

  .node.bottom {
    top: calc(50% + min(29vw, 104px));
  }

  .node.left {
    left: calc(50% - min(29vw, 104px));
  }
}
