:root {
  --ink: #20334f;
  --ink-soft: #53657a;
  --sky: #75bee9;
  --sky-dark: #397daa;
  --orange: #f47932;
  --orange-dark: #d95b20;
  --paper: #fff9ea;
  --paper-deep: #f5e6c7;
  --green: #6c9b63;
  --green-soft: #e9f2d9;
  --line: rgba(64, 88, 113, 0.16);
  --shadow: 0 24px 60px rgba(35, 61, 91, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 8%, rgba(255, 255, 255, 0.9) 0 3px, transparent 4px),
    radial-gradient(circle at 82% 16%, rgba(255, 255, 255, 0.7) 0 4px, transparent 5px),
    linear-gradient(180deg, #c9e9fb 0, #eaf7fd 38%, #fffaf0 68%, #f8efd9 100%);
  font-family: "Noto Sans KR", sans-serif;
  min-width: 320px;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 4px solid #ffb446;
  outline-offset: 4px;
  border-radius: 8px;
}

.site-header,
main,
footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 3;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--orange);
  border: 3px solid white;
  border-radius: 14px 14px 14px 4px;
  box-shadow: 0 5px 0 var(--orange-dark);
  font: 700 28px/1 "Gaegu", cursive;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  letter-spacing: 0.08em;
  font-size: 18px;
}

.brand small {
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.header-link {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px dashed rgba(32, 51, 79, 0.4);
  padding: 6px 2px;
}

.header-actions,
.language-switcher {
  display: flex;
  align-items: center;
}

.header-actions {
  gap: 18px;
}

.language-switcher {
  padding: 4px;
  gap: 2px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(32, 51, 79, 0.13);
  border-radius: 10px;
}

.language-switcher button {
  min-width: 35px;
  min-height: 30px;
  padding: 0 7px;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  border-radius: 7px;
  font: 800 11px/1 "Noto Sans KR", sans-serif;
  cursor: pointer;
}

.language-switcher button.is-active {
  color: white;
  background: var(--ink);
  box-shadow: 0 2px 0 rgba(32, 51, 79, 0.18);
}

.language-switcher button:focus-visible {
  outline: 3px solid #ffb446;
  outline-offset: 2px;
}

.hero {
  min-height: 670px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
  padding: 56px 5% 70px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 10px -40px 0;
  z-index: -1;
  border-radius: 54px 54px 20px 20px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.08)),
    repeating-linear-gradient(0deg, transparent 0 34px, rgba(79, 140, 177, 0.09) 35px 36px);
  border: 1px solid rgba(255, 255, 255, 0.75);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--sky-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.19em;
}

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

h1 {
  margin-bottom: 24px;
  font: 700 clamp(42px, 5.4vw, 74px)/0.96 "Gaegu", cursive;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

h1 em {
  color: var(--orange);
  font-style: normal;
  text-shadow: 2px 3px 0 white;
}

.hero-description {
  margin-bottom: 28px;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.85;
}

.title-lockup {
  width: fit-content;
  display: grid;
  padding: 14px 24px 13px;
  margin-bottom: 30px;
  color: #fff;
  background: var(--ink);
  transform: rotate(-1.5deg);
  box-shadow: 6px 7px 0 rgba(255, 255, 255, 0.75);
}

.title-lockup strong {
  font: 700 31px/0.9 "Gaegu", cursive;
}

.title-lockup span:not(.title-kicker) {
  margin-top: 5px;
  color: #bfe7fb;
  font-size: 10px;
  letter-spacing: 0.1em;
}

.title-kicker {
  color: #ffb65e;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 22px;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  color: #fff;
  background: var(--orange);
  box-shadow: 0 6px 0 var(--orange-dark);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.74);
  border: 2px solid rgba(50, 91, 122, 0.2);
  box-shadow: 0 5px 0 rgba(62, 104, 133, 0.15);
}

.hero-art {
  width: min(100%, 420px);
  justify-self: center;
  position: relative;
  transform: rotate(2deg);
}

.phone-frame {
  padding: 13px;
  background: #fffdf6;
  border: 3px solid #fff;
  border-radius: 34px;
  box-shadow: var(--shadow), 0 0 0 2px rgba(67, 107, 137, 0.14);
}

.phone-frame img {
  width: 100%;
  aspect-ratio: 526 / 936;
  display: block;
  object-fit: cover;
  border-radius: 23px;
}

.tape {
  position: absolute;
  width: 92px;
  height: 26px;
  z-index: 2;
  opacity: 0.85;
  clip-path: polygon(4% 12%, 100% 0, 96% 88%, 0 100%);
}

.tape-blue {
  top: -8px;
  left: 50%;
  background: #85cbed;
  transform: translateX(-50%) rotate(-2deg);
}

.note-warm {
  position: absolute;
  right: -92px;
  bottom: 90px;
  width: 145px;
  padding: 15px 12px;
  color: #9f4b24;
  background: #fff1a8;
  box-shadow: 6px 8px 18px rgba(65, 82, 102, 0.18);
  transform: rotate(-7deg);
  text-align: center;
  font: 700 20px/0.9 "Gaegu", cursive;
}

.note-warm::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 2px dashed rgba(159, 75, 36, 0.3);
}

.spark {
  position: absolute;
  color: var(--orange);
  font-size: 42px;
}

.spark-one {
  top: 12%;
  right: -25px;
}

.spark-two {
  bottom: 34%;
  left: -45px;
}

.journal-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 10px auto 110px;
  overflow: hidden;
  background: rgba(54, 74, 96, 0.13);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 14px 32px rgba(49, 71, 95, 0.1);
}

.journal-strip article {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 251, 240, 0.92);
}

.feature-icon {
  font-size: 30px;
}

.journal-strip strong,
.journal-strip small {
  display: block;
}

.journal-strip strong {
  margin-bottom: 4px;
  font-size: 15px;
}

.journal-strip small {
  color: var(--ink-soft);
  font-size: 12px;
}

.another-story {
  padding-bottom: 110px;
}

.section-heading {
  margin-bottom: 34px;
  text-align: center;
}

.eyebrow-green {
  color: var(--green);
}

h2 {
  font: 700 clamp(35px, 4.3vw, 54px)/1.06 "Gaegu", cursive;
}

.motungi-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(300px, 1.2fr);
  align-items: center;
  gap: clamp(32px, 7vw, 90px);
  padding: clamp(28px, 5vw, 58px);
  position: relative;
  background:
    linear-gradient(rgba(255,255,255,0.6), rgba(255,255,255,0.34)),
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(108, 155, 99, 0.05) 39px 40px),
    var(--green-soft);
  border: 1px solid rgba(83, 126, 74, 0.16);
  border-radius: 32px;
  box-shadow: 0 20px 50px rgba(66, 86, 55, 0.13);
}

.motungi-art {
  width: min(100%, 330px);
  justify-self: center;
  position: relative;
}

.motungi-art img {
  width: 100%;
  aspect-ratio: 526 / 936;
  display: block;
  object-fit: cover;
  border: 11px solid #fffdf4;
  border-radius: 7px;
  box-shadow: 0 18px 35px rgba(64, 86, 54, 0.22);
  transform: rotate(-2deg);
}

.tape-green {
  top: -11px;
  left: 50%;
  background: #a7c882;
  transform: translateX(-50%) rotate(3deg);
}

.leaf {
  font-size: 36px;
}

.story-label {
  margin: 8px 0 6px;
  color: var(--green);
  font: 700 23px/1 "Gaegu", cursive;
}

.motungi-copy h3 {
  margin-bottom: 22px;
  color: #45663e;
  font: 700 clamp(42px, 5vw, 66px)/0.9 "Gaegu", cursive;
}

.motungi-copy h3 small {
  display: block;
  margin-top: 10px;
  font-size: 24px;
}

.motungi-copy > p:not(.story-label) {
  max-width: 540px;
  color: #5d6d56;
  font-size: 16px;
  line-height: 1.9;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 0 7px;
  color: #45663e;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid #7da473;
}

footer {
  min-height: 120px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px 24px;
  padding: 28px 6px;
  border-top: 1px solid rgba(65, 85, 104, 0.18);
}

footer div strong,
footer div span {
  display: block;
}

footer div strong {
  letter-spacing: 0.1em;
}

footer div span,
footer small {
  color: var(--ink-soft);
  font-size: 11px;
}

footer a {
  font-weight: 700;
}

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

.snow {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.5;
  background-image: radial-gradient(circle, #fff 0 2px, transparent 2.5px);
  background-size: 88px 88px;
}

.snow-two {
  background-size: 137px 137px;
  background-position: 43px 29px;
  opacity: 0.34;
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 42px;
  }

  .hero-copy {
    text-align: center;
  }

  .title-lockup {
    margin-inline: auto;
  }

  .actions {
    justify-content: center;
  }

  .hero-art {
    width: min(76vw, 380px);
  }

  .journal-strip {
    margin-top: 80px;
  }

  .motungi-card {
    grid-template-columns: 0.75fr 1.25fr;
  }
}

@media (max-width: 700px) {
  .site-header,
  main,
  footer {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: 78px;
  }

  .brand small,
  .desktop-only {
    display: none;
  }

  .header-link {
    font-size: 12px;
  }

  .header-actions {
    gap: 8px;
  }

  .header-link {
    display: none;
  }

  .language-switcher button {
    min-width: 32px;
  }

  .hero {
    min-height: 0;
    padding: 32px 4px 52px;
  }

  .hero::before {
    inset: 0 -14px;
    border-radius: 26px;
  }

  h1 {
    font-size: clamp(39px, 13vw, 57px);
  }

  .hero-description {
    padding-inline: 10px;
  }

  .button {
    width: 100%;
  }

  .hero-art {
    width: min(74vw, 330px);
  }

  .note-warm {
    right: -30px;
    bottom: 48px;
    width: 118px;
    font-size: 17px;
  }

  .journal-strip {
    grid-template-columns: 1fr;
    margin: 72px auto 82px;
  }

  .journal-strip article {
    justify-content: flex-start;
    min-height: 86px;
    padding-left: 24%;
  }

  .another-story {
    padding-bottom: 70px;
  }

  .motungi-card {
    grid-template-columns: 1fr;
    padding: 36px 24px 42px;
    text-align: center;
  }

  .motungi-art {
    width: min(65vw, 290px);
  }

  .motungi-copy > p:not(.story-label) {
    margin-inline: auto;
  }

  footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  footer small {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
