/* InmoScan Express extension for the shared Softentgroup Experience OS shell. */

.imx-page {
    --imx-navy: #071426;
    --imx-navy-soft: #10233e;
    --imx-gold: #d9aa4d;
    --imx-gold-light: #f2d58d;
    --imx-cyan: #77d4d0;
    --imx-paper: #f5f1e9;
    --imx-paper-soft: #ece7dc;
    --imx-ink: #17212d;
    --imx-muted: #596777;
    --imx-line: rgba(23, 33, 45, 0.14);
    background: var(--imx-paper);
    color: var(--imx-ink);
}

.imx-page main {
    display: block;
}

.imx-brand {
    display: inline-flex;
    min-width: 0;
    flex: 0 1 auto;
    align-items: center;
    gap: 11px;
}

.imx-brand__icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 10px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.imx-brand__copy {
    display: grid;
    min-width: 0;
    line-height: 1.05;
}

.imx-brand__copy strong {
    overflow: hidden;
    color: var(--os-text);
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.imx-brand__copy small {
    margin-top: 5px;
    color: #aeb9c8;
    font-family: "Teko", "Arial Narrow", sans-serif;
    font-size: 13px;
    font-weight: 500;
}

.imx-header__status {
    color: var(--imx-gold-light);
    font-family: "Teko", "Arial Narrow", sans-serif;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
}

.imx-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 82px 0 92px;
    border-bottom: 1px solid rgba(217, 170, 77, 0.24);
    background:
        linear-gradient(rgba(119, 212, 208, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(119, 212, 208, 0.045) 1px, transparent 1px),
        linear-gradient(115deg, rgba(7, 20, 38, 0.98) 0%, rgba(9, 22, 39, 0.94) 54%, rgba(16, 35, 62, 0.9) 100%);
    background-size: 44px 44px, 44px 44px, auto;
    color: var(--os-text);
}

.imx-hero--product {
    background:
        linear-gradient(rgba(119, 212, 208, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(119, 212, 208, 0.04) 1px, transparent 1px),
        linear-gradient(105deg, rgba(5, 10, 18, 0.99) 0%, rgba(7, 20, 38, 0.95) 50%, rgba(7, 20, 38, 0.68) 100%),
        url("../images/inmoscan/hero-inmoscan.webp") center / cover no-repeat;
    background-size: 44px 44px, 44px 44px, auto, cover;
}

.imx-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 9%;
    right: -9%;
    width: 48%;
    height: 82%;
    border: 1px solid rgba(217, 170, 77, 0.17);
    background:
        linear-gradient(90deg, transparent 49.8%, rgba(217, 170, 77, 0.18) 50%, transparent 50.2%),
        linear-gradient(transparent 49.8%, rgba(119, 212, 208, 0.14) 50%, transparent 50.2%);
    clip-path: polygon(16% 0, 100% 0, 100% 84%, 82% 100%, 0 100%, 0 18%);
    pointer-events: none;
}

.imx-hero__layout {
    display: grid;
    min-width: 0;
    align-items: center;
    gap: 54px;
}

.imx-hero__copy {
    min-width: 0;
    max-width: 720px;
}

.imx-lockup {
    width: min(286px, 78vw);
    height: auto;
    margin-bottom: 22px;
}

.imx-product-id {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    padding: 6px 12px 6px 7px;
    border: 1px solid rgba(217, 170, 77, 0.38);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.055);
    color: #e6ebf2;
    font-size: 13px;
    font-weight: 650;
}

.imx-product-id img {
    width: 30px;
    height: 30px;
    border-radius: 7px;
}

.imx-hero h1 {
    max-width: 760px;
    margin-bottom: 22px;
    color: var(--os-text);
    font-size: 52px;
    font-weight: 720;
    line-height: 1.07;
}

.imx-hero__lead {
    max-width: 690px;
    margin-bottom: 28px;
    color: #c2cddd;
    font-size: 18px;
    line-height: 1.7;
}

.imx-hero .osi-actions {
    margin-top: 28px;
}

.imx-store-status {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 11px 17px;
    border: 1px solid rgba(217, 170, 77, 0.46);
    border-radius: 4px;
    background: var(--imx-gold);
    color: #111720;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}

.imx-signal-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.imx-signal-list li,
.imx-tag {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.055);
    color: #d2dae5;
    font-size: 12px;
    font-weight: 650;
}

.imx-device-stage {
    position: relative;
    min-width: 0;
    min-height: 590px;
}

.imx-device-stage::before,
.imx-device-stage::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.imx-device-stage::before {
    inset: 46px 8px 34px 42px;
    border: 1px solid rgba(217, 170, 77, 0.24);
    background: rgba(5, 10, 18, 0.34);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

.imx-device-stage::after {
    top: 12px;
    right: 24px;
    width: 96px;
    height: 96px;
    border-top: 1px solid rgba(119, 212, 208, 0.5);
    border-right: 1px solid rgba(119, 212, 208, 0.5);
}

.imx-phone {
    position: absolute;
    z-index: 2;
    width: 246px;
    padding: 9px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 32px;
    background: #050a12;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
}

.imx-phone img {
    width: 100%;
    aspect-ratio: 719 / 1560;
    border-radius: 24px;
    object-fit: cover;
}

.imx-phone--primary {
    top: 0;
    left: 14%;
}

.imx-phone--secondary {
    right: 0;
    bottom: 18px;
    width: 198px;
}

.imx-visual-note {
    position: absolute;
    z-index: 3;
    bottom: 68px;
    left: 0;
    width: 225px;
    padding: 17px;
    border-left: 3px solid var(--imx-gold);
    background: rgba(5, 10, 18, 0.94);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
}

.imx-visual-note strong,
.imx-visual-note span {
    display: block;
}

.imx-visual-note strong {
    margin-bottom: 6px;
    color: #fff;
    font-size: 15px;
}

.imx-visual-note span {
    color: #aeb9c8;
    font-size: 12px;
    line-height: 1.55;
}

.imx-hero__panel {
    min-width: 0;
    padding: 26px;
    border: 1px solid rgba(217, 170, 77, 0.25);
    border-radius: 6px;
    background: rgba(5, 10, 18, 0.72);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.imx-hero__panel h2 {
    margin-bottom: 12px;
    color: #fff;
    font-size: 26px;
    line-height: 1.2;
}

.imx-hero__panel p,
.imx-hero__panel li {
    color: #c2cddd;
}

.imx-hero__panel a {
    color: var(--imx-gold-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.imx-section {
    padding: 82px 0;
    background: var(--imx-paper);
}

.imx-section--soft {
    background: var(--imx-paper-soft);
}

.imx-section--dark {
    border-block: 1px solid rgba(217, 170, 77, 0.2);
    background: #08111e;
    color: var(--os-text);
}

.imx-section__heading {
    max-width: 780px;
    margin-bottom: 38px;
}

.imx-section__heading--center {
    margin-inline: auto;
    text-align: center;
}

.imx-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: #98600e;
    font-family: "Teko", "Arial Narrow", sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
}

.imx-eyebrow::before {
    content: "";
    width: 26px;
    height: 1px;
    flex: 0 0 auto;
    background: var(--imx-gold);
}

.imx-section--dark .imx-eyebrow,
.imx-hero .imx-eyebrow {
    color: var(--imx-gold-light);
}

.imx-section__heading h2,
.imx-final h2 {
    margin-bottom: 14px;
    font-size: 38px;
    line-height: 1.15;
}

.imx-section__heading > p:last-child {
    margin-bottom: 0;
    color: var(--imx-muted);
    font-size: 17px;
    line-height: 1.7;
}

.imx-process,
.imx-feature-grid,
.imx-audience-grid,
.imx-summary-grid,
.imx-faq-grid {
    display: grid;
    gap: 18px;
}

.imx-process,
.imx-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.imx-feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.imx-audience-grid,
.imx-faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.imx-card,
.imx-step,
.imx-faq {
    min-width: 0;
    padding: 24px;
    border: 1px solid var(--imx-line);
    border-top: 3px solid var(--imx-gold);
    border-radius: 6px;
    background: rgba(255, 253, 249, 0.78);
}

.imx-card:nth-child(even),
.imx-faq:nth-child(even) {
    border-top-color: #3d9d99;
}

.imx-card h3,
.imx-step h3,
.imx-faq h3 {
    margin-bottom: 9px;
    font-size: 19px;
    line-height: 1.35;
}

.imx-card p,
.imx-step p,
.imx-faq p {
    margin-bottom: 0;
    color: var(--imx-muted);
    line-height: 1.65;
}

.imx-step__number {
    display: inline-flex;
    margin-bottom: 18px;
    color: #8d580d;
    font-family: "Teko", "Arial Narrow", sans-serif;
    font-size: 30px;
    font-weight: 600;
    line-height: 1;
}

.imx-showcase {
    display: grid;
    align-items: center;
    gap: 44px;
}

.imx-showcase__copy {
    min-width: 0;
}

.imx-showcase__media {
    min-width: 0;
}

.imx-flow-image {
    width: 100%;
    border: 1px solid var(--imx-line);
    border-radius: 6px;
    box-shadow: 0 22px 54px rgba(23, 33, 45, 0.14);
}

.imx-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.imx-gallery figure {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--imx-line);
    border-radius: 5px;
    background: #fff;
}

.imx-gallery img {
    width: 100%;
    aspect-ratio: 719 / 1100;
    object-fit: cover;
    object-position: top;
}

.imx-gallery figcaption {
    padding: 8px;
    color: var(--imx-muted);
    font-size: 11px;
    font-weight: 650;
    text-align: center;
}

.imx-scope {
    display: grid;
    gap: 34px;
    padding-left: 24px;
    border-left: 3px solid var(--imx-gold);
}

.imx-scope h2 {
    margin-bottom: 14px;
    color: #fff;
    font-size: 36px;
    line-height: 1.15;
}

.imx-scope p,
.imx-scope li {
    color: #bdc8d7;
}

.imx-list {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.imx-list li {
    position: relative;
    padding-left: 20px;
}

.imx-list li::before {
    content: "";
    position: absolute;
    top: 0.7em;
    left: 0;
    width: 9px;
    height: 1px;
    background: var(--imx-gold);
}

.imx-final {
    padding: 72px 0;
    background: var(--imx-paper);
}

.imx-final__inner {
    display: grid;
    align-items: end;
    gap: 30px;
    padding-left: 24px;
    border-left: 3px solid var(--imx-gold);
}

.imx-final p {
    max-width: 720px;
    margin-bottom: 0;
    color: var(--imx-muted);
}

.imx-summary-grid {
    margin-bottom: 64px;
}

.imx-legal-layout {
    display: grid;
    gap: 50px;
}

.imx-legal-nav {
    display: grid;
    align-content: start;
    gap: 4px;
    padding-left: 18px;
    border-left: 2px solid var(--imx-gold);
}

.imx-legal-nav strong {
    margin-bottom: 8px;
    color: #87540c;
    font-family: "Teko", "Arial Narrow", sans-serif;
    font-size: 16px;
    text-transform: uppercase;
}

.imx-legal-nav a {
    display: flex;
    min-height: 42px;
    align-items: center;
    color: var(--imx-muted);
    font-size: 13px;
    font-weight: 600;
}

.imx-legal-nav a:hover {
    color: var(--imx-ink);
}

.imx-legal-content {
    min-width: 0;
}

.imx-legal-section {
    padding-bottom: 44px;
}

.imx-legal-section + .imx-legal-section {
    padding-top: 44px;
    border-top: 1px solid var(--imx-line);
}

.imx-legal-section h2 {
    margin-bottom: 15px;
    font-size: 30px;
    line-height: 1.2;
}

.imx-legal-section h3 {
    margin: 24px 0 8px;
    font-size: 19px;
}

.imx-legal-section p,
.imx-legal-section li {
    color: var(--imx-muted);
}

.imx-legal-section a,
.imx-faq a,
.imx-hero__lead a {
    color: #80500b;
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.imx-callout {
    margin-top: 22px;
    padding: 20px;
    border-left: 3px solid #3d9d99;
    background: rgba(119, 212, 208, 0.09);
}

.imx-callout p:last-child {
    margin-bottom: 0;
}

.imx-contact-panel {
    padding-left: 20px;
    border-left: 3px solid var(--imx-gold);
}

.imx-contact-panel p:last-child {
    margin-bottom: 0;
}

.imx-footer-logo {
    width: min(220px, 68vw);
    margin-bottom: 12px;
}

@media (min-width: 900px) {
    .imx-hero__layout {
        grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
    }

    .imx-showcase {
        grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    }

    .imx-scope {
        grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    }

    .imx-final__inner {
        grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
    }

    .imx-final .osi-actions {
        justify-content: flex-end;
    }

    .imx-legal-layout {
        grid-template-columns: minmax(190px, 0.28fr) minmax(0, 1fr);
    }

    .imx-legal-nav {
        position: sticky;
        top: 112px;
    }
}

@media (max-width: 1050px) {
    .imx-header__status {
        display: none;
    }

    .imx-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .imx-hero {
        padding: 72px 0 78px;
    }

    .imx-hero::after {
        top: auto;
        right: -20%;
        bottom: 4%;
        width: 76%;
        height: 42%;
        opacity: 0.5;
    }

    .imx-hero__layout {
        gap: 38px;
    }

    .imx-device-stage {
        width: min(100%, 570px);
        min-height: 520px;
    }

    .imx-process,
    .imx-summary-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .imx-summary-grid {
        margin-bottom: 48px;
    }

    .imx-section {
        padding: 70px 0;
    }
}

@media (max-width: 639px) {
    .imx-brand__icon {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .imx-brand__copy strong {
        font-size: 13px;
    }

    .imx-brand__copy small {
        font-size: 12px;
    }

    .imx-hero {
        padding: 58px 0 64px;
        background-size: 34px 34px, 34px 34px, auto;
    }

    .imx-hero--product {
        background-size: 34px 34px, 34px 34px, auto, cover;
    }

    .imx-lockup {
        width: 235px;
    }

    .imx-hero h1 {
        font-size: 36px;
        line-height: 1.1;
    }

    .imx-hero__lead {
        font-size: 16px;
    }

    .imx-store-status,
    .imx-hero .osi-actions .osi-button {
        width: 100%;
    }

    .imx-device-stage {
        min-height: 450px;
    }

    .imx-device-stage::before {
        inset: 34px 8px 24px;
    }

    .imx-phone--primary {
        left: 50%;
        width: 210px;
        transform: translateX(-50%);
    }

    .imx-phone--secondary {
        display: none;
    }

    .imx-visual-note {
        right: 0;
        bottom: 18px;
        left: auto;
        width: min(225px, 76vw);
    }

    .imx-section {
        padding: 58px 0;
    }

    .imx-section__heading {
        margin-bottom: 30px;
    }

    .imx-section__heading h2,
    .imx-final h2,
    .imx-scope h2 {
        font-size: 30px;
    }

    .imx-feature-grid,
    .imx-audience-grid,
    .imx-faq-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .imx-card,
    .imx-step,
    .imx-faq {
        padding: 21px 19px;
    }

    .imx-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .imx-scope,
    .imx-final__inner {
        padding-left: 17px;
    }

    .imx-final {
        padding: 58px 0;
    }

    .imx-final .osi-actions {
        display: grid;
    }

    .imx-final .osi-button {
        width: 100%;
    }

    .imx-legal-nav {
        display: none;
    }

    .imx-legal-section {
        padding-bottom: 36px;
    }

    .imx-legal-section + .imx-legal-section {
        padding-top: 36px;
    }

    .imx-legal-section h2 {
        font-size: 27px;
    }
}

@media (max-width: 380px) {
    .imx-brand__copy small {
        display: none;
    }

    .imx-hero h1 {
        font-size: 33px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .imx-page .osi-button,
    .imx-page .osi-nav a::after {
        transition: none;
    }

    .imx-page .osi-button:hover {
        transform: none;
    }
}
