/* ============================================================================
   MEKAGENT design system v4 - restraint over decoration.
   One flat accent, hairlines, editorial rows, typography carries hierarchy.
   No gradients, no glows, no staggered theatrics.
   ============================================================================ */

/* Inter variable font — self-hosted, all weights 100-900 */
@font-face {
  font-family: "Inter";
  src: url("/inter.woff2?v=20261204-77") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #f4f5f7;
  --bg-soft: #eceef1;
  --surface: #ffffff;
  --surface-2: #f8f9fb;
  --surface-3: #eef1f5;
  --ink: #16191f;
  --ink-2: #454c57;
  --muted: #757b86;
  --line: #e3e6eb;
  --line-soft: #eef0f4;
  --blue: #2563eb;
  --blue-deep: #1a4fd0;
  --blue-soft: #eaeefe;
  --blue-border: #c5d2f5;
  --graphite: #14161b;
  --graphite-2: #1a1d23;
  --graphite-3: #23262d;
  --g-line: #2b2f37;
  --on-g: #eef0f3;
  --on-g-muted: #979ea9;
  --ok: #1c7c4c;
  --ok-bg: #e6f4ec;
  --err: #cc3d3d;
  --err-bg: #fcecec;
  --warn: #b98216;
  --head-bg: rgba(238, 240, 243, .9);
  --shadow-1: 0 1px 2px rgba(22, 25, 31, .05);
  --shadow-2: 0 8px 26px rgba(22, 25, 31, .1);
  --shadow-3: 0 32px 80px rgba(22, 25, 31, .18);
  --focus: 0 0 0 3px rgba(37, 99, 235, .22);
  --radius: 16px;
  --radius-sm: 11px;
  --radius-xs: 8px;
  --sans: Inter, "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "SF Mono", "Cascadia Code", ui-monospace, Consolas, Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f1115;
  --bg-soft: #14171c;
  --surface: #171a20;
  --surface-2: #1d2027;
  --surface-3: #23262d;
  --ink: #eef0f3;
  --ink-2: #c3c8d0;
  --muted: #8a909b;
  --line: #262a32;
  --line-soft: #20242b;
  --blue: #6b95ff;
  --blue-deep: #2e5fe0;
  --blue-soft: rgba(107, 149, 255, .12);
  --blue-border: #36426e;
  --ok: #4ec07f;
  --ok-bg: #16281e;
  --err: #ef7070;
  --err-bg: #2c1a1a;
  --warn: #d9a514;
  --head-bg: rgba(15, 17, 21, .9);
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-2: 0 10px 30px rgba(0, 0, 0, .45);
  --shadow-3: 0 32px 90px rgba(0, 0, 0, .6);
  --focus: 0 0 0 3px rgba(107, 149, 255, .3);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { scrollbar-width: thin; scrollbar-color: #b6bdc7 transparent; }
:root[data-theme="dark"] * { scrollbar-color: #333a44 transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #bcc2cc; border: 3px solid transparent; background-clip: content-box; border-radius: 9px; }
:root[data-theme="dark"] ::-webkit-scrollbar-thumb { background: #343b46; border: 3px solid transparent; background-clip: content-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 14px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body, input, select, textarea, button { font-family: var(--sans); }
a { color: inherit; }
button { cursor: pointer; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
::selection { background: rgba(37, 99, 235, .18); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 8px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { text-wrap: balance; }
code, pre, kbd { font-family: var(--mono); }
.num { font-variant-numeric: tabular-nums; }
.inner { width: min(1240px, calc(100% - 64px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: -80px; left: 16px; padding: 12px 18px; background: var(--blue); color: #fff; font-weight: 700; border-radius: 10px; text-decoration: none; }
.skip-link:focus { top: 14px; }

/* ---------- motion (minimal) ---------- */
@keyframes rise-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes mek-pulse { 0%, 60%, 100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes mek-spin { to { transform: rotate(360deg); } }
.reveal { opacity: 0; transition: opacity .55s var(--ease); }
.reveal.in { opacity: 1; }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 31px; height: 31px; flex: 0 0 31px; border-radius: 9px; background: var(--graphite); display: grid; place-items: center; box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
:root[data-theme="dark"] .logo-mark { background: var(--blue-deep); }
.logo-mark svg { width: 18px; height: 18px; }
.logo-word { font-size: 16px; font-weight: 800; letter-spacing: -.02em; }
.on-dark .logo-word { color: var(--on-g); }

/* ---------- theme button ---------- */
.theme-btn { position: relative; width: 38px; height: 38px; flex: 0 0 38px; border: 1px solid var(--line); border-radius: var(--radius-xs); background: var(--surface); color: var(--ink-2); display: grid; place-items: center; transition: border-color .18s, color .18s; }
.theme-btn:hover { border-color: var(--blue-border); color: var(--blue-deep); }
.theme-btn svg { position: absolute; width: 16px; height: 16px; opacity: 0; transition: opacity .2s; }
:root[data-theme-preference="system"] .theme-btn .ico-auto { opacity: 1; }
:root[data-theme-preference="light"] .theme-btn .ico-sun { opacity: 1; }
:root[data-theme-preference="dark"] .theme-btn .ico-moon { opacity: 1; }
.on-dark .theme-btn { background: var(--graphite-2); border-color: var(--g-line); color: var(--on-g-muted); }
.on-dark .theme-btn:hover { color: var(--on-g); border-color: #3a4049; }

/* ---------- MEKAGENT buttons — bent corner signature ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 52px; padding: 0 28px; border: none; border-radius: 18px 2px 18px 2px; font-size: 14px; font-weight: 670; letter-spacing: .005em; text-decoration: none; overflow: hidden; transition: transform .16s var(--ease), box-shadow .16s var(--ease); }
.btn::before { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: rgba(0,0,0,.14); transition: height .16s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover::before { height: 4px; }
.btn:active { transform: translateY(0); }
.btn:active::before { height: 1px; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary::before { background: rgba(0,0,0,.14); }
:root[data-theme="dark"] .btn-primary { background: var(--blue-deep); }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 12px 12px 12px 3px; }
.btn-ghost::before { background: var(--line-soft); }
.btn-dark { background: var(--graphite); color: var(--on-g); }
.btn-dark::before { background: rgba(0,0,0,.2); }
:root[data-theme="dark"] .btn-dark { background: var(--blue-deep); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 13px; border-radius: 14px 2px 14px 2px; }
.btn-block { width: 100%; }
.btn-arrow { width: 16px; height: 16px; margin-right: 2px; transition: transform .16s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }
.btn-arrow { width: 16px; height: 16px; margin-right: 2px; }
.btn:hover .btn-arrow { transform: translateX(3px); }
.btn-arrow { transition: transform .18s var(--ease); }

.google-btn { background: #fff; border-color: #dfe3e8; color: #1f2430; font-weight: 700; box-shadow: var(--shadow-1); }
.google-btn:hover { background: #f7f9fc; border-color: #c9cfd8; }
.google-btn .g-logo { width: 18px; height: 18px; flex: 0 0 18px; }
.divider { display: flex; align-items: center; gap: 14px; margin: 24px 0; color: var(--muted); font-size: 10.5px; font-weight: 700; letter-spacing: .1em; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- fields ---------- */
.field { margin-bottom: 20px; }
.field label { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 7px; color: var(--ink-2); font-size: 12px; font-weight: 650; }
.optional { color: var(--muted); font-weight: 500; font-size: 11px; }
input[type="text"], input[type="email"], input[type="password"], input[type="number"], select, textarea { width: 100%; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); font-size: 13.5px; transition: border-color .16s var(--ease), box-shadow .16s var(--ease); }
input[type="text"], input[type="email"], input[type="password"], input[type="number"], select { height: 50px; padding: 0 14px; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
textarea { padding: 12px 14px; resize: vertical; line-height: 1.6; }
input:focus, select:focus, textarea:focus { border-color: var(--blue-border); outline: none; box-shadow: var(--focus); }
input::placeholder, textarea::placeholder { color: var(--muted); }
input[type="file"] { width: 100%; padding: 10px 0; font-size: 11.5px; color: var(--muted); border: 0; background: none; }
.field-hint { margin: 7px 0 0; font-size: 11.5px; line-height: 1.55; color: var(--muted); }
.pass-wrap { position: relative; }
.pass-wrap input { padding-right: 46px; }
.pass-eye { position: absolute; right: 7px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; display: grid; place-items: center; border: 0; background: transparent; color: var(--muted); cursor: pointer; border-radius: 8px 1px 8px 1px; transition: color .15s var(--ease); }
.pass-eye:hover { color: var(--ink); }
.pass-eye:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
.pass-eye svg { width: 18px; height: 18px; pointer-events: none; }
.pass-eye .ico-eye-off { display: none; }
.pass-eye.showing .ico-eye { display: none; }
.pass-eye.showing .ico-eye-off { display: block; }
.alert { margin-bottom: 16px; padding: 12px 15px; border-radius: var(--radius-sm); font-size: 12.5px; line-height: 1.5; animation: rise-in .3s var(--ease) both; }
.alert.error { background: var(--err-bg); color: var(--err); border: 1px solid rgba(204, 61, 61, .28); }
.alert.info { background: rgba(37, 99, 235, .1); color: var(--ink); border: 1px solid rgba(37, 99, 235, .28); }
.auth-resend { margin-top: -6px; margin-bottom: 16px; }

/* ---------- pills, tags ---------- */
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); font-size: 10.5px; font-weight: 700; white-space: nowrap; }
.status-pill.ok { background: var(--ok-bg); color: var(--ok); border-color: transparent; }
.status-pill.bad { background: var(--err-bg); color: var(--err); border-color: transparent; }
.model-tag { display: inline-block; padding: 3px 11px; border-radius: 99px; background: var(--blue-soft); color: var(--blue-deep); font-size: 9.5px; font-weight: 800; letter-spacing: .08em; }
:root[data-theme="dark"] .model-tag { color: #a9bcf5; }
.mini-button { margin-right: 6px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--ink-2); font-size: 10.5px; font-weight: 700; transition: background .15s, color .15s, border-color .15s; }
.mini-button:hover { background: var(--surface-2); }
.mini-button.danger { color: var(--err); border-color: rgba(204, 61, 61, .35); }
.mini-button.danger:hover { background: var(--err-bg); }

/* ============================================================================
   SITE — landing
   ============================================================================ */
.site-head { position: sticky; top: 0; z-index: 50; background: var(--head-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-head.scrolled { box-shadow: var(--shadow-2); }
.site-head .inner { height: 66px; display: flex; align-items: center; gap: 30px; }
.site-nav { display: flex; gap: 2px; margin-left: 4px; }
.site-nav a { padding: 9px 12px; border-radius: 9px; color: var(--muted); font-size: 12.5px; font-weight: 650; text-decoration: none; transition: color .16s, background .16s; }
.site-nav a:hover { color: var(--ink); background: var(--surface-2); }
.site-actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }

/* hero */
.hero { padding: clamp(80px, 10vw, 148px) 0 clamp(72px, 8vw, 120px); border-bottom: 1px solid var(--line); }
.hero-inner { position: relative; display: flex; justify-content: center; }
.hero-copy { position: relative; max-width: 680px; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; height: 29px; padding: 0 13px; border: 1px solid var(--blue-border); background: var(--blue-soft); color: var(--blue-deep); border-radius: 99px; font-size: 10px; font-weight: 780; letter-spacing: .13em; }
:root[data-theme="dark"] .eyebrow { color: #a9bcf5; }
.eyebrow::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }
.hero h1 { margin: 0 0 24px; font-size: clamp(44px, 5.8vw, 76px); line-height: 1.02; letter-spacing: -.04em; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--blue-deep); }
:root[data-theme="dark"] .hero h1 em { color: var(--blue); }
.lead { max-width: 580px; margin: 0 auto; color: var(--ink-2); font-size: clamp(15px, 1.5vw, 17.5px); line-height: 1.8; }
.lead strong { color: var(--ink); font-weight: 700; }
.hero-cta { display: flex; justify-content: center; gap: 16px; align-items: center; margin-top: 38px; flex-wrap: wrap; }

/* sections */
.section { padding: clamp(80px, 10vw, 144px) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 44px; margin-bottom: clamp(40px, 5vw, 64px); }
.kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--blue-deep); font: 700 10px var(--mono); letter-spacing: .18em; }
:root[data-theme="dark"] .kicker { color: var(--blue); }
.section-head h2 { margin: 0; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -.032em; font-weight: 800; }

/* feature rows */
.feat-list { border-top: 1px solid var(--line); }
.feat-row { display: grid; grid-template-columns: 56px 1fr 300px; gap: 42px; padding: 50px 0; border-bottom: 1px solid var(--line); align-items: start; }
.feat-demo { grid-column: 3; }
.feat-icon { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; background: var(--blue-soft); color: var(--blue-deep); display: grid; place-items: center; transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease); }
:root[data-theme="dark"] .feat-icon { color: var(--blue); }
.feat-row:hover .feat-icon { background: var(--blue); color: #fff; transform: scale(1.05); }
:root[data-theme="dark"] .feat-row:hover .feat-icon { background: var(--blue-deep); }
.feat-icon svg { width: 20px; height: 20px; }
.feat-title { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.feat-title h3 { margin: 0; font-size: 21px; font-weight: 780; letter-spacing: -.015em; }
.feat-model { color: var(--muted); font: 650 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.feat-main p { margin: 10px 0 0; max-width: 580px; color: var(--ink-2); font-size: 14px; line-height: 1.8; }
/* feature demo cards */
.feat-demo { display: flex; flex-direction: column; gap: 10px; }

/* band — living organisms */
.band { background: var(--bg-soft); color: var(--ink); padding: clamp(80px, 10vw, 140px) 0; position: relative; overflow: hidden; border-block: 1px solid var(--line); }
.band-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(56px, 7vw, 110px); align-items: start; }
.band .kicker { color: var(--blue-deep); }
:root[data-theme="dark"] .band .kicker { color: var(--blue); }
.band h2 { margin: 0 0 16px; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -.032em; font-weight: 800; }
.band-lead { max-width: 460px; margin: 0 0 34px; color: var(--muted); font-size: 14.5px; line-height: 1.8; }
.point { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 26px 0; border-top: 1px solid var(--line); }
.point:last-child { border-bottom: 1px solid var(--line); }
.point-icon { width: 42px; height: 42px; flex: 0 0 42px; border: 1px solid var(--line); border-radius: 11px; display: grid; place-items: center; color: var(--blue-deep); }
:root[data-theme="dark"] .point-icon { color: var(--blue); }
.point-icon svg { width: 18px; height: 18px; }
.point h3 { margin: 0 0 5px; font-size: 14.5px; font-weight: 700; }
.point p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }

/* cta — living gateway */
.cta-section { position: relative; overflow: hidden; padding: clamp(80px, 10vw, 140px) 0; border-block: 1px solid var(--line); }
.cta { position: relative; z-index: 1; text-align: center; }
.cta h2 { margin: 0 0 18px; font-size: clamp(32px, 4.2vw, 52px); line-height: 1.06; letter-spacing: -.035em; font-weight: 800; }
.cta h2 em { font-style: normal; color: var(--blue-deep); }
:root[data-theme="dark"] .cta h2 em { color: var(--blue); }
.cta p { margin: 0 0 32px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.btn-cta { height: 56px; padding: 0 36px; font-size: 15px; border-radius: 16px 16px 16px 4px; }

/* diff rows */
.diff-list { border-top: 1px solid var(--line); }
.diff-row { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 36px 0; border-bottom: 1px solid var(--line); align-items: start; }
.diff-icon { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 14px 14px 14px 4px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue-deep); }
:root[data-theme="dark"] .diff-icon { color: var(--blue); }
.diff-icon svg { width: 20px; height: 20px; }
.diff-row h3 { margin: 0 0 6px; font-size: 18px; font-weight: 780; }
.diff-row p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

/* steps grid */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step-card { position: relative; padding: 36px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px 16px 16px 4px; overflow: hidden; }
.step-card::before { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--blue); opacity: .15; transition: opacity .2s var(--ease); }
.step-card:hover::before { opacity: .4; }
.step-icon { width: 48px; height: 48px; margin-bottom: 20px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue-deep); }
:root[data-theme="dark"] .step-icon { color: var(--blue); }
.step-icon svg { width: 22px; height: 22px; }
.step-card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 750; }
.step-card p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.7; }

/* persona grid */
.section-alt { background: var(--bg-soft); }
.persona-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.persona-card { display: flex; align-items: flex-start; gap: 18px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px 16px 16px 4px; overflow: hidden; transition: border-color .2s var(--ease); }
.persona-card:hover { border-color: var(--blue-border); }
.persona-icon { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue-deep); }
:root[data-theme="dark"] .persona-icon { color: var(--blue); }
.persona-icon svg { width: 20px; height: 20px; }
.persona-card h3 { margin: 0 0 6px; font-size: 16px; font-weight: 750; }
.persona-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

/* FAQ */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary { padding: 22px 0; font-size: 15.5px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 20px; font-weight: 400; color: var(--muted); transition: transform .2s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { color: var(--blue-deep); }
:root[data-theme="dark"] .faq-item[open] summary { color: var(--blue); }
.faq-item p { margin: 0; padding: 0 32px 22px 0; color: var(--muted); font-size: 14px; line-height: 1.75; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 56px 0 64px; background: var(--bg); }
.foot-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 2px; flex-wrap: wrap; }
.foot-links a { padding: 6px 10px; border-radius: 8px; color: var(--muted); font-size: 12px; font-weight: 620; text-decoration: none; transition: color .15s, background .15s; }
.foot-links a:hover { color: var(--ink); background: var(--surface-2); }

/* ============================================================================
   AUTH
   ============================================================================ */
.auth-page { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; background: var(--bg); }
.auth-side { position: relative; overflow: hidden; padding: clamp(44px, 6vw, 72px); background: var(--graphite); color: var(--on-g); display: flex; flex-direction: column; }
.auth-deco { position: absolute; right: -30px; bottom: -30px; width: 200px; height: 200px; pointer-events: none; }
.auth-side-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.auth-quote { margin: auto 0; max-width: 470px; }
.auth-quote h2 { margin: 0 0 14px; font-size: clamp(30px, 3vw, 44px); line-height: 1.08; letter-spacing: -.032em; font-weight: 800; }
.auth-quote h2 em { font-style: normal; color: var(--blue); }
.auth-quote p { margin: 0 0 36px; color: var(--on-g-muted); font-size: 14.5px; line-height: 1.8; }
.auth-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.auth-points li { display: flex; align-items: center; gap: 14px; color: var(--on-g); font-size: 14px; }
.auth-points li > div { display: flex; flex-direction: column; gap: 2px; }
.auth-points b { font-size: 14.5px; font-weight: 700; }
.auth-points span { color: var(--on-g-muted); font-size: 13px; line-height: 1.5; }
.auth-points svg { width: 17px; height: 17px; color: var(--blue); flex: 0 0 17px; }
.auth-quota { margin: 30px 0 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: var(--on-g-muted); font-size: 13px; line-height: 1.7; }
.auth-quota b { color: var(--on-g); font-weight: 750; }
.auth-quota span { display: block; margin-top: 4px; opacity: .85; }
:root[data-theme="dark"] .auth-points svg { color: #6b95ff; }
.auth-form-panel { display: grid; place-items: center; padding: 60px 32px; }
.auth-card { width: min(452px, 100%); }
.auth-head { margin-bottom: 34px; }
.auth-head h1 { margin: 0 0 8px; font-size: 29px; letter-spacing: -.025em; font-weight: 800; }
.auth-head p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.7; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 28px; padding: 5px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface-2); }
.auth-tab { height: 46px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font-size: 12.5px; font-weight: 720; transition: background .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease); }
.auth-tab.active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }
.auth-form .field:last-of-type { margin-bottom: 20px; }
.auth-foot { margin: 26px 0 0; color: var(--muted); font-size: 11.5px; line-height: 1.6; }
.auth-foot a { color: var(--ink-2); }
.auth-foot.auth-back { margin: 10px 0 0; }

/* ============================================================================
   APP SHELL
   ============================================================================ */
.app-page { height: 100vh; height: 100dvh; display: flex; overflow: hidden; }
.side-backdrop { display: none; }

.side { width: 280px; flex: 0 0 280px; background: var(--graphite); color: var(--on-g); display: flex; flex-direction: column; border-right: 1px solid var(--g-line); min-height: 0; }
.side-head { padding: 15px 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--g-line); }
.side-drawer-close { display: none; }
.side-chats { flex: 1; min-height: 0; display: flex; flex-direction: column; margin-top: 6px; padding: 0 12px; }
.side-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 12px 8px; color: var(--on-g-muted); font-size: 9.5px; font-weight: 800; letter-spacing: .14em; }
.side-new { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 1px solid var(--g-line); border-radius: 9px; background: transparent; color: var(--on-g-muted); font-size: 16px; line-height: 1; transition: background .16s, color .16s, border-color .16s; }
.side-new:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.chat-list { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; padding: 0 0 10px; }
.chat-list-empty { margin: 10px 12px; color: var(--on-g-muted); font-size: 11px; line-height: 1.6; }
.chat-item { display: flex; align-items: center; gap: 2px; width: 100%; border-radius: 9px; background: transparent; color: var(--on-g-muted); font-size: 12.5px; transition: background .15s, color .15s; }
.chat-item:hover { background: var(--graphite-2); color: var(--on-g); }
.chat-item.active { background: var(--graphite-3); color: #fff; box-shadow: inset 2px 0 0 var(--blue); }
.chat-open { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; padding: 9px 4px 9px 11px; cursor: pointer; }
.chat-item-title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-item-delete { flex: 0 0 30px; align-self: stretch; opacity: .55; color: var(--on-g-muted); border: 0; background: transparent; font-size: 17px; line-height: 1; padding: 0 4px; cursor: pointer; }
.chat-item:hover .chat-item-delete, .chat-item-delete:focus-visible { opacity: 1; }
.chat-item-delete:hover { color: #ef7070; }
.side-foot { border-top: 1px solid var(--g-line); padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 12px; }
.side-user { display: flex; align-items: center; gap: 11px; }
.side-avatar { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.side-user-mail { flex: 1; min-width: 0; color: var(--on-g); font-size: 12px; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.credit-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border: 1px solid var(--g-line); border-radius: 10px; background: var(--graphite-2); color: var(--on-g-muted); font-size: 11px; font-weight: 650; }
.credit-line b { color: var(--on-g); font-weight: 750; font-variant-numeric: tabular-nums; }
.credit-line.low b { color: #ef7070; }
.side-actions { display: flex; gap: 8px; }
.side-actions .btn { flex: 1; height: 38px; background: var(--graphite-2); border-color: var(--g-line); color: var(--on-g-muted); }
.side-actions .btn:hover { color: var(--on-g); background: var(--graphite-3); }
.side-actions .btn-danger-ghost:hover { color: #fca5a5; border-color: rgba(239, 68, 68, .45); background: rgba(239, 68, 68, .12); }

.account-dialog { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); color: var(--ink); padding: 24px; max-width: 420px; width: calc(100% - 32px); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); margin: auto; }
.account-dialog::backdrop { background: rgba(10, 10, 12, .65); backdrop-filter: blur(4px); }
.account-dialog h2 { margin: 0 0 8px; font-size: 18px; }
.account-dialog p { margin: 0 0 16px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.account-dialog-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; }
.btn-danger { background: #dc2626; border-color: #dc2626; color: #fff; }
.btn-danger:hover { background: #b91c1c; border-color: #b91c1c; }

.mobile-top { display: none; }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; background: var(--bg); }
.tool { display: none; flex: 1; min-height: 0; flex-direction: column; animation: rise-in .25s var(--ease); }
.tool.active { display: flex; }
.tool-wrap { width: min(980px, 100% - 56px); margin: 0 auto; padding: 32px 0 40px; flex: 1; min-height: 0; display: flex; flex-direction: column; }

/* chat — açık düzen: kart yok, mesajlar sayfada */
.chat-window { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.chat-scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 36px 28px 28px; display: flex; flex-direction: column; gap: 30px; scroll-behavior: smooth; }
.chat-scroll::-webkit-scrollbar, .chat-list::-webkit-scrollbar { width: 9px; }
.chat-scroll::-webkit-scrollbar-track, .chat-list::-webkit-scrollbar-track { background: transparent; }
.chat-scroll::-webkit-scrollbar-thumb, .chat-list::-webkit-scrollbar-thumb { background: var(--line); border: 2px solid transparent; background-clip: padding-box; border-radius: 8px; }
.chat-scroll::-webkit-scrollbar-thumb:hover, .chat-list::-webkit-scrollbar-thumb:hover { background: var(--blue-border); border: 2px solid transparent; background-clip: padding-box; }
.chat-empty { margin: auto; max-width: 470px; text-align: center; padding: 30px 10px; }
.chat-empty-mark { width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 16px; display: grid; place-items: center; box-shadow: 0 14px 34px -12px rgba(37,99,235,.4); }
.chat-empty-mark svg { width: 34px; height: 34px; }
.chat-empty h3 { margin: 0 0 8px; font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.chat-empty p { margin: 0 auto 4px; max-width: 360px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.msg { display: flex; gap: 13px; width: 100%; max-width: 820px; margin: 0 auto; animation: rise-in .25s var(--ease) both; }
.msg-avatar { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 10px; display: grid; place-items: center; font-size: 11px; font-weight: 800; margin-top: 1px; }
.msg.user .msg-avatar { display: none; }
.msg.bot .msg-avatar { background: var(--blue); color: #fff; }
.msg-body { min-width: 0; flex: 1; }
/* kullanıcı: sağa yaslı yumuşak kart */
.msg.user { justify-content: flex-end; }
.msg.user .msg-body { flex: 0 1 auto; max-width: 76%; }
.msg.user .msg-role { text-align: right; }
.msg.user .md-content { padding: 10px 15px; background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: 15px 5px 15px 15px; }
.msg-role { margin-bottom: 5px; color: var(--muted); font-size: 9.5px; font-weight: 800; letter-spacing: .12em; }
.msg.bot .msg-role { color: var(--blue-deep); }
:root[data-theme="dark"] .msg.bot .msg-role { color: var(--blue); }

/* markdown */
.md-content { font-size: 13.5px; line-height: 1.75; color: var(--ink); overflow-wrap: anywhere; }
.md-content p { margin: 0 0 10px; }
.md-content p:last-child { margin-bottom: 0; }
.md-content h4 { margin: 15px 0 8px; font-size: 14px; font-weight: 750; }
.md-content ul, .md-content ol { margin: 6px 0 10px; padding-left: 22px; }
.md-content li { margin-bottom: 4px; }
.md-content pre { margin: 10px 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 13px; background: var(--graphite); color: #d9dee6; overflow-x: auto; font-size: 11.5px; line-height: 1.65; }
.md-content pre code { font-family: var(--mono); background: none; padding: 0; color: inherit; }
.md-content code { padding: 2px 6px; border-radius: 5px; background: var(--bg-soft); border: 1px solid var(--line-soft); font-size: .9em; }
:root[data-theme="dark"] .md-content code { background: var(--surface-2); }
.msg.user .md-content code { background: rgba(255,255,255,.12); border-color: transparent; color: inherit; }
.md-content a { color: var(--blue-deep); text-underline-offset: 3px; }
:root[data-theme="dark"] .md-content a { color: var(--blue); }
.message-reasoning { margin: 0 0 10px; }
.message-reasoning summary { color: var(--muted); cursor: pointer; font-size: 10.5px; font-weight: 700; list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.message-reasoning summary::before { content: "◌"; color: var(--blue); }
.message-reasoning summary::-webkit-details-marker { display: none; }
.message-reasoning[open] summary { margin-bottom: 8px; }
.message-reasoning > div { padding: 10px 14px; border-left: 2px solid var(--blue-border); background: var(--surface-2); border-radius: 0 10px 10px 0; color: var(--muted); font-size: 11.5px; line-height: 1.65; white-space: pre-wrap; }
.message-sources { margin-top: 12px; }
.message-sources summary { color: var(--muted); cursor: pointer; font-size: 10.5px; font-weight: 750; letter-spacing: .04em; }
.message-sources ul { margin: 8px 0 0; padding-left: 18px; }
.message-sources li { margin-bottom: 5px; font-size: 11.5px; }
.message-sources a { color: var(--blue-deep); text-decoration: none; overflow-wrap: anywhere; }
.message-sources a:hover { text-decoration: underline; }
:root[data-theme="dark"] .message-sources a { color: var(--blue); }
.source-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin-top: 10px; }
.source-image { display: flex; flex-direction: column; gap: 7px; border: 1px solid var(--line); border-radius: 10px 1px 10px 1px; overflow: hidden; background: var(--panel); padding: 8px; }
.source-image img { display: block; width: 100%; height: 160px; object-fit: cover; padding: 0; }
.source-image-load { min-height: 64px; border: 1px dashed var(--line); border-radius: 7px; background: transparent; color: var(--muted); cursor: pointer; }
.source-image-page { font-size: 11px; color: var(--blue); text-decoration: none; }
.md-table-wrap { max-width: 100%; overflow-x: auto; margin: 12px 0; }
.md-table-wrap table { width: 100%; border-collapse: collapse; font-size: 12px; }
.md-table-wrap th, .md-table-wrap td { padding: 8px 10px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.md-table-wrap th { background: var(--panel); }
.md-plain-table { white-space: pre-wrap; overflow-wrap: anywhere; }
.msg-error { color: #dc5555; font-size: 12px; }
.chat-loading { color: var(--muted); padding: 20px; }
.external-media { font-size: 12px; }
.md-content img.md-img { display: block; max-width: min(440px, 100%); height: auto; border: 1px solid var(--line); border-radius: 12px 2px 12px 2px; margin: 8px 0 4px; }
.md-content video { display: block; max-width: min(520px, 100%); border: 1px solid var(--line); border-radius: 12px 2px 12px 2px; margin: 8px 0 4px; }
.credit-line.free b, .mobile-credit.free { color: #16a34a; }
.typing { display: inline-flex; gap: 4px; padding: 6px 0; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); animation: mek-pulse 1.1s infinite; }
.typing i:nth-child(2) { animation-delay: .18s; } .typing i:nth-child(3) { animation-delay: .36s; }

/* composer — yüzen kart */
.composer-wrap { padding: 10px 24px 26px; }
.composer { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; align-items: stretch; gap: 8px; padding: 12px 13px 11px 17px; border: 1px solid var(--line); border-radius: 16px 4px 16px 16px; background: var(--surface); box-shadow: 0 16px 48px -20px rgba(15,23,42,.2), 0 3px 10px -4px rgba(15,23,42,.06); transition: border-color .18s var(--ease), box-shadow .18s var(--ease); }
:root[data-theme="dark"] .composer { box-shadow: 0 16px 48px -18px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.02); }
.composer:focus-within { border-color: var(--blue-border); box-shadow: 0 18px 54px -18px rgba(37,99,235,.3), 0 0 0 3px var(--blue-soft); }
.composer-hint { margin: 0 2px; font-size: 11.5px; color: var(--muted); text-align: center; }
.composer-hint #quota-line { color: var(--ink-2); font-weight: 600; }
.chat-suggestions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 20px; }
.chat-suggestions button { padding: 9px 14px; border: 1px solid var(--line); border-radius: 10px 1px 10px 1px; background: var(--surface-2); color: var(--ink-2); font: inherit; font-size: 12.5px; cursor: pointer; transition: border-color .15s var(--ease), transform .15s var(--ease); }
.chat-suggestions button:hover { border-color: var(--blue); transform: translateY(-1px); }
.composer-row { display: flex; align-items: flex-end; gap: 10px; }
.composer textarea { flex: 1; border: 0; background: transparent; resize: none; min-height: 27px; max-height: 180px; padding: 5px 0; font-size: 13.5px; line-height: 1.6; color: var(--ink); }
.composer textarea:focus { box-shadow: none; border: 0; }
.composer textarea::placeholder { color: var(--muted); }
.msg-media { margin-top: 10px; display: inline-block; max-width: 100%; border: 1px solid var(--line); border-radius: 12px 2px 12px 2px; overflow: hidden; }
.msg-media img, .msg-media video { display: block; width: 100%; max-width: 440px; height: auto; }
.msg-meta { margin-top: 10px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; padding-top: 9px; border-top: 1px solid var(--line-soft); font-size: 11px; color: var(--muted); }
.msg-meta a { color: var(--blue); font-weight: 700; }
.msg-hint { margin-left: 8px; font-size: 12px; color: var(--muted); }
.btn-send { width: 39px; height: 39px; flex: 0 0 39px; border: 0; border-radius: 11px; background: var(--blue); color: #fff; display: grid; place-items: center; transition: background .16s, opacity .16s; }
.btn-send:hover { background: var(--blue-deep); }
.btn-send[disabled] { opacity: .45; }
.btn-send svg { width: 16px; height: 16px; }

/* panels */
.panel-form { padding: 32px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-1); }
.panel-form textarea { min-height: 76px; }
.form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.form-grid .field { margin: 0; }
.panel-hint { margin: -4px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.panel-result { margin-top: 22px; padding: 32px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-1); animation: rise-in .3s var(--ease) both; }
.result-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.cost-note { color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.sources { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.source-chip { max-width: 320px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface-2); color: var(--ink-2); font-size: 10.5px; font-weight: 650; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: border-color .15s, color .15s; }
.source-chip:hover { border-color: var(--blue-border); color: var(--blue-deep); text-decoration: none; }
:root[data-theme="dark"] .source-chip:hover { color: var(--blue); }
.panel-result img, .panel-result video { width: 100%; max-width: 560px; border: 1px solid var(--line-soft); border-radius: 15px; }
.result-actions { margin-top: 14px; display: flex; gap: 10px; align-items: center; }
.job-status { margin: 0; color: var(--muted); font-size: 12.5px; }
.job-status.busy { display: inline-flex; align-items: center; gap: 10px; }
.spinner { width: 15px; height: 15px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--blue); animation: mek-spin .7s linear infinite; }

/* toast */
.app-toast { position: fixed; left: 50%; bottom: 26px; z-index: 95; transform: translate(-50%, 16px); max-width: min(480px, calc(100% - 32px)); padding: 13px 19px; border: 1px solid var(--g-line); border-radius: 13px; background: var(--graphite); color: var(--on-g); font-size: 12.5px; font-weight: 600; box-shadow: var(--shadow-3); opacity: 0; pointer-events: none; transition: opacity .22s ease, transform .22s var(--ease); }
.app-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ============================================================================
   ADMIN
   ============================================================================ */
.admin-body { background: var(--bg); min-height: 100vh; }
.admin-head { position: sticky; top: 0; z-index: 40; background: var(--head-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.admin-head .inner { height: 64px; display: flex; align-items: center; gap: 14px; }
.admin-tag { padding: 5px 12px; border-radius: 99px; background: var(--blue-soft); color: var(--blue-deep); font-size: 10px; font-weight: 800; letter-spacing: .1em; }
:root[data-theme="dark"] .admin-tag { color: #a9bcf5; }
.admin-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.admin-inner { width: min(1240px, calc(100% - 48px)); margin: 0 auto; padding: 36px 0 84px; }
.admin-login-wrap { min-height: calc(100vh - 64px); display: grid; place-items: center; padding: 40px 24px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
.stat { padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-1); transition: box-shadow .18s var(--ease); }
.stat:hover { box-shadow: var(--shadow-2); }
.stat-label { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.stat-value { margin-top: 10px; font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-sub { margin-top: 8px; color: var(--muted); font-size: 11.5px; }
.card { margin-bottom: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-1); overflow: hidden; }
.card-head { padding: 20px 28px; border-bottom: 1px solid var(--line-soft); display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.card-head h2 { margin: 0; font-size: 14.5px; font-weight: 780; }
.card-head p { margin: 3px 0 0; color: var(--muted); font-size: 11.5px; line-height: 1.5; }
.card-body { padding: 24px 28px 28px; }
.table-wrap { overflow-x: auto; margin: 0 -24px; padding: 0 24px; }
.table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.table th { padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 9.5px; font-weight: 800; letter-spacing: .1em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.table td { padding: 14px; border-bottom: 1px solid var(--line-soft); color: var(--ink-2); vertical-align: middle; line-height: 1.5; }
.table tr:last-child td { border-bottom: 0; }
.table td:first-child { color: var(--ink); font-weight: 650; }
.table tbody tr { transition: background .12s; }
.table tbody tr:hover td { background: var(--surface-2); }
.table-empty { padding: 26px 12px; color: var(--muted); text-align: center; font-size: 12px; }
.pool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(205px, 1fr)); gap: 10px; }
.pool { padding: 15px 16px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface-2); transition: border-color .18s; }
.pool:hover { border-color: var(--blue-border); }
.pool-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.pool-top strong { font-size: 12px; font-weight: 720; }
.dot-state { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.dot-state.cooling { background: var(--warn); box-shadow: 0 0 0 3px rgba(217, 165, 20, .18); }
.dot-state.exhausted, .dot-state.disabled, .dot-state.error { background: var(--err); box-shadow: 0 0 0 3px var(--err-bg); }
.pool-spend { margin-bottom: 4px; font-size: 14.5px; font-weight: 760; font-variant-numeric: tabular-nums; }
.pool-spend small { color: var(--muted); font-size: 10.5px; font-weight: 600; }
.pool-meta { color: var(--muted); font-size: 10.5px; line-height: 1.55; }
.bar { height: 4px; margin-top: 10px; border-radius: 99px; background: var(--line-soft); overflow: hidden; }
.bar > span { display: block; height: 100%; border-radius: 99px; background: var(--blue); }

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 1160px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .band-grid { grid-template-columns: 1fr; gap: 48px; }
  .feat-row { grid-template-columns: 48px 1fr; }
  .feat-demo { grid-column: 2; }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .app-page { flex-direction: column; height: 100dvh; }
  .mobile-top { display: flex; flex: 0 0 58px; align-items: center; gap: 10px; padding: 0 14px; background: var(--head-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
  .mobile-top .logo-word { font-size: 15px; }
  .mobile-top .spacer { flex: 1; }
  .mobile-credit { padding: 6px 12px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); font-size: 10.5px; font-weight: 750; white-space: nowrap; font-variant-numeric: tabular-nums; }
  .mobile-credit.low { background: var(--err-bg); color: var(--err); border-color: var(--err); }
  .menu-btn { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: var(--radius-xs); background: var(--surface); color: var(--ink-2); display: grid; place-items: center; }
  .menu-btn svg { width: 17px; height: 17px; }
  .side { position: fixed; z-index: 80; top: 0; bottom: 0; left: 0; width: min(320px, 86vw); transform: translateX(-104%); transition: transform .3s var(--ease); box-shadow: var(--shadow-3); }
  .side.open { transform: none; }
  .side-backdrop { display: block; position: fixed; inset: 0; z-index: 75; background: rgba(12, 14, 18, .48); opacity: 0; pointer-events: none; transition: opacity .25s; }
  .side-backdrop.show { opacity: 1; pointer-events: auto; }
  .side-drawer-close { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--g-line); border-radius: 9px; background: transparent; color: var(--on-g-muted); font-size: 15px; }
  .side-drawer-close:hover { color: var(--on-g); }
  .tool-wrap { width: calc(100% - 36px); padding-top: 20px; padding-bottom: 24px; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .auth-page::before { content: ""; display: block; height: 6px; background: var(--blue); }
  .admin-inner { width: calc(100% - 32px); }
}
@media (max-width: 760px) {
  .inner, .site-head .inner { width: calc(100% - 32px); }
  .site-nav { display: none; }
  .site-head .inner { height: 60px; }
  .site-head .btn-ghost { display: none; }
  .hero { padding-top: 56px; }
  .hero h1 { font-size: clamp(36px, 10.5vw, 50px); }
  .hero-cta .btn { flex: 1 1 auto; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .feat-row { grid-template-columns: 1fr; gap: 14px; padding: 36px 0; }
  .feat-demo { grid-column: 1; }
  .cta { border-radius: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { padding: 16px; }
  .stat-value { font-size: 23px; }
  .msg { gap: 10px; }
  .msg.bot .msg-avatar { width: 28px; height: 28px; flex: 0 0 28px; }
  .msg.user .msg-body { max-width: 88%; }
  .chat-scroll { padding: 20px 12px; }
  .composer-wrap { padding: 10px 12px 14px; }
  .card-head, .card-body { padding-inline: 16px; }
  .table-wrap { margin-inline: -16px; padding-inline: 16px; }
}
@media (max-width: 480px) {
  .stat-grid { grid-template-columns: 1fr; }
  .panel-form, .panel-result { padding: 22px; }
  .tool-head h1 { font-size: 19px; }
  .mobile-credit { display: none; }
}
@media (max-width: 1024px) {
  .steps-grid { grid-template-columns: 1fr; }
  .persona-grid { grid-template-columns: 1fr; }
  .diff-row { grid-template-columns: 48px 1fr; gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation-duration: .01s !important; }
  .reveal { opacity: 1 !important; }
}


/* ================================================================
   LANDING PAGE — fully theme-aware, bent-corner buttons
   All sections respond to light/dark toggle. No hardcoded dark.
   ================================================================ */

.landing {
  --ln-accent: #2563eb;
  font-family: Inter, "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
:root[data-theme="light"] .landing {
  --ln-hero-bg: #f4f2ee;
  --ln-hero-fg: #111;
  --ln-hero-muted: rgba(0,0,0,.6);
  --ln-hero-border: rgba(0,0,0,.06);
  --ln-sec-bg: #fafafa;
  --ln-sec-fg: #111;
  --ln-sec-muted: rgba(0,0,0,.58);
  --ln-sec-sub: rgba(0,0,0,.62);
  --ln-sec-border: rgba(0,0,0,.07);
  --ln-sec-num: rgba(0,0,0,.16);
  --ln-contrast-bg: #eae8e3;
  --ln-contrast-fg: #111;
  --ln-contrast-muted: rgba(0,0,0,.55);
  --ln-contrast-border: rgba(0,0,0,.05);
  --ln-contrast-num: rgba(0,0,0,.12);
  --ln-warm-bg: #f5f3ee;
  --ln-panel: #fff;
  --ln-panel-border: rgba(0,0,0,.06);
  --ln-panel-fg: #111;
  --ln-panel-sub: #444;
  --ln-panel-label: rgba(0,0,0,.56);
  --ln-grid-bg: rgba(0,0,0,.07);
  --ln-coin-border: #111;
  --ln-head-bg: rgba(250,250,250,.9);
  --ln-head-fg: #111;
  --ln-head-muted: rgba(0,0,0,.55);
  --ln-head-border: rgba(0,0,0,.06);
  --ln-btn-solid-bg: #111;
  --ln-btn-solid-fg: #fff;
  --ln-btn-ghost-border: rgba(0,0,0,.12);
  --ln-btn-ghost-fg: rgba(0,0,0,.65);
  background: var(--ln-sec-bg);
  color: var(--ln-sec-fg);
}
:root[data-theme="dark"] .landing {
  --ln-accent: #5b8cff;
  --ln-hero-bg: #060608;
  --ln-hero-fg: #fafafa;
  --ln-hero-muted: rgba(255,255,255,.52);
  --ln-hero-border: rgba(255,255,255,.06);
  --ln-sec-bg: #0e0f14;
  --ln-sec-fg: #e4e8ec;
  --ln-sec-muted: rgba(228,232,236,.58);
  --ln-sec-sub: rgba(228,232,236,.62);
  --ln-sec-border: rgba(255,255,255,.07);
  --ln-sec-num: rgba(255,255,255,.14);
  --ln-contrast-bg: #040406;
  --ln-contrast-fg: #e4e8ec;
  --ln-contrast-muted: rgba(255,255,255,.55);
  --ln-contrast-border: rgba(255,255,255,.05);
  --ln-contrast-num: rgba(255,255,255,.1);
  --ln-warm-bg: #0d0c0e;
  --ln-panel: #12151c;
  --ln-panel-border: rgba(255,255,255,.07);
  --ln-panel-fg: #e4e8ec;
  --ln-panel-sub: #a8b2bc;
  --ln-panel-label: rgba(255,255,255,.62);
  --ln-grid-bg: rgba(255,255,255,.07);
  --ln-coin-border: #e4e8ec;
  --ln-head-bg: rgba(6,6,8,.9);
  --ln-head-fg: #fafafa;
  --ln-head-muted: rgba(255,255,255,.55);
  --ln-head-border: rgba(255,255,255,.06);
  --ln-btn-solid-bg: #fff;
  --ln-btn-solid-fg: #0a0a0a;
  --ln-btn-ghost-border: rgba(255,255,255,.12);
  --ln-btn-ghost-fg: rgba(255,255,255,.65);
  background: var(--ln-sec-bg);
  color: var(--ln-sec-fg);
}
.landing .ln-container { width: min(1080px, calc(100% - 48px)); margin-inline: auto; }

/* header */
.ln-head { position: sticky; top: 0; z-index: 50; background: var(--ln-head-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--ln-head-border); }
.ln-head .ln-container { height: 60px; display: flex; align-items: center; gap: 32px; }
.ln-nav { display: flex; gap: 4px; margin-left: 12px; }
.ln-nav a { padding: 8px 14px; border-radius: 6px; color: var(--ln-head-muted); font-size: 13px; font-weight: 600; text-decoration: none; transition: color .15s, background .15s; }
.ln-nav a:hover { color: var(--ln-head-fg); background: var(--ln-sec-border); }
.ln-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.ln-actions .theme-btn { border-color: var(--ln-head-border); background: transparent; color: var(--ln-head-muted); }
.ln-actions .theme-btn:hover { color: var(--ln-head-fg); border-color: var(--ln-sec-border); }

/* buttons — bent diagonal corners: top-right + bottom-left */
.ln-btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 20px; border: 1px solid transparent; border-radius: 12px 2px 12px 2px; font-size: 13px; font-weight: 650; text-decoration: none; cursor: pointer; transition: all .15s; }
.ln-btn svg { width: 14px; height: 14px; }
.ln-btn-ghost { border-color: var(--ln-btn-ghost-border); color: var(--ln-btn-ghost-fg); background: transparent; }
.ln-btn-ghost:hover { color: var(--ln-head-fg); border-color: var(--ln-sec-border); }
.ln-btn-solid { background: var(--ln-btn-solid-bg); color: var(--ln-btn-solid-fg); border-radius: 12px 2px 12px 2px; }
.ln-btn-solid:hover { filter: brightness(1.1); }
.ln-btn-lg { height: 54px; padding: 0 30px; font-size: 15px; background: var(--ln-btn-solid-bg); color: var(--ln-btn-solid-fg); border-radius: 14px 2px 14px 2px; }
.ln-btn-lg:hover { filter: brightness(1.1); transform: translateY(-1px); }
.ln-btn-lg svg { width: 16px; height: 16px; }

/* hero */
.ln-hero { padding: clamp(100px, 14vw, 200px) 0 clamp(80px, 10vw, 140px); text-align: center; background: var(--ln-hero-bg); color: var(--ln-hero-fg); }
.ln-hero-tag { margin: 0 0 28px; color: var(--ln-hero-muted); font-size: 11px; font-weight: 800; letter-spacing: .3em; }
.ln-hero h1 { margin: 0 0 20px; font-size: clamp(48px, 7vw, 96px); line-height: 1; letter-spacing: -.045em; font-weight: 800; color: var(--ln-hero-fg); }
.ln-hero h1 span { color: var(--ln-accent); }
.ln-hero-sub { margin: 0 auto 32px; color: var(--ln-hero-muted); font-size: 16px; line-height: 1.7; max-width: 560px; }
.ln-hero .ln-btn-lg { margin-bottom: 20px; }
.ln-hero-note { margin: 0; color: var(--ln-hero-muted); font-size: 13px; }

/* section base */
.ln-sec { padding: clamp(80px, 8vw, 120px) 0; }
.ln-sec-head { display: flex; align-items: baseline; gap: 24px; margin-bottom: clamp(48px, 5vw, 72px); border-bottom: 1px solid var(--ln-sec-border); padding-bottom: 28px; }
.ln-num { font-size: clamp(56px, 6vw, 88px); line-height: 1; font-weight: 850; color: var(--ln-sec-num); letter-spacing: -.04em; user-select: none; }
.ln-sec-head h2 { margin: 0; font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; letter-spacing: -.02em; }

/* content sections (white in light, dark in dark) */
.ln-sec:not(.ln-dark):not(.ln-warm) { background: var(--ln-sec-bg); color: var(--ln-sec-fg); }

/* contrast sections (warm gray in light, near-black in dark) */
.ln-dark { background: var(--ln-contrast-bg); color: var(--ln-contrast-fg); }
.ln-dark .ln-sec-head { border-color: var(--ln-contrast-border); }
.ln-dark .ln-num { color: var(--ln-contrast-num); }

/* warm sections */
.ln-warm { background: var(--ln-warm-bg); color: var(--ln-sec-fg); }
.ln-warm .ln-sec-head { border-color: var(--ln-sec-border); }
.ln-warm .ln-num { color: var(--ln-sec-num); }

/* capabilities */
.ln-cap { padding: 44px 0; border-bottom: 1px solid var(--ln-sec-border); }
.ln-cap:last-child { border-bottom: none; padding-bottom: 0; }
.ln-cap-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 8px; }
.ln-cap-head h3 { margin: 0; font-size: 28px; font-weight: 750; letter-spacing: -.02em; }
.ln-cap-head span { color: var(--ln-sec-muted); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ln-cap-desc { margin: 0 0 24px; color: var(--ln-sec-sub); font-size: 15px; line-height: 1.7; max-width: 580px; }
/* yetenek örnekleri — ürünün kendi diliyle */
.ln-ex { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.ln-ex-prompt { align-self: flex-end; max-width: 88%; margin: 0; padding: 9px 15px; background: var(--blue); color: #fff; font-size: 13px; font-weight: 600; line-height: 1.5; border-radius: 14px 4px 14px 14px; box-shadow: 0 8px 22px -10px rgba(37,99,235,.45); }
.ln-ex-answer { border-left: 2px solid var(--ln-sec-border); padding-left: 14px; }
.ln-ex-role { display: block; margin-bottom: 6px; font-size: 9px; font-weight: 800; letter-spacing: .2em; color: var(--ln-accent); }
.ln-ex-answer p { margin: 0; color: var(--ln-sec-sub); font-size: 13.5px; line-height: 1.75; }
.ln-ex-answer p.ln-ex-sources { margin-top: 8px; font-size: 11px; color: var(--ln-sec-muted); }
.ln-ex-media { display: block; width: 100%; height: auto; border-radius: 14px 3px 14px 3px; border: 1px solid var(--ln-sec-border); }
/* arastirma demo (bolum 02) */
.ln-research-demo { margin-top: 44px; padding: 26px 28px; border: 1px solid var(--ln-contrast-border); border-radius: 16px 3px 16px 3px; background: var(--ln-panel); }
.ln-demo-note { margin: 18px 0 0; color: var(--ln-contrast-muted); font-size: 13px; line-height: 1.6; }

/* steps on contrast */
.ln-steps { display: flex; flex-direction: column; }
.ln-step { display: flex; align-items: flex-start; gap: 32px; padding: 32px 0; border-bottom: 1px solid var(--ln-contrast-border); }
.ln-step:last-child { border-bottom: none; }
.ln-step span { flex: 0 0 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--ln-contrast-border); border-radius: 10px 2px 10px 2px; font-size: 18px; font-weight: 800; color: var(--ln-contrast-muted); }
.ln-step h3 { margin: 0 0 4px; font-size: 18px; font-weight: 700; color: var(--ln-contrast-fg); }
.ln-step p { margin: 0; color: var(--ln-contrast-muted); font-size: 14px; line-height: 1.6; }

/* personas */
.ln-personas { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--ln-grid-bg); border-radius: 12px 2px 12px 2px; overflow: hidden; }
.ln-persona { padding: 36px 32px; background: var(--ln-panel); }
.ln-persona h3 { margin: 0 0 8px; font-size: 20px; font-weight: 750; color: var(--ln-sec-fg); }
.ln-persona p { margin: 0; color: var(--ln-sec-muted); font-size: 14px; line-height: 1.65; }

/* universal */
.ln-universal { margin: 0; max-width: 720px; font-size: clamp(18px, 2vw, 24px); line-height: 1.7; color: var(--ln-sec-sub); font-weight: 450; }

/* differentiators on contrast */
.ln-diffs { display: flex; flex-direction: column; }
.ln-diff { display: flex; align-items: baseline; gap: 20px; padding: 36px 0; border-bottom: 1px solid var(--ln-contrast-border); }
.ln-diff:last-child { border-bottom: none; }
.ln-diff h3 { flex: 0 0 300px; margin: 0; font-size: 20px; font-weight: 700; color: var(--ln-contrast-fg); }
.ln-diff p { margin: 0; color: var(--ln-contrast-muted); font-size: 15px; line-height: 1.7; }

/* promises */
.ln-promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.ln-promise h3 { margin: 0 0 10px; font-size: 18px; font-weight: 700; color: var(--ln-sec-fg); }
.ln-promise p { margin: 0; color: var(--ln-sec-muted); font-size: 14px; line-height: 1.7; }

/* ucretsiz platform bolumu */
.ln-free { display: flex; align-items: flex-start; gap: 56px; }
.ln-free-body { flex: 1; }
.ln-free-rate { margin: 0 0 8px; font-size: clamp(28px, 3vw, 36px); font-weight: 800; letter-spacing: -.02em; color: var(--ln-sec-fg); }
.ln-free-rate strong { color: var(--ln-accent); }
.ln-free-desc { margin: 0 0 36px; color: var(--ln-sec-muted); font-size: 15px; line-height: 1.7; }
.ln-free-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.ln-free-point h3 { margin: 0 0 6px; font-size: 14px; font-weight: 700; color: var(--ln-sec-fg); }
.ln-free-point p { margin: 0; color: var(--ln-sec-muted); font-size: 13px; line-height: 1.65; }

/* roadmap */
.ln-roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ln-road-item { position: relative; padding: 28px 24px; border: 1px solid var(--ln-contrast-border); border-radius: 14px 2px 14px 2px; }
.ln-road-tag { display: inline-block; margin-bottom: 14px; padding: 4px 10px; border-radius: 4px 1px 4px 1px; font-size: 10px; font-weight: 800; letter-spacing: .15em; color: var(--ln-contrast-muted); border: 1px solid var(--ln-contrast-border); }
.ln-road-item h3 { margin: 0 0 6px; font-size: 16px; font-weight: 750; color: var(--ln-contrast-fg); }
.ln-road-item p { margin: 0; color: var(--ln-contrast-muted); font-size: 13px; line-height: 1.6; }

/* community */
.ln-community-actions { display: flex; gap: 12px; margin-top: 28px; }

/* FAQ — centered */
.ln-faq { max-width: 680px; margin: 0 auto; }
.ln-faq details { border-bottom: 1px solid var(--ln-sec-border); }
.ln-faq details:first-child { border-top: 1px solid var(--ln-sec-border); }
.ln-faq summary { padding: 24px 0; font-size: 17px; font-weight: 650; color: var(--ln-sec-fg); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.ln-faq summary::-webkit-details-marker { display: none; }
.ln-faq summary::after { content: "+"; font-size: 22px; font-weight: 300; color: var(--ln-sec-muted); transition: transform .2s; }
.ln-faq details[open] summary::after { transform: rotate(45deg); }
.ln-faq details[open] summary { color: var(--ln-accent); }
.ln-faq details p { margin: 0; padding: 0 40px 24px 0; color: var(--ln-sec-sub); font-size: 15px; line-height: 1.75; }

/* CTA */
.ln-cta { padding: clamp(100px, 12vw, 180px) 0; text-align: center; background: var(--ln-hero-bg); color: var(--ln-hero-fg); }
.ln-cta h2 { margin: 0 0 36px; font-size: clamp(36px, 4.5vw, 60px); line-height: 1.05; letter-spacing: -.04em; font-weight: 800; color: var(--ln-hero-fg); }
.ln-cta h2 span { color: var(--ln-accent); }
.ln-cta .ln-btn-lg { background: var(--ln-btn-solid-bg); color: var(--ln-btn-solid-fg); }
.ln-cta-note { margin: 16px 0 0; color: var(--ln-hero-muted); font-size: 13px; }

/* footer */
.ln-foot { padding: 40px 0; background: var(--ln-contrast-bg); color: var(--ln-contrast-fg); border-top: 1px solid var(--ln-contrast-border); }
.ln-foot-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.ln-foot .ln-nav a { color: var(--ln-contrast-muted); }
.ln-foot .ln-nav a:hover { color: var(--ln-contrast-fg); }


/* ============ VISUAL POLISH ============ */

/* hero — subtle radial glow */
.ln-hero { background: radial-gradient(ellipse 60% 50% at 50% -10%, rgba(37,99,235,.07), transparent 70%), var(--ln-hero-bg); }
:root[data-theme="dark"] .ln-hero { background: radial-gradient(ellipse 60% 50% at 50% -10%, rgba(91,140,255,.05), transparent 70%), var(--ln-hero-bg); }

/* section numbers — blue tint, WCAG large-text 3:1 */
:root[data-theme="light"] .landing { --ln-sec-num: rgba(37,99,235,.78); --ln-contrast-num: rgba(37,99,235,.80); }
:root[data-theme="dark"] .landing { --ln-sec-num: rgba(91,140,255,.68); --ln-contrast-num: rgba(91,140,255,.65); }

/* stats — accent numbers */
.ln-stats .ln-stat strong { color: var(--ln-accent) !important; }

/* feature rows — left accent border */
.ln-cap { border-left: 3px solid var(--ln-accent); padding-left: 24px; }

/* card hover — lift + glow */
.ln-promise, .ln-persona, .ln-road-item, .ln-testimonial { transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.ln-promise:hover, .ln-persona:hover, .ln-road-item:hover, .ln-testimonial:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(37,99,235,.1); border-color: var(--ln-accent); }

/* button hover — glow */
.ln-btn-solid:hover { box-shadow: 0 4px 16px rgba(37,99,235,.25); }
.ln-btn-lg:hover { box-shadow: 0 6px 24px rgba(37,99,235,.3); }

/* scroll reveal — dramatic; gated on html.js so no-JS users always see content */
.reveal { transition: opacity .65s cubic-bezier(.2,.7,.2,1), transform .65s cubic-bezier(.2,.7,.2,1); }
html.js .reveal { opacity: 0; transform: translateY(36px); }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .reveal { transition: none; }
}

/* steps — timeline connector */
.ln-step { position: relative; }
.ln-step:not(:last-child)::after { content: ""; position: absolute; left: 23px; top: 52px; bottom: -28px; width: 2px; background: var(--ln-contrast-border); border-radius: 1px; }

/* testimonials */
.ln-testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 36px; }
.ln-testimonial { margin: 0; padding: 28px 24px; border: 1px solid var(--ln-sec-border); border-radius: 14px 2px 14px 2px; background: var(--ln-panel); }
.ln-testimonial p { margin: 0 0 14px; font-size: 15px; line-height: 1.65; color: var(--ln-sec-fg); font-style: italic; }
.ln-testimonial cite { font-style: normal; color: var(--ln-sec-muted); font-size: 13px; font-weight: 600; }

/* code example */
.ln-code { margin: 16px 0 0; padding: 16px 18px; border-radius: 8px 2px 8px 2px; background: #0d1117; color: #e6edf3; font-family: "SF Mono", ui-monospace, Consolas, monospace; font-size: 12px; line-height: 1.6; overflow-x: auto; white-space: pre; }
:root[data-theme="light"] .ln-code { background: #161b22; }
.ln-code-demo { margin-top: 36px; }
.ln-code-title { margin: 0 0 0; color: var(--ln-sec-muted); font-size: 13px; font-weight: 650; }
.ln-code code { font-family: inherit; }
.ln-code-demo .ln-code { margin-top: 12px; }
.diff-del { color: #ff7b72; display: inline-block; width: 100%; }
.diff-add { color: #7ee787; display: inline-block; width: 100%; }

/* gradient text on key phrase */
.ln-hero h1 span { background: linear-gradient(135deg, var(--ln-accent), #7c3aed); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--ln-accent); }
:root[data-theme="dark"] .ln-hero h1 span { background: linear-gradient(135deg, #5b8cff, #a78bfa); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* CTA gradient text */
.ln-cta h2 span { background: linear-gradient(135deg, var(--ln-accent), #7c3aed); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
:root[data-theme="dark"] .ln-cta h2 span { background: linear-gradient(135deg, #5b8cff, #a78bfa); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* fark quote gradient */
.ln-fark-quote em { background: linear-gradient(135deg, var(--ln-accent), #7c3aed); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* stats bar — top border accent */
.ln-stats { border-top: 2px solid var(--ln-accent); }

/* nav active — gradient underline */
.ln-nav-active::after { background: linear-gradient(90deg, var(--ln-accent), #7c3aed); }

/* section head — subtle accent line */
.ln-sec-head { position: relative; }
.ln-sec-head::before { content: ""; position: absolute; bottom: -1px; left: 0; width: 48px; height: 3px; background: linear-gradient(90deg, var(--ln-accent), transparent); border-radius: 2px; }


/* stats bar */
.ln-stats { padding: 48px 0; border-bottom: 1px solid var(--ln-hero-border); background: var(--ln-hero-bg); }
.ln-stats-row { display: flex; justify-content: center; gap: clamp(40px, 6vw, 96px); flex-wrap: wrap; }
.ln-stat { text-align: center; }
.ln-stat strong { display: block; font-size: clamp(32px, 4vw, 48px); font-weight: 850; letter-spacing: -.03em; color: var(--ln-hero-fg); }
.ln-stat strong small { font-size: .5em; font-weight: 700; margin-left: 2px; }
.ln-stat span { display: block; margin-top: 4px; color: var(--ln-hero-muted); font-size: 13px; font-weight: 600; letter-spacing: .05em; }

/* scrollspy */
.ln-nav-active { color: var(--ln-head-fg) !important; position: relative; }
.ln-nav-active::after { content: ""; position: absolute; bottom: -2px; left: 14px; right: 14px; height: 2px; background: var(--ln-accent); border-radius: 1px; }

/* fark quote */
.ln-fark-quote { margin: 0 0 40px; font-size: clamp(24px, 2.8vw, 36px); line-height: 1.2; letter-spacing: -.03em; font-weight: 750; color: var(--ln-contrast-fg); }
.ln-fark-quote em { font-style: normal; color: var(--ln-accent); }

/* promise numbers */
.ln-promise-num { display: block; margin-bottom: 14px; font-size: 11px; font-weight: 800; letter-spacing: .2em; color: var(--ln-accent); }
.ln-promise { padding: 28px; border: 1px solid var(--ln-sec-border); border-radius: 14px 2px 14px 2px; background: var(--ln-panel); }
.ln-promise h3 { margin: 0 0 10px; font-size: 17px; font-weight: 750; color: var(--ln-sec-fg); }
.ln-promise p { margin: 0; color: var(--ln-sec-muted); font-size: 14px; line-height: 1.7; }

/* community */
.ln-community { text-align: center; }
.ln-community .ln-universal { margin: 0 auto 28px; text-align: center; }
.ln-community-actions { display: flex; justify-content: center; gap: 12px; margin-bottom: 16px; }
.ln-community-note { margin: 0; color: var(--ln-sec-muted); font-size: 13px; line-height: 1.6; }

/* ---------- premium product showcase (CSS app window) ---------- */
.ln-showcase { position: relative; max-width: 660px; margin: 64px auto 0; perspective: 1400px; }
.ln-showcase::before { content: ""; position: absolute; inset: -60px -40px; background: radial-gradient(60% 55% at 50% 42%, var(--ln-coin-ring, rgba(37,99,235,.12)), transparent 75%); z-index: 0; }
/* gercek uygulama cekimi */
.ln-shot { position: relative; z-index: 1; margin: 0; transform: rotateX(4deg); transition: transform .5s var(--ease); filter: drop-shadow(0 44px 88px -30px rgba(0,0,0,.55)) drop-shadow(0 12px 32px -18px rgba(37,99,235,.18)); }
.ln-showcase:hover .ln-shot { transform: rotateX(0deg); }
.ln-shot-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #0e1117; border: 1px solid rgba(255,255,255,.08); border-bottom: 0; border-radius: 16px 3px 0 0; }
.ln-shot-dots { display: flex; gap: 6px; }
.ln-shot-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.14); }
.ln-shot-dots i:first-child { background: #ff5f57; } .ln-shot-dots i:nth-child(2) { background: #febc2e; } .ln-shot-dots i:last-child { background: #28c840; }
.ln-shot-bar em { margin-inline: auto; font-style: normal; padding: 4px 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.06); border-radius: 20px; font-size: 10.5px; color: #9aa3b2; letter-spacing: .03em; }
.ln-shot-bar::after { content: ""; width: 33px; }
.ln-shot img { display: block; width: 100%; height: auto; background: #0b0d12; border: 1px solid rgba(255,255,255,.08); border-top: 0; border-radius: 0 0 16px 3px 16px 3px; }
@media (prefers-reduced-motion: reduce) { .ln-shot { transform: none; transition: none; } }

/* ---------- MEKAGENT Redesign Components ---------- */
.ln-hero-pill { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 24px; padding: 6px 14px; border: 1px solid var(--ln-hero-border); border-radius: 999px; background: rgba(37,99,235,.08); color: var(--ln-hero-fg); font-size: 11px; font-weight: 800; letter-spacing: .22em; }
.ln-pill-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.2); }
.ln-hero-cta { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.ln-btn-lg-ghost { height: 54px; padding: 0 26px; font-size: 15px; border-radius: 14px 2px 14px 2px; }

.ln-hero-sandbox { max-width: 740px; margin: 44px auto 0; text-align: left; border: 1px solid rgba(255,255,255,.12); border-radius: 16px 4px 16px 4px; background: rgba(15, 20, 30, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); overflow: hidden; box-shadow: 0 24px 60px -24px rgba(0,0,0,.55); }
[data-theme="light"] .ln-hero-sandbox { background: rgba(255,255,255,.9); border-color: var(--ln-sec-border); box-shadow: 0 24px 60px -24px rgba(15,23,42,.14); }
.ln-sandbox-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px 10px 12px; border-bottom: 1px solid rgba(255,255,255,.08); }
[data-theme="light"] .ln-sandbox-head { border-bottom-color: var(--ln-sec-border); }
.ln-sandbox-tabs { display: flex; gap: 4px; overflow-x: auto; }
.ln-sandbox-latency { flex: 0 0 auto; font-size: 11px; font-weight: 650; color: var(--ln-hero-muted); white-space: nowrap; }
.ln-tab { flex: 0 0 auto; padding: 8px 14px; border: 1px solid transparent; border-radius: 8px 2px 8px 2px; background: transparent; color: var(--ln-hero-muted); font-size: 12.5px; font-weight: 650; cursor: pointer; transition: all .15s; }
.ln-tab:hover { color: var(--ln-hero-fg); background: rgba(255,255,255,.06); }
[data-theme="light"] .ln-tab:hover { background: rgba(15,23,42,.05); }
.ln-tab.is-active { background: var(--blue); color: #fff; }
.ln-sandbox-body { padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; min-height: 144px; }
.ln-sandbox-prompt { display: flex; flex-direction: column; gap: 8px; }
.ln-sandbox-badge { align-self: flex-start; padding: 3px 9px; border-radius: 4px; background: rgba(37,99,235,.16); color: #60a5fa; font-size: 10.5px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
[data-theme="light"] .ln-sandbox-badge { color: var(--blue); background: rgba(37,99,235,.1); }
.ln-sandbox-prompt p { margin: 0; font-size: 14px; font-weight: 600; color: var(--ln-hero-fg); line-height: 1.55; }
.ln-sandbox-reply { border-left: 2px solid var(--blue); padding-left: 14px; }
.ln-sandbox-reply p { margin: 0; font-size: 13.5px; color: var(--ln-hero-muted); line-height: 1.65; }

.ln-router-sim { padding: 24px; margin-bottom: 36px; border: 1px solid var(--ln-sec-border); border-radius: 16px 3px 16px 3px; background: var(--ln-panel); }
.ln-router-sim-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.ln-router-label { font-size: 10px; font-weight: 800; letter-spacing: .16em; color: var(--ln-accent); }
.ln-router-presets { display: flex; flex-wrap: wrap; gap: 6px; }
.ln-preset { padding: 5px 10px; border: 1px solid var(--ln-sec-border); border-radius: 6px; background: transparent; color: var(--ln-sec-muted); font-size: 11.5px; font-weight: 600; cursor: pointer; transition: all .15s; }
.ln-preset:hover { color: var(--ln-sec-fg); border-color: var(--ln-accent); }
.ln-router-sim-row { display: grid; grid-template-columns: 1.2fr auto 1fr; align-items: center; gap: 14px; }
.ln-router-field { width: 100%; padding: 12px 14px; border: 1px solid var(--ln-sec-border); border-radius: 10px 2px 10px 2px; background: var(--ln-sec-bg); color: var(--ln-sec-fg); font-family: inherit; font-size: 14px; font-weight: 550; }
.ln-router-field:focus { outline: 2px solid var(--ln-accent); outline-offset: 1px; }
.ln-router-arrow { font-size: 20px; font-weight: 700; color: var(--ln-sec-muted); text-align: center; }
.ln-router-result { padding: 12px 16px; border-radius: 10px 2px 10px 2px; background: rgba(37,99,235,.08); border: 1px solid rgba(37,99,235,.28); }
.ln-router-badge { display: inline-block; margin-bottom: 4px; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ln-accent); }
.ln-router-result strong { display: block; font-size: 14px; font-weight: 700; color: var(--ln-sec-fg); }

.ln-bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.ln-bento-card { padding: 28px; border: 1px solid var(--ln-sec-border); border-radius: 16px 3px 16px 3px; background: var(--ln-panel); transition: transform .25s var(--ease), border-color .25s var(--ease); }
.ln-bento-card:hover { transform: translateY(-2px); border-color: var(--ln-accent); }
.ln-bento-full { grid-column: 1 / -1; }

.ln-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.ln-gallery figure { margin: 0; }
.ln-gallery img { display: block; width: 100%; height: auto; border-radius: 12px 3px 12px 3px; border: 1px solid var(--ln-sec-border); }
.ln-gallery figcaption { margin-top: 8px; font-size: 12px; color: var(--ln-sec-muted); }

.ln-sec-lead { margin: -24px 0 32px; max-width: 640px; font-size: 15.5px; line-height: 1.65; color: var(--ln-contrast-muted); }
.ln-mode-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.ln-filter { padding: 8px 14px; border: 1px solid var(--ln-contrast-border); border-radius: 8px 2px 8px 2px; background: transparent; color: var(--ln-contrast-muted); font-size: 12.5px; font-weight: 650; cursor: pointer; transition: all .15s; }
.ln-filter:hover { color: var(--ln-contrast-fg); border-color: var(--ln-accent); }
.ln-filter.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.ln-modes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.ln-mode-card { padding: 18px; border: 1px solid var(--ln-contrast-border); border-radius: 12px 2px 12px 2px; background: rgba(255,255,255,.02); }
.ln-mode-card strong { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 700; color: var(--ln-contrast-fg); }
.ln-mode-card p { margin: 0; font-size: 12.5px; line-height: 1.55; color: var(--ln-contrast-muted); }

.ln-code-showcase { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; }
.ln-code-copy h3 { margin: 0 0 12px; font-size: 24px; font-weight: 750; color: var(--ln-sec-fg); }
.ln-code-copy p { margin: 0 0 20px; font-size: 15px; line-height: 1.7; color: var(--ln-sec-sub); }
.ln-format-pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.ln-format-pills li { padding: 5px 11px; border: 1px solid var(--ln-sec-border); border-radius: 6px; font-size: 12px; font-weight: 650; color: var(--ln-sec-fg); background: var(--ln-panel); }
.ln-diff-box { border: 1px solid var(--ln-sec-border); border-radius: 14px 3px 14px 3px; overflow: hidden; background: #0d1117; color: #e6edf3; }
.ln-diff-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 12px; color: #9aa3b2; }
.ln-diff-head em { font-style: normal; color: #60a5fa; font-weight: 700; }
.ln-diff-pre { margin: 0; padding: 16px; font-size: 12.5px; line-height: 1.65; overflow-x: auto; }
.ln-diff-pre .diff-ctx { color: #8b949e; }
.ln-diff-pre .diff-del { display: block; color: #ffa198; background: rgba(248,81,73,.15); }
.ln-diff-pre .diff-add { display: block; color: #7ee787; background: rgba(46,160,67,.15); }

.ln-quota-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.ln-quota-card { padding: 20px 14px; border: 1px solid var(--ln-sec-border); border-radius: 12px 2px 12px 2px; background: var(--ln-panel); text-align: center; }
.ln-quota-card strong { display: block; font-size: 28px; font-weight: 800; color: var(--ln-accent); line-height: 1.1; }
.ln-quota-card span { display: block; margin-top: 6px; font-size: 12px; font-weight: 600; color: var(--ln-sec-muted); }

@media (max-width: 900px) {
  .ln-router-sim-row { grid-template-columns: 1fr; }
  .ln-router-arrow { transform: rotate(90deg); }
  .ln-bento { grid-template-columns: 1fr; }
  .ln-code-showcase { grid-template-columns: 1fr; }
  .ln-quota-grid { grid-template-columns: repeat(3, 1fr); }
  .ln-gallery { grid-template-columns: 1fr; }
  .ln-sandbox-latency { display: none; }
}
@media (max-width: 560px) {
  .ln-quota-grid { grid-template-columns: repeat(2, 1fr); }
}


/* ucretsiz rozet - platform amblemi */
.ln-free-badge { position: relative; flex: 0 0 140px; width: 140px; height: 140px; border-radius: 30px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: linear-gradient(160deg, #16a34a, #15803d); box-shadow: 0 0 0 10px var(--ln-coin-ring, transparent), 0 12px 32px -8px rgba(22,163,74,.35); }
.ln-free-zero { font-size: 44px; font-weight: 900; letter-spacing: -.03em; color: #fff; line-height: 1; }
.ln-free-sub { font-size: 11px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.85); }

/* kota kartlari */
.ln-calc { margin-top: 48px; padding: 28px 28px 24px; border: 1px solid var(--ln-sec-border); border-radius: 14px 2px 14px 2px; background: var(--ln-panel); }
.ln-calc-head h3 { margin: 0 0 4px; font-size: 16px; font-weight: 750; color: var(--ln-sec-fg); }
.ln-calc-head p { margin: 0 0 20px; color: var(--ln-sec-muted); font-size: 13px; line-height: 1.6; }
.ln-calc-rows { display: grid; gap: 14px; }
.ln-calc-row { display: grid; grid-template-columns: 120px 1fr 40px; align-items: center; gap: 14px; }
.ln-calc-name { font-size: 13px; font-weight: 650; color: var(--ln-sec-sub); }
.ln-calc-name small { display: block; font-size: 10.5px; font-weight: 600; color: var(--ln-accent); opacity: .85; margin-top: 1px; }
.ln-calc-row input[type="range"] { width: 100%; accent-color: var(--ln-accent); height: 4px; cursor: pointer; }
.ln-calc-row output { font-variant-numeric: tabular-nums; font-size: 14px; font-weight: 750; color: var(--ln-sec-fg); text-align: right; }
.ln-calc-result { display: flex; gap: 40px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--ln-sec-border); flex-wrap: wrap; }
.ln-calc-cell strong { display: block; font-size: clamp(22px, 2.4vw, 30px); font-weight: 850; letter-spacing: -.02em; color: var(--ln-accent); font-variant-numeric: tabular-nums; }
.ln-calc-cell span { display: block; margin-top: 2px; font-size: 12px; color: var(--ln-sec-muted); }
@media (max-width: 560px) { .ln-calc-row { grid-template-columns: 92px 1fr 34px; gap: 10px; } }

/* Günlük ücretsiz kota kartları */
.ln-quota-cell { padding: 16px 14px; border: 1px solid var(--ln-sec-border); border-radius: 12px 2px 12px 2px; background: var(--ln-sec-bg); text-align: center; }
.ln-quota-cell strong { display: block; font-size: clamp(22px, 2.2vw, 30px); font-weight: 850; letter-spacing: -.02em; color: #16a34a; font-variant-numeric: tabular-nums; }
.ln-quota-cell span { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 650; color: var(--ln-sec-sub); }
.ln-quota-cell small { font-weight: 500; color: var(--ln-sec-muted); }
.ln-quota-note { margin: 16px 0 0; font-size: 12.5px; color: var(--ln-sec-muted); line-height: 1.6; }
@media (max-width: 720px) { .ln-quota-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .ln-quota-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .ln-free-badge { flex-basis: 110px; width: 110px; height: 110px; } .ln-free-zero { font-size: 34px; } }

/* persona icons */
.ln-persona-ico { width: 22px; height: 22px; color: var(--ln-accent); margin-bottom: 10px; }
:root[data-theme="light"] .landing { --ln-coin-ring: rgba(37,99,235,.05); }
:root[data-theme="dark"] .landing { --ln-coin-ring: rgba(91,140,255,.06); }


/* footer — expanded */
.ln-foot { padding: 64px 0 32px; }
/* themed logos: header + footer must contrast in BOTH themes */
.ln-head .logo-mark rect { fill: #0a0a0a; }
.ln-head .logo-mark path { stroke: #fff; }
:root[data-theme="dark"] .ln-head .logo-mark rect { fill: #fafafa; }
:root[data-theme="dark"] .ln-head .logo-mark path { stroke: #0a0a0a; }
:root[data-theme="dark"] .ln-foot .logo-mark rect { fill: #e4e8ec; }
:root[data-theme="dark"] .ln-foot .logo-mark path { stroke: #0a0a0a; }
.ln-foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--ln-contrast-border); }
.ln-foot-brand .logo-mark svg { width: 28px; height: 28px; }
.ln-foot-brand p { margin: 14px 0 0; color: var(--ln-contrast-muted); font-size: 13px; line-height: 1.7; }
.ln-foot-col h4 { margin: 0 0 14px; font-size: 11px; font-weight: 800; letter-spacing: .18em; color: var(--ln-contrast-fg); text-transform: uppercase; }
.ln-foot-col a { display: block; margin-bottom: 10px; color: var(--ln-contrast-muted); font-size: 13px; text-decoration: none; transition: color .15s; }
.ln-foot-col a:hover { color: var(--ln-contrast-fg); }
.ln-foot-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; color: var(--ln-contrast-muted); font-size: 12px; }
@media (max-width: 768px) { .ln-foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 480px) { .ln-foot-grid { grid-template-columns: 1fr; } }

/* capability gallery — real MEKA Image outputs */
.ln-cap-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.ln-cap-gallery figure { margin: 0; }
.ln-cap-gallery img { width: 100%; height: auto; display: block; border-radius: 10px 1px 10px 1px; border: 1px solid var(--ln-panel-border); transition: transform .3s var(--ease); }
.ln-cap-gallery figure:hover img { transform: scale(1.015); }
.ln-cap-gallery figcaption { margin-top: 8px; font-size: 12px; color: var(--ln-sec-muted); font-family: "SF Mono", ui-monospace, Consolas, monospace; }
@media (max-width: 560px) { .ln-cap-gallery { grid-template-columns: 1fr; } }

/* ecosystem flow diagram */
.ln-eco { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 48px; flex-wrap: wrap; }
.ln-eco-node { padding: 14px 20px; border: 1px solid var(--ln-contrast-border); border-radius: 12px 2px 12px 2px; text-align: center; background: var(--ln-panel); }
.ln-eco-node span { display: block; font-size: 14px; font-weight: 750; color: var(--ln-contrast-fg); }
.ln-eco-node small { display: block; margin-top: 3px; font-size: 11px; color: var(--ln-contrast-muted); }
.ln-eco-core svg { width: 20px; height: 20px; color: var(--ln-accent); display: block; margin: 0 auto 6px; }
.ln-eco-core { border-color: var(--ln-accent); box-shadow: 0 0 0 6px var(--ln-coin-ring); }
.ln-eco-arrow { width: 18px; height: 18px; color: var(--ln-contrast-muted); flex: 0 0 auto; }
.ln-eco-caps { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ln-eco-note { margin: 20px 0 0; text-align: center; color: var(--ln-contrast-muted); font-size: 13px; }
@media (max-width: 640px) { .ln-eco-arrow { transform: rotate(90deg); } .ln-eco { flex-direction: column; gap: 12px; } }

/* legal pages */
.ln-legal { max-width: 720px; }
.ln-legal-intro { margin: 0 0 32px; font-size: 17px; line-height: 1.7; color: var(--ln-sec-sub); }
.ln-legal h3 { margin: 36px 0 12px; font-size: 18px; font-weight: 750; color: var(--ln-sec-fg); }
.ln-legal p, .ln-legal li { color: var(--ln-sec-muted); font-size: 15px; line-height: 1.75; }
.ln-legal ul { margin: 0; padding-left: 20px; }
.ln-legal li { margin-bottom: 8px; }
.ln-legal li::marker { color: var(--ln-accent); }
.ln-legal a { color: var(--ln-accent); }
.ln-legal-table { width: 100%; border-collapse: collapse; margin: 8px 0 8px; font-size: 14px; }
.ln-legal-table th { text-align: left; padding: 10px 12px 10px 0; border-bottom: 2px solid var(--ln-sec-border); color: var(--ln-sec-fg); font-weight: 750; }
.ln-legal-table td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--ln-sec-border); color: var(--ln-sec-muted); vertical-align: top; line-height: 1.6; }
.ln-legal-contact { margin-top: 40px; }
.ln-legal-date { color: var(--ln-sec-num); font-size: 13px; }
.ln-foot-legal a { color: inherit; text-decoration: none; }
.ln-foot-legal a:hover { color: var(--ln-contrast-fg); }

/* responsive */
@media (max-width: 768px) {
  .ln-head .ln-container { height: 56px; gap: 12px; }
  .ln-nav { display: none; }
  .ln-head .ln-btn-ghost { display: none; }
  .ln-personas { grid-template-columns: 1fr; }
  .ln-promises { grid-template-columns: 1fr; gap: 32px; }
  .ln-roadmap { grid-template-columns: 1fr; }
  .ln-promises { grid-template-columns: 1fr; gap: 14px; }
  .ln-stats-row { gap: 24px; }
  .ln-fark-quote { font-size: 20px; }
  .ln-free { flex-direction: column; gap: 40px; align-items: flex-start; }
  .ln-free-points { grid-template-columns: 1fr; }
  .ln-diff { flex-direction: column; gap: 8px; }
  .ln-diff h3 { flex: none; }
  .ln-sec-head { flex-direction: column; gap: 4px; }
  .ln-num { font-size: 48px; }
}

/* ---------- admin: anahtar devreye alma formu ---------- */
.key-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.key-field { display: flex; flex-direction: column; gap: 5px; font-size: 12px; font-weight: 650; color: var(--muted); }
.key-field input, .key-field select { min-width: 190px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 9px 1px 9px 1px; background: var(--panel); color: inherit; font-size: 13px; font-family: inherit; }
.key-field input:focus, .key-field select:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.key-field small { font-weight: 500; opacity: .75; }
.key-field-grow { flex: 1 1 300px; }
.key-field-grow input { width: 100%; }
.key-status { margin: 14px 0 0; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px 1px 10px 1px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.key-status.ok { border-color: #16a34a; color: #15803d; font-weight: 650; }
.key-status.bad { border-color: #ef7070; color: #dc2626; font-weight: 650; }
