/* =============================================================
   DONGDO SYSTEM — Design Tokens
   Based on Wanted DS, tuned for Dongdo's brand identity
   ============================================================= */

/* -- FONTS — Pretendard -- */
@font-face { font-family: "Pretendard"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("../fonts/Pretendard-Light.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/Pretendard-Regular.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/Pretendard-Medium.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/Pretendard-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/Pretendard-Bold.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("../fonts/Pretendard-ExtraBold.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-style: normal; font-weight: 900; font-display: swap;
  src: url("../fonts/Pretendard-Black.woff2") format("woff2"); }

:root {
  /* -- Dongdo brand palette -- */
  --dd-navy-deepest: #050E1F;   /* deepest, footer */
  --dd-navy-deep:    #07142A;   /* footer / overlay */
  --dd-navy:         #0B1E3D;   /* hero primary */
  --dd-navy-soft:    #122B52;   /* card on navy */
  --dd-navy-line:    #1B335C;   /* subtle lines on navy */

  --dd-blue:         #4A7FD4;   /* Trust Blue — logo blue, primary action */
  --dd-blue-strong:  #2E63BD;
  --dd-blue-soft:    #6A98E2;
  --dd-blue-tint:    #EAF1FC;   /* very light blue tint */

  --dd-cyan:         #5BB8D4;   /* Innovation Cyan — accent */
  --dd-cyan-strong:  #379BBA;

  --dd-ink:          #0F1A2E;   /* near-black for body text on light */
  --dd-ink-2:        #3A4658;   /* secondary text */
  --dd-ink-3:        #6B7889;   /* tertiary */
  --dd-line:         #E3E8F0;   /* light line */
  --dd-line-soft:    #EEF1F7;
  --dd-bg:           #FFFFFF;
  --dd-bg-alt:       #F5F7FB;   /* light page bg (sub pages) */
  --dd-bg-warm:      #FAFBFE;

  /* -- type -- */
  --font-sans: "Pretendard", "Apple SD Gothic Neo", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: "SF Mono", "JetBrains Mono", Consolas, ui-monospace, monospace;

  /* -- spacing scale -- */
  --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; --space-16: 64px; --space-20: 80px; --space-24: 96px;
  --space-32: 128px;

  /* -- radius -- */
  --r-2: 6px; --r-3: 8px; --r-4: 12px; --r-5: 16px; --r-6: 20px; --r-7: 24px; --r-8: 32px;

  /* -- shadow -- */
  --shadow-card: 0 2px 8px rgba(11, 30, 61, 0.04), 0 12px 32px -8px rgba(11, 30, 61, 0.08);
  --shadow-hover: 0 4px 16px rgba(11, 30, 61, 0.06), 0 20px 48px -12px rgba(11, 30, 61, 0.16);
  --shadow-deep: 0 20px 60px -20px rgba(74, 127, 212, 0.35);

  /* -- ease -- */
  --ease-out: cubic-bezier(0.2, 0.0, 0.0, 1.0);
  --ease-smooth: cubic-bezier(0.4, 0.0, 0.2, 1.0);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  font-family: var(--font-sans);
  color: var(--dd-ink);
  background: var(--dd-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, svg, video { display: block; max-width: 100%; }
ul, ol { list-style: none; }

/* -- typography helpers -- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.num { font-variant-numeric: tabular-nums; }

/* -- focus -- */
:focus-visible { outline: 2px solid var(--dd-blue); outline-offset: 2px; }

/* -- selection -- */
::selection { background: var(--dd-blue); color: #fff; }
