/* AIScope 메인 리뉴얼 "프리즘" 디자인 토큰
   명암비는 SPEC 9장 계산값. #6A4CFF 는 다크 위 작은 글자에 쓰지 않는다(ink-900 위 3.80, 바탕 ink-950 위 3.77). */
:root {
  /* surface */
  /* the ground since 09-25 night (hero 3안, "결"): one charcoal under the hero and every dark surface that meets it.
     The services section keeps ink-900, now a touch under the ground: it never meets it (light sections both sides) */
  --ink-950: #0E0D14;
  --ink-950-rgb: 14, 13, 20;
  --ink-900: #0C0C12;
  --ink-850: #14141C;
  --ink-800: #1B1B25;
  --paper-100: #F5F5F8;
  --paper-50: #FBFBFD;

  /* text */
  --on-dark-1: #F2F2F7;
  --on-dark-2: #A3A3B5;
  --on-dark-3: #7A7A8C;   /* ink-950/900 위에서만 */
  --on-light-1: #0C0C12;
  --on-light-2: #4B4B5A;
  --on-light-3: #6C6C7A;

  /* line */
  --line-dark: rgba(255, 255, 255, .08);
  --line-dark-strong: rgba(255, 255, 255, .16);
  --line-light: rgba(12, 12, 18, .10);
  --line-light-strong: rgba(12, 12, 18, .18);

  /* brand */
  --brand: #6A4CFF;
  --brand-rgb: 106, 76, 255;
  --brand-hover: #5A3BF0;
  --brand-tint: #8B7BFF;
  --brand-ice: #C9C1FF;

  /* light: beam colors, graphic only */
  --beam-a: #8B7BFF;
  --beam-b: #A6D4FF;
  --beam-c: #F2F2F7;

  /* type: one family (SPEC 15.2) */
  --f-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;

  --fs-hero: clamp(64px, 6.1vw, 88px);
  --fs-statement: clamp(56px, 5.4vw, 78px);   /* at most 0.9 of the slogan at every width; two lines across the About width (09-27) */
  --fs-display: clamp(64px, 6.4vw, 96px);     /* section display words (Works) */
  --fs-h2: clamp(44px, 4.3vw, 56px);
  --fs-h3: 26px;
  --fs-lead: 19px;
  --fs-body: 16px;
  --fs-small: 14px;
  --fs-meta: 12px;

  /* layout */
  --container: 1280px;
  --margin: 80px;
  --gutter: 24px;
  --sec-y: 160px;
  --header-h: 80px;

  --r-card: 20px;
  --r-input: 12px;
  --r-pill: 999px;

  /* motion */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --t-fast: 180ms;
  --t-med: 600ms;
  --t-slow: 1000ms;
}


@media (max-width: 1024px) {
  :root {
    --margin: 48px;
    --sec-y: 128px;
    --fs-hero: 64px;
    --fs-statement: clamp(40px, 5.5vw, 57px);   /* 5.5, not 5.6: from 901px the slogan runs on 6.2vw, and 5.6 against it is 0.903 (review 14 M1) */
    --fs-display: 64px;
    --fs-h2: 44px;
  }
}

@media (max-width: 640px) {
  :root {
    --margin: 20px;
    --margin-l: 32px;   /* phones: the lane runs in the left margin, so the content keeps more room there (owner 09-25) */
    --gutter: 12px;
    --sec-y: 96px;
    --header-h: 64px;
    --fs-hero: 44px;
    --fs-statement: 38px;   /* each of the two lines folds once */
    --fs-display: 52px;
    --fs-h2: 32px;
    --fs-h3: 21px;
    --fs-lead: 17px;
    --fs-body: 15px;
    --fs-meta: 11px;
  }
}
