:root {
  --toss-fg: rgb(33, 37, 41);
  --toss-ink: rgb(0, 0, 0);
  --toss-nav: #333d4b;
  --toss-muted: #6b7684;
  --toss-cta: rgba(0, 12, 30, 0.8);
  --toss-gradient-top: #ffffff;
  --toss-gradient-btm: #e6f4ff;
  --toss-max: 1710px;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  color: var(--toss-fg);
  font-family:
    "Toss Product Sans",
    "Noto Sans KR",
    -apple-system,
    system-ui,
    "Segoe UI",
    "Apple SD Gothic Neo",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.5;
  background: var(--toss-gradient-top);
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  opacity: 0.85;
}

.skip {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.skip:focus {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 10px 16px;
  background: #fff;
  color: #000;
  border-radius: 8px;
  clip: auto;
}

.lp {
  min-height: 100dvh;
  min-height: 100svh;
  max-width: var(--toss-max);
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--toss-gradient-top) 0%, var(--toss-gradient-btm) 100%);
}

.header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px 0;
  gap: 16px;
  flex-wrap: wrap;
  row-gap: 12px;
}

@media (min-width: 1200px) {
  .header {
    padding: 22px 40px 0;
  }
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  display: block;
  height: 28px;
  width: auto;
}

@media (min-width: 768px) {
  .logo img {
    height: 32px;
  }
}

.nav {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--toss-nav);
}

@media (max-width: 900px) {
  .nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }
}

.nav a {
  display: inline-block;
  white-space: nowrap;
}

.lang {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--toss-muted);
  flex-shrink: 0;
}

.lang .active {
  color: var(--toss-ink);
  font-weight: 700;
}

.lang .sep {
  color: #d1d6db;
  font-weight: 400;
}

.hero {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: min(952px, 100dvh);
  min-height: min(952px, 100svh);
  width: 100%;
  word-break: keep-all;
  overflow: hidden;
}

.hero__scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Máscara: arte de fundo com UI embutida — evita efeito duplicado. */
.hero__scene::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    #fff 0%,
    #fff 28%,
    rgba(255, 255, 255, 0.98) 40%,
    rgba(255, 255, 255, 0.88) 50%,
    rgba(255, 255, 255, 0) 70%
  );
  pointer-events: none;
}

@media (max-width: 600px) {
  .hero__scene::after {
    background: linear-gradient(
      180deg,
      #fff 0%,
      #fff 22%,
      rgba(255, 255, 255, 0.98) 36%,
      rgba(255, 255, 255, 0) 64%
    );
  }
}

.hero__scene img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 100%;
  opacity: 1;
  transform: translateZ(0);
}

@media (max-width: 600px) {
  .hero__scene img {
    object-position: 50% 98%;
    min-width: 100%;
  }
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  padding: 0 20px;
  margin: clamp(72px, 11vw, 170px) 0 0;
  animation: hero-in 0.5s ease-out both;
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__title {
  margin: 0 0 50px;
  color: var(--toss-ink);
  font-size: clamp(36px, 5vw, 66px);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  max-width: 20ch;
  letter-spacing: -0.02em;
}

.hero__ctas {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px 11px 14px;
  border-radius: 7px;
  background-color: var(--toss-cta);
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  line-height: 18px;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, color 0.1s, transform 0.15s;
  user-select: none;
  border: none;
}

.store-btn img {
  margin: 0 6px 0 0;
  display: block;
  flex-shrink: 0;
}

.store-btn:hover {
  background: rgba(0, 12, 30, 0.92);
  transform: translateY(-1px);
  opacity: 1;
}

.store-btn:focus-visible {
  outline: 2px solid #2b5cff;
  outline-offset: 2px;
}

.hero__scroll {
  position: relative;
  z-index: 2;
  margin: auto 0 30px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  color: #141725;
  opacity: 0.35;
  transition: opacity 0.2s;
  line-height: 0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero__scroll:hover,
.hero__scroll:focus-visible {
  opacity: 0.55;
  outline: none;
}

.hero__scroll:focus-visible {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #2b5cff;
  border-radius: 4px;
}

.hero__scroll svg {
  display: block;
  width: 50px;
  height: 50px;
}

.tout {
  position: relative;
  z-index: 2;
  max-width: 38rem;
  margin: 0 auto;
  padding: 72px 24px 96px;
  color: var(--toss-nav);
  font-size: 18px;
  line-height: 1.65;
  text-align: center;
}

@media (min-width: 768px) {
  .tout {
    font-size: 20px;
  }
}
