/* =========================================================================
   Hawaii Disco — Global Styles
   Single stylesheet. Mobile-first. Hand-drawn minimal mood.
   ========================================================================= */

:root {
  --bg: #FBFAF5;
  --text: #1A1A1A;
  --text-soft: #6B6B6B;
  --accent: #737880;

  --font-hand: 'Caveat', 'Bradley Hand', cursive;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --gutter: 24px;
  --section-pad: clamp(80px, 12vw, 160px);
  --max-text: 720px;
  --max-wide: 1080px;
}

@media (min-width: 1024px) {
  :root {
    --gutter: 48px;
  }
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 640px) {
  body { font-size: 18px; }
}

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

a:hover { opacity: 0.6; }

a:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 4px;
  border-radius: 2px;
}

img, svg { display: block; max-width: 100%; height: auto; }

/* Layout containers */
.container {
  width: 100%;
  max-width: var(--max-wide);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.container-text {
  max-width: var(--max-text);
}

/* Header */
.site-header {
  padding: 32px 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-header__logo {
  font-family: var(--font-hand);
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  color: var(--text);
}

.site-header__nav {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: var(--text-soft);
}

.site-header__nav a { text-decoration: none; }
.site-header__nav a:hover { text-decoration: underline; text-underline-offset: 3px; opacity: 1; }

/* Hero */
.hero {
  text-align: center;
  padding: clamp(60px, 10vw, 140px) 0 var(--section-pad);
}

.hero__art {
  margin: 0 auto 32px;
  max-width: 200px;
  color: var(--text);
}

.hero__logo {
  font-family: var(--font-hand);
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 400;
  line-height: 1;
  margin: 0 0 32px;
  letter-spacing: -0.01em;
}

.hero__slogan {
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 300;
  line-height: 1.3;
  max-width: 720px;
  margin: 0 auto 24px;
  color: var(--text);
}

.hero__caption {
  font-size: 14px;
  color: var(--text-soft);
}

/* Section */
.section {
  padding: var(--section-pad) 0;
}

.section + .section { padding-top: 0; }

.section__label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 24px;
}

.section__body {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.7;
  color: var(--text);
}

.section__body p { margin: 0 0 16px; }
.section__body p:last-child { margin-bottom: 0; }

.section__korean {
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-soft);
}

/* Products */
.products-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .products-list {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  }
}

.product-card {
  padding: 32px;
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.4);
}

.product-card__name {
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 12px;
  color: var(--text);
}

.product-card__desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-soft);
  margin: 0 0 24px;
}

.product-card__link {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--text);
  padding-bottom: 2px;
}

.product-card__link:hover {
  opacity: 0.6;
}

/* Footer */
.site-footer {
  padding: 60px 0 40px;
  border-top: 1px solid rgba(26, 26, 26, 0.08);
  margin-top: var(--section-pad);
}

.site-footer__decor {
  text-align: center;
  color: var(--accent);
  font-size: 14px;
  margin: 0 0 32px;
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
  font-size: 13px;
  color: var(--text-soft);
}

@media (min-width: 640px) {
  .site-footer .container {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.site-footer__nav {
  display: flex;
  gap: 20px;
}

.site-footer__nav a { text-decoration: none; }
.site-footer__nav a:hover { text-decoration: underline; text-underline-offset: 3px; opacity: 1; }

/* Support page */
.support-contact {
  margin-top: 32px;
  padding: 32px;
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.4);
}

.support-contact__icon {
  font-size: 24px;
  margin-bottom: 12px;
}

.support-contact__title {
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 8px;
}

.support-contact__note {
  font-size: 14px;
  color: var(--text-soft);
  margin: 0 0 16px;
}

.support-contact__email {
  font-size: 16px;
  font-weight: 500;
}

/* Privacy page */
.legal {
  font-size: 15px;
  line-height: 1.7;
}

.legal h2 {
  font-size: 28px;
  font-weight: 500;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.legal__updated {
  font-size: 13px;
  color: var(--text-soft);
  margin: 0 0 32px;
}

.legal h3 {
  font-size: 18px;
  font-weight: 500;
  margin: 40px 0 12px;
}

.legal p { margin: 0 0 16px; }
.legal ul { margin: 0 0 16px; padding-left: 24px; }
.legal li { margin: 0 0 8px; }
.legal strong { font-weight: 600; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
