/* chrome.css — the site header, footer, buttons and language toggle.
 *
 * Moved verbatim out of landing.css so EVERY page can wear the same chrome,
 * including the ones built on auth.css (which defines none of these classes).
 * Both stylesheets declare the same custom properties, so this file works on
 * top of either. Edit the header/footer look HERE, nowhere else.
 */

/* ── buttons ─────────────────────────────────────────── */
.btn{display:inline-flex;align-items:center;gap:8px;justify-content:center;font-weight:700;
  border-radius:999px;padding:12px 22px;font-size:15px;cursor:pointer;transition:.18s;border:1px solid transparent;white-space:nowrap}
.btn.sm{padding:8px 16px;font-size:13.5px}
.btn.lg{padding:15px 30px;font-size:16px}
.btn.block{width:100%;margin-top:auto}
.btn.primary{background:linear-gradient(180deg,var(--accent),#1668c6);color:#fff;box-shadow:0 8px 22px rgba(31,122,224,.34)}
.btn.primary:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(31,122,224,.44)}
.btn.ghost{background:rgba(255,255,255,.08);color:inherit;border-color:currentColor;opacity:.85}
.btn.ghost:hover{background:rgba(255,255,255,.16);opacity:1}
.nav.scrolled .btn.ghost:hover{background:rgba(31,122,224,.09)}

/* ── nav ─────────────────────────────────────────────── */
.nav{position:fixed;top:0;left:0;right:0;z-index:50;display:flex;align-items:center;gap:24px;
  padding:14px 30px;padding-top:calc(14px + env(safe-area-inset-top));
  background:rgba(6,14,30,.55);backdrop-filter:blur(16px);border-bottom:1px solid rgba(255,255,255,.08);
  transition:.3s;color:#fff}
/* The ghost button inherits this colour — without it, it fell back to the body's
   dark ink and vanished against the dark bar. */
.nav.scrolled{background:rgba(255,255,255,.9);border-bottom-color:var(--line);color:var(--ink2)}
.nav.scrolled .nav-links a,.nav.scrolled .brand,.nav.scrolled .lang-toggle a{color:var(--ink2)}
.nav.scrolled .btn.ghost{color:var(--ink2)}
.brand{display:flex;align-items:center;gap:8px;font-size:19px;color:#fff}
.brand .logo{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;font-size:16px;
  background:linear-gradient(135deg,var(--accent),var(--accent2));color:#fff;box-shadow:0 4px 12px rgba(31,122,224,.4)}
.brand strong{font-weight:800;letter-spacing:-.02em}
.nav-links{display:flex;gap:26px;margin-left:8px;flex:1}
.nav-links a{color:rgba(255,255,255,.82);font-size:14.5px;font-weight:600;transition:.15s}
.nav-links a:hover{color:#fff}
.nav-actions{display:flex;align-items:center;gap:12px}
.lang-toggle{display:flex;gap:2px;background:rgba(255,255,255,.1);border-radius:999px;padding:3px}
.lang-toggle a{font-size:12px;font-weight:700;color:rgba(255,255,255,.7);padding:4px 10px;border-radius:999px}
.lang-toggle a.on{background:#fff;color:var(--ink)}
.nav-burger{display:none;background:none;border:0;color:#fff;font-size:22px;cursor:pointer;padding:2px 4px;line-height:1}
.nav.scrolled .nav-burger{color:var(--ink)}   /* stay visible once the bar turns white */
.nav-cta{display:none}                          /* desktop uses .nav-actions; this is the mobile menu CTA */

/* ── hero ────────────────────────────────────────────── */
.hero{position:relative;min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;
  padding:120px 24px 70px;text-align:center;color:#fff;overflow:hidden;
  background:linear-gradient(180deg,var(--sky1) 0%,var(--sky2) 46%,var(--sky3) 100%)}
.hero-cta .btn.ghost{color:#fff}
.final .btn{position:relative}

/* footer */
.foot{background:#050b1a;color:rgba(255,255,255,.7);padding:64px 24px 30px}
.foot-top{max-width:1120px;margin:0 auto;display:grid;grid-template-columns:1.4fr 3fr;gap:40px}
.foot-brand .brand{color:#fff;margin-bottom:12px}
.foot-brand p{font-size:14px;color:rgba(255,255,255,.55);max-width:240px}
.foot-cols{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.foot-cols h4{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:rgba(255,255,255,.45);margin-bottom:14px;font-weight:700}
.foot-cols a{display:block;font-size:14px;color:rgba(255,255,255,.72);padding:5px 0;transition:.15s}
.foot-cols a:hover{color:#fff}
.foot-disc{max-width:1120px;margin:44px auto 0;padding-top:24px;border-top:1px solid rgba(255,255,255,.1);
  font-size:12.5px;color:rgba(255,255,255,.5);line-height:1.6}
.foot-bot{max-width:1120px;margin:20px auto 0;display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;
  font-size:13px;color:rgba(255,255,255,.5)}
@media(max-width:520px){
  .nav{padding:12px 18px}
  .nav-actions .btn.ghost{display:none}
}
