/* HoneyPlan static page styles landing, blog, shared nav/footer */
:root {
  --hp-bg: #fdf9f2;
  --hp-bg-soft: #fdf9f2;
  --hp-bg-panel: #dfdcd1;
  --hp-bg-panel-dark: #cdc8bb;
  --hp-nav: #fdf9f2;
  --hp-text: #1a063c;
  --hp-text-muted: #67518d;
  --hp-text-light: #9a9590;
  --hp-accent: #1a1a2e;
  --hp-gold: #d6b15a;
  --hp-sage: #a2a781;
  --hp-teal: #1e5a6e;
  --hp-teal-hover: #26718a;
  --hp-success: #93c47d;
  --hp-danger: #c0392b;
}

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

body {
  font-family: 'Roboto', 'Segoe UI', system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--hp-text);
  background: var(--hp-bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--hp-teal);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* ── Nav ── */
.site-nav {
  background: var(--hp-nav);
  border-bottom: 2px solid var(--hp-gold);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.6rem 0;
}
.site-nav .inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.site-nav .brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--hp-gold);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}
.site-nav .brand:hover {
  text-decoration: none;
}
.site-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
}
.site-nav .nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--hp-text);
  padding: 0.35rem 0.85rem;
  border-radius: 4px;
  transition:
    background 0.15s,
    color 0.15s;
  text-decoration: none;
}
.site-nav .nav-links a:hover {
  color: var(--hp-teal);
  background: rgba(30, 90, 110, 0.08);
}
.site-nav .nav-links a.active {
  color: var(--hp-gold);
  font-weight: 600;
  background: #1a1a2e;
}
.site-nav .nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.45rem 1.1rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.15s,
    color 0.15s;
}
.btn-sm {
  padding: 0.3rem 0.75rem;
  font-size: 0.8rem;
}
.btn-lg {
  padding: 0.65rem 1.5rem;
  font-size: 1rem;
}
.btn-gold {
  background: var(--hp-gold);
  color: #2f261d !important;
  border-color: var(--hp-gold);
}
.btn-gold:hover {
  background: #c9a14e;
  text-decoration: none;
}
.btn-teal {
  background: var(--hp-teal);
  color: #fff !important;
  border-color: var(--hp-teal);
}
.btn-teal:hover {
  background: var(--hp-teal-hover);
  text-decoration: none;
}
.btn-outline {
  border-color: var(--hp-teal);
  color: var(--hp-teal);
  background: transparent;
}
.btn-outline:hover {
  background: var(--hp-teal);
  color: #fff !important;
  text-decoration: none;
}
.btn-outline-sm {
  border-color: var(--hp-teal);
  color: var(--hp-teal);
  background: transparent;
  padding: 0.25rem 0.65rem;
  font-size: 0.78rem;
  border-radius: 4px;
  border: 1px solid;
}
.btn-outline-sm:hover {
  background: var(--hp-teal);
  color: #fff;
  text-decoration: none;
}

/* ── Container ── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.container-sm {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ── Footer ── */
.site-footer {
  background: var(--hp-accent);
  border-top: 2px solid var(--hp-gold);
  padding: 2.5rem 0 1.5rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 4rem;
}
.site-footer a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}
.site-footer a:hover {
  color: var(--hp-gold);
  text-decoration: none;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--hp-gold);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.75rem;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
}

/* ── Utilities ── */
.text-gold {
  color: var(--hp-gold);
}
.text-teal {
  color: var(--hp-teal);
}
.text-muted {
  color: var(--hp-text-muted);
}
.fw-bold {
  font-weight: 700;
}
.fw-800 {
  font-weight: 800;
}
.me-2 {
  margin-right: 0.5rem;
}
.mt-1 {
  margin-top: 0.25rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-3 {
  margin-top: 1rem;
}
.mt-4 {
  margin-top: 1.5rem;
}
.mt-5 {
  margin-top: 3rem;
}
.mb-1 {
  margin-bottom: 0.25rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-3 {
  margin-bottom: 1rem;
}
.mb-4 {
  margin-bottom: 1.5rem;
}
.mb-5 {
  margin-bottom: 3rem;
}
.py-4 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.py-5 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.text-center {
  text-align: center;
}
.d-flex {
  display: flex;
}
.align-items-center {
  align-items: center;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 1rem;
}
.flex-wrap {
  flex-wrap: wrap;
}

/* ── Grid ── */
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.col-half {
  flex: 1 1 300px;
}
.col-third {
  flex: 1 1 260px;
}
.col-two-thirds {
  flex: 2 1 400px;
}

/* ── Cards ── */
.card {
  background: #fff;
  border: 1px solid var(--hp-bg-panel);
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(47, 38, 29, 0.07);
  padding: 1.5rem;
}

/* ── Section styles ── */
.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--hp-teal);
  margin-bottom: 0.5rem;
}
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: var(--hp-text);
  line-height: 1.2;
}
h1.section-title {
  font-size: 2.4rem;
}
h2.section-title {
  font-size: 1.9rem;
}
h3.section-title {
  font-size: 1.4rem;
}
.section-sub {
  font-size: 1rem;
  color: var(--hp-text-muted);
  line-height: 1.6;
  margin-top: 0.75rem;
}

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--hp-bg) 0%, #f3ede0 100%);
  border-bottom: 2px solid var(--hp-gold);
  padding: 5rem 0 4rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.hero-note {
  font-size: 0.78rem;
  color: var(--hp-text-muted);
  margin-top: 0.75rem;
}

/* ── Feature icon ── */
.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: rgba(30, 90, 110, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--hp-teal);
  margin-bottom: 0.85rem;
  flex-shrink: 0;
}

/* ── CTA banner ── */
.cta-banner {
  background: linear-gradient(135deg, #1a1a2e 0%, #2a1a3e 100%);
  padding: 4rem 0;
  text-align: center;
}
.cta-banner h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--hp-gold);
}
.cta-banner p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  margin: 0.75rem 0 2rem;
}

/* ── FAQ ── */
.faq-item {
  border-bottom: 1px solid var(--hp-bg-panel);
  padding: 1.1rem 0;
}
.faq-item:first-child {
  border-top: 1px solid var(--hp-bg-panel);
}
.faq-q {
  font-weight: 700;
  color: var(--hp-text);
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-q::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--hp-gold);
  flex-shrink: 0;
}
.faq-item.open .faq-q::after {
  content: '−';
}
.faq-a {
  font-size: 0.88rem;
  color: var(--hp-text-muted);
  margin-top: 0.6rem;
  line-height: 1.65;
  display: none;
}
.faq-item.open .faq-a {
  display: block;
}

/* ── Blog list ── */
.post-card {
  display: block;
  text-decoration: none;
}
.post-card:hover {
  text-decoration: none;
}
.post-card:hover .post-title {
  color: var(--hp-teal);
}
.post-date {
  font-size: 0.75rem;
  color: var(--hp-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.post-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--hp-text);
  margin: 0.35rem 0;
  transition: color 0.15s;
}
.post-excerpt {
  font-size: 0.875rem;
  color: var(--hp-text-muted);
  line-height: 1.55;
}
.post-read-more {
  font-size: 0.8rem;
  color: var(--hp-teal);
  font-weight: 600;
  margin-top: 0.75rem;
  display: inline-block;
}

/* ── Case studies ── */
.flair {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 10px;
  border-radius: 12px;
  background: rgba(30, 90, 110, 0.1);
  color: var(--hp-teal);
  white-space: nowrap;
}
.flair-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}
.flair-filter .flair {
  cursor: pointer;
  border: 1px solid transparent;
  font-size: 0.75rem;
  padding: 4px 14px;
}
.flair-filter .flair:hover {
  border-color: var(--hp-teal);
}
.flair-filter .flair.active {
  background: var(--hp-teal);
  color: #fff;
}
.case-question {
  background: rgba(214, 177, 90, 0.08);
  border-left: 4px solid var(--hp-gold);
  border-radius: 0 8px 8px 0;
  padding: 1.1rem 1.4rem;
  margin: 1.25rem 0 1.5rem;
  font-size: 0.95rem;
  line-height: 1.7;
  font-style: italic;
}
.case-question .asker {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.78rem;
  font-style: normal;
  color: var(--hp-text-muted);
}
.case-embed {
  /* Break out of the 700px prose column to the full page width */
  width: min(1140px, calc(100vw - 2.5rem));
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  height: 620px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 10px;
  background: #fff;
  margin: 1rem 0 0.35rem;
}
.case-embed-hint {
  font-size: 0.78rem;
  color: var(--hp-text-muted);
  margin-bottom: 1.5rem;
}
.author-box {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--hp-bg-soft, rgba(0, 0, 0, 0.03));
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin-top: 2rem;
}
.author-box .author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--hp-teal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}
.author-box h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0 0 0.3rem;
  color: var(--hp-text);
}
.author-box p {
  font-size: 0.85rem !important;
  color: var(--hp-text-muted) !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}
.case-results-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.9rem;
}
.case-results-table th,
.case-results-table td {
  padding: 8px 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  text-align: right;
}
.case-results-table th:first-child,
.case-results-table td:first-child {
  text-align: left;
}
.case-results-table thead th {
  background: var(--hp-teal);
  color: #fff;
  font-weight: 600;
}
.case-results-table tbody tr {
  background: #fff;
}
/* Insight figure: screenshot card under an insight paragraph. Drop a real
   <img> in place of the .insight-figure-placeholder div when ready. */
.insight-figure {
  margin: 1rem 0 1.75rem;
}
.insight-figure img {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(47, 38, 29, 0.08);
  display: block;
}
.insight-figure-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 220px;
  border: 2px dashed var(--hp-bg-panel-dark);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.02);
  color: var(--hp-text-light);
  padding: 1.5rem;
  text-align: center;
}
.insight-figure-placeholder i {
  font-size: 2rem;
  opacity: 0.5;
}
.insight-figure-placeholder span {
  font-size: 0.8rem;
  max-width: 420px;
  line-height: 1.5;
}
.insight-figure figcaption {
  font-size: 0.78rem;
  color: var(--hp-text-muted);
  margin-top: 0.5rem;
  text-align: center;
}
/* ── Blog post prose ── */
.case-study .container {
  background-color: #fff;
}

.prose {
  margin: 0 auto;
}
.prose h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--hp-text);
  line-height: 1.25;
  margin-bottom: 0.5rem;
}
.prose h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--hp-text);
  margin: 2rem 0 0.6rem;
}
.prose h3 {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--hp-text);
  margin: 1.5rem 0 0.4rem;
}
.prose p {
  font-size: 0.95rem;
  color: var(--hp-text);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.prose ul,
.prose ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.prose li {
  font-size: 0.95rem;
  color: var(--hp-text);
  line-height: 1.7;
  margin-bottom: 0.3rem;
}
.prose strong {
  font-weight: 700;
}
.prose a {
  color: var(--hp-teal);
}
.prose a:hover {
  text-decoration: underline;
}
.prose .post-meta {
  font-size: 0.78rem;
  color: var(--hp-text-muted);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--hp-bg-panel);
}
.prose blockquote {
  border-left: 3px solid var(--hp-gold);
  padding: 0.5rem 1rem;
  background: rgba(214, 177, 90, 0.07);
  margin: 1.25rem 0;
  font-style: italic;
  color: var(--hp-text-muted);
}

/* ── Demo preview table (landing hero) ── */
.plan-preview {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--hp-bg-panel);
  box-shadow: 0 8px 32px rgba(26, 6, 60, 0.12);
}
.plan-preview-bar {
  background: var(--hp-bg-panel);
  border-bottom: 1px solid var(--hp-bg-panel-dark);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.dot-r {
  background: #ff5f57;
}
.dot-y {
  background: #ffbd2e;
}
.dot-g {
  background: #28c840;
}
.plan-preview-label {
  font-size: 0.72rem;
  color: var(--hp-text-muted);
  margin-left: 6px;
}
.preview-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}
.preview-table th {
  background: #79799b;
  color: #fff;
  font-weight: 600;
  padding: 7px 10px;
  text-align: left;
  white-space: nowrap;
}
.preview-table th.inc {
  background: #a2a781;
}
.preview-table th.exp {
  background: #9a6444;
}
.preview-table td {
  padding: 6px 10px;
  border-bottom: 1px solid var(--hp-bg-panel);
  white-space: nowrap;
}
.preview-table tr:last-child td {
  border-bottom: none;
}
.preview-table tr:nth-child(even) td {
  background: #f7f3eb;
}
.t-pos {
  color: #2e7d32;
  font-weight: 600;
}
.t-neg {
  color: #c0392b;
  font-weight: 600;
}
.t-bal {
  color: #2e7d32;
  font-weight: 700;
}
.t-mono {
  font-variant-numeric: tabular-nums;
}
.scenario-pill {
  background: #1e5a6e;
  border-color: #1e5a6e;
  color: #fff;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
}
/* ── Responsive ── */
@media (max-width: 768px) {
  h1.section-title {
    font-size: 1.75rem;
  }
  h2.section-title {
    font-size: 1.45rem;
  }
  .hero {
    padding: 3rem 0 2.5rem;
  }
  .row {
    gap: 1rem;
  }
  .site-nav .nav-links {
    display: none;
  }
  .footer-inner {
    flex-direction: column;
    gap: 1.5rem;
  }
}
