:root {
  --cream: #fff9f2;
  --cream-deep: #fbf1e4;
  --card: #fffdf9;
  --brown: #9d4619;
  --brown-dark: #6d2f13;
  --text: #2d1b12;
  --muted: #71635a;
  --line: #eadfd4;
  --shadow: 0 20px 50px rgba(91, 52, 28, 0.12);
  --max-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
  background: var(--cream);
}

body {
  margin: 0;
  color: var(--text);
  background: var(--cream);
  font-family: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  letter-spacing: -0.025em;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

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

.skip-link:focus {
  position: fixed;
  z-index: 1000;
  left: 16px;
  top: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  background: #fff;
  color: var(--brown-dark);
  box-shadow: var(--shadow);
}

.section-inner {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 78px;
  background: rgba(255, 253, 249, 0.96);
  border-bottom: 1px solid rgba(145, 92, 55, 0.1);
  backdrop-filter: blur(18px);
  transition: transform .25s ease, box-shadow .25s ease;
}

.site-header.is-scrolled { box-shadow: 0 8px 28px rgba(73, 43, 24, 0.08); }
.site-header.is-hidden { transform: translateY(-100%); }

.header-inner {
  width: min(calc(100% - 48px), var(--max-width));
  height: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 244px 1fr 134px;
  align-items: center;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  text-decoration: none;
}

.brand img {
  width: 52px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 3px 6px rgba(78, 42, 21, 0.16));
}

.brand-copy { display: grid; gap: 2px; }
.brand-copy strong { font-size: 20px; line-height: 1; letter-spacing: -0.07em; white-space: nowrap; }
.brand-copy strong span { color: #2d1b12; }
.brand-copy strong em { color: #a24a18; font-style: normal; }
.brand-copy small { color: #7d6d62; font-size: 8px; letter-spacing: -0.03em; white-space: nowrap; }

.primary-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 3vw, 44px);
}

.primary-navigation a {
  position: relative;
  padding-block: 28px;
  color: #49382e;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.primary-navigation a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 19px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--brown);
  transform: translateX(-50%);
  transition: width .2s ease;
}

.primary-navigation a:hover::after,
.primary-navigation a:focus-visible::after { width: 100%; }

.header-download {
  justify-self: end;
  min-width: 118px;
  padding: 13px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #aa5728, #884018);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(142, 68, 24, .22);
  transition: transform .2s ease, box-shadow .2s ease;
}

.header-download:hover { transform: translateY(-2px); box-shadow: 0 11px 24px rgba(142, 68, 24, .28); }
.menu-button { display: none; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: 685px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 249, 240, .96) 0%, rgba(255, 248, 237, .86) 42%, rgba(255, 249, 242, .22) 68%, rgba(255, 249, 242, .08) 100%),
    url('/assets/images/hero-background.png') center 63% / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,236,209,.18));
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 80px;
  background: linear-gradient(180deg, transparent, rgba(95, 54, 28, .12));
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 690px;
  height: 690px;
  top: -210px;
  left: 39%;
  border-radius: 50%;
  background: rgba(255, 247, 218, .65);
  filter: blur(80px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 685px;
  display: grid;
  grid-template-columns: minmax(400px, .9fr) minmax(470px, 1.1fr);
  align-items: center;
  gap: 44px;
  padding-block: 70px 54px;
}

.hero-copy { padding-left: clamp(0px, 2vw, 28px); }

.handwritten {
  margin: 0 0 28px 18px;
  color: #48362b;
  font-family: "Nanum Pen Script", "Segoe Print", cursive;
  font-size: 20px;
  line-height: 1.45;
  letter-spacing: .08em;
  transform: rotate(-5deg);
}

.hero h1 {
  margin: 0;
  font-size: clamp(54px, 5.4vw, 74px);
  line-height: .98;
  letter-spacing: -0.085em;
  text-shadow: 0 3px 0 rgba(255,255,255,.35);
}

.hero h1 span { color: #2f1a10; }
.hero h1 em { color: #aa4f1c; font-style: normal; }

.hero-kicker {
  margin: 19px 0 0;
  color: #4a3528;
  font-size: 21px;
  font-weight: 800;
}

.hero-description {
  max-width: 470px;
  margin: 18px 0 27px;
  color: #5f4d41;
  font-size: 17px;
  line-height: 1.68;
}

.store-buttons { display: flex; flex-wrap: wrap; gap: 12px; }

.store-button {
  min-width: 184px;
  height: 58px;
  padding: 8px 17px 8px 13px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  border: 1px solid #090909;
  border-radius: 10px;
  background: #050505;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 7px 16px rgba(23, 15, 10, .14);
  transition: transform .2s ease, opacity .2s ease;
}

.store-button:hover { transform: translateY(-2px); }
.store-button[aria-disabled="true"] { cursor: pointer; }
.store-button svg { flex: 0 0 auto; width: 30px; height: 30px; fill: #fff; }
.store-button .play-icon { width: 29px; height: 29px; }
.store-button span { display: grid; line-height: 1.05; }
.store-button small { font-size: 10px; font-weight: 500; letter-spacing: 0; }
.store-button strong { margin-top: 3px; font-size: 14px; letter-spacing: -0.03em; }

.more-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin: 31px 0 0 82px;
  color: #5b493d;
  font-size: 13px;
  text-decoration: none;
}
.more-link span { font-size: 22px; line-height: .7; }

.hero-visual {
  position: relative;
  justify-self: end;
  width: min(100%, 610px);
  min-height: 520px;
  display: grid;
  place-items: center;
}

.hero-visual::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 86%;
  height: 18%;
  bottom: 48px;
  border-radius: 50%;
  background: rgba(91, 48, 22, .28);
  filter: blur(30px);
}

.hero-visual img {
  width: min(100%, 600px);
  border-radius: 8px;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 20px 20px rgba(70, 38, 20, .12));
}

.hero-leaf {
  position: absolute;
  z-index: 2;
  width: 74px;
  height: 30px;
  border-radius: 100% 0 100% 0;
  background: linear-gradient(135deg, #728547, #39582f);
  box-shadow: 28px 9px 0 -5px #8c9c54;
  transform: rotate(-28deg);
}
.hero-leaf-one { left: 8%; bottom: 76px; }
.hero-leaf-two { right: 2%; top: 74px; transform: rotate(150deg) scale(.68); opacity: .78; }

.features {
  position: relative;
  overflow: hidden;
  padding: 104px 0 112px;
  background:
    radial-gradient(circle at 3% 90%, rgba(94, 123, 55, .16), transparent 19%),
    radial-gradient(circle at 98% 15%, rgba(131, 148, 75, .14), transparent 17%),
    #fffaf4;
}

.section-heading h2 {
  margin: 0;
  color: var(--text);
  font-family: "Gowun Batang", "Nanum Myeongjo", serif;
  font-size: clamp(34px, 3.7vw, 48px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.055em;
}

.section-heading > p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.section-heading.centered { text-align: center; }

.eyebrow {
  margin: 0 0 12px;
  color: #a3663f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .3em;
}

.feature-grid {
  margin-top: 68px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.feature-card {
  position: relative;
  min-height: 285px;
  padding: 30px 20px 25px;
  border-radius: 36px;
  text-align: center;
}

.feature-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 36px;
  right: -16px;
  width: 1px;
  height: 190px;
  background: linear-gradient(transparent, #e8d8c9, transparent);
}

.feature-number {
  position: absolute;
  top: 0;
  left: 24px;
  color: #c9ad98;
  font-family: Georgia, serif;
  font-size: 14px;
  font-style: italic;
}

.feature-icon {
  width: 100px;
  height: 100px;
  margin: 8px auto 24px;
  display: grid;
  place-items: center;
  border: 1px solid #eadacb;
  border-radius: 50%;
  background: rgba(255, 253, 249, .82);
  box-shadow: inset 0 0 0 8px rgba(255,255,255,.35);
}

.feature-icon svg {
  width: 43px;
  height: 43px;
  fill: none;
  stroke: var(--brown);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 { margin: 0 0 14px; font-size: 20px; }
.feature-card p { margin: 0; color: #76665c; font-size: 15px; line-height: 1.75; }

.preview {
  padding: 90px 0 96px;
  background: #fffdf9;
  overflow: hidden;
}

.preview-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.preview-controls { display: flex; gap: 10px; }
.preview-controls button {
  width: 48px;
  height: 48px;
  border: 1px solid #e4d8ce;
  border-radius: 50%;
  background: #fff;
  color: #70422c;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.preview-controls button:hover { background: #f8ecdf; transform: translateY(-2px); }

.preview-track {
  margin-top: 46px;
  padding: 10px 4px 18px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(185px, 1fr);
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #c6a68f transparent;
}

.preview-item {
  margin: 0;
  scroll-snap-align: center;
  text-align: center;
}

.preview-item img {
  width: 100%;
  aspect-ratio: 108 / 229;
  object-fit: cover;
  border-radius: 23px;
  filter: drop-shadow(0 20px 16px rgba(58, 34, 20, .16));
  transition: transform .25s ease;
}
.preview-item:hover img { transform: translateY(-7px); }
.preview-item figcaption { margin-top: 22px; font-size: 16px; font-weight: 800; }

.faq {
  padding: 104px 0 112px;
  background: #fbf3e8;
}

.faq-inner { max-width: 920px; }
.faq-list { margin-top: 50px; display: grid; gap: 12px; }
.faq-list details {
  border: 1px solid #eadccf;
  border-radius: 18px;
  background: rgba(255, 253, 249, .92);
  box-shadow: 0 8px 25px rgba(85, 51, 29, .045);
  overflow: clip;
}
.faq-list summary {
  min-height: 70px;
  padding: 22px 64px 22px 26px;
  position: relative;
  display: flex;
  align-items: center;
  color: #38251a;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span::before,
.faq-list summary span::after {
  content: "";
  position: absolute;
  right: 27px;
  top: 34px;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--brown);
  transition: transform .2s ease;
}
.faq-list summary span::after { transform: rotate(90deg); }
.faq-list details[open] summary span::after { transform: rotate(0); }
.faq-list details p { margin: 0; padding: 0 64px 25px 26px; color: var(--muted); font-size: 15px; line-height: 1.75; }

.download {
  position: relative;
  isolation: isolate;
  min-height: 510px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,247,237,.98) 0%, rgba(255,247,237,.94) 40%, rgba(255,247,237,.45) 62%, rgba(255,247,237,.16) 100%),
    url('/assets/images/cta-background.png') center 57% / cover no-repeat;
}

.download-backdrop {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 45%;
  background: linear-gradient(transparent, rgba(129, 73, 35, .09));
}

.download-inner {
  min-height: 510px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 60px;
}

.download-copy h2 {
  margin: 0;
  font-family: "Gowun Batang", "Nanum Myeongjo", serif;
  font-size: clamp(40px, 4vw, 56px);
  line-height: 1.25;
  letter-spacing: -0.06em;
}
.download-copy h2 em { color: var(--brown); font-style: normal; }
.download-copy > p { margin: 18px 0 30px; color: #675449; font-size: 17px; }
.download-still-life {
  justify-self: end;
  width: min(100%, 620px);
  border-radius: 12px;
  mix-blend-mode: multiply;
  box-shadow: 0 26px 50px rgba(85, 46, 20, .16);
}

.site-footer { padding: 54px 0 50px; background: #fffdf9; border-top: 1px solid #efe4da; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  align-items: center;
  gap: 36px;
}
.footer-brand > p { margin: 16px 0 0; color: #82746b; font-size: 13px; line-height: 1.65; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; }
.footer-links a { color: #57463c; font-size: 13px; text-decoration: none; }
.footer-links a:hover { color: var(--brown); text-decoration: underline; }
.copyright { justify-self: end; margin: 0; color: #9a8d84; font-size: 12px; }

.store-notice {
  position: fixed;
  z-index: 500;
  left: 50%;
  bottom: 24px;
  width: min(calc(100% - 32px), 460px);
  padding: 16px 20px;
  border: 1px solid #ead8ca;
  border-radius: 16px;
  background: rgba(255, 253, 249, .98);
  color: var(--text);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translate(-50%, 16px);
  transition: opacity .2s ease, transform .2s ease;
}
.store-notice.is-visible { opacity: 1; transform: translate(-50%, 0); }
.store-notice strong, .store-notice span { display: block; }
.store-notice strong { margin-bottom: 4px; font-size: 15px; }
.store-notice span { color: var(--muted); font-size: 13px; }

@media (max-width: 1020px) {
  .header-inner { grid-template-columns: 220px 1fr 118px; gap: 10px; }
  .primary-navigation { gap: 20px; }
  .primary-navigation a { font-size: 13px; }
  .hero { min-height: 630px; }
  .hero-inner { min-height: 630px; grid-template-columns: .9fr 1.1fr; gap: 10px; }
  .hero h1 { font-size: 54px; }
  .hero-visual { min-height: 460px; }
  .feature-grid { gap: 12px; }
  .feature-card { padding-inline: 10px; }
  .preview-track { grid-auto-columns: 190px; }
}

@media (max-width: 820px) {
  html { scroll-padding-top: 70px; }
  .section-inner { width: min(calc(100% - 36px), var(--max-width)); }
  .site-header { height: 70px; }
  .header-inner { width: calc(100% - 36px); grid-template-columns: 1fr auto; }
  .header-download { display: none; }
  .menu-button {
    display: grid;
    width: 44px;
    height: 44px;
    place-content: center;
    gap: 5px;
    border: 0;
    border-radius: 12px;
    background: #f5eadf;
    cursor: pointer;
  }
  .menu-button > span:not(.sr-only) { width: 21px; height: 2px; border-radius: 2px; background: #63351f; transition: .2s ease; }
  .menu-button[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-button[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .primary-navigation {
    position: fixed;
    inset: 70px 0 auto;
    display: grid;
    gap: 0;
    padding: 12px 18px 22px;
    background: rgba(255,253,249,.99);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 34px rgba(73,43,24,.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: .2s ease;
  }
  .primary-navigation.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .primary-navigation a { padding: 14px 8px; border-bottom: 1px solid #f1e8df; font-size: 15px; }
  .primary-navigation a:last-child { border-bottom: 0; }
  .primary-navigation a::after { display: none; }
  .hero { min-height: auto; background-position: 62% center; }
  .hero-inner { min-height: auto; grid-template-columns: 1fr; padding-block: 58px 40px; }
  .hero-copy { padding: 0; text-align: center; }
  .handwritten { width: fit-content; margin: 0 auto 26px; text-align: left; }
  .hero h1 { font-size: clamp(48px, 11vw, 64px); }
  .hero-description br { display: none; }
  .hero-description { margin-inline: auto; }
  .store-buttons { justify-content: center; }
  .more-link { margin-left: 0; }
  .hero-visual { justify-self: center; min-height: 370px; width: min(100%, 560px); }
  .features, .faq { padding-block: 80px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .feature-card:nth-child(2)::after { display: none; }
  .preview { padding-block: 76px; }
  .preview-track { grid-auto-columns: 180px; }
  .download { min-height: auto; }
  .download-inner { min-height: auto; grid-template-columns: 1fr; padding-block: 72px; gap: 40px; text-align: center; }
  .download-still-life { justify-self: center; width: min(100%, 560px); }
  .footer-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .copyright { justify-self: center; }
}

@media (max-width: 560px) {
  .section-inner { width: min(calc(100% - 28px), var(--max-width)); }
  .header-inner { width: calc(100% - 28px); }
  .brand img { width: 45px; height: 39px; }
  .brand-copy strong { font-size: 18px; }
  .brand-copy small { font-size: 7px; }
  .hero-inner { padding-top: 44px; }
  .handwritten { margin-bottom: 22px; font-size: 17px; }
  .hero h1 { font-size: clamp(44px, 14vw, 58px); }
  .hero-kicker { font-size: 18px; }
  .hero-description { max-width: 370px; font-size: 15px; }
  .store-buttons { gap: 9px; }
  .store-button { width: min(100%, 260px); min-width: 0; height: 57px; }
  .hero-visual { min-height: 290px; }
  .hero-visual img { width: 100%; }
  .hero-leaf { transform: scale(.7) rotate(-28deg); }
  .section-heading h2 { font-size: 31px; }
  .section-heading > p:not(.eyebrow) { font-size: 14px; }
  .eyebrow { font-size: 10px; letter-spacing: .22em; }
  .feature-grid { grid-template-columns: 1fr; margin-top: 46px; }
  .feature-card { min-height: 248px; padding-block: 22px; }
  .feature-card::after { display: none; }
  .feature-icon { width: 88px; height: 88px; margin-bottom: 19px; }
  .preview-heading-row { align-items: center; }
  .preview-controls button { width: 42px; height: 42px; }
  .preview-track {
    width: calc(100% + 14px);
    grid-auto-columns: minmax(174px, 66vw);
    gap: 22px;
    margin-top: 34px;
    padding-right: 22px;
  }
  .preview-item img { border-radius: 21px; }
  .faq-list summary { padding: 20px 58px 20px 20px; font-size: 15px; }
  .faq-list summary span::before, .faq-list summary span::after { right: 22px; top: 33px; }
  .faq-list details p { padding: 0 20px 22px; font-size: 14px; }
  .download-inner { padding-block: 66px; }
  .download-copy h2 { font-size: 37px; }
  .download-copy > p { font-size: 15px; }
  .footer-links { gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
