:root {
  --cpi-page: #fafbfa;
  --cpi-text: #111827;
  --cpi-muted: #4b5563;
  --cpi-primary: #0e7637;
  --cpi-font: "Inter", -apple-system, "Segoe UI", sans-serif;
}

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

html {
  width: 100%;
  height: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body {
  margin: 0;
  background: var(--cpi-page);
  color: var(--cpi-text);
  font-family: var(--cpi-font);
}

body {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
}

body.has-custom-cursor,
body.has-custom-cursor a,
body.has-custom-cursor button {
  cursor: none;
}

.page {
  position: relative;
  isolation: isolate;
  display: flex;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  overflow: hidden;
  text-align: center;
}

.page::before,
.page::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 118, 55, 0.14), transparent 68%);
}

.page::before {
  top: -18%;
  left: -8%;
  width: min(42vw, 28rem);
  height: min(42vw, 28rem);
}

.page::after {
  right: -10%;
  bottom: -22%;
  width: min(48vw, 34rem);
  height: min(48vw, 34rem);
  background: radial-gradient(circle, rgba(14, 118, 55, 0.09), transparent 70%);
}

.title {
  margin: 0;
  color: var(--cpi-text);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.headline {
  margin: 0.75rem 0 0;
  color: var(--cpi-text);
  font-size: clamp(2.6rem, 8vw, 6.5rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.caret {
  display: inline-block;
  width: 0.07em;
  height: 0.88em;
  margin-left: 0.08em;
  background: var(--cpi-primary);
  transform: translateY(0.06em);
  animation: blink 1s steps(1, end) infinite;
}

.cursor-dot,
.cursor-ring {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 40;
  transform: translate(-50%, -50%);
}

body.has-custom-cursor .cursor-dot,
body.has-custom-cursor .cursor-ring {
  display: block;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--cpi-primary);
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--cpi-primary);
  border-radius: 999px;
  background: rgba(14, 118, 55, 0.06);
}

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

@media (min-width: 768px) {
  .page {
    padding: 4rem 5vw;
  }

  .title {
    font-size: clamp(1.6rem, 2.2vw, 2.25rem);
  }

  .headline {
    margin-top: 1rem;
  }
}

@media (min-width: 1200px) {
  .page {
    padding: 5rem 8vw;
  }
}

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

  body.has-custom-cursor,
  body.has-custom-cursor a,
  body.has-custom-cursor button {
    cursor: auto;
  }

  body.has-custom-cursor .cursor-dot,
  body.has-custom-cursor .cursor-ring {
    display: none;
  }
}
