:root {
  --primary: #6650b8;
  --secondary: #55c8c3;
  --accent: #ef8589;
  --light: #f7f8fc;
  --dark: #182033;
  --brand: #6650b8;
  --brand-dark: #44348e;
  --soft: #f7f8fc;
  --brand-coral: #ef8589;
  --brand-teal: #55c8c3;
  --brand-yellow: #f3da79;
  --brand-violet: #6650b8;
  --brand-violet-dark: #44348e;
  --site-ink: #182033;
  --site-muted: #5f697a;
  --site-line: #e5e7f0;
  --site-surface: #ffffff;
  --site-soft: #f7f8fc;
  --site-shadow: 0 20px 55px rgba(42, 35, 80, .12);
}

html { scroll-padding-top: 92px; }
body.site-upgraded {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--site-ink);
  background:
    radial-gradient(circle at 8% 7%, rgba(239, 133, 137, .15), transparent 25rem),
    radial-gradient(circle at 92% 4%, rgba(85, 200, 195, .16), transparent 27rem),
    linear-gradient(180deg, #fff 0, var(--site-soft) 52rem) !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}
body.site-upgraded::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgba(102, 80, 184, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(102, 80, 184, .035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}

.site-skip {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 10000;
  padding: 10px 16px;
  border-radius: 10px;
  color: #fff;
  background: var(--brand-violet-dark);
  transition: top .2s ease;
}
.site-skip:focus { top: 12px; }

.global-site-header {
  position: sticky;
  top: 0;
  z-index: 9000;
  border-bottom: 1px solid rgba(102, 80, 184, .12);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 8px 30px rgba(42, 35, 80, .06);
  backdrop-filter: blur(16px);
}
.global-nav-wrap {
  width: min(1240px, calc(100% - 32px));
  min-height: 76px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 22px;
}
.global-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  color: var(--site-ink) !important;
  font-size: .98rem;
  font-weight: 850;
  text-decoration: none !important;
  letter-spacing: -.02em;
}
.global-brand img {
  width: 45px;
  height: 45px;
  border-radius: 13px;
  box-shadow: 0 8px 22px rgba(85, 200, 195, .24);
}
.global-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}
.global-nav > a,
.global-nav details > summary {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: #31384a !important;
  font-size: .92rem;
  font-weight: 740;
  text-decoration: none !important;
  list-style: none;
  cursor: pointer;
}
.global-nav > a:hover,
.global-nav > a[aria-current="page"],
.global-nav details > summary:hover {
  color: var(--brand-violet-dark) !important;
  background: rgba(102, 80, 184, .09);
}
.global-nav details { position: relative; }
.global-nav summary::-webkit-details-marker { display: none; }
.global-nav summary::after { content: "⌄"; margin-left: 5px; }
.global-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 13px);
  width: min(760px, 92vw);
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  border: 1px solid var(--site-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--site-shadow);
}
.global-nav details:not([open]) .global-menu { display: none; }
.global-menu a {
  display: block;
  padding: 11px;
  border-radius: 10px;
  color: var(--site-ink) !important;
  text-decoration: none !important;
}
.global-menu a:hover { background: var(--site-soft); color: var(--brand-violet) !important; }
.global-menu strong, .global-menu span { display: block; }
.global-menu span { margin-top: 2px; color: var(--site-muted); font-size: .78rem; }
.global-menu h3 {
  margin: 5px 10px 7px !important;
  color: var(--brand-violet-dark) !important;
  font-size: .72rem !important;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.global-menu .menu-column { min-width: 0; }
.global-menu .menu-all {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--brand-violet-dark) !important;
  background: linear-gradient(90deg, rgba(239,133,137,.1), rgba(85,200,195,.12));
}
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 43px;
  height: 43px;
  border: 1px solid var(--site-line);
  border-radius: 12px;
  color: var(--site-ink);
  background: #fff;
  font-size: 1.25rem;
  cursor: pointer;
}

body.site-upgraded > .site-header { display: none !important; }
body.site-upgraded main,
body.site-upgraded > .container,
body.site-upgraded > article {
  width: min(1120px, calc(100% - 32px));
  margin-left: auto !important;
  margin-right: auto !important;
}
body.site-upgraded > .container {
  margin-top: 38px !important;
  margin-bottom: 38px !important;
  border: 1px solid rgba(102, 80, 184, .12);
  border-radius: 26px !important;
  background: rgba(255,255,255,.96) !important;
  box-shadow: var(--site-shadow) !important;
  overflow: hidden;
}
body.site-upgraded > .container > header {
  padding: clamp(36px, 7vw, 72px) clamp(20px, 6vw, 60px) !important;
  color: #fff !important;
  background:
    radial-gradient(circle at 15% 10%, rgba(239,133,137,.9), transparent 25rem),
    radial-gradient(circle at 88% 90%, rgba(85,200,195,.92), transparent 28rem),
    linear-gradient(135deg, #5744ad, #7864c5) !important;
}
body.site-upgraded > .container > header h1 { color: #fff !important; }
body.site-upgraded > .container > header p { color: rgba(255,255,255,.9) !important; }
body.site-upgraded > .container > header .home-btn { display: none !important; }

body.site-upgraded .hero {
  position: relative;
  padding-top: clamp(52px, 8vw, 88px);
}
body.site-upgraded .hero::before {
  content: "";
  position: absolute;
  width: 110px;
  height: 8px;
  left: 50%;
  top: 34px;
  transform: translateX(-50%);
  border-radius: 99px;
  background: linear-gradient(90deg, var(--brand-coral), var(--brand-teal), var(--brand-yellow), var(--brand-violet));
}
body.site-upgraded h1, body.site-upgraded h2, body.site-upgraded h3 { color: var(--site-ink); }
body.site-upgraded a { color: var(--brand-violet-dark); }
body.site-upgraded .button,
body.site-upgraded button.primary,
body.site-upgraded input[type="submit"] {
  color: #fff !important;
  background: linear-gradient(135deg, var(--brand-violet), var(--brand-violet-dark)) !important;
  box-shadow: 0 8px 18px rgba(102, 80, 184, .18);
}
body.site-upgraded .tool-card,
body.site-upgraded .content-card,
body.site-upgraded .tool-shell {
  border-color: rgba(102, 80, 184, .13);
  box-shadow: 0 14px 38px rgba(42, 35, 80, .08);
}
body.site-upgraded .tool-card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
body.site-upgraded .tool-card:hover {
  transform: translateY(-4px);
  border-color: rgba(85, 200, 195, .65);
  box-shadow: 0 18px 42px rgba(42, 35, 80, .13);
}
body.site-upgraded img { max-width: 100%; height: auto; }
body.site-upgraded table { display: block; max-width: 100%; overflow-x: auto; }

.value-section {
  width: min(980px, calc(100% - 32px));
  margin: 34px auto;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(102, 80, 184, .13);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(42, 35, 80, .08);
}
.value-section h2 { margin-top: 0; }
.value-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.value-item { padding: 17px; border-radius: 15px; background: var(--site-soft); }
.value-item h3 { margin-top: 0; color: var(--brand-violet-dark); }
.value-section details { padding: 13px 0; border-bottom: 1px solid var(--site-line); }
.value-section summary { font-weight: 760; cursor: pointer; }

.site-ad-rail {
  position: fixed;
  top: 108px;
  width: 170px;
  min-height: 620px;
  z-index: 20;
  padding: 5px;
  border: 1px solid var(--site-line);
  border-radius: 14px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 12px 30px rgba(42, 35, 80, .08);
  text-align: center;
  overflow: hidden;
}
.site-ad-left { left: 12px; }
.site-ad-right { right: 12px; }
.site-ad-label { padding: 4px; color: #8a91a0; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; }
.site-ad-bottom {
  width: min(1120px, calc(100% - 32px));
  min-height: 100px;
  margin: 42px auto 20px;
  padding: 10px;
  border: 1px solid var(--site-line);
  border-radius: 16px;
  background: #fff;
  text-align: center;
  overflow: hidden;
}
.site-ad-left .featured-tools {
  padding: 10px 6px;
  text-align: left;
}
.site-ad-left .featured-tools a {
  display: block;
  margin: 8px 0;
  padding: 10px;
  border-radius: 10px;
  color: var(--site-ink);
  background: var(--site-soft);
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
}

.global-site-footer {
  margin-top: 70px;
  padding: 48px 0 24px;
  color: #e9e8f3;
  background:
    radial-gradient(circle at 10% 0, rgba(239,133,137,.2), transparent 25rem),
    radial-gradient(circle at 90% 100%, rgba(85,200,195,.18), transparent 25rem),
    #201c35;
}
.global-footer-grid {
  width: min(1180px, calc(100% - 32px));
  margin: auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 28px;
}
.global-site-footer h2, .global-site-footer h3 { color: #fff !important; }
.global-site-footer h2 { margin: 12px 0 8px; font-size: 1.25rem; }
.global-site-footer h3 { margin: 0 0 10px; font-size: .9rem; }
.global-site-footer p { color: #c9c6d7; font-size: .9rem; }
.global-site-footer a { color: #e9e8f3 !important; text-decoration: none !important; }
.global-site-footer a:hover { color: var(--brand-yellow) !important; }
.global-site-footer ul { margin: 0; padding: 0; list-style: none; }
.global-site-footer li { margin: 8px 0; font-size: .86rem; }
.footer-logo { width: 52px; height: 52px; border-radius: 15px; }
.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 30px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.11);
  color: #aaa6bd;
  font-size: .8rem;
  text-align: center;
}

@media (max-width: 1500px) {
  .site-ad-rail { display: none; }
}
@media (max-width: 900px) {
  .global-nav-wrap { min-height: 68px; }
  .global-brand span { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .global-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    display: none;
    padding: 10px;
    border: 1px solid var(--site-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--site-shadow);
  }
  .global-nav.is-open { display: grid; }
  .global-nav > a, .global-nav details > summary { padding: 12px; }
  .global-menu {
    position: static;
    width: 100%;
    margin-top: 5px;
    grid-template-columns: 1fr;
    box-shadow: none;
  }
  .value-grid, .global-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .global-nav-wrap { width: min(100% - 22px, 1240px); }
  .global-brand img { width: 42px; height: 42px; }
  body.site-upgraded main,
  body.site-upgraded > .container,
  body.site-upgraded > article { width: min(100% - 20px, 1120px); }
  body.site-upgraded > .container { margin-top: 20px !important; border-radius: 18px !important; }
  .value-grid, .global-footer-grid { grid-template-columns: 1fr; }
  .site-ad-bottom { width: calc(100% - 20px); min-height: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
