/* Bonitoo homepage mockup — brand theme (dark), v6 positioning
   Colors from Bonitoo-Brand-Guidelines-final-V02: sage #99AD7F, near-black #232323, white */

* { box-sizing: border-box; }

:root {
  --bg: #232323;
  --bg-card: #2b2b29;
  --bg-card-hover: #313130;
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.18);
  --text: #ffffff;
  --text-secondary: #c7c7c2;
  --text-muted: #8a8a85;
  --accent: #99ad7f;
  --accent-tint-bg: rgba(153,173,127,0.14);
  --accent-tint-text: #b9cc9f;
  --accent-on-dark-text: #1c2417;
  --radius: 10px;
  --radius-lg: 14px;
}

/* The mockup provides its own navigation and footer on theme pages. */
#wrapwrap > header,
#wrapwrap > footer {
  display: none !important;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-secondary);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

h1, h2, h3, h4, .brand-word {
  font-family: 'Space Grotesk', Arial, sans-serif;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

a { color: inherit; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 32px; }

/* nav */
.nav {
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 10;
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 18px;
  flex-wrap: wrap;
}
.brand-block { display: flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
.brand-logo { display: block; width: 142px; height: auto; }
.brand-word { font-size: 20px; line-height: 1.15; }
.motto { font-size: 11px; color: var(--text-muted); margin-top: -2px; font-style: italic; line-height: 1.2; }
.nav-links { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.nav-links a { font-size: 14px; color: var(--text-secondary); text-decoration: none; }
.nav-links > a, .nav-item > a { display: inline-flex; align-items: center; min-height: 26px; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--accent); font-weight: 700; }

.nav-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-tool { position: relative; }
.nav-tool > summary {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-width: 40px; min-height: 40px; padding: 8px 10px;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  color: var(--text-secondary); cursor: pointer; list-style: none;
}
.nav-tool > summary::-webkit-details-marker { display: none; }
.nav-tool > summary:hover, .nav-tool[open] > summary { color: var(--accent); border-color: var(--accent); }
.nav-tool > summary i, .nav-login i { font-size: 19px; }
.account-name { max-width: 112px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.nav-login {
  display: inline-flex; align-items: center; gap: 7px; min-height: 40px;
  padding: 8px 11px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  color: var(--text-secondary); text-decoration: none; font-size: 13px; font-weight: 700;
}
.nav-login:hover { color: var(--accent); border-color: var(--accent); }
.nav-popover {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 40;
  background: var(--bg-card); border: 1px solid var(--line-strong); border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
}
.search-popover { display: flex; align-items: center; width: min(320px, calc(100vw - 32px)); padding: 10px; }
.search-popover input {
  min-width: 0; flex: 1; background: var(--bg); color: var(--text);
  border: 1px solid var(--line-strong); border-radius: 8px 0 0 8px;
  padding: 9px 11px; font: inherit; font-size: 14px;
}
.search-popover input:focus { outline: none; border-color: var(--accent); }
.search-popover button {
  min-width: 40px; align-self: stretch; border: 1px solid var(--accent); border-radius: 0 8px 8px 0;
  background: var(--accent); color: var(--accent-on-dark-text); cursor: pointer;
}
.account-popover { display: grid; min-width: 190px; padding: 7px; }
.account-popover a {
  display: flex; align-items: center; gap: 9px; padding: 9px 11px;
  border-radius: 7px; color: var(--text-secondary); text-decoration: none; font-size: 14px;
}
.account-popover a:hover { background: var(--accent-tint-bg); color: var(--accent-tint-text); }
.account-popover i { font-size: 17px; }
.visually-hidden {
  position: absolute !important; width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important; overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important;
}
@media (max-width: 1080px) {
  .nav-links { order: 4; width: 100%; justify-content: center; }
}
@media (max-width: 700px) {
  .nav .wrap { gap: 10px; padding-left: 16px; padding-right: 16px; }
  .brand-logo { width: 126px; }
  .nav-cta { order: 3; padding: 9px 13px; }
  .nav-links { gap: 16px; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 3px; }
  .nav-links > a, .nav-item > a { white-space: nowrap; }
}

/* mega-menu dropdown (Services) */
.nav-item { position: relative; }
.nav-item > a::after { content: " \25BE"; font-size: 10px; color: var(--text-muted); }
.mega-menu {
  /* the box (including its top padding) starts flush against the trigger link with
     zero margin, so it is continuously hoverable — a margin-top gap here would create
     dead space the mouse has to cross, which drops :hover and closes the menu before
     the cursor ever reaches it. The old 16px visual gap is now padding-top instead. */
  display: none;
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  padding: 38px 26px 22px;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  min-width: 460px; grid-template-columns: 1fr 1fr; gap: 30px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
  z-index: 30;
}
.nav-item:hover .mega-menu { display: grid; }
.mega-col h5 {
  font-family: 'Space Grotesk', Arial, sans-serif; font-weight: 700;
  font-size: 12px; letter-spacing: 0.4px; color: var(--text-muted);
  margin: 0 0 12px; text-transform: uppercase;
}
.mega-col a { display: block; font-size: 14px; color: var(--text-secondary); text-decoration: none; padding: 7px 0; }
.mega-col a:hover { color: var(--accent); }
.mega-col a.mega-top { font-weight: 700; color: var(--text); }
.mega-col a.mega-nested { padding-left: 14px; font-size: 13px; }
.mega-col a .mega-product-row { display: block; margin-top: 3px; }
.mega-col a .mega-product-row strong { color: var(--text); font-weight: 700; }
.mega-col a .mega-product-row em { color: var(--text-muted); font-style: italic; margin-left: 6px; font-size: 12px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; text-decoration: none;
  padding: 12px 22px; border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: var(--accent-on-dark-text); }
.btn-primary:hover { background: #a9bc90; }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* breadcrumb */
.breadcrumb { font-size: 13px; color: var(--text-muted); padding: 20px 0 0; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }

/* hero */
.hero { text-align: center; padding: 64px 0 36px; }
.kicker { font-size: 14px; font-weight: 700; color: var(--accent); margin-bottom: 16px; letter-spacing: 0.2px; }
.hero h1 { font-size: 44px; line-height: 1.2; max-width: 780px; margin: 0 auto 16px; }
.hero .sub { font-size: 19px; color: var(--text-secondary); max-width: 620px; margin: 0 auto 30px; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* proof bar */
.proof-bar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  text-align: center;
}
.proof-bar p { font-size: 13px; color: var(--text-muted); margin: 0; }

/* fold marker (only used in mockup, harmless if left in) */
.fold { display: flex; align-items: center; gap: 12px; margin: 0; }
.fold::before, .fold::after { content: ""; flex: 1; border-top: 1px dashed var(--line-strong); }
.fold span { font-size: 11px; color: var(--text-muted); white-space: nowrap; }

/* section headings */
.section { padding: 56px 0; }
.section-label { font-size: 13px; font-weight: 700; color: var(--text-secondary); margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.4px; }

/* card grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 820px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.card.accent { border-color: rgba(153,173,127,0.5); }
a.card { transition: border-color 0.15s ease; }
a.card:hover { border-color: var(--line-strong); }
a.card:hover h4 { color: var(--accent); }
.card i { font-size: 22px; color: var(--accent); }
.card h4 { font-size: 16px; margin: 14px 0 8px; }
.card p { font-size: 14px; color: var(--text-secondary); margin: 0; }
.card .btn-ghost { margin-top: 14px; padding: 8px 16px; font-size: 13px; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; padding: 5px 12px;
  border-radius: 8px; background: var(--accent-tint-bg); color: var(--accent-tint-text);
  margin-bottom: 10px;
}

/* callout */
.callout {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 20px 24px; margin: 8px 0 0;
}
.callout p { flex: 1; min-width: 240px; font-size: 14px; color: var(--text-secondary); margin: 0; }
.callout a { font-size: 14px; color: var(--accent); text-decoration: none; font-weight: 700; }
.callout i.lead { font-size: 24px; color: var(--text-secondary); }

/* compliance strip */
.compliance {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px 24px; margin-top: 20px;
}
.compliance .label { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; }
.badges-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.compliance .note { font-size: 13px; color: var(--text-muted); margin: 0; }

/* faq */
.faq-item { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 20px; margin-bottom: 12px; }
.faq-item h4 { font-size: 15px; margin: 0 0 8px; }
.faq-item p { font-size: 14px; color: var(--text-secondary); margin: 0; }

/* spectrum bar (delivery models) */
.spectrum { display: flex; gap: 4px; height: 12px; border-radius: 8px; overflow: hidden; margin: 30px 0 24px; }
.spectrum div { flex: 1; }
.spec-a { background: var(--accent); }
.spec-b { background: #6d7d5b; }
.spec-c { background: #45463f; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 48px 0 24px; margin-top: 24px; }
footer a { text-decoration: none; color: var(--text-muted); }
footer a:hover { color: var(--accent); }

.footer-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding-bottom: 36px;
}
@media (max-width: 820px) { .footer-top { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer-label { font-size: 13px; color: var(--text-muted); margin: 0 0 8px; }
.footer-strong { display: inline-block; font-family: 'Space Grotesk', Arial, sans-serif; font-size: 17px; font-weight: 700; color: var(--text); text-decoration: none; }
.footer-strong.accent-link { color: var(--accent); }
.footer-strong:hover { color: var(--accent); }
.footer-address { font-size: 14px; color: var(--text-secondary); margin: 0 0 10px; line-height: 1.5; }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  padding: 24px 0; border-top: 1px solid var(--line);
}
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-logo { display: block; width: 126px; height: auto; }
.footer-motto { font-size: 12px; color: var(--text-muted); font-style: italic; white-space: nowrap; }
.footer-brand .brand-word { font-size: 18px; }
.footer-nav { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.footer-nav a { color: var(--text-secondary); }
.footer-nav a:hover { color: var(--accent); }
.footer-nav span { color: var(--text-muted); }

.footer-copyright { padding-top: 4px; text-align: left; }
.footer-copyright p { font-size: 13px; color: var(--text-muted); margin: 0; }

.center { text-align: center; }
.max-560 { max-width: 560px; margin-left: auto; margin-right: auto; }

/* cta banner (sage, full-bleed — visual break from the dark theme) */
.cta-banner {
  background: var(--accent);
  margin-top: 8px;
}
.cta-banner .wrap {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 0;
  padding-bottom: 0;
}
.cta-banner-text {
  flex: 1;
  min-width: 280px;
  padding: 56px 0;
  align-self: center;
}
.cta-banner-text h2 { color: var(--accent-on-dark-text); font-size: 34px; line-height: 1.2; margin: 0 0 14px; }
.cta-banner-text p { color: #33402a; font-size: 16px; margin: 0 0 24px; }
.cta-banner-text .btn-primary { background: var(--accent-on-dark-text); color: var(--accent); }
.cta-banner-text .btn-primary:hover { background: #2b3524; }
.cta-banner-photo { flex: 0 0 280px; display: flex; align-items: flex-end; justify-content: center; }
.cta-banner-photo img { max-height: 320px; width: auto; display: block; }
@media (max-width: 700px) { .cta-banner-photo { display: none; } }

/* team grid (about page) */
.team-card { text-align: left; }
.team-card img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; margin-bottom: 14px; background: var(--bg-card-hover); }
.team-card .role { font-size: 13px; color: var(--accent); font-weight: 700; margin: 4px 0 10px; }
.team-card p.bio { font-size: 14px; color: var(--text-secondary); margin: 0; }

/* contact form (mockup only, non-functional) */
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 8px; }
.contact-form .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .contact-form { grid-template-columns: 1fr; } }
.form-field label { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 6px; }
.form-field input, .form-field textarea {
  width: 100%; background: var(--bg-card); border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 11px 14px; font-size: 14px; color: var(--text); font-family: inherit;
}
.form-field textarea { resize: vertical; min-height: 90px; }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--accent); }

.company-block { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 12px; }
@media (max-width: 620px) { .company-block { grid-template-columns: 1fr; } }
.company-block h5 { font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.4px; margin: 0 0 12px; }
.company-block p { font-size: 14px; color: var(--text-secondary); margin: 0 0 6px; }

/* flow row (How you can work with us — arrows between blocks) */
.flow-row { display: flex; align-items: stretch; gap: 0; }
.flow-row .card { flex: 1; }
.flow-arrow { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; padding: 0 12px; color: var(--text-muted); font-size: 20px; }
@media (max-width: 820px) {
  .flow-row { flex-direction: column; gap: 4px; }
  .flow-arrow { padding: 4px 0; transform: rotate(90deg); }
}

/* solution card template: figure + description + 2 accordions */
.solution-block { display: grid; grid-template-columns: 240px 1fr; gap: 26px; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; margin-bottom: 20px; }
@media (max-width: 780px) { .solution-block { grid-template-columns: 1fr; } }
.solution-figure { border-radius: var(--radius); background: var(--bg-card-hover); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 20px; text-align: center; min-height: 160px; }
.solution-figure i { font-size: 34px; color: var(--accent); }
.solution-figure .fig-stat { font-family: 'Space Grotesk', Arial, sans-serif; font-weight: 700; font-size: 22px; color: var(--text); margin-top: 4px; }
.solution-figure .fig-label { font-size: 12px; color: var(--text-muted); }
.solution-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.solution-body h3 { font-size: 19px; margin: 0 0 8px; }
.solution-body > p.desc { font-size: 14px; color: var(--text-secondary); margin: 0 0 14px; }
.accordion { border-top: 1px solid var(--line); padding: 12px 0; }
.accordion summary { cursor: pointer; font-weight: 700; color: var(--text); font-size: 14px; list-style: none; display: flex; align-items: center; justify-content: space-between; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 18px; color: var(--accent); font-weight: 400; }
.accordion[open] summary::after { content: "\2212"; }
.accordion .acc-body { padding-top: 10px; font-size: 14px; color: var(--text-secondary); }
.accordion .acc-body ul { margin: 0; padding-left: 18px; }
.accordion .acc-body li { margin-bottom: 6px; }
.domain-label { font-size: 13px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.4px; margin: 36px 0 14px; }
.domain-label:first-of-type { margin-top: 0; }

/* compliance stamps (Bonitoo-identity ISO/IEC/NIS2 marks) */
.stamp-row { display: flex; gap: 28px; flex-wrap: wrap; align-items: flex-start; margin: 4px 0 16px; }
.stamp { text-align: center; }
.stamp svg { display: block; }

/* live stack widget (critical infrastructure / Energy) */
.live-stack { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 22px; max-width: 480px; margin: 8px auto 0; }
.live-stack-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-size: 11px; letter-spacing: 0.5px; color: var(--text-muted); font-family: 'Space Grotesk', Arial, sans-serif; text-transform: uppercase; }
.ls-status { display: flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 700; }
.ls-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: ls-pulse 1.4s ease-in-out infinite; }
@keyframes ls-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.35; transform: scale(0.75); } }
.live-stack-row { display: flex; align-items: center; gap: 14px; background: var(--bg-card-hover); border-radius: var(--radius); padding: 12px 14px; }
.ls-icon { flex: 0 0 auto; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: var(--accent-tint-bg); color: var(--accent); border-radius: 8px; font-size: 12px; font-weight: 700; font-family: 'Space Grotesk', Arial, sans-serif; }
.ls-info { flex: 1; font-size: 14px; color: var(--text); }
.ls-info .ls-sub { display: block; font-size: 12px; color: var(--text-muted); font-weight: 400; margin-top: 1px; }
.ls-metric { font-family: 'Space Grotesk', Arial, sans-serif; font-weight: 700; color: var(--text); font-size: 16px; white-space: nowrap; }
.ls-metric .ls-unit { font-size: 11px; color: var(--text-muted); font-weight: 400; margin-left: 2px; }
.ls-connector { position: relative; height: 18px; margin-left: 30px; width: 1px; border-left: 2px dashed var(--line-strong); }
.ls-flow { position: absolute; left: -4px; top: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); opacity: 0; animation: ls-flow 1.8s linear infinite; }
@keyframes ls-flow { 0% { top: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

/* partners & clients logo strip (homepage) */
.partners { padding: 60px 0; text-align: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.partners h2 { font-size: 30px; margin: 0 0 14px; }
.partners .quote { font-size: 14px; color: var(--text-secondary); margin: 0 0 10px; }
.partners .case-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--accent); text-decoration: none; }
.partners .case-link:hover { color: var(--accent-tint-text); }
.logo-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 40px; }
.logo-card {
  background: #fff; border-radius: 12px; padding: 16px 26px;
  display: flex; align-items: center; justify-content: center;
  min-width: 140px; height: 64px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.logo-card img { max-height: 28px; max-width: 130px; object-fit: contain; display: block; }
a.logo-card { cursor: pointer; }
a.logo-card:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(0,0,0,0.35); }
.logo-card.dark { background: var(--bg-card-hover); border: 1px solid var(--line-strong); }
.logo-card.dark img { max-height: 24px; }

/* whole-card link affordance: cards that redirect on click keep a "See X" text cue,
   styled the same as before but no longer a separate nested <a> (the whole .card is the link) */
a.card { text-decoration: none; display: block; }
.card .card-cue { display: inline-block; margin-top: 8px; color: var(--accent); font-size: 14px; font-weight: 400; }

/* blog (All / Success Stories / Our blog / News / Technology) */
.blog-tabs { display: flex; gap: 22px; flex-wrap: wrap; margin: 8px 0 32px; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.blog-tabs a { font-size: 14px; font-weight: 700; color: var(--text-secondary); text-decoration: none; padding-bottom: 4px; border-bottom: 2px solid transparent; }
.blog-tabs a:hover { color: var(--text); }
.blog-tabs a.active { color: var(--accent); border-bottom-color: var(--accent); }

.post-list { display: flex; flex-direction: column; gap: 14px; }
.post-card { display: flex; gap: 20px; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; text-decoration: none; }
.post-card:hover { border-color: var(--line-strong); }
.post-card:hover h3 { color: var(--accent); }
.post-card .post-thumb { flex: 0 0 96px; height: 96px; border-radius: var(--radius); background: var(--bg-card-hover); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.post-card .post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .post-thumb i { font-size: 30px; color: var(--accent); }
.post-card .post-body { flex: 1; min-width: 0; }
.post-card .post-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
.post-card .post-meta .badge { margin: 0 6px 0 0; padding: 3px 9px; font-size: 11px; }
.post-card h3 { font-size: 17px; margin: 0 0 8px; }
.post-card p { font-size: 14px; color: var(--text-secondary); margin: 0; }
.post-empty { padding: 48px 0; color: var(--text-muted); font-size: 15px; text-align: center; }

/* post detail article */
.article { max-width: 720px; margin: 0 auto; }
.article .post-meta { font-size: 13px; color: var(--text-muted); margin-bottom: 22px; }
.article .post-meta .badge { margin-right: 8px; }
.article h1 { margin-bottom: 10px; }
.article .subtitle { font-size: 17px; color: var(--text-secondary); margin: 0 0 24px; }
.article h3 { font-size: 19px; margin: 30px 0 10px; }
.article p { font-size: 15px; color: var(--text-secondary); margin: 0 0 16px; }
.article ul { padding-left: 20px; margin: 0 0 16px; }
.article li { margin-bottom: 6px; font-size: 15px; color: var(--text-secondary); }
.article img.article-img { width: 100%; border-radius: var(--radius-lg); margin: 18px 0; display: block; }
.article .info-box { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 20px; margin: 22px 0; font-size: 14px; }
.article .info-box p { margin: 0 0 6px; color: var(--text-secondary); }
.article .info-box p:last-child { margin-bottom: 0; }
.article-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; max-width: 720px; margin-left: auto; margin-right: auto; }
.article-nav a { color: var(--accent); text-decoration: none; font-weight: 700; }
.article-nav a:hover { color: var(--accent-tint-text); }

/* stat strip (about page) */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
@media (max-width: 620px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-num { font-family: 'Space Grotesk', Arial, sans-serif; font-weight: 700; color: var(--accent); font-size: 32px; }
.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

.legal-hero { padding-top: 64px; padding-bottom: 12px; }
.legal-hero h1 { max-width: 880px; }
.legal-meta { color: var(--text-muted); font-size: 14px; margin-top: 18px; }
.legal-content { max-width: 900px; padding-top: 18px; }
.legal-content h2 { margin-top: 44px; margin-bottom: 14px; font-size: 26px; }
.legal-content p { color: var(--text-secondary); line-height: 1.75; margin: 0 0 14px; }
.legal-content strong { color: var(--text); }
