/* Landing + legal pages */
.site-nav .nav-links { flex: 1; display: flex; justify-content: center; gap: 4px; }

/* nav links glide to their section and stop just below the sticky navbar */
html { scroll-behavior: smooth; }
.section[id] { scroll-margin-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* about */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: 16px; align-items: stretch; }
.about-story { padding: 28px; }
.about-mark { width: 54px; height: 54px; margin-bottom: 16px; }
.about-mark img { width: 100%; height: 100%; border-radius: 14px; box-shadow: 0 10px 26px -10px rgba(0, 0, 0, 0.6); }
.about-lead { font-family: var(--mono); font-size: 17px; line-height: 1.55; color: var(--text); margin-bottom: 14px; }
.about-story p { color: var(--text-2); line-height: 1.7; font-size: 14px; }
.about-values { display: flex; flex-direction: column; gap: 16px; }
.value { display: flex; gap: 14px; padding: 18px 20px; align-items: flex-start; }
.value .ficon { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--accent-soft); color: var(--accent-hi); }
.value .ficon .icon { width: 21px; height: 21px; }
.value h3 { font-size: 15px; margin-bottom: 4px; }
.value p { color: var(--text-2); font-size: 13.5px; line-height: 1.6; }
.site-main { position: relative; z-index: 1; }

.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 88px 22px 70px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
}
.eyebrow { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-hi); font-size: 12.5px; font-weight: 600; margin-bottom: 22px; }
.hero h1 { font-family: var(--mono); font-weight: 600; font-size: clamp(38px, 6vw, 64px); line-height: 1.06; letter-spacing: -0.5px; }
.hero h1 .accent { color: var(--accent-hi); }
.hero p.lead { margin: 20px 0 30px; max-width: 520px; font-size: 17px; color: var(--text-2); line-height: 1.6; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 18px; color: var(--text-3); font-size: 13px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta .icon { width: 16px; height: 16px; color: var(--green); }

/* live globe */
.globe-wrap { position: relative; width: 100%; max-width: 460px; justify-self: center; }
.hero-globe { display: block; width: 100%; aspect-ratio: 1; user-select: none; -webkit-user-select: none; }
.globe-caption { text-align: center; font-size: 12.5px; color: var(--text-3); margin-top: 6px; }
.globe-tip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border-radius: 12px;
  background: rgba(47, 47, 66, 0.92);
  border: 1px solid var(--line-2);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.7);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(16px, -50%) scale(0.96);
  transition: opacity 0.15s, transform 0.15s;
}
.globe-tip.left { transform: translate(calc(-100% - 16px), -50%) scale(0.96); }
.globe-tip.show { opacity: 1; transform: translate(16px, -50%); }
.globe-tip.left.show { transform: translate(calc(-100% - 16px), -50%); }
.globe-tip .flag { width: 28px; height: 21px; border-radius: 4px; }
.globe-tip .tip-text { display: flex; flex-direction: column; line-height: 1.35; }
.globe-tip b { font-family: ui-monospace, Consolas, monospace; font-size: 13px; }
.globe-tip span { font-size: 12px; color: var(--text-2); }
.globe-tip em { font-style: normal; font-size: 11px; font-weight: 600; }
.globe-tip em.on { color: var(--green); }
.globe-tip em.off { color: var(--red); }

/* stylised globe (unused, kept for reference) */
.orb-wrap { position: relative; aspect-ratio: 1; max-width: 440px; width: 100%; justify-self: center; animation: float 6s ease-in-out infinite; }
.orb {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.16), transparent 42%),
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(47, 47, 66, 0.55) 34px 36px),
    repeating-linear-gradient(0deg, transparent 0 34px, rgba(47, 47, 66, 0.55) 34px 36px),
    radial-gradient(circle at 50% 50%, #646487 0 58%, #4d6d9b 59%);
  box-shadow: inset -26px -30px 60px rgba(20, 20, 34, 0.75), 0 0 70px rgba(78, 148, 206, 0.25);
  overflow: hidden;
}
.orb::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 70% 75%, rgba(20, 20, 34, 0.55), transparent 55%); }
.orb-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(223, 237, 249, 0.14); animation: spin 60s linear infinite; }
.pin { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.6); animation: pulse 2s ease-out infinite; }
.pin.red { background: var(--red); animation-name: pulse-red; }
.link-line { position: absolute; height: 2px; transform-origin: left center; background: linear-gradient(90deg, var(--red), var(--accent), var(--green)); border-radius: 2px; opacity: 0.9; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.55); } 100% { box-shadow: 0 0 0 18px rgba(46, 204, 113, 0); } }
@keyframes pulse-red { 0% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.55); } 100% { box-shadow: 0 0 0 18px rgba(231, 76, 60, 0); } }
@keyframes float { 50% { transform: translateY(-10px); } }

.section { max-width: 1180px; margin: 0 auto; padding: 50px 22px; }
.section-head { text-align: center; margin-bottom: 34px; }
.section-head h2 { font-family: var(--mono); font-size: clamp(26px, 3.4vw, 36px); font-weight: 600; }
.section-head p { color: var(--text-2); margin-top: 10px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { padding: 22px; }
.feature .ficon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--accent-soft); color: var(--accent-hi); margin-bottom: 14px; }
.feature .ficon .icon { width: 22px; height: 22px; }
.feature h3 { font-size: 15.5px; margin-bottom: 6px; }
.feature p { color: var(--text-2); font-size: 13.5px; line-height: 1.6; }

.plans-teaser { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.cta-band { text-align: center; padding: 44px 22px; }
.cta-band h2 { font-family: var(--mono); font-size: clamp(24px, 3vw, 32px); margin-bottom: 10px; }
.cta-band p { color: var(--text-2); margin-bottom: 22px; }

/* legal */
.legal { max-width: 820px; margin: 0 auto; padding: 50px 22px 30px; }
.legal h1 { font-family: var(--mono); font-size: 34px; font-weight: 600; margin-bottom: 6px; }
.legal .updated { color: var(--text-3); margin-bottom: 30px; font-size: 13px; }
.legal .card { padding: 30px 32px; }
.legal h2 { font-size: 17px; margin: 26px 0 8px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--text-2); line-height: 1.7; font-size: 14.5px; }
.legal ul { padding-left: 20px; margin: 6px 0; }
.legal li { margin: 4px 0; }
.legal strong { color: var(--text); }

.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.notfound h1 { font-family: var(--mono); font-size: 72px; color: var(--accent-hi); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 50px; text-align: left; }
  .orb-wrap { max-width: 300px; }
  .globe-wrap { max-width: 340px; }
  .features { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .site-nav .nav-links { display: none; }
  .legal .card { padding: 22px; }
}
