/* Marine design tokens + base (from koreayachtyard.com) */

/* components 레이어가 base보다 우선하도록 순서 선언
   (unlayered a{color:inherit}가 버튼/푸터 링크 색을 덮어쓰던 문제 방지) */
@layer base, components;

:root {
  --font-main: "Pretendard", sans-serif;
  --nav-h: 76px;
  --marine-wrap: 1240px;
  --marine-pad-x: 40px;
  --marine-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --sec-py: 110px;

  --color-brand: #0b2c4d;
  --color-brand-accent: #2f6da8;
  --color-brand-hover: #082138;
  --color-brand-tint: #ebf1f7;
  --color-brand-line: #c9d8e6;
  --color-brand-soft: #11406e;
  --color-footer-bg: #071824;

  --color-ink-900: #14181d;
  --color-ink-700: #2c333b;
  --color-ink-500: #5c6670;
  --color-ink-400: #828d97;

  --color-surface-0: #fff;
  --color-surface-50: #f5f7f9;
  --color-line-200: #eaedf0;
  --color-line-300: #dde2e7;
  --color-neutral-1: #fff;
  --color-neutral-10: #000;

  --text-display: 78px;
  --text-display--line-height: 1.12;
  --text-h2: 44px;
  --text-h2--line-height: 1.18;
  --text-eyebrow: 13px;
  --text-eyebrow--line-height: 1.4;
  --text-body-lg: 18px;
  --text-body-lg--line-height: 1.4;
}

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

  html {
    letter-spacing: -0.025em;
    line-height: 1.4;
    scroll-behavior: smooth;
  }

  body {
    margin: 0;
    font-family: var(--font-main);
    font-size: 16px;
    color: var(--color-ink-900);
    background: #fff;
    -webkit-font-smoothing: antialiased;
  }

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

  img {
    max-width: 100%;
    height: auto;
  }

  button {
    font: inherit;
  }
}

@media (max-width: 767px) {
  :root {
    --marine-pad-x: 20px;
    --sec-py: 72px;
    --nav-h: 64px;
  }
}
