/* Homepage. Other pages keep theme.css. */

html:has(body[data-page="home"]) { background: #07122e; }

body[data-page="home"] {
  --display: "Syne", sans-serif;
  --sans: "Manrope", system-ui, sans-serif;
  --ink: #16304f;
  --muted: #5d7190;
  background: #f4f9fd;
  color: #16304f;
  font-family: "Manrope", system-ui, sans-serif;
}

body[data-page="home"] .site-header {
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
}

body[data-page="home"] .site-header.is-scrolled {
  background: rgba(10, 18, 48, 0.88);
  box-shadow: none;
  backdrop-filter: blur(16px);
}

body[data-page="home"] .site-brand-name,
body[data-page="home"] .site-nav a,
body[data-page="home"] .nav-toggle { color: #fff; }

body[data-page="home"] .site-nav a:hover,
body[data-page="home"] .site-nav a.is-active {
  color: #06281c;
  background: #2ee6a6;
  border-bottom-color: transparent;
}

body[data-page="home"] .btn-primary {
  background: #2ee6a6;
  color: #06281c;
}

body[data-page="home"] .btn-primary:hover {
  background: #1ed598;
  color: #06281c;
}

body[data-page="home"] .site-footer {
  background: #100828;
  color: #d5d8ef;
  border-radius: 0;
  margin-top: 0;
}

body[data-page="home"] .site-footer h4,
body[data-page="home"] .footer-brand-name { color: #fff; }

body[data-page="home"] .site-footer a { color: #9eeed2; }

body[data-page="home"] .footer-lead,
body[data-page="home"] .footer-bottom { color: #c5c8e4; }

.sky-hero {
  position: relative;
  z-index: 2;
  margin-top: -88px;
  padding: 148px 0 108px;
  background:
    radial-gradient(520px 320px at 8% 18%, rgba(125, 107, 255, 0.55), transparent 70%),
    radial-gradient(640px 380px at 92% 8%, rgba(62, 214, 255, 0.45), transparent 68%),
    linear-gradient(118deg, #1b0d4a 0%, #163a9a 42%, #1477c9 70%, #1ec4e0 100%);
  color: #fff;
  overflow: visible;
}

.sky-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 22% 68%, #fff, transparent),
    radial-gradient(2px 2px at 38% 18%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 48% 42%, rgba(255,255,255,.8), transparent),
    radial-gradient(1.5px 1.5px at 62% 16%, #fff, transparent),
    radial-gradient(2px 2px at 74% 58%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 86% 28%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 92% 72%, rgba(255,255,255,.75), transparent);
}

.sky-astro,
.sky-sat,
.sky-planet,
.sky-rocket {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.sky-astro {
  width: 168px;
  left: 4%;
  top: 108px;
  animation: sky-float 7s ease-in-out infinite;
}

.sky-sat {
  width: 168px;
  right: 5%;
  top: 96px;
  animation: sky-float 8s ease-in-out infinite reverse;
}

.sky-planet {
  width: 92px;
  left: 18%;
  bottom: 86px;
}

.sky-hero-copy {
  position: relative;
  z-index: 3;
  text-align: center;
}

.sky-kicker,
.sky-label {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sky-kicker { color: #b8fff0; }

.sky-label { color: #1a8f86; }

.sky-hero h1 {
  margin: 0;
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 8.5vw, 6.2rem);
  line-height: 0.9;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sky-query {
  margin: 18px 0 0;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.82);
}

.sky-lead {
  margin: 10px auto 0;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

body[data-page="home"] .sky-search.search-card {
  position: relative;
  z-index: 5;
  width: min(760px, 100%);
  margin: 28px auto 0;
  padding: 8px 10px 8px 16px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr) auto;
  gap: 0;
  align-items: center;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(8, 20, 60, 0.18);
  color: #16304f;
  overflow: visible;
  text-align: left;
}

body[data-page="home"] .sky-search .search-field {
  background: transparent;
  border-radius: 0;
  padding: 6px 12px;
  box-shadow: none;
  min-width: 0;
  align-items: flex-start;
  text-align: left;
}

body[data-page="home"] .sky-search .search-field:first-of-type {
  padding-left: 10px;
  padding-right: 12px;
}

body[data-page="home"] .sky-search .search-field:nth-of-type(2) {
  padding-left: 22px;
  padding-right: 10px;
  border-left: 1px solid rgba(22, 48, 79, 0.14);
}

body[data-page="home"] .sky-search .search-field:focus-within,
body[data-page="home"] .sky-search .search-field.is-open {
  background: transparent;
  box-shadow: none;
}

body[data-page="home"] .sky-search .search-field label {
  color: #1a8f86;
  letter-spacing: 0.08em;
  width: 100%;
  text-align: left;
}

body[data-page="home"] .sky-search .search-field input {
  color: #16304f;
  font-size: 1.02rem;
  font-weight: 650;
  text-align: left;
  padding: 0;
  margin: 0;
}

body[data-page="home"] .sky-search .search-field input::placeholder {
  color: #8a9bb5;
  opacity: 1;
}

body[data-page="home"] .sky-search .search-go {
  min-width: 118px;
  min-height: 52px;
  margin-left: 6px;
  border-radius: 999px;
}

body[data-page="home"] .sky-search .search-suggest { color: #16304f; }

.sky-jumps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 22px auto 0;
  max-width: 860px;
}

.sky-jumps a {
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.92rem;
  font-weight: 700;
}

.sky-jumps a:hover { background: #fff; color: #12306e; }

.sky-wave {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 90px;
  display: block;
  z-index: 2;
}

.sky-day { position: relative; z-index: 1; background: #f4f9fd; }

.sky-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.sky-copy h2,
.sky-how h2,
.sky-catalog h2,
.sky-cta h2 {
  margin: 0;
  font-family: "Syne", sans-serif;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #12305c;
}

.sky-copy h2 { font-size: clamp(2rem, 3.4vw, 3.1rem); }

.sky-copy p { margin: 14px 0 0; line-height: 1.65; color: #3e5574; font-size: 1.05rem; }

.sky-copy a { color: #0e7f86; font-weight: 750; }

.sky-pocket { padding: 36px 0 20px; }

.sky-phones { position: relative; min-height: 380px; }

.sky-halo {
  position: absolute;
  width: 320px;
  height: 320px;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(126, 224, 255, 0.0) 46%, rgba(126, 224, 255, 0.45) 47%, rgba(126, 224, 255, 0) 62%),
    radial-gradient(circle, rgba(125, 107, 255, 0.16), transparent 70%);
}

.sky-phone {
  position: absolute;
  width: 210px;
  padding: 16px 16px 18px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 22px 40px rgba(18, 40, 80, 0.14);
  color: #16304f;
}

.sky-phone header { display: flex; gap: 5px; margin-bottom: 16px; }

.sky-phone header span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d5e2f2;
}

.sky-phone header span:first-child { background: #ff8b8b; }
.sky-phone header span:nth-child(2) { background: #ffd36b; }
.sky-phone header span:nth-child(3) { background: #2ee6a6; }

.sky-phone p { margin: 0; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #1a8f86; }

.sky-phone strong { display: block; margin-top: 6px; font-family: "Syne", sans-serif; font-size: 1.35rem; }

.sky-phone em { display: block; margin-top: 2px; font-style: normal; color: #5d7190; }

.sky-phone ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }

.sky-phone li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid #e6eef6;
  font-size: 0.88rem;
}

.sky-phone b { font-weight: 700; }
.sky-phone span { color: #5d7190; }

.sky-phone.is-back { left: 8%; top: 36px; transform: rotate(-8deg); background: #f3f6fb; }
.sky-phone.is-front { left: 38%; top: 78px; transform: rotate(6deg); border: 3px solid #12305c; }

.sky-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.sky-line {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1.5px solid #12305c;
  color: #12305c !important;
  text-decoration: none;
  font-weight: 750;
}

.sky-line:hover { background: #12305c; color: #fff !important; }

.sky-how { padding: 28px 0 10px; text-align: center; }

.sky-how h2 { font-size: clamp(2rem, 4vw, 3rem); }

.sky-how-lead {
  margin: 12px auto 0;
  max-width: 36rem;
  color: #3e5574;
}

.sky-how ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.sky-how li {
  padding: 8px 8px 0;
}

.sky-how li span {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #fff, #d9f4ff 55%, #c9e4ff);
  color: #2450b8;
}

.sky-how svg { width: 40px; height: 40px; }

.sky-how strong { display: block; font-size: 1.15rem; }

.sky-how li p { margin: 8px 0 0; color: #3e5574; line-height: 1.55; }

.sky-band { padding: 28px 0; }

.sky-more {
  display: inline-flex;
  margin-top: 18px;
  color: #0e7f86;
  font-weight: 800;
  text-decoration: none;
}

.sky-more:hover { text-decoration: underline; }

.sky-panel { position: relative; min-height: 280px; }

.sky-orb {
  width: min(100%, 280px);
  margin: 0 auto;
  display: block;
}

.sky-cities {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: -28px;
}

.sky-cities a {
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  color: #16304f;
  text-decoration: none;
  font-weight: 750;
  box-shadow: 0 8px 20px rgba(18, 48, 92, 0.08);
}

.sky-cities a:hover { background: #12305c; color: #fff; }

.sky-windows { display: grid; gap: 14px; }

.sky-window {
  display: block;
  padding: 16px 16px 18px;
  background: #fff;
  border-radius: 22px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 14px 32px rgba(18, 48, 92, 0.08);
}

.sky-window:hover { transform: translateY(-2px); }

.sky-dots { display: flex; gap: 5px; margin-bottom: 10px; }
.sky-dots b { width: 8px; height: 8px; border-radius: 50%; background: #d5e2f2; }
.sky-dots b:first-child { background: #ff8b8b; }
.sky-dots b:nth-child(2) { background: #ffd36b; }
.sky-dots b:nth-child(3) { background: #2ee6a6; }

.sky-window small {
  color: #1a8f86;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.sky-window h3 {
  margin: 6px 0 0;
  font-family: "Syne", sans-serif;
  font-size: 1.25rem;
  color: #12305c;
}

.sky-window p { margin: 6px 0 0; color: #3e5574; line-height: 1.5; }

.sky-links { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }

.sky-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: #fff;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(18, 48, 92, 0.06);
}

.sky-links a::after { content: "→"; }

.sky-links a:hover { background: #12305c; color: #fff; }

.sky-bubbles { display: grid; gap: 12px; }

.sky-bubbles a {
  display: block;
  padding: 16px 18px;
  background: #fff;
  border-radius: 20px;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(18, 48, 92, 0.08);
}

.sky-bubbles b { display: block; font-family: "Syne", sans-serif; font-size: 1.2rem; color: #12305c; }
.sky-bubbles span { display: block; margin-top: 4px; color: #3e5574; }
.sky-bubbles a:nth-child(2) { margin-left: 28px; }
.sky-bubbles a:nth-child(3) { margin-left: 10px; }
.sky-bubbles a:hover { background: #12305c; }
.sky-bubbles a:hover b,
.sky-bubbles a:hover span { color: #fff; }

.sky-catalog,
.sky-board { padding: 20px 0 10px; }

.sky-catalog-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 18px;
}

.sky-catalog-head p:last-child { margin: 8px 0 0; color: #3e5574; max-width: 36rem; }

.sky-trades {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.sky-trade {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 148px;
  padding: 16px;
  background: #fff;
  border-radius: 22px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 24px rgba(18, 48, 92, 0.06);
}

.sky-trade i {
  width: 36px;
  height: 12px;
  border-radius: 999px;
  background: var(--tone, #2ee6a6);
}

.sky-trade strong { font-family: "Syne", sans-serif; font-size: 1.05rem; color: #12305c; }
.sky-trade span { color: #3e5574; line-height: 1.45; font-size: 0.92rem; }
.sky-trade:hover { transform: translateY(-3px); }

.sky-firms {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.sky-firm {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background: #fff;
  border-radius: 22px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 24px rgba(18, 48, 92, 0.06);
}

.sky-firm p { margin: 0; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #1a8f86; }
.sky-firm h3 { margin: 0; font-size: 1rem; line-height: 1.3; color: #12305c; }
.sky-firm-about {
  color: #3e5574;
  font-size: 0.9rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sky-firm b { margin-top: auto; color: #0e7f86; font-size: 0.92rem; }
.sky-firm:hover h3 { color: #0e7f86; }

.sky-empty { padding: 8px 0 20px; color: #3e5574; }

.sky-note { padding: 28px 0 88px; }

.sky-trust,
.sky-quotes { text-align: center; }

.sky-trust p,
.sky-quotes p { margin: 0 auto; max-width: 40rem; color: #3e5574; line-height: 1.6; }

.sky-quotes { display: grid; gap: 12px; }
.sky-quotes blockquote {
  margin: 0;
  padding: 16px;
  background: #fff;
  border-radius: 18px;
  text-align: left;
}
.sky-quotes footer { margin-top: 8px; color: #5d7190; font-size: 0.88rem; }

.sky-cta {
  position: relative;
  z-index: 2;
  margin-top: -40px;
  padding: 120px 0 92px;
  background:
    radial-gradient(420px 240px at 90% 20%, rgba(62, 214, 255, 0.2), transparent 70%),
    linear-gradient(160deg, #2a1468 0%, #140a33 55%, #0c1738 100%);
  color: #fff;
  overflow: visible;
}

.sky-wave-top {
  position: absolute;
  top: -70px;
  left: 0;
  width: 100%;
  height: 90px;
}

.sky-sat-late { width: 120px; right: 8%; top: 36px; }

.sky-cta-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: center;
}

.sky-phones-late { min-height: 280px; }

.sky-cta h2 {
  color: #fff;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sky-cta-copy p { margin: 12px 0 0; max-width: 34rem; color: rgba(255,255,255,.8); line-height: 1.6; }

.sky-cta .sky-search { margin: 22px 0 0; }

.sky-rocket {
  width: 72px;
  left: 50%;
  bottom: -18px;
  margin-left: -36px;
  z-index: 3;
}

@keyframes sky-float {
  50% { transform: translateY(-12px); }
}

@media (prefers-reduced-motion: reduce) {
  .sky-astro, .sky-sat { animation: none; }
}

@media (max-width: 980px) {
  .sky-split,
  .sky-split.is-flip,
  .sky-cta-grid,
  .sky-trades,
  .sky-firms,
  .sky-how ol { grid-template-columns: 1fr 1fr; }
  .sky-astro, .sky-sat, .sky-planet, .sky-sat-late { display: none; }
  .sky-how ol { gap: 16px; }
  .sky-phone.is-back { left: 0; }
  .sky-phone.is-front { left: 28%; }
}

@media (max-width: 800px) {
  body[data-page="home"] .sky-search.search-card {
    grid-template-columns: 1fr;
    border-radius: 28px;
    padding: 12px;
    gap: 4px;
  }

  body[data-page="home"] .sky-search .search-field:first-of-type,
  body[data-page="home"] .sky-search .search-field:nth-of-type(2) {
    padding: 8px 10px;
    border-left: 0;
  }

  body[data-page="home"] .sky-search .search-go {
    margin-left: 0;
    width: 100%;
  }
  .sky-split,
  .sky-cta-grid,
  .sky-trades,
  .sky-firms,
  .sky-how ol { grid-template-columns: 1fr; }
  .sky-split.is-flip .sky-copy { order: -1; }
  .sky-phones { min-height: 340px; }
  .sky-catalog-head { flex-direction: column; align-items: flex-start; }
  .sky-bubbles a:nth-child(2),
  .sky-bubbles a:nth-child(3) { margin-left: 0; }
  .sky-hero { padding-top: 108px; }
  .sky-hero h1 {
    font-size: clamp(2.15rem, 10vw, 2.8rem);
    letter-spacing: 0;
  }
}

@media (max-width: 640px) {
  .sky-phone { width: 168px; }
  .sky-phone.is-back { left: 4%; top: 12px; }
  .sky-phone.is-front { left: 28%; top: 64px; }
  .sky-phones { min-height: 300px; }
}
