/*
  Shared chrome for synckro.com.

  The palette and the display face are the app's own, so the site and the
  product read as one thing. Page-specific layout stays in the page.
*/

:root {
  --ink: #0B0B0F;
  --surface: #16161D;
  --raised: #22222C;
  --accent: #7C5CFF;
  --muted: #8A8A99;
  --text: #d5d4de;
  --display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ink);
  color: #fff;
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- nav ---------- */

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
}

.wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.8px;
  text-decoration: none;
}

.nav-links { display: flex; gap: 26px; font-size: 15px; }
.nav-links a { color: var(--muted); text-decoration: none; transition: color .15s; }
.nav-links a:hover { color: #fff; }

/* Five links do not fit a phone on one line, so let them fall under the
   wordmark rather than squeezing until they touch. */
@media (max-width: 640px) {
  nav { flex-wrap: wrap; gap: 12px; }
  .nav-links { flex-wrap: wrap; gap: 16px; font-size: 14px; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 24px;
  border-radius: 13px;
  font-size: 15.5px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .12s, opacity .15s, background .15s;
}

.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { opacity: .9; }
.btn-ghost { background: var(--surface); border-color: var(--raised); color: #fff; }
.btn-ghost:hover { background: var(--raised); }
.btn-soon { background: transparent; border-color: var(--raised); color: var(--muted); cursor: default; }
.btn svg { width: 19px; height: 19px; flex: none; }

/* ---------- footer ---------- */

footer { padding: 44px 0 56px; border-top: 1px solid #191922; margin-top: 40px; }

.foot-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}

.foot-links { display: flex; gap: 24px; font-size: 14px; }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: #fff; }

.copy { color: #55545f; font-size: 13.5px; }

/* ---------- long-form pages ----------
   Narrow measure, because policy text nobody can read is the same as no
   policy at all. */

.doc { max-width: 720px; margin: 0 auto; padding: 40px 0 20px; }

.doc h1 {
  font-family: var(--display);
  font-size: clamp(34px, 6vw, 48px);
  letter-spacing: -1.6px;
  margin: 0 0 10px;
}

.doc .updated { color: var(--muted); font-size: 14px; margin: 0 0 40px; }

.doc h2 {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -0.5px;
  margin: 44px 0 14px;
}

.doc h3 {
  font-family: var(--display);
  font-size: 16.5px;
  letter-spacing: -0.2px;
  margin: 26px 0 8px;
}

.doc p, .doc li { color: var(--text); font-size: 16px; line-height: 1.72; }
.doc p { margin: 0 0 16px; }
.doc ul { margin: 0 0 16px; padding-left: 22px; }
.doc li { margin-bottom: 9px; }
.doc strong { color: #fff; }
.doc a { color: var(--accent); }

/* The plain-language summary that opens each policy. */
.callout {
  border: 1px solid var(--raised);
  border-radius: 18px;
  padding: 24px 26px;
  margin: 0 0 44px;
  background: linear-gradient(180deg, rgba(124,92,255,.12), rgba(124,92,255,.03));
}

.callout h2 { margin-top: 0; font-size: 18px; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }

/* ---------- panels ----------
   Used by the contact and support pages. */

.panels { display: grid; gap: 18px; margin: 8px 0 40px; }

.panel {
  background: var(--surface);
  border: 1px solid #1e1e28;
  border-radius: 20px;
  padding: 28px 26px;
}

.panel-head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px; flex-wrap: wrap;
}

.panel h2 {
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: -0.4px;
  margin: 0;
}

.soon {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .7px;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(124,92,255,.14);
  border-radius: 999px;
  padding: 5px 11px;
}

.panel p { color: var(--muted); font-size: 15px; line-height: 1.7; margin: 0 0 12px; }
.panel p:last-child { margin-bottom: 0; }
.panel ul { margin: 0 0 12px; padding-left: 20px; }
.panel li { color: var(--muted); font-size: 15px; line-height: 1.7; margin-bottom: 7px; }
.panel strong { color: var(--text); }

.panel.accent {
  border-color: rgba(124,92,255,.35);
  background: linear-gradient(180deg, rgba(124,92,255,.10), rgba(124,92,255,.02));
}
