/* ==========================================================================
   BZTel marketing, 2026-11 redesign (loaded after marketing.css).
   Editorial layout: beige ground, deep-teal sections, pill buttons, thin
   Outfit headlines, one terracotta action per view. Marketing site only:
   the console has its own theme. Outfit 300 is requested for display type;
   it falls back to 400 until a 300 font file is added to /fonts.
   ========================================================================== */

.mkt-page {
  --mkt-bg: #F4EFE6;
  --mkt-bg-alt: #EBE4D6;
  --mkt-surface-border: #DDD3C0;
  --mkt-border: #CFC6B3;
  --mkt-text: #10231F;
  --mkt-text-muted: #4A5A56;
  --mkt-teal-primary: #0F766E;
  --mkt-deep: #0B3B38;
  --mkt-deeper: #061F1D;
  --mkt-sand: #E4D9C3;
  --mkt-on-deep-muted: #B9D3D0;
  --mkt-accent: #B93C0B;
  --mkt-accent-hover: #9A3208;
  --mkt-radius-btn: 999px;
  --mkt-radius-input: 12px;
  --mkt-radius-card: 24px;
  --mkt-radius-panel: 24px;
  --mkt-container: 1280px;
  --mkt-header-h: 80px;
}
.mkt-container { padding-left: 32px; padding-right: 32px; }
@media (max-width: 640px) { .mkt-container { padding-left: 20px; padding-right: 20px; } }

/* Type */
.mkt-page :where(h1, h2, h3, h4) { font-weight: 400; letter-spacing: -0.025em; }
.mkt-title-display { font-weight: 300; font-size: clamp(2.9rem, 1.2rem + 6vw, 6.5rem); line-height: 1.02; letter-spacing: -0.035em; }
.mkt-title-section { font-weight: 300; font-size: clamp(2.2rem, 1.5rem + 2.4vw, 3.5rem); line-height: 1.1; letter-spacing: -0.03em; }
.mkt-lead { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); }
.mkt-section { padding-top: 112px; padding-bottom: 112px; }
@media (max-width: 768px) { .mkt-section { padding-top: 64px; padding-bottom: 64px; } }
.mkt-section-alt, .mkt-section-subtle { border-top: 0; border-bottom: 0; }
.mkt-section-header { text-align: left; margin: 0 0 48px; max-width: 760px; }
.mkt-eyebrow { font-size: 0.94rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mkt-teal-primary); }

/* Focus: amber ring everywhere */
.mkt-page :focus-visible { outline: 3px solid #F59E0B; outline-offset: 3px; }
.mkt-btn:focus-visible, .mkt-accent-btn:focus-visible { outline-color: #F59E0B; }

/* Buttons: pills */
.mkt-btn { min-height: 48px; padding: 0 26px; font-family: var(--font-body); font-weight: 700; font-size: 1rem; }
.mkt-btn-lg { min-height: 56px; padding: 0 32px; font-size: 1.06rem; }
.mkt-btn-sm { min-height: 44px; padding: 0 20px; font-size: 0.96rem; }
.mkt-btn-primary { background: var(--mkt-deep); }
.mkt-btn-primary:hover { background: #082B29; box-shadow: none; }
.mkt-btn-accent:hover { box-shadow: none; }
.mkt-btn-secondary { background: transparent; border: 1.5px solid var(--mkt-text); color: var(--mkt-text); }
.mkt-btn-secondary:hover { background: var(--mkt-bg-alt); color: var(--mkt-text); }
.mkt-btn-outline { border: 1.5px solid var(--mkt-text); color: var(--mkt-text); }
.mkt-btn-outline:hover { background: var(--mkt-bg-alt); border-color: var(--mkt-text); }
.mkt-btn-ghost { color: var(--mkt-text); border: 1.5px solid var(--mkt-text); }
.mkt-btn-ghost:hover { background: var(--mkt-bg-alt); color: var(--mkt-text); }

/* Cards: calm, flat, big radius */
.mkt-card, .mkt-card-subtle { border-radius: 24px; padding: 36px; box-shadow: none; }
.mkt-card:hover { box-shadow: none; border-color: var(--mkt-text); }
.mkt-badge, .mkt-page .mkt-badge { border-radius: 999px; }
.mkt-preview-frame { border-radius: 16px; box-shadow: 0 -10px 60px rgba(0, 0, 0, 0.18); }

/* Header */
.mkt-header { height: var(--mkt-header-h); background: rgba(244, 239, 230, 0.96); border-bottom: 1px solid var(--mkt-surface-border); }
.mkt-logo { font-weight: 500; font-size: 1.5rem; letter-spacing: -0.01em; }
.mkt-logo img { height: 44px; width: 44px; border-radius: 10px; background: #fff; object-fit: cover; }
.mkt-nav { gap: 28px; }
.mkt-nav-link { color: var(--mkt-text); font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; }
.mkt-nav-link:hover, .mkt-nav-link.active { color: var(--mkt-teal-primary); }
.mkt-header-actions .mkt-btn-primary { background: var(--mkt-accent); color: #fff; }
.mkt-header-actions .mkt-btn-primary:hover { background: var(--mkt-accent-hover); }
.mkt-products-links { border-radius: 16px; box-shadow: 0 8px 24px -8px rgba(16, 35, 31, 0.18); }
.mkt-mobile-toggle { border: 1.5px solid var(--mkt-text); border-radius: 999px; min-width: 48px; min-height: 48px; }

/* Mobile menu: full-height panel, large rows with arrows */
.mkt-drawer { top: var(--mkt-header-h); bottom: 0; background: var(--mkt-bg); border-bottom: 0; box-shadow: none; padding: 12px 24px 28px; gap: 0; max-height: none; height: calc(100% - var(--mkt-header-h)); }
.mkt-drawer-links { gap: 0; }
.mkt-drawer-links > li > a, .mkt-drawer-links > li > .mkt-products > summary {
  display: flex; align-items: center; justify-content: space-between; min-height: 64px; padding: 0;
  border-bottom: 1px solid var(--mkt-border); font-family: var(--font-heading); font-size: 1.75rem; font-weight: 400; letter-spacing: -0.02em;
}
.mkt-drawer-links a.active { color: var(--mkt-teal-primary); }
.mkt-drawer-actions { margin-top: auto; padding-top: 24px; }
.mkt-drawer-actions .mkt-btn { min-height: 52px; }
.mkt-drawer-actions .mkt-btn-primary { background: var(--mkt-accent); }

/* FAQ: ruled rows instead of boxes */
.mkt-faq-list { gap: 0; max-width: none; margin: 0; border-top: 1.5px solid var(--mkt-text); }
.mkt-faq-item { background: transparent; border: 0; border-bottom: 1px solid var(--mkt-border); border-radius: 0; }
.mkt-faq-item[open] { border-color: var(--mkt-border); }
.mkt-faq-q { padding: 24px 8px; font-weight: 400; font-size: 1.5rem; letter-spacing: -0.01em; }
.mkt-faq-a { padding: 0 8px 26px; font-size: 1.06rem; max-width: 720px; }

/* Closing call to action: big statement, no box */
.mkt-cta-band { background: transparent; border: 0; border-radius: 0; padding: 0; text-align: left; display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: flex-end; justify-content: space-between; }
.mkt-cta-band h2 { flex: 2 1 520px; font-weight: 300; font-size: clamp(2.6rem, 1.4rem + 4.4vw, 5rem); line-height: 1.04; letter-spacing: -0.035em; margin: 0; }
.mkt-cta-band p { display: none; }
.mkt-cta-actions { flex: 1 1 280px; justify-content: flex-start; }

/* Tables and forms */
.mkt-table-wrapper { border-radius: 20px; }
.mkt-input, .mkt-select, .mkt-textarea { min-height: 52px; border: 1.5px solid var(--mkt-text); border-radius: 12px; font-size: 1.05rem; }
.mkt-input:focus, .mkt-select:focus, .mkt-textarea:focus { border-color: var(--mkt-text); box-shadow: 0 0 0 3px #F59E0B; }
.mkt-label { font-family: var(--font-body); font-weight: 700; }
.mkt-input-error { border: 2px solid #B42318; background: #FFF5F3; }
.mkt-form-error { color: #B42318; }
.mkt-tabs { border-radius: 999px; background: transparent; border: 1.5px solid var(--mkt-text); }
.mkt-tab-btn { border-radius: 999px; min-height: 44px; font-family: var(--font-body); font-weight: 700; }
.mkt-tab-btn.active { background: var(--mkt-text); color: #fff; box-shadow: none; }

/* Code box */
.mkt-code-box { background: var(--mkt-deeper); border: 0; border-radius: 20px; color: #D6E8E5; }
.mkt-code-header { background: var(--mkt-deeper); border-bottom: 1px solid #1C3331; color: #8FB5B0; }
.mkt-code-header > span { color: #8FB5B0 !important; }
.mkt-code-tab { color: #8FB5B0; }
.mkt-code-tab.active { background: rgba(255, 255, 255, 0.12); color: #fff; }

/* Footer: deep and dark */
.mkt-footer { background: var(--mkt-deeper); border-top: 0; color: #D6E8E5; padding-top: 88px; padding-bottom: 40px; }
.mkt-footer .mkt-logo { color: #fff; }
.mkt-footer-brand p { color: var(--mkt-on-deep-muted); font-size: 1.06rem; }
.mkt-footer-col h4 { color: #8FB5B0; font-family: var(--font-body); font-size: 0.86rem; }
.mkt-footer-links a, .mkt-footer-legal a { color: #D6E8E5; font-size: 1rem; min-height: 32px; display: inline-flex; align-items: center; }
.mkt-footer-links a:hover, .mkt-footer-legal a:hover { color: #fff; text-decoration: underline; }
.mkt-footer-bottom { border-top: 1px solid #1C3331; color: var(--mkt-on-deep-muted); }
.mkt-footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
@media (max-width: 980px) { .mkt-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .mkt-footer-grid { grid-template-columns: 1fr; } }

/* Announcement bar */
.mkt-announce { background: var(--mkt-deeper); color: #D6E8E5; font-size: 0.94rem; padding: 10px 24px; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px; text-align: center; }
.mkt-announce strong { background: var(--mkt-accent); color: #fff; font-size: 0.75rem; letter-spacing: 0.06em; padding: 4px 10px; border-radius: 999px; }
.mkt-announce a { color: #fff; font-weight: 700; text-decoration: underline; }

/* Reusable editorial blocks */
.mkt-statement { display: flex; flex-wrap: wrap; gap: 48px; }
.mkt-statement-label { flex: 1 1 180px; padding-top: 14px; }
.mkt-statement-body { flex: 4 1 560px; min-width: 0; }
.mkt-statement-text { font-family: var(--font-heading); font-weight: 300; font-size: clamp(1.75rem, 1.1rem + 2vw, 3rem); line-height: 1.2; letter-spacing: -0.02em; margin: 0; }
.mkt-statement-text span { color: #8A958F; }
.mkt-rows { border-top: 1.5px solid var(--mkt-text); }
.mkt-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 8px; border-bottom: 1px solid var(--mkt-border); color: var(--mkt-text); }
.mkt-page a.mkt-row:hover { background: var(--mkt-bg-alt); color: var(--mkt-text); }
.mkt-row-title { display: block; font-family: var(--font-heading); font-size: clamp(1.5rem, 1.2rem + 0.8vw, 1.9rem); letter-spacing: -0.02em; }
.mkt-row-sub { display: block; color: var(--mkt-text-muted); margin-top: 6px; font-size: 1.06rem; }
.mkt-stat { font-family: var(--font-heading); font-weight: 300; font-size: clamp(3rem, 2rem + 3vw, 4.5rem); line-height: 1; letter-spacing: -0.03em; }
.mkt-text-teal { color: var(--mkt-teal-primary); }

@media (prefers-reduced-motion: reduce) { .mkt-row { transition: none; } }

/* ---- Page-level patterns (product, software, legal, forms) ---- */

/* The one main call to action in a hero is terracotta. */
.mkt-hero-actions > .mkt-btn-primary:first-child { background: var(--mkt-accent); color: #fff; }
.mkt-hero-actions > .mkt-btn-primary:first-child:hover { background: var(--mkt-accent-hover); }
.mkt-hero-meta { font-size: 1rem; }
.mkt-hero-split { padding-top: 24px; padding-bottom: 24px; }

/* Feature cards become open columns with a ruled top edge. */
.mkt-grid-3 > .mkt-card, .mkt-grid-4 > .mkt-card {
  background: transparent; border: 0; border-top: 1.5px solid var(--mkt-text); border-radius: 0; padding: 20px 0 0;
}
.mkt-grid-3 > .mkt-card:hover, .mkt-grid-4 > .mkt-card:hover { border-top-color: var(--mkt-text); }
.mkt-grid-3 > .mkt-card h3, .mkt-grid-4 > .mkt-card h3 { font-weight: 400; font-size: 1.5rem !important; }
.mkt-grid-3 > .mkt-card p, .mkt-grid-4 > .mkt-card p { font-size: 1.06rem !important; line-height: 1.55; }

/* Legal pages: ruled sections instead of cards */
.mkt-terms-section { border-top: 1.5px solid var(--mkt-text); padding: 28px 0 24px; }
.mkt-terms-section h2 { font-weight: 400; }

/* Form states */
.mkt-alert { display: flex; gap: 12px; align-items: flex-start; border-radius: 12px; padding: 16px; margin-bottom: 20px; }
.mkt-alert strong { display: block; }
.mkt-alert p { margin: 4px 0 0; line-height: 1.5; }
.mkt-alert-error { background: #FFF5F3; border: 1.5px solid #B42318; color: #7A1A12; }
.mkt-alert-error p { color: var(--mkt-text-muted); }
.mkt-success-panel { background: var(--mkt-deep); color: #fff; border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.mkt-success-panel h3 { color: #fff; font-weight: 400; font-size: 2.1rem; letter-spacing: -0.02em; }
.mkt-success-panel p { color: var(--mkt-on-deep-muted); font-size: 1.1rem; line-height: 1.55; }
.mkt-success-tick { width: 56px; height: 56px; border-radius: 999px; background: #fff; color: var(--mkt-teal-primary); display: flex; align-items: center; justify-content: center; }
.mkt-success-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.mkt-btn-on-deep { background: transparent; color: #fff; border: 1.5px solid #fff; }
.mkt-btn-on-deep:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.mkt-btn[disabled] { background: #7C4A33; color: #fff; cursor: progress; }
.mkt-spinner { width: 20px; height: 20px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; animation: mkt-spin 0.8s linear infinite; }
@keyframes mkt-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .mkt-spinner { animation-duration: 2s !important; animation-iteration-count: infinite !important; } }

/* Terracotta action + badge. Defined here so the redesign does not depend on
   edits to marketing.css. */
.mkt-btn-accent { background-color: var(--mkt-accent); color: #FFFFFF; border-color: transparent; }
.mkt-btn-accent:hover { background-color: var(--mkt-accent-hover); color: #FFFFFF; }
.mkt-page a.mkt-btn-accent, .mkt-page a.mkt-btn-accent:hover { color: #FFFFFF; }
.mkt-badge-accent { background-color: #FFEDD5; color: #9A3412; border: 1px solid rgba(194, 65, 12, 0.25); }
