/* =========================================================
   seoajan.si — Design System v2
   Cinematic dark hero · clean light product sections
   ========================================================= */

:root {
  --white: #FFFFFF;
  --bg2: #F6F6F5;
  --card: #F3F3F2;
  --card2: #ECECEA;
  --line: rgba(14, 14, 14, .08);
  --line2: rgba(14, 14, 14, .14);
  --ink: #0E0E0E;
  --ink2: #3D3D3D;
  --muted: #6E6E6E;
  --red: #E63A1E;
  --red2: #C72F15;
  --redsoft: #FDEBE6;
  --green: #1C9A55;
  --greensoft: #E4F5EB;
  --amber: #D98A12;
  --ambersoft: #FBF0DC;
  --d0: #07070A;
  --d1: #0F0F12;
  --d2: #17171B;
  --d3: #212126;
  --dline: rgba(255, 255, 255, .08);
  --dtext: #F2F2F0;
  --dmut: rgba(242, 242, 240, .56);

  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Outfit", "Geist", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --sec: clamp(80px, 10vw, 136px);
  --r-lg: 20px;
  --r: 14px;
  --r-sm: 9px;
  --shadow: 0 1px 2px rgba(14, 14, 14, .04), 0 8px 24px -12px rgba(14, 14, 14, .12);
  --shadow-lg: 0 2px 4px rgba(14, 14, 14, .04), 0 30px 60px -24px rgba(14, 14, 14, .22);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { background: var(--white); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; letter-spacing: -.006em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: 10px; left: 10px; z-index: 999; padding: .6em 1em; background: var(--ink); color: #fff; border-radius: 8px; transform: translateY(-200%); }
.skip:focus { transform: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: var(--sec); }
.sec--grey { background: var(--bg2); }
.center { text-align: center; }

/* ---------- Type ---------- */
.serif { font-family: var(--serif); font-weight: 500; letter-spacing: -.03em; }
em { font-style: normal; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
.h2 { font-size: clamp(1.9rem, 3.3vw, 3rem); }
.h3 { font-size: clamp(1.25rem, 1.6vw, 1.5rem); letter-spacing: -.025em; }
.lead { font-size: clamp(1rem, .4vw + .9rem, 1.12rem); color: var(--muted); line-height: 1.6; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.mono { font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; }
.red { color: var(--red); }
.up { color: var(--green); }
.down { color: var(--red); }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink2); }
.eyebrow i { width: 14px; height: 14px; border-radius: 4px; background: var(--red); display: grid; place-items: center; }
.eyebrow i::after { content: ""; width: 4px; height: 4px; border-radius: 1px; background: #fff; }
.chip-dark { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px var(--dline); font-size: .78rem; color: var(--dtext); }
.chip-dark b { padding: 2px 8px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 500; font-size: .7rem; }

.sh { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.sh .h2 { margin: 14px 0 14px; }
.sh p { color: var(--muted); max-width: 560px; margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 20px; border-radius: 10px; font-size: .93rem; font-weight: 500; letter-spacing: -.01em; transition: background-color .25s, color .25s, box-shadow .25s, transform .25s var(--ease); white-space: nowrap; }
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .2) inset, 0 6px 16px -6px rgba(230, 58, 30, .6); }
.btn-red:hover { background: var(--red2); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2a2a; }
.btn-ghost { box-shadow: inset 0 0 0 1px var(--line2); background: #fff; }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn-glass { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.btn-glass:hover { background: rgba(255, 255, 255, .16); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #ececec; }
.btn-sm { height: 38px; padding: 0 14px; font-size: .86rem; border-radius: 9px; }
.ico-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line2); background: #fff; transition: background-color .2s, color .2s; }
.ico-btn svg { width: 18px; height: 18px; }
.ico-btn:hover { background: var(--ink); color: #fff; }
.ico-btn.is-dark { background: var(--ink); color: #fff; box-shadow: none; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; transition: background-color .3s, box-shadow .3s, transform .4s var(--ease); }
.nav__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.05rem; letter-spacing: -.03em; color: var(--dtext); transition: color .3s; }
.logo__mark { width: 30px; height: 30px; border-radius: 8px; background: var(--red); display: grid; place-items: center; color: #fff; }
.logo__mark svg { width: 16px; height: 16px; }
.logo b { color: var(--red); font-weight: 600; }
.nav__pill { display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(20, 20, 23, .72); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav__pill a { padding: 7px 14px; border-radius: 999px; font-size: .84rem; color: rgba(255, 255, 255, .72); transition: color .2s, background-color .2s; }
.nav__pill a:hover { color: #fff; }
.nav__pill a[aria-current="page"] { background: rgba(255, 255, 255, .12); color: #fff; }
.nav__right { justify-self: end; display: flex; gap: 8px; align-items: center; }
.nav__right .btn-glass { color: #fff; }
.nav.is-light { background: rgba(255, 255, 255, .88); box-shadow: 0 1px 0 var(--line); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); }
.nav.is-light .logo { color: var(--ink); }
.nav.is-light .nav__pill { background: var(--ink); }
.nav.is-light .btn-glass { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line2); }
.nav.is-hidden { transform: translateY(-100%); }
.burger { display: none; width: 44px; height: 44px; border-radius: 10px; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); position: relative; color: #fff; }
.nav.is-light .burger { background: var(--ink); }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:nth-child(1) { top: 18px; } .burger span:nth-child(2) { top: 25px; }
.menu-open .burger span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }
.drawer { position: fixed; inset: 0; z-index: 90; background: var(--d0); color: var(--dtext); padding: 96px var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.menu-open .drawer { opacity: 1; visibility: visible; }
.menu-open .nav { background: transparent; box-shadow: none; }
.menu-open .nav .logo { color: var(--dtext); }
.drawer li { border-bottom: 1px solid var(--dline); }
.drawer a { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-size: 1.6rem; font-weight: 500; letter-spacing: -.03em; }
.drawer a span { font-family: var(--mono); font-size: .7rem; color: var(--dmut); }
.drawer__foot { color: var(--dmut); font-size: .85rem; display: grid; gap: 14px; }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Horizon art ---------- */
.horizon { position: absolute; inset: 0; overflow: hidden; z-index: 0; background: var(--d0); }
.horizon img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 100%; }
.horizon::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 7, 10, .55), rgba(7, 7, 10, 0) 60%); }

/* ---------- Hero ---------- */
.hero { position: relative; color: var(--dtext); background: var(--d0); padding-top: 140px; overflow: hidden; }
.hero .horizon { bottom: 0; }
.hero .horizon img { object-position: 100% 100%; }
.hero .horizon::before { content: ""; position: absolute; inset: auto 0 0; height: 46%; z-index: 1; background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 92%); }
.hero__top { position: relative; z-index: 2; display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: end; }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.5rem, 5.2vw, 4.8rem); line-height: 1.04; letter-spacing: -.04em; margin: 22px 0 28px; max-width: 16ch; text-wrap: balance; }
.hero h1 .kw { display: block; font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dmut); margin-bottom: 18px; line-height: 1; }
.hero h1 em { color: #FF8B6E; }
@media (max-width: 560px) { .hero h1 br { display: none; } }
.hero__ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.hero__aside { padding-bottom: 8px; max-width: 360px; justify-self: end; }
.hero__aside p { color: var(--dmut); font-size: .98rem; }
.hero__aside .proof { display: flex; gap: 22px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--dline); }
.hero__aside .proof b { display: block; color: var(--dtext); font-size: 1.35rem; font-weight: 500; letter-spacing: -.03em; }
.hero__aside .proof span { font-size: .78rem; color: var(--dmut); }
.hero__dash { position: relative; z-index: 2; margin-top: clamp(48px, 6vw, 80px); -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 98%); mask-image: linear-gradient(to bottom, #000 62%, transparent 98%); }

/* ---------- Dashboard mock (dark) ---------- */
.dash { display: grid; grid-template-columns: 200px 1fr; border-radius: 18px 18px 0 0; background: var(--d1); color: var(--dtext); box-shadow: 0 0 0 1px var(--dline), 0 -20px 80px -20px rgba(230, 58, 30, .25); overflow: hidden; font-size: .8rem; }
.dash__side { padding: 18px 12px; border-right: 1px solid var(--dline); background: #0C0C0F; }
.dash__brand { display: flex; align-items: center; gap: 8px; padding: 0 6px 18px; border-bottom: 1px solid var(--dline); margin-bottom: 14px; }
.dash__brand .logo__mark { width: 26px; height: 26px; border-radius: 7px; }
.dash__brand b { display: block; font-size: .8rem; font-weight: 600; letter-spacing: -.02em; }
.dash__brand small { display: block; color: var(--dmut); font-size: .66rem; }
.dash__nav li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--dmut); font-size: .78rem; }
.dash__nav li svg { width: 15px; height: 15px; }
.dash__nav li.on { background: rgba(230, 58, 30, .14); color: #FF8B6E; }
.dash__main { padding: 14px 18px 22px; min-width: 0; }
.dash__bar { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.dash__search { flex: 1; max-width: 300px; display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 9px; background: var(--d2); box-shadow: inset 0 0 0 1px var(--dline); color: var(--dmut); }
.dash__search svg { width: 14px; height: 14px; }
.dash__icons { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.dash__icons span { width: 32px; height: 32px; border-radius: 9px; background: var(--d2); box-shadow: inset 0 0 0 1px var(--dline); display: grid; place-items: center; color: var(--dmut); }
.dash__icons span svg { width: 14px; height: 14px; }
.dash__icons .av { border-radius: 50%; background: linear-gradient(135deg, #FF8B6E, var(--red)); color: #fff; font-weight: 600; font-size: .7rem; box-shadow: none; }
.kpis4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 10px; }
.kpi { padding: 12px 14px; border-radius: 12px; background: var(--d2); box-shadow: inset 0 0 0 1px var(--dline); }
.kpi__t { display: flex; justify-content: space-between; align-items: center; color: var(--dmut); font-size: .72rem; }
.kpi__t i { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; background: var(--d3); color: #FF8B6E; }
.kpi__t i svg { width: 12px; height: 12px; }
.kpi b { display: block; font-size: 1.32rem; font-weight: 500; letter-spacing: -.03em; margin: 6px 0 2px; }
.kpi small { font-size: .68rem; color: var(--dmut); }
.kpi small em { font-style: normal; color: #4ADE80; margin-right: 4px; }
.dash__row { display: grid; grid-template-columns: 1.7fr 1fr; gap: 10px; margin-bottom: 10px; }
.panel { padding: 14px; border-radius: 12px; background: var(--d2); box-shadow: inset 0 0 0 1px var(--dline); min-width: 0; }
.panel__h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: .78rem; }
.panel__h span { color: var(--dmut); font-size: .7rem; }
.bars { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 8px; height: 150px; }
.bars__y { display: flex; flex-direction: column; justify-content: space-between; font-size: .62rem; color: var(--dmut); padding-bottom: 16px; }
.bars__plot { position: relative; display: flex; align-items: flex-end; gap: 6px; padding-bottom: 16px; background-image: linear-gradient(var(--dline) 1px, transparent 1px); background-size: 100% 25%; }
.bars__plot .b { position: relative; flex: 1; height: var(--h); border-radius: 4px 4px 1px 1px; background: repeating-linear-gradient(to top, #2C2C33 0 6px, #24242A 6px 8px); transform-origin: bottom; transform: scaleY(0); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.bars__plot .b.hi { background: repeating-linear-gradient(to top, var(--red) 0 6px, #B92D14 6px 8px); }
.bars__plot .b span { position: absolute; bottom: -16px; left: 50%; translate: -50% 0; font-size: .58rem; color: var(--dmut); white-space: nowrap; }
.is-in .bars__plot .b, .bars.is-in .b { transform: none; }
.tip { position: absolute; top: -40px; left: 50%; translate: -50% 0; z-index: 2; padding: 5px 9px; border-radius: 7px; background: #fff; color: var(--ink); font-size: .66rem; white-space: nowrap; box-shadow: 0 8px 20px -6px rgba(0, 0, 0, .5); }
.tip b { display: block; font-size: .78rem; }
.gauge { position: relative; width: 100%; max-width: 210px; margin: 6px auto 0; }
.gauge svg { width: 100%; }
.gauge .g-bg { stroke: var(--d3); }
.gauge .g-fg { stroke: url(#gg); stroke-dasharray: 283; stroke-dashoffset: 283; transition: stroke-dashoffset 1.6s var(--ease) .3s; }
.is-in .gauge .g-fg { stroke-dashoffset: var(--off); }
.gauge__v { position: absolute; left: 0; right: 0; bottom: 4px; text-align: center; }
.gauge__v b { display: block; font-size: 1.7rem; font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.gauge__v span { font-size: .66rem; color: var(--dmut); }
.legend { display: flex; justify-content: space-between; gap: 6px; margin-top: 12px; font-size: .66rem; color: var(--dmut); }
.legend b { display: block; color: var(--dtext); font-size: .78rem; font-weight: 500; }
.legend i { display: inline-block; width: 6px; height: 6px; border-radius: 2px; margin-right: 5px; }
.tbl { width: 100%; border-collapse: collapse; font-size: .72rem; }
.tbl th { text-align: left; font-weight: 400; color: var(--dmut); padding: 0 0 8px; font-size: .66rem; }
.tbl td { padding: 7px 0; border-top: 1px solid var(--dline); }
.tbl td:not(:first-child), .tbl th:not(:first-child) { text-align: right; }
.tbl .up { color: #4ADE80; }
.ai-list li { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-top: 1px solid var(--dline); font-size: .72rem; }
.ai-list li:first-child { border-top: 0; }
.st { padding: 2px 8px; border-radius: 999px; font-size: .62rem; font-family: var(--mono); letter-spacing: .02em; }
.st-ok { background: rgba(74, 222, 128, .12); color: #4ADE80; }
.st-no { background: rgba(255, 255, 255, .08); color: var(--dmut); }
.st-warn { background: rgba(251, 191, 36, .14); color: #FBBF24; }
.st-bad { background: rgba(230, 58, 30, .16); color: #FF8B6E; }
.mock-note { position: relative; z-index: 2; text-align: right; font-size: .68rem; color: var(--muted); margin-top: -36px; padding-bottom: 12px; }

/* ---------- Light mini UI (inside feature cards) ---------- */
.mp { color: var(--ink); background: #fff; border-radius: 12px; box-shadow: 0 0 0 1px var(--line), 0 10px 30px -14px rgba(14, 14, 14, .18); font-size: .74rem; padding: 12px; }
.mp__h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-weight: 500; font-size: .76rem; }
.mp__h span { color: var(--muted); font-weight: 400; font-size: .68rem; }
.mp li { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); }
.mp li:first-child { border-top: 0; }
.mp li .grow { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp .num { font-family: var(--mono); font-size: .7rem; }
.pill { padding: 2px 8px; border-radius: 999px; font-family: var(--mono); font-size: .62rem; letter-spacing: .02em; white-space: nowrap; }
.p-ok { background: var(--greensoft); color: var(--green); }
.p-bad { background: var(--redsoft); color: var(--red2); }
.p-warn { background: var(--ambersoft); color: var(--amber); }
.p-grey { background: var(--card); color: var(--muted); }
.fav { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-size: .62rem; font-weight: 600; color: #fff; flex: none; }
.float { position: absolute; z-index: 2; color: var(--ink); background: #fff; border-radius: 10px; padding: 8px 12px; box-shadow: 0 0 0 1px var(--line), 0 14px 30px -12px rgba(14, 14, 14, .25); font-size: .7rem; }
.float b { display: block; font-size: 1rem; font-weight: 500; letter-spacing: -.02em; }

/* ---------- Feature bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.feat { position: relative; grid-column: span 2; display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); padding: 22px 22px 0; overflow: hidden; min-height: 400px; transition: box-shadow .3s, transform .4s var(--ease); }
.feat:hover { box-shadow: inset 0 0 0 1px var(--line2), var(--shadow-lg); transform: translateY(-3px); }
.feat--wide { grid-column: span 3; }
.feat__h { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.feat__h h3 { font-size: 1.12rem; font-weight: 500; letter-spacing: -.025em; margin-bottom: 4px; }
.feat__h p { font-size: .88rem; color: var(--muted); max-width: 32ch; line-height: 1.5; }
.feat__ic { width: 34px; height: 34px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px var(--line); display: grid; place-items: center; color: var(--red); flex: none; }
.feat__ic svg { width: 17px; height: 17px; }
.feat__ui { position: relative; flex: 1; margin-top: 22px; display: flex; align-items: flex-end; justify-content: center; }
.feat__ui > .mp { width: 100%; border-radius: 12px 12px 0 0; padding-bottom: 18px; }
.feat__more { position: absolute; right: 18px; bottom: 18px; z-index: 3; }

/* AI mini */
.ai-mini .q { margin-left: auto; max-width: 85%; padding: 8px 12px; border-radius: 12px 12px 3px 12px; background: var(--card); font-size: .74rem; }
.ai-mini .a { display: grid; grid-template-columns: 22px 1fr; gap: 8px; margin-top: 10px; font-size: .74rem; line-height: 1.5; color: var(--ink2); }
.ai-mini .a i { width: 22px; height: 22px; border-radius: 50%; background: conic-gradient(from 120deg, var(--red), #FFB89A, var(--red)); }
.cite { display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px 1px 3px; border-radius: 999px; background: var(--red); color: #fff; font-family: var(--mono); font-size: .62rem; vertical-align: 1px; }
.cite::before { content: "1"; width: 13px; height: 13px; border-radius: 50%; background: #fff; color: var(--red); display: grid; place-items: center; font-size: .55rem; }

/* Board mini */
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.board__col { background: var(--bg2); border-radius: 10px; padding: 8px; }
.board__col > p { display: flex; justify-content: space-between; font-size: .68rem; color: var(--muted); margin-bottom: 6px; }
.tcard { background: #fff; border-radius: 8px; padding: 8px; box-shadow: 0 0 0 1px var(--line); margin-top: 6px; font-size: .7rem; line-height: 1.35; }
.tcard small { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; color: var(--muted); font-size: .62rem; }
.avs { display: flex; }
.avs i { width: 16px; height: 16px; border-radius: 50%; box-shadow: 0 0 0 2px #fff; margin-left: -4px; }

/* Chart mini (light) */
.lbars { display: flex; align-items: flex-end; gap: 6px; height: 110px; padding-top: 10px; }
.lbars i { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: repeating-linear-gradient(to top, #E7E7E5 0 5px, #F1F1EF 5px 7px); transform-origin: bottom; transform: scaleY(0); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 40ms); }
.lbars i.hi { background: repeating-linear-gradient(to top, var(--red) 0 5px, #F05A3E 5px 7px); }
.is-in .lbars i { transform: none; }

/* ---------- Split sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--rev .split__art { order: 2; }
.art-card { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 520px; display: grid; place-items: center; padding: clamp(20px, 3vw, 40px); background: var(--d0); box-shadow: var(--shadow-lg); }
.art-card .horizon img { object-position: 78% 100%; }
.art-card > :not(.horizon) { position: relative; z-index: 1; width: 100%; }
.split__copy .h2 { margin: 14px 0 16px; }
.flist { margin-top: 30px; position: relative; padding-left: 20px; }
.flist::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 1px; background: var(--line2); }
.fitem { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 14px; width: 100%; text-align: left; padding: 16px 18px; border-radius: var(--r); margin-bottom: 10px; box-shadow: inset 0 0 0 1px var(--line); background: #fff; transition: box-shadow .3s, background-color .3s; }
.fitem::before { content: ""; position: absolute; left: -24px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line2); transition: background-color .3s, box-shadow .3s; }
.fitem.on { box-shadow: inset 0 0 0 1px var(--line2), var(--shadow); }
.fitem.on::before { background: var(--red); box-shadow: 0 0 0 4px var(--redsoft); }
.fitem .fi { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--bg2); color: var(--ink2); }
.fitem.on .fi { background: var(--redsoft); color: var(--red); }
.fitem .fi svg { width: 18px; height: 18px; }
.fitem b { display: block; font-weight: 500; font-size: .98rem; letter-spacing: -.02em; }
.fitem span { display: block; color: var(--muted); font-size: .86rem; line-height: 1.5; margin-top: 2px; }

/* SERP machine */
.serp { position: relative; background: #111113; color: var(--dtext); border-radius: 20px; padding: 16px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 80px -30px rgba(0, 0, 0, .8); max-width: 480px; margin: 0 auto; }
.serp__top { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 12px; }
.serp__top .mono { color: var(--dmut); font-size: .62rem; }
.live { display: inline-flex; align-items: center; gap: 7px; }
.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(230, 58, 30, .6); } 70% { box-shadow: 0 0 0 8px rgba(230, 58, 30, 0); } 100% { box-shadow: 0 0 0 0 rgba(230, 58, 30, 0); } }
.serp__q { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 18px; border-radius: 999px; background: #1B1B1F; box-shadow: inset 0 0 0 1px var(--dline); font-size: .98rem; }
.serp__q svg { width: 17px; height: 17px; opacity: .6; flex: none; }
.caret { display: inline-block; width: 2px; height: 1.1em; background: var(--red); margin-left: 2px; vertical-align: -3px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.serp__meta { display: flex; justify-content: space-between; padding: 12px 6px 6px; }
.serp__meta .mono { font-size: .6rem; color: var(--dmut); }
.serp__list { position: relative; height: calc(6 * 62px); }
.serp__item { position: absolute; left: 0; right: 0; height: 56px; display: grid; grid-template-columns: 40px 1fr; align-items: center; gap: 4px; padding: 0 14px 0 6px; border-radius: 12px; transition: top .85s var(--ease); }
.serp__rank { font-family: var(--mono); font-size: .7rem; color: var(--dmut); text-align: center; }
.serp__bars { display: grid; gap: 6px; }
.serp__bars i { display: block; height: 6px; border-radius: 4px; background: #26262B; }
.serp__bars i:first-child { width: 34%; height: 5px; }
.serp__bars i:nth-child(2) { height: 9px; background: #34343A; }
.serp__item.is-me { background: var(--red); color: #fff; box-shadow: 0 16px 36px -14px rgba(230, 58, 30, .8); z-index: 2; }
.serp__item.is-me .serp__rank { color: #fff; }
.serp__me small { display: block; font-family: var(--mono); font-size: .6rem; opacity: .8; }
.serp__me b { display: block; font-weight: 600; font-size: .95rem; letter-spacing: -.02em; line-height: 1.2; }
.serp__pos { position: absolute; right: -18px; bottom: -26px; width: 116px; height: 116px; border-radius: 50%; background: #F2F2F0; color: var(--ink); display: grid; place-items: center; text-align: center; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .7); }
.serp__pos b { display: block; font-size: 2.6rem; font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.serp__pos b sup { font-size: .45em; vertical-align: .8em; color: var(--red); }
.serp__pos .mono { font-size: .55rem; color: var(--muted); }
.serp__note { margin-top: 10px; font-size: .58rem; color: var(--dmut); padding-left: 6px; }

/* Report mock (dark) */
.report { background: rgba(15, 15, 18, .92); border-radius: 16px; padding: 16px; box-shadow: 0 0 0 1px var(--dline), 0 40px 80px -30px rgba(0, 0, 0, .8); color: var(--dtext); font-size: .76rem; max-width: 500px; margin: 0 auto; }
.report__h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.report__h b { font-weight: 500; font-size: .9rem; }
.report__k { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.report__k > div { padding: 10px; border-radius: 10px; background: var(--d2); box-shadow: inset 0 0 0 1px var(--dline); }
.report__k span { color: var(--dmut); font-size: .66rem; }
.report__k b { display: block; font-size: 1.1rem; font-weight: 500; letter-spacing: -.03em; margin-top: 2px; }
.report__k em { font-style: normal; color: #4ADE80; font-size: .64rem; }
.line-chart { width: 100%; height: 130px; }
.line-chart .l1 { stroke: var(--red); stroke-width: 2; fill: none; stroke-dasharray: 900; stroke-dashoffset: 900; transition: stroke-dashoffset 2s var(--ease); }
.line-chart .l2 { stroke: rgba(255, 255, 255, .28); stroke-width: 1.5; fill: none; stroke-dasharray: 4 4; }
.is-in .line-chart .l1 { stroke-dashoffset: 0; }
.donut-row { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; }
.donut { position: relative; }
.donut svg { transform: rotate(-90deg); }
.donut b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.05rem; font-weight: 500; }

/* ---------- Quote card ---------- */
.quote { margin-top: 30px; padding: 22px; border-radius: var(--r); background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); }
.quote p { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; line-height: 1.35; letter-spacing: -.02em; }
.quote footer { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-size: .85rem; }
.quote footer b { display: block; font-weight: 500; }
.quote footer span { color: var(--muted); font-size: .8rem; }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 6px; }
.stats::-webkit-scrollbar { display: none; }
.stat { scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; min-height: 240px; padding: 24px; border-radius: var(--r-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.stat b { display: block; font-size: clamp(2.2rem, 3.4vw, 3rem); font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.stat b sup { font-size: .5em; color: var(--red); vertical-align: .7em; }
.stat h3 { font-size: 1.02rem; font-weight: 500; margin-top: 10px; letter-spacing: -.02em; }
.stat p { color: var(--muted); font-size: .88rem; line-height: 1.5; margin-top: 36px; }
.stats-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 28px; }
.stats-foot p { color: var(--muted); font-size: .88rem; max-width: 380px; }
.stats-nav { display: flex; gap: 8px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.step { border-radius: var(--r-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .3s; }
.step:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line2), var(--shadow-lg); }
.step__head { position: relative; padding: 16px; min-height: 120px; color: var(--dtext); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.step__head .horizon img { object-position: var(--pos, 70%) 100%; }
.step__head > :not(.horizon) { position: relative; z-index: 1; }
.step__top { display: flex; justify-content: space-between; align-items: center; }
.step__top i { width: 30px; height: 30px; border-radius: 8px; background: var(--red); display: grid; place-items: center; color: #fff; }
.step__top i svg { width: 15px; height: 15px; }
.step__top span { font-family: var(--mono); font-size: .66rem; color: var(--dmut); }
.step__head h3 { font-size: 1.15rem; font-weight: 500; }
.step__body { padding: 16px; flex: 1; }
.step__body p { font-size: .86rem; color: var(--muted); line-height: 1.5; margin-bottom: 14px; }
.ticks li { display: flex; gap: 8px; align-items: center; font-size: .82rem; padding: 4px 0; }
.ticks li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; flex: none; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.4'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5'/%3E%3C/svg%3E") center / 10px no-repeat; }
.step.is-feature { box-shadow: 0 0 0 2px var(--ink), var(--shadow-lg); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border-radius: var(--r); background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .3s; }
.faq details[open] { background: #fff; box-shadow: inset 0 0 0 1px var(--line2), var(--shadow); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 22px; font-weight: 500; font-size: 1.02rem; letter-spacing: -.02em; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--line2); flex: none; transition: background-color .3s, transform .4s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 9px; right: 9px; top: 13.25px; height: 1.5px; background: currentColor; }
.faq summary i::after { transform: rotate(90deg); transition: transform .3s var(--ease); }
.faq details[open] summary i { background: var(--red); color: #fff; box-shadow: none; }
.faq details[open] summary i::after { transform: none; }
.faq__a { padding: 0 22px 22px; color: var(--muted); max-width: 70ch; font-size: .95rem; }

/* ---------- CTA card ---------- */
.cta-card { position: relative; border-radius: 24px; overflow: hidden; padding: clamp(40px, 6vw, 84px) clamp(24px, 5vw, 72px); color: var(--dtext); background: var(--d0); }
.cta-card > :not(.horizon) { position: relative; z-index: 1; }
.cta-card .horizon img { object-position: 85% 100%; }
.cta-card h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.06; letter-spacing: -.04em; max-width: 16ch; margin: 16px 0 18px; }
.cta-card p { color: var(--dmut); max-width: 460px; margin-bottom: 28px; }
.cta-card .eyebrow { color: var(--dmut); }

/* ---------- Footer ---------- */
.footer { position: relative; color: var(--dtext); background: var(--d0); overflow: hidden; margin-top: var(--sec); }
.footer .horizon { opacity: .55; }
.footer .horizon img { object-position: 30% 100%; transform: scaleX(-1); }
.footer .horizon::after { background: linear-gradient(to bottom, var(--d0) 10%, rgba(7, 7, 10, .3)); }
.footer > .wrap { position: relative; z-index: 1; }
.footer__top { display: grid; grid-template-columns: 1.4fr .8fr .9fr 1.4fr; gap: 40px; padding: 72px 0 56px; }
.footer .logo { color: var(--dtext); }
.footer__about p { color: var(--dmut); font-size: .9rem; margin-top: 16px; max-width: 34ch; }
.footer h2 { font-size: .9rem; font-weight: 500; margin-bottom: 14px; letter-spacing: -.01em; }
.footer li + li { margin-top: 8px; }
.footer__col a { color: var(--dmut); font-size: .9rem; transition: color .2s; }
.footer__col a:hover { color: #fff; }
.offices { display: grid; gap: 18px; margin-top: 26px; }
.offices div { font-size: .85rem; color: var(--dmut); }
.offices b { color: var(--dtext); font-weight: 500; display: block; }
.offices a:hover { color: #fff; }
.clock { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: .72rem; margin-top: 4px; color: var(--dmut); }
.clock::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.sub p { color: var(--dmut); font-size: .88rem; margin-bottom: 14px; }
.sub form { display: grid; gap: 10px; }
.sub input { height: 46px; padding: 0 14px; border-radius: 10px; border: 0; background: #fff; color: var(--ink); font-size: 16px; }
.sub .form-msg { color: var(--dmut); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 28px; border-top: 1px solid var(--dline); color: var(--dmut); font-size: .82rem; }

/* ---------- Page hero (inner) ---------- */
.phero { position: relative; background: var(--d0); color: var(--dtext); padding: 150px 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.phero > .wrap { position: relative; z-index: 1; }
.phero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .8rem; color: var(--dmut); margin-bottom: 26px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a:hover { color: #fff; }
.phero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.4rem, 4.6vw, 4.2rem); line-height: 1.05; letter-spacing: -.04em; max-width: 14ch; margin: 18px 0 20px; }
.phero h1 em { color: #FF8B6E; }
.phero .lead { color: var(--dmut); max-width: 520px; }
.phero__ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.phero__ui { position: relative; width: 100%; max-width: 440px; justify-self: end; }
.phero__ui .mp { width: 100%; }
.phero .eyebrow { color: var(--dmut); }

/* Service bento (overview) */
.sgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.sgrid .feat { grid-column: auto; min-height: 460px; }

/* Principles */
.prin { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.prin > div { padding: 24px; border-radius: var(--r-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.prin i { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--redsoft); color: var(--red); margin-bottom: 40px; }
.prin i svg { width: 18px; height: 18px; }
.prin h3 { font-size: 1.05rem; font-weight: 500; margin-bottom: 8px; }
.prin p { font-size: .88rem; color: var(--muted); line-height: 1.55; }

/* Deliverables */
.dgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dcard { padding: 24px; border-radius: var(--r-lg); background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .3s, box-shadow .3s; }
.dcard:hover { background: #fff; box-shadow: inset 0 0 0 1px var(--line2), var(--shadow); }
.dcard .num { font-family: var(--mono); font-size: .7rem; color: var(--red); }
.dcard h3 { font-size: 1.08rem; font-weight: 500; margin: 34px 0 8px; }
.dcard p { font-size: .9rem; color: var(--muted); line-height: 1.55; }
.kchips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.kchips li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: .92rem; }
.kchips li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.rel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rel a { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 24px; border-radius: var(--r-lg); background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .3s, color .3s; }
.rel a:hover { background: var(--ink); color: #fff; }
.rel a:hover .muted { color: var(--dmut); }
.rel h3 { font-size: 1.3rem; font-weight: 500; display: flex; justify-content: space-between; align-items: center; }
.rel h3 svg { width: 20px; height: 20px; }

/* Tools */
.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tool { padding: 24px; border-radius: var(--r-lg); background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); min-height: 240px; display: flex; flex-direction: column; justify-content: space-between; }
.tool__top { display: flex; justify-content: space-between; align-items: center; }
.tool h3 { font-size: 1.15rem; font-weight: 500; margin-bottom: 6px; }
.tool p { font-size: .9rem; color: var(--muted); }
.notify { display: flex; gap: 10px; max-width: 520px; margin-top: 30px; flex-wrap: wrap; }
.notify input { flex: 1 1 240px; height: 46px; padding: 0 16px; border-radius: 10px; border: 0; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); color: #fff; font-size: 16px; }
.notify input::placeholder { color: var(--dmut); }

/* Blog */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.chip { height: 38px; padding: 0 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line2); font-size: .86rem; transition: background-color .2s, color .2s; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.featured { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 48px; }
.featured__art { position: relative; min-height: 360px; background: var(--d0); }
.featured__body { padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.featured__body h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 2.4vw, 2.3rem); line-height: 1.12; letter-spacing: -.035em; }
.meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: .8rem; color: var(--muted); }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 16px; }
.post a { display: grid; gap: 12px; }
.thumb { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; background: var(--d0); }
.thumb .horizon img { transition: transform .8s var(--ease); }
.post a:hover .thumb .horizon img { transform: scale(1.05); }
.thumb__ui { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 1; }
.thumb__tag { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); color: #fff; font-size: .7rem; }
.post h3 { font-size: 1.1rem; font-weight: 500; line-height: 1.3; }
.post a:hover h3 { color: var(--red); }
.post[hidden] { display: none; }

/* Article */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 300; background: var(--red); transform-origin: left; transform: scaleX(var(--p, 0)); }
.article { display: grid; grid-template-columns: 240px 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; max-width: 1040px; margin: 0 auto; }
.toc { position: sticky; top: 100px; font-size: .86rem; }
.toc ol { margin-top: 12px; border-left: 1px solid var(--line2); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 1px solid transparent; color: var(--muted); transition: color .2s, border-color .2s; }
.toc a.is-active, .toc a:hover { color: var(--ink); border-color: var(--red); }
.body { font-size: 1.08rem; line-height: 1.75; color: var(--ink2); max-width: 680px; }
.body > * + * { margin-top: 1.1em; }
.body h2 { color: var(--ink); font-size: 1.6rem; margin-top: 2em; line-height: 1.2; }
.body strong { color: var(--ink); font-weight: 600; }
.body ul li { position: relative; padding-left: 1.3em; }
.body ul li + li { margin-top: .4em; }
.body ul li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.body blockquote { margin-block: 1.6em; padding: 20px 24px; border-radius: var(--r); background: var(--bg2); font-family: var(--serif); font-weight: 500; font-size: 1.4rem; line-height: 1.3; letter-spacing: -.025em; color: var(--ink); }
.callout { padding: 20px 22px; border-radius: var(--r); background: var(--ink); color: var(--dtext); font-size: .98rem; }
.callout .mono { display: block; color: #FF8B6E; margin-bottom: 6px; }
.author { display: flex; gap: 14px; align-items: center; padding: 20px; border-radius: var(--r); background: var(--bg2); margin-top: 2.6em; font-size: .92rem; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.ocard { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 24px; background: var(--d0); color: var(--dtext); margin-bottom: 14px; min-height: 190px; display: flex; flex-direction: column; justify-content: flex-end; }
.ocard > :not(.horizon) { position: relative; z-index: 1; }
.ocard h2 { font-family: var(--serif); font-weight: 500; font-size: 1.9rem; letter-spacing: -.035em; line-height: 1.1; }
.ocard address { font-style: normal; color: var(--dmut); font-size: .9rem; margin: 4px 0 10px; }
.ocard a { font-weight: 500; }
.ocard .mono { color: var(--dmut); }
.fcard { padding: clamp(22px, 3vw, 36px); border-radius: var(--r-lg); background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: .84rem; font-weight: 500; }
.field input, .field textarea { width: 100%; height: 48px; padding: 0 14px; border-radius: 10px; border: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--line2); font-size: 16px; transition: box-shadow .2s; }
.field textarea { height: auto; min-height: 130px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
.field.is-err input, .field.is-err textarea { box-shadow: inset 0 0 0 2px var(--red); }
.err { font-size: .78rem; color: var(--red2); min-height: 1em; }
.pick { margin: 6px 0 18px; }
.pick legend { font-size: .84rem; font-weight: 500; margin-bottom: 8px; }
.pick div { display: flex; flex-wrap: wrap; gap: 8px; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick label { height: 38px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line2); font-size: .86rem; cursor: pointer; transition: background-color .2s, color .2s; }
.pick input:checked + label { background: var(--ink); color: #fff; box-shadow: none; }
.pick input:focus-visible + label { outline: 2px solid var(--red); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0 20px; font-size: .84rem; color: var(--muted); }
.consent input { width: 18px; height: 18px; accent-color: var(--red); margin-top: 3px; flex: none; }
.hp { position: absolute; left: -9999px; }
.form-msg { margin-top: 14px; font-size: .9rem; min-height: 1.4em; }
.form-msg.ok { color: var(--green); }

/* 404 */
.nf { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; color: var(--dtext); background: var(--d0); padding: 120px var(--gutter) 80px; overflow: hidden; }
.nf > :not(.horizon) { position: relative; z-index: 1; }
.nf__num { font-family: var(--serif); font-weight: 600; font-size: clamp(7rem, 22vw, 16rem); line-height: .9; letter-spacing: -.06em; }
.nf__num span { color: var(--red); }
.nf .serp__q { max-width: 460px; margin: 26px auto 18px; text-align: left; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__pill { display: none; }
  .nav__in { grid-template-columns: 1fr auto; }
  .nav__right .btn { display: none; }
  .burger { display: block; }
  .hero__top, .phero__grid { grid-template-columns: 1fr; }
  .hero__aside { justify-self: start; }
  .dash { grid-template-columns: 1fr; }
  .dash__side { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .feat, .feat--wide { grid-column: span 1; }
  .feat--wide:last-child { grid-column: 1 / -1; }
  .split, .contact { grid-template-columns: 1fr; }
  .split--rev .split__art { order: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .prin { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .article { grid-template-columns: 1fr; }
  .toc { display: none; }
  .phero__ui { justify-self: start; }
  .stats { grid-auto-columns: calc((100% - 16px) / 2); }
}
@media (max-width: 720px) {
  .kpis4 { grid-template-columns: repeat(2, 1fr); }
  .dash__row { grid-template-columns: 1fr; }
  .dash__row:last-child { display: none; }
  .bento, .sgrid, .dgrid, .rel, .tools, .posts, .prin { grid-template-columns: 1fr; }
  .feat--wide:last-child { grid-column: auto; }
  .steps { grid-template-columns: 1fr; }
  .featured { grid-template-columns: 1fr; }
  .featured__art { min-height: 220px; }
  .frow { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .stats { grid-auto-columns: 82%; }
  .stats-foot { flex-direction: column; align-items: flex-start; }
  .art-card { min-height: 0; padding: 16px 16px 40px; }
  .serp__pos { width: 90px; height: 90px; right: -6px; }
  .serp__pos b { font-size: 2rem; }
  .serp__list { height: calc(6 * 56px); }
  .serp__item { height: 50px; }
  .mock-note { text-align: left; margin-top: -20px; }
  .board { grid-template-columns: 1fr 1fr; }
  .board__col:last-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* =========================================================
   WordPress / Elementor / Rank Math uyumu
   ========================================================= */
body.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { body.admin-bar .nav { top: 46px; } }
.sa-main { display: block; }

/* Menüler */
.nav__pill .menu { display: flex; align-items: center; gap: 2px; }
.nav__pill .current-menu-item > a, .nav__pill .current_page_item > a { background: rgba(255, 255, 255, .12); color: #fff; }
.drawer .menu li { border-bottom: 1px solid var(--dline); }
.footer__col .menu li + li { margin-top: 8px; }
.logo__img { height: 32px; width: auto; }

/* Elementor uyumu */
.elementor .horizon img, .horizon img { height: 100% !important; max-width: none; }
.elementor-widget-container > section, .elementor-widget > section { margin: 0; }
.elementor-editor-active [data-reveal] { opacity: 1 !important; transform: none !important; }
.elementor-editor-active .bars__plot .b, .elementor-editor-active .lbars i { transform: none; }
.elementor-editor-active .gauge .g-fg { stroke-dashoffset: var(--off); }
.elementor-editor-active .line-chart .l1 { stroke-dashoffset: 0; }
.elementor-editor-active .nav { position: absolute; }
.sa-elementor .elementor-section.elementor-section-full_width > .elementor-container { max-width: none; }

/* Bölüm boşlukları */
.sec--notop { padding-top: 0; }
.sec--tight { padding-block: clamp(48px, 6vw, 80px); }
.sa-cta-wrap { padding-bottom: 0; }

/* Kart içi yardımcılar */
.mp__split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 16px; align-items: end; }
.feat__big { font-size: 1.5rem !important; margin-top: 8px; }
.chip { display: inline-flex; align-items: center; }
.filters .chip[aria-current="page"] { background: var(--ink); color: #fff; box-shadow: none; }

/* Sayfa hero varyasyonları */
.phero--compact { padding-bottom: clamp(48px, 6vw, 72px); }
.phero__meta { margin-top: 22px; color: var(--dmut); font-size: .85rem; }
.phero__title--post { font-size: clamp(2.2rem, 4.2vw, 3.8rem) !important; max-width: 20ch !important; }
.meta--dark { margin-top: 22px; color: var(--dmut); }
.phero .eyebrow:hover { color: #fff; }

/* Rank Math breadcrumb */
.rm-crumbs { font-size: .8rem; color: var(--dmut); margin-bottom: 26px; }
.rm-crumbs p { margin: 0; }
.rm-crumbs a:hover { color: #fff; }
.rm-crumbs .separator { opacity: .5; margin: 0 6px; }

/* Blog */
.post-cover { margin-top: clamp(-40px, -3vw, -24px); position: relative; z-index: 2; }
.post-cover img { width: 100%; height: auto; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2em; }
.thumb__img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.featured__art .thumb__img { position: absolute; }
.body img { border-radius: var(--r); height: auto; }
.body figure { margin-block: 1.6em; }
.body figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.body table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.body th, .body td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.body ol { padding-left: 1.3em; list-style: decimal; }
.body h3 { color: var(--ink); font-size: 1.25rem; margin-top: 1.6em; }
.body a { color: var(--red2); text-decoration: underline; text-underline-offset: .18em; }
.body--page { margin: 0 auto; }
.empty { text-align: center; padding: 60px 0; }
.sa-pagination { margin-top: 48px; }
.sa-pagination .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.sa-pagination .page-numbers { min-width: 42px; height: 42px; display: inline-grid; place-items: center; padding: 0 12px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line2); font-size: .9rem; }
.sa-pagination .page-numbers.current { background: var(--ink); color: #fff; box-shadow: none; }
.sa-pagination .page-numbers:hover:not(.current) { box-shadow: inset 0 0 0 1px var(--ink); }

/* 404 */
.nf__title { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.nf__search input { flex: 1; background: transparent; border: 0; outline: none; color: var(--dtext); font-size: 16px; }
.nf__text { color: var(--dmut); margin-bottom: 26px; }
.nf .hero__ctas { justify-content: center; }
