/* ============================================================
   Public surface — the LIGHT, trust-first marketing face.
   ============================================================ */

/* --- On-scroll reveal (subtle). JS adds .is-visible when in view. --- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s cubic-bezier(.2,.6,.2,1), transform .6s cubic-bezier(.2,.6,.2,1);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
/* Stagger children of a revealed row for a gentle cascade. */
.reveal-stagger > * { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .24s; }
/* Gentle continuous float for the hero preview card only. */
.float-soft { animation: floatSoft 6s ease-in-out infinite; }
@keyframes floatSoft { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Anyone who prefers reduced motion sees everything immediately, no motion. */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .float-soft { animation: none !important; }
}

.surface-light {
  background: var(--l-bg);
  color: var(--l-ink);
}

/* ---- Top nav ---- */
.pub-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--l-line);
}
.pub-nav .inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.pub-nav .links { display: flex; align-items: center; gap: 28px; }
.pub-nav .links a { color: var(--l-muted); font-weight: 500; font-size: .95rem; }
.pub-nav .links a:hover { color: var(--l-ink); }
.pub-nav .actions { display: flex; align-items: center; gap: 12px; }
.btn-ghost-light { background: transparent; color: var(--l-ink); border-color: var(--l-line); }
.btn-ghost-light:hover { border-color: var(--green); color: var(--green-dark); }
@media (max-width: 860px) { .pub-nav .links { display: none; } }

/* ---- Logo ---- */
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.22rem; letter-spacing: -.03em; color: var(--l-ink); }
.logo .mark { width: 34px; height: 34px; flex: 0 0 34px; }
.logo .accent { color: var(--green); }

/* ---- Hero ---- */
.hero { padding: 72px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.5rem); margin-bottom: .35em; }
.hero .lede { font-size: 1.18rem; color: var(--l-muted); max-width: 30ch; margin-bottom: 1.8em; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .reassure { margin-top: 1.5rem; color: var(--l-muted); font-size: .9rem; display: flex; align-items: center; gap: .5rem; }
.hero .reassure svg { color: var(--green); flex: 0 0 auto; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero .lede { max-width: none; }
}

/* Hero product preview card (the one bold element) */
.preview-card {
  background: var(--l-raised); border: 1px solid var(--l-line);
  border-radius: var(--radius-lg); box-shadow: var(--l-shadow);
  padding: 22px; position: relative; overflow: hidden;
}
.preview-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 100% 0%, rgba(14,159,110,.10), transparent 55%);
  pointer-events: none;
}
.preview-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.preview-head .tag { font-size: .78rem; font-weight: 600; color: var(--green-dark); background: color-mix(in srgb, var(--green) 12%, #fff); padding: 4px 10px; border-radius: 999px; }
.preview-row { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border: 1px solid var(--l-line); border-radius: var(--radius-sm); margin-bottom: 10px; background: #fff; }
.preview-row .ic { width: 36px; height: 36px; border-radius: 9px; background: var(--l-panel); display: grid; place-items: center; color: var(--green-dark); flex: 0 0 36px; }
.preview-row .meta { flex: 1; min-width: 0; }
.preview-row .meta .t { font-weight: 600; font-size: .95rem; }
.preview-row .meta .s { font-size: .82rem; color: var(--l-muted); }
.preview-code { margin-left: auto; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: .12em; color: var(--l-ink); }
.preview-code.live { color: var(--green-dark); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; margin-right: 6px; animation: pulse 1.4s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

/* ---- Trust bar ---- */
.trustbar { border-top: 1px solid var(--l-line); border-bottom: 1px solid var(--l-line); background: var(--l-panel); }
.trustbar .inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 26px 0; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-item svg { color: var(--green); flex: 0 0 auto; }
.trust-item .n { font-weight: 700; font-size: 1rem; }
.trust-item .d { font-size: .82rem; color: var(--l-muted); }
@media (max-width: 760px) { .trustbar .inner { grid-template-columns: repeat(2, 1fr); } }

/* ---- Section scaffolding ---- */
.section { padding: 72px 0; }
.section-head { max-width: 46ch; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); }
.section-head p { color: var(--l-muted); font-size: 1.05rem; }
.section-alt { background: var(--l-panel); }

/* How it works — a genuine sequence, so numbers are legitimate */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step .num { width: 42px; height: 42px; border-radius: 12px; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; margin-bottom: 16px; }
.step h3 { font-size: 1.15rem; }
.step p { color: var(--l-muted); font-size: .96rem; margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 28px; } }

/* What we offer — product cards */
.offer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.offer-card { background: var(--l-raised); border: 1px solid var(--l-line); border-radius: var(--radius); padding: 26px; box-shadow: var(--l-shadow); }
.offer-card .ic { width: 46px; height: 46px; border-radius: 12px; background: color-mix(in srgb, var(--green) 12%, #fff); color: var(--green-dark); display: grid; place-items: center; margin-bottom: 16px; }
.offer-card h3 { font-size: 1.15rem; margin-bottom: .3em; }
.offer-card p { color: var(--l-muted); font-size: .95rem; margin: 0; }
@media (max-width: 680px) { .offer-grid { grid-template-columns: 1fr; } }

/* Service/country chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip { border: 1px solid var(--l-line); background: #fff; border-radius: 999px; padding: 8px 16px; font-size: .9rem; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.chip .price { color: var(--green-dark); font-weight: 700; }

/* Supported-services marquee (names only, scrolls infinitely) */
.marquee {
  margin-top: 40px; overflow: hidden; position: relative;
  /* fade the left/right edges so chips slide in and out softly */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: inline-flex; gap: 14px; white-space: nowrap;
  will-change: transform; animation: marquee 34s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.svc-chip {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--l-line); background: #fff; border-radius: 999px;
  padding: 11px 20px; font-size: .95rem; font-weight: 600; color: var(--l-ink);
  box-shadow: 0 1px 2px rgba(15,27,20,.04);
}
.svc-glyph { color: var(--green); display: inline-flex; }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; white-space: normal; justify-content: center; }
}

/* Pricing tiers */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tier { background: var(--l-raised); border: 1px solid var(--l-line); border-radius: var(--radius); padding: 28px; box-shadow: var(--l-shadow); text-align: center; }
.tier.featured { border-color: var(--green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 14%, transparent), var(--l-shadow); }
.tier .amt { font-size: 2rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.tier .amt small { font-size: .9rem; color: var(--l-muted); font-weight: 500; }
.tier .label { color: var(--l-muted); margin: 6px 0 18px; }
@media (max-width: 760px) { .tiers { grid-template-columns: 1fr; } }

/* Why / trust features */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 40px; }
.why-item { display: flex; gap: 16px; }
.why-item .ic { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; background: color-mix(in srgb, var(--green) 12%, #fff); color: var(--green-dark); display: grid; place-items: center; }
.why-item h3 { font-size: 1.08rem; margin-bottom: .2em; }
.why-item p { color: var(--l-muted); font-size: .94rem; margin: 0; }
@media (max-width: 680px) { .why-grid { grid-template-columns: 1fr; } }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { background: var(--l-raised); border: 1px solid var(--l-line); border-radius: var(--radius); padding: 24px; box-shadow: var(--l-shadow); }
.quote p { font-size: .98rem; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.quote .av { width: 38px; height: 38px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 700; }
.quote .who .nm { font-weight: 600; font-size: .9rem; }
.quote .who .rl { font-size: .8rem; color: var(--l-muted); }
@media (max-width: 760px) { .quotes { grid-template-columns: 1fr; } }

/* FAQ accordion */
.faq { max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--l-line); }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 20px 0; font-size: 1.05rem; font-weight: 600; font-family: inherit; color: var(--l-ink); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q .sign { color: var(--green); font-size: 1.4rem; transition: transform .2s ease; flex: 0 0 auto; }
.faq-item.open .faq-q .sign { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; color: var(--l-muted); }
.faq-item.open .faq-a { max-height: 340px; }
.faq-a .inner-a { padding: 0 0 20px; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--green-dark), var(--green)); color: #fff; border-radius: var(--radius-lg); padding: 48px; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.cta-band p { color: rgba(255,255,255,.9); max-width: 48ch; margin: 0 auto 1.6em; }
.btn-on-green { background: #fff; color: var(--green-dark); }
.btn-on-green:hover { background: #f0fff8; }

/* Footer */
.pub-footer { border-top: 1px solid var(--l-line); background: var(--l-panel); padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.footer-grid h4 { font-size: .85rem; letter-spacing: .02em; color: var(--l-ink); margin-bottom: 14px; }
.footer-grid a, .footer-grid p { display: block; color: var(--l-muted); font-size: .9rem; margin-bottom: 9px; }
.footer-grid a:hover { color: var(--green-dark); }
.footer-bottom { border-top: 1px solid var(--l-line); padding-top: 24px; display: flex; justify-content: space-between; color: var(--l-muted); font-size: .85rem; flex-wrap: wrap; gap: 8px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* Legal pages */
.legal { max-width: 760px; padding: 56px 0; }
.legal h1 { font-size: 2rem; margin-bottom: .3em; }
.legal .updated { color: var(--l-muted); margin-bottom: 2em; }
.legal h2 { font-size: 1.2rem; margin-top: 1.6em; }
.legal p, .legal li { color: #334; }
.legal .note { background: color-mix(in srgb, var(--green) 7%, #fff); border: 1px solid var(--l-line); border-left: 3px solid var(--green); border-radius: 8px; padding: 14px 18px; margin: 1.4em 0; font-size: .92rem; color: var(--l-muted); }
