/* Spurro — strona publiczna. Brand: granat→niebieski (#1e3a8a→#2563eb), biel, akcent niebieski. */
:root {
  --brand-900: #1e3a8a;
  --brand-700: #1d4ed8;
  --brand-600: #2563eb;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --radius: 16px;
  --max: 1080px;
  --font:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif,
    'Apple Color Emoji', 'Segoe UI Emoji';
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--brand-700);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
h1,
h2,
h3,
h4 {
  line-height: 1.2;
  color: var(--ink);
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 0.875rem;
}
.center {
  text-align: center;
}
.accent {
  color: var(--brand-600);
}

/* ── Header ── */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--brand-900);
  font-weight: 800;
  font-size: 1.35rem;
}
.brand:hover {
  text-decoration: none;
}
.brand-name {
  letter-spacing: -0.02em;
}
.logo-mark {
  width: 32px;
  height: 32px;
  color: var(--brand-600);
  flex: 0 0 auto;
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  font-size: 0.95rem;
}
.site-nav a {
  color: var(--ink);
  font-weight: 500;
}
.site-nav a[aria-current='page'] {
  color: var(--brand-700);
}

/* ── Hero ── */
.hero {
  background: linear-gradient(160deg, #eff4ff 0%, #ffffff 60%);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem 1.25rem 4rem;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2rem;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}
.lede {
  font-size: 1.15rem;
  color: #334155;
  margin: 0 0 1.5rem;
  max-width: 36rem;
}
.hero-art {
  display: flex;
  justify-content: center;
}
.hero-art .logo-mark {
  width: min(220px, 50vw);
  height: auto;
  color: var(--brand-600);
  filter: drop-shadow(0 12px 30px rgba(37, 99, 235, 0.25));
}

/* ── CTA / badges ── */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.cta-row.center {
  justify-content: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
}
.badge--soon {
  background: var(--ink);
  color: #fff;
  opacity: 0.85;
}

/* ── Sekcje ── */
section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
}
.features h2,
.pricing h2,
.closing h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  text-align: center;
  margin: 0 0 0.5rem;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.grid--2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}
.card p {
  margin: 0;
  color: #475569;
}

/* ── Pricing ── */
.price-card ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: #475569;
}
.price-card .price {
  font-size: 1.1rem;
  margin: 0.5rem 0 0;
}
.price-card .price strong {
  font-size: 2rem;
  color: var(--ink);
}
.price-card--featured {
  border-color: var(--brand-600);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.12);
}

/* ── Closing ── */
.closing {
  text-align: center;
}

/* ── Prose (dokumenty legal) ── */
.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}
.prose h1 {
  font-size: 2rem;
  margin: 0 0 1.5rem;
}
.prose h2 {
  font-size: 1.4rem;
  margin: 2.25rem 0 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
}
.prose h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem;
}
.prose p,
.prose li {
  color: #1f2937;
}
.prose ul,
.prose ol {
  padding-left: 1.4rem;
}
.prose blockquote {
  margin: 1rem 0;
  padding: 0.75rem 1.1rem;
  background: var(--bg-soft);
  border-left: 4px solid var(--brand-600);
  border-radius: 0 8px 8px 0;
  color: #334155;
}
.prose blockquote p {
  margin: 0.35rem 0;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.95rem;
}
.prose th,
.prose td {
  border: 1px solid var(--line);
  padding: 0.55rem 0.7rem;
  text-align: left;
  vertical-align: top;
}
.prose th {
  background: var(--bg-soft);
}
.prose code {
  background: var(--bg-soft);
  padding: 0.1rem 0.35rem;
  border-radius: 6px;
  font-size: 0.9em;
}
.prose hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 2rem 0;
}
.prose a {
  word-break: break-word;
}

/* placeholder do uzupełnienia (telefon/data) */
.ph {
  background: #fef3c7;
  color: #92400e;
  padding: 0.05rem 0.4rem;
  border-radius: 6px;
  font-size: 0.9em;
  white-space: nowrap;
}

/* ── Footer ── */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  margin-top: 2rem;
}
.footer-cols {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 1.5rem;
}
.footer-cols h4 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}
.footer-cols a {
  display: block;
  color: #334155;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}
.footer-cols p {
  margin: 0.25rem 0;
  font-size: 0.9rem;
}
.brand--footer {
  font-size: 1.1rem;
}
.brand--footer .logo-mark {
  width: 26px;
  height: 26px;
}
.copyright {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem 2rem;
  font-size: 0.85rem;
  border-top: 1px solid var(--line);
}

/* ── Responsywność ── */
@media (max-width: 820px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-art {
    order: -1;
  }
  .lede {
    margin-left: auto;
    margin-right: auto;
  }
  .cta-row {
    justify-content: center;
  }
  .grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 520px) {
  .grid,
  .grid--2 {
    grid-template-columns: 1fr;
  }
  .footer-cols {
    grid-template-columns: 1fr;
  }
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
