:root {
  color-scheme: dark;
  --bg: #090d17;
  --text: #f8f8fc;
  --muted: #b7bfd0;
  --blue: #b6d2ff;
  --line: #30394b;
  font-family: "Avenir Next", Avenir, Inter, system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.wrap { width: min(1360px, calc(100% - 96px)); margin-inline: auto; }
.top { min-height: 86px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.brand { font-size: .96rem; font-weight: 800; letter-spacing: .26em; text-decoration: none; }
.languages { position: relative; z-index: 2; }
.languages summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; }
.languages summary::-webkit-details-marker { display: none; }
.languages nav { position: absolute; inset-inline-end: 0; margin-block-start: 10px; width: min(310px, 80vw); max-height: 58vh; overflow: auto; padding: 9px; background: #101725; border: 1px solid var(--line); border-radius: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); box-shadow: 0 12px 30px #0008; }
.languages nav a { padding: 8px; text-decoration: none; border-radius: 6px; font-size: .87rem; }
.languages nav a:hover, .languages nav a[aria-current] { background: #263248; color: var(--blue); }
.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: min(680px, 75vw); overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #0a1120; }
.scene, .scene::after, .scene img { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene { z-index: -1; }
.scene img { object-fit: cover; object-position: center 62%; }
.scene::after { content: ""; background: linear-gradient(90deg, #080d18 0%, #080d18ea 28%, #080d1878 53%, #080d1800 75%); }
[dir="rtl"] .scene { transform: scaleX(-1); }
.hero-copy { width: min(57%, 655px); padding: clamp(26px, 5vw, 77px); padding-inline-end: 0; }
h1 { margin: 0; font-size: clamp(2.35rem, 5.9vw, 5.7rem); font-weight: 700; line-height: 1.02; letter-spacing: -.065em; text-wrap: balance; overflow-wrap: anywhere; }
:lang(ar) h1, :lang(he) h1, :lang(hi) h1, :lang(bn) h1, :lang(th) h1, :lang(ja) h1, :lang(ko) h1, :lang(zh) h1 { letter-spacing: normal; line-height: 1.22; }
.intro { max-width: 41ch; margin: 20px 0 26px; color: var(--muted); font-size: clamp(.98rem, 1.4vw, 1.15rem); line-height: 1.6; }
.reward { display: flex; gap: 14px; align-items: center; max-width: 430px; margin: 0 0 22px; }
.reward strong { flex: none; font-size: clamp(2.6rem, 5vw, 4.6rem); color: var(--blue); letter-spacing: -.06em; line-height: 1; }
.reward span { font-size: .9rem; line-height: 1.4; color: #dce6f7; }
.independent { margin: 0 0 12px; font-size: .8rem; color: var(--muted); }
.action { display: inline-flex; justify-content: space-between; align-items: center; gap: 16px; text-decoration: none; padding: 15px 22px; background: #edf4ff; color: #101b2e; border-radius: 12px; font-weight: 750; }
.action:hover { background: #cfe1ff; }
.guide { padding-block: 42px 34px; }
.guide h2 { margin: 0 0 19px; font-size: 1.25rem; }
.guide ol { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.guide li { counter-increment: step; display: flex; gap: 12px; align-items: flex-start; border-block-start: 1px solid var(--line); padding-block-start: 14px; color: var(--muted); font-size: .94rem; line-height: 1.55; }
.guide li::before { content: counter(step); flex: none; display: grid; place-items: center; border: 1px solid #384967; border-radius: 50%; width: 26px; height: 26px; color: var(--blue); font-size: .78rem; }
.foot { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 30px; padding-block: 20px 32px; border-block-start: 1px solid var(--line); color: var(--muted); font-size: .8rem; line-height: 1.55; }
.foot p { margin: 0; max-width: 76ch; }
.foot a { flex-shrink: 0; text-underline-offset: 3px; }
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 48px); }
  .hero-copy { padding-block: 46px; width: 62%; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px); }
  .top { min-height: 66px; }
  .brand { font-size: .83rem; }
  .hero { display: block; min-height: 0; border-radius: 16px; }
  .scene { display: block; position: relative; height: clamp(185px, 55vw, 320px); }
  .scene img { object-position: center 66%; }
  .scene::after { background: linear-gradient(0deg, #0a1120 0%, #0a112000 42%); }
  .hero-copy { width: auto; padding: 0 22px 26px; }
  h1 { font-size: clamp(2.25rem, 8.5vw, 3.65rem); }
  .intro { margin-block: 14px 20px; }
  .reward { margin-block-end: 17px; }
  .action { width: 100%; }
  .guide { padding-block: 32px 25px; }
  .guide ol { grid-template-columns: 1fr; gap: 12px; }
  .foot { flex-direction: column; }
}
.faq details { max-width: 72ch; border-block-end: 1px solid var(--line); }
.faq summary { padding-block: 12px; cursor: pointer; }
.faq p { padding-inline-start: 18px; }
[hidden] { display: none !important; }
.faq { padding-block: 28px; border-block-start: 1px solid var(--line); }
.faq h2 { font-size: 1.25rem; margin: 0 0 14px; }
.faq p { color: var(--muted); line-height: 1.55; margin: 0 0 10px; }
#referral-reward { margin-top: 20px; }
#reward-country { display: block; color: var(--muted); }
.referral-code { margin: 12px 0 10px; color: var(--muted); font-size: .85rem; }

#starlink-referral { scroll-margin-block-start: 20px; }
.country-picker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-block: 0 12px; color: var(--muted); font-size: .83rem; }
.country-picker select { max-width: min(100%, 250px); border: 1px solid var(--line); border-radius: 7px; padding: 6px 8px; background: #101725; color: var(--text); font: inherit; }
.country-picker select:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
