/* Kollego - static site styles */
:root {
  --blue: #1E40AF;
  --blue-light: #3B82F6;
  --blue-dark: #1E3A8A;
  --orange: #F97316;
  --cyan: #0EA5E9;
  --gray-light: #F3F4F6;
  --gray: #9CA3AF;
  --gray-dark: #374151;
  --hex-dark: #232F3E;
  --hex-light: #37475A;
  --max: 1200px;
  --radius: 0.75rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Roboto", system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--gray-dark);
  line-height: 1.6;
  background: #fff;
}

h1, h2, h3, h4 { color: var(--blue-dark); line-height: 1.2; }
a { color: var(--blue); }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: 1rem; left: 1rem;
  width: auto; height: auto; clip: auto;
  z-index: 100; background: #fff; color: var(--blue);
  padding: .5rem 1rem; border-radius: .375rem; box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; text-decoration: none; cursor: pointer;
  padding: .75rem 1.5rem; border-radius: .5rem; border: none;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 4px 12px rgba(249,115,22,.3); }
.btn-orange:hover { background: #ea6a0e; transform: scale(1.03); }
.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { background: var(--gray-light); }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: .85rem 0;
}
.brand { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; }
.brand svg { width: 40px; height: 40px; }
.brand span {
  font-family: "Besley", Georgia, serif; font-weight: 700;
  font-size: 1.4rem; color: var(--hex-dark);
}
.nav-links { display: flex; align-items: center; gap: 1.75rem; }
.nav-links a { color: var(--gray-dark); text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--blue); }
.nav-cta { background: var(--blue); color: #fff !important; padding: .5rem 1rem; border-radius: .5rem; }
.nav-cta:hover { background: var(--blue-dark); }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: .5rem; color: var(--gray-dark);
}
.mobile-menu { display: none; flex-direction: column; gap: .25rem; padding: .5rem 0 1rem; }
.mobile-menu a { color: var(--gray-dark); text-decoration: none; padding: .6rem .25rem; border-radius: .375rem; }
.mobile-menu a:hover { color: var(--blue); background: var(--gray-light); }
.mobile-menu.open { display: flex; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Sections ---------- */
section { padding: 4.5rem 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 3rem; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 0 0 1rem; }
.section-head p { font-size: 1.15rem; color: var(--gray-dark); margin: 0; }
.bg-light { background: var(--gray-light); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  padding: 6rem 0 5rem;
  background: linear-gradient(135deg, rgba(249,115,22,.85), rgba(30,64,175,.92)),
              url("images/hero-image.jpg") center/cover no-repeat;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.hero h1 {
  color: #fff; font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin: 0 0 1.25rem; text-shadow: 0 2px 6px rgba(0,0,0,.25);
}
.hero p.lead { font-size: 1.2rem; max-width: 34rem; margin: 0 0 1.75rem; }
.hero .fineprint { margin-top: 1.25rem; font-size: .9rem; opacity: .95; }
.chat-card {
  background: rgba(255,255,255,.95); color: var(--gray-dark);
  border-radius: 1rem; padding: 1.5rem; box-shadow: 0 20px 40px rgba(0,0,0,.2);
}
.chat-dots { display: flex; gap: .4rem; margin-bottom: 1rem; }
.chat-dots span { width: .7rem; height: .7rem; border-radius: 50%; }
.chat-dots .r { background: #f87171; } .chat-dots .y { background: #fbbf24; } .chat-dots .g { background: #34d399; }
.chat-bubble { background: rgba(30,64,175,.06); padding: 1rem; border-radius: .6rem; margin-bottom: .75rem; }
.chat-bubble.alt { background: rgba(30,64,175,.1); }
.chat-bubble p { margin: 0 0 .5rem; }
.chat-bubble ul { margin: .5rem 0; padding-left: 1.2rem; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .chat-card { order: 2; }
}

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid #eef0f3; border-radius: var(--radius);
  padding: 1.75rem; box-shadow: 0 1px 3px rgba(0,0,0,.05);
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.card h3 { margin: 0 0 .6rem; font-size: 1.2rem; }
.card p { margin: 0 0 .5rem; }
.card .role-sub { color: var(--blue); font-weight: 600; margin-bottom: .75rem; }
.check-list, .bullet-list { list-style: none; padding: 0; margin: .5rem 0 0; }
.check-list li, .bullet-list li { position: relative; padding-left: 1.4rem; margin-bottom: .5rem; }
.check-list li::before { content: "\2713"; color: var(--blue); position: absolute; left: 0; font-weight: 700; }
.bullet-list li::before { content: "\2022"; color: var(--orange); position: absolute; left: .25rem; font-weight: 700; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; max-width: 980px; margin: 0 auto; }
@media (max-width: 820px) { .pricing-grid { grid-template-columns: 1fr; max-width: 420px; } }
.plan { background:#fff; border:2px solid transparent; border-radius: var(--radius); padding: 1.75rem; position: relative; box-shadow: 0 2px 6px rgba(0,0,0,.06); }
.plan.popular { border-color: var(--blue); box-shadow: 0 10px 30px rgba(30,64,175,.15); }
.plan .badge-pop {
  position: absolute; top: -.85rem; left: 50%; transform: translateX(-50%);
  background: var(--blue); color:#fff; font-size: .8rem; font-weight: 700;
  padding: .25rem 1rem; border-radius: 999px;
}
.plan .badge-limited {
  position: absolute; top: 1rem; right: 1rem; background: #e5e7eb; color: #4b5563;
  font-size: .75rem; padding: .15rem .6rem; border-radius: .375rem;
}
.plan .badge-free {
  position: absolute; top: 1rem; right: 1rem; background: #dcfce7; color: #15803d;
  font-size: .75rem; font-weight: 600; padding: .15rem .6rem; border-radius: .375rem;
}

/* Free-tier highlight callout */
.free-highlight {
  max-width: 900px; margin: 0 auto 3rem;
  background: linear-gradient(135deg, rgba(14,165,233,.08), rgba(30,64,175,.08));
  border: 1px solid rgba(30,64,175,.18); border-radius: var(--radius);
  padding: 1.75rem 2rem; display: flex; gap: 1.5rem; align-items: center;
}
.free-highlight .fh-icon {
  flex-shrink: 0; width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center; background: var(--blue); color: #fff;
}
.free-highlight h3 { margin: 0 0 .35rem; font-size: 1.25rem; }
.free-highlight p { margin: 0; color: var(--gray-dark); }
.free-highlight .fh-cta { margin-left: auto; flex-shrink: 0; }
@media (max-width: 720px) {
  .free-highlight { flex-direction: column; align-items: flex-start; text-align: left; }
  .free-highlight .fh-cta { margin-left: 0; }
}
.plan h3 { color: var(--blue); margin: 0 0 .25rem; }
.plan .desc { font-size: .9rem; color: #6b7280; margin: 0 0 1rem; }
.plan .price { font-size: 2.5rem; font-weight: 700; color: var(--blue-dark); }
.plan .price small { font-size: 1rem; font-weight: 400; color: var(--gray-dark); }
.plan .btn { width: 100%; justify-content: center; margin-top: 1.25rem; }
.pricing-note { text-align: center; margin-top: 2.5rem; }

/* ---------- FAQ accordion ---------- */
.faq-wrap { max-width: 760px; margin: 0 auto; background:#fff; border:1px solid #eef0f3; border-radius: var(--radius); padding: .5rem 1.5rem; }
.faq-item { border-bottom: 1px solid #e5e7eb; }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  font-size: 1rem; font-weight: 600; color: var(--blue-dark);
  padding: 1.1rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-q:hover { color: var(--blue); }
.faq-q .icon { transition: transform .2s; flex-shrink: 0; }
.faq-q[aria-expanded="true"] .icon { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 0 1.1rem; color: var(--gray-dark); }
.faq-item.open .faq-a { display: block; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--blue); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem,4vw,2.4rem); margin: 1rem 0; }
.cta-band p { font-size: 1.15rem; max-width: 40rem; margin: 0 auto 1.75rem; }
.cta-band .brand span { color: #fff; }
.cta-band .fineprint { margin-top: 1.25rem; font-size: .9rem; }

/* ---------- Article / legal pages ---------- */
.page-main { padding-top: 3rem; }
.prose { max-width: 820px; margin: 0 auto; }
.prose h1 { font-size: clamp(2rem,4vw,2.6rem); margin: 0 0 1.5rem; }
.prose h2 { font-size: 1.5rem; margin: 2.5rem 0 1rem; }
.prose h3 { font-size: 1.2rem; margin: 1.75rem 0 .75rem; }
.prose h4 { font-size: 1.05rem; margin: 1.25rem 0 .5rem; }
.prose p, .prose li { color: var(--gray-dark); }
.prose ul { padding-left: 1.4rem; }
.prose li { margin-bottom: .5rem; }
.prose .summary-box { background: var(--gray-light); border: 1px solid #e5e7eb; border-radius: var(--radius); padding: 1.5rem; margin-top: 2rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.prose th, .prose td { border: 1px solid #d1d5db; padding: .6rem .75rem; text-align: left; }
.prose th { background: var(--gray-light); }

/* ---------- Footer ---------- */
.site-footer { background: #fff; border-top: 1px solid #e5e7eb; padding: 3rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; margin-bottom: 2.5rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }
.site-footer h3 { font-size: 1.1rem; margin: 0 0 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .65rem; }
.site-footer a { color: var(--gray-dark); text-decoration: none; }
.site-footer a:hover { color: var(--blue); }
.footer-bottom { border-top: 1px solid #e5e7eb; padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
.footer-bottom .legal { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-bottom .legal a { font-size: .85rem; }
.footer-bottom .legal button.cookie-settings {
  background: none; border: none; padding: 0; cursor: pointer;
  color: var(--gray-dark); font: inherit; font-size: .85rem;
}
.footer-bottom .legal button.cookie-settings:hover { color: var(--blue); }
.footer-bottom .copy { font-size: .85rem; }

/* ---------- Cookie consent banner ---------- */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 200;
  max-width: 760px; margin: 0 auto;
  background: #fff; border: 1px solid #e5e7eb; border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0,0,0,.18);
  padding: 1.25rem 1.5rem;
  display: none; gap: 1.25rem; align-items: center; flex-wrap: wrap;
}
.cookie-banner.show { display: flex; }
.cookie-banner p { margin: 0; flex: 1 1 320px; font-size: .92rem; }
.cookie-banner a { color: var(--blue); }
.cookie-banner .cb-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.cookie-banner .btn { padding: .55rem 1.1rem; font-size: .9rem; }
.btn-ghost { background: transparent; color: var(--gray-dark); border: 1px solid #d1d5db; }
.btn-ghost:hover { background: var(--gray-light); }

