@charset "UTF-8";

/* Tokens. Light first; dark swaps the same names and is dark GREY, never black (Jon, 2026-11-16: "too dark,
   use dark grey"). Dark applies when the theme switch says so (data-theme="dark", set by src/theme.mjs)
   and, with no choice made, when the system asks for it. The two dark blocks hold the same declarations
   (scripts/check.mjs compares them). Contrast pairs are checked in scripts/check.mjs. */
:root {
  color-scheme: light;
  --page: #ffffff;
  --panel: #f5f5f7;
  --ink: #1d1d1f;
  --muted: #5b5b63;
  --line: #d2d2d7;
  --chip: #ffffff;
  --blue: #0066cc;
  --link: #0066cc;
  --ring: #0066cc;
  --night: #1c1d21;
  --night-ink: #e9e7e2;
  --night-soft: #c9c8cf;
  --night-muted: #a9a8b0;
  --night-line: #36373d;
  --night-chip: #26272c;
  --night-link: #8fb3ff;
  --night-ring: #8fb3ff;
  --lavender: #b5c2f0;
  --header: rgba(255, 255, 255, .82);
  --menu: #ffffff;
  --shadow: 0 30px 70px -30px rgba(0, 0, 0, .35), 0 0 0 1px rgba(0, 0, 0, .06);
  --tight: -.035em;
  --tighter: -.045em;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Noto Sans Hebrew", "Noto Sans Arabic", sans-serif;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color: var(--ink);
  background: var(--page);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #1c1d21;
  --panel: #26272c;
  --ink: #e9e7e2;
  --muted: #a9a8b0;
  --line: #36373d;
  --chip: #2e2f35;
  --link: #8fb3ff;
  --ring: #8fb3ff;
  --header: rgba(28, 29, 33, .84);
  --menu: #2c2d33;
  --shadow: 0 30px 70px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --page: #1c1d21;
    --panel: #26272c;
    --ink: #e9e7e2;
    --muted: #a9a8b0;
    --line: #36373d;
    --chip: #2e2f35;
    --link: #8fb3ff;
    --ring: #8fb3ff;
    --header: rgba(28, 29, 33, .84);
    --menu: #2c2d33;
    --shadow: 0 30px 70px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08);
  }
}
/* A device that asks for more contrast gets stronger secondary text and borders, in both themes. */
@media (prefers-contrast: more) {
  :root { --muted: #3a3a40; --line: #6e6e76; --night-muted: #d4d2da; --night-line: #8c8c94; }
  :root[data-theme="dark"] { --muted: #d4d2da; --line: #8c8c94; }
}
@media (prefers-contrast: more) and (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --muted: #d4d2da; --line: #8c8c94; }
}
/* Connected Arabic script must never be letter-spaced. */
:lang(ar) { --tight: 0; --tighter: 0; }

/* Layers, lowest first (Jon, 2026-11-17: "why isn't the menu on top of everything properly?"). Every fixed or sticky
   thing takes its place from this list, so an open menu or panel always paints above the bars below it:
   magazine bar 30 · site header 40 (70 while one of its menus is open) · reading progress 60 · language offer 80 ·
   menu drawer 100 · accessibility panel 110 · skip link 120. scripts/check-a11y.mjs hit-tests every open menu. */
:root { --edge: max(24px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px)); }
@media (max-width: 600px) { :root { --edge: max(16px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px)); } }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
body { margin: 0; background: var(--page); color: var(--ink); }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; border-radius: 6px; }
.hero, .tone-dark { --ring: var(--night-ring); }
main:focus { outline: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, figure, ul { margin: 0; }
ul { padding: 0; list-style: none; }
::selection { color: #fff; background: #335bba; }
.icon { width: 24px; height: 24px; flex: 0 0 auto; }
.link-arrow, .chevron { display: inline-block; line-height: 1; }
[dir="rtl"] .link-arrow, [dir="rtl"] .chevron { transform: scaleX(-1); }
.section-inner { width: min(1120px, calc(100% - 2 * var(--edge))); margin-inline: auto; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; line-height: 1.5; margin-bottom: 18px; color: var(--muted); }
:lang(ar) .eyebrow, :lang(he) .eyebrow { letter-spacing: 0; }

/* Header */
.skip-link { position: absolute; top: -100px; inset-inline-start: 16px; z-index: 120; padding: 14px 20px; background: var(--menu); color: var(--ink); border-radius: 10px; }
.skip-link:focus { top: 8px; outline-offset: 2px; }
.site-header { position: sticky; top: 0; z-index: 40; background: var(--header); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.site-header:has(details[open]) { z-index: 70; }
.header-inner { width: min(1120px, calc(100% - 2 * var(--edge))); min-height: 52px; margin-inline: auto; display: flex; align-items: center; gap: 28px; }
.wordmark { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 650; letter-spacing: .19em; }
.brand-symbol { width: 24px; height: 28px; flex: 0 0 auto; }
.main-nav { display: flex; align-items: center; gap: 30px; margin-inline-start: auto; }
.main-nav a { min-height: 44px; display: inline-flex; align-items: center; font-size: 13px; color: var(--ink); opacity: .82; }
.main-nav a:hover { opacity: 1; color: var(--link); }
.language-menu { position: relative; margin-inline-start: 4px; }
.main-nav + .language-menu { padding-inline-start: 24px; border-inline-start: 1px solid var(--line); }
.language-menu summary { min-height: 44px; display: inline-flex; align-items: center; gap: 7px; cursor: pointer; font-size: 13px; list-style: none; opacity: .82; }
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu summary:hover, .language-menu[open] summary { opacity: 1; }
.language-menu summary .icon { width: 18px; height: 18px; }
.language-menu ul { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); min-width: 190px; padding: 8px; background: var(--menu); border-radius: 14px; box-shadow: 0 18px 50px -12px rgba(0, 0, 0, .35), 0 0 0 1px color-mix(in srgb, var(--line) 80%, transparent); }
.language-menu li a { display: flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 9px; font-size: 15px; }
.language-menu li a:hover { background: var(--panel); }
.language-menu li a[aria-current="true"] { font-weight: 650; }
.language-menu li a[aria-current="true"]::after { content: "✓"; margin-inline-start: auto; color: var(--link); }

/* Theme switch: one 40 px icon button; the icon of the current state shows. Hidden until src/theme.mjs runs. */
.theme-toggle { width: 40px; height: 40px; flex: 0 0 auto; display: inline-grid; place-items: center; margin-inline-start: 2px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; opacity: .82; font: inherit; }
.theme-toggle:hover { opacity: 1; background: color-mix(in srgb, var(--ink) 9%, transparent); }
.theme-toggle:focus-visible { border-radius: 50%; }
.theme-toggle .theme-icon { display: none; width: 20px; height: 20px; }
.theme-toggle[data-state="system"] .theme-icon-system, .theme-toggle[data-state="light"] .theme-icon-light, .theme-toggle[data-state="dark"] .theme-icon-dark { display: block; }

/* Magazine entry: an outlined pill that fills when the magazine is the current section. */
.mag-link { min-height: 32px; display: inline-flex; align-items: center; margin-inline-start: 4px; padding: 0 15px; border: 1px solid var(--ink); border-radius: 999px; font-size: 13px; font-weight: 650; line-height: 1; transition: background-color .15s, color .15s; }
.mag-link:hover, .mag-link[aria-current="page"] { background: var(--ink); color: var(--page); }
@media (max-width: 420px) {
  .language-menu summary span { display: none; }
  .language-menu summary { min-width: 40px; justify-content: center; }
  .header-inner { gap: 4px; }
  .wordmark { gap: 8px; font-size: 15px; letter-spacing: .14em; }
  .mag-link { padding: 0 12px; margin-inline-start: auto; }
  .mag-link + .language-menu { margin-inline-start: 0; }
}

/* Header buttons: accessibility (always), menu (phones). Script-only buttons stay hidden until the site script shows them. */
.a11y-button, .menu-button { width: 40px; height: 40px; flex: 0 0 auto; display: inline-grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; font: inherit; position: relative; }
.a11y-button:hover, .menu-button:hover { background: color-mix(in srgb, var(--ink) 9%, transparent); }
.a11y-button .icon, .menu-button .icon { width: 22px; height: 22px; }
.a11y-button[data-active="true"]::after { content: ""; position: absolute; top: 6px; inset-inline-end: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--link); box-shadow: 0 0 0 2px var(--page); }
.a11y-button[hidden], .menu-button[hidden] { display: none !important; }
.menu-link { display: none; align-items: center; gap: 6px; min-height: 44px; padding: 0 6px; font-size: 14px; font-weight: 600; }
.menu-link .icon { width: 22px; height: 22px; }

/* The phone menu (src/chrome.jsx Drawer). Without the script: a plain section before the footer, on phones only.
   With it: a glass panel from the reading end, over a scrim; the page behind does not move. */
.drawer { display: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.drawer-head h2 { font-size: 22px; font-weight: 700; letter-spacing: var(--tight); }
.drawer-close { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink); cursor: pointer; }
.drawer-close:hover { background: color-mix(in srgb, var(--ink) 14%, transparent); }
.dr-section { padding-block: 16px; border-top: 1px solid color-mix(in srgb, var(--line) 80%, transparent); }
.drawer-head + .dr-section { border-top: 0; padding-top: 8px; }
.dr-section h3 { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
:lang(he) .dr-section h3, :lang(ar) .dr-section h3 { letter-spacing: 0; text-transform: none; }
.dr-mag > h3 { font-size: 20px; letter-spacing: 0; text-transform: none; color: var(--ink); }
.dr-mag > h3 a { color: inherit; }
.dr-sub { margin: 14px 0 6px; font-size: 12px; font-weight: 700; color: var(--muted); }
.dr-sub a { color: inherit; }
.dr-links a, .dr-desks a { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 16px; font-weight: 550; color: var(--ink); }
.dr-links a:hover, .dr-desks a:hover, .dr-langs a:hover, .dr-apps a:hover { color: var(--link); }
.dr-links .icon { width: 20px; height: 20px; color: var(--muted); }
.dr-main a { font-size: 17px; font-weight: 650; }
.dr-desks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; }
.dr-desks a { overflow-wrap: anywhere; min-height: 40px; font-size: 15px; }
.dr-desks .desk-dot { width: 10px; height: 10px; }
.dr-desks li a:hover { color: var(--desk); }
.dr-topics { margin-top: 2px; }
.dr-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.dr-apps ul { display: grid; gap: 2px; }
.dr-apps a { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px; margin-inline: -6px; border-radius: 12px; color: var(--ink); }
.dr-apps img { width: 36px; height: 36px; border-radius: 9px; flex: 0 0 auto; }
.dr-apps strong { display: block; font-size: 15px; font-weight: 650; }
.dr-apps a span span { display: block; font-size: 13px; color: var(--muted); line-height: 1.3; }
.dr-note { margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.dr-langs ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 90px), 1fr)); gap: 2px 10px; }
.dr-langs a { display: flex; align-items: center; min-height: 40px; font-size: 15px; color: var(--ink); }
.dr-langs a[aria-current="true"] { font-weight: 700; color: var(--link); }
.dr-row { display: flex; flex-wrap: wrap; gap: 8px; }
.dr-pill { width: auto; height: auto; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 7%, transparent); font-size: 14.5px; font-weight: 600; opacity: 1; }
.dr-pill .icon, .dr-pill .theme-icon { width: 20px; height: 20px; }
.theme-toggle.labelled[data-state] .theme-icon { display: none; }
.theme-toggle.labelled[data-state="system"] .theme-icon-system, .theme-toggle.labelled[data-state="light"] .theme-icon-light, .theme-toggle.labelled[data-state="dark"] .theme-icon-dark { display: block; }
@media (max-width: 860px) {
  .site-header .language-menu, .site-header .theme-toggle { display: none !important; }
  .menu-link { display: inline-flex; }
  .js .menu-link { display: none; }
  .header-inner > .a11y-button { margin-inline-start: auto; }
  .mag-link ~ .a11y-button { margin-inline-start: 0; }
  .drawer { display: block; padding: 24px var(--edge) 8px; background: var(--panel); border-top: 1px solid var(--line); }
}
.js .drawer { display: block; position: fixed; inset: 0; z-index: 100; padding: 0; background: none; border: 0; visibility: hidden; pointer-events: none; transition: visibility 0s linear .28s; }
.js .drawer[data-open] { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.js .drawer-scrim { position: absolute; inset: 0; background: rgba(12, 12, 16, .38); opacity: 0; transition: opacity .25s ease; }
.js .drawer[data-open] .drawer-scrim { opacity: 1; }
.js .drawer-panel { position: absolute; inset-block: 0; inset-inline-end: 0; width: min(390px, calc(90vw / var(--a11y-zoom, 1))); overflow-y: auto; overscroll-behavior: contain;
  padding: calc(12px + env(safe-area-inset-top, 0px)) max(18px, env(safe-area-inset-right, 0px)) calc(28px + env(safe-area-inset-bottom, 0px)) max(18px, env(safe-area-inset-left, 0px));
  background: color-mix(in srgb, var(--menu) 84%, transparent); -webkit-backdrop-filter: blur(28px) saturate(1.8); backdrop-filter: blur(28px) saturate(1.8);
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, .35), -24px 0 60px -30px rgba(0, 0, 0, .5); transform: translateX(104%); transition: transform .28s cubic-bezier(.2, .8, .2, 1); }
.js[dir="rtl"] .drawer-panel { transform: translateX(-104%); box-shadow: inset -1px 0 0 rgba(255, 255, 255, .35), 24px 0 60px -30px rgba(0, 0, 0, .5); }
.js .drawer[data-open] .drawer-panel { transform: none; }
html.drawer-open, html.drawer-open body { overflow: hidden; }
html { scrollbar-gutter: stable; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .js .drawer-panel { background: var(--menu); } }
@media (prefers-reduced-transparency: reduce) { .js .drawer-panel { background: var(--menu); -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* The accessibility panel: a small glass card under the header's end, wherever the page is scrolled. */
.a11y-panel { position: fixed; z-index: 110; top: calc(56px + env(safe-area-inset-top, 0px)); inset-inline-end: max(10px, env(safe-area-inset-right, 0px), calc((100vw - 1120px) / 2 - 12px)); width: min(360px, calc(100vw - 20px)); max-height: calc(100dvh - 66px); overflow-y: auto; overscroll-behavior: contain; padding: 14px; border-radius: 22px;
  background: color-mix(in srgb, var(--menu) 90%, transparent); -webkit-backdrop-filter: blur(28px) saturate(1.8); backdrop-filter: blur(28px) saturate(1.8); box-shadow: var(--shadow); color: var(--ink); }
.ap-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.ap-title { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; }
.ap-title .icon { width: 22px; height: 22px; color: var(--link); }
.ap-close { width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink); cursor: pointer; }
.ap-sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 4px; border-radius: 16px; background: color-mix(in srgb, var(--ink) 6%, transparent); margin-bottom: 10px; }
.ap-sizes button { min-height: 48px; display: grid; place-items: center; border: 0; border-radius: 12px; background: transparent; color: var(--ink); cursor: pointer; font: inherit; }
.ap-sizes button[aria-pressed="true"] { background: var(--page); box-shadow: 0 1px 3px rgba(0, 0, 0, .18), inset 0 0 0 2px var(--link); }
.ap-a { font-weight: 700; line-height: 1; }
.ap-a0 { font-size: 15px; } .ap-a1 { font-size: 19px; } .ap-a2 { font-size: 24px; }
.ap-toggles { display: grid; gap: 2px; }
.ap-toggle { width: 100%; min-height: 48px; display: flex; align-items: center; gap: 12px; padding: 0 10px; border: 0; border-radius: 12px; background: transparent; color: var(--ink); cursor: pointer; font: 550 15px/1.25 inherit; font-family: inherit; text-align: start; }
.ap-toggle:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.ap-toggle .icon { width: 20px; height: 20px; color: var(--muted); }
.ap-toggle span { flex: 1; }
.ap-switch { position: relative; flex: 0 0 auto; width: 40px; height: 24px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 22%, transparent); transition: background-color .15s; }
.ap-switch::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .3); transition: inset-inline-start .15s; }
.ap-toggle[aria-pressed="true"] .ap-switch { background: var(--link); }
.ap-toggle[aria-pressed="true"] .ap-switch::after { inset-inline-start: 19px; }
.ap-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.ap-reset { min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; font: 600 14px/1 inherit; font-family: inherit; }
.ap-statement { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; font-size: 14px; font-weight: 600; color: var(--link); }
.a11y-panel :focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }

/* The language offer (site script, first visit only): a slim glass bar at the bottom; nothing moves. */
.lang-offer { position: fixed; z-index: 25; inset-inline: max(12px, env(safe-area-inset-left, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); max-width: 520px; margin-inline: auto; display: flex; align-items: center; gap: 8px; padding: 8px; padding-inline-start: 16px; border-radius: 999px;
  background: color-mix(in srgb, var(--menu) 88%, transparent); -webkit-backdrop-filter: blur(24px) saturate(1.8); backdrop-filter: blur(24px) saturate(1.8); box-shadow: var(--shadow); color: var(--ink); font-size: 14.5px; }
.lang-offer p { flex: 1 1 auto; min-width: 0; margin: 0; font-weight: 550; line-height: 1.3; }
.lang-offer-go { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; white-space: nowrap; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 650; }
.lang-offer-go:hover { background: #0058b0; }
.lang-offer-stay { flex: 0 0 auto; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: color-mix(in srgb, var(--ink) 7%, transparent); color: var(--ink); cursor: pointer; font: 600 15px/1 inherit; font-family: inherit; }
.lang-offer-stay:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 7%, transparent); }
body:has(> .lang-offer) { padding-bottom: 84px; }

/* Hero */
.hero { background: var(--night); color: var(--night-ink); text-align: center; padding: clamp(84px, 12vw, 140px) 24px clamp(76px, 10vw, 120px); }
.hero-inner { max-width: 1060px; margin-inline: auto; }
.hero .eyebrow { color: var(--night-muted); }
.hero h1 { font-size: clamp(46px, 8.6vw, 116px); font-weight: 700; letter-spacing: var(--tighter); line-height: 1.02; margin-bottom: 30px; }
:lang(ar) .hero h1 { line-height: 1.2; }
.hero h1 span { display: block; }
.hero-accent { color: var(--lavender); }
.hero-intro { max-width: 700px; margin: 0 auto 52px; color: var(--night-soft); font-size: clamp(18px, 2vw, 23px); line-height: 1.5; letter-spacing: -.01em; }
:lang(ar) .hero-intro { letter-spacing: 0; line-height: 1.75; }
.hero-apps { display: flex; justify-content: center; gap: clamp(20px, 6vw, 64px); flex-wrap: wrap; }
.hero-apps a { display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 88px; padding: 6px; font-size: 15px; font-weight: 500; color: var(--night-ink); transition: transform .2s ease; }
.hero-apps img { width: 64px; height: 64px; }
.hero-apps a:hover { transform: translateY(-3px); }

/* Product and research panels */
.tone-light { background: var(--panel); color: var(--ink); --sec-muted: var(--muted); --sec-line: var(--line); --sec-chip: var(--chip); --sec-link: var(--link); }
.tone-dark { background: var(--night); color: var(--night-ink); --sec-muted: var(--night-muted); --sec-line: var(--night-line); --sec-chip: var(--night-chip); --sec-link: var(--night-link); }
.product { padding-block: clamp(80px, 10vw, 128px) clamp(64px, 8vw, 104px); text-align: center; overflow: clip; }
.product-head { max-width: 760px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; }
.product-icon { width: 72px; height: 72px; margin-bottom: 18px; }
.product h2 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 600; letter-spacing: -.01em; margin-bottom: 10px; }
.product-headline { font-size: clamp(38px, 6.2vw, 76px); font-weight: 700; letter-spacing: var(--tighter); line-height: 1.04; margin-bottom: 22px; text-wrap: balance; }
:lang(ar) .product-headline { line-height: 1.25; }
.product-body { max-width: 620px; color: var(--sec-muted); font-size: clamp(17px, 1.6vw, 21px); line-height: 1.5; letter-spacing: -.01em; margin-bottom: 30px; text-wrap: pretty; }
:lang(ar) .product-body { line-height: 1.75; letter-spacing: 0; }
.button-link { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 11px 24px; background: var(--blue); color: #fff; border-radius: 999px; font-size: 16px; line-height: 1.3; transition: background-color .18s; }
.button-link:hover { background: #0058b0; }
.link-arrow { font-size: 17px; }
.product-shot { margin-top: clamp(44px, 6vw, 72px); }
.product-shot img { width: 100%; height: auto; border-radius: clamp(10px, 1.4vw, 18px); box-shadow: var(--shadow); background: var(--sec-chip); }
.highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; max-width: 920px; margin: clamp(40px, 5vw, 60px) auto 0; }
.highlights li { display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 16px; font-weight: 500; line-height: 1.35; }
.highlights .icon { width: 28px; height: 28px; color: var(--sec-muted); }
.downloads { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 16px; margin-top: clamp(40px, 5vw, 56px); padding-top: 28px; border-top: 1px solid var(--sec-line); max-width: 920px; margin-inline: auto; }
.downloads h3 { font-size: 13px; font-weight: 600; color: var(--sec-muted); letter-spacing: .02em; }
.downloads ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.downloads a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--sec-chip); border: 1px solid var(--sec-line); font-size: 14px; font-weight: 500; transition: border-color .18s, color .18s; }
.downloads a:hover { border-color: var(--sec-link); color: var(--sec-link); }
.product-note { max-width: 560px; margin: 22px auto 0; font-size: 13px; line-height: 1.55; color: var(--sec-muted); }

.research { padding-block: clamp(84px, 10vw, 128px); }
.research h2 { font-size: clamp(36px, 5.4vw, 64px); font-weight: 700; letter-spacing: var(--tighter); line-height: 1.06; max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); text-wrap: balance; }
:lang(ar) .research h2 { line-height: 1.3; }
.research .eyebrow { color: var(--sec-muted); }
.areas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; }
.areas li { border-top: 1px solid var(--sec-line); padding-top: 24px; }
.areas .icon { width: 28px; height: 28px; color: var(--lavender); margin-bottom: 18px; }
.areas h3 { font-size: 19px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 8px; }
.areas p { font-size: 15px; line-height: 1.55; color: var(--sec-muted); }
.articles { margin-top: clamp(56px, 7vw, 88px); }
.articles h3 { font-size: 13px; font-weight: 600; color: var(--sec-muted); margin-bottom: 8px; }
.articles ul { border-top: 1px solid var(--sec-line); }
.articles li { border-bottom: 1px solid var(--sec-line); }
.articles li a { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding-block: 14px; font-size: clamp(17px, 1.8vw, 22px); font-weight: 500; letter-spacing: -.01em; line-height: 1.35; }
.articles li a:hover span { color: var(--sec-link); }
.articles .link-arrow { color: var(--sec-muted); }
.text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 16px; color: var(--sec-link); font-size: 16px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Footer */
.site-footer { background: var(--panel); color: var(--muted); padding: 48px 0 28px; font-size: 13px; }
.footer-inner { width: min(1120px, calc(100% - 2 * var(--edge))); margin-inline: auto; }
.site-footer { padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
.footer-brand { display: flex; align-items: center; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.footer-brand .wordmark { color: var(--ink); font-size: 15px; }
.footer-columns { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 28px; padding-block: 28px; }
.footer-columns h2 { font-size: 12px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.footer-columns a { display: inline-flex; align-items: center; min-height: 36px; }
.footer-columns a:hover { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.locale-list { display: grid; grid-template-columns: repeat(3, minmax(0, max-content)); gap: 0 28px; }
.locale-list a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.footer-legal { padding-top: 20px; border-top: 1px solid var(--line); }

/* Information, 404 */
.info-page { width: min(1040px, calc(100% - 2 * var(--edge))); margin: 0 auto; padding: 88px 0 110px; }
[dir="rtl"] .info-page .eyebrow { text-align: right; }
.info-page h1 { font-size: clamp(42px, 6vw, 64px); font-weight: 700; letter-spacing: var(--tighter); line-height: 1.06; margin-bottom: 16px; }
.info-intro { color: var(--muted); font-size: 21px; line-height: 1.5; margin-bottom: 28px; }
.info-tabs ul { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.info-tabs a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; color: var(--muted); }
.info-tabs a:hover { color: var(--ink); border-color: var(--muted); }
.info-tabs a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--page); font-weight: 600; }
.info-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.info-cards section { display: flex; flex-direction: column; align-items: flex-start; background: var(--panel); border-radius: 22px; padding: 26px; }
.info-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--chip); color: var(--link); margin-bottom: 18px; }
.info-page h2 { font-size: 20px; font-weight: 600; letter-spacing: var(--tight); margin-bottom: 8px; }
.info-cards section p { font-size: 16px; line-height: 1.6; color: var(--muted); }
.info-links { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; margin-top: auto; padding-top: 18px; }
.mail-link { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 9px 20px; background: var(--blue); color: #fff; border-radius: 999px; font-size: 15px; transition: background-color .18s; }
.mail-link:hover { background: #0058b0; }
.mail-link .icon { width: 18px; height: 18px; }
.doc-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--link); font-size: 15px; }
.doc-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.info-updated { margin-top: 28px; color: var(--muted); font-size: 14px; }
.not-found { width: min(760px, calc(100% - 2 * var(--edge))); margin: 0 auto; padding: 120px 0; text-align: center; }
.not-found h1 { font-size: clamp(42px, 7vw, 72px); font-weight: 700; letter-spacing: var(--tighter); margin-bottom: 14px; }
.not-found p:not(.eyebrow) { color: var(--muted); font-size: 19px; margin-bottom: 30px; }

/* Smaller screens */
@media (max-width: 860px) {
  .main-nav { display: none; }
  .language-menu { margin-inline-start: auto; }
  .main-nav + .language-menu { padding-inline-start: 0; border-inline-start: 0; }
  .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-columns { grid-template-columns: 1fr 1fr; }
  .footer-columns nav:last-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .hero { padding-inline: 16px; }
  .hero-intro { margin-bottom: 44px; }
  .hero-apps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .hero-apps a { min-width: 0; padding: 18px 6px 14px; font-size: 14px; background: var(--night-chip); border: 1px solid var(--night-line); border-radius: 22px; }
  .hero-apps img { width: 52px; height: 52px; }
  .product-head { align-items: center; }
  .highlights { grid-template-columns: 1fr; max-width: 340px; gap: 16px; }
  .highlights li { flex-direction: row; gap: 14px; text-align: start; }
  .highlights .icon { width: 24px; height: 24px; }
  .downloads { flex-direction: column; }
  .areas { grid-template-columns: 1fr; gap: 28px; }
  .locale-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .info-cards { grid-template-columns: 1fr; }
  .info-cards section { padding: 22px; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 40px; }
  .product-headline { font-size: 34px; }
  .info-page h1 { font-size: 36px; }
  .research h2 { font-size: 32px; }
}
/* More contrast: nothing is dimmed, links are underlined, outlines are heavier. */
@media (prefers-contrast: more) {
  .main-nav a, .language-menu summary, .theme-toggle { opacity: 1; }
  .text-link, .doc-link, .footer-columns a, .articles li a span { text-decoration: underline; text-underline-offset: 3px; }
  .downloads a, .info-tabs a, .mag-link { border-width: 2px; }
  a:focus-visible, summary:focus-visible, button:focus-visible { outline-width: 4px; }
}
/* Windows high-contrast and forced colours: system colours, real borders on buttons and the focus ring. */
@media (forced-colors: active) {
  a:focus-visible, summary:focus-visible, button:focus-visible { outline-color: Highlight; }
  .button-link, .mail-link, .theme-toggle, .downloads a, .info-tabs a { border: 1px solid ButtonText; }
  .site-header { border-bottom: 1px solid CanvasText; }
  .theme-toggle { color: ButtonText; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .hero-apps a:hover { transform: none; }
}

/* Accessibility panel settings (data-a11y-* on <html>, set by the site script before the first paint).
   Text size scales the page body, the footers and the menu; the header keeps its size so it still fits. */
:root[data-a11y-text="1"] { --a11y-zoom: 1.15; }
:root[data-a11y-text="2"] { --a11y-zoom: 1.3; }
:root[data-a11y-text="1"] :is(main, .site-footer, .mag-foot, .drawer-panel) { zoom: 1.15; }
:root[data-a11y-text="2"] :is(main, .site-footer, .mag-foot, .drawer-panel) { zoom: 1.3; }
/* Higher contrast: the same stronger tokens as the system's "more contrast", nothing dimmed, links underlined. */
:root[data-a11y-contrast] { --muted: #3a3a40; --line: #6e6e76; --night-muted: #d4d2da; --night-line: #8c8c94; --night-soft: #e9e7e2; }
:root[data-a11y-contrast][data-theme="dark"] { --muted: #d4d2da; --line: #8c8c94; }
@media (prefers-color-scheme: dark) { :root[data-a11y-contrast]:not([data-theme="light"]) { --muted: #d4d2da; --line: #8c8c94; } }
:root[data-a11y-contrast] :is(.main-nav a, .language-menu summary, .theme-toggle) { opacity: 1; }
:root[data-a11y-contrast] :is(.downloads a, .info-tabs a, .mag-link) { border-width: 2px; }
:root[data-a11y-contrast] :is(a, summary, button):focus-visible { outline-width: 4px; }
:root[data-a11y-contrast] .site-header { background: var(--page); -webkit-backdrop-filter: none; backdrop-filter: none; }
/* Underlined links: every link, buttons included, so links never hide in the text. */
:root[data-a11y-underline] a, :root[data-a11y-contrast] :is(main, footer, .drawer) a { text-decoration: underline !important; text-decoration-thickness: from-font; text-underline-offset: .2em; }
/* Stop motion: no animation, transition or smooth scrolling anywhere. */
:root[data-a11y-motion] { scroll-behavior: auto; }
:root[data-a11y-motion] *, :root[data-a11y-motion] *::before, :root[data-a11y-motion] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
/* Readable font: the system's own sans-serif, a little more space between letters, words and lines (none between Arabic letters). */
:root[data-a11y-font] body { word-spacing: .08em; letter-spacing: .012em; line-height: 1.6; }
:root[data-a11y-font] :lang(ar) { letter-spacing: 0; }
