/* DD Engine — block front-end styles (design system: mint/ink/teal/lime) */

.dd-block { padding: 72px 0; }
.dd-block .wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Hero */
.dd-hero { text-align: center; }
.dd-hero-left { text-align: left; max-width: 720px; }
.dd-hero-h { font-family: Fraunces, serif; font-size: clamp(2.4rem, 5.2vw, 4rem); line-height: 1.05; margin: 0 0 18px; color: #0e2124; }
.dd-hero-h em { font-style: italic; color: #0f626c; }
.dd-hero-sub { font-size: 1.15rem; line-height: 1.6; color: #33484b; max-width: 640px; margin: 0 auto 26px; }
.dd-hero-left .dd-hero-sub { margin-left: 0; }
.dd-hero-cta .btn-lg { padding: 16px 34px; font-size: 1.05rem; border-radius: 999px; }
.dd-hero-trust { margin-top: 16px; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: #4a6468; }
.dd-hero-media { margin-top: 34px; }
.dd-hero-media img { border-radius: 18px; max-width: 100%; }

/* Section heads */
.sec-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.sec-head h2 { font-family: Fraunces, serif; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.15; margin: 0 0 10px; }
.sec-head h2 em { font-style: italic; color: #0f626c; }
.sec-head p { color: #33484b; }
.eyebrow { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #0f626c; font-weight: 600; margin-bottom: 12px; }

/* Cards */
.dd-grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.dd-card { background: #fff; border: 1px solid #dce8e9; border-radius: 16px; padding: 24px; }
.dd-card h3 { margin: 0 0 8px; font-size: 1.15rem; }
.dd-card p { margin: 0; color: #33484b; font-size: .95rem; }

/* Story */
.dd-story { max-width: 680px; margin: 0 auto; font-size: 1.08rem; line-height: 1.75; color: #23393c; }
.dd-dropcap > p:first-of-type::first-letter { font-family: Fraunces, serif; font-size: 3.4em; float: left; line-height: .85; padding: 4px 10px 0 0; color: #0f626c; }

/* Pillars */
.dd-pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; counter-reset: pillar; }
.dd-pillar { background: #fff; border: 1px solid #dce8e9; border-radius: 16px; padding: 26px; }
.dd-pillar-n { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: #e9ff96; color: #0e2124; font-weight: 700; margin-bottom: 14px; }
.dd-pillar h3 { margin: 0 0 8px; font-size: 1.2rem; }
.dd-pillar p { margin: 0; color: #33484b; font-size: .95rem; }

/* Bullets */
.dd-bullets { max-width: 640px; margin: 0 auto; padding: 0; list-style: none; }
.dd-bullets li { position: relative; padding: 12px 0 12px 38px; border-bottom: 1px dashed #cfe0e1; color: #23393c; }
.dd-bullets li:last-child { border-bottom: 0; }
.dd-bullets li::before { content: ''; position: absolute; left: 0; top: 14px; width: 22px; height: 22px; border-radius: 50%; background: #e9ff96 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"><path d="m6 12.5 4 4 8-9" stroke="%230e2124" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/14px no-repeat; }

/* Video facade */
.dd-video-facade { position: relative; aspect-ratio: 16/9; background: #0e2124; border-radius: 18px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.dd-video-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 18px; }
.dd-video-play { width: 74px; height: 74px; border-radius: 50%; background: #e9ff96; display: flex; align-items: center; justify-content: center; transition: transform .18s ease; }
.dd-video-facade:hover .dd-video-play { transform: scale(1.08); }

/* Testimonial */
.dd-testimonial { max-width: 680px; margin: 0 auto; background: #fff; border: 1px solid #dce8e9; border-radius: 18px; padding: 34px; }
.dd-testimonial blockquote { margin: 0 0 18px; font-family: Fraunces, serif; font-size: 1.3rem; line-height: 1.45; color: #0e2124; }
.dd-testimonial figcaption { display: flex; align-items: center; gap: 12px; color: #4a6468; font-size: .95rem; }
.dd-t-photo { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }

/* Author */
.dd-author { display: flex; gap: 22px; align-items: center; max-width: 680px; margin: 0 auto; background: #fff; border: 1px solid #dce8e9; border-radius: 18px; padding: 28px; }
.dd-author-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.dd-author h3 { margin: 0 0 4px; }
.dd-author-title { margin: 0; color: #33484b; }
.dd-author-reg { margin: 4px 0 0; font-size: .85rem; color: #4a6468; }

/* Offer box */
.dd-offer { max-width: 560px; margin: 0 auto; background: #0e2124; color: #f2f9f9; border-radius: 22px; padding: 40px; text-align: center; }
.dd-offer h3 { font-size: 1.8rem; margin: 0 0 14px; color: #fff; }
.dd-offer-price strong { font-family: Fraunces, serif; font-size: 2.6rem; }
.dd-offer-price s { opacity: .55; margin-left: 10px; }
.dd-offer-items { list-style: none; padding: 0; margin: 22px auto; max-width: 380px; text-align: left; }
.dd-offer-items li { padding: 8px 0 8px 30px; position: relative; border-bottom: 1px solid rgba(255,255,255,.12); }
.dd-offer-items li::before { content: '✓'; position: absolute; left: 0; color: #e9ff96; font-weight: 700; }
.dd-offer-deadline { margin: 14px 0; color: #e9ff96; font-size: .95rem; }
.dd-offer .btn-primary { background: #e9ff96; color: #0e2124; border-radius: 999px; padding: 15px 34px; display: inline-block; font-weight: 600; }
.dd-offer .dd-note { margin-top: 16px; font-size: .82rem; opacity: .7; }
.dd-offer-closed { background: #fff; color: #0e2124; border: 1px solid #dce8e9; }

/* Countdown */
.dd-countdown-bar { background: #0e2124; color: #f2f9f9; text-align: center; padding: 14px 20px; font-size: 1rem; }
.dd-countdown-bar .dd-countdown { color: #e9ff96; font-variant-numeric: tabular-nums; }

/* FAQ */
.dd-faq { max-width: 680px; margin: 0 auto; }
.dd-faq-item { border: 1px solid #dce8e9; border-radius: 14px; background: #fff; margin-bottom: 10px; padding: 0; }
.dd-faq-item summary { cursor: pointer; padding: 18px 22px; font-weight: 600; list-style: none; }
.dd-faq-item summary::after { content: '+'; float: right; color: #0f626c; font-size: 1.2rem; }
.dd-faq-item[open] summary::after { content: '–'; }
.dd-faq-item p { padding: 0 22px 18px; margin: 0; color: #33484b; }

/* Guarantee */
.dd-guarantee { display: flex; gap: 20px; align-items: flex-start; max-width: 680px; margin: 0 auto; background: #fff; border: 1px solid #dce8e9; border-radius: 18px; padding: 30px; }
.dd-g-badge { flex: 0 0 auto; width: 58px; height: 58px; border-radius: 50%; background: #f2f9f9; display: flex; align-items: center; justify-content: center; }
.dd-guarantee h3 { margin: 0 0 8px; }
.dd-guarantee p { margin: 0; color: #33484b; }

/* Comparison */
.dd-compare { width: 100%; max-width: 760px; margin: 0 auto; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid #dce8e9; border-radius: 16px; overflow: hidden; }
.dd-compare th { background: #0e2124; color: #f2f9f9; padding: 14px 20px; text-align: left; font-weight: 600; }
.dd-compare td { padding: 14px 20px; border-top: 1px solid #edf4f4; color: #23393c; }

/* Sticky CTA */
.dd-sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: #0e2124; color: #f2f9f9; display: flex; align-items: center; justify-content: center; gap: 18px; padding: 12px 20px; box-shadow: 0 -6px 24px rgba(14,33,36,.25); }
.dd-sticky-cta .btn-lime { background: #e9ff96; color: #0e2124; border-radius: 999px; padding: 10px 22px; font-weight: 600; }
.dd-sticky-cta .dd-countdown { color: #e9ff96; font-variant-numeric: tabular-nums; }

/* Marquee */
.dd-marquee { background: #0e2124; color: #e9ff96; overflow: hidden; padding: 12px 0; }
.dd-marquee .marquee-track { display: flex; width: max-content; animation: dd-marquee 28s linear infinite; }
.dd-marquee-row { white-space: nowrap; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; padding-right: 20px; }
.dd-marquee-dot { margin: 0 20px; opacity: .5; }
@keyframes dd-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Webinar form block */
.dd-webinar-block .dd-reg-form { max-width: 560px; margin: 0 auto; background: #fff; border: 1px solid #dce8e9; border-radius: 20px; padding: 34px; }
.dd-webinar-block .dd-reg-form label { display: block; font-weight: 600; margin: 14px 0 6px; }
.dd-webinar-block .dd-reg-form input[type=text],
.dd-webinar-block .dd-reg-form input[type=email],
.dd-webinar-block .dd-reg-form input[type=tel] { width: 100%; padding: 13px 16px; border: 1px solid #c8dcdd; border-radius: 12px; font-size: 1rem; }
.dd-webinar-block .dd-session-opt { display: flex; gap: 12px; align-items: flex-start; border: 1px solid #dce8e9; border-radius: 14px; padding: 14px 16px; margin-bottom: 10px; cursor: pointer; }
.dd-webinar-block .dd-session-opt:hover { border-color: #0f626c; }
.dd-webinar-block .dd-session-opt input { margin-top: 4px; }
.dd-webinar-block .dd-session-when { font-weight: 600; }
.dd-webinar-block .dd-session-meta { font-size: .85rem; color: #4a6468; }
.dd-webinar-block .dd-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: #33484b; margin-top: 12px; }
.dd-webinar-block .dd-consent input { margin-top: 4px; }
.dd-webinar-block button[type=submit] { width: 100%; margin-top: 20px; padding: 16px; border: 0; border-radius: 999px; background: #0f626c; color: #fff; font-size: 1.05rem; font-weight: 600; cursor: pointer; }
.dd-webinar-block button[type=submit]:hover { background: #0e2124; }
.dd-reg-msg { margin-top: 14px; font-size: .95rem; }
.dd-reg-msg.error { color: #b3261e; }

/* Divider */
.dd-divider { clear: both; }

@media (max-width: 640px) {
  .dd-block { padding: 52px 0; }
  .dd-author { flex-direction: column; text-align: center; }
  .dd-offer { padding: 30px 22px; }
}

/* Editor-side shell (block editor only) */
.dd-block-shell { border: 1px dashed #b9cfd1; border-radius: 12px; background: #f7fbfb; }
.dd-block-tag { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #0f626c; padding: 8px 14px; border-bottom: 1px dashed #d8e6e7; }
.dd-block-body { padding: 16px; }
.dd-block-body h2, .dd-block-body .dd-hero-h { margin-top: 0; }
