/* Home page structure: grouped menu, "on this page" bar, live app preview, teamwork picture.
   Uses the site's own colour variables, so it follows the light and dark look. */

/* ---------- Grouped menu ---------- */
.nav-groups { gap: 2px; align-items: center; }
.ng { position: relative; }
.ng-btn {
  display: inline-flex; align-items: center; gap: 6px; font: inherit; font-weight: 600; font-size: 15px;
  color: var(--text-2); background: transparent; border: 0; padding: 8px 12px; border-radius: 10px; cursor: pointer;
  white-space: nowrap;
}
.ng-btn:hover, .ng.open .ng-btn { background: var(--card); color: var(--text); }
.ng-btn svg { transition: transform 0.18s var(--ease); }
.ng.open .ng-btn svg { transform: rotate(180deg); }
.ng-panel {
  display: none; position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  width: min(560px, 92vw); padding: 10px; border-radius: 16px; z-index: 60;
  background: var(--card-solid); border: 1px solid var(--line-2); box-shadow: var(--shadow);
  grid-template-columns: 1fr 1fr; gap: 2px;
}
.ng-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.ng.open .ng-panel { display: grid; }
.nav .ng-panel a {
  display: grid; gap: 1px; padding: 10px 12px; border-radius: 10px; white-space: normal;
  color: var(--text); text-decoration: none; font-size: 15px; line-height: 1.3;
}
.nav .ng-panel a:hover, .nav .ng-panel a:focus-visible { background: var(--card); }
.ng-panel a b { font-weight: 700; }
.ng-panel a small { color: var(--muted); font-size: 13px; font-weight: 500; }
@media (min-width: 901px) and (max-width: 1100px) { .ng-btn { padding: 8px 8px; font-size: 14.5px; } }
@media (max-width: 900px) {
  .nav-groups { align-items: stretch; gap: 0; max-height: calc(100vh - 68px); overflow-y: auto; }
  .ng-btn { width: 100%; justify-content: space-between; padding: 12px 4px; font-size: 16px; color: var(--text); }
  .ng-panel, .ng.open .ng-panel {
    position: static; transform: none; width: auto; box-shadow: none; border: 0; background: transparent;
    padding: 0 0 8px; grid-template-columns: 1fr;
  }
  .ng-panel { display: none; }
  .ng.open .ng-panel { display: grid; }
  .ng + .ng { border-top: 1px solid var(--line); }
}

/* ---------- "On this page" bar ---------- */
.chapters {
  position: sticky; top: 68px; z-index: 30; border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.chapters .wrap { display: flex; align-items: center; gap: 6px; min-height: 46px; overflow-x: auto; scrollbar-width: none; }
.chapters .wrap::-webkit-scrollbar { display: none; }
.chapters-label { color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; margin-right: 6px; white-space: nowrap; }
.chapters a {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; text-decoration: none; font-weight: 600; font-size: 14.5px;
  color: var(--text-2); padding: 6px 12px; border-radius: 999px; border: 1px solid transparent;
}
.chapters a i { font-style: normal; font-size: 12px; font-weight: 700; color: var(--muted); }
.chapters a:hover { color: var(--text); border-color: var(--line-2); }
.chapters a[aria-current="true"] { color: var(--text); background: var(--card-solid); border-color: var(--saffron); }
.chapters a[aria-current="true"] i { color: var(--saffron); }
@media (max-width: 900px) { .chapters-label { display: none; } }

/* Section headings must not hide under the two sticky bars. */
main section[id], main figure[id] { scroll-margin-top: 126px; }

/* ---------- Live app preview ---------- */
.try-band { padding-block: clamp(40px, 6vw, 80px); }
.try-head { max-width: 760px; margin: 0 auto 26px; text-align: center; }
.try-head .eyebrow { display: inline-block; color: var(--saffron); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.try-head h2 { margin: 0 0 10px; }
.try-head p { margin: 0; color: var(--text-2); font-size: clamp(16px, 1.6vw, 18px); }
.try-frame {
  max-width: 1240px; margin-inline: auto; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line-2); background: var(--card-solid); box-shadow: var(--shadow);
}
.try-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.try-dots { display: inline-flex; gap: 6px; }
.try-dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-2); }
.try-dots i:nth-child(1) { background: #e0604f; }
.try-dots i:nth-child(2) { background: var(--turmeric); }
.try-dots i:nth-child(3) { background: var(--leaf); }
.try-title { font-weight: 700; font-size: 14px; color: var(--text-2); }
.try-note { margin-left: auto; font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.try-note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--turmeric); }
.try-open { font-size: 13px; font-weight: 700; color: var(--text); text-decoration: none; border: 1px solid var(--line-2); border-radius: 8px; padding: 5px 10px; white-space: nowrap; }
.try-open:hover { border-color: var(--saffron); }
.try-view { position: relative; width: 100%; aspect-ratio: 1240 / 760; overflow: hidden; background: var(--bg-2); }
.try-view iframe { position: absolute; top: 0; left: 0; width: 1240px; height: 760px; border: 0; transform-origin: 0 0; }
.try-wait {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px;
  color: var(--muted); font-weight: 600; background-size: cover; background-position: top center;
}
.try-wait span { background: var(--card-solid); border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 16px; color: var(--text-2); }
.try-view.ready .try-wait { display: none; }
.try-hints { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; margin: 20px 0 0; padding: 0; }
.try-hints button {
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; color: var(--text-2);
  background: var(--card-solid); border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 14px;
}
.try-hints button:hover { color: var(--text); border-color: var(--saffron); }
.try-honest { text-align: center; color: var(--muted); font-size: 14px; margin: 14px auto 0; max-width: 720px; }
@media (max-width: 700px) { .try-note { display: none; } .try-title { margin-right: auto; } }

/* ---------- Windows and Mac logos ---------- */
.os-logo { flex: none; }
.dl-bar-os { display: inline-flex; align-items: center; gap: 8px; color: var(--text); }
.try-os { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 18px 0 0; }
.try-os a {
  display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 700; font-size: 15px;
  color: var(--text); background: var(--card-solid); border: 1px solid var(--line-2); border-radius: 12px; padding: 9px 16px;
}
.try-os a:hover { border-color: var(--saffron); }
@media (max-width: 560px) { .dl-bar-os { display: none; } }

/* The screenshots stand alone now that the video is gone. */
.stage.stage-solo { grid-template-columns: minmax(0, 1fr); max-width: 980px; margin-inline: auto; }

/* ---------- Teamwork: the business as one living network ---------- */
.brain-band { padding-block: clamp(44px, 6vw, 88px); overflow: hidden; }
.brain-head { max-width: 780px; margin: 0 auto 6px; text-align: center; }
.brain-eyebrow { margin: 0 0 8px; color: var(--saffron); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.brain-head h2 { margin: 0 0 10px; }
.brain-head p { margin: 0; color: var(--text-2); font-size: clamp(16px, 1.6vw, 18px); }
.brain { position: relative; height: clamp(480px, 52vw, 640px); margin-top: 10px; color: var(--text); }
.brain canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.bn { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; justify-items: center; gap: 4px; text-align: center; will-change: left, top; }
.bn b { font-size: 13px; font-weight: 700; color: var(--text-2); white-space: nowrap; transition: color 0.3s; }
.bn-face { display: grid; place-items: center; border-radius: 50%; background: var(--card-solid); border: 2px solid var(--line-2); transition: transform 0.45s var(--ease), box-shadow 0.4s, border-color 0.3s; }
.bn.on b { color: var(--text); }
.bn.on .bn-face { transform: scale(1.12); }
.bn-bot .bn-face { width: 78px; height: 78px; background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--halo) 36%, var(--card-solid)), var(--card-solid) 72%); }
.bn-bot .bn-face img { width: 90%; height: 90%; object-fit: contain; }
.bn-bot.on .bn-face { border-color: var(--halo); box-shadow: 0 0 0 6px color-mix(in srgb, var(--halo) 18%, transparent), 0 14px 34px color-mix(in srgb, var(--halo) 40%, transparent); }
.bn-app { gap: 0; }
.bn-app img { width: 44px; height: 44px; padding: 8px; box-sizing: border-box; border-radius: 13px; background: #fff; border: 1px solid var(--line-2); box-shadow: 0 6px 16px rgba(20, 24, 41, 0.1); transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.bn-app.on img { transform: scale(1.22); box-shadow: 0 0 0 4px color-mix(in srgb, var(--saffron) 30%, transparent), 0 10px 24px rgba(20, 24, 41, 0.18); }
.bn-you .bn-face, .bn-cust .bn-face { width: 72px; height: 72px; color: #fff; background: var(--indigo); border-color: var(--indigo); }
.bn-you.on .bn-face, .bn-cust.on .bn-face { box-shadow: 0 0 0 7px color-mix(in srgb, var(--indigo-hi) 26%, transparent); }
.bn-cust .bn-face { grid-auto-flow: column; gap: 0; background: var(--leaf); border-color: var(--leaf); }
.bn-cust .bn-face i { font-style: normal; font-weight: 800; font-size: 13px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--leaf); margin-inline: -3px; border: 2px solid var(--leaf); }
.bn-you b, .bn-cust b, .bn-core b { font-size: 14.5px; color: var(--text); }
.bn-core .bn-face { width: 96px; height: 96px; border-color: var(--saffron); background: radial-gradient(circle, color-mix(in srgb, var(--saffron) 26%, var(--card-solid)), var(--card-solid) 74%); }
.bn-core .bn-face::before, .bn-core .bn-face::after { content: ""; position: absolute; width: 96px; height: 96px; border-radius: 50%; border: 2px solid var(--saffron); opacity: 0; }
.bn-core.on .bn-face::before { animation: brain-ring 1.8s ease-out infinite; }
.bn-core.on .bn-face::after { animation: brain-ring 1.8s ease-out 0.9s infinite; }
.bn-core.on .bn-face { box-shadow: 0 0 44px color-mix(in srgb, var(--saffron) 55%, transparent); }
@keyframes brain-ring { from { transform: scale(1); opacity: 0.7; } to { transform: scale(2.1); opacity: 0; } }
.bn-fact {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; white-space: nowrap; padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
  color: var(--saffron-deep); background: color-mix(in srgb, var(--turmeric) 22%, var(--card-solid)); border: 1px solid var(--turmeric);
  opacity: 0; scale: 0.8; transition: opacity 0.5s, scale 0.5s var(--ease);
}
.brain.remembering .bn-fact { opacity: 1; scale: 1; }
.brain-steps { list-style: none; counter-reset: step; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.brain-steps li { counter-increment: step; position: relative; padding: 12px 12px 12px 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--card-solid); display: grid; gap: 3px; align-content: start; transition: border-color 0.3s, transform 0.4s var(--ease), box-shadow 0.4s; }
.brain-steps li::before { content: counter(step); font-weight: 800; font-size: 13px; color: var(--muted); }
.brain-steps b { font-size: 15.5px; color: var(--text); line-height: 1.2; }
.brain-steps span { font-size: 13.5px; color: var(--text-2); line-height: 1.35; }
.brain-steps li.on { border-color: var(--saffron); transform: translateY(-4px); box-shadow: 0 14px 30px color-mix(in srgb, var(--saffron) 22%, transparent); }
.brain-steps li.on::before { color: var(--saffron); }
@media (max-width: 1000px) { .brain-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .brain { height: 600px; }
  .bn-bot .bn-face { width: 56px; height: 56px; }
  .bn-bot b { display: none; }
  .bn-app img { width: 36px; height: 36px; padding: 6px; border-radius: 10px; }
  .bn-core .bn-face, .bn-core .bn-face::before, .bn-core .bn-face::after { width: 74px; height: 74px; }
  .bn-you .bn-face, .bn-cust .bn-face { width: 58px; height: 58px; }
  .bn-fact { font-size: 11px; padding: 4px 8px; }
  .brain-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .bn-core.on .bn-face::before, .bn-core.on .bn-face::after { animation: none; } }

/* ---------- Language row under the live preview ---------- */
.try-langs { max-width: 1240px; margin: 22px auto 0; text-align: center; }
.try-langs p { margin: 0 0 12px; color: var(--text-2); font-size: 16px; }
.try-langs p b { color: var(--text); }
.try-langs ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.try-langs button {
  font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; color: var(--text-2);
  background: var(--card-solid); border: 1px solid var(--line-2); border-radius: 10px; padding: 7px 13px;
}
.try-langs button:hover { color: var(--text); border-color: var(--saffron); }
.try-langs button[aria-pressed="true"] { color: #fff; background: var(--saffron); border-color: var(--saffron); }

/* ---------- Big download tiles under the live preview ---------- */
.get-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 1240px; margin: 26px auto 0; }
.get-tile {
  display: flex; align-items: center; gap: 14px; min-height: 84px; padding: 14px 18px; border-radius: 16px; text-decoration: none;
  color: var(--text); background: var(--card-solid); border: 1px solid var(--line-2); transition: transform 0.2s var(--ease), border-color 0.2s;
}
a.get-tile:hover, .get-mac:hover { transform: translateY(-2px); border-color: var(--saffron); }
.get-tile span { display: grid; line-height: 1.2; text-align: left; }
.get-tile small { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.get-tile b { font-family: var(--font-display); font-size: 24px; }
.get-tile i { font-style: normal; font-size: 13px; color: var(--text-2); margin-top: 3px; }
.get-main { background: var(--saffron); border-color: var(--saffron); color: #fff; }
.get-main small, .get-main i { color: rgba(255, 255, 255, 0.92); }
.get-mac { background: var(--indigo); border-color: var(--indigo); }
.get-mac i a { color: #fff; font-weight: 700; text-underline-offset: 3px; }
.get-store { justify-content: center; }
.get-store img { width: min(100%, 210px); height: auto; }
.get-gh { background: #fff; border-radius: 50%; padding: 2px; }
@media (max-width: 1000px) { .get-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .get-row { grid-template-columns: 1fr; } }

/* ---------- Hero: the app picture fills the right side from the top ---------- */
@media (min-width: 961px) {
  .hero.hero-campaign .hero-stage { align-self: start; margin-top: clamp(40px, 9vh, 120px); }
}

/* ---------- Hero, tidied: news, headline, what it is, downloads, facts ---------- */
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
.hero-copy > * { max-width: 100%; }
.hero-copy .aira-chip { order: 1; margin: 0 0 8px; min-height: 38px; }
.hero-copy .tg-announce { order: 2; margin: 0 0 14px; }
.hero-copy .hero-kicker { order: 3; }
.hero-copy h1 { order: 4; }
.hero-copy .rotator { order: 5; }
.hero-copy .lead { order: 6; margin: 10px 0 0; max-width: 34em; }
.hero-copy .hero-cta { order: 7; margin: 20px 0 0; align-items: center; }
.hero-copy .to-pc { order: 8; }
.hero-copy .hero-facts { order: 9; margin-top: 14px; }
.hero-copy .cta-meta { order: 10; margin-top: 10px; }
.hero-copy .hero-help { order: 11; margin: 8px 0 0; }
.hero-copy .proof { order: 12; }

/* The logo of the visitor's own system on the main button, the other one on the second. */
.hero-cta .os-logo { width: 24px; height: 24px; }
.hero-cta .os-there { display: none; }
html.is-mac .hero-cta .os-here { display: none; }
html.is-mac .hero-cta .os-there { display: block; }
.hero-cta #hero-other { min-height: 52px; padding-inline: 20px; font-size: 16px; }
.hero-git {
  display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px 0 10px; border-radius: 8px; text-decoration: none;
  color: #fff; background: #1b1f24; border: 1px solid #1b1f24;
}
.hero-git:hover { background: #2a3038; }
.hero-git img { background: #fff; border-radius: 50%; padding: 1px; }
.hero-git span { display: grid; line-height: 1.1; text-align: left; }
.hero-git small { font-size: 10.5px; font-weight: 500; opacity: 0.85; }
.hero-git b { font-size: 17px; font-weight: 700; }
@media (min-width: 961px) {
  .hero.hero-campaign { min-height: 0; padding-block: clamp(28px, 5vh, 56px) clamp(32px, 6vh, 64px); }
  .hero.hero-campaign .hero-stage { margin-top: clamp(70px, 14vh, 150px); }
  .hero-copy h1 { margin-bottom: 4px; }
}

/* Hero headline on two lines, so the downloads sit on the first screen. */
@media (min-width: 961px) {
  .hero.hero-campaign .hero-copy h1 { font-size: clamp(46px, 5.3vw, 78px); line-height: 1.04; }
  .hero.hero-campaign .hero-copy h1 > span { display: block; }
  .hero.hero-campaign .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; }
  .hero.hero-campaign .hero-stage { align-self: center; margin-top: 0; }
  .hero-copy .lead { font-size: 17.5px; line-height: 1.55; }
  .hero-copy .proof { margin-top: 12px; }
}

/* ---------- Team cards: the app's own faces, three in a row ---------- */
.avatar.avatar-face { width: 60px; height: 60px; border-radius: 0; background: none; }
.avatar-face svg, .avatar-face img { width: 100%; height: 100%; object-fit: contain; display: block; }
@media (min-width: 900px) { .grid.team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Download cards: the Recommended tag sits above the title, never on it ---------- */
.dl-card.store { padding-top: 46px; }
.dl-card.store .ribbon { top: 12px; right: auto; left: 20px; }
.mac-tile svg { width: 54%; height: 54%; }

/* ---------- Teams: header link and home band ---------- */
.nav .nav-teams { margin-left: 6px; padding: 7px 14px; border-radius: 999px; color: var(--saffron-deep); border: 1.5px solid var(--saffron); font-weight: 700; }
.nav .nav-teams:hover { background: var(--saffron); color: #fff; }
.teams-band { padding-block: clamp(36px, 5vw, 64px); }
.teams-band-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(20px, 4vw, 56px); align-items: center; padding: clamp(24px, 4vw, 48px); border-radius: 28px; background: var(--indigo); color: #fff; }
.teams-band-eyebrow { margin: 0 0 8px; color: var(--turmeric); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.teams-band h2 { margin: 0 0 12px; color: #fff; }
.teams-band h2::after { display: none; }
.teams-band-lead { margin: 0 0 20px; color: rgba(255, 255, 255, 0.86); font-size: clamp(16px, 1.6vw, 18px); }
.teams-band-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.teams-band-mail { color: #fff; font-weight: 700; text-underline-offset: 4px; }
.teams-band-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.teams-band-list li { display: grid; gap: 2px; padding: 13px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.09); border: 1px solid rgba(255, 255, 255, 0.16); }
.teams-band-list b { font-size: 16.5px; }
.teams-band-list span { font-size: 14.5px; color: rgba(255, 255, 255, 0.8); }
@media (max-width: 900px) { .teams-band-in { grid-template-columns: 1fr; } .nav .nav-teams { margin: 10px 0 0; text-align: center; } }

/* ---------- Header language menu ---------- */
.site-lang { position: relative; }
.site-lang-btn { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 12px; border-radius: 999px; cursor: pointer; font: inherit; color: var(--text); background: var(--card-solid); border: 1px solid var(--line-2); }
.site-lang-btn b { font-size: 14px; font-weight: 800; }
.site-lang-btn:hover { border-color: var(--saffron); }
.site-lang-list { position: absolute; top: calc(100% + 8px); right: 0; z-index: 70; list-style: none; margin: 0; padding: 8px; width: 300px; max-height: min(70vh, 460px); overflow-y: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; border-radius: 16px; background: var(--card-solid); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.site-lang-list[hidden] { display: none; }
.site-lang-list button { width: 100%; text-align: start; font: inherit; font-size: 15px; font-weight: 600; padding: 9px 12px; border-radius: 10px; cursor: pointer; color: var(--text); background: transparent; border: 0; }
.site-lang-list button:hover { background: var(--card); }
.site-lang-list button[aria-current="true"] { background: var(--saffron); color: #fff; }
.site-lang.busy .site-lang-btn { opacity: 0.6; }
@media (max-width: 520px) { .site-lang-list { position: fixed; top: 74px; right: 10px; left: 10px; width: auto; } .site-lang-btn { padding: 0 10px; } }

/* ---------- Download cards: two wide cards in a row, so nothing is squeezed ---------- */
@media (min-width: 900px) { #download .dl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1040px; } }
.try-dl { text-align: center; margin: 22px 0 0; }

/* The old two-language switch gives way to the 17-language menu. */
.lang[hidden] { display: none !important; }
.try-langs p span { color: inherit; }

/* ---------- World globe (#world) ---------- */
.world-band { padding-block: clamp(36px, 5vw, 64px); }
.world-in { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(8px, 3vw, 40px); padding: clamp(22px, 4vw, 52px); border-radius: 28px; color: #fff; background: radial-gradient(70% 90% at 76% 50%, #2a3c86 0%, #1e2a5a 38%, #0e1433 100%); box-shadow: 0 30px 70px -30px rgba(14, 20, 51, 0.7); }
.world-in::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.7; background-image: radial-gradient(1px 1px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 31% 72%, #fff 50%, transparent 51%), radial-gradient(1.4px 1.4px at 47% 9%, #cfe0ff 50%, transparent 51%), radial-gradient(1px 1px at 58% 88%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 6% 61%, #cfe0ff 50%, transparent 51%), radial-gradient(1px 1px at 93% 12%, #fff 50%, transparent 51%), radial-gradient(1.3px 1.3px at 96% 83%, #cfe0ff 50%, transparent 51%), radial-gradient(1px 1px at 24% 41%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 40% 55%, #fff 50%, transparent 51%); }
.world-head { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: clamp(16px, 2vw, 24px); min-width: 0; }
.world-copy { min-width: 0; }
.world-eyebrow { margin: 0 0 10px; color: var(--turmeric); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.world-band h2 { margin: 0 0 14px; color: #fff; font-size: clamp(30px, 4.2vw, 52px); line-height: 1.06; letter-spacing: -0.01em; }
.world-band h2::after { display: none; }
.world-lead { margin: 0; max-width: 46ch; color: rgba(255, 255, 255, 0.84); font-size: clamp(15.5px, 1.5vw, 18px); }
.world-on { margin: 0; display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); }
.world-on i { width: 9px; height: 9px; border-radius: 50%; background: #3ddc84; animation: world-pulse 2s ease-out infinite; }
.world-map { position: relative; width: 100%; max-width: 560px; margin-inline: auto; }
.world-map canvas { display: block; width: 100%; aspect-ratio: 1 / 1; touch-action: pan-y; cursor: grab; opacity: 0; transition: opacity 0.9s ease; }
.world-band.ready .world-map canvas { opacity: 1; }
.world-map canvas.turning { cursor: grabbing; }
.world-tip { position: absolute; z-index: 2; transform: translate(-50%, calc(-100% - 12px)); padding: 5px 10px; border-radius: 999px; white-space: nowrap; pointer-events: none; font-size: 13px; font-weight: 700; color: #1e2a5a; background: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3); }
.world-tip.below { transform: translate(-50%, 12px); }
.world-tip[hidden] { display: none; }
.world-live { position: absolute; left: 50%; bottom: 1%; margin: 0; display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; white-space: nowrap; font-size: 14px; color: #fff; background: rgba(14, 20, 51, 0.86); border: 1px solid rgba(232, 119, 46, 0.7); opacity: 0; transform: translate(-50%, 8px); transition: opacity 0.4s ease, transform 0.4s ease; }
.world-live.on { opacity: 1; transform: translate(-50%, 0); }
.world-live i { width: 9px; height: 9px; border-radius: 50%; background: var(--saffron); box-shadow: 0 0 10px var(--saffron); }
.world-live span { color: rgba(255, 255, 255, 0.8); }
@keyframes world-pulse { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.6); } 100% { box-shadow: 0 0 0 9px rgba(61, 220, 132, 0); } }
@media (max-width: 900px) { .world-in { grid-template-columns: 1fr; padding: 24px 16px 12px; border-radius: 22px; background: radial-gradient(90% 60% at 50% 72%, #2a3c86 0%, #1e2a5a 42%, #0e1433 100%); } .world-map { max-width: 460px; } }
@media (prefers-reduced-motion: reduce) { .world-on i { animation: none; } .world-live, .world-map canvas { transition: none; } }

/* ---------- Phone header: the menu button keeps its size and its three lines (Safari on iPhone) ---------- */
.site-header .header-actions > * { flex: none; }
.site-header .menu-toggle { flex: none; padding: 0; min-width: 42px; -webkit-appearance: none; appearance: none; }
.site-header .menu-toggle svg { flex: none; display: block; width: 20px; height: 20px; }
@media (max-width: 420px) { .site-header .wrap { gap: 10px; } .site-header .header-actions { gap: 8px; } }
