/* ═══════════════════════════════════════════════════════════════════
   SkySignal — assets/css/style.css
   Editorial / broadcast aesthetic. Cream paper background, Fraunces
   display, DM Sans body, JetBrains Mono accents.
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --ink:        #0a1922;
  --ink-soft:   #2a3b46;
  --paper:      #f7f4ed;
  --paper-deep: #efe9dc;
  --card:       #ffffff;
  --signal:     #3f879d;
  --signal-deep:#2d6d80;
  --amber:      #c8854e;
  --mute:       #8a9ba3;
  --rule:       rgba(10, 25, 34, 0.10);
  --rule-soft:  rgba(10, 25, 34, 0.05);

  /*--font-display: 'Arial', Georgia, 'Times New Roman', serif;*/
  --font-display: 'Arial', serif;
  --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;

  --container:    1200px;
  --gap:          clamp(1rem, 2.5vw, 2rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  background-image: radial-gradient(circle at 12% 8%, rgba(63, 135, 157, 0.04), transparent 40%),
                    radial-gradient(circle at 88% 92%, rgba(200, 133, 78, 0.04), transparent 40%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--signal); text-decoration: none; }
a:hover { color: var(--signal-deep); }

h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

/* ── Mono labels ─────────────────────────────────────────────── */
.mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 1rem;
}
.meta--centered { text-align: center; }

/* ── Section heads ───────────────────────────────────────────── */
.section-head { max-width: 720px; margin-bottom: 3.5rem; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}
.section-title em { font-style: italic; color: var(--signal); }
.section-sub {
  font-size: 1.0625rem;
  color: var(--ink-soft);
  margin-top: 1rem;
  max-width: 60ch;
}

/* ── Header ──────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 237, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--rule);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 500;
}
.brand:hover { color: var(--ink); }
.brand__mark { width: 36px; height: 24px; color: var(--signal); flex-shrink: 0; }
.brand__name { font-size: 1.25rem; letter-spacing: -0.01em; }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
}
.site-nav a {
  color: var(--ink-soft);
  font-size: 0.9375rem;
  font-weight: 400;
  transition: color 0.15s;
}
.site-nav a:hover { color: var(--ink); }
.nav-cta {
  padding: 0.5rem 1rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink) !important;
  font-weight: 500;
  font-size: 0.875rem !important;
}
.nav-cta:hover { background: var(--ink); color: var(--paper) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.25s;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.625rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn--primary { background: var(--ink); color: var(--paper) !important; }
.btn--primary:hover { background: var(--signal-deep); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink) !important; border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper) !important; }
.btn--block { display: flex; width: 100%; }

/* ── Hero ────────────────────────────────────────────────────── */
.hero { padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 5rem); }
.hero__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5.25rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0 0 1.5rem;
}
.hero__headline em {
  font-style: italic;
  color: var(--signal);
  font-weight: 400;
}
.hero__sub {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 36rem;
  margin: 0 0 2.25rem;
}
.hero__cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.hero__trust {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--mute);
  font-size: 0.8125rem;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  display: inline-block;
}
.dot--live {
  background: #3f9d6a;
  box-shadow: 0 0 0 0 rgba(63, 157, 106, 0.55);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(63, 157, 106, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(63, 157, 106, 0); }
  100% { box-shadow: 0 0 0 0 rgba(63, 157, 106, 0); }
}

/* ── Hero signal visual ──────────────────────────────────────── */
.hero__visual { display: flex; justify-content: center; }
.signal { width: 100%; max-width: 420px; color: var(--signal); }
.signal__arcs circle {
  transform-origin: 200px 380px;
  animation: emit 4s ease-out infinite;
}
.signal__arcs circle:nth-child(1) { animation-delay: 0s; }
.signal__arcs circle:nth-child(2) { animation-delay: 0.4s; }
.signal__arcs circle:nth-child(3) { animation-delay: 0.8s; }
.signal__arcs circle:nth-child(4) { animation-delay: 1.2s; }
.signal__arcs circle:nth-child(5) { animation-delay: 1.6s; }
@keyframes emit {
  0%   { opacity: 0; r: 60; }
  30%  { opacity: 0.85; }
  100% { opacity: 0; }
}
.signal__label {
  font-family: var(--font-mono);
  font-size: 9px;
  fill: var(--mute);
  letter-spacing: 0.15em;
}

/* ── Manifesto ───────────────────────────────────────────────── */
.manifesto {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--paper-deep);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  text-align: center;
}
.manifesto__lede {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.015em;
  max-width: 48rem;
  margin: 1.25rem auto;
  color: var(--ink-soft);
}
.manifesto__lede--accent { color: var(--ink); }
.manifesto__lede em { font-style: italic; color: var(--signal); font-weight: 500; }

/* ── Features ────────────────────────────────────────────────── */
.features { padding: clamp(4rem, 8vw, 7rem) 0; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
}
.feature {
  background: var(--card);
  padding: 2rem 1.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 220px;
}
.feature__num {
  color: var(--mute);
  margin-bottom: 0.5rem;
}
.feature h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.01em;
}
.feature p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ── How it works (steps) ────────────────────────────────────── */
.how { padding: clamp(4rem, 8vw, 7rem) 0; background: var(--paper-deep); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0;
}
.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  padding: 1.875rem 0;
  border-top: 1px solid var(--rule);
  align-items: start;
}
.step:first-child { border-top: 0; }
.step__num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 400;
  font-style: italic;
  color: var(--signal);
  line-height: 1;
}
.step__body h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
}
.step__body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
  max-width: 55ch;
}

/* ── Pricing ─────────────────────────────────────────────────── */
.pricing { padding: clamp(4rem, 8vw, 7rem) 0; }
.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 4rem;
}
.tier {
  position: relative;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 1.875rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.tier--featured {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px -16px rgba(10, 25, 34, 0.4);
}
.tier--featured .meta { color: rgba(247, 244, 237, 0.55); }
.tier--featured .tier__features { color: rgba(247, 244, 237, 0.78); }
.tier--featured .tier__tokens { color: var(--paper); border-top-color: rgba(247, 244, 237, 0.15); }
.tier--featured .tier__features li::before { color: var(--amber); }
.tier--featured a.btn--primary { background: var(--paper); color: var(--ink) !important; }
.tier--featured a.btn--primary:hover { background: var(--signal); color: var(--paper) !important; }
.tier__ribbon {
  position: absolute;
  top: -10px;
  right: 1.5rem;
  background: var(--amber);
  color: var(--paper);
  padding: 0.25rem 0.625rem;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 500;
}
.tier__head { margin-bottom: 0.5rem; }
.tier h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.01em;
}
.tier__price {
  font-family: var(--font-display);
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin: 0.5rem 0;
}
.price__currency { font-size: 1.25rem; color: var(--mute); }
.price__amount { font-size: 2.75rem; font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.tier--featured .price__currency { color: rgba(247, 244, 237, 0.55); }
.price__unit { font-size: 0.8125rem; color: var(--mute); margin-left: 0.25rem; font-family: var(--font-body); }
.tier--featured .price__unit { color: rgba(247, 244, 237, 0.55); }
.tier__tokens {
  padding: 0.875rem 0;
  border-top: 1px solid var(--rule);
  font-size: 0.875rem;
  color: var(--ink-soft);
}
.tier__tokens strong { color: var(--ink); font-size: 1rem; }
.tier--featured .tier__tokens strong { color: var(--paper); }
.tier__features { list-style: none; padding: 0; margin: 0; flex: 1; color: var(--ink-soft); font-size: 0.9375rem; }
.tier__features li {
  padding: 0.375rem 0 0.375rem 1.25rem;
  position: relative;
}
.tier__features li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--signal);
  font-weight: 500;
}

/* ── Top-ups ─────────────────────────────────────────────────── */
.topups {
  padding: 2.5rem;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 14px;
}
.topups__head h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 500;
  margin: 0.5rem 0 0;
  letter-spacing: -0.01em;
}
.topups__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  margin-top: 1.5rem;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 10px;
  overflow: hidden;
}
.topup {
  background: var(--paper);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.topup .mono { color: var(--mute); }
.topup strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
}
.topup span:last-child {
  color: var(--signal);
  font-weight: 500;
  font-family: var(--font-mono);
  font-size: 0.875rem;
}

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq { padding: clamp(4rem, 8vw, 7rem) 0; background: var(--paper-deep); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.faq__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 0 2.5rem;
}
.qa {
  border-top: 1px solid var(--rule);
  padding: 1.25rem 0;
}
.qa[open] { padding-bottom: 1.5rem; }
.qa summary {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--ink);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--signal);
  font-weight: 400;
  transition: transform 0.25s;
}
.qa[open] summary::after { transform: rotate(45deg); }
.qa p {
  margin: 0.75rem 0 0;
  color: var(--ink-soft);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* ── Final CTA ───────────────────────────────────────────────── */
.cta-final {
  padding: clamp(5rem, 10vw, 8rem) 0;
  text-align: center;
}
.cta-final__headline {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 1rem 0;
}
.cta-final__sub {
  font-size: 1.125rem;
  color: var(--ink-soft);
  max-width: 36rem;
  margin: 0 auto 2.5rem;
}
.cta-final__buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 4rem 0 2rem;
}
.site-footer .brand { color: var(--paper); }
.site-footer .brand__mark { color: var(--signal); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(247, 244, 237, 0.1);
}
.footer__tag {
  color: rgba(247, 244, 237, 0.65);
  font-size: 0.9375rem;
  max-width: 28ch;
  margin: 1rem 0;
}
.footer__addr {
  color: rgba(247, 244, 237, 0.45);
  font-size: 10px !important;
  line-height: 1.7;
}
.footer__col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 244, 237, 0.5);
  font-weight: 400;
  margin: 0 0 1rem;
}
.footer__col a {
  display: block;
  color: var(--paper);
  font-size: 0.9375rem;
  padding: 0.25rem 0;
  text-decoration: none;
}
.footer__col a:hover { color: var(--signal); }
.footer__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  color: rgba(247, 244, 237, 0.45);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 880px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__visual { order: -1; max-height: 240px; }
  .signal { max-width: 240px; }

  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    padding: 1rem 1.5rem 1.5rem;
    gap: 0.25rem;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.625rem 0; border-bottom: 1px solid var(--rule-soft); }
  .nav-cta { margin-top: 0.5rem; text-align: center; }

  .feature-grid { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer__brand { grid-column: 1 / -1; }

  .tier--featured { transform: none; }
}

@media (max-width: 520px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bar { flex-direction: column; align-items: flex-start; }
  .step { grid-template-columns: 60px 1fr; gap: 1rem; }
}
