/* ==========================================================================
   zento — design tokens (CSS variables)
   원본 Claude Design 파일의 토큰 값을 그대로 옮겼습니다.
   ========================================================================== */
:root {
  /* ---- Color: grey scale ---- */
  --grey-white: #ffffff;
  --grey-100: #f7f8f9;
  --grey-200: #e9ebee;
  --grey-300: #c5c8ce;
  --grey-400: #646f7c;
  --grey-500: #374553;
  --grey-600: #28323c;
  --grey-700: #0e1216;
  --grey-800: #0e1216;
  --grey-black: #000000;

  /* ---- Color: status ---- */
  --status-red: #ff4245;
  --status-orange: #ff9230;
  --status-yellow: #ffd600;
  --status-green: #30d158;
  --status-blue: #0091ff;

  /* ---- Color: brand ---- */
  --brand-lime: #83f552;          /* 로고·CTA 버튼·헤드라인 강조 */
  --neon-lime: #80ff00;           /* 네온 포인트: 도트 인디케이터, 상자 글로우 */
  --neon-lime-glow: rgba(128, 255, 0, 0.5);
  --accent-purple: #c77dff;       /* 2번 선물상자 포인트 */
  --brand-dark-tint: #12180a;

  /* ---- Color: alias ---- */
  --surface-app: var(--grey-white);
  --text-primary: var(--grey-700);
  --text-inverse: var(--grey-white);
  --text-muted: var(--grey-400);

  /* ---- Typography ---- */
  --font-body: 'Pretendard', -apple-system, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  --text-headline1: 34px;
  --text-headline2: 28px;
  --text-title: 20px;
  --text-body1: 18px;
  --text-body2: 16px;
  --text-button1: 16px;
  --text-button2: 14px;
  --text-caption: 12px;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --leading-tight: 1.25;
  --leading-normal: 1.5;
  --tracking-body: -0.01em;

  /* ---- Spacing ---- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;

  /* ---- Radius ---- */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;

  /* ---- Shadow ---- */
  --shadow-nav: 0 4px 16px rgba(14, 18, 22, 0.1);
  --shadow-active-pill: 0 2px 8px rgba(14, 18, 22, 0.16);
  --shadow-menu: 0 6px 20px rgba(14, 18, 22, 0.12);
  --shadow-card: 0 2px 10px rgba(14, 18, 22, 0.06);

  /* ---- Motion ---- */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-section: 0.8s;            /* 풀페이지 전환 */

  /* ---- Demo video (Section 3) ---- */
  --demo-radius-ratio: 0.1114;                  /* 영상 폭 대비 모서리 반지름 */
  --demo-ring-color: rgba(128, 255, 0, 0.55);   /* 얇은 테두리 */
  --demo-glow-color: rgba(128, 255, 0, 0.28);   /* 은은한 글로우 */
  --demo-glow-blur: 28px;

  /* ---- z-index ---- */
  --z-scene: 5;
  --z-hero-text: 20;
  --z-overlay: 30;
  --z-fixed-ui: 500;

  /* ---- 상단 기준선: 우측 상단 App Store 버튼 하단 (섹션별 위아래 여백 기준) ---- */
  --top-ref: 52px;

  /* ---- Viewport height (dvh fallback) ---- */
  --screen-h: 100vh;
}

@supports (height: 100dvh) {
  :root {
    --screen-h: 100dvh;
  }
}

@media (min-width: 768px) {
  :root {
    --top-ref: 60px;
  }
}
