
/* ═══════════════════════════════════════
   TOKENS
   ═══════════════════════════════════════ */
.ad-cal-page {
  --teal: #1B7A6E;
  --teal-hover: #156158;
  --teal-subtle: rgba(27,122,110,.06);
  --teal-border: rgba(27,122,110,.15);
  --gold: #D4A853;
  --gold-hover: #C49A48;
  --ink: #111111;
  --body: #374151;
  --muted: #6B7280;
  --light: #9CA3AF;
  --bg-off: #FAFAFA;
  --bg-muted: #F5F5F5;
  --border: #E8E8E8;
  --border-light: #F0F0F0;
  --radius: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

/* ═══════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════ */
.ad-cal-page *, .ad-cal-page *::before, .ad-cal-page *::after { margin: 0; padding: 0; box-sizing: border-box; }
.ad-cal-page {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--body);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'cv11', 'ss01';
}
.ad-cal-page img { max-width: 100%; display: block; }
.ad-cal-page a:not(.cal-btn) { color: var(--teal); text-decoration: none; transition: color .15s ease; }
.ad-cal-page a:not(.cal-btn):hover { color: var(--teal-hover); }
.cal-container { max-width: 1120px; margin: 0 auto; padding: 0 32px; }

/* ═══════════════════════════════════════
   SCROLL REVEAL
   ═══════════════════════════════════════ */
.cal-reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.cal-reveal.visible { opacity: 1; transform: none; }
.cal-reveal-d1 { transition-delay: .08s; }
.cal-reveal-d2 { transition-delay: .16s; }
.cal-reveal-d3 { transition-delay: .24s; }

/* ═══════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════ */
.ad-cal-page .cal-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: 600; font-size: 15px;
  padding: 12px 28px; border-radius: var(--radius); cursor: pointer;
  transition: all .2s ease; border: 1.5px solid transparent;
  text-decoration: none !important; line-height: 1.4;
}
.ad-cal-page a.cal-btn-primary,
.ad-cal-page .cal-btn-primary { background: var(--teal); color: #fff !important; border-color: var(--teal); }
.ad-cal-page a.cal-btn-primary:hover,
.ad-cal-page .cal-btn-primary:hover { background: var(--teal-hover); border-color: var(--teal-hover); color: #fff !important; }
.ad-cal-page a.cal-btn-white,
.ad-cal-page .cal-btn-white { background: #fff; color: var(--ink) !important; border-color: #fff; }
.ad-cal-page a.cal-btn-white:hover,
.ad-cal-page .cal-btn-white:hover { background: #fff; color: var(--ink) !important; box-shadow: 0 4px 24px rgba(255,255,255,.2); }
.ad-cal-page a.cal-btn-ghost-white,
.ad-cal-page .cal-btn-ghost-white { background: transparent; color: rgba(255,255,255,.8) !important; border-color: rgba(255,255,255,.2); }
.ad-cal-page a.cal-btn-ghost-white:hover,
.ad-cal-page .cal-btn-ghost-white:hover { border-color: rgba(255,255,255,.5); color: #fff !important; }
.ad-cal-page a.cal-btn-ghost,
.ad-cal-page .cal-btn-ghost { background: transparent; color: #111111 !important; border-color: #E8E8E8; }
.ad-cal-page a.cal-btn-ghost:hover,
.ad-cal-page .cal-btn-ghost:hover { border-color: var(--teal); color: var(--teal) !important; }
.ad-cal-page a.cal-btn-gold,
.ad-cal-page .cal-btn-gold { background: var(--gold); color: #fff !important; border-color: var(--gold); }
.ad-cal-page a.cal-btn-gold:hover,
.ad-cal-page .cal-btn-gold:hover { background: var(--gold-hover); border-color: var(--gold-hover); color: #fff !important; }
.ad-cal-page a.cal-btn-outline,
.ad-cal-page .cal-btn-outline { background: transparent; color: var(--teal) !important; border-color: var(--teal); }
.ad-cal-page a.cal-btn-outline:hover,
.ad-cal-page .cal-btn-outline:hover { background: var(--teal); color: #fff !important; border-color: var(--teal); }
.ad-cal-page .cal-btn-lg { padding: 14px 36px; font-size: 16px; }
.ad-cal-page .cal-btn-sm { padding: 8px 18px; font-size: 13px; }

/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
.cal-hero {
  background: var(--ink);
  padding: 96px 0 0;
  position: relative; overflow: hidden;
  margin: 0 calc(-50vw + 50%); width: 100vw;
}
.cal-hero::before {
  content: ''; position: absolute;
  top: -200px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse, rgba(27,122,110,.15), transparent 70%);
  pointer-events: none;
}
.cal-hero-grid {
  display: grid; grid-template-columns: 1fr 1.15fr;
  gap: 80px; align-items: center;
  position: relative; z-index: 2;
}
.cal-hero-text { padding-bottom: 48px; }
.cal-hero-eyebrow {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .12em; color: var(--gold); margin-bottom: 20px;
}
.cal-hero-text h1 {
  font-size: 44px; font-weight: 800; color: #fff;
  line-height: 1.08; letter-spacing: -.035em; margin-bottom: 20px;
}
.cal-hero-text h1 em { font-style: normal; color: rgba(255,255,255,.45); }
.cal-hero-text p {
  font-size: 17px; color: rgba(255,255,255,.45);
  line-height: 1.7; margin-bottom: 36px; max-width: 420px;
}
.cal-hero-ctas { display: flex; gap: 12px; margin-bottom: 48px; flex-wrap: wrap; }
.cal-hero-stats {
  display: flex; gap: 40px; padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.cal-hero-stats .hs { text-align: left; }
.cal-hero-stats .hs-num {
  font-size: 22px; font-weight: 700; color: #fff;
  letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}
.cal-hero-stats .hs-label {
  font-size: 12px; color: rgba(255,255,255,.35);
  font-weight: 400; margin-top: 2px;
}

/* Hero tabbed showcase */
.cal-hero-image { position: relative; align-self: center; }
.cal-hero-tabs { display: flex; gap: 2px; margin-bottom: 0; flex-wrap: wrap; }
.cal-hero-tab {
  font-family: inherit; font-size: 12px; font-weight: 500;
  letter-spacing: .01em; padding: 8px 14px;
  border: none; border-radius: 6px 6px 0 0; cursor: pointer;
  transition: all .2s ease;
  background: rgba(255,255,255,.04); color: rgba(255,255,255,.3);
}
.cal-hero-tab:hover { background: rgba(255,255,255,.07); color: rgba(255,255,255,.5); }
.cal-hero-tab.active { background: rgba(255,255,255,.08); color: rgba(255,255,255,.85); }
.cal-hero-frame {
  position: relative; border-radius: 0 6px 6px 6px;
  overflow: hidden; border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.03);
}
.cal-hero-frame img {
  width: 100%; display: block;
  position: absolute; inset: 0;
  opacity: 0; transition: opacity .35s ease;
}
.cal-hero-frame img.active { position: relative; opacity: 1; }

/* ═══════════════════════════════════════
   PROOF BAR
   ═══════════════════════════════════════ */
.cal-proof-bar {
  background: var(--bg-off); border-bottom: 1px solid var(--border);
  padding: 20px 0; margin: 0 calc(-50vw + 50%); width: 100vw;
}
.cal-proof-bar .cal-container {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; flex-wrap: wrap;
}
.cal-proof-bar .pb-item { font-size: 13px; color: var(--muted); }
.cal-proof-bar .pb-item strong { color: var(--ink); font-weight: 600; }
.cal-proof-bar .pb-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--light); }

/* ═══════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════ */
.cal-section { padding: 100px 0; margin: 0 calc(-50vw + 50%); width: 100vw; }
.cal-section-inner { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.cal-section-sage { background: var(--bg-muted); }
.cal-section-dark { background: var(--ink); }
.cal-section-label {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .1em; color: var(--teal); text-align: center; margin-bottom: 12px;
}
.cal-section-heading {
  font-size: 36px; font-weight: 800; color: var(--ink);
  text-align: center; letter-spacing: -.03em; margin-bottom: 16px; line-height: 1.1;
}
.cal-section-sub {
  font-size: 17px; color: var(--muted); text-align: center;
  max-width: 520px; margin: 0 auto 56px; line-height: 1.65;
}
.cal-section-dark .cal-section-heading { color: #fff; }
.cal-section-dark .cal-section-sub { color: rgba(255,255,255,.4); }

/* ═══════════════════════════════════════
   VALUE GRID (1px border grid)
   ═══════════════════════════════════════ */
.cal-value-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius-md);
  overflow: hidden;
}
.cal-value-card { padding: 40px 32px; background: #fff; }
.cal-value-card h3 {
  font-size: 16px; font-weight: 800; color: var(--ink);
  margin-bottom: 8px; letter-spacing: -.01em;
}
.cal-value-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }
.cal-vc-icon {
  width: 40px; height: 40px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal-subtle); border-radius: var(--radius-md);
}
.cal-vc-icon svg { width: 20px; height: 20px; stroke: var(--teal); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ═══════════════════════════════════════
   PRODUCT CARDS
   ═══════════════════════════════════════ */
/* Flagship (P1) */
.cal-flagship {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
  overflow: hidden; margin-bottom: 32px;
}
.cal-flagship-img {
  background: linear-gradient(135deg, #F5F5F5 0%, #E8E8E8 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 32px; min-height: 320px;
}
.cal-flagship-img img {
  width: 100%; max-width: 100%; border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0,0,0,.12), 0 2px 8px rgba(0,0,0,.08);
  transition: transform .3s ease;
}
.cal-flagship:hover .cal-flagship-img img { transform: scale(1.02); }
.cal-flagship-content {
  padding: 40px; display: flex; flex-direction: column; justify-content: center;
}
.cal-flagship-content h3 {
  font-size: 24px; font-weight: 800; color: var(--ink);
  letter-spacing: -.02em; margin-bottom: 8px;
}
.cal-flagship-content .cal-prod-desc {
  font-size: 15px; color: var(--muted); line-height: 1.65; margin-bottom: 20px;
}

/* Product grid cards */
.cal-prod-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.cal-prod-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden;
  transition: border-color .15s, box-shadow .15s;
}
.cal-prod-card:hover {
  border-color: var(--teal-border);
  box-shadow: 0 4px 16px rgba(27,122,110,.08);
}
.cal-prod-card-img {
  background: linear-gradient(135deg, #F5F5F5 0%, #E8E8E8 100%);
  padding: 20px 24px 16px;
  display: flex; align-items: center; justify-content: center;
}
.cal-prod-card-img img {
  width: 100%; border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0,0,0,.1), 0 1px 4px rgba(0,0,0,.06);
  transition: transform .3s ease;
}
.cal-prod-card:hover .cal-prod-card-img img { transform: scale(1.03); }
.cal-prod-card-body { padding: 24px; }
.cal-prod-card-body h3 {
  font-size: 18px; font-weight: 800; color: var(--ink);
  margin-bottom: 6px; letter-spacing: -.01em;
}
.cal-prod-card-body .cal-prod-desc {
  font-size: 14px; color: var(--muted); line-height: 1.55; margin-bottom: 16px;
}

/* Shared product bits */
.cal-prod-badge {
  display: inline-block; font-size: 11px; font-weight: 600;
  padding: 3px 10px; border-radius: 20px; margin-bottom: 10px;
}
.cal-badge-flagship { background: var(--teal); color: #fff; text-transform: uppercase; letter-spacing: .04em; }
.cal-badge-size { background: var(--bg-muted); color: var(--muted); margin-left: 6px; }
.cal-prod-prices {
  display: flex; gap: 16px; align-items: baseline;
  font-size: 14px; color: var(--ink); margin-bottom: 16px;
}
.cal-prod-prices .cal-price-digital { font-weight: 700; }
.cal-prod-prices .cal-price-print { color: var(--muted); }
.cal-prod-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* Flagship button grid */
.cal-flagship-actions { margin-top: 4px; }
.cal-flagship-actions .cal-fa-view { margin-bottom: 16px; }
.cal-flagship-actions .cal-fa-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.cal-flagship-actions .cal-fa-label {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .06em; color: var(--muted); margin-bottom: 6px;
  grid-column: 1 / -1;
}
.cal-flagship-actions .cal-fa-label:not(:first-child) { margin-top: 8px; }
@media (max-width: 768px) {
  .cal-flagship-actions .cal-fa-grid { grid-template-columns: 1fr; }
}



/* ═══════════════════════════════════════
   BUNDLE BANNER
   ═══════════════════════════════════════ */
.cal-bundle {
  margin-top: 32px; background: #fff;
  border: 2px solid var(--teal); border-radius: var(--radius-md);
  padding: 40px; text-align: center;
}
.cal-bundle h3 {
  font-size: 22px; font-weight: 800; color: var(--ink);
  margin: 12px 0 6px; letter-spacing: -.02em;
}
.cal-bundle p { font-size: 15px; color: var(--muted); margin-bottom: 16px; }
.cal-bundle .cal-bundle-price {
  font-size: 28px; font-weight: 700; color: var(--teal); margin-bottom: 20px;
}
.cal-bundle .cal-bundle-price s {
  font-size: 16px; font-weight: 400; color: var(--light); margin-left: 8px;
}

/* ═══════════════════════════════════════
   CUSTOM/BULK
   ═══════════════════════════════════════ */
.cal-custom-grid {
  display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: center;
}
.cal-custom-grid h2 {
  font-size: 28px; font-weight: 800; color: var(--ink);
  letter-spacing: -.02em; margin-bottom: 12px;
}
.cal-custom-grid p { font-size: 15px; color: var(--muted); line-height: 1.65; margin-bottom: 20px; }
.cal-custom-grid ul { list-style: none; margin-bottom: 20px; }
.cal-custom-grid ul li {
  font-size: 14px; color: var(--body); padding: 6px 0 6px 24px;
  position: relative;
}
.cal-custom-grid ul li::before {
  content: ''; position: absolute; left: 0; top: 14px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal-subtle); border: 2px solid var(--teal);
}
.cal-custom-card {
  background: var(--bg-muted); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 40px; text-align: center;
}
.cal-custom-card h3 { font-size: 18px; font-weight: 800; color: var(--ink); margin: 16px 0 4px; }
.cal-custom-card p { font-size: 14px; color: var(--muted); }

/* ═══════════════════════════════════════
   CTA BANNER
   ═══════════════════════════════════════ */
.cal-cta-banner {
  text-align: center; padding: 48px 32px;
}
.cal-cta-banner h2 {
  font-size: 24px; font-weight: 800; color: #fff;
  margin-bottom: 8px; letter-spacing: -.02em;
}
.cal-cta-banner p { font-size: 15px; color: rgba(255,255,255,.45); }
.cal-cta-banner p a { color: #fff; text-decoration: underline; }


/* ═══════════════════════════════════════
   COMPARISON TABLE
   ═══════════════════════════════════════ */
.cal-compare { width: 100%; border-collapse: collapse; margin-top: 48px; }
.cal-compare th, .cal-compare td {
  padding: 14px 16px; text-align: center; font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.cal-compare th {
  font-weight: 600; color: var(--ink); background: var(--bg-off);
  font-size: 13px; text-transform: uppercase; letter-spacing: .04em;
}
.cal-compare th:first-child, .cal-compare td:first-child { text-align: left; }
.cal-compare td { color: var(--body); }
.cal-compare td:first-child { font-weight: 600; color: var(--ink); }
.cal-compare tr:last-child td { border-bottom: none; }
.cal-compare .cal-compare-price { font-weight: 700; color: var(--teal); }
.cal-compare .cal-compare-check { color: var(--teal); }
.cal-compare-wrap {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
  overflow: hidden;
}
@media (max-width: 768px) {
  .cal-compare { font-size: 12px; }
  .cal-compare th, .cal-compare td { padding: 10px 8px; }
}

/* ═══════════════════════════════════════
   TRUST BAR
   ═══════════════════════════════════════ */
.cal-trust {
  text-align: center; padding: 16px 0 0;
  font-size: 13px; color: var(--muted); line-height: 1.6;
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 768px) {
  .cal-hero { padding: 64px 0 0; }
  .cal-hero-grid { grid-template-columns: 1fr; text-align: center; }
  .cal-hero-text { padding-bottom: 40px; }
  .cal-hero-text h1 { font-size: 32px; }
  .cal-hero-text p { margin-left: auto; margin-right: auto; }
  .cal-hero-ctas { justify-content: center; }
  .cal-hero-stats { justify-content: center; }
  .cal-hero-image { max-width: 640px; margin: 0 auto; }
  .cal-hero-tabs { justify-content: center; }
  .cal-value-grid { grid-template-columns: 1fr; }
  .cal-flagship { grid-template-columns: 1fr; }
  .cal-prod-grid { grid-template-columns: 1fr; }
  .cal-prod-wide { grid-template-columns: 1fr; }
  .cal-custom-grid { grid-template-columns: 1fr; }
  .cal-custom-card { order: -1; }
  .cal-section { padding: 64px 0; }
}
