/* withloopd.com home. Values come from the "New - withloopd.com (home)" design (1440 × 900). */
html { background: #ffffff; }
body { margin: 0; }

.lh-root {
  min-height: 100vh;
  min-height: 100svh;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
  background: #ffffff;
  color: #0a0a0a;
  font-family: Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  display: grid;
  grid-template-columns: 560px 1fr;
  align-items: center;
  padding: 0 40px 0 96px;
  max-width: 1440px;
  margin: 0 auto;
}

.lh-left { display: flex; flex-direction: column; gap: 40px; position: relative; z-index: 2; min-width: 0; }
.lh-left > svg { max-width: 100%; height: auto; }
.lh-h1 { margin: 0; font-size: 72px; line-height: 1.0; font-weight: 700; letter-spacing: -0.04em; }

.lh-form {
  display: flex; align-items: center; height: 60px; width: 440px; max-width: 100%;
  box-sizing: border-box; padding: 6px 6px 6px 24px; border-radius: 999px;
  border: 1px solid #e3e1dc; background: #ffffff; transition: border-color 150ms;
}

.lh-right { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 48px; min-width: 0; align-self: center; }

/* The illustration is drawn at 680 × 600 and scaled to fit the space it gets */
.lh-stage-box { --s: 1; width: calc(680px * var(--s)); height: calc(600px * var(--s)); position: relative; }
.lh-stage { position: absolute; left: 0; top: 0; width: 680px; height: 600px; transform: scale(var(--s)); transform-origin: 0 0; }

@media (max-width: 1280px) {
  .lh-root { grid-template-columns: 480px 1fr; padding: 0 32px 0 64px; }
  .lh-h1 { font-size: 64px; }
  .lh-stage-box { --s: 0.86; }
}

@media (max-width: 1080px) {
  .lh-root { grid-template-columns: minmax(0, 1fr); padding: 72px 40px 56px; gap: 48px; align-content: center; }
  .lh-left { align-items: flex-start; }
  .lh-stage-box { --s: 0.9; }
}

@media (max-width: 720px) {
  .lh-root { padding: 48px 20px 40px; gap: 28px; }
  .lh-left { gap: 28px; }
  .lh-h1 { font-size: 48px; }
  .lh-left > svg { width: 132px; }
  .lh-form { height: 56px; padding-left: 20px; }
  .lh-form .hcGo { padding: 0 18px !important; }
  .lh-right { gap: 28px; }
  .lh-stage-box { --s: 0.62; }
}

@media (max-width: 420px) {
  .lh-h1 { font-size: 42px; }
  .lh-stage-box { --s: 0.52; }
}

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