@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("fonts/jetbrains-mono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("fonts/jetbrains-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #000;
  --fg: #fff;
  --dim: #8a8a8a;
  --faint: #6e6e6e;
  --line: #1f1f1f;
  --gutter: 96px;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

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

html, body { margin: 0; }

body {
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(to bottom right, #141414 0%, #101010 30%, #0b0b0b 57%, #060606 72%, #000000 100%);
}

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

.page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 40px var(--gutter);
  position: relative;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  .page { overflow-x: clip; }
}

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

.logo { display: block; }
.logo img { display: block; width: 192px; height: auto; transition: opacity .2s ease; }
.logo:hover img { opacity: 0.8; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--dim);
}

.status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fg);
}

/* Hero */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 48px 0;
  text-align: center;
}

.hero__eyebrow {
  margin: 0;
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--dim);
}

.hero__title {
  margin: 0;
  font-size: clamp(52px, 6.67vw, 96px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

/* Robot */
.bot {
  --bot-scale: 1;
  position: relative;
  width: 270px;
  height: 270px;
  margin-top: 22px;
  isolation: isolate;
  -webkit-perspective: 900px;
  perspective: 900px;
}

.bot__stage {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  -webkit-transform: scale(var(--bot-scale));
  transform: scale(var(--bot-scale));
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.bot__body {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 184px;
  height: 150px;
  margin: -92px 0 0 -92px;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  animation: bot-float 6s ease-in-out infinite;
}

.bot__tilt {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  animation: bot-tilt 9s ease-in-out infinite;
}

.bot__back {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  border-radius: 46px;
  background: #050505;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06);
}

.bot__mid {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  border-radius: 46px;
  background: #111;
  -webkit-transform: translateZ(9px);
  transform: translateZ(9px);
}

.bot__head {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  border-radius: 46px;
  background: linear-gradient(150deg, #2c2c2c 0%, #171717 45%, #0a0a0a 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), inset 0 0 0 1px rgba(255,255,255,0.08);
  -webkit-transform: translateZ(18px);
  transform: translateZ(18px);
}

.bot__screen {
  position: absolute;
  top: 16px; right: 16px; bottom: 16px; left: 16px;
  border-radius: 32px;
  background: radial-gradient(ellipse at 50% 40%, #101010 0%, #030303 75%);
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.9), inset 0 0 0 1px rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bot__eyes {
  display: -webkit-flex;
  display: flex;
  align-items: center;
  gap: 34px;
  animation: bot-glance 8s ease-in-out infinite;
}

.bot__eye {
  display: block;
  width: 22px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(180deg, #a9d3ff 0%, #7cb8ff 45%, #6fe3e8 100%);
  box-shadow: 0 0 18px rgba(124,184,255,0.6), 0 0 4px rgba(111,227,232,0.9);
  animation: bot-blink 5s ease-in-out infinite;
}

.bot__antenna {
  position: absolute;
  left: 50%;
  top: -30px;
  width: 2px;
  height: 30px;
  margin-left: -1px;
  background: linear-gradient(#5a5a5a, #2a2a2a);
}

.bot__antenna::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -6px;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: #6fe3e8;
  box-shadow: 0 0 12px rgba(111,227,232,0.85);
  animation: bot-led 2.6s ease-in-out infinite;
}

.bot__ear {
  position: absolute;
  top: 50%;
  width: 10px;
  height: 44px;
  margin-top: -22px;
  border-radius: 6px;
  background: linear-gradient(#262626, #0c0c0c);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07);
  -webkit-transform: translateZ(9px);
  transform: translateZ(9px);
}

.bot__ear--l { left: -8px; }
.bot__ear--r { right: -8px; }

.bot__shadow {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 220px;
  height: 40px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 70%);
  animation: bot-shade 6s ease-in-out infinite;
}

@keyframes bot-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes bot-tilt { 0%, 100% { transform: rotateY(-14deg) rotateX(4deg); } 50% { transform: rotateY(14deg) rotateX(-2deg); } }
@keyframes bot-blink { 0%, 44%, 50%, 88%, 91%, 94%, 100% { transform: scaleY(1); } 47%, 89.5%, 92.5% { transform: scaleY(0.08); } }
@keyframes bot-glance { 0%, 18%, 82%, 100% { transform: translate(0, 0); } 26%, 40% { transform: translate(7px, -2px); } 56%, 72% { transform: translate(-7px, 1px); } }
@keyframes bot-led { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
@keyframes bot-shade { 0%, 100% { opacity: 1; transform: translateX(-50%) scale(1); } 50% { opacity: 0.6; transform: translateX(-50%) scale(0.86); } }

/* Footer */
.footer {
  display: flex;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
}

.logo:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
}

/* Mobile */
@media (max-width: 720px) {
  :root { --gutter: 24px; }

  .page { padding-top: 28px; padding-bottom: 28px; }
  .logo img { width: 149px; }

  .hero { gap: 18px; padding: 40px 0; }
  .hero__eyebrow { font-size: 12px; }
  .hero__title { font-size: 52px; }

  .bot { --bot-scale: 0.8; width: 215px; height: 215px; margin-top: 18px; }
  .bot__shadow { width: 170px; height: 31px; }

  .footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .bot__body,
  .bot__tilt,
  .bot__eyes,
  .bot__eye,
  .bot__antenna::before,
  .bot__shadow { animation: none; }
}
