/*
Theme Name: JL Studio
Template: twentytwentyfive
Description: Jubileu Lima, AI automation studio. Child theme of Twenty Twenty-Five.
Version: 1.4.1
Text Domain: jl-studio
*/

:root {
  --jl-radius: 18px;
  --jl-radius-sm: 12px;
  --jl-shadow: 0 1px 2px rgba(15, 30, 46, .04), 0 12px 32px -12px rgba(15, 30, 46, .14);
  --jl-shadow-lg: 0 2px 4px rgba(15, 30, 46, .05), 0 30px 60px -20px rgba(15, 30, 46, .25);
  --jl-ink: var(--wp--preset--color--ink);
  --jl-ink-soft: var(--wp--preset--color--ink-soft);
  --jl-accent: var(--wp--preset--color--accent);
  --jl-teal: var(--wp--preset--color--teal);
  --jl-line: var(--wp--preset--color--line);
  --jl-section-y: clamp(44px, 5.5vw, 76px);
}

body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
::selection { background: #fde0d4; }
.jl-main { margin-top: 0 !important; padding-top: 0; }
.jl-main > .wp-block-post-content { margin-top: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }

/* ---------- Header ---------- */
.jl-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 244, .86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid rgba(230, 224, 215, .7);
  padding-top: 14px; padding-bottom: 14px;
}
.admin-bar .jl-header { top: 32px; }
.jl-header-right { gap: 20px; }
.jl-nav { font-weight: 600; font-size: .95rem; gap: 24px; }
.jl-nav a, .jl-header-cta .wp-block-button__link { white-space: nowrap; }
@media (max-width: 1100px) { .jl-nav .wp-block-navigation-item:last-child { display: none; } }
@media (max-width: 900px) { .jl-brand-text small { display: none; } }
.jl-nav a { color: var(--jl-ink); text-decoration: none; }
.jl-nav a:hover { color: var(--jl-accent); }
.jl-header-cta .wp-block-button__link { padding: .65rem 1.2rem; font-size: .92rem; }
@media (max-width: 600px) { .jl-header .jl-header-cta { display: none !important; } .jl-hero .wp-block-buttons .wp-block-button { width: 100%; } .jl-hero .wp-block-button__link { width: 100%; } }

.jl-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--jl-ink); }
.jl-mark {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--jl-ink); color: #fff; font-family: var(--wp--preset--font-family--literata);
  font-weight: 600; font-size: 1rem; letter-spacing: .02em; position: relative;
}
.jl-mark::after {
  content: ""; position: absolute; right: -3px; top: -3px; width: 11px; height: 11px;
  border-radius: 50%; background: var(--jl-accent); border: 2px solid var(--wp--preset--color--paper);
}
.jl-brand-text { white-space: nowrap; display: flex; flex-direction: column; font-weight: 800; font-size: 1.02rem; line-height: 1.1; }
.jl-brand-text small { font-weight: 600; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--jl-ink-soft); margin-top: 3px; }
.jl-brand-light { color: #fff; }
.jl-brand-light .jl-mark { background: #fff; color: var(--jl-ink); }
.jl-brand-light .jl-mark::after { border-color: var(--jl-ink); }
.jl-brand-light .jl-brand-text small { color: rgba(255, 255, 255, .6); }

/* ---------- Sections ---------- */
.jl-section { padding-top: var(--jl-section-y); padding-bottom: var(--jl-section-y); margin-top: 0 !important; }
.jl-mist { background: var(--wp--preset--color--mist); }
.jl-white { background: #fff; }
.jl-dark { background: var(--jl-ink); color: #dfe6ec; }
.jl-dark h2, .jl-dark h3 { color: #fff; }
.jl-section-head { max-width: 680px; margin-bottom: clamp(24px, 3.5vw, 40px) !important; }
/* Same background as the hero: don't stack two paddings into one big gap */
.jl-hero + .jl-section { padding-top: clamp(16px, 2.5vw, 32px); }
.jl-section-head > :last-child { margin-bottom: 0; }
.jl-section-head.is-centered { margin-left: auto !important; margin-right: auto !important; text-align: center; }
.jl-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px !important;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--jl-accent);
}
.jl-eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.is-centered .jl-eyebrow::before { display: none; }
.jl-lead { font-size: var(--wp--preset--font-size--large); color: var(--jl-ink-soft); line-height: 1.6; }
.jl-dark .jl-lead { color: #b9c5cf; }
.jl-dark .jl-eyebrow { color: #ff9a77; }

/* ---------- Hero ---------- */
.jl-hero {
  position: relative; overflow: hidden;
  padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 5vw, 64px);
  background:
    radial-gradient(900px 480px at 92% -10%, rgba(227, 89, 47, .10), transparent 60%),
    var(--wp--preset--color--paper);
}
.jl-hero .wp-block-columns { align-items: center !important; gap: clamp(32px, 5vw, 72px); }
.jl-hero h1 { margin-top: 0; }
.jl-hero h1 em { font-style: italic; font-weight: 500; color: var(--jl-accent); }
.jl-hero .jl-lead { max-width: 560px; margin-top: 22px; }
.jl-hero .wp-block-buttons { margin-top: 32px; gap: 12px; }
.jl-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px !important; padding: 0; list-style: none; color: var(--jl-ink-soft); font-size: .92rem; font-weight: 600; }
.jl-trust li { display: inline-flex; align-items: center; gap: 8px; }
.jl-trust li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none;
  background: var(--jl-teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* Secondary (outline) button */
.wp-block-button.is-style-outline > .wp-block-button__link,
.jl-btn-ghost .wp-block-button__link {
  background: transparent; color: var(--jl-ink); border: 1.5px solid rgba(15, 30, 46, .18);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover,
.jl-btn-ghost .wp-block-button__link:hover { background: #fff; color: var(--jl-ink); border-color: var(--jl-ink); }

/* Hero visual: activity panel */
.jl-panel {
  position: relative; background: #fff; border-radius: 22px; box-shadow: var(--jl-shadow-lg);
  border: 1px solid rgba(230, 224, 215, .8); padding: 22px; max-width: 470px; margin-left: auto;
}
.jl-panel-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 16px; border-bottom: 1px solid #f0ebe4; }
.jl-panel-title { font-weight: 800; font-size: .95rem; }
.jl-live { display: inline-flex; align-items: center; gap: 7px; font-size: .75rem; font-weight: 700; color: var(--jl-teal); background: #e5f3f1; padding: 5px 10px; border-radius: 999px; }
.jl-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--jl-teal); box-shadow: 0 0 0 4px rgba(29, 122, 112, .18); }
.jl-feed { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.jl-feed li { display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; background: #faf8f5; }
.jl-feed .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; }
.jl-feed .ic svg { width: 19px; height: 19px; }
.jl-feed .ic.o { background: #fde7df; color: var(--jl-accent); }
.jl-feed .ic.t { background: #e1f1ee; color: var(--jl-teal); }
.jl-feed .ic.n { background: #e6ebf1; color: var(--jl-ink); }
.jl-feed strong { display: block; font-size: .9rem; line-height: 1.3; }
.jl-feed span { display: block; font-size: .8rem; color: var(--jl-ink-soft); line-height: 1.35; }
.jl-feed time { font-size: .75rem; color: #8b96a1; font-weight: 600; white-space: nowrap; }
.jl-panel-foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.jl-mini { background: var(--jl-ink); color: #fff; border-radius: 14px; padding: 12px 14px; }
.jl-mini b { display: block; font-family: var(--wp--preset--font-family--literata); font-size: 1.35rem; font-weight: 600; line-height: 1.1; }
.jl-mini small { font-size: .72rem; color: #aebbc6; font-weight: 600; }
.jl-float {
  position: absolute; left: -26px; bottom: -20px; background: #fff; border-radius: 14px; box-shadow: var(--jl-shadow);
  padding: 10px 14px; display: flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 700;
  border: 1px solid #f0ebe4;
}
.jl-float i { width: 26px; height: 26px; border-radius: 8px; background: var(--jl-accent); display: grid; place-items: center; color: #fff; font-style: normal; font-size: .8rem; }
@media (max-width: 781px) { .jl-panel { margin: 8px auto 24px; } .jl-float { left: 14px; bottom: -20px; } }

/* ---------- Cards ---------- */
.jl-grid { display: grid !important; gap: 20px; }
.jl-grid-3 { grid-template-columns: repeat(3, 1fr); }
.jl-grid-4 { grid-template-columns: repeat(4, 1fr); }
.jl-grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .jl-grid-4 { grid-template-columns: repeat(2, 1fr); } .jl-grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .jl-grid-4, .jl-grid-3, .jl-grid-2 { grid-template-columns: 1fr; } }
.jl-grid > * { margin: 0 !important; }

.jl-card {
  background: #fff; border-radius: var(--jl-radius); padding: 28px; border: 1px solid rgba(230, 224, 215, .9);
  box-shadow: 0 1px 2px rgba(15, 30, 46, .03); transition: transform .2s ease, box-shadow .2s ease;
}
.jl-card:hover { transform: translateY(-3px); box-shadow: var(--jl-shadow); }
.jl-card h3 { margin: 18px 0 8px; }
.jl-card p { margin: 0; color: var(--jl-ink-soft); font-size: .98rem; }
.jl-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #fde7df; color: var(--jl-accent); }
.jl-icon svg { width: 24px; height: 24px; }
.jl-icon.t { background: #e1f1ee; color: var(--jl-teal); }
.jl-icon.n { background: #e6ebf1; color: var(--jl-ink); }

/* Pain points */
.jl-pain { background: transparent; border: 0; box-shadow: none; padding: 0 0 0 22px; border-left: 3px solid var(--jl-accent); border-radius: 0; }
.jl-pain:hover { transform: none; box-shadow: none; }
.jl-pain h3 { margin-top: 0; font-family: var(--wp--preset--font-family--literata); font-weight: 600; font-size: 1.35rem; }

/* Steps */
.jl-steps { counter-reset: step; }
.jl-step { position: relative; padding-top: 70px; }
.jl-step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: 24px; left: 28px; font-family: var(--wp--preset--font-family--literata);
  font-size: 1.05rem; font-weight: 600; color: var(--jl-accent);
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fde7df;
}
.jl-step h3 { margin-top: 6px; }

/* Stats band */
.jl-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 8px !important; }
.jl-stats > div { padding: 30px 28px 0 0; }
.jl-stats > div + div { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .12); }
.jl-stats b { display: block; font-family: var(--wp--preset--font-family--literata); font-weight: 600; font-size: clamp(2rem, 4vw, 2.8rem); color: #fff; line-height: 1.1; }
.jl-stats span { display: block; margin-top: 8px; color: #b9c5cf; font-size: .95rem; }
@media (max-width: 700px) { .jl-stats { grid-template-columns: 1fr; } .jl-stats > div + div { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); } .jl-stats > div { padding: 22px 0; } }

/* Pricing */
.jl-price { display: flex; flex-direction: column; padding: 32px; }
.jl-price .jl-tier { font-weight: 800; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--jl-ink-soft); margin: 0 !important; }
.jl-price .jl-amount { font-family: var(--wp--preset--font-family--literata); font-size: 2.6rem; font-weight: 600; line-height: 1; margin: 14px 0 6px !important; color: var(--jl-ink); }
.jl-price .jl-amount small { display: block; margin-top: 8px; font-family: var(--wp--preset--font-family--manrope); font-size: .95rem; font-weight: 600; color: var(--jl-ink-soft); }
.jl-price .jl-for { margin-bottom: 18px !important; }
.jl-price ul { list-style: none; padding: 18px 0 0; margin: 0 0 26px; border-top: 1px solid #f0ebe4; display: grid; gap: 10px; flex: 1; }
.jl-price li { position: relative; padding-left: 28px; font-size: .96rem; }
.jl-price li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: #e1f1ee url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d7a70' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.jl-price .wp-block-buttons { margin-top: auto; }
.jl-price .wp-block-button, .jl-price .wp-block-button__link { width: 100%; text-align: center; }
.jl-featured { background: var(--jl-ink); color: #dfe6ec; border-color: var(--jl-ink); position: relative; }
.jl-featured .jl-tier, .jl-featured .jl-amount small, .jl-featured .jl-for { color: #aebbc6; }
.jl-featured .jl-amount { color: #fff; }
.jl-featured ul { border-color: rgba(255, 255, 255, .12); }
.jl-featured li::before { background-color: rgba(255, 255, 255, .12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.jl-price .jl-badge, .jl-featured .jl-badge { position: absolute; top: -13px; right: 24px; background: var(--wp--preset--color--accent-dark); color: #fff; box-shadow: 0 6px 16px -6px rgba(194, 70, 31, .6); font-size: .75rem; font-weight: 800; letter-spacing: .06em; padding: 6px 12px; border-radius: 999px; margin: 0 !important; }
.jl-note { text-align: center; color: var(--jl-ink-soft); font-size: .92rem; margin-top: 28px !important; }

/* About */
.jl-about { align-items: center !important; gap: clamp(32px, 6vw, 80px); }
.jl-portrait {
  aspect-ratio: 4 / 5; border-radius: 26px; position: relative; overflow: hidden;
  background: linear-gradient(160deg, #1b3047 0%, var(--jl-ink) 60%);
  display: grid; place-items: center; color: rgba(255, 255, 255, .9);
}
.jl-portrait::before {
  content: ""; position: absolute; inset: auto -30% -30% auto; width: 80%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 89, 47, .55), transparent 65%);
}
.jl-portrait span { font-family: var(--wp--preset--font-family--literata); font-size: clamp(4rem, 9vw, 6.5rem); font-weight: 600; position: relative; }
.jl-portrait small { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.jl-portrait.has-photo { background: #0b1a2b; }
.jl-portrait.has-photo::before { display: none; }
.jl-portrait.has-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; display: block; }
.jl-quote { font-family: var(--wp--preset--font-family--literata); font-style: italic; font-weight: 500; font-size: 1.3rem; line-height: 1.5; border-left: 3px solid var(--jl-accent); padding-left: 20px; }
.jl-sign { font-weight: 800; margin-top: 18px !important; }
.jl-sign span { display: block; font-weight: 600; font-size: .9rem; color: var(--jl-ink-soft); }

/* FAQ */
.jl-faq { max-width: 820px; margin-left: auto !important; margin-right: auto !important; }
.jl-faq .wp-block-details {
  background: #fff; border: 1px solid var(--jl-line); border-radius: var(--jl-radius-sm); padding: 0; margin: 0 0 12px !important;
}
.jl-faq .wp-block-details summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 700; font-size: 1.05rem; position: relative;
}
.jl-faq .wp-block-details summary::-webkit-details-marker { display: none; }
.jl-faq .wp-block-details summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; background: #f4efe9; display: grid; place-items: center;
  font-weight: 500; font-size: 1.2rem; color: var(--jl-ink); transition: transform .2s;
}
.jl-faq .wp-block-details[open] summary::after { content: "–"; background: var(--jl-accent); color: #fff; }
.jl-faq .wp-block-details > :not(summary) { padding: 0 24px 22px; margin: 0; color: var(--jl-ink-soft); }

/* CTA + form */
.jl-cta-wrap { gap: clamp(32px, 6vw, 80px); align-items: flex-start !important; }
.jl-cta-wrap h2 { color: #fff; }
.jl-checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.jl-checks li { position: relative; padding-left: 50px; min-height: 34px; color: #b9c5cf; font-size: .95rem; }
.jl-checks li b { display: block; color: #fff; }
.jl-checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, .08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff9a77' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.jl-form-card { background: #fff; color: var(--jl-ink); border-radius: 22px; padding: clamp(22px, 3.5vw, 36px); box-shadow: var(--jl-shadow-lg); }
.jl-dark .jl-form-card h3, .jl-form-card h3 { color: var(--jl-ink); margin-top: 0; font-family: var(--wp--preset--font-family--literata); font-size: 1.45rem; font-weight: 600; }
.jl-form-card .jl-form-sub { color: var(--jl-ink-soft); font-size: .95rem; margin: 6px 0 22px; }
.jl-contact-alt { margin-top: 22px; display: grid; gap: 10px; }
.jl-contact-alt a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .06); color: #fff; text-decoration: none; font-weight: 700; border: 1px solid rgba(255, 255, 255, .1); }
.jl-contact-alt svg { width: 22px; height: 22px; flex: none; color: #ff9a77; }
.jl-contact-alt a.is-book { background: var(--wp--preset--color--accent-dark); border-color: transparent; }
.jl-contact-alt a.is-book svg { color: #fff; }
.jl-contact-alt a.is-book small { color: #ffd9cc; }
.jl-contact-alt a.is-book:hover { background: var(--jl-accent); }
.jl-contact-alt a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.jl-contact-alt small { display: block; font-weight: 600; color: #aebbc6; font-size: .8rem; }

/* Form refinements (override plugin defaults) */
body .jl-form { max-width: none; gap: 16px; }
body .jl-form label { font-size: .86rem; font-weight: 700; color: var(--jl-ink); gap: 7px; }
body .jl-form input, body .jl-form select, body .jl-form textarea {
  border: 1.5px solid #e2dcd3; border-radius: 12px; padding: 13px 14px; background: #fcfbf9; font-size: 1rem;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
body .jl-form input:focus, body .jl-form select:focus, body .jl-form textarea:focus {
  outline: none; border-color: var(--jl-accent); background: #fff; box-shadow: 0 0 0 4px rgba(227, 89, 47, .14);
}
body .jl-form button {
  width: 100%; justify-self: stretch; border-radius: 999px; padding: 15px 22px; font-size: 1.02rem;
  background: var(--jl-accent); box-shadow: 0 10px 24px -10px rgba(227, 89, 47, .7); transition: background .15s, transform .15s;
}
body .jl-form button:hover { background: var(--wp--preset--color--accent-dark); filter: none; transform: translateY(-1px); }
body .jl-consent { font-size: .8rem; color: var(--jl-ink-soft); opacity: 1; }

/* ---------- Leak calculator ---------- */
.jl-calc-wrap { align-items: center !important; gap: clamp(28px, 5vw, 64px); }
.jl-calc { display: grid; grid-template-columns: 1.1fr 1fr; background: #fff; border-radius: 22px; box-shadow: var(--jl-shadow-lg); overflow: hidden; border: 1px solid rgba(230, 224, 215, .8); }
.jl-calc-fields { padding: clamp(20px, 3vw, 30px); display: grid; gap: 16px; }
.jl-calc label { display: grid; gap: 7px; font-size: .86rem; font-weight: 700; }
.jl-calc input, .jl-calc select {
  font: inherit; font-size: 1.05rem; font-weight: 700; padding: 11px 13px; border: 1.5px solid #e2dcd3; border-radius: 12px;
  background: #fcfbf9; color: var(--jl-ink); width: 100%; box-sizing: border-box;
}
.jl-calc input:focus, .jl-calc select:focus { outline: none; border-color: var(--jl-accent); background: #fff; box-shadow: 0 0 0 4px rgba(227, 89, 47, .14); }
.jl-calc-money { display: grid; grid-template-columns: 76px 1fr; gap: 8px; }
.jl-calc-result {
  background: var(--jl-ink); color: #dfe6ec; padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; justify-content: center; gap: 4px;
  background-image: radial-gradient(420px 240px at 110% -10%, rgba(227, 89, 47, .35), transparent 60%);
}
.jl-calc-label { font-size: .9rem; color: #b9c5cf; }
.jl-calc-label strong { color: #fff; }
.jl-calc-result b { font-family: var(--wp--preset--font-family--literata); font-size: clamp(2.2rem, 4.5vw, 3rem); font-weight: 600; color: #fff; line-height: 1.1; margin: 4px 0; }
.jl-calc-cta {
  margin-top: 18px; display: inline-block; text-align: center; background: var(--jl-accent); color: #fff !important; text-decoration: none;
  font-weight: 700; padding: 13px 18px; border-radius: 999px; box-shadow: 0 10px 24px -10px rgba(227, 89, 47, .8);
}
.jl-calc-cta:hover { background: var(--wp--preset--color--accent-dark); }
.jl-calc-result small { margin-top: 12px; font-size: .75rem; color: #8494a3; line-height: 1.4; }
@media (max-width: 960px) { .jl-calc { grid-template-columns: 1fr; } }

/* ---------- Guarantee ---------- */
.jl-guarantee {
  display: flex !important; gap: 18px; align-items: flex-start; margin-top: 24px !important; padding: 22px 26px; border-radius: var(--jl-radius);
  background: #e9f4f2; border: 1px solid #cfe6e2;
}
.jl-guarantee > * { margin: 0 !important; }
.jl-guarantee h3 { margin: 0 0 4px !important; color: #0f4f48; }
.jl-guarantee p { margin: 0; color: #2b5a55; }
.jl-guarantee-icon { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--jl-teal); color: #fff; display: grid; place-items: center; }
.jl-guarantee-icon svg { width: 22px; height: 22px; stroke-width: 2.6; }

/* ---------- Hero quick-start ---------- */
.jl-quick { display: flex; gap: 8px; max-width: 560px; margin-top: 30px; padding: 7px; background: #fff; border-radius: 999px; box-shadow: var(--jl-shadow); border: 1px solid rgba(230, 224, 215, .9); }
.jl-quick input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 1rem; padding: 10px 16px; color: var(--jl-ink); }
.jl-quick input:focus { outline: none; }
.jl-quick:focus-within { box-shadow: 0 0 0 4px rgba(227, 89, 47, .14), var(--jl-shadow); }
.jl-quick button { flex: none; border: 0; border-radius: 999px; background: var(--jl-accent); color: #fff; font: inherit; font-weight: 700; padding: 13px 22px; cursor: pointer; white-space: nowrap; transition: background .15s; }
.jl-quick button:hover { background: var(--wp--preset--color--accent-dark); }
.jl-micro { margin: 12px 0 0 !important; font-size: .88rem; color: var(--jl-ink-soft); padding-left: 18px; }
.jl-micro a { color: var(--jl-ink); font-weight: 700; }
@media (max-width: 560px) {
  .jl-quick { flex-direction: column; border-radius: 18px; }
  .jl-quick button { width: 100%; }
  .jl-micro { padding-left: 4px; }
}

/* ---------- Tools strip ---------- */
.jl-tools-bar { border-top: 1px solid var(--jl-line); border-bottom: 1px solid var(--jl-line); background: #fff; padding-top: 22px; padding-bottom: 22px; margin-top: 0 !important; }
.jl-tools-bar .alignwide { display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap; }
.jl-tools-label { margin: 0 !important; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--jl-ink-soft); }
.jl-tools { list-style: none; margin: 0 !important; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.jl-tools li { font-weight: 800; font-size: 1.02rem; color: #6d7884; letter-spacing: -.01em; }

.jl-tools-logos { gap: 12px 26px; }
.jl-tools-logos li { display: inline-flex; align-items: center; gap: 8px; font-size: .95rem; color: #6d7884; transition: color .2s; }
.jl-tools-logos svg { width: 20px; height: 20px; flex: none; }
.jl-tools-logos li:hover { color: var(--brand, var(--jl-ink)); }
.jl-tools-logos li span { color: #5d6875; }

/* ---------- CTA row (repeated after sections) ---------- */
.jl-cta-row { display: flex !important; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-top: clamp(28px, 4vw, 44px) !important; padding: 18px 18px 18px 26px; border-radius: 999px; background: #fff; border: 1px solid var(--jl-line); }
.jl-cta-row > * { margin: 0 !important; }
.jl-cta-row-text { font-weight: 700; font-size: 1.02rem; }
.jl-white .jl-cta-row { background: var(--wp--preset--color--paper); }
@media (max-width: 640px) {
  .jl-cta-row { border-radius: 20px; padding: 18px; }
  .jl-cta-row .wp-block-buttons, .jl-cta-row .wp-block-button, .jl-cta-row .wp-block-button__link { width: 100%; text-align: center; }
}

/* ---------- Demo phone ---------- */
.jl-demo-wrap { align-items: center !important; gap: clamp(32px, 6vw, 80px); }
.jl-demo-points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.jl-demo-points li { position: relative; padding-left: 50px; color: var(--jl-ink-soft); min-height: 34px; }
.jl-demo-points li b { display: block; color: var(--jl-ink); }
.jl-demo-points li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 34px; height: 34px; border-radius: 10px;
  background: #e1f1ee url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d7a70' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.jl-phone { max-width: 360px; margin: 0 auto; border-radius: 38px; padding: 12px; background: var(--jl-ink); box-shadow: var(--jl-shadow-lg), inset 0 0 0 2px #24384d; position: relative; }
.jl-phone-top { display: flex; align-items: center; gap: 10px; padding: 16px 16px 12px; color: #fff; background: #1a2d40; border-radius: 28px 28px 0 0; }
.jl-phone-top b { display: block; font-size: .95rem; }
.jl-phone-top small { font-size: .75rem; color: #8fd3b9; }
.jl-phone-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--jl-accent); display: grid; place-items: center; font-weight: 800; font-size: .8rem; }
.jl-chat { background: #efe9e1; padding: 16px 12px 20px; border-radius: 0 0 28px 28px; min-height: 430px; display: flex; flex-direction: column; gap: 8px; }
.jl-chat p { margin: 0 !important; max-width: 82%; padding: 9px 12px; border-radius: 14px; font-size: .9rem; line-height: 1.4; box-shadow: 0 1px 1px rgba(0, 0, 0, .06); }
.jl-chat .out { align-self: flex-start; background: #fff; border-top-left-radius: 4px; }
.jl-chat .in { align-self: flex-end; background: #d9f6c9; border-top-right-radius: 4px; }
.jl-chat .sys { align-self: center; background: rgba(15, 30, 46, .08); box-shadow: none; font-size: .78rem; font-weight: 700; color: var(--jl-ink-soft); border-radius: 999px; padding: 5px 12px; }
.jl-chat .sys.ok { background: #d5ece8; color: #0f4f48; }
.jl-phone-note { margin: 10px 0 2px !important; text-align: center; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #8494a3; }
/* Messages appear one by one once the phone scrolls into view */
.jl-phone .jl-chat p { opacity: 0; transform: translateY(8px); }
.jl-phone.play .jl-chat p { animation: jl-pop .45s ease forwards; }
.jl-phone.play .jl-chat p:nth-child(1) { animation-delay: .1s; }
.jl-phone.play .jl-chat p:nth-child(2) { animation-delay: .9s; }
.jl-phone.play .jl-chat p:nth-child(3) { animation-delay: 2.1s; }
.jl-phone.play .jl-chat p:nth-child(4) { animation-delay: 3.1s; }
.jl-phone.play .jl-chat p:nth-child(5) { animation-delay: 4.3s; }
.jl-phone.play .jl-chat p:nth-child(6) { animation-delay: 5.2s; }
.jl-phone.play .jl-chat p:nth-child(7) { animation-delay: 6.3s; }
@keyframes jl-pop { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .jl-phone .jl-chat p { opacity: 1; transform: none; animation: none !important; } }

/* ---------- Comparison ---------- */
.jl-compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--jl-radius); border: 1px solid var(--jl-line); background: #fff; }
.jl-compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .96rem; }
.jl-compare th, .jl-compare td { padding: 16px 18px; text-align: center; border-bottom: 1px solid #f0ebe4; }
.jl-compare th { font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--jl-ink-soft); padding-top: 20px; }
.jl-compare td:first-child, .jl-compare th:first-child { text-align: left; font-weight: 700; color: var(--jl-ink); }
.jl-compare tr:last-child td { border-bottom: 0; }
.jl-compare .is-us { background: #fff6f2; }
.jl-compare th.is-us { color: var(--jl-accent); }
.jl-compare td.yes { color: #0f4f48; font-weight: 800; }
.jl-compare td.no { color: #a1abb5; }
.jl-compare td.mid { color: var(--jl-ink-soft); }
.jl-compare td.yes::before { content: "✓ "; color: var(--jl-teal); }
.jl-compare td.no::before { content: "✕ "; }

/* ---------- Sticky mobile CTA ---------- */
.jl-sticky { display: none; }
@media (max-width: 700px) {
  .jl-sticky {
    display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; text-align: center;
    background: var(--jl-accent); color: #fff !important; font-weight: 800; text-decoration: none; padding: 15px; border-radius: 999px;
    box-shadow: 0 12px 30px -8px rgba(227, 89, 47, .7);
    transform: translateY(160%); transition: transform .3s ease;
  }
  .jl-sticky.show { transform: none; }
  body { padding-bottom: 76px; }
}

/* Featured price card: keep secondary text readable on the dark background */
.jl-price.jl-featured .jl-tier, .jl-price.jl-featured .jl-for, .jl-price.jl-featured .jl-amount small { color: #c3cdd6; }
.jl-price.jl-featured li { color: #eef2f5; }

/* Second row of services */
.jl-subhead { margin: clamp(36px, 5vw, 56px) 0 clamp(18px, 2.5vw, 24px) !important; font-family: var(--wp--preset--font-family--literata); font-weight: 600; font-size: 1.45rem; color: var(--jl-ink); }

/* ---------- Lead magnet popup ---------- */
.jl-pop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.jl-pop[hidden] { display: none; }
.jl-pop-backdrop { position: absolute; inset: 0; background: rgba(15, 30, 46, .62); backdrop-filter: blur(3px); animation: jl-fade .25s ease; }
.jl-pop-card { position: relative; width: min(760px, 100%); max-height: calc(100vh - 32px); overflow: auto; display: grid; grid-template-columns: 230px 1fr; background: #fff; border-radius: 22px; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .5); animation: jl-rise .3s ease; }
.jl-pop-cover { background: var(--jl-ink); background-image: radial-gradient(300px 220px at 100% 0, rgba(227, 89, 47, .55), transparent 65%); color: #fff; padding: 28px 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.jl-pop-cover .jl-mark { background: #fff; color: var(--jl-ink); }
.jl-pop-cover .jl-mark::after { border-color: var(--jl-ink); }
.jl-pop-cover b { font-family: var(--wp--preset--font-family--literata); font-size: 1.7rem; line-height: 1.1; font-weight: 600; }
.jl-pop-cover small { color: #aebbc6; font-weight: 700; letter-spacing: .12em; }
.jl-pop-body { padding: clamp(22px, 4vw, 34px); }
.jl-pop-body h2 { font-size: 1.55rem; margin: 0 0 10px; }
.jl-pop-text { color: var(--jl-ink-soft); font-size: .97rem; margin: 0 0 16px; }
.jl-pop-form { display: grid; gap: 10px; }
.jl-pop-form[hidden] { display: none; }
.jl-pop-form > * { margin: 0; }
.jl-pop-form .jl-eyebrow { margin-bottom: 4px !important; }
.jl-pop-form input[type=text], .jl-pop-form input[type=email] { font: inherit; padding: 13px 14px; border: 1.5px solid #e2dcd3; border-radius: 12px; background: #fcfbf9; color: var(--jl-ink); }
.jl-pop-form input:focus { outline: none; border-color: var(--jl-accent); background: #fff; box-shadow: 0 0 0 4px rgba(227, 89, 47, .14); }
.jl-pop-form button[type=submit], .jl-pop-dl { font: inherit; font-weight: 800; border: 0; border-radius: 999px; padding: 14px 20px; background: var(--wp--preset--color--accent-dark); color: #fff; cursor: pointer; text-align: center; text-decoration: none; display: block; }
.jl-pop-form button[type=submit]:hover, .jl-pop-dl:hover { filter: brightness(1.08); color: #fff; }
.jl-pop-form button[disabled] { opacity: .6; cursor: wait; }
.jl-pop-small { font-size: .8rem; color: var(--jl-ink-soft); }
.jl-pop-err { color: #8a1c12; background: #fdecea; padding: 8px 12px; border-radius: 8px; font-size: .9rem; }
.jl-pop-no { background: none; border: 0; color: var(--jl-ink-soft); font: inherit; font-size: .85rem; text-decoration: underline; cursor: pointer; justify-self: center; }
.jl-pop-x { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #f4efe9; color: var(--jl-ink); font-size: 1.4rem; line-height: 1; cursor: pointer; z-index: 1; }
.jl-pop-done { text-align: center; display: grid; gap: 12px; padding-top: 10px; }
.jl-pop-done[hidden] { display: none; }
.jl-pop-done .jl-thanks-icon { margin: 0 auto; }
.jl-pop-open body { overflow: hidden; }
@keyframes jl-fade { from { opacity: 0; } }
@keyframes jl-rise { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@media (max-width: 640px) {
  .jl-pop-card { grid-template-columns: 1fr; }
  .jl-pop-cover { flex-direction: row; align-items: center; padding: 16px 18px; }
  .jl-pop-cover b { font-size: 1.15rem; }
  .jl-pop-cover small { display: none; }
}
.jl-note-left { font-size: .9rem; color: var(--jl-ink-soft); margin-bottom: 8px !important; }

/* ---------- AI chat widget ---------- */
.jl-aichat { position: fixed; right: 20px; bottom: 20px; z-index: 90; font-family: var(--wp--preset--font-family--manrope); }
.jl-chat-fab { display: flex; align-items: center; gap: 10px; border: 0; cursor: pointer; background: var(--jl-ink); color: #fff; font: inherit; font-weight: 800; font-size: .95rem; padding: 14px 20px 14px 16px; border-radius: 999px; box-shadow: 0 14px 34px -10px rgba(15, 30, 46, .55); transition: transform .15s; }
.jl-chat-fab:hover { transform: translateY(-2px); }
.jl-chat-fab svg { width: 22px; height: 22px; color: #ff9a77; }
.jl-aichat.is-open .jl-chat-fab { display: none; }
.jl-chat-panel { width: min(380px, calc(100vw - 24px)); height: min(600px, calc(100vh - 40px)); display: flex; flex-direction: column; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 70px -20px rgba(15, 30, 46, .55); border: 1px solid rgba(230, 224, 215, .9); animation: jl-rise .25s ease; }
.jl-chat-panel[hidden] { display: none; }
.jl-chat-panel header { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: var(--jl-ink); color: #fff; }
.jl-chat-panel header .jl-mark { background: #fff; color: var(--jl-ink); width: 36px; height: 36px; flex: none; }
.jl-chat-panel header .jl-mark::after { border-color: var(--jl-ink); }
.jl-chat-panel header b { display: block; font-size: .98rem; }
.jl-chat-panel header small { display: flex; align-items: center; gap: 6px; font-size: .75rem; color: #8fd3b9; font-weight: 600; }
.jl-chat-panel header small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3ccf91; }
.jl-chat-close { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; font-size: 1.3rem; cursor: pointer; }
.jl-chat-log { flex: 1; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 8px; background: var(--wp--preset--color--paper); }
.jl-msg { margin: 0 !important; max-width: 85%; padding: 10px 13px; border-radius: 16px; font-size: .93rem; line-height: 1.45; white-space: pre-wrap; word-wrap: break-word; }
.jl-msg.bot { align-self: flex-start; background: #fff; border: 1px solid var(--jl-line); border-top-left-radius: 5px; }
.jl-msg.me { align-self: flex-end; background: var(--jl-ink); color: #fff; border-top-right-radius: 5px; }
.jl-msg.typing { color: var(--jl-ink-soft); letter-spacing: .2em; animation: jl-blink 1s infinite; }
@keyframes jl-blink { 50% { opacity: .35; } }
.jl-chat-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px; background: var(--wp--preset--color--paper); }
.jl-chat-chips[hidden] { display: none; }
.jl-chat-chips button { font: inherit; font-size: .82rem; font-weight: 700; border: 1.5px solid #e2dcd3; background: #fff; color: var(--jl-ink); padding: 7px 12px; border-radius: 999px; cursor: pointer; }
.jl-chat-chips button:hover { border-color: var(--jl-accent); color: var(--jl-accent); }
.jl-chat-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid #f0ebe4; background: #fff; }
.jl-chat-form textarea { flex: 1; resize: none; font: inherit; font-size: .95rem; border: 1.5px solid #e2dcd3; border-radius: 14px; padding: 10px 12px; max-height: 120px; background: #fcfbf9; color: var(--jl-ink); }
.jl-chat-form textarea:focus { outline: none; border-color: var(--jl-accent); background: #fff; }
.jl-chat-form button { flex: none; width: 44px; border: 0; border-radius: 14px; background: var(--wp--preset--color--accent-dark); color: #fff; cursor: pointer; display: grid; place-items: center; }
.jl-chat-form button svg { width: 20px; height: 20px; }
.jl-chat-panel footer { padding: 8px 14px 12px; background: #fff; text-align: center; display: grid; gap: 4px; }
.jl-chat-panel footer a { font-size: .82rem; font-weight: 700; color: var(--jl-teal); }
.jl-chat-panel footer small { font-size: .72rem; color: #8b96a1; }
.jl-chat-panel footer small a { font-size: inherit; font-weight: 600; color: inherit; }
@media (max-width: 700px) {
  .jl-aichat { right: 12px; bottom: 84px; }
  .jl-aichat.is-open { top: 0; right: 0; bottom: 0; left: 0; }
  .jl-aichat.is-open .jl-chat-panel { width: 100%; height: 100%; height: 100dvh; max-width: 100%; border-radius: 0; border: 0; }
  .jl-chat-close { width: 40px; height: 40px; font-size: 1.5rem; flex: none; }
  .jl-chat-fab-label { display: none; }
  .jl-chat-fab { padding: 15px; }
  .jl-pop-open .jl-aichat, .jl-aichat.is-open ~ .jl-sticky { display: none; }
}

/* ---------- Language toggle ---------- */
.jl-lang { display: inline-flex; padding: 3px; border-radius: 999px; background: #efe9e1; gap: 2px; }
.jl-lang a { font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-decoration: none; color: var(--jl-ink-soft); padding: 5px 10px; border-radius: 999px; line-height: 1; }
.jl-lang a:hover { color: var(--jl-ink); }
.jl-lang a.is-active { background: #fff; color: var(--jl-ink); box-shadow: 0 1px 3px rgba(15, 30, 46, .12); }

/* ---------- Inner pages ---------- */
.jl-page-head {
  padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(20px, 3vw, 32px);
  background: radial-gradient(800px 360px at 95% -20%, rgba(227, 89, 47, .09), transparent 60%);
}
.jl-page-head .wp-block-post-title { margin-top: 0; margin-bottom: 0; text-wrap: balance; }
h1, h2 { text-wrap: balance; }
.jl-intro { font-size: var(--wp--preset--font-size--large); color: var(--jl-ink-soft); max-width: 680px; }
.jl-includes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 32px; list-style: none; padding: 0; }
.jl-includes li { position: relative; padding-left: 30px; }
.jl-includes li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: #e1f1ee url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d7a70' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
@media (max-width: 640px) { .jl-includes { grid-template-columns: 1fr; } }
.jl-thanks { text-align: center; max-width: 640px; margin: 0 auto !important; }
.jl-thanks .wp-block-buttons { justify-content: center; }
.jl-thanks-icon { width: 76px; height: 76px; margin: 0 auto 8px; border-radius: 50%; background: #e1f1ee; color: var(--jl-teal); display: grid; place-items: center; }
.jl-thanks-icon svg { width: 34px; height: 34px; }

/* ---------- Footer ---------- */
.jl-footer { background: var(--jl-ink); color: #b9c5cf; padding-top: clamp(44px, 5vw, 64px); padding-bottom: 32px; margin-top: 0 !important; }
.jl-footer-note { max-width: 360px; margin-top: 18px !important; font-size: .95rem; }
.jl-footer-head { color: #fff; font-weight: 800; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px !important; }
.jl-footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .95rem; }
.jl-footer-links a { color: #dfe6ec; text-decoration: none; }
.jl-footer-links a:hover { color: #ff9a77; }
.jl-copy { margin-top: clamp(28px, 4vw, 44px) !important; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; color: #8494a3; max-width: 1180px; margin-left: auto !important; margin-right: auto !important; }

/* Placeholder marker: anything still to be decided */
.jl-todo { background: #fff3c4; color: #6b5200; padding: 0 .3em; border-radius: 4px; font-style: normal; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
