:root {
  --bg: #0f172a;
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --link: #34d399;
  --link-hover: #6ee7b7;
  --spiro: #fb7185;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  min-height: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  padding-bottom: 6rem;
  position: relative;
}

/* Background spirograph */
.spirograph-bg {
  position: fixed;
  bottom: -550px;
  left: -550px;
  width: 1275px;
  height: 1275px;
  z-index: 0;
  opacity: .25;
  pointer-events: none;
}

/* Brand mark */
.brand-mark {
  width: 110px;
  height: 110px;
  margin: 0 auto 1.25rem;
  display: block;
}

/* Optional: layered depth for brand mark */
.brand-mark path:nth-child(1) {
  /* opacity: .9; */
	/* stroke: red; */
}

.brand-mark path:nth-child(2) {
  /* opacity: .9; */
	/* stroke: white; */
}

.brand-mark path:nth-child(3) {
  /* opacity: .9; */
	/* stroke: blue; */
}

.content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  text-align: center;
}

h1 {
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.tagline {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.tagline em {
  color: var(--text);
  font-style: normal;
}

.process {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  letter-spacing: 0.05em;
}

.process .arrow {
  color: var(--spiro);
  margin: 0 0.25em;
}

.links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.links a {
  color: var(--link);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.2s ease;
}

.links a:hover {
  color: var(--link-hover);
}

.footer {
  position: fixed;
  bottom: 2rem;
  left: 0;
  right: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  z-index: 1;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 0.75rem;
  text-align: center;
}

.footer a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
}

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

.footer-separator {
  color: var(--text-muted);
  user-select: none;
  line-height: 1;
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  /* width: 16px;
  height: 16px;
  display: block; */
}

/* Short viewports: footer in flow */
@media (max-height: 500px) and (orientation: landscape) {
  body {
    justify-content: flex-start;
    padding-bottom: 2rem;
  }

  .footer {
    position: static;
    margin-top: 3rem;
  }
}

@media (max-width: 480px) {
  .spirograph-bg {
    width: 630px;
    height: 630px;
    bottom: -310px;
    left: -310px;
    opacity: 0.25;
  }

  .brand-mark {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  .tagline {
    font-size: 1rem;
  }

  .process {
    font-size: 0.75rem;
  }

  .links {
    gap: 1.25rem;
  }

  .footer {
    font-size: 0.6875rem;
    gap: 0.375rem;
  }

  .icon {
    width: 14px;
    height: 14px;
  }
}

@media (min-width: 2048px) {
  .spirograph-bg {
    width: 1700px;
    height: 1700px;
    bottom: -733px;
    left: -733px;
  }
}