@font-face {
  font-family: "Manrope";
  src: url("../assets/fonts/Manrope-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #fff;
  color: #111;
  font-family: "Manrope", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
}

h1 {
  position: relative;
  margin: 0;
  font-size: clamp(12px, 4vw, 44px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

/* Only the complete phrase determines the block's size.
   Reserve space for the cursor on both lines. */
.sizer {
  display: block;
  visibility: hidden;
  padding-inline-end: 0.3em;
}

.typewriter {
  position: absolute;
  inset: 0;
  white-space: pre;
}
.mobile-break { display: none; }

.cursor {
  display: inline-block;
  width: 0.065em;
  height: 1.1em;
  margin-left: 0.12em;
  background: #3699ee;
  vertical-align: -0.16em;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@media (max-width: 600px) {
  h1 {
    font-size: clamp(24px, 6vw, 32px);
    line-height: 1.45;
  }

  .mobile-break { display: initial; }
  .desktop-space { display: none; }
}

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