/* PixelRec Ultra homepage. Own file: the old site.css is not loaded on this page.
   Look = the Ultra plugin + Wrapped cards: black, one blue horizon from the bottom,
   glass cards, Sora headlines, small mono caps labels. Brand blue #2E7DF6. */

:root {
  --bg: #05060a;
  --bg-2: #080a11;
  --card: rgba(255, 255, 255, .035);
  --card-hi: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .08);
  --line-hi: rgba(255, 255, 255, .14);
  --text: #f3f6fc;
  --muted: #a3acbe;
  --dim: #6d7689;
  --blue: #2e7df6;
  --blue-2: #5b9bff;
  --sky: #9cc4ff;
  --red: #ff4d4f;
  --amber: #ffb547;
  --green: #35d07f;
  --head: "Sora", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --wrap: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: rgba(46, 125, 246, .45); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.cap {
  font: 500 13px/1.2 var(--mono);
  letter-spacing: .02em;
  color: var(--sky);
}
.cap.is-dim { color: var(--dim); }
h1, h2, h3 { font-family: var(--head); font-weight: 700; letter-spacing: -.03em; line-height: 1.06; }
h2 { font-size: clamp(34px, 4.6vw, 58px); }
h3 { font-size: 20px; letter-spacing: -.02em; line-height: 1.25; }
.lead { color: var(--muted); font-size: clamp(16px, 1.5vw, 19px); line-height: 1.6; max-width: 620px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.blue { color: var(--blue-2); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 26px;
  font: 600 15.5px var(--body); text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-blue { background: linear-gradient(180deg, #3d8bff, #2a6fe0); color: #fff; border-color: rgba(160, 200, 255, .35); }
.btn-blue:hover { background: linear-gradient(180deg, #4a93ff, #2e78ee); }
.btn-white { background: #fff; color: #0a0d14; }
.btn-glass { background: var(--card); border-color: var(--line-hi); color: var(--text); }
.btn-glass:hover { background: var(--card-hi); }
.btn-sm { height: 40px; padding: 0 18px; border-radius: 20px; font-size: 14px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5, 6, 10, .72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin-left: auto; }
.nav-links > li > a, .ft-nav-tools-btn {
  color: var(--muted); text-decoration: none; font: 500 14px var(--body); transition: color .2s;
  background: none; border: 0; cursor: pointer;
}
.nav-links > li > a:hover { color: var(--text); }
.nav-cta { margin-left: 4px; }

/* Tools dropdown (same markup as the other pages, nav-tools.js adds click) */
.ft-nav-tools { position: relative; }
.ft-nav-tools-btn { display: inline-flex; align-items: center; gap: 5px; padding: 0; }
.ft-nav-tools-btn svg { width: 13px; height: 13px; transition: transform .2s; }
.ft-nav-tools:hover .ft-nav-tools-btn, .ft-nav-tools.is-open .ft-nav-tools-btn { color: var(--text); }
.ft-nav-tools:hover .ft-nav-tools-btn svg, .ft-nav-tools.is-open .ft-nav-tools-btn svg { transform: rotate(180deg); }
.ft-nav-tools::after { content: ''; position: absolute; top: 100%; left: -10px; right: -40px; height: 18px; }
.ft-nav-tools-menu {
  position: absolute; top: calc(100% + 16px); left: -12px; width: 340px;
  background: #0d1018; border: 1px solid var(--line-hi); border-radius: 16px; padding: 8px;
  box-shadow: 0 26px 64px rgba(0, 0, 0, .6);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease; z-index: 200;
}
.ft-nav-tools:hover .ft-nav-tools-menu, .ft-nav-tools.is-open .ft-nav-tools-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.ft-tool-item { display: flex; align-items: center; gap: 13px; padding: 11px 12px; border-radius: 11px; text-decoration: none; }
.ft-tool-item:hover { background: rgba(255, 255, 255, .05); }
.ft-tool-ic { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ft-tool-ic img { height: 26px; width: auto; max-width: 30px; }
.ft-tool-ic.is-pixelrec { background: rgba(46, 125, 246, .14); border: 1px solid rgba(46, 125, 246, .32); }
.ft-tool-ic.is-flatte { background: rgba(142, 91, 247, .14); border: 1px solid rgba(142, 91, 247, .32); }
.ft-tool-copy { display: flex; flex-direction: column; }
.ft-tool-copy b { font: 600 14.5px var(--body); color: var(--text); }
.ft-tool-copy small { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

/* ---------- Horizon (the one blue glow, from the bottom) ---------- */
.horizon { --arc: 400px; position: absolute; left: 0; right: 0; bottom: 0; height: 520px; overflow: hidden; pointer-events: none; }
.horizon::before { /* the light above the line */
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 1600px; transform: translateX(-50%);
  background: radial-gradient(46% 300px at 50% var(--arc), rgba(46, 125, 246, .30), rgba(46, 125, 246, .08) 55%, transparent 80%);
}
.horizon::after { /* the planet: dark, with a thin bright edge */
  content: ''; position: absolute; left: 50%; top: var(--arc); width: 3200px; height: 3200px; transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, #05060a 96%, #07101f 99%, #0c1a33 100%);
  border-top: 1.5px solid rgba(160, 200, 255, .95);
  box-shadow: 0 -2px 18px rgba(120, 175, 255, .55), 0 -24px 90px rgba(46, 125, 246, .35), inset 0 22px 60px rgba(46, 125, 246, .22);
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 76px 0 0; overflow: hidden; }
.hero-copy { position: relative; z-index: 2; text-align: center; }
.hero-lockup { display: inline-flex; align-items: center; gap: 12px; padding: 7px 16px 7px 8px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); margin-bottom: 30px; text-decoration: none; }
.hero-lockup .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(255, 77, 79, .16); margin-left: 6px; animation: rec 1.6s ease-in-out infinite; }
.hero-lockup span { font: 500 13px var(--mono); letter-spacing: .02em; color: var(--muted); }
@keyframes rec { 50% { opacity: .35; } }
.hero h1 { font-size: clamp(44px, 7.4vw, 96px); letter-spacing: -.045em; line-height: .98; }
.hero h1 .soft { color: #9cc4ff; }
.hero .lead { margin: 26px auto 0; max-width: 900px; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.hero-facts { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 30px; }
.hf-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 32px; }
.hero-facts span { font: 500 14.5px var(--mono); letter-spacing: .02em; color: var(--dim); display: inline-flex; align-items: center; }
.hero-facts .hf-ic { width: 18px; height: 18px; margin-right: 9px; flex-shrink: 0; }
.hero-facts .hf-ic + .hf-ic { margin-left: -2px; }
.hero-facts .hf-ps { width: 22px; height: 22px; }

.stage { position: relative; z-index: 1; height: 700px; margin-top: 56px; }
.stage .horizon { height: 700px; --arc: 560px; }
.stage-row { position: absolute; left: 50%; top: 0; transform: translateX(-50%); display: flex; align-items: flex-start; gap: 34px; z-index: 2; }
.art {
  position: relative; width: 380px; aspect-ratio: 2 / 3; border-radius: 22px; overflow: hidden;
  border: 1px solid rgba(180, 210, 255, .28); background: #0b0e16;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .7), 0 0 0 6px rgba(255, 255, 255, .02);
}
.art video, .art img { width: 100%; height: 100%; object-fit: cover; }
.art-tag { position: absolute; left: 14px; top: 14px; display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; border-radius: 14px; background: rgba(5, 6, 10, .72); backdrop-filter: blur(8px); font: 500 11px var(--mono); letter-spacing: .16em; }
.art-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: rec 1.6s ease-in-out infinite; }
.panel {
  width: 300px; aspect-ratio: 360 / 430; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line-hi); background: #06070b;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .65);
}
.panel img { width: 100%; height: 100%; }
.stage .panel { margin-top: 140px; }
.stage .panel-l { transform: rotate(-2.5deg); }
.stage .panel-r { transform: rotate(2.5deg); }
.stage-label { position: absolute; left: 0; right: 0; top: calc(100% + 16px); text-align: center; }

/* Hero "how it works" player: video + chapter timeline like YouTube (logic in /ultra/how-player.js) */
.stage.vp-stage { height: auto; padding: 24px 24px 150px; }
.stage.vp-stage .horizon { height: 100%; --arc: calc(100% - 118px); }
.vp {
  position: relative; z-index: 2; width: min(960px, 100%); margin: 0 auto; text-align: left;
  border-radius: 20px; overflow: hidden; border: 1px solid rgba(180, 210, 255, .24); background: #090b12;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .7);
}
.vp-screen { position: relative; aspect-ratio: 16 / 9; background: #05060a; }
.vp-screen video { display: block; width: 100%; height: 100%; object-fit: contain; }
.vp.is-ready .vp-screen video { cursor: pointer; }
.vp-ui { padding: 10px 16px 10px; border-top: 1px solid var(--line); }
.vp-track { position: relative; height: 20px; display: flex; align-items: center; cursor: pointer; touch-action: none; border-radius: 4px; }
.vp-segs { display: flex; gap: 3px; width: 100%; height: 4px; transition: height .15s; }
.vp-track.is-hover .vp-segs, .vp-track:focus-visible .vp-segs { height: 7px; }
.vp-seg { position: relative; flex: 1 1 0; min-width: 2px; background: rgba(255, 255, 255, .16); border-radius: 2px; overflow: hidden; }
.vp-seg i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--blue); }
.vp-tip {
  position: absolute; bottom: 24px; left: 0; transform: translateX(-50%); padding: 4px 9px; border-radius: 6px;
  background: #151a26; border: 1px solid var(--line-hi); font: 500 11.5px var(--mono); color: #fff; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .12s;
}
.vp-track.is-hover .vp-tip { opacity: 1; }
.vp-track:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.vp-row { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.vp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 32px; min-width: 32px; padding: 0 12px;
  border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: #fff; font: 600 12.5px var(--body); cursor: pointer;
}
.vp-btn:hover { border-color: var(--line-hi); background: rgba(255, 255, 255, .08); }
.vp-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.vp-btn svg { width: 15px; height: 15px; flex-shrink: 0; }
.vp-play { width: 32px; padding: 0; }
.vp .i-play, .vp.is-paused .i-pause { display: none; }
.vp.is-paused .i-play { display: block; }
.vp-time { font: 500 12px var(--mono); color: var(--muted); letter-spacing: .04em; white-space: nowrap; }
.vp-now { min-width: 0; font-weight: 600; font-size: 13.5px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vp-now::before { content: '·'; color: var(--dim); margin-right: 10px; }
.vp-gap { flex: 1; }
.vp-speed { min-width: 48px; font-family: var(--mono); }
.vp-btn.is-on { background: var(--blue); border-color: transparent; }
.vp-sound .w, .vp-sound.is-on .x { display: none; }
.vp-sound.is-on .w { display: inline; }


/* ---------- Strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); position: relative; z-index: 3; }
.strip-in { display: flex; justify-content: space-between; gap: 18px; padding: 22px 24px; flex-wrap: wrap; }
.strip-in div { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14.5px; }
.strip-in svg { width: 18px; height: 18px; color: var(--sky); flex-shrink: 0; }

/* ---------- Sections ---------- */
.sec { position: relative; padding: 130px 0; }
.sec-head { margin-bottom: 64px; }
.sec-head h2 { margin-top: 18px; }
.sec-head .lead { margin-top: 20px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { padding: 30px 28px 32px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); border-top-color: var(--line-hi); }
.step .num { font: 500 13px var(--mono); letter-spacing: .02em; color: var(--sky); }
.step h3 { font-size: 24px; margin: 18px 0 10px; }
.step p { color: var(--muted); font-size: 15.5px; }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split.flip > :first-child { order: 2; }
.cap + h2 { margin-top: 18px; }
h2 + .lead { margin-top: 20px; }
.list { list-style: none; margin-top: 30px; display: grid; gap: 16px; }
.list li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; color: var(--muted); font-size: 15.5px; }
.list li b { color: var(--text); font-weight: 600; }
.list svg { width: 20px; height: 20px; color: var(--blue-2); margin-top: 2px; }

.show { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.show .glow { position: absolute; inset: 10% 5% 0; background: radial-gradient(50% 50% at 50% 60%, rgba(46, 125, 246, .18), transparent 70%); z-index: 0; }
.show > *:not(.glow) { position: relative; z-index: 1; }
.show .panel { width: 360px; }
.mini {
  width: 400px; max-width: 100%; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-hi);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}
.mini-note { font: 500 12px var(--mono); letter-spacing: .02em; color: var(--dim); margin-top: -8px; }

/* Replay */
.replay-frame {
  position: relative; max-width: 1040px; margin: 0 auto; border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(180, 210, 255, .22); background: #06070b;
  box-shadow: 0 50px 140px rgba(0, 0, 0, .7);
}
.replay-bar { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-bottom: 1px solid var(--line); background: #0a0c13; }
.replay-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.replay-bar span { margin-left: 10px; font: 500 12px var(--mono); letter-spacing: .02em; color: var(--dim); }
.replay-frame img { width: 100%; height: auto; }
.chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1040px; margin: 34px auto 0; }
.chip { padding: 22px 22px 24px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.chip h3 { font-size: 17px; margin-bottom: 6px; }
.chip p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* Sizes */
.sizes { display: flex; align-items: flex-end; justify-content: center; gap: 18px; margin-bottom: 26px; }
.size { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.size .frame { border-radius: 12px; overflow: hidden; border: 1px solid rgba(180, 210, 255, .25); background: #0b0e16; box-shadow: 0 24px 60px rgba(0, 0, 0, .55); }
.size .frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; }
.size .cap { font-size: 12px; letter-spacing: .02em; color: var(--muted); }
.size.s916 .frame { width: 128px; height: 228px; }
.size.s45 .frame { width: 168px; height: 210px; }
.size.s11 .frame { width: 176px; height: 176px; }
.size.s169 .frame { width: 256px; height: 144px; }
.export-wrap { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: center; }
.export-side { display: flex; flex-direction: column; align-items: center; }
/* Export section: a tile grid. Big tile = the 4 sizes over one soft glow, tall tile =
   After export with the share panel, 4 small tiles = the export points */
.bx { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-areas: "s s p" "a b p" "c d p"; gap: 16px; }
.bx > * { border-radius: 22px; background: var(--card); border: 1px solid var(--line); }
.bx h3 { font: 600 20px/1.25 var(--head); letter-spacing: -.02em; color: var(--text); }
.bx p { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.bx-sizes { grid-area: s; position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 32px; }
.bx-sizes > :not(.bx-glow) { position: relative; z-index: 1; }
.bx-glow { position: absolute; left: -10%; right: -10%; bottom: -45%; height: 90%; background: radial-gradient(50% 50% at 50% 70%, rgba(46, 125, 246, .32), transparent 72%); pointer-events: none; }
.bx-sizes .sizes { margin: auto 0 0; padding-top: 36px; gap: 16px; flex-wrap: nowrap; }
.bx .size.s916 .frame { width: 108px; height: 192px; }
.bx .size.s45 .frame { width: 144px; height: 180px; }
.bx .size.s11 .frame { width: 152px; height: 152px; }
.bx .size.s169 .frame { width: 216px; height: 122px; }
.bx-share { grid-area: p; display: flex; flex-direction: column; padding: 32px; overflow: hidden; }
.bx-share h3 { margin-top: 14px; font-size: 26px; line-height: 1.15; }
.bx-panel { flex: 1; justify-content: center; padding-top: 28px; }
.bx-share .panel { width: 100%; max-width: 300px; }
.bx-tile { padding: 28px; }
.bx-tile svg { display: block; width: 22px; height: 22px; margin-bottom: 18px; color: var(--blue-2); }
@media (max-width: 1180px) {
  .bx .size.s916 .frame { width: 96px; height: 171px; }
  .bx .size.s45 .frame { width: 128px; height: 160px; }
  .bx .size.s11 .frame { width: 136px; height: 136px; }
  .bx .size.s169 .frame { width: 192px; height: 108px; }
}
@media (max-width: 1000px) { .bx { grid-template-columns: 1fr 1fr; grid-template-areas: "s s" "p p"; } }
@media (max-width: 640px) {
  .bx { grid-template-columns: 1fr; grid-template-areas: "s" "p"; gap: 12px; }
  .bx-sizes, .bx-share { padding: 24px 20px; }
  .bx-sizes .sizes { flex-wrap: wrap; gap: 8px; }
  .bx .size.s916 .frame { width: 72px; height: 128px; }
  .bx .size.s45 .frame { width: 96px; height: 120px; }
  .bx .size.s11 .frame { width: 100px; height: 100px; }
  .bx .size.s169 .frame { width: 240px; height: 135px; }
  .bx-tile { padding: 22px 20px; }
}

/* Interactive demo: a quiet Photoshop window. Left: Mini bar + paper on the grey canvas area.
   Right: the docked Ultra panel. Both columns end at the same height (sizes set in demo.js). */
.pw { position: relative; max-width: 1180px; border-radius: 12px; overflow: hidden; background: #323232; border: 1px solid #0c0c0c; box-shadow: 0 50px 140px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .05); font: 400 12px "Segoe UI", system-ui, -apple-system, sans-serif; color: #d8d8d8; user-select: none; }
.pw-title { position: relative; display: flex; align-items: center; height: 36px; padding: 0 14px; background: #2b2b2b; border-bottom: 1px solid #1a1a1a; }
.pw-dots { display: flex; gap: 7px; }
.pw-dots i { width: 11px; height: 11px; border-radius: 50%; background: #4a4a4a; }
.pw-app { margin-left: 9px; color: #e6e6e6; font-weight: 600; letter-spacing: .01em; }
.pw-doc { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; height: 26px; padding: 0 12px; border-radius: 6px; background: #3a3a3a; color: #eaeaea; white-space: nowrap; }
.pw-doc i { font-style: normal; color: #9a9a9a; }
.pw-body { display: flex; align-items: stretch; }
.pw-tools { width: 44px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 14px 0; background: #323232; border-right: 1px solid #1a1a1a; }
.pw-tool { width: 32px; height: 30px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #bdbdbd; display: flex; align-items: center; justify-content: center; cursor: default; }
.pw-tool[data-demo-tool] { cursor: pointer; }
.pw-tool[data-demo-tool]:hover { background: #3f3f3f; }
.pw-tool.is-on { background: #1e1e1e; color: #fff; }
.pw-tool svg { width: 17px; height: 17px; }
.pw-sep { width: 22px; height: 1px; margin: 5px 0; background: #444; }
.pw-colors { position: relative; width: 28px; height: 28px; margin-top: 8px; }
.pw-colors i { position: absolute; width: 17px; height: 17px; border-radius: 3px; border: 1px solid #111; }
.pw-fg { left: 0; top: 0; z-index: 2; background: #1b1f2a; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.pw-bg { right: 0; bottom: 0; background: #fff; }
.pw-board { position: relative; flex: 1; min-width: 0; display: flex; justify-content: center; align-items: flex-start; padding: 22px 28px; background: #1e1e1e; }
.pw-ps { width: 22px; height: 22px; margin-left: 16px; flex-shrink: 0; }
.pw-panel { background: #323232; border: 1px solid #1a1a1a; border-radius: 6px; overflow: hidden; }
.pw-tab { display: flex; height: 26px; background: #262626; border-bottom: 1px solid #1a1a1a; }
.pw-tab span { display: flex; align-items: center; padding: 0 12px; background: #323232; color: #f0f0f0; border-right: 1px solid #1a1a1a; white-space: nowrap; }
.dm-left { position: relative; display: flex; flex-direction: column; gap: 14px; }
.dm-mini, .dm-panel { position: relative; overflow: hidden; background: #05060a; }
.dm-mini iframe, .dm-panel iframe { display: block; border: 0; transform-origin: 0 0; }
.dm-paper { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #fbfaf7; box-shadow: 0 12px 40px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .7); }
.dm-paper canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: crosshair; }
.dm-paper.is-eraser canvas { cursor: cell; }
.demo-hint { position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%); padding: 10px 18px; border-radius: 20px; background: rgba(14, 18, 28, .82); color: #fff; font: 600 14px var(--body); pointer-events: none; transition: opacity .3s; }
.demo-hint.is-gone { opacity: 0; }
.dm-tools { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 22px; background: rgba(10, 12, 19, .9); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.dm-tools button { padding: 0; cursor: pointer; }
.dm-sep { width: 1px; height: 18px; background: rgba(255, 255, 255, .14); margin: 0 2px; }
.demo-swatch { width: 18px; height: 18px; border-radius: 50%; border: 0; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.demo-swatch.is-on { box-shadow: 0 0 0 2px #0a0c13, 0 0 0 3.5px #fff; }
.demo-size { width: 26px; height: 26px; border-radius: 13px; border: 0; background: transparent; display: flex; align-items: center; justify-content: center; }
.demo-size i { width: var(--s); height: var(--s); border-radius: 50%; background: #6d7689; }
.demo-size.is-on { background: rgba(255, 255, 255, .1); }
.demo-size.is-on i { background: #fff; }
.dm-icon { width: 30px; height: 30px; border-radius: 15px; border: 0; background: transparent; color: #a3acbe; display: flex; align-items: center; justify-content: center; }
.dm-icon:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.dm-icon.is-on { color: #fff; background: rgba(46, 125, 246, .35); }
.dm-icon svg { width: 17px; height: 17px; }
.dm-panel.is-flash { animation: dmflash 1s ease; }
@keyframes dmflash { 30% { box-shadow: 0 0 0 2px #2e7df6; } }
/* Pop-out stage: designed at 1320 x 860 (wider than the text column), scaled as one piece by demo.js, stacked on phones */
.po-wrap { position: relative; width: min(1320px, calc(100vw - 48px)); margin-left: calc((100% - min(1320px, calc(100vw - 48px))) / 2); }
.po { position: relative; width: 1320px; height: 860px; transform-origin: 0 0; }
.po .po-glow { --arc: 470px; z-index: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent); }
.po .pw { position: absolute; left: 150px; top: 24px; width: 1000px; z-index: 2; }
.po .pw-board { align-items: flex-start; }
.po .dm-tools { top: 16px; bottom: auto; left: 46%; }
.po-mini, .po-panel { font: 400 12px "Segoe UI", system-ui, -apple-system, sans-serif; color: #d8d8d8; user-select: none; }
.po-mini, .po-panel { position: absolute; z-index: 6; border-radius: 10px; box-shadow: 0 50px 120px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .06); }
.po-panel { right: 0; top: 110px; }
.po-mini { left: 0; top: 618px; border-radius: 8px; }
@media (max-width: 900px) {
  .po-wrap { width: 100%; margin-left: 0; }
  .po { width: auto; height: auto; transform: none !important; display: flex; flex-direction: column; align-items: center; gap: 14px; }
  .po .po-glow { display: none; }
  .po .pw, .po-mini, .po-panel { position: static; width: auto; }
  .po .pw { width: 100%; }
  .po .dm-tools { top: auto; bottom: 10px; left: 50%; }
}
.demo-note { margin: 22px auto 0; color: var(--dim); font-size: 13px; text-align: center; max-width: 520px; }
.demo-modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(3, 4, 8, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.demo-modal[hidden] { display: none; }
.demo-modal-box { width: 100%; max-width: 760px; border-radius: 22px; border: 1px solid rgba(160, 200, 255, .25); background: #0a0c13; padding: 16px; box-shadow: 0 50px 140px rgba(0, 0, 0, .8); }
.demo-modal-head { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 12px; }
.demo-x { width: 34px; height: 34px; border-radius: 17px; border: 1px solid var(--line-hi); background: transparent; color: var(--text); font-size: 20px; line-height: 1; cursor: pointer; }
.demo-modal canvas { display: block; width: 100%; height: auto; border-radius: 12px; background: #fbfaf7; }
.demo-modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding-top: 14px; flex-wrap: wrap; }
body.demo-open { overflow: hidden; }
@media (max-width: 900px) {
  .pw-body { flex-direction: column; }
  .pw-tools { display: none; }
  .pw-board { padding: 14px 12px; flex-direction: column; align-items: center; gap: 12px; }
  .pw-ps { margin-left: 12px; }
  .pw-app { display: none; }
  .pw-doc { position: static; transform: none; margin-left: 12px; overflow: hidden; }
}

/* Stats + Wrapped */
.stats-row { display: flex; justify-content: center; gap: 22px; }
.stats-row .panel { width: 300px; }
.wrapped { display: flex; justify-content: center; align-items: center; margin-top: 10px; height: 470px; position: relative; }
.wcard { width: 230px; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-hi); box-shadow: 0 34px 90px rgba(0, 0, 0, .7); position: absolute; }
.wcard img { width: 100%; height: 100%; object-fit: cover; }
.wcard:nth-child(1) { transform: translateX(-210px) rotate(-6deg) scale(.92); }
.wcard:nth-child(2) { z-index: 2; }
.wcard:nth-child(3) { transform: translateX(210px) rotate(6deg) scale(.92); }

/* Small features */
.grid6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mini-card { padding: 26px 24px 28px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.mini-card svg { width: 26px; height: 26px; color: var(--sky); }
.mini-card h3 { font-size: 18px; margin: 16px 0 6px; }
.mini-card p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }


/* Reviews */
.rev-sum { margin-top: 18px; color: var(--muted); }
.rev-sum b { color: var(--text); }
/* Why PixelRec: without / with */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.why-card { padding: 28px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); text-align: center; }
.why-card.is-with { border-color: rgba(110, 166, 255, .35); }
.why-card h3 { font: 700 22px var(--head); margin-bottom: 10px; }
.why-card p { color: var(--muted); font-size: 15.5px; line-height: 1.55; max-width: 420px; margin: 0 auto 22px; }
.why-visual { position: relative; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; background: #fff; }
.why-visual img, .why-visual video { width: 100%; height: 100%; object-fit: cover; display: block; }
.why-badge { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 16px; background: #2e7df6; color: #fff; font: 600 12px var(--mono); letter-spacing: .12em; }
.why-badge i { width: 7px; height: 7px; border-radius: 4px; background: #fff; }
.why-badge.is-off { background: rgba(10, 12, 18, .78); color: #c3c9d4; }
.why-badge.is-off i { background: #7d8597; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review { padding: 26px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.review .stars { color: #ffc94d; letter-spacing: 3px; font-size: 14px; }
.review blockquote { font-size: 16px; line-height: 1.55; color: var(--text); flex: 1; }
a.review { color: inherit; text-decoration: none; transition: border-color .2s, transform .2s; }
a.review:hover { border-color: rgba(110, 166, 255, .45); transform: translateY(-2px); }
.review blockquote { margin: 0; }
.review figcaption, .review .rev-by { display: flex; align-items: center; gap: 12px; }
.review figcaption img, .review .rev-by img, .review .initials { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.review .initials { display: flex; align-items: center; justify-content: center; background: rgba(46, 125, 246, .18); color: var(--sky); font: 600 13px var(--body); }
.review .who b { display: block; font-size: 14.5px; }
.review .who small { color: var(--dim); font-size: 12.5px; }
.rev-foot { margin-top: 26px; color: var(--dim); font-size: 13px; text-align: center; }
.rev-foot a { color: var(--sky); }

/* Pricing: close copy of the first PixelRec pricing (owner's choice). Pro left, Ultra right, raised. */
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 1040px; margin: 0 auto; align-items: end; }
.pc { position: relative; display: flex; flex-direction: column; padding: 30px 38px 26px; border-radius: 26px; background: #18191e; border: 1px solid rgba(255, 255, 255, .08); }
.pc.is-ultra { padding: 0; border: 1.5px solid #2e7df6; background: #0f1a2e; overflow: hidden; box-shadow: 0 30px 70px -34px rgba(0, 0, 0, .8); }
.pc-ribbon { display: flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding-bottom: 16px; box-sizing: border-box; background: #2e7df6; color: #fff; font: 600 14.5px var(--body); letter-spacing: .01em; }
.pc-ribbon svg { width: 20px; height: 20px; }
.pc-body { display: flex; flex-direction: column; flex: 1; padding: 28px 38px 26px; border-radius: 24px 24px 0 0; margin-top: -16px; background: linear-gradient(180deg, #121c30, #0f1a2e 60%); }
.pc-name { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; font: 600 32px var(--head); letter-spacing: -.03em; line-height: 1.05; color: #fff; }
.pc-save { padding: 5px 10px; border-radius: 6px; background: #ffd400; color: #111; font: 700 13.5px var(--body); letter-spacing: 0; }
.pc-badge { align-self: center; padding: 5px 9px; border-radius: 5px; border: 1px solid rgba(156, 196, 255, .32); background: rgba(46, 125, 246, .1); color: var(--sky); font: 600 11px var(--mono); letter-spacing: .12em; }
.pc-desc { margin-top: 12px; color: #a3a8b4; font-size: 15px; line-height: 1.5; }
.pc-price { display: flex; align-items: baseline; gap: 12px; margin-top: 18px; font: 600 54px var(--head); letter-spacing: -.045em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.pc-old { position: relative; color: #9aa0ad; }
.pc-old::after { content: ''; position: absolute; left: -6px; right: -6px; top: 56%; height: 5px; border-radius: 3px; background: #ffd400; transform: rotate(-4deg); }
.pc-per { margin-top: 6px; color: #7d8391; font-size: 14.5px; }
.pc-line { height: 1px; margin: 16px 0 18px; background: rgba(255, 255, 255, .1); }
.pc-list { list-style: none; display: grid; gap: 9px; flex: 1; align-content: start; margin-bottom: 22px; }
.pc-list li { display: flex; align-items: center; gap: 12px; min-height: 24px; font-size: 15.5px; color: #f2f4f8; }
.pc-ic { width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; background: #2e7df6; color: #fff; display: flex; align-items: center; justify-content: center; }
.pc-ic svg { width: 13px; height: 13px; }
.pc-ic.is-no { background: transparent; border: 1.5px solid #3a3d46; color: #8a8f9b; }
.pc-ic.is-no svg { width: 12px; height: 12px; }
.pc-list li.is-off { color: #7d8391; }
.pc.is-ultra .pc-list li { color: #cfd5e0; }
.pc.is-ultra .pc-list li.is-key { color: #fff; font-weight: 600; font-size: 16.5px; }
/* Key Ultra rows: label on a blue box, like the Flatte price card */
.pc.is-ultra .pc-list li.is-key > span:last-child { padding: 4px 11px; border-radius: 8px; background: linear-gradient(135deg, #3d8cff 0%, #2a6fe6 100%); color: #fff; }
/* Ultra card wears the Ultra look: black, the Ultra logo */
.pc.is-ultra { background: #05060a; border: 1px solid rgba(91, 155, 255, .55); }
.pc.is-ultra .pc-body { background: #05060a; }
.pc-logo img { display: block; width: 288px; height: auto; margin: -11px 0 -11px -5px; }
.pc.is-ultra .pc-desc { color: #a3acbe; }
/* Ultra card: a still, thin blue frame (the moving light was removed 2026-10-31, owner) */
@property --u-ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes uSpin { to { --u-ang: 360deg; } }
.pu-glow { position: relative; }
.pu-glow .pc.is-ultra { padding: 0 3px 3px; border: 0; border-radius: 26px; background: linear-gradient(135deg, #3d8cff 0%, #2a6fe6 100%); }
.pu-glow .pc-ribbon { background: none; }
.pu-glow .pc-body { border-radius: 23px; }
/* Hero "Get PixelRec Ultra": a light travels around the button edge, with a soft breathing glow */
.btn.is-beam, .btn.is-beam:hover { border: 2px solid transparent;
  background: linear-gradient(180deg, #3d8bff, #2a6fe0) padding-box,
              conic-gradient(from var(--u-ang), rgba(190, 215, 255, .45) 0deg, rgba(190, 215, 255, .45) 220deg, #dbe9ff 285deg, #fff 305deg, #dbe9ff 325deg, rgba(190, 215, 255, .45) 360deg) border-box;
  animation: uSpin 3.2s linear infinite, uBtnGlow 2.6s ease-in-out infinite; }
.btn.is-beam:hover { background: linear-gradient(180deg, #4a93ff, #2e78ee) padding-box,
              conic-gradient(from var(--u-ang), rgba(190, 215, 255, .45) 0deg, rgba(190, 215, 255, .45) 220deg, #dbe9ff 285deg, #fff 305deg, #dbe9ff 325deg, rgba(190, 215, 255, .45) 360deg) border-box; }
@keyframes uBtnGlow { 0%, 100% { box-shadow: 0 8px 26px rgba(46, 125, 246, .35); } 50% { box-shadow: 0 10px 46px rgba(46, 125, 246, .7), 0 0 0 4px rgba(46, 125, 246, .12); } }
@media (prefers-reduced-motion: reduce) { .btn.is-beam { animation: none; } }
/* Pro steps back: grey ticks, so blue belongs to Ultra */
.pc:not(.is-ultra) .pc-ic:not(.is-no) { background: rgba(255, 255, 255, .12); color: #e3e6ec; }
.pc-btn { width: 100%; height: 52px; border-radius: 26px; font: 600 16.5px var(--body); }
.pc-btn.is-outline { background: transparent; border: 1px solid rgba(255, 255, 255, .16); color: #fff; }
.pc-btn.is-outline:hover { background: rgba(255, 255, 255, .05); }
.pc-btn.is-solid { background: #2e7df6; color: #fff; border: 0; }
.pc-btn.is-solid:hover { background: #3d8cff; }
.pc-note { margin-top: 12px; text-align: center; color: #7d8391; font-size: 13.5px; }
.pc-note.is-diff { color: var(--sky); }
/* Launch price tag (not used since 2026-11-01: the Save badge + crossed-out $49 replaced it) */
.pc-launch { align-self: center; padding: 5px 11px; border-radius: 8px; background: #ffd400; border: 0; color: #111; font: 600 13px var(--body); letter-spacing: 0; }
.pc-ic.is-gold { background: #ffd45a; color: #1d1600; }
.pc.is-ultra .pc-list li.is-gold-row { color: #ffd45a; font-weight: 600; }
/* Short laptop screens: still one view */
@media (min-width: 901px) and (max-height: 980px) {
  #pricing .sec-head { margin-bottom: 14px !important; }
  #pricing .sec-head .cap { display: none; }
  #pricing .sec-head h2 { margin-top: 0 !important; }
  .pc { padding: 20px 32px 18px; }
  .pc-body { padding: 20px 32px 18px; }
  .pc-ribbon { height: 46px; padding-bottom: 14px; }
  .pc-desc { display: none; }
  .pc-price { font-size: 42px; margin-top: 10px; }
  .pc-line { margin: 10px 0 12px; }
  .pc-list { gap: 4px; margin-bottom: 14px; }
  .pc-list li { font-size: 14.5px; }
  .pc-btn { height: 46px; }
  .pc-note { display: none; }
  .pc-note.is-diff { display: block; }
  .pc-logo img { width: 256px; margin: -10px 0 -10px -4px; }
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.price-note { max-width: 960px; margin: 28px auto 0; padding: 18px 22px; border-radius: 16px; border: 1px solid rgba(156, 196, 255, .2); color: var(--muted); font-size: 15px; text-align: center; }
/* "More in Ultra" heading (after pricing): the next section starts closer */
.more-in + .sec { padding-top: 64px; }
.price-trust { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; max-width: 960px; margin: 24px auto 0; padding: 0; color: var(--muted); font-size: 14px; }
.price-trust li { display: inline-flex; align-items: center; gap: 9px; }
.price-trust li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }
.price-trust a { color: var(--sky); }
.price-note b { color: var(--text); }
.price-note.is-gold { border-color: rgba(255, 212, 90, .3); background: rgba(255, 212, 90, .05); }
.price-note.is-gold b, .price-note .gold { color: #ffd45a; }
.price-note .gold { font-weight: 700; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 4px; font: 600 18px var(--head); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-hi); flex-shrink: 0; position: relative; transition: transform .25s ease; }
.faq summary i::before, .faq summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: var(--sky); transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary i { transform: rotate(45deg); }
.faq .a { padding: 0 4px 26px; color: var(--muted); font-size: 16px; max-width: 700px; }
.faq .a a { color: var(--sky); }

/* Guides */
.guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.guide { padding: 22px 22px 24px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, background .2s; }
.guide:hover { border-color: rgba(120, 170, 255, .35); background: var(--card-hi); }
.guide .cap { font-size: 10.5px; }
.guide h3 { font-size: 16.5px; margin: 12px 0 6px; }
.guide p { color: var(--muted); font-size: 14px; line-height: 1.5; }
.guides-more { text-align: center; margin-top: 24px; color: var(--muted); font-size: 14.5px; }
.guides-more a { color: var(--sky); }

/* Final */
.final { position: relative; padding: 150px 0 300px; text-align: center; overflow: hidden; }
.final .horizon { height: 560px; --arc: 420px; }
.final-mark { height: 64px; width: auto; margin: 0 auto 34px; }
.final h2 { font-size: clamp(38px, 5.6vw, 72px); }
.final .lead { margin: 22px auto 0; }
.final .hero-ctas { position: relative; z-index: 2; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 64px 0 40px; background: var(--bg); }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand img { height: 30px; width: auto; }
.foot-brand p { color: var(--muted); font-size: 14.5px; margin-top: 16px; max-width: 320px; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-hi); display: flex; align-items: center; justify-content: center; color: var(--muted); transition: color .2s, border-color .2s; }
.socials a:hover { color: var(--text); border-color: rgba(156, 196, 255, .5); }
.socials svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.foot h4 { font: 500 12px var(--mono); letter-spacing: .02em; color: var(--dim); margin-bottom: 16px; }
.foot ul { list-style: none; display: grid; gap: 10px; }
.foot ul a { color: var(--muted); text-decoration: none; font-size: 14.5px; }
.foot ul a:hover { color: var(--text); }
.foot-bottom { margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 14px; color: var(--dim); font-size: 13px; }
.lang-switch { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; }
.lang-switch a { color: var(--dim); text-decoration: none; }
.lang-switch a:hover { color: var(--text); }
.lang-switch span { color: var(--text); font-weight: 600; }

/* Reveal on scroll (only when JS runs) */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; transition: none; }
  .hero-lockup .dot, .art-tag i { animation: none; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
  .stage .panel-r { display: none; }
  .split, .export-wrap { grid-template-columns: 1fr; gap: 56px; }
  .split.flip > :first-child { order: 0; }
  .chips { grid-template-columns: 1fr 1fr; }
  .nav-links .opt { display: none; }
}
@media (max-width: 900px) {
  .ft-nav-tools { display: none; }
  .steps, .grid6, .reviews, .guides { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .prices { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .stats-row .panel:nth-child(3) { display: none; }
}

/* ---------- Phone ---------- */
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .nav-logo img { height: 26px; }
  .hero { padding-top: 48px; }
  .hero-facts { gap: 10px; }
  .hf-row { gap: 8px 18px; }
  .hero-facts span { font-size: 12px; letter-spacing: .02em; }
  .hero-facts .hf-ic { width: 15px; height: 15px; margin-right: 7px; }
  .hero-facts .hf-ps { width: 18px; height: 18px; }
  .stage { height: 600px; margin-top: 44px; }
  .stage .horizon { height: 600px; --arc: 500px; }
  .stage .horizon::after { width: 1800px; height: 1800px; }
  .stage-row { gap: 0; }
  .art { width: 250px; }
  .stage .panel-l { width: 200px; margin-top: 220px; margin-right: -80px; position: relative; z-index: 3; }
  .stage.vp-stage { padding: 8px 16px 84px; }
  .stage.vp-stage .horizon { --arc: calc(100% - 58px); }
  .vp { border-radius: 14px; }
  .vp-ui { padding: 8px 10px 8px; }
  .vp-row { gap: 6px; }
  .vp-now { display: none; }
  .vp-btn { padding: 0 10px; }
  .sec { padding: 88px 0; }
  .sec-head { margin-bottom: 44px; }
  .steps, .grid6, .reviews, .guides, .chips { grid-template-columns: 1fr; }
  .show .panel { width: 100%; max-width: 340px; }
  .sizes { gap: 10px; flex-wrap: wrap; }
  .size.s916 .frame { width: 84px; height: 150px; }
  .size.s45 .frame { width: 112px; height: 140px; }
  .size.s11 .frame { width: 116px; height: 116px; }
  .size.s169 .frame { width: 240px; height: 135px; }
  .stats-row .panel { width: 50%; }
  .stats-row { gap: 10px; }
  .wrapped { height: 360px; overflow-x: clip; }
  .wcard { width: 170px; }
  .wcard:nth-child(1) { transform: translateX(-96px) rotate(-6deg) scale(.88); }
  .wcard:nth-child(3) { transform: translateX(96px) rotate(6deg) scale(.88); }
  .pc { padding: 26px 22px 24px; }
  .pc-body { padding: 26px 22px 46px; }
  .pc-name { font-size: 26px; }
  .pc-logo img { width: 240px; margin: -9px 0 -9px -4px; }
  .pc-price { font-size: 46px; }
  .pc-old { font-size: 30px; }
  .pc-list li { font-size: 14.5px; }
  .pc.is-ultra .pc-list li.is-key { font-size: 15.5px; }
  .price-trust { display: grid; justify-content: center; justify-items: start; gap: 8px; }
  .pc-also { white-space: normal; }
  .final { padding: 100px 0 240px; }
  .final-mark { height: 46px; }
  .final .horizon::after { width: 1800px; height: 1800px; }
  .foot-top { grid-template-columns: 1fr; gap: 30px; }
  .btn { height: 50px; padding: 0 22px; }
  .hero-ctas .btn { width: 100%; max-width: 340px; }
  .faq summary { font-size: 16.5px; padding: 20px 2px; }
}



/* ---------- Pricing (2026-11-01): exact copy of the first PixelRec site pricing
   (Basic-style card for Pro, Pro-style featured card for Ultra), Ultra inside is black ---------- */
#pricing .pricing-grid { max-width: 980px; margin: 64px auto 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
#pricing .pcard { position: relative; overflow: hidden; text-align: left; padding: 40px; border-radius: 22px; background: #18181b; border: 1px solid rgba(255, 255, 255, .07); font-family: "Inter", system-ui, sans-serif; }
#pricing .pcard-featured { background: linear-gradient(90deg, #0a84ff 0%, #006ee6 100%); border-color: rgba(10, 132, 255, .45); padding: 74px 40px 48px; margin-top: -38px; box-shadow: 0 0 38px rgba(10, 132, 255, .24); }
#pricing .pcard-featured::after { content: ""; position: absolute; left: 1px; right: 1px; top: 38px; bottom: 1px; border-radius: 20px; z-index: 0;
  background: #060709; border: 1px solid rgba(255, 255, 255, .06); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04); }
#pricing .pcard-featured > * { position: relative; z-index: 1; }
#pricing .pcard-ribbon { position: absolute; left: 0; right: 0; top: 0; height: 38px; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 7px;
  color: #fff; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .7px; text-shadow: 0 1px 10px rgba(0, 0, 0, .18); }
#pricing .pcard-ribbon img { width: 15px; height: 15px; display: block; }
#pricing .pname { font-size: 30px; font-weight: 700; line-height: 1.1; letter-spacing: -.6px; margin-bottom: 8px; color: #fff; }
#pricing .pname-with-discount { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
#pricing .pro-weight { font-weight: 900; }
#pricing .discount-badge { display: inline-flex; align-items: center; justify-content: center; padding: 4px 7px; border-radius: 4px; background: #f2e004; border: 1px solid #f2e004; color: #141419; font-size: 11px; font-weight: 800; letter-spacing: 0; line-height: 1; }
#pricing .support-badge { display: inline-flex; align-items: center; justify-content: center; padding: 5px 10px; border-radius: 3px; background: linear-gradient(90deg, #3159d8 0%, #29b7ff 100%); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0; line-height: 1; text-transform: uppercase; }
#pricing .pdesc { max-width: 360px; margin: 0 0 30px; color: #a1a1aa; font-size: 15px; line-height: 1.5; }
#pricing .pprice { font-size: 58px; font-weight: 700; letter-spacing: -2px; line-height: 1; margin-bottom: 4px; color: #fff; }
#pricing .pprice-sale { display: flex; align-items: baseline; gap: 10px; }
#pricing .pprice-row { display: flex; align-items: center; gap: 20px; margin-bottom: 4px; }
#pricing .pprice-row .pprice { margin-bottom: 0; }
#pricing .old-price { position: relative; color: rgba(255, 255, 255, .72); }
#pricing .old-price::after { content: ""; position: absolute; left: -2px; right: -2px; top: 53%; height: 3px; border-radius: 999px; background: #f2e004; transform: rotate(-7deg); }
#pricing .sale-price { color: #fff; }
#pricing .pperiod { font-size: 14px; color: #71717a; margin-bottom: 8px; }
#pricing .pdivider { height: 1px; background: rgba(255, 255, 255, .07); margin: 16px 0 26px; }
#pricing .pfeatures { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 11px; }
#pricing .pfeatures li { display: flex; align-items: center; gap: 11px; font-size: 14px; color: #fff; }
#pricing .chk { width: 20px; height: 20px; flex-shrink: 0; border-radius: 50%; background: #0a84ff; border: 1px solid #0a84ff; display: flex; align-items: center; justify-content: center; font-size: 10px; color: #fff; }
#pricing .feature-pill { display: inline-flex; align-items: center; min-height: 18px; padding: 0 5px; background: linear-gradient(90deg, #0a84ff 0%, #006ee6 100%); color: #fff; border-radius: 3px; font-weight: 700; }
#pricing .pfeatures li.feature-off { color: rgba(255, 255, 255, .38); }
#pricing .off-icon { width: 20px; height: 20px; flex-shrink: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .45); font-size: 14px; line-height: 1; }
#pricing .pbtn { display: flex; width: 100%; align-items: center; justify-content: center; padding: 14px 28px; border-radius: 999px; font: 600 15px "Inter", system-ui, sans-serif; text-decoration: none; transition: all .2s; }
#pricing .pbtn-outline { background: transparent; color: #fafafa; border: 1px solid rgba(255, 255, 255, .12); }
#pricing .pbtn-outline:hover { border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .04); }
#pricing .pbtn-primary { background: #0a84ff; color: #fff; border: 0; }
#pricing .pbtn-primary:hover { opacity: .9; transform: translateY(-1px); box-shadow: 0 8px 28px rgba(10, 132, 255, .32); }
#pricing .pnote { font-size: 12px; color: #71717a; margin-top: 14px; text-align: center; }
#pricing .pnote.is-diff { color: var(--sky); }
@media (max-width: 900px) {
  #pricing .pricing-grid { grid-template-columns: 1fr; max-width: 520px; gap: 64px; }
}
@media (max-width: 640px) {
  #pricing .pcard { padding: 28px 20px; border-radius: 16px; }
  #pricing .pcard-featured { padding: 64px 20px 32px; margin-top: 0; }
  #pricing .pcard-featured::after { top: 36px; border-radius: 14px; }
  #pricing .pcard-ribbon { height: 36px; font-size: 11px; }
  #pricing .pname { font-size: 24px; }
  #pricing .pprice { font-size: 48px; }
  #pricing .pfeatures li { font-size: 13px; }
  #pricing .feature-pill { white-space: normal; }
}
