/* LinkedMetric — shared stylesheet */
:root {
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --bg-ink: #0e1130;
  --ink: #14162e;
  --ink-soft: #4a4d6a;
  --ink-mute: #767a97;
  --line: #e7e8f2;
  --brand: #4f46e5;
  --brand-2: #7c3aed;
  --brand-ink: #3730a3;
  --accent: #06b6d4;
  --ok: #10b981;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16,18,45,.04), 0 12px 32px -12px rgba(16,18,45,.14);
  --shadow-lg: 0 24px 60px -20px rgba(79,70,229,.35);
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.02em; color: var(--ink); margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; color: var(--ink-soft); }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-ink); }
img { max-width: 100%; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 650; letter-spacing: .04em; text-transform: uppercase;
  color: var(--brand); background: rgba(79,70,229,.08);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 20px;
}
.gradient-text {
  background: linear-gradient(100deg, var(--brand), var(--brand-2) 55%, var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: .98rem; padding: 13px 22px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; transition: .18s ease; white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(79,70,229,.6); }
.btn-primary:hover { background: var(--brand-ink); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #cdd0e6; color: var(--ink); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; font-size: 1.12rem; color: var(--ink); letter-spacing: -.02em; }
.brand:hover { color: var(--ink); }
.brand .mark { width: 30px; height: 30px; flex: none; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a.navlink { color: var(--ink-soft); font-weight: 550; font-size: .96rem; }
.nav-links a.navlink:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 84px 0 72px; }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto -10%; height: 620px; z-index: -1;
  background:
    radial-gradient(60% 60% at 20% 10%, rgba(79,70,229,.16), transparent 60%),
    radial-gradient(50% 50% at 85% 0%, rgba(6,182,212,.14), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero p.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 33ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-note { margin-top: 18px; font-size: .9rem; color: var(--ink-mute); display: flex; align-items: center; gap: 8px; }

/* Dashboard mock */
.mock {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg);
  padding: 18px; transform: perspective(1400px) rotateY(-7deg) rotateX(3deg); transform-origin: center;
}
.mock-top { display: flex; gap: 6px; margin-bottom: 14px; }
.mock-top span { width: 11px; height: 11px; border-radius: 50%; background: #e2e3ef; }
.mock-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 12px; }
.stat { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.stat .k { font-size: .72rem; color: var(--ink-mute); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.stat .v { font-size: 1.28rem; font-weight: 700; color: var(--ink); }
.stat .d { font-size: .74rem; font-weight: 600; }
.stat .d.up { color: var(--ok); }
.chart { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 128px; }
.bars i { flex: 1; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--brand), var(--brand-2)); display: block; }

/* Logos strip */
.logos { padding: 30px 0 6px; }
.logos p { text-align: center; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-mute); font-weight: 600; margin-bottom: 20px; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; color: var(--ink-soft);
  background: var(--bg-soft); border: 1px solid var(--line); padding: 9px 15px; border-radius: 999px;
}
.chip .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brand); flex: none; }

/* Sections */
section.block { padding: 80px 0; }
section.block.alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.section-head p { font-size: 1.08rem; }

/* Feature cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow); transition: .2s ease;
}
.card:hover { transform: translateY(-3px); border-color: #d9dbef; }
.card .ic {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(79,70,229,.12), rgba(124,58,237,.12)); color: var(--brand);
}
.card h3 { margin-bottom: 6px; }
.card p { margin: 0; font-size: .96rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.step .n {
  counter-increment: step; content: counter(step);
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-weight: 700;
  background: var(--brand); color: #fff; margin-bottom: 14px;
}
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; font-size: .96rem; }

/* Security band */
.secure { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.secure ul { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 14px; }
.secure li { display: flex; gap: 12px; align-items: flex-start; font-size: .98rem; color: var(--ink-soft); }
.secure li svg { flex: none; margin-top: 3px; color: var(--ok); }
.secure li strong { color: var(--ink); font-weight: 650; }
.panel {
  background: linear-gradient(160deg, var(--bg-ink), #1a1d44); color: #fff; border-radius: 20px; padding: 34px;
  box-shadow: var(--shadow-lg);
}
.panel h3 { color: #fff; }
.panel .badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); color: #dfe0ff; padding: 6px 12px; border-radius: 999px; font-size: .82rem; font-weight: 600; margin-bottom: 16px; }
.panel p { color: #b9bce6; }
.panel .kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; margin-top: 18px; font-size: .92rem; }
.panel .kv span:nth-child(odd) { color: #9498d6; }
.panel .kv span:nth-child(even) { color: #fff; font-weight: 600; text-align: right; }

/* CTA */
.cta {
  text-align: center; background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-radius: 24px; padding: 60px 32px; color: #fff; box-shadow: var(--shadow-lg);
}
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.85); max-width: 48ch; margin: 0 auto 26px; }
.cta .btn-primary { background: #fff; color: var(--brand-ink); }
.cta .btn-primary:hover { background: #f2f0ff; color: var(--brand-ink); }

/* Footer */
.site-footer { background: var(--bg-ink); color: #c7c9ea; padding: 56px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer .brand { color: #fff; }
.site-footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.site-footer a { color: #b9bce6; display: block; margin-bottom: 9px; font-size: .94rem; }
.site-footer a:hover { color: #fff; }
.site-footer .muted { color: #8f93c9; font-size: .92rem; max-width: 34ch; margin-top: 14px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: #8f93c9; font-size: .88rem; }

/* Legal (privacy/terms) pages */
.legal { padding: 56px 0 80px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.7rem); margin-bottom: 8px; }
.legal .updated { color: var(--ink-mute); font-size: .92rem; margin-bottom: 8px; }
.legal h2 { font-size: 1.35rem; margin-top: 40px; padding-top: 8px; }
.legal h3 { font-size: 1.05rem; margin-top: 26px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal .toc { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin: 26px 0 8px; }
.legal .toc a { display: block; margin-bottom: 6px; font-size: .95rem; }
.callout { background: rgba(79,70,229,.06); border: 1px solid rgba(79,70,229,.18); border-radius: var(--radius-sm); padding: 16px 18px; margin: 18px 0; font-size: .95rem; color: var(--ink-soft); }
.callout strong { color: var(--ink); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero p.lead { max-width: none; }
  .mock { transform: none; }
  .cards, .steps { grid-template-columns: 1fr; }
  .secure { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 48px; }
  section.block { padding: 56px 0; }
}
