/* ============================================================
   TSOfis Design Tokens
   Marka: vermilyon #FF4517 (logo "ofis" / CTA) + mürekkep lacivert
   Stil: Flat, finansal netlik, açık zemin
   ============================================================ */

:root {
  /* Renkler — marka */
  --brand: #ff4517;               /* dekoratif vurgu: logo, çizgi, grafik */
  --brand-strong: #da3a10;        /* beyaz metinli butonlar (4.57:1, AA) */
  --brand-deep: #c23108;          /* buton hover (5.58:1) */
  --brand-text: #c9330a;          /* açık zeminlerde küçük metin (≥4.9:1) */
  --brand-soft: #fff3ee;          /* turuncu tonlu yüzey */
  --brand-soft-2: #ffe3d9;

  /* Renkler — nötr */
  --ink: #1e2433;                 /* başlıklar, logo TS */
  --ink-2: #161b29;               /* koyu bölümler / footer */
  --text: #2a3146;
  --text-muted: #5d657d;
  --text-on-dark: #eef0f6;
  --text-muted-on-dark: #a7aec4;

  --bg: #ffffff;
  --bg-soft: #f7f7f9;
  --border: #e6e8ef;
  --border-strong: #d4d8e3;

  /* Semantik */
  --success: #116b3e;             /* success-soft üzerinde 5.4:1 */
  --success-soft: #e7f6ee;
  --danger: #d92d20;

  /* Tipografi */
  --font-display: "Sora", "IBM Plex Sans", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);
  --text-sm: 0.875rem;
  --text-xs: 0.8125rem;
  --text-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.25rem);
  --text-h3: clamp(1.15rem, 1.05rem + 0.5vw, 1.375rem);
  --text-h2: clamp(1.75rem, 1.35rem + 1.8vw, 2.5rem);
  --text-hero: clamp(2.35rem, 1.5rem + 3.8vw, 4.05rem);
  --text-stat: clamp(2rem, 1.5rem + 2vw, 2.75rem);

  /* Boşluk ritmi */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-section: clamp(4rem, 3rem + 4.5vw, 8rem);

  /* Şekil ve derinlik */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-soft: 0 1px 2px rgb(22 27 41 / 0.05), 0 8px 24px -12px rgb(22 27 41 / 0.12);
  --shadow-lift: 0 2px 4px rgb(22 27 41 / 0.06), 0 16px 40px -16px rgb(22 27 41 / 0.18);

  /* Hareket */
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Katmanlar */
  --z-header: 100;
  --z-toast: 1000;

  /* Yerleşim */
  --container: 72rem;
  --header-h: 4.5rem;
}

/* ---------- Reset / baz ---------- */

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

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 { font-size: var(--text-hero); font-weight: 700; }
h2 { font-size: var(--text-h2); font-weight: 700; }
h3 { font-size: var(--text-h3); font-weight: 600; }

p {
  text-wrap: pretty;
}

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

a {
  color: var(--brand-text);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

button {
  font: inherit;
  cursor: pointer;
}

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

::selection {
  background: var(--brand);
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
