/* Qayyim 360 site. Brand tokens from Qayyim FM/Brand; logical properties so Arabic (rtl) and English (ltr) mirror. */
@font-face { font-family: 'Plex Arabic'; font-weight: 400; font-display: swap; src: url('fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plex Arabic'; font-weight: 500; font-display: swap; src: url('fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plex Arabic'; font-weight: 600; font-display: swap; src: url('fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plex Arabic'; font-weight: 700; font-display: swap; src: url('fonts/ibm-plex-sans-arabic-arabic-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plex'; font-weight: 400; font-display: swap; src: url('fonts/ibm-plex-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plex'; font-weight: 500; font-display: swap; src: url('fonts/ibm-plex-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plex'; font-weight: 600; font-display: swap; src: url('fonts/ibm-plex-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plex'; font-weight: 700; font-display: swap; src: url('fonts/ibm-plex-sans-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plex Mono'; font-weight: 400; font-display: swap; src: url('fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plex Mono'; font-weight: 500; font-display: swap; src: url('fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2'); }

:root {
  --teal: #0B5D52; --teal-ink: #08463E; --teal-deep: #063A33; --teal2: #10806F; --teal-line: #2C7A6E; --teal-soft: #9FD3C7; --teal-wash: #E3EFEC;
  --sand: #C9A45C; --sand-hi: #DDBB78; --sand-ink: #6E5018; --sand-wash: #F7F0E1;
  --ink: #0F1E1C; --ink2: #3D4F4C; --mute: #5E6F6B; --line: #D5DDDA; --tint: #EEF3F1; --paper: #FFFFFF;
  --p1: #B42318; --ok: #0A6B53; --mark-ink: #0B5D52;
  --ar: 'Plex Arabic', 'Plex', system-ui, sans-serif; --en: 'Plex', 'Plex Arabic', system-ui, sans-serif; --mono: 'Plex Mono', ui-monospace, monospace;
  --wrap: 1240px; --gut: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { font: 400 1.0625rem/1.7 var(--en); color: var(--ink); background: var(--paper); text-rendering: optimizeLegibility; }
html[lang="ar"] body { font-family: var(--ar); font-size: 1.125rem; line-height: 1.85; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
::selection { background: var(--sand); color: var(--ink); }
:focus-visible { outline: 3px solid var(--sand); outline-offset: 3px; border-radius: 4px; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 50; background: var(--sand); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
h1, h2, h3 { text-wrap: balance; font-weight: 700; letter-spacing: -.01em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; }
h2 { font-size: clamp(1.75rem, 1.2rem + 1.9vw, 2.75rem); line-height: 1.2; margin-block-end: .5em; }
h3 { font-size: 1.25rem; line-height: 1.35; }
.lead { font-size: clamp(1.125rem, 1rem + .6vw, 1.45rem); line-height: 1.6; max-width: 34ch; }
.lead-sm { font-size: 1.15rem; line-height: 1.7; max-width: 60ch; color: var(--ink2); }
p { max-width: 68ch; }

/* buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; border: 0; border-radius: 999px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  padding: .7em 1.4em; transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.btn-sm { font-size: .95rem; padding: .5em 1.1em; }
.btn-lg { font-size: 1.1rem; padding: .85em 1.8em; }
.btn-sand { background: var(--sand); color: var(--ink); box-shadow: 0 6px 18px -8px rgba(6, 58, 51, .55); }
.btn-sand:hover { background: var(--sand-hi); transform: translateY(-1px); }
.btn-teal { background: var(--teal); color: #fff; box-shadow: 0 8px 20px -10px rgba(11, 93, 82, .7); }
.btn-teal:hover { background: var(--teal-ink); }
.btn[disabled] { opacity: .6; cursor: progress; }
.tlink { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; }
.tlink svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
[dir="rtl"] .tlink svg { transform: scaleX(-1); }
.tlink:hover svg { transform: translateX(4px); }
[dir="rtl"] .tlink:hover svg { transform: scaleX(-1) translateX(4px); }
.tlink-teal { color: var(--teal); }

/* header */
.site-head { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 28px; padding: 14px var(--gut); color: #fff; background: var(--teal); transition: background .3s, box-shadow .3s; }
.site-head.is-stuck { background: var(--teal-deep); box-shadow: 0 8px 24px -16px rgba(0, 0, 0, .5); }
.brand { text-decoration: none; display: flex; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.wordmark .mark { width: 34px; height: 34px; color: #fff; --mark-ink: var(--teal); flex: none; }
.wm-txt { display: flex; flex-direction: column; line-height: 1; }
.wm-ar { font: 700 1.3rem/1.05 var(--ar); }
.wm-ar .num { font-family: var(--en); font-size: .9em; }
.wm-en { font: 600 .7rem/1 var(--en); letter-spacing: .2em; color: var(--sand); margin-top: 3px; }
.nav ul { display: flex; gap: 6px; list-style: none; }
.nav a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; font-weight: 500; color: var(--teal-soft); transition: color .2s, background .2s; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav a[aria-current="page"] { color: #fff; }
.head-acts { margin-inline-start: auto; display: flex; align-items: center; gap: 14px; }
.lang { color: var(--teal-soft); font-weight: 500; text-decoration: none; }
.lang:hover { color: #fff; }
.burger { display: none; background: none; border: 0; color: #fff; width: 42px; height: 42px; border-radius: 10px; cursor: pointer; }
.burger svg { width: 26px; height: 26px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; fill: none; }
.drawer { position: fixed; inset: 70px 0 auto 0; z-index: 29; background: var(--teal-deep); color: #fff; padding: 16px var(--gut) 28px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); }
.drawer ul { list-style: none; display: grid; gap: 2px; margin-bottom: 14px; }
.drawer a { display: block; padding: 12px 4px; text-decoration: none; font-size: 1.2rem; font-weight: 600; border-bottom: 1px solid rgba(159, 211, 199, .15); }
.drawer .lang { border: 0; color: var(--sand); }

/* bands */
.band { padding-block: clamp(72px, 9vw, 128px); }
.band-teal { background: var(--teal); color: #fff; }
.band-ink { background: var(--ink); color: #fff; }
.band-tint { background: var(--tint); }

/* hero */
.hero { overflow: hidden; }
.hero-in { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: start; gap: 40px; }
.hero-copy { padding-block: clamp(56px, 10vh, 120px) 72px; }
.hero h1 { font-size: clamp(3rem, 1.6rem + 5.6vw, 6rem); line-height: 1.12; margin-bottom: 22px; }
html[lang="en"] .hero h1 { font-size: clamp(2.6rem, 1.4rem + 4.2vw, 4.8rem); line-height: 1.05; letter-spacing: -.025em; }
.hero .lead { color: #D7ECE6; margin-bottom: 36px; }
.acts { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 28px; }
.hero .tlink { color: #fff; }
.hero-tower { position: relative; height: clamp(520px, 78vh, 760px); margin-top: 36px; }
.hero-tower .tower { width: min(100%, 420px); margin-inline: auto; }

/* the tower drawing */
.tower { display: block; overflow: visible; }
.tw-face { fill: var(--teal-ink); }
.tw-line { fill: none; stroke: var(--teal-line); stroke-width: 1.5; }
.tw-slab { stroke: #165F55; stroke-width: 1; }
.tw-w { fill: rgba(6, 58, 51, .55); stroke: var(--teal-line); stroke-width: 1.4; transition: fill .6s var(--ease), stroke .6s var(--ease); }
.tw-w.is-lit, .tw-unit.is-lit .tw-tank, .tw-unit.is-lit .tw-panel { fill: var(--sand); stroke: var(--sand); }
.tw-w.is-done { fill: var(--teal-deep); stroke: var(--teal-line); }
.tw-chk { fill: none; stroke: var(--teal-soft); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tw-tank, .tw-panel { fill: rgba(6, 58, 51, .55); stroke: var(--teal-line); stroke-width: 1.4; transition: fill .6s var(--ease); }
.tw-door { fill: var(--teal-deep); stroke: var(--teal-soft); stroke-width: 1.6; }
.tw-fl { font: 500 11px var(--mono); fill: var(--teal-soft); opacity: .55; text-anchor: end; }
.tw-shop { fill: rgba(6, 58, 51, .4); }
.pin { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--ink); font-size: .9rem; font-weight: 600; line-height: 1.3;
  padding: 7px 14px 7px 10px; border-radius: 999px; box-shadow: 0 10px 26px -10px rgba(0, 0, 0, .55); white-space: nowrap; left: 0; top: 0; opacity: 0;
  transition: opacity .4s; }
[dir="rtl"] .pin { padding: 7px 10px 7px 14px; }
.pin.is-on { opacity: 1; }
.pin-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--sand); box-shadow: 0 0 0 4px rgba(201, 164, 92, .3); }

/* floors */
.floors { background: var(--paper); padding-block: clamp(80px, 10vw, 140px) 40px; }
.floors-head { margin-bottom: 24px; }
.floors-head p { color: var(--ink2); font-size: 1.15rem; }
.sample { font-size: .85rem !important; color: var(--mute) !important; margin-top: 8px; }
.sample.on-teal { color: var(--teal-soft) !important; }
.floors-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .82fr); gap: clamp(32px, 6vw, 96px); }
.floors-tower { position: sticky; top: 92px; align-self: start; height: calc(100vh - 116px); background: var(--teal); border-radius: 20px; padding: 26px 22px 0; overflow: hidden;
  box-shadow: 0 30px 60px -40px rgba(6, 58, 51, .8); }
.floors-tower .tower { height: 100%; width: 100%; }
.floor { padding-block: 13vh; border-bottom: 1px solid var(--line); }
.floor:last-child { border-bottom: 0; }
.floor .strip { display: none; }
.f-meta { display: flex; gap: 14px; align-items: baseline; color: var(--mute); font-size: .92rem; margin-top: 16px; }
.f-meta time { font: 500 .88rem var(--mono); }
.floor h3 { font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.1rem); line-height: 1.3; margin-bottom: 14px; }
.floor > p { color: var(--ink2); margin-bottom: 22px; }
.art { display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 14px; background: var(--tint); }
.art span { display: flex; flex-direction: column; line-height: 1.4; }
.art b { font-weight: 600; }
.art small { color: var(--ink2); font-size: .9rem; }
.ic { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.art-approve { background: var(--sand-wash); } .art-approve .ic { color: var(--sand-ink); }
.art-status .ic { color: var(--teal); }
.art-proof { background: var(--teal-wash); } .art-proof .ic, .art-proof b { color: var(--ok); }
.art-alert { background: #FBEDEA; } .art-alert .ic, .art-alert b { color: var(--p1); }
.art-voice { background: #DCF8C6; border-radius: 14px 14px 14px 4px; padding: 10px 16px; }
[dir="rtl"] .art-voice { border-radius: 14px 14px 4px 14px; }
.art-voice .play { width: 34px; height: 34px; border-radius: 50%; background: #1FA855; color: #fff; display: grid; place-items: center; }
.art-voice .play .ic { width: 18px; height: 18px; }
.wave { display: flex !important; flex-direction: row !important; align-items: center; gap: 3px; height: 28px; }
.wave i { display: block; width: 3px; height: calc(var(--h) * 1.7px); background: #4F8A6B; border-radius: 2px; }
.dur { font: 500 .85rem var(--mono); color: #4F6B5D; }
.art-note { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 600; color: var(--teal); }
.art-note .ic { width: 20px; height: 20px; }

/* owner */
.owner { background: var(--tint); }
.owner-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.frame { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 2px 4px rgba(15, 30, 28, .06), 0 18px 36px -22px rgba(15, 30, 28, .4); border: 1px solid var(--line); }
.frame figcaption, .photo figcaption, .phone figcaption { font-size: .9rem; color: var(--mute); padding: 12px 16px; }
.photo { border-radius: 16px; overflow: hidden; }
.photo figcaption { padding-inline: 0; }

/* who / principles */
.who-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0; margin-top: 36px; border-top: 2px solid var(--teal); }
.who-list li { padding: 28px 28px 8px 0; border-inline-end: 1px solid var(--line); padding-inline: 0 28px; }
.who-list li + li { padding-inline-start: 28px; }
.who-list li:last-child { border-inline-end: 0; }
.who-list h3 { margin-bottom: 8px; color: var(--teal); }
.who-list p { color: var(--ink2); }
.who-list.on-ink { border-color: var(--sand); }
.who-list.on-ink li { border-color: rgba(255, 255, 255, .14); }
.who-list.on-ink h3 { color: var(--sand); }
.who-list.on-ink p { color: #C6D3D0; }

/* market */
.facts { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; margin-top: 40px; }
.facts { grid-template-columns: 1fr !important; gap: 0 !important; border-top: 1px solid rgba(159, 211, 199, .3); }
.facts li { padding-block: 26px; border-bottom: 1px solid rgba(159, 211, 199, .3); display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; }
.facts p { font-size: clamp(1.4rem, 1rem + 1.4vw, 2.1rem); line-height: 1.35; font-weight: 600; color: #fff; max-width: none; }
.facts b { color: var(--sand); font-family: var(--en); font-weight: 700; }
.facts .src { font-size: .9rem; font-weight: 400; color: var(--teal-soft); }

/* sense teaser */
.st-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.st-in img { border-radius: 14px; border: 1px solid var(--line); }

/* pilot */
.pilot { background: var(--tint); }
.pilot-steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 44px; }
.pilot-steps li { counter-increment: s; position: relative; padding-inline-end: 28px; padding-top: 58px; }
.pilot-steps li::before { content: counter(s); position: absolute; top: 0; inset-inline-start: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: #fff;
  display: grid; place-items: center; font: 600 1rem var(--en); z-index: 1; }
.pilot-steps li::after { content: ""; position: absolute; top: 20px; inset-inline: 40px 0; height: 0; border-top: 2px dashed var(--sand); }
.pilot-steps li:last-child::after { display: none; }
.pilot-steps h3 { margin-bottom: 6px; }
.pilot-steps p { color: var(--ink2); font-size: 1rem; }

/* cta band */
.cta-band { position: relative; overflow: hidden; background: var(--teal) url('img/riwaq-quiet.svg') repeat; background-size: 60px; padding-block: 104px; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--teal) 30%, rgba(11, 93, 82, .55)); }
[dir="rtl"] .cta-band::before { background: linear-gradient(270deg, var(--teal) 30%, rgba(11, 93, 82, .55)); }
.cta-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-in h2 { margin-bottom: 8px; }
.cta-in p { color: #D7ECE6; }

/* inner page head */
.phead { position: relative; overflow: hidden; padding-block: clamp(64px, 8vw, 112px) clamp(64px, 8vw, 104px); }
.phead-in { position: relative; z-index: 1; }
.phead h1 { font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.4rem); line-height: 1.18; max-width: 18ch; margin-bottom: 20px; }
.phead .lead { color: #D7ECE6; max-width: 46ch; }
.riwaq { position: absolute; inset-block: 0; inset-inline-end: 0; width: 34%; background: url('img/riwaq-quiet.svg') repeat; background-size: 60px; opacity: 1;
  -webkit-mask-image: linear-gradient(to left, #000 40%, transparent); mask-image: linear-gradient(to left, #000 40%, transparent); }
[dir="rtl"] .riwaq { -webkit-mask-image: linear-gradient(to right, #000 40%, transparent); mask-image: linear-gradient(to right, #000 40%, transparent); }
.badge { display: inline-block; margin-top: 22px; background: var(--sand); color: var(--ink); font-weight: 600; font-size: .9rem; padding: 4px 14px; border-radius: 999px; }
.phead .acts { margin-top: 28px; }

/* how it works */
.how-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.steps { list-style: none; counter-reset: st; }
.steps li { counter-increment: st; position: relative; padding-inline-start: 64px; padding-block: 4px 34px; }
.steps li::before { content: counter(st); position: absolute; inset-inline-start: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--teal); color: var(--teal);
  display: grid; place-items: center; font: 600 1.05rem var(--en); background: #fff; z-index: 1; }
.steps li::after { content: ""; position: absolute; inset-inline-start: 21px; top: 46px; bottom: 0; width: 2px; background: var(--teal-wash); }
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: 4px; }
.steps p { color: var(--ink2); }
.how-media { position: sticky; top: 110px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.phone img { border-radius: 26px; border: 6px solid var(--ink); box-shadow: 0 30px 50px -30px rgba(15, 30, 28, .6); }
.phone-b { margin-top: 70px; }
.phone figcaption { padding-inline: 0; text-align: center; }
.rule-in h2 { color: var(--teal-ink); }
.proof-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.extras { list-style: none; display: grid; gap: 30px; }
.extras h3 { color: var(--teal); margin-bottom: 4px; }
.extras p { color: var(--ink2); }

/* platform */
.mod { padding-block: clamp(56px, 7vw, 100px); border-bottom: 1px solid var(--line); }
.mod-in { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.mod-flip .mod-txt { order: 2; }
.mod-flip .mod-in { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); }

/* sense */
.diagram { margin-block: 28px 48px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.two-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.two-lists h3 { margin-bottom: 14px; }
.ticks { list-style: none; display: grid; gap: 12px; }
.ticks li { position: relative; padding-inline-start: 34px; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .45em; width: 20px; height: 20px; border-radius: 50%; background: var(--teal-wash)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%230B5D52' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ticks-no li::before { background: #FBEDEA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6.5 6.5l7 7M13.5 6.5l-7 7' fill='none' stroke='%23B42318' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.fit { margin-top: 36px; color: var(--mute); }

/* about */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.mail { color: var(--teal); font-weight: 600; font-size: 1.3rem; }

/* demo form */
.demo-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.demo-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.field { display: grid; gap: 8px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 1rem; }
.field input, .field select, .field textarea { font: inherit; font-size: 1.05rem; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%;
  transition: border-color .2s, box-shadow .2s; }
.field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%233D4F4C' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat; background-size: 18px; background-position: right 14px center; padding-inline-end: 40px; }
[dir="rtl"] .field select { background-position: left 14px center; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #AFC0BC; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(11, 93, 82, .14); }
.field.has-err input, .field.has-err select { border-color: var(--p1); }
.err { color: var(--p1); font-size: .9rem; min-height: 0; }
.err:empty { display: none; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ts { min-height: 65px; }
.form-foot { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.privacy { color: var(--mute); font-size: .9rem; }
.form-fail { color: var(--p1); background: #FBEDEA; border-radius: 12px; padding: 12px 16px; }
.form-ok { background: var(--teal-wash); border-radius: 18px; padding: 40px; }
.form-ok h2 { color: var(--teal); }
.demo-aside { background: var(--tint); border-radius: 18px; padding: 32px; }
.demo-aside h2 { font-size: 1.5rem; }

/* footer */
.site-foot { background: var(--ink); color: #C6D3D0; padding: 72px var(--gut) 40px; }
.foot-top, .foot-base { max-width: var(--wrap); margin-inline: auto; }
.foot-top { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.foot-line { margin-top: 16px; color: var(--sand); font-weight: 600; }
.site-foot ul { list-style: none; display: grid; gap: 8px; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-contact { display: grid; gap: 6px; align-content: start; }
.foot-contact .lbl { font-size: .85rem; color: #8FA29E; }
.foot-contact .lbl:last-child { margin-top: 14px; }
.foot-base { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 24px; font-size: .88rem; color: #8FA29E; }

/* reveal: content is visible by default; motion only refines it */
@media (prefers-reduced-motion: no-preference) {
  .js .floor > *:not(.strip) { transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js .floor:not(.is-in) > *:not(.strip) { opacity: .35; transform: translateY(10px); }
}

/* responsive */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: inline-grid; place-items: center; }
}
@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding-block: 48px 8px; }
  .hero-tower { height: 500px; margin-top: 24px; }
  .hero-tower .tower { width: 300px; }
  .floors-grid { grid-template-columns: 1fr; }
  .floors-tower { display: none; }
  .floor { padding-block: 44px; }
  .floor .strip { display: block; width: 100%; max-width: 360px; margin-bottom: 18px; background: var(--teal); border-radius: 10px; padding: 8px 10px 0; }
  .owner-in, .st-in, .how-grid, .proof-row, .mod-in, .mod-flip .mod-in, .about-grid, .demo-grid, .two-lists { grid-template-columns: 1fr; }
  .mod-flip .mod-txt { order: 0; }
  .how-media { position: static; }
  .pilot-steps { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .pilot-steps li:nth-child(2)::after { display: none; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .riwaq { width: 60%; opacity: .5; }
  .who-list li, .who-list li + li { border-inline-end: 0; padding-inline: 0; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
  .who-list.on-ink li { border-color: rgba(255, 255, 255, .14); }
}
@media (max-width: 560px) {
  .head-acts .btn-sm { display: none; }
  .demo-form { grid-template-columns: 1fr; }
  .pilot-steps { grid-template-columns: 1fr; }
  .pilot-steps li::after { display: none; }
  .foot-top { grid-template-columns: 1fr; }
  .how-media { grid-template-columns: 1fr 1fr; gap: 12px; }
  .art { padding: 10px 14px; }
  .wave { gap: 2px; }
}
.floors-tower .pin { transition: transform .8s var(--ease), opacity .4s; }
