/* Emniva Labs — ortak stil. Kaynak: design/Main.dc.html (1440 px) ve
   design/Mobile.dc.html (390 px). Kırılımlar: 1200 / 1080 / 960 / 640. */

/* ---------- Fontlar (kendi sunucumuzda; KVKK) ---------- */
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(/assets/fonts/bricolage-grotesque-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(/assets/fonts/bricolage-grotesque-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-latin-400.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-latin-ext-400.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-latin-500.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-latin-ext-500.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 600; font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-latin-600.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 600; font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-latin-ext-600.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-latin-400.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-latin-ext-400.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-latin-500.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-latin-ext-500.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* ---------- Tema değişkenleri ---------- */
/* @property kaydı sayesinde renkler geçiş (transition) yapabilir. */
@property --bg    { syntax: '<color>'; inherits: true; initial-value: #F7F6F2; }
@property --ink   { syntax: '<color>'; inherits: true; initial-value: #15171C; }
@property --ink2  { syntax: '<color>'; inherits: true; initial-value: #3D414B; }
@property --muted { syntax: '<color>'; inherits: true; initial-value: #5A5F6B; }
@property --line  { syntax: '<color>'; inherits: true; initial-value: #E3E1DA; }
@property --line2 { syntax: '<color>'; inherits: true; initial-value: #C9C6BC; }
@property --card  { syntax: '<color>'; inherits: true; initial-value: #FFFFFF; }
@property --chip  { syntax: '<color>'; inherits: true; initial-value: #EDEBE4; }
@property --dot   { syntax: '<color>'; inherits: true; initial-value: rgba(21, 23, 28, 0.14); }
@property --acc   { syntax: '<color>'; inherits: true; initial-value: #1F4FE0; }

:root {
  --bg: #F7F6F2; --ink: #15171C; --ink2: #3D414B; --muted: #5A5F6B; --line: #E3E1DA; --line2: #C9C6BC;
  --card: #FFFFFF; --chip: #EDEBE4; --dot: rgba(21, 23, 28, 0.14); --acc: #1F4FE0;
  --accent: #1F4FE0;            /* düğmeler ve illüstrasyonlar: temadan bağımsız */
  --font-display: 'Bricolage Grotesque', 'Arial Narrow', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --gutter: max(96px, calc((100vw - 1248px) / 2));
  --header-h: 89px;
}
:root[data-bg="cream"] { --bg: #F7F6F2; --ink: #15171C; --ink2: #3D414B; --muted: #5A5F6B; --line: #E3E1DA; --line2: #C9C6BC; --card: #FFFFFF; --chip: #EDEBE4; --dot: rgba(21, 23, 28, 0.14); --acc: #1F4FE0; }
:root[data-bg="navy"]  { --bg: #0D1B3D; --ink: #F2F4F8; --ink2: #D5DAE6; --muted: #A3AEC6; --line: #243766; --line2: #3A4E80; --card: #13254F; --chip: #1B2F5E; --dot: rgba(255, 255, 255, 0.12); --acc: #9DB3FF; }
:root[data-bg="white"] { --bg: #FFFFFF; --ink: #15171C; --ink2: #3D414B; --muted: #5A5F6B; --line: #E6E4DE; --line2: #D5D2C8; --card: #F7F6F2; --chip: #EDEBE4; --dot: rgba(21, 23, 28, 0.10); --acc: #1F4FE0; }
:root[data-bg="black"] { --bg: #0B0C0F; --ink: #F2F2F0; --ink2: #D0D0CC; --muted: #A0A3AA; --line: #26282E; --line2: #3A3D45; --card: #16181D; --chip: #202228; --dot: rgba(255, 255, 255, 0.10); --acc: #9DB3FF; }

/* JS ilk temayı yazdıktan sonra .theme-ready eklenir; ilk yüklemede geçiş olmaz. */
:root.theme-ready {
  transition: --bg 0.8s ease, --ink 0.8s ease, --ink2 0.8s ease, --muted 0.8s ease, --line 0.8s ease,
    --line2 0.8s ease, --card 0.8s ease, --chip 0.8s ease, --dot 0.8s ease, --acc 0.8s ease;
}

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.5; background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
img, svg { display: block; }
a { color: var(--acc); }
a:hover { opacity: 0.8; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 4px; }
.btn:focus-visible, .lang a:focus-visible { border-radius: 999px; }

.skip { position: absolute; left: 12px; top: -100px; z-index: 100; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.page { position: relative; z-index: 1; display: flex; flex-direction: column; min-height: 100vh; overflow-x: clip; }
main { flex-grow: 1; display: flex; flex-direction: column; }

.h1, .h2, .h3, .brand-name, .empty-h, .legal-h1, .legal-article h2 { font-family: var(--font-display); font-weight: 700; }
.h1 { font-size: 68px; line-height: 1.02; letter-spacing: -0.035em; }
.h2 { font-size: 52px; line-height: 1.05; letter-spacing: -0.03em; }
.h3 { font-size: 26px; letter-spacing: -0.02em; line-height: 1.2; }
.intro { font-size: 19px; line-height: 1.6; color: var(--muted); }
.label-mono { font-family: var(--font-mono); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.no { font-family: var(--font-mono); font-size: 14px; color: var(--muted); }

/* SVG renk sınıfları (CSP gereği inline style yerine) */
.f-line { fill: var(--line); } .f-line2 { fill: var(--line2); } .f-card { fill: var(--card); }
.f-chip { fill: var(--chip); } .f-ink { fill: var(--ink); }
.s-ink { stroke: var(--ink); } .s-line2 { stroke: var(--line2); } .s-bg { stroke: var(--bg); }

/* ---------- Düğmeler ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 999px; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { opacity: 0.88; }
.btn-primary { background: var(--accent); color: #FFFFFF; }
.btn-ghost { border: 1px solid var(--line2); color: var(--ink); background: transparent; }
.btn-sm { height: 48px; padding: 0 22px; font-size: 16px; }
.btn-md { height: 52px; padding: 0 24px; font-size: 16px; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 17px; }

/* ---------- Paralaks arka plan ---------- */
/* --sy (kaydırma, px) ve --dg (ızgara kayması) JS ile .bgfx üzerine yazılır.
   --start: şekiller ilk ekranın ve giriş bölümünün altından başlar. */
.bgfx { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; --sy: 0; --dg: 0px; --start: max(100%, var(--hero-h, 100%)); }
.bgfx-grid { position: absolute; left: 0; right: 0; top: -28px; bottom: 0; background-image: radial-gradient(var(--dot) 1.3px, transparent 1.5px); background-size: 28px 28px; transform: translate3d(0, var(--dg), 0); }
.shape { position: absolute; top: calc(var(--start) + var(--o)); will-change: transform; }
.fx-1  { --o: 18vh;  right: 4%;  width: 280px; height: 280px; border-radius: 999px; border: 2px dashed var(--line2); transform: translateY(calc(var(--sy) * -0.18px)) rotate(calc(var(--sy) * 0.05deg)); }
.fx-2  { --o: 4vh;   left: 46%;  width: 16px;  height: 16px;  border-radius: 999px; background: var(--accent); opacity: 0.7; transform: translateY(calc(var(--sy) * -0.4px)); }
.fx-3  { --o: 28vh;  left: 3%;   width: 84px;  height: 84px;  border-radius: 14px; border: 2px solid var(--line2); transform: translateY(calc(var(--sy) * -0.22px)) rotate(calc(14deg + var(--sy) * -0.06deg)); }
.fx-4  { --o: 52vh;  right: 12%; width: 200px; height: 68px;  border-radius: 999px; background: var(--accent); opacity: 0.14; transform: translateY(calc(var(--sy) * -0.3px)); }
.fx-5  { --o: 68vh;  left: 26%;  color: var(--line2); transform: translateY(calc(var(--sy) * -0.26px)) rotate(calc(var(--sy) * 0.08deg)); }
.fx-6  { --o: 40vh;  left: 8%;   width: 180px; height: 180px; border-radius: 999px; border: 2px solid var(--line2); transform: translateY(calc(var(--sy) * -0.3px)); }
.fx-7  { --o: 75vh;  right: 4%;  width: 110px; height: 110px; border-radius: 18px; background: var(--accent); opacity: 0.12; transform: translateY(calc(var(--sy) * -0.32px)) rotate(calc(var(--sy) * 0.04deg)); }
.fx-8  { --o: 110vh; left: 52%;  color: var(--line2); transform: translateY(calc(var(--sy) * -0.34px)) rotate(calc(var(--sy) * -0.07deg)); }
.fx-9  { --o: 160vh; left: 2%;   width: 240px; height: 76px;  border-radius: 999px; border: 2px dashed var(--line2); transform: translateY(calc(var(--sy) * -0.3px)); }
.fx-10 { --o: 210vh; right: 18%; width: 220px; height: 220px; border-radius: 999px; border: 2px dashed var(--line2); transform: translateY(calc(var(--sy) * -0.3px)) rotate(calc(var(--sy) * 0.05deg)); }
.fx-11 { --o: 260vh; left: 30%;  width: 14px;  height: 14px;  border-radius: 999px; background: var(--accent); opacity: 0.7; transform: translateY(calc(var(--sy) * -0.34px)); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 86%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px var(--gutter); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; flex-shrink: 0; }
.brand-mark { width: 32px; height: 32px; }
.brand-name { font-size: 22px; letter-spacing: -0.02em; line-height: 1; }
.brand-name span { color: var(--muted); font-weight: 500; }
.main-nav { display: flex; align-items: center; gap: 36px; font-size: 16px; font-weight: 500; }
.main-nav a { color: var(--ink); text-decoration: none; }
.main-nav a:hover { opacity: 0.7; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.lang { display: flex; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-family: var(--font-mono); font-size: 14px; }
.lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 36px; border-radius: 999px; color: var(--muted); text-decoration: none; }
.lang a[aria-current] { background: var(--ink); color: var(--bg); }
.menu-btn { display: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px; background: transparent; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn .i-close, .menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }
.mobile-nav { display: flex; flex-direction: column; padding: 8px var(--gutter) 24px; border-top: 1px solid var(--line); background: var(--bg); }
.mobile-nav[hidden] { display: none; }
.mobile-nav a:not(.btn) { display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.mobile-nav-cta { height: 54px; margin-top: 20px; font-size: 16px; }

/* ---------- Giriş ---------- */
.hero { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: center; padding: 88px var(--gutter) 104px; }
.hero-text { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.lead { max-width: 580px; font-size: 20px; line-height: 1.55; color: var(--muted); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 8px; }
.stack { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.chip { padding: 7px 12px; border-radius: 8px; background: var(--chip); font-size: 14px; color: var(--ink2); }
.hero-art { min-width: 0; margin: -72px calc(-1 * min(var(--gutter), 96px)) -72px -40px; }
.hero-art svg, .flow-art svg { overflow: visible; }

/* ---------- Bölümler ---------- */
.section { padding: 120px var(--gutter); border-top: 1px solid var(--line); }
.sec-head { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; align-items: end; }

.services { display: flex; flex-direction: column; gap: 56px; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; gap: 18px; min-height: 320px; padding: 32px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; padding-bottom: 8px; }
.icon-box { display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 16px; background: #EEF2FE; color: var(--accent); }
.card p { font-size: 16px; line-height: 1.6; color: var(--muted); }

.flow { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: center; }
.flow-text { display: flex; flex-direction: column; gap: 20px; }
.flow-art { min-width: 0; margin: -40px calc(-1 * min(var(--gutter), 96px)) -40px 0; }

.products { display: flex; flex-direction: column; gap: 56px; border-bottom: 1px solid var(--line); }
.empty { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 72px 40px; border: 1.5px dashed var(--line2); border-radius: 28px; text-align: center; }
.empty-icon { display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 20px; background: var(--chip); color: var(--acc); }
.empty-h { max-width: 640px; font-size: 36px; line-height: 1.1; letter-spacing: -0.02em; }
.empty p { max-width: 520px; font-size: 17px; line-height: 1.6; color: var(--muted); }
.empty .btn { margin-top: 8px; }

.process { display: flex; flex-direction: column; gap: 56px; border-top: 0; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding: 0; list-style: none; }
.steps li { display: flex; flex-direction: column; gap: 14px; padding-top: 24px; border-top: 2px solid var(--ink); }
.steps .h3 { font-size: 24px; }
.steps p { font-size: 16px; line-height: 1.6; color: var(--muted); }

.about { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; }
.about-body { display: flex; flex-direction: column; gap: 20px; }
.about-body p { font-size: 19px; line-height: 1.65; color: var(--ink2); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.facts div { display: flex; flex-direction: column; gap: 6px; }
.facts dt { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.facts dd { font-size: 16px; font-weight: 500; }

/* ---------- İletişim ---------- */
.contact { flex-grow: 1; padding: 24px var(--gutter) 120px; }
.contact-card { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; padding: 64px; border: 1px solid var(--line); border-radius: 28px; background: var(--card); color: var(--ink); }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-h { font-size: 56px; line-height: 1.04; }
.spacer { flex-grow: 1; }
.contact-list { display: flex; flex-direction: column; gap: 14px; font-size: 17px; }
.contact-list a, .contact-loc { display: flex; align-items: center; gap: 12px; min-height: 44px; overflow-wrap: anywhere; }
.contact-list a { color: var(--ink); text-decoration: none; }
.contact-list a:hover { text-decoration: underline; opacity: 1; }
.contact-loc { color: var(--muted); }
.contact-list svg { flex-shrink: 0; }

.contact-form { display: flex; flex-direction: column; gap: 18px; padding: 32px; border-radius: 20px; background: #FFFFFF; color: #15171C; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field textarea { width: 100%; border: 1px solid #C9C6BC; border-radius: 12px; background: #FFFFFF; color: #15171C; font-size: 16px; }
.field input { height: 52px; padding: 0 16px; }
.field textarea { padding: 14px 16px; resize: vertical; min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: #6B7080; opacity: 1; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); border-radius: 12px; }
.field [aria-invalid="true"] { border-color: #B42318; }
.contact-form .btn { width: 100%; }
.contact-form .btn:focus-visible { outline-color: var(--accent); }
.contact-form .btn[disabled] { opacity: 0.6; cursor: progress; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 15px; line-height: 1.5; }
.form-status:empty { display: none; }
.form-status.is-ok { color: #0F6B3C; }
.form-status.is-err { color: #B42318; }
.form-status a, .form-note a { color: #1F4FE0; }
.form-note { font-size: 13px; line-height: 1.5; color: #5A5F6B; }

/* ---------- Footer ---------- */
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; padding: 36px var(--gutter); border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.legal-links a { color: var(--muted); }
.legal-links a[aria-current="page"] { color: var(--ink); font-weight: 600; }

/* ---------- Yasal sayfalar ---------- */
.btn-back { height: 44px; padding: 0 18px; gap: 8px; font-size: 15px; }
.legal-hero { display: flex; flex-direction: column; gap: 16px; padding: 80px var(--gutter) 56px; border-bottom: 1px solid var(--line); }
.legal-eyebrow { font-family: var(--font-mono); font-size: 14px; color: var(--accent); }
.legal-h1 { font-size: 64px; line-height: 1.04; letter-spacing: -0.035em; }
.legal-sub { font-size: 16px; color: var(--muted); }
.notfound .btn { margin-top: 12px; }
.legal-body { flex-grow: 1; display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 96px; padding: 64px var(--gutter) 96px; }
.toc { align-self: start; position: sticky; top: 112px; display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.toc-label { font-size: 12px; padding-bottom: 10px; }
.toc a { padding: 8px 0; color: var(--ink2); text-decoration: none; }
.toc a:hover { color: var(--ink); text-decoration: underline; opacity: 1; }
.legal-article { max-width: 760px; display: flex; flex-direction: column; gap: 48px; font-size: 17px; line-height: 1.7; color: var(--ink2); }
.legal-article section { display: flex; flex-direction: column; gap: 12px; }
.legal-article h2 { font-size: 28px; line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); }
.legal-article ul, .legal-article ol { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.legal-article ol { gap: 6px; }
.legal-article strong { color: var(--ink); }
.legal-intro { font-size: 19px; color: var(--ink); }
.legal-note { padding: 14px 18px; border-left: 3px solid var(--accent); background: var(--card); border-radius: 0 12px 12px 0; font-size: 15px; color: var(--muted); }
.legal-dl { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 8px 16px; padding: 20px 24px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; font-size: 16px; }
.legal-dl dt { color: var(--muted); }
.legal-dl dd { overflow-wrap: anywhere; }
.legal-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.legal-cards > div { padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; font-size: 15px; }
.legal-card-k { font-size: 17px; font-weight: 600; color: var(--ink); }

/* ======================================================================
   Kırılımlar
   ====================================================================== */
@media (max-width: 1199px) {
  :root { --gutter: 48px; }
  .h1 { font-size: clamp(44px, 5.6vw, 64px); }
  .h2 { font-size: clamp(34px, 4.4vw, 48px); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card { min-height: 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .contact-card { gap: 48px; padding: 48px; }
  .contact-h { font-size: clamp(36px, 4.6vw, 52px); }
  .legal-body { grid-template-columns: 220px minmax(0, 1fr); gap: 56px; }
}

@media (max-width: 1079px) {
  :root { --header-h: 81px; }
  .main-nav { display: none; }
  .menu-btn { display: inline-flex; }
  .header-actions { gap: 10px; }
  .header-bar { padding-top: 16px; padding-bottom: 16px; }
}

@media (max-width: 959px) {
  .hero { grid-template-columns: 1fr; gap: 24px; padding-top: 56px; padding-bottom: 72px; }
  .hero-art { max-width: 640px; margin: 8px calc(-1 * var(--gutter)) 0 -8px; }
  .lead { max-width: 640px; }
  .section { padding-top: 88px; padding-bottom: 88px; }
  .sec-head { grid-template-columns: 1fr; gap: 16px; }
  .services, .products, .process { gap: 40px; }
  .flow { grid-template-columns: 1fr; gap: 24px; }
  .flow-art { max-width: 640px; margin: 8px -8px 0; }
  .about { grid-template-columns: 1fr; gap: 24px; }
  .contact-card { grid-template-columns: 1fr; }
  .legal-hero { padding-top: 56px; padding-bottom: 40px; }
  .legal-h1 { font-size: clamp(38px, 7vw, 56px); }
  .legal-body { grid-template-columns: 1fr; gap: 40px; padding-top: 40px; padding-bottom: 72px; }
  .toc { position: static; padding: 20px 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
  .toc a { padding: 6px 0; }
}

/* Mobil — design/Mobile.dc.html (390 px) */
@media (max-width: 639px) {
  :root { --gutter: 20px; --header-h: 65px; }
  .header-bar { padding: 10px 12px 10px 20px; gap: 8px; }
  .brand { gap: 10px; }
  .brand-mark { width: 28px; height: 28px; }
  .brand-name { font-size: 19px; }
  .header-actions { gap: 2px; }
  .header-cta { display: none; }
  .lang { padding: 3px; font-size: 12px; }
  .lang a { min-width: 40px; }
  .mobile-nav { padding: 8px 20px 24px; }

  .hero { gap: 22px; padding: 40px 20px 56px; }
  .hero-text { gap: 22px; }
  .h1 { font-size: 44px; line-height: 1.04; }
  .lead { font-size: 17px; }
  .hero-ctas { flex-direction: column; gap: 10px; padding-top: 4px; }
  .hero-ctas .btn { height: 54px; font-size: 16px; white-space: normal; text-align: center; }
  .stack { padding-top: 8px; }
  .stack-label { display: none; }
  .chips { gap: 6px; }
  .chip { padding: 6px 10px; font-size: 13px; }
  .hero-art { margin: 8px -20px 0 -8px; }

  /* Dar ekranda paralaks şekilleri daha küçük ve seyrek */
  .fx-1 { width: 170px; height: 170px; right: -40px; }
  .fx-3 { width: 56px; height: 56px; }
  .fx-4 { width: 120px; height: 42px; right: 4%; }
  .fx-6 { width: 110px; height: 110px; left: -30px; }
  .fx-7 { width: 70px; height: 70px; }
  .fx-9 { width: 150px; height: 48px; }
  .fx-10 { width: 140px; height: 140px; right: -30px; }
  .fx-5, .fx-8 { transform-origin: center; scale: 0.8; }

  .section { padding: 64px 20px; }
  .services, .products, .process { gap: 28px; }
  .sec-head { gap: 12px; }
  .h2 { font-size: 34px; line-height: 1.08; }
  #flow-h { font-size: 32px; }
  .intro { font-size: 16px; }
  .cards { grid-template-columns: 1fr; gap: 12px; }
  .card { gap: 10px; padding: 24px; border-radius: 16px; }
  .card-top { align-items: center; padding-bottom: 4px; }
  .icon-box { width: 48px; height: 48px; border-radius: 13px; }
  .icon-box svg { width: 26px; height: 26px; }
  .no { font-size: 13px; }
  .card .h3 { font-size: 22px; }
  .card p { font-size: 15px; }
  .flow-text { gap: 12px; }

  .empty { gap: 14px; padding: 44px 24px; border-radius: 22px; }
  .empty-icon { width: 60px; height: 60px; border-radius: 16px; }
  .empty-icon svg { width: 28px; height: 28px; }
  .empty .label-mono { font-size: 12px; }
  .empty-h { font-size: 26px; line-height: 1.15; }
  .empty p { font-size: 15px; }
  .empty .btn { height: 50px; padding: 0 22px; font-size: 15px; margin-top: 6px; }

  .steps { grid-template-columns: 1fr; gap: 24px; }
  .steps li { gap: 8px; padding-top: 16px; }
  .steps .h3 { font-size: 21px; }
  .steps p { font-size: 15px; }

  .about { gap: 18px; }
  .about-body { gap: 18px; }
  .about-body p { font-size: 16px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 8px; padding-top: 20px; }
  .facts div { gap: 4px; }
  .facts dt { font-size: 11px; }
  .facts dd { font-size: 15px; }

  .contact { padding: 8px 12px 48px; }
  .contact-card { gap: 18px; padding: 32px 20px; border-radius: 24px; }
  .contact-info { gap: 18px; }
  .contact-h { font-size: 36px; line-height: 1.06; }
  .spacer, .contact-loc { display: none; }
  .contact-list { font-size: 16px; }
  .contact-list a { gap: 10px; }
  .contact-form { gap: 14px; padding: 20px; border-radius: 16px; }
  .field { gap: 6px; }
  .field input { height: 50px; padding: 0 14px; }
  .field textarea { padding: 12px 14px; }
  .contact-form .btn { height: 54px; font-size: 16px; }

  .site-footer { flex-direction: column-reverse; align-items: flex-start; gap: 14px; padding: 28px 20px 36px; font-size: 13px; }
  .legal-links { gap: 8px 20px; }
  .legal-links a { display: inline-flex; align-items: center; min-height: 32px; }

  .btn-back { width: 44px; padding: 0; margin-left: 6px; }
  .btn-back-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .legal-hero { gap: 12px; padding: 40px 20px 32px; }
  .legal-eyebrow { font-size: 13px; }
  .legal-h1 { font-size: 38px; }
  .legal-sub { font-size: 15px; }
  .legal-body { padding: 32px 20px 64px; gap: 32px; }
  .legal-article { gap: 36px; font-size: 16px; }
  .legal-intro { font-size: 17px; }
  .legal-article h2 { font-size: 23px; }
  .legal-dl { grid-template-columns: 1fr; gap: 2px; padding: 16px 18px; }
  .legal-dl dd + dt { margin-top: 10px; }
  .legal-cards { grid-template-columns: 1fr; }
}

@media (max-width: 379px) {
  .h1 { font-size: 40px; }
  .brand-name { font-size: 17px; }
}

/* Hareket azaltma: paralaks JS tarafında kapatılır; renk geçişi burada. */
@media (prefers-reduced-motion: reduce) {
  :root.theme-ready { transition: none; }
  .shape { display: none; }
}
