/* DataSync case study sayfalari - ortak stil.
   Uc case sayfasinin <style> blogundan cikarildi (icerikleri birebir ayniydi).
   Sayfalarin kendi .site-nav / footer.site kurallari CIKARILDI: header ve footer
   artik paylasilan _Header / _Footer partiallarindan geliyor. */
/* ==========================================================================
   DataSync — article page styles
   Tokens lifted verbatim from DataSync Home / Capabilities v3 / SYNC AI.
   ========================================================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --midnight: #051336;
  --blueprint: #334982;
  --signal: #7282F2;
  --signal-700: #4150C9;
  --bloom: #B45FC4;

  --ink: #051336;
  --ink2: #3D4866;
  --ink3: #7B85A6;

  --bg: #F7F8FD;
  --surface: #FFFFFF;
  --haze: #EEF1FD;
  --line: #E4E7F5;
  --line2: #EDEFF9;

  --grad: linear-gradient(96deg, #B45FC4 0%, #8E77E0 46%, #5566E8 100%);

  --dark0: #070D28;
  --dark1: #0A1030;
  --dinl: rgba(114, 130, 242, .18);
  --dink: #EDF1FF;
  --dink2: #A9B4DA;
  --dink3: #7C88B4;

  --success: #15C783;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-xl: 20px;
  --shadow-md: 0 14px 40px -28px rgba(5, 19, 54, .5);
  --e1: cubic-bezier(.4, 0, .2, 1);
  --e2: cubic-bezier(.16, 1, .3, 1);
  --max: 1320px;
  --read: 720px;

  --font-display: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.read { width: 100%; max-width: var(--read); margin: 0 auto; }/* ── navigation ─────────────────────────────────────────────────────── *//* scrolled state — nav turns white, exactly as on the landing pages */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 20px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--e2), box-shadow .25s var(--e1), background .25s var(--e1);
  white-space: nowrap;
}
.btn-p { background: var(--grad); color: #fff; box-shadow: 0 10px 26px -14px rgba(114, 130, 242, .9); }
.btn-p:hover { transform: translateY(-1px); box-shadow: 0 16px 34px -14px rgba(114, 130, 242, 1); }
.btn-g { border-color: rgba(255, 255, 255, .26); color: #fff; background: rgba(255, 255, 255, .04); }
.btn-g:hover { background: rgba(255, 255, 255, .1); transform: translateY(-1px); }

/* ── cover ──────────────────────────────────────────────────────────── */
.cover {
  position: relative; background: var(--dark1); color: var(--dink);
  overflow: hidden; padding: 132px 0 92px;
  isolation: isolate;
}
.cover::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(760px 420px at 22% 12%, rgba(114, 130, 242, .20), transparent 66%),
    radial-gradient(620px 400px at 84% 30%, rgba(180, 95, 196, .17), transparent 64%),
    linear-gradient(180deg, #070D28 0%, #0A1030 46%, #0B1338 100%);
}
.cover .gridlines {
  content: ''; position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image:
    linear-gradient(to right, var(--dinl) 1px, transparent 1px),
    linear-gradient(to bottom, var(--dinl) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(circle at 50% 34%, #000 0%, transparent 74%);
  -webkit-mask-image: radial-gradient(circle at 50% 34%, #000 0%, transparent 74%);
}
.cover .wrap { position: relative; z-index: 2; }

.crumbs {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--dink3); margin-bottom: 26px;
}
.crumbs a { text-decoration: none; color: var(--dink3); transition: color .2s; }
.crumbs a:hover { color: var(--dink); }
.crumbs span.sep { opacity: .5; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--signal);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: ''; width: 22px; height: 1px; background: var(--signal); opacity: .7;
}

.cover h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.0vw, 62px);
  line-height: 1.07; font-weight: 800; letter-spacing: -.022em;
  color: #fff; max-width: 17ch;
}
.grad {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.cover .standfirst {
  margin-top: 22px; max-width: 62ch;
  font-size: clamp(16.5px, 1.5vw, 19.5px); line-height: 1.62; color: var(--dink2);
}

.meta {
  display: flex; align-items: center; gap: 0; flex-wrap: wrap;
  margin-top: 30px; padding-top: 24px;
  border-top: 1px solid var(--dinl);
  font-size: 13px; color: var(--dink3);
}
.meta > * { padding-right: 18px; margin-right: 18px; border-right: 1px solid var(--dinl); }
.meta > *:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.meta b { color: var(--dink2); font-weight: 600; }

.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.tag {
  font-size: 11.5px; font-weight: 600; letter-spacing: .04em;
  padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--dinl); color: var(--dink2);
  background: rgba(114, 130, 242, .07);
}
.tag.fmt { border-color: rgba(180, 95, 196, .34); color: #E3B7F0; background: rgba(180, 95, 196, .1); }

/* the cover animation */
.cover-viz {
  position: relative; z-index: 1;
  margin-top: 44px; height: clamp(340px, 46vw, 560px);
  width: 100%;
}
.cover-viz canvas { display: block; width: 100%; height: 100%; }
.cover-fade {
  position: absolute; inset: auto 0 0 0; height: 92px; z-index: 3; pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 19, 56, 0) 0%, var(--bg) 96%);
}

/* ── article body ───────────────────────────────────────────────────── */
.article { position: relative; padding: 66px 0 40px; }

.article p { margin: 0 0 22px; color: var(--ink2); }
.article .read > p:first-of-type { font-size: 19.5px; line-height: 1.62; color: var(--ink); }

.article h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(25px, 2.9vw, 34px); line-height: 1.16; letter-spacing: -.018em;
  color: var(--ink); margin: 56px 0 18px;
}
.article h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(18.5px, 2vw, 21.5px); line-height: 1.28; letter-spacing: -.012em;
  color: var(--ink); margin: 36px 0 12px;
}
.article ul, .article ol { margin: 0 0 24px; padding-left: 22px; color: var(--ink2); }
.article li { margin-bottom: 10px; }
.article li::marker { color: var(--signal); }
.article strong { color: var(--ink); font-weight: 650; }
.article a.inline { color: var(--signal-700); text-decoration: underline; text-underline-offset: 3px; }

.lead-rule { width: 54px; height: 3px; background: var(--grad); border-radius: 2px; margin: 0 0 30px; }

blockquote {
  margin: 34px 0; padding: 4px 0 4px 26px;
  border-left: 3px solid transparent;
  border-image: var(--grad) 1;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(19px, 2.2vw, 23px); line-height: 1.44; letter-spacing: -.012em;
  color: var(--ink);
}

.callout {
  margin: 34px 0; padding: 24px 26px;
  background: var(--haze); border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.callout .k {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--signal-700); font-weight: 600;
  display: block; margin-bottom: 10px;
}
.callout p:last-child { margin-bottom: 0; }

/* key-numbers row */
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius-md); overflow: hidden; margin: 34px 0;
}
.stats div { background: var(--surface); padding: 20px 22px; }
.stats b {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: 27px; letter-spacing: -.02em; color: var(--ink); line-height: 1.1;
}
.stats span { display: block; margin-top: 6px; font-size: 13px; color: var(--ink3); }

/* ── inline explainer figures ───────────────────────────────────────── */
figure.viz {
  margin: 46px 0; width: 100%;
  max-width: 980px; margin-left: auto; margin-right: auto;
}
figure.viz .frame {
  position: relative; width: 100%;
  height: clamp(270px, 34vw, 400px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
figure.viz .frame::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(520px 300px at 50% 8%, rgba(114, 130, 242, .045), transparent 70%);
}
figure.viz canvas { display: block; width: 100%; height: 100%; }
figure.viz .lbl {
  position: absolute; top: 16px; left: 18px; z-index: 2;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .15em;
  text-transform: uppercase; color: var(--ink3); font-weight: 500;
}
figure.viz figcaption {
  margin-top: 14px; font-size: 14px; line-height: 1.55; color: var(--ink3);
  text-align: center; max-width: 62ch; margin-left: auto; margin-right: auto;
}
figure.viz figcaption b { color: var(--ink2); font-weight: 600; }

/* ── footer / next ──────────────────────────────────────────────────── */
.endcap {
  margin-top: 70px; padding: 40px 0 0; border-top: 1px solid var(--line);
}
.cta-band {
  margin: 56px auto 0; max-width: var(--read);
  background: var(--midnight); border-radius: var(--radius-xl);
  padding: 40px 38px; color: var(--dink); position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(420px 240px at 84% 0%, rgba(180, 95, 196, .3), transparent 70%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h3 {
  font-family: var(--font-display); font-weight: 800; color: #fff;
  font-size: 25px; line-height: 1.2; letter-spacing: -.018em; margin: 0 0 10px;
}
.cta-band p { color: var(--dink2); margin: 0 0 22px; font-size: 15.5px; }
.cta-band .row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── reading progress ───────────────────────────────────────────────── */
.progress {
  position: fixed; top: 0; left: 0; height: 2px; z-index: 70;
  background: var(--grad); width: 0%;
  transition: width .1s linear;
}

/* ── reveal ─────────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--e2), transform .7s var(--e2); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ── responsive ─────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .wrap { padding: 0 20px; }
  .cover { padding-top: 108px; }
  .meta > * { border-right: 0; padding-right: 0; margin-right: 14px; }
  figure.viz { margin: 34px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .cta-band { padding: 30px 24px; }
}

figure.viz { width: calc(100% + 220px); max-width: none; margin-left: -110px; margin-right: -110px; }
@media (max-width: 1180px) { figure.viz { width: 100%; margin-left: 0; margin-right: 0; } }
.callout ul { margin: 0; padding-left: 20px; }
.callout li { margin-bottom: 8px; color: var(--ink2); }
.cs-quote { margin: 46px 0; padding: 30px 32px; background: var(--surface);
  border: 1px solid var(--line); border-left: 3px solid transparent;
  border-image: var(--grad) 1; border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.cs-quote p { font-family: var(--font-display); font-weight: 600; font-size: clamp(17px,2vw,21px);
  line-height: 1.46; color: var(--ink); margin: 0 0 16px; letter-spacing: -.01em; }
.cs-quote .who { font-size: 14px; color: var(--ink3); }
.cs-quote .who b { display: block; color: var(--ink2); font-weight: 650; font-size: 14.5px; }
.factbar { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 1px;
  background: var(--dinl); border: 1px solid var(--dinl); border-radius: var(--radius-md);
  overflow: hidden; margin-top: 26px; }
.factbar div { background: rgba(114,130,242,.06); padding: 14px 16px; }
.factbar span { display:block; font-family: var(--font-mono); font-size: 10px; letter-spacing:.14em;
  text-transform: uppercase; color: var(--dink3); margin-bottom: 5px; }
.factbar b { color: var(--dink); font-weight: 600; font-size: 14px; }
.clientchip { display:flex; width:fit-content; align-items:center; gap:14px; background:#fff;
  border-radius:14px; padding:12px 18px; margin-bottom:24px;
  box-shadow:0 10px 30px -18px rgba(0,0,0,.55); }
.clientchip img { height:30px; width:auto; display:block; }
.clientchip .cw { font-family:var(--font-mono); font-size:10px; letter-spacing:.15em;
  text-transform:uppercase; color:#7B85A6; }
.profile { margin: 0 0 34px; padding: 26px 28px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-md);
  border-top: 3px solid var(--brand, var(--signal)); }
.profile h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing:.14em;
  text-transform: uppercase; color: var(--brand, var(--signal-700)); font-weight: 600; margin-bottom: 12px; }
.profile p { margin: 0 0 16px; }
.profile .cats { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:16px; }
.profile .cats span { font-size:12.5px; font-weight:600; padding:5px 12px; border-radius:999px;
  border:1px solid var(--line); color:var(--ink2); background:var(--haze); }
.profile .why { margin:0; padding-top:14px; border-top:1px solid var(--line2);
  font-size:15px; color:var(--ink3); }
figure.shot { margin:44px auto; max-width:900px; }
figure.shot img { width:100%; height:auto; border-radius:var(--radius-xl);
  border:1px solid var(--line); box-shadow:var(--shadow-md); }
figure.shot figcaption { margin-top:12px; font-size:14px; color:var(--ink3); text-align:center; }
.srcnote { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 13px; line-height: 1.6; color: var(--ink3); }
