@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/variable/pretendardvariable.css");

:root {
  --jg-green: #063f24;
  --jg-green-2: #0b5a34;
  --jg-cream: #fff8e9;
  --jg-card: #fffdf6;
  --jg-text: #143224;
  --jg-muted: #6b766e;
  --jg-line: rgba(6, 63, 36, 0.12);
  --jg-radius: 26px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--jg-cream);
}

.jg-page {
  width: 100%;
  min-height: 100vh;
  background: var(--jg-cream);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color: var(--jg-text);
  overflow-x: hidden;
  padding-bottom: 84px;
}

.jg-wrap {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 0 20px;
}

.jg-hero {
  min-height: 100vh;
  padding: 42px 0 34px;
  display: flex;
  align-items: center;
}

.jg-hero-inner {
  width: 100%;
  text-align: center;
}

.jg-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--jg-green);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.jg-play {
  width: 24px;
  height: 18px;
  border-radius: 5px;
  background: #fff;
  position: relative;
}

.jg-play::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 4px;
  border-left: 7px solid var(--jg-green);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.jg-character {
  width: 176px;
  height: 176px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: #fffdf6;
  border: 1px solid var(--jg-line);
  box-shadow: 0 18px 50px rgba(6, 63, 36, 0.12);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jg-character img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.jg-character img[src=""] {
  display: none;
}

.jg-character-empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(6, 63, 36, 0.34);
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  line-height: 1.35;
}

.jg-character img:not([src=""]) + .jg-character-empty {
  display: none;
}

.jg-title {
  margin: 0;
  color: var(--jg-green);
  font-size: clamp(58px, 19vw, 88px);
  font-weight: 950;
  line-height: 0.92;
  letter-spacing: -0.08em;
}

.jg-main-copy {
  margin: 24px 0 0;
  font-size: clamp(34px, 9vw, 48px);
  font-weight: 950;
  line-height: 1.12;
  letter-spacing: -0.06em;
  color: var(--jg-text);
}

.jg-sub-copy {
  margin: 16px auto 0;
  max-width: 330px;
  color: var(--jg-muted);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: -0.035em;
}

.jg-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 30px;
}

.jg-btn {
  width: 100%;
  min-height: 58px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  font-size: 18px;
  font-weight: 950;
  letter-spacing: -0.04em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.jg-btn:hover {
  opacity: 0.94;
}

.jg-btn:active {
  transform: scale(0.985);
}

.jg-btn-primary {
  background: var(--jg-green);
  color: #fff !important;
  box-shadow: 0 14px 28px rgba(6, 63, 36, 0.24);
}

.jg-btn-secondary {
  background: #fffdf6;
  color: var(--jg-green) !important;
  border: 1px solid var(--jg-line);
}

.jg-section {
  padding: 34px 0;
}

.jg-card {
  background: var(--jg-card);
  border: 1px solid var(--jg-line);
  border-radius: var(--jg-radius);
  padding: 28px 22px;
  box-shadow: 0 16px 46px rgba(6, 63, 36, 0.07);
}

.jg-section-title {
  margin: 0;
  font-size: 30px;
  font-weight: 950;
  line-height: 1.16;
  letter-spacing: -0.06em;
  color: var(--jg-text);
}

.jg-section-text {
  margin: 14px 0 0;
  color: var(--jg-muted);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: -0.04em;
}

.jg-keywords {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.jg-keyword {
  min-height: 56px;
  border-radius: 17px;
  background: rgba(6, 63, 36, 0.06);
  color: var(--jg-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.jg-story-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.jg-story {
  padding: 19px 20px;
  border-radius: 22px;
  background: #fffdf6;
  border: 1px solid var(--jg-line);
}

.jg-story strong {
  display: block;
  color: var(--jg-green);
  font-size: 21px;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.jg-cta {
  text-align: center;
  background: var(--jg-green);
  color: #fff;
  border-radius: 30px;
  padding: 36px 22px;
  box-shadow: 0 20px 60px rgba(6, 63, 36, 0.22);
}

.jg-cta h2 {
  margin: 0;
  font-size: 31px;
  font-weight: 950;
  line-height: 1.18;
  letter-spacing: -0.06em;
}

.jg-cta p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.035em;
}

.jg-cta .jg-btn {
  margin-top: 23px;
  background: #fff;
  color: var(--jg-green) !important;
  box-shadow: none;
}

.jg-partner {
  text-align: center;
  padding-bottom: 46px;
}

.jg-partner .jg-card {
  background: rgba(255, 253, 246, 0.72);
  box-shadow: none;
}

.jg-partner .jg-section-title {
  font-size: 25px;
}

.jg-partner .jg-btn {
  margin-top: 20px;
  min-height: 52px;
  font-size: 16px;
}

.jg-footer {
  padding: 20px 0 34px;
  text-align: center;
  color: rgba(20, 50, 36, 0.45);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.jg-fixed {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 248, 233, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(6, 63, 36, 0.09);
}

.jg-fixed-inner {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.jg-fixed .jg-btn {
  min-height: 56px;
  border-radius: 17px;
  font-size: 17px;
}

@media (min-width: 768px) {
  .jg-page {
    background:
      radial-gradient(circle at 20% 10%, rgba(11, 90, 52, 0.08), transparent 28%),
      radial-gradient(circle at 80% 20%, rgba(240, 152, 75, 0.12), transparent 24%),
      var(--jg-cream);
  }

  .jg-wrap {
    max-width: 620px;
  }

  .jg-hero {
    min-height: 760px;
  }
}
