@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Geist:ital,wght@0,100..900;1,100..900&display=swap');


:root {
  --color-canvas: #0a0a0f;
  --color-elevated: #14141d;
  --color-border: #2a2a38;
  --color-ink: #e8e8f0;
  --color-ink-soft: #c0c0d0;
  --color-ink-mid: #8a8aa0;

  --metal-1: #fcfdff;
  --metal-2: #d2d7e4;
  --metal-3: #9aa0b6;

  --aurora-violet: 139 92 246;
  --aurora-azure: 79 124 255;
  --aurora-magenta: 192 38 211;
  --aurora-strength: 1.5;

  --radius-pill: 9999px;

  --font-brand: 'Source Code Pro', sans-serif;
  --font-main: 'Geist', sans-serif;

  --logo-size: 5rem;
  --wordmark-size: 3rem;
}


*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  background: var(--color-canvas);
  color: var(--color-ink);
  font-family: var(--font-main);
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


.hero {
  position: relative;
  flex: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.hero__content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 48rem;
}


.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.brand__word {
  font-family: var(--font-brand);
  font-weight: 600;
  font-size: var(--wordmark-size);
  line-height: 2;
}


.brand-logo {
  width: var(--logo-size);
  height: var(--logo-size);
  flex: none;
  display: inline-block;
}

.brand-logo svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  display: block;
}


.brand-logo .layer {
  transform:
    translate(160px, 100px)
    translateY(var(--layer-y))
    rotateX(55deg)
    rotate(45deg);
}

.brand-logo .top    { --layer-y: 20px;  --plate-fill: #d9a5f0; --plate-stroke: #444444; }
.brand-logo .middle { --layer-y: 60px;  --plate-fill: #be35e6; --plate-stroke: #333333; }
.brand-logo .bottom { --layer-y: 100px; --plate-fill: #8a08be; --plate-stroke: #222222; }

.brand-logo .plate {
  fill: var(--plate-fill);
  stroke: var(--plate-stroke);
  stroke-width: 0.175rem;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}


.eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.25rem;
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--color-elevated) 60%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-ink-mid);
}


.title {
  margin: 0;
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--color-ink);
}

.title__accent {
  display: block;
}


.subtitle {
  margin: 1.5rem 0 0;
  max-width: 42rem;
  font-size: 1.125rem;
  color: var(--color-ink-soft);
}


.u-metal-text {
  background: linear-gradient(
    180deg,
    var(--metal-1) 0%,
    var(--metal-2) 50%,
    var(--metal-3) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 8px rgb(190 200 230 / 0.35));
}


@media (min-width: 640px) {
  .title { font-size: 3.75rem; }
  .subtitle { font-size: 1.25rem; }
}

.aurora {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.aurora--off {
  display: none;
}

.aurora__blob {
  position: absolute;
  aspect-ratio: 3 / 2;
  filter: blur(72px);
  will-change: transform;
}

.aurora__blob--violet {
  width: 66%;
  top: -14%;
  left: -8%;
  background: radial-gradient(circle, rgb(var(--aurora-violet) / 0.70), transparent 66%);
  opacity: calc(0.60 * var(--aurora-strength));
}

.aurora__blob--azure {
  width: 62%;
  top: -10%;
  right: -6%;
  background: radial-gradient(circle, rgb(var(--aurora-azure) / 0.60), transparent 66%);
  opacity: calc(0.55 * var(--aurora-strength));
}

.aurora__blob--magenta {
  width: 60%;
  bottom: -22%;
  left: 32%;
  background: radial-gradient(circle, rgb(var(--aurora-magenta) / 0.45), transparent 66%);
  opacity: calc(0.45 * var(--aurora-strength));
}


.aurora--on .aurora__blob--violet  { animation: aurora-violet  26s ease-in-out infinite; }
.aurora--on .aurora__blob--azure   { animation: aurora-azure   38s ease-in-out infinite; }
.aurora--on .aurora__blob--magenta { animation: aurora-magenta 13s ease-in-out infinite; }

@keyframes aurora-violet {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(4%, 3%) scale(2); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes aurora-azure {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-5%, 4%) scale(2); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes aurora-magenta {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(3%, -4%) scale(2); }
  100% { transform: translate(0, 0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .aurora__blob { animation: none !important; }
}
