/* الفكرة: اللوجو 4 أرباع. كل ربع سيستم، والموجات بتطلع من نفس الأرباع. */
@font-face { font-family: Zain; font-weight: 400; font-display: swap; src: url(fonts/zain-arabic-400.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFC, U+200C-200E; }
@font-face { font-family: Zain; font-weight: 400; font-display: swap; src: url(fonts/zain-latin-400.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: Zain; font-weight: 700; font-display: swap; src: url(fonts/zain-arabic-700.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFC, U+200C-200E; }
@font-face { font-family: Zain; font-weight: 700; font-display: swap; src: url(fonts/zain-latin-700.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: Zain; font-weight: 900; font-display: swap; src: url(fonts/zain-arabic-900.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFC, U+200C-200E; }
@font-face { font-family: Zain; font-weight: 900; font-display: swap; src: url(fonts/zain-latin-900.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
/* خط احتياطي بنفس عرض Zain تقريبًا، عشان الصفحة ماتتهزش وهو بيحمّل */
@font-face { font-family: ZainT; font-weight: 400; src: local('Tahoma'); size-adjust: 109%; }
@font-face { font-family: ZainT; font-weight: 700 900; src: local('Tahoma Bold'), local('Tahoma-Bold'); size-adjust: 94%; }
@font-face { font-family: ZainA; font-weight: 400; src: local('Arial'); size-adjust: 148%; }
@font-face { font-family: ZainA; font-weight: 700 900; src: local('Arial Bold'), local('Arial-BoldMT'); size-adjust: 138%; }
:root {
  --cob: #2340ff; --cob-dark: #1a30cc; --night: #0d1033; --ink: #10142b; --porc: #f1f3f8; --mist: #cdd4e8;
  --mint: #3ddc97; --peri: #8796ff; --ice: #c9d0ff; --muted: #464d6d; --white: #fff; --danger: #ffb3ac;
  --font: Zain, ZainT, ZainA, Tahoma, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--porc); color: var(--ink); font: 400 20px/1.6 var(--font); font-variant-numeric: tabular-nums; overflow-x: hidden; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { font-weight: 900; line-height: 1.15; text-wrap: balance; }
h2 { font-size: clamp(36px, 5.4vw, 68px); }
h3 { font-size: clamp(26px, 3vw, 38px); }
a { color: inherit; }
img, svg { display: block; }
img { width: 100%; height: auto; }
button { font: inherit; color: inherit; cursor: pointer; }
.wrap { width: min(1280px, 100% - 40px); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
.porc :focus-visible, .picker :focus-visible, .demo :focus-visible, .does :focus-visible, .know :focus-visible, .faq :focus-visible, .plain :focus-visible { outline-color: var(--cob); }
.skip { position: absolute; inset-inline-start: 16px; top: -80px; z-index: 9; background: var(--mint); color: var(--night); padding: 10px 18px; border-radius: 8px; }
.skip:focus { top: 8px; }
.cob { background: var(--cob); color: #fff; }
.night { background: var(--night); color: #fff; }
.porc { background: var(--porc); color: var(--ink); }
.lead { max-width: 46ch; }

.btn { display: inline-grid; place-items: center; min-height: 54px; padding: 6px 28px; border-radius: 14px 14px 0 14px; border: 2px solid transparent; background: var(--cob); color: #fff; font-weight: 700; font-size: 20px; line-height: 1.3; text-decoration: none; text-align: center; transition: background-color .18s ease-out, transform .18s ease-out; }
.btn:hover { background: var(--cob-dark); }
.btn:active { transform: translateY(2px); }
.btn.mint, .top .btn, .contact .btn { background: var(--mint); color: var(--night); }
.btn.mint:hover, .top .btn:hover, .contact .btn:hover { background: #6be9b3; }
.btn.line { background: transparent; border-color: currentColor; color: inherit; }
.btn.line:hover { background: #fff; color: var(--ink); border-color: #fff; }
.porc .btn.line:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.top.porc .btn { background: var(--cob); color: #fff; }
.btn.small { min-height: 46px; padding-inline: 20px; font-size: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.top { position: absolute; inset-inline: 0; top: 0; z-index: 3; background: none; }
main > :first-child { padding-top: 92px; }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 20px; position: relative; z-index: 2; }
.logo svg { height: 44px; width: auto; }
.top nav { display: flex; gap: 6px; }
.top nav a { text-decoration: none; padding: 8px 14px; min-height: 44px; display: grid; place-items: center; white-space: nowrap; border-radius: 10px; }
.top nav a:hover { background: rgb(255 255 255 / .16); }
.top.porc nav a:hover { background: #fff; }
.top nav a[aria-current] { font-weight: 700; text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 2px; }

.top.stuck { position: fixed; box-shadow: 0 6px 24px rgb(6 8 40 / .18); }
.top.stuck.cob { background: var(--cob); } .top.stuck.night { background: var(--night); } .top.stuck.porc { background: var(--porc); }
.top.stuck .top-row { padding-block: 9px; }
.top.stuck .logo svg { height: 36px; }
@media (prefers-reduced-motion: no-preference) { .top.stuck { animation: drop .22s ease-out; } @keyframes drop { from { transform: translateY(-100%); } } }
.wa-bar { display: none; }
.m-floor { display: none; }
.stage-cap { padding-bottom: 28px; margin-top: -60px; }

/* الموجات */
.rings { position: absolute; width: 1600px; max-width: none; pointer-events: none; }
.rings path { stroke: currentColor; stroke-width: 58; }
.ring { opacity: calc(.15 - var(--i) * .03); }
@media (prefers-reduced-motion: no-preference) {
  /* على الـ svg كله عشان يشتغل على كارت الشاشة من غير إعادة رسم */
  .hero .rings { animation: wave .9s cubic-bezier(.2, .8, .2, 1) backwards; will-change: scale, opacity; }
  @keyframes wave { from { opacity: 0; scale: .8; } }
}

/* أول شاشة */
.hero { position: relative; overflow: hidden; }
.hero > .wrap { position: relative; }
.hero .rings { inset-inline-start: 50%; top: -90px; transform: translateX(50%); }
.hero-row { display: flex; justify-content: space-between; align-items: end; gap: 48px; padding-top: 36px; }
.hero-row h1 { font-size: clamp(56px, 8.8vw, 132px); line-height: 1.02; }
.hero-side { flex: 0 0 clamp(330px, 28vw, 390px); padding-bottom: 14px; }
.hero-side p { font-size: 22px; line-height: 1.5; margin-bottom: 22px; }
.stage { position: relative; margin-top: 60px; padding-bottom: 88px; }
.stage .win { width: 76%; margin-inline: auto; }
.stage .phone { position: absolute; inset-inline-start: 0; bottom: 40px; }
.stage .chat { position: absolute; inset-inline-end: 0; top: 56px; width: 330px; }

/* شاشات */
.win { background: #fff; color: var(--ink); border-radius: 14px; overflow: hidden; box-shadow: 0 34px 90px rgb(6 8 40 / .38); }
.win-bar { display: flex; gap: 7px; padding: 11px 16px; direction: ltr; background: #e4e7f1; }
.win-bar i { width: 11px; height: 11px; border-radius: 50%; background: #b9c0d6; }
.phone { width: 272px; border-radius: 38px; background: #090b1e; padding: 9px; box-shadow: 0 34px 80px rgb(6 8 40 / .42); }
.phone > div { border-radius: 30px; overflow: hidden; background: #fff; color: #1b1b1f; }
.menu-ui { padding: 20px 16px 16px; font-size: 16px; line-height: 1.45; }
.menu-ui .t { font-size: 22px; font-weight: 900; }
.menu-ui .sub, .dish small { color: #5f6377; }
.menu-ui .sub { font-size: 15px; }
.chips { display: flex; gap: 6px; margin: 12px 0; }
.chips span { padding: 4px 11px; border-radius: 99px; background: #eceef5; font-size: 14px; white-space: nowrap; }
.chips span:first-child { background: var(--cob); color: #fff; }
.dish { display: grid; grid-template-columns: 54px 1fr auto; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid #e8eaf2; }
.dish .pic { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: #e4e8ff; }
.dish .pic svg { width: 34px; height: 34px; }
.dish span b { display: block; font-size: 17px; }
.dish small { font-size: 14px; }
.menu-ui .bar { margin-top: 12px; display: flex; justify-content: space-between; background: var(--cob); color: #fff; padding: 12px 16px; border-radius: 14px; font-weight: 700; }
.chat { background: #efe7dd; border-radius: 22px; padding: 16px; font-size: 18px; line-height: 1.45; color: #1b1b1f; box-shadow: 0 28px 70px rgb(6 8 40 / .34); }
.msg { background: #fff; border-radius: 14px; padding: 11px 15px; width: fit-content; max-width: 92%; }
.msg.me { background: #d9fdd3; margin-inline-start: auto; margin-top: 8px; }
.msg .btns { display: grid; grid-template-columns: 1fr 1fr; margin: 11px -15px -11px; border-top: 1px solid #e3e3e3; }
.msg .btns i { font-style: normal; text-align: center; padding: 9px; color: #00688f; font-weight: 700; }
.msg .btns i + i { border-inline-start: 1px solid #e3e3e3; }
.done { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 12px; font-weight: 700; }
.done svg { width: 22px; height: 22px; }
.cap { font-size: 15px; opacity: .85; margin-top: 16px; text-align: center; }

/* اختيار الربع */
.picker { padding-block: 104px; }
.picker-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.picker-head .lead { color: var(--muted); }
.picker-grid { display: grid; grid-template-columns: 340px 1fr; gap: 48px; margin-top: 48px; align-items: stretch; }
.picker-nav { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.bigq { width: 100%; max-width: 300px; overflow: visible; }
.bigq path { fill: var(--mist); cursor: pointer; transition: fill .2s ease-out, transform .25s ease-out; transform-origin: 50px 50px; }
.bigq path:hover { fill: var(--peri); }
.bigq path.on { fill: var(--cob); transform: scale(1.04); }
.bigq path[data-pick=soon].on { fill: #1fb87a; }
.tabs button { display: grid; grid-template-columns: 24px 1fr; column-gap: 14px; align-items: center; width: 100%; text-align: start; background: none; border: 0; border-top: 1px solid var(--mist); padding: 12px 0; min-height: 60px; }
.tabs b { font-size: 22px; line-height: 1.3; }
.tabs span { grid-column: 2; color: var(--muted); font-size: 17px; line-height: 1.4; }
.quarter { width: 22px; height: 22px; fill: var(--mist); }
.tabs .quarter { grid-row: span 2; }
.tabs [aria-selected=true] b { color: var(--cob); }
.tabs [aria-selected=true] .quarter { fill: var(--cob); }
.panes { display: grid; gap: 24px; min-width: 0; }
.js .panes { display: block; }
.js .pane { display: none; }
.js .pane.on { display: grid; height: 100%; }
.pane { grid-template-columns: 1fr 1fr; align-items: center; gap: 32px; border-radius: 36px 36px 0 36px; padding: 48px; min-height: 724px; overflow: hidden; display: grid; }
.p-menu { background: var(--cob); color: #fff; }
.p-confirm { background: var(--night); color: #fff; }
.p-kashkol { background: #dfe4f5; grid-template-columns: 1fr; align-content: space-between; }
.p-soon { background: var(--mint); color: var(--night); grid-template-columns: 1fr; }
.pane-ui { display: grid; justify-items: center; min-width: 0; order: 2; }
.pane-ui .chat { width: min(370px, 100%); }
.p-kashkol .pane-ui { order: 0; }
.p-kashkol .win { max-height: 330px; width: 100%; box-shadow: 0 20px 50px rgb(6 8 40 / .18); }
.pane-text p { margin-block: 12px 20px; max-width: 48ch; }
.pane-text .aud { margin: 0 0 8px; }
.pane h3 { font-size: clamp(30px, 3.5vw, 48px); }
.p-menu .btn:not(.line), .p-confirm .btn:not(.line) { background: var(--mint); color: var(--night); }
.p-menu .btn:not(.line):hover, .p-confirm .btn:not(.line):hover { background: #6be9b3; }
.p-kashkol .btn.line:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.p-kashkol .pane-text { display: grid; grid-template-columns: 1fr auto; column-gap: 32px; align-items: end; }
.p-kashkol .pane-text > :not(.actions) { grid-column: 1; }
.p-kashkol .pane-text .actions { grid-column: 2; grid-row: 2 / 4; flex-direction: column; align-items: stretch; }
.p-kashkol .pane-text p:not(.aud) { margin-bottom: 0; }
.status { display: inline-block; background: var(--mint); color: var(--night); font-weight: 700; font-size: 16px; line-height: 1.5; padding: 1px 12px; border-radius: 8px 8px 0 8px; margin-inline-start: 6px; white-space: nowrap; }
.status.early { background: #fff; }
.soon li { display: grid; grid-template-columns: 190px 1fr auto auto; gap: 16px; align-items: center; border-top: 2px solid rgb(13 16 51 / .25); padding-block: 12px; }
.soon b { font-size: 23px; }
.soon em { font-style: normal; font-weight: 700; }
.soon a { min-height: 44px; display: grid; place-items: center; padding-inline: 12px; font-weight: 700; text-underline-offset: 5px; }

.start { background: #fff; padding-block: 96px; }
.start ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 48px; }
.partial { width: 112px; height: 112px; margin-bottom: 20px; }
.partial path { fill: #e3e7f2; }
.partial .on { fill: var(--cob); }
.partial .on:last-child { fill: var(--mint); }
.start li p { color: var(--muted); margin-top: 6px; }
.faq { padding-block: 96px; }
.faq-row { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; }
details { border-top: 1px solid var(--mist); }
details:last-child { border-bottom: 1px solid var(--mist); }
summary { cursor: pointer; padding-block: 18px; font-weight: 700; font-size: 24px; line-height: 1.4; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ''; flex: none; width: 18px; height: 18px; background: var(--cob); border-radius: 50% 50% 0 50%; transition: transform .2s ease-out; }
details[open] summary::after { transform: rotate(180deg); }
details p { padding-bottom: 20px; max-width: 60ch; color: var(--muted); }

.contact { position: relative; overflow: hidden; background: var(--cob); color: #fff; padding-block: 104px; }
.contact .rings { inset-inline-end: -700px; top: -340px; }
.contact-row { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-row p { margin-top: 16px; max-width: 42ch; font-size: 22px; line-height: 1.5; }
form { display: grid; background: var(--night); padding: 36px; border-radius: 32px 32px 0 32px; }
label { font-weight: 700; margin-bottom: 4px; }
input, select { font: 400 20px/1.4 var(--font); color: #fff; background: #1c2152; border: 2px solid #7f89c9; border-radius: 12px; padding: 10px 16px; min-height: 54px; width: 100%; margin-bottom: 16px; }
::placeholder { color: #b9c0ee; opacity: 1; }
[aria-invalid=true] { border-color: var(--danger); margin-bottom: 4px; }
.err { color: var(--danger); margin-bottom: 14px; font-size: 18px; }
form .btn { margin-top: 8px; }

.foot { background: var(--night); color: #fff; padding-top: 72px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1.4fr 1fr auto; gap: 48px; align-items: start; }
.foot-brand p { margin-top: 14px; color: var(--ice); max-width: 22ch; }
.foot-brand .logo { display: inline-block; }
.foot h2 { font-size: 18px; font-weight: 700; color: var(--peri); margin-bottom: 12px; }
.foot li a { display: flex; gap: 12px; align-items: start; min-height: 44px; padding-block: 6px; text-decoration: none; color: var(--ice); font-size: 17px; line-height: 1.4; }
.foot li b { display: block; color: #fff; font-size: 20px; }
.foot .quarter { flex: none; margin-top: 4px; fill: var(--peri); transition: fill .18s ease-out; }
.foot li a:hover, .foot li a:hover b { color: var(--mint); }
.foot li a:hover .quarter { fill: var(--mint); }
.foot-soon a { font-size: 19px !important; align-items: center !important; }
.foot-wa { display: flex; gap: 14px; align-items: center; background: var(--mint); color: var(--night); text-decoration: none; padding: 14px 22px; border-radius: 20px 20px 0 20px; font-size: 17px; line-height: 1.35; transition: background-color .18s ease-out; }
.foot-wa:hover { background: #6be9b3; }
.foot-wa svg { width: 34px; height: 34px; flex: none; }
.foot-wa bdi { display: block; font-size: 23px; font-weight: 900; }
.foot-end { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid #2b3070; margin-top: 56px; padding-block: 14px; color: var(--ice); font-size: 17px; }
.foot-end a { padding-block: 10px; text-underline-offset: 5px; }

/* صفحات المنتجات */
.product-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding-block: 40px 96px; min-height: 600px; }
.product h1 { font-size: clamp(46px, 6.3vw, 92px); line-height: 1.05; margin-block: 14px 20px; }
.product .lead { font-size: 22px; line-height: 1.55; margin-bottom: 28px; }
.product .aud { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.product .quarter { fill: currentColor; }
.product.porc .quarter, .does .quarter { fill: var(--cob); }
.product .rings { inset-inline-start: auto; inset-inline-end: -340px; top: -420px; transform: none; }
.product.porc .rings { color: var(--cob); }
.shot { display: grid; justify-items: center; min-width: 0; position: relative; }
.shot .chat { width: min(430px, 100%); font-size: 20px; }
.product.porc .product-row { grid-template-columns: 5fr 7fr; }
.product.porc .shot { padding-bottom: 120px; }
.product.porc .shot .phone { position: absolute; width: 200px; border-radius: 30px; padding: 7px; inset-inline-start: -16px; bottom: 30px; }
.product.porc .shot .phone > div { border-radius: 24px; }
.status.early { color: var(--night); }
.does { background: #fff; padding-block: 96px; }
.scenes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.scene { display: grid; grid-template-rows: 1fr auto; border-radius: 36px 36px 0 36px; overflow: hidden; background: #e4e8fb; }
.scene > div:last-child { padding: 0 40px 36px; }
.scene h3 { margin-bottom: 4px; }
.scene p { max-width: 46ch; }
.scene.s2 { background: var(--night); color: #fff; }
.sc { min-height: 330px; padding: 40px; display: grid; place-items: center; position: relative; }
.sc .win { width: 100%; box-shadow: 0 16px 40px rgb(6 8 40 / .16); }
.sc-qr { grid-template-columns: auto auto; gap: 28px; justify-content: center; }
.qr { background: #fff; padding: 18px; border-radius: 24px 24px 0 24px; }
.qr svg { width: 168px; height: 168px; }
.price { background: #fff; border-radius: 18px; padding: 16px 22px; line-height: 1.35; display: grid; grid-template-columns: auto auto; column-gap: 14px; align-items: baseline; }
.price b { grid-column: 1 / -1; }
.price s { color: #5f6377; }
.price i { font: 900 34px/1.2 var(--font); color: var(--cob); }
.ticket, .orders, .split { width: min(380px, 100%); background: #fff; color: var(--ink); border-radius: 24px 24px 0 24px; padding: 22px 26px; }
.ticket p, .ticket li, .orders li, .split p { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.ticket ul { border-block: 2px dashed var(--mist); margin-block: 12px; padding-block: 8px; }
.ticket p:last-child b { font: 900 28px/1.2 var(--font); }
.orders { padding-block: 8px; }
.orders li { padding-block: 15px; }
.orders li + li { border-top: 1px solid #e3e7f2; }
.orders em { font-style: normal; font-weight: 700; font-size: 18px; padding: 2px 14px; border-radius: 10px 10px 0 10px; }
.orders .y { background: #c9f6e0; color: #064d30; } .orders .w { background: #e4e8ff; color: #1a2aa8; } .orders .h { background: #ffe3b8; color: #6a3d00; }
.sc-line { grid-auto-rows: 1fr; justify-items: start; align-content: center; gap: 0; margin: 0; }
.sc-line li { position: relative; padding-inline-start: 56px; padding-block: 12px; display: grid; line-height: 1.35; }
.sc-line b { font-size: 24px; }
.sc-line span { color: var(--muted); }
.sc-line li::before { content: ''; position: absolute; inset-inline-start: 0; top: 16px; width: 30px; height: 30px; background: var(--cob); border-radius: 50% 50% 0 50%; }
.sc-line li:last-child::before { background: #1fb87a; }
.sc-line li:not(:last-child)::after { content: ''; position: absolute; inset-inline-start: 13px; top: 50px; bottom: -12px; width: 4px; background: #b8c2f5; }
.split p { font-size: 22px; margin-bottom: 14px; }
.split li { display: flex; justify-content: space-between; padding: 10px 16px; margin-top: 8px; border-radius: 12px 12px 0 12px; background: linear-gradient(to left, #cfd7ff var(--w), #eff1f8 var(--w)); }
.does dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 36px; margin-top: 64px; }
.ic { width: 60px; height: 60px; padding: 14px; color: var(--cob); background: #e4e8fb; border-radius: 20px 20px 0 20px; margin-bottom: 16px; }
.does dt { font-weight: 900; font-size: 27px; line-height: 1.3; }
.does dd { color: var(--muted); margin-top: 4px; }
.know { padding-block: 96px; }
.know-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.know h2 { font-size: clamp(30px, 3.6vw, 46px); }
.know li { border-top: 1px solid var(--mist); padding-block: 14px; }
.know ul { margin-top: 24px; }
.plain { padding-bottom: 120px; min-height: 60vh; }
.plain .wrap { padding-top: 48px; }
.plain h1 { font-size: clamp(44px, 6vw, 80px); margin-bottom: 24px; }
.plain p { max-width: 62ch; margin-bottom: 16px; }

@media (min-width: 981px) and (max-height: 820px) {
  .hero-row { padding-top: 12px; }
  .hero-row h1 { font-size: clamp(56px, 7.6vw, 108px); }
  .hero-side p { font-size: 20px; margin-bottom: 16px; }
  .hero-side .actions { flex-wrap: nowrap; }
  .hero-side .btn { padding-inline: 18px; min-height: 50px; white-space: nowrap; }
  .stage { margin-top: 36px; }
  .stage .phone { bottom: auto; top: 84px; }
}
@media (max-width: 980px) {
  html { scroll-padding-top: 0; }
  .top.stuck { position: absolute; box-shadow: none; background: none !important; animation: none; }
  .top.stuck .top-row { padding-block: 14px 4px; }
  .wa-bar:not([hidden]) { display: grid; position: fixed; inset-inline: 16px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 6; background: var(--mint); color: var(--night); box-shadow: 0 10px 30px rgb(6 8 40 / .35); max-width: 520px; margin-inline: auto; }
  .stage-cap { margin-top: -36px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .top-row { flex-wrap: wrap; padding-block: 14px 4px; row-gap: 6px; }
  main > :first-child { padding-top: 124px; }
  .logo svg { height: 36px; }
  .top nav { order: 3; width: 100%; justify-content: space-between; gap: 0; }
  .top nav a { padding-inline: 4px; font-size: 18px; }
  .hero-row { display: block; padding-top: 24px; }
  .hero-side { padding-top: 20px; max-width: 560px; }
  .stage { margin-top: 44px; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; padding-bottom: 64px; }
  .stage .win { width: 100%; grid-column: 1 / -1; }
  .stage .phone, .stage .chat { position: static; }
  .stage .chat { width: 100%; max-width: 360px; }
  .picker, .start, .faq, .contact, .does, .know { padding-block: 72px; }
  .picker-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .picker-grid { gap: 12px; margin-top: 24px; }
  .bigq { display: none; }
  .picker-nav { position: sticky; top: 0; z-index: 2; background: var(--porc); display: block; padding-block: 8px; }
  .tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .tabs button { display: grid; grid-template-columns: 1fr; justify-items: center; align-content: start; gap: 6px; border: 2px solid transparent; border-radius: 18px 18px 0 18px; background: #e4e8f4; padding: 12px 4px 10px; text-align: center; }
  .tabs b { font-size: 17px; line-height: 1.2; }
  .tabs span { display: none; }
  .tabs .quarter { width: 30px; height: 30px; fill: #aab4d6; }
  .tabs [aria-selected=true] { background: var(--cob); }
  .tabs [aria-selected=true] b { color: #fff; }
  .tabs [aria-selected=true] .quarter { fill: #fff; }
  .tabs #tab-soon[aria-selected=true] .quarter { fill: var(--mint); }
  .pane { min-height: 0; scroll-margin-top: 132px; }
  .faq-row, .contact-row, .know-row, .product-row, .product.porc .product-row { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .start ol, .does dl { grid-template-columns: 1fr 1fr; }
  .product-row { padding-block: 24px 64px; min-height: 0; }
}
@media (max-width: 640px) {
  .foot { padding-top: 56px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .foot-soon { display: grid; grid-template-columns: 1fr 1fr; }
  .foot-wa { justify-content: center; }
  .foot-end { margin-top: 36px; }
  body { font-size: 19px; }
  .stage { display: block; height: 500px; margin-top: 36px; padding-bottom: 0; }
  .stage .win, .p-kashkol .win, .product.porc .win { display: none; }
  .m-floor { display: block; }
  .stage .m-floor .phone { position: absolute; inset-inline-end: 0; top: 0; inset-inline-start: auto; bottom: auto; width: 190px; border-radius: 30px; padding: 7px; }
  .stage .m-floor .phone > div { border-radius: 24px; }
  .stage > .phone { position: absolute; inset-inline-start: 0; top: 46px; bottom: auto; transform: scale(.78); transform-origin: top right; }
  .stage .chat { position: absolute; inset-inline: 24px; top: auto; bottom: 0; width: auto; max-width: none; font-size: 16px; }
  .stage-cap { margin-top: 0; padding-block: 14px 28px; }
  .p-kashkol .m-floor .phone { width: 260px; }
  .p-kashkol .pane-ui { order: 2; }
  .actions .btn { flex: 1 1 100%; }
  .top nav a { padding-inline: 0; font-size: 17px; }
  .top nav { min-width: 0; }
  .stage .win img, .product.porc .win img { aspect-ratio: 1.05; object-fit: cover; object-position: 52% 0; }
  .scenes { grid-template-columns: minmax(0, 1fr); }
  .scene { border-radius: 28px 28px 0 28px; }
  .scene > div:last-child { padding: 0 22px 26px; }
  .sc { min-height: 0; padding: 26px 20px; }
  .sc-qr { grid-template-columns: auto; gap: 14px; }
  .qr svg { width: 140px; height: 140px; }
  .pane, .js .pane.on { grid-template-columns: minmax(0, 1fr); padding: 28px 20px; min-height: 0; border-radius: 28px 28px 0 28px; align-content: start; }
  .p-kashkol .pane-text { display: block; }
  .p-kashkol .pane-text p:not(.aud) { margin-bottom: 20px; }
  .pane .btn { width: 100%; }
  .soon li { grid-template-columns: 1fr auto; gap: 0 12px; }
  .soon span { grid-column: 1; grid-row: 2; } .soon a { grid-column: 2; grid-row: 2; }
  .start ol, .does dl { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .partial { width: 88px; height: 88px; }
  form { padding: 24px 18px; border-radius: 24px 24px 0 24px; }
  .product .aud .quarter { display: none; }
  .product.porc .shot { padding-bottom: 0; }
  .product.porc .shot .phone { position: static; width: 250px; border-radius: 36px; }
  .product.porc .shot .phone > div { border-radius: 30px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

@media (max-width: 345px) { .top nav a { font-size: 14px; } .top .logo svg { height: 29px; } .top-row { gap: 6px 8px; } .top .btn.small { padding-inline: 12px; font-size: 16px; } }
@media (forced-colors: active) {
  .rings { display: none; }
  .logo svg path, .quarter, .partial .on { fill: CanvasText; }
  .partial path { fill: GrayText; }
  .bigq path { fill: GrayText; }
  .bigq path.on, .tabs [aria-selected=true] .quarter { fill: Highlight; }
  .tabs [aria-selected=true] { outline: 2px solid Highlight; }
  .pane, .scene, .chat, .msg, .phone > div, .win, .ticket, .orders, .split, form { border: 1px solid CanvasText; }
  summary::after, .sc-line li::before { background: CanvasText; forced-color-adjust: none; }
}
