@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

:root {
  color-scheme: dark;
  --navy: #171b31;
  --footer: #121729;
  --cream: #f7f7f0;
  --lime: #ceff9d;
  --muted: #aeb5ca;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background: var(--navy);
  color: var(--cream);
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.hero {
  display: flex;
  flex: 1;
  overflow: hidden;
  background: var(--navy);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 1290px;
  min-height: 640px;
  margin: 0 auto;
  padding: 48px;
}

.site-brand {
  position: absolute;
  top: 35px;
  left: 48px;
  margin: 0;
  line-height: 0;
}

.site-brand img {
  display: block;
  width: auto;
  height: 30px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding-bottom: 16px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--lime);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(45px, 4.5vw, 67px);
  font-weight: 800;
  line-height: 1.19;
  letter-spacing: -0.075em;
  word-break: keep-all;
}

.call-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
  min-height: 54px;
  margin-top: 42px;
  padding: 14px 23px;
  border-radius: 999px;
  background: var(--lime);
  color: #16261b;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 150ms ease, transform 150ms ease;
}

.call-cta:hover {
  background: #e2ffbc;
  transform: translateY(-2px);
}

.call-cta:focus-visible {
  outline: 3px solid var(--cream);
  outline-offset: 5px;
}

.call-cta span {
  font-size: 21px;
  line-height: 1;
}

.call-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 500px;
  isolation: isolate;
}

.call-visual::before {
  position: absolute;
  z-index: -2;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: #6e6dea;
  content: "";
  filter: blur(85px);
  opacity: 0.19;
}

.voice-orbit,
.voice-orbit::before,
.voice-orbit::after {
  position: absolute;
  border: 1px solid #babcf12b;
  border-radius: 50%;
}

.voice-orbit {
  width: 420px;
  height: 420px;
}

.voice-orbit::before,
.voice-orbit::after {
  content: "";
}

.voice-orbit::before {
  inset: 38px;
}

.voice-orbit::after {
  inset: 79px;
}

.voice-pulse {
  position: absolute;
  z-index: -1;
  width: 360px;
  aspect-ratio: 1;
  border: 1px solid #b4c1ff;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  animation: call-ripple 5s ease-out infinite;
}

.voice-pulse--delayed {
  animation-delay: -2.5s;
}

@keyframes call-ripple {
  0% {
    transform: scale(0.66);
    opacity: 0;
  }

  12% {
    opacity: 0.24;
  }

  70%,
  100% {
    transform: scale(1.46);
    opacity: 0;
  }
}

.phone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 237px;
  height: 446px;
  padding: 23px 18px;
  border: 6px solid #444c67;
  border-radius: 34px;
  background: linear-gradient(155deg, #252d49, #111729 83%);
  box-shadow: 13px 24px 35px #090b1a88, inset 0 0 30px #7183df16;
  transform: rotate(6deg);
}

.phone-notch {
  position: absolute;
  top: -2px;
  left: calc(50% - 34px);
  width: 68px;
  height: 10px;
  border-radius: 0 0 12px 12px;
  background: #0e1223;
}

.phone-status {
  align-self: flex-start;
  color: #aeb7d0;
  font-size: 10px;
}

.tutor-avatar {
  width: 98px;
  height: 98px;
  margin-top: 39px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, #e4ffd8, #a6d7a9 45%, #6259ca 90%);
  box-shadow: 0 0 40px #b9fab845;
}

.phone-number {
  margin-top: 23px;
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.phone-name {
  margin-top: 6px;
  color: #b4b9cb;
  font-size: 11px;
}

.call-duration {
  margin-top: 27px;
  color: #e3e9e2;
  font-size: 12px;
}

.waveform {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 40px;
  margin-top: 15px;
}

.waveform span {
  width: 4px;
  height: var(--height);
  border-radius: 8px;
  background: var(--lime);
  box-shadow: 0 0 9px #ceff9d55;
  transform-origin: center;
  animation: voice-wave 1.1s ease-in-out infinite;
}

.waveform span:nth-child(3n + 1) {
  animation-duration: 0.83s;
  animation-delay: -0.4s;
}

.waveform span:nth-child(3n + 2) {
  animation-duration: 1.28s;
  animation-delay: -0.8s;
}

.waveform span:nth-child(4n) {
  animation-duration: 0.97s;
  animation-delay: -0.2s;
}

@keyframes voice-wave {
  0%,
  100% {
    transform: scaleY(0.55);
  }

  45% {
    transform: scaleY(1.2);
  }

  70% {
    transform: scaleY(0.8);
  }
}

.hangup {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  margin-top: 18px;
  border-radius: 50%;
  background: #ed7775;
  color: #fff;
  box-shadow: 0 9px 24px #ed77754d, inset 0 1px 0 #ffffff38;
}

.hangup svg {
  display: block;
  width: 38px;
  height: 38px;
}

.speech-bubble {
  position: absolute;
  z-index: 2;
  max-width: 220px;
  padding: 13px 16px;
  border-radius: 17px;
  background: var(--cream);
  box-shadow: 0 14px 26px #080c2055;
  color: #1f2740;
  font-size: 13px;
  line-height: 1.43;
}

.speech-bubble--opening {
  top: 80px;
  left: 10px;
  transform: rotate(-4deg);
}

.speech-bubble--followup {
  right: 0;
  bottom: 85px;
  background: var(--lime);
  transform: rotate(4deg);
}

.business-footer {
  flex-shrink: 0;
  border-top: 1px solid #323a55;
  background: var(--footer);
  color: var(--muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 22px;
  row-gap: 2px;
  max-width: 1290px;
  margin: 0 auto;
  padding: 30px 48px 26px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: -0.025em;
}

.footer-inner p {
  margin: 0;
}

.company-name {
  color: var(--cream);
  font-weight: 700;
}

.footer-inner .copyright {
  flex-basis: 100%;
  margin-top: 12px;
  color: #8992ac;
  font-size: 12px;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 96px 48px 30px;
  }

  h1 {
    font-size: clamp(45px, 6vw, 62px);
  }

  .call-visual {
    width: min(100%, 520px);
    margin: 28px auto 0;
  }
}

@media (max-width: 600px) {
  .hero-inner {
    min-height: 0;
    padding: 94px 25px 26px;
  }

  .site-brand {
    top: 28px;
    left: 25px;
  }

  .eyebrow {
    margin-bottom: 19px;
    font-size: 12px;
  }

  h1 {
    font-size: clamp(37px, 9.5vw, 46px);
    line-height: 1.2;
  }

  .call-cta {
    margin-top: 34px;
  }

  .call-visual {
    height: 405px;
    margin-top: 18px;
  }

  .voice-orbit {
    width: 320px;
    height: 320px;
  }

  .voice-pulse {
    width: 290px;
  }

  .phone {
    flex: 0 0 auto;
    transform: scale(0.82) rotate(6deg);
  }

  .speech-bubble {
    max-width: 148px;
    padding: 10px 12px;
    font-size: 11px;
  }

  .speech-bubble--opening {
    top: 60px;
    left: 0;
  }

  .speech-bubble--followup {
    right: -12px;
    bottom: 59px;
    max-width: 122px;
  }

  .footer-inner {
    column-gap: 16px;
    padding: 24px 25px 26px;
    font-size: 13px;
    line-height: 1.6;
    overflow-wrap: anywhere;
  }

  .footer-inner .copyright {
    margin-top: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .call-cta {
    transition: none;
  }

  .voice-pulse {
    animation: none;
    display: none;
  }

  .waveform span {
    animation: none;
  }
}
