/* Locale-aware additions to the existing YET design. */
body { font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
html[lang="ar"] body { font-family: "Geeza Pro", "Noto Sans Arabic", Tahoma, sans-serif; line-height: 1.8; }
html[lang="hi"] body { font-family: "Kohinoor Devanagari", "Noto Sans Devanagari", system-ui, sans-serif; }
html[lang="th"] body { font-family: "Thonburi", "Noto Sans Thai", system-ui, sans-serif; }
html[lang="ja"] body { font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif; }
html[lang="ko"] body { font-family: "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif; }
html[lang="zh-Hans"] body { font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; }
.site-header { gap: 20px; }
.skip-link:not(:focus) { clip-path: inset(50%); }
.site-header > nav { margin-inline-start: auto; }
.site-header > nav > a { min-width: 0; }
.wordmark { aspect-ratio: auto; overflow: visible; }
.wordmark img { position: static; transform: none; width: 100%; max-width: 100%; height: auto; object-fit: contain; }
.button, .text-link, h1, h2, h3 { overflow-wrap: anywhere; }
.button { text-align: center; }
.button .icon, .text-link .icon { flex-shrink: 0; }
.experience-step summary { padding-inline-end: 6px; }
.experience-step summary > span { min-width: 0; overflow-wrap: anywhere; }
.language-menu { flex-shrink: 0; position: relative; z-index: 5; font-size: 13px; }
.language-menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 8px; border-radius: 4px; }
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu summary:hover { background: var(--pastel-violet); }
.language-menu > nav { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; display: grid; gap: 0; width: 224px; max-width: calc(100vw - 32px); max-height: 65vh; overflow-y: auto; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 6px 24px #191b2414; }
.language-menu > nav > a { display: flex; padding: 8px 12px; min-height: 44px; border-radius: 3px; }
.language-menu > nav > a:hover, .language-menu a[aria-current] { background: var(--pastel-violet); color: var(--ink); }
.language-footer { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 13px; }
.language-footer a { display: inline-flex; align-items: center; min-height: 44px; }
.language-footer a[aria-current] { font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.footer-bottom { flex-wrap: wrap; }
.legal-language { flex-basis: 100%; }
.faq-section { width: min(calc(100% - 80px), var(--page-width)); margin: auto; padding: 72px 0; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 60px; }
.faq-section h2 { font-size: 34px; }
.faq-section details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq-section details:first-child { border-top: 1px solid var(--line); }
.faq-section summary { cursor: pointer; min-height: 44px; font-weight: 500; font-size: 18px; }
.faq-section p { margin: 12px 0 4px; color: var(--muted); }
[dir="rtl"] .footer-top > a:last-child { margin-left: 0; margin-inline-start: auto; }
[dir="rtl"] .step-copy { padding: 0 46px 26px 38px; }
[dir="rtl"] .discovery-card-copy { text-align: start; }
[dir="rtl"] .icon[src$="arrow-right.svg"], [dir="rtl"] .icon[src$="arrow-up-right.svg"] { transform: scaleX(-1); }
@media (max-width: 1000px) {
  .site-header > nav { gap: 20px; }
  .site-header > nav > a:nth-child(2) { display: none; }
  .language-menu summary > span { display: none; }
}
@media (max-width: 600px) {
  .site-header { gap: 8px; flex-wrap: wrap; padding-block: 10px; }
  .site-header > nav { flex: 1; justify-content: flex-end; gap: 12px; }
  .site-header > nav > a:first-child { display: none; }
  .site-header .wordmark { width: 90px; }
  .site-header .nav-iphone { font-size: 12px; line-height: 1.4; }
  .faq-section { width: calc(100% - 48px); padding: 48px 0; grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .faq-section h2 { font-size: 28px; }
  .signal-strip button { white-space: normal; min-width: 0; padding-inline: 12px; }
  [dir="rtl"] .step-copy { padding-right: 38px; padding-left: 0; }
}
