/* UltimateFIXDP site — calm design (2026-11-19) */
:root {
  --bg: #0B0B0C;
  --panel: #111113;
  --panel-2: #151517;
  --line: #1E1E21;
  --line-2: #2A2A2E;
  --text: #EDEDEE;
  --white: #FFFFFF;
  --muted: #A1A1A8;
  --faint: #8A8A92;
  --accent: #C4192B;
  --accent-hi: #D92A3C;
  --radius: 16px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-head: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--text); }
a:hover { color: var(--white); }
code { font-family: var(--mono); font-size: 0.88em; padding: 1px 6px; border-radius: 6px; background: var(--panel-2); border: 1px solid var(--line); color: var(--text); word-break: break-word; }
h1, h2, h3 { margin: 0; color: var(--white); }
p { margin: 0; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* top bar */
.top { position: sticky; top: 0; z-index: 50; background: rgba(11, 11, 12, 0.82); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.brand span { font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--white); }
.nav { display: flex; gap: 28px; font-size: 14.5px; }
.nav a { color: var(--muted); text-decoration: none; transition: color .15s; }
.nav a:hover, .nav a.active { color: var(--white); }
.top-right { display: flex; align-items: center; gap: 8px; }
.lang { display: flex; padding: 3px; border-radius: 9px; background: var(--panel-2); border: 1px solid var(--line); }
.lang-btn { height: 32px; min-width: 44px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); font: 500 13px var(--font); cursor: pointer; }
.lang-btn.active { background: #26262A; color: var(--white); font-weight: 600; }
.btn-white { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 9px; background: var(--white); color: var(--bg); text-decoration: none; font-size: 14px; font-weight: 600; }
.btn-white:hover { color: var(--bg); background: #E4E4E7; }
@media (max-width: 960px) { .nav { display: none; } }
@media (max-width: 420px) { .btn-white { display: none; } }

/* hero */
.hero { padding-top: 104px; padding-bottom: 64px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.pill { display: inline-flex; align-items: center; gap: 10px; min-height: 34px; padding: 4px 14px; border-radius: 999px; border: 1px solid #26262A; background: #121214; color: #C8C8CE; text-decoration: none; font-size: 13.5px; }
.pill:hover { color: var(--white); border-color: var(--line-2); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-hi); flex: none; }
.pill-arrow { color: #6E6E76; }
.hero h1 { max-width: 960px; font-family: var(--font-head); font-weight: 600; font-size: clamp(40px, 6.4vw, 76px); line-height: 1.03; letter-spacing: -0.035em; }
.lead { max-width: 640px; font-size: 19px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.btn-accent, .btn-line { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 12px; text-decoration: none; font-size: 16px; font-weight: 600; transition: background .15s, border-color .15s; }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-hi); color: var(--white); }
.btn-line { border: 1px solid var(--line-2); color: var(--text); font-weight: 500; }
.btn-line:hover { border-color: #3A3A40; background: var(--panel); }
.meta { font-size: 13.5px; color: var(--faint); }
@media (max-width: 560px) {
  .hero { padding-top: 56px; padding-bottom: 32px; gap: 18px; }
  .lead { font-size: 16.5px; }
  .actions { width: 100%; flex-direction: column; }
  .btn-accent, .btn-line { width: 100%; }
}

.hero-shot { margin: 0; padding: 10px; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); }
.hero-shot img { display: block; width: 100%; height: auto; border-radius: 10px; cursor: zoom-in; }
@media (max-width: 560px) { .hero-shot { padding: 6px; border-radius: 14px; } }

/* numbers */
.stats2 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 72px; }
.stats2 { padding-top: 36px; border-top: 1px solid var(--line); background-clip: content-box; }
.stat2-num { font-family: var(--font-head); font-weight: 600; font-size: 40px; letter-spacing: -0.03em; color: var(--white); line-height: 1.2; }
.stat2-label { font-size: 14.5px; color: var(--faint); }
@media (max-width: 760px) { .stats2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 18px; margin-top: 40px; } .stat2-num { font-size: 30px; } }

/* sections */
.block { padding-top: 120px; }
.head { max-width: 680px; margin-bottom: 44px; }
.head h2, .split-side h2, .cta h2 { font-family: var(--font-head); font-weight: 600; font-size: clamp(30px, 4vw, 46px); line-height: 1.08; letter-spacing: -0.03em; }
.head p, .split-side > p { margin-top: 14px; font-size: 17px; color: var(--muted); }
@media (max-width: 560px) { .block { padding-top: 72px; } .head { margin-bottom: 26px; } }

.cards { display: grid; gap: 16px; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cards-3 { grid-template-columns: 1fr; } }
.card, .feature, .credit { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); transition: border-color .2s; }
.feature:hover, a.credit:hover { border-color: var(--line-2); }
.feature h3, .card h3, .credit h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.feature p, .card p, .credit p { font-size: 15px; color: var(--muted); }
.feature-icon { width: 24px; height: 24px; color: var(--accent-hi); }
.feature-icon svg { width: 24px; height: 24px; }
.engine h3 { color: var(--white); }
.engine { background: transparent; }
@media (max-width: 560px) { .card, .feature, .credit { padding: 22px; } }

/* what's new */
.news2-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; border-top: 1px solid var(--line); }
.news2 { padding: 22px 0; border-bottom: 1px solid var(--line); }
.news2 h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.news2 p { font-size: 15px; color: var(--muted); }
@media (max-width: 760px) { .news2-list { grid-template-columns: 1fr; } }
.note { margin-top: 24px; font-size: 13.5px; color: var(--faint); max-width: 860px; }
.note strong { color: var(--muted); }
.link { display: inline-block; margin-top: 14px; color: var(--white); font-size: 15px; font-weight: 500; text-underline-offset: 3px; }

/* split layouts */
.split { display: flex; flex-wrap: wrap; gap: 48px; }
.split-center { align-items: center; }
.split-side { flex: 1 1 320px; min-width: 0; }
.split > :not(.split-side) { flex: 2 1 600px; min-width: 0; }
.split-center > .split-side { flex: 1 1 440px; }
.split-center > .tree-box { flex: 1 1 440px; }

/* before / after */
.cmp { border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.cmp-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); font-size: 15px; }
.cmp-row > span { padding: 16px 22px; }
.cmp-head { border-top: 0; background: var(--panel); font-size: 13px; font-weight: 600; }
.cmp-old { color: var(--faint); }
.cmp-head .cmp-new { color: var(--white); }
@media (max-width: 620px) { .cmp-row { grid-template-columns: 1fr; } .cmp-row > span { padding: 4px 18px; } .cmp-row > span:first-child { padding-top: 14px; } .cmp-row > span:last-child { padding-bottom: 14px; } .cmp-head { display: none; } .cmp-row:nth-child(2) { border-top: 0; } }

/* mods */
.mods-points { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.mods-points h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.mods-points p { font-size: 15px; color: var(--muted); }
.tree-box { padding: 28px 30px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); overflow-x: auto; }
.tree { margin: 0; font-family: var(--mono); font-size: 14px; line-height: 1.9; color: var(--muted); white-space: pre; }
.t-dim { color: var(--faint); }
.t-red { color: var(--white); }
@media (max-width: 560px) { .tree-box { padding: 18px; } .tree { font-size: 12px; } }

/* screenshots */
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.shot { margin: 0; padding: 8px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.shot img { display: block; width: 100%; height: auto; border-radius: 10px; cursor: zoom-in; }
.shot figcaption { padding: 10px 6px 4px; font-size: 14px; color: var(--muted); }
@media (max-width: 620px) { .shots { grid-template-columns: 1fr; } }

/* install */
.steps { list-style: none; margin: 0; padding: 0; }
.num { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #1C1C1F; font-size: 14px; font-weight: 600; color: var(--white); }
.step { background: transparent; }

/* keys */
.keys { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; border-top: 1px solid var(--line); }
.key-row { display: flex; align-items: center; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.key-row .keys { display: inline-flex; border: 0; gap: 4px; min-width: 130px; grid-template-columns: none; }
kbd { display: inline-block; min-width: 30px; padding: 4px 9px; border-radius: 7px; text-align: center; font-family: var(--mono); font-size: 12.5px; color: var(--white); background: var(--panel-2); border: 1px solid var(--line-2); border-bottom-width: 2px; }
.plus { color: var(--faint); font-size: 12px; align-self: center; }
.key-what { font-size: 15px; color: var(--muted); }
@media (max-width: 680px) { .keys { grid-template-columns: 1fr; } }

/* faq */
.faq { border-top: 1px solid var(--line); padding: 0; }
.faq:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative; font-size: 17px; font-weight: 600; color: var(--white); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); color: var(--faint); font-size: 22px; font-weight: 400; transition: transform .2s var(--ease); }
.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { padding: 0 0 22px; font-size: 15px; color: var(--muted); max-width: 720px; }

/* credits */
a.credit { text-decoration: none; color: inherit; }
.credit h3 { font-family: var(--font-head); }
.credit-by { font-size: 13.5px; color: var(--faint) !important; }

/* closing */
.cta { padding: 64px 32px; border-radius: 24px; border: 1px solid var(--line); background: var(--panel); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cta p { font-size: 17px; color: var(--muted); }
.cta .actions { margin-top: 10px; }
@media (max-width: 560px) { .cta { padding: 40px 20px; } }

/* footer */
.foot { margin-top: 120px; border-top: 1px solid var(--line); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding-top: 36px; padding-bottom: 48px; }
.foot-text { max-width: 620px; display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; color: #C8C8CE; }
.foot-text a { color: var(--white); }
.foot-text .small { font-size: 13px; color: var(--faint); }
.foot-links { display: flex; flex-wrap: wrap; gap: 22px; font-size: 14px; }
.foot-links a { color: var(--muted); }
.hl-ua { color: var(--white); }

/* lightbox, scroll to top */
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; background: rgba(5, 5, 6, 0.94); cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 10px; }
.lightbox-close { position: absolute; top: 16px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--panel); color: var(--white); font-size: 22px; cursor: pointer; }
.scroll-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--panel); color: var(--text); display: grid; place-items: center; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .2s; }
.scroll-top.visible { opacity: 1; pointer-events: auto; }

/* gentle entrance */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.shown { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } }

/* live F10 menu */
.fx { max-width: 880px; margin: 0 auto; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); overflow: hidden; box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5); }
.fx-bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.fx-name { font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--white); }
.fx-close { font-size: 12px; color: var(--faint); }
.fx-body { display: flex; min-height: 420px; }
.fx-tabs { flex: 0 0 220px; padding: 10px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.fx-tab { display: block; width: 100%; min-height: 44px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font: 500 14px var(--font); text-align: left; cursor: pointer; }
.fx-tab:hover { color: var(--white); }
.fx-tab.active { background: #1F1F23; color: var(--white); font-weight: 600; }
.fx-panel { flex: 1 1 0; min-width: 0; padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.fx-panel[hidden] { display: none; }
.fx-title { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
.fx-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent; color: var(--text); font: 400 15px var(--font); text-align: left; cursor: pointer; }
.fx-item:hover { background: var(--panel-2); }
.fx-switch { flex: none; position: relative; width: 40px; height: 24px; border-radius: 999px; background: var(--line-2); transition: background .15s; }
.fx-switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--white); transition: left .15s var(--ease); }
.fx-item[aria-pressed="true"] .fx-switch { background: var(--accent); }
.fx-item[aria-pressed="true"] .fx-switch::after { left: 19px; }
.fx-hint { margin-top: auto; padding: 12px; border-radius: 10px; background: var(--panel-2); font-size: 13.5px; color: var(--muted); }
.fx-try { margin-top: 16px; text-align: center; font-size: 13.5px; color: var(--faint); }
@media (max-width: 720px) {
  .fx-body { flex-direction: column; min-height: 0; }
  .fx-tabs { flex: none; flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .fx-tab { width: auto; flex: none; white-space: nowrap; }
  .fx-panel { padding: 12px 10px 14px; }
  .fx-hint { margin-top: 10px; }
}

/* bento */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(300px, auto); gap: 16px; }
.tile { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; padding: 28px; border-radius: 20px; border: 1px solid var(--line); background: var(--panel); }
.tile h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.tile p { font-size: 15px; color: var(--muted); }
.tile-wide { grid-column: span 2; }
.tile-kicker { font-size: 14px; color: var(--faint); }
.tile-icon { width: 28px; height: 28px; color: var(--accent-hi); }
.perf { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-bottom: 18px; }
.perf-old, .perf-new { font-family: var(--font-head); font-weight: 600; font-size: clamp(64px, 9vw, 120px); line-height: 0.9; letter-spacing: -0.05em; }
.perf-old { color: var(--faint); }
.perf-new { color: var(--white); }
.perf-arrow { font-size: 36px; color: #6E6E76; }
.perf-unit { font-size: 20px; color: var(--muted); }
.tile-perf p { max-width: 480px; }
.tile-img { padding: 0; overflow: hidden; gap: 0; }
.tile-img img { display: block; width: 100%; height: 170px; object-fit: cover; object-position: left top; cursor: zoom-in; }
.tile-pad { padding: 22px 24px; }
.tile-mods { flex-direction: row; align-items: center; gap: 28px; }
.tile-mods-text { flex: 1 1 0; min-width: 0; }
.tile-mods .tile-kicker { margin-bottom: 14px; }
.tile-big { font-family: var(--font-head); font-size: 30px !important; letter-spacing: -0.02em; }
.tile-tree { flex: 0 0 240px; margin: 0; padding: 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); font-family: var(--mono); font-size: 13px; line-height: 1.85; color: var(--muted); white-space: pre; overflow-x: auto; }
@media (max-width: 1020px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .tile-wide { grid-column: auto; }
  .tile { padding: 22px; }
  .tile-mods { flex-direction: column; align-items: stretch; }
  .tile-tree { flex: none; }
}

/* and also */
.more-title { margin-top: 56px; margin-bottom: 8px; font-size: 15px; font-weight: 600; color: var(--faint); }
.more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; border-top: 1px solid var(--line); }
.more-item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.more-item h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.more-item p { font-size: 14.5px; color: var(--muted); }
@media (max-width: 960px) { .more { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .more { grid-template-columns: 1fr; } }
