/* ==========================================================================
   Multilingual support: Cyrillic, Arabic, Devanagari, Kannada and Gujarati fonts,
   script-specific typography, right-to-left (Arabic) layout, language switcher.
   Generated by scripts/make_i18n_css.py. Fonts: SIL Open Font License 1.1
   (assets/fonts/i18n/OFL-Noto.txt, assets/fonts/OFL-LICENSE.txt).
   Each face declares its unicode-range, so a browser downloads only the script it renders.
   ========================================================================== */
@font-face { font-family: "Inter Tight"; src: url("../fonts/i18n/inter-tight-cyrillic-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Noto Serif"; src: url("../fonts/i18n/noto-serif-cyrillic-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Noto Serif"; src: url("../fonts/i18n/noto-serif-cyrillic-wght-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Noto Sans Arabic"; src: url("../fonts/i18n/noto-sans-arabic-wght.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: "Noto Naskh Arabic"; src: url("../fonts/i18n/noto-naskh-arabic-wght.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: "Noto Sans Devanagari"; src: url("../fonts/i18n/noto-sans-devanagari-wght.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A; }
@font-face { font-family: "Noto Serif Devanagari"; src: url("../fonts/i18n/noto-serif-devanagari-wght.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A; }
@font-face { font-family: "Noto Sans Kannada"; src: url("../fonts/i18n/noto-sans-kannada-wght.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0951-0952, U+0964-0965, U+0B83, U+0C80-0CF3, U+1CD0, U+1CD2-1CD3, U+1CDA, U+1CF2, U+1CF4, U+200C-200D, U+20B9, U+25CC, U+A830-A835; }
@font-face { font-family: "Noto Serif Kannada"; src: url("../fonts/i18n/noto-serif-kannada-wght.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0951-0952, U+0964-0965, U+0B83, U+0C80-0CF3, U+1CD0, U+1CD2-1CD3, U+1CDA, U+1CF2, U+1CF4, U+200C-200D, U+20B9, U+25CC, U+A830-A835; }
@font-face { font-family: "Noto Sans Gujarati"; src: url("../fonts/i18n/noto-sans-gujarati-wght.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0951-0952, U+0964-0965, U+0A80-0AFF, U+200C-200D, U+20B9, U+25CC, U+A830-A839; }
@font-face { font-family: "Noto Serif Gujarati"; src: url("../fonts/i18n/noto-serif-gujarati-wght.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0951-0952, U+0964-0965, U+0A80-0AFF, U+200C-200D, U+20B9, U+25CC, U+A830-A839; }

:root {
	--font: "Inter Tight", "Noto Sans Arabic", "Noto Sans Devanagari", "Noto Sans Kannada", "Noto Sans Gujarati", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--mono: "JetBrains Mono", "Noto Sans Arabic", "Noto Sans Devanagari", "Noto Sans Kannada", "Noto Sans Gujarati", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	--serif-i18n: "Noto Serif", "Noto Naskh Arabic", "Noto Serif Devanagari", "Noto Serif Kannada", "Noto Serif Gujarati";
}

/* ---------- scripts without italics, or with joined letters ---------- */
:lang(ar) em, :lang(hi) em, :lang(kn) em, :lang(gu) em { font-style: normal; }
:lang(ar) *,
:lang(hi) :is(.label, .story__kicker, .v-eyebrow, .eyebrow, .story__stop, .crumbs ol),
:lang(kn) :is(.label, .story__kicker, .v-eyebrow, .eyebrow, .story__stop, .crumbs ol),
:lang(gu) :is(.label, .story__kicker, .v-eyebrow, .eyebrow, .story__stop, .crumbs ol) { letter-spacing: 0 !important; }
:is(:lang(ar), :lang(hi), :lang(kn), :lang(gu)) :is(.label, .story__kicker, .v-eyebrow, .eyebrow, .story__stop, .crumbs ol) { text-transform: none; font-size: .9rem; }

/* taller lines: Indic vowel signs and Arabic marks need room above and below */
:is(:lang(hi), :lang(kn), :lang(gu)) body { line-height: 1.8; }
:lang(ar) body { line-height: 1.85; }
:is(:lang(hi), :lang(kn), :lang(gu)) :is(h1, h2, h3, .display-1, .display-2, .display-3, .display-4, .story__title, .v-h2, .v-quote, .site-footer__promise) { line-height: 1.35; letter-spacing: 0; }
:lang(ar) :is(h1, h2, h3, .display-1, .display-2, .display-3, .display-4, .story__title, .v-h2, .v-quote, .site-footer__promise) { line-height: 1.45; letter-spacing: 0; }
:is(:lang(hi), :lang(kn), :lang(gu), :lang(ar)) .story__title { font-size: clamp(2rem, 1.2rem + 3.6vw, 4.6rem); }
:is(:lang(hi), :lang(kn), :lang(gu), :lang(ar)) .v-h2 { font-size: clamp(1.9rem, 1.2rem + 2.8vw, 3.8rem); }
/* long compound words (German, Russian): smaller display sizes on phones so whole words fit;
   hyphenate where the browser has a dictionary, break only as a last resort */
:is(:lang(de), :lang(ru)) :is(h1, h2, h3, .story__title, .v-h2, .display-1, .display-2, .display-3) { hyphens: auto; overflow-wrap: anywhere; }
@media (max-width: 599px) {
	:is(:lang(de), :lang(ru)) .display-1 { font-size: clamp(2.2rem, 1rem + 6vw, 3rem); }
	:is(:lang(de), :lang(ru)) :is(.display-2, .story__title, .v-h2) { font-size: clamp(1.7rem, .9rem + 4.4vw, 2.4rem); }
	:is(:lang(de), :lang(ru)) .display-3 { font-size: clamp(1.4rem, .9rem + 3vw, 1.9rem); }
}

/* ---------- right-to-left (Arabic) ---------- */
[dir="rtl"] .skip-link { left: auto; right: 1rem; }
/* off-screen helpers: in RTL, space to the left is scrollable, so park them to the right */
[dir="rtl"] .form__hp { left: auto !important; right: -9999px; }
[dir="rtl"] :is(.note, .prose blockquote) { border-left: 0; padding-left: 0; border-right: 2px solid var(--signal); padding-right: 1rem; }
[dir="rtl"] :is(.prose ul, .prose ol, .mini-steps, .form-alert ul) { padding-left: 0; padding-right: 1.25em; }
[dir="rtl"] :is(.prose th, .prose td) { text-align: right; padding: .6em 0 .6em .8em; }
[dir="rtl"] .btn .icon, [dir="rtl"] .capability__go svg { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .icon { transform: scaleX(-1) translateX(3px); }
[dir="rtl"] .crumbs li + li::before { content: "\\"; margin-right: 0; margin-left: .5rem; }
[dir="rtl"] .capability a:hover { padding-left: 0; padding-right: .75rem; }
[dir="rtl"] .checklist li { padding: 1rem 2rem 1rem 0; }
[dir="rtl"] .checklist li::before { left: auto; right: 0; }
[dir="rtl"] .faq summary::after { right: auto; left: 0; }
[dir="rtl"] .stats div + div { padding-left: 0; border-left: 0; padding-right: 2rem; border-right: 1px solid rgb(255 255 255 / .16); }
[dir="rtl"] .recognition { border-left-width: 1px; border-right: 3px solid var(--signal); }
/* Voyage story: mirror the scene so the rocket sits opposite the text */
[dir="rtl"] .story__scene { transform: scaleX(-1); }
[dir="rtl"] .story__track-fill { left: auto; right: 2.4rem; }
@media (max-width: 767px) {
	[dir="rtl"] .story__scene { left: calc(28vw - 58.2svh); }
	[dir="rtl"] .story__track-fill { right: 1.8rem; }
}

/* ---------- language switcher ---------- */
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .4rem; font: 500 .78rem var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: .5rem .8rem; border: 1px solid currentColor; border-radius: 999px; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { width: 15px; height: 15px; flex: none; }
.lang__list { position: absolute; z-index: 60; top: calc(100% + .5rem); inset-inline-end: 0; min-width: 13rem; margin: 0; padding: .4rem; list-style: none; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px -20px rgb(0 0 0 / .45); }
.lang__list a { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .55rem .75rem; border-radius: 10px; text-decoration: none; color: var(--ink); font-size: 1rem; letter-spacing: 0; }
.lang__list a:hover, .lang__list a:focus-visible { background: var(--paper-2); color: var(--ink); }
.lang__list a[aria-current="true"] { font-weight: 600; }
.lang__code { font: 500 .7rem var(--mono); color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 899px) {
	.lang { margin-top: 1.5rem; }
	.lang__list { position: static; margin-top: .75rem; background: transparent; border: 0; box-shadow: none; padding: 0; color: inherit; display: grid; grid-template-columns: repeat(2, 1fr); gap: .25rem; }
	.lang__list a { color: inherit; padding: .5rem .25rem; }
	.lang__list a:hover, .lang__list a:focus-visible { background: rgb(255 255 255 / .08); color: inherit; }
	.lang__code { color: inherit; opacity: .7; }
}
