/* ============================================================
   WA UTILITY, TOOL DETAIL (premium, 1370px)
   Hero -> tool app -> two-column (main + sticky sidebar) -> CTA.
   Uses global tokens; the .wt-* client tool kit is preserved below.
   ============================================================ */

.tool-single { padding: 1.25rem 0 0; background: linear-gradient(180deg, #F5F7FB 0%, #ffffff 460px); }
.tool-wrap {
  max-width: var(--container, 1370px);
  margin: 0 auto;
  padding: 0 var(--gutter, 1.75rem);
}

/* ---- Hero ---- */
.tool-hero { text-align: center; max-width: 900px; margin: 0.75rem auto 1.75rem; }
.tool-hero-ico { display: inline-block; width: 64px; height: 64px; margin-bottom: 0.9rem; }
.tool-hero-ico svg { width: 100%; height: 100%; }
.tool-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--color-heading);
  letter-spacing: -0.8px;
  line-height: 1.12;
  margin: 0;
}
.tool-intro {
  color: var(--color-text-muted);
  font-size: 1.12rem;
  line-height: 1.6;
  max-width: 820px;
  margin: 0.85rem auto 0;
}

/* ---- Trust row (SVG) ---- */
.tool-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 1.9rem;
  justify-content: center;
  margin: 1.3rem 0 0;
  padding: 0;
}
.tool-trust li { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--color-text-muted); }
.tool-trust svg { width: 24px; height: 24px; color: var(--wa-green-dark); flex-shrink: 0; }
.tool-trust span { text-align: left; font-size: 0.72rem; line-height: 1.25; }
.tool-trust strong { display: block; font-family: var(--font-ui); font-weight: 800; font-size: 0.82rem; color: var(--color-heading); }

/* ---- Tool app ---- (wide enough for two-column tools like the link generator) */
.tool-app { margin: 0 auto 0.5rem; max-width: 1080px; }
.tool-app-empty { text-align: center; color: var(--color-text-muted); padding: 2rem; }

/* ---- Reserved ad slot (fixed height = zero CLS) ---- */
.wa-ad {
  min-height: 100px;
  margin: 1.6rem auto;
  max-width: 780px;
  background: var(--color-surface-2);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.wa-ad::after {
  content: 'Advertisement';
  color: var(--gray-500);
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ---- Two-column layout ---- */
.tool-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 3rem;
  align-items: start;
  margin-top: 2.5rem;
}
.tool-main { min-width: 0; }

/* ---- Section shell ---- */
.tsec { margin: 0 0 2.75rem; }
.tsec-h {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.55rem;
  color: var(--color-heading);
  letter-spacing: -0.4px;
  margin: 0 0 1.1rem;
  scroll-margin-top: 80px;
}

/* ---- How it works ---- */
.howto-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.1rem; }
.howto-steps li { display: flex; gap: 1rem; align-items: flex-start; }
.howto-num {
  flex-shrink: 0;
  width: 2.1rem; height: 2.1rem;
  background: rgba(var(--wa-green-rgb), 0.12);
  color: var(--wa-green-dark);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1rem;
}
.howto-body strong { display: block; color: var(--color-heading); font-weight: 700; margin-bottom: 0.15rem; }
.howto-body span { color: var(--color-text-muted); line-height: 1.6; }

/* ---- Features grid ---- */
.feat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.feat {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}
.feat-ico {
  display: inline-flex; width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(var(--wa-green-rgb), 0.1);
  color: var(--wa-green-dark);
  margin-bottom: 0.7rem;
}
.feat-ico svg { width: 22px; height: 22px; }
.feat h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: var(--color-heading); margin: 0 0 0.35rem; }
.feat p { font-size: 0.9rem; color: var(--color-text-muted); line-height: 1.55; margin: 0; }

/* ---- Benefits ---- */
.benefit-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.8rem; }
.benefit-list li { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--color-text); line-height: 1.6; }
.benefit-list svg { width: 20px; height: 20px; color: var(--wa-green-dark); flex-shrink: 0; margin-top: 0.15rem; }
.benefit-list strong { color: var(--color-heading); }

/* ---- Long-form body prose (flagship content) ---- */
.tool-body { font-size: 1.02rem; line-height: 1.75; color: var(--color-text); margin: 0 0 2.75rem; }
.tool-body > *:first-child { margin-top: 0; }
.tool-body h2 { font-family: var(--font-display); font-weight: 800; font-size: 1.55rem; color: var(--color-heading); letter-spacing: -0.4px; margin: 2.4rem 0 1rem; }
.tool-body h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.22rem; color: var(--color-heading); margin: 1.8rem 0 0.7rem; }
.tool-body h4 { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--color-heading); margin: 1.4rem 0 0.5rem; }
.tool-body p { margin: 0 0 1.1rem; }
.tool-body ul, .tool-body ol { margin: 0 0 1.2rem 1.35rem; }
.tool-body li { margin-bottom: 0.5rem; }
.tool-body a { color: var(--wa-green-dark); text-decoration: underline; text-underline-offset: 2px; }
.tool-body blockquote { border-left: 3px solid var(--wa-green); margin: 1.4rem 0; padding: 0.4rem 0 0.4rem 1.2rem; color: var(--color-text-muted); font-style: italic; }
.tool-body table { width: 100%; border-collapse: collapse; margin: 1.4rem 0; font-size: 0.95rem; }
.tool-body th, .tool-body td { border: 1px solid var(--color-border); padding: 0.6rem 0.8rem; text-align: left; }
.tool-body th { background: var(--color-surface-2); font-weight: 700; color: var(--color-heading); }

/* ---- FAQ accordion ---- */
.faq-list { display: flex; flex-direction: column; gap: 0.7rem; }
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 1rem 1.2rem;
  font-weight: 700;
  color: var(--color-heading);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; width: 14px; height: 14px; flex-shrink: 0; }
.faq-plus::before, .faq-plus::after { content: ''; position: absolute; background: var(--wa-green-dark); border-radius: 2px; transition: transform var(--dur) var(--ease); }
.faq-plus::before { left: 0; top: 6px; width: 14px; height: 2px; }
.faq-plus::after { left: 6px; top: 0; width: 2px; height: 14px; }
.faq-item[open] .faq-plus::after { transform: rotate(90deg); opacity: 0; }
.faq-answer { padding: 0 1.2rem 1.1rem; color: var(--color-text-muted); line-height: 1.65; }
.faq-answer p { margin: 0 0 0.7rem; }

/* ---- Privacy / sources ---- */
.tsec-privacy p { color: var(--color-text-muted); line-height: 1.7; }
.src-list { margin: 0; padding-left: 1.2rem; color: var(--color-text-muted); }
.src-list li { margin-bottom: 0.4rem; }
.src-list a { color: var(--wa-green-dark); }

/* ---- Byline / EEAT ---- */
.tool-byline { color: var(--color-text-muted); font-size: 0.85rem; margin: 0.5rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--color-border); }
.tool-byline-author { display: inline; }

/* ---- Sidebar ---- */
.tool-side { position: sticky; top: 78px; display: flex; flex-direction: column; gap: 1.75rem; }
.tool-side-block {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.15rem;
}
.tool-side-h { font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; color: var(--color-heading); margin: 0 0 0.8rem; }
.tool-side-list { display: flex; flex-direction: column; gap: 0.2rem; }
.tool-li { display: flex; align-items: center; gap: 0.65rem; padding: 0.5rem 0.35rem; border-radius: var(--radius-sm); text-decoration: none; transition: background var(--dur-fast) var(--ease); }
.tool-li:hover { background: var(--color-surface-2); }
.tool-li-ico { width: 34px; height: 34px; flex-shrink: 0; }
.tool-li-ico svg { width: 100%; height: 100%; }
.tool-li-body { min-width: 0; display: flex; flex-direction: column; }
.tool-li-name { font-family: var(--font-ui); font-weight: 700; font-size: 0.85rem; color: var(--color-heading); line-height: 1.25; }
.tool-li-cat { font-size: 0.7rem; color: var(--color-text-muted); }

/* ---- CTA band ---- */
.tool-cta { max-width: var(--container, 1370px); margin: 3.5rem auto 0; padding: 0 var(--gutter, 1.75rem) 3.5rem; }
.tool-cta-inner {
  position: relative; overflow: hidden;
  background: #FCF1D3; border-radius: 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 3.5rem 3.25rem;
}
.tool-cta-copy { max-width: 52ch; }
.tool-cta h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.15rem); color: #33333B; margin: 0 0 0.8rem; letter-spacing: -0.5px; }
.tool-cta p { color: #5B5F6B; font-size: 1.05rem; line-height: 1.65; margin: 0 0 1.8rem; }
.tool-cta-btn {
  display: inline-flex; align-items: center; height: 50px; padding: 0 28px;
  background: #FFD75E; color: #33333B; font-family: var(--font-ui); font-weight: 800; font-size: 0.98rem;
  border-radius: 12px; text-decoration: none; transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.tool-cta-btn:hover { background: #F8CB40; transform: translateY(-1px); }
/* Decorative floating cards (right side) */
.tool-cta-art { position: relative; flex-shrink: 0; width: 340px; height: 220px; }
.cta-card { position: absolute; background: #fff; border-radius: 16px; box-shadow: 0 18px 36px -16px rgba(51, 51, 59, 0.25); }
.cta-card-msg { top: 12px; left: 0; width: 210px; padding: 1rem 1.1rem; transform: rotate(-3deg); }
.cta-card-msg strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: 0.92rem; color: #33333B; margin-bottom: 0.55rem; }
.cta-line { display: block; height: 7px; border-radius: 4px; background: #EAEDF2; margin-bottom: 6px; }
.cta-line-short { width: 62%; }
.cta-bubble { display: inline-block; margin-top: 0.5rem; background: #D9FDD3; color: #1B4332; font-size: 0.8rem; font-weight: 600; padding: 0.4rem 0.75rem; border-radius: 10px; border-bottom-right-radius: 3px; }
.cta-card-aa { top: 0; right: 34px; width: 74px; height: 74px; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--wa-green); transform: rotate(4deg); }
.cta-tile { position: absolute; bottom: 0; right: 0; width: 150px; height: 110px; background: #F2C94C; border-radius: 22px; transform: rotate(8deg); display: flex; align-items: center; justify-content: center; gap: 6px; }
.cta-dot { width: 26px; height: 26px; border-radius: 50%; border: 3px solid #fff; display: inline-block; }
.cta-dot-g { background: #10B981; }
.cta-dot-b { background: #3B82F6; }
.cta-dot-p { background: #EC4899; }
@media (max-width: 900px) {
  .tool-cta-inner { flex-direction: column; align-items: flex-start; padding: 2.5rem 1.75rem; }
  .tool-cta-art { display: none; }
}

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .tool-layout { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .tool-side { position: static; flex-direction: row; flex-wrap: wrap; }
  .tool-side-block { flex: 1 1 260px; }
}
@media (max-width: 620px) {
  .feat-grid { grid-template-columns: minmax(0, 1fr); }
  .tool-cta-inner { padding: 3rem 15px; }
  .tool-wrap { padding: 0 15px; }
}

/* ============================================================
   SHARED CLIENT TOOL KIT (.wt-*), soft-card design language:
   big radius, layered green-tinted shadow, uppercase micro-labels,
   pill buttons with glow. Matches the flagship tool cards.
   ============================================================ */
.wt-tool {
  max-width: 900px; margin: 0 auto;
  background: #ffffff;
  border: 1px solid rgba(16, 185, 129, 0.08);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 24px 48px -20px rgba(16, 185, 129, 0.18), 0 8px 20px -8px rgba(15, 32, 27, 0.08);
}
.wt-field { margin-bottom: 1.15rem; }
.wt-field label {
  display: block; font-weight: 800; font-size: 0.72rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-heading); margin-bottom: 0.5rem;
  font-family: var(--font-ui);
}
.wt-tool textarea, .wt-tool input[type=text], .wt-tool input[type=number], .wt-tool input[type=tel], .wt-tool input[type=email], .wt-tool input[type=url], .wt-tool input[type=search], .wt-tool input[type=date], .wt-tool input[type=time], .wt-tool input[type=datetime-local], .wt-tool select {
  width: 100%; border: 1.5px solid #e8efec; border-radius: 14px;
  padding: 0.85rem 1rem; font-family: var(--font-body); font-size: 1rem;
  background: #fbfdfc; color: var(--color-text);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.wt-tool textarea { min-height: 110px; resize: vertical; }
.wt-tool textarea:focus, .wt-tool input:focus, .wt-tool select:focus {
  outline: none; border-color: var(--wa-green); background: #ffffff;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}
.wt-out { background: var(--color-surface-2); font-weight: 500; }
.wt-controls { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.15rem; }
.wt-chip {
  border: 1.5px solid #e8efec; background: #ffffff; color: var(--color-text);
  border-radius: 999px; padding: 0.5rem 1.15rem; font-weight: 700; font-size: 0.85rem;
  cursor: pointer; font-family: var(--font-ui); transition: all var(--dur) var(--ease);
}
.wt-chip:hover { border-color: var(--wa-green); color: var(--wa-green-dark); transform: translateY(-1px); }
.wt-chip.active {
  background: var(--wa-green); border-color: var(--wa-green); color: #fff;
  box-shadow: 0 8px 18px -6px rgba(16, 185, 129, 0.5);
}
.wt-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.wt-btn {
  border: none; border-radius: 999px; padding: 0.8rem 1.7rem;
  font-weight: 800; font-size: 0.92rem; cursor: pointer;
  font-family: var(--font-ui); transition: all var(--dur) var(--ease);
}
.wt-btn-primary {
  background: var(--wa-green); color: #fff;
  box-shadow: 0 12px 24px -8px rgba(16, 185, 129, 0.55);
}
.wt-btn-primary:hover { background: var(--wa-green-hover); transform: translateY(-2px); box-shadow: 0 16px 30px -8px rgba(16, 185, 129, 0.6); }
.wt-btn-ghost { background: #ffffff; color: var(--color-heading); border: 1.5px solid #e8efec; }
.wt-btn-ghost:hover { border-color: var(--wa-green); color: var(--wa-green-dark); transform: translateY(-1px); }
.wt-btn.copied { background: var(--wa-green-hover); color: #fff; }
.wt-row { display: flex; gap: 0.9rem; flex-wrap: wrap; align-items: flex-end; margin-bottom: 1.15rem; }
.wt-row .wt-field { flex: 1; min-width: 140px; margin-bottom: 0; }
.wt-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(88px,1fr)); gap: 0.8rem; margin-bottom: 1.15rem; }
.wt-stat {
  background: #f4faf7; border: 1px solid rgba(16, 185, 129, 0.1);
  border-radius: 16px; padding: 0.95rem 0.5rem; text-align: center;
}
.wt-stat strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--wa-green-dark); line-height: 1.1; }
.wt-stat span { font-size: 0.66rem; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.07em; font-weight: 700; }
.wt-styles { display: flex; flex-direction: column; gap: 0.7rem; }
.wt-style {
  display: flex; align-items: center; justify-content: space-between; gap: 0.8rem;
  background: #fbfdfc; border: 1.5px solid #eef3f0; border-radius: 16px;
  padding: 0.85rem 1rem;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.wt-style:hover {
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 10px 24px -12px rgba(16, 185, 129, 0.25);
  transform: translateY(-1px);
}
.wt-style-text { font-size: 1.02rem; color: var(--color-text); word-break: break-word; overflow-wrap: anywhere; flex: 1; line-height: 1.55; }
.wt-style-copy {
  flex-shrink: 0; background: #ffffff; border: 1.5px solid #e8efec; border-radius: 999px;
  padding: 0.4rem 1rem; font-size: 0.78rem; font-weight: 800; cursor: pointer;
  color: var(--wa-green-dark); font-family: var(--font-ui);
  transition: all var(--dur) var(--ease);
}
.wt-style-copy:hover { border-color: var(--wa-green); background: #f0fbf6; }
.wt-hint { font-size: 0.8rem; color: var(--color-text-muted); margin-top: 0.35rem; }
.wt-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: var(--color-heading); color: #fff; padding: 0.7rem 1.3rem; border-radius: var(--radius-full); font-weight: 600; font-size: 0.88rem; opacity: 0; pointer-events: none; transition: all var(--dur) var(--ease); z-index: 9999; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.wt-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* v2 message engine: action pair on each row */
.wt-style-acts { display: inline-flex; gap: 0.4rem; flex-shrink: 0; }
.wt-style-send { text-decoration: none; background: var(--wa-green); color: #fff; border-color: var(--wa-green); }
.wt-style-send:hover { background: var(--wa-green-hover); border-color: var(--wa-green-hover); color: #fff; }
/* In-content promo banner (replaces the ad slot) */
.wa-promo {
  display: flex; align-items: center; gap: 1.25rem;
  max-width: 900px; margin: 1.8rem auto;
  background: #FCF1D3; border-radius: 20px;
  padding: 0.9rem 1.6rem 0.9rem 1.1rem;
  text-decoration: none; min-height: 104px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.wa-promo:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -18px rgba(191, 161, 74, 0.5); }
.wa-promo-art { width: 88px; height: 88px; object-fit: contain; flex-shrink: 0; }
.wa-promo-text { display: flex; flex-direction: column; gap: 0.25rem; flex: 1; min-width: 0; }
.wa-promo-text strong { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: #33333B; letter-spacing: -0.3px; line-height: 1.2; }
.wa-promo-text span { font-size: 0.9rem; color: #6B5E3A; line-height: 1.45; }
.wa-promo-btn {
  flex-shrink: 0; display: inline-flex; align-items: center; height: 44px; padding: 0 22px;
  background: #FFD75E; color: #33333B; font-family: var(--font-ui); font-weight: 800; font-size: 0.92rem;
  border-radius: 11px; white-space: nowrap; transition: background var(--dur) var(--ease);
}
.wa-promo:hover .wa-promo-btn { background: #F8CB40; }
@media (max-width: 640px) {
  .wa-promo { flex-wrap: wrap; gap: 0.9rem; padding: 1.1rem; }
  .wa-promo-art { width: 64px; height: 64px; }
  .wa-promo-text { flex-basis: calc(100% - 64px - 0.9rem); }
  .wa-promo-btn { margin-left: auto; }
}/* Favorite button on tool hero */



.wt-checkline { display: flex; align-items: center; gap: 0.55rem; font-size: 0.92rem; font-weight: 600; color: var(--color-text); cursor: pointer; text-transform: none; letter-spacing: 0; }
.wt-checkline input { width: 18px; height: 18px; accent-color: var(--wa-green); }

/* Native date/time pickers: match the kit inputs */
.wt-tool input[type=date], .wt-tool input[type=time], .wt-tool input[type=datetime-local] { min-height: 51px; appearance: none; -webkit-appearance: none; color: var(--color-text); }
.wt-tool input[type=date]::-webkit-calendar-picker-indicator, .wt-tool input[type=time]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: 0.55; transition: opacity 120ms ease; }
.wt-tool input[type=date]:hover::-webkit-calendar-picker-indicator, .wt-tool input[type=time]:hover::-webkit-calendar-picker-indicator { opacity: 1; }

.wt-field-check { margin-top: 15px; margin-bottom: 15px; }

/* Universal live result bubble (top of text tools, desktop + mobile) */
.wt-livewrap { margin-bottom: 1.15rem; }
.wt-livelabel { display: block; font-weight: 800; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-heading); margin-bottom: 0.5rem; font-family: var(--font-ui); }
.wt-livebub { background: #e5ddd5 url() ; background-color: #e5ddd5; border-radius: 14px; padding: 14px; display: flex; justify-content: flex-end; }
.wt-livebub > span:first-child { background: #d9fdd3; color: #111b21; border-radius: 10px 2px 10px 10px; padding: 8px 12px; max-width: 88%; font-size: 1rem; line-height: 1.45; word-break: break-word; overflow-wrap: anywhere; white-space: pre-wrap; box-shadow: 0 1px 1px rgba(0,0,0,0.08); }
.wt-livebub > span.empty { color: #667781; font-style: italic; font-size: 0.88rem; }
.wt-livetime { align-self: flex-end; font-size: 0.62rem; color: #667781; margin-left: 6px; }
