/*
Theme Name: J3Software
Theme URI: https://j3software.com
Author: J3Software
Author URI: https://j3software.com
Description: Friendly Utility — Apps for Real People. A warm, tactile content hub theme for the J3Software brand.
Version: 1.8.106
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
Text Domain: j3software
*/

/* ==========================================================================
   1. DESIGN TOKENS — CSS Custom Properties (from DESIGN.md / Friendly Utility)
   ========================================================================== */

:root {
  /* Surface hierarchy */
  --color-background:               #f6f6f8;
  --color-surface:                  #f6f6f8;
  --color-surface-bright:           #f6f6f8;
  --color-surface-dim:              #d2d4d8;
  --color-surface-container-lowest: #ffffff;
  --color-surface-container-low:    #f0f1f3;
  --color-surface-container:        #e7e8ea;
  --color-surface-container-high:   #e1e2e5;
  --color-surface-container-highest:#dbdde0;
  --color-surface-variant:          #dbdde0;

  /* Accent — Primary (rose/pink) */
  --color-primary:                  #af1b53;
  --color-primary-container:        #ff7198;
  --color-primary-fixed:            #ff7198;
  --color-primary-fixed-dim:        #fa5889;
  --color-primary-dim:              #9e0747;
  --color-on-primary:               #ffeff0;
  --color-on-primary-container:     #4d001e;
  --color-on-primary-fixed:         #000000;
  --color-on-primary-fixed-variant: #5e0027;
  --color-inverse-primary:          #fe5b8c;

  /* Accent — Secondary (warm amber) */
  --color-secondary:                #8a4c00;
  --color-secondary-container:      #ffc697;
  --color-secondary-fixed:          #ffc697;
  --color-secondary-fixed-dim:      #ffb470;
  --color-secondary-dim:            #794200;
  --color-on-secondary:             #fff0e6;
  --color-on-secondary-container:   #6d3b00;
  --color-on-secondary-fixed:       #512a00;
  --color-on-secondary-fixed-variant:#7a4300;

  /* Accent — Tertiary (blue) */
  --color-tertiary:                 #0055c4;
  --color-tertiary-container:       #8eafff;
  --color-tertiary-fixed:           #8eafff;
  --color-tertiary-fixed-dim:       #77a1ff;
  --color-tertiary-dim:             #004aad;
  --color-on-tertiary:              #f0f2ff;
  --color-on-tertiary-container:    #002d6f;
  --color-on-tertiary-fixed:        #00163d;
  --color-on-tertiary-fixed-variant:#003580;

  /* Text */
  --color-on-surface:               #2d2f31;
  --color-on-surface-variant:       #5a5c5d;
  --color-on-background:            #2d2f31;
  --color-inverse-surface:          #0c0e10;
  --color-inverse-on-surface:       #9c9d9f;

  /* Outline */
  --color-outline:                  #757779;
  --color-outline-variant:          #acadaf;

  /* Error */
  --color-error:                    #b31b25;
  --color-error-container:          #fb5151;
  --color-error-dim:                #9f0519;
  --color-on-error:                 #ffefee;
  --color-on-error-container:       #570008;

  /* Surface tint */
  --color-surface-tint:             #af1b53;

  /* Typography */
  --font-headline: 'Lexend', sans-serif;
  --font-body:     'Plus Jakarta Sans', sans-serif;
  --font-label:    'Plus Jakarta Sans', sans-serif;

  /* Type scale */
  --text-display-lg:   3.5rem;
  --text-headline-xl:  2.5rem;
  --text-headline-lg:  2rem;
  --text-headline-md:  1.75rem;
  --text-headline-sm:  1.5rem;
  --text-title-lg:     1.25rem;
  --text-title-md:     1.125rem;
  --text-body-lg:      1rem;
  --text-body-md:      0.9375rem;
  --text-body-sm:      0.875rem;
  --text-label-lg:     0.875rem;
  --text-label-md:     0.75rem;
  --text-label-sm:     0.625rem;

  /* Border radius scale */
  --radius-full:   9999px;
  --radius-xl:     3rem;
  --radius-lg:     2rem;    /* Cards: "bubbly" signature */
  --radius-md:     1.5rem;  /* Secondary buttons */
  --radius-default:1rem;    /* Default */
  --radius-sm:     0.5rem;  /* Input fields */

  /* Spacing scale */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  1rem;
  --space-4:  1.5rem;
  --space-5:  2rem;
  --space-6:  3rem;
  --space-8:  4rem;
  --space-10: 5rem;
  --space-12: 6rem;

  /* Elevation: Ambient shadow (on-surface @ 6% opacity) */
  --shadow-ambient:  0px 20px 40px rgba(45, 47, 49, 0.06);
  --shadow-sm:       0px 10px 30px rgba(0, 0, 0, 0.04);
  --shadow-lg:       0px 20px 60px rgba(45, 47, 49, 0.12);

  /* Glassmorphism */
  --glass-bg:        rgba(246, 246, 248, 0.80);
  --glass-blur:      blur(24px);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-container) 100%);
  /* Buttons with text on them (MA-15 rows 5-6, WCAG AA 4.5:1): the same
     gradient line, stopped at the lightest point that still gives 4.61:1
     against --color-on-primary. The full --gradient-primary stays for
     decorative fills with no text. */
  --gradient-primary-text: linear-gradient(135deg, var(--color-primary) 0%, #c63467 100%);
  --gradient-cta:     linear-gradient(135deg, #f97316 0%, #fb7185 100%);  /* orange-500 → rose-400 */
}


/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */

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

/* Smooth scrolling only for visitors who have not asked for reduced
   motion (Get-started ruling condition 1). */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body-lg);
  color: var(--color-on-surface);
  background-color: var(--color-background);
  min-height: 100dvh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* No pure black — use on-surface throughout */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headline);
  color: var(--color-on-surface);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
  background: none;
}

/* Selection color */
::selection {
  background-color: var(--color-primary-container);
  color: var(--color-on-primary-container);
}

/* Material Symbols */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
  line-height: 1;
  display: inline-block;
}


/* ==========================================================================
   3. LAYOUT UTILITIES
   ========================================================================== */

.container {
  width: 100%;
  max-width: 80rem; /* 1280px / 7xl */
  margin-inline: auto;
  padding-inline: var(--space-4);
}

@media (min-width: 768px) {
  .container {
    padding-inline: var(--space-5);
  }
}

.flex        { display: flex; }
.flex-col    { flex-direction: column; }
.items-center{ align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.flex-wrap   { flex-wrap: wrap; }
.flex-grow   { flex-grow: 1; }

.grid        { display: grid; }
.gap-4       { gap: var(--space-4); }
.gap-5       { gap: var(--space-5); }
.gap-6       { gap: var(--space-6); }
.gap-8       { gap: var(--space-8); }

.text-center { text-align: center; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}


/* ==========================================================================
   4. TYPOGRAPHY HELPERS
   ========================================================================== */

.font-headline  { font-family: var(--font-headline); }
.font-body      { font-family: var(--font-body); }

.text-display-lg { font-size: var(--text-display-lg); }
.text-headline-xl{ font-size: var(--text-headline-xl); }
.text-headline-md{ font-size: var(--text-headline-md); }
.text-title-lg   { font-size: var(--text-title-lg); }
.text-body-lg    { font-size: var(--text-body-lg); }
.text-label-md   { font-size: var(--text-label-md); letter-spacing: 0.05em; }
.text-label-sm   { font-size: var(--text-label-sm); letter-spacing: 0.08em; }

.font-medium  { font-weight: 500; }
.font-semibold{ font-weight: 600; }
.font-bold    { font-weight: 700; }
.font-extrabold{ font-weight: 800; }
.font-black   { font-weight: 900; }

.tracking-tight   { letter-spacing: -0.02em; }
.tracking-tighter { letter-spacing: -0.04em; }
.tracking-widest  { letter-spacing: 0.1em; }
.uppercase        { text-transform: uppercase; }

.text-primary         { color: var(--color-primary); }
.text-secondary       { color: var(--color-secondary); }
.text-tertiary        { color: var(--color-tertiary); }
.text-on-surface      { color: var(--color-on-surface); }
.text-on-surface-variant { color: var(--color-on-surface-variant); }
.text-on-primary      { color: var(--color-on-primary); }
.text-on-secondary-container { color: var(--color-on-secondary-container); }
.text-on-tertiary-container  { color: var(--color-on-tertiary-container); }


/* ==========================================================================
   5. HEADER / TOP APP BAR
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-4);
  /* No border — background shift only */
}

/* Brand lockup */
.site-header__brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
}

.site-header__brand-icon {
  font-size: 1.875rem;
  color: #ea580c; /* orange-600 */
}

.site-header__brand-name {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 900;
  color: #ea580c;
  letter-spacing: -0.04em;
}

/* Desktop nav */
.site-header__nav {
  display: none;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .site-header__nav {
    display: flex;
  }
}

.site-header__nav a {
  font-family: var(--font-headline);
  font-size: var(--text-body-lg);
  font-weight: 500;
  color: var(--color-on-surface-variant);
  letter-spacing: -0.02em;
  transition: transform 200ms ease, color 200ms ease;
  text-decoration: none;
}

.site-header__nav a:hover,
.site-header__nav a.current-menu-item {
  color: #ea580c;
  transform: translateY(-2px);
}

.site-header__nav a.current-menu-item {
  font-weight: 700;
}

/* Header actions */
.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.site-header__search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  background: var(--color-surface-container-low);
  color: var(--color-on-surface-variant);
  transition: background 200ms, transform 200ms;
}

.site-header__search-btn:hover {
  background: var(--color-surface-container);
  transform: scale(0.95);
}

.btn-cta-header {
  background: var(--gradient-primary-text);
  color: var(--color-on-primary);
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: var(--text-body-sm);
  box-shadow: var(--shadow-sm);
  transition: transform 200ms ease;
  display: none;
}

@media (min-width: 768px) {
  .btn-cta-header { display: inline-block; }
}

.btn-cta-header:hover {
  transform: translateY(-2px);
}


/* ==========================================================================
   6. FOOTER
   ========================================================================== */

.site-footer {
  background: #f3f4f6; /* neutral-100 */
  padding: var(--space-8) var(--space-5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  margin-top: auto;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
  text-decoration: none;
}

.site-footer__brand-icon {
  color: #ea580c;
}

.site-footer__brand-name {
  font-family: var(--font-headline);
  font-size: var(--text-title-lg);
  font-weight: 900;
  color: var(--color-on-surface);
}

/* Theme-shipped J3 logo (header/footer) */
.site-header__logo {
  height: 36px;
  width: auto;
  display: block;
}

.site-footer__logo {
  height: 30px;
  width: auto;
  display: block;
}

.site-footer__nav {
  display: flex;
  gap: 2rem;
  margin-bottom: var(--space-4);
}

.site-footer__nav a {
  font-family: var(--font-headline);
  font-size: var(--text-body-sm);
  color: #737373; /* neutral-500 */
  transition: color 200ms;
}

.site-footer__nav a:hover {
  color: #f97316; /* orange-500 */
}

/* Grouped footer menu (depth 2): top level = column headings, sub-menus = links */
.site-footer__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#footer-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-6);
  text-align: center;
}

#footer-menu > li > a {
  font-weight: 700;
  font-size: var(--text-body-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-on-surface);
  pointer-events: none;
  cursor: default;
  display: block;
  margin-bottom: var(--space-2);
}

#footer-menu .sub-menu {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-footer__credit {
  font-family: var(--font-headline);
  font-size: var(--text-body-sm);
  color: #525252; /* neutral-600 */
  opacity: 0.8;
  margin-top: var(--space-3);
}


/* ==========================================================================
   7. MOBILE BOTTOM DOCK (Tool-Dock navigation)
   Glassmorphism floating bottom bar — unique component per DESIGN.md
   ========================================================================== */

.bottom-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0.75rem 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.80);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: 2.5rem 2.5rem 0 0;
  box-shadow: 0px -10px 40px rgba(0, 0, 0, 0.06);
}

@media (min-width: 768px) {
  .bottom-dock {
    display: none;
  }
}

.bottom-dock__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-full);
  color: #737373;
  text-decoration: none;
  transition: background 200ms, transform 200ms;
  gap: 0.125rem;
}

.bottom-dock__item:hover {
  background: #f5f5f5;
}

.bottom-dock__item.is-active {
  background: var(--gradient-cta);
  color: #ffffff;
  transform: translateY(-8px);
  box-shadow: var(--shadow-ambient);
}

.bottom-dock__label {
  font-family: var(--font-headline);
  font-size: 0.5rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  line-height: 1.2;
}

/* Clear the fixed bottom dock on mobile. PAIRED NUMBERS (update together,
   and note WHICH containers each line covers — the footer is a SIBLING of
   main, so main's padding never reaches it; the credit line sat behind the
   dock at max scroll until the footer got its own clearance, EmberFlutter
   07:17Z):
     .bottom-dock height  = 88px (measured 07:00Z)
     .site-main           clears the dock: 6rem (96px)
     .site-footer         clears the dock: calc(88px + 1rem + safe-area) */
@media (max-width: 767px) {
  .site-main {
    padding-bottom: 6rem;
  }
  /* Phone header: logo only (search stripped v1.8.25; nav lives in the
     bottom dock) — center it so the bar is not left-heavy (Cypra 07:25Z).
     Desktop (768px+) keeps logo left / nav center / CTA right. */
  .site-header {
    justify-content: center;
  }
  .site-header__actions {
    display: none;
  }
  .site-footer {
    /* TWO declarations (Cypra + PAA 07:22Z). The FIRST line IS THE FIX:
       104px clears the 88px dock on every device, notched or not. The
       SECOND is the ENHANCEMENT: it adds the safe-area inset where the
       browser knows one (notched phones). A browser without env() drops
       the second declaration at parse time and keeps the first — that is
       the cascade's own fallback. Deleting EITHER line is wrong: the
       first is the behavior, the second is the home-indicator comfort. */
    padding-bottom: calc(88px + 1rem);
    padding-bottom: calc(88px + 1rem + env(safe-area-inset-bottom));
  }
}


/* ==========================================================================
   8. BUTTONS
   ========================================================================== */

/* Primary: gradient fill, rounded-full, lift on hover */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.75rem 2rem;
  background: var(--gradient-primary-text);
  color: var(--color-on-primary);
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-ambient);
  transition: transform 200ms ease, box-shadow 200ms ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-primary:active {
  transform: scale(0.97);
}

/* Secondary: surface-container-high bg, primary text, rounded-md */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.75rem 2rem;
  background: var(--color-surface-container-high);
  color: var(--color-primary);
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: transform 200ms ease;
  border: none;
  cursor: pointer;
}

.btn-secondary:hover {
  transform: translateY(-2px);
}

/* Orange CTA gradient (used in hero/dock) */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.75rem 2rem;
  background: var(--gradient-cta);
  color: #ffffff;
  font-family: var(--font-headline);
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-ambient);
  transition: transform 200ms ease, box-shadow 200ms ease;
  border: none;
  cursor: pointer;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}


/* ==========================================================================
   9. CATEGORY PILLS / BADGES
   ========================================================================== */

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 1rem;
  border-radius: var(--radius-full);
  font-family: var(--font-headline);
  font-size: var(--text-label-md);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.category-pill--win-clients {
  background: var(--color-secondary-container);
  color: var(--color-on-secondary-container);
}

.category-pill--build-community {
  background: var(--color-tertiary-container);
  color: var(--color-on-tertiary-container);
}

.category-pill--get-stuff-done {
  background: var(--color-surface-container);
  color: var(--color-on-surface-variant);
}

/* Category filter row buttons */
.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: 3rem;
}

.category-filter__btn {
  padding: 0.75rem 2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: var(--text-body-sm);
  background: var(--color-surface-container-low);
  color: var(--color-on-surface-variant);
  border: none;
  cursor: pointer;
  transition: background 200ms, transform 200ms;
  text-decoration: none;
  display: inline-block;
}

.category-filter__btn:hover,
.category-filter__btn.is-active {
  background: var(--color-surface-container-high);
  transform: translateY(-2px);
}

.category-filter__btn--active,
.category-filter__btn[data-active="true"] {
  background: var(--gradient-cta);
  color: #ffffff;
  box-shadow: var(--shadow-ambient);
}


/* ==========================================================================
   10. CARDS
   ========================================================================== */

/* Standard card — rounded-lg (2rem), no border, surface shift for separation */
.card {
  background: var(--color-surface-container-lowest);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-ambient);
}

.card__body {
  padding: var(--space-5);
}

.card__image {
  width: 100%;
  overflow: hidden;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.card:hover .card__image img {
  transform: scale(1.05);
}

/* Featured article card */
.card--featured {
  box-shadow: var(--shadow-ambient);
}

.card--featured .card__image {
  height: 24rem;
}

.card--featured .card__title {
  font-family: var(--font-headline);
  font-size: var(--text-headline-sm);
  font-weight: 700;
  color: var(--color-on-surface);
  margin-bottom: var(--space-3);
  transition: color 200ms;
}

.card--featured:hover .card__title {
  color: var(--color-primary);
}

.card--featured .card__excerpt {
  font-size: var(--text-title-md);
  color: var(--color-on-surface-variant);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

/* Article grid card (smaller) */
.card--article {
  background: transparent;
  border-radius: 0;
  overflow: visible;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.card--article:hover {
  transform: none;
  box-shadow: none;
}

.card--article .card__image {
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  height: auto;
  margin-bottom: var(--space-4);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 300ms;
}

.card--article:hover .card__image {
  box-shadow: var(--shadow-lg);
}

.card--article .card__category-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: 0.75rem;
}

.card--article .card__category-label {
  font-family: var(--font-headline);
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-on-surface-variant);
}

.card--article .card__title {
  font-family: var(--font-headline);
  font-size: var(--text-title-lg);
  font-weight: 700;
  color: var(--color-on-surface);
  margin-bottom: 0.75rem;
  transition: color 200ms;
  line-height: 1.3;
}

.card--article:hover .card__title {
  color: var(--color-primary);
}

.card--article .card__excerpt {
  font-size: var(--text-body-sm);
  color: var(--color-on-surface-variant);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Author row */
.card__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.card__author-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  background: var(--color-primary-container);
  color: var(--color-on-primary-container);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-body-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.card__author-name {
  font-size: var(--text-body-sm);
  font-weight: 700;
  color: var(--color-on-surface);
}

.card__author-meta {
  font-size: var(--text-label-md);
  color: var(--color-on-surface-variant);
}

/* Accent bento card — Getting Stuff Done */
.card--accent-blue {
  background: var(--color-tertiary-container);
  color: var(--color-on-tertiary-container);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.card--accent-blue .card__title {
  font-family: var(--font-headline);
  font-size: var(--text-headline-sm);
  font-weight: 700;
  color: var(--color-on-tertiary-container);
  margin-bottom: var(--space-2);
}

.card--accent-blue .card__excerpt {
  font-size: var(--text-body-sm);
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: var(--space-3);
}

.card--accent-blue .card__bg-icon {
  position: absolute;
  right: -2rem;
  bottom: -2rem;
  font-size: 10rem;
  opacity: 0.2;
  line-height: 1;
  pointer-events: none;
}

.card--accent-blue a {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  color: var(--color-on-tertiary-container);
}

/* Small side card (community, white bg) */
.card--side {
  background: var(--color-surface-container-lowest);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 200ms;
}

.card--side:hover {
  box-shadow: var(--shadow-ambient);
  transform: none;
}

.card--side .card__title {
  font-family: var(--font-headline);
  font-size: var(--text-title-lg);
  font-weight: 700;
  color: var(--color-on-surface);
  margin-bottom: 0.75rem;
  transition: color 200ms;
}

.card--side:hover .card__title {
  color: var(--color-tertiary);
}


/* ==========================================================================
   11. HOMEPAGE SECTIONS
   ========================================================================== */

/* Hero */
.hero {
  padding-top: 7rem;
  padding-bottom: 4rem;
  padding-inline: var(--space-4);
  max-width: 80rem;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .hero {
    text-align: left;
  }
}

.hero__headline {
  font-family: var(--font-headline);
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-on-surface);
  letter-spacing: -0.04em;
  margin-bottom: var(--space-3);
  line-height: 1.1;
}

@media (min-width: 768px) {
  .hero__headline {
    font-size: var(--text-display-lg);
  }
}

.hero__headline .accent {
  color: var(--color-primary);
  font-style: italic;
}

.hero__subtext {
  font-size: var(--text-title-md);
  color: var(--color-on-surface-variant);
  max-width: 42rem;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .hero__subtext {
    font-size: 1.5rem;
  }
}

/* Featured bento grid */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
  padding-inline: var(--space-4);
  max-width: 80rem;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(12, 1fr);
  }

  .bento-grid__featured {
    grid-column: span 8;
  }

  .bento-grid__sidebar {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
}

/* Article grid */
.article-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-inline: var(--space-4);
  max-width: 80rem;
  margin-inline: auto;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .article-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Section wrapper for content areas */
.section-content {
  padding-inline: var(--space-4);
  max-width: 80rem;
  margin-inline: auto;
}


/* ==========================================================================
   12. APPS HUB / PAGE TEMPLATES
   ========================================================================== */

/* Apps hub hero (j3software_hub) */
.apps-hero {
  padding-top: 5rem;
  padding-bottom: 4rem;
  padding-inline: var(--space-4);
  max-width: 80rem;
  margin-inline: auto;
  text-align: center;
}

.apps-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(255, 113, 152, 0.2);
  color: var(--color-primary);
  font-family: var(--font-label);
  font-size: var(--text-label-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
}

.apps-hero__headline {
  font-family: var(--font-headline);
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-on-surface);
  letter-spacing: -0.04em;
  margin-bottom: var(--space-4);
  line-height: 1.1;
}

@media (min-width: 768px) {
  .apps-hero__headline {
    font-size: 4.5rem;
  }
}

.apps-hero__headline .gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.apps-hero__description {
  color: var(--color-on-surface-variant);
  max-width: 42rem;
  margin-inline: auto;
  margin-bottom: 3rem;
  font-size: var(--text-title-md);
  line-height: 1.6;
}

/* App jump strips */
.app-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: 4rem;
}

/* CTA cards grid */
.cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  padding-inline: var(--space-4);
  max-width: 80rem;
  margin-inline: auto;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .cta-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cta-card {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  border-radius: var(--radius-lg);
  color: #ffffff;
  text-align: left;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  transition: transform 300ms ease;
  border: none;
  cursor: pointer;
}

.cta-card:hover {
  transform: translateY(-4px);
}

.cta-card--win {
  background: linear-gradient(135deg, #f97316 0%, #fb7185 100%);
}

.cta-card--community {
  background: linear-gradient(135deg, var(--color-tertiary) 0%, #60a5fa 100%);
}

.cta-card--done {
  background: linear-gradient(135deg, #059669 0%, #2dd4bf 100%);
}

.cta-card .material-symbols-outlined {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.8;
  display: block;
  transition: transform 200ms;
}

.cta-card:hover .material-symbols-outlined {
  transform: scale(1.1);
}

.cta-card h3,
.cta-card h2.cta-card__title {
  font-family: var(--font-headline);
  font-size: var(--text-headline-sm);
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.cta-card p {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* Featured app bento */
.featured-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  padding-inline: var(--space-4);
  max-width: 80rem;
  margin-inline: auto;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .featured-bento {
    grid-template-columns: repeat(12, 1fr);
    height: 600px;
  }

  .featured-bento__main {
    grid-column: span 8;
  }

  .featured-bento__side {
    grid-column: span 4;
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: var(--space-4);
  }
}

.featured-bento__main {
  background: var(--color-surface-container-lowest);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .featured-bento__main {
    flex-direction: row;
  }
}

.featured-bento__content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.featured-bento__app-icon {
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius-default);
  background: #ea580c;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  box-shadow: var(--shadow-ambient);
}

.featured-bento__app-icon .material-symbols-outlined {
  color: #ffffff;
  font-size: 1.875rem;
}

.featured-bento__app-name {
  font-family: var(--font-headline);
  font-size: var(--text-headline-sm);
  font-weight: 900;
  color: var(--color-on-surface);
  margin-bottom: 1rem;
}

.featured-bento__app-desc {
  color: var(--color-on-surface-variant);
  font-size: var(--text-title-md);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.featured-bento__image {
  flex: 1;
  background: var(--color-surface-container-high);
  position: relative;
  min-height: 300px;
}

.featured-bento__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-bento__side-card {
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.featured-bento__side-card--secondary {
  background: var(--color-secondary-container);
}

.featured-bento__side-card--tertiary {
  background: var(--color-tertiary-container);
}

.featured-bento__side-title {
  font-family: var(--font-headline);
  font-size: var(--text-title-lg);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.featured-bento__side-card--secondary .featured-bento__side-title {
  color: var(--color-on-secondary-container);
}

.featured-bento__side-card--tertiary .featured-bento__side-title {
  color: var(--color-on-tertiary-container);
}

.featured-bento__side-desc {
  font-size: var(--text-body-sm);
  opacity: 0.8;
  line-height: 1.5;
}

.featured-bento__side-card--secondary .featured-bento__side-desc {
  color: var(--color-on-secondary-container);
}

.featured-bento__side-card--tertiary .featured-bento__side-desc {
  color: var(--color-on-tertiary-container);
}

.featured-bento__side-link {
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: var(--text-body-sm);
}

.featured-bento__side-card--secondary .featured-bento__side-link {
  color: var(--color-on-secondary-container);
}

.featured-bento__side-card--tertiary .featured-bento__side-link {
  color: var(--color-on-tertiary-container);
}

/* About section */
.about-section {
  background: var(--color-surface-container-low);
  padding: 6rem var(--space-4);
}

.about-section__inner {
  max-width: 56rem;
  margin-inline: auto;
  text-align: center;
}

.about-section__headline {
  font-family: var(--font-headline);
  font-size: var(--text-headline-lg);
  font-weight: 900;
  color: var(--color-on-surface);
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
}

.about-section__body {
  color: var(--color-on-surface-variant);
  font-size: var(--text-title-md);
  line-height: 1.7;
  margin-bottom: var(--space-3);
}

.about-section__body .brand {
  color: #ea580c;
  font-weight: 700;
}

.about-icons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.about-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-icon__circle {
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius-full);
  background: var(--color-surface-container-lowest);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  margin-bottom: 0.5rem;
}

.about-icon__label {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-on-surface-variant);
  text-align: center;
  line-height: 1.3;
}


/* ==========================================================================
   13. PULSE CRM LANDING PAGE
   ========================================================================== */

.discoverability-bar {
  background: var(--color-surface-container-low);
  padding: 0.75rem var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  overflow-x: auto;
  white-space: nowrap;
}

/* center + overflow = the unreachable-left-overflow trap (scrollLeft cannot
   go negative): when the chips exceed the container, plain center pushes the
   first chips past the LEFT edge where no scroll reaches (PAA 07:04Z).
   flex-start fallback, upgraded to `safe center` where supported. */
@media (max-width: 767px) {
  .discoverability-bar { justify-content: flex-start; justify-content: safe center; }
}

.discoverability-bar__label {
  font-family: var(--font-label);
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-on-surface-variant);
}

.discoverability-bar__tools {
  display: flex;
  gap: var(--space-3);
}

.discoverability-bar__tool {
  display: flex;
  /* Jeremy m12032: pills shrank below their text in his browser (engine-
     dependent flex min-content; Chromium never showed it). Pills must NEVER
     shrink — the bar scrolls instead. */
  flex: 0 0 auto;
  white-space: nowrap;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-surface-container-lowest);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--color-on-surface);
  font-weight: 700;
  font-size: var(--text-body-sm);
  transition: transform 200ms;
}

.discoverability-bar__tool:hover {
  transform: translateY(-2px);
}

/* CRM hero */
.crm-hero {
  /* overflow:clip — the corner glows (__glow-1/2) sit at negative offsets;
     without clipping, glow-2 (right:-2.5rem) widens the DOCUMENT 16px past
     a 390px viewport on every j3_app page (PAA artifact 07:01Z). */
  overflow: clip;
  display: grid;
  /* minmax(0,1fr), not 1fr: a plain 1fr track grows to its widest
     unbreakable child, and overflow:clip then HIDES the excess. At 390 the
     icon+headline min-content pushed the track to 357px (barber-chair-pro)
     and 381px (mypatients) vs the 342px column (EmberFlutter 05:2xZ). */
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
  padding-inline: var(--space-4);
  max-width: 80rem;
  margin-inline: auto;
  padding-top: 3rem;
}

@media (min-width: 1024px) {
  .crm-hero {
    grid-template-columns: 1fr 1fr;
    /* round 3 CLS fix: center-alignment let the TEXT column's height move the
       photo card when fonts swapped (47px card jump measured). Top-align and
       pad the image column instead. */
    align-items: start;
  }
  .crm-hero__image-wrap { margin-top: 2.5rem; }
}

.crm-hero__badge {
  display: inline-block;
  background: var(--color-primary-container);
  color: var(--color-on-primary-container);
  padding: 0.25rem 1rem;
  border-radius: var(--radius-full);
  font-size: var(--text-body-sm);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-4);
}

.crm-hero__headline {
  font-family: var(--font-headline);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-4);
  color: var(--color-on-surface);
}

@media (min-width: 768px) {
  .crm-hero__headline {
    font-size: 4.5rem;
  }
}

.crm-hero__body {
  color: var(--color-on-surface-variant);
  font-size: var(--text-title-md);
  max-width: 36rem;
  margin-bottom: var(--space-4);
  line-height: 1.6;
}

.crm-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.crm-hero__image-wrap {
  position: relative;
}

.crm-hero__glow-1 {
  position: absolute;
  top: -2.5rem;
  left: -2.5rem;
  width: 10rem;
  height: 10rem;
  background: rgba(142, 175, 255, 0.30);
  border-radius: var(--radius-full);
  filter: blur(3rem);
  pointer-events: none;
}

.crm-hero__glow-2 {
  position: absolute;
  bottom: -2.5rem;
  right: -2.5rem;
  width: 15rem;
  height: 15rem;
  background: rgba(255, 198, 151, 0.30);
  border-radius: var(--radius-full);
  filter: blur(3rem);
  pointer-events: none;
}

.crm-hero__card {
  border-radius: var(--radius-lg);
  background: var(--color-surface-container-lowest);
  padding: var(--space-4);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.crm-hero__card img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* Feature cards */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 200ms;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
}

.feature-card:hover {
  box-shadow: var(--shadow-ambient);
}

.feature-card__icon {
  width: 5rem;
  height: 5rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card__icon--primary {
  background: rgba(255, 113, 152, 0.2);
}

.feature-card__icon--primary .material-symbols-outlined {
  color: var(--color-primary);
  font-size: 2.5rem;
}

.feature-card__icon--tertiary {
  background: rgba(142, 175, 255, 0.2);
}

.feature-card__icon--tertiary .material-symbols-outlined {
  color: var(--color-tertiary);
  font-size: 2.5rem;
}

.feature-card__icon--secondary {
  background: rgba(255, 198, 151, 0.2);
}

.feature-card__icon--secondary .material-symbols-outlined {
  color: var(--color-secondary);
  font-size: 2.5rem;
}

.feature-card__title {
  font-family: var(--font-headline);
  font-size: var(--text-headline-sm);
  font-weight: 700;
  color: var(--color-on-surface);
}

.feature-card__body {
  color: var(--color-on-surface-variant);
  line-height: 1.6;
}

/* Stats section */
.stats-section {
  background: var(--color-surface-container-lowest);
  border-radius: var(--radius-xl);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .stats-section {
    grid-template-columns: 1fr 1fr;
  }
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--color-surface-container-low);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
}

.stat-item__badge {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: var(--text-title-lg);
  flex-shrink: 0;
}

.stat-item__badge--green {
  background: #dcfce7;
  color: #15803d;
}

.stat-item__badge--blue {
  background: #dbeafe;
  color: #1d4ed8;
}

.stat-item__label {
  font-weight: 700;
  color: var(--color-on-surface);
  margin-bottom: 0.125rem;
}

.stat-item__sublabel {
  font-size: var(--text-body-sm);
  color: var(--color-on-surface-variant);
}

.stats-section__image {
  background: var(--color-surface-container);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  overflow: hidden;
  border: 8px solid #ffffff;
  box-shadow: var(--shadow-lg);
}

.stats-section__image img {
  border-radius: var(--radius-sm);
  width: 100%;
  height: 300px;
  object-fit: cover;
}

/* CTA banner */
.cta-banner {
  text-align: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  padding: 4rem;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.cta-banner__headline {
  font-family: var(--font-headline);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #ffffff;
  line-height: 1.1;
}

.cta-banner__body {
  font-size: var(--text-title-md);
  opacity: 0.9;
  max-width: 42rem;
  line-height: 1.6;
}

.cta-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .cta-banner__actions {
    flex-direction: row;
    justify-content: center;
  }
}

.btn-banner-primary {
  background: #ffffff;
  color: var(--color-primary);
  padding: 1.25rem 2.5rem;
  border-radius: var(--radius-full);
  font-weight: 900;
  font-size: var(--text-title-lg);
  box-shadow: var(--shadow-lg);
  transition: transform 200ms;
  border: none;
  cursor: pointer;
}

.btn-banner-primary:hover {
  transform: scale(1.05);
}

.btn-banner-secondary {
  background: rgba(255, 113, 152, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 1.25rem 2.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: var(--text-title-lg);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: transform 200ms;
}

.btn-banner-secondary:hover {
  transform: translateY(-2px);
}


/* ==========================================================================
   14. SINGLE POST & GENERIC PAGES
   ========================================================================== */

.post-header {
  padding-top: 7rem;
  padding-bottom: 3rem;
  padding-inline: var(--space-4);
  max-width: 52rem;
  margin-inline: auto;
}

.post-header__category {
  margin-bottom: var(--space-3);
}

.post-header__title {
  font-family: var(--font-headline);
  font-size: var(--text-headline-xl);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--color-on-surface);
  margin-bottom: var(--space-4);
  line-height: 1.15;
}

.post-header__meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.post-header__meta time {
  font-size: var(--text-body-sm);
  color: var(--color-on-surface-variant);
}

.post-thumbnail {
  padding-inline: var(--space-4);
  max-width: 52rem;
  margin-inline: auto;
  margin-bottom: var(--space-5);
}

.post-thumbnail img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 28rem;
  object-fit: cover;
}

.post-content {
  padding-inline: var(--space-4);
  max-width: 52rem;
  margin-inline: auto;
  margin-bottom: var(--space-8);
}

.post-content p {
  color: var(--color-on-surface-variant);
  font-size: var(--text-title-md);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}

.post-content h2 {
  font-family: var(--font-headline);
  font-size: var(--text-headline-sm);
  font-weight: 700;
  color: var(--color-on-surface);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.post-content h3 {
  font-family: var(--font-headline);
  font-size: var(--text-title-lg);
  font-weight: 700;
  color: var(--color-on-surface);
  margin-top: var(--space-5);
  margin-bottom: var(--space-3);
}

.post-content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.post-content blockquote {
  border-left: 4px solid var(--color-primary-container);
  padding-left: var(--space-4);
  margin: var(--space-5) 0;
  color: var(--color-on-surface-variant);
  font-style: italic;
  font-size: var(--text-title-md);
}

.post-content ul,
.post-content ol {
  list-style: disc;
  padding-left: var(--space-5);
  color: var(--color-on-surface-variant);
  font-size: var(--text-title-md);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}

.post-content ol {
  list-style: decimal;
}

.post-content li {
  margin-bottom: var(--space-2);
}

/* Generic page content */
.page-content {
  padding-top: 7rem;
  padding-inline: var(--space-4);
  max-width: 52rem;
  margin-inline: auto;
  padding-bottom: var(--space-8);
}

.page-content .page-title {
  font-family: var(--font-headline);
  font-size: var(--text-headline-xl);
  font-weight: 800;
  color: var(--color-on-surface);
  letter-spacing: -0.04em;
  margin-bottom: var(--space-5);
}

.page-content .entry-content p {
  color: var(--color-on-surface-variant);
  font-size: var(--text-title-md);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}

/* Fallback / blog index */
.blog-header {
  padding-top: 7rem;
  padding-bottom: 3rem;
  text-align: center;
  padding-inline: var(--space-4);
}

.blog-header__title {
  font-family: var(--font-headline);
  font-size: var(--text-headline-xl);
  font-weight: 800;
  color: var(--color-on-surface);
  letter-spacing: -0.04em;
  margin-bottom: var(--space-3);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-6) var(--space-4);
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: var(--text-body-sm);
  transition: background 200ms, transform 200ms;
  background: var(--color-surface-container-low);
  color: var(--color-on-surface);
}

.pagination a:hover {
  background: var(--color-surface-container);
  transform: translateY(-2px);
}

.pagination .current {
  background: var(--gradient-primary);
  color: var(--color-on-primary);
}


/* ==========================================================================
   15. INPUT / SEARCH (accessibility + form defaults)
   ========================================================================== */

input[type="text"],
input[type="email"],
input[type="search"],
textarea {
  font-family: var(--font-body);
  background: var(--color-surface-container-highest);
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: var(--text-body-lg);
  color: var(--color-on-surface);
  width: 100%;
  outline: none;
  transition: background 200ms, box-shadow 200ms;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="search"]:focus,
textarea:focus {
  background: var(--color-surface-container-lowest);
  box-shadow: 0 0 0 2px var(--color-tertiary);
}

/* ==========================================================================
   16. WORDPRESS ALIGNMENT & BLOCK CLASSES
   ========================================================================== */

.alignleft   { float: left; margin-right: 1.5rem; margin-bottom: 1rem; }
.alignright  { float: right; margin-left: 1.5rem; margin-bottom: 1rem; }
.aligncenter { display: block; margin-inline: auto; margin-bottom: 1rem; }
.wp-caption  { max-width: 100%; }
.wp-caption-text { font-size: var(--text-label-md); color: var(--color-on-surface-variant); text-align: center; padding-top: 0.5rem; }
.sticky      {}
.bypostauthor{}

/* Screen reader text */
.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;
}

/* ==========================================================================
   17. NO-LINE RULE ENFORCEMENT
   Override any theme defaults that might add borders
   ========================================================================== */

hr { display: none; }
.wp-block-separator { display: none; }


/* ==========================================================================
   App detail page sections (single-j3_app.php)
   Screenshots, use cases, how-it-works steps, pricing tiers, per-app FAQ.
   FAQ classes match page-faq.php's accordion so both render identically.
   ========================================================================== */

.app-section {
	max-width: 80rem;
	margin-inline: auto;
	padding-inline: var(--space-4);
	padding-bottom: 4rem;
}

.app-section__heading {
	font-family: var(--font-headline);
	font-size: var(--text-headline-md);
	font-weight: 700;
	letter-spacing: -0.03em;
	color: var(--color-on-surface);
	text-align: center;
	margin-bottom: 0.75rem;
}

.app-section__subheading {
	color: var(--color-on-surface-variant);
	font-size: var(--text-title-md);
	text-align: center;
	max-width: 40rem;
	margin: 0 auto 2.5rem;
	line-height: 1.6;
}

/* Screenshots gallery */
.screens-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: var(--space-5);
}

.screen-card {
	background: var(--color-surface-container-lowest);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: 0px 20px 40px rgba(45, 47, 49, 0.06);
}

.screen-card img {
	width: 100%;
	height: auto;
	display: block;
}

.screen-card__caption {
	padding: var(--space-3) var(--space-4);
	color: var(--color-on-surface-variant);
	font-size: var(--text-body-md);
	line-height: 1.5;
}

/* How it works steps */
.steps-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: var(--space-5);
	counter-reset: step;
}

.step-card {
	background: var(--color-surface-container-lowest);
	border-radius: var(--radius-lg);
	padding: var(--space-5);
}

.step-card__number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	font-family: var(--font-headline);
	font-weight: 700;
	font-size: var(--text-title-lg);
	color: #fff;
	margin-bottom: var(--space-3);
}

.step-card__title {
	font-family: var(--font-headline);
	font-size: var(--text-title-lg);
	font-weight: 700;
	color: var(--color-on-surface);
	margin-bottom: 0.5rem;
}

.step-card__body {
	color: var(--color-on-surface-variant);
	font-size: var(--text-body-lg);
	line-height: 1.6;
}

/* Pricing tiers */
.pricing-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: var(--space-5);
	align-items: stretch;
}

.price-card {
	background: var(--color-surface-container-lowest);
	border-radius: var(--radius-lg);
	padding: var(--space-6) var(--space-5);
	display: flex;
	flex-direction: column;
	box-shadow: 0px 20px 40px rgba(45, 47, 49, 0.06);
}

.price-card__name {
	font-family: var(--font-headline);
	font-size: var(--text-title-lg);
	font-weight: 700;
	color: var(--color-on-surface);
}

.price-card__price {
	font-family: var(--font-headline);
	font-size: var(--text-headline-md);
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 0.5rem 0;
}

.price-card__desc {
	color: var(--color-on-surface-variant);
	font-size: var(--text-body-lg);
	line-height: 1.6;
	margin-bottom: var(--space-4);
}

.price-card__features {
	list-style: none;
	padding: 0;
	margin: 0 0 var(--space-4);
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.price-card__features li {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	color: var(--color-on-surface-variant);
	font-size: var(--text-body-lg);
	line-height: 1.5;
}

/* FAQ accordion — mirrors page-faq.php inline styles */
.faq-list { display: flex; flex-direction: column; gap: 0; }

.faq-item {
	border-bottom: none;
	background: var(--color-surface-container-lowest);
	border-radius: var(--radius-lg);
	margin-bottom: 0.75rem;
	overflow: hidden;
}

.faq-item__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-3);
	padding: var(--space-4) var(--space-5);
	cursor: pointer;
	font-family: var(--font-headline);
	font-size: var(--text-title-lg);
	font-weight: 700;
	color: var(--color-on-surface);
	list-style: none;
	transition: color 200ms;
	user-select: none;
}

.faq-item__question::-webkit-details-marker { display: none; }

.faq-item[open] .faq-item__question { color: var(--color-primary); }

.faq-item__icon {
	flex-shrink: 0;
	font-size: 1.5rem;
	color: var(--color-on-surface-variant);
	transition: transform 300ms ease;
}

.faq-item[open] .faq-item__icon {
	transform: rotate(180deg);
	color: var(--color-primary);
}

.faq-item__answer { padding: 0 var(--space-5) var(--space-4); }

.faq-item__answer p {
	color: var(--color-on-surface-variant);
	font-size: var(--text-title-md);
	line-height: 1.7;
}


/* ═══════════════════════════════════════════════════════════════════════════
   LEAD CAPTURE FORM  (.j3-lead-form — rendered by [j3_lead_form] shortcode,
   submitted via js/j3-attribution.js → POST /wp-json/j3/v1/lead)
   ═══════════════════════════════════════════════════════════════════════════ */

.j3-lead-form {
	max-width: 36rem;
	margin-inline: auto;
	text-align: center;
}

.j3-lead-form__heading {
	font-family: var(--font-headline);
	font-size: var(--text-headline-sm);
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--color-on-surface);
	margin-bottom: 0.5rem;
}

.j3-lead-form__body {
	color: var(--color-on-surface-variant);
	font-size: var(--text-title-md);
	margin-bottom: 1.25rem;
}

.j3-lead-form__row {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
	justify-content: center;
}

.j3-lead-form__input {
	flex: 1 1 16rem;
	min-width: 0;
	padding: 0.875rem 1.25rem;
	font: inherit;
	color: var(--color-on-surface);
	background: var(--color-surface-container-lowest);
	border: 1px solid var(--color-outline-variant, var(--color-surface-dim));
	border-radius: var(--radius-md);
}

.j3-lead-form__input:focus {
	outline: 2px solid var(--color-primary);
	outline-offset: 1px;
	border-color: var(--color-primary);
}

.j3-lead-form__submit {
	padding: 0.875rem 1.75rem;
	font: inherit;
	font-weight: 700;
	color: #fff;
	background: var(--gradient-primary);
	border: none;
	border-radius: var(--radius-md);
	cursor: pointer;
	transition: transform 150ms ease, box-shadow 150ms ease;
}

.j3-lead-form__submit:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(175, 27, 83, 0.25); }
.j3-lead-form__submit:disabled { opacity: 0.6; cursor: default; transform: none; box-shadow: none; }

/* Honeypot — hidden from humans (not display:none, some bots skip those) */
.j3-lead-form__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px; height: 1px;
	opacity: 0;
	pointer-events: none;
}

.j3-lead-form__msg {
	display: none;
	margin-top: 1rem;
	font-weight: 600;
	color: var(--color-primary);
}

.j3-lead-form__msg.is-visible { display: block; }
.j3-lead-form__msg.is-error { color: #b3261e; }

.j3-lead-form.is-success .j3-lead-form__row { display: none; }

/* contact-mode lead form (CE-117) */
.j3-lead-form__row--stack { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 0.75rem; }
/* In a COLUMN flex the inputs' flex-basis (16rem) becomes HEIGHT — the
   256px grey blocks on /contact/ at 1440 (director artifact be7d0a5c). */
.j3-lead-form__row--stack .j3-lead-form__input { flex: none; width: 100%; }
.j3-lead-form__textarea { min-height: 8rem; resize: vertical; }
.j3-lead-form__consent { font-size: var(--text-body-sm); color: var(--color-on-surface-variant); margin: 0; }


/* ── Contact-mode lead form (.j3-lead-form--contact, v1.8.20): DOM order
      now equals visual order (Name, Email, Topic, Message, consent, button
      below) so no order CSS is needed. Uniform field styling; button
      full-width on phones, left auto-width from 768px. ── */
.j3-lead-form--contact { text-align: left; }
.j3-lead-form--contact .j3-lead-form__input {
	/* UNIFORM across input/select/textarea (Cypra 07:10Z: the v1.8.19 frames
	   showed borderless Name/Email beside bordered Topic/Message): same
	   background, 1px border, radius and focus ring on all four fields. */
	min-height: 3.25rem; box-sizing: border-box;
	background: var(--color-surface-container-lowest);
	border: 1px solid var(--color-outline-variant, var(--color-surface-dim));
	border-radius: var(--radius-md);
	appearance: none; -webkit-appearance: none;
	padding: 0.875rem 1rem;
}
/* appearance:none strips the select's native arrow (Cypra read of e40d33cb):
   restore a chevron so Topic reads as a dropdown, not a text field. */
.j3-lead-form--contact select.j3-lead-form__input {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%232d2f31' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	padding-right: 2.75rem;
}
.j3-lead-form--contact .j3-lead-form__input:focus {
	outline: 2px solid var(--color-primary); outline-offset: 1px;
	border-color: var(--color-primary);
}
.j3-lead-form--contact .j3-lead-form__textarea { min-height: 10rem; }
.j3-lead-form--contact .j3-lead-form__submit { width: 100%; }
@media (min-width: 768px) {
	.j3-lead-form--contact .j3-lead-form__submit { width: auto; align-self: flex-start; }
}
.j3-lead-form--contact { display: flex; flex-direction: column; gap: 0.75rem; }
.j3-lead-form--contact .j3-lead-form__row--stack { display: contents; }
/* success: the contact button sits OUTSIDE the rows now — hide it too */
.j3-lead-form.is-success .j3-lead-form__submit { display: none; }

/* ── Round 2 (CP1-T136/T138): all-apps cluster, contained icons, web-app
      button, support block ─────────────────────────────────────────────── */

/* Apple-Watch-style cluster. FIXED cell size + reserved name bar = zero
   layout shift; scale is transform-only; the armed/hover icon raises
   z-index so the 1.35 growth renders above neighbours (director ref. 2). */
.apps-cluster { text-align: center; margin: 1rem auto 2rem; max-width: 46rem; }
.apps-cluster__label {
	font-size: var(--text-body-sm); color: var(--color-on-surface-variant);
	margin-bottom: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase;
}
/* HEX-PACKED CENTERED CLUSTER (Jeremy M-12017: 'more like the Apple
   Watch'). Rows of 3-4-3-2, every row CENTERED, alternate rows offset by
   half a cell, vertical pitch ~0.87 x cell = true hex packing, one round
   blob — IDENTICAL at every width (max row = 4 cells fits 390px phones;
   never rows of 5, never a left-aligned last row). Mechanism: an 8-half-
   column grid; each cell spans 2 half-columns; explicit nth-child
   placement keeps DOM order = tab order = row-by-row reading order. */
.apps-cluster__grid {
	list-style: none; margin: 0 auto; padding: 0;
	display: grid;
	grid-template-columns: repeat(8, 42px); /* half-cell = 42px → cell 84px incl. breathing room */
	grid-template-rows: repeat(4, 66px);    /* 0.87 x 76px pitch */
	justify-content: center;
	width: fit-content;
}
.apps-cluster__cell { width: 76px; height: 76px; grid-column: span 2; justify-self: center; } /* centre the 76px cell in its 84px span: the blob's row centre = page centre */
/* row 1: 3 centered */
.apps-cluster__cell:nth-child(1) { grid-row: 1; grid-column: 2 / span 2; }
.apps-cluster__cell:nth-child(2) { grid-row: 1; grid-column: 4 / span 2; }
.apps-cluster__cell:nth-child(3) { grid-row: 1; grid-column: 6 / span 2; }
/* row 2: 4, offset half a cell */
.apps-cluster__cell:nth-child(4) { grid-row: 2; grid-column: 1 / span 2; }
.apps-cluster__cell:nth-child(5) { grid-row: 2; grid-column: 3 / span 2; }
.apps-cluster__cell:nth-child(6) { grid-row: 2; grid-column: 5 / span 2; }
.apps-cluster__cell:nth-child(7) { grid-row: 2; grid-column: 7 / span 2; }
/* row 3: 3 centered */
.apps-cluster__cell:nth-child(8) { grid-row: 3; grid-column: 2 / span 2; }
.apps-cluster__cell:nth-child(9) { grid-row: 3; grid-column: 4 / span 2; }
.apps-cluster__cell:nth-child(10) { grid-row: 3; grid-column: 6 / span 2; }
/* row 4: 2 centered */
.apps-cluster__cell:nth-child(11) { grid-row: 4; grid-column: 3 / span 2; }
.apps-cluster__cell:nth-child(12) { grid-row: 4; grid-column: 5 / span 2; }
/* Watch fisheye feel (optional per ruling, kept cheap + accessible): the
   blob's outer rows sit slightly smaller; the fisheye lives on the CELL
   so the ICON's own hover/armed transform is unaffected, and the hit
   target stays 72px x 0.92 = 66px > 44px minimum. */
.apps-cluster__cell:nth-child(-n+3),
.apps-cluster__cell:nth-child(n+11) { transform: scale(0.92); }
@media (prefers-reduced-motion: reduce) {
	.apps-cluster__cell:nth-child(-n+3),
	.apps-cluster__cell:nth-child(n+11) { transform: scale(0.92); } /* static size, not motion */
}
.apps-cluster__icon {
	display: flex; align-items: center; justify-content: center;
	width: 72px; height: 72px; margin: 2px; border-radius: 50%;
	background: var(--color-surface-container-lowest);
	box-shadow: var(--shadow-sm);
	position: relative; z-index: 1;
	transition: transform 180ms ease, box-shadow 180ms ease;
}
.apps-cluster__icon img {
	width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block;
}
.apps-cluster__icon:hover,
.apps-cluster__icon:focus-visible,
.apps-cluster__icon.is-armed {
	transform: scale(1.35);
	z-index: 5; /* above neighbours, never clipped (director ref. 2) */
	box-shadow: var(--shadow-md);
}
/* the armed state must read as a STATE, not an accident (director ref. 3) */
.apps-cluster__icon.is-armed,
.apps-cluster__icon:focus-visible {
	outline: 3px solid var(--color-primary); outline-offset: 2px;
}
.apps-cluster__name {
	/* reserved at rest: constant height, no reflow when text arrives */
	min-height: 1.75rem; line-height: 1.75rem; margin: 1.4rem 0 0;
	font-weight: 700; font-size: var(--text-body-lg); color: var(--color-on-surface);
}
.apps-cluster__cell-label { /* visible only under noscript */
	position: absolute; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%);
}
@media (prefers-reduced-motion: reduce) {
	.apps-cluster__icon { transition: none; }
	.apps-cluster__icon:hover,
	.apps-cluster__icon:focus-visible,
	.apps-cluster__icon.is-armed { transform: none; } /* static ring only */
	/* (EmberFlutter v1.8.30 finding) with the scale gone, HOVER needs the
	   ring too — otherwise a mouse user sees the name but not whose it is.
	   Under normal motion the scale is the hover highlight; the ring stays
	   reserved for focus/armed there. */
	.apps-cluster__icon:hover {
		outline: 3px solid var(--color-primary); outline-offset: 2px;
	}
}

/* Contained icon treatment (Cypra 16:38Z): square art WITHOUT a circular
   master (WhatNumber; iSchedule) is inscribed whole on a ground matching
   its own edge colour — a circle crop would cut labels/badges. */
.icon-contained {
	background: var(--icon-ground, #16181d);
	border-radius: 50%; overflow: hidden;
}
.icon-contained img {
	width: 70% !important; height: 70% !important;
	border-radius: 0 !important; object-fit: contain !important;
	margin: auto;
}

/* Web-app login button: secondary style, slight distinction */
.btn-webapp .material-symbols-outlined { font-size: 1rem; }

/* Get-help support block */
.app-support { text-align: center; padding: 2.5rem 1rem 3rem; }
.app-support__title { font-size: var(--text-title-lg); margin-bottom: 0.5rem; }
.app-support__body { color: var(--color-on-surface-variant); max-width: 38rem; margin: 0 auto; }
.app-support__body a { font-weight: 700; color: var(--color-primary); }

/* desktop upscale (Cypra 17:10Z, Jeremy: the Watch blob undersells at 330px
   on 1440): ~20% larger cells on 1024+. AT END OF FILE on purpose: the base .apps-cluster__icon width rule sits later in source than the cluster grid section, and same-specificity source order beats a media query - this block must come after it; same packing, same contract. */
@media (min-width: 1024px) {
	.apps-cluster__grid {
		grid-template-columns: repeat(8, 50px);
		grid-template-rows: repeat(4, 79px);
	}
	.apps-cluster__cell { width: 91px; height: 91px; }
	.apps-cluster__icon { width: 86px; height: 86px; }
}

/* Round 3: hero photo slot (photos Jeremy-gated; empty meta = logo card) */
.crm-hero__photo {
	width: 100%; height: auto; display: block;
	border-radius: var(--radius-lg); object-fit: cover;
}
.crm-hero__headline--with-icon { display: flex; align-items: center; gap: 0.75rem; }
img.crm-hero__title-icon {
	width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
	flex-shrink: 0;
}

/* Get-started anchors (round 4): the sticky header must not cover a
   scrolled-to target. */
#get-started, #all-apps, #waitlist { scroll-margin-top: 6rem; }

/* Get-started landing ring (Cypra ruling: the UA 1px default is too thin).
   :focus-visible ONLY — keyboard/SR landings get the ring, mouse clicks do
   not. Primary on the light surface is contrast-safe. */
#get-started:focus-visible, #all-apps:focus-visible, #waitlist:focus-visible {
	outline: 3px solid var(--color-primary);
	outline-offset: 4px;
	border-radius: 8px;
}

/* SAMPLE chip on un-approved hero photos (round-4 manifest rule) */
.crm-hero__card { position: relative; }
.crm-hero__sample-chip {
	position: absolute; top: 12px; right: 12px; z-index: 2;
	padding: 4px 10px; border-radius: var(--radius-full);
	background: rgba(26, 26, 26, 0.72); color: #fff;
	font-family: var(--font-label); font-size: 0.6875rem; font-weight: 700;
	letter-spacing: 0.12em; text-transform: uppercase;
}

/* ── Home hero with the all-apps cluster (v1.8.60, home option A) ──────────
   This block lives at EOF on purpose: source order beats specificity ties,
   and the v1.8.34 incident proved an earlier-in-file media block loses.
   The cluster itself reuses the sitewide .apps-cluster rules unchanged;
   these rules only fit it into the home hero rhythm. */
.hero--cluster { padding-bottom: var(--space-5); }
.hero--cluster .hero__subtext--lead { max-width: 36rem; margin-inline: auto; }
.hero--cluster .apps-cluster { margin-top: var(--space-5); }
/* Director's home-tune verdict (20:11:03Z, v1.8.60): one balanced centred
   column — the H1 joins the centred lead/cluster/button; and the FAQ block
   gets air above it so it does not crowd the grey band. Home-scoped only:
   .hero--cluster exists on home alone, and .home scopes the FAQ rule. */
.hero--cluster .hero__headline { text-align: center; }
/* v1.8.61: EmberFlutter's centre-line read exposed the lead TEXT as
   left-aligned inside its centred box (off -72px at 1440) — the ruled
   criterion is H1/lead/cluster/button centres within 1-2px, so the lead
   joins the centred column too. */
.hero--cluster .hero__subtext--lead { text-align: center; }
.home .app-section#faq { padding-top: var(--space-6); }


/* Phones: in photo mode the 48px app icon sits ABOVE the headline, not
   beside it. Beside it, icon + the longest headline word is wider than a
   342px column (EmberFlutter measured; minmax alone clipped the H1).
   break-word is only a last resort for a single word wider than the column. */
@media (max-width: 599px) {
	.crm-hero__headline--with-icon { display: block; overflow-wrap: break-word; }
	.crm-hero__headline--with-icon .crm-hero__title-icon { display: block; margin-bottom: 0.75rem; }
}

/* WORDP-30: What Number's circle logo card shows the whole circle (no cover crop). */
.crm-hero__card--logo-contain img { object-fit: contain; }

/* iSchedule hero card (WORDP-32 designed illustration, Jeremy pick M-12398) */
.ischedule-hero__card { max-width: 68rem; margin: var(--space-6) auto 0; padding-inline: var(--space-4); }
.ischedule-hero__img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
@media (max-width: 599px) {
	/* phones: the same 400px-tall centred crop as the app heroes; the motif sits in the centre third */
	.ischedule-hero__img { height: 400px; aspect-ratio: auto; object-position: 50% 50%; }
}
