@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

:root {
  --bg: #fbfaf6;
  --navy: #17243a;
  --navy-soft: #58677d;
  --pink: #e83d83;
  --line: rgba(23, 36, 58, .10);
  --muted: #758197;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--navy);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.site-header {
  width: min(94vw, 1440px);
  margin: 0 auto;
  height: 118px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 180px 1fr 150px;
  align-items: center;
  gap: 20px;
}

.datetime {
  color: var(--navy-soft);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: -.01em;
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

#time {
  font-weight: 500;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(28px, 3vw, 52px);
  color: var(--navy);
  font-size: 15px;
}

.nav a,
.get-started {
  transition: opacity .2s ease, transform .2s ease;
}

.nav a:hover {
  opacity: .6;
}

.get-started {
  justify-self: end;
  background: var(--navy);
  color: white;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 15px;
  text-align: center;
}

.get-started:hover {
  transform: translateY(-1px);
  opacity: .92;
}

.hero {
  min-height: 675px;
  padding-top: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.chart-wrap {
  width: min(520px, 70vw);
  height: 185px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.bars {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 18px;
}

.bar {
  width: 34px;
  height: var(--height);
  max-height: 175px;
  border-radius: 7px 7px 4px 4px;
  background: var(--bar-color);
  box-shadow: 0 9px 13px rgba(23, 36, 58, .08);
  transform-origin: bottom center;
  animation: wave var(--duration) ease-in-out infinite alternate;
  animation-delay: var(--delay);
}

.bar.pink {
  box-shadow: 0 10px 17px rgba(232, 61, 131, .18);
}

@keyframes wave {
  0% { transform: scaleY(.92); }
  100% { transform: scaleY(1.06); }
}

.hero h1 {
  margin: 38px 0 0;
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1.18;
  font-weight: 500;
  letter-spacing: -.035em;
  text-align: center;
}

.hero h1 span {
  color: var(--pink);
}

.subtitle {
  margin: 15px 0 0;
  color: var(--navy-soft);
  font-size: clamp(18px, 1.7vw, 25px);
  letter-spacing: -.015em;
  text-align: center;
}

.scroll-cue {
  margin-top: 27px;
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--navy);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.scroll-cue span {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: rotate(45deg) translate(-2px, -2px);
}

.features {
  width: min(820px, 88vw);
  margin: -2px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.feature {
  min-height: 125px;
  padding: 0 28px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.feature:last-child {
  border-right: 0;
}

.icon {
  position: relative;
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  color: var(--navy);
}

.feature h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
}

.feature p {
  margin: 7px 0 0;
  color: var(--navy-soft);
  font-size: 11px;
  line-height: 1.6;
}

/* Small custom line icons */
.eye-shape {
  position: absolute;
  inset: 12px 4px;
  border: 2px solid var(--navy);
  border-radius: 70% 10% 70% 10%;
  transform: rotate(45deg);
}
.eye-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid var(--navy);
  border-radius: 50%;
  left: 20px;
  top: 20px;
}
.eye-icon i,
.bulb-icon i {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--pink);
  border-radius: 50%;
}
.eye-icon i:nth-of-type(1) { left: 2px; top: 8px; }
.eye-icon i:nth-of-type(2) { right: 2px; top: 8px; }
.eye-icon i:nth-of-type(3) { left: 3px; bottom: 8px; }
.eye-icon i:nth-of-type(4) { right: 3px; bottom: 8px; }

.bulb {
  position: absolute;
  width: 25px;
  height: 29px;
  border: 2px solid var(--navy);
  border-radius: 50% 50% 45% 45%;
  left: 13px;
  top: 5px;
}
.bulb-base {
  position: absolute;
  width: 14px;
  height: 7px;
  border-top: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  left: 19px;
  top: 34px;
}
.bulb-icon i:nth-of-type(1) { left: 2px; top: 12px; }
.bulb-icon i:nth-of-type(2) { right: 2px; top: 12px; }
.bulb-icon i:nth-of-type(3) { left: 8px; top: 1px; }
.bulb-icon i:nth-of-type(4) { right: 8px; top: 1px; }

.compass-ring {
  position: absolute;
  inset: 5px;
  border: 2px solid var(--navy);
  border-radius: 50%;
}
.needle {
  position: absolute;
  width: 28px;
  height: 8px;
  background: var(--pink);
  clip-path: polygon(0 50%, 100% 0, 72% 50%, 100% 100%);
  left: 13px;
  top: 22px;
  transform: rotate(-45deg);
}

.target-ring {
  position: absolute;
  border: 2px solid var(--navy);
  border-radius: 50%;
}
.ring-one { inset: 5px; }
.ring-two { inset: 12px; }
.target-dot {
  position: absolute;
  width: 7px;
  height: 7px;
  background: var(--pink);
  border-radius: 50%;
  left: 22px;
  top: 22px;
}
.arrow {
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--pink);
  left: 22px;
  top: 22px;
  transform: rotate(-45deg);
  transform-origin: left center;
}
.arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -4px;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--pink);
  border-right: 2px solid var(--pink);
}

.tagline {
  margin: 125px auto 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: var(--navy-soft);
  font-size: 13px;
  letter-spacing: .30em;
}

.tagline b {
  color: var(--pink);
  font-size: 12px;
  letter-spacing: 0;
}

@media (max-width: 800px) {
  .site-header {
    height: 92px;
    width: 92vw;
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .datetime {
    font-size: 13px;
  }

  .get-started {
    font-size: 13px;
    padding: 11px 16px;
  }

  .hero {
    min-height: 560px;
    padding-top: 95px;
  }

  .chart-wrap {
    width: 78vw;
    height: 145px;
  }

  .bars {
    gap: 10px;
  }

  .bar {
    width: 25px;
  }

  .hero h1 {
    max-width: 90vw;
    margin-top: 32px;
    font-size: 30px;
  }

  .subtitle {
    font-size: 17px;
  }

  .features {
    width: 88vw;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
  }

  .feature {
    padding: 0 12px;
  }

  .feature:nth-child(2) {
    border-right: 0;
  }

  .feature:nth-child(3) {
    border-right: 1px solid var(--line);
  }

  .tagline {
    margin-top: 85px;
    margin-bottom: 32px;
    font-size: 11px;
    gap: 12px;
  }
}

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