:root {
  color-scheme: dark;
  --bg: #0b1015;
  --panel: #111920;
  --field: #0c1318;
  --line: #27363e;
  --text: #eef5f4;
  --muted: #a8babf;
  --mint: #80f3d4;
  --ink: #09221d;
  --radius: 1rem;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--text); }
html { scroll-padding-top: 6rem; }
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .6; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 4px; }
p, h1, h2, h3, dl { margin: 0; }
p { color: var(--muted); }
h1, h2, h3 { line-height: 1.1; text-wrap: balance; }
h2 { font-size: clamp(1.8rem, 4vw, 2.85rem); letter-spacing: -.05em; }
h3 { font-size: 1.2rem; letter-spacing: -.024em; }
.wrap { width: min(100% - 3rem, 73rem); margin-inline: auto; }
.skip { position: fixed; inset: .7rem auto auto .7rem; z-index: 5; background: var(--mint); color: var(--ink); padding: .75rem; transform: translateY(-150%); }
.skip:focus { transform: none; }
.topbar { position: sticky; top: 0; z-index: 2; background: #0b1015f5; border-bottom: 1px solid var(--line); }
.navigation { min-height: 4.6rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-weight: 750; font-size: 1.2rem; letter-spacing: -.04em; text-decoration: none; flex-shrink: 0; }
.brand-mark { width: 1.85rem; height: 1.85rem; border-radius: .55rem; background: var(--mint); display: inline-grid; place-items: center; }
.brand-mark::after { content: ""; width: .68rem; height: 1rem; border: 2px solid var(--ink); border-radius: .21rem; background: linear-gradient(var(--ink),var(--ink)) center bottom .12rem / .24rem 1px no-repeat; }
nav { display: flex; flex-wrap: wrap; gap: .2rem 1.5rem; }
nav a, .footer > a:last-child { color: var(--muted); text-decoration: none; font-weight: 550; }
nav a { padding: .55rem 0; }
nav a:hover, .footer > a:last-child:hover { color: var(--mint); }
.button { display: inline-flex; align-items: center; justify-content: center; text-align: center; min-height: 2.85rem; border: 1px solid transparent; border-radius: .65rem; padding: .64rem 1rem; font-weight: 690; text-decoration: none; }
.primary { background: var(--mint); color: var(--ink); }
.primary:hover { background: #a4ffe6; }
.ghost { background: #131c22; border-color: var(--line); color: var(--text); }
.ghost:hover { border-color: var(--mint); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero { padding: clamp(2.6rem, 7vw, 6.35rem) 0 clamp(2.6rem, 6vw, 5rem); display: grid; grid-template-columns: 1.02fr 1fr; align-items: center; gap: clamp(1rem, 4vw, 4rem); }
.eyebrow { color: var(--mint); font-size: .875rem; font-weight: 650; margin-bottom: .85rem; }
h1 { font-size: clamp(3.35rem, 7vw, 6rem); letter-spacing: -.078em; line-height: .94; }
h1 em { color: var(--mint); font-style: normal; }
.lead { font-size: clamp(1rem, 2vw, 1.225rem); max-width: 29rem; margin-top: 1.55rem; }
.section { border-top: 1px solid var(--line); padding: clamp(2.1rem, 5vw, 4rem) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.section-head h2 + p, .integration h2 + p { margin-top: .55rem; }
.catalog-controls, .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.catalog-controls { grid-template-columns: 1.5fr 1fr auto; align-items: end; }
label { display: block; color: var(--muted); font-weight: 600; }
label input:not([type="checkbox"]), label select { width: 100%; min-width: 0; margin-top: .35rem; }
input:not([type="range"], [type="checkbox"]), select { min-height: 2.85rem; color: var(--text); background: var(--field); border: 1px solid var(--line); border-radius: .65rem; padding: .5rem .75rem; font-weight: 500; }
select { appearance: none; background: linear-gradient(45deg,transparent 50%,var(--muted) 50%) right 1.1rem center / .32rem .32rem no-repeat,linear-gradient(135deg,var(--muted) 50%,transparent 50%) right .8rem center / .32rem .32rem no-repeat,var(--field); padding-right: 2rem; }
input[type="range"], input[type="checkbox"] { accent-color: var(--mint); }
.check { min-height: 2.85rem; display: flex; align-items: center; gap: .5rem; }
.check input { inline-size: 1.15rem; block-size: 1.15rem; }
.catalog-status { margin: 1rem 0 .8rem; }
.rental-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.rental-card, .panel, .steps li { min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1rem, 3vw, 1.55rem); }
.rental-card { display: flex; flex-direction: column; align-items: start; gap: .8rem; }
.rental-card h3 { font-size: 1.4rem; overflow-wrap: anywhere; }
.rental-card .button { margin-top: auto; }
.availability { display: inline-flex; align-items: center; gap: .4rem; border-radius: 2rem; padding: .24rem .68rem; color: var(--muted); background: #202b32; font-size: .875rem; font-weight: 650; }
.availability.available { color: var(--mint); background: #13362e; }
.availability::before { content: ""; background: currentColor; width: .42rem; height: .42rem; border-radius: 50%; }
.rental-price { color: var(--text); font-size: 1.5rem; font-weight: 760; }
.rental-price span { color: var(--muted); font-size: .875rem; font-weight: 500; }
.rental-description { overflow-wrap: anywhere; }
.rental-terms { margin: 0; }
.rental-terms legend { padding: 0; }
.rental-card label { width: min(100%, 15rem); }
.text-link { display: inline-block; margin-top: 1rem; color: var(--mint); text-underline-offset: .22rem; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin: 0 0 1rem; }
.plan { display: flex; align-items: start; flex-direction: column; gap: .25rem; text-align: start; padding: clamp(.75rem, 2.5vw, 1.3rem); border-radius: .8rem; background: var(--panel); color: var(--text); border: 1px solid var(--line); }
.plan strong { font-size: 1.16rem; }
.plan .price { font-size: clamp(1.12rem, 3vw, 1.6rem); font-weight: 760; }
.plan small, .plan p { font-size: .875rem; color: var(--muted); }
.plan:hover, .tabs button:hover { border-color: var(--mint); }
.plan[aria-pressed="true"], .tabs button[aria-pressed="true"] { background: #142c28; border-color: var(--mint); }
.plan[aria-pressed="true"] strong { color: var(--mint); }
.workspace { display: grid; grid-template-columns: 1.35fr 1fr; gap: 1rem; align-items: start; }
.tabs { display: flex; gap: .5rem; margin: 1.15rem 0; flex-wrap: wrap; }
.tabs button { min-height: 2.75rem; color: var(--text); background: var(--field); border: 1px solid var(--line); border-radius: .55rem; padding: .42rem .65rem; }
.settings > label, .settings > .fields { margin-top: .85rem; }
.muted { font-size: .875rem; }
#mode-note { margin-top: .4rem; }
.slider b { float: right; color: var(--mint); }
.slider input { min-height: 1.65rem; }
.summary .total { display: block; font-size: clamp(2.3rem, 5vw, 3.45rem); font-weight: 770; color: var(--mint); letter-spacing: -.066em; }
.row { display: flex; gap: .75rem; justify-content: space-between; padding: .65rem 0; border-bottom: 1px solid var(--line); }
.row dt { color: var(--muted); }
.row dd { margin: 0; text-align: end; font-variant-numeric: tabular-nums; }
.credit dd { color: var(--mint); }
#breakdown { margin: 1rem 0; }
.summary .button { margin-top: 1rem; width: 100%; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; list-style: none; padding: 0; margin: 0; }
.steps p { margin-top: .6rem; }
.faq { margin-top: 1.3rem; }
.faq details { border-bottom: 1px solid var(--line); padding: .8rem 0; }
.faq summary { cursor: pointer; font-weight: 650; padding: .24rem 0; }
.faq p { margin: .5rem 0 .25rem; }
.integration { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.integration h2 { font-size: 1.55rem; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.35rem 0 max(1.35rem, env(safe-area-inset-bottom)); margin-top: 1.7rem; border-top: 1px solid var(--line); }
@media (max-width: 760px) {
  .wrap { width: calc(100% - 2rem); }
  .hero { grid-template-columns: 1fr; gap: 1.75rem; }
  .workspace, .steps { grid-template-columns: 1fr; }
  .catalog-controls { grid-template-columns: 1.2fr 1fr; }
  .check { grid-column: 1 / -1; }
  nav { gap: .75rem; }
  .desktop-link { display: none; }
}
@media (max-width: 500px) {
  html { scroll-padding-top: 7rem; }
  .navigation { display: grid; grid-template-columns: 1fr auto; gap: .15rem .6rem; padding: .55rem 0 .15rem; }
  .navigation nav { grid-row: 2; grid-column: 1 / -1; }
  .client-link { min-height: 2.75rem; padding-inline: .72rem; }
  .rental-products, .catalog-controls, .plans, .fields { grid-template-columns: 1fr; }
  .section-head, .integration { align-items: start; flex-direction: column; }
  .plan { display: grid; grid-template-columns: 1fr auto; align-items: baseline; }
  .plan p { grid-column: 1; grid-row: 2; }
  .plan small:first-of-type { display: none; }
  .plan small:last-child { grid-column: 2; grid-row: 2; text-align: end; }
  .actions { gap: .55rem; }
}

/* TrapPhones */
:root {
  --bg: #100d1b;
  --panel: #191428;
  --field: #140f25;
  --line: #382852;
  --text: #f7f1ff;
  --muted: #c7bbda;
  --mint: #bcafff;
  --ink: #1b1130;
  --pink: #ff8bdf;
  --blue: #77e8f9;
}
body { background: radial-gradient(ellipse 65rem 32rem at 85% 8rem,#2d17446b,transparent),var(--bg); }
.topbar { background: #100d1bf0; backdrop-filter: blur(14px); }
.brand-mark { background: linear-gradient(145deg,#ffb2e6,#9c86ff 60%,#79e6fc); }
.primary { background: linear-gradient(105deg,#ffc0eb,#a9a0ff 62%,#8ce7fc); color: #1c1531; box-shadow: 0 4px 28px #8255ba55; }
.primary:hover { background: linear-gradient(105deg,#ffd4f1,#c3b9ff,#a3f0ff); }
.ghost { background: #251c37; }
.eyebrow { color: #dfccff; }
.hero-dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--pink); box-shadow: 0 0 1.1rem var(--pink); display: inline-block; margin-right: .35rem; }
.hero { grid-template-columns: .83fr 1.17fr; gap: clamp(1.1rem, 3vw, 3rem); padding: clamp(2.5rem, 6vw, 5.25rem) 0; }
.hero-copy h1 { font-size: clamp(3.35rem, 8vw, 7rem); }
h1 em { color: #f1a8fe; background: linear-gradient(90deg,#ffd89d,#ff99e2 40%,#a997ff 77%,#8eeefa); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero .lead { max-width: 25rem; }
.section-head h2 { text-wrap: pretty; }
.panel, .rental-card, .plan, .steps li { background: linear-gradient(135deg,#211832,#181426 80%); }
.plan[aria-pressed="true"], .tabs button[aria-pressed="true"] { background: #332352; }
.availability.available { background: #193442; color: #a0f2ff; }
.summary .total { color: var(--pink); }
.hero-visual { min-width: 0; position: relative; isolation: isolate; border: 1px solid #5e4275; border-radius: 2rem; background: radial-gradient(ellipse at 35% 40%,#644390 0%,transparent 63%),radial-gradient(ellipse at 95% 80%,#2f5672 0%,transparent 75%),#241535; box-shadow: 0 1rem 4rem #110a2170; padding: .25rem .75rem 1.05rem; overflow: hidden; }
.hero-visual::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 16% 10%,#f99cd459,transparent 35%),repeating-linear-gradient(115deg,transparent 0 5.4rem,#ffd9fb0a 5.4rem 5.5rem); pointer-events: none; }
.orbit { position: absolute; z-index: -1; pointer-events: none; width: 124%; height: 39%; border: 1px solid #e9aff87d; border-radius: 50%; left: -13%; top: 29%; rotate: -24deg; box-shadow: inset 0 0 3rem #e9a6fc1f,0 0 2rem #d197f963; }
.orbit-b { rotate: 28deg; border-color: #7eceec69; box-shadow: inset 0 0 2.8rem #69d8ef26,0 0 2rem #71d9e94d; }
.orbit-c { left: 12%; width: 76%; top: 18%; height: 63%; border-color: #ffe6fc3b; rotate: 53deg; }
@keyframes orbit-pulse { to { opacity: .55; scale: .94; } }
.orbit-a { animation: orbit-pulse 5s ease-in-out infinite alternate; }
.orbit-b { animation: orbit-pulse 6s ease-in-out infinite alternate-reverse; }
.stage { --phone-width: clamp(9rem,28vw,14.2rem); min-height: clamp(19.5rem,45vw,30.8rem); display: grid; place-items: center; position: relative; isolation: isolate; perspective: 1100px; touch-action: pan-y; }
.device { --yaw: 0deg; --pitch: 0deg; --depth: 12px; --metal: #a486d3; --edge: #614f86; --case: #8770b7; --wall-a: #6d2c69; --wall-b: #351e69; --wall-c: #191134; z-index: 2; width: var(--phone-width); aspect-ratio: 430 / 932; position: relative; isolation: auto; border-radius: 2.15rem; transform-style: preserve-3d; transform: rotateX(var(--pitch)) rotateY(var(--yaw)); transition: transform .55s cubic-bezier(.23,1,.32,1); }
.stage > .device { margin-left: -15%; }
.device.dragging { transition: none; }
.device-front, .device-back { position: absolute; inset: 0; border-radius: inherit; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.device-front { padding: .39rem; background: #0b0a11; border: 2px solid var(--metal); box-shadow: 0 0 0 1px #220b34,inset 0 0 0 1px #ffffff3c,0 1.25rem 2.75rem #09051490; transform: translateZ(6px); }
.device-back { transform: rotateY(180deg) translateZ(6px); border: 2px solid var(--metal); background: linear-gradient(135deg,var(--metal),var(--case) 38%,var(--edge)); color: #f1e9ffb3; display: grid; place-items: center; font-weight: 750; box-shadow: 0 1.25rem 2.75rem #09051490,inset 0 0 0 2px #ffffff4a; }
.device-edge { position: absolute; z-index: -1; background: linear-gradient(90deg,var(--edge),var(--metal) 56%,var(--edge)); transform-style: preserve-3d; }
.edge-left, .edge-right { height: calc(100% - 3.1rem); width: var(--depth); top: 1.55rem; }
.edge-left { left: -6px; transform: rotateY(-90deg); }
.edge-right { right: -6px; transform: rotateY(90deg); }
.edge-top,.edge-bottom { width: calc(100% - 3.1rem); height: var(--depth); left: 1.55rem; }
.edge-top { top: -6px; transform: rotateX(90deg); }
.edge-bottom { bottom: -6px; transform: rotateX(-90deg); }
.camera-island { position: absolute; top: .85rem; left: .85rem; padding: .42rem; display: grid; grid-template-columns: repeat(2,1fr); gap: .26rem; border: 1px solid #ffedff6b; border-radius: .9rem; background: #351c5680; box-shadow: 0 .25rem .5rem #0005; }
.camera-island i,.camera-island b,.pixel-bar i { width: 1.3rem; height: 1.3rem; border-radius: 50%; border: 2px solid #716385; background: radial-gradient(circle at 37% 35%,#789afa 0%,#333c67 20%,#11121c 36%,#252736 64%,#12151f 75%); }
.camera-island b { grid-column: 1; }
.device[data-model="pixel"] { --metal: #9ee9ef; --edge: #376a86; --case: #6295ac; --wall-a: #1c557d; --wall-b: #28649b; --wall-c: #172650; }
.device[data-model="pixel"] .camera-island { left: 6%; right: 6%; grid-template-columns: repeat(3,1fr); justify-items: center; border-radius: 1.1rem; }
.device[data-model="pixel"] .camera-island b { grid-column: 3; }
.device[data-model="galaxy"] { --metal: #fddaab; --edge: #7b5688; --case: #b182a0; --wall-a: #927448; --wall-b: #713c8d; --wall-c: #291f4a; border-radius: 1.45rem; }
.device[data-model="galaxy"] .camera-island { grid-template-columns: 1fr; background: transparent; border: 0; box-shadow: none; }
.device-screen { position: relative; width: 100%; height: 100%; border-radius: 1.49rem; overflow: hidden; color: #fff; background: radial-gradient(ellipse at 25% 90%,var(--wall-a),transparent 54%),radial-gradient(ellipse at 105% 39%,var(--wall-b),transparent 70%),var(--wall-c); }
.device-screen::before { content: ""; position: absolute; inset: 7% -38% -28%; transform: rotate(-25deg); border-radius: 46%; pointer-events: none; background: repeating-radial-gradient(ellipse at 34% 66%,#f7a4f445 0 1px,transparent 2px 23px); mask-image: radial-gradient(ellipse,#000,transparent 69%); }
.device-status { position: absolute; display: grid; grid-template-columns: 1fr 1.9fr 1fr; align-items: center; text-align: center; top: .5rem; inset-inline: .6rem; z-index: 1; font-size: .67rem; font-weight: 750; }
.device-camera { width: 3rem; height: .7rem; border-radius: 1rem; justify-self: center; background: #080712; }
.device[data-model="pixel"] .device-camera,.device[data-model="galaxy"] .device-camera { width: .47rem; height: .47rem; }
.device-signal { line-height: 1; color: #f6efff; }
.device-home { position: absolute; bottom: .34rem; left: 34%; width: 32%; height: 3px; background: #f7edfbcf; border-radius: 1rem; z-index: 4; pointer-events: none; }
.lock-screen { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; padding: 2.75rem .45rem 1.3rem; gap: .15rem; text-align: center; }
.lock-icon { height: .68rem; width: .64rem; background: #f4daff; border-radius: 2px; position: relative; margin-bottom: .43rem; }
.lock-icon::before { content: ""; position: absolute; width: .43rem; height: .47rem; border: 1px solid #f4daff; border-radius: .31rem .31rem 0 0; top: -.32rem; left: .105rem; }
.lock-date { color: #f7dffc; font-size: clamp(.59rem,1.45vw,.82rem); font-weight: 600; }
.lock-clock { color: #fff; font-size: clamp(2.1rem,5.45vw,4.1rem); line-height: 1; font-weight: 710; letter-spacing: -.07em; }
.unlock { margin-top: auto; align-self: stretch; min-height: 2.6rem; margin-inline: .22rem; color: #231338; background: #f7d9ff; border: 1px solid #fff; box-shadow: 0 0 1.8rem #ffc0f17a; font-size: .86rem; }
.unlock:hover { background: #fff; }
.drag-zone { position: absolute; inset: 0; z-index: 1; cursor: grab; touch-action: pan-y; }
.drag-zone:active { cursor: grabbing; }
.pixel-model { position: absolute; z-index: 0; width: min(36%,9.8rem); right: 4%; top: 50%; margin: 0; transform: translateY(-42%) rotate(14deg) skewY(-4deg); pointer-events: none; }
.pixel-shell { aspect-ratio: 430 / 932; position: relative; border: 2px solid #aedce5; border-radius: 1.55rem; background: linear-gradient(115deg,#d5fdff,#85d3db 38%,#4b7b9f 83%); color: #334250; box-shadow: inset 0 0 0 2px #ffffff70,.6rem 1.3rem 2.75rem #080c3189; }
.pixel-model[data-model="galaxy"] .pixel-shell { border-color: #f5d8b9; background: linear-gradient(115deg,#ffe3bf,#bc8c8f 58%,#615779); }
.pixel-model[data-model="iphone"] .pixel-shell { border-color: #f4c8ff; background: linear-gradient(115deg,#f8ceff,#b782d9 56%,#684f9c); }
.pixel-bar { position: absolute; top: .85rem; left: 8%; right: 8%; display: flex; justify-content: center; align-items: center; gap: .25rem; border: 1px solid #d5f8ff; border-radius: .8rem; height: 1.7rem; background: #344f65; }
.pixel-bar i { width: .85rem; height: .85rem; }
.pixel-model[data-model="galaxy"] .pixel-bar { display: grid; left: 10%; right: auto; height: auto; padding: .22rem; background: #4e3a58; border-color: #f5cdd9; }
.pixel-model[data-model="iphone"] .pixel-bar { left: 8%; right: auto; height: auto; width: 2.8rem; padding: .25rem; flex-wrap: wrap; background: #68507f; border-color: #dca6ef; }
.pixel-letter { position: absolute; display: grid; place-items: center; font-weight: 750; inset: 0; pointer-events: none; }
.pixel-model:not([data-model="pixel"]) .pixel-letter { display: none; }
.pixel-model figcaption { color: #f1eeff; text-align: center; font-size: .78rem; margin-top: .54rem; font-weight: 750; text-shadow: 0 1px 3px #160f23; }
.model-nav,.stage-controls { position: relative; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: .5rem; margin-top: .55rem; }
.model-nav p { min-width: min(13rem,62%); text-align: center; color: #fff1ff; font-size: .93rem; font-weight: 720; }
.model-nav .model-button { width: 2.8rem; padding-inline: .3rem; font-size: 1.35rem; }
.model-button { min-height: 2.6rem; padding: .25rem .72rem; border-color: #dec3ff53; border-radius: 1rem; background: #21142fba; color: #fff; font-size: .79rem; }
.model-button:hover,.model-button[aria-pressed="true"] { border-color: #f3b9fb; background: #5b3b77; }
.rotation-hint { color: #f3dffc; font-size: .76rem; text-align: center; margin: .64rem .5rem 0; }
.visually-hidden { position: absolute; overflow: hidden; clip-path: inset(50%); width: 1px; height: 1px; white-space: nowrap; }

.demo-dialog { width: min(100% - .65rem, 42rem); max-height: calc(100dvh - .6rem); min-width: 0; border: 1px solid #865d99; border-radius: 1.35rem; padding: .75rem; color: var(--text); background: radial-gradient(ellipse at 70% 5%,#64397a,#221532 55%,#160f25); box-shadow: 0 0 6rem #9865d957; overflow: visible; }
.demo-dialog::backdrop { background: #0b0716dd; backdrop-filter: blur(9px); }
.demo-top { display: flex; align-items: center; justify-content: space-between; gap: .3rem; padding: .2rem .17rem .65rem; }
.demo-top h2 { font-size: clamp(1rem,4vw,1.5rem); }
.demo-top .button { padding: .3rem .58rem; min-height: 2.5rem; font-size: .9rem; }
.demo-host { --phone-width: min(20.5rem, calc(100vw - 2.6rem), calc((100dvh - 6.25rem) * .4614)); display: grid; place-items: center; min-width: 0; }
.demo-host .device { max-height: calc(100dvh - 6.25rem); }
.device-desktop { position: absolute; inset: 1.9rem .18rem .72rem; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; color: #fefbff; }
.demo-home,.demo-app { min-height: 100%; padding: .65rem .6rem .45rem; }
.demo-kicker { color: #ffd6f4; font-weight: 670; font-size: .78rem; margin-bottom: .3rem; }
.demo-home h2 { color: #fff; font-size: clamp(1rem,4.8vw,1.7rem); }
.demo-apps { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin: .9rem 0; }
.app-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .28rem; min-width: 0; min-height: 3.1rem; padding: .36rem .2rem; color: #fff; background: #120e2a8c; border: 1px solid #e1c2ff44; border-radius: .8rem; font-size: .84rem; }
.app-btn:hover { background: #7151a5; }
.app-icon { width: clamp(1.5rem,5vw,2.4rem); aspect-ratio: 1; border-radius: .62rem; display: inline-grid; place-items: center; font-size: 1.18rem; font-style: normal; color: #1a1636; }
.app-rental { background: #a6a7ff; }.app-notes { background: #ffda9e; }.app-photo { background: #a3e8fc; }.app-about { background: #f7abde; }
.app-bar { display: flex; align-items: center; gap: .52rem; margin-bottom: .65rem; }
.app-bar h2 { font-size: 1.1rem; }
.app-back,.screen-fallback { color: #fff; background: #1f153c; border: 1px solid #c4a4fb71; border-radius: .53rem; padding: .3rem .53rem; font-size: .8rem; min-height: 2.15rem; }
.screen-button { min-height: 2.6rem; width: 100%; background: linear-gradient(115deg,#ffc7ed,#acb8ff); color: #201334; font-size: .85rem; padding: .4rem .5rem; }
.screen-button:hover { filter: brightness(1.1); }
.screen-rental { display: grid; gap: .32rem; }
.app-content label,.screen-status,.app-content p { color: #f5e8ff; font-size: .84rem; font-weight: 550; }
.app-content p + p,.app-content button + p,.screen-fallback { margin-top: .54rem; }
.screen-rental select,.app-content textarea { width: 100%; min-height: 2.55rem; font-size: 1rem; }
.app-content textarea { resize: vertical; margin: .35rem 0; background: #1c1232; color: #fff; border: 1px solid #c6a7fa69; border-radius: .5rem; padding: .45rem; font: inherit; font-size: 1rem; }
#screen-total { font-size: 1.25rem; font-weight: 760; margin: .24rem 0; }
.demo-photo { aspect-ratio: 1.75; border-radius: .75rem; margin-bottom: .5rem; background: radial-gradient(circle at 64% 35%,#fef0a6 0 10%,transparent 11%),linear-gradient(153deg,#522473,#a0579d 48%,#24134c 49%,#445998); }
@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { --phone-width: clamp(9rem,32vw,13.8rem); }
  .stage { min-height: clamp(18rem,55vw,26rem); }
  .pixel-model { width: min(34%,9.8rem); right: 12%; }
}
@media (max-width: 480px) {
  .hero { padding: 2.2rem 0; gap: 1.25rem; }
  .hero-copy h1 { font-size: clamp(2.9rem,12vw,4rem); }
  .stage > .device { margin-left: -21%; }
  .hero-visual { border-radius: 1.45rem; padding-inline: .42rem; }
  .pixel-model { right: 5%; }
  .pixel-model figcaption { font-size: .68rem; }
  .rotation-hint { margin-inline: .3rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.stage .lock-screen { touch-action: none; }
.lock-swipe { color: #efe2fb; font-size: .7rem; margin-top: .23rem; }
.demo-host .device-screen { filter: brightness(var(--brightness,1)); }
.device[data-wallpaper="neon"] .device-screen { --wall-a: #154c74; --wall-b: #dc388f; --wall-c: #211d45; }
.device[data-wallpaper="night"] .device-screen { --wall-a: #16194d; --wall-b: #233362; --wall-c: #090c23; }
.demo-host .device-home { display: none; }
.device-desktop { bottom: 2.45rem; }
.demo-apps { grid-template-columns: repeat(3,minmax(0,1fr)); }
.app-btn { font-size: clamp(.56rem,2.8vw,.8rem); overflow-wrap: anywhere; text-align: center; }
.app-gallery{background:#e9abea}.app-calculator{background:#e2d0ff}.app-dialer{background:#abf4d4}.app-messages{background:#a6c6ff}.app-settings{background:#ffbbd8}
.demo-nav { display: flex; justify-content: space-around; gap: .12rem; align-items: center; position: absolute; left: .22rem; right: .22rem; bottom: .2rem; padding-inline: .35rem; z-index: 8; border-radius: .65rem; background: #18122dea; }
.demo-nav button { border: 0; background: none; color: #f7edff; min-width: 2.7rem; height: 2.2rem; font-size: 1rem; border-radius: .5rem; }
.demo-nav button:hover { background: #b98be254; }
.quick-panel { position: absolute; inset: 1.8rem .45rem 2.6rem; z-index: 6; background: #211738; border: 1px solid #d1a6fa7a; border-radius: .85rem; padding: .65rem; }
.quick-panel h2 { font-size: 1.1rem; margin-bottom: .75rem; }
.quick-panel .button { display: block; width: 100%; margin-top: .4rem; }
.quick-panel button[aria-pressed="true"] { color: #241536; background: #dbb4ff; border-color: #eccfff; }
.gallery-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .45rem; }
.gallery-grid figure { margin: 0; font-size: .67rem; }
.gallery-grid .demo-photo { margin-bottom: .21rem; }
.calc-display { display: block; padding: .55rem; min-height: 2.85rem; margin-bottom: .4rem; background: #1a122e; border: 1px solid #ac7ec96e; border-radius: .6rem; color: #f9eaff; text-align: right; font-size: 1.36rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.dialer-display { text-align: center; }
.phone-keys { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .3rem; margin-bottom: .55rem; }
.phone-keys button { border: 1px solid #ceb1e76e; border-radius: .42rem; background: #442c6174; color: #fff; min-height: 2.4rem; padding: 0; }
.phone-keys button:hover { background: #6c4b9b; }
.dialer-keys { grid-template-columns: repeat(3,minmax(0,1fr)); }
.message-list { display: flex; flex-direction: column; align-items: stretch; gap: .4rem; list-style: none; margin: 0 0 .55rem; padding: 0; }
.message-list li { margin-left: auto; padding: .32rem .55rem; border-radius: .6rem .6rem 0 .6rem; background: #7759b2; color: #fff; font-size: .85rem; overflow-wrap: anywhere; max-width: 100%; }
#demo-message-form { display: grid; gap: .4rem; }
#demo-message-form input { min-width: 0; font-size: 1rem; }
#app-settings select { width: 100%; margin-top: .28rem; }

.device.zooming { pointer-events: none; }

/* ==== Demo systemu: iOS / Android (podgląd, nie streaming) ==== */
.device { --ios-font: -apple-system, "SF Pro Text", "SF Pro Display", BlinkMacSystemFont, system-ui, Inter, "Helvetica Neue", Arial, sans-serif; --and-font: "Google Sans", "Google Sans Text", Roboto, Inter, system-ui, "Segoe UI", sans-serif; }
.device[data-os] .device-screen { container-type: size; font-family: var(--ios-font); -webkit-font-smoothing: antialiased; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.device[data-os="android"] .device-screen { font-family: var(--and-font); }
.device[data-os] .device-screen svg { display: block; }
:where(.device[data-os] .device-screen button) { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
.device[data-os] .device-screen input, .device[data-os] .device-screen textarea { user-select: text; -webkit-user-select: text; }
/* Tapety — iOS: wyczuwalny klimat iOS 26 (mint/błękit) + plik ios-wall.webp */
.device[data-os="ios"] .device-screen { background-color: #1a4a8a; background-image:
  url("/trapphones/ios-wall.webp?v=6f78904dd7"),
  radial-gradient(70% 45% at 18% 62%, #96e1dc 0, #96e1dc00 70%),
  radial-gradient(70% 50% at 92% 48%, #aad7f5 0, #aad7f500 72%),
  linear-gradient(180deg, #4a6a8c, #1e64af 70%, #1450a0); background-size: cover; background-position: center; }
.device[data-os="android"][data-model="pixel"] .device-screen { background:
  radial-gradient(55% 32% at 82% 18%, #9cc4ff 0, #9cc4ff00 70%),
  radial-gradient(70% 40% at 8% 60%, #3b7cc4 0, #3b7cc400 72%),
  radial-gradient(60% 35% at 90% 88%, #7ae0d4 0, #7ae0d400 72%),
  linear-gradient(180deg, #143155, #0c1d36 55%, #081224); }
.device[data-os="android"][data-model="galaxy"] .device-screen { background:
  radial-gradient(60% 40% at 18% 18%, #f6c6a4 0, #f6c6a400 70%),
  radial-gradient(70% 45% at 95% 70%, #a05dc4 0, #a05dc400 72%),
  radial-gradient(50% 30% at 40% 90%, #3a1f6a 0, #3a1f6a00 70%),
  linear-gradient(180deg, #2a1540, #12091f); }
.device[data-wallpaper="neon"][data-os] .device-screen { background: radial-gradient(70% 45% at 20% 20%, #00e1ff 0, #00e1ff00 70%), radial-gradient(70% 50% at 90% 80%, #ff2fa0 0, #ff2fa000 70%), #12082b; }
.device[data-wallpaper="night"][data-os] .device-screen { background: radial-gradient(60% 40% at 70% 10%, #334a9a 0, #334a9a00 70%), linear-gradient(#0a0d22, #03040c); }
.device[data-os] .device-screen::before { content: none; }
.device[data-os="android"] .device-screen::after { content: ""; position: absolute; inset: 30% -30% auto 40%; aspect-ratio: 1; border-radius: 42% 58% 55% 45%; background: #a8c7fa1c; pointer-events: none; }
.device[data-os="android"][data-model="pixel"] { border-radius: 1.75rem; }
.device[data-os="android"] .device-screen { border-radius: 1.3rem; }

/* Pasek stanu — iOS 26: godzina z lewej, Dynamic Island na środku, tylko bateria z prawej */
.sb { position: absolute; z-index: 9; top: 0; inset-inline: 0; height: 12cqw; display: grid; grid-template-columns: 1fr 34cqw 1fr; align-items: center; pointer-events: auto; touch-action: none; color: #fff; padding-inline: 7.2cqw 5.2cqw; }
.sb-time { justify-self: start; font-size: 4cqw; font-weight: 600; letter-spacing: -.02em; padding: 0; }
.sb-cam { justify-self: center; width: 29cqw; height: 8.6cqw; border-radius: 99px; background: #000; margin-top: .35cqw; box-shadow: 0 0 0 .35cqw #000; }
.sb-icons { justify-self: end; display: flex; align-items: center; gap: 1.2cqw; }
.sb-signal { width: 4.6cqw; fill: #fff; }
.sb-net { font-size: 3.3cqw; font-weight: 650; }
.sb-batt { position: relative; width: 6.6cqw; height: 3.2cqw; border: .3cqw solid #ffffff8c; border-radius: 1.05cqw; padding: .3cqw; margin-right: .9cqw; }
.sb-batt::after { content: ""; position: absolute; right: -1cqw; top: 30%; width: .55cqw; height: 40%; border-radius: 0 1cqw 1cqw 0; background: #ffffff8c; }
.sb-batt i { display: block; height: 100%; width: 82%; background: #fff; border-radius: .5cqw; }
.device[data-os="android"] .sb { height: 9cqw; grid-template-columns: 1fr auto 1fr; padding-inline: 6cqw; }
.device[data-os="android"] .sb-time { justify-self: start; font-size: 3.7cqw; font-weight: 500; padding: 0; }
.device[data-os="android"] .sb-cam { width: 3.7cqw; height: 3.7cqw; margin: 0; }
.device[data-os="android"] .sb-icons { justify-self: end; gap: 1cqw; }
.device[data-os="android"] .sb-signal { width: 3.3cqw; }
.sb-wifi { width: 3.8cqw; fill: #fff; }
.device[data-os="android"] .sb-net { font-size: 3cqw; font-weight: 500; }
.device[data-os="android"] .sb-batt { width: 2.6cqw; height: 4.4cqw; border: 0; padding: 0; border-radius: .6cqw; background: #ffffff55; margin: 0 0 0 .4cqw; display: flex; align-items: flex-end; overflow: hidden; }
.device[data-os="android"] .sb-batt::after { content: none; }
.device[data-os="android"] .sb-batt i { width: 100%; height: 85%; border-radius: 0; }
.device-status, .device-camera, .device-signal { display: none; }

/* Ekran blokady */
.device[data-os] .lock-screen { padding: 15cqw 5cqw 4cqw; gap: 0; color: #fff; }
.device[data-os] .lock-icon { transform: scale(.9); margin-bottom: 2cqw; background: #fff; }
.device[data-os] .lock-icon::before { border-color: #fff; }
.device[data-os] .lock-date { color: #ffffffe0; font-size: 4.6cqw; font-weight: 600; text-transform: none; }
.device[data-os] .lock-clock { font-size: 24cqw; font-weight: 700; letter-spacing: -.02em; line-height: 1.02; color: #fff; font-feature-settings: "tnum"; text-shadow: 0 .5cqw 4cqw #0003; }
.lock-glance, .lock-fp { display: none; }
.lock-note { display: flex; gap: 2.6cqw; align-items: flex-start; text-align: left; width: 100%; margin-top: auto; padding: 3cqw; border-radius: 5.2cqw; background: #ffffff2e; -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); font-size: 3.2cqw; line-height: 1.3; }
.ln-icon { flex: 0 0 8cqw; height: 8cqw; border-radius: 1.9cqw; background: linear-gradient(135deg, #ff7ad9, #7b5cff); }
.ln-text { display: grid; grid-template-columns: 1fr auto; column-gap: 1cqw; min-width: 0; }
.ln-text b { font-weight: 650; }
.ln-text small { color: #ffffffb0; font-size: 2.8cqw; }
.ln-text span { grid-column: 1 / -1; }
.lock-bottom { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2cqw; margin-top: 4cqw; }
.lock-qa { flex: 0 0 11.5cqw; height: 11.5cqw; border-radius: 50%; display: grid; place-items: center; background: #00000040; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lock-qa svg { width: 50%; fill: #fff; }
.device[data-os] .unlock { flex: 1; margin: 0; min-height: max(2.2rem, 10cqw); padding: 0 2cqw; border-radius: 99px; color: #fff; background: #ffffff33; border: 1px solid #ffffff4d; box-shadow: none; font-size: max(.7rem, 3.6cqw); font-weight: 650; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); white-space: nowrap; }
.device[data-os] .unlock:hover { background: #ffffff55; }
.device[data-os] .lock-swipe { color: #ffffffb3; font-size: 2.9cqw; margin-top: 2.4cqw; }
.device[data-os] .device-home { bottom: 1.6cqw; left: 32cqw; width: 36cqw; height: 1.4cqw; background: #fff; border-radius: 9px; }
/* Android – blokada */
.device[data-os="android"] .lock-icon { display: none; }
.device[data-os="android"] .lock-screen { padding-top: 16cqw; }
.device[data-os="android"] .lock-clock { order: -1; display: flex; flex-direction: column; font-size: 27cqw; font-weight: 400; line-height: .9; letter-spacing: 0; color: #d6e3ff; text-shadow: none; }
.device[data-os="android"][data-model="galaxy"] .lock-clock { color: #ffe1cc; }
.device[data-os="android"] .lock-date { font-size: 4cqw; font-weight: 500; margin-top: 4cqw; }
.device[data-os="android"] .lock-glance { display: flex; align-items: center; gap: 1.2cqw; font-size: 3.8cqw; margin-top: 1cqw; }
.lock-glance svg { width: 4.6cqw; fill: #fff; }
.device[data-os="android"] .lock-note { background: #1d2a3fcc; border-radius: 6cqw; }
.device[data-os="android"] .ln-icon { border-radius: 50%; }
.device[data-os="android"] .lock-fp { display: block; width: 11cqw; margin-top: 5cqw; }
.lock-fp svg { fill: none; stroke: #fff; stroke-width: 1.4; stroke-linecap: round; }
.device[data-os="android"] .lock-swipe { display: none; }
.device[data-os="android"] .device-home { left: 36cqw; width: 28cqw; height: 1.1cqw; bottom: 1.8cqw; }

/* Pulpit */
.device[data-os] .device-desktop { inset: 0; overflow: hidden; color: #fff; }
.device[data-os] .demo-home { min-height: 100%; height: 100%; padding: 0; }
.home-screen { height: 100%; display: flex; flex-direction: column; padding: 14cqw 5.5cqw 0; }
.home-ios { padding: 0; position: relative; }
.ios-real-home { position: relative; width: 100%; aspect-ratio: 430 / 878; height: auto; max-height: 100%; flex: 0 1 auto; margin: 0 auto; }
.ios-real { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.ios-hotspots { position: absolute; inset: 0; touch-action: manipulation; }
.ios-hit { position: absolute; margin: 0; padding: 0; border: 0; background: transparent; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.ios-hit:focus-visible { outline: .45cqw solid #fff; outline-offset: .3cqw; background: #ffffff1a; }
.ios-hit:active, .ios-hit.is-pressed { background: #ffffff2e; box-shadow: inset 0 0 0 999px #00000014; }
.ic-btn { all: unset; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; min-width: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ic-btn:focus-visible .ic { outline: 2px solid #fff; outline-offset: 2px; }
.ic-btn:active .ic { filter: brightness(.7); transform: scale(.94); }
.ic { position: relative; display: grid; place-items: center; width: 15.4cqw; aspect-ratio: 1; border-radius: 23%; overflow: hidden; --icbg: #fff; color: #fff; background: var(--icbg); box-shadow: 0 .4cqw 1.6cqw #0003; transition: transform .15s; }
.ic svg { width: 72%; height: 72%; fill: currentColor; }
.ic.bleed svg { width: 100%; height: 100%; }
.ic .cut { fill: var(--cut, var(--icbg)); }
.ic .cutl { fill: none; stroke: var(--cut, var(--icbg)); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.ic .strk { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ic .teeth { fill: none; stroke: currentColor; stroke-width: 3.4; stroke-dasharray: 2.05 1.77; }
.ic .face { fill: none; stroke: currentColor; stroke-width: 1.6; }
.ic .hands path { stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.ic .hands .ss { stroke-width: .7; }
.ic .ticks { stroke: currentColor; stroke-width: .9; }
.ic .cal-wd { font-size: 4.4px; font-weight: 600; fill: currentColor; font-family: inherit; }
.ic .cal-d { font-size: 12.5px; font-weight: 400; fill: currentColor; font-family: inherit; }
.ic-label { margin-top: 1.4cqw; max-width: 22cqw; font-size: 2.85cqw; line-height: 1.15; font-weight: 500; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 .2cqw 1cqw #0006; }
/* iOS: kolory ikon */
.home-ios .ic, .device[data-os="ios"] .ic { --cut: #fff; }
.ic-facetime, .ic-phone, .ic-messages { --icbg: linear-gradient(#64f47f, #0dbe3a); --cut: #1fcf4c; }
.ic-calendar { --icbg: #fff; color: #111; }
.home-ios .ic-calendar .cal-wd { fill: #ff3b30; }
.ic-photos { --icbg: #fff; }
.ic-photos svg { width: 84%; height: 84%; }
.ic-photos .p0 { fill: #ffb800; } .ic-photos .p1 { fill: #ff8a00; } .ic-photos .p2 { fill: #ff3d5a; } .ic-photos .p3 { fill: #d24bd8; }
.ic-photos .p4 { fill: #8a5cf6; } .ic-photos .p5 { fill: #3d8bff; } .ic-photos .p6 { fill: #2ec5a8; } .ic-photos .p7 { fill: #9bd84a; }
.ic-photos ellipse { mix-blend-mode: multiply; opacity: .88; }
.ic-camera { --icbg: linear-gradient(#ececf0, #a5a5ad); --cut: #c9c9ce; color: #2c2c2e; }
.ic-mail { --icbg: linear-gradient(#22c3ff, #1572f0); --cut: #1d96f8; }
.ic-notes { --icbg: #fff; color: #fcc419; }
.ic-clock { --icbg: #0b0b0c; color: #111; }
.home-ios .ic-clock .face { fill: #fff; stroke: none; }
.home-ios .ic-clock .hands .ss { stroke: #ff9500; }
.home-ios .ic-clock .pin { fill: #ff9500; }
.home-ios .ic-clock svg { width: 88%; height: 88%; }
.ic-weather { --icbg: linear-gradient(#4aa8f8, #1362d6); }
.home-ios .ic-weather .sun { fill: #ffd60a; }
.ic-maps { --icbg: linear-gradient(135deg, #b8e5a3, #f1eddd 60%, #d8ecf8); }
.ic-calculator { --icbg: #2c2c2e; color: #ff9f0a; }
.ic-rental { --icbg: linear-gradient(135deg, #ff7ad9, #7b5cff); }
.ic-settings { --icbg: linear-gradient(#e7e7ec, #9d9da4); --cut: #c2c2c8; color: #55555b; }
.ic-safari { --icbg: #fff; color: #fff; }
.home-ios .ic-safari .face { fill: #1a8cff; stroke: none; }
.home-ios .ic-safari .nw { fill: #ff3b30; } .home-ios .ic-safari .se { fill: #fff; }
.home-ios .ic-safari svg { width: 88%; height: 88%; }
.ic-music { --icbg: linear-gradient(#ff6f87, #fb233b); }
.ic-browser { --icbg: linear-gradient(#4f9cff, #1a5fd8); }
/* iOS układ pulpitu */
.ios-grid { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 3cqw; row-gap: 5cqw; justify-items: center; }
.widget { grid-column: span 2; width: 100%; aspect-ratio: 1; border-radius: 5.6cqw; padding: 3.4cqw; display: flex; flex-direction: column; text-align: left; font-size: 3cqw; line-height: 1.2; box-shadow: 0 .4cqw 1.6cqw #0003; margin-bottom: -1.4cqw; }
.w-weather { background: linear-gradient(#3a82d6, #1f5aa8); }
.w-weather b { font-weight: 600; }
.w-temp { font-size: 10cqw; font-weight: 300; line-height: 1.1; }
.w-ico { width: 5.4cqw; fill: #fff; margin-top: auto; }
.w-ico .sun { fill: #ffd60a; }
.w-weather small, .w-cal span { font-size: 2.7cqw; font-weight: 600; margin-top: .8cqw; }
.w-cal { background: #fff; color: #111; }
.w-wd { color: #ff3b30; font-weight: 700; font-size: 2.6cqw; }
.w-cal b { font-size: 11cqw; font-weight: 300; line-height: 1; }
.w-cal span { color: #8e8e93; margin-top: auto; }
.ios-search { margin: auto auto 3cqw; display: flex; align-items: center; gap: 1cqw; padding: 1.3cqw 3.2cqw; border-radius: 99px; background: #ffffff33; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 2.9cqw; font-weight: 600; }
.ios-search svg { width: 3cqw; fill: none; stroke: #fff; stroke-width: 2.6; }
.home-ios .dock { display: grid; grid-template-columns: repeat(4, 1fr); justify-items: center; margin: 0 -2.5cqw 4cqw; padding: 3.4cqw 2.5cqw; border-radius: 9.5cqw; background: #ffffff38; -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); }
/* Android (Pixel / Material You) – pulpit */
.home-android { padding: 13cqw 5.2cqw 3.2cqw; }
.glance { display: grid; gap: .8cqw; margin: 3.5cqw 0 0 1.2cqw; font-size: 5.6cqw; text-align: left; }
.glance b { font-weight: 400; letter-spacing: -.02em; }
.glance span { display: flex; align-items: center; gap: 1.2cqw; font-size: 3.8cqw; opacity: .92; }
.glance svg { width: 4.6cqw; fill: #fff; }
.glance .sun { fill: #ffd27a; }
.and-grid { margin-top: auto; display: grid; grid-template-columns: repeat(4, 1fr); row-gap: 4.6cqw; justify-items: center; padding-bottom: 3cqw; }
.and-dock-wrap { margin-top: 2cqw; }
.home-android .ic { border-radius: 50%; width: 14.6cqw; --icbg: var(--m3-ic-bg, #253651); color: var(--m3-ic-fg, #c2d7ff); --cut: var(--m3-ic-bg, #253651); box-shadow: none; }
.home-android .ic svg { width: 58%; height: 58%; }
.home-android .ic .teeth { stroke-width: 3.4; }
.home-android .ic-photos ellipse { opacity: .9; mix-blend-mode: normal; fill: currentColor; }
.home-android .ic-photos ellipse:nth-child(even) { opacity: .55; }
.home-android .ic-clock .face { fill: currentColor; stroke: none; }
.home-android .ic-clock .hands path, .home-android .ic-clock .pin { stroke: var(--m3-ic-bg, #253651); fill: var(--m3-ic-bg, #253651); }
.home-android .ic-calendar .cal-d { font-size: 13px; font-weight: 500; transform: translateY(-2px); }
.home-android .ic-label { font-size: 2.9cqw; font-weight: 400; text-shadow: 0 .2cqw .8cqw #0007; }
.device[data-model="galaxy"] .home-android { --m3-ic-bg: #4a3a30; --m3-ic-fg: #ffd9bf; }
.home-android .dock { display: grid; grid-template-columns: repeat(4, 1fr); justify-items: center; margin-top: 2.4cqw; padding: 2.6cqw 1.5cqw 1.4cqw; }
.home-android .and-search { display: flex; align-items: center; gap: 2cqw; margin: 0 1cqw; padding: 2.2cqw 3.4cqw; border-radius: 99px; background: #1c2a3ccc; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 .4cqw 1.6cqw #0004; font-size: 3.4cqw; font-weight: 500; }
.home-android .and-search b { display: grid; place-items: center; width: 6.2cqw; height: 6.2cqw; border-radius: 50%; background: #fff; color: #1a73e8; font-size: 3.6cqw; font-weight: 700; }
.home-android .and-search span { flex: 1; opacity: .72; }
.home-android .and-search svg { width: 4.4cqw; height: 4.4cqw; fill: none; stroke: #fff; stroke-width: 1.7; }
.device[data-model="galaxy"] .and-search { background: #3a2a28cc; border-radius: 4cqw; }
.device[data-model="galaxy"] .and-search b { background: #ffd9bf; color: #4a3a30; }

/* Okno aplikacji */
.device[data-os] .demo-app { position: absolute; inset: 0; z-index: 3; min-height: 0; overflow: auto; overscroll-behavior: contain; scrollbar-width: none; padding: 13cqw 4.5cqw 9cqw; background: #000; font-size: 3.9cqw; transform-origin: center; }
.device[data-os] .demo-app::-webkit-scrollbar { display: none; }
.device[data-os] .app-bar { display: flex; flex-direction: column; align-items: flex-start; gap: 1cqw; margin: 0 0 3cqw; }
.device[data-os] .app-back { display: flex; align-items: center; gap: .4cqw; min-height: 8cqw; padding: 0; margin-left: -1.6cqw; background: none; border: 0; color: #0a84ff; font-size: 4.2cqw; cursor: pointer; }
.app-back svg { width: 5.6cqw; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.device[data-os] .app-bar h2 { font-size: 8.2cqw; font-weight: 700; letter-spacing: -.01em; outline: none; }
.device[data-os] .app-content, .device[data-os] .app-content p, .device[data-os] .app-content label, .device[data-os] .screen-status { color: #fff; font-size: 3.8cqw; font-weight: 400; }
.device[data-os] .screen-status { color: #98989f; margin-top: 2.4cqw; font-size: 3.3cqw; }
.device[data-os] .demo-app input, .device[data-os] .demo-app select, .device[data-os] .demo-app textarea { font-family: inherit; font-size: 3.9cqw; }
@media (pointer: coarse) { .device[data-os] .demo-app input:not([type="range"]):not([type="checkbox"]), .device[data-os] .demo-app select, .device[data-os] .demo-app textarea { font-size: max(16px, 3.9cqw); } }
.device[data-os] .screen-button { min-height: 10.5cqw; border-radius: 3cqw; background: #0a84ff; color: #fff; font-weight: 600; font-size: 3.9cqw; border: 0; display: flex; align-items: center; justify-content: center; }
.device[data-os] .screen-fallback { background: none; border: 0; color: #0a84ff; padding: 0; min-height: 8cqw; font-size: 3.8cqw; }
.device[data-os] .screen-rental { background: #1c1c1e; border-radius: 3cqw; padding: 3.5cqw; gap: 1.6cqw; }
.device[data-os] .screen-rental select { min-height: 9cqw; border-radius: 2cqw; border: 0; background: #2c2c2e; color: #fff; padding: 0 2cqw; }
.device[data-os] #screen-total { font-size: 7cqw; font-weight: 700; }
/* Ustawienia */
.set-search { display: none; }
.set-profile { display: flex; align-items: center; gap: 3cqw; padding: 3cqw 3.5cqw; margin-bottom: 6cqw; background: #1c1c1e; border-radius: 3cqw; }
.set-avatar { flex: 0 0 13cqw; height: 13cqw; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(#a3a3ab, #6d6d73); font-weight: 600; font-size: 5cqw; }
.set-profile b { display: block; font-size: 4.4cqw; font-weight: 600; }
.set-profile small { color: #98989f; font-size: 3cqw; }
.set-group { list-style: none; margin: 0 0 6cqw; padding: 0; background: #1c1c1e; border-radius: 3cqw; overflow: hidden; }
.set-group li { position: relative; display: flex; align-items: center; gap: 3cqw; min-height: 11cqw; padding: 1.4cqw 3.5cqw; }
.set-group li + li::before { content: ""; position: absolute; top: 0; left: 13.5cqw; right: 0; border-top: 1px solid #38383a; }
.set-group li > span:not(.si), .set-group li > label { flex: 1; color: #fff; font-size: 3.9cqw; }
.set-group em { font-style: normal; color: #98989f; margin-left: auto; }
.set-group em::after { content: " ›"; color: #5a5a5f; font-size: 4.6cqw; }
.si { flex: 0 0 7cqw; height: 7cqw; border-radius: 1.7cqw; display: grid; place-items: center; }
.si svg { width: 72%; fill: #fff; }
.si-orange { background: #ff9500; } .si-blue { background: #0a84ff; } .si-green { background: #30d158; } .si-cyan { background: #32ade6; } .si-grey { background: #8e8e93; }
.set-slider { flex-wrap: wrap; }
.set-slider input[type="range"] { flex: 1 0 100%; accent-color: #0a84ff; margin: 0 0 1cqw; }
#app-settings select { width: auto; margin: 0; background: none; border: 0; color: #98989f; text-align: right; }
.switch { appearance: none; -webkit-appearance: none; flex: 0 0 13cqw; height: 7.8cqw; margin: 0; border-radius: 99px; background: #39393d; position: relative; cursor: pointer; transition: background .2s; }
.switch::before { content: ""; position: absolute; top: .6cqw; left: .6cqw; width: 6.6cqw; height: 6.6cqw; border-radius: 50%; background: #fff; box-shadow: 0 .4cqw 1cqw #0004; transition: transform .2s; }
.switch:checked { background: #30d158; }
.switch:checked::before { transform: translateX(5.2cqw); }
/* Notatki */
.device[data-os] #app-notes textarea { width: 100%; min-height: 60cqw; border: 0; background: none; color: #fff; padding: 0; margin: 0; resize: none; outline: none; line-height: 1.4; }
.notes-done { position: absolute; top: 14cqw; right: 4.5cqw; background: none; border: 0; color: #ffd60a !important; font-weight: 600 !important; font-size: 4.2cqw; cursor: pointer; }
.demo-app[data-app="notes"] .app-back { color: #ffd60a; }
/* Aparat */
.demo-app[data-app="photo"] { padding-top: 10cqw !important; }
.demo-app[data-app="photo"] .app-bar h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.demo-app[data-app="photo"] .app-back { color: #fff; position: absolute; top: 2cqw; left: 4cqw; z-index: 2; }
.cam-top { display: flex; justify-content: space-between; padding: 1cqw 6cqw 2cqw; font-size: 3cqw; font-weight: 600; color: #fff; }
.device[data-os] .viewfinder { position: relative; aspect-ratio: 3 / 4; margin: 0 -4.5cqw; border-radius: 0; background: radial-gradient(circle at 64% 32%, #fff2b0 0 9%, #fff2b000 10%), linear-gradient(160deg, #6f8fb8, #b88ea3 45%, #3e4f2e 46%, #26331c); }
.cam-grid { position: absolute; inset: 0; background: linear-gradient(90deg, transparent 33%, #ffffff33 33% calc(33% + 1px), transparent 0 66%, #ffffff33 66% calc(66% + 1px), transparent 0), linear-gradient(transparent 33%, #ffffff33 33% calc(33% + 1px), transparent 0 66%, #ffffff33 66% calc(66% + 1px), transparent 0); }
.cam-modes { display: flex; justify-content: center; gap: 4cqw; margin: 3cqw 0 2cqw; font-size: 3cqw !important; letter-spacing: .04em; color: #fff !important; }
.cam-modes b { color: #ffd60a; font-weight: 600; }
.cam-bar { display: flex; align-items: center; justify-content: space-between; padding: 0 5cqw; }
.cam-thumb { width: 10.5cqw; height: 10.5cqw; border-radius: 2cqw; border: 0; background: linear-gradient(160deg, #6f8fb8, #b88ea3 45%, #3e4f2e 46%); cursor: pointer; }
.shutter { width: 18cqw; height: 18cqw; border-radius: 50%; background: #fff; border: 1.1cqw solid #000; box-shadow: 0 0 0 1cqw #fff; cursor: pointer; }
.shutter:active { transform: scale(.92); }
.cam-flip { width: 10.5cqw; height: 10.5cqw; border-radius: 50%; background: #ffffff26; }
/* Zdjęcia */
.device[data-os] .gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6cqw; margin: 0 -4.5cqw; }
.device[data-os] .gallery-grid figure { margin: 0; }
.device[data-os] .gallery-grid .demo-photo { aspect-ratio: 1; border-radius: 0; margin: 0; }
.device[data-os] .gallery-grid figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
/* Kalkulator */
.demo-app[data-app="calculator"] .app-bar h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.device[data-os] .calc-display { display: block; text-align: right; font-size: 19cqw; font-weight: 300; line-height: 1.1; margin: 24cqw 0 3cqw; padding-right: 2cqw; white-space: nowrap; overflow: hidden; }
.device[data-os] #demo-calculator-keys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3.2cqw; }
.device[data-os] .phone-keys button { aspect-ratio: 1; border-radius: 99px; border: 0; background: #333336; color: #fff; font-size: 7.6cqw; display: grid; place-items: center; cursor: pointer; padding: 0; }
.device[data-os] .phone-keys button:active { filter: brightness(1.5); }
.device[data-os] #demo-calculator-keys .fn { background: #a5a5a5; color: #000; font-size: 6cqw; }
.device[data-os] #demo-calculator-keys .op { background: #ff9f0a; font-size: 8.4cqw; }
.device[data-os] #demo-calculator-keys .op.active { background: #fff; color: #ff9f0a; }
.device[data-os] #demo-calculator-keys .zero { grid-column: span 2; aspect-ratio: auto; justify-items: start; padding-left: 7.6cqw; }
/* Telefon */
.device[data-os] .dialer-display { min-height: 13cqw; text-align: center; font-size: 8.4cqw; margin: 6cqw 0 3cqw; cursor: pointer; }
.device[data-os] .dialer-keys { display: grid; grid-template-columns: repeat(3, 19cqw); justify-content: center; gap: 3.6cqw 6cqw; }
.device[data-os] .dialer-keys button { display: flex; flex-direction: column; justify-content: center; align-items: center; font-size: 8.4cqw; line-height: 1; }
.dialer-keys small { font-size: 2.2cqw; font-weight: 600; letter-spacing: .12em; }
.call-btn { display: grid; place-items: center; width: 19cqw; height: 19cqw; margin: 5cqw auto 0; border-radius: 50%; border: 0; background: #30d158; cursor: pointer; }
.call-btn svg { width: 46%; fill: #fff; }
#demo-call-status { text-align: center; }
/* Wiadomości */
.demo-app[data-app="messages"] .app-bar h2 { font-size: 4.2cqw; position: absolute; top: 13cqw; left: 0; right: 0; text-align: center; font-weight: 600; pointer-events: none; }
.msg-head { display: grid; justify-items: center; gap: 1cqw; margin: 2cqw 0 4cqw; }
.msg-avatar { width: 14cqw; height: 14cqw; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(#a3a3ab, #6d6d73); font-weight: 600; font-size: 5cqw; }
.msg-head small { font-size: 3cqw; color: #fff; }
.device[data-os] .message-list { list-style: none; margin: 0 0 4cqw; padding: 0; display: flex; flex-direction: column; gap: 1.6cqw; }
.device[data-os] .message-list li { align-self: flex-end; max-width: 76%; padding: 2.2cqw 3.6cqw; border-radius: 4.6cqw; background: #0b84ff; color: #fff; font-size: 3.8cqw; line-height: 1.3; overflow-wrap: anywhere; }
.device[data-os] .message-list li.in { align-self: flex-start; background: #26252a; }
.msg-form { position: sticky; bottom: 0; display: flex !important; gap: 2cqw; align-items: center; padding: 2cqw 0; background: #000; }
.device[data-os] .msg-form input { flex: 1; min-width: 0; height: 9cqw; padding: 0 3.4cqw; border-radius: 99px; border: 1px solid #3a3a3c; background: none; color: #fff; outline: none; }
.msg-send { flex: 0 0 8cqw; height: 8cqw; border-radius: 50%; border: 0; background: #0b84ff; display: grid; place-items: center; cursor: pointer; padding: 0; }
.msg-send svg { width: 60%; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
/* Aplikacje pokazowe */
.gx-big { font-size: 17cqw !important; font-weight: 200 !important; text-align: center; margin: 4cqw 0 6cqw; }
.gx-list { list-style: none; padding: 0; margin: 0; }
.gx-list li { display: flex; justify-content: space-between; align-items: center; padding: 3cqw 0; border-bottom: 1px solid #38383a; }
.gx-list li span { display: grid; font-size: 4.6cqw; }
.gx-list small { color: #98989f; font-size: 3cqw; }
.gx-list b { font-size: 7cqw; font-weight: 300; }
.demo-app[data-app="facetime"] .gx-list b { font-size: 3.6cqw; color: #98989f; font-weight: 400; }
.demo-app[data-app="weather"] { background: linear-gradient(#3f7dc4, #234e86 70%, #1b3b66) !important; }
.demo-app[data-app="weather"] .app-back { color: #fff; }
.demo-app[data-app="weather"] .app-bar h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.wx { text-align: center; margin-bottom: 5cqw; }
.wx p { font-size: 4.2cqw !important; font-weight: 500 !important; }
.wx p:first-child { font-size: 7.4cqw !important; }
.wx .wx-temp { font-size: 22cqw !important; font-weight: 200 !important; line-height: 1; }
.gx-card { background: #ffffff22; border-radius: 4cqw; padding: 3cqw; }
.gx-card > small { font-size: 2.8cqw; color: #ffffffb3; }
.wx-hours { display: flex; justify-content: space-between; margin-top: 2cqw; }
.wx-hours span { display: grid; justify-items: center; gap: 1.4cqw; font-size: 3.2cqw; }
.wx-hours svg { width: 6cqw; fill: #fff; }
.wx-hours .sun { fill: #ffd60a; }
.gx-month { font-size: 6cqw !important; font-weight: 700 !important; color: #ff453a !important; text-transform: capitalize; margin-bottom: 2cqw; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1.6cqw 0; text-align: center; font-size: 4cqw; }
.cal-grid b { color: #98989f; font-weight: 500; font-size: 3cqw; }
.cal-grid span { display: grid; place-items: center; height: 8.4cqw; width: 8.4cqw; margin: auto; border-radius: 50%; }
.cal-grid .today { background: #ff453a; font-weight: 600; }
.gx-muted { color: #98989f !important; font-size: 3.3cqw !important; margin-top: 4cqw; }
.gx-mail { list-style: none; margin: 0; padding: 0; }
.gx-mail li { display: grid; grid-template-columns: 1fr auto; padding: 2.6cqw 0; border-bottom: 1px solid #38383a; font-size: 3.6cqw; }
.gx-mail small { color: #98989f; font-size: 3cqw; }
.gx-mail span { grid-column: 1 / -1; }
.gx-mail p { grid-column: 1 / -1; color: #98989f !important; font-size: 3.3cqw !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gx-map { position: relative; height: 92cqw; margin: 0 -4.5cqw; overflow: hidden; background: linear-gradient(135deg, #d9eed0, #efe9da 55%, #cfe3f2); }
.road { position: absolute; background: #fff; box-shadow: 0 0 0 .4cqw #e2ddd0; }
.r1 { left: -10%; right: -10%; top: 44%; height: 3.4cqw; transform: rotate(-14deg); }
.r2 { top: -10%; bottom: -10%; left: 38%; width: 2.6cqw; transform: rotate(9deg); background: #f9cf4a; }
.r3 { left: -10%; right: 30%; top: 20%; height: 1.8cqw; transform: rotate(22deg); }
.me { position: absolute; left: 47%; top: 46%; width: 5cqw; height: 5cqw; border-radius: 50%; background: #0a84ff; border: .9cqw solid #fff; box-shadow: 0 0 0 5cqw #0a84ff33; }
.gx-sheet { margin: -6cqw -4.5cqw 0; position: relative; padding: 4cqw 4.5cqw; border-radius: 5cqw 5cqw 0 0; background: #1c1c1e; display: grid; gap: 1cqw; }
.gx-sheet span { padding: 2.4cqw 3cqw; border-radius: 2.6cqw; background: #2c2c2e; color: #98989f; font-size: 3.8cqw; }
.gx-sheet small { color: #98989f; font-size: 3cqw; }
.gx-art { aspect-ratio: 1; border-radius: 3cqw; margin: 2cqw 5cqw 5cqw; background: radial-gradient(circle at 30% 30%, #ff7ad9, transparent 55%), radial-gradient(circle at 75% 70%, #7b5cff, transparent 60%), #2a1440; box-shadow: 0 4cqw 10cqw #0008; transition: transform .4s; transform: scale(.88); }
.playing .gx-art { transform: none; }
.gx-song { display: grid; margin: 0 5cqw; }
.gx-song b { font-size: 5cqw; font-weight: 600; }
.gx-song span { color: #98989f; font-size: 4cqw; }
.gx-progress { height: 1.2cqw; margin: 4cqw 5cqw; border-radius: 9px; background: #ffffff33; overflow: hidden; }
.gx-progress i { display: block; height: 100%; width: 12%; background: #fff; }
.playing .gx-progress i { animation: gx-progress 30s linear forwards; }
@keyframes gx-progress { to { width: 100%; } }
.gx-controls { display: flex; justify-content: space-around; align-items: center; }
.gx-controls button { background: none; border: 0; color: #fff; font-size: 7cqw; cursor: pointer; min-width: 12cqw; min-height: 12cqw; }
.gx-controls .gx-play { font-size: 10cqw; }
.gx-url { display: flex; align-items: center; justify-content: center; gap: 1.4cqw; padding: 2.4cqw; border-radius: 3cqw; background: #2c2c2e; font-size: 3.8cqw; margin-bottom: 5cqw; }
.gx-url svg { width: 3.6cqw; fill: #fff; }
.gx-url .strk { fill: none; stroke: #fff; stroke-width: 2; }
.gx-favs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3cqw; text-align: center; }
.gx-favs a { display: grid; justify-items: center; gap: 1.4cqw; color: #fff; text-decoration: none; font-size: 2.8cqw; }
.gx-favs a span { width: 14cqw; height: 14cqw; border-radius: 3.2cqw; display: grid; place-items: center; background: #2c2c2e; font-size: 6cqw; font-weight: 600; color: #ff7ad9; }
.gx-cta { display: flex; align-items: center; justify-content: center; gap: 2cqw; width: 100%; min-height: 11cqw; border: 0; border-radius: 3cqw; background: #30d158; color: #fff; font-weight: 600; margin-bottom: 4cqw; cursor: pointer; }
.gx-cta svg { width: 6cqw; fill: #fff; }
/* Centrum sterowania / Szybkie ustawienia */
.device[data-os] .quick-panel { position: absolute; inset: 0; z-index: 7; border: 0; border-radius: inherit; padding: 16cqw 7cqw 8cqw; background: #000000a8; -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4); display: flex; flex-direction: column; }
.device[data-os] .quick-panel[hidden] { display: none; }
.device[data-os] .quick-panel h2 { font-size: 4cqw; font-weight: 600; margin: 0 0 4cqw; outline: none; color: #ffffffcc; }
.cc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3.2cqw; padding: 3.4cqw; border-radius: 6cqw; background: #ffffff1f; }
.cc-tile { aspect-ratio: 1; border: 0; border-radius: 50%; background: #ffffff2e; color: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; }
.cc-tile svg { width: 50%; fill: currentColor; }
.cc-tile span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.cc-tile[aria-pressed="true"] { background: #0a84ff; }
.cc-orange[aria-pressed="true"] { background: #ff9500; }
.cc-green[aria-pressed="true"] { background: #30d158; }
.cc-done { margin-top: auto; align-self: center; min-height: 9cqw; padding: 0 7cqw; border-radius: 99px; border: 0; background: #ffffff2e; color: #fff; font-weight: 600; font-size: 3.6cqw; cursor: pointer; }
/* Nawigacja systemowa: pasek gestów zamiast przycisków */
.device[data-os] .demo-nav { left: 0; right: 0; bottom: 0; height: 6.5cqw; padding: 0; border-radius: 0; background: none; z-index: 10; touch-action: none; justify-content: center; }
.device[data-os] .demo-nav[hidden] { display: none; }
.device[data-os] .demo-nav button { min-width: 0; height: 100%; }
.device[data-os] #system-home { width: 40cqw; position: relative; }
.device[data-os] #system-home::after { content: ""; position: absolute; left: 2cqw; right: 2cqw; bottom: 1.6cqw; height: 1.4cqw; border-radius: 9px; background: #fff; }
.device[data-os="android"] #system-home::after { left: 6cqw; right: 6cqw; height: 1.1cqw; bottom: 1.8cqw; }
.device[data-os] #system-back, .device[data-os] #system-quick { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); padding: 0; }
.device[data-os] #system-back:focus-visible, .device[data-os] #system-quick:focus-visible { width: 9cqw; height: 6cqw; clip-path: none; background: #ffffff33; }
.device[data-os] #system-back:focus-visible { left: 2cqw; } .device[data-os] #system-quick:focus-visible { right: 2cqw; }
.edge-back { display: none; }
.demo-host { touch-action: manipulation; }
.demo-host .device,
.device.in-demo { transform: none; transform-style: flat; }
.demo-host .device-front,
.device.in-demo .device-front { transform: none; }
.device.in-demo .sb,
.demo-host .sb { pointer-events: none; }
.device.in-demo .edge-back { display: block; position: absolute; z-index: 8; left: 0; top: 12cqw; bottom: 8cqw; width: 4cqw; touch-action: none; }
.device[data-os] .device-desktop:not([hidden]) ~ .device-home, .demo-host .device-home { display: none; }
/* Android: aplikacje w stylu Material You (ciemny motyw) */
.device[data-os="android"] .demo-app { background: #111318; padding-top: 11cqw; }
.device[data-os="android"] .app-bar { flex-direction: row; align-items: center; gap: 2cqw; }
.device[data-os="android"] .app-back { color: #e2e2e9; margin-left: -2cqw; width: 10cqw; height: 10cqw; justify-content: center; border-radius: 50%; }
.device[data-os="android"] .app-back span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.device[data-os="android"] .app-back svg { width: 6cqw; stroke-width: 2.2; }
.device[data-os="android"] .app-bar h2 { font-size: 6cqw; font-weight: 400; }
.device[data-os="android"] .screen-button, .device[data-os="android"] .gx-cta { border-radius: 99px; background: #a8c7fa; color: #062e6f; }
.device[data-os="android"] .screen-fallback, .device[data-os="android"] .demo-app[data-app="notes"] .app-back { color: #a8c7fa; }
.device[data-os="android"] .screen-rental, .device[data-os="android"] .set-group, .device[data-os="android"] .gx-sheet { background: #1d2024; border-radius: 6cqw; }
.device[data-os="android"] .set-profile { display: none; }
.device[data-os="android"] .set-search { display: flex; align-items: center; gap: 2.4cqw; height: 12cqw; padding: 0 4cqw; margin-bottom: 5cqw; border-radius: 99px; background: #282a2f; color: #c4c6d0; font-size: 3.8cqw; }
.set-search svg { width: 5cqw; fill: none; stroke: currentColor; stroke-width: 2.2; }
.device[data-os="android"] .set-group li { min-height: 14cqw; gap: 4cqw; padding: 2cqw 4.5cqw; }
.device[data-os="android"] .set-group li + li::before { content: none; }
.device[data-os="android"] .si { flex-basis: 9cqw; height: 9cqw; border-radius: 50%; background: #2c3a52; }
.device[data-os="android"] .si svg { fill: #a8c7fa; }
.device[data-os="android"] .si svg [stroke="#fff"] { stroke: #a8c7fa; }
.device[data-os="android"] .set-group em { color: #c4c6d0; }
.device[data-os="android"] .set-group em::after { content: none; }
.device[data-os="android"] .switch { background: #33353a; border: .5cqw solid #8e9099; height: 8cqw; }
.device[data-os="android"] .switch::before { top: 1.4cqw; left: 1.4cqw; width: 4.2cqw; height: 4.2cqw; background: #8e9099; box-shadow: none; }
.device[data-os="android"] .switch:checked { background: #a8c7fa; border-color: #a8c7fa; }
.device[data-os="android"] .switch:checked::before { background: #062e6f; transform: translateX(4.6cqw) scale(1.4); }
.device[data-os="android"] .set-slider input[type="range"], .device[data-os="android"] input[type="range"] { accent-color: #a8c7fa; }
.device[data-os="android"] .message-list li { background: #a8c7fa; color: #062e6f; border-radius: 5cqw 5cqw 1.4cqw 5cqw; }
.device[data-os="android"] .message-list li.in { background: #2b2f36; color: #e2e2e9; border-radius: 5cqw 5cqw 5cqw 1.4cqw; }
.device[data-os="android"] .msg-form { background: #111318; }
.device[data-os="android"] .msg-form input { background: #282a2f; border: 0; }
.device[data-os="android"] .msg-send { background: #a8c7fa; }
.device[data-os="android"] .msg-send svg { stroke: #062e6f; }
.device[data-os="android"] .demo-app[data-app="messages"] .app-bar h2 { position: static; text-align: left; font-size: 6cqw; font-weight: 400; }
.device[data-os="android"] .phone-keys button { background: #2b2f36; color: #e2e2e9; }
.device[data-os="android"] #demo-calculator-keys .fn { background: #44474e; color: #e2e2e9; }
.device[data-os="android"] #demo-calculator-keys .op { background: #3e4759; color: #d6e3ff; }
.device[data-os="android"] #demo-calculator-keys .op:last-child, .device[data-os="android"] #demo-calculator-keys .op.active { background: #a8c7fa; color: #062e6f; }
.device[data-os="android"] .calc-display { font-weight: 400; }
.device[data-os="android"] .call-btn { width: 36cqw; height: 13cqw; border-radius: 99px; background: #6dd58c; }
.device[data-os="android"] .call-btn svg { width: 7cqw; fill: #00391c; }
.device[data-os="android"] .cam-modes b { color: #111; background: #fff; padding: .4cqw 2.4cqw; border-radius: 99px; }
.device[data-os="android"] .shutter { border-color: #111318; }
.device[data-os="android"] .gx-month, .device[data-os="android"] .cal-grid .today { color: #a8c7fa !important; }
.device[data-os="android"] .cal-grid .today { background: #a8c7fa; color: #062e6f !important; }
.device[data-os="android"] .gx-list li, .device[data-os="android"] .gx-mail li { border-color: #2b2f36; }
.device[data-os="android"] .quick-panel { inset: 0 0 auto; padding: 12cqw 5cqw 5cqw; border-radius: 0 0 7cqw 7cqw; background: #1b1c20f2; }
.device[data-os="android"] .cc-grid { grid-template-columns: 1fr 1fr; background: none; padding: 0; gap: 2.4cqw; }
.device[data-os="android"] .cc-tile { aspect-ratio: auto; height: 15cqw; border-radius: 99px; display: flex; gap: 2.4cqw; padding: 0 4cqw; justify-content: flex-start; background: #2b2f36; color: #e2e2e9; font-size: 3.4cqw; }
.device[data-os="android"] .cc-tile svg { width: 5.6cqw; flex: none; }
.device[data-os="android"] .cc-tile span { position: static; width: auto; height: auto; clip-path: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.device[data-os="android"] .cc-tile[aria-pressed="true"] { background: #a8c7fa; color: #062e6f; }
.device[data-os="android"] .cc-done { margin-top: 4cqw; background: #a8c7fa; color: #062e6f; }
.device[data-os="android"] .demo-app[data-app="weather"] { background: linear-gradient(#2b4a72, #172a45) !important; }
@media (prefers-reduced-motion: reduce) { .ic, .switch, .switch::before, .gx-art { transition: none; } }
.device[data-os] .calc-display { background: none; border: 0; box-shadow: none; border-radius: 0; min-height: 0; color: #fff; }
.device[data-os] .unlock { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: max(.62rem, 3.5cqw); }
/* Wydajność: sekcje poniżej pierwszego ekranu renderowane dopiero przy przewijaniu */
#kalkulator, #jak-to-dziala { content-visibility: auto; contain-intrinsic-size: auto 900px; }

/* Lejek sprzedaży */
.demo-caption { margin: .7rem 0 0; font-size: .9rem; }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.benefits-grid li, .price-card, .risk-reversal, .close-cta, .upsell {
  background: linear-gradient(135deg,#211832,#181426 80%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
}
.benefits-grid h3 { margin: 0 0 .4rem; font-size: 1.08rem; }
.price-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.price-card { display: flex; flex-direction: column; gap: .45rem; position: relative; }
.price-card .amount { margin: .15rem 0; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 750; color: var(--mint); letter-spacing: -.04em; }
.price-card .button { margin-top: auto; width: 100%; text-align: center; }
.price-card.is-featured { border-color: color-mix(in srgb, var(--mint) 55%, var(--line)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--mint) 35%, transparent); }
.price-card .flag {
  position: absolute;
  top: .7rem;
  right: .8rem;
  margin: 0;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--mint);
  border-radius: 999px;
  padding: .18rem .5rem;
}
.pay-note, .footer-note, .demo-caption { color: var(--muted); font-size: .9rem; }
.pay-note { margin-top: 1rem; max-width: 46rem; }
.risk-reversal { margin-top: 1.6rem; }
.close-cta { margin-top: 1.6rem; text-align: center; }
.close-cta p { margin: .6rem auto 1rem; max-width: 28rem; }
.footer { flex-wrap: wrap; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; }
.footer-nav a { color: var(--muted); text-decoration: none; font-weight: 550; }
.footer-nav a:hover { color: var(--mint); }
.footer-note { margin: 0; flex-basis: 100%; }
.sticky-cta { display: none; }
@media (max-width: 900px) {
  .benefits-grid, .price-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .benefits-grid, .price-cards { grid-template-columns: 1fr; }
  body.has-sticky-cta {
    padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
  }
  .sticky-cta {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    justify-content: center;
    padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom, 0px));
    background: #100d1bf5;
    border-top: 1px solid var(--line);
  }
  .sticky-cta .button { width: min(100%, 28rem); text-align: center; }
  body:has(dialog[open]) .sticky-cta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sticky-cta { transition: none; }
}

/* iOS demo video (lazy, muted loop) */
.ios-demo-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  background: #0a1624;
}
.device.has-ios-video .ios-demo-video { opacity: 1; }
.device.has-ios-video .sb,
.device.has-ios-video .lock-screen > :not(.lock-bottom) { visibility: hidden; }
.device.has-ios-video .lock-bottom { position: relative; z-index: 3; }
@media (prefers-reduced-motion: reduce) {
  .ios-demo-video { display: none !important; }
}
/* trapphones-mobilefix-prod */
.rotation-hint .hint-touch{display:none}
.rotation-hint .hint-mouse{display:inline}
@media (pointer:coarse), (hover:none){
  .rotation-hint .hint-touch{display:inline}
  .rotation-hint .hint-mouse{display:none}
}
@media (max-width:760px){
  body.has-sticky-cta{padding-bottom:0}
  .sticky-cta{display:none}
  body.has-sticky-cta.sticky-cta-visible{
    padding-bottom:calc(var(--sticky-cta-space, 4.75rem) + env(safe-area-inset-bottom, 0px));
  }
  body.has-sticky-cta.sticky-cta-visible .sticky-cta{display:flex}
  body:has(dialog[open]) .sticky-cta{display:none}
}
