@import url("fonts.css");
@import url("global-shell.css");

.st-page {
    margin: 0;
    background: #fff;
    color: #142d46;
    font: 17px/1.65 "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

html[lang="ar"] .st-page {
    font-family: "SF Arabic", "SF Pro AR", "Geeza Pro", Tahoma, Arial, sans-serif;
    line-height: 1.85;
}

.st-page *, .st-page *::before, .st-page *::after { box-sizing: border-box; }
.st-page :is(h1, h2, h3, p, figure) { margin: 0; }
.st-page a { color: #14569b; text-underline-offset: .2em; }
.st-page :is(a, video):focus-visible { outline: 3px solid #1875cc; outline-offset: 4px; }
.st-wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.st-page .skip-link {
    position: fixed;
    inset-block-start: 12px;
    inset-inline-start: 12px;
    z-index: 100;
    padding: 10px 16px;
    color: #fff;
    background: #142d46;
    transform: translateY(-160%);
}
.st-page .skip-link:focus { transform: none; }
.st-productbar { background: #fff; border-bottom: 1px solid #dce6ef; }
.st-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    min-height: 74px;
    gap: 10px 32px;
    padding-block: 12px;
}
.st-bar .st-brand {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    color: #142d46;
    font-weight: 700;
    font-size: 1.35rem;
}
.st-brand img { display: block; }
.st-bar nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.st-bar a { text-decoration: none; }
.st-bar a:hover { text-decoration: underline; }

.st-hero {
    padding-block: clamp(40px, 7vw, 96px);
    background: radial-gradient(ellipse at 80% 38%, #d8edff, transparent 63%), linear-gradient(180deg, #f3f8fd, #fff);
}
html[dir="rtl"] .st-hero {
    background: radial-gradient(ellipse at 20% 38%, #d8edff, transparent 63%), linear-gradient(180deg, #f3f8fd, #fff);
}
.st-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.35fr);
    align-items: center;
    gap: clamp(24px, 4.5vw, 58px);
}
.st-hero-copy .st-platform {
    margin-block-end: 12px;
    color: #286493;
    font-size: 1rem;
    font-weight: 700;
}
.st-hero h1 {
    font-size: clamp(2.35rem, 4.2vw, 4.25rem);
    font-weight: 750;
    letter-spacing: -.04em;
    line-height: 1.1;
    text-wrap: balance;
}
html[lang="ar"] .st-hero h1 { line-height: 1.38; letter-spacing: normal; }
.st-hero-copy .st-lead { margin-block-start: 18px; color: #415e79; font-size: 1.15rem; }
.st-hero-copy .st-requirements { margin-block-start: 14px; color: #456078; font-size: .92rem; }
.st-page .st-button {
    display: inline-block;
    margin-block-start: 20px;
    border-radius: 12px;
    background: #14569b;
    color: #fff;
    padding: 10px 20px;
    font-weight: 650;
    text-decoration: none;
}
.st-page .st-button:hover { background: #124882; }
.st-hero-media img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #c9ddf0;
    border-radius: clamp(10px, 1.5vw, 24px);
    box-shadow: 0 18px 44px #173a6826;
}
.st-language { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; padding-block: 12px; }
.st-language a[aria-current="page"] { color: #142d46; font-weight: 700; text-decoration: none; }
.st-section { padding-block: clamp(36px, 6vw, 76px); scroll-margin-top: 16px; }
.st-section h2 { margin-block-end: 22px; font-size: clamp(1.9rem, 3vw, 2.85rem); line-height: 1.3; }
.st-videos, .st-screenshots {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 24px);
}
.st-video, .st-screenshot {
    overflow: hidden;
    border: 1px solid #dde8f0;
    border-radius: 16px;
    background: #fff;
}
.st-video video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    background: #0f2031;
}
.st-video-copy { padding: 16px 18px 18px; }
.st-video-copy h3 { font-size: 1.15rem; line-height: 1.4; }
.st-video-copy p { margin-block-start: 6px; color: #405a72; font-size: 1rem; }
.st-gallery { background: #f2f7fc; }
.st-screenshot a { display: block; }
.st-screenshot a:focus-visible { outline-offset: -4px; }
.st-screenshot img { display: block; width: 100%; height: auto; }
.st-screenshot figcaption { padding: 9px 14px; color: #405a72; }

@media (max-width: 980px) {
    .st-videos, .st-screenshots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .st-wrap { width: calc(100% - 36px); }
    .st-hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 570px) {
    .st-videos, .st-screenshots { grid-template-columns: 1fr; }
}
