
/* ═══════════════════════════════════════════════════════
   VERIVEC — main.css
   All site styles consolidated in one place.
   ═══════════════════════════════════════════════════════ */

/* ── TOKENS ──────────────────────────────────────────── */
:root {
  --accent:      #0D7377;
  --accent-dark: #0a5c60;
  --accent-mid:  #14A3A8;
  --accent-dim:  #E8F5F5;
  --text:        #1A1A1A;
  --text-mid:    #4A4A4A;
  --text-soft:   #909090;
  --border:      #E6E4DE;
  --surface:     #FFFFFF;
  --bg:          #F8F8F6;
  --nav-h:       62px;
  --container:   1120px;
  --radius:      7px;
  --shadow:      0 2px 12px rgba(0,0,0,0.07);
  --shadow-lg:   0 8px 32px rgba(0,0,0,0.10);
}

/* ── RESET ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── NAV ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(248,248,246,0.93);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.main-nav {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav-left {
  display: flex;
  align-items: center;
  gap: 6px;
}
.brand {
  font-family: 'DM Sans', sans-serif;
  font-size: 21px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  margin-right: 14px;
  flex-shrink: 0;
}
.nav-left a:not(.brand) {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: color .18s, background .18s;
  white-space: nowrap;
}
.nav-left a:not(.brand):hover {
  color: var(--accent);
  background: var(--accent-dim);
}
.nav-left .nav-admin { color: var(--text-soft); font-size: 13px; }
.nav-left .nav-logout { color: #c0392b; }
.nav-left .nav-logout:hover { color: #c0392b; background: #fdf0ee; }

/* Search */
.search-form { flex-shrink: 0; }
.search-group {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.search-group:focus-within {
  border-color: var(--accent-mid);
  box-shadow: 0 0 0 3px rgba(13,115,119,0.1);
}
.search-input {
  border: none;
  outline: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  padding: 8px 14px;
  background: transparent;
  color: var(--text);
  width: 180px;
}
.search-input::placeholder { color: var(--text-soft); }
.btn-search {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 16px;
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background .18s;
  white-space: nowrap;
}
.btn-search:hover { background: var(--accent-dark); }

/* ── CONTAINER ───────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 28px 80px;
  flex: 1;
}

/* ── FLASH ALERTS ────────────────────────────────────── */
.alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
  border: 1px solid;
  animation: slideDown .25s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.alert-success { background: #edf7f0; border-color: #a8d5b5; color: #1d6b35; }
.alert-danger,
.alert-error   { background: #fdf0ee; border-color: #f0b8b0; color: #8b2318; }
.alert-warning { background: #fdf8e8; border-color: #e8d58a; color: #7a5c00; }
.alert-info    { background: var(--accent-dim); border-color: #9dd3d5; color: var(--accent-dark); }

/* ── FOOTER ──────────────────────────────────────────── */
.site-footer {
  background: #141414;
  color: rgba(255,255,255,0.45);
  padding: 44px 28px 28px;
  font-size: 13px;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.footer-brand {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.footer-tagline { max-width: 260px; line-height: 1.6; }
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 12px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { transition: color .18s; }
.footer-col ul a:hover { color: var(--accent-mid); }
.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

/* ── LEGAL PAGES (privacy, terms) ────────────────────── */
.legal-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 52px 0 80px;
}
.legal-header {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.legal-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.legal-header h1 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 10px;
}
.legal-effective { font-size: 13px; color: var(--text-soft); }
.legal-body { display: flex; flex-direction: column; gap: 36px; }
.legal-section h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.legal-section p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 10px;
}
.legal-section ul {
  padding-left: 1.3em;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.legal-section ul li {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.65;
}
.legal-section a { color: var(--accent); text-decoration: none; font-weight: 500; }
.legal-section a:hover { text-decoration: underline; }

/* ── CONTACT PAGE ────────────────────────────────────── */
.contact-wrap {
  max-width: 600px;
  margin: 0 auto;
  padding: 52px 0 80px;
}
.contact-header {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.contact-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.contact-header h1 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 10px;
}
.contact-header p { font-size: 16px; color: var(--text-mid); line-height: 1.65; }
.contact-form { display: flex; flex-direction: column; gap: 22px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--text); }
.form-group input,
.form-group textarea {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 14px;
  width: 100%;
  transition: border-color .18s, box-shadow .18s;
  outline: none;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-soft); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-mid);
  box-shadow: 0 0 0 3px rgba(13,115,119,0.1);
}
.form-group textarea { min-height: 140px; }
.btn-submit {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: var(--radius);
  padding: 13px 32px;
  cursor: pointer;
  width: 100%;
  transition: background .18s, transform .15s;
  margin-top: 4px;
}
.btn-submit:hover { background: var(--accent-dark); transform: translateY(-1px); }

/* ── BLOG HOME ───────────────────────────────────────── */
.blog-header {
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}
.blog-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.blog-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 10px;
}
.blog-subtitle { font-size: 16px; color: var(--text-mid); max-width: 480px; line-height: 1.6; }
.blog-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.post-count-pill {
  font-size: 12px;
  color: var(--text-soft);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 5px 14px;
  border-radius: 100px;
  white-space: nowrap;
}
.new-post-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  padding: 8px 18px;
  border-radius: var(--radius);
  transition: background .18s, transform .15s;
  text-decoration: none;
}
.new-post-btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.post-list { margin-top: 0; }
.post-entry {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px 24px;
  align-items: center;
}
.post-thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--border);
  background: var(--bg);
}
.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.post-entry-main { min-width: 0; }
.post-metadata-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.post-date { font-size: 12px; color: var(--text-soft); font-style: normal; }
.metadata-divider {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
  display: inline-block;
}
.category-link { text-decoration: none; }
.category-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent-dim);
  color: var(--accent);
  padding: 3px 10px;
  border-radius: 100px;
  transition: background .18s, color .18s;
}
.category-link:hover .category-badge { background: var(--accent); color: #fff; }
.category-badge.uncategorized { background: #F0F0EE; color: var(--text-soft); }
.post-entry-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.post-entry-title a { color: var(--text); text-decoration: none; transition: color .18s; }
.post-entry-title a:hover { color: var(--accent); }
.post-entry-excerpt {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-entry-footer { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.read-more-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap .18s;
  text-decoration: none;
}
.read-more-link:hover { gap: 9px; }
.read-more-link svg { transition: transform .18s; flex-shrink: 0; }
.read-more-link:hover svg { transform: translateX(2px); }
.admin-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
  padding-top: 4px;
}
.btn-edit {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
  cursor: pointer;
  transition: background .15s, color .15s;
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
}
.btn-edit:hover { background: var(--accent); color: #fff; }
.btn-delete {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: var(--radius);
  border: 1px solid #e8b8b0;
  color: #c0392b;
  background: transparent;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}
.btn-delete:hover { background: #c0392b; color: #fff; border-color: #c0392b; }
.empty-state { text-align: center; padding: 80px 24px; color: var(--text-soft); }
.empty-state-icon { font-size: 36px; margin-bottom: 16px; opacity: 0.35; }
.empty-state h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 22px;
  color: var(--text-mid);
  margin-bottom: 8px;
  font-weight: 600;
}
.empty-state p { font-size: 15px; }

/* ── SINGLE POST ─────────────────────────────────────── */
.single-post-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 0 80px;
}
.post-header {
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.post-header h1 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 16px;
}
.post-metadata-block {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.post-meta { font-size: 13px; color: var(--text-soft); margin: 0; }
.post-category-minor { margin: 0; font-size: 13px; color: var(--text-soft); }
.post-category-minor strong { font-weight: 500; }
.post-category-minor a {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent-dim);
  color: var(--accent);
  padding: 3px 10px;
  border-radius: 100px;
  text-decoration: none;
  transition: background .18s, color .18s;
}
.post-category-minor a:hover { background: var(--accent); color: #fff; }
.ai-summary-box {
  background: var(--accent-dim);
  border: 1px solid #9dd3d5;
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 32px;
}
.ai-summary-heading {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.ai-summary-heading .material-symbols-outlined { font-size: 16px; }
.ai-summary-content { font-size: 15px; color: var(--text-mid); line-height: 1.7; }
.screenshot-container {
  margin-bottom: 36px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.screenshot-container img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  background: #f5f5f3;
  display: block;
}
.screenshot-caption {
  display: block;
  font-size: 12px;
  color: var(--text-soft);
  text-align: center;
  padding: 10px 16px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.post-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 48px;
}
.post-body p { margin-bottom: 1.4em; }
.post-body h2, .post-body h3, .post-body h4 {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  margin: 1.8em 0 0.6em;
  line-height: 1.3;
}
.post-body h2 { font-size: 22px; font-weight: 700; }
.post-body h3 { font-size: 18px; font-weight: 600; }
.post-body strong { color: var(--text); font-weight: 600; }
.post-body em { font-style: italic; }
.post-body a { color: var(--accent); text-decoration: underline; text-decoration-color: var(--accent-dim); }
.post-body a:hover { text-decoration-color: var(--accent); }
.post-body ul, .post-body ol { padding-left: 1.4em; margin-bottom: 1.4em; }
.post-body li { margin-bottom: 0.4em; }
.post-body hr { border: none; border-top: 1px solid var(--border); margin: 2.5em 0; }
.post-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 20px;
  margin: 1.6em 0;
  color: var(--text-mid);
  font-style: italic;
}
.author-bio-section {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 40px;
}
.author-img img {
  width: 80px;
  height: 80px;
  min-width: 80px;
  min-height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--border);
  display: block;
  object-position: 60% center;
}
.author-text h3 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.author-text p { font-size: 14px; color: var(--text-mid); line-height: 1.65; margin-bottom: 10px; }
.author-text a { font-size: 13px; font-weight: 600; color: var(--accent); text-decoration: none; }
.author-text a:hover { color: var(--accent-dark); }
.post-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 8px; }
.btn-home {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  border: 1px solid var(--border);
  padding: 7px 16px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color .18s, color .18s;
}
.btn-home:hover { border-color: var(--accent); color: var(--accent); }

/* ── HOMEPAGE ────────────────────────────────────────── */
.home-wrap { margin: 0 -28px; }
.hero {
  text-align: center;
  padding: 80px 32px 88px;
  background: linear-gradient(160deg, #f0fafa 0%, var(--bg) 60%);
  border-bottom: 1px solid var(--border);
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.hero h1 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 20px;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}
.hero h1 span { color: var(--accent); }
.hero p {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-mid);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.65;
}
.hero-cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 36px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background .18s, transform .15s;
}
.hero-cta:hover { background: var(--accent-dark); transform: translateY(-2px); }
.problem-section {
  max-width: 860px;
  margin: 0 auto;
  padding: 72px 32px;
  text-align: center;
}
.problem-section h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.problem-section p { font-size: 17px; color: var(--text-mid); line-height: 1.75; max-width: 740px; margin: 0 auto; }
.services-section {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 72px 32px;
}
.services-inner { max-width: 1120px; margin: 0 auto; }
.services-section h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 48px;
  color: var(--text);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  transition: box-shadow .25s, transform .25s;
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.service-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}
.service-card p { font-size: 15px; color: var(--text-mid); line-height: 1.7; }
.trust-section { background: var(--accent); padding: 72px 32px; }
.trust-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.trust-inner h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.trust-inner > p { font-size: 17px; color: rgba(255,255,255,0.85); margin-bottom: 48px; }
.trust-pillars { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; }
.trust-pillar { border-left: 2px solid rgba(255,255,255,0.4); padding-left: 18px; text-align: left; min-width: 200px; }
.trust-pillar strong { display: block; color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.trust-pillar span { font-size: 14px; color: rgba(255,255,255,0.75); line-height: 1.5; }
.steps-section { padding: 80px 32px; text-align: center; }
.steps-inner { max-width: 1000px; margin: 0 auto; }
.steps-section h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 52px;
  letter-spacing: -0.02em;
}
.steps-grid { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; }
.step { flex: 1; min-width: 220px; max-width: 300px; padding: 24px 20px; }
.step-number { font-size: 52px; font-weight: 800; color: var(--accent-dim); line-height: 1; margin-bottom: 8px; }
.step h4 { font-family: 'DM Sans', sans-serif; font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.step p { font-size: 14px; color: var(--text-mid); line-height: 1.65; }
.cta-strip { background: var(--bg); border-top: 1px solid var(--border); padding: 72px 32px; text-align: center; }
.cta-strip h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.cta-strip p { font-size: 17px; color: var(--text-mid); margin-bottom: 32px; }

/* ── SERVICES PAGE ───────────────────────────────────── */
.services-page-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 52px 0 80px;
}
.services-page-header {
  text-align: center;
  margin-bottom: 52px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.services-page-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.services-page-header h1 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 12px;
}
.services-page-header p {
  font-size: 17px;
  color: var(--text-mid);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}
.services-cta {
  margin-top: 64px;
  padding: 48px 40px;
  background: var(--accent-dim);
  border: 1px solid #9dd3d5;
  border-radius: var(--radius);
  text-align: center;
}
.services-cta h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.services-cta p {
  font-size: 16px;
  color: var(--text-mid);
  margin-bottom: 24px;
}

/* ── ABOUT PAGE ──────────────────────────────────────── */
.about-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 52px 0 80px;
}
.about-header {
  margin-bottom: 52px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}
.about-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.about-header h1 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 10px;
}
.about-header p {
  font-size: 17px;
  color: var(--text-mid);
  line-height: 1.65;
}
.about-card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
/* Mission + Tech two-col grid */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 52px;
}
.about-intro-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.about-intro-card h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}
.about-intro-card p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.7;
}
/* Founder bio */
.about-bio-section {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: start;
  padding-top: 12px;
}
.about-bio-img img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border);
  box-shadow: var(--shadow);
  object-position: 60% center;
}
.about-bio-content h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.about-bio-tagline {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 20px;
  line-height: 1.5;
}
.about-bio-content p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 14px;
}

@media (max-width: 720px) {
  .about-intro-grid { grid-template-columns: 1fr; }
  .about-bio-section { grid-template-columns: 1fr; }
  .about-bio-img { display: flex; justify-content: center; }
  .about-bio-img img { width: 140px; height: 140px; }
}

/* ── SEARCH RESULTS PAGE ─────────────────────────────── */
.search-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 52px 0 80px;
}
.search-header-block {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.search-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.search-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 8px;
}
.search-query { color: var(--accent); }
.search-count { font-size: 13px; color: var(--text-soft); }
.search-results-list { display: flex; flex-direction: column; }
.search-result-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.search-static-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin: 32px 0 4px;
}
.result-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin: 10px 0 10px;
}
.result-title a { color: var(--text); text-decoration: none; transition: color .18s; }
.result-title a:hover { color: var(--accent); }
.result-excerpt {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 14px;
}
.ai-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 3px 10px;
  border-radius: 100px;
}
.ai-tag .material-symbols-outlined { font-size: 13px; }

/* ── LOGIN PAGE ──────────────────────────────────────── */
.login-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--nav-h) - 160px);
  padding: 40px 24px;
}
.login-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 48px 44px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.login-logo {
  font-family: 'DM Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.login-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 6px;
}
.login-subtitle {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 32px;
}
.login-form { text-align: left; display: flex; flex-direction: column; gap: 20px; }
.login-form .btn-submit { margin-top: 4px; }

/* ── ADMIN PAGES ─────────────────────────────────────── */
.admin-wrap {
  max-width: 600px;
  margin: 0 auto;
  padding: 52px 0 80px;
}
.admin-header {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.admin-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.admin-header h1 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 6px;
}
.admin-header p { font-size: 15px; color: var(--text-mid); }

.admin-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 32px;
  box-shadow: var(--shadow);
}
.admin-card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.category-input-row {
  display: flex;
  gap: 10px;
}
.category-input-row input {
  flex: 1;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
}
.category-input-row input::placeholder { color: var(--text-soft); }
.category-input-row input:focus {
  border-color: var(--accent-mid);
  box-shadow: 0 0 0 3px rgba(13,115,119,0.1);
}
.category-input-row .btn-submit {
  width: auto;
  padding: 10px 24px;
  margin-top: 0;
  white-space: nowrap;
}

/* Category list */
.category-list { display: flex; flex-direction: column; gap: 0; }
.category-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}
.category-item:first-child { border-top: 1px solid var(--border); }
.category-manage-link { text-decoration: none; }
.category-manage-link:hover .category-badge {
  background: var(--accent);
  color: #fff;
}

@media (max-width: 480px) {
  .category-input-row { flex-direction: column; }
  .category-input-row .btn-submit { width: 100%; }
}

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 720px) {
  .nav-left a:not(.brand) { display: none; }
  .search-input { width: 130px; }
  .footer-links { gap: 28px; }
  .post-entry { grid-template-columns: 1fr; }
  .post-thumb { display: none; }
  .admin-actions { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .blog-header-row { flex-direction: column; align-items: flex-start; }
  .author-bio-section { flex-direction: column; align-items: flex-start; }
  .post-metadata-block { flex-direction: column; align-items: flex-start; gap: 6px; }
  .home-wrap { margin: 0 -16px; }
  .trust-pillars { flex-direction: column; align-items: flex-start; }
}