/* SynccBoard marketing site — shared styles
   ───────────────────────────────────────────
   Single source of truth for typography, colors, layout primitives, nav,
   footer, buttons. Every page links this file so a brand tweak here ripples
   site-wide. Mirrors the iOS app's "classic" blue theme (#0A84FF). */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand:       #0A84FF;
  --brand-deep:  #0066D6;
  --brand-bg:    rgba(10,132,255,0.12);
  --brand-bdr:   rgba(10,132,255,0.28);
  --bg:          #07080C;
  --bg-2:        #0D0F16;
  --card:        #111421;
  --card-2:      #181B2A;
  --border:      rgba(255,255,255,0.08);
  --border-2:    rgba(255,255,255,0.04);
  --text:        #ECEEF6;
  --muted:       #8B92A8;
  --green:       #34D399;
  --amber:       #FBBF24;
  --red:         #F87171;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

/* ── Typography helpers ───────────────────────────────────────── */
.label {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brand);
}
.title {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.15;
}
.sub {
  font-size: 1rem; color: var(--muted); line-height: 1.75;
}
.grad {
  background: linear-gradient(135deg, var(--brand), #6FB6FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Nav ──────────────────────────────────────────────────────── */
nav.site {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  height: 64px; padding: 0 6%;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(7,8,12,.78);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.logo {
  font-size: 1.1rem; font-weight: 800; letter-spacing: -.03em;
  background: linear-gradient(135deg,#fff 40%, var(--brand));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  text-decoration: none;
}
.nav-links { list-style: none; display: flex; gap: 28px; align-items: center; }
.nav-links a {
  text-decoration: none; color: var(--muted);
  font-size: .88rem; font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--brand) !important;
  color: #fff !important;
  padding: 8px 18px; border-radius: 100px;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--brand-deep) !important; }
@media(max-width: 760px) { .nav-links { display: none; } }

/* ── Sections ─────────────────────────────────────────────────── */
.section { padding: 96px 6%; }
.section-center { text-align: center; }
.section-center .sub { max-width: 560px; margin: 12px auto 0; }
.gap-label  { margin-bottom: 12px; }
.gap-title  { margin-bottom: 14px; }
.gap-sub    { margin-bottom: 48px; }

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 100px;
  font-size: .95rem; font-weight: 700; text-decoration: none;
  transition: transform .2s, box-shadow .2s, background-color .2s, border-color .2s;
  border: 1px solid transparent;
}
.btn-fill { background: var(--brand); color: #fff; }
.btn-fill:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(10,132,255,.35); background: var(--brand-deep); }
.btn-ghost {
  border-color: var(--border); color: var(--text);
  background: rgba(255,255,255,.03);
}
.btn-ghost:hover { border-color: var(--brand); background: var(--brand-bg); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Footer (used on every page) ──────────────────────────────── */
footer.site {
  border-top: 1px solid var(--border);
  padding: 48px 6% 28px;
  background: var(--bg-2);
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px;
}
.footer-col h4 {
  font-size: .78rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--text);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col a {
  color: var(--muted); text-decoration: none; font-size: .88rem;
  transition: color .15s;
}
.footer-col a:hover { color: var(--text); }
.footer-brand p {
  font-size: .86rem; color: var(--muted); margin-top: 12px; line-height: 1.6;
  max-width: 320px;
}
.footer-bottom {
  max-width: 1200px; margin: 36px auto 0;
  padding-top: 22px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  font-size: .8rem; color: var(--muted);
}
.footer-bottom a { color: var(--muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--text); }
@media(max-width: 820px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: span 2; }
}
@media(max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
}

/* ── Legal / long-form page layout (used by privacy, terms, refund) ── */
.legal-page {
  padding: 140px 6% 80px;
  background:
    radial-gradient(ellipse 60% 35% at 50% 0%, rgba(10,132,255,.10) 0%, transparent 70%);
  min-height: 100vh;
}
.legal-shell {
  max-width: 820px; margin: 0 auto;
}
.legal-shell h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.15;
  margin-bottom: 14px;
}
.legal-shell .meta {
  color: var(--muted); font-size: .92rem; margin-bottom: 40px;
  padding-bottom: 18px; border-bottom: 1px solid var(--border);
}
.legal-shell h2 {
  font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em;
  margin: 38px 0 12px;
}
.legal-shell h3 {
  font-size: 1.05rem; font-weight: 700;
  margin: 24px 0 8px;
}
.legal-shell p, .legal-shell li {
  font-size: .98rem; line-height: 1.75; color: #C5CBDB;
}
.legal-shell p { margin-bottom: 14px; }
.legal-shell ul, .legal-shell ol {
  padding-left: 22px; margin-bottom: 14px;
}
.legal-shell li { margin-bottom: 6px; }
.legal-shell strong { color: var(--text); }
.legal-shell a { color: var(--brand); text-decoration: none; }
.legal-shell a:hover { text-decoration: underline; }
.legal-shell .callout {
  background: var(--brand-bg); border: 1px solid var(--brand-bdr);
  border-radius: 14px; padding: 18px 22px; margin: 18px 0;
}
.legal-shell .callout p { margin-bottom: 0; }
.legal-shell table {
  width: 100%; border-collapse: collapse; margin: 18px 0;
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
}
.legal-shell th, .legal-shell td {
  padding: 11px 14px; text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
}
.legal-shell th { background: var(--card); font-weight: 700; }
.legal-shell tr:last-child td { border-bottom: none; }
