@charset "UTF-8";
/* REALTIQS public site (realtiqs.com): the landing page, the sign-up form, and the owner's review page
   (served by linux/signup.py). Navy and gold as in the product; the device's own fonts (the gate's CSP allows no
   others). Logical properties (inline-start / inline-end) so that Arabic (rtl) and English (ltr) both work. */

:root {
    --night: #071526;
    --night-2: #0b1f36;
    --navy: #10294a;
    --navy-2: #1e4a80;
    --gold: #c9a35b;
    --gold-2: #e8d3a3;
    --gold-3: #a8843f;
    --mist: #edf1f6;
    --line: #d5dde8;
    --ink: #0b1f36;
    --muted: #55657a;
    --ok: #1d7348;
    --bad: #b42318;
    --white: #ffffff;
    --radius: 10px;
    --font: "Segoe UI", system-ui, -apple-system, "SF Arabic", "Noto Sans Arabic", "Noto Kufi Arabic", Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--ink);
    background: var(--white);
}
:lang(en) body, body:lang(en) { line-height: 1.6; }

img, svg { display: block; }
a { color: var(--navy-2); }
a:hover { color: var(--gold-3); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { margin: 0; line-height: 1.25; color: inherit; }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.08rem; font-weight: 700; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 720px) { .wrap { padding-inline: 28px; } }

/* ---- buttons ------------------------------------------------------------------------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 48px;
    padding: .7rem 1.4rem;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font: inherit;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-gold { background: var(--gold); color: var(--night); }
.btn-gold:hover { background: var(--gold-2); color: var(--night); }
.btn-gold:disabled { background: var(--gold-2); cursor: progress; }
.btn-line { border-color: rgba(232, 211, 163, .55); color: var(--white); }
.btn-line:hover { border-color: var(--gold-2); color: var(--gold-2); }
.btn-ghost { border-color: var(--line); background: var(--white); color: var(--ink); }
.btn-ghost:hover { border-color: var(--bad); color: var(--bad); }
.btn-small { min-height: 40px; padding: .45rem 1rem; font-size: .95rem; white-space: nowrap; }
@media (max-width: 420px) { .top-actions .btn-small { display: none; } }  /* the hero's own button is right below */
.btn-wide { width: 100%; }

/* ---- the night: header and hero ------------------------------------------------------------------------------ */
.night {
    color: var(--white);
    background:
        linear-gradient(180deg, rgba(7, 21, 38, .92) 0%, rgba(7, 21, 38, .78) 55%, rgba(7, 21, 38, .55) 100%),
        url("/skyline.svg") center bottom / cover no-repeat,
        var(--night);
}

.top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-block: 16px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: inherit;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: .04em;
}
.brand:hover { color: var(--gold-2); }
.top-actions { display: flex; align-items: center; gap: 10px; }
.lang {
    min-height: 40px;
    padding: .4rem .8rem;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--gold-2);
    font: inherit;
    font-size: .95rem;
    cursor: pointer;
}
.lang:hover { background: rgba(232, 211, 163, .12); }

.hero {
    display: grid;
    gap: 40px;
    align-items: center;
    padding-block: 28px 64px;
}
@media (min-width: 900px) {
    .hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; padding-block: 48px 96px; }
}
.hero h1 {
    font-size: clamp(2.1rem, 1.3rem + 3.6vw, 3.6rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.01em;
    max-width: 14ch;
    text-wrap: balance;
}
:lang(en) .hero h1 { max-width: 17ch; letter-spacing: -.02em; }
.lead { margin-top: 20px; max-width: 34em; color: #d6deea; font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* the availability board: a tower, floor by floor, each unit available / reserved / sold */
.board {
    margin: 0;
    justify-self: center;
    width: 100%;
    max-width: 380px;
    padding: 20px 20px 18px;
    border: 1px solid rgba(232, 211, 163, .22);
    border-radius: 16px;
    background: rgba(7, 21, 38, .72);
}
.board-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.board-name { font-weight: 700; }
.board-size { color: #9fb0c6; font-size: .9rem; }
.tower { display: grid; gap: 6px; padding-inline: 4px; }
.floor { display: grid; grid-template-columns: 1.6rem repeat(6, minmax(0, 1fr)); gap: 6px; align-items: center; }
.floor b {
    color: #7f93ad;
    font-size: .72rem;
    font-weight: 600;
    text-align: center;
    font-variant-numeric: tabular-nums;
}
.u {
    display: block;
    aspect-ratio: 1.35;
    border-radius: 3px;
    border: 1.5px solid var(--gold);
    background: transparent;
    transition: background-color .5s ease, border-color .5s ease, transform .5s ease;
}
.u.r { background: var(--gold-2); border-color: var(--gold-2); }
.u.s { background: var(--navy-2); border-color: #2a5c98; }
.u.flip { transform: scale(1.18); }
.lobby { height: 10px; margin-top: 4px; border-radius: 2px; background: rgba(232, 211, 163, .28); }
.legend { display: flex; justify-content: space-between; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; font-size: .92rem; }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend .u { width: 14px; }
.legend b { color: var(--gold-2); font-variant-numeric: tabular-nums; }

/* ---- what the system covers ---------------------------------------------------------------------------------- */
.features { padding-block: 72px 56px; }
.features h2 { max-width: 22ch; text-wrap: balance; }
.feature-list {
    display: grid;
    gap: 28px 48px;
    margin: 36px 0 0;
    padding: 0;
    list-style: none;
}
@media (min-width: 760px) { .feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.feature-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; }
.feature-list p { margin-top: 4px; color: var(--muted); max-width: 38em; }
.ico {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--mist);
    color: var(--gold-3);
}
.ico svg, .trust-list svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---- trust ---------------------------------------------------------------------------------------------------- */
.trust { background: var(--navy); color: var(--white); }
.trust-inner { display: grid; gap: 28px; padding-block: 56px; }
@media (min-width: 900px) { .trust-inner { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: 56px; } }
.trust h2 { text-wrap: balance; }
.trust-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.trust-list li { position: relative; padding-inline-start: 34px; color: #dbe3ee; }
.trust-list li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: .45em;
    width: 18px;
    height: 10px;
    border-left: 2.5px solid var(--gold);   /* physical on purpose: a tick looks the same in both languages */
    border-bottom: 2.5px solid var(--gold);
    transform: rotate(-45deg);
    transform-origin: center;
}

/* ---- steps ---------------------------------------------------------------------------------------------------- */
.steps { padding-block: 64px; }
.step-list {
    display: grid;
    gap: 18px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}
@media (min-width: 900px) { .step-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; } }
.step-list li {
    counter-increment: step;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}
@media (min-width: 900px) { .step-list li { grid-template-columns: 1fr; } }
.step-list li::before {
    content: counter(step);
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--gold);
    color: var(--gold-3);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

/* ---- the form ------------------------------------------------------------------------------------------------- */
.subscribe { background: var(--mist); }
.subscribe-inner { display: grid; gap: 32px; padding-block: 64px 72px; }
@media (min-width: 960px) { .subscribe-inner { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 56px; align-items: start; } }
.subscribe-intro p { margin-top: 12px; max-width: 32em; }
.subscribe-intro p + p.muted { margin-top: 24px; }
.subscribe-intro p.muted + p { margin-top: 2px; }
.muted { color: var(--muted); }

.form, .done {
    padding: 24px 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
}
@media (min-width: 720px) { .form, .done { padding: 32px; } }
.grid { display: grid; gap: 18px 20px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .wide { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; align-content: start; }
.field > span, .field > label { font-weight: 600; font-size: .98rem; }
.field small { color: var(--muted); font-size: .86rem; line-height: 1.5; }
input, select, textarea {
    width: 100%;
    min-height: 48px;
    padding: .6rem .8rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
    font: inherit;
    font-size: 1rem;
    line-height: 1.5;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold-3); box-shadow: 0 0 0 3px rgba(201, 163, 91, .28); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--bad); }
[dir="rtl"] input[dir="ltr"] { text-align: right; }
.link-field { display: flex; align-items: stretch; }
.link-field input { border-start-end-radius: 0; border-end-end-radius: 0; text-align: left; }
.link-field span {
    display: flex;
    align-items: center;
    padding-inline: .8rem;
    border: 1px solid var(--line);
    border-inline-start: 0;
    border-start-end-radius: 8px;
    border-end-end-radius: 8px;
    background: var(--mist);
    color: var(--muted);
    white-space: nowrap;
}
.state.ok { color: var(--ok); }
.state.bad { color: var(--bad); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.check input { width: 20px; min-height: 20px; height: 20px; margin-top: .3em; flex: none; accent-color: var(--gold-3); }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-msg { margin-top: 18px; padding: .7rem .9rem; border-radius: 8px; background: #fdecea; color: var(--bad); }
.form .btn-wide { margin-top: 22px; }
.done h3 { font-size: 1.4rem; }
.done p { margin-top: 10px; }
.done:focus { outline: none; }

/* ---- footer --------------------------------------------------------------------------------------------------- */
.foot { background: var(--night); color: #9fb0c6; font-size: .92rem; }
.foot-inner { display: grid; gap: 16px; padding-block: 32px; }
.foot a { color: var(--gold-2); }
.privacy { max-width: 70em; }
.copy { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* ---- the owner's review page (signup.py) ---------------------------------------------------------------------- */
.review-page { background: var(--mist); }
.review { width: 100%; max-width: 760px; margin: 0 auto; padding: 24px 16px 64px; }
.review .brand { color: var(--navy); margin-bottom: 28px; }
.review h1 { font-size: clamp(1.5rem, 1.1rem + 2vw, 2rem); font-weight: 800; }
.review > p { margin-top: 12px; }
.status { display: inline-block; margin-top: 14px; padding: .35rem .9rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 600; }
.status-pending { border-color: var(--gold); }
.status-approved, .status-creating { border-color: var(--navy-2); color: var(--navy-2); }
.status-ready { border-color: var(--ok); color: var(--ok); }
.status-rejected, .status-failed { border-color: var(--bad); color: var(--bad); }
.details {
    display: grid;
    grid-template-columns: minmax(7rem, max-content) minmax(0, 1fr);
    gap: 10px 20px;
    margin: 24px 0 0;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
}
.details dt { color: var(--muted); }
.details dd { margin: 0; overflow-wrap: anywhere; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hint { margin-top: 14px; color: var(--muted); font-size: .95rem; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
