@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/variable/pretendardvariable-dynamic-subset.css");

:root {
  --ink: #22222f;
  --muted: #666478;
  --purple: #3e1dd7;
  --purple-dark: #1f0e46;
  --blue: #2d5bf3;
  --bookchat-bg: #d8d0ff;
  --sky: #dff5ff;
  --surface: #ffffff;
  --section: #f7f7fb;
  --shadow: 0 24px 60px rgba(39, 30, 105, 0.18);
  --header-height: 100px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

html.lenis,
html.lenis body {
  height: auto;
  letter-spacing: -0.02em;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Pretendard Variable", "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
  background: #fff;
  word-break: keep-all;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  width: 100%;
  background: transparent;
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  transition: background-color 0.24s ease, backdrop-filter 0.24s ease, -webkit-backdrop-filter 0.24s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav,
.section-inner {
  width: min(100% - 40px, 1120px);
  margin: 0 auto;
}

.nav {
  position: relative;
  z-index: 1;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 170px;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.nav-links {
  display: flex;
  gap: clamp(18px, 4vw, 58px);
  font-size: 18px;
  font-weight: 600;
}

.nav-toggle {
  display: none;
}

.mobile-menu,
.mobile-menu-backdrop {
  display: none;
}

.section-panel {
  background: linear-gradient(145deg, #fff 0%, #f9fbff 56%, #f5f0ff 100%);
}

.hero {
  overflow: hidden;
  position: relative;
  /* height: 90svh; */
  padding-top: var(--header-height);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  width: 100vw;
  height: 250px;
  background: linear-gradient(180deg, #f6f5ff00 0%, #f8f9ff80 50%, #f8f9ff 80%);

}

.hero .copy-block {
  margin-bottom: 30%;
}

.hero-grid,
.feature-grid,
.coupon-grid,
.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 500px);
  align-items: center;
  /* gap: clamp(48px, 8vw, 120px); */
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: 80svh;
  padding: 0;
}

.copy-block {
  max-width: 560px;
}

.copy-block h1 {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.copy-block.narrow {
  max-width: 430px;
}

.eyebrow {
  margin: 0 0 20px;
  color: #222222;
  font-size: 24px;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(40px, 5.4vw, 64px);
  line-height: 1.16;
  letter-spacing: 0;
}

h1 span {
  color: var(--purple);
}

h2 {
  margin-bottom: 32px;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.12;
  letter-spacing: -1px;
}

.lead,
.copy-block p:not(.eyebrow),
.coupon-copy p,
.cta-copy p {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.4;
  font-weight: 500;
}

.primary-button,
.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 0 28px 0 36px;
  border-radius: 16px;
  font-size: 20px;
  font-weight: 600;
}

.primary-button {
  margin-top: 14px;
  color: #fff;
  background: linear-gradient(135deg, #4a28ff, #2100b9);
  box-shadow: 0 12px 22px rgba(48, 21, 199, 0.32);
}

.phone-scene,
.weather-visual,
.share-preview {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
}

.phone-scene {
  z-index: 1;
}

.hero-phone-image {
  position: relative;
  z-index: 2;
  display: block;
  width: min(540px, 100%);
  height: auto;
  filter: drop-shadow(0 30px 36px rgba(42, 35, 89, 0.18));
  transform: translate3d(0, var(--hero-phone-y, 0px), 0) rotate(var(--hero-phone-rotate, 0deg));
  will-change: transform;
}

.hero-background {
  position: absolute;
  top: 50%;
  right: max(20px, calc((100vw - 1120px) / 2 - 34px));
  z-index: 0;
  width: clamp(430px, 46vw, 680px);
  aspect-ratio: 1.18;
  transform: translate3d(var(--hero-bg-x, 0px), calc(-54% + var(--hero-bg-y, 0px)), 0);
  pointer-events: none;
  will-change: transform;
}

.hero-bg-layer {
  position: absolute;
  z-index: 0;
  width: clamp(300px, 40vw, 500px);
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0.72;
  filter: blur(80px);
  will-change: transform;
}

.hero-bg-layer.blue {
  top: 50%;
  left: 2%;
  background: #bfe6f7;
}

.hero-bg-layer.purple {
  top: 0;
  left: 10%;
  width: clamp(400px, 45vw, 600px);
  background: #d9d1ff;
}

.hero-bg-layer.pink {
  top: 34%;
  left: 53%;
  background: #ffdce7;
}

.phone {
  position: relative;
  width: 245px;
  aspect-ratio: 0.51;
  padding: 12px;
  border: 7px solid #1e1f2d;
  border-radius: 38px;
  background: #f4f4f7;
  box-shadow: var(--shadow);
}

.phone-tilt {
  transform: rotate(9deg);
}

.phone-speaker {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 64px;
  height: 6px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #1e1f2d;
  opacity: 0.82;
  z-index: 2;
}

.phone-screen {
  height: 100%;
  overflow: hidden;
  border-radius: 27px;
  background: #fff;
  padding: 25px 14px 16px;
}

.app-top,
.tab-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #333246;
  font-size: 10px;
  font-weight: 800;
}

.tiny-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ede9ff;
}

.featured-card {
  min-height: 124px;
  margin: 12px 0 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 12px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 10%, rgba(0, 0, 0, 0.78) 100%),
    radial-gradient(circle at 70% 30%, #eb8d62, transparent 24%),
    linear-gradient(135deg, #1c2237, #10101b);
}

.featured-card.dark {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 5%, rgba(0, 0, 0, 0.8) 100%),
    linear-gradient(135deg, #354c69, #171422);
}

.featured-card h2 {
  margin: 5px 0 0;
  font-size: 15px;
  line-height: 1.25;
}

.tag {
  font-size: 9px;
  font-weight: 800;
  opacity: 0.85;
}

.tab-row span {
  padding: 7px 0;
  color: #9a98aa;
}

.tab-row .active {
  color: var(--purple);
}

.mini-list {
  display: grid;
  gap: 9px;
  padding: 8px 0 14px;
}

.mini-list span {
  height: 8px;
  border-radius: 999px;
  background: #eceaf4;
}

.mini-list span:nth-child(2) {
  width: 74%;
}

.mini-list span:nth-child(3) {
  width: 88%;
}

.mini-list.compact span {
  height: 10px;
}

.feed-row {
  display: grid;
  grid-template-columns: 1fr 56px;
  gap: 10px;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid #f1eff7;
}

.feed-row strong {
  display: block;
  font-size: 11px;
  line-height: 1.35;
}

.feed-row p {
  margin: 5px 0 0;
  color: #8b899c;
  font-size: 9px;
  line-height: 1.4;
}

.thumb {
  width: 56px;
  height: 48px;
  border-radius: 8px;
  background: linear-gradient(135deg, #d6edf1, #9a745d);
}

.coupon-band {
  position: relative;
  overflow: hidden;
  height: 840px;
  color: #fff;
  background-image: url("../images/section01-bg.png");
  background-repeat: no-repeat;
  background-color: #1d0e39;
  background-size: auto 100%;
  background-position: calc(50% + 300px) center;
}



.coupon-grid {
  height: 100%;
  padding: 88px 0;
  perspective: 1000px;
}

.coupon-copy h2 {
  color: #fff;
  margin-bottom: 15%;
}

.coupon-copy p,
.coupon-copy .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.coupon-ticket {
  justify-self: center;
  width: min(320px, 50vw);
  display: block;
  height: auto;
  filter: drop-shadow(0 0 44px rgba(88, 85, 255, 0.55));
  transform-origin: center center;
  transform-style: preserve-3d;
  backface-visibility: visible;
  animation: coupon-spin-y 8.4s ease-in-out infinite;
}

@keyframes coupon-spin-y {
  0% {
    transform: rotateY(0deg);
  }

  14.3%,
  50% {
    transform: rotateY(180deg);
  }

  64.3%,
  100% {
    transform: rotateY(0deg);
  }
}

.feature-section {
  overflow: hidden;
  height: 840px;
}

.feature-grid {
  height: 100%;
  min-height: 0;
  padding: 0;
}

.feature-section .copy-block h2,
.weather-section .copy-block h2 {
  margin-bottom: 15%;
}

.reverse {
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1fr);
}

.reverse .copy-block {
  order: -1;
}

.bookchat-section {
  background: var(--bookchat-bg);
}

.knowledge-masonry {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  height: 640px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
}

.knowledge-column {
  overflow: hidden;
}

.knowledge-track {
  display: grid;
  gap: 20px;
  will-change: transform;
}

.scroll-down .knowledge-track {
  animation: knowledge-scroll-down 18s linear infinite;
}

.scroll-up .knowledge-track {
  animation: knowledge-scroll-up 18s linear infinite;
}

.knowledge-card {
  overflow: hidden;
  min-height: 0;
  background: #fff;
  border: 1px solid #00000010;
}

.knowledge-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 0.78;
  object-fit: cover;
}

.knowledge-body {
  padding: 20px;
}

.knowledge-body h3 {
  margin-bottom: 8px;
  color: #222222;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
}

.knowledge-body p {
  margin: 0;
  color: #666666;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
}

@keyframes knowledge-scroll-up {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(calc(-50% - 8px));
  }
}

@keyframes knowledge-scroll-down {
  from {
    transform: translateY(calc(-50% - 8px));
  }

  to {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {

  .coupon-ticket,
  .scroll-down .knowledge-track,
  .scroll-up .knowledge-track,
  .bookchat-preview.is-visible .bookchat-message {
    animation: none;
  }

  .bookchat-message {
    opacity: 1;
    transform: none;
  }
}

.bookchat-preview {
  justify-self: flex-end;
  width: min(500px, 100%);
  /* background: linear-gradient(180deg, #fff 0%, #f3f0ff 100%); */
  /* box-shadow: 0 28px 64px rgba(71, 60, 138, 0.16); */
}

.bookchat-header-image {
  display: block;
  width: 100%;
  height: auto;
}

.bookchat-panel {
  min-height: 430px;
  padding: 36px 44px 48px;
  background: linear-gradient(180deg, #fff 0%, #d8d0ff 100%);
}

.bookchat-book-title {
  margin-bottom: 14px;
  color: #8d899a;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 500;
}

.bookchat-panel h3 {
  margin-bottom: 64px;
  color: #2c2a32;
  font-size: 26px;
  line-height: 1.34;
  font-weight: 600;
}

.bookchat-thread {
  display: grid;
  gap: 34px;
}

.bookchat-message {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  opacity: 0;
  transform: translateY(28px);
}

.bookchat-preview.is-visible .bookchat-message {
  animation: bookchat-bubble-up 0.72s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.bookchat-preview.is-visible .bookchat-message:nth-child(2) {
  animation-delay: 0.42s;
}

.bookchat-message-right {
  justify-content: flex-end;
}

.bookchat-message-right .bookchat-avatar {
  order: 2;
}

.bookchat-message-content {
  display: grid;
  gap: 10px;
  max-width: 330px;
}

.bookchat-message-content strong {
  color: #383541;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
}

.bookchat-message-right .bookchat-message-content strong {
  text-align: right;
}

.bookchat-message-content p {
  margin: 0;
  padding: 16px 22px;
  color: #383541;
  background: #cfcfff;
  border-radius: 4px;
  font-size: 15px;
  line-height: 1.65;
  font-weight: 700;
}

.bookchat-message-right .bookchat-message-content p {
  color: #4f3a69;
  background: #fff;
  box-shadow: 0 12px 22px rgba(85, 72, 138, 0.08);
}

.bookchat-avatar {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  margin-top: 2px;
  border-radius: 50%;
}

.bookchat-avatar.peach {
  background: #ffdfda;
}

.bookchat-avatar.mint {
  background: #ddffd6;
}

@keyframes bookchat-bubble-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.library-grid {
  --library-gap: 24px;
  --library-loop-offset: 12px;
  justify-self: center;
  width: min(500px, 100%);
  height: 640px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--library-gap);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.library-column {
  overflow: hidden;
}

.library-track {
  display: grid;
  gap: var(--library-gap);
  will-change: transform;
}

.scroll-down .library-track {
  animation: library-scroll-down 22s linear infinite;
}

.scroll-up .library-track {
  animation: library-scroll-up 22s linear infinite;
}

.library-cover {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
  /* box-shadow: 0 16px 34px rgba(39, 30, 105, 0.12); */
}

@keyframes library-scroll-up {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(calc(-50% - var(--library-loop-offset)));
  }
}

@keyframes library-scroll-down {
  from {
    transform: translateY(calc(-50% - var(--library-loop-offset)));
  }

  to {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {

  .scroll-down .library-track,
  .scroll-up .library-track {
    animation: none;
  }
}

.weather-section {
  position: relative;
  overflow: hidden;
  height: 840px;
  padding: 0;
  background:
    linear-gradient(180deg, rgba(223, 245, 255, 0.72) 0%, rgba(223, 245, 255, 0.18) 42%, rgba(223, 245, 255, 0) 100%),
    url("../images/weather-section-bg.png") center bottom / cover no-repeat,
    #dff5ff;
}

.weather-visual {
  position: relative;
  justify-self: center;
  width: min(500px, 100%);
  min-height: 420px;
}

.weather-object {
  position: absolute;
  display: block;
  height: auto;
  user-select: none;
  pointer-events: none;
}

.weather-outfit-image {
  right: 0;
  bottom: -48px;
  z-index: 1;
  width: min(326px, 60%);
}

.weather-card-image {
  left: 5%;
  top: 4%;
  z-index: 3;
  width: min(326px, 60%);
  filter: drop-shadow(0 24px 34px rgba(62, 89, 117, 0.12));
}

.weather-note-image {
  left: 27%;
  bottom: -25%;
  z-index: 4;
  width: min(130px, 25%);
  filter: drop-shadow(0 18px 28px rgba(0, 147, 209, 0.18));
}

.weather-sun-image {
  right: 20%;
  top: -10%;
  z-index: 4;
  width: min(140px, 25%);
}

.share-preview {
  justify-self: center;
  position: relative;
  width: min(520px, 100%);
  min-height: 0;
}

.share-card-stack {
  width: min(455px, 88%);
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.share-object {
  position: absolute;
  display: block;
  height: auto;
  user-select: none;
}

.share-card-image {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  filter: drop-shadow(0 18px 28px rgba(31, 28, 51, 0.08));
}

.share-icon-image {
  left: -10%;
  top: 28%;
  z-index: 4;
  width: min(200px, 40%);
  filter: drop-shadow(0 24px 34px rgba(49, 24, 202, 0.26));
}

.share-cursor-image {
  left: 0;
  top: 42%;
  z-index: 5;
  width: min(112px, 22%);
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.18));
}

.cta-section {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #321596;
}

.cta-grid {
  min-height: 560px;
  padding: 0;
}

.cta-copy {
  align-self: center;
  position: relative;
  z-index: 2;
}

.cta-copy h2 {
  margin-bottom: 40px;
  color: #fff;
  font-size: clamp(36px, 4.8vw, 48px);
  line-height: 1.25;
  font-weight: 700;
}

.cta-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.outline-button {
  min-width: 200px;
  min-height: 52px;
  margin-bottom: 80px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.03);
  font-size: 16px;
  font-weight: 500;
}

.cta-service-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cta-service-row img {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
}

.cta-service-row p {
  font-size: 16px;
  line-height: 1.35;
  font-weight: 600;
}

.cta-bottom-row {
  display: flex;
  align-items: center;
  gap: 34px;
}

.store-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 0;
}

.store-row a {
  display: block;
  line-height: 0;
}

.store-row img {
  display: block;
  width: 128px;
  height: auto;
}

.cta-phone {
  position: relative;
  justify-self: center;
  align-self: end;
  z-index: 1;
  width: min(430px, 86vw);
  transform: translateY(80px);
  transition: none;
}

.cta-phone>img:not(.cta-bubble-bg) {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 36px rgba(20, 11, 76, 0.28));
}

.cta-bubble-bg {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 16%;
  width: min(640px, 170%);
  max-width: none;
  height: auto;
  transform: translate(-50%, -5%);
  pointer-events: none;
}

.footer {
  padding: 40px 0;
  background: #fff;
  color: #5d5a6d;
  font-size: 13px;
  line-height: 1.4;
}

.footer-menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 18px;
}

.footer-menu a {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: #333246;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
}

.footer-menu a+a {
  margin-left: 13px;
  padding-left: 14px;
}

.footer-menu a+a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 12px;
  background: #d7d5df;
  transform: translateY(-50%);
}

.footer-menu .privacy-link {
  font-weight: 500;
}

.footer-company-title {
  display: block;
  margin-bottom: 8px;
  color: #333246;
  font-weight: 800;
}

.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;
}

.cancel-page {
  background: #fff;
}

.cancel-main {
  min-height: calc(100svh - var(--header-height));
  background: #f7f7fa;
}

.cancel-section {
  /* min-height: calc(100svh - var(--header-height)); */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 200px 24px 100px;
}

.cancel-panel {
  width: min(100%, 430px);
  margin-top: -34px;
  text-align: center;
}

.cancel-panel h1 {
  margin-bottom: 60px;
  color: #000;
  font-size: clamp(34px, 3vw, 48px);
  line-height: 1.15;
  font-weight: 700;
}

.cancel-form {
  text-align: left;
}

.cancel-field-row {
  min-height: 58px;
  padding: 6px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 102px;
  align-items: center;
  gap: 8px;
  border: 1px solid #bdbdc6;
  border-radius: 10px;
  background: #fff;
}

.cancel-field-row+.cancel-field-row {
  margin-top: 20px;
}

.cancel-input-wrap {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.cancel-field-row input {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 12px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #22222f;
  font: inherit;
  font-size: 17px;
  font-weight: 500;
}

.cancel-field-row input::placeholder {
  color: #9a9aa4;
}

.auth-timer {
  flex: 0 0 auto;
  color: #2100d8;
  font-size: 17px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0;
}

.cancel-field-row button {
  height: 44px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #242424;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.cancel-field-row.is-disabled {
  border-color: #d6d6de;
  background: #fbfbfd;
}

.cancel-field-row.is-disabled .auth-timer {
  color: #b6b6c0;
}

.cancel-field-row.is-disabled button,
.cancel-field-row button:disabled {
  color: #fff;
  background: #dedee3;
  cursor: not-allowed;
}

.cancel-toast {
  min-height: 20px;
  margin: 10px 0 0 6px;
  color: #ff4b00;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
}

.cancel-toast::before {
  content: "▲";
  margin-right: 4px;
  font-size: 11px;
  vertical-align: 1px;
}

.cancel-toast[hidden] {
  display: none;
}

.cancel-guide {
  margin: 30px 0 40px;
  padding-left: 18px;
  color: #777783;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 500;
}

.cancel-guide li+li {
  margin-top: 6px;
}

.cancel-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.cancel-actions.is-single {
  grid-template-columns: 1fr;
}

/* 서비스 해지 버튼만 노출해야 할 때 cancel-actions에 is-service-only를 추가합니다. */
.cancel-actions.is-service-only {
  grid-template-columns: 1fr;
}

.cancel-actions.is-service-only .cancel-outline-button {
  display: none;
}

.cancel-actions:has(> button:only-child) {
  grid-template-columns: 1fr;
}

.cancel-actions button {
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  padding-block: 12px;
}

.cancel-outline-button {
  border: 1px solid #351cff;
  color: #351cff;
  background: #fff;
}

.cancel-primary-button {
  border: 1px solid #3b1ed9;
  color: #fff;
  background: #3b1ed9;
}

.cancel-outline-button:disabled,
.cancel-primary-button:disabled,
.cancel-actions button.is-disabled,
.cancel-actions button[aria-disabled="true"] {
  border-color: #d9d9e1;
  color: #aaaab4;
  background: #ececf1;
  box-shadow: none;
  cursor: not-allowed;
  pointer-events: none;
}

.cancel-footer {
  padding: 48px 0 50px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 860px) {
  :root {
    --header-height: 64px;
  }

  .nav {
    min-height: 64px;
  }

  .nav-links {
    gap: 14px;
    font-size: 12px;
  }

  .hero-grid,
  .feature-grid,
  .coupon-grid,
  .cta-grid,
  .reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-grid {
    min-height: auto;
    padding: 56px 0 70px;
  }

  .feature-grid,
  .coupon-grid,
  .cta-grid {
    height: auto;
    min-height: auto;
    padding: 0;
  }

  .coupon-grid {
    gap: 50px;
  }

  .coupon-grid .coupon-ticket {
    margin-bottom: 80px;
  }

  .reverse .copy-block {
    order: 0;
  }

  .copy-block,
  .copy-block.narrow {
    max-width: none;
  }


  .bookchat-preview {
    width: 90%;
    margin: 0 auto;
  }

  .hero .copy-block {
    text-align: center;
    z-index: 3;
    font-size: 24px;
  }

  .phone-scene,
  .weather-visual {
    min-height: 380px;
  }

  .hero-phone-image {
    width: min(340px, 88vw);
  }

  .hero-background {
    top: auto;
    right: 50%;
    bottom: 40px;
    width: min(520px, 116vw);
    transform: translate3d(calc(50% + var(--hero-bg-x, 0px)), var(--hero-bg-y, 0px), 0);
  }

  .hero-bg-layer {
    width: clamp(190px, 45vw, 260px);
  }

  .phone {
    width: 210px;
  }

  .coupon-copy h2,
  .feature-section .copy-block h2,
  .weather-section .copy-block h2 {
    margin-bottom: 20px;
  }

  .coupon-band,
  .feature-section,
  .weather-section {
    height: auto;
    padding: 40px 0;
  }

  .coupon-band {
    background-position: center;
  }

  .eyebrow {
    font-size: 16px;
  }

  .cta-grid {
    padding: 56px 0 0;
  }

  .cta-copy h2 {
    margin-bottom: 36px;
  }

  .outline-button {
    margin-bottom: 56px;
  }

  .cta-bottom-row {
    align-items: flex-start;
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .cta-service-row img {
    display: none;
  }

  .cta-phone {
    width: min(330px, 78vw);
    transform: rotate(-6deg) translateY(42px);
  }
}

@media (max-width: 560px) {
  :root {
    --header-height: 70px;
  }

  body {
    padding-bottom: calc(90px + env(safe-area-inset-bottom));
  }

  .nav,
  .section-inner {
    width: min(100% - 48px, 1120px);
  }

  .nav {
    align-items: center;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    min-height: 70px;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
    margin-left: auto;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 0;
    /* border-radius: 12px; */
    background: transparent;

    /* box-shadow: 0 10px 24px rgba(42, 35, 89, 0.08); */
  }

  .nav-toggle span {
    width: 24px;
    height: 2px;
    background: #22222f;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  body.is-menu-open .nav-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  body.is-menu-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.is-menu-open .nav-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: block;
    background: rgba(20, 16, 44, 0.28);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
  }

  .mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 81;
    width: min(310px, 82vw);
    height: 100svh;
    padding: calc(12px + env(safe-area-inset-top)) 12px 12px 24px;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 1);
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .mobile-menu-head {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #22222f;
    font-size: 18px;
    font-weight: 600;
  }

  .mobile-menu-close {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 4px;
    color: #22222f;
    background: #f7f7f7;
    font-size: 32px;
    line-height: 1;
    font-weight: 100;
  }

  .mobile-menu>a {
    padding: 24px 4px;
    color: #222222;
    border-bottom: 1px solid #eceaf4;
    font-size: 20px;
    font-weight: 600;
  }

  body.is-menu-open {
    overflow: hidden;
  }

  body.is-menu-open .mobile-menu {
    transform: translateX(0);
  }

  body.is-menu-open .mobile-menu-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 24px;
  }

  .lead,
  .copy-block p:not(.eyebrow),
  .coupon-copy p,
  .cta-copy p {
    font-size: 16px;
  }

  nav .brand {
    width: 120px;
  }

  .phone-scene {
    min-height: 320px;
    margin-top: -35vw;
    z-index: 0;
  }

  .hero-background {
    bottom: 88px;
    width: 112vw;
  }

  .hero-bg-layer {
    width: 54vw;
  }

  .hero-grid {
    gap: 24px;
    padding: 10vw 0 0;
  }

  .hero .copy-block.reveal,
  .hero .copy-block.reveal.is-visible {
    transform: none;
  }

  .hero .primary-button {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: calc(24px + env(safe-area-inset-bottom));
    z-index: 40;
    width: auto;
    min-height: 52px;
    margin-top: 0;
    padding: 0 20px;
    border-radius: 14px;
    box-shadow: 0 16px 34px rgba(48, 21, 199, 0.34);
    font-size: 18px;
  }

  .cancel-page {
    padding-bottom: 0;
  }

  .cancel-section {
    /* min-height: calc(100svh - var(--header-height)); */
    padding: 54px 24px 72px;
  }

  .cancel-panel {
    margin-top: var(--header-height);
  }

  .cancel-panel h1 {
    margin-bottom: 48px;
    font-size: 34px;
  }

  .cancel-field-row {
    grid-template-columns: minmax(0, 1fr) 86px;
    min-height: 54px;
    padding: 5px;
  }

  .cancel-field-row input {
    height: 42px;
    padding: 0 10px;
    font-size: 15px;
  }

  .cancel-input-wrap {
    gap: 8px;
  }

  .auth-timer {
    font-size: 15px;
  }

  .cancel-field-row button {
    height: 42px;
    font-size: 14px;
  }

  .cancel-toast {
    margin-left: 4px;
    font-size: 13px;
  }

  .cancel-guide {
    margin: 22px 0 44px;
    font-size: 13px;
  }

  .cancel-actions {
    grid-template-columns: 1fr;
  }

  .cancel-actions button {
    min-height: 50px;
  }

  .hero::after {
    display: none;
  }

  .library-grid {
    --library-gap: 10px;
    --library-loop-offset: 5px;
    height: 480px;
  }

  .knowledge-masonry {
    gap: 10px;
    height: 460px;
  }

  .knowledge-track {
    gap: 10px;
  }

  .knowledge-body {
    padding: 13px 12px 15px;
  }

  .knowledge-body h3 {
    font-size: 14px;
  }

  .knowledge-body p {
    font-size: 11px;
  }

  .bookchat-panel {
    min-height: 360px;
    padding: 12px;
  }

  .bookchat-book-title {
    font-size: 13px;
  }

  .bookchat-panel h3 {
    margin-bottom: 20px;
    font-size: 16px;
  }

  .bookchat-message-content {
    max-width: 250px;
  }

  .bookchat-message-content p {
    padding: 10px;
    font-size: 14px;
  }

  .share-preview {
    min-height: 0;
  }

  .share-card-stack {
    width: min(315px, 86%);
    gap: 20px;
  }

  .share-icon-image {
    left: -16px;
    top: 0;
    width: min(140px, 50%);
  }

  .share-cursor-image {
    left: 28px;
    top: 80px;
    width: min(78px, 22%);
  }

  .weather-visual {
    min-height: 350px;
  }

  .weather-outfit-image {
    right: 0;
    bottom: 0;
    width: min(270px, 72%);
  }

  .weather-card-image {
    left: 0;
    top: 2%;
    width: min(260px, 70%);
  }

  .weather-note-image {
    left: 4%;
    bottom: 2%;
    width: min(96px, 26%);
  }

  .weather-sun-image {
    right: 0;
    top: -4%;
    width: min(72px, 18%);
  }

  .store-row {
    flex-wrap: wrap;
  }

  .cta-grid {
    gap: 24px;
    padding-top: 48px;
    text-align: center;
  }

  .cta-copy h2 {
    font-size: 32px;
  }

  .outline-button {
    min-height: 50px;
    margin-bottom: 44px;
    font-size: 14px;
  }

  .cta-service-row p {
    font-size: 15px;
  }

  .store-row img {
    width: 112px;
  }

  .cta-phone {
    width: min(265px, 74vw);
    transform: translateY(36px);
  }

  .cta-bubble-bg {
    width: min(430px, 170%);
  }

  .footer {
    padding-bottom: 0;
  }
}
