/*
Theme Name: Enterprise Contacts
Theme URI: https://enterprisecontacts.eu
Author: Enterprise Contacts
Description: Responsive WordPress theme for Enterprise Contacts, built around native iOS Contacts integration for Microsoft 365 tenants.
Version: 1.47
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: enterprise-contacts
*/

/* ============================================================
   Enterprise Contacts — Shared Design System
   Mirrors the tokens from the live ec-theme-ready-for-wordpress
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --ec-bg:           #fcfcfb;
  --ec-bg-soft:      #f5f5f3;
  --ec-bg-card:      #ffffff;
  --ec-ink:          #0b1220;
  --ec-ink-soft:     #1f2937;
  --ec-slate:        #475569;
  --ec-slate-2:      #64748b;
  --ec-slate-3:      #94a3b8;
  --ec-line:         #e6e7e3;
  --ec-line-soft:    #eeefea;
  --ec-brand:        #1e40af;
  --ec-brand-deep:   #1a3796;
  --ec-brand-light:  #3b5cd9;
  --ec-brand-soft:   #eef2fb;
  --ec-brand-tint:   #dbe3f5;
  --ec-success:      #10b981;
  --ec-success-soft: #ecfdf5;
  --ec-radius:       10px;
  --ec-radius-lg:    14px;
  --ec-shadow-sm:    0 1px 2px rgba(15,23,42,0.04), 0 1px 3px rgba(15,23,42,0.03);
  --ec-shadow:       0 4px 14px -4px rgba(15,23,42,0.08), 0 1px 3px rgba(15,23,42,0.05);
  --ec-shadow-lg:    0 24px 48px -16px rgba(15,23,42,0.18), 0 6px 16px -8px rgba(15,23,42,0.08);
  --ec-nav-bg:       rgba(252,252,251,0.88);
  --ec-footer-bg:    #f4f4f2;
  --ec-nav-bg-custom: var(--ec-nav-bg);
  --ec-footer-bg-custom: var(--ec-footer-bg);
  --ec-font:         'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --ec-font-display: 'Instrument Serif', 'Times New Roman', Georgia, serif;
  --ec-font-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --ec-max-w:        1180px;
  --ec-section-py:   24px;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ec-font);
  color: var(--ec-ink);
  background: var(--ec-bg);
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5,h6 { font-weight: 600; letter-spacing: -0.02em; color: var(--ec-ink); line-height: 1.15; }
p { line-height: 1.65; }
a { color: inherit; text-decoration: none; }
img,svg { display: block; max-width: 100%; height: auto; }
ul,ol { list-style: none; }
button,input,textarea,select { font-family: inherit; }
input,textarea,select { background: transparent; border: none; outline: none; }

/* ── Layout ─────────────────────────────────────────────── */
.ec-inner {
  max-width: var(--ec-max-w);
  margin-inline: auto;
  padding-inline: clamp(24px, 5vw, 56px);
}
.ec-section {
  padding-block: var(--ec-section-py);
}
.ec-section-sm {
  padding-block: clamp(24px, 3vw, 36px);
}
.ec-divider {
  border: none;
  border-top: 1px solid var(--ec-line);
}

/* ── Nav ────────────────────────────────────────────────── */
.ec-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ec-nav-bg-custom);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ec-line);
  height: 60px;
}
.ec-nav.wp-block-group,
.ec-nav .wp-block-group,
.ec-nav .wp-block-navigation,
.ec-nav .wp-block-buttons {
  margin-block-start: 0;
  margin-block-end: 0;
}
.ec-nav-inner {
  max-width: var(--ec-max-w);
  margin-inline: auto;
  padding-inline: clamp(24px, 5vw, 56px);
  height: 100%;
  display: flex;
  align-items: center;
  flex-wrap: nowrap !important;
  justify-content: flex-start;
  gap: clamp(12px, 1.7vw, 24px);
  min-width: 0;
}
.ec-nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  text-decoration: none;
}
.ec-nav-logo-icon {
  width: 28px;
  height: 28px;
  background: var(--ec-brand);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ec-nav-logo-icon svg { width: 16px; height: 16px; }
.ec-nav-logo-img { display: block; max-height: 36px; width: auto; object-fit: contain; }
.ec-nav-logo-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--ec-ink);
  letter-spacing: -0.01em;
}
.ec-site-logo,
.ec-block-site-title {
  flex-shrink: 0;
}
.ec-block-brand {
  display: flex !important;
  align-items: center;
  flex-wrap: nowrap !important;
  gap: 8px;
  flex: 0 0 auto;
  min-width: max-content;
}
.ec-block-site-title a {
  color: var(--ec-ink);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.ec-block-nav {
  flex: 1 1 auto;
  min-width: 0;
}
.ec-block-nav .wp-block-navigation__container {
  gap: 4px;
  flex-wrap: nowrap;
}
.ec-block-nav .wp-block-navigation-item__content {
  color: var(--ec-slate);
  font-size: 14px;
  font-weight: 450;
  padding: 6px 10px;
  border-radius: 6px;
}
.ec-block-nav .wp-block-navigation-item__content:hover,
.ec-block-nav .current-menu-item .wp-block-navigation-item__content {
  color: var(--ec-ink);
  background: var(--ec-bg-soft);
}
.ec-block-actions .wp-block-button__link {
  min-height: 34px;
  padding: 7px 13px;
}
.ec-block-actions {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap !important;
  gap: 8px;
  flex-shrink: 0;
}
.ec-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.ec-nav-links a {
  font-size: 14px;
  font-weight: 450;
  color: var(--ec-slate);
  padding: 6px 10px;
  border-radius: 6px;
  transition: color 0.12s, background 0.12s;
  text-decoration: none;
}
.ec-nav-links a:hover { color: var(--ec-ink); background: var(--ec-bg-soft); }
.ec-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: nowrap;
}
.ec-nav-hamburger {
  display: none;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  color: var(--ec-ink);
  margin-left: auto;
}

/* ── Buttons ─────────────────────────────────────────────── */
.ec-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--ec-radius);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.05s;
  white-space: nowrap;
  text-decoration: none;
  font-family: var(--ec-font);
  letter-spacing: -0.01em;
}
.ec-btn:active { transform: translateY(0.5px); }
.ec-btn-primary {
  background: var(--ec-bg-card);
  color: var(--ec-ink);
  border-color: var(--ec-brand-tint);
}
.ec-btn-primary:hover {
  background: var(--ec-brand-soft);
  color: var(--ec-ink);
  border-color: var(--ec-brand-tint);
  box-shadow: 0 4px 12px -8px rgba(30,64,175,0.18);
}
.ec-btn-ghost { background: transparent; color: var(--ec-ink); border-color: var(--ec-line); }
.ec-btn-ghost:hover { background: var(--ec-bg-soft); border-color: #d0d1cb; }
.ec-btn-lg { height: 48px; padding: 0 24px; font-size: 15px; border-radius: 12px; gap: 8px; }
.ec-btn-sm { height: 34px; padding: 0 14px; font-size: 13px; }
.ec-btn-icon { width: 40px; padding: 0; justify-content: center; }
.wp-block-button.ec-btn {
  width: fit-content;
}
.wp-block-button.ec-btn .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: inherit;
  font: inherit;
  box-shadow: none;
}

/* ── Pills / badges ─────────────────────────────────────── */
.ec-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  background: var(--ec-bg-soft);
  border: 1px solid var(--ec-line);
  color: var(--ec-slate);
  font-family: var(--ec-font);
}
.ec-pill-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.ec-pill-success { background: var(--ec-success-soft); border-color: #c5ead8; color: #047857; }
.ec-pill-brand { background: var(--ec-brand-soft); border-color: var(--ec-brand-tint); color: var(--ec-brand); }

/* ── Eyebrow ─────────────────────────────────────────────── */
.ec-eyebrow {
  font-family: var(--ec-font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ec-slate-2);
}

/* ── Card ────────────────────────────────────────────────── */
.ec-card {
  background: var(--ec-bg-card);
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-radius-lg);
  box-shadow: var(--ec-shadow-sm);
}
.ec-card-p { padding: 24px; }
.ec-card-hover { transition: box-shadow 0.18s, border-color 0.18s; cursor: default; }
.ec-card-hover:hover { box-shadow: var(--ec-shadow); border-color: #d8d9d3; }

/* ── Step badge ──────────────────────────────────────────── */
.ec-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ec-brand-soft);
  border: 1px solid var(--ec-brand-tint);
  color: var(--ec-brand);
  font-size: 12px;
  font-weight: 600;
  font-family: var(--ec-font-mono);
  flex-shrink: 0;
}

/* ── Form inputs ─────────────────────────────────────────── */
.ec-field { display: flex; flex-direction: column; gap: 6px; }
.ec-label { font-size: 13px; font-weight: 500; color: var(--ec-ink-soft); }
.ec-input,
.ec-select,
.ec-textarea {
  background: var(--ec-bg-card);
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-radius);
  padding: 0 14px;
  height: 44px;
  font-size: 15px;
  color: var(--ec-ink);
  font-family: var(--ec-font);
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
}
.ec-textarea { height: auto; padding: 12px 14px; resize: vertical; min-height: 100px; line-height: 1.6; }
.ec-input:focus,
.ec-select:focus,
.ec-textarea:focus {
  outline: none;
  border-color: var(--ec-brand-light);
  box-shadow: 0 0 0 3px rgba(59,92,217,0.12);
}
.ec-input::placeholder,
.ec-textarea::placeholder { color: var(--ec-slate-3); }
.ec-select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.ec-hint { font-size: 12px; color: var(--ec-slate-2); }
.ec-error-msg { font-size: 12px; color: #dc2626; }
.ec-field-full { grid-column: 1 / -1; width: 100%; }
.ec-field-error input,
.ec-field-error select,
.ec-field-error textarea {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220,38,38,0.12);
}
.ec-form-success {
  padding: 14px 18px;
  background: var(--ec-success-soft);
  border: 1px solid color-mix(in oklch, var(--ec-success) 30%, transparent);
  border-radius: var(--ec-radius);
  color: #065f46;
  font-size: 14px;
  line-height: 1.5;
}
.ec-form-error {
  padding: 14px 18px;
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: var(--ec-radius);
  color: #991b1b;
  font-size: 14px;
  line-height: 1.5;
}

/* ── Grids ───────────────────────────────────────────────── */
.ec-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ec-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ec-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ── Hero ────────────────────────────────────────────────── */
.ec-hero {
  padding-block: clamp(64px, 10vw, 112px) clamp(64px, 8vw, 96px);
  background: var(--ec-bg);
  border-bottom: 1px solid var(--ec-line);
  overflow: hidden;
}
.ec-hero-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
}
.ec-hero-copy { max-width: 560px; }
.ec-hero h1 {
  font-size: clamp(36px, 5.5vw, 64px);
  font-family: var(--ec-font-display);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-block: 16px 20px;
  color: var(--ec-ink);
}
.ec-hero h1 em {
  font-style: italic;
  color: var(--ec-brand);
}
.ec-hero-body {
  font-size: clamp(15px, 1.8vw, 17px);
  color: var(--ec-slate);
  line-height: 1.65;
  max-width: 500px;
  margin-bottom: 32px;
}
.ec-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
}
.ec-hero-proof {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ec-slate-2);
}

/* ── Phone mockup ────────────────────────────────────────── */
.ec-phone {
  width: clamp(220px, 22vw, 280px);
  border-radius: 38px;
  background: #0b1220;
  padding: 10px;
  box-shadow: var(--ec-shadow-lg), 0 0 0 1px rgba(15,23,42,0.6) inset;
  flex-shrink: 0;
}
.ec-phone-screen {
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 9/19.5;
  display: flex;
  flex-direction: column;
}
.ec-phone-di {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 28px;
  background: #0b1220;
  border-radius: 999px;
  z-index: 5;
}
.ec-phone-statusbar {
  height: 50px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 22px 6px;
  background: #fff;
  position: relative;
  z-index: 2;
}
.ec-phone-statusbar-time {
  font-size: 12px;
  font-weight: 600;
  font-family: var(--ec-font-mono);
  color: #0b1220;
}
.ec-phone-statusbar-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}
.ec-phone-statusbar-icons span {
  font-size: 10px;
  font-weight: 600;
  color: #0b1220;
}
.ec-phone-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.ec-contacts-header {
  padding: 8px 18px 4px;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}
.ec-contacts-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.ec-contacts-title {
  font-size: 22px;
  font-weight: 700;
  color: #000;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.ec-contacts-synced {
  font-size: 9px;
  color: #64748b;
  font-family: var(--ec-font);
  font-weight: 400;
}
.ec-contacts-search {
  background: #f2f2f7;
  border-radius: 10px;
  height: 28px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  margin: 4px 0;
}
.ec-contacts-search-icon { width: 12px; height: 12px; opacity: 0.45; }
.ec-contacts-search-placeholder { font-size: 11px; color: #8e8e93; }
.ec-contacts-list { flex: 1; overflow: hidden; }
.ec-contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-bottom: 0.5px solid #f0f0f0;
}
.ec-contact-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: 0.01em;
}
.ec-contact-info { flex: 1; min-width: 0; }
.ec-contact-name { font-size: 13px; font-weight: 500; color: #000; line-height: 1.2; }
.ec-contact-role { font-size: 11px; color: #64748b; line-height: 1.3; }
.ec-contact-dept {
  font-size: 10px;
  font-weight: 500;
  color: var(--ec-slate-3);
  background: #f5f5f5;
  border-radius: 4px;
  padding: 2px 6px;
  white-space: nowrap;
}

/* ── Section headings ────────────────────────────────────── */
.ec-section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(16px, 2vw, 24px);
}
.ec-section-h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-family: var(--ec-font-display);
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--ec-ink);
  margin-bottom: 12px;
}
.ec-section-lead {
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--ec-slate);
  line-height: 1.65;
  max-width: 600px;
}

/* ── Audience cards ──────────────────────────────────────── */
.ec-audience-card {
  background: var(--ec-bg-card);
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--ec-shadow-sm);
}
.ec-audience-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--ec-radius);
  background: var(--ec-brand-soft);
  border: 1px solid var(--ec-brand-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ec-brand);
  flex-shrink: 0;
}
.ec-audience-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}
.ec-audience-card .subtitle {
  font-size: 12px;
  font-family: var(--ec-font-mono);
  color: var(--ec-slate-2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.ec-audience-card p {
  font-size: 14px;
  color: var(--ec-slate);
  line-height: 1.6;
}
.ec-feature-list { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.ec-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--ec-ink-soft);
}
.ec-feature-list li::before {
  content: '';
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ec-success);
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 10px 10px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ── Flow / pipeline section ─────────────────────────────── */
.ec-flow-nodes {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--ec-bg-card);
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-radius-lg);
  overflow: hidden;
}
.ec-flow-node {
  flex: 1;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-right: 1px solid var(--ec-line);
  position: relative;
}
.ec-flow-node:last-child { border-right: none; }
.ec-flow-node-eyebrow {
  font-size: 10px;
  font-family: var(--ec-font-mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ec-slate-3);
}
.ec-flow-node-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--ec-ink);
}
.ec-flow-node-sub {
  font-size: 12px;
  color: var(--ec-slate-2);
  line-height: 1.5;
}
.ec-flow-arrow {
  width: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ec-brand);
  background: var(--ec-brand-soft);
}

/* ── Feature pillars ─────────────────────────────────────── */
.ec-pillar {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ec-pillar-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--ec-brand-soft);
  border: 1px solid var(--ec-brand-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ec-brand);
}
.ec-pillar h4 { font-size: 15px; font-weight: 600; margin-bottom: 0; }
.ec-pillar p { font-size: 14px; color: var(--ec-slate); line-height: 1.6; }

/* ── Steps ───────────────────────────────────────────────── */
.ec-steps { display: flex; flex-direction: column; gap: 0; }
.ec-step {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--ec-line-soft);
  position: relative;
}
.ec-step:last-child { border-bottom: none; }
.ec-step-left { display: flex; flex-direction: column; align-items: center; gap: 0; }
.ec-step-line {
  width: 1px;
  flex: 1;
  background: var(--ec-line);
  margin-top: 8px;
}
.ec-step:last-child .ec-step-line { display: none; }
.ec-step-body h4 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.ec-step-body p { font-size: 14px; color: var(--ec-slate); line-height: 1.6; }

/* ── Pricing cards ───────────────────────────────────────── */
.ec-pricing-card {
  background: var(--ec-bg-card);
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.ec-pricing-card.featured {
  border-color: var(--ec-brand-light);
  box-shadow: 0 0 0 4px var(--ec-brand-soft), var(--ec-shadow);
}
.ec-pricing-price {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ec-ink);
  line-height: 1;
}
.ec-pricing-price sup { font-size: 18px; vertical-align: super; font-weight: 500; letter-spacing: 0; }
.ec-pricing-period { font-size: 14px; color: var(--ec-slate-2); font-weight: 400; }
.ec-pricing-divider { border: none; border-top: 1px solid var(--ec-line); }
.ec-pricing-feature-list { display: flex; flex-direction: column; gap: 12px; }
.ec-pricing-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ec-ink-soft);
  line-height: 1.5;
}
.ec-pricing-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ec-success-soft);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.ec-card-note {
  margin-top: -8px;
  font-size: 12px;
  color: var(--ec-slate-2);
  line-height: 1.6;
}
.ec-card-note a {
  color: var(--ec-brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── FAQ ─────────────────────────────────────────────────── */
.ec-faq-item {
  border-bottom: 1px solid var(--ec-line);
}
.ec-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--ec-ink);
  font-family: var(--ec-font);
  letter-spacing: -0.01em;
}
.ec-faq-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ec-bg-soft);
  border: 1px solid var(--ec-line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s, background 0.15s;
}
.ec-faq-item.open .ec-faq-icon {
  transform: rotate(45deg);
  background: var(--ec-brand-soft);
  border-color: var(--ec-brand-tint);
}
.ec-faq-a {
  display: none;
  padding-bottom: 20px;
  font-size: 14px;
  color: var(--ec-slate);
  line-height: 1.7;
  max-width: 680px;
}
.ec-faq-item.open .ec-faq-a { display: block; }

/* ── CTA band ────────────────────────────────────────────── */
.ec-cta-band {
  background: var(--ec-bg-soft);
  border-top: 1px solid var(--ec-line);
  border-bottom: 1px solid var(--ec-line);
  padding: clamp(48px, 7vw, 76px) clamp(24px, 5vw, 56px);
  text-align: center;
}
.ec-cta-band h2 {
  font-size: clamp(28px, 4vw, 52px);
  font-family: var(--ec-font-display);
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--ec-ink) !important;
  margin-bottom: 16px;
}
.ec-cta-band h2 em {
  font-style: italic;
  color: var(--ec-ink) !important;
  text-decoration: none;
}
.ec-cta-band p {
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--ec-slate) !important;
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 0;
  line-height: 1.65;
}
.ec-cta-band .ec-btn-primary {
  background: #fff;
  color: var(--ec-ink);
  border-color: #fff;
}
.ec-cta-band .ec-btn-primary:hover {
  background: var(--ec-bg-soft);
  color: var(--ec-ink);
  box-shadow: 0 10px 28px -16px rgba(255,255,255,0.55);
}
.ec-cta-meta {
  font-size: 13px;
  color: var(--ec-slate-3);
  margin-top: 14px;
}
.ec-cta-meta a { color: var(--ec-slate-2); text-decoration: underline; text-underline-offset: 3px; }

/* ── Footer ──────────────────────────────────────────────── */
.ec-footer {
  background: var(--ec-footer-bg-custom);
  border-top: 1px solid var(--ec-line);
  padding-block: 56px 32px;
}
.ec-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}
.ec-footer-brand p {
  font-size: 14px;
  color: var(--ec-slate);
  line-height: 1.65;
  margin-top: 12px;
  max-width: 240px;
}
.ec-footer-col h5 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ec-slate-2);
  margin-bottom: 14px;
  font-family: var(--ec-font-mono);
}
.ec-footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.ec-footer-col ul a {
  font-size: 14px;
  color: var(--ec-slate);
  text-decoration: none;
  transition: color 0.12s;
}
.ec-footer-col ul a:hover { color: var(--ec-ink); }
.ec-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--ec-line);
  flex-wrap: wrap;
  gap: 12px;
}
.ec-footer-copy {
  font-size: 13px;
  color: var(--ec-slate-2);
}
.ec-back-to-top {
  font-size: 13px;
  color: var(--ec-slate-2);
  text-decoration: none;
  transition: color 0.12s;
}
.ec-back-to-top:hover { color: var(--ec-ink); }
.ec-footer-legal {
  display: flex;
  gap: 20px;
}
.ec-footer-legal a {
  font-size: 13px;
  color: var(--ec-slate-2);
  text-decoration: none;
  transition: color 0.12s;
}
.ec-footer-legal a:hover { color: var(--ec-ink); }

/* ── Team card ───────────────────────────────────────────── */
.ec-team-card {
  background: var(--ec-bg-card);
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ec-team-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ec-brand-soft);
  border: 2px solid var(--ec-brand-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--ec-brand);
  letter-spacing: -0.01em;
}
.ec-team-card h4 { font-size: 16px; font-weight: 600; }
.ec-team-card .role {
  font-size: 12px;
  font-family: var(--ec-font-mono);
  color: var(--ec-slate-2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: -10px;
}
.ec-team-card p { font-size: 14px; color: var(--ec-slate); line-height: 1.6; }

/* ── Value / trust strip ─────────────────────────────────── */
.ec-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  align-items: flex-start;
}
.ec-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
  min-width: 200px;
}
.ec-trust-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--ec-bg-soft);
  border: 1px solid var(--ec-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ec-brand);
  flex-shrink: 0;
}
.ec-trust-item h5 { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.ec-trust-item p { font-size: 13px; color: var(--ec-slate); line-height: 1.5; }

/* ── Page hero (inner pages) ─────────────────────────────── */
.ec-page-hero {
  padding: clamp(12px, 2vw, 24px) clamp(24px, 5vw, 56px);
  border-bottom: 1px solid var(--ec-line);
  background: var(--ec-bg-soft);
}
.ec-page-hero .ec-inner { max-width: var(--ec-max-w); }
.ec-page-hero h1 {
  font-size: clamp(32px, 4.5vw, 56px);
  font-family: var(--ec-font-display);
  font-weight: 400;
  letter-spacing: -0.03em;
  margin-block: 12px 16px;
}
.ec-page-hero .lead {
  font-size: clamp(15px, 1.7vw, 17px);
  color: var(--ec-slate);
  max-width: 600px;
  line-height: 1.65;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .ec-nav-inner { padding-inline: clamp(14px, 3vw, 32px); gap: 10px; }
  .ec-nav-links a { padding-inline: 8px; font-size: 13px; }
  .ec-nav-actions a { padding-inline: 11px; }
  .ec-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .ec-hero-grid { gap: 40px; }
  .ec-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 820px) {
  .ec-hero-grid { grid-template-columns: 1fr; }
  .ec-phone { display: none; }
  .ec-grid-3 { grid-template-columns: 1fr; }
  .ec-flow-nodes { flex-direction: column; }
  .ec-flow-node { border-right: none; border-bottom: 1px solid var(--ec-line); }
  .ec-flow-node:last-child { border-bottom: none; }
  .ec-flow-arrow { transform: rotate(90deg); }
}

@media (max-width: 640px) {
  :root { --ec-section-py: 24px; }
  .ec-nav-links, .ec-nav-actions { display: none; }
  .ec-nav-hamburger { display: flex; }
  .ec-grid-2 { grid-template-columns: 1fr; }
  .ec-grid-4 { grid-template-columns: 1fr; }
  .ec-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .ec-footer-bottom { flex-direction: column; text-align: center; }
  .ec-pricing-card { padding: 24px; }
  .ec-hero-actions { gap: 8px; }
  .ec-hero-actions .ec-btn-lg { width: 100%; justify-content: center; }
}

@media (max-width: 390px) {
  .ec-page-hero h1 { font-size: 28px; }
  .ec-section-h2 { font-size: 24px; }
}

/* ── Mobile nav drawer ───────────────────────────────────── */
.ec-mobile-nav {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(100dvh - 60px);
  background: color-mix(in srgb, var(--ec-bg) 96%, transparent);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  z-index: 99;
  padding: 16px 24px 32px;
  border-top: 1px solid var(--ec-line);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.admin-bar .ec-mobile-nav { top: 92px; height: calc(100dvh - 92px); }
@media screen and (max-width: 782px) {
  .admin-bar .ec-mobile-nav { top: 106px; height: calc(100dvh - 106px); }
}
@media screen and (max-width: 600px) {
  .admin-bar .ec-mobile-nav { top: 60px; height: calc(100dvh - 60px); }
}
.ec-mobile-nav.open { display: block; }
.ec-mobile-nav a {
  font-size: 16px;
  font-weight: 500;
  color: var(--ec-ink);
  padding: 12px 0;
  border-bottom: 1px solid var(--ec-line-soft);
  text-decoration: none;
  display: block;
}
.ec-mobile-nav li:last-child a { border-bottom: none; }
.ec-mobile-nav .ec-btn { margin-top: 12px; width: 100%; justify-content: center; }
.ec-nav-hamburger[aria-expanded="true"] .ec-hamburger-icon { display: none; }
.ec-nav-hamburger[aria-expanded="false"] .ec-close-icon { display: none; }

/* ── Hero eyebrow row ────────────────────────────────────── */
.hero-eyebrow-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

/* ── Proof bar ───────────────────────────────────────────── */
.ec-proof-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  padding: 14px clamp(24px, 5vw, 56px);
  border-top: 1px solid var(--ec-line);
  border-bottom: 1px solid var(--ec-line);
  background: var(--ec-bg-soft);
}
.ec-proof-item {
  font-size: 12px;
  font-weight: 500;
  color: var(--ec-slate);
  letter-spacing: 0.01em;
  padding: 2px 18px;
  position: relative;
}
.ec-proof-item + .ec-proof-item::before {
  content: '·';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ec-slate-3);
  font-size: 16px;
}

/* ── Audiences grid ──────────────────────────────────────── */
.ec-audiences {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ── Flow section ────────────────────────────────────────── */
.ec-flow-section {
  background: var(--ec-bg-soft);
  border-top: 1px solid var(--ec-line);
  border-bottom: 1px solid var(--ec-line);
}
.ec-flow-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 7vw, 80px);
  align-items: start;
}

/* ── Pillars ─────────────────────────────────────────────── */
.ec-pillars {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-radius-lg);
  overflow: hidden;
  background: var(--ec-bg-card);
  box-shadow: var(--ec-shadow-sm);
}
.ec-pillars .ec-pillar {
  border-bottom: 1px solid var(--ec-line);
}
.ec-pillars .ec-pillar:last-child { border-bottom: none; }

/* ── Section heading block ───────────────────────────────── */
.ec-section-heading {
  margin-bottom: clamp(32px, 4vw, 48px);
  max-width: 680px;
}

/* ── Step section (2-col: heading + steps) ───────────────── */
.ec-step-section {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

/* ── Step stack (vertical product cards) ─────────────────── */
.ec-step-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-radius-lg);
  overflow: hidden;
  background: var(--ec-bg-card);
  box-shadow: var(--ec-shadow-sm);
}

/* ── Product card ────────────────────────────────────────── */
.ec-product-card {
  background: var(--ec-bg-card);
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-radius-lg);
  padding: 28px 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  box-shadow: var(--ec-shadow-sm);
}
.ec-product-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}
.ec-product-card p {
  font-size: 14px;
  color: var(--ec-slate);
  line-height: 1.65;
}
.ec-product-card .ec-eyebrow { margin-bottom: 6px; }
.ec-product-card > div { flex: 1; min-width: 0; }
.ec-product-card.featured {
  border-color: var(--ec-brand-tint);
  background: var(--ec-brand-soft);
}

/* Inside step-stack: no separate borders, parent handles container */
.ec-step-stack > .ec-product-card,
.ec-step-stack > .wp-block-group.ec-product-card {
  border: none;
  border-radius: 0;
  border-bottom: 1px solid var(--ec-line);
  box-shadow: none;
}
.ec-step-stack > .ec-product-card:last-child,
.ec-step-stack > .wp-block-group.ec-product-card:last-child { border-bottom: none; }
.ec-step-stack > .ec-product-card.featured,
.ec-step-stack > .wp-block-group.ec-product-card.featured {
  background: var(--ec-brand-soft);
  border-bottom-color: var(--ec-brand-tint);
}

/* ── Product card grid ───────────────────────────────────── */
.ec-product-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ec-product-card-grid > .ec-product-card,
.ec-product-card-grid > .wp-block-group.ec-product-card {
  flex-direction: column;
}

/* ── Product panel (sidebar in split heroes) ─────────────── */
.ec-product-panel {
  background: var(--ec-bg-card);
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-radius-lg);
  padding: 24px;
  box-shadow: var(--ec-shadow);
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 220px;
  max-width: 300px;
  flex-shrink: 0;
}
.ec-product-panel > .ec-eyebrow { margin-bottom: 12px; }

/* ── Product layout (2-col: text + card) ─────────────────── */
.ec-product-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: start;
}

/* ── Page hero — split variant ───────────────────────────── */
.ec-page-hero-split {
  padding: clamp(12px, 2vw, 24px) 0;
  background: var(--ec-bg-soft);
  border-bottom: 1px solid var(--ec-line);
}
.ec-page-hero-split .ec-inner { max-width: var(--ec-max-w); }
.ec-page-hero-split h1 {
  font-size: clamp(32px, 4.5vw, 56px);
  font-family: var(--ec-font-display);
  font-weight: 400;
  letter-spacing: -0.03em;
  margin-block: 12px 16px;
}
.ec-page-hero-split .lead {
  font-size: clamp(15px, 1.7vw, 17px);
  color: var(--ec-slate);
  max-width: 560px;
  line-height: 1.65;
  margin-bottom: 24px;
}
.ec-page-hero-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

/* ── Panel row ───────────────────────────────────────────── */
.ec-panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--ec-line-soft);
  font-size: 13px;
  gap: 12px;
}
.ec-panel-row:last-of-type { border-bottom: none; }
.ec-panel-row span { color: var(--ec-slate); }
.ec-panel-row strong { color: var(--ec-ink); font-weight: 600; text-align: right; }

/* ── Panel footer ────────────────────────────────────────── */
.ec-panel-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  margin-top: 4px;
  border-top: 1px solid var(--ec-line);
  flex-wrap: wrap;
}

/* ── Pricing grid ────────────────────────────────────────── */
.ec-pricing-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
  align-items: start;
}

/* ── Download card ───────────────────────────────────────── */
.ec-download-card {
  background: var(--ec-bg-card);
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--ec-shadow-sm);
}
.ec-download-card.featured {
  border-color: var(--ec-brand-tint);
  box-shadow: 0 0 0 4px var(--ec-brand-soft), var(--ec-shadow);
}
.ec-download-card h2 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-family: var(--ec-font-display);
  font-weight: 400;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.ec-download-card p {
  font-size: 15px;
  color: var(--ec-slate);
  line-height: 1.65;
}
.ec-download-card-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: start;
}

/* ── App icon ────────────────────────────────────────────── */
.ec-app-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--ec-brand) 0%, var(--ec-brand-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--ec-font-mono);
  color: #fff;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.ec-app-icon-admin {
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
}

/* ── Note grid ───────────────────────────────────────────── */
.ec-note-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 32px;
  align-items: center;
}
.ec-note-grid strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}
.ec-note-grid p {
  font-size: 13px;
  color: var(--ec-slate);
  line-height: 1.6;
}

/* ── Spec grid + list ────────────────────────────────────── */
.ec-spec-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.ec-spec-grid h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-family: var(--ec-font-display);
  font-weight: 400;
  letter-spacing: -0.03em;
  margin-top: 12px;
}
.ec-spec-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-radius-lg);
  overflow: hidden;
  background: var(--ec-bg-card);
  box-shadow: var(--ec-shadow-sm);
}
.ec-spec-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--ec-line);
  font-size: 14px;
  gap: 16px;
}
.ec-spec-list li:last-child { border-bottom: none; }
.ec-spec-list li strong { color: var(--ec-ink); font-weight: 600; min-width: 120px; flex-shrink: 0; }
.ec-spec-list li span { color: var(--ec-slate); text-align: right; }

/* ── Consent panel ───────────────────────────────────────── */
.ec-consent-panel {
  background: var(--ec-bg-card);
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-radius-lg);
  padding: 32px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  box-shadow: var(--ec-shadow-sm);
  flex-wrap: wrap;
}
.ec-consent-panel h2 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-family: var(--ec-font-display);
  font-weight: 400;
  letter-spacing: -0.03em;
  margin-block: 8px 12px;
}
.ec-consent-panel p {
  font-size: 14px;
  color: var(--ec-slate);
  line-height: 1.65;
  max-width: 560px;
}

/* ── Table ───────────────────────────────────────────────── */
.ec-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-radius-lg);
  background: var(--ec-bg-card);
  box-shadow: var(--ec-shadow-sm);
}
.ec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.ec-table thead tr { border-bottom: 2px solid var(--ec-line); }
.ec-table th {
  padding: 12px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ec-slate-2);
  font-family: var(--ec-font-mono);
  white-space: nowrap;
}
.ec-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--ec-line-soft);
  color: var(--ec-ink-soft);
  line-height: 1.5;
  vertical-align: top;
}
.ec-table tbody tr:last-child td { border-bottom: none; }
.ec-table tbody tr:hover { background: var(--ec-bg-soft); }
.ec-table-wrap .ec-table th:first-child,
.ec-table-wrap .ec-table td:first-child { padding-left: 24px; }
.ec-table-wrap .ec-table th:last-child,
.ec-table-wrap .ec-table td:last-child { padding-right: 24px; }

/* ── Support form + grid ─────────────────────────────────── */
.ec-support-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}
.ec-contact-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ec-contact-methods > div {
  background: var(--ec-bg-card);
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-radius);
  padding: 18px 20px;
  box-shadow: var(--ec-shadow-sm);
}
.ec-contact-methods .ec-eyebrow { margin-bottom: 8px; }
.ec-contact-methods a {
  color: var(--ec-brand);
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-all;
}
.ec-support-form {
  background: var(--ec-bg-card);
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-radius-lg);
  padding: 32px;
  box-shadow: var(--ec-shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ec-support-form h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-family: var(--ec-font-display);
  font-weight: 400;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.ec-support-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ec-ink-soft);
}
.ec-support-form input,
.ec-support-form select,
.ec-support-form textarea {
  background: var(--ec-bg);
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-radius);
  padding: 10px 14px;
  font-size: 15px;
  color: var(--ec-ink);
  font-family: var(--ec-font);
  width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.ec-support-form input:focus,
.ec-support-form select:focus,
.ec-support-form textarea:focus {
  outline: none;
  border-color: var(--ec-brand-light);
  box-shadow: 0 0 0 3px rgba(59,92,217,0.12);
}
.ec-support-form textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.ec-form-intro {
  border-bottom: 1px solid var(--ec-line);
  padding-bottom: 18px;
}
.ec-form-intro .ec-eyebrow {
  margin-bottom: 10px;
}
.ec-form-intro h2 {
  margin: 0 0 8px;
}
.ec-form-intro p:last-child {
  color: var(--ec-slate);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}
.ec-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.ec-form-note {
  font-size: 12px;
  color: var(--ec-slate-2);
  line-height: 1.6;
}
.ec-form-success,
.ec-form-error {
  border-radius: var(--ec-radius);
  padding: 13px 15px;
  font-size: 14px;
  line-height: 1.5;
}
.ec-form-success {
  background: var(--ec-success-soft);
  border: 1px solid color-mix(in oklch, var(--ec-success) 32%, transparent);
  color: color-mix(in oklch, var(--ec-success) 65%, var(--ec-ink));
}
.ec-form-error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

/* ── Soft band ───────────────────────────────────────────── */
.ec-soft-band {
  background: var(--ec-bg-soft);
  border-top: 1px solid var(--ec-line);
  border-bottom: 1px solid var(--ec-line);
}

/* ── Legal content ───────────────────────────────────────── */
.ec-legal-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ec-legal-content h2 {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  margin-bottom: 6px;
  margin-top: 8px;
}
.ec-legal-content p,
.ec-legal-content li {
  font-size: 15px;
  color: var(--ec-slate);
  line-height: 1.75;
}
.ec-legal-content ul {
  margin: 0 0 14px;
  padding-left: 20px;
}
.ec-legal-content li {
  list-style: disc;
  margin-bottom: 6px;
}

/* ── Callout ─────────────────────────────────────────────── */
.ec-callout {
  background: var(--ec-brand-soft);
  border: 1px solid var(--ec-brand-tint);
  border-radius: var(--ec-radius);
  padding: 18px 20px;
  margin-top: 16px;
}
.ec-callout strong {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ec-brand);
  margin-bottom: 8px;
  font-family: var(--ec-font-mono);
}
.ec-callout p {
  font-size: 13px;
  color: var(--ec-slate);
  line-height: 1.65;
  margin-bottom: 6px;
}
.ec-callout p:last-child { margin-bottom: 0; }
.ec-callout a { color: var(--ec-brand); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

/* ── Editable page wrapper ───────────────────────────────── */
.ec-editable-page { min-height: 200px; }

/* ── Footer WordPress nav menus ──────────────────────────── */
.ec-footer-menu,
.ec-footer-legal-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ec-footer-menu li,
.ec-footer-legal-menu li { margin: 0; }
.ec-footer-menu a {
  font-size: 14px;
  color: var(--ec-slate);
  text-decoration: none;
  transition: color 0.12s;
  display: block;
  padding: 4px 0;
  line-height: 1.5;
}
.ec-footer-menu a:hover { color: var(--ec-ink); }
.ec-footer-legal-menu {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.ec-footer-legal-menu a {
  font-size: 13px;
  color: var(--ec-slate-2);
  text-decoration: none;
  transition: color 0.12s;
}
.ec-footer-legal-menu a:hover { color: var(--ec-ink); }

/* ── Table of contents ───────────────────────────────────── */
.ec-toc-nav {
  background: var(--ec-bg-soft);
  border-bottom: 1px solid var(--ec-line);
  padding: 24px 0;
}
.ec-toc-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.ec-toc-list li { display: flex; align-items: center; }
.ec-toc-list a {
  font-size: 14px;
  color: var(--ec-brand);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.12s, color 0.12s;
}
.ec-toc-list a:hover { border-bottom-color: var(--ec-brand); }
@media (max-width: 640px) {
  .ec-toc-list { flex-direction: column; gap: 10px; }
}

/* ── Responsive additions ────────────────────────────────── */
@media (max-width: 1024px) {
  .ec-product-card-grid { grid-template-columns: 1fr 1fr; }
  .ec-step-section { grid-template-columns: 1fr; }
  .ec-flow-grid { grid-template-columns: 1fr; }
  .ec-download-card-grid { grid-template-columns: 1fr; }
  .ec-pricing-grid { grid-template-columns: 1fr; }
  .ec-product-layout { grid-template-columns: 1fr; }
  .ec-spec-grid { grid-template-columns: 1fr; }
  .ec-support-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .ec-audiences { grid-template-columns: 1fr; }
  .ec-page-hero-grid { grid-template-columns: 1fr; }
  .ec-product-panel { display: none; }
  .ec-note-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ec-product-card-grid { grid-template-columns: 1fr; }
  .ec-form-grid { grid-template-columns: 1fr; }
  .ec-product-card { padding: 20px; gap: 14px; }
  .ec-download-card { padding: 24px; }
  .ec-support-form { padding: 20px; }
  .ec-consent-panel { padding: 20px; flex-direction: column; align-items: flex-start; }
}

/* ── IT Admin Guide tabs ─────────────────────────────────── */
.ec-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--ec-line);
  margin-bottom: 40px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.ec-tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ec-slate);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
  font-family: var(--ec-font-body);
  letter-spacing: -0.01em;
}
.ec-tab-btn:hover { color: var(--ec-ink); }
.ec-tab-btn.active {
  color: var(--ec-brand);
  border-bottom-color: var(--ec-brand);
}
.ec-tab-panel { display: none; }
.ec-tab-panel.active { display: block; }

/* ── Admin guide layout (ToC sidebar + content) ──────────── */
.ec-admin-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  align-items: start;
}
.ec-toc-sidebar {
  position: sticky;
  top: 80px;
}
.ec-toc-sidebar .ec-eyebrow { margin-bottom: 12px; }
.ec-toc-links {
  display: flex;
  flex-direction: column;
  gap: 1px;
  border-left: 1px solid var(--ec-line);
}
.ec-toc-links a {
  display: block;
  font-size: 13px;
  line-height: 1.4;
  padding: 5px 12px;
  margin-left: -1px;
  border-left: 2px solid transparent;
  color: var(--ec-slate);
  text-decoration: none;
  transition: color 0.12s, border-color 0.12s;
}
.ec-toc-links a:hover {
  color: var(--ec-ink);
  border-left-color: var(--ec-brand-tint);
}
.ec-toc-links a.ec-toc-sub {
  padding-left: 20px;
  font-size: 12px;
  color: var(--ec-slate-2);
}
.ec-toc-help {
  margin-top: 24px;
  padding: 14px;
  background: var(--ec-bg-soft);
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-radius);
  font-size: 13px;
}
.ec-toc-help strong { display: block; margin-bottom: 4px; font-size: 13px; }
.ec-toc-help p { color: var(--ec-slate); line-height: 1.5; margin: 0; }
.ec-toc-help a { color: var(--ec-brand); text-decoration: none; }
.ec-admin-content { min-width: 0; }
.ec-admin-h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--ec-ink);
}

/* ── Code blocks ─────────────────────────────────────────── */
.ec-code-block {
  background: var(--ec-ink);
  color: #e8eaf0;
  border-radius: var(--ec-radius);
  padding: 18px 20px;
  font-family: var(--ec-font-mono);
  font-size: 13px;
  line-height: 1.65;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0;
  white-space: pre;
}
.ec-code-block code {
  background: none;
  color: inherit;
  font-size: inherit;
  padding: 0;
  border: none;
}

/* ── Admin callout variants ──────────────────────────────── */
.ec-callout-info { background: var(--ec-brand-soft); border-color: var(--ec-brand-tint); }
.ec-callout-warn { background: oklch(97% 0.02 80); border-color: oklch(85% 0.06 80); }
.ec-callout-warn strong { color: oklch(40% 0.12 60); }

/* ── Responsive admin layout ─────────────────────────────── */
@media (max-width: 1024px) {
  .ec-admin-layout { grid-template-columns: 180px 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .ec-admin-layout { grid-template-columns: 1fr; }
  .ec-toc-sidebar { position: static; }
  .ec-toc-links { flex-direction: row; flex-wrap: wrap; border-left: none; border-top: 1px solid var(--ec-line); padding-top: 8px; }
  .ec-toc-links a { border-left: none; border-bottom: 2px solid transparent; padding: 4px 8px; }
  .ec-toc-links a.ec-toc-sub { display: none; }
  .ec-toc-help { display: none; }
  .ec-tab-btn { padding: 10px 16px; font-size: 13px; }
}

/* ── WordPress color-preset override ─────────────────────────
   Gutenberg injects --wp--preset--color--* onto has-color classes.
   This override prevents those presets from turning plain body text blue. */
.ec-editable-page p,
.ec-editable-page li,
.ec-legal-content p,
.ec-legal-content li,
.ec-product-card p,
.ec-product-card li,
.ec-download-tile p,
.ec-download-card p,
.ec-step-card p,
.ec-callout p,
.ec-spec-list span,
.ec-requirements-list span,
.ec-privacy-point span {
  color: var(--ec-slate);
}
.ec-editable-page h1,
.ec-editable-page h2,
.ec-editable-page h3,
.ec-editable-page h4,
.ec-legal-content h2,
.ec-legal-content h3 {
  color: var(--ec-ink);
}
body .has-text-color p,
body .has-text-color li,
body .has-text-color span {
  color: inherit;
}
body .wp-block-group,
body .wp-block-columns,
body .wp-block-column {
  color: var(--ec-ink);
}
body .wp-block-group p,
body .wp-block-columns p,
body .wp-block-column p {
  color: var(--ec-slate);
}
/* Belt-and-suspenders: kill any lingering WP colour preset inline styles */
body p:not([class*="ec-btn"]),
body li {
  color: var(--ec-slate) !important;
}
body h1, body h2, body h3, body h4, body h5 {
  color: var(--ec-ink) !important;
}
body a { color: var(--ec-brand); }
body a:where(:not([class])) { text-decoration: underline; }
/* But buttons and eyebrows must keep their own colours */
body .ec-btn,
body .ec-btn p,
body .ec-eyebrow { color: unset !important; }

/* ── Admin guide tabs container ──────────────────────────── */
.ec-admin-guide-tabs-section {
  margin-top: 40px;
}

/* Admin Guide setup/daily tabs should read top-to-bottom. The generic
   ec-step-section pattern is two-column elsewhere, but it makes these
   long admin instructions look like cards are drifting beside the copy. */
.ec-admin-guide-tabs-section #ec-tab-setup .ec-step-section,
.ec-admin-guide-tabs-section #ec-tab-daily-use .ec-step-section {
  display: block;
}
.ec-admin-guide-tabs-section #ec-tab-setup .ec-section-heading,
.ec-admin-guide-tabs-section #ec-tab-daily-use .ec-section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}
.ec-admin-guide-tabs-section #ec-tab-setup .ec-step-stack,
.ec-admin-guide-tabs-section #ec-tab-daily-use .ec-step-stack,
.ec-admin-guide-tabs-section #ec-tab-setup .ec-product-card,
.ec-admin-guide-tabs-section #ec-tab-daily-use .ec-product-card {
  width: 100%;
}
.ec-admin-guide-tabs-section #ec-tab-setup .ec-product-card-grid,
.ec-admin-guide-tabs-section #ec-tab-daily-use .ec-product-card-grid {
  grid-template-columns: 1fr;
}

/* ── Settings admin: logo + color picker helpers ─────────── */
.ec-logo-img {
  max-height: 60px;
  width: auto;
  display: block;
  margin-bottom: 10px;
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-radius);
  padding: 4px;
  background: var(--ec-bg-card);
}
.ec-phone.ec-phone-image {
  background: var(--ec-bg-card);
  border: 1px solid var(--ec-line);
  box-shadow: var(--ec-shadow);
  padding: 10px;
  overflow: hidden;
}
.ec-phone.ec-phone-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
}
.ec-logo-upload-btn,
.ec-logo-remove {
  display: inline-block;
  margin-right: 8px;
  margin-top: 4px;
}
.ec-color-picker {
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-radius);
  padding: 4px;
  height: 36px;
  width: 60px;
  cursor: pointer;
}

/* -- Editor-rendered page content ---------------------------
   When a page has been genuinely edited by the user and renders
   via ec_render_full_editor_page(), the outer wrapper gets
   ec-editor-content. Each section inside should still carry
   ec-section/ec-inner for layout, but we add a safe fallback
   centering and reset WP block color presets that bleed blue. */
.ec-editor-content {
  --wp--preset--color--vivid-cyan-blue: var(--ec-slate);
  --wp--preset--color--luminous-vivid-amber: var(--ec-slate);
  --wp--preset--color--light-green-cyan: var(--ec-slate);
  --wp--preset--color--vivid-purple: var(--ec-slate);
  --wp--preset--color--pale-pink: var(--ec-slate);
}
.ec-editor-content p,
.ec-editor-content li,
.ec-editor-content td,
.ec-editor-content th {
  color: var(--ec-slate);
}
.ec-editor-content h1,
.ec-editor-content h2,
.ec-editor-content h3,
.ec-editor-content h4 {
  color: var(--ec-ink);
}
/* wp:html blocks render directly � preserve EC layout classes */
.ec-editor-content .wp-block-html { display: contents; }
/* wp:group fallback centering when ec-inner isn't present */
.ec-editor-content .wp-block-group:not([class*=ec-]) {
  max-width: var(--ec-max-w);
  margin-inline: auto;
  padding-inline: clamp(24px, 5vw, 56px);
}
/* ============================================================
   Enterprise Contacts — current WordPress overrides
   Restored after stylesheet token loss. Later rules intentionally
   override the recovered base system where names overlap.
   ============================================================ */body.admin-bar .ec-nav {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .ec-nav {
    top: 46px;
  }
}

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

.ec-nav-links a,
.ec-nav-actions .ec-btn,
.ec-nav-actions a,
.ec-mobile-nav a,
.ec-footer-col a,
.ec-footer-legal a {
  position: relative;
}

.ec-menu-list,
.ec-mobile-menu-list,
.ec-footer-menu,
.ec-footer-legal-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ec-nav-links .ec-menu-list,
.ec-nav-actions .ec-menu-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ec-nav-links li,
.ec-nav-actions li,
.ec-mobile-nav li,
.ec-footer-col li,
.ec-footer-legal li {
  list-style: none;
}

.ec-nav-actions .ec-menu-list {
  gap: 8px;
}

.ec-nav-actions a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  transition: transform 0.12s, background 0.12s, color 0.12s, border-color 0.12s;
}

.ec-nav-actions li:first-child a {
  border: 1px solid var(--ec-line);
  background: var(--ec-bg-card);
  color: var(--ec-ink);
}

.ec-nav-actions li:last-child a {
  border: 1px solid var(--ec-brand-tint);
  background: var(--ec-bg-card);
  color: var(--ec-ink);
}

.ec-nav-actions a:hover {
  transform: translateY(-1px);
}

.ec-nav-links a.is-active,
.ec-nav-links .current-menu-item > a,
.ec-nav-links .current_page_item > a {
  color: var(--ec-ink);
  background: color-mix(in oklch, var(--ec-brand) 7%, var(--ec-bg-soft));
}

.ec-nav-links a.is-active::after,
.ec-nav-links .current-menu-item > a::after,
.ec-nav-links .current_page_item > a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: -12px;
  height: 2px;
  border-radius: 999px;
  background: var(--ec-brand);
}

.ec-nav-actions .ec-btn.is-active {
  box-shadow: 0 0 0 3px var(--ec-brand-soft);
}

.ec-nav-actions .current-menu-item > a,
.ec-nav-actions .current_page_item > a {
  box-shadow: 0 0 0 3px var(--ec-brand-soft);
}

.ec-mobile-nav .ec-mobile-menu-list {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.ec-mobile-nav .ec-mobile-actions {
  gap: 10px;
  margin-top: 12px;
}

.ec-mobile-nav a.is-active,
.ec-mobile-nav .current-menu-item > a,
.ec-mobile-nav .current_page_item > a {
  color: var(--ec-brand);
  background: var(--ec-brand-soft);
}

.ec-footer-col a.is-active,
.ec-footer-legal a.is-active,
.ec-footer-col .current-menu-item > a,
.ec-footer-col .current_page_item > a,
.ec-footer-legal .current-menu-item > a,
.ec-footer-legal .current_page_item > a {
  color: var(--ec-ink);
  text-decoration: underline;
  text-decoration-color: var(--ec-brand);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.ec-footer-legal .ec-footer-legal-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.hero-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ec-audiences {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ec-flow-section {
  background: var(--ec-bg-soft);
}

.ec-flow-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.ec-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-radius-lg);
  overflow: hidden;
  background: var(--ec-bg-card);
}

.ec-pillars .ec-pillar {
  border-right: 1px solid var(--ec-line);
  border-bottom: 1px solid var(--ec-line);
}

.ec-pillars .ec-pillar:nth-child(2n) {
  border-right: none;
}

.ec-pillars .ec-pillar:nth-child(3),
.ec-pillars .ec-pillar:nth-child(4) {
  border-bottom: none;
}

.ec-pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.28fr);
  gap: 20px;
  align-items: start;
}

.ec-page-hero-split {
  background:
    radial-gradient(circle at 86% 12%, color-mix(in oklch, var(--ec-brand) 10%, transparent), transparent 30%),
    var(--ec-bg-soft);
}

.ec-page-hero {
  padding-block: clamp(12px, 2vw, 24px);
  min-height: 0;
}

.ec-page-hero-split {
  display: flex;
  align-items: center;
}

.ec-page-hero-grid,
.ec-product-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.68fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.ec-page-hero-grid {
  align-items: center;
}

.ec-product-panel,
.ec-product-card,
.ec-download-card,
.ec-consent-panel {
  background: var(--ec-bg-card);
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-radius-lg);
  box-shadow: var(--ec-shadow-sm);
}

.ec-product-panel {
  padding: clamp(22px, 3vw, 30px);
}

.ec-product-panel .ec-eyebrow {
  margin-bottom: 18px;
}

.ec-panel-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--ec-line-soft);
}

.ec-panel-row span {
  color: var(--ec-slate);
  font-size: 13px;
}

.ec-panel-row strong {
  color: var(--ec-ink);
  font-size: 14px;
  text-align: right;
}

.ec-panel-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 18px;
}

.ec-product-card-grid,
.ec-download-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.ec-section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.ec-section-heading .ec-section-h2 {
  margin-top: 8px;
}

.ec-wide-cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.ec-wide-cards .ec-product-card {
  min-width: 0;
}

.ec-wide-cards .ec-product-card.featured {
  grid-column: span 2;
}

.ec-product-card-grid.guide {
  margin-top: 28px;
}

.ec-step-stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.ec-step-stack .ec-product-card,
.ec-step-stack .ec-step-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: clamp(22px, 3vw, 30px);
}

.ec-step-stack .ec-product-card.featured {
  grid-column: auto;
}

.ec-step-stack .ec-step-badge {
  margin: 0;
}

.ec-step-stack .ec-product-card h3,
.ec-step-stack .ec-step-card h3 {
  margin-top: 0;
}

.ec-step-section {
  max-width: 920px;
}

.ec-product-card,
.ec-download-card {
  padding: clamp(24px, 3vw, 34px);
}

.ec-product-card.featured,
.ec-download-card.featured {
  border-color: var(--ec-brand-light);
  box-shadow: 0 0 0 4px var(--ec-brand-soft), var(--ec-shadow);
}

.ec-product-card h2,
.ec-product-card h3,
.ec-download-card h2,
.ec-consent-panel h2,
.ec-spec-grid h2 {
  font-family: var(--ec-font-display);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.ec-product-card h2,
.ec-consent-panel h2,
.ec-spec-grid h2 {
  font-size: clamp(30px, 4vw, 48px);
}

.ec-product-card h3,
.ec-download-card h2 {
  font-size: clamp(24px, 2.45vw, 34px);
  margin: 10px 0 12px;
}

.ec-wide-cards .ec-product-card h3 {
  font-size: clamp(22px, 2vw, 30px);
  letter-spacing: -0.03em;
}

.ec-wide-cards .ec-product-card.featured h3 {
  font-size: clamp(28px, 3vw, 42px);
}

.ec-product-card p,
.ec-download-card p,
.ec-consent-panel p,
.ec-note-grid p {
  color: var(--ec-slate);
  font-size: 15px;
  line-height: 1.68;
}

.ec-product-card .ec-step-badge {
  margin-bottom: 12px;
}

.ec-soft-band {
  background: var(--ec-bg-soft);
  border-top: 1px solid var(--ec-line);
  border-bottom: 1px solid var(--ec-line);
}

.ec-proof-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 18px clamp(16px, 4vw, 40px);
  border-top: 1px solid var(--ec-line);
  border-bottom: 1px solid var(--ec-line);
  background: var(--ec-bg-card);
  flex-wrap: wrap;
}

.ec-proof-item {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid var(--ec-line);
  border-radius: 999px;
  background: var(--ec-bg-soft);
  color: var(--ec-ink-soft);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.25;
  white-space: normal;
}

.ec-spec-grid,
.ec-note-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: center;
  background: var(--ec-bg-card);
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-radius-lg);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--ec-shadow-sm);
}

.ec-note-grid {
  grid-template-columns: 1fr 1fr auto;
}

.ec-spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.ec-spec-list li {
  background: var(--ec-bg-soft);
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-radius);
  padding: 14px;
}

.ec-spec-list strong,
.ec-note-grid strong {
  display: block;
  color: var(--ec-ink);
  font-size: 13px;
  margin-bottom: 4px;
}

.ec-spec-list span {
  color: var(--ec-slate);
  font-size: 13px;
  line-height: 1.5;
}

.ec-editable-page > :first-child {
  margin-top: 0;
}

.ec-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.ec-admin-manager-grid,
.ec-download-hero-grid,
.ec-demo-grid,
.ec-about-story,
.ec-privacy-layout,
.ec-guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.68fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.ec-guide-layout {
  grid-template-columns: 220px minmax(0, 1fr);
}

.ec-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.ec-admin-window {
  background: #0f172a;
  border: 1px solid color-mix(in oklch, var(--ec-brand) 28%, var(--ec-line));
  border-radius: var(--ec-radius-lg);
  box-shadow: var(--ec-shadow);
  color: #fff;
  overflow: hidden;
}

.ec-window-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
}

.ec-window-bar span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--ec-brand);
  box-shadow: 18px 0 0 var(--ec-warning), 36px 0 0 var(--ec-success);
  flex: 0 0 auto;
}

.ec-window-bar strong {
  margin-left: 44px;
  font-size: 12px;
  font-family: var(--ec-font-mono);
  color: rgba(255,255,255,0.74);
}

.ec-window-body {
  padding: 22px;
}

.ec-form-preview-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.ec-form-preview-row span {
  color: rgba(255,255,255,0.56);
  font-size: 13px;
}

.ec-form-preview-row strong {
  color: #fff;
  font-size: 14px;
}

.ec-admin-window-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 18px;
}

.ec-feature-mosaic {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  margin-top: 32px;
}

.ec-mosaic-card {
  background: var(--ec-bg-card);
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-radius-lg);
  padding: 24px;
  box-shadow: var(--ec-shadow-sm);
}

.ec-mosaic-card.large {
  grid-row: span 3;
  min-height: 360px;
}

.ec-mosaic-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.ec-mosaic-card p {
  color: var(--ec-slate);
  font-size: 14.5px;
  line-height: 1.65;
}

.ec-requirements-band,
.ec-download-note,
.ec-consent-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: center;
  background: var(--ec-bg-card);
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-radius-lg);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--ec-shadow-sm);
}

.ec-consent-panel {
  grid-template-columns: minmax(0, 1fr) auto;
  background: var(--ec-brand-soft);
  border-color: var(--ec-brand-tint);
}

.ec-requirements-band h2,
.ec-consent-panel h2 {
  font-family: var(--ec-font-display);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.ec-requirements-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.ec-requirements-list li,
.ec-privacy-point {
  background: var(--ec-bg-soft);
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-radius);
  padding: 14px;
}

.ec-requirements-list strong,
.ec-privacy-point strong {
  display: block;
  color: var(--ec-ink);
  font-size: 13px;
  margin-bottom: 4px;
}

.ec-requirements-list span,
.ec-privacy-point span {
  color: var(--ec-slate);
  font-size: 13px;
  line-height: 1.5;
}

.ec-guide-rail {
  position: sticky;
  top: 112px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  background: var(--ec-bg-card);
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-radius-lg);
  box-shadow: var(--ec-shadow-sm);
}

.ec-guide-rail a {
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--ec-slate);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.ec-guide-rail a:hover {
  background: var(--ec-brand-soft);
  color: var(--ec-brand);
}

.ec-download-hero-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.ec-download-tile {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  justify-content: space-between;
  background: var(--ec-bg-card);
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-radius-lg);
  padding: clamp(26px, 4vw, 40px);
  box-shadow: var(--ec-shadow-sm);
}

.ec-download-tile.primary {
  background: linear-gradient(180deg, #ffffff, var(--ec-bg-soft));
  border-color: var(--ec-brand-tint);
}

.ec-download-tile h2 {
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -0.03em;
  margin: 12px 0;
}

.ec-download-tile p,
.ec-download-note p,
.ec-consent-panel p {
  color: var(--ec-slate);
  line-height: 1.65;
}

.ec-download-note {
  grid-template-columns: 1fr 1fr auto;
}

.ec-download-note strong {
  color: var(--ec-ink);
}

.ec-eval-card,
.ec-privacy-summary,
.ec-about-principles {
  background: var(--ec-bg-card);
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-radius-lg);
  padding: clamp(24px, 4vw, 34px);
  box-shadow: var(--ec-shadow-sm);
}

.ec-check-list {
  list-style: none;
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 18px 0 24px;
}

.ec-check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--ec-slate);
  line-height: 1.55;
}

.ec-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--ec-success);
  box-shadow: 0 0 0 4px color-mix(in oklch, var(--ec-success) 15%, transparent);
}

.ec-privacy-layout {
  grid-template-columns: 300px minmax(0, 1fr);
}

.ec-privacy-summary {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 12px;
}

.ec-step-card,
.ec-callout {
  background: var(--ec-bg-card);
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-radius-lg);
  padding: 28px;
  box-shadow: var(--ec-shadow-sm);
}

.ec-step-card h3 {
  font-size: 16px;
  margin: 14px 0 8px;
}

.ec-step-card p,
.ec-callout p {
  color: var(--ec-slate);
  font-size: 14px;
  line-height: 1.65;
}

.ec-step-card a,
.ec-callout a {
  color: var(--ec-brand);
  font-weight: 600;
}

.ec-callout {
  background: var(--ec-brand-soft);
  border-color: var(--ec-brand-tint);
}

.ec-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-radius-lg);
  background: var(--ec-bg-card);
}

.ec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 680px;
}

.ec-table th,
.ec-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--ec-line);
}

.ec-table th {
  background: var(--ec-bg-soft);
  color: var(--ec-ink);
}

.ec-table td:first-child {
  color: var(--ec-brand);
  font-family: var(--ec-font-mono);
}

.ec-download-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ec-download-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  background: var(--ec-bg-card);
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-radius-lg);
  padding: 32px;
  box-shadow: var(--ec-shadow-sm);
}

.ec-download-card h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

.ec-download-card p {
  color: var(--ec-slate);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 14px;
}

.ec-app-icon {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  background: linear-gradient(140deg, #2a2a2a, #0a0a0a);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

.ec-app-icon-admin {
  background: linear-gradient(140deg, var(--ec-brand), var(--ec-brand-deep));
  font-family: var(--ec-font-mono);
  font-size: 26px;
  font-weight: 700;
}

.ec-download-card-grid .ec-download-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  min-height: 100%;
}

.ec-download-card-grid .ec-download-card h2 {
  font-family: var(--ec-font-display);
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 10px 0 12px;
}

.ec-download-card-grid .ec-download-card p {
  color: var(--ec-slate);
  font-size: 15px;
  line-height: 1.68;
  margin-bottom: 16px;
}

.ec-contact-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ec-support-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.44fr) minmax(0, 0.9fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: start;
}

.ec-contact-methods a {
  color: var(--ec-brand);
  font-family: var(--ec-font-mono);
}

.ec-support-form {
  background: var(--ec-bg-card);
  border: 1px solid var(--ec-brand-light);
  border-radius: var(--ec-radius-lg);
  box-shadow: 0 0 0 4px var(--ec-brand-soft), var(--ec-shadow-sm);
  padding: clamp(24px, 4vw, 38px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ec-support-form h2 {
  font-family: var(--ec-font-display);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0 0 4px;
}

.ec-support-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: var(--ec-ink-soft);
  font-size: 13px;
  font-weight: 650;
}

.ec-support-form input,
.ec-support-form select,
.ec-support-form textarea {
  width: 100%;
  border: 1px solid var(--ec-line);
  border-radius: 12px;
  background: var(--ec-bg-soft);
  padding: 12px 14px;
  color: var(--ec-ink);
  font: inherit;
}

.ec-support-form input:focus,
.ec-support-form textarea:focus {
  outline: 3px solid var(--ec-brand-soft);
  border-color: var(--ec-brand);
  background: var(--ec-bg-card);
}

.ec-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ec-form-note {
  color: var(--ec-slate);
  font-size: 13px;
  line-height: 1.55;
}

.ec-footer-support {
  color: var(--ec-slate);
  font-size: 13px;
  line-height: 1.5;
  margin-top: 14px;
}

.ec-footer-support a {
  color: var(--ec-brand);
  font-weight: 650;
}

.ec-legal-content {
  max-width: 760px;
}

.ec-legal-content h2 {
  font-size: 24px;
  padding-bottom: 10px;
  margin: 0 0 14px;
  border-bottom: 1px solid var(--ec-line);
}

.ec-legal-content p,
.ec-legal-content li {
  color: var(--ec-ink-soft);
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 14px;
}
.ec-legal-content ul {
  margin: 0 0 14px;
  padding-left: 20px;
}
.ec-legal-content li {
  list-style: disc;
  margin-bottom: 6px;
}

.ec-about-split,
.ec-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.ec-contact-grid {
  grid-template-columns: 1fr 1.6fr;
}

.ec-value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ec-value-item {
  background: var(--ec-bg-card);
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-radius-lg);
  padding: 24px;
}

.ec-value-item h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}

.ec-value-item p {
  font-size: 14px;
  color: var(--ec-slate);
  line-height: 1.65;
}

.ec-tech-stack {
  background: var(--ec-bg-soft);
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-radius-lg);
  padding: 28px;
}

.ec-tech-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--ec-line-soft);
  flex-wrap: wrap;
  gap: 8px;
}

.ec-tech-row:last-child {
  border-bottom: none;
}

.ec-tech-row dt {
  font-size: 13px;
  font-weight: 500;
  color: var(--ec-ink-soft);
}

.ec-tech-row dd {
  font-size: 13px;
  color: var(--ec-slate-2);
  font-family: var(--ec-font-mono);
}

.ec-contact-reason-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.ec-tab {
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  background: var(--ec-bg-soft);
  border: 1px solid var(--ec-line);
  color: var(--ec-slate);
  cursor: pointer;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
  font-family: var(--ec-font);
}

.ec-tab:hover {
  background: var(--ec-bg-card);
  color: var(--ec-ink);
}

.ec-tab.active {
  background: var(--ec-brand-soft);
  border-color: var(--ec-brand-tint);
  color: var(--ec-brand);
  font-weight: 600;
}

.ec-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ec-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ec-channel-card {
  background: var(--ec-bg-card);
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-radius-lg);
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.ec-channel-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--ec-brand-soft);
  border: 1px solid var(--ec-brand-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ec-brand);
  flex-shrink: 0;
}

.ec-editor-content {
  max-width: 880px;
}

.ec-editor-content > * + * {
  margin-top: 18px;
}

.ec-editor-content h2,
.ec-editor-content h3,
.ec-editor-content h4 {
  color: var(--ec-ink);
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.ec-editor-content h2 {
  margin-top: 40px;
  font-family: var(--ec-font-display);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 400;
}

.ec-editor-content h3 {
  margin-top: 32px;
  font-size: clamp(24px, 3vw, 32px);
}

.ec-editor-content p,
.ec-editor-content li {
  color: var(--ec-slate);
  font-size: 17px;
  line-height: 1.75;
}

.ec-editor-content ul,
.ec-editor-content ol {
  padding-left: 1.25rem;
}

.ec-editor-content a {
  color: var(--ec-brand);
  font-weight: 650;
}

.ec-editor-content .wp-block-button__link,
.ec-editor-content input[type="submit"],
.ec-editor-content button[type="submit"] {
  min-height: 44px;
  border-radius: 999px;
  background: var(--ec-bg-card);
  color: var(--ec-ink);
  border: 1px solid var(--ec-line);
  padding: 12px 18px;
  font-weight: 650;
  text-decoration: none;
}

.ec-editor-content .wp-block-button.ec-btn-primary .wp-block-button__link,
.ec-editor-content .ec-btn-primary .wp-block-button__link,
.ec-editor-content .ec-btn-primary,
.ec-editor-content input[type="submit"],
.ec-editor-content button[type="submit"] {
  background: var(--ec-bg-card);
  color: var(--ec-ink) !important;
  border-color: var(--ec-brand-tint);
}

.ec-editor-content .wp-block-columns {
  gap: 20px;
}

.ec-editor-content .wp-block-column,
.ec-editor-content .wp-block-group,
.ec-editor-content .wp-block-media-text {
  border-radius: var(--ec-radius-lg);
}

.ec-editor-content .wp-block-quote {
  margin: 32px 0;
  padding: 20px 24px;
  border-left: 4px solid var(--ec-brand);
  background: var(--ec-bg-soft);
  border-radius: 0 var(--ec-radius) var(--ec-radius) 0;
}

.ec-editor-content input,
.ec-editor-content textarea,
.ec-editor-content select {
  width: 100%;
  border: 1px solid var(--ec-line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
}

.ec-editor-content input:focus,
.ec-editor-content textarea:focus,
.ec-editor-content select:focus {
  outline: 3px solid var(--ec-brand-soft);
  border-color: var(--ec-brand);
}

@media (min-width: 821px) and (max-width: 1024px) {
  .ec-audiences {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .ec-pricing-grid,
  .ec-download-card,
  .ec-wide-cards {
    grid-template-columns: 1fr;
  }

  .ec-wide-cards .ec-product-card.featured {
    grid-column: auto;
  }

  .ec-download-card {
    align-items: start;
  }
}

@media (max-width: 820px) {
  .ec-audiences,
  .ec-flow-grid,
  .ec-contact-grid,
  .ec-page-hero-grid,
  .ec-product-layout,
  .ec-product-card-grid,
  .ec-download-card-grid,
  .ec-support-grid,
  .ec-guide-grid,
  .ec-admin-manager-grid,
  .ec-download-hero-grid,
  .ec-demo-grid,
  .ec-about-story,
  .ec-privacy-layout,
  .ec-guide-layout,
  .ec-requirements-band,
  .ec-download-note,
  .ec-consent-panel {
    grid-template-columns: 1fr;
  }

  .ec-guide-rail,
  .ec-privacy-summary {
    position: static;
  }

  .ec-download-note {
    align-items: start;
  }
}

@media (max-width: 768px) {
  .ec-about-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ec-pillars {
    grid-template-columns: 1fr;
  }

  .ec-pillars .ec-pillar {
    border-right: none;
  }

  .ec-pillars .ec-pillar:nth-child(3) {
    border-bottom: 1px solid var(--ec-line);
  }
}

@media (max-width: 560px) {
  .ec-pricing-grid,
  .ec-value-grid,
  .ec-form-row,
  .ec-form-grid,
  .ec-guide-grid,
  .ec-feature-mosaic,
  .ec-requirements-list,
  .ec-spec-grid,
  .ec-note-grid,
  .ec-spec-list {
    grid-template-columns: 1fr;
  }

  .ec-download-card {
    padding: 22px;
  }

  .ec-mosaic-card.large {
    min-height: 0;
  }

  .ec-window-bar strong {
    margin-left: 28px;
  }

  .ec-form-preview-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* ── WordPress color-preset override ─────────────────────── */
.ec-editable-page p,
.ec-editable-page li,
.ec-legal-content p,
.ec-legal-content li,
.ec-product-card p,
.ec-product-card li,
.ec-download-tile p,
.ec-download-card p,
.ec-step-card p,
.ec-callout p,
.ec-spec-list span,
.ec-requirements-list span,
.ec-privacy-point span { color: var(--ec-slate); }
.ec-editable-page h1,
.ec-editable-page h2,
.ec-editable-page h3,
.ec-editable-page h4,
.ec-legal-content h2,
.ec-legal-content h3 { color: var(--ec-ink); }
body .has-text-color p,
body .has-text-color li,
body .has-text-color span { color: inherit; }
body .wp-block-group,
body .wp-block-columns,
body .wp-block-column { color: var(--ec-ink); }
body .wp-block-group p,
body .wp-block-columns p,
body .wp-block-column p { color: var(--ec-slate); }

/* ── Admin Guide tabs hardening ────────────────────────────
   The guide has long instructional copy. Keep each topic in a
   top-to-bottom reading flow so cards never squeeze beside headings. */
.ec-admin-guide-tabs-section {
  margin-top: 24px;
}
.ec-admin-guide-tabs-section .ec-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--ec-line);
  margin-bottom: clamp(28px, 4vw, 44px);
  overflow-x: auto;
}
.ec-admin-guide-tabs-section .ec-tab-btn {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--ec-slate);
  cursor: pointer;
  font: 600 14px/1 var(--ec-font-body);
  margin-bottom: -1px;
  min-height: 44px;
  padding: 0 24px;
  white-space: nowrap;
}
.ec-admin-guide-tabs-section .ec-tab-btn:hover {
  color: var(--ec-ink);
}
.ec-admin-guide-tabs-section .ec-tab-btn.active {
  border-bottom-color: var(--ec-brand);
  color: var(--ec-brand);
}
.ec-admin-guide-tabs-section .ec-tab-panel {
  display: none;
}
.ec-admin-guide-tabs-section .ec-tab-panel.active {
  display: block;
}
.ec-admin-guide-tabs-section .ec-admin-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
}
.ec-admin-guide-tabs-section .ec-toc-sidebar {
  position: sticky;
  top: 96px;
}
.ec-admin-guide-tabs-section .ec-toc-links {
  border-left: 1px solid var(--ec-line);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ec-admin-guide-tabs-section .ec-toc-links a {
  border-left: 2px solid transparent;
  color: var(--ec-slate);
  display: block;
  font-size: 13px;
  line-height: 1.4;
  margin-left: -1px;
  padding: 6px 0 6px 12px;
  text-decoration: none;
}
.ec-admin-guide-tabs-section .ec-toc-links a:hover {
  border-left-color: var(--ec-brand-tint);
  color: var(--ec-brand);
}
.ec-admin-guide-tabs-section .ec-toc-links a.ec-toc-sub {
  color: var(--ec-slate-2);
  font-size: 12px;
  padding-left: 22px;
}
.ec-admin-guide-tabs-section .ec-toc-help {
  background: var(--ec-bg-soft);
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-radius);
  margin-top: 24px;
  padding: 14px;
}
.ec-admin-guide-tabs-section .ec-toc-help strong {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}
.ec-admin-guide-tabs-section .ec-toc-help p {
  color: var(--ec-slate);
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  white-space: nowrap;
}
.ec-admin-guide-tabs-section .ec-toc-help a {
  flex: 0 1 auto;
  min-width: 0;
}
.ec-admin-guide-tabs-section .ec-admin-content {
  min-width: 0;
}
.ec-admin-guide-tabs-section .ec-step-section {
  display: block !important;
  max-width: none;
  width: 100%;
}
.ec-admin-guide-tabs-section .ec-section-heading {
  margin-bottom: 24px;
  max-width: 780px;
}
.ec-admin-guide-tabs-section .ec-step-stack {
  display: flex !important;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.ec-admin-guide-tabs-section .ec-product-card,
.ec-admin-guide-tabs-section .ec-download-card,
.ec-admin-guide-tabs-section .ec-table-wrap,
.ec-admin-guide-tabs-section .ec-code-block {
  max-width: none;
  width: 100%;
}
.ec-admin-guide-tabs-section .ec-step-stack .ec-product-card {
  align-items: start;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
}
.ec-admin-guide-tabs-section .ec-product-card h3,
.ec-admin-guide-tabs-section .ec-download-card h2,
.ec-admin-guide-tabs-section .ec-admin-h3 {
  font-family: var(--ec-font-body);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0 0 10px;
}
.ec-admin-guide-tabs-section .ec-product-card p,
.ec-admin-guide-tabs-section .ec-product-card li,
.ec-admin-guide-tabs-section .ec-download-card p {
  font-size: 15px;
  line-height: 1.65;
}
.ec-admin-guide-tabs-section .ec-download-card-grid,
.ec-admin-guide-tabs-section .ec-product-card-grid {
  grid-template-columns: minmax(0, 1fr);
}
.ec-admin-guide-tabs-section .ec-callout-info,
.ec-admin-guide-tabs-section .ec-callout-warn {
  border-color: var(--ec-brand-tint);
  box-shadow: var(--ec-shadow-sm);
}
.ec-admin-guide-tabs-section .ec-code-block {
  background: #0f172a;
  border-radius: var(--ec-radius-lg);
  color: #e5e7eb;
  display: block;
  font-family: var(--ec-font-mono);
  font-size: 13px;
  line-height: 1.65;
  overflow-x: auto;
  padding: 18px 20px;
  white-space: pre;
}
@media (max-width: 900px) {
  .ec-admin-guide-tabs-section .ec-admin-layout {
    grid-template-columns: 1fr;
  }
  .ec-admin-guide-tabs-section .ec-toc-sidebar {
    position: static;
  }
  .ec-admin-guide-tabs-section .ec-toc-help {
    display: none;
  }
}
@media (max-width: 560px) {
  .ec-admin-guide-tabs-section .ec-step-stack .ec-product-card {
    grid-template-columns: 1fr;
  }
  .ec-admin-guide-tabs-section .ec-tab-btn {
    padding-inline: 16px;
  }
}

/* ── Box layout hardening ───────────────────────────────────
   Product cards are content boxes by default. Earlier recovered CSS
   made them flex rows, which squeezed headings/lists into narrow
   side-by-side columns on About/Admin pages. */
.ec-product-card,
.wp-block-group.ec-product-card {
  display: block;
}

.ec-product-card > *,
.wp-block-group.ec-product-card > * {
  min-width: 0;
}

.ec-product-card .ec-eyebrow,
.wp-block-group.ec-product-card .ec-eyebrow {
  display: block;
  margin-bottom: 10px;
}

.ec-product-card .ec-feature-list,
.wp-block-group.ec-product-card .ec-feature-list {
  margin-top: 18px;
}

.ec-product-layout > .ec-product-card.featured h3,
.ec-product-layout > .wp-block-group.ec-product-card.featured h3 {
  max-width: 12ch;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.03;
}

.ec-step-stack .ec-product-card,
.ec-step-stack .wp-block-group.ec-product-card,
.ec-admin-guide-tabs-section .ec-step-stack .ec-product-card,
.ec-admin-guide-tabs-section .ec-step-stack .wp-block-group.ec-product-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
}

@media (max-width: 560px) {
  .ec-step-stack .ec-product-card,
  .ec-step-stack .wp-block-group.ec-product-card,
  .ec-admin-guide-tabs-section .ec-step-stack .ec-product-card,
  .ec-admin-guide-tabs-section .ec-step-stack .wp-block-group.ec-product-card {
    grid-template-columns: 1fr;
  }
}

