:root {
  color-scheme: dark;
  --bg: #07111f;
  --panel: #0d1b2e;
  --text: #f5f6fb;
  --muted: #a6afc2;
  --line: rgba(185, 197, 224, .13);
  --violet: #5b9cff;
  --blue: #74bdff;
  --content: 820px;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.wrap { width: min(var(--content), calc(100% - 32px)); margin-inline: auto; }

.site-header { border-bottom: 1px solid rgba(255,255,255,.07); }
.nav { display: flex; height: 78px; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); font-size: 1.18rem; font-weight: 800; letter-spacing: -.04em; }
.brand:hover { text-decoration: none; }
.brand-mark { display: grid; width: 40px; height: 40px; place-items: center; }
.brand-mark svg { display: block; width: 100%; height: 100%; }
.brand-ai { color: #ff6471; }
.back-link { color: #c5cada; font-size: .9rem; }

main { padding: 56px 0 72px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: #9bcfff; font-size: .77rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { width: 22px; height: 1px; background: var(--violet); content: ""; }
h1, h2 { letter-spacing: -.035em; }
h1 { margin: 10px 0 8px; font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1.15; }
.updated { margin: 0 0 36px; color: var(--muted); font-size: .9rem; }
section { padding: 24px 0; border-top: 1px solid var(--line); }
h2 { margin: 0 0 10px; font-size: 1.25rem; }
p, ul { margin: 0 0 12px; color: #c8cee0; }
ul { padding-left: 20px; }
li { margin-bottom: 6px; }
address { font-style: normal; }
strong { color: var(--text); }

footer { padding: 20px 0; border-top: 1px solid var(--line); color: #929db1; font-size: .79rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 20px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-inner nav a { color: #9dcaff; }

.nav-right { display: flex; align-items: center; gap: 18px; }
.language-switch { display: flex; gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 9px; background: rgba(11, 20, 35, .8); }
.language-switch button { min-width: 34px; padding: 5px 7px; border: 0; border-radius: 6px; background: transparent; color: #aebbd0; font: inherit; font-size: .73rem; font-weight: 700; cursor: pointer; }
.language-switch button[aria-pressed="true"] { background: #17365c; color: #c9e3ff; }
.language-switch button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.lead { max-width: 680px; margin-bottom: 36px; color: var(--muted); font-size: 1.08rem; }
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 6px; }
.card { padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(150deg, #14243a, #0e1a2c); }
.card h3 { margin: 0 0 6px; font-size: 1rem; letter-spacing: -.02em; }
.card p { margin: 0; font-size: .92rem; }
.button { display: inline-flex; min-height: 50px; align-items: center; gap: 10px; margin-top: 8px; padding: 0 22px; border-radius: 9px; background: linear-gradient(115deg, #3489f5 0%, #67c0ff 100%); color: #071522; font-size: .94rem; font-weight: 700; }
.button:hover { text-decoration: none; box-shadow: 0 10px 35px rgba(52, 137, 245, .22); }

[dir="rtl"] ul { padding-right: 20px; padding-left: 0; }

@media (max-width: 640px) {
  .back-link { display: none; }
  .card-grid { grid-template-columns: 1fr; }
}
