/*
Theme Name: Vidifye
Theme URI: https://vidifye.com/
Author: Vidifye
Description: Vidifye blog (vidifye.com/b) — wp-boiler block theme in the vidifye.com home-v2 look.
Requires at least: 6.7
Tested up to: 6.9
Requires PHP: 7.4
Version: 0.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vidifye
Tags: full-site-editing, block-patterns, custom-colors, custom-logo, custom-menu, editor-style, wide-blocks
*/

:root {
  --brand-primary: #f04f38;
  --brand-primary-dark: #c93a26;
  --brand-primary-light: #fde6e1;
  --brand-base: #ffffff;
  --brand-contrast: #1a2430;
  --brand-gray-100: #f8f9fa;
  --brand-gray-200: #edf0f3;
  --brand-gray-400: #8996a5;
  --brand-gray-700: #33475f;
  --brand-radius: 12px;
  --brand-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --brand-shadow-lg: 0 6px 28px rgba(0, 0, 0, 0.12);
}

html {
  scroll-behavior: smooth;
  /* clip instead of hidden: prevents horizontal scroll without creating a
     new scroll container, which would break position:sticky on the header */
  overflow-x: clip;
}

body {
  background: var(--brand-base);
  color: var(--brand-contrast);
  overflow-x: clip;
}

a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
}

:where(.wp-site-blocks) > * { margin-block-start: 0; }
:root :where(.is-layout-constrained) > * { margin-block-start: 0; }

:where(.wp-site-blocks *:focus) { outline: none; }
:where(.wp-site-blocks *:focus-visible) {
  outline: 2px solid var(--brand-primary);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ── Site header ─────────────────────────────────────────────── */
header.wp-block-template-part {
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header {
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--brand-gray-200);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  transition: padding 0.3s ease, box-shadow 0.3s ease,
              background 0.35s ease, border-color 0.35s ease;
}

.site-header.site-header--compact {
  padding-top: 0.35rem !important;
  padding-bottom: 0.35rem !important;
  background: rgba(255, 255, 255, 0.82) !important;
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom-color: rgba(0, 0, 0, 0.05) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

/* ── Page hero pattern ───────────────────────────────────────── */
.brand-page-hero {
  background: linear-gradient(135deg, var(--brand-primary-dark), var(--brand-primary));
  color: #fff;
  padding: 5rem 1.5rem 4rem;
  text-align: center;
}
.brand-page-hero__inner { max-width: 860px; margin: 0 auto; }
.brand-page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 1rem; }
.brand-page-hero__sub { font-size: 1.1rem; opacity: 0.9; }

/* ── Sections ────────────────────────────────────────────────── */
.brand-section { padding: 4rem 1.5rem; }
.brand-section--pale { background: var(--brand-gray-100); }
.brand-section__inner { max-width: 1200px; margin: 0 auto; }
.brand-section__title { text-align: center; margin: 0 0 2rem; font-size: clamp(1.6rem, 3vw, 2.2rem); }

.brand-kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-primary-dark);
  margin: 0 0 0.5rem;
}
.brand-kicker--center { text-align: center; }
.brand-kicker--light { color: rgba(255, 255, 255, 0.85); }

.brand-divider {
  width: 60px;
  height: 3px;
  background: rgba(255, 255, 255, 0.6);
  margin: 1.5rem auto 0;
}

/* ── Two-column ──────────────────────────────────────────────── */
.brand-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.brand-two-col--reversed .brand-two-col__img { order: -1; }
.brand-two-col__img img { width: 100%; height: auto; border-radius: var(--brand-radius); box-shadow: var(--brand-shadow); }
@media (max-width: 768px) {
  .brand-two-col { grid-template-columns: 1fr; gap: 2rem; }
  .brand-two-col--reversed .brand-two-col__img { order: 0; }
}

/* ── Blog: archive hero, post grid, single ───────────────────── */
.brand-archive-hero {
  background: linear-gradient(135deg, var(--brand-primary-dark), var(--brand-primary));
  color: #fff;
  padding: 3.5rem 1.5rem 3rem;
  text-align: center;
}
.brand-archive-hero__title { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0; color: inherit; }
.brand-archive-hero__sub { max-width: 640px; margin: 0.75rem auto 0; opacity: 0.9; }

.brand-blog-main { padding: 3rem 1.5rem 4rem; }

.brand-post-grid__list {
  /* Own the track sizing: core's columnCount + minimumColumnWidth formula
     varies across WP versions (7.x native responsive grid dropped to 2). */
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)) !important;
  gap: 1.75rem;
}
.brand-post-card {
  height: 100%;
  gap: 0 !important;
  background: var(--brand-base);
  border: 1px solid var(--brand-gray-200);
  border-radius: var(--brand-radius);
  box-shadow: var(--brand-shadow);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.brand-post-card:hover { transform: translateY(-3px); box-shadow: var(--brand-shadow-lg); }
.brand-post-card__img { margin: 0 !important; width: 100%; }
.brand-post-card__img img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.brand-post-card__body { padding: 1.1rem 1.25rem 1.3rem; gap: 0.5rem !important; flex: 1; }
.brand-post-card__terms a {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--brand-primary-dark); text-decoration: none;
}
.brand-post-card__title { font-size: 1.15rem; line-height: 1.3; margin: 0; }
.brand-post-card__title a { color: var(--brand-contrast); text-decoration: none; }
.brand-post-card__title a:hover { color: var(--brand-primary-dark); }
.brand-post-card__excerpt { font-size: 0.93rem; color: var(--brand-gray-700); margin: 0; }
.brand-post-card__excerpt .wp-block-post-excerpt__excerpt { margin: 0; }
.brand-post-card__date { font-size: 0.8rem; color: var(--brand-gray-400); margin-top: auto; }

.brand-pagination { margin-top: 2.5rem; gap: 0.4rem; }
.brand-pagination a, .brand-pagination .current {
  display: inline-block; min-width: 2.4rem; padding: 0.4rem 0.8rem; text-align: center;
  border: 1px solid var(--brand-gray-200); border-radius: 999px; text-decoration: none;
}
.brand-pagination .current { background: var(--brand-primary); border-color: var(--brand-primary); color: #fff; }

.brand-single { padding: 3rem 1.5rem 2rem; }
.brand-single__head { text-align: center; margin-bottom: 2rem; }
.brand-single__title { font-size: clamp(1.9rem, 4.5vw, 2.8rem); margin: 0.5rem 0 0.75rem; }
.brand-single__meta { justify-content: center; gap: 0.75rem; color: var(--brand-gray-400); font-size: 0.9rem; }
.brand-single__img img { border-radius: var(--brand-radius); }
.brand-single__content { margin-top: 2.5rem; font-size: 1.075rem; }
.brand-single__content img { max-width: 100%; height: auto; border-radius: var(--brand-radius); }
.brand-single__tags { margin-top: 2rem; font-size: 0.85rem; }
.brand-single__tags a {
  display: inline-block; padding: 0.2rem 0.7rem; margin: 0 0.2rem 0.3rem 0;
  background: var(--brand-gray-100); border-radius: 999px; text-decoration: none; color: var(--brand-gray-700);
}
.brand-single__tags .wp-block-post-terms__separator { display: none; }
.brand-comments { margin-top: 3rem; }

.brand-related-wrap { background: var(--brand-gray-100); padding: 3rem 1.5rem 4rem; }
.brand-related__title { text-align: center; margin: 0 0 2rem; }

/* ── Contact form ([*_contact_form] shortcode) ───────────────── */
.brand-contact { position: relative; }
.brand-contact__notice { padding: 0.85rem 1.1rem; border-radius: var(--brand-radius); margin-bottom: 1.25rem; font-weight: 600; }
.brand-contact__notice--ok { background: #e7f6ec; color: #1d6b38; }
.brand-contact__notice--err { background: #fdecea; color: #a1281a; }
.brand-contact-form { display: grid; gap: 1.1rem; }
.brand-contact-form__label { display: grid; gap: 0.35rem; font-weight: 600; font-size: 0.92rem; }
.brand-contact-form input[type="text"],
.brand-contact-form input[type="email"],
.brand-contact-form textarea {
  width: 100%; box-sizing: border-box; font: inherit; font-weight: 400;
  padding: 0.75rem 0.9rem; border: 1px solid var(--brand-gray-200); border-radius: var(--brand-radius);
  background: var(--brand-base); color: var(--brand-contrast);
}
.brand-contact-form input:focus, .brand-contact-form textarea:focus { border-color: var(--brand-primary); outline: 2px solid var(--brand-primary-light); }
.brand-contact-form__consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.88rem; }
.brand-contact-form__consent input { margin-top: 0.3rem; }
.brand-contact-form__submit {
  justify-self: start; border: 0; cursor: pointer; font: inherit; font-weight: 700;
  padding: 0.8rem 1.8rem; border-radius: 999px; background: var(--brand-primary); color: #fff;
}
.brand-contact-form__submit:hover { background: var(--brand-primary-dark); }

/* ════════════════════════════════════════════════════════════════
   Vidifye — home-v2 look (web/app/styles/components/home-v2.module.css)
   ════════════════════════════════════════════════════════════════ */

:root {
  --vf-night: #0b0f14;
  --vf-navy-900: #141c26;
  --vf-navy-800: #16212e;
  --vf-navy-700: #1f2b3a;
  --vf-slate: #33475f;
  --vf-slate-light: #5b6b7c;
  --vf-muted: #7d8a98;
  --vf-muted-dark: #8996a5;
  --vf-on-dark: #c3cdd9;
  --vf-yellow: #ffd24a;
  --vf-font-display: Poppins, Archivo, system-ui, sans-serif;
  --vf-font-body: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
}

body { font-family: var(--vf-font-body); -webkit-font-smoothing: antialiased; }

.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px;
  overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}

/* ── Buttons ──────────────────────────────────────────────────── */
.brand-btn {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.85rem 1.6rem;
  border-radius: 999px; font-family: var(--vf-font-display); font-weight: 700; font-size: 0.98rem;
  text-decoration: none; transition: background 0.15s ease, transform 0.15s ease;
}
.brand-btn--primary { background: var(--brand-primary); color: #fff; box-shadow: 0 4px 0 var(--brand-primary-dark); }
.brand-btn--primary:hover { background: #e04530; color: #fff; }
.brand-btn--ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.35); }
.brand-btn--ghost:hover { background: #fff; color: var(--brand-contrast); }

/* ── Header (mirrors AppShell) ────────────────────────────────── */
.site-header, header.wp-block-template-part { background: none; }
.brand-header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--brand-gray-200);
}
.brand-header__inner {
  max-width: 1240px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 16px; flex-wrap: nowrap;
}
.brand-header__logo { display: flex; align-items: center; flex: 0 0 auto; }
.brand-header__logo img { display: block; height: 34px; width: auto; }
.brand-header__logo-mark { display: none !important; }
.brand-header__search {
  flex: 1 1 160px; min-width: 0; max-width: 480px; display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid #e2e7ec; border-radius: 999px; padding: 8px 16px; color: var(--vf-muted);
}
.brand-header__search:focus-within { border-color: var(--brand-primary); }
.brand-header__search input {
  flex: 1 1 auto; min-width: 0; border: 0; outline: 0; background: none; padding: 0;
  font: 500 14px/20px var(--vf-font-body); color: var(--brand-contrast);
}
.brand-header__search input::placeholder { color: var(--vf-muted); opacity: 1; }
.brand-header__nav { display: flex; align-items: center; gap: 4px; flex: 1 1 auto; justify-content: flex-end; }
.brand-header__link {
  font: 700 14px var(--vf-font-body); color: var(--brand-contrast); text-decoration: none;
  padding: 8px 12px; border-radius: 9px; white-space: nowrap;
}
.brand-header__link:hover { background: #eef1f4; color: var(--brand-contrast); }
.brand-header__link.is-current { color: var(--brand-primary); }
.brand-header__sell {
  display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto;
  background: var(--brand-primary); color: #fff; text-decoration: none; white-space: nowrap;
  font: 800 14px var(--vf-font-display); padding: 10px 18px; border-radius: 999px;
}
.brand-header__sell:hover { background: #e04530; color: #fff; }
.brand-header__menu { position: relative; flex: 0 0 auto; }
.brand-header__menu summary {
  list-style: none; cursor: pointer; width: 40px; height: 40px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; color: var(--brand-contrast);
  border: 1px solid #e2e7ec; background: #fff;
}
.brand-header__menu summary::-webkit-details-marker { display: none; }
.brand-header__menu-panel {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 210px; z-index: 20;
  background: #fff; border: 1px solid var(--brand-gray-200); border-radius: 14px;
  box-shadow: 0 12px 32px rgba(26, 36, 48, 0.18); padding: 8px; display: grid;
}
.brand-header__menu-panel a {
  padding: 10px 12px; border-radius: 9px; text-decoration: none;
  font: 700 14px var(--vf-font-body); color: var(--brand-contrast);
}
.brand-header__menu-panel a:hover { background: #eef1f4; }
@media (max-width: 1099.95px) { .brand-header__nav { display: none; } .brand-header__search { max-width: none; } }
@media (max-width: 899.95px) {
  .brand-header__inner { padding: 10px 16px; gap: 10px; }
  .brand-header__logo-full { display: none !important; }
  .brand-header__logo-mark { display: block !important; }
  .brand-header__sell { padding: 9px 14px; }
}

/* ── Blog hero + archive hero (home-v2 dark bands) ───────────── */
.brand-blog-hero, .brand-archive-hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(60% 80% at 85% 20%, rgba(240, 79, 56, 0.22) 0%, transparent 60%),
    linear-gradient(96deg, var(--vf-night) 0%, var(--vf-navy-800) 100%);
}
.brand-blog-hero { padding: 88px 24px 80px; }
.brand-blog-hero--compact { padding: 48px 24px 44px; }
.brand-blog-hero__inner { max-width: 1240px; margin: 0 auto; }
.brand-blog-hero__badge {
  display: inline-flex; align-items: center; gap: 9px; margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.28); color: #e8edf3; border-radius: 999px; padding: 8px 16px;
  font: 800 11.5px var(--vf-font-display); letter-spacing: 0.16em; text-transform: uppercase;
}
.brand-blog-hero__badge span { color: var(--brand-primary); }
.brand-blog-hero__title {
  font: 800 clamp(2.4rem, 6vw, 4.2rem)/1.04 var(--vf-font-display); letter-spacing: -0.02em;
  color: #fff; margin: 24px 0 18px; max-width: 14ch;
}
.brand-blog-hero--compact .brand-blog-hero__title { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 0; max-width: none; }
.brand-blog-hero__title span { color: var(--brand-primary); }
.brand-blog-hero__sub { color: var(--vf-on-dark); font-size: 1.12rem; max-width: 560px; margin: 0 0 30px; }
.brand-blog-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.brand-archive-hero { padding: 56px 24px 52px; text-align: left; }
.brand-archive-hero > * { max-width: 1240px; margin-left: auto !important; margin-right: auto !important; }
.brand-archive-hero__title { font: 800 clamp(1.9rem, 4.4vw, 3rem)/1.1 var(--vf-font-display); color: #fff; }
.brand-archive-hero__sub { color: var(--vf-on-dark); margin-top: 10px; max-width: 640px; }
.brand-archive-hero__sub p { margin: 0; }

/* Blog home hero image — same composition as home-v2 .heroImage/.heroScrim */
.brand-blog-hero--image { min-height: 560px; display: flex; align-items: center; background: var(--vf-night); }
.brand-blog-hero--image .brand-blog-hero__inner { position: relative; width: 100%; }
.brand-blog-hero__img {
  position: absolute; top: 0; right: 0; width: 62%; height: 100%;
  object-fit: cover; object-position: center; display: block;
  /* Post photos aren't pre-darkened like the app's hero art: fade the left edge
     so the image never shows a hard line against the night background. */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 35%);
}
.brand-blog-hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(96deg, #0b0f14 0%, #0b0f14 30%, rgba(11, 15, 20, 0.92) 44%,
    rgba(11, 15, 20, 0.6) 58%, rgba(11, 15, 20, 0.12) 74%, rgba(11, 15, 20, 0) 100%);
}
.brand-blog-hero__latest {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 34px; max-width: 520px;
  color: #fff; text-decoration: none; font-weight: 700; font-size: 0.95rem;
}
.brand-blog-hero__latest-label {
  flex: 0 0 auto; background: var(--brand-primary); color: #fff; border-radius: 5px; padding: 3px 8px;
  font: 800 10.5px var(--vf-font-display); letter-spacing: 0.1em; text-transform: uppercase;
}
.brand-blog-hero__latest-title { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.35); text-underline-offset: 4px; }
.brand-blog-hero__latest:hover { color: #fff; }
.brand-blog-hero__latest:hover .brand-blog-hero__latest-title { text-decoration-color: var(--brand-primary); }
@media (max-width: 899.95px) {
  .brand-blog-hero--image { min-height: 480px; }
  .brand-blog-hero__img { width: 100%; opacity: 0.45; -webkit-mask-image: none; mask-image: none; }
}

/* ── Cards (home-v2 watchCard) ────────────────────────────────── */
.brand-blog-main { padding: 48px 24px 72px; background: var(--brand-gray-100); }
.brand-post-grid__list { gap: 22px; }
.brand-post-card {
  border: 1.5px solid var(--brand-gray-200); border-radius: 18px; box-shadow: none;
}
.brand-post-card:hover { border-color: var(--brand-primary); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(26, 36, 48, 0.1); }
.brand-post-card__img img { aspect-ratio: 16 / 9; }
.brand-post-card__img { background: #e2e7ec; }
.brand-post-card__terms a {
  display: inline-block; background: #fde6e1; color: var(--brand-primary-dark);
  border-radius: 5px; padding: 3px 8px; font-family: var(--vf-font-display); font-size: 10.5px; letter-spacing: 0.08em;
}
.brand-post-card__terms .wp-block-post-terms__separator { display: none; }
.brand-post-card__terms a + a { margin-left: 4px; }
.brand-post-card__title { font: 700 1.08rem/1.3 var(--vf-font-display); }
.brand-post-card__excerpt { color: var(--vf-slate-light); }
.brand-post-card__date { color: var(--vf-muted); font-weight: 600; }

.brand-pagination a, .brand-pagination .current {
  background: #fff; border-color: #e2e7ec; color: var(--brand-contrast); font-weight: 700;
}
.brand-pagination a:hover { border-color: var(--brand-primary); color: var(--brand-primary); }

/* ── Single post ──────────────────────────────────────────────── */
.brand-single { padding: 56px 24px 32px; }
.brand-single__title { font-family: var(--vf-font-display); font-weight: 800; letter-spacing: -0.02em; }
.brand-single__meta { color: var(--vf-muted); font-weight: 600; }
.brand-single__img img { border-radius: 18px; }
.brand-single__content { color: #26323f; line-height: 1.75; }
.brand-single__content h2, .brand-single__content h3 { margin-top: 2.2rem; }
.brand-single__content a { text-decoration: underline; text-decoration-color: rgba(240, 79, 56, 0.4); }
.brand-single__content blockquote { border-left: 4px solid var(--brand-primary); margin-left: 0; padding-left: 1.25rem; color: var(--vf-slate); }
.brand-related-wrap { background: var(--brand-gray-100); }
.brand-related__title { font-family: var(--vf-font-display); }

/* ── Pages ────────────────────────────────────────────────────── */
.brand-page-hero {
  background:
    radial-gradient(60% 80% at 85% 20%, rgba(240, 79, 56, 0.22) 0%, transparent 60%),
    linear-gradient(96deg, var(--vf-night) 0%, var(--vf-navy-800) 100%);
  text-align: left; padding: 72px 24px 64px;
}
.brand-page-hero__inner { max-width: 1240px; }
.brand-page-hero h1 { font-family: var(--vf-font-display); font-weight: 800; color: #fff; }
.brand-page-hero__sub { color: var(--vf-on-dark); opacity: 1; max-width: 620px; }
.brand-page-hero .brand-divider { display: none; }
.brand-kicker { font-family: var(--vf-font-display); color: var(--brand-primary); }
.brand-kicker--light { color: var(--vf-yellow); }
.brand-section { padding: 56px 24px; }

/* ── Newsletter band + footer (mirrors SiteFooter) ────────────── */
.brand-newsletter { background: var(--vf-navy-800); color: #fff; padding: 48px 24px; border-top: 4px solid var(--vf-yellow); }
.brand-newsletter h2, .brand-newsletter h3 { color: #fff; font-family: var(--vf-font-display); }
.brand-newsletter p { color: var(--vf-on-dark); }

.brand-footer { background: var(--vf-navy-900); color: #fff; font-family: var(--vf-font-body); }
.brand-footer__cols {
  max-width: 1240px; margin: 0 auto; padding: 48px 24px 36px;
  display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between;
}
.brand-footer__brand { flex: 1 1 260px; max-width: 320px; }
.brand-footer__brand > img { display: block; height: 34px; width: auto; margin-bottom: 16px; }
.brand-footer__tagline { color: var(--vf-muted-dark); font-size: 14px; line-height: 1.6; margin: 0 0 16px; }
.brand-footer__social { display: flex; gap: 8px; }
.brand-footer__social a {
  width: 36px; height: 36px; border-radius: 999px; background: rgba(255, 255, 255, 0.08);
  display: flex; align-items: center; justify-content: center; color: #fff; transition: background 0.15s ease;
}
.brand-footer__social a:hover { background: rgba(255, 255, 255, 0.2); }
.brand-footer__links { display: contents; }
.brand-footer__col { flex: 1 1 140px; display: flex; flex-direction: column; gap: 8px; }
.brand-footer__col-title { font: 800 14px var(--vf-font-display); margin-bottom: 8px; }
.brand-footer__col a { color: var(--vf-muted-dark); text-decoration: none; font-size: 13.5px; font-weight: 600; }
.brand-footer__col a:hover { color: #fff; }
.brand-footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.brand-footer__bottom-inner { max-width: 1240px; margin: 0 auto; padding: 16px 24px; color: var(--vf-slate-light); font-size: 12.5px; font-weight: 600; }
@media (max-width: 899.95px) {
  .brand-footer__cols { flex-direction: column; align-items: center; text-align: center; gap: 22px; padding: 36px 20px 28px; }
  .brand-footer__brand { flex: 0 0 auto; max-width: 420px; }
  .brand-footer__brand > img { margin: 0 auto 16px; }
  .brand-footer__social { justify-content: center; }
  .brand-footer__links { display: flex; flex-wrap: wrap; justify-content: center; row-gap: 10px; max-width: 480px; }
  .brand-footer__col { display: contents; }
  .brand-footer__col-title { display: none; }
  .brand-footer__col a { white-space: nowrap; }
  .brand-footer__col a::before { content: "·"; color: var(--vf-slate-light); margin: 0 9px; }
  .brand-footer__links .brand-footer__col:first-child a:first-child::before { display: none; }
  .brand-footer__bottom-inner { text-align: center; }
}

/* ── Page bodies: premium plans + CTA band ────────────────────── */
.brand-lead { font-size: 1.15rem; color: var(--vf-slate); line-height: 1.7; max-width: 760px; margin: 0 auto; text-align: center; }
.brand-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; max-width: 1040px; margin: 0 auto; }
.brand-plan {
  background: #fff; border: 1.5px solid var(--brand-gray-200); border-radius: 18px; padding: 32px;
  display: flex; flex-direction: column; gap: 12px;
}
.brand-plan--featured { border-color: var(--brand-primary); box-shadow: 0 10px 28px rgba(240, 79, 56, 0.14); }
.brand-plan__name { font: 800 1.6rem var(--vf-font-display); margin: 0; color: var(--brand-contrast); }
.brand-plan__pitch { font-weight: 700; color: var(--brand-primary); margin: 0; }
.brand-plan p { color: var(--vf-slate); margin: 0; }
.brand-plan ul { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.brand-plan li { padding-left: 1.6rem; position: relative; font-weight: 600; }
.brand-plan li::before { content: "✓"; position: absolute; left: 0; color: var(--brand-primary); font-weight: 800; }
.brand-cta-band {
  background: var(--vf-navy-800); color: #fff; border-radius: 22px; padding: 44px 32px; text-align: center;
  max-width: 1040px; margin: 0 auto;
}
.brand-cta-band h2 { color: #fff; font: 800 clamp(1.6rem, 3vw, 2.2rem) var(--vf-font-display); margin: 0 0 12px; }
.brand-cta-band p { color: var(--vf-on-dark); max-width: 620px; margin: 0 auto 24px; }
.brand-section--pale { background: var(--brand-gray-100); }

/* ── apigoat-consent banner, themed through its CSS vars ─────── */
.acx {
  --mono: var(--vf-font-body); --paper: #fff; --rule: var(--brand-gray-200);
  --ink: var(--brand-contrast); --ink-2: var(--brand-contrast); --ink-3: var(--vf-slate); --ink-4: var(--vf-muted);
  --brand: var(--brand-primary); --brand-deep: #e04530; --brand-ink: var(--brand-primary-dark); --maxw: 1240px;
}
.acx__btn { border-radius: 999px !important; font-weight: 700; }
.acx__btn--accept { color: #fff !important; }

/* ── Newsletter band (apigoat-newsletter) ─────────────────────── */
.brand-newsletter__inner { max-width: 880px; margin: 0 auto; }
.brand-newsletter .apigoat-nl {
  max-width: none; margin: 0; padding: 0; background: none; border: 0; color: #fff;
  display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; align-items: end;
}
.brand-newsletter .apigoat-nl > :not(.apigoat-nl__row), .brand-newsletter .apigoat-nl__consent { grid-column: 1 / -1; }
.brand-newsletter .apigoat-nl__row { margin: 0; }
.brand-newsletter .apigoat-nl__title { color: #fff; font: 800 1.6rem var(--vf-font-display); margin: 0 0 4px; }
.brand-newsletter .apigoat-nl__subtitle { color: var(--vf-on-dark); margin: 0 0 18px; }
.brand-newsletter .apigoat-nl__label { color: var(--vf-on-dark); font-weight: 600; }
.brand-newsletter .apigoat-nl__input {
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.06);
  color: #fff; padding: 11px 18px; box-sizing: border-box;
}
.brand-newsletter .apigoat-nl__input:focus { border-color: var(--brand-primary); box-shadow: 0 0 0 3px rgba(240, 79, 56, 0.25); }
.brand-newsletter .apigoat-nl__consent { margin-top: 12px; color: var(--vf-muted-dark); }
.brand-newsletter .apigoat-nl__consent a { color: #fff; }
.brand-newsletter .apigoat-nl__submit {
  background: var(--brand-primary); color: #fff; border-radius: 999px; padding: 12px 24px;
  font: 700 0.95rem var(--vf-font-display); white-space: nowrap;
}
.brand-newsletter .apigoat-nl__submit:hover { background: #e04530; }
@media (max-width: 699.95px) {
  .brand-newsletter .apigoat-nl { grid-template-columns: 1fr; row-gap: 10px; }
  .brand-newsletter .apigoat-nl__consent { grid-row: auto; }
}
