/* Shared base for reynchr.com. Each page sets its own palette via these tokens. */
:root {
  --bg: #0B1020;
  --bg-2: #121833;
  --fg: #F3F4F8;
  --muted: #A5ACC0;
  --line: rgba(255,255,255,0.10);
  --card: rgba(255,255,255,0.04);
  --accent: #8B8CFF;
  --accent-2: #C084FC;
  --btn-fg: #0B1020;
  --radius: 14px;
  --max: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Inter, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font);
  font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.1; font-weight: 700; }
p { margin: 0; }
kbd {
  font-family: var(--font); font-size: 0.85em; padding: 1px 6px; border-radius: 5px;
  border: 1px solid var(--line); background: var(--card); color: var(--fg);
}
code { font-family: var(--mono); font-size: 0.9em; }
.container { width: min(var(--max), calc(100% - 2.5rem)); margin: 0 auto; }
.eyebrow {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
}
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom: 1px solid var(--line);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.nav .brand { font-weight: 700; text-decoration: none; letter-spacing: -0.01em; display: flex; align-items: center; gap: 0.55rem; }
.nav .brand .dot { width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.4rem; }
.nav ul a { text-decoration: none; color: var(--muted); font-size: 0.95rem; font-weight: 500; }
.nav ul a:hover, .nav ul a[aria-current="page"] { color: var(--fg); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.8rem 1.35rem; border-radius: 999px;
  font-weight: 600; text-decoration: none; font-size: 1rem; line-height: 1; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--btn-fg); box-shadow: 0 8px 24px -10px var(--accent); }
.btn-primary:hover { box-shadow: 0 12px 28px -10px var(--accent); }
.btn-ghost { border: 1px solid var(--line); color: var(--fg); background: var(--card); }
.btn-ghost:hover { background: color-mix(in srgb, var(--card) 60%, var(--fg) 8%); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-meta { display: block; margin-top: 0.6rem; font-size: 0.85rem; color: var(--muted); }

/* Sections */
section { padding: 5rem 0; }
.section-head { max-width: 640px; margin-bottom: 2.5rem; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-top: 0.6rem; }
.section-head p { margin-top: 0.9rem; color: var(--muted); font-size: 1.08rem; }

/* Cards and grids */
.grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem;
}
.card h3 { font-size: 1.08rem; margin-bottom: 0.45rem; display: flex; align-items: center; gap: 0.55rem; }
.card p { color: var(--muted); font-size: 0.98rem; }
.card .ico { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--btn-fg); }
.card .ico svg { width: 18px; height: 18px; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.step { position: relative; padding: 1.4rem 1.4rem 1.4rem 4rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.step::before {
  counter-increment: step; content: counter(step); position: absolute; left: 1.2rem; top: 1.3rem;
  width: 1.9rem; height: 1.9rem; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 0.9rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--btn-fg);
}
.step h3 { font-size: 1rem; margin-bottom: 0.3rem; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* Pills / facts */
.facts { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.6rem; }
.fact { font-size: 0.85rem; font-weight: 600; padding: 0.4rem 0.8rem; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--muted); }

/* Note box */
.note { border-left: 3px solid var(--accent); padding: 1rem 1.2rem; background: var(--card); border-radius: 0 var(--radius) var(--radius) 0; color: var(--muted); font-size: 0.97rem; }
.note strong { color: var(--fg); }
.note code { background: color-mix(in srgb, var(--fg) 8%, transparent); padding: 1px 5px; border-radius: 4px; }

/* Product hero (shared layout, palettes per page) */
.hero { padding: 5.5rem 0 4.5rem; position: relative; overflow: hidden; }
.hero .container { position: relative; display: grid; gap: 3rem; align-items: center; grid-template-columns: 1.15fr 0.85fr; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); margin-top: 0.8rem; }
.hero .lede { margin-top: 1.3rem; font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 560px; }
.hero .cta { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }
.hero .art { display: grid; place-items: center; }
.hero .art img, .hero .art svg { width: min(100%, 320px); height: auto; }
@media (max-width: 820px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero .art { order: -1; }
  .hero .art img, .hero .art svg { width: 180px; }
  section { padding: 3.5rem 0; }
  .nav ul { gap: 1rem; }
}

/* Footer */
footer { border-top: 1px solid var(--line); padding: 2.2rem 0; color: var(--muted); font-size: 0.9rem; }
footer .container { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--fg); }
footer ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.2rem; }
