/* FirmCheck — shared brand styles */
:root {
  --indigo: #4f46e5;
  --indigo-dark: #4338ca;
  --indigo-darker: #3730a3;
  --blue: #2563eb;
  --ink: #0f172a;
  --slate: #475569;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --ok: #059669;
  --warn: #d97706;
  --err: #dc2626;
  --radius: 14px;
  --shadow: 0 1px 3px rgba(15,23,42,.06), 0 8px 24px rgba(15,23,42,.06);
  --shadow-lg: 0 20px 50px rgba(15,23,42,.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--indigo); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, #6366f1, var(--indigo-dark));
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.brand-mark svg { width: 19px; height: 19px; }
.brand-tld { color: var(--indigo); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--slate); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px; font-weight: 600; font-size: 15px;
  border: none; cursor: pointer; transition: transform .05s, box-shadow .15s, background .15s;
}
.btn-primary { background: var(--indigo); color: #fff; }
.btn-primary:hover { background: var(--indigo-dark); text-decoration: none; box-shadow: 0 8px 20px rgba(79,70,229,.3); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: #cbd5e1; text-decoration: none; }
.btn:active { transform: translateY(1px); }

/* Hero */
.hero { padding: 88px 0 72px; text-align: center; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(1000px 500px at 50% -10%, rgba(99,102,241,.12), transparent 70%);
}
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .5px;
  text-transform: uppercase; color: var(--indigo);
  background: #eef2ff; border: 1px solid #e0e7ff; padding: 6px 14px; border-radius: 100px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 800; line-height: 1.08; letter-spacing: -1.5px; }
.hero h1 .grad {
  background: linear-gradient(135deg, var(--indigo), var(--blue));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p.lead { font-size: clamp(17px, 2.2vw, 21px); color: var(--slate); max-width: 620px; margin: 20px auto 0; }
.hero-cta { display: flex; gap: 14px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.hero-note { margin-top: 20px; font-size: 14px; color: var(--muted); }

/* Section */
.section { padding: 64px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(26px, 3.5vw, 36px); font-weight: 800; letter-spacing: -.8px; }
.section-head p { color: var(--slate); font-size: 17px; margin-top: 12px; }

/* Tool cards */
.tools { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.tool-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s;
  display: flex; flex-direction: column;
}
.tool-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.tool-ico { width: 52px; height: 52px; border-radius: 13px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.tool-ico svg { width: 28px; height: 28px; }
.tool-ico.vat { background: linear-gradient(135deg, #3b82f6, #1e40af); }
.tool-ico.krs { background: linear-gradient(135deg, #6366f1, var(--indigo-dark)); }
.tool-card h3 { font-size: 21px; font-weight: 700; }
.tool-card p { color: var(--slate); font-size: 15px; margin: 8px 0 18px; flex-grow: 1; }
.tool-card .tool-links { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.tool-card .tool-links a { font-weight: 600; font-size: 15px; }
.chip { font-size: 12px; color: var(--muted); background: var(--bg); border: 1px solid var(--line); padding: 4px 10px; border-radius: 100px; }

/* Feature row */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature { text-align: center; }
.feature .f-ico {
  width: 48px; height: 48px; margin: 0 auto 14px; border-radius: 12px;
  background: #eef2ff; color: var(--indigo); display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.feature h4 { font-size: 17px; font-weight: 700; }
.feature p { color: var(--slate); font-size: 15px; margin-top: 6px; }

/* Footer */
.footer { border-top: 1px solid var(--line); background: #fff; padding: 40px 0; margin-top: 40px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer .brand { font-size: 16px; }
.footer-meta { color: var(--muted); font-size: 14px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--slate); font-size: 14px; }

@media (max-width: 760px) {
  .nav-links { gap: 16px; }
  .nav-links .nav-hide { display: none; }
  .tools, .features { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 48px; }
}
