/* Printer's Friend public marketing site shared styles. */

.pf-page { background: var(--paper); color: var(--ink); font-family: 'Hanken Grotesk', system-ui, sans-serif; }
.pf-wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.pf-section { padding: 96px 32px; }
.pf-section.tight { padding: 64px 32px; }
.pf-section.ink { background: var(--ink); color: var(--paper); }
.pf-section.ink h1, .pf-section.ink h2, .pf-section.ink h3 { color: var(--paper); }

.pf-section-eyebrow {
  display: inline-block; font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: 0.22em;
  color: var(--coral); text-transform: uppercase; margin-bottom: 12px;
}
.pf-section.ink .pf-section-eyebrow { color: var(--coral); }
.pf-section-h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(32px, 4.6vw, 48px);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.05;
  max-width: 720px; color: inherit;
}
.pf-section-h2.center { margin-left: auto; margin-right: auto; text-align: center; }
.pf-section-lede { color: var(--ink-soft); font-size: 17px; max-width: 620px; margin-top: 16px; line-height: 1.55; }
.pf-section-lede.center { margin-left: auto; margin-right: auto; text-align: center; }
.pf-section.ink .pf-section-lede { color: rgba(247, 242, 233, 0.74); }

/* Nav */
.pf-nav { position: sticky; top: 0; z-index: 50; background: rgba(247, 242, 233, 0.92); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid rgba(20, 35, 61, 0.08); }
.pf-nav.ink { background: rgba(20, 35, 61, 0.94); border-bottom-color: rgba(247, 242, 233, 0.12); }
.pf-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 32px; max-width: 1320px; margin: 0 auto; }
.pf-nav-brand { display: flex; align-items: center; gap: 10px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; font-size: 18px; }
.pf-nav.ink .pf-nav-brand { color: var(--paper); }
.pf-nav-links { display: flex; gap: 4px; align-items: center; }
.pf-nav-links a { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 14px; border-radius: 8px; }
.pf-nav-links a:hover { background: rgba(20, 35, 61, 0.06); }
.pf-nav.ink .pf-nav-links a { color: var(--paper); }
.pf-nav.ink .pf-nav-links a:hover { background: rgba(247, 242, 233, 0.10); }
.pf-nav-drop { position: relative; }
.pf-nav-drop > button { font-family: inherit; font-size: 14px; font-weight: 500; color: var(--ink); background: transparent; border: 0; padding: 8px 14px; border-radius: 8px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.pf-nav-drop > button:hover { background: rgba(20, 35, 61, 0.06); }
.pf-nav.ink .pf-nav-drop > button { color: var(--paper); }
.pf-nav-drop > button::after { content: ''; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: 0.6; }
.pf-nav-drop-panel { display: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 460px; background: var(--paper); border: 1px solid rgba(20, 35, 61, 0.10); border-radius: 14px; box-shadow: 0 18px 40px rgba(20, 35, 61, 0.14); padding: 18px; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.pf-nav-drop:hover .pf-nav-drop-panel, .pf-nav-drop:focus-within .pf-nav-drop-panel { display: grid; }
.pf-nav-drop-panel h5 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 8px; }
.pf-nav-drop-panel a { display: block; padding: 6px 8px; font-size: 14px; border-radius: 6px; color: var(--ink); text-decoration: none; }
.pf-nav-drop-panel a small { display: block; color: var(--ink-soft); font-size: 12px; font-weight: 400; }
@media (max-width: 900px) {
  .pf-nav-drop { position: static; width: 100%; }
  .pf-nav-drop > button { width: 100%; justify-content: space-between; }
  .pf-nav-drop-panel { display: grid; position: static; min-width: 0; grid-template-columns: 1fr; box-shadow: none; border: 0; background: transparent; padding: 0 0 8px 8px; }
}
.pf-nav-cta { display: flex; gap: 8px; align-items: center; }
.pf-nav-cta .pf-btn { padding: 9px 14px; font-size: 13px; }
.pf-mobile-toggle { display: none; background: transparent; border: 0; color: inherit; cursor: pointer; padding: 8px; }

/* Buttons */
.pf-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 14px; border-radius: 999px; text-decoration: none; border: 0; cursor: pointer; transition: transform 80ms ease, background 120ms ease; letter-spacing: 0.01em; }
.pf-btn-coral { background: var(--coral); color: white; }
.pf-btn-coral:hover { background: #ff4a2a; transform: translateY(-1px); }
.pf-btn-ink { background: var(--ink); color: var(--paper); }
.pf-btn-ink:hover { background: #0c1828; }
.pf-btn-paper { background: var(--paper); color: var(--ink); }
.pf-btn-paper:hover { background: white; }
.pf-btn-line { background: transparent; color: inherit; border: 1.5px solid currentColor; }
.pf-btn-line:hover { background: currentColor; color: var(--paper); }
.pf-btn-ghost { background: transparent; color: inherit; }

/* Footer */
.pf-footer { background: var(--ink); color: rgba(247, 242, 233, 0.74); padding: 80px 32px 32px; }
.pf-footer h4 { font-family: 'Bricolage Grotesque', sans-serif; color: var(--paper); font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; margin: 0 0 18px; }
.pf-footer-grid { display: grid; grid-template-columns: 1.4fr repeat(5, 1fr); gap: 48px; max-width: 1320px; margin: 0 auto; }
.pf-footer-grid a { color: rgba(247, 242, 233, 0.74); text-decoration: none; font-size: 14px; line-height: 2; }
.pf-footer-grid a:hover { color: var(--paper); }
.pf-footer-grid ul { list-style: none; padding: 0; margin: 0; }
.pf-footer-meta { margin: 64px auto 0; max-width: 1320px; padding-top: 32px; border-top: 1px solid rgba(247, 242, 233, 0.12); display: flex; justify-content: space-between; align-items: center; gap: 24px; font-size: 13px; color: rgba(247, 242, 233, 0.54); flex-wrap: wrap; }
.pf-footer-meta a { color: inherit; text-decoration: none; }
.pf-footer-meta a:hover { color: var(--paper); }
.pf-footer-tag { display: inline-flex; gap: 12px; }
.pf-footer-blurb { color: rgba(247, 242, 233, 0.58); font-size: 14px; line-height: 1.6; max-width: 280px; margin: 12px 0 24px; }
.pf-footer-region { font-size: 12px; color: rgba(247, 242, 233, 0.44); }

/* Cookies banner */
.pf-cookies { position: fixed; bottom: 24px; left: 24px; right: 24px; max-width: 880px; margin: 0 auto; background: var(--ink); color: var(--paper); padding: 24px 28px; border-radius: 18px; box-shadow: 0 24px 60px rgba(20, 35, 61, 0.35); z-index: 100; display: none; }
.pf-cookies.show { display: block; }
.pf-cookies-row { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.pf-cookies-text { font-size: 14px; line-height: 1.55; flex: 1 1 360px; color: rgba(247, 242, 233, 0.86); }
.pf-cookies-text strong { font-family: 'Bricolage Grotesque', sans-serif; display: block; margin-bottom: 4px; color: var(--paper); }
.pf-cookies-text a { color: var(--coral); }
.pf-cookies-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.pf-cookies-prefs { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(247, 242, 233, 0.12); display: none; }
.pf-cookies-prefs.show { display: block; }
.pf-cookie-cat { display: flex; align-items: flex-start; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(247, 242, 233, 0.08); }
.pf-cookie-cat:last-child { border-bottom: 0; }
.pf-cookie-cat-info { flex: 1; }
.pf-cookie-cat-info h5 { margin: 0 0 4px; font-family: 'Bricolage Grotesque', sans-serif; font-size: 14px; color: var(--paper); }
.pf-cookie-cat-info p { margin: 0; font-size: 12px; color: rgba(247, 242, 233, 0.66); line-height: 1.5; }
.pf-switch { position: relative; width: 38px; height: 22px; background: rgba(247, 242, 233, 0.18); border-radius: 999px; cursor: pointer; transition: background 120ms ease; flex-shrink: 0; }
.pf-switch.on { background: var(--coral); }
.pf-switch.disabled { background: rgba(247, 242, 233, 0.32); cursor: not-allowed; }
.pf-switch::after { content: ''; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; background: white; border-radius: 999px; transition: transform 120ms ease; }
.pf-switch.on::after, .pf-switch.disabled::after { transform: translateX(16px); }

/* Reusable card grids */
.pf-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pf-card { background: white; border-radius: 18px; padding: 28px; border: 1px solid rgba(20, 35, 61, 0.06); transition: transform 120ms ease, box-shadow 120ms ease; }
.pf-card:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(20, 35, 61, 0.08); }
.pf-card-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 90, 60, 0.10); color: var(--coral); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.pf-card h3 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 6px; }
.pf-card p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; margin: 0; }
.pf-card a.pf-card-link { display: inline-block; margin-top: 14px; font-size: 13px; color: var(--coral); text-decoration: none; font-weight: 700; }

/* Logo strip */
.pf-logo-strip { display: flex; align-items: center; justify-content: center; gap: 56px; flex-wrap: wrap; padding: 36px 0; opacity: 0.7; }
.pf-logo-strip-label { width: 100%; text-align: center; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 20px; }
.pf-logo-strip span { font-family: 'Bricolage Grotesque', sans-serif; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
/* Dark variant: trust strip sits on an ink band to break the run of pale
   sections, so flip the text to paper and lighten the label. */
.pf-logo-strip--dark { opacity: 1; }
.pf-logo-strip--dark span { color: var(--paper); }
.pf-logo-strip--dark .pf-logo-strip-label { color: rgba(247, 242, 233, 0.56); }
.pf-logo-strip--dark span:not(.pf-logo-strip-label) { color: rgba(247, 242, 233, 0.82); }

@media (max-width: 540px) {
  .pf-logo-strip { gap: 16px 28px; }
  .pf-logo-strip span { font-size: 15px; }
}


/* Pricing */
.pf-pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.pf-tier { background: white; border-radius: 22px; padding: 36px 30px; border: 1px solid rgba(20, 35, 61, 0.08); display: flex; flex-direction: column; gap: 18px; }
.pf-tier.featured { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: translateY(-8px); box-shadow: 0 24px 60px rgba(20, 35, 61, 0.18); }
.pf-tier.featured h3 { color: var(--paper); }
.pf-tier-badge { display: inline-block; background: var(--coral); color: white; font-family: 'Bricolage Grotesque', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; padding: 5px 12px; border-radius: 999px; text-transform: uppercase; align-self: flex-start; }
.pf-tier h3 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 22px; margin: 0; letter-spacing: -0.02em; }
.pf-tier-price { font-family: 'Bricolage Grotesque', sans-serif; font-size: 52px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.pf-tier-price .per { font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--ink-soft); margin-left: 4px; }
.pf-tier.featured .pf-tier-price .per { color: rgba(247, 242, 233, 0.6); }
.pf-tier ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pf-tier li { font-size: 14px; line-height: 1.5; display: flex; gap: 10px; align-items: flex-start; }
.pf-tier li svg { flex-shrink: 0; color: var(--teal); margin-top: 2px; }
.pf-tier.featured li svg { color: var(--coral); }
.pf-tier .pf-btn { width: 100%; justify-content: center; }

/* FAQ */
.pf-faq { max-width: 760px; margin: 0 auto; }
.pf-faq-item { background: white; border-radius: 14px; border: 1px solid rgba(20, 35, 61, 0.08); margin-bottom: 12px; overflow: hidden; }
.pf-faq-item summary { padding: 20px 24px; cursor: pointer; font-family: 'Bricolage Grotesque', sans-serif; font-size: 16.5px; font-weight: 600; letter-spacing: -0.01em; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.pf-faq-item summary::-webkit-details-marker { display: none; }
.pf-faq-item summary::after { content: '+'; font-size: 24px; font-weight: 300; color: var(--coral); transition: transform 200ms ease; }
.pf-faq-item[open] summary::after { content: '−'; }
.pf-faq-item .pf-faq-body { padding: 0 24px 22px; color: var(--ink-soft); line-height: 1.6; font-size: 14.5px; }

/* Two-column section */
.pf-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.pf-split.flip { grid-template-columns: 1fr 1.1fr; }
.pf-split.flip .pf-split-text { order: 2; }
.pf-split.flip .pf-split-visual { order: 1; }
.pf-split-visual { background: var(--ink); border-radius: 22px; padding: 32px; color: var(--paper); min-height: 320px; position: relative; overflow: hidden; }

/* Testimonial card */
.pf-testimonial { background: white; border-radius: 22px; padding: 36px; border: 1px solid rgba(20, 35, 61, 0.08); }
.pf-testimonial blockquote { font-family: 'Bricolage Grotesque', sans-serif; font-size: 22px; line-height: 1.35; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 24px; color: var(--ink); }
.pf-testimonial cite { display: flex; gap: 14px; align-items: center; font-style: normal; }
.pf-testimonial-avatar { width: 44px; height: 44px; border-radius: 999px; background: var(--coral); color: white; display: flex; align-items: center; justify-content: center; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; }
.pf-testimonial-name { font-weight: 700; font-size: 14px; color: var(--ink); }
.pf-testimonial-role { font-size: 13px; color: var(--ink-soft); }

/* Stat band */
.pf-stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 40px 0; }
.pf-stat { text-align: center; }
.pf-stat-num { font-family: 'Bricolage Grotesque', sans-serif; font-size: clamp(36px, 5vw, 56px); font-weight: 800; letter-spacing: -0.04em; }
.pf-stat-num .accent { color: var(--coral); }
.pf-stat-label { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(247, 242, 233, 0.6); margin-top: 4px; }

/* Legal pages */
.pf-legal { max-width: 760px; margin: 0 auto; padding: 64px 32px 96px; }
.pf-legal h1 { font-family: 'Bricolage Grotesque', sans-serif; font-size: clamp(34px, 4.5vw, 52px); letter-spacing: -0.03em; font-weight: 800; margin: 0 0 12px; }
.pf-legal .pf-legal-meta { font-size: 13px; color: var(--ink-soft); margin-bottom: 36px; }
.pf-legal h2 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 22px; letter-spacing: -0.02em; margin: 40px 0 12px; }
.pf-legal h3 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 17px; margin: 28px 0 8px; }
.pf-legal p, .pf-legal li { color: var(--ink); font-size: 15.5px; line-height: 1.7; }
.pf-legal a { color: var(--coral); }
.pf-legal ul, .pf-legal ol { padding-left: 22px; }

/* Page hero */
.pf-page-hero { background: var(--ink); color: var(--paper); padding: 96px 32px 80px; position: relative; overflow: hidden; }
.pf-page-hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(247, 242, 233, 0.10) 1.5px, transparent 2px); background-size: 26px 26px; opacity: 0.45; pointer-events: none; }
.pf-page-hero-inner { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; text-align: center; }
.pf-page-hero h1 { font-family: 'Bricolage Grotesque', sans-serif; font-size: clamp(40px, 6vw, 72px); line-height: 1; letter-spacing: -0.04em; font-weight: 800; color: var(--paper); margin: 0 0 18px; max-width: 880px; margin-left: auto; margin-right: auto; }
.pf-page-hero h1 em { font-style: normal; color: var(--coral); }
.pf-page-hero p { font-size: 18px; color: rgba(247, 242, 233, 0.72); max-width: 620px; margin: 0 auto; line-height: 1.5; }

/* Contact form */
.pf-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.pf-form { background: white; border-radius: 22px; padding: 36px; border: 1px solid rgba(20, 35, 61, 0.08); display: flex; flex-direction: column; gap: 18px; }
.pf-form-field { display: flex; flex-direction: column; gap: 6px; }
.pf-form-field label { font-family: 'Bricolage Grotesque', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.pf-form-field input, .pf-form-field select, .pf-form-field textarea { border: 1.5px solid rgba(20, 35, 61, 0.12); border-radius: 10px; padding: 12px 14px; font-family: 'Hanken Grotesk', system-ui, sans-serif; font-size: 15px; color: var(--ink); background: var(--paper); transition: border-color 120ms ease; }
.pf-form-field input:focus, .pf-form-field select:focus, .pf-form-field textarea:focus { outline: 0; border-color: var(--coral); }
.pf-form-field textarea { min-height: 140px; resize: vertical; }
.pf-form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Integration grid */
.pf-int-cats { display: flex; flex-direction: column; gap: 48px; }
.pf-int-cat-label { font-family: 'Bricolage Grotesque', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--coral); margin-bottom: 18px; }
.pf-int-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pf-int-tile { background: white; border: 1px solid rgba(20, 35, 61, 0.08); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 6px; transition: transform 120ms ease, box-shadow 120ms ease; }
.pf-int-tile:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(20, 35, 61, 0.08); }
.pf-int-tile strong { font-family: 'Bricolage Grotesque', sans-serif; font-size: 15px; letter-spacing: -0.01em; color: var(--ink); }
.pf-int-tile span { font-size: 12.5px; color: var(--ink-soft); line-height: 1.45; }

/* Mobile */
@media (max-width: 920px) {
  .pf-section { padding: 64px 24px; }
  .pf-card-grid { grid-template-columns: 1fr; }
  .pf-pricing-grid { grid-template-columns: 1fr; }
  .pf-tier.featured { transform: none; }
  .pf-split { grid-template-columns: 1fr; gap: 36px; }
  .pf-split.flip .pf-split-text { order: 1; }
  .pf-split.flip .pf-split-visual { order: 2; }
  .pf-stat-band { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .pf-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .pf-int-grid { grid-template-columns: repeat(2, 1fr); }
  .pf-contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .pf-nav-links { display: none; }
  .pf-mobile-toggle { display: inline-flex; }
  .pf-nav-links.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid rgba(20, 35, 61, 0.10); padding: 12px 24px; }
  .pf-nav.ink .pf-nav-links.open { background: var(--ink); }
}
@media (max-width: 540px) {
  .pf-footer-grid { grid-template-columns: 1fr; }
  /* Keep the integrations directory 2-up even on small phones so it reads as
     a scannable grid, not one long single-file stack. */
  .pf-int-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pf-int-tile { padding: 16px; }
  .pf-int-tile strong { font-size: 14px; }
}

/* ---------- Mobile responsive hardening (added 2026-05-28) ---------- */

/* Lock horizontal scroll on the page. Any desktop-shaped widget that can't
   shrink (product mockups, wide tables) is hidden on phones below. */
html, body { overflow-x: hidden; max-width: 100%; }

/* Killer-differentiators 4-card band on home: stack to 2 then 1 on phones */
.pf-killer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 920px) { .pf-killer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .pf-killer-grid { grid-template-columns: 1fr; } }

/* Cookies banner mobile: full-width buttons, single column, no overlap. */
@media (max-width: 600px) {
  .pf-cookies { left: 12px; right: 12px; bottom: 12px; padding: 16px 18px; border-radius: 14px; }
  .pf-cookies-row { gap: 12px; flex-direction: column; align-items: stretch; }
  .pf-cookies-text { flex: 1 1 auto; font-size: 13px; }
  .pf-cookies-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .pf-cookies-actions .pf-btn { width: 100%; justify-content: center; padding: 10px 12px; font-size: 13px; }
  .pf-cookies-actions .pf-btn-coral { grid-column: 1 / -1; }
}

/* Nav: at small widths we hide the brand WORDMARK only (logo glyph stays).
   Sign in + Start free pills STAY visible in the header, just sized tighter
   so they fit alongside the hamburger. The duplicate CTA links inside the
   hamburger menu are also kept as a fallback. */
.pf-nav-desktop-only { display: inline-flex; }
.pf-nav-mobile-cta { display: none; }
@media (max-width: 920px) {
  .pf-nav-inner { gap: 10px; }
  .pf-nav-brand-text { display: none; }
  .pf-nav-cta { gap: 6px; }
  .pf-nav-cta .pf-btn { padding: 7px 12px; font-size: 12.5px; }
  .pf-nav-links.open .pf-nav-mobile-cta {
    display: inline-flex; justify-content: center; margin-top: 8px;
    padding: 12px 16px; border-radius: 999px;
    background: transparent; color: var(--ink); border: 1px solid rgba(20, 35, 61, 0.16);
    font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; text-decoration: none;
  }
  .pf-nav-links.open .pf-nav-mobile-cta--coral { background: var(--coral); color: white; border-color: var(--coral); }
  .pf-nav.ink .pf-nav-links.open .pf-nav-mobile-cta { color: var(--paper); border-color: rgba(247, 242, 233, 0.24); }
  .pf-nav.ink .pf-nav-links.open .pf-nav-mobile-cta--coral { background: var(--coral); color: white; border-color: var(--coral); }
}
/* Very narrow phones (<=380): drop the ghost "Sign in" since the hamburger
   menu has it too; keep the primary coral CTA. */
@media (max-width: 380px) {
  .pf-nav-cta .pf-btn-ghost { display: none; }
}

/* Hero on phone: tighter padding, single-column mock dashboard, full-width
   CTAs. Reduces the heading on tiny phones (320px iPhone SE) so it doesn't
   eat the entire viewport. */
@media (max-width: 920px) {
  .pf-hero { padding: 72px 20px 64px; }
  .pf-hero-visual { padding: 16px; }
  .pf-mock-cols { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 540px) {
  .pf-hero { padding: 56px 18px 52px; }
  .pf-hero h1 { font-size: clamp(38px, 11vw, 60px); }
  .pf-hero .slogan { font-size: 18px; }
  .pf-hero .lede { font-size: 15px; }
  .pf-hero-cta { display: grid; grid-template-columns: 1fr; gap: 10px; width: 100%; }
  .pf-hero-cta .pf-btn { width: 100%; justify-content: center; }
}
@media (max-width: 360px) {
  .pf-hero h1 { font-size: 36px; }
}

/* Showcase tabs: on desktop they sit in a single horizontal pill row. On
   phones the 9 tabs become a clean 3x3 grid: every pill the same width,
   every row the same height, the active tab is just colour-flipped. */
@media (max-width: 760px) {
  .mk-showcase-tabs {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
    width: 100%; max-width: 100%; overflow: visible; padding: 6px;
    border-radius: 14px;
  }
  .mk-showcase-tab {
    font-size: 12.5px; padding: 9px 6px; text-align: center;
    border-radius: 10px; flex: unset; width: 100%; min-width: 0;
  }
}

/* Showcase mockups: the product UI is deliberately desktop-shaped (toolbars,
   sidebars, multi-column canvases) and unreadable at 320-414px. On phones we
   hide the mockup entirely and rely on the descriptive meta-blocks beneath
   it for the message. The mockups are visible on the feature detail pages
   when a viewer opens those. */
@media (max-width: 760px) {
  .mk-showcase-panel .mk-window,
  .mk-showcase-panel .mk-designer { display: none; }
  .mk-showcase-meta { grid-template-columns: 1fr; gap: 18px; margin-top: 0; }
  .mk-showcase-meta-block { background: rgba(255, 255, 255, 0.04); border-radius: 12px; padding: 18px; border: 1px solid rgba(247, 242, 233, 0.08); }
  .mk-showcase-meta-block h4 { color: var(--paper); margin: 0 0 8px; font-family: 'Bricolage Grotesque', sans-serif; font-size: 16px; letter-spacing: -0.01em; }
  .mk-showcase-meta-block p { color: rgba(247, 242, 233, 0.78); font-size: 14px; line-height: 1.55; margin: 0; }
}

/* Split sections (used on feature pages too): hide the desktop mockup on
   phone since it can't legibly scale. */
@media (max-width: 760px) {
  .pf-split-visual .mk-window,
  .pf-split-visual .mk-designer { display: none; }
  .pf-split-visual { display: none; }
}

/* Pricing and small section padding nudges */
@media (max-width: 540px) {
  .pf-section { padding: 56px 18px; }
  .pf-section.tight { padding: 36px 18px; }
  .pf-tier { padding: 24px; }
}

/* Footer typography nudge */
@media (max-width: 540px) {
  .pf-footer h5 { font-size: 11px; }
  .pf-footer li a { font-size: 13px; }
}

/* ---------- Integration logo tiles ---------- */
.pf-int-tile-logo {
  display: flex; align-items: center; gap: 14px;
  background: white; border: 1px solid rgba(20, 35, 61, 0.08);
  border-radius: 14px; padding: 18px 18px;
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}
.pf-int-tile-logo:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(20, 35, 61, 0.08); border-color: rgba(20, 35, 61, 0.14); }
.pf-int-tile-mark {
  flex: 0 0 auto; border-radius: 10px;
  width: var(--mark, 44px);
  display: inline-flex; align-items: center; justify-content: center;
  overflow: hidden;
}
/* Wide brand lockups (AS Colour) get a pill-shaped mark box so
   the wordmark stays legible instead of shrinking to fit a square. */
.pf-int-tile-mark.is-wide { width: calc(var(--mark, 44px) * 1.85); border-radius: 10px; }
.pf-int-tile-mark img { width: 60%; height: 60%; object-fit: contain; display: block; }
.pf-int-tile-mark.is-wide img { width: 88%; height: 64%; }
.pf-connects-strip .pf-int-tile-mark img { width: 56%; height: 56%; }
/* The home strip is a 6-up grid, so keep wide marks tighter there to protect
   room for the brand name beside them. */
.pf-connects-strip .pf-int-tile-mark.is-wide { width: calc(var(--mark, 44px) * 1.35); }
.pf-connects-strip .pf-int-tile-mark.is-wide img { width: 86%; height: 58%; }
.pf-int-tile-meta { display: flex; flex-direction: column; min-width: 0; }
.pf-int-tile-meta strong {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 16px; letter-spacing: -0.01em; line-height: 1.1;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pf-int-tile-meta span {
  font-size: 12px; color: var(--ink-soft); margin-top: 3px;
  letter-spacing: 0.02em;
}

/* Compact integration tile strip (separate from the customer .pf-logo-strip) */
.pf-connects-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  width: 100%;
}
.pf-connects-strip .pf-int-tile-logo {
  padding: 14px;
  gap: 10px;
}
.pf-connects-strip .pf-int-tile-meta strong { font-size: 14px; }
.pf-connects-strip .pf-int-tile-meta span { display: none; }

@media (max-width: 1100px) { .pf-connects-strip { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 760px)  { .pf-connects-strip { grid-template-columns: repeat(2, 1fr); } .pf-connects-strip .pf-int-tile-meta strong { font-size: 13.5px; } }
/* Keep 2 columns even on the smallest phones (down to ~320px) so the
   "plays nicely with" strip stays a compact glance, not a long stack. */
@media (max-width: 380px)  { .pf-connects-strip { grid-template-columns: repeat(2, 1fr); gap: 8px; } .pf-connects-strip .pf-int-tile-logo { padding: 12px 10px; } .pf-connects-strip .pf-int-tile-meta strong { font-size: 12.5px; } }


/* Inline icon chip used on the killer-differentiator cards */
.pf-kd-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255, 90, 60, 0.10); color: var(--coral);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}

/* Touch feedback: phones don't have :hover, so give tiles a clear pressed
   state (the lift + shadow read as "this is tappable"). Applied to both the
   logo tiles and the text-only directory tiles. */
@media (hover: none) {
  .pf-int-tile-logo:active,
  .pf-int-tile:active {
    transform: translateY(1px) scale(0.99);
    box-shadow: 0 4px 14px rgba(20, 35, 61, 0.10);
    border-color: var(--coral);
  }
}

/* Monogram fallback mark: brand initials on the tinted square when we don't
   ship a real logo SVG for that brand. Reads as intentional, not "missing". */
.pf-int-tile-mono {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800; letter-spacing: -0.02em; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
}



/* Compare index + blog cards. One card style, two surfaces. */
.pf-cmp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; margin-top: 28px; }
.pf-cmp-card { display: block; background: white; border: 1px solid rgba(20, 35, 61, 0.08); border-radius: 16px; padding: 24px; text-decoration: none; color: var(--ink); transition: transform 160ms ease, box-shadow 160ms ease; }
.pf-cmp-card:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(20, 35, 61, 0.10); }
.pf-cmp-card h3 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 10px; }
.pf-cmp-card p { color: var(--ink-soft); font-size: 14px; line-height: 1.55; margin: 0 0 14px; }
.pf-cmp-card span { color: var(--coral); font-size: 13px; font-weight: 700; }
.pf-cmp-card time { display: block; color: var(--ink-soft); font-size: 12px; margin-bottom: 8px; }
.pf-pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 8px; }
.pf-pill { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(20, 35, 61, 0.12); font-size: 13px; font-weight: 600; text-decoration: none; color: var(--ink); }
.pf-pill:hover { border-color: var(--coral); color: var(--coral); }
.pf-pill.is-active { background: var(--coral); border-color: var(--coral); color: white; }

/* Blog post. Mirrors the guide layout's typography so the two content
   surfaces read as one system. */
.pf-post { max-width: 760px; margin: 0 auto; padding: 64px 32px 96px; }
.pf-post-head { margin-bottom: 40px; }
.pf-post-back { display: inline-block; background: rgba(255, 90, 60, 0.10); color: var(--coral); padding: 4px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; }
.pf-post h1 { font-family: 'Bricolage Grotesque', sans-serif; font-size: clamp(34px, 5vw, 54px); letter-spacing: -0.03em; font-weight: 800; line-height: 1.05; margin: 16px 0 16px; }
.pf-post-answer { font-size: 18px; line-height: 1.6; font-weight: 600; color: var(--ink); background: rgba(255, 90, 60, 0.06); border-left: 4px solid var(--coral); border-radius: 8px; padding: 18px 22px; margin: 0 0 18px; }
.pf-post-lede { font-size: 18px; color: var(--ink-soft); line-height: 1.55; }
.pf-post-meta { display: flex; gap: 10px; flex-wrap: wrap; color: var(--ink-soft); font-size: 14px; margin: 20px 0 0; padding-bottom: 24px; border-bottom: 1px solid rgba(20, 35, 61, 0.08); }
.pf-post-body { font-size: 16.5px; line-height: 1.7; color: var(--ink); }
.pf-post-body h2 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 26px; letter-spacing: -0.02em; margin: 40px 0 14px; font-weight: 800; }
.pf-post-body h3 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 19px; margin: 28px 0 10px; font-weight: 700; }
.pf-post-body ul, .pf-post-body ol { padding-left: 22px; margin: 14px 0; }
.pf-post-body li { margin: 6px 0; }
.pf-post-body a { color: var(--coral); font-weight: 600; }
.pf-post-body code { background: rgba(20, 35, 61, 0.06); padding: 2px 6px; border-radius: 4px; font-family: ui-monospace, 'SF Mono', monospace; font-size: 14.5px; color: var(--coral); }
.pf-post-body blockquote { margin: 24px 0; padding: 20px 24px; background: rgba(255, 90, 60, 0.06); border-left: 4px solid var(--coral); border-radius: 8px; font-style: italic; }
.pf-post-body table { border-collapse: collapse; width: 100%; margin: 20px 0; font-size: 14.5px; display: block; overflow-x: auto; }
.pf-post-body th, .pf-post-body td { padding: 10px 14px; border-bottom: 1px solid rgba(20, 35, 61, 0.08); text-align: left; }
.pf-post-body th { font-family: 'Bricolage Grotesque', sans-serif; color: var(--ink-soft); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.pf-post-faq { margin-top: 56px; }
.pf-post-faq h2, .pf-post-related h3, .pf-post-cta h3 { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; letter-spacing: -0.02em; }
.pf-post-faq h2 { font-size: 24px; margin-bottom: 16px; }
.pf-post-cta { background: var(--ink); color: var(--paper); border-radius: 16px; padding: 32px; margin-top: 56px; text-align: center; }
.pf-post-cta h3 { font-size: 22px; margin: 0 0 10px; }
.pf-post-cta p { color: rgba(247, 242, 233, 0.72); font-size: 15px; line-height: 1.6; margin: 0 0 20px; }
.pf-post-related { background: var(--paper); border-radius: 14px; padding: 28px; margin-top: 24px; text-align: center; }
.pf-post-related h3 { font-size: 18px; margin: 0 0 14px; }
.pf-post-related a { display: block; margin: 8px 0; color: var(--coral); font-weight: 700; text-decoration: none; }
/* Glossary */
.pf-gloss-nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 24px 0 40px; }
.pf-gloss-nav a { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid rgba(20, 35, 61, 0.12); text-decoration: none; color: var(--ink); font-weight: 700; font-size: 13px; }
.pf-gloss-group { margin-bottom: 40px; }
.pf-gloss-group > h2 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 22px; font-weight: 800; color: var(--coral); border-bottom: 1px solid rgba(20, 35, 61, 0.08); padding-bottom: 8px; margin-bottom: 18px; }
.pf-gloss-term { margin-bottom: 22px; }
.pf-gloss-term dt { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 16.5px; margin-bottom: 4px; }
.pf-gloss-term dd { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }

/* Product screenshots. Framed so a light UI screenshot still reads as a
   distinct object against a pale section background. */
.pf-shot { margin: 0; }
.pf-shot picture { display: block; }
.pf-shot img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid rgba(20, 35, 61, 0.10); box-shadow: 0 24px 60px rgba(20, 35, 61, 0.16); background: white; }
.pf-shot figcaption { margin-top: 14px; font-size: 14px; line-height: 1.55; color: var(--ink-soft); }
.pf-shot--flush img { border-radius: 12px; box-shadow: 0 18px 44px rgba(20, 35, 61, 0.12); }
.pf-shot--dark img { border-color: rgba(247, 242, 233, 0.14); }
.pf-hero .pf-shot img { box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); border-color: rgba(247, 242, 233, 0.12); }
.pf-hero .pf-shot figcaption { color: rgba(247, 242, 233, 0.62); }
/* Screenshot tour */
.pf-tour-grid { display: grid; gap: 56px; margin-top: 40px; }
.pf-tour-item h2 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 8px; }
.pf-tour-item > p { color: var(--ink-soft); font-size: 16px; line-height: 1.6; margin: 0 0 20px; max-width: 68ch; }

/* Lead capture band. Dark by default so it reads as a distinct offer rather
   than another content section. */
.pf-capture { padding: 72px 32px; background: var(--ink); color: var(--paper); }
.pf-capture--inline { padding: 40px 28px; margin: 56px 0; border-radius: 18px; }
.pf-capture-inner { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.pf-capture--inline .pf-capture-inner { grid-template-columns: 1fr; gap: 24px; }
.pf-capture-eyebrow { font-family: 'Bricolage Grotesque', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--coral); }
.pf-capture-copy h2 { font-family: 'Bricolage Grotesque', sans-serif; font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin: 10px 0 12px; }
.pf-capture-copy p { color: rgba(247, 242, 233, 0.74); font-size: 16px; line-height: 1.6; margin: 0 0 16px; }
.pf-capture-list { list-style: none; padding: 0; margin: 0; }
.pf-capture-list li { position: relative; padding-left: 22px; font-size: 14.5px; color: rgba(247, 242, 233, 0.86); margin-bottom: 7px; }
.pf-capture-list li::before { content: ''; position: absolute; left: 0; top: 7px; width: 8px; height: 8px; border-radius: 2px; background: var(--coral); }
.pf-capture-form { background: rgba(247, 242, 233, 0.06); border: 1px solid rgba(247, 242, 233, 0.14); border-radius: 16px; padding: 26px; position: relative; }
.pf-capture-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; color: rgba(247, 242, 233, 0.9); }
.pf-capture-form input[type="email"] { width: 100%; padding: 13px 15px; border-radius: 10px; border: 1px solid rgba(247, 242, 233, 0.24); background: rgba(20, 35, 61, 0.55); color: var(--paper); font-size: 15px; font-family: inherit; }
.pf-capture-form input[type="email"]::placeholder { color: rgba(247, 242, 233, 0.42); }
.pf-capture-form input[type="email"]:focus { outline: 2px solid var(--coral); outline-offset: 1px; }
.pf-capture-form .pf-btn { width: 100%; margin-top: 14px; justify-content: center; }
.pf-capture-consent { font-size: 12px; line-height: 1.5; color: rgba(247, 242, 233, 0.56); margin: 14px 0 0; }
.pf-capture-consent a { color: rgba(247, 242, 233, 0.82); text-decoration: underline; }
.pf-capture-error { color: #ffb3a3; font-size: 13px; margin: 8px 0 0; }
@media (max-width: 860px) { .pf-capture-inner { grid-template-columns: 1fr; gap: 28px; } }
