/* Suliit — corporate marketplace stylesheet
   Author: Suliit web team
   Notes: mobile-first, system font stack, accessible focus rings, no framework */

*,
*::before,
*::after { box-sizing: border-box; }

:root {
  --ink: #0f1a2b;
  --ink-2: #1e2a3d;
  --muted: #5c6a80;
  --line: #e4e8ef;
  --line-2: #eef1f6;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --bg-band: #f1f4f9;
  --brand: #14634b;         /* deep pine — trust, commerce */
  --brand-2: #0f4c39;
  --brand-ink: #ffffff;
  --accent: #c8891a;        /* muted gold, used sparingly */
  --danger: #9b2c2c;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(15,26,43,.06), 0 1px 1px rgba(15,26,43,.04);
  --shadow: 0 4px 14px rgba(15,26,43,.08);
  --maxw: 1160px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Iowan Old Style", "Charter", Georgia, "Times New Roman", serif;
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-2); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 3px; }

h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--ink); line-height: 1.25; margin: 0 0 .6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 3.2vw + 1rem, 2.9rem); font-weight: 600; }
h2 { font-size: clamp(1.4rem, 1.6vw + 1rem, 2rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p  { margin: 0 0 1em; color: var(--ink-2); }
small, .small { font-size: .875rem; color: var(--muted); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 20px; }

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 4px;
}
.skip-link:focus { left: 12px; top: 12px; }

/* Top bar */
.topbar {
  background: var(--ink);
  color: #dfe5ee;
  font-size: .82rem;
  padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.topbar a { color: #dfe5ee; }
.topbar span + span { margin-left: 18px; }

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 40;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 16px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600;
  color: var(--ink); text-decoration: none; letter-spacing: -0.01em;
}
.brand-mark {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--brand); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: var(--font-sans); font-size: 1rem;
}
.nav-toggle {
  display: none;
  background: transparent; border: 1px solid var(--line);
  border-radius: 6px; padding: 8px 10px; cursor: pointer;
  font-size: .9rem;
}
.primary-nav ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 4px; align-items: center; flex-wrap: wrap;
}
.primary-nav a {
  display: inline-block; padding: 8px 12px; border-radius: 6px;
  color: var(--ink-2); font-size: .95rem; text-decoration: none;
}
.primary-nav a:hover { background: var(--bg-soft); color: var(--ink); text-decoration: none; }
.primary-nav a.is-active { color: var(--brand-2); font-weight: 600; }
.primary-nav .nav-cta {
  background: var(--brand); color: #fff;
  padding: 9px 16px; margin-left: 6px;
}
.primary-nav .nav-cta:hover { background: var(--brand-2); color: #fff; }

.has-dropdown { position: relative; }
.has-dropdown > a::after { content: " ▾"; font-size: .7em; opacity: .7; }
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 240px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 8px; box-shadow: var(--shadow);
  padding: 8px; display: none;
  flex-direction: column; gap: 2px;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { display: flex; }
.dropdown a { padding: 8px 10px; border-radius: 4px; }

/* Buttons */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 6px;
  font-weight: 600; font-size: .95rem; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; line-height: 1;
  transition: background .15s ease, transform .05s ease;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-2); color: #fff; text-decoration: none; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: #fff; }
.btn-outline:hover { background: var(--ink); color: #fff; text-decoration: none; }
.btn-ghost { color: var(--ink-2); }
.btn-ghost:hover { background: var(--bg-soft); text-decoration: none; }
.btn + .btn { margin-left: 8px; }
.btn-block { display: block; width: 100%; text-align: center; }

/* Hero */
.hero {
  background: linear-gradient(180deg, #fbfcfe 0%, #f2f5fa 100%);
  border-bottom: 1px solid var(--line);
  padding: 72px 0 84px;
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center;
}
.hero-eyebrow {
  display: inline-block; font-size: .78rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand-2); font-weight: 600;
  margin-bottom: 14px;
}
.hero p.lead { font-size: 1.1rem; color: var(--ink-2); max-width: 560px; }
.hero-cta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta {
  margin-top: 34px; display: flex; gap: 28px; flex-wrap: wrap;
  color: var(--muted); font-size: .88rem;
}
.hero-meta strong { color: var(--ink); display: block; font-size: 1.05rem; font-family: var(--font-serif); }
.hero-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 28px; box-shadow: var(--shadow);
}
.hero-card h3 { margin-top: 0; font-size: 1.05rem; font-family: var(--font-sans); }
.hero-card ul { padding-left: 18px; margin: 12px 0 0; color: var(--ink-2); }
.hero-card ul li { margin-bottom: 6px; }
.hero-card .kv {
  display: grid; grid-template-columns: 1fr auto; gap: 8px 16px;
  padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: .93rem;
}
.hero-card .kv:last-child { border-bottom: 0; }
.hero-card .kv span:last-child { color: var(--muted); }

/* Sections */
.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section-band { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-ink { background: var(--ink); color: #dfe5ee; }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-ink p { color: #b9c2d1; }

.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head .eyebrow {
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-2); font-weight: 600; display: block; margin-bottom: 8px;
}

/* Grid utilities */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Feature cards */
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 26px 24px;
}
.feature h3 { margin-top: 0; font-family: var(--font-sans); font-size: 1.05rem; }
.feature .icon {
  width: 38px; height: 38px; border-radius: 8px;
  background: #eaf1ee; color: var(--brand-2);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; margin-bottom: 14px;
}
.feature p { margin-bottom: 0; font-size: .95rem; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 22px; }
.step {
  display: grid; grid-template-columns: 44px 1fr; gap: 18px;
  padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: #fff;
}
.step-num {
  counter-increment: step;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.step-num::before { content: counter(step); }
.step h3 { margin: 0 0 6px; font-family: var(--font-sans); font-size: 1.05rem; }
.step p { margin: 0; font-size: .95rem; }

/* Category chips */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat {
  border: 1px solid var(--line); border-radius: 8px; padding: 18px;
  background: #fff; color: var(--ink); display: block;
}
.cat:hover { border-color: var(--brand); text-decoration: none; }
.cat strong { display: block; margin-bottom: 4px; }
.cat span { font-size: .85rem; color: var(--muted); }

/* Testimonials */
.tm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tm {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 26px;
}
.tm blockquote { margin: 0 0 16px; font-family: var(--font-serif); font-size: 1.05rem; color: var(--ink); }
.tm .who { display: flex; align-items: center; gap: 12px; }
.tm .avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg-band); color: var(--ink); font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.tm .who strong { display: block; }
.tm .who span { color: var(--muted); font-size: .85rem; }

/* CTA band */
.cta-band {
  background: var(--brand);
  color: #fff;
  padding: 56px 0;
}
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: #d3e4dc; margin-bottom: 18px; }
.cta-band .btn-primary { background: #fff; color: var(--brand-2); }
.cta-band .btn-primary:hover { background: #f0f0f0; }
.cta-band .btn-outline { border-color: #fff; color: #fff; }
.cta-band .btn-outline:hover { background: #fff; color: var(--brand-2); }

/* Tables */
.table {
  width: 100%; border-collapse: collapse; font-size: .95rem;
  background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
}
.table th, .table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line-2); }
.table th { background: var(--bg-soft); font-weight: 600; }
.table tr:last-child td { border-bottom: 0; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.plan {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 30px 28px; display: flex; flex-direction: column;
}
.plan.featured { border-color: var(--brand); box-shadow: var(--shadow); position: relative; }
.plan.featured::before {
  content: "Most chosen"; position: absolute; top: -12px; left: 24px;
  background: var(--brand); color: #fff;
  font-size: .72rem; padding: 4px 10px; border-radius: 20px; letter-spacing: .08em;
  text-transform: uppercase; font-weight: 600;
}
.plan h3 { margin-top: 0; font-family: var(--font-sans); font-size: 1.05rem; }
.plan .price { font-family: var(--font-serif); font-size: 2.4rem; font-weight: 600; color: var(--ink); }
.plan .price small { font-size: .9rem; color: var(--muted); font-weight: 400; }
.plan ul { list-style: none; padding: 0; margin: 20px 0; }
.plan ul li { padding: 8px 0; border-bottom: 1px solid var(--line-2); font-size: .93rem; }
.plan ul li::before { content: "✓ "; color: var(--brand-2); font-weight: 700; }
.plan .btn { margin-top: auto; }

/* FAQ */
.faq details {
  background: #fff; border: 1px solid var(--line);
  border-radius: 8px; padding: 16px 20px; margin-bottom: 10px;
}
.faq details[open] { border-color: var(--brand); }
.faq summary {
  cursor: pointer; font-weight: 600; list-style: none; color: var(--ink);
  display: flex; justify-content: space-between; gap: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand-2); font-weight: 700; font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--ink-2); font-size: .95rem; }

/* Content pages (article) */
.article { padding: 56px 0 72px; }
.article header.article-head { margin-bottom: 30px; border-bottom: 1px solid var(--line); padding-bottom: 22px; }
.article header.article-head .meta { color: var(--muted); font-size: .87rem; margin-top: 8px; }
.article-body p, .article-body ul, .article-body ol { font-size: 1.03rem; }
.article-body h2 { margin-top: 2em; }
.article-body h3 { margin-top: 1.6em; }
.article-body ul, .article-body ol { padding-left: 20px; }
.article-body li { margin-bottom: 6px; }
.article-body blockquote {
  border-left: 3px solid var(--brand); background: var(--bg-soft);
  padding: 16px 20px; margin: 20px 0; color: var(--ink-2);
}
.article-body .callout {
  background: #f0f5f2; border: 1px solid #cfe0d6; border-radius: 8px;
  padding: 18px 20px; margin: 24px 0;
}

/* Breadcrumbs */
.crumbs { font-size: .85rem; color: var(--muted); padding: 18px 0; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }

/* Blog list */
.post-card {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 24px; display: flex; flex-direction: column; height: 100%;
}
.post-card .cat-tag {
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brand-2); font-weight: 600; margin-bottom: 10px;
}
.post-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--brand-2); text-decoration: none; }
.post-card p { font-size: .94rem; color: var(--ink-2); }
.post-card .meta { margin-top: auto; padding-top: 10px; font-size: .82rem; color: var(--muted); }

/* Forms */
form.stack { display: grid; gap: 14px; }
label { font-size: .9rem; font-weight: 600; color: var(--ink); display: block; margin-bottom: 6px; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; padding: 11px 13px; font-size: 1rem;
  border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink);
  font-family: inherit;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px rgba(20,99,75,.12); }
.field { }
.field .hint { font-size: .82rem; color: var(--muted); margin-top: 4px; }

/* Info boxes for policy/legal pages */
.legal { padding: 56px 0 72px; }
.legal h2 { margin-top: 1.8em; font-size: 1.35rem; }
.legal h3 { margin-top: 1.4em; font-size: 1.1rem; }
.legal ul, .legal ol { padding-left: 22px; }

/* 404 */
.notfound {
  min-height: 60vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 80px 20px;
}
.notfound h1 { font-size: 5rem; margin-bottom: 0; color: var(--brand); }

/* Footer */
.site-footer {
  background: #0b1220; color: #b9c2d1; padding: 56px 0 24px;
  font-size: .92rem; margin-top: 60px;
}
.site-footer a { color: #dfe5ee; }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 30px;
  padding-bottom: 40px; border-bottom: 1px solid #1a2436;
}
.site-footer h4 { color: #fff; font-family: var(--font-sans); font-size: .82rem;
  letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer .brand { color: #fff; }
.site-footer .brand-mark { background: #fff; color: var(--brand-2); }
.site-footer .addr { color: #94a0b3; line-height: 1.6; margin-top: 12px; }
.legal-line {
  padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: #7d8899; font-size: .82rem;
}

/* Utility */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.divider { height: 1px; background: var(--line); margin: 40px 0; border: 0; }

/* Responsive */
@media (max-width: 960px) {
  .hero { padding: 48px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .grid-3, .grid-4, .plans, .tm-grid, .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .section { padding: 52px 0; }
  .nav-toggle { display: inline-block; }
  .primary-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 20px 16px; box-shadow: var(--shadow);
    display: none;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .primary-nav a { padding: 10px 12px; }
  .primary-nav .nav-cta { margin: 8px 0 0; text-align: center; }
  .has-dropdown > a::after { content: ""; }
  .dropdown { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 0 12px; }
  .grid-2, .grid-3, .grid-4, .plans, .tm-grid, .cat-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar { display: none; }
}
