/* ==========================================================================
   Free tools, aligned with the site style guide. Loaded after each tool's
   own stylesheet; it only changes tokens, type, buttons and surfaces, never
   the tool logic. White page, ink text, one blue accent, light headings,
   pill buttons, 24px panels, hairline borders instead of shadows.
   ========================================================================== */

/* ---------- Fake Review Detector ---------- */
body[data-fake-review-tool] {
  --fg: #0a0a0a; --fg-2: #2b2b2e; --muted: rgba(10, 10, 10, .52); --muted-2: rgba(10, 10, 10, .32);
  --border: #e8e8ea; --border-2: #dcdcdf; --subtle: #f4f4f5; --subtle-2: #fafafa;
  --blue: #0285ff; --blue-soft: rgba(2, 133, 255, .12);
  /* Warning states use ink, as the guide does for Revoked: no red. */
  --red: #0a0a0a; --red-soft: #f4f4f5;
  --serif: inherit;
  font-size: 16px; line-height: 1.42; letter-spacing: -.011em; font-feature-settings: "cv11", "ss01", "ss03";
}
body[data-fake-review-tool] .serif { font-family: inherit; font-style: normal; font-weight: inherit; letter-spacing: inherit; }
body[data-fake-review-tool] h1, body[data-fake-review-tool] .a-h1 { font-size: clamp(46px, 5.6vw, 84px); font-weight: 400; line-height: .98; letter-spacing: -.042em; }
body[data-fake-review-tool] .sec h2, body[data-fake-review-tool] .cta h2 { font-size: clamp(34px, 3.2vw, 48px); font-weight: 500; line-height: 1.02; letter-spacing: -.034em; }
body[data-fake-review-tool] h3 { font-weight: 500; letter-spacing: -.02em; }
body[data-fake-review-tool] .a-sub, body[data-fake-review-tool] .lead { font-size: 18px; line-height: 1.42; color: #0a0a0a; max-width: 440px; }
body[data-fake-review-tool] .sec { padding: clamp(72px, 8vw, 128px) 0; }
body[data-fake-review-tool] .cta { padding: clamp(72px, 8vw, 128px) 0; }
body[data-fake-review-tool] .cta svg { display: none; }
/* Buttons: 40px pills, regular weight; the secondary is soft, never outlined. */
body[data-fake-review-tool] .btn { height: 40px; padding: 0 18px; border-radius: 999px; font: 400 16px/1 var(--font); border: 0; transition: background .25s, transform .15s; }
body[data-fake-review-tool] .btn:active { transform: scale(.98); }
body[data-fake-review-tool] .btn-sm { height: 34px; padding: 0 14px; font-size: 14px; }
body[data-fake-review-tool] .btn-lg { height: 40px; font-size: 16px; }
body[data-fake-review-tool] .btn-primary { background: #0a0a0a; color: #fff; }
body[data-fake-review-tool] .btn-primary:hover { background: #2b2b2e; }
body[data-fake-review-tool] .btn-outline { background: rgba(10, 10, 10, .06); color: #0a0a0a; }
body[data-fake-review-tool] .btn-outline:hover { background: rgba(10, 10, 10, .1); }
body[data-fake-review-tool] .btn kbd { background: rgba(255, 255, 255, .14); border: 0; border-radius: 6px; }
/* Surfaces: 24px, a hairline, no drop shadow. */
body[data-fake-review-tool] .card, body[data-fake-review-tool] .a-card { border-radius: 24px; border: 1px solid rgba(10, 10, 10, .08); box-shadow: none; }
body[data-fake-review-tool] .sign { border-radius: 24px; background: #f4f4f5; }
body[data-fake-review-tool] .how-n { border: 0; background: #f4f4f5; font-family: "Geist Mono", ui-monospace, monospace; font-size: 12.5px; }
body[data-fake-review-tool] .faq summary { font-size: 18px; letter-spacing: -.02em; }
body[data-fake-review-tool] .faq details p { font-size: 16px; line-height: 1.42; }
body[data-fake-review-tool] .a-works span:not(:first-child) { color: rgba(10, 10, 10, .32); font-weight: 400; }
body[data-fake-review-tool] .signs { gap: 20px; background: none; border: 0; border-radius: 0; overflow: visible; }
@media (max-width: 760px) { body[data-fake-review-tool] .signs { gap: 12px; } }

/* ---------- Welo promo shown under every tool (lib/public-site/trust-checker.ts) ---------- */
.wtc.wtc-promo .card.promo { border-radius: 24px; border: 0; background: #f4f4f5; box-shadow: none; padding: clamp(24px, 3vw, 40px); }
.wtc-promo .promo::before, .wtc-promo .promo::after, .wtc-promo .r-card::before, .wtc-promo .r-card::after { display: none !important; }
.wtc-promo .promo h2 { font-size: clamp(24px, 2.1vw, 32px); font-weight: 500; line-height: 1.12; letter-spacing: -.028em; }
.wtc-promo .promo p { color: rgba(10, 10, 10, .52); font-size: 16px; line-height: 1.42; }
.wtc-promo .promo .btn, .wtc-promo .btn-accent { height: 40px; padding: 0 18px; border-radius: 999px; background: #0a0a0a; color: #fff; font-weight: 400; font-size: 16px; box-shadow: none; border: 0; }
.wtc-promo .promo .btn:hover, .wtc-promo .btn-accent:hover { background: #2b2b2e; }
.wtc-promo .compare { border: 0; border-radius: 18px; background: #fff; }
.wtc-promo .compare.compare-single .cmp { background: #fff; }
.wtc-promo .cmp-h { font-weight: 500; font-size: 14px; }
.wtc-promo .cmp ul li { font-size: 14px; }
@media (max-width: 760px) { .wtc-promo .promo { grid-template-columns: 1fr; } }

/* ---------- Star Rating Calculator (scoped under .src) ---------- */
body[data-star-rating-tool] .src {
  --muted: #f4f4f5; --muted-foreground: rgba(10, 10, 10, .52); --border: #e8e8ea; --input: #e8e8ea;
  --primary: #0a0a0a; --accent: #f4f4f5; --blue: #0285ff; --blue-soft: rgba(2, 133, 255, .12);
  --shadow-xs: none; --shadow-sm: none; --radius: 14px;
  letter-spacing: -.011em; line-height: 1.42; font-feature-settings: "cv11", "ss01", "ss03";
}
body[data-star-rating-tool] .src .hero { padding: clamp(48px, 7vw, 112px) 0 48px; }
body[data-star-rating-tool] .src .hero h1 { font-size: clamp(46px, 5.6vw, 84px); font-weight: 400; line-height: .98; letter-spacing: -.042em; }
body[data-star-rating-tool] .src .hero .lead { font-size: 18px; line-height: 1.42; max-width: 440px; color: #0a0a0a; }
body[data-star-rating-tool] .src .section { padding-top: clamp(72px, 8vw, 128px); }
body[data-star-rating-tool] .src .h2 { font-size: clamp(34px, 3.2vw, 48px); font-weight: 500; line-height: 1.02; letter-spacing: -.034em; }
body[data-star-rating-tool] .src .btn { height: 40px; padding: 0 18px; border-radius: 999px; font-size: 16px; font-weight: 400; box-shadow: none; transition: background-color .25s, transform .15s; }
body[data-star-rating-tool] .src .btn:active { transform: scale(.98); }
body[data-star-rating-tool] .src .btn-sm { height: 34px; padding: 0 14px; font-size: 14px; }
body[data-star-rating-tool] .src .btn-primary:hover { background: #2b2b2e; }
body[data-star-rating-tool] .src .btn-outline { background: rgba(10, 10, 10, .06); border: 0; }
body[data-star-rating-tool] .src .btn-outline:hover { background: rgba(10, 10, 10, .1); }
body[data-star-rating-tool] .src .card { border-radius: 24px; border-color: rgba(10, 10, 10, .08); box-shadow: none; }
body[data-star-rating-tool] .src .card-title { font-weight: 500; }

/* ---------- Website Trust Checker (.wtc, public/site/trust-checker.css) ---------- */
.wtc:not(.wtc-promo) {
  --bg-2: #f4f4f5; --fg: #0a0a0a; --fg-2: rgba(10, 10, 10, .72); --fg-3: rgba(10, 10, 10, .52);
  --border: #e8e8ea; --border-2: #dcdcdf; --skeleton: #ececee;
  --accent: #0285ff; --accent-2: #0072dc; --accent-soft: rgba(2, 133, 255, .12);
  --btn: #0a0a0a; --btn-hover: #2b2b2e; --btn-top: #0a0a0a; --btn-top-hover: #2b2b2e;
  /* Status colors follow the certification palette: blue, ink, grey. No green, amber or red. */
  --good: #0285ff; --good-soft: rgba(2, 133, 255, .12); --warn: rgba(10, 10, 10, .52); --warn-soft: #f4f4f5; --bad: #0a0a0a; --bad-soft: #f4f4f5;
  --shadow-sm: none; --shadow: none; --shadow-lg: none;
  --r: 14px; --r-lg: 24px;
  font-size: 16px; line-height: 1.42; letter-spacing: -.011em; font-feature-settings: "cv11", "ss01", "ss03";
}
.wtc:not(.wtc-promo) .hero-bg, .wtc:not(.wtc-promo) .hero-bg::after { display: none; }
.wtc:not(.wtc-promo) .hero-title { font-size: clamp(46px, 5.6vw, 84px); font-weight: 400; line-height: .98; letter-spacing: -.042em; }
.wtc:not(.wtc-promo) .hero-sub { font-size: 18px; line-height: 1.42; max-width: 440px; color: #0a0a0a; }
.wtc:not(.wtc-promo) h2 { font-weight: 500; }
.wtc:not(.wtc-promo) .btn { height: 40px; padding: 0 18px; border-radius: 999px; font-size: 16px; font-weight: 400; box-shadow: none; }
.wtc:not(.wtc-promo) .btn-primary { background: #0a0a0a; box-shadow: none; }
.wtc:not(.wtc-promo) .btn-primary:hover { background: #2b2b2e; }
.wtc:not(.wtc-promo) .btn-outline { background: rgba(10, 10, 10, .06); border-color: transparent; }
.wtc:not(.wtc-promo) .btn:active { transform: scale(.98); }
.wtc:not(.wtc-promo) .url-field { border-radius: 999px; border-color: rgba(10, 10, 10, .1); box-shadow: none; }
.wtc:not(.wtc-promo) .card { box-shadow: none; }
.wtc:not(.wtc-promo) .chip-btn { height: 32px; padding: 0 14px; border: 0; background: #f4f4f5; color: #0a0a0a; font-size: 14px; }
/* The React shell sits on the app background (#fafafa); the site page is white. */
html:has(.wtc:not(.wtc-promo)) { background: #fff; }
@media (max-width: 640px) { .wtc:not(.wtc-promo) .url-field { border-radius: 24px; } .wtc:not(.wtc-promo) .url-field .btn { width: 100%; } }

/* ---------- Testimonial Card Generator (body[data-testimonial-tool]) ----------
   The card designs are the product output and keep their own colors. */
body[data-testimonial-tool] {
  --fg: #0a0a0a; --fg-2: rgba(10, 10, 10, .72); --muted: rgba(10, 10, 10, .52); --faint: rgba(10, 10, 10, .32);
  --line: #e8e8ea; --line-2: #f0f0f2; --hover: #f4f4f5; --stage: #f4f4f5;
  --accent: #0285ff; --accent-ink: #0072dc; --accent-soft: rgba(2, 133, 255, .12);
  --danger: #0a0a0a; --ok: #0285ff; --shadow-xs: none; --shadow: none;
}
body[data-testimonial-tool] .intro { padding-block: clamp(48px, 7vw, 112px) 40px; }
body[data-testimonial-tool] .intro h1 { font-size: clamp(46px, 5.6vw, 84px); font-weight: 400; line-height: .98; letter-spacing: -.042em; max-width: 16ch; }
body[data-testimonial-tool] .intro h1 em { font-family: inherit; font-style: normal; font-weight: inherit; font-size: 1em; letter-spacing: inherit; }
body[data-testimonial-tool] .intro p { font-size: 18px; line-height: 1.42; max-width: 440px; color: #0a0a0a; }
body[data-testimonial-tool] .btn { border-radius: 999px; font-weight: 400; }
body[data-testimonial-tool] .btn-primary, body[data-testimonial-tool] .btn-accent { box-shadow: none; }
body[data-testimonial-tool] .btn-lg { height: 40px; padding: 0 18px; font-size: 16px; border-radius: 999px; }
body[data-testimonial-tool] .btn-outline { background: rgba(10, 10, 10, .06); border-color: transparent; box-shadow: none; }
body[data-testimonial-tool] .panel { border-radius: 24px; border-color: rgba(10, 10, 10, .08); box-shadow: none; }
body[data-testimonial-tool] .stage { background-image: none; }
body[data-testimonial-tool] .pv-meta .live { box-shadow: none; }
body[data-testimonial-tool] .sec-h h2 { font-size: clamp(34px, 3.2vw, 48px); font-weight: 500; line-height: 1.02; letter-spacing: -.034em; }
body[data-testimonial-tool] .tip { border: 0; border-radius: 24px; background: #f4f4f5; }
body[data-testimonial-tool] .tip:hover { transform: none; box-shadow: none; }
body[data-testimonial-tool] .tip h3 { font-weight: 500; font-size: 16px; }

/* ---------- Social Proof Sections (body[data-proof-library], light theme) ---------- */
html:not([data-theme="dark"]) body[data-proof-library] { --fg: #0a0a0a; --fg-2: rgba(10, 10, 10, .72); --muted: rgba(10, 10, 10, .52); --line: #e8e8ea; --line-2: #dcdcdf; --soft: #f4f4f5; --accent: #0285ff; --accent-ink: #0072dc; --accent-soft: rgba(2, 133, 255, .12); }
body[data-proof-library] { font-size: 16px; line-height: 1.42; letter-spacing: -.011em; }
body[data-proof-library] .hh-title { font-size: clamp(46px, 5.6vw, 84px); font-weight: 400; line-height: .98; letter-spacing: -.042em; }
body[data-proof-library] .hh-title em { color: inherit; }
body[data-proof-library] .hh-sub { font-size: 18px; line-height: 1.42; max-width: 440px; color: #0a0a0a; }
body[data-proof-library] .hh-stats { border-top: 0; }
body[data-proof-library] .hh-stats b { font-weight: 500; }
body[data-proof-library] .hh-card { border: 0; border-radius: 24px; background: #f4f4f5; box-shadow: none; }
body[data-proof-library] .hh-card img { border: 0; }
body[data-proof-library] .sec-title { font-size: clamp(34px, 3.2vw, 48px); font-weight: 500; line-height: 1.02; letter-spacing: -.034em; }
body[data-proof-library] .btn { height: 40px; padding: 0 18px; border-radius: 999px; font-size: 16px; font-weight: 400; }
body[data-proof-library] .btn-sm { height: 34px; padding: 0 14px; font-size: 14px; }
body[data-proof-library] .btn-primary:hover { box-shadow: none; background: #2b2b2e; }
body[data-proof-library] .btn-ghost { background: rgba(10, 10, 10, .06); border-color: transparent; }
body[data-proof-library] .card { border-radius: 24px; }
body[data-proof-library] .card:hover { box-shadow: none; transform: none; }
