/* CogTender public website. One small stylesheet, system fonts, no JavaScript needed. */
:root {
  --ink: #0f1c2e;
  --muted: #55657a;
  --line: #dde3ea;
  --bg: #ffffff;
  --soft: #f4f7fa;
  --brand: #1e3a5f;
  --accent: #1f7a5a;
  --accent-ink: #ffffff;
  --radius: 12px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section.soft { background: var(--soft); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 46rem; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.small { font-size: 0.9rem; color: var(--muted); }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--brand); text-decoration: none; font-size: 1.1rem; }
.logo-mark { width: 28px; height: 28px; border-radius: 7px; background: var(--brand); display: grid; place-items: center; color: #fff; font-size: 0.85rem; }
.nav { display: flex; gap: 20px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--brand); text-decoration: underline; }

/* Buttons */
.btn { display: inline-block; padding: 12px 20px; border-radius: 8px; font-weight: 600; text-decoration: none; border: 1px solid transparent; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--brand); }
.nav .btn { padding: 8px 14px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.center .actions { justify-content: center; }

/* Hero */
.hero { padding: 72px 0 56px; background: linear-gradient(180deg, #eef3f8 0%, #fff 100%); }
.hero .wrap { display: grid; gap: 40px; grid-template-columns: 1.1fr 0.9fr; align-items: center; }
.eyebrow { display: inline-block; font-weight: 600; color: var(--accent); font-size: 0.9rem; margin-bottom: 12px; }
.trust { margin-top: 16px; font-size: 0.9rem; color: var(--muted); }

/* App mock (pure HTML, no screenshots to keep up to date) */
.mock { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 20px 50px -20px rgba(15, 28, 46, 0.35); padding: 18px; }
.mock-bar { display: flex; gap: 6px; margin-bottom: 14px; }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.wo { border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; margin-bottom: 10px; display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.wo strong { display: block; font-size: 0.95rem; }
.wo small { color: var(--muted); }
.tag { font-size: 0.75rem; font-weight: 600; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.tag.red { background: #fde8e8; color: #a32121; }
.tag.amber { background: #fdf3e1; color: #8a5a00; }
.tag.green { background: #e5f5ed; color: #1f7a5a; }

/* Grids and cards */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; }
.card p { color: var(--muted); margin: 0; }
.icon { width: 40px; height: 40px; border-radius: 10px; background: #e7eef6; color: var(--brand); display: grid; place-items: center; font-size: 1.2rem; margin-bottom: 12px; }
.steps { counter-reset: step; }
.steps .card::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; margin-bottom: 12px; }

/* Pricing */
.plans { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; background: #fff; }
.plan.featured { border: 2px solid var(--accent); position: relative; }
.plan.featured::before { content: "Most popular"; position: absolute; top: -12px; left: 24px; background: var(--accent); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.price { font-size: 2.4rem; font-weight: 700; margin: 8px 0 0; }
.price span { font-size: 1rem; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 18px 0 24px; flex: 1; }
.plan li { padding: 6px 0 6px 26px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.plan .btn { text-align: center; }

/* Comparison table */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 520px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--soft); font-weight: 600; }

/* FAQ */
details { border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; background: #fff; }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 0; color: var(--muted); }

/* CTA band */
.cta { background: var(--brand); color: #fff; border-radius: var(--radius); padding: 44px 28px; text-align: center; }
.cta p { color: #d7e2ee; }

/* Legal pages */
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.3rem; margin-top: 1.8em; }
.notice { background: #fff8e6; border: 1px solid #f0d58a; border-radius: 8px; padding: 12px 16px; font-size: 0.95rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; font-size: 0.92rem; color: var(--muted); }
.site-footer .wrap { display: flex; gap: 24px; justify-content: space-between; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

@media (max-width: 860px) {
  .hero .wrap, .grid-3, .grid-2, .plans { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .nav { gap: 14px; }
}
