/* Synchro — synchro-tech.com
   Dark chrome by design: the product screenshots are light, so they read as
   the brightest thing on the page rather than competing with it. */

:root {
  --bg:        #0a0e13;
  --surface:   #111823;
  --surface-2: #161f2c;
  --border:    #222d3d;
  --border-lit:#33485f;
  --text:      #e8eef4;
  --muted:     #8b9aab;
  --accent:    #38d9c8;
  --accent-dim:#1c8f83;
  --radius:    14px;
  --wrap:      1140px;
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
p { margin: 0 0 1rem; }
a { color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.muted { color: var(--muted); }

.skip {
  position: absolute; left: -9999px;
  background: var(--accent); color: #05221f; padding: 10px 16px; border-radius: 8px;
}
.skip:focus { left: 16px; top: 16px; z-index: 100; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 64px; }

.brand {
  display: inline-flex; align-items: center;
  text-decoration: none; color: var(--text);
  opacity: .95; transition: opacity .15s;
}
.brand:hover { opacity: 1; }
/* The supplied wordmark is white on transparent, which is why the site's
   dark chrome suits it without any filtering. */
/* Sized to the Live demo button beside it: 8px padding top and bottom, a
   0.88rem line box and 1px borders come to roughly 42px. The wordmark fills
   96% of its canvas, so image height and visible height are the same thing. */
.brand-logo { height: 42px; width: auto; display: block; }
.site-footer .brand-logo { height: 42px; }

.nav { display: flex; gap: 26px; margin-left: auto; font-size: 0.94rem; }
.nav a { color: var(--muted); text-decoration: none; transition: color .15s; }
.nav a:hover { color: var(--text); }

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

.btn {
  display: inline-block; padding: 11px 22px; border-radius: 10px;
  background: var(--accent); color: #05221f;
  font-weight: 600; font-size: 0.95rem; text-decoration: none;
  border: 1px solid transparent;
  transition: transform .15s, background .15s;
}
.btn:hover { background: #4fe8d7; transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--text); border-color: var(--border-lit);
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--accent-dim); }
.btn-sm { padding: 8px 16px; font-size: 0.88rem; }
.nav + .btn-sm { flex: none; }

/* ---------- hero ---------- */

.hero {
  position: relative; overflow: hidden;
  padding: clamp(50px, 8.4vw, 92px) 0 clamp(56px, 8vw, 88px);
}
.hero::before {
  content: ""; position: absolute; inset: -40% 0 auto 50%;
  width: 900px; height: 700px; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(56,217,200,.13), transparent 62%);
  pointer-events: none;
}
.hero .wrap { position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 20px;
}
.pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 rgba(56,217,200,.6); animation: pulse 2s infinite;
}
@keyframes pulse {
  70%  { box-shadow: 0 0 0 9px rgba(56,217,200,0); }
  100% { box-shadow: 0 0 0 0 rgba(56,217,200,0); }
}

.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.2rem);
  font-weight: 680; margin-bottom: 20px;
}
.lede { font-size: clamp(1.05rem, 2vw, 1.22rem); color: var(--muted); max-width: 62ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 0; }

.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px; margin: clamp(48px, 7vw, 72px) 0 0;
  background: var(--border); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden;
}
.stats > div { background: var(--surface); padding: 24px 26px; }
.stats dt {
  font-size: 0.78rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 10px;
}
.stats dd {
  margin: 0; font-family: var(--mono); font-size: clamp(1.7rem, 3.4vw, 2.15rem);
  font-weight: 600; color: var(--accent); line-height: 1.1;
}
.stats dd span {
  display: block; font-family: var(--font); font-size: 0.86rem;
  font-weight: 400; color: var(--muted); margin-top: 7px; letter-spacing: 0;
}

/* ---------- sections ---------- */

.section { padding: clamp(64px, 9vw, 104px) 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--border); }
.section-title { font-size: clamp(1.7rem, 3.6vw, 2.35rem); font-weight: 660; margin-bottom: 14px; }
.section-lede { color: var(--muted); max-width: 66ch; font-size: 1.04rem; margin-bottom: 44px; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }

.card {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: border-color .18s, transform .18s;
}
.section-alt .card { background: var(--bg); }
.card:hover { border-color: var(--border-lit); }
.card h3 { font-size: 1.16rem; margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; }
.card p + p { margin-top: .9rem; }
.card-lg { padding: 32px; }

.kicker {
  font-family: var(--mono); font-size: 0.76rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 10px !important;
}
.fields { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px !important; }
.fields span {
  font-family: var(--mono); font-size: 0.76rem; color: var(--text);
  background: var(--surface); border: 1px solid var(--border);
  padding: 4px 9px; border-radius: 6px;
}
.section-alt .fields span { background: var(--surface-2); }

.questions {
  list-style: none; padding: 0; margin: 40px 0 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px;
}
.questions li {
  position: relative; padding-left: 26px; color: var(--muted); font-size: 0.97rem;
}
.questions li::before {
  content: "›"; position: absolute; left: 8px; top: -1px;
  color: var(--accent); font-size: 1.15rem; line-height: 1.5;
}

/* ---------- architecture ---------- */

.arch { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 44px; align-items: start; }
.arch-copy p { color: var(--muted); }
.arch-copy strong { color: var(--text); font-weight: 620; }

.arch-flow { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.arch-flow li {
  counter-increment: step; position: relative;
  padding: 0 0 26px 52px; border-left: 1px solid var(--border); margin-left: 15px;
}
.arch-flow li:last-child { border-left-color: transparent; padding-bottom: 0; }
.arch-flow li::before {
  content: counter(step); position: absolute; left: -15px; top: -2px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--accent-dim); color: var(--accent);
  font-family: var(--mono); font-size: 0.82rem;
  display: grid; place-items: center;
}
.section-alt .arch-flow li::before { background: var(--surface); }
.arch-step { display: block; font-weight: 600; margin-bottom: 3px; }
.arch-desc { display: block; color: var(--muted); font-size: 0.93rem; }

/* ---------- downloads ---------- */

.card-dl h3 { margin-bottom: 6px; }
.card-dl .muted { font-size: 0.9rem; margin-bottom: 18px; }

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

.site-footer { border-top: 1px solid var(--border); background: var(--surface); }
.footer-inner {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 36px; padding: 56px 24px 40px;
}
.footer-inner .brand { margin-bottom: 12px; }
.footer-inner p { margin: 0; font-size: 0.95rem; }
.footer-contact h3 { font-size: 1rem; margin-bottom: 8px; }
.footer-contact a { color: var(--accent); text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-base { border-top: 1px solid var(--border); padding: 20px 24px 28px; }
.footer-base p { margin: 0; font-size: 0.87rem; }

@media (max-width: 760px) {
  .nav { display: none; }
  .header-inner { gap: 16px; }
  .brand { margin-right: auto; }
}


/* ---------- documentation list ---------- */

.sub-title {
  font-size: 1.28rem; font-weight: 640; margin: 0 0 14px;
  padding-top: 4px;
}
.section .sub-title + .section-lede { margin-bottom: 26px; }
#downloads .grid + .sub-title { margin-top: 56px; }

.docs { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.docs a {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 20px;
  padding: 17px 22px; text-decoration: none;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color .16s, background .16s, transform .16s;
}
.docs a:hover {
  border-color: var(--accent-dim); background: var(--surface);
  transform: translateX(3px);
}
.doc-name { font-weight: 590; }
.doc-meta { display: flex; align-items: baseline; gap: 14px; }
.doc-ver {
  font-family: var(--mono); font-size: 0.8rem; color: var(--accent);
  background: rgba(56,217,200,.08); border: 1px solid rgba(56,217,200,.22);
  padding: 3px 9px; border-radius: 6px;
}
.doc-size { color: var(--muted); font-size: 0.86rem; white-space: nowrap; }
.doc-arrow {
  color: var(--accent); font-size: 1.15rem; opacity: .6;
  transition: opacity .16s, transform .16s;
}
.docs a:hover .doc-arrow { opacity: 1; transform: translateY(2px); }

@media (max-width: 620px) {
  .docs a { grid-template-columns: 1fr auto; row-gap: 8px; }
  .doc-meta { grid-column: 1 / -1; }
}
