:root {
    --navy: #00296e;
    --ink: #102a46;
    --muted: #425a70;
    --teal: #5dc4bb;
    --paper: #f2f8f9;
    --line: #cfdee5;
    font-family: Inter, 'Noto Sans Arabic', sans-serif;
    color: var(--ink);
    background: var(--paper);
}

:root[dir="rtl"] {
    font-family: 'Noto Sans Arabic', Inter, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(ellipse at 85% 100%, #e0f2f1, transparent 55%);
}

button {
    font: inherit;
    cursor: pointer;
}

a:focus-visible, button:focus-visible {
    outline: 3px solid #087b76;
    outline-offset: 4px;
}

.entry-header {
    min-height: 88px;
    padding: 1rem max(5vw, calc((100% - 1220px) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.parent-brand {
    display: inline-flex;
    flex: none;
}

.parent-brand img {
    display: block;
    width: clamp(130px, 22vw, 185px);
    height: auto;
}

.language-switch {
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: .35rem .9rem;
    font-family: 'Noto Sans Arabic', Inter, sans-serif;
    background: #fff;
    color: var(--navy);
    font-size: .9rem;
    font-weight: 700;
}

.language-switch:hover {
    background: var(--paper);
    border-color: #087b76;
}

.entry {
    width: min(90%, 1220px);
    min-height: calc(100vh - 88px);
    margin-inline: auto;
    padding-block: clamp(3.25rem, 8vw, 6.5rem);
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(2.5rem, 6vw, 6.5rem);
    align-items: center;
}

.product-name {
    width: fit-content;
    margin: 0 0 1.15rem;
    border-inline-start: 3px solid var(--teal);
    padding-inline-start: .7rem;
    color: var(--navy);
    font-family: Inter, sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
}

h1, h2, h3, p {
    margin-block-start: 0;
}

.entry-intro h1 {
    text-wrap: balance;
    font-size: clamp(2.5rem, 5.5vw, 5.15rem);
    font-weight: 800;
    line-height: 1.03;
    letter-spacing: -.06em;
    margin-block-end: 1.4rem;
}

[dir="rtl"] .entry-intro h1 {
    font-size: clamp(2.4rem, 5vw, 4.7rem);
    line-height: 1.32;
    letter-spacing: normal;
}

.entry-summary {
    max-width: 35rem;
    margin-block-end: 2rem;
    color: var(--muted);
    font-size: clamp(1.05rem, 1.55vw, 1.23rem);
    line-height: 1.75;
}

.entry-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.4rem;
    min-height: 56px;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: .65rem 1.2rem;
    background: var(--navy);
    color: #fff;
    font-weight: 700;
}

.entry-button:hover {
    background: #063d88;
}

.entry-button span {
    color: #8be0d8;
    font-size: 1.35rem;
}

.entry-note {
    margin-block: .9rem 0;
    color: var(--muted);
    font-size: .87rem;
    line-height: 1.6;
}

.preview {
    padding: clamp(1rem, 4vw, 3rem);
    border-radius: 24px;
    background-color: #063364;
    background-image: linear-gradient(150deg, #06264cdd, #0b5768cc),
        repeating-linear-gradient(90deg, #71ccc055 0 1px, transparent 1px 36px),
        repeating-linear-gradient(0deg, #71ccc055 0 1px, transparent 1px 36px);
    box-shadow: 0 15px 46px #06264c20;
}

.preview-content {
    padding: clamp(1.15rem, 2.5vw, 1.85rem);
    border: 1px solid #e2eeee;
    border-radius: 16px;
    background: #fff;
}

.preview-heading, .preview-list li {
    display: flex;
    align-items: center;
    gap: .8rem;
}

.preview-heading {
    margin-block-end: 1.25rem;
}

.preview-heading h2 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
}

.preview-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.preview-list li {
    border-top: 1px solid #dce8ed;
    padding-block: 1rem;
}

.preview-list li:last-child {
    padding-block-end: .15rem;
}

.preview-list h3 {
    font-weight: 700;
    font-size: .97rem;
    margin-block-end: .2rem;
}

.preview-list p {
    margin: 0;
    color: var(--muted);
    font-size: .85rem;
    line-height: 1.6;
}

.preview-icon {
    position: relative;
    flex: 0 0 38px;
    height: 38px;
    border-radius: 8px;
    background: #e6f4f3;
    color: #0a635f;
}

.preview-icon::before, .preview-icon::after {
    content: '';
    position: absolute;
}

.property-icon::before, .receipt-icon::before {
    inset: 8px 12px;
    border: 1.5px solid currentColor;
    border-radius: 2px;
}

.property-icon::after, .receipt-icon::after {
    inset: 14px 16px auto;
    height: 1.5px;
    background: currentColor;
    box-shadow: 0 4px currentColor, 0 8px currentColor;
}

.property-icon::after {
    inset-inline: 16px 18px;
    box-shadow: 4px 0 currentColor, 0 4px currentColor, 4px 4px currentColor, 0 8px currentColor;
}

.report-icon::before {
    left: 9px;
    right: 9px;
    bottom: 9px;
    height: 1.5px;
    background: currentColor;
}

.report-icon::after {
    left: 11px;
    bottom: 13px;
    width: 3px;
    height: 6px;
    background: currentColor;
    box-shadow: 7px 0 currentColor, 7px -4px currentColor, 14px 0 currentColor,
        14px -4px currentColor, 14px -8px currentColor;
}

@media (max-width: 800px) {
    .entry {
        grid-template-columns: minmax(0, 1fr);
        max-width: 580px;
        min-height: auto;
    }

    .entry-intro h1 {
        text-wrap: wrap;
    }
}

@media (max-width: 420px) {
    .entry-header {
        min-height: 70px;
    }

    .entry {
        width: calc(100% - 2rem);
        gap: 2rem;
        padding-block: 2.25rem;
    }

    .entry-button {
        width: 100%;
    }
}
