:root {
  --yellow: #ffd910;
  --yellow-deep: #ffc427;
  --ink: #303132;
  --body: #585e62;
  --muted: #7a7a7a;
  --line: #eeeeee;
  --max: 1160px;
  --display: "Do Hyeon", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --subcopy: "IBM Plex Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --subcopy-color: #41464b;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--body);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: 0;
}

body,
h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

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

img,
svg {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  background: #ffffff;
}

.site-header--transparent {
  background: transparent;
}

.nav {
  width: min(var(--max), calc(100% - 60px));
  height: 110px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: auto;
  height: 35px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #3d4144;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.store-link {
  color: var(--yellow-deep);
}

.section-inner {
  width: min(var(--max), calc(100% - 60px));
  margin: 0 auto;
}

.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background-color: var(--yellow);
  background-image: url("assets/homepageMain_13.jpg"), linear-gradient(45deg, var(--yellow) 0%, var(--yellow-deep) 100%);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(320px, 0.42fr);
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
}

.hero-copy {
  grid-column: 1;
  padding-top: 70px;
}

.hero-device {
  display: none;
}

h1,
h2,
.service-card h2 {
  font-family: var(--display);
  font-weight: 400;
  color: #000000;
  letter-spacing: 0;
}

.hero-copy p,
.service-card p,
.split-copy p {
  font-family: var(--subcopy);
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: 60px;
  line-height: 1.12;
}

.hero-copy p {
  margin-bottom: 34px;
  color: var(--subcopy-color);
  font-size: 18px;
  line-height: 1.7;
}

.store-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 172px;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 5px 45px rgba(0, 0, 0, 0.2);
  color: #888888;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  line-height: 1;
  transition: color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.store-button:hover {
  color: var(--yellow);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0);
  transform: translateY(-1px);
}

.store-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
  line-height: 0;
}

.store-icon svg {
  width: 24px;
  height: 24px;
}

.services {
  padding: 110px 0 101px;
  background: #ffffff;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  min-height: 242px;
  padding: 50px 40px;
  background: #ffffff;
  box-shadow: 0 5px 30px rgba(214, 215, 216, 0.57);
  text-align: center;
}

.feature-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255, 217, 16, 0.14);
  color: var(--yellow);
  box-shadow: inset 0 0 0 1px rgba(255, 217, 16, 0.32);
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h2 {
  margin-bottom: 8px;
  font-size: 30px;
  line-height: 1.25;
}

.service-card p {
  margin-bottom: 0;
  color: var(--subcopy-color);
  font-size: 16px;
  line-height: 1.7;
}

.animate-on-scroll {
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 20px, 0);
  transition: opacity 700ms cubic-bezier(0.645, 0.045, 0.355, 1), transform 700ms cubic-bezier(0.645, 0.045, 0.355, 1);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0);
}

.animate-delay-100 {
  transition-delay: 100ms;
}

.animate-delay-150 {
  transition-delay: 150ms;
}

.animate-delay-200 {
  transition-delay: 200ms;
}

.split {
  position: relative;
  overflow: hidden;
}

.split--yellow {
  padding: 120px 0;
  background: linear-gradient(270deg, var(--yellow) 0%, var(--yellow-deep) 100%);
}

#about {
  padding: 0;
}

.split-height-wrap {
  min-height: 110vh;
  display: flex;
  align-items: center;
}

#about .split-grid {
  margin-top: 20px;
  padding: 60px 0;
}

.split--white {
  min-height: 110vh;
  padding: 0;
  background: #ffffff;
  display: flex;
  align-items: center;
}

.split--white .split-grid {
  padding: 60px 0;
}

.split--final {
  min-height: 110vh;
  padding: 0;
  display: flex;
  align-items: center;
}

.split--final .split-grid {
  padding: 60px 0;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr);
  align-items: center;
  gap: 50px;
}

.split-grid--swap {
  grid-template-columns: minmax(280px, 1fr) minmax(0, 1fr);
}

.split-copy h2 {
  margin-bottom: 20px;
  font-size: 43px;
  line-height: 1.25;
}

.split-copy p {
  max-width: 520px;
  margin-bottom: 0;
  color: var(--subcopy-color);
  font-size: 17px;
}

.copy-line {
  display: block;
}

.split--final .split-copy p {
  max-width: 82%;
}

.split--yellow .split-copy p,
.split--final .split-copy p {
  color: var(--subcopy-color);
}

.phone-demo {
  justify-self: center;
  width: min(100%, 380px);
}

.phone-demo--narrow {
  width: min(60%, 360px);
}

.phone-demo--reward {
  width: min(70%, 420px);
  filter: drop-shadow(0 24px 26px rgba(0, 0, 0, 0.14));
}

.scene-demo {
  justify-self: center;
  width: min(80%, 500px);
  border-radius: 10px;
  box-shadow: 0 24px 45px rgba(0, 0, 0, 0.12);
}

.wave {
  position: absolute;
  left: 0;
  right: 0;
  height: 100px;
  color: #ffffff;
  pointer-events: none;
  z-index: 2;
}

.wave svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.wave--top {
  top: 0;
  transform: translateY(-1px);
}

.wave--bottom {
  bottom: 0;
  transform: translateY(1px);
}

.wave--bottom svg {
  transform: rotateY(180deg);
}

.split--final .wave {
  position: absolute;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: #ffffff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 200ms ease, visibility 200ms ease, transform 200ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.site-footer {
  background: #ffffff;
  color: var(--muted);
}

.footer-grid {
  width: min(var(--max), calc(100% - 60px));
  margin: 0 auto;
  padding: 68px 0 52px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 36px;
}

.footer-logo img {
  width: 32%;
  min-width: 92px;
}

.footer-grid strong {
  display: block;
  margin-bottom: 12px;
  color: #3d4144;
  font-weight: 400;
}

.footer-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-bottom {
  padding: 16px 0 42px;
  color: #bdbdbd;
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
}

.footer-bottom a {
  display: inline-block;
  margin: 0 12px 16px;
  color: #bdbdbd;
}

.footer-bottom p {
  margin-bottom: 0;
}

.legal-page {
  padding: 90px 0 36px;
}

.legal-content {
  width: min(900px, calc(100% - 60px));
  margin: 0 auto;
  color: #303132;
}

.legal-content h1 {
  font-family: var(--sans);
  font-size: 40px;
  line-height: 1.25;
}

.legal-content p {
  color: #585e62;
}

.legal-content--prod {
  width: min(var(--max), calc(100% - 60px));
  color: #000000;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 16px;
  line-height: 1.8;
}

.legal-content--prod p {
  margin-bottom: 16px;
  color: #000000;
}

.legal-content--prod strong {
  color: #000000;
}

@media (max-width: 1377px) {
  .hero,
  .hero-grid {
    min-height: 90vh;
  }
}

@media (min-width: 960px) and (max-width: 1024px) {
  .nav,
  .section-inner,
  .footer-grid,
  .legal-content--prod {
    width: min(900px, calc(100% - 60px));
  }
}

@media (min-width: 768px) and (max-width: 959px) {
  .nav,
  .section-inner,
  .footer-grid,
  .legal-content--prod {
    width: min(740px, calc(100% - 60px));
  }

  .footer-grid {
    grid-template-columns: minmax(110px, 0.65fr) minmax(190px, 1fr) minmax(250px, 1.15fr);
  }

  .footer-grid p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (max-width: 1024px) {
  .hero {
    min-height: 60vh;
  }

  .hero-grid {
    min-height: 60vh;
    grid-template-columns: minmax(0, 0.55fr) minmax(280px, 0.45fr);
  }

  h1 {
    font-size: 45px;
    line-height: 1;
  }

  .hero-copy p {
    font-size: 15px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    min-height: auto;
    max-width: 350px;
    width: 100%;
    margin: 0 auto;
  }

  .services {
    padding: 80px 0;
  }

  .split-height-wrap {
    min-height: 80vh;
  }

  #about .split-grid {
    margin-top: 40px;
  }

  .split--white {
    min-height: 80vh;
    padding: 0;
  }

  .split--final {
    min-height: 80vh;
    padding: 0;
  }

  .split--final .split-grid {
    padding: 60px 0;
  }

  .split-grid,
  .split-grid--swap {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }

  .split-copy h2 {
    font-size: 38px;
    line-height: 1.18;
  }

  .phone-demo--narrow {
    width: min(82%, 360px);
  }

  .wave {
    height: 80px;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 16px;
    line-height: 1.75;
  }

  .site-header {
    background: transparent;
  }

  .nav {
    width: calc(100% - 40px);
    height: 74px;
  }

  .brand img {
    height: 34px;
  }

  .nav-links {
    display: none;
  }

  .section-inner,
  .footer-grid,
  .legal-content {
    width: min(300px, calc(100% - 40px));
  }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
    padding: 88px 0 52px;
    background-image: linear-gradient(45deg, var(--yellow) 0%, var(--yellow-deep) 100%);
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 22px;
    text-align: center;
  }

  .hero-device {
    display: block;
    width: 100%;
    margin: 0 auto;
  }

  .hero-copy {
    padding-top: 0;
  }

  h1 {
    margin-bottom: 12px;
    font-size: 40px;
    line-height: 1;
  }

  .hero-copy p {
    margin-bottom: 28px;
    font-size: 14px;
    line-height: 2.1;
  }

  .store-actions {
    justify-content: center;
    gap: 14px;
  }

  .store-button {
    min-width: min(100%, 190px);
  }

  .services {
    padding: 60px 0 90px;
  }

  .service-grid {
    gap: 20px;
  }

  .service-card {
    padding: 50px 40px;
  }

  .service-card h2 {
    font-size: 25px;
    line-height: 1.35;
  }

  .split--yellow,
  .split--white {
    padding: 60px 0;
  }

  .split-height-wrap {
    min-height: 110vh;
  }

  #about {
    padding: 0;
  }

  #about .split-grid {
    margin-top: 20px;
    padding: 30px 0 60px;
  }

  .split--final {
    min-height: 110vh;
    padding: 0;
  }

  .split--final .split-grid {
    padding: 30px 0 60px;
  }

  .split--white {
    min-height: 110vh;
    padding: 0;
  }

  .split--white .split-grid {
    padding: 30px 0 60px;
  }

  .split-grid,
  .split-grid--swap {
    grid-template-columns: 1fr;
    gap: 34px;
    text-align: center;
  }

  .split-copy h2 {
    font-size: clamp(23px, 6.5vw, 30px);
    line-height: 1.33;
  }

  .split-copy p {
    max-width: 100%;
    font-size: clamp(14px, 3.8vw, 17px);
    line-height: 1.85;
  }

  .split-copy .copy-line {
    white-space: nowrap;
  }

  .split--final .split-copy p {
    max-width: 100%;
  }

  .split-grid--swap .split-copy {
    order: -1;
  }

  .phone-demo {
    width: 100%;
  }

  .phone-demo--narrow {
    width: 60%;
  }

  .phone-demo--reward {
    width: 70%;
  }

  .scene-demo {
    width: 80%;
  }

  .wave {
    height: 50px;
  }

  .back-to-top {
    width: 40px;
    height: 40px;
  }

  .back-to-top svg {
    width: 18px;
    height: 18px;
  }

  .site-footer--home .footer-grid {
    display: none;
  }

  .footer-bottom {
    padding: 42px 20px;
  }

  .copyright-break {
    display: block;
  }

  .legal-page {
    padding: 90px 0 36px;
  }

  .legal-content h1 {
    font-size: 32px;
  }

  .legal-content--prod {
    width: min(300px, calc(100% - 40px));
    font-size: 14px;
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .section-inner,
  .footer-grid,
  .legal-content,
  .legal-content--prod {
    width: min(440px, calc(100% - 40px));
  }
}
