/* EntegreBox — tasarım sistemi v2 (editoryal / İsviçre ızgarası)
   Palet: mürekkep + kâğıt + tek kobalt aksan. Tip: Inter Tight (display), Inter (gövde), JetBrains Mono (etiket). */
:root {
    --ink: #0b0c10;
    --ink-2: #2a2d36;
    --ink-3: #5b6070;
    --ink-4: #9a9fae;
    --paper: #f6f6f2;
    --paper-2: #ecece6;
    --white: #ffffff;
    --line: #d9d9d2;
    --line-strong: #0b0c10;
    --cobalt: #2145ff;
    --cobalt-ink: #1a36c9;
    --cobalt-soft: #e6eaff;
    --acid: #e8ff47;
    --sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
    --display: "Inter Tight", var(--sans);
    --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
    --max: 1280px;
    --gutter: clamp(18px, 4vw, 48px);
    --ease: cubic-bezier(.2, .7, .2, 1);
    --header: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg, iframe, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -0.035em; line-height: 1.02; margin: 0; font-weight: 700; text-wrap: balance; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--acid); color: var(--ink); }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 999; }
.skip:focus { left: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; }
.eyebrow { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1.25rem; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--cobalt); }
.dark .eyebrow { color: #aab0c4; }
.dark .eyebrow::before { background: var(--acid); }
.lead { font-size: 1.15rem; line-height: 1.55; color: var(--ink-2); max-width: 58ch; }
.dark .lead { color: #c9cddc; }
.muted { color: var(--ink-3); }

/* Butonlar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 52px; padding: 0 26px; border: 1.5px solid var(--ink); background: var(--ink); color: #fff; font-family: var(--sans); font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--cobalt); border-color: var(--cobalt); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.dark .btn { background: var(--acid); border-color: var(--acid); color: var(--ink); }
.dark .btn:hover { background: #fff; border-color: #fff; }
.dark .btn-ghost { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }
.dark .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .85rem; }
.arrow::after { content: "→"; font-family: var(--mono); transition: transform .2s var(--ease); }
.arrow:hover::after { transform: translateX(4px); }
.link { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--cobalt); padding-bottom: 1px; }
.link:hover { color: var(--cobalt); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246,246,242,.85); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(246,246,242,.95); }
.nav-inner { height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.03em; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand small { font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-left: 6px; font-weight: 500; }
.nav-list { display: flex; gap: 2rem; list-style: none; }
.nav-list a { font-family: var(--mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--ink-2); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--cobalt); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 46px; height: 46px; border: 1.5px solid var(--ink); background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); transition: transform .25s var(--ease), opacity .2s; }
.burger span:first-child { top: 16px; } .burger span:last-child { bottom: 16px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.9rem); font-weight: 800; letter-spacing: -0.045em; }
.hero h1 em { font-style: normal; color: var(--cobalt); }
.hero .lead { margin-top: 1.5rem; font-size: clamp(1.05rem, 1.4vw, 1.25rem); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.hero-facts { display: grid; grid-template-columns: repeat(3, auto); gap: 2rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-strong); width: fit-content; }
.hero-facts div { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.hero-facts strong { display: block; font-family: var(--display); font-size: 1.6rem; letter-spacing: -0.03em; color: var(--ink); margin-bottom: .2rem; font-weight: 700; }
.hero-stack { position: relative; height: clamp(380px, 34vw, 490px); }
.hero-stack .shot { position: absolute; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(11,12,16,.45), 0 2px 6px rgba(11,12,16,.06); overflow: hidden; }
.hero-stack .shot-admin { left: 0; top: 0; width: 88%; aspect-ratio: 16 / 10; }
.hero-stack .shot-store { right: 0; bottom: 0; width: 60%; aspect-ratio: 16 / 10; z-index: 2; }
.hero-stack .shot-phone { left: 10%; bottom: 0; width: 20%; z-index: 3; aspect-ratio: 390 / 844; border-radius: 26px; border: 6px solid var(--ink); background: var(--ink); box-shadow: 0 30px 50px -20px rgba(11,12,16,.55); }
.hero-stack .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hero-stack .shot-phone img { border-radius: 20px; }
.hero-stack .tag { position: absolute; font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; background: var(--ink); color: #fff; padding: 6px 10px; z-index: 4; }
.hero-stack .tag-admin { left: 12px; top: -14px; }
.hero-stack .tag-store { right: 10px; top: 10px; background: var(--cobalt); }

/* Marquee */
.marquee { margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); background: var(--white); overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; list-style: none; }
.marquee li { font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; padding: 14px 22px; border-right: 1px solid var(--line); white-space: nowrap; color: var(--ink-2); }
.marquee li b { color: var(--cobalt); font-weight: 500; margin-right: 10px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Bölümler */
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section-tight { padding: clamp(40px, 6vw, 80px) 0; }
.dark { background: var(--ink); color: #fff; }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: end; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.head h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
.head .lead { margin: 0; }
.rule { height: 1px; background: var(--line-strong); }
.dark .rule { background: rgba(255,255,255,.2); }

/* Spec ızgarası ("kutu") */
.spec { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line-strong); background: var(--line-strong); gap: 1px; }
.spec > div { background: var(--paper); padding: 1.6rem 1.5rem 1.7rem; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; transition: background .2s; }
.spec > div:hover { background: var(--white); }
.spec .n { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; color: var(--ink-3); }
.spec h3 { font-size: 1.35rem; margin: 1.2rem 0 .5rem; letter-spacing: -0.02em; }
.spec p { font-size: .93rem; color: var(--ink-3); margin: 0; line-height: 1.55; }
.spec .big { font-family: var(--display); font-size: clamp(2.4rem, 3.4vw, 3.2rem); letter-spacing: -0.04em; line-height: 1; font-weight: 800; }
.spec .big small { display: block; font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-top: .5rem; font-weight: 500; }

/* Özellik satırları */
.feat { display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.15fr); gap: 2rem 3rem; padding: clamp(2.5rem, 5vw, 4.5rem) 0; border-top: 1px solid var(--line-strong); align-items: center; }
.feat:last-child { border-bottom: 1px solid var(--line-strong); }
.feat.alt { grid-template-columns: 72px minmax(0, 1.15fr) minmax(0, 1fr); }
.feat.alt .feat-copy { order: 3; } .feat.alt .feat-media { order: 2; }
.feat .idx { font-family: var(--mono); font-size: .8rem; color: var(--ink-3); padding-top: 4px; }
.feat h3 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); margin-bottom: .9rem; }
.feat p { color: var(--ink-2); max-width: 52ch; }
.feat ul { list-style: none; margin: 1.25rem 0 1.5rem; max-width: 56ch; }
.feat li { position: relative; padding: .5rem 0 .5rem 1.3rem; border-top: 1px solid var(--line); font-size: .95rem; color: var(--ink-2); }
.feat li:last-child { border-bottom: 1px solid var(--line); }
.feat li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 7px; height: 7px; background: var(--cobalt); }
.feat-media .frame { transform: none; }

/* Tarayıcı çerçevesi */
.frame { background: var(--white); border: 1px solid var(--line-strong); box-shadow: 0 24px 48px -28px rgba(11,12,16,.4); }
.frame-bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-bottom: 1px solid var(--line-strong); background: var(--paper-2); }
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-4); display: inline-block; }
.frame-bar span { margin-left: 8px; font-family: var(--mono); font-size: .66rem; color: var(--ink-3); letter-spacing: .02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.frame img { width: 100%; }
.frame-scroll { max-height: 560px; overflow: auto; scrollbar-width: thin; }
.frame-scroll img { height: auto; }
.frame-caption { font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-top: .75rem; }
.frame.is-missing { min-height: 320px; background: repeating-linear-gradient(135deg, var(--paper-2) 0 12px, var(--white) 12px 24px); position: relative; }
.frame.is-missing::after { content: attr(data-missing); position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--mono); font-size: .75rem; color: var(--ink-3); }
.phone { width: 100%; max-width: 300px; border: 6px solid var(--ink); border-radius: 30px; background: var(--ink); box-shadow: 0 30px 50px -20px rgba(11,12,16,.5); overflow: hidden; }
.phone > div { border-radius: 24px; overflow: hidden; background: #fff; }

/* Entegrasyon panosu */
.board { border: 1px solid var(--line-strong); }
.board-group { display: grid; grid-template-columns: 280px minmax(0, 1fr); border-top: 1px solid var(--line-strong); }
.board-group:first-child { border-top: 0; }
.board-side { padding: 1.5rem; border-right: 1px solid var(--line-strong); background: var(--white); }
.board-side h3 { font-size: 1.2rem; margin-bottom: .35rem; letter-spacing: -0.02em; }
.board-side p { font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 0; line-height: 1.5; }
.board-side .count { font-family: var(--display); font-size: 2rem; letter-spacing: -0.04em; font-weight: 800; color: var(--cobalt); line-height: 1; margin-top: 1rem; }
.board-cells { display: flex; flex-wrap: wrap; gap: 1px; background: var(--line); padding: 1px; }
.board-cells span { background: var(--paper); padding: .9rem 1rem; font-size: .9rem; font-weight: 500; flex: 1 1 auto; min-width: 150px; transition: background .15s, color .15s; }
.board-cells span:hover { background: var(--ink); color: #fff; }
.board-note { padding: 1rem 1.5rem; font-size: .88rem; color: var(--ink-3); border-top: 1px solid var(--line); background: var(--white); grid-column: 1 / -1; }

/* Adımlar */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.2); }
.steps > div { background: var(--ink); padding: 2rem 1.75rem 2.25rem; }
.steps .n { font-family: var(--display); font-size: 3.2rem; font-weight: 800; letter-spacing: -0.05em; color: var(--acid); line-height: 1; }
.steps h3 { font-size: 1.35rem; margin: 1.25rem 0 .6rem; }
.steps p { color: #c9cddc; font-size: .95rem; margin: 0; }
.steps code { font-family: var(--mono); font-size: .78rem; color: #fff; background: rgba(255,255,255,.1); padding: 2px 6px; }

/* Demo bandı */
.demo-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 3rem; align-items: center; }
.demo-grid h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.cred { margin-top: 1.5rem; border: 1px solid rgba(255,255,255,.25); font-family: var(--mono); font-size: .8rem; }
.cred div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 1rem; border-top: 1px solid rgba(255,255,255,.15); }
.cred div:first-child { border-top: 0; background: rgba(255,255,255,.06); text-transform: uppercase; letter-spacing: .1em; font-size: .68rem; color: #aab0c4; }
.cred b { font-weight: 500; color: var(--acid); }
.demo-media { position: relative; }
.demo-media .phone { position: absolute; right: -4%; bottom: -8%; width: 30%; max-width: 240px; }
.dark .frame { border-color: rgba(255,255,255,.2); box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); }
.dark .frame-bar { background: #15171e; border-color: rgba(255,255,255,.15); }
.dark .frame-bar span { color: #aab0c4; }

/* SSS */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.1rem 2.5rem 1.1rem 0; font-family: var(--display); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.015em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: .95rem; font-family: var(--mono); color: var(--cobalt); font-size: 1.25rem; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 1.25rem; color: var(--ink-2); font-size: .95rem; max-width: 60ch; }

/* Form */
.lead-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 3rem; align-items: start; }
.lead-grid h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.contact-lines { margin-top: 1.5rem; font-family: var(--mono); font-size: .8rem; line-height: 2; color: #c9cddc; }
.contact-lines a { color: #fff; text-decoration: none; border-bottom: 1px solid var(--acid); }
form.lead { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form.lead .full { grid-column: 1 / -1; }
form.lead label { display: block; font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: #aab0c4; margin-bottom: 6px; }
form.lead input, form.lead select, form.lead textarea { width: 100%; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.25); color: #fff; padding: 13px 14px; font-size: .95rem; }
form.lead input:focus, form.lead select:focus, form.lead textarea:focus { border-color: var(--acid); outline: none; }
form.lead select option { color: var(--ink); }
form.lead textarea { min-height: 120px; resize: vertical; }
form.lead .consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .82rem; color: #c9cddc; font-family: var(--sans); text-transform: none; letter-spacing: 0; }
form.lead .consent input { width: auto; margin-top: 4px; }
.form-msg { display: none; padding: 12px 14px; font-size: .9rem; border: 1px solid; margin-top: 4px; }
.form-msg.show { display: block; }
.form-msg.ok { border-color: var(--acid); color: var(--acid); }
.form-msg.err { border-color: #ff6b6b; color: #ff8a8a; }
.hp { position: absolute; left: -9999px; }

/* Sayfa başlığı (alt sayfalar) */
.page-head { padding: clamp(40px, 6vw, 80px) 0 clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--line-strong); }
.page-head h1 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); font-weight: 800; letter-spacing: -0.045em; max-width: 18ch; }
.page-head .lead { margin-top: 1.25rem; }
.crumbs { display: flex; gap: .6rem; font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 1.5rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--cobalt); }

/* Özellikler sayfası */
.feat-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 4rem; padding-top: clamp(32px, 4vw, 56px); }
.toc { position: sticky; top: calc(var(--header) + 20px); align-self: start; }
.toc p { font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .75rem; }
.toc ol { list-style: none; border-left: 1px solid var(--line); }
.toc a { display: block; padding: .4rem 0 .4rem 1rem; font-size: .88rem; color: var(--ink-3); text-decoration: none; border-left: 2px solid transparent; margin-left: -1px; }
.toc a:hover, .toc a.active { color: var(--ink); border-left-color: var(--cobalt); }
.fgroup { padding: 2.5rem 0; border-top: 1px solid var(--line-strong); scroll-margin-top: calc(var(--header) + 20px); }
.fgroup:first-child { border-top: 0; padding-top: 0; }
.fgroup-head { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 1.5rem; margin-bottom: 1.25rem; }
.fgroup-head .idx { font-family: var(--mono); font-size: .8rem; color: var(--ink-3); padding-top: 6px; }
.fgroup h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.fgroup p.intro { color: var(--ink-2); max-width: 60ch; margin: .75rem 0 0; }
.fgroup ul { list-style: none; margin-left: calc(72px + 1.5rem); columns: 2; column-gap: 2.5rem; }
.fgroup li { position: relative; padding: .45rem 0 .45rem 1.2rem; font-size: .93rem; color: var(--ink-2); break-inside: avoid; border-top: 1px solid var(--line); }
.fgroup li::before { content: ""; position: absolute; left: 0; top: 1rem; width: 6px; height: 6px; background: var(--cobalt); }
.fgroup .frame { margin: 1.5rem 0 1.5rem calc(72px + 1.5rem); }

/* Demo sayfası */
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.shots .frame { margin-bottom: .5rem; }
.phones { display: flex; gap: 2rem; align-items: flex-start; }

/* Footer */
.site-footer { border-top: 1px solid var(--line-strong); padding: 3rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid h4 { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .9rem; font-weight: 500; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin: .4rem 0; font-size: .92rem; }
.footer-grid a { text-decoration: none; color: var(--ink-2); }
.footer-grid a:hover { color: var(--cobalt); }
.footer-grid p { font-size: .92rem; color: var(--ink-3); max-width: 36ch; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }

/* Reveal */
html.js .rv { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
html.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html.js .rv { opacity: 1; transform: none; transition: none; }
    .marquee-track { animation: none; }
    html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1100px) {
    .feat, .feat.alt { grid-template-columns: 56px minmax(0, 1fr); }
    .feat-media { grid-column: 2; }
    .feat.alt .feat-copy { order: 0; } .feat.alt .feat-media { order: 0; }
    .spec { grid-template-columns: repeat(2, 1fr); }
    .board-group { grid-template-columns: 220px minmax(0, 1fr); }
    .feat-layout { grid-template-columns: 1fr; gap: 2rem; }
    .toc { position: static; }
    .toc ol { display: flex; flex-wrap: wrap; gap: .25rem .75rem; border: 0; }
    .toc a { padding: .35rem .6rem; border: 1px solid var(--line); }
    .fgroup ul, .fgroup .frame { margin-left: 0; }
    .fgroup-head { grid-template-columns: 1fr; gap: .5rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    :root { --header: 64px; }
    .nav-list { display: none; }
    .burger { display: inline-block; }
    .nav-actions .btn { display: none; }
    .site-header.open .nav-list { display: flex; flex-direction: column; gap: 0; position: absolute; left: 0; right: 0; top: var(--header); background: var(--paper); border-bottom: 1px solid var(--line-strong); padding: .5rem var(--gutter) 1rem; }
    .site-header.open .nav-list a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
    .hero-grid, .head, .demo-grid, .lead-grid { grid-template-columns: 1fr; }
    .hero-stack { height: auto; aspect-ratio: 16 / 12; }
    .hero-facts { grid-template-columns: repeat(3, 1fr); gap: 1rem; width: 100%; }
    .faq { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .board-group { grid-template-columns: 1fr; }
    .board-side { border-right: 0; border-bottom: 1px solid var(--line-strong); }
    .shots { grid-template-columns: 1fr; }
    form.lead { grid-template-columns: 1fr; }
    .fgroup ul { columns: 1; }
    .demo-media .phone { position: static; width: 55%; max-width: 220px; margin: -1.5rem auto 0; }
}
@media (max-width: 560px) {
    body { font-size: 16px; }
    .brand small { display: none; }
    .hero h1 { font-size: 2.5rem; }
    .hero-facts { grid-template-columns: 1fr 1fr; }
    .spec { grid-template-columns: 1fr; }
    .spec > div { min-height: 0; }
    .board-cells span { min-width: 45%; }
    .footer-grid { grid-template-columns: 1fr; }
    .phones { flex-direction: column; }
    .hero-stack .shot-phone { display: none; }
    .hero-stack .shot-admin { width: 100%; } .hero-stack .shot-store { width: 72%; bottom: 0; }
}

/* ============================================
   v3: dokular, tema vitrini, panel turu, mobil satırı
============================================ */
.section-white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.has-grid { background-image: radial-gradient(var(--line) 1px, transparent 1px); background-size: 22px 22px; background-position: 0 0; }
.has-grid .wrap { position: relative; }
.hero.has-grid::before { content: ""; position: absolute; right: 0; top: 0; width: 42%; height: 100%; background: linear-gradient(180deg, var(--cobalt-soft), transparent 70%); z-index: 0; pointer-events: none; }
.hero-grid { position: relative; z-index: 1; }
.has-grid-dark { background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px); background-size: 22px 22px; }

/* Tema vitrini: yatay kaydırma */
.tstrip { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 1rem max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); scrollbar-width: thin; }
.tstrip::after { content: ""; flex: 0 0 var(--gutter); }
.tcard { flex: 0 0 clamp(300px, 36vw, 520px); scroll-snap-align: start; margin: 0; }
.tshot { border: 1px solid var(--line-strong); background: #fff; box-shadow: 0 20px 40px -28px rgba(11,12,16,.45); overflow: hidden; aspect-ratio: 16 / 10; }
.tshot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.tcard:hover .tshot img { transform: translateY(-6%); }
.tcard figcaption { display: flex; align-items: baseline; gap: .75rem; margin-top: .75rem; border-top: 1px solid var(--line-strong); padding-top: .6rem; }
.tcard figcaption b { font-family: var(--display); font-size: 1.1rem; letter-spacing: -0.02em; flex: none; }
.tcard figcaption span { font-size: .82rem; color: var(--ink-3); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Panel turu: bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(180px, auto); gap: 1px; background: var(--line-strong); border: 1px solid var(--line-strong); }
.btile { margin: 0; background: var(--paper); padding: 1rem 1rem 1.1rem; display: flex; flex-direction: column; gap: .8rem; min-width: 0; }
.btile.big { grid-column: span 2; grid-row: span 2; }
.btile.wide { grid-column: span 2; }
.bshot { border: 1px solid var(--line); background: #fff; overflow: hidden; flex: 1; aspect-ratio: 16 / 10; }
.btile.big .bshot { aspect-ratio: auto; min-height: 320px; }
.bshot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.btile figcaption b { display: block; font-family: var(--display); font-size: 1rem; letter-spacing: -0.02em; }
.btile figcaption span { font-size: .8rem; color: var(--ink-3); }

/* Mobil satırı */
.mobile-row { display: grid; grid-template-columns: 240px 240px minmax(0, 1fr); gap: 2rem; align-items: start; }
.mobile-row .phone { max-width: 240px; }
.mobile-side { display: grid; gap: 1.25rem; }
.mobile-side .frame { transform: none; }

@media (max-width: 1100px) {
    .bento { grid-template-columns: repeat(2, 1fr); }
    .btile.big { grid-column: span 2; grid-row: span 1; }
    .mobile-row { grid-template-columns: 1fr 1fr; }
    .mobile-side { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .bento { grid-template-columns: 1fr; }
    .btile.big, .btile.wide { grid-column: span 1; }
    .mobile-row { grid-template-columns: 1fr; justify-items: center; }
    .mobile-side { grid-template-columns: 1fr; width: 100%; }
    .hero.has-grid::before { width: 100%; height: 50%; }
    .tcard { flex-basis: 84vw; }
}

/* ============================================
   v4: premium cila — editoryal, disiplinli
   (keskin köşeler korunur; rafine gölge, ince hareket,
    tutarlı çerçeveleme, kademeli reveal, micro-etkileşim)
============================================ */

/* — Hero: katmanlı gölge + tarayıcı çubuğu + hafif salınım — */
.hero.has-grid::before { background: linear-gradient(180deg, var(--cobalt-soft), transparent 68%); opacity: .9; }
.hero.has-grid::after { content: ""; position: absolute; right: -6%; top: 8%; width: 30vw; max-width: 460px; aspect-ratio: 1; background: radial-gradient(circle at center, rgba(33,69,255,.10), transparent 62%); z-index: 0; pointer-events: none; filter: blur(4px); }
.hero-stack { z-index: 1; }
.hero-stack .shot { box-shadow: 0 1px 2px rgba(11,12,16,.06), 0 16px 34px -20px rgba(11,12,16,.32), 0 46px 90px -54px rgba(33,69,255,.30); }
.hero-stack .shot-admin { display: flex; flex-direction: column; background: var(--white); }
.shot-bar { display: flex; align-items: center; gap: 5px; padding: 8px 11px; background: var(--paper-2); border-bottom: 1px solid var(--line); flex: none; }
.shot-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-4); }
.shot-bar span { margin-left: 7px; font-family: var(--mono); font-size: .58rem; letter-spacing: .02em; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-stack .shot-admin > img { flex: 1 1 auto; min-height: 0; height: auto; object-fit: cover; object-position: top; }
.hero-stack .tag-admin { top: -14px; z-index: 5; }

@media (prefers-reduced-motion: no-preference) {
    .hero-stack .shot-store { animation: eb-float 8.5s var(--ease) infinite; }
    .hero-stack .shot-phone { animation: eb-float 10.5s var(--ease) infinite; animation-delay: -2s; }
}
@keyframes eb-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* — Kademeli reveal: yüksek etkili ızgaralarda çocuklar sırayla belirir — */
html.js .rv.spec, html.js .rv.steps,
html.js .rv:has(> .bento), html.js .rv:has(> .tstrip) { opacity: 1; transform: none; transition: none; }
html.js .rv.spec > div,
html.js .rv.steps > div,
html.js .rv > .bento > .btile,
html.js .rv > .tstrip > .tcard { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
html.js .rv.in.spec > div,
html.js .rv.in.steps > div,
html.js .rv.in > .bento > .btile,
html.js .rv.in > .tstrip > .tcard { opacity: 1; transform: none; }
html.js .rv.in.spec > div:nth-child(2), html.js .rv.in.steps > div:nth-child(2), html.js .rv.in > .bento > .btile:nth-child(2), html.js .rv.in > .tstrip > .tcard:nth-child(2) { transition-delay: .05s; }
html.js .rv.in.spec > div:nth-child(3), html.js .rv.in.steps > div:nth-child(3), html.js .rv.in > .bento > .btile:nth-child(3), html.js .rv.in > .tstrip > .tcard:nth-child(3) { transition-delay: .10s; }
html.js .rv.in.spec > div:nth-child(4), html.js .rv.in.steps > div:nth-child(4), html.js .rv.in > .bento > .btile:nth-child(4), html.js .rv.in > .tstrip > .tcard:nth-child(4) { transition-delay: .15s; }
html.js .rv.in.spec > div:nth-child(5), html.js .rv.in > .bento > .btile:nth-child(5), html.js .rv.in > .tstrip > .tcard:nth-child(5) { transition-delay: .20s; }
html.js .rv.in.spec > div:nth-child(6), html.js .rv.in > .bento > .btile:nth-child(6), html.js .rv.in > .tstrip > .tcard:nth-child(6) { transition-delay: .25s; }
html.js .rv.in.spec > div:nth-child(7), html.js .rv.in > .bento > .btile:nth-child(7), html.js .rv.in > .tstrip > .tcard:nth-child(n+7) { transition-delay: .30s; }
html.js .rv.in.spec > div:nth-child(n+8), html.js .rv.in > .bento > .btile:nth-child(n+8) { transition-delay: .35s; }
@media (prefers-reduced-motion: reduce) {
    html.js .rv.spec > div, html.js .rv.steps > div, html.js .rv > .bento > .btile, html.js .rv > .tstrip > .tcard { opacity: 1; transform: none; transition: none; }
}

/* — Micro-etkileşimler — */
.frame { transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.frame:hover { transform: translateY(-3px); box-shadow: 0 34px 64px -32px rgba(11,12,16,.5); }
.dark .frame:hover { box-shadow: 0 44px 90px -44px rgba(0,0,0,.85); }
.spec > div { position: relative; }
.spec > div::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--cobalt); transition: width .3s var(--ease); }
.spec > div:hover::after { width: 100%; }
.bshot img { transition: transform .5s var(--ease); }
.btile:hover .bshot img { transform: scale(1.035); }
.btile { transition: background .2s var(--ease); }
.btile:hover { background: var(--white); }
.hero-cta .btn { transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s; }
.hero-cta .btn:not(.btn-ghost):hover { box-shadow: 0 14px 30px -14px rgba(33,69,255,.6); }

/* — CTA (koyu) rafinesi — */
.section.dark#teklif { position: relative; overflow: hidden; }
.section.dark#teklif .lead-grid { position: relative; z-index: 1; }
.section.dark#teklif h2 { font-size: clamp(2.2rem, 4.8vw, 3.7rem); }
.section.dark#teklif::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--cobalt), var(--acid)); z-index: 2; }

/* — Footer imzası (editoryal wordmark) — */
.footer-word { font-family: var(--display); font-weight: 800; letter-spacing: -0.05em; font-size: clamp(3.2rem, 13vw, 12rem); line-height: .9; color: transparent; -webkit-text-stroke: 1px var(--line); text-stroke: 1px var(--line); margin: 2.5rem 0 .5rem; user-select: none; overflow: hidden; }
@supports not ((-webkit-text-stroke: 1px black) or (text-stroke: 1px black)) { .footer-word { color: var(--paper-2); } }
.site-footer { position: relative; overflow: hidden; }
