/* ============================================================
   Datacrecy — no-reply-datacrecy.tech
   Shared stylesheet (landing + legal pages)
   Font: Inter (loaded in each HTML <head>)
   ============================================================ */

/* ----- Design tokens ----- */
:root{
  --blue:#2563eb;
  --indigo:#4f46e5;
  --ink:#111827;
  --body:#374151;
  --muted:#6b7280;
  --line:#e5e7eb;
  --bg:#ffffff;
  --bg-soft:#f9fafb;
  --tint:#eff6ff;
  --radius:12px;
}

/* ----- Base / reset ----- */
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  color:var(--ink);
  background:var(--bg);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
a{color:inherit}
.wrap{max-width:1100px;margin:0 auto;padding:0 24px}

/* ----- Header ----- */
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.header-inner{max-width:1100px;margin:0 auto;padding:0 24px;height:64px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.logo{display:flex;align-items:center;gap:10px;font-weight:800;font-size:17px;letter-spacing:-.02em;text-decoration:none}
.logo-img{height:28px !important;max-height:28px !important;width:auto;display:block;object-fit:contain;flex:none}
.logo-mark{width:28px;height:28px;border-radius:8px;background:linear-gradient(135deg,var(--blue),var(--indigo));display:grid;place-items:center;color:#fff;font-weight:800;font-size:15px;flex:none}
.nav{display:flex;align-items:center;gap:26px}
.nav a{color:var(--body);text-decoration:none;font-size:14px;font-weight:500}
.nav a:hover{color:var(--blue)}

/* ----- Buttons ----- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:600;font-size:14px;border-radius:8px;padding:10px 18px;text-decoration:none;border:1px solid transparent;cursor:pointer;white-space:nowrap;transition:filter .15s ease,border-color .15s ease,background .15s ease}
.btn-primary, .nav a.btn-primary{background:linear-gradient(90deg,var(--blue),var(--indigo));color:#ffffff !important;box-shadow:0 1px 2px rgba(17,24,39,.08)}
.btn-primary:hover, .nav a.btn-primary:hover{filter:brightness(1.06);color:#ffffff !important}
.btn-secondary{background:#fff;color:var(--ink);border-color:var(--line)}
.btn-secondary:hover{border-color:#d1d5db;background:var(--bg-soft)}
.btn-lg{padding:13px 24px;font-size:15px}

/* ----- Hero ----- */
.hero{padding:76px 24px 60px;text-align:center;display:flex;justify-content:center}
.hero-inner{max-width:840px;width:100%;margin:0 auto;display:flex;flex-direction:column;align-items:center;text-align:center}
.badge{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:500;color:#1d4ed8;background:var(--tint);border:1px solid #bfdbfe;border-radius:999px;padding:6px 14px;margin-bottom:26px}
.badge .dot{width:6px;height:6px;border-radius:50%;background:var(--blue)}
.hero h1{font-size:54px;line-height:1.06;font-weight:800;letter-spacing:-.03em;margin-bottom:20px;text-align:center}
.grad{background:linear-gradient(90deg,var(--blue),var(--indigo));-webkit-background-clip:text;background-clip:text;color:transparent}
.hero .lead{font-size:18px;color:var(--muted);max-width:660px;margin:0 auto 34px;text-align:center}
.cta-row{display:flex;gap:12px;justify-content:center;align-items:center;flex-wrap:wrap}
.trust{font-size:13px;color:var(--muted);margin-top:18px;text-align:center}

/* ----- Stats ----- */
.stats{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--bg-soft)}
.stats-inner{max-width:1100px;margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr);gap:24px;padding:42px 24px;text-align:center}
.stat{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.stat .num{font-size:34px;font-weight:800;letter-spacing:-.02em;line-height:1.1}
.stat .label{font-size:14px;color:var(--muted);margin-top:4px}

/* ----- Sections ----- */
.section{padding:84px 24px}
.section-head{text-align:center;max-width:660px;margin:0 auto 52px;display:flex;flex-direction:column;align-items:center}
.section-head h2{font-size:34px;font-weight:800;letter-spacing:-.02em;margin-bottom:12px}
.section-head p{color:var(--muted);font-size:16px}

/* ----- Feature cards ----- */
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.card{border:1px solid var(--line);border-radius:var(--radius);padding:26px;background:#fff}
.card .icon{width:42px;height:42px;border-radius:10px;display:grid;place-items:center;margin-bottom:18px;background:var(--tint);color:var(--blue)}
.card .icon svg{width:20px;height:20px}
.card h3{font-size:16px;font-weight:700;margin-bottom:8px}
.card p{font-size:14px;color:var(--muted);line-height:1.55}

/* ----- How it works ----- */
.how{background:var(--bg-soft);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.step{border:1px solid var(--line);border-radius:var(--radius);padding:28px;background:#fff}
.step .n{width:34px;height:34px;border-radius:999px;background:linear-gradient(135deg,var(--blue),var(--indigo));color:#fff;font-weight:700;font-size:15px;display:grid;place-items:center;margin-bottom:18px}
.step h3{font-size:16px;font-weight:700;margin-bottom:8px}
.step p{font-size:14px;color:var(--muted);line-height:1.55}

/* ----- FAQ ----- */
.faq{max-width:760px;margin:0 auto}
.faq details{border:1px solid var(--line);border-radius:10px;margin-bottom:12px;background:#fff;overflow:hidden}
.faq summary{list-style:none;cursor:pointer;padding:18px 22px;font-weight:600;font-size:15px;display:flex;justify-content:space-between;align-items:center;text-align:left}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-size:20px;color:var(--muted);font-weight:400;transition:transform .15s ease}
.faq details[open] summary::after{transform:rotate(45deg)}
.faq .a{padding:0 22px 18px;color:var(--muted);font-size:14px;line-height:1.6}

/* ----- CTA band ----- */
.cta-band{padding:80px 24px;text-align:center;display:flex;justify-content:center}
.cta-band .wrap{display:flex;flex-direction:column;align-items:center;text-align:center}
.cta-band h2{font-size:34px;font-weight:800;letter-spacing:-.02em;margin-bottom:12px}
.cta-band p{color:var(--muted);margin-bottom:28px;max-width:540px}

/* ----- Footer ----- */
.site-footer{border-top:1px solid var(--line);background:var(--bg-soft)}
.footer-inner{max-width:1100px;margin:0 auto;padding:56px 24px 40px;display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:32px;align-items:start}
.footer-inner h4{font-size:13px;font-weight:600;color:var(--ink);margin-bottom:14px;text-transform:uppercase;letter-spacing:.04em}
.footer-inner a{display:block;font-size:14px;color:var(--muted);text-decoration:none;margin-bottom:10px}
.footer-inner a:hover{color:var(--blue)}
.footer-brand{display:flex;flex-direction:column;align-items:flex-start}
.footer-brand .logo{margin-bottom:12px}
.footer-brand p{font-size:14px;color:var(--muted);max-width:280px;margin-bottom:14px}
.copyright{border-top:1px solid var(--line);padding:20px 24px;text-align:center;font-size:13px;color:var(--muted)}

/* ----- Legal pages (body.legal) ----- */
.legal main{max-width:820px;margin:0 auto;padding:64px 24px 80px}
.legal h1{font-size:38px;font-weight:800;letter-spacing:-.02em;margin-bottom:8px}
.legal .updated{color:var(--muted);font-size:14px;margin-bottom:34px;padding-bottom:16px;border-bottom:1px solid var(--line)}
.legal h2{font-size:22px;font-weight:700;margin:36px 0 12px;scroll-margin-top:80px}
.legal p,.legal li{font-size:15px;color:var(--body);margin-bottom:14px;line-height:1.65}
.legal ul,.legal ol{margin:0 0 20px 24px}
.legal strong{color:var(--ink)}

/* ----- Responsive ----- */
@media (max-width:860px){
  .grid,.steps{grid-template-columns:1fr 1fr}
  .footer-inner{grid-template-columns:1fr 1fr}
  .hero h1{font-size:42px}
}
@media (max-width:560px){
  .hero h1{font-size:34px}
  .hero .lead{font-size:16px}
  .grid,.steps{grid-template-columns:1fr}
  .stats-inner{grid-template-columns:1fr 1fr}
  .footer-inner{grid-template-columns:1fr}
  .nav a.hide-m{display:none}
  .section{padding:56px 16px}
  .legal h1{font-size:30px}
  .legal main{padding:44px 20px 60px}
}
