:root {
  --soft-black: #111111;
  --ivory-white: #f6f4f0;
  --muted-gray: #b5b5b5;
  --soft-gold: #c9b27c;
  --dusty-rose: #dca1a1;
  --logo-brown: #6e3f1f;
  --surface-dark: #1c1c1c;
  --surface-light: rgba(255, 255, 255, 0.44);
  --border-light: rgba(17, 17, 17, 0.1);
  --border-dark: rgba(246, 244, 240, 0.14);
  --shadow: 0 28px 60px rgba(17, 17, 17, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Pretendard", sans-serif;
  color: var(--soft-black);
  background:
    radial-gradient(circle at top left, rgba(220, 161, 161, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(201, 178, 124, 0.22), transparent 24%),
    var(--ivory-white);
}

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

button {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 5vw;
  backdrop-filter: blur(18px);
  background: rgba(246, 244, 240, 0.78);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex: 1 1 auto;
  min-width: 0;
}

.brand-icon {
  width: 54px;
  height: 54px;
}

.brand-name {
  min-width: 0;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.2em;
  white-space: nowrap;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-left: auto;
  font-size: 0.98rem;
}

.nav a {
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  flex: 0 0 auto;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.06);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0;
  background: var(--soft-black);
}

.section {
  padding: 110px 5vw;
}

.section-light {
  color: var(--soft-black);
}

.section-dark {
  color: var(--ivory-white);
  background:
    linear-gradient(145deg, rgba(201, 178, 124, 0.16), transparent 35%),
    linear-gradient(210deg, rgba(220, 161, 161, 0.1), transparent 30%),
    var(--soft-black);
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(420px, 1.1fr);
  gap: 12px;
  align-items: center;
  min-height: calc(100vh - 84px);
}

.hero-copy {
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--soft-gold);
}

.hero-brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding: 10px 14px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.46);
  box-shadow: 0 14px 32px rgba(17, 17, 17, 0.08);
}

.hero-brand-mark img {
  width: 28px;
  height: 28px;
}

.hero-brand-mark span {
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.hero-copy h1,
.section-heading h2,
.phone-screen h2 {
  margin: 0;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  max-width: 13ch;
  font-size: clamp(2.1rem, 3.8vw, 3.8rem);
  word-break: keep-all;
  overflow-wrap: normal;
}

.hero-text,
.section-heading p,
.contact-card p,
.about-panel p,
.phone-screen p {
  line-height: 1.7;
}

.hero-text {
  max-width: 600px;
  margin: 20px 0 0;
  font-size: 1rem;
  color: rgba(17, 17, 17, 0.76);
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.hero-points div {
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(17, 17, 17, 0.08);
}

.hero-points strong,
.about-metrics strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.96rem;
}

.hero-points span {
  display: block;
  line-height: 1.6;
  color: rgba(17, 17, 17, 0.68);
  font-size: 0.92rem;
}

.about-metrics span {
  display: block;
  line-height: 1.6;
  color: rgba(246, 244, 240, 0.78);
  font-size: 0.92rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.download-button,
.store-card {
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: 24px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.download-button {
  min-width: 220px;
  padding: 16px 20px;
  border: 1px solid transparent;
  box-shadow: var(--shadow);
}

.download-button:hover,
.store-card:hover,
.download-button:focus-visible,
.store-card:focus-visible {
  transform: translateY(-3px);
}

.download-button.primary {
  color: var(--ivory-white);
  background: var(--soft-black);
}

.download-button.secondary {
  color: var(--soft-black);
  background: rgba(255, 255, 255, 0.52);
  border-color: rgba(17, 17, 17, 0.12);
}

.button-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.download-button.secondary .button-icon {
  background: rgba(17, 17, 17, 0.08);
}

.button-icon svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.download-button > span:last-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.download-button strong {
  font-size: 1rem;
}

.download-button small {
  margin-top: 2px;
  font-size: 0.82rem;
  opacity: 0.72;
}

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

.hero-visual::before {
  content: "";
  position: absolute;
  width: 82%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(201, 178, 124, 0.36), rgba(220, 161, 161, 0.18));
  filter: blur(8px);
}

.phone-stack {
  position: absolute;
  width: min(100%, 330px);
  padding: 14px;
  border-radius: 38px;
  background: rgba(17, 17, 17, 0.92);
  box-shadow: 0 32px 70px rgba(17, 17, 17, 0.26);
}

.phone-stack.back {
  top: 112px;
  left: 46px;
  transform: rotate(-8deg);
}

.phone-stack.front {
  right: 26px;
  bottom: 18px;
  transform: rotate(5deg);
}

.phone-screen {
  min-height: 0;
  padding: 0;
  aspect-ratio: 430 / 802;
  border-radius: 28px;
  overflow: hidden;
}

.preview-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.preview-top strong {
  font-size: 1.35rem;
}

.metric-grid span,
.panel-label,
.store-name {
  display: block;
  margin-bottom: 6px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-shot-shell {
  padding: 0;
  background: #ffffff;
}

.light-shot {
  background: linear-gradient(180deg, #f8f5ef 0%, #efe7db 100%);
}

.dark-shot {
  background: linear-gradient(180deg, #f7f3ee 0%, #f2ede7 100%);
}

.phone-shot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  border-radius: 28px;
}

.section-heading {
  max-width: 860px;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 3.2vw, 3rem);
}

.section-heading.compact p:last-child {
  max-width: 620px;
  margin-top: 18px;
}

.about-grid,
.download-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 42px;
}

.about-panel,
.preview-card,
.store-card,
.contact-card {
  border-radius: 30px;
}

.about-panel {
  padding: 32px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
}

.statement {
  display: flex;
  align-items: center;
  min-height: 280px;
  font-size: 1.02rem;
}

.about-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.about-metrics div,
.highlight-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(246, 244, 240, 0.08);
}

.about-metrics div {
  color: var(--ivory-white);
}

.list-panel {
  display: grid;
  gap: 18px;
}

.list-panel div {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(246, 244, 240, 0.12);
}

.list-panel div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.highlight-card h3 {
  margin: 0 0 12px;
  font-size: 1.16rem;
  line-height: 1.4;
}

.highlight-card p {
  margin: 0;
  color: rgba(246, 244, 240, 0.76);
}

.download-layout {
  align-items: stretch;
}

.download-preview {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 420px;
  padding: 24px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 20% 20%, rgba(201, 178, 124, 0.36), transparent 25%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.62));
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow);
}

.preview-stack {
  display: grid;
  gap: 16px;
  width: 100%;
}

.preview-card {
  width: 100%;
  padding: 24px;
  background: rgba(17, 17, 17, 0.9);
  color: var(--ivory-white);
}

.preview-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mini-card,
.download-detail-card {
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--border-light);
}

.preview-description-card {
  padding: 20px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--border-light);
}

.mini-card p,
.preview-description-card p,
.download-detail-card p,
.download-detail-card li {
  margin: 0;
  line-height: 1.7;
  color: rgba(17, 17, 17, 0.72);
}

.preview-card ul {
  margin: 26px 0 0;
  padding-left: 18px;
  line-height: 1.9;
}

.download-actions {
  display: grid;
  gap: 18px;
}

.store-card {
  justify-content: flex-start;
  padding: 26px 28px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow);
}

.store-card::before {
  content: "";
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(17, 17, 17, 0.06);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px 22px;
}

.store-card:first-child::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23111111'%3E%3Cpath d='M16.37 12.16c.03 2.92 2.56 3.89 2.59 3.9-.02.07-.4 1.39-1.31 2.74-.79 1.17-1.61 2.33-2.9 2.35-1.26.02-1.67-.75-3.11-.75-1.44 0-1.9.73-3.09.77-1.24.05-2.19-1.25-2.99-2.41-1.64-2.37-2.89-6.69-1.21-9.61.83-1.45 2.32-2.37 3.93-2.39 1.23-.03 2.38.83 3.11.83.73 0 2.11-1.03 3.56-.88.61.03 2.33.25 3.43 1.86-.09.06-2.05 1.2-2.01 3.59ZM13.95 4.95c.66-.8 1.11-1.91.99-3.02-.95.04-2.1.64-2.78 1.43-.61.7-1.15 1.83-1.01 2.91 1.06.08 2.14-.54 2.8-1.32Z'/%3E%3C/svg%3E");
}

.store-card:nth-child(2)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23111111'%3E%3Cpath d='m3.61 2.79 10.74 10.74-10.7 10.68a2.1 2.1 0 0 1-.54-1.48V4.22c0-.56.2-1.06.5-1.43Zm14.28 8.6 2.7 1.54c1.85 1.06 1.85 2.8 0 3.86l-2.72 1.55-3.1-3.1 3.12-3.85Zm-1.34-.76L5.16 4.1l8.06 8.06 3.33-1.53Zm-3.37 4.72 3.33 3.32-11.4 6.55a2.08 2.08 0 0 1-1.1.3l9.17-10.17Z'/%3E%3C/svg%3E");
}

.store-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.store-copy > * {
  display: block;
}

.download-detail-card ul {
  margin: 0;
  padding-left: 18px;
}

.qr-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  align-items: center;
}

.qr-box {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 18px;
  background:
    linear-gradient(90deg, #111111 10px, transparent 10px) 0 0 / 22px 22px,
    linear-gradient(#111111 10px, transparent 10px) 0 0 / 22px 22px,
    linear-gradient(90deg, #111111 8px, transparent 8px) 11px 11px / 22px 22px,
    linear-gradient(#111111 8px, transparent 8px) 11px 11px / 22px 22px,
    #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.08);
}

.qr-box span {
  width: 26px;
  height: 26px;
  background: #ffffff;
  border: 7px solid #111111;
}

.accent-card {
  background: linear-gradient(135deg, rgba(201, 178, 124, 0.2), rgba(220, 161, 161, 0.12));
}

.store-card strong {
  font-size: 1.05rem;
}

.store-card small {
  color: rgba(17, 17, 17, 0.6);
}

.contact-section {
  padding-bottom: 140px;
}

.contact-card {
  display: grid;
  gap: 14px;
  margin-top: 34px;
  max-width: 560px;
  padding: 34px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
}

.contact-card a {
  font-size: clamp(1.2rem, 2.2vw, 1.75rem);
  letter-spacing: -0.03em;
}

@media (max-width: 980px) {
  .topbar {
    align-items: flex-start;
  }

  .hero-section,
  .about-grid,
  .download-layout,
  .about-highlights {
    grid-template-columns: 1fr;
  }

  .hero-section {
    padding-top: 56px;
    gap: 28px;
  }

  .hero-points,
  .preview-info-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: 12ch;
    font-size: clamp(2rem, 6vw, 3.3rem);
  }

  .hero-visual {
    min-height: 500px;
    max-width: 470px;
    margin: 0 auto;
    justify-self: center;
  }

  .phone-stack.back {
    left: 28px;
  }

  .phone-stack.front {
    right: 18px;
  }
}

@media (max-width: 760px) {
  .topbar {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 5vw;
    align-items: center;
  }

  .brand {
    gap: 8px;
    flex: 1 1 auto;
  }

  .brand-icon {
    width: 38px;
    height: 38px;
  }

  .brand-name {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
  }

  .hero-brand-mark {
    padding: 9px 12px;
  }

  .hero-brand-mark span {
    font-size: 0.74rem;
    letter-spacing: 0.14em;
  }

  .menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    margin-left: auto;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 16px;
    margin-left: 0;
    padding: 14px 0 4px;
  }

  .nav.is-open {
    display: flex;
  }

  .section {
    padding: 72px 5vw;
  }

  .hero-points {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(1.7rem, 7.6vw, 2.45rem);
  }

   .hero-text {
    font-size: 0.95rem;
   }

  .button-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .download-button {
    width: 100%;
    min-width: 0;
  }

  .hero-visual {
    min-height: auto;
    gap: 18px;
    padding-top: 8px;
    max-width: 320px;
  }

  .hero-visual::before {
    width: 100%;
    max-width: 320px;
  }

  .phone-stack {
    position: relative;
    width: min(100%, 280px);
  }

  .phone-stack.back,
  .phone-stack.front {
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
  }

  .phone-stack.back {
    transform: rotate(-5deg) translateY(18px);
  }

  .phone-stack.front {
    margin-top: -84px;
    transform: rotate(4deg);
  }

  .phone-screen {
    min-height: 0;
    padding: 0;
  }

  .preview-top strong {
    font-size: 1.18rem;
  }

  .download-preview,
  .contact-card,
  .about-panel,
  .store-card,
  .highlight-card,
  .download-detail-card,
  .mini-card,
  .preview-description-card {
    border-radius: 24px;
  }

  .qr-card {
    grid-template-columns: 1fr;
  }

  .contact-card a {
    font-size: 1.12rem;
  }
}

@media (max-width: 420px) {
  .brand-name {
    font-size: 0.66rem;
    letter-spacing: 0.12em;
  }

  .hero-copy h1 {
    font-size: clamp(1.55rem, 7.4vw, 2.15rem);
  }

  .hero-visual {
    padding-bottom: 4px;
  }

  .phone-stack {
    width: min(100%, 250px);
  }

  .phone-stack.front {
    margin-top: -68px;
  }

  .phone-screen {
    min-height: 0;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}