:root {
  --color-brand: #64CAFA;
  --color-brand-dark: #1797d5;
  --color-white: #FFFFFF;
  --color-soft: #F7F9FB;
  --color-text: #111827;
  --color-muted: #4B5563;
  --color-line: #E5E7EB;
  --shadow-card: 0 18px 45px rgba(17, 24, 39, 0.08);
  --shadow-phone: 0 24px 70px rgba(17, 24, 39, 0.18);
  --radius-card: 20px;
  --radius-pill: 999px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Pretendard, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text);
  background: var(--color-white);
  word-break: keep-all;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 88px 0;
}

.section--soft {
  background: var(--color-soft);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(229, 231, 235, 0.75);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
}

.brand__logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 11px;
  box-shadow: 0 6px 16px rgba(17, 24, 39, 0.1);
}

.brand__fallback {
  line-height: 1;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--color-muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-menu a {
  position: relative;
  display: inline-flex;
  padding: 10px 0;
}

.nav-menu a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--color-brand);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav-menu a:hover::after,
.nav-menu a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--color-line);
  border-radius: 14px;
  background: var(--color-white);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--color-text);
}

.hero {
  overflow: hidden;
  padding-top: 72px;
  background:
    linear-gradient(180deg, rgba(100, 202, 250, 0.16), rgba(255, 255, 255, 0) 58%),
    var(--color-white);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: 56px;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 16px;
  padding: 8px 14px;
  border: 1px solid rgba(100, 202, 250, 0.42);
  border-radius: var(--radius-pill);
  color: #075985;
  background: rgba(100, 202, 250, 0.18);
  font-size: 0.9rem;
  font-weight: 800;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 6vw, 4.9rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.13rem;
  line-height: 1.35;
  letter-spacing: 0;
}

p {
  color: var(--color-muted);
  line-height: 1.72;
}

.hero__lead {
  max-width: 680px;
  margin-bottom: 14px;
  font-size: 1.12rem;
}

.hero__sub {
  max-width: 640px;
  margin-bottom: 28px;
}

.hero__actions,
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  min-width: 162px;
  border-radius: 10px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.store-badge:hover,
.store-badge:focus-visible {
  opacity: 0.86;
  transform: translateY(-2px);
}

.store-badge img {
  width: auto;
  height: 52px;
  object-fit: contain;
}

.store-badge--small {
  height: 40px;
  min-width: 135px;
}

.store-badge--small img {
  height: 40px;
}

.store-badge__fallback {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  padding: 0 18px;
  border-radius: 10px;
  color: var(--color-white);
  background: var(--color-text);
  font-size: 0.92rem;
  font-weight: 850;
}

.store-badge.is-missing img {
  display: none;
}

.store-badge.is-missing .store-badge__fallback {
  display: inline-flex;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn--primary {
  color: var(--color-text);
  background: var(--color-brand);
  box-shadow: 0 12px 28px rgba(100, 202, 250, 0.34);
}

.btn--secondary {
  border-color: var(--color-line);
  color: var(--color-text);
  background: var(--color-white);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  border-color: rgba(100, 202, 250, 0.72);
  background: rgba(100, 202, 250, 0.12);
}

.keyword-list,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.keyword-list li,
.tag-list li {
  padding: 9px 13px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-pill);
  color: var(--color-muted);
  background: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 750;
}

.hero__visual {
  position: relative;
  min-height: 610px;
}

.phone {
  position: absolute;
  overflow: hidden;
  width: 230px;
  border: 9px solid #101827;
  border-radius: 34px;
  background: var(--color-white);
  box-shadow: var(--shadow-phone);
}

.phone img {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  background: var(--color-soft);
}

.phone--front {
  top: 60px;
  left: 42%;
  z-index: 3;
  transform: translateX(-50%);
}

.phone--back {
  top: 120px;
  left: 10%;
  z-index: 2;
  transform: rotate(-7deg);
}

.phone--side {
  top: 150px;
  right: 3%;
  z-index: 1;
  transform: rotate(8deg);
}

.hero__mascot {
  position: absolute;
  right: 8%;
  bottom: 38px;
  z-index: 4;
  width: min(34%, 170px);
  filter: drop-shadow(0 16px 28px rgba(17, 24, 39, 0.14));
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading--left {
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}

.card-grid {
  display: grid;
  gap: 20px;
}

.card-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.feature-row,
.screen-card,
.cta__box {
  border: 1px solid rgba(229, 231, 235, 0.86);
  border-radius: var(--radius-card);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.card {
  min-height: 220px;
  padding: 28px;
}

.card__number {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--color-brand-dark);
  font-size: 0.86rem;
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 56px;
}

.split--center {
  align-items: center;
}

.stack {
  display: grid;
  gap: 16px;
}

.feature-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
}

.feature-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  color: #075985;
  background: rgba(100, 202, 250, 0.2);
  font-weight: 900;
}

.feature-row p,
.card p,
.screen-card p {
  margin-bottom: 0;
}

.screen-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(245px, 1fr);
  gap: 20px;
  overflow-x: auto;
  padding: 6px 4px 22px;
  scroll-snap-type: x mandatory;
}

.screen-card {
  min-width: 0;
  padding: 18px;
  scroll-snap-align: start;
}

.screen-card img {
  width: 100%;
  margin-bottom: 20px;
  border: 1px solid rgba(229, 231, 235, 0.92);
  border-radius: 26px;
  aspect-ratio: 9 / 19.5;
  object-fit: contain;
  background: linear-gradient(180deg, #ffffff, var(--color-soft));
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.1);
}

.tag-list {
  margin-top: 0;
}

.tag-list li {
  border-color: rgba(100, 202, 250, 0.36);
  color: #075985;
  background: rgba(100, 202, 250, 0.13);
}

.portfolio-note {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  margin-top: 10px;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.portfolio-note span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 12px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.82);
  font-weight: 750;
}

.portfolio-note span:first-child {
  border-color: rgba(100, 202, 250, 0.5);
  color: #075985;
  background: rgba(100, 202, 250, 0.15);
}

.cta {
  padding-top: 56px;
}

.cta__box {
  padding: clamp(34px, 7vw, 70px);
  text-align: center;
  background:
    linear-gradient(135deg, rgba(100, 202, 250, 0.24), rgba(255, 255, 255, 0.96) 58%),
    var(--color-white);
}

.cta__box .eyebrow,
.cta__actions {
  margin-inline: auto;
}

.cta__box p {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
}

.cta__support {
  margin-top: -8px;
  margin-bottom: 22px;
  color: #374151;
  font-weight: 800;
}

.cta__note {
  margin-top: 22px;
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.footer {
  border-top: 1px solid var(--color-line);
  background: var(--color-text);
  color: var(--color-white);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 26px;
  padding: 34px 0;
}

.footer p,
.footer small,
.footer a {
  color: rgba(255, 255, 255, 0.76);
}

.brand--footer {
  margin-bottom: 8px;
  color: var(--color-white);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  font-weight: 800;
}

.footer__text-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
}

.footer .store-badge {
  opacity: 0.92;
}

.footer small {
  grid-column: 1 / -1;
}

@media (min-width: 980px) {
  .screen-grid {
    grid-auto-flow: initial;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: visible;
  }
}

@media (max-width: 1024px) {
  .hero__inner,
  .split {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 560px;
  }

  .card-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .section {
    padding: 68px 0;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-menu {
    position: fixed;
    top: 72px;
    right: 20px;
    left: 20px;
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--color-line);
    border-radius: 18px;
    background: var(--color-white);
    box-shadow: var(--shadow-card);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-menu a {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
  }

  .nav-menu a:hover,
  .nav-menu a:focus-visible {
    background: var(--color-soft);
  }

  .nav-menu a::after {
    display: none;
  }

  .card-grid--three,
  .card-grid--four {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .hero {
    padding-top: 48px;
  }

  .hero__actions {
    align-items: stretch;
  }

  .store-badge,
  .btn {
    width: 100%;
  }

  .store-badge {
    justify-content: center;
    min-width: 135px;
    border: 1px solid var(--color-line);
    background: var(--color-white);
  }

  .store-badge img {
    max-width: 190px;
  }

  .hero__visual {
    min-height: 500px;
  }

  .phone {
    width: 190px;
    border-width: 8px;
    border-radius: 30px;
  }

  .phone--front {
    left: 50%;
  }

  .phone--back {
    left: 0;
  }

  .phone--side {
    right: 0;
  }

  .hero__mascot {
    right: 4%;
    bottom: 16px;
    width: 128px;
  }

  .section-heading {
    margin-bottom: 30px;
    text-align: left;
  }

  .portfolio-note {
    justify-content: flex-start;
  }

  .feature-row {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
  }

  .footer__links {
    justify-content: flex-start;
  }
}
