/* ============================================================
   Volboo — landing SUB-PAGES (products, company, resources)

   Loads AFTER landing-styles.css and adds only what the marketing
   sub-pages need. Everything below is built from the landing's own
   tokens (--mint, --green-hero, --feature-card, --text-muted …), so
   both themes come for free and the pages can never drift from the
   landing's palette.
   ============================================================ */

/* ------------------------------------------------------------
   Page hero — the landing hero, shortened

   Sub-pages keep the deep-green hero for one practical reason: the
   nav pill is fixed and light, so it needs a dark band to sit on.
   ------------------------------------------------------------ */
.page-hero {
  padding-bottom: clamp(44px, 6vw, 78px);
}

.page-hero-body {
  text-align: center;
  max-width: 800px;
  margin-inline: auto;
  padding-top: clamp(46px, 6.6vw, 92px);
}

.eyebrow {
  display: inline-block;
  color: var(--mint);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.page-hero h1 {
  font-size: clamp(1.95rem, 4.4vw, 3.35rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.page-hero h1 em {
  font-style: normal;
  color: var(--mint);
}

.page-hero .lede {
  max-width: 610px;
  margin: 16px auto 0;
  color: #c2cdc6;
  font-size: clamp(0.94rem, 1.3vw, 1.06rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}
.btn-ghost {
  border: 1.6px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 12px 26px;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); }

/* Hero stat strip (about / partners) */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(24px, 5vw, 64px);
  margin-top: clamp(34px, 5vw, 56px);
  padding-top: clamp(24px, 3vw, 36px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-stat strong {
  display: block;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}
.hero-stat span {
  font-size: 0.82rem;
  color: #a9b8b0;
}

/* ------------------------------------------------------------
   Section rhythm
   ------------------------------------------------------------ */
.section { padding: clamp(44px, 6vw, 84px) 0; }
.section.tight { padding: clamp(30px, 4vw, 54px) 0; }

.section-head {
  max-width: 680px;
  margin: 0 auto clamp(26px, 3.6vw, 44px);
  text-align: center;
}
.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.section-head p {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: clamp(0.92rem, 1.2vw, 1.02rem);
}
.section-head.left {
  text-align: left;
  margin-inline: 0;
}

/* Tinted full-bleed panel, same treatment as the landing's features */
.panel {
  margin: 0 12px;
  background: var(--features-panel);
  border-radius: 36px;
  padding: clamp(32px, 4.8vw, 68px) clamp(16px, 3vw, 46px);
  transition: background-color .35s ease;
}
[data-theme="dark"] .panel { border: 1px solid rgba(255, 255, 255, 0.04); }
.panel-inner {
  max-width: 1240px;
  margin-inline: auto;
}

/* ------------------------------------------------------------
   Cards
   ------------------------------------------------------------ */
.card-grid { display: grid; gap: clamp(14px, 1.7vw, 24px); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

.info-card {
  font-family: "Sora", "Inter", sans-serif;
  background: var(--feature-card);
  border-radius: 22px;
  padding: 28px 26px;
  transition: background-color .35s ease, transform .3s ease, box-shadow .3s ease;
}
.info-card:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(10, 45, 30, 0.10); }
.info-card h3 {
  font-size: 1.14rem;
  font-weight: 500;
  color: var(--feature-title);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.info-card p {
  color: var(--feature-text);
  font-size: 0.92rem;
  font-weight: 300;
}

/* Card on an untinted background needs its own surface */
.plain-card {
  background: var(--faq-row);
  border-radius: 22px;
  padding: 26px 24px;
  transition: background-color .35s ease;
}

.card-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--green-deep);
  color: #dff3e8;
  display: grid; place-items: center;
  margin-bottom: 16px;
}
[data-theme="dark"] .card-icon { background: #0e5138; }
.card-icon svg { width: 21px; height: 21px; }

/* ------------------------------------------------------------
   Numbered steps
   ------------------------------------------------------------ */
.steps { display: grid; gap: 18px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step-num {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--mint);
  color: #0d241a;
  font-weight: 700;
  font-size: 0.86rem;
}
.step h3 {
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.step p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ------------------------------------------------------------
   Two-column split (copy + media)
   ------------------------------------------------------------ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 62px);
  align-items: center;
}
.split.narrow-media { grid-template-columns: 1fr 0.85fr; }
.split h2 {
  font-size: clamp(1.4rem, 2.6vw, 2.05rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.split > div > p { color: var(--text-muted); }
.split-media img {
  width: 100%;
  border-radius: 26px;
}
.split-media.framed img {
  border: 6px solid var(--frame-border);
  background: var(--frame-border);
  border-radius: 22px;
}

.checklist { display: grid; gap: 12px; margin-top: 20px; }
.checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.94rem;
}
.checklist li::before {
  content: "";
  flex: none;
  width: 18px; height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%230d241a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.checklist strong { font-weight: 600; }

/* ------------------------------------------------------------
   Code block (developer page)
   ------------------------------------------------------------ */
.code-block {
  background: var(--green-hero);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #8fb3a2;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.code-block pre {
  margin: 0;
  padding: 18px;
  overflow-x: auto;
  color: #d7e6de;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  line-height: 1.7;
  tab-size: 2;
}
.code-block .c { color: #7d968a; }   /* comment  */
.code-block .k { color: #34d399; }   /* keyword  */
.code-block .s { color: #ded8f1; }   /* string   */

/* ------------------------------------------------------------
   Pricing
   ------------------------------------------------------------ */
.price-card {
  display: flex;
  flex-direction: column;
  background: var(--feature-card);
  border-radius: 26px;
  padding: 30px 28px;
  transition: background-color .35s ease;
}
.price-card.accent {
  background: var(--green-hero);
  color: #fff;
}
.price-card.accent .price-unit,
.price-card.accent .price-desc { color: #a9b8b0; }
.price-provider {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mint-strong);
  margin-bottom: 14px;
}
.price-card.accent .price-provider { color: var(--mint); }
.price-figure {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.price-unit { font-size: 0.86rem; color: var(--feature-text); margin-top: 6px; }
.price-desc { color: var(--feature-text); font-size: 0.92rem; margin-top: 14px; }
.price-card .btn { margin-top: 22px; align-self: flex-start; }

.fee-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.fee-table th {
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0 16px 12px;
}
.fee-table td {
  padding: 15px 16px;
  border-top: 1px solid var(--frame-border);
  vertical-align: top;
}
.fee-table tr td:last-child { text-align: right; font-weight: 600; white-space: nowrap; }
.table-scroll { overflow-x: auto; }

/* ------------------------------------------------------------
   Contact
   ------------------------------------------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.contact-line {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--frame-border);
}
.contact-line:last-child { border-bottom: none; }
.contact-line .card-icon { margin-bottom: 0; width: 40px; height: 40px; }
.contact-line h3 { font-size: 0.95rem; font-weight: 600; }
.contact-line p, .contact-line address {
  font-style: normal;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 3px;
}
.contact-line a:hover { color: var(--mint-strong); }

.form-card {
  background: var(--faq-row);
  border-radius: 26px;
  padding: clamp(22px, 3vw, 34px);
}
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { font-size: 0.8rem; font-weight: 600; }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.92rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--frame-border);
  border-radius: 14px;
  padding: 11px 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--mint-strong);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.18);
}
.form-note { font-size: 0.78rem; color: var(--text-muted); margin-top: 12px; }
.btn-submit {
  background: var(--mint);
  color: #0d241a;
  padding: 12px 30px;
  font-size: 0.95rem;
}

/* ------------------------------------------------------------
   Blog
   ------------------------------------------------------------ */
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--faq-row);
  border-radius: 22px;
  overflow: hidden;
  transition: background-color .35s ease, transform .3s ease;
}
.post-card:hover { transform: translateY(-4px); }
.post-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-body { padding: 22px 24px 26px; }
.post-meta {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.post-card h3 { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; }
.post-card p { color: var(--text-muted); font-size: 0.92rem; margin-top: 8px; }

.empty-state {
  text-align: center;
  padding: clamp(38px, 6vw, 72px) 24px;
  border: 1px dashed var(--frame-border);
  border-radius: 26px;
}
.empty-state .card-icon { margin: 0 auto 18px; }
.empty-state h3 { font-size: 1.15rem; font-weight: 600; }
.empty-state p {
  color: var(--text-muted);
  max-width: 460px;
  margin: 10px auto 22px;
  font-size: 0.94rem;
}

/* ------------------------------------------------------------
   Closing CTA band
   ------------------------------------------------------------ */
.cta-band {
  margin: 0 12px clamp(28px, 4vw, 48px);
  border-radius: 36px;
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(52, 211, 153, 0.12), transparent 58%),
    var(--green-hero);
  color: #fff;
  text-align: center;
  padding: clamp(38px, 5.2vw, 74px) clamp(20px, 4vw, 56px);
}
.cta-band h2 {
  font-size: clamp(1.55rem, 3.2vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.025em;
}
.cta-band p {
  max-width: 520px;
  margin: 14px auto 26px;
  color: #c2cdc6;
  font-size: clamp(0.94rem, 1.2vw, 1.04rem);
}

/* ------------------------------------------------------------
   Prose (legal-style copy, blog bodies)
   ------------------------------------------------------------ */
.prose { max-width: 760px; }
.prose h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 34px 0 12px;
}
.prose p { color: var(--text-muted); margin-bottom: 14px; }
.prose ul { display: grid; gap: 8px; margin: 0 0 16px 20px; list-style: disc; }
.prose li { color: var(--text-muted); }
.prose a { color: var(--mint-strong); border-bottom: 1px solid currentColor; }

/* Current page marker in the shared nav */
.nav-link.is-current { opacity: 1; font-weight: 700; }
.dropdown a.is-current { color: var(--mint-strong); font-weight: 600; }

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 1100px) {
  .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .split, .split.narrow-media, .contact-grid { grid-template-columns: 1fr; }
  .split-media { order: -1; }
}

@media (max-width: 680px) {
  .page-hero { padding-top: 92px; }
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px 32px; }
  .cta-band, .panel { margin-inline: 8px; border-radius: 28px; }
}
