@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Arabic:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  color-scheme: light;
  --paper: #f4f5ef;
  --paper-deep: #e9eee5;
  --ink: #172823;
  --ink-soft: #496057;
  --line: #d8ded7;
  --mint: #8de0b6;
  --mint-deep: #44a879;
  --blue: #18a8e9;
  --white: #fff;
  --font-ar: 'Noto Sans Arabic', 'Segoe UI', sans-serif;
  --font-latin: 'Space Grotesk', var(--font-ar);
  --page: min(1180px, calc(100% - 72px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-ar); font-size: 15px; line-height: 1.8; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--mint); color: var(--ink); }
.skip-link { position: fixed; z-index: 30; inset-block-start: 10px; inset-inline-start: 10px; padding: 8px 14px; background: var(--ink); color: var(--white); transform: translateY(-140%); }
.skip-link:focus { transform: translateY(0); }

.site-header { width: var(--page); min-height: 84px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; direction: ltr; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; background: var(--mint); border-radius: 12px 12px 12px 4px; }
.brand-mark img { width: 33px; height: 33px; object-fit: contain; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; letter-spacing: .05em; color: var(--ink); }
.brand-name strong { font: 700 11px var(--font-latin); }
.brand-name span { font: 700 11px var(--font-latin); }
.main-nav { display: flex; gap: 36px; margin-inline-start: auto; margin-inline-end: 65px; font-size: 12px; color: var(--ink-soft); }
.main-nav a, .footer-links a { transition: color .2s ease; }
.main-nav a:hover, .footer-links a:hover { color: var(--mint-deep); }
.header-cta { padding: 10px 16px; border: 1px solid var(--ink); border-radius: 4px; font-size: 11px; font-weight: 700; transition: background .2s, color .2s, transform .2s; }
.header-cta span { margin-inline-start: 7px; }
.header-cta:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); }

.hero { position: relative; width: var(--page); min-height: 640px; margin-inline: auto; padding: 84px 28px 90px; display: grid; grid-template-columns: 1fr minmax(360px, .76fr); align-items: center; gap: clamp(48px, 9vw, 130px); overflow: hidden; }
.hero-copy { position: relative; z-index: 2; max-width: 545px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; color: var(--ink-soft); font-size: 10px; font-weight: 700; letter-spacing: .035em; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint-deep); box-shadow: 0 0 0 5px rgb(68 168 121 / 13%); }
.hero h1 { margin: 0; font-size: clamp(54px, 7.6vw, 98px); line-height: 1.25; font-weight: 800; letter-spacing: -.06em; }
.hero h1 span, .section-intro h2 span, .updates-heading h2 span, .download-copy h2 span { color: var(--mint-deep); }
.hero-description { max-width: 450px; margin: 21px 0 0; color: var(--ink-soft); font-size: 14px; line-height: 2.15; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 29px; }
.button { min-height: 49px; display: inline-flex; align-items: center; justify-content: center; gap: 15px; padding: 10px 18px; border-radius: 4px; font-size: 12px; font-weight: 700; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-3px); }
.button-primary { background: var(--ink); color: var(--white); }
.button-primary:hover { background: #29483e; }
.button-primary span, .button-light span, .button-dark span { font-size: 17px; line-height: 1; }
.text-link, .arrow-link { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 700; border-bottom: 1px solid #9cac9e; padding-bottom: 4px; }
.text-link span { font-size: 16px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 17px 24px; margin-top: 38px; color: #77867c; font-size: 10px; }
.hero-facts span { display: inline-flex; align-items: center; gap: 7px; }
.fact-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--mint-deep); }
.hero-art { position: relative; width: min(100%, 425px); justify-self: center; }
.art-image-wrap { position: relative; padding: 10px; background: var(--white); box-shadow: 0 18px 55px rgb(34 53 44 / 15%); transform: rotate(2deg); }
.art-image { width: 100%; height: 475px; object-fit: cover; object-position: center 51%; background: #dfe7e1; }
.art-caption { position: absolute; inset-inline: 21px; bottom: 21px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; color: var(--ink); background: rgb(255 255 255 / 93%); backdrop-filter: blur(8px); }
.caption-icon { width: 32px; height: 32px; display: grid; place-items: center; background: var(--mint); border-radius: 8px; }
.caption-icon img { width: 28px; height: 28px; }
.art-caption b, .art-caption small { display: block; }
.art-caption b { font-size: 10px; }
.art-caption small { color: var(--ink-soft); font-size: 9px; }
.art-stamp { position: absolute; z-index: 3; top: -28px; inset-inline-end: -35px; width: 86px; height: 86px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; background: var(--mint); color: var(--ink); font-weight: 800; transform: rotate(9deg); }
.art-stamp span:first-child { font-size: 11px; }
.art-stamp span:last-child { font-size: 12px; line-height: 1.35; }
.art-spark { position: absolute; color: var(--mint-deep); }
.spark-one { inset-inline-start: -39px; top: 19%; font-size: 32px; }
.spark-two { inset-inline-end: -27px; bottom: 10%; font-size: 20px; }
.hero-index { position: absolute; bottom: 36px; inset-inline-start: 28px; display: flex; align-items: center; gap: 10px; color: #9ca89d; direction: ltr; font: 500 10px var(--font-latin); }
.hero-index span:first-child { color: var(--ink); }
.hero-index i { width: 50px; height: 1px; background: #cbd3cb; }

.ticker { overflow: hidden; background: var(--mint); color: var(--ink); }
.ticker-track { min-width: max-content; display: flex; justify-content: space-around; align-items: center; gap: clamp(28px, 5vw, 80px); padding: 15px 0; animation: ticker-drift 40s linear infinite; }
.ticker-track span { font-size: 11px; font-weight: 700; }
.ticker-track i { color: #418c68; font-size: 13px; font-style: normal; }
@keyframes ticker-drift { from { transform: translateX(0); } to { transform: translateX(-25%); } }

.section-shell { width: var(--page); margin-inline: auto; }
.features { padding-block: 125px 135px; display: grid; grid-template-columns: minmax(260px, .74fr) 1.25fr; gap: clamp(50px, 10vw, 150px); }
.section-number { color: #a3aea4; direction: ltr; font: 500 10px var(--font-latin); }
.section-intro { position: sticky; top: 90px; align-self: start; }
.section-intro h2, .updates-heading h2 { margin: 0; font-size: clamp(38px, 5vw, 60px); line-height: 1.42; letter-spacing: -.05em; }
.section-intro > p:not(.eyebrow) { max-width: 350px; margin: 19px 0 24px; color: var(--ink-soft); font-size: 13px; line-height: 2.1; }
.arrow-link { border-bottom: 0; gap: 14px; }
.arrow-link span { font-size: 18px; }
.feature-list { border-top: 1px solid var(--line); }
.feature-item { min-height: 120px; display: grid; grid-template-columns: 40px 1fr 44px; align-items: center; gap: 19px; padding: 20px 0; border-bottom: 1px solid var(--line); transition: padding .25s ease, background .25s ease; }
.feature-item:hover { padding-inline: 12px; background: rgb(255 255 255 / 45%); }
.feature-index { align-self: start; padding-top: 9px; color: #87948a; direction: ltr; font: 500 11px var(--font-latin); }
.feature-item h3 { margin: 0 0 5px; font-size: 15px; font-weight: 700; }
.feature-item p { margin: 0; color: var(--ink-soft); font-size: 11px; line-height: 1.9; }
.feature-symbol { width: 38px; height: 38px; display: grid; place-items: center; background: var(--paper-deep); color: var(--mint-deep); border-radius: 50%; font: 500 19px var(--font-latin); }
.tracker-symbol { font-size: 25px; }

.reader-note { background: #e8eee7; overflow: hidden; }
.reader-note-inner { position: relative; width: var(--page); min-height: 350px; margin: auto; display: flex; align-items: center; padding-block: 58px; }
.reader-quote-mark { position: absolute; inset-inline-start: 37%; top: 8px; color: #d4e3d6; font: 700 260px Georgia, serif; line-height: 1; }
.reader-note-copy { position: relative; z-index: 2; max-width: 670px; }
.reader-note-copy .eyebrow { margin-bottom: 10px; }
.reader-note-copy h2 { margin: 0; font-size: clamp(29px, 4vw, 44px); line-height: 1.65; letter-spacing: -.04em; }
.reader-note-copy h2 span { color: #718379; }
.reader-note-copy > p:last-child { max-width: 475px; margin: 14px 0 0; color: var(--ink-soft); font-size: 12px; }
.reader-orbit { position: absolute; inset-inline-end: 6%; width: 235px; height: 235px; display: grid; place-items: center; border: 1px solid #bdcfc2; border-radius: 50%; color: var(--mint-deep); font: 700 11px var(--font-latin); letter-spacing: .2em; transform: rotate(-17deg); }
.reader-orbit::before, .reader-orbit::after { position: absolute; content: ''; border: 1px solid #c8d8cb; border-radius: 50%; }
.reader-orbit::before { inset: 19px; }
.reader-orbit::after { inset: 44px; }
.reader-orbit span { position: absolute; width: 20px; height: 20px; top: 13px; inset-inline-start: 65px; background: var(--mint); border-radius: 50%; }
.reader-orbit b { position: absolute; width: 9px; height: 9px; right: 24px; bottom: 54px; background: #c6a66b; border-radius: 50%; }
.reader-orbit i { z-index: 1; font-style: normal; }

.updates { padding-block: 125px 120px; }
.updates-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 35px; }
.updates-heading h2 { font-size: clamp(40px, 5vw, 62px); }
.updates-intro { max-width: 360px; margin-bottom: 9px; }
.updates-intro p { margin: 0 0 14px; color: var(--ink-soft); font-size: 12px; line-height: 2; }
.refresh-button { display: inline-flex; align-items: center; gap: 7px; padding: 0; border: 0; background: transparent; color: var(--ink); cursor: pointer; font-size: 11px; font-weight: 700; }
.refresh-button span { color: var(--mint-deep); font-size: 19px; }
.refresh-button:hover span { transform: rotate(60deg); }
.source-status { min-height: 41px; display: flex; align-items: center; gap: 9px; padding: 8px 12px; border-block: 1px solid var(--line); color: #687a6f; font-size: 10px; }
.status-spinner { width: 10px; height: 10px; border: 1.5px solid #bfc9c0; border-top-color: var(--mint-deep); border-radius: 50%; animation: spin .8s linear infinite; }
.source-status.is-ready .status-spinner { border: 0; width: 7px; height: 7px; background: var(--mint-deep); animation: none; }
.source-status.is-error .status-spinner { border: 0; width: 7px; height: 7px; background: #bf765d; animation: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.release-layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: 29px; margin-top: 25px; align-items: start; }
.changelog-panel { min-height: 310px; padding: 24px 26px; border: 1px solid var(--line); background: rgb(255 255 255 / 35%); }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.panel-kicker { font-size: 11px; font-weight: 800; }
.panel-heading a { color: var(--ink-soft); font-size: 10px; }
.panel-heading a:hover { color: var(--mint-deep); }
.changelog-list { padding-top: 3px; }
.changelog-entry { position: relative; padding: 19px 20px 7px 0; border-bottom: 1px solid #e1e5df; }
.changelog-entry:last-child { border-bottom: 0; }
.changelog-entry::before { position: absolute; content: ''; inset-inline-start: -27px; top: 26px; width: 7px; height: 7px; background: var(--mint-deep); border: 2px solid var(--paper); border-radius: 50%; box-shadow: 0 0 0 1px #bad1c2; }
.changelog-entry h3 { display: inline-block; margin: 0; font: 700 15px var(--font-latin); direction: ltr; }
.changelog-entry time { margin-inline-start: 10px; color: #89968c; font-size: 9px; }
.entry-category { margin: 9px 0 4px; color: var(--mint-deep); font-size: 10px; font-weight: 700; }
.entry-category + ul { margin: 0; padding-inline-start: 16px; color: var(--ink-soft); font-size: 10px; line-height: 1.9; }
.entry-category + ul li { padding-block: 2px; }
.loading-line, .empty-line { margin: 18px 0 0; color: #7c8a80; font-size: 11px; }
.release-panel { position: relative; min-height: 335px; overflow: hidden; padding: 27px; background: var(--ink); color: var(--white); }
.release-panel .eyebrow { color: #adbbb1; }
.release-panel h3 { margin: 0; font-size: 32px; line-height: 1.45; letter-spacing: -.04em; }
.release-status { max-width: 255px; margin: 9px 0 17px; color: #c2cdc4; font-size: 10px; line-height: 1.9; }
.latest-version { display: flex; align-items: center; justify-content: space-between; margin: 15px 0; padding-block: 10px; border-block: 1px solid rgb(255 255 255 / 17%); color: #b7c5bb; font-size: 10px; }
.latest-version b { color: var(--mint); direction: ltr; font: 700 14px var(--font-latin); }
.button-light { position: relative; z-index: 1; min-height: 43px; padding: 8px 12px; background: var(--mint); color: var(--ink); font-size: 10px; }
.button-light:hover { background: #aaf0ca; }
.release-footnote { display: block; margin-top: 9px; color: #a5b4aa; font-size: 9px; }
.release-asterisk { position: absolute; inset-inline-start: -22px; bottom: -80px; color: rgb(255 255 255 / 4%); font-size: 225px; line-height: 1; }

.download-band { position: relative; overflow: hidden; background: var(--mint); }
.download-band-inner { position: relative; z-index: 1; width: var(--page); min-height: 430px; margin-inline: auto; display: grid; grid-template-columns: 1.1fr .75fr; align-items: center; gap: 95px; padding-block: 76px; }
.download-copy { max-width: 540px; }
.download-copy .eyebrow { color: #466557; }
.download-copy h2 { margin: 0; font-size: clamp(42px, 5.5vw, 66px); line-height: 1.35; letter-spacing: -.055em; }
.download-copy h2 span { color: #476f5b; }
.download-copy > p:not(.eyebrow) { max-width: 445px; margin: 16px 0 22px; color: #3e5f4d; font-size: 12px; line-height: 2; }
.download-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 23px; }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: #29483e; }
.underlined-link { padding-bottom: 4px; border-bottom: 1px solid #718a78; font-size: 10px; font-weight: 700; }
.download-card { padding: 24px; background: var(--paper); box-shadow: 0 18px 45px rgb(38 72 52 / 12%); transform: rotate(-2deg); }
.download-card-top { display: flex; align-items: center; justify-content: space-between; }
.download-mark { width: 50px; height: 50px; display: grid; place-items: center; background: var(--mint); border-radius: 13px 13px 13px 4px; }
.download-mark img { width: 44px; height: 44px; }
.download-platform { padding: 6px 10px; border: 1px solid var(--line); color: var(--ink-soft); font-size: 9px; }
.download-card > p { min-height: 40px; margin: 28px 0 15px; font-size: 15px; font-weight: 700; }
.download-card-rule { height: 1px; background: var(--line); }
.download-card-bottom { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; color: #758179; font-size: 9px; }
.download-card-bottom span:last-child { direction: ltr; font-family: var(--font-latin); }
.band-stamp { position: absolute; bottom: -68px; inset-inline-start: -10px; color: rgb(21 67 43 / 7%); font: 700 74px/0.9 var(--font-latin); letter-spacing: -.08em; transform: rotate(-8deg); }

.faq-section { display: grid; grid-template-columns: .55fr 1fr; gap: 90px; padding-block: 110px; }
.faq-heading .eyebrow { margin-bottom: 12px; }
.faq-heading h2 { margin: 0; font-size: 38px; letter-spacing: -.04em; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 17px 0; cursor: pointer; list-style: none; font-size: 12px; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--mint-deep); font: 500 19px var(--font-latin); transition: transform .2s; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 630px; margin: 0; padding: 0 0 18px; color: var(--ink-soft); font-size: 11px; line-height: 2; }

.site-footer { width: var(--page); min-height: 124px; margin-inline: auto; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px 35px; padding-block: 24px; border-top: 1px solid var(--line); }
.footer-brand .brand-mark { width: 33px; height: 33px; border-radius: 10px 10px 10px 3px; }
.footer-brand .brand-mark img { width: 29px; height: 29px; }
.footer-brand .brand-name strong, .footer-brand .brand-name span { font-size: 9px; }
.site-footer > p { margin: 0; color: var(--ink-soft); font-size: 10px; }
.footer-links { display: flex; gap: 21px; font-size: 10px; }
.site-footer > small { grid-column: 1 / -1; color: #859188; font-size: 9px; }

@media (max-width: 900px) {
  :root { --page: min(100% - 48px, 720px); }
  .hero { min-height: 590px; grid-template-columns: 1fr minmax(250px, .74fr); gap: 35px; padding-inline: 4px; }
  .hero h1 { font-size: clamp(50px, 8vw, 76px); }
  .art-image { height: 390px; }
  .hero-facts { gap: 12px; }
  .features { gap: 50px; }
  .download-band-inner { gap: 45px; }
  .reader-orbit { inset-inline-end: 0; width: 190px; height: 190px; opacity: .75; }
}

@media (max-width: 650px) {
  :root { --page: calc(100% - 38px); }
  body { font-size: 14px; }
  html { scroll-padding-top: 68px; }
  .site-header { min-height: 68px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-mark img { width: 30px; height: 30px; }
  .main-nav { gap: 16px; margin-inline-end: 0; font-size: 10px; }
  .header-cta { display: none; }
  .hero { min-height: unset; grid-template-columns: 1fr; gap: 47px; padding: 58px 0 67px; overflow: visible; }
  .hero-copy { max-width: none; }
  .hero h1 { font-size: clamp(55px, 14vw, 78px); }
  .hero-description { max-width: 410px; font-size: 13px; }
  .hero-actions { gap: 15px; }
  .hero-facts { gap: 9px 14px; margin-top: 24px; font-size: 9px; }
  .hero-art { width: min(76%, 345px); margin-inline-end: 8%; }
  .art-image { height: 390px; }
  .art-stamp { width: 72px; height: 72px; inset-inline-end: -26px; }
  .hero-index { bottom: 15px; inset-inline-start: 0; }
  .ticker-track { gap: 27px; padding-block: 12px; }
  .ticker-track span { font-size: 10px; }
  .features { grid-template-columns: 1fr; gap: 33px; padding-block: 83px 88px; }
  .section-intro { position: static; }
  .section-intro h2, .updates-heading h2 { font-size: 46px; }
  .section-intro > p:not(.eyebrow) { margin-block: 14px 15px; }
  .feature-item { min-height: 106px; grid-template-columns: 30px 1fr 36px; gap: 12px; }
  .feature-item h3 { font-size: 13px; }
  .feature-item p { font-size: 10px; }
  .feature-symbol { width: 33px; height: 33px; font-size: 17px; }
  .reader-note-inner { min-height: 330px; padding-block: 48px; }
  .reader-note-copy { max-width: 95%; }
  .reader-note-copy h2 { font-size: 29px; }
  .reader-note-copy > p:last-child { max-width: 340px; font-size: 11px; }
  .reader-quote-mark { inset-inline-start: auto; inset-inline-end: 0; top: 30px; font-size: 170px; }
  .reader-orbit { width: 125px; height: 125px; inset-inline-end: -17px; bottom: 1px; opacity: .55; }
  .reader-orbit::before { inset: 10px; }
  .reader-orbit::after { inset: 25px; }
  .reader-orbit i { font-size: 8px; }
  .updates { padding-block: 83px 85px; }
  .updates-heading { align-items: start; flex-direction: column; gap: 16px; margin-bottom: 24px; }
  .updates-intro { max-width: 450px; }
  .release-layout { grid-template-columns: 1fr; gap: 17px; }
  .changelog-panel { min-height: 250px; padding: 19px 17px; }
  .changelog-entry { padding-inline-end: 13px; }
  .changelog-entry::before { inset-inline-start: -18px; }
  .changelog-entry h3 { font-size: 13px; }
  .changelog-entry time { font-size: 8px; }
  .entry-category + ul { font-size: 9px; }
  .release-panel { min-height: unset; padding: 24px 20px; }
  .release-panel h3 { font-size: 29px; }
  .release-status { max-width: none; }
  .release-asterisk { bottom: -95px; font-size: 200px; }
  .download-band-inner { min-height: 0; grid-template-columns: 1fr; gap: 38px; padding-block: 73px; }
  .download-copy h2 { font-size: 51px; }
  .download-copy > p:not(.eyebrow) { font-size: 11px; }
  .download-card { max-width: 370px; width: 90%; justify-self: center; }
  .band-stamp { font-size: 58px; }
  .faq-section { grid-template-columns: 1fr; gap: 28px; padding-block: 75px; }
  .faq-heading h2 { font-size: 33px; }
  .site-footer { grid-template-columns: auto 1fr; gap: 13px 18px; padding-block: 21px; }
  .site-footer > p { justify-self: end; text-align: start; }
  .footer-links { grid-column: 1 / -1; }
  .site-footer > small { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
