:root {
  --ink: #15233b;
  --muted: #5a6577;
  --bg: #f6f7f9;
  --card: #ffffff;
  --line: #e2e6ec;
  --brand: #0b6e69;
  --brand-dark: #08524e;
  --brand-soft: #e3f2f0;
  --accent: #f2b33d;
  --urgent: #b42318;
  --urgent-soft: #fdecea;
  --new: #1f6feb;
  --new-soft: #e7f0fd;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(21, 35, 59, .06), 0 4px 14px rgba(21, 35, 59, .05);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
}
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--brand-dark); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.7rem); }
h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); }
h3, .h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.section { padding-top: 28px; padding-bottom: 28px; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 46em; }
.fine { font-size: .86rem; color: var(--muted); }
.muted { color: var(--muted); }
.center { text-align: center; }

.preview-bar { background: var(--accent); color: #3a2a00; text-align: center; font-size: .9rem; padding: 6px 16px; }

/* Header */
.site-header { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.1rem; }
.logo-mark { width: 32px; height: 32px; flex: none; }
.logo-mark rect { fill: var(--brand); }
.logo-mark path { fill: #fff; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-niche { font-size: .72rem; font-weight: 600; color: var(--brand); text-transform: uppercase; letter-spacing: .06em; }
.nav { display: flex; align-items: center; gap: 18px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a[aria-current="page"] { color: var(--brand); }

/* Buttons */
.btn {
  display: inline-block; background: var(--brand); color: #fff; text-decoration: none; font-weight: 650;
  padding: 12px 20px; border-radius: 10px; border: 2px solid var(--brand); transition: background .15s;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--brand); }
.btn-ghost:hover { background: var(--brand-soft); color: var(--brand-dark); }
.btn-small { padding: 7px 14px; font-size: .92rem; white-space: nowrap; }
.btn-block { display: block; text-align: center; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--card) 0%, var(--bg) 100%); border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: center; padding-top: 48px; padding-bottom: 48px; }
.eyebrow { font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin-bottom: .6em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 10px; }
.stats { list-style: none; margin: 0; padding: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.stats li { display: flex; flex-direction: column; }
.stats strong { font-size: 2rem; line-height: 1.1; color: var(--brand); }
.stats span { color: var(--muted); font-size: .9rem; }
.stats .stats-updated { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 10px; }

/* Lists of tenders */
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.tender-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.tender { overflow-wrap: anywhere; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.tender-title { margin: 8px 0 4px; font-size: 1.08rem; }
.tender-title a { color: var(--ink); text-decoration: none; }
.tender-title a:hover { color: var(--brand); text-decoration: underline; }
.tender-meta { color: var(--muted); font-size: .93rem; margin-bottom: 8px; }
.tender-excerpt { font-size: .95rem; margin-bottom: 10px; overflow-wrap: anywhere; }
.tender-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { display: inline-block; font-size: .78rem; font-weight: 650; padding: 3px 9px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-dark); }
.badge-urgent { background: var(--urgent-soft); color: var(--urgent); }
.badge-new { background: var(--new-soft); color: var(--new); }
.badge-muted { background: #eef0f3; color: var(--muted); }
.facts { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; font-size: .9rem; }
.facts div { display: flex; gap: 6px; }
.facts dt { color: var(--muted); }
.facts dt::after { content: ":"; }
.facts dd { margin: 0; font-weight: 600; }

/* Regions */
.region-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.region-grid a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 14px; background: var(--card);
  border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); }
.region-grid a:hover { border-color: var(--brand); }
.region-grid strong { color: var(--brand); }
.region-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }

/* Content blocks */
.band { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps, .benefits { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.benefits { grid-template-columns: repeat(4, 1fr); }
.steps li, .benefits li { display: flex; flex-direction: column; gap: 6px; }
.steps { counter-reset: step; }
.steps li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; }
.steps span, .benefits span { color: var(--muted); }

.layout-split { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.sticky { position: sticky; top: 84px; }
.signup-box { background: var(--card); border: 2px solid var(--brand); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.signup-box h2 { font-size: 1.2rem; }
.signup-box .btn { width: 100%; text-align: center; margin: 4px 0 10px; }
.empty { background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); padding: 20px; color: var(--muted); }

.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--muted); }
.tender-h1 { font-size: clamp(1.45rem, 1.1rem + 1.5vw, 2.1rem); margin-top: 12px; overflow-wrap: anywhere; hyphens: auto; }
.keyfacts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; margin: 0 0 20px; }
.keyfacts div { background: var(--card); padding: 12px 16px; }
.keyfacts dt { font-size: .82rem; color: var(--muted); }
.keyfacts dd { margin: 2px 0 0; font-weight: 650; overflow-wrap: anywhere; }
.prose { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 18px 0; overflow-wrap: anywhere; }
.prose h2 { font-size: 1.15rem; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0; }
.prose li { margin-bottom: .6em; }
.source { font-size: .85rem; color: var(--muted); }

/* Pricing */
.plan { background: var(--card); border: 2px solid var(--brand); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); margin: 24px 0 36px; }
.plan-head h2 { font-size: 1.2rem; margin-bottom: .2em; }
.price { font-size: 1.1rem; margin: 0; }
.price strong { font-size: 2.6rem; color: var(--brand); }
.checks { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 8px; }
.checks li { padding-left: 28px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--brand); font-weight: 800; }

/* FAQ */
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 650; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* Legal pages */
.legal h2 { font-size: 1.2rem; margin-top: 1.4em; }
.placeholder { background: #fff3cd; padding: 0 4px; border-radius: 4px; }

/* Footer */
.site-footer { background: var(--ink); color: #c9d1dd; margin-top: 40px; }
.site-footer a { color: #fff; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 28px; }
.footer-brand { color: #fff; font-weight: 650; }
.footer-note { font-size: .86rem; max-width: 40em; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; align-items: flex-start; }

/* Responsive */
@media (max-width: 920px) {
  .hero-inner, .layout-split { grid-template-columns: minmax(0, 1fr); }
  .sticky { position: static; }
  .region-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav a:not(.btn) { display: none; }
  .header-inner { gap: 10px; }
  .logo { font-size: 1rem; gap: 8px; }
  .logo-mark { width: 28px; height: 28px; }
  .btn-small { padding: 6px 10px; font-size: .85rem; }
  .hero-inner { padding-top: 28px; padding-bottom: 28px; gap: 24px; }
  .steps, .benefits { grid-template-columns: 1fr; }
  .keyfacts { grid-template-columns: 1fr; }
  .region-grid { grid-template-columns: 1fr 1fr; }
  .region-grid a { padding: 10px 12px; font-size: .92rem; }
  .tender { padding: 16px; }
  .hero-actions .btn { width: 100%; text-align: center; }
}
