/* Syncra Apps — shared design system */
:root {
  --bg: #0b1020;
  --bg-soft: #111831;
  --panel: #151d38;
  --panel-2: #101730;
  --line: #243156;
  --ink: #eef2ff;
  --muted: #9aa6c7;
  --brand: #4f7cff;
  --brand-2: #22d3a6;
  --warn: #ffb020;
  --danger: #ff5d6c;
  --radius: 14px;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: radial-gradient(1200px 600px at 70% -10%, #1a2550 0%, var(--bg) 55%) no-repeat, var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.mono { font-family: 'JetBrains Mono', monospace; }
.grad { background: linear-gradient(120deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Nav */
header {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(11,16,32,0.72);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.02em; font-size: 18px; }
.logo {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: grid; place-items: center; color: #06132a; font-weight: 800;
  box-shadow: 0 6px 20px rgba(79,124,255,0.35);
}
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 15px; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
@media (max-width: 820px){ .nav-links a:not(.btn){ display:none; } }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand); color: #fff; font-weight: 600;
  padding: 11px 18px; border-radius: 10px; font-size: 15px;
  border: 0; cursor: pointer; transition: transform .08s ease, box-shadow .2s ease, background .2s;
  box-shadow: 0 8px 22px rgba(79,124,255,0.35);
}
.btn:hover { transform: translateY(-1px); background: #5e86ff; }
.btn.ghost { background: transparent; box-shadow: none; border: 1px solid var(--line); color: var(--ink); }
.btn.ghost:hover { border-color: var(--brand); background: rgba(79,124,255,0.08); }

/* Hero */
.hero { padding: 92px 0 64px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--brand-2);
  background: rgba(34,211,166,0.08); border: 1px solid rgba(34,211,166,0.25);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(38px, 6vw, 62px); line-height: 1.02; letter-spacing: -0.035em; margin: 0 0 20px; font-weight: 800; max-width: 15ch; }
.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 56ch; margin: 0 0 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.reassure { color: var(--muted); font-size: 14px; margin-top: 16px; }

/* Page header (interior pages) */
.page-head { padding: 72px 0 24px; }
.page-head h1 { font-size: clamp(32px, 5vw, 48px); letter-spacing: -0.03em; margin: 0 0 14px; max-width: 20ch; }
.page-head p { color: var(--muted); font-size: 18px; max-width: 62ch; margin: 0; }

/* Stat strip */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.stat { background: linear-gradient(180deg, var(--panel), var(--bg-soft)); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.stat .big { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; }
.stat .big.now { color: var(--warn); }
.stat .big.soon { color: var(--danger); }
.stat .lbl { color: var(--muted); font-size: 14px; margin-top: 4px; }
@media (max-width: 720px){ .stats{ grid-template-columns: 1fr; } }

/* Sections */
section { padding: 64px 0; }
.sec-head { max-width: 62ch; margin-bottom: 36px; }
.sec-head h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -0.03em; margin: 0 0 12px; }
.sec-head p { color: var(--muted); font-size: 17px; margin: 0; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px){ .cards, .cards.three { grid-template-columns: repeat(2,1fr);} }
@media (max-width: 540px){ .cards, .cards.three { grid-template-columns: 1fr;} }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: border-color .2s, transform .1s; }
.card:hover { border-color: var(--brand); transform: translateY(-2px); }
.card .ico { width: 42px; height: 42px; border-radius: 10px; display:grid; place-items:center; margin-bottom: 14px; font-size: 20px; background: rgba(79,124,255,0.12); border:1px solid rgba(79,124,255,0.3); }
.card h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* Steps (how it works) */
.steps { display: grid; gap: 18px; counter-reset: step; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step .num { counter-increment: step; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 18px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #06132a; }
.step .num::before { content: counter(step); }
.step h3 { margin: 2px 0 6px; font-size: 19px; }
.step p { margin: 0; color: var(--muted); }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px){ .pricing{ grid-template-columns: 1fr; } }
.tier { background: linear-gradient(180deg, var(--panel), var(--bg-soft)); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; }
.tier.featured { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), 0 20px 50px rgba(79,124,255,0.18); }
.tier .tag { position:absolute; top:-11px; right:20px; background: var(--brand); color:#fff; font-size:12px; font-weight:600; padding:4px 10px; border-radius:999px; }
.tier h3 { margin: 0 0 6px; font-size: 19px; }
.tier .price { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; margin: 8px 0 4px; }
.tier .price span { font-size: 15px; font-weight: 500; color: var(--muted); }
.tier .desc { color: var(--muted); font-size: 15px; margin: 4px 0 0; }
.tier ul { list-style: none; padding: 0; margin: 18px 0 0; }
.tier li { color: var(--muted); font-size: 15px; padding: 8px 0 8px 26px; position: relative; border-top: 1px solid rgba(255,255,255,0.04); }
.tier li::before { content: "✓"; position:absolute; left:0; color: var(--brand-2); font-weight: 700; }
.tier .note { font-size: 13px; color: var(--muted); margin-top: 16px; }

/* Audit / forms */
.audit { background: linear-gradient(180deg, var(--bg-soft), var(--bg)); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.audit-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px){ .audit-grid{ grid-template-columns: 1fr; gap: 32px;} }
.check { list-style:none; padding:0; margin: 20px 0 0; }
.check li { padding: 6px 0 6px 28px; position: relative; color: var(--ink); }
.check li::before { content:"✓"; position:absolute; left:0; color: var(--brand-2); font-weight:700; }
form.card-form { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
label { display:block; font-size: 14px; font-weight: 600; margin: 14px 0 6px; }
label:first-child { margin-top: 0; }
input, textarea, select {
  width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; color: var(--ink); font-size: 15px; font-family: inherit;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(79,124,255,0.2); }
form.card-form .btn { width: 100%; justify-content: center; margin-top: 20px; font-size: 16px; padding: 13px; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 12px; text-align:center; }
.form-msg { margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-size: 14px; display:none; }
.form-msg.ok { display:block; background: rgba(34,211,166,0.1); border:1px solid rgba(34,211,166,0.35); color:#9bf0d6; }
.form-msg.err { display:block; background: rgba(255,93,108,0.1); border:1px solid rgba(255,93,108,0.35); color:#ffb3bb; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; display:flex; justify-content: space-between; align-items:center; gap: 16px; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 22px; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 0 0 18px; }

/* Prose (legal / about) */
.prose { max-width: 760px; }
.prose h2 { font-size: 22px; letter-spacing: -0.02em; margin: 34px 0 10px; }
.prose h3 { font-size: 18px; margin: 24px 0 8px; }
.prose p, .prose li { color: var(--muted); font-size: 16px; }
.prose ul { padding-left: 20px; }
.prose a { color: var(--brand); }
.prose .meta { font-size: 14px; color: var(--muted); }

/* CTA band */
.cta-band { background: linear-gradient(135deg, rgba(79,124,255,0.14), rgba(34,211,166,0.1)); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; text-align: center; margin: 24px 0; }
.cta-band h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.02em; margin: 0 0 10px; }
.cta-band p { color: var(--muted); margin: 0 0 22px; }

/* Footer */
footer.site { padding: 48px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; margin-top: 32px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 760px){ .foot-grid{ grid-template-columns: 1fr 1fr; gap: 24px; } }
.foot-grid h4 { color: var(--ink); font-size: 14px; margin: 0 0 12px; }
.foot-grid a { display:block; color: var(--muted); padding: 4px 0; }
.foot-grid a:hover { color: var(--ink); }
.foot-bottom { display:flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
