:root {
  color-scheme: dark;
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #000;
  color: #f5f5f7;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  background: #000;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 21%, rgba(202, 162, 99, 0.11), transparent 31rem),
    #000;
  color: #f5f5f7;
}

a { color: inherit; }

.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;
}

.brand-main {
  min-height: 100vh;
  padding-bottom: 118px;
}

.brand-hero {
  display: flex;
  min-height: 70svh;
  padding: 76px 4vw 44px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.brand-hero-inner {
  display: flex;
  width: min(100%, 1560px);
  flex-direction: column;
  align-items: center;
}

.brand-submark {
  width: clamp(122px, 11vw, 188px);
  height: auto;
  margin-bottom: clamp(42px, 6vh, 76px);
}

.brand-wordmark {
  display: block;
  width: min(88vw, 1420px);
  height: auto;
  filter: brightness(0) invert(1);
}

.brand-caption {
  margin: clamp(42px, 6vh, 68px) 0 0;
  color: #a1a1a6;
  font-size: clamp(16px, 1.3vw, 21px);
  font-weight: 560;
  letter-spacing: -0.025em;
}

.store-dock-link:focus-visible {
  outline: 2px solid #e6bd78;
  outline-offset: 3px;
}

.brand-footer {
  display: grid;
  width: min(100% - 9vw, 1320px);
  margin: 0 auto;
  padding: 58px 0 68px;
  border-top: 1px solid #242426;
  grid-template-columns: 210px 1fr;
  gap: 54px;
  color: #77777d;
}

.brand-footer-mark {
  width: 190px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.94;
}

.brand-footer-site {
  margin: 14px 0 0;
  font-size: 13px;
}

.brand-footer-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  line-height: 1.55;
}

.brand-footer-info p { margin: 0; }
.brand-footer-info a { text-decoration: none; }

.store-dock {
  position: fixed;
  z-index: 20;
  left: 50%;
  bottom: 18px;
  display: grid;
  width: min(92vw, 840px);
  min-height: 78px;
  padding: 8px;
  border: 1px solid rgba(224, 181, 109, 0.28);
  border-radius: 24px;
  background: rgba(23, 23, 25, 0.93);
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  transform: translateX(-50%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.68), 0 0 30px rgba(202, 162, 99, 0.08), inset 0 1px rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(24px) saturate(150%);
}

.store-dock-copy {
  display: flex;
  min-width: 0;
  padding: 0 19px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.store-dock-copy strong {
  color: #f5f5f7;
  font-size: 15px;
  font-weight: 730;
  letter-spacing: -0.025em;
}

.store-dock-copy span {
  color: #8e8e93;
  font-size: 12px;
  font-weight: 560;
  letter-spacing: -0.02em;
}

.store-dock-link {
  position: relative;
  display: inline-flex;
  width: 230px;
  min-height: 64px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 248, 224, 0.7);
  border-radius: 19px;
  background: linear-gradient(135deg, #fff0c7 0%, #e9bd6c 48%, #c98e38 100%);
  color: #101011;
  font-size: clamp(16px, 1.25vw, 18px);
  font-weight: 800;
  letter-spacing: -0.025em;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78), 0 10px 30px rgba(202, 162, 99, 0.34);
  transition: filter 0.2s, transform 0.2s, box-shadow 0.2s;
}

.store-dock-link:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84), 0 14px 36px rgba(202, 162, 99, 0.44);
}

.store-dock-link:active { transform: translateY(0) scale(0.985); }

@media (max-width: 900px) {
  .brand-main { padding-bottom: 178px; }

  .brand-hero {
    min-height: 52svh;
    padding: 56px 4vw 24px;
  }

  .brand-submark {
    width: 118px;
    margin-bottom: 42px;
  }

  .brand-wordmark { width: 88vw; }

  .brand-caption {
    margin-top: 40px;
    font-size: 16px;
  }

  .brand-footer {
    width: calc(100% - 44px);
    padding: 38px 0 54px;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .brand-footer-mark { width: 156px; }
  .brand-footer-info { font-size: 11px; }

  .store-dock {
    bottom: max(10px, env(safe-area-inset-bottom));
    width: calc(100vw - 24px);
    min-height: 0;
    padding: 10px;
    border-radius: 22px;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 72px;
    gap: 8px;
  }

  .store-dock-copy { padding: 7px 10px 4px; }
  .store-dock-copy strong { font-size: 15px; }
  .store-dock-copy span { font-size: 12px; }

  .store-dock-link {
    width: 100%;
    min-height: 72px;
    border-radius: 18px;
    font-size: clamp(17px, 4.8vw, 19px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .store-dock-link { transition: none; }
}
